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