extra-react-hooks 0.1.14 → 0.2.1
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/README.md +8 -3
- package/dist/es2015/index.min.mjs +2 -2
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +1188 -449
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +1188 -448
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +3 -3
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +2 -2
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +1188 -449
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +1188 -448
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +3 -3
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/index.d.ts +1 -0
- package/lib/es2015/index.js +1 -0
- package/lib/es2015/index.js.map +1 -1
- package/lib/es2015/use-increment.js +5 -5
- package/lib/es2015/use-increment.js.map +1 -1
- package/lib/es2015/use-multiple-selection.d.ts +1 -1
- package/lib/es2015/use-multiple-selection.js +3 -3
- package/lib/es2015/use-multiple-selection.js.map +1 -1
- package/lib/es2015/use-render-counter.d.ts +1 -0
- package/lib/es2015/use-render-counter.js +11 -0
- package/lib/es2015/use-render-counter.js.map +1 -0
- package/lib/es2015/use-single-selection.d.ts +2 -2
- package/lib/es2015/use-single-selection.js +3 -3
- package/lib/es2015/use-single-selection.js.map +1 -1
- package/lib/es2015/use-state-cycle.js +5 -5
- package/lib/es2015/use-state-cycle.js.map +1 -1
- package/lib/es2015/use-step.js +21 -23
- package/lib/es2015/use-step.js.map +1 -1
- package/lib/es2015/use-toggle.js +3 -1
- package/lib/es2015/use-toggle.js.map +1 -1
- package/lib/es2018/index.d.ts +1 -0
- package/lib/es2018/index.js +1 -0
- package/lib/es2018/index.js.map +1 -1
- package/lib/es2018/use-increment.js +5 -5
- package/lib/es2018/use-increment.js.map +1 -1
- package/lib/es2018/use-multiple-selection.d.ts +1 -1
- package/lib/es2018/use-multiple-selection.js +3 -3
- package/lib/es2018/use-multiple-selection.js.map +1 -1
- package/lib/es2018/use-render-counter.d.ts +1 -0
- package/lib/es2018/use-render-counter.js +11 -0
- package/lib/es2018/use-render-counter.js.map +1 -0
- package/lib/es2018/use-single-selection.d.ts +2 -2
- package/lib/es2018/use-single-selection.js +3 -3
- package/lib/es2018/use-single-selection.js.map +1 -1
- package/lib/es2018/use-state-cycle.js +5 -5
- package/lib/es2018/use-state-cycle.js.map +1 -1
- package/lib/es2018/use-step.js +21 -23
- package/lib/es2018/use-step.js.map +1 -1
- package/lib/es2018/use-toggle.js +3 -1
- package/lib/es2018/use-toggle.js.map +1 -1
- package/package.json +3 -2
|
@@ -6,7 +6,7 @@ var e,t,r,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/function u(){if(r)return i;r=1;var e=a(),t=60103,n=60106;i.Fragment=60107,i.StrictMode=60108,i.Profiler=60114;var o=60109,u=60110,c=60112;i.Suspense=60113;var s=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;t=f("react.element"),n=f("react.portal"),i.Fragment=f("react.fragment"),i.StrictMode=f("react.strict_mode"),i.Profiler=f("react.profiler"),o=f("react.provider"),u=f("react.context"),c=f("react.forward_ref"),i.Suspense=f("react.suspense"),s=f("react.memo"),l=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function y(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}function h(){}function m(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=y.prototype;var g=m.prototype=new h;g.constructor=m,e(g,y.prototype),g.isPureReactComponent=!0;var
|
|
9
|
+
*/function u(){if(r)return i;r=1;var e=a(),t=60103,n=60106;i.Fragment=60107,i.StrictMode=60108,i.Profiler=60114;var o=60109,u=60110,c=60112;i.Suspense=60113;var s=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;t=f("react.element"),n=f("react.portal"),i.Fragment=f("react.fragment"),i.StrictMode=f("react.strict_mode"),i.Profiler=f("react.profiler"),o=f("react.provider"),u=f("react.context"),c=f("react.forward_ref"),i.Suspense=f("react.suspense"),s=f("react.memo"),l=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function y(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}function h(){}function m(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},h.prototype=y.prototype;var g=m.prototype=new h;g.constructor=m,e(g,y.prototype),g.isPureReactComponent=!0;var O={current:null},w=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function _(e,r,n){var o,i={},a=null,u=null;if(null!=r)for(o in void 0!==r.ref&&(u=r.ref),void 0!==r.key&&(a=""+r.key),r)w.call(r,o)&&!S.hasOwnProperty(o)&&(i[o]=r[o]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var s=Array(c),l=0;l<c;l++)s[l]=arguments[l+2];i.children=s}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===i[o]&&(i[o]=c[o]);return{$$typeof:t,type:e,key:a,ref:u,props:i,_owner:O.current}}function j(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var x=/\/+/g;function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,r,o,i,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c=!1;if(null===e)c=!0;else switch(u){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case t:case n:c=!0}}if(c)return a=a(c=e),e=""===i?"."+E(c,0):i,Array.isArray(a)?(o="",null!=e&&(o=e.replace(x,"$&/")+"/"),P(a,r,o,"",(function(e){return e}))):null!=a&&(j(a)&&(a=function(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||c&&c.key===a.key?"":(""+a.key).replace(x,"$&/")+"/")+e)),r.push(a)),1;if(c=0,i=""===i?".":i+":",Array.isArray(e))for(var s=0;s<e.length;s++){var l=i+E(u=e[s],s);c+=P(u,r,o,l,a)}else if("function"==typeof(l=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e)))for(e=l.call(e),s=0;!(u=e.next()).done;)c+=P(u=u.value,r,o,l=i+E(u,s++),a);else if("object"===u)throw r=""+e,Error(d(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r));return c}function A(e,t,r){if(null==e)return e;var n=[],o=0;return P(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function k(){var e=I.current;if(null===e)throw Error(d(321));return e}var C={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:O,IsSomeRendererActing:{current:!1},assign:e};return i.Children={map:A,forEach:function(e,t,r){A(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return A(e,(function(){t++})),t},toArray:function(e){return A(e,(function(e){return e}))||[]},only:function(e){if(!j(e))throw Error(d(143));return e}},i.Component=y,i.PureComponent=m,i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=C,i.cloneElement=function(r,n,o){if(null==r)throw Error(d(267,r));var i=e({},r.props),a=r.key,u=r.ref,c=r._owner;if(null!=n){if(void 0!==n.ref&&(u=n.ref,c=O.current),void 0!==n.key&&(a=""+n.key),r.type&&r.type.defaultProps)var s=r.type.defaultProps;for(l in n)w.call(n,l)&&!S.hasOwnProperty(l)&&(i[l]=void 0===n[l]&&void 0!==s?s[l]:n[l])}var l=arguments.length-2;if(1===l)i.children=o;else if(1<l){s=Array(l);for(var f=0;f<l;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:t,type:r.type,key:a,ref:u,props:i,_owner:c}},i.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},i.createElement=_,i.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},i.createRef=function(){return{current:null}},i.forwardRef=function(e){return{$$typeof:c,render:e}},i.isValidElement=j,i.lazy=function(e){return{$$typeof:l,_payload:{_status:-1,_result:e},_init:T}},i.memo=function(e,t){return{$$typeof:s,type:e,compare:void 0===t?null:t}},i.useCallback=function(e,t){return k().useCallback(e,t)},i.useContext=function(e,t){return k().useContext(e,t)},i.useDebugValue=function(){},i.useEffect=function(e,t){return k().useEffect(e,t)},i.useImperativeHandle=function(e,t,r){return k().useImperativeHandle(e,t,r)},i.useLayoutEffect=function(e,t){return k().useLayoutEffect(e,t)},i.useMemo=function(e,t){return k().useMemo(e,t)},i.useReducer=function(e,t,r){return k().useReducer(e,t,r)},i.useRef=function(e){return k().useRef(e)},i.useState=function(e){return k().useState(e)},i.version="17.0.2",i}var c,s,l,f={};
|
|
10
10
|
/** @license React v17.0.2
|
|
11
11
|
* react.development.js
|
|
12
12
|
*
|
|
@@ -14,5 +14,5 @@ var e,t,r,n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/function p(){return c||(c=1,e=f,"production"!==process.env.NODE_ENV&&function(){var t=a(),r=60103,n=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,i=60110,u=60112;e.Suspense=60113;var c=60120,s=60115,l=60116,f=60121,p=60122,d=60117,v=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;r=y("react.element"),n=y("react.portal"),e.Fragment=y("react.fragment"),e.StrictMode=y("react.strict_mode"),e.Profiler=y("react.profiler"),o=y("react.provider"),i=y("react.context"),u=y("react.forward_ref"),e.Suspense=y("react.suspense"),c=y("react.suspense_list"),s=y("react.memo"),l=y("react.lazy"),f=y("react.block"),p=y("react.server.block"),d=y("react.fundamental"),y("react.scope"),y("react.opaque.id"),v=y("react.debug_trace_mode"),y("react.offscreen"),b=y("react.legacy_hidden")}var h="function"==typeof Symbol&&Symbol.iterator;function m(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},w={current:null},O={},S=null;function _(e){S=e}O.setExtraStackFrame=function(e){S=e},O.getCurrentStack=null,O.getStackAddendum=function(){var e="";S&&(e+=S);var t=O.getCurrentStack;return t&&(e+=t()||""),e};var x={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:t};function j(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];A("warn",e,r)}function E(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];A("error",e,r)}function A(e,t,r){var n=x.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}x.ReactDebugCurrentFrame=O;var P={};function T(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;P[o]||(E("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),P[o]=!0)}var I={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){T(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){T(e,"replaceState")},enqueueSetState:function(e,t,r,n){T(e,"setState")}},k={};function C(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||I}Object.freeze(k),C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var F={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},M=function(e,t){Object.defineProperty(C.prototype,e,{get:function(){j("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var R in F)F.hasOwnProperty(R)&&M(R,F[R]);function N(){}function B(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||I}N.prototype=C.prototype;var L=B.prototype=new N;function z(e){return e.displayName||"Context"}function U(t){if(null==t)return null;if("number"==typeof t.tag&&E("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case n:return"Portal";case e.Profiler:return"Profiler";case e.StrictMode:return"StrictMode";case e.Suspense:return"Suspense";case c:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case i:return z(t)+".Consumer";case o:return z(t._context)+".Provider";case u:return d=t,v=t.render,b="ForwardRef",y=v.displayName||v.name||"",d.displayName||(""!==y?b+"("+y+")":b);case s:return U(t.type);case f:return U(t._render);case l:var r=t,a=r._payload,p=r._init;try{return U(p(a))}catch(e){return null}}var d,v,b,y;return null}L.constructor=B,t(L,C.prototype),L.isPureReactComponent=!0;var W,q,D,$=Object.prototype.hasOwnProperty,V={key:!0,ref:!0,__self:!0,__source:!0};function Y(e){if($.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function J(e){if($.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function H(e,t){var r=function(){W||(W=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function K(e,t){var r=function(){q||(q=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}function G(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=U(w.current.type);D[t]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),D[t]=!0)}}D={};var Q=function(e,t,n,o,i,a,u){var c={$$typeof:r,type:e,key:t,ref:n,props:u,_owner:a,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function X(e,t,r){var n,o={},i=null,a=null,u=null,c=null;if(null!=t)for(n in Y(t)&&(a=t.ref,G(t)),J(t)&&(i=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)$.call(t,n)&&!V.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(i||a){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&H(o,d),a&&K(o,d)}return Q(e,i,a,u,c,w.current,o)}function Z(e,r,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,i,a=t({},e.props),u=e.key,c=e.ref,s=e._self,l=e._source,f=e._owner;if(null!=r)for(o in Y(r)&&(c=r.ref,f=w.current),J(r)&&(u=""+r.key),e.type&&e.type.defaultProps&&(i=e.type.defaultProps),r)$.call(r,o)&&!V.hasOwnProperty(o)&&(void 0===r[o]&&void 0!==i?a[o]=i[o]:a[o]=r[o]);var p=arguments.length-2;if(1===p)a.children=n;else if(p>1){for(var d=Array(p),v=0;v<p;v++)d[v]=arguments[v+2];a.children=d}return Q(e.type,u,c,s,l,f,a)}function ee(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var te=!1,re=/\/+/g;function ne(e){return e.replace(re,"$&/")}function oe(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function ie(e,t,o,i,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c,s,l,f=!1;if(null===e)f=!0;else switch(u){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=a(p),v=""===i?"."+oe(p,0):i;if(Array.isArray(d)){var b="";null!=v&&(b=ne(v)+"/"),ie(d,t,b,"",(function(e){return e}))}else null!=d&&(ee(d)&&(c=d,s=o+(!d.key||p&&p.key===d.key?"":ne(""+d.key)+"/")+v,d=Q(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var y=0,h=""===i?".":i+":";if(Array.isArray(e))for(var g=0;g<e.length;g++)y+=ie(l=e[g],t,o,h+oe(l,g),a);else{var w=m(e);if("function"==typeof w){var O=e;w===O.entries&&(te||j("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),te=!0);for(var S,_=w.call(O),x=0;!(S=_.next()).done;)y+=ie(l=S.value,t,o,h+oe(l,x++),a)}else if("object"===u){var E=""+e;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}}return y}function ae(e,t,r){if(null==e)return e;var n=[],o=0;return ie(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function ue(e){if(-1===e._status){var t=(0,e._result)(),r=e;r._status=0,r._result=t,t.then((function(t){if(0===e._status){var r=t.default;void 0===r&&E("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t);var n=e;n._status=1,n._result=r}}),(function(t){if(0===e._status){var r=e;r._status=2,r._result=t}}))}if(1===e._status)return e._result;throw e._result}function ce(t){return"string"==typeof t||"function"==typeof t||t===e.Fragment||t===e.Profiler||t===v||t===e.StrictMode||t===e.Suspense||t===c||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===l||t.$$typeof===s||t.$$typeof===o||t.$$typeof===i||t.$$typeof===u||t.$$typeof===d||t.$$typeof===f||t[0]===p)}function se(){var e=g.current;if(null===e)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return e}var le,fe,pe,de,ve,be,ye,he=0;function me(){}me.__reactDisabledLog=!0;var ge,we=x.ReactCurrentDispatcher;function Oe(e,t,r){if(void 0===ge)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);ge=n&&n[1]||""}return"\n"+ge+e}var Se,_e=!1,xe="function"==typeof WeakMap?WeakMap:Map;function je(e,r){if(!e||_e)return"";var n,o=Se.get(e);if(void 0!==o)return o;_e=!0;var i,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=we.current,we.current=null,function(){if(0===he){le=console.log,fe=console.info,pe=console.warn,de=console.error,ve=console.group,be=console.groupCollapsed,ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}he++}();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){n=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){n=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var c=t.stack.split("\n"),s=n.stack.split("\n"),l=c.length-1,f=s.length-1;l>=1&&f>=0&&c[l]!==s[f];)f--;for(;l>=1&&f>=0;l--,f--)if(c[l]!==s[f]){if(1!==l||1!==f)do{if(l--,--f<0||c[l]!==s[f]){var p="\n"+c[l].replace(" at new "," at ");return"function"==typeof e&&Se.set(e,p),p}}while(l>=1&&f>=0);break}}}finally{_e=!1,we.current=i,function(){if(0==--he){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:le}),info:t({},e,{value:fe}),warn:t({},e,{value:pe}),error:t({},e,{value:de}),group:t({},e,{value:ve}),groupCollapsed:t({},e,{value:be}),groupEnd:t({},e,{value:ye})})}he<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var d=e?e.displayName||e.name:"",v=d?Oe(d):"";return"function"==typeof e&&Se.set(e,v),v}function Ee(e,t,r){return je(e,!1)}function Ae(t,r,n){if(null==t)return"";if("function"==typeof t)return je(t,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(t));if("string"==typeof t)return Oe(t);switch(t){case e.Suspense:return Oe("Suspense");case c:return Oe("SuspenseList")}if("object"==typeof t)switch(t.$$typeof){case u:return Ee(t.render);case s:return Ae(t.type,r,n);case f:return Ee(t._render);case l:var o=t,i=o._payload,a=o._init;try{return Ae(a(i),r,n)}catch(e){}}return""}Se=new xe;var Pe,Te={},Ie=x.ReactDebugCurrentFrame;function ke(e){if(e){var t=e._owner,r=Ae(e.type,e._source,t?t.type:null);Ie.setExtraStackFrame(r)}else Ie.setExtraStackFrame(null)}function Ce(e){if(e){var t=e._owner;_(Ae(e.type,e._source,t?t.type:null))}else _(null)}function Fe(){if(w.current){var e=U(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function Me(e){return null!=e&&void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":"";var t}Pe=!1;var Re={};function Ne(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=Fe();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!Re[r]){Re[r]=!0;var n="";e&&e._owner&&e._owner!==w.current&&(n=" It was passed a child from "+U(e._owner.type)+"."),Ce(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),Ce(null)}}}function Be(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ee(n)&&Ne(n,t)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=m(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ee(i.value)&&Ne(i.value,t)}}function Le(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==s)return;t=r.propTypes}if(t){var n=U(r);!function(e,t,r,n,o){var i=Function.call.bind(Object.prototype.hasOwnProperty);for(var a in e)if(i(e,a)){var u=void 0;try{if("function"!=typeof e[a]){var c=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}u=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(ke(o),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,a,typeof u),ke(null)),u instanceof Error&&!(u.message in Te)&&(Te[u.message]=!0,ke(o),E("Failed %s type: %s",r,u.message),ke(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||Pe||(Pe=!0,E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",U(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ze(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Ce(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Ce(null);break}}null!==e.ref&&(Ce(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),Ce(null))}function Ue(t,n,o){var i=ce(t);if(!i){var a="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=Me(n);a+=c||Fe(),null===t?u="null":Array.isArray(t)?u="array":void 0!==t&&t.$$typeof===r?(u="<"+(U(t.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof t,E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var s=X.apply(this,arguments);if(null==s)return s;if(i)for(var l=2;l<arguments.length;l++)Be(arguments[l],t);return t===e.Fragment?ze(s):Le(s),s}var We=!1;try{var qe=Object.freeze({});new Map([[qe,null]]),new Set([qe])}catch(e){}var De=Ue,$e=function(e,t,r){for(var n=Z.apply(this,arguments),o=2;o<arguments.length;o++)Be(arguments[o],n.type);return Le(n),n},Ve=function(e){var t=Ue.bind(null,e);return t.type=e,We||(We=!0,j("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return j("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Ye={map:ae,forEach:function(e,t,r){ae(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return ae(e,(function(){t++})),t},toArray:function(e){return ae(e,(function(e){return e}))||[]},only:function(e){if(!ee(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};e.Children=Ye,e.Component=C,e.PureComponent=B,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x,e.cloneElement=$e,e.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&E("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:i,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};r.Provider={$$typeof:o,_context:r};var n=!1,a=!1,u=!1,c={$$typeof:i,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(c,{Provider:{get:function(){return a||(a=!0,E("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(e){r.Provider=e}},_currentValue:{get:function(){return r._currentValue},set:function(e){r._currentValue=e}},_currentValue2:{get:function(){return r._currentValue2},set:function(e){r._currentValue2=e}},_threadCount:{get:function(){return r._threadCount},set:function(e){r._threadCount=e}},Consumer:{get:function(){return n||(n=!0,E("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}},displayName:{get:function(){return r.displayName},set:function(e){u||(j("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),u=!0)}}}),r.Consumer=c,r._currentRenderer=null,r._currentRenderer2=null,r},e.createElement=De,e.createFactory=Ve,e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){null!=e&&e.$$typeof===s?E("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?E("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&E("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||E("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:u,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,null==e.displayName&&(e.displayName=r)}}),r},e.isValidElement=ee,e.lazy=function(e){var t,r,n={$$typeof:l,_payload:{_status:-1,_result:e},_init:ue};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){E("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){E("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},e.memo=function(e,t){ce(e)||E("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:s,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,null==e.displayName&&(e.displayName=t)}}),n},e.useCallback=function(e,t){return se().useCallback(e,t)},e.useContext=function(e,t){var r=se();if(void 0!==t&&E("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks":""),void 0!==e._context){var n=e._context;n.Consumer===e?E("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&E("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return r.useContext(e,t)},e.useDebugValue=function(e,t){return se().useDebugValue(e,t)},e.useEffect=function(e,t){return se().useEffect(e,t)},e.useImperativeHandle=function(e,t,r){return se().useImperativeHandle(e,t,r)},e.useLayoutEffect=function(e,t){return se().useLayoutEffect(e,t)},e.useMemo=function(e,t){return se().useMemo(e,t)},e.useReducer=function(e,t,r){return se().useReducer(e,t,r)},e.useRef=function(e){return se().useRef(e)},e.useState=function(e){return se().useState(e)},e.version="17.0.2"}()),f;var e}function d(e){const[t,r]=o.exports.useState(e);return[t,o.exports.useCallback(((e=1)=>{r((t=>t+e))}),[]),o.exports.useCallback((()=>{r(e)}),[])]}function v(e){o.exports.useEffect(e,[])}function b(){const e=o.exports.useRef(!1);return v((()=>(e.current=!0,()=>{e.current=!1}))),()=>e.current}function y(){const e=o.exports.useRef(l.InitialValue);switch(e.current){case l.InitialValue:e.current=l.First;break;case l.First:e.current=l.NotFirst;break;case l.NotFirst:}return()=>e.current===l.First}function h(e,t){const r=y();o.exports.useEffect((()=>{if(!r())return e()}),t)}s=o,"production"===process.env.NODE_ENV?s.exports=u():s.exports=p(),function(e){e[e.InitialValue=0]="InitialValue",e[e.First=1]="First",e[e.NotFirst=2]="NotFirst"}(l||(l={}));var m={},g={};function w(e){return Array.isArray(e)}g.isntEmptyArray=g.isEmptyArray=g.isntArray=g.isArray=void 0,g.isArray=w,g.isntArray=function(e){return!w(e)},g.isEmptyArray=function(e){return 0===e.length},g.isntEmptyArray=function(e){return 0!==e.length};var O={},S={};function _(e){return null===e}S.isntNull=S.isNull=void 0,S.isNull=_,S.isntNull=function(e){return!_(e)};var x={};function j(e){return void 0===e}x.isntUndefined=x.isUndefined=void 0,x.isUndefined=j,x.isntUndefined=function(e){return!j(e)};var E={};function A(e){return"function"==typeof e}E.isntFunction=E.isFunction=void 0,E.isFunction=A,E.isntFunction=function(e){return!A(e)},O.isntAsyncIterable=O.isAsyncIterable=void 0;const P=S,T=x,I=E;function k(e){return(0,P.isntNull)(e)&&(0,T.isntUndefined)(e)&&(0,I.isFunction)(e[Symbol.asyncIterator])}O.isAsyncIterable=k,O.isntAsyncIterable=function(e){return!k(e)};var C={};function F(e){return"bigint"==typeof e}C.isntBigInt=C.isBigInt=void 0,C.isBigInt=F,C.isntBigInt=function(e){return!F(e)};var M={};function R(e){return"boolean"==typeof e}M.isntBoolean=M.isBoolean=void 0,M.isBoolean=R,M.isntBoolean=function(e){return!R(e)};var N={},B={};function L(e){return"string"==typeof e}B.isntString=B.isString=void 0,B.isString=L,B.isntString=function(e){return!L(e)},N.isntChar=N.isChar=void 0;const z=B;function U(e){return(0,z.isString)(e)&&1===e.length}N.isChar=U,N.isntChar=function(e){return!U(e)};var W={};function q(e){return e instanceof Date}W.isntDate=W.isDate=void 0,W.isDate=q,W.isntDate=function(e){return!q(e)};var D={};D.inEnum=void 0,D.inEnum=function(e,t){return Object.values(t).includes(e)};var $={};function V(e){return e instanceof Error}$.isntError=$.isError=void 0,$.isError=V,$.isntError=function(e){return!V(e)};var Y={};function J(e){return!e}Y.isntFalsy=Y.isFalsy=void 0,Y.isFalsy=J,Y.isntFalsy=function(e){return!J(e)};var H={};H.isntIterable=H.isIterable=void 0;const K=S,G=x,Q=E;function X(e){return(0,K.isntNull)(e)&&(0,G.isntUndefined)(e)&&(0,Q.isFunction)(e[Symbol.iterator])}H.isIterable=X,H.isntIterable=function(e){return!X(e)};var Z={},ee={};function te(e){return"number"==typeof e}function re(e){return Number.isNaN(e)}ee.isntNaN=ee.isNaN=ee.isNegativeInfinity=ee.isPositiveInfinity=ee.isFinite=ee.isntNumber=ee.isNumber=void 0,ee.isNumber=te,ee.isntNumber=function(e){return!te(e)},ee.isFinite=function(e){return Number.isFinite(e)},ee.isPositiveInfinity=function(e){return e===1/0},ee.isNegativeInfinity=function(e){return e===-1/0},ee.isNaN=re,ee.isntNaN=function(e){return!re(e)};var ne={},oe="object"==typeof n&&n&&n.Object===Object&&n,ie="object"==typeof self&&self&&self.Object===Object&&self,ae=(oe||ie||Function("return this")()).Symbol,ue=ae,ce=Object.prototype,se=ce.hasOwnProperty,le=ce.toString,fe=ue?ue.toStringTag:void 0;var pe=function(e){var t=se.call(e,fe),r=e[fe];try{e[fe]=void 0;var n=!0}catch(e){}var o=le.call(e);return n&&(t?e[fe]=r:delete e[fe]),o},de=Object.prototype.toString;var ve=pe,be=function(e){return de.call(e)},ye=ae?ae.toStringTag:void 0;var he=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ye&&ye in Object(e)?ve(e):be(e)};var me=function(e,t){return function(r){return e(t(r))}}(Object.getPrototypeOf,Object);var ge=he,we=me,Oe=function(e){return null!=e&&"object"==typeof e},Se=Function.prototype,_e=Object.prototype,xe=Se.toString,je=_e.hasOwnProperty,Ee=xe.call(Object);var Ae=function(e){if(!Oe(e)||"[object Object]"!=ge(e))return!1;var t=we(e);if(null===t)return!0;var r=je.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&xe.call(r)==Ee},Pe=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};ne.isntEmptyObject=ne.isEmptyObject=ne.isntPlainObject=ne.isPlainObject=ne.isntObject=ne.isObject=void 0;const Te=Pe(Ae);function Ie(e){return null!==e&&"object"==typeof e}function ke(e){return(0,Te.default)(e)}ne.isObject=Ie,ne.isntObject=function(e){return!Ie(e)},ne.isPlainObject=ke,ne.isntPlainObject=function(e){return!ke(e)},ne.isEmptyObject=function(e){return 0===Object.keys(e).length},ne.isntEmptyObject=function(e){return 0!==Object.keys(e).length},Z.isntJsonable=Z.isJsonable=Z.isntJson=Z.isJson=void 0;const Ce=S,Fe=M,Me=B,Re=ee,Ne=g,Be=ne;function Le(e){return(0,Ce.isNull)(e)||(0,Fe.isBoolean)(e)||(0,Me.isString)(e)||(0,Re.isNumber)(e)||(0,Ne.isArray)(e)&&e.every(Le)||(0,Be.isPlainObject)(e)&&Object.values(e).every(Le)}Z.isJson=Le,Z.isntJson=function(e){return!Le(e)},Z.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},Z.isntJsonable=function e(t){return!e()};var ze={};ze.isPromiseLike=ze.isntPromiseLike=ze.isntPromise=ze.isPromise=void 0;const Ue=ne,We=E;function qe(e){return e instanceof Promise}function De(e){return(0,Ue.isObject)(e)&&(0,We.isFunction)(e.then)}ze.isPromise=qe,ze.isntPromise=function(e){return!qe(e)},ze.isntPromiseLike=function(e){return!De(e)},ze.isPromiseLike=De;var $e,Ve,Ye,Je={};Je.isAbsoluteURL=void 0,Je.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}},$e=m,Ve=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),(Ye=n&&n.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Ve(t,e,r)})(g,$e),Ye(O,$e),Ye(C,$e),Ye(M,$e),Ye(N,$e),Ye(W,$e),Ye(D,$e),Ye($,$e),Ye(Y,$e),Ye(E,$e),Ye(H,$e),Ye(Z,$e),Ye(S,$e),Ye(ee,$e),Ye(ne,$e),Ye(ze,$e),Ye(B,$e),Ye(x,$e),Ye(Je,$e);var He,Ke={},Ge={},Qe={},Xe={},Ze={},et={},tt={};tt.go=void 0,tt.go=function(e){return e()},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});(n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(tt,e)}(et);var rt={chunkByAsync:void 0};const nt=m;rt.chunkByAsync=function(e,t){return(0,nt.isAsyncIterable)(e)?async function*(e){let r=[],n=0;for await(const o of e)r.push(o),await t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)}(e):async function*(e){let r=[],n=0;for(const o of e)r.push(o),await t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)}(e)};var ot={};ot.chunkBy=void 0,ot.chunkBy=function*(e,t){let r=[],n=0;for(const o of e)r.push(o),t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)};var it,at={};var ut={concatAsync:void 0};const ct=m,st=et;ut.concatAsync=function(e,...t){return(0,st.go)((async function*(){for(const r of[e,...t])if((0,ct.isAsyncIterable)(r))for await(const e of r)yield e;else for(const e of r)yield e}))};var lt={concat:void 0};const ft=et;lt.concat=function(e,...t){return(0,ft.go)((function*(){for(const r of[e,...t])yield*r}))};var pt,dt={},vt={};vt.copyIterable=vt.copyAsyncIterable=void 0,vt.copyAsyncIterable=async function*(e){for await(const t of e)yield t},vt.copyIterable=function*(e){for(const t of e)yield t};var bt,yt={};var ht,mt={};var gt={dropUntilAsync:void 0};const wt=m;gt.dropUntilAsync=function(e,t){return(0,wt.isAsyncIterable)(e)?async function*(e){var r;const n=e[Symbol.asyncIterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=await n.next()),o||await t(e,i++)););for(;!o;)yield e,({value:e,done:o}=await n.next())}finally{o||await(null===(r=n.return)||void 0===r?void 0:r.call(n))}}(e):async function*(e){var r;const n=e[Symbol.iterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=n.next()),o||await t(e,i++)););for(;!o;)yield e,({value:e,done:o}=n.next())}finally{o||null===(r=n.return)||void 0===r||r.call(n)}}(e)};var Ot={};Ot.dropUntil=void 0,Ot.dropUntil=function*(e,t){var r;const n=e[Symbol.iterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=n.next()),o||t(e,i++)););for(;!o;)yield e,({value:e,done:o}=n.next())}finally{o||null===(r=n.return)||void 0===r||r.call(n)}};var St,_t={};var xt={filterAsync:void 0};const jt=m;xt.filterAsync=function(e,t){return(0,jt.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)await t(n,r)&&(yield n),r++}(e):async function*(e){let r=0;for(const n of e)await t(n,r)&&(yield n),r++}(e)};var Et={};Et.filter=void 0,Et.filter=function*(e,t){let r=0;for(const n of e)t(n,r)&&(yield n),r++};var At={},Pt={},Tt={flattenByAsync:void 0};const It=m;function kt(e){return(0,It.isIterable)(e)&&(0,It.isntChar)(e)}var Ct,Ft;function Mt(){if(Ct)return Pt;Ct=1,Pt.flattenDeepAsync=void 0;const e=Tt,t=Un();return Pt.flattenDeepAsync=function(r,n=1/0){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,t.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,e.flattenByAsync)(r,((e,t)=>t<=n))},Pt}Tt.flattenByAsync=function(e,t){return(0,It.isAsyncIterable)(e)?async function*(e){const n=1;for await(const o of e)kt(o)&&await t(o,n)?yield*r(o,n+1):yield o}(e):function(e){return r(e,1)}(e);async function*r(e,n){for(const o of e)kt(o)&&await t(o,n)?yield*r(o,n+1):yield o}};var Rt={flattenBy:void 0};const Nt=m;Rt.flattenBy=function(e,t){return function*e(r,n){for(const i of r)o=i,(0,Nt.isIterable)(o)&&(0,Nt.isntChar)(o)&&t(i,n)?yield*e(i,n+1):yield i;var o}(e,1)};var Bt,Lt={};function zt(){if(Bt)return Lt;Bt=1,Lt.flattenDeep=void 0;const e=Rt,t=Un();return Lt.flattenDeep=function(r,n=1/0){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,t.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,e.flattenBy)(r,((e,t)=>t<=n))},Lt}var Ut,Wt={};var qt={mapAsync:void 0};const Dt=m;qt.mapAsync=function(e,t){return(0,Dt.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)yield await t(n,r),r++}(e):async function*(e){let r=0;for(const n of e)yield await t(n,r),r++}(e)};var $t={};$t.map=void 0,$t.map=function*(e,t){let r=0;for(const n of e)yield t(n,r),r++};var Vt,Yt={};function Jt(){if(Vt)return Yt;Vt=1,Yt.repeatAsync=void 0;const e=et,t=Un();return Yt.repeatAsync=function(r,n){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,t.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,e.go)((async function*(){const e=[];if(n>0){for await(const t of r)yield t,e.push(t);n--}for(;n>0;)yield*e,n--}))},Yt}var Ht,Kt={};function Gt(){if(Ht)return Kt;Ht=1,Kt.repeat=void 0;const e=et,t=Un();return Kt.repeat=function(r,n){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,t.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,e.go)((function*(){const e=[];if(n>0){for(const t of r)yield t,e.push(t);n--}for(;n>0;)yield*e,n--}))},Kt}var Qt,Xt={};var Zt,er={};var tr={};tr.splitAsync=void 0,tr.splitAsync=async function*(e,t){let r=[];for await(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var rr={splitByAsync:void 0};const nr=m;rr.splitByAsync=function(e,t){return(0,nr.isAsyncIterable)(e)?async function*(e){let r=[],n=0;for await(const o of e)await t(o,n)?(yield r,r=[]):r.push(o),n++;yield r}(e):async function*(e){let r=[],n=0;for(const o of e)await t(o,n)?(yield r,r=[]):r.push(o),n++;yield r}(e)};var or={};or.splitBy=void 0,or.splitBy=function*(e,t){let r=[],n=0;for(const o of e)t(o,n)?(yield r,r=[]):r.push(o),n++;yield r};var ir={};ir.split=void 0,ir.split=function*(e,t){let r=[];for(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var ar,ur={};var cr,sr={};var lr,fr={};var pr={takeUntilAsync:void 0};const dr=m;pr.takeUntilAsync=function(e,t){return(0,dr.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e){if(await t(n,r))break;yield n,r++}}(e):async function*(e){let r=0;for(const n of e){if(await t(n,r))break;yield n,r++}}(e)};var vr={};vr.takeUntil=void 0,vr.takeUntil=function*(e,t){let r=0;for(const n of e){if(t(n,r))break;yield n,r++}};var br,yr={};var hr={tapAsync:void 0};const mr=m;hr.tapAsync=function(e,t){return(0,mr.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)await t(n,r),yield n,r++}(e):async function*(e){let r=0;for(const n of e)await t(n,r),yield n,r++}(e)};var gr={};gr.tap=void 0,gr.tap=function*(e,t){let r=0;for(const n of e)t(n,r),yield n,r++};var wr={};wr.toAsyncIterable=void 0,wr.toAsyncIterable=async function*(e){for(const t of e)yield t};var Or={};Or.transformAsync=void 0,Or.transformAsync=async function*(e,t){yield*t(e)};var Sr={};Sr.transform=void 0,Sr.transform=function*(e,t){yield*t(e)};var _r={};_r.uniqAsync=void 0,_r.uniqAsync=async function*(e){const t=new Set;for await(const r of e)t.has(r)||(yield r,t.add(r))};var xr={uniqByAsync:void 0};const jr=m;xr.uniqByAsync=function(e,t){return(0,jr.isAsyncIterable)(e)?async function*(e){const r=new Set;let n=0;for await(const o of e){const e=await t(o,n);r.has(e)||(yield o,r.add(e)),n++}}(e):async function*(e){const r=new Set;let n=0;for(const o of e){const e=await t(o,n);r.has(e)||(yield o,r.add(e)),n++}}(e)};var Er={};Er.uniqBy=void 0,Er.uniqBy=function*(e,t){const r=new Set;let n=0;for(const o of e){const e=t(o,n);r.has(e)||(yield o,r.add(e)),n++}};var Ar={};Ar.uniq=void 0,Ar.uniq=function*(e){const t=new Set;for(const r of e)t.has(r)||(yield r,t.add(r))};var Pr={zipAsync:void 0};const Tr=m;var Ir;!function(e){e[e.Sync=0]="Sync",e[e.Async=1]="Async"}(Ir||(Ir={})),Pr.zipAsync=function(e,...t){return async function*(...e){var t,r,n,o;const i=e.length,a=e.map((e=>(0,Tr.isAsyncIterable)(e)?[Ir.Async,e[Symbol.asyncIterator]()]:[Ir.Sync,e[Symbol.iterator]()])),u=a.map((()=>!1));try{for(;;){const e=new Array(i);for(let t=0;t<i;t++){const[r,n]=a[t];let o;if(o=r===Ir.Async?await n.next():n.next(),o.done)return void(u[t]=!0);e[t]=o.value}yield e}}finally{const e=a.filter(((e,t)=>!u[t]));for(const[i,a]of e)i===Ir.Async?await(null===(r=(t=a).return)||void 0===r?void 0:r.call(t)):null===(o=(n=a).return)||void 0===o||o.call(n)}}(e,...t)};var kr,Cr={};function Fr(){return kr||(kr=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(function(){if(He)return Ze;He=1,Ze.chunkAsync=void 0;const e=et,t=Un();return Ze.chunkAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,t.assert)(n>0,"The parameter size must be greater than 0"),(0,e.go)((async function*(){let e=[];for await(const t of r)e.push(t),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))},Ze}(),e),r(rt,e),r(ot,e),r(function(){if(it)return at;it=1,at.chunk=void 0;const e=et,t=Un();return at.chunk=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,t.assert)(n>0,"The parameter size must be greater than 0"),(0,e.go)((function*(){let e=[];for(const t of r)e.push(t),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))},at}(),e),r(ut,e),r(lt,e),r(function(){if(pt)return dt;pt=1,dt.dropAsync=void 0;const e=et,t=vt,r=Un();return dt.dropAsync=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyAsyncIterable)(n):(0,e.go)((async function*(){var e;const t=n[Symbol.asyncIterator]();let r;try{let n;for(;({value:n,done:r}=await t.next()),!(r||o<=0);)o--;for(;!r;)yield n,({value:n,done:r}=await t.next())}finally{r||await(null===(e=t.return)||void 0===e?void 0:e.call(t))}}))},dt}(),e),r(function(){if(bt)return yt;bt=1,yt.dropRightAsync=void 0;const e=et,t=vt,r=Un();return yt.dropRightAsync=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyAsyncIterable)(n):(0,e.go)((async function*(){const e=(await async function(e){const t=[];for await(const r of e)t.push(r);return t}(n)).slice(0,-o);for(const t of e)yield t}))},yt}(),e),r(function(){if(ht)return mt;ht=1,mt.dropRight=void 0;const e=et,t=vt,r=Un();return mt.dropRight=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyIterable)(n):(0,e.go)((function*(){const e=Array.from(n);yield*e.slice(0,-o)}))},mt}(),e),r(gt,e),r(Ot,e),r(function(){if(St)return _t;St=1,_t.drop=void 0;const e=et,t=vt,r=Un();return _t.drop=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyIterable)(n):(0,e.go)((function*(){var e;const t=n[Symbol.iterator]();let r;try{let n;for(;({value:n,done:r}=t.next()),!(r||o<=0);)o--;for(;!r;)yield n,({value:n,done:r}=t.next())}finally{r||null===(e=t.return)||void 0===e||e.call(t)}}))},_t}(),e),r(xt,e),r(Et,e),r(function(){if(Ft)return At;Ft=1,At.flattenAsync=void 0;const e=Mt();return At.flattenAsync=function(t){return(0,e.flattenDeepAsync)(t,1)},At}(),e),r(Tt,e),r(Rt,e),r(Mt(),e),r(zt(),e),r(function(){if(Ut)return Wt;Ut=1,Wt.flatten=void 0;const e=zt();return Wt.flatten=function(t){return(0,e.flattenDeep)(t,1)},Wt}(),e),r(qt,e),r($t,e),r(Jt(),e),r(Gt(),e),r(function(){if(Qt)return Xt;Qt=1,Xt.sliceAsync=void 0;const e=et,t=Un();return Xt.sliceAsync=function(r,n,o=1/0){return(0,t.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,t.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,t.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,t.assert)(o>=n,"The parameter end must be greater than or equal to start"),(0,e.go)((async function*(){let e=0;for await(const t of r){if(e>=o)break;e>=n&&(yield t),e++}}))},Xt}(),e),r(function(){if(Zt)return er;Zt=1,er.slice=void 0;const e=et,t=Un();return er.slice=function(r,n,o=1/0){return(0,t.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,t.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,t.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,t.assert)(o>=n,"The parameter end must be greater than or equal to start"),(0,e.go)((function*(){let e=0;for(const t of r){if(e>=o)break;e>=n&&(yield t),e++}}))},er}(),e),r(tr,e),r(rr,e),r(or,e),r(ir,e),r(function(){if(ar)return ur;ar=1,ur.takeAsync=void 0;const e=et,t=Un();return ur.takeAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((async function*(){if(0!==n)for await(const e of r)if(yield e,0==--n)break}))},ur}(),e),r(function(){if(cr)return sr;cr=1,sr.takeRightAsync=void 0;const e=et,t=Un();return sr.takeRightAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((async function*(){var e;const t=r[Symbol.asyncIterator]();let o;try{const r=[];let i;for(;({value:i,done:o}=await t.next()),!o;)r.push(i),r.length>n&&r.shift();yield*r}finally{o||await(null===(e=t.return)||void 0===e?void 0:e.call(t))}}))},sr}(),e),r(function(){if(lr)return fr;lr=1,fr.takeRight=void 0;const e=et,t=Un();return fr.takeRight=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((function*(){var e;const t=r[Symbol.iterator]();let o;try{const r=[];let i;for(;({value:i,done:o}=t.next()),!o;)r.push(i),r.length>n&&r.shift();yield*r}finally{o||null===(e=t.return)||void 0===e||e.call(t)}}))},fr}(),e),r(pr,e),r(vr,e),r(function(){if(br)return yr;br=1,yr.take=void 0;const e=et,t=Un();return yr.take=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((function*(){if(0!==n)for(const e of r)if(yield e,0==--n)break}))},yr}(),e),r(hr,e),r(gr,e),r(wr,e),r(Or,e),r(Sr,e),r(_r,e),r(xr,e),r(Er,e),r(Ar,e),r(Pr,e),r(Cr,e)}(Xe)),Xe}Cr.zip=void 0,Cr.zip=function(e,...t){return function*(...e){const t=e.length,r=e.map((e=>e[Symbol.iterator]())),n=r.map((()=>!1));try{for(;;){const e=new Array(t);for(let o=0;o<t;o++){const{value:t,done:i}=r[o].next();if(i)return void(n[o]=!0);e[o]=t}yield e}}finally{r.filter(((e,t)=>!n[t])).forEach((e=>{var t;return null===(t=e.return)||void 0===t?void 0:t.call(e)}))}}(e,...t)};var Mr={},Rr={};Rr.consume=void 0,Rr.consume=function(e,t){return t(e)};var Nr={eachAsync:void 0};const Br=m;Nr.eachAsync=function(e,t){return(0,Br.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e)await t(n,r),r++}(e):async function(e){let r=0;for(const n of e)await t(n,r),r++}(e)};var Lr={};Lr.each=void 0,Lr.each=function(e,t){let r=0;for(const n of e)t(n,r),r++};var zr={everyAsync:void 0};const Ur=m;zr.everyAsync=function(e,t){return(0,Ur.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(!await t(n,r))return!1;r++}return!0}(e):async function(e){let r=0;for(const n of e){if(!await t(n,r))return!1;r++}return!0}(e)};var Wr={};Wr.every=void 0,Wr.every=function(e,t){let r=0;for(const n of e){if(!t(n,r))return!1;r++}return!0};var qr={findAsync:void 0};const Dr=m;qr.findAsync=function(e,t){return(0,Dr.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(await t(n,r))return n;r++}return}(e):async function(e){let r=0;for(const n of e){if(await t(n,r))return n;r++}return}(e)};var $r={};$r.find=void 0,$r.find=function(e,t){let r=0;for(const n of e){if(t(n,r))return n;r++}};var Vr={};Vr.firstAsync=void 0,Vr.firstAsync=async function(e){for await(const t of e)return t};var Yr={};Yr.first=void 0,Yr.first=function(e){for(const t of e)return t};var Jr={};Jr.includesAsync=void 0,Jr.includesAsync=async function(e,t){for await(const r of e)if(r===t)return!0;return!1};var Hr={};Hr.includes=void 0,Hr.includes=function(e,t){for(const r of e)if(r===t)return!0;return!1};var Kr={};Kr.matchAsync=void 0,Kr.matchAsync=async function(e,t){const r=t.length;let n=0;for await(const o of e)if(o===t[n]&&n++,n===r)return!0;return!1};var Gr={};Gr.match=void 0,Gr.match=function(e,t){const r=t.length;let n=0;for(const o of e)if(o===t[n]&&n++,n===r)return!0;return!1};var Qr={reduceAsync:void 0};const Xr=m;Qr.reduceAsync=function(e,t,r){return(0,Xr.isUndefined)(r)?function(e,t){return(0,Xr.isAsyncIterable)(e)?r(e):n(e);async function r(e){var r;const n=e[Symbol.asyncIterator]();let o;try{let e,a=await i(n),u=1;for(;({value:e,done:o}=await n.next()),!o;)a=await t(a,e,u++);return a}finally{o||await(null===(r=n.return)||void 0===r?void 0:r.call(n))}async function i(e){const t=await e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}async function n(e){var r;const n=e[Symbol.iterator]();let o;try{let e,a=i(n),u=1;for(;({value:e,done:o}=n.next()),!o;)a=await t(a,e,u++);return a}finally{o||null===(r=n.return)||void 0===r||r.call(n)}function i(e){const t=e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}}(e,t):function(e,t,r){return(0,Xr.isAsyncIterable)(e)?o(e):n(e);async function n(e){let n=r,o=0;for(const r of e)n=await t(n,r,o++);return n}async function o(e){let n=r,o=0;for await(const r of e)n=await t(n,r,o++);return n}}(e,t,r)};var Zr={reduce:void 0};const en=m;Zr.reduce=function(e,t,r){return(0,en.isUndefined)(r)?function(e,t){var r;const n=e[Symbol.iterator]();let o;try{let e,a=i(n),u=1;for(;({value:e,done:o}=n.next()),!o;)a=t(a,e,u++);return a}finally{o||null===(r=n.return)||void 0===r||r.call(n)}function i(e){const t=e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}(e,t):function(e,t,r){let n=r,o=0;for(const r of e)n=t(n,r,o++);return n}(e,t,r)};var tn={someAsync:void 0};const rn=m;tn.someAsync=function(e,t){return(0,rn.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(await t(n,r))return!0;r++}return!1}(e):async function(e){let r=0;for(const n of e){if(await t(n,r))return!0;r++}return!1}(e)};var nn={};nn.some=void 0,nn.some=function(e,t){let r=0;for(const n of e){if(t(n,r))return!0;r++}return!1};var on={};on.lastAsync=void 0,on.lastAsync=async function(e){var t;const r=e[Symbol.asyncIterator]();let n;try{let e,o;for(;({value:e,done:n}=await r.next()),!n;)o=e;return o}finally{n||await(null===(t=r.return)||void 0===t?void 0:t.call(r))}};var an={};an.last=void 0,an.last=function(e){var t;const r=e[Symbol.iterator]();let n;try{let e,o;for(;({value:e,done:n}=r.next()),!n;)o=e;return o}finally{n||null===(t=r.return)||void 0===t||t.call(r)}};var un={toArrayAsync:void 0};const cn=Rr;un.toArrayAsync=function(e){return(0,cn.consume)(e,(async e=>{const t=[];for await(const r of e)t.push(r);return t}))};var sn={toArray:void 0};const ln=Rr;sn.toArray=function(e){return(0,ln.consume)(e,(e=>Array.from(e)))};var fn={toSetAsync:void 0};const pn=Rr;fn.toSetAsync=function(e){return(0,pn.consume)(e,(async e=>{const t=new Set;for await(const r of e)t.add(r);return t}))};var dn={toSet:void 0};const vn=Rr;dn.toSet=function(e){return(0,vn.consume)(e,(e=>new Set(e)))};var bn={};bn.count=void 0,bn.count=function(e){let t=0;for(const r of e)t++;return t};var yn,hn={};function mn(){return yn||(yn=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Fr(),e),r(Mr,e)}(Qe)),Qe}hn.countAsync=void 0,hn.countAsync=async function(e){let t=0;for await(const r of e)t++;return t},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Rr,e),r(Nr,e),r(Lr,e),r(zr,e),r(Wr,e),r(qr,e),r($r,e),r(Vr,e),r(Yr,e),r(Jr,e),r(Hr,e),r(Kr,e),r(Gr,e),r(Qr,e),r(Zr,e),r(tn,e),r(nn,e),r(on,e),r(an,e),r(un,e),r(sn,e),r(fn,e),r(dn,e),r(bn,e),r(hn,e)}(Mr);var gn={},wn={};wn.traverseErrorPrototypeChain=void 0,wn.traverseErrorPrototypeChain=function*(e){let t=e;for(;(t=Object.getPrototypeOf(t))&&(yield t,t!==Error.prototype););},gn.getErrorNames=void 0;const On=m,Sn=wn;gn.getErrorNames=function*(e){var t;if((0,On.isError)(e))for(const r of(0,Sn.traverseErrorPrototypeChain)(e))(null===(t=r.constructor)||void 0===t?void 0:t.name)&&(yield r.constructor.name);else yield e.name,yield*e.ancestors};var _n={isSerializableError:void 0};const xn=m;var jn;function En(){if(jn)return Ge;jn=1,Ge.CustomError=void 0;const e=mn(),t=gn,r=m,n=_n;class o extends Error{get name(){var r,n;return null!==(n=null!==(r=(0,e.first)((0,t.getErrorNames)(this)))&&void 0!==r?r:o.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](o){var i;if((0,r.isError)(o)||(0,n.isSerializableError)(o)){const r=[null!==(i=this.prototype.constructor.name)&&void 0!==i?i:this.name,...(0,t.getErrorNames)(this.prototype)].reverse(),n=(0,e.toArray)((0,t.getErrorNames)(o)).reverse();return r.every(((e,t)=>e===n[t]))}return!1}}return Ge.CustomError=o,Ge}_n.isSerializableError=function(e){return(0,xn.isObject)(e)&&(0,xn.isString)(e.name)&&(0,xn.isString)(e.message)&&((0,xn.isString)(e.stack)||(0,xn.isNull)(e.stack))&&(0,xn.isArray)(e.ancestors)&&e.ancestors.every(xn.isString)};var An,Pn={};function Tn(){if(An)return Pn;An=1,Pn.AssertionError=void 0;const e=En();class t extends e.CustomError{}return Pn.AssertionError=t,Pn}var In,kn={};var Cn={},Fn={},Mn={};Mn.pass=void 0,Mn.pass=function(){},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});(n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(Mn,e)}(Fn),Cn.hydrate=void 0;const Rn=Fn;function Nn(e,t){const r=function(){(0,Rn.pass)()};return(r.prototype=Object.create(e.prototype)).constructor=r,Object.defineProperty(r,"name",{value:t}),r}Cn.hydrate=function(e){var t;const r=[e.name,...e.ancestors].slice(0,-1).reverse();let n=Error;for(const e of r)n=Nn(n,e);const o=new n;return o.name=e.name,o.message=e.message,o.stack=null!==(t=e.stack)&&void 0!==t?t:void 0,o};var Bn,Ln,zn={};function Un(){return Ln||(Ln=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(En(),e),r(Tn(),e),r(_n,e),r(function(){if(In)return kn;In=1,kn.normalize=void 0;const e=gn,t=mn();return kn.normalize=function(r){var n;const[o,...i]=(0,t.toArray)((0,e.getErrorNames)(r));return{name:o,ancestors:i,message:r.message,stack:null!==(n=r.stack)&&void 0!==n?n:null}},kn}(),e),r(Cn,e),r(function(){if(Bn)return zn;Bn=1,zn.assert=void 0;const e=Tn();return zn.assert=function(t,r){if(!t)throw new e.AssertionError(r)},zn}(),e),r(gn,e),r(wn,e)}(Ke)),Ke}var Wn=Un();function qn(e,t){Wn.assert(e.length>0,"The parameter values must be a non-empty array"),m.isntUndefined(t)&&Wn.assert(t>=0&&t<e.length,"The parameter defaultSelectedIndex must be in the range of 0 to values.length");const[r,n]=o.exports.useState(t);return{value:m.isUndefined(r)?void 0:e[r],options:e.map(((e,t)=>({value:e,index:t,selected:t===r,select:()=>n(t)})))}}var Dn=mn();function $n(e,t=[]){Wn.assert(e.length>0,"The parameter values must be a non-empty array");for(const r of t)Wn.assert(r>=0&&r<e.length,"The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length");const[r,n]=o.exports.useState(new Set(t));return{values:Dn.toArray(Dn.map(r,(t=>e[t]))),options:e.map(((e,t)=>{const o=r.has(t),i=()=>{const e=new Set(r);e.add(t),n(e)},a=()=>{const e=new Set(r);e.delete(t),n(e)};return{value:e,index:t,selected:o,select:i,unselect:a,toggle:o?a:i}}))}}function Vn(e,t=0){const[r,n]=o.exports.useState(t);return[e[r],()=>n((t=>t+1<e.length?t+1:0))]}function Yn(e=!1){const[t,r]=o.exports.useState(e);return[t,()=>r((e=>!e))]}function Jn(e,t){const r=t.map((e=>e.current));o.exports.useEffect((()=>{const r=new ResizeObserver(e);return t.map((e=>e.current)).filter(m.isntNull).forEach((e=>r.observe(e))),()=>r.disconnect()}),r)}function Hn(e,t=0){const[r,n]=o.exports.useState(t);return[e[r],()=>{n((t=>t===e.length-1?t:t+1))},()=>{n((e=>0===e?e:e-1))}]}function Kn(){const[,e]=o.exports.useState({});return()=>e({})}var Gn={},Qn={Box:void 0};Qn.Box=class{constructor(e){this.value=e}set(e){this.value=e}get(){return this.value}};var Xn={};Xn.convertArrayToCons=Xn.convertConsToArray=void 0,Xn.convertConsToArray=function e([t,r]){return null===r?[t]:[t,...e(r)]},Xn.convertArrayToCons=function e([t,...r]){return[t,r.length?e(r):null]};var Zn={Emitter:void 0};class eo{constructor(){this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}on(e,t){this.map.has(e)||this.map.set(e,new Set);return this.map.get(e).add(r),()=>{if(!this.map.has(e))return;const t=this.map.get(e);t.delete(r),0===t.size&&this.map.delete(e)};function r(...e){t(...e)}}once(e,t){const r=this.on(e,((...e)=>{t(...e),r()}));return r}emit(e,...t){this.map.has(e)&&this.map.get(e).forEach((e=>e(...t)))}}Zn.Emitter=eo;var to={HashMap:void 0};class ro{constructor(e){this.hash=e,this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t){return this.map.set(this.hash(e),t),this}has(e){return this.map.has(this.hash(e))}get(e){return this.map.get(this.hash(e))}delete(e){return this.map.delete(this.hash(e))}clear(){this.map.clear()}}to.HashMap=ro;var no={HashSet:void 0};class oo{constructor(e){this.hash=e,this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}[Symbol.iterator](){return this.map.values()}add(e){return this.map.set(this.hash(e),e),this}delete(e){return this.map.delete(this.hash(e))}has(e){return this.map.has(this.hash(e))}clear(){this.map.clear()}values(){return this.map.values()}}no.HashSet=oo;var io={Queue:void 0};class ao{constructor(){this.items=[]}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.items.length}empty(){this.items.length=0}enqueue(...e){this.items.push(...e)}dequeue(){return this.items.shift()}remove(e){let t;for(;(t=this.items.indexOf(e))>=0;)this.items.splice(t,1)}}io.Queue=ao;var uo={LRUMap:void 0};const co=Un(),so=mn();class lo{constructor(e){this.map=new Map,(0,co.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,co.assert)(e>0,"The parameter limit must be a positive value"),this.limit=e}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t){return this.map.has(e)?this.updateItem(e,t):(this.map.size===this.limit&&this.map.delete(this.getColdestKey()),this.map.set(e,t)),this}has(e){return this.map.has(e)}get(e){if(!this.has(e))return;const t=this.map.get(e);return this.updateItem(e,t),t}delete(e){return this.map.delete(e)}clear(){this.map.clear()}updateItem(e,t){this.map.delete(e),this.map.set(e,t)}getColdestKey(){return(0,so.first)(this.map.keys())}}uo.LRUMap=lo;var fo={},po={},vo={},bo={},yo={};yo.random=void 0,yo.random=function(e,t){return Math.random()*(t-e)+e};var ho={};ho.randomInt=void 0,ho.randomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e};var mo={};mo.randomIntInclusive=void 0,mo.randomIntInclusive=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(yo,e),r(ho,e),r(mo,e)}(bo),vo.calculateExponentialBackoffTimeout=void 0;const go=bo;vo.calculateExponentialBackoffTimeout=function({baseTimeout:e,retries:t,maxTimeout:r=1/0,factor:n=2,jitter:o=!0}){const i=Math.min(n**t*e,r);return o?(0,go.randomIntInclusive)(0,i):i};var wo={};wo.setTimeout=void 0,wo.setTimeout=function(e,t){const r=globalThis.setTimeout(t,e);return()=>clearTimeout(r)};var Oo={setSchedule:void 0};const So=wo;Oo.setSchedule=function(e,t){const r=e-Date.now();return(0,So.setTimeout)(r,t)};var _o={};_o.setInterval=void 0,_o.setInterval=function(e,t){const r=globalThis.setInterval(t,e);return()=>clearInterval(r)};var xo={setImmediate:void 0};const jo=wo;xo.setImmediate=function(e){if(globalThis.setImmediate){const t=globalThis.setImmediate(e);return()=>clearImmediate(t)}return(0,jo.setTimeout)(0,e)};var Eo={setTimeoutLoop:void 0};const Ao=wo;Eo.setTimeoutLoop=function(e,t){let r=!1,n=(0,Ao.setTimeout)(e,(async function o(){await t(),r||(n=(0,Ao.setTimeout)(e,o))}));return()=>{r=!0,n()}};var Po={setDynamicTimeoutLoop:void 0};const To=wo;Po.setDynamicTimeoutLoop=function(e,t){let r=!1,n=(0,To.setTimeout)(e,(async function o(){const i=Date.now();await t();const a=Date.now()-i;r||(n=(0,To.setTimeout)(Math.max(e-a,0),o))}));return()=>{r=!0,n()}},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(vo,e),r(wo,e),r(Oo,e),r(_o,e),r(xo,e),r(Eo,e),r(Po,e)}(po),fo.ExpirableMap=void 0;const Io=po;class ko{constructor(){this.map=new Map,this.itemMetadataSortedByExpirationTime=[]}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t,r){return this.map.set(e,t),this.removeItemMetadata(e),this.addItemMetadata(e,Date.now()+r),this}has(e){return this.map.has(e)}get(e){return this.map.get(e)}delete(e){const t=this.map.delete(e);if(t){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout()}return t}clear(){var e;this.map.clear(),null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime=[]}addItemMetadata(e,t){for(let r=0;r<this.itemMetadataSortedByExpirationTime.length;r++){if(t<this.itemMetadataSortedByExpirationTime[r].expirationTime)return this.itemMetadataSortedByExpirationTime.splice(r,0,{key:e,expirationTime:t}),void(0===r&&this.rescheduleClearTimeout())}this.itemMetadataSortedByExpirationTime.push({key:e,expirationTime:t}),1===this.itemMetadataSortedByExpirationTime.length&&this.rescheduleClearTimeout()}removeItemMetadata(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));t>=0&&(this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout())}clearExpiredItems(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.expirationTime>e));(t>=0?this.itemMetadataSortedByExpirationTime.splice(0,t):this.itemMetadataSortedByExpirationTime.splice(0,this.itemMetadataSortedByExpirationTime.length)).forEach((e=>this.map.delete(e.key)))}rescheduleClearTimeout(){var e;if(null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime.length>0){const e=this.itemMetadataSortedByExpirationTime[0];if(Number.isFinite(e.expirationTime)){const t=(0,Io.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}}fo.ExpirableMap=ko;var Co={TLRUMap:void 0};const Fo=Un(),Mo=mn(),Ro=po;class No{constructor(e){this.map=new Map,this.itemMetadataSortedByExpirationTime=[],(0,Fo.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Fo.assert)(e>0,"The parameter limit must be a positive value"),this.limit=e}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t,r){return this.map.has(e)?(this.updateItem(e,t),this.removeItemMetadata(e),this.addItemMetadata(e,Date.now()+r)):(this.map.size===this.limit&&this.map.delete(this.getColdestKey()),this.map.set(e,t),this.addItemMetadata(e,Date.now()+r)),this}has(e){return this.map.has(e)}get(e){if(this.has(e)){const t=this.map.get(e);return this.updateItem(e,t),t}}delete(e){const t=this.map.delete(e);if(t){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout()}return t}clear(){var e;this.map.clear(),null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime=[]}updateItem(e,t){this.map.delete(e),this.map.set(e,t)}addItemMetadata(e,t){for(let r=0;r<this.itemMetadataSortedByExpirationTime.length;r++){if(t<this.itemMetadataSortedByExpirationTime[r].expirationTime)return this.itemMetadataSortedByExpirationTime.splice(r,0,{key:e,expirationTime:t}),void(0===r&&this.rescheduleClearTimeout())}this.itemMetadataSortedByExpirationTime.push({key:e,expirationTime:t}),1===this.itemMetadataSortedByExpirationTime.length&&this.rescheduleClearTimeout()}removeItemMetadata(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));t>=0&&(this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout())}clearExpiredItems(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.expirationTime>e));(t>=0?this.itemMetadataSortedByExpirationTime.splice(0,t):this.itemMetadataSortedByExpirationTime.splice(0,this.itemMetadataSortedByExpirationTime.length)).forEach((e=>this.map.delete(e.key)))}rescheduleClearTimeout(){var e;if(null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime.length>0){const e=this.itemMetadataSortedByExpirationTime[0];if(Number.isFinite(e.expirationTime)){const t=(0,Ro.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}getColdestKey(){return(0,Mo.first)(this.map.keys())}}Co.TLRUMap=No;var Bo={TrieMap:void 0};const Lo=mn();class zo{constructor(e){this.value=e,this.children=new Map}}class Uo{constructor(){this.root=new zo}get[Symbol.toStringTag](){return this.constructor.name}set(e,t){let r=this.root;for(const t of e)r.children.has(t)||r.children.set(t,new zo),r=r.children.get(t);return r.value=t,this}has(e){let t=this.root;for(const r of e){if(!t.children.has(r))return!1;t=t.children.get(r)}return void 0!==t.value}get(e){let t=this.root;for(const r of e){if(!t.children.has(r))return;t=t.children.get(r)}return t.value}delete(e){const t=[];let r=this.root;for(const n of e){if(!r.children.has(n))return!1;t.push(r),r=r.children.get(n)}if(delete r.value,0===r.children.size)for(const[r,n]of(0,Lo.toArray)((0,Lo.zip)(e,t)).reverse())if(n.children.delete(r),0!==n.children.size)break;return!0}}Bo.TrieMap=Uo;var Wo={};Wo.BadEventError=Wo.FiniteStateMachine=void 0;const qo=Un();Wo.FiniteStateMachine=class{constructor(e,t){this.schema=e,this._state=t}get state(){return this._state}matches(e){return this._state===e}can(e){return e in this.schema[this.state]}send(e){if(!this.can(e))throw new Do(this.state,e);this._state=this.schema[this.state][e]}};class Do extends qo.CustomError{constructor(e,t){super(`State ${e} cannot react to event ${t}`)}}Wo.BadEventError=Do;var $o={},Vo={},Yo={},Jo={},Ho={};Ho.isFunction=void 0,Ho.isFunction=function(e){return"function"==typeof e};var Ko={},Go={},Qo={};Qo.createErrorClass=void 0,Qo.createErrorClass=function(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t},Go.UnsubscriptionError=void 0;var Xo=Qo;Go.UnsubscriptionError=Xo.createErrorClass((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));var Zo={};Zo.arrRemove=void 0,Zo.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}};var ei=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ti=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ri=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ko.isSubscription=Ko.EMPTY_SUBSCRIPTION=Ko.Subscription=void 0;var ni=Ho,oi=Go,ii=Zo,ai=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=ei(i),u=a.next();!u.done;u=a.next()){u.value.remove(this)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var c=this.initialTeardown;if(ni.isFunction(c))try{c()}catch(e){o=e instanceof oi.UnsubscriptionError?e.errors:[e]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var l=ei(s),f=l.next();!f.done;f=l.next()){var p=f.value;try{ui(p)}catch(e){o=null!=o?o:[],e instanceof oi.UnsubscriptionError?o=ri(ri([],ti(o)),ti(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new oi.UnsubscriptionError(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ui(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ii.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&ii.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();function ui(e){ni.isFunction(e)?e():e.unsubscribe()}Ko.Subscription=ai,Ko.EMPTY_SUBSCRIPTION=ai.EMPTY,Ko.isSubscription=function(e){return e instanceof ai||e&&"closed"in e&&ni.isFunction(e.remove)&&ni.isFunction(e.add)&&ni.isFunction(e.unsubscribe)};var ci={config:void 0};ci.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var si={},li={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.timeoutProvider=void 0,e.timeoutProvider={setTimeout:function(n,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=e.timeoutProvider.delegate;return(null==u?void 0:u.setTimeout)?u.setTimeout.apply(u,r([n,o],t(i))):setTimeout.apply(void 0,r([n,o],t(i)))},clearTimeout:function(t){var r=e.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(t)},delegate:void 0}}(li),si.reportUnhandledError=void 0;var fi=ci,pi=li;si.reportUnhandledError=function(e){pi.timeoutProvider.setTimeout((function(){var t=fi.config.onUnhandledError;if(!t)throw e;t(e)}))};var di={};di.noop=void 0,di.noop=function(){};var vi={};function bi(e,t,r){return{kind:e,value:t,error:r}}vi.createNotification=vi.nextNotification=vi.errorNotification=vi.COMPLETE_NOTIFICATION=void 0,vi.COMPLETE_NOTIFICATION=bi("C",void 0,void 0),vi.errorNotification=function(e){return bi("E",void 0,e)},vi.nextNotification=function(e){return bi("N",e,void 0)},vi.createNotification=bi;var yi={};yi.captureError=yi.errorContext=void 0;var hi=ci,mi=null;yi.errorContext=function(e){if(hi.config.useDeprecatedSynchronousErrorHandling){var t=!mi;if(t&&(mi={errorThrown:!1,error:null}),e(),t){var r=mi,n=r.errorThrown,o=r.error;if(mi=null,n)throw o}}else e()},yi.captureError=function(e){hi.config.useDeprecatedSynchronousErrorHandling&&mi&&(mi.errorThrown=!0,mi.error=e)},function(e){var t,r=n&&n.__extends||(t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});e.EMPTY_OBSERVER=e.SafeSubscriber=e.Subscriber=void 0;var o=Ho,i=Ko,a=ci,u=si,c=di,s=vi,l=li,f=yi,p=function(t){function n(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,i.isSubscription(r)&&r.add(n)):n.destination=e.EMPTY_OBSERVER,n}return r(n,t),n.create=function(e,t,r){return new y(e,t,r)},n.prototype.next=function(e){this.isStopped?m(s.nextNotification(e),this):this._next(e)},n.prototype.error=function(e){this.isStopped?m(s.errorNotification(e),this):(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped?m(s.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(i.Subscription);e.Subscriber=p;var d=Function.prototype.bind;function v(e,t){return d.call(e,t)}var b=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){h(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){h(e)}else h(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){h(e)}},e}(),y=function(e){function t(t,r,n){var i,u,c=e.call(this)||this;o.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:c&&a.config.useDeprecatedNextContext?((u=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},i={next:t.next&&v(t.next,u),error:t.error&&v(t.error,u),complete:t.complete&&v(t.complete,u)}):i=t;return c.destination=new b(i),c}return r(t,e),t}(p);function h(e){a.config.useDeprecatedSynchronousErrorHandling?f.captureError(e):u.reportUnhandledError(e)}function m(e,t){var r=a.config.onStoppedNotification;r&&l.timeoutProvider.setTimeout((function(){return r(e,t)}))}e.SafeSubscriber=y,e.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function(e){throw e},complete:c.noop}}(Jo);var gi={observable:void 0};gi.observable="function"==typeof Symbol&&Symbol.observable||"@@observable";var wi={},Oi={};Oi.identity=void 0,Oi.identity=function(e){return e},wi.pipeFromArray=wi.pipe=void 0;var Si=Oi;function _i(e){return 0===e.length?Si.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}wi.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return _i(e)},wi.pipeFromArray=_i,Yo.Observable=void 0;var xi=Jo,ji=Ko,Ei=gi,Ai=wi,Pi=ci,Ti=Ho,Ii=yi,ki=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof xi.Subscriber||function(e){return e&&Ti.isFunction(e.next)&&Ti.isFunction(e.error)&&Ti.isFunction(e.complete)}(n)&&ji.isSubscription(n)?e:new xi.SafeSubscriber(e,t,r);return Ii.errorContext((function(){var e=o,t=e.operator,r=e.source;i.add(t?t.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=Ci(t))((function(t,n){var o=new xi.SafeSubscriber({next:function(t){try{e(t)}catch(e){n(e),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ei.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ai.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ci(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function Ci(e){var t;return null!==(t=null!=e?e:Pi.config.Promise)&&void 0!==t?t:Promise}Yo.Observable=ki;var Fi={},Mi={},Ri={};Ri.operate=Ri.hasLift=void 0;var Ni=Ho;function Bi(e){return Ni.isFunction(null==e?void 0:e.lift)}Ri.hasLift=Bi,Ri.operate=function(e){return function(t){if(Bi(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}};var Li,zi={},Ui=n&&n.__extends||(Li=function(e,t){return(Li=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Li(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});zi.OperatorSubscriber=zi.createOperatorSubscriber=void 0;var Wi=Jo;zi.createOperatorSubscriber=function(e,t,r,n,o){return new qi(e,t,r,n,o)};var qi=function(e){function t(t,r,n,o,i,a){var u=e.call(this,t)||this;return u.onFinalize=i,u.shouldUnsubscribe=a,u._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,u._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,u}return Ui(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(Wi.Subscriber);zi.OperatorSubscriber=qi,Mi.refCount=void 0;var Di=Ri,$i=zi;Mi.refCount=function(){return Di.operate((function(e,t){var r=null;e._refCount++;var n=$i.createOperatorSubscriber(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,o=r;r=null,!n||o&&n!==o||n.unsubscribe(),t.unsubscribe()}}));e.subscribe(n),n.closed||(r=e.connect())}))};var Vi=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Fi.ConnectableObservable=void 0;var Yi=Ko,Ji=Mi,Hi=zi,Ki=Ri,Gi=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,Ki.hasLift(t)&&(n.lift=t.lift),n}return Vi(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new Yi.Subscription;var r=this.getSubject();t.add(this.source.subscribe(Hi.createOperatorSubscriber(r,void 0,(function(){e._teardown(),r.complete()}),(function(t){e._teardown(),r.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=Yi.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return Ji.refCount()(this)},t}(Yo.Observable);Fi.ConnectableObservable=Gi;var Qi={},Xi={};!function(e){e.performanceTimestampProvider=void 0,e.performanceTimestampProvider={now:function(){return(e.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}}(Xi);var Zi={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.animationFrameProvider=void 0;var o=Ko;e.animationFrameProvider={schedule:function(t){var r=requestAnimationFrame,n=cancelAnimationFrame,i=e.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,n=i.cancelAnimationFrame);var a=r((function(e){n=void 0,t(e)}));return new o.Subscription((function(){return null==n?void 0:n(a)}))},requestAnimationFrame:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=e.animationFrameProvider.delegate;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame).apply(void 0,r([],t(n)))},cancelAnimationFrame:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=e.animationFrameProvider.delegate;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,r([],t(n)))},delegate:void 0}}(Zi),Qi.animationFrames=void 0;var ea=Yo,ta=Ko,ra=Xi,na=Zi;function oa(e){var t=na.animationFrameProvider.schedule;return new ea.Observable((function(r){var n=new ta.Subscription,o=e||ra.performanceTimestampProvider,i=o.now(),a=function(u){var c=o.now();r.next({timestamp:e?c:u,elapsed:c-i}),r.closed||n.add(t(a))};return n.add(t(a)),n}))}Qi.animationFrames=function(e){return e?oa(e):ia};var ia=oa(),aa={},ua={ObjectUnsubscribedError:void 0},ca=Qo;ua.ObjectUnsubscribedError=ca.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}));var sa=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),la=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};aa.AnonymousSubject=aa.Subject=void 0;var fa=Yo,pa=Ko,da=ua,va=Zo,ba=yi,ya=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return sa(t,e),t.prototype.lift=function(e){var t=new ha(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new da.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;ba.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=la(t.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(e)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;ba.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;ba.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?pa.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new pa.Subscription((function(){t.currentObservers=null,va.arrRemove(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new fa.Observable;return e.source=this,e},t.create=function(e,t){return new ha(e,t)},t}(fa.Observable);aa.Subject=ya;var ha=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return sa(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:pa.EMPTY_SUBSCRIPTION},t}(ya);aa.AnonymousSubject=ha;var ma={},ga=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();ma.BehaviorSubject=void 0;var wa=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return ga(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(aa.Subject);ma.BehaviorSubject=wa;var Oa={},Sa={};!function(e){e.dateTimestampProvider=void 0,e.dateTimestampProvider={now:function(){return(e.dateTimestampProvider.delegate||Date).now()},delegate:void 0}}(Sa);var _a=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Oa.ReplaySubject=void 0;var xa=Sa,ja=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=xa.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return _a(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,a=r._timestampProvider,u=r._windowTime;n||(o.push(t),!i&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var a=r.now(),u=0,c=1;c<n.length&&n[c]<=a;c+=2)u=c;u&&n.splice(0,u+1)}},t}(aa.Subject);Oa.ReplaySubject=ja;var Ea={},Aa=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ea.AsyncSubject=void 0;var Pa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return Aa(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,o=t._value,i=t.thrownError,a=t.isStopped,u=t._isComplete;r?e.error(i):(a||u)&&(n&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(aa.Subject);Ea.AsyncSubject=Pa;var Ta={},Ia={},ka={},Ca={},Fa=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ca.Action=void 0;var Ma=function(e){function t(t,r){return e.call(this)||this}return Fa(t,e),t.prototype.schedule=function(e,t){return this},t}(Ko.Subscription);Ca.Action=Ma;var Ra={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.intervalProvider=void 0,e.intervalProvider={setInterval:function(n,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=e.intervalProvider.delegate;return(null==u?void 0:u.setInterval)?u.setInterval.apply(u,r([n,o],t(i))):setInterval.apply(void 0,r([n,o],t(i)))},clearInterval:function(t){var r=e.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(t)},delegate:void 0}}(Ra);var Na=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();ka.AsyncAction=void 0;var Ba=Ra,La=Zo,za=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return Na(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),Ba.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;Ba.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,La.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Ca.Action);ka.AsyncAction=za;var Ua={},Wa={};Wa.TestTools=Wa.Immediate=void 0;var qa,Da=1,$a={};function Va(e){return e in $a&&(delete $a[e],!0)}Wa.Immediate={setImmediate:function(e){var t=Da++;return $a[t]=!0,qa||(qa=Promise.resolve()),qa.then((function(){return Va(t)&&e()})),t},clearImmediate:function(e){Va(e)}},Wa.TestTools={pending:function(){return Object.keys($a).length}},function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.immediateProvider=void 0;var o=Wa,i=o.Immediate.setImmediate,a=o.Immediate.clearImmediate;e.immediateProvider={setImmediate:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.immediateProvider.delegate;return((null==a?void 0:a.setImmediate)||i).apply(void 0,r([],t(n)))},clearImmediate:function(t){var r=e.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||a)(t)},delegate:void 0}}(Ua);var Ya=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ia.AsapAction=void 0;var Ja=Ua,Ha=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Ya(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=Ja.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(Ja.immediateProvider.clearImmediate(r),t._scheduled=void 0)},t}(ka.AsyncAction);Ia.AsapAction=Ha;var Ka={},Ga={},Qa={Scheduler:void 0},Xa=Sa,Za=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=Xa.dateTimestampProvider.now,e}();Qa.Scheduler=Za;var eu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ga.AsyncScheduler=void 0;var tu=Qa,ru=function(e){function t(t,r){void 0===r&&(r=tu.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n._scheduled=void 0,n}return eu(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(tu.Scheduler);Ga.AsyncScheduler=ru;var nu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ka.AsapScheduler=void 0;var ou=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return nu(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(Ga.AsyncScheduler);Ka.AsapScheduler=ou,function(e){e.asap=e.asapScheduler=void 0;var t=Ia,r=Ka;e.asapScheduler=new r.AsapScheduler(t.AsapAction),e.asap=e.asapScheduler}(Ta);var iu={};!function(e){e.async=e.asyncScheduler=void 0;var t=ka,r=Ga;e.asyncScheduler=new r.AsyncScheduler(t.AsyncAction),e.async=e.asyncScheduler}(iu);var au={},uu={},cu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();uu.QueueAction=void 0;var su=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return cu(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(ka.AsyncAction);uu.QueueAction=su;var lu={},fu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();lu.QueueScheduler=void 0;var pu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return fu(t,e),t}(Ga.AsyncScheduler);lu.QueueScheduler=pu,function(e){e.queue=e.queueScheduler=void 0;var t=uu,r=lu;e.queueScheduler=new r.QueueScheduler(t.QueueAction),e.queue=e.queueScheduler}(au);var du={},vu={},bu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();vu.AnimationFrameAction=void 0;var yu=Zi,hu=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return bu(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=yu.animationFrameProvider.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(yu.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(ka.AsyncAction);vu.AnimationFrameAction=hu;var mu={},gu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();mu.AnimationFrameScheduler=void 0;var wu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return gu(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(Ga.AsyncScheduler);mu.AnimationFrameScheduler=wu,function(e){e.animationFrame=e.animationFrameScheduler=void 0;var t=vu,r=mu;e.animationFrameScheduler=new r.AnimationFrameScheduler(t.AnimationFrameAction),e.animationFrame=e.animationFrameScheduler}(du);var Ou={},Su=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ou.VirtualAction=Ou.VirtualTimeScheduler=void 0;var _u=ka,xu=Ko,ju=function(e){function t(t,r){void 0===t&&(t=Eu),void 0===r&&(r=1/0);var n=e.call(this,t,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return Su(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(Ga.AsyncScheduler);Ou.VirtualTimeScheduler=ju;var Eu=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var o=e.call(this,t,r)||this;return o.scheduler=t,o.work=r,o.index=n,o.active=!0,o.index=t.index=n,o}return Su(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}return xu.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var o=e.actions;return o.push(this),o.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,r){},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(_u.AsyncAction);Ou.VirtualAction=Eu;var Au={},Pu={};!function(e){e.empty=e.EMPTY=void 0;var t=Yo;e.EMPTY=new t.Observable((function(e){return e.complete()})),e.empty=function(r){return r?function(e){return new t.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(r):e.EMPTY}}(Pu);var Tu={},Iu={},ku={isScheduler:void 0},Cu=Ho;ku.isScheduler=function(e){return e&&Cu.isFunction(e.schedule)},Iu.popNumber=Iu.popScheduler=Iu.popResultSelector=void 0;var Fu=Ho,Mu=ku;function Ru(e){return e[e.length-1]}Iu.popResultSelector=function(e){return Fu.isFunction(Ru(e))?e.pop():void 0},Iu.popScheduler=function(e){return Mu.isScheduler(Ru(e))?e.pop():void 0},Iu.popNumber=function(e,t){return"number"==typeof Ru(e)?e.pop():t};var Nu={},Bu={},Lu={},zu={},Uu={isArrayLike:void 0};Uu.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};var Wu={isPromise:void 0},qu=Ho;Wu.isPromise=function(e){return qu.isFunction(null==e?void 0:e.then)};var Du={isInteropObservable:void 0},$u=gi,Vu=Ho;Du.isInteropObservable=function(e){return Vu.isFunction(e[$u.observable])};var Yu={isAsyncIterable:void 0},Ju=Ho;Yu.isAsyncIterable=function(e){return Symbol.asyncIterator&&Ju.isFunction(null==e?void 0:e[Symbol.asyncIterator])};var Hu={};Hu.createInvalidObservableTypeError=void 0,Hu.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")};var Ku={},Gu={};function Qu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Gu.iterator=Gu.getSymbolIterator=void 0,Gu.getSymbolIterator=Qu,Gu.iterator=Qu(),Ku.isIterable=void 0;var Xu=Gu,Zu=Ho;Ku.isIterable=function(e){return Zu.isFunction(null==e?void 0:e[Xu.iterator])};var ec={},tc=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},rc=n&&n.__await||function(e){return this instanceof rc?(this.v=e,this):new rc(e)},nc=n&&n.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||u(e,t)}))})}function u(e,t){try{(r=o[e](t)).value instanceof rc?Promise.resolve(r.value.v).then(c,s):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){u("next",e)}function s(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}};ec.isReadableStreamLike=ec.readableStreamLikeToAsyncGenerator=void 0;var oc=Ho;ec.readableStreamLikeToAsyncGenerator=function(e){return nc(this,arguments,(function(){var t,r,n;return tc(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,rc(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,rc(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,rc(n)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))},ec.isReadableStreamLike=function(e){return oc.isFunction(null==e?void 0:e.getReader)};var ic=n&&n.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function u(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}c((n=n.apply(e,t||[])).next())}))},ac=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},uc=n&&n.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof cc?cc(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},cc=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};zu.fromReadableStreamLike=zu.fromAsyncIterable=zu.fromIterable=zu.fromPromise=zu.fromArrayLike=zu.fromInteropObservable=zu.innerFrom=void 0;var sc=Uu,lc=Wu,fc=Yo,pc=Du,dc=Yu,vc=Hu,bc=Ku,yc=ec,hc=Ho,mc=si,gc=gi;function wc(e){return new fc.Observable((function(t){var r=e[gc.observable]();if(hc.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function Oc(e){return new fc.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function Sc(e){return new fc.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,mc.reportUnhandledError)}))}function _c(e){return new fc.Observable((function(t){var r,n;try{for(var o=cc(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()}))}function xc(e){return new fc.Observable((function(t){(function(e,t){var r,n,o,i;return ic(this,void 0,void 0,(function(){var a,u;return ac(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=uc(e),c.label=1;case 1:return[4,r.next()];case 2:if((n=c.sent()).done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=c.sent(),o={error:u},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function jc(e){return xc(yc.readableStreamLikeToAsyncGenerator(e))}zu.innerFrom=function(e){if(e instanceof fc.Observable)return e;if(null!=e){if(pc.isInteropObservable(e))return wc(e);if(sc.isArrayLike(e))return Oc(e);if(lc.isPromise(e))return Sc(e);if(dc.isAsyncIterable(e))return xc(e);if(bc.isIterable(e))return _c(e);if(yc.isReadableStreamLike(e))return jc(e)}throw vc.createInvalidObservableTypeError(e)},zu.fromInteropObservable=wc,zu.fromArrayLike=Oc,zu.fromPromise=Sc,zu.fromIterable=_c,zu.fromAsyncIterable=xc,zu.fromReadableStreamLike=jc;var Ec={},Ac={};Ac.executeSchedule=void 0,Ac.executeSchedule=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule((function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(i),!o)return i},Ec.observeOn=void 0;var Pc=Ac,Tc=Ri,Ic=zi;Ec.observeOn=function(e,t){return void 0===t&&(t=0),Tc.operate((function(r,n){r.subscribe(Ic.createOperatorSubscriber(n,(function(r){return Pc.executeSchedule(n,e,(function(){return n.next(r)}),t)}),(function(){return Pc.executeSchedule(n,e,(function(){return n.complete()}),t)}),(function(r){return Pc.executeSchedule(n,e,(function(){return n.error(r)}),t)})))}))};var kc={subscribeOn:void 0},Cc=Ri;kc.subscribeOn=function(e,t){return void 0===t&&(t=0),Cc.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))},Lu.scheduleObservable=void 0;var Fc=zu,Mc=Ec,Rc=kc;Lu.scheduleObservable=function(e,t){return Fc.innerFrom(e).pipe(Rc.subscribeOn(t),Mc.observeOn(t))};var Nc={schedulePromise:void 0},Bc=zu,Lc=Ec,zc=kc;Nc.schedulePromise=function(e,t){return Bc.innerFrom(e).pipe(zc.subscribeOn(t),Lc.observeOn(t))};var Uc={scheduleArray:void 0},Wc=Yo;Uc.scheduleArray=function(e,t){return new Wc.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))};var qc={scheduleIterable:void 0},Dc=Yo,$c=Gu,Vc=Ho,Yc=Ac;qc.scheduleIterable=function(e,t){return new Dc.Observable((function(r){var n;return Yc.executeSchedule(r,t,(function(){n=e[$c.iterator](),Yc.executeSchedule(r,t,(function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)}),0,!0)})),function(){return Vc.isFunction(null==n?void 0:n.return)&&n.return()}}))};var Jc={scheduleAsyncIterable:void 0},Hc=Yo,Kc=Ac;Jc.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new Hc.Observable((function(r){Kc.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();Kc.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))};var Gc={scheduleReadableStreamLike:void 0},Qc=Jc,Xc=ec;Gc.scheduleReadableStreamLike=function(e,t){return Qc.scheduleAsyncIterable(Xc.readableStreamLikeToAsyncGenerator(e),t)},Bu.scheduled=void 0;var Zc=Lu,es=Nc,ts=Uc,rs=qc,ns=Jc,os=Du,is=Wu,as=Uu,us=Ku,cs=Yu,ss=Hu,ls=ec,fs=Gc;Bu.scheduled=function(e,t){if(null!=e){if(os.isInteropObservable(e))return Zc.scheduleObservable(e,t);if(as.isArrayLike(e))return ts.scheduleArray(e,t);if(is.isPromise(e))return es.schedulePromise(e,t);if(cs.isAsyncIterable(e))return ns.scheduleAsyncIterable(e,t);if(us.isIterable(e))return rs.scheduleIterable(e,t);if(ls.isReadableStreamLike(e))return fs.scheduleReadableStreamLike(e,t)}throw ss.createInvalidObservableTypeError(e)},Nu.from=void 0;var ps=Bu,ds=zu;Nu.from=function(e,t){return t?ps.scheduled(e,t):ds.innerFrom(e)},Tu.of=void 0;var vs=Iu,bs=Nu;Tu.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=vs.popScheduler(e);return bs.from(e,r)};var ys={throwError:void 0},hs=Yo,ms=Ho;ys.throwError=function(e,t){var r=ms.isFunction(e)?e:function(){return e},n=function(e){return e.error(r())};return new hs.Observable(t?function(e){return t.schedule(n,0,e)}:n)},function(e){e.observeNotification=e.Notification=e.NotificationKind=void 0;var t,r=Pu,n=Tu,o=ys,i=Ho;(t=e.NotificationKind||(e.NotificationKind={})).NEXT="N",t.ERROR="E",t.COMPLETE="C";var a=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,o=n.kind,i=n.value,a=n.error;return"N"===o?null==e?void 0:e(i):"E"===o?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return i.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,i=e.value,a=e.error,u="N"===t?n.of(i):"E"===t?o.throwError((function(){return a})):"C"===t?r.EMPTY:0;if(!u)throw new TypeError("Unexpected notification kind "+t);return u},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,o,i=e,a=i.kind,u=i.value,c=i.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,u):"E"===a?null===(n=t.error)||void 0===n||n.call(t,c):null===(o=t.complete)||void 0===o||o.call(t)}e.Notification=a,e.observeNotification=u}(Au);var gs={isObservable:void 0},ws=Yo,Os=Ho;gs.isObservable=function(e){return!!e&&(e instanceof ws.Observable||Os.isFunction(e.lift)&&Os.isFunction(e.subscribe))};var Ss={},_s={EmptyError:void 0},xs=Qo;_s.EmptyError=xs.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})),Ss.lastValueFrom=void 0;var js=_s;Ss.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i,a=!1;e.subscribe({next:function(e){i=e,a=!0},error:o,complete:function(){a?n(i):r?n(t.defaultValue):o(new js.EmptyError)}})}))};var Es={firstValueFrom:void 0},As=_s,Ps=Jo;Es.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i=new Ps.SafeSubscriber({next:function(e){n(e),i.unsubscribe()},error:o,complete:function(){r?n(t.defaultValue):o(new As.EmptyError)}});e.subscribe(i)}))};var Ts={ArgumentOutOfRangeError:void 0},Is=Qo;Ts.ArgumentOutOfRangeError=Is.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}));var ks={NotFoundError:void 0},Cs=Qo;ks.NotFoundError=Cs.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}));var Fs={SequenceError:void 0},Ms=Qo;Fs.SequenceError=Ms.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}));var Rs={},Ns={};Ns.isValidDate=void 0,Ns.isValidDate=function(e){return e instanceof Date&&!isNaN(e)},function(e){e.timeout=e.TimeoutError=void 0;var t=iu,r=Ns,n=Ri,o=zu,i=Qo,a=zi,u=Ac;function c(t){throw new e.TimeoutError(t)}e.TimeoutError=i.createErrorClass((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}})),e.timeout=function(e,i){var s=r.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,l=s.first,f=s.each,p=s.with,d=void 0===p?c:p,v=s.scheduler,b=void 0===v?null!=i?i:t.asyncScheduler:v,y=s.meta,h=void 0===y?null:y;if(null==l&&null==f)throw new TypeError("No timeout provided.");return n.operate((function(e,t){var r,n,i=null,c=0,s=function(e){n=u.executeSchedule(t,b,(function(){try{r.unsubscribe(),o.innerFrom(d({meta:h,lastValue:i,seen:c})).subscribe(t)}catch(e){t.error(e)}}),e)};r=e.subscribe(a.createOperatorSubscriber(t,(function(e){null==n||n.unsubscribe(),c++,t.next(i=e),f>0&&s(f)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),i=null}))),!c&&s(null!=l?"number"==typeof l?l:+l-b.now():f)}))}}(Rs);var Bs={},Ls={},zs={},Us={map:void 0},Ws=Ri,qs=zi;Us.map=function(e,t){return Ws.operate((function(r,n){var o=0;r.subscribe(qs.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,o++))})))}))};var Ds=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},$s=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};zs.mapOneOrManyArgs=void 0;var Vs=Us,Ys=Array.isArray;zs.mapOneOrManyArgs=function(e){return Vs.map((function(t){return function(e,t){return Ys(t)?e.apply(void 0,$s([],Ds(t))):e(t)}(e,t)}))};var Js=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Hs=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ls.bindCallbackInternals=void 0;var Ks=ku,Gs=Yo,Qs=kc,Xs=zs,Zs=Ec,el=Ea;Ls.bindCallbackInternals=function e(t,r,n,o){if(n){if(!Ks.isScheduler(n))return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return e(t,r,o).apply(this,i).pipe(Xs.mapOneOrManyArgs(n))};o=n}return o?function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r).apply(this,n).pipe(Qs.subscribeOn(o),Zs.observeOn(o))}:function(){for(var e=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=new el.AsyncSubject,a=!0;return new Gs.Observable((function(o){var u=i.subscribe(o);if(a){a=!1;var c=!1,s=!1;r.apply(e,Hs(Hs([],Js(n)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void i.error(n)}i.next(1<e.length?e:e[0]),s=!0,c&&i.complete()}])),s&&i.complete(),c=!0}return u}))}},Bs.bindCallback=void 0;var tl=Ls;Bs.bindCallback=function(e,t,r){return tl.bindCallbackInternals(!1,e,t,r)};var rl={bindNodeCallback:void 0},nl=Ls;rl.bindNodeCallback=function(e,t,r){return nl.bindCallbackInternals(!0,e,t,r)};var ol={},il={argsArgArrayOrObject:void 0},al=Array.isArray,ul=Object.getPrototypeOf,cl=Object.prototype,sl=Object.keys;il.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(al(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&ul(n)===cl){var r=sl(t);return{args:r.map((function(e){return t[e]})),keys:r}}}var n;return{args:e,keys:null}};var ll={};ll.createObject=void 0,ll.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})},ol.combineLatestInit=ol.combineLatest=void 0;var fl=Yo,pl=il,dl=Nu,vl=Oi,bl=zs,yl=Iu,hl=ll,ml=zi,gl=Ac;function wl(e,t,r){return void 0===r&&(r=vl.identity),function(n){Ol(t,(function(){for(var o=e.length,i=new Array(o),a=o,u=o,c=function(o){Ol(t,(function(){var c=dl.from(e[o],t),s=!1;c.subscribe(ml.createOperatorSubscriber(n,(function(e){i[o]=e,s||(s=!0,u--),u||n.next(r(i.slice()))}),(function(){--a||n.complete()})))}),n)},s=0;s<o;s++)c(s)}),n)}}function Ol(e,t,r){e?gl.executeSchedule(r,e,t):t()}ol.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=yl.popScheduler(e),n=yl.popResultSelector(e),o=pl.argsArgArrayOrObject(e),i=o.args,a=o.keys;if(0===i.length)return dl.from([],r);var u=new fl.Observable(wl(i,r,a?function(e){return hl.createObject(a,e)}:vl.identity));return n?u.pipe(bl.mapOneOrManyArgs(n)):u},ol.combineLatestInit=wl;var Sl={},_l={},xl={},jl={},El={mergeInternals:void 0},Al=zu,Pl=Ac,Tl=zi;El.mergeInternals=function(e,t,r,n,o,i,a,u){var c=[],s=0,l=0,f=!1,p=function(){!f||c.length||s||t.complete()},d=function(e){return s<n?v(e):c.push(e)},v=function(e){i&&t.next(e),s++;var u=!1;Al.innerFrom(r(e,l++)).subscribe(Tl.createOperatorSubscriber(t,(function(e){null==o||o(e),i?d(e):t.next(e)}),(function(){u=!0}),void 0,(function(){if(u)try{s--;for(var e=function(){var e=c.shift();a?Pl.executeSchedule(t,a,(function(){return v(e)})):v(e)};c.length&&s<n;)e();p()}catch(e){t.error(e)}})))};return e.subscribe(Tl.createOperatorSubscriber(t,d,(function(){f=!0,p()}))),function(){null==u||u()}},jl.mergeMap=void 0;var Il=Us,kl=zu,Cl=Ri,Fl=El,Ml=Ho;jl.mergeMap=function e(t,r,n){return void 0===n&&(n=1/0),Ml.isFunction(r)?e((function(e,n){return Il.map((function(t,o){return r(e,t,n,o)}))(kl.innerFrom(t(e,n)))}),n):("number"==typeof r&&(n=r),Cl.operate((function(e,r){return Fl.mergeInternals(e,r,t,n)})))},xl.mergeAll=void 0;var Rl=jl,Nl=Oi;xl.mergeAll=function(e){return void 0===e&&(e=1/0),Rl.mergeMap(Nl.identity,e)},_l.concatAll=void 0;var Bl=xl;_l.concatAll=function(){return Bl.mergeAll(1)},Sl.concat=void 0;var Ll=_l,zl=Iu,Ul=Nu;Sl.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ll.concatAll()(Ul.from(e,zl.popScheduler(e)))};var Wl={},ql={defer:void 0},Dl=Yo,$l=zu;ql.defer=function(e){return new Dl.Observable((function(t){$l.innerFrom(e()).subscribe(t)}))},Wl.connectable=void 0;var Vl=aa,Yl=Yo,Jl=ql,Hl={connector:function(){return new Vl.Subject},resetOnDisconnect:!0};Wl.connectable=function(e,t){void 0===t&&(t=Hl);var r=null,n=t.connector,o=t.resetOnDisconnect,i=void 0===o||o,a=n(),u=new Yl.Observable((function(e){return a.subscribe(e)}));return u.connect=function(){return r&&!r.closed||(r=Jl.defer((function(){return e})).subscribe(a),i&&r.add((function(){return a=n()}))),r},u};var Kl={forkJoin:void 0},Gl=Yo,Ql=il,Xl=zu,Zl=Iu,ef=zi,tf=zs,rf=ll;Kl.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Zl.popResultSelector(e),n=Ql.argsArgArrayOrObject(e),o=n.args,i=n.keys,a=new Gl.Observable((function(e){var t=o.length;if(t)for(var r=new Array(t),n=t,a=t,u=function(t){var u=!1;Xl.innerFrom(o[t]).subscribe(ef.createOperatorSubscriber(e,(function(e){u||(u=!0,a--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&u||(a||e.next(i?rf.createObject(i,r):r),e.complete())})))},c=0;c<t;c++)u(c);else e.complete()}));return r?a.pipe(tf.mapOneOrManyArgs(r)):a};var nf={},of=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};nf.fromEvent=void 0;var af=zu,uf=Yo,cf=jl,sf=Uu,lf=Ho,ff=zs,pf=["addListener","removeListener"],df=["addEventListener","removeEventListener"],vf=["on","off"];function bf(e,t){return function(r){return function(n){return e[r](t,n)}}}nf.fromEvent=function e(t,r,n,o){if(lf.isFunction(n)&&(o=n,n=void 0),o)return e(t,r,n).pipe(ff.mapOneOrManyArgs(o));var i=of(function(e){return lf.isFunction(e.addEventListener)&&lf.isFunction(e.removeEventListener)}(t)?df.map((function(e){return function(o){return t[e](r,o,n)}})):function(e){return lf.isFunction(e.addListener)&&lf.isFunction(e.removeListener)}(t)?pf.map(bf(t,r)):function(e){return lf.isFunction(e.on)&&lf.isFunction(e.off)}(t)?vf.map(bf(t,r)):[],2),a=i[0],u=i[1];if(!a&&sf.isArrayLike(t))return cf.mergeMap((function(t){return e(t,r,n)}))(af.innerFrom(t));if(!a)throw new TypeError("Invalid event target");return new uf.Observable((function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return a(t),function(){return u(t)}}))};var yf={fromEventPattern:void 0},hf=Yo,mf=Ho,gf=zs;yf.fromEventPattern=function e(t,r,n){return n?e(t,r).pipe(gf.mapOneOrManyArgs(n)):new hf.Observable((function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},o=t(n);return mf.isFunction(r)?function(){return r(n,o)}:void 0}))};var wf={},Of=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};wf.generate=void 0;var Sf=Oi,_f=ku,xf=ql,jf=qc;wf.generate=function(e,t,r,n,o){var i,a,u,c;function s(){var e;return Of(this,(function(n){switch(n.label){case 0:e=c,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,u(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(c=(i=e).initialState,t=i.condition,r=i.iterate,a=i.resultSelector,u=void 0===a?Sf.identity:a,o=i.scheduler):(c=e,!n||_f.isScheduler(n)?(u=Sf.identity,o=n):u=n),xf.defer(o?function(){return jf.scheduleIterable(s(),o)}:s)};var Ef={iif:void 0},Af=ql;Ef.iif=function(e,t,r){return Af.defer((function(){return e()?t:r}))};var Pf={},Tf={timer:void 0},If=Yo,kf=iu,Cf=ku,Ff=Ns;Tf.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=kf.async);var n=-1;return null!=t&&(Cf.isScheduler(t)?r=t:n=t),new If.Observable((function(t){var o=Ff.isValidDate(e)?+e-r.now():e;o<0&&(o=0);var i=0;return r.schedule((function(){t.closed||(t.next(i++),0<=n?this.schedule(void 0,n):t.complete())}),o)}))},Pf.interval=void 0;var Mf=iu,Rf=Tf;Pf.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=Mf.asyncScheduler),e<0&&(e=0),Rf.timer(e,e,t)};var Nf={merge:void 0},Bf=xl,Lf=zu,zf=Pu,Uf=Iu,Wf=Nu;Nf.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Uf.popScheduler(e),n=Uf.popNumber(e,1/0),o=e;return o.length?1===o.length?Lf.innerFrom(o[0]):Bf.mergeAll(n)(Wf.from(o,r)):zf.EMPTY};var qf={};!function(e){e.never=e.NEVER=void 0;var t=Yo,r=di;e.NEVER=new t.Observable(r.noop),e.never=function(){return e.NEVER}}(qf);var Df={},$f={},Vf={argsOrArgArray:void 0},Yf=Array.isArray;Vf.argsOrArgArray=function(e){return 1===e.length&&Yf(e[0])?e[0]:e};var Jf=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Hf=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};$f.onErrorResumeNext=void 0;var Kf=Ri,Gf=zu,Qf=Vf,Xf=zi,Zf=di;$f.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Qf.argsOrArgArray(e);return Kf.operate((function(e,t){var n=Hf([e],Jf(r)),o=function(){if(!t.closed)if(n.length>0){var e=void 0;try{e=Gf.innerFrom(n.shift())}catch(e){return void o()}var r=Xf.createOperatorSubscriber(t,void 0,Zf.noop,Zf.noop);e.subscribe(r),r.add(o)}else t.complete()};o()}))},Df.onErrorResumeNext=void 0;var ep=Pu,tp=$f,rp=Vf;Df.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tp.onErrorResumeNext(rp.argsOrArgArray(e))(ep.EMPTY)};var np={pairs:void 0},op=Nu;np.pairs=function(e,t){return op.from(Object.entries(e),t)};var ip={},ap={};ap.not=void 0,ap.not=function(e,t){return function(r,n){return!e.call(t,r,n)}};var up={filter:void 0},cp=Ri,sp=zi;up.filter=function(e,t){return cp.operate((function(r,n){var o=0;r.subscribe(sp.createOperatorSubscriber(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))},ip.partition=void 0;var lp=ap,fp=up,pp=zu;ip.partition=function(e,t,r){return[fp.filter(t,r)(pp.innerFrom(e)),fp.filter(lp.not(t,r))(pp.innerFrom(e))]};var dp={};dp.raceInit=dp.race=void 0;var vp=Yo,bp=zu,yp=Vf,hp=zi;function mp(e){return function(t){for(var r=[],n=function(n){r.push(bp.innerFrom(e[n]).subscribe(hp.createOperatorSubscriber(t,(function(e){if(r){for(var o=0;o<r.length;o++)o!==n&&r[o].unsubscribe();r=null}t.next(e)}))))},o=0;r&&!t.closed&&o<e.length;o++)n(o)}}dp.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=yp.argsOrArgArray(e)).length?bp.innerFrom(e[0]):new vp.Observable(mp(e))},dp.raceInit=mp;var gp={range:void 0},wp=Yo,Op=Pu;gp.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return Op.EMPTY;var n=t+e;return new wp.Observable(r?function(t){var o=e;return r.schedule((function(){o<n?(t.next(o++),this.schedule()):t.complete()}))}:function(t){for(var r=e;r<n&&!t.closed;)t.next(r++);t.complete()})};var Sp={using:void 0},_p=Yo,xp=zu,jp=Pu;Sp.using=function(e,t){return new _p.Observable((function(r){var n=e(),o=t(n);return(o?xp.innerFrom(o):jp.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))};var Ep={},Ap=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Pp=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ep.zip=void 0;var Tp=Yo,Ip=zu,kp=Vf,Cp=Pu,Fp=zi,Mp=Iu;Ep.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Mp.popResultSelector(e),n=kp.argsOrArgArray(e);return n.length?new Tp.Observable((function(e){var t=n.map((function(){return[]})),o=n.map((function(){return!1}));e.add((function(){t=o=null}));for(var i=function(i){Ip.innerFrom(n[i]).subscribe(Fp.createOperatorSubscriber(e,(function(n){if(t[i].push(n),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Pp([],Ap(a))):a),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),(function(){o[i]=!0,!t[i].length&&e.complete()})))},a=0;!e.closed&&a<n.length;a++)i(a);return function(){t=o=null}})):Cp.EMPTY};var Rp={},Np={audit:void 0},Bp=Ri,Lp=zu,zp=zi;Np.audit=function(e){return Bp.operate((function(t,r){var n=!1,o=null,i=null,a=!1,u=function(){if(null==i||i.unsubscribe(),i=null,n){n=!1;var e=o;o=null,r.next(e)}a&&r.complete()},c=function(){i=null,a&&r.complete()};t.subscribe(zp.createOperatorSubscriber(r,(function(t){n=!0,o=t,i||Lp.innerFrom(e(t)).subscribe(i=zp.createOperatorSubscriber(r,u,c))}),(function(){a=!0,(!n||!i||i.closed)&&r.complete()})))}))};var Up={auditTime:void 0},Wp=iu,qp=Np,Dp=Tf;Up.auditTime=function(e,t){return void 0===t&&(t=Wp.asyncScheduler),qp.audit((function(){return Dp.timer(e,t)}))};var $p={buffer:void 0},Vp=Ri,Yp=di,Jp=zi;$p.buffer=function(e){return Vp.operate((function(t,r){var n=[];return t.subscribe(Jp.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),e.subscribe(Jp.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),Yp.noop)),function(){n=null}}))};var Hp={},Kp=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Hp.bufferCount=void 0;var Gp=Ri,Qp=zi,Xp=Zo;Hp.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,Gp.operate((function(r,n){var o=[],i=0;r.subscribe(Qp.createOperatorSubscriber(n,(function(r){var a,u,c,s,l=null;i++%t==0&&o.push([]);try{for(var f=Kp(o),p=f.next();!p.done;p=f.next()){(b=p.value).push(r),e<=b.length&&(l=null!=l?l:[]).push(b)}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=f.return)&&u.call(f)}finally{if(a)throw a.error}}if(l)try{for(var d=Kp(l),v=d.next();!v.done;v=d.next()){var b=v.value;Xp.arrRemove(o,b),n.next(b)}}catch(e){c={error:e}}finally{try{v&&!v.done&&(s=d.return)&&s.call(d)}finally{if(c)throw c.error}}}),(function(){var e,t;try{for(var r=Kp(o),i=r.next();!i.done;i=r.next()){var a=i.value;n.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}n.complete()}),void 0,(function(){o=null})))}))};var Zp={},ed=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Zp.bufferTime=void 0;var td=Ko,rd=Ri,nd=zi,od=Zo,id=iu,ad=Iu,ud=Ac;Zp.bufferTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=ad.popScheduler(n))&&void 0!==t?t:id.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return rd.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.buffer;e.subs.unsubscribe(),od.arrRemove(n,e),r.next(t),o&&s()},s=function(){if(n){var t=new td.Subscription;r.add(t);var o={buffer:[],subs:t};n.push(o),ud.executeSchedule(t,i,(function(){return c(o)}),e)}};null!==a&&a>=0?ud.executeSchedule(r,i,s,a,!0):o=!0,s();var l=nd.createOperatorSubscriber(r,(function(e){var t,r,o=n.slice();try{for(var i=ed(o),a=i.next();!a.done;a=i.next()){var s=a.value,l=s.buffer;l.push(e),u<=l.length&&c(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;null==n?void 0:n.length;)r.next(n.shift().buffer);null==l||l.unsubscribe(),r.complete(),r.unsubscribe()}),void 0,(function(){return n=null}));t.subscribe(l)}))};var cd={},sd=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};cd.bufferToggle=void 0;var ld=Ko,fd=Ri,pd=zu,dd=zi,vd=di,bd=Zo;cd.bufferToggle=function(e,t){return fd.operate((function(r,n){var o=[];pd.innerFrom(e).subscribe(dd.createOperatorSubscriber(n,(function(e){var r=[];o.push(r);var i=new ld.Subscription;i.add(pd.innerFrom(t(e)).subscribe(dd.createOperatorSubscriber(n,(function(){bd.arrRemove(o,r),n.next(r),i.unsubscribe()}),vd.noop)))}),vd.noop)),r.subscribe(dd.createOperatorSubscriber(n,(function(e){var t,r;try{for(var n=sd(o),i=n.next();!i.done;i=n.next()){i.value.push(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),(function(){for(;o.length>0;)n.next(o.shift());n.complete()})))}))};var yd={bufferWhen:void 0},hd=Ri,md=di,gd=zi,wd=zu;yd.bufferWhen=function(e){return hd.operate((function(t,r){var n=null,o=null,i=function(){null==o||o.unsubscribe();var t=n;n=[],t&&r.next(t),wd.innerFrom(e()).subscribe(o=gd.createOperatorSubscriber(r,i,md.noop))};i(),t.subscribe(gd.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.push(e)}),(function(){n&&r.next(n),r.complete()}),void 0,(function(){return n=o=null})))}))};var Od={catchError:void 0},Sd=zu,_d=zi,xd=Ri;Od.catchError=function e(t){return xd.operate((function(r,n){var o,i=null,a=!1;i=r.subscribe(_d.createOperatorSubscriber(n,void 0,void 0,(function(u){o=Sd.innerFrom(t(u,e(t)(r))),i?(i.unsubscribe(),i=null,o.subscribe(n)):a=!0}))),a&&(i.unsubscribe(),i=null,o.subscribe(n))}))};var jd={},Ed={},Ad={},Pd={},Td={},Id={scanInternals:void 0},kd=zi;Id.scanInternals=function(e,t,r,n,o){return function(i,a){var u=r,c=t,s=0;i.subscribe(kd.createOperatorSubscriber(a,(function(t){var r=s++;c=u?e(c,t,r):(u=!0,t),n&&a.next(c)}),o&&function(){u&&a.next(c),a.complete()}))}},Td.reduce=void 0;var Cd=Id,Fd=Ri;Td.reduce=function(e,t){return Fd.operate(Cd.scanInternals(e,t,arguments.length>=2,!1,!0))},Pd.toArray=void 0;var Md=Td,Rd=Ri,Nd=function(e,t){return e.push(t),e};Pd.toArray=function(){return Rd.operate((function(e,t){Md.reduce(Nd,[])(e).subscribe(t)}))},Ad.joinAllInternals=void 0;var Bd=Oi,Ld=zs,zd=wi,Ud=jl,Wd=Pd;Ad.joinAllInternals=function(e,t){return zd.pipe(Wd.toArray(),Ud.mergeMap((function(t){return e(t)})),t?Ld.mapOneOrManyArgs(t):Bd.identity)},Ed.combineLatestAll=void 0;var qd=ol,Dd=Ad;Ed.combineLatestAll=function(e){return Dd.joinAllInternals(qd.combineLatest,e)},jd.combineAll=void 0;var $d=Ed;jd.combineAll=$d.combineLatestAll;var Vd={},Yd={},Jd=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Hd=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Yd.combineLatest=void 0;var Kd=ol,Gd=Ri,Qd=Vf,Xd=zs,Zd=wi,ev=Iu;Yd.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=ev.popResultSelector(t);return n?Zd.pipe(e.apply(void 0,Hd([],Jd(t))),Xd.mapOneOrManyArgs(n)):Gd.operate((function(e,r){Kd.combineLatestInit(Hd([e],Jd(Qd.argsOrArgArray(t))))(r)}))};var tv=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},rv=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Vd.combineLatestWith=void 0;var nv=Yd;Vd.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return nv.combineLatest.apply(void 0,rv([],tv(e)))};var ov={concatMap:void 0},iv=jl,av=Ho;ov.concatMap=function(e,t){return av.isFunction(t)?iv.mergeMap(e,t,1):iv.mergeMap(e,1)};var uv={concatMapTo:void 0},cv=ov,sv=Ho;uv.concatMapTo=function(e,t){return sv.isFunction(t)?cv.concatMap((function(){return e}),t):cv.concatMap((function(){return e}))};var lv={},fv={},pv=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},dv=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};fv.concat=void 0;var vv=Ri,bv=_l,yv=Iu,hv=Nu;fv.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=yv.popScheduler(e);return vv.operate((function(t,n){bv.concatAll()(hv.from(dv([t],pv(e)),r)).subscribe(n)}))};var mv=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},gv=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};lv.concatWith=void 0;var wv=fv;lv.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return wv.concat.apply(void 0,gv([],mv(e)))};var Ov={},Sv={fromSubscribable:void 0},_v=Yo;Sv.fromSubscribable=function(e){return new _v.Observable((function(t){return e.subscribe(t)}))},Ov.connect=void 0;var xv=aa,jv=Nu,Ev=Ri,Av=Sv,Pv={connector:function(){return new xv.Subject}};Ov.connect=function(e,t){void 0===t&&(t=Pv);var r=t.connector;return Ev.operate((function(t,n){var o=r();jv.from(e(Av.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))}))};var Tv={count:void 0},Iv=Td;Tv.count=function(e){return Iv.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)};var kv={debounce:void 0},Cv=Ri,Fv=di,Mv=zi,Rv=zu;kv.debounce=function(e){return Cv.operate((function(t,r){var n=!1,o=null,i=null,a=function(){if(null==i||i.unsubscribe(),i=null,n){n=!1;var e=o;o=null,r.next(e)}};t.subscribe(Mv.createOperatorSubscriber(r,(function(t){null==i||i.unsubscribe(),n=!0,o=t,i=Mv.createOperatorSubscriber(r,a,Fv.noop),Rv.innerFrom(e(t)).subscribe(i)}),(function(){a(),r.complete()}),void 0,(function(){o=i=null})))}))};var Nv={debounceTime:void 0},Bv=iu,Lv=Ri,zv=zi;Nv.debounceTime=function(e,t){return void 0===t&&(t=Bv.asyncScheduler),Lv.operate((function(r,n){var o=null,i=null,a=null,u=function(){if(o){o.unsubscribe(),o=null;var e=i;i=null,n.next(e)}};function c(){var r=a+e,i=t.now();if(i<r)return o=this.schedule(void 0,r-i),void n.add(o);u()}r.subscribe(zv.createOperatorSubscriber(n,(function(r){i=r,a=t.now(),o||(o=t.schedule(c,e),n.add(o))}),(function(){u(),n.complete()}),void 0,(function(){i=o=null})))}))};var Uv={defaultIfEmpty:void 0},Wv=Ri,qv=zi;Uv.defaultIfEmpty=function(e){return Wv.operate((function(t,r){var n=!1;t.subscribe(qv.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))};var Dv={},$v={},Vv={take:void 0},Yv=Pu,Jv=Ri,Hv=zi;Vv.take=function(e){return e<=0?function(){return Yv.EMPTY}:Jv.operate((function(t,r){var n=0;t.subscribe(Hv.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))};var Kv={ignoreElements:void 0},Gv=Ri,Qv=zi,Xv=di;Kv.ignoreElements=function(){return Gv.operate((function(e,t){e.subscribe(Qv.createOperatorSubscriber(t,Xv.noop))}))};var Zv={mapTo:void 0},eb=Us;Zv.mapTo=function(e){return eb.map((function(){return e}))},$v.delayWhen=void 0;var tb=Sl,rb=Vv,nb=Kv,ob=Zv,ib=jl;$v.delayWhen=function e(t,r){return r?function(n){return tb.concat(r.pipe(rb.take(1),nb.ignoreElements()),n.pipe(e(t)))}:ib.mergeMap((function(e,r){return t(e,r).pipe(rb.take(1),ob.mapTo(e))}))},Dv.delay=void 0;var ab=iu,ub=$v,cb=Tf;Dv.delay=function(e,t){void 0===t&&(t=ab.asyncScheduler);var r=cb.timer(e,t);return ub.delayWhen((function(){return r}))};var sb={dematerialize:void 0},lb=Au,fb=Ri,pb=zi;sb.dematerialize=function(){return fb.operate((function(e,t){e.subscribe(pb.createOperatorSubscriber(t,(function(e){return lb.observeNotification(e,t)})))}))};var db={distinct:void 0},vb=Ri,bb=zi,yb=di;db.distinct=function(e,t){return vb.operate((function(r,n){var o=new Set;r.subscribe(bb.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;o.has(r)||(o.add(r),n.next(t))}))),null==t||t.subscribe(bb.createOperatorSubscriber(n,(function(){return o.clear()}),yb.noop))}))};var hb={distinctUntilChanged:void 0},mb=Oi,gb=Ri,wb=zi;function Ob(e,t){return e===t}hb.distinctUntilChanged=function(e,t){return void 0===t&&(t=mb.identity),e=null!=e?e:Ob,gb.operate((function(r,n){var o,i=!0;r.subscribe(wb.createOperatorSubscriber(n,(function(r){var a=t(r);!i&&e(o,a)||(i=!1,o=a,n.next(r))})))}))};var Sb={distinctUntilKeyChanged:void 0},_b=hb;Sb.distinctUntilKeyChanged=function(e,t){return _b.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))};var xb={},jb={throwIfEmpty:void 0},Eb=_s,Ab=Ri,Pb=zi;function Tb(){return new Eb.EmptyError}jb.throwIfEmpty=function(e){return void 0===e&&(e=Tb),Ab.operate((function(t,r){var n=!1;t.subscribe(Pb.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))},xb.elementAt=void 0;var Ib=Ts,kb=up,Cb=jb,Fb=Uv,Mb=Vv;xb.elementAt=function(e,t){if(e<0)throw new Ib.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(n){return n.pipe(kb.filter((function(t,r){return r===e})),Mb.take(1),r?Fb.defaultIfEmpty(t):Cb.throwIfEmpty((function(){return new Ib.ArgumentOutOfRangeError})))}};var Rb={},Nb=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Bb=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Rb.endWith=void 0;var Lb=Sl,zb=Tu;Rb.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Lb.concat(t,zb.of.apply(void 0,Bb([],Nb(e))))}};var Ub={every:void 0},Wb=Ri,qb=zi;Ub.every=function(e,t){return Wb.operate((function(r,n){var o=0;r.subscribe(qb.createOperatorSubscriber(n,(function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))};var Db={},$b={exhaustAll:void 0},Vb=Ri,Yb=zu,Jb=zi;$b.exhaustAll=function(){return Vb.operate((function(e,t){var r=!1,n=null;e.subscribe(Jb.createOperatorSubscriber(t,(function(e){n||(n=Yb.innerFrom(e).subscribe(Jb.createOperatorSubscriber(t,void 0,(function(){n=null,r&&t.complete()}))))}),(function(){r=!0,!n&&t.complete()})))}))},Db.exhaust=void 0;var Hb=$b;Db.exhaust=Hb.exhaustAll;var Kb={exhaustMap:void 0},Gb=Us,Qb=zu,Xb=Ri,Zb=zi;Kb.exhaustMap=function e(t,r){return r?function(n){return n.pipe(e((function(e,n){return Qb.innerFrom(t(e,n)).pipe(Gb.map((function(t,o){return r(e,t,n,o)})))})))}:Xb.operate((function(e,r){var n=0,o=null,i=!1;e.subscribe(Zb.createOperatorSubscriber(r,(function(e){o||(o=Zb.createOperatorSubscriber(r,void 0,(function(){o=null,i&&r.complete()})),Qb.innerFrom(t(e,n++)).subscribe(o))}),(function(){i=!0,!o&&r.complete()})))}))};var ey={expand:void 0},ty=Ri,ry=El;ey.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,ty.operate((function(n,o){return ry.mergeInternals(n,o,e,t,void 0,!0,r)}))};var ny={finalize:void 0},oy=Ri;ny.finalize=function(e){return oy.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))};var iy={};iy.createFind=iy.find=void 0;var ay=Ri,uy=zi;function cy(e,t,r){var n="index"===r;return function(r,o){var i=0;r.subscribe(uy.createOperatorSubscriber(o,(function(a){var u=i++;e.call(t,a,u,r)&&(o.next(n?u:a),o.complete())}),(function(){o.next(n?-1:void 0),o.complete()})))}}iy.find=function(e,t){return ay.operate(cy(e,t,"value"))},iy.createFind=cy;var sy={findIndex:void 0},ly=Ri,fy=iy;sy.findIndex=function(e,t){return ly.operate(fy.createFind(e,t,"index"))};var py={first:void 0},dy=_s,vy=up,by=Vv,yy=Uv,hy=jb,my=Oi;py.first=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?vy.filter((function(t,r){return e(t,r,n)})):my.identity,by.take(1),r?yy.defaultIfEmpty(t):hy.throwIfEmpty((function(){return new dy.EmptyError})))}};var gy={groupBy:void 0},wy=Yo,Oy=zu,Sy=aa,_y=Ri,xy=zi;gy.groupBy=function(e,t,r,n){return _y.operate((function(o,i){var a;t&&"function"!=typeof t?(r=t.duration,a=t.element,n=t.connector):a=t;var u=new Map,c=function(e){u.forEach(e),e(i)},s=function(e){return c((function(t){return t.error(e)}))},l=0,f=!1,p=new xy.OperatorSubscriber(i,(function(t){try{var o=e(t),c=u.get(o);if(!c){u.set(o,c=n?n():new Sy.Subject);var d=(b=o,y=c,(h=new wy.Observable((function(e){l++;var t=y.subscribe(e);return function(){t.unsubscribe(),0==--l&&f&&p.unsubscribe()}}))).key=b,h);if(i.next(d),r){var v=xy.createOperatorSubscriber(c,(function(){c.complete(),null==v||v.unsubscribe()}),void 0,void 0,(function(){return u.delete(o)}));p.add(Oy.innerFrom(r(d)).subscribe(v))}}c.next(a?a(t):t)}catch(e){s(e)}var b,y,h}),(function(){return c((function(e){return e.complete()}))}),s,(function(){return u.clear()}),(function(){return f=!0,0===l}));o.subscribe(p)}))};var jy={isEmpty:void 0},Ey=Ri,Ay=zi;jy.isEmpty=function(){return Ey.operate((function(e,t){e.subscribe(Ay.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))};var Py={},Ty={},Iy=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Ty.takeLast=void 0;var ky=Pu,Cy=Ri,Fy=zi;Ty.takeLast=function(e){return e<=0?function(){return ky.EMPTY}:Cy.operate((function(t,r){var n=[];t.subscribe(Fy.createOperatorSubscriber(r,(function(t){n.push(t),e<n.length&&n.shift()}),(function(){var e,t;try{for(var o=Iy(n),i=o.next();!i.done;i=o.next()){var a=i.value;r.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){n=null})))}))},Py.last=void 0;var My=_s,Ry=up,Ny=Ty,By=jb,Ly=Uv,zy=Oi;Py.last=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Ry.filter((function(t,r){return e(t,r,n)})):zy.identity,Ny.takeLast(1),r?Ly.defaultIfEmpty(t):By.throwIfEmpty((function(){return new My.EmptyError})))}};var Uy={materialize:void 0},Wy=Au,qy=Ri,Dy=zi;Uy.materialize=function(){return qy.operate((function(e,t){e.subscribe(Dy.createOperatorSubscriber(t,(function(e){t.next(Wy.Notification.createNext(e))}),(function(){t.next(Wy.Notification.createComplete()),t.complete()}),(function(e){t.next(Wy.Notification.createError(e)),t.complete()})))}))};var $y={max:void 0},Vy=Td,Yy=Ho;$y.max=function(e){return Vy.reduce(Yy.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})};var Jy={flatMap:void 0},Hy=jl;Jy.flatMap=Hy.mergeMap;var Ky={mergeMapTo:void 0},Gy=jl,Qy=Ho;Ky.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),Qy.isFunction(t)?Gy.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),Gy.mergeMap((function(){return e}),r))};var Xy={mergeScan:void 0},Zy=Ri,eh=El;Xy.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),Zy.operate((function(n,o){var i=t;return eh.mergeInternals(n,o,(function(t,r){return e(i,t,r)}),r,(function(e){i=e}),!1,void 0,(function(){return i=null}))}))};var th={},rh={},nh=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},oh=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};rh.merge=void 0;var ih=Ri,ah=Vf,uh=xl,ch=Iu,sh=Nu;rh.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ch.popScheduler(e),n=ch.popNumber(e,1/0);return e=ah.argsOrArgArray(e),ih.operate((function(t,o){uh.mergeAll(n)(sh.from(oh([t],nh(e)),r)).subscribe(o)}))};var lh=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},fh=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};th.mergeWith=void 0;var ph=rh;th.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ph.merge.apply(void 0,fh([],lh(e)))};var dh={min:void 0},vh=Td,bh=Ho;dh.min=function(e){return vh.reduce(bh.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})};var yh={multicast:void 0},hh=Fi,mh=Ho,gh=Ov;yh.multicast=function(e,t){var r=mh.isFunction(e)?e:function(){return e};return mh.isFunction(t)?gh.connect(t,{connector:r}):function(e){return new hh.ConnectableObservable(e,r)}};var wh={pairwise:void 0},Oh=Ri,Sh=zi;wh.pairwise=function(){return Oh.operate((function(e,t){var r,n=!1;e.subscribe(Sh.createOperatorSubscriber(t,(function(e){var o=r;r=e,n&&t.next([o,e]),n=!0})))}))};var _h={pluck:void 0},xh=Us;_h.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return xh.map((function(t){for(var n=t,o=0;o<r;o++){var i=null==n?void 0:n[e[o]];if(void 0===i)return;n=i}return n}))};var jh={publish:void 0},Eh=aa,Ah=yh,Ph=Ov;jh.publish=function(e){return e?function(t){return Ph.connect(e)(t)}:function(e){return Ah.multicast(new Eh.Subject)(e)}};var Th={publishBehavior:void 0},Ih=ma,kh=Fi;Th.publishBehavior=function(e){return function(t){var r=new Ih.BehaviorSubject(e);return new kh.ConnectableObservable(t,(function(){return r}))}};var Ch={publishLast:void 0},Fh=Ea,Mh=Fi;Ch.publishLast=function(){return function(e){var t=new Fh.AsyncSubject;return new Mh.ConnectableObservable(e,(function(){return t}))}};var Rh={publishReplay:void 0},Nh=Oa,Bh=yh,Lh=Ho;Rh.publishReplay=function(e,t,r,n){r&&!Lh.isFunction(r)&&(n=r);var o=Lh.isFunction(r)?r:void 0;return function(r){return Bh.multicast(new Nh.ReplaySubject(e,t,n),o)(r)}};var zh={},Uh=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Wh=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};zh.raceWith=void 0;var qh=dp,Dh=Ri,$h=Oi;zh.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?Dh.operate((function(t,r){qh.raceInit(Wh([t],Uh(e)))(r)})):$h.identity};var Vh={repeat:void 0},Yh=Pu,Jh=Ri,Hh=zi,Kh=zu,Gh=Tf;Vh.repeat=function(e){var t,r,n=1/0;return null!=e&&("object"==typeof e?(t=e.count,n=void 0===t?1/0:t,r=e.delay):n=e),n<=0?function(){return Yh.EMPTY}:Jh.operate((function(e,t){var o,i=0,a=function(){if(null==o||o.unsubscribe(),o=null,null!=r){var e="number"==typeof r?Gh.timer(r):Kh.innerFrom(r(i)),n=Hh.createOperatorSubscriber(t,(function(){n.unsubscribe(),u()}));e.subscribe(n)}else u()},u=function(){var r=!1;o=e.subscribe(Hh.createOperatorSubscriber(t,void 0,(function(){++i<n?o?a():r=!0:t.complete()}))),r&&a()};u()}))};var Qh={repeatWhen:void 0},Xh=aa,Zh=Ri,em=zi;Qh.repeatWhen=function(e){return Zh.operate((function(t,r){var n,o,i=!1,a=!1,u=!1,c=function(){return u&&a&&(r.complete(),!0)},s=function(){u=!1,n=t.subscribe(em.createOperatorSubscriber(r,void 0,(function(){u=!0,!c()&&(o||(o=new Xh.Subject,e(o).subscribe(em.createOperatorSubscriber(r,(function(){n?s():i=!0}),(function(){a=!0,c()})))),o).next()}))),i&&(n.unsubscribe(),n=null,i=!1,s())};s()}))};var tm={retry:void 0},rm=Ri,nm=zi,om=Oi,im=Tf,am=zu;tm.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,n=void 0===r?1/0:r,o=t.delay,i=t.resetOnSuccess,a=void 0!==i&&i;return n<=0?om.identity:rm.operate((function(e,t){var r,i=0,u=function(){var c=!1;r=e.subscribe(nm.createOperatorSubscriber(t,(function(e){a&&(i=0),t.next(e)}),void 0,(function(e){if(i++<n){var a=function(){r?(r.unsubscribe(),r=null,u()):c=!0};if(null!=o){var s="number"==typeof o?im.timer(o):am.innerFrom(o(e,i)),l=nm.createOperatorSubscriber(t,(function(){l.unsubscribe(),a()}),(function(){t.complete()}));s.subscribe(l)}else a()}else t.error(e)}))),c&&(r.unsubscribe(),r=null,u())};u()}))};var um={retryWhen:void 0},cm=aa,sm=Ri,lm=zi;um.retryWhen=function(e){return sm.operate((function(t,r){var n,o,i=!1,a=function(){n=t.subscribe(lm.createOperatorSubscriber(r,void 0,void 0,(function(t){o||(o=new cm.Subject,e(o).subscribe(lm.createOperatorSubscriber(r,(function(){return n?a():i=!0})))),o&&o.next(t)}))),i&&(n.unsubscribe(),n=null,i=!1,a())};a()}))};var fm={sample:void 0},pm=Ri,dm=di,vm=zi;fm.sample=function(e){return pm.operate((function(t,r){var n=!1,o=null;t.subscribe(vm.createOperatorSubscriber(r,(function(e){n=!0,o=e}))),e.subscribe(vm.createOperatorSubscriber(r,(function(){if(n){n=!1;var e=o;o=null,r.next(e)}}),dm.noop))}))};var bm={sampleTime:void 0},ym=iu,hm=fm,mm=Pf;bm.sampleTime=function(e,t){return void 0===t&&(t=ym.asyncScheduler),hm.sample(mm.interval(e,t))};var gm={scan:void 0},wm=Ri,Om=Id;gm.scan=function(e,t){return wm.operate(Om.scanInternals(e,t,arguments.length>=2,!0))};var Sm={sequenceEqual:void 0},_m=Ri,xm=zi;Sm.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),_m.operate((function(r,n){var o={buffer:[],complete:!1},i={buffer:[],complete:!1},a=function(e){n.next(e),n.complete()},u=function(e,r){var o=xm.createOperatorSubscriber(n,(function(n){var o=r.buffer,i=r.complete;0===o.length?i?a(!1):e.buffer.push(n):!t(n,o.shift())&&a(!1)}),(function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&a(0===n.length),null==o||o.unsubscribe()}));return o};r.subscribe(u(o,i)),e.subscribe(u(i,o))}))};var jm={},Em=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Am=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};jm.share=void 0;var Pm=Nu,Tm=Vv,Im=aa,km=Jo,Cm=Ri;function Fm(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return!0===t?(e(),null):!1===t?null:t.apply(void 0,Am([],Em(r))).pipe(Tm.take(1)).subscribe((function(){return e()}))}jm.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new Im.Subject}:t,n=e.resetOnError,o=void 0===n||n,i=e.resetOnComplete,a=void 0===i||i,u=e.resetOnRefCountZero,c=void 0===u||u;return function(e){var t=null,n=null,i=null,u=0,s=!1,l=!1,f=function(){null==n||n.unsubscribe(),n=null},p=function(){f(),t=i=null,s=l=!1},d=function(){var e=t;p(),null==e||e.unsubscribe()};return Cm.operate((function(e,v){u++,l||s||f();var b=i=null!=i?i:r();v.add((function(){0!==--u||l||s||(n=Fm(d,c))})),b.subscribe(v),t||(t=new km.SafeSubscriber({next:function(e){return b.next(e)},error:function(e){l=!0,f(),n=Fm(p,o,e),b.error(e)},complete:function(){s=!0,f(),n=Fm(p,a),b.complete()}}),Pm.from(e).subscribe(t))}))(e)}};var Mm={shareReplay:void 0},Rm=Oa,Nm=jm;Mm.shareReplay=function(e,t,r){var n,o,i,a,u=!1;return e&&"object"==typeof e?(n=e.bufferSize,a=void 0===n?1/0:n,o=e.windowTime,t=void 0===o?1/0:o,u=void 0!==(i=e.refCount)&&i,r=e.scheduler):a=null!=e?e:1/0,Nm.share({connector:function(){return new Rm.ReplaySubject(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})};var Bm={single:void 0},Lm=_s,zm=Fs,Um=ks,Wm=Ri,qm=zi;Bm.single=function(e){return Wm.operate((function(t,r){var n,o=!1,i=!1,a=0;t.subscribe(qm.createOperatorSubscriber(r,(function(u){i=!0,e&&!e(u,a++,t)||(o&&r.error(new zm.SequenceError("Too many matching values")),o=!0,n=u)}),(function(){o?(r.next(n),r.complete()):r.error(i?new Um.NotFoundError("No matching values"):new Lm.EmptyError)})))}))};var Dm={skip:void 0},$m=up;Dm.skip=function(e){return $m.filter((function(t,r){return e<=r}))};var Vm={skipLast:void 0},Ym=Oi,Jm=Ri,Hm=zi;Vm.skipLast=function(e){return e<=0?Ym.identity:Jm.operate((function(t,r){var n=new Array(e),o=0;return t.subscribe(Hm.createOperatorSubscriber(r,(function(t){var i=o++;if(i<e)n[i]=t;else{var a=i%e,u=n[a];n[a]=t,r.next(u)}}))),function(){n=null}}))};var Km={skipUntil:void 0},Gm=Ri,Qm=zi,Xm=zu,Zm=di;Km.skipUntil=function(e){return Gm.operate((function(t,r){var n=!1,o=Qm.createOperatorSubscriber(r,(function(){null==o||o.unsubscribe(),n=!0}),Zm.noop);Xm.innerFrom(e).subscribe(o),t.subscribe(Qm.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))};var eg={skipWhile:void 0},tg=Ri,rg=zi;eg.skipWhile=function(e){return tg.operate((function(t,r){var n=!1,o=0;t.subscribe(rg.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,o++)))&&r.next(t)})))}))};var ng={startWith:void 0},og=Sl,ig=Iu,ag=Ri;ng.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ig.popScheduler(e);return ag.operate((function(t,n){(r?og.concat(e,t,r):og.concat(e,t)).subscribe(n)}))};var ug={},cg={switchMap:void 0},sg=zu,lg=Ri,fg=zi;cg.switchMap=function(e,t){return lg.operate((function(r,n){var o=null,i=0,a=!1,u=function(){return a&&!o&&n.complete()};r.subscribe(fg.createOperatorSubscriber(n,(function(r){null==o||o.unsubscribe();var a=0,c=i++;sg.innerFrom(e(r,c)).subscribe(o=fg.createOperatorSubscriber(n,(function(e){return n.next(t?t(r,e,c,a++):e)}),(function(){o=null,u()})))}),(function(){a=!0,u()})))}))},ug.switchAll=void 0;var pg=cg,dg=Oi;ug.switchAll=function(){return pg.switchMap(dg.identity)};var vg={switchMapTo:void 0},bg=cg,yg=Ho;vg.switchMapTo=function(e,t){return yg.isFunction(t)?bg.switchMap((function(){return e}),t):bg.switchMap((function(){return e}))};var hg={switchScan:void 0},mg=cg,gg=Ri;hg.switchScan=function(e,t){return gg.operate((function(r,n){var o=t;return mg.switchMap((function(t,r){return e(o,t,r)}),(function(e,t){return o=t,t}))(r).subscribe(n),function(){o=null}}))};var wg={takeUntil:void 0},Og=Ri,Sg=zi,_g=zu,xg=di;wg.takeUntil=function(e){return Og.operate((function(t,r){_g.innerFrom(e).subscribe(Sg.createOperatorSubscriber(r,(function(){return r.complete()}),xg.noop)),!r.closed&&t.subscribe(r)}))};var jg={takeWhile:void 0},Eg=Ri,Ag=zi;jg.takeWhile=function(e,t){return void 0===t&&(t=!1),Eg.operate((function(r,n){var o=0;r.subscribe(Ag.createOperatorSubscriber(n,(function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()})))}))};var Pg={tap:void 0},Tg=Ho,Ig=Ri,kg=zi,Cg=Oi;Pg.tap=function(e,t,r){var n=Tg.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return n?Ig.operate((function(e,t){var r;null===(r=n.subscribe)||void 0===r||r.call(n);var o=!0;e.subscribe(kg.createOperatorSubscriber(t,(function(e){var r;null===(r=n.next)||void 0===r||r.call(n,e),t.next(e)}),(function(){var e;o=!1,null===(e=n.complete)||void 0===e||e.call(n),t.complete()}),(function(e){var r;o=!1,null===(r=n.error)||void 0===r||r.call(n,e),t.error(e)}),(function(){var e,t;o&&(null===(e=n.unsubscribe)||void 0===e||e.call(n)),null===(t=n.finalize)||void 0===t||t.call(n)})))})):Cg.identity};var Fg={};!function(e){e.throttle=e.defaultThrottleConfig=void 0;var t=Ri,r=zi,n=zu;e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=function(o,i){return void 0===i&&(i=e.defaultThrottleConfig),t.operate((function(e,t){var a=i.leading,u=i.trailing,c=!1,s=null,l=null,f=!1,p=function(){null==l||l.unsubscribe(),l=null,u&&(b(),f&&t.complete())},d=function(){l=null,f&&t.complete()},v=function(e){return l=n.innerFrom(o(e)).subscribe(r.createOperatorSubscriber(t,p,d))},b=function(){if(c){c=!1;var e=s;s=null,t.next(e),!f&&v(e)}};e.subscribe(r.createOperatorSubscriber(t,(function(e){c=!0,s=e,(!l||l.closed)&&(a?b():v(e))}),(function(){f=!0,(!(u&&c&&l)||l.closed)&&t.complete()})))}))}}(Fg);var Mg={throttleTime:void 0},Rg=iu,Ng=Fg,Bg=Tf;Mg.throttleTime=function(e,t,r){void 0===t&&(t=Rg.asyncScheduler),void 0===r&&(r=Ng.defaultThrottleConfig);var n=Bg.timer(e,t);return Ng.throttle((function(){return n}),r)};var Lg={};Lg.TimeInterval=Lg.timeInterval=void 0;var zg=iu,Ug=Ri,Wg=zi;Lg.timeInterval=function(e){return void 0===e&&(e=zg.asyncScheduler),Ug.operate((function(t,r){var n=e.now();t.subscribe(Wg.createOperatorSubscriber(r,(function(t){var o=e.now(),i=o-n;n=o,r.next(new qg(t,i))})))}))};var qg=function(e,t){this.value=e,this.interval=t};Lg.TimeInterval=qg;var Dg={timeoutWith:void 0},$g=iu,Vg=Ns,Yg=Rs;Dg.timeoutWith=function(e,t,r){var n,o,i;if(r=null!=r?r:$g.async,Vg.isValidDate(e)?n=e:"number"==typeof e&&(o=e),!t)throw new TypeError("No observable provided to switch to");if(i=function(){return t},null==n&&null==o)throw new TypeError("No timeout provided.");return Yg.timeout({first:n,each:o,scheduler:r,with:i})};var Jg={timestamp:void 0},Hg=Sa,Kg=Us;Jg.timestamp=function(e){return void 0===e&&(e=Hg.dateTimestampProvider),Kg.map((function(t){return{value:t,timestamp:e.now()}}))};var Gg={window:void 0},Qg=aa,Xg=Ri,Zg=zi,ew=di;Gg.window=function(e){return Xg.operate((function(t,r){var n=new Qg.Subject;r.next(n.asObservable());var o=function(e){n.error(e),r.error(e)};return t.subscribe(Zg.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.next(e)}),(function(){n.complete(),r.complete()}),o)),e.subscribe(Zg.createOperatorSubscriber(r,(function(){n.complete(),r.next(n=new Qg.Subject)}),ew.noop,o)),function(){null==n||n.unsubscribe(),n=null}}))};var tw={},rw=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};tw.windowCount=void 0;var nw=aa,ow=Ri,iw=zi;tw.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return ow.operate((function(t,n){var o=[new nw.Subject],i=0;n.next(o[0].asObservable()),t.subscribe(iw.createOperatorSubscriber(n,(function(t){var a,u;try{for(var c=rw(o),s=c.next();!s.done;s=c.next()){s.value.next(t)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}var l=i-e+1;if(l>=0&&l%r==0&&o.shift().complete(),++i%r==0){var f=new nw.Subject;o.push(f),n.next(f.asObservable())}}),(function(){for(;o.length>0;)o.shift().complete();n.complete()}),(function(e){for(;o.length>0;)o.shift().error(e);n.error(e)}),(function(){o=null})))}))};var aw={windowTime:void 0},uw=aa,cw=iu,sw=Ko,lw=Ri,fw=zi,pw=Zo,dw=Iu,vw=Ac;aw.windowTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=dw.popScheduler(n))&&void 0!==t?t:cw.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return lw.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),pw.arrRemove(n,e),o&&s()},s=function(){if(n){var t=new sw.Subscription;r.add(t);var o=new uw.Subject,a={window:o,subs:t,seen:0};n.push(a),r.next(o.asObservable()),vw.executeSchedule(t,i,(function(){return c(a)}),e)}};null!==a&&a>=0?vw.executeSchedule(r,i,s,a,!0):o=!0,s();var l=function(e){return n.slice().forEach(e)},f=function(e){l((function(t){var r=t.window;return e(r)})),e(r),r.unsubscribe()};return t.subscribe(fw.createOperatorSubscriber(r,(function(e){l((function(t){t.window.next(e),u<=++t.seen&&c(t)}))}),(function(){return f((function(e){return e.complete()}))}),(function(e){return f((function(t){return t.error(e)}))}))),function(){n=null}}))};var bw={},yw=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};bw.windowToggle=void 0;var hw=aa,mw=Ko,gw=Ri,ww=zu,Ow=zi,Sw=di,_w=Zo;bw.windowToggle=function(e,t){return gw.operate((function(r,n){var o=[],i=function(e){for(;0<o.length;)o.shift().error(e);n.error(e)};ww.innerFrom(e).subscribe(Ow.createOperatorSubscriber(n,(function(e){var r=new hw.Subject;o.push(r);var a,u=new mw.Subscription;try{a=ww.innerFrom(t(e))}catch(e){return void i(e)}n.next(r.asObservable()),u.add(a.subscribe(Ow.createOperatorSubscriber(n,(function(){_w.arrRemove(o,r),r.complete(),u.unsubscribe()}),Sw.noop,i)))}),Sw.noop)),r.subscribe(Ow.createOperatorSubscriber(n,(function(e){var t,r,n=o.slice();try{for(var i=yw(n),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;0<o.length;)o.shift().complete();n.complete()}),i,(function(){for(;0<o.length;)o.shift().unsubscribe()})))}))};var xw={windowWhen:void 0},jw=aa,Ew=Ri,Aw=zi,Pw=zu;xw.windowWhen=function(e){return Ew.operate((function(t,r){var n,o,i=function(e){n.error(e),r.error(e)},a=function(){var t;null==o||o.unsubscribe(),null==n||n.complete(),n=new jw.Subject,r.next(n.asObservable());try{t=Pw.innerFrom(e())}catch(e){return void i(e)}t.subscribe(o=Aw.createOperatorSubscriber(r,a,a,i))};a(),t.subscribe(Aw.createOperatorSubscriber(r,(function(e){return n.next(e)}),(function(){n.complete(),r.complete()}),i,(function(){null==o||o.unsubscribe(),n=null})))}))};var Tw={},Iw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},kw=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Tw.withLatestFrom=void 0;var Cw=Ri,Fw=zi,Mw=zu,Rw=Oi,Nw=di,Bw=Iu;Tw.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Bw.popResultSelector(e);return Cw.operate((function(t,n){for(var o=e.length,i=new Array(o),a=e.map((function(){return!1})),u=!1,c=function(t){Mw.innerFrom(e[t]).subscribe(Fw.createOperatorSubscriber(n,(function(e){i[t]=e,u||a[t]||(a[t]=!0,(u=a.every(Rw.identity))&&(a=null))}),Nw.noop))},s=0;s<o;s++)c(s);t.subscribe(Fw.createOperatorSubscriber(n,(function(e){if(u){var t=kw([e],Iw(i));n.next(r?r.apply(void 0,kw([],Iw(t))):t)}})))}))};var Lw={zipAll:void 0},zw=Ep,Uw=Ad;Lw.zipAll=function(e){return Uw.joinAllInternals(zw.zip,e)};var Ww={},qw={},Dw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},$w=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};qw.zip=void 0;var Vw=Ep,Yw=Ri;qw.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Yw.operate((function(t,r){Vw.zip.apply(void 0,$w([t],Dw(e))).subscribe(r)}))};var Jw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Hw=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ww.zipWith=void 0;var Kw=qw;function Gw(e,t){const r=Kn(),n=o.exports.useMemo((()=>new Gn.ObservableFiniteStateMachine(e,t)),[e]);return o.exports.useEffect((()=>{const e=n.observeStateChanges().subscribe((()=>r()));return()=>e.unsubscribe()}),[n]),n}Ww.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Kw.zip.apply(void 0,Hw([],Jw(e)))},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};e.interval=e.iif=e.generate=e.fromEventPattern=e.fromEvent=e.from=e.forkJoin=e.empty=e.defer=e.connectable=e.concat=e.combineLatest=e.bindNodeCallback=e.bindCallback=e.UnsubscriptionError=e.TimeoutError=e.SequenceError=e.ObjectUnsubscribedError=e.NotFoundError=e.EmptyError=e.ArgumentOutOfRangeError=e.firstValueFrom=e.lastValueFrom=e.isObservable=e.identity=e.noop=e.pipe=e.NotificationKind=e.Notification=e.Subscriber=e.Subscription=e.Scheduler=e.VirtualAction=e.VirtualTimeScheduler=e.animationFrameScheduler=e.animationFrame=e.queueScheduler=e.queue=e.asyncScheduler=e.async=e.asapScheduler=e.asap=e.AsyncSubject=e.ReplaySubject=e.BehaviorSubject=e.Subject=e.animationFrames=e.observable=e.ConnectableObservable=e.Observable=void 0,e.filter=e.expand=e.exhaustMap=e.exhaustAll=e.exhaust=e.every=e.endWith=e.elementAt=e.distinctUntilKeyChanged=e.distinctUntilChanged=e.distinct=e.dematerialize=e.delayWhen=e.delay=e.defaultIfEmpty=e.debounceTime=e.debounce=e.count=e.connect=e.concatWith=e.concatMapTo=e.concatMap=e.concatAll=e.combineLatestWith=e.combineLatestAll=e.combineAll=e.catchError=e.bufferWhen=e.bufferToggle=e.bufferTime=e.bufferCount=e.buffer=e.auditTime=e.audit=e.config=e.NEVER=e.EMPTY=e.scheduled=e.zip=e.using=e.timer=e.throwError=e.range=e.race=e.partition=e.pairs=e.onErrorResumeNext=e.of=e.never=e.merge=void 0,e.switchMapTo=e.switchMap=e.switchAll=e.subscribeOn=e.startWith=e.skipWhile=e.skipUntil=e.skipLast=e.skip=e.single=e.shareReplay=e.share=e.sequenceEqual=e.scan=e.sampleTime=e.sample=e.refCount=e.retryWhen=e.retry=e.repeatWhen=e.repeat=e.reduce=e.raceWith=e.publishReplay=e.publishLast=e.publishBehavior=e.publish=e.pluck=e.pairwise=e.observeOn=e.multicast=e.min=e.mergeWith=e.mergeScan=e.mergeMapTo=e.mergeMap=e.flatMap=e.mergeAll=e.max=e.materialize=e.mapTo=e.map=e.last=e.isEmpty=e.ignoreElements=e.groupBy=e.first=e.findIndex=e.find=e.finalize=void 0,e.zipWith=e.zipAll=e.withLatestFrom=e.windowWhen=e.windowToggle=e.windowTime=e.windowCount=e.window=e.toArray=e.timestamp=e.timeoutWith=e.timeout=e.timeInterval=e.throwIfEmpty=e.throttleTime=e.throttle=e.tap=e.takeWhile=e.takeUntil=e.takeLast=e.take=e.switchScan=void 0;var o=Yo;Object.defineProperty(e,"Observable",{enumerable:!0,get:function(){return o.Observable}});var i=Fi;Object.defineProperty(e,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var a=gi;Object.defineProperty(e,"observable",{enumerable:!0,get:function(){return a.observable}});var u=Qi;Object.defineProperty(e,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var c=aa;Object.defineProperty(e,"Subject",{enumerable:!0,get:function(){return c.Subject}});var s=ma;Object.defineProperty(e,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var l=Oa;Object.defineProperty(e,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var f=Ea;Object.defineProperty(e,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var p=Ta;Object.defineProperty(e,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(e,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var d=iu;Object.defineProperty(e,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(e,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var v=au;Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(e,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var b=du;Object.defineProperty(e,"animationFrame",{enumerable:!0,get:function(){return b.animationFrame}}),Object.defineProperty(e,"animationFrameScheduler",{enumerable:!0,get:function(){return b.animationFrameScheduler}});var y=Ou;Object.defineProperty(e,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(e,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var h=Qa;Object.defineProperty(e,"Scheduler",{enumerable:!0,get:function(){return h.Scheduler}});var m=Ko;Object.defineProperty(e,"Subscription",{enumerable:!0,get:function(){return m.Subscription}});var g=Jo;Object.defineProperty(e,"Subscriber",{enumerable:!0,get:function(){return g.Subscriber}});var w=Au;Object.defineProperty(e,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(e,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var O=wi;Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return O.pipe}});var S=di;Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return S.noop}});var _=Oi;Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return _.identity}});var x=gs;Object.defineProperty(e,"isObservable",{enumerable:!0,get:function(){return x.isObservable}});var j=Ss;Object.defineProperty(e,"lastValueFrom",{enumerable:!0,get:function(){return j.lastValueFrom}});var E=Es;Object.defineProperty(e,"firstValueFrom",{enumerable:!0,get:function(){return E.firstValueFrom}});var A=Ts;Object.defineProperty(e,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return A.ArgumentOutOfRangeError}});var P=_s;Object.defineProperty(e,"EmptyError",{enumerable:!0,get:function(){return P.EmptyError}});var T=ks;Object.defineProperty(e,"NotFoundError",{enumerable:!0,get:function(){return T.NotFoundError}});var I=ua;Object.defineProperty(e,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var k=Fs;Object.defineProperty(e,"SequenceError",{enumerable:!0,get:function(){return k.SequenceError}});var C=Rs;Object.defineProperty(e,"TimeoutError",{enumerable:!0,get:function(){return C.TimeoutError}});var F=Go;Object.defineProperty(e,"UnsubscriptionError",{enumerable:!0,get:function(){return F.UnsubscriptionError}});var M=Bs;Object.defineProperty(e,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var R=rl;Object.defineProperty(e,"bindNodeCallback",{enumerable:!0,get:function(){return R.bindNodeCallback}});var N=ol;Object.defineProperty(e,"combineLatest",{enumerable:!0,get:function(){return N.combineLatest}});var B=Sl;Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return B.concat}});var L=Wl;Object.defineProperty(e,"connectable",{enumerable:!0,get:function(){return L.connectable}});var z=ql;Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return z.defer}});var U=Pu;Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return U.empty}});var W=Kl;Object.defineProperty(e,"forkJoin",{enumerable:!0,get:function(){return W.forkJoin}});var q=Nu;Object.defineProperty(e,"from",{enumerable:!0,get:function(){return q.from}});var D=nf;Object.defineProperty(e,"fromEvent",{enumerable:!0,get:function(){return D.fromEvent}});var $=yf;Object.defineProperty(e,"fromEventPattern",{enumerable:!0,get:function(){return $.fromEventPattern}});var V=wf;Object.defineProperty(e,"generate",{enumerable:!0,get:function(){return V.generate}});var Y=Ef;Object.defineProperty(e,"iif",{enumerable:!0,get:function(){return Y.iif}});var J=Pf;Object.defineProperty(e,"interval",{enumerable:!0,get:function(){return J.interval}});var H=Nf;Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return H.merge}});var K=qf;Object.defineProperty(e,"never",{enumerable:!0,get:function(){return K.never}});var G=Tu;Object.defineProperty(e,"of",{enumerable:!0,get:function(){return G.of}});var Q=Df;Object.defineProperty(e,"onErrorResumeNext",{enumerable:!0,get:function(){return Q.onErrorResumeNext}});var X=np;Object.defineProperty(e,"pairs",{enumerable:!0,get:function(){return X.pairs}});var Z=ip;Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return Z.partition}});var ee=dp;Object.defineProperty(e,"race",{enumerable:!0,get:function(){return ee.race}});var te=gp;Object.defineProperty(e,"range",{enumerable:!0,get:function(){return te.range}});var re=ys;Object.defineProperty(e,"throwError",{enumerable:!0,get:function(){return re.throwError}});var ne=Tf;Object.defineProperty(e,"timer",{enumerable:!0,get:function(){return ne.timer}});var oe=Sp;Object.defineProperty(e,"using",{enumerable:!0,get:function(){return oe.using}});var ie=Ep;Object.defineProperty(e,"zip",{enumerable:!0,get:function(){return ie.zip}});var ae=Bu;Object.defineProperty(e,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ue=Pu;Object.defineProperty(e,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var ce=qf;Object.defineProperty(e,"NEVER",{enumerable:!0,get:function(){return ce.NEVER}}),r(Rp,e);var se=ci;Object.defineProperty(e,"config",{enumerable:!0,get:function(){return se.config}});var le=Np;Object.defineProperty(e,"audit",{enumerable:!0,get:function(){return le.audit}});var fe=Up;Object.defineProperty(e,"auditTime",{enumerable:!0,get:function(){return fe.auditTime}});var pe=$p;Object.defineProperty(e,"buffer",{enumerable:!0,get:function(){return pe.buffer}});var de=Hp;Object.defineProperty(e,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ve=Zp;Object.defineProperty(e,"bufferTime",{enumerable:!0,get:function(){return ve.bufferTime}});var be=cd;Object.defineProperty(e,"bufferToggle",{enumerable:!0,get:function(){return be.bufferToggle}});var ye=yd;Object.defineProperty(e,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var he=Od;Object.defineProperty(e,"catchError",{enumerable:!0,get:function(){return he.catchError}});var me=jd;Object.defineProperty(e,"combineAll",{enumerable:!0,get:function(){return me.combineAll}});var ge=Ed;Object.defineProperty(e,"combineLatestAll",{enumerable:!0,get:function(){return ge.combineLatestAll}});var we=Vd;Object.defineProperty(e,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Oe=_l;Object.defineProperty(e,"concatAll",{enumerable:!0,get:function(){return Oe.concatAll}});var Se=ov;Object.defineProperty(e,"concatMap",{enumerable:!0,get:function(){return Se.concatMap}});var _e=uv;Object.defineProperty(e,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var xe=lv;Object.defineProperty(e,"concatWith",{enumerable:!0,get:function(){return xe.concatWith}});var je=Ov;Object.defineProperty(e,"connect",{enumerable:!0,get:function(){return je.connect}});var Ee=Tv;Object.defineProperty(e,"count",{enumerable:!0,get:function(){return Ee.count}});var Ae=kv;Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return Ae.debounce}});var Pe=Nv;Object.defineProperty(e,"debounceTime",{enumerable:!0,get:function(){return Pe.debounceTime}});var Te=Uv;Object.defineProperty(e,"defaultIfEmpty",{enumerable:!0,get:function(){return Te.defaultIfEmpty}});var Ie=Dv;Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return Ie.delay}});var ke=$v;Object.defineProperty(e,"delayWhen",{enumerable:!0,get:function(){return ke.delayWhen}});var Ce=sb;Object.defineProperty(e,"dematerialize",{enumerable:!0,get:function(){return Ce.dematerialize}});var Fe=db;Object.defineProperty(e,"distinct",{enumerable:!0,get:function(){return Fe.distinct}});var Me=hb;Object.defineProperty(e,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var Re=Sb;Object.defineProperty(e,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Re.distinctUntilKeyChanged}});var Ne=xb;Object.defineProperty(e,"elementAt",{enumerable:!0,get:function(){return Ne.elementAt}});var Be=Rb;Object.defineProperty(e,"endWith",{enumerable:!0,get:function(){return Be.endWith}});var Le=Ub;Object.defineProperty(e,"every",{enumerable:!0,get:function(){return Le.every}});var ze=Db;Object.defineProperty(e,"exhaust",{enumerable:!0,get:function(){return ze.exhaust}});var Ue=$b;Object.defineProperty(e,"exhaustAll",{enumerable:!0,get:function(){return Ue.exhaustAll}});var We=Kb;Object.defineProperty(e,"exhaustMap",{enumerable:!0,get:function(){return We.exhaustMap}});var qe=ey;Object.defineProperty(e,"expand",{enumerable:!0,get:function(){return qe.expand}});var De=up;Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return De.filter}});var $e=ny;Object.defineProperty(e,"finalize",{enumerable:!0,get:function(){return $e.finalize}});var Ve=iy;Object.defineProperty(e,"find",{enumerable:!0,get:function(){return Ve.find}});var Ye=sy;Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return Ye.findIndex}});var Je=py;Object.defineProperty(e,"first",{enumerable:!0,get:function(){return Je.first}});var He=gy;Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return He.groupBy}});var Ke=Kv;Object.defineProperty(e,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var Ge=jy;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Ge.isEmpty}});var Qe=Py;Object.defineProperty(e,"last",{enumerable:!0,get:function(){return Qe.last}});var Xe=Us;Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Xe.map}});var Ze=Zv;Object.defineProperty(e,"mapTo",{enumerable:!0,get:function(){return Ze.mapTo}});var et=Uy;Object.defineProperty(e,"materialize",{enumerable:!0,get:function(){return et.materialize}});var tt=$y;Object.defineProperty(e,"max",{enumerable:!0,get:function(){return tt.max}});var rt=xl;Object.defineProperty(e,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var nt=Jy;Object.defineProperty(e,"flatMap",{enumerable:!0,get:function(){return nt.flatMap}});var ot=jl;Object.defineProperty(e,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var it=Ky;Object.defineProperty(e,"mergeMapTo",{enumerable:!0,get:function(){return it.mergeMapTo}});var at=Xy;Object.defineProperty(e,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ut=th;Object.defineProperty(e,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var ct=dh;Object.defineProperty(e,"min",{enumerable:!0,get:function(){return ct.min}});var st=yh;Object.defineProperty(e,"multicast",{enumerable:!0,get:function(){return st.multicast}});var lt=Ec;Object.defineProperty(e,"observeOn",{enumerable:!0,get:function(){return lt.observeOn}});var ft=wh;Object.defineProperty(e,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var pt=_h;Object.defineProperty(e,"pluck",{enumerable:!0,get:function(){return pt.pluck}});var dt=jh;Object.defineProperty(e,"publish",{enumerable:!0,get:function(){return dt.publish}});var vt=Th;Object.defineProperty(e,"publishBehavior",{enumerable:!0,get:function(){return vt.publishBehavior}});var bt=Ch;Object.defineProperty(e,"publishLast",{enumerable:!0,get:function(){return bt.publishLast}});var yt=Rh;Object.defineProperty(e,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var ht=zh;Object.defineProperty(e,"raceWith",{enumerable:!0,get:function(){return ht.raceWith}});var mt=Td;Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return mt.reduce}});var gt=Vh;Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return gt.repeat}});var wt=Qh;Object.defineProperty(e,"repeatWhen",{enumerable:!0,get:function(){return wt.repeatWhen}});var Ot=tm;Object.defineProperty(e,"retry",{enumerable:!0,get:function(){return Ot.retry}});var St=um;Object.defineProperty(e,"retryWhen",{enumerable:!0,get:function(){return St.retryWhen}});var _t=Mi;Object.defineProperty(e,"refCount",{enumerable:!0,get:function(){return _t.refCount}});var xt=fm;Object.defineProperty(e,"sample",{enumerable:!0,get:function(){return xt.sample}});var jt=bm;Object.defineProperty(e,"sampleTime",{enumerable:!0,get:function(){return jt.sampleTime}});var Et=gm;Object.defineProperty(e,"scan",{enumerable:!0,get:function(){return Et.scan}});var At=Sm;Object.defineProperty(e,"sequenceEqual",{enumerable:!0,get:function(){return At.sequenceEqual}});var Pt=jm;Object.defineProperty(e,"share",{enumerable:!0,get:function(){return Pt.share}});var Tt=Mm;Object.defineProperty(e,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var It=Bm;Object.defineProperty(e,"single",{enumerable:!0,get:function(){return It.single}});var kt=Dm;Object.defineProperty(e,"skip",{enumerable:!0,get:function(){return kt.skip}});var Ct=Vm;Object.defineProperty(e,"skipLast",{enumerable:!0,get:function(){return Ct.skipLast}});var Ft=Km;Object.defineProperty(e,"skipUntil",{enumerable:!0,get:function(){return Ft.skipUntil}});var Mt=eg;Object.defineProperty(e,"skipWhile",{enumerable:!0,get:function(){return Mt.skipWhile}});var Rt=ng;Object.defineProperty(e,"startWith",{enumerable:!0,get:function(){return Rt.startWith}});var Nt=kc;Object.defineProperty(e,"subscribeOn",{enumerable:!0,get:function(){return Nt.subscribeOn}});var Bt=ug;Object.defineProperty(e,"switchAll",{enumerable:!0,get:function(){return Bt.switchAll}});var Lt=cg;Object.defineProperty(e,"switchMap",{enumerable:!0,get:function(){return Lt.switchMap}});var zt=vg;Object.defineProperty(e,"switchMapTo",{enumerable:!0,get:function(){return zt.switchMapTo}});var Ut=hg;Object.defineProperty(e,"switchScan",{enumerable:!0,get:function(){return Ut.switchScan}});var Wt=Vv;Object.defineProperty(e,"take",{enumerable:!0,get:function(){return Wt.take}});var qt=Ty;Object.defineProperty(e,"takeLast",{enumerable:!0,get:function(){return qt.takeLast}});var Dt=wg;Object.defineProperty(e,"takeUntil",{enumerable:!0,get:function(){return Dt.takeUntil}});var $t=jg;Object.defineProperty(e,"takeWhile",{enumerable:!0,get:function(){return $t.takeWhile}});var Vt=Pg;Object.defineProperty(e,"tap",{enumerable:!0,get:function(){return Vt.tap}});var Yt=Fg;Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Jt=Mg;Object.defineProperty(e,"throttleTime",{enumerable:!0,get:function(){return Jt.throttleTime}});var Ht=jb;Object.defineProperty(e,"throwIfEmpty",{enumerable:!0,get:function(){return Ht.throwIfEmpty}});var Kt=Lg;Object.defineProperty(e,"timeInterval",{enumerable:!0,get:function(){return Kt.timeInterval}});var Gt=Rs;Object.defineProperty(e,"timeout",{enumerable:!0,get:function(){return Gt.timeout}});var Qt=Dg;Object.defineProperty(e,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var Xt=Jg;Object.defineProperty(e,"timestamp",{enumerable:!0,get:function(){return Xt.timestamp}});var Zt=Pd;Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Zt.toArray}});var er=Gg;Object.defineProperty(e,"window",{enumerable:!0,get:function(){return er.window}});var tr=tw;Object.defineProperty(e,"windowCount",{enumerable:!0,get:function(){return tr.windowCount}});var rr=aw;Object.defineProperty(e,"windowTime",{enumerable:!0,get:function(){return rr.windowTime}});var nr=bw;Object.defineProperty(e,"windowToggle",{enumerable:!0,get:function(){return nr.windowToggle}});var or=xw;Object.defineProperty(e,"windowWhen",{enumerable:!0,get:function(){return or.windowWhen}});var ir=Tw;Object.defineProperty(e,"withLatestFrom",{enumerable:!0,get:function(){return ir.withLatestFrom}});var ar=Lw;Object.defineProperty(e,"zipAll",{enumerable:!0,get:function(){return ar.zipAll}});var ur=Ww;Object.defineProperty(e,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})}(Vo),function(e){e.BadEventError=e.ObservableFiniteStateMachine=void 0;const t=Wo,r=Vo,n=m;class o extends t.FiniteStateMachine{constructor(){super(...arguments),this.stateChanges=new r.Subject}observeStateChanges(){return this.stateChanges}send(e){const t=this.state;super.send(e);const r=this.state;this.stateChanges.next({event:e,oldState:t,newState:r}),(0,n.isEmptyObject)(this.schema[r])&&this.stateChanges.complete()}}e.ObservableFiniteStateMachine=o;var i=Wo;Object.defineProperty(e,"BadEventError",{enumerable:!0,get:function(){return i.BadEventError}})}($o),function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Qn,e),r(Xn,e),r(Zn,e),r(to,e),r(no,e),r(io,e),r(uo,e),r(fo,e),r(Co,e),r(Bo,e),r(Wo,e),r($o,e)}(Gn);var Qw=Gn.ObservableFiniteStateMachine;export{Qw as ObservableFiniteStateMachine,Gw as useFiniteStateMachine,Kn as useForceUpdate,d as useIncrement,y as useIsFirstRender,b as useIsMounted,v as useMount,$n as useMultipleSelection,Jn as useResizeObserver,qn as useSingleSelection,Vn as useStateCycle,Hn as useStep,Yn as useToggle,h as useUpdateEffect};
|
|
17
|
+
*/function p(){return c||(c=1,e=f,"production"!==process.env.NODE_ENV&&function(){var t=a(),r=60103,n=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,i=60110,u=60112;e.Suspense=60113;var c=60120,s=60115,l=60116,f=60121,p=60122,d=60117,v=60129,b=60131;if("function"==typeof Symbol&&Symbol.for){var y=Symbol.for;r=y("react.element"),n=y("react.portal"),e.Fragment=y("react.fragment"),e.StrictMode=y("react.strict_mode"),e.Profiler=y("react.profiler"),o=y("react.provider"),i=y("react.context"),u=y("react.forward_ref"),e.Suspense=y("react.suspense"),c=y("react.suspense_list"),s=y("react.memo"),l=y("react.lazy"),f=y("react.block"),p=y("react.server.block"),d=y("react.fundamental"),y("react.scope"),y("react.opaque.id"),v=y("react.debug_trace_mode"),y("react.offscreen"),b=y("react.legacy_hidden")}var h="function"==typeof Symbol&&Symbol.iterator;function m(e){if(null===e||"object"!=typeof e)return null;var t=h&&e[h]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},O={current:null},w={},S=null;function _(e){S=e}w.setExtraStackFrame=function(e){S=e},w.getCurrentStack=null,w.getStackAddendum=function(){var e="";S&&(e+=S);var t=w.getCurrentStack;return t&&(e+=t()||""),e};var j={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:O,IsSomeRendererActing:{current:!1},assign:t};function x(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];P("warn",e,r)}function E(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];P("error",e,r)}function P(e,t,r){var n=j.ReactDebugCurrentFrame.getStackAddendum();""!==n&&(t+="%s",r=r.concat([n]));var o=r.map((function(e){return""+e}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}j.ReactDebugCurrentFrame=w;var A={};function T(e,t){var r=e.constructor,n=r&&(r.displayName||r.name)||"ReactClass",o=n+"."+t;A[o]||(E("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,n),A[o]=!0)}var I={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,r){T(e,"forceUpdate")},enqueueReplaceState:function(e,t,r,n){T(e,"replaceState")},enqueueSetState:function(e,t,r,n){T(e,"setState")}},k={};function C(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||I}Object.freeze(k),C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var F={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},N=function(e,t){Object.defineProperty(C.prototype,e,{get:function(){x("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var M in F)F.hasOwnProperty(M)&&N(M,F[M]);function R(){}function B(e,t,r){this.props=e,this.context=t,this.refs=k,this.updater=r||I}R.prototype=C.prototype;var L=B.prototype=new R;function U(e){return e.displayName||"Context"}function z(t){if(null==t)return null;if("number"==typeof t.tag&&E("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),"function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case e.Fragment:return"Fragment";case n:return"Portal";case e.Profiler:return"Profiler";case e.StrictMode:return"StrictMode";case e.Suspense:return"Suspense";case c:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case i:return U(t)+".Consumer";case o:return U(t._context)+".Provider";case u:return d=t,v=t.render,b="ForwardRef",y=v.displayName||v.name||"",d.displayName||(""!==y?b+"("+y+")":b);case s:return z(t.type);case f:return z(t._render);case l:var r=t,a=r._payload,p=r._init;try{return z(p(a))}catch(e){return null}}var d,v,b,y;return null}L.constructor=B,t(L,C.prototype),L.isPureReactComponent=!0;var W,D,q,V=Object.prototype.hasOwnProperty,$={key:!0,ref:!0,__self:!0,__source:!0};function Y(e){if(V.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function J(e){if(V.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function H(e,t){var r=function(){W||(W=!0,E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}function K(e,t){var r=function(){D||(D=!0,E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};r.isReactWarning=!0,Object.defineProperty(e,"ref",{get:r,configurable:!0})}function G(e){if("string"==typeof e.ref&&O.current&&e.__self&&O.current.stateNode!==e.__self){var t=z(O.current.type);q[t]||(E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),q[t]=!0)}}q={};var Q=function(e,t,n,o,i,a,u){var c={$$typeof:r,type:e,key:t,ref:n,props:u,_owner:a,_store:{}};return Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function X(e,t,r){var n,o={},i=null,a=null,u=null,c=null;if(null!=t)for(n in Y(t)&&(a=t.ref,G(t)),J(t)&&(i=""+t.key),u=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source,t)V.call(t,n)&&!$.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(s>1){for(var l=Array(s),f=0;f<s;f++)l[f]=arguments[f+2];Object.freeze&&Object.freeze(l),o.children=l}if(e&&e.defaultProps){var p=e.defaultProps;for(n in p)void 0===o[n]&&(o[n]=p[n])}if(i||a){var d="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&H(o,d),a&&K(o,d)}return Q(e,i,a,u,c,O.current,o)}function Z(e,r,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o,i,a=t({},e.props),u=e.key,c=e.ref,s=e._self,l=e._source,f=e._owner;if(null!=r)for(o in Y(r)&&(c=r.ref,f=O.current),J(r)&&(u=""+r.key),e.type&&e.type.defaultProps&&(i=e.type.defaultProps),r)V.call(r,o)&&!$.hasOwnProperty(o)&&(void 0===r[o]&&void 0!==i?a[o]=i[o]:a[o]=r[o]);var p=arguments.length-2;if(1===p)a.children=n;else if(p>1){for(var d=Array(p),v=0;v<p;v++)d[v]=arguments[v+2];a.children=d}return Q(e.type,u,c,s,l,f,a)}function ee(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var te=!1,re=/\/+/g;function ne(e){return e.replace(re,"$&/")}function oe(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function ie(e,t,o,i,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var c,s,l,f=!1;if(null===e)f=!0;else switch(u){case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case r:case n:f=!0}}if(f){var p=e,d=a(p),v=""===i?"."+oe(p,0):i;if(Array.isArray(d)){var b="";null!=v&&(b=ne(v)+"/"),ie(d,t,b,"",(function(e){return e}))}else null!=d&&(ee(d)&&(c=d,s=o+(!d.key||p&&p.key===d.key?"":ne(""+d.key)+"/")+v,d=Q(c.type,s,c.ref,c._self,c._source,c._owner,c.props)),t.push(d));return 1}var y=0,h=""===i?".":i+":";if(Array.isArray(e))for(var g=0;g<e.length;g++)y+=ie(l=e[g],t,o,h+oe(l,g),a);else{var O=m(e);if("function"==typeof O){var w=e;O===w.entries&&(te||x("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),te=!0);for(var S,_=O.call(w),j=0;!(S=_.next()).done;)y+=ie(l=S.value,t,o,h+oe(l,j++),a)}else if("object"===u){var E=""+e;throw Error("Objects are not valid as a React child (found: "+("[object Object]"===E?"object with keys {"+Object.keys(e).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}}return y}function ae(e,t,r){if(null==e)return e;var n=[],o=0;return ie(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function ue(e){if(-1===e._status){var t=(0,e._result)(),r=e;r._status=0,r._result=t,t.then((function(t){if(0===e._status){var r=t.default;void 0===r&&E("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t);var n=e;n._status=1,n._result=r}}),(function(t){if(0===e._status){var r=e;r._status=2,r._result=t}}))}if(1===e._status)return e._result;throw e._result}function ce(t){return"string"==typeof t||"function"==typeof t||t===e.Fragment||t===e.Profiler||t===v||t===e.StrictMode||t===e.Suspense||t===c||t===b||"object"==typeof t&&null!==t&&(t.$$typeof===l||t.$$typeof===s||t.$$typeof===o||t.$$typeof===i||t.$$typeof===u||t.$$typeof===d||t.$$typeof===f||t[0]===p)}function se(){var e=g.current;if(null===e)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return e}var le,fe,pe,de,ve,be,ye,he=0;function me(){}me.__reactDisabledLog=!0;var ge,Oe=j.ReactCurrentDispatcher;function we(e,t,r){if(void 0===ge)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);ge=n&&n[1]||""}return"\n"+ge+e}var Se,_e=!1,je="function"==typeof WeakMap?WeakMap:Map;function xe(e,r){if(!e||_e)return"";var n,o=Se.get(e);if(void 0!==o)return o;_e=!0;var i,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,i=Oe.current,Oe.current=null,function(){if(0===he){le=console.log,fe=console.info,pe=console.warn,de=console.error,ve=console.group,be=console.groupCollapsed,ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:me,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}he++}();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(u,[])}catch(e){n=e}Reflect.construct(e,[],u)}else{try{u.call()}catch(e){n=e}e.call(u.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var c=t.stack.split("\n"),s=n.stack.split("\n"),l=c.length-1,f=s.length-1;l>=1&&f>=0&&c[l]!==s[f];)f--;for(;l>=1&&f>=0;l--,f--)if(c[l]!==s[f]){if(1!==l||1!==f)do{if(l--,--f<0||c[l]!==s[f]){var p="\n"+c[l].replace(" at new "," at ");return"function"==typeof e&&Se.set(e,p),p}}while(l>=1&&f>=0);break}}}finally{_e=!1,Oe.current=i,function(){if(0==--he){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},e,{value:le}),info:t({},e,{value:fe}),warn:t({},e,{value:pe}),error:t({},e,{value:de}),group:t({},e,{value:ve}),groupCollapsed:t({},e,{value:be}),groupEnd:t({},e,{value:ye})})}he<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var d=e?e.displayName||e.name:"",v=d?we(d):"";return"function"==typeof e&&Se.set(e,v),v}function Ee(e,t,r){return xe(e,!1)}function Pe(t,r,n){if(null==t)return"";if("function"==typeof t)return xe(t,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(t));if("string"==typeof t)return we(t);switch(t){case e.Suspense:return we("Suspense");case c:return we("SuspenseList")}if("object"==typeof t)switch(t.$$typeof){case u:return Ee(t.render);case s:return Pe(t.type,r,n);case f:return Ee(t._render);case l:var o=t,i=o._payload,a=o._init;try{return Pe(a(i),r,n)}catch(e){}}return""}Se=new je;var Ae,Te={},Ie=j.ReactDebugCurrentFrame;function ke(e){if(e){var t=e._owner,r=Pe(e.type,e._source,t?t.type:null);Ie.setExtraStackFrame(r)}else Ie.setExtraStackFrame(null)}function Ce(e){if(e){var t=e._owner;_(Pe(e.type,e._source,t?t.type:null))}else _(null)}function Fe(){if(O.current){var e=z(O.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function Ne(e){return null!=e&&void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":"";var t}Ae=!1;var Me={};function Re(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var r=function(e){var t=Fe();if(!t){var r="string"==typeof e?e:e.displayName||e.name;r&&(t="\n\nCheck the top-level render call using <"+r+">.")}return t}(t);if(!Me[r]){Me[r]=!0;var n="";e&&e._owner&&e._owner!==O.current&&(n=" It was passed a child from "+z(e._owner.type)+"."),Ce(e),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',r,n),Ce(null)}}}function Be(e,t){if("object"==typeof e)if(Array.isArray(e))for(var r=0;r<e.length;r++){var n=e[r];ee(n)&&Re(n,t)}else if(ee(e))e._store&&(e._store.validated=!0);else if(e){var o=m(e);if("function"==typeof o&&o!==e.entries)for(var i,a=o.call(e);!(i=a.next()).done;)ee(i.value)&&Re(i.value,t)}}function Le(e){var t,r=e.type;if(null!=r&&"string"!=typeof r){if("function"==typeof r)t=r.propTypes;else{if("object"!=typeof r||r.$$typeof!==u&&r.$$typeof!==s)return;t=r.propTypes}if(t){var n=z(r);!function(e,t,r,n,o){var i=Function.call.bind(Object.prototype.hasOwnProperty);for(var a in e)if(i(e,a)){var u=void 0;try{if("function"!=typeof e[a]){var c=Error((n||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}u=e[a](t,a,n,r,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){u=e}!u||u instanceof Error||(ke(o),E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",r,a,typeof u),ke(null)),u instanceof Error&&!(u.message in Te)&&(Te[u.message]=!0,ke(o),E("Failed %s type: %s",r,u.message),ke(null))}}(t,e.props,"prop",n,e)}else void 0===r.PropTypes||Ae||(Ae=!0,E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",z(r)||"Unknown"));"function"!=typeof r.getDefaultProps||r.getDefaultProps.isReactClassApproved||E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ue(e){for(var t=Object.keys(e.props),r=0;r<t.length;r++){var n=t[r];if("children"!==n&&"key"!==n){Ce(e),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),Ce(null);break}}null!==e.ref&&(Ce(e),E("Invalid attribute `ref` supplied to `React.Fragment`."),Ce(null))}function ze(t,n,o){var i=ce(t);if(!i){var a="";(void 0===t||"object"==typeof t&&null!==t&&0===Object.keys(t).length)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var u,c=Ne(n);a+=c||Fe(),null===t?u="null":Array.isArray(t)?u="array":void 0!==t&&t.$$typeof===r?(u="<"+(z(t.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof t,E("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var s=X.apply(this,arguments);if(null==s)return s;if(i)for(var l=2;l<arguments.length;l++)Be(arguments[l],t);return t===e.Fragment?Ue(s):Le(s),s}var We=!1;try{var De=Object.freeze({});new Map([[De,null]]),new Set([De])}catch(e){}var qe=ze,Ve=function(e,t,r){for(var n=Z.apply(this,arguments),o=2;o<arguments.length;o++)Be(arguments[o],n.type);return Le(n),n},$e=function(e){var t=ze.bind(null,e);return t.type=e,We||(We=!0,x("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return x("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},Ye={map:ae,forEach:function(e,t,r){ae(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return ae(e,(function(){t++})),t},toArray:function(e){return ae(e,(function(e){return e}))||[]},only:function(e){if(!ee(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};e.Children=Ye,e.Component=C,e.PureComponent=B,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,e.cloneElement=Ve,e.createContext=function(e,t){void 0===t?t=null:null!==t&&"function"!=typeof t&&E("createContext: Expected the optional second argument to be a function. Instead received: %s",t);var r={$$typeof:i,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};r.Provider={$$typeof:o,_context:r};var n=!1,a=!1,u=!1,c={$$typeof:i,_context:r,_calculateChangedBits:r._calculateChangedBits};return Object.defineProperties(c,{Provider:{get:function(){return a||(a=!0,E("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),r.Provider},set:function(e){r.Provider=e}},_currentValue:{get:function(){return r._currentValue},set:function(e){r._currentValue=e}},_currentValue2:{get:function(){return r._currentValue2},set:function(e){r._currentValue2=e}},_threadCount:{get:function(){return r._threadCount},set:function(e){r._threadCount=e}},Consumer:{get:function(){return n||(n=!0,E("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),r.Consumer}},displayName:{get:function(){return r.displayName},set:function(e){u||(x("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),u=!0)}}}),r.Consumer=c,r._currentRenderer=null,r._currentRenderer2=null,r},e.createElement=qe,e.createFactory=$e,e.createRef=function(){var e={current:null};return Object.seal(e),e},e.forwardRef=function(e){null!=e&&e.$$typeof===s?E("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?E("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&E("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||E("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,r={$$typeof:u,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,null==e.displayName&&(e.displayName=r)}}),r},e.isValidElement=ee,e.lazy=function(e){var t,r,n={$$typeof:l,_payload:{_status:-1,_result:e},_init:ue};return Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){E("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return r},set:function(e){E("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),r=e,Object.defineProperty(n,"propTypes",{enumerable:!0})}}}),n},e.memo=function(e,t){ce(e)||E("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var r,n={$$typeof:s,type:e,compare:void 0===t?null:t};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,null==e.displayName&&(e.displayName=t)}}),n},e.useCallback=function(e,t){return se().useCallback(e,t)},e.useContext=function(e,t){var r=se();if(void 0!==t&&E("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",t,"number"==typeof t&&Array.isArray(arguments[2])?"\n\nDid you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks":""),void 0!==e._context){var n=e._context;n.Consumer===e?E("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&E("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return r.useContext(e,t)},e.useDebugValue=function(e,t){return se().useDebugValue(e,t)},e.useEffect=function(e,t){return se().useEffect(e,t)},e.useImperativeHandle=function(e,t,r){return se().useImperativeHandle(e,t,r)},e.useLayoutEffect=function(e,t){return se().useLayoutEffect(e,t)},e.useMemo=function(e,t){return se().useMemo(e,t)},e.useReducer=function(e,t,r){return se().useReducer(e,t,r)},e.useRef=function(e){return se().useRef(e)},e.useState=function(e){return se().useState(e)},e.version="17.0.2"}()),f;var e}function d(e){const[t,r]=o.exports.useState(e);return[t,function(e=1){r((t=>t+e))},function(){r(e)}]}function v(e){o.exports.useEffect(e,[])}function b(){const e=o.exports.useRef(!1);return v((()=>(e.current=!0,()=>{e.current=!1}))),()=>e.current}function y(){const e=o.exports.useRef(l.InitialValue);switch(e.current){case l.InitialValue:e.current=l.First;break;case l.First:e.current=l.NotFirst;break;case l.NotFirst:}return()=>e.current===l.First}function h(){const e=o.exports.useRef(0);return e.current++,e.current}function m(e,t){const r=y();o.exports.useEffect((()=>{if(!r())return e()}),t)}s=o,"production"===process.env.NODE_ENV?s.exports=u():s.exports=p(),function(e){e[e.InitialValue=0]="InitialValue",e[e.First=1]="First",e[e.NotFirst=2]="NotFirst"}(l||(l={}));var g={},O={};function w(e){return Array.isArray(e)}O.isntEmptyArray=O.isEmptyArray=O.isntArray=O.isArray=void 0,O.isArray=w,O.isntArray=function(e){return!w(e)},O.isEmptyArray=function(e){return 0===e.length},O.isntEmptyArray=function(e){return 0!==e.length};var S={},_={};function j(e){return null===e}_.isntNull=_.isNull=void 0,_.isNull=j,_.isntNull=function(e){return!j(e)};var x={};function E(e){return void 0===e}x.isntUndefined=x.isUndefined=void 0,x.isUndefined=E,x.isntUndefined=function(e){return!E(e)};var P={};function A(e){return"function"==typeof e}P.isntFunction=P.isFunction=void 0,P.isFunction=A,P.isntFunction=function(e){return!A(e)},S.isntAsyncIterable=S.isAsyncIterable=void 0;const T=_,I=x,k=P;function C(e){return(0,T.isntNull)(e)&&(0,I.isntUndefined)(e)&&(0,k.isFunction)(e[Symbol.asyncIterator])}S.isAsyncIterable=C,S.isntAsyncIterable=function(e){return!C(e)};var F={};function N(e){return"bigint"==typeof e}F.isntBigInt=F.isBigInt=void 0,F.isBigInt=N,F.isntBigInt=function(e){return!N(e)};var M={};function R(e){return"boolean"==typeof e}M.isntBoolean=M.isBoolean=void 0,M.isBoolean=R,M.isntBoolean=function(e){return!R(e)};var B={},L={};function U(e){return"string"==typeof e}L.isntString=L.isString=void 0,L.isString=U,L.isntString=function(e){return!U(e)},B.isntChar=B.isChar=void 0;const z=L;function W(e){return(0,z.isString)(e)&&1===e.length}B.isChar=W,B.isntChar=function(e){return!W(e)};var D={};function q(e){return e instanceof Date}D.isntDate=D.isDate=void 0,D.isDate=q,D.isntDate=function(e){return!q(e)};var V={};V.inEnum=void 0,V.inEnum=function(e,t){return Object.values(t).includes(e)};var $={};function Y(e){return e instanceof Error}$.isntError=$.isError=void 0,$.isError=Y,$.isntError=function(e){return!Y(e)};var J={};function H(e){return!e}J.isntFalsy=J.isFalsy=void 0,J.isFalsy=H,J.isntFalsy=function(e){return!H(e)};var K={};K.isntIterable=K.isIterable=void 0;const G=_,Q=x,X=P;function Z(e){return(0,G.isntNull)(e)&&(0,Q.isntUndefined)(e)&&(0,X.isFunction)(e[Symbol.iterator])}K.isIterable=Z,K.isntIterable=function(e){return!Z(e)};var ee={},te={};function re(e){return"number"==typeof e}function ne(e){return Number.isNaN(e)}te.isntNaN=te.isNaN=te.isNegativeInfinity=te.isPositiveInfinity=te.isFinite=te.isntNumber=te.isNumber=void 0,te.isNumber=re,te.isntNumber=function(e){return!re(e)},te.isFinite=function(e){return Number.isFinite(e)},te.isPositiveInfinity=function(e){return e===1/0},te.isNegativeInfinity=function(e){return e===-1/0},te.isNaN=ne,te.isntNaN=function(e){return!ne(e)};var oe={},ie="object"==typeof n&&n&&n.Object===Object&&n,ae="object"==typeof self&&self&&self.Object===Object&&self,ue=(ie||ae||Function("return this")()).Symbol,ce=ue,se=Object.prototype,le=se.hasOwnProperty,fe=se.toString,pe=ce?ce.toStringTag:void 0;var de=function(e){var t=le.call(e,pe),r=e[pe];try{e[pe]=void 0;var n=!0}catch(e){}var o=fe.call(e);return n&&(t?e[pe]=r:delete e[pe]),o},ve=Object.prototype.toString;var be=de,ye=function(e){return ve.call(e)},he=ue?ue.toStringTag:void 0;var me=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":he&&he in Object(e)?be(e):ye(e)};var ge=function(e,t){return function(r){return e(t(r))}}(Object.getPrototypeOf,Object);var Oe=me,we=ge,Se=function(e){return null!=e&&"object"==typeof e},_e=Function.prototype,je=Object.prototype,xe=_e.toString,Ee=je.hasOwnProperty,Pe=xe.call(Object);var Ae=function(e){if(!Se(e)||"[object Object]"!=Oe(e))return!1;var t=we(e);if(null===t)return!0;var r=Ee.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&xe.call(r)==Pe},Te=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};oe.isntEmptyObject=oe.isEmptyObject=oe.isntPlainObject=oe.isPlainObject=oe.isntObject=oe.isObject=void 0;const Ie=Te(Ae);function ke(e){return null!==e&&"object"==typeof e}function Ce(e){return(0,Ie.default)(e)}oe.isObject=ke,oe.isntObject=function(e){return!ke(e)},oe.isPlainObject=Ce,oe.isntPlainObject=function(e){return!Ce(e)},oe.isEmptyObject=function(e){return 0===Object.keys(e).length},oe.isntEmptyObject=function(e){return 0!==Object.keys(e).length},ee.isntJsonable=ee.isJsonable=ee.isntJson=ee.isJson=void 0;const Fe=_,Ne=M,Me=L,Re=te,Be=O,Le=oe;function Ue(e){return(0,Fe.isNull)(e)||(0,Ne.isBoolean)(e)||(0,Me.isString)(e)||(0,Re.isNumber)(e)||(0,Be.isArray)(e)&&e.every(Ue)||(0,Le.isPlainObject)(e)&&Object.values(e).every(Ue)}ee.isJson=Ue,ee.isntJson=function(e){return!Ue(e)},ee.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},ee.isntJsonable=function e(t){return!e()};var ze={};ze.isPromiseLike=ze.isntPromiseLike=ze.isntPromise=ze.isPromise=void 0;const We=oe,De=P;function qe(e){return e instanceof Promise}function Ve(e){return(0,We.isObject)(e)&&(0,De.isFunction)(e.then)}ze.isPromise=qe,ze.isntPromise=function(e){return!qe(e)},ze.isntPromiseLike=function(e){return!Ve(e)},ze.isPromiseLike=Ve;var $e={};$e.isAbsoluteURL=void 0,$e.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}};var Ye,Je,He,Ke={};function Ge(e){return e instanceof RegExp}Ke.isntRegExp=Ke.isRegExp=void 0,Ke.isRegExp=Ge,Ke.isntRegExp=function(e){return!Ge(e)},Ye=g,Je=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),(He=n&&n.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Je(t,e,r)})(O,Ye),He(S,Ye),He(F,Ye),He(M,Ye),He(B,Ye),He(D,Ye),He(V,Ye),He($,Ye),He(J,Ye),He(P,Ye),He(K,Ye),He(ee,Ye),He(_,Ye),He(te,Ye),He(oe,Ye),He(ze,Ye),He(L,Ye),He(x,Ye),He($e,Ye),He(Ke,Ye);var Qe,Xe={},Ze={},et={},tt={},rt={},nt={},ot={};ot.go=void 0,ot.go=function(e){return e()},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});(n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(ot,e)}(nt);var it={},at={},ut={};function ct(e){return Array.isArray(e)}ut.isntEmptyArray=ut.isEmptyArray=ut.isntArray=ut.isArray=void 0,ut.isArray=ct,ut.isntArray=function(e){return!ct(e)},ut.isEmptyArray=function(e){return 0===e.length},ut.isntEmptyArray=function(e){return 0!==e.length};var st={},lt={};function ft(e){return null===e}lt.isntNull=lt.isNull=void 0,lt.isNull=ft,lt.isntNull=function(e){return!ft(e)};var pt={};function dt(e){return void 0===e}pt.isntUndefined=pt.isUndefined=void 0,pt.isUndefined=dt,pt.isntUndefined=function(e){return!dt(e)};var vt={};function bt(e){return"function"==typeof e}vt.isntFunction=vt.isFunction=void 0,vt.isFunction=bt,vt.isntFunction=function(e){return!bt(e)},st.isntAsyncIterable=st.isAsyncIterable=void 0;const yt=lt,ht=pt,mt=vt;function gt(e){return(0,yt.isntNull)(e)&&(0,ht.isntUndefined)(e)&&(0,mt.isFunction)(e[Symbol.asyncIterator])}st.isAsyncIterable=gt,st.isntAsyncIterable=function(e){return!gt(e)};var Ot={};function wt(e){return"bigint"==typeof e}Ot.isntBigInt=Ot.isBigInt=void 0,Ot.isBigInt=wt,Ot.isntBigInt=function(e){return!wt(e)};var St={};function _t(e){return"boolean"==typeof e}St.isntBoolean=St.isBoolean=void 0,St.isBoolean=_t,St.isntBoolean=function(e){return!_t(e)};var jt={},xt={};function Et(e){return"string"==typeof e}xt.isntString=xt.isString=void 0,xt.isString=Et,xt.isntString=function(e){return!Et(e)},jt.isntChar=jt.isChar=void 0;const Pt=xt;function At(e){return(0,Pt.isString)(e)&&1===e.length}jt.isChar=At,jt.isntChar=function(e){return!At(e)};var Tt={};function It(e){return e instanceof Date}Tt.isntDate=Tt.isDate=void 0,Tt.isDate=It,Tt.isntDate=function(e){return!It(e)};var kt={};kt.inEnum=void 0,kt.inEnum=function(e,t){return Object.values(t).includes(e)};var Ct={};function Ft(e){return e instanceof Error}Ct.isntError=Ct.isError=void 0,Ct.isError=Ft,Ct.isntError=function(e){return!Ft(e)};var Nt={};function Mt(e){return!e}Nt.isntFalsy=Nt.isFalsy=void 0,Nt.isFalsy=Mt,Nt.isntFalsy=function(e){return!Mt(e)};var Rt={};Rt.isntIterable=Rt.isIterable=void 0;const Bt=lt,Lt=pt,Ut=vt;function zt(e){return(0,Bt.isntNull)(e)&&(0,Lt.isntUndefined)(e)&&(0,Ut.isFunction)(e[Symbol.iterator])}Rt.isIterable=zt,Rt.isntIterable=function(e){return!zt(e)};var Wt={},Dt={};function qt(e){return"number"==typeof e}function Vt(e){return Number.isNaN(e)}Dt.isntNaN=Dt.isNaN=Dt.isNegativeInfinity=Dt.isPositiveInfinity=Dt.isFinite=Dt.isntNumber=Dt.isNumber=void 0,Dt.isNumber=qt,Dt.isntNumber=function(e){return!qt(e)},Dt.isFinite=function(e){return Number.isFinite(e)},Dt.isPositiveInfinity=function(e){return e===1/0},Dt.isNegativeInfinity=function(e){return e===-1/0},Dt.isNaN=Vt,Dt.isntNaN=function(e){return!Vt(e)};var $t={},Yt=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};$t.isntEmptyObject=$t.isEmptyObject=$t.isntPlainObject=$t.isPlainObject=$t.isntObject=$t.isObject=void 0;const Jt=Yt(Ae);function Ht(e){return null!==e&&"object"==typeof e}function Kt(e){return(0,Jt.default)(e)}$t.isObject=Ht,$t.isntObject=function(e){return!Ht(e)},$t.isPlainObject=Kt,$t.isntPlainObject=function(e){return!Kt(e)},$t.isEmptyObject=function(e){return 0===Object.keys(e).length},$t.isntEmptyObject=function(e){return 0!==Object.keys(e).length},Wt.isntJsonable=Wt.isJsonable=Wt.isntJson=Wt.isJson=void 0;const Gt=lt,Qt=St,Xt=xt,Zt=Dt,er=ut,tr=$t;function rr(e){return(0,Gt.isNull)(e)||(0,Qt.isBoolean)(e)||(0,Xt.isString)(e)||(0,Zt.isNumber)(e)||(0,er.isArray)(e)&&e.every(rr)||(0,tr.isPlainObject)(e)&&Object.values(e).every(rr)}Wt.isJson=rr,Wt.isntJson=function(e){return!rr(e)},Wt.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},Wt.isntJsonable=function e(t){return!e()};var nr={};nr.isPromiseLike=nr.isntPromiseLike=nr.isntPromise=nr.isPromise=void 0;const or=$t,ir=vt;function ar(e){return e instanceof Promise}function ur(e){return(0,or.isObject)(e)&&(0,ir.isFunction)(e.then)}nr.isPromise=ar,nr.isntPromise=function(e){return!ar(e)},nr.isntPromiseLike=function(e){return!ur(e)},nr.isPromiseLike=ur;var cr={};cr.isAbsoluteURL=void 0,cr.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(ut,e),r(st,e),r(Ot,e),r(St,e),r(jt,e),r(Tt,e),r(kt,e),r(Ct,e),r(Nt,e),r(vt,e),r(Rt,e),r(Wt,e),r(lt,e),r(Dt,e),r($t,e),r(nr,e),r(xt,e),r(pt,e),r(cr,e)}(at),it.chunkByAsync=void 0;const sr=at;it.chunkByAsync=function(e,t){return(0,sr.isAsyncIterable)(e)?async function*(e){let r=[],n=0;for await(const o of e)r.push(o),await t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)}(e):async function*(e){let r=[],n=0;for(const o of e)r.push(o),await t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)}(e)};var lr={};lr.chunkBy=void 0,lr.chunkBy=function*(e,t){let r=[],n=0;for(const o of e)r.push(o),t(o,n)&&(yield r,r=[]),n++;r.length&&(yield r)};var fr,pr={};var dr={concatAsync:void 0};const vr=at,br=nt;dr.concatAsync=function(e,...t){return(0,br.go)((async function*(){for(const r of[e,...t])if((0,vr.isAsyncIterable)(r))for await(const e of r)yield e;else for(const e of r)yield e}))};var yr={concat:void 0};const hr=nt;yr.concat=function(e,...t){return(0,hr.go)((function*(){for(const r of[e,...t])yield*r}))};var mr,gr={},Or={};Or.copyIterable=Or.copyAsyncIterable=void 0,Or.copyAsyncIterable=async function*(e){for await(const t of e)yield t},Or.copyIterable=function*(e){for(const t of e)yield t};var wr,Sr={};var _r,jr={};var xr={dropUntilAsync:void 0};const Er=at;xr.dropUntilAsync=function(e,t){return(0,Er.isAsyncIterable)(e)?async function*(e){var r;const n=e[Symbol.asyncIterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=await n.next()),o||await t(e,i++)););for(;!o;)yield e,({value:e,done:o}=await n.next())}finally{o||await(null===(r=n.return)||void 0===r?void 0:r.call(n))}}(e):async function*(e){var r;const n=e[Symbol.iterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=n.next()),o||await t(e,i++)););for(;!o;)yield e,({value:e,done:o}=n.next())}finally{o||null===(r=n.return)||void 0===r||r.call(n)}}(e)};var Pr={};Pr.dropUntil=void 0,Pr.dropUntil=function*(e,t){var r;const n=e[Symbol.iterator]();let o;try{let e,i=0;for(;!(({value:e,done:o}=n.next()),o||t(e,i++)););for(;!o;)yield e,({value:e,done:o}=n.next())}finally{o||null===(r=n.return)||void 0===r||r.call(n)}};var Ar,Tr={};var Ir={filterAsync:void 0};const kr=at;Ir.filterAsync=function(e,t){return(0,kr.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)await t(n,r)&&(yield n),r++}(e):async function*(e){let r=0;for(const n of e)await t(n,r)&&(yield n),r++}(e)};var Cr={};Cr.filter=void 0,Cr.filter=function*(e,t){let r=0;for(const n of e)t(n,r)&&(yield n),r++};var Fr={},Nr={},Mr={flattenByAsync:void 0};const Rr=at;function Br(e){return(0,Rr.isIterable)(e)&&(0,Rr.isntChar)(e)}var Lr,Ur;function zr(){if(Lr)return Nr;Lr=1,Nr.flattenDeepAsync=void 0;const e=Mr,t=Jo();return Nr.flattenDeepAsync=function(r,n=1/0){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,t.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,e.flattenByAsync)(r,((e,t)=>t<=n))},Nr}Mr.flattenByAsync=function(e,t){return(0,Rr.isAsyncIterable)(e)?async function*(e){const n=1;for await(const o of e)Br(o)&&await t(o,n)?yield*r(o,n+1):yield o}(e):function(e){return r(e,1)}(e);async function*r(e,n){for(const o of e)Br(o)&&await t(o,n)?yield*r(o,n+1):yield o}};var Wr={flattenBy:void 0};const Dr=at;Wr.flattenBy=function(e,t){return function*e(r,n){for(const i of r)(0,Dr.isIterable)(o=i)&&(0,Dr.isntChar)(o)&&t(i,n)?yield*e(i,n+1):yield i;var o}(e,1)};var qr,Vr={};function $r(){if(qr)return Vr;qr=1,Vr.flattenDeep=void 0;const e=Wr,t=Jo();return Vr.flattenDeep=function(r,n=1/0){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter depth must be an integer"),(0,t.assert)(n>=0,"The parameter depth must be greater than or equal to 0"),(0,e.flattenBy)(r,((e,t)=>t<=n))},Vr}var Yr,Jr={};var Hr={mapAsync:void 0};const Kr=at;Hr.mapAsync=function(e,t){return(0,Kr.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)yield await t(n,r),r++}(e):async function*(e){let r=0;for(const n of e)yield await t(n,r),r++}(e)};var Gr={};Gr.map=void 0,Gr.map=function*(e,t){let r=0;for(const n of e)yield t(n,r),r++};var Qr,Xr={};function Zr(){if(Qr)return Xr;Qr=1,Xr.repeatAsync=void 0;const e=nt,t=Jo();return Xr.repeatAsync=function(r,n){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,t.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,e.go)((async function*(){const e=[];if(n>0){for await(const t of r)yield t,e.push(t);n--}for(;n>0;)yield*e,n--}))},Xr}var en,tn={};function rn(){if(en)return tn;en=1,tn.repeat=void 0;const e=nt,t=Jo();return tn.repeat=function(r,n){return(0,t.assert)(n===1/0||Number.isInteger(n),"The parameter times must be an integer"),(0,t.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,e.go)((function*(){const e=[];if(n>0){for(const t of r)yield t,e.push(t);n--}for(;n>0;)yield*e,n--}))},tn}var nn,on={};var an,un={};var cn={};cn.splitAsync=void 0,cn.splitAsync=async function*(e,t){let r=[];for await(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var sn={splitByAsync:void 0};const ln=at;sn.splitByAsync=function(e,t){return(0,ln.isAsyncIterable)(e)?async function*(e){let r=[],n=0;for await(const o of e)await t(o,n)?(yield r,r=[]):r.push(o),n++;yield r}(e):async function*(e){let r=[],n=0;for(const o of e)await t(o,n)?(yield r,r=[]):r.push(o),n++;yield r}(e)};var fn={};fn.splitBy=void 0,fn.splitBy=function*(e,t){let r=[],n=0;for(const o of e)t(o,n)?(yield r,r=[]):r.push(o),n++;yield r};var pn={};pn.split=void 0,pn.split=function*(e,t){let r=[];for(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var dn,vn={};var bn,yn={};var hn,mn={};var gn={takeUntilAsync:void 0};const On=at;gn.takeUntilAsync=function(e,t){return(0,On.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e){if(await t(n,r))break;yield n,r++}}(e):async function*(e){let r=0;for(const n of e){if(await t(n,r))break;yield n,r++}}(e)};var wn={};wn.takeUntil=void 0,wn.takeUntil=function*(e,t){let r=0;for(const n of e){if(t(n,r))break;yield n,r++}};var Sn,_n={};var jn={tapAsync:void 0};const xn=at;jn.tapAsync=function(e,t){return(0,xn.isAsyncIterable)(e)?async function*(e){let r=0;for await(const n of e)await t(n,r),yield n,r++}(e):async function*(e){let r=0;for(const n of e)await t(n,r),yield n,r++}(e)};var En={};En.tap=void 0,En.tap=function*(e,t){let r=0;for(const n of e)t(n,r),yield n,r++};var Pn={};Pn.toAsyncIterable=void 0,Pn.toAsyncIterable=async function*(e){for(const t of e)yield t};var An={};An.transformAsync=void 0,An.transformAsync=async function*(e,t){yield*t(e)};var Tn={};Tn.transform=void 0,Tn.transform=function*(e,t){yield*t(e)};var In={};In.uniqAsync=void 0,In.uniqAsync=async function*(e){const t=new Set;for await(const r of e)t.has(r)||(yield r,t.add(r))};var kn={uniqByAsync:void 0};const Cn=at;kn.uniqByAsync=function(e,t){return(0,Cn.isAsyncIterable)(e)?async function*(e){const r=new Set;let n=0;for await(const o of e){const e=await t(o,n);r.has(e)||(yield o,r.add(e)),n++}}(e):async function*(e){const r=new Set;let n=0;for(const o of e){const e=await t(o,n);r.has(e)||(yield o,r.add(e)),n++}}(e)};var Fn={};Fn.uniqBy=void 0,Fn.uniqBy=function*(e,t){const r=new Set;let n=0;for(const o of e){const e=t(o,n);r.has(e)||(yield o,r.add(e)),n++}};var Nn={};Nn.uniq=void 0,Nn.uniq=function*(e){const t=new Set;for(const r of e)t.has(r)||(yield r,t.add(r))};var Mn={zipAsync:void 0};const Rn=at;var Bn;!function(e){e[e.Sync=0]="Sync",e[e.Async=1]="Async"}(Bn||(Bn={})),Mn.zipAsync=function(e,...t){return async function*(...e){var t,r,n,o;const i=e.length,a=e.map((e=>(0,Rn.isAsyncIterable)(e)?[Bn.Async,e[Symbol.asyncIterator]()]:[Bn.Sync,e[Symbol.iterator]()])),u=a.map((()=>!1));try{for(;;){const e=new Array(i);for(let t=0;t<i;t++){const[r,n]=a[t];let o;if(o=r===Bn.Async?await n.next():n.next(),o.done)return void(u[t]=!0);e[t]=o.value}yield e}}finally{const e=a.filter(((e,t)=>!u[t]));for(const[i,a]of e)i===Bn.Async?await(null===(r=(t=a).return)||void 0===r?void 0:r.call(t)):null===(o=(n=a).return)||void 0===o||o.call(n)}}(e,...t)};var Ln,Un={};function zn(){return Ln||(Ln=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(function(){if(Qe)return rt;Qe=1,rt.chunkAsync=void 0;const e=nt,t=Jo();return rt.chunkAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,t.assert)(n>0,"The parameter size must be greater than 0"),(0,e.go)((async function*(){let e=[];for await(const t of r)e.push(t),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))},rt}(),e),r(it,e),r(lr,e),r(function(){if(fr)return pr;fr=1,pr.chunk=void 0;const e=nt,t=Jo();return pr.chunk=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter size must be an integer"),(0,t.assert)(n>0,"The parameter size must be greater than 0"),(0,e.go)((function*(){let e=[];for(const t of r)e.push(t),e.length>=n&&(yield e,e=[]);e.length&&(yield e)}))},pr}(),e),r(dr,e),r(yr,e),r(function(){if(mr)return gr;mr=1,gr.dropAsync=void 0;const e=nt,t=Or,r=Jo();return gr.dropAsync=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyAsyncIterable)(n):(0,e.go)((async function*(){var e;const t=n[Symbol.asyncIterator]();let r;try{let n;for(;({value:n,done:r}=await t.next()),!(r||o<=0);)o--;for(;!r;)yield n,({value:n,done:r}=await t.next())}finally{r||await(null===(e=t.return)||void 0===e?void 0:e.call(t))}}))},gr}(),e),r(function(){if(wr)return Sr;wr=1,Sr.dropRightAsync=void 0;const e=nt,t=Or,r=Jo();return Sr.dropRightAsync=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyAsyncIterable)(n):(0,e.go)((async function*(){const e=(await async function(e){const t=[];for await(const r of e)t.push(r);return t}(n)).slice(0,-o);for(const t of e)yield t}))},Sr}(),e),r(function(){if(_r)return jr;_r=1,jr.dropRight=void 0;const e=nt,t=Or,r=Jo();return jr.dropRight=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyIterable)(n):(0,e.go)((function*(){const e=Array.from(n);yield*e.slice(0,-o)}))},jr}(),e),r(xr,e),r(Pr,e),r(function(){if(Ar)return Tr;Ar=1,Tr.drop=void 0;const e=nt,t=Or,r=Jo();return Tr.drop=function(n,o){return(0,r.assert)(Number.isInteger(o),"The parameter count must be an integer"),(0,r.assert)(o>=0,"The parameter count must be greater than or equal to 0"),0===o?(0,t.copyIterable)(n):(0,e.go)((function*(){var e;const t=n[Symbol.iterator]();let r;try{let n;for(;({value:n,done:r}=t.next()),!(r||o<=0);)o--;for(;!r;)yield n,({value:n,done:r}=t.next())}finally{r||null===(e=t.return)||void 0===e||e.call(t)}}))},Tr}(),e),r(Ir,e),r(Cr,e),r(function(){if(Ur)return Fr;Ur=1,Fr.flattenAsync=void 0;const e=zr();return Fr.flattenAsync=function(t){return(0,e.flattenDeepAsync)(t,1)},Fr}(),e),r(Mr,e),r(Wr,e),r(zr(),e),r($r(),e),r(function(){if(Yr)return Jr;Yr=1,Jr.flatten=void 0;const e=$r();return Jr.flatten=function(t){return(0,e.flattenDeep)(t,1)},Jr}(),e),r(Hr,e),r(Gr,e),r(Zr(),e),r(rn(),e),r(function(){if(nn)return on;nn=1,on.sliceAsync=void 0;const e=nt,t=Jo();return on.sliceAsync=function(r,n,o=1/0){return(0,t.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,t.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,t.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,t.assert)(o>=n,"The parameter end must be greater than or equal to start"),(0,e.go)((async function*(){let e=0;for await(const t of r){if(e>=o)break;e>=n&&(yield t),e++}}))},on}(),e),r(function(){if(an)return un;an=1,un.slice=void 0;const e=nt,t=Jo();return un.slice=function(r,n,o=1/0){return(0,t.assert)(Number.isInteger(n),"The parameter start must be an integer"),(0,t.assert)(n>=0,"The parameter start must be greater than or equal to 0"),(0,t.assert)(Number.isInteger(o),"The parameter end must be an integer"),(0,t.assert)(o>=n,"The parameter end must be greater than or equal to start"),(0,e.go)((function*(){let e=0;for(const t of r){if(e>=o)break;e>=n&&(yield t),e++}}))},un}(),e),r(cn,e),r(sn,e),r(fn,e),r(pn,e),r(function(){if(dn)return vn;dn=1,vn.takeAsync=void 0;const e=nt,t=Jo();return vn.takeAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((async function*(){if(0!==n)for await(const e of r)if(yield e,0==--n)break}))},vn}(),e),r(function(){if(bn)return yn;bn=1,yn.takeRightAsync=void 0;const e=nt,t=Jo();return yn.takeRightAsync=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((async function*(){var e;const t=r[Symbol.asyncIterator]();let o;try{const r=[];let i;for(;({value:i,done:o}=await t.next()),!o;)r.push(i),r.length>n&&r.shift();yield*r}finally{o||await(null===(e=t.return)||void 0===e?void 0:e.call(t))}}))},yn}(),e),r(function(){if(hn)return mn;hn=1,mn.takeRight=void 0;const e=nt,t=Jo();return mn.takeRight=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((function*(){var e;const t=r[Symbol.iterator]();let o;try{const r=[];let i;for(;({value:i,done:o}=t.next()),!o;)r.push(i),r.length>n&&r.shift();yield*r}finally{o||null===(e=t.return)||void 0===e||e.call(t)}}))},mn}(),e),r(gn,e),r(wn,e),r(function(){if(Sn)return _n;Sn=1,_n.take=void 0;const e=nt,t=Jo();return _n.take=function(r,n){return(0,t.assert)(Number.isInteger(n),"The parameter count must be an integer"),(0,t.assert)(n>=0,"The parameter count must be greater than or equal to 0"),(0,e.go)((function*(){if(0!==n)for(const e of r)if(yield e,0==--n)break}))},_n}(),e),r(jn,e),r(En,e),r(Pn,e),r(An,e),r(Tn,e),r(In,e),r(kn,e),r(Fn,e),r(Nn,e),r(Mn,e),r(Un,e)}(tt)),tt}Un.zip=void 0,Un.zip=function(e,...t){return function*(...e){const t=e.length,r=e.map((e=>e[Symbol.iterator]())),n=r.map((()=>!1));try{for(;;){const e=new Array(t);for(let o=0;o<t;o++){const{value:t,done:i}=r[o].next();if(i)return void(n[o]=!0);e[o]=t}yield e}}finally{r.filter(((e,t)=>!n[t])).forEach((e=>{var t;return null===(t=e.return)||void 0===t?void 0:t.call(e)}))}}(e,...t)};var Wn={},Dn={};Dn.consume=void 0,Dn.consume=function(e,t){return t(e)};var qn={eachAsync:void 0};const Vn=at;qn.eachAsync=function(e,t){return(0,Vn.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e)await t(n,r),r++}(e):async function(e){let r=0;for(const n of e)await t(n,r),r++}(e)};var $n={};$n.each=void 0,$n.each=function(e,t){let r=0;for(const n of e)t(n,r),r++};var Yn={everyAsync:void 0};const Jn=at;Yn.everyAsync=function(e,t){return(0,Jn.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(!await t(n,r))return!1;r++}return!0}(e):async function(e){let r=0;for(const n of e){if(!await t(n,r))return!1;r++}return!0}(e)};var Hn={};Hn.every=void 0,Hn.every=function(e,t){let r=0;for(const n of e){if(!t(n,r))return!1;r++}return!0};var Kn={findAsync:void 0};const Gn=at;Kn.findAsync=function(e,t){return(0,Gn.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(await t(n,r))return n;r++}return}(e):async function(e){let r=0;for(const n of e){if(await t(n,r))return n;r++}return}(e)};var Qn={};Qn.find=void 0,Qn.find=function(e,t){let r=0;for(const n of e){if(t(n,r))return n;r++}};var Xn={};Xn.firstAsync=void 0,Xn.firstAsync=async function(e){for await(const t of e)return t};var Zn={};Zn.first=void 0,Zn.first=function(e){for(const t of e)return t};var eo={};eo.includesAsync=void 0,eo.includesAsync=async function(e,t){for await(const r of e)if(r===t)return!0;return!1};var to={};to.includes=void 0,to.includes=function(e,t){for(const r of e)if(r===t)return!0;return!1};var ro={};ro.matchAsync=void 0,ro.matchAsync=async function(e,t){const r=t.length;let n=0;for await(const o of e)if(o===t[n]&&n++,n===r)return!0;return!1};var no={};no.match=void 0,no.match=function(e,t){const r=t.length;let n=0;for(const o of e)if(o===t[n]&&n++,n===r)return!0;return!1};var oo={reduceAsync:void 0};const io=at;oo.reduceAsync=function(e,t,r){return(0,io.isUndefined)(r)?function(e,t){return(0,io.isAsyncIterable)(e)?r(e):n(e);async function r(e){var r;const n=e[Symbol.asyncIterator]();let o;try{let e,a=await i(n),u=1;for(;({value:e,done:o}=await n.next()),!o;)a=await t(a,e,u++);return a}finally{o||await(null===(r=n.return)||void 0===r?void 0:r.call(n))}async function i(e){const t=await e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}async function n(e){var r;const n=e[Symbol.iterator]();let o;try{let e,a=i(n),u=1;for(;({value:e,done:o}=n.next()),!o;)a=await t(a,e,u++);return a}finally{o||null===(r=n.return)||void 0===r||r.call(n)}function i(e){const t=e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}}(e,t):function(e,t,r){return(0,io.isAsyncIterable)(e)?o(e):n(e);async function n(e){let n=r,o=0;for(const r of e)n=await t(n,r,o++);return n}async function o(e){let n=r,o=0;for await(const r of e)n=await t(n,r,o++);return n}}(e,t,r)};var ao={reduce:void 0};const uo=at;ao.reduce=function(e,t,r){return(0,uo.isUndefined)(r)?function(e,t){var r;const n=e[Symbol.iterator]();let o;try{let e,a=i(n),u=1;for(;({value:e,done:o}=n.next()),!o;)a=t(a,e,u++);return a}finally{o||null===(r=n.return)||void 0===r||r.call(n)}function i(e){const t=e.next();if(t.done)throw o=!0,new Error("Reduce of empty iterable with no initial value");return t.value}}(e,t):function(e,t,r){let n=r,o=0;for(const r of e)n=t(n,r,o++);return n}(e,t,r)};var co={someAsync:void 0};const so=at;co.someAsync=function(e,t){return(0,so.isAsyncIterable)(e)?async function(e){let r=0;for await(const n of e){if(await t(n,r))return!0;r++}return!1}(e):async function(e){let r=0;for(const n of e){if(await t(n,r))return!0;r++}return!1}(e)};var lo={};lo.some=void 0,lo.some=function(e,t){let r=0;for(const n of e){if(t(n,r))return!0;r++}return!1};var fo={};fo.lastAsync=void 0,fo.lastAsync=async function(e){var t;const r=e[Symbol.asyncIterator]();let n;try{let e,o;for(;({value:e,done:n}=await r.next()),!n;)o=e;return o}finally{n||await(null===(t=r.return)||void 0===t?void 0:t.call(r))}};var po={};po.last=void 0,po.last=function(e){var t;const r=e[Symbol.iterator]();let n;try{let e,o;for(;({value:e,done:n}=r.next()),!n;)o=e;return o}finally{n||null===(t=r.return)||void 0===t||t.call(r)}};var vo={toArrayAsync:void 0};const bo=Dn;vo.toArrayAsync=function(e){return(0,bo.consume)(e,(async e=>{const t=[];for await(const r of e)t.push(r);return t}))};var yo={toArray:void 0};const ho=Dn;yo.toArray=function(e){return(0,ho.consume)(e,(e=>Array.from(e)))};var mo={toSetAsync:void 0};const go=Dn;mo.toSetAsync=function(e){return(0,go.consume)(e,(async e=>{const t=new Set;for await(const r of e)t.add(r);return t}))};var Oo={toSet:void 0};const wo=Dn;Oo.toSet=function(e){return(0,wo.consume)(e,(e=>new Set(e)))};var So={};So.count=void 0,So.count=function(e){let t=0;for(const r of e)t++;return t};var _o,jo={};function xo(){return _o||(_o=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(zn(),e),r(Wn,e)}(et)),et}jo.countAsync=void 0,jo.countAsync=async function(e){let t=0;for await(const r of e)t++;return t},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Dn,e),r(qn,e),r($n,e),r(Yn,e),r(Hn,e),r(Kn,e),r(Qn,e),r(Xn,e),r(Zn,e),r(eo,e),r(to,e),r(ro,e),r(no,e),r(oo,e),r(ao,e),r(co,e),r(lo,e),r(fo,e),r(po,e),r(vo,e),r(yo,e),r(mo,e),r(Oo,e),r(So,e),r(jo,e)}(Wn);var Eo={},Po={};Po.traverseErrorPrototypeChain=void 0,Po.traverseErrorPrototypeChain=function*(e){let t=e;for(;(t=Object.getPrototypeOf(t))&&(yield t,t!==Error.prototype););},Eo.getErrorNames=void 0;const Ao=g,To=Po;Eo.getErrorNames=function*(e){var t;if((0,Ao.isError)(e))for(const r of(0,To.traverseErrorPrototypeChain)(e))(null===(t=r.constructor)||void 0===t?void 0:t.name)&&(yield r.constructor.name);else yield e.name,yield*e.ancestors};var Io={isSerializableError:void 0};const ko=g;var Co;function Fo(){if(Co)return Ze;Co=1,Ze.CustomError=void 0;const e=xo(),t=Eo,r=g,n=Io;class o extends Error{get name(){var r,n;return null!==(n=null!==(r=(0,e.first)((0,t.getErrorNames)(this)))&&void 0!==r?r:o.name)&&void 0!==n?n:"CustomError"}static[Symbol.hasInstance](o){var i;if((0,r.isError)(o)||(0,n.isSerializableError)(o)){const r=[null!==(i=this.prototype.constructor.name)&&void 0!==i?i:this.name,...(0,t.getErrorNames)(this.prototype)].reverse(),n=(0,e.toArray)((0,t.getErrorNames)(o)).reverse();return r.every(((e,t)=>e===n[t]))}return!1}}return Ze.CustomError=o,Ze}Io.isSerializableError=function(e){return(0,ko.isObject)(e)&&(0,ko.isString)(e.name)&&(0,ko.isString)(e.message)&&((0,ko.isString)(e.stack)||(0,ko.isNull)(e.stack))&&(0,ko.isArray)(e.ancestors)&&e.ancestors.every(ko.isString)};var No,Mo={};function Ro(){if(No)return Mo;No=1,Mo.AssertionError=void 0;const e=Fo();class t extends e.CustomError{}return Mo.AssertionError=t,Mo}var Bo,Lo={};var Uo={},zo={},Wo={};Wo.pass=void 0,Wo.pass=function(){},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]});(n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(Wo,e)}(zo),Uo.hydrate=void 0;const Do=zo;function qo(e,t){const r=function(){(0,Do.pass)()};return(r.prototype=Object.create(e.prototype)).constructor=r,Object.defineProperty(r,"name",{value:t}),r}Uo.hydrate=function(e){var t;const r=[e.name,...e.ancestors].slice(0,-1).reverse();let n=Error;for(const e of r)n=qo(n,e);const o=new n;return o.name=e.name,o.message=e.message,o.stack=null!==(t=e.stack)&&void 0!==t?t:void 0,o};var Vo,$o,Yo={};function Jo(){return $o||($o=1,function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Fo(),e),r(Ro(),e),r(Io,e),r(function(){if(Bo)return Lo;Bo=1,Lo.normalize=void 0;const e=Eo,t=xo();return Lo.normalize=function(r){var n;const[o,...i]=(0,t.toArray)((0,e.getErrorNames)(r));return{name:o,ancestors:i,message:r.message,stack:null!==(n=r.stack)&&void 0!==n?n:null}},Lo}(),e),r(Uo,e),r(function(){if(Vo)return Yo;Vo=1,Yo.assert=void 0;const e=Ro();return Yo.assert=function(t,r){if(!t)throw new e.AssertionError(r)},Yo}(),e),r(Eo,e),r(Po,e)}(Xe)),Xe}var Ho=Jo();function Ko(e,t){Ho.assert(e.length>0,"The parameter values must be a non-empty array"),g.isntUndefined(t)&&Ho.assert(t>=0&&t<e.length,"The parameter defaultSelectedIndex must be in the range of 0 to values.length");const[r,n]=o.exports.useState(t);return o.exports.useMemo((()=>({selectedValue:g.isUndefined(r)?void 0:e[r],options:e.map(((e,t)=>({value:e,index:t,selected:t===r,select:()=>n(t)})))})),[r])}var Go=xo();function Qo(e,t=[]){Ho.assert(e.length>0,"The parameter values must be a non-empty array");for(const r of t)Ho.assert(r>=0&&r<e.length,"The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length");const[r,n]=o.exports.useState(new Set(t));return o.exports.useMemo((()=>({selectedValues:Go.toArray(Go.map(r,(t=>e[t]))),options:e.map(((e,t)=>{const o=r.has(t),i=()=>{const e=new Set(r);e.add(t),n(e)},a=()=>{const e=new Set(r);e.delete(t),n(e)};return{value:e,index:t,selected:o,select:i,unselect:a,toggle:o?a:i}}))})),[r])}function Xo(e,t=0){const[r,n]=o.exports.useState(t);return[e[r],function(){n((t=>t+1<e.length?t+1:0))}]}function Zo(e=!1){const[t,r]=o.exports.useState(e);return[t,function(){r((e=>!e))}]}function ei(e,t){const r=t.map((e=>e.current));o.exports.useEffect((()=>{const r=new ResizeObserver(e);return t.map((e=>e.current)).filter(g.isntNull).forEach((e=>r.observe(e))),()=>r.disconnect()}),r)}function ti(e,t=0){const[r,n]=o.exports.useState(t);return[e[r],function(){n((t=>t===e.length-1?t:t+1))},function(){n((e=>0===e?e:e-1))}]}function ri(){const[,e]=o.exports.useState({});return()=>e({})}var ni={},oi={Box:void 0};oi.Box=class{constructor(e){this.value=e}set(e){this.value=e}get(){return this.value}};var ii={};ii.convertArrayToCons=ii.convertConsToArray=void 0,ii.convertConsToArray=function e([t,r]){return null===r?[t]:[t,...e(r)]},ii.convertArrayToCons=function e([t,...r]){return[t,r.length?e(r):null]};var ai={Emitter:void 0};class ui{constructor(){this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}on(e,t){this.map.has(e)||this.map.set(e,new Set);return this.map.get(e).add(r),()=>{if(!this.map.has(e))return;const t=this.map.get(e);t.delete(r),0===t.size&&this.map.delete(e)};function r(...e){t(...e)}}once(e,t){const r=this.on(e,((...e)=>{t(...e),r()}));return r}emit(e,...t){this.map.has(e)&&this.map.get(e).forEach((e=>e(...t)))}}ai.Emitter=ui;var ci={HashMap:void 0};class si{constructor(e){this.hash=e,this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t){return this.map.set(this.hash(e),t),this}has(e){return this.map.has(this.hash(e))}get(e){return this.map.get(this.hash(e))}delete(e){return this.map.delete(this.hash(e))}clear(){this.map.clear()}}ci.HashMap=si;var li={HashSet:void 0};class fi{constructor(e){this.hash=e,this.map=new Map}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}[Symbol.iterator](){return this.map.values()}add(e){return this.map.set(this.hash(e),e),this}delete(e){return this.map.delete(this.hash(e))}has(e){return this.map.has(this.hash(e))}clear(){this.map.clear()}values(){return this.map.values()}}li.HashSet=fi;var pi={Queue:void 0};class di{constructor(){this.items=[]}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.items.length}empty(){this.items.length=0}enqueue(...e){this.items.push(...e)}dequeue(){return this.items.shift()}remove(e){let t;for(;(t=this.items.indexOf(e))>=0;)this.items.splice(t,1)}}pi.Queue=di;var vi={LRUMap:void 0};const bi=Jo(),yi=xo();class hi{constructor(e){this.map=new Map,(0,bi.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,bi.assert)(e>0,"The parameter limit must be a positive value"),this.limit=e}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t){return this.map.has(e)?this.updateItem(e,t):(this.map.size===this.limit&&this.map.delete(this.getColdestKey()),this.map.set(e,t)),this}has(e){return this.map.has(e)}get(e){if(!this.has(e))return;const t=this.map.get(e);return this.updateItem(e,t),t}delete(e){return this.map.delete(e)}clear(){this.map.clear()}updateItem(e,t){this.map.delete(e),this.map.set(e,t)}getColdestKey(){return(0,yi.first)(this.map.keys())}}vi.LRUMap=hi;var mi={},gi={},Oi={},wi={},Si={};Si.random=void 0,Si.random=function(e,t){return Math.random()*(t-e)+e};var _i={};_i.randomInt=void 0,_i.randomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e};var ji={};ji.randomIntInclusive=void 0,ji.randomIntInclusive=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Si,e),r(_i,e),r(ji,e)}(wi),Oi.calculateExponentialBackoffTimeout=void 0;const xi=wi;Oi.calculateExponentialBackoffTimeout=function({baseTimeout:e,retries:t,maxTimeout:r=1/0,factor:n=2,jitter:o=!0}){const i=Math.min(n**t*e,r);return o?(0,xi.randomIntInclusive)(0,i):i};var Ei={};Ei.setTimeout=void 0,Ei.setTimeout=function(e,t){const r=globalThis.setTimeout(t,e);return()=>clearTimeout(r)};var Pi={setSchedule:void 0};const Ai=Ei;Pi.setSchedule=function(e,t){const r=e-Date.now();return(0,Ai.setTimeout)(r,t)};var Ti={};Ti.setInterval=void 0,Ti.setInterval=function(e,t){const r=globalThis.setInterval(t,e);return()=>clearInterval(r)};var Ii={setImmediate:void 0};const ki=Ei;Ii.setImmediate=function(e){if(globalThis.setImmediate){const t=globalThis.setImmediate(e);return()=>clearImmediate(t)}return(0,ki.setTimeout)(0,e)};var Ci={setTimeoutLoop:void 0};const Fi=Ei;Ci.setTimeoutLoop=function(e,t){let r=!1,n=(0,Fi.setTimeout)(e,(async function o(){await t(),r||(n=(0,Fi.setTimeout)(e,o))}));return()=>{r=!0,n()}};var Ni={setDynamicTimeoutLoop:void 0};const Mi=Ei;Ni.setDynamicTimeoutLoop=function(e,t){let r=!1,n=(0,Mi.setTimeout)(e,(async function o(){const i=Date.now();await t();const a=Date.now()-i;r||(n=(0,Mi.setTimeout)(Math.max(e-a,0),o))}));return()=>{r=!0,n()}},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Oi,e),r(Ei,e),r(Pi,e),r(Ti,e),r(Ii,e),r(Ci,e),r(Ni,e)}(gi),mi.ExpirableMap=void 0;const Ri=gi;class Bi{constructor(){this.map=new Map,this.itemMetadataSortedByExpirationTime=[]}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t,r){return this.map.set(e,t),this.removeItemMetadata(e),this.addItemMetadata(e,Date.now()+r),this}has(e){return this.map.has(e)}get(e){return this.map.get(e)}delete(e){const t=this.map.delete(e);if(t){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout()}return t}clear(){var e;this.map.clear(),null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime=[]}addItemMetadata(e,t){for(let r=0;r<this.itemMetadataSortedByExpirationTime.length;r++){if(t<this.itemMetadataSortedByExpirationTime[r].expirationTime)return this.itemMetadataSortedByExpirationTime.splice(r,0,{key:e,expirationTime:t}),void(0===r&&this.rescheduleClearTimeout())}this.itemMetadataSortedByExpirationTime.push({key:e,expirationTime:t}),1===this.itemMetadataSortedByExpirationTime.length&&this.rescheduleClearTimeout()}removeItemMetadata(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));t>=0&&(this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout())}clearExpiredItems(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.expirationTime>e));(t>=0?this.itemMetadataSortedByExpirationTime.splice(0,t):this.itemMetadataSortedByExpirationTime.splice(0,this.itemMetadataSortedByExpirationTime.length)).forEach((e=>this.map.delete(e.key)))}rescheduleClearTimeout(){var e;if(null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime.length>0){const e=this.itemMetadataSortedByExpirationTime[0];if(Number.isFinite(e.expirationTime)){const t=(0,Ri.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}}mi.ExpirableMap=Bi;var Li={TLRUMap:void 0};const Ui=Jo(),zi=xo(),Wi=gi;class Di{constructor(e){this.map=new Map,this.itemMetadataSortedByExpirationTime=[],(0,Ui.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Ui.assert)(e>0,"The parameter limit must be a positive value"),this.limit=e}get[Symbol.toStringTag](){return this.constructor.name}get size(){return this.map.size}set(e,t,r){return this.map.has(e)?(this.updateItem(e,t),this.removeItemMetadata(e),this.addItemMetadata(e,Date.now()+r)):(this.map.size===this.limit&&this.map.delete(this.getColdestKey()),this.map.set(e,t),this.addItemMetadata(e,Date.now()+r)),this}has(e){return this.map.has(e)}get(e){if(this.has(e)){const t=this.map.get(e);return this.updateItem(e,t),t}}delete(e){const t=this.map.delete(e);if(t){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout()}return t}clear(){var e;this.map.clear(),null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime=[]}updateItem(e,t){this.map.delete(e),this.map.set(e,t)}addItemMetadata(e,t){for(let r=0;r<this.itemMetadataSortedByExpirationTime.length;r++){if(t<this.itemMetadataSortedByExpirationTime[r].expirationTime)return this.itemMetadataSortedByExpirationTime.splice(r,0,{key:e,expirationTime:t}),void(0===r&&this.rescheduleClearTimeout())}this.itemMetadataSortedByExpirationTime.push({key:e,expirationTime:t}),1===this.itemMetadataSortedByExpirationTime.length&&this.rescheduleClearTimeout()}removeItemMetadata(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.key===e));t>=0&&(this.itemMetadataSortedByExpirationTime.splice(t,1),0===t&&this.rescheduleClearTimeout())}clearExpiredItems(e){const t=this.itemMetadataSortedByExpirationTime.findIndex((t=>t.expirationTime>e));(t>=0?this.itemMetadataSortedByExpirationTime.splice(0,t):this.itemMetadataSortedByExpirationTime.splice(0,this.itemMetadataSortedByExpirationTime.length)).forEach((e=>this.map.delete(e.key)))}rescheduleClearTimeout(){var e;if(null===(e=this.cancelClearTimeout)||void 0===e||e.call(this),this.itemMetadataSortedByExpirationTime.length>0){const e=this.itemMetadataSortedByExpirationTime[0];if(Number.isFinite(e.expirationTime)){const t=(0,Wi.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}getColdestKey(){return(0,zi.first)(this.map.keys())}}Li.TLRUMap=Di;var qi={TrieMap:void 0};const Vi=xo();class $i{constructor(e){this.value=e,this.children=new Map}}class Yi{constructor(){this.root=new $i}get[Symbol.toStringTag](){return this.constructor.name}set(e,t){let r=this.root;for(const t of e)r.children.has(t)||r.children.set(t,new $i),r=r.children.get(t);return r.value=t,this}has(e){let t=this.root;for(const r of e){if(!t.children.has(r))return!1;t=t.children.get(r)}return void 0!==t.value}get(e){let t=this.root;for(const r of e){if(!t.children.has(r))return;t=t.children.get(r)}return t.value}delete(e){const t=[];let r=this.root;for(const n of e){if(!r.children.has(n))return!1;t.push(r),r=r.children.get(n)}if(delete r.value,0===r.children.size)for(const[r,n]of(0,Vi.toArray)((0,Vi.zip)(e,t)).reverse())if(n.children.delete(r),0!==n.children.size)break;return!0}}qi.TrieMap=Yi;var Ji={};Ji.BadEventError=Ji.FiniteStateMachine=void 0;const Hi=Jo();Ji.FiniteStateMachine=class{constructor(e,t){this.schema=e,this._state=t}get state(){return this._state}matches(e){return this._state===e}can(e){return e in this.schema[this.state]}send(e){if(!this.can(e))throw new Ki(this.state,e);this._state=this.schema[this.state][e]}};class Ki extends Hi.CustomError{constructor(e,t){super(`State ${e} cannot react to event ${t}`)}}Ji.BadEventError=Ki;var Gi={},Qi={},Xi={},Zi={},ea={};ea.isFunction=void 0,ea.isFunction=function(e){return"function"==typeof e};var ta={},ra={},na={};na.createErrorClass=void 0,na.createErrorClass=function(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t},ra.UnsubscriptionError=void 0;var oa=na;ra.UnsubscriptionError=oa.createErrorClass((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));var ia={};ia.arrRemove=void 0,ia.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}};var aa=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ua=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ca=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};ta.isSubscription=ta.EMPTY_SUBSCRIPTION=ta.Subscription=void 0;var sa=ea,la=ra,fa=ia,pa=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=aa(i),u=a.next();!u.done;u=a.next()){u.value.remove(this)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var c=this.initialTeardown;if(sa.isFunction(c))try{c()}catch(e){o=e instanceof la.UnsubscriptionError?e.errors:[e]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var l=aa(s),f=l.next();!f.done;f=l.next()){var p=f.value;try{da(p)}catch(e){o=null!=o?o:[],e instanceof la.UnsubscriptionError?o=ca(ca([],ua(o)),ua(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{f&&!f.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new la.UnsubscriptionError(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)da(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&fa.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&fa.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();function da(e){sa.isFunction(e)?e():e.unsubscribe()}ta.Subscription=pa,ta.EMPTY_SUBSCRIPTION=pa.EMPTY,ta.isSubscription=function(e){return e instanceof pa||e&&"closed"in e&&sa.isFunction(e.remove)&&sa.isFunction(e.add)&&sa.isFunction(e.unsubscribe)};var va={config:void 0};va.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ba={},ya={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.timeoutProvider=void 0,e.timeoutProvider={setTimeout:function(n,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=e.timeoutProvider.delegate;return(null==u?void 0:u.setTimeout)?u.setTimeout.apply(u,r([n,o],t(i))):setTimeout.apply(void 0,r([n,o],t(i)))},clearTimeout:function(t){var r=e.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(t)},delegate:void 0}}(ya),ba.reportUnhandledError=void 0;var ha=va,ma=ya;ba.reportUnhandledError=function(e){ma.timeoutProvider.setTimeout((function(){var t=ha.config.onUnhandledError;if(!t)throw e;t(e)}))};var ga={};ga.noop=void 0,ga.noop=function(){};var Oa={};function wa(e,t,r){return{kind:e,value:t,error:r}}Oa.createNotification=Oa.nextNotification=Oa.errorNotification=Oa.COMPLETE_NOTIFICATION=void 0,Oa.COMPLETE_NOTIFICATION=wa("C",void 0,void 0),Oa.errorNotification=function(e){return wa("E",void 0,e)},Oa.nextNotification=function(e){return wa("N",e,void 0)},Oa.createNotification=wa;var Sa={};Sa.captureError=Sa.errorContext=void 0;var _a=va,ja=null;Sa.errorContext=function(e){if(_a.config.useDeprecatedSynchronousErrorHandling){var t=!ja;if(t&&(ja={errorThrown:!1,error:null}),e(),t){var r=ja,n=r.errorThrown,o=r.error;if(ja=null,n)throw o}}else e()},Sa.captureError=function(e){_a.config.useDeprecatedSynchronousErrorHandling&&ja&&(ja.errorThrown=!0,ja.error=e)},function(e){var t,r=n&&n.__extends||(t=function(e,r){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,r)},function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)});e.EMPTY_OBSERVER=e.SafeSubscriber=e.Subscriber=void 0;var o=ea,i=ta,a=va,u=ba,c=ga,s=Oa,l=ya,f=Sa,p=function(t){function n(r){var n=t.call(this)||this;return n.isStopped=!1,r?(n.destination=r,i.isSubscription(r)&&r.add(n)):n.destination=e.EMPTY_OBSERVER,n}return r(n,t),n.create=function(e,t,r){return new y(e,t,r)},n.prototype.next=function(e){this.isStopped?m(s.nextNotification(e),this):this._next(e)},n.prototype.error=function(e){this.isStopped?m(s.errorNotification(e),this):(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped?m(s.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n}(i.Subscription);e.Subscriber=p;var d=Function.prototype.bind;function v(e,t){return d.call(e,t)}var b=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){h(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){h(e)}else h(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){h(e)}},e}(),y=function(e){function t(t,r,n){var i,u,c=e.call(this)||this;o.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:c&&a.config.useDeprecatedNextContext?((u=Object.create(t)).unsubscribe=function(){return c.unsubscribe()},i={next:t.next&&v(t.next,u),error:t.error&&v(t.error,u),complete:t.complete&&v(t.complete,u)}):i=t;return c.destination=new b(i),c}return r(t,e),t}(p);function h(e){a.config.useDeprecatedSynchronousErrorHandling?f.captureError(e):u.reportUnhandledError(e)}function m(e,t){var r=a.config.onStoppedNotification;r&&l.timeoutProvider.setTimeout((function(){return r(e,t)}))}e.SafeSubscriber=y,e.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function(e){throw e},complete:c.noop}}(Zi);var xa={observable:void 0};xa.observable="function"==typeof Symbol&&Symbol.observable||"@@observable";var Ea={},Pa={};Pa.identity=void 0,Pa.identity=function(e){return e},Ea.pipeFromArray=Ea.pipe=void 0;var Aa=Pa;function Ta(e){return 0===e.length?Aa.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}Ea.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ta(e)},Ea.pipeFromArray=Ta,Xi.Observable=void 0;var Ia=Zi,ka=ta,Ca=xa,Fa=Ea,Na=va,Ma=ea,Ra=Sa,Ba=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof Ia.Subscriber||function(e){return e&&Ma.isFunction(e.next)&&Ma.isFunction(e.error)&&Ma.isFunction(e.complete)}(n)&&ka.isSubscription(n)?e:new Ia.SafeSubscriber(e,t,r);return Ra.errorContext((function(){var e=o,t=e.operator,r=e.source;i.add(t?t.call(i,r):r?o._subscribe(i):o._trySubscribe(i))})),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=La(t))((function(t,n){var o=new Ia.SafeSubscriber({next:function(t){try{e(t)}catch(e){n(e),o.unsubscribe()}},error:n,complete:t});r.subscribe(o)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ca.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fa.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=La(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function La(e){var t;return null!==(t=null!=e?e:Na.config.Promise)&&void 0!==t?t:Promise}Xi.Observable=Ba;var Ua={},za={},Wa={};Wa.operate=Wa.hasLift=void 0;var Da=ea;function qa(e){return Da.isFunction(null==e?void 0:e.lift)}Wa.hasLift=qa,Wa.operate=function(e){return function(t){if(qa(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}};var Va,$a={},Ya=n&&n.__extends||(Va=function(e,t){return(Va=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Va(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});$a.OperatorSubscriber=$a.createOperatorSubscriber=void 0;var Ja=Zi;$a.createOperatorSubscriber=function(e,t,r,n,o){return new Ha(e,t,r,n,o)};var Ha=function(e){function t(t,r,n,o,i,a){var u=e.call(this,t)||this;return u.onFinalize=i,u.shouldUnsubscribe=a,u._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,u._error=o?function(e){try{o(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,u._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,u}return Ya(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(Ja.Subscriber);$a.OperatorSubscriber=Ha,za.refCount=void 0;var Ka=Wa,Ga=$a;za.refCount=function(){return Ka.operate((function(e,t){var r=null;e._refCount++;var n=Ga.createOperatorSubscriber(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,o=r;r=null,!n||o&&n!==o||n.unsubscribe(),t.unsubscribe()}}));e.subscribe(n),n.closed||(r=e.connect())}))};var Qa=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ua.ConnectableObservable=void 0;var Xa=ta,Za=za,eu=$a,tu=Wa,ru=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,tu.hasLift(t)&&(n.lift=t.lift),n}return Qa(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new Xa.Subscription;var r=this.getSubject();t.add(this.source.subscribe(eu.createOperatorSubscriber(r,void 0,(function(){e._teardown(),r.complete()}),(function(t){e._teardown(),r.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=Xa.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return Za.refCount()(this)},t}(Xi.Observable);Ua.ConnectableObservable=ru;var nu={},ou={};!function(e){e.performanceTimestampProvider=void 0,e.performanceTimestampProvider={now:function(){return(e.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}}(ou);var iu={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.animationFrameProvider=void 0;var o=ta;e.animationFrameProvider={schedule:function(t){var r=requestAnimationFrame,n=cancelAnimationFrame,i=e.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,n=i.cancelAnimationFrame);var a=r((function(e){n=void 0,t(e)}));return new o.Subscription((function(){return null==n?void 0:n(a)}))},requestAnimationFrame:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=e.animationFrameProvider.delegate;return((null==i?void 0:i.requestAnimationFrame)||requestAnimationFrame).apply(void 0,r([],t(n)))},cancelAnimationFrame:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=e.animationFrameProvider.delegate;return((null==i?void 0:i.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,r([],t(n)))},delegate:void 0}}(iu),nu.animationFrames=void 0;var au=Xi,uu=ta,cu=ou,su=iu;function lu(e){var t=su.animationFrameProvider.schedule;return new au.Observable((function(r){var n=new uu.Subscription,o=e||cu.performanceTimestampProvider,i=o.now(),a=function(u){var c=o.now();r.next({timestamp:e?c:u,elapsed:c-i}),r.closed||n.add(t(a))};return n.add(t(a)),n}))}nu.animationFrames=function(e){return e?lu(e):fu};var fu=lu(),pu={},du={ObjectUnsubscribedError:void 0},vu=na;du.ObjectUnsubscribedError=vu.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}));var bu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),yu=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};pu.AnonymousSubject=pu.Subject=void 0;var hu=Xi,mu=ta,gu=du,Ou=ia,wu=Sa,Su=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return bu(t,e),t.prototype.lift=function(e){var t=new _u(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new gu.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;wu.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=yu(t.currentObservers),i=o.next();!i.done;i=o.next()){i.value.next(e)}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;wu.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;wu.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,o=r.isStopped,i=r.observers;return n||o?mu.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new mu.Subscription((function(){t.currentObservers=null,Ou.arrRemove(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,o=t.isStopped;r?e.error(n):o&&e.complete()},t.prototype.asObservable=function(){var e=new hu.Observable;return e.source=this,e},t.create=function(e,t){return new _u(e,t)},t}(hu.Observable);pu.Subject=Su;var _u=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return bu(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:mu.EMPTY_SUBSCRIPTION},t}(Su);pu.AnonymousSubject=_u;var ju={},xu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();ju.BehaviorSubject=void 0;var Eu=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return xu(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(pu.Subject);ju.BehaviorSubject=Eu;var Pu={},Au={};!function(e){e.dateTimestampProvider=void 0,e.dateTimestampProvider={now:function(){return(e.dateTimestampProvider.delegate||Date).now()},delegate:void 0}}(Au);var Tu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Pu.ReplaySubject=void 0;var Iu=Au,ku=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=Iu.dateTimestampProvider);var o=e.call(this)||this;return o._bufferSize=t,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,r),o}return Tu(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,a=r._timestampProvider,u=r._windowTime;n||(o.push(t),!i&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,o=e._infiniteTimeWindow,i=(o?1:2)*t;if(t<1/0&&i<n.length&&n.splice(0,n.length-i),!o){for(var a=r.now(),u=0,c=1;c<n.length&&n[c]<=a;c+=2)u=c;u&&n.splice(0,u+1)}},t}(pu.Subject);Pu.ReplaySubject=ku;var Cu={},Fu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Cu.AsyncSubject=void 0;var Nu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return Fu(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,o=t._value,i=t.thrownError,a=t.isStopped,u=t._isComplete;r?e.error(i):(a||u)&&(n&&e.next(o),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(pu.Subject);Cu.AsyncSubject=Nu;var Mu={},Ru={},Bu={},Lu={},Uu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Lu.Action=void 0;var zu=function(e){function t(t,r){return e.call(this)||this}return Uu(t,e),t.prototype.schedule=function(e,t){return this},t}(ta.Subscription);Lu.Action=zu;var Wu={};!function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.intervalProvider=void 0,e.intervalProvider={setInterval:function(n,o){for(var i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var u=e.intervalProvider.delegate;return(null==u?void 0:u.setInterval)?u.setInterval.apply(u,r([n,o],t(i))):setInterval.apply(void 0,r([n,o],t(i)))},clearInterval:function(t){var r=e.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(t)},delegate:void 0}}(Wu);var Du=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Bu.AsyncAction=void 0;var qu=Wu,Vu=ia,$u=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return Du(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),qu.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;qu.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,Vu.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Lu.Action);Bu.AsyncAction=$u;var Yu={},Ju={};Ju.TestTools=Ju.Immediate=void 0;var Hu,Ku=1,Gu={};function Qu(e){return e in Gu&&(delete Gu[e],!0)}Ju.Immediate={setImmediate:function(e){var t=Ku++;return Gu[t]=!0,Hu||(Hu=Promise.resolve()),Hu.then((function(){return Qu(t)&&e()})),t},clearImmediate:function(e){Qu(e)}},Ju.TestTools={pending:function(){return Object.keys(Gu).length}},function(e){var t=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},r=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};e.immediateProvider=void 0;var o=Ju,i=o.Immediate.setImmediate,a=o.Immediate.clearImmediate;e.immediateProvider={setImmediate:function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var a=e.immediateProvider.delegate;return((null==a?void 0:a.setImmediate)||i).apply(void 0,r([],t(n)))},clearImmediate:function(t){var r=e.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||a)(t)},delegate:void 0}}(Yu);var Xu=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Ru.AsapAction=void 0;var Zu=Yu,ec=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Xu(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=Zu.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(Zu.immediateProvider.clearImmediate(r),t._scheduled=void 0)},t}(Bu.AsyncAction);Ru.AsapAction=ec;var tc={},rc={},nc={Scheduler:void 0},oc=Au,ic=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=oc.dateTimestampProvider.now,e}();nc.Scheduler=ic;var ac=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();rc.AsyncScheduler=void 0;var uc=nc,cc=function(e){function t(t,r){void 0===r&&(r=uc.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n._scheduled=void 0,n}return ac(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(uc.Scheduler);rc.AsyncScheduler=cc;var sc=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();tc.AsapScheduler=void 0;var lc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return sc(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(rc.AsyncScheduler);tc.AsapScheduler=lc,function(e){e.asap=e.asapScheduler=void 0;var t=Ru,r=tc;e.asapScheduler=new r.AsapScheduler(t.AsapAction),e.asap=e.asapScheduler}(Mu);var fc={};!function(e){e.async=e.asyncScheduler=void 0;var t=Bu,r=rc;e.asyncScheduler=new r.AsyncScheduler(t.AsyncAction),e.async=e.asyncScheduler}(fc);var pc={},dc={},vc=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();dc.QueueAction=void 0;var bc=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return vc(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):t.flush(this)},t}(Bu.AsyncAction);dc.QueueAction=bc;var yc={},hc=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();yc.QueueScheduler=void 0;var mc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return hc(t,e),t}(rc.AsyncScheduler);yc.QueueScheduler=mc,function(e){e.queue=e.queueScheduler=void 0;var t=dc,r=yc;e.queueScheduler=new r.QueueScheduler(t.QueueAction),e.queue=e.queueScheduler}(pc);var gc={},Oc={},wc=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Oc.AnimationFrameAction=void 0;var Sc=iu,_c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return wc(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=Sc.animationFrameProvider.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){if(void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);t.actions.some((function(e){return e.id===r}))||(Sc.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(Bu.AsyncAction);Oc.AnimationFrameAction=_c;var jc={},xc=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();jc.AnimationFrameScheduler=void 0;var Ec=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return xc(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(rc.AsyncScheduler);jc.AnimationFrameScheduler=Ec,function(e){e.animationFrame=e.animationFrameScheduler=void 0;var t=Oc,r=jc;e.animationFrameScheduler=new r.AnimationFrameScheduler(t.AnimationFrameAction),e.animationFrame=e.animationFrameScheduler}(gc);var Pc={},Ac=n&&n.__extends||function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Pc.VirtualAction=Pc.VirtualTimeScheduler=void 0;var Tc=Bu,Ic=ta,kc=function(e){function t(t,r){void 0===t&&(t=Cc),void 0===r&&(r=1/0);var n=e.call(this,t,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return Ac(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(rc.AsyncScheduler);Pc.VirtualTimeScheduler=kc;var Cc=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var o=e.call(this,t,r)||this;return o.scheduler=t,o.work=r,o.index=n,o.active=!0,o.index=t.index=n,o}return Ac(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var o=new t(this.scheduler,this.work);return this.add(o),o.schedule(r,n)}return Ic.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var o=e.actions;return o.push(this),o.sort(t.sortActions),!0},t.prototype.recycleAsyncId=function(e,t,r){},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(Tc.AsyncAction);Pc.VirtualAction=Cc;var Fc={},Nc={};!function(e){e.empty=e.EMPTY=void 0;var t=Xi;e.EMPTY=new t.Observable((function(e){return e.complete()})),e.empty=function(r){return r?function(e){return new t.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(r):e.EMPTY}}(Nc);var Mc={},Rc={},Bc={isScheduler:void 0},Lc=ea;Bc.isScheduler=function(e){return e&&Lc.isFunction(e.schedule)},Rc.popNumber=Rc.popScheduler=Rc.popResultSelector=void 0;var Uc=ea,zc=Bc;function Wc(e){return e[e.length-1]}Rc.popResultSelector=function(e){return Uc.isFunction(Wc(e))?e.pop():void 0},Rc.popScheduler=function(e){return zc.isScheduler(Wc(e))?e.pop():void 0},Rc.popNumber=function(e,t){return"number"==typeof Wc(e)?e.pop():t};var Dc={},qc={},Vc={},$c={},Yc={isArrayLike:void 0};Yc.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};var Jc={isPromise:void 0},Hc=ea;Jc.isPromise=function(e){return Hc.isFunction(null==e?void 0:e.then)};var Kc={isInteropObservable:void 0},Gc=xa,Qc=ea;Kc.isInteropObservable=function(e){return Qc.isFunction(e[Gc.observable])};var Xc={isAsyncIterable:void 0},Zc=ea;Xc.isAsyncIterable=function(e){return Symbol.asyncIterator&&Zc.isFunction(null==e?void 0:e[Symbol.asyncIterator])};var es={};es.createInvalidObservableTypeError=void 0,es.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")};var ts={},rs={};function ns(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}rs.iterator=rs.getSymbolIterator=void 0,rs.getSymbolIterator=ns,rs.iterator=ns(),ts.isIterable=void 0;var os=rs,is=ea;ts.isIterable=function(e){return is.isFunction(null==e?void 0:e[os.iterator])};var as={},us=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},cs=n&&n.__await||function(e){return this instanceof cs?(this.v=e,this):new cs(e)},ss=n&&n.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},a("next"),a("throw"),a("return"),n[Symbol.asyncIterator]=function(){return this},n;function a(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||u(e,t)}))})}function u(e,t){try{(r=o[e](t)).value instanceof cs?Promise.resolve(r.value.v).then(c,s):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){u("next",e)}function s(e){u("throw",e)}function l(e,t){e(t),i.shift(),i.length&&u(i[0][0],i[0][1])}};as.isReadableStreamLike=as.readableStreamLikeToAsyncGenerator=void 0;var ls=ea;as.readableStreamLikeToAsyncGenerator=function(e){return ss(this,arguments,(function(){var t,r,n;return us(this,(function(o){switch(o.label){case 0:t=e.getReader(),o.label=1;case 1:o.trys.push([1,,9,10]),o.label=2;case 2:return[4,cs(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,cs(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,cs(n)];case 6:return[4,o.sent()];case 7:return o.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))},as.isReadableStreamLike=function(e){return ls.isFunction(null==e?void 0:e.getReader)};var fs=n&&n.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function u(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}c((n=n.apply(e,t||[])).next())}))},ps=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},ds=n&&n.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof vs?vs(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}},vs=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};$c.fromReadableStreamLike=$c.fromAsyncIterable=$c.fromIterable=$c.fromPromise=$c.fromArrayLike=$c.fromInteropObservable=$c.innerFrom=void 0;var bs=Yc,ys=Jc,hs=Xi,ms=Kc,gs=Xc,Os=es,ws=ts,Ss=as,_s=ea,js=ba,xs=xa;function Es(e){return new hs.Observable((function(t){var r=e[xs.observable]();if(_s.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function Ps(e){return new hs.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function As(e){return new hs.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,js.reportUnhandledError)}))}function Ts(e){return new hs.Observable((function(t){var r,n;try{for(var o=vs(e),i=o.next();!i.done;i=o.next()){var a=i.value;if(t.next(a),t.closed)return}}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}t.complete()}))}function Is(e){return new hs.Observable((function(t){(function(e,t){var r,n,o,i;return fs(this,void 0,void 0,(function(){var a,u;return ps(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=ds(e),c.label=1;case 1:return[4,r.next()];case 2:if((n=c.sent()).done)return[3,4];if(a=n.value,t.next(a),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return u=c.sent(),o={error:u},[3,11];case 6:return c.trys.push([6,,9,10]),n&&!n.done&&(i=r.return)?[4,i.call(r)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function ks(e){return Is(Ss.readableStreamLikeToAsyncGenerator(e))}$c.innerFrom=function(e){if(e instanceof hs.Observable)return e;if(null!=e){if(ms.isInteropObservable(e))return Es(e);if(bs.isArrayLike(e))return Ps(e);if(ys.isPromise(e))return As(e);if(gs.isAsyncIterable(e))return Is(e);if(ws.isIterable(e))return Ts(e);if(Ss.isReadableStreamLike(e))return ks(e)}throw Os.createInvalidObservableTypeError(e)},$c.fromInteropObservable=Es,$c.fromArrayLike=Ps,$c.fromPromise=As,$c.fromIterable=Ts,$c.fromAsyncIterable=Is,$c.fromReadableStreamLike=ks;var Cs={},Fs={};Fs.executeSchedule=void 0,Fs.executeSchedule=function(e,t,r,n,o){void 0===n&&(n=0),void 0===o&&(o=!1);var i=t.schedule((function(){r(),o?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(i),!o)return i},Cs.observeOn=void 0;var Ns=Fs,Ms=Wa,Rs=$a;Cs.observeOn=function(e,t){return void 0===t&&(t=0),Ms.operate((function(r,n){r.subscribe(Rs.createOperatorSubscriber(n,(function(r){return Ns.executeSchedule(n,e,(function(){return n.next(r)}),t)}),(function(){return Ns.executeSchedule(n,e,(function(){return n.complete()}),t)}),(function(r){return Ns.executeSchedule(n,e,(function(){return n.error(r)}),t)})))}))};var Bs={subscribeOn:void 0},Ls=Wa;Bs.subscribeOn=function(e,t){return void 0===t&&(t=0),Ls.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))},Vc.scheduleObservable=void 0;var Us=$c,zs=Cs,Ws=Bs;Vc.scheduleObservable=function(e,t){return Us.innerFrom(e).pipe(Ws.subscribeOn(t),zs.observeOn(t))};var Ds={schedulePromise:void 0},qs=$c,Vs=Cs,$s=Bs;Ds.schedulePromise=function(e,t){return qs.innerFrom(e).pipe($s.subscribeOn(t),Vs.observeOn(t))};var Ys={scheduleArray:void 0},Js=Xi;Ys.scheduleArray=function(e,t){return new Js.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))};var Hs={scheduleIterable:void 0},Ks=Xi,Gs=rs,Qs=ea,Xs=Fs;Hs.scheduleIterable=function(e,t){return new Ks.Observable((function(r){var n;return Xs.executeSchedule(r,t,(function(){n=e[Gs.iterator](),Xs.executeSchedule(r,t,(function(){var e,t,o;try{t=(e=n.next()).value,o=e.done}catch(e){return void r.error(e)}o?r.complete():r.next(t)}),0,!0)})),function(){return Qs.isFunction(null==n?void 0:n.return)&&n.return()}}))};var Zs={scheduleAsyncIterable:void 0},el=Xi,tl=Fs;Zs.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new el.Observable((function(r){tl.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();tl.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))};var rl={scheduleReadableStreamLike:void 0},nl=Zs,ol=as;rl.scheduleReadableStreamLike=function(e,t){return nl.scheduleAsyncIterable(ol.readableStreamLikeToAsyncGenerator(e),t)},qc.scheduled=void 0;var il=Vc,al=Ds,ul=Ys,cl=Hs,sl=Zs,ll=Kc,fl=Jc,pl=Yc,dl=ts,vl=Xc,bl=es,yl=as,hl=rl;qc.scheduled=function(e,t){if(null!=e){if(ll.isInteropObservable(e))return il.scheduleObservable(e,t);if(pl.isArrayLike(e))return ul.scheduleArray(e,t);if(fl.isPromise(e))return al.schedulePromise(e,t);if(vl.isAsyncIterable(e))return sl.scheduleAsyncIterable(e,t);if(dl.isIterable(e))return cl.scheduleIterable(e,t);if(yl.isReadableStreamLike(e))return hl.scheduleReadableStreamLike(e,t)}throw bl.createInvalidObservableTypeError(e)},Dc.from=void 0;var ml=qc,gl=$c;Dc.from=function(e,t){return t?ml.scheduled(e,t):gl.innerFrom(e)},Mc.of=void 0;var Ol=Rc,wl=Dc;Mc.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Ol.popScheduler(e);return wl.from(e,r)};var Sl={throwError:void 0},_l=Xi,jl=ea;Sl.throwError=function(e,t){var r=jl.isFunction(e)?e:function(){return e},n=function(e){return e.error(r())};return new _l.Observable(t?function(e){return t.schedule(n,0,e)}:n)},function(e){e.observeNotification=e.Notification=e.NotificationKind=void 0;var t,r=Nc,n=Mc,o=Sl,i=ea;(t=e.NotificationKind||(e.NotificationKind={})).NEXT="N",t.ERROR="E",t.COMPLETE="C";var a=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return u(this,e)},e.prototype.do=function(e,t,r){var n=this,o=n.kind,i=n.value,a=n.error;return"N"===o?null==e?void 0:e(i):"E"===o?null==t?void 0:t(a):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return i.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,i=e.value,a=e.error,u="N"===t?n.of(i):"E"===t?o.throwError((function(){return a})):"C"===t?r.EMPTY:0;if(!u)throw new TypeError("Unexpected notification kind "+t);return u},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function u(e,t){var r,n,o,i=e,a=i.kind,u=i.value,c=i.error;if("string"!=typeof a)throw new TypeError('Invalid notification, missing "kind"');"N"===a?null===(r=t.next)||void 0===r||r.call(t,u):"E"===a?null===(n=t.error)||void 0===n||n.call(t,c):null===(o=t.complete)||void 0===o||o.call(t)}e.Notification=a,e.observeNotification=u}(Fc);var xl={isObservable:void 0},El=Xi,Pl=ea;xl.isObservable=function(e){return!!e&&(e instanceof El.Observable||Pl.isFunction(e.lift)&&Pl.isFunction(e.subscribe))};var Al={},Tl={EmptyError:void 0},Il=na;Tl.EmptyError=Il.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})),Al.lastValueFrom=void 0;var kl=Tl;Al.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i,a=!1;e.subscribe({next:function(e){i=e,a=!0},error:o,complete:function(){a?n(i):r?n(t.defaultValue):o(new kl.EmptyError)}})}))};var Cl={firstValueFrom:void 0},Fl=Tl,Nl=Zi;Cl.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i=new Nl.SafeSubscriber({next:function(e){n(e),i.unsubscribe()},error:o,complete:function(){r?n(t.defaultValue):o(new Fl.EmptyError)}});e.subscribe(i)}))};var Ml={ArgumentOutOfRangeError:void 0},Rl=na;Ml.ArgumentOutOfRangeError=Rl.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}));var Bl={NotFoundError:void 0},Ll=na;Bl.NotFoundError=Ll.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}));var Ul={SequenceError:void 0},zl=na;Ul.SequenceError=zl.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}));var Wl={},Dl={};Dl.isValidDate=void 0,Dl.isValidDate=function(e){return e instanceof Date&&!isNaN(e)},function(e){e.timeout=e.TimeoutError=void 0;var t=fc,r=Dl,n=Wa,o=$c,i=na,a=$a,u=Fs;function c(t){throw new e.TimeoutError(t)}e.TimeoutError=i.createErrorClass((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}})),e.timeout=function(e,i){var s=r.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,l=s.first,f=s.each,p=s.with,d=void 0===p?c:p,v=s.scheduler,b=void 0===v?null!=i?i:t.asyncScheduler:v,y=s.meta,h=void 0===y?null:y;if(null==l&&null==f)throw new TypeError("No timeout provided.");return n.operate((function(e,t){var r,n,i=null,c=0,s=function(e){n=u.executeSchedule(t,b,(function(){try{r.unsubscribe(),o.innerFrom(d({meta:h,lastValue:i,seen:c})).subscribe(t)}catch(e){t.error(e)}}),e)};r=e.subscribe(a.createOperatorSubscriber(t,(function(e){null==n||n.unsubscribe(),c++,t.next(i=e),f>0&&s(f)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),i=null}))),!c&&s(null!=l?"number"==typeof l?l:+l-b.now():f)}))}}(Wl);var ql={},Vl={},$l={},Yl={map:void 0},Jl=Wa,Hl=$a;Yl.map=function(e,t){return Jl.operate((function(r,n){var o=0;r.subscribe(Hl.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,o++))})))}))};var Kl=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Gl=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};$l.mapOneOrManyArgs=void 0;var Ql=Yl,Xl=Array.isArray;$l.mapOneOrManyArgs=function(e){return Ql.map((function(t){return function(e,t){return Xl(t)?e.apply(void 0,Gl([],Kl(t))):e(t)}(e,t)}))};var Zl=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ef=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Vl.bindCallbackInternals=void 0;var tf=Bc,rf=Xi,nf=Bs,of=$l,af=Cs,uf=Cu;Vl.bindCallbackInternals=function e(t,r,n,o){if(n){if(!tf.isScheduler(n))return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return e(t,r,o).apply(this,i).pipe(of.mapOneOrManyArgs(n))};o=n}return o?function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r).apply(this,n).pipe(nf.subscribeOn(o),af.observeOn(o))}:function(){for(var e=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=new uf.AsyncSubject,a=!0;return new rf.Observable((function(o){var u=i.subscribe(o);if(a){a=!1;var c=!1,s=!1;r.apply(e,ef(ef([],Zl(n)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void i.error(n)}i.next(1<e.length?e:e[0]),s=!0,c&&i.complete()}])),s&&i.complete(),c=!0}return u}))}},ql.bindCallback=void 0;var cf=Vl;ql.bindCallback=function(e,t,r){return cf.bindCallbackInternals(!1,e,t,r)};var sf={bindNodeCallback:void 0},lf=Vl;sf.bindNodeCallback=function(e,t,r){return lf.bindCallbackInternals(!0,e,t,r)};var ff={},pf={argsArgArrayOrObject:void 0},df=Array.isArray,vf=Object.getPrototypeOf,bf=Object.prototype,yf=Object.keys;pf.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(df(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&vf(n)===bf){var r=yf(t);return{args:r.map((function(e){return t[e]})),keys:r}}}var n;return{args:e,keys:null}};var hf={};hf.createObject=void 0,hf.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})},ff.combineLatestInit=ff.combineLatest=void 0;var mf=Xi,gf=pf,Of=Dc,wf=Pa,Sf=$l,_f=Rc,jf=hf,xf=$a,Ef=Fs;function Pf(e,t,r){return void 0===r&&(r=wf.identity),function(n){Af(t,(function(){for(var o=e.length,i=new Array(o),a=o,u=o,c=function(o){Af(t,(function(){var c=Of.from(e[o],t),s=!1;c.subscribe(xf.createOperatorSubscriber(n,(function(e){i[o]=e,s||(s=!0,u--),u||n.next(r(i.slice()))}),(function(){--a||n.complete()})))}),n)},s=0;s<o;s++)c(s)}),n)}}function Af(e,t,r){e?Ef.executeSchedule(r,e,t):t()}ff.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=_f.popScheduler(e),n=_f.popResultSelector(e),o=gf.argsArgArrayOrObject(e),i=o.args,a=o.keys;if(0===i.length)return Of.from([],r);var u=new mf.Observable(Pf(i,r,a?function(e){return jf.createObject(a,e)}:wf.identity));return n?u.pipe(Sf.mapOneOrManyArgs(n)):u},ff.combineLatestInit=Pf;var Tf={},If={},kf={},Cf={},Ff={mergeInternals:void 0},Nf=$c,Mf=Fs,Rf=$a;Ff.mergeInternals=function(e,t,r,n,o,i,a,u){var c=[],s=0,l=0,f=!1,p=function(){!f||c.length||s||t.complete()},d=function(e){return s<n?v(e):c.push(e)},v=function(e){i&&t.next(e),s++;var u=!1;Nf.innerFrom(r(e,l++)).subscribe(Rf.createOperatorSubscriber(t,(function(e){null==o||o(e),i?d(e):t.next(e)}),(function(){u=!0}),void 0,(function(){if(u)try{s--;for(var e=function(){var e=c.shift();a?Mf.executeSchedule(t,a,(function(){return v(e)})):v(e)};c.length&&s<n;)e();p()}catch(e){t.error(e)}})))};return e.subscribe(Rf.createOperatorSubscriber(t,d,(function(){f=!0,p()}))),function(){null==u||u()}},Cf.mergeMap=void 0;var Bf=Yl,Lf=$c,Uf=Wa,zf=Ff,Wf=ea;Cf.mergeMap=function e(t,r,n){return void 0===n&&(n=1/0),Wf.isFunction(r)?e((function(e,n){return Bf.map((function(t,o){return r(e,t,n,o)}))(Lf.innerFrom(t(e,n)))}),n):("number"==typeof r&&(n=r),Uf.operate((function(e,r){return zf.mergeInternals(e,r,t,n)})))},kf.mergeAll=void 0;var Df=Cf,qf=Pa;kf.mergeAll=function(e){return void 0===e&&(e=1/0),Df.mergeMap(qf.identity,e)},If.concatAll=void 0;var Vf=kf;If.concatAll=function(){return Vf.mergeAll(1)},Tf.concat=void 0;var $f=If,Yf=Rc,Jf=Dc;Tf.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return $f.concatAll()(Jf.from(e,Yf.popScheduler(e)))};var Hf={},Kf={defer:void 0},Gf=Xi,Qf=$c;Kf.defer=function(e){return new Gf.Observable((function(t){Qf.innerFrom(e()).subscribe(t)}))},Hf.connectable=void 0;var Xf=pu,Zf=Xi,ep=Kf,tp={connector:function(){return new Xf.Subject},resetOnDisconnect:!0};Hf.connectable=function(e,t){void 0===t&&(t=tp);var r=null,n=t.connector,o=t.resetOnDisconnect,i=void 0===o||o,a=n(),u=new Zf.Observable((function(e){return a.subscribe(e)}));return u.connect=function(){return r&&!r.closed||(r=ep.defer((function(){return e})).subscribe(a),i&&r.add((function(){return a=n()}))),r},u};var rp={forkJoin:void 0},np=Xi,op=pf,ip=$c,ap=Rc,up=$a,cp=$l,sp=hf;rp.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ap.popResultSelector(e),n=op.argsArgArrayOrObject(e),o=n.args,i=n.keys,a=new np.Observable((function(e){var t=o.length;if(t)for(var r=new Array(t),n=t,a=t,u=function(t){var u=!1;ip.innerFrom(o[t]).subscribe(up.createOperatorSubscriber(e,(function(e){u||(u=!0,a--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&u||(a||e.next(i?sp.createObject(i,r):r),e.complete())})))},c=0;c<t;c++)u(c);else e.complete()}));return r?a.pipe(cp.mapOneOrManyArgs(r)):a};var lp={},fp=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a};lp.fromEvent=void 0;var pp=$c,dp=Xi,vp=Cf,bp=Yc,yp=ea,hp=$l,mp=["addListener","removeListener"],gp=["addEventListener","removeEventListener"],Op=["on","off"];function wp(e,t){return function(r){return function(n){return e[r](t,n)}}}lp.fromEvent=function e(t,r,n,o){if(yp.isFunction(n)&&(o=n,n=void 0),o)return e(t,r,n).pipe(hp.mapOneOrManyArgs(o));var i=fp(function(e){return yp.isFunction(e.addEventListener)&&yp.isFunction(e.removeEventListener)}(t)?gp.map((function(e){return function(o){return t[e](r,o,n)}})):function(e){return yp.isFunction(e.addListener)&&yp.isFunction(e.removeListener)}(t)?mp.map(wp(t,r)):function(e){return yp.isFunction(e.on)&&yp.isFunction(e.off)}(t)?Op.map(wp(t,r)):[],2),a=i[0],u=i[1];if(!a&&bp.isArrayLike(t))return vp.mergeMap((function(t){return e(t,r,n)}))(pp.innerFrom(t));if(!a)throw new TypeError("Invalid event target");return new dp.Observable((function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return a(t),function(){return u(t)}}))};var Sp={fromEventPattern:void 0},_p=Xi,jp=ea,xp=$l;Sp.fromEventPattern=function e(t,r,n){return n?e(t,r).pipe(xp.mapOneOrManyArgs(n)):new _p.Observable((function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},o=t(n);return jp.isFunction(r)?function(){return r(n,o)}:void 0}))};var Ep={},Pp=n&&n.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=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++,n=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(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}};Ep.generate=void 0;var Ap=Pa,Tp=Bc,Ip=Kf,kp=Hs;Ep.generate=function(e,t,r,n,o){var i,a,u,c;function s(){var e;return Pp(this,(function(n){switch(n.label){case 0:e=c,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,u(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(c=(i=e).initialState,t=i.condition,r=i.iterate,a=i.resultSelector,u=void 0===a?Ap.identity:a,o=i.scheduler):(c=e,!n||Tp.isScheduler(n)?(u=Ap.identity,o=n):u=n),Ip.defer(o?function(){return kp.scheduleIterable(s(),o)}:s)};var Cp={iif:void 0},Fp=Kf;Cp.iif=function(e,t,r){return Fp.defer((function(){return e()?t:r}))};var Np={},Mp={timer:void 0},Rp=Xi,Bp=fc,Lp=Bc,Up=Dl;Mp.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=Bp.async);var n=-1;return null!=t&&(Lp.isScheduler(t)?r=t:n=t),new Rp.Observable((function(t){var o=Up.isValidDate(e)?+e-r.now():e;o<0&&(o=0);var i=0;return r.schedule((function(){t.closed||(t.next(i++),0<=n?this.schedule(void 0,n):t.complete())}),o)}))},Np.interval=void 0;var zp=fc,Wp=Mp;Np.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=zp.asyncScheduler),e<0&&(e=0),Wp.timer(e,e,t)};var Dp={merge:void 0},qp=kf,Vp=$c,$p=Nc,Yp=Rc,Jp=Dc;Dp.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Yp.popScheduler(e),n=Yp.popNumber(e,1/0),o=e;return o.length?1===o.length?Vp.innerFrom(o[0]):qp.mergeAll(n)(Jp.from(o,r)):$p.EMPTY};var Hp={};!function(e){e.never=e.NEVER=void 0;var t=Xi,r=ga;e.NEVER=new t.Observable(r.noop),e.never=function(){return e.NEVER}}(Hp);var Kp={},Gp={},Qp={argsOrArgArray:void 0},Xp=Array.isArray;Qp.argsOrArgArray=function(e){return 1===e.length&&Xp(e[0])?e[0]:e};var Zp=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},ed=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Gp.onErrorResumeNext=void 0;var td=Wa,rd=$c,nd=Qp,od=$a,id=ga;Gp.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=nd.argsOrArgArray(e);return td.operate((function(e,t){var n=ed([e],Zp(r)),o=function(){if(!t.closed)if(n.length>0){var e=void 0;try{e=rd.innerFrom(n.shift())}catch(e){return void o()}var r=od.createOperatorSubscriber(t,void 0,id.noop,id.noop);e.subscribe(r),r.add(o)}else t.complete()};o()}))},Kp.onErrorResumeNext=void 0;var ad=Nc,ud=Gp,cd=Qp;Kp.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ud.onErrorResumeNext(cd.argsOrArgArray(e))(ad.EMPTY)};var sd={pairs:void 0},ld=Dc;sd.pairs=function(e,t){return ld.from(Object.entries(e),t)};var fd={},pd={};pd.not=void 0,pd.not=function(e,t){return function(r,n){return!e.call(t,r,n)}};var dd={filter:void 0},vd=Wa,bd=$a;dd.filter=function(e,t){return vd.operate((function(r,n){var o=0;r.subscribe(bd.createOperatorSubscriber(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))},fd.partition=void 0;var yd=pd,hd=dd,md=$c;fd.partition=function(e,t,r){return[hd.filter(t,r)(md.innerFrom(e)),hd.filter(yd.not(t,r))(md.innerFrom(e))]};var gd={};gd.raceInit=gd.race=void 0;var Od=Xi,wd=$c,Sd=Qp,_d=$a;function jd(e){return function(t){for(var r=[],n=function(n){r.push(wd.innerFrom(e[n]).subscribe(_d.createOperatorSubscriber(t,(function(e){if(r){for(var o=0;o<r.length;o++)o!==n&&r[o].unsubscribe();r=null}t.next(e)}))))},o=0;r&&!t.closed&&o<e.length;o++)n(o)}}gd.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=Sd.argsOrArgArray(e)).length?wd.innerFrom(e[0]):new Od.Observable(jd(e))},gd.raceInit=jd;var xd={range:void 0},Ed=Xi,Pd=Nc;xd.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return Pd.EMPTY;var n=t+e;return new Ed.Observable(r?function(t){var o=e;return r.schedule((function(){o<n?(t.next(o++),this.schedule()):t.complete()}))}:function(t){for(var r=e;r<n&&!t.closed;)t.next(r++);t.complete()})};var Ad={using:void 0},Td=Xi,Id=$c,kd=Nc;Ad.using=function(e,t){return new Td.Observable((function(r){var n=e(),o=t(n);return(o?Id.innerFrom(o):kd.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))};var Cd={},Fd=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Nd=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Cd.zip=void 0;var Md=Xi,Rd=$c,Bd=Qp,Ld=Nc,Ud=$a,zd=Rc;Cd.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=zd.popResultSelector(e),n=Bd.argsOrArgArray(e);return n.length?new Md.Observable((function(e){var t=n.map((function(){return[]})),o=n.map((function(){return!1}));e.add((function(){t=o=null}));for(var i=function(i){Rd.innerFrom(n[i]).subscribe(Ud.createOperatorSubscriber(e,(function(n){if(t[i].push(n),t.every((function(e){return e.length}))){var a=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,Nd([],Fd(a))):a),t.some((function(e,t){return!e.length&&o[t]}))&&e.complete()}}),(function(){o[i]=!0,!t[i].length&&e.complete()})))},a=0;!e.closed&&a<n.length;a++)i(a);return function(){t=o=null}})):Ld.EMPTY};var Wd={},Dd={audit:void 0},qd=Wa,Vd=$c,$d=$a;Dd.audit=function(e){return qd.operate((function(t,r){var n=!1,o=null,i=null,a=!1,u=function(){if(null==i||i.unsubscribe(),i=null,n){n=!1;var e=o;o=null,r.next(e)}a&&r.complete()},c=function(){i=null,a&&r.complete()};t.subscribe($d.createOperatorSubscriber(r,(function(t){n=!0,o=t,i||Vd.innerFrom(e(t)).subscribe(i=$d.createOperatorSubscriber(r,u,c))}),(function(){a=!0,(!n||!i||i.closed)&&r.complete()})))}))};var Yd={auditTime:void 0},Jd=fc,Hd=Dd,Kd=Mp;Yd.auditTime=function(e,t){return void 0===t&&(t=Jd.asyncScheduler),Hd.audit((function(){return Kd.timer(e,t)}))};var Gd={buffer:void 0},Qd=Wa,Xd=ga,Zd=$a;Gd.buffer=function(e){return Qd.operate((function(t,r){var n=[];return t.subscribe(Zd.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),e.subscribe(Zd.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),Xd.noop)),function(){n=null}}))};var ev={},tv=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};ev.bufferCount=void 0;var rv=Wa,nv=$a,ov=ia;ev.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,rv.operate((function(r,n){var o=[],i=0;r.subscribe(nv.createOperatorSubscriber(n,(function(r){var a,u,c,s,l=null;i++%t==0&&o.push([]);try{for(var f=tv(o),p=f.next();!p.done;p=f.next()){(b=p.value).push(r),e<=b.length&&(l=null!=l?l:[]).push(b)}}catch(e){a={error:e}}finally{try{p&&!p.done&&(u=f.return)&&u.call(f)}finally{if(a)throw a.error}}if(l)try{for(var d=tv(l),v=d.next();!v.done;v=d.next()){var b=v.value;ov.arrRemove(o,b),n.next(b)}}catch(e){c={error:e}}finally{try{v&&!v.done&&(s=d.return)&&s.call(d)}finally{if(c)throw c.error}}}),(function(){var e,t;try{for(var r=tv(o),i=r.next();!i.done;i=r.next()){var a=i.value;n.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}n.complete()}),void 0,(function(){o=null})))}))};var iv={},av=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};iv.bufferTime=void 0;var uv=ta,cv=Wa,sv=$a,lv=ia,fv=fc,pv=Rc,dv=Fs;iv.bufferTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=pv.popScheduler(n))&&void 0!==t?t:fv.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return cv.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.buffer;e.subs.unsubscribe(),lv.arrRemove(n,e),r.next(t),o&&s()},s=function(){if(n){var t=new uv.Subscription;r.add(t);var o={buffer:[],subs:t};n.push(o),dv.executeSchedule(t,i,(function(){return c(o)}),e)}};null!==a&&a>=0?dv.executeSchedule(r,i,s,a,!0):o=!0,s();var l=sv.createOperatorSubscriber(r,(function(e){var t,r,o=n.slice();try{for(var i=av(o),a=i.next();!a.done;a=i.next()){var s=a.value,l=s.buffer;l.push(e),u<=l.length&&c(s)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;null==n?void 0:n.length;)r.next(n.shift().buffer);null==l||l.unsubscribe(),r.complete(),r.unsubscribe()}),void 0,(function(){return n=null}));t.subscribe(l)}))};var vv={},bv=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};vv.bufferToggle=void 0;var yv=ta,hv=Wa,mv=$c,gv=$a,Ov=ga,wv=ia;vv.bufferToggle=function(e,t){return hv.operate((function(r,n){var o=[];mv.innerFrom(e).subscribe(gv.createOperatorSubscriber(n,(function(e){var r=[];o.push(r);var i=new yv.Subscription;i.add(mv.innerFrom(t(e)).subscribe(gv.createOperatorSubscriber(n,(function(){wv.arrRemove(o,r),n.next(r),i.unsubscribe()}),Ov.noop)))}),Ov.noop)),r.subscribe(gv.createOperatorSubscriber(n,(function(e){var t,r;try{for(var n=bv(o),i=n.next();!i.done;i=n.next()){i.value.push(e)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}),(function(){for(;o.length>0;)n.next(o.shift());n.complete()})))}))};var Sv={bufferWhen:void 0},_v=Wa,jv=ga,xv=$a,Ev=$c;Sv.bufferWhen=function(e){return _v.operate((function(t,r){var n=null,o=null,i=function(){null==o||o.unsubscribe();var t=n;n=[],t&&r.next(t),Ev.innerFrom(e()).subscribe(o=xv.createOperatorSubscriber(r,i,jv.noop))};i(),t.subscribe(xv.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.push(e)}),(function(){n&&r.next(n),r.complete()}),void 0,(function(){return n=o=null})))}))};var Pv={catchError:void 0},Av=$c,Tv=$a,Iv=Wa;Pv.catchError=function e(t){return Iv.operate((function(r,n){var o,i=null,a=!1;i=r.subscribe(Tv.createOperatorSubscriber(n,void 0,void 0,(function(u){o=Av.innerFrom(t(u,e(t)(r))),i?(i.unsubscribe(),i=null,o.subscribe(n)):a=!0}))),a&&(i.unsubscribe(),i=null,o.subscribe(n))}))};var kv={},Cv={},Fv={},Nv={},Mv={},Rv={scanInternals:void 0},Bv=$a;Rv.scanInternals=function(e,t,r,n,o){return function(i,a){var u=r,c=t,s=0;i.subscribe(Bv.createOperatorSubscriber(a,(function(t){var r=s++;c=u?e(c,t,r):(u=!0,t),n&&a.next(c)}),o&&function(){u&&a.next(c),a.complete()}))}},Mv.reduce=void 0;var Lv=Rv,Uv=Wa;Mv.reduce=function(e,t){return Uv.operate(Lv.scanInternals(e,t,arguments.length>=2,!1,!0))},Nv.toArray=void 0;var zv=Mv,Wv=Wa,Dv=function(e,t){return e.push(t),e};Nv.toArray=function(){return Wv.operate((function(e,t){zv.reduce(Dv,[])(e).subscribe(t)}))},Fv.joinAllInternals=void 0;var qv=Pa,Vv=$l,$v=Ea,Yv=Cf,Jv=Nv;Fv.joinAllInternals=function(e,t){return $v.pipe(Jv.toArray(),Yv.mergeMap((function(t){return e(t)})),t?Vv.mapOneOrManyArgs(t):qv.identity)},Cv.combineLatestAll=void 0;var Hv=ff,Kv=Fv;Cv.combineLatestAll=function(e){return Kv.joinAllInternals(Hv.combineLatest,e)},kv.combineAll=void 0;var Gv=Cv;kv.combineAll=Gv.combineLatestAll;var Qv={},Xv={},Zv=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},eb=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Xv.combineLatest=void 0;var tb=ff,rb=Wa,nb=Qp,ob=$l,ib=Ea,ab=Rc;Xv.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=ab.popResultSelector(t);return n?ib.pipe(e.apply(void 0,eb([],Zv(t))),ob.mapOneOrManyArgs(n)):rb.operate((function(e,r){tb.combineLatestInit(eb([e],Zv(nb.argsOrArgArray(t))))(r)}))};var ub=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},cb=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Qv.combineLatestWith=void 0;var sb=Xv;Qv.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return sb.combineLatest.apply(void 0,cb([],ub(e)))};var lb={concatMap:void 0},fb=Cf,pb=ea;lb.concatMap=function(e,t){return pb.isFunction(t)?fb.mergeMap(e,t,1):fb.mergeMap(e,1)};var db={concatMapTo:void 0},vb=lb,bb=ea;db.concatMapTo=function(e,t){return bb.isFunction(t)?vb.concatMap((function(){return e}),t):vb.concatMap((function(){return e}))};var yb={},hb={},mb=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},gb=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};hb.concat=void 0;var Ob=Wa,wb=If,Sb=Rc,_b=Dc;hb.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Sb.popScheduler(e);return Ob.operate((function(t,n){wb.concatAll()(_b.from(gb([t],mb(e)),r)).subscribe(n)}))};var jb=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},xb=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};yb.concatWith=void 0;var Eb=hb;yb.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Eb.concat.apply(void 0,xb([],jb(e)))};var Pb={},Ab={fromSubscribable:void 0},Tb=Xi;Ab.fromSubscribable=function(e){return new Tb.Observable((function(t){return e.subscribe(t)}))},Pb.connect=void 0;var Ib=pu,kb=Dc,Cb=Wa,Fb=Ab,Nb={connector:function(){return new Ib.Subject}};Pb.connect=function(e,t){void 0===t&&(t=Nb);var r=t.connector;return Cb.operate((function(t,n){var o=r();kb.from(e(Fb.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))}))};var Mb={count:void 0},Rb=Mv;Mb.count=function(e){return Rb.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)};var Bb={debounce:void 0},Lb=Wa,Ub=ga,zb=$a,Wb=$c;Bb.debounce=function(e){return Lb.operate((function(t,r){var n=!1,o=null,i=null,a=function(){if(null==i||i.unsubscribe(),i=null,n){n=!1;var e=o;o=null,r.next(e)}};t.subscribe(zb.createOperatorSubscriber(r,(function(t){null==i||i.unsubscribe(),n=!0,o=t,i=zb.createOperatorSubscriber(r,a,Ub.noop),Wb.innerFrom(e(t)).subscribe(i)}),(function(){a(),r.complete()}),void 0,(function(){o=i=null})))}))};var Db={debounceTime:void 0},qb=fc,Vb=Wa,$b=$a;Db.debounceTime=function(e,t){return void 0===t&&(t=qb.asyncScheduler),Vb.operate((function(r,n){var o=null,i=null,a=null,u=function(){if(o){o.unsubscribe(),o=null;var e=i;i=null,n.next(e)}};function c(){var r=a+e,i=t.now();if(i<r)return o=this.schedule(void 0,r-i),void n.add(o);u()}r.subscribe($b.createOperatorSubscriber(n,(function(r){i=r,a=t.now(),o||(o=t.schedule(c,e),n.add(o))}),(function(){u(),n.complete()}),void 0,(function(){i=o=null})))}))};var Yb={defaultIfEmpty:void 0},Jb=Wa,Hb=$a;Yb.defaultIfEmpty=function(e){return Jb.operate((function(t,r){var n=!1;t.subscribe(Hb.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))};var Kb={},Gb={},Qb={take:void 0},Xb=Nc,Zb=Wa,ey=$a;Qb.take=function(e){return e<=0?function(){return Xb.EMPTY}:Zb.operate((function(t,r){var n=0;t.subscribe(ey.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))};var ty={ignoreElements:void 0},ry=Wa,ny=$a,oy=ga;ty.ignoreElements=function(){return ry.operate((function(e,t){e.subscribe(ny.createOperatorSubscriber(t,oy.noop))}))};var iy={mapTo:void 0},ay=Yl;iy.mapTo=function(e){return ay.map((function(){return e}))},Gb.delayWhen=void 0;var uy=Tf,cy=Qb,sy=ty,ly=iy,fy=Cf;Gb.delayWhen=function e(t,r){return r?function(n){return uy.concat(r.pipe(cy.take(1),sy.ignoreElements()),n.pipe(e(t)))}:fy.mergeMap((function(e,r){return t(e,r).pipe(cy.take(1),ly.mapTo(e))}))},Kb.delay=void 0;var py=fc,dy=Gb,vy=Mp;Kb.delay=function(e,t){void 0===t&&(t=py.asyncScheduler);var r=vy.timer(e,t);return dy.delayWhen((function(){return r}))};var by={dematerialize:void 0},yy=Fc,hy=Wa,my=$a;by.dematerialize=function(){return hy.operate((function(e,t){e.subscribe(my.createOperatorSubscriber(t,(function(e){return yy.observeNotification(e,t)})))}))};var gy={distinct:void 0},Oy=Wa,wy=$a,Sy=ga;gy.distinct=function(e,t){return Oy.operate((function(r,n){var o=new Set;r.subscribe(wy.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;o.has(r)||(o.add(r),n.next(t))}))),null==t||t.subscribe(wy.createOperatorSubscriber(n,(function(){return o.clear()}),Sy.noop))}))};var _y={distinctUntilChanged:void 0},jy=Pa,xy=Wa,Ey=$a;function Py(e,t){return e===t}_y.distinctUntilChanged=function(e,t){return void 0===t&&(t=jy.identity),e=null!=e?e:Py,xy.operate((function(r,n){var o,i=!0;r.subscribe(Ey.createOperatorSubscriber(n,(function(r){var a=t(r);!i&&e(o,a)||(i=!1,o=a,n.next(r))})))}))};var Ay={distinctUntilKeyChanged:void 0},Ty=_y;Ay.distinctUntilKeyChanged=function(e,t){return Ty.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))};var Iy={},ky={throwIfEmpty:void 0},Cy=Tl,Fy=Wa,Ny=$a;function My(){return new Cy.EmptyError}ky.throwIfEmpty=function(e){return void 0===e&&(e=My),Fy.operate((function(t,r){var n=!1;t.subscribe(Ny.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))},Iy.elementAt=void 0;var Ry=Ml,By=dd,Ly=ky,Uy=Yb,zy=Qb;Iy.elementAt=function(e,t){if(e<0)throw new Ry.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(n){return n.pipe(By.filter((function(t,r){return r===e})),zy.take(1),r?Uy.defaultIfEmpty(t):Ly.throwIfEmpty((function(){return new Ry.ArgumentOutOfRangeError})))}};var Wy={},Dy=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},qy=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Wy.endWith=void 0;var Vy=Tf,$y=Mc;Wy.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Vy.concat(t,$y.of.apply(void 0,qy([],Dy(e))))}};var Yy={every:void 0},Jy=Wa,Hy=$a;Yy.every=function(e,t){return Jy.operate((function(r,n){var o=0;r.subscribe(Hy.createOperatorSubscriber(n,(function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))};var Ky={},Gy={exhaustAll:void 0},Qy=Wa,Xy=$c,Zy=$a;Gy.exhaustAll=function(){return Qy.operate((function(e,t){var r=!1,n=null;e.subscribe(Zy.createOperatorSubscriber(t,(function(e){n||(n=Xy.innerFrom(e).subscribe(Zy.createOperatorSubscriber(t,void 0,(function(){n=null,r&&t.complete()}))))}),(function(){r=!0,!n&&t.complete()})))}))},Ky.exhaust=void 0;var eh=Gy;Ky.exhaust=eh.exhaustAll;var th={exhaustMap:void 0},rh=Yl,nh=$c,oh=Wa,ih=$a;th.exhaustMap=function e(t,r){return r?function(n){return n.pipe(e((function(e,n){return nh.innerFrom(t(e,n)).pipe(rh.map((function(t,o){return r(e,t,n,o)})))})))}:oh.operate((function(e,r){var n=0,o=null,i=!1;e.subscribe(ih.createOperatorSubscriber(r,(function(e){o||(o=ih.createOperatorSubscriber(r,void 0,(function(){o=null,i&&r.complete()})),nh.innerFrom(t(e,n++)).subscribe(o))}),(function(){i=!0,!o&&r.complete()})))}))};var ah={expand:void 0},uh=Wa,ch=Ff;ah.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,uh.operate((function(n,o){return ch.mergeInternals(n,o,e,t,void 0,!0,r)}))};var sh={finalize:void 0},lh=Wa;sh.finalize=function(e){return lh.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))};var fh={};fh.createFind=fh.find=void 0;var ph=Wa,dh=$a;function vh(e,t,r){var n="index"===r;return function(r,o){var i=0;r.subscribe(dh.createOperatorSubscriber(o,(function(a){var u=i++;e.call(t,a,u,r)&&(o.next(n?u:a),o.complete())}),(function(){o.next(n?-1:void 0),o.complete()})))}}fh.find=function(e,t){return ph.operate(vh(e,t,"value"))},fh.createFind=vh;var bh={findIndex:void 0},yh=Wa,hh=fh;bh.findIndex=function(e,t){return yh.operate(hh.createFind(e,t,"index"))};var mh={first:void 0},gh=Tl,Oh=dd,wh=Qb,Sh=Yb,_h=ky,jh=Pa;mh.first=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Oh.filter((function(t,r){return e(t,r,n)})):jh.identity,wh.take(1),r?Sh.defaultIfEmpty(t):_h.throwIfEmpty((function(){return new gh.EmptyError})))}};var xh={groupBy:void 0},Eh=Xi,Ph=$c,Ah=pu,Th=Wa,Ih=$a;xh.groupBy=function(e,t,r,n){return Th.operate((function(o,i){var a;t&&"function"!=typeof t?(r=t.duration,a=t.element,n=t.connector):a=t;var u=new Map,c=function(e){u.forEach(e),e(i)},s=function(e){return c((function(t){return t.error(e)}))},l=0,f=!1,p=new Ih.OperatorSubscriber(i,(function(t){try{var o=e(t),c=u.get(o);if(!c){u.set(o,c=n?n():new Ah.Subject);var d=(b=o,y=c,(h=new Eh.Observable((function(e){l++;var t=y.subscribe(e);return function(){t.unsubscribe(),0==--l&&f&&p.unsubscribe()}}))).key=b,h);if(i.next(d),r){var v=Ih.createOperatorSubscriber(c,(function(){c.complete(),null==v||v.unsubscribe()}),void 0,void 0,(function(){return u.delete(o)}));p.add(Ph.innerFrom(r(d)).subscribe(v))}}c.next(a?a(t):t)}catch(e){s(e)}var b,y,h}),(function(){return c((function(e){return e.complete()}))}),s,(function(){return u.clear()}),(function(){return f=!0,0===l}));o.subscribe(p)}))};var kh={isEmpty:void 0},Ch=Wa,Fh=$a;kh.isEmpty=function(){return Ch.operate((function(e,t){e.subscribe(Fh.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))};var Nh={},Mh={},Rh=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Mh.takeLast=void 0;var Bh=Nc,Lh=Wa,Uh=$a;Mh.takeLast=function(e){return e<=0?function(){return Bh.EMPTY}:Lh.operate((function(t,r){var n=[];t.subscribe(Uh.createOperatorSubscriber(r,(function(t){n.push(t),e<n.length&&n.shift()}),(function(){var e,t;try{for(var o=Rh(n),i=o.next();!i.done;i=o.next()){var a=i.value;r.next(a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){n=null})))}))},Nh.last=void 0;var zh=Tl,Wh=dd,Dh=Mh,qh=ky,Vh=Yb,$h=Pa;Nh.last=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?Wh.filter((function(t,r){return e(t,r,n)})):$h.identity,Dh.takeLast(1),r?Vh.defaultIfEmpty(t):qh.throwIfEmpty((function(){return new zh.EmptyError})))}};var Yh={materialize:void 0},Jh=Fc,Hh=Wa,Kh=$a;Yh.materialize=function(){return Hh.operate((function(e,t){e.subscribe(Kh.createOperatorSubscriber(t,(function(e){t.next(Jh.Notification.createNext(e))}),(function(){t.next(Jh.Notification.createComplete()),t.complete()}),(function(e){t.next(Jh.Notification.createError(e)),t.complete()})))}))};var Gh={max:void 0},Qh=Mv,Xh=ea;Gh.max=function(e){return Qh.reduce(Xh.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})};var Zh={flatMap:void 0},em=Cf;Zh.flatMap=em.mergeMap;var tm={mergeMapTo:void 0},rm=Cf,nm=ea;tm.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),nm.isFunction(t)?rm.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),rm.mergeMap((function(){return e}),r))};var om={mergeScan:void 0},im=Wa,am=Ff;om.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),im.operate((function(n,o){var i=t;return am.mergeInternals(n,o,(function(t,r){return e(i,t,r)}),r,(function(e){i=e}),!1,void 0,(function(){return i=null}))}))};var um={},cm={},sm=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},lm=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};cm.merge=void 0;var fm=Wa,pm=Qp,dm=kf,vm=Rc,bm=Dc;cm.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=vm.popScheduler(e),n=vm.popNumber(e,1/0);return e=pm.argsOrArgArray(e),fm.operate((function(t,o){dm.mergeAll(n)(bm.from(lm([t],sm(e)),r)).subscribe(o)}))};var ym=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},hm=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};um.mergeWith=void 0;var mm=cm;um.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mm.merge.apply(void 0,hm([],ym(e)))};var gm={min:void 0},Om=Mv,wm=ea;gm.min=function(e){return Om.reduce(wm.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})};var Sm={multicast:void 0},_m=Ua,jm=ea,xm=Pb;Sm.multicast=function(e,t){var r=jm.isFunction(e)?e:function(){return e};return jm.isFunction(t)?xm.connect(t,{connector:r}):function(e){return new _m.ConnectableObservable(e,r)}};var Em={pairwise:void 0},Pm=Wa,Am=$a;Em.pairwise=function(){return Pm.operate((function(e,t){var r,n=!1;e.subscribe(Am.createOperatorSubscriber(t,(function(e){var o=r;r=e,n&&t.next([o,e]),n=!0})))}))};var Tm={pluck:void 0},Im=Yl;Tm.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return Im.map((function(t){for(var n=t,o=0;o<r;o++){var i=null==n?void 0:n[e[o]];if(void 0===i)return;n=i}return n}))};var km={publish:void 0},Cm=pu,Fm=Sm,Nm=Pb;km.publish=function(e){return e?function(t){return Nm.connect(e)(t)}:function(e){return Fm.multicast(new Cm.Subject)(e)}};var Mm={publishBehavior:void 0},Rm=ju,Bm=Ua;Mm.publishBehavior=function(e){return function(t){var r=new Rm.BehaviorSubject(e);return new Bm.ConnectableObservable(t,(function(){return r}))}};var Lm={publishLast:void 0},Um=Cu,zm=Ua;Lm.publishLast=function(){return function(e){var t=new Um.AsyncSubject;return new zm.ConnectableObservable(e,(function(){return t}))}};var Wm={publishReplay:void 0},Dm=Pu,qm=Sm,Vm=ea;Wm.publishReplay=function(e,t,r,n){r&&!Vm.isFunction(r)&&(n=r);var o=Vm.isFunction(r)?r:void 0;return function(r){return qm.multicast(new Dm.ReplaySubject(e,t,n),o)(r)}};var $m={},Ym=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Jm=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};$m.raceWith=void 0;var Hm=gd,Km=Wa,Gm=Pa;$m.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?Km.operate((function(t,r){Hm.raceInit(Jm([t],Ym(e)))(r)})):Gm.identity};var Qm={repeat:void 0},Xm=Nc,Zm=Wa,eg=$a,tg=$c,rg=Mp;Qm.repeat=function(e){var t,r,n=1/0;return null!=e&&("object"==typeof e?(t=e.count,n=void 0===t?1/0:t,r=e.delay):n=e),n<=0?function(){return Xm.EMPTY}:Zm.operate((function(e,t){var o,i=0,a=function(){if(null==o||o.unsubscribe(),o=null,null!=r){var e="number"==typeof r?rg.timer(r):tg.innerFrom(r(i)),n=eg.createOperatorSubscriber(t,(function(){n.unsubscribe(),u()}));e.subscribe(n)}else u()},u=function(){var r=!1;o=e.subscribe(eg.createOperatorSubscriber(t,void 0,(function(){++i<n?o?a():r=!0:t.complete()}))),r&&a()};u()}))};var ng={repeatWhen:void 0},og=pu,ig=Wa,ag=$a;ng.repeatWhen=function(e){return ig.operate((function(t,r){var n,o,i=!1,a=!1,u=!1,c=function(){return u&&a&&(r.complete(),!0)},s=function(){u=!1,n=t.subscribe(ag.createOperatorSubscriber(r,void 0,(function(){u=!0,!c()&&(o||(o=new og.Subject,e(o).subscribe(ag.createOperatorSubscriber(r,(function(){n?s():i=!0}),(function(){a=!0,c()})))),o).next()}))),i&&(n.unsubscribe(),n=null,i=!1,s())};s()}))};var ug={retry:void 0},cg=Wa,sg=$a,lg=Pa,fg=Mp,pg=$c;ug.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,n=void 0===r?1/0:r,o=t.delay,i=t.resetOnSuccess,a=void 0!==i&&i;return n<=0?lg.identity:cg.operate((function(e,t){var r,i=0,u=function(){var c=!1;r=e.subscribe(sg.createOperatorSubscriber(t,(function(e){a&&(i=0),t.next(e)}),void 0,(function(e){if(i++<n){var a=function(){r?(r.unsubscribe(),r=null,u()):c=!0};if(null!=o){var s="number"==typeof o?fg.timer(o):pg.innerFrom(o(e,i)),l=sg.createOperatorSubscriber(t,(function(){l.unsubscribe(),a()}),(function(){t.complete()}));s.subscribe(l)}else a()}else t.error(e)}))),c&&(r.unsubscribe(),r=null,u())};u()}))};var dg={retryWhen:void 0},vg=pu,bg=Wa,yg=$a;dg.retryWhen=function(e){return bg.operate((function(t,r){var n,o,i=!1,a=function(){n=t.subscribe(yg.createOperatorSubscriber(r,void 0,void 0,(function(t){o||(o=new vg.Subject,e(o).subscribe(yg.createOperatorSubscriber(r,(function(){return n?a():i=!0})))),o&&o.next(t)}))),i&&(n.unsubscribe(),n=null,i=!1,a())};a()}))};var hg={sample:void 0},mg=Wa,gg=ga,Og=$a;hg.sample=function(e){return mg.operate((function(t,r){var n=!1,o=null;t.subscribe(Og.createOperatorSubscriber(r,(function(e){n=!0,o=e}))),e.subscribe(Og.createOperatorSubscriber(r,(function(){if(n){n=!1;var e=o;o=null,r.next(e)}}),gg.noop))}))};var wg={sampleTime:void 0},Sg=fc,_g=hg,jg=Np;wg.sampleTime=function(e,t){return void 0===t&&(t=Sg.asyncScheduler),_g.sample(jg.interval(e,t))};var xg={scan:void 0},Eg=Wa,Pg=Rv;xg.scan=function(e,t){return Eg.operate(Pg.scanInternals(e,t,arguments.length>=2,!0))};var Ag={sequenceEqual:void 0},Tg=Wa,Ig=$a;Ag.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),Tg.operate((function(r,n){var o={buffer:[],complete:!1},i={buffer:[],complete:!1},a=function(e){n.next(e),n.complete()},u=function(e,r){var o=Ig.createOperatorSubscriber(n,(function(n){var o=r.buffer,i=r.complete;0===o.length?i?a(!1):e.buffer.push(n):!t(n,o.shift())&&a(!1)}),(function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&a(0===n.length),null==o||o.unsubscribe()}));return o};r.subscribe(u(o,i)),e.subscribe(u(i,o))}))};var kg={},Cg=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Fg=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};kg.share=void 0;var Ng=Dc,Mg=Qb,Rg=pu,Bg=Zi,Lg=Wa;function Ug(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return!0===t?(e(),null):!1===t?null:t.apply(void 0,Fg([],Cg(r))).pipe(Mg.take(1)).subscribe((function(){return e()}))}kg.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new Rg.Subject}:t,n=e.resetOnError,o=void 0===n||n,i=e.resetOnComplete,a=void 0===i||i,u=e.resetOnRefCountZero,c=void 0===u||u;return function(e){var t=null,n=null,i=null,u=0,s=!1,l=!1,f=function(){null==n||n.unsubscribe(),n=null},p=function(){f(),t=i=null,s=l=!1},d=function(){var e=t;p(),null==e||e.unsubscribe()};return Lg.operate((function(e,v){u++,l||s||f();var b=i=null!=i?i:r();v.add((function(){0!==--u||l||s||(n=Ug(d,c))})),b.subscribe(v),t||(t=new Bg.SafeSubscriber({next:function(e){return b.next(e)},error:function(e){l=!0,f(),n=Ug(p,o,e),b.error(e)},complete:function(){s=!0,f(),n=Ug(p,a),b.complete()}}),Ng.from(e).subscribe(t))}))(e)}};var zg={shareReplay:void 0},Wg=Pu,Dg=kg;zg.shareReplay=function(e,t,r){var n,o,i,a,u=!1;return e&&"object"==typeof e?(n=e.bufferSize,a=void 0===n?1/0:n,o=e.windowTime,t=void 0===o?1/0:o,u=void 0!==(i=e.refCount)&&i,r=e.scheduler):a=null!=e?e:1/0,Dg.share({connector:function(){return new Wg.ReplaySubject(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})};var qg={single:void 0},Vg=Tl,$g=Ul,Yg=Bl,Jg=Wa,Hg=$a;qg.single=function(e){return Jg.operate((function(t,r){var n,o=!1,i=!1,a=0;t.subscribe(Hg.createOperatorSubscriber(r,(function(u){i=!0,e&&!e(u,a++,t)||(o&&r.error(new $g.SequenceError("Too many matching values")),o=!0,n=u)}),(function(){o?(r.next(n),r.complete()):r.error(i?new Yg.NotFoundError("No matching values"):new Vg.EmptyError)})))}))};var Kg={skip:void 0},Gg=dd;Kg.skip=function(e){return Gg.filter((function(t,r){return e<=r}))};var Qg={skipLast:void 0},Xg=Pa,Zg=Wa,eO=$a;Qg.skipLast=function(e){return e<=0?Xg.identity:Zg.operate((function(t,r){var n=new Array(e),o=0;return t.subscribe(eO.createOperatorSubscriber(r,(function(t){var i=o++;if(i<e)n[i]=t;else{var a=i%e,u=n[a];n[a]=t,r.next(u)}}))),function(){n=null}}))};var tO={skipUntil:void 0},rO=Wa,nO=$a,oO=$c,iO=ga;tO.skipUntil=function(e){return rO.operate((function(t,r){var n=!1,o=nO.createOperatorSubscriber(r,(function(){null==o||o.unsubscribe(),n=!0}),iO.noop);oO.innerFrom(e).subscribe(o),t.subscribe(nO.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))};var aO={skipWhile:void 0},uO=Wa,cO=$a;aO.skipWhile=function(e){return uO.operate((function(t,r){var n=!1,o=0;t.subscribe(cO.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,o++)))&&r.next(t)})))}))};var sO={startWith:void 0},lO=Tf,fO=Rc,pO=Wa;sO.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=fO.popScheduler(e);return pO.operate((function(t,n){(r?lO.concat(e,t,r):lO.concat(e,t)).subscribe(n)}))};var dO={},vO={switchMap:void 0},bO=$c,yO=Wa,hO=$a;vO.switchMap=function(e,t){return yO.operate((function(r,n){var o=null,i=0,a=!1,u=function(){return a&&!o&&n.complete()};r.subscribe(hO.createOperatorSubscriber(n,(function(r){null==o||o.unsubscribe();var a=0,c=i++;bO.innerFrom(e(r,c)).subscribe(o=hO.createOperatorSubscriber(n,(function(e){return n.next(t?t(r,e,c,a++):e)}),(function(){o=null,u()})))}),(function(){a=!0,u()})))}))},dO.switchAll=void 0;var mO=vO,gO=Pa;dO.switchAll=function(){return mO.switchMap(gO.identity)};var OO={switchMapTo:void 0},wO=vO,SO=ea;OO.switchMapTo=function(e,t){return SO.isFunction(t)?wO.switchMap((function(){return e}),t):wO.switchMap((function(){return e}))};var _O={switchScan:void 0},jO=vO,xO=Wa;_O.switchScan=function(e,t){return xO.operate((function(r,n){var o=t;return jO.switchMap((function(t,r){return e(o,t,r)}),(function(e,t){return o=t,t}))(r).subscribe(n),function(){o=null}}))};var EO={takeUntil:void 0},PO=Wa,AO=$a,TO=$c,IO=ga;EO.takeUntil=function(e){return PO.operate((function(t,r){TO.innerFrom(e).subscribe(AO.createOperatorSubscriber(r,(function(){return r.complete()}),IO.noop)),!r.closed&&t.subscribe(r)}))};var kO={takeWhile:void 0},CO=Wa,FO=$a;kO.takeWhile=function(e,t){return void 0===t&&(t=!1),CO.operate((function(r,n){var o=0;r.subscribe(FO.createOperatorSubscriber(n,(function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()})))}))};var NO={tap:void 0},MO=ea,RO=Wa,BO=$a,LO=Pa;NO.tap=function(e,t,r){var n=MO.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return n?RO.operate((function(e,t){var r;null===(r=n.subscribe)||void 0===r||r.call(n);var o=!0;e.subscribe(BO.createOperatorSubscriber(t,(function(e){var r;null===(r=n.next)||void 0===r||r.call(n,e),t.next(e)}),(function(){var e;o=!1,null===(e=n.complete)||void 0===e||e.call(n),t.complete()}),(function(e){var r;o=!1,null===(r=n.error)||void 0===r||r.call(n,e),t.error(e)}),(function(){var e,t;o&&(null===(e=n.unsubscribe)||void 0===e||e.call(n)),null===(t=n.finalize)||void 0===t||t.call(n)})))})):LO.identity};var UO={};!function(e){e.throttle=e.defaultThrottleConfig=void 0;var t=Wa,r=$a,n=$c;e.defaultThrottleConfig={leading:!0,trailing:!1},e.throttle=function(o,i){return void 0===i&&(i=e.defaultThrottleConfig),t.operate((function(e,t){var a=i.leading,u=i.trailing,c=!1,s=null,l=null,f=!1,p=function(){null==l||l.unsubscribe(),l=null,u&&(b(),f&&t.complete())},d=function(){l=null,f&&t.complete()},v=function(e){return l=n.innerFrom(o(e)).subscribe(r.createOperatorSubscriber(t,p,d))},b=function(){if(c){c=!1;var e=s;s=null,t.next(e),!f&&v(e)}};e.subscribe(r.createOperatorSubscriber(t,(function(e){c=!0,s=e,(!l||l.closed)&&(a?b():v(e))}),(function(){f=!0,(!(u&&c&&l)||l.closed)&&t.complete()})))}))}}(UO);var zO={throttleTime:void 0},WO=fc,DO=UO,qO=Mp;zO.throttleTime=function(e,t,r){void 0===t&&(t=WO.asyncScheduler),void 0===r&&(r=DO.defaultThrottleConfig);var n=qO.timer(e,t);return DO.throttle((function(){return n}),r)};var VO={};VO.TimeInterval=VO.timeInterval=void 0;var $O=fc,YO=Wa,JO=$a;VO.timeInterval=function(e){return void 0===e&&(e=$O.asyncScheduler),YO.operate((function(t,r){var n=e.now();t.subscribe(JO.createOperatorSubscriber(r,(function(t){var o=e.now(),i=o-n;n=o,r.next(new HO(t,i))})))}))};var HO=function(e,t){this.value=e,this.interval=t};VO.TimeInterval=HO;var KO={timeoutWith:void 0},GO=fc,QO=Dl,XO=Wl;KO.timeoutWith=function(e,t,r){var n,o,i;if(r=null!=r?r:GO.async,QO.isValidDate(e)?n=e:"number"==typeof e&&(o=e),!t)throw new TypeError("No observable provided to switch to");if(i=function(){return t},null==n&&null==o)throw new TypeError("No timeout provided.");return XO.timeout({first:n,each:o,scheduler:r,with:i})};var ZO={timestamp:void 0},ew=Au,tw=Yl;ZO.timestamp=function(e){return void 0===e&&(e=ew.dateTimestampProvider),tw.map((function(t){return{value:t,timestamp:e.now()}}))};var rw={window:void 0},nw=pu,ow=Wa,iw=$a,aw=ga;rw.window=function(e){return ow.operate((function(t,r){var n=new nw.Subject;r.next(n.asObservable());var o=function(e){n.error(e),r.error(e)};return t.subscribe(iw.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.next(e)}),(function(){n.complete(),r.complete()}),o)),e.subscribe(iw.createOperatorSubscriber(r,(function(){n.complete(),r.next(n=new nw.Subject)}),aw.noop,o)),function(){null==n||n.unsubscribe(),n=null}}))};var uw={},cw=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};uw.windowCount=void 0;var sw=pu,lw=Wa,fw=$a;uw.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return lw.operate((function(t,n){var o=[new sw.Subject],i=0;n.next(o[0].asObservable()),t.subscribe(fw.createOperatorSubscriber(n,(function(t){var a,u;try{for(var c=cw(o),s=c.next();!s.done;s=c.next()){s.value.next(t)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(u=c.return)&&u.call(c)}finally{if(a)throw a.error}}var l=i-e+1;if(l>=0&&l%r==0&&o.shift().complete(),++i%r==0){var f=new sw.Subject;o.push(f),n.next(f.asObservable())}}),(function(){for(;o.length>0;)o.shift().complete();n.complete()}),(function(e){for(;o.length>0;)o.shift().error(e);n.error(e)}),(function(){o=null})))}))};var pw={windowTime:void 0},dw=pu,vw=fc,bw=ta,yw=Wa,hw=$a,mw=ia,gw=Rc,Ow=Fs;pw.windowTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=gw.popScheduler(n))&&void 0!==t?t:vw.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return yw.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),mw.arrRemove(n,e),o&&s()},s=function(){if(n){var t=new bw.Subscription;r.add(t);var o=new dw.Subject,a={window:o,subs:t,seen:0};n.push(a),r.next(o.asObservable()),Ow.executeSchedule(t,i,(function(){return c(a)}),e)}};null!==a&&a>=0?Ow.executeSchedule(r,i,s,a,!0):o=!0,s();var l=function(e){return n.slice().forEach(e)},f=function(e){l((function(t){var r=t.window;return e(r)})),e(r),r.unsubscribe()};return t.subscribe(hw.createOperatorSubscriber(r,(function(e){l((function(t){t.window.next(e),u<=++t.seen&&c(t)}))}),(function(){return f((function(e){return e.complete()}))}),(function(e){return f((function(t){return t.error(e)}))}))),function(){n=null}}))};var ww={},Sw=n&&n.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};ww.windowToggle=void 0;var _w=pu,jw=ta,xw=Wa,Ew=$c,Pw=$a,Aw=ga,Tw=ia;ww.windowToggle=function(e,t){return xw.operate((function(r,n){var o=[],i=function(e){for(;0<o.length;)o.shift().error(e);n.error(e)};Ew.innerFrom(e).subscribe(Pw.createOperatorSubscriber(n,(function(e){var r=new _w.Subject;o.push(r);var a,u=new jw.Subscription;try{a=Ew.innerFrom(t(e))}catch(e){return void i(e)}n.next(r.asObservable()),u.add(a.subscribe(Pw.createOperatorSubscriber(n,(function(){Tw.arrRemove(o,r),r.complete(),u.unsubscribe()}),Aw.noop,i)))}),Aw.noop)),r.subscribe(Pw.createOperatorSubscriber(n,(function(e){var t,r,n=o.slice();try{for(var i=Sw(n),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;0<o.length;)o.shift().complete();n.complete()}),i,(function(){for(;0<o.length;)o.shift().unsubscribe()})))}))};var Iw={windowWhen:void 0},kw=pu,Cw=Wa,Fw=$a,Nw=$c;Iw.windowWhen=function(e){return Cw.operate((function(t,r){var n,o,i=function(e){n.error(e),r.error(e)},a=function(){var t;null==o||o.unsubscribe(),null==n||n.complete(),n=new kw.Subject,r.next(n.asObservable());try{t=Nw.innerFrom(e())}catch(e){return void i(e)}t.subscribe(o=Fw.createOperatorSubscriber(r,a,a,i))};a(),t.subscribe(Fw.createOperatorSubscriber(r,(function(e){return n.next(e)}),(function(){n.complete(),r.complete()}),i,(function(){null==o||o.unsubscribe(),n=null})))}))};var Mw={},Rw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Bw=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Mw.withLatestFrom=void 0;var Lw=Wa,Uw=$a,zw=$c,Ww=Pa,Dw=ga,qw=Rc;Mw.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=qw.popResultSelector(e);return Lw.operate((function(t,n){for(var o=e.length,i=new Array(o),a=e.map((function(){return!1})),u=!1,c=function(t){zw.innerFrom(e[t]).subscribe(Uw.createOperatorSubscriber(n,(function(e){i[t]=e,u||a[t]||(a[t]=!0,(u=a.every(Ww.identity))&&(a=null))}),Dw.noop))},s=0;s<o;s++)c(s);t.subscribe(Uw.createOperatorSubscriber(n,(function(e){if(u){var t=Bw([e],Rw(i));n.next(r?r.apply(void 0,Bw([],Rw(t))):t)}})))}))};var Vw={zipAll:void 0},$w=Cd,Yw=Fv;Vw.zipAll=function(e){return Yw.joinAllInternals($w.zip,e)};var Jw={},Hw={},Kw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},Gw=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Hw.zip=void 0;var Qw=Cd,Xw=Wa;Hw.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Xw.operate((function(t,r){Qw.zip.apply(void 0,Gw([t],Kw(e))).subscribe(r)}))};var Zw=n&&n.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},eS=n&&n.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Jw.zipWith=void 0;var tS=Hw;Jw.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tS.zip.apply(void 0,eS([],Zw(e)))},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};e.interval=e.iif=e.generate=e.fromEventPattern=e.fromEvent=e.from=e.forkJoin=e.empty=e.defer=e.connectable=e.concat=e.combineLatest=e.bindNodeCallback=e.bindCallback=e.UnsubscriptionError=e.TimeoutError=e.SequenceError=e.ObjectUnsubscribedError=e.NotFoundError=e.EmptyError=e.ArgumentOutOfRangeError=e.firstValueFrom=e.lastValueFrom=e.isObservable=e.identity=e.noop=e.pipe=e.NotificationKind=e.Notification=e.Subscriber=e.Subscription=e.Scheduler=e.VirtualAction=e.VirtualTimeScheduler=e.animationFrameScheduler=e.animationFrame=e.queueScheduler=e.queue=e.asyncScheduler=e.async=e.asapScheduler=e.asap=e.AsyncSubject=e.ReplaySubject=e.BehaviorSubject=e.Subject=e.animationFrames=e.observable=e.ConnectableObservable=e.Observable=void 0,e.filter=e.expand=e.exhaustMap=e.exhaustAll=e.exhaust=e.every=e.endWith=e.elementAt=e.distinctUntilKeyChanged=e.distinctUntilChanged=e.distinct=e.dematerialize=e.delayWhen=e.delay=e.defaultIfEmpty=e.debounceTime=e.debounce=e.count=e.connect=e.concatWith=e.concatMapTo=e.concatMap=e.concatAll=e.combineLatestWith=e.combineLatestAll=e.combineAll=e.catchError=e.bufferWhen=e.bufferToggle=e.bufferTime=e.bufferCount=e.buffer=e.auditTime=e.audit=e.config=e.NEVER=e.EMPTY=e.scheduled=e.zip=e.using=e.timer=e.throwError=e.range=e.race=e.partition=e.pairs=e.onErrorResumeNext=e.of=e.never=e.merge=void 0,e.switchMapTo=e.switchMap=e.switchAll=e.subscribeOn=e.startWith=e.skipWhile=e.skipUntil=e.skipLast=e.skip=e.single=e.shareReplay=e.share=e.sequenceEqual=e.scan=e.sampleTime=e.sample=e.refCount=e.retryWhen=e.retry=e.repeatWhen=e.repeat=e.reduce=e.raceWith=e.publishReplay=e.publishLast=e.publishBehavior=e.publish=e.pluck=e.pairwise=e.observeOn=e.multicast=e.min=e.mergeWith=e.mergeScan=e.mergeMapTo=e.mergeMap=e.flatMap=e.mergeAll=e.max=e.materialize=e.mapTo=e.map=e.last=e.isEmpty=e.ignoreElements=e.groupBy=e.first=e.findIndex=e.find=e.finalize=void 0,e.zipWith=e.zipAll=e.withLatestFrom=e.windowWhen=e.windowToggle=e.windowTime=e.windowCount=e.window=e.toArray=e.timestamp=e.timeoutWith=e.timeout=e.timeInterval=e.throwIfEmpty=e.throttleTime=e.throttle=e.tap=e.takeWhile=e.takeUntil=e.takeLast=e.take=e.switchScan=void 0;var o=Xi;Object.defineProperty(e,"Observable",{enumerable:!0,get:function(){return o.Observable}});var i=Ua;Object.defineProperty(e,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var a=xa;Object.defineProperty(e,"observable",{enumerable:!0,get:function(){return a.observable}});var u=nu;Object.defineProperty(e,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var c=pu;Object.defineProperty(e,"Subject",{enumerable:!0,get:function(){return c.Subject}});var s=ju;Object.defineProperty(e,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var l=Pu;Object.defineProperty(e,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var f=Cu;Object.defineProperty(e,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var p=Mu;Object.defineProperty(e,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(e,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var d=fc;Object.defineProperty(e,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(e,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var v=pc;Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(e,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var b=gc;Object.defineProperty(e,"animationFrame",{enumerable:!0,get:function(){return b.animationFrame}}),Object.defineProperty(e,"animationFrameScheduler",{enumerable:!0,get:function(){return b.animationFrameScheduler}});var y=Pc;Object.defineProperty(e,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(e,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var h=nc;Object.defineProperty(e,"Scheduler",{enumerable:!0,get:function(){return h.Scheduler}});var m=ta;Object.defineProperty(e,"Subscription",{enumerable:!0,get:function(){return m.Subscription}});var g=Zi;Object.defineProperty(e,"Subscriber",{enumerable:!0,get:function(){return g.Subscriber}});var O=Fc;Object.defineProperty(e,"Notification",{enumerable:!0,get:function(){return O.Notification}}),Object.defineProperty(e,"NotificationKind",{enumerable:!0,get:function(){return O.NotificationKind}});var w=Ea;Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return w.pipe}});var S=ga;Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return S.noop}});var _=Pa;Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return _.identity}});var j=xl;Object.defineProperty(e,"isObservable",{enumerable:!0,get:function(){return j.isObservable}});var x=Al;Object.defineProperty(e,"lastValueFrom",{enumerable:!0,get:function(){return x.lastValueFrom}});var E=Cl;Object.defineProperty(e,"firstValueFrom",{enumerable:!0,get:function(){return E.firstValueFrom}});var P=Ml;Object.defineProperty(e,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return P.ArgumentOutOfRangeError}});var A=Tl;Object.defineProperty(e,"EmptyError",{enumerable:!0,get:function(){return A.EmptyError}});var T=Bl;Object.defineProperty(e,"NotFoundError",{enumerable:!0,get:function(){return T.NotFoundError}});var I=du;Object.defineProperty(e,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var k=Ul;Object.defineProperty(e,"SequenceError",{enumerable:!0,get:function(){return k.SequenceError}});var C=Wl;Object.defineProperty(e,"TimeoutError",{enumerable:!0,get:function(){return C.TimeoutError}});var F=ra;Object.defineProperty(e,"UnsubscriptionError",{enumerable:!0,get:function(){return F.UnsubscriptionError}});var N=ql;Object.defineProperty(e,"bindCallback",{enumerable:!0,get:function(){return N.bindCallback}});var M=sf;Object.defineProperty(e,"bindNodeCallback",{enumerable:!0,get:function(){return M.bindNodeCallback}});var R=ff;Object.defineProperty(e,"combineLatest",{enumerable:!0,get:function(){return R.combineLatest}});var B=Tf;Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return B.concat}});var L=Hf;Object.defineProperty(e,"connectable",{enumerable:!0,get:function(){return L.connectable}});var U=Kf;Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return U.defer}});var z=Nc;Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return z.empty}});var W=rp;Object.defineProperty(e,"forkJoin",{enumerable:!0,get:function(){return W.forkJoin}});var D=Dc;Object.defineProperty(e,"from",{enumerable:!0,get:function(){return D.from}});var q=lp;Object.defineProperty(e,"fromEvent",{enumerable:!0,get:function(){return q.fromEvent}});var V=Sp;Object.defineProperty(e,"fromEventPattern",{enumerable:!0,get:function(){return V.fromEventPattern}});var $=Ep;Object.defineProperty(e,"generate",{enumerable:!0,get:function(){return $.generate}});var Y=Cp;Object.defineProperty(e,"iif",{enumerable:!0,get:function(){return Y.iif}});var J=Np;Object.defineProperty(e,"interval",{enumerable:!0,get:function(){return J.interval}});var H=Dp;Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return H.merge}});var K=Hp;Object.defineProperty(e,"never",{enumerable:!0,get:function(){return K.never}});var G=Mc;Object.defineProperty(e,"of",{enumerable:!0,get:function(){return G.of}});var Q=Kp;Object.defineProperty(e,"onErrorResumeNext",{enumerable:!0,get:function(){return Q.onErrorResumeNext}});var X=sd;Object.defineProperty(e,"pairs",{enumerable:!0,get:function(){return X.pairs}});var Z=fd;Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return Z.partition}});var ee=gd;Object.defineProperty(e,"race",{enumerable:!0,get:function(){return ee.race}});var te=xd;Object.defineProperty(e,"range",{enumerable:!0,get:function(){return te.range}});var re=Sl;Object.defineProperty(e,"throwError",{enumerable:!0,get:function(){return re.throwError}});var ne=Mp;Object.defineProperty(e,"timer",{enumerable:!0,get:function(){return ne.timer}});var oe=Ad;Object.defineProperty(e,"using",{enumerable:!0,get:function(){return oe.using}});var ie=Cd;Object.defineProperty(e,"zip",{enumerable:!0,get:function(){return ie.zip}});var ae=qc;Object.defineProperty(e,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ue=Nc;Object.defineProperty(e,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var ce=Hp;Object.defineProperty(e,"NEVER",{enumerable:!0,get:function(){return ce.NEVER}}),r(Wd,e);var se=va;Object.defineProperty(e,"config",{enumerable:!0,get:function(){return se.config}});var le=Dd;Object.defineProperty(e,"audit",{enumerable:!0,get:function(){return le.audit}});var fe=Yd;Object.defineProperty(e,"auditTime",{enumerable:!0,get:function(){return fe.auditTime}});var pe=Gd;Object.defineProperty(e,"buffer",{enumerable:!0,get:function(){return pe.buffer}});var de=ev;Object.defineProperty(e,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ve=iv;Object.defineProperty(e,"bufferTime",{enumerable:!0,get:function(){return ve.bufferTime}});var be=vv;Object.defineProperty(e,"bufferToggle",{enumerable:!0,get:function(){return be.bufferToggle}});var ye=Sv;Object.defineProperty(e,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var he=Pv;Object.defineProperty(e,"catchError",{enumerable:!0,get:function(){return he.catchError}});var me=kv;Object.defineProperty(e,"combineAll",{enumerable:!0,get:function(){return me.combineAll}});var ge=Cv;Object.defineProperty(e,"combineLatestAll",{enumerable:!0,get:function(){return ge.combineLatestAll}});var Oe=Qv;Object.defineProperty(e,"combineLatestWith",{enumerable:!0,get:function(){return Oe.combineLatestWith}});var we=If;Object.defineProperty(e,"concatAll",{enumerable:!0,get:function(){return we.concatAll}});var Se=lb;Object.defineProperty(e,"concatMap",{enumerable:!0,get:function(){return Se.concatMap}});var _e=db;Object.defineProperty(e,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var je=yb;Object.defineProperty(e,"concatWith",{enumerable:!0,get:function(){return je.concatWith}});var xe=Pb;Object.defineProperty(e,"connect",{enumerable:!0,get:function(){return xe.connect}});var Ee=Mb;Object.defineProperty(e,"count",{enumerable:!0,get:function(){return Ee.count}});var Pe=Bb;Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return Pe.debounce}});var Ae=Db;Object.defineProperty(e,"debounceTime",{enumerable:!0,get:function(){return Ae.debounceTime}});var Te=Yb;Object.defineProperty(e,"defaultIfEmpty",{enumerable:!0,get:function(){return Te.defaultIfEmpty}});var Ie=Kb;Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return Ie.delay}});var ke=Gb;Object.defineProperty(e,"delayWhen",{enumerable:!0,get:function(){return ke.delayWhen}});var Ce=by;Object.defineProperty(e,"dematerialize",{enumerable:!0,get:function(){return Ce.dematerialize}});var Fe=gy;Object.defineProperty(e,"distinct",{enumerable:!0,get:function(){return Fe.distinct}});var Ne=_y;Object.defineProperty(e,"distinctUntilChanged",{enumerable:!0,get:function(){return Ne.distinctUntilChanged}});var Me=Ay;Object.defineProperty(e,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Me.distinctUntilKeyChanged}});var Re=Iy;Object.defineProperty(e,"elementAt",{enumerable:!0,get:function(){return Re.elementAt}});var Be=Wy;Object.defineProperty(e,"endWith",{enumerable:!0,get:function(){return Be.endWith}});var Le=Yy;Object.defineProperty(e,"every",{enumerable:!0,get:function(){return Le.every}});var Ue=Ky;Object.defineProperty(e,"exhaust",{enumerable:!0,get:function(){return Ue.exhaust}});var ze=Gy;Object.defineProperty(e,"exhaustAll",{enumerable:!0,get:function(){return ze.exhaustAll}});var We=th;Object.defineProperty(e,"exhaustMap",{enumerable:!0,get:function(){return We.exhaustMap}});var De=ah;Object.defineProperty(e,"expand",{enumerable:!0,get:function(){return De.expand}});var qe=dd;Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return qe.filter}});var Ve=sh;Object.defineProperty(e,"finalize",{enumerable:!0,get:function(){return Ve.finalize}});var $e=fh;Object.defineProperty(e,"find",{enumerable:!0,get:function(){return $e.find}});var Ye=bh;Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return Ye.findIndex}});var Je=mh;Object.defineProperty(e,"first",{enumerable:!0,get:function(){return Je.first}});var He=xh;Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return He.groupBy}});var Ke=ty;Object.defineProperty(e,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var Ge=kh;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Ge.isEmpty}});var Qe=Nh;Object.defineProperty(e,"last",{enumerable:!0,get:function(){return Qe.last}});var Xe=Yl;Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Xe.map}});var Ze=iy;Object.defineProperty(e,"mapTo",{enumerable:!0,get:function(){return Ze.mapTo}});var et=Yh;Object.defineProperty(e,"materialize",{enumerable:!0,get:function(){return et.materialize}});var tt=Gh;Object.defineProperty(e,"max",{enumerable:!0,get:function(){return tt.max}});var rt=kf;Object.defineProperty(e,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var nt=Zh;Object.defineProperty(e,"flatMap",{enumerable:!0,get:function(){return nt.flatMap}});var ot=Cf;Object.defineProperty(e,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var it=tm;Object.defineProperty(e,"mergeMapTo",{enumerable:!0,get:function(){return it.mergeMapTo}});var at=om;Object.defineProperty(e,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ut=um;Object.defineProperty(e,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var ct=gm;Object.defineProperty(e,"min",{enumerable:!0,get:function(){return ct.min}});var st=Sm;Object.defineProperty(e,"multicast",{enumerable:!0,get:function(){return st.multicast}});var lt=Cs;Object.defineProperty(e,"observeOn",{enumerable:!0,get:function(){return lt.observeOn}});var ft=Em;Object.defineProperty(e,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var pt=Tm;Object.defineProperty(e,"pluck",{enumerable:!0,get:function(){return pt.pluck}});var dt=km;Object.defineProperty(e,"publish",{enumerable:!0,get:function(){return dt.publish}});var vt=Mm;Object.defineProperty(e,"publishBehavior",{enumerable:!0,get:function(){return vt.publishBehavior}});var bt=Lm;Object.defineProperty(e,"publishLast",{enumerable:!0,get:function(){return bt.publishLast}});var yt=Wm;Object.defineProperty(e,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var ht=$m;Object.defineProperty(e,"raceWith",{enumerable:!0,get:function(){return ht.raceWith}});var mt=Mv;Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return mt.reduce}});var gt=Qm;Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return gt.repeat}});var Ot=ng;Object.defineProperty(e,"repeatWhen",{enumerable:!0,get:function(){return Ot.repeatWhen}});var wt=ug;Object.defineProperty(e,"retry",{enumerable:!0,get:function(){return wt.retry}});var St=dg;Object.defineProperty(e,"retryWhen",{enumerable:!0,get:function(){return St.retryWhen}});var _t=za;Object.defineProperty(e,"refCount",{enumerable:!0,get:function(){return _t.refCount}});var jt=hg;Object.defineProperty(e,"sample",{enumerable:!0,get:function(){return jt.sample}});var xt=wg;Object.defineProperty(e,"sampleTime",{enumerable:!0,get:function(){return xt.sampleTime}});var Et=xg;Object.defineProperty(e,"scan",{enumerable:!0,get:function(){return Et.scan}});var Pt=Ag;Object.defineProperty(e,"sequenceEqual",{enumerable:!0,get:function(){return Pt.sequenceEqual}});var At=kg;Object.defineProperty(e,"share",{enumerable:!0,get:function(){return At.share}});var Tt=zg;Object.defineProperty(e,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var It=qg;Object.defineProperty(e,"single",{enumerable:!0,get:function(){return It.single}});var kt=Kg;Object.defineProperty(e,"skip",{enumerable:!0,get:function(){return kt.skip}});var Ct=Qg;Object.defineProperty(e,"skipLast",{enumerable:!0,get:function(){return Ct.skipLast}});var Ft=tO;Object.defineProperty(e,"skipUntil",{enumerable:!0,get:function(){return Ft.skipUntil}});var Nt=aO;Object.defineProperty(e,"skipWhile",{enumerable:!0,get:function(){return Nt.skipWhile}});var Mt=sO;Object.defineProperty(e,"startWith",{enumerable:!0,get:function(){return Mt.startWith}});var Rt=Bs;Object.defineProperty(e,"subscribeOn",{enumerable:!0,get:function(){return Rt.subscribeOn}});var Bt=dO;Object.defineProperty(e,"switchAll",{enumerable:!0,get:function(){return Bt.switchAll}});var Lt=vO;Object.defineProperty(e,"switchMap",{enumerable:!0,get:function(){return Lt.switchMap}});var Ut=OO;Object.defineProperty(e,"switchMapTo",{enumerable:!0,get:function(){return Ut.switchMapTo}});var zt=_O;Object.defineProperty(e,"switchScan",{enumerable:!0,get:function(){return zt.switchScan}});var Wt=Qb;Object.defineProperty(e,"take",{enumerable:!0,get:function(){return Wt.take}});var Dt=Mh;Object.defineProperty(e,"takeLast",{enumerable:!0,get:function(){return Dt.takeLast}});var qt=EO;Object.defineProperty(e,"takeUntil",{enumerable:!0,get:function(){return qt.takeUntil}});var Vt=kO;Object.defineProperty(e,"takeWhile",{enumerable:!0,get:function(){return Vt.takeWhile}});var $t=NO;Object.defineProperty(e,"tap",{enumerable:!0,get:function(){return $t.tap}});var Yt=UO;Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Jt=zO;Object.defineProperty(e,"throttleTime",{enumerable:!0,get:function(){return Jt.throttleTime}});var Ht=ky;Object.defineProperty(e,"throwIfEmpty",{enumerable:!0,get:function(){return Ht.throwIfEmpty}});var Kt=VO;Object.defineProperty(e,"timeInterval",{enumerable:!0,get:function(){return Kt.timeInterval}});var Gt=Wl;Object.defineProperty(e,"timeout",{enumerable:!0,get:function(){return Gt.timeout}});var Qt=KO;Object.defineProperty(e,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var Xt=ZO;Object.defineProperty(e,"timestamp",{enumerable:!0,get:function(){return Xt.timestamp}});var Zt=Nv;Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Zt.toArray}});var er=rw;Object.defineProperty(e,"window",{enumerable:!0,get:function(){return er.window}});var tr=uw;Object.defineProperty(e,"windowCount",{enumerable:!0,get:function(){return tr.windowCount}});var rr=pw;Object.defineProperty(e,"windowTime",{enumerable:!0,get:function(){return rr.windowTime}});var nr=ww;Object.defineProperty(e,"windowToggle",{enumerable:!0,get:function(){return nr.windowToggle}});var or=Iw;Object.defineProperty(e,"windowWhen",{enumerable:!0,get:function(){return or.windowWhen}});var ir=Mw;Object.defineProperty(e,"withLatestFrom",{enumerable:!0,get:function(){return ir.withLatestFrom}});var ar=Vw;Object.defineProperty(e,"zipAll",{enumerable:!0,get:function(){return ar.zipAll}});var ur=Jw;Object.defineProperty(e,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})}(Qi);var rS={},nS={};function oS(e){return Array.isArray(e)}nS.isntEmptyArray=nS.isEmptyArray=nS.isntArray=nS.isArray=void 0,nS.isArray=oS,nS.isntArray=function(e){return!oS(e)},nS.isEmptyArray=function(e){return 0===e.length},nS.isntEmptyArray=function(e){return 0!==e.length};var iS={},aS={};function uS(e){return null===e}aS.isntNull=aS.isNull=void 0,aS.isNull=uS,aS.isntNull=function(e){return!uS(e)};var cS={};function sS(e){return void 0===e}cS.isntUndefined=cS.isUndefined=void 0,cS.isUndefined=sS,cS.isntUndefined=function(e){return!sS(e)};var lS={};function fS(e){return"function"==typeof e}lS.isntFunction=lS.isFunction=void 0,lS.isFunction=fS,lS.isntFunction=function(e){return!fS(e)},iS.isntAsyncIterable=iS.isAsyncIterable=void 0;const pS=aS,dS=cS,vS=lS;function bS(e){return(0,pS.isntNull)(e)&&(0,dS.isntUndefined)(e)&&(0,vS.isFunction)(e[Symbol.asyncIterator])}iS.isAsyncIterable=bS,iS.isntAsyncIterable=function(e){return!bS(e)};var yS={};function hS(e){return"bigint"==typeof e}yS.isntBigInt=yS.isBigInt=void 0,yS.isBigInt=hS,yS.isntBigInt=function(e){return!hS(e)};var mS={};function gS(e){return"boolean"==typeof e}mS.isntBoolean=mS.isBoolean=void 0,mS.isBoolean=gS,mS.isntBoolean=function(e){return!gS(e)};var OS={},wS={};function SS(e){return"string"==typeof e}wS.isntString=wS.isString=void 0,wS.isString=SS,wS.isntString=function(e){return!SS(e)},OS.isntChar=OS.isChar=void 0;const _S=wS;function jS(e){return(0,_S.isString)(e)&&1===e.length}OS.isChar=jS,OS.isntChar=function(e){return!jS(e)};var xS={};function ES(e){return e instanceof Date}xS.isntDate=xS.isDate=void 0,xS.isDate=ES,xS.isntDate=function(e){return!ES(e)};var PS={};PS.inEnum=void 0,PS.inEnum=function(e,t){return Object.values(t).includes(e)};var AS={};function TS(e){return e instanceof Error}AS.isntError=AS.isError=void 0,AS.isError=TS,AS.isntError=function(e){return!TS(e)};var IS={};function kS(e){return!e}IS.isntFalsy=IS.isFalsy=void 0,IS.isFalsy=kS,IS.isntFalsy=function(e){return!kS(e)};var CS={};CS.isntIterable=CS.isIterable=void 0;const FS=aS,NS=cS,MS=lS;function RS(e){return(0,FS.isntNull)(e)&&(0,NS.isntUndefined)(e)&&(0,MS.isFunction)(e[Symbol.iterator])}CS.isIterable=RS,CS.isntIterable=function(e){return!RS(e)};var BS={},LS={};function US(e){return"number"==typeof e}function zS(e){return Number.isNaN(e)}LS.isntNaN=LS.isNaN=LS.isNegativeInfinity=LS.isPositiveInfinity=LS.isFinite=LS.isntNumber=LS.isNumber=void 0,LS.isNumber=US,LS.isntNumber=function(e){return!US(e)},LS.isFinite=function(e){return Number.isFinite(e)},LS.isPositiveInfinity=function(e){return e===1/0},LS.isNegativeInfinity=function(e){return e===-1/0},LS.isNaN=zS,LS.isntNaN=function(e){return!zS(e)};var WS={},DS=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};WS.isntEmptyObject=WS.isEmptyObject=WS.isntPlainObject=WS.isPlainObject=WS.isntObject=WS.isObject=void 0;const qS=DS(Ae);function VS(e){return null!==e&&"object"==typeof e}function $S(e){return(0,qS.default)(e)}WS.isObject=VS,WS.isntObject=function(e){return!VS(e)},WS.isPlainObject=$S,WS.isntPlainObject=function(e){return!$S(e)},WS.isEmptyObject=function(e){return 0===Object.keys(e).length},WS.isntEmptyObject=function(e){return 0!==Object.keys(e).length},BS.isntJsonable=BS.isJsonable=BS.isntJson=BS.isJson=void 0;const YS=aS,JS=mS,HS=wS,KS=LS,GS=nS,QS=WS;function XS(e){return(0,YS.isNull)(e)||(0,JS.isBoolean)(e)||(0,HS.isString)(e)||(0,KS.isNumber)(e)||(0,GS.isArray)(e)&&e.every(XS)||(0,QS.isPlainObject)(e)&&Object.values(e).every(XS)}BS.isJson=XS,BS.isntJson=function(e){return!XS(e)},BS.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},BS.isntJsonable=function e(t){return!e()};var ZS={};ZS.isPromiseLike=ZS.isntPromiseLike=ZS.isntPromise=ZS.isPromise=void 0;const e_=WS,t_=lS;function r_(e){return e instanceof Promise}function n_(e){return(0,e_.isObject)(e)&&(0,t_.isFunction)(e.then)}ZS.isPromise=r_,ZS.isntPromise=function(e){return!r_(e)},ZS.isntPromiseLike=function(e){return!n_(e)},ZS.isPromiseLike=n_;var o_={};function i_(e,t){const r=ri(),n=o.exports.useMemo((()=>new ni.ObservableFiniteStateMachine(e,t)),[e]);return o.exports.useEffect((()=>{const e=n.observeStateChanges().subscribe((()=>r()));return()=>e.unsubscribe()}),[n]),n}o_.isAbsoluteURL=void 0,o_.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}},function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(nS,e),r(iS,e),r(yS,e),r(mS,e),r(OS,e),r(xS,e),r(PS,e),r(AS,e),r(IS,e),r(lS,e),r(CS,e),r(BS,e),r(aS,e),r(LS,e),r(WS,e),r(ZS,e),r(wS,e),r(cS,e),r(o_,e)}(rS),function(e){e.BadEventError=e.ObservableFiniteStateMachine=void 0;const t=Ji,r=Qi,n=rS;class o extends t.FiniteStateMachine{constructor(){super(...arguments),this.stateChanges=new r.Subject}observeStateChanges(){return this.stateChanges}send(e){const t=this.state;super.send(e);const r=this.state;this.stateChanges.next({event:e,oldState:t,newState:r}),(0,n.isEmptyObject)(this.schema[r])&&this.stateChanges.complete()}}e.ObservableFiniteStateMachine=o;var i=Ji;Object.defineProperty(e,"BadEventError",{enumerable:!0,get:function(){return i.BadEventError}})}(Gi),function(e){var t=n&&n.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=n&&n.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(oi,e),r(ii,e),r(ai,e),r(ci,e),r(li,e),r(pi,e),r(vi,e),r(mi,e),r(Li,e),r(qi,e),r(Ji,e),r(Gi,e)}(ni);var a_=ni.ObservableFiniteStateMachine;export{a_ as ObservableFiniteStateMachine,i_ as useFiniteStateMachine,ri as useForceUpdate,d as useIncrement,y as useIsFirstRender,b as useIsMounted,v as useMount,Qo as useMultipleSelection,h as useRenderCounter,ei as useResizeObserver,Ko as useSingleSelection,Xo as useStateCycle,ti as useStep,Zo as useToggle,m as useUpdateEffect};
|
|
18
18
|
//# sourceMappingURL=index.min.mjs.map
|