!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(t){for(var a,o,i=t[0],s=t[1],p=t[2],b=0,l=[];b"focus"===e),Object(h.a)(e===(document.activeElement instanceof HTMLElement?document.activeElement:void 0)))}var j=n(52),m=n(53),g=n(55),v=n(56),w=n(57),$=n(58);const x=new a.a,y=Object(j.a)(()=>Object(m.a)(new ResizeObserver(e=>{for(const t of e)x.next(t)}))).pipe(Object(o.a)(e=>r.a.pipe(Object(h.a)(e)).pipe(Object(g.a)(()=>e.disconnect()))),Object(v.a)(1));function _(e){return{width:e.offsetWidth,height:e.offsetHeight}}function E(e){return y.pipe(Object(w.a)(t=>t.observe(e)),Object(o.a)(t=>x.pipe(Object($.a)(({target:t})=>t===e),Object(g.a)(()=>t.unobserve(e)),Object(d.a)(({contentRect:e})=>({width:e.width,height:e.height})))),Object(h.a)(_(e)))}var A=n(6);new DOMParser;function S(e,t={credentials:"same-origin"}){return Object(A.a)(fetch(e,t)).pipe(Object($.a)(e=>200===e.status),Object(o.a)(e=>e.json()),Object(v.a)(1))}var k=n(40);n(59);function T(){return new URL(location.href)}function R(){return location.hash.substring(1)}function M(e){const t=matchMedia(e);return Object(i.a)(t,"change").pipe(Object(d.a)(e=>e.matches),Object(h.a)(t.matches))}const C={drawer:u("[data-md-toggle=drawer]"),search:u("[data-md-toggle=search]")};var L=n(43),P=n(60);function U(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function z(){return{width:innerWidth,height:innerHeight}}function N(e,{viewport$:t,header$:n}){const a=t.pipe(Object(P.a)("size")),c=Object(L.a)([a,n]).pipe(Object(d.a)(()=>({x:e.offsetLeft,y:e.offsetTop})));return Object(L.a)([n,t,c]).pipe(Object(d.a)(([{height:e},{offset:t,size:n},{x:a,y:c}])=>({offset:{x:t.x-a,y:t.y-c+e},size:n})))}var I=n(61),Y=n(62);var H=n(25),q=n.n(H),F=n(63);function J(e,t){e.setAttribute("data-md-state",t)}function W(e){e.removeAttribute("data-md-state")}function D(e,t){e.classList.toggle("md-nav__link--active",t)}function Q(e){e.classList.remove("md-nav__link--active")}const B=u("#__config"),V=JSON.parse(B.textContent);function X(){return V}function G(e,t){return void 0!==t?V.translations[e].replace("#",t.toString()):V.translations[e]}function K(e,t){e.appendChild(t)}function Z(e){e.removeAttribute("data-md-state")}function ee(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)ee(e,n)}function te(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)ee(a,e);return a}function ne(e){if(e>999){return((e+1e-6)/1e3).toFixed(+((e-950)%1e3>99))+"k"}return e.toString()}var ae;function ce(e,t){const n=t&ae.PARENT,a=t&ae.TEASER,c=Object.keys(e.terms).filter(t=>!e.terms[t]).map(e=>[te("del",null,e)," "]).flat().slice(0,-1);return te("a",{href:e.location,class:"md-search-result__link",tabIndex:-1},te("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&te("div",{class:"md-search-result__icon md-icon"}),te("h1",{class:"md-search-result__title"},e.title),a>0&&e.text.length>0&&te("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)),a>0&&c.length>0&&te("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",c)))}function re(e,t=1/0){const n=[...e],a=n.findIndex(e=>!e.location.includes("#")),[c]=n.splice(a,1);let r=n.findIndex(e=>e.scorece(e,ae.TEASER)),...i.length?[te("details",{class:"md-search-result__more"},te("summary",{tabIndex:-1},i.length>0&&1===i.length?G("search.result.more.one"):G("search.result.more.other",i.length)),i.map(e=>ce(e,ae.TEASER)))]:[]];return te("li",{class:"md-search-result__item"},s)}V.base=new URL(V.base,T()).toString().replace(/\/$/,""),function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"}(ae||(ae={}));let oe=0;function ie(e,t){const n=new a.a;if(n.pipe(Object(F.a)(M("(hover)"))).subscribe(([{scroll:t},n])=>{t&&n?function(e,t=0){e.setAttribute("tabindex",t.toString())}(e):function(e){e.removeAttribute("tabindex")}(e)}),q.a.isSupported()){const t=e.closest("pre");t.id="__code_"+oe++,t.insertBefore((c=t.id,te("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${c} > code`})),e)}var c;return function(e,{viewport$:t}){return t.pipe(Object(P.a)("size"),Object(d.a)(()=>{const t=_(e);return{scroll:function(e){return{width:e.scrollWidth,height:e.scrollHeight}}(e).width>t.width}}),Object(P.a)("scroll"))}(e,t).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}var se=n(64);function pe(e,t){const n=new a.a;return n.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),function(e,{target$:t,print$:n}){return t.pipe(Object(d.a)(e=>e.closest("details:not([open])")),Object($.a)(t=>e===t),Object(se.a)(n),Object(s.a)(e))}(e,t).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(s.a)({ref:e}))}const ue=l("table");function be(e){return f(e,ue),f(ue,te("div",{class:"md-typeset__scrollwrap"},te("div",{class:"md-typeset__table"},e))),Object(m.a)({ref:e})}var le=n(74),fe=n(73),de=n(65);function he(e,{message$:t}){const n=new a.a;return n.pipe(Object(de.a)(le.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,{message$:t}){return t.pipe(Object(o.a)(e=>Object(c.a)(Object(m.a)(!0),Object(m.a)(!1).pipe(Object(fe.a)(2e3))).pipe(Object(d.a)(t=>({message:e,open:t})))))}(0,{message$:t}).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}var Oe=n(66),je=n(41);function me(e,t){const n=new a.a;n.pipe(Object(de.a)(le.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 c=p("article h1");return void 0===c?r.a:function(e,{viewport$:t,header$:n}){return N(e,{header$:n,viewport$:t}).pipe(Object(d.a)(({offset:{y:t}})=>{const{height:n}=_(e);return{active:t>=n}}),Object(P.a)("active"))}(c,t).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}var ge=n(69),ve=n(37),we=n(4);var $e;n(42);function xe(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===$e.READY}function _e(e){return e.type===$e.QUERY}function Ee(e){return e.type===$e.RESULT}function Ae({config:e,docs:t,index:n}){1===e.lang.length&&"en"===e.lang[0]&&(e.lang=[G("search.config.lang")]),"[\\s\\-]+"===e.separator&&(e.separator=G("search.config.separator"));return{config:e,docs:t,index:n,pipeline:G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean)}}function Se(e,t){const n=X(),c=new Worker(e),r=new a.a,o=function(e,{tx$:t}){const n=Object(i.a)(e,"message").pipe(Object(d.a)(({data:e})=>e));return t.pipe(Object(I.a)(()=>n,{leading:!0,trailing:!0}),Object(w.a)(t=>e.postMessage(t)),Object(Y.a)(n),Object(k.a)())}(c,{tx$:r}).pipe(Object(d.a)(e=>{if(Ee(e))for(const t of e.data)for(const e of t)e.location=`${n.base}/${e.location}`;return e}),Object(k.a)());return Object(A.a)(t).pipe(Object(d.a)(e=>({type:$e.SETUP,data:Ae(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"}($e||($e={}));var ke=n(67),Te=n(68);function Re(e,{tx$:t}){const n=new a.a;return n.pipe(Object(P.a)("value"),Object(d.a)(({value:e})=>({type:$e.QUERY,data:e}))).subscribe(t.next.bind(t)),n.pipe(Object(P.a)("focus")).subscribe(({focus:t})=>{var n,a;t?(a=t,C[n="search"].checked!==a&&C[n].click(),function(e,t){e.placeholder=t}(e,"")):function(e){e.placeholder=G("search.placeholder")}(e)}),Object(i.a)(e.form,"reset").pipe(Object(ke.a)(n.pipe(Object(Te.a)(1)))).subscribe(()=>function(e,t=!0){t?e.focus():e.blur()}(e)),function(e){const t=(null===__search||void 0===__search?void 0:__search.transform)||xe,n=O(e),a=Object(c.a)(Object(i.a)(e,"keyup"),Object(i.a)(e,"focus").pipe(Object(fe.a)(1))).pipe(Object(d.a)(()=>t(e.value)),Object(h.a)(t(e.value)),Object(je.a)());return Object(L.a)([a,n]).pipe(Object(d.a)(([e,t])=>({value:e,focus:t})))}(e).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}function Me(e,{rx$:t},{query$:n}){const c=new a.a,r=u(":scope > :first-child",e);c.pipe(Object(F.a)(n)).subscribe(([{data:e},{value:t}])=>{t?function(e,t){switch(t){case 0:e.textContent=G("search.result.none");break;case 1:e.textContent=G("search.result.one");break;default:e.textContent=G("search.result.other",t)}}(r,e.length):function(e){e.textContent=G("search.result.placeholder")}(r)});const o=u(":scope > :last-child",e);c.subscribe(({data:e})=>{!function(e){e.innerHTML=""}(o);const t=[...e.map(([e])=>e.score),0];for(let n=0;n({data:e})),Object(h.a)({data:[]})).pipe(Object(w.a)(c),Object(g.a)(()=>c.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}function Ce(e){const t=X(),n=Se(t.search,(a=t.base+"/search/search_index.json",(null===__search||void 0===__search?void 0:__search.index)||S(a)));var a;const{tx$:r,rx$:o}=n;r.pipe(Object($.a)(_e),Object(ge.a)(o.pipe(Object($.a)(ye))),Object(ve.a)(1)).subscribe(r.next.bind(r));const i=Re(u("[data-md-component=search-query]",e),n);return Object(c.a)(i,Me(u("[data-md-component=search-result]",e),n,{query$:i}))}var Le=n(24);function Pe(e,t){var{header$:n}=t,c=Object(Le.c)(t,["header$"]);const r=new a.a;return r.pipe(Object(de.a)(le.a),Object(F.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 a=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return Object(L.a)([n,t]).pipe(Object(d.a)(([{offset:e,height:t},{offset:{y:n}}])=>({height:t=t+Math.min(a,Math.max(0,n-e))-a,locked:n>=e+a})),Object(je.a)((e,t)=>e.height===t.height&&e.locked===t.locked))}(e,c).pipe(Object(w.a)(r),Object(g.a)(()=>r.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}var Ue=n(71),ze=n(70);function Ne(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 S(void 0!==t?`https://api.github.com/repos/${e}/${t}`:"https://api.github.com/users/"+e).pipe(Object(d.a)(e=>{if(void 0!==t){const{stargazers_count:t,forks_count:n}=e;return[ne(t)+" Stars",ne(n)+" Forks"]}{const{public_repos:t}=e;return[ne(t)+" Repositories"]}}),Object(ze.a)([]))}(t,n);case"gitlab":const[,a,c]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return function(e,t){return S(`https://${e}/api/v4/projects/${encodeURIComponent(t)}`).pipe(Object(d.a)(({star_count:e,forks_count:t})=>[ne(e)+" Stars",ne(t)+" Forks"]),Object(ze.a)([]))}(a,c);default:return r.a}}let Ie;function Ye(e){const t=new a.a;return t.subscribe(({facts:t})=>{!function(e,t){e.lastElementChild.appendChild(t)}(e,function(e){return te("ul",{class:"md-source__facts"},e.map(e=>te("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,a=e.length;n{const n=sessionStorage.getItem(t);if(n)return Object(m.a)(JSON.parse(n));{const n=Ne(e.href);return n.subscribe(e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(e){}}),n}}).pipe(Object(Ue.a)(()=>r.a),Object($.a)(e=>e.length>0),Object(d.a)(e=>({facts:e})),Object(v.a)(1)))}(e).pipe(Object(w.a)(t),Object(g.a)(()=>t.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}function He(e,t){const n=new a.a;return n.pipe(Object(de.a)(le.a)).subscribe({next({hidden:t}){t?function(e,t){e.setAttribute("data-md-state",t)}(e,"hidden"):Z(e)},complete(){Z(e)}}),function(e,{viewport$:t,header$:n}){return N(e,{header$:n,viewport$:t}).pipe(Object(d.a)(({offset:{y:e}})=>({hidden:e>=10})),Object(P.a)("hidden"))}(e,t).pipe(Object(w.a)(n),Object(g.a)(()=>n.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}var qe=n(75),Fe=n(72);function Je(e,t){const n=new a.a;n.pipe(Object(de.a)(le.a)).subscribe(({prev:e,next:t})=>{for(const[e]of t)Q(e),W(e);for(const[t,[n]]of e.entries())D(n,t===e.length-1),J(n,"blur")});return function(e,{viewport$:t,header$:n}){const a=new Map;for(const t of e){const e=p(`[id="${decodeURIComponent(t.hash.substring(1))}"]`);void 0!==e&&a.set(t,e)}const c=n.pipe(Object(d.a)(e=>24+e.height));return E(document.body).pipe(Object(P.a)("height"),Object(d.a)(()=>{let e=[];return[...a].reduce((t,[n,c])=>{for(;e.length;){if(!(a.get(e[e.length-1]).tagName>=c.tagName))break;e.pop()}let r=c.offsetTop;for(;!r&&c.parentElement;)r=(c=c.parentElement).offsetTop;return t.set([...e=[...e,n]].reverse(),r)},new Map)}),Object(o.a)(e=>Object(L.a)([c,t]).pipe(Object(qe.a)(([e,t],[n,{offset:{y:a}}])=>{for(;t.length;){const[,c]=t[0];if(!(c-n=a))break;t=[e.pop(),...t]}return[e,t]},[[],[...e]]),Object(je.a)((e,t)=>e[0]===t[0]&&e[1]===t[1])))).pipe(Object(d.a)(([e,t])=>({prev:e.map(([e])=>e),next:t.map(([e])=>e)})),Object(h.a)({prev:[],next:[]}),Object(Fe.a)(2,1),Object(d.a)(([e,t])=>e.prev.lengthn.complete()),Object(d.a)(t=>Object.assign({ref:e},t)))}document.documentElement.classList.remove("no-js"),document.documentElement.classList.add("js");const We=Object(i.a)(window,"hashchange").pipe(Object(d.a)(R),Object(h.a)(R()),Object($.a)(e=>e.length>0),Object(k.a)()).pipe(Object(o.a)(e=>Object(m.a)(p(`[id="${e}"]`)))),De=Object(L.a)([Object(c.a)(Object(i.a)(window,"scroll",{passive:!0}),Object(i.a)(window,"resize",{passive:!0})).pipe(Object(d.a)(U),Object(h.a)(U())),Object(i.a)(window,"resize",{passive:!0}).pipe(Object(d.a)(z),Object(h.a)(z()))]).pipe(Object(d.a)(([e,t])=>({offset:e,size:t})),Object(v.a)(1)),Qe=M("(min-width: 960px)"),Be=M("(min-width: 1220px)"),Ve=Object(c.a)(M("print").pipe(Object($.a)(Boolean)),Object(i.a)(window,"beforeprint")).pipe(Object(s.a)(void 0)),Xe=u("[data-md-component=header]"),Ge=u("[data-md-component=main]"),Ke=(Ze=Xe,Object(j.a)(()=>{const e=getComputedStyle(Ze);return Object(m.a)("sticky"===e.position||"-webkit-sticky"===e.position)}).pipe(Object(Oe.a)(E(Ze)),Object(d.a)(([e,{height:t}])=>({sticky:e,height:e?t:0})),Object(je.a)((e,t)=>e.sticky===t.sticky&&e.height===t.height)));var Ze;const et=function(e,{viewport$:t,header$:n}){const a=n.pipe(Object(d.a)(({height:e})=>e),Object(je.a)()),c=a.pipe(Object(o.a)(()=>E(e).pipe(Object(d.a)(({height:t})=>({top:e.offsetTop,bottom:e.offsetTop+t})),Object(P.a)("bottom"))));return Object(L.a)([a,c,t]).pipe(Object(d.a)(([e,{top:t,bottom:n},{offset:{y:a},size:{height:c}}])=>({offset:t-e,height:c=Math.max(0,c-Math.max(0,t-a,e)-Math.max(0,c+a-n)),active:t-e<=a})),Object(je.a)((e,t)=>e.offset===t.offset&&e.height===t.height&&e.active===t.active),Object(v.a)(1))}(Ge,{header$:Ke,viewport$:De}),tt=new a.a;!function({message$:e}){q.a.isSupported()||new we.a(e=>{new q.a("[data-clipboard-target], [data-clipboard-text]").on("success",t=>e.next(t))}).subscribe(()=>e.next(G("clipboard.copied")))}({message$:tt});function nt(e,t){return e.pipe(Object(o.a)(e=>e?t():r.a))}Object(c.a)(...b("[data-md-component=content]").map(e=>function(e,{target$:t,viewport$:n,print$:a}){return Object(c.a)(...b("pre > code",e).map(e=>ie(e,{viewport$:n})),...b("table:not([class])",e).map(e=>be(e)),...b("details",e).map(e=>pe(e,{target$:t,print$:a})))}(e,{target$:We,viewport$:De,print$:Ve})),...b("[data-md-component=dialog]").map(e=>he(e,{message$:tt})),...b("[data-md-component=header]").map(e=>function(e,{header$:t,main$:n}){const c=new a.a;return c.pipe(Object(P.a)("active"),Object(de.a)(le.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=>c.next(e)),t.pipe(Object(d.a)(t=>Object.assign({ref:e},t)),Object(v.a)(1))}(e,{viewport$:De,header$:Ke,main$:et})),...b("[data-md-component=header-title]").map(e=>me(e,{viewport$:De,header$:Ke})),...b("[data-md-component=search]").map(e=>Ce(e)),...b("[data-md-component=sidebar]").map(e=>"navigation"===e.getAttribute("data-md-type")?nt(Be,()=>Pe(e,{viewport$:De,header$:Ke,main$:et})):nt(Qe,()=>Pe(e,{viewport$:De,header$:Ke,main$:et}))),...b("[data-md-component=source]").map(e=>Ye(e)),...b("[data-md-component=tabs]").map(e=>He(e,{viewport$:De,header$:Ke})),...b("[data-md-component=toc]").map(e=>Je(e,{viewport$:De,header$:Ke}))).subscribe(console.log)}})); //# sourceMappingURL=bundle.1ed0f3ef.min.js.map