(()=>{var ta=Object.create;var wt=Object.defineProperty;var ra=Object.getOwnPropertyDescriptor;var na=Object.getOwnPropertyNames,Et=Object.getOwnPropertySymbols,oa=Object.getPrototypeOf,cr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Qr=(e,t,n)=>t in e?wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F=(e,t)=>{for(var n in t||(t={}))cr.call(t,n)&&Qr(e,n,t[n]);if(Et)for(var n of Et(t))qr.call(t,n)&&Qr(e,n,t[n]);return e};var ia=e=>wt(e,"__esModule",{value:!0});var Kr=(e,t)=>{var n={};for(var r in e)cr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Et)for(var r of Et(e))t.indexOf(r)<0&&qr.call(e,r)&&(n[r]=e[r]);return n};var Tt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var aa=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of na(t))!cr.call(e,r)&&r!=="default"&&wt(e,r,{get:()=>t[r],enumerable:!(n=ra(t,r))||n.enumerable});return e},Be=e=>aa(ia(wt(e!=null?ta(oa(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Yr=Tt((lr,Br)=>{(function(e,t){typeof lr=="object"&&typeof Br!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(lr,function(){"use strict";function e(n){var r=!0,o=!1,i=null,a={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(E){return!!(E&&E!==document&&E.nodeName!=="HTML"&&E.nodeName!=="BODY"&&"classList"in E&&"contains"in E.classList)}function l(E){var Ve=E.type,Me=E.tagName;return!!(Me==="INPUT"&&a[Ve]&&!E.readOnly||Me==="TEXTAREA"&&!E.readOnly||E.isContentEditable)}function c(E){E.classList.contains("focus-visible")||(E.classList.add("focus-visible"),E.setAttribute("data-focus-visible-added",""))}function u(E){!E.hasAttribute("data-focus-visible-added")||(E.classList.remove("focus-visible"),E.removeAttribute("data-focus-visible-added"))}function m(E){E.metaKey||E.altKey||E.ctrlKey||(s(n.activeElement)&&c(n.activeElement),r=!0)}function p(E){r=!1}function h(E){!s(E.target)||(r||l(E.target))&&c(E.target)}function b(E){!s(E.target)||(E.target.classList.contains("focus-visible")||E.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),u(E.target))}function d(E){document.visibilityState==="hidden"&&(o&&(r=!0),U())}function U(){document.addEventListener("mousemove",$),document.addEventListener("mousedown",$),document.addEventListener("mouseup",$),document.addEventListener("pointermove",$),document.addEventListener("pointerdown",$),document.addEventListener("pointerup",$),document.addEventListener("touchmove",$),document.addEventListener("touchstart",$),document.addEventListener("touchend",$)}function B(){document.removeEventListener("mousemove",$),document.removeEventListener("mousedown",$),document.removeEventListener("mouseup",$),document.removeEventListener("pointermove",$),document.removeEventListener("pointerdown",$),document.removeEventListener("pointerup",$),document.removeEventListener("touchmove",$),document.removeEventListener("touchstart",$),document.removeEventListener("touchend",$)}function $(E){E.target.nodeName&&E.target.nodeName.toLowerCase()==="html"||(r=!1,B())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",p,!0),document.addEventListener("pointerdown",p,!0),document.addEventListener("touchstart",p,!0),document.addEventListener("visibilitychange",d,!0),U(),n.addEventListener("focus",h,!0),n.addEventListener("blur",b,!0),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&n.host?n.host.setAttribute("data-js-focus-visible",""):n.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(n){t=document.createEvent("CustomEvent"),t.initCustomEvent("focus-visible-polyfill-ready",!1,!1,{})}window.dispatchEvent(t)}typeof document!="undefined"&&e(document)})});var vn=Tt((fs,Mt)=>{/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var Jr,Gr,Xr,Zr,en,tn,rn,nn,on,Ot,ur,an,sn,cn,Ye,ln,un,pn,fn,mn,dn,hn,bn,_t;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(r){e(n(t,n(r)))}):typeof Mt=="object"&&typeof Mt.exports=="object"?e(n(t,n(Mt.exports))):e(n(t));function n(r,o){return r!==t&&(typeof Object.create=="function"?Object.defineProperty(r,"__esModule",{value:!0}):r.__esModule=!0),function(i,a){return r[i]=o?o(i,a):a}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])};Jr=function(r,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(r,o);function i(){this.constructor=r}r.prototype=o===null?Object.create(o):(i.prototype=o.prototype,new i)},Gr=Object.assign||function(r){for(var o,i=1,a=arguments.length;i=0;u--)(c=r[u])&&(l=(s<3?c(l):s>3?c(o,i,l):c(o,i))||l);return s>3&&l&&Object.defineProperty(o,i,l),l},en=function(r,o){return function(i,a){o(i,a,r)}},tn=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},rn=function(r,o,i,a){function s(l){return l instanceof i?l:new i(function(c){c(l)})}return new(i||(i=Promise))(function(l,c){function u(h){try{p(a.next(h))}catch(b){c(b)}}function m(h){try{p(a.throw(h))}catch(b){c(b)}}function p(h){h.done?l(h.value):s(h.value).then(u,m)}p((a=a.apply(r,o||[])).next())})},nn=function(r,o){var i={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},a,s,l,c;return c={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function u(p){return function(h){return m([p,h])}}function m(p){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(l=p[0]&2?s.return:p[0]?s.throw||((l=s.return)&&l.call(s),0):s.next)&&!(l=l.call(s,p[1])).done)return l;switch(s=0,l&&(p=[p[0]&2,l.value]),p[0]){case 0:case 1:l=p;break;case 4:return i.label++,{value:p[1],done:!1};case 5:i.label++,s=p[1],p=[0];continue;case 7:p=i.ops.pop(),i.trys.pop();continue;default:if(l=i.trys,!(l=l.length>0&&l[l.length-1])&&(p[0]===6||p[0]===2)){i=0;continue}if(p[0]===3&&(!l||p[1]>l[0]&&p[1]=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},ur=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),s,l=[],c;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)l.push(s.value)}catch(u){c={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(c)throw c.error}}return l},an=function(){for(var r=[],o=0;o1||u(d,U)})})}function u(d,U){try{m(a[d](U))}catch(B){b(l[0][3],B)}}function m(d){d.value instanceof Ye?Promise.resolve(d.value.v).then(p,h):b(l[0][2],d)}function p(d){u("next",d)}function h(d){u("throw",d)}function b(d,U){d(U),l.shift(),l.length&&u(l[0][0],l[0][1])}},un=function(r){var o,i;return o={},a("next"),a("throw",function(s){throw s}),a("return"),o[Symbol.iterator]=function(){return this},o;function a(s,l){o[s]=r[s]?function(c){return(i=!i)?{value:Ye(r[s](c)),done:s==="return"}:l?l(c):c}:l}},pn=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r[Symbol.asyncIterator],i;return o?o.call(r):(r=typeof Ot=="function"?Ot(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(l){i[l]=r[l]&&function(c){return new Promise(function(u,m){c=r[l](c),s(u,m,c.done,c.value)})}}function s(l,c,u,m){Promise.resolve(m).then(function(p){l({value:p,done:u})},c)}},fn=function(r,o){return Object.defineProperty?Object.defineProperty(r,"raw",{value:o}):r.raw=o,r};var n=Object.create?function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}:function(r,o){r.default=o};mn=function(r){if(r&&r.__esModule)return r;var o={};if(r!=null)for(var i in r)i!=="default"&&Object.prototype.hasOwnProperty.call(r,i)&&_t(o,r,i);return n(o,r),o},dn=function(r){return r&&r.__esModule?r:{default:r}},hn=function(r,o){if(!o.has(r))throw new TypeError("attempted to get private field on non-instance");return o.get(r)},bn=function(r,o,i){if(!o.has(r))throw new TypeError("attempted to set private field on non-instance");return o.set(r,i),i},e("__extends",Jr),e("__assign",Gr),e("__rest",Xr),e("__decorate",Zr),e("__param",en),e("__metadata",tn),e("__awaiter",rn),e("__generator",nn),e("__exportStar",on),e("__createBinding",_t),e("__values",Ot),e("__read",ur),e("__spread",an),e("__spreadArrays",sn),e("__spreadArray",cn),e("__await",Ye),e("__asyncGenerator",ln),e("__asyncDelegator",un),e("__asyncValues",pn),e("__makeTemplateObject",fn),e("__importStar",mn),e("__importDefault",dn),e("__classPrivateFieldGet",hn),e("__classPrivateFieldSet",bn)})});var Rr=Tt((xt,Fr)=>{/*! * clipboard.js v2.0.8 * https://clipboardjs.com/ * * Licensed MIT © Zeno Rocha */(function(t,n){typeof xt=="object"&&typeof Fr=="object"?Fr.exports=n():typeof define=="function"&&define.amd?define([],n):typeof xt=="object"?xt.ClipboardJS=n():t.ClipboardJS=n()})(xt,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Zi}});var a=i(279),s=i.n(a),l=i(370),c=i.n(l),u=i(817),m=i.n(u);function p(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?p=function(v){return typeof v}:p=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},p(_)}function h(_,g){if(!(_ instanceof g))throw new TypeError("Cannot call a class as a function")}function b(_,g){for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:{};this.action=v.action,this.container=v.container,this.emitter=v.emitter,this.target=v.target,this.text=v.text,this.trigger=v.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var v=document.documentElement.getAttribute("dir")==="rtl";this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[v?"right":"left"]="-9999px";var k=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(k,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var v=this,k=this.createFakeElement();this.fakeHandlerCallback=function(){return v.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(k),this.selectedText=m()(k),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=m()(this.target),this.copyText()}},{key:"copyText",value:function(){var v;try{v=document.execCommand(this.action)}catch(k){v=!1}this.handleResult(v)}},{key:"handleResult",value:function(v){this.emitter.emit(v?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=v,this._action!=="copy"&&this._action!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(v){if(v!==void 0)if(v&&p(v)==="object"&&v.nodeType===1){if(this.action==="copy"&&v.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(v.hasAttribute("readonly")||v.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=v}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),_}(),B=U;function $(_){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$=function(v){return typeof v}:$=function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},$(_)}function E(_,g){if(!(_ instanceof g))throw new TypeError("Cannot call a class as a function")}function Ve(_,g){for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof W.action=="function"?W.action:this.defaultAction,this.target=typeof W.target=="function"?W.target:this.defaultTarget,this.text=typeof W.text=="function"?W.text:this.defaultText,this.container=$(W.container)==="object"?W.container:document.body}},{key:"listenClick",value:function(W){var te=this;this.listener=c()(W,"click",function(ct){return te.onClick(ct)})}},{key:"onClick",value:function(W){var te=W.delegateTarget||W.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new B({action:this.action(te),target:this.target(te),text:this.text(te),container:this.container,trigger:te,emitter:this})}},{key:"defaultAction",value:function(W){return sr("action",W)}},{key:"defaultTarget",value:function(W){var te=sr("target",W);if(te)return document.querySelector(te)}},{key:"defaultText",value:function(W){return sr("text",W)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],te=typeof W=="string"?[W]:W,ct=!!document.queryCommandSupported;return te.forEach(function(ea){ct=ct&&!!document.queryCommandSupported(ea)}),ct}}]),v}(s()),Zi=Xi},828:function(r){var o=9;if(typeof Element!="undefined"&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}function a(s,l){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(l))return s;s=s.parentNode}}r.exports=a},438:function(r,o,i){var a=i(828);function s(u,m,p,h,b){var d=c.apply(this,arguments);return u.addEventListener(p,d,b),{destroy:function(){u.removeEventListener(p,d,b)}}}function l(u,m,p,h,b){return typeof u.addEventListener=="function"?s.apply(null,arguments):typeof p=="function"?s.bind(null,document).apply(null,arguments):(typeof u=="string"&&(u=document.querySelectorAll(u)),Array.prototype.map.call(u,function(d){return s(d,m,p,h,b)}))}function c(u,m,p,h){return function(b){b.delegateTarget=a(b.target,m),b.delegateTarget&&h.call(u,b)}}r.exports=l},879:function(r,o){o.node=function(i){return i!==void 0&&i instanceof HTMLElement&&i.nodeType===1},o.nodeList=function(i){var a=Object.prototype.toString.call(i);return i!==void 0&&(a==="[object NodeList]"||a==="[object HTMLCollection]")&&"length"in i&&(i.length===0||o.node(i[0]))},o.string=function(i){return typeof i=="string"||i instanceof String},o.fn=function(i){var a=Object.prototype.toString.call(i);return a==="[object Function]"}},370:function(r,o,i){var a=i(879),s=i(438);function l(p,h,b){if(!p&&!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(p))return c(p,h,b);if(a.nodeList(p))return u(p,h,b);if(a.string(p))return m(p,h,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function c(p,h,b){return p.addEventListener(h,b),{destroy:function(){p.removeEventListener(h,b)}}}function u(p,h,b){return Array.prototype.forEach.call(p,function(d){d.addEventListener(h,b)}),{destroy:function(){Array.prototype.forEach.call(p,function(d){d.removeEventListener(h,b)})}}}function m(p,h,b){return s(document.body,p,h,b)}r.exports=l},817:function(r){function o(i){var a;if(i.nodeName==="SELECT")i.focus(),a=i.value;else if(i.nodeName==="INPUT"||i.nodeName==="TEXTAREA"){var s=i.hasAttribute("readonly");s||i.setAttribute("readonly",""),i.select(),i.setSelectionRange(0,i.value.length),s||i.removeAttribute("readonly"),a=i.value}else{i.hasAttribute("contenteditable")&&i.focus();var l=window.getSelection(),c=document.createRange();c.selectNodeContents(i),l.removeAllRanges(),l.addRange(c),a=l.toString()}return a}r.exports=o},279:function(r){function o(){}o.prototype={on:function(i,a,s){var l=this.e||(this.e={});return(l[i]||(l[i]=[])).push({fn:a,ctx:s}),this},once:function(i,a,s){var l=this;function c(){l.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(),l=0,c=s.length;for(l;l{/*! * escape-html * Copyright(c) 2012-2013 TJ Holowaychuk * Copyright(c) 2015 Andreas Lubbe * Copyright(c) 2015 Tiancheng "Timothy" Gu * MIT Licensed */"use strict";var Ja=/["'&<>]/;yi.exports=Ga;function Ga(e){var t=""+e,n=Ja.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,o=r.hasError,i=r.isStopped,a=r.observers;return o||i?pr:(a.push(n),new we(function(){return Le(a,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,i=r.thrownError,a=r.isStopped;o?n.error(i):a&&n.complete()},t.prototype.asObservable=function(){var n=new C;return n.source=this,n},t.create=function(n,r){return new Cn(n,r)},t}(C);var Cn=function(e){X(t,e);function t(n,r){var o=e.call(this)||this;return o.destination=n,o.source=r,o}return t.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},t.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:pr},t}(T);var pt={now:function(){return(pt.delegate||Date).now()},delegate:void 0};var ft=function(e){X(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=pt);var i=e.call(this)||this;return i._bufferSize=n,i._windowTime=r,i._timestampProvider=o,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,n),i._windowTime=Math.max(1,r),i}return t.prototype.next=function(n){var r=this,o=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,s=r._timestampProvider,l=r._windowTime;o||(i.push(n),!a&&i.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,i=o._infiniteTimeWindow,a=o._buffer,s=a.slice(),l=0;l0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=Ze.requestAnimationFrame(function(){return n.flush(void 0)})))},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,r,o);n.actions.length===0&&(Ze.cancelAnimationFrame(r),n._scheduled=void 0)},t}(Rt);var Rn=function(e){X(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0,this._scheduled=void 0;var r=this.actions,o,i=-1;n=n||r.shift();var a=r.length;do if(o=n.execute(n.state,n.delay))break;while(++i=2,!0))}function de(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new T}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,l=s===void 0?!0:s;return function(c){var u=null,m=null,p=null,h=0,b=!1,d=!1,U=function(){m==null||m.unsubscribe(),m=null},B=function(){U(),u=p=null,b=d=!1},$=function(){var E=u;B(),E==null||E.unsubscribe()};return x(function(E,Ve){h++,!d&&!b&&U();var Me=p=p!=null?p:n();Ve.add(function(){h--,h===0&&!d&&!b&&(m=_r($,l))}),Me.subscribe(Ve),u||(u=new ut({next:function(Ke){return Me.next(Ke)},error:function(Ke){d=!0,U(),m=_r(B,o,Ke),Me.error(Ke)},complete:function(){b=!0,U(),m=_r(B,a),Me.complete()}}),re(E).subscribe(u))})(c)}}function _r(e,t){for(var n=[],r=2;rt==="focus"),D(e===ze()))}var ro=new T,Ra=ye(()=>R(new ResizeObserver(e=>{for(let t of e)ro.next(t)}))).pipe(M(e=>Y.pipe(D(e)).pipe(P(()=>e.disconnect()))),J(1));function je(e){return{width:e.offsetWidth,height:e.offsetHeight}}function Jt(e){return{width:e.scrollWidth,height:e.scrollHeight}}function Pe(e){return Ra.pipe(L(t=>t.observe(e)),M(t=>ro.pipe(O(({target:n})=>n===e),P(()=>t.unobserve(e)),f(()=>je(e)))),D(je(e)))}function no(e){return{x:e.scrollLeft,y:e.scrollTop}}function Ia(e){return I(w(e,"scroll"),w(window,"resize")).pipe(f(()=>no(e)),D(no(e)))}function oo(e,t=16){return Ia(e).pipe(f(({y:n})=>{let r=je(e),o=Jt(e);return n>=o.height-r.height-t}),Q())}function io(e){if(e instanceof HTMLInputElement)e.select();else throw new Error("Not implemented")}var Gt={drawer:ee("[data-md-toggle=drawer]"),search:ee("[data-md-toggle=search]")};function ao(e){return Gt[e].checked}function $e(e,t){Gt[e].checked!==t&&Gt[e].click()}function Xt(e){let t=Gt[e];return w(t,"change").pipe(f(()=>t.checked),D(t.checked))}function ja(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 so(){return w(window,"keydown").pipe(O(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:ao("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),O(({mode:e,type:t})=>{if(e==="global"){let n=ze();if(typeof n!="undefined")return!ja(n,t)}return!0}),de())}function Te(){return new URL(location.href)}function co(e){location.href=e.href}function lo(){return new T}function uo(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 n of t)uo(e,n)}function A(e,t,...n){let r=document.createElement(e);if(t)for(let o of Object.keys(t))typeof t[o]!="boolean"?r.setAttribute(o,t[o]):t[o]&&r.setAttribute(o,"");for(let o of n)uo(r,o);return r}function po(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}return e}function Zt(e){if(e>999){let t=+((e-950)%1e3>99);return`${((e+1e-6)/1e3).toFixed(t)}k`}else return e.toString()}function fo(){return location.hash.substring(1)}function mo(e){let t=A("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function Pa(){return w(window,"hashchange").pipe(f(fo),D(fo()),O(e=>e.length>0),J(1))}function ho(){return Pa().pipe(f(e=>ce(`[id="${e}"]`)),O(e=>typeof e!="undefined"))}function gt(e){let t=matchMedia(e);return Bt(n=>t.addListener(()=>n(t.matches))).pipe(D(t.matches))}function bo(){return I(w(window,"beforeprint").pipe(ne(!0)),w(window,"afterprint").pipe(ne(!1)))}function Cr(e,t){return e.pipe(M(n=>n?t():Y))}function er(e,t={credentials:"same-origin"}){return re(fetch(`${e}`,t)).pipe(O(n=>n.status===200),Re(()=>me))}function Oe(e,t){return er(e,t).pipe(M(n=>n.json()),J(1))}function vo(e,t){let n=new DOMParser;return er(e,t).pipe(M(r=>r.text()),f(r=>n.parseFromString(r,"text/xml")),J(1))}function go(){return{x:Math.max(0,pageXOffset),y:Math.max(0,pageYOffset)}}function Hr({x:e,y:t}){window.scrollTo(e||0,t||0)}function xo(){return I(w(window,"scroll",{passive:!0}),w(window,"resize",{passive:!0})).pipe(f(go),D(go()))}function yo(){return{width:innerWidth,height:innerHeight}}function So(){return w(window,"resize",{passive:!0}).pipe(f(yo),D(yo()))}function wo(){return K([xo(),So()]).pipe(f(([e,t])=>({offset:e,size:t})),J(1))}function tr(e,{viewport$:t,header$:n}){let r=t.pipe(z("size")),o=K([r,n]).pipe(f(()=>({x:e.offsetLeft,y:e.offsetTop})));return K([n,t,o]).pipe(f(([{height:i},{offset:a,size:s},{x:l,y:c}])=>({offset:{x:a.x-l,y:a.y-c+i},size:s})))}function Eo(e,{tx$:t}){let n=w(e,"message").pipe(f(({data:r})=>r));return t.pipe(Ar(()=>n,{leading:!0,trailing:!0}),L(r=>e.postMessage(r)),Mr(n),de())}var $a=ee("#__config"),ot=JSON.parse($a.textContent);ot.base=`${new URL(ot.base,Te())}`;function be(){return ot}function se(e){return ot.features.includes(e)}function G(e,t){return typeof t!="undefined"?ot.translations[e].replace("#",t.toString()):ot.translations[e]}function _e(e,t=document){return ee(`[data-md-component=${e}]`,t)}function oe(e,t=document){return N(`[data-md-component=${e}]`,t)}var ii=Be(Rr());function rr(e,t=0){e.setAttribute("tabindex",t.toString())}function yt(e){e.removeAttribute("tabindex")}function To(e,t){e.setAttribute("data-md-state","lock"),e.style.top=`-${t}px`}function Oo(e){let t=-1*parseInt(e.style.top,10);e.removeAttribute("data-md-state"),e.style.top="",t&&window.scrollTo(0,t)}function _o(e,t){e.setAttribute("data-md-state",t)}function Mo(e){e.removeAttribute("data-md-state")}function Lo(e,t){e.classList.toggle("md-nav__link--active",t)}function Ao(e){e.classList.remove("md-nav__link--active")}function ko(e,t){e.firstElementChild.innerHTML=t}function Co(e,t){e.setAttribute("data-md-state",t)}function Ho(e){e.removeAttribute("data-md-state")}function Fo(e,t){e.setAttribute("data-md-state",t)}function Ro(e){e.removeAttribute("data-md-state")}function Io(e,t){e.setAttribute("data-md-state",t)}function jo(e){e.removeAttribute("data-md-state")}function Po(e,t){e.placeholder=t}function $o(e){e.placeholder=G("search.placeholder")}function Wo(e,t){switch(t){case 0:e.textContent=G("search.result.none");break;case 1:e.textContent=G("search.result.one");break;default:e.textContent=G("search.result.other",Zt(t))}}function Vo(e){e.textContent=G("search.result.placeholder")}function Uo(e,t){e.appendChild(t)}function Do(e){e.innerHTML=""}function No(e,t){e.style.top=`${t}px`}function zo(e){e.style.top=""}function qo(e,t){let n=e.firstElementChild;n.style.height=`${t-2*n.offsetTop}px`}function Qo(e){let t=e.firstElementChild;t.style.height=""}function Ko(e,t){e.lastElementChild.appendChild(t)}function Bo(e,t){e.lastElementChild.setAttribute("data-md-state",t)}function Yo(e,t){e.setAttribute("data-md-state",t)}function Ir(e){e.removeAttribute("data-md-state")}function Jo(e,t){e.setAttribute("data-md-state",t)}function jr(e){e.removeAttribute("data-md-state")}function Go(e,t){e.style.top=`${t}px`}function Xo(e){e.style.top=""}function Zo(e){return A("button",{class:"md-clipboard md-icon",title:G("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function ei(e,t){return A("aside",{class:"md-annotation","data-index":e,tabIndex:0},A("div",{class:"md-tooltip"},A("div",{class:"md-tooltip__inner md-typeset"},Array.from(t))),A("span",{class:"md-annotation__index"},e))}var Qe;(function(n){n[n.TEASER=1]="TEASER",n[n.PARENT=2]="PARENT"})(Qe||(Qe={}));function Pr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[A("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return se("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),A("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},A("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&A("div",{class:"md-search-result__icon md-icon"}),A("h1",{class:"md-search-result__title"},e.title),r>0&&e.text.length>0&&A("p",{class:"md-search-result__teaser"},po(e.text,320)),r>0&&o.length>0&&A("p",{class:"md-search-result__terms"},G("search.result.term.missing"),": ",o)))}function ti(e){let t=e[0].score,n=[...e],r=n.findIndex(c=>!c.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(c=>c.scorePr(c,1)),...s.length?[A("details",{class:"md-search-result__more"},A("summary",{tabIndex:-1},s.length>0&&s.length===1?G("search.result.more.one"):G("search.result.more.other",s.length)),s.map(c=>Pr(c,1)))]:[]];return A("li",{class:"md-search-result__item"},l)}function ri(e){return A("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>A("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?Zt(n):n)))}function ni(e){return A("div",{class:"md-typeset__scrollwrap"},A("div",{class:"md-typeset__table"},e))}function Wa(e){let t=be(),n=new URL(`../${e.version}/`,t.base);return A("li",{class:"md-version__item"},A("a",{href:n.toString(),class:"md-version__link"},e.title))}function oi(e,t){return A("div",{class:"md-version"},A("button",{class:"md-version__current","aria-label":G("select.version.title")},t.title),A("ul",{class:"md-version__list"},e.map(Wa)))}var Va=0;function Ua(e,{viewport$:t,print$:n}){let r=R(e).pipe(M(a=>{let s=a.closest("[data-tabs]");return s instanceof HTMLElement?I(...N(":scope > input",s).map(l=>w(l,"change"))):Y})),o=[],i=e.closest(".highlighttable")||e.closest(".highlight");if(i){let a=i.nextElementSibling;if(a instanceof HTMLOListElement&&(i.classList.contains("annotate")||se("content.code.annotate"))){let s=Array.from(a.children);a.remove();for(let l of N(".c, .c1, .cm",e)){let c,u=l.firstChild;do if(c=/\((\d+)\)/.exec(u.textContent),c&&c.index){let m=u.splitText(c.index);u=m.splitText(c[0].length);let[,p=-1]=c,h=s[+p-1];if(typeof h!="undefined"){let b=ei(+p,h.childNodes);m.replaceWith(b),o.push(b)}}while(c)}n.subscribe(l=>{if(l){i.insertAdjacentElement("afterend",a);for(let c of o){let u=parseInt(c.getAttribute("data-index"),10),m=ce(":scope .md-typeset",c);s[u-1].append(...Array.from(m.childNodes))}}else{a.remove();for(let c of o){let u=parseInt(c.getAttribute("data-index"),10),m=s[u-1].childNodes;ee(":scope .md-typeset",c).append(...Array.from(m))}}})}}return t.pipe(z("size"),Ne(r),f(()=>{let a=je(e),s=Jt(e);return F({scroll:s.width>a.width},o.length&&{annotations:o})}),z("scroll"))}function ai(e,t){let n=new T;if(n.pipe(he(gt("(hover)"))).subscribe(([{scroll:r},o])=>{r&&o?rr(e):yt(e)}),n.pipe(ue(1),vt(({annotations:r})=>!!(r==null?void 0:r.length)),f(({annotations:r})=>r.map(o=>ee(".md-tooltip",o))),Ie(viewport$.pipe(z("size")))).subscribe(([r,{size:o}])=>{for(let i of r){let{x:a,width:s}=i.getBoundingClientRect();a+s>o.width?i.classList.add("md-tooltip--end"):i.classList.remove("md-tooltip--end")}}),ii.default.isSupported()){let r=e.closest("pre");r.id=`__code_${++Va}`,r.insertBefore(Zo(r.id),e)}return Ua(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function Da(e,{target$:t,print$:n}){let r=!1;return I(t.pipe(f(o=>o.closest("details:not([open])")),O(o=>e===o),ne({action:"open",scroll:!0})),n.pipe(O(o=>o||!r),L(()=>r=e.open),f(o=>({action:o?"open":"close"}))))}function si(e,t){let n=new T;return n.subscribe(({action:r,scroll:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),Da(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}var ci=A("table");function li(e){return qe(e,ci),qe(ci,ni(e)),R({ref:e})}function Na(e){return e.classList.contains("tabbed-alternate")?I(...N(":scope > input",e).map(t=>w(t,"change").pipe(ne(t.id)))).pipe(f(t=>({active:ee(`label[for=${t}]`)}))):Y}function ui(e){let t=new T;return t.subscribe(({active:n})=>{let r=n.parentElement;(n.offsetLeft+n.offsetWidth>r.scrollLeft+r.offsetWidth||n.offsetLeftt.next(n)),P(()=>t.complete()),f(n=>F({ref:e},n)))}function pi(e,{target$:t,viewport$:n,print$:r}){return I(...N("pre > code",e).map(o=>ai(o,{viewport$:n,print$:r})),...N("table:not([class])",e).map(o=>li(o)),...N("details",e).map(o=>si(o,{target$:t,print$:r})),...N("[data-tabs]",e).map(o=>ui(o)))}function za(e,{alert$:t}){return t.pipe(M(n=>I(R(!0),R(!1).pipe(Ae(2e3))).pipe(f(r=>({message:n,open:r})))))}function fi(e,t){let n=new T;return n.pipe(q(Z)).subscribe(({message:r,open:o})=>{ko(e,r),o?Co(e,"open"):Ho(e)}),za(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function qa({viewport$:e}){if(!se("header.autohide"))return R(!1);let t=e.pipe(f(({offset:{y:o}})=>o),Se(2,1),f(([o,i])=>[oMath.abs(i-o.y)>100),f(([,[o]])=>o),Q()),r=Xt("search");return K([e,r]).pipe(f(([{offset:o},i])=>o.y>400&&!i),Q(),M(o=>o?n:R(!1)),D(!1))}function mi(e,t){return ye(()=>{let n=getComputedStyle(e);return R(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(Ie(Pe(e),qa(t)),f(([n,{height:r},o])=>({height:n?r:0,sticky:n,hidden:o})),Q((n,r)=>n.sticky===r.sticky&&n.height===r.height&&n.hidden===r.hidden),J(1))}function di(e,{header$:t,main$:n}){let r=new T;return r.pipe(z("active"),Ie(t),q(Z)).subscribe(([{active:o},{hidden:i}])=>{o?Fo(e,i?"hidden":"shadow"):Ro(e)}),n.subscribe(o=>r.next(o)),t.pipe(f(o=>F({ref:e},o)))}function Qa(e,{viewport$:t,header$:n}){return tr(e,{header$:n,viewport$:t}).pipe(f(({offset:{y:r}})=>{let{height:o}=je(e);return{active:r>=o}}),z("active"))}function hi(e,t){let n=new T;n.pipe(q(Z)).subscribe(({active:o})=>{o?Io(e,"active"):jo(e)});let r=ce("article h1");return typeof r=="undefined"?Y:Qa(r,t).pipe(L(o=>n.next(o)),P(()=>n.complete()),f(o=>F({ref:e},o)))}function bi(e,{viewport$:t,header$:n}){let r=n.pipe(f(({height:i})=>i),Q()),o=r.pipe(M(()=>Pe(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),z("bottom"))));return K([r,o,t]).pipe(f(([i,{top:a,bottom:s},{offset:{y:l},size:{height:c}}])=>(c=Math.max(0,c-Math.max(0,a-l,i)-Math.max(0,c+l-s)),{offset:a-i,height:c,active:a-i<=l})),Q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function Ka(e){let t=__md_get("__palette")||{index:e.findIndex(r=>matchMedia(r.getAttribute("data-md-color-media")).matches)},n=R(...e).pipe(ae(r=>w(r,"change").pipe(ne(r))),D(e[Math.max(0,t.index)]),f(r=>({index:e.indexOf(r),color:{scheme:r.getAttribute("data-md-color-scheme"),primary:r.getAttribute("data-md-color-primary"),accent:r.getAttribute("data-md-color-accent")}})),J(1));return n.subscribe(r=>{__md_set("__palette",r)}),n}function vi(e){let t=new T;t.subscribe(r=>{for(let[o,i]of Object.entries(r.color))typeof i=="string"&&document.body.setAttribute(`data-md-color-${o}`,i);for(let o=0;ot.next(r)),P(()=>t.complete()),f(r=>F({ref:e},r)))}var $r=Be(Rr());function Ba(e){let t=N(".md-annotation",e);for(let r of t)r.hidden=!0;let n=e.innerText;for(let r of t)r.hidden=!1;return n}function gi({alert$:e}){$r.default.isSupported()&&new C(t=>{new $r.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||Ba(ee(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).subscribe(()=>e.next(G("clipboard.copied")))}function Ya(e){if(e.length<2)return e;let[t,n]=e.sort((i,a)=>i.length-a.length).map(i=>i.replace(/[^/]+$/,"")),r=0;if(t===n)r=t.length;else for(;t.charCodeAt(r)===n.charCodeAt(r);)r++;let o=be();return e.map(i=>i.replace(t.slice(0,r),o.base))}function xi({document$:e,location$:t,viewport$:n}){let r=be();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",w(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=ce("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=vo(new URL("sitemap.xml",r.base)).pipe(f(c=>Ya(N("loc",c).map(u=>u.textContent))),M(c=>w(document.body,"click").pipe(O(u=>!u.metaKey&&!u.ctrlKey),M(u=>{if(u.target instanceof Element){let m=u.target.closest("a");if(m&&!m.target){let p=new URL(m.href);if(p.search="",p.hash="",p.pathname!==location.pathname&&c.includes(p.toString()))return u.preventDefault(),R({url:new URL(m.href)})}}return Y}))),de()),a=w(window,"popstate").pipe(O(c=>c.state!==null),f(c=>({url:new URL(location.href),offset:c.state})),de());I(i,a).pipe(Q((c,u)=>c.url.href===u.url.href),f(({url:c})=>c)).subscribe(t);let s=t.pipe(z("pathname"),M(c=>er(c.href).pipe(Re(()=>(co(c),Y)))),de());i.pipe(nt(s)).subscribe(({url:c})=>{history.pushState({},"",`${c}`)});let l=new DOMParser;s.pipe(M(c=>c.text()),f(c=>l.parseFromString(c,"text/html"))).subscribe(e),e.pipe(Yt(1)).subscribe(c=>{for(let u of["title","link[rel=canonical]","meta[name=author]","meta[name=description]","[data-md-component=announce]","[data-md-component=container]","[data-md-component=header-topic]","[data-md-component=logo]","[data-md-component=skip]",...se("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=ce(u),p=ce(u,c);typeof m!="undefined"&&typeof p!="undefined"&&qe(m,p)}}),e.pipe(Yt(1),f(()=>_e("container")),M(c=>R(...N("script",c))),Sr(c=>{let u=A("script");if(c.src){for(let m of c.getAttributeNames())u.setAttribute(m,c.getAttribute(m));return qe(c,u),new C(m=>{u.onload=()=>m.complete()})}else return u.textContent=c.textContent,qe(c,u),me})).subscribe(),I(i,a).pipe(nt(e)).subscribe(({url:c,offset:u})=>{c.hash&&!u?mo(c.hash):Hr(u||{y:0})}),n.pipe(bt(i),wr(250),z("offset")).subscribe(({offset:c})=>{history.replaceState(c,"")}),I(i,a).pipe(Se(2,1),O(([c,u])=>c.url.pathname===u.url.pathname),f(([,c])=>c)).subscribe(({offset:c})=>{Hr(c||{y:0})})}var Xa=Be(Wr());var Si=Be(Wr());function Vr(e,t){let n=new RegExp(e.separator,"img"),r=(o,i,a)=>`${i}${a}`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(t?(0,Si.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)]*>/img,"$1")}}function wi(e){return e.split(/"([^"]+)"/g).map((t,n)=>n&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}var ke;(function(o){o[o.SETUP=0]="SETUP",o[o.READY=1]="READY",o[o.QUERY=2]="QUERY",o[o.RESULT=3]="RESULT"})(ke||(ke={}));function it(e){return e.type===1}function Ei(e){return e.type===2}function at(e){return e.type===3}function Za({config:e,docs:t}){e.lang.length===1&&e.lang[0]==="en"&&(e.lang=[G("search.config.lang")]),e.separator==="[\\s\\-]+"&&(e.separator=G("search.config.separator"));let r={pipeline:G("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:se("search.suggest")};return{config:e,docs:t,options:r}}function Ti(e,t){let n=be(),r=new Worker(e),o=new T,i=Eo(r,{tx$:o}).pipe(f(a=>{if(at(a))for(let s of a.data.items)for(let l of s)l.location=`${new URL(l.location,n.base)}`;return a}),de());return re(t).pipe(f(a=>({type:ke.SETUP,data:Za(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Oi(){let e=be(),t=Oe(new URL("../versions.json",e.base)),n=t.pipe(f(r=>{let[,o]=e.base.match(/([^/]+)\/?$/);return r.find(({version:i,aliases:a})=>i===o||a.includes(o))||r[0]}));K([t,n]).subscribe(([r,o])=>{var a;if(ee(".md-header__topic").appendChild(oi(r,o)),__md_get("__outdated",sessionStorage)===null){let s=((a=e.version)==null?void 0:a.default)||"latest",l=!o.aliases.includes(s);if(__md_set("__outdated",l,sessionStorage),l)for(let c of oe("outdated"))c.hidden=!1}})}function es(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||wi,{searchParams:r}=Te();r.has("q")&&$e("search",!0);let o=t.pipe(O(it),ue(1),f(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=to(e),a=I(w(e,"keyup"),w(e,"focus").pipe(Ae(1)),o).pipe(f(()=>n(e.value)),D(""),Q());return K([a,i]).pipe(f(([s,l])=>({value:s,focus:l})),J(1))}function _i(e,{tx$:t,rx$:n}){let r=new T;return r.pipe(z("value"),f(({value:o})=>({type:ke.QUERY,data:o}))).subscribe(t.next.bind(t)),r.pipe(z("focus")).subscribe(({focus:o})=>{o?($e("search",o),Po(e,"")):$o(e)}),w(e.form,"reset").pipe(Lr(r.pipe(Tr(1)))).subscribe(()=>Ee(e)),es(e,{tx$:t,rx$:n}).pipe(L(o=>r.next(o)),P(()=>r.complete()),f(o=>F({ref:e},o)))}function Mi(e,{rx$:t},{query$:n}){let r=new T,o=oo(e.parentElement).pipe(O(Boolean)),i=ee(":scope > :first-child",e),a=ee(":scope > :last-child",e),s=t.pipe(O(it),ue(1));return r.pipe(q(Z),he(n),bt(s)).subscribe(([{items:c},{value:u}])=>{u?Wo(i,c.length):Vo(i)}),r.pipe(q(Z),L(()=>Do(a)),M(({items:c})=>I(R(...c.slice(0,10)),R(...c.slice(10)).pipe(Se(4),kr(o),M(([u])=>R(...u)))))).subscribe(c=>{Uo(a,ti(c))}),t.pipe(O(at),f(({data:c})=>c)).pipe(L(c=>r.next(c)),P(()=>r.complete()),f(c=>F({ref:e},c)))}function ts(e,{query$:t}){return t.pipe(f(({value:n})=>{let r=Te();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function Li(e,t){let n=new T;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),w(e,"click").subscribe(r=>r.preventDefault()),ts(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function Ai(e,{rx$:t},{keyboard$:n}){let r=new T,o=_e("search-query"),i=I(w(o,"keydown"),w(o,"focus")).pipe(q(Ce),f(()=>o.value),Q());return r.pipe(Ie(i),f(([{suggestions:s},l])=>{let c=l.split(/([\s-]+)/);if((s==null?void 0:s.length)&&c[c.length-1]){let u=s[s.length-1];u.startsWith(c[c.length-1])&&(c[c.length-1]=u)}else c.length=0;return c})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g," ")),n.pipe(O(({mode:s})=>s==="search")).subscribe(s=>{switch(s.type){case"ArrowRight":e.innerText.length&&o.selectionStart===o.value.length&&(o.value=e.innerText);break}}),t.pipe(O(at),f(({data:s})=>s)).pipe(L(s=>r.next(s)),P(()=>r.complete()),f(()=>({ref:e})))}function ki(e,{index$:t,keyboard$:n}){let r=be();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Ti(o,t),a=_e("search-query",e),s=_e("search-result",e),{tx$:l,rx$:c}=i;l.pipe(O(Ei),nt(c.pipe(O(it))),ue(1)).subscribe(l.next.bind(l)),n.pipe(O(({mode:p})=>p==="search")).subscribe(p=>{let h=ze();switch(p.type){case"Enter":if(h===a){let b=new Map;for(let d of N(":first-child [href]",s)){let U=d.firstElementChild;b.set(d,parseFloat(U.getAttribute("data-md-score")))}if(b.size){let[[d]]=[...b].sort(([,U],[,B])=>B-U);d.click()}p.claim()}break;case"Escape":case"Tab":$e("search",!1),Ee(a,!1);break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")Ee(a);else{let b=[a,...N(":not(details) > [href], summary, details[open] [href]",s)],d=Math.max(0,(Math.max(0,b.indexOf(h))+b.length+(p.type==="ArrowUp"?-1:1))%b.length);Ee(b[d])}p.claim();break;default:a!==ze()&&Ee(a)}}),n.pipe(O(({mode:p})=>p==="global")).subscribe(p=>{switch(p.type){case"f":case"s":case"/":Ee(a),io(a),p.claim();break}});let u=_i(a,i),m=Mi(s,i,{query$:u});return I(u,m).pipe(Ne(...oe("search-share",e).map(p=>Li(p,{query$:u})),...oe("search-suggest",e).map(p=>Ai(p,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,Y}}function Ci(e,{index$:t,location$:n}){return K([t,n.pipe(D(Te()),O(r=>r.searchParams.has("h")))]).pipe(f(([r,o])=>Vr(r.config,!0)(o.searchParams.get("h"))),f(r=>{var a;let o=new Map,i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT);for(let s=i.nextNode();s;s=i.nextNode())if((a=s.parentElement)==null?void 0:a.offsetHeight){let l=s.textContent,c=r(l);c.length>l.length&&o.set(s,c)}for(let[s,l]of o){let{childNodes:c}=A("span",null,l);s.replaceWith(...Array.from(c))}return{ref:e,nodes:o}}))}function rs(e,{viewport$:t,main$:n}){let r=e.parentElement.offsetTop-e.parentElement.parentElement.offsetTop;return K([n,t]).pipe(f(([{offset:o,height:i},{offset:{y:a}}])=>(i=i+Math.min(r,Math.max(0,a-o))-r,{height:i,locked:a>=o+r})),Q((o,i)=>o.height===i.height&&o.locked===i.locked))}function Ur(e,r){var o=r,{header$:t}=o,n=Kr(o,["header$"]);let i=new T;return i.pipe(q(Z),he(t)).subscribe({next([{height:a},{height:s}]){qo(e,a),No(e,s)},complete(){zo(e),Qo(e)}}),rs(e,n).pipe(L(a=>i.next(a)),P(()=>i.complete()),f(a=>F({ref:e},a)))}function Hi(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return ht(Oe(`${n}/releases/latest`).pipe(f(r=>({version:r.tag_name})),De({})),Oe(n).pipe(f(r=>({stars:r.stargazers_count,forks:r.forks_count})),De({}))).pipe(f(([r,o])=>F(F({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Oe(n).pipe(f(r=>({repositories:r.public_repos})),De({}))}}function Fi(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Oe(n).pipe(f(({star_count:r,forks_count:o})=>({stars:r,forks:o})),De({}))}function Ri(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return Hi(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return Fi(o,i);default:return Y}}var ns;function os(e){return ns||(ns=ye(()=>{let t=__md_get("__source",sessionStorage);return t?R(t):Ri(e.href).pipe(L(n=>__md_set("__source",n,sessionStorage)))}).pipe(Re(()=>Y),O(t=>Object.keys(t).length>0),f(t=>({facts:t})),J(1)))}function Ii(e){let t=new T;return t.subscribe(({facts:n})=>{Ko(e,ri(n)),Bo(e,"done")}),os(e).pipe(L(n=>t.next(n)),P(()=>t.complete()),f(n=>F({ref:e},n)))}function is(e,{viewport$:t,header$:n}){return Pe(document.body).pipe(M(()=>tr(e,{header$:n,viewport$:t})),f(({offset:{y:r}})=>({hidden:r>=10})),z("hidden"))}function ji(e,t){let n=new T;return n.pipe(q(Z)).subscribe({next({hidden:r}){r?Yo(e,"hidden"):Ir(e)},complete(){Ir(e)}}),(se("navigation.tabs.sticky")?R({hidden:!1}):is(e,t)).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function as(e,{viewport$:t,header$:n}){let r=new Map,o=N("[href^=\\#]",e);for(let s of o){let l=decodeURIComponent(s.hash.substring(1)),c=ce(`[id="${l}"]`);typeof c!="undefined"&&r.set(s,c)}let i=n.pipe(f(s=>24+s.height));return Pe(document.body).pipe(z("height"),M(s=>ye(()=>{let l=[];return R([...r].reduce((c,[u,m])=>{for(;l.length&&r.get(l[l.length-1]).tagName>=m.tagName;)l.pop();let p=m.offsetTop;for(;!p&&m.parentElement;)m=m.parentElement,p=m.offsetTop;return c.set([...l=[...l,u]].reverse(),p)},new Map))}).pipe(f(l=>new Map([...l].sort(([,c],[,u])=>c-u))),M(l=>K([t,i]).pipe(Or(([c,u],[{offset:{y:m},size:p},h])=>{let b=m+p.height>=Math.floor(s.height);for(;u.length;){let[,d]=u[0];if(d-h=m&&!b)u=[c.pop(),...u];else break}return[c,u]},[[],[...l]]),Q((c,u)=>c[0]===u[0]&&c[1]===u[1])))))).pipe(f(([s,l])=>({prev:s.map(([c])=>c),next:l.map(([c])=>c)})),D({prev:[],next:[]}),Se(2,1),f(([s,l])=>s.prev.length{for(let[i]of o)Ao(i),Mo(i);for(let[i,[a]]of r.entries())Lo(a,i===r.length-1),_o(a,"blur");if(se("navigation.tracking")){let i=Te(),a=r[r.length-1];if(a&&a.length){let[s]=a,{hash:l}=new URL(s.href);i.hash!==l&&(i.hash=l,history.replaceState({},"",`${i}`))}else i.hash="",history.replaceState({},"",`${i}`)}}),as(e,t).pipe(L(r=>n.next(r)),P(()=>n.complete()),f(r=>F({ref:e},r)))}function ss(e,{viewport$:t,main$:n}){let r=t.pipe(f(({offset:{y:i}})=>i),Se(2,1),f(([i,a])=>i>a&&a),Q()),o=n.pipe(z("active"));return K([o,r]).pipe(f(([{active:i},a])=>({hidden:!(i&&a)})),Q((i,a)=>i.hidden===a.hidden))}function $i(e,{viewport$:t,header$:n,main$:r}){let o=new T;return o.pipe(q(Z),he(n.pipe(z("height")))).subscribe({next([{hidden:i},{height:a}]){Go(e,a+16),i?(Jo(e,"hidden"),Ee(e,!1),rr(e,-1)):(jr(e),yt(e))},complete(){Xo(e),jr(e),yt(e)}}),ss(e,{viewport$:t,header$:n,main$:r}).pipe(L(i=>o.next(i)),P(()=>o.complete()),f(i=>F({ref:e},i)))}function Wi({document$:e,tablet$:t}){e.pipe(M(()=>R(...N("[data-md-state=indeterminate]"))),L(n=>{n.indeterminate=!0,n.checked=!1}),ae(n=>w(n,"change").pipe(vt(()=>n.hasAttribute("data-md-state")),ne(n))),he(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function cs(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function Vi({document$:e}){e.pipe(M(()=>R(...N("[data-md-scrollfix]"))),L(t=>t.removeAttribute("data-md-scrollfix")),O(cs),ae(t=>w(t,"touchstart").pipe(ne(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function Ui({viewport$:e,tablet$:t}){K([Xt("search"),t]).pipe(f(([n,r])=>n&&!r),M(n=>R(n).pipe(Ae(n?400:100),q(Z))),he(e)).subscribe(([n,{offset:{y:r}}])=>{n?To(document.body,r):Oo(document.body)})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var st=eo(),nr=lo(),Dr=ho(),Nr=so(),ve=wo(),or=gt("(min-width: 960px)"),Di=gt("(min-width: 1220px)"),Ni=bo(),zi=be(),qi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Oe(new URL("search/search_index.json",zi.base)):Y,zr=new T;gi({alert$:zr});se("navigation.instant")&&xi({document$:st,location$:nr,viewport$:ve});var Ki;((Ki=zi.version)==null?void 0:Ki.provider)==="mike"&&Oi();I(nr,Dr).pipe(Ae(125)).subscribe(()=>{$e("drawer",!1),$e("search",!1)});Nr.pipe(O(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=ce("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=ce("[href][rel=next]");typeof n!="undefined"&&n.click();break}});Wi({document$:st,tablet$:or});Vi({document$:st});Ui({viewport$:ve,tablet$:or});var We=mi(_e("header"),{viewport$:ve}),ir=st.pipe(f(()=>_e("main")),M(e=>bi(e,{viewport$:ve,header$:We})),J(1)),ls=I(...oe("dialog").map(e=>fi(e,{alert$:zr})),...oe("header").map(e=>di(e,{viewport$:ve,header$:We,main$:ir})),...oe("palette").map(e=>vi(e)),...oe("search").map(e=>ki(e,{index$:qi,keyboard$:Nr})),...oe("source").map(e=>Ii(e))),us=ye(()=>I(...oe("content").map(e=>pi(e,{target$:Dr,viewport$:ve,print$:Ni})),...oe("content").map(e=>se("search.highlight")?Ci(e,{index$:qi,location$:nr}):Y),...oe("header-title").map(e=>hi(e,{viewport$:ve,header$:We})),...oe("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Cr(Di,()=>Ur(e,{viewport$:ve,header$:We,main$:ir})):Cr(or,()=>Ur(e,{viewport$:ve,header$:We,main$:ir}))),...oe("tabs").map(e=>ji(e,{viewport$:ve,header$:We})),...oe("toc").map(e=>Pi(e,{viewport$:ve,header$:We})),...oe("top").map(e=>$i(e,{viewport$:ve,header$:We,main$:ir})))),Qi=st.pipe(M(()=>us),Ne(ls),J(1));Qi.subscribe();window.document$=st;window.location$=nr;window.target$=Dr;window.keyboard$=Nr;window.viewport$=ve;window.tablet$=or;window.screen$=Di;window.print$=Ni;window.alert$=zr;window.component$=Qi;})(); //# sourceMappingURL=bundle.0d86bc28.min.js.map