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