UNPKG

verlog

Version:

Generate Version and Changelog for git repo

4 lines 78.4 kB
var df=typeof require!="undefined"?require:t=>{throw new Error('Dynamic require of "'+t+'" is not supported')};var s=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var D=s(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});function Vi(t){return typeof t=="function"}Ye.isFunction=Vi});var G=s(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});var Be=!1;De.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var r=new Error;console.warn(`DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: `+r.stack)}else Be&&console.log("RxJS: Back to a better error behavior. Thank you. <3");Be=t},get useDeprecatedSynchronousErrorHandling(){return Be}}});var Se=s(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});function Ui(t){setTimeout(function(){throw t},0)}Ge.hostReportError=Ui});var He=s(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});var Li=G(),Yi=Se();Qe.empty={closed:!0,next:function(t){},error:function(t){if(Li.config.useDeprecatedSynchronousErrorHandling)throw t;Yi.hostReportError(t)},complete:function(){}}});var _=s(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.isArray=function(){return Array.isArray||function(t){return t&&typeof t.length=="number"}}()});var Oe=s(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});function Bi(t){return t!==null&&typeof t=="object"}ze.isObject=Bi});var Ze=s(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});var Di=function(){function t(r){return Error.call(this),this.message=r?r.length+` errors occurred during unsubscription: `+r.map(function(e,n){return n+1+") "+e.toString()}).join(` `):"",this.name="UnsubscriptionError",this.errors=r,this}return t.prototype=Object.create(Error.prototype),t}();We.UnsubscriptionError=Di});var v=s($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});var Gi=_(),Qi=Oe(),Hi=D(),ge=Ze(),Ji=function(){function t(r){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,r&&(this._ctorUnsubscribe=!0,this._unsubscribe=r)}return t.prototype.unsubscribe=function(){var r;if(!this.closed){var e=this,n=e._parentOrParents,i=e._ctorUnsubscribe,o=e._unsubscribe,u=e._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(n!==null)for(var c=0;c<n.length;++c){var a=n[c];a.remove(this)}if(Hi.isFunction(o)){i&&(this._unsubscribe=void 0);try{o.call(this)}catch(l){r=l instanceof ge.UnsubscriptionError?wt(l.errors):[l]}}if(Gi.isArray(u))for(var c=-1,f=u.length;++c<f;){var h=u[c];if(Qi.isObject(h))try{h.unsubscribe()}catch(b){r=r||[],b instanceof ge.UnsubscriptionError?r=r.concat(wt(b.errors)):r.push(b)}}if(r)throw new ge.UnsubscriptionError(r)}},t.prototype.add=function(r){var e=r;if(!r)return t.EMPTY;switch(typeof r){case"function":e=new t(r);case"object":if(e===this||e.closed||typeof e.unsubscribe!="function")return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof t)){var n=e;e=new t,e._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+r+" added to Subscription.")}var i=e._parentOrParents;if(i===null)e._parentOrParents=this;else if(i instanceof t){if(i===this)return e;e._parentOrParents=[i,this]}else if(i.indexOf(this)===-1)i.push(this);else return e;var o=this._subscriptions;return o===null?this._subscriptions=[e]:o.push(e),e},t.prototype.remove=function(r){var e=this._subscriptions;if(e){var n=e.indexOf(r);n!==-1&&e.splice(n,1)}},t.EMPTY=function(r){return r.closed=!0,r}(new t),t}();$e.Subscription=Ji;function wt(t){return t.reduce(function(r,e){return r.concat(e instanceof ge.UnsubscriptionError?e.errors:e)},[])}});var je=s(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.rxSubscriber=function(){return typeof Symbol=="function"?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}();Q.$$rxSubscriber=Q.rxSubscriber});var d=s(T=>{"use strict";var Et=T&&T.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(T,"__esModule",{value:!0});var Pt=D(),Ke=He(),zi=v(),Wi=je(),I=G(),Ae=Se(),xt=function(t){Et(r,t);function r(e,n,i){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=Ke.empty;break;case 1:if(!e){o.destination=Ke.empty;break}if(typeof e=="object"){e instanceof r?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(o)):(o.syncErrorThrowable=!0,o.destination=new Xe(o,e));break}default:o.syncErrorThrowable=!0,o.destination=new Xe(o,e,n,i);break}return o}return r.prototype[Wi.rxSubscriber]=function(){return this},r.create=function(e,n,i){var o=new r(e,n,i);return o.syncErrorThrowable=!1,o},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},r.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},r.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},r}(zi.Subscription);T.Subscriber=xt;var Xe=function(t){Et(r,t);function r(e,n,i,o){var u=t.call(this)||this;u._parentSubscriber=e;var c,a=u;return Pt.isFunction(n)?c=n:n&&(c=n.next,i=n.error,o=n.complete,n!==Ke.empty&&(a=Object.create(n),Pt.isFunction(a.unsubscribe)&&u.add(a.unsubscribe.bind(a)),a.unsubscribe=u.unsubscribe.bind(u))),u._context=a,u._next=c,u._error=i,u._complete=o,u}return r.prototype.next=function(e){if(!this.isStopped&&this._next){var n=this._parentSubscriber;!I.config.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?this.__tryOrUnsub(this._next,e):this.__tryOrSetError(n,this._next,e)&&this.unsubscribe()}},r.prototype.error=function(e){if(!this.isStopped){var n=this._parentSubscriber,i=I.config.useDeprecatedSynchronousErrorHandling;if(this._error)!i||!n.syncErrorThrowable?(this.__tryOrUnsub(this._error,e),this.unsubscribe()):(this.__tryOrSetError(n,this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)i?(n.syncErrorValue=e,n.syncErrorThrown=!0):Ae.hostReportError(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;Ae.hostReportError(e)}}},r.prototype.complete=function(){var e=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var i=function(){return e._complete.call(e._context)};!I.config.useDeprecatedSynchronousErrorHandling||!n.syncErrorThrowable?(this.__tryOrUnsub(i),this.unsubscribe()):(this.__tryOrSetError(n,i),this.unsubscribe())}else this.unsubscribe()}},r.prototype.__tryOrUnsub=function(e,n){try{e.call(this._context,n)}catch(i){if(this.unsubscribe(),I.config.useDeprecatedSynchronousErrorHandling)throw i;Ae.hostReportError(i)}},r.prototype.__tryOrSetError=function(e,n,i){if(!I.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,i)}catch(o){return I.config.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Ae.hostReportError(o),!0)}return!1},r.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},r}(xt);T.SafeSubscriber=Xe});var qe=s(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});var Zi=d();function $i(t){for(;t;){var r=t,e=r.closed,n=r.destination,i=r.isStopped;if(e||i)return!1;n&&n instanceof Zi.Subscriber?t=n:t=null}return!0}er.canReportError=$i});var It=s(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});var rr=d(),Mt=je(),Ki=He();function Xi(t,r,e){if(t){if(t instanceof rr.Subscriber)return t;if(t[Mt.rxSubscriber])return t[Mt.rxSubscriber]()}return!t&&!r&&!e?new rr.Subscriber(Ki.empty):new rr.Subscriber(t,r,e)}tr.toSubscriber=Xi});var j=s(nr=>{"use strict";Object.defineProperty(nr,"__esModule",{value:!0});nr.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var H=s(ir=>{"use strict";Object.defineProperty(ir,"__esModule",{value:!0});function eo(t){return t}ir.identity=eo});var or=s(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});var ro=H();function to(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Tt(t)}we.pipe=to;function Tt(t){return t.length===0?ro.identity:t.length===1?t[0]:function(e){return t.reduce(function(n,i){return i(n)},e)}}we.pipeFromArray=Tt});var p=s(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});var no=qe(),io=It(),oo=j(),uo=or(),Ee=G(),so=function(){function t(r){this._isScalar=!1,r&&(this._subscribe=r)}return t.prototype.lift=function(r){var e=new t;return e.source=this,e.operator=r,e},t.prototype.subscribe=function(r,e,n){var i=this.operator,o=io.toSubscriber(r,e,n);if(i?o.add(i.call(o,this.source)):o.add(this.source||Ee.config.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),Ee.config.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){Ee.config.useDeprecatedSynchronousErrorHandling&&(r.syncErrorThrown=!0,r.syncErrorValue=e),no.canReportError(r)?r.error(e):console.warn(e)}},t.prototype.forEach=function(r,e){var n=this;return e=Ct(e),new e(function(i,o){var u;u=n.subscribe(function(c){try{r(c)}catch(a){o(a),u&&u.unsubscribe()}},o,i)})},t.prototype._subscribe=function(r){var e=this.source;return e&&e.subscribe(r)},t.prototype[oo.observable]=function(){return this},t.prototype.pipe=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return r.length===0?this:uo.pipeFromArray(r)(this)},t.prototype.toPromise=function(r){var e=this;return r=Ct(r),new r(function(n,i){var o;e.subscribe(function(u){return o=u},function(u){return i(u)},function(){return n(o)})})},t.create=function(r){return new t(r)},t}();ur.Observable=so;function Ct(t){if(t||(t=Ee.config.Promise||Promise),!t)throw new Error("no Promise impl found");return t}});var J=s(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});var co=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}();sr.ObjectUnsubscribedError=co});var cr=s(z=>{"use strict";var ao=z&&z.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(z,"__esModule",{value:!0});var lo=v(),fo=function(t){ao(r,t);function r(e,n){var i=t.call(this)||this;return i.subject=e,i.subscriber=n,i.closed=!1,i}return r.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,n=e.observers;if(this.subject=null,!(!n||n.length===0||e.isStopped||e.closed)){var i=n.indexOf(this.subscriber);i!==-1&&n.splice(i,1)}}},r}(lo.Subscription);z.SubjectSubscription=fo});var q=s(A=>{"use strict";var ar=A&&A.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(A,"__esModule",{value:!0});var Rt=p(),bo=d(),lr=v(),W=J(),po=cr(),ho=je(),Nt=function(t){ar(r,t);function r(e){var n=t.call(this,e)||this;return n.destination=e,n}return r}(bo.Subscriber);A.SubjectSubscriber=Nt;var kt=function(t){ar(r,t);function r(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.prototype[ho.rxSubscriber]=function(){return new Nt(this)},r.prototype.lift=function(e){var n=new fr(this,this);return n.operator=e,n},r.prototype.next=function(e){if(this.closed)throw new W.ObjectUnsubscribedError;if(!this.isStopped)for(var n=this.observers,i=n.length,o=n.slice(),u=0;u<i;u++)o[u].next(e)},r.prototype.error=function(e){if(this.closed)throw new W.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var n=this.observers,i=n.length,o=n.slice(),u=0;u<i;u++)o[u].error(e);this.observers.length=0},r.prototype.complete=function(){if(this.closed)throw new W.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),o=0;o<n;o++)i[o].complete();this.observers.length=0},r.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},r.prototype._trySubscribe=function(e){if(this.closed)throw new W.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},r.prototype._subscribe=function(e){if(this.closed)throw new W.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),lr.Subscription.EMPTY):this.isStopped?(e.complete(),lr.Subscription.EMPTY):(this.observers.push(e),new po.SubjectSubscription(this,e))},r.prototype.asObservable=function(){var e=new Rt.Observable;return e.source=this,e},r.create=function(e,n){return new fr(e,n)},r}(Rt.Observable);A.Subject=kt;var fr=function(t){ar(r,t);function r(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r.prototype.next=function(e){var n=this.destination;n&&n.next&&n.next(e)},r.prototype.error=function(e){var n=this.destination;n&&n.error&&this.destination.error(e)},r.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},r.prototype._subscribe=function(e){var n=this.source;return n?this.source.subscribe(e):lr.Subscription.EMPTY},r}(kt);A.AnonymousSubject=fr});var Ft=s(Z=>{"use strict";var vo=Z&&Z.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Z,"__esModule",{value:!0});var _o=d();function yo(){return function(r){return r.lift(new mo(r))}}Z.refCount=yo;var mo=function(){function t(r){this.connectable=r}return t.prototype.call=function(r,e){var n=this.connectable;n._refCount++;var i=new So(r,n),o=e.subscribe(i);return i.closed||(i.connection=n.connect()),o},t}(),So=function(t){vo(r,t);function r(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return r.prototype._unsubscribe=function(){var e=this.connectable;if(!e){this.connection=null;return}this.connectable=null;var n=e._refCount;if(n<=0){this.connection=null;return}if(e._refCount=n-1,n>1){this.connection=null;return}var i=this.connection,o=e._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()},r}(_o.Subscriber)});var Lt=s(C=>{"use strict";var br=C&&C.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(C,"__esModule",{value:!0});var Oo=q(),go=p(),jo=d(),Vt=v(),Ao=Ft(),Ut=function(t){br(r,t);function r(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return r.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},r.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},r.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,e=this._connection=new Vt.Subscription,e.add(this.source.subscribe(new qo(this.getSubject(),this))),e.closed&&(this._connection=null,e=Vt.Subscription.EMPTY)),e},r.prototype.refCount=function(){return Ao.refCount()(this)},r}(go.Observable);C.ConnectableObservable=Ut;C.connectableObservableDescriptor=function(){var t=Ut.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}();var qo=function(t){br(r,t);function r(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return r.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},r.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},r.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var n=e._connection;e._refCount=0,e._subject=null,e._connection=null,n&&n.unsubscribe()}},r}(Oo.SubjectSubscriber),Vf=function(){function t(r){this.connectable=r}return t.prototype.call=function(r,e){var n=this.connectable;n._refCount++;var i=new wo(r,n),o=e.subscribe(i);return i.closed||(i.connection=n.connect()),o},t}(),wo=function(t){br(r,t);function r(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return r.prototype._unsubscribe=function(){var e=this.connectable;if(!e){this.connection=null;return}this.connectable=null;var n=e._refCount;if(n<=0){this.connection=null;return}if(e._refCount=n-1,n>1){this.connection=null;return}var i=this.connection,o=e._connection;this.connection=null,o&&(!i||o===i)&&o.unsubscribe()},r}(jo.Subscriber)});var Dt=s(R=>{"use strict";var Pe=R&&R.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(R,"__esModule",{value:!0});var Yt=d(),Bt=v(),Eo=p(),Po=q();function xo(t,r,e,n){return function(i){return i.lift(new Mo(t,r,e,n))}}R.groupBy=xo;var Mo=function(){function t(r,e,n,i){this.keySelector=r,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=i}return t.prototype.call=function(r,e){return e.subscribe(new Io(r,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),Io=function(t){Pe(r,t);function r(e,n,i,o,u){var c=t.call(this,e)||this;return c.keySelector=n,c.elementSelector=i,c.durationSelector=o,c.subjectSelector=u,c.groups=null,c.attemptedToUnsubscribe=!1,c.count=0,c}return r.prototype._next=function(e){var n;try{n=this.keySelector(e)}catch(i){this.error(i);return}this._group(e,n)},r.prototype._group=function(e,n){var i=this.groups;i||(i=this.groups=new Map);var o=i.get(n),u;if(this.elementSelector)try{u=this.elementSelector(e)}catch(f){this.error(f)}else u=e;if(!o){o=this.subjectSelector?this.subjectSelector():new Po.Subject,i.set(n,o);var c=new pr(n,o,this);if(this.destination.next(c),this.durationSelector){var a=void 0;try{a=this.durationSelector(new pr(n,o))}catch(f){this.error(f);return}this.add(a.subscribe(new To(n,o,this)))}}o.closed||o.next(u)},r.prototype._error=function(e){var n=this.groups;n&&(n.forEach(function(i,o){i.error(e)}),n.clear()),this.destination.error(e)},r.prototype._complete=function(){var e=this.groups;e&&(e.forEach(function(n,i){n.complete()}),e.clear()),this.destination.complete()},r.prototype.removeGroup=function(e){this.groups.delete(e)},r.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,this.count===0&&t.prototype.unsubscribe.call(this))},r}(Yt.Subscriber),To=function(t){Pe(r,t);function r(e,n,i){var o=t.call(this,n)||this;return o.key=e,o.group=n,o.parent=i,o}return r.prototype._next=function(e){this.complete()},r.prototype._unsubscribe=function(){var e=this,n=e.parent,i=e.key;this.key=this.parent=null,n&&n.removeGroup(i)},r}(Yt.Subscriber),pr=function(t){Pe(r,t);function r(e,n,i){var o=t.call(this)||this;return o.key=e,o.groupSubject=n,o.refCountSubscription=i,o}return r.prototype._subscribe=function(e){var n=new Bt.Subscription,i=this,o=i.refCountSubscription,u=i.groupSubject;return o&&!o.closed&&n.add(new Co(o)),n.add(u.subscribe(e)),n},r}(Eo.Observable);R.GroupedObservable=pr;var Co=function(t){Pe(r,t);function r(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.prototype.unsubscribe=function(){var e=this.parent;!e.closed&&!this.closed&&(t.prototype.unsubscribe.call(this),e.count-=1,e.count===0&&e.attemptedToUnsubscribe&&e.unsubscribe())},r}(Bt.Subscription)});var Gt=s($=>{"use strict";var Ro=$&&$.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty($,"__esModule",{value:!0});var No=q(),ko=J(),Fo=function(t){Ro(r,t);function r(e){var n=t.call(this)||this;return n._value=e,n}return Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),r.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},r.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new ko.ObjectUnsubscribedError;return this._value},r.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},r}(No.Subject);$.BehaviorSubject=Fo});var Qt=s(K=>{"use strict";var Vo=K&&K.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(K,"__esModule",{value:!0});var Uo=v(),Lo=function(t){Vo(r,t);function r(e,n){return t.call(this)||this}return r.prototype.schedule=function(e,n){return n===void 0&&(n=0),this},r}(Uo.Subscription);K.Action=Lo});var N=s(X=>{"use strict";var Yo=X&&X.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(X,"__esModule",{value:!0});var Bo=Qt(),Do=function(t){Yo(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r.prototype.schedule=function(e,n){if(n===void 0&&(n=0),this.closed)return this;this.state=e;var i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),setInterval(e.flush.bind(e,this),i)},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!==null&&this.delay===i&&this.pending===!1)return n;clearInterval(n)},r.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var i=this._execute(e,n);if(i)return i;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},r.prototype._execute=function(e,n){var i=!1,o=void 0;try{this.work(e)}catch(u){i=!0,o=!!u&&u||new Error(u)}if(i)return this.unsubscribe(),o},r.prototype._unsubscribe=function(){var e=this.id,n=this.scheduler,i=n.actions,o=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,o!==-1&&i.splice(o,1),e!=null&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null},r}(Bo.Action);X.AsyncAction=Do});var Ht=s(ee=>{"use strict";var Go=ee&&ee.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ee,"__esModule",{value:!0});var Qo=N(),Ho=function(t){Go(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return r.prototype.schedule=function(e,n){return n===void 0&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},r.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0||i===null&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,i):e.flush(this)},r}(Qo.AsyncAction);ee.QueueAction=Ho});var vr=s(hr=>{"use strict";Object.defineProperty(hr,"__esModule",{value:!0});var Jo=function(){function t(r,e){e===void 0&&(e=t.now),this.SchedulerAction=r,this.now=e}return t.prototype.schedule=function(r,e,n){return e===void 0&&(e=0),new this.SchedulerAction(this,r).schedule(n,e)},t.now=function(){return Date.now()},t}();hr.Scheduler=Jo});var k=s(re=>{"use strict";var zo=re&&re.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(re,"__esModule",{value:!0});var Jt=vr(),Wo=function(t){zo(r,t);function r(e,n){n===void 0&&(n=Jt.Scheduler.now);var i=t.call(this,e,function(){return r.delegate&&r.delegate!==i?r.delegate.now():n()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return r.prototype.schedule=function(e,n,i){return n===void 0&&(n=0),r.delegate&&r.delegate!==this?r.delegate.schedule(e,n,i):t.prototype.schedule.call(this,e,n,i)},r.prototype.flush=function(e){var n=this.actions;if(this.active){n.push(e);return}var i;this.active=!0;do if(i=e.execute(e.state,e.delay))break;while(e=n.shift());if(this.active=!1,i){for(;e=n.shift();)e.unsubscribe();throw i}},r}(Jt.Scheduler);re.AsyncScheduler=Wo});var zt=s(te=>{"use strict";var Zo=te&&te.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(te,"__esModule",{value:!0});var $o=k(),Ko=function(t){Zo(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}($o.AsyncScheduler);te.QueueScheduler=Ko});var dr=s(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});var Xo=Ht(),eu=zt();ne.queueScheduler=new eu.QueueScheduler(Xo.QueueAction);ne.queue=ne.queueScheduler});var m=s(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});var Wt=p();ie.EMPTY=new Wt.Observable(function(t){return t.complete()});function ru(t){return t?tu(t):ie.EMPTY}ie.empty=ru;function tu(t){return new Wt.Observable(function(r){return t.schedule(function(){return r.complete()})})}});var S=s(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});function nu(t){return t&&typeof t.schedule=="function"}_r.isScheduler=nu});var mr=s(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.subscribeToArray=function(t){return function(r){for(var e=0,n=t.length;e<n&&!r.closed;e++)r.next(t[e]);r.complete()}}});var xe=s(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});var iu=p(),ou=v();function uu(t,r){return new iu.Observable(function(e){var n=new ou.Subscription,i=0;return n.add(r.schedule(function(){if(i===t.length){e.complete();return}e.next(t[i++]),e.closed||n.add(this.schedule())})),n})}Sr.scheduleArray=uu});var F=s(Or=>{"use strict";Object.defineProperty(Or,"__esModule",{value:!0});var su=p(),cu=mr(),au=xe();function lu(t,r){return r?au.scheduleArray(t,r):new su.Observable(cu.subscribeToArray(t))}Or.fromArray=lu});var Me=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var fu=S(),bu=F(),pu=xe();function hu(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=t[t.length-1];return fu.isScheduler(e)?(t.pop(),pu.scheduleArray(t,e)):bu.fromArray(t)}gr.of=hu});var Ar=s(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});var Zt=p();function vu(t,r){return r?new Zt.Observable(function(e){return r.schedule(du,0,{error:t,subscriber:e})}):new Zt.Observable(function(e){return e.error(t)})}jr.throwError=vu;function du(t){var r=t.error,e=t.subscriber;e.error(r)}});var qr=s(oe=>{"use strict";Object.defineProperty(oe,"__esModule",{value:!0});var _u=m(),yu=Me(),mu=Ar(),Su;(function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"})(Su=oe.NotificationKind||(oe.NotificationKind={}));var Ou=function(){function t(r,e,n){this.kind=r,this.value=e,this.error=n,this.hasValue=r==="N"}return t.prototype.observe=function(r){switch(this.kind){case"N":return r.next&&r.next(this.value);case"E":return r.error&&r.error(this.error);case"C":return r.complete&&r.complete()}},t.prototype.do=function(r,e,n){var i=this.kind;switch(i){case"N":return r&&r(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(r,e,n){return r&&typeof r.next=="function"?this.observe(r):this.do(r,e,n)},t.prototype.toObservable=function(){var r=this.kind;switch(r){case"N":return yu.of(this.value);case"E":return mu.throwError(this.error);case"C":return _u.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(r){return typeof r!="undefined"?new t("N",r):t.undefinedValueNotification},t.createError=function(r){return new t("E",void 0,r)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();oe.Notification=Ou});var en=s(O=>{"use strict";var gu=O&&O.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(O,"__esModule",{value:!0});var ju=d(),wr=qr();function Au(t,r){return r===void 0&&(r=0),function(n){return n.lift(new $t(t,r))}}O.observeOn=Au;var $t=function(){function t(r,e){e===void 0&&(e=0),this.scheduler=r,this.delay=e}return t.prototype.call=function(r,e){return e.subscribe(new Kt(r,this.scheduler,this.delay))},t}();O.ObserveOnOperator=$t;var Kt=function(t){gu(r,t);function r(e,n,i){i===void 0&&(i=0);var o=t.call(this,e)||this;return o.scheduler=n,o.delay=i,o}return r.dispatch=function(e){var n=e.notification,i=e.destination;n.observe(i),this.unsubscribe()},r.prototype.scheduleMessage=function(e){var n=this.destination;n.add(this.scheduler.schedule(r.dispatch,this.delay,new Xt(e,this.destination)))},r.prototype._next=function(e){this.scheduleMessage(wr.Notification.createNext(e))},r.prototype._error=function(e){this.scheduleMessage(wr.Notification.createError(e)),this.unsubscribe()},r.prototype._complete=function(){this.scheduleMessage(wr.Notification.createComplete()),this.unsubscribe()},r}(ju.Subscriber);O.ObserveOnSubscriber=Kt;var Xt=function(){function t(r,e){this.notification=r,this.destination=e}return t}();O.ObserveOnMessage=Xt});var rn=s(ue=>{"use strict";var qu=ue&&ue.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ue,"__esModule",{value:!0});var wu=q(),Eu=dr(),Pu=v(),xu=en(),Mu=J(),Iu=cr(),Tu=function(t){qu(r,t);function r(e,n,i){e===void 0&&(e=Number.POSITIVE_INFINITY),n===void 0&&(n=Number.POSITIVE_INFINITY);var o=t.call(this)||this;return o.scheduler=i,o._events=[],o._infiniteTimeWindow=!1,o._bufferSize=e<1?1:e,o._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(o._infiniteTimeWindow=!0,o.next=o.nextInfiniteTimeWindow):o.next=o.nextTimeWindow,o}return r.prototype.nextInfiniteTimeWindow=function(e){if(!this.isStopped){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift()}t.prototype.next.call(this,e)},r.prototype.nextTimeWindow=function(e){this.isStopped||(this._events.push(new Cu(this._getNow(),e)),this._trimBufferThenGetEvents()),t.prototype.next.call(this,e)},r.prototype._subscribe=function(e){var n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,u=i.length,c;if(this.closed)throw new Mu.ObjectUnsubscribedError;if(this.isStopped||this.hasError?c=Pu.Subscription.EMPTY:(this.observers.push(e),c=new Iu.SubjectSubscription(this,e)),o&&e.add(e=new xu.ObserveOnSubscriber(e,o)),n)for(var a=0;a<u&&!e.closed;a++)e.next(i[a]);else for(var a=0;a<u&&!e.closed;a++)e.next(i[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),c},r.prototype._getNow=function(){return(this.scheduler||Eu.queue).now()},r.prototype._trimBufferThenGetEvents=function(){for(var e=this._getNow(),n=this._bufferSize,i=this._windowTime,o=this._events,u=o.length,c=0;c<u&&!(e-o[c].time<i);)c++;return u>n&&(c=Math.max(c,u-n)),c>0&&o.splice(0,c),o},r}(wu.Subject);ue.ReplaySubject=Tu;var Cu=function(){function t(r,e){this.time=r,this.value=e}return t}()});var Ie=s(se=>{"use strict";var Ru=se&&se.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(se,"__esModule",{value:!0});var Nu=q(),tn=v(),ku=function(t){Ru(r,t);function r(){var e=t!==null&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),tn.Subscription.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),tn.Subscription.EMPTY):t.prototype._subscribe.call(this,e)},r.prototype.next=function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)},r.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},r.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},r}(Nu.Subject);se.AsyncSubject=ku});var on=s(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});var Fu=1,Vu=function(){return Promise.resolve()}(),Te={};function nn(t){return t in Te?(delete Te[t],!0):!1}Ce.Immediate={setImmediate:function(t){var r=Fu++;return Te[r]=!0,Vu.then(function(){return nn(r)&&t()}),r},clearImmediate:function(t){nn(t)}};Ce.TestTools={pending:function(){return Object.keys(Te).length}}});var sn=s(ce=>{"use strict";var Uu=ce&&ce.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ce,"__esModule",{value:!0});var un=on(),Lu=N(),Yu=function(t){Uu(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=un.Immediate.setImmediate(e.flush.bind(e,null))))},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!==null&&i>0||i===null&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);e.actions.length===0&&(un.Immediate.clearImmediate(n),e.scheduled=void 0)},r}(Lu.AsyncAction);ce.AsapAction=Yu});var cn=s(ae=>{"use strict";var Bu=ae&&ae.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ae,"__esModule",{value:!0});var Du=k(),Gu=function(t){Bu(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var n=this.actions,i,o=-1,u=n.length;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while(++o<u&&(e=n.shift()));if(this.active=!1,i){for(;++o<u&&(e=n.shift());)e.unsubscribe();throw i}},r}(Du.AsyncScheduler);ae.AsapScheduler=Gu});var an=s(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});var Qu=sn(),Hu=cn();le.asapScheduler=new Hu.AsapScheduler(Qu.AsapAction);le.asap=le.asapScheduler});var Re=s(fe=>{"use strict";Object.defineProperty(fe,"__esModule",{value:!0});var Ju=N(),zu=k();fe.asyncScheduler=new zu.AsyncScheduler(Ju.AsyncAction);fe.async=fe.asyncScheduler});var ln=s(be=>{"use strict";var Wu=be&&be.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(be,"__esModule",{value:!0});var Zu=N(),$u=function(t){Wu(r,t);function r(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return r.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},r.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!==null&&i>0||i===null&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);e.actions.length===0&&(cancelAnimationFrame(n),e.scheduled=void 0)},r}(Zu.AsyncAction);be.AnimationFrameAction=$u});var fn=s(pe=>{"use strict";var Ku=pe&&pe.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(pe,"__esModule",{value:!0});var Xu=k(),es=function(t){Ku(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var n=this.actions,i,o=-1,u=n.length;e=e||n.shift();do if(i=e.execute(e.state,e.delay))break;while(++o<u&&(e=n.shift()));if(this.active=!1,i){for(;++o<u&&(e=n.shift());)e.unsubscribe();throw i}},r}(Xu.AsyncScheduler);pe.AnimationFrameScheduler=es});var bn=s(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});var rs=ln(),ts=fn();he.animationFrameScheduler=new ts.AnimationFrameScheduler(rs.AnimationFrameAction);he.animationFrame=he.animationFrameScheduler});var vn=s(V=>{"use strict";var pn=V&&V.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(V,"__esModule",{value:!0});var ns=N(),is=k(),os=function(t){pn(r,t);function r(e,n){e===void 0&&(e=hn),n===void 0&&(n=Number.POSITIVE_INFINITY);var i=t.call(this,e,function(){return i.frame})||this;return i.maxFrames=n,i.frame=0,i.index=-1,i}return r.prototype.flush=function(){for(var e=this,n=e.actions,i=e.maxFrames,o,u;(u=n[0])&&u.delay<=i&&(n.shift(),this.frame=u.delay,!(o=u.execute(u.state,u.delay))););if(o){for(;u=n.shift();)u.unsubscribe();throw o}},r.frameTimeFactor=10,r}(is.AsyncScheduler);V.VirtualTimeScheduler=os;var hn=function(t){pn(r,t);function r(e,n,i){i===void 0&&(i=e.index+=1);var o=t.call(this,e,n)||this;return o.scheduler=e,o.work=n,o.index=i,o.active=!0,o.index=e.index=i,o}return r.prototype.schedule=function(e,n){if(n===void 0&&(n=0),!this.id)return t.prototype.schedule.call(this,e,n);this.active=!1;var i=new r(this.scheduler,this.work);return this.add(i),i.schedule(e,n)},r.prototype.requestAsyncId=function(e,n,i){i===void 0&&(i=0),this.delay=e.frame+i;var o=e.actions;return o.push(this),o.sort(r.sortActions),!0},r.prototype.recycleAsyncId=function(e,n,i){i===void 0&&(i=0)},r.prototype._execute=function(e,n){if(this.active===!0)return t.prototype._execute.call(this,e,n)},r.sortActions=function(e,n){return e.delay===n.delay?e.index===n.index?0:e.index>n.index?1:-1:e.delay>n.delay?1:-1},r}(ns.AsyncAction);V.VirtualAction=hn});var Pr=s(Er=>{"use strict";Object.defineProperty(Er,"__esModule",{value:!0});function us(){}Er.noop=us});var dn=s(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var ss=p();function cs(t){return!!t&&(t instanceof ss.Observable||typeof t.lift=="function"&&typeof t.subscribe=="function")}xr.isObservable=cs});var _n=s(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});var as=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}();Mr.ArgumentOutOfRangeError=as});var yn=s(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});var ls=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}();Ir.EmptyError=ls});var mn=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});var fs=function(){function t(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return t.prototype=Object.create(Error.prototype),t}();Tr.TimeoutError=fs});var w=s(U=>{"use strict";var bs=U&&U.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(U,"__esModule",{value:!0});var ps=d();function hs(t,r){return function(n){if(typeof t!="function")throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Sn(t,r))}}U.map=hs;var Sn=function(){function t(r,e){this.project=r,this.thisArg=e}return t.prototype.call=function(r,e){return e.subscribe(new vs(r,this.project,this.thisArg))},t}();U.MapOperator=Sn;var vs=function(t){bs(r,t);function r(e,n,i){var o=t.call(this,e)||this;return o.project=n,o.count=0,o.thisArg=i||o,o}return r.prototype._next=function(e){var n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(i){this.destination.error(i);return}this.destination.next(n)},r}(ps.Subscriber)});var jn=s(Cr=>{"use strict";Object.defineProperty(Cr,"__esModule",{value:!0});var ds=p(),On=Ie(),_s=w(),ys=qe(),ms=_(),Ss=S();function gn(t,r,e){if(r)if(Ss.isScheduler(r))e=r;else return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return gn(t,e).apply(void 0,n).pipe(_s.map(function(o){return ms.isArray(o)?r.apply(void 0,o):r(o)}))};return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=this,u,c={context:o,subject:u,callbackFunc:t,scheduler:e};return new ds.Observable(function(a){if(e){var h={args:n,subscriber:a,params:c};return e.schedule(Os,0,h)}else{if(!u){u=new On.AsyncSubject;var f=function(){for(var l=[],b=0;b<arguments.length;b++)l[b]=arguments[b];u.next(l.length<=1?l[0]:l),u.complete()};try{t.apply(o,n.concat([f]))}catch(l){ys.canReportError(u)?u.error(l):console.warn(l)}}return u.subscribe(a)}})}}Cr.bindCallback=gn;function Os(t){var r=this,e=this,n=t.args,i=t.subscriber,o=t.params,u=o.callbackFunc,c=o.context,a=o.scheduler,f=o.subject;if(!f){f=o.subject=new On.AsyncSubject;var h=function(){for(var l=[],b=0;b<arguments.length;b++)l[b]=arguments[b];var B=l.length<=1?l[0]:l;r.add(a.schedule(gs,0,{value:B,subject:f}))};try{u.apply(c,n.concat([h]))}catch(l){f.error(l)}}this.add(f.subscribe(i))}function gs(t){var r=t.value,e=t.subject;e.next(r),e.complete()}});var En=s(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});var js=p(),An=Ie(),As=w(),qs=qe(),ws=S(),Es=_();function qn(t,r,e){if(r)if(ws.isScheduler(r))e=r;else return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return qn(t,e).apply(void 0,n).pipe(As.map(function(o){return Es.isArray(o)?r.apply(void 0,o):r(o)}))};return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o={subject:void 0,args:n,callbackFunc:t,scheduler:e,context:this};return new js.Observable(function(u){var c=o.context,a=o.subject;if(e)return e.schedule(Ps,0,{params:o,subscriber:u,context:c});if(!a){a=o.subject=new An.AsyncSubject;var f=function(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var b=h.shift();if(b){a.error(b);return}a.next(h.length<=1?h[0]:h),a.complete()};try{t.apply(c,n.concat([f]))}catch(h){qs.canReportError(a)?a.error(h):console.warn(h)}}return a.subscribe(u)})}}Rr.bindNodeCallback=qn;function Ps(t){var r=this,e=t.params,n=t.subscriber,i=t.context,o=e.callbackFunc,u=e.args,c=e.scheduler,a=e.subject;if(!a){a=e.subject=new An.AsyncSubject;var f=function(){for(var h=[],l=0;l<arguments.length;l++)h[l]=arguments[l];var b=h.shift();if(b)r.add(c.schedule(wn,0,{err:b,subject:a}));else{var B=h.length<=1?h[0]:h;r.add(c.schedule(xs,0,{value:B,subject:a}))}};try{o.apply(i,u.concat([f]))}catch(h){this.add(c.schedule(wn,0,{err:h,subject:a}))}}this.add(a.subscribe(n))}function xs(t){var r=t.value,e=t.subject;e.next(r),e.complete()}function wn(t){var r=t.err,e=t.subject;e.error(r)}});var Nr=s(ve=>{"use strict";var Ms=ve&&ve.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ve,"__esModule",{value:!0});var Is=d(),Ts=function(t){Ms(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.notifyNext=function(e,n,i,o,u){this.destination.next(n)},r.prototype.notifyError=function(e,n){this.destination.error(e)},r.prototype.notifyComplete=function(e){this.destination.complete()},r}(Is.Subscriber);ve.OuterSubscriber=Ts});var Pn=s(de=>{"use strict";var Cs=de&&de.__extends||function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},t(r,e)};return function(r,e){t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(de,"__esModule",{value:!0});var Rs=d(),Ns=function(t){Cs(r,t);function r(e,n,i){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=i,o.index=0,o}return r.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},r.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},r.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},r}(Rs.Subscriber);de.InnerSubscriber=Ns});var xn=s(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});var ks=Se();kr.subscribeToPromise=function(t){return function(r){return t.then(function(e){r.closed||(r.next(e),r.complete())},function(e){return r.error(e)}).then(null,ks.hostReportError),r}}});var Y=s(L=>{"use strict";Object.defineProperty(L,"__esModule",{value:!0});function Mn(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}L.getSymbolIterator=Mn;L.iterator=Mn();L.$$iterator=L.iterator});var In=s(Fr=>{"use strict";Object.defineProperty(Fr,"__esModule",{value:!0});var Fs=Y();Fr.subscribeToIterable=function(t){return function(r){var e=t[Fs.iterator]();do{var n=void 0;t