!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],p=t[2],u=0,l=[];uObject($.a)(new ResizeObserver(e=>{for(const t of e)E.next(t)}))).pipe(Object(s.a)(e=>y.a.pipe(Object(v.a)(e)).pipe(Object(x.a)(()=>e.disconnect()))),Object(p.a)(1));function A(e){return{width:e.offsetWidth,height:e.offsetHeight}}function S(e){return k.pipe(Object(_.a)(t=>t.observe(e)),Object(s.a)(t=>E.pipe(Object(o.a)(({target:t})=>t===e),Object(x.a)(()=>t.unobserve(e)),Object(i.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(v.a)(A(e)))}var T=n(42);const R={drawer:O("[data-md-toggle=drawer]"),search:O("[data-md-toggle=search]")};function M(e,t){R[e].checked!==t&&R[e].click()}var C=n(60);function L(){return new URL(location.href)}function P(){return location.hash.substring(1)}function U(e){const t=matchMedia(e);return Object(l.a)(t,"change").pipe(Object(i.a)(e=>e.matches),Object(v.a)(t.matches))}function N(e,t){return e.pipe(Object(s.a)(e=>e?t():y.a))}var H=n(6);function I(e,t={credentials:"same-origin"}){return Object(H.a)(fetch(e,t)).pipe(Object(o.a)(e=>200===e.status))}function z(e,t){return I(e,t).pipe(Object(s.a)(e=>e.json()),Object(p.a)(1))}var D=n(46),Y=n(61);function F(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function q({x:e,y:t}){window.scrollTo(e||0,t||0)}function J(){return{width:innerWidth,height:innerHeight}}function W(e,{viewport$:t,header$:n}){const c=t.pipe(Object(Y.a)("size")),a=Object(D.a)([c,n]).pipe(Object(i.a)(()=>({x:e.offsetLeft,y:e.offsetTop})));return Object(D.a)([n,t,a]).pipe(Object(i.a)(([{height:e},{offset:t,size:n},{x:c,y:a}])=>({offset:{x:t.x-c,y:t.y-a+e},size:n})))}var K=n(62),Q=n(63);const B=O("#__config"),X=JSON.parse(B.textContent);function V(){return X}function G(e){return X.features.includes(e)}function Z(e,t){return void 0!==t?X.translations[e].replace("#",t.toString()):X.translations[e]}function ee(e,t=document){return O(`[data-md-component=${e}]`,t)}function te(e,t=document){return j(`[data-md-component=${e}]`,t)}X.base=new URL(X.base,L()).toString().replace(/\/$/,"");var ne,ce=n(26),ae=n.n(ce),re=n(64);function oe(e,t){e.setAttribute("data-md-state",t)}function ie(e){e.removeAttribute("data-md-state")}function se(e,t){e.classList.toggle("md-nav__link--active",t)}function pe(e){e.classList.remove("md-nav__link--active")}function be(e,t){e.appendChild(t)}function ue(e){e.removeAttribute("data-md-state")}function le(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)le(e,n)}function fe(e,t,...n){const c=document.createElement(e);if(t)for(const e of Object.keys(t))"boolean"!=typeof t[e]?c.setAttribute(e,t[e]):t[e]&&c.setAttribute(e,"");for(const e of n)le(c,e);return c}function de(e){if(e>999){return((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k"}return e.toString()}function Oe(e,t){const n=t&ne.PARENT,c=t&ne.TEASER,a=Object.keys(e.terms).filter(t=>!e.terms[t]).map(e=>[fe("del",null,e)," "]).flat().slice(0,-1);return fe("a",{href:e.location,class:"md-search-result__link",tabIndex:-1},fe("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&fe("div",{class:"md-search-result__icon md-icon"}),fe("h1",{class:"md-search-result__title"},e.title),c>0&&e.text.length>0&&fe("p",{class:"md-search-result__teaser"},function(e,t){let n=t;if(e.length>n){for(;" "!==e[n]&&--n>0;);return e.substring(0,n)+"..."}return e}(e.text,320)),c>0&&a.length>0&&fe("p",{class:"md-search-result__terms"},Z("search.result.term.missing"),": ",a)))}function he(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.scoreOe(e,ne.TEASER)),...i.length?[fe("details",{class:"md-search-result__more"},fe("summary",{tabIndex:-1},i.length>0&&1===i.length?Z("search.result.more.one"):Z("search.result.more.other",i.length)),i.map(e=>Oe(e,ne.TEASER)))]:[]];return fe("li",{class:"md-search-result__item"},s)}!function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"}(ne||(ne={}));let je=0;function me(e,t){const n=new c.a;if(n.pipe(Object(re.a)(U("(hover)"))).subscribe(([{scroll:t},n])=>{t&&n?function(e,t=0){e.setAttribute("tabindex",t.toString())}(e):function(e){e.removeAttribute("tabindex")}(e)}),ae.a.isSupported()){const t=e.closest("pre");t.id="__code_"+je++,t.insertBefore((a=t.id,fe("button",{class:"md-clipboard md-icon",title:Z("clipboard.copy"),"data-clipboard-target":`#${a} > code`})),e)}var a;return function(e,{viewport$:t}){return t.pipe(Object(Y.a)("size"),Object(i.a)(()=>{const t=A(e);return{scroll:function(e){return{width:e.scrollWidth,height:e.scrollHeight}}(e).width>t.width}}),Object(Y.a)("scroll"))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function ge(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(i.a)(e=>e.closest("details:not([open])")),Object(o.a)(t=>e===t),Object(b.a)(n),Object(f.a)(e))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(f.a)({ref:e}))}const ve=m("table");function we(e){return g(e,ve),g(ve,fe("div",{class:"md-typeset__scrollwrap"},fe("div",{class:"md-typeset__table"},e))),Object($.a)({ref:e})}var $e=n(77),ye=n(78),xe=n(66);function _e(e,t){const n=new c.a;return n.pipe(Object(xe.a)($e.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(s.a)(e=>Object(a.a)(Object($.a)(!0),Object($.a)(!1).pipe(Object(ye.a)(2e3))).pipe(Object(i.a)(t=>({message:e,open:t})))))}(0,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var Ee=n(67),ke=n(44),Ae=n(68);function Se({viewport$:e}){if(!G("header.autohide"))return Object($.a)(!1);const t=e.pipe(Object(i.a)(({offset:{y:e}})=>e),Object(Ee.a)(2,1),Object(i.a)(([e,t])=>[eMath.abs(t-e.y)>100),Object(i.a)(([,[e]])=>e),Object(ke.a)()),c=function(e){const t=R[e];return Object(l.a)(t,"change").pipe(Object(i.a)(()=>t.checked),Object(v.a)(t.checked))}("search");return Object(D.a)([e,c]).pipe(Object(i.a)(([{offset:e},t])=>e.y>400&&!t),Object(ke.a)(),Object(s.a)(e=>e?n:Object($.a)(!1)),Object(v.a)(!1))}function Te(e,t){const n=new c.a;n.pipe(Object(xe.a)($e.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=d("article h1");return void 0===a?y.a:function(e,{viewport$:t,header$:n}){return W(e,{header$:n,viewport$:t}).pipe(Object(i.a)(({offset:{y:t}})=>{const{height:n}=A(e);return{active:t>=n}}),Object(Y.a)("active"))}(a,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var Re=n(71),Me=n(39),Ce=n(4);var Le=n(21),Pe=n(69),Ue=n(70),Ne=n(72),He=n(73),Ie=n(79);var ze;n(45);function De(e){return e.split(/"([^"]+)"/g).map((e,t)=>1&t?e.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):e).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}function Ye(e){return e.type===ze.READY}function Fe(e){return e.type===ze.QUERY}function qe(e){return e.type===ze.RESULT}function Je({config:e,docs:t,index:n}){1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[Z("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=Z("search.config.separator"));return{config:e,docs:t,index:n,pipeline:Z("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}function We(e,t){const n=V(),a=new Worker(e),r=new c.a,o=function(e,{tx$:t}){const n=Object(l.a)(e,"message").pipe(Object(i.a)(({data:e})=>e));return t.pipe(Object(K.a)(()=>n,{leading:!0,trailing:!0}),Object(_.a)(t=>e.postMessage(t)),Object(Q.a)(n),Object(T.a)())}(a,{tx$:r}).pipe(Object(i.a)(e=>{if(qe(e))for(const t of e.data)for(const e of t)e.location=`${n.base}/${e.location}`;return e}),Object(T.a)());return Object(H.a)(t).pipe(Object(i.a)(e=>({type:ze.SETUP,data:Je(e)}))).subscribe(r.next.bind(r)),{tx$:r,rx$:o}}!function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"}(ze||(ze={}));var Ke=n(74),Qe=n(75);function Be(e){const t=(null===__search||void 0===__search?void 0:__search.transform)||De,n=function(e){return Object(a.a)(Object(l.a)(e,"focus"),Object(l.a)(e,"blur")).pipe(Object(i.a)(({type:e})=>"focus"===e),Object(v.a)(e===h()))}(e),c=Object(a.a)(Object(l.a)(e,"keyup"),Object(l.a)(e,"focus").pipe(Object(ye.a)(1))).pipe(Object(i.a)(()=>t(e.value)),Object(v.a)(t(e.value)),Object(ke.a)());return Object(D.a)([c,n]).pipe(Object(i.a)(([e,t])=>({value:e,focus:t})))}function Xe(e,{tx$:t}){const n=new c.a;return n.pipe(Object(Y.a)("value"),Object(i.a)(({value:e})=>({type:ze.QUERY,data:e}))).subscribe(t.next.bind(t)),n.pipe(Object(Y.a)("focus")).subscribe(({focus:t})=>{t?(M("search",t),function(e,t){e.placeholder=t}(e,"")):function(e){e.placeholder=Z("search.placeholder")}(e)}),Object(l.a)(e.form,"reset").pipe(Object(Ke.a)(n.pipe(Object(Qe.a)(1)))).subscribe(()=>w(e)),Be(e).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function Ve(e,{rx$:t},{query$:n}){const a=new c.a,r=O(":scope > :first-child",e);a.pipe(Object(re.a)(n)).subscribe(([{data:e},{value:t}])=>{t?function(e,t){switch(t){case 0:e.textContent=Z("search.result.none");break;case 1:e.textContent=Z("search.result.one");break;default:e.textContent=Z("search.result.other",t)}}(r,e.length):function(e){e.textContent=Z("search.result.placeholder")}(r)});const s=O(":scope > :last-child",e);a.subscribe(({data:e})=>{!function(e){e.innerHTML=""}(s);const t=[...e.map(([e])=>e.score),0];for(let n=0;n({data:e})),Object(v.a)({data:[]})).pipe(Object(_.a)(a),Object(x.a)(()=>a.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function Ge(e,{keyboard$:t}){const n=V(),c=We(n.search,(r=n.base+"/search/search_index.json",(null===__search||void 0===__search?void 0:__search.index)||z(r)));var r;const i=ee("search-query",e),s=ee("search-result",e),{tx$:p,rx$:b}=c;p.pipe(Object(o.a)(Fe),Object(Re.a)(b.pipe(Object(o.a)(Ye))),Object(Me.a)(1)).subscribe(p.next.bind(p)),t.pipe(Object(o.a)(({mode:e})=>"search"===e)).subscribe(e=>{const t=h();switch(e.type){case"Enter":t===i&&e.claim();break;case"Escape":case"Tab":M("search",!1),w(i,!1);break;case"ArrowUp":case"ArrowDown":if(void 0===t)w(i);else{const n=[i,...j(":not(details) > [href], summary, details[open] [href]",s)],c=Math.max(0,(Math.max(0,n.indexOf(t))+n.length+("ArrowUp"===e.type?-1:1))%n.length);w(n[c])}e.claim();break;default:i!==h()&&w(i)}}),t.pipe(Object(o.a)(({mode:e})=>"global"===e)).subscribe(e=>{switch(e.type){case"f":case"s":case"/":w(i),function(e){if(!(e instanceof HTMLInputElement))throw new Error("Not implemented");e.select()}(i),e.claim()}});const u=Xe(i,c);return Object(a.a)(u,Ve(s,c,{query$:u}))}var Ze=n(25);function et(e,t){var{header$:n}=t,a=Object(Ze.c)(t,["header$"]);const r=new c.a;return r.pipe(Object(xe.a)($e.a),Object(re.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(D.a)([n,t]).pipe(Object(i.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(ke.a)((e,t)=>e.height===t.height&&e.locked===t.locked))}(e,a).pipe(Object(_.a)(r),Object(x.a)(()=>r.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var tt=n(76);function nt(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){return z(void 0!==t?`https://api.github.com/repos/${e}/${t}`:"https://api.github.com/users/"+e).pipe(Object(i.a)(e=>{if(void 0!==t){const{stargazers_count:t,forks_count:n}=e;return[de(t)+" Stars",de(n)+" Forks"]}{const{public_repos:t}=e;return[de(t)+" Repositories"]}}),Object(tt.a)([]))}(t,n);case"gitlab":const[,c,a]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return function(e,t){return z(`https://${e}/api/v4/projects/${encodeURIComponent(t)}`).pipe(Object(i.a)(({star_count:e,forks_count:t})=>[de(e)+" Stars",de(t)+" Forks"]),Object(tt.a)([]))}(c,a);default:return y.a}}let ct;function at(e){const t=new c.a;return t.subscribe(({facts:t})=>{!function(e,t){e.lastElementChild.appendChild(t)}(e,function(e){return fe("ul",{class:"md-source__facts"},e.map(e=>fe("li",{class:"md-source__fact"},e)))}(t)),function(e,t){e.lastElementChild.setAttribute("data-md-state",t)}(e,"done")}),function(e){const t=function(e){let t=0;for(let n=0,c=e.length;n{const n=sessionStorage.getItem(t);if(n)return Object($.a)(JSON.parse(n));{const n=nt(e.href);return n.subscribe(e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(e){}}),n}}).pipe(Object(Ue.a)(()=>y.a),Object(o.a)(e=>e.length>0),Object(i.a)(e=>({facts:e})),Object(p.a)(1)))}(e).pipe(Object(_.a)(t),Object(x.a)(()=>t.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}function rt(e,t){const n=new c.a;return n.pipe(Object(xe.a)($e.a)).subscribe({next({hidden:t}){t?function(e,t){e.setAttribute("data-md-state",t)}(e,"hidden"):ue(e)},complete(){ue(e)}}),function(e,{viewport$:t,header$:n}){return W(e,{header$:n,viewport$:t}).pipe(Object(i.a)(({offset:{y:e}})=>({hidden:e>=10})),Object(Y.a)("hidden"))}(e,t).pipe(Object(_.a)(n),Object(x.a)(()=>n.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var ot=n(80);function it(e,t){const n=new c.a;n.pipe(Object(xe.a)($e.a)).subscribe(({prev:e,next:t})=>{for(const[e]of t)pe(e),ie(e);for(const[t,[n]]of e.entries())se(n,t===e.length-1),oe(n,"blur")});return function(e,{viewport$:t,header$:n}){const c=new Map;for(const t of e){const e=d(`[id="${decodeURIComponent(t.hash.substring(1))}"]`);void 0!==e&&c.set(t,e)}const a=n.pipe(Object(i.a)(e=>24+e.height));return S(document.body).pipe(Object(Y.a)("height"),Object(i.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(s.a)(e=>Object(D.a)([a,t]).pipe(Object(ot.a)(([e,t],[n,{offset:{y:c}}])=>{for(;t.length;){const[,a]=t[0];if(!(a-n=c))break;t=[e.pop(),...t]}return[e,t]},[[],[...e]]),Object(ke.a)((e,t)=>e[0]===t[0]&&e[1]===t[1])))).pipe(Object(i.a)(([e,t])=>({prev:e.map(([e])=>e),next:t.map(([e])=>e)})),Object(v.a)({prev:[],next:[]}),Object(Ee.a)(2,1),Object(i.a)(([e,t])=>e.prev.lengthn.complete()),Object(i.a)(t=>Object.assign({ref:e},t)))}var st=n(14);function pt(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js");const bt=function(){const e=new u.a;return Object(l.a)(document,"DOMContentLoaded").pipe(Object(f.a)(document)).subscribe(e),e}(),ut=new C.a(L()),lt=Object(l.a)(window,"hashchange").pipe(Object(i.a)(P),Object(v.a)(P()),Object(o.a)(e=>e.length>0),Object(T.a)()).pipe(Object(s.a)(e=>Object($.a)(d(`[id="${e}"]`)))),ft=Object(l.a)(window,"keydown").pipe(Object(o.a)(e=>!(e.metaKey||e.ctrlKey)),Object(i.a)(e=>{return{mode:(t="search",R[t].checked?"search":"global"),type:e.key,claim(){e.preventDefault(),e.stopPropagation()}};var t}),Object(o.a)(({mode:e})=>{if("global"===e){const e=h();if(void 0!==e)return!function(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}(e)}return!0}),Object(T.a)()),dt=Object(D.a)([Object(a.a)(Object(l.a)(window,"scroll",{passive:!0}),Object(l.a)(window,"resize",{passive:!0})).pipe(Object(i.a)(F),Object(v.a)(F())),Object(l.a)(window,"resize",{passive:!0}).pipe(Object(i.a)(J),Object(v.a)(J()))]).pipe(Object(i.a)(([e,t])=>({offset:e,size:t})),Object(p.a)(1)),Ot=U("(min-width: 960px)"),ht=U("(min-width: 1220px)"),jt=Object(a.a)(U("print").pipe(Object(o.a)(Boolean)),Object(l.a)(window,"beforeprint")).pipe(Object(f.a)(void 0)),mt=new c.a;!function({alert$:e}){ae.a.isSupported()&&new Ce.a(e=>{new ae.a("[data-clipboard-target], [data-clipboard-text]").on("success",t=>e.next(t))}).subscribe(()=>e.next(Z("clipboard.copied")))}({alert$:mt}),G("navigation.instant")&&function({document$:e,location$:t,viewport$:n}){const c=V();if("file:"===location.protocol)return;"scrollRestoration"in history&&(history.scrollRestoration="manual",Object(l.a)(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));const r=d("link[rel='shortcut icon']");void 0!==r&&(r.href=r.href);const b=function(e,t){const n=new DOMParser;return I(e,t).pipe(Object(s.a)(e=>e.text()),Object(i.a)(e=>n.parseFromString(e,"text/xml")),Object(p.a)(1))}(c.base+"/sitemap.xml").pipe(Object(i.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=V();return e.map(e=>e.replace(t.slice(0,c),a.base+"/"))}(j("loc",e).map(e=>e.textContent))),Object(s.a)(e=>Object(l.a)(document.body,"click").pipe(Object(o.a)(e=>!e.metaKey&&!e.ctrlKey),Object(s.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($.a)({url:new URL(n.href)})}return y.a}))),Object(T.a)()),u=Object(l.a)(window,"popstate").pipe(Object(o.a)(e=>null!==e.state),Object(i.a)(e=>({url:new URL(location.href),offset:e.state})),Object(T.a)());Object(a.a)(b,u).pipe(Object(ke.a)((e,t)=>e.url.href===t.url.href),Object(i.a)(({url:e})=>e)).subscribe(t);const f=t.pipe(Object(Y.a)("pathname"),Object(Pe.a)(1),Object(s.a)(e=>I(e.href).pipe(Object(Ue.a)(()=>(function(e){location.href=e.href}(e),y.a)))),Object(T.a)());b.pipe(Object(Re.a)(f)).subscribe(({url:e})=>{history.pushState({},"",e.toString())});const O=new DOMParser;f.pipe(Object(s.a)(e=>e.text()),Object(i.a)(e=>O.parseFromString(e,"text/html"))).subscribe(e),Object(a.a)(b,u).pipe(Object(Re.a)(e)).subscribe(({url:e,offset:t})=>{e.hash&&!t?function(e){const t=m("a");t.href=e,t.addEventListener("click",e=>e.stopPropagation()),t.click()}(e.hash):q(t||{y:0})}),e.pipe(Object(Pe.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=d(t),c=d(t,e);void 0!==n&&void 0!==c&&g(n,c)}}),e.pipe(Object(Pe.a)(1),Object(i.a)(()=>ee("container")),Object(s.a)(e=>Object($.a)(...j("script",e))),Object(Ne.a)(e=>{const t=m("script");return e.src?(t.src=e.src,g(e,t),new Ce.a(e=>{t.onload=()=>e.complete()})):(t.textContent=e.textContent,g(e,t),Le.a)})).subscribe(),n.pipe(Object(He.a)(b),Object(Ie.a)(250),Object(Y.a)("offset")).subscribe(({offset:e})=>{history.replaceState(e,"")}),Object(a.a)(b,u).pipe(Object(Ee.a)(2,1),Object(o.a)(([e,t])=>e.url.pathname===t.url.pathname),Object(i.a)(([,e])=>e)).subscribe(({offset:e})=>{q(e||{y:0})})}({document$:bt,location$:ut,viewport$:dt}),Object(a.a)(ut,lt).subscribe(()=>M("drawer",!1)),ft.pipe(Object(o.a)(({mode:e})=>"global"===e)).subscribe(e=>{switch(e.type){case"p":case",":const e=d("[href][rel=prev]");void 0!==e&&e.click();break;case"n":case".":const t=d("[href][rel=next]");void 0!==t&&t.click()}}),function({document$:e}){e.subscribe(()=>{for(const e of j("[data-md-state=indeterminate]"))e.setAttribute("data-md-state",""),e.indeterminate=!0,e.checked=!1})}({document$:bt}),function({document$:e}){e.pipe(Object(s.a)(()=>Object($.a)(...j("[data-md-scrollfix]"))),Object(_.a)(e=>e.removeAttribute("data-md-scrollfix")),Object(o.a)(pt),Object(st.a)(e=>Object(l.a)(e,"touchstart").pipe(Object(f.a)(e)))).subscribe(e=>{const t=e.scrollTop;0===t?e.scrollTop=1:t+e.offsetHeight===e.scrollHeight&&(e.scrollTop=t-1)})}({document$:bt});const gt=(vt=ee("header"),wt={viewport$:dt},Object(r.a)(()=>{const e=getComputedStyle(vt);return Object($.a)("sticky"===e.position||"-webkit-sticky"===e.position)}).pipe(Object(Ae.a)(S(vt),Se(wt)),Object(i.a)(([e,{height:t},n])=>({height:e?t:0,sticky:e,hidden:n})),Object(ke.a)((e,t)=>e.sticky===t.sticky&&e.height===t.height&&e.hidden===t.hidden),Object(p.a)(1)));var vt,wt;const $t=bt.pipe(Object(i.a)(()=>ee("main")),Object(s.a)(e=>function(e,{viewport$:t,header$:n}){const c=n.pipe(Object(i.a)(({height:e})=>e),Object(ke.a)()),a=c.pipe(Object(s.a)(()=>S(e).pipe(Object(i.a)(({height:t})=>({top:e.offsetTop,bottom:e.offsetTop+t})),Object(Y.a)("bottom"))));return Object(D.a)([c,a,t]).pipe(Object(i.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(ke.a)((e,t)=>e.offset===t.offset&&e.height===t.height&&e.active===t.active))}(e,{viewport$:dt,header$:gt})),Object(p.a)(1)),yt=Object(a.a)(...te("dialog").map(e=>_e(e,{alert$:mt})),...te("header").map(e=>function(e,{header$:t,main$:n}){const a=new c.a;return a.pipe(Object(Y.a)("active"),Object(Ae.a)(t),Object(xe.a)($e.a)).subscribe(([{active:t},{hidden:n}])=>{t?function(e,t){e.setAttribute("data-md-state",t)}(e,n?"hidden":"shadow"):function(e){e.removeAttribute("data-md-state")}(e)}),n.subscribe(e=>a.next(e)),t.pipe(Object(i.a)(t=>Object.assign({ref:e},t)))}(e,{viewport$:dt,header$:gt,main$:$t})),...te("search").map(e=>Ge(e,{keyboard$:ft})),...te("source").map(e=>at(e)),...te("tabs").map(e=>rt(e,{viewport$:dt,header$:gt}))),xt=Object(r.a)(()=>Object(a.a)(...te("content").map(e=>function(e,{target$:t,viewport$:n,print$:c}){return Object(a.a)(...j("pre > code",e).map(e=>me(e,{viewport$:n})),...j("table:not([class])",e).map(e=>we(e)),...j("details",e).map(e=>ge(e,{target$:t,print$:c})))}(e,{target$:lt,viewport$:dt,print$:jt})),...te("header-title").map(e=>Te(e,{viewport$:dt,header$:gt})),...te("sidebar").map(e=>"navigation"===e.getAttribute("data-md-type")?N(ht,()=>et(e,{viewport$:dt,header$:gt,main$:$t})):N(Ot,()=>et(e,{viewport$:dt,header$:gt,main$:$t}))),...te("toc").map(e=>it(e,{viewport$:dt,header$:gt})))),_t=bt.pipe(Object(s.a)(()=>xt),Object(b.a)(yt),Object(p.a)(1));_t.subscribe()}})); //# sourceMappingURL=bundle.b0aa5de8.min.js.map