mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 23:50:13 +01:00
2 lines
45 KiB
JavaScript
2 lines
45 KiB
JavaScript
!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var r,o,i=e[0],u=e[1],b=e[2],s=0,O=[];s<i.length;s++)o=i[s],Object.prototype.hasOwnProperty.call(c,o)&&c[o]&&O.push(c[o][0]),c[o]=0;for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(t[r]=u[r]);for(f&&f(e);O.length;)O.shift()();return a.push.apply(a,b||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],r=!0,i=1;i<n.length;i++){var u=n[i];0!==c[u]&&(r=!1)}r&&(a.splice(e--,1),t=o(o.s=n[0]))}return t}var r={},c={0:0},a=[];function o(e){if(r[e])return r[e].exports;var n=r[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=t,o.c=r,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=e,i=i.slice();for(var b=0;b<i.length;b++)e(i[b]);var f=u;return a.push([87,1]),n()}([,function(t,e,n){"use strict";n.d(e,"n",(function(){return S})),n.d(e,"b",(function(){return T})),n.d(e,"c",(function(){return C})),n.d(e,"a",(function(){return k})),n.d(e,"d",(function(){return A})),n.d(e,"i",(function(){return _})),n.d(e,"o",(function(){return L})),n.d(e,"p",(function(){return E})),n.d(e,"j",(function(){return M})),n.d(e,"q",(function(){return U})),n.d(e,"h",(function(){return q})),n.d(e,"r",(function(){return Q})),n.d(e,"g",(function(){return p})),n.d(e,"f",(function(){return v})),n.d(e,"s",(function(){return h})),n.d(e,"k",(function(){return w})),n.d(e,"t",(function(){return $})),n.d(e,"u",(function(){return z})),n.d(e,"e",(function(){return I})),n.d(e,"l",(function(){return D})),n.d(e,"v",(function(){return W})),n.d(e,"w",(function(){return Y})),n.d(e,"x",(function(){return X})),n.d(e,"m",(function(){return B})),n.d(e,"y",(function(){return nt}));var r=n(89),c=n(88),a=n(100),o=n(101),i=n(92),u=n(113),b=n(86),f=n(98),s=n(24),O=n(8),j=n(99),l=n(110),d=n(96);function p(t,e){return void 0===e&&(e=location),t.host===e.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(t.pathname)}function v(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function h(){return new d.a(new URL(location.href))}var m=n(93),y=n(97);function g(){return location.hash.substring(1)}function w(t){var e=document.createElement("a");e.href=t,e.click()}function $(){return Object(c.a)(window,"hashchange").pipe(Object(O.a)(g),Object(m.a)(g()),Object(y.a)((function(t){return t.length>0})),Object(l.a)())}function x(t){var e=t.location$,n=new DOMParser;return e.pipe(Object(b.a)("pathname"),Object(f.a)(1),Object(s.a)((function(t){return Object(u.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(O.a)((function(e){var r=e.response;return history.pushState({},"",t.toString()),n.parseFromString(r,"text/html")})),Object(j.a)((function(){return function(t){location.href=t.href}(t),a.a})))})),Object(l.a)())}function S(t){var e=(void 0===t?{}:t).location$;return Object(r.a)(Object(c.a)(document,"DOMContentLoaded").pipe(Object(o.a)(document)),void 0!==e?x({location$:e}):a.a).pipe(Object(i.a)(1))}function T(t,e){return void 0===e&&(e=document),e.querySelector(t)||void 0}function C(t,e){void 0===e&&(e=document);var n=T(t,e);if(void 0===n)throw new ReferenceError('Missing element: expected "'+t+'" to be present');return n}function k(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function A(t,e){return void 0===e&&(e=document),Array.from(e.querySelectorAll(t))}function _(t,e){void 0===e&&(e=!0),e?t.focus():t.blur()}function L(t){var e=Object(c.a)(t,"focus"),n=Object(c.a)(t,"blur");return Object(r.a)(e.pipe(Object(o.a)(!0)),n.pipe(Object(o.a)(!1))).pipe(Object(m.a)(t===k()),Object(i.a)(1))}function N(t){return{x:t.scrollLeft,y:t.scrollTop}}function E(t){return Object(r.a)(Object(c.a)(t,"scroll"),Object(c.a)(window,"resize")).pipe(Object(O.a)((function(){return N(t)})),Object(m.a)(N(t)),Object(i.a)(1))}function M(t){if(!(t instanceof HTMLInputElement))throw new Error("Not implemented");t.select()}var R=n(0),H=n(83),P=n(102);function U(t){return Object(P.a)((function(e){new H.a((function(t){var n=Object(R.c)(t,1)[0].contentRect;return e({width:Math.round(n.width),height:Math.round(n.height)})})).observe(t)})).pipe(Object(m.a)(function(t){return{width:t.offsetWidth,height:t.offsetHeight}}(t)),Object(i.a)(1))}function q(t){switch(t.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return t.isContentEditable}}function Q(){return Object(c.a)(window,"keydown").pipe(Object(y.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(O.a)((function(t){return{type:t.key,claim:function(){t.preventDefault(),t.stopPropagation()}}})),Object(l.a)())}function z(t){var e=matchMedia(t);return Object(P.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(m.a)(e.matches),Object(i.a)(1))}var V={drawer:C("[data-md-toggle=drawer]"),search:C("[data-md-toggle=search]")};function I(t){return V[t].checked}function D(t,e){V[t].checked!==e&&V[t].click()}function W(t){var e=V[t];return Object(c.a)(e,"change").pipe(Object(O.a)((function(){return e.checked})),Object(m.a)(e.checked))}var F=n(62);function J(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function B(t){var e=t.x,n=t.y;window.scrollTo(e||0,n||0)}function K(){return{width:innerWidth,height:innerHeight}}function Y(){return Object(F.a)([Object(r.a)(Object(c.a)(window,"scroll"),Object(c.a)(window,"resize")).pipe(Object(O.a)(J),Object(m.a)(J())),Object(c.a)(window,"resize").pipe(Object(O.a)(K),Object(m.a)(K()))]).pipe(Object(O.a)((function(t){var e=Object(R.c)(t,2);return{offset:e[0],size:e[1]}})),Object(i.a)(1))}function X(t,e){var n=e.header$,r=e.viewport$,c=r.pipe(Object(b.a)("size"),Object(O.a)((function(){return{x:t.offsetLeft,y:t.offsetTop}})));return Object(F.a)([n,r,c]).pipe(Object(O.a)((function(t){var e=Object(R.c)(t,3),n=e[0].height,r=e[1],c=r.offset,a=r.size,o=e[2],i=o.x,u=o.y;return{offset:{x:c.x-i,y:c.y-u+n},size:a}})),Object(i.a)(1))}var Z=n(103),G=n(104),tt=n(58),et=n(105);function nt(t,e){var n=e.tx$,r=Object(P.a)((function(e){return t.addEventListener("message",e)})).pipe(Object(Z.a)("data"));return n.pipe(Object(G.a)((function(){return r}),{leading:!0,trailing:!0}),Object(tt.a)((function(e){return t.postMessage(e)})),Object(et.a)(r),Object(l.a)())}},,,,function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"object"==typeof t.url&&"string"==typeof t.url.base&&"object"==typeof t.url.worker&&"string"==typeof t.url.worker.search}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return O})),n.d(e,"f",(function(){return d})),n.d(e,"g",(function(){return p})),n.d(e,"e",(function(){return v})),n.d(e,"c",(function(){return h}));var c=n(0),a=n(85);function o(t){switch(t){case"svg":case"path":return document.createElementNS("http://www.w3.org/2000/svg",t);default:return document.createElement(t)}}function i(t,e,n){switch(e){case"xmlns":break;case"viewBox":case"d":"boolean"!=typeof n?t.setAttributeNS(null,e,n):n&&t.setAttributeNS(null,e,"");break;default:"boolean"!=typeof n?t.setAttribute(e,n):n&&t.setAttribute(e,"")}}function u(t,e){var n,r;if("string"==typeof e||"number"==typeof e)t.innerHTML+=e.toString();else if(e instanceof Node)t.appendChild(e);else if(Array.isArray(e))try{for(var a=Object(c.g)(e),o=a.next();!o.done;o=a.next()){u(t,o.value)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}function b(t,e){for(var n,r,b,f,s=[],O=2;O<arguments.length;O++)s[O-2]=arguments[O];var j=o(t);if(e)try{for(var l=Object(c.g)(Object(a.a)(e)),d=l.next();!d.done;d=l.next()){var p=d.value;i(j,p,e[p])}}catch(t){n={error:t}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var v=Object(c.g)(s),h=v.next();!h.done;h=v.next()){var m=h.value;u(j,m)}}catch(t){b={error:t}}finally{try{h&&!h.done&&(f=v.return)&&f.call(v)}finally{if(b)throw b.error}}return j}var f=n(84),s=n(45);function O(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 j,l=n(1);function d(t,e){if(void 0===j){var n=Object(l.c)("#__lang");j=JSON.parse(n.textContent)}if(void 0===j[t])throw new ReferenceError("Invalid translation: "+t);return void 0!==e?j[t].replace("#",e):j[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 v(t){return t>999?((t+1)/1e3).toFixed(+((t-950)%1e3>99))+"k":t.toString()}function h(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(21);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(79);n.d(e,"mountHeader",(function(){return c.a}));var a=n(80);n.d(e,"mountHero",(function(){return a.a}));var o=n(81);n.d(e,"mountMain",(function(){return o.a}));var i=n(67);n.o(i,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return i.mountNavigation})),n.o(i,"mountSearch")&&n.d(e,"mountSearch",(function(){return i.mountSearch})),n.o(i,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return i.mountSearchQuery})),n.o(i,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return i.mountSearchReset})),n.o(i,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return i.mountSearchResult})),n.o(i,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return i.mountTableOfContents})),n.o(i,"mountTabs")&&n.d(e,"mountTabs",(function(){return i.mountTabs}));var u=n(78);n.d(e,"mountSearch",(function(){return u.a})),n.d(e,"mountSearchQuery",(function(){return u.b})),n.d(e,"mountSearchReset",(function(){return u.c})),n.d(e,"mountSearchResult",(function(){return u.d}));var b=n(30);n.o(b,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return b.mountNavigation})),n.o(b,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return b.mountTableOfContents})),n.o(b,"mountTabs")&&n.d(e,"mountTabs",(function(){return b.mountTabs}));var f=n(82);n.d(e,"mountTabs",(function(){return f.a}));var s=n(74);n.o(s,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return s.mountNavigation})),n.o(s,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return s.mountTableOfContents}))},,,,,,,,,,,,,function(t,e,n){"use strict";function r(t,e){t.style.top=e+"px"}function c(t){t.style.top=""}function a(t,e){t.style.height=e+"px"}function o(t){t.style.height=""}function i(t,e){t.setAttribute("data-md-state",e?"lock":"")}function u(t){t.removeAttribute("data-md-state")}n.d(e,"f",(function(){return r})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return o})),n.d(e,"e",(function(){return i})),n.d(e,"b",(function(){return u}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return j})),n.d(e,"b",(function(){return l}));var r,c=n(0),a=n(45),o=n(18),i=n(8),u=n(64),b=n(92),f=n(24),s=n(36),O=n(1);function j(t,e){var n=e.document$;r=n.pipe(Object(i.a)((function(e){return t.reduce((function(t,n){var r,a=Object(O.b)("[data-md-component="+n+"]",e);return Object(c.a)(Object(c.a)({},t),void 0!==a?((r={})[n]=a,r):{})}),{})})),Object(u.a)((function(e,n){var r,a;try{for(var o=Object(c.g)(t),i=o.next();!i.done;i=o.next()){var u=i.value;switch(u){case"header-title":case"container":case"skip":u in e&&void 0!==e[u]&&(e[u].replaceWith(n[u]),e[u]=n[u]);break;default:void 0!==n[u]?e[u]=Object(O.b)("[data-md-component="+u+"]"):delete e[u]}}}catch(t){r={error:t}}finally{try{i&&!i.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return e})),Object(b.a)(1))}function l(t){return r.pipe(Object(f.a)((function(e){return void 0!==e[t]?Object(a.a)(e[t]):o.a})),Object(s.a)())}},,function(t,e,n){"use strict";function r(t,e){t.setAttribute("data-md-state",e?"blur":"")}function c(t){t.removeAttribute("data-md-state")}function a(t,e){t.classList.toggle("md-nav__link--active",e)}function o(t){t.classList.remove("md-nav__link--active")}n.d(e,"d",(function(){return r})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}))},,,,,,,function(t,e,n){"use strict";var r=n(69);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return j})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return m}));var r=n(5),c="md-clipboard md-icon";function a(t){return Object(r.b)("button",{class:c,title:Object(r.f)("clipboard.copy"),"data-clipboard-target":"#"+t+" code"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})))}var o=n(0),i="md-search-result__item",u="md-search-result__link",b="md-search-result__article md-search-result__article--document",f="md-search-result__article",s="md-search-result__title",O="md-search-result__teaser";function j(t){var e=t.article,n=t.sections,c=Object(r.b)("div",{class:"md-search-result__icon md-icon"},Object(r.b)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(r.b)("path",{d:"M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H13C12.59,21.75 12.2,21.44 11.86,21.1C11.53,20.77 11.25,20.4 11,20H6V4H13V9H18V10.18C18.71,10.34 19.39,10.61 20,11V8L14,2M20.31,18.9C21.64,16.79 21,14 18.91,12.68C16.8,11.35 14,12 12.69,14.08C11.35,16.19 12,18.97 14.09,20.3C15.55,21.23 17.41,21.23 18.88,20.32L22,23.39L23.39,22L20.31,18.9M16.5,19A2.5,2.5 0 0,1 14,16.5A2.5,2.5 0 0,1 16.5,14A2.5,2.5 0 0,1 19,16.5A2.5,2.5 0 0,1 16.5,19Z"}))),a=Object(o.e)([e],n).map((function(t){var e=t.location,n=t.title,a=t.text;return Object(r.b)("a",{href:e,class:u,tabIndex:-1},Object(r.b)("article",{class:"parent"in t?f:b},!("parent"in t)&&c,Object(r.b)("h1",{class:s},n),a.length>0&&Object(r.b)("p",{class:O},Object(r.g)(a,320))))}));return Object(r.b)("li",{class:i},a)}var l="md-source__facts",d="md-source__fact";function p(t){var e=t.map((function(t){return Object(r.b)("li",{class:d},t)}));return Object(r.b)("ul",{class:l},e)}var v="md-typeset__scrollwrap",h="md-typeset__table";function m(t){return Object(r.b)("div",{class:v},Object(r.b)("div",{class:h},t))}},,,,,,,,function(t,e,n){"use strict";function r(t){t.style.webkitOverflowScrolling="touch"}function c(t){t.style.webkitOverflowScrolling=""}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return c}))},,function(t,e,n){"use strict";n.d(e,"c",(function(){return m})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return h}));var r,c=n(0),a=n(25),o=n(40),i=n(55),u=n(113),b=n(111),f=n(8),s=n(63),O=n(92),j=n(24),l=n(103),d=n(46),p=n(1),v=n(5);function h(t){return t.type===r.RESULT}function m(t,e){var n=e.base,m=e.index,y=e.location$,g=new Worker(t),w=y.pipe(Object(b.a)(1),Object(f.a)((function(t){var e=t.href;return new URL(n,e).toString().replace(/\/$/,"")}))),$=new a.a,x=Object(p.y)(g,{tx$:$}).pipe(Object(s.a)(w),Object(f.a)((function(t){var e,n,r,a,o=Object(c.c)(t,2),i=o[0],u=o[1];if(h(i))try{for(var b=Object(c.g)(i.data),f=b.next();!f.done;f=b.next()){var s=f.value,O=s.article,j=s.sections;O.location=u+"/"+O.location;try{for(var l=(r=void 0,Object(c.g)(j)),d=l.next();!d.done;d=l.next()){var p=d.value;p.location=u+"/"+p.location}}catch(t){r={error:t}}finally{try{d&&!d.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}}}catch(t){e={error:t}}finally{try{f&&!f.done&&(n=b.return)&&n.call(b)}finally{if(e)throw e.error}}return i})),Object(O.a)(1));function S(t){return 1===t.lang.length&&"en"===t.lang[0]}function T(t){return"[s-]+"===t.separator}return(void 0!==m?Object(o.a)(m):w.pipe(Object(j.a)((function(t){return Object(u.a)({url:t+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(l.a)("response"))})))).pipe(Object(f.a)((function(t){var e=t.config,n=Object(c.d)(t,["config"]);return Object(c.a)({config:{lang:S(e)?[Object(v.f)("search.config.lang")]:e.lang,separator:T(e)?Object(v.f)("search.config.separator"):e.separator},pipeline:Object(v.f)("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)},n)}))).pipe(Object(f.a)((function(t){return{type:r.SETUP,data:t}})),Object(d.b)(i.a)).subscribe($.next.bind($)),{tx$:$,rx$:x}}!function(t){t[t.SETUP=0]="SETUP",t[t.DUMP=1]="DUMP",t[t.QUERY=2]="QUERY",t[t.RESULT=3]="RESULT"}(r||(r={}))},,,,,,,function(t,e,n){"use strict";var r=n(72);n.o(r,"applyNavigationLayer")&&n.d(e,"applyNavigationLayer",(function(){return r.applyNavigationLayer})),n.o(r,"mountSearch")&&n.d(e,"mountSearch",(function(){return r.mountSearch})),n.o(r,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return r.mountSearchQuery})),n.o(r,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return r.mountSearchReset})),n.o(r,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return r.mountSearchResult})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchNavigationLayer")&&n.d(e,"watchNavigationLayer",(function(){return r.watchNavigationLayer}));var c=n(73);n.d(e,"applyNavigationLayer",(function(){return c.a})),n.d(e,"watchNavigationLayer",(function(){return c.b}));n(39)},function(t,e,n){"use strict";var r=n(76);n.o(r,"applyAnchorList")&&n.d(e,"applyAnchorList",(function(){return r.applyAnchorList})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"watchAnchorList")&&n.d(e,"watchAnchorList",(function(){return r.watchAnchorList}));var c=n(77);n.d(e,"applyAnchorList",(function(){return c.a})),n.d(e,"watchAnchorList",(function(){return c.b}));n(23)},,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(68);n.d(e,"mountNavigation",(function(){return r.a}));var c=n(48);n.o(c,"mountSearch")&&n.d(e,"mountSearch",(function(){return c.mountSearch})),n.o(c,"mountSearchQuery")&&n.d(e,"mountSearchQuery",(function(){return c.mountSearchQuery})),n.o(c,"mountSearchReset")&&n.d(e,"mountSearchReset",(function(){return c.mountSearchReset})),n.o(c,"mountSearchResult")&&n.d(e,"mountSearchResult",(function(){return c.mountSearchResult})),n.o(c,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return c.mountTableOfContents})),n.o(c,"mountTabs")&&n.d(e,"mountTabs",(function(){return c.mountTabs}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(35),c=n(24),a=n(8),o=n(1),i=n(30),u=n(48);function b(t){var e=t.header$,n=t.main$,b=t.viewport$,f=t.screen$;return Object(r.a)(Object(c.a)((function(t){return f.pipe(Object(c.a)((function(r){if(r)return Object(i.watchSidebar)(t,{main$:n,viewport$:b}).pipe(Object(i.applySidebar)(t,{header$:e}),Object(a.a)((function(t){return{sidebar:t}})));var c=Object(o.d)("nav",t);return Object(u.watchNavigationLayer)(c).pipe(Object(u.applyNavigationLayer)(c),Object(a.a)((function(t){return{layer:t}})))})))})))}},function(t,e,n){"use strict";var r=n(70);n.o(r,"applySidebar")&&n.d(e,"applySidebar",(function(){return r.applySidebar})),n.o(r,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return r.mountNavigation})),n.o(r,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return r.mountTableOfContents})),n.o(r,"mountTabs")&&n.d(e,"mountTabs",(function(){return r.mountTabs})),n.o(r,"watchSidebar")&&n.d(e,"watchSidebar",(function(){return r.watchSidebar}));var c=n(71);n.d(e,"applySidebar",(function(){return c.a})),n.d(e,"watchSidebar",(function(){return c.b}));n(20)},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return p}));var r=n(0),c=n(62),a=n(35),o=n(59),i=n(86),u=n(8),b=n(36),f=n(63),s=n(46),O=n(58),j=n(65),l=n(20);function d(t,e){var n=e.main$,a=e.viewport$,o=a.pipe(Object(i.a)("size"),Object(u.a)((function(){return parseFloat(getComputedStyle(t.parentElement).getPropertyValue("padding-top"))})),Object(b.a)()),s=a.pipe(Object(f.a)(o,n),Object(u.a)((function(t){var e=Object(r.c)(t,3),n=e[0].offset.y,c=e[1],a=e[2],o=a.offset;return a.height+Math.min(c,Math.max(0,n-o))-c})),Object(b.a)()),O=a.pipe(Object(f.a)(o,n),Object(u.a)((function(t){var e=Object(r.c)(t,3),n=e[0].offset.y,c=e[1];return n>=e[2].offset+c})),Object(b.a)());return Object(c.a)([s,O]).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2);return{height:e[0],lock:e[1]}})))}function p(t,e){var n=e.header$;return Object(a.a)(Object(s.b)(o.a),Object(f.a)(n),Object(O.a)((function(e){var n=Object(r.c)(e,2),c=n[0],a=c.height,o=c.lock,i=n[1].height;Object(l.d)(t,a),Object(l.e)(t,o),o?Object(l.f)(t,i):Object(l.c)(t)})),Object(u.a)((function(t){return Object(r.c)(t,1)[0]})),Object(j.a)((function(){Object(l.c)(t),Object(l.a)(t),Object(l.b)(t)})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return h}));var r=n(0),c=n(91),a=n(89),o=n(88),i=n(35),u=n(59),b=n(8),f=n(64),s=n(46),O=n(58),j=n(94),l=n(65),d=n(1),p=n(39);function v(t){var e,n,i=new Map;try{for(var u=Object(r.g)(t),s=u.next();!s.done;s=u.next()){var O=s.value,j=Object(d.b)("label",O);if(void 0!==j){var l=Object(d.c)("#"+j.htmlFor);i.set(l,O)}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}return a.a.apply(void 0,Object(r.e)(Object(r.e)(i.keys()).map((function(t){return Object(o.a)(t,"change")})))).pipe(Object(b.a)((function(){return Object(d.c)(".md-nav__list",i.get(Object(c.a)((function(t){return t.checked}),Object(r.e)(i.keys()))))}))).pipe(Object(b.a)((function(t){return{next:t}})),Object(f.a)((function(t,e){return{prev:t.next,next:e.next}})))}function h(t){return Object(i.a)(Object(s.b)(u.a),Object(O.a)((function(t){var e=t.prev;e&&Object(p.a)(e)})),Object(j.a)(250),Object(s.b)(u.a),Object(O.a)((function(t){var e=t.next;Object(p.b)(e)})),Object(l.a)((function(){var e,n;try{for(var c=Object(r.g)(t),a=c.next();!a.done;a=c.next()){var o=a.value;Object(p.a)(Object(d.c)(".md-nav__list",o))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})))}},function(t,e,n){"use strict";var r=n(75);n.d(e,"mountTableOfContents",(function(){return r.a}));var c=n(49);n.o(c,"mountNavigation")&&n.d(e,"mountNavigation",(function(){return c.mountNavigation}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(0),c=n(35),a=n(62),o=n(45),i=n(24),u=n(8),b=n(1),f=n(30),s=n(49);function O(t){var e=t.header$,n=t.main$,O=t.viewport$,j=t.tablet$;return Object(c.a)(Object(i.a)((function(t){return j.pipe(Object(i.a)((function(c){if(c){var i=Object(b.d)(".md-nav__link",t),j=Object(f.watchSidebar)(t,{main$:n,viewport$:O}).pipe(Object(f.applySidebar)(t,{header$:e})),l=Object(s.watchAnchorList)(i,{header$:e,viewport$:O}).pipe(Object(s.applyAnchorList)(i));return Object(a.a)([j,l]).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2);return{sidebar:e[0],anchors:e[1]}})))}return Object(o.a)({})})))})))}},function(t,e){},function(t,e,n){"use strict";n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return g}));var r=n(0),c=n(95),a=n(62),o=n(35),i=n(59),u=n(8),b=n(86),f=n(24),s=n(64),O=n(36),j=n(93),l=n(90),d=n(46),p=n(58),v=n(65),h=n(1),m=n(23);function y(t,e){var n,o,i=e.header$,d=e.viewport$,p=new Map;try{for(var v=Object(r.g)(t),m=v.next();!m.done;m=v.next()){var y=m.value,g=decodeURIComponent(y.hash.substring(1)),w=Object(h.b)('[id="'+g+'"]');void 0!==w&&p.set(y,w)}}catch(t){n={error:t}}finally{try{m&&!m.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}var $=i.pipe(Object(u.a)((function(t){return 18+t.height})));return d.pipe(Object(b.a)("size"),Object(u.a)((function(){var t=[];return Object(r.e)(p).reduce((function(e,n){for(var a=Object(r.c)(n,2),o=a[0],i=a[1];t.length;){if(!(p.get(t[t.length-1]).tagName>=i.tagName))break;t.pop()}for(var u=i.offsetTop;!u&&i.parentElement;)u=(i=i.parentElement).offsetTop;return e.set(Object(c.a)(t=Object(r.e)(t,[o])),u)}),new Map)})),Object(f.a)((function(t){return Object(a.a)([$,d]).pipe(Object(s.a)((function(t,e){for(var n=Object(r.c)(t,2),c=n[0],a=n[1],o=Object(r.c)(e,2),i=o[0],u=o[1].offset.y;a.length;){if(!(Object(r.c)(a[0],2)[1]-i<u))break;c=Object(r.e)(c,[a.shift()])}for(;c.length;){if(!(Object(r.c)(c[c.length-1],2)[1]-i>=u))break;a=Object(r.e)([c.pop()],a)}return[c,a]}),[[],Object(r.e)(t)]),Object(O.a)((function(t,e){return t[0]===e[0]&&t[1]===e[1]})))}))).pipe(Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return{prev:n.map((function(t){return Object(r.c)(t,1)[0]})),next:c.map((function(t){return Object(r.c)(t,1)[0]}))}})),Object(j.a)({prev:[],next:[]}),Object(l.a)(2,1),Object(u.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return n.prev.length<c.prev.length?{prev:c.prev.slice(Math.max(0,n.prev.length-1),c.prev.length),next:[]}:{prev:c.prev.slice(-1),next:c.next.slice(0,c.next.length-n.next.length)}})))}function g(t){return Object(o.a)(Object(d.b)(i.a),Object(p.a)((function(t){var e,n,c=t.prev,a=t.next;try{for(var o=Object(r.g)(a),i=o.next();!i.done;i=o.next()){var u=Object(r.c)(i.value,1)[0];Object(m.a)(u),Object(m.b)(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}c.forEach((function(t,e){var n=Object(r.c)(t,1)[0];Object(m.c)(n,e===c.length-1),Object(m.d)(n,!0)}))})),Object(v.a)((function(){var e,n;try{for(var c=Object(r.g)(t),a=c.next();!a.done;a=c.next()){var o=a.value;Object(m.a)(o),Object(m.b)(o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return h})),n.d(e,"c",(function(){return $})),n.d(e,"d",(function(){return H}));var r=n(0),c=n(35),a=n(62),o=n(24),i=n(8);function u(t){var e=t.query$,n=t.reset$,u=t.result$;return Object(c.a)(Object(o.a)((function(){return Object(a.a)([e,u,n]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{query:e[0],result:e[1]}})))})))}var b=n(86),f=n(1),s=n(41),O=n(89),j=n(88),l=n(94),d=n(93),p=n(36);function v(t){return t.replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g,"").trim().replace(/\s+|\b$/g,"* ")}function h(t,e){var n=t.tx$;return void 0===e&&(e={}),Object(c.a)(Object(o.a)((function(t){var c=function(t,e){var n=(void 0===e?{}:e).transform||v,c=Object(O.a)(Object(j.a)(t,"keyup"),Object(j.a)(t,"focus").pipe(Object(l.a)(1))).pipe(Object(i.a)((function(){return n(t.value)})),Object(d.a)(n(t.value)),Object(p.a)()),o=Object(f.o)(t);return Object(a.a)([c,o]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2);return{value:e[0],focus:e[1]}})))}(t,e);return c.pipe(Object(b.a)("value"),Object(i.a)((function(t){var e=t.value;return{type:s.a.QUERY,data:e}}))).subscribe(n.next.bind(n)),c.pipe(Object(b.a)("focus")).subscribe((function(t){var e=t.focus;e&&Object(f.l)("search",e)})),c})))}var m=n(105),y=n(58),g=n(101),w=n(21);function $(){return Object(c.a)(Object(o.a)((function(t){return function(t){return Object(j.a)(t,"click").pipe(Object(g.a)(void 0))}(t).pipe(Object(m.a)(Object(w.b)("search-query")),Object(y.a)(f.i),Object(g.a)(void 0))})),Object(d.a)(void 0))}var x=n(112),S=n(97),T=n(103),C=n(59),k=n(63),A=n(46),_=n(64),L=n(65),N=n(31),E=n(5);function M(t,e){t.appendChild(e)}function R(t,e){var n=e.query$,a=e.fetch$,u=Object(f.c)(".md-search-result__list",t),b=Object(f.c)(".md-search-result__meta",t);return Object(c.a)(Object(k.a)(n),Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0];return e[1].value?function(t,e){switch(e){case 0:t.textContent=Object(E.f)("search.result.none");break;case 1:t.textContent=Object(E.f)("search.result.one");break;default:t.textContent=Object(E.f)("search.result.other",e.toString())}}(b,n.length):function(t){t.textContent=Object(E.f)("search.result.placeholder")}(b),n})),Object(o.a)((function(e){return a.pipe(Object(A.b)(C.a),Object(_.a)((function(n){for(var r=t.parentElement;n<e.length&&(M(u,Object(N.b)(e[n++])),!(r.scrollHeight-r.offsetHeight>16)););return n}),0),Object(g.a)(e),Object(L.a)((function(){!function(t){t.innerHTML=""}(u)})))})))}function H(t,e){var n=t.rx$,r=e.query$;return Object(c.a)(Object(o.a)((function(t){var e=t.parentElement,c=Object(f.p)(e).pipe(Object(i.a)((function(t){return t.y>=e.scrollHeight-e.offsetHeight-16})),Object(p.a)(),Object(S.a)(x.a));return n.pipe(Object(S.a)(s.b),Object(T.a)("data"),R(t,{query$:r,fetch$:c}))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(0),c=n(35),a=n(62),o=n(24),i=n(8),u=n(97),b=n(63),f=n(36),s=n(93),O=n(92),j=n(1),l=n(21),d=n(45),p=n(59),v=n(86),h=n(46),m=n(58),y=n(65);function g(t){var e=t.viewport$;return Object(c.a)(Object(o.a)((function(t){var n=function(t,e){return e.viewport$.pipe(Object(v.a)("size"),Object(o.a)((function(){var e=getComputedStyle(t),n=["sticky","-webkit-sticky"].includes(e.position);return Object(d.a)({sticky:n,height:n?t.offsetHeight:0})})))}(t,{viewport$:e}),g=Object(l.b)("main").pipe(Object(i.a)((function(t){return Object(j.b)("h1, h2, h3, h4, h5, h6",t)})),Object(u.a)((function(t){return void 0!==t})),Object(b.a)(Object(l.b)("header-title")),Object(o.a)((function(t){var a=Object(r.c)(t,2),o=a[0],u=a[1];return Object(j.x)(o,{header$:n,viewport$:e}).pipe(Object(i.a)((function(t){return t.offset.y>=o.offsetHeight?"page":"site"})),Object(f.a)(),function(t){return Object(c.a)(Object(h.b)(p.a),Object(m.a)((function(e){!function(t,e){t.setAttribute("data-md-state",e?"active":"")}(t,"page"===e)})),Object(y.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(u))})),Object(s.a)("site"));return Object(a.a)([n,g]).pipe(Object(i.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return Object(r.a)({type:c},n)})),Object(O.a)(1))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(35),c=n(24),a=n(8),o=n(36),i=n(1),u=n(59),b=n(46),f=n(58),s=n(65);function O(t){var e=t.header$,n=t.viewport$;return Object(r.a)(Object(c.a)((function(t){return Object(i.x)(t,{header$:e,viewport$:n}).pipe(Object(a.a)((function(t){return{hidden:t.offset.y>=20}})),Object(o.a)(),function(t){return Object(r.a)(Object(b.b)(u.a),Object(f.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(s.a)((function(){!function(t){t.removeAttribute("data-md-state")}(t)})))}(t))})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(25),c=n(35),a=n(24),o=n(86),i=n(58),u=n(21),b=n(0),f=n(62),s=n(59),O=n(103),j=n(8),l=n(36),d=n(92),p=n(46),v=n(65),h=n(1);function m(t){var e=t.header$,n=t.viewport$,m=new r.a;return Object(u.b)("header").pipe(Object(a.a)((function(t){return m.pipe(Object(o.a)("active"),(e=t,Object(c.a)(Object(p.b)(s.a),Object(i.a)((function(t){var n=t.active;!function(t,e){t.setAttribute("data-md-state",e?"shadow":"")}(e,n)})),Object(v.a)((function(){!function(t){t.removeAttribute("data-md-state")}(e)})))));var e}))).subscribe(),Object(c.a)(Object(a.a)((function(t){return function(t,e){var n=e.header$,r=e.viewport$,c=n.pipe(Object(O.a)("height")),a=Object(h.q)(t).pipe(Object(j.a)((function(e){var n=e.height;return[t.offsetTop,t.offsetTop+n]})),Object(l.a)(),Object(d.a)(1)),o=Object(f.a)([c,a,r]).pipe(Object(j.a)((function(t){var e=Object(b.c)(t,3),n=e[0],r=Object(b.c)(e[1],2),c=r[0],a=r[1],o=e[2],i=o.offset.y,u=o.size.height;return u-Math.max(0,c-i,n)-Math.max(0,u+i-a)})),Object(j.a)((function(t){return Math.max(0,t)})),Object(l.a)()),i=Object(f.a)([c,a,r]).pipe(Object(j.a)((function(t){var e=Object(b.c)(t,3),n=e[0],r=Object(b.c)(e[1],1)[0];return e[2].offset.y>=r-n})),Object(l.a)());return Object(f.a)([c,a,o,i]).pipe(Object(j.a)((function(t){var e=Object(b.c)(t,4),n=e[0];return{offset:Object(b.c)(e[1],1)[0]-n,height:e[2],active:e[3]}})))}(t,{header$:e,viewport$:n})})),Object(i.a)((function(t){return m.next(t)})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return j}));var r=n(35),c=n(45),a=n(24),o=n(8),i=n(36),u=n(1),b=n(59),f=n(46),s=n(58),O=n(65);function j(t){var e=t.header$,n=t.viewport$,j=t.screen$;return Object(r.a)(Object(a.a)((function(t){return j.pipe(Object(a.a)((function(a){return a?Object(u.x)(t,{header$:e,viewport$:n}).pipe(Object(o.a)((function(t){return{hidden:t.offset.y>=10}})),Object(i.a)(),function(t){return Object(r.a)(Object(f.b)(b.a),Object(s.a)((function(e){var n=e.hidden;!function(t,e){t.setAttribute("data-md-state",e?"hidden":"")}(t,n)})),Object(O.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 D})),n.d(e,"resetScrollLock",(function(){return W})),n.d(e,"initialize",(function(){return F}));var r=n(0),c=n(109),a=n(62),o=n(59),i=n(88),u=n(45),b=n(100),f=n(89),s=n(92),O=n(58),j=n(94),l=n(63),d=n(24),p=n(46),v=n(97),h=n(110),m=n(111),y=n(1),g=n(41),w=n(7),$=n(61),x=n(102),S=n(101),T=n(31),C=n(5);var k=n(25),A=n(8);var _=n(36),L=n(103),N=n(106),E=n(86),M=n(90),R=n(107);var H=n(112),P=n(105);var U=n(98);var q=n(108);function Q(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var z=n(99),V=n(113);function I(t){switch(Object(r.c)(t.match(/(git(?:hub|lab))/i)||[],1)[0].toLowerCase()){case"github":var e=Object(r.c)(t.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)/i),3);return function(t,e){return Object(V.a)({url:void 0!==e?"https://api.github.com/repos/"+t+"/"+e:"https://api.github.com/users/"+t,responseType:"json"}).pipe(Object(v.a)((function(t){return 200===t.status})),Object(L.a)("response"),Object(d.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return Object(u.a)([Object(C.e)(n||0)+" Stars",Object(C.e)(r||0)+" Forks"])}var c=t.public_repos;return Object(u.a)([Object(C.e)(c||0)+" Repositories"])})))}(e[1],e[2]);case"gitlab":var n=Object(r.c)(t.match(/^.+?([^\/]*gitlab[^\/]+)\/(.+)/i),3);return function(t,e){return Object(V.a)({url:"https://"+t+"/api/v4/projects/"+encodeURIComponent(e),responseType:"json"}).pipe(Object(v.a)((function(t){return 200===t.status})),Object(L.a)("response"),Object(A.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(C.e)(e)+" Stars",Object(C.e)(n)+" Forks"]})))}(n[1],n[2]);default:return b.a}}function D(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 F(t){var e,n,V,F;if(!Object(C.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var J=Object(y.s)(),B=Object(y.t)(),K=Object(y.w)(),Y=Object(y.u)("(min-width: 960px)"),X=Object(y.u)("(min-width: 1220px)"),Z=t.features.includes("instant")?Object(y.n)({location$:J}):Object(y.n)();Object(w.setupComponents)(["container","header","header-title","hero","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:Z});var G=t.search&&t.search.index?t.search.index:void 0,tt=Object(g.c)(t.url.worker.search,{base:t.url.base,index:G,location$:J}),et=Object(w.useComponent)("header").pipe(Object(w.mountHeader)({viewport$:K}),Object(s.a)(1)),nt=Object(w.useComponent)("main").pipe(Object(w.mountMain)({header$:et,viewport$:K}),Object(s.a)(1)),rt=Object(w.useComponent)("search-query").pipe(Object(w.mountSearchQuery)(tt),Object(s.a)(1)),ct=Object(w.useComponent)("search-reset").pipe(Object(w.mountSearchReset)(),Object(s.a)(1)),at=Object(w.useComponent)("search-result").pipe(Object(w.mountSearchResult)(tt,{query$:rt}),Object(s.a)(1)),ot=Object(w.useComponent)("search").pipe(Object(w.mountSearch)({query$:rt,reset$:ct,result$:at}),Object(s.a)(1)),it=Object(w.useComponent)("navigation").pipe(Object(w.mountNavigation)({header$:et,main$:nt,viewport$:K,screen$:X}),Object(s.a)(1)),ut=Object(w.useComponent)("toc").pipe(Object(w.mountTableOfContents)({header$:et,main$:nt,viewport$:K,tablet$:Y}),Object(s.a)(1)),bt=Object(w.useComponent)("tabs").pipe(Object(w.mountTabs)({header$:et,viewport$:K,screen$:X}),Object(s.a)(1)),ft=Object(w.useComponent)("hero").pipe(Object(w.mountHero)({header$:et,viewport$:K}),Object(s.a)(1)),st=function(){var t=Object(y.r)().pipe(Object(A.a)((function(t){return Object(r.a)({mode:Object(y.e)("search")?"search":"global"},t)})),Object(h.a)());return t.pipe(Object(v.a)((function(t){return"search"===t.mode})),Object(l.a)(Object(w.useComponent)("search-query"),Object(w.useComponent)("search-result"))).subscribe((function(t){var e=Object(r.c)(t,3),n=e[0],c=e[1],a=e[2],o=Object(y.a)();switch(n.type){case"Enter":o===c&&n.claim();break;case"Escape":case"Tab":Object(y.l)("search",!1),Object(y.i)(c,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===o)Object(y.i)(c);else{var i=Object(r.e)([c],Object(y.d)("[href]",a)),u=Math.max(0,(Math.max(0,i.indexOf(o))+i.length+("ArrowUp"===n.type?-1:1))%i.length);Object(y.i)(i[u])}n.claim();break;default:c!==Object(y.a)()&&Object(y.i)(c)}})),t.pipe(Object(v.a)((function(t){if("global"===t.mode){var e=Object(y.a)();if(void 0!==e)return!Object(y.h)(e)}return!1})),Object(l.a)(Object(w.useComponent)("search-query"))).subscribe((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];switch(n.type){case"f":case"s":Object(y.i)(c),Object(y.j)(c),n.claim();break;case"p":case",":var a=Object(y.b)("[href][rel=prev]");void 0!==a&&a.click();break;case"n":case".":var o=Object(y.b)("[href][rel=next]");void 0!==o&&o.click()}})),t}();!function(t){var e=t.document$,n=t.hash$,c=e.pipe(Object(A.a)((function(){return Object(y.d)("details")})));Object(f.a)(Object(y.u)("print").pipe(Object(v.a)(H.a)),Object(i.a)(window,"beforeprint")).pipe(Object(P.a)(c)).subscribe((function(t){var e,n;try{for(var c=Object(r.g)(t),a=c.next();!a.done;a=c.next()){a.value.setAttribute("open","")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),n.pipe(Object(A.a)((function(t){return Object(y.b)('[id="'+t+'"]')})),Object(v.a)((function(t){return void 0!==t})),Object(O.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:Z,hash$:B}),function(t){t.document$.pipe(Object(U.a)(1),Object(l.a)(Object(w.useComponent)("container")),Object(A.a)((function(t){var e=Object(r.c)(t,2)[1];return Object(y.d)("script",e)}))).subscribe((function(t){var e,n;try{for(var c=Object(r.g)(t),a=c.next();!a.done;a=c.next()){var o=a.value;if(o.src||/(^|\/javascript)$/i.test(o.type)){var i=document.createElement("script"),u=o.src?"src":"textContent";i[u]=o[u],o.replaceWith(i)}}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}}))}({document$:Z}),function(t){t.document$.pipe(Object(A.a)((function(){return Object(y.c)(".md-source[href]")})),Object(d.a)((function(t){var e=t.href;return Object(C.a)(""+Object(C.c)(e),(function(){return I(e)}))})),Object(z.a)((function(){return b.a}))).subscribe((function(t){var e,n;try{for(var c=Object(r.g)(Object(y.d)(".md-source__repository")),a=c.next();!a.done;a=c.next()){var o=a.value;o.hasAttribute("data-md-state")||(o.setAttribute("data-md-state","done"),o.appendChild(Object(T.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$:Z}),function(t){var e=t.document$,n=document.createElement("table");e.pipe(Object(A.a)((function(){return Object(y.d)("table:not([class])")}))).subscribe((function(t){var e,c;try{for(var a=Object(r.g)(t),o=a.next();!o.done;o=a.next()){var i=o.value;i.replaceWith(n),n.replaceWith(Object(T.d)(i))}}catch(t){e={error:t}}finally{try{o&&!o.done&&(c=a.return)&&c.call(a)}finally{if(e)throw e.error}}}))}({document$:Z}),function(t){var e=t.document$.pipe(Object(A.a)((function(){return Object(y.d)("[data-md-scrollfix]")})),Object(s.a)(1));e.subscribe((function(t){var e,n;try{for(var c=Object(r.g)(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(q.a)(Q,e,b.a).pipe(Object(d.a)((function(t){return f.a.apply(void 0,Object(r.e)(t.map((function(t){return Object(i.a)(t,"touchstart").pipe(Object(S.a)(t))}))))}))).subscribe((function(t){var e=t.scrollTop;0===e?t.scrollTop=1:e+t.offsetHeight===t.scrollHeight&&(t.scrollTop=e-1)}))}({document$:Z});var Ot=function(t){var e=(void 0===t?{}:t).duration,n=new k.a,r=document.createElement("div");return r.classList.add("md-dialog","md-typeset"),n.pipe(Object(d.a)((function(t){return Object(u.a)(document.body).pipe(Object(A.a)((function(t){return t.appendChild(r)})),Object(p.b)(o.a),Object(j.a)(1),Object(O.a)((function(e){e.innerHTML=t,e.setAttribute("data-md-state","open")})),Object(j.a)(e||2e3),Object(O.a)((function(t){return t.removeAttribute("data-md-state")})),Object(j.a)(400),Object(O.a)((function(t){t.innerHTML="",t.remove()})))}))).subscribe(),n}(),jt=function(t){var e=t.document$,n=t.dialog$;if(!$.isSupported())return b.a;e.subscribe((function(){Object(y.d)("pre > code").forEach((function(t,e){var n=t.parentElement;n.id="__code_"+e,n.insertBefore(Object(T.a)(n.id),t)}))}));var r=Object(x.a)((function(t){new $(".md-clipboard").on("success",t)})).pipe(Object(h.a)());return r.pipe(Object(O.a)((function(t){return t.clearSelection()})),Object(S.a)(Object(C.f)("clipboard.copied"))).subscribe(n),r}({document$:Z,dialog$:Ot});B.pipe(Object(O.a)((function(){return Object(y.l)("search",!1)})),Object(j.a)(125)).subscribe((function(t){return Object(y.k)("#"+t)})),Object(a.a)([Object(y.v)("search"),Y]).pipe(Object(l.a)(K),Object(d.a)((function(t){var e=Object(r.c)(t,2),n=Object(r.c)(e[0],2),c=n[0],a=n[1],i=e[1].offset.y,u=c&&!a;return Z.pipe(Object(j.a)(u?400:100),Object(p.b)(o.a),Object(O.a)((function(t){var e=t.body;return u?D(e,i):W(e)})))}))).subscribe();var lt=Object(i.a)(document.body,"click").pipe(Object(v.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(d.a)((function(e){if(e.target instanceof HTMLElement){var n=e.target.closest("a");if(n&&Object(y.g)(n))return!Object(y.f)(n)&&t.features.includes("instant")&&e.preventDefault(),Object(u.a)(n)}return b.a})),Object(h.a)());if(lt.subscribe((function(){Object(y.l)("drawer",!1)})),t.features.includes("instant")){"scrollRestoration"in history&&(history.scrollRestoration="manual");try{for(var dt=Object(r.g)(['link[rel="shortcut icon"]']),pt=dt.next();!pt.done;pt=dt.next()){var vt=pt.value;try{for(var ht=(V=void 0,Object(r.g)(Object(y.d)(vt))),mt=ht.next();!mt.done;mt=ht.next()){var yt=mt.value;yt.href=yt.href}}catch(t){V={error:t}}finally{try{mt&&!mt.done&&(F=ht.return)&&F.call(ht)}finally{if(V)throw V.error}}}}catch(t){e={error:t}}finally{try{pt&&!pt.done&&(n=dt.return)&&n.call(dt)}finally{if(e)throw e.error}}!function(t){var e=t.document$,n=t.viewport$,c=t.link$,a=t.location$,o=c.pipe(Object(A.a)((function(t){return{url:new URL(t.href)}})),Object(h.a)()),u=o.pipe(Object(_.a)((function(t,e){return t.url.href===e.url.href})),Object(v.a)((function(t){var e=t.url;return!Object(y.f)(e)})),Object(h.a)()),b=Object(i.a)(window,"popstate").pipe(Object(v.a)((function(t){return null!==t.state})),Object(A.a)((function(t){return{url:new URL(location.href),offset:t.state}})),Object(h.a)());Object(f.a)(u,b).pipe(Object(L.a)("url")).subscribe(a),n.pipe(Object(N.a)(250),Object(E.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object(f.a)(o,b).pipe(Object(M.a)(2,1),Object(v.a)((function(t){var e=Object(r.c)(t,2),n=e[0],c=e[1];return n.url.pathname===c.url.pathname&&!Object(y.f)(c.url)})),Object(A.a)((function(t){return Object(r.c)(t,2)[1]}))).subscribe((function(t){var e=t.offset;Object(y.m)(e||{y:0})}));var s=Object(f.a)(u,b).pipe(Object(R.a)(e));s.subscribe((function(t){var e=t.url,n=t.offset;e.hash&&!n?Object(y.k)(e.hash):Object(y.m)(n||{y:0})})),s.pipe(Object(l.a)(e)).subscribe((function(t){var e,n,c=Object(r.c)(t,2)[1],a=c.title,o=c.head;document.dispatchEvent(new CustomEvent("DOMContentSwitch")),document.title=a;try{for(var i=Object(r.g)(['link[rel="canonical"]','meta[name="author"]','meta[name="description"]']),u=i.next();!u.done;u=i.next()){var b=u.value,f=Object(y.b)(b,o),s=Object(y.b)(b,document.head);void 0!==f&&void 0!==s&&s.replaceWith(f)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}}))}({document$:Z,link$:lt,location$:J,viewport$:K})}st.pipe(Object(v.a)((function(t){return"global"===t.mode&&["Tab"].includes(t.type)})),Object(m.a)(1)).subscribe((function(){var t,e;try{for(var n=Object(r.g)(Object(y.d)(".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 gt={document$:Z,viewport$:K,header$:et,hero$:ft,main$:nt,navigation$:it,search$:ot,tabs$:bt,toc$:ut,clipboard$:jt,keyboard$:st,dialog$:Ot};return f.a.apply(void 0,Object(r.e)(Object(c.a)(gt))).subscribe(),gt}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.94ba1295.min.js.map
|