"use strict";(()=>{var bi=Object.create;var ur=Object.defineProperty;var vi=Object.getOwnPropertyDescriptor;var gi=Object.getOwnPropertyNames,kt=Object.getOwnPropertySymbols,xi=Object.getPrototypeOf,dr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable;var Gr=(e,t,r)=>t in e?ur(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))dr.call(t,r)&&Gr(e,r,t[r]);if(kt)for(var r of kt(t))Jr.call(t,r)&&Gr(e,r,t[r]);return e};var Xr=(e,t)=>{var r={};for(var o in e)dr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&kt)for(var o of kt(e))t.indexOf(o)<0&&Jr.call(e,o)&&(r[o]=e[o]);return r};var hr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var yi=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of gi(t))!dr.call(e,n)&&n!==r&&ur(e,n,{get:()=>t[n],enumerable:!(o=vi(t,n))||o.enumerable});return e};var Ht=(e,t,r)=>(r=e!=null?bi(xi(e)):{},yi(t||!e||!e.__esModule?ur(r,"default",{value:e,enumerable:!0}):r,e));var eo=hr((br,Zr)=>{(function(e,t){typeof br=="object"&&typeof Zr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(br,function(){"use strict";function e(r){var o=!0,n=!1,i=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function a(A){return!!(A&&A!==document&&A.nodeName!=="HTML"&&A.nodeName!=="BODY"&&"classList"in A&&"contains"in A.classList)}function c(A){var it=A.type,De=A.tagName;return!!(De==="INPUT"&&s[it]&&!A.readOnly||De==="TEXTAREA"&&!A.readOnly||A.isContentEditable)}function p(A){A.classList.contains("focus-visible")||(A.classList.add("focus-visible"),A.setAttribute("data-focus-visible-added",""))}function f(A){A.hasAttribute("data-focus-visible-added")&&(A.classList.remove("focus-visible"),A.removeAttribute("data-focus-visible-added"))}function m(A){A.metaKey||A.altKey||A.ctrlKey||(a(r.activeElement)&&p(r.activeElement),o=!0)}function u(A){o=!1}function d(A){a(A.target)&&(o||c(A.target))&&p(A.target)}function b(A){a(A.target)&&(A.target.classList.contains("focus-visible")||A.target.hasAttribute("data-focus-visible-added"))&&(n=!0,window.clearTimeout(i),i=window.setTimeout(function(){n=!1},100),f(A.target))}function _(A){document.visibilityState==="hidden"&&(n&&(o=!0),re())}function re(){document.addEventListener("mousemove",Y),document.addEventListener("mousedown",Y),document.addEventListener("mouseup",Y),document.addEventListener("pointermove",Y),document.addEventListener("pointerdown",Y),document.addEventListener("pointerup",Y),document.addEventListener("touchmove",Y),document.addEventListener("touchstart",Y),document.addEventListener("touchend",Y)}function Z(){document.removeEventListener("mousemove",Y),document.removeEventListener("mousedown",Y),document.removeEventListener("mouseup",Y),document.removeEventListener("pointermove",Y),document.removeEventListener("pointerdown",Y),document.removeEventListener("pointerup",Y),document.removeEventListener("touchmove",Y),document.removeEventListener("touchstart",Y),document.removeEventListener("touchend",Y)}function Y(A){A.target.nodeName&&A.target.nodeName.toLowerCase()==="html"||(o=!1,Z())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",u,!0),document.addEventListener("pointerdown",u,!0),document.addEventListener("touchstart",u,!0),document.addEventListener("visibilitychange",_,!0),re(),r.addEventListener("focus",d,!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 Wr=hr((Ot,jr)=>{/*! * clipboard.js v2.0.11 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,r){typeof Ot=="object"&&typeof jr=="object"?jr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof Ot=="object"?Ot.ClipboardJS=r():t.ClipboardJS=r()})(Ot,function(){return function(){var e={686:function(o,n,i){"use strict";i.d(n,{default:function(){return hi}});var s=i(279),a=i.n(s),c=i(370),p=i.n(c),f=i(817),m=i.n(f);function u(F){try{return document.execCommand(F)}catch(S){return!1}}var d=function(S){var y=m()(S);return u("cut"),y},b=d;function _(F){var S=document.documentElement.getAttribute("dir")==="rtl",y=document.createElement("textarea");y.style.fontSize="12pt",y.style.border="0",y.style.padding="0",y.style.margin="0",y.style.position="absolute",y.style[S?"right":"left"]="-9999px";var $=window.pageYOffset||document.documentElement.scrollTop;return y.style.top="".concat($,"px"),y.setAttribute("readonly",""),y.value=F,y}var re=function(S,y){var $=_(S);y.container.appendChild($);var P=m()($);return u("copy"),$.remove(),P},Z=function(S){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},$="";return typeof S=="string"?$=re(S,y):S instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(S==null?void 0:S.type)?$=re(S.value,y):($=m()(S),u("copy")),$},Y=Z;function A(F){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?A=function(y){return typeof y}:A=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},A(F)}var it=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=S.action,$=y===void 0?"copy":y,P=S.container,z=S.target,Le=S.text;if($!=="copy"&&$!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(z!==void 0)if(z&&A(z)==="object"&&z.nodeType===1){if($==="copy"&&z.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if($==="cut"&&(z.hasAttribute("readonly")||z.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(Le)return Y(Le,{container:P});if(z)return $==="cut"?b(z):Y(z,{container:P})},De=it;function Ie(F){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ie=function(y){return typeof y}:Ie=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},Ie(F)}function si(F,S){if(!(F instanceof S))throw new TypeError("Cannot call a class as a function")}function Br(F,S){for(var y=0;y0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof P.action=="function"?P.action:this.defaultAction,this.target=typeof P.target=="function"?P.target:this.defaultTarget,this.text=typeof P.text=="function"?P.text:this.defaultText,this.container=Ie(P.container)==="object"?P.container:document.body}},{key:"listenClick",value:function(P){var z=this;this.listener=p()(P,"click",function(Le){return z.onClick(Le)})}},{key:"onClick",value:function(P){var z=P.delegateTarget||P.currentTarget,Le=this.action(z)||"copy",Ct=De({action:Le,container:this.container,target:this.target(z),text:this.text(z)});this.emit(Ct?"success":"error",{action:Le,text:Ct,trigger:z,clearSelection:function(){z&&z.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(P){return mr("action",P)}},{key:"defaultTarget",value:function(P){var z=mr("target",P);if(z)return document.querySelector(z)}},{key:"defaultText",value:function(P){return mr("text",P)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(P){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return Y(P,z)}},{key:"cut",value:function(P){return b(P)}},{key:"isSupported",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],z=typeof P=="string"?[P]:P,Le=!!document.queryCommandSupported;return z.forEach(function(Ct){Le=Le&&!!document.queryCommandSupported(Ct)}),Le}}]),y}(a()),hi=di},828:function(o){var n=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function s(a,c){for(;a&&a.nodeType!==n;){if(typeof a.matches=="function"&&a.matches(c))return a;a=a.parentNode}}o.exports=s},438:function(o,n,i){var s=i(828);function a(f,m,u,d,b){var _=p.apply(this,arguments);return f.addEventListener(u,_,b),{destroy:function(){f.removeEventListener(u,_,b)}}}function c(f,m,u,d,b){return typeof f.addEventListener=="function"?a.apply(null,arguments):typeof u=="function"?a.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(_){return a(_,m,u,d,b)}))}function p(f,m,u,d){return function(b){b.delegateTarget=s(b.target,m),b.delegateTarget&&d.call(f,b)}}o.exports=c},879:function(o,n){n.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},n.nodeList=function(i){var s=Object.prototype.toString.call(i);return i!==void 0&&(s==="[object NodeList]"||s==="[object HTMLCollection]")&&"length"in i&&(i.length===0||n.node(i[0]))},n.string=function(i){return typeof i=="string"||i instanceof String},n.fn=function(i){var s=Object.prototype.toString.call(i);return s==="[object Function]"}},370:function(o,n,i){var s=i(879),a=i(438);function c(u,d,b){if(!u&&!d&&!b)throw new Error("Missing required arguments");if(!s.string(d))throw new TypeError("Second argument must be a String");if(!s.fn(b))throw new TypeError("Third argument must be a Function");if(s.node(u))return p(u,d,b);if(s.nodeList(u))return f(u,d,b);if(s.string(u))return m(u,d,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function p(u,d,b){return u.addEventListener(d,b),{destroy:function(){u.removeEventListener(d,b)}}}function f(u,d,b){return Array.prototype.forEach.call(u,function(_){_.addEventListener(d,b)}),{destroy:function(){Array.prototype.forEach.call(u,function(_){_.removeEventListener(d,b)})}}}function m(u,d,b){return a(document.body,u,d,b)}o.exports=c},817:function(o){function n(i){var s;if(i.nodeName==="SELECT")i.focus(),s=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var a=i.hasAttribute("readonly");a||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),a||i.removeAttribute("readonly"),s=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var c=window.getSelection(),p=document.createRange();p.selectNodeContents(i),c.removeAllRanges(),c.addRange(p),s=c.toString()}return s}o.exports=n},279:function(o){function n(){}n.prototype={on:function(i,s,a){var c=this.e||(this.e={});return(c[i]||(c[i]=[])).push({fn:s,ctx:a}),this},once:function(i,s,a){var c=this;function p(){c.off(i,p),s.apply(a,arguments)}return p._=s,this.on(i,p,a)},emit:function(i){var s=[].slice.call(arguments,1),a=((this.e||(this.e={}))[i]||[]).slice(),c=0,p=a.length;for(c;c{"use strict";/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */var Ta=/["'&<>]/;Rn.exports=Oa;function Oa(e){var t=""+e,r=Ta.exec(t);if(!r)return t;var o,n="",i=0,s=0;for(i=r.index;i0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[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 U(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),n,i=[],s;try{for(;(t===void 0||t-- >0)&&!(n=o.next()).done;)i.push(n.value)}catch(a){s={error:a}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(s)throw s.error}}return i}function D(e,t,r){if(r||arguments.length===2)for(var o=0,n=t.length,i;o1||a(u,d)})})}function a(u,d){try{c(o[u](d))}catch(b){m(i[0][3],b)}}function c(u){u.value instanceof Ze?Promise.resolve(u.value.v).then(p,f):m(i[0][2],u)}function p(u){a("next",u)}function f(u){a("throw",u)}function m(u,d){u(d),i.shift(),i.length&&a(i[0][0],i[0][1])}}function oo(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={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(i){r[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),n(a,c,s.done,s.value)})}}function n(i,s,a,c){Promise.resolve(c).then(function(p){i({value:p,done:a})},s)}}function C(e){return typeof e=="function"}function at(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Rt=at(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: `+r.map(function(o,n){return n+1+") "+o.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=r}});function Ne(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Pe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,n,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=Ee(s),c=a.next();!c.done;c=a.next()){var p=c.value;p.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(C(f))try{f()}catch(_){i=_ instanceof Rt?_.errors:[_]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var u=Ee(m),d=u.next();!d.done;d=u.next()){var b=d.value;try{no(b)}catch(_){i=i!=null?i:[],_ instanceof Rt?i=D(D([],U(i)),U(_.errors)):i.push(_)}}}catch(_){o={error:_}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(o)throw o.error}}}if(i)throw new Rt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)no(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 gr=Pe.EMPTY;function It(e){return e instanceof Pe||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function no(e){C(e)?e():e.unsubscribe()}var _e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var st={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,s=n.isStopped,a=n.observers;return i||s?gr:(this.currentObservers=null,a.push(r),new Pe(function(){o.currentObservers=null,Ne(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,n=o.hasError,i=o.thrownError,s=o.isStopped;n?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new j;return r.source=this,r},t.create=function(r,o){return new mo(r,o)},t}(j);var mo=function(e){ie(t,e);function t(r,o){var n=e.call(this)||this;return n.destination=r,n.source=o,n}return t.prototype.next=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.next)===null||n===void 0||n.call(o,r)},t.prototype.error=function(r){var o,n;(n=(o=this.destination)===null||o===void 0?void 0:o.error)===null||n===void 0||n.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,n;return(n=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&n!==void 0?n:gr},t}(x);var xt={now:function(){return(xt.delegate||Date).now()},delegate:void 0};var yt=function(e){ie(t,e);function t(r,o,n){r===void 0&&(r=1/0),o===void 0&&(o=1/0),n===void 0&&(n=xt);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=o,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=o===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,o),i}return t.prototype.next=function(r){var o=this,n=o.isStopped,i=o._buffer,s=o._infiniteTimeWindow,a=o._timestampProvider,c=o._windowTime;n||(i.push(r),!s&&i.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),n=this,i=n._infiniteTimeWindow,s=n._buffer,a=s.slice(),c=0;c0?e.prototype.requestAsyncId.call(this,r,o,n):(r.actions.push(this),r._scheduled||(r._scheduled=ft.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,o,n){var i;if(n===void 0&&(n=0),n!=null?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,o,n);var s=r.actions;o!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==o&&(ft.cancelAnimationFrame(o),r._scheduled=void 0)},t}(jt);var bo=function(e){ie(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var n=this.actions,i;r=r||n.shift();do if(i=r.execute(r.state,r.delay))break;while((r=n[0])&&r.id===o&&n.shift());if(this._active=!1,i){for(;(r=n[0])&&r.id===o&&n.shift();)r.unsubscribe();throw i}},t}(Wt);var Te=new bo(ho);var O=new j(function(e){return e.complete()});function Ut(e){return e&&C(e.schedule)}function Or(e){return e[e.length-1]}function Qe(e){return C(Or(e))?e.pop():void 0}function Oe(e){return Ut(Or(e))?e.pop():void 0}function Dt(e,t){return typeof Or(e)=="number"?e.pop():t}var lt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Nt(e){return C(e==null?void 0:e.then)}function Vt(e){return C(e[pt])}function zt(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 Ai(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Kt=Ai();function Qt(e){return C(e==null?void 0:e[Kt])}function Yt(e){return ro(this,arguments,function(){var r,o,n,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,Ze(r.read())];case 3:return o=s.sent(),n=o.value,i=o.done,i?[4,Ze(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,Ze(n)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function Bt(e){return C(e==null?void 0:e.getReader)}function W(e){if(e instanceof j)return e;if(e!=null){if(Vt(e))return Ci(e);if(lt(e))return ki(e);if(Nt(e))return Hi(e);if(zt(e))return vo(e);if(Qt(e))return $i(e);if(Bt(e))return Ri(e)}throw qt(e)}function Ci(e){return new j(function(t){var r=e[pt]();if(C(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ki(e){return new j(function(t){for(var r=0;r=2;return function(o){return o.pipe(e?L(function(n,i){return e(n,i,o)}):de,ge(1),r?$e(t):Ro(function(){return new Jt}))}}function Io(){for(var e=[],t=0;t=2,!0))}function le(e){e===void 0&&(e={});var t=e.connector,r=t===void 0?function(){return new x}:t,o=e.resetOnError,n=o===void 0?!0:o,i=e.resetOnComplete,s=i===void 0?!0:i,a=e.resetOnRefCountZero,c=a===void 0?!0:a;return function(p){var f,m,u,d=0,b=!1,_=!1,re=function(){m==null||m.unsubscribe(),m=void 0},Z=function(){re(),f=u=void 0,b=_=!1},Y=function(){var A=f;Z(),A==null||A.unsubscribe()};return g(function(A,it){d++,!_&&!b&&re();var De=u=u!=null?u:r();it.add(function(){d--,d===0&&!_&&!b&&(m=Cr(Y,c))}),De.subscribe(it),!f&&d>0&&(f=new tt({next:function(Ie){return De.next(Ie)},error:function(Ie){_=!0,re(),m=Cr(Z,n,Ie),De.error(Ie)},complete:function(){b=!0,re(),m=Cr(Z,s),De.complete()}}),W(A).subscribe(f))})(p)}}function Cr(e,t){for(var r=[],o=2;oe.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 Me(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Zt(e){return M(h(document.body,"focusin"),h(document.body,"focusout")).pipe(He(1),l(()=>{let t=Me();return typeof t!="undefined"?e.contains(t):!1}),N(e===Me()),B())}function Je(e){return{x:e.offsetLeft,y:e.offsetTop}}function Wo(e){return M(h(window,"load"),h(window,"resize")).pipe(Ce(0,Te),l(()=>Je(e)),N(Je(e)))}function er(e){return{x:e.scrollLeft,y:e.scrollTop}}function dt(e){return M(h(e,"scroll"),h(window,"resize")).pipe(Ce(0,Te),l(()=>er(e)),N(er(e)))}var Uo=new x,Xi=I(()=>H(new ResizeObserver(e=>{for(let t of e)Uo.next(t)}))).pipe(v(e=>M(Ve,H(e)).pipe(k(()=>e.disconnect()))),G(1));function he(e){return{width:e.offsetWidth,height:e.offsetHeight}}function xe(e){return Xi.pipe(w(t=>t.observe(e)),v(t=>Uo.pipe(L(({target:r})=>r===e),k(()=>t.unobserve(e)),l(()=>he(e)))),N(he(e)))}function ht(e){return{width:e.scrollWidth,height:e.scrollHeight}}function tr(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 Do=new x,Zi=I(()=>H(new IntersectionObserver(e=>{for(let t of e)Do.next(t)},{threshold:0}))).pipe(v(e=>M(Ve,H(e)).pipe(k(()=>e.disconnect()))),G(1));function rr(e){return Zi.pipe(w(t=>t.observe(e)),v(t=>Do.pipe(L(({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 o=he(e),n=ht(e);return r>=n.height-o.height-t}),B())}var or={drawer:V("[data-md-toggle=drawer]"),search:V("[data-md-toggle=search]")};function Vo(e){return or[e].checked}function Ke(e,t){or[e].checked!==t&&or[e].click()}function We(e){let t=or[e];return h(t,"change").pipe(l(()=>t.checked),N(t.checked))}function ea(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 ta(){return M(h(window,"compositionstart").pipe(l(()=>!0)),h(window,"compositionend").pipe(l(()=>!1))).pipe(N(!1))}function zo(){let e=h(window,"keydown").pipe(L(t=>!(t.metaKey||t.ctrlKey)),l(t=>({mode:Vo("search")?"search":"global",type:t.key,claim(){t.preventDefault(),t.stopPropagation()}})),L(({mode:t,type:r})=>{if(t==="global"){let o=Me();if(typeof o!="undefined")return!ea(o,r)}return!0}),le());return ta().pipe(v(t=>t?O:e))}function me(){return new URL(location.href)}function ot(e){location.href=e.href}function qo(){return new x}function Ko(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)Ko(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)Ko(o,n);return o}function nr(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function Qo(){return location.hash.substring(1)}function Ir(e){let t=T("a",{href:e});t.addEventListener("click",r=>r.stopPropagation()),t.click()}function ra(e){return M(h(window,"hashchange"),e).pipe(l(Qo),N(Qo()),L(t=>t.length>0),G(1))}function Yo(e){return ra(e).pipe(l(t=>ce(`[id="${t}"]`)),L(t=>typeof t!="undefined"))}function Pr(e){let t=matchMedia(e);return Xt(r=>t.addListener(()=>r(t.matches))).pipe(N(t.matches))}function Bo(){let e=matchMedia("print");return M(h(window,"beforeprint").pipe(l(()=>!0)),h(window,"afterprint").pipe(l(()=>!1))).pipe(N(e.matches))}function Fr(e,t){return e.pipe(v(r=>r?t():O))}function ir(e,t={credentials:"same-origin"}){return fe(fetch(`${e}`,t)).pipe(pe(()=>O),v(r=>r.status!==200?wt(()=>new Error(r.statusText)):H(r)))}function Ue(e,t){return ir(e,t).pipe(v(r=>r.json()),G(1))}function Go(e,t){let r=new DOMParser;return ir(e,t).pipe(v(o=>o.text()),l(o=>r.parseFromString(o,"text/xml")),G(1))}function ar(e){let t=T("script",{src:e});return I(()=>(document.head.appendChild(t),M(h(t,"load"),h(t,"error").pipe(v(()=>wt(()=>new ReferenceError(`Invalid script: ${e}`))))).pipe(l(()=>{}),k(()=>document.head.removeChild(t)),ge(1))))}function Jo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function Xo(){return M(h(window,"scroll",{passive:!0}),h(window,"resize",{passive:!0})).pipe(l(Jo),N(Jo()))}function Zo(){return{width:innerWidth,height:innerHeight}}function en(){return h(window,"resize",{passive:!0}).pipe(l(Zo),N(Zo()))}function tn(){return Q([Xo(),en()]).pipe(l(([e,t])=>({offset:e,size:t})),G(1))}function sr(e,{viewport$:t,header$:r}){let o=t.pipe(X("size")),n=Q([o,r]).pipe(l(()=>Je(e)));return Q([r,t,n]).pipe(l(([{height:i},{offset:s,size:a},{x:c,y:p}])=>({offset:{x:s.x-c,y:s.y-p+i},size:a})))}function oa(e){return h(e,"message",t=>t.data)}function na(e){let t=new x;return t.subscribe(r=>e.postMessage(r)),t}function rn(e,t=new Worker(e)){let r=oa(t),o=na(t),n=new x;n.subscribe(o);let i=o.pipe(J(),ee(!0));return n.pipe(J(),qe(r.pipe(K(i))),le())}var ia=V("#__config"),bt=JSON.parse(ia.textContent);bt.base=`${new URL(bt.base,me())}`;function ue(){return bt}function te(e){return bt.features.includes(e)}function be(e,t){return typeof t!="undefined"?bt.translations[e].replace("#",t.toString()):bt.translations[e]}function ye(e,t=document){return V(`[data-md-component=${e}]`,t)}function ne(e,t=document){return q(`[data-md-component=${e}]`,t)}function aa(e){let t=V(".md-typeset > :first-child",e);return h(t,"click",{once:!0}).pipe(l(()=>V(".md-typeset",e)),l(r=>({hash:__md_hash(r.innerHTML)})))}function on(e){return!te("announce.dismiss")||!e.childElementCount?O:I(()=>{let t=new x;return t.subscribe(({hash:r})=>{e.hidden=!0,__md_set("__announce",r)}),aa(e).pipe(w(r=>t.next(r)),k(()=>t.complete()),l(r=>R({ref:e},r)))})}function sa(e,{target$:t}){return t.pipe(l(r=>({hidden:r!==e})))}function nn(e,t){let r=new x;return r.subscribe(({hidden:o})=>{e.hidden=o}),sa(e,t).pipe(w(o=>r.next(o)),k(()=>r.complete()),l(o=>R({ref:e},o)))}var bn=Ht(Wr());function Ur(e){return T("div",{class:"md-tooltip",id:e},T("div",{class:"md-tooltip__inner md-typeset"}))}function an(e,t){if(t=t?`${t}_annotation_${e}`:void 0,t){let r=t?`#${t}`:void 0;return T("aside",{class:"md-annotation",tabIndex:0},Ur(t),T("a",{href:r,class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}else return T("aside",{class:"md-annotation",tabIndex:0},Ur(t),T("span",{class:"md-annotation__index",tabIndex:-1},T("span",{"data-md-annotation-id":e})))}function sn(e){return T("button",{class:"md-clipboard md-icon",title:be("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Dr(e,t){let r=t&2,o=t&1,n=Object.keys(e.terms).filter(c=>!e.terms[c]).reduce((c,p)=>[...c,T("del",null,p)," "],[]).slice(0,-1),i=ue(),s=new URL(e.location,i.base);te("search.highlight")&&s.searchParams.set("h",Object.entries(e.terms).filter(([,c])=>c).reduce((c,[p])=>`${c} ${p}`.trim(),""));let{tags:a}=ue();return T("a",{href:`${s}`,class:"md-search-result__link",tabIndex:-1},T("article",{class:"md-search-result__article md-typeset","data-md-score":e.score.toFixed(2)},r>0&&T("div",{class:"md-search-result__icon md-icon"}),r>0&&T("h1",null,e.title),r<=0&&T("h2",null,e.title),o>0&&e.text.length>0&&e.text,e.tags&&e.tags.map(c=>{let p=a?c in a?`md-tag-icon md-tag--${a[c]}`:"md-tag-icon":"";return T("span",{class:`md-tag ${p}`},c)}),o>0&&n.length>0&&T("p",{class:"md-search-result__terms"},be("search.result.term.missing"),": ",...n)))}function cn(e){let t=e[0].score,r=[...e],o=ue(),n=r.findIndex(f=>!`${new URL(f.location,o.base)}`.includes("#")),[i]=r.splice(n,1),s=r.findIndex(f=>f.scoreDr(f,1)),...c.length?[T("details",{class:"md-search-result__more"},T("summary",{tabIndex:-1},T("div",null,c.length>0&&c.length===1?be("search.result.more.one"):be("search.result.more.other",c.length))),...c.map(f=>Dr(f,1)))]:[]];return T("li",{class:"md-search-result__item"},p)}function pn(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"?nr(r):r)))}function Nr(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 fn(e){return T("div",{class:"md-typeset__scrollwrap"},T("div",{class:"md-typeset__table"},e))}function ca(e){let t=ue(),r=new URL(`../${e.version}/`,t.base);return T("li",{class:"md-version__item"},T("a",{href:`${r}`,class:"md-version__link"},e.title))}function ln(e,t){return T("div",{class:"md-version"},T("button",{class:"md-version__current","aria-label":be("select.version")},t.title),T("ul",{class:"md-version__list"},e.map(ca)))}function pa(e,t){let r=I(()=>Q([Wo(e),dt(t)])).pipe(l(([{x:o,y:n},i])=>{let{width:s,height:a}=he(e);return{x:o-i.x+s/2,y:n-i.y+a/2}}));return Zt(e).pipe(v(o=>r.pipe(l(n=>({active:o,offset:n})),ge(+!o||1/0))))}function mn(e,t,{target$:r}){let[o,n]=Array.from(e.children);return I(()=>{let i=new x,s=i.pipe(J(),ee(!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")}}),rr(e).pipe(K(s)).subscribe(a=>{e.toggleAttribute("data-md-visible",a)}),M(i.pipe(L(({active:a})=>a)),i.pipe(He(250),L(({active:a})=>!a))).subscribe({next({active:a}){a?e.prepend(o):o.remove()},complete(){e.prepend(o)}}),i.pipe(Ce(16,Te)).subscribe(({active:a})=>{o.classList.toggle("md-tooltip--active",a)}),i.pipe($r(125,Te),L(()=>!!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")}}),h(n,"click").pipe(K(s),L(a=>!(a.metaKey||a.ctrlKey))).subscribe(a=>{a.stopPropagation(),a.preventDefault()}),h(n,"mousedown").pipe(K(s),oe(i)).subscribe(([a,{active:c}])=>{var p;if(a.button!==0||a.metaKey||a.ctrlKey)a.preventDefault();else if(c){a.preventDefault();let f=e.parentElement.closest(".md-annotation");f instanceof HTMLElement?f.focus():(p=Me())==null||p.blur()}}),r.pipe(K(s),L(a=>a===o),ze(125)).subscribe(()=>e.focus()),pa(e,t).pipe(w(a=>i.next(a)),k(()=>i.complete()),l(a=>R({ref:e},a)))})}function fa(e){let t=[];for(let r of q(".c, .c1, .cm",e)){let o=[],n=document.createNodeIterator(r,NodeFilter.SHOW_TEXT);for(let i=n.nextNode();i;i=n.nextNode())o.push(i);for(let i of o){let s;for(;s=/(\(\d+\))(!)?/.exec(i.textContent);){let[,a,c]=s;if(typeof c=="undefined"){let p=i.splitText(s.index);i=p.splitText(a.length),t.push(p)}else{i.textContent=a,t.push(i);break}}}}return t}function un(e,t){t.append(...Array.from(e.childNodes))}function dn(e,t,{target$:r,print$:o}){let n=t.closest("[id]"),i=n==null?void 0:n.id,s=new Map;for(let a of fa(t)){let[,c]=a.textContent.match(/\((\d+)\)/);ce(`:scope > li:nth-child(${c})`,e)&&(s.set(c,an(c,i)),a.replaceWith(s.get(c)))}return s.size===0?O:I(()=>{let a=new x,c=[];for(let[p,f]of s)c.push([V(".md-typeset",f),V(`:scope > li:nth-child(${p})`,e)]);return o.pipe(K(a.pipe(J(),ee(!0)))).subscribe(p=>{e.hidden=!p;for(let[f,m]of c)p?un(f,m):un(m,f)}),M(...[...s].map(([,p])=>mn(p,t,{target$:r}))).pipe(k(()=>a.complete()),le())})}var la=0;function vn(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return vn(t)}}function hn(e){return xe(e).pipe(l(({width:t})=>({scrollable:ht(e).width>t})),X("scrollable"))}function gn(e,t){let{matches:r}=matchMedia("(hover)"),o=I(()=>{let n=new x;if(n.subscribe(({scrollable:s})=>{s&&r?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),bn.default.isSupported()&&(e.closest(".copy")||te("content.code.copy")&&!e.closest(".no-copy"))){let s=e.closest("pre");s.id=`__code_${la++}`,s.insertBefore(sn(s.id),e)}let i=e.closest(".highlight");if(i instanceof HTMLElement){let s=vn(i);if(typeof s!="undefined"&&(i.classList.contains("annotate")||te("content.code.annotate"))){let a=dn(s,e,t);return hn(e).pipe(w(c=>n.next(c)),k(()=>n.complete()),l(c=>R({ref:e},c)),qe(xe(i).pipe(l(({width:c,height:p})=>c&&p),B(),v(c=>c?a:O))))}}return hn(e).pipe(w(s=>n.next(s)),k(()=>n.complete()),l(s=>R({ref:e},s)))});return te("content.lazy")?rr(e).pipe(L(n=>n),ge(1),v(()=>o)):o}var xn=".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 Vr,ua=0;function da(){return typeof mermaid=="undefined"||mermaid instanceof Element?ar("https://unpkg.com/mermaid@9.4.3/dist/mermaid.min.js"):H(void 0)}function yn(e){return e.classList.remove("mermaid"),Vr||(Vr=da().pipe(w(()=>mermaid.initialize({startOnLoad:!1,themeCSS:xn,sequence:{actorFontSize:"16px",messageFontSize:"16px",noteFontSize:"16px"}})),l(()=>{}),G(1))),Vr.subscribe(()=>{e.classList.add("mermaid");let t=`__mermaid_${ua++}`,r=T("div",{class:"mermaid"}),o=e.textContent;mermaid.mermaidAPI.render(t,o,(n,i)=>{let s=r.attachShadow({mode:"closed"});s.innerHTML=n,e.replaceWith(r),i==null||i(s)})}),Vr.pipe(l(()=>({ref:e})))}function ha(e,{target$:t,print$:r}){let o=!0;return M(t.pipe(l(n=>n.closest("details:not([open])")),L(n=>e===n),l(()=>({action:"open",reveal:!0}))),r.pipe(L(n=>n||!o),w(()=>o=e.open),l(n=>({action:n?"open":"close"}))))}function En(e,t){return I(()=>{let r=new x;return r.subscribe(({action:o,reveal:n})=>{e.toggleAttribute("open",o==="open"),n&&e.scrollIntoView()}),ha(e,t).pipe(w(o=>r.next(o)),k(()=>r.complete()),l(o=>R({ref:e},o)))})}var wn=T("table");function Sn(e){return e.replaceWith(wn),wn.replaceWith(fn(e)),H({ref:e})}function ba(e){let t=q(":scope > input",e),r=t.find(o=>o.checked)||t[0];return M(...t.map(o=>h(o,"change").pipe(l(()=>V(`label[for="${o.id}"]`))))).pipe(N(V(`label[for="${r.id}"]`)),l(o=>({active:o})))}function Tn(e,{viewport$:t}){let r=Nr("prev");e.append(r);let o=Nr("next");e.append(o);let n=V(".tabbed-labels",e);return I(()=>{let i=new x,s=i.pipe(J(),ee(!0));return Q([i,xe(e)]).pipe(Ce(1,Te),K(s)).subscribe({next([{active:a},c]){let p=Je(a),{width:f}=he(a);e.style.setProperty("--md-indicator-x",`${p.x}px`),e.style.setProperty("--md-indicator-width",`${f}px`);let m=er(n);(p.xm.x+c.width)&&n.scrollTo({left:Math.max(0,p.x-16),behavior:"smooth"})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),Q([dt(n),xe(n)]).pipe(K(s)).subscribe(([a,c])=>{let p=ht(n);r.hidden=a.x<16,o.hidden=a.x>p.width-c.width-16}),M(h(r,"click").pipe(l(()=>-1)),h(o,"click").pipe(l(()=>1))).pipe(K(s)).subscribe(a=>{let{width:c}=he(n);n.scrollBy({left:c*a,behavior:"smooth"})}),te("content.tabs.link")&&i.pipe(je(1),oe(t)).subscribe(([{active:a},{offset:c}])=>{let p=a.innerText.trim();if(a.hasAttribute("data-md-switching"))a.removeAttribute("data-md-switching");else{let f=e.offsetTop-c.y;for(let u of q("[data-tabs]"))for(let d of q(":scope > input",u)){let b=V(`label[for="${d.id}"]`);if(b!==a&&b.innerText.trim()===p){b.setAttribute("data-md-switching",""),d.click();break}}window.scrollTo({top:e.offsetTop-f});let m=__md_get("__tabs")||[];__md_set("__tabs",[...new Set([p,...m])])}}),i.pipe(K(s)).subscribe(()=>{for(let a of q("audio, video",e))a.pause()}),ba(e).pipe(w(a=>i.next(a)),k(()=>i.complete()),l(a=>R({ref:e},a)))}).pipe(rt(ae))}function On(e,{viewport$:t,target$:r,print$:o}){return M(...q("pre:not(.mermaid) > code",e).map(n=>gn(n,{target$:r,print$:o})),...q("pre.mermaid",e).map(n=>yn(n)),...q("table:not([class])",e).map(n=>Sn(n)),...q("details",e).map(n=>En(n,{target$:r,print$:o})),...q("[data-tabs]",e).map(n=>Tn(n,{viewport$:t})))}function va(e,{alert$:t}){return t.pipe(v(r=>M(H(!0),H(!1).pipe(ze(2e3))).pipe(l(o=>({message:r,active:o})))))}function Mn(e,t){let r=V(".md-typeset",e);return I(()=>{let o=new x;return o.subscribe(({message:n,active:i})=>{e.classList.toggle("md-dialog--active",i),r.textContent=n}),va(e,t).pipe(w(n=>o.next(n)),k(()=>o.complete()),l(n=>R({ref:e},n)))})}function ga({viewport$:e}){if(!te("header.autohide"))return H(!1);let t=e.pipe(l(({offset:{y:n}})=>n),ke(2,1),l(([n,i])=>[nMath.abs(i-n.y)>100),l(([,[n]])=>n),B()),o=We("search");return Q([e,o]).pipe(l(([{offset:n},i])=>n.y>400&&!i),B(),v(n=>n?r:H(!1)),N(!1))}function Ln(e,t){return I(()=>Q([xe(e),ga(t)])).pipe(l(([{height:r},o])=>({height:r,hidden:o})),B((r,o)=>r.height===o.height&&r.hidden===o.hidden),G(1))}function _n(e,{header$:t,main$:r}){return I(()=>{let o=new x,n=o.pipe(J(),ee(!0));return o.pipe(X("active"),Ge(t)).subscribe(([{active:i},{hidden:s}])=>{e.classList.toggle("md-header--shadow",i&&!s),e.hidden=s}),r.subscribe(o),t.pipe(K(n),l(i=>R({ref:e},i)))})}function xa(e,{viewport$:t,header$:r}){return sr(e,{viewport$:t,header$:r}).pipe(l(({offset:{y:o}})=>{let{height:n}=he(e);return{active:o>=n}}),X("active"))}function An(e,t){return I(()=>{let r=new x;r.subscribe({next({active:n}){e.classList.toggle("md-header__title--active",n)},complete(){e.classList.remove("md-header__title--active")}});let o=ce("article h1");return typeof o=="undefined"?O:xa(o,t).pipe(w(n=>r.next(n)),k(()=>r.complete()),l(n=>R({ref:e},n)))})}function Cn(e,{viewport$:t,header$:r}){let o=r.pipe(l(({height:i})=>i),B()),n=o.pipe(v(()=>xe(e).pipe(l(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),X("bottom"))));return Q([o,n,t]).pipe(l(([i,{top:s,bottom:a},{offset:{y:c},size:{height:p}}])=>(p=Math.max(0,p-Math.max(0,s-c,i)-Math.max(0,p+c-a)),{offset:s-i,height:p,active:s-i<=c})),B((i,s)=>i.offset===s.offset&&i.height===s.height&&i.active===s.active))}function ya(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)};return H(...e).pipe(se(r=>h(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")}})),G(1))}function kn(e){let t=T("meta",{name:"theme-color"});document.head.appendChild(t);let r=T("meta",{name:"color-scheme"});return document.head.appendChild(r),I(()=>{let o=new x;o.subscribe(i=>{document.body.setAttribute("data-md-color-switching","");for(let[s,a]of Object.entries(i.color))document.body.setAttribute(`data-md-color-${s}`,a);for(let s=0;s{let i=ye("header"),s=window.getComputedStyle(i);return r.content=s.colorScheme,s.backgroundColor.match(/\d+/g).map(a=>(+a).toString(16).padStart(2,"0")).join("")})).subscribe(i=>t.content=`#${i}`),o.pipe(Ae(ae)).subscribe(()=>{document.body.removeAttribute("data-md-color-switching")});let n=q("input",e);return ya(n).pipe(w(i=>o.next(i)),k(()=>o.complete()),l(i=>R({ref:e},i)))})}var zr=Ht(Wr());function Ea(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function Hn({alert$:e}){zr.default.isSupported()&&new j(t=>{new zr.default("[data-clipboard-target], [data-clipboard-text]",{text:r=>r.getAttribute("data-clipboard-text")||Ea(V(r.getAttribute("data-clipboard-target")))}).on("success",r=>t.next(r))}).pipe(w(t=>{t.trigger.focus()}),l(()=>be("clipboard.copied"))).subscribe(e)}function wa(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 cr(e){let t=__md_get("__sitemap",sessionStorage,e);if(t)return H(t);{let r=ue();return Go(new URL("sitemap.xml",e||r.base)).pipe(l(o=>wa(q("loc",o).map(n=>n.textContent))),pe(()=>O),$e([]),w(o=>__md_set("__sitemap",o,sessionStorage,e)))}}function $n({location$:e,viewport$:t}){let r=ue();if(location.protocol==="file:")return O;let o=cr().pipe(l(p=>p.map(f=>`${new URL(f,r.base)}`))),n=h(document.body,"click").pipe(oe(o),v(([p,f])=>{if(!(p.target instanceof Element))return O;let m=p.target.closest("a");if(m===null)return O;if(m.target||p.metaKey||p.ctrlKey)return O;let u=new URL(m.href);return u.search=u.hash="",f.includes(`${u}`)?(p.preventDefault(),H(new URL(m.href))):O}),le());n.pipe(ge(1)).subscribe(()=>{let p=ce("link[rel=icon]");typeof p!="undefined"&&(p.href=p.href)}),h(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}),n.pipe(oe(t)).subscribe(([p,{offset:f}])=>{history.scrollRestoration="manual",history.replaceState(f,""),history.pushState(null,"",p)}),n.subscribe(e);let i=e.pipe(N(me()),X("pathname"),je(1),v(p=>ir(p).pipe(pe(()=>(ot(p),O))))),s=new DOMParser,a=i.pipe(v(p=>p.text()),v(p=>{let f=s.parseFromString(p,"text/html");for(let u of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=outdated]","[data-md-component=logo]","[data-md-component=skip]",...te("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let d=ce(u),b=ce(u,f);typeof d!="undefined"&&typeof b!="undefined"&&d.replaceWith(b)}let m=ye("container");return Fe(q("script",m)).pipe(v(u=>{let d=f.createElement("script");if(u.src){for(let b of u.getAttributeNames())d.setAttribute(b,u.getAttribute(b));return u.replaceWith(d),new j(b=>{d.onload=()=>b.complete()})}else return d.textContent=u.textContent,u.replaceWith(d),O}),J(),ee(f))}),le());return h(window,"popstate").pipe(l(me)).subscribe(e),e.pipe(N(me()),ke(2,1),v(([p,f])=>p.pathname===f.pathname&&p.hash!==f.hash?H(f):O)).subscribe(p=>{var f,m;history.state!==null||!p.hash?window.scrollTo(0,(m=(f=history.state)==null?void 0:f.y)!=null?m:0):(history.scrollRestoration="auto",Ir(p.hash),history.scrollRestoration="manual")}),a.pipe(oe(e)).subscribe(([,p])=>{var f,m;history.state!==null||!p.hash?window.scrollTo(0,(m=(f=history.state)==null?void 0:f.y)!=null?m:0):Ir(p.hash)}),a.pipe(v(()=>t),X("offset"),He(100)).subscribe(({offset:p})=>{history.replaceState(p,"")}),a}var Pn=Ht(In());function Fn(e){let t=e.separator.split("|").map(n=>n.replace(/(\(\?[!=<][^)]+\))/g,"").length===0?"\uFFFD":n).join("|"),r=new RegExp(t,"img"),o=(n,i,s)=>`${i}${s}`;return n=>{n=n.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator}|)(${n.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(r,"|")})`,"img");return s=>(0,Pn.default)(s).replace(i,o).replace(/<\/mark>(\s+)]*>/img,"$1")}}function Mt(e){return e.type===1}function pr(e){return e.type===3}function jn(e,t){let r=rn(e);return M(H(location.protocol!=="file:"),We("search")).pipe(Re(o=>o),v(()=>t)).subscribe(({config:o,docs:n})=>r.next({type:0,data:{config:o,docs:n,options:{suggest:te("search.suggest")}}})),r}function Wn({document$:e}){let t=ue(),r=Ue(new URL("../versions.json",t.base)).pipe(pe(()=>O)),o=r.pipe(l(n=>{let[,i]=t.base.match(/([^/]+)\/?$/);return n.find(({version:s,aliases:a})=>s===i||a.includes(i))||n[0]}));r.pipe(l(n=>new Map(n.map(i=>[`${new URL(`../${i.version}/`,t.base)}`,i]))),v(n=>h(document.body,"click").pipe(L(i=>!i.metaKey&&!i.ctrlKey),oe(o),v(([i,s])=>{if(i.target instanceof Element){let a=i.target.closest("a");if(a&&!a.target&&n.has(a.href)){let c=a.href;return!i.target.closest(".md-version")&&n.get(c)===s?O:(i.preventDefault(),H(c))}}return O}),v(i=>{let{version:s}=n.get(i);return cr(new URL(i)).pipe(l(a=>{let p=me().href.replace(t.base,"");return a.includes(p.split("#")[0])?new URL(`../${s}/${p}`,t.base):new URL(i)}))})))).subscribe(n=>ot(n)),Q([r,o]).subscribe(([n,i])=>{V(".md-header__topic").appendChild(ln(n,i))}),e.pipe(v(()=>o)).subscribe(n=>{var s;let i=__md_get("__outdated",sessionStorage);if(i===null){i=!0;let a=[((s=t.version)==null?void 0:s.default)||["latest"]].flat();e:for(let c of a)for(let p of n.aliases)if(new RegExp(c,"i").test(p)){i=!1;break e}__md_set("__outdated",i,sessionStorage)}if(i)for(let a of ne("outdated"))a.hidden=!1})}function La(e,{worker$:t}){let{searchParams:r}=me();r.has("q")&&(Ke("search",!0),e.value=r.get("q"),e.focus(),We("search").pipe(Re(i=>!i)).subscribe(()=>{let i=new URL(location.href);i.searchParams.delete("q"),history.replaceState({},"",`${i}`)}));let o=Zt(e),n=M(t.pipe(Re(Mt)),h(e,"keyup"),o).pipe(l(()=>e.value),B());return Q([n,o]).pipe(l(([i,s])=>({value:i,focus:s})),G(1))}function Un(e,{worker$:t}){let r=new x,o=r.pipe(J(),ee(!0));return Q([t.pipe(Re(Mt)),r],(n,i)=>i).pipe(X("value")).subscribe(({value:n})=>t.next({type:2,data:n})),r.pipe(X("focus")).subscribe(({focus:n})=>{n&&Ke("search",n)}),h(e.form,"reset").pipe(K(o)).subscribe(()=>e.focus()),La(e,{worker$:t}).pipe(w(n=>r.next(n)),k(()=>r.complete()),l(n=>R({ref:e},n)),G(1))}function Dn(e,{worker$:t,query$:r}){let o=new x,n=No(e.parentElement).pipe(L(Boolean)),i=e.parentElement,s=V(":scope > :first-child",e),a=V(":scope > :last-child",e);We("search").subscribe(f=>a.setAttribute("role",f?"list":"presentation")),o.pipe(oe(r),kr(t.pipe(Re(Mt)))).subscribe(([{items:f},{value:m}])=>{switch(f.length){case 0:s.textContent=m.length?be("search.result.none"):be("search.result.placeholder");break;case 1:s.textContent=be("search.result.one");break;default:let u=nr(f.length);s.textContent=be("search.result.other",u)}});let c=o.pipe(w(()=>a.innerHTML=""),v(({items:f})=>M(H(...f.slice(0,10)),H(...f.slice(10)).pipe(ke(4),Rr(n),v(([m])=>m)))),l(cn),le());return c.subscribe(f=>a.appendChild(f)),c.pipe(se(f=>{let m=ce("details",f);return typeof m=="undefined"?O:h(m,"toggle").pipe(K(o),l(()=>m))})).subscribe(f=>{f.open===!1&&f.offsetTop<=i.scrollTop&&i.scrollTo({top:f.offsetTop})}),t.pipe(L(pr),l(({data:f})=>f)).pipe(w(f=>o.next(f)),k(()=>o.complete()),l(f=>R({ref:e},f)))}function _a(e,{query$:t}){return t.pipe(l(({value:r})=>{let o=me();return o.hash="",r=r.replace(/\s+/g,"+").replace(/&/g,"%26").replace(/=/g,"%3D"),o.search=`q=${r}`,{url:o}}))}function Nn(e,t){let r=new x,o=r.pipe(J(),ee(!0));return r.subscribe(({url:n})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${n}`}),h(e,"click").pipe(K(o)).subscribe(n=>n.preventDefault()),_a(e,t).pipe(w(n=>r.next(n)),k(()=>r.complete()),l(n=>R({ref:e},n)))}function Vn(e,{worker$:t,keyboard$:r}){let o=new x,n=ye("search-query"),i=M(h(n,"keydown"),h(n,"focus")).pipe(Ae(ae),l(()=>n.value),B());return o.pipe(Ge(i),l(([{suggest:a},c])=>{let p=c.split(/([\s-]+)/);if(a!=null&&a.length&&p[p.length-1]){let f=a[a.length-1];f.startsWith(p[p.length-1])&&(p[p.length-1]=f)}else p.length=0;return p})).subscribe(a=>e.innerHTML=a.join("").replace(/\s/g," ")),r.pipe(L(({mode:a})=>a==="search")).subscribe(a=>{switch(a.type){case"ArrowRight":e.innerText.length&&n.selectionStart===n.value.length&&(n.value=e.innerText);break}}),t.pipe(L(pr),l(({data:a})=>a)).pipe(w(a=>o.next(a)),k(()=>o.complete()),l(()=>({ref:e})))}function zn(e,{index$:t,keyboard$:r}){let o=ue();try{let n=jn(o.search,t),i=ye("search-query",e),s=ye("search-result",e);h(e,"click").pipe(L(({target:c})=>c instanceof Element&&!!c.closest("a"))).subscribe(()=>Ke("search",!1)),r.pipe(L(({mode:c})=>c==="search")).subscribe(c=>{let p=Me();switch(c.type){case"Enter":if(p===i){let f=new Map;for(let m of q(":first-child [href]",s)){let u=m.firstElementChild;f.set(m,parseFloat(u.getAttribute("data-md-score")))}if(f.size){let[[m]]=[...f].sort(([,u],[,d])=>d-u);m.click()}c.claim()}break;case"Escape":case"Tab":Ke("search",!1),i.blur();break;case"ArrowUp":case"ArrowDown":if(typeof p=="undefined")i.focus();else{let f=[i,...q(":not(details) > [href], summary, details[open] [href]",s)],m=Math.max(0,(Math.max(0,f.indexOf(p))+f.length+(c.type==="ArrowUp"?-1:1))%f.length);f[m].focus()}c.claim();break;default:i!==Me()&&i.focus()}}),r.pipe(L(({mode:c})=>c==="global")).subscribe(c=>{switch(c.type){case"f":case"s":case"/":i.focus(),i.select(),c.claim();break}});let a=Un(i,{worker$:n});return M(a,Dn(s,{worker$:n,query$:a})).pipe(qe(...ne("search-share",e).map(c=>Nn(c,{query$:a})),...ne("search-suggest",e).map(c=>Vn(c,{worker$:n,keyboard$:r}))))}catch(n){return e.hidden=!0,Ve}}function qn(e,{index$:t,location$:r}){return Q([t,r.pipe(N(me()),L(o=>!!o.searchParams.get("h")))]).pipe(l(([o,n])=>Fn(o.config)(n.searchParams.get("h"))),l(o=>{var s;let n=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let a=i.nextNode();a;a=i.nextNode())if((s=a.parentElement)!=null&&s.offsetHeight){let c=a.textContent,p=o(c);p.length>c.length&&n.set(a,p)}for(let[a,c]of n){let{childNodes:p}=T("span",null,c);a.replaceWith(...Array.from(p))}return{ref:e,nodes:n}}))}function Aa(e,{viewport$:t,main$:r}){let o=e.parentElement,n=o.offsetTop-o.parentElement.offsetTop;return Q([r,t]).pipe(l(([{offset:i,height:s},{offset:{y:a}}])=>(s=s+Math.min(n,Math.max(0,a-i))-n,{height:s,locked:a>=i+n})),B((i,s)=>i.height===s.height&&i.locked===s.locked))}function qr(e,o){var n=o,{header$:t}=n,r=Xr(n,["header$"]);let i=V(".md-sidebar__scrollwrap",e),{y:s}=Je(i);return I(()=>{let a=new x,c=a.pipe(J(),ee(!0)),p=a.pipe(Ce(0,Te));return p.pipe(oe(t)).subscribe({next([{height:f},{height:m}]){i.style.height=`${f-2*s}px`,e.style.top=`${m}px`},complete(){i.style.height="",e.style.top=""}}),p.pipe(Re()).subscribe(()=>{for(let f of q(".md-nav__link--active[href]",e)){let m=tr(f);if(typeof m!="undefined"){let u=f.offsetTop-m.offsetTop,{height:d}=he(m);m.scrollTo({top:u-d/2})}}}),fe(q("label[tabindex]",e)).pipe(se(f=>h(f,"click").pipe(l(()=>f),K(c)))).subscribe(f=>{let m=V(`[id="${f.htmlFor}"]`);V(`[aria-labelledby="${f.id}"]`).setAttribute("aria-expanded",`${m.checked}`)}),Aa(e,r).pipe(w(f=>a.next(f)),k(()=>a.complete()),l(f=>R({ref:e},f)))})}function Kn(e,t){if(typeof t!="undefined"){let r=`https://api.github.com/repos/${e}/${t}`;return St(Ue(`${r}/releases/latest`).pipe(pe(()=>O),l(o=>({version:o.tag_name})),$e({})),Ue(r).pipe(pe(()=>O),l(o=>({stars:o.stargazers_count,forks:o.forks_count})),$e({}))).pipe(l(([o,n])=>R(R({},o),n)))}else{let r=`https://api.github.com/users/${e}`;return Ue(r).pipe(l(o=>({repositories:o.public_repos})),$e({}))}}function Qn(e,t){let r=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Ue(r).pipe(pe(()=>O),l(({star_count:o,forks_count:n})=>({stars:o,forks:n})),$e({}))}function Yn(e){let t=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);if(t){let[,r,o]=t;return Kn(r,o)}if(t=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i),t){let[,r,o]=t;return Qn(r,o)}return O}var Ca;function ka(e){return Ca||(Ca=I(()=>{let t=__md_get("__source",sessionStorage);if(t)return H(t);if(ne("consent").length){let o=__md_get("__consent");if(!(o&&o.github))return O}return Yn(e.href).pipe(w(o=>__md_set("__source",o,sessionStorage)))}).pipe(pe(()=>O),L(t=>Object.keys(t).length>0),l(t=>({facts:t})),G(1)))}function Bn(e){let t=V(":scope > :last-child",e);return I(()=>{let r=new x;return r.subscribe(({facts:o})=>{t.appendChild(pn(o)),t.classList.add("md-source__repository--active")}),ka(e).pipe(w(o=>r.next(o)),k(()=>r.complete()),l(o=>R({ref:e},o)))})}function Ha(e,{viewport$:t,header$:r}){return xe(document.body).pipe(v(()=>sr(e,{header$:r,viewport$:t})),l(({offset:{y:o}})=>({hidden:o>=10})),X("hidden"))}function Gn(e,t){return I(()=>{let r=new x;return r.subscribe({next({hidden:o}){e.hidden=o},complete(){e.hidden=!1}}),(te("navigation.tabs.sticky")?H({hidden:!1}):Ha(e,t)).pipe(w(o=>r.next(o)),k(()=>r.complete()),l(o=>R({ref:e},o)))})}function $a(e,{viewport$:t,header$:r}){let o=new Map,n=q("[href^=\\#]",e);for(let a of n){let c=decodeURIComponent(a.hash.substring(1)),p=ce(`[id="${c}"]`);typeof p!="undefined"&&o.set(a,p)}let i=r.pipe(X("height"),l(({height:a})=>{let c=ye("main"),p=V(":scope > :first-child",c);return a+.8*(p.offsetTop-c.offsetTop)}),le());return xe(document.body).pipe(X("height"),v(a=>I(()=>{let c=[];return H([...o].reduce((p,[f,m])=>{for(;c.length&&o.get(c[c.length-1]).tagName>=m.tagName;)c.pop();let u=m.offsetTop;for(;!u&&m.parentElement;)m=m.parentElement,u=m.offsetTop;let d=m.offsetParent;for(;d;d=d.offsetParent)u+=d.offsetTop;return p.set([...c=[...c,f]].reverse(),u)},new Map))}).pipe(l(c=>new Map([...c].sort(([,p],[,f])=>p-f))),Ge(i),v(([c,p])=>t.pipe(Ar(([f,m],{offset:{y:u},size:d})=>{let b=u+d.height>=Math.floor(a.height);for(;m.length;){let[,_]=m[0];if(_-p=u&&!b)m=[f.pop(),...m];else break}return[f,m]},[[],[...c]]),B((f,m)=>f[0]===m[0]&&f[1]===m[1])))))).pipe(l(([a,c])=>({prev:a.map(([p])=>p),next:c.map(([p])=>p)})),N({prev:[],next:[]}),ke(2,1),l(([a,c])=>a.prev.length{let i=new x,s=i.pipe(J(),ee(!0));if(i.subscribe(({prev:a,next:c})=>{for(let[p]of c)p.classList.remove("md-nav__link--passed"),p.classList.remove("md-nav__link--active");for(let[p,[f]]of a.entries())f.classList.add("md-nav__link--passed"),f.classList.toggle("md-nav__link--active",p===a.length-1)}),te("toc.follow")){let a=M(t.pipe(He(1),l(()=>{})),t.pipe(He(250),l(()=>"smooth")));i.pipe(L(({prev:c})=>c.length>0),Ge(o.pipe(Ae(ae))),oe(a)).subscribe(([[{prev:c}],p])=>{let[f]=c[c.length-1];if(f.offsetHeight){let m=tr(f);if(typeof m!="undefined"){let u=f.offsetTop-m.offsetTop,{height:d}=he(m);m.scrollTo({top:u-d/2,behavior:p})}}})}return te("navigation.tracking")&&t.pipe(K(s),X("offset"),He(250),je(1),K(n.pipe(je(1))),Tt({delay:250}),oe(i)).subscribe(([,{prev:a}])=>{let c=me(),p=a[a.length-1];if(p&&p.length){let[f]=p,{hash:m}=new URL(f.href);c.hash!==m&&(c.hash=m,history.replaceState({},"",`${c}`))}else c.hash="",history.replaceState({},"",`${c}`)}),$a(e,{viewport$:t,header$:r}).pipe(w(a=>i.next(a)),k(()=>i.complete()),l(a=>R({ref:e},a)))})}function Ra(e,{viewport$:t,main$:r,target$:o}){let n=t.pipe(l(({offset:{y:s}})=>s),ke(2,1),l(([s,a])=>s>a&&a>0),B()),i=r.pipe(l(({active:s})=>s));return Q([i,n]).pipe(l(([s,a])=>!(s&&a)),B(),K(o.pipe(je(1))),ee(!0),Tt({delay:250}),l(s=>({hidden:s})))}function Xn(e,{viewport$:t,header$:r,main$:o,target$:n}){let i=new x,s=i.pipe(J(),ee(!0));return i.subscribe({next({hidden:a}){e.hidden=a,a?(e.setAttribute("tabindex","-1"),e.blur()):e.removeAttribute("tabindex")},complete(){e.style.top="",e.hidden=!0,e.removeAttribute("tabindex")}}),r.pipe(K(s),X("height")).subscribe(({height:a})=>{e.style.top=`${a+16}px`}),h(e,"click").subscribe(a=>{a.preventDefault(),window.scrollTo({top:0})}),Ra(e,{viewport$:t,main$:o,target$:n}).pipe(w(a=>i.next(a)),k(()=>i.complete()),l(a=>R({ref:e},a)))}function Zn({document$:e,tablet$:t}){e.pipe(v(()=>q(".md-toggle--indeterminate")),w(r=>{r.indeterminate=!0,r.checked=!1}),se(r=>h(r,"change").pipe(Hr(()=>r.classList.contains("md-toggle--indeterminate")),l(()=>r))),oe(t)).subscribe(([r,o])=>{r.classList.remove("md-toggle--indeterminate"),o&&(r.checked=!1)})}function Ia(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function ei({document$:e}){e.pipe(v(()=>q("[data-md-scrollfix]")),w(t=>t.removeAttribute("data-md-scrollfix")),L(Ia),se(t=>h(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 ti({viewport$:e,tablet$:t}){Q([We("search"),t]).pipe(l(([r,o])=>r&&!o),v(r=>H(r).pipe(ze(r?400:100))),oe(e)).subscribe(([r,{offset:{y:o}}])=>{if(r)document.body.setAttribute("data-md-scrolllock",""),document.body.style.top=`-${o}px`;else{let n=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-scrolllock"),document.body.style.top="",n&&window.scrollTo(0,n)}})}Object.entries||(Object.entries=function(e){let t=[];for(let r of Object.keys(e))t.push([r,e[r]]);return t});Object.values||(Object.values=function(e){let t=[];for(let r of Object.keys(e))t.push(e[r]);return t});typeof Element!="undefined"&&(Element.prototype.scrollTo||(Element.prototype.scrollTo=function(e,t){typeof e=="object"?(this.scrollLeft=e.left,this.scrollTop=e.top):(this.scrollLeft=e,this.scrollTop=t)}),Element.prototype.replaceWith||(Element.prototype.replaceWith=function(...e){let t=this.parentNode;if(t){e.length===0&&t.removeChild(this);for(let r=e.length-1;r>=0;r--){let o=e[r];typeof o=="string"?o=document.createTextNode(o):o.parentNode&&o.parentNode.removeChild(o),r?t.insertBefore(this.previousSibling,o):t.replaceChild(o,this)}}}));function Pa(){return location.protocol==="file:"?ar(`${new URL("search/search_index.js",Kr.base)}`).pipe(l(()=>__index),G(1)):Ue(new URL("search/search_index.json",Kr.base))}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var nt=jo(),_t=qo(),vt=Yo(_t),Qr=zo(),Se=tn(),fr=Pr("(min-width: 960px)"),oi=Pr("(min-width: 1220px)"),ni=Bo(),Kr=ue(),ii=document.forms.namedItem("search")?Pa():Ve,Yr=new x;Hn({alert$:Yr});te("navigation.instant")&&$n({location$:_t,viewport$:Se}).subscribe(nt);var ri;((ri=Kr.version)==null?void 0:ri.provider)==="mike"&&Wn({document$:nt});M(_t,vt).pipe(ze(125)).subscribe(()=>{Ke("drawer",!1),Ke("search",!1)});Qr.pipe(L(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ce("link[rel=prev]");typeof t!="undefined"&&ot(t);break;case"n":case".":let r=ce("link[rel=next]");typeof r!="undefined"&&ot(r);break;case"Enter":let o=Me();o instanceof HTMLLabelElement&&o.click()}});Zn({document$:nt,tablet$:fr});ei({document$:nt});ti({viewport$:Se,tablet$:fr});var Xe=Ln(ye("header"),{viewport$:Se}),Lt=nt.pipe(l(()=>ye("main")),v(e=>Cn(e,{viewport$:Se,header$:Xe})),G(1)),Fa=M(...ne("consent").map(e=>nn(e,{target$:vt})),...ne("dialog").map(e=>Mn(e,{alert$:Yr})),...ne("header").map(e=>_n(e,{viewport$:Se,header$:Xe,main$:Lt})),...ne("palette").map(e=>kn(e)),...ne("search").map(e=>zn(e,{index$:ii,keyboard$:Qr})),...ne("source").map(e=>Bn(e))),ja=I(()=>M(...ne("announce").map(e=>on(e)),...ne("content").map(e=>On(e,{viewport$:Se,target$:vt,print$:ni})),...ne("content").map(e=>te("search.highlight")?qn(e,{index$:ii,location$:_t}):O),...ne("header-title").map(e=>An(e,{viewport$:Se,header$:Xe})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Fr(oi,()=>qr(e,{viewport$:Se,header$:Xe,main$:Lt})):Fr(fr,()=>qr(e,{viewport$:Se,header$:Xe,main$:Lt}))),...ne("tabs").map(e=>Gn(e,{viewport$:Se,header$:Xe})),...ne("toc").map(e=>Jn(e,{viewport$:Se,header$:Xe,main$:Lt,target$:vt})),...ne("top").map(e=>Xn(e,{viewport$:Se,header$:Xe,main$:Lt,target$:vt})))),ai=nt.pipe(v(()=>ja),qe(Fa),G(1));ai.subscribe();window.document$=nt;window.location$=_t;window.target$=vt;window.keyboard$=Qr;window.viewport$=Se;window.tablet$=fr;window.screen$=oi;window.print$=ni;window.alert$=Yr;window.component$=ai;})(); //# sourceMappingURL=bundle.9d591707.min.js.map