@blackglory/observe 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +6058 -1948
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +6058 -1948
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +2 -2
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +6058 -1948
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +6058 -1948
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +2 -2
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/index.js +5 -1
- package/lib/es2015/index.js.map +1 -1
- package/lib/es2018/index.js +5 -1
- package/lib/es2018/index.js.map +1 -1
- package/package.json +17 -17
|
@@ -12,5 +12,5 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
12
12
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
13
|
PERFORMANCE OF THIS SOFTWARE.
|
|
14
14
|
***************************************************************************** */
|
|
15
|
-
var n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})(t,e)};function t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function e(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))}function r(n,t){var e,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(n,a)}catch(n){i=[6,n],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function o(n){var t="function"==typeof Symbol&&Symbol.iterator,e=t&&n[t],r=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&r>=n.length&&(n=void 0),{value:n&&n[r++],done:!n}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(n,t){var e="function"==typeof Symbol&&n[Symbol.iterator];if(!e)return n;var r,o,i=e.call(n),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(n){o={error:n}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return a}function a(n,t,e){if(e||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return n.concat(r||Array.prototype.slice.call(t))}function c(n){return this instanceof c?(this.v=n,this):new c(n)}function s(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||s(n,t)}))})}function s(n,t){try{(e=o[n](t)).value instanceof c?Promise.resolve(e.value.v).then(u,l):f(i[0][2],e)}catch(n){f(i[0][3],n)}var e}function u(n){s("next",n)}function l(n){s("throw",n)}function f(n,t){n(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function u(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n=o(n),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}}function l(n){return"function"==typeof n}var f,y=((f=function(n){return function(t){n(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(n,t){return t+1+") "+n.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}((function(n){Error.call(n),n.stack=(new Error).stack}))).prototype=Object.create(Error.prototype),f.prototype.constructor=f,f);function d(n,t){if(n){var e=n.indexOf(t);0<=e&&n.splice(e,1)}}var p=function(){function n(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=null}var t;return n.prototype.unsubscribe=function(){var n,t,e,r,c;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var u=o(s),f=u.next();!f.done;f=u.next()){f.value.remove(this)}}catch(t){n={error:t}}finally{try{f&&!f.done&&(t=u.return)&&t.call(u)}finally{if(n)throw n.error}}else s.remove(this);var d=this.initialTeardown;if(l(d))try{d()}catch(n){c=n instanceof y?n.errors:[n]}var p=this._teardowns;if(p){this._teardowns=null;try{for(var h=o(p),b=h.next();!b.done;b=h.next()){var m=b.value;try{v(m)}catch(n){c=null!=c?c:[],n instanceof y?c=a(a([],i(c)),i(n.errors)):c.push(n)}}}catch(n){e={error:n}}finally{try{b&&!b.done&&(r=h.return)&&r.call(h)}finally{if(e)throw e.error}}}if(c)throw new y(c)}},n.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)v(t);else{if(t instanceof n){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}},n.prototype._hasParent=function(n){var t=this._parentage;return t===n||Array.isArray(t)&&t.includes(n)},n.prototype._addParent=function(n){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n},n.prototype._removeParent=function(n){var t=this._parentage;t===n?this._parentage=null:Array.isArray(t)&&d(t,n)},n.prototype.remove=function(t){var e=this._teardowns;e&&d(e,t),t instanceof n&&t._removeParent(this)},n.EMPTY=((t=new n).closed=!0,t),n}();function h(n){return n instanceof p||n&&"closed"in n&&l(n.remove)&&l(n.add)&&l(n.unsubscribe)}function v(n){l(n)?n():n.unsubscribe()}var b={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},m={setTimeout:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=m.delegate;return((null==e?void 0:e.setTimeout)||setTimeout).apply(void 0,a([],i(n)))},clearTimeout:function(n){var t=m.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(n)},delegate:void 0};function w(n){m.setTimeout((function(){var t=b.onUnhandledError;if(!t)throw n;t(n)}))}function A(){}var S=_("C",void 0,void 0);function _(n,t,e){return{kind:n,value:t,error:e}}var O=null;function I(n){b.useDeprecatedSynchronousErrorHandling&&O&&(O.errorThrown=!0,O.error=n)}var g=function(n){function e(t){var e=n.call(this)||this;return e.isStopped=!1,t?(e.destination=t,h(t)&&t.add(e)):e.destination=j,e}return t(e,n),e.create=function(n,t,e){return new x(n,t,e)},e.prototype.next=function(n){this.isStopped?B(function(n){return _("N",n,void 0)}(n),this):this._next(n)},e.prototype.error=function(n){this.isStopped?B(function(n){return _("E",void 0,n)}(n),this):(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped?B(S,this):(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(p),x=function(n){function e(t,e,r){var o,i=n.call(this)||this;if(l(t))o=t;else if(t){var a;o=t.next,e=t.error,r=t.complete,i&&b.useDeprecatedNextContext?(a=Object.create(t)).unsubscribe=function(){return i.unsubscribe()}:a=t,o=null==o?void 0:o.bind(a),e=null==e?void 0:e.bind(a),r=null==r?void 0:r.bind(a)}return i.destination={next:o?P(o):A,error:P(null!=e?e:T),complete:r?P(r):A},i}return t(e,n),e}(g);function P(n,t){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];try{n.apply(void 0,a([],i(t)))}catch(n){b.useDeprecatedSynchronousErrorHandling?I(n):w(n)}}}function T(n){throw n}function B(n,t){var e=b.onStoppedNotification;e&&m.setTimeout((function(){return e(n,t)}))}var j={closed:!0,next:A,error:T,complete:A},E="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(n){return n}function C(n){return 0===n.length?k:1===n.length?n[0]:function(t){return n.reduce((function(n,t){return t(n)}),t)}}var R=function(){function n(n){n&&(this._subscribe=n)}return n.prototype.lift=function(t){var e=new n;return e.source=this,e.operator=t,e},n.prototype.subscribe=function(n,t,e){var r,o=this,i=(r=n)&&r instanceof g||function(n){return n&&l(n.next)&&l(n.error)&&l(n.complete)}(r)&&h(r)?n:new x(n,t,e);return function(n){if(b.useDeprecatedSynchronousErrorHandling){var t=!O;if(t&&(O={errorThrown:!1,error:null}),n(),t){var e=O,r=e.errorThrown,o=e.error;if(O=null,r)throw o}}else n()}((function(){var n=o,t=n.operator,e=n.source;i.add(t?t.call(i,e):e?o._subscribe(i):o._trySubscribe(i))})),i},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(t){n.error(t)}},n.prototype.forEach=function(n,t){var e=this;return new(t=U(t))((function(t,r){var o=new x({next:function(t){try{n(t)}catch(n){r(n),o.unsubscribe()}},error:r,complete:t});e.subscribe(o)}))},n.prototype._subscribe=function(n){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(n)},n.prototype[E]=function(){return this},n.prototype.pipe=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return C(n)(this)},n.prototype.toPromise=function(n){var t=this;return new(n=U(n))((function(n,e){var r;t.subscribe((function(n){return r=n}),(function(n){return e(n)}),(function(){return n(r)}))}))},n.create=function(t){return new n(t)},n}();function U(n){var t;return null!==(t=null!=n?n:b.Promise)&&void 0!==t?t:Promise}function F(n){return function(t){if(function(n){return l(null==n?void 0:n.lift)}(t))return t.lift((function(t){try{return n(t,this)}catch(n){this.error(n)}}));throw new TypeError("Unable to lift unknown Observable type")}}var D=function(n){function e(t,e,r,o,i){var a=n.call(this,t)||this;return a.onFinalize=i,a._next=e?function(n){try{e(n)}catch(n){t.error(n)}}:n.prototype._next,a._error=o?function(n){try{o(n)}catch(n){t.error(n)}finally{this.unsubscribe()}}:n.prototype._error,a._complete=r?function(){try{r()}catch(n){t.error(n)}finally{this.unsubscribe()}}:n.prototype._complete,a}return t(e,n),e.prototype.unsubscribe=function(){var t,e=this.closed;n.prototype.unsubscribe.call(this),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))},e}(g),q={now:function(){return(q.delegate||performance).now()},delegate:void 0},N={schedule:function(n){var t=requestAnimationFrame,e=cancelAnimationFrame,r=N.delegate;r&&(t=r.requestAnimationFrame,e=r.cancelAnimationFrame);var o=t((function(t){e=void 0,n(t)}));return new p((function(){return null==e?void 0:e(o)}))},requestAnimationFrame:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=N.delegate;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame).apply(void 0,a([],i(n)))},cancelAnimationFrame:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=N.delegate;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,a([],i(n)))},delegate:void 0};function V(n){var t=N.schedule;return new R((function(e){var r=new p,o=n||q,i=o.now(),a=function(c){var s=o.now();e.next({timestamp:n?s:c,elapsed:s-i}),e.closed||r.add(t(a))};return r.add(t(a)),r}))}var G=V(),L=new R((function(n){return n.complete()}));function J(n){return n[n.length-1]}function z(n){return(t=J(n))&&l(t.schedule)?n.pop():void 0;var t}function M(n,t){return"number"==typeof J(n)?n.pop():t}var Z=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n};function H(n){return l(null==n?void 0:n.then)}function Y(n){return l(n[E])}function W(n){return Symbol.asyncIterator&&l(null==n?void 0:n[Symbol.asyncIterator])}function K(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Q="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function X(n){return l(null==n?void 0:n[Q])}function $(n){return s(this,arguments,(function(){var t,e,o;return r(this,(function(r){switch(r.label){case 0:t=n.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,c(t.read())];case 3:return e=r.sent(),o=e.value,e.done?[4,c(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,c(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function nn(n){return l(null==n?void 0:n.getReader)}function tn(n){if(n instanceof R)return n;if(null!=n){if(Y(n))return e=n,new R((function(n){var t=e[E]();if(l(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Z(n))return function(n){return new R((function(t){for(var e=0;e<n.length&&!t.closed;e++)t.next(n[e]);t.complete()}))}(n);if(H(n))return t=n,new R((function(n){t.then((function(t){n.closed||(n.next(t),n.complete())}),(function(t){return n.error(t)})).then(null,w)}));if(W(n))return en(n);if(X(n))return function(n){return new R((function(t){var e,r;try{for(var i=o(n),a=i.next();!a.done;a=i.next()){var c=a.value;if(t.next(c),t.closed)return}}catch(n){e={error:n}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}t.complete()}))}(n);if(nn(n))return en($(n))}var t,e;throw K(n)}function en(n){return new R((function(t){(function(n,t){var o,i,a,c;return e(this,void 0,void 0,(function(){var e,s;return r(this,(function(r){switch(r.label){case 0:r.trys.push([0,5,6,11]),o=u(n),r.label=1;case 1:return[4,o.next()];case 2:if((i=r.sent()).done)return[3,4];if(e=i.value,t.next(e),t.closed)return[2];r.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=r.sent(),a={error:s},[3,11];case 6:return r.trys.push([6,,9,10]),i&&!i.done&&(c=o.return)?[4,c.call(o)]:[3,8];case 7:r.sent(),r.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(n,t).catch((function(n){return t.error(n)}))}))}function rn(n,t,e,r,o){void 0===r&&(r=0),void 0===o&&(o=!1);var i=t.schedule((function(){e(),o?n.add(this.schedule(null,r)):this.unsubscribe()}),r);if(n.add(i),!o)return i}function on(n,t){return void 0===t&&(t=0),F((function(e,r){e.subscribe(new D(r,(function(e){return rn(r,n,(function(){return r.next(e)}),t)}),(function(){return rn(r,n,(function(){return r.complete()}),t)}),(function(e){return rn(r,n,(function(){return r.error(e)}),t)})))}))}function an(n,t){return void 0===t&&(t=0),F((function(e,r){r.add(n.schedule((function(){return e.subscribe(r)}),t))}))}function cn(n,t){if(!n)throw new Error("Iterable cannot be null");return new R((function(e){rn(e,t,(function(){var r=n[Symbol.asyncIterator]();rn(e,t,(function(){r.next().then((function(n){n.done?e.complete():e.next(n.value)}))}),0,!0)}))}))}function sn(n,t){if(null!=n){if(Y(n))return function(n,t){return tn(n).pipe(an(t),on(t))}(n,t);if(Z(n))return function(n,t){return new R((function(e){var r=0;return t.schedule((function(){r===n.length?e.complete():(e.next(n[r++]),e.closed||this.schedule())}))}))}(n,t);if(H(n))return function(n,t){return tn(n).pipe(an(t),on(t))}(n,t);if(W(n))return cn(n,t);if(X(n))return function(n,t){return new R((function(e){var r;return rn(e,t,(function(){r=n[Q](),rn(e,t,(function(){var n,t,o;try{t=(n=r.next()).value,o=n.done}catch(n){return void e.error(n)}o?e.complete():e.next(t)}),0,!0)})),function(){return l(null==r?void 0:r.return)&&r.return()}}))}(n,t);if(nn(n))return function(n,t){return cn($(n),t)}(n,t)}throw K(n)}function un(n,t){return t?sn(n,t):tn(n)}function ln(n,t){return F((function(e,r){var o=0;e.subscribe(new D(r,(function(e){r.next(n.call(t,e,o++))})))}))}var fn=Array.isArray;function yn(n){return ln((function(t){return function(n,t){return fn(t)?n.apply(void 0,a([],i(t))):n(t)}(n,t)}))}function dn(n,t,e){return void 0===e&&(e=1/0),l(t)?dn((function(e,r){return ln((function(n,o){return t(e,n,r,o)}))(tn(n(e,r)))}),e):("number"==typeof t&&(e=t),F((function(t,r){return function(n,t,e,r,o,i,a,c){var s=[],u=0,l=0,f=!1,y=function(){!f||s.length||u||t.complete()},d=function(n){return u<r?p(n):s.push(n)},p=function(n){i&&t.next(n),u++;var c=!1;tn(e(n,l++)).subscribe(new D(t,(function(n){null==o||o(n),i?d(n):t.next(n)}),(function(){c=!0}),void 0,(function(){if(c)try{u--;for(var n=function(){var n=s.shift();a?rn(t,a,(function(){return p(n)})):p(n)};s.length&&u<r;)n();y()}catch(n){t.error(n)}})))};return n.subscribe(new D(t,d,(function(){f=!0,y()}))),function(){null==c||c()}}(t,r,n,e)})))}function pn(n){return void 0===n&&(n=1/0),dn(k,n)}var hn=["addListener","removeListener"],vn=["addEventListener","removeEventListener"],bn=["on","off"];function mn(n,t,e,r){if(l(e)&&(r=e,e=void 0),r)return mn(n,t,e).pipe(yn(r));var o=i(function(n){return l(n.addEventListener)&&l(n.removeEventListener)}(n)?vn.map((function(r){return function(o){return n[r](t,o,e)}})):function(n){return l(n.addListener)&&l(n.removeListener)}(n)?hn.map(wn(n,t)):function(n){return l(n.on)&&l(n.off)}(n)?bn.map(wn(n,t)):[],2),a=o[0],c=o[1];if(!a&&Z(n))return dn((function(n){return mn(n,t,e)}))(tn(n));if(!a)throw new TypeError("Invalid event target");return new R((function(n){var t=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1<t.length?t:t[0])};return a(t),function(){return c(t)}}))}function wn(n,t){return function(e){return function(r){return n[e](t,r)}}}function An(n,t){return F((function(e,r){var o=0;e.subscribe(new D(r,(function(e){return n.call(t,e,o++)&&r.next(e)})))}))}function Sn(...n){return new R((t=>{const e=new MutationObserver((n=>t.next(n)));return e.observe(...n),()=>e.disconnect()}))}var _n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},On={},In={},gn={};gn.mixinDecorators=void 0,gn.mixinDecorators=function(n,t){for(const e of t)for(const t of Object.getOwnPropertyNames(e.prototype)){if("constructor"===t)continue;const r=Object.getOwnPropertyDescriptor(e.prototype,t);Object.defineProperty(n.prototype,t,r)}};var xn={},Pn={Subject:void 0};Pn.Subject=class{constructor(n){this.subject=n}},xn.IterableOperatorBase=void 0;const Tn=Pn;class Bn extends Tn.Subject{[Symbol.iterator](){return this.subject[Symbol.iterator]()}}xn.IterableOperatorBase=Bn;var jn={},En={},kn={},Cn={AsyncIterableOperatorBase:void 0};const Rn=Pn;class Un extends Rn.Subject{[Symbol.asyncIterator](){return this.subject[Symbol.asyncIterator]()}}Cn.AsyncIterableOperatorBase=Un;var Fn,Dn,qn={},Nn={},Vn={},Gn={};Gn.go=void 0,Gn.go=function(n){return n()},Fn=Vn,Dn=_n&&_n.__createBinding||(Object.create?function(n,t,e,r){void 0===r&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]}),(_n&&_n.__exportStar||function(n,t){for(var e in n)"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Dn(t,n,e)})(Gn,Fn);var Ln={},Jn={CustomError:void 0};class zn extends Error{get name(){return this.constructor.name}}Jn.CustomError=zn;var Mn={ExpectedError:void 0};const Zn=Jn;class Hn extends Zn.CustomError{}Mn.ExpectedError=Hn;var Yn={AssertionError:void 0};const Wn=Jn;class Kn extends Wn.CustomError{}Yn.AssertionError=Kn;var Qn={};Qn.normalize=void 0,Qn.normalize=function(n){var t;return{name:n.name,message:n.message,stack:null!==(t=n.stack)&&void 0!==t?t:null}};var Xn={refute:void 0};const $n=Mn;Xn.refute=function(n,t){if(n)throw new $n.ExpectedError(t)};var nt={assert:void 0};const tt=Yn;nt.assert=function(n,t){if(!n)throw new tt.AssertionError(t)},function(n){var t=_n&&_n.__createBinding||(Object.create?function(n,t,e,r){void 0===r&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]}),e=_n&&_n.__exportStar||function(n,e){for(var r in n)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||t(e,n,r)};e(Jn,n),e(Mn,n),e(Yn,n),e(Qn,n),e(Xn,n),e(nt,n)}(Ln);var et=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},rt=_n&&_n.__await||function(n){return this instanceof rt?(this.v=n,this):new rt(n)},ot=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof rt?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Nn.chunkAsync=void 0;const it=Vn,at=Ln;Nn.chunkAsync=function(n,t){return(0,at.assert)(Number.isInteger(t),"The parameter size must be an integer"),(0,at.assert)(t>0,"The parameter size must be greater than 0"),(0,it.go)((function(){return ot(this,arguments,(function*(){var e,r;let o=[];try{for(var i,a=et(n);!(i=yield rt(a.next())).done;){const n=i.value;o.push(n),o.length>=t&&(yield yield rt(o),o=[])}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield rt(r.call(a)))}finally{if(e)throw e.error}}o.length&&(yield yield rt(o))}))}))},qn.ChunkAsyncOperator=void 0;const ct=En,st=Cn,ut=Nn;class lt extends st.AsyncIterableOperatorBase{chunkAsync(...n){return(0,ct.applyChainingAsync)(this.subject,ut.chunkAsync,n)}}qn.ChunkAsyncOperator=lt;var ft={},yt={},dt={},pt={};function ht(n){return Array.isArray(n)}pt.isntEmptyArray=pt.isEmptyArray=pt.isntArray=pt.isArray=void 0,pt.isArray=ht,pt.isntArray=function(n){return!ht(n)},pt.isEmptyArray=function(n){return 0===n.length},pt.isntEmptyArray=function(n){return 0!==n.length};var vt={},bt={};function mt(n){return null===n}bt.isntNull=bt.isNull=void 0,bt.isNull=mt,bt.isntNull=function(n){return!mt(n)};var wt={};function At(n){return void 0===n}wt.isntUndefined=wt.isUndefined=void 0,wt.isUndefined=At,wt.isntUndefined=function(n){return!At(n)},vt.isntAsyncIterable=vt.isAsyncIterable=void 0;const St=bt,_t=wt;function Ot(n){return(0,St.isntNull)(n)&&(0,_t.isntUndefined)(n)&&"function"==typeof n[Symbol.asyncIterator]}vt.isAsyncIterable=Ot,vt.isntAsyncIterable=function(n){return!Ot(n)};var It={};function gt(n){return"bigint"==typeof n}It.isntBigInt=It.isBigInt=void 0,It.isBigInt=gt,It.isntBigInt=function(n){return!gt(n)};var xt={};function Pt(n){return"boolean"==typeof n}xt.isntBoolean=xt.isBoolean=void 0,xt.isBoolean=Pt,xt.isntBoolean=function(n){return!Pt(n)};var Tt={},Bt={};function jt(n){return"string"==typeof n}Bt.isntString=Bt.isString=void 0,Bt.isString=jt,Bt.isntString=function(n){return!jt(n)},Tt.isntChar=Tt.isChar=void 0;const Et=Bt;function kt(n){return(0,Et.isString)(n)&&1===n.length}Tt.isChar=kt,Tt.isntChar=function(n){return!kt(n)};var Ct={};function Rt(n){return n instanceof Date}Ct.isntDate=Ct.isDate=void 0,Ct.isDate=Rt,Ct.isntDate=function(n){return!Rt(n)};var Ut={};Ut.inEnum=void 0,Ut.inEnum=function(n,t){return Object.values(t).includes(n)};var Ft={};function Dt(n){return n instanceof Error}Ft.isntError=Ft.isError=void 0,Ft.isError=Dt,Ft.isntError=function(n){return!Dt(n)};var qt={};function Nt(n){return!n}qt.isntFalsy=qt.isFalsy=void 0,qt.isFalsy=Nt,qt.isntFalsy=function(n){return!Nt(n)};var Vt={};function Gt(n){return"function"==typeof n}Vt.isntFunction=Vt.isFunction=void 0,Vt.isFunction=Gt,Vt.isntFunction=function(n){return!Gt(n)};var Lt={};Lt.isntIterable=Lt.isIterable=void 0;const Jt=bt,zt=wt;function Mt(n){return(0,Jt.isntNull)(n)&&(0,zt.isntUndefined)(n)&&"function"==typeof n[Symbol.iterator]}Lt.isIterable=Mt,Lt.isntIterable=function(n){return!Mt(n)};var Zt={},Ht={};var Yt=Function.prototype,Wt=Object.prototype,Kt=Yt.toString,Qt=Wt.hasOwnProperty,Xt=Kt.call(Object),$t=Wt.toString,ne=function(n,t){return function(e){return n(t(e))}}(Object.getPrototypeOf,Object);var te=function(n){if(!function(n){return!!n&&"object"==typeof n}(n)||"[object Object]"!=$t.call(n)||function(n){var t=!1;if(null!=n&&"function"!=typeof n.toString)try{t=!!(n+"")}catch(n){}return t}(n))return!1;var t=ne(n);if(null===t)return!0;var e=Qt.call(t,"constructor")&&t.constructor;return"function"==typeof e&&e instanceof e&&Kt.call(e)==Xt},ee=_n&&_n.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Ht.isntEmptyObject=Ht.isEmptyObject=Ht.isntPlainObject=Ht.isPlainObject=Ht.isntObject=Ht.isObject=void 0;const re=ee(te);function oe(n){return null!==n&&"object"==typeof n}function ie(n){return(0,re.default)(n)}Ht.isObject=oe,Ht.isntObject=function(n){return!oe(n)},Ht.isPlainObject=ie,Ht.isntPlainObject=function(n){return!ie(n)},Ht.isEmptyObject=function(n){return 0===Object.keys(n).length},Ht.isntEmptyObject=function(n){return 0!==Object.keys(n).length};var ae={};function ce(n){return"number"==typeof n}ae.isntNumber=ae.isNumber=void 0,ae.isNumber=ce,ae.isntNumber=function(n){return!ce(n)},Zt.isntJsonRpcError=Zt.isJsonRpcError=Zt.isntJsonRpcSuccess=Zt.isJsonRpcSuccess=Zt.isntJsonRpcRequest=Zt.isJsonRpcRequest=Zt.isntJsonRpcNotification=Zt.isJsonRpcNotification=void 0;const se=pt,ue=Ht,le=Bt,fe=ae,ye=wt;function de(n){return(0,le.isString)(n)||(0,fe.isNumber)(n)}function pe(n){return(0,se.isArray)(n)||(0,ue.isObject)(n)}function he(n){return(0,ue.isPlainObject)(n)&&(0,le.isString)(n.jsonrpc)&&(0,le.isString)(n.method)&&(0,ye.isUndefined)(n.id)&&pe(n.params)}function ve(n){return(0,ue.isPlainObject)(n)&&(0,le.isString)(n.jsonrpc)&&(0,le.isString)(n.method)&&de(n.id)&&pe(n.params)}function be(n){return(0,ue.isPlainObject)(n)&&(0,le.isString)(n.jsonrpc)&&(0,le.isString)(n.id)&&"result"in n}function me(n){return(0,ue.isPlainObject)(n)&&(0,le.isString)(n.jsonrpc)&&de(n.id)&&function(n){return(0,ue.isPlainObject)(n)&&(0,fe.isNumber)(n.code)&&(0,le.isString)(n.message)&&((0,ye.isUndefined)(n.data)||(0,ue.isObject)(n.data))}(n.error)}Zt.isJsonRpcNotification=he,Zt.isntJsonRpcNotification=function(n){return!he(n)},Zt.isJsonRpcRequest=ve,Zt.isntJsonRpcRequest=function(n){return!ve(n)},Zt.isJsonRpcSuccess=be,Zt.isntJsonRpcSuccess=function(n){return!be(n)},Zt.isJsonRpcError=me,Zt.isntJsonRpcError=function(n){return!me(n)};var we={};we.isntJson=we.isJson=void 0,we.isJson=function(n){try{return JSON.stringify(n),!0}catch(n){return!1}},we.isntJson=function n(t){return!n()};var Ae={};Ae.isAbsoluteURL=void 0,Ae.isAbsoluteURL=function(n){try{return new URL(n),!0}catch(n){return!1}},function(n){var t=_n&&_n.__createBinding||(Object.create?function(n,t,e,r){void 0===r&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]}),e=_n&&_n.__exportStar||function(n,e){for(var r in n)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||t(e,n,r)};e(pt,n),e(vt,n),e(It,n),e(xt,n),e(Tt,n),e(Ct,n),e(Ut,n),e(Ft,n),e(qt,n),e(Vt,n),e(Lt,n),e(Zt,n),e(we,n),e(bt,n),e(ae,n),e(Ht,n),e(Bt,n),e(wt,n),e(Ae,n)}(dt);var Se=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},_e=_n&&_n.__await||function(n){return this instanceof _e?(this.v=n,this):new _e(n)},Oe=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof _e?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};yt.chunkByAsync=void 0;const Ie=dt;yt.chunkByAsync=function(n,t){return(0,Ie.isAsyncIterable)(n)?function(n){return Oe(this,arguments,(function*(){var e,r;let o=[],i=0;try{for(var a,c=Se(n);!(a=yield _e(c.next())).done;){const n=a.value;o.push(n),(yield _e(t(n,i)))&&(yield yield _e(o),o=[]),i++}}catch(n){e={error:n}}finally{try{a&&!a.done&&(r=c.return)&&(yield _e(r.call(c)))}finally{if(e)throw e.error}}o.length&&(yield yield _e(o))}))}(n):function(n){return Oe(this,arguments,(function*(){let e=[],r=0;for(const o of n)e.push(o),(yield _e(t(o,r)))&&(yield yield _e(e),e=[]),r++;e.length&&(yield yield _e(e))}))}(n)},ft.ChunkByAsyncOperator=void 0;const ge=En,xe=yt,Pe=Pn;class Te extends Pe.Subject{chunkByAsync(...n){return(0,ge.applyChainingAsync)(this.subject,xe.chunkByAsync,n)}}ft.ChunkByAsyncOperator=Te;var Be={},je={},Ee=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},ke=_n&&_n.__await||function(n){return this instanceof ke?(this.v=n,this):new ke(n)},Ce=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof ke?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};je.concatAsync=void 0;const Re=dt,Ue=Vn;je.concatAsync=function(n,...t){return(0,Ue.go)((function(){return Ce(this,arguments,(function*(){var e,r;for(const a of[n,...t])if((0,Re.isAsyncIterable)(a))try{for(var o,i=(e=void 0,Ee(a));!(o=yield ke(i.next())).done;){const n=o.value;yield yield ke(n)}}catch(n){e={error:n}}finally{try{o&&!o.done&&(r=i.return)&&(yield ke(r.call(i)))}finally{if(e)throw e.error}}else for(const n of a)yield yield ke(n)}))}))},Be.ConcatAsyncOperator=void 0;const Fe=En,De=je,qe=Pn;class Ne extends qe.Subject{concatAsync(...n){return(0,Fe.applyChainingAsync)(this.subject,De.concatAsync,n)}}Be.ConcatAsyncOperator=Ne;var Ve={},Ge={},Le={},Je=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},ze=_n&&_n.__await||function(n){return this instanceof ze?(this.v=n,this):new ze(n)},Me=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof ze?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Le.copyIterable=Le.copyAsyncIterable=void 0,Le.copyAsyncIterable=function(n){return Me(this,arguments,(function*(){var t,e;try{for(var r,o=Je(n);!(r=yield ze(o.next())).done;){const n=r.value;yield yield ze(n)}}catch(n){t={error:n}}finally{try{r&&!r.done&&(e=o.return)&&(yield ze(e.call(o)))}finally{if(t)throw t.error}}}))},Le.copyIterable=function*(n){for(const t of n)yield t};var Ze=_n&&_n.__await||function(n){return this instanceof Ze?(this.v=n,this):new Ze(n)},He=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Ze?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Ge.dropAsync=void 0;const Ye=Vn,We=Le,Ke=Ln;Ge.dropAsync=function(n,t){return(0,Ke.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,Ke.assert)(t>=0,"The parameter count must be greater than or equal to 0"),0===t?(0,We.copyAsyncIterable)(n):(0,Ye.go)((function(){var e;return He(this,arguments,(function*(){const r=n[Symbol.asyncIterator]();let o;try{let n;for(;!(({value:n,done:o}=yield Ze(r.next())),o||t<=0);)t--;for(;!o;)yield yield Ze(n),({value:n,done:o}=yield Ze(r.next()))}finally{o||(yield Ze(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}))},Ve.DropAsyncOperator=void 0;const Qe=En,Xe=Cn,$e=Ge;class nr extends Xe.AsyncIterableOperatorBase{dropAsync(...n){return(0,Qe.applyChainingAsync)(this.subject,$e.dropAsync,n)}}Ve.DropAsyncOperator=nr;var tr={},er={},rr=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},or=_n&&_n.__await||function(n){return this instanceof or?(this.v=n,this):new or(n)},ir=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof or?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}},ar=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};er.dropRightAsync=void 0;const cr=Vn,sr=Le,ur=Ln;function lr(n){var t,e,r,o;return rr(this,void 0,void 0,(function*(){const i=[];try{for(t=ar(n);!(e=yield t.next()).done;){const n=e.value;i.push(n)}}catch(n){r={error:n}}finally{try{e&&!e.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}return i}))}er.dropRightAsync=function(n,t){return(0,ur.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,ur.assert)(t>=0,"The parameter count must be greater than or equal to 0"),0===t?(0,sr.copyAsyncIterable)(n):(0,cr.go)((function(){return ir(this,arguments,(function*(){const e=(yield or(lr(n))).slice(0,-t);for(const n of e)yield yield or(n)}))}))},tr.DropRightAsyncOperator=void 0;const fr=En,yr=Cn,dr=er;class pr extends yr.AsyncIterableOperatorBase{dropRightAsync(...n){return(0,fr.applyChainingAsync)(this.subject,dr.dropRightAsync,n)}}tr.DropRightAsyncOperator=pr;var hr={},vr={},br=_n&&_n.__await||function(n){return this instanceof br?(this.v=n,this):new br(n)},mr=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof br?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};vr.dropUntilAsync=void 0;const wr=dt;vr.dropUntilAsync=function(n,t){return(0,wr.isAsyncIterable)(n)?function(n){var e;return mr(this,arguments,(function*(){const r=n[Symbol.asyncIterator]();let o;try{let n,i=0;for(;!(({value:n,done:o}=yield br(r.next())),o||(yield br(t(n,i++)))););for(;!o;)yield yield br(n),({value:n,done:o}=yield br(r.next()))}finally{o||(yield br(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}(n):function(n){var e;return mr(this,arguments,(function*(){const r=n[Symbol.iterator]();let o;try{let n,i=0;for(;!(({value:n,done:o}=r.next()),o||(yield br(t(n,i++)))););for(;!o;)yield yield br(n),({value:n,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))}(n)},hr.DropUntilAsyncOperator=void 0;const Ar=En,Sr=Pn,_r=vr;class Or extends Sr.Subject{dropUntilAsync(...n){return(0,Ar.applyChainingAsync)(this.subject,_r.dropUntilAsync,n)}}hr.DropUntilAsyncOperator=Or;var Ir={},gr={},xr=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},Pr=_n&&_n.__await||function(n){return this instanceof Pr?(this.v=n,this):new Pr(n)},Tr=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Pr?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};gr.filterAsync=void 0;const Br=dt;gr.filterAsync=function(n,t){return(0,Br.isAsyncIterable)(n)?function(n){return Tr(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=xr(n);!(i=yield Pr(a.next())).done;){const n=i.value;(yield Pr(t(n,o)))&&(yield yield Pr(n)),o++}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield Pr(r.call(a)))}finally{if(e)throw e.error}}}))}(n):function(n){return Tr(this,arguments,(function*(){let e=0;for(const r of n)(yield Pr(t(r,e)))&&(yield yield Pr(r)),e++}))}(n)},Ir.FilterAsyncOperator=void 0;const jr=En,Er=Pn,kr=gr;class Cr extends Er.Subject{filterAsync(...n){return(0,jr.applyChainingAsync)(this.subject,kr.filterAsync,n)}}Ir.FilterAsyncOperator=Cr;var Rr={},Ur={},Fr={},Dr={},qr=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},Nr=_n&&_n.__await||function(n){return this instanceof Nr?(this.v=n,this):new Nr(n)},Vr=_n&&_n.__asyncDelegator||function(n){var t,e;return t={},r("next"),r("throw",(function(n){throw n})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=n[r]?function(t){return(e=!e)?{value:Nr(n[r](t)),done:"return"===r}:o?o(t):t}:o}},Gr=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Nr?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Dr.flattenByAsync=void 0;const Lr=dt;function Jr(n){return(0,Lr.isIterable)(n)&&(0,Lr.isntChar)(n)}Dr.flattenByAsync=function(n,t){return(0,Lr.isAsyncIterable)(n)?function(n){return Gr(this,arguments,(function*(){var r,o;const i=1;try{for(var a,c=qr(n);!(a=yield Nr(c.next())).done;){const n=a.value;Jr(n)&&(yield Nr(t(n,i)))?yield Nr(yield*Vr(qr(e(n,i+1)))):yield yield Nr(n)}}catch(n){r={error:n}}finally{try{a&&!a.done&&(o=c.return)&&(yield Nr(o.call(c)))}finally{if(r)throw r.error}}}))}(n):function(n){return e(n,1)}(n);function e(n,r){return Gr(this,arguments,(function*(){for(const o of n)Jr(o)&&(yield Nr(t(o,r)))?yield Nr(yield*Vr(qr(e(o,r+1)))):yield yield Nr(o)}))}},Fr.flattenDeepAsync=void 0;const zr=Dr,Mr=Ln;Fr.flattenDeepAsync=function(n,t=1/0){return(0,Mr.assert)(t===1/0||Number.isInteger(t),"The parameter depth must be an integer"),(0,Mr.assert)(t>=0,"The parameter depth must be greater than or equal to 0"),(0,zr.flattenByAsync)(n,((n,e)=>e<=t))},Ur.flattenAsync=void 0;const Zr=Fr;Ur.flattenAsync=function(n){return(0,Zr.flattenDeepAsync)(n,1)},Rr.FlattenAsyncOperator=void 0;const Hr=En,Yr=Cn,Wr=Ur;class Kr extends Yr.AsyncIterableOperatorBase{flattenAsync(...n){return(0,Hr.applyChainingAsync)(this.subject,Wr.flattenAsync,n)}}Rr.FlattenAsyncOperator=Kr;var Qr={FlattenByAsync:void 0};const Xr=En,$r=Pn,no=Dr;class to extends $r.Subject{flattenByAsync(...n){return(0,Xr.applyChainingAsync)(this.subject,no.flattenByAsync,n)}}Qr.FlattenByAsync=to;var eo={FlattenDeepAsyncOperator:void 0};const ro=En,oo=Cn,io=Fr;class ao extends oo.AsyncIterableOperatorBase{flattenDeepAsync(...n){return(0,ro.applyChainingAsync)(this.subject,io.flattenDeepAsync,n)}}eo.FlattenDeepAsyncOperator=ao;var co={},so={},uo=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},lo=_n&&_n.__await||function(n){return this instanceof lo?(this.v=n,this):new lo(n)},fo=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof lo?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};so.mapAsync=void 0;const yo=dt;so.mapAsync=function(n,t){return(0,yo.isAsyncIterable)(n)?function(n){return fo(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=uo(n);!(i=yield lo(a.next())).done;){const n=i.value;yield yield lo(yield lo(t(n,o))),o++}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield lo(r.call(a)))}finally{if(e)throw e.error}}}))}(n):function(n){return fo(this,arguments,(function*(){let e=0;for(const r of n)yield yield lo(yield lo(t(r,e))),e++}))}(n)},co.MapAsyncOperator=void 0;const po=En,ho=Pn,vo=so;class bo extends ho.Subject{mapAsync(...n){return(0,po.applyChainingAsync)(this.subject,vo.mapAsync,n)}}co.MapAsyncOperator=bo;var mo={},wo={},Ao=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},So=_n&&_n.__await||function(n){return this instanceof So?(this.v=n,this):new So(n)},_o=_n&&_n.__asyncDelegator||function(n){var t,e;return t={},r("next"),r("throw",(function(n){throw n})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=n[r]?function(t){return(e=!e)?{value:So(n[r](t)),done:"return"===r}:o?o(t):t}:o}},Oo=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof So?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};wo.repeatAsync=void 0;const Io=Vn,go=Ln;wo.repeatAsync=function(n,t){return(0,go.assert)(t===1/0||Number.isInteger(t),"The parameter times must be an integer"),(0,go.assert)(t>=0,"The parameter times must be greater than or equal to 0"),t===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Io.go)((function(){return Oo(this,arguments,(function*(){var e,r;const o=[];if(t>0){try{for(var i,a=Ao(n);!(i=yield So(a.next())).done;){const n=i.value;yield yield So(n),o.push(n)}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield So(r.call(a)))}finally{if(e)throw e.error}}t--}for(;t>0;)yield So(yield*_o(Ao(o))),t--}))}))},mo.RepeatAsyncOperator=void 0;const xo=En,Po=Cn,To=wo;class Bo extends Po.AsyncIterableOperatorBase{repeatAsync(...n){return(0,xo.applyChainingAsync)(this.subject,To.repeatAsync,n)}}mo.RepeatAsyncOperator=Bo;var jo={},Eo={},ko=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},Co=_n&&_n.__await||function(n){return this instanceof Co?(this.v=n,this):new Co(n)},Ro=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Co?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Eo.sliceAsync=void 0;const Uo=Vn,Fo=Ln;Eo.sliceAsync=function(n,t,e=1/0){return(0,Fo.assert)(Number.isInteger(t),"The parameter start must be an integer"),(0,Fo.assert)(t>=0,"The parameter start must be greater than or equal to 0"),(0,Fo.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Fo.assert)(e>=t,"The parameter end must be greater than or equal to start"),(0,Uo.go)((function(){return Ro(this,arguments,(function*(){var r,o;let i=0;try{for(var a,c=ko(n);!(a=yield Co(c.next())).done;){const n=a.value;if(i>=e)break;i>=t&&(yield yield Co(n)),i++}}catch(n){r={error:n}}finally{try{a&&!a.done&&(o=c.return)&&(yield Co(o.call(c)))}finally{if(r)throw r.error}}}))}))},jo.SliceAsyncOperator=void 0;const Do=En,qo=Cn,No=Eo;class Vo extends qo.AsyncIterableOperatorBase{sliceAsync(...n){return(0,Do.applyChainingAsync)(this.subject,No.sliceAsync,n)}}jo.SliceAsyncOperator=Vo;var Go={},Lo={},Jo=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},zo=_n&&_n.__await||function(n){return this instanceof zo?(this.v=n,this):new zo(n)},Mo=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof zo?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Lo.splitAsync=void 0,Lo.splitAsync=function(n,t){return Mo(this,arguments,(function*(){var e,r;let o=[];try{for(var i,a=Jo(n);!(i=yield zo(a.next())).done;){const n=i.value;n===t?(yield yield zo(o),o=[]):o.push(n)}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield zo(r.call(a)))}finally{if(e)throw e.error}}yield yield zo(o)}))},Go.SplitAsyncOperator=void 0;const Zo=En,Ho=Cn,Yo=Lo;class Wo extends Ho.AsyncIterableOperatorBase{splitAsync(...n){return(0,Zo.applyChainingAsync)(this.subject,Yo.splitAsync,n)}}Go.SplitAsyncOperator=Wo;var Ko={},Qo={},Xo=_n&&_n.__await||function(n){return this instanceof Xo?(this.v=n,this):new Xo(n)},$o=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Xo?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}},ni=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};Qo.splitByAsync=void 0;const ti=dt;Qo.splitByAsync=function(n,t){return(0,ti.isAsyncIterable)(n)?function(n){return $o(this,arguments,(function*(){var e,r;let o=[],i=0;try{for(var a,c=ni(n);!(a=yield Xo(c.next())).done;){const n=a.value;(yield Xo(t(n,i)))?(yield yield Xo(o),o=[]):o.push(n),i++}}catch(n){e={error:n}}finally{try{a&&!a.done&&(r=c.return)&&(yield Xo(r.call(c)))}finally{if(e)throw e.error}}yield yield Xo(o)}))}(n):function(n){return $o(this,arguments,(function*(){let e=[],r=0;for(const o of n)(yield Xo(t(o,r)))?(yield yield Xo(e),e=[]):e.push(o),r++;yield yield Xo(e)}))}(n)},Ko.SplitByAsyncOperator=void 0;const ei=En,ri=Pn,oi=Qo;class ii extends ri.Subject{splitByAsync(...n){return(0,ei.applyChainingAsync)(this.subject,oi.splitByAsync,n)}}Ko.SplitByAsyncOperator=ii;var ai={},ci={},si=_n&&_n.__await||function(n){return this instanceof si?(this.v=n,this):new si(n)},ui=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},li=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof si?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};ci.takeAsync=void 0;const fi=Vn,yi=Ln;ci.takeAsync=function(n,t){return(0,yi.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,yi.assert)(t>=0,"The parameter count must be greater than or equal to 0"),(0,fi.go)((function(){return li(this,arguments,(function*(){var e,r;if(0===t)return yield si(void 0);try{for(var o,i=ui(n);!(o=yield si(i.next())).done;){const n=o.value;if(yield yield si(n),0===--t)break}}catch(n){e={error:n}}finally{try{o&&!o.done&&(r=i.return)&&(yield si(r.call(i)))}finally{if(e)throw e.error}}}))}))},ai.TakeAsyncOperator=void 0;const di=En,pi=Cn,hi=ci;class vi extends pi.AsyncIterableOperatorBase{takeAsync(...n){return(0,di.applyChainingAsync)(this.subject,hi.takeAsync,n)}}ai.TakeAsyncOperator=vi;var bi={},mi={},wi=_n&&_n.__await||function(n){return this instanceof wi?(this.v=n,this):new wi(n)},Ai=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},Si=_n&&_n.__asyncDelegator||function(n){var t,e;return t={},r("next"),r("throw",(function(n){throw n})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=n[r]?function(t){return(e=!e)?{value:wi(n[r](t)),done:"return"===r}:o?o(t):t}:o}},_i=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof wi?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};mi.takeRightAsync=void 0;const Oi=Vn,Ii=Ln;mi.takeRightAsync=function(n,t){return(0,Ii.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,Ii.assert)(t>=0,"The parameter count must be greater than or equal to 0"),(0,Oi.go)((function(){var e;return _i(this,arguments,(function*(){const r=n[Symbol.asyncIterator]();let o;try{const n=[];let i;for(;({value:i,done:o}=yield wi(r.next())),!o;)n.push(i),n.length>t&&n.shift();yield wi(yield*Si(Ai(n)))}finally{o||(yield wi(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}))},bi.TakeRightAsyncOperator=void 0;const gi=En,xi=Cn,Pi=mi;class Ti extends xi.AsyncIterableOperatorBase{takeRightAsync(...n){return(0,gi.applyChainingAsync)(this.subject,Pi.takeRightAsync,n)}}bi.TakeRightAsyncOperator=Ti;var Bi={},ji={},Ei=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},ki=_n&&_n.__await||function(n){return this instanceof ki?(this.v=n,this):new ki(n)},Ci=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof ki?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};ji.takeUntilAsync=void 0;const Ri=dt;ji.takeUntilAsync=function(n,t){return(0,Ri.isAsyncIterable)(n)?function(n){return Ci(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=Ei(n);!(i=yield ki(a.next())).done;){const n=i.value;if(yield ki(t(n,o)))break;yield yield ki(n),o++}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield ki(r.call(a)))}finally{if(e)throw e.error}}}))}(n):function(n){return Ci(this,arguments,(function*(){let e=0;for(const r of n){if(yield ki(t(r,e)))break;yield yield ki(r),e++}}))}(n)},Bi.TakeUntilAsyncOperator=void 0;const Ui=En,Fi=Pn,Di=ji;class qi extends Fi.Subject{takeUntilAsync(...n){return(0,Ui.applyChainingAsync)(this.subject,Di.takeUntilAsync,n)}}Bi.TakeUntilAsyncOperator=qi;var Ni={},Vi={},Gi=_n&&_n.__await||function(n){return this instanceof Gi?(this.v=n,this):new Gi(n)},Li=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Gi?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}},Ji=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};Vi.tapAsync=void 0;const zi=dt;Vi.tapAsync=function(n,t){return(0,zi.isAsyncIterable)(n)?function(n){return Li(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=Ji(n);!(i=yield Gi(a.next())).done;){const n=i.value;yield Gi(t(n,o)),yield yield Gi(n),o++}}catch(n){e={error:n}}finally{try{i&&!i.done&&(r=a.return)&&(yield Gi(r.call(a)))}finally{if(e)throw e.error}}}))}(n):function(n){return Li(this,arguments,(function*(){let e=0;for(const r of n)yield Gi(t(r,e)),yield yield Gi(r),e++}))}(n)},Ni.TapAsyncOperator=void 0;const Mi=En,Zi=Pn,Hi=Vi;class Yi extends Zi.Subject{tapAsync(...n){return(0,Mi.applyChainingAsync)(this.subject,Hi.tapAsync,n)}}Ni.TapAsyncOperator=Yi;var Wi={},Ki={},Qi=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},Xi=_n&&_n.__await||function(n){return this instanceof Xi?(this.v=n,this):new Xi(n)},$i=_n&&_n.__asyncDelegator||function(n){var t,e;return t={},r("next"),r("throw",(function(n){throw n})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=n[r]?function(t){return(e=!e)?{value:Xi(n[r](t)),done:"return"===r}:o?o(t):t}:o}},na=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Xi?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Ki.transformAsync=void 0,Ki.transformAsync=function(n,t){return na(this,arguments,(function*(){yield Xi(yield*$i(Qi(t(n))))}))},Wi.TransformAsyncOperator=void 0;const ta=En,ea=Pn,ra=Ki;class oa extends ea.Subject{transformAsync(...n){return(0,ta.applyChainingAsync)(this.subject,ra.transformAsync,n)}}Wi.TransformAsyncOperator=oa;var ia={},aa={},ca=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},sa=_n&&_n.__await||function(n){return this instanceof sa?(this.v=n,this):new sa(n)},ua=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof sa?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};aa.uniqAsync=void 0,aa.uniqAsync=function(n){return ua(this,arguments,(function*(){var t,e;const r=new Set;try{for(var o,i=ca(n);!(o=yield sa(i.next())).done;){const n=o.value;r.has(n)||(yield yield sa(n),r.add(n))}}catch(n){t={error:n}}finally{try{o&&!o.done&&(e=i.return)&&(yield sa(e.call(i)))}finally{if(t)throw t.error}}}))},ia.UniqAsyncOperator=void 0;const la=En,fa=Cn,ya=aa;class da extends fa.AsyncIterableOperatorBase{uniqAsync(...n){return(0,la.applyChainingAsync)(this.subject,ya.uniqAsync,n)}}ia.UniqAsyncOperator=da;var pa={},ha={},va=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}},ba=_n&&_n.__await||function(n){return this instanceof ba?(this.v=n,this):new ba(n)},ma=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof ba?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};ha.uniqByAsync=void 0;const wa=dt;ha.uniqByAsync=function(n,t){return(0,wa.isAsyncIterable)(n)?function(n){return ma(this,arguments,(function*(){var e,r;const o=new Set;let i=0;try{for(var a,c=va(n);!(a=yield ba(c.next())).done;){const n=a.value,e=yield ba(t(n,i));o.has(e)||(yield yield ba(n),o.add(e)),i++}}catch(n){e={error:n}}finally{try{a&&!a.done&&(r=c.return)&&(yield ba(r.call(c)))}finally{if(e)throw e.error}}}))}(n):function(n){return ma(this,arguments,(function*(){const e=new Set;let r=0;for(const o of n){const n=yield ba(t(o,r));e.has(n)||(yield yield ba(o),e.add(n)),r++}}))}(n)},pa.UniqByAsyncOperator=void 0;const Aa=En,Sa=Pn,_a=ha;class Oa extends Sa.Subject{uniqByAsync(...n){return(0,Aa.applyChainingAsync)(this.subject,_a.uniqByAsync,n)}}pa.UniqByAsyncOperator=Oa;var Ia={},ga={},xa=_n&&_n.__await||function(n){return this instanceof xa?(this.v=n,this):new xa(n)},Pa=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof xa?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};ga.zipAsync=void 0;const Ta=dt;var Ba;!function(n){n[n.Sync=0]="Sync",n[n.Async=1]="Async"}(Ba||(Ba={})),ga.zipAsync=function(n,...t){return function(...n){var t,e,r,o;return Pa(this,arguments,(function*(){const i=n.length,a=n.map((n=>(0,Ta.isAsyncIterable)(n)?[Ba.Async,n[Symbol.asyncIterator]()]:[Ba.Sync,n[Symbol.iterator]()])),c=a.map((()=>!1));try{for(;;){const n=new Array(i);for(let t=0;t<i;t++){const[e,r]=a[t];let o;if(o=e===Ba.Async?yield xa(r.next()):r.next(),o.done)return c[t]=!0,yield xa(void 0);n[t]=o.value}yield yield xa(n)}}finally{const n=a.filter(((n,t)=>!c[t]));for(const[i,a]of n)i===Ba.Async?yield xa(null===(e=(t=a).return)||void 0===e?void 0:e.call(t)):null===(o=(r=a).return)||void 0===o||o.call(r)}}))}(n,...t)},Ia.ZipAsyncOperator=void 0;const ja=En,Ea=Pn,ka=ga;class Ca extends Ea.Subject{zipAsync(...n){return(0,ja.applyChainingAsync)(this.subject,ka.zipAsync,n)}}Ia.ZipAsyncOperator=Ca;var Ra={},Ua={};Ua.consume=void 0,Ua.consume=function(n,t){return t(n)},Ra.ConsumeOperator=void 0;const Fa=En,Da=Ua,qa=Pn;class Na extends qa.Subject{consume(...n){return(0,Fa.applyBinding)(this.subject,Da.consume,n)}}Ra.ConsumeOperator=Na;var Va={},Ga={},La=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},Ja=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};Ga.eachAsync=void 0;const za=dt;Ga.eachAsync=function(n,t){return(0,za.isAsyncIterable)(n)?function(n){var e,r,o,i;return La(this,void 0,void 0,(function*(){let a=0;try{for(e=Ja(n);!(r=yield e.next()).done;){const n=r.value;yield t(n,a),a++}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}}))}(n):function(n){return La(this,void 0,void 0,(function*(){let e=0;for(const r of n)yield t(r,e),e++}))}(n)},Va.EachAsyncOperator=void 0;const Ma=En,Za=Pn,Ha=Ga;class Ya extends Za.Subject{eachAsync(...n){return(0,Ma.applyBinding)(this.subject,Ha.eachAsync,n)}}Va.EachAsyncOperator=Ya;var Wa={},Ka={},Qa=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},Xa=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};Ka.everyAsync=void 0;const $a=dt;Ka.everyAsync=function(n,t){return(0,$a.isAsyncIterable)(n)?function(n){var e,r,o,i;return Qa(this,void 0,void 0,(function*(){let a=0;try{for(e=Xa(n);!(r=yield e.next()).done;){const n=r.value;if(!(yield t(n,a)))return!1;a++}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!0}))}(n):function(n){return Qa(this,void 0,void 0,(function*(){let e=0;for(const r of n){if(!(yield t(r,e)))return!1;e++}return!0}))}(n)},Wa.EveryAsyncOperator=void 0;const nc=En,tc=Pn,ec=Ka;class rc extends tc.Subject{everyAsync(...n){return(0,nc.applyBinding)(this.subject,ec.everyAsync,n)}}Wa.EveryAsyncOperator=rc;var oc={},ic={},ac=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},cc=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};ic.findAsync=void 0;const sc=dt;ic.findAsync=function(n,t){return(0,sc.isAsyncIterable)(n)?function(n){var e,r,o,i;return ac(this,void 0,void 0,(function*(){let a=0;try{for(e=cc(n);!(r=yield e.next()).done;){const n=r.value;if(yield t(n,a))return n;a++}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}}))}(n):function(n){return ac(this,void 0,void 0,(function*(){let e=0;for(const r of n){if(yield t(r,e))return r;e++}}))}(n)},oc.FindAsyncOperator=void 0;const uc=En,lc=Pn,fc=ic;class yc extends lc.Subject{findAsync(...n){return(0,uc.applyBinding)(this.subject,fc.findAsync,n)}}oc.FindAsyncOperator=yc;var dc={},pc={},hc=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},vc=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};pc.firstAsync=void 0,pc.firstAsync=function(n){var t,e,r,o;return hc(this,void 0,void 0,(function*(){try{for(t=vc(n);!(e=yield t.next()).done;){return e.value}}catch(n){r={error:n}}finally{try{e&&!e.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}}))},dc.FirstAsyncOperator=void 0;const bc=En,mc=Cn,wc=pc;class Ac extends mc.AsyncIterableOperatorBase{firstAsync(...n){return(0,bc.applyBinding)(this.subject,wc.firstAsync,n)}}dc.FirstAsyncOperator=Ac;var Sc={},_c={},Oc=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},Ic=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};_c.includesAsync=void 0,_c.includesAsync=function(n,t){var e,r,o,i;return Oc(this,void 0,void 0,(function*(){try{for(e=Ic(n);!(r=yield e.next()).done;){if(r.value===t)return!0}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))},Sc.IncludesAsyncOperator=void 0;const gc=En,xc=Cn,Pc=_c;class Tc extends xc.AsyncIterableOperatorBase{includesAsync(...n){return(0,gc.applyBinding)(this.subject,Pc.includesAsync,n)}}Sc.IncludesAsyncOperator=Tc;var Bc={},jc={},Ec=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},kc=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};jc.matchAsync=void 0,jc.matchAsync=function(n,t){var e,r,o,i;return Ec(this,void 0,void 0,(function*(){const a=t.length;let c=0;try{for(e=kc(n);!(r=yield e.next()).done;){if(r.value===t[c]&&c++,c===a)return!0}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))},Bc.MatchAsyncOperator=void 0;const Cc=En,Rc=Cn,Uc=jc;class Fc extends Rc.AsyncIterableOperatorBase{matchAsync(...n){return(0,Cc.applyBinding)(this.subject,Uc.matchAsync,n)}}Bc.MatchAsyncOperator=Fc;var Dc={},qc={},Nc=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},Vc=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};qc.reduceAsync=void 0;const Gc=dt;qc.reduceAsync=function(n,t,e){return(0,Gc.isUndefined)(e)?function(n,t){return(0,Gc.isAsyncIterable)(n)?e(n):r(n);function e(n){var e;return Nc(this,void 0,void 0,(function*(){const r=n[Symbol.asyncIterator]();let o;try{let n,a=yield i(r),c=1;for(;({value:n,done:o}=yield r.next()),!o;)a=yield t(a,n,c++);return a}finally{o||(yield null===(e=r.return)||void 0===e?void 0:e.call(r))}function i(n){return Nc(this,void 0,void 0,(function*(){const t=yield n.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}))}}))}function r(n){var e;return Nc(this,void 0,void 0,(function*(){const r=n[Symbol.iterator]();let o;try{let n,a=i(r),c=1;for(;({value:n,done:o}=r.next()),!o;)a=yield t(a,n,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(n){const t=n.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}))}}(n,t):function(n,t,e){return(0,Gc.isAsyncIterable)(n)?o(n):r(n);function r(n){return Nc(this,void 0,void 0,(function*(){let r=e,o=0;for(const e of n)r=yield t(r,e,o++);return r}))}function o(n){var r,o,i,a;return Nc(this,void 0,void 0,(function*(){let c=e,s=0;try{for(r=Vc(n);!(o=yield r.next()).done;){const n=o.value;c=yield t(c,n,s++)}}catch(n){i={error:n}}finally{try{o&&!o.done&&(a=r.return)&&(yield a.call(r))}finally{if(i)throw i.error}}return c}))}}(n,t,e)},Dc.ReduceAsyncOperator=void 0;const Lc=En,Jc=Pn,zc=qc;class Mc extends Jc.Subject{reduceAsync(...n){return(0,Lc.applyBinding)(this.subject,zc.reduceAsync,n)}}Dc.ReduceAsyncOperator=Mc;var Zc={},Hc={},Yc=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},Wc=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};Hc.someAsync=void 0;const Kc=dt;Hc.someAsync=function(n,t){return(0,Kc.isAsyncIterable)(n)?function(n){var e,r,o,i;return Yc(this,void 0,void 0,(function*(){let a=0;try{for(e=Wc(n);!(r=yield e.next()).done;){const n=r.value;if(yield t(n,a))return!0;a++}}catch(n){o={error:n}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))}(n):function(n){return Yc(this,void 0,void 0,(function*(){let e=0;for(const r of n){if(yield t(r,e))return!0;e++}return!1}))}(n)},Zc.SomeAsyncOperator=void 0;const Qc=En,Xc=Pn,$c=Hc;class ns extends Xc.Subject{someAsync(...n){return(0,Qc.applyBinding)(this.subject,$c.someAsync,n)}}Zc.SomeAsyncOperator=ns;var ts={},es={},rs=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))};es.lastAsync=void 0,es.lastAsync=function(n){var t;return rs(this,void 0,void 0,(function*(){const e=n[Symbol.asyncIterator]();let r;try{let n,o;for(;({value:n,done:r}=yield e.next()),!r;)o=n;return o}finally{r||(yield null===(t=e.return)||void 0===t?void 0:t.call(e))}}))},ts.LastAsyncOperator=void 0;const os=En,is=Cn,as=es;class cs extends is.AsyncIterableOperatorBase{lastAsync(...n){return(0,os.applyBinding)(this.subject,as.lastAsync,n)}}ts.LastAsyncOperator=cs;var ss={},us={},ls=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},fs=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};us.toArrayAsync=void 0;const ys=Ua;us.toArrayAsync=function(n){return(0,ys.consume)(n,(n=>{var t,e;return ls(this,void 0,void 0,(function*(){var r,o;const i=[];try{for(t=fs(n);!(e=yield t.next()).done;){const n=e.value;i.push(n)}}catch(n){r={error:n}}finally{try{e&&!e.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}return i}))}))},ss.ToArrayAsyncOperator=void 0;const ds=En,ps=Cn,hs=us;class vs extends ps.AsyncIterableOperatorBase{toArrayAsync(...n){return(0,ds.applyBinding)(this.subject,hs.toArrayAsync,n)}}ss.ToArrayAsyncOperator=vs;var bs={},ms={},ws=_n&&_n.__awaiter||function(n,t,e,r){return new(e||(e=Promise))((function(o,i){function a(n){try{s(r.next(n))}catch(n){i(n)}}function c(n){try{s(r.throw(n))}catch(n){i(n)}}function s(n){var t;n.done?o(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(a,c)}s((r=r.apply(n,t||[])).next())}))},As=_n&&_n.__asyncValues||function(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,e=n[Symbol.asyncIterator];return e?e.call(n):(n="function"==typeof __values?__values(n):n[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(e){t[e]=n[e]&&function(t){return new Promise((function(r,o){(function(n,t,e,r){Promise.resolve(r).then((function(t){n({value:t,done:e})}),t)})(r,o,(t=n[e](t)).done,t.value)}))}}};ms.toSetAsync=void 0;const Ss=Ua;ms.toSetAsync=function(n){return(0,Ss.consume)(n,(n=>{var t,e;return ws(this,void 0,void 0,(function*(){var r,o;const i=new Set;try{for(t=As(n);!(e=yield t.next()).done;){const n=e.value;i.add(n)}}catch(n){r={error:n}}finally{try{e&&!e.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}return i}))}))},bs.ToSetAsyncOperator=void 0;const _s=En,Os=Cn,Is=ms;class gs extends Os.AsyncIterableOperatorBase{toSetAsync(...n){return(0,_s.applyBinding)(this.subject,Is.toSetAsync,n)}}bs.ToSetAsyncOperator=gs,kn.AsyncIterableOperator=void 0;const xs=gn,Ps=Cn,Ts=qn,Bs=ft,js=Be,Es=Ve,ks=tr,Cs=hr,Rs=Ir,Us=Rr,Fs=Qr,Ds=eo,qs=co,Ns=mo,Vs=jo,Gs=Go,Ls=Ko,Js=ai,zs=bi,Ms=Bi,Zs=Ni,Hs=Wi,Ys=ia,Ws=pa,Ks=Ia,Qs=Ra,Xs=Va,$s=Wa,nu=oc,tu=dc,eu=Sc,ru=Bc,ou=Dc,iu=Zc,au=ts,cu=ss,su=bs;class uu extends Ps.AsyncIterableOperatorBase{}kn.AsyncIterableOperator=uu,(0,xs.mixinDecorators)(uu,[Ts.ChunkAsyncOperator,Bs.ChunkByAsyncOperator,js.ConcatAsyncOperator,Es.DropAsyncOperator,ks.DropRightAsyncOperator,Cs.DropUntilAsyncOperator,Rs.FilterAsyncOperator,Us.FlattenAsyncOperator,Fs.FlattenByAsync,Ds.FlattenDeepAsyncOperator,qs.MapAsyncOperator,Ns.RepeatAsyncOperator,Vs.SliceAsyncOperator,Gs.SplitAsyncOperator,Ls.SplitByAsyncOperator,Js.TakeAsyncOperator,zs.TakeRightAsyncOperator,Ms.TakeUntilAsyncOperator,Zs.TapAsyncOperator,Hs.TransformAsyncOperator,Ys.UniqAsyncOperator,Ws.UniqByAsyncOperator,Ks.ZipAsyncOperator,Qs.ConsumeOperator,Xs.EachAsyncOperator,$s.EveryAsyncOperator,nu.FindAsyncOperator,tu.FirstAsyncOperator,eu.IncludesAsyncOperator,ru.MatchAsyncOperator,ou.ReduceAsyncOperator,iu.SomeAsyncOperator,au.LastAsyncOperator,cu.ToArrayAsyncOperator,su.ToSetAsyncOperator]),En.applyChainingAsync=En.applyChaining=En.applyBinding=En.getPipelineProxy=void 0;const lu=In,fu=kn;En.getPipelineProxy=function(n,t){return(...e)=>n(...e,...t)},En.applyBinding=function(n,t,e){return t(n,...e)},En.applyChaining=function(n,t,e){return new lu.IterableOperator(t(n,...e))},En.applyChainingAsync=function(n,t,e){return new fu.AsyncIterableOperator(t(n,...e))};var yu={};yu.chunkBy=void 0,yu.chunkBy=function*(n,t){let e=[],r=0;for(const o of n)e.push(o),t(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)},jn.ChunkByOperator=void 0;const du=En,pu=yu,hu=xn;class vu extends hu.IterableOperatorBase{chunkBy(...n){return(0,du.applyChaining)(this.subject,pu.chunkBy,n)}}jn.ChunkByOperator=vu;var bu={},mu={chunk:void 0};const wu=Vn,Au=Ln;mu.chunk=function(n,t){return(0,Au.assert)(Number.isInteger(t),"The parameter size must be an integer"),(0,Au.assert)(t>0,"The parameter size must be greater than 0"),(0,wu.go)((function*(){let e=[];for(const r of n)e.push(r),e.length>=t&&(yield e,e=[]);e.length&&(yield e)}))},bu.ChunkOperator=void 0;const Su=En,_u=mu,Ou=xn;class Iu extends Ou.IterableOperatorBase{chunk(...n){return(0,Su.applyChaining)(this.subject,_u.chunk,n)}}bu.ChunkOperator=Iu;var gu={},xu={concat:void 0};const Pu=Vn;xu.concat=function(n,...t){return(0,Pu.go)((function*(){for(const e of[n,...t])yield*e}))},gu.ConcatOperator=void 0;const Tu=En,Bu=xu,ju=xn;class Eu extends ju.IterableOperatorBase{concat(...n){return(0,Tu.applyChaining)(this.subject,Bu.concat,n)}}gu.ConcatOperator=Eu;var ku={},Cu={dropRight:void 0};const Ru=Vn,Uu=Le,Fu=Ln;Cu.dropRight=function(n,t){return(0,Fu.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,Fu.assert)(t>=0,"The parameter count must be greater than or equal to 0"),0===t?(0,Uu.copyIterable)(n):(0,Ru.go)((function*(){const e=Array.from(n);yield*e.slice(0,-t)}))},ku.DropRightOperator=void 0;const Du=En,qu=Cu,Nu=xn;class Vu extends Nu.IterableOperatorBase{dropRight(...n){return(0,Du.applyChaining)(this.subject,qu.dropRight,n)}}ku.DropRightOperator=Vu;var Gu={},Lu={};Lu.dropUntil=void 0,Lu.dropUntil=function*(n,t){var e;const r=n[Symbol.iterator]();let o;try{let n,i=0;for(;!(({value:n,done:o}=r.next()),o||t(n,i++)););for(;!o;)yield n,({value:n,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}},Gu.DropUntilOperator=void 0;const Ju=En,zu=Lu,Mu=xn;class Zu extends Mu.IterableOperatorBase{dropUntil(...n){return(0,Ju.applyChaining)(this.subject,zu.dropUntil,n)}}Gu.DropUntilOperator=Zu;var Hu={},Yu={drop:void 0};const Wu=Vn,Ku=Le,Qu=Ln;Yu.drop=function(n,t){return(0,Qu.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,Qu.assert)(t>=0,"The parameter count must be greater than or equal to 0"),0===t?(0,Ku.copyIterable)(n):(0,Wu.go)((function*(){var e;const r=n[Symbol.iterator]();let o;try{let n;for(;!(({value:n,done:o}=r.next()),o||t<=0);)t--;for(;!o;)yield n,({value:n,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))},Hu.DropOperator=void 0;const Xu=En,$u=Yu,nl=xn;class tl extends nl.IterableOperatorBase{drop(...n){return(0,Xu.applyChaining)(this.subject,$u.drop,n)}}Hu.DropOperator=tl;var el={},rl={};rl.filter=void 0,rl.filter=function*(n,t){let e=0;for(const r of n)t(r,e)&&(yield r),e++},el.FilterOperator=void 0;const ol=En,il=rl,al=xn;class cl extends al.IterableOperatorBase{filter(...n){return(0,ol.applyChaining)(this.subject,il.filter,n)}}el.FilterOperator=cl;var sl={},ul={flattenBy:void 0};const ll=dt;ul.flattenBy=function(n,t){return function*n(e,r){for(const i of e)(0,ll.isIterable)(o=i)&&(0,ll.isntChar)(o)&&t(i,r)?yield*n(i,r+1):yield i;var o}(n,1)},sl.FlattenByOperator=void 0;const fl=En,yl=ul,dl=xn;class pl extends dl.IterableOperatorBase{flattenBy(...n){return(0,fl.applyChaining)(this.subject,yl.flattenBy,n)}}sl.FlattenByOperator=pl;var hl={},vl={flattenDeep:void 0};const bl=ul,ml=Ln;vl.flattenDeep=function(n,t=1/0){return(0,ml.assert)(t===1/0||Number.isInteger(t),"The parameter depth must be an integer"),(0,ml.assert)(t>=0,"The parameter depth must be greater than or equal to 0"),(0,bl.flattenBy)(n,((n,e)=>e<=t))},hl.FlattenDeepOperator=void 0;const wl=En,Al=vl,Sl=xn;class _l extends Sl.IterableOperatorBase{flattenDeep(...n){return(0,wl.applyChaining)(this.subject,Al.flattenDeep,n)}}hl.FlattenDeepOperator=_l;var Ol={},Il={flatten:void 0};const gl=vl;Il.flatten=function(n){return(0,gl.flattenDeep)(n,1)},Ol.FlattenOperator=void 0;const xl=En,Pl=Il,Tl=xn;class Bl extends Tl.IterableOperatorBase{flatten(...n){return(0,xl.applyChaining)(this.subject,Pl.flatten,n)}}Ol.FlattenOperator=Bl;var jl={},El={};El.map=void 0,El.map=function*(n,t){let e=0;for(const r of n)yield t(r,e),e++},jl.MapOperator=void 0;const kl=En,Cl=El,Rl=xn;class Ul extends Rl.IterableOperatorBase{map(...n){return(0,kl.applyChaining)(this.subject,Cl.map,n)}}jl.MapOperator=Ul;var Fl={},Dl={repeat:void 0};const ql=Vn,Nl=Ln;Dl.repeat=function(n,t){return(0,Nl.assert)(t===1/0||Number.isInteger(t),"The parameter times must be an integer"),(0,Nl.assert)(t>=0,"The parameter times must be greater than or equal to 0"),t===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,ql.go)((function*(){const e=[];if(t>0){for(const t of n)yield t,e.push(t);t--}for(;t>0;)yield*e,t--}))},Fl.RepeatOperator=void 0;const Vl=En,Gl=Dl,Ll=xn;class Jl extends Ll.IterableOperatorBase{repeat(...n){return(0,Vl.applyChaining)(this.subject,Gl.repeat,n)}}Fl.RepeatOperator=Jl;var zl={},Ml={slice:void 0};const Zl=Vn,Hl=Ln;Ml.slice=function(n,t,e=1/0){return(0,Hl.assert)(Number.isInteger(t),"The parameter start must be an integer"),(0,Hl.assert)(t>=0,"The parameter start must be greater than or equal to 0"),(0,Hl.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,Hl.assert)(e>=t,"The parameter end must be greater than or equal to start"),(0,Zl.go)((function*(){let r=0;for(const o of n){if(r>=e)break;r>=t&&(yield o),r++}}))},zl.SliceOperator=void 0;const Yl=En,Wl=Ml,Kl=xn;class Ql extends Kl.IterableOperatorBase{slice(...n){return(0,Yl.applyChaining)(this.subject,Wl.slice,n)}}zl.SliceOperator=Ql;var Xl={},$l={};$l.splitBy=void 0,$l.splitBy=function*(n,t){let e=[],r=0;for(const o of n)t(o,r)?(yield e,e=[]):e.push(o),r++;yield e},Xl.SplitByOperator=void 0;const nf=En,tf=$l,ef=xn;class rf extends ef.IterableOperatorBase{splitBy(...n){return(0,nf.applyChaining)(this.subject,tf.splitBy,n)}}Xl.SplitByOperator=rf;var of={},af={};af.split=void 0,af.split=function*(n,t){let e=[];for(const r of n)r===t?(yield e,e=[]):e.push(r);yield e},of.SplitOperator=void 0;const cf=En,sf=af,uf=xn;class lf extends uf.IterableOperatorBase{split(...n){return(0,cf.applyChaining)(this.subject,sf.split,n)}}of.SplitOperator=lf;var ff={},yf={takeRight:void 0};const df=Vn,pf=Ln;yf.takeRight=function(n,t){return(0,pf.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,pf.assert)(t>=0,"The parameter count must be greater than or equal to 0"),(0,df.go)((function*(){var e;const r=n[Symbol.iterator]();let o;try{const n=[];let i;for(;({value:i,done:o}=r.next()),!o;)n.push(i),n.length>t&&n.shift();yield*n}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))},ff.TakeRightOperator=void 0;const hf=En,vf=yf,bf=xn;class mf extends bf.IterableOperatorBase{takeRight(...n){return(0,hf.applyChaining)(this.subject,vf.takeRight,n)}}ff.TakeRightOperator=mf;var wf={},Af={};Af.takeUntil=void 0,Af.takeUntil=function*(n,t){let e=0;for(const r of n){if(t(r,e))break;yield r,e++}},wf.TakeUntilOperator=void 0;const Sf=En,_f=Af,Of=xn;class If extends Of.IterableOperatorBase{takeUntil(...n){return(0,Sf.applyChaining)(this.subject,_f.takeUntil,n)}}wf.TakeUntilOperator=If;var gf={},xf={take:void 0};const Pf=Vn,Tf=Ln;xf.take=function(n,t){return(0,Tf.assert)(Number.isInteger(t),"The parameter count must be an integer"),(0,Tf.assert)(t>=0,"The parameter count must be greater than or equal to 0"),(0,Pf.go)((function*(){if(0!==t)for(const e of n)if(yield e,0===--t)break}))},gf.TakeOperator=void 0;const Bf=En,jf=xf,Ef=xn;class kf extends Ef.IterableOperatorBase{take(...n){return(0,Bf.applyChaining)(this.subject,jf.take,n)}}gf.TakeOperator=kf;var Cf={},Rf={};Rf.tap=void 0,Rf.tap=function*(n,t){let e=0;for(const r of n)t(r,e),yield r,e++},Cf.TapOperator=void 0;const Uf=En,Ff=Rf,Df=xn;class qf extends Df.IterableOperatorBase{tap(...n){return(0,Uf.applyChaining)(this.subject,Ff.tap,n)}}Cf.TapOperator=qf;var Nf={},Vf={},Gf=_n&&_n.__await||function(n){return this instanceof Gf?(this.v=n,this):new Gf(n)},Lf=_n&&_n.__asyncGenerator||function(n,t,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(n,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(n){o[n]&&(r[n]=function(t){return new Promise((function(e,r){i.push([n,t,e,r])>1||c(n,t)}))})}function c(n,t){try{(e=o[n](t)).value instanceof Gf?Promise.resolve(e.value.v).then(s,u):l(i[0][2],e)}catch(n){l(i[0][3],n)}var e}function s(n){c("next",n)}function u(n){c("throw",n)}function l(n,t){n(t),i.shift(),i.length&&c(i[0][0],i[0][1])}};Vf.toAsyncIterable=void 0,Vf.toAsyncIterable=function(n){return Lf(this,arguments,(function*(){for(const t of n)yield yield Gf(t)}))},Nf.ToAsyncIterableOperator=void 0;const Jf=En,zf=xn,Mf=Vf;class Zf extends zf.IterableOperatorBase{toAsyncIterable(...n){return(0,Jf.applyChainingAsync)(this.subject,Mf.toAsyncIterable,n)}}Nf.ToAsyncIterableOperator=Zf;var Hf={},Yf={};Yf.transform=void 0,Yf.transform=function*(n,t){yield*t(n)},Hf.TransformOperator=void 0;const Wf=En,Kf=Yf,Qf=xn;class Xf extends Qf.IterableOperatorBase{transform(...n){return(0,Wf.applyChaining)(this.subject,Kf.transform,n)}}Hf.TransformOperator=Xf;var $f={},ny={};ny.uniqBy=void 0,ny.uniqBy=function*(n,t){const e=new Set;let r=0;for(const o of n){const n=t(o,r);e.has(n)||(yield o,e.add(n)),r++}},$f.UniqByOperator=void 0;const ty=En,ey=ny,ry=xn;class oy extends ry.IterableOperatorBase{uniqBy(...n){return(0,ty.applyChaining)(this.subject,ey.uniqBy,n)}}$f.UniqByOperator=oy;var iy={},ay={};ay.uniq=void 0,ay.uniq=function*(n){const t=new Set;for(const e of n)t.has(e)||(yield e,t.add(e))},iy.UniqOperator=void 0;const cy=En,sy=ay,uy=xn;class ly extends uy.IterableOperatorBase{uniq(...n){return(0,cy.applyChaining)(this.subject,sy.uniq,n)}}iy.UniqOperator=ly;var fy={},yy={};yy.zip=void 0,yy.zip=function(n,...t){return function*(...n){const t=n.length,e=n.map((n=>n[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const n=new Array(t);for(let o=0;o<t;o++){const{value:t,done:i}=e[o].next();if(i)return void(r[o]=!0);n[o]=t}yield n}}finally{e.filter(((n,t)=>!r[t])).forEach((n=>{var t;return null===(t=n.return)||void 0===t?void 0:t.call(n)}))}}(n,...t)},fy.ZipOperator=void 0;const dy=En,py=yy,hy=xn;class vy extends hy.IterableOperatorBase{zip(...n){return(0,dy.applyChaining)(this.subject,py.zip,n)}}fy.ZipOperator=vy;var by={},my={};my.each=void 0,my.each=function(n,t){let e=0;for(const r of n)t(r,e),e++},by.EachOperator=void 0;const wy=En,Ay=my,Sy=xn;class _y extends Sy.IterableOperatorBase{each(...n){return(0,wy.applyBinding)(this.subject,Ay.each,n)}}by.EachOperator=_y;var Oy={},Iy={};Iy.every=void 0,Iy.every=function(n,t){let e=0;for(const r of n){if(!t(r,e))return!1;e++}return!0},Oy.EveryOperator=void 0;const gy=En,xy=Iy,Py=xn;class Ty extends Py.IterableOperatorBase{every(...n){return(0,gy.applyBinding)(this.subject,xy.every,n)}}Oy.EveryOperator=Ty;var By={},jy={};jy.find=void 0,jy.find=function(n,t){let e=0;for(const r of n){if(t(r,e))return r;e++}},By.FindOperator=void 0;const Ey=En,ky=jy,Cy=xn;class Ry extends Cy.IterableOperatorBase{find(...n){return(0,Ey.applyBinding)(this.subject,ky.find,n)}}By.FindOperator=Ry;var Uy={},Fy={};Fy.first=void 0,Fy.first=function(n){for(const t of n)return t},Uy.FirstOperator=void 0;const Dy=En,qy=Fy,Ny=xn;class Vy extends Ny.IterableOperatorBase{first(...n){return(0,Dy.applyBinding)(this.subject,qy.first,n)}}Uy.FirstOperator=Vy;var Gy={},Ly={};Ly.includes=void 0,Ly.includes=function(n,t){for(const e of n)if(e===t)return!0;return!1},Gy.IncludesOperator=void 0;const Jy=En,zy=Ly,My=xn;class Zy extends My.IterableOperatorBase{includes(...n){return(0,Jy.applyBinding)(this.subject,zy.includes,n)}}Gy.IncludesOperator=Zy;var Hy={},Yy={};Yy.match=void 0,Yy.match=function(n,t){const e=t.length;let r=0;for(const o of n)if(o===t[r]&&r++,r===e)return!0;return!1},Hy.MatchOperator=void 0;const Wy=En,Ky=Yy,Qy=xn;class Xy extends Qy.IterableOperatorBase{match(...n){return(0,Wy.applyBinding)(this.subject,Ky.match,n)}}Hy.MatchOperator=Xy;var $y={},nd={reduce:void 0};const td=dt;nd.reduce=function(n,t,e){return(0,td.isUndefined)(e)?function(n,t){var e;const r=n[Symbol.iterator]();let o;try{let n,a=i(r),c=1;for(;({value:n,done:o}=r.next()),!o;)a=t(a,n,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(n){const t=n.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}(n,t):function(n,t,e){let r=e,o=0;for(const e of n)r=t(r,e,o++);return r}(n,t,e)},$y.ReduceOperator=void 0;const ed=En,rd=nd,od=xn;class id extends od.IterableOperatorBase{reduce(...n){return(0,ed.applyBinding)(this.subject,rd.reduce,n)}}$y.ReduceOperator=id;var ad={},cd={};cd.some=void 0,cd.some=function(n,t){let e=0;for(const r of n){if(t(r,e))return!0;e++}return!1},ad.SomeOperator=void 0;const sd=En,ud=cd,ld=xn;class fd extends ld.IterableOperatorBase{some(...n){return(0,sd.applyBinding)(this.subject,ud.some,n)}}ad.SomeOperator=fd;var yd={},dd={};dd.last=void 0,dd.last=function(n){var t;const e=n[Symbol.iterator]();let r;try{let n,o;for(;({value:n,done:r}=e.next()),!r;)o=n;return o}finally{r||null===(t=e.return)||void 0===t||t.call(e)}},yd.LastOperator=void 0;const pd=En,hd=dd,vd=xn;class bd extends vd.IterableOperatorBase{last(...n){return(0,pd.applyBinding)(this.subject,hd.last,n)}}yd.LastOperator=bd;var md={},wd={toArray:void 0};const Ad=Ua;wd.toArray=function(n){return(0,Ad.consume)(n,(n=>Array.from(n)))},md.ToArrayOperator=void 0;const Sd=En,_d=wd,Od=xn;class Id extends Od.IterableOperatorBase{toArray(...n){return(0,Sd.applyBinding)(this.subject,_d.toArray,n)}}md.ToArrayOperator=Id;var gd={},xd={toSet:void 0};const Pd=Ua;xd.toSet=function(n){return(0,Pd.consume)(n,(n=>new Set(n)))},gd.ToSetOperator=void 0;const Td=En,Bd=xd,jd=xn;class Ed extends jd.IterableOperatorBase{toSet(...n){return(0,Td.applyBinding)(this.subject,Bd.toSet,n)}}gd.ToSetOperator=Ed,In.IterableOperator=void 0;const kd=gn,Cd=xn,Rd=jn,Ud=bu,Fd=gu,Dd=ku,qd=Gu,Nd=Hu,Vd=el,Gd=sl,Ld=hl,Jd=Ol,zd=jl,Md=Fl,Zd=zl,Hd=Xl,Yd=of,Wd=ff,Kd=wf,Qd=gf,Xd=Cf,$d=Nf,np=Wi,tp=Hf,ep=$f,rp=iy,op=fy,ip=ft,ap=Be,cp=hr,sp=Ir,up=Qr,lp=co,fp=Ko,yp=Bi,dp=Ni,pp=pa,hp=Ia,vp=Ra,bp=by,mp=Oy,wp=By,Ap=Uy,Sp=Gy,_p=Hy,Op=$y,Ip=ad,gp=yd,xp=md,Pp=gd,Tp=Va,Bp=Wa,jp=oc,Ep=Dc,kp=Zc;class Cp extends Cd.IterableOperatorBase{}function Rp(n){return Sn(n,{childList:!0,subtree:!0}).pipe(ln((n=>new On.IterableOperator(n).map((n=>n.addedNodes)).flatten().toArray())),An((n=>n.length>0)))}function Up(n){return Sn(n,{childList:!0,subtree:!0}).pipe(ln((n=>new On.IterableOperator(n).map((n=>n.removedNodes)).flatten().toArray())),An((n=>n.length>0)))}In.IterableOperator=Cp,(0,kd.mixinDecorators)(Cp,[Ud.ChunkOperator,Rd.ChunkByOperator,Fd.ConcatOperator,Dd.DropRightOperator,qd.DropUntilOperator,Nd.DropOperator,Vd.FilterOperator,Gd.FlattenByOperator,Ld.FlattenDeepOperator,Jd.FlattenOperator,zd.MapOperator,Md.RepeatOperator,Zd.SliceOperator,Hd.SplitByOperator,Yd.SplitOperator,Wd.TakeRightOperator,Kd.TakeUntilOperator,Qd.TakeOperator,Xd.TapOperator,tp.TransformOperator,ep.UniqByOperator,rp.UniqOperator,op.ZipOperator,ip.ChunkByAsyncOperator,ap.ConcatAsyncOperator,cp.DropUntilAsyncOperator,sp.FilterAsyncOperator,up.FlattenByAsync,lp.MapAsyncOperator,fp.SplitByAsyncOperator,yp.TakeUntilAsyncOperator,dp.TapAsyncOperator,$d.ToAsyncIterableOperator,np.TransformAsyncOperator,pp.UniqByAsyncOperator,hp.ZipAsyncOperator,vp.ConsumeOperator,bp.EachOperator,mp.EveryOperator,wp.FindOperator,Ap.FirstOperator,Sp.IncludesOperator,_p.MatchOperator,Op.ReduceOperator,Ip.SomeOperator,gp.LastOperator,xp.ToArrayOperator,Pp.ToSetOperator,Tp.EachAsyncOperator,Bp.EveryAsyncOperator,jp.FindAsyncOperator,Ep.ReduceAsyncOperator,kp.SomeAsyncOperator]),function(n){var t=_n&&_n.__createBinding||(Object.create?function(n,t,e,r){void 0===r&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}:function(n,t,e,r){void 0===r&&(r=e),n[r]=t[e]}),e=_n&&_n.__exportStar||function(n,e){for(var r in n)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||t(e,n,r)};e(In,n),e(kn,n)}(On);const Fp=new Set,Dp=new Set;let qp=!1,Np=!1;function Vp(){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=z(n),r=M(n,1/0),o=n;return o.length?1===o.length?tn(o[0]):pn(r)(un(o,e)):L}(new R((n=>(qp||function(){const n=history.pushState;history.pushState=function(...t){Reflect.apply(n,this,t),Fp.forEach((n=>n.next()))},qp=!0}(),Fp.add(n),()=>Fp.delete(n)))),new R((n=>(Np||function(){const n=history.replaceState;history.replaceState=function(...t){Reflect.apply(n,this,t),Dp.forEach((n=>n.next()))},Np=!0}(),Dp.add(n),()=>Dp.delete(n)))),mn(window,"popstate")).pipe(ln((n=>{})))}function Gp(){let n=document.URL;return(t?V(t):G).pipe(An((()=>n!==document.URL)),function(n,t,e){var r=l(n)||t||e?{next:n,error:t,complete:e}:n;return r?F((function(n,t){var e;null===(e=r.subscribe)||void 0===e||e.call(r);var o=!0;n.subscribe(new D(t,(function(n){var e;null===(e=r.next)||void 0===e||e.call(r,n),t.next(n)}),(function(){var n;o=!1,null===(n=r.complete)||void 0===n||n.call(r),t.complete()}),(function(n){var e;o=!1,null===(e=r.error)||void 0===e||e.call(r,n),t.error(n)}),(function(){var n,t;o&&(null===(n=r.unsubscribe)||void 0===n||n.call(r)),null===(t=r.finalize)||void 0===t||t.call(r)})))})):k}((()=>n=document.URL)),ln((()=>{})));var t}export{Rp as observeAdditionOfDescendantNodes,Up as observeRemovalOfDescendantNodes,Vp as observeStateChanges,Gp as observeUrlChanges};
|
|
15
|
+
var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])})(n,e)};function n(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function e(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))}function r(t,n){var e,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=n.call(t,a)}catch(t){i=[6,t],r=0}finally{e=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}function o(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return a}function a(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))}function c(t){return this instanceof c?(this.v=t,this):new c(t)}function u(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||u(t,n)}))})}function u(t,n){try{(e=o[t](n)).value instanceof c?Promise.resolve(e.value.v).then(s,l):f(i[0][2],e)}catch(t){f(i[0][3],t)}var e}function s(t){u("next",t)}function l(t){u("throw",t)}function f(t,n){t(n),i.shift(),i.length&&u(i[0][0],i[0][1])}}function s(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=o(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}}function l(t){return"function"==typeof t}function f(t){var n=t((function(t){Error.call(t),t.stack=(new Error).stack}));return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var y=f((function(t){return function(n){t(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(t,n){return n+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n}}));function d(t,n){if(t){var e=t.indexOf(n);0<=e&&t.splice(e,1)}}var h=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}var n;return t.prototype.unsubscribe=function(){var t,n,e,r,c;if(!this.closed){this.closed=!0;var u=this._parentage;if(u)if(this._parentage=null,Array.isArray(u))try{for(var s=o(u),f=s.next();!f.done;f=s.next()){f.value.remove(this)}}catch(n){t={error:n}}finally{try{f&&!f.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else u.remove(this);var d=this.initialTeardown;if(l(d))try{d()}catch(t){c=t instanceof y?t.errors:[t]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var v=o(h),p=v.next();!p.done;p=v.next()){var m=p.value;try{b(m)}catch(t){c=null!=c?c:[],t instanceof y?c=a(a([],i(c)),i(t.errors)):c.push(t)}}}catch(t){e={error:t}}finally{try{p&&!p.done&&(r=v.return)&&r.call(v)}finally{if(e)throw e.error}}}if(c)throw new y(c)}},t.prototype.add=function(n){var e;if(n&&n!==this)if(this.closed)b(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}},t.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},t.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},t.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&d(n,t)},t.prototype.remove=function(n){var e=this._finalizers;e&&d(e,n),n instanceof t&&n._removeParent(this)},t.EMPTY=((n=new t).closed=!0,n),t}(),v=h.EMPTY;function p(t){return t instanceof h||t&&"closed"in t&&l(t.remove)&&l(t.add)&&l(t.unsubscribe)}function b(t){l(t)?t():t.unsubscribe()}var m={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},w=function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setTimeout.apply(void 0,a([t,n],i(e)))};function A(t){w((function(){throw t}))}function g(){}function _(t){t()}var I=function(t){function e(n){var e=t.call(this)||this;return e.isStopped=!1,n?(e.destination=n,p(n)&&n.add(e)):e.destination=P,e}return n(e,t),e.create=function(t,n,e){return new T(t,n,e)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(h),S=Function.prototype.bind;function O(t,n){return S.call(t,n)}var x=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(t){B(t)}},t.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(t){B(t)}else B(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){B(t)}},t}(),T=function(t){function e(n,e,r){var o,i,a=t.call(this)||this;l(n)||!n?o={next:null!=n?n:void 0,error:null!=e?e:void 0,complete:null!=r?r:void 0}:a&&m.useDeprecatedNextContext?((i=Object.create(n)).unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&O(n.next,i),error:n.error&&O(n.error,i),complete:n.complete&&O(n.complete,i)}):o=n;return a.destination=new x(o),a}return n(e,t),e}(I);function B(t){A(t)}var P={closed:!0,next:g,error:function(t){throw t},complete:g},j="function"==typeof Symbol&&Symbol.observable||"@@observable";function E(t){return t}function k(t){return 0===t.length?E:1===t.length?t[0]:function(n){return t.reduce((function(t,n){return n(t)}),n)}}var C=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(n){var e=new t;return e.source=this,e.operator=n,e},t.prototype.subscribe=function(t,n,e){var r,o=this,i=(r=t)&&r instanceof I||function(t){return t&&l(t.next)&&l(t.error)&&l(t.complete)}(r)&&p(r)?t:new T(t,n,e);return _((function(){var t=o,n=t.operator,e=t.source;i.add(n?n.call(i,e):e?o._subscribe(i):o._trySubscribe(i))})),i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},t.prototype.forEach=function(t,n){var e=this;return new(n=N(n))((function(n,r){var o=new T({next:function(n){try{t(n)}catch(t){r(t),o.unsubscribe()}},error:r,complete:n});e.subscribe(o)}))},t.prototype._subscribe=function(t){var n;return null===(n=this.source)||void 0===n?void 0:n.subscribe(t)},t.prototype[j]=function(){return this},t.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return k(t)(this)},t.prototype.toPromise=function(t){var n=this;return new(t=N(t))((function(t,e){var r;n.subscribe((function(t){return r=t}),(function(t){return e(t)}),(function(){return t(r)}))}))},t.create=function(n){return new t(n)},t}();function N(t){var n;return null!==(n=null!=t?t:m.Promise)&&void 0!==n?n:Promise}function q(t){return l(null==t?void 0:t.lift)}function F(t){return function(n){if(q(n))return n.lift((function(n){try{return t(n,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}function D(t,n,e,r,o){return new R(t,n,e,r,o)}var R=function(t){function e(n,e,r,o,i,a){var c=t.call(this,n)||this;return c.onFinalize=i,c.shouldUnsubscribe=a,c._next=e?function(t){try{e(t)}catch(t){n.error(t)}}:t.prototype._next,c._error=o?function(t){try{o(t)}catch(t){n.error(t)}finally{this.unsubscribe()}}:t.prototype._error,c._complete=r?function(){try{r()}catch(t){n.error(t)}finally{this.unsubscribe()}}:t.prototype._complete,c}return n(e,t),e.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var e=this.closed;t.prototype.unsubscribe.call(this),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}},e}(I);!function(t){function e(n,e){var r=t.call(this)||this;return r.source=n,r.subjectFactory=e,r._subject=null,r._refCount=0,r._connection=null,q(n)&&(r.lift=n.lift),r}n(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype._teardown=function(){this._refCount=0;var t=this._connection;this._subject=this._connection=null,null==t||t.unsubscribe()},e.prototype.connect=function(){var t=this,n=this._connection;if(!n){n=this._connection=new h;var e=this.getSubject();n.add(this.source.subscribe(D(e,void 0,(function(){t._teardown(),e.complete()}),(function(n){t._teardown(),e.error(n)}),(function(){return t._teardown()})))),n.closed&&(this._connection=null,n=h.EMPTY)}return n},e.prototype.refCount=function(){return F((function(t,n){var e=null;t._refCount++;var r=D(n,void 0,void 0,void 0,(function(){if(!t||t._refCount<=0||0<--t._refCount)e=null;else{var r=t._connection,o=e;e=null,!r||o&&r!==o||r.unsubscribe(),n.unsubscribe()}}));t.subscribe(r),r.closed||(e=t.connect())}))(this)}}(C);var U={now:function(){return(U.delegate||performance).now()},delegate:void 0},M={schedule:function(t){var n=requestAnimationFrame,e=cancelAnimationFrame,r=n((function(n){e=void 0,t(n)}));return new h((function(){return null==e?void 0:e(r)}))},requestAnimationFrame:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=M.delegate;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame).apply(void 0,a([],i(t)))},cancelAnimationFrame:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return cancelAnimationFrame.apply(void 0,a([],i(t)))},delegate:void 0};function z(t){var n=M.schedule;return new C((function(e){var r=new h,o=t||U,i=o.now(),a=function(c){var u=o.now();e.next({timestamp:t?u:c,elapsed:u-i}),e.closed||r.add(n(a))};return r.add(n(a)),r}))}var V=z(),L=f((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),G=function(t){function e(){var n=t.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return n(e,t),e.prototype.lift=function(t){var n=new J(this,this);return n.operator=t,n},e.prototype._throwIfClosed=function(){if(this.closed)throw new L},e.prototype.next=function(t){var n=this;_((function(){var e,r;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var i=o(n.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(t)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}}}))},e.prototype.error=function(t){var n=this;_((function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=t;for(var e=n.observers;e.length;)e.shift().error(t)}}))},e.prototype.complete=function(){var t=this;_((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var n=t.observers;n.length;)n.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var n=this,e=this,r=e.hasError,o=e.isStopped,i=e.observers;return r||o?v:(this.currentObservers=null,i.push(t),new h((function(){n.currentObservers=null,d(i,t)})))},e.prototype._checkFinalizedStatuses=function(t){var n=this,e=n.hasError,r=n.thrownError,o=n.isStopped;e?t.error(r):o&&t.complete()},e.prototype.asObservable=function(){var t=new C;return t.source=this,t},e.create=function(t,n){return new J(t,n)},e}(C),J=function(t){function e(n,e){var r=t.call(this)||this;return r.destination=n,r.source=e,r}return n(e,t),e.prototype.next=function(t){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===e||e.call(n,t)},e.prototype.error=function(t){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===e||e.call(n,t)},e.prototype.complete=function(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)},e.prototype._subscribe=function(t){var n,e;return null!==(e=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==e?e:v},e}(G);!function(t){function e(n){var e=t.call(this)||this;return e._value=n,e}n(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(n){var e=t.prototype._subscribe.call(this,n);return!e.closed&&n.next(this._value),e},e.prototype.getValue=function(){var t=this,n=t.hasError,e=t.thrownError,r=t._value;if(n)throw e;return this._throwIfClosed(),r},e.prototype.next=function(n){t.prototype.next.call(this,this._value=n)}}(G);var W={now:function(){return(W.delegate||Date).now()},delegate:void 0};!function(t){function e(n,e,r){void 0===n&&(n=1/0),void 0===e&&(e=1/0),void 0===r&&(r=W);var o=t.call(this)||this;return o._bufferSize=n,o._windowTime=e,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=e===1/0,o._bufferSize=Math.max(1,n),o._windowTime=Math.max(1,e),o}n(e,t),e.prototype.next=function(n){var e=this,r=e.isStopped,o=e._buffer,i=e._infiniteTimeWindow,a=e._timestampProvider,c=e._windowTime;r||(o.push(n),!i&&o.push(a.now()+c)),this._trimBuffer(),t.prototype.next.call(this,n)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(t),e=this._infiniteTimeWindow,r=this._buffer.slice(),o=0;o<r.length&&!t.closed;o+=e?1:2)t.next(r[o]);return this._checkFinalizedStatuses(t),n},e.prototype._trimBuffer=function(){var t=this,n=t._bufferSize,e=t._timestampProvider,r=t._buffer,o=t._infiniteTimeWindow,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){for(var a=e.now(),c=0,u=1;u<r.length&&r[u]<=a;u+=2)c=u;c&&r.splice(0,c+1)}}}(G),function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n._value=null,n._hasValue=!1,n._isComplete=!1,n}n(e,t),e.prototype._checkFinalizedStatuses=function(t){var n=this,e=n.hasError,r=n._hasValue,o=n._value,i=n.thrownError,a=n.isStopped,c=n._isComplete;e?t.error(i):(a||c)&&(r&&t.next(o),t.complete())},e.prototype.next=function(t){this.isStopped||(this._value=t,this._hasValue=!0)},e.prototype.complete=function(){var n=this,e=n._hasValue,r=n._value;n._isComplete||(this._isComplete=!0,e&&t.prototype.next.call(this,r),t.prototype.complete.call(this))}}(G);var Z,Y=function(t){function e(n,e){return t.call(this)||this}return n(e,t),e.prototype.schedule=function(t,n){return this},e}(h),H=function(t,n){for(var e=[],r=2;r<arguments.length;r++)e[r-2]=arguments[r];return setInterval.apply(void 0,a([t,n],i(e)))},X=function(t){return clearInterval(t)},K=function(t){function e(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r.pending=!1,r}return n(e,t),e.prototype.schedule=function(t,n){if(void 0===n&&(n=0),this.closed)return this;this.state=t;var e=this.id,r=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(r,e,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(r,this.id,n),this},e.prototype.requestAsyncId=function(t,n,e){return void 0===e&&(e=0),H(t.flush.bind(t,this),e)},e.prototype.recycleAsyncId=function(t,n,e){if(void 0===e&&(e=0),null!=e&&this.delay===e&&!1===this.pending)return n;X(n)},e.prototype.execute=function(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(t,n);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,n){var e,r=!1;try{this.work(t)}catch(t){r=!0,e=t||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),e},e.prototype.unsubscribe=function(){if(!this.closed){var n=this.id,e=this.scheduler,r=e.actions;this.work=this.state=this.scheduler=null,this.pending=!1,d(r,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}(Y),Q=1,$={};function tt(t){return t in $&&(delete $[t],!0)}var nt=function(t){var n=Q++;return $[n]=!0,Z||(Z=Promise.resolve()),Z.then((function(){return tt(n)&&t()})),n},et=function(t){tt(t)},rt={setImmediate:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=rt.delegate;return((null==e?void 0:e.setImmediate)||nt).apply(void 0,a([],i(t)))},clearImmediate:function(t){return et(t)},delegate:void 0},ot=function(t){function e(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return n(e,t),e.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=rt.setImmediate(n.flush.bind(n,void 0))))},e.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);n.actions.some((function(t){return t.id===e}))||(rt.clearImmediate(e),n._scheduled=void 0)},e}(K),it=function(){function t(n,e){void 0===e&&(e=t.now),this.schedulerActionCtor=n,this.now=e}return t.prototype.schedule=function(t,n,e){return void 0===n&&(n=0),new this.schedulerActionCtor(this,t).schedule(e,n)},t.now=W.now,t}(),at=function(t){function e(n,e){void 0===e&&(e=it.now);var r=t.call(this,n,e)||this;return r.actions=[],r._active=!1,r._scheduled=void 0,r}return n(e,t),e.prototype.flush=function(t){var n=this.actions;if(this._active)n.push(t);else{var e;this._active=!0;do{if(e=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,e){for(;t=n.shift();)t.unsubscribe();throw e}}},e}(it);new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var e,r=this.actions;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,e){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw e}},e}(at))(ot),new at(K);var ct=function(t){function e(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return n(e,t),e.prototype.schedule=function(n,e){return void 0===e&&(e=0),e>0?t.prototype.schedule.call(this,n,e):(this.delay=e,this.state=n,this.scheduler.flush(this),this)},e.prototype.execute=function(n,e){return e>0||this.closed?t.prototype.execute.call(this,n,e):this._execute(n,e)},e.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0?t.prototype.requestAsyncId.call(this,n,e,r):n.flush(this)},e}(K);new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(at))(ct);var ut=function(t){function e(n,e){var r=t.call(this,n,e)||this;return r.scheduler=n,r.work=e,r}return n(e,t),e.prototype.requestAsyncId=function(n,e,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=M.requestAnimationFrame((function(){return n.flush(void 0)}))))},e.prototype.recycleAsyncId=function(n,e,r){if(void 0===r&&(r=0),null!=r&&r>0||null==r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,n,e,r);n.actions.some((function(t){return t.id===e}))||(M.cancelAnimationFrame(e),n._scheduled=void 0)},e}(K);new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.flush=function(t){this._active=!0;var n=this._scheduled;this._scheduled=void 0;var e,r=this.actions;t=t||r.shift();do{if(e=t.execute(t.state,t.delay))break}while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,e){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw e}},e}(at))(ut),function(t){function e(n,e){void 0===n&&(n=st),void 0===e&&(e=1/0);var r=t.call(this,n,(function(){return r.frame}))||this;return r.maxFrames=e,r.frame=0,r.index=-1,r}n(e,t),e.prototype.flush=function(){for(var t,n,e=this.actions,r=this.maxFrames;(n=e[0])&&n.delay<=r&&(e.shift(),this.frame=n.delay,!(t=n.execute(n.state,n.delay))););if(t){for(;n=e.shift();)n.unsubscribe();throw t}},e.frameTimeFactor=10}(at);var st=function(t){function e(n,e,r){void 0===r&&(r=n.index+=1);var o=t.call(this,n,e)||this;return o.scheduler=n,o.work=e,o.index=r,o.active=!0,o.index=n.index=r,o}return n(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),Number.isFinite(r)){if(!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var o=new e(this.scheduler,this.work);return this.add(o),o.schedule(n,r)}return h.EMPTY},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var o=t.actions;return o.push(this),o.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,n,e){},e.prototype._execute=function(n,e){if(!0===this.active)return t.prototype._execute.call(this,n,e)},e.sortActions=function(t,n){return t.delay===n.delay?t.index===n.index?0:t.index>n.index?1:-1:t.delay>n.delay?1:-1},e}(K),lt=new C((function(t){return t.complete()}));function ft(t){return t[t.length-1]}function yt(t){return(n=ft(t))&&l(n.schedule)?t.pop():void 0;var n}function dt(t,n){return"number"==typeof ft(t)?t.pop():n}var ht=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function vt(t){return l(null==t?void 0:t.then)}function pt(t){return l(t[j])}function bt(t){return Symbol.asyncIterator&&l(null==t?void 0:t[Symbol.asyncIterator])}function mt(t){return new TypeError("You provided "+(null!==t&&"object"==typeof t?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var wt,At="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function gt(t){return l(null==t?void 0:t[At])}function _t(t){return u(this,arguments,(function(){var n,e,o;return r(this,(function(r){switch(r.label){case 0:n=t.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,c(n.read())];case 3:return e=r.sent(),o=e.value,e.done?[4,c(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,c(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}}))}))}function It(t){return l(null==t?void 0:t.getReader)}function St(t){if(t instanceof C)return t;if(null!=t){if(pt(t))return n=t,new C((function(t){var e=n[j]();if(l(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(ht(t))return function(t){return new C((function(n){for(var e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()}))}(t);if(vt(t))return function(t){return new C((function(n){t.then((function(t){n.closed||(n.next(t),n.complete())}),(function(t){return n.error(t)})).then(null,A)}))}(t);if(bt(t))return Ot(t);if(gt(t))return function(t){return new C((function(n){var e,r;try{for(var i=o(t),a=i.next();!a.done;a=i.next()){var c=a.value;if(n.next(c),n.closed)return}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}n.complete()}))}(t);if(It(t))return Ot(_t(t))}var n;throw mt(t)}function Ot(t){return new C((function(n){(function(t,n){var o,i,a,c;return e(this,void 0,void 0,(function(){var e,u;return r(this,(function(r){switch(r.label){case 0:r.trys.push([0,5,6,11]),o=s(t),r.label=1;case 1:return[4,o.next()];case 2:if((i=r.sent()).done)return[3,4];if(e=i.value,n.next(e),n.closed)return[2];r.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=r.sent(),a={error:u},[3,11];case 6:return r.trys.push([6,,9,10]),i&&!i.done&&(c=o.return)?[4,c.call(o)]:[3,8];case 7:r.sent(),r.label=8;case 8:return[3,10];case 9:if(a)throw a.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}}))}))})(t,n).catch((function(t){return n.error(t)}))}))}function xt(t,n,e,r,o){void 0===r&&(r=0),void 0===o&&(o=!1);var i=n.schedule((function(){e(),o?t.add(this.schedule(null,r)):this.unsubscribe()}),r);if(t.add(i),!o)return i}function Tt(t,n){return void 0===n&&(n=0),F((function(e,r){e.subscribe(D(r,(function(e){return xt(r,t,(function(){return r.next(e)}),n)}),(function(){return xt(r,t,(function(){return r.complete()}),n)}),(function(e){return xt(r,t,(function(){return r.error(e)}),n)})))}))}function Bt(t,n){return void 0===n&&(n=0),F((function(e,r){r.add(t.schedule((function(){return e.subscribe(r)}),n))}))}function Pt(t,n){if(!t)throw new Error("Iterable cannot be null");return new C((function(e){xt(e,n,(function(){var r=t[Symbol.asyncIterator]();xt(e,n,(function(){r.next().then((function(t){t.done?e.complete():e.next(t.value)}))}),0,!0)}))}))}function jt(t,n){if(null!=t){if(pt(t))return function(t,n){return St(t).pipe(Bt(n),Tt(n))}(t,n);if(ht(t))return function(t,n){return new C((function(e){var r=0;return n.schedule((function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())}))}))}(t,n);if(vt(t))return function(t,n){return St(t).pipe(Bt(n),Tt(n))}(t,n);if(bt(t))return Pt(t,n);if(gt(t))return function(t,n){return new C((function(e){var r;return xt(e,n,(function(){r=t[At](),xt(e,n,(function(){var t,n,o;try{n=(t=r.next()).value,o=t.done}catch(t){return void e.error(t)}o?e.complete():e.next(n)}),0,!0)})),function(){return l(null==r?void 0:r.return)&&r.return()}}))}(t,n);if(It(t))return function(t,n){return Pt(_t(t),n)}(t,n)}throw mt(t)}function Et(t,n){return n?jt(t,n):St(t)}function kt(t,n){return F((function(e,r){var o=0;e.subscribe(D(r,(function(e){r.next(t.call(n,e,o++))})))}))}!function(t){t.NEXT="N",t.ERROR="E",t.COMPLETE="C"}(wt||(wt={})),f((function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}})),f((function(t){return function(){t(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})),f((function(t){return function(n){t(this),this.name="NotFoundError",this.message=n}})),f((function(t){return function(n){t(this),this.name="SequenceError",this.message=n}})),f((function(t){return function(n){void 0===n&&(n=null),t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n}}));var Ct=Array.isArray;function Nt(t){return kt((function(n){return function(t,n){return Ct(n)?t.apply(void 0,a([],i(n))):t(n)}(t,n)}))}function qt(t,n,e){return void 0===e&&(e=1/0),l(n)?qt((function(e,r){return kt((function(t,o){return n(e,t,r,o)}))(St(t(e,r)))}),e):("number"==typeof n&&(e=n),F((function(n,r){return function(t,n,e,r,o,i,a,c){var u=[],s=0,l=0,f=!1,y=function(){!f||u.length||s||n.complete()},d=function(t){return s<r?h(t):u.push(t)},h=function(t){i&&n.next(t),s++;var c=!1;St(e(t,l++)).subscribe(D(n,(function(t){null==o||o(t),i?d(t):n.next(t)}),(function(){c=!0}),void 0,(function(){if(c)try{s--;for(var t=function(){var t=u.shift();a?xt(n,a,(function(){return h(t)})):h(t)};u.length&&s<r;)t();y()}catch(t){n.error(t)}})))};return t.subscribe(D(n,d,(function(){f=!0,y()}))),function(){null==c||c()}}(n,r,t,e)})))}function Ft(t){return void 0===t&&(t=1/0),qt(E,t)}var Dt=["addListener","removeListener"],Rt=["addEventListener","removeEventListener"],Ut=["on","off"];function Mt(t,n,e,r){if(l(e)&&(r=e,e=void 0),r)return Mt(t,n,e).pipe(Nt(r));var o=i(function(t){return l(t.addEventListener)&&l(t.removeEventListener)}(t)?Rt.map((function(r){return function(o){return t[r](n,o,e)}})):function(t){return l(t.addListener)&&l(t.removeListener)}(t)?Dt.map(zt(t,n)):function(t){return l(t.on)&&l(t.off)}(t)?Ut.map(zt(t,n)):[],2),a=o[0],c=o[1];if(!a&&ht(t))return qt((function(t){return Mt(t,n,e)}))(St(t));if(!a)throw new TypeError("Invalid event target");return new C((function(t){var n=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.next(1<n.length?n:n[0])};return a(n),function(){return c(n)}}))}function zt(t,n){return function(e){return function(r){return t[e](n,r)}}}function Vt(t,n){return F((function(e,r){var o=0;e.subscribe(D(r,(function(e){return t.call(n,e,o++)&&r.next(e)})))}))}function Lt(...t){return new C((n=>{const e=new MutationObserver((t=>n.next(t)));return e.observe(...t),()=>e.disconnect()}))}new C(g);var Gt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Jt={},Wt={},Zt={};Zt.mixinDecorators=void 0,Zt.mixinDecorators=function(t,n){for(const e of n)for(const n of Object.getOwnPropertyNames(e.prototype)){if("constructor"===n)continue;const r=Object.getOwnPropertyDescriptor(e.prototype,n);Object.defineProperty(t.prototype,n,r)}};var Yt={},Ht={Subject:void 0};Ht.Subject=class{constructor(t){this.subject=t}},Yt.IterableOperatorBase=void 0;const Xt=Ht;class Kt extends Xt.Subject{[Symbol.iterator](){return this.subject[Symbol.iterator]()}}Yt.IterableOperatorBase=Kt;var Qt={},$t={},tn={},nn={AsyncIterableOperatorBase:void 0};const en=Ht;class rn extends en.Subject{[Symbol.asyncIterator](){return this.subject[Symbol.asyncIterator]()}}nn.AsyncIterableOperatorBase=rn;var on={},an={},cn={},un={};un.go=void 0,un.go=function(t){return t()};var sn={};sn.goMicrotask=void 0,sn.goMicrotask=function(t){return new Promise(((n,e)=>{queueMicrotask((async()=>{try{n(await t())}catch(t){e(t)}}))}))};var ln={},fn={},yn={},dn={},hn={};hn.random=void 0,hn.random=function(t,n){return Math.random()*(n-t)+t};var vn={};vn.randomInt=void 0,vn.randomInt=function(t,n){return t=Math.ceil(t),n=Math.floor(n),Math.floor(Math.random()*(n-t))+t};var pn,bn,mn,wn={};wn.randomIntInclusive=void 0,wn.randomIntInclusive=function(t,n){return t=Math.ceil(t),n=Math.floor(n),Math.floor(Math.random()*(n-t+1))+t},pn=dn,bn=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),(mn=Gt&&Gt.__exportStar||function(t,n){for(var e in t)"default"===e||Object.prototype.hasOwnProperty.call(n,e)||bn(n,t,e)})(hn,pn),mn(vn,pn),mn(wn,pn),yn.calculateExponentialBackoffTimeout=void 0;const An=dn;yn.calculateExponentialBackoffTimeout=function({baseTimeout:t,retries:n,maxTimeout:e=1/0,factor:r=2,jitter:o=!0}){const i=Math.min(r**n*t,e);return o?(0,An.randomIntInclusive)(0,i):i};var gn={};gn.setTimeout=void 0,gn.setTimeout=function(t,n){const e=globalThis.setTimeout(n,t);return()=>clearTimeout(e)};var _n={setSchedule:void 0};const In=gn;_n.setSchedule=function(t,n){const e=t-Date.now();return(0,In.setTimeout)(e,n)};var Sn={};Sn.setInterval=void 0,Sn.setInterval=function(t,n){const e=globalThis.setInterval(n,t);return()=>clearInterval(e)};var On={setImmediate:void 0};const xn=gn;On.setImmediate=function(t){if(globalThis.setImmediate){const n=globalThis.setImmediate(t);return()=>clearImmediate(n)}return(0,xn.setTimeout)(0,t)};var Tn={setTimeoutLoop:void 0};const Bn=gn;Tn.setTimeoutLoop=function(t,n){let e=!1,r=(0,Bn.setTimeout)(t,(async function o(){await n(),e||(r=(0,Bn.setTimeout)(t,o))}));return()=>{e=!0,r()}};var Pn={setDynamicTimeoutLoop:void 0};const jn=gn;Pn.setDynamicTimeoutLoop=function(t,n){let e=!1,r=(0,jn.setTimeout)(t,(async function o(){const i=Date.now();await n();const a=Date.now()-i;e||(r=(0,jn.setTimeout)(Math.max(t-a,0),o))}));return()=>{e=!0,r()}},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(yn,t),e(gn,t),e(_n,t),e(Sn,t),e(On,t),e(Tn,t),e(Pn,t)}(fn),ln.goMacrotask=void 0;const En=fn;ln.goMacrotask=function(t){return new Promise(((n,e)=>{(0,En.setImmediate)((async()=>{try{n(await t())}catch(t){e(t)}}))}))},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(un,t),e(sn,t),e(ln,t)}(cn);var kn,Cn={},Nn={},qn={},Fn={},Dn={};var Rn={},Un={},Mn={};function zn(t){return Array.isArray(t)}Mn.isntEmptyArray=Mn.isEmptyArray=Mn.isntArray=Mn.isArray=void 0,Mn.isArray=zn,Mn.isntArray=function(t){return!zn(t)},Mn.isEmptyArray=function(t){return 0===t.length},Mn.isntEmptyArray=function(t){return 0!==t.length};var Vn={},Ln={};function Gn(t){return null===t}Ln.isntNull=Ln.isNull=void 0,Ln.isNull=Gn,Ln.isntNull=function(t){return!Gn(t)};var Jn={};function Wn(t){return void 0===t}Jn.isntUndefined=Jn.isUndefined=void 0,Jn.isUndefined=Wn,Jn.isntUndefined=function(t){return!Wn(t)};var Zn={};function Yn(t){return"function"==typeof t}Zn.isntFunction=Zn.isFunction=void 0,Zn.isFunction=Yn,Zn.isntFunction=function(t){return!Yn(t)},Vn.isntAsyncIterable=Vn.isAsyncIterable=void 0;const Hn=Ln,Xn=Jn,Kn=Zn;function Qn(t){return(0,Hn.isntNull)(t)&&(0,Xn.isntUndefined)(t)&&(0,Kn.isFunction)(t[Symbol.asyncIterator])}Vn.isAsyncIterable=Qn,Vn.isntAsyncIterable=function(t){return!Qn(t)};var $n={};function te(t){return"bigint"==typeof t}$n.isntBigInt=$n.isBigInt=void 0,$n.isBigInt=te,$n.isntBigInt=function(t){return!te(t)};var ne={};function ee(t){return"boolean"==typeof t}ne.isntBoolean=ne.isBoolean=void 0,ne.isBoolean=ee,ne.isntBoolean=function(t){return!ee(t)};var re={},oe={};function ie(t){return"string"==typeof t}oe.isntString=oe.isString=void 0,oe.isString=ie,oe.isntString=function(t){return!ie(t)},re.isntChar=re.isChar=void 0;const ae=oe;function ce(t){return(0,ae.isString)(t)&&1===t.length}re.isChar=ce,re.isntChar=function(t){return!ce(t)};var ue={};function se(t){return t instanceof Date}ue.isntDate=ue.isDate=void 0,ue.isDate=se,ue.isntDate=function(t){return!se(t)};var le={};le.inEnum=void 0,le.inEnum=function(t,n){return Object.values(n).includes(t)};var fe={};function ye(t){return t instanceof Error}fe.isntError=fe.isError=void 0,fe.isError=ye,fe.isntError=function(t){return!ye(t)};var de={};function he(t){return!t}de.isntFalsy=de.isFalsy=void 0,de.isFalsy=he,de.isntFalsy=function(t){return!he(t)};var ve={};ve.isntIterable=ve.isIterable=void 0;const pe=Ln,be=Jn,me=Zn;function we(t){return(0,pe.isntNull)(t)&&(0,be.isntUndefined)(t)&&(0,me.isFunction)(t[Symbol.iterator])}ve.isIterable=we,ve.isntIterable=function(t){return!we(t)};var Ae={},ge={};function _e(t){return"number"==typeof t}function Ie(t){return Number.isNaN(t)}ge.isntNaN=ge.isNaN=ge.isNegativeInfinity=ge.isPositiveInfinity=ge.isFinite=ge.isntNumber=ge.isNumber=void 0,ge.isNumber=_e,ge.isntNumber=function(t){return!_e(t)},ge.isFinite=function(t){return Number.isFinite(t)},ge.isPositiveInfinity=function(t){return t===1/0},ge.isNegativeInfinity=function(t){return t===-1/0},ge.isNaN=Ie,ge.isntNaN=function(t){return!Ie(t)};var Se={},Oe="object"==typeof Gt&&Gt&&Gt.Object===Object&&Gt,xe="object"==typeof self&&self&&self.Object===Object&&self,Te=(Oe||xe||Function("return this")()).Symbol,Be=Te,Pe=Object.prototype,je=Pe.hasOwnProperty,Ee=Pe.toString,ke=Be?Be.toStringTag:void 0;var Ce=function(t){var n=je.call(t,ke),e=t[ke];try{t[ke]=void 0;var r=!0}catch(t){}var o=Ee.call(t);return r&&(n?t[ke]=e:delete t[ke]),o},Ne=Object.prototype.toString;var qe=Ce,Fe=function(t){return Ne.call(t)},De=Te?Te.toStringTag:void 0;var Re=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":De&&De in Object(t)?qe(t):Fe(t)};var Ue=function(t,n){return function(e){return t(n(e))}}(Object.getPrototypeOf,Object);var Me=Re,ze=Ue,Ve=function(t){return null!=t&&"object"==typeof t},Le=Function.prototype,Ge=Object.prototype,Je=Le.toString,We=Ge.hasOwnProperty,Ze=Je.call(Object);var Ye=function(t){if(!Ve(t)||"[object Object]"!=Me(t))return!1;var n=ze(t);if(null===n)return!0;var e=We.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&Je.call(e)==Ze},He=Gt&&Gt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Se.isntEmptyObject=Se.isEmptyObject=Se.isntPlainObject=Se.isPlainObject=Se.isntObject=Se.isObject=void 0;const Xe=He(Ye);function Ke(t){return null!==t&&"object"==typeof t}function Qe(t){return(0,Xe.default)(t)}Se.isObject=Ke,Se.isntObject=function(t){return!Ke(t)},Se.isPlainObject=Qe,Se.isntPlainObject=function(t){return!Qe(t)},Se.isEmptyObject=function(t){return 0===Object.keys(t).length},Se.isntEmptyObject=function(t){return 0!==Object.keys(t).length},Ae.isntJsonable=Ae.isJsonable=Ae.isntJson=Ae.isJson=void 0;const $e=Ln,tr=ne,nr=oe,er=ge,rr=Mn,or=Se;function ir(t){return(0,$e.isNull)(t)||(0,tr.isBoolean)(t)||(0,nr.isString)(t)||(0,er.isNumber)(t)||(0,rr.isArray)(t)&&t.every(ir)||(0,or.isPlainObject)(t)&&Object.values(t).every(ir)}Ae.isJson=ir,Ae.isntJson=function(t){return!ir(t)},Ae.isJsonable=function(t){try{return JSON.stringify(t),!0}catch(t){return!1}},Ae.isntJsonable=function t(n){return!t()};var ar={};ar.isPromiseLike=ar.isntPromiseLike=ar.isntPromise=ar.isPromise=void 0;const cr=Se,ur=Zn;function sr(t){return t instanceof Promise}function lr(t){return(0,cr.isObject)(t)&&(0,ur.isFunction)(t.then)}ar.isPromise=sr,ar.isntPromise=function(t){return!sr(t)},ar.isntPromiseLike=function(t){return!lr(t)},ar.isPromiseLike=lr;var fr={};fr.isAbsoluteURL=void 0,fr.isAbsoluteURL=function(t){try{return new URL(t),!0}catch(t){return!1}};var yr={};function dr(t){return t instanceof RegExp}yr.isntRegExp=yr.isRegExp=void 0,yr.isRegExp=dr,yr.isntRegExp=function(t){return!dr(t)},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(Mn,t),e(Vn,t),e($n,t),e(ne,t),e(re,t),e(ue,t),e(le,t),e(fe,t),e(de,t),e(Zn,t),e(ve,t),e(Ae,t),e(Ln,t),e(ge,t),e(Se,t),e(ar,t),e(oe,t),e(Jn,t),e(fr,t),e(yr,t)}(Un),Rn.chunkByAsync=void 0;const hr=Un;Rn.chunkByAsync=function(t,n){return(0,hr.isAsyncIterable)(t)?async function*(t,n){let e=[],r=0;for await(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t,n):async function*(t,n){let e=[],r=0;for(const o of t)e.push(o),await n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)}(t,n)};var vr={};vr.chunkBy=void 0,vr.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var pr,br={};var mr={concatAsync:void 0};const wr=Un,Ar=cn;mr.concatAsync=function(t,...n){return(0,Ar.go)((async function*(){for(const e of[t,...n])if((0,wr.isAsyncIterable)(e))for await(const t of e)yield t;else for(const t of e)yield t}))};var gr={concat:void 0};const _r=cn;gr.concat=function(t,...n){return(0,_r.go)((function*(){for(const e of[t,...n])yield*e}))};var Ir,Sr={},Or={};Or.copyIterable=Or.copyAsyncIterable=void 0,Or.copyAsyncIterable=async function*(t){for await(const n of t)yield n},Or.copyIterable=function*(t){for(const n of t)yield n};var xr,Tr={};var Br,Pr={};var jr={dropUntilAsync:void 0};const Er=Un;jr.dropUntilAsync=function(t,n){return(0,Er.isAsyncIterable)(t)?async function*(t,n){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=await r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=await r.next())}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}}(t,n):async function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||await n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}(t,n)};var kr={};kr.dropUntil=void 0,kr.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var Cr,Nr={};var qr={filterAsync:void 0};const Fr=Un;qr.filterAsync=function(t,n){return(0,Fr.isAsyncIterable)(t)?async function*(t,n){let e=0;for await(const r of t)await n(r,e)&&(yield r),e++}(t,n):async function*(t,n){let e=0;for(const r of t)await n(r,e)&&(yield r),e++}(t,n)};var Dr={};Dr.filter=void 0,Dr.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var Rr={},Ur={},Mr={flattenByAsync:void 0};const zr=Un;async function*Vr(t,n,e){for(const r of t)Lr(r)&&await n(r,e)?yield*Vr(r,n,e+1):yield r}function Lr(t){return(0,zr.isIterable)(t)&&(0,zr.isntChar)(t)}var Gr,Jr;function Wr(){if(Gr)return Ur;Gr=1,Ur.flattenDeepAsync=void 0;const t=Mr,n=ra();return Ur.flattenDeepAsync=function(e,r=1/0){return(0,n.assert)(r===1/0||Number.isInteger(r),"The parameter depth must be an integer"),(0,n.assert)(r>=0,"The parameter depth must be greater than or equal to 0"),(0,t.flattenByAsync)(e,((t,n)=>n<=r))},Ur}Mr.flattenByAsync=function(t,n){return(0,zr.isAsyncIterable)(t)?async function*(t,n){const e=1;for await(const r of t)Lr(r)&&await n(r,e)?yield*Vr(r,n,e+1):yield r}(t,n):function(t,n){return Vr(t,n,1)}(t,n)};var Zr={flattenBy:void 0};const Yr=Un;function*Hr(t,n,e){for(const o of t)(0,Yr.isIterable)(r=o)&&(0,Yr.isntChar)(r)&&n(o,e)?yield*Hr(o,n,e+1):yield o;var r}Zr.flattenBy=function(t,n){return Hr(t,n,1)};var Xr,Kr={};function Qr(){if(Xr)return Kr;Xr=1,Kr.flattenDeep=void 0;const t=Zr,n=ra();return Kr.flattenDeep=function(e,r=1/0){return(0,n.assert)(r===1/0||Number.isInteger(r),"The parameter depth must be an integer"),(0,n.assert)(r>=0,"The parameter depth must be greater than or equal to 0"),(0,t.flattenBy)(e,((t,n)=>n<=r))},Kr}var $r,to={};var no={mapAsync:void 0};const eo=Un;no.mapAsync=function(t,n){return(0,eo.isAsyncIterable)(t)?async function*(t,n){let e=0;for await(const r of t)yield await n(r,e),e++}(t,n):async function*(t,n){let e=0;for(const r of t)yield await n(r,e),e++}(t,n)};var ro={};ro.map=void 0,ro.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var oo,io={};function ao(){if(oo)return io;oo=1,io.repeatAsync=void 0;const t=cn,n=ra();return io.repeatAsync=function(e,r){return(0,n.assert)(r===1/0||Number.isInteger(r),"The parameter times must be an integer"),(0,n.assert)(r>=0,"The parameter times must be greater than or equal to 0"),r===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,t.go)((async function*(){const t=[];if(r>0){for await(const n of e)yield n,t.push(n);r--}for(;r>0;)yield*t,r--}))},io}var co,uo={};function so(){if(co)return uo;co=1,uo.repeat=void 0;const t=cn,n=ra();return uo.repeat=function(e,r){return(0,n.assert)(r===1/0||Number.isInteger(r),"The parameter times must be an integer"),(0,n.assert)(r>=0,"The parameter times must be greater than or equal to 0"),r===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,t.go)((function*(){const t=[];if(r>0){for(const n of e)yield n,t.push(n);r--}for(;r>0;)yield*t,r--}))},uo}var lo,fo={};var yo,ho={};var vo={};vo.splitAsync=void 0,vo.splitAsync=async function*(t,n){let e=[];for await(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var po={splitByAsync:void 0};const bo=Un;po.splitByAsync=function(t,n){return(0,bo.isAsyncIterable)(t)?async function*(t,n){let e=[],r=0;for await(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t,n):async function*(t,n){let e=[],r=0;for(const o of t)await n(o,r)?(yield e,e=[]):e.push(o),r++;yield e}(t,n)};var mo={};mo.splitBy=void 0,mo.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var wo={};wo.split=void 0,wo.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var Ao,go={};var _o,Io={};var So,Oo={};var xo={takeUntilAsync:void 0};const To=Un;xo.takeUntilAsync=function(t,n){return(0,To.isAsyncIterable)(t)?async function*(t,n){let e=0;for await(const r of t){if(await n(r,e))break;yield r,e++}}(t,n):async function*(t,n){let e=0;for(const r of t){if(await n(r,e))break;yield r,e++}}(t,n)};var Bo={};Bo.takeUntil=void 0,Bo.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var Po,jo={};var Eo={tapAsync:void 0};const ko=Un;Eo.tapAsync=function(t,n){return(0,ko.isAsyncIterable)(t)?async function*(t,n){let e=0;for await(const r of t)await n(r,e),yield r,e++}(t,n):async function*(t,n){let e=0;for(const r of t)await n(r,e),yield r,e++}(t,n)};var Co={};Co.tap=void 0,Co.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var No={};No.toAsyncIterable=void 0,No.toAsyncIterable=async function*(t){for(const n of t)yield n};var qo={};qo.transformAsync=void 0,qo.transformAsync=async function*(t,n){yield*n(t)};var Fo={};Fo.transform=void 0,Fo.transform=function*(t,n){yield*n(t)};var Do={};Do.uniqAsync=void 0,Do.uniqAsync=async function*(t){const n=new Set;for await(const e of t)n.has(e)||(yield e,n.add(e))};var Ro={uniqByAsync:void 0};const Uo=Un;Ro.uniqByAsync=function(t,n){return(0,Uo.isAsyncIterable)(t)?async function*(t,n){const e=new Set;let r=0;for await(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t,n):async function*(t,n){const e=new Set;let r=0;for(const o of t){const t=await n(o,r);e.has(t)||(yield o,e.add(t)),r++}}(t,n)};var Mo={};Mo.uniqBy=void 0,Mo.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var zo={};zo.uniq=void 0,zo.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var Vo={zipAsync:void 0};const Lo=Un;var Go;!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(Go||(Go={})),Vo.zipAsync=function(t,...n){return async function*(...t){var n,e,r,o;const i=t.length,a=t.map((t=>(0,Lo.isAsyncIterable)(t)?[Go.Async,t[Symbol.asyncIterator]()]:[Go.Sync,t[Symbol.iterator]()])),c=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===Go.Async?await r.next():r.next(),o.done)return void(c[n]=!0);t[n]=o.value}yield t}}finally{const t=a.filter(((t,n)=>!c[n]));for(const[i,a]of t)i===Go.Async?await(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}(t,...n)};var Jo,Wo={};function Zo(){return Jo||(Jo=1,function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(function(){if(kn)return Dn;kn=1,Dn.chunkAsync=void 0;const t=cn,n=ra();return Dn.chunkAsync=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter size must be an integer"),(0,n.assert)(r>0,"The parameter size must be greater than 0"),(0,t.go)((async function*(){let t=[];for await(const n of e)t.push(n),t.length>=r&&(yield t,t=[]);t.length&&(yield t)}))},Dn}(),t),e(Rn,t),e(vr,t),e(function(){if(pr)return br;pr=1,br.chunk=void 0;const t=cn,n=ra();return br.chunk=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter size must be an integer"),(0,n.assert)(r>0,"The parameter size must be greater than 0"),(0,t.go)((function*(){let t=[];for(const n of e)t.push(n),t.length>=r&&(yield t,t=[]);t.length&&(yield t)}))},br}(),t),e(mr,t),e(gr,t),e(function(){if(Ir)return Sr;Ir=1,Sr.dropAsync=void 0;const t=cn,n=Or,e=ra();return Sr.dropAsync=function(r,o){return(0,e.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,e.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,n.copyAsyncIterable)(r):(0,t.go)((async function*(){var t;const n=r[Symbol.asyncIterator]();let e;try{let r;for(;({value:r,done:e}=await n.next()),!(e||o<=0);)o--;for(;!e;)yield r,({value:r,done:e}=await n.next())}finally{e||await(null===(t=n.return)||void 0===t?void 0:t.call(n))}}))},Sr}(),t),e(function(){if(xr)return Tr;xr=1,Tr.dropRightAsync=void 0;const t=cn,n=Or,e=ra();return Tr.dropRightAsync=function(r,o){return(0,e.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,e.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,n.copyAsyncIterable)(r):(0,t.go)((async function*(){const t=(await async function(t){const n=[];for await(const e of t)n.push(e);return n}(r)).slice(0,-o);for(const n of t)yield n}))},Tr}(),t),e(function(){if(Br)return Pr;Br=1,Pr.dropRight=void 0;const t=cn,n=Or,e=ra();return Pr.dropRight=function(r,o){return(0,e.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,e.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,n.copyIterable)(r):(0,t.go)((function*(){const t=Array.from(r);yield*t.slice(0,-o)}))},Pr}(),t),e(jr,t),e(kr,t),e(function(){if(Cr)return Nr;Cr=1,Nr.drop=void 0;const t=cn,n=Or,e=ra();return Nr.drop=function(r,o){return(0,e.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,e.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,n.copyIterable)(r):(0,t.go)((function*(){var t;const n=r[Symbol.iterator]();let e;try{let r;for(;({value:r,done:e}=n.next()),!(e||o<=0);)o--;for(;!e;)yield r,({value:r,done:e}=n.next())}finally{e||null===(t=n.return)||void 0===t||t.call(n)}}))},Nr}(),t),e(qr,t),e(Dr,t),e(function(){if(Jr)return Rr;Jr=1,Rr.flattenAsync=void 0;const t=Wr();return Rr.flattenAsync=function(n){return(0,t.flattenDeepAsync)(n,1)},Rr}(),t),e(Mr,t),e(Zr,t),e(Wr(),t),e(Qr(),t),e(function(){if($r)return to;$r=1,to.flatten=void 0;const t=Qr();return to.flatten=function(n){return(0,t.flattenDeep)(n,1)},to}(),t),e(no,t),e(ro,t),e(ao(),t),e(so(),t),e(function(){if(lo)return fo;lo=1,fo.sliceAsync=void 0;const t=cn,n=ra();return fo.sliceAsync=function(e,r,o=1/0){return(0,n.assert)(Number.isInteger(r),"The parameter start must be an integer"),(0,n.assert)(r>=0,"The parameter start must be greater than or equal to 0"),(0,n.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,n.assert)(o>=r,"The parameter end must be greater than or equal to start"),(0,t.go)((async function*(){let t=0;for await(const n of e){if(t>=o)break;t>=r&&(yield n),t++}}))},fo}(),t),e(function(){if(yo)return ho;yo=1,ho.slice=void 0;const t=cn,n=ra();return ho.slice=function(e,r,o=1/0){return(0,n.assert)(Number.isInteger(r),"The parameter start must be an integer"),(0,n.assert)(r>=0,"The parameter start must be greater than or equal to 0"),(0,n.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,n.assert)(o>=r,"The parameter end must be greater than or equal to start"),(0,t.go)((function*(){let t=0;for(const n of e){if(t>=o)break;t>=r&&(yield n),t++}}))},ho}(),t),e(vo,t),e(po,t),e(mo,t),e(wo,t),e(function(){if(Ao)return go;Ao=1,go.takeAsync=void 0;const t=cn,n=ra();return go.takeAsync=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter count must be an integer"),(0,n.assert)(r>=0,"The parameter count must be greater than or equal to 0"),(0,t.go)((async function*(){if(0!==r)for await(const t of e)if(yield t,0==--r)break}))},go}(),t),e(function(){if(_o)return Io;_o=1,Io.takeRightAsync=void 0;const t=cn,n=ra();return Io.takeRightAsync=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter count must be an integer"),(0,n.assert)(r>=0,"The parameter count must be greater than or equal to 0"),(0,t.go)((async function*(){var t;const n=e[Symbol.asyncIterator]();let o;try{const e=[];let i;for(;({value:i,done:o}=await n.next()),!o;)e.push(i),e.length>r&&e.shift();yield*e}finally{o||await(null===(t=n.return)||void 0===t?void 0:t.call(n))}}))},Io}(),t),e(function(){if(So)return Oo;So=1,Oo.takeRight=void 0;const t=cn,n=ra();return Oo.takeRight=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter count must be an integer"),(0,n.assert)(r>=0,"The parameter count must be greater than or equal to 0"),(0,t.go)((function*(){var t;const n=e[Symbol.iterator]();let o;try{const e=[];let i;for(;({value:i,done:o}=n.next()),!o;)e.push(i),e.length>r&&e.shift();yield*e}finally{o||null===(t=n.return)||void 0===t||t.call(n)}}))},Oo}(),t),e(xo,t),e(Bo,t),e(function(){if(Po)return jo;Po=1,jo.take=void 0;const t=cn,n=ra();return jo.take=function(e,r){return(0,n.assert)(Number.isInteger(r),"The parameter count must be an integer"),(0,n.assert)(r>=0,"The parameter count must be greater than or equal to 0"),(0,t.go)((function*(){if(0!==r)for(const t of e)if(yield t,0==--r)break}))},jo}(),t),e(Eo,t),e(Co,t),e(No,t),e(qo,t),e(Fo,t),e(Do,t),e(Ro,t),e(Mo,t),e(zo,t),e(Vo,t),e(Wo,t)}(Fn)),Fn}Wo.zip=void 0,Wo.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)};var Yo={},Ho={};Ho.consume=void 0,Ho.consume=function(t,n){return n(t)};var Xo={eachAsync:void 0};const Ko=Un;Xo.eachAsync=function(t,n){return(0,Ko.isAsyncIterable)(t)?async function(t,n){let e=0;for await(const r of t)await n(r,e),e++}(t,n):async function(t,n){let e=0;for(const r of t)await n(r,e),e++}(t,n)};var Qo={};Qo.each=void 0,Qo.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var $o={everyAsync:void 0};const ti=Un;$o.everyAsync=function(t,n){return(0,ti.isAsyncIterable)(t)?async function(t,n){let e=0;for await(const r of t){if(!await n(r,e))return!1;e++}return!0}(t,n):async function(t,n){let e=0;for(const r of t){if(!await n(r,e))return!1;e++}return!0}(t,n)};var ni={};ni.every=void 0,ni.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var ei={findAsync:void 0};const ri=Un;ei.findAsync=function(t,n){return(0,ri.isAsyncIterable)(t)?async function(t,n){let e=0;for await(const r of t){if(await n(r,e))return r;e++}return}(t,n):async function(t,n){let e=0;for(const r of t){if(await n(r,e))return r;e++}return}(t,n)};var oi={};oi.find=void 0,oi.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var ii={};ii.firstAsync=void 0,ii.firstAsync=async function(t){for await(const n of t)return n};var ai={};ai.first=void 0,ai.first=function(t){for(const n of t)return n};var ci={};ci.includesAsync=void 0,ci.includesAsync=async function(t,n){for await(const e of t)if(e===n)return!0;return!1};var ui={};ui.includes=void 0,ui.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var si={};si.matchAsync=void 0,si.matchAsync=async function(t,n){const e=n.length;let r=0;for await(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var li={};li.match=void 0,li.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var fi={reduceAsync:void 0};const yi=Un;fi.reduceAsync=function(t,n,e){return(0,yi.isUndefined)(e)?function(t,n){return(0,yi.isAsyncIterable)(t)?e(t):r(t);async function e(t){var e;const r=t[Symbol.asyncIterator]();let o;try{let t,a=await i(r),c=1;for(;({value:t,done:o}=await r.next()),!o;)a=await n(a,t,c++);return a}finally{o||await(null===(e=r.return)||void 0===e?void 0:e.call(r))}async function i(t){const n=await t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}async function r(t){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),c=1;for(;({value:t,done:o}=r.next()),!o;)a=await n(a,t,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}}(t,n):function(t,n,e){return(0,yi.isAsyncIterable)(t)?o(t):r(t);async function r(t){let r=e,o=0;for(const e of t)r=await n(r,e,o++);return r}async function o(t){let r=e,o=0;for await(const e of t)r=await n(r,e,o++);return r}}(t,n,e)};var di={reduce:void 0};const hi=Un;di.reduce=function(t,n,e){return(0,hi.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),c=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var vi={someAsync:void 0};const pi=Un;vi.someAsync=function(t,n){return(0,pi.isAsyncIterable)(t)?async function(t,n){let e=0;for await(const r of t){if(await n(r,e))return!0;e++}return!1}(t,n):async function(t,n){let e=0;for(const r of t){if(await n(r,e))return!0;e++}return!1}(t,n)};var bi={};bi.some=void 0,bi.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var mi={};mi.lastAsync=void 0,mi.lastAsync=async function(t){var n;const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=await e.next()),!r;)o=t;return o}finally{r||await(null===(n=e.return)||void 0===n?void 0:n.call(e))}};var wi={};wi.last=void 0,wi.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var Ai={toArrayAsync:void 0};const gi=Ho;Ai.toArrayAsync=function(t){return(0,gi.consume)(t,(async t=>{const n=[];for await(const e of t)n.push(e);return n}))};var _i={toArray:void 0};const Ii=Ho;_i.toArray=function(t){return(0,Ii.consume)(t,(t=>Array.from(t)))};var Si={toSetAsync:void 0};const Oi=Ho;Si.toSetAsync=function(t){return(0,Oi.consume)(t,(async t=>{const n=new Set;for await(const e of t)n.add(e);return n}))};var xi={toSet:void 0};const Ti=Ho;xi.toSet=function(t){return(0,Ti.consume)(t,(t=>new Set(t)))};var Bi={};Bi.count=void 0,Bi.count=function(t){let n=0;for(const e of t)n++;return n};var Pi={};Pi.countAsync=void 0,Pi.countAsync=async function(t){let n=0;for await(const e of t)n++;return n};var ji={groupBy:void 0};const Ei=Qo;ji.groupBy=function(t,n){const e=new Map;return(0,Ei.each)(t,((t,r)=>{const o=n(t,r);e.has(o)||e.set(o,[]),e.get(o).push(t)})),e};var ki={groupByAsync:void 0};const Ci=Xo;var Ni;function qi(){return Ni||(Ni=1,function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(Zo(),t),e(Yo,t)}(qn)),qn}ki.groupByAsync=async function(t,n){const e=new Map;return await(0,Ci.eachAsync)(t,(async(t,r)=>{const o=await n(t,r);e.has(o)||e.set(o,[]),e.get(o).push(t)})),e},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(Ho,t),e(Xo,t),e(Qo,t),e($o,t),e(ni,t),e(ei,t),e(oi,t),e(ii,t),e(ai,t),e(ci,t),e(ui,t),e(si,t),e(li,t),e(fi,t),e(di,t),e(vi,t),e(bi,t),e(mi,t),e(wi,t),e(Ai,t),e(_i,t),e(Si,t),e(xi,t),e(Bi,t),e(Pi,t),e(ji,t),e(ki,t)}(Yo);var Fi={},Di={};Di.traverseErrorPrototypeChain=void 0,Di.traverseErrorPrototypeChain=function*(t){let n=t;for(;(n=Object.getPrototypeOf(n))&&(yield n,n!==Error.prototype););},Fi.getErrorNames=void 0;const Ri=Un,Ui=Di;Fi.getErrorNames=function*(t){var n;if((0,Ri.isError)(t))for(const e of(0,Ui.traverseErrorPrototypeChain)(t))(null===(n=e.constructor)||void 0===n?void 0:n.name)&&(yield e.constructor.name);else yield t.name,yield*t.ancestors};var Mi={isSerializableError:void 0};const zi=Un;var Vi;function Li(){if(Vi)return Nn;Vi=1,Nn.CustomError=void 0;const t=qi(),n=Fi,e=Un,r=Mi;class o extends Error{get name(){var e,r;return null!==(r=null!==(e=(0,t.first)((0,n.getErrorNames)(this)))&&void 0!==e?e:o.name)&&void 0!==r?r:"CustomError"}static[Symbol.hasInstance](o){var i;if((0,e.isError)(o)||(0,r.isSerializableError)(o)){const e=[null!==(i=this.prototype.constructor.name)&&void 0!==i?i:this.name,...(0,n.getErrorNames)(this.prototype)].reverse(),r=(0,t.toArray)((0,n.getErrorNames)(o)).reverse();return e.every(((t,n)=>t===r[n]))}return!1}}return Nn.CustomError=o,Nn}Mi.isSerializableError=function(t){return(0,zi.isObject)(t)&&(0,zi.isString)(t.name)&&(0,zi.isString)(t.message)&&((0,zi.isString)(t.stack)||(0,zi.isNull)(t.stack))&&(0,zi.isArray)(t.ancestors)&&t.ancestors.every(zi.isString)};var Gi,Ji={};function Wi(){if(Gi)return Ji;Gi=1,Ji.AssertionError=void 0;const t=Li();class n extends t.CustomError{}return Ji.AssertionError=n,Ji}var Zi,Yi={};var Hi={},Xi={},Ki={};Ki.pass=void 0,Ki.pass=function(){},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e),Object.defineProperty(t,r,{enumerable:!0,get:function(){return n[e]}})}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]});(Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)})(Ki,t)}(Xi),Hi.hydrate=void 0;const Qi=Xi;function $i(t,n){const e=function(){(0,Qi.pass)()};return(e.prototype=Object.create(t.prototype)).constructor=e,Object.defineProperty(e,"name",{value:n}),e}Hi.hydrate=function(t){var n;const e=[t.name,...t.ancestors].slice(0,-1).reverse();let r=Error;for(const t of e)r=$i(r,t);const o=new r;return o.name=t.name,o.message=t.message,o.stack=null!==(n=t.stack)&&void 0!==n?n:void 0,o};var ta,na,ea={};function ra(){return na||(na=1,function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(Li(),t),e(Wi(),t),e(Mi,t),e(function(){if(Zi)return Yi;Zi=1,Yi.normalize=void 0;const t=Fi,n=qi();return Yi.normalize=function(e){var r;const[o,...i]=(0,n.toArray)((0,t.getErrorNames)(e));return{name:o,ancestors:i,message:e.message,stack:null!==(r=e.stack)&&void 0!==r?r:null}},Yi}(),t),e(Hi,t),e(function(){if(ta)return ea;ta=1,ea.assert=void 0;const t=Wi();return ea.assert=function(n,e){if(!n)throw new t.AssertionError(e)},ea}(),t),e(Fi,t),e(Di,t)}(Cn)),Cn}var oa=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},ia=Gt&&Gt.__await||function(t){return this instanceof ia?(this.v=t,this):new ia(t)},aa=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof ia?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};an.chunkAsync=void 0;const ca=cn,ua=ra();var sa;an.chunkAsync=function(t,n){return(0,ua.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,ua.assert)(n>0,"The parameter size must be greater than 0"),(0,ca.go)((function(){return aa(this,arguments,(function*(){var e,r;let o=[];try{for(var i,a=oa(t);!(i=yield ia(a.next())).done;){const t=i.value;o.push(t),o.length>=n&&(yield yield ia(o),o=[])}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield ia(r.call(a)))}finally{if(e)throw e.error}}o.length&&(yield yield ia(o))}))}))};var la={},fa={},ya=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},da=Gt&&Gt.__await||function(t){return this instanceof da?(this.v=t,this):new da(t)},ha=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof da?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};fa.chunkByAsync=void 0;const va=Un;var pa;function ba(){if(pa)return la;pa=1,la.ChunkByAsyncOperator=void 0;const t=nf(),n=fa,e=Ht;class r extends e.Subject{chunkByAsync(...e){return(0,t.applyChainingAsync)(this.subject,n.chunkByAsync,e)}}return la.ChunkByAsyncOperator=r,la}fa.chunkByAsync=function(t,n){return(0,va.isAsyncIterable)(t)?function(t,n){return ha(this,arguments,(function*(){var e,r;let o=[],i=0;try{for(var a,c=ya(t);!(a=yield da(c.next())).done;){const t=a.value;o.push(t),(yield da(n(t,i)))&&(yield yield da(o),o=[]),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=c.return)&&(yield da(r.call(c)))}finally{if(e)throw e.error}}o.length&&(yield yield da(o))}))}(t,n):function(t,n){return ha(this,arguments,(function*(){let e=[],r=0;for(const o of t)e.push(o),(yield da(n(o,r)))&&(yield yield da(e),e=[]),r++;e.length&&(yield yield da(e))}))}(t,n)};var ma={},wa={},Aa=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},ga=Gt&&Gt.__await||function(t){return this instanceof ga?(this.v=t,this):new ga(t)},_a=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof ga?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};wa.concatAsync=void 0;const Ia=Un,Sa=cn;var Oa;function xa(){if(Oa)return ma;Oa=1,ma.ConcatAsyncOperator=void 0;const t=nf(),n=wa,e=Ht;class r extends e.Subject{concatAsync(...e){return(0,t.applyChainingAsync)(this.subject,n.concatAsync,e)}}return ma.ConcatAsyncOperator=r,ma}wa.concatAsync=function(t,...n){return(0,Sa.go)((function(){return _a(this,arguments,(function*(){var e,r;for(const a of[t,...n])if((0,Ia.isAsyncIterable)(a))try{for(var o,i=(e=void 0,Aa(a));!(o=yield ga(i.next())).done;){const t=o.value;yield yield ga(t)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&(yield ga(r.call(i)))}finally{if(e)throw e.error}}else for(const t of a)yield yield ga(t)}))}))};var Ta={},Ba={},Pa={},ja=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Ea=Gt&&Gt.__await||function(t){return this instanceof Ea?(this.v=t,this):new Ea(t)},ka=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Ea?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Pa.copyIterable=Pa.copyAsyncIterable=void 0,Pa.copyAsyncIterable=function(t){return ka(this,arguments,(function*(){var n,e;try{for(var r,o=ja(t);!(r=yield Ea(o.next())).done;){const t=r.value;yield yield Ea(t)}}catch(t){n={error:t}}finally{try{r&&!r.done&&(e=o.return)&&(yield Ea(e.call(o)))}finally{if(n)throw n.error}}}))},Pa.copyIterable=function*(t){for(const n of t)yield n};var Ca=Gt&&Gt.__await||function(t){return this instanceof Ca?(this.v=t,this):new Ca(t)},Na=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Ca?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Ba.dropAsync=void 0;const qa=cn,Fa=Pa,Da=ra();var Ra;Ba.dropAsync=function(t,n){return(0,Da.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Da.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Fa.copyAsyncIterable)(t):(0,qa.go)((function(){var e;return Na(this,arguments,(function*(){const r=t[Symbol.asyncIterator]();let o;try{let t;for(;!(({value:t,done:o}=yield Ca(r.next())),o||n<=0);)n--;for(;!o;)yield yield Ca(t),({value:t,done:o}=yield Ca(r.next()))}finally{o||(yield Ca(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}))};var Ua={},Ma={},za=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},Va=Gt&&Gt.__await||function(t){return this instanceof Va?(this.v=t,this):new Va(t)},La=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Va?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}},Ga=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Ma.dropRightAsync=void 0;const Ja=cn,Wa=Pa,Za=ra();function Ya(t){var n,e,r,o;return za(this,void 0,void 0,(function*(){const i=[];try{for(n=Ga(t);!(e=yield n.next()).done;){const t=e.value;i.push(t)}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}return i}))}var Ha;Ma.dropRightAsync=function(t,n){return(0,Za.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Za.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,Wa.copyAsyncIterable)(t):(0,Ja.go)((function(){return La(this,arguments,(function*(){const e=(yield Va(Ya(t))).slice(0,-n);for(const t of e)yield yield Va(t)}))}))};var Xa={},Ka={},Qa=Gt&&Gt.__await||function(t){return this instanceof Qa?(this.v=t,this):new Qa(t)},$a=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Qa?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Ka.dropUntilAsync=void 0;const tc=Un;var nc;function ec(){if(nc)return Xa;nc=1,Xa.DropUntilAsyncOperator=void 0;const t=nf(),n=Ht,e=Ka;class r extends n.Subject{dropUntilAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.dropUntilAsync,n)}}return Xa.DropUntilAsyncOperator=r,Xa}Ka.dropUntilAsync=function(t,n){return(0,tc.isAsyncIterable)(t)?function(t,n){var e;return $a(this,arguments,(function*(){const r=t[Symbol.asyncIterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=yield Qa(r.next())),o||(yield Qa(n(t,i++)))););for(;!o;)yield yield Qa(t),({value:t,done:o}=yield Qa(r.next()))}finally{o||(yield Qa(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}(t,n):function(t,n){var e;return $a(this,arguments,(function*(){const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||(yield Qa(n(t,i++)))););for(;!o;)yield yield Qa(t),({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))}(t,n)};var rc={},oc={},ic=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},ac=Gt&&Gt.__await||function(t){return this instanceof ac?(this.v=t,this):new ac(t)},cc=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof ac?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};oc.filterAsync=void 0;const uc=Un;var sc;function lc(){if(sc)return rc;sc=1,rc.FilterAsyncOperator=void 0;const t=nf(),n=Ht,e=oc;class r extends n.Subject{filterAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.filterAsync,n)}}return rc.FilterAsyncOperator=r,rc}oc.filterAsync=function(t,n){return(0,uc.isAsyncIterable)(t)?function(t,n){return cc(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=ic(t);!(i=yield ac(a.next())).done;){const t=i.value;(yield ac(n(t,o)))&&(yield yield ac(t)),o++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield ac(r.call(a)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return cc(this,arguments,(function*(){let e=0;for(const r of t)(yield ac(n(r,e)))&&(yield yield ac(r)),e++}))}(t,n)};var fc={},yc={},dc={},hc={},vc=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},pc=Gt&&Gt.__await||function(t){return this instanceof pc?(this.v=t,this):new pc(t)},bc=Gt&&Gt.__asyncDelegator||function(t){var n,e;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=t[r]?function(n){return(e=!e)?{value:pc(t[r](n)),done:"return"===r}:o?o(n):n}:o}},mc=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof pc?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};hc.flattenByAsync=void 0;const wc=Un;function Ac(t,n,e){return mc(this,arguments,(function*(){for(const r of t)gc(r)&&(yield pc(n(r,e)))?yield pc(yield*bc(vc(Ac(r,n,e+1)))):yield yield pc(r)}))}function gc(t){return(0,wc.isIterable)(t)&&(0,wc.isntChar)(t)}hc.flattenByAsync=function(t,n){return(0,wc.isAsyncIterable)(t)?function(t,n){return mc(this,arguments,(function*(){var e,r;const o=1;try{for(var i,a=vc(t);!(i=yield pc(a.next())).done;){const t=i.value;gc(t)&&(yield pc(n(t,o)))?yield pc(yield*bc(vc(Ac(t,n,o+1)))):yield yield pc(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield pc(r.call(a)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return Ac(t,n,1)}(t,n)},dc.flattenDeepAsync=void 0;const _c=hc,Ic=ra();dc.flattenDeepAsync=function(t,n=1/0){return(0,Ic.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,Ic.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,_c.flattenByAsync)(t,((t,e)=>e<=n))},yc.flattenAsync=void 0;const Sc=dc;var Oc;yc.flattenAsync=function(t){return(0,Sc.flattenDeepAsync)(t,1)};var xc,Tc={};function Bc(){if(xc)return Tc;xc=1,Tc.FlattenByAsync=void 0;const t=nf(),n=Ht,e=hc;class r extends n.Subject{flattenByAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.flattenByAsync,n)}}return Tc.FlattenByAsync=r,Tc}var Pc,jc={};var Ec={},kc={},Cc=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Nc=Gt&&Gt.__await||function(t){return this instanceof Nc?(this.v=t,this):new Nc(t)},qc=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Nc?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};kc.mapAsync=void 0;const Fc=Un;var Dc;function Rc(){if(Dc)return Ec;Dc=1,Ec.MapAsyncOperator=void 0;const t=nf(),n=Ht,e=kc;class r extends n.Subject{mapAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.mapAsync,n)}}return Ec.MapAsyncOperator=r,Ec}kc.mapAsync=function(t,n){return(0,Fc.isAsyncIterable)(t)?function(t,n){return qc(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=Cc(t);!(i=yield Nc(a.next())).done;){const t=i.value;yield yield Nc(yield Nc(n(t,o))),o++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield Nc(r.call(a)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return qc(this,arguments,(function*(){let e=0;for(const r of t)yield yield Nc(yield Nc(n(r,e))),e++}))}(t,n)};var Uc={},Mc={},zc=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Vc=Gt&&Gt.__await||function(t){return this instanceof Vc?(this.v=t,this):new Vc(t)},Lc=Gt&&Gt.__asyncDelegator||function(t){var n,e;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=t[r]?function(n){return(e=!e)?{value:Vc(t[r](n)),done:"return"===r}:o?o(n):n}:o}},Gc=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Vc?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Mc.repeatAsync=void 0;const Jc=cn,Wc=ra();var Zc;Mc.repeatAsync=function(t,n){return(0,Wc.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Wc.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Jc.go)((function(){return Gc(this,arguments,(function*(){var e,r;const o=[];if(n>0){try{for(var i,a=zc(t);!(i=yield Vc(a.next())).done;){const t=i.value;yield yield Vc(t),o.push(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield Vc(r.call(a)))}finally{if(e)throw e.error}}n--}for(;n>0;)yield Vc(yield*Lc(zc(o))),n--}))}))};var Yc={},Hc={},Xc=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Kc=Gt&&Gt.__await||function(t){return this instanceof Kc?(this.v=t,this):new Kc(t)},Qc=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Kc?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Hc.sliceAsync=void 0;const $c=cn,tu=ra();var nu;Hc.sliceAsync=function(t,n,e=1/0){return(0,tu.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,tu.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,tu.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,tu.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,$c.go)((function(){return Qc(this,arguments,(function*(){var r,o;let i=0;try{for(var a,c=Xc(t);!(a=yield Kc(c.next())).done;){const t=a.value;if(i>=e)break;i>=n&&(yield yield Kc(t)),i++}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=c.return)&&(yield Kc(o.call(c)))}finally{if(r)throw r.error}}}))}))};var eu,ru={},ou={},iu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},au=Gt&&Gt.__await||function(t){return this instanceof au?(this.v=t,this):new au(t)},cu=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof au?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};ou.splitAsync=void 0,ou.splitAsync=function(t,n){return cu(this,arguments,(function*(){var e,r;let o=[];try{for(var i,a=iu(t);!(i=yield au(a.next())).done;){const t=i.value;t===n?(yield yield au(o),o=[]):o.push(t)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield au(r.call(a)))}finally{if(e)throw e.error}}yield yield au(o)}))};var uu={},su={},lu=Gt&&Gt.__await||function(t){return this instanceof lu?(this.v=t,this):new lu(t)},fu=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof lu?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}},yu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};su.splitByAsync=void 0;const du=Un;var hu;function vu(){if(hu)return uu;hu=1,uu.SplitByAsyncOperator=void 0;const t=nf(),n=Ht,e=su;class r extends n.Subject{splitByAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.splitByAsync,n)}}return uu.SplitByAsyncOperator=r,uu}su.splitByAsync=function(t,n){return(0,du.isAsyncIterable)(t)?function(t,n){return fu(this,arguments,(function*(){var e,r;let o=[],i=0;try{for(var a,c=yu(t);!(a=yield lu(c.next())).done;){const t=a.value;(yield lu(n(t,i)))?(yield yield lu(o),o=[]):o.push(t),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=c.return)&&(yield lu(r.call(c)))}finally{if(e)throw e.error}}yield yield lu(o)}))}(t,n):function(t,n){return fu(this,arguments,(function*(){let e=[],r=0;for(const o of t)(yield lu(n(o,r)))?(yield yield lu(e),e=[]):e.push(o),r++;yield yield lu(e)}))}(t,n)};var pu={},bu={},mu=Gt&&Gt.__await||function(t){return this instanceof mu?(this.v=t,this):new mu(t)},wu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Au=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof mu?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};bu.takeAsync=void 0;const gu=cn,_u=ra();var Iu;bu.takeAsync=function(t,n){return(0,_u.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,_u.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,gu.go)((function(){return Au(this,arguments,(function*(){var e,r;if(0===n)return yield mu(void 0);try{for(var o,i=wu(t);!(o=yield mu(i.next())).done;){const t=o.value;if(yield yield mu(t),0===--n)break}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&(yield mu(r.call(i)))}finally{if(e)throw e.error}}}))}))};var Su={},Ou={},xu=Gt&&Gt.__await||function(t){return this instanceof xu?(this.v=t,this):new xu(t)},Tu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Bu=Gt&&Gt.__asyncDelegator||function(t){var n,e;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=t[r]?function(n){return(e=!e)?{value:xu(t[r](n)),done:"return"===r}:o?o(n):n}:o}},Pu=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof xu?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Ou.takeRightAsync=void 0;const ju=cn,Eu=ra();var ku;Ou.takeRightAsync=function(t,n){return(0,Eu.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Eu.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,ju.go)((function(){var e;return Pu(this,arguments,(function*(){const r=t[Symbol.asyncIterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=yield xu(r.next())),!o;)t.push(i),t.length>n&&t.shift();yield xu(yield*Bu(Tu(t)))}finally{o||(yield xu(null===(e=r.return)||void 0===e?void 0:e.call(r)))}}))}))};var Cu={},Nu={},qu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},Fu=Gt&&Gt.__await||function(t){return this instanceof Fu?(this.v=t,this):new Fu(t)},Du=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Fu?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Nu.takeUntilAsync=void 0;const Ru=Un;var Uu;function Mu(){if(Uu)return Cu;Uu=1,Cu.TakeUntilAsyncOperator=void 0;const t=nf(),n=Ht,e=Nu;class r extends n.Subject{takeUntilAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.takeUntilAsync,n)}}return Cu.TakeUntilAsyncOperator=r,Cu}Nu.takeUntilAsync=function(t,n){return(0,Ru.isAsyncIterable)(t)?function(t,n){return Du(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=qu(t);!(i=yield Fu(a.next())).done;){const t=i.value;if(yield Fu(n(t,o)))break;yield yield Fu(t),o++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield Fu(r.call(a)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return Du(this,arguments,(function*(){let e=0;for(const r of t){if(yield Fu(n(r,e)))break;yield yield Fu(r),e++}}))}(t,n)};var zu={},Vu={},Lu=Gt&&Gt.__await||function(t){return this instanceof Lu?(this.v=t,this):new Lu(t)},Gu=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof Lu?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}},Ju=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Vu.tapAsync=void 0;const Wu=Un;var Zu;function Yu(){if(Zu)return zu;Zu=1,zu.TapAsyncOperator=void 0;const t=nf(),n=Ht,e=Vu;class r extends n.Subject{tapAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.tapAsync,n)}}return zu.TapAsyncOperator=r,zu}Vu.tapAsync=function(t,n){return(0,Wu.isAsyncIterable)(t)?function(t,n){return Gu(this,arguments,(function*(){var e,r;let o=0;try{for(var i,a=Ju(t);!(i=yield Lu(a.next())).done;){const t=i.value;yield Lu(n(t,o)),yield yield Lu(t),o++}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=a.return)&&(yield Lu(r.call(a)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return Gu(this,arguments,(function*(){let e=0;for(const r of t)yield Lu(n(r,e)),yield yield Lu(r),e++}))}(t,n)};var Hu,Xu={},Ku={},Qu=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},$u=Gt&&Gt.__await||function(t){return this instanceof $u?(this.v=t,this):new $u(t)},ts=Gt&&Gt.__asyncDelegator||function(t){var n,e;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=t[r]?function(n){return(e=!e)?{value:$u(t[r](n)),done:"return"===r}:o?o(n):n}:o}},ns=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof $u?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};function es(){if(Hu)return Xu;Hu=1,Xu.TransformAsyncOperator=void 0;const t=nf(),n=Ht,e=Ku;class r extends n.Subject{transformAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.transformAsync,n)}}return Xu.TransformAsyncOperator=r,Xu}Ku.transformAsync=void 0,Ku.transformAsync=function(t,n){return ns(this,arguments,(function*(){yield $u(yield*ts(Qu(n(t))))}))};var rs,os={},is={},as=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},cs=Gt&&Gt.__await||function(t){return this instanceof cs?(this.v=t,this):new cs(t)},us=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof cs?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};is.uniqAsync=void 0,is.uniqAsync=function(t){return us(this,arguments,(function*(){var n,e;const r=new Set;try{for(var o,i=as(t);!(o=yield cs(i.next())).done;){const t=o.value;r.has(t)||(yield yield cs(t),r.add(t))}}catch(t){n={error:t}}finally{try{o&&!o.done&&(e=i.return)&&(yield cs(e.call(i)))}finally{if(n)throw n.error}}}))};var ss={},ls={},fs=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}},ys=Gt&&Gt.__await||function(t){return this instanceof ys?(this.v=t,this):new ys(t)},ds=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof ys?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};ls.uniqByAsync=void 0;const hs=Un;var vs;function ps(){if(vs)return ss;vs=1,ss.UniqByAsyncOperator=void 0;const t=nf(),n=Ht,e=ls;class r extends n.Subject{uniqByAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.uniqByAsync,n)}}return ss.UniqByAsyncOperator=r,ss}ls.uniqByAsync=function(t,n){return(0,hs.isAsyncIterable)(t)?function(t,n){return ds(this,arguments,(function*(){var e,r;const o=new Set;let i=0;try{for(var a,c=fs(t);!(a=yield ys(c.next())).done;){const t=a.value,e=yield ys(n(t,i));o.has(e)||(yield yield ys(t),o.add(e)),i++}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=c.return)&&(yield ys(r.call(c)))}finally{if(e)throw e.error}}}))}(t,n):function(t,n){return ds(this,arguments,(function*(){const e=new Set;let r=0;for(const o of t){const t=yield ys(n(o,r));e.has(t)||(yield yield ys(o),e.add(t)),r++}}))}(t,n)};var bs={},ms={},ws=Gt&&Gt.__await||function(t){return this instanceof ws?(this.v=t,this):new ws(t)},As=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof ws?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};ms.zipAsync=void 0;const gs=Un;var _s,Is;function Ss(){if(Is)return bs;Is=1,bs.ZipAsyncOperator=void 0;const t=nf(),n=Ht,e=ms;class r extends n.Subject{zipAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.zipAsync,n)}}return bs.ZipAsyncOperator=r,bs}!function(t){t[t.Sync=0]="Sync",t[t.Async=1]="Async"}(_s||(_s={})),ms.zipAsync=function(t,...n){return function(...t){var n,e,r,o;return As(this,arguments,(function*(){const i=t.length,a=t.map((t=>(0,gs.isAsyncIterable)(t)?[_s.Async,t[Symbol.asyncIterator]()]:[_s.Sync,t[Symbol.iterator]()])),c=a.map((()=>!1));try{for(;;){const t=new Array(i);for(let n=0;n<i;n++){const[e,r]=a[n];let o;if(o=e===_s.Async?yield ws(r.next()):r.next(),o.done)return c[n]=!0,yield ws(void 0);t[n]=o.value}yield yield ws(t)}}finally{const t=a.filter(((t,n)=>!c[n]));for(const[i,a]of t)i===_s.Async?yield ws(null===(e=(n=a).return)||void 0===e?void 0:e.call(n)):null===(o=(r=a).return)||void 0===o||o.call(r)}}))}(t,...n)};var Os,xs={},Ts={};function Bs(){if(Os)return xs;Os=1,xs.ConsumeOperator=void 0;const t=nf(),n=Ts,e=Ht;class r extends e.Subject{consume(...e){return(0,t.applyBinding)(this.subject,n.consume,e)}}return xs.ConsumeOperator=r,xs}Ts.consume=void 0,Ts.consume=function(t,n){return n(t)};var Ps={},js={},Es=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},ks=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};js.eachAsync=void 0;const Cs=Un;var Ns;function qs(){if(Ns)return Ps;Ns=1,Ps.EachAsyncOperator=void 0;const t=nf(),n=Ht,e=js;class r extends n.Subject{eachAsync(...n){return(0,t.applyBinding)(this.subject,e.eachAsync,n)}}return Ps.EachAsyncOperator=r,Ps}js.eachAsync=function(t,n){return(0,Cs.isAsyncIterable)(t)?function(t,n){var e,r,o,i;return Es(this,void 0,void 0,(function*(){let a=0;try{for(e=ks(t);!(r=yield e.next()).done;){const t=r.value;yield n(t,a),a++}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}}))}(t,n):function(t,n){return Es(this,void 0,void 0,(function*(){let e=0;for(const r of t)yield n(r,e),e++}))}(t,n)};var Fs={},Ds={},Rs=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},Us=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Ds.everyAsync=void 0;const Ms=Un;var zs;function Vs(){if(zs)return Fs;zs=1,Fs.EveryAsyncOperator=void 0;const t=nf(),n=Ht,e=Ds;class r extends n.Subject{everyAsync(...n){return(0,t.applyBinding)(this.subject,e.everyAsync,n)}}return Fs.EveryAsyncOperator=r,Fs}Ds.everyAsync=function(t,n){return(0,Ms.isAsyncIterable)(t)?function(t,n){var e,r,o,i;return Rs(this,void 0,void 0,(function*(){let a=0;try{for(e=Us(t);!(r=yield e.next()).done;){const t=r.value;if(!(yield n(t,a)))return!1;a++}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!0}))}(t,n):function(t,n){return Rs(this,void 0,void 0,(function*(){let e=0;for(const r of t){if(!(yield n(r,e)))return!1;e++}return!0}))}(t,n)};var Ls={},Gs={},Js=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},Ws=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Gs.findAsync=void 0;const Zs=Un;var Ys;function Hs(){if(Ys)return Ls;Ys=1,Ls.FindAsyncOperator=void 0;const t=nf(),n=Ht,e=Gs;class r extends n.Subject{findAsync(...n){return(0,t.applyBinding)(this.subject,e.findAsync,n)}}return Ls.FindAsyncOperator=r,Ls}Gs.findAsync=function(t,n){return(0,Zs.isAsyncIterable)(t)?function(t,n){var e,r,o,i;return Js(this,void 0,void 0,(function*(){let a=0;try{for(e=Ws(t);!(r=yield e.next()).done;){const t=r.value;if(yield n(t,a))return t;a++}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}}))}(t,n):function(t,n){return Js(this,void 0,void 0,(function*(){let e=0;for(const r of t){if(yield n(r,e))return r;e++}}))}(t,n)};var Xs,Ks={},Qs={},$s=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},tl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Qs.firstAsync=void 0,Qs.firstAsync=function(t){var n,e,r,o;return $s(this,void 0,void 0,(function*(){try{for(n=tl(t);!(e=yield n.next()).done;){return e.value}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}}))};var nl,el={},rl={},ol=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},il=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};rl.includesAsync=void 0,rl.includesAsync=function(t,n){var e,r,o,i;return ol(this,void 0,void 0,(function*(){try{for(e=il(t);!(r=yield e.next()).done;){if(r.value===n)return!0}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))};var al,cl={},ul={},sl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},ll=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};ul.matchAsync=void 0,ul.matchAsync=function(t,n){var e,r,o,i;return sl(this,void 0,void 0,(function*(){const a=n.length;let c=0;try{for(e=ll(t);!(r=yield e.next()).done;){if(r.value===n[c]&&c++,c===a)return!0}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))};var fl={},yl={},dl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},hl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};yl.reduceAsync=void 0;const vl=Un;var pl;function bl(){if(pl)return fl;pl=1,fl.ReduceAsyncOperator=void 0;const t=nf(),n=Ht,e=yl;class r extends n.Subject{reduceAsync(...n){return(0,t.applyBinding)(this.subject,e.reduceAsync,n)}}return fl.ReduceAsyncOperator=r,fl}yl.reduceAsync=function(t,n,e){return(0,vl.isUndefined)(e)?function(t,n){return(0,vl.isAsyncIterable)(t)?e(t):r(t);function e(t){var e;return dl(this,void 0,void 0,(function*(){const r=t[Symbol.asyncIterator]();let o;try{let t,a=yield i(r),c=1;for(;({value:t,done:o}=yield r.next()),!o;)a=yield n(a,t,c++);return a}finally{o||(yield null===(e=r.return)||void 0===e?void 0:e.call(r))}function i(t){return dl(this,void 0,void 0,(function*(){const n=yield t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}))}}))}function r(t){var e;return dl(this,void 0,void 0,(function*(){const r=t[Symbol.iterator]();let o;try{let t,a=i(r),c=1;for(;({value:t,done:o}=r.next()),!o;)a=yield n(a,t,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}))}}(t,n):function(t,n,e){return(0,vl.isAsyncIterable)(t)?o(t):r(t);function r(t){return dl(this,void 0,void 0,(function*(){let r=e,o=0;for(const e of t)r=yield n(r,e,o++);return r}))}function o(t){var r,o,i,a;return dl(this,void 0,void 0,(function*(){let c=e,u=0;try{for(r=hl(t);!(o=yield r.next()).done;){const t=o.value;c=yield n(c,t,u++)}}catch(t){i={error:t}}finally{try{o&&!o.done&&(a=r.return)&&(yield a.call(r))}finally{if(i)throw i.error}}return c}))}}(t,n,e)};var ml={},wl={},Al=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},gl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};wl.someAsync=void 0;const _l=Un;var Il;function Sl(){if(Il)return ml;Il=1,ml.SomeAsyncOperator=void 0;const t=nf(),n=Ht,e=wl;class r extends n.Subject{someAsync(...n){return(0,t.applyBinding)(this.subject,e.someAsync,n)}}return ml.SomeAsyncOperator=r,ml}wl.someAsync=function(t,n){return(0,_l.isAsyncIterable)(t)?function(t,n){var e,r,o,i;return Al(this,void 0,void 0,(function*(){let a=0;try{for(e=gl(t);!(r=yield e.next()).done;){const t=r.value;if(yield n(t,a))return!0;a++}}catch(t){o={error:t}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}return!1}))}(t,n):function(t,n){return Al(this,void 0,void 0,(function*(){let e=0;for(const r of t){if(yield n(r,e))return!0;e++}return!1}))}(t,n)};var Ol,xl={},Tl={},Bl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))};Tl.lastAsync=void 0,Tl.lastAsync=function(t){var n;return Bl(this,void 0,void 0,(function*(){const e=t[Symbol.asyncIterator]();let r;try{let t,o;for(;({value:t,done:r}=yield e.next()),!r;)o=t;return o}finally{r||(yield null===(n=e.return)||void 0===n?void 0:n.call(e))}}))};var Pl={},jl={},El=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},kl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};jl.toArrayAsync=void 0;const Cl=Ts;var Nl;jl.toArrayAsync=function(t){return(0,Cl.consume)(t,(t=>{var n,e;return El(this,void 0,void 0,(function*(){var r,o;const i=[];try{for(n=kl(t);!(e=yield n.next()).done;){const t=e.value;i.push(t)}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}return i}))}))};var ql={},Fl={},Dl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},Rl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Fl.toSetAsync=void 0;const Ul=Ts;var Ml;Fl.toSetAsync=function(t){return(0,Ul.consume)(t,(t=>{var n,e;return Dl(this,void 0,void 0,(function*(){var r,o;const i=new Set;try{for(n=Rl(t);!(e=yield n.next()).done;){const t=e.value;i.add(t)}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}return i}))}))};var zl,Vl={},Ll={},Gl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))},Jl=Gt&&Gt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,o){(function(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)})(r,o,(n=t[e](n)).done,n.value)}))}}};Ll.countAsync=void 0,Ll.countAsync=function(t){var n,e,r,o;return Gl(this,void 0,void 0,(function*(){let i=0;try{for(n=Jl(t);!(e=yield n.next()).done;){e.value;i++}}catch(t){r={error:t}}finally{try{e&&!e.done&&(o=n.return)&&(yield o.call(n))}finally{if(r)throw r.error}}return i}))};var Wl={},Zl={},Yl=Gt&&Gt.__awaiter||function(t,n,e,r){return new(e||(e=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function c(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var n;t.done?o(t.value):(n=t.value,n instanceof e?n:new e((function(t){t(n)}))).then(a,c)}u((r=r.apply(t,n||[])).next())}))};Zl.groupByAsync=void 0;const Hl=js;var Xl,Kl,Ql;function $l(){if(Xl)return Wl;Xl=1,Wl.GroupByAsyncOperator=void 0;const t=nf(),n=Zl,e=Ht;class r extends e.Subject{groupByAsync(...e){return(0,t.applyBinding)(this.subject,n.groupByAsync,e)}}return Wl.GroupByAsyncOperator=r,Wl}function tf(){if(Kl)return tn;Kl=1,tn.AsyncIterableOperator=void 0;const t=Zt,n=nn,e=function(){if(sa)return on;sa=1,on.ChunkAsyncOperator=void 0;const t=nf(),n=nn,e=an;class r extends n.AsyncIterableOperatorBase{chunkAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.chunkAsync,n)}}return on.ChunkAsyncOperator=r,on}(),r=ba(),o=xa(),i=function(){if(Ra)return Ta;Ra=1,Ta.DropAsyncOperator=void 0;const t=nf(),n=nn,e=Ba;class r extends n.AsyncIterableOperatorBase{dropAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.dropAsync,n)}}return Ta.DropAsyncOperator=r,Ta}(),a=function(){if(Ha)return Ua;Ha=1,Ua.DropRightAsyncOperator=void 0;const t=nf(),n=nn,e=Ma;class r extends n.AsyncIterableOperatorBase{dropRightAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.dropRightAsync,n)}}return Ua.DropRightAsyncOperator=r,Ua}(),c=ec(),u=lc(),s=function(){if(Oc)return fc;Oc=1,fc.FlattenAsyncOperator=void 0;const t=nf(),n=nn,e=yc;class r extends n.AsyncIterableOperatorBase{flattenAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.flattenAsync,n)}}return fc.FlattenAsyncOperator=r,fc}(),l=Bc(),f=function(){if(Pc)return jc;Pc=1,jc.FlattenDeepAsyncOperator=void 0;const t=nf(),n=nn,e=dc;class r extends n.AsyncIterableOperatorBase{flattenDeepAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.flattenDeepAsync,n)}}return jc.FlattenDeepAsyncOperator=r,jc}(),y=Rc(),d=function(){if(Zc)return Uc;Zc=1,Uc.RepeatAsyncOperator=void 0;const t=nf(),n=nn,e=Mc;class r extends n.AsyncIterableOperatorBase{repeatAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.repeatAsync,n)}}return Uc.RepeatAsyncOperator=r,Uc}(),h=function(){if(nu)return Yc;nu=1,Yc.SliceAsyncOperator=void 0;const t=nf(),n=nn,e=Hc;class r extends n.AsyncIterableOperatorBase{sliceAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.sliceAsync,n)}}return Yc.SliceAsyncOperator=r,Yc}(),v=function(){if(eu)return ru;eu=1,ru.SplitAsyncOperator=void 0;const t=nf(),n=nn,e=ou;class r extends n.AsyncIterableOperatorBase{splitAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.splitAsync,n)}}return ru.SplitAsyncOperator=r,ru}(),p=vu(),b=function(){if(Iu)return pu;Iu=1,pu.TakeAsyncOperator=void 0;const t=nf(),n=nn,e=bu;class r extends n.AsyncIterableOperatorBase{takeAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.takeAsync,n)}}return pu.TakeAsyncOperator=r,pu}(),m=function(){if(ku)return Su;ku=1,Su.TakeRightAsyncOperator=void 0;const t=nf(),n=nn,e=Ou;class r extends n.AsyncIterableOperatorBase{takeRightAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.takeRightAsync,n)}}return Su.TakeRightAsyncOperator=r,Su}(),w=Mu(),A=Yu(),g=es(),_=function(){if(rs)return os;rs=1,os.UniqAsyncOperator=void 0;const t=nf(),n=nn,e=is;class r extends n.AsyncIterableOperatorBase{uniqAsync(...n){return(0,t.applyChainingAsync)(this.subject,e.uniqAsync,n)}}return os.UniqAsyncOperator=r,os}(),I=ps(),S=Ss(),O=Bs(),x=qs(),T=Vs(),B=Hs(),P=function(){if(Xs)return Ks;Xs=1,Ks.FirstAsyncOperator=void 0;const t=nf(),n=nn,e=Qs;class r extends n.AsyncIterableOperatorBase{firstAsync(...n){return(0,t.applyBinding)(this.subject,e.firstAsync,n)}}return Ks.FirstAsyncOperator=r,Ks}(),j=function(){if(nl)return el;nl=1,el.IncludesAsyncOperator=void 0;const t=nf(),n=nn,e=rl;class r extends n.AsyncIterableOperatorBase{includesAsync(...n){return(0,t.applyBinding)(this.subject,e.includesAsync,n)}}return el.IncludesAsyncOperator=r,el}(),E=function(){if(al)return cl;al=1,cl.MatchAsyncOperator=void 0;const t=nf(),n=nn,e=ul;class r extends n.AsyncIterableOperatorBase{matchAsync(...n){return(0,t.applyBinding)(this.subject,e.matchAsync,n)}}return cl.MatchAsyncOperator=r,cl}(),k=bl(),C=Sl(),N=function(){if(Ol)return xl;Ol=1,xl.LastAsyncOperator=void 0;const t=nf(),n=nn,e=Tl;class r extends n.AsyncIterableOperatorBase{lastAsync(...n){return(0,t.applyBinding)(this.subject,e.lastAsync,n)}}return xl.LastAsyncOperator=r,xl}(),q=function(){if(Nl)return Pl;Nl=1,Pl.ToArrayAsyncOperator=void 0;const t=nf(),n=nn,e=jl;class r extends n.AsyncIterableOperatorBase{toArrayAsync(...n){return(0,t.applyBinding)(this.subject,e.toArrayAsync,n)}}return Pl.ToArrayAsyncOperator=r,Pl}(),F=function(){if(Ml)return ql;Ml=1,ql.ToSetAsyncOperator=void 0;const t=nf(),n=nn,e=Fl;class r extends n.AsyncIterableOperatorBase{toSetAsync(...n){return(0,t.applyBinding)(this.subject,e.toSetAsync,n)}}return ql.ToSetAsyncOperator=r,ql}(),D=function(){if(zl)return Vl;zl=1,Vl.CountAsyncOperator=void 0;const t=nf(),n=Ll,e=nn;class r extends e.AsyncIterableOperatorBase{countAsync(...e){return(0,t.applyBinding)(this.subject,n.countAsync,e)}}return Vl.CountAsyncOperator=r,Vl}(),R=$l();class U extends n.AsyncIterableOperatorBase{}return tn.AsyncIterableOperator=U,(0,t.mixinDecorators)(U,[e.ChunkAsyncOperator,r.ChunkByAsyncOperator,o.ConcatAsyncOperator,i.DropAsyncOperator,a.DropRightAsyncOperator,c.DropUntilAsyncOperator,u.FilterAsyncOperator,s.FlattenAsyncOperator,l.FlattenByAsync,f.FlattenDeepAsyncOperator,y.MapAsyncOperator,d.RepeatAsyncOperator,h.SliceAsyncOperator,v.SplitAsyncOperator,p.SplitByAsyncOperator,b.TakeAsyncOperator,m.TakeRightAsyncOperator,w.TakeUntilAsyncOperator,A.TapAsyncOperator,g.TransformAsyncOperator,_.UniqAsyncOperator,I.UniqByAsyncOperator,S.ZipAsyncOperator,O.ConsumeOperator,x.EachAsyncOperator,T.EveryAsyncOperator,B.FindAsyncOperator,P.FirstAsyncOperator,j.IncludesAsyncOperator,E.MatchAsyncOperator,k.ReduceAsyncOperator,C.SomeAsyncOperator,N.LastAsyncOperator,q.ToArrayAsyncOperator,F.ToSetAsyncOperator,D.CountAsyncOperator,R.GroupByAsyncOperator]),tn}function nf(){if(Ql)return $t;Ql=1,$t.applyChainingAsync=$t.applyChaining=$t.applyBinding=$t.getPipelineProxy=void 0;const t=Nd(),n=tf();return $t.getPipelineProxy=function(t,n){return(...e)=>t(...e,...n)},$t.applyBinding=function(t,n,e){return n(t,...e)},$t.applyChaining=function(n,e,r){return new t.IterableOperator(e(n,...r))},$t.applyChainingAsync=function(t,e,r){return new n.AsyncIterableOperator(e(t,...r))},$t}Zl.groupByAsync=function(t,n){return Yl(this,void 0,void 0,(function*(){const e=new Map;return yield(0,Hl.eachAsync)(t,((t,r)=>Yl(this,void 0,void 0,(function*(){const o=yield n(t,r);e.has(o)||e.set(o,[]),e.get(o).push(t)})))),e}))};var ef,rf={};rf.chunkBy=void 0,rf.chunkBy=function*(t,n){let e=[],r=0;for(const o of t)e.push(o),n(o,r)&&(yield e,e=[]),r++;e.length&&(yield e)};var of={},af={chunk:void 0};const cf=cn,uf=ra();var sf;af.chunk=function(t,n){return(0,uf.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,uf.assert)(n>0,"The parameter size must be greater than 0"),(0,cf.go)((function*(){let e=[];for(const r of t)e.push(r),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))};var lf={},ff={concat:void 0};const yf=cn;var df;ff.concat=function(t,...n){return(0,yf.go)((function*(){for(const e of[t,...n])yield*e}))};var hf={},vf={dropRight:void 0};const pf=cn,bf=Pa,mf=ra();var wf;vf.dropRight=function(t,n){return(0,mf.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,mf.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,bf.copyIterable)(t):(0,pf.go)((function*(){const e=Array.from(t);yield*e.slice(0,-n)}))};var Af,gf={},_f={};_f.dropUntil=void 0,_f.dropUntil=function*(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,i=0;for(;!(({value:t,done:o}=r.next()),o||n(t,i++)););for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}};var If={},Sf={drop:void 0};const Of=cn,xf=Pa,Tf=ra();var Bf;Sf.drop=function(t,n){return(0,Tf.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,Tf.assert)(n>=0,"The parameter count must be greater than or equal to 0"),0===n?(0,xf.copyIterable)(t):(0,Of.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{let t;for(;!(({value:t,done:o}=r.next()),o||n<=0);)n--;for(;!o;)yield t,({value:t,done:o}=r.next())}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var Pf,jf={},Ef={};Ef.filter=void 0,Ef.filter=function*(t,n){let e=0;for(const r of t)n(r,e)&&(yield r),e++};var kf={},Cf={flattenBy:void 0};const Nf=Un;function*qf(t,n,e){for(const o of t)(0,Nf.isIterable)(r=o)&&(0,Nf.isntChar)(r)&&n(o,e)?yield*qf(o,n,e+1):yield o;var r}var Ff;Cf.flattenBy=function(t,n){return qf(t,n,1)};var Df={},Rf={flattenDeep:void 0};const Uf=Cf,Mf=ra();var zf;Rf.flattenDeep=function(t,n=1/0){return(0,Mf.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,Mf.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,Uf.flattenBy)(t,((t,e)=>e<=n))};var Vf={},Lf={flatten:void 0};const Gf=Rf;var Jf;Lf.flatten=function(t){return(0,Gf.flattenDeep)(t,1)};var Wf,Zf={},Yf={};Yf.map=void 0,Yf.map=function*(t,n){let e=0;for(const r of t)yield n(r,e),e++};var Hf={},Xf={repeat:void 0};const Kf=cn,Qf=ra();var $f;Xf.repeat=function(t,n){return(0,Qf.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,Qf.assert)(n>=0,"The parameter times must be greater than or equal to 0"),n===1/0&&function(){if("production"===process.env.NODE_ENV)return;console.warn("When iterable has no elements and times is Infinity, repeat() will be in dead loop")}(),(0,Kf.go)((function*(){const e=[];if(n>0){for(const n of t)yield n,e.push(n);n--}for(;n>0;)yield*e,n--}))};var ty={},ny={slice:void 0};const ey=cn,ry=ra();var oy;ny.slice=function(t,n,e=1/0){return(0,ry.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,ry.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,ry.assert)(Number.isInteger(e),"The parameter end must be an integer"),(0,ry.assert)(e>=n,"The parameter end must be greater than or equal to start"),(0,ey.go)((function*(){let r=0;for(const o of t){if(r>=e)break;r>=n&&(yield o),r++}}))};var iy,ay={},cy={};cy.splitBy=void 0,cy.splitBy=function*(t,n){let e=[],r=0;for(const o of t)n(o,r)?(yield e,e=[]):e.push(o),r++;yield e};var uy,sy={},ly={};ly.split=void 0,ly.split=function*(t,n){let e=[];for(const r of t)r===n?(yield e,e=[]):e.push(r);yield e};var fy={},yy={takeRight:void 0};const dy=cn,hy=ra();var vy;yy.takeRight=function(t,n){return(0,hy.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,hy.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,dy.go)((function*(){var e;const r=t[Symbol.iterator]();let o;try{const t=[];let i;for(;({value:i,done:o}=r.next()),!o;)t.push(i),t.length>n&&t.shift();yield*t}finally{o||null===(e=r.return)||void 0===e||e.call(r)}}))};var py,by={},my={};my.takeUntil=void 0,my.takeUntil=function*(t,n){let e=0;for(const r of t){if(n(r,e))break;yield r,e++}};var wy={},Ay={take:void 0};const gy=cn,_y=ra();var Iy;Ay.take=function(t,n){return(0,_y.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,_y.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,gy.go)((function*(){if(0!==n)for(const e of t)if(yield e,0===--n)break}))};var Sy,Oy={},xy={};xy.tap=void 0,xy.tap=function*(t,n){let e=0;for(const r of t)n(r,e),yield r,e++};var Ty,By={},Py={},jy=Gt&&Gt.__await||function(t){return this instanceof jy?(this.v=t,this):new jy(t)},Ey=Gt&&Gt.__asyncGenerator||function(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=e.apply(t,n||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(n){return new Promise((function(e,r){i.push([t,n,e,r])>1||c(t,n)}))})}function c(t,n){try{(e=o[t](n)).value instanceof jy?Promise.resolve(e.value.v).then(u,s):l(i[0][2],e)}catch(t){l(i[0][3],t)}var e}function u(t){c("next",t)}function s(t){c("throw",t)}function l(t,n){t(n),i.shift(),i.length&&c(i[0][0],i[0][1])}};Py.toAsyncIterable=void 0,Py.toAsyncIterable=function(t){return Ey(this,arguments,(function*(){for(const n of t)yield yield jy(n)}))};var ky,Cy={},Ny={};Ny.transform=void 0,Ny.transform=function*(t,n){yield*n(t)};var qy,Fy={},Dy={};Dy.uniqBy=void 0,Dy.uniqBy=function*(t,n){const e=new Set;let r=0;for(const o of t){const t=n(o,r);e.has(t)||(yield o,e.add(t)),r++}};var Ry,Uy={},My={};My.uniq=void 0,My.uniq=function*(t){const n=new Set;for(const e of t)n.has(e)||(yield e,n.add(e))};var zy,Vy={},Ly={};Ly.zip=void 0,Ly.zip=function(t,...n){return function*(...t){const n=t.length,e=t.map((t=>t[Symbol.iterator]())),r=e.map((()=>!1));try{for(;;){const t=new Array(n);for(let o=0;o<n;o++){const{value:n,done:i}=e[o].next();if(i)return void(r[o]=!0);t[o]=n}yield t}}finally{e.filter(((t,n)=>!r[n])).forEach((t=>{var n;return null===(n=t.return)||void 0===n?void 0:n.call(t)}))}}(t,...n)};var Gy,Jy={},Wy={};Wy.each=void 0,Wy.each=function(t,n){let e=0;for(const r of t)n(r,e),e++};var Zy,Yy={},Hy={};Hy.every=void 0,Hy.every=function(t,n){let e=0;for(const r of t){if(!n(r,e))return!1;e++}return!0};var Xy,Ky={},Qy={};Qy.find=void 0,Qy.find=function(t,n){let e=0;for(const r of t){if(n(r,e))return r;e++}};var $y,td={},nd={};nd.first=void 0,nd.first=function(t){for(const n of t)return n};var ed,rd={},od={};od.includes=void 0,od.includes=function(t,n){for(const e of t)if(e===n)return!0;return!1};var id,ad={},cd={};cd.match=void 0,cd.match=function(t,n){const e=n.length;let r=0;for(const o of t)if(o===n[r]&&r++,r===e)return!0;return!1};var ud={},sd={reduce:void 0};const ld=Un;var fd;sd.reduce=function(t,n,e){return(0,ld.isUndefined)(e)?function(t,n){var e;const r=t[Symbol.iterator]();let o;try{let t,a=i(r),c=1;for(;({value:t,done:o}=r.next()),!o;)a=n(a,t,c++);return a}finally{o||null===(e=r.return)||void 0===e||e.call(r)}function i(t){const n=t.next();if(n.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return n.value}}(t,n):function(t,n,e){let r=e,o=0;for(const e of t)r=n(r,e,o++);return r}(t,n,e)};var yd,dd={},hd={};hd.some=void 0,hd.some=function(t,n){let e=0;for(const r of t){if(n(r,e))return!0;e++}return!1};var vd,pd={},bd={};bd.last=void 0,bd.last=function(t){var n;const e=t[Symbol.iterator]();let r;try{let t,o;for(;({value:t,done:r}=e.next()),!r;)o=t;return o}finally{r||null===(n=e.return)||void 0===n||n.call(e)}};var md={},wd={toArray:void 0};const Ad=Ts;var gd;wd.toArray=function(t){return(0,Ad.consume)(t,(t=>Array.from(t)))};var _d={},Id={toSet:void 0};const Sd=Ts;var Od;Id.toSet=function(t){return(0,Sd.consume)(t,(t=>new Set(t)))};var xd,Td={},Bd={};Bd.count=void 0,Bd.count=function(t){let n=0;for(const e of t)n++;return n};var Pd={},jd={groupBy:void 0};const Ed=Wy;var kd,Cd;function Nd(){if(Cd)return Wt;Cd=1,Wt.IterableOperator=void 0;const t=Zt,n=Yt,e=function(){if(ef)return Qt;ef=1,Qt.ChunkByOperator=void 0;const t=nf(),n=rf,e=Yt;class r extends e.IterableOperatorBase{chunkBy(...e){return(0,t.applyChaining)(this.subject,n.chunkBy,e)}}return Qt.ChunkByOperator=r,Qt}(),r=function(){if(sf)return of;sf=1,of.ChunkOperator=void 0;const t=nf(),n=af,e=Yt;class r extends e.IterableOperatorBase{chunk(...e){return(0,t.applyChaining)(this.subject,n.chunk,e)}}return of.ChunkOperator=r,of}(),o=function(){if(df)return lf;df=1,lf.ConcatOperator=void 0;const t=nf(),n=ff,e=Yt;class r extends e.IterableOperatorBase{concat(...e){return(0,t.applyChaining)(this.subject,n.concat,e)}}return lf.ConcatOperator=r,lf}(),i=function(){if(wf)return hf;wf=1,hf.DropRightOperator=void 0;const t=nf(),n=vf,e=Yt;class r extends e.IterableOperatorBase{dropRight(...e){return(0,t.applyChaining)(this.subject,n.dropRight,e)}}return hf.DropRightOperator=r,hf}(),a=function(){if(Af)return gf;Af=1,gf.DropUntilOperator=void 0;const t=nf(),n=_f,e=Yt;class r extends e.IterableOperatorBase{dropUntil(...e){return(0,t.applyChaining)(this.subject,n.dropUntil,e)}}return gf.DropUntilOperator=r,gf}(),c=function(){if(Bf)return If;Bf=1,If.DropOperator=void 0;const t=nf(),n=Sf,e=Yt;class r extends e.IterableOperatorBase{drop(...e){return(0,t.applyChaining)(this.subject,n.drop,e)}}return If.DropOperator=r,If}(),u=function(){if(Pf)return jf;Pf=1,jf.FilterOperator=void 0;const t=nf(),n=Ef,e=Yt;class r extends e.IterableOperatorBase{filter(...e){return(0,t.applyChaining)(this.subject,n.filter,e)}}return jf.FilterOperator=r,jf}(),s=function(){if(Ff)return kf;Ff=1,kf.FlattenByOperator=void 0;const t=nf(),n=Cf,e=Yt;class r extends e.IterableOperatorBase{flattenBy(...e){return(0,t.applyChaining)(this.subject,n.flattenBy,e)}}return kf.FlattenByOperator=r,kf}(),l=function(){if(zf)return Df;zf=1,Df.FlattenDeepOperator=void 0;const t=nf(),n=Rf,e=Yt;class r extends e.IterableOperatorBase{flattenDeep(...e){return(0,t.applyChaining)(this.subject,n.flattenDeep,e)}}return Df.FlattenDeepOperator=r,Df}(),f=function(){if(Jf)return Vf;Jf=1,Vf.FlattenOperator=void 0;const t=nf(),n=Lf,e=Yt;class r extends e.IterableOperatorBase{flatten(...e){return(0,t.applyChaining)(this.subject,n.flatten,e)}}return Vf.FlattenOperator=r,Vf}(),y=function(){if(Wf)return Zf;Wf=1,Zf.MapOperator=void 0;const t=nf(),n=Yf,e=Yt;class r extends e.IterableOperatorBase{map(...e){return(0,t.applyChaining)(this.subject,n.map,e)}}return Zf.MapOperator=r,Zf}(),d=function(){if($f)return Hf;$f=1,Hf.RepeatOperator=void 0;const t=nf(),n=Xf,e=Yt;class r extends e.IterableOperatorBase{repeat(...e){return(0,t.applyChaining)(this.subject,n.repeat,e)}}return Hf.RepeatOperator=r,Hf}(),h=function(){if(oy)return ty;oy=1,ty.SliceOperator=void 0;const t=nf(),n=ny,e=Yt;class r extends e.IterableOperatorBase{slice(...e){return(0,t.applyChaining)(this.subject,n.slice,e)}}return ty.SliceOperator=r,ty}(),v=function(){if(iy)return ay;iy=1,ay.SplitByOperator=void 0;const t=nf(),n=cy,e=Yt;class r extends e.IterableOperatorBase{splitBy(...e){return(0,t.applyChaining)(this.subject,n.splitBy,e)}}return ay.SplitByOperator=r,ay}(),p=function(){if(uy)return sy;uy=1,sy.SplitOperator=void 0;const t=nf(),n=ly,e=Yt;class r extends e.IterableOperatorBase{split(...e){return(0,t.applyChaining)(this.subject,n.split,e)}}return sy.SplitOperator=r,sy}(),b=function(){if(vy)return fy;vy=1,fy.TakeRightOperator=void 0;const t=nf(),n=yy,e=Yt;class r extends e.IterableOperatorBase{takeRight(...e){return(0,t.applyChaining)(this.subject,n.takeRight,e)}}return fy.TakeRightOperator=r,fy}(),m=function(){if(py)return by;py=1,by.TakeUntilOperator=void 0;const t=nf(),n=my,e=Yt;class r extends e.IterableOperatorBase{takeUntil(...e){return(0,t.applyChaining)(this.subject,n.takeUntil,e)}}return by.TakeUntilOperator=r,by}(),w=function(){if(Iy)return wy;Iy=1,wy.TakeOperator=void 0;const t=nf(),n=Ay,e=Yt;class r extends e.IterableOperatorBase{take(...e){return(0,t.applyChaining)(this.subject,n.take,e)}}return wy.TakeOperator=r,wy}(),A=function(){if(Sy)return Oy;Sy=1,Oy.TapOperator=void 0;const t=nf(),n=xy,e=Yt;class r extends e.IterableOperatorBase{tap(...e){return(0,t.applyChaining)(this.subject,n.tap,e)}}return Oy.TapOperator=r,Oy}(),g=function(){if(Ty)return By;Ty=1,By.ToAsyncIterableOperator=void 0;const t=nf(),n=Yt,e=Py;class r extends n.IterableOperatorBase{toAsyncIterable(...n){return(0,t.applyChainingAsync)(this.subject,e.toAsyncIterable,n)}}return By.ToAsyncIterableOperator=r,By}(),_=es(),I=function(){if(ky)return Cy;ky=1,Cy.TransformOperator=void 0;const t=nf(),n=Ny,e=Yt;class r extends e.IterableOperatorBase{transform(...e){return(0,t.applyChaining)(this.subject,n.transform,e)}}return Cy.TransformOperator=r,Cy}(),S=function(){if(qy)return Fy;qy=1,Fy.UniqByOperator=void 0;const t=nf(),n=Dy,e=Yt;class r extends e.IterableOperatorBase{uniqBy(...e){return(0,t.applyChaining)(this.subject,n.uniqBy,e)}}return Fy.UniqByOperator=r,Fy}(),O=function(){if(Ry)return Uy;Ry=1,Uy.UniqOperator=void 0;const t=nf(),n=My,e=Yt;class r extends e.IterableOperatorBase{uniq(...e){return(0,t.applyChaining)(this.subject,n.uniq,e)}}return Uy.UniqOperator=r,Uy}(),x=function(){if(zy)return Vy;zy=1,Vy.ZipOperator=void 0;const t=nf(),n=Ly,e=Yt;class r extends e.IterableOperatorBase{zip(...e){return(0,t.applyChaining)(this.subject,n.zip,e)}}return Vy.ZipOperator=r,Vy}(),T=ba(),B=xa(),P=ec(),j=lc(),E=Bc(),k=Rc(),C=vu(),N=Mu(),q=Yu(),F=ps(),D=Ss(),R=Bs(),U=function(){if(Gy)return Jy;Gy=1,Jy.EachOperator=void 0;const t=nf(),n=Wy,e=Yt;class r extends e.IterableOperatorBase{each(...e){return(0,t.applyBinding)(this.subject,n.each,e)}}return Jy.EachOperator=r,Jy}(),M=function(){if(Zy)return Yy;Zy=1,Yy.EveryOperator=void 0;const t=nf(),n=Hy,e=Yt;class r extends e.IterableOperatorBase{every(...e){return(0,t.applyBinding)(this.subject,n.every,e)}}return Yy.EveryOperator=r,Yy}(),z=function(){if(Xy)return Ky;Xy=1,Ky.FindOperator=void 0;const t=nf(),n=Qy,e=Yt;class r extends e.IterableOperatorBase{find(...e){return(0,t.applyBinding)(this.subject,n.find,e)}}return Ky.FindOperator=r,Ky}(),V=function(){if($y)return td;$y=1,td.FirstOperator=void 0;const t=nf(),n=nd,e=Yt;class r extends e.IterableOperatorBase{first(...e){return(0,t.applyBinding)(this.subject,n.first,e)}}return td.FirstOperator=r,td}(),L=function(){if(ed)return rd;ed=1,rd.IncludesOperator=void 0;const t=nf(),n=od,e=Yt;class r extends e.IterableOperatorBase{includes(...e){return(0,t.applyBinding)(this.subject,n.includes,e)}}return rd.IncludesOperator=r,rd}(),G=function(){if(id)return ad;id=1,ad.MatchOperator=void 0;const t=nf(),n=cd,e=Yt;class r extends e.IterableOperatorBase{match(...e){return(0,t.applyBinding)(this.subject,n.match,e)}}return ad.MatchOperator=r,ad}(),J=function(){if(fd)return ud;fd=1,ud.ReduceOperator=void 0;const t=nf(),n=sd,e=Yt;class r extends e.IterableOperatorBase{reduce(...e){return(0,t.applyBinding)(this.subject,n.reduce,e)}}return ud.ReduceOperator=r,ud}(),W=function(){if(yd)return dd;yd=1,dd.SomeOperator=void 0;const t=nf(),n=hd,e=Yt;class r extends e.IterableOperatorBase{some(...e){return(0,t.applyBinding)(this.subject,n.some,e)}}return dd.SomeOperator=r,dd}(),Z=function(){if(vd)return pd;vd=1,pd.LastOperator=void 0;const t=nf(),n=bd,e=Yt;class r extends e.IterableOperatorBase{last(...e){return(0,t.applyBinding)(this.subject,n.last,e)}}return pd.LastOperator=r,pd}(),Y=function(){if(gd)return md;gd=1,md.ToArrayOperator=void 0;const t=nf(),n=wd,e=Yt;class r extends e.IterableOperatorBase{toArray(...e){return(0,t.applyBinding)(this.subject,n.toArray,e)}}return md.ToArrayOperator=r,md}(),H=function(){if(Od)return _d;Od=1,_d.ToSetOperator=void 0;const t=nf(),n=Id,e=Yt;class r extends e.IterableOperatorBase{toSet(...e){return(0,t.applyBinding)(this.subject,n.toSet,e)}}return _d.ToSetOperator=r,_d}(),X=function(){if(xd)return Td;xd=1,Td.CountOperator=void 0;const t=nf(),n=Bd,e=Yt;class r extends e.IterableOperatorBase{count(...e){return(0,t.applyBinding)(this.subject,n.count,e)}}return Td.CountOperator=r,Td}(),K=function(){if(kd)return Pd;kd=1,Pd.GroupByOperator=void 0;const t=nf(),n=jd,e=Yt;class r extends e.IterableOperatorBase{groupBy(...e){return(0,t.applyBinding)(this.subject,n.groupBy,e)}}return Pd.GroupByOperator=r,Pd}(),Q=qs(),$=Vs(),tt=Hs(),nt=bl(),et=Sl(),rt=$l();class ot extends n.IterableOperatorBase{}return Wt.IterableOperator=ot,(0,t.mixinDecorators)(ot,[r.ChunkOperator,e.ChunkByOperator,o.ConcatOperator,i.DropRightOperator,a.DropUntilOperator,c.DropOperator,u.FilterOperator,s.FlattenByOperator,l.FlattenDeepOperator,f.FlattenOperator,y.MapOperator,d.RepeatOperator,h.SliceOperator,v.SplitByOperator,p.SplitOperator,b.TakeRightOperator,m.TakeUntilOperator,w.TakeOperator,A.TapOperator,I.TransformOperator,S.UniqByOperator,O.UniqOperator,x.ZipOperator,T.ChunkByAsyncOperator,B.ConcatAsyncOperator,P.DropUntilAsyncOperator,j.FilterAsyncOperator,E.FlattenByAsync,k.MapAsyncOperator,C.SplitByAsyncOperator,N.TakeUntilAsyncOperator,q.TapAsyncOperator,g.ToAsyncIterableOperator,_.TransformAsyncOperator,F.UniqByAsyncOperator,D.ZipAsyncOperator,R.ConsumeOperator,U.EachOperator,M.EveryOperator,z.FindOperator,V.FirstOperator,L.IncludesOperator,G.MatchOperator,J.ReduceOperator,W.SomeOperator,Z.LastOperator,Y.ToArrayOperator,H.ToSetOperator,X.CountOperator,K.GroupByOperator,Q.EachAsyncOperator,$.EveryAsyncOperator,tt.FindAsyncOperator,nt.ReduceAsyncOperator,et.SomeAsyncOperator,rt.GroupByAsyncOperator]),Wt}function qd(t){return Lt(t,{childList:!0,subtree:!0}).pipe(kt((t=>new Jt.IterableOperator(t).map((t=>t.addedNodes)).flatten().toArray())),Vt((t=>t.length>0)))}function Fd(t){return Lt(t,{childList:!0,subtree:!0}).pipe(kt((t=>new Jt.IterableOperator(t).map((t=>t.removedNodes)).flatten().toArray())),Vt((t=>t.length>0)))}jd.groupBy=function(t,n){const e=new Map;return(0,Ed.each)(t,((t,r)=>{const o=n(t,r);e.has(o)||e.set(o,[]),e.get(o).push(t)})),e},function(t){var n=Gt&&Gt.__createBinding||(Object.create?function(t,n,e,r){void 0===r&&(r=e);var o=Object.getOwnPropertyDescriptor(n,e);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[e]}}),Object.defineProperty(t,r,o)}:function(t,n,e,r){void 0===r&&(r=e),t[r]=n[e]}),e=Gt&&Gt.__exportStar||function(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||n(e,t,r)};e(Nd(),t),e(tf(),t)}(Jt);const Dd=new Set,Rd=new Set;let Ud=!1,Md=!1;function zd(){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var e=yt(t),r=dt(t,1/0),o=t;return o.length?1===o.length?St(o[0]):Ft(r)(Et(o,e)):lt}(new C((t=>(Ud||function(){const t=history.pushState;history.pushState=function(...n){Reflect.apply(t,this,n),Dd.forEach((t=>t.next()))},Ud=!0}(),Dd.add(t),()=>Dd.delete(t)))),new C((t=>(Md||function(){const t=history.replaceState;history.replaceState=function(...n){Reflect.apply(t,this,n),Rd.forEach((t=>t.next()))},Md=!0}(),Rd.add(t),()=>Rd.delete(t)))),Mt(window,"popstate")).pipe(kt((t=>{})))}function Vd(){let t=document.URL;return(n?z(n):V).pipe(Vt((()=>t!==document.URL)),function(t,n,e){var r=l(t)||n||e?{next:t,error:n,complete:e}:t;return r?F((function(t,n){var e;null===(e=r.subscribe)||void 0===e||e.call(r);var o=!0;t.subscribe(D(n,(function(t){var e;null===(e=r.next)||void 0===e||e.call(r,t),n.next(t)}),(function(){var t;o=!1,null===(t=r.complete)||void 0===t||t.call(r),n.complete()}),(function(t){var e;o=!1,null===(e=r.error)||void 0===e||e.call(r,t),n.error(t)}),(function(){var t,n;o&&(null===(t=r.unsubscribe)||void 0===t||t.call(r)),null===(n=r.finalize)||void 0===n||n.call(r)})))})):E}((()=>t=document.URL)),kt((()=>{})));var n}export{qd as observeAdditionOfDescendantNodes,Fd as observeRemovalOfDescendantNodes,zd as observeStateChanges,Vd as observeUrlChanges};
|
|
16
16
|
//# sourceMappingURL=index.min.mjs.map
|