(()=>{var Vo=Object.create,Ht=Object.defineProperty,Do=Object.getPrototypeOf,Uo=Object.prototype.hasOwnProperty,Wo=Object.getOwnPropertyNames,No=Object.getOwnPropertyDescriptor;var zo=e=>Ht(e,"__esModule",{value:!0});var Ct=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Qo=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Wo(t))!Uo.call(e,n)&&n!=="default"&&Ht(e,n,{get:()=>t[n],enumerable:!(r=No(t,n))||r.enumerable});return e},nt=e=>e&&e.__esModule?e:Qo(zo(Ht(e!=null?Vo(Do(e)):{},"default",{value:e,enumerable:!0})),e);var ur=Ct((jt,cr)=>{(function(e,t){typeof jt=="object"&&typeof cr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(jt,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 Ke=y.type,_t=y.tagName;return!!(_t==="INPUT"&&a[Ke]&&!y.readOnly||_t==="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),W())}function W(){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),W(),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 Xt=Ct((rt,Bt)=>{(function(t,r){typeof rt=="object"&&typeof Bt=="object"?Bt.exports=r():typeof define=="function"&&define.amd?define([],r):typeof rt=="object"?rt.ClipboardJS=r():t.ClipboardJS=r()})(rt,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(Ye){return L.onClick(Ye)})}},{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 Ke("action",x)}},{key:"defaultTarget",value:function(x){var L=Ke("target",x);if(L)return document.querySelector(L)}},{key:"defaultText",value:function(x){return Ke("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,Ye=!!document.queryCommandSupported;return L.forEach(function($o){Ye=Ye&&!!document.queryCommandSupported($o)}),Ye}}]),m}(p.a);function Ke(S,m){var b="data-clipboard-"+S;if(!!m.hasAttribute(b))return m.getAttribute(b)}var _t=t.default=y}]).default})});var go=Ct((rv,vo)=>{"use strict";var ji=/["'&<>]/;vo.exports=ki;function ki(e){var t=""+e,r=ji.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 It(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 I(){for(var e=[],t=0;t0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=Ie.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&&(Ie.cancelAnimationFrame(n),r.scheduled=void 0)},t}(ut);var Mr=function(e){V(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,W){p++,l||(l=r());var re=l.subscribe(W);return s||(s=he(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 ct(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function St(e){return A(function(t,r){return e<=r})}function Yr(e){return d(function(t,r){var n=!1,o=new v(r,function(){o==null||o.unsubscribe(),n=!0},void 0,N);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===Le()))}var tn=new M,xi=xe(()=>j(new ResizeObserver(e=>{for(let t of e)tn.next(t)}))).pipe(w(e=>B.pipe(P(e)).pipe(D(()=>e.disconnect()))),Z(1));function He(e){return{width:e.offsetWidth,height:e.offsetHeight}}function wt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function We(e){return xi.pipe(k(t=>t.observe(e)),w(t=>tn.pipe(A(({target:r})=>r===e),D(()=>t.unobserve(e)),f(({contentRect:r})=>({width:r.width,height:r.height})))),P(He(e)))}function rn(e){return{x:e.scrollLeft,y:e.scrollTop}}function Si(e){return C(O(e,"scroll"),O(window,"resize")).pipe(f(()=>rn(e)),P(rn(e)))}function nn(e,t=16){return Si(e).pipe(f(({y:r})=>{let n=He(e),o=wt(e);return r>=o.height-n.height-t}),z())}function on(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Et={drawer:ae("[data-md-toggle=drawer]"),search:ae("[data-md-toggle=search]")};function an(e){return Et[e].checked}function Ne(e,t){Et[e].checked!==t&&Et[e].click()}function Ot(e){let t=Et[e];return O(t,"change").pipe(f(()=>t.checked),P(t.checked))}function wi(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function sn(){return O(window,"keydown").pipe(A(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:an("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),A(({mode:e})=>{if(e==="global"){let t=Le();if(typeof t!="undefined")return!wi(t)}return!0}),G())}function Kt(){return new URL(location.href)}function cn(e){location.href=e.href}function un(){return new wr(Kt())}function ln(){return location.hash.substring(1)}function fn(e){let t=Ue("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function Ei(){return O(window,"hashchange").pipe(f(ln),P(ln()),A(e=>e.length>0),G())}function pn(){return Ei().pipe(w(e=>j(ee(`[id="${e}"]`))))}function ze(e){let t=matchMedia(e);return O(t,"change").pipe(f(r=>r.matches),P(t.matches))}function mn(){return C(ze("print").pipe(A(Boolean)),O(window,"beforeprint")).pipe(ce(void 0))}function Yt(e,t){return e.pipe(w(r=>r?t():B))}function Tt(e,t={credentials:"same-origin"}){return he(fetch(e.toString(),t)).pipe(A(r=>r.status===200))}function Te(e,t){return Tt(e,t).pipe(w(r=>r.json()),Z(1))}function dn(e,t){let r=new DOMParser;return Tt(e,t).pipe(w(n=>n.text()),f(n=>r.parseFromString(n,"text/xml")),Z(1))}function hn(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Jt({x:e,y:t}){window.scrollTo(e||0,t||0)}function bn(){return C(O(window,"scroll",{passive:!0}),O(window,"resize",{passive:!0})).pipe(f(hn),P(hn()))}function vn(){return{width:innerWidth,height:innerHeight}}function gn(){return O(window,"resize",{passive:!0}).pipe(f(vn),P(vn()))}function yn(){return J([bn(),gn()]).pipe(f(([e,t])=>({offset:e,size:t})),Z(1))}function Mt(e,{viewport$:t,header$:r}){let n=t.pipe(U("size")),o=J([n,r]).pipe(f(()=>({x:e.offsetLeft,y:e.offsetTop})));return J([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 xn(e,{tx$:t}){let r=O(e,"message").pipe(f(({data:n})=>n));return t.pipe(Xr(()=>r,{leading:!0,trailing:!0}),k(n=>e.postMessage(n)),Jr(r),G())}var Oi=ae("#__config"),Qe=JSON.parse(Oi.textContent);Qe.base=new URL(Qe.base,Kt()).toString().replace(/\/$/,"");function ue(){return Qe}function At(e){return Qe.features.includes(e)}function q(e,t){return typeof t!="undefined"?Qe.translations[e].replace("#",t.toString()):Qe.translations[e]}function Me(e,t=document){return ae(`[data-md-component=${e}]`,t)}function me(e,t=document){return Q(`[data-md-component=${e}]`,t)}var no=nt(Xt());function Sn(e,t=0){e.setAttribute("tabindex",t.toString())}function wn(e){e.removeAttribute("tabindex")}function En(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function On(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function Tn(e,t){e.setAttribute("data-md-state",t)}function Mn(e){e.removeAttribute("data-md-state")}function An(e,t){e.classList.toggle("md-nav__link--active",t)}function Ln(e){e.classList.remove("md-nav__link--active")}function _n(e,t){e.firstElementChild.innerHTML=t}function Hn(e,t){e.setAttribute("data-md-state",t)}function Cn(e){e.removeAttribute("data-md-state")}function jn(e,t){e.setAttribute("data-md-state",t)}function kn(e){e.removeAttribute("data-md-state")}function In(e,t){e.setAttribute("data-md-state",t)}function Fn(e){e.removeAttribute("data-md-state")}function Rn(e,t){e.placeholder=t}function Pn(e){e.placeholder=q("search.placeholder")}function $n(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)$n(e,r)}function $(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)$n(n,o);return n}function Vn(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function be(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Dn(e){let t=0;for(let r=0,n=e.length;r code`})}var Ce;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(Ce||(Ce={}));function Zt(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[$("del",null,a)," "]).flat().slice(0,-1),i=e.location;return $("a",{href:i,class:"md-search-result__link",tabIndex:-1},$("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&$("div",{class:"md-search-result__icon md-icon"}),$("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&$("p",{class:"md-search-result__teaser"},Vn(e.text,320)),n>0&&o.length>0&&$("p",{class:"md-search-result__terms"},q("search.result.term.missing"),": ",o)))}function Zn(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.scoreZt(s,1)),...c.length?[$("details",{class:"md-search-result__more"},$("summary",{tabIndex:-1},c.length>0&&c.length===1?q("search.result.more.one"):q("search.result.more.other",c.length)),c.map(s=>Zt(s,1)))]:[]];return $("li",{class:"md-search-result__item"},u)}function eo(e){return $("ul",{class:"md-source__facts"},e.map(t=>$("li",{class:"md-source__fact"},t)))}function to(e){return $("div",{class:"md-typeset__scrollwrap"},$("div",{class:"md-typeset__table"},e))}function ro(e){let t=ue(),[,r]=t.base.match(/([^/]+)\/?$/),n=e.find(({version:o,aliases:i})=>o===r||i.includes(r))||e[0];return $("div",{class:"md-version"},$("span",{class:"md-version__current"},n.version),$("ul",{class:"md-version__list"},e.map(o=>$("li",{class:"md-version__item"},$("a",{class:"md-version__link",href:`${new URL(o.version,t.base)}`},o.title)))))}var Ti=0;function Mi(e,{viewport$:t}){let r=j(e).pipe(w(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?C(...Q("input",o).map(i=>O(i,"change"))):B}));return C(t.pipe(U("size")),r).pipe(f(()=>{let n=He(e);return{scroll:wt(e).width>n.width}}),U("scroll"))}function oo(e,t){let r=new M;if(r.pipe(Ee(ze("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?Sn(e):wn(e)}),no.default.isSupported()){let n=e.closest("pre");n.id=`__code_${Ti++}`,n.insertBefore(Gn(n.id),e)}return Mi(e,t).pipe(k(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function Ai(e,{target$:t,print$:r}){return t.pipe(f(n=>n.closest("details:not([open])")),A(n=>e===n),xt(r),ce(e))}function io(e,t){let r=new M;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),Ai(e,t).pipe(k(r),D(()=>r.complete()),ce({ref:e}))}var ao=Ue("table");function so(e){return _e(e,ao),_e(ao,to(e)),j({ref:e})}function co(e,{target$:t,viewport$:r,print$:n}){return C(...Q("pre > code",e).map(o=>oo(o,{viewport$:r})),...Q("table:not([class])",e).map(o=>so(o)),...Q("details",e).map(o=>io(o,{target$:t,print$:n})))}function Li(e,{alert$:t}){return t.pipe(w(r=>C(j(!0),j(!1).pipe(De(2e3))).pipe(f(n=>({message:r,open:n})))))}function uo(e,t){let r=new M;return r.pipe(Y(K)).subscribe(({message:n,open:o})=>{_n(e,n),o?Hn(e,"open"):Cn(e)}),Li(e,t).pipe(k(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function _i({viewport$:e}){if(!At("header.autohide"))return j(!1);let t=e.pipe(f(({offset:{y:o}})=>o),we(2,1),f(([o,i])=>[oMath.abs(i-o.y)>100),f(([,[o]])=>o),z()),n=Ot("search");return J([e,n]).pipe(f(([{offset:o},i])=>o.y>400&&!i),z(),w(o=>o?r:j(!1)),P(!1))}function lo(e,t){return xe(()=>{let r=getComputedStyle(e);return j(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(Qt(We(e),_i(t)),f(([r,{height:n},o])=>({height:r?n:0,sticky:r,hidden:o})),z((r,n)=>r.sticky===n.sticky&&r.height===n.height&&r.hidden===n.hidden),Z(1))}function fo(e,{header$:t,main$:r}){let n=new M;return n.pipe(U("active"),Qt(t),Y(K)).subscribe(([{active:o},{hidden:i}])=>{o?jn(e,i?"hidden":"shadow"):kn(e)}),r.subscribe(o=>n.next(o)),t.pipe(f(o=>({ref:e,...o})))}function Hi(e,{viewport$:t,header$:r}){return Mt(e,{header$:r,viewport$:t}).pipe(f(({offset:{y:n}})=>{let{height:o}=He(e);return{active:n>=o}}),U("active"))}function po(e,t){let r=new M;r.pipe(Y(K)).subscribe(({active:i})=>{i?In(e,"active"):Fn(e)});let n=ue();n.version?.provider==="mike"&&Te(new URL("../versions.json",n.base)).subscribe(i=>{ae(".md-header__topic",e).appendChild(ro(i))});let o=ee("article h1");return typeof o=="undefined"?B:Hi(o,t).pipe(k(r),D(()=>r.complete()),f(i=>({ref:e,...i})))}function mo(e,{viewport$:t,header$:r}){let n=r.pipe(f(({height:i})=>i),z()),o=n.pipe(w(()=>We(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),U("bottom"))));return J([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})),z((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}var er=nt(Xt());function ho({alert$:e}){er.default.isSupported()&&new E(t=>{new er.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(q("clipboard.copied")))}function Ci(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=ue();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function bo({document$:e,location$:t,viewport$:r}){let n=ue();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",O(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ee("link[rel='shortcut icon']");typeof o!="undefined"&&(o.href=o.href);let i=dn(`${n.base}/sitemap.xml`).pipe(f(s=>Ci(Q("loc",s).map(l=>l.textContent))),w(s=>O(document.body,"click").pipe(A(l=>!l.metaKey&&!l.ctrlKey),w(l=>{if(l.target instanceof HTMLElement){let p=l.target.closest("a");if(p&&!p.target&&s.includes(p.href))return l.preventDefault(),j({url:new URL(p.href)})}return B}))),G()),a=O(window,"popstate").pipe(A(s=>s.state!==null),f(s=>({url:new URL(location.href),offset:s.state})),G());C(i,a).pipe(z((s,l)=>s.url.href===l.url.href),f(({url:s})=>s)).subscribe(t);let c=t.pipe(U("pathname"),St(1),w(s=>Tt(s.href).pipe(Ze(()=>(cn(s),B)))),G());i.pipe(tt(c)).subscribe(({url:s})=>{history.pushState({},"",s.toString())});let u=new DOMParser;c.pipe(w(s=>s.text()),f(s=>u.parseFromString(s,"text/html"))).subscribe(e),C(i,a).pipe(tt(e)).subscribe(({url:s,offset:l})=>{s.hash&&!l?fn(s.hash):Jt(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-topic]","[data-md-component=container]","[data-md-component=skip]"]){let p=ee(l),h=ee(l,s);typeof p!="undefined"&&typeof h!="undefined"&&_e(p,h)}}),e.pipe(St(1),f(()=>Me("container")),w(s=>j(...Q("script",s))),Wr(s=>{let l=Ue("script");return s.src?(l.src=s.src,_e(s,l),new E(p=>{l.onload=()=>p.complete()})):(l.textContent=s.textContent,_e(s,l),fe)})).subscribe(),r.pipe(Yr(i),zr(250),U("offset")).subscribe(({offset:s})=>{history.replaceState(s,"")}),C(i,a).pipe(we(2,1),A(([s,l])=>s.url.pathname===l.url.pathname),f(([,s])=>s)).subscribe(({offset:s})=>{Jt(s||{y:0})})}var Ii=nt(go());function yo(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 ve;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(ve||(ve={}));function xo(e){return e.type===1}function So(e){return e.type===2}function Lt(e){return e.type===3}function Fi({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 wo(e,t){let r=ue(),n=new Worker(e),o=new M,i=xn(n,{tx$:o}).pipe(f(a=>{if(Lt(a))for(let c of a.data)for(let u of c)u.location=`${r.base}/${u.location}`;return a}),G());return he(t).pipe(f(a=>({type:ve.SETUP,data:Fi(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Ri(e){let t=__search?.transform||yo,r=en(e),n=C(O(e,"keyup"),O(e,"focus").pipe(De(1))).pipe(f(()=>t(e.value)),P(t(e.value)),z());return J([n,r]).pipe(f(([o,i])=>({value:o,focus:i})))}function Eo(e,{tx$:t}){let r=new M;return r.pipe(U("value"),f(({value:n})=>({type:ve.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(U("focus")).subscribe(({focus:n})=>{n?(Ne("search",n),Rn(e,"")):Pn(e)}),O(e.form,"reset").pipe(Br(r.pipe(qr(1)))).subscribe(()=>Oe(e)),Ri(e).pipe(k(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function Oo(e,{rx$:t},{query$:r}){let n=new M,o=nn(e.parentElement).pipe(A(Boolean)),i=ae(":scope > :first-child",e);n.pipe(Y(K),Ee(r)).subscribe(([{data:u},{value:s}])=>{s?Un(i,u.length):Wn(i)});let a=ae(":scope > :last-child",e);return n.pipe(Y(K),k(()=>zn(a)),w(({data:u})=>C(j(...u.slice(0,10)),j(...u.slice(10)).pipe(we(4),Gr(o),w(([s])=>j(...s)))))).subscribe(u=>{Nn(a,Zn(u))}),t.pipe(A(Lt),f(({data:u})=>({data:u})),P({data:[]})).pipe(k(n),D(()=>n.complete()),f(u=>({ref:e,...u})))}function Pi(e){return __search?.index||Te(e)}function To(e,{keyboard$:t}){if(location.protocol==="file:")return B;let r=ue(),n=wo(r.search,Pi(`${r.base}/search/search_index.json`)),o=Me("search-query",e),i=Me("search-result",e),{tx$:a,rx$:c}=n;a.pipe(A(So),tt(c.pipe(A(xo))),et(1)).subscribe(a.next.bind(a)),t.pipe(A(({mode:s})=>s==="search")).subscribe(s=>{let l=Le();switch(s.type){case"Enter":l===o&&s.claim();break;case"Escape":case"Tab":Ne("search",!1),Oe(o,!1);break;case"ArrowUp":case"ArrowDown":if(typeof l=="undefined")Oe(o);else{let p=[o,...Q(":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);Oe(p[h])}s.claim();break;default:o!==Le()&&Oe(o)}}),t.pipe(A(({mode:s})=>s==="global")).subscribe(s=>{switch(s.type){case"f":case"s":case"/":Oe(o),on(o),s.claim();break}});let u=Eo(o,n);return C(u,Oo(i,n,{query$:u}))}function $i(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return J([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})),z((o,i)=>o.height===i.height&&o.locked===i.locked))}function tr(e,{header$:t,...r}){let n=new M;return n.pipe(Y(K),Ee(t)).subscribe({next([{height:o},{height:i}]){Kn(e,o),Qn(e,i)},complete(){qn(e),Yn(e)}}),$i(e,r).pipe(k(n),D(()=>n.complete()),f(o=>({ref:e,...o})))}function Mo(e,t){let r=typeof t!="undefined"?`https://api.github.com/repos/${e}/${t}`:`https://api.github.com/users/${e}`;return Te(r).pipe(f(n=>{if(typeof t!="undefined"){let{stargazers_count:o,forks_count:i}=n;return[`${be(o)} Stars`,`${be(i)} Forks`]}else{let{public_repos:o}=n;return[`${be(o)} Repositories`]}}),yt([]))}function Ao(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Te(r).pipe(f(({star_count:n,forks_count:o})=>[`${be(n)} Stars`,`${be(o)} Forks`]),yt([]))}function Lo(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Mo(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Ao(o,i);default:return B}}var Vi;function Di(e){let t=Dn(e.href).toString();return Vi||=xe(()=>{let r=sessionStorage.getItem(t);if(r)return j(JSON.parse(r));{let n=Lo(e.href);return n.subscribe(o=>{try{sessionStorage.setItem(t,JSON.stringify(o))}catch(i){}}),n}}).pipe(Ze(()=>B),A(r=>r.length>0),f(r=>({facts:r})),Z(1))}function _o(e){let t=new M;return t.subscribe(({facts:r})=>{Jn(e,eo(r)),Bn(e,"done")}),Di(e).pipe(k(t),D(()=>t.complete()),f(r=>({ref:e,...r})))}function Ui(e,{viewport$:t,header$:r}){return Mt(e,{header$:r,viewport$:t}).pipe(f(({offset:{y:n}})=>({hidden:n>=10})),U("hidden"))}function Ho(e,t){let r=new M;return r.pipe(Y(K)).subscribe({next({hidden:n}){n?Xn(e,"hidden"):Gt(e)},complete(){Gt(e)}}),Ui(e,t).pipe(k(r),D(()=>r.complete()),f(n=>({ref:e,...n})))}function Wi(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 We(document.body).pipe(U("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)}),w(a=>J([o,t]).pipe(Kr(([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]]),z((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:[]}),we(2,1),f(([a,c])=>a.prev.length{for(let[a]of i)Ln(a),Mn(a);for(let[a,[c]]of o.entries())An(c,a===o.length-1),Tn(c,"blur")});let n=Q("[href^=\\#]",e);return Wi(n,t).pipe(k(r),D(()=>r.complete()),f(o=>({ref:e,...o})))}function jo({document$:e}){e.subscribe(()=>{for(let t of Q("[data-md-state=indeterminate]"))t.setAttribute("data-md-state",""),t.indeterminate=!0,t.checked=!1})}function Ni(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function ko({document$:e}){e.pipe(w(()=>j(...Q("[data-md-scrollfix]"))),k(t=>t.removeAttribute("data-md-scrollfix")),A(Ni),ie(t=>O(t,"touchstart").pipe(ce(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Io({viewport$:e,tablet$:t}){J([Ot("search"),t]).pipe(f(([r,n])=>r&&!n),w(r=>j(r).pipe(De(r?400:100),Y(K))),Ee(e)).subscribe(([r,{offset:{y:n}}])=>{r?En(document.body,n):On(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var qe=Zr(),rr=un(),nr=pn(),or=sn(),se=yn(),ir=ze("(min-width: 960px)"),Fo=ze("(min-width: 1220px)"),Ro=mn(),ar=new M;ho({alert$:ar});At("navigation.instant")&&bo({document$:qe,location$:rr,viewport$:se});C(rr,nr).subscribe(()=>Ne("drawer",!1));or.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}});jo({document$:qe});ko({document$:qe});Io({viewport$:se,tablet$:ir});var je=lo(Me("header"),{viewport$:se}),sr=qe.pipe(f(()=>Me("main")),w(e=>mo(e,{viewport$:se,header$:je})),Z(1)),zi=C(...me("dialog").map(e=>uo(e,{alert$:ar})),...me("header").map(e=>fo(e,{viewport$:se,header$:je,main$:sr})),...me("search").map(e=>To(e,{keyboard$:or})),...me("source").map(e=>_o(e)),...me("tabs").map(e=>Ho(e,{viewport$:se,header$:je}))),Qi=xe(()=>C(...me("content").map(e=>co(e,{target$:nr,viewport$:se,print$:Ro})),...me("header-title").map(e=>po(e,{viewport$:se,header$:je})),...me("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Yt(Fo,()=>tr(e,{viewport$:se,header$:je,main$:sr})):Yt(ir,()=>tr(e,{viewport$:se,header$:je,main$:sr}))),...me("toc").map(e=>Co(e,{viewport$:se,header$:je})))),Po=qe.pipe(w(()=>Qi),xt(zi),Z(1));Po.subscribe();window.document$=qe;window.location$=rr;window.target$=nr;window.keyboard$=or;window.viewport$=se;window.tablet$=ir;window.screen$=Fo;window.print$=Ro;window.alert$=ar;window.component$=Po;})(); /*! * 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.b83fae36.min.js