mkdocs-material/material/assets/javascripts/bundle.202856ae.min.js

30 lines
111 KiB
JavaScript

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