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