mkdocs-material/material/assets/javascripts/bundle.0d86bc28.min.js
2021-11-13 12:05:24 +01:00

30 lines
84 KiB
JavaScript

(()=>{var ta=Object.create;var wt=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,oa=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Qr=(e,t,n)=>t in e?wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))cr.call(t,n)&&Qr(e,n,t[n]);if(Et)for(var n of Et(t))qr.call(t,n)&&Qr(e,n,t[n]);return e};var ia=e=>wt(e,"__esModule",{value:!0});var Kr=(e,t)=>{var n={};for(var r in e)cr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Et)for(var r of Et(e))t.indexOf(r)<0&&qr.call(e,r)&&(n[r]=e[r]);return n};var Tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var aa=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of na(t))!cr.call(e,r)&&r!=="default"&&wt(e,r,{get:()=>t[r],enumerable:!(n=ra(t,r))||n.enumerable});return e},Be=e=>aa(ia(wt(e!=null?ta(oa(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Yr=Tt((lr,Br)=>{(function(e,t){typeof lr=="object"&&typeof Br!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(lr,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(E){return!!(E&&E!==document&&E.nodeName!=="HTML"&&E.nodeName!=="BODY"&&"classList"in E&&"contains"in E.classList)}function l(E){var Ve=E.type,Me=E.tagName;return!!(Me==="INPUT"&&a[Ve]&&!E.readOnly||Me==="TEXTAREA"&&!E.readOnly||E.isContentEditable)}function c(E){E.classList.contains("focus-visible")||(E.classList.add("focus-visible"),E.setAttribute("data-focus-visible-added",""))}function u(E){!E.hasAttribute("data-focus-visible-added")||(E.classList.remove("focus-visible"),E.removeAttribute("data-focus-visible-added"))}function m(E){E.metaKey||E.altKey||E.ctrlKey||(s(n.activeElement)&&c(n.activeElement),r=!0)}function p(E){r=!1}function h(E){!s(E.target)||(r||l(E.target))&&c(E.target)}function b(E){!s(E.target)||(E.target.classList.contains("focus-visible")||E.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(E.target))}function d(E){document.visibilityState==="hidden"&&(o&&(r=!0),U())}function U(){document.addEventListener("mousemove",$),document.addEventListener("mousedown",$),document.addEventListener("mouseup",$),document.addEventListener("pointermove",$),document.addEventListener("pointerdown",$),document.addEventListener("pointerup",$),document.addEventListener("touchmove",$),document.addEventListener("touchstart",$),document.addEventListener("touchend",$)}function B(){document.removeEventListener("mousemove",$),document.removeEventListener("mousedown",$),document.removeEventListener("mouseup",$),document.removeEventListener("pointermove",$),document.removeEventListener("pointerdown",$),document.removeEventListener("pointerup",$),document.removeEventListener("touchmove",$),document.removeEventListener("touchstart",$),document.removeEventListener("touchend",$)}function $(E){E.target.nodeName&&E.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),U(),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 vn=Tt((fs,Mt)=>{/*! *****************************************************************************
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 Jr,Gr,Xr,Zr,en,tn,rn,nn,on,Ot,ur,an,sn,cn,Ye,ln,un,pn,fn,mn,dn,hn,bn,_t;(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 Mt=="object"&&typeof Mt.exports=="object"?e(n(t,n(Mt.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])};Jr=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)},Gr=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},Xr=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},Zr=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},en=function(r,o){return function(i,a){o(i,a,r)}},tn=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},rn=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())})},nn=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}}},on=function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&_t(o,r,i)},_t=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.")},ur=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},an=function(){for(var r=[],o=0;o<arguments.length;o++)r=r.concat(ur(arguments[o]));return r},sn=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},cn=function(r,o){for(var i=0,a=o.length,s=r.length;i<a;i++,s++)r[s]=o[i];return r},Ye=function(r){return this instanceof Ye?(this.v=r,this):new Ye(r)},ln=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(U){return new Promise(function(B,$){l.push([d,U,B,$])>1||u(d,U)})})}function u(d,U){try{m(a[d](U))}catch(B){b(l[0][3],B)}}function m(d){d.value instanceof Ye?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,U){d(U),l.shift(),l.length&&u(l[0][0],l[0][1])}},un=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:Ye(r[s](c)),done:s==="return"}:l?l(c):c}:l}},pn=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)}},fn=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};mn=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)&&_t(o,r,i);return n(o,r),o},dn=function(r){return r&&r.__esModule?r:{default:r}},hn=function(r,o){if(!o.has(r))throw new TypeError("attempted to get private field on non-instance");return o.get(r)},bn=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",Jr),e("__assign",Gr),e("__rest",Xr),e("__decorate",Zr),e("__param",en),e("__metadata",tn),e("__awaiter",rn),e("__generator",nn),e("__exportStar",on),e("__createBinding",_t),e("__values",Ot),e("__read",ur),e("__spread",an),e("__spreadArrays",sn),e("__spreadArray",cn),e("__await",Ye),e("__asyncGenerator",ln),e("__asyncDelegator",un),e("__asyncValues",pn),e("__makeTemplateObject",fn),e("__importStar",mn),e("__importDefault",dn),e("__classPrivateFieldGet",hn),e("__classPrivateFieldSet",bn)})});var Rr=Tt((xt,Fr)=>{/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,n){typeof xt=="object"&&typeof Fr=="object"?Fr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof xt=="object"?xt.ClipboardJS=n():t.ClipboardJS=n()})(xt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Zi}});var a=i(279),s=i.n(a),l=i(370),c=i.n(l),u=i(817),m=i.n(u);function p(_){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(_)}function h(_,g){if(!(_ instanceof g))throw new TypeError("Cannot call a class as a function")}function b(_,g){for(var v=0;v<g.length;v++){var k=g[v];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(_,k.key,k)}}function d(_,g,v){return g&&b(_.prototype,g),v&&b(_,v),_}var U=function(){function _(g){h(this,_),this.resolveOptions(g),this.initSelection()}return d(_,[{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 k=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(k,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var v=this,k=this.createFakeElement();this.fakeHandlerCallback=function(){return v.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(k),this.selectedText=m()(k),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(k){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}}]),_}(),B=U;function $(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(v){return typeof v}:$=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},$(_)}function E(_,g){if(!(_ instanceof g))throw new TypeError("Cannot call a class as a function")}function Ve(_,g){for(var v=0;v<g.length;v++){var k=g[v];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(_,k.key,k)}}function Me(_,g,v){return g&&Ve(_.prototype,g),v&&Ve(_,v),_}function Ke(_,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function");_.prototype=Object.create(g&&g.prototype,{constructor:{value:_,writable:!0,configurable:!0}}),g&&ar(_,g)}function ar(_,g){return ar=Object.setPrototypeOf||function(k,W){return k.__proto__=W,k},ar(_,g)}function Bi(_){var g=Gi();return function(){var k=St(_),W;if(g){var te=St(this).constructor;W=Reflect.construct(k,arguments,te)}else W=k.apply(this,arguments);return Yi(this,W)}}function Yi(_,g){return g&&($(g)==="object"||typeof g=="function")?g:Ji(_)}function Ji(_){if(_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _}function Gi(){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(_){return!1}}function St(_){return St=Object.setPrototypeOf?Object.getPrototypeOf:function(v){return v.__proto__||Object.getPrototypeOf(v)},St(_)}function sr(_,g){var v="data-clipboard-".concat(_);if(!!g.hasAttribute(v))return g.getAttribute(v)}var Xi=function(_){Ke(v,_);var g=Bi(v);function v(k,W){var te;return E(this,v),te=g.call(this),te.resolveOptions(W),te.listenClick(k),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=$(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 sr("action",W)}},{key:"defaultTarget",value:function(W){var te=sr("target",W);if(te)return document.querySelector(te)}},{key:"defaultText",value:function(W){return sr("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(ea){ct=ct&&!!document.queryCommandSupported(ea)}),ct}}]),v}(s()),Zi=Xi},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 Wr=Tt((Xx,yi)=>{/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var Ja=/["'&<>]/;yi.exports=Ga;function Ga(e){var t=""+e,n=Ja.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 FE=Be(Yr());var gn=Be(vn()),{__extends:X,__assign:ms,__rest:ds,__decorate:hs,__param:bs,__metadata:vs,__awaiter:xn,__generator:Lt,__exportStar:gs,__createBinding:xs,__values:pe,__read:H,__spread:ys,__spreadArrays:Ss,__spreadArray:j,__await:At,__asyncGenerator:yn,__asyncDelegator:ws,__asyncValues:Sn,__makeTemplateObject:Es,__importStar:Ts,__importDefault:Os,__classPrivateFieldGet:_s,__classPrivateFieldSet:Ms}=gn.default;function S(e){return typeof e=="function"}function kt(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=kt(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{wn(b)}catch(d){i=i!=null?i:[],d instanceof Ct?i=j(j([],H(i)),H(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)wn(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 pr=we.EMPTY;function Ht(e){return e instanceof we||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function wn(e){S(e)?e():e.unsubscribe()}var xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Je={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Je.delegate;return((n==null?void 0:n.setTimeout)||setTimeout).apply(void 0,j([],H(e)))},clearTimeout:function(e){var t=Je.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ft(e){Je.setTimeout(function(){var t=xe.onUnhandledError;if(t)t(e);else throw e})}function ie(){}var En=function(){return fr("C",void 0,void 0)}();function Tn(e){return fr("E",void 0,e)}function On(e){return fr("N",e,void 0)}function fr(e,t,n){return{kind:e,value:t,error:n}}var Ue=null;function Ge(e){if(xe.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 _n(e){xe.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,Ht(n)&&n.add(r)):r.destination=sa,r}return t.create=function(n,r,o){return new ut(n,r,o)},t.prototype.next=function(n){this.isStopped?dr(On(n),this):this._next(n)},t.prototype.error=function(n){this.isStopped?dr(Tn(n),this):(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped?dr(En,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&&xe.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?mr(a,i):ie,error:mr(r!=null?r:Mn,i),complete:o?mr(o,i):ie},i}return t}(lt);function mr(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{e.apply(void 0,j([],H(n)))}catch(o){xe.useDeprecatedSynchronousErrorHandling?_n(o):Ft(o)}}}function Mn(e){throw e}function dr(e,t){var n=xe.onStoppedNotification;n&&Je.setTimeout(function(){return n(e,t)})}var sa={closed:!0,next:ie,error:Mn,complete:ie};var Xe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function fe(e){return e}function Ln(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return hr(e)}function hr(e){return e.length===0?fe:e.length===1?e[0]:function(n){return e.reduce(function(r,o){return o(r)},n)}}var C=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=la(t)?t:new ut(t,n,r);return Ge(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=An(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[Xe]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return hr(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=An(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 An(e){var t;return(t=e!=null?e:xe.Promise)!==null&&t!==void 0?t:Promise}function ca(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function la(e){return e&&e instanceof lt||ca(e)&&Ht(e)}function ua(e){return S(e==null?void 0:e.lift)}function x(e){return function(t){if(ua(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 Ze={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=Ze.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=Ze.delegate;return((n==null?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,j([],H(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ze.delegate;return((n==null?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,j([],H(e)))},delegate:void 0};var kn=kt(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var T=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 kn},t.prototype.next=function(n){var r=this;Ge(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;Ge(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;Ge(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?pr:(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 C;return n.source=this,n},t.create=function(n,r){return new Cn(n,r)},t}(C);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:pr},t}(T);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}(T);var Hn=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,j([],H(e)))},clearInterval:function(e){var t=mt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var Rt=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}(Hn);var br=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 It=function(e){X(t,e);function t(n,r){r===void 0&&(r=br.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}(br);var Ce=new It(Rt),vr=Ce;var Fn=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=Ze.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&&(Ze.cancelAnimationFrame(r),n._scheduled=void 0)},t}(Rt);var Rn=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}(It);var Z=new Rn(Fn);var me=new C(function(e){return e.complete()});function jt(e){return e&&S(e.schedule)}function gr(e){return e[e.length-1]}function He(e){return S(gr(e))?e.pop():void 0}function ge(e){return jt(gr(e))?e.pop():void 0}function Pt(e,t){return typeof gr(e)=="number"?e.pop():t}var et=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function $t(e){return S(e==null?void 0:e.then)}function Wt(e){return S(e[Xe])}function Vt(e){return Symbol.asyncIterator&&S(e==null?void 0:e[Symbol.asyncIterator])}function Ut(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 pa(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Dt=pa();function Nt(e){return S(e==null?void 0:e[Dt])}function zt(e){return yn(this,arguments,function(){var n,r,o,i;return Lt(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,At(n.read())];case 3:return r=a.sent(),o=r.value,i=r.done,i?[4,At(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,At(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 qt(e){return S(e==null?void 0:e.getReader)}function V(e){if(e instanceof C)return e;if(e!=null){if(Wt(e))return fa(e);if(et(e))return ma(e);if($t(e))return da(e);if(Vt(e))return In(e);if(Nt(e))return ha(e);if(qt(e))return ba(e)}throw Ut(e)}function fa(e){return new C(function(t){var n=e[Xe]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ma(e){return new C(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function da(e){return new C(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,Ft)})}function ha(e){return new C(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 In(e){return new C(function(t){va(e,t).catch(function(n){return t.error(n)})})}function ba(e){return In(zt(e))}function va(e,t){var n,r,o,i;return xn(this,void 0,void 0,function(){var a,s;return Lt(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=Sn(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 jn(e,t){return V(e).pipe(Qt(t),q(t))}function Pn(e,t){return V(e).pipe(Qt(t),q(t))}function $n(e,t){return new C(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Wn(e,t){return new C(function(n){var r;return le(n,t,function(){r=e[Dt](),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 Kt(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(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 Vn(e,t){return Kt(zt(e),t)}function Un(e,t){if(e!=null){if(Wt(e))return jn(e,t);if(et(e))return $n(e,t);if($t(e))return Pn(e,t);if(Vt(e))return Kt(e,t);if(Nt(e))return Wn(e,t);if(qt(e))return Vn(e,t)}throw Ut(e)}function re(e,t){return t?Un(e,t):V(e)}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ge(e);return re(e,n)}function Dn(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 ga=Array.isArray;function xa(e,t){return ga(t)?e.apply(void 0,j([],H(t))):e(t)}function Fe(e){return f(function(t){return xa(e,t)})}var ya=Array.isArray,Sa=Object.getPrototypeOf,wa=Object.prototype,Ea=Object.keys;function Nn(e){if(e.length===1){var t=e[0];if(ya(t))return{args:t,keys:null};if(Ta(t)){var n=Ea(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function Ta(e){return e&&typeof e=="object"&&Sa(e)===wa}function zn(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=ge(e),r=He(e),o=Nn(e),i=o.args,a=o.keys;if(i.length===0)return re([],n);var s=new C(xr(i,n,a?function(l){return zn(a,l)}:fe));return r?s.pipe(Fe(r)):s}function xr(e,t,n){return n===void 0&&(n=fe),function(r){qn(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,l=function(u){qn(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 qn(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 U=!1;V(n(d,u++)).subscribe(new y(t,function(B){o==null||o(B),i?h(B):t.next(B)},function(){U=!0},void 0,function(){if(U)try{c--;for(var B=function(){var $=l.shift();a?le(t,a,function(){return b($)}):b($)};l.length&&c<r;)B();p()}catch($){t.error($)}}))};return e.subscribe(new y(t,h,function(){m=!0,p()})),function(){s==null||s()}}function ae(e,t,n){return n===void 0&&(n=1/0),S(t)?ae(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 tt(e){return e===void 0&&(e=1/0),ae(fe,e)}function Kn(){return tt(1)}function dt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Kn()(re(e,ge(e)))}function ye(e){return new C(function(t){V(e()).subscribe(t)})}var Oa=["addListener","removeListener"],_a=["addEventListener","removeEventListener"],Ma=["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=H(ka(e)?_a.map(function(s){return function(l){return e[s](t,l,n)}}):La(e)?Oa.map(Bn(e,t)):Aa(e)?Ma.map(Bn(e,t)):[],2),i=o[0],a=o[1];if(!i&&et(e))return ae(function(s){return w(s,t,n)})(V(e));if(!i)throw new TypeError("Invalid event target");return new C(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 Bn(e,t){return function(n){return function(r){return e[n](t,r)}}}function La(e){return S(e.addListener)&&S(e.removeListener)}function Aa(e){return S(e.on)&&S(e.off)}function ka(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Bt(e,t,n){return n?Bt(e,t).pipe(Fe(n)):new C(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 Yn(e,t,n){e===void 0&&(e=0),n===void 0&&(n=vr);var r=-1;return t!=null&&(jt(t)?n=t:r=t),new C(function(o){var i=Dn(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 I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ge(e),r=Pt(e,1/0),o=e;return o.length?o.length===1?V(o[0]):tt(r)(re(o,n)):me}var Y=new C(ie);var Ca=Array.isArray;function rt(e){return e.length===1&&Ca(e[0])?e[0]:e}function O(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=rt(e);return r.length?new C(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,j([],H(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),U=d.next();!U.done;U=d.next()){var b=U.value;Le(o,b),r.next(b)}}catch(B){c={error:B}}finally{try{U&&!U.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 Jn(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 yr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=He(e);return n?Ln(yr.apply(void 0,j([],H(e))),Fe(n)):x(function(r,o){xr(j([r],H(rt(e))))(o)})}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return yr.apply(void 0,j([],H(e)))}function Sr(e,t){return S(t)?ae(e,t,1):ae(e,1)}function wr(e,t){return t===void 0&&(t=Ce),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 Gn(){return x(function(e,t){e.subscribe(new y(t,ie))})}function ne(e){return f(function(){return e})}function Er(e,t){return t?function(n){return dt(t.pipe(ue(1),Gn()),n.pipe(Er(e)))}:ae(function(n,r){return e(n,r).pipe(ue(1),ne(n))})}function Ae(e,t){t===void 0&&(t=Ce);var n=Yn(e,t);return Er(function(){return n})}function Q(e,t){return t===void 0&&(t=fe),e=e!=null?e:Ha,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 Ha(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 P(e){return x(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Tr(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 Xn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ge(e),r=Pt(e,1/0);return e=rt(e),x(function(o,i){tt(r)(re(j([o],H(e)),n)).subscribe(i)})}function Ne(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xn.apply(void 0,j([],H(e)))}function nt(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,ie))})}function Or(e,t){return x(Jn(e,t,arguments.length>=2,!0))}function de(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new T}: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,U=function(){m==null||m.unsubscribe(),m=null},B=function(){U(),u=p=null,b=d=!1},$=function(){var E=u;B(),E==null||E.unsubscribe()};return x(function(E,Ve){h++,!d&&!b&&U();var Me=p=p!=null?p:n();Ve.add(function(){h--,h===0&&!d&&!b&&(m=_r($,l))}),Me.subscribe(Ve),u||(u=new ut({next:function(Ke){return Me.next(Ke)},error:function(Ke){d=!0,U(),m=_r(B,o,Ke),Me.error(Ke)},complete:function(){b=!0,U(),m=_r(B,a),Me.complete()}}),re(E).subscribe(u))})(c)}}function _r(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,j([],H(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,de({connector:function(){return new ft(i,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Yt(e){return O(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},ie);V(e).subscribe(o),t.subscribe(new y(n,function(i){return r&&n.next(i)}))})}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ge(e);return x(function(r,o){(n?dt(e,r,n):dt(e,r)).subscribe(o)})}function M(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 Mr(e,t){return S(t)?M(function(){return e},t):M(function(){return e})}function Lr(e){return x(function(t,n){V(e).subscribe(new y(n,function(){return n.complete()},ie)),!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 Fa={leading:!0,trailing:!1};function Ar(e,t){var n=t===void 0?Fa: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 he(){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))},ie))},u=0;u<i;u++)c(u);r.subscribe(new y(o,function(m){if(l){var p=j([m],H(a));o.next(n?n.apply(void 0,j([],H(p))):p)}}))})}function Zn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return x(function(n,r){ht.apply(void 0,j([n],H(e))).subscribe(r)})}function kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Zn.apply(void 0,j([],H(e)))}function eo(){let e=new ft;return w(document,"DOMContentLoaded").pipe(ne(document)).subscribe(e),e}function ce(e,t=document){return t.querySelector(e)||void 0}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 ze(){return document.activeElement instanceof HTMLElement?document.activeElement:void 0}function N(e,t=document){return Array.from(t.querySelectorAll(e))}function qe(e,...t){e.replaceWith(...t)}function Ee(e,t=!0){t?e.focus():e.blur()}function to(e){return I(w(e,"focus"),w(e,"blur")).pipe(f(({type:t})=>t==="focus"),D(e===ze()))}var ro=new T,Ra=ye(()=>R(new ResizeObserver(e=>{for(let t of e)ro.next(t)}))).pipe(M(e=>Y.pipe(D(e)).pipe(P(()=>e.disconnect()))),J(1));function je(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Jt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Pe(e){return Ra.pipe(L(t=>t.observe(e)),M(t=>ro.pipe(O(({target:n})=>n===e),P(()=>t.unobserve(e)),f(()=>je(e)))),D(je(e)))}function no(e){return{x:e.scrollLeft,y:e.scrollTop}}function Ia(e){return I(w(e,"scroll"),w(window,"resize")).pipe(f(()=>no(e)),D(no(e)))}function oo(e,t=16){return Ia(e).pipe(f(({y:n})=>{let r=je(e),o=Jt(e);return n>=o.height-r.height-t}),Q())}function io(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Gt={drawer:ee("[data-md-toggle=drawer]"),search:ee("[data-md-toggle=search]")};function ao(e){return Gt[e].checked}function $e(e,t){Gt[e].checked!==t&&Gt[e].click()}function Xt(e){let t=Gt[e];return w(t,"change").pipe(f(()=>t.checked),D(t.checked))}function ja(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 so(){return w(window,"keydown").pipe(O(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:ao("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),O(({mode:e,type:t})=>{if(e==="global"){let n=ze();if(typeof n!="undefined")return!ja(n,t)}return!0}),de())}function Te(){return new URL(location.href)}function co(e){location.href=e.href}function lo(){return new T}function uo(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)uo(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)uo(r,o);return r}function po(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}return e}function Zt(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function fo(){return location.hash.substring(1)}function mo(e){let t=A("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function Pa(){return w(window,"hashchange").pipe(f(fo),D(fo()),O(e=>e.length>0),J(1))}function ho(){return Pa().pipe(f(e=>ce(`[id="${e}"]`)),O(e=>typeof e!="undefined"))}function gt(e){let t=matchMedia(e);return Bt(n=>t.addListener(()=>n(t.matches))).pipe(D(t.matches))}function bo(){return I(w(window,"beforeprint").pipe(ne(!0)),w(window,"afterprint").pipe(ne(!1)))}function Cr(e,t){return e.pipe(M(n=>n?t():Y))}function er(e,t={credentials:"same-origin"}){return re(fetch(`${e}`,t)).pipe(O(n=>n.status===200),Re(()=>me))}function Oe(e,t){return er(e,t).pipe(M(n=>n.json()),J(1))}function vo(e,t){let n=new DOMParser;return er(e,t).pipe(M(r=>r.text()),f(r=>n.parseFromString(r,"text/xml")),J(1))}function go(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Hr({x:e,y:t}){window.scrollTo(e||0,t||0)}function xo(){return I(w(window,"scroll",{passive:!0}),w(window,"resize",{passive:!0})).pipe(f(go),D(go()))}function yo(){return{width:innerWidth,height:innerHeight}}function So(){return w(window,"resize",{passive:!0}).pipe(f(yo),D(yo()))}function wo(){return K([xo(),So()]).pipe(f(([e,t])=>({offset:e,size:t})),J(1))}function tr(e,{viewport$:t,header$:n}){let r=t.pipe(z("size")),o=K([r,n]).pipe(f(()=>({x:e.offsetLeft,y:e.offsetTop})));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 Eo(e,{tx$:t}){let n=w(e,"message").pipe(f(({data:r})=>r));return t.pipe(Ar(()=>n,{leading:!0,trailing:!0}),L(r=>e.postMessage(r)),Mr(n),de())}var $a=ee("#__config"),ot=JSON.parse($a.textContent);ot.base=`${new URL(ot.base,Te())}`;function be(){return ot}function se(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 oe(e,t=document){return N(`[data-md-component=${e}]`,t)}var ii=Be(Rr());function rr(e,t=0){e.setAttribute("tabindex",t.toString())}function yt(e){e.removeAttribute("tabindex")}function To(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function Oo(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function _o(e,t){e.setAttribute("data-md-state",t)}function Mo(e){e.removeAttribute("data-md-state")}function Lo(e,t){e.classList.toggle("md-nav__link--active",t)}function Ao(e){e.classList.remove("md-nav__link--active")}function ko(e,t){e.firstElementChild.innerHTML=t}function Co(e,t){e.setAttribute("data-md-state",t)}function Ho(e){e.removeAttribute("data-md-state")}function Fo(e,t){e.setAttribute("data-md-state",t)}function Ro(e){e.removeAttribute("data-md-state")}function Io(e,t){e.setAttribute("data-md-state",t)}function jo(e){e.removeAttribute("data-md-state")}function Po(e,t){e.placeholder=t}function $o(e){e.placeholder=G("search.placeholder")}function Wo(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",Zt(t))}}function Vo(e){e.textContent=G("search.result.placeholder")}function Uo(e,t){e.appendChild(t)}function Do(e){e.innerHTML=""}function No(e,t){e.style.top=`${t}px`}function zo(e){e.style.top=""}function qo(e,t){let n=e.firstElementChild;n.style.height=`${t-2*n.offsetTop}px`}function Qo(e){let t=e.firstElementChild;t.style.height=""}function Ko(e,t){e.lastElementChild.appendChild(t)}function Bo(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Yo(e,t){e.setAttribute("data-md-state",t)}function Ir(e){e.removeAttribute("data-md-state")}function Jo(e,t){e.setAttribute("data-md-state",t)}function jr(e){e.removeAttribute("data-md-state")}function Go(e,t){e.style.top=`${t}px`}function Xo(e){e.style.top=""}function Zo(e){return A("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function ei(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 Pr(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 se("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"},po(e.text,320)),r>0&&o.length>0&&A("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function ti(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=[Pr(o,2|+(!r&&i===0)),...a.map(c=>Pr(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=>Pr(c,1)))]:[]];return A("li",{class:"md-search-result__item"},l)}function ri(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"?Zt(n):n)))}function ni(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function Wa(e){let t=be(),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 oi(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(Wa)))}var Va=0;function Ua(e,{viewport$:t,print$:n}){let r=R(e).pipe(M(a=>{let s=a.closest("[data-tabs]");return s instanceof HTMLElement?I(...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")||se("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=ei(+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=Jt(e);return F({scroll:s.width>a.width},o.length&&{annotations:o})}),z("scroll"))}function ai(e,t){let n=new T;if(n.pipe(he(gt("(hover)"))).subscribe(([{scroll:r},o])=>{r&&o?rr(e):yt(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")}}),ii.default.isSupported()){let r=e.closest("pre");r.id=`__code_${++Va}`,r.insertBefore(Zo(r.id),e)}return Ua(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function Da(e,{target$:t,print$:n}){let r=!1;return I(t.pipe(f(o=>o.closest("details:not([open])")),O(o=>e===o),ne({action:"open",scroll:!0})),n.pipe(O(o=>o||!r),L(()=>r=e.open),f(o=>({action:o?"open":"close"}))))}function si(e,t){let n=new T;return n.subscribe(({action:r,scroll:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),Da(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}var ci=A("table");function li(e){return qe(e,ci),qe(ci,ni(e)),R({ref:e})}function Na(e){return e.classList.contains("tabbed-alternate")?I(...N(":scope > input",e).map(t=>w(t,"change").pipe(ne(t.id)))).pipe(f(t=>({active:ee(`label[for=${t}]`)}))):Y}function ui(e){let t=new T;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})}),Na(e).pipe(L(n=>t.next(n)),P(()=>t.complete()),f(n=>F({ref:e},n)))}function pi(e,{target$:t,viewport$:n,print$:r}){return I(...N("pre > code",e).map(o=>ai(o,{viewport$:n,print$:r})),...N("table:not([class])",e).map(o=>li(o)),...N("details",e).map(o=>si(o,{target$:t,print$:r})),...N("[data-tabs]",e).map(o=>ui(o)))}function za(e,{alert$:t}){return t.pipe(M(n=>I(R(!0),R(!1).pipe(Ae(2e3))).pipe(f(r=>({message:n,open:r})))))}function fi(e,t){let n=new T;return n.pipe(q(Z)).subscribe(({message:r,open:o})=>{ko(e,r),o?Co(e,"open"):Ho(e)}),za(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function qa({viewport$:e}){if(!se("header.autohide"))return R(!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(O(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),f(([,[o]])=>o),Q()),r=Xt("search");return K([e,r]).pipe(f(([{offset:o},i])=>o.y>400&&!i),Q(),M(o=>o?n:R(!1)),D(!1))}function mi(e,t){return ye(()=>{let n=getComputedStyle(e);return R(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(Ie(Pe(e),qa(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 di(e,{header$:t,main$:n}){let r=new T;return r.pipe(z("active"),Ie(t),q(Z)).subscribe(([{active:o},{hidden:i}])=>{o?Fo(e,i?"hidden":"shadow"):Ro(e)}),n.subscribe(o=>r.next(o)),t.pipe(f(o=>F({ref:e},o)))}function Qa(e,{viewport$:t,header$:n}){return tr(e,{header$:n,viewport$:t}).pipe(f(({offset:{y:r}})=>{let{height:o}=je(e);return{active:r>=o}}),z("active"))}function hi(e,t){let n=new T;n.pipe(q(Z)).subscribe(({active:o})=>{o?Io(e,"active"):jo(e)});let r=ce("article h1");return typeof r=="undefined"?Y:Qa(r,t).pipe(L(o=>n.next(o)),P(()=>n.complete()),f(o=>F({ref:e},o)))}function bi(e,{viewport$:t,header$:n}){let r=n.pipe(f(({height:i})=>i),Q()),o=r.pipe(M(()=>Pe(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 Ka(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)},n=R(...e).pipe(ae(r=>w(r,"change").pipe(ne(r))),D(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 vi(e){let t=new T;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 Ka(n).pipe(L(r=>t.next(r)),P(()=>t.complete()),f(r=>F({ref:e},r)))}var $r=Be(Rr());function Ba(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 gi({alert$:e}){$r.default.isSupported()&&new C(t=>{new $r.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ba(ee(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).subscribe(()=>e.next(G("clipboard.copied")))}function Ya(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=be();return e.map(i=>i.replace(t.slice(0,r),o.base))}function xi({document$:e,location$:t,viewport$:n}){let r=be();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=vo(new URL("sitemap.xml",r.base)).pipe(f(c=>Ya(N("loc",c).map(u=>u.textContent))),M(c=>w(document.body,"click").pipe(O(u=>!u.metaKey&&!u.ctrlKey),M(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(),R({url:new URL(m.href)})}}return Y}))),de()),a=w(window,"popstate").pipe(O(c=>c.state!==null),f(c=>({url:new URL(location.href),offset:c.state})),de());I(i,a).pipe(Q((c,u)=>c.url.href===u.url.href),f(({url:c})=>c)).subscribe(t);let s=t.pipe(z("pathname"),M(c=>er(c.href).pipe(Re(()=>(co(c),Y)))),de());i.pipe(nt(s)).subscribe(({url:c})=>{history.pushState({},"",`${c}`)});let l=new DOMParser;s.pipe(M(c=>c.text()),f(c=>l.parseFromString(c,"text/html"))).subscribe(e),e.pipe(Yt(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]",...se("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=ce(u),p=ce(u,c);typeof m!="undefined"&&typeof p!="undefined"&&qe(m,p)}}),e.pipe(Yt(1),f(()=>_e("container")),M(c=>R(...N("script",c))),Sr(c=>{let u=A("script");if(c.src){for(let m of c.getAttributeNames())u.setAttribute(m,c.getAttribute(m));return qe(c,u),new C(m=>{u.onload=()=>m.complete()})}else return u.textContent=c.textContent,qe(c,u),me})).subscribe(),I(i,a).pipe(nt(e)).subscribe(({url:c,offset:u})=>{c.hash&&!u?mo(c.hash):Hr(u||{y:0})}),n.pipe(bt(i),wr(250),z("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),I(i,a).pipe(Se(2,1),O(([c,u])=>c.url.pathname===u.url.pathname),f(([,c])=>c)).subscribe(({offset:c})=>{Hr(c||{y:0})})}var Xa=Be(Wr());var Si=Be(Wr());function Vr(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,Si.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function wi(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 ke;(function(o){o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT"})(ke||(ke={}));function it(e){return e.type===1}function Ei(e){return e.type===2}function at(e){return e.type===3}function Za({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:se("search.suggest")};return{config:e,docs:t,options:r}}function Ti(e,t){let n=be(),r=new Worker(e),o=new T,i=Eo(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}),de());return re(t).pipe(f(a=>({type:ke.SETUP,data:Za(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Oi(){let e=be(),t=Oe(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(oi(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 oe("outdated"))c.hidden=!1}})}function es(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||wi,{searchParams:r}=Te();r.has("q")&&$e("search",!0);let o=t.pipe(O(it),ue(1),f(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=to(e),a=I(w(e,"keyup"),w(e,"focus").pipe(Ae(1)),o).pipe(f(()=>n(e.value)),D(""),Q());return K([a,i]).pipe(f(([s,l])=>({value:s,focus:l})),J(1))}function _i(e,{tx$:t,rx$:n}){let r=new T;return r.pipe(z("value"),f(({value:o})=>({type:ke.QUERY,data:o}))).subscribe(t.next.bind(t)),r.pipe(z("focus")).subscribe(({focus:o})=>{o?($e("search",o),Po(e,"")):$o(e)}),w(e.form,"reset").pipe(Lr(r.pipe(Tr(1)))).subscribe(()=>Ee(e)),es(e,{tx$:t,rx$:n}).pipe(L(o=>r.next(o)),P(()=>r.complete()),f(o=>F({ref:e},o)))}function Mi(e,{rx$:t},{query$:n}){let r=new T,o=oo(e.parentElement).pipe(O(Boolean)),i=ee(":scope > :first-child",e),a=ee(":scope > :last-child",e),s=t.pipe(O(it),ue(1));return r.pipe(q(Z),he(n),bt(s)).subscribe(([{items:c},{value:u}])=>{u?Wo(i,c.length):Vo(i)}),r.pipe(q(Z),L(()=>Do(a)),M(({items:c})=>I(R(...c.slice(0,10)),R(...c.slice(10)).pipe(Se(4),kr(o),M(([u])=>R(...u)))))).subscribe(c=>{Uo(a,ti(c))}),t.pipe(O(at),f(({data:c})=>c)).pipe(L(c=>r.next(c)),P(()=>r.complete()),f(c=>F({ref:e},c)))}function ts(e,{query$:t}){return t.pipe(f(({value:n})=>{let r=Te();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function Li(e,t){let n=new T;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),w(e,"click").subscribe(r=>r.preventDefault()),ts(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function Ai(e,{rx$:t},{keyboard$:n}){let r=new T,o=_e("search-query"),i=I(w(o,"keydown"),w(o,"focus")).pipe(q(Ce),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(O(({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(O(at),f(({data:s})=>s)).pipe(L(s=>r.next(s)),P(()=>r.complete()),f(()=>({ref:e})))}function ki(e,{index$:t,keyboard$:n}){let r=be();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(O(Ei),nt(c.pipe(O(it))),ue(1)).subscribe(l.next.bind(l)),n.pipe(O(({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 U=d.firstElementChild;b.set(d,parseFloat(U.getAttribute("data-md-score")))}if(b.size){let[[d]]=[...b].sort(([,U],[,B])=>B-U);d.click()}p.claim()}break;case"Escape":case"Tab":$e("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(O(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":Ee(a),io(a),p.claim();break}});let u=_i(a,i),m=Mi(s,i,{query$:u});return I(u,m).pipe(Ne(...oe("search-share",e).map(p=>Li(p,{query$:u})),...oe("search-suggest",e).map(p=>Ai(p,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,Y}}function Ci(e,{index$:t,location$:n}){return K([t,n.pipe(D(Te()),O(r=>r.searchParams.has("h")))]).pipe(f(([r,o])=>Vr(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 rs(e,{viewport$:t,main$:n}){let r=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return K([n,t]).pipe(f(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(r,Math.max(0,a-o))-r,{height:i,locked:a>=o+r})),Q((o,i)=>o.height===i.height&&o.locked===i.locked))}function Ur(e,r){var o=r,{header$:t}=o,n=Kr(o,["header$"]);let i=new T;return i.pipe(q(Z),he(t)).subscribe({next([{height:a},{height:s}]){qo(e,a),No(e,s)},complete(){zo(e),Qo(e)}}),rs(e,n).pipe(L(a=>i.next(a)),P(()=>i.complete()),f(a=>F({ref:e},a)))}function Hi(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return ht(Oe(`${n}/releases/latest`).pipe(f(r=>({version:r.tag_name})),De({})),Oe(n).pipe(f(r=>({stars:r.stargazers_count,forks:r.forks_count})),De({}))).pipe(f(([r,o])=>F(F({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Oe(n).pipe(f(r=>({repositories:r.public_repos})),De({}))}}function Fi(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Oe(n).pipe(f(({star_count:r,forks_count:o})=>({stars:r,forks:o})),De({}))}function Ri(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Hi(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Fi(o,i);default:return Y}}var ns;function os(e){return ns||(ns=ye(()=>{let t=__md_get("__source",sessionStorage);return t?R(t):Ri(e.href).pipe(L(n=>__md_set("__source",n,sessionStorage)))}).pipe(Re(()=>Y),O(t=>Object.keys(t).length>0),f(t=>({facts:t})),J(1)))}function Ii(e){let t=new T;return t.subscribe(({facts:n})=>{Ko(e,ri(n)),Bo(e,"done")}),os(e).pipe(L(n=>t.next(n)),P(()=>t.complete()),f(n=>F({ref:e},n)))}function is(e,{viewport$:t,header$:n}){return Pe(document.body).pipe(M(()=>tr(e,{header$:n,viewport$:t})),f(({offset:{y:r}})=>({hidden:r>=10})),z("hidden"))}function ji(e,t){let n=new T;return n.pipe(q(Z)).subscribe({next({hidden:r}){r?Yo(e,"hidden"):Ir(e)},complete(){Ir(e)}}),(se("navigation.tabs.sticky")?R({hidden:!1}):is(e,t)).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function as(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 Pe(document.body).pipe(z("height"),M(s=>ye(()=>{let l=[];return R([...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))),M(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)})),D({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 T;return n.pipe(q(Z)).subscribe(({prev:r,next:o})=>{for(let[i]of o)Ao(i),Mo(i);for(let[i,[a]]of r.entries())Lo(a,i===r.length-1),_o(a,"blur");if(se("navigation.tracking")){let i=Te(),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}`)}}),as(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function ss(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 $i(e,{viewport$:t,header$:n,main$:r}){let o=new T;return o.pipe(q(Z),he(n.pipe(z("height")))).subscribe({next([{hidden:i},{height:a}]){Go(e,a+16),i?(Jo(e,"hidden"),Ee(e,!1),rr(e,-1)):(jr(e),yt(e))},complete(){Xo(e),jr(e),yt(e)}}),ss(e,{viewport$:t,header$:n,main$:r}).pipe(L(i=>o.next(i)),P(()=>o.complete()),f(i=>F({ref:e},i)))}function Wi({document$:e,tablet$:t}){e.pipe(M(()=>R(...N("[data-md-state=indeterminate]"))),L(n=>{n.indeterminate=!0,n.checked=!1}),ae(n=>w(n,"change").pipe(vt(()=>n.hasAttribute("data-md-state")),ne(n))),he(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function cs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Vi({document$:e}){e.pipe(M(()=>R(...N("[data-md-scrollfix]"))),L(t=>t.removeAttribute("data-md-scrollfix")),O(cs),ae(t=>w(t,"touchstart").pipe(ne(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function Ui({viewport$:e,tablet$:t}){K([Xt("search"),t]).pipe(f(([n,r])=>n&&!r),M(n=>R(n).pipe(Ae(n?400:100),q(Z))),he(e)).subscribe(([n,{offset:{y:r}}])=>{n?To(document.body,r):Oo(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var st=eo(),nr=lo(),Dr=ho(),Nr=so(),ve=wo(),or=gt("(min-width: 960px)"),Di=gt("(min-width: 1220px)"),Ni=bo(),zi=be(),qi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Oe(new URL("search/search_index.json",zi.base)):Y,zr=new T;gi({alert$:zr});se("navigation.instant")&&xi({document$:st,location$:nr,viewport$:ve});var Ki;((Ki=zi.version)==null?void 0:Ki.provider)==="mike"&&Oi();I(nr,Dr).pipe(Ae(125)).subscribe(()=>{$e("drawer",!1),$e("search",!1)});Nr.pipe(O(({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}});Wi({document$:st,tablet$:or});Vi({document$:st});Ui({viewport$:ve,tablet$:or});var We=mi(_e("header"),{viewport$:ve}),ir=st.pipe(f(()=>_e("main")),M(e=>bi(e,{viewport$:ve,header$:We})),J(1)),ls=I(...oe("dialog").map(e=>fi(e,{alert$:zr})),...oe("header").map(e=>di(e,{viewport$:ve,header$:We,main$:ir})),...oe("palette").map(e=>vi(e)),...oe("search").map(e=>ki(e,{index$:qi,keyboard$:Nr})),...oe("source").map(e=>Ii(e))),us=ye(()=>I(...oe("content").map(e=>pi(e,{target$:Dr,viewport$:ve,print$:Ni})),...oe("content").map(e=>se("search.highlight")?Ci(e,{index$:qi,location$:nr}):Y),...oe("header-title").map(e=>hi(e,{viewport$:ve,header$:We})),...oe("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Cr(Di,()=>Ur(e,{viewport$:ve,header$:We,main$:ir})):Cr(or,()=>Ur(e,{viewport$:ve,header$:We,main$:ir}))),...oe("tabs").map(e=>ji(e,{viewport$:ve,header$:We})),...oe("toc").map(e=>Pi(e,{viewport$:ve,header$:We})),...oe("top").map(e=>$i(e,{viewport$:ve,header$:We,main$:ir})))),Qi=st.pipe(M(()=>us),Ne(ls),J(1));Qi.subscribe();window.document$=st;window.location$=nr;window.target$=Dr;window.keyboard$=Nr;window.viewport$=ve;window.tablet$=or;window.screen$=Di;window.print$=Ni;window.alert$=zr;window.component$=Qi;})();
//# sourceMappingURL=bundle.0d86bc28.min.js.map