mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
2 lines
47 KiB
JavaScript
2 lines
47 KiB
JavaScript
!function(t,e){for(var n in e)t[n]=e[n]}(window,function(t){function e(e){for(var r,i,o=e[0],u=e[1],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([86,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 H})),n.d(e,"i",(function(){return R})),n.d(e,"u",(function(){return P})),n.d(e,"m",(function(){return q})),n.d(e,"h",(function(){return N})),n.d(e,"g",(function(){return I})),n.d(e,"v",(function(){return V})),n.d(e,"w",(function(){return B})),n.d(e,"n",(function(){return F})),n.d(e,"x",(function(){return J})),n.d(e,"y",(function(){return K})),n.d(e,"f",(function(){return X})),n.d(e,"o",(function(){return Z})),n.d(e,"z",(function(){return G})),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(72),c=n(93),a=n(94);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(95),j=n(11),d=n(92);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(73),x=n(34),$=n(74),S=n(32),C=n(96),k=n(23),A=n(77),T=n(87),E=n(78),_=n(97),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(A.a)((function(){return t.disconnect()})))})),Object(T.a)({bufferSize:1,refCount:!0}));function H(t){return M.pipe(Object(E.a)((function(e){return e.observe(t)})),Object(k.a)((function(e){return L.pipe(Object(_.a)((function(e){return e.target===t})),Object(A.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(111);function R(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(_.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(98);function q(t){location.href=t.href}function N(t,e){return void 0===e&&(e=location),t.host===e.host&&/^(?:\/[\w-]+)*(?:\/?|\.html)$/i.test(t.pathname)}function I(t,e){return void 0===e&&(e=location),t.pathname===e.pathname&&t.hash.length>0}function V(){return new U.a(new URL(location.href))}var D=n(112);function B(t,e){return e.location$.pipe(Object(D.a)(1),Object(j.a)((function(e){var n=e.href;return new URL(t,n).toString().replace(/\/$/,"")})),Object(T.a)({bufferSize:1,refCount:!0}))}function Y(){return location.hash.substring(1)}function F(t){var e=s("a");e.href=t,e.addEventListener("click",(function(t){return t.stopPropagation()})),e.click()}function J(){return Object(c.a)(window,"hashchange").pipe(Object(j.a)(Y),Object(d.a)(Y()),Object(_.a)((function(t){return t.length>0})),Object(z.a)())}var W=n(99);function K(t){var e=matchMedia(t);return Object(W.a)((function(t){return e.addListener((function(){return t(e.matches)}))})).pipe(Object(d.a)(e.matches),Object(T.a)({bufferSize:1,refCount:!0}))}var Q={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};function X(t){return Q[t].checked}function Z(t,e){Q[t].checked!==e&&Q[t].click()}function G(t){var e=Q[t];return Object(c.a)(e,"change").pipe(Object(j.a)((function(){return e.checked})),Object(d.a)(e.checked))}var tt=n(58),et=n(88);function nt(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function rt(t){var e=t.x,n=t.y;window.scrollTo(e||0,n||0)}function ct(){return{width:innerWidth,height:innerHeight}}function at(){return Object(tt.a)([Object(O.a)(Object(c.a)(window,"scroll",{passive:!0}),Object(c.a)(window,"resize",{passive:!0})).pipe(Object(j.a)(nt),Object(d.a)(nt())),Object(c.a)(window,"resize",{passive:!0}).pipe(Object(j.a)(ct),Object(d.a)(ct()))]).pipe(Object(j.a)((function(t){var e=Object(g.f)(t,2);return{offset:e[0],size:e[1]}})),Object(T.a)({bufferSize:1,refCount:!0}))}function it(t,e){var n=e.header$,r=e.viewport$,c=r.pipe(Object(et.a)("size")),a=Object(tt.a)([c,n]).pipe(Object(j.a)((function(){return{x:t.offsetLeft,y:t.offsetTop}})));return Object(tt.a)([n,r,a]).pipe(Object(j.a)((function(t){var e=Object(g.f)(t,3),n=e[0].height,r=e[1],c=r.offset,a=r.size,i=e[2],o=i.x,u=i.y;return{offset:{x:c.x-o,y:c.y-u+n},size:a}})))}var ot=n(100),ut=n(101),bt=n(102);function ft(t,e){var n=e.tx$,r=Object(W.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(E.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(76);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(74),s=n(32);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):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(20);n.d(e,"setupComponents",(function(){return r.a})),n.d(e,"useComponent",(function(){return r.b}));var c=n(68);n.d(e,"mountHeader",(function(){return c.a}));var a=n(69);n.d(e,"mountHero",(function(){return a.a}));var i=n(70);n.d(e,"mountMain",(function(){return i.a}));var o=n(59);n.d(e,"mountNavigation",(function(){return o.a}));var u=n(67);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(27);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(71);n.d(e,"mountTabs",(function(){return f.a}));var s=n(63);n.o(s,"mountTableOfContents")&&n.d(e,"mountTableOfContents",(function(){return s.mountTableOfContents}))},,,,,,function(t,e,n){"use strict";n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return y})),n.d(e,"g",(function(){return z})),n.d(e,"h",(function(){return P})),n.d(e,"b",(function(){return U.b})),n.d(e,"i",(function(){return U.f})),n.d(e,"a",(function(){return U.a})),n.d(e,"c",(function(){return U.d})),n.d(e,"d",(function(){return U.e}));var r=n(57),c=n(96),a=n(99),i=n(111),o=n(78),u=n(94),b=n(1),f=n(28),s=n(5);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(34),j=n(32),d=n(81),p=n(23),h=n(11),v=n(80),m=n(114);function y(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(p.a)((function(t){return Object(j.a)(document.body).pipe(Object(h.a)((function(t){return t.appendChild(r)})),Object(v.a)(d.a),Object(m.a)(1),Object(o.a)((function(e){e.innerHTML=t,e.setAttribute("data-md-state","open")})),Object(m.a)(e||2e3),Object(o.a)((function(t){return t.removeAttribute("data-md-state")})),Object(m.a)(400),Object(o.a)((function(t){t.innerHTML="",t.remove()})))}))).subscribe(),n}var g=n(0),w=n(93),x=n(95),$=n(115),S=n(97),C=n(44),k=n(100),A=n(88),T=n(104),E=n(105),_=n(103),L=n(89),M=n(106),H=n(90);function z(t,e){var n=e.document$,r=e.viewport$,a=e.location$;"scrollRestoration"in history&&(history.scrollRestoration="manual"),Object(w.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(w.a)(document.body,"click").pipe(Object(S.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object(p.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(h.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(S.a)((function(t){var e=t.url;return!Object(b.g)(e)})),Object(i.a)()),s=Object(w.a)(window,"popstate").pipe(Object(S.a)((function(t){return null!==t.state})),Object(h.a)((function(t){return{url:new URL(location.href),offset:t.state}})),Object(i.a)());Object(x.a)(f,s).pipe(Object(C.a)((function(t,e){return t.url.href===e.url.href})),Object(k.a)("url")).subscribe(a);var l=a.pipe(Object(A.a)("pathname"),Object(T.a)(1),Object(p.a)((function(t){return Object($.a)({url:t.href,responseType:"text",withCredentials:!0}).pipe(Object(E.a)((function(){return Object(b.m)(t),c.a})))})));f.pipe(Object(_.a)(l)).subscribe((function(t){var e=t.url;history.pushState({},"",e.toString())}));var O=new DOMParser;l.pipe(Object(h.a)((function(t){var e=t.response;return O.parseFromString(e,"text/html")}))).subscribe(n);var d=Object(x.a)(f,s).pipe(Object(_.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(L.a)(n)).subscribe((function(t){var e,n,r=Object(g.f)(t,2)[1],c=r.title,a=r.head;document.title=c;try{for(var i=Object(g.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(M.a)(250),Object(A.a)("offset")).subscribe((function(t){var e=t.offset;history.replaceState(e,"")})),Object(x.a)(u,s).pipe(Object(H.a)(2,1),Object(S.a)((function(t){var e=Object(g.f)(t,2),n=e[0],r=e[1];return n.url.pathname===r.url.pathname&&!Object(b.g)(r.url)})),Object(h.a)((function(t){return Object(g.f)(t,2)[1]}))).subscribe((function(t){var e=t.offset;Object(b.p)(e||{y:0})}))}var R=n(8);function P(){var t=Object(b.u)().pipe(Object(h.a)((function(t){return Object(g.a)({mode:Object(b.f)("search")?"search":"global"},t)})),Object(S.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(S.a)((function(t){return"search"===t.mode})),Object(L.a)(Object(R.useComponent)("search-query"),Object(R.useComponent)("search-result"))).subscribe((function(t){var e=Object(g.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(g.g)([r],Object(b.e)("[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(S.a)((function(t){return"global"===t.mode})),Object(L.a)(Object(R.useComponent)("search-query"))).subscribe((function(t){var e=Object(g.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 U=n(42)},,,,,,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(32),i=n(29),o=n(11),u=n(79),b=n(87),f=n(23),s=n(44),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(60);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 O})),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 i=n(0),o="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",l="md-search-result__teaser";function O(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(i.g)([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:l},Object(r.g)(a,320))))}));return Object(r.b)("li",{class:o},a)}var j="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:j},e)}var h="md-typeset__scrollwrap",v="md-typeset__table";function m(t){return Object(r.b)("div",{class:h},Object(r.b)("div",{class:v},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(65);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(66);n.d(e,"applyAnchorList",(function(){return c.a})),n.d(e,"watchAnchorList",(function(){return c.b}));n(22)},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"f",(function(){return y})),n.d(e,"a",(function(){return i})),n.d(e,"d",(function(){return p})),n.d(e,"c",(function(){return h})),n.d(e,"e",(function(){return v}));var r=n(0),c=n(75);!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;try{for(var i=Object(r.i)(t),o=i.next();!o.done;o=i.next()){var u=o.value,b=Object(r.f)(u.location.split("#"),2),f=b[0],s=b[1],l=u.location,O=u.title,j=c(u.text).replace(/\s+(?=[,.:;!?])/g,"").replace(/\s+/g," ");if(s){var d=a.get(f);d.linked?a.set(l,{location:l,title:O,text:j,parent:d}):(d.title=u.title,d.text=j,d.linked=!0)}else a.set(l,{location:l,title:O,text:j,linked:!1})}}catch(t){e={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}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+"<em>"+n+"</em>"};return function(c){c=c.replace(/[\s*+\-:~^]+/g," ").trim();var a=new RegExp("(^|"+t.separator+")("+c.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(e,"|")+")","img");return function(t){return Object(r.a)(Object(r.a)({},t),{title:t.title.replace(a,n),text:t.text.replace(a,n)})}}}(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.query=function(t){var e=this;if(t)try{var n=this.index.search(t).reduce((function(t,n){var c=e.documents.get(n.ref);if(void 0!==c)if("parent"in c){var a=c.parent.location;t.set(a,Object(r.g)(t.get(a)||[],[n]))}else{a=c.location;t.set(a,t.get(a)||[])}return t}),new Map),c=this.highlight(t);return Object(r.g)(n).map((function(t){var n=Object(r.f)(t,2),a=n[0],i=n[1];return{article:c(e.documents.get(a)),sections:i.map((function(t){return c(e.documents.get(t.ref))}))}}))}catch(e){console.warn("Invalid query: "+t+" – see https://bit.ly/2s3ChXG")}return[]}}();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().replace(/\s+|(?![^\x00-\x7F]|^)$|\b$/g,"* ")}var i,o=n(113),u=n(34),b=n(50),f=n(89),s=n(11),l=n(111),O=n(80),j=n(1),d=n(5);function p(t){return t.type===i.READY}function h(t){return t.type===i.QUERY}function v(t){return t.type===i.RESULT}function m(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(o.a)}}function y(t,e){var n=e.index$,c=e.base$,a=new Worker(t),o=new u.a,d=Object(j.C)(a,{tx$:o}).pipe(Object(f.a)(c),Object(s.a)((function(t){var e,n,c,a,i=Object(r.f)(t,2),o=i[0],u=i[1];if(v(o))try{for(var b=Object(r.i)(o.data),f=b.next();!f.done;f=b.next()){var s=f.value,l=s.article,O=s.sections;l.location=u+"/"+l.location;try{for(var j=(c=void 0,Object(r.i)(O)),d=j.next();!d.done;d=j.next()){var p=d.value;p.location=u+"/"+p.location}}catch(t){c={error:t}}finally{try{d&&!d.done&&(a=j.return)&&a.call(j)}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(l.a)());return n.pipe(Object(s.a)((function(t){return{type:i.SETUP,data:m(t)}})),Object(O.a)(b.b)).subscribe(o.next.bind(o)),{tx$:o,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(32),a=n(23),i=n(11),o=n(27);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(61);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(62);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(58),a=n(39),i=n(81),o=n(11),u=n(44),b=n(80),f=n(89),s=n(78),l=n(77),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(64);n.d(e,"mountTableOfContents",(function(){return r.a}));n(41)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(0),c=n(39),a=n(58),i=n(32),o=n(23),u=n(11),b=n(1),f=n(27),s=n(41);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(91),a=n(58),i=n(39),o=n(81),u=n(11),b=n(88),f=n(23),s=n(79),l=n(44),O=n(92),j=n(90),d=n(80),p=n(78),h=n(77),v=n(1),m=n(22);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(58),i=n(23),o=n(97),u=n(94),b=n(92),f=n(103),s=n(112),l=n(11),O=n(42);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(88),p=n(1),h=n(14),v=n(95),m=n(93),y=n(114),g=n(44);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(102),$=n(78),S=n(20);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(113),A=n(100),T=n(81),E=n(89),_=n(80),L=n(79),M=n(77),H=n(28),z=n(5);function R(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(E.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.toString())}}(f,n.length):function(t){t.textContent=Object(z.f)("search.result.placeholder")}(f),n})),Object(i.a)((function(e){return o.pipe(Object(_.a)(T.a),Object(L.a)((function(n){for(var r=t.parentElement;n<e.length&&(R(b,Object(H.b)(e[n++])),!(r.scrollHeight-r.offsetHeight>16)););return n}),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(A.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(58),i=n(23),o=n(11),u=n(97),b=n(89),f=n(44),s=n(92),l=n(1),O=n(20),j=n(32),d=n(81),p=n(87),h=n(80),v=n(78),m=n(77);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 l}));var r=n(39),c=n(23),a=n(11),i=n(88),o=n(1),u=n(81),b=n(80),f=n(78),s=n(77);function l(t){var e=t.header$,n=t.viewport$;return Object(r.a)(Object(c.a)((function(t){return Object(o.B)(t,{header$:e,viewport$:n}).pipe(Object(a.a)((function(t){return{hidden:t.offset.y>=20}})),Object(i.a)("hidden"),function(t){return Object(r.a)(Object(b.a)(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 v}));var r=n(34),c=n(39),a=n(23),i=n(88),o=n(78),u=n(20),b=n(0),f=n(58),s=n(81),l=n(100),O=n(44),j=n(11),d=n(80),p=n(77),h=n(1);function v(t){var e=t.header$,n=t.viewport$,v=new r.a;return Object(u.b)("header").pipe(Object(a.a)((function(t){return v.pipe(Object(i.a)("active"),(e=t,Object(c.a)(Object(d.a)(s.a),Object(o.a)((function(t){var n=t.active;!function(t,e){t.setAttribute("data-md-state",e?"shadow":"")}(e,n)})),Object(p.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(l.a)("height"),Object(O.a)()),o=c.pipe(Object(a.a)((function(){return Object(h.t)(t).pipe(Object(j.a)((function(e){var n=e.height;return{top:t.offsetTop,bottom:t.offsetTop+n}})),Object(i.a)("bottom"))})));return Object(f.a)([c,o,r]).pipe(Object(j.a)((function(t){var e=Object(b.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(O.a)((function(t,e){return t.offset===e.offset&&t.height===e.height&&t.active===e.active})))}(t,{header$:e,viewport$:n})})),Object(o.a)((function(t){return v.next(t)})))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return O}));var r=n(39),c=n(32),a=n(23),i=n(11),o=n(88),u=n(1),b=n(81),f=n(80),s=n(78),l=n(77);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 N})),n.d(e,"resetScrollLock",(function(){return I})),n.d(e,"initialize",(function(){return V}));var r=n(0),c=n(108),a=n(110),i=n(109),o=n(74),u=n(37),b=n(32),f=n(96),s=n(58),l=n(81),O=n(93),j=n(95),d=n(115),p=n(87),h=n(23),v=n(100),m=n(105),y=n(78),g=n(114),w=n(89),x=n(80),$=n(97),S=n(11),C=n(112),k=n(1),A=n(8),T=n(14),E=n(88);var _=n(113),L=n(102);var M=n(104);var H=n(107),z=n(94);function R(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}var P=n(28),U=n(5);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(d.a)({url:void 0!==e?"https://api.github.com/repos/"+t+"/"+e:"https://api.github.com/users/"+t,responseType:"json"}).pipe(Object($.a)((function(t){return 200===t.status})),Object(v.a)("response"),Object(S.a)((function(t){if(void 0!==e){var n=t.stargazers_count,r=t.forks_count;return[Object(U.e)(n||0)+" Stars",Object(U.e)(r||0)+" Forks"]}var c=t.public_repos;return[Object(U.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(d.a)({url:"https://"+t+"/api/v4/projects/"+encodeURIComponent(e),responseType:"json"}).pipe(Object($.a)((function(t){return 200===t.status})),Object(v.a)("response"),Object(S.a)((function(t){var e=t.star_count,n=t.forks_count;return[Object(U.e)(e)+" Stars",Object(U.e)(n)+" Forks"]})))}(n[1],n[2]);default:return f.a}}function N(t,e){t.setAttribute("data-md-state","lock"),t.style.top="-"+e+"px"}function I(t){var e=-1*parseInt(t.style.top,10);t.removeAttribute("data-md-state"),t.style.top="",e&&window.scrollTo(0,e)}function V(t){if(!Object(U.d)(t))throw new SyntaxError("Invalid configuration: "+JSON.stringify(t));var e=Object(k.q)(),n=Object(k.v)(),V=Object(k.w)(t.base,{location$:n}),D=Object(k.x)(),B=Object(k.A)(),Y=Object(k.y)("(min-width: 960px)"),F=Object(k.y)("(min-width: 1220px)");Object(A.setupComponents)(["announce","container","header","header-title","hero","main","navigation","search","search-query","search-reset","search-result","skip","tabs","toc"],{document$:e});var J=Object(T.h)();matchMedia("(hover)").matches&&function(t){var e=t.document$,n=t.viewport$,c=e.pipe(Object(S.a)((function(){return Object(k.e)("pre > code")}))),a=n.pipe(Object(E.a)("size"));Object(s.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$:B}),function(t){var e=t.document$,n=t.hash$,c=e.pipe(Object(S.a)((function(){return Object(k.e)("details")})));Object(j.a)(Object(k.y)("print").pipe(Object($.a)(_.a)),Object(O.a)(window,"beforeprint")).pipe(Object(L.a)(c)).subscribe((function(t){var e,n;try{for(var c=Object(r.i)(t),a=c.next();!a.done;a=c.next()){a.value.setAttribute("open","")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(n=c.return)&&n.call(c)}finally{if(e)throw e.error}}})),n.pipe(Object(S.a)((function(t){return Object(k.c)('[id="'+t+'"]')})),Object($.a)((function(t){return void 0!==t})),Object(y.a)((function(t){var e=t.closest("details");e&&!e.open&&e.setAttribute("open","")}))).subscribe((function(t){return t.scrollIntoView()}))}({document$:e,hash$:D}),{document$:e}.document$.pipe(Object(M.a)(1),Object(w.a)(Object(A.useComponent)("container")),Object(S.a)((function(t){var e=Object(r.f)(t,2)[1];return Object(k.e)("script",e)}))).subscribe((function(t){var e,n;try{for(var c=Object(r.i)(t),a=c.next();!a.done;a=c.next()){var i=a.value;if(i.src||/(^|\/javascript)$/i.test(i.type)){var o=Object(k.a)("script"),u=i.src?"src":"textContent";o[u]=i[u],Object(k.j)(i,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){t.document$.pipe(Object(S.a)((function(){return Object(k.d)(".md-source[href]")})),Object(h.a)((function(t){var e=t.href;return Object(U.a)(""+Object(U.c)(e),(function(){return q(e)}))})),Object(m.a)((function(){return f.a}))).subscribe((function(t){var e,n;try{for(var c=Object(r.i)(Object(k.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(P.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(k.a)("table");e.pipe(Object(S.a)((function(){return Object(k.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(k.j)(o,n),Object(k.j)(n,Object(P.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(S.a)((function(){return Object(k.e)("[data-md-scrollfix]")})),Object(p.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(H.a)(R,e,f.a).pipe(Object(h.a)((function(t){return j.a.apply(void 0,Object(r.g)(t.map((function(t){return Object(O.a)(t,"touchstart",{passive:!0}).pipe(Object(z.a)(t))}))))}))).subscribe((function(t){var e=t.scrollTop;0===e?t.scrollTop=1:e+t.offsetHeight===t.scrollHeight&&(t.scrollTop=e-1)}))}({document$:e});var W=Object(T.f)(),K=Object(T.e)({document$:e,dialog$:W}),Q=Object(A.useComponent)("header").pipe(Object(A.mountHeader)({document$:e,viewport$:B}),Object(p.a)({bufferSize:1,refCount:!0})),X=Object(A.useComponent)("main").pipe(Object(A.mountMain)({header$:Q,viewport$:B}),Object(p.a)({bufferSize:1,refCount:!0})),Z=Object(A.useComponent)("navigation").pipe(Object(A.mountNavigation)({header$:Q,main$:X,viewport$:B,screen$:F}),Object(p.a)({bufferSize:1,refCount:!0})),G=Object(A.useComponent)("toc").pipe(Object(A.mountTableOfContents)({header$:Q,main$:X,viewport$:B,tablet$:Y}),Object(p.a)({bufferSize:1,refCount:!0})),tt=Object(A.useComponent)("tabs").pipe(Object(A.mountTabs)({header$:Q,viewport$:B,screen$:F}),Object(p.a)({bufferSize:1,refCount:!0})),et=Object(A.useComponent)("hero").pipe(Object(A.mountHero)({header$:Q,viewport$:B}),Object(p.a)({bufferSize:1,refCount:!0})),nt=Object(A.useComponent)("search").pipe(Object(h.a)((function(){return Object(o.a)((function(){var e=t.search&&t.search.index?t.search.index:void 0,n=void 0!==e?Object(u.a)(e):V.pipe(Object(h.a)((function(t){return Object(d.a)({url:t+"/search/search_index.json",responseType:"json",withCredentials:!0}).pipe(Object(v.a)("response"))})));return Object(b.a)(Object(T.i)(t.search.worker,{base$:V,index$:n}))}))}))).pipe(Object(h.a)((function(e){var n=Object(A.useComponent)("search-query").pipe(Object(A.mountSearchQuery)(e,{transform:t.search.transform}),Object(p.a)({bufferSize:1,refCount:!0})),r=Object(A.useComponent)("search-reset").pipe(Object(A.mountSearchReset)(),Object(p.a)({bufferSize:1,refCount:!0})),c=Object(A.useComponent)("search-result").pipe(Object(A.mountSearchResult)(e,{query$:n}),Object(p.a)({bufferSize:1,refCount:!0}));return Object(A.useComponent)("search").pipe(Object(A.mountSearch)(e,{query$:n,reset$:r,result$:c}))})),Object(m.a)((function(){return Object(A.useComponent)("search").subscribe((function(t){return t.hidden=!0})),f.a})),Object(p.a)({bufferSize:1,refCount:!0}));D.pipe(Object(y.a)((function(){return Object(k.o)("search",!1)})),Object(g.a)(125)).subscribe((function(t){return Object(k.n)("#"+t)})),Object(s.a)([Object(k.z)("search"),Y]).pipe(Object(w.a)(B),Object(h.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(g.a)(u?400:100),Object(x.a)(l.a),Object(y.a)((function(t){var e=t.body;return u?N(e,o):I(e)})))}))).subscribe(),Object(O.a)(document.body,"click").pipe(Object($.a)((function(t){return!(t.metaKey||t.ctrlKey)})),Object($.a)((function(t){if(t.target instanceof HTMLElement){var e=t.target.closest("a");if(e&&Object(k.h)(e))return!0}return!1}))).subscribe((function(){Object(k.o)("drawer",!1)})),t.features.includes("instant")&&"file:"!==location.protocol&&V.pipe(Object(h.a)((function(t){return Object(d.a)({url:t+"/sitemap.xml",responseType:"document",withCredentials:!0}).pipe(Object(v.a)("response"))})),Object(w.a)(V),Object(S.a)((function(t){var e=Object(r.f)(t,2),n=e[0],i=e[1],o=Object(k.e)("loc",n).map((function(t){return t.textContent}));if(o.length>1){var u=Object(r.f)(Object(c.a)(Object(a.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),i+"/")}return o}))).subscribe((function(t){Object(T.g)(t,{document$:e,location$:n,viewport$:B})})),J.pipe(Object($.a)((function(t){return"global"===t.mode&&"Tab"===t.type})),Object(C.a)(1)).subscribe((function(){var t,e;try{for(var n=Object(r.i)(Object(k.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 rt={document$:e,location$:n,viewport$:B,header$:Q,hero$:et,main$:X,navigation$:Z,search$:nt,tabs$:tt,toc$:G,clipboard$:K,keyboard$:J,dialog$:W};return j.a.apply(void 0,Object(r.g)(Object(i.a)(rt))).subscribe(),rt}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.b18d1a8f.min.js.map
|