mkdocs-material/material/assets/javascripts/bundle.7e5d1283.min.js

2 lines
24 KiB
JavaScript

!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var c,o,i=t[0],s=t[1],b=t[2],p=0,f=[];p<i.length;p++)o=i[p],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&f.push(a[o][0]),a[o]=0;for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&(e[c]=s[c]);for(u&&u(t);f.length;)f.shift()();return r.push.apply(r,b||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],c=!0,i=1;i<n.length;i++){var s=n[i];0!==a[s]&&(c=!1)}c&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var c={},a={1:0},r=[];function o(t){if(c[t])return c[t].exports;var n=c[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=c,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)o.d(n,c,function(t){return e[t]}.bind(null,c));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=t,i=i.slice();for(var b=0;b<i.length;b++)t(i[b]);var u=s;return r.push([60,0]),n()}({0:function(e,t,n){"use strict";n.d(t,"r",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"g",(function(){return b})),n.d(t,"b",(function(){return u})),n.d(t,"i",(function(){return p})),n.d(t,"m",(function(){return j})),n.d(t,"s",(function(){return d})),n.d(t,"f",(function(){return S})),n.d(t,"d",(function(){return A})),n.d(t,"t",(function(){return R})),n.d(t,"h",(function(){return C})),n.d(t,"n",(function(){return L})),n.d(t,"u",(function(){return P})),n.d(t,"o",(function(){return z})),n.d(t,"v",(function(){return N})),n.d(t,"w",(function(){return I})),n.d(t,"x",(function(){return q})),n.d(t,"a",(function(){return H})),n.d(t,"j",(function(){return D})),n.d(t,"k",(function(){return F})),n.d(t,"l",(function(){return J})),n.d(t,"p",(function(){return Q})),n.d(t,"y",(function(){return Z})),n.d(t,"z",(function(){return ee})),n.d(t,"q",(function(){return X})),n.d(t,"A",(function(){return ce}));var c=n(46),a=n(62),r=n(47);function o(){const e=new c.a;return Object(a.a)(document,"DOMContentLoaded").pipe(Object(r.a)(document)).subscribe(e),e}function i(e,t=document){return t.querySelector(e)||void 0}function s(e,t=document){const n=i(e,t);if(void 0===n)throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function b(e,t=document){return Array.from(t.querySelectorAll(e))}function u(e){return document.createElement(e)}function p(e,t){e.replaceWith(t)}var f=n(63),O=n(36),l=n(64);function j(e,t=!0){t?e.focus():e.blur()}function d(e){return Object(f.a)(Object(a.a)(e,"focus"),Object(a.a)(e,"blur")).pipe(Object(O.a)(({type:e})=>"focus"===e),Object(l.a)(e===(document.activeElement instanceof HTMLElement?document.activeElement:void 0)))}var h=n(25),m=n(65),g=n(66),v=n(67),w=n(43),$=n(68),x=n(69),y=n(70),_=n(49);const E=new h.a,k=Object(m.a)(()=>Object(g.a)(new ResizeObserver(e=>{for(const t of e)E.next(t)}))).pipe(Object(w.a)(e=>v.a.pipe(Object(l.a)(e)).pipe(Object($.a)(()=>e.disconnect()))),Object(x.a)(1));function S(e){return{width:e.offsetWidth,height:e.offsetHeight}}function A(e){return{width:e.scrollWidth,height:e.scrollHeight}}function R(e){return k.pipe(Object(y.a)(t=>t.observe(e)),Object(w.a)(t=>E.pipe(Object(_.a)(({target:t})=>t===e),Object($.a)(()=>t.unobserve(e)),Object(O.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(l.a)(S(e)))}var T=n(48);var M=n(71);function C(){return new URL(location.href)}function L(e){location.href=e.href}function P(){return new M.a(C())}function U(){return location.hash.substring(1)}function z(e){const t=u("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}function N(){return Object(a.a)(window,"hashchange").pipe(Object(O.a)(U),Object(l.a)(U()),Object(_.a)(e=>e.length>0),Object(T.a)()).pipe(Object(w.a)(e=>Object(g.a)(i(`[id="${e}"]`))))}function I(e){const t=matchMedia(e);return Object(a.a)(t,"change").pipe(Object(O.a)(e=>e.matches),Object(l.a)(t.matches))}function q(){return Object(f.a)(I("print").pipe(Object(_.a)(Boolean)),Object(a.a)(window,"beforeprint")).pipe(Object(r.a)(void 0))}function H(e,t){return e.pipe(Object(w.a)(e=>e?t():v.a))}var Y=n(8);function D(e,t={credentials:"same-origin"}){return Object(Y.a)(fetch(e,t)).pipe(Object(_.a)(e=>200===e.status))}function F(e,t){return D(e,t).pipe(Object(w.a)(e=>e.json()),Object(x.a)(1))}function J(e,t){const n=new DOMParser;return D(e,t).pipe(Object(w.a)(e=>e.text()),Object(O.a)(e=>n.parseFromString(e,"text/xml")),Object(x.a)(1))}const W={drawer:s("[data-md-toggle=drawer]"),search:s("[data-md-toggle=search]")};function Q(e,t){W[e].checked!==t&&W[e].click()}var B=n(52),K=n(72);function V(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function X({x:e,y:t}){window.scrollTo(e||0,t||0)}function G(){return{width:innerWidth,height:innerHeight}}function Z(){return Object(B.a)([Object(f.a)(Object(a.a)(window,"scroll",{passive:!0}),Object(a.a)(window,"resize",{passive:!0})).pipe(Object(O.a)(V),Object(l.a)(V())),Object(a.a)(window,"resize",{passive:!0}).pipe(Object(O.a)(G),Object(l.a)(G()))]).pipe(Object(O.a)(([e,t])=>({offset:e,size:t})),Object(x.a)(1))}function ee(e,{viewport$:t,header$:n}){const c=t.pipe(Object(K.a)("size")),a=Object(B.a)([c,n]).pipe(Object(O.a)(()=>({x:e.offsetLeft,y:e.offsetTop})));return Object(B.a)([n,t,a]).pipe(Object(O.a)(([{height:e},{offset:t,size:n},{x:c,y:a}])=>({offset:{x:t.x-c,y:t.y-a+e},size:n})))}var te=n(73),ne=n(74);function ce(e,{tx$:t}){const n=Object(a.a)(e,"message").pipe(Object(O.a)(({data:e})=>e));return t.pipe(Object(te.a)(()=>n,{leading:!0,trailing:!0}),Object(y.a)(t=>e.postMessage(t)),Object(ne.a)(n),Object(T.a)())}},6:function(e,t,n){"use strict";function c(e,t){if("string"==typeof t||"number"==typeof t)e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(const n of t)c(e,n)}function a(e,t,...n){const a=document.createElement(e);if(t)for(const e of Object.keys(t))"boolean"!=typeof t[e]?a.setAttribute(e,t[e]):t[e]&&a.setAttribute(e,"");for(const e of n)c(a,e);return a}function r(e,t){let n=t;if(e.length>n){for(;" "!==e[n]&&--n>0;);return e.substring(0,n)+"..."}return e}function o(e){if(e>999){return((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k"}return e.toString()}function i(e){let t=0;for(let n=0,c=e.length;n<c;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t}n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return i}))},60:function(e,t,n){"use strict";n.r(t),n.d(t,"document$",(function(){return Ee})),n.d(t,"component$",(function(){return qe})),n.d(t,"viewport$",(function(){return Ae})),n.d(t,"location$",(function(){return ke})),n.d(t,"target$",(function(){return Se})),n.d(t,"screen$",(function(){return Te})),n.d(t,"tablet$",(function(){return Re})),n.d(t,"print$",(function(){return Me}));n(53);var c=n(25),a=n(63),r=n(65),o=n(36),i=n(43),s=n(69),b=n(76),u=n(0);const p=Object(u.e)("#__config"),f=JSON.parse(p.textContent);function O(){return f}function l(e,t){return void 0!==t?f.translations[e].replace("#",t.toString()):f.translations[e]}f.base=new URL(f.base,Object(u.h)()).toString().replace(/\/$/,"");var j=n(28),d=n.n(j),h=n(72),m=n(75),g=n(70),v=n(68);function w(e,t){e.setAttribute("data-md-state",t)}function $(e){e.removeAttribute("data-md-state")}function x(e,t){e.classList.toggle("md-nav__link--active",t)}function y(e){e.classList.remove("md-nav__link--active")}function _(e,t){e.appendChild(t)}function E(e){e.removeAttribute("data-md-state")}var k,S=n(6);function A(e,t){const n=t&k.PARENT,c=t&k.TEASER,a=Object.keys(e.terms).filter(t=>!e.terms[t]).map(e=>[Object(S.a)("del",null,e)," "]).flat().slice(0,-1),r=e.location;return Object(S.a)("a",{href:r,class:"md-search-result__link",tabIndex:-1},Object(S.a)("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&Object(S.a)("div",{class:"md-search-result__icon md-icon"}),Object(S.a)("h1",{class:"md-search-result__title"},e.title),c>0&&e.text.length>0&&Object(S.a)("p",{class:"md-search-result__teaser"},Object(S.d)(e.text,320)),c>0&&a.length>0&&Object(S.a)("p",{class:"md-search-result__terms"},l("search.result.term.missing"),": ",a)))}function R(e,t=1/0){const n=[...e],c=n.findIndex(e=>!e.location.includes("#")),[a]=n.splice(c,1);let r=n.findIndex(e=>e.score<t);-1===r&&(r=n.length);const o=n.slice(0,r),i=n.slice(r),s=[A(a,k.PARENT|+(!c&&0===r)),...o.map(e=>A(e,k.TEASER)),...i.length?[Object(S.a)("details",{class:"md-search-result__more"},Object(S.a)("summary",{tabIndex:-1},i.length>0&&1===i.length?l("search.result.more.one"):l("search.result.more.other",i.length)),i.map(e=>A(e,k.TEASER)))]:[]];return Object(S.a)("li",{class:"md-search-result__item"},s)}!function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"}(k||(k={}));let T=0;function M(e,t){const n=new c.a;if(n.pipe(Object(m.a)(Object(u.w)("(hover)"))).subscribe(([{scroll:t},n])=>{t&&n?function(e,t=0){e.setAttribute("tabindex",t.toString())}(e):function(e){e.removeAttribute("tabindex")}(e)}),d.a.isSupported()){const t=e.closest("pre");t.id="__code_"+T++,t.insertBefore((a=t.id,Object(S.a)("button",{class:"md-clipboard md-icon",title:l("clipboard.copy"),"data-clipboard-target":`#${a} > code`})),e)}var a;return function(e,{viewport$:t}){return t.pipe(Object(h.a)("size"),Object(o.a)(()=>{const t=Object(u.f)(e);return{scroll:Object(u.d)(e).width>t.width}}),Object(h.a)("scroll"))}(e,t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}var C=n(49),L=n(47);function P(e,t){const n=new c.a;return n.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),function(e,{target$:t,print$:n}){return t.pipe(Object(o.a)(e=>e.closest("details:not([open])")),Object(C.a)(t=>e===t),Object(b.a)(n),Object(L.a)(e))}(e,t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(L.a)({ref:e}))}var U=n(66);const z=Object(u.b)("table");function N(e){var t;return Object(u.i)(e,z),Object(u.i)(z,(t=e,Object(S.a)("div",{class:"md-typeset__scrollwrap"},Object(S.a)("div",{class:"md-typeset__table"},t)))),Object(U.a)({ref:e})}var I=n(87),q=n(88),H=n(77);function Y(e,t){const n=new c.a;return n.pipe(Object(H.a)(I.a)).subscribe(({message:t,open:n})=>{!function(e,t){e.firstElementChild.innerHTML=t}(e,t),n?function(e,t){e.setAttribute("data-md-state",t)}(e,"open"):function(e){e.removeAttribute("data-md-state")}(e)}),function(e,{alert$:t}){return t.pipe(Object(i.a)(e=>Object(a.a)(Object(U.a)(!0),Object(U.a)(!1).pipe(Object(q.a)(2e3))).pipe(Object(o.a)(t=>({message:e,open:t})))))}(0,t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}var D=n(78),F=n(50);var J=n(67);function W(e,t){const n=new c.a;n.pipe(Object(H.a)(I.a)).subscribe(({active:t})=>{t?function(e,t){e.setAttribute("data-md-state",t)}(e,"active"):function(e){e.removeAttribute("data-md-state")}(e)});const a=Object(u.c)("article h1");return void 0===a?J.a:function(e,{viewport$:t,header$:n}){return Object(u.z)(e,{header$:n,viewport$:t}).pipe(Object(o.a)(({offset:{y:t}})=>{const{height:n}=Object(u.f)(e);return{active:t>=n}}),Object(h.a)("active"))}(a,t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}var Q=n(52);var B=n(81),K=n(44),V=n(7);var X=n(62),G=n(48),Z=n(79),ee=n(80),te=n(82),ne=n(89),ce=n(83);n(51);function ae(e){return e.split(/"([^"]+)"/g).map((e,t)=>1&t?e.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):e).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var re,oe=n(8);function ie(e){return e.type===re.READY}function se(e){return e.type===re.QUERY}function be(e){return e.type===re.RESULT}function ue({config:e,docs:t,index:n}){1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[l("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=l("search.config.separator"));return{config:e,docs:t,index:n,pipeline:l("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}!function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(re||(re={}));var pe=n(64),fe=n(84),Oe=n(85);function le(e,{tx$:t}){const n=new c.a;return n.pipe(Object(h.a)("value"),Object(o.a)(({value:e})=>({type:re.QUERY,data:e}))).subscribe(t.next.bind(t)),n.pipe(Object(h.a)("focus")).subscribe(({focus:t})=>{t?(Object(u.p)("search",t),function(e,t){e.placeholder=t}(e,"")):function(e){e.placeholder=l("search.placeholder")}(e)}),Object(X.a)(e.form,"reset").pipe(Object(fe.a)(n.pipe(Object(Oe.a)(1)))).subscribe(()=>Object(u.m)(e)),function(e){const t=(null===__search||void 0===__search?void 0:__search.transform)||ae,n=Object(u.s)(e),c=Object(a.a)(Object(X.a)(e,"keyup"),Object(X.a)(e,"focus").pipe(Object(q.a)(1))).pipe(Object(o.a)(()=>t(e.value)),Object(pe.a)(t(e.value)),Object(F.a)());return Object(Q.a)([c,n]).pipe(Object(o.a)(([e,t])=>({value:e,focus:t})))}(e).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}function je(e,{rx$:t},{query$:n}){const a=new c.a,r=Object(u.e)(":scope > :first-child",e);a.pipe(Object(m.a)(n)).subscribe(([{data:e},{value:t}])=>{t?function(e,t){switch(t){case 0:e.textContent=l("search.result.none");break;case 1:e.textContent=l("search.result.one");break;default:e.textContent=l("search.result.other",t)}}(r,e.length):function(e){e.textContent=l("search.result.placeholder")}(r)});const i=Object(u.e)(":scope > :last-child",e);a.subscribe(({data:e})=>{!function(e){e.innerHTML=""}(i);const t=[...e.map(([e])=>e.score),0];for(let n=0;n<e.length;n++)_(i,R(e[n++],t[n]))});return t.pipe(Object(C.a)(be),Object(o.a)(({data:e})=>({data:e})),Object(pe.a)({data:[]})).pipe(Object(g.a)(a),Object(v.a)(()=>a.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}function de(e){const t=O(),n=function(e,t){const n=O(),a=new Worker(e),r=new c.a,i=Object(u.A)(a,{tx$:r}).pipe(Object(o.a)(e=>{if(be(e))for(const t of e.data)for(const e of t)e.location=`${n.base}/${e.location}`;return e}),Object(G.a)());return Object(oe.a)(t).pipe(Object(o.a)(e=>({type:re.SETUP,data:ue(e)}))).subscribe(r.next.bind(r)),{tx$:r,rx$:i}}(t.search,(r=t.base+"/search/search_index.json",(null===__search||void 0===__search?void 0:__search.index)||Object(u.k)(r)));var r;const{tx$:i,rx$:s}=n;i.pipe(Object(C.a)(se),Object(B.a)(s.pipe(Object(C.a)(ie))),Object(K.a)(1)).subscribe(i.next.bind(i));const b=le(Object(u.e)("[data-md-component=search-query]",e),n);return Object(a.a)(b,je(Object(u.e)("[data-md-component=search-result]",e),n,{query$:b}))}var he=n(27);function me(e,t){var{header$:n}=t,a=Object(he.c)(t,["header$"]);const r=new c.a;return r.pipe(Object(H.a)(I.a),Object(m.a)(n)).subscribe({next([{height:t},{height:n}]){!function(e,t){const n=e.firstElementChild;n.style.height=t-2*n.offsetTop+"px"}(e,t),function(e,t){e.style.top=t+"px"}(e,n)},complete(){!function(e){e.style.top=""}(e),function(e){e.firstElementChild.style.height=""}(e)}}),function(e,{viewport$:t,main$:n}){const c=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return Object(Q.a)([n,t]).pipe(Object(o.a)(([{offset:e,height:t},{offset:{y:n}}])=>({height:t=t+Math.min(c,Math.max(0,n-e))-c,locked:n>=e+c})),Object(F.a)((e,t)=>e.height===t.height&&e.locked===t.locked))}(e,a).pipe(Object(g.a)(r),Object(v.a)(()=>r.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}var ge=n(86);function ve(e){const[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":const[,t,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return function(e,t){const n=void 0!==t?`https://api.github.com/repos/${e}/${t}`:"https://api.github.com/users/"+e;return Object(u.k)(n).pipe(Object(o.a)(e=>{if(void 0!==t){const{stargazers_count:t,forks_count:n}=e;return[Object(S.c)(t)+" Stars",Object(S.c)(n)+" Forks"]}{const{public_repos:t}=e;return[Object(S.c)(t)+" Repositories"]}}),Object(ge.a)([]))}(t,n);case"gitlab":const[,c,a]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return function(e,t){const n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Object(u.k)(n).pipe(Object(o.a)(({star_count:e,forks_count:t})=>[Object(S.c)(e)+" Stars",Object(S.c)(t)+" Forks"]),Object(ge.a)([]))}(c,a);default:return J.a}}let we;function $e(e){const t=new c.a;return t.subscribe(({facts:t})=>{!function(e,t){e.lastElementChild.appendChild(t)}(e,function(e){return Object(S.a)("ul",{class:"md-source__facts"},e.map(e=>Object(S.a)("li",{class:"md-source__fact"},e)))}(t)),function(e,t){e.lastElementChild.setAttribute("data-md-state",t)}(e,"done")}),function(e){const t=Object(S.b)(e.href).toString();return we||(we=Object(r.a)(()=>{const n=sessionStorage.getItem(t);if(n)return Object(U.a)(JSON.parse(n));{const n=ve(e.href);return n.subscribe(e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(e){}}),n}}).pipe(Object(ee.a)(()=>J.a),Object(C.a)(e=>e.length>0),Object(o.a)(e=>({facts:e})),Object(s.a)(1)))}(e).pipe(Object(g.a)(t),Object(v.a)(()=>t.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}function xe(e,t){const n=new c.a;return n.pipe(Object(H.a)(I.a)).subscribe({next({hidden:t}){t?function(e,t){e.setAttribute("data-md-state",t)}(e,"hidden"):E(e)},complete(){E(e)}}),function(e,{viewport$:t,header$:n}){return Object(u.z)(e,{header$:n,viewport$:t}).pipe(Object(o.a)(({offset:{y:e}})=>({hidden:e>=10})),Object(h.a)("hidden"))}(e,t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}var ye=n(90);function _e(e,t){const n=new c.a;n.pipe(Object(H.a)(I.a)).subscribe(({prev:e,next:t})=>{for(const[e]of t)y(e),$(e);for(const[t,[n]]of e.entries())x(n,t===e.length-1),w(n,"blur")});return function(e,{viewport$:t,header$:n}){const c=new Map;for(const t of e){const e=decodeURIComponent(t.hash.substring(1)),n=Object(u.c)(`[id="${e}"]`);void 0!==n&&c.set(t,n)}const a=n.pipe(Object(o.a)(e=>24+e.height));return Object(u.t)(document.body).pipe(Object(h.a)("height"),Object(o.a)(()=>{let e=[];return[...c].reduce((t,[n,a])=>{for(;e.length;){if(!(c.get(e[e.length-1]).tagName>=a.tagName))break;e.pop()}let r=a.offsetTop;for(;!r&&a.parentElement;)r=(a=a.parentElement).offsetTop;return t.set([...e=[...e,n]].reverse(),r)},new Map)}),Object(i.a)(e=>Object(Q.a)([a,t]).pipe(Object(ye.a)(([e,t],[n,{offset:{y:c}}])=>{for(;t.length;){const[,a]=t[0];if(!(a-n<c))break;e=[...e,t.shift()]}for(;e.length;){const[,a]=e[e.length-1];if(!(a-n>=c))break;t=[e.pop(),...t]}return[e,t]},[[],[...e]]),Object(F.a)((e,t)=>e[0]===t[0]&&e[1]===t[1])))).pipe(Object(o.a)(([e,t])=>({prev:e.map(([e])=>e),next:t.map(([e])=>e)})),Object(pe.a)({prev:[],next:[]}),Object(ce.a)(2,1),Object(o.a)(([e,t])=>e.prev.length<t.prev.length?{prev:t.prev.slice(Math.max(0,e.prev.length-1),t.prev.length),next:[]}:{prev:t.prev.slice(-1),next:t.next.slice(0,t.next.length-e.next.length)}))}(Object(u.g)("[href^=\\#]",e),t).pipe(Object(g.a)(n),Object(v.a)(()=>n.complete()),Object(o.a)(t=>Object.assign({ref:e},t)))}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js");const Ee=Object(u.r)(),ke=Object(u.u)(),Se=Object(u.v)(),Ae=Object(u.y)(),Re=Object(u.w)("(min-width: 960px)"),Te=Object(u.w)("(min-width: 1220px)"),Me=Object(u.x)(),Ce=new c.a;var Le;!function({alert$:e}){d.a.isSupported()&&new V.a(e=>{new d.a("[data-clipboard-target], [data-clipboard-text]").on("success",t=>e.next(t))}).subscribe(()=>e.next(l("clipboard.copied")))}({alert$:Ce}),Le="navigation.instant",f.features.includes(Le)&&function({document$:e,location$:t,viewport$:n}){const c=O();if("file:"===location.protocol)return;"scrollRestoration"in history&&(history.scrollRestoration="manual",Object(X.a)(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));const r=Object(u.c)("link[rel='shortcut icon']");void 0!==r&&(r.href=r.href);const s=Object(u.l)(c.base+"/sitemap.xml").pipe(Object(o.a)(e=>function(e){if(e.length<2)return e;const[t,n]=e.sort((e,t)=>e.length-t.length);let c=0;if(t===n)c=t.length;else for(;t.charCodeAt(c)==t.charCodeAt(c);)c++;const a=O();return e.map(e=>e.replace(t.slice(0,c),a.base+"/"))}(Object(u.g)("loc",e).map(e=>e.textContent))),Object(i.a)(e=>Object(X.a)(document.body,"click").pipe(Object(C.a)(e=>!e.metaKey&&!e.ctrlKey),Object(i.a)(t=>{if(t.target instanceof HTMLElement){const n=t.target.closest("a");if(n&&!n.target&&e.includes(n.href))return t.preventDefault(),Object(U.a)({url:new URL(n.href)})}return J.a}))),Object(G.a)()),b=Object(X.a)(window,"popstate").pipe(Object(C.a)(e=>null!==e.state),Object(o.a)(e=>({url:new URL(location.href),offset:e.state})),Object(G.a)());Object(a.a)(s,b).pipe(Object(F.a)((e,t)=>e.url.href===t.url.href),Object(o.a)(({url:e})=>e)).subscribe(t);const p=t.pipe(Object(h.a)("pathname"),Object(Z.a)(1),Object(i.a)(e=>Object(u.j)(e.href).pipe(Object(ee.a)(()=>(Object(u.n)(e),J.a)))),Object(G.a)());s.pipe(Object(B.a)(p)).subscribe(({url:e})=>{history.pushState({},"",e.toString())});const f=new DOMParser;p.pipe(Object(i.a)(e=>e.text()),Object(o.a)(e=>f.parseFromString(e,"text/html"))).subscribe(e),Object(a.a)(s,b).pipe(Object(B.a)(e)).subscribe(({url:e,offset:t})=>{e.hash&&!t?Object(u.o)(e.hash):Object(u.q)(t||{y:0})}),e.pipe(Object(Z.a)(1)).subscribe(e=>{for(const t of["title","link[rel='canonical']","meta[name='author']","meta[name='description']","[data-md-component=announce]","[data-md-component=header-title]","[data-md-component=container]","[data-md-component=skip]"]){const n=Object(u.c)(t,e),c=Object(u.c)(t);void 0!==n&&void 0!==c&&Object(u.i)(c,n)}}),n.pipe(Object(te.a)(s),Object(ne.a)(250),Object(h.a)("offset")).subscribe(({offset:e})=>{history.replaceState(e,"")}),Object(a.a)(s,b).pipe(Object(ce.a)(2,1),Object(C.a)(([e,t])=>e.url.pathname===t.url.pathname),Object(o.a)(([,e])=>e)).subscribe(({offset:e})=>{Object(u.q)(e||{y:0})})}({document$:Ee,location$:ke,viewport$:Ae});const Pe=(Ue=Object(u.e)("[data-md-component=header]"),Object(r.a)(()=>{const e=getComputedStyle(Ue);return Object(U.a)("sticky"===e.position||"-webkit-sticky"===e.position)}).pipe(Object(D.a)(Object(u.t)(Ue)),Object(o.a)(([e,{height:t}])=>({sticky:e,height:e?t:0})),Object(F.a)((e,t)=>e.sticky===t.sticky&&e.height===t.height),Object(s.a)(1)));var Ue;const ze=Ee.pipe(Object(o.a)(()=>Object(u.e)("[data-md-component=main]")),Object(i.a)(e=>function(e,{viewport$:t,header$:n}){const c=n.pipe(Object(o.a)(({height:e})=>e),Object(F.a)()),a=c.pipe(Object(i.a)(()=>Object(u.t)(e).pipe(Object(o.a)(({height:t})=>({top:e.offsetTop,bottom:e.offsetTop+t})),Object(h.a)("bottom"))));return Object(Q.a)([c,a,t]).pipe(Object(o.a)(([e,{top:t,bottom:n},{offset:{y:c},size:{height:a}}])=>({offset:t-e,height:a=Math.max(0,a-Math.max(0,t-c,e)-Math.max(0,a+c-n)),active:t-e<=c})),Object(F.a)((e,t)=>e.offset===t.offset&&e.height===t.height&&e.active===t.active))}(e,{viewport$:Ae,header$:Pe})),Object(s.a)(1)),Ne=Object(a.a)(...Object(u.g)("[data-md-component=dialog]").map(e=>Y(e,{alert$:Ce})),...Object(u.g)("[data-md-component=header]").map(e=>function(e,{header$:t,main$:n}){const a=new c.a;return a.pipe(Object(h.a)("active"),Object(H.a)(I.a)).subscribe(({active:t})=>{t?function(e,t){e.setAttribute("data-md-state",t)}(e,"shadow"):function(e){e.removeAttribute("data-md-state")}(e)}),n.subscribe(e=>a.next(e)),t.pipe(Object(o.a)(t=>Object.assign({ref:e},t)))}(e,{viewport$:Ae,header$:Pe,main$:ze})),...Object(u.g)("[data-md-component=search]").map(e=>de(e)),...Object(u.g)("[data-md-component=source]").map(e=>$e(e)),...Object(u.g)("[data-md-component=tabs]").map(e=>xe(e,{viewport$:Ae,header$:Pe}))),Ie=Object(r.a)(()=>Object(a.a)(...Object(u.g)("[data-md-component=content]").map(e=>function(e,{target$:t,viewport$:n,print$:c}){return Object(a.a)(...Object(u.g)("pre > code",e).map(e=>M(e,{viewport$:n})),...Object(u.g)("table:not([class])",e).map(e=>N(e)),...Object(u.g)("details",e).map(e=>P(e,{target$:t,print$:c})))}(e,{target$:Se,viewport$:Ae,print$:Me})),...Object(u.g)("[data-md-component=header-title]").map(e=>W(e,{viewport$:Ae,header$:Pe})),...Object(u.g)("[data-md-component=sidebar]").map(e=>"navigation"===e.getAttribute("data-md-type")?Object(u.a)(Te,()=>me(e,{viewport$:Ae,header$:Pe,main$:ze})):Object(u.a)(Re,()=>me(e,{viewport$:Ae,header$:Pe,main$:ze}))),...Object(u.g)("[data-md-component=toc]").map(e=>_e(e,{viewport$:Ae,header$:Pe})))),qe=Ee.pipe(Object(i.a)(()=>Ie),Object(b.a)(Ne))}}));
//# sourceMappingURL=bundle.7e5d1283.min.js.map