(()=>{var Pi=Object.create,ut=Object.defineProperty,$i=Object.getPrototypeOf,zt=Object.prototype.hasOwnProperty,Vi=Object.getOwnPropertyNames,Di=Object.getOwnPropertyDescriptor,lt=Object.getOwnPropertySymbols,Sr=Object.prototype.propertyIsEnumerable;var wr=(e,t,r)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$=(e,t)=>{for(var r in t||(t={}))zt.call(t,r)&&wr(e,r,t[r]);if(lt)for(var r of lt(t))Sr.call(t,r)&&wr(e,r,t[r]);return e},Ui=e=>ut(e,"__esModule",{value:!0});var Er=(e,t)=>{var r={};for(var n in e)zt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&<)for(var n of lt(e))t.indexOf(n)<0&&Sr.call(e,n)&&(r[n]=e[n]);return r},ft=(e,t)=>()=>(t||(t={exports:{}},e(t.exports,t)),t.exports);var Ni=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Vi(t))!zt.call(e,n)&&n!=="default"&&ut(e,n,{get:()=>t[n],enumerable:!(r=Di(t,n))||r.enumerable});return e},Be=e=>Ni(Ui(ut(e!=null?Pi($i(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Tr=ft((Qt,Or)=>{(function(e,t){typeof Qt=="object"&&typeof Or!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(Qt,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 s(T){return!!(T&&T!==document&&T.nodeName!=="HTML"&&T.nodeName!=="BODY"&&"classList"in T&&"contains"in T.classList)}function c(T){var at=T.type,st=T.tagName;return!!(st==="INPUT"&&a[at]&&!T.readOnly||st==="TEXTAREA"&&!T.readOnly||T.isContentEditable)}function u(T){T.classList.contains("focus-visible")||(T.classList.add("focus-visible"),T.setAttribute("data-focus-visible-added",""))}function l(T){!T.hasAttribute("data-focus-visible-added")||(T.classList.remove("focus-visible"),T.removeAttribute("data-focus-visible-added"))}function m(T){T.metaKey||T.altKey||T.ctrlKey||(s(r.activeElement)&&u(r.activeElement),n=!0)}function f(T){n=!1}function h(T){!s(T.target)||(n||c(T.target))&&u(T.target)}function y(T){!s(T.target)||(T.target.classList.contains("focus-visible")||T.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),l(T.target))}function b(T){document.visibilityState==="hidden"&&(o&&(n=!0),z())}function z(){document.addEventListener("mousemove",C),document.addEventListener("mousedown",C),document.addEventListener("mouseup",C),document.addEventListener("pointermove",C),document.addEventListener("pointerdown",C),document.addEventListener("pointerup",C),document.addEventListener("touchmove",C),document.addEventListener("touchstart",C),document.addEventListener("touchend",C)}function P(){document.removeEventListener("mousemove",C),document.removeEventListener("mousedown",C),document.removeEventListener("mouseup",C),document.removeEventListener("pointermove",C),document.removeEventListener("pointerdown",C),document.removeEventListener("pointerup",C),document.removeEventListener("touchmove",C),document.removeEventListener("touchstart",C),document.removeEventListener("touchend",C)}function C(T){T.target.nodeName&&T.target.nodeName.toLowerCase()==="html"||(n=!1,P())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",f,!0),document.addEventListener("pointerdown",f,!0),document.addEventListener("touchstart",f,!0),document.addEventListener("visibilitychange",b,!0),z(),r.addEventListener("focus",h,!0),r.addEventListener("blur",y,!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 qr=ft((Qa,pt)=>{var _r,Mr,Ar,Lr,Hr,Cr,kr,jr,Fr,mt,qt,Ir,Rr,Pr,$e,$r,Vr,Dr,Ur,Nr,Wr,zr,Qr,dt;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):typeof pt=="object"&&typeof pt.exports=="object"?e(r(t,r(pt.exports))):e(r(t));function r(n,o){return n!==t&&(typeof Object.create=="function"?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(i,a){return n[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])};_r=function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(n,o);function i(){this.constructor=n}n.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Mr=Object.assign||function(n){for(var o,i=1,a=arguments.length;i=0;l--)(u=n[l])&&(c=(s<3?u(c):s>3?u(o,i,c):u(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},Hr=function(n,o){return function(i,a){o(i,a,n)}},Cr=function(n,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(n,o)},kr=function(n,o,i,a){function s(c){return c instanceof i?c:new i(function(u){u(c)})}return new(i||(i=Promise))(function(c,u){function l(h){try{f(a.next(h))}catch(y){u(y)}}function m(h){try{f(a.throw(h))}catch(y){u(y)}}function f(h){h.done?c(h.value):s(h.value).then(l,m)}f((a=a.apply(n,o||[])).next())})},jr=function(n,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,u;return u={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function l(f){return function(h){return m([f,h])}}function m(f){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(c=f[0]&2?s.return:f[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,f[1])).done)return c;switch(s=0,c&&(f=[f[0]&2,c.value]),f[0]){case 0:case 1:c=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,s=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!c||f[1]>c[0]&&f[1]=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},qt=function(n,o){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var a=i.call(n),s,c=[],u;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(l){u={error:l}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(u)throw u.error}}return c},Ir=function(){for(var n=[],o=0;o1||l(b,z)})})}function l(b,z){try{m(a[b](z))}catch(P){y(c[0][3],P)}}function m(b){b.value instanceof $e?Promise.resolve(b.value.v).then(f,h):y(c[0][2],b)}function f(b){l("next",b)}function h(b){l("throw",b)}function y(b,z){b(z),c.shift(),c.length&&l(c[0][0],c[0][1])}},Vr=function(n){var o,i;return o={},a("next"),a("throw",function(s){throw s}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(s,c){o[s]=n[s]?function(u){return(i=!i)?{value:$e(n[s](u)),done:s==="return"}:c?c(u):u}:c}},Dr=function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=n[Symbol.asyncIterator],i;return o?o.call(n):(n=typeof mt=="function"?mt(n):n[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=n[c]&&function(u){return new Promise(function(l,m){u=n[c](u),s(l,m,u.done,u.value)})}}function s(c,u,l,m){Promise.resolve(m).then(function(f){c({value:f,done:l})},u)}},Ur=function(n,o){return Object.defineProperty?Object.defineProperty(n,"raw",{value:o}):n.raw=o,n};var r=Object.create?function(n,o){Object.defineProperty(n,"default",{enumerable:!0,value:o})}:function(n,o){n.default=o};Nr=function(n){if(n&&n.__esModule)return n;var o={};if(n!=null)for(var i in n)i!=="default"&&Object.prototype.hasOwnProperty.call(n,i)&&dt(o,n,i);return r(o,n),o},Wr=function(n){return n&&n.__esModule?n:{default:n}},zr=function(n,o){if(!o.has(n))throw new TypeError("attempted to get private field on non-instance");return o.get(n)},Qr=function(n,o,i){if(!o.has(n))throw new TypeError("attempted to set private field on non-instance");return o.set(n,i),i},e("__extends",_r),e("__assign",Mr),e("__rest",Ar),e("__decorate",Lr),e("__param",Hr),e("__metadata",Cr),e("__awaiter",kr),e("__generator",jr),e("__exportStar",Fr),e("__createBinding",dt),e("__values",mt),e("__read",qt),e("__spread",Ir),e("__spreadArrays",Rr),e("__spreadArray",Pr),e("__await",$e),e("__asyncGenerator",$r),e("__asyncDelegator",Vr),e("__asyncValues",Dr),e("__makeTemplateObject",Ur),e("__importStar",Nr),e("__importDefault",Wr),e("__classPrivateFieldGet",zr),e("__classPrivateFieldSet",Qr)})});var fr=ft((it,lr)=>{(function(t,r){typeof it=="object"&&typeof lr=="object"?lr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof it=="object"?it.ClipboardJS=r():t.ClipboardJS=r()})(it,function(){return function(){var e={134:function(n,o,i){"use strict";i.d(o,{default:function(){return Ii}});var a=i(279),s=i.n(a),c=i(370),u=i.n(c),l=i(817),m=i.n(l);function f(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f=function(d){return typeof d}:f=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},f(w)}function h(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function y(w,v){for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{};this.action=d.action,this.container=d.container,this.emitter=d.emitter,this.target=d.target,this.text=d.text,this.trigger=d.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var d=document.documentElement.getAttribute("dir")==="rtl";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[d?"right":"left"]="-9999px";var A=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(A,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var d=this,A=this.createFakeElement();this.fakeHandlerCallback=function(){return d.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(A),this.selectedText=m()(A),this.copyText(),this.removeFake()}},{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=m()(this.target),this.copyText()}},{key:"copyText",value:function(){var d;try{d=document.execCommand(this.action)}catch(A){d=!1}this.handleResult(d)}},{key:"handleResult",value:function(d){this.emitter.emit(d?"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 d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=d,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(d){if(d!==void 0)if(d&&f(d)==="object"&&d.nodeType===1){if(this.action==="copy"&&d.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(d.hasAttribute("readonly")||d.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=d}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),w}(),P=z;function C(w){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?C=function(d){return typeof d}:C=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},C(w)}function T(w,v){if(!(w instanceof v))throw new TypeError("Cannot call a class as a function")}function at(w,v){for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof I.action=="function"?I.action:this.defaultAction,this.target=typeof I.target=="function"?I.target:this.defaultTarget,this.text=typeof I.text=="function"?I.text:this.defaultText,this.container=C(I.container)==="object"?I.container:document.body}},{key:"listenClick",value:function(I){var X=this;this.listener=u()(I,"click",function(Ye){return X.onClick(Ye)})}},{key:"onClick",value:function(I){var X=I.delegateTarget||I.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new P({action:this.action(X),target:this.target(X),text:this.text(X),container:this.container,trigger:X,emitter:this})}},{key:"defaultAction",value:function(I){return Wt("action",I)}},{key:"defaultTarget",value:function(I){var X=Wt("target",I);if(X)return document.querySelector(X)}},{key:"defaultText",value:function(I){return Wt("text",I)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],X=typeof I=="string"?[I]:I,Ye=!!document.queryCommandSupported;return X.forEach(function(Ri){Ye=Ye&&!!document.queryCommandSupported(Ri)}),Ye}}]),d}(s()),Ii=Fi},828:function(n){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,c){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(c))return s;s=s.parentNode}}n.exports=a},438:function(n,o,i){var a=i(828);function s(l,m,f,h,y){var b=u.apply(this,arguments);return l.addEventListener(f,b,y),{destroy:function(){l.removeEventListener(f,b,y)}}}function c(l,m,f,h,y){return typeof l.addEventListener=="function"?s.apply(null,arguments):typeof f=="function"?s.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(b){return s(b,m,f,h,y)}))}function u(l,m,f,h){return function(y){y.delegateTarget=a(y.target,m),y.delegateTarget&&h.call(l,y)}}n.exports=c},879:function(n,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(n,o,i){var a=i(879),s=i(438);function c(f,h,y){if(!f&&!h&&!y)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(y))throw new TypeError("Third argument must be a Function");if(a.node(f))return u(f,h,y);if(a.nodeList(f))return l(f,h,y);if(a.string(f))return m(f,h,y);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(f,h,y){return f.addEventListener(h,y),{destroy:function(){f.removeEventListener(h,y)}}}function l(f,h,y){return Array.prototype.forEach.call(f,function(b){b.addEventListener(h,y)}),{destroy:function(){Array.prototype.forEach.call(f,function(b){b.removeEventListener(h,y)})}}}function m(f,h,y){return s(document.body,f,h,y)}n.exports=c},817:function(n){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),u=document.createRange();u.selectNodeContents(i),c.removeAllRanges(),c.addRange(u),a=c.toString()}return a}n.exports=o},279:function(n){function o(){}o.prototype={on:function(i,a,s){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var c=this;function u(){c.off(i,u),a.apply(s,arguments)}return u._=a,this.on(i,u,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,u=s.length;for(c;c{"use strict";var La=/["'&<>]/;oi.exports=Ha;function Ha(e){var t=""+e,r=La.exec(t);if(!r)return t;var n,o="",i=0,a=0;for(i=r.index;i0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r.scheduled||(r.scheduled=De.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&&(De.cancelAnimationFrame(n),r.scheduled=void 0)},t}(xt);var ln=function(e){K(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 ie(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,s=e.resetOnRefCountZero,c=s===void 0?!0:s,u=null,l=null,m=0,f=!1,h=!1,y=function(){u=l=null,f=h=!1};return g(function(b,z){return m++,l=l!=null?l:r(),l.subscribe(z),u||(u=Se(b).subscribe({next:function(P){return l.next(P)},error:function(P){h=!0;var C=l;a&&y(),C.error(P)},complete:function(){f=!0;var P=l;o&&y(),P.complete()}})),function(){if(m--,c&&!m&&!h&&!f){var P=u;y(),P==null||P.unsubscribe()}}})}function re(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,ie({connector:function(){return new yt(i,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function sr(e){return L(function(t,r){return e<=r})}function kn(e){return g(function(t,r){var n=!1,o=new x(r,function(){o==null||o.unsubscribe(),n=!0},void 0,Z);W(e).subscribe(o),t.subscribe(new x(r,function(i){return n&&r.next(i)}))})}function D(){for(var e=[],t=0;tt==="focus"),D(e===je()))}var Un=new M,ha=_e(()=>F(new ResizeObserver(e=>{for(let t of e)Un.next(t)}))).pipe(E(e=>ee.pipe(D(e)).pipe(V(()=>e.disconnect()))),re(1));function He(e){return{width:e.offsetWidth,height:e.offsetHeight}}function kt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Ce(e){return ha.pipe(k(t=>t.observe(e)),E(t=>Un.pipe(L(({target:r})=>r===e),V(()=>t.unobserve(e)),p(()=>He(e)))),D(He(e)))}function Nn(e){return{x:e.scrollLeft,y:e.scrollTop}}function ba(e){return R(O(e,"scroll"),O(window,"resize")).pipe(p(()=>Nn(e)),D(Nn(e)))}function Wn(e,t=16){return ba(e).pipe(p(({y:r})=>{let n=He(e),o=kt(e);return r>=o.height-n.height-t}),Q())}function zn(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var jt={drawer:pe("[data-md-toggle=drawer]"),search:pe("[data-md-toggle=search]")};function Qn(e){return jt[e].checked}function Ie(e,t){jt[e].checked!==t&&jt[e].click()}function Ft(e){let t=jt[e];return O(t,"change").pipe(p(()=>t.checked),D(t.checked))}function va(e){switch(e.tagName){case"INPUT":case"SELECT":case"TEXTAREA":return!0;default:return e.isContentEditable}}function qn(){return O(window,"keydown").pipe(L(e=>!(e.metaKey||e.ctrlKey)),p(e=>({mode:Qn("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),L(({mode:e})=>{if(e==="global"){let t=je();if(typeof t!="undefined")return!va(t)}return!0}),ie())}function Kn(){return new URL(location.href)}function Jn(e){location.href=e.href}function Yn(){return new M}function Bn(){return location.hash.substring(1)}function Gn(e){let t=Qe("a");t.href=e,t.addEventListener("click",r=>r.stopPropagation()),t.click()}function ga(){return O(window,"hashchange").pipe(p(Bn),D(Bn()),L(e=>e.length>0),ie())}function Xn(){return ga().pipe(E(e=>F(ae(`[id="${e}"]`))))}function qe(e){let t=matchMedia(e);return nr(r=>t.addListener(()=>r(t.matches))).pipe(D(t.matches))}function Zn(){return R(qe("print").pipe(L(Boolean)),O(window,"beforeprint")).pipe(ne(void 0))}function cr(e,t){return e.pipe(E(r=>r?t():ee))}function It(e,t={credentials:"same-origin"}){return Se(fetch(`${e}`,t)).pipe(L(r=>r.status===200))}function ye(e,t){return It(e,t).pipe(E(r=>r.json()),re(1))}function eo(e,t){let r=new DOMParser;return It(e,t).pipe(E(n=>n.text()),p(n=>r.parseFromString(n,"text/xml")),re(1))}function to(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function ur({x:e,y:t}){window.scrollTo(e||0,t||0)}function ro(){return R(O(window,"scroll",{passive:!0}),O(window,"resize",{passive:!0})).pipe(p(to),D(to()))}function no(){return{width:innerWidth,height:innerHeight}}function oo(){return O(window,"resize",{passive:!0}).pipe(p(no),D(no()))}function io(){return B([ro(),oo()]).pipe(p(([e,t])=>({offset:e,size:t})),re(1))}function Rt(e,{viewport$:t,header$:r}){let n=t.pipe(N("size")),o=B([n,r]).pipe(p(()=>({x:e.offsetLeft,y:e.offsetTop})));return B([r,t,o]).pipe(p(([{height:i},{offset:a,size:s},{x:c,y:u}])=>({offset:{x:a.x-c,y:a.y-u+i},size:s})))}function ao(e,{tx$:t}){let r=O(e,"message").pipe(p(({data:n})=>n));return t.pipe(Rn(()=>r,{leading:!0,trailing:!0}),k(n=>e.postMessage(n)),jn(r),ie())}var ya=pe("#__config"),Ke=JSON.parse(ya.textContent);Ke.base=new URL(Ke.base,Kn()).toString().replace(/\/$/,"");function se(){return Ke}function Pt(e){return Ke.features.includes(e)}function G(e,t){return typeof t!="undefined"?Ke.translations[e].replace("#",t.toString()):Ke.translations[e]}function ke(e,t=document){return pe(`[data-md-component=${e}]`,t)}function me(e,t=document){return q(`[data-md-component=${e}]`,t)}var zo=Be(fr());function so(e,t=0){e.setAttribute("tabindex",t.toString())}function co(e){e.removeAttribute("tabindex")}function uo(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function lo(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function fo(e,t){e.setAttribute("data-md-state",t)}function po(e){e.removeAttribute("data-md-state")}function mo(e,t){e.classList.toggle("md-nav__link--active",t)}function ho(e){e.classList.remove("md-nav__link--active")}function bo(e,t){e.firstElementChild.innerHTML=t}function vo(e,t){e.setAttribute("data-md-state",t)}function go(e){e.removeAttribute("data-md-state")}function yo(e,t){e.setAttribute("data-md-state",t)}function xo(e){e.removeAttribute("data-md-state")}function So(e,t){e.setAttribute("data-md-state",t)}function wo(e){e.removeAttribute("data-md-state")}function Eo(e,t){e.placeholder=t}function Oo(e){e.placeholder=G("search.placeholder")}function To(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)To(e,r)}function U(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)To(n,o);return n}function _o(e,t){let r=t;if(e.length>r){for(;e[r]!==" "&&--r>0;);return`${e.substring(0,r)}...`}return e}function $t(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Mo(e,t){switch(t){case 0:e.textContent=G("search.result.none");break;case 1:e.textContent=G("search.result.one");break;default:e.textContent=G("search.result.other",$t(t))}}function Ao(e){e.textContent=G("search.result.placeholder")}function Lo(e,t){e.appendChild(t)}function Ho(e){e.innerHTML=""}function Co(e,t){e.style.top=`${t}px`}function ko(e){e.style.top=""}function jo(e,t){let r=e.firstElementChild;r.style.height=`${t-2*r.offsetTop}px`}function Fo(e){let t=e.firstElementChild;t.style.height=""}function Io(e,t){e.lastElementChild.appendChild(t)}function Ro(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Po(e,t){e.setAttribute("data-md-state",t)}function pr(e){e.removeAttribute("data-md-state")}function $o(e,t){e.setAttribute("data-md-state",t)}function mr(e){e.removeAttribute("data-md-state")}function Vo(e){return U("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}var Re;(function(e){e[e.TEASER=1]="TEASER",e[e.PARENT=2]="PARENT"})(Re||(Re={}));function dr(e,t){let r=t&2,n=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[U("del",null,a)," "]).flat().slice(0,-1),i=e.location;return U("a",{href:i,class:"md-search-result__link",tabIndex:-1},U("article",{class:["md-search-result__article",...r?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},r>0&&U("div",{class:"md-search-result__icon md-icon"}),U("h1",{class:"md-search-result__title"},e.title),n>0&&e.text.length>0&&U("p",{class:"md-search-result__teaser"},_o(e.text,320)),n>0&&o.length>0&&U("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function Do(e){let t=e[0].score,r=[...e],n=r.findIndex(u=>!u.location.includes("#")),[o]=r.splice(n,1),i=r.findIndex(u=>u.scoredr(u,1)),...s.length?[U("details",{class:"md-search-result__more"},U("summary",{tabIndex:-1},s.length>0&&s.length===1?G("search.result.more.one"):G("search.result.more.other",s.length)),s.map(u=>dr(u,1)))]:[]];return U("li",{class:"md-search-result__item"},c)}function Uo(e){return U("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>U("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?$t(r):r)))}function No(e){return U("div",{class:"md-typeset__scrollwrap"},U("div",{class:"md-typeset__table"},e))}function xa(e){let t=se(),r=new URL(`${e.version}/`,t.base);return U("li",{class:"md-version__item"},U("a",{href:r.toString(),class:"md-version__link"},e.title))}function Wo(e){let t=se(),[,r]=t.base.match(/([^/]+)\/?$/),n=e.find(({version:o,aliases:i})=>o===r||i.includes(r))||e[0];return U("div",{class:"md-version"},U("button",{class:"md-version__current"},n.title),U("ul",{class:"md-version__list"},e.map(xa)))}var Sa=0;function wa(e,{viewport$:t}){let r=F(e).pipe(E(n=>{let o=n.closest("[data-tabs]");return o instanceof HTMLElement?R(...q("input",o).map(i=>O(i,"change"))):ee}));return R(t.pipe(N("size")),r).pipe(p(()=>{let n=He(e);return{scroll:kt(e).width>n.width}}),N("scroll"))}function Qo(e,t){let r=new M;if(r.pipe(ge(qe("(hover)"))).subscribe(([{scroll:n},o])=>{n&&o?so(e):co(e)}),zo.default.isSupported()){let n=e.closest("pre");n.id=`__code_${Sa++}`,n.insertBefore(Vo(n.id),e)}return wa(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Ea(e,{target$:t,print$:r}){return t.pipe(p(n=>n.closest("details:not([open])")),L(n=>e===n),Ct(r),ne(e))}function qo(e,t){let r=new M;return r.subscribe(()=>{e.setAttribute("open",""),e.scrollIntoView()}),Ea(e,t).pipe(k(r),V(()=>r.complete()),ne({ref:e}))}var Ko=Qe("table");function Jo(e){return Fe(e,Ko),Fe(Ko,No(e)),F({ref:e})}function Yo(e,{target$:t,viewport$:r,print$:n}){return R(...q("pre > code",e).map(o=>Qo(o,{viewport$:r})),...q("table:not([class])",e).map(o=>Jo(o)),...q("details",e).map(o=>qo(o,{target$:t,print$:n})))}function Oa(e,{alert$:t}){return t.pipe(E(r=>R(F(!0),F(!1).pipe(Ae(2e3))).pipe(p(n=>({message:r,open:n})))))}function Bo(e,t){let r=new M;return r.pipe(Y(J)).subscribe(({message:n,open:o})=>{bo(e,n),o?vo(e,"open"):go(e)}),Oa(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Ta({viewport$:e}){if(!Pt("header.autohide"))return F(!1);let t=e.pipe(p(({offset:{y:o}})=>o),ve(2,1),p(([o,i])=>[oMath.abs(i-o.y)>100),p(([,[o]])=>o),Q()),n=Ft("search");return B([e,n]).pipe(p(([{offset:o},i])=>o.y>400&&!i),Q(),E(o=>o?r:F(!1)),D(!1))}function Go(e,t){return _e(()=>{let r=getComputedStyle(e);return F(r.position==="sticky"||r.position==="-webkit-sticky")}).pipe(ir(Ce(e),Ta(t)),p(([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),re(1))}function Xo(e,{header$:t,main$:r}){let n=new M;return n.pipe(N("active"),ir(t),Y(J)).subscribe(([{active:o},{hidden:i}])=>{o?yo(e,i?"hidden":"shadow"):xo(e)}),r.subscribe(o=>n.next(o)),t.pipe(p(o=>$({ref:e},o)))}function _a(e,{viewport$:t,header$:r}){return Rt(e,{header$:r,viewport$:t}).pipe(p(({offset:{y:n}})=>{let{height:o}=He(e);return{active:n>=o}}),N("active"))}function Zo(e,t){let r=new M;r.pipe(Y(J)).subscribe(({active:o})=>{o?So(e,"active"):wo(e)});let n=ae("article h1");return typeof n=="undefined"?ee:_a(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function ei(e,{viewport$:t,header$:r}){let n=r.pipe(p(({height:i})=>i),Q()),o=n.pipe(E(()=>Ce(e).pipe(p(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),N("bottom"))));return B([n,o,t]).pipe(p(([i,{top:a,bottom:s},{offset:{y:c},size:{height:u}}])=>(u=Math.max(0,u-Math.max(0,a-c,i)-Math.max(0,u+c-s)),{offset:a-i,height:u,active:a-i<=c})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function Ma(e){let t=localStorage.getItem(__prefix("__palette")),r=JSON.parse(t)||{index:e.findIndex(o=>matchMedia(o.getAttribute("data-md-color-media")).matches)},n=F(...e).pipe(te(o=>O(o,"change").pipe(ne(o))),D(e[Math.max(0,r.index)]),p(o=>({index:e.indexOf(o),color:{scheme:o.getAttribute("data-md-color-scheme"),primary:o.getAttribute("data-md-color-primary"),accent:o.getAttribute("data-md-color-accent")}})),re(1));return n.subscribe(o=>{localStorage.setItem(__prefix("__palette"),JSON.stringify(o))}),n}function ti(e){let t=new M;t.subscribe(n=>{for(let[o,i]of Object.entries(n.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;ot.complete()),p(n=>$({ref:e},n)))}var hr=Be(fr());function ri({alert$:e}){hr.default.isSupported()&&new _(t=>{new hr.default("[data-clipboard-target], [data-clipboard-text]").on("success",r=>t.next(r))}).subscribe(()=>e.next(G("clipboard.copied")))}function Aa(e){if(e.length<2)return e;let[t,r]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),n=0;if(t===r)n=t.length;else for(;t.charCodeAt(n)===r.charCodeAt(n);)n++;let o=se();return e.map(i=>i.replace(t.slice(0,n),`${o.base}/`))}function ni({document$:e,location$:t,viewport$:r}){let n=se();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",O(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ae("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=eo(`${n.base}/sitemap.xml`).pipe(p(u=>Aa(q("loc",u).map(l=>l.textContent))),E(u=>O(document.body,"click").pipe(L(l=>!l.metaKey&&!l.ctrlKey),E(l=>{if(l.target instanceof Element){let m=l.target.closest("a");if(m&&!m.target&&u.includes(m.href))return l.preventDefault(),F({url:new URL(m.href)})}return ee}))),ie()),a=O(window,"popstate").pipe(L(u=>u.state!==null),p(u=>({url:new URL(location.href),offset:u.state})),ie());R(i,a).pipe(Q((u,l)=>u.url.href===l.url.href),p(({url:u})=>u)).subscribe(t);let s=t.pipe(N("pathname"),E(u=>It(u.href).pipe(rt(()=>(Jn(u),ee)))),ie());i.pipe(ot(s)).subscribe(({url:u})=>{history.pushState({},"",`${u}`)});let c=new DOMParser;s.pipe(E(u=>u.text()),p(u=>c.parseFromString(u,"text/html"))).subscribe(e),R(i,a).pipe(ot(e)).subscribe(({url:u,offset:l})=>{u.hash&&!l?Gn(u.hash):ur(l||{y:0})}),e.pipe(sr(1)).subscribe(u=>{for(let l of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo], .md-logo","[data-md-component=skip]"]){let m=ae(l),f=ae(l,u);typeof m!="undefined"&&typeof f!="undefined"&&Fe(m,f)}}),e.pipe(sr(1),p(()=>ke("container")),E(u=>F(...q("script",u))),_n(u=>{let l=Qe("script");if(u.src){for(let m of u.getAttributeNames())l.setAttribute(m,u.getAttribute(m));return Fe(u,l),new _(m=>{l.onload=()=>m.complete()})}else return l.textContent=u.textContent,Fe(u,l),he})).subscribe(),r.pipe(kn(i),Mn(250),N("offset")).subscribe(({offset:u})=>{history.replaceState(u,"")}),R(i,a).pipe(ve(2,1),L(([u,l])=>u.url.pathname===l.url.pathname),p(([,u])=>u)).subscribe(({offset:u})=>{ur(u||{y:0})})}var Ca=Be(ii());function ai(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 we;(function(e){e[e.SETUP=0]="SETUP",e[e.READY=1]="READY",e[e.QUERY=2]="QUERY",e[e.RESULT=3]="RESULT"})(we||(we={}));function si(e){return e.type===1}function ci(e){return e.type===2}function Vt(e){return e.type===3}function ka({config:e,docs:t,index:r}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[G("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=G("search.config.separator"));let n=G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean);return{config:e,docs:t,index:r,pipeline:n}}function ui(e,t){let r=se(),n=new Worker(e),o=new M,i=ao(n,{tx$:o}).pipe(p(a=>{if(Vt(a))for(let s of a.data)for(let c of s)c.location=`${r.base}/${c.location}`;return a}),ie());return Se(t).pipe(p(a=>({type:we.SETUP,data:ka(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function li(){let e=se();ye(new URL("versions.json",e.base)).subscribe(t=>{pe(".md-header__topic").appendChild(Wo(t))})}function ja(e){let t=(__search==null?void 0:__search.transform)||ai,r=Dn(e),n=R(O(e,"keyup"),O(e,"focus").pipe(Ae(1))).pipe(p(()=>t(e.value)),Q());return B([n,r]).pipe(p(([o,i])=>({value:o,focus:i})))}function fi(e,{tx$:t}){let r=new M;return r.pipe(N("value"),p(({value:n})=>({type:we.QUERY,data:n}))).subscribe(t.next.bind(t)),r.pipe(N("focus")).subscribe(({focus:n})=>{n?(Ie("search",n),Eo(e,"")):Oo(e)}),O(e.form,"reset").pipe(Fn(r.pipe(Ln(1)))).subscribe(()=>Le(e)),ja(e).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function pi(e,{rx$:t},{query$:r}){let n=new M,o=Wn(e.parentElement).pipe(L(Boolean)),i=pe(":scope > :first-child",e);n.pipe(Y(J),ge(r)).subscribe(([{data:c},{value:u}])=>{u?Mo(i,c.length):Ao(i)});let a=pe(":scope > :last-child",e);return n.pipe(Y(J),k(()=>Ho(a)),E(({data:c})=>R(F(...c.slice(0,10)),F(...c.slice(10)).pipe(ve(4),$n(o),E(([u])=>F(...u)))))).subscribe(c=>{Lo(a,Do(c))}),t.pipe(L(Vt),p(({data:c})=>({data:c})),D({data:[]})).pipe(k(n),V(()=>n.complete()),p(c=>$({ref:e},c)))}function mi(e,{index$:t,keyboard$:r}){let n=se(),o=ui(n.search,t),i=ke("search-query",e),a=ke("search-result",e),{tx$:s,rx$:c}=o;s.pipe(L(ci),ot(c.pipe(L(si))),nt(1)).subscribe(s.next.bind(s)),r.pipe(L(({mode:l})=>l==="search")).subscribe(l=>{let m=je();switch(l.type){case"Enter":m===i&&l.claim();break;case"Escape":case"Tab":Ie("search",!1),Le(i,!1);break;case"ArrowUp":case"ArrowDown":if(typeof m=="undefined")Le(i);else{let f=[i,...q(":not(details) > [href], summary, details[open] [href]",a)],h=Math.max(0,(Math.max(0,f.indexOf(m))+f.length+(l.type==="ArrowUp"?-1:1))%f.length);Le(f[h])}l.claim();break;default:i!==je()&&Le(i)}}),r.pipe(L(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":Le(i),zn(i),l.claim();break}});let u=fi(i,o);return R(u,pi(a,o,{query$:u}))}function Fa(e,{viewport$:t,main$:r}){let n=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return B([r,t]).pipe(p(([{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 br(e,n){var{header$:t}=n,r=Er(n,["header$"]);let o=new M;return o.pipe(Y(J),ge(t)).subscribe({next([{height:i},{height:a}]){jo(e,i),Co(e,a)},complete(){ko(e),Fo(e)}}),Fa(e,r).pipe(k(o),V(()=>o.complete()),p(i=>$({ref:e},i)))}function di(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return Ht(ye(`${r}/releases/latest`).pipe(p(n=>({version:n.tag_name})),ze({})),ye(r).pipe(p(n=>({stars:n.stargazers_count,forks:n.forks_count})),ze({}))).pipe(p(([n,o])=>$($({},n),o)))}else{let r=`https://api.github.com/repos/${e}`;return ye(r).pipe(p(n=>({repositories:n.public_repos})),ze({}))}}function hi(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return ye(r).pipe(p(({star_count:n,forks_count:o})=>({stars:n,forks:o})),ze({}))}function bi(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,r,n]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return di(r,n);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return hi(o,i);default:return ee}}var Ia;function Ra(e){return Ia||(Ia=_e(()=>{let t=sessionStorage.getItem(__prefix("__source"));if(t)return F(JSON.parse(t));{let r=bi(e.href);return r.subscribe(n=>{try{sessionStorage.setItem(__prefix("__source"),JSON.stringify(n))}catch(o){}}),r}}).pipe(rt(()=>ee),L(t=>Object.keys(t).length>0),p(t=>({facts:t})),re(1)))}function vi(e){let t=new M;return t.subscribe(({facts:r})=>{Io(e,Uo(r)),Ro(e,"done")}),Ra(e).pipe(k(t),V(()=>t.complete()),p(r=>$({ref:e},r)))}function Pa(e,{viewport$:t,header$:r}){return Ce(document.body).pipe(E(()=>Rt(e,{header$:r,viewport$:t})),p(({offset:{y:n}})=>({hidden:n>=10})),N("hidden"))}function gi(e,t){let r=new M;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?Po(e,"hidden"):pr(e)},complete(){pr(e)}}),Pa(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function $a(e,{viewport$:t,header$:r}){let n=new Map;for(let a of e){let s=decodeURIComponent(a.hash.substring(1)),c=ae(`[id="${s}"]`);typeof c!="undefined"&&n.set(a,c)}let o=r.pipe(p(a=>24+a.height));return Ce(document.body).pipe(N("height"),p(()=>{let a=[];return[...n].reduce((s,[c,u])=>{for(;a.length&&n.get(a[a.length-1]).tagName>=u.tagName;)a.pop();let l=u.offsetTop;for(;!l&&u.parentElement;)u=u.parentElement,l=u.offsetTop;return s.set([...a=[...a,c]].reverse(),l)},new Map)}),p(a=>new Map([...a].sort(([,s],[,c])=>s-c))),E(a=>B([o,t]).pipe(Cn(([s,c],[u,{offset:{y:l}}])=>{for(;c.length;){let[,m]=c[0];if(m-u=l)c=[s.pop(),...c];else break}return[s,c]},[[],[...a]]),Q((s,c)=>s[0]===c[0]&&s[1]===c[1])))).pipe(p(([a,s])=>({prev:a.map(([c])=>c),next:s.map(([c])=>c)})),D({prev:[],next:[]}),ve(2,1),p(([a,s])=>a.prev.length{for(let[a]of i)ho(a),po(a);for(let[a,[s]]of o.entries())mo(s,a===o.length-1),fo(s,"blur")});let n=q("[href^=\\#]",e);return $a(n,t).pipe(k(r),V(()=>r.complete()),p(o=>$({ref:e},o)))}function Va(e,{viewport$:t,main$:r}){let n=t.pipe(p(({offset:{y:i}})=>i),ve(2,1),p(([i,a])=>i>a),Q()),o=r.pipe(N("active"));return B([o,n]).pipe(p(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function xi(e,t){let r=new M;return r.pipe(Y(J)).subscribe({next({hidden:n}){n?$o(e,"hidden"):mr(e)},complete(){mr(e)}}),Va(e,t).pipe(k(r),V(()=>r.complete()),p(n=>$({ref:e},n)))}function Si({document$:e,tablet$:t}){e.pipe(E(()=>F(...q("[data-md-state=indeterminate]"))),k(r=>{r.indeterminate=!0,r.checked=!1}),te(r=>O(r,"change").pipe(In(()=>r.hasAttribute("data-md-state")),ne(r))),ge(t)).subscribe(([r,n])=>{r.removeAttribute("data-md-state"),n&&(r.checked=!1)})}function Da(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function wi({document$:e}){e.pipe(E(()=>F(...q("[data-md-scrollfix]"))),k(t=>t.removeAttribute("data-md-scrollfix")),L(Da),te(t=>O(t,"touchstart").pipe(ne(t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function Ei({viewport$:e,tablet$:t}){B([Ft("search"),t]).pipe(p(([r,n])=>r&&!n),E(r=>F(r).pipe(Ae(r?400:100),Y(J))),ge(e)).subscribe(([r,{offset:{y:n}}])=>{r?uo(document.body,n):lo(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var Je=Vn(),vr=Yn(),gr=Xn(),yr=qn(),le=io(),Dt=qe("(min-width: 960px)"),Oi=qe("(min-width: 1220px)"),Ti=Zn(),_i=se(),Ua=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||ye(`${_i.base}/search/search_index.json`):ee,xr=new M;ri({alert$:xr});Pt("navigation.instant")&&ni({document$:Je,location$:vr,viewport$:le});var Mi;((Mi=_i.version)==null?void 0:Mi.provider)==="mike"&&li();R(vr,gr).pipe(Ae(125)).subscribe(()=>{Ie("drawer",!1),Ie("search",!1)});yr.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ae("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let r=ae("[href][rel=next]");typeof r!="undefined"&&r.click();break}});Si({document$:Je,tablet$:Dt});wi({document$:Je});Ei({viewport$:le,tablet$:Dt});var Pe=Go(ke("header"),{viewport$:le}),Ut=Je.pipe(p(()=>ke("main")),E(e=>ei(e,{viewport$:le,header$:Pe})),re(1)),Na=R(...me("dialog").map(e=>Bo(e,{alert$:xr})),...me("header").map(e=>Xo(e,{viewport$:le,header$:Pe,main$:Ut})),...me("palette").map(e=>ti(e)),...me("search").map(e=>mi(e,{index$:Ua,keyboard$:yr})),...me("source").map(e=>vi(e))),Wa=_e(()=>R(...me("content").map(e=>Yo(e,{target$:gr,viewport$:le,print$:Ti})),...me("header-title").map(e=>Zo(e,{viewport$:le,header$:Pe})),...me("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?cr(Oi,()=>br(e,{viewport$:le,header$:Pe,main$:Ut})):cr(Dt,()=>br(e,{viewport$:le,header$:Pe,main$:Ut}))),...me("tabs").map(e=>gi(e,{viewport$:le,header$:Pe})),...me("toc").map(e=>yi(e,{viewport$:le,header$:Pe})),...me("top").map(e=>xi(e,{viewport$:le,main$:Ut})))),Ai=Je.pipe(E(()=>Wa),Ct(Na),re(1));Ai.subscribe();window.document$=Je;window.location$=vr;window.target$=gr;window.keyboard$=yr;window.viewport$=le;window.tablet$=Dt;window.screen$=Oi;window.print$=Ti;window.alert$=xr;window.component$=Ai;})(); /*! * clipboard.js v2.0.8 * 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.4ea5477f.min.js.map