mkdocs-material/material/assets/javascripts/bundle.4fa4ff07.min.js
2021-11-14 16:09:09 +01:00

30 lines
85 KiB
JavaScript

(()=>{var na=Object.create;var St=Object.defineProperty;var oa=Object.getOwnPropertyDescriptor;var ia=Object.getOwnPropertyNames,wt=Object.getOwnPropertySymbols,aa=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable;var qr=(e,t,n)=>t in e?St(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))sr.call(t,n)&&qr(e,n,t[n]);if(wt)for(var n of wt(t))zr.call(t,n)&&qr(e,n,t[n]);return e};var sa=e=>St(e,"__esModule",{value:!0});var Qr=(e,t)=>{var n={};for(var r in e)sr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&wt)for(var r of wt(e))t.indexOf(r)<0&&zr.call(e,r)&&(n[r]=e[r]);return n};var Et=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ca=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of ia(t))!sr.call(e,r)&&r!=="default"&&St(e,r,{get:()=>t[r],enumerable:!(n=oa(t,r))||n.enumerable});return e},Ke=e=>ca(sa(St(e!=null?na(aa(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Br=Et((cr,Kr)=>{(function(e,t){typeof cr=="object"&&typeof Kr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(cr,function(){"use strict";function e(n){var r=!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(O){return!!(O&&O!==document&&O.nodeName!=="HTML"&&O.nodeName!=="BODY"&&"classList"in O&&"contains"in O.classList)}function l(O){var Ve=O.type,Me=O.tagName;return!!(Me==="INPUT"&&a[Ve]&&!O.readOnly||Me==="TEXTAREA"&&!O.readOnly||O.isContentEditable)}function c(O){O.classList.contains("focus-visible")||(O.classList.add("focus-visible"),O.setAttribute("data-focus-visible-added",""))}function u(O){!O.hasAttribute("data-focus-visible-added")||(O.classList.remove("focus-visible"),O.removeAttribute("data-focus-visible-added"))}function m(O){O.metaKey||O.altKey||O.ctrlKey||(s(n.activeElement)&&c(n.activeElement),r=!0)}function p(O){r=!1}function h(O){!s(O.target)||(r||l(O.target))&&c(O.target)}function b(O){!s(O.target)||(O.target.classList.contains("focus-visible")||O.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(O.target))}function d(O){document.visibilityState==="hidden"&&(o&&(r=!0),D())}function D(){document.addEventListener("mousemove",P),document.addEventListener("mousedown",P),document.addEventListener("mouseup",P),document.addEventListener("pointermove",P),document.addEventListener("pointerdown",P),document.addEventListener("pointerup",P),document.addEventListener("touchmove",P),document.addEventListener("touchstart",P),document.addEventListener("touchend",P)}function B(){document.removeEventListener("mousemove",P),document.removeEventListener("mousedown",P),document.removeEventListener("mouseup",P),document.removeEventListener("pointermove",P),document.removeEventListener("pointerdown",P),document.removeEventListener("pointerup",P),document.removeEventListener("touchmove",P),document.removeEventListener("touchstart",P),document.removeEventListener("touchend",P)}function P(O){O.target.nodeName&&O.target.nodeName.toLowerCase()==="html"||(r=!1,B())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",p,!0),document.addEventListener("pointerdown",p,!0),document.addEventListener("touchstart",p,!0),document.addEventListener("visibilitychange",d,!0),D(),n.addEventListener("focus",h,!0),n.addEventListener("blur",b,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.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(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var bn=Et((ds,_t)=>{/*! *****************************************************************************
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.
***************************************************************************** */var Yr,Jr,Gr,Xr,Zr,en,tn,rn,nn,Ot,lr,on,an,sn,Be,cn,ln,un,pn,fn,mn,dn,hn,Tt;(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(r){e(n(t,n(r)))}):typeof _t=="object"&&typeof _t.exports=="object"?e(n(t,n(_t.exports))):e(n(t));function n(r,o){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])};Yr=function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function i(){this.constructor=r}r.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Jr=Object.assign||function(r){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r},Gr=function(r,o){var i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.indexOf(a)<0&&(i[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(r);s<a.length;s++)o.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(r,a[s])&&(i[a[s]]=r[a[s]]);return i},Xr=function(r,o,i,a){var s=arguments.length,l=s<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,i):a,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(r,o,i,a);else for(var u=r.length-1;u>=0;u--)(c=r[u])&&(l=(s<3?c(l):s>3?c(o,i,l):c(o,i))||l);return s>3&&l&&Object.defineProperty(o,i,l),l},Zr=function(r,o){return function(i,a){o(i,a,r)}},en=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},tn=function(r,o,i,a){function s(l){return l instanceof i?l:new i(function(c){c(l)})}return new(i||(i=Promise))(function(l,c){function u(h){try{p(a.next(h))}catch(b){c(b)}}function m(h){try{p(a.throw(h))}catch(b){c(b)}}function p(h){h.done?l(h.value):s(h.value).then(u,m)}p((a=a.apply(r,o||[])).next())})},rn=function(r,o){var i={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},a,s,l,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(p){return function(h){return m([p,h])}}function m(p){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(l=p[0]&2?s.return:p[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,p[1])).done)return l;switch(s=0,l&&(p=[p[0]&2,l.value]),p[0]){case 0:case 1:l=p;break;case 4:return i.label++,{value:p[1],done:!1};case 5:i.label++,s=p[1],p=[0];continue;case 7:p=i.ops.pop(),i.trys.pop();continue;default:if(l=i.trys,!(l=l.length>0&&l[l.length-1])&&(p[0]===6||p[0]===2)){i=0;continue}if(p[0]===3&&(!l||p[1]>l[0]&&p[1]<l[3])){i.label=p[1];break}if(p[0]===6&&i.label<l[1]){i.label=l[1],l=p;break}if(l&&i.label<l[2]){i.label=l[2],i.ops.push(p);break}l[2]&&i.ops.pop(),i.trys.pop();continue}p=o.call(r,i)}catch(h){p=[6,h],s=0}finally{a=l=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},nn=function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&Tt(o,r,i)},Tt=Object.create?function(r,o,i,a){a===void 0&&(a=i),Object.defineProperty(r,a,{enumerable:!0,get:function(){return o[i]}})}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]},Ot=function(r){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&r[o],a=0;if(i)return i.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},lr=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),s,l=[],c;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)l.push(s.value)}catch(u){c={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(c)throw c.error}}return l},on=function(){for(var r=[],o=0;o<arguments.length;o++)r=r.concat(lr(arguments[o]));return r},an=function(){for(var r=0,o=0,i=arguments.length;o<i;o++)r+=arguments[o].length;for(var a=Array(r),s=0,o=0;o<i;o++)for(var l=arguments[o],c=0,u=l.length;c<u;c++,s++)a[s]=l[c];return a},sn=function(r,o){for(var i=0,a=o.length,s=r.length;i<a;i++,s++)r[s]=o[i];return r},Be=function(r){return this instanceof Be?(this.v=r,this):new Be(r)},cn=function(r,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(r,o||[]),s,l=[];return s={},c("next"),c("throw"),c("return"),s[Symbol.asyncIterator]=function(){return this},s;function c(d){a[d]&&(s[d]=function(D){return new Promise(function(B,P){l.push([d,D,B,P])>1||u(d,D)})})}function u(d,D){try{m(a[d](D))}catch(B){b(l[0][3],B)}}function m(d){d.value instanceof Be?Promise.resolve(d.value.v).then(p,h):b(l[0][2],d)}function p(d){u("next",d)}function h(d){u("throw",d)}function b(d,D){d(D),l.shift(),l.length&&u(l[0][0],l[0][1])}},ln=function(r){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,l){o[s]=r[s]?function(c){return(i=!i)?{value:Be(r[s](c)),done:s==="return"}:l?l(c):c}:l}},un=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],i;return o?o.call(r):(r=typeof Ot=="function"?Ot(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(l){i[l]=r[l]&&function(c){return new Promise(function(u,m){c=r[l](c),s(u,m,c.done,c.value)})}}function s(l,c,u,m){Promise.resolve(m).then(function(p){l({value:p,done:u})},c)}},pn=function(r,o){return Object.defineProperty?Object.defineProperty(r,"raw",{value:o}):r.raw=o,r};var n=Object.create?function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}:function(r,o){r.default=o};fn=function(r){if(r&&r.__esModule)return r;var o={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&Tt(o,r,i);return n(o,r),o},mn=function(r){return r&&r.__esModule?r:{default:r}},dn=function(r,o){if(!o.has(r))throw new TypeError("attempted to get private field on non-instance");return o.get(r)},hn=function(r,o,i){if(!o.has(r))throw new TypeError("attempted to set private field on non-instance");return o.set(r,i),i},e("__extends",Yr),e("__assign",Jr),e("__rest",Gr),e("__decorate",Xr),e("__param",Zr),e("__metadata",en),e("__awaiter",tn),e("__generator",rn),e("__exportStar",nn),e("__createBinding",Tt),e("__values",Ot),e("__read",lr),e("__spread",on),e("__spreadArrays",an),e("__spreadArray",sn),e("__await",Be),e("__asyncGenerator",cn),e("__asyncDelegator",ln),e("__asyncValues",un),e("__makeTemplateObject",pn),e("__importStar",fn),e("__importDefault",mn),e("__classPrivateFieldGet",dn),e("__classPrivateFieldSet",hn)})});var Fr=Et((gt,Hr)=>{/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,n){typeof gt=="object"&&typeof Hr=="object"?Hr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof gt=="object"?gt.ClipboardJS=n():t.ClipboardJS=n()})(gt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return ta}});var a=i(279),s=i.n(a),l=i(370),c=i.n(l),u=i(817),m=i.n(u);function p(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(v){return typeof v}:p=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p(M)}function h(M,g){if(!(M instanceof g))throw new TypeError("Cannot call a class as a function")}function b(M,g){for(var v=0;v<g.length;v++){var C=g[v];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(M,C.key,C)}}function d(M,g,v){return g&&b(M.prototype,g),v&&b(M,v),M}var D=function(){function M(g){h(this,M),this.resolveOptions(g),this.initSelection()}return d(M,[{key:"resolveOptions",value:function(){var v=arguments.length>0&&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:"createFakeElement",value:function(){var v=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[v?"right":"left"]="-9999px";var C=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(C,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var v=this,C=this.createFakeElement();this.fakeHandlerCallback=function(){return v.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(C),this.selectedText=m()(C),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 v;try{v=document.execCommand(this.action)}catch(C){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&&p(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}}]),M}(),B=D;function P(M){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?P=function(v){return typeof v}:P=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},P(M)}function O(M,g){if(!(M instanceof g))throw new TypeError("Cannot call a class as a function")}function Ve(M,g){for(var v=0;v<g.length;v++){var C=g[v];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(M,C.key,C)}}function Me(M,g,v){return g&&Ve(M.prototype,g),v&&Ve(M,v),M}function Qe(M,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");M.prototype=Object.create(g&&g.prototype,{constructor:{value:M,writable:!0,configurable:!0}}),g&&ir(M,g)}function ir(M,g){return ir=Object.setPrototypeOf||function(C,W){return C.__proto__=W,C},ir(M,g)}function Ji(M){var g=Zi();return function(){var C=yt(M),W;if(g){var te=yt(this).constructor;W=Reflect.construct(C,arguments,te)}else W=C.apply(this,arguments);return Gi(this,W)}}function Gi(M,g){return g&&(P(g)==="object"||typeof g=="function")?g:Xi(M)}function Xi(M){if(M===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M}function Zi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(M){return!1}}function yt(M){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},yt(M)}function ar(M,g){var v="data-clipboard-".concat(M);if(!!g.hasAttribute(v))return g.getAttribute(v)}var ea=function(M){Qe(v,M);var g=Ji(v);function v(C,W){var te;return O(this,v),te=g.call(this),te.resolveOptions(W),te.listenClick(C),te}return Me(v,[{key:"resolveOptions",value:function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof W.action=="function"?W.action:this.defaultAction,this.target=typeof W.target=="function"?W.target:this.defaultTarget,this.text=typeof W.text=="function"?W.text:this.defaultText,this.container=P(W.container)==="object"?W.container:document.body}},{key:"listenClick",value:function(W){var te=this;this.listener=c()(W,"click",function(ct){return te.onClick(ct)})}},{key:"onClick",value:function(W){var te=W.delegateTarget||W.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new B({action:this.action(te),target:this.target(te),text:this.text(te),container:this.container,trigger:te,emitter:this})}},{key:"defaultAction",value:function(W){return ar("action",W)}},{key:"defaultTarget",value:function(W){var te=ar("target",W);if(te)return document.querySelector(te)}},{key:"defaultText",value:function(W){return ar("text",W)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],te=typeof W=="string"?[W]:W,ct=!!document.queryCommandSupported;return te.forEach(function(ra){ct=ct&&!!document.queryCommandSupported(ra)}),ct}}]),v}(s()),ta=ea},828:function(r){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,l){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(l))return s;s=s.parentNode}}r.exports=a},438:function(r,o,i){var a=i(828);function s(u,m,p,h,b){var d=c.apply(this,arguments);return u.addEventListener(p,d,b),{destroy:function(){u.removeEventListener(p,d,b)}}}function l(u,m,p,h,b){return typeof u.addEventListener=="function"?s.apply(null,arguments):typeof p=="function"?s.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(d){return s(d,m,p,h,b)}))}function c(u,m,p,h){return function(b){b.delegateTarget=a(b.target,m),b.delegateTarget&&h.call(u,b)}}r.exports=l},879:function(r,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(r,o,i){var a=i(879),s=i(438);function l(p,h,b){if(!p&&!h&&!b)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(b))throw new TypeError("Third argument must be a Function");if(a.node(p))return c(p,h,b);if(a.nodeList(p))return u(p,h,b);if(a.string(p))return m(p,h,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(p,h,b){return p.addEventListener(h,b),{destroy:function(){p.removeEventListener(h,b)}}}function u(p,h,b){return Array.prototype.forEach.call(p,function(d){d.addEventListener(h,b)}),{destroy:function(){Array.prototype.forEach.call(p,function(d){d.removeEventListener(h,b)})}}}function m(p,h,b){return s(document.body,p,h,b)}r.exports=l},817:function(r){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 l=window.getSelection(),c=document.createRange();c.selectNodeContents(i),l.removeAllRanges(),l.addRange(c),a=l.toString()}return a}r.exports=o},279:function(r){function o(){}o.prototype={on:function(i,a,s){var l=this.e||(this.e={});return(l[i]||(l[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var l=this;function c(){l.off(i,c),a.apply(s,arguments)}return c._=a,this.on(i,c,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),l=0,c=s.length;for(l;l<c;l++)s[l].fn.apply(s[l].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),l=s[i],c=[];if(l&&a)for(var u=0,m=l.length;u<m;u++)l[u].fn!==a&&l[u].fn._!==a&&c.push(l[u]);return c.length?s[i]=c:delete s[i],this}},r.exports=o,r.exports.TinyEmitter=o}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return function(){n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,{a:o}),o}}(),function(){n.d=function(r,o){for(var i in o)n.o(o,i)&&!n.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:o[i]})}}(),function(){n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}}(),n(134)}().default})});var Pr=Et((my,Si)=>{/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var Xa=/["'&<>]/;Si.exports=Za;function Za(e){var t=""+e,n=Xa.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o}});var BE=Ke(Br());var vn=Ke(bn()),{__extends:X,__assign:hs,__rest:bs,__decorate:vs,__param:gs,__metadata:xs,__awaiter:gn,__generator:Mt,__exportStar:ys,__createBinding:Ss,__values:pe,__read:F,__spread:ws,__spreadArrays:Es,__spreadArray:$,__await:Lt,__asyncGenerator:xn,__asyncDelegator:Os,__asyncValues:yn,__makeTemplateObject:Ts,__importStar:_s,__importDefault:Ms,__classPrivateFieldGet:Ls,__classPrivateFieldSet:As}=vn.default;function S(e){return typeof e=="function"}function At(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ct=At(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
`+n.map(function(r,o){return o+1+") "+r.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=n}});function Le(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var we=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,n,r,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=pe(a),l=s.next();!l.done;l=s.next()){var c=l.value;c.remove(this)}}catch(d){t={error:d}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else a.remove(this);var u=this.initialTeardown;if(S(u))try{u()}catch(d){i=d instanceof Ct?d.errors:[d]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var p=pe(m),h=p.next();!h.done;h=p.next()){var b=h.value;try{Sn(b)}catch(d){i=i!=null?i:[],d instanceof Ct?i=$($([],F(i)),F(d.errors)):i.push(d)}}}catch(d){r={error:d}}finally{try{h&&!h.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}if(i)throw new Ct(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Sn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(n=this._teardowns)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&Le(n,t)},e.prototype.remove=function(t){var n=this._teardowns;n&&Le(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var ur=we.EMPTY;function kt(e){return e instanceof we||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function Sn(e){S(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ye={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ye.delegate;return((n==null?void 0:n.setTimeout)||setTimeout).apply(void 0,$([],F(e)))},clearTimeout:function(e){var t=Ye.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ht(e){Ye.setTimeout(function(){var t=ye.onUnhandledError;if(t)t(e);else throw e})}function oe(){}var wn=function(){return pr("C",void 0,void 0)}();function En(e){return pr("E",void 0,e)}function On(e){return pr("N",e,void 0)}function pr(e,t,n){return{kind:e,value:t,error:n}}var Ue=null;function Je(e){if(ye.useDeprecatedSynchronousErrorHandling){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var n=Ue,r=n.errorThrown,o=n.error;if(Ue=null,r)throw o}}else e()}function Tn(e){ye.useDeprecatedSynchronousErrorHandling&&Ue&&(Ue.errorThrown=!0,Ue.error=e)}var lt=function(e){X(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,kt(n)&&n.add(r)):r.destination=la,r}return t.create=function(n,r,o){return new ut(n,r,o)},t.prototype.next=function(n){this.isStopped?mr(On(n),this):this._next(n)},t.prototype.error=function(n){this.isStopped?mr(En(n),this):(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped?mr(wn,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(we);var ut=function(e){X(t,e);function t(n,r,o){var i=e.call(this)||this,a;if(S(n))a=n;else if(n){a=n.next,r=n.error,o=n.complete;var s;i&&ye.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=function(){return i.unsubscribe()}):s=n,a=a==null?void 0:a.bind(s),r=r==null?void 0:r.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?fr(a,i):oe,error:fr(r!=null?r:_n,i),complete:o?fr(o,i):oe},i}return t}(lt);function fr(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{e.apply(void 0,$([],F(n)))}catch(o){ye.useDeprecatedSynchronousErrorHandling?Tn(o):Ht(o)}}}function _n(e){throw e}function mr(e,t){var n=ye.onStoppedNotification;n&&Ye.setTimeout(function(){return n(e,t)})}var la={closed:!0,next:oe,error:_n,complete:oe};var Ge=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fe(e){return e}function Mn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return dr(e)}function dr(e){return e.length===0?fe:e.length===1?e[0]:function(n){return e.reduce(function(r,o){return o(r)},n)}}var k=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var o=this,i=pa(t)?t:new ut(t,n,r);return Je(function(){var a=o,s=a.operator,l=a.source;i.add(s?s.call(i,l):l?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Ln(n),new n(function(o,i){var a;a=r.subscribe(function(s){try{t(s)}catch(l){i(l),a==null||a.unsubscribe()}},i,o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Ge]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return dr(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Ln(t),new t(function(r,o){var i;n.subscribe(function(a){return i=a},function(a){return o(a)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Ln(e){var t;return(t=e!=null?e:ye.Promise)!==null&&t!==void 0?t:Promise}function ua(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function pa(e){return e&&e instanceof lt||ua(e)&&kt(e)}function fa(e){return S(e==null?void 0:e.lift)}function x(e){return function(t){if(fa(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}var y=function(e){X(t,e);function t(n,r,o,i,a){var s=e.call(this,n)||this;return s.onFinalize=a,s._next=r?function(l){try{r(l)}catch(c){n.error(c)}}:e.prototype._next,s._error=i?function(l){try{i(l)}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=o?function(){try{o()}catch(l){n.error(l)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n,r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))},t}(lt);var Xe={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=Xe.delegate;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);var o=t(function(i){n=void 0,e(i)});return new we(function(){return n==null?void 0:n(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xe.delegate;return((n==null?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,$([],F(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Xe.delegate;return((n==null?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,$([],F(e)))},delegate:void 0};var An=At(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var E=function(e){X(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Cn(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new An},t.prototype.next=function(n){var r=this;Je(function(){var o,i;if(r._throwIfClosed(),!r.isStopped){var a=r.observers.slice();try{for(var s=pe(a),l=s.next();!l.done;l=s.next()){var c=l.value;c.next(n)}}catch(u){o={error:u}}finally{try{l&&!l.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(n){var r=this;Je(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var o=r.observers;o.length;)o.shift().error(n)}})},t.prototype.complete=function(){var n=this;Je(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,o=r.hasError,i=r.isStopped,a=r.observers;return o||i?ur:(a.push(n),new we(function(){return Le(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,i=r.thrownError,a=r.isStopped;o?n.error(i):a&&n.complete()},t.prototype.asObservable=function(){var n=new k;return n.source=this,n},t.create=function(n,r){return new Cn(n,r)},t}(k);var Cn=function(e){X(t,e);function t(n,r){var o=e.call(this)||this;return o.destination=n,o.source=r,o}return t.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},t.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:ur},t}(E);var pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0};var ft=function(e){X(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=pt);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,o=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,s=r._timestampProvider,l=r._windowTime;o||(i.push(n),!a&&i.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),l=0;l<s.length&&!n.closed;l+=i?1:2)n.next(s[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,o=n._timestampProvider,i=n._buffer,a=n._infiniteTimeWindow,s=(a?1:2)*r;if(r<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var l=o.now(),c=0,u=1;u<i.length&&i[u]<=l;u+=2)c=u;c&&i.splice(0,c+1)}},t}(E);var kn=function(e){X(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return r===void 0&&(r=0),this},t}(we);var mt={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=mt.delegate;return((n==null?void 0:n.setInterval)||setInterval).apply(void 0,$([],F(e)))},clearInterval:function(e){var t=mt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var Ft=function(e){X(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o.pending=!1,o}return t.prototype.schedule=function(n,r){if(r===void 0&&(r=0),this.closed)return this;this.state=n;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(i,this.id,r),this},t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),mt.setInterval(n.flush.bind(n,this),o)},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return r;mt.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,r);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var o=!1,i;try{this.work(n)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,o=n.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Le(i,this),r!=null&&(this.id=this.recycleAsyncId(o,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(kn);var hr=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=pt.now,e}();var Rt=function(e){X(t,e);function t(n,r){r===void 0&&(r=hr.now);var o=e.call(this,n,r)||this;return o.actions=[],o._active=!1,o._scheduled=void 0,o}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var o;this._active=!0;do if(o=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,o){for(;n=r.shift();)n.unsubscribe();throw o}},t}(hr);var ke=new Rt(Ft),br=ke;var Hn=function(e){X(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o}return t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=Xe.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,o);n.actions.length===0&&(Xe.cancelAnimationFrame(r),n._scheduled=void 0)},t}(Ft);var Fn=function(e){X(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0,this._scheduled=void 0;var r=this.actions,o,i=-1;n=n||r.shift();var a=r.length;do if(o=n.execute(n.state,n.delay))break;while(++i<a&&(n=r.shift()));if(this._active=!1,o){for(;++i<a&&(n=r.shift());)n.unsubscribe();throw o}},t}(Rt);var Z=new Fn(Hn);var me=new k(function(e){return e.complete()});function It(e){return e&&S(e.schedule)}function vr(e){return e[e.length-1]}function He(e){return S(vr(e))?e.pop():void 0}function xe(e){return It(vr(e))?e.pop():void 0}function jt(e,t){return typeof vr(e)=="number"?e.pop():t}var Ze=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function $t(e){return S(e==null?void 0:e.then)}function Pt(e){return S(e[Ge])}function Wt(e){return Symbol.asyncIterator&&S(e==null?void 0:e[Symbol.asyncIterator])}function Vt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function ma(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ut=ma();function Dt(e){return S(e==null?void 0:e[Ut])}function Nt(e){return xn(this,arguments,function(){var n,r,o,i;return Mt(this,function(a){switch(a.label){case 0:n=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,Lt(n.read())];case 3:return r=a.sent(),o=r.value,i=r.done,i?[4,Lt(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,Lt(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function zt(e){return S(e==null?void 0:e.getReader)}function V(e){if(e instanceof k)return e;if(e!=null){if(Pt(e))return da(e);if(Ze(e))return ha(e);if($t(e))return ba(e);if(Wt(e))return Rn(e);if(Dt(e))return va(e);if(zt(e))return ga(e)}throw Vt(e)}function da(e){return new k(function(t){var n=e[Ge]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ha(e){return new k(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ba(e){return new k(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,Ht)})}function va(e){return new k(function(t){var n,r;try{for(var o=pe(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}t.complete()})}function Rn(e){return new k(function(t){xa(e,t).catch(function(n){return t.error(n)})})}function ga(e){return Rn(Nt(e))}function xa(e,t){var n,r,o,i;return gn(this,void 0,void 0,function(){var a,s;return Mt(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=yn(e),l.label=1;case 1:return[4,n.next()];case 2:if(r=l.sent(),!!r.done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),o={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function le(e,t,n,r,o){r===void 0&&(r=0),o===void 0&&(o=!1);var i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function q(e,t){return t===void 0&&(t=0),x(function(n,r){n.subscribe(new y(r,function(o){return le(r,e,function(){return r.next(o)},t)},function(){return le(r,e,function(){return r.complete()},t)},function(o){return le(r,e,function(){return r.error(o)},t)}))})}function qt(e,t){return t===void 0&&(t=0),x(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function In(e,t){return V(e).pipe(qt(t),q(t))}function jn(e,t){return V(e).pipe(qt(t),q(t))}function $n(e,t){return new k(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Pn(e,t){return new k(function(n){var r;return le(n,t,function(){r=e[Ut](),le(n,t,function(){var o,i,a;try{o=r.next(),i=o.value,a=o.done}catch(s){n.error(s);return}a?n.complete():n.next(i)},0,!0)}),function(){return S(r==null?void 0:r.return)&&r.return()}})}function Qt(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(function(n){le(n,t,function(){var r=e[Symbol.asyncIterator]();le(n,t,function(){r.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function Wn(e,t){return Qt(Nt(e),t)}function Vn(e,t){if(e!=null){if(Pt(e))return In(e,t);if(Ze(e))return $n(e,t);if($t(e))return jn(e,t);if(Wt(e))return Qt(e,t);if(Dt(e))return Pn(e,t);if(zt(e))return Wn(e,t)}throw Vt(e)}function re(e,t){return t?Vn(e,t):V(e)}function H(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xe(e);return re(e,n)}function Un(e){return e instanceof Date&&!isNaN(e)}function f(e,t){return x(function(n,r){var o=0;n.subscribe(new y(r,function(i){r.next(e.call(t,i,o++))}))})}var ya=Array.isArray;function Sa(e,t){return ya(t)?e.apply(void 0,$([],F(t))):e(t)}function Fe(e){return f(function(t){return Sa(e,t)})}var wa=Array.isArray,Ea=Object.getPrototypeOf,Oa=Object.prototype,Ta=Object.keys;function Dn(e){if(e.length===1){var t=e[0];if(wa(t))return{args:t,keys:null};if(_a(t)){var n=Ta(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function _a(e){return e&&typeof e=="object"&&Ea(e)===Oa}function Nn(e,t){return e.reduce(function(n,r,o){return n[r]=t[o],n},{})}function K(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xe(e),r=He(e),o=Dn(e),i=o.args,a=o.keys;if(i.length===0)return re([],n);var s=new k(gr(i,n,a?function(l){return Nn(a,l)}:fe));return r?s.pipe(Fe(r)):s}function gr(e,t,n){return n===void 0&&(n=fe),function(r){zn(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,l=function(u){zn(t,function(){var m=re(e[u],t),p=!1;m.subscribe(new y(r,function(h){i[u]=h,p||(p=!0,s--),s||r.next(n(i.slice()))},function(){--a||r.complete()}))},r)},c=0;c<o;c++)l(c)},r)}}function zn(e,t,n){e?le(n,e,t):t()}function qn(e,t,n,r,o,i,a,s){var l=[],c=0,u=0,m=!1,p=function(){m&&!l.length&&!c&&t.complete()},h=function(d){return c<r?b(d):l.push(d)},b=function(d){i&&t.next(d),c++;var D=!1;V(n(d,u++)).subscribe(new y(t,function(B){o==null||o(B),i?h(B):t.next(B)},function(){D=!0},void 0,function(){if(D)try{c--;for(var B=function(){var P=l.shift();a?le(t,a,function(){return b(P)}):b(P)};l.length&&c<r;)B();p()}catch(P){t.error(P)}}))};return e.subscribe(new y(t,h,function(){m=!0,p()})),function(){s==null||s()}}function ie(e,t,n){return n===void 0&&(n=1/0),S(t)?ie(function(r,o){return f(function(i,a){return t(r,i,o,a)})(V(e(r,o)))},n):(typeof t=="number"&&(n=t),x(function(r,o){return qn(r,o,e,n)}))}function et(e){return e===void 0&&(e=1/0),ie(fe,e)}function Qn(){return et(1)}function dt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Qn()(re(e,xe(e)))}function de(e){return new k(function(t){V(e()).subscribe(t)})}var Ma=["addListener","removeListener"],La=["addEventListener","removeEventListener"],Aa=["on","off"];function w(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return w(e,t,n).pipe(Fe(r));var o=F(Ha(e)?La.map(function(s){return function(l){return e[s](t,l,n)}}):Ca(e)?Ma.map(Kn(e,t)):ka(e)?Aa.map(Kn(e,t)):[],2),i=o[0],a=o[1];if(!i&&Ze(e))return ie(function(s){return w(s,t,n)})(V(e));if(!i)throw new TypeError("Invalid event target");return new k(function(s){var l=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return s.next(1<c.length?c:c[0])};return i(l),function(){return a(l)}})}function Kn(e,t){return function(n){return function(r){return e[n](t,r)}}}function Ca(e){return S(e.addListener)&&S(e.removeListener)}function ka(e){return S(e.on)&&S(e.off)}function Ha(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Kt(e,t,n){return n?Kt(e,t).pipe(Fe(n)):new k(function(r){var o=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return r.next(a.length===1?a[0]:a)},i=e(o);return S(t)?function(){return t(o,i)}:void 0})}function Bn(e,t,n){e===void 0&&(e=0),n===void 0&&(n=br);var r=-1;return t!=null&&(It(t)?n=t:r=t),new k(function(o){var i=Un(e)?+e-n.now():e;i<0&&(i=0);var a=0;return n.schedule(function(){o.closed||(o.next(a++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xe(e),r=jt(e,1/0),o=e;return o.length?o.length===1?V(o[0]):et(r)(re(o,n)):me}var Y=new k(oe);var Fa=Array.isArray;function tt(e){return e.length===1&&Fa(e[0])?e[0]:e}function T(e,t){return x(function(n,r){var o=0;n.subscribe(new y(r,function(i){return e.call(t,i,o++)&&r.next(i)}))})}function ht(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=He(e),r=tt(e);return r.length?new k(function(o){var i=r.map(function(){return[]}),a=r.map(function(){return!1});o.add(function(){i=a=null});for(var s=function(c){V(r[c]).subscribe(new y(o,function(u){if(i[c].push(u),i.every(function(p){return p.length})){var m=i.map(function(p){return p.shift()});o.next(n?n.apply(void 0,$([],F(m))):m),i.some(function(p,h){return!p.length&&a[h]})&&o.complete()}},function(){a[c]=!0,!i[c].length&&o.complete()}))},l=0;!o.closed&&l<r.length;l++)s(l);return function(){i=a=null}}):me}function Se(e,t){return t===void 0&&(t=null),t=t!=null?t:e,x(function(n,r){var o=[],i=0;n.subscribe(new y(r,function(a){var s,l,c,u,m=null;i++%t==0&&o.push([]);try{for(var p=pe(o),h=p.next();!h.done;h=p.next()){var b=h.value;b.push(a),e<=b.length&&(m=m!=null?m:[],m.push(b))}}catch(B){s={error:B}}finally{try{h&&!h.done&&(l=p.return)&&l.call(p)}finally{if(s)throw s.error}}if(m)try{for(var d=pe(m),D=d.next();!D.done;D=d.next()){var b=D.value;Le(o,b),r.next(b)}}catch(B){c={error:B}}finally{try{D&&!D.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}},function(){var a,s;try{for(var l=pe(o),c=l.next();!c.done;c=l.next()){var u=c.value;r.next(u)}}catch(m){a={error:m}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(a)throw a.error}}r.complete()},void 0,function(){o=null}))})}function Re(e){return x(function(t,n){var r=null,o=!1,i;r=t.subscribe(new y(n,void 0,void 0,function(a){i=V(e(a,Re(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Yn(e,t,n,r,o){return function(i,a){var s=n,l=t,c=0;i.subscribe(new y(a,function(u){var m=c++;l=s?e(l,u,m):(s=!0,u),r&&a.next(l)},o&&function(){s&&a.next(l),a.complete()}))}}function xr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=He(e);return n?Mn(xr.apply(void 0,$([],F(e))),Fe(n)):x(function(r,o){gr($([r],F(tt(e))))(o)})}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return xr.apply(void 0,$([],F(e)))}function yr(e,t){return S(t)?ie(e,t,1):ie(e,1)}function Sr(e,t){return t===void 0&&(t=ke),x(function(n,r){var o=null,i=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var c=i;i=null,r.next(c)}};function l(){var c=a+e,u=t.now();if(u<c){o=this.schedule(void 0,c-u),r.add(o);return}s()}n.subscribe(new y(r,function(c){i=c,a=t.now(),o||(o=t.schedule(l,e),r.add(o))},function(){s(),r.complete()},void 0,function(){i=o=null}))})}function De(e){return x(function(t,n){var r=!1;t.subscribe(new y(n,function(o){r=!0,n.next(o)},function(){r||n.next(e),n.complete()}))})}function ue(e){return e<=0?function(){return me}:x(function(t,n){var r=0;t.subscribe(new y(n,function(o){++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jn(){return x(function(e,t){e.subscribe(new y(t,oe))})}function se(e){return f(function(){return e})}function wr(e,t){return t?function(n){return dt(t.pipe(ue(1),Jn()),n.pipe(wr(e)))}:ie(function(n,r){return e(n,r).pipe(ue(1),se(n))})}function Ae(e,t){t===void 0&&(t=ke);var n=Bn(e,t);return wr(function(){return n})}function Q(e,t){return t===void 0&&(t=fe),e=e!=null?e:Ra,x(function(n,r){var o,i=!0;n.subscribe(new y(r,function(a){var s=t(a);(i||!e(o,s))&&(i=!1,o=s,r.next(a))}))})}function Ra(e,t){return e===t}function z(e,t){return Q(function(n,r){return t?t(n[e],r[e]):n[e]===r[e]})}function R(e){return x(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Er(e){return e<=0?function(){return me}:x(function(t,n){var r=[];t.subscribe(new y(n,function(o){r.push(o),e<r.length&&r.shift()},function(){var o,i;try{for(var a=pe(r),s=a.next();!s.done;s=a.next()){var l=s.value;n.next(l)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}n.complete()},void 0,function(){r=null}))})}function Gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xe(e),r=jt(e,1/0);return e=tt(e),x(function(o,i){et(r)(re($([o],F(e)),n)).subscribe(i)})}function Ne(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gn.apply(void 0,$([],F(e)))}function rt(e){return x(function(t,n){var r=!1,o=null;t.subscribe(new y(n,function(a){r=!0,o=a}));var i=function(){if(r){r=!1;var a=o;o=null,n.next(a)}};e.subscribe(new y(n,i,oe))})}function Or(e,t){return x(Yn(e,t,arguments.length>=2,!0))}function he(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new E}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,l=s===void 0?!0:s;return function(c){var u=null,m=null,p=null,h=0,b=!1,d=!1,D=function(){m==null||m.unsubscribe(),m=null},B=function(){D(),u=p=null,b=d=!1},P=function(){var O=u;B(),O==null||O.unsubscribe()};return x(function(O,Ve){h++,!d&&!b&&D();var Me=p=p!=null?p:n();Ve.add(function(){h--,h===0&&!d&&!b&&(m=Tr(P,l))}),Me.subscribe(Ve),u||(u=new ut({next:function(Qe){return Me.next(Qe)},error:function(Qe){d=!0,D(),m=Tr(B,o,Qe),Me.error(Qe)},complete:function(){b=!0,D(),m=Tr(B,a),Me.complete()}}),re(O).subscribe(u))})(c)}}function Tr(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return t===!0?(e(),null):t===!1?null:t.apply(void 0,$([],F(n))).pipe(ue(1)).subscribe(function(){return e()})}function J(e,t,n){var r,o,i,a=!1;return e&&typeof e=="object"?(i=(r=e.bufferSize)!==null&&r!==void 0?r:1/0,t=(o=e.windowTime)!==null&&o!==void 0?o:1/0,a=!!e.refCount,n=e.scheduler):i=e!=null?e:1/0,he({connector:function(){return new ft(i,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Bt(e){return T(function(t,n){return e<=n})}function bt(e){return x(function(t,n){var r=!1,o=new y(n,function(){o==null||o.unsubscribe(),r=!0},oe);V(e).subscribe(o),t.subscribe(new y(n,function(i){return r&&n.next(i)}))})}function U(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=xe(e);return x(function(r,o){(n?dt(e,r,n):dt(e,r)).subscribe(o)})}function _(e,t){return x(function(n,r){var o=null,i=0,a=!1,s=function(){return a&&!o&&r.complete()};n.subscribe(new y(r,function(l){o==null||o.unsubscribe();var c=0,u=i++;V(e(l,u)).subscribe(o=new y(r,function(m){return r.next(t?t(l,m,u,c++):m)},function(){o=null,s()}))},function(){a=!0,s()}))})}function _r(e,t){return S(t)?_(function(){return e},t):_(function(){return e})}function Mr(e){return x(function(t,n){V(e).subscribe(new y(n,function(){return n.complete()},oe)),!n.closed&&t.subscribe(n)})}function vt(e,t){return t===void 0&&(t=!1),x(function(n,r){var o=0;n.subscribe(new y(r,function(i){var a=e(i,o++);(a||t)&&r.next(i),!a&&r.complete()}))})}function L(e,t,n){var r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?x(function(o,i){var a;(a=r.subscribe)===null||a===void 0||a.call(r);var s=!0;o.subscribe(new y(i,function(l){var c;(c=r.next)===null||c===void 0||c.call(r,l),i.next(l)},function(){var l;s=!1,(l=r.complete)===null||l===void 0||l.call(r),i.complete()},function(l){var c;s=!1,(c=r.error)===null||c===void 0||c.call(r,l),i.error(l)},function(){var l,c;s&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):fe}var Ia={leading:!0,trailing:!1};function Lr(e,t){var n=t===void 0?Ia:t,r=n.leading,o=n.trailing;return x(function(i,a){var s=!1,l=null,c=null,u=!1,m=function(){c==null||c.unsubscribe(),c=null,o&&(b(),u&&a.complete())},p=function(){c=null,u&&a.complete()},h=function(d){return c=V(e(d)).subscribe(new y(a,m,p))},b=function(){if(s){s=!1;var d=l;l=null,a.next(d),!u&&h(d)}};i.subscribe(new y(a,function(d){s=!0,l=d,!(c&&!c.closed)&&(r?b():h(d))},function(){u=!0,!(o&&s&&c&&!c.closed)&&a.complete()}))})}function be(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=He(e);return x(function(r,o){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),l=!1,c=function(m){V(e[m]).subscribe(new y(o,function(p){a[m]=p,!l&&!s[m]&&(s[m]=!0,(l=s.every(fe))&&(s=null))},oe))},u=0;u<i;u++)c(u);r.subscribe(new y(o,function(m){if(l){var p=$([m],F(a));o.next(n?n.apply(void 0,$([],F(p))):p)}}))})}function Xn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return x(function(n,r){ht.apply(void 0,$([n],F(e))).subscribe(r)})}function Ar(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xn.apply(void 0,$([],F(e)))}function Zn(){let e=new ft(1);return w(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function N(e,t=document){return Array.from(t.querySelectorAll(e))}function ee(e,t=document){let n=ce(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function ce(e,t=document){return t.querySelector(e)||void 0}function ze(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Ee(e,t=!0){t?e.focus():e.blur()}function eo(e){return j(w(e,"focus"),w(e,"blur")).pipe(f(({type:t})=>t==="focus"),U(e===ze()))}function to(e){return{x:e.offsetLeft,y:e.offsetTop}}function ro(e){return{x:e.scrollLeft,y:e.scrollTop}}function no(e){return j(w(e,"scroll"),w(window,"resize")).pipe(f(()=>ro(e)),U(ro(e)))}function oo(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var io=new E,ja=de(()=>H(new ResizeObserver(e=>{for(let t of e)io.next(t)}))).pipe(_(e=>Y.pipe(U(e)).pipe(R(()=>e.disconnect()))),J(1));function je(e){return{width:e.offsetWidth,height:e.offsetHeight}}function $e(e){return ja.pipe(L(t=>t.observe(e)),_(t=>io.pipe(T(({target:n})=>n===e),R(()=>t.unobserve(e)),f(()=>je(e)))),U(je(e)))}function Yt(e){return{width:e.scrollWidth,height:e.scrollHeight}}var $a=new E,yb=de(()=>H(new IntersectionObserver(e=>{for(let t of e)$a.next(t)},{threshold:1}))).pipe(_(e=>Y.pipe(U(e)).pipe(R(()=>e.disconnect()))),J(1));function ao(e,t=16){return no(e).pipe(f(({y:n})=>{let r=je(e),o=Yt(e);return n>=o.height-r.height-t}),Q())}var Jt={drawer:ee("[data-md-toggle=drawer]"),search:ee("[data-md-toggle=search]")};function so(e){return Jt[e].checked}function Pe(e,t){Jt[e].checked!==t&&Jt[e].click()}function Gt(e){let t=Jt[e];return w(t,"change").pipe(f(()=>t.checked),U(t.checked))}function Pa(e,t){switch(e.constructor){case HTMLInputElement:return e.type==="radio"?/^Arrow/.test(t):!0;case HTMLSelectElement:case HTMLTextAreaElement:return!0;default:return e.isContentEditable}}function co(){return w(window,"keydown").pipe(T(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:so("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),T(({mode:e,type:t})=>{if(e==="global"){let n=ze();if(typeof n!="undefined")return!Pa(n,t)}return!0}),he())}function Oe(){return new URL(location.href)}function lo(e){location.href=e.href}function uo(){return new E}function po(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 n of t)po(e,n)}function A(e,t,...n){let r=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?r.setAttribute(o,t[o]):t[o]&&r.setAttribute(o,"");for(let o of n)po(r,o);return r}function fo(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}return e}function Xt(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function mo(){return location.hash.substring(1)}function ho(e){let t=A("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function Wa(){return w(window,"hashchange").pipe(f(mo),U(mo()),T(e=>e.length>0),J(1))}function bo(){return Wa().pipe(f(e=>ce(`[id="${e}"]`)),T(e=>typeof e!="undefined"))}function nt(e){let t=matchMedia(e);return Kt(n=>t.addListener(()=>n(t.matches))).pipe(U(t.matches))}function vo(){return j(w(window,"beforeprint").pipe(se(!0)),w(window,"afterprint").pipe(se(!1)))}function Cr(e,t){return e.pipe(_(n=>n?t():Y))}function Zt(e,t={credentials:"same-origin"}){return re(fetch(`${e}`,t)).pipe(T(n=>n.status===200),Re(()=>me))}function Te(e,t){return Zt(e,t).pipe(_(n=>n.json()),J(1))}function go(e,t){let n=new DOMParser;return Zt(e,t).pipe(_(r=>r.text()),f(r=>n.parseFromString(r,"text/xml")),J(1))}function xo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function kr({x:e,y:t}){window.scrollTo(e||0,t||0)}function yo(){return j(w(window,"scroll",{passive:!0}),w(window,"resize",{passive:!0})).pipe(f(xo),U(xo()))}function So(){return{width:innerWidth,height:innerHeight}}function wo(){return w(window,"resize",{passive:!0}).pipe(f(So),U(So()))}function Eo(){return K([yo(),wo()]).pipe(f(([e,t])=>({offset:e,size:t})),J(1))}function er(e,{viewport$:t,header$:n}){let r=t.pipe(z("size")),o=K([r,n]).pipe(f(()=>to(e)));return K([n,t,o]).pipe(f(([{height:i},{offset:a,size:s},{x:l,y:c}])=>({offset:{x:a.x-l,y:a.y-c+i},size:s})))}function Oo(e,{tx$:t}){let n=w(e,"message").pipe(f(({data:r})=>r));return t.pipe(Lr(()=>n,{leading:!0,trailing:!0}),L(r=>e.postMessage(r)),_r(n),he())}var Va=ee("#__config"),ot=JSON.parse(Va.textContent);ot.base=`${new URL(ot.base,Oe())}`;function ve(){return ot}function ae(e){return ot.features.includes(e)}function G(e,t){return typeof t!="undefined"?ot.translations[e].replace("#",t.toString()):ot.translations[e]}function _e(e,t=document){return ee(`[data-md-component=${e}]`,t)}function ne(e,t=document){return N(`[data-md-component=${e}]`,t)}var ai=Ke(Fr());function tr(e,t=0){e.setAttribute("tabindex",t.toString())}function xt(e){e.removeAttribute("tabindex")}function To(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function _o(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function Mo(e,t){e.setAttribute("data-md-state",t)}function Lo(e){e.removeAttribute("data-md-state")}function Ao(e,t){e.classList.toggle("md-nav__link--active",t)}function Co(e){e.classList.remove("md-nav__link--active")}function ko(e,t){e.firstElementChild.innerHTML=t}function Ho(e,t){e.setAttribute("data-md-state",t)}function Fo(e){e.removeAttribute("data-md-state")}function Ro(e,t){e.setAttribute("data-md-state",t)}function Io(e){e.removeAttribute("data-md-state")}function jo(e,t){e.setAttribute("data-md-state",t)}function $o(e){e.removeAttribute("data-md-state")}function Po(e,t){e.placeholder=t}function Wo(e){e.placeholder=G("search.placeholder")}function Vo(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",Xt(t))}}function Uo(e){e.textContent=G("search.result.placeholder")}function Do(e,t){e.appendChild(t)}function No(e){e.innerHTML=""}function zo(e,t){e.style.top=`${t}px`}function qo(e){e.style.top=""}function Qo(e,t){let n=e.firstElementChild;n.style.height=`${t-2*n.offsetTop}px`}function Ko(e){let t=e.firstElementChild;t.style.height=""}function Bo(e,t){e.lastElementChild.appendChild(t)}function Yo(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Jo(e,t){e.setAttribute("data-md-state",t)}function Rr(e){e.removeAttribute("data-md-state")}function Go(e,t){e.setAttribute("data-md-state",t)}function Ir(e){e.removeAttribute("data-md-state")}function Xo(e,t){e.style.top=`${t}px`}function Zo(e){e.style.top=""}function ei(e){return A("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function ti(e,t){return A("aside",{class:"md-annotation","data-index":e,tabIndex:0},A("div",{class:"md-tooltip"},A("div",{class:"md-tooltip__inner md-typeset"},Array.from(t))),A("span",{class:"md-annotation__index"},e))}var qe;(function(n){n[n.TEASER=1]="TEASER",n[n.PARENT=2]="PARENT"})(qe||(qe={}));function jr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[A("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return ae("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),A("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},A("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&A("div",{class:"md-search-result__icon md-icon"}),A("h1",{class:"md-search-result__title"},e.title),r>0&&e.text.length>0&&A("p",{class:"md-search-result__teaser"},fo(e.text,320)),r>0&&o.length>0&&A("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function ri(e){let t=e[0].score,n=[...e],r=n.findIndex(c=>!c.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(c=>c.score<t);i===-1&&(i=n.length);let a=n.slice(0,i),s=n.slice(i),l=[jr(o,2|+(!r&&i===0)),...a.map(c=>jr(c,1)),...s.length?[A("details",{class:"md-search-result__more"},A("summary",{tabIndex:-1},s.length>0&&s.length===1?G("search.result.more.one"):G("search.result.more.other",s.length)),s.map(c=>jr(c,1)))]:[]];return A("li",{class:"md-search-result__item"},l)}function ni(e){return A("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>A("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?Xt(n):n)))}function oi(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function Ua(e){let t=ve(),n=new URL(`../${e.version}/`,t.base);return A("li",{class:"md-version__item"},A("a",{href:n.toString(),class:"md-version__link"},e.title))}function ii(e,t){return A("div",{class:"md-version"},A("button",{class:"md-version__current","aria-label":G("select.version.title")},t.title),A("ul",{class:"md-version__list"},e.map(Ua)))}var Da=0;function Na(e,{viewport$:t,print$:n}){let r=H(e).pipe(_(a=>{let s=a.closest("[data-tabs]");return s instanceof HTMLElement?j(...N(":scope > input",s).map(l=>w(l,"change"))):Y})),o=[],i=e.closest(".highlighttable")||e.closest(".highlight");if(i){let a=i.nextElementSibling;if(a instanceof HTMLOListElement&&(i.classList.contains("annotate")||ae("content.code.annotate"))){let s=Array.from(a.children);a.remove();for(let l of N(".c, .c1, .cm",e)){let c,u=l.firstChild;do if(c=/\((\d+)\)/.exec(u.textContent),c&&c.index){let m=u.splitText(c.index);u=m.splitText(c[0].length);let[,p=-1]=c,h=s[+p-1];if(typeof h!="undefined"){let b=ti(+p,h.childNodes);m.replaceWith(b),o.push(b)}}while(c)}n.subscribe(l=>{if(l){i.insertAdjacentElement("afterend",a);for(let c of o){let u=parseInt(c.getAttribute("data-index"),10),m=ce(":scope .md-typeset",c);s[u-1].append(...Array.from(m.childNodes))}}else{a.remove();for(let c of o){let u=parseInt(c.getAttribute("data-index"),10),m=s[u-1].childNodes;ee(":scope .md-typeset",c).append(...Array.from(m))}}})}}return t.pipe(z("size"),Ne(r),f(()=>{let a=je(e),s=Yt(e);return I({scroll:s.width>a.width},o.length&&{annotations:o})}),z("scroll"))}function si(e,t){let n=new E;if(n.pipe(be(nt("(hover)"))).subscribe(([{scroll:r},o])=>{r&&o?tr(e):xt(e)}),n.pipe(ue(1),vt(({annotations:r})=>!!(r==null?void 0:r.length)),f(({annotations:r})=>r.map(o=>ee(".md-tooltip",o))),Ie(viewport$.pipe(z("size")))).subscribe(([r,{size:o}])=>{for(let i of r){let{x:a,width:s}=i.getBoundingClientRect();a+s>o.width?i.classList.add("md-tooltip--end"):i.classList.remove("md-tooltip--end")}}),ai.default.isSupported()){let r=e.closest("pre");r.id=`__code_${++Da}`,r.insertBefore(ei(r.id),e)}return Na(e,t).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}function za(e,{target$:t,print$:n}){let r=!1;return j(t.pipe(f(o=>o.closest("details:not([open])")),T(o=>e===o),se({action:"open",scroll:!0})),n.pipe(T(o=>o||!r),L(()=>r=e.open),f(o=>({action:o?"open":"close"}))))}function ci(e,t){let n=new E;return n.subscribe(({action:r,scroll:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),za(e,t).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}var li=A("table");function ui(e){return e.replaceWith(li),li.replaceWith(oi(e)),H({ref:e})}function qa(e){return j(...N(":scope > input",e).map(t=>w(t,"change").pipe(se(t.id)))).pipe(f(t=>({active:ee(`label[for=${t}]`)})))}function pi(e){let t=new E;return t.subscribe(({active:n})=>{let r=n.parentElement;(n.offsetLeft+n.offsetWidth>r.scrollLeft+r.offsetWidth||n.offsetLeft<r.scrollLeft)&&r.scrollTo({behavior:"smooth",left:n.offsetLeft})}),qa(e).pipe(L(n=>t.next(n)),R(()=>t.complete()),f(n=>I({ref:e},n)))}function fi(e,{target$:t,viewport$:n,hover$:r,print$:o}){return j(...N("pre > code",e).map(i=>si(i,{viewport$:n,hover$:r,print$:o})),...N("table:not([class])",e).map(i=>ui(i)),...N("details",e).map(i=>ci(i,{target$:t,print$:o})),...N("[data-tabs]",e).map(i=>pi(i)))}function Qa(e,{alert$:t}){return t.pipe(_(n=>j(H(!0),H(!1).pipe(Ae(2e3))).pipe(f(r=>({message:n,open:r})))))}function mi(e,t){let n=new E;return n.pipe(q(Z)).subscribe(({message:r,open:o})=>{ko(e,r),o?Ho(e,"open"):Fo(e)}),Qa(e,t).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}function Ka({viewport$:e}){if(!ae("header.autohide"))return H(!1);let t=e.pipe(f(({offset:{y:o}})=>o),Se(2,1),f(([o,i])=>[o<i,i]),z(0)),n=K([e,t]).pipe(T(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),f(([,[o]])=>o),Q()),r=Gt("search");return K([e,r]).pipe(f(([{offset:o},i])=>o.y>400&&!i),Q(),_(o=>o?n:H(!1)),U(!1))}function di(e,t){return de(()=>{let n=getComputedStyle(e);return H(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(Ie($e(e),Ka(t)),f(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),Q((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),J(1))}function hi(e,{header$:t,main$:n}){let r=new E;return r.pipe(z("active"),Ie(t),q(Z)).subscribe(([{active:o},{hidden:i}])=>{o?Ro(e,i?"hidden":"shadow"):Io(e)}),n.subscribe(o=>r.next(o)),t.pipe(f(o=>I({ref:e},o)))}function Ba(e,{viewport$:t,header$:n}){return er(e,{header$:n,viewport$:t}).pipe(f(({offset:{y:r}})=>{let{height:o}=je(e);return{active:r>=o}}),z("active"))}function bi(e,t){let n=new E;n.pipe(q(Z)).subscribe(({active:o})=>{o?jo(e,"active"):$o(e)});let r=ce("article h1");return typeof r=="undefined"?Y:Ba(r,t).pipe(L(o=>n.next(o)),R(()=>n.complete()),f(o=>I({ref:e},o)))}function vi(e,{viewport$:t,header$:n}){let r=n.pipe(f(({height:i})=>i),Q()),o=r.pipe(_(()=>$e(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),z("bottom"))));return K([r,o,t]).pipe(f(([i,{top:a,bottom:s},{offset:{y:l},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-l,i)-Math.max(0,c+l-s)),{offset:a-i,height:c,active:a-i<=l})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function Ya(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)},n=H(...e).pipe(ie(r=>w(r,"change").pipe(se(r))),U(e[Math.max(0,t.index)]),f(r=>({index:e.indexOf(r),color:{scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),J(1));return n.subscribe(r=>{__md_set("__palette",r)}),n}function gi(e){let t=new E;t.subscribe(r=>{for(let[o,i]of Object.entries(r.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;o<n.length;o++){let i=n[o].nextElementSibling;i instanceof HTMLElement&&(i.hidden=r.index!==o)}});let n=N("input",e);return Ya(n).pipe(L(r=>t.next(r)),R(()=>t.complete()),f(r=>I({ref:e},r)))}var $r=Ke(Fr());function Ja(e){let t=N(".md-annotation",e);for(let r of t)r.hidden=!0;let n=e.innerText;for(let r of t)r.hidden=!1;return n}function xi({alert$:e}){$r.default.isSupported()&&new k(t=>{new $r.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ja(ee(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).subscribe(()=>e.next(G("clipboard.copied")))}function Ga(e){if(e.length<2)return e;let[t,n]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;let o=ve();return e.map(i=>i.replace(t.slice(0,r),o.base))}function yi({document$:e,location$:t,viewport$:n}){let r=ve();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",w(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ce("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=go(new URL("sitemap.xml",r.base)).pipe(f(c=>Ga(N("loc",c).map(u=>u.textContent))),_(c=>w(document.body,"click").pipe(T(u=>!u.metaKey&&!u.ctrlKey),_(u=>{if(u.target instanceof Element){let m=u.target.closest("a");if(m&&!m.target){let p=new URL(m.href);if(p.search="",p.hash="",p.pathname!==location.pathname&&c.includes(p.toString()))return u.preventDefault(),H({url:new URL(m.href)})}}return Y}))),he()),a=w(window,"popstate").pipe(T(c=>c.state!==null),f(c=>({url:new URL(location.href),offset:c.state})),he());j(i,a).pipe(Q((c,u)=>c.url.href===u.url.href),f(({url:c})=>c)).subscribe(t);let s=t.pipe(z("pathname"),_(c=>Zt(c.href).pipe(Re(()=>(lo(c),Y)))),he());i.pipe(rt(s)).subscribe(({url:c})=>{history.pushState({},"",`${c}`)});let l=new DOMParser;s.pipe(_(c=>c.text()),f(c=>l.parseFromString(c,"text/html"))).subscribe(e),e.pipe(Bt(1)).subscribe(c=>{for(let u 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]","[data-md-component=skip]",...ae("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=ce(u),p=ce(u,c);typeof m!="undefined"&&typeof p!="undefined"&&m.replaceWith(p)}}),e.pipe(Bt(1),f(()=>_e("container")),_(c=>H(...N("script",c))),yr(c=>{let u=A("script");if(c.src){for(let m of c.getAttributeNames())u.setAttribute(m,c.getAttribute(m));return c.replaceWith(u),new k(m=>{u.onload=()=>m.complete()})}else return u.textContent=c.textContent,c.replaceWith(u),me})).subscribe(),j(i,a).pipe(rt(e)).subscribe(({url:c,offset:u})=>{c.hash&&!u?ho(c.hash):kr(u||{y:0})}),n.pipe(bt(i),Sr(250),z("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),j(i,a).pipe(Se(2,1),T(([c,u])=>c.url.pathname===u.url.pathname),f(([,c])=>c)).subscribe(({offset:c})=>{kr(c||{y:0})})}var es=Ke(Pr());var wi=Ke(Pr());function Wr(e,t){let n=new RegExp(e.separator,"img"),r=(o,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(t?(0,wi.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function Ei(e){return e.split(/"([^"]+)"/g).map((t,n)=>n&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var Ce;(function(o){o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT"})(Ce||(Ce={}));function it(e){return e.type===1}function Oi(e){return e.type===2}function at(e){return e.type===3}function ts({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[G("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=G("search.config.separator"));let r={pipeline:G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:ae("search.suggest")};return{config:e,docs:t,options:r}}function Ti(e,t){let n=ve(),r=new Worker(e),o=new E,i=Oo(r,{tx$:o}).pipe(f(a=>{if(at(a))for(let s of a.data.items)for(let l of s)l.location=`${new URL(l.location,n.base)}`;return a}),he());return re(t).pipe(f(a=>({type:Ce.SETUP,data:ts(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function _i(){let e=ve(),t=Te(new URL("../versions.json",e.base)),n=t.pipe(f(r=>{let[,o]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===o||a.includes(o))||r[0]}));K([t,n]).subscribe(([r,o])=>{var a;if(ee(".md-header__topic").appendChild(ii(r,o)),__md_get("__outdated",sessionStorage)===null){let s=((a=e.version)==null?void 0:a.default)||"latest",l=!o.aliases.includes(s);if(__md_set("__outdated",l,sessionStorage),l)for(let c of ne("outdated"))c.hidden=!1}})}function rs(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||Ei,{searchParams:r}=Oe();r.has("q")&&Pe("search",!0);let o=t.pipe(T(it),ue(1),f(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=eo(e),a=j(w(e,"keyup"),w(e,"focus").pipe(Ae(1)),o).pipe(f(()=>n(e.value)),U(""),Q());return K([a,i]).pipe(f(([s,l])=>({value:s,focus:l})),J(1))}function Mi(e,{tx$:t,rx$:n}){let r=new E;return r.pipe(z("value"),f(({value:o})=>({type:Ce.QUERY,data:o}))).subscribe(t.next.bind(t)),r.pipe(z("focus")).subscribe(({focus:o})=>{o?(Pe("search",o),Po(e,"")):Wo(e)}),w(e.form,"reset").pipe(Mr(r.pipe(Er(1)))).subscribe(()=>Ee(e)),rs(e,{tx$:t,rx$:n}).pipe(L(o=>r.next(o)),R(()=>r.complete()),f(o=>I({ref:e},o)))}function Li(e,{rx$:t},{query$:n}){let r=new E,o=ao(e.parentElement).pipe(T(Boolean)),i=ee(":scope > :first-child",e),a=ee(":scope > :last-child",e),s=t.pipe(T(it),ue(1));return r.pipe(q(Z),be(n),bt(s)).subscribe(([{items:c},{value:u}])=>{u?Vo(i,c.length):Uo(i)}),r.pipe(q(Z),L(()=>No(a)),_(({items:c})=>j(H(...c.slice(0,10)),H(...c.slice(10)).pipe(Se(4),Ar(o),_(([u])=>H(...u)))))).subscribe(c=>{Do(a,ri(c))}),t.pipe(T(at),f(({data:c})=>c)).pipe(L(c=>r.next(c)),R(()=>r.complete()),f(c=>I({ref:e},c)))}function ns(e,{query$:t}){return t.pipe(f(({value:n})=>{let r=Oe();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function Ai(e,t){let n=new E;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),w(e,"click").subscribe(r=>r.preventDefault()),ns(e,t).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}function Ci(e,{rx$:t},{keyboard$:n}){let r=new E,o=_e("search-query"),i=j(w(o,"keydown"),w(o,"focus")).pipe(q(ke),f(()=>o.value),Q());return r.pipe(Ie(i),f(([{suggestions:s},l])=>{let c=l.split(/([\s-]+)/);if((s==null?void 0:s.length)&&c[c.length-1]){let u=s[s.length-1];u.startsWith(c[c.length-1])&&(c[c.length-1]=u)}else c.length=0;return c})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g,"&nbsp;")),n.pipe(T(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(T(at),f(({data:s})=>s)).pipe(L(s=>r.next(s)),R(()=>r.complete()),f(()=>({ref:e})))}function ki(e,{index$:t,keyboard$:n}){let r=ve();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Ti(o,t),a=_e("search-query",e),s=_e("search-result",e),{tx$:l,rx$:c}=i;l.pipe(T(Oi),rt(c.pipe(T(it))),ue(1)).subscribe(l.next.bind(l)),n.pipe(T(({mode:p})=>p==="search")).subscribe(p=>{let h=ze();switch(p.type){case"Enter":if(h===a){let b=new Map;for(let d of N(":first-child [href]",s)){let D=d.firstElementChild;b.set(d,parseFloat(D.getAttribute("data-md-score")))}if(b.size){let[[d]]=[...b].sort(([,D],[,B])=>B-D);d.click()}p.claim()}break;case"Escape":case"Tab":Pe("search",!1),Ee(a,!1);break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")Ee(a);else{let b=[a,...N(":not(details) > [href], summary, details[open] [href]",s)],d=Math.max(0,(Math.max(0,b.indexOf(h))+b.length+(p.type==="ArrowUp"?-1:1))%b.length);Ee(b[d])}p.claim();break;default:a!==ze()&&Ee(a)}}),n.pipe(T(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":Ee(a),oo(a),p.claim();break}});let u=Mi(a,i),m=Li(s,i,{query$:u});return j(u,m).pipe(Ne(...ne("search-share",e).map(p=>Ai(p,{query$:u})),...ne("search-suggest",e).map(p=>Ci(p,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,Y}}function Hi(e,{index$:t,location$:n}){return K([t,n.pipe(U(Oe()),T(r=>r.searchParams.has("h")))]).pipe(f(([r,o])=>Wr(r.config,!0)(o.searchParams.get("h"))),f(r=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)==null?void 0:a.offsetHeight){let l=s.textContent,c=r(l);c.length>l.length&&o.set(s,c)}for(let[s,l]of o){let{childNodes:c}=A("span",null,l);s.replaceWith(...Array.from(c))}return{ref:e,nodes:o}}))}function os(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return K([n,t]).pipe(f(([{offset:i,height:a},{offset:{y:s}}])=>(a=a+Math.min(o,Math.max(0,s-i))-o,{height:a,locked:s>=i+o})),Q((i,a)=>i.height===a.height&&i.locked===a.locked))}function Vr(e,r){var o=r,{header$:t}=o,n=Qr(o,["header$"]);let i=new E;return i.pipe(q(Z),be(t)).subscribe({next([{height:a},{height:s}]){Qo(e,a),zo(e,s)},complete(){qo(e),Ko(e)}}),os(e,n).pipe(L(a=>i.next(a)),R(()=>i.complete()),f(a=>I({ref:e},a)))}function Fi(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return ht(Te(`${n}/releases/latest`).pipe(f(r=>({version:r.tag_name})),De({})),Te(n).pipe(f(r=>({stars:r.stargazers_count,forks:r.forks_count})),De({}))).pipe(f(([r,o])=>I(I({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Te(n).pipe(f(r=>({repositories:r.public_repos})),De({}))}}function Ri(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Te(n).pipe(f(({star_count:r,forks_count:o})=>({stars:r,forks:o})),De({}))}function Ii(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Fi(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Ri(o,i);default:return Y}}var is;function as(e){return is||(is=de(()=>{let t=__md_get("__source",sessionStorage);return t?H(t):Ii(e.href).pipe(L(n=>__md_set("__source",n,sessionStorage)))}).pipe(Re(()=>Y),T(t=>Object.keys(t).length>0),f(t=>({facts:t})),J(1)))}function ji(e){let t=new E;return t.subscribe(({facts:n})=>{Bo(e,ni(n)),Yo(e,"done")}),as(e).pipe(L(n=>t.next(n)),R(()=>t.complete()),f(n=>I({ref:e},n)))}function ss(e,{viewport$:t,header$:n}){return $e(document.body).pipe(_(()=>er(e,{header$:n,viewport$:t})),f(({offset:{y:r}})=>({hidden:r>=10})),z("hidden"))}function $i(e,t){let n=new E;return n.pipe(q(Z)).subscribe({next({hidden:r}){r?Jo(e,"hidden"):Rr(e)},complete(){Rr(e)}}),(ae("navigation.tabs.sticky")?H({hidden:!1}):ss(e,t)).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}function cs(e,{viewport$:t,header$:n}){let r=new Map,o=N("[href^=\\#]",e);for(let s of o){let l=decodeURIComponent(s.hash.substring(1)),c=ce(`[id="${l}"]`);typeof c!="undefined"&&r.set(s,c)}let i=n.pipe(f(s=>24+s.height));return $e(document.body).pipe(z("height"),_(s=>de(()=>{let l=[];return H([...r].reduce((c,[u,m])=>{for(;l.length&&r.get(l[l.length-1]).tagName>=m.tagName;)l.pop();let p=m.offsetTop;for(;!p&&m.parentElement;)m=m.parentElement,p=m.offsetTop;return c.set([...l=[...l,u]].reverse(),p)},new Map))}).pipe(f(l=>new Map([...l].sort(([,c],[,u])=>c-u))),_(l=>K([t,i]).pipe(Or(([c,u],[{offset:{y:m},size:p},h])=>{let b=m+p.height>=Math.floor(s.height);for(;u.length;){let[,d]=u[0];if(d-h<m||b)c=[...c,u.shift()];else break}for(;c.length;){let[,d]=c[c.length-1];if(d-h>=m&&!b)u=[c.pop(),...u];else break}return[c,u]},[[],[...l]]),Q((c,u)=>c[0]===u[0]&&c[1]===u[1])))))).pipe(f(([s,l])=>({prev:s.map(([c])=>c),next:l.map(([c])=>c)})),U({prev:[],next:[]}),Se(2,1),f(([s,l])=>s.prev.length<l.prev.length?{prev:l.prev.slice(Math.max(0,s.prev.length-1),l.prev.length),next:[]}:{prev:l.prev.slice(-1),next:l.next.slice(0,l.next.length-s.next.length)}))}function Pi(e,t){let n=new E;return n.pipe(q(Z)).subscribe(({prev:r,next:o})=>{for(let[i]of o)Co(i),Lo(i);for(let[i,[a]]of r.entries())Ao(a,i===r.length-1),Mo(a,"blur");if(ae("navigation.tracking")){let i=Oe(),a=r[r.length-1];if(a&&a.length){let[s]=a,{hash:l}=new URL(s.href);i.hash!==l&&(i.hash=l,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}}),cs(e,t).pipe(L(r=>n.next(r)),R(()=>n.complete()),f(r=>I({ref:e},r)))}function ls(e,{viewport$:t,main$:n}){let r=t.pipe(f(({offset:{y:i}})=>i),Se(2,1),f(([i,a])=>i>a&&a),Q()),o=n.pipe(z("active"));return K([o,r]).pipe(f(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function Wi(e,{viewport$:t,header$:n,main$:r}){let o=new E;return o.pipe(q(Z),be(n.pipe(z("height")))).subscribe({next([{hidden:i},{height:a}]){Xo(e,a+16),i?(Go(e,"hidden"),Ee(e,!1),tr(e,-1)):(Ir(e),xt(e))},complete(){Zo(e),Ir(e),xt(e)}}),ls(e,{viewport$:t,header$:n,main$:r}).pipe(L(i=>o.next(i)),R(()=>o.complete()),f(i=>I({ref:e},i)))}function Vi({document$:e,tablet$:t}){e.pipe(_(()=>H(...N("[data-md-state=indeterminate]"))),L(n=>{n.indeterminate=!0,n.checked=!1}),ie(n=>w(n,"change").pipe(vt(()=>n.hasAttribute("data-md-state")),se(n))),be(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function us(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Ui({document$:e}){e.pipe(_(()=>H(...N("[data-md-scrollfix]"))),L(t=>t.removeAttribute("data-md-scrollfix")),T(us),ie(t=>w(t,"touchstart").pipe(se(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function Di({viewport$:e,tablet$:t}){K([Gt("search"),t]).pipe(f(([n,r])=>n&&!r),_(n=>H(n).pipe(Ae(n?400:100),q(Z))),be(e)).subscribe(([n,{offset:{y:r}}])=>{n?To(document.body,r):_o(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var st=Zn(),rr=uo(),Ur=bo(),Dr=co(),ge=Eo(),nr=nt("(min-width: 960px)"),Ni=nt("(min-width: 1220px)"),zi=nt("(hover)"),qi=vo(),Qi=ve(),Ki=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Te(new URL("search/search_index.json",Qi.base)):Y,Nr=new E;xi({alert$:Nr});ae("navigation.instant")&&yi({document$:st,location$:rr,viewport$:ge});var Yi;((Yi=Qi.version)==null?void 0:Yi.provider)==="mike"&&_i();j(rr,Ur).pipe(Ae(125)).subscribe(()=>{Pe("drawer",!1),Pe("search",!1)});Dr.pipe(T(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ce("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=ce("[href][rel=next]");typeof n!="undefined"&&n.click();break}});Vi({document$:st,tablet$:nr});Ui({document$:st});Di({viewport$:ge,tablet$:nr});var We=di(_e("header"),{viewport$:ge}),or=st.pipe(f(()=>_e("main")),_(e=>vi(e,{viewport$:ge,header$:We})),J(1)),ps=j(...ne("dialog").map(e=>mi(e,{alert$:Nr})),...ne("header").map(e=>hi(e,{viewport$:ge,header$:We,main$:or})),...ne("palette").map(e=>gi(e)),...ne("search").map(e=>ki(e,{index$:Ki,keyboard$:Dr})),...ne("source").map(e=>ji(e))),fs=de(()=>j(...ne("content").map(e=>fi(e,{target$:Ur,viewport$:ge,hover$:zi,print$:qi})),...ne("content").map(e=>ae("search.highlight")?Hi(e,{index$:Ki,location$:rr}):Y),...ne("header-title").map(e=>bi(e,{viewport$:ge,header$:We})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Cr(Ni,()=>Vr(e,{viewport$:ge,header$:We,main$:or})):Cr(nr,()=>Vr(e,{viewport$:ge,header$:We,main$:or}))),...ne("tabs").map(e=>$i(e,{viewport$:ge,header$:We})),...ne("toc").map(e=>Pi(e,{viewport$:ge,header$:We})),...ne("top").map(e=>Wi(e,{viewport$:ge,header$:We,main$:or})))),Bi=st.pipe(_(()=>fs),Ne(ps),J(1));Bi.subscribe();window.document$=st;window.location$=rr;window.target$=Ur;window.keyboard$=Dr;window.viewport$=ge;window.tablet$=nr;window.screen$=Ni;window.hover$=zi;window.print$=qi;window.alert$=Nr;window.component$=Bi;})();
//# sourceMappingURL=bundle.4fa4ff07.min.js.map