nestjs-logitron
Version:
Powerful logger module for Nodejs/ Nestjs, seamlessly integrating Pino and Winston for flexible logging with easy configuration.
3 lines • 148 kB
JavaScript
"use strict";var Qs=Object.create;var hr=Object.defineProperty;var fo=Object.getOwnPropertyDescriptor;var $s=Object.getOwnPropertyNames;var Js=Object.getPrototypeOf,Hs=Object.prototype.hasOwnProperty;var s=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),Zs=(r,t)=>{for(var e in t)hr(r,e,{get:t[e],enumerable:!0})},vo=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $s(t))!Hs.call(r,i)&&i!==e&&hr(r,i,{get:()=>t[i],enumerable:!(n=fo(t,i))||n.enumerable});return r};var po=(r,t,e)=>(e=r!=null?Qs(Js(r)):{},vo(t||!r||!r.__esModule?hr(e,"default",{value:r,enumerable:!0}):e,r)),Xs=r=>vo(hr({},"__esModule",{value:!0}),r),Rr=(r,t,e,n)=>{for(var i=n>1?void 0:n?fo(t,e):t,u=r.length-1,o;u>=0;u--)(o=r[u])&&(i=(n?o(t,e,i):o(i))||i);return n&&i&&hr(t,e,i),i};var S=s(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.isFunction=void 0;function ef(r){return typeof r=="function"}Wr.isFunction=ef});var H=s(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.createErrorClass=void 0;function rf(r){var t=function(n){Error.call(n),n.stack=new Error().stack},e=r(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}Nr.createErrorClass=rf});var Ji=s(Ur=>{"use strict";Object.defineProperty(Ur,"__esModule",{value:!0});Ur.UnsubscriptionError=void 0;var tf=H();Ur.UnsubscriptionError=tf.createErrorClass(function(r){return function(e){r(this),this.message=e?e.length+` errors occurred during unsubscription:
`+e.map(function(n,i){return i+1+") "+n.toString()}).join(`
`):"",this.name="UnsubscriptionError",this.errors=e}})});var Y=s(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.arrRemove=void 0;function nf(r,t){if(r){var e=r.indexOf(t);0<=e&&r.splice(e,1)}}Vr.arrRemove=nf});var C=s(I=>{"use strict";var bo=I&&I.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},_o=I&&I.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},ho=I&&I.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(I,"__esModule",{value:!0});I.isSubscription=I.EMPTY_SUBSCRIPTION=I.Subscription=void 0;var mr=S(),Hi=Ji(),mo=Y(),Zi=function(){function r(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var t,e,n,i,u;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var c=bo(o),f=c.next();!f.done;f=c.next()){var l=f.value;l.remove(this)}}catch(_){t={error:_}}finally{try{f&&!f.done&&(e=c.return)&&e.call(c)}finally{if(t)throw t.error}}else o.remove(this);var v=this.initialTeardown;if(mr.isFunction(v))try{v()}catch(_){u=_ instanceof Hi.UnsubscriptionError?_.errors:[_]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=bo(d),m=p.next();!m.done;m=p.next()){var h=m.value;try{yo(h)}catch(_){u=u??[],_ instanceof Hi.UnsubscriptionError?u=ho(ho([],_o(u)),_o(_.errors)):u.push(_)}}}catch(_){n={error:_}}finally{try{m&&!m.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(u)throw new Hi.UnsubscriptionError(u)}},r.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)yo(t);else{if(t instanceof r){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},r.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},r.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},r.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&mo.arrRemove(e,t)},r.prototype.remove=function(t){var e=this._finalizers;e&&mo.arrRemove(e,t),t instanceof r&&t._removeParent(this)},r.EMPTY=function(){var t=new r;return t.closed=!0,t}(),r}();I.Subscription=Zi;I.EMPTY_SUBSCRIPTION=Zi.EMPTY;function uf(r){return r instanceof Zi||r&&"closed"in r&&mr.isFunction(r.remove)&&mr.isFunction(r.add)&&mr.isFunction(r.unsubscribe)}I.isSubscription=uf;function yo(r){mr.isFunction(r)?r():r.unsubscribe()}});var xe=s(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.config=void 0;zr.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var Xi=s(N=>{"use strict";var Oo=N&&N.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},go=N&&N.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(N,"__esModule",{value:!0});N.timeoutProvider=void 0;N.timeoutProvider={setTimeout:function(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];var i=N.timeoutProvider.delegate;return i?.setTimeout?i.setTimeout.apply(i,go([r,t],Oo(e))):setTimeout.apply(void 0,go([r,t],Oo(e)))},clearTimeout:function(r){var t=N.timeoutProvider.delegate;return(t?.clearTimeout||clearTimeout)(r)},delegate:void 0}});var eu=s(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.reportUnhandledError=void 0;var of=xe(),af=Xi();function cf(r){af.timeoutProvider.setTimeout(function(){var t=of.config.onUnhandledError;if(t)t(r);else throw r})}Dr.reportUnhandledError=cf});var A=s(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.noop=void 0;function lf(){}Br.noop=lf});var qo=s(U=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0});U.createNotification=U.nextNotification=U.errorNotification=U.COMPLETE_NOTIFICATION=void 0;U.COMPLETE_NOTIFICATION=function(){return Yr("C",void 0,void 0)}();function sf(r){return Yr("E",void 0,r)}U.errorNotification=sf;function ff(r){return Yr("N",r,void 0)}U.nextNotification=ff;function Yr(r,t,e){return{kind:r,value:t,error:e}}U.createNotification=Yr});var Gr=s(Te=>{"use strict";Object.defineProperty(Te,"__esModule",{value:!0});Te.captureError=Te.errorContext=void 0;var So=xe(),qe=null;function vf(r){if(So.config.useDeprecatedSynchronousErrorHandling){var t=!qe;if(t&&(qe={errorThrown:!1,error:null}),r(),t){var e=qe,n=e.errorThrown,i=e.error;if(qe=null,n)throw i}}else r()}Te.errorContext=vf;function df(r){So.config.useDeprecatedSynchronousErrorHandling&&qe&&(qe.errorThrown=!0,qe.error=r)}Te.captureError=df});var Ce=s(L=>{"use strict";var wo=L&&L.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(L,"__esModule",{value:!0});L.EMPTY_OBSERVER=L.SafeSubscriber=L.Subscriber=void 0;var pf=S(),Po=C(),iu=xe(),bf=eu(),jo=A(),ru=qo(),_f=Xi(),hf=Gr(),Ao=function(r){wo(t,r);function t(e){var n=r.call(this)||this;return n.isStopped=!1,e?(n.destination=e,Po.isSubscription(e)&&e.add(n)):n.destination=L.EMPTY_OBSERVER,n}return t.create=function(e,n,i){return new Eo(e,n,i)},t.prototype.next=function(e){this.isStopped?nu(ru.nextNotification(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?nu(ru.errorNotification(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?nu(ru.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Po.Subscription);L.Subscriber=Ao;var mf=Function.prototype.bind;function tu(r,t){return mf.call(r,t)}var yf=function(){function r(t){this.partialObserver=t}return r.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(n){Kr(n)}},r.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(n){Kr(n)}else Kr(t)},r.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Kr(e)}},r}(),Eo=function(r){wo(t,r);function t(e,n,i){var u=r.call(this)||this,o;if(pf.isFunction(e)||!e)o={next:e??void 0,error:n??void 0,complete:i??void 0};else{var c;u&&iu.config.useDeprecatedNextContext?(c=Object.create(e),c.unsubscribe=function(){return u.unsubscribe()},o={next:e.next&&tu(e.next,c),error:e.error&&tu(e.error,c),complete:e.complete&&tu(e.complete,c)}):o=e}return u.destination=new yf(o),u}return t}(Ao);L.SafeSubscriber=Eo;function Kr(r){iu.config.useDeprecatedSynchronousErrorHandling?hf.captureError(r):bf.reportUnhandledError(r)}function Of(r){throw r}function nu(r,t){var e=iu.config.onStoppedNotification;e&&_f.timeoutProvider.setTimeout(function(){return e(r,t)})}L.EMPTY_OBSERVER={closed:!0,next:jo.noop,error:Of,complete:jo.noop}});var yr=s(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.observable=void 0;Qr.observable=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}()});var E=s($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.identity=void 0;function gf(r){return r}$r.identity=gf});var Or=s(ke=>{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});ke.pipeFromArray=ke.pipe=void 0;var qf=E();function Sf(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return Mo(r)}ke.pipe=Sf;function Mo(r){return r.length===0?qf.identity:r.length===1?r[0]:function(e){return r.reduce(function(n,i){return i(n)},e)}}ke.pipeFromArray=Mo});var P=s(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Observable=void 0;var ou=Ce(),Pf=C(),jf=yr(),wf=Or(),Af=xe(),uu=S(),Ef=Gr(),Mf=function(){function r(t){t&&(this._subscribe=t)}return r.prototype.lift=function(t){var e=new r;return e.source=this,e.operator=t,e},r.prototype.subscribe=function(t,e,n){var i=this,u=If(t)?t:new ou.SafeSubscriber(t,e,n);return Ef.errorContext(function(){var o=i,c=o.operator,f=o.source;u.add(c?c.call(u,f):f?i._subscribe(u):i._trySubscribe(u))}),u},r.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},r.prototype.forEach=function(t,e){var n=this;return e=Fo(e),new e(function(i,u){var o=new ou.SafeSubscriber({next:function(c){try{t(c)}catch(f){u(f),o.unsubscribe()}},error:u,complete:i});n.subscribe(o)})},r.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},r.prototype[jf.observable]=function(){return this},r.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return wf.pipeFromArray(t)(this)},r.prototype.toPromise=function(t){var e=this;return t=Fo(t),new t(function(n,i){var u;e.subscribe(function(o){return u=o},function(o){return i(o)},function(){return n(u)})})},r.create=function(t){return new r(t)},r}();Jr.Observable=Mf;function Fo(r){var t;return(t=r??Af.config.Promise)!==null&&t!==void 0?t:Promise}function Ff(r){return r&&uu.isFunction(r.next)&&uu.isFunction(r.error)&&uu.isFunction(r.complete)}function If(r){return r&&r instanceof ou.Subscriber||Ff(r)&&Pf.isSubscription(r)}});var b=s(Le=>{"use strict";Object.defineProperty(Le,"__esModule",{value:!0});Le.operate=Le.hasLift=void 0;var xf=S();function Io(r){return xf.isFunction(r?.lift)}Le.hasLift=Io;function Tf(r){return function(t){if(Io(t))return t.lift(function(e){try{return r(e,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}Le.operate=Tf});var O=s(Z=>{"use strict";var Cf=Z&&Z.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Z,"__esModule",{value:!0});Z.OperatorSubscriber=Z.createOperatorSubscriber=void 0;var kf=Ce();function Lf(r,t,e,n,i){return new xo(r,t,e,n,i)}Z.createOperatorSubscriber=Lf;var xo=function(r){Cf(t,r);function t(e,n,i,u,o,c){var f=r.call(this,e)||this;return f.onFinalize=o,f.shouldUnsubscribe=c,f._next=n?function(l){try{n(l)}catch(v){e.error(v)}}:r.prototype._next,f._error=u?function(l){try{u(l)}catch(v){e.error(v)}finally{this.unsubscribe()}}:r.prototype._error,f._complete=i?function(){try{i()}catch(l){e.error(l)}finally{this.unsubscribe()}}:r.prototype._complete,f}return t.prototype.unsubscribe=function(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;r.prototype.unsubscribe.call(this),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}},t}(kf.Subscriber);Z.OperatorSubscriber=xo});var au=s(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Hr.refCount=void 0;var Rf=b(),Wf=O();function Nf(){return Rf.operate(function(r,t){var e=null;r._refCount++;var n=Wf.createOperatorSubscriber(t,void 0,void 0,void 0,function(){if(!r||r._refCount<=0||0<--r._refCount){e=null;return}var i=r._connection,u=e;e=null,i&&(!u||i===u)&&i.unsubscribe(),t.unsubscribe()});r.subscribe(n),n.closed||(e=r.connect())})}Hr.refCount=Nf});var gr=s(Re=>{"use strict";var Uf=Re&&Re.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Re,"__esModule",{value:!0});Re.ConnectableObservable=void 0;var Vf=P(),To=C(),zf=au(),Df=O(),Bf=b(),Yf=function(r){Uf(t,r);function t(e,n){var i=r.call(this)||this;return i.source=e,i.subjectFactory=n,i._subject=null,i._refCount=0,i._connection=null,Bf.hasLift(e)&&(i.lift=e.lift),i}return t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,e?.unsubscribe()},t.prototype.connect=function(){var e=this,n=this._connection;if(!n){n=this._connection=new To.Subscription;var i=this.getSubject();n.add(this.source.subscribe(Df.createOperatorSubscriber(i,void 0,function(){e._teardown(),i.complete()},function(u){e._teardown(),i.error(u)},function(){return e._teardown()}))),n.closed&&(this._connection=null,n=To.Subscription.EMPTY)}return n},t.prototype.refCount=function(){return zf.refCount()(this)},t}(Vf.Observable);Re.ConnectableObservable=Yf});var Co=s(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.performanceTimestampProvider=void 0;qr.performanceTimestampProvider={now:function(){return(qr.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var cu=s(R=>{"use strict";var ko=R&&R.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Lo=R&&R.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(R,"__esModule",{value:!0});R.animationFrameProvider=void 0;var Gf=C();R.animationFrameProvider={schedule:function(r){var t=requestAnimationFrame,e=cancelAnimationFrame,n=R.animationFrameProvider.delegate;n&&(t=n.requestAnimationFrame,e=n.cancelAnimationFrame);var i=t(function(u){e=void 0,r(u)});return new Gf.Subscription(function(){return e?.(i)})},requestAnimationFrame:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=R.animationFrameProvider.delegate;return(e?.requestAnimationFrame||requestAnimationFrame).apply(void 0,Lo([],ko(r)))},cancelAnimationFrame:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=R.animationFrameProvider.delegate;return(e?.cancelAnimationFrame||cancelAnimationFrame).apply(void 0,Lo([],ko(r)))},delegate:void 0}});var No=s(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.animationFrames=void 0;var Kf=P(),Qf=Co(),Ro=cu();function $f(r){return r?Wo(r):Jf}Zr.animationFrames=$f;function Wo(r){return new Kf.Observable(function(t){var e=r||Qf.performanceTimestampProvider,n=e.now(),i=0,u=function(){t.closed||(i=Ro.animationFrameProvider.requestAnimationFrame(function(o){i=0;var c=e.now();t.next({timestamp:r?c:o,elapsed:c-n}),u()}))};return u(),function(){i&&Ro.animationFrameProvider.cancelAnimationFrame(i)}})}var Jf=Wo()});var lu=s(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.ObjectUnsubscribedError=void 0;var Hf=H();Xr.ObjectUnsubscribedError=Hf.createErrorClass(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var M=s(V=>{"use strict";var Vo=V&&V.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Zf=V&&V.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(V,"__esModule",{value:!0});V.AnonymousSubject=V.Subject=void 0;var Uo=P(),fu=C(),Xf=lu(),ev=Y(),su=Gr(),zo=function(r){Vo(t,r);function t(){var e=r.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var n=new vu(this,this);return n.operator=e,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Xf.ObjectUnsubscribedError},t.prototype.next=function(e){var n=this;su.errorContext(function(){var i,u;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Zf(n.currentObservers),c=o.next();!c.done;c=o.next()){var f=c.value;f.next(e)}}catch(l){i={error:l}}finally{try{c&&!c.done&&(u=o.return)&&u.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(e){var n=this;su.errorContext(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var i=n.observers;i.length;)i.shift().error(e)}})},t.prototype.complete=function(){var e=this;su.errorContext(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.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 e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var n=this,i=this,u=i.hasError,o=i.isStopped,c=i.observers;return u||o?fu.EMPTY_SUBSCRIPTION:(this.currentObservers=null,c.push(e),new fu.Subscription(function(){n.currentObservers=null,ev.arrRemove(c,e)}))},t.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,u=n.thrownError,o=n.isStopped;i?e.error(u):o&&e.complete()},t.prototype.asObservable=function(){var e=new Uo.Observable;return e.source=this,e},t.create=function(e,n){return new vu(e,n)},t}(Uo.Observable);V.Subject=zo;var vu=function(r){Vo(t,r);function t(e,n){var i=r.call(this)||this;return i.destination=e,i.source=n,i}return t.prototype.next=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,e)},t.prototype.error=function(e){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,e)},t.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},t.prototype._subscribe=function(e){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&i!==void 0?i:fu.EMPTY_SUBSCRIPTION},t}(zo);V.AnonymousSubject=vu});var du=s(We=>{"use strict";var rv=We&&We.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(We,"__esModule",{value:!0});We.BehaviorSubject=void 0;var tv=M(),nv=function(r){rv(t,r);function t(e){var n=r.call(this)||this;return n._value=e,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var n=r.prototype._subscribe.call(this,e);return!n.closed&&e.next(this._value),n},t.prototype.getValue=function(){var e=this,n=e.hasError,i=e.thrownError,u=e._value;if(n)throw i;return this._throwIfClosed(),u},t.prototype.next=function(e){r.prototype.next.call(this,this._value=e)},t}(tv.Subject);We.BehaviorSubject=nv});var et=s(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.dateTimestampProvider=void 0;Sr.dateTimestampProvider={now:function(){return(Sr.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var rt=s(Ne=>{"use strict";var iv=Ne&&Ne.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ne,"__esModule",{value:!0});Ne.ReplaySubject=void 0;var uv=M(),ov=et(),av=function(r){iv(t,r);function t(e,n,i){e===void 0&&(e=1/0),n===void 0&&(n=1/0),i===void 0&&(i=ov.dateTimestampProvider);var u=r.call(this)||this;return u._bufferSize=e,u._windowTime=n,u._timestampProvider=i,u._buffer=[],u._infiniteTimeWindow=!0,u._infiniteTimeWindow=n===1/0,u._bufferSize=Math.max(1,e),u._windowTime=Math.max(1,n),u}return t.prototype.next=function(e){var n=this,i=n.isStopped,u=n._buffer,o=n._infiniteTimeWindow,c=n._timestampProvider,f=n._windowTime;i||(u.push(e),!o&&u.push(c.now()+f)),this._trimBuffer(),r.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),i=this,u=i._infiniteTimeWindow,o=i._buffer,c=o.slice(),f=0;f<c.length&&!e.closed;f+=u?1:2)e.next(c[f]);return this._checkFinalizedStatuses(e),n},t.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,i=e._timestampProvider,u=e._buffer,o=e._infiniteTimeWindow,c=(o?1:2)*n;if(n<1/0&&c<u.length&&u.splice(0,u.length-c),!o){for(var f=i.now(),l=0,v=1;v<u.length&&u[v]<=f;v+=2)l=v;l&&u.splice(0,l+1)}},t}(uv.Subject);Ne.ReplaySubject=av});var tt=s(Ue=>{"use strict";var cv=Ue&&Ue.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ue,"__esModule",{value:!0});Ue.AsyncSubject=void 0;var lv=M(),sv=function(r){cv(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return t.prototype._checkFinalizedStatuses=function(e){var n=this,i=n.hasError,u=n._hasValue,o=n._value,c=n.thrownError,f=n.isStopped,l=n._isComplete;i?e.error(c):(f||l)&&(u&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var e=this,n=e._hasValue,i=e._value,u=e._isComplete;u||(this._isComplete=!0,n&&r.prototype.next.call(this,i),r.prototype.complete.call(this))},t}(lv.Subject);Ue.AsyncSubject=sv});var Do=s(Ve=>{"use strict";var fv=Ve&&Ve.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ve,"__esModule",{value:!0});Ve.Action=void 0;var vv=C(),dv=function(r){fv(t,r);function t(e,n){return r.call(this)||this}return t.prototype.schedule=function(e,n){return n===void 0&&(n=0),this},t}(vv.Subscription);Ve.Action=dv});var Go=s(z=>{"use strict";var Bo=z&&z.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Yo=z&&z.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(z,"__esModule",{value:!0});z.intervalProvider=void 0;z.intervalProvider={setInterval:function(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];var i=z.intervalProvider.delegate;return i?.setInterval?i.setInterval.apply(i,Yo([r,t],Bo(e))):setInterval.apply(void 0,Yo([r,t],Bo(e)))},clearInterval:function(r){var t=z.intervalProvider.delegate;return(t?.clearInterval||clearInterval)(r)},delegate:void 0}});var De=s(ze=>{"use strict";var pv=ze&&ze.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(ze,"__esModule",{value:!0});ze.AsyncAction=void 0;var bv=Do(),Ko=Go(),_v=Y(),hv=function(r){pv(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return t.prototype.schedule=function(e,n){var i;if(n===void 0&&(n=0),this.closed)return this;this.state=e;var u=this.id,o=this.scheduler;return u!=null&&(this.id=this.recycleAsyncId(o,u,n)),this.pending=!0,this.delay=n,this.id=(i=this.id)!==null&&i!==void 0?i:this.requestAsyncId(o,this.id,n),this},t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),Ko.intervalProvider.setInterval(e.flush.bind(e,this),i)},t.prototype.recycleAsyncId=function(e,n,i){if(i===void 0&&(i=0),i!=null&&this.delay===i&&this.pending===!1)return n;n!=null&&Ko.intervalProvider.clearInterval(n)},t.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))},t.prototype._execute=function(e,n){var i=!1,u;try{this.work(e)}catch(o){i=!0,u=o||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),u},t.prototype.unsubscribe=function(){if(!this.closed){var e=this,n=e.id,i=e.scheduler,u=i.actions;this.work=this.state=this.scheduler=null,this.pending=!1,_v.arrRemove(u,this),n!=null&&(this.id=this.recycleAsyncId(i,n,null)),this.delay=null,r.prototype.unsubscribe.call(this)}},t}(bv.Action);ze.AsyncAction=hv});var $o=s(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.TestTools=Be.Immediate=void 0;var mv=1,pu,nt={};function Qo(r){return r in nt?(delete nt[r],!0):!1}Be.Immediate={setImmediate:function(r){var t=mv++;return nt[t]=!0,pu||(pu=Promise.resolve()),pu.then(function(){return Qo(t)&&r()}),t},clearImmediate:function(r){Qo(r)}};Be.TestTools={pending:function(){return Object.keys(nt).length}}});var Ho=s(D=>{"use strict";var yv=D&&D.__read||function(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,u=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)u.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return u},Ov=D&&D.__spreadArray||function(r,t){for(var e=0,n=t.length,i=r.length;e<n;e++,i++)r[i]=t[e];return r};Object.defineProperty(D,"__esModule",{value:!0});D.immediateProvider=void 0;var Jo=$o(),gv=Jo.Immediate.setImmediate,qv=Jo.Immediate.clearImmediate;D.immediateProvider={setImmediate:function(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=D.immediateProvider.delegate;return(e?.setImmediate||gv).apply(void 0,Ov([],yv(r)))},clearImmediate:function(r){var t=D.immediateProvider.delegate;return(t?.clearImmediate||qv)(r)},delegate:void 0}});var Xo=s(Ye=>{"use strict";var Sv=Ye&&Ye.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ye,"__esModule",{value:!0});Ye.AsapAction=void 0;var Pv=De(),Zo=Ho(),jv=function(r){Sv(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e._scheduled||(e._scheduled=Zo.immediateProvider.setImmediate(e.flush.bind(e,void 0))))},t.prototype.recycleAsyncId=function(e,n,i){var u;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,e,n,i);var o=e.actions;n!=null&&((u=o[o.length-1])===null||u===void 0?void 0:u.id)!==n&&(Zo.immediateProvider.clearImmediate(n),e._scheduled===n&&(e._scheduled=void 0))},t}(Pv.AsyncAction);Ye.AsapAction=jv});var bu=s(it=>{"use strict";Object.defineProperty(it,"__esModule",{value:!0});it.Scheduler=void 0;var wv=et(),Av=function(){function r(t,e){e===void 0&&(e=r.now),this.schedulerActionCtor=t,this.now=e}return r.prototype.schedule=function(t,e,n){return e===void 0&&(e=0),new this.schedulerActionCtor(this,t).schedule(n,e)},r.now=wv.dateTimestampProvider.now,r}();it.Scheduler=Av});var Ke=s(Ge=>{"use strict";var Ev=Ge&&Ge.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ge,"__esModule",{value:!0});Ge.AsyncScheduler=void 0;var ea=bu(),Mv=function(r){Ev(t,r);function t(e,n){n===void 0&&(n=ea.Scheduler.now);var i=r.call(this,e,n)||this;return i.actions=[],i._active=!1,i}return t.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}},t}(ea.Scheduler);Ge.AsyncScheduler=Mv});var ra=s(Qe=>{"use strict";var Fv=Qe&&Qe.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Qe,"__esModule",{value:!0});Qe.AsapScheduler=void 0;var Iv=Ke(),xv=function(r){Fv(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.flush=function(e){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var i=this.actions,u;e=e||i.shift();do if(u=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===n&&i.shift());if(this._active=!1,u){for(;(e=i[0])&&e.id===n&&i.shift();)e.unsubscribe();throw u}},t}(Iv.AsyncScheduler);Qe.AsapScheduler=xv});var ta=s(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.asap=Se.asapScheduler=void 0;var Tv=Xo(),Cv=ra();Se.asapScheduler=new Cv.AsapScheduler(Tv.AsapAction);Se.asap=Se.asapScheduler});var x=s(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.async=Pe.asyncScheduler=void 0;var kv=De(),Lv=Ke();Pe.asyncScheduler=new Lv.AsyncScheduler(kv.AsyncAction);Pe.async=Pe.asyncScheduler});var na=s($e=>{"use strict";var Rv=$e&&$e.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty($e,"__esModule",{value:!0});$e.QueueAction=void 0;var Wv=De(),Nv=function(r){Rv(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.schedule=function(e,n){return n===void 0&&(n=0),n>0?r.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},t.prototype.execute=function(e,n){return n>0||this.closed?r.prototype.execute.call(this,e,n):this._execute(e,n)},t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!=null&&i>0||i==null&&this.delay>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.flush(this),0)},t}(Wv.AsyncAction);$e.QueueAction=Nv});var ia=s(Je=>{"use strict";var Uv=Je&&Je.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Je,"__esModule",{value:!0});Je.QueueScheduler=void 0;var Vv=Ke(),zv=function(r){Uv(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(Vv.AsyncScheduler);Je.QueueScheduler=zv});var ua=s(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.queue=je.queueScheduler=void 0;var Dv=na(),Bv=ia();je.queueScheduler=new Bv.QueueScheduler(Dv.QueueAction);je.queue=je.queueScheduler});var aa=s(He=>{"use strict";var Yv=He&&He.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(He,"__esModule",{value:!0});He.AnimationFrameAction=void 0;var Gv=De(),oa=cu(),Kv=function(r){Yv(t,r);function t(e,n){var i=r.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return t.prototype.requestAsyncId=function(e,n,i){return i===void 0&&(i=0),i!==null&&i>0?r.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e._scheduled||(e._scheduled=oa.animationFrameProvider.requestAnimationFrame(function(){return e.flush(void 0)})))},t.prototype.recycleAsyncId=function(e,n,i){var u;if(i===void 0&&(i=0),i!=null?i>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,e,n,i);var o=e.actions;n!=null&&n===e._scheduled&&((u=o[o.length-1])===null||u===void 0?void 0:u.id)!==n&&(oa.animationFrameProvider.cancelAnimationFrame(n),e._scheduled=void 0)},t}(Gv.AsyncAction);He.AnimationFrameAction=Kv});var ca=s(Ze=>{"use strict";var Qv=Ze&&Ze.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(Ze,"__esModule",{value:!0});Ze.AnimationFrameScheduler=void 0;var $v=Ke(),Jv=function(r){Qv(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.flush=function(e){this._active=!0;var n;e?n=e.id:(n=this._scheduled,this._scheduled=void 0);var i=this.actions,u;e=e||i.shift();do if(u=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===n&&i.shift());if(this._active=!1,u){for(;(e=i[0])&&e.id===n&&i.shift();)e.unsubscribe();throw u}},t}($v.AsyncScheduler);Ze.AnimationFrameScheduler=Jv});var la=s(we=>{"use strict";Object.defineProperty(we,"__esModule",{value:!0});we.animationFrame=we.animationFrameScheduler=void 0;var Hv=aa(),Zv=ca();we.animationFrameScheduler=new Zv.AnimationFrameScheduler(Hv.AnimationFrameAction);we.animationFrame=we.animationFrameScheduler});var va=s(X=>{"use strict";var sa=X&&X.__extends||function(){var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(n[u]=i[u])},r(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();Object.defineProperty(X,"__esModule",{value:!0});X.VirtualAction=X.VirtualTimeScheduler=void 0;var Xv=De(),ed=C(),rd=Ke(),td=function(r){sa(t,r);function t(e,n){e===void 0&&(e=fa),n===void 0&&(n=1/0);var i=r.call(this,e,function(){return i.frame})||this;return i.maxFrames=n,i.frame=0,i.index=-1,i}return t.prototype.flush=function(){for(var e=this,n=e.actions,i=e.maxFrames,u,o;(o=n[0])&&o.delay<=i&&(n.shift(),this.frame=o.delay,!(u=o.execute(o.state,o.delay))););if(u){for(;o=n.shift();)o.unsubscribe();throw u}},t.frameTimeFactor=10,t}(rd.AsyncScheduler);X.VirtualTimeScheduler=td;var fa=function(r){sa(t,r);function t(e,n,i){i===void 0&&(i=e.index+=1);var u=r.call(this,e,n)||this;return u.scheduler=e,u.work=n,u.index=i,u.active=!0,u.index=e.index=i,u}return t.prototype.schedule=function(e,n){if(n===void 0&&(n=0),Number.isFinite(n)){if(!this.id)return r.prototype.schedule.call(this,e,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(e,n)}else return ed.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,n,i){i===void 0&&(i=0),this.delay=e.frame+i;var u=e.actions;return u.push(this),u.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,n,i){i===void 0&&(i=0)},t.prototype._execute=function(e,n){if(this.active===!0)return r.prototype._execute.call(this,e,n)},t.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},t}(Xv.AsyncAction);X.VirtualAction=fa});var W=s(Ae=>{"use strict";Object.defineProperty(Ae,"__esModule",{value:!0});Ae.empty=Ae.EMPTY=void 0;var da=P();Ae.EMPTY=new da.Observable(function(r){return r.complete()});function nd(r){return r?id(r):Ae.EMPTY}Ae.empty=nd;function id(r){return new da.Observable(function(t){return r.schedule(function(){return t.complete()})})}});var Pr=s(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});ut.isScheduler=void 0;var ud=S();function od(r){return r&&ud.isFunction(r.schedule)}ut.isScheduler=od});var T=s(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.popNumber=ee.popScheduler=ee.popResultSelector=void 0;var ad=S(),cd=Pr();function _u(r){return r[r.length-1]}function ld(r){return ad.isFunction(_u(r))?r.pop():void 0}ee.popResultSelector=ld;function sd(r){return cd.isScheduler(_u(r))?r.pop():void 0}ee.popScheduler=sd;function fd(r,t){return typeof _u(r)=="number"?r.pop():t}ee.popNumber=fd});var at=s(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.isArrayLike=void 0;ot.isArrayLike=function(r){return r&&typeof r.length=="number"&&typeof r!="function"}});var hu=s(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct.isPromise=void 0;var vd=S();function dd(r){return vd.isFunction(r?.then)}ct.isPromise=dd});var mu=s(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});lt.isInteropObservable=void 0;var pd=yr(),bd=S();function _d(r){return bd.isFunction(r[pd.observable])}lt.isInteropObservable=_d});var yu=s(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.isAsyncIterable=void 0;var hd=S();function md(r){return Symbol.asyncIterator&&hd.isFunction(r?.[Symbol.asyncIterator])}st.isAsyncIterable=md});var Ou=s(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.createInvalidObservableTypeError=void 0;function yd(r){return new TypeError("You provided "+(r!==null&&typeof r=="object"?"an invalid object":"'"+r+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}ft.createInvalidObservableTypeError=yd});var gu=s(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.iterator=Xe.getSymbolIterator=void 0;function pa(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}Xe.getSymbolIterator=pa;Xe.iterator=pa()});var qu=s(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.isIterable=void 0;var Od=gu(),gd=S();function qd(r){return gd.isFunction(r?.[Od.iterator])}vt.isIterable=qd});var dt=s(k=>{"use strict";var Sd=k&&k.__generator||function(r,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(l){return function(v){return f([l,v])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(u=l[0]&2?i.return:l[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,l[1])).done)return u;switch(i=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,i=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(u=e.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){e.label=l[1];break}if(l[0]===6&&e.label<u[1]){e.label=u[1],u=l;break}if(u&&e.label<u[2]){e.label=u[2],e.ops.push(l);break}u[2]&&e.ops.pop(),e.trys.pop();continue}l=t.call(r,e)}catch(v){l=[6,v],i=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},er=k&&k.__await||function(r){return this instanceof er?(this.v=r,this):new er(r)},Pd=k&&k.__asyncGenerator||function(r,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e.apply(r,t||[]),i,u=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(p){n[p]&&(i[p]=function(m){return new Promise(function(h,_){u.push([p,m,h,_])>1||c(p,m)})})}function c(p,m){try{f(n[p](m))}catch(h){d(u[0][3],h)}}function f(p){p.value instanceof er?Promise.resolve(p.value.v).then(l,v):d(u[0][2],p)}function l(p){c("next",p)}function v(p){c("throw",p)}function d(p,m){p(m),u.shift(),u.length&&c(u[0][0],u[0][1])}};Object.defineProperty(k,"__esModule",{value:!0});k.isReadableStreamLike=k.readableStreamLikeToAsyncGenerator=void 0;var jd=S();function wd(r){return Pd(this,arguments,function(){var e,n,i,u;return Sd(this,function(o){switch(o.label){case 0:e=r.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,er(e.read())];case 3:return n=o.sent(),i=n.value,u=n.done,u?[4,er(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,er(i)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return e.releaseLock(),[7];case 10:return[2]}})})}k.readableStreamLikeToAsyncGenerator=wd;function Ad(r){return jd.isFunction(r?.getReader)}k.isReadableStreamLike=Ad});var q=s(w=>{"use strict";var Ed=w&&w.__awaiter||function(r,t,e,n){function i(u){return u instanceof e?u:new e(function(o){o(u)})}return new(e||(e=Promise))(function(u,o){function c(v){try{l(n.next(v))}catch(d){o(d)}}function f(v){try{l(n.throw(v))}catch(d){o(d)}}function l(v){v.done?u(v.value):i(v.value).then(c,f)}l((n=n.apply(r,t||[])).next())})},Md=w&&w.__generator||function(r,t){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},n,i,u,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(l){return function(v){return f([l,v])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(u=l[0]&2?i.return:l[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,l[1])).done)return u;switch(i=0,u&&(l=[l[0]&2,u.value]),l[0]){case 0:case 1:u=l;break;case 4:return e.label++,{value:l[1],done:!1};case 5:e.label++,i=l[1],l=[0];continue;case 7:l=e.ops.pop(),e.trys.pop();continue;default:if(u=e.trys,!(u=u.length>0&&u[u.length-1])&&(l[0]===6||l[0]===2)){e=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){e.label=l[1];break}if(l[0]===6&&e.label<u[1]){e.label=u[1],u=l;break}if(u&&e.label<u[2]){e.label=u[2],e.ops.push(l);break}u[2]&&e.ops.pop(),e.trys.pop();continue}l=t.call(r,e)}catch(v){l=[6,v],i=0}finally{n=u=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},Fd=w&&w.__asyncValues||function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r[Symbol.asyncIterator],e;return t?t.call(r):(r=typeof Su=="function"?Su(r):r[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(u){e[u]=r[u]&&function(o){return new Promise(function(c,f){o=r[u](o),i(c,f,o.done,o.value)})}}function i(u,o,c,f){Promise.resolve(f).then(function(l){u({value:l,done:c})},o)}},Su=w&&w.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(w,"__esModule",{value:!0});w.fromReadableStreamLike=w.fromAsyncIterable=w.fromIterable=w.fromPromise=w.fromArrayLike=w.fromInteropObservable=w.innerFrom=void 0;var Id=at(),xd=hu(),rr=P(),Td=mu(),Cd=yu(),kd=Ou(),Ld=qu(),ba=dt(),Rd=S