mkdocs-material/material/assets/javascripts/bundle.56494524.min.js

30 lines
111 KiB
JavaScript

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