(()=>{var Fo=Object.create,_t=Object.defineProperty,Ro=Object.getPrototypeOf,Po=Object.prototype.hasOwnProperty,$o=Object.getOwnPropertyNames,Do=Object.getOwnPropertyDescriptor;var Vo=e=>_t(e,"__esModule",{value:!0});var Ht=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Uo=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of $o(t))!Po.call(e,n)&&n!=="default"&&_t(e,n,{get:()=>t[n],enumerable:!(r=Do(t,n))||r.enumerable});return e},rt=e=>e&&e.__esModule?e:Uo(Vo(_t(e!=null?Fo(Ro(e)):{},"default",{value:e,enumerable:!0})),e);var ar=Ht((Ct,ir)=>{(function(e,t){typeof Ct=="object"&&typeof ir!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Ct,function(){"use strict";function e(r){var n=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function c(y){return!!(y&&y!==document&&y.nodeName!=="HTML"&&y.nodeName!=="BODY"&&"classList"in y&&"contains"in y.classList)}function u(y){var qe=y.type,Lt=y.tagName;return!!(Lt==="INPUT"&&a[qe]&&!y.readOnly||Lt==="TEXTAREA"&&!y.readOnly||y.isContentEditable)}function s(y){y.classList.contains("focus-visible")||(y.classList.add("focus-visible"),y.setAttribute("data-focus-visible-added",""))}function l(y){!y.hasAttribute("data-focus-visible-added")||(y.classList.remove("focus-visible"),y.removeAttribute("data-focus-visible-added"))}function p(y){y.metaKey||y.altKey||y.ctrlKey||(c(r.activeElement)&&s(r.activeElement),n=!0)}function h(y){n=!1}function _(y){!c(y.target)||(n||u(y.target))&&s(y.target)}function F(y){!c(y.target)||(y.target.classList.contains("focus-visible")||y.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(y.target))}function T(y){document.visibilityState==="hidden"&&(o&&(n=!0),U())}function U(){document.addEventListener("mousemove",H),document.addEventListener("mousedown",H),document.addEventListener("mouseup",H),document.addEventListener("pointermove",H),document.addEventListener("pointerdown",H),document.addEventListener("pointerup",H),document.addEventListener("touchmove",H),document.addEventListener("touchstart",H),document.addEventListener("touchend",H)}function re(){document.removeEventListener("mousemove",H),document.removeEventListener("mousedown",H),document.removeEventListener("mouseup",H),document.removeEventListener("pointermove",H),document.removeEventListener("pointerdown",H),document.removeEventListener("pointerup",H),document.removeEventListener("touchmove",H),document.removeEventListener("touchstart",H),document.removeEventListener("touchend",H)}function H(y){y.target.nodeName&&y.target.nodeName.toLowerCase()==="html"||(n=!1,re())}document.addEventListener("keydown",p,!0),document.addEventListener("mousedown",h,!0),document.addEventListener("pointerdown",h,!0),document.addEventListener("touchstart",h,!0),document.addEventListener("visibilitychange",T,!0),U(),r.addEventListener("focus",_,!0),r.addEventListener("blur",F,!0),r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host?r.host.setAttribute("data-js-focus-visible",""):r.nodeType===Node.DOCUMENT_NODE&&(document.documentElement.classList.add("js-focus-visible"),document.documentElement.setAttribute("data-js-focus-visible",""))}if(typeof window!="undefined"&&typeof document!="undefined"){window.applyFocusVisiblePolyfill=e;var t;try{t=new CustomEvent("focus-visible-polyfill-ready")}catch(r){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var Bt=Ht((tt,Jt)=>{(function(t,r){typeof tt=="object"&&typeof Jt=="object"?Jt.exports=r():typeof define=="function"&&define.amd?define([],r):typeof tt=="object"?tt.ClipboardJS=r():t.ClipboardJS=r()})(tt,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(n,o,i){r.o(n,o)||Object.defineProperty(n,o,{enumerable:!0,get:i})},r.r=function(n){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,o){if(o&1&&(n=r(n)),o&8||o&4&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),o&2&&typeof n!="string")for(var a in n)r.d(i,a,function(c){return n[c]}.bind(null,a));return i},r.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(o,"a",o),o},r.o=function(n,o){return Object.prototype.hasOwnProperty.call(n,o)},r.p="",r(r.s=6)}([function(e,t){function r(n){var o;if(n.nodeName==="SELECT")n.focus(),o=n.value;else if(n.nodeName==="INPUT"||n.nodeName==="TEXTAREA"){var i=n.hasAttribute("readonly");i||n.setAttribute("readonly",""),n.select(),n.setSelectionRange(0,n.value.length),i||n.removeAttribute("readonly"),o=n.value}else{n.hasAttribute("contenteditable")&&n.focus();var a=window.getSelection(),c=document.createRange();c.selectNodeContents(n),a.removeAllRanges(),a.addRange(c),o=a.toString()}return o}e.exports=r},function(e,t){function r(){}r.prototype={on:function(n,o,i){var a=this.e||(this.e={});return(a[n]||(a[n]=[])).push({fn:o,ctx:i}),this},once:function(n,o,i){var a=this;function c(){a.off(n,c),o.apply(i,arguments)}return c._=o,this.on(n,c,i)},emit:function(n){var o=[].slice.call(arguments,1),i=((this.e||(this.e={}))[n]||[]).slice(),a=0,c=i.length;for(a;a0&&arguments[0]!==void 0?arguments[0]:{};this.action=b.action,this.container=b.container,this.emitter=b.emitter,this.target=b.target,this.text=b.text,this.trigger=b.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var b=this,x=document.documentElement.getAttribute("dir")=="rtl";this.removeFake(),this.fakeHandlerCallback=function(){return b.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[x?"right":"left"]="-9999px";var L=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=L+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=o()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=o()(this.target),this.copyText()}},{key:"copyText",value:function(){var b=void 0;try{b=document.execCommand(this.action)}catch(x){b=!1}this.handleResult(b)}},{key:"handleResult",value:function(b){this.emitter.emit(b?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=b,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(b){if(b!==void 0)if(b&&(typeof b=="undefined"?"undefined":i(b))==="object"&&b.nodeType===1){if(this.action==="copy"&&b.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(b.hasAttribute("readonly")||b.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=b}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),S}(),s=u,l=r(1),p=r.n(l),h=r(2),_=r.n(h),F=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},T=function(){function S(m,b){for(var x=0;x0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof x.action=="function"?x.action:this.defaultAction,this.target=typeof x.target=="function"?x.target:this.defaultTarget,this.text=typeof x.text=="function"?x.text:this.defaultText,this.container=F(x.container)==="object"?x.container:document.body}},{key:"listenClick",value:function(x){var L=this;this.listener=_()(x,"click",function(Ke){return L.onClick(Ke)})}},{key:"onClick",value:function(x){var L=x.delegateTarget||x.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new s({action:this.action(L),target:this.target(L),text:this.text(L),container:this.container,trigger:L,emitter:this})}},{key:"defaultAction",value:function(x){return qe("action",x)}},{key:"defaultTarget",value:function(x){var L=qe("target",x);if(L)return document.querySelector(L)}},{key:"defaultText",value:function(x){return qe("text",x)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],L=typeof x=="string"?[x]:x,Ke=!!document.queryCommandSupported;return L.forEach(function(Io){Ke=Ke&&!!document.queryCommandSupported(Io)}),Ke}}]),m}(p.a);function qe(S,m){var b="data-clipboard-"+S;if(!!m.hasAttribute(b))return m.getAttribute(b)}var Lt=t.default=y}]).default})});var po=Ht((Qb,fo)=>{"use strict";var Li=/["'&<>]/;fo.exports=_i;function _i(e){var t=""+e,r=Li.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i0&&i[i.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function kt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(c){a={error:c}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function k(){for(var e=[],t=0;t0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=je.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);r.actions.length===0&&(je.cancelAnimationFrame(n),r.scheduled=void 0)},t}(ct);var Er=function(e){$(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this.active=!0,this.scheduled=void 0;var n=this.actions,o,i=-1;r=r||n.shift();var a=n.length;do if(o=r.execute(r.state,r.delay))break;while(++i=2,!0))}function G(e){e=e||{};var t=e.connector,r=t===void 0?function(){return new M}:t,n=e.resetOnComplete,o=n===void 0?!0:n,i=e.resetOnError,a=i===void 0?!0:i,c=e.resetOnRefCountZero,u=c===void 0?!0:c,s=null,l=null,p=0,h=!1,_=!1,F=function(){s=l=null,h=_=!1};return d(function(T,U){p++,l||(l=r());var re=l.subscribe(U);return s||(s=de(T).subscribe({next:function(H){return l.next(H)},error:function(H){_=!0;var y=l;a&&F(),y.error(H)},complete:function(){h=!0;var H=l;o&&F(),H.complete()}})),function(){if(p--,re.unsubscribe(),!p&&u&&!_&&!h){var H=s;F(),H==null||H.unsubscribe()}}})}function Z(e,t,r){var n,o,i,a=!1;return e&&typeof e=="object"?(i=(n=e.bufferSize)!==null&&n!==void 0?n:Infinity,t=(o=e.windowTime)!==null&&o!==void 0?o:Infinity,a=!!e.refCount,r=e.scheduler):i=e??Infinity,G({connector:function(){return new st(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function St(e){return A(function(t,r){return e<=r})}function Qr(e){return d(function(t,r){var n=!1,o=new v(r,function(){o==null||o.unsubscribe(),n=!0},void 0,W);R(e).subscribe(o),t.subscribe(new v(r,function(i){return n&&r.next(i)}))})}function P(){for(var e=[],t=0;tt==="focus"),P(e===Te()))}var Gr=new M,bi=ye(()=>I(new ResizeObserver(e=>{for(let t of e)Gr.next(t)}))).pipe(O(e=>K.pipe(P(e)).pipe(D(()=>e.disconnect()))),Z(1));function Ae(e){return{width:e.offsetWidth,height:e.offsetHeight}}function wt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Ve(e){return bi.pipe(j(t=>t.observe(e)),O(t=>Gr.pipe(A(({target:r})=>r===e),D(()=>t.unobserve(e)),f(({contentRect:r})=>({width:r.width,height:r.height})))),P(Ae(e)))}function Zr(e){return{x:e.scrollLeft,y:e.scrollTop}}function vi(e){return C(E(e,"scroll"),E(window,"resize")).pipe(f(()=>Zr(e)),P(Zr(e)))}function en(e,t=16){return vi(e).pipe(f(({y:r})=>{let n=Ae(e),o=wt(e);return r>=o.height-n.height-t}),N())}function tn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Et={drawer:fe("[data-md-toggle=drawer]"),search:fe("[data-md-toggle=search]")};function rn(e){return Et[e].checked}function Ue(e,t){Et[e].checked!==t&&Et[e].click()}function nn(e){let t=Et[e];return E(t,"change").pipe(f(()=>t.checked),P(t.checked))}function gi(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function on(){return E(window,"keydown").pipe(A(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:rn("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),A(({mode:e})=>{if(e==="global"){let t=Te();if(typeof t!="undefined")return!gi(t)}return!0}),G())}function qt(){return new URL(location.href)}function an(e){location.href=e.href}function sn(){return new yr(qt())}function cn(){return location.hash.substring(1)}function un(e){let t=De("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function yi(){return E(window,"hashchange").pipe(f(cn),P(cn()),A(e=>e.length>0),G())}function ln(){return yi().pipe(O(e=>I(ee(`[id="${e}"]`))))}function We(e){let t=matchMedia(e);return E(t,"change").pipe(f(r=>r.matches),P(t.matches))}function fn(){return C(We("print").pipe(A(Boolean)),E(window,"beforeprint")).pipe(ae(void 0))}function Kt(e,t){return e.pipe(O(r=>r?t():K))}function Ot(e,t={credentials:"same-origin"}){return de(fetch(e,t)).pipe(A(r=>r.status===200))}function Ne(e,t){return Ot(e,t).pipe(O(r=>r.json()),Z(1))}function pn(e,t){let r=new DOMParser;return Ot(e,t).pipe(O(n=>n.text()),f(n=>r.parseFromString(n,"text/xml")),Z(1))}function mn(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Yt({x:e,y:t}){window.scrollTo(e||0,t||0)}function dn(){return C(E(window,"scroll",{passive:!0}),E(window,"resize",{passive:!0})).pipe(f(mn),P(mn()))}function hn(){return{width:innerWidth,height:innerHeight}}function bn(){return E(window,"resize",{passive:!0}).pipe(f(hn),P(hn()))}function vn(){return B([dn(),bn()]).pipe(f(([e,t])=>({offset:e,size:t})),Z(1))}function Tt(e,{viewport$:t,header$:r}){let n=t.pipe(V("size")),o=B([n,r]).pipe(f(()=>({x:e.offsetLeft,y:e.offsetTop})));return B([r,t,o]).pipe(f(([{height:i},{offset:a,size:c},{x:u,y:s}])=>({offset:{x:a.x-u,y:a.y-s+i},size:c})))}function gn(e,{tx$:t}){let r=E(e,"message").pipe(f(({data:n})=>n));return t.pipe(Yr(()=>r,{leading:!0,trailing:!0}),j(n=>e.postMessage(n)),qr(r),G())}var xi=fe("#__config"),ze=JSON.parse(xi.textContent);ze.base=new URL(ze.base,qt()).toString().replace(/\/$/,"");function Le(){return ze}function Mt(e){return ze.features.includes(e)}function Q(e,t){return typeof t!="undefined"?ze.translations[e].replace("#",t.toString()):ze.translations[e]}function Ee(e,t=document){return fe(`[data-md-component=${e}]`,t)}function pe(e,t=document){return z(`[data-md-component=${e}]`,t)}var Gn=rt(Bt());function yn(e,t=0){e.setAttribute("tabindex",t.toString())}function xn(e){e.removeAttribute("tabindex")}function Sn(e,t){e.setAttribute("data-md-state",t)}function wn(e){e.removeAttribute("data-md-state")}function En(e,t){e.classList.toggle("md-nav__link--active",t)}function On(e){e.classList.remove("md-nav__link--active")}function Tn(e,t){e.firstElementChild.innerHTML=t}function Mn(e,t){e.setAttribute("data-md-state",t)}function An(e){e.removeAttribute("data-md-state")}function Ln(e,t){e.setAttribute("data-md-state",t)}function _n(e){e.removeAttribute("data-md-state")}function Hn(e,t){e.setAttribute("data-md-state",t)}function Cn(e){e.removeAttribute("data-md-state")}function jn(e,t){e.placeholder=t}function kn(e){e.placeholder=Q("search.placeholder")}function In(e,t){if(typeof t=="string"||typeof t=="number")e.innerHTML+=t.toString();else if(t instanceof Node)e.appendChild(t);else if(Array.isArray(t))for(let r of t)In(e,r)}function q(e,t,...r){let n=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?n.setAttribute(o,t[o]):t[o]&&n.setAttribute(o,"");for(let o of r)In(n,o);return n}function Fn(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function he(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Rn(e){let t=0;for(let r=0,n=e.length;r code`})}var _e;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(_e||(_e={}));function Gt(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[q("del",null,a)," "]).flat().slice(0,-1),i=e.location;return q("a",{href:i,class:"md-search-result__link",tabIndex:-1},q("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&q("div",{class:"md-search-result__icon md-icon"}),q("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&q("p",{class:"md-search-result__teaser"},Fn(e.text,320)),n>0&&o.length>0&&q("p",{class:"md-search-result__terms"},Q("search.result.term.missing"),": ",o)))}function Jn(e){let t=e[0].score,r=[...e],n=r.findIndex(s=>!s.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(s=>s.scoreGt(s,1)),...c.length?[q("details",{class:"md-search-result__more"},q("summary",{tabIndex:-1},c.length>0&&c.length===1?Q("search.result.more.one"):Q("search.result.more.other",c.length)),c.map(s=>Gt(s,1)))]:[]];return q("li",{class:"md-search-result__item"},u)}function Bn(e){return q("ul",{class:"md-source__facts"},e.map(t=>q("li",{class:"md-source__fact"},t)))}function Xn(e){return q("div",{class:"md-typeset__scrollwrap"},q("div",{class:"md-typeset__table"},e))}var Si=0;function wi(e,{viewport$:t}){let r=I(e).pipe(O(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?C(...z("input",o).map(i=>E(i,"change"))):K}));return C(t.pipe(V("size")),r).pipe(f(()=>{let n=Ae(e);return{scroll:wt(e).width>n.width}}),V("scroll"))}function Zn(e,t){let r=new M;if(r.pipe($e(We("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?yn(e):xn(e)}),Gn.default.isSupported()){let n=e.closest("pre");n.id=`__code_${Si++}`,n.insertBefore(Yn(n.id),e)}return wi(e,t).pipe(j(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function Ei(e,{target$:t,print$:r}){return t.pipe(f(n=>n.closest("details:not([open])")),A(n=>e===n),xt(r),ae(e))}function eo(e,t){let r=new M;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),Ei(e,t).pipe(j(r),D(()=>r.complete()),ae({ref:e}))}var to=De("table");function ro(e){return Me(e,to),Me(to,Xn(e)),I({ref:e})}function no(e,{target$:t,viewport$:r,print$:n}){return C(...z("pre > code",e).map(o=>Zn(o,{viewport$:r})),...z("table:not([class])",e).map(o=>ro(o)),...z("details",e).map(o=>eo(o,{target$:t,print$:n})))}function Oi(e,{alert$:t}){return t.pipe(O(r=>C(I(!0),I(!1).pipe(yt(2e3))).pipe(f(n=>({message:r,open:n})))))}function oo(e,t){let r=new M;return r.pipe(J(Y)).subscribe(({message:n,open:o})=>{Tn(e,n),o?Mn(e,"open"):An(e)}),Oi(e,t).pipe(j(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function Ti({viewport$:e}){if(!Mt("header.autohide"))return I(!1);let t=e.pipe(f(({offset:{y:o}})=>o),Se(2,1),f(([o,i])=>[oMath.abs(i-o.y)>100),f(([,[o]])=>o),N()),n=nn("search");return B([e,n]).pipe(f(([{offset:o},i])=>o.y>400&&!i),N(),O(o=>o?r:I(!1)),P(!1))}function io(e,t){return ye(()=>{let r=getComputedStyle(e);return I(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(zt(Ve(e),Ti(t)),f(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),N((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),Z(1))}function ao(e,{header$:t,main$:r}){let n=new M;return n.pipe(V("active"),zt(t),J(Y)).subscribe(([{active:o},{hidden:i}])=>{o?Ln(e,i?"hidden":"shadow"):_n(e)}),r.subscribe(o=>n.next(o)),t.pipe(f(o=>({ref:e,...o})))}function Mi(e,{viewport$:t,header$:r}){return Tt(e,{header$:r,viewport$:t}).pipe(f(({offset:{y:n}})=>{let{height:o}=Ae(e);return{active:n>=o}}),V("active"))}function so(e,t){let r=new M;r.pipe(J(Y)).subscribe(({active:o})=>{o?Hn(e,"active"):Cn(e)});let n=ee("article h1");return typeof n=="undefined"?K:Mi(n,t).pipe(j(r),D(()=>r.complete()),f(o=>({ref:e,...o})))}function co(e,{viewport$:t,header$:r}){let n=r.pipe(f(({height:i})=>i),N()),o=n.pipe(O(()=>Ve(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),V("bottom"))));return B([n,o,t]).pipe(f(([i,{top:a,bottom:c},{offset:{y:u},size:{height:s}}])=>(s=Math.max(0,s-Math.max(0,a-u,i)-Math.max(0,s+u-c)),{offset:a-i,height:s,active:a-i<=u})),N((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}var Zt=rt(Bt());function uo({alert$:e}){Zt.default.isSupported()&&new w(t=>{new Zt.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(Q("clipboard.copied")))}function Ai(e){if(e.length<2)return e;let[t,r]=e.sort((i,a)=>i.length-a.length),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===t.charCodeAt(n);)n++;let o=Le();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function lo({document$:e,location$:t,viewport$:r}){let n=Le();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",E(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ee("link[rel='shortcut icon']");typeof o!="undefined"&&(o.href=o.href);let i=pn(`${n.base}/sitemap.xml`).pipe(f(s=>Ai(z("loc",s).map(l=>l.textContent))),O(s=>E(document.body,"click").pipe(A(l=>!l.metaKey&&!l.ctrlKey),O(l=>{if(l.target instanceof HTMLElement){let p=l.target.closest("a");if(p&&!p.target&&s.includes(p.href))return l.preventDefault(),I({url:new URL(p.href)})}return K}))),G()),a=E(window,"popstate").pipe(A(s=>s.state!==null),f(s=>({url:new URL(location.href),offset:s.state})),G());C(i,a).pipe(N((s,l)=>s.url.href===l.url.href),f(({url:s})=>s)).subscribe(t);let c=t.pipe(V("pathname"),St(1),O(s=>Ot(s.href).pipe(Ge(()=>(an(s),K)))),G());i.pipe(et(c)).subscribe(({url:s})=>{history.pushState({},"",s.toString())});let u=new DOMParser;c.pipe(O(s=>s.text()),f(s=>u.parseFromString(s,"text/html"))).subscribe(e),C(i,a).pipe(et(e)).subscribe(({url:s,offset:l})=>{s.hash&&!l?un(s.hash):Yt(l||{y:0})}),e.pipe(St(1)).subscribe(s=>{for(let l 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]"]){let p=ee(l),h=ee(l,s);typeof p!="undefined"&&typeof h!="undefined"&&Me(p,h)}}),e.pipe(St(1),f(()=>Ee("container")),O(s=>I(...z("script",s))),Dr(s=>{let l=De("script");return s.src?(l.src=s.src,Me(s,l),new w(p=>{l.onload=()=>p.complete()})):(l.textContent=s.textContent,Me(s,l),ue)})).subscribe(),r.pipe(Qr(i),Ur(250),V("offset")).subscribe(({offset:s})=>{history.replaceState(s,"")}),C(i,a).pipe(Se(2,1),A(([s,l])=>s.url.pathname===l.url.pathname),f(([,s])=>s)).subscribe(({offset:s})=>{Yt(s||{y:0})})}var Hi=rt(po());function mo(e){return e.split(/"([^"]+)"/g).map((t,r)=>r&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var be;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(be||(be={}));function ho(e){return e.type===1}function bo(e){return e.type===2}function At(e){return e.type===3}function Ci({config:e,docs:t,index:r}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[Q("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=Q("search.config.separator"));let n=Q("search.config.pipeline").split(/\s*,\s*/).filter(Boolean);return{config:e,docs:t,index:r,pipeline:n}}function vo(e,t){let r=Le(),n=new Worker(e),o=new M,i=gn(n,{tx$:o}).pipe(f(a=>{if(At(a))for(let c of a.data)for(let u of c)u.location=`${r.base}/${u.location}`;return a}),G());return de(t).pipe(f(a=>({type:be.SETUP,data:Ci(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function ji(e){let t=__search?.transform||mo,r=Xr(e),n=C(E(e,"keyup"),E(e,"focus").pipe(yt(1))).pipe(f(()=>t(e.value)),P(t(e.value)),N());return B([n,r]).pipe(f(([o,i])=>({value:o,focus:i})))}function go(e,{tx$:t}){let r=new M;return r.pipe(V("value"),f(({value:n})=>({type:be.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(V("focus")).subscribe(({focus:n})=>{n?(Ue("search",n),jn(e,"")):kn(e)}),E(e.form,"reset").pipe(Kr(r.pipe(Nr(1)))).subscribe(()=>we(e)),ji(e).pipe(j(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function yo(e,{rx$:t},{query$:r}){let n=new M,o=en(e.parentElement).pipe(A(Boolean)),i=fe(":scope > :first-child",e);n.pipe(J(Y),$e(r)).subscribe(([{data:u},{value:s}])=>{s?Pn(i,u.length):$n(i)});let a=fe(":scope > :last-child",e);return n.pipe(J(Y),j(()=>Vn(a)),O(({data:u})=>C(I(...u.slice(0,10)),I(...u.slice(10)).pipe(Se(4),Jr(o),O(([s])=>I(...s)))))).subscribe(u=>{Dn(a,Jn(u))}),t.pipe(A(At),f(({data:u})=>({data:u})),P({data:[]})).pipe(j(n),D(()=>n.complete()),f(u=>({ref:e,...u})))}function ki(e){return __search?.index||Ne(e)}function xo(e,{keyboard$:t}){if(location.protocol==="file:")return K;let r=Le(),n=vo(r.search,ki(`${r.base}/search/search_index.json`)),o=Ee("search-query",e),i=Ee("search-result",e),{tx$:a,rx$:c}=n;a.pipe(A(bo),et(c.pipe(A(ho))),Ze(1)).subscribe(a.next.bind(a)),t.pipe(A(({mode:s})=>s==="search")).subscribe(s=>{let l=Te();switch(s.type){case"Enter":l===o&&s.claim();break;case"Escape":case"Tab":Ue("search",!1),we(o,!1);break;case"ArrowUp":case"ArrowDown":if(typeof l=="undefined")we(o);else{let p=[o,...z(":not(details) > [href], summary, details[open] [href]",i)],h=Math.max(0,(Math.max(0,p.indexOf(l))+p.length+(s.type==="ArrowUp"?-1:1))%p.length);we(p[h])}s.claim();break;default:o!==Te()&&we(o)}}),t.pipe(A(({mode:s})=>s==="global")).subscribe(s=>{switch(s.type){case"f":case"s":case"/":we(o),tn(o),s.claim();break}});let u=go(o,n);return C(u,yo(i,n,{query$:u}))}function Ii(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return B([r,t]).pipe(f(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(n,Math.max(0,a-o))-n,{height:i,locked:a>=o+n})),N((o,i)=>o.height===i.height&&o.locked===i.locked))}function er(e,{header$:t,...r}){let n=new M;return n.pipe(J(Y),$e(t)).subscribe({next([{height:o},{height:i}]){Nn(e,o),Un(e,i)},complete(){Wn(e),zn(e)}}),Ii(e,r).pipe(j(n),D(()=>n.complete()),f(o=>({ref:e,...o})))}function So(e,t){let r=typeof t!="undefined"?`https://api.github.com/repos/${e}/${t}`:`https://api.github.com/users/${e}`;return Ne(r).pipe(f(n=>{if(typeof t!="undefined"){let{stargazers_count:o,forks_count:i}=n;return[`${he(o)} Stars`,`${he(i)} Forks`]}else{let{public_repos:o}=n;return[`${he(o)} Repositories`]}}),gt([]))}function wo(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Ne(r).pipe(f(({star_count:n,forks_count:o})=>[`${he(n)} Stars`,`${he(o)} Forks`]),gt([]))}function Eo(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return So(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return wo(o,i);default:return K}}var Fi;function Ri(e){let t=Rn(e.href).toString();return Fi||=ye(()=>{let r=sessionStorage.getItem(t);if(r)return I(JSON.parse(r));{let n=Eo(e.href);return n.subscribe(o=>{try{sessionStorage.setItem(t,JSON.stringify(o))}catch(i){}}),n}}).pipe(Ge(()=>K),A(r=>r.length>0),f(r=>({facts:r})),Z(1))}function Oo(e){let t=new M;return t.subscribe(({facts:r})=>{Qn(e,Bn(r)),qn(e,"done")}),Ri(e).pipe(j(t),D(()=>t.complete()),f(r=>({ref:e,...r})))}function Pi(e,{viewport$:t,header$:r}){return Tt(e,{header$:r,viewport$:t}).pipe(f(({offset:{y:n}})=>({hidden:n>=10})),V("hidden"))}function To(e,t){let r=new M;return r.pipe(J(Y)).subscribe({next({hidden:n}){n?Kn(e,"hidden"):Xt(e)},complete(){Xt(e)}}),Pi(e,t).pipe(j(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function $i(e,{viewport$:t,header$:r}){let n=new Map;for(let a of e){let c=decodeURIComponent(a.hash.substring(1)),u=ee(`[id="${c}"]`);typeof u!="undefined"&&n.set(a,u)}let o=r.pipe(f(a=>24+a.height));return Ve(document.body).pipe(V("height"),f(()=>{let a=[];return[...n].reduce((c,[u,s])=>{for(;a.length&&n.get(a[a.length-1]).tagName>=s.tagName;)a.pop();let l=s.offsetTop;for(;!l&&s.parentElement;)s=s.parentElement,l=s.offsetTop;return c.set([...a=[...a,u]].reverse(),l)},new Map)}),O(a=>B([o,t]).pipe(zr(([c,u],[s,{offset:{y:l}}])=>{for(;u.length;){let[,p]=u[0];if(p-s=l)u=[c.pop(),...u];else break}return[c,u]},[[],[...a]]),N((c,u)=>c[0]===u[0]&&c[1]===u[1])))).pipe(f(([a,c])=>({prev:a.map(([u])=>u),next:c.map(([u])=>u)})),P({prev:[],next:[]}),Se(2,1),f(([a,c])=>a.prev.length{for(let[a]of i)On(a),wn(a);for(let[a,[c]]of o.entries())En(c,a===o.length-1),Sn(c,"blur")});let n=z("[href^=\\#]",e);return $i(n,t).pipe(j(r),D(()=>r.complete()),f(o=>({ref:e,...o})))}function Ao({document$:e}){e.subscribe(()=>{for(let t of z("[data-md-state=indeterminate]"))t.setAttribute("data-md-state",""),t.indeterminate=!0,t.checked=!1})}function Di(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Lo({document$:e}){e.pipe(O(()=>I(...z("[data-md-scrollfix]"))),j(t=>t.removeAttribute("data-md-scrollfix")),A(Di),ie(t=>E(t,"touchstart").pipe(ae(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var Qe=Br(),tr=sn(),rr=ln(),nr=on(),se=vn(),_o=We("(min-width: 960px)"),Ho=We("(min-width: 1220px)"),Co=fn(),jo=new M;uo({alert$:jo});Mt("navigation.instant")&&lo({document$:Qe,location$:tr,viewport$:se});C(tr,rr).subscribe(()=>Ue("drawer",!1));nr.pipe(A(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ee("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=ee("[href][rel=next]");typeof r!="undefined"&&r.click();break}});Ao({document$:Qe});Lo({document$:Qe});var He=io(Ee("header"),{viewport$:se}),or=Qe.pipe(f(()=>Ee("main")),O(e=>co(e,{viewport$:se,header$:He})),Z(1)),Vi=C(...pe("dialog").map(e=>oo(e,{alert$:jo})),...pe("header").map(e=>ao(e,{viewport$:se,header$:He,main$:or})),...pe("search").map(e=>xo(e,{keyboard$:nr})),...pe("source").map(e=>Oo(e)),...pe("tabs").map(e=>To(e,{viewport$:se,header$:He}))),Ui=ye(()=>C(...pe("content").map(e=>no(e,{target$:rr,viewport$:se,print$:Co})),...pe("header-title").map(e=>so(e,{viewport$:se,header$:He})),...pe("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Kt(Ho,()=>er(e,{viewport$:se,header$:He,main$:or})):Kt(_o,()=>er(e,{viewport$:se,header$:He,main$:or}))),...pe("toc").map(e=>Mo(e,{viewport$:se,header$:He})))),ko=Qe.pipe(O(()=>Ui),xt(Vi),Z(1));ko.subscribe();window.document$=Qe;window.location$=tr;window.target$=rr;window.keyboard$=nr;window.viewport$=se;window.tablet$=_o;window.screen$=Ho;window.print$=Co;window.component$=ko;})(); /*! * clipboard.js v2.0.6 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */ /*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */ /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ //# sourceMappingURL=bundle.js.map