mkdocs-material/material/templates/assets/javascripts/bundle.697ed5af.min.js

30 lines
97 KiB
JavaScript

"use strict";(()=>{var yi=Object.create;var hr=Object.defineProperty;var Ei=Object.getOwnPropertyDescriptor;var wi=Object.getOwnPropertyNames,Ht=Object.getOwnPropertySymbols,Si=Object.getPrototypeOf,br=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable;var Xr=(e,t,r)=>t in e?hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,I=(e,t)=>{for(var r in t||(t={}))br.call(t,r)&&Xr(e,r,t[r]);if(Ht)for(var r of Ht(t))Zr.call(t,r)&&Xr(e,r,t[r]);return e};var eo=(e,t)=>{var r={};for(var o in e)br.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ht)for(var o of Ht(e))t.indexOf(o)<0&&Zr.call(e,o)&&(r[o]=e[o]);return r};var vr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ti=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of wi(t))!br.call(e,n)&&n!==r&&hr(e,n,{get:()=>t[n],enumerable:!(o=Ei(t,n))||o.enumerable});return e};var $t=(e,t,r)=>(r=e!=null?yi(Si(e)):{},Ti(t||!e||!e.__esModule?hr(r,"default",{value:e,enumerable:!0}):r,e));var ro=vr((gr,to)=>{(function(e,t){typeof gr=="object"&&typeof to!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(gr,function(){"use strict";function e(r){var o=!0,n=!1,i=null,s={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 a(A){return!!(A&&A!==document&&A.nodeName!=="HTML"&&A.nodeName!=="BODY"&&"classList"in A&&"contains"in A.classList)}function p(A){var it=A.type,Ne=A.tagName;return!!(Ne==="INPUT"&&s[it]&&!A.readOnly||Ne==="TEXTAREA"&&!A.readOnly||A.isContentEditable)}function c(A){A.classList.contains("focus-visible")||(A.classList.add("focus-visible"),A.setAttribute("data-focus-visible-added",""))}function l(A){A.hasAttribute("data-focus-visible-added")&&(A.classList.remove("focus-visible"),A.removeAttribute("data-focus-visible-added"))}function f(A){A.metaKey||A.altKey||A.ctrlKey||(a(r.activeElement)&&c(r.activeElement),o=!0)}function u(A){o=!1}function h(A){a(A.target)&&(o||p(A.target))&&c(A.target)}function d(A){a(A.target)&&(A.target.classList.contains("focus-visible")||A.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),l(A.target))}function v(A){document.visibilityState==="hidden"&&(n&&(o=!0),Q())}function Q(){document.addEventListener("mousemove",B),document.addEventListener("mousedown",B),document.addEventListener("mouseup",B),document.addEventListener("pointermove",B),document.addEventListener("pointerdown",B),document.addEventListener("pointerup",B),document.addEventListener("touchmove",B),document.addEventListener("touchstart",B),document.addEventListener("touchend",B)}function te(){document.removeEventListener("mousemove",B),document.removeEventListener("mousedown",B),document.removeEventListener("mouseup",B),document.removeEventListener("pointermove",B),document.removeEventListener("pointerdown",B),document.removeEventListener("pointerup",B),document.removeEventListener("touchmove",B),document.removeEventListener("touchstart",B),document.removeEventListener("touchend",B)}function B(A){A.target.nodeName&&A.target.nodeName.toLowerCase()==="html"||(o=!1,te())}document.addEventListener("keydown",f,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",v,!0),Q(),r.addEventListener("focus",h,!0),r.addEventListener("blur",d,!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 zr=vr((Mt,Vr)=>{/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,r){typeof Mt=="object"&&typeof Vr=="object"?Vr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Mt=="object"?Mt.ClipboardJS=r():t.ClipboardJS=r()})(Mt,function(){return function(){var e={686:function(o,n,i){"use strict";i.d(n,{default:function(){return xi}});var s=i(279),a=i.n(s),p=i(370),c=i.n(p),l=i(817),f=i.n(l);function u(W){try{return document.execCommand(W)}catch(O){return!1}}var h=function(O){var w=f()(O);return u("cut"),w},d=h;function v(W){var O=document.documentElement.getAttribute("dir")==="rtl",w=document.createElement("textarea");w.style.fontSize="12pt",w.style.border="0",w.style.padding="0",w.style.margin="0",w.style.position="absolute",w.style[O?"right":"left"]="-9999px";var $=window.pageYOffset||document.documentElement.scrollTop;return w.style.top="".concat($,"px"),w.setAttribute("readonly",""),w.value=W,w}var Q=function(O,w){var $=v(O);w.container.appendChild($);var F=f()($);return u("copy"),$.remove(),F},te=function(O){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},$="";return typeof O=="string"?$=Q(O,w):O instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(O==null?void 0:O.type)?$=Q(O.value,w):($=f()(O),u("copy")),$},B=te;function A(W){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(w){return typeof w}:A=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},A(W)}var it=function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=O.action,$=w===void 0?"copy":w,F=O.container,q=O.target,_e=O.text;if($!=="copy"&&$!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(q!==void 0)if(q&&A(q)==="object"&&q.nodeType===1){if($==="copy"&&q.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if($==="cut"&&(q.hasAttribute("readonly")||q.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(_e)return B(_e,{container:F});if(q)return $==="cut"?d(q):B(q,{container:F})},Ne=it;function Ie(W){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ie=function(w){return typeof w}:Ie=function(w){return w&&typeof Symbol=="function"&&w.constructor===Symbol&&w!==Symbol.prototype?"symbol":typeof w},Ie(W)}function mi(W,O){if(!(W instanceof O))throw new TypeError("Cannot call a class as a function")}function Jr(W,O){for(var w=0;w<O.length;w++){var $=O[w];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(W,$.key,$)}}function fi(W,O,w){return O&&Jr(W.prototype,O),w&&Jr(W,w),W}function ui(W,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(O&&O.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),O&&ur(W,O)}function ur(W,O){return ur=Object.setPrototypeOf||function($,F){return $.__proto__=F,$},ur(W,O)}function di(W){var O=vi();return function(){var $=Ct(W),F;if(O){var q=Ct(this).constructor;F=Reflect.construct($,arguments,q)}else F=$.apply(this,arguments);return hi(this,F)}}function hi(W,O){return O&&(Ie(O)==="object"||typeof O=="function")?O:bi(W)}function bi(W){if(W===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W}function vi(){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(W){return!1}}function Ct(W){return Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(w){return w.__proto__||Object.getPrototypeOf(w)},Ct(W)}function dr(W,O){var w="data-clipboard-".concat(W);if(O.hasAttribute(w))return O.getAttribute(w)}var gi=function(W){ui(w,W);var O=di(w);function w($,F){var q;return mi(this,w),q=O.call(this),q.resolveOptions(F),q.listenClick($),q}return fi(w,[{key:"resolveOptions",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof F.action=="function"?F.action:this.defaultAction,this.target=typeof F.target=="function"?F.target:this.defaultTarget,this.text=typeof F.text=="function"?F.text:this.defaultText,this.container=Ie(F.container)==="object"?F.container:document.body}},{key:"listenClick",value:function(F){var q=this;this.listener=c()(F,"click",function(_e){return q.onClick(_e)})}},{key:"onClick",value:function(F){var q=F.delegateTarget||F.currentTarget,_e=this.action(q)||"copy",kt=Ne({action:_e,container:this.container,target:this.target(q),text:this.text(q)});this.emit(kt?"success":"error",{action:_e,text:kt,trigger:q,clearSelection:function(){q&&q.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(F){return dr("action",F)}},{key:"defaultTarget",value:function(F){var q=dr("target",F);if(q)return document.querySelector(q)}},{key:"defaultText",value:function(F){return dr("text",F)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(F){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return B(F,q)}},{key:"cut",value:function(F){return d(F)}},{key:"isSupported",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],q=typeof F=="string"?[F]:F,_e=!!document.queryCommandSupported;return q.forEach(function(kt){_e=_e&&!!document.queryCommandSupported(kt)}),_e}}]),w}(a()),xi=gi},828:function(o){var n=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 s(a,p){for(;a&&a.nodeType!==n;){if(typeof a.matches=="function"&&a.matches(p))return a;a=a.parentNode}}o.exports=s},438:function(o,n,i){var s=i(828);function a(l,f,u,h,d){var v=c.apply(this,arguments);return l.addEventListener(u,v,d),{destroy:function(){l.removeEventListener(u,v,d)}}}function p(l,f,u,h,d){return typeof l.addEventListener=="function"?a.apply(null,arguments):typeof u=="function"?a.bind(null,document).apply(null,arguments):(typeof l=="string"&&(l=document.querySelectorAll(l)),Array.prototype.map.call(l,function(v){return a(v,f,u,h,d)}))}function c(l,f,u,h){return function(d){d.delegateTarget=s(d.target,f),d.delegateTarget&&h.call(l,d)}}o.exports=p},879:function(o,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in i&&(i.length===0||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var s=Object.prototype.toString.call(i);return s==="[object Function]"}},370:function(o,n,i){var s=i(879),a=i(438);function p(u,h,d){if(!u&&!h&&!d)throw new Error("Missing required arguments");if(!s.string(h))throw new TypeError("Second argument must be a String");if(!s.fn(d))throw new TypeError("Third argument must be a Function");if(s.node(u))return c(u,h,d);if(s.nodeList(u))return l(u,h,d);if(s.string(u))return f(u,h,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(u,h,d){return u.addEventListener(h,d),{destroy:function(){u.removeEventListener(h,d)}}}function l(u,h,d){return Array.prototype.forEach.call(u,function(v){v.addEventListener(h,d)}),{destroy:function(){Array.prototype.forEach.call(u,function(v){v.removeEventListener(h,d)})}}}function f(u,h,d){return a(document.body,u,h,d)}o.exports=p},817:function(o){function n(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var p=window.getSelection(),c=document.createRange();c.selectNodeContents(i),p.removeAllRanges(),p.addRange(c),s=p.toString()}return s}o.exports=n},279:function(o){function n(){}n.prototype={on:function(i,s,a){var p=this.e||(this.e={});return(p[i]||(p[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var p=this;function c(){p.off(i,c),s.apply(a,arguments)}return c._=s,this.on(i,c,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),p=0,c=a.length;for(p;p<c;p++)a[p].fn.apply(a[p].ctx,s);return this},off:function(i,s){var a=this.e||(this.e={}),p=a[i],c=[];if(p&&s)for(var l=0,f=p.length;l<f;l++)p[l].fn!==s&&p[l].fn._!==s&&c.push(p[l]);return c.length?a[i]=c:delete a[i],this}},o.exports=n,o.exports.TinyEmitter=n}},t={};function r(o){if(t[o])return t[o].exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}return function(){r.n=function(o){var n=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(n,{a:n}),n}}(),function(){r.d=function(o,n){for(var i in n)r.o(n,i)&&!r.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:n[i]})}}(),function(){r.o=function(o,n){return Object.prototype.hasOwnProperty.call(o,n)}}(),r(686)}().default})});var Wn=vr((qE,jn)=>{"use strict";/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var Ca=/["'&<>]/;jn.exports=ka;function ka(e){var t=""+e,r=Ca.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}s!==i&&(n+=t.substring(s,i)),s=i+1,n+=o}return s!==i?n+t.substring(s,i):n}});var gO=$t(ro());/*! *****************************************************************************
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 xr=function(e,t){return xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r[n]=o[n])},xr(e,t)};function ie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function oo(e,t,r,o){function n(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(o.next(l))}catch(f){s(f)}}function p(l){try{c(o.throw(l))}catch(f){s(f)}}function c(l){l.done?i(l.value):n(l.value).then(a,p)}c((o=o.apply(e,t||[])).next())})}function Rt(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,n,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return p([c,l])}}function p(c){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,n&&(i=c[0]&2?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,n=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],n=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function we(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function N(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],s;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return i}function D(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o<n;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}function Ze(e){return this instanceof Ze?(this.v=e,this):new Ze(e)}function no(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r.apply(e,t||[]),n,i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(u){o[u]&&(n[u]=function(h){return new Promise(function(d,v){i.push([u,h,d,v])>1||a(u,h)})})}function a(u,h){try{p(o[u](h))}catch(d){f(i[0][3],d)}}function p(u){u.value instanceof Ze?Promise.resolve(u.value.v).then(c,l):f(i[0][2],u)}function c(u){a("next",u)}function l(u){a("throw",u)}function f(u,h){u(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function io(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof we=="function"?we(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(s){return new Promise(function(a,p){s=e[i](s),n(a,p,s.done,s.value)})}}function n(i,s,a,p){Promise.resolve(p).then(function(c){i({value:c,done:a})},s)}}function C(e){return typeof e=="function"}function at(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var It=at(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
`+r.map(function(o,n){return n+1+") "+o.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=r}});function De(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Pe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=we(s),p=a.next();!p.done;p=a.next()){var c=p.value;c.remove(this)}}catch(v){t={error:v}}finally{try{p&&!p.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var l=this.initialTeardown;if(C(l))try{l()}catch(v){i=v instanceof It?v.errors:[v]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var u=we(f),h=u.next();!h.done;h=u.next()){var d=h.value;try{ao(d)}catch(v){i=i!=null?i:[],v instanceof It?i=D(D([],N(i)),N(v.errors)):i.push(v)}}}catch(v){o={error:v}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new It(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ao(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==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)&&De(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&De(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var yr=Pe.EMPTY;function Pt(e){return e instanceof Pe||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function ao(e){C(e)?e():e.unsubscribe()}var Ae={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=st.delegate;return n!=null&&n.setTimeout?n.setTimeout.apply(n,D([e,t],N(r))):setTimeout.apply(void 0,D([e,t],N(r)))},clearTimeout:function(e){var t=st.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ft(e){st.setTimeout(function(){var t=Ae.onUnhandledError;if(t)t(e);else throw e})}function de(){}var so=function(){return Er("C",void 0,void 0)}();function co(e){return Er("E",void 0,e)}function po(e){return Er("N",e,void 0)}function Er(e,t,r){return{kind:e,value:t,error:r}}var et=null;function ct(e){if(Ae.useDeprecatedSynchronousErrorHandling){var t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){var r=et,o=r.errorThrown,n=r.error;if(et=null,o)throw n}}else e()}function lo(e){Ae.useDeprecatedSynchronousErrorHandling&&et&&(et.errorThrown=!0,et.error=e)}var xt=function(e){ie(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,Pt(r)&&r.add(o)):o.destination=_i,o}return t.create=function(r,o,n){return new tt(r,o,n)},t.prototype.next=function(r){this.isStopped?Sr(po(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?Sr(co(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?Sr(so,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}(Pe);var Oi=Function.prototype.bind;function wr(e,t){return Oi.call(e,t)}var Mi=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){jt(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){jt(o)}else jt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){jt(r)}},e}(),tt=function(e){ie(t,e);function t(r,o,n){var i=e.call(this)||this,s;if(C(r)||!r)s={next:r!=null?r:void 0,error:o!=null?o:void 0,complete:n!=null?n:void 0};else{var a;i&&Ae.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return i.unsubscribe()},s={next:r.next&&wr(r.next,a),error:r.error&&wr(r.error,a),complete:r.complete&&wr(r.complete,a)}):s=r}return i.destination=new Mi(s),i}return t}(xt);function jt(e){Ae.useDeprecatedSynchronousErrorHandling?lo(e):Ft(e)}function Li(e){throw e}function Sr(e,t){var r=Ae.onStoppedNotification;r&&st.setTimeout(function(){return r(e,t)})}var _i={closed:!0,next:de,error:Li,complete:de};var pt=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function he(e){return e}function mo(){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(o,n){return n(o)},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,o){var n=this,i=Ci(t)?t:new tt(t,r,o);return ct(function(){var s=n,a=s.operator,p=s.source;i.add(a?a.call(i,p):p?n._subscribe(i):n._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 o=this;return r=fo(r),new r(function(n,i){var s=new tt({next:function(a){try{t(a)}catch(p){i(p),s.unsubscribe()}},error:i,complete:n});o.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[pt]=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=fo(t),new t(function(o,n){var i;r.subscribe(function(s){return i=s},function(s){return n(s)},function(){return o(i)})})},e.create=function(t){return new e(t)},e}();function fo(e){var t;return(t=e!=null?e:Ae.Promise)!==null&&t!==void 0?t:Promise}function Ai(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function Ci(e){return e&&e instanceof xt||Ai(e)&&Pt(e)}function ki(e){return C(e==null?void 0:e.lift)}function g(e){return function(t){if(ki(t))return t.lift(function(r){try{return e(r,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}function x(e,t,r,o,n){return new Hi(e,t,r,o,n)}var Hi=function(e){ie(t,e);function t(r,o,n,i,s,a){var p=e.call(this,r)||this;return p.onFinalize=s,p.shouldUnsubscribe=a,p._next=o?function(c){try{o(c)}catch(l){r.error(l)}}:e.prototype._next,p._error=i?function(c){try{i(c)}catch(l){r.error(l)}finally{this.unsubscribe()}}:e.prototype._error,p._complete=n?function(){try{n()}catch(c){r.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,p}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var o=this.closed;e.prototype.unsubscribe.call(this),!o&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(xt);var lt={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,o=lt.delegate;o&&(t=o.requestAnimationFrame,r=o.cancelAnimationFrame);var n=t(function(i){r=void 0,e(i)});return new Pe(function(){return r==null?void 0:r(n)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=lt.delegate;return((r==null?void 0:r.requestAnimationFrame)||requestAnimationFrame).apply(void 0,D([],N(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=lt.delegate;return((r==null?void 0:r.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,D([],N(e)))},delegate:void 0};var uo=at(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var E=function(e){ie(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var o=new ho(this,this);return o.operator=r,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new uo},t.prototype.next=function(r){var o=this;ct(function(){var n,i;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var s=we(o.currentObservers),a=s.next();!a.done;a=s.next()){var p=a.value;p.next(r)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var o=this;ct(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=r;for(var n=o.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;ct(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var o=r.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=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 o=this,n=this,i=n.hasError,s=n.isStopped,a=n.observers;return i||s?yr:(this.currentObservers=null,a.push(r),new Pe(function(){o.currentObservers=null,De(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,i=o.thrownError,s=o.isStopped;n?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new U;return r.source=this,r},t.create=function(r,o){return new ho(r,o)},t}(U);var ho=function(e){ie(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:yr},t}(E);var yt={now:function(){return(yt.delegate||Date).now()},delegate:void 0};var Et=function(e){ie(t,e);function t(r,o,n){r===void 0&&(r=1/0),o===void 0&&(o=1/0),n===void 0&&(n=yt);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,o),i}return t.prototype.next=function(r){var o=this,n=o.isStopped,i=o._buffer,s=o._infiniteTimeWindow,a=o._timestampProvider,p=o._windowTime;n||(i.push(r),!s&&i.push(a.now()+p)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),n=this,i=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),p=0;p<a.length&&!r.closed;p+=i?1:2)r.next(a[p]);return this._checkFinalizedStatuses(r),o},t.prototype._trimBuffer=function(){var r=this,o=r._bufferSize,n=r._timestampProvider,i=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*o;if(o<1/0&&a<i.length&&i.splice(0,i.length-a),!s){for(var p=n.now(),c=0,l=1;l<i.length&&i[l]<=p;l+=2)c=l;c&&i.splice(0,c+1)}},t}(E);var bo=function(e){ie(t,e);function t(r,o){return e.call(this)||this}return t.prototype.schedule=function(r,o){return o===void 0&&(o=0),this},t}(Pe);var wt={setInterval:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=wt.delegate;return n!=null&&n.setInterval?n.setInterval.apply(n,D([e,t],N(r))):setInterval.apply(void 0,D([e,t],N(r)))},clearInterval:function(e){var t=wt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var Wt=function(e){ie(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n.pending=!1,n}return t.prototype.schedule=function(r,o){var n;if(o===void 0&&(o=0),this.closed)return this;this.state=r;var i=this.id,s=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(s,i,o)),this.pending=!0,this.delay=o,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(s,this.id,o),this},t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),wt.setInterval(r.flush.bind(r,this),n)},t.prototype.recycleAsyncId=function(r,o,n){if(n===void 0&&(n=0),n!=null&&this.delay===n&&this.pending===!1)return o;o!=null&&wt.clearInterval(o)},t.prototype.execute=function(r,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(r,o);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,o){var n=!1,i;try{this.work(r)}catch(s){n=!0,i=s||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,o=r.id,n=r.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,De(i,this),o!=null&&(this.id=this.recycleAsyncId(n,o,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(bo);var Or=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,o){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(o,r)},e.now=yt.now,e}();var Ut=function(e){ie(t,e);function t(r,o){o===void 0&&(o=Or.now);var n=e.call(this,r,o)||this;return n.actions=[],n._active=!1,n}return t.prototype.flush=function(r){var o=this.actions;if(this._active){o.push(r);return}var n;this._active=!0;do if(n=r.execute(r.state,r.delay))break;while(r=o.shift());if(this._active=!1,n){for(;r=o.shift();)r.unsubscribe();throw n}},t}(Or);var ae=new Ut(Wt),Mr=ae;var vo=function(e){ie(t,e);function t(r,o){var n=e.call(this,r,o)||this;return n.scheduler=r,n.work=o,n}return t.prototype.requestAsyncId=function(r,o,n){return n===void 0&&(n=0),n!==null&&n>0?e.prototype.requestAsyncId.call(this,r,o,n):(r.actions.push(this),r._scheduled||(r._scheduled=lt.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,o,n);var s=r.actions;o!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==o&&(lt.cancelAnimationFrame(o),r._scheduled=void 0)},t}(Wt);var go=function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var n=this.actions,i;r=r||n.shift();do if(i=r.execute(r.state,r.delay))break;while((r=n[0])&&r.id===o&&n.shift());if(this._active=!1,i){for(;(r=n[0])&&r.id===o&&n.shift();)r.unsubscribe();throw i}},t}(Ut);var Oe=new go(vo);var M=new U(function(e){return e.complete()});function Nt(e){return e&&C(e.schedule)}function Lr(e){return e[e.length-1]}function Qe(e){return C(Lr(e))?e.pop():void 0}function Me(e){return Nt(Lr(e))?e.pop():void 0}function Dt(e,t){return typeof Lr(e)=="number"?e.pop():t}var mt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Vt(e){return C(e==null?void 0:e.then)}function zt(e){return C(e[pt])}function qt(e){return Symbol.asyncIterator&&C(e==null?void 0:e[Symbol.asyncIterator])}function Kt(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 $i(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Qt=$i();function Yt(e){return C(e==null?void 0:e[Qt])}function Bt(e){return no(this,arguments,function(){var r,o,n,i;return Rt(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,Ze(r.read())];case 3:return o=s.sent(),n=o.value,i=o.done,i?[4,Ze(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,Ze(n)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Gt(e){return C(e==null?void 0:e.getReader)}function P(e){if(e instanceof U)return e;if(e!=null){if(zt(e))return Ri(e);if(mt(e))return Ii(e);if(Vt(e))return Pi(e);if(qt(e))return xo(e);if(Yt(e))return Fi(e);if(Gt(e))return ji(e)}throw Kt(e)}function Ri(e){return new U(function(t){var r=e[pt]();if(C(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ii(e){return new U(function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}function Pi(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,Ft)})}function Fi(e){return new U(function(t){var r,o;try{for(var n=we(e),i=n.next();!i.done;i=n.next()){var s=i.value;if(t.next(s),t.closed)return}}catch(a){r={error:a}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}t.complete()})}function xo(e){return new U(function(t){Wi(e,t).catch(function(r){return t.error(r)})})}function ji(e){return xo(Bt(e))}function Wi(e,t){var r,o,n,i;return oo(this,void 0,void 0,function(){var s,a;return Rt(this,function(p){switch(p.label){case 0:p.trys.push([0,5,6,11]),r=io(e),p.label=1;case 1:return[4,r.next()];case 2:if(o=p.sent(),!!o.done)return[3,4];if(s=o.value,t.next(s),t.closed)return[2];p.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=p.sent(),n={error:a},[3,11];case 6:return p.trys.push([6,,9,10]),o&&!o.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:p.sent(),p.label=8;case 8:return[3,10];case 9:if(n)throw n.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function ge(e,t,r,o,n){o===void 0&&(o=0),n===void 0&&(n=!1);var i=t.schedule(function(){r(),n?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(i),!n)return i}function Se(e,t){return t===void 0&&(t=0),g(function(r,o){r.subscribe(x(o,function(n){return ge(o,e,function(){return o.next(n)},t)},function(){return ge(o,e,function(){return o.complete()},t)},function(n){return ge(o,e,function(){return o.error(n)},t)}))})}function rt(e,t){return t===void 0&&(t=0),g(function(r,o){o.add(e.schedule(function(){return r.subscribe(o)},t))})}function yo(e,t){return P(e).pipe(rt(t),Se(t))}function Eo(e,t){return P(e).pipe(rt(t),Se(t))}function wo(e,t){return new U(function(r){var o=0;return t.schedule(function(){o===e.length?r.complete():(r.next(e[o++]),r.closed||this.schedule())})})}function So(e,t){return new U(function(r){var o;return ge(r,t,function(){o=e[Qt](),ge(r,t,function(){var n,i,s;try{n=o.next(),i=n.value,s=n.done}catch(a){r.error(a);return}s?r.complete():r.next(i)},0,!0)}),function(){return C(o==null?void 0:o.return)&&o.return()}})}function Jt(e,t){if(!e)throw new Error("Iterable cannot be null");return new U(function(r){ge(r,t,function(){var o=e[Symbol.asyncIterator]();ge(r,t,function(){o.next().then(function(n){n.done?r.complete():r.next(n.value)})},0,!0)})})}function To(e,t){return Jt(Bt(e),t)}function Oo(e,t){if(e!=null){if(zt(e))return yo(e,t);if(mt(e))return wo(e,t);if(Vt(e))return Eo(e,t);if(qt(e))return Jt(e,t);if(Yt(e))return So(e,t);if(Gt(e))return To(e,t)}throw Kt(e)}function me(e,t){return t?Oo(e,t):P(e)}function R(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Me(e);return me(e,r)}function St(e,t){var r=C(e)?e:function(){return e},o=function(n){return n.error(r())};return new U(t?function(n){return t.schedule(o,0,n)}:o)}var Xt=at(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}});function Mo(e){return e instanceof Date&&!isNaN(e)}function m(e,t){return g(function(r,o){var n=0;r.subscribe(x(o,function(i){o.next(e.call(t,i,n++))}))})}var Ui=Array.isArray;function Ni(e,t){return Ui(t)?e.apply(void 0,D([],N(t))):e(t)}function Ye(e){return m(function(t){return Ni(e,t)})}var Di=Array.isArray,Vi=Object.getPrototypeOf,zi=Object.prototype,qi=Object.keys;function Lo(e){if(e.length===1){var t=e[0];if(Di(t))return{args:t,keys:null};if(Ki(t)){var r=qi(t);return{args:r.map(function(o){return t[o]}),keys:r}}}return{args:e,keys:null}}function Ki(e){return e&&typeof e=="object"&&Vi(e)===zi}function _o(e,t){return e.reduce(function(r,o,n){return r[o]=t[n],r},{})}function Y(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Me(e),o=Qe(e),n=Lo(e),i=n.args,s=n.keys;if(i.length===0)return me([],r);var a=new U(_r(i,r,s?function(p){return _o(s,p)}:he));return o?a.pipe(Ye(o)):a}function _r(e,t,r){return r===void 0&&(r=he),function(o){Ao(t,function(){for(var n=e.length,i=new Array(n),s=n,a=n,p=function(l){Ao(t,function(){var f=me(e[l],t),u=!1;f.subscribe(x(o,function(h){i[l]=h,u||(u=!0,a--),a||o.next(r(i.slice()))},function(){--s||o.complete()}))},o)},c=0;c<n;c++)p(c)},o)}}function Ao(e,t,r){e?ge(r,e,t):t()}function Co(e,t,r,o,n,i,s,a){var p=[],c=0,l=0,f=!1,u=function(){f&&!p.length&&!c&&t.complete()},h=function(v){return c<o?d(v):p.push(v)},d=function(v){i&&t.next(v),c++;var Q=!1;P(r(v,l++)).subscribe(x(t,function(te){n==null||n(te),i?h(te):t.next(te)},function(){Q=!0},void 0,function(){if(Q)try{c--;for(var te=function(){var B=p.shift();s?ge(t,s,function(){return d(B)}):d(B)};p.length&&c<o;)te();u()}catch(B){t.error(B)}}))};return e.subscribe(x(t,h,function(){f=!0,u()})),function(){a==null||a()}}function se(e,t,r){return r===void 0&&(r=1/0),C(t)?se(function(o,n){return m(function(i,s){return t(o,i,n,s)})(P(e(o,n)))},r):(typeof t=="number"&&(r=t),g(function(o,n){return Co(o,n,e,r)}))}function ft(e){return e===void 0&&(e=1/0),se(he,e)}function ko(){return ft(1)}function Fe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ko()(me(e,Me(e)))}function H(e){return new U(function(t){P(e()).subscribe(t)})}var Qi=["addListener","removeListener"],Yi=["addEventListener","removeEventListener"],Bi=["on","off"];function b(e,t,r,o){if(C(r)&&(o=r,r=void 0),o)return b(e,t,r).pipe(Ye(o));var n=N(Xi(e)?Yi.map(function(a){return function(p){return e[a](t,p,r)}}):Gi(e)?Qi.map(Ho(e,t)):Ji(e)?Bi.map(Ho(e,t)):[],2),i=n[0],s=n[1];if(!i&&mt(e))return se(function(a){return b(a,t,r)})(P(e));if(!i)throw new TypeError("Invalid event target");return new U(function(a){var p=function(){for(var c=[],l=0;l<arguments.length;l++)c[l]=arguments[l];return a.next(1<c.length?c:c[0])};return i(p),function(){return s(p)}})}function Ho(e,t){return function(r){return function(o){return e[r](t,o)}}}function Gi(e){return C(e.addListener)&&C(e.removeListener)}function Ji(e){return C(e.on)&&C(e.off)}function Xi(e){return C(e.addEventListener)&&C(e.removeEventListener)}function Zt(e,t,r){return r?Zt(e,t).pipe(Ye(r)):new U(function(o){var n=function(){for(var s=[],a=0;a<arguments.length;a++)s[a]=arguments[a];return o.next(s.length===1?s[0]:s)},i=e(n);return C(t)?function(){return t(n,i)}:void 0})}function Be(e,t,r){e===void 0&&(e=0),r===void 0&&(r=Mr);var o=-1;return t!=null&&(Nt(t)?r=t:o=t),new U(function(n){var i=Mo(e)?+e-r.now():e;i<0&&(i=0);var s=0;return r.schedule(function(){n.closed||(n.next(s++),0<=o?this.schedule(void 0,o):n.complete())},i)})}function _(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Me(e),o=Dt(e,1/0),n=e;return n.length?n.length===1?P(n[0]):ft(o)(me(n,r)):M}var Ve=new U(de);var Zi=Array.isArray;function ut(e){return e.length===1&&Zi(e[0])?e[0]:e}function L(e,t){return g(function(r,o){var n=0;r.subscribe(x(o,function(i){return e.call(t,i,n++)&&o.next(i)}))})}function Tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Qe(e),o=ut(e);return o.length?new U(function(n){var i=o.map(function(){return[]}),s=o.map(function(){return!1});n.add(function(){i=s=null});for(var a=function(c){P(o[c]).subscribe(x(n,function(l){if(i[c].push(l),i.every(function(u){return u.length})){var f=i.map(function(u){return u.shift()});n.next(r?r.apply(void 0,D([],N(f))):f),i.some(function(u,h){return!u.length&&s[h]})&&n.complete()}},function(){s[c]=!0,!i[c].length&&n.complete()}))},p=0;!n.closed&&p<o.length;p++)a(p);return function(){i=s=null}}):M}function $o(e){return g(function(t,r){var o=!1,n=null,i=null,s=!1,a=function(){if(i==null||i.unsubscribe(),i=null,o){o=!1;var c=n;n=null,r.next(c)}s&&r.complete()},p=function(){i=null,s&&r.complete()};t.subscribe(x(r,function(c){o=!0,n=c,i||P(e(c)).subscribe(i=x(r,a,p))},function(){s=!0,(!o||!i||i.closed)&&r.complete()}))})}function Ce(e,t){return t===void 0&&(t=ae),$o(function(){return Be(e,t)})}function Le(e,t){return t===void 0&&(t=null),t=t!=null?t:e,g(function(r,o){var n=[],i=0;r.subscribe(x(o,function(s){var a,p,c,l,f=null;i++%t===0&&n.push([]);try{for(var u=we(n),h=u.next();!h.done;h=u.next()){var d=h.value;d.push(s),e<=d.length&&(f=f!=null?f:[],f.push(d))}}catch(te){a={error:te}}finally{try{h&&!h.done&&(p=u.return)&&p.call(u)}finally{if(a)throw a.error}}if(f)try{for(var v=we(f),Q=v.next();!Q.done;Q=v.next()){var d=Q.value;De(n,d),o.next(d)}}catch(te){c={error:te}}finally{try{Q&&!Q.done&&(l=v.return)&&l.call(v)}finally{if(c)throw c.error}}},function(){var s,a;try{for(var p=we(n),c=p.next();!c.done;c=p.next()){var l=c.value;o.next(l)}}catch(f){s={error:f}}finally{try{c&&!c.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}o.complete()},void 0,function(){n=null}))})}function le(e){return g(function(t,r){var o=null,n=!1,i;o=t.subscribe(x(r,void 0,void 0,function(s){i=P(e(s,le(e)(t))),o?(o.unsubscribe(),o=null,i.subscribe(r)):n=!0})),n&&(o.unsubscribe(),o=null,i.subscribe(r))})}function Ro(e,t,r,o,n){return function(i,s){var a=r,p=t,c=0;i.subscribe(x(s,function(l){var f=c++;p=a?e(p,l,f):(a=!0,l),o&&s.next(p)},n&&function(){a&&s.next(p),s.complete()}))}}function Ar(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Qe(e);return r?mo(Ar.apply(void 0,D([],N(e))),Ye(r)):g(function(o,n){_r(D([o],N(ut(e))))(n)})}function Ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ar.apply(void 0,D([],N(e)))}function ke(e,t){return t===void 0&&(t=ae),g(function(r,o){var n=null,i=null,s=null,a=function(){if(n){n.unsubscribe(),n=null;var c=i;i=null,o.next(c)}};function p(){var c=s+e,l=t.now();if(l<c){n=this.schedule(void 0,c-l),o.add(n);return}a()}r.subscribe(x(o,function(c){i=c,s=t.now(),n||(n=t.schedule(p,e),o.add(n))},function(){a(),o.complete()},void 0,function(){i=n=null}))})}function He(e){return g(function(t,r){var o=!1;t.subscribe(x(r,function(n){o=!0,r.next(n)},function(){o||r.next(e),r.complete()}))})}function xe(e){return e<=0?function(){return M}:g(function(t,r){var o=0;t.subscribe(x(r,function(n){++o<=e&&(r.next(n),e<=o&&r.complete())}))})}function X(){return g(function(e,t){e.subscribe(x(t,de))})}function Io(e){return m(function(){return e})}function Cr(e,t){return t?function(r){return Fe(t.pipe(xe(1),X()),r.pipe(Cr(e)))}:se(function(r,o){return P(e(r,o)).pipe(xe(1),Io(r))})}function ze(e,t){t===void 0&&(t=ae);var r=Be(e,t);return Cr(function(){return r})}function J(e,t){return t===void 0&&(t=he),e=e!=null?e:ea,g(function(r,o){var n,i=!0;r.subscribe(x(o,function(s){var a=t(s);(i||!e(n,a))&&(i=!1,n=a,o.next(s))}))})}function ea(e,t){return e===t}function Z(e,t){return J(function(r,o){return t?t(r[e],o[e]):r[e]===o[e]})}function Po(e){return e===void 0&&(e=ta),g(function(t,r){var o=!1;t.subscribe(x(r,function(n){o=!0,r.next(n)},function(){return o?r.complete():r.error(e())}))})}function ta(){return new Xt}function re(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(r){return Fe(r,R.apply(void 0,D([],N(e))))}}function k(e){return g(function(t,r){try{t.subscribe(r)}finally{r.add(e)}})}function $e(e,t){var r=arguments.length>=2;return function(o){return o.pipe(e?L(function(n,i){return e(n,i,o)}):he,xe(1),r?He(t):Po(function(){return new Xt}))}}function Fo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Me(e),o=Dt(e,1/0);return e=ut(e),g(function(n,i){ft(o)(me(D([n],N(e)),r)).subscribe(i)})}function qe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fo.apply(void 0,D([],N(e)))}function Ot(e){var t,r=1/0,o;return e!=null&&(typeof e=="object"?(t=e.count,r=t===void 0?1/0:t,o=e.delay):r=e),r<=0?function(){return M}:g(function(n,i){var s=0,a,p=function(){if(a==null||a.unsubscribe(),a=null,o!=null){var l=typeof o=="number"?Be(o):P(o(s)),f=x(i,function(){f.unsubscribe(),c()});l.subscribe(f)}else c()},c=function(){var l=!1;a=n.subscribe(x(i,void 0,function(){++s<r?a?p():l=!0:i.complete()})),l&&p()};c()})}function kr(e){return g(function(t,r){var o=!1,n=null;t.subscribe(x(r,function(i){o=!0,n=i})),P(e).subscribe(x(r,function(){if(o){o=!1;var i=n;n=null,r.next(i)}},de))})}function Hr(e,t){return g(Ro(e,t,arguments.length>=2,!0))}function fe(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new E}:t,o=e.resetOnError,n=o===void 0?!0:o,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,p=a===void 0?!0:a;return function(c){var l,f,u,h=0,d=!1,v=!1,Q=function(){f==null||f.unsubscribe(),f=void 0},te=function(){Q(),l=u=void 0,d=v=!1},B=function(){var A=l;te(),A==null||A.unsubscribe()};return g(function(A,it){h++,!v&&!d&&Q();var Ne=u=u!=null?u:r();it.add(function(){h--,h===0&&!v&&!d&&(f=$r(B,p))}),Ne.subscribe(it),!l&&h>0&&(l=new tt({next:function(Ie){return Ne.next(Ie)},error:function(Ie){v=!0,Q(),f=$r(te,n,Ie),Ne.error(Ie)},complete:function(){d=!0,Q(),f=$r(te,s),Ne.complete()}}),P(A).subscribe(l))})(c)}}function $r(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];if(t===!0){e();return}if(t!==!1){var n=new tt({next:function(){n.unsubscribe(),e()}});return P(t.apply(void 0,D([],N(r)))).subscribe(n)}}function G(e,t,r){var o,n,i,s,a=!1;return e&&typeof e=="object"?(o=e.bufferSize,s=o===void 0?1/0:o,n=e.windowTime,t=n===void 0?1/0:n,i=e.refCount,a=i===void 0?!1:i,r=e.scheduler):s=e!=null?e:1/0,fe({connector:function(){return new Et(s,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function je(e){return L(function(t,r){return e<=r})}function Rr(e){return g(function(t,r){var o=!1,n=x(r,function(){n==null||n.unsubscribe(),o=!0},de);P(e).subscribe(n),t.subscribe(x(r,function(i){return o&&r.next(i)}))})}function V(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Me(e);return g(function(o,n){(r?Fe(e,o,r):Fe(e,o)).subscribe(n)})}function y(e,t){return g(function(r,o){var n=null,i=0,s=!1,a=function(){return s&&!n&&o.complete()};r.subscribe(x(o,function(p){n==null||n.unsubscribe();var c=0,l=i++;P(e(p,l)).subscribe(n=x(o,function(f){return o.next(t?t(p,f,l,c++):f)},function(){n=null,a()}))},function(){s=!0,a()}))})}function K(e){return g(function(t,r){P(e).subscribe(x(r,function(){return r.complete()},de)),!r.closed&&t.subscribe(r)})}function Ir(e,t){return t===void 0&&(t=!1),g(function(r,o){var n=0;r.subscribe(x(o,function(i){var s=e(i,n++);(s||t)&&o.next(i),!s&&o.complete()}))})}function S(e,t,r){var o=C(e)||t||r?{next:e,error:t,complete:r}:e;return o?g(function(n,i){var s;(s=o.subscribe)===null||s===void 0||s.call(o);var a=!0;n.subscribe(x(i,function(p){var c;(c=o.next)===null||c===void 0||c.call(o,p),i.next(p)},function(){var p;a=!1,(p=o.complete)===null||p===void 0||p.call(o),i.complete()},function(p){var c;a=!1,(c=o.error)===null||c===void 0||c.call(o,p),i.error(p)},function(){var p,c;a&&((p=o.unsubscribe)===null||p===void 0||p.call(o)),(c=o.finalize)===null||c===void 0||c.call(o)}))}):he}function jo(e,t){return g(function(r,o){var n=t!=null?t:{},i=n.leading,s=i===void 0?!0:i,a=n.trailing,p=a===void 0?!1:a,c=!1,l=null,f=null,u=!1,h=function(){f==null||f.unsubscribe(),f=null,p&&(Q(),u&&o.complete())},d=function(){f=null,u&&o.complete()},v=function(te){return f=P(e(te)).subscribe(x(o,h,d))},Q=function(){if(c){c=!1;var te=l;l=null,o.next(te),!u&&v(te)}};r.subscribe(x(o,function(te){c=!0,l=te,!(f&&!f.closed)&&(s?Q():v(te))},function(){u=!0,!(p&&c&&f&&!f.closed)&&o.complete()}))})}function Pr(e,t,r){t===void 0&&(t=ae);var o=Be(e,t);return jo(function(){return o},r)}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Qe(e);return g(function(o,n){for(var i=e.length,s=new Array(i),a=e.map(function(){return!1}),p=!1,c=function(f){P(e[f]).subscribe(x(n,function(u){s[f]=u,!p&&!a[f]&&(a[f]=!0,(p=a.every(he))&&(a=null))},de))},l=0;l<i;l++)c(l);o.subscribe(x(n,function(f){if(p){var u=D([f],N(s));n.next(r?r.apply(void 0,D([],N(u))):u)}}))})}function Wo(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g(function(r,o){Tt.apply(void 0,D([r],N(e))).subscribe(o)})}function Fr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Wo.apply(void 0,D([],N(e)))}function Uo(){let e=new Et(1);return b(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function z(e,t=document){return Array.from(t.querySelectorAll(e))}function j(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 Re(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}var ra=_(b(document.body,"focusin"),b(document.body,"focusout")).pipe(ke(1),V(void 0),m(()=>Re()||document.body),G(1));function er(e){return ra.pipe(m(t=>e.contains(t)),J())}function Je(e){return{x:e.offsetLeft,y:e.offsetTop}}function No(e){return _(b(window,"load"),b(window,"resize")).pipe(Ce(0,Oe),m(()=>Je(e)),V(Je(e)))}function tr(e){return{x:e.scrollLeft,y:e.scrollTop}}function dt(e){return _(b(e,"scroll"),b(window,"resize")).pipe(Ce(0,Oe),m(()=>tr(e)),V(tr(e)))}function Do(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)Do(e,r)}function T(e,t,...r){let o=document.createElement(e);if(t)for(let n of Object.keys(t))typeof t[n]!="undefined"&&(typeof t[n]!="boolean"?o.setAttribute(n,t[n]):o.setAttribute(n,""));for(let n of r)Do(o,n);return o}function rr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function ht(e){let t=T("script",{src:e});return H(()=>(document.head.appendChild(t),_(b(t,"load"),b(t,"error").pipe(y(()=>St(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(m(()=>{}),k(()=>document.head.removeChild(t)),xe(1))))}var Vo=new E,oa=H(()=>typeof ResizeObserver=="undefined"?ht("https://unpkg.com/resize-observer-polyfill"):R(void 0)).pipe(m(()=>new ResizeObserver(e=>{for(let t of e)Vo.next(t)})),y(e=>_(Ve,R(e)).pipe(k(()=>e.disconnect()))),G(1));function be(e){return{width:e.offsetWidth,height:e.offsetHeight}}function ye(e){return oa.pipe(S(t=>t.observe(e)),y(t=>Vo.pipe(L(({target:r})=>r===e),k(()=>t.unobserve(e)),m(()=>be(e)))),V(be(e)))}function bt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function or(e){let t=e.parentElement;for(;t&&(e.scrollWidth<=t.scrollWidth&&e.scrollHeight<=t.scrollHeight);)t=(e=t).parentElement;return t?e:void 0}var zo=new E,na=H(()=>R(new IntersectionObserver(e=>{for(let t of e)zo.next(t)},{threshold:0}))).pipe(y(e=>_(Ve,R(e)).pipe(k(()=>e.disconnect()))),G(1));function nr(e){return na.pipe(S(t=>t.observe(e)),y(t=>zo.pipe(L(({target:r})=>r===e),k(()=>t.unobserve(e)),m(({isIntersecting:r})=>r))))}function qo(e,t=16){return dt(e).pipe(m(({y:r})=>{let o=be(e),n=bt(e);return r>=n.height-o.height-t}),J())}var ir={drawer:j("[data-md-toggle=drawer]"),search:j("[data-md-toggle=search]")};function Ko(e){return ir[e].checked}function Ke(e,t){ir[e].checked!==t&&ir[e].click()}function We(e){let t=ir[e];return b(t,"change").pipe(m(()=>t.checked),V(t.checked))}function ia(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 aa(){return _(b(window,"compositionstart").pipe(m(()=>!0)),b(window,"compositionend").pipe(m(()=>!1))).pipe(V(!1))}function Qo(){let e=b(window,"keydown").pipe(L(t=>!(t.metaKey||t.ctrlKey)),m(t=>({mode:Ko("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),L(({mode:t,type:r})=>{if(t==="global"){let o=Re();if(typeof o!="undefined")return!ia(o,r)}return!0}),fe());return aa().pipe(y(t=>t?M:e))}function pe(){return new URL(location.href)}function ot(e,t=!1){if(ee("navigation.instant")&&!t){let r=T("a",{href:e.href});document.body.appendChild(r),r.click(),r.remove()}else location.href=e.href}function Yo(){return new E}function Bo(){return location.hash.slice(1)}function ar(e){let t=T("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function sa(e){return _(b(window,"hashchange"),e).pipe(m(Bo),V(Bo()),L(t=>t.length>0),G(1))}function Go(e){return sa(e).pipe(m(t=>ce(`[id="${t}"]`)),L(t=>typeof t!="undefined"))}function jr(e){let t=matchMedia(e);return Zt(r=>t.addListener(()=>r(t.matches))).pipe(V(t.matches))}function Jo(){let e=matchMedia("print");return _(b(window,"beforeprint").pipe(m(()=>!0)),b(window,"afterprint").pipe(m(()=>!1))).pipe(V(e.matches))}function Wr(e,t){return e.pipe(y(r=>r?t():M))}function sr(e,t={credentials:"same-origin"}){return me(fetch(`${e}`,t)).pipe(le(()=>M),y(r=>r.status!==200?St(()=>new Error(r.statusText)):R(r)))}function Ue(e,t){return sr(e,t).pipe(y(r=>r.json()),G(1))}function Xo(e,t){let r=new DOMParser;return sr(e,t).pipe(y(o=>o.text()),m(o=>r.parseFromString(o,"text/xml")),G(1))}function Zo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function en(){return _(b(window,"scroll",{passive:!0}),b(window,"resize",{passive:!0})).pipe(m(Zo),V(Zo()))}function tn(){return{width:innerWidth,height:innerHeight}}function rn(){return b(window,"resize",{passive:!0}).pipe(m(tn),V(tn()))}function on(){return Y([en(),rn()]).pipe(m(([e,t])=>({offset:e,size:t})),G(1))}function cr(e,{viewport$:t,header$:r}){let o=t.pipe(Z("size")),n=Y([o,r]).pipe(m(()=>Je(e)));return Y([r,t,n]).pipe(m(([{height:i},{offset:s,size:a},{x:p,y:c}])=>({offset:{x:s.x-p,y:s.y-c+i},size:a})))}function ca(e){return b(e,"message",t=>t.data)}function pa(e){let t=new E;return t.subscribe(r=>e.postMessage(r)),t}function nn(e,t=new Worker(e)){let r=ca(t),o=pa(t),n=new E;n.subscribe(o);let i=o.pipe(X(),re(!0));return n.pipe(X(),qe(r.pipe(K(i))),fe())}var la=j("#__config"),vt=JSON.parse(la.textContent);vt.base=`${new URL(vt.base,pe())}`;function ue(){return vt}function ee(e){return vt.features.includes(e)}function ve(e,t){return typeof t!="undefined"?vt.translations[e].replace("#",t.toString()):vt.translations[e]}function Ee(e,t=document){return j(`[data-md-component=${e}]`,t)}function ne(e,t=document){return z(`[data-md-component=${e}]`,t)}function ma(e){let t=j(".md-typeset > :first-child",e);return b(t,"click",{once:!0}).pipe(m(()=>j(".md-typeset",e)),m(r=>({hash:__md_hash(r.innerHTML)})))}function an(e){if(!ee("announce.dismiss")||!e.childElementCount)return M;if(!e.hidden){let t=j(".md-typeset",e);__md_hash(t.innerHTML)===__md_get("__announce")&&(e.hidden=!0)}return H(()=>{let t=new E;return t.subscribe(({hash:r})=>{e.hidden=!0,__md_set("__announce",r)}),ma(e).pipe(S(r=>t.next(r)),k(()=>t.complete()),m(r=>I({ref:e},r)))})}function fa(e,{target$:t}){return t.pipe(m(r=>({hidden:r!==e})))}function sn(e,t){let r=new E;return r.subscribe(({hidden:o})=>{e.hidden=o}),fa(e,t).pipe(S(o=>r.next(o)),k(()=>r.complete()),m(o=>I({ref:e},o)))}function ua(e,t){let r=H(()=>Y([No(e),dt(t)])).pipe(m(([{x:o,y:n},i])=>{let{width:s,height:a}=be(e);return{x:o-i.x+s/2,y:n-i.y+a/2}}));return er(e).pipe(y(o=>r.pipe(m(n=>({active:o,offset:n})),xe(+!o||1/0))))}function cn(e,t,{target$:r}){let[o,n]=Array.from(e.children);return H(()=>{let i=new E,s=i.pipe(X(),re(!0));return i.subscribe({next({offset:a}){e.style.setProperty("--md-tooltip-x",`${a.x}px`),e.style.setProperty("--md-tooltip-y",`${a.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),nr(e).pipe(K(s)).subscribe(a=>{e.toggleAttribute("data-md-visible",a)}),_(i.pipe(L(({active:a})=>a)),i.pipe(ke(250),L(({active:a})=>!a))).subscribe({next({active:a}){a?e.prepend(o):o.remove()},complete(){e.prepend(o)}}),i.pipe(Ce(16,Oe)).subscribe(({active:a})=>{o.classList.toggle("md-tooltip--active",a)}),i.pipe(Pr(125,Oe),L(()=>!!e.offsetParent),m(()=>e.offsetParent.getBoundingClientRect()),m(({x:a})=>a)).subscribe({next(a){a?e.style.setProperty("--md-tooltip-0",`${-a}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}}),b(n,"click").pipe(K(s),L(a=>!(a.metaKey||a.ctrlKey))).subscribe(a=>{a.stopPropagation(),a.preventDefault()}),b(n,"mousedown").pipe(K(s),oe(i)).subscribe(([a,{active:p}])=>{var c;if(a.button!==0||a.metaKey||a.ctrlKey)a.preventDefault();else if(p){a.preventDefault();let l=e.parentElement.closest(".md-annotation");l instanceof HTMLElement?l.focus():(c=Re())==null||c.blur()}}),r.pipe(K(s),L(a=>a===o),ze(125)).subscribe(()=>e.focus()),ua(e,t).pipe(S(a=>i.next(a)),k(()=>i.complete()),m(a=>I({ref:e},a)))})}function Ur(e){return T("div",{class:"md-tooltip",id:e},T("div",{class:"md-tooltip__inner md-typeset"}))}function pn(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return T("aside",{class:"md-annotation",tabIndex:0},Ur(t),T("a",{href:r,class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}else return T("aside",{class:"md-annotation",tabIndex:0},Ur(t),T("span",{class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}function ln(e){return T("button",{class:"md-clipboard md-icon",title:ve("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Nr(e,t){let r=t&2,o=t&1,n=Object.keys(e.terms).filter(p=>!e.terms[p]).reduce((p,c)=>[...p,T("del",null,c)," "],[]).slice(0,-1),i=ue(),s=new URL(e.location,i.base);ee("search.highlight")&&s.searchParams.set("h",Object.entries(e.terms).filter(([,p])=>p).reduce((p,[c])=>`${p} ${c}`.trim(),""));let{tags:a}=ue();return T("a",{href:`${s}`,class:"md-search-result__link",tabIndex:-1},T("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},r>0&&T("div",{class:"md-search-result__icon md-icon"}),r>0&&T("h1",null,e.title),r<=0&&T("h2",null,e.title),o>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(p=>{let c=a?p in a?`md-tag-icon md-tag--${a[p]}`:"md-tag-icon":"";return T("span",{class:`md-tag ${c}`},p)}),o>0&&n.length>0&&T("p",{class:"md-search-result__terms"},ve("search.result.term.missing"),": ",...n)))}function mn(e){let t=e[0].score,r=[...e],o=ue(),n=r.findIndex(l=>!`${new URL(l.location,o.base)}`.includes("#")),[i]=r.splice(n,1),s=r.findIndex(l=>l.score<t);s===-1&&(s=r.length);let a=r.slice(0,s),p=r.slice(s),c=[Nr(i,2|+(!n&&s===0)),...a.map(l=>Nr(l,1)),...p.length?[T("details",{class:"md-search-result__more"},T("summary",{tabIndex:-1},T("div",null,p.length>0&&p.length===1?ve("search.result.more.one"):ve("search.result.more.other",p.length))),...p.map(l=>Nr(l,1)))]:[]];return T("li",{class:"md-search-result__item"},c)}function fn(e){return T("ul",{class:"md-source__facts"},Object.entries(e).map(([t,r])=>T("li",{class:`md-source__fact md-source__fact--${t}`},typeof r=="number"?rr(r):r)))}function Dr(e){let t=`tabbed-control tabbed-control--${e}`;return T("div",{class:t,hidden:!0},T("button",{class:"tabbed-button",tabIndex:-1,"aria-hidden":"true"}))}function un(e){return T("div",{class:"md-typeset__scrollwrap"},T("div",{class:"md-typeset__table"},e))}function da(e){let t=ue(),r=new URL(`../${e.version}/`,t.base);return T("li",{class:"md-version__item"},T("a",{href:`${r}`,class:"md-version__link"},e.title))}function dn(e,t){return T("div",{class:"md-version"},T("button",{class:"md-version__current","aria-label":ve("select.version")},t.title),T("ul",{class:"md-version__list"},e.map(da)))}function ha(e){return e.tagName==="CODE"?z(".c, .c1, .cm",e):[e]}function ba(e){let t=[];for(let r of ha(e)){let o=[],n=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=n.nextNode();i;i=n.nextNode())o.push(i);for(let i of o){let s;for(;s=/(\(\d+\))(!)?/.exec(i.textContent);){let[,a,p]=s;if(typeof p=="undefined"){let c=i.splitText(s.index);i=c.splitText(a.length),t.push(c)}else{i.textContent=a,t.push(i);break}}}}return t}function hn(e,t){t.append(...Array.from(e.childNodes))}function pr(e,t,{target$:r,print$:o}){let n=t.closest("[id]"),i=n==null?void 0:n.id,s=new Map;for(let a of ba(t)){let[,p]=a.textContent.match(/\((\d+)\)/);ce(`:scope > li:nth-child(${p})`,e)&&(s.set(p,pn(p,i)),a.replaceWith(s.get(p)))}return s.size===0?M:H(()=>{let a=new E,p=a.pipe(X(),re(!0)),c=[];for(let[l,f]of s)c.push([j(".md-typeset",f),j(`:scope > li:nth-child(${l})`,e)]);return o.pipe(K(p)).subscribe(l=>{e.hidden=!l,e.classList.toggle("md-annotation-list",l);for(let[f,u]of c)l?hn(f,u):hn(u,f)}),_(...[...s].map(([,l])=>cn(l,t,{target$:r}))).pipe(k(()=>a.complete()),fe())})}function bn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return bn(t)}}function vn(e,t){return H(()=>{let r=bn(e);return typeof r!="undefined"?pr(r,e,t):M})}var xn=$t(zr());var va=0;function yn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return yn(t)}}function gn(e){return ye(e).pipe(m(({width:t})=>({scrollable:bt(e).width>t})),Z("scrollable"))}function En(e,t){let{matches:r}=matchMedia("(hover)"),o=H(()=>{let n=new E;if(n.subscribe(({scrollable:s})=>{s&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),xn.default.isSupported()&&(e.closest(".copy")||ee("content.code.copy")&&!e.closest(".no-copy"))){let s=e.closest("pre");s.id=`__code_${va++}`,s.insertBefore(ln(s.id),e)}let i=e.closest(".highlight");if(i instanceof HTMLElement){let s=yn(i);if(typeof s!="undefined"&&(i.classList.contains("annotate")||ee("content.code.annotate"))){let a=pr(s,e,t);return gn(e).pipe(S(p=>n.next(p)),k(()=>n.complete()),m(p=>I({ref:e},p)),qe(ye(i).pipe(m(({width:p,height:c})=>p&&c),J(),y(p=>p?a:M))))}}return gn(e).pipe(S(s=>n.next(s)),k(()=>n.complete()),m(s=>I({ref:e},s)))});return ee("content.lazy")?nr(e).pipe(L(n=>n),xe(1),y(()=>o)):o}function ga(e,{target$:t,print$:r}){let o=!0;return _(t.pipe(m(n=>n.closest("details:not([open])")),L(n=>e===n),m(()=>({action:"open",reveal:!0}))),r.pipe(L(n=>n||!o),S(()=>o=e.open),m(n=>({action:n?"open":"close"}))))}function wn(e,t){return H(()=>{let r=new E;return r.subscribe(({action:o,reveal:n})=>{e.toggleAttribute("open",o==="open"),n&&e.scrollIntoView()}),ga(e,t).pipe(S(o=>r.next(o)),k(()=>r.complete()),m(o=>I({ref:e},o)))})}var Sn=".node circle,.node ellipse,.node path,.node polygon,.node rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}marker{fill:var(--md-mermaid-edge-color)!important}.edgeLabel .label rect{fill:#0000}.label{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.label foreignObject{line-height:normal;overflow:visible}.label div .edgeLabel{color:var(--md-mermaid-label-fg-color)}.edgeLabel,.edgeLabel rect,.label div .edgeLabel{background-color:var(--md-mermaid-label-bg-color)}.edgeLabel,.edgeLabel rect{fill:var(--md-mermaid-label-bg-color);color:var(--md-mermaid-edge-color)}.edgePath .path,.flowchart-link{stroke:var(--md-mermaid-edge-color);stroke-width:.05rem}.edgePath .arrowheadPath{fill:var(--md-mermaid-edge-color);stroke:none}.cluster rect{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}.cluster span{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}g #flowchart-circleEnd,g #flowchart-circleStart,g #flowchart-crossEnd,g #flowchart-crossStart,g #flowchart-pointEnd,g #flowchart-pointStart{stroke:none}g.classGroup line,g.classGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.classGroup text{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.classLabel .box{fill:var(--md-mermaid-label-bg-color);background-color:var(--md-mermaid-label-bg-color);opacity:1}.classLabel .label{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node .divider{stroke:var(--md-mermaid-node-fg-color)}.relation{stroke:var(--md-mermaid-edge-color)}.cardinality{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.cardinality text{fill:inherit!important}defs #classDiagram-compositionEnd,defs #classDiagram-compositionStart,defs #classDiagram-dependencyEnd,defs #classDiagram-dependencyStart,defs #classDiagram-extensionEnd,defs #classDiagram-extensionStart{fill:var(--md-mermaid-edge-color)!important;stroke:var(--md-mermaid-edge-color)!important}defs #classDiagram-aggregationEnd,defs #classDiagram-aggregationStart{fill:var(--md-mermaid-label-bg-color)!important;stroke:var(--md-mermaid-edge-color)!important}g.stateGroup rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}g.stateGroup .state-title{fill:var(--md-mermaid-label-fg-color)!important;font-family:var(--md-mermaid-font-family)}g.stateGroup .composit{fill:var(--md-mermaid-label-bg-color)}.nodeLabel{color:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.node circle.state-end,.node circle.state-start,.start-state{fill:var(--md-mermaid-edge-color);stroke:none}.end-state-inner,.end-state-outer{fill:var(--md-mermaid-edge-color)}.end-state-inner,.node circle.state-end{stroke:var(--md-mermaid-label-bg-color)}.transition{stroke:var(--md-mermaid-edge-color)}[id^=state-fork] rect,[id^=state-join] rect{fill:var(--md-mermaid-edge-color)!important;stroke:none!important}.statediagram-cluster.statediagram-cluster .inner{fill:var(--md-default-bg-color)}.statediagram-cluster rect{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.statediagram-state rect.divider{fill:var(--md-default-fg-color--lightest);stroke:var(--md-default-fg-color--lighter)}defs #statediagram-barbEnd{stroke:var(--md-mermaid-edge-color)}.attributeBoxEven,.attributeBoxOdd{fill:var(--md-mermaid-node-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityBox{fill:var(--md-mermaid-label-bg-color);stroke:var(--md-mermaid-node-fg-color)}.entityLabel{fill:var(--md-mermaid-label-fg-color);font-family:var(--md-mermaid-font-family)}.relationshipLabelBox{fill:var(--md-mermaid-label-bg-color);fill-opacity:1;background-color:var(--md-mermaid-label-bg-color);opacity:1}.relationshipLabel{fill:var(--md-mermaid-label-fg-color)}.relationshipLine{stroke:var(--md-mermaid-edge-color)}defs #ONE_OR_MORE_END *,defs #ONE_OR_MORE_START *,defs #ONLY_ONE_END *,defs #ONLY_ONE_START *,defs #ZERO_OR_MORE_END *,defs #ZERO_OR_MORE_START *,defs #ZERO_OR_ONE_END *,defs #ZERO_OR_ONE_START *{stroke:var(--md-mermaid-edge-color)!important}defs #ZERO_OR_MORE_END circle,defs #ZERO_OR_MORE_START circle{fill:var(--md-mermaid-label-bg-color)}.actor{fill:var(--md-mermaid-sequence-actor-bg-color);stroke:var(--md-mermaid-sequence-actor-border-color)}text.actor>tspan{fill:var(--md-mermaid-sequence-actor-fg-color);font-family:var(--md-mermaid-font-family)}line{stroke:var(--md-mermaid-sequence-actor-line-color)}.actor-man circle,.actor-man line{fill:var(--md-mermaid-sequence-actorman-bg-color);stroke:var(--md-mermaid-sequence-actorman-line-color)}.messageLine0,.messageLine1{stroke:var(--md-mermaid-sequence-message-line-color)}.note{fill:var(--md-mermaid-sequence-note-bg-color);stroke:var(--md-mermaid-sequence-note-border-color)}.loopText,.loopText>tspan,.messageText,.noteText>tspan{stroke:none;font-family:var(--md-mermaid-font-family)!important}.messageText{fill:var(--md-mermaid-sequence-message-fg-color)}.loopText,.loopText>tspan{fill:var(--md-mermaid-sequence-loop-fg-color)}.noteText>tspan{fill:var(--md-mermaid-sequence-note-fg-color)}#arrowhead path{fill:var(--md-mermaid-sequence-message-line-color);stroke:none}.loopLine{fill:var(--md-mermaid-sequence-loop-bg-color);stroke:var(--md-mermaid-sequence-loop-border-color)}.labelBox{fill:var(--md-mermaid-sequence-label-bg-color);stroke:none}.labelText,.labelText>span{fill:var(--md-mermaid-sequence-label-fg-color);font-family:var(--md-mermaid-font-family)}.sequenceNumber{fill:var(--md-mermaid-sequence-number-fg-color)}rect.rect{fill:var(--md-mermaid-sequence-box-bg-color);stroke:none}rect.rect+text.text{fill:var(--md-mermaid-sequence-box-fg-color)}defs #sequencenumber{fill:var(--md-mermaid-sequence-number-bg-color)!important}";var qr,ya=0;function Ea(){return typeof mermaid=="undefined"||mermaid instanceof Element?ht("https://unpkg.com/mermaid@9.4.3/dist/mermaid.min.js"):R(void 0)}function Tn(e){return e.classList.remove("mermaid"),qr||(qr=Ea().pipe(S(()=>mermaid.initialize({startOnLoad:!1,themeCSS:Sn,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),m(()=>{}),G(1))),qr.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${ya++}`,r=T("div",{class:"mermaid"}),o=e.textContent;mermaid.mermaidAPI.render(t,o,(n,i)=>{let s=r.attachShadow({mode:"closed"});s.innerHTML=n,e.replaceWith(r),i==null||i(s)})}),qr.pipe(m(()=>({ref:e})))}var On=T("table");function Mn(e){return e.replaceWith(On),On.replaceWith(un(e)),R({ref:e})}function wa(e){let t=z(":scope > input",e),r=t.find(o=>o.checked)||t[0];return _(...t.map(o=>b(o,"change").pipe(m(()=>j(`label[for="${o.id}"]`))))).pipe(V(j(`label[for="${r.id}"]`)),m(o=>({active:o})))}function Ln(e,{viewport$:t}){let r=Dr("prev");e.append(r);let o=Dr("next");e.append(o);let n=j(".tabbed-labels",e);return H(()=>{let i=new E,s=i.pipe(X(),re(!0));return Y([i,ye(e)]).pipe(Ce(1,Oe),K(s)).subscribe({next([{active:a},p]){let c=Je(a),{width:l}=be(a);e.style.setProperty("--md-indicator-x",`${c.x}px`),e.style.setProperty("--md-indicator-width",`${l}px`);let f=tr(n);(c.x<f.x||c.x+l>f.x+p.width)&&n.scrollTo({left:Math.max(0,c.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),Y([dt(n),ye(n)]).pipe(K(s)).subscribe(([a,p])=>{let c=bt(n);r.hidden=a.x<16,o.hidden=a.x>c.width-p.width-16}),_(b(r,"click").pipe(m(()=>-1)),b(o,"click").pipe(m(()=>1))).pipe(K(s)).subscribe(a=>{let{width:p}=be(n);n.scrollBy({left:p*a,behavior:"smooth"})}),ee("content.tabs.link")&&i.pipe(je(1),oe(t)).subscribe(([{active:a},{offset:p}])=>{let c=a.innerText.trim();if(a.hasAttribute("data-md-switching"))a.removeAttribute("data-md-switching");else{let l=e.offsetTop-p.y;for(let u of z("[data-tabs]"))for(let h of z(":scope > input",u)){let d=j(`label[for="${h.id}"]`);if(d!==a&&d.innerText.trim()===c){d.setAttribute("data-md-switching",""),h.click();break}}window.scrollTo({top:e.offsetTop-l});let f=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([c,...f])])}}),i.pipe(K(s)).subscribe(()=>{for(let a of z("audio, video",e))a.pause()}),wa(e).pipe(S(a=>i.next(a)),k(()=>i.complete()),m(a=>I({ref:e},a)))}).pipe(rt(ae))}function _n(e,{viewport$:t,target$:r,print$:o}){return _(...z(".annotate:not(.highlight)",e).map(n=>vn(n,{target$:r,print$:o})),...z("pre:not(.mermaid) > code",e).map(n=>En(n,{target$:r,print$:o})),...z("pre.mermaid",e).map(n=>Tn(n)),...z("table:not([class])",e).map(n=>Mn(n)),...z("details",e).map(n=>wn(n,{target$:r,print$:o})),...z("[data-tabs]",e).map(n=>Ln(n,{viewport$:t})))}function Sa(e,{alert$:t}){return t.pipe(y(r=>_(R(!0),R(!1).pipe(ze(2e3))).pipe(m(o=>({message:r,active:o})))))}function An(e,t){let r=j(".md-typeset",e);return H(()=>{let o=new E;return o.subscribe(({message:n,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=n}),Sa(e,t).pipe(S(n=>o.next(n)),k(()=>o.complete()),m(n=>I({ref:e},n)))})}function Ta({viewport$:e}){if(!ee("header.autohide"))return R(!1);let t=e.pipe(m(({offset:{y:n}})=>n),Le(2,1),m(([n,i])=>[n<i,i]),Z(0)),r=Y([e,t]).pipe(L(([{offset:n},[,i]])=>Math.abs(i-n.y)>100),m(([,[n]])=>n),J()),o=We("search");return Y([e,o]).pipe(m(([{offset:n},i])=>n.y>400&&!i),J(),y(n=>n?r:R(!1)),V(!1))}function Cn(e,t){return H(()=>Y([ye(e),Ta(t)])).pipe(m(([{height:r},o])=>({height:r,hidden:o})),J((r,o)=>r.height===o.height&&r.hidden===o.hidden),G(1))}function kn(e,{header$:t,main$:r}){return H(()=>{let o=new E,n=o.pipe(X(),re(!0));return o.pipe(Z("active"),Ge(t)).subscribe(([{active:i},{hidden:s}])=>{e.classList.toggle("md-header--shadow",i&&!s),e.hidden=s}),r.subscribe(o),t.pipe(K(n),m(i=>I({ref:e},i)))})}function Oa(e,{viewport$:t,header$:r}){return cr(e,{viewport$:t,header$:r}).pipe(m(({offset:{y:o}})=>{let{height:n}=be(e);return{active:o>=n}}),Z("active"))}function Hn(e,t){return H(()=>{let r=new E;r.subscribe({next({active:n}){e.classList.toggle("md-header__title--active",n)},complete(){e.classList.remove("md-header__title--active")}});let o=ce(".md-content h1");return typeof o=="undefined"?M:Oa(o,t).pipe(S(n=>r.next(n)),k(()=>r.complete()),m(n=>I({ref:e},n)))})}function $n(e,{viewport$:t,header$:r}){let o=r.pipe(m(({height:i})=>i),J()),n=o.pipe(y(()=>ye(e).pipe(m(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),Z("bottom"))));return Y([o,n,t]).pipe(m(([i,{top:s,bottom:a},{offset:{y:p},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,s-p,i)-Math.max(0,c+p-a)),{offset:s-i,height:c,active:s-i<=p})),J((i,s)=>i.offset===s.offset&&i.height===s.height&&i.active===s.active))}function Ma(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return R(...e).pipe(se(r=>b(r,"change").pipe(m(()=>r))),V(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")}})),G(1))}function Rn(e){let t=T("meta",{name:"theme-color"});document.head.appendChild(t);let r=T("meta",{name:"color-scheme"});return document.head.appendChild(r),H(()=>{let o=new E;o.subscribe(i=>{document.body.setAttribute("data-md-color-switching","");for(let[s,a]of Object.entries(i.color))document.body.setAttribute(`data-md-color-${s}`,a);for(let s=0;s<n.length;s++){let a=n[s].nextElementSibling;a instanceof HTMLElement&&(a.hidden=i.index!==s)}__md_set("__palette",i)}),o.pipe(m(()=>{let i=Ee("header"),s=window.getComputedStyle(i);return r.content=s.colorScheme,s.backgroundColor.match(/\d+/g).map(a=>(+a).toString(16).padStart(2,"0")).join("")})).subscribe(i=>t.content=`#${i}`),o.pipe(Se(ae)).subscribe(()=>{document.body.removeAttribute("data-md-color-switching")});let n=z("input",e);return Ma(n).pipe(S(i=>o.next(i)),k(()=>o.complete()),m(i=>I({ref:e},i)))})}var Kr=$t(zr());function La(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function In({alert$:e}){Kr.default.isSupported()&&new U(t=>{new Kr.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||La(j(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(S(t=>{t.trigger.focus()}),m(()=>ve("clipboard.copied"))).subscribe(e)}function _a(e){if(e.length<2)return[""];let[t,r]=[...e].sort((n,i)=>n.length-i.length).map(n=>n.replace(/[^/]+$/,"")),o=0;if(t===r)o=t.length;else for(;t.charCodeAt(o)===r.charCodeAt(o);)o++;return e.map(n=>n.replace(t.slice(0,o),""))}function lr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return R(t);{let r=ue();return Xo(new URL("sitemap.xml",e||r.base)).pipe(m(o=>_a(z("loc",o).map(n=>n.textContent))),le(()=>M),He([]),S(o=>__md_set("__sitemap",o,sessionStorage,e)))}}function Pn(e){let t=j("[rel=canonical]",e);t.href=t.href.replace("//localhost:","//127.0.0.1");let r=new Map;for(let o of z(":scope > *",e)){let n=o.outerHTML;for(let i of["href","src"]){let s=o.getAttribute(i);if(s===null)continue;let a=new URL(s,t.href),p=o.cloneNode();p.setAttribute(i,`${a}`),n=p.outerHTML;break}r.set(n,o)}return r}function Fn({location$:e,viewport$:t}){let r=ue();if(location.protocol==="file:")return M;let o=lr().pipe(m(c=>c.map(l=>`${new URL(l,r.base)}`))),n=b(document.body,"click").pipe(oe(o),y(([c,l])=>{if(!(c.target instanceof Element))return M;let f=c.target.closest("a");if(f===null)return M;if(f.target||c.metaKey||c.ctrlKey)return M;let u=new URL(f.href);return u.search=u.hash="",l.includes(`${u}`)?(c.preventDefault(),R(new URL(f.href))):M}),fe());n.pipe(xe(1)).subscribe(()=>{let c=ce("link[rel=icon]");typeof c!="undefined"&&(c.href=c.href)}),b(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}),n.pipe(oe(t)).subscribe(([c,{offset:l}])=>{history.scrollRestoration="manual",history.replaceState(l,""),history.pushState(null,"",c)}),n.subscribe(e);let i=e.pipe(V(pe()),Z("pathname"),je(1),y(c=>sr(c).pipe(le(()=>(ot(c,!0),M))))),s=new DOMParser,a=i.pipe(y(c=>c.text()),y(c=>{let l=s.parseFromString(c,"text/html");for(let d of["[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=outdated]","[data-md-component=logo]","[data-md-component=skip]",...ee("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let v=ce(d),Q=ce(d,l);typeof v!="undefined"&&typeof Q!="undefined"&&v.replaceWith(Q)}let f=Pn(document.head),u=Pn(l.head);for(let[d,v]of u)v.getAttribute("rel")==="stylesheet"||v.hasAttribute("src")||(f.has(d)?f.delete(d):document.head.appendChild(v));for(let d of f.values())d.getAttribute("rel")==="stylesheet"||d.hasAttribute("src")||d.remove();let h=Ee("container");return Fe(z("script",h)).pipe(y(d=>{let v=l.createElement("script");if(d.src){for(let Q of d.getAttributeNames())v.setAttribute(Q,d.getAttribute(Q));return d.replaceWith(v),new U(Q=>{v.onload=()=>Q.complete()})}else return v.textContent=d.textContent,d.replaceWith(v),M}),X(),re(l))}),fe());return b(window,"popstate").pipe(m(pe)).subscribe(e),e.pipe(V(pe()),Le(2,1),L(([c,l])=>c.pathname===l.pathname&&c.hash!==l.hash),m(([,c])=>c)).subscribe(c=>{var l,f;history.state!==null||!c.hash?window.scrollTo(0,(f=(l=history.state)==null?void 0:l.y)!=null?f:0):(history.scrollRestoration="auto",ar(c.hash),history.scrollRestoration="manual")}),e.pipe(kr(n),V(pe()),Le(2,1),L(([c,l])=>c.pathname===l.pathname&&c.hash===l.hash),m(([,c])=>c)).subscribe(c=>{history.scrollRestoration="auto",ar(c.hash),history.scrollRestoration="manual",history.back()}),a.pipe(oe(e)).subscribe(([,c])=>{var l,f;history.state!==null||!c.hash?window.scrollTo(0,(f=(l=history.state)==null?void 0:l.y)!=null?f:0):ar(c.hash)}),t.pipe(Z("offset"),ke(100)).subscribe(({offset:c})=>{history.replaceState(c,"")}),a}var Un=$t(Wn());function Nn(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=<][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),r=new RegExp(t,"img"),o=(n,i,s)=>`${i}<mark data-md-highlight>${s}</mark>`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return s=>(0,Un.default)(s).replace(i,o).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function Lt(e){return e.type===1}function mr(e){return e.type===3}function Dn(e,t){let r=nn(e);return _(R(location.protocol!=="file:"),We("search")).pipe($e(o=>o),y(()=>t)).subscribe(({config:o,docs:n})=>r.next({type:0,data:{config:o,docs:n,options:{suggest:ee("search.suggest")}}})),r}function Vn({document$:e}){let t=ue(),r=Ue(new URL("../versions.json",t.base)).pipe(le(()=>M)),o=r.pipe(m(n=>{let[,i]=t.base.match(/([^/]+)\/?$/);return n.find(({version:s,aliases:a})=>s===i||a.includes(i))||n[0]}));r.pipe(m(n=>new Map(n.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),y(n=>b(document.body,"click").pipe(L(i=>!i.metaKey&&!i.ctrlKey),oe(o),y(([i,s])=>{if(i.target instanceof Element){let a=i.target.closest("a");if(a&&!a.target&&n.has(a.href)){let p=a.href;return!i.target.closest(".md-version")&&n.get(p)===s?M:(i.preventDefault(),R(p))}}return M}),y(i=>{let{version:s}=n.get(i);return lr(new URL(i)).pipe(m(a=>{let c=pe().href.replace(t.base,"");return a.includes(c.split("#")[0])?new URL(`../${s}/${c}`,t.base):new URL(i)}))})))).subscribe(n=>ot(n,!0)),Y([r,o]).subscribe(([n,i])=>{j(".md-header__topic").appendChild(dn(n,i))}),e.pipe(y(()=>o)).subscribe(n=>{var s;let i=__md_get("__outdated",sessionStorage);if(i===null){i=!0;let a=((s=t.version)==null?void 0:s.default)||"latest";Array.isArray(a)||(a=[a]);e:for(let p of a)for(let c of n.aliases)if(new RegExp(p,"i").test(c)){i=!1;break e}__md_set("__outdated",i,sessionStorage)}if(i)for(let a of ne("outdated"))a.hidden=!1})}function $a(e,{worker$:t}){let{searchParams:r}=pe();r.has("q")&&(Ke("search",!0),e.value=r.get("q"),e.focus(),We("search").pipe($e(i=>!i)).subscribe(()=>{let i=pe();i.searchParams.delete("q"),history.replaceState({},"",`${i}`)}));let o=er(e),n=_(t.pipe($e(Lt)),b(e,"keyup"),o).pipe(m(()=>e.value),J());return Y([n,o]).pipe(m(([i,s])=>({value:i,focus:s})),G(1))}function zn(e,{worker$:t}){let r=new E,o=r.pipe(X(),re(!0));Y([t.pipe($e(Lt)),r],(i,s)=>s).pipe(Z("value")).subscribe(({value:i})=>t.next({type:2,data:i})),r.pipe(Z("focus")).subscribe(({focus:i})=>{i&&Ke("search",i)}),b(e.form,"reset").pipe(K(o)).subscribe(()=>e.focus());let n=j("header [for=__search]");return b(n,"click").subscribe(()=>e.focus()),$a(e,{worker$:t}).pipe(S(i=>r.next(i)),k(()=>r.complete()),m(i=>I({ref:e},i)),G(1))}function qn(e,{worker$:t,query$:r}){let o=new E,n=qo(e.parentElement).pipe(L(Boolean)),i=e.parentElement,s=j(":scope > :first-child",e),a=j(":scope > :last-child",e);We("search").subscribe(l=>a.setAttribute("role",l?"list":"presentation")),o.pipe(oe(r),Rr(t.pipe($e(Lt)))).subscribe(([{items:l},{value:f}])=>{switch(l.length){case 0:s.textContent=f.length?ve("search.result.none"):ve("search.result.placeholder");break;case 1:s.textContent=ve("search.result.one");break;default:let u=rr(l.length);s.textContent=ve("search.result.other",u)}});let p=o.pipe(S(()=>a.innerHTML=""),y(({items:l})=>_(R(...l.slice(0,10)),R(...l.slice(10)).pipe(Le(4),Fr(n),y(([f])=>f)))),m(mn),fe());return p.subscribe(l=>a.appendChild(l)),p.pipe(se(l=>{let f=ce("details",l);return typeof f=="undefined"?M:b(f,"toggle").pipe(K(o),m(()=>f))})).subscribe(l=>{l.open===!1&&l.offsetTop<=i.scrollTop&&i.scrollTo({top:l.offsetTop})}),t.pipe(L(mr),m(({data:l})=>l)).pipe(S(l=>o.next(l)),k(()=>o.complete()),m(l=>I({ref:e},l)))}function Ra(e,{query$:t}){return t.pipe(m(({value:r})=>{let o=pe();return o.hash="",r=r.replace(/\s+/g,"+").replace(/&/g,"%26").replace(/=/g,"%3D"),o.search=`q=${r}`,{url:o}}))}function Kn(e,t){let r=new E,o=r.pipe(X(),re(!0));return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),b(e,"click").pipe(K(o)).subscribe(n=>n.preventDefault()),Ra(e,t).pipe(S(n=>r.next(n)),k(()=>r.complete()),m(n=>I({ref:e},n)))}function Qn(e,{worker$:t,keyboard$:r}){let o=new E,n=Ee("search-query"),i=_(b(n,"keydown"),b(n,"focus")).pipe(Se(ae),m(()=>n.value),J());return o.pipe(Ge(i),m(([{suggest:a},p])=>{let c=p.split(/([\s-]+)/);if(a!=null&&a.length&&c[c.length-1]){let l=a[a.length-1];l.startsWith(c[c.length-1])&&(c[c.length-1]=l)}else c.length=0;return c})).subscribe(a=>e.innerHTML=a.join("").replace(/\s/g,"&nbsp;")),r.pipe(L(({mode:a})=>a==="search")).subscribe(a=>{switch(a.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(L(mr),m(({data:a})=>a)).pipe(S(a=>o.next(a)),k(()=>o.complete()),m(()=>({ref:e})))}function Yn(e,{index$:t,keyboard$:r}){let o=ue();try{let n=Dn(o.search,t),i=Ee("search-query",e),s=Ee("search-result",e);b(e,"click").pipe(L(({target:p})=>p instanceof Element&&!!p.closest("a"))).subscribe(()=>Ke("search",!1)),r.pipe(L(({mode:p})=>p==="search")).subscribe(p=>{let c=Re();switch(p.type){case"Enter":if(c===i){let l=new Map;for(let f of z(":first-child [href]",s)){let u=f.firstElementChild;l.set(f,parseFloat(u.getAttribute("data-md-score")))}if(l.size){let[[f]]=[...l].sort(([,u],[,h])=>h-u);f.click()}p.claim()}break;case"Escape":case"Tab":Ke("search",!1),i.blur();break;case"ArrowUp":case"ArrowDown":if(typeof c=="undefined")i.focus();else{let l=[i,...z(":not(details) > [href], summary, details[open] [href]",s)],f=Math.max(0,(Math.max(0,l.indexOf(c))+l.length+(p.type==="ArrowUp"?-1:1))%l.length);l[f].focus()}p.claim();break;default:i!==Re()&&i.focus()}}),r.pipe(L(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":i.focus(),i.select(),p.claim();break}});let a=zn(i,{worker$:n});return _(a,qn(s,{worker$:n,query$:a})).pipe(qe(...ne("search-share",e).map(p=>Kn(p,{query$:a})),...ne("search-suggest",e).map(p=>Qn(p,{worker$:n,keyboard$:r}))))}catch(n){return e.hidden=!0,Ve}}function Bn(e,{index$:t,location$:r}){return Y([t,r.pipe(V(pe()),L(o=>!!o.searchParams.get("h")))]).pipe(m(([o,n])=>Nn(o.config)(n.searchParams.get("h"))),m(o=>{var s;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let a=i.nextNode();a;a=i.nextNode())if((s=a.parentElement)!=null&&s.offsetHeight){let p=a.textContent,c=o(p);c.length>p.length&&n.set(a,c)}for(let[a,p]of n){let{childNodes:c}=T("span",null,p);a.replaceWith(...Array.from(c))}return{ref:e,nodes:n}}))}function Ia(e,{viewport$:t,main$:r}){let o=e.closest(".md-grid"),n=o.offsetTop-o.parentElement.offsetTop;return Y([r,t]).pipe(m(([{offset:i,height:s},{offset:{y:a}}])=>(s=s+Math.min(n,Math.max(0,a-i))-n,{height:s,locked:a>=i+n})),J((i,s)=>i.height===s.height&&i.locked===s.locked))}function Qr(e,o){var n=o,{header$:t}=n,r=eo(n,["header$"]);let i=j(".md-sidebar__scrollwrap",e),{y:s}=Je(i);return H(()=>{let a=new E,p=a.pipe(X(),re(!0)),c=a.pipe(Ce(0,Oe));return c.pipe(oe(t)).subscribe({next([{height:l},{height:f}]){i.style.height=`${l-2*s}px`,e.style.top=`${f}px`},complete(){i.style.height="",e.style.top=""}}),c.pipe($e()).subscribe(()=>{for(let l of z(".md-nav__link--active[href]",e)){let f=or(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:h}=be(f);f.scrollTo({top:u-h/2})}}}),me(z("label[tabindex]",e)).pipe(se(l=>b(l,"click").pipe(Se(ae),m(()=>l),K(p)))).subscribe(l=>{let f=j(`[id="${l.htmlFor}"]`);j(`[aria-labelledby="${l.id}"]`).setAttribute("aria-expanded",`${f.checked}`)}),Ia(e,r).pipe(S(l=>a.next(l)),k(()=>a.complete()),m(l=>I({ref:e},l)))})}function Gn(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return Tt(Ue(`${r}/releases/latest`).pipe(le(()=>M),m(o=>({version:o.tag_name})),He({})),Ue(r).pipe(le(()=>M),m(o=>({stars:o.stargazers_count,forks:o.forks_count})),He({}))).pipe(m(([o,n])=>I(I({},o),n)))}else{let r=`https://api.github.com/users/${e}`;return Ue(r).pipe(m(o=>({repositories:o.public_repos})),He({}))}}function Jn(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Ue(r).pipe(le(()=>M),m(({star_count:o,forks_count:n})=>({stars:o,forks:n})),He({}))}function Xn(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,o]=t;return Gn(r,o)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,o]=t;return Jn(r,o)}return M}var Pa;function Fa(e){return Pa||(Pa=H(()=>{let t=__md_get("__source",sessionStorage);if(t)return R(t);if(ne("consent").length){let o=__md_get("__consent");if(!(o&&o.github))return M}return Xn(e.href).pipe(S(o=>__md_set("__source",o,sessionStorage)))}).pipe(le(()=>M),L(t=>Object.keys(t).length>0),m(t=>({facts:t})),G(1)))}function Zn(e){let t=j(":scope > :last-child",e);return H(()=>{let r=new E;return r.subscribe(({facts:o})=>{t.appendChild(fn(o)),t.classList.add("md-source__repository--active")}),Fa(e).pipe(S(o=>r.next(o)),k(()=>r.complete()),m(o=>I({ref:e},o)))})}function ja(e,{viewport$:t,header$:r}){return ye(document.body).pipe(y(()=>cr(e,{header$:r,viewport$:t})),m(({offset:{y:o}})=>({hidden:o>=10})),Z("hidden"))}function ei(e,t){return H(()=>{let r=new E;return r.subscribe({next({hidden:o}){e.hidden=o},complete(){e.hidden=!1}}),(ee("navigation.tabs.sticky")?R({hidden:!1}):ja(e,t)).pipe(S(o=>r.next(o)),k(()=>r.complete()),m(o=>I({ref:e},o)))})}function Wa(e,{viewport$:t,header$:r}){let o=new Map,n=z("[href^=\\#]",e);for(let a of n){let p=decodeURIComponent(a.hash.substring(1)),c=ce(`[id="${p}"]`);typeof c!="undefined"&&o.set(a,c)}let i=r.pipe(Z("height"),m(({height:a})=>{let p=Ee("main"),c=j(":scope > :first-child",p);return a+.8*(c.offsetTop-p.offsetTop)}),fe());return ye(document.body).pipe(Z("height"),y(a=>H(()=>{let p=[];return R([...o].reduce((c,[l,f])=>{for(;p.length&&o.get(p[p.length-1]).tagName>=f.tagName;)p.pop();let u=f.offsetTop;for(;!u&&f.parentElement;)f=f.parentElement,u=f.offsetTop;let h=f.offsetParent;for(;h;h=h.offsetParent)u+=h.offsetTop;return c.set([...p=[...p,l]].reverse(),u)},new Map))}).pipe(m(p=>new Map([...p].sort(([,c],[,l])=>c-l))),Ge(i),y(([p,c])=>t.pipe(Hr(([l,f],{offset:{y:u},size:h})=>{let d=u+h.height>=Math.floor(a.height);for(;f.length;){let[,v]=f[0];if(v-c<u||d)l=[...l,f.shift()];else break}for(;l.length;){let[,v]=l[l.length-1];if(v-c>=u&&!d)f=[l.pop(),...f];else break}return[l,f]},[[],[...p]]),J((l,f)=>l[0]===f[0]&&l[1]===f[1])))))).pipe(m(([a,p])=>({prev:a.map(([c])=>c),next:p.map(([c])=>c)})),V({prev:[],next:[]}),Le(2,1),m(([a,p])=>a.prev.length<p.prev.length?{prev:p.prev.slice(Math.max(0,a.prev.length-1),p.prev.length),next:[]}:{prev:p.prev.slice(-1),next:p.next.slice(0,p.next.length-a.next.length)}))}function ti(e,{viewport$:t,header$:r,main$:o,target$:n}){return H(()=>{let i=new E,s=i.pipe(X(),re(!0));if(i.subscribe(({prev:a,next:p})=>{for(let[c]of p)c.classList.remove("md-nav__link--passed"),c.classList.remove("md-nav__link--active");for(let[c,[l]]of a.entries())l.classList.add("md-nav__link--passed"),l.classList.toggle("md-nav__link--active",c===a.length-1)}),ee("toc.follow")){let a=_(t.pipe(ke(1),m(()=>{})),t.pipe(ke(250),m(()=>"smooth")));i.pipe(L(({prev:p})=>p.length>0),Ge(o.pipe(Se(ae))),oe(a)).subscribe(([[{prev:p}],c])=>{let[l]=p[p.length-1];if(l.offsetHeight){let f=or(l);if(typeof f!="undefined"){let u=l.offsetTop-f.offsetTop,{height:h}=be(f);f.scrollTo({top:u-h/2,behavior:c})}}})}return ee("navigation.tracking")&&t.pipe(K(s),Z("offset"),ke(250),je(1),K(n.pipe(je(1))),Ot({delay:250}),oe(i)).subscribe(([,{prev:a}])=>{let p=pe(),c=a[a.length-1];if(c&&c.length){let[l]=c,{hash:f}=new URL(l.href);p.hash!==f&&(p.hash=f,history.replaceState({},"",`${p}`))}else p.hash="",history.replaceState({},"",`${p}`)}),Wa(e,{viewport$:t,header$:r}).pipe(S(a=>i.next(a)),k(()=>i.complete()),m(a=>I({ref:e},a)))})}function Ua(e,{viewport$:t,main$:r,target$:o}){let n=t.pipe(m(({offset:{y:s}})=>s),Le(2,1),m(([s,a])=>s>a&&a>0),J()),i=r.pipe(m(({active:s})=>s));return Y([i,n]).pipe(m(([s,a])=>!(s&&a)),J(),K(o.pipe(je(1))),re(!0),Ot({delay:250}),m(s=>({hidden:s})))}function ri(e,{viewport$:t,header$:r,main$:o,target$:n}){let i=new E,s=i.pipe(X(),re(!0));return i.subscribe({next({hidden:a}){e.hidden=a,a?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(K(s),Z("height")).subscribe(({height:a})=>{e.style.top=`${a+16}px`}),b(e,"click").subscribe(a=>{a.preventDefault(),window.scrollTo({top:0})}),Ua(e,{viewport$:t,main$:o,target$:n}).pipe(S(a=>i.next(a)),k(()=>i.complete()),m(a=>I({ref:e},a)))}function oi({document$:e,tablet$:t}){e.pipe(y(()=>z(".md-toggle--indeterminate")),S(r=>{r.indeterminate=!0,r.checked=!1}),se(r=>b(r,"change").pipe(Ir(()=>r.classList.contains("md-toggle--indeterminate")),m(()=>r))),oe(t)).subscribe(([r,o])=>{r.classList.remove("md-toggle--indeterminate"),o&&(r.checked=!1)})}function Na(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function ni({document$:e}){e.pipe(y(()=>z("[data-md-scrollfix]")),S(t=>t.removeAttribute("data-md-scrollfix")),L(Na),se(t=>b(t,"touchstart").pipe(m(()=>t)))).subscribe(t=>{let r=t.scrollTop;r===0?t.scrollTop=1:r+t.offsetHeight===t.scrollHeight&&(t.scrollTop=r-1)})}function ii({viewport$:e,tablet$:t}){Y([We("search"),t]).pipe(m(([r,o])=>r&&!o),y(r=>R(r).pipe(ze(r?400:100))),oe(e)).subscribe(([r,{offset:{y:o}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${o}px`;else{let n=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",n&&window.scrollTo(0,n)}})}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 o=e[r];typeof o=="string"?o=document.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),r?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}}));function Da(){return location.protocol==="file:"?ht(`${new URL("search/search_index.js",Yr.base)}`).pipe(m(()=>__index),G(1)):Ue(new URL("search/search_index.json",Yr.base))}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var nt=Uo(),At=Yo(),gt=Go(At),Br=Qo(),Te=on(),fr=jr("(min-width: 960px)"),si=jr("(min-width: 1220px)"),ci=Jo(),Yr=ue(),pi=document.forms.namedItem("search")?Da():Ve,Gr=new E;In({alert$:Gr});ee("navigation.instant")&&Fn({location$:At,viewport$:Te}).subscribe(nt);var ai;((ai=Yr.version)==null?void 0:ai.provider)==="mike"&&Vn({document$:nt});_(At,gt).pipe(ze(125)).subscribe(()=>{Ke("drawer",!1),Ke("search",!1)});Br.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ce("link[rel=prev]");typeof t!="undefined"&&ot(t);break;case"n":case".":let r=ce("link[rel=next]");typeof r!="undefined"&&ot(r);break;case"Enter":let o=Re();o instanceof HTMLLabelElement&&o.click()}});oi({document$:nt,tablet$:fr});ni({document$:nt});ii({viewport$:Te,tablet$:fr});var Xe=Cn(Ee("header"),{viewport$:Te}),_t=nt.pipe(m(()=>Ee("main")),y(e=>$n(e,{viewport$:Te,header$:Xe})),G(1)),Va=_(...ne("consent").map(e=>sn(e,{target$:gt})),...ne("dialog").map(e=>An(e,{alert$:Gr})),...ne("header").map(e=>kn(e,{viewport$:Te,header$:Xe,main$:_t})),...ne("palette").map(e=>Rn(e)),...ne("search").map(e=>Yn(e,{index$:pi,keyboard$:Br})),...ne("source").map(e=>Zn(e))),za=H(()=>_(...ne("announce").map(e=>an(e)),...ne("content").map(e=>_n(e,{viewport$:Te,target$:gt,print$:ci})),...ne("content").map(e=>ee("search.highlight")?Bn(e,{index$:pi,location$:At}):M),...ne("header-title").map(e=>Hn(e,{viewport$:Te,header$:Xe})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Wr(si,()=>Qr(e,{viewport$:Te,header$:Xe,main$:_t})):Wr(fr,()=>Qr(e,{viewport$:Te,header$:Xe,main$:_t}))),...ne("tabs").map(e=>ei(e,{viewport$:Te,header$:Xe})),...ne("toc").map(e=>ti(e,{viewport$:Te,header$:Xe,main$:_t,target$:gt})),...ne("top").map(e=>ri(e,{viewport$:Te,header$:Xe,main$:_t,target$:gt})))),li=nt.pipe(y(()=>za),qe(Va),G(1));li.subscribe();window.document$=nt;window.location$=At;window.target$=gt;window.keyboard$=Br;window.viewport$=Te;window.tablet$=fr;window.screen$=si;window.print$=ci;window.alert$=Gr;window.component$=li;})();
//# sourceMappingURL=bundle.697ed5af.min.js.map