mkdocs-material/material/assets/javascripts/bundle.5a9542cf.min.js
2022-02-09 10:14:30 +01:00

30 lines
101 KiB
JavaScript

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