UNPKG

scaffoldly

Version:

Toolchain and libraries for Scaffoldly

4 lines 4.91 MB
#!/usr/bin/env node "use strict";var m8=Object.create;var el=Object.defineProperty;var h8=Object.getOwnPropertyDescriptor;var g8=Object.getOwnPropertyNames;var v8=Object.getPrototypeOf,x8=Object.prototype.hasOwnProperty;var c=(e,t)=>()=>(e&&(t=e(e=0)),t);var h=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bt=(e,t)=>{for(var r in t)el(e,r,{get:t[r],enumerable:!0})},sE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of g8(t))!x8.call(e,o)&&o!==r&&el(e,o,{get:()=>t[o],enumerable:!(n=h8(t,o))||n.enumerable});return e};var X=(e,t,r)=>(r=e!=null?m8(v8(e)):{},sE(t||!e||!e.__esModule?el(r,"default",{value:e,enumerable:!0}):r,e)),y8=e=>sE(el({},"__esModule",{value:!0}),e);var ee=h(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.isFunction=void 0;function b8(e){return typeof e=="function"}nl.isFunction=b8});var xn=h(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.createErrorClass=void 0;function _8(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}ol.createErrorClass=_8});var pg=h(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.UnsubscriptionError=void 0;var w8=xn();il.UnsubscriptionError=w8.createErrorClass(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription: `+r.map(function(n,o){return o+1+") "+n.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=r}})});var Nr=h(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.arrRemove=void 0;function S8(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}sl.arrRemove=S8});var ut=h(Xe=>{"use strict";var cE=Xe&&Xe.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},uE=Xe&&Xe.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},lE=Xe&&Xe.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(Xe,"__esModule",{value:!0});Xe.isSubscription=Xe.EMPTY_SUBSCRIPTION=Xe.Subscription=void 0;var Ia=ee(),dg=pg(),pE=Nr(),fg=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,o,i;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=cE(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(x){t={error:x}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var p=this.initialTeardown;if(Ia.isFunction(p))try{p()}catch(x){i=x instanceof dg.UnsubscriptionError?x.errors:[x]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var m=cE(d),v=m.next();!v.done;v=m.next()){var g=v.value;try{dE(g)}catch(x){i=i??[],x instanceof dg.UnsubscriptionError?i=lE(lE([],uE(i)),uE(x.errors)):i.push(x)}}}catch(x){n={error:x}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(n)throw n.error}}}if(i)throw new dg.UnsubscriptionError(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dE(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&pE.arrRemove(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&pE.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();Xe.Subscription=fg;Xe.EMPTY_SUBSCRIPTION=fg.EMPTY;function E8(e){return e instanceof fg||e&&"closed"in e&&Ia.isFunction(e.remove)&&Ia.isFunction(e.add)&&Ia.isFunction(e.unsubscribe)}Xe.isSubscription=E8;function dE(e){Ia.isFunction(e)?e():e.unsubscribe()}});var ji=h(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.config=void 0;al.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var mg=h(cr=>{"use strict";var fE=cr&&cr.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},mE=cr&&cr.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(cr,"__esModule",{value:!0});cr.timeoutProvider=void 0;cr.timeoutProvider={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=cr.timeoutProvider.delegate;return o?.setTimeout?o.setTimeout.apply(o,mE([e,t],fE(r))):setTimeout.apply(void 0,mE([e,t],fE(r)))},clearTimeout:function(e){var t=cr.timeoutProvider.delegate;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0}});var hg=h(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.reportUnhandledError=void 0;var A8=ji(),R8=mg();function C8(e){R8.timeoutProvider.setTimeout(function(){var t=A8.config.onUnhandledError;if(t)t(e);else throw e})}cl.reportUnhandledError=C8});var Pe=h(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.noop=void 0;function T8(){}ul.noop=T8});var hE=h(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.createNotification=ur.nextNotification=ur.errorNotification=ur.COMPLETE_NOTIFICATION=void 0;ur.COMPLETE_NOTIFICATION=function(){return ll("C",void 0,void 0)}();function O8(e){return ll("E",void 0,e)}ur.errorNotification=O8;function P8(e){return ll("N",e,void 0)}ur.nextNotification=P8;function ll(e,t,r){return{kind:e,value:t,error:r}}ur.createNotification=ll});var pl=h(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.captureError=Fi.errorContext=void 0;var gE=ji(),Ho=null;function I8(e){if(gE.config.useDeprecatedSynchronousErrorHandling){var t=!Ho;if(t&&(Ho={errorThrown:!1,error:null}),e(),t){var r=Ho,n=r.errorThrown,o=r.error;if(Ho=null,n)throw o}}else e()}Fi.errorContext=I8;function k8(e){gE.config.useDeprecatedSynchronousErrorHandling&&Ho&&(Ho.errorThrown=!0,Ho.error=e)}Fi.captureError=k8});var Mi=h(Vt=>{"use strict";var yE=Vt&&Vt.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Vt,"__esModule",{value:!0});Vt.EMPTY_OBSERVER=Vt.SafeSubscriber=Vt.Subscriber=void 0;var N8=ee(),vE=ut(),yg=ji(),q8=hg(),xE=Pe(),gg=hE(),j8=mg(),F8=pl(),bE=function(e){yE(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,vE.isSubscription(r)&&r.add(n)):n.destination=Vt.EMPTY_OBSERVER,n}return t.create=function(r,n,o){return new _E(r,n,o)},t.prototype.next=function(r){this.isStopped?xg(gg.nextNotification(r),this):this._next(r)},t.prototype.error=function(r){this.isStopped?xg(gg.errorNotification(r),this):(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped?xg(gg.COMPLETE_NOTIFICATION,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(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(vE.Subscription);Vt.Subscriber=bE;var M8=Function.prototype.bind;function vg(e,t){return M8.call(e,t)}var D8=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){dl(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){dl(n)}else dl(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){dl(r)}},e}(),_E=function(e){yE(t,e);function t(r,n,o){var i=e.call(this)||this,s;if(N8.isFunction(r)||!r)s={next:r??void 0,error:n??void 0,complete:o??void 0};else{var a;i&&yg.config.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return i.unsubscribe()},s={next:r.next&&vg(r.next,a),error:r.error&&vg(r.error,a),complete:r.complete&&vg(r.complete,a)}):s=r}return i.destination=new D8(s),i}return t}(bE);Vt.SafeSubscriber=_E;function dl(e){yg.config.useDeprecatedSynchronousErrorHandling?F8.captureError(e):q8.reportUnhandledError(e)}function L8(e){throw e}function xg(e,t){var r=yg.config.onStoppedNotification;r&&j8.timeoutProvider.setTimeout(function(){return r(e,t)})}Vt.EMPTY_OBSERVER={closed:!0,next:xE.noop,error:L8,complete:xE.noop}});var ka=h(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.observable=void 0;fl.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var Ie=h(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.identity=void 0;function U8(e){return e}ml.identity=U8});var Na=h(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.pipeFromArray=Di.pipe=void 0;var $8=Ie();function B8(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wE(e)}Di.pipe=B8;function wE(e){return e.length===0?$8.identity:e.length===1?e[0]:function(r){return e.reduce(function(n,o){return o(n)},r)}}Di.pipeFromArray=wE});var te=h(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.Observable=void 0;var _g=Mi(),z8=ut(),H8=ka(),W8=Na(),V8=ji(),bg=ee(),G8=pl(),K8=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var o=this,i=J8(t)?t:new _g.SafeSubscriber(t,r,n);return G8.errorContext(function(){var s=o,a=s.operator,u=s.source;i.add(a?a.call(i,u):u?o._subscribe(i):o._trySubscribe(i))}),i},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=SE(r),new r(function(o,i){var s=new _g.SafeSubscriber({next:function(a){try{t(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[H8.observable]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return W8.pipeFromArray(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=SE(t),new t(function(n,o){var i;r.subscribe(function(s){return i=s},function(s){return o(s)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();hl.Observable=K8;function SE(e){var t;return(t=e??V8.config.Promise)!==null&&t!==void 0?t:Promise}function Y8(e){return e&&bg.isFunction(e.next)&&bg.isFunction(e.error)&&bg.isFunction(e.complete)}function J8(e){return e&&e instanceof _g.Subscriber||Y8(e)&&z8.isSubscription(e)}});var R=h(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.operate=Li.hasLift=void 0;var X8=ee();function EE(e){return X8.isFunction(e?.lift)}Li.hasLift=EE;function Q8(e){return function(t){if(EE(t))return t.lift(function(r){try{return e(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}Li.operate=Q8});var C=h(yn=>{"use strict";var Z8=yn&&yn.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(yn,"__esModule",{value:!0});yn.OperatorSubscriber=yn.createOperatorSubscriber=void 0;var e5=Mi();function t5(e,t,r,n,o){return new AE(e,t,r,n,o)}yn.createOperatorSubscriber=t5;var AE=function(e){Z8(t,e);function t(r,n,o,i,s,a){var u=e.call(this,r)||this;return u.onFinalize=s,u.shouldUnsubscribe=a,u._next=n?function(l){try{n(l)}catch(p){r.error(p)}}:e.prototype._next,u._error=i?function(l){try{i(l)}catch(p){r.error(p)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=o?function(){try{o()}catch(l){r.error(l)}finally{this.unsubscribe()}}:e.prototype._complete,u}return t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},t}(e5.Subscriber);yn.OperatorSubscriber=AE});var wg=h(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.refCount=void 0;var r5=R(),n5=C();function o5(){return r5.operate(function(e,t){var r=null;e._refCount++;var n=n5.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!e||e._refCount<=0||0<--e._refCount){r=null;return}var o=e._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(n),n.closed||(r=e.connect())})}gl.refCount=o5});var qa=h(Ui=>{"use strict";var i5=Ui&&Ui.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ui,"__esModule",{value:!0});Ui.ConnectableObservable=void 0;var s5=te(),RE=ut(),a5=wg(),c5=C(),u5=R(),l5=function(e){i5(t,e);function t(r,n){var o=e.call(this)||this;return o.source=r,o.subjectFactory=n,o._subject=null,o._refCount=0,o._connection=null,u5.hasLift(r)&&(o.lift=r.lift),o}return t.prototype._subscribe=function(r){return this.getSubject().subscribe(r)},t.prototype.getSubject=function(){var r=this._subject;return(!r||r.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var r=this._connection;this._subject=this._connection=null,r?.unsubscribe()},t.prototype.connect=function(){var r=this,n=this._connection;if(!n){n=this._connection=new RE.Subscription;var o=this.getSubject();n.add(this.source.subscribe(c5.createOperatorSubscriber(o,void 0,function(){r._teardown(),o.complete()},function(i){r._teardown(),o.error(i)},function(){return r._teardown()}))),n.closed&&(this._connection=null,n=RE.Subscription.EMPTY)}return n},t.prototype.refCount=function(){return a5.refCount()(this)},t}(s5.Observable);Ui.ConnectableObservable=l5});var CE=h(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.performanceTimestampProvider=void 0;ja.performanceTimestampProvider={now:function(){return(ja.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var Sg=h(Gt=>{"use strict";var TE=Gt&&Gt.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},OE=Gt&&Gt.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(Gt,"__esModule",{value:!0});Gt.animationFrameProvider=void 0;var p5=ut();Gt.animationFrameProvider={schedule:function(e){var t=requestAnimationFrame,r=cancelAnimationFrame,n=Gt.animationFrameProvider.delegate;n&&(t=n.requestAnimationFrame,r=n.cancelAnimationFrame);var o=t(function(i){r=void 0,e(i)});return new p5.Subscription(function(){return r?.(o)})},requestAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Gt.animationFrameProvider.delegate;return(r?.requestAnimationFrame||requestAnimationFrame).apply(void 0,OE([],TE(e)))},cancelAnimationFrame:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Gt.animationFrameProvider.delegate;return(r?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,OE([],TE(e)))},delegate:void 0}});var kE=h(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.animationFrames=void 0;var d5=te(),f5=CE(),PE=Sg();function m5(e){return e?IE(e):h5}vl.animationFrames=m5;function IE(e){return new d5.Observable(function(t){var r=e||f5.performanceTimestampProvider,n=r.now(),o=0,i=function(){t.closed||(o=PE.animationFrameProvider.requestAnimationFrame(function(s){o=0;var a=r.now();t.next({timestamp:e?a:s,elapsed:a-n}),i()}))};return i(),function(){o&&PE.animationFrameProvider.cancelAnimationFrame(o)}})}var h5=IE()});var Eg=h(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.ObjectUnsubscribedError=void 0;var g5=xn();xl.ObjectUnsubscribedError=g5.createErrorClass(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var ke=h(lr=>{"use strict";var qE=lr&&lr.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),v5=lr&&lr.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(lr,"__esModule",{value:!0});lr.AnonymousSubject=lr.Subject=void 0;var NE=te(),Rg=ut(),x5=Eg(),y5=Nr(),Ag=pl(),jE=function(e){qE(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Cg(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new x5.ObjectUnsubscribedError},t.prototype.next=function(r){var n=this;Ag.errorContext(function(){var o,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=v5(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){o={error:l}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(o)throw o.error}}}})},t.prototype.error=function(r){var n=this;Ag.errorContext(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var o=n.observers;o.length;)o.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ag.errorContext(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},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=this,i=o.hasError,s=o.isStopped,a=o.observers;return i||s?Rg.EMPTY_SUBSCRIPTION:(this.currentObservers=null,a.push(r),new Rg.Subscription(function(){n.currentObservers=null,y5.arrRemove(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n.thrownError,s=n.isStopped;o?r.error(i):s&&r.complete()},t.prototype.asObservable=function(){var r=new NE.Observable;return r.source=this,r},t.create=function(r,n){return new Cg(r,n)},t}(NE.Observable);lr.Subject=jE;var Cg=function(e){qE(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:Rg.EMPTY_SUBSCRIPTION},t}(jE);lr.AnonymousSubject=Cg});var Tg=h($i=>{"use strict";var b5=$i&&$i.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty($i,"__esModule",{value:!0});$i.BehaviorSubject=void 0;var _5=ke(),w5=function(e){b5(t,e);function t(r){var n=e.call(this)||this;return n._value=r,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(r){var n=e.prototype._subscribe.call(this,r);return!n.closed&&r.next(this._value),n},t.prototype.getValue=function(){var r=this,n=r.hasError,o=r.thrownError,i=r._value;if(n)throw o;return this._throwIfClosed(),i},t.prototype.next=function(r){e.prototype.next.call(this,this._value=r)},t}(_5.Subject);$i.BehaviorSubject=w5});var yl=h(Fa=>{"use strict";Object.defineProperty(Fa,"__esModule",{value:!0});Fa.dateTimestampProvider=void 0;Fa.dateTimestampProvider={now:function(){return(Fa.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var bl=h(Bi=>{"use strict";var S5=Bi&&Bi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Bi,"__esModule",{value:!0});Bi.ReplaySubject=void 0;var E5=ke(),A5=yl(),R5=function(e){S5(t,e);function t(r,n,o){r===void 0&&(r=1/0),n===void 0&&(n=1/0),o===void 0&&(o=A5.dateTimestampProvider);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,s=n._infiniteTimeWindow,a=n._timestampProvider,u=n._windowTime;o||(i.push(r),!s&&i.push(a.now()+u)),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,s=o._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=i?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,o=r._timestampProvider,i=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<i.length&&i.splice(0,i.length-a),!s){for(var u=o.now(),l=0,p=1;p<i.length&&i[p]<=u;p+=2)l=p;l&&i.splice(0,l+1)}},t}(E5.Subject);Bi.ReplaySubject=R5});var _l=h(zi=>{"use strict";var C5=zi&&zi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(zi,"__esModule",{value:!0});zi.AsyncSubject=void 0;var T5=ke(),O5=function(e){C5(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._value=null,r._hasValue=!1,r._isComplete=!1,r}return t.prototype._checkFinalizedStatuses=function(r){var n=this,o=n.hasError,i=n._hasValue,s=n._value,a=n.thrownError,u=n.isStopped,l=n._isComplete;o?r.error(a):(u||l)&&(i&&r.next(s),r.complete())},t.prototype.next=function(r){this.isStopped||(this._value=r,this._hasValue=!0)},t.prototype.complete=function(){var r=this,n=r._hasValue,o=r._value,i=r._isComplete;i||(this._isComplete=!0,n&&e.prototype.next.call(this,o),e.prototype.complete.call(this))},t}(T5.Subject);zi.AsyncSubject=O5});var FE=h(Hi=>{"use strict";var P5=Hi&&Hi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Hi,"__esModule",{value:!0});Hi.Action=void 0;var I5=ut(),k5=function(e){P5(t,e);function t(r,n){return e.call(this)||this}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),this},t}(I5.Subscription);Hi.Action=k5});var LE=h(pr=>{"use strict";var ME=pr&&pr.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},DE=pr&&pr.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(pr,"__esModule",{value:!0});pr.intervalProvider=void 0;pr.intervalProvider={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=pr.intervalProvider.delegate;return o?.setInterval?o.setInterval.apply(o,DE([e,t],ME(r))):setInterval.apply(void 0,DE([e,t],ME(r)))},clearInterval:function(e){var t=pr.intervalProvider.delegate;return(t?.clearInterval||clearInterval)(e)},delegate:void 0}});var Vi=h(Wi=>{"use strict";var N5=Wi&&Wi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Wi,"__esModule",{value:!0});Wi.AsyncAction=void 0;var q5=FE(),UE=LE(),j5=Nr(),F5=function(e){N5(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o.pending=!1,o}return t.prototype.schedule=function(r,n){var o;if(n===void 0&&(n=0),this.closed)return this;this.state=r;var i=this.id,s=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(s,i,n)),this.pending=!0,this.delay=n,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(s,this.id,n),this},t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),UE.intervalProvider.setInterval(r.flush.bind(r,this),o)},t.prototype.recycleAsyncId=function(r,n,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return n;n!=null&&UE.intervalProvider.clearInterval(n)},t.prototype.execute=function(r,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(r,n);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(r,n){var o=!1,i;try{this.work(r)}catch(s){o=!0,i=s||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),i},t.prototype.unsubscribe=function(){if(!this.closed){var r=this,n=r.id,o=r.scheduler,i=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,j5.arrRemove(i,this),n!=null&&(this.id=this.recycleAsyncId(o,n,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(q5.Action);Wi.AsyncAction=F5});var BE=h(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.TestTools=Gi.Immediate=void 0;var M5=1,Og,wl={};function $E(e){return e in wl?(delete wl[e],!0):!1}Gi.Immediate={setImmediate:function(e){var t=M5++;return wl[t]=!0,Og||(Og=Promise.resolve()),Og.then(function(){return $E(t)&&e()}),t},clearImmediate:function(e){$E(e)}};Gi.TestTools={pending:function(){return Object.keys(wl).length}}});var HE=h(dr=>{"use strict";var D5=dr&&dr.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],s;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(a){s={error:a}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},L5=dr&&dr.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Object.defineProperty(dr,"__esModule",{value:!0});dr.immediateProvider=void 0;var zE=BE(),U5=zE.Immediate.setImmediate,$5=zE.Immediate.clearImmediate;dr.immediateProvider={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=dr.immediateProvider.delegate;return(r?.setImmediate||U5).apply(void 0,L5([],D5(e)))},clearImmediate:function(e){var t=dr.immediateProvider.delegate;return(t?.clearImmediate||$5)(e)},delegate:void 0}});var VE=h(Ki=>{"use strict";var B5=Ki&&Ki.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ki,"__esModule",{value:!0});Ki.AsapAction=void 0;var z5=Vi(),WE=HE(),H5=function(e){B5(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=WE.immediateProvider.setImmediate(r.flush.bind(r,void 0))))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var s=r.actions;n!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==n&&(WE.immediateProvider.clearImmediate(n),r._scheduled===n&&(r._scheduled=void 0))},t}(z5.AsyncAction);Ki.AsapAction=H5});var Pg=h(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.Scheduler=void 0;var W5=yl(),V5=function(){function e(t,r){r===void 0&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(t,r,n){return r===void 0&&(r=0),new this.schedulerActionCtor(this,t).schedule(n,r)},e.now=W5.dateTimestampProvider.now,e}();Sl.Scheduler=V5});var Ji=h(Yi=>{"use strict";var G5=Yi&&Yi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Yi,"__esModule",{value:!0});Yi.AsyncScheduler=void 0;var GE=Pg(),K5=function(e){G5(t,e);function t(r,n){n===void 0&&(n=GE.Scheduler.now);var o=e.call(this,r,n)||this;return o.actions=[],o._active=!1,o}return t.prototype.flush=function(r){var n=this.actions;if(this._active){n.push(r);return}var o;this._active=!0;do if(o=r.execute(r.state,r.delay))break;while(r=n.shift());if(this._active=!1,o){for(;r=n.shift();)r.unsubscribe();throw o}},t}(GE.Scheduler);Yi.AsyncScheduler=K5});var KE=h(Xi=>{"use strict";var Y5=Xi&&Xi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Xi,"__esModule",{value:!0});Xi.AsapScheduler=void 0;var J5=Ji(),X5=function(e){Y5(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(J5.AsyncScheduler);Xi.AsapScheduler=X5});var YE=h(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.asap=Wo.asapScheduler=void 0;var Q5=VE(),Z5=KE();Wo.asapScheduler=new Z5.AsapScheduler(Q5.AsapAction);Wo.asap=Wo.asapScheduler});var Qe=h(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.async=Vo.asyncScheduler=void 0;var eK=Vi(),tK=Ji();Vo.asyncScheduler=new tK.AsyncScheduler(eK.AsyncAction);Vo.async=Vo.asyncScheduler});var JE=h(Qi=>{"use strict";var rK=Qi&&Qi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Qi,"__esModule",{value:!0});Qi.QueueAction=void 0;var nK=Vi(),oK=function(e){rK(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.schedule=function(r,n){return n===void 0&&(n=0),n>0?e.prototype.schedule.call(this,r,n):(this.delay=n,this.state=r,this.scheduler.flush(this),this)},t.prototype.execute=function(r,n){return n>0||this.closed?e.prototype.execute.call(this,r,n):this._execute(r,n)},t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!=null&&o>0||o==null&&this.delay>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.flush(this),0)},t}(nK.AsyncAction);Qi.QueueAction=oK});var XE=h(Zi=>{"use strict";var iK=Zi&&Zi.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Zi,"__esModule",{value:!0});Zi.QueueScheduler=void 0;var sK=Ji(),aK=function(e){iK(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(sK.AsyncScheduler);Zi.QueueScheduler=aK});var QE=h(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.queue=Go.queueScheduler=void 0;var cK=JE(),uK=XE();Go.queueScheduler=new uK.QueueScheduler(cK.QueueAction);Go.queue=Go.queueScheduler});var eA=h(es=>{"use strict";var lK=es&&es.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(es,"__esModule",{value:!0});es.AnimationFrameAction=void 0;var pK=Vi(),ZE=Sg(),dK=function(e){lK(t,e);function t(r,n){var o=e.call(this,r,n)||this;return o.scheduler=r,o.work=n,o}return t.prototype.requestAsyncId=function(r,n,o){return o===void 0&&(o=0),o!==null&&o>0?e.prototype.requestAsyncId.call(this,r,n,o):(r.actions.push(this),r._scheduled||(r._scheduled=ZE.animationFrameProvider.requestAnimationFrame(function(){return r.flush(void 0)})))},t.prototype.recycleAsyncId=function(r,n,o){var i;if(o===void 0&&(o=0),o!=null?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,n,o);var s=r.actions;n!=null&&((i=s[s.length-1])===null||i===void 0?void 0:i.id)!==n&&(ZE.animationFrameProvider.cancelAnimationFrame(n),r._scheduled=void 0)},t}(pK.AsyncAction);es.AnimationFrameAction=dK});var tA=h(ts=>{"use strict";var fK=ts&&ts.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ts,"__esModule",{value:!0});ts.AnimationFrameScheduler=void 0;var mK=Ji(),hK=function(e){fK(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.flush=function(r){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var o=this.actions,i;r=r||o.shift();do if(i=r.execute(r.state,r.delay))break;while((r=o[0])&&r.id===n&&o.shift());if(this._active=!1,i){for(;(r=o[0])&&r.id===n&&o.shift();)r.unsubscribe();throw i}},t}(mK.AsyncScheduler);ts.AnimationFrameScheduler=hK});var rA=h(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.animationFrame=Ko.animationFrameScheduler=void 0;var gK=eA(),vK=tA();Ko.animationFrameScheduler=new vK.AnimationFrameScheduler(gK.AnimationFrameAction);Ko.animationFrame=Ko.animationFrameScheduler});var iA=h(bn=>{"use strict";var nA=bn&&bn.__extends||function(){var e=function(t,r){return e=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])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(bn,"__esModule",{value:!0});bn.VirtualAction=bn.VirtualTimeScheduler=void 0;var xK=Vi(),yK=ut(),bK=Ji(),_K=function(e){nA(t,e);function t(r,n){r===void 0&&(r=oA),n===void 0&&(n=1/0);var o=e.call(this,r,function(){return o.frame})||this;return o.maxFrames=n,o.frame=0,o.index=-1,o}return t.prototype.flush=function(){for(var r=this,n=r.actions,o=r.maxFrames,i,s;(s=n[0])&&s.delay<=o&&(n.shift(),this.frame=s.delay,!(i=s.execute(s.state,s.delay))););if(i){for(;s=n.shift();)s.unsubscribe();throw i}},t.frameTimeFactor=10,t}(bK.AsyncScheduler);bn.VirtualTimeScheduler=_K;var oA=function(e){nA(t,e);function t(r,n,o){o===void 0&&(o=r.index+=1);var i=e.call(this,r,n)||this;return i.scheduler=r,i.work=n,i.index=o,i.active=!0,i.index=r.index=o,i}return t.prototype.schedule=function(r,n){if(n===void 0&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}else return yK.Subscription.EMPTY},t.prototype.requestAsyncId=function(r,n,o){o===void 0&&(o=0),this.delay=r.frame+o;var i=r.actions;return i.push(this),i.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(r,n,o){o===void 0&&(o=0)},t.prototype._execute=function(r,n){if(this.active===!0)return e.prototype._execute.call(this,r,n)},t.sortActions=function(r,n){return r.delay===n.delay?r.index===n.index?0:r.index>n.index?1:-1:r.delay>n.delay?1:-1},t}(xK.AsyncAction);bn.VirtualAction=oA});var Kt=h(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.empty=Yo.EMPTY=void 0;var sA=te();Yo.EMPTY=new sA.Observable(function(e){return e.complete()});function wK(e){return e?SK(e):Yo.EMPTY}Yo.empty=wK;function SK(e){return new sA.Observable(function(t){return e.schedule(function(){return t.complete()})})}});var Ma=h(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.isScheduler=void 0;var EK=ee();function AK(e){return e&&EK.isFunction(e.schedule)}El.isScheduler=AK});var Ze=h(_n=>{"use strict";Object.defineProperty(_n,"__esModule",{value:!0});_n.popNumber=_n.popScheduler=_n.popResultSelector=void 0;var RK=ee(),CK=Ma();function Ig(e){return e[e.length-1]}function TK(e){return RK.isFunction(Ig(e))?e.pop():void 0}_n.popResultSelector=TK;function OK(e){return CK.isScheduler(Ig(e))?e.pop():void 0}_n.popScheduler=OK;function PK(e,t){return typeof Ig(e)=="number"?e.pop():t}_n.popNumber=PK});var Rl=h(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.isArrayLike=void 0;Al.isArrayLike=function(e){return e&&typeof e.length=="number"&&typeof e!="function"}});var kg=h(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.isPromise=void 0;var IK=ee();function kK(e){return IK.isFunction(e?.then)}Cl.isPromise=kK});var Ng=h(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.isInteropObservable=void 0;var NK=ka(),qK=ee();function jK(e){return qK.isFunction(e[NK.observable])}Tl.isInteropObservable=jK});var qg=h(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.isAsyncIterable=void 0;var FK=ee();function MK(e){return Symbol.asyncIterator&&FK.isFunction(e?.[Symbol.asyncIterator])}Ol.isAsyncIterable=MK});var jg=h(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.createInvalidObservableTypeError=void 0;function DK(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.")}Pl.createInvalidObservableTypeError=DK});var Fg=h(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});rs.iterator=rs.getSymbolIterator=void 0;function aA(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}rs.getSymbolIterator=aA;rs.iterator=aA()});var Mg=h(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.isIterable=void 0;var LK=Fg(),UK=ee();function $K(e){return UK.isFunction(e?.[LK.iterator])}Il.isIterable=$K});var kl=h(_t=>{"use strict";var BK=_t&&_t.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return u([l,p])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},ns=_t&&_t.__await||function(e){return this instanceof ns?(this.v=e,this):new ns(e)},zK=_t&&_t.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(m){n[m]&&(o[m]=function(v){return new Promise(function(g,x){i.push([m,v,g,x])>1||a(m,v)})})}function a(m,v){try{u(n[m](v))}catch(g){d(i[0][3],g)}}function u(m){m.value instanceof ns?Promise.resolve(m.value.v).then(l,p):d(i[0][2],m)}function l(m){a("next",m)}function p(m){a("throw",m)}function d(m,v){m(v),i.shift(),i.length&&a(i[0][0],i[0][1])}};Object.defineProperty(_t,"__esModule",{value:!0});_t.isReadableStreamLike=_t.readableStreamLikeToAsyncGenerator=void 0;var HK=ee();function WK(e){return zK(this,arguments,function(){var r,n,o,i;return BK(this,function(s){switch(s.label){case 0:r=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,ns(r.read())];case 3:return n=s.sent(),o=n.value,i=n.done,i?[4,ns(void 0)]:[3,5];case 4:return[2,s.sent()];case 5:return[4,ns(o)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}_t.readableStreamLikeToAsyncGenerator=WK;function VK(e){return HK.isFunction(e?.getReader)}_t.isReadableStreamLike=VK});var q=h(se=>{"use strict";var GK=se&&se.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(p){try{l(n.next(p))}catch(d){s(d)}}function u(p){try{l(n.throw(p))}catch(d){s(d)}}function l(p){p.done?i(p.value):o(p.value).then(a,u)}l((n=n.apply(e,t||[])).next())})},KK=se&&se.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return u([l,p])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,o=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],o=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},YK=se&&se.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof Dg=="function"?Dg(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}},Dg=se&&se.__values||function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(se,"__esModule",{value:!0});se.fromReadableStreamLike=se.fromAsyncIterable=se.fromIterable=se.fromPromise=se.fromArrayLike=se.fromInteropObservable=se.innerFrom=void 0;var JK=