misp-modules/assets/javascripts/bundle.289a2a4b.min.js

30 lines
86 KiB
JavaScript

(()=>{var Ai=Object.create;var Et=Object.defineProperty;var Ci=Object.getOwnPropertyDescriptor;var ki=Object.getOwnPropertyNames,Tt=Object.getOwnPropertySymbols,Hi=Object.getPrototypeOf,pr=Object.prototype.hasOwnProperty,zr=Object.prototype.propertyIsEnumerable;var Qr=(e,t,n)=>t in e?Et(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$=(e,t)=>{for(var n in t||(t={}))pr.call(t,n)&&Qr(e,n,t[n]);if(Tt)for(var n of Tt(t))zr.call(t,n)&&Qr(e,n,t[n]);return e};var Ri=e=>Et(e,"__esModule",{value:!0});var qr=(e,t)=>{var n={};for(var r in e)pr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Tt)for(var r of Tt(e))t.indexOf(r)<0&&zr.call(e,r)&&(n[r]=e[r]);return n};var Ot=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ii=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ki(t))!pr.call(e,o)&&(n||o!=="default")&&Et(e,o,{get:()=>t[o],enumerable:!(r=Ci(t,o))||r.enumerable});return e},Be=(e,t)=>Ii(Ri(Et(e!=null?Ai(Hi(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Yr=Ot((fr,Kr)=>{(function(e,t){typeof fr=="object"&&typeof Kr!="undefined"?t():typeof define=="function"&&define.amd?define(t):t()})(fr,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(_){return!!(_&&_!==document&&_.nodeName!=="HTML"&&_.nodeName!=="BODY"&&"classList"in _&&"contains"in _.classList)}function c(_){var Ve=_.type,Ce=_.tagName;return!!(Ce==="INPUT"&&a[Ve]&&!_.readOnly||Ce==="TEXTAREA"&&!_.readOnly||_.isContentEditable)}function u(_){_.classList.contains("focus-visible")||(_.classList.add("focus-visible"),_.setAttribute("data-focus-visible-added",""))}function p(_){!_.hasAttribute("data-focus-visible-added")||(_.classList.remove("focus-visible"),_.removeAttribute("data-focus-visible-added"))}function m(_){_.metaKey||_.altKey||_.ctrlKey||(s(n.activeElement)&&u(n.activeElement),r=!0)}function l(_){r=!1}function h(_){!s(_.target)||(r||c(_.target))&&u(_.target)}function d(_){!s(_.target)||(_.target.classList.contains("focus-visible")||_.target.hasAttribute("data-focus-visible-added"))&&(o=!0,window.clearTimeout(i),i=window.setTimeout(function(){o=!1},100),p(_.target))}function v(_){document.visibilityState==="hidden"&&(o&&(r=!0),N())}function N(){document.addEventListener("mousemove",W),document.addEventListener("mousedown",W),document.addEventListener("mouseup",W),document.addEventListener("pointermove",W),document.addEventListener("pointerdown",W),document.addEventListener("pointerup",W),document.addEventListener("touchmove",W),document.addEventListener("touchstart",W),document.addEventListener("touchend",W)}function J(){document.removeEventListener("mousemove",W),document.removeEventListener("mousedown",W),document.removeEventListener("mouseup",W),document.removeEventListener("pointermove",W),document.removeEventListener("pointerdown",W),document.removeEventListener("pointerup",W),document.removeEventListener("touchmove",W),document.removeEventListener("touchstart",W),document.removeEventListener("touchend",W)}function W(_){_.target.nodeName&&_.target.nodeName.toLowerCase()==="html"||(r=!1,J())}document.addEventListener("keydown",m,!0),document.addEventListener("mousedown",l,!0),document.addEventListener("pointerdown",l,!0),document.addEventListener("touchstart",l,!0),document.addEventListener("visibilitychange",v,!0),N(),n.addEventListener("focus",h,!0),n.addEventListener("blur",d,!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 bn=Ot((Va,Lt)=>{/*! *****************************************************************************
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 Br,Jr,Gr,Xr,Zr,en,tn,rn,nn,_t,lr,on,an,sn,Je,cn,un,pn,fn,ln,mn,dn,hn,Mt;(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 Lt=="object"&&typeof Lt.exports=="object"?e(n(t,n(Lt.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])};Br=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)},Jr=Object.assign||function(r){for(var o,i=1,a=arguments.length;i<a;i++){o=arguments[i];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])}return r},Gr=function(r,o){var i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.indexOf(a)<0&&(i[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(r);s<a.length;s++)o.indexOf(a[s])<0&&Object.prototype.propertyIsEnumerable.call(r,a[s])&&(i[a[s]]=r[a[s]]);return i},Xr=function(r,o,i,a){var s=arguments.length,c=s<3?o:a===null?a=Object.getOwnPropertyDescriptor(o,i):a,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(r,o,i,a);else for(var p=r.length-1;p>=0;p--)(u=r[p])&&(c=(s<3?u(c):s>3?u(o,i,c):u(o,i))||c);return s>3&&c&&Object.defineProperty(o,i,c),c},Zr=function(r,o){return function(i,a){o(i,a,r)}},en=function(r,o){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,o)},tn=function(r,o,i,a){function s(c){return c instanceof i?c:new i(function(u){u(c)})}return new(i||(i=Promise))(function(c,u){function p(h){try{l(a.next(h))}catch(d){u(d)}}function m(h){try{l(a.throw(h))}catch(d){u(d)}}function l(h){h.done?c(h.value):s(h.value).then(p,m)}l((a=a.apply(r,o||[])).next())})},rn=function(r,o){var i={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},a,s,c,u;return u={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function p(l){return function(h){return m([l,h])}}function m(l){if(a)throw new TypeError("Generator is already executing.");for(;i;)try{if(a=1,s&&(c=l[0]&2?s.return:l[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,l[1])).done)return c;switch(s=0,c&&(l=[l[0]&2,c.value]),l[0]){case 0:case 1:c=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,s=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(c=i.trys,!(c=c.length>0&&c[c.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!c||l[1]>c[0]&&l[1]<c[3])){i.label=l[1];break}if(l[0]===6&&i.label<c[1]){i.label=c[1],c=l;break}if(c&&i.label<c[2]){i.label=c[2],i.ops.push(l);break}c[2]&&i.ops.pop(),i.trys.pop();continue}l=o.call(r,i)}catch(h){l=[6,h],s=0}finally{a=c=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},nn=function(r,o){for(var i in r)i!=="default"&&!Object.prototype.hasOwnProperty.call(o,i)&&Mt(o,r,i)},Mt=Object.create?function(r,o,i,a){a===void 0&&(a=i),Object.defineProperty(r,a,{enumerable:!0,get:function(){return o[i]}})}:function(r,o,i,a){a===void 0&&(a=i),r[a]=o[i]},_t=function(r){var o=typeof Symbol=="function"&&Symbol.iterator,i=o&&r[o],a=0;if(i)return i.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")},lr=function(r,o){var i=typeof Symbol=="function"&&r[Symbol.iterator];if(!i)return r;var a=i.call(r),s,c=[],u;try{for(;(o===void 0||o-- >0)&&!(s=a.next()).done;)c.push(s.value)}catch(p){u={error:p}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(u)throw u.error}}return c},on=function(){for(var r=[],o=0;o<arguments.length;o++)r=r.concat(lr(arguments[o]));return r},an=function(){for(var r=0,o=0,i=arguments.length;o<i;o++)r+=arguments[o].length;for(var a=Array(r),s=0,o=0;o<i;o++)for(var c=arguments[o],u=0,p=c.length;u<p;u++,s++)a[s]=c[u];return a},sn=function(r,o,i){if(i||arguments.length===2)for(var a=0,s=o.length,c;a<s;a++)(c||!(a in o))&&(c||(c=Array.prototype.slice.call(o,0,a)),c[a]=o[a]);return r.concat(c||Array.prototype.slice.call(o))},Je=function(r){return this instanceof Je?(this.v=r,this):new Je(r)},cn=function(r,o,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=i.apply(r,o||[]),s,c=[];return s={},u("next"),u("throw"),u("return"),s[Symbol.asyncIterator]=function(){return this},s;function u(v){a[v]&&(s[v]=function(N){return new Promise(function(J,W){c.push([v,N,J,W])>1||p(v,N)})})}function p(v,N){try{m(a[v](N))}catch(J){d(c[0][3],J)}}function m(v){v.value instanceof Je?Promise.resolve(v.value.v).then(l,h):d(c[0][2],v)}function l(v){p("next",v)}function h(v){p("throw",v)}function d(v,N){v(N),c.shift(),c.length&&p(c[0][0],c[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,c){o[s]=r[s]?function(u){return(i=!i)?{value:Je(r[s](u)),done:s==="return"}:c?c(u):u}:c}},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 _t=="function"?_t(r):r[Symbol.iterator](),i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i);function a(c){i[c]=r[c]&&function(u){return new Promise(function(p,m){u=r[c](u),s(p,m,u.done,u.value)})}}function s(c,u,p,m){Promise.resolve(m).then(function(l){c({value:l,done:p})},u)}},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};ln=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)&&Mt(o,r,i);return n(o,r),o},mn=function(r){return r&&r.__esModule?r:{default:r}},dn=function(r,o,i,a){if(i==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof o=="function"?r!==o||!a:!o.has(r))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?a:i==="a"?a.call(r):a?a.value:o.get(r)},hn=function(r,o,i,a,s){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof o=="function"?r!==o||!s:!o.has(r))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?s.call(r,i):s?s.value=i:o.set(r,i),i},e("__extends",Br),e("__assign",Jr),e("__rest",Gr),e("__decorate",Xr),e("__param",Zr),e("__metadata",en),e("__awaiter",tn),e("__generator",rn),e("__exportStar",nn),e("__createBinding",Mt),e("__values",_t),e("__read",lr),e("__spread",on),e("__spreadArrays",an),e("__spreadArray",sn),e("__await",Je),e("__asyncGenerator",cn),e("__asyncDelegator",un),e("__asyncValues",pn),e("__makeTemplateObject",fn),e("__importStar",ln),e("__importDefault",mn),e("__classPrivateFieldGet",dn),e("__classPrivateFieldSet",hn)})});var $r=Ot((St,Ir)=>{/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/(function(t,n){typeof St=="object"&&typeof Ir=="object"?Ir.exports=n():typeof define=="function"&&define.amd?define([],n):typeof St=="object"?St.ClipboardJS=n():t.ClipboardJS=n()})(St,function(){return function(){var e={134:function(r,o,i){"use strict";i.d(o,{default:function(){return Mi}});var a=i(279),s=i.n(a),c=i(370),u=i.n(c),p=i(817),m=i.n(p);function l(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(b){return typeof b}:l=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},l(L)}function h(L,x){if(!(L instanceof x))throw new TypeError("Cannot call a class as a function")}function d(L,x){for(var b=0;b<x.length;b++){var I=x[b];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(L,I.key,I)}}function v(L,x,b){return x&&d(L.prototype,x),b&&d(L,b),L}var N=function(){function L(x){h(this,L),this.resolveOptions(x),this.initSelection()}return v(L,[{key:"resolveOptions",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=b.action,this.container=b.container,this.emitter=b.emitter,this.target=b.target,this.text=b.text,this.trigger=b.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var b=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[b?"right":"left"]="-9999px";var I=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(I,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var b=this,I=this.createFakeElement();this.fakeHandlerCallback=function(){return b.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(I),this.selectedText=m()(I),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 b;try{b=document.execCommand(this.action)}catch(I){b=!1}this.handleResult(b)}},{key:"handleResult",value:function(b){this.emitter.emit(b?"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 b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"copy";if(this._action=b,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(b){if(b!==void 0)if(b&&l(b)==="object"&&b.nodeType===1){if(this.action==="copy"&&b.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(this.action==="cut"&&(b.hasAttribute("readonly")||b.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`);this._target=b}else throw new Error('Invalid "target" value, use a valid Element')},get:function(){return this._target}}]),L}(),J=N;function W(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?W=function(b){return typeof b}:W=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},W(L)}function _(L,x){if(!(L instanceof x))throw new TypeError("Cannot call a class as a function")}function Ve(L,x){for(var b=0;b<x.length;b++){var I=x[b];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(L,I.key,I)}}function Ce(L,x,b){return x&&Ve(L.prototype,x),b&&Ve(L,b),L}function Ye(L,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(x&&x.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),x&&cr(L,x)}function cr(L,x){return cr=Object.setPrototypeOf||function(I,D){return I.__proto__=D,I},cr(L,x)}function wi(L){var x=Oi();return function(){var I=wt(L),D;if(x){var ee=wt(this).constructor;D=Reflect.construct(I,arguments,ee)}else D=I.apply(this,arguments);return Ei(this,D)}}function Ei(L,x){return x&&(W(x)==="object"||typeof x=="function")?x:Ti(L)}function Ti(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function Oi(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(L){return!1}}function wt(L){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},wt(L)}function ur(L,x){var b="data-clipboard-".concat(L);if(!!x.hasAttribute(b))return x.getAttribute(b)}var _i=function(L){Ye(b,L);var x=wi(b);function b(I,D){var ee;return _(this,b),ee=x.call(this),ee.resolveOptions(D),ee.listenClick(I),ee}return Ce(b,[{key:"resolveOptions",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof D.action=="function"?D.action:this.defaultAction,this.target=typeof D.target=="function"?D.target:this.defaultTarget,this.text=typeof D.text=="function"?D.text:this.defaultText,this.container=W(D.container)==="object"?D.container:document.body}},{key:"listenClick",value:function(D){var ee=this;this.listener=u()(D,"click",function(lt){return ee.onClick(lt)})}},{key:"onClick",value:function(D){var ee=D.delegateTarget||D.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new J({action:this.action(ee),target:this.target(ee),text:this.text(ee),container:this.container,trigger:ee,emitter:this})}},{key:"defaultAction",value:function(D){return ur("action",D)}},{key:"defaultTarget",value:function(D){var ee=ur("target",D);if(ee)return document.querySelector(ee)}},{key:"defaultText",value:function(D){return ur("text",D)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],ee=typeof D=="string"?[D]:D,lt=!!document.queryCommandSupported;return ee.forEach(function(Li){lt=lt&&!!document.queryCommandSupported(Li)}),lt}}]),b}(s()),Mi=_i},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,c){for(;s&&s.nodeType!==o;){if(typeof s.matches=="function"&&s.matches(c))return s;s=s.parentNode}}r.exports=a},438:function(r,o,i){var a=i(828);function s(p,m,l,h,d){var v=u.apply(this,arguments);return p.addEventListener(l,v,d),{destroy:function(){p.removeEventListener(l,v,d)}}}function c(p,m,l,h,d){return typeof p.addEventListener=="function"?s.apply(null,arguments):typeof l=="function"?s.bind(null,document).apply(null,arguments):(typeof p=="string"&&(p=document.querySelectorAll(p)),Array.prototype.map.call(p,function(v){return s(v,m,l,h,d)}))}function u(p,m,l,h){return function(d){d.delegateTarget=a(d.target,m),d.delegateTarget&&h.call(p,d)}}r.exports=c},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 c(l,h,d){if(!l&&!h&&!d)throw new Error("Missing required arguments");if(!a.string(h))throw new TypeError("Second argument must be a String");if(!a.fn(d))throw new TypeError("Third argument must be a Function");if(a.node(l))return u(l,h,d);if(a.nodeList(l))return p(l,h,d);if(a.string(l))return m(l,h,d);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function u(l,h,d){return l.addEventListener(h,d),{destroy:function(){l.removeEventListener(h,d)}}}function p(l,h,d){return Array.prototype.forEach.call(l,function(v){v.addEventListener(h,d)}),{destroy:function(){Array.prototype.forEach.call(l,function(v){v.removeEventListener(h,d)})}}}function m(l,h,d){return s(document.body,l,h,d)}r.exports=c},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 c=window.getSelection(),u=document.createRange();u.selectNodeContents(i),c.removeAllRanges(),c.addRange(u),a=c.toString()}return a}r.exports=o},279:function(r){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 u(){c.off(i,u),a.apply(s,arguments)}return u._=a,this.on(i,u,s)},emit:function(i){var a=[].slice.call(arguments,1),s=((this.e||(this.e={}))[i]||[]).slice(),c=0,u=s.length;for(c;c<u;c++)s[c].fn.apply(s[c].ctx,a);return this},off:function(i,a){var s=this.e||(this.e={}),c=s[i],u=[];if(c&&a)for(var p=0,m=c.length;p<m;p++)c[p].fn!==a&&c[p].fn._!==a&&u.push(c[p]);return u.length?s[i]=u:delete s[i],this}},r.exports=o,r.exports.TinyEmitter=o}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return function(){n.n=function(r){var o=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(o,{a:o}),o}}(),function(){n.d=function(r,o){for(var i in o)n.o(o,i)&&!n.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:o[i]})}}(),function(){n.o=function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}}(),n(134)}().default})});var jr=Ot((qx,Yo)=>{"use strict";/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var Ta=/["'&<>]/;Yo.exports=Oa;function Oa(e){var t=""+e,n=Ta.exec(t);if(!n)return t;var r,o="",i=0,a=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}a!==i&&(o+=t.substring(a,i)),a=i+1,o+=r}return a!==i?o+t.substring(a,i):o}});var wE=Be(Yr());var vn=Be(bn(),1),{__extends:Z,__assign:Da,__rest:Na,__decorate:za,__param:Qa,__metadata:qa,__awaiter:gn,__generator:At,__exportStar:Ka,__createBinding:Ya,__values:me,__read:R,__spread:Ba,__spreadArrays:Ja,__spreadArray:j,__await:Ct,__asyncGenerator:xn,__asyncDelegator:Ga,__asyncValues:yn,__makeTemplateObject:Xa,__importStar:Za,__importDefault:es,__classPrivateFieldGet:ts,__classPrivateFieldSet:rs}=vn.default;function E(e){return typeof e=="function"}function kt(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Ht=kt(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
`+n.map(function(r,o){return o+1+") "+r.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=n}});function ke(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}return e.prototype.unsubscribe=function(){var t,n,r,o,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=me(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else a.remove(this);var p=this.initialTeardown;if(E(p))try{p()}catch(v){i=v instanceof Ht?v.errors:[v]}var m=this._teardowns;if(m){this._teardowns=null;try{for(var l=me(m),h=l.next();!h.done;h=l.next()){var d=h.value;try{Sn(d)}catch(v){i=i!=null?i:[],v instanceof Ht?i=j(j([],R(i)),R(v.errors)):i.push(v)}}}catch(v){r={error:v}}finally{try{h&&!h.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(i)throw new Ht(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Sn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=(n=this._teardowns)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&ke(n,t)},e.prototype.remove=function(t){var n=this._teardowns;n&&ke(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();var mr=Te.EMPTY;function Rt(e){return e instanceof Te||e&&"closed"in e&&E(e.remove)&&E(e.add)&&E(e.unsubscribe)}function Sn(e){E(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ge={setTimeout:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ge.delegate;return((n==null?void 0:n.setTimeout)||setTimeout).apply(void 0,j([],R(e)))},clearTimeout:function(e){var t=Ge.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function It(e){Ge.setTimeout(function(){var t=ye.onUnhandledError;if(t)t(e);else throw e})}function oe(){}var wn=function(){return dr("C",void 0,void 0)}();function En(e){return dr("E",void 0,e)}function Tn(e){return dr("N",e,void 0)}function dr(e,t,n){return{kind:e,value:t,error:n}}var De=null;function Xe(e){if(ye.useDeprecatedSynchronousErrorHandling){var t=!De;if(t&&(De={errorThrown:!1,error:null}),e(),t){var n=De,r=n.errorThrown,o=n.error;if(De=null,r)throw o}}else e()}function On(e){ye.useDeprecatedSynchronousErrorHandling&&De&&(De.errorThrown=!0,De.error=e)}var mt=function(e){Z(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Rt(n)&&n.add(r)):r.destination=$i,r}return t.create=function(n,r,o){return new Ze(n,r,o)},t.prototype.next=function(n){this.isStopped?br(Tn(n),this):this._next(n)},t.prototype.error=function(n){this.isStopped?br(En(n),this):(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped?br(wn,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Te);var Ze=function(e){Z(t,e);function t(n,r,o){var i=e.call(this)||this,a;if(E(n))a=n;else if(n){a=n.next,r=n.error,o=n.complete;var s;i&&ye.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=function(){return i.unsubscribe()}):s=n,a=a==null?void 0:a.bind(s),r=r==null?void 0:r.bind(s),o=o==null?void 0:o.bind(s)}return i.destination={next:a?hr(a,i):oe,error:hr(r!=null?r:_n,i),complete:o?hr(o,i):oe},i}return t}(mt);function hr(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{e.apply(void 0,j([],R(n)))}catch(o){ye.useDeprecatedSynchronousErrorHandling?On(o):It(o)}}}function _n(e){throw e}function br(e,t){var n=ye.onStoppedNotification;n&&Ge.setTimeout(function(){return n(e,t)})}var $i={closed:!0,next:oe,error:_n,complete:oe};var et=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function de(e){return e}function Mn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return vr(e)}function vr(e){return e.length===0?de:e.length===1?e[0]:function(n){return e.reduce(function(r,o){return o(r)},n)}}var P=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var o=this,i=Fi(t)?t:new Ze(t,n,r);return Xe(function(){var a=o,s=a.operator,c=a.source;i.add(s?s.call(i,c):c?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Ln(n),new n(function(o,i){var a=new Ze({next:function(s){try{t(s)}catch(c){i(c),a.unsubscribe()}},error:i,complete:o});r.subscribe(a)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[et]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return vr(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Ln(t),new t(function(r,o){var i;n.subscribe(function(a){return i=a},function(a){return o(a)},function(){return r(i)})})},e.create=function(t){return new e(t)},e}();function Ln(e){var t;return(t=e!=null?e:ye.Promise)!==null&&t!==void 0?t:Promise}function Pi(e){return e&&E(e.next)&&E(e.error)&&E(e.complete)}function Fi(e){return e&&e instanceof mt||Pi(e)&&Rt(e)}function ji(e){return E(e==null?void 0:e.lift)}function g(e){return function(t){if(ji(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}var y=function(e){Z(t,e);function t(n,r,o,i,a){var s=e.call(this,n)||this;return s.onFinalize=a,s._next=r?function(c){try{r(c)}catch(u){n.error(u)}}:e.prototype._next,s._error=i?function(c){try{i(c)}catch(u){n.error(u)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=o?function(){try{o()}catch(c){n.error(c)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var n,r=this.closed;e.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))},t}(mt);var tt={schedule:function(e){var t=requestAnimationFrame,n=cancelAnimationFrame,r=tt.delegate;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);var o=t(function(i){n=void 0,e(i)});return new Te(function(){return n==null?void 0:n(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=tt.delegate;return((n==null?void 0:n.requestAnimationFrame)||requestAnimationFrame).apply(void 0,j([],R(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=tt.delegate;return((n==null?void 0:n.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,j([],R(e)))},delegate:void 0};var An=kt(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}});var w=function(e){Z(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Cn(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new An},t.prototype.next=function(n){var r=this;Xe(function(){var o,i;if(r._throwIfClosed(),!r.isStopped){var a=r.observers.slice();try{for(var s=me(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.next(n)}}catch(p){o={error:p}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(n){var r=this;Xe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var o=r.observers;o.length;)o.shift().error(n)}})},t.prototype.complete=function(){var n=this;Xe(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},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?mr:(a.push(n),new Te(function(){return ke(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 P;return n.source=this,n},t.create=function(n,r){return new Cn(n,r)},t}(P);var Cn=function(e){Z(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:mr},t}(w);var dt={now:function(){return(dt.delegate||Date).now()},delegate:void 0};var ht=function(e){Z(t,e);function t(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=dt);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,c=r._windowTime;o||(i.push(n),!a&&i.push(s.now()+c)),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(),c=0;c<s.length&&!n.closed;c+=i?1:2)n.next(s[c]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,o=n._timestampProvider,i=n._buffer,a=n._infiniteTimeWindow,s=(a?1:2)*r;if(r<1/0&&s<i.length&&i.splice(0,i.length-s),!a){for(var c=o.now(),u=0,p=1;p<i.length&&i[p]<=c;p+=2)u=p;u&&i.splice(0,u+1)}},t}(w);var kn=function(e){Z(t,e);function t(n,r){return e.call(this)||this}return t.prototype.schedule=function(n,r){return r===void 0&&(r=0),this},t}(Te);var bt={setInterval:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=bt.delegate;return((n==null?void 0:n.setInterval)||setInterval).apply(void 0,j([],R(e)))},clearInterval:function(e){var t=bt.delegate;return((t==null?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var $t=function(e){Z(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o.pending=!1,o}return t.prototype.schedule=function(n,r){if(r===void 0&&(r=0),this.closed)return this;this.state=n;var o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=this.id||this.requestAsyncId(i,this.id,r),this},t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),bt.setInterval(n.flush.bind(n,this),o)},t.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return r;bt.clearInterval(r)},t.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,r);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(n,r){var o=!1,i;try{this.work(n)}catch(a){o=!0,i=a||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,o=n.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,ke(i,this),r!=null&&(this.id=this.recycleAsyncId(o,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(kn);var gr=function(){function e(t,n){n===void 0&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(t,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,t).schedule(r,n)},e.now=dt.now,e}();var Pt=function(e){Z(t,e);function t(n,r){r===void 0&&(r=gr.now);var o=e.call(this,n,r)||this;return o.actions=[],o._active=!1,o._scheduled=void 0,o}return t.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var o;this._active=!0;do if(o=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,o){for(;n=r.shift();)n.unsubscribe();throw o}},t}(gr);var Oe=new Pt($t),vt=Oe;var Hn=function(e){Z(t,e);function t(n,r){var o=e.call(this,n,r)||this;return o.scheduler=n,o.work=r,o}return t.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,n,r,o):(n.actions.push(this),n._scheduled||(n._scheduled=tt.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.some(function(i){return i.id===r})||(tt.cancelAnimationFrame(r),n._scheduled=void 0)},t}($t);var Rn=function(e){Z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(n){this._active=!0;var r=this._scheduled;this._scheduled=void 0;var o=this.actions,i;n=n||o.shift();do if(i=n.execute(n.state,n.delay))break;while((n=o[0])&&n.id===r&&o.shift());if(this._active=!1,i){for(;(n=o[0])&&n.id===r&&o.shift();)n.unsubscribe();throw i}},t}(Pt);var Se=new Rn(Hn);var z=new P(function(e){return e.complete()});function Ft(e){return e&&E(e.schedule)}function xr(e){return e[e.length-1]}function Ie(e){return E(xr(e))?e.pop():void 0}function ve(e){return Ft(xr(e))?e.pop():void 0}function jt(e,t){return typeof xr(e)=="number"?e.pop():t}var rt=function(e){return e&&typeof e.length=="number"&&typeof e!="function"};function Wt(e){return E(e==null?void 0:e.then)}function Ut(e){return E(e[et])}function Vt(e){return Symbol.asyncIterator&&E(e==null?void 0:e[Symbol.asyncIterator])}function Dt(e){return new TypeError("You provided "+(e!==null&&typeof e=="object"?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Wi(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Nt=Wi();function zt(e){return E(e==null?void 0:e[Nt])}function Qt(e){return xn(this,arguments,function(){var n,r,o,i;return At(this,function(a){switch(a.label){case 0:n=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,Ct(n.read())];case 3:return r=a.sent(),o=r.value,i=r.done,i?[4,Ct(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,Ct(o)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function qt(e){return E(e==null?void 0:e.getReader)}function U(e){if(e instanceof P)return e;if(e!=null){if(Ut(e))return Ui(e);if(rt(e))return Vi(e);if(Wt(e))return Di(e);if(Vt(e))return In(e);if(zt(e))return Ni(e);if(qt(e))return zi(e)}throw Dt(e)}function Ui(e){return new P(function(t){var n=e[et]();if(E(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vi(e){return new P(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Di(e){return new P(function(t){e.then(function(n){t.closed||(t.next(n),t.complete())},function(n){return t.error(n)}).then(null,It)})}function Ni(e){return new P(function(t){var n,r;try{for(var o=me(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(s){n={error:s}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}t.complete()})}function In(e){return new P(function(t){Qi(e,t).catch(function(n){return t.error(n)})})}function zi(e){return In(Qt(e))}function Qi(e,t){var n,r,o,i;return gn(this,void 0,void 0,function(){var a,s;return At(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=yn(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),!!r.done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),o={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})})}function pe(e,t,n,r,o){r===void 0&&(r=0),o===void 0&&(o=!1);var i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ne(e,t){return t===void 0&&(t=0),g(function(n,r){n.subscribe(new y(r,function(o){return pe(r,e,function(){return r.next(o)},t)},function(){return pe(r,e,function(){return r.complete()},t)},function(o){return pe(r,e,function(){return r.error(o)},t)}))})}function Kt(e,t){return t===void 0&&(t=0),g(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function $n(e,t){return U(e).pipe(Kt(t),Ne(t))}function Pn(e,t){return U(e).pipe(Kt(t),Ne(t))}function Fn(e,t){return new P(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function jn(e,t){return new P(function(n){var r;return pe(n,t,function(){r=e[Nt](),pe(n,t,function(){var o,i,a;try{o=r.next(),i=o.value,a=o.done}catch(s){n.error(s);return}a?n.complete():n.next(i)},0,!0)}),function(){return E(r==null?void 0:r.return)&&r.return()}})}function Yt(e,t){if(!e)throw new Error("Iterable cannot be null");return new P(function(n){pe(n,t,function(){var r=e[Symbol.asyncIterator]();pe(n,t,function(){r.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function Wn(e,t){return Yt(Qt(e),t)}function Un(e,t){if(e!=null){if(Ut(e))return $n(e,t);if(rt(e))return Fn(e,t);if(Wt(e))return Pn(e,t);if(Vt(e))return Yt(e,t);if(zt(e))return jn(e,t);if(qt(e))return Wn(e,t)}throw Dt(e)}function te(e,t){return t?Un(e,t):U(e)}function k(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e);return te(e,n)}function Vn(e){return e instanceof Date&&!isNaN(e)}function f(e,t){return g(function(n,r){var o=0;n.subscribe(new y(r,function(i){r.next(e.call(t,i,o++))}))})}var qi=Array.isArray;function Ki(e,t){return qi(t)?e.apply(void 0,j([],R(t))):e(t)}function $e(e){return f(function(t){return Ki(e,t)})}var Yi=Array.isArray,Bi=Object.getPrototypeOf,Ji=Object.prototype,Gi=Object.keys;function Dn(e){if(e.length===1){var t=e[0];if(Yi(t))return{args:t,keys:null};if(Xi(t)){var n=Gi(t);return{args:n.map(function(r){return t[r]}),keys:n}}}return{args:e,keys:null}}function Xi(e){return e&&typeof e=="object"&&Bi(e)===Ji}function Nn(e,t){return e.reduce(function(n,r,o){return n[r]=t[o],n},{})}function Q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e),r=Ie(e),o=Dn(e),i=o.args,a=o.keys;if(i.length===0)return te([],n);var s=new P(yr(i,n,a?function(c){return Nn(a,c)}:de));return r?s.pipe($e(r)):s}function yr(e,t,n){return n===void 0&&(n=de),function(r){zn(t,function(){for(var o=e.length,i=new Array(o),a=o,s=o,c=function(p){zn(t,function(){var m=te(e[p],t),l=!1;m.subscribe(new y(r,function(h){i[p]=h,l||(l=!0,s--),s||r.next(n(i.slice()))},function(){--a||r.complete()}))},r)},u=0;u<o;u++)c(u)},r)}}function zn(e,t,n){e?pe(n,e,t):t()}function Qn(e,t,n,r,o,i,a,s){var c=[],u=0,p=0,m=!1,l=function(){m&&!c.length&&!u&&t.complete()},h=function(v){return u<r?d(v):c.push(v)},d=function(v){i&&t.next(v),u++;var N=!1;U(n(v,p++)).subscribe(new y(t,function(J){o==null||o(J),i?h(J):t.next(J)},function(){N=!0},void 0,function(){if(N)try{u--;for(var J=function(){var W=c.shift();a?pe(t,a,function(){return d(W)}):d(W)};c.length&&u<r;)J();l()}catch(W){t.error(W)}}))};return e.subscribe(new y(t,h,function(){m=!0,l()})),function(){s==null||s()}}function ie(e,t,n){return n===void 0&&(n=1/0),E(t)?ie(function(r,o){return f(function(i,a){return t(r,i,o,a)})(U(e(r,o)))},n):(typeof t=="number"&&(n=t),g(function(r,o){return Qn(r,o,e,n)}))}function nt(e){return e===void 0&&(e=1/0),ie(de,e)}function qn(){return nt(1)}function ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return qn()(te(e,ve(e)))}function F(e){return new P(function(t){U(e()).subscribe(t)})}var Zi=["addListener","removeListener"],ea=["addEventListener","removeEventListener"],ta=["on","off"];function S(e,t,n,r){if(E(n)&&(r=n,n=void 0),r)return S(e,t,n).pipe($e(r));var o=R(oa(e)?ea.map(function(s){return function(c){return e[s](t,c,n)}}):ra(e)?Zi.map(Kn(e,t)):na(e)?ta.map(Kn(e,t)):[],2),i=o[0],a=o[1];if(!i&&rt(e))return ie(function(s){return S(s,t,n)})(U(e));if(!i)throw new TypeError("Invalid event target");return new P(function(s){var c=function(){for(var u=[],p=0;p<arguments.length;p++)u[p]=arguments[p];return s.next(1<u.length?u:u[0])};return i(c),function(){return a(c)}})}function Kn(e,t){return function(n){return function(r){return e[n](t,r)}}}function ra(e){return E(e.addListener)&&E(e.removeListener)}function na(e){return E(e.on)&&E(e.off)}function oa(e){return E(e.addEventListener)&&E(e.removeEventListener)}function Bt(e,t,n){return n?Bt(e,t).pipe($e(n)):new P(function(r){var o=function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return r.next(a.length===1?a[0]:a)},i=e(o);return E(t)?function(){return t(o,i)}:void 0})}function ot(e,t,n){e===void 0&&(e=0),n===void 0&&(n=vt);var r=-1;return t!=null&&(Ft(t)?n=t:r=t),new P(function(o){var i=Vn(e)?+e-n.now():e;i<0&&(i=0);var a=0;return n.schedule(function(){o.closed||(o.next(a++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function A(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e),r=jt(e,1/0),o=e;return o.length?o.length===1?U(o[0]):nt(r)(te(o,n)):z}var ge=new P(oe);var ia=Array.isArray;function it(e){return e.length===1&&ia(e[0])?e[0]:e}function M(e,t){return g(function(n,r){var o=0;n.subscribe(new y(r,function(i){return e.call(t,i,o++)&&r.next(i)}))})}function gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ie(e),r=it(e);return r.length?new P(function(o){var i=r.map(function(){return[]}),a=r.map(function(){return!1});o.add(function(){i=a=null});for(var s=function(u){U(r[u]).subscribe(new y(o,function(p){if(i[u].push(p),i.every(function(l){return l.length})){var m=i.map(function(l){return l.shift()});o.next(n?n.apply(void 0,j([],R(m))):m),i.some(function(l,h){return!l.length&&a[h]})&&o.complete()}},function(){a[u]=!0,!i[u].length&&o.complete()}))},c=0;!o.closed&&c<r.length;c++)s(c);return function(){i=a=null}}):z}function Yn(e){return g(function(t,n){var r=!1,o=null,i=null,a=!1,s=function(){if(i==null||i.unsubscribe(),i=null,r){r=!1;var u=o;o=null,n.next(u)}a&&n.complete()},c=function(){i=null,a&&n.complete()};t.subscribe(new y(n,function(u){r=!0,o=u,i||U(e(u)).subscribe(i=new y(n,s,c))},function(){a=!0,(!r||!i||i.closed)&&n.complete()}))})}function He(e,t){return t===void 0&&(t=vt),Yn(function(){return ot(e,t)})}function we(e,t){return t===void 0&&(t=null),t=t!=null?t:e,g(function(n,r){var o=[],i=0;n.subscribe(new y(r,function(a){var s,c,u,p,m=null;i++%t===0&&o.push([]);try{for(var l=me(o),h=l.next();!h.done;h=l.next()){var d=h.value;d.push(a),e<=d.length&&(m=m!=null?m:[],m.push(d))}}catch(J){s={error:J}}finally{try{h&&!h.done&&(c=l.return)&&c.call(l)}finally{if(s)throw s.error}}if(m)try{for(var v=me(m),N=v.next();!N.done;N=v.next()){var d=N.value;ke(o,d),r.next(d)}}catch(J){u={error:J}}finally{try{N&&!N.done&&(p=v.return)&&p.call(v)}finally{if(u)throw u.error}}},function(){var a,s;try{for(var c=me(o),u=c.next();!u.done;u=c.next()){var p=u.value;r.next(p)}}catch(m){a={error:m}}finally{try{u&&!u.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}r.complete()},void 0,function(){o=null}))})}function Pe(e){return g(function(t,n){var r=null,o=!1,i;r=t.subscribe(new y(n,void 0,void 0,function(a){i=U(e(a,Pe(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Bn(e,t,n,r,o){return function(i,a){var s=n,c=t,u=0;i.subscribe(new y(a,function(p){var m=u++;c=s?e(c,p,m):(s=!0,p),r&&a.next(c)},o&&function(){s&&a.next(c),a.complete()}))}}function Sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ie(e);return n?Mn(Sr.apply(void 0,j([],R(e))),$e(n)):g(function(r,o){yr(j([r],R(it(e))))(o)})}function at(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Sr.apply(void 0,j([],R(e)))}function wr(e,t){return E(t)?ie(e,t,1):ie(e,1)}function Qe(e,t){return t===void 0&&(t=Oe),g(function(n,r){var o=null,i=null,a=null,s=function(){if(o){o.unsubscribe(),o=null;var u=i;i=null,r.next(u)}};function c(){var u=a+e,p=t.now();if(p<u){o=this.schedule(void 0,u-p),r.add(o);return}s()}n.subscribe(new y(r,function(u){i=u,a=t.now(),o||(o=t.schedule(c,e),r.add(o))},function(){s(),r.complete()},void 0,function(){i=o=null}))})}function qe(e){return g(function(t,n){var r=!1;t.subscribe(new y(n,function(o){r=!0,n.next(o)},function(){r||n.next(e),n.complete()}))})}function fe(e){return e<=0?function(){return z}:g(function(t,n){var r=0;t.subscribe(new y(n,function(o){++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Jn(){return g(function(e,t){e.subscribe(new y(t,oe))})}function re(e){return f(function(){return e})}function Er(e,t){return t?function(n){return ze(t.pipe(fe(1),Jn()),n.pipe(Er(e)))}:ie(function(n,r){return e(n,r).pipe(fe(1),re(n))})}function Re(e,t){t===void 0&&(t=Oe);var n=ot(e,t);return Er(function(){return n})}function q(e,t){return t===void 0&&(t=de),e=e!=null?e:aa,g(function(n,r){var o,i=!0;n.subscribe(new y(r,function(a){var s=t(a);(i||!e(o,s))&&(i=!1,o=s,r.next(a))}))})}function aa(e,t){return e===t}function Y(e,t){return q(function(n,r){return t?t(n[e],r[e]):n[e]===r[e]})}function Tr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(n){return ze(n,k.apply(void 0,j([],R(e))))}}function C(e){return g(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function se(e){return e<=0?function(){return z}:g(function(t,n){var r=[];t.subscribe(new y(n,function(o){r.push(o),e<r.length&&r.shift()},function(){var o,i;try{for(var a=me(r),s=a.next();!s.done;s=a.next()){var c=s.value;n.next(c)}}catch(u){o={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(o)throw o.error}}n.complete()},void 0,function(){r=null}))})}function Gn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e),r=jt(e,1/0);return e=it(e),g(function(o,i){nt(r)(te(j([o],R(e)),n)).subscribe(i)})}function Ke(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Gn.apply(void 0,j([],R(e)))}function st(e){return g(function(t,n){var r=!1,o=null;t.subscribe(new y(n,function(a){r=!0,o=a}));var i=function(){if(r){r=!1;var a=o;o=null,n.next(a)}};e.subscribe(new y(n,i,oe))})}function Or(e,t){return g(Bn(e,t,arguments.length>=2,!0))}function ce(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new w}:t,r=e.resetOnError,o=r===void 0?!0:r,i=e.resetOnComplete,a=i===void 0?!0:i,s=e.resetOnRefCountZero,c=s===void 0?!0:s;return function(u){var p=null,m=null,l=null,h=0,d=!1,v=!1,N=function(){m==null||m.unsubscribe(),m=null},J=function(){N(),p=l=null,d=v=!1},W=function(){var _=p;J(),_==null||_.unsubscribe()};return g(function(_,Ve){h++,!v&&!d&&N();var Ce=l=l!=null?l:n();Ve.add(function(){h--,h===0&&!v&&!d&&(m=_r(W,c))}),Ce.subscribe(Ve),p||(p=new Ze({next:function(Ye){return Ce.next(Ye)},error:function(Ye){v=!0,N(),m=_r(J,o,Ye),Ce.error(Ye)},complete:function(){d=!0,N(),m=_r(J,a),Ce.complete()}}),te(_).subscribe(p))})(u)}}function _r(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return t===!0?(e(),null):t===!1?null:t.apply(void 0,j([],R(n))).pipe(fe(1)).subscribe(function(){return e()})}function G(e,t,n){var r,o,i,a=!1;return e&&typeof e=="object"?(i=(r=e.bufferSize)!==null&&r!==void 0?r:1/0,t=(o=e.windowTime)!==null&&o!==void 0?o:1/0,a=!!e.refCount,n=e.scheduler):i=e!=null?e:1/0,ce({connector:function(){return new ht(i,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:a})}function Jt(e){return M(function(t,n){return e<=n})}function xt(e){return g(function(t,n){var r=!1,o=new y(n,function(){o==null||o.unsubscribe(),r=!0},oe);U(e).subscribe(o),t.subscribe(new y(n,function(i){return r&&n.next(i)}))})}function V(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e);return g(function(r,o){(n?ze(e,r,n):ze(e,r)).subscribe(o)})}function O(e,t){return g(function(n,r){var o=null,i=0,a=!1,s=function(){return a&&!o&&r.complete()};n.subscribe(new y(r,function(c){o==null||o.unsubscribe();var u=0,p=i++;U(e(c,p)).subscribe(o=new y(r,function(m){return r.next(t?t(c,m,p,u++):m)},function(){o=null,s()}))},function(){a=!0,s()}))})}function Mr(e,t){return E(t)?O(function(){return e},t):O(function(){return e})}function ue(e){return g(function(t,n){U(e).subscribe(new y(n,function(){return n.complete()},oe)),!n.closed&&t.subscribe(n)})}function Lr(e,t){return t===void 0&&(t=!1),g(function(n,r){var o=0;n.subscribe(new y(r,function(i){var a=e(i,o++);(a||t)&&r.next(i),!a&&r.complete()}))})}function T(e,t,n){var r=E(e)||t||n?{next:e,error:t,complete:n}:e;return r?g(function(o,i){var a;(a=r.subscribe)===null||a===void 0||a.call(r);var s=!0;o.subscribe(new y(i,function(c){var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},function(){var c;s=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},function(c){var u;s=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},function(){var c,u;s&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):de}var Ar={leading:!0,trailing:!1};function yt(e,t){return t===void 0&&(t=Ar),g(function(n,r){var o=t.leading,i=t.trailing,a=!1,s=null,c=null,u=!1,p=function(){c==null||c.unsubscribe(),c=null,i&&(h(),u&&r.complete())},m=function(){c=null,u&&r.complete()},l=function(d){return c=U(e(d)).subscribe(new y(r,p,m))},h=function(){if(a){a=!1;var d=s;s=null,r.next(d),!u&&l(d)}};n.subscribe(new y(r,function(d){a=!0,s=d,!(c&&!c.closed)&&(o?h():l(d))},function(){u=!0,!(i&&a&&c&&!c.closed)&&r.complete()}))})}function Cr(e,t,n){t===void 0&&(t=Oe),n===void 0&&(n=Ar);var r=ot(e,t);return yt(function(){return r},n)}function Ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Ie(e);return g(function(r,o){for(var i=e.length,a=new Array(i),s=e.map(function(){return!1}),c=!1,u=function(m){U(e[m]).subscribe(new y(o,function(l){a[m]=l,!c&&!s[m]&&(s[m]=!0,(c=s.every(de))&&(s=null))},oe))},p=0;p<i;p++)u(p);r.subscribe(new y(o,function(m){if(c){var l=j([m],R(a));o.next(n?n.apply(void 0,j([],R(l))):l)}}))})}function Xn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g(function(n,r){gt.apply(void 0,j([n],R(e))).subscribe(r)})}function kr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xn.apply(void 0,j([],R(e)))}function Zn(){let e=new ht(1);return S(document,"DOMContentLoaded",{once:!0}).subscribe(()=>e.next(document)),e}function B(e,t=document){return Array.from(t.querySelectorAll(e))}function K(e,t=document){let n=le(e,t);if(typeof n=="undefined")throw new ReferenceError(`Missing element: expected "${e}" to be present`);return n}function le(e,t=document){return t.querySelector(e)||void 0}function Fe(){return document.activeElement instanceof HTMLElement&&document.activeElement||void 0}function Gt(e){return A(S(document.body,"focusin"),S(document.body,"focusout")).pipe(Qe(1),f(()=>{let t=Fe();return typeof t!="undefined"?e.contains(t):!1}),V(e===Fe()),q())}function je(e){return{x:e.offsetLeft,y:e.offsetTop}}function eo(e){return A(S(window,"load"),S(window,"resize")).pipe(He(0,Se),f(()=>je(e)),V(je(e)))}function to(e){return{x:e.scrollLeft,y:e.scrollTop}}function Xt(e){return A(S(e,"scroll"),S(window,"resize")).pipe(He(0,Se),f(()=>to(e)),V(to(e)))}var ro=new w,sa=F(()=>k(new ResizeObserver(e=>{for(let t of e)ro.next(t)}))).pipe(O(e=>A(ge,k(e)).pipe(C(()=>e.disconnect()))),G(1));function _e(e){return{width:e.offsetWidth,height:e.offsetHeight}}function he(e){return sa.pipe(T(t=>t.observe(e)),O(t=>ro.pipe(M(({target:n})=>n===e),C(()=>t.unobserve(e)),f(()=>_e(e)))),V(_e(e)))}function Zt(e){return{width:e.scrollWidth,height:e.scrollHeight}}var ca=new w,mb=F(()=>k(new IntersectionObserver(e=>{for(let t of e)ca.next(t)},{threshold:1}))).pipe(O(e=>A(ge,k(e)).pipe(C(()=>e.disconnect()))),G(1));function no(e,t=16){return Xt(e).pipe(f(({y:n})=>{let r=_e(e),o=Zt(e);return n>=o.height-r.height-t}),q())}var er={drawer:K("[data-md-toggle=drawer]"),search:K("[data-md-toggle=search]")};function oo(e){return er[e].checked}function We(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 ua(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 io(){return S(window,"keydown").pipe(M(e=>!(e.metaKey||e.ctrlKey)),f(e=>({mode:oo("search")?"search":"global",type:e.key,claim(){e.preventDefault(),e.stopPropagation()}})),M(({mode:e,type:t})=>{if(e==="global"){let n=Fe();if(typeof n!="undefined")return!ua(n,t)}return!0}),ce())}function Me(){return new URL(location.href)}function ao(e){location.href=e.href}function so(){return new w}function co(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)co(e,n)}function H(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)co(r,o);return r}function uo(e,t){let n=t;if(e.length>n){for(;e[n]!==" "&&--n>0;);return`${e.substring(0,n)}...`}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 po(){return location.hash.substring(1)}function fo(e){let t=H("a",{href:e});t.addEventListener("click",n=>n.stopPropagation()),t.click()}function pa(){return S(window,"hashchange").pipe(f(po),V(po()),M(e=>e.length>0),G(1))}function lo(){return pa().pipe(f(e=>le(`[id="${e}"]`)),M(e=>typeof e!="undefined"))}function Hr(e){let t=matchMedia(e);return Bt(n=>t.addListener(()=>n(t.matches))).pipe(V(t.matches))}function mo(){let e=matchMedia("print");return A(S(window,"beforeprint").pipe(re(!0)),S(window,"afterprint").pipe(re(!1))).pipe(V(e.matches))}function Rr(e,t){return e.pipe(O(n=>n?t():z))}function nr(e,t={credentials:"same-origin"}){return te(fetch(`${e}`,t)).pipe(M(n=>n.status===200),Pe(()=>z))}function Le(e,t){return nr(e,t).pipe(O(n=>n.json()),G(1))}function ho(e,t){let n=new DOMParser;return nr(e,t).pipe(O(r=>r.text()),f(r=>n.parseFromString(r,"text/xml")),G(1))}function bo(){return{x:Math.max(0,scrollX),y:Math.max(0,scrollY)}}function vo(){return A(S(window,"scroll",{passive:!0}),S(window,"resize",{passive:!0})).pipe(f(bo),V(bo()))}function go(){return{width:innerWidth,height:innerHeight}}function xo(){return S(window,"resize",{passive:!0}).pipe(f(go),V(go()))}function yo(){return Q([vo(),xo()]).pipe(f(([e,t])=>({offset:e,size:t})),G(1))}function or(e,{viewport$:t,header$:n}){let r=t.pipe(Y("size")),o=Q([r,n]).pipe(f(()=>je(e)));return Q([n,t,o]).pipe(f(([{height:i},{offset:a,size:s},{x:c,y:u}])=>({offset:{x:a.x-c,y:a.y-u+i},size:s})))}function So(e,{tx$:t}){let n=S(e,"message").pipe(f(({data:r})=>r));return t.pipe(yt(()=>n,{leading:!0,trailing:!0}),T(r=>e.postMessage(r)),Mr(n),ce())}var fa=K("#__config"),ct=JSON.parse(fa.textContent);ct.base=`${new URL(ct.base,Me())}`;function be(){return ct}function ae(e){return ct.features.includes(e)}function X(e,t){return typeof t!="undefined"?ct.translations[e].replace("#",t.toString()):ct.translations[e]}function Ae(e,t=document){return K(`[data-md-component=${e}]`,t)}function ne(e,t=document){return B(`[data-md-component=${e}]`,t)}var ko=Be($r());function wo(e){return H("aside",{class:"md-annotation",tabIndex:0},H("div",{class:"md-annotation__inner md-tooltip"},H("div",{class:"md-tooltip__inner md-typeset"})),H("span",{class:"md-annotation__index"},H("span",{"data-md-annotation-id":e})))}function Eo(e){return H("button",{class:"md-clipboard md-icon",title:X("clipboard.copy"),"data-clipboard-target":`#${e} > code`})}function Pr(e,t){let n=t&2,r=t&1,o=Object.keys(e.terms).filter(a=>!e.terms[a]).map(a=>[H("del",null,a)," "]).flat().slice(0,-1),i=new URL(e.location);return ae("search.highlight")&&i.searchParams.set("h",Object.entries(e.terms).filter(([,a])=>a).reduce((a,[s])=>`${a} ${s}`.trim(),"")),H("a",{href:`${i}`,class:"md-search-result__link",tabIndex:-1},H("article",{class:["md-search-result__article",...n?["md-search-result__article--document"]:[]].join(" "),"data-md-score":e.score.toFixed(2)},n>0&&H("div",{class:"md-search-result__icon md-icon"}),H("h1",{class:"md-search-result__title"},e.title),r>0&&e.text.length>0&&H("p",{class:"md-search-result__teaser"},uo(e.text,320)),r>0&&o.length>0&&H("p",{class:"md-search-result__terms"},X("search.result.term.missing"),": ",o)))}function To(e){let t=e[0].score,n=[...e],r=n.findIndex(u=>!u.location.includes("#")),[o]=n.splice(r,1),i=n.findIndex(u=>u.score<t);i===-1&&(i=n.length);let a=n.slice(0,i),s=n.slice(i),c=[Pr(o,2|+(!r&&i===0)),...a.map(u=>Pr(u,1)),...s.length?[H("details",{class:"md-search-result__more"},H("summary",{tabIndex:-1},s.length>0&&s.length===1?X("search.result.more.one"):X("search.result.more.other",s.length)),s.map(u=>Pr(u,1)))]:[]];return H("li",{class:"md-search-result__item"},c)}function Oo(e){return H("ul",{class:"md-source__facts"},Object.entries(e).map(([t,n])=>H("li",{class:`md-source__fact md-source__fact--${t}`},typeof n=="number"?rr(n):n)))}function _o(e){return H("div",{class:"md-typeset__scrollwrap"},H("div",{class:"md-typeset__table"},e))}function la(e){let t=be(),n=new URL(`../${e.version}/`,t.base);return H("li",{class:"md-version__item"},H("a",{href:n.toString(),class:"md-version__link"},e.title))}function Mo(e,t){return H("div",{class:"md-version"},H("button",{class:"md-version__current","aria-label":X("select.version.title")},t.title),H("ul",{class:"md-version__list"},e.map(la)))}function ma(e,t){let n=F(()=>Q([eo(e),Xt(t)])).pipe(f(([{x:r,y:o},i])=>{let{width:a}=_e(e);return{x:r-i.x+a/2,y:o-i.y}}));return Gt(e).pipe(O(r=>n.pipe(f(o=>({active:r,offset:o})),fe(+!r||1/0))))}function Lo(e,t){return F(()=>{let n=new w;n.subscribe({next({offset:i}){e.style.setProperty("--md-tooltip-x",`${i.x}px`),e.style.setProperty("--md-tooltip-y",`${i.y}px`)},complete(){e.style.removeProperty("--md-tooltip-x"),e.style.removeProperty("--md-tooltip-y")}}),n.pipe(Cr(500,Se),f(()=>t.getBoundingClientRect()),f(({x:i})=>i)).subscribe({next(i){i?e.style.setProperty("--md-tooltip-0",`${-i}px`):e.style.removeProperty("--md-tooltip-0")},complete(){e.style.removeProperty("--md-tooltip-0")}});let r=K(":scope > :last-child",e),o=S(r,"mousedown",{once:!0});return n.pipe(O(({active:i})=>i?o:z),T(i=>i.preventDefault())).subscribe(()=>e.blur()),ma(e,t).pipe(T(i=>n.next(i)),C(()=>n.complete()),f(i=>$({ref:e},i)))})}function da(e){let t=[];for(let n of B(".c, .c1, .cm",e)){let r,o=n.firstChild;for(;r=/\((\d+)\)/.exec(o.textContent);){let i=o.splitText(r.index);o=i.splitText(r[0].length),t.push(i)}}return t}function Ao(e,t){t.append(...Array.from(e.childNodes))}function Co(e,t,{print$:n}){let r=new Map;for(let o of da(t)){let[,i]=o.textContent.match(/\((\d+)\)/);r.set(+i,wo(+i)),o.replaceWith(r.get(+i))}return r.size===0?z:F(()=>{let o=new w;return n.pipe(ue(o.pipe(se(1)))).subscribe(i=>{e.hidden=!i;for(let[a,s]of r){let c=K(".md-typeset",s),u=K(`li:nth-child(${a})`,e);i?Ao(c,u):Ao(u,c)}}),A(...[...r].map(([,i])=>Lo(i,t))).pipe(C(()=>o.complete()),ce())})}var ha=0;function Ho(e){if(e.nextElementSibling){let t=e.nextElementSibling;if(t.tagName==="OL")return t;if(t.tagName==="P"&&!t.children.length)return Ho(t)}}function Ro(e){return he(e).pipe(f(({width:t})=>({scrollable:Zt(e).width>t})),Y("scrollable"))}function Io(e,t){let{matches:n}=matchMedia("(hover)");return F(()=>{let r=new w;if(r.subscribe(({scrollable:i})=>{i&&n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}),ko.default.isSupported()){let i=e.closest("pre");i.id=`__code_${++ha}`,i.insertBefore(Eo(i.id),e)}let o=e.closest([":not(td):not(.code) > .highlight",".highlighttable"].join(", "));if(o instanceof HTMLElement){let i=Ho(o);if(typeof i!="undefined"&&(o.classList.contains("annotate")||ae("content.code.annotate"))){let a=Co(i,e,t);return Ro(e).pipe(T(s=>r.next(s)),C(()=>r.complete()),f(s=>$({ref:e},s)),Ke(he(o).pipe(ue(r.pipe(se(1))),f(({width:s,height:c})=>s&&c),q(),O(s=>s?a:z))))}}return Ro(e).pipe(T(i=>r.next(i)),C(()=>r.complete()),f(i=>$({ref:e},i)))})}function ba(e,{target$:t,print$:n}){let r=!0;return A(t.pipe(f(o=>o.closest("details:not([open])")),M(o=>e===o),re({action:"open",reveal:!0})),n.pipe(M(o=>o||!r),T(()=>r=e.open),f(o=>({action:o?"open":"close"}))))}function $o(e,t){return F(()=>{let n=new w;return n.subscribe(({action:r,reveal:o})=>{r==="open"?e.setAttribute("open",""):e.removeAttribute("open"),o&&e.scrollIntoView()}),ba(e,t).pipe(T(r=>n.next(r)),C(()=>n.complete()),f(r=>$({ref:e},r)))})}var Po=H("table");function Fo(e){return e.replaceWith(Po),Po.replaceWith(_o(e)),k({ref:e})}function va(e){let t=B(":scope > input",e);return A(...t.map(n=>S(n,"change").pipe(re({active:K(`label[for=${n.id}]`)})))).pipe(V({active:K(`label[for=${t[0].id}]`)}))}function jo(e){let t=K(".tabbed-labels",e);return F(()=>{let n=new w;return Q([n,he(e)]).pipe(He(1,Se),ue(n.pipe(se(1)))).subscribe({next([{active:r}]){let o=je(r),{width:i}=_e(r);e.style.setProperty("--md-indicator-x",`${o.x}px`),e.style.setProperty("--md-indicator-width",`${i}px`),t.scrollTo({behavior:"smooth",left:o.x})},complete(){e.style.removeProperty("--md-indicator-x"),e.style.removeProperty("--md-indicator-width")}}),va(e).pipe(T(r=>n.next(r)),C(()=>n.complete()),f(r=>$({ref:e},r)))})}function Wo(e,{target$:t,print$:n}){return A(...B("pre > code",e).map(r=>Io(r,{print$:n})),...B("table:not([class])",e).map(r=>Fo(r)),...B("details",e).map(r=>$o(r,{target$:t,print$:n})),...B("[data-tabs]",e).map(r=>jo(r)))}function ga(e,{alert$:t}){return t.pipe(O(n=>A(k(!0),k(!1).pipe(Re(2e3))).pipe(f(r=>({message:n,active:r})))))}function Uo(e,t){let n=K(".md-typeset",e);return F(()=>{let r=new w;return r.subscribe(({message:o,active:i})=>{n.textContent=o,i?e.setAttribute("data-md-state","open"):e.removeAttribute("data-md-state")}),ga(e,t).pipe(T(o=>r.next(o)),C(()=>r.complete()),f(o=>$({ref:e},o)))})}function xa({viewport$:e}){if(!ae("header.autohide"))return k(!1);let t=e.pipe(f(({offset:{y:o}})=>o),we(2,1),f(([o,i])=>[o<i,i]),Y(0)),n=Q([e,t]).pipe(M(([{offset:o},[,i]])=>Math.abs(i-o.y)>100),f(([,[o]])=>o),q()),r=tr("search");return Q([e,r]).pipe(f(([{offset:o},i])=>o.y>400&&!i),q(),O(o=>o?n:k(!1)),V(!1))}function Vo(e,t){return F(()=>{let n=getComputedStyle(e);return k(n.position==="sticky"||n.position==="-webkit-sticky")}).pipe(at(he(e),xa(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),G(1))}function Do(e,{header$:t,main$:n}){return F(()=>{let r=new w;return r.pipe(Y("active"),at(t)).subscribe(([{active:o},{hidden:i}])=>{o?e.setAttribute("data-md-state",i?"hidden":"shadow"):e.removeAttribute("data-md-state")}),n.subscribe(r),t.pipe(ue(r.pipe(se(1))),f(o=>$({ref:e},o)))})}function ya(e,{viewport$:t,header$:n}){return or(e,{viewport$:t,header$:n}).pipe(f(({offset:{y:r}})=>{let{height:o}=_e(e);return{active:r>=o}}),Y("active"))}function No(e,t){return F(()=>{let n=new w;n.subscribe(({active:o})=>{o?e.setAttribute("data-md-state","active"):e.removeAttribute("data-md-state")});let r=le("article h1");return typeof r=="undefined"?z:ya(r,t).pipe(T(o=>n.next(o)),C(()=>n.complete()),f(o=>$({ref:e},o)))})}function zo(e,{viewport$:t,header$:n}){let r=n.pipe(f(({height:i})=>i),q()),o=r.pipe(O(()=>he(e).pipe(f(({height:i})=>({top:e.offsetTop,bottom:e.offsetTop+i})),Y("bottom"))));return Q([r,o,t]).pipe(f(([i,{top:a,bottom:s},{offset:{y:c},size:{height:u}}])=>(u=Math.max(0,u-Math.max(0,a-c,i)-Math.max(0,u+c-s)),{offset:a-i,height:u,active:a-i<=c})),q((i,a)=>i.offset===a.offset&&i.height===a.height&&i.active===a.active))}function Sa(e){let t=__md_get("__palette")||{index:e.findIndex(n=>matchMedia(n.getAttribute("data-md-color-media")).matches)};return k(...e).pipe(ie(n=>S(n,"change").pipe(re(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))}function Qo(e){return F(()=>{let t=new w;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;o<n.length;o++){let i=n[o].nextElementSibling;i instanceof HTMLElement&&(i.hidden=r.index!==o)}__md_set("__palette",r)});let n=B("input",e);return Sa(n).pipe(T(r=>t.next(r)),C(()=>t.complete()),f(r=>$({ref:e},r)))})}var Fr=Be($r());function wa(e){e.setAttribute("data-md-copying","");let t=e.innerText;return e.removeAttribute("data-md-copying"),t}function qo({alert$:e}){Fr.default.isSupported()&&new P(t=>{new Fr.default("[data-clipboard-target], [data-clipboard-text]",{text:n=>n.getAttribute("data-clipboard-text")||wa(K(n.getAttribute("data-clipboard-target")))}).on("success",n=>t.next(n))}).pipe(T(t=>{t.trigger.focus()}),re(X("clipboard.copied"))).subscribe(e)}function Ea(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 Ko({document$:e,location$:t,viewport$:n}){let r=be();if(location.protocol==="file:")return;"scrollRestoration"in history&&(history.scrollRestoration="manual",S(window,"beforeunload").subscribe(()=>{history.scrollRestoration="auto"}));let o=le("link[rel=icon]");typeof o!="undefined"&&(o.href=o.href);let i=ho(new URL("sitemap.xml",r.base)).pipe(f(u=>Ea(B("loc",u).map(p=>p.textContent))),O(u=>S(document.body,"click").pipe(M(p=>!p.metaKey&&!p.ctrlKey),O(p=>{if(p.target instanceof Element){let m=p.target.closest("a");if(m&&!m.target){let l=new URL(m.href);if(l.search="",l.hash="",l.pathname!==location.pathname&&u.includes(l.toString()))return p.preventDefault(),k({url:new URL(m.href)})}}return ge}))),ce()),a=S(window,"popstate").pipe(M(u=>u.state!==null),f(u=>({url:new URL(location.href),offset:u.state})),ce());A(i,a).pipe(q((u,p)=>u.url.href===p.url.href),f(({url:u})=>u)).subscribe(t);let s=t.pipe(Y("pathname"),O(u=>nr(u.href).pipe(Pe(()=>(ao(u),ge)))),ce());i.pipe(st(s)).subscribe(({url:u})=>{history.pushState({},"",`${u}`)});let c=new DOMParser;s.pipe(O(u=>u.text()),f(u=>c.parseFromString(u,"text/html"))).subscribe(e),e.pipe(Jt(1)).subscribe(u=>{for(let p 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]",...ae("navigation.tabs.sticky")?["[data-md-component=tabs]"]:[]]){let m=le(p),l=le(p,u);typeof m!="undefined"&&typeof l!="undefined"&&m.replaceWith(l)}}),e.pipe(Jt(1),f(()=>Ae("container")),O(u=>k(...B("script",u))),wr(u=>{let p=H("script");if(u.src){for(let m of u.getAttributeNames())p.setAttribute(m,u.getAttribute(m));return u.replaceWith(p),new P(m=>{p.onload=()=>m.complete()})}else return p.textContent=u.textContent,u.replaceWith(p),z})).subscribe(),A(i,a).pipe(st(e)).subscribe(({url:u,offset:p})=>{u.hash&&!p?fo(u.hash):window.scrollTo(0,(p==null?void 0:p.y)||0)}),n.pipe(xt(i),Qe(250),Y("offset")).subscribe(({offset:u})=>{history.replaceState(u,"")}),A(i,a).pipe(we(2,1),M(([u,p])=>u.url.pathname===p.url.pathname),f(([,u])=>u)).subscribe(({offset:u})=>{window.scrollTo(0,(u==null?void 0:u.y)||0)})}var _a=Be(jr());var Bo=Be(jr());function Wr(e,t){let n=new RegExp(e.separator,"img"),r=(o,i,a)=>`${i}<mark data-md-highlight>${a}</mark>`;return o=>{o=o.replace(/[\s*+\-:~^]+/g," ").trim();let i=new RegExp(`(^|${e.separator})(${o.replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&").replace(n,"|")})`,"img");return a=>(t?(0,Bo.default)(a):a).replace(i,r).replace(/<\/mark>(\s+)<mark[^>]*>/img,"$1")}}function Jo(e){return e.split(/"([^"]+)"/g).map((t,n)=>n&1?t.replace(/^\b|^(?![^\x00-\x7F]|$)|\s+/g," +"):t).join("").replace(/"|(?:^|\s+)[*+\-:^~]+(?=\s+|$)/g,"").trim()}function ut(e){return e.type===1}function Go(e){return e.type===2}function pt(e){return e.type===3}function La({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 r={pipeline:X("search.config.pipeline").split(/\s*,\s*/).filter(Boolean),suggestions:ae("search.suggest")};return{config:e,docs:t,options:r}}function Xo(e,t){let n=be(),r=new Worker(e),o=new w,i=So(r,{tx$:o}).pipe(f(a=>{if(pt(a))for(let s of a.data.items)for(let c of s)c.location=`${new URL(c.location,n.base)}`;return a}),ce());return te(t).pipe(f(a=>({type:0,data:La(a)}))).subscribe(o.next.bind(o)),{tx$:o,rx$:i}}function Zo(){let e=be(),t=Le(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]}));Q([t,n]).subscribe(([r,o])=>{var a;if(K(".md-header__topic").appendChild(Mo(r,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 u of ne("outdated"))u.hidden=!1}})}function Aa(e,{rx$:t}){let n=(__search==null?void 0:__search.transform)||Jo,{searchParams:r}=Me();r.has("q")&&We("search",!0);let o=t.pipe(M(ut),fe(1),f(()=>r.get("q")||""));o.subscribe(s=>{s&&(e.value=s)});let i=Gt(e),a=A(S(e,"keyup"),S(e,"focus").pipe(Re(1)),o).pipe(f(()=>n(e.value)),V(""),q());return Q([a,i]).pipe(f(([s,c])=>({value:s,focus:c})),G(1))}function ei(e,{tx$:t,rx$:n}){let r=new w;return r.pipe(Y("value"),f(({value:o})=>({type:2,data:o}))).subscribe(t.next.bind(t)),r.pipe(Y("focus")).subscribe(({focus:o})=>{o?(We("search",o),e.placeholder=""):e.placeholder=X("search.placeholder")}),S(e.form,"reset").pipe(ue(r.pipe(se(1)))).subscribe(()=>e.focus()),Aa(e,{tx$:t,rx$:n}).pipe(T(o=>r.next(o)),C(()=>r.complete()),f(o=>$({ref:e},o)))}function ti(e,{rx$:t},{query$:n}){let r=new w,o=no(e.parentElement).pipe(M(Boolean)),i=K(":scope > :first-child",e),a=K(":scope > :last-child",e),s=t.pipe(M(ut),fe(1));return r.pipe(Ee(n),xt(s)).subscribe(([{items:u},{value:p}])=>{if(p)switch(u.length){case 0:i.textContent=X("search.result.none");break;case 1:i.textContent=X("search.result.one");break;default:i.textContent=X("search.result.other",rr(u.length))}else i.textContent=X("search.result.placeholder")}),r.pipe(T(()=>a.innerHTML=""),O(({items:u})=>A(k(...u.slice(0,10)),k(...u.slice(10)).pipe(we(4),kr(o),O(([p])=>k(...p)))))).subscribe(u=>a.appendChild(To(u))),t.pipe(M(pt),f(({data:u})=>u)).pipe(T(u=>r.next(u)),C(()=>r.complete()),f(u=>$({ref:e},u)))}function Ca(e,{query$:t}){return t.pipe(f(({value:n})=>{let r=Me();return r.hash="",r.searchParams.delete("h"),r.searchParams.set("q",n),{url:r}}))}function ri(e,t){let n=new w;return n.subscribe(({url:r})=>{e.setAttribute("data-clipboard-text",e.href),e.href=`${r}`}),S(e,"click").subscribe(r=>r.preventDefault()),Ca(e,t).pipe(T(r=>n.next(r)),C(()=>n.complete()),f(r=>$({ref:e},r)))}function ni(e,{rx$:t},{keyboard$:n}){let r=new w,o=Ae("search-query"),i=A(S(o,"keydown"),S(o,"focus")).pipe(Ne(Oe),f(()=>o.value),q());return r.pipe(at(i),f(([{suggestions:s},c])=>{let u=c.split(/([\s-]+)/);if((s==null?void 0:s.length)&&u[u.length-1]){let p=s[s.length-1];p.startsWith(u[u.length-1])&&(u[u.length-1]=p)}else u.length=0;return u})).subscribe(s=>e.innerHTML=s.join("").replace(/\s/g,"&nbsp;")),n.pipe(M(({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(M(pt),f(({data:s})=>s)).pipe(T(s=>r.next(s)),C(()=>r.complete()),f(()=>({ref:e})))}function oi(e,{index$:t,keyboard$:n}){let r=be();try{let o=(__search==null?void 0:__search.worker)||r.search,i=Xo(o,t),a=Ae("search-query",e),s=Ae("search-result",e),{tx$:c,rx$:u}=i;c.pipe(M(Go),st(u.pipe(M(ut))),fe(1)).subscribe(c.next.bind(c)),n.pipe(M(({mode:l})=>l==="search")).subscribe(l=>{let h=Fe();switch(l.type){case"Enter":if(h===a){let d=new Map;for(let v of B(":first-child [href]",s)){let N=v.firstElementChild;d.set(v,parseFloat(N.getAttribute("data-md-score")))}if(d.size){let[[v]]=[...d].sort(([,N],[,J])=>J-N);v.click()}l.claim()}break;case"Escape":case"Tab":We("search",!1),a.blur();break;case"ArrowUp":case"ArrowDown":if(typeof h=="undefined")a.focus();else{let d=[a,...B(":not(details) > [href], summary, details[open] [href]",s)],v=Math.max(0,(Math.max(0,d.indexOf(h))+d.length+(l.type==="ArrowUp"?-1:1))%d.length);d[v].focus()}l.claim();break;default:a!==Fe()&&a.focus()}}),n.pipe(M(({mode:l})=>l==="global")).subscribe(l=>{switch(l.type){case"f":case"s":case"/":a.focus(),a.select(),l.claim();break}});let p=ei(a,i),m=ti(s,i,{query$:p});return A(p,m).pipe(Ke(...ne("search-share",e).map(l=>ri(l,{query$:p})),...ne("search-suggest",e).map(l=>ni(l,i,{keyboard$:n}))))}catch(o){return e.hidden=!0,ge}}function ii(e,{index$:t,location$:n}){return Q([t,n.pipe(V(Me()),M(r=>!!r.searchParams.get("h")))]).pipe(f(([r,o])=>Wr(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 c=s.textContent,u=r(c);u.length>c.length&&o.set(s,u)}for(let[s,c]of o){let{childNodes:u}=H("span",null,c);s.replaceWith(...Array.from(u))}return{ref:e,nodes:o}}))}function ka(e,{viewport$:t,main$:n}){let r=e.parentElement,o=r.offsetTop-r.parentElement.offsetTop;return Q([n,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})),q((i,a)=>i.height===a.height&&i.locked===a.locked))}function Ur(e,r){var o=r,{header$:t}=o,n=qr(o,["header$"]);let i=K(".md-sidebar__scrollwrap",e),{y:a}=je(i);return F(()=>{let s=new w;return s.pipe(He(0,Se),Ee(t)).subscribe({next([{height:c},{height:u}]){i.style.height=`${c-2*a}px`,e.style.top=`${u}px`},complete(){i.style.height="",e.style.top=""}}),ka(e,n).pipe(T(c=>s.next(c)),C(()=>s.complete()),f(c=>$({ref:e},c)))})}function ai(e,t){if(typeof t!="undefined"){let n=`https://api.github.com/repos/${e}/${t}`;return gt(Le(`${n}/releases/latest`).pipe(f(r=>({version:r.tag_name})),qe({})),Le(n).pipe(f(r=>({stars:r.stargazers_count,forks:r.forks_count})),qe({}))).pipe(f(([r,o])=>$($({},r),o)))}else{let n=`https://api.github.com/users/${e}`;return Le(n).pipe(f(r=>({repositories:r.public_repos})),qe({}))}}function si(e,t){let n=`https://${e}/api/v4/projects/${encodeURIComponent(t)}`;return Le(n).pipe(f(({star_count:r,forks_count:o})=>({stars:r,forks:o})),qe({}))}function ci(e){let[t]=e.match(/(git(?:hub|lab))/i)||[];switch(t.toLowerCase()){case"github":let[,n,r]=e.match(/^.+github\.com\/([^/]+)\/?([^/]+)?/i);return ai(n,r);case"gitlab":let[,o,i]=e.match(/^.+?([^/]*gitlab[^/]+)\/(.+?)\/?$/i);return si(o,i);default:return z}}var Ha;function Ra(e){return Ha||(Ha=F(()=>{let t=__md_get("__source",sessionStorage);return t?k(t):ci(e.href).pipe(T(n=>__md_set("__source",n,sessionStorage)))}).pipe(Pe(()=>z),M(t=>Object.keys(t).length>0),f(t=>({facts:t})),G(1)))}function ui(e){let t=K(":scope > :last-child",e);return F(()=>{let n=new w;return n.subscribe(({facts:r})=>{t.appendChild(Oo(r)),t.setAttribute("data-md-state","done")}),Ra(e).pipe(T(r=>n.next(r)),C(()=>n.complete()),f(r=>$({ref:e},r)))})}function Ia(e,{viewport$:t,header$:n}){return he(document.body).pipe(O(()=>or(e,{header$:n,viewport$:t})),f(({offset:{y:r}})=>({hidden:r>=10})),Y("hidden"))}function pi(e,t){return F(()=>{let n=new w;return n.subscribe({next({hidden:r}){r?e.setAttribute("data-md-state","hidden"):e.removeAttribute("data-md-state")},complete(){e.removeAttribute("data-md-state")}}),(ae("navigation.tabs.sticky")?k({hidden:!1}):Ia(e,t)).pipe(T(r=>n.next(r)),C(()=>n.complete()),f(r=>$({ref:e},r)))})}function $a(e,{viewport$:t,header$:n}){let r=new Map,o=B("[href^=\\#]",e);for(let s of o){let c=decodeURIComponent(s.hash.substring(1)),u=le(`[id="${c}"]`);typeof u!="undefined"&&r.set(s,u)}let i=n.pipe(f(s=>24+s.height));return he(document.body).pipe(Y("height"),O(s=>F(()=>{let c=[];return k([...r].reduce((u,[p,m])=>{for(;c.length&&r.get(c[c.length-1]).tagName>=m.tagName;)c.pop();let l=m.offsetTop;for(;!l&&m.parentElement;)m=m.parentElement,l=m.offsetTop;return u.set([...c=[...c,p]].reverse(),l)},new Map))}).pipe(f(c=>new Map([...c].sort(([,u],[,p])=>u-p))),O(c=>Q([t,i]).pipe(Or(([u,p],[{offset:{y:m},size:l},h])=>{let d=m+l.height>=Math.floor(s.height);for(;p.length;){let[,v]=p[0];if(v-h<m||d)u=[...u,p.shift()];else break}for(;u.length;){let[,v]=u[u.length-1];if(v-h>=m&&!d)p=[u.pop(),...p];else break}return[u,p]},[[],[...c]]),q((u,p)=>u[0]===p[0]&&u[1]===p[1])))))).pipe(f(([s,c])=>({prev:s.map(([u])=>u),next:c.map(([u])=>u)})),V({prev:[],next:[]}),we(2,1),f(([s,c])=>s.prev.length<c.prev.length?{prev:c.prev.slice(Math.max(0,s.prev.length-1),c.prev.length),next:[]}:{prev:c.prev.slice(-1),next:c.next.slice(0,c.next.length-s.next.length)}))}function fi(e,{viewport$:t,header$:n}){return F(()=>{let r=new w;return r.subscribe(({prev:o,next:i})=>{for(let[a]of i)a.removeAttribute("data-md-state"),a.classList.remove("md-nav__link--active");for(let[a,[s]]of o.entries())s.setAttribute("data-md-state","blur"),s.classList.toggle("md-nav__link--active",a===o.length-1)}),ae("navigation.tracking")&&t.pipe(ue(r.pipe(se(1))),Y("offset"),Qe(250),Ee(r)).subscribe(([,{prev:o}])=>{let i=Me(),a=o[o.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}`)}),$a(e,{viewport$:t,header$:n}).pipe(T(o=>r.next(o)),C(()=>r.complete()),f(o=>$({ref:e},o)))})}function Pa(e,{viewport$:t,main$:n}){let r=t.pipe(f(({offset:{y:i}})=>i),we(2,1),f(([i,a])=>i>a&&a),q()),o=n.pipe(Y("active"));return Q([o,r]).pipe(f(([{active:i},a])=>({hidden:!(i&&a)})),q((i,a)=>i.hidden===a.hidden))}function li(e,{viewport$:t,header$:n,main$:r}){let o=new w;return o.subscribe({next({hidden:i}){i?(e.setAttribute("data-md-state","hidden"),e.setAttribute("tabindex","-1"),e.blur()):(e.removeAttribute("data-md-state"),e.removeAttribute("tabindex"))},complete(){e.style.top="",e.setAttribute("data-md-state","hidden"),e.removeAttribute("tabindex")}}),n.pipe(ue(o.pipe(Tr(0),se(1))),Y("height")).subscribe(({height:i})=>{e.style.top=`${i+16}px`}),Pa(e,{viewport$:t,header$:n,main$:r}).pipe(T(i=>o.next(i)),C(()=>o.complete()),f(i=>$({ref:e},i)))}function mi({document$:e,tablet$:t}){e.pipe(O(()=>k(...B("[data-md-state=indeterminate]"))),T(n=>{n.indeterminate=!0,n.checked=!1}),ie(n=>S(n,"change").pipe(Lr(()=>n.hasAttribute("data-md-state")),re(n))),Ee(t)).subscribe(([n,r])=>{n.removeAttribute("data-md-state"),r&&(n.checked=!1)})}function Fa(){return/(iPad|iPhone|iPod)/.test(navigator.userAgent)}function di({document$:e}){e.pipe(O(()=>k(...B("[data-md-scrollfix]"))),T(t=>t.removeAttribute("data-md-scrollfix")),M(Fa),ie(t=>S(t,"touchstart").pipe(re(t)))).subscribe(t=>{let n=t.scrollTop;n===0?t.scrollTop=1:n+t.offsetHeight===t.scrollHeight&&(t.scrollTop=n-1)})}function hi({viewport$:e,tablet$:t}){Q([tr("search"),t]).pipe(f(([n,r])=>n&&!r),O(n=>k(n).pipe(Re(n?400:100))),Ee(e)).subscribe(([n,{offset:{y:r}}])=>{if(n)document.body.setAttribute("data-md-state","lock"),document.body.style.top=`-${r}px`;else{let o=-1*parseInt(document.body.style.top,10);document.body.removeAttribute("data-md-state"),document.body.style.top="",o&&window.scrollTo(0,o)}})}document.documentElement.classList.remove("no-js");document.documentElement.classList.add("js");var ft=Zn(),ir=so(),Vr=lo(),Dr=io(),xe=yo(),ar=Hr("(min-width: 960px)"),bi=Hr("(min-width: 1220px)"),vi=mo(),gi=be(),xi=document.forms.namedItem("search")?(__search==null?void 0:__search.index)||Le(new URL("search/search_index.json",gi.base)):ge,Nr=new w;qo({alert$:Nr});ae("navigation.instant")&&Ko({document$:ft,location$:ir,viewport$:xe});var Si;((Si=gi.version)==null?void 0:Si.provider)==="mike"&&Zo();A(ir,Vr).pipe(Re(125)).subscribe(()=>{We("drawer",!1),We("search",!1)});Dr.pipe(M(({mode:e})=>e==="global")).subscribe(e=>{switch(e.type){case"p":case",":let t=le("[href][rel=prev]");typeof t!="undefined"&&t.click();break;case"n":case".":let n=le("[href][rel=next]");typeof n!="undefined"&&n.click();break}});mi({document$:ft,tablet$:ar});di({document$:ft});hi({viewport$:xe,tablet$:ar});var Ue=Vo(Ae("header"),{viewport$:xe}),sr=ft.pipe(f(()=>Ae("main")),O(e=>zo(e,{viewport$:xe,header$:Ue})),G(1)),ja=A(...ne("dialog").map(e=>Uo(e,{alert$:Nr})),...ne("header").map(e=>Do(e,{viewport$:xe,header$:Ue,main$:sr})),...ne("palette").map(e=>Qo(e)),...ne("search").map(e=>oi(e,{index$:xi,keyboard$:Dr})),...ne("source").map(e=>ui(e))),Wa=F(()=>A(...ne("content").map(e=>Wo(e,{target$:Vr,print$:vi})),...ne("content").map(e=>ae("search.highlight")?ii(e,{index$:xi,location$:ir}):z),...ne("header-title").map(e=>No(e,{viewport$:xe,header$:Ue})),...ne("sidebar").map(e=>e.getAttribute("data-md-type")==="navigation"?Rr(bi,()=>Ur(e,{viewport$:xe,header$:Ue,main$:sr})):Rr(ar,()=>Ur(e,{viewport$:xe,header$:Ue,main$:sr}))),...ne("tabs").map(e=>pi(e,{viewport$:xe,header$:Ue})),...ne("toc").map(e=>fi(e,{viewport$:xe,header$:Ue})),...ne("top").map(e=>li(e,{viewport$:xe,header$:Ue,main$:sr})))),yi=ft.pipe(O(()=>Wa),Ke(ja),G(1));yi.subscribe();window.document$=ft;window.location$=ir;window.target$=Vr;window.keyboard$=Dr;window.viewport$=xe;window.tablet$=ar;window.screen$=bi;window.print$=vi;window.alert$=Nr;window.component$=yi;})();
//# sourceMappingURL=bundle.289a2a4b.min.js.map