extra-react-hooks 0.1.15 → 0.2.0
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 +3 -3
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +6 -6
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +6 -6
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +1 -1
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +6 -6
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +6 -6
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +1 -1
- package/dist/es2018/index.umd.min.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-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/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-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/package.json +1 -1
|
@@ -14,5 +14,5 @@
|
|
|
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 s||(s=1,function(e){"production"!==process.env.NODE_ENV&&function(){var t=u(),r=60103,n=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,i=60110,a=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"),a=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];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=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 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)."]},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 a: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,u=r._payload,p=r._init;try{return U(p(u))}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 H(e){if($.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function J(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)),H(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&&J(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),H(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===a||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 Pe(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 a: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,u=o._init;try{return Pe(u(i),r,n)}catch(e){}}return""}Se=new xe;var Ae,Te={},Ie=x.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(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}Ae=!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!==a&&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 if(void 0!==r.PropTypes&&!Ae){Ae=!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:a,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)),f}function d(e){i.exports.useEffect(e,[])}function v(){const e=i.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(e){"production"===process.env.NODE_ENV?e.exports=c():e.exports=p()}(i),function(e){e[e.InitialValue=0]="InitialValue",e[e.First=1]="First",e[e.NotFirst=2]="NotFirst"}(l||(l={}));var b={},y={};function h(e){return Array.isArray(e)}y.isntEmptyArray=y.isEmptyArray=y.isntArray=y.isArray=void 0,y.isArray=h,y.isntArray=function(e){return!h(e)},y.isEmptyArray=function(e){return 0===e.length},y.isntEmptyArray=function(e){return 0!==e.length};var m={},g={};function w(e){return null===e}g.isntNull=g.isNull=void 0,g.isNull=w,g.isntNull=function(e){return!w(e)};var O={};function S(e){return void 0===e}O.isntUndefined=O.isUndefined=void 0,O.isUndefined=S,O.isntUndefined=function(e){return!S(e)};var _={};function x(e){return"function"==typeof e}_.isntFunction=_.isFunction=void 0,_.isFunction=x,_.isntFunction=function(e){return!x(e)},m.isntAsyncIterable=m.isAsyncIterable=void 0;const j=g,E=O,P=_;function A(e){return(0,j.isntNull)(e)&&(0,E.isntUndefined)(e)&&(0,P.isFunction)(e[Symbol.asyncIterator])}m.isAsyncIterable=A,m.isntAsyncIterable=function(e){return!A(e)};var T={};function I(e){return"bigint"==typeof e}T.isntBigInt=T.isBigInt=void 0,T.isBigInt=I,T.isntBigInt=function(e){return!I(e)};var k={};function C(e){return"boolean"==typeof e}k.isntBoolean=k.isBoolean=void 0,k.isBoolean=C,k.isntBoolean=function(e){return!C(e)};var F={},M={};function R(e){return"string"==typeof e}M.isntString=M.isString=void 0,M.isString=R,M.isntString=function(e){return!R(e)},F.isntChar=F.isChar=void 0;const N=M;function B(e){return(0,N.isString)(e)&&1===e.length}F.isChar=B,F.isntChar=function(e){return!B(e)};var L={};function z(e){return e instanceof Date}L.isntDate=L.isDate=void 0,L.isDate=z,L.isntDate=function(e){return!z(e)};var U={};U.inEnum=void 0,U.inEnum=function(e,t){return Object.values(t).includes(e)};var W={};function q(e){return e instanceof Error}W.isntError=W.isError=void 0,W.isError=q,W.isntError=function(e){return!q(e)};var D={};function $(e){return!e}D.isntFalsy=D.isFalsy=void 0,D.isFalsy=$,D.isntFalsy=function(e){return!$(e)};var V={};V.isntIterable=V.isIterable=void 0;const Y=g,H=O,J=_;function K(e){return(0,Y.isntNull)(e)&&(0,H.isntUndefined)(e)&&(0,J.isFunction)(e[Symbol.iterator])}V.isIterable=K,V.isntIterable=function(e){return!K(e)};var G={},Q={};function X(e){return"number"==typeof e}function Z(e){return Number.isNaN(e)}Q.isntNaN=Q.isNaN=Q.isNegativeInfinity=Q.isPositiveInfinity=Q.isFinite=Q.isntNumber=Q.isNumber=void 0,Q.isNumber=X,Q.isntNumber=function(e){return!X(e)},Q.isFinite=function(e){return Number.isFinite(e)},Q.isPositiveInfinity=function(e){return e===1/0},Q.isNegativeInfinity=function(e){return e===-1/0},Q.isNaN=Z,Q.isntNaN=function(e){return!Z(e)};var ee={},te="object"==typeof o&&o&&o.Object===Object&&o,re="object"==typeof self&&self&&self.Object===Object&&self,ne=(te||re||Function("return this")()).Symbol,oe=ne,ie=Object.prototype,ae=ie.hasOwnProperty,ue=ie.toString,ce=oe?oe.toStringTag:void 0;var se=function(e){var t=ae.call(e,ce),r=e[ce];try{e[ce]=void 0;var n=!0}catch(e){}var o=ue.call(e);return n&&(t?e[ce]=r:delete e[ce]),o},le=Object.prototype.toString;var fe=se,pe=function(e){return le.call(e)},de=ne?ne.toStringTag:void 0;var ve=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":de&&de in Object(e)?fe(e):pe(e)};var be=function(e,t){return function(r){return e(t(r))}}(Object.getPrototypeOf,Object);var ye=ve,he=be,me=function(e){return null!=e&&"object"==typeof e},ge=Function.prototype,we=Object.prototype,Oe=ge.toString,Se=we.hasOwnProperty,_e=Oe.call(Object);var xe=function(e){if(!me(e)||"[object Object]"!=ye(e))return!1;var t=he(e);if(null===t)return!0;var r=Se.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Oe.call(r)==_e},je=o&&o.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};ee.isntEmptyObject=ee.isEmptyObject=ee.isntPlainObject=ee.isPlainObject=ee.isntObject=ee.isObject=void 0;const Ee=je(xe);function Pe(e){return null!==e&&"object"==typeof e}function Ae(e){return(0,Ee.default)(e)}ee.isObject=Pe,ee.isntObject=function(e){return!Pe(e)},ee.isPlainObject=Ae,ee.isntPlainObject=function(e){return!Ae(e)},ee.isEmptyObject=function(e){return 0===Object.keys(e).length},ee.isntEmptyObject=function(e){return 0!==Object.keys(e).length},G.isntJsonable=G.isJsonable=G.isntJson=G.isJson=void 0;const Te=g,Ie=k,ke=M,Ce=Q,Fe=y,Me=ee;function Re(e){return(0,Te.isNull)(e)||(0,Ie.isBoolean)(e)||(0,ke.isString)(e)||(0,Ce.isNumber)(e)||(0,Fe.isArray)(e)&&e.every(Re)||(0,Me.isPlainObject)(e)&&Object.values(e).every(Re)}G.isJson=Re,G.isntJson=function(e){return!Re(e)},G.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},G.isntJsonable=function e(t){return!e()};var Ne={};Ne.isPromiseLike=Ne.isntPromiseLike=Ne.isntPromise=Ne.isPromise=void 0;const Be=ee,Le=_;function ze(e){return e instanceof Promise}function Ue(e){return(0,Be.isObject)(e)&&(0,Le.isFunction)(e.then)}Ne.isPromise=ze,Ne.isntPromise=function(e){return!ze(e)},Ne.isntPromiseLike=function(e){return!Ue(e)},Ne.isPromiseLike=Ue;var We={};We.isAbsoluteURL=void 0,We.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(y,e),r(m,e),r(T,e),r(k,e),r(F,e),r(L,e),r(U,e),r(W,e),r(D,e),r(_,e),r(V,e),r(G,e),r(g,e),r(Q,e),r(ee,e),r(Ne,e),r(M,e),r(O,e),r(We,e)}(b);var qe,De={},$e={},Ve={},Ye={},He={},Je={},Ke={};Ke.go=void 0,Ke.go=function(e){return e()},function(e){var t=o&&o.__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]});(o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(Ke,e)}(Je);var Ge={chunkByAsync:void 0};const Qe=b;Ge.chunkByAsync=function(e,t){return(0,Qe.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 Xe={};Xe.chunkBy=void 0,Xe.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 Ze,et={};var tt={concatAsync:void 0};const rt=b,nt=Je;tt.concatAsync=function(e,...t){return(0,nt.go)((async function*(){for(const r of[e,...t])if((0,rt.isAsyncIterable)(r))for await(const e of r)yield e;else for(const e of r)yield e}))};var ot={concat:void 0};const it=Je;ot.concat=function(e,...t){return(0,it.go)((function*(){for(const r of[e,...t])yield*r}))};var at,ut={},ct={};ct.copyIterable=ct.copyAsyncIterable=void 0,ct.copyAsyncIterable=async function*(e){for await(const t of e)yield t},ct.copyIterable=function*(e){for(const t of e)yield t};var st,lt={};var ft,pt={};var dt={dropUntilAsync:void 0};const vt=b;dt.dropUntilAsync=function(e,t){return(0,vt.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 bt={};bt.dropUntil=void 0,bt.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 yt,ht={};var mt={filterAsync:void 0};const gt=b;mt.filterAsync=function(e,t){return(0,gt.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 wt={};wt.filter=void 0,wt.filter=function*(e,t){let r=0;for(const n of e)t(n,r)&&(yield n),r++};var Ot={},St={},_t={flattenByAsync:void 0};const xt=b;function jt(e){return(0,xt.isIterable)(e)&&(0,xt.isntChar)(e)}var Et,Pt;function At(){if(Et)return St;Et=1,St.flattenDeepAsync=void 0;const e=_t,t=Mn();return St.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))},St}_t.flattenByAsync=function(e,t){return(0,xt.isAsyncIterable)(e)?async function*(e){const n=1;for await(const o of e)jt(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)jt(o)&&await t(o,n)?yield*r(o,n+1):yield o}};var Tt={flattenBy:void 0};const It=b;Tt.flattenBy=function(e,t){return function*e(r,n){for(const i of r)o=i,(0,It.isIterable)(o)&&(0,It.isntChar)(o)&&t(i,n)?yield*e(i,n+1):yield i;var o}(e,1)};var kt,Ct={};function Ft(){if(kt)return Ct;kt=1,Ct.flattenDeep=void 0;const e=Tt,t=Mn();return Ct.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))},Ct}var Mt,Rt={};var Nt={mapAsync:void 0};const Bt=b;Nt.mapAsync=function(e,t){return(0,Bt.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 Lt={};Lt.map=void 0,Lt.map=function*(e,t){let r=0;for(const n of e)yield t(n,r),r++};var zt,Ut={};function Wt(){if(zt)return Ut;zt=1,Ut.repeatAsync=void 0;const e=Je,t=Mn();return Ut.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--}))},Ut}var qt,Dt={};function $t(){if(qt)return Dt;qt=1,Dt.repeat=void 0;const e=Je,t=Mn();return Dt.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--}))},Dt}var Vt,Yt={};var Ht,Jt={};var Kt={};Kt.splitAsync=void 0,Kt.splitAsync=async function*(e,t){let r=[];for await(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var Gt={splitByAsync:void 0};const Qt=b;Gt.splitByAsync=function(e,t){return(0,Qt.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 Xt={};Xt.splitBy=void 0,Xt.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 Zt={};Zt.split=void 0,Zt.split=function*(e,t){let r=[];for(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var er,tr={};var rr,nr={};var or,ir={};var ar={takeUntilAsync:void 0};const ur=b;ar.takeUntilAsync=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))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 cr={};cr.takeUntil=void 0,cr.takeUntil=function*(e,t){let r=0;for(const n of e){if(t(n,r))break;yield n,r++}};var sr,lr={};var fr={tapAsync:void 0};const pr=b;fr.tapAsync=function(e,t){return(0,pr.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 dr={};dr.tap=void 0,dr.tap=function*(e,t){let r=0;for(const n of e)t(n,r),yield n,r++};var vr={};vr.toAsyncIterable=void 0,vr.toAsyncIterable=async function*(e){for(const t of e)yield t};var br={};br.transformAsync=void 0,br.transformAsync=async function*(e,t){yield*t(e)};var yr={};yr.transform=void 0,yr.transform=function*(e,t){yield*t(e)};var hr={};hr.uniqAsync=void 0,hr.uniqAsync=async function*(e){const t=new Set;for await(const r of e)t.has(r)||(yield r,t.add(r))};var mr={uniqByAsync:void 0};const gr=b;mr.uniqByAsync=function(e,t){return(0,gr.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 wr={};wr.uniqBy=void 0,wr.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 Or={};Or.uniq=void 0,Or.uniq=function*(e){const t=new Set;for(const r of e)t.has(r)||(yield r,t.add(r))};var Sr={zipAsync:void 0};const _r=b;var xr;!function(e){e[e.Sync=0]="Sync",e[e.Async=1]="Async"}(xr||(xr={})),Sr.zipAsync=function(e,...t){return async function*(...e){var t,r,n,o;const i=e.length,a=e.map((e=>(0,_r.isAsyncIterable)(e)?[xr.Async,e[Symbol.asyncIterator]()]:[xr.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===xr.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===xr.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 jr,Er={};function Pr(){return jr||(jr=1,function(e){var t=o&&o.__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=o&&o.__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 He;qe=1,He.chunkAsync=void 0;const e=Je,t=Mn();return He.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)}))},He}(),e),r(Ge,e),r(Xe,e),r(function(){if(Ze)return et;Ze=1,et.chunk=void 0;const e=Je,t=Mn();return et.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)}))},et}(),e),r(tt,e),r(ot,e),r(function(){if(at)return ut;at=1,ut.dropAsync=void 0;const e=Je,t=ct,r=Mn();return ut.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))}}))},ut}(),e),r(function(){if(st)return lt;st=1,lt.dropRightAsync=void 0;const e=Je,t=ct,r=Mn();return lt.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}))},lt}(),e),r(function(){if(ft)return pt;ft=1,pt.dropRight=void 0;const e=Je,t=ct,r=Mn();return pt.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)}))},pt}(),e),r(dt,e),r(bt,e),r(function(){if(yt)return ht;yt=1,ht.drop=void 0;const e=Je,t=ct,r=Mn();return ht.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)}}))},ht}(),e),r(mt,e),r(wt,e),r(function(){if(Pt)return Ot;Pt=1,Ot.flattenAsync=void 0;const e=At();return Ot.flattenAsync=function(t){return(0,e.flattenDeepAsync)(t,1)},Ot}(),e),r(_t,e),r(Tt,e),r(At(),e),r(Ft(),e),r(function(){if(Mt)return Rt;Mt=1,Rt.flatten=void 0;const e=Ft();return Rt.flatten=function(t){return(0,e.flattenDeep)(t,1)},Rt}(),e),r(Nt,e),r(Lt,e),r(Wt(),e),r($t(),e),r(function(){if(Vt)return Yt;Vt=1,Yt.sliceAsync=void 0;const e=Je,t=Mn();return Yt.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++}}))},Yt}(),e),r(function(){if(Ht)return Jt;Ht=1,Jt.slice=void 0;const e=Je,t=Mn();return Jt.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++}}))},Jt}(),e),r(Kt,e),r(Gt,e),r(Xt,e),r(Zt,e),r(function(){if(er)return tr;er=1,tr.takeAsync=void 0;const e=Je,t=Mn();return tr.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}))},tr}(),e),r(function(){if(rr)return nr;rr=1,nr.takeRightAsync=void 0;const e=Je,t=Mn();return nr.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))}}))},nr}(),e),r(function(){if(or)return ir;or=1,ir.takeRight=void 0;const e=Je,t=Mn();return ir.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)}}))},ir}(),e),r(ar,e),r(cr,e),r(function(){if(sr)return lr;sr=1,lr.take=void 0;const e=Je,t=Mn();return lr.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}))},lr}(),e),r(fr,e),r(dr,e),r(vr,e),r(br,e),r(yr,e),r(hr,e),r(mr,e),r(wr,e),r(Or,e),r(Sr,e),r(Er,e)}(Ye)),Ye}Er.zip=void 0,Er.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 Ar={},Tr={};Tr.consume=void 0,Tr.consume=function(e,t){return t(e)};var Ir={eachAsync:void 0};const kr=b;Ir.eachAsync=function(e,t){return(0,kr.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 Cr={};Cr.each=void 0,Cr.each=function(e,t){let r=0;for(const n of e)t(n,r),r++};var Fr={everyAsync:void 0};const Mr=b;Fr.everyAsync=function(e,t){return(0,Mr.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 Rr={};Rr.every=void 0,Rr.every=function(e,t){let r=0;for(const n of e){if(!t(n,r))return!1;r++}return!0};var Nr={findAsync:void 0};const Br=b;Nr.findAsync=function(e,t){return(0,Br.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 Lr={};Lr.find=void 0,Lr.find=function(e,t){let r=0;for(const n of e){if(t(n,r))return n;r++}};var zr={};zr.firstAsync=void 0,zr.firstAsync=async function(e){for await(const t of e)return t};var Ur={};Ur.first=void 0,Ur.first=function(e){for(const t of e)return t};var Wr={};Wr.includesAsync=void 0,Wr.includesAsync=async function(e,t){for await(const r of e)if(r===t)return!0;return!1};var qr={};qr.includes=void 0,qr.includes=function(e,t){for(const r of e)if(r===t)return!0;return!1};var Dr={};Dr.matchAsync=void 0,Dr.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 $r={};$r.match=void 0,$r.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 Vr={reduceAsync:void 0};const Yr=b;Vr.reduceAsync=function(e,t,r){return(0,Yr.isUndefined)(r)?function(e,t){return(0,Yr.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,Yr.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 Hr={reduce:void 0};const Jr=b;Hr.reduce=function(e,t,r){return(0,Jr.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 Kr={someAsync:void 0};const Gr=b;Kr.someAsync=function(e,t){return(0,Gr.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 Qr={};Qr.some=void 0,Qr.some=function(e,t){let r=0;for(const n of e){if(t(n,r))return!0;r++}return!1};var Xr={};Xr.lastAsync=void 0,Xr.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 Zr={};Zr.last=void 0,Zr.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 en={toArrayAsync:void 0};const tn=Tr;en.toArrayAsync=function(e){return(0,tn.consume)(e,(async e=>{const t=[];for await(const r of e)t.push(r);return t}))};var rn={toArray:void 0};const nn=Tr;rn.toArray=function(e){return(0,nn.consume)(e,(e=>Array.from(e)))};var on={toSetAsync:void 0};const an=Tr;on.toSetAsync=function(e){return(0,an.consume)(e,(async e=>{const t=new Set;for await(const r of e)t.add(r);return t}))};var un={toSet:void 0};const cn=Tr;un.toSet=function(e){return(0,cn.consume)(e,(e=>new Set(e)))};var sn={};sn.count=void 0,sn.count=function(e){let t=0;for(const r of e)t++;return t};var ln,fn={};function pn(){return ln||(ln=1,function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Pr(),e),r(Ar,e)}(Ve)),Ve}fn.countAsync=void 0,fn.countAsync=async function(e){let t=0;for await(const r of e)t++;return t},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Tr,e),r(Ir,e),r(Cr,e),r(Fr,e),r(Rr,e),r(Nr,e),r(Lr,e),r(zr,e),r(Ur,e),r(Wr,e),r(qr,e),r(Dr,e),r($r,e),r(Vr,e),r(Hr,e),r(Kr,e),r(Qr,e),r(Xr,e),r(Zr,e),r(en,e),r(rn,e),r(on,e),r(un,e),r(sn,e),r(fn,e)}(Ar);var dn={},vn={};vn.traverseErrorPrototypeChain=void 0,vn.traverseErrorPrototypeChain=function*(e){let t=e;for(;(t=Object.getPrototypeOf(t))&&(yield t,t!==Error.prototype););},dn.getErrorNames=void 0;const bn=b,yn=vn;dn.getErrorNames=function*(e){var t;if((0,bn.isError)(e))for(const r of(0,yn.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 hn={isSerializableError:void 0};const mn=b;var gn;function wn(){if(gn)return $e;gn=1,$e.CustomError=void 0;const e=pn(),t=dn,r=b,n=hn;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 $e.CustomError=o,$e}hn.isSerializableError=function(e){return(0,mn.isObject)(e)&&(0,mn.isString)(e.name)&&(0,mn.isString)(e.message)&&((0,mn.isString)(e.stack)||(0,mn.isNull)(e.stack))&&(0,mn.isArray)(e.ancestors)&&e.ancestors.every(mn.isString)};var On,Sn={};function _n(){if(On)return Sn;On=1,Sn.AssertionError=void 0;const e=wn();class t extends e.CustomError{}return Sn.AssertionError=t,Sn}var xn,jn={};var En={},Pn={},An={};An.pass=void 0,An.pass=function(){},function(e){var t=o&&o.__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]});(o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(An,e)}(Pn),En.hydrate=void 0;const Tn=Pn;function In(e,t){const r=function(){(0,Tn.pass)()};return(r.prototype=Object.create(e.prototype)).constructor=r,Object.defineProperty(r,"name",{value:t}),r}En.hydrate=function(e){var t;const r=[e.name,...e.ancestors].slice(0,-1).reverse();let n=Error;for(const e of r)n=In(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 kn,Cn,Fn={};function Mn(){return Cn||(Cn=1,function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(wn(),e),r(_n(),e),r(hn,e),r(function(){if(xn)return jn;xn=1,jn.normalize=void 0;const e=dn,t=pn();return jn.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}},jn}(),e),r(En,e),r(function(){if(kn)return Fn;kn=1,Fn.assert=void 0;const e=_n();return Fn.assert=function(t,r){if(!t)throw new e.AssertionError(r)},Fn}(),e),r(dn,e),r(vn,e)}(De)),De}var Rn=Mn();var Nn=pn();function Bn(){const[,e]=i.exports.useState({});return()=>e({})}var Ln={},zn={Box:void 0};zn.Box=class{constructor(e){this.value=e}set(e){this.value=e}get(){return this.value}};var Un={};Un.convertArrayToCons=Un.convertConsToArray=void 0,Un.convertConsToArray=function e([t,r]){return null===r?[t]:[t,...e(r)]},Un.convertArrayToCons=function e([t,...r]){return[t,r.length?e(r):null]};var Wn={Emitter:void 0};class qn{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)))}}Wn.Emitter=qn;var Dn={HashMap:void 0};class $n{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()}}Dn.HashMap=$n;var Vn={HashSet:void 0};class Yn{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()}}Vn.HashSet=Yn;var Hn={Queue:void 0};class Jn{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)}}Hn.Queue=Jn;var Kn={LRUMap:void 0};const Gn=Mn(),Qn=pn();class Xn{constructor(e){this.map=new Map,(0,Gn.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Gn.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,Qn.first)(this.map.keys())}}Kn.LRUMap=Xn;var Zn={},eo={},to={},ro={},no={};no.random=void 0,no.random=function(e,t){return Math.random()*(t-e)+e};var oo={};oo.randomInt=void 0,oo.randomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e};var io={};io.randomIntInclusive=void 0,io.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=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(no,e),r(oo,e),r(io,e)}(ro),to.calculateExponentialBackoffTimeout=void 0;const ao=ro;to.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,ao.randomIntInclusive)(0,i):i};var uo={};uo.setTimeout=void 0,uo.setTimeout=function(e,t){const r=globalThis.setTimeout(t,e);return()=>clearTimeout(r)};var co={setSchedule:void 0};const so=uo;co.setSchedule=function(e,t){const r=e-Date.now();return(0,so.setTimeout)(r,t)};var lo={};lo.setInterval=void 0,lo.setInterval=function(e,t){const r=globalThis.setInterval(t,e);return()=>clearInterval(r)};var fo={setImmediate:void 0};const po=uo;fo.setImmediate=function(e){if(globalThis.setImmediate){const t=globalThis.setImmediate(e);return()=>clearImmediate(t)}return(0,po.setTimeout)(0,e)};var vo={setTimeoutLoop:void 0};const bo=uo;vo.setTimeoutLoop=function(e,t){let r=!1,n=(0,bo.setTimeout)(e,(async function o(){await t(),r||(n=(0,bo.setTimeout)(e,o))}));return()=>{r=!0,n()}};var yo={setDynamicTimeoutLoop:void 0};const ho=uo;yo.setDynamicTimeoutLoop=function(e,t){let r=!1,n=(0,ho.setTimeout)(e,(async function o(){const i=Date.now();await t();const a=Date.now()-i;r||(n=(0,ho.setTimeout)(Math.max(e-a,0),o))}));return()=>{r=!0,n()}},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(to,e),r(uo,e),r(co,e),r(lo,e),r(fo,e),r(vo,e),r(yo,e)}(eo),Zn.ExpirableMap=void 0;const mo=eo;class go{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,mo.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}}Zn.ExpirableMap=go;var wo={TLRUMap:void 0};const Oo=Mn(),So=pn(),_o=eo;class xo{constructor(e){this.map=new Map,this.itemMetadataSortedByExpirationTime=[],(0,Oo.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Oo.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,_o.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}getColdestKey(){return(0,So.first)(this.map.keys())}}wo.TLRUMap=xo;var jo={TrieMap:void 0};const Eo=pn();class Po{constructor(e){this.value=e,this.children=new Map}}class Ao{constructor(){this.root=new Po}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 Po),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,Eo.toArray)((0,Eo.zip)(e,t)).reverse())if(n.children.delete(r),0!==n.children.size)break;return!0}}jo.TrieMap=Ao;var To={};To.BadEventError=To.FiniteStateMachine=void 0;const Io=Mn();To.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 ko(this.state,e);this._state=this.schema[this.state][e]}};class ko extends Io.CustomError{constructor(e,t){super(`State ${e} cannot react to event ${t}`)}}To.BadEventError=ko;var Co={},Fo={},Mo={},Ro={},No={};No.isFunction=void 0,No.isFunction=function(e){return"function"==typeof e};var Bo={},Lo={},zo={};zo.createErrorClass=void 0,zo.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},Lo.UnsubscriptionError=void 0;var Uo=zo;Lo.UnsubscriptionError=Uo.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 Wo={};Wo.arrRemove=void 0,Wo.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}};var qo=o&&o.__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.")},Do=o&&o.__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},$o=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Bo.isSubscription=Bo.EMPTY_SUBSCRIPTION=Bo.Subscription=void 0;var Vo=No,Yo=Lo,Ho=Wo,Jo=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=qo(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(Vo.isFunction(c))try{c()}catch(e){o=e instanceof Yo.UnsubscriptionError?e.errors:[e]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var l=qo(s),f=l.next();!f.done;f=l.next()){var p=f.value;try{Ko(p)}catch(e){o=null!=o?o:[],e instanceof Yo.UnsubscriptionError?o=$o($o([],Do(o)),Do(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 Yo.UnsubscriptionError(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Ko(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)&&Ho.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ho.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();function Ko(e){Vo.isFunction(e)?e():e.unsubscribe()}Bo.Subscription=Jo,Bo.EMPTY_SUBSCRIPTION=Jo.EMPTY,Bo.isSubscription=function(e){return e instanceof Jo||e&&"closed"in e&&Vo.isFunction(e.remove)&&Vo.isFunction(e.add)&&Vo.isFunction(e.unsubscribe)};var Go={config:void 0};Go.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qo={},Xo={};!function(e){var t=o&&o.__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=o&&o.__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}}(Xo),Qo.reportUnhandledError=void 0;var Zo=Go,ei=Xo;Qo.reportUnhandledError=function(e){ei.timeoutProvider.setTimeout((function(){var t=Zo.config.onUnhandledError;if(!t)throw e;t(e)}))};var ti={};ti.noop=void 0,ti.noop=function(){};var ri={};function ni(e,t,r){return{kind:e,value:t,error:r}}ri.createNotification=ri.nextNotification=ri.errorNotification=ri.COMPLETE_NOTIFICATION=void 0,ri.COMPLETE_NOTIFICATION=ni("C",void 0,void 0),ri.errorNotification=function(e){return ni("E",void 0,e)},ri.nextNotification=function(e){return ni("N",e,void 0)},ri.createNotification=ni;var oi={};oi.captureError=oi.errorContext=void 0;var ii=Go,ai=null;oi.errorContext=function(e){if(ii.config.useDeprecatedSynchronousErrorHandling){var t=!ai;if(t&&(ai={errorThrown:!1,error:null}),e(),t){var r=ai,n=r.errorThrown,o=r.error;if(ai=null,n)throw o}}else e()},oi.captureError=function(e){ii.config.useDeprecatedSynchronousErrorHandling&&ai&&(ai.errorThrown=!0,ai.error=e)},function(e){var t,r=o&&o.__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 n=No,i=Bo,a=Go,u=Qo,c=ti,s=ri,l=Xo,f=oi,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,o){var i,u,c=e.call(this)||this;n.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=o?o: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}}(Ro);var ui={observable:void 0};ui.observable="function"==typeof Symbol&&Symbol.observable||"@@observable";var ci={},si={};si.identity=void 0,si.identity=function(e){return e},ci.pipeFromArray=ci.pipe=void 0;var li=si;function fi(e){return 0===e.length?li.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}ci.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fi(e)},ci.pipeFromArray=fi,Mo.Observable=void 0;var pi=Ro,di=Bo,vi=ui,bi=ci,yi=Go,hi=No,mi=oi,gi=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 pi.Subscriber||function(e){return e&&hi.isFunction(e.next)&&hi.isFunction(e.error)&&hi.isFunction(e.complete)}(n)&&di.isSubscription(n)?e:new pi.SafeSubscriber(e,t,r);return mi.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=wi(t))((function(t,n){var o=new pi.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[vi.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return bi.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=wi(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 wi(e){var t;return null!==(t=null!=e?e:yi.config.Promise)&&void 0!==t?t:Promise}Mo.Observable=gi;var Oi={},Si={},_i={};_i.operate=_i.hasLift=void 0;var xi=No;function ji(e){return xi.isFunction(null==e?void 0:e.lift)}_i.hasLift=ji,_i.operate=function(e){return function(t){if(ji(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 Ei,Pi={},Ai=o&&o.__extends||(Ei=function(e,t){return(Ei=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}Ei(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Pi.OperatorSubscriber=Pi.createOperatorSubscriber=void 0;var Ti=Ro;Pi.createOperatorSubscriber=function(e,t,r,n,o){return new Ii(e,t,r,n,o)};var Ii=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 Ai(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}(Ti.Subscriber);Pi.OperatorSubscriber=Ii,Si.refCount=void 0;var ki=_i,Ci=Pi;Si.refCount=function(){return ki.operate((function(e,t){var r=null;e._refCount++;var n=Ci.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 Fi=o&&o.__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)}}();Oi.ConnectableObservable=void 0;var Mi=Bo,Ri=Si,Ni=Pi,Bi=_i,Li=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,Bi.hasLift(t)&&(n.lift=t.lift),n}return Fi(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 Mi.Subscription;var r=this.getSubject();t.add(this.source.subscribe(Ni.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=Mi.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return Ri.refCount()(this)},t}(Mo.Observable);Oi.ConnectableObservable=Li;var zi={},Ui={};!function(e){e.performanceTimestampProvider=void 0,e.performanceTimestampProvider={now:function(){return(e.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}}(Ui);var Wi={};!function(e){var t=o&&o.__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=o&&o.__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 n=Bo;e.animationFrameProvider={schedule:function(t){var r=requestAnimationFrame,o=cancelAnimationFrame,i=e.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,o=i.cancelAnimationFrame);var a=r((function(e){o=void 0,t(e)}));return new n.Subscription((function(){return null==o?void 0:o(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}}(Wi),zi.animationFrames=void 0;var qi=Mo,Di=Bo,$i=Ui,Vi=Wi;function Yi(e){var t=Vi.animationFrameProvider.schedule;return new qi.Observable((function(r){var n=new Di.Subscription,o=e||$i.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}))}zi.animationFrames=function(e){return e?Yi(e):Hi};var Hi=Yi(),Ji={},Ki={ObjectUnsubscribedError:void 0},Gi=zo;Ki.ObjectUnsubscribedError=Gi.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}));var Qi=o&&o.__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)}}(),Xi=o&&o.__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.")};Ji.AnonymousSubject=Ji.Subject=void 0;var Zi=Mo,ea=Bo,ta=Ki,ra=Wo,na=oi,oa=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 Qi(t,e),t.prototype.lift=function(e){var t=new ia(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ta.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;na.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=Xi(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;na.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;na.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?ea.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new ea.Subscription((function(){t.currentObservers=null,ra.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 Zi.Observable;return e.source=this,e},t.create=function(e,t){return new ia(e,t)},t}(Zi.Observable);Ji.Subject=oa;var ia=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return Qi(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:ea.EMPTY_SUBSCRIPTION},t}(oa);Ji.AnonymousSubject=ia;var aa={},ua=o&&o.__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)}}();aa.BehaviorSubject=void 0;var ca=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return ua(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}(Ji.Subject);aa.BehaviorSubject=ca;var sa={},la={};!function(e){e.dateTimestampProvider=void 0,e.dateTimestampProvider={now:function(){return(e.dateTimestampProvider.delegate||Date).now()},delegate:void 0}}(la);var fa=o&&o.__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)}}();sa.ReplaySubject=void 0;var pa=la,da=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=pa.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 fa(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}(Ji.Subject);sa.ReplaySubject=da;var va={},ba=o&&o.__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)}}();va.AsyncSubject=void 0;var ya=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 ba(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}(Ji.Subject);va.AsyncSubject=ya;var ha={},ma={},ga={},wa={},Oa=o&&o.__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)}}();wa.Action=void 0;var Sa=function(e){function t(t,r){return e.call(this)||this}return Oa(t,e),t.prototype.schedule=function(e,t){return this},t}(Bo.Subscription);wa.Action=Sa;var _a={};!function(e){var t=o&&o.__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=o&&o.__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}}(_a);var xa=o&&o.__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.AsyncAction=void 0;var ja=_a,Ea=Wo,Pa=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 xa(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),ja.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;ja.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,Ea.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(wa.Action);ga.AsyncAction=Pa;var Aa={},Ta={};Ta.TestTools=Ta.Immediate=void 0;var Ia,ka=1,Ca={};function Fa(e){return e in Ca&&(delete Ca[e],!0)}Ta.Immediate={setImmediate:function(e){var t=ka++;return Ca[t]=!0,Ia||(Ia=Promise.resolve()),Ia.then((function(){return Fa(t)&&e()})),t},clearImmediate:function(e){Fa(e)}},Ta.TestTools={pending:function(){return Object.keys(Ca).length}},function(e){var t=o&&o.__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=o&&o.__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 n=Ta,i=n.Immediate.setImmediate,a=n.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}}(Aa);var Ma=o&&o.__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.AsapAction=void 0;var Ra=Aa,Na=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Ma(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=Ra.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}))||(Ra.immediateProvider.clearImmediate(r),t._scheduled=void 0)},t}(ga.AsyncAction);ma.AsapAction=Na;var Ba={},La={},za={Scheduler:void 0},Ua=la,Wa=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=Ua.dateTimestampProvider.now,e}();za.Scheduler=Wa;var qa=o&&o.__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.AsyncScheduler=void 0;var Da=za,$a=function(e){function t(t,r){void 0===r&&(r=Da.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n._scheduled=void 0,n}return qa(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}(Da.Scheduler);La.AsyncScheduler=$a;var Va=o&&o.__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)}}();Ba.AsapScheduler=void 0;var Ya=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Va(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}(La.AsyncScheduler);Ba.AsapScheduler=Ya,function(e){e.asap=e.asapScheduler=void 0;var t=ma,r=Ba;e.asapScheduler=new r.AsapScheduler(t.AsapAction),e.asap=e.asapScheduler}(ha);var Ha={};!function(e){e.async=e.asyncScheduler=void 0;var t=ga,r=La;e.asyncScheduler=new r.AsyncScheduler(t.AsyncAction),e.async=e.asyncScheduler}(Ha);var Ja={},Ka={},Ga=o&&o.__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.QueueAction=void 0;var Qa=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Ga(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}(ga.AsyncAction);Ka.QueueAction=Qa;var Xa={},Za=o&&o.__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)}}();Xa.QueueScheduler=void 0;var eu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Za(t,e),t}(La.AsyncScheduler);Xa.QueueScheduler=eu,function(e){e.queue=e.queueScheduler=void 0;var t=Ka,r=Xa;e.queueScheduler=new r.QueueScheduler(t.QueueAction),e.queue=e.queueScheduler}(Ja);var tu={},ru={},nu=o&&o.__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.AnimationFrameAction=void 0;var ou=Wi,iu=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return nu(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=ou.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}))||(ou.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(ga.AsyncAction);ru.AnimationFrameAction=iu;var au={},uu=o&&o.__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)}}();au.AnimationFrameScheduler=void 0;var cu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return uu(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}(La.AsyncScheduler);au.AnimationFrameScheduler=cu,function(e){e.animationFrame=e.animationFrameScheduler=void 0;var t=ru,r=au;e.animationFrameScheduler=new r.AnimationFrameScheduler(t.AnimationFrameAction),e.animationFrame=e.animationFrameScheduler}(tu);var su={},lu=o&&o.__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)}}();su.VirtualAction=su.VirtualTimeScheduler=void 0;var fu=ga,pu=Bo,du=function(e){function t(t,r){void 0===t&&(t=vu),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 lu(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}(La.AsyncScheduler);su.VirtualTimeScheduler=du;var vu=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 lu(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 pu.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}(fu.AsyncAction);su.VirtualAction=vu;var bu={},yu={};!function(e){e.empty=e.EMPTY=void 0;var t=Mo;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}}(yu);var hu={},mu={},gu={isScheduler:void 0},wu=No;gu.isScheduler=function(e){return e&&wu.isFunction(e.schedule)},mu.popNumber=mu.popScheduler=mu.popResultSelector=void 0;var Ou=No,Su=gu;function _u(e){return e[e.length-1]}mu.popResultSelector=function(e){return Ou.isFunction(_u(e))?e.pop():void 0},mu.popScheduler=function(e){return Su.isScheduler(_u(e))?e.pop():void 0},mu.popNumber=function(e,t){return"number"==typeof _u(e)?e.pop():t};var xu={},ju={},Eu={},Pu={},Au={isArrayLike:void 0};Au.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};var Tu={isPromise:void 0},Iu=No;Tu.isPromise=function(e){return Iu.isFunction(null==e?void 0:e.then)};var ku={isInteropObservable:void 0},Cu=ui,Fu=No;ku.isInteropObservable=function(e){return Fu.isFunction(e[Cu.observable])};var Mu={isAsyncIterable:void 0},Ru=No;Mu.isAsyncIterable=function(e){return Symbol.asyncIterator&&Ru.isFunction(null==e?void 0:e[Symbol.asyncIterator])};var Nu={};Nu.createInvalidObservableTypeError=void 0,Nu.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 Bu={},Lu={};function zu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Lu.iterator=Lu.getSymbolIterator=void 0,Lu.getSymbolIterator=zu,Lu.iterator=zu(),Bu.isIterable=void 0;var Uu=Lu,Wu=No;Bu.isIterable=function(e){return Wu.isFunction(null==e?void 0:e[Uu.iterator])};var qu={},Du=o&&o.__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])}}},$u=o&&o.__await||function(e){return this instanceof $u?(this.v=e,this):new $u(e)},Vu=o&&o.__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 $u?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])}};qu.isReadableStreamLike=qu.readableStreamLikeToAsyncGenerator=void 0;var Yu=No;qu.readableStreamLikeToAsyncGenerator=function(e){return Vu(this,arguments,(function(){var t,r,n;return Du(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,$u(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,$u(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,$u(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]}}))}))},qu.isReadableStreamLike=function(e){return Yu.isFunction(null==e?void 0:e.getReader)};var Hu=o&&o.__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())}))},Ju=o&&o.__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])}}},Ku=o&&o.__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 Gu?Gu(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)}))}}},Gu=o&&o.__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.fromReadableStreamLike=Pu.fromAsyncIterable=Pu.fromIterable=Pu.fromPromise=Pu.fromArrayLike=Pu.fromInteropObservable=Pu.innerFrom=void 0;var Qu=Au,Xu=Tu,Zu=Mo,ec=ku,tc=Mu,rc=Nu,nc=Bu,oc=qu,ic=No,ac=Qo,uc=ui;function cc(e){return new Zu.Observable((function(t){var r=e[uc.observable]();if(ic.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function sc(e){return new Zu.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function lc(e){return new Zu.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,ac.reportUnhandledError)}))}function fc(e){return new Zu.Observable((function(t){var r,n;try{for(var o=Gu(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 pc(e){return new Zu.Observable((function(t){(function(e,t){var r,n,o,i;return Hu(this,void 0,void 0,(function(){var a,u;return Ju(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=Ku(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 dc(e){return pc(oc.readableStreamLikeToAsyncGenerator(e))}Pu.innerFrom=function(e){if(e instanceof Zu.Observable)return e;if(null!=e){if(ec.isInteropObservable(e))return cc(e);if(Qu.isArrayLike(e))return sc(e);if(Xu.isPromise(e))return lc(e);if(tc.isAsyncIterable(e))return pc(e);if(nc.isIterable(e))return fc(e);if(oc.isReadableStreamLike(e))return dc(e)}throw rc.createInvalidObservableTypeError(e)},Pu.fromInteropObservable=cc,Pu.fromArrayLike=sc,Pu.fromPromise=lc,Pu.fromIterable=fc,Pu.fromAsyncIterable=pc,Pu.fromReadableStreamLike=dc;var vc={},bc={};bc.executeSchedule=void 0,bc.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},vc.observeOn=void 0;var yc=bc,hc=_i,mc=Pi;vc.observeOn=function(e,t){return void 0===t&&(t=0),hc.operate((function(r,n){r.subscribe(mc.createOperatorSubscriber(n,(function(r){return yc.executeSchedule(n,e,(function(){return n.next(r)}),t)}),(function(){return yc.executeSchedule(n,e,(function(){return n.complete()}),t)}),(function(r){return yc.executeSchedule(n,e,(function(){return n.error(r)}),t)})))}))};var gc={subscribeOn:void 0},wc=_i;gc.subscribeOn=function(e,t){return void 0===t&&(t=0),wc.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))},Eu.scheduleObservable=void 0;var Oc=Pu,Sc=vc,_c=gc;Eu.scheduleObservable=function(e,t){return Oc.innerFrom(e).pipe(_c.subscribeOn(t),Sc.observeOn(t))};var xc={schedulePromise:void 0},jc=Pu,Ec=vc,Pc=gc;xc.schedulePromise=function(e,t){return jc.innerFrom(e).pipe(Pc.subscribeOn(t),Ec.observeOn(t))};var Ac={scheduleArray:void 0},Tc=Mo;Ac.scheduleArray=function(e,t){return new Tc.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))};var Ic={scheduleIterable:void 0},kc=Mo,Cc=Lu,Fc=No,Mc=bc;Ic.scheduleIterable=function(e,t){return new kc.Observable((function(r){var n;return Mc.executeSchedule(r,t,(function(){n=e[Cc.iterator](),Mc.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 Fc.isFunction(null==n?void 0:n.return)&&n.return()}}))};var Rc={scheduleAsyncIterable:void 0},Nc=Mo,Bc=bc;Rc.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new Nc.Observable((function(r){Bc.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();Bc.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))};var Lc={scheduleReadableStreamLike:void 0},zc=Rc,Uc=qu;Lc.scheduleReadableStreamLike=function(e,t){return zc.scheduleAsyncIterable(Uc.readableStreamLikeToAsyncGenerator(e),t)},ju.scheduled=void 0;var Wc=Eu,qc=xc,Dc=Ac,$c=Ic,Vc=Rc,Yc=ku,Hc=Tu,Jc=Au,Kc=Bu,Gc=Mu,Qc=Nu,Xc=qu,Zc=Lc;ju.scheduled=function(e,t){if(null!=e){if(Yc.isInteropObservable(e))return Wc.scheduleObservable(e,t);if(Jc.isArrayLike(e))return Dc.scheduleArray(e,t);if(Hc.isPromise(e))return qc.schedulePromise(e,t);if(Gc.isAsyncIterable(e))return Vc.scheduleAsyncIterable(e,t);if(Kc.isIterable(e))return $c.scheduleIterable(e,t);if(Xc.isReadableStreamLike(e))return Zc.scheduleReadableStreamLike(e,t)}throw Qc.createInvalidObservableTypeError(e)},xu.from=void 0;var es=ju,ts=Pu;xu.from=function(e,t){return t?es.scheduled(e,t):ts.innerFrom(e)},hu.of=void 0;var rs=mu,ns=xu;hu.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rs.popScheduler(e);return ns.from(e,r)};var os={throwError:void 0},is=Mo,as=No;os.throwError=function(e,t){var r=as.isFunction(e)?e:function(){return e},n=function(e){return e.error(r())};return new is.Observable(t?function(e){return t.schedule(n,0,e)}:n)},function(e){e.observeNotification=e.Notification=e.NotificationKind=void 0;var t,r=yu,n=hu,o=os,i=No;(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}(bu);var us={isObservable:void 0},cs=Mo,ss=No;us.isObservable=function(e){return!!e&&(e instanceof cs.Observable||ss.isFunction(e.lift)&&ss.isFunction(e.subscribe))};var ls={},fs={EmptyError:void 0},ps=zo;fs.EmptyError=ps.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})),ls.lastValueFrom=void 0;var ds=fs;ls.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 ds.EmptyError)}})}))};var vs={firstValueFrom:void 0},bs=fs,ys=Ro;vs.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i=new ys.SafeSubscriber({next:function(e){n(e),i.unsubscribe()},error:o,complete:function(){r?n(t.defaultValue):o(new bs.EmptyError)}});e.subscribe(i)}))};var hs={ArgumentOutOfRangeError:void 0},ms=zo;hs.ArgumentOutOfRangeError=ms.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}));var gs={NotFoundError:void 0},ws=zo;gs.NotFoundError=ws.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}));var Os={SequenceError:void 0},Ss=zo;Os.SequenceError=Ss.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}));var _s={},xs={};xs.isValidDate=void 0,xs.isValidDate=function(e){return e instanceof Date&&!isNaN(e)},function(e){e.timeout=e.TimeoutError=void 0;var t=Ha,r=xs,n=_i,o=Pu,i=zo,a=Pi,u=bc;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)}))}}(_s);var js={},Es={},Ps={},As={map:void 0},Ts=_i,Is=Pi;As.map=function(e,t){return Ts.operate((function(r,n){var o=0;r.subscribe(Is.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,o++))})))}))};var ks=o&&o.__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},Cs=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ps.mapOneOrManyArgs=void 0;var Fs=As,Ms=Array.isArray;Ps.mapOneOrManyArgs=function(e){return Fs.map((function(t){return function(e,t){return Ms(t)?e.apply(void 0,Cs([],ks(t))):e(t)}(e,t)}))};var Rs=o&&o.__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},Ns=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Es.bindCallbackInternals=void 0;var Bs=gu,Ls=Mo,zs=gc,Us=Ps,Ws=vc,qs=va;Es.bindCallbackInternals=function e(t,r,n,o){if(n){if(!Bs.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(Us.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(zs.subscribeOn(o),Ws.observeOn(o))}:function(){for(var e=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=new qs.AsyncSubject,a=!0;return new Ls.Observable((function(o){var u=i.subscribe(o);if(a){a=!1;var c=!1,s=!1;r.apply(e,Ns(Ns([],Rs(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}))}},js.bindCallback=void 0;var Ds=Es;js.bindCallback=function(e,t,r){return Ds.bindCallbackInternals(!1,e,t,r)};var $s={bindNodeCallback:void 0},Vs=Es;$s.bindNodeCallback=function(e,t,r){return Vs.bindCallbackInternals(!0,e,t,r)};var Ys={},Hs={argsArgArrayOrObject:void 0},Js=Array.isArray,Ks=Object.getPrototypeOf,Gs=Object.prototype,Qs=Object.keys;Hs.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(Js(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&Ks(n)===Gs){var r=Qs(t);return{args:r.map((function(e){return t[e]})),keys:r}}}var n;return{args:e,keys:null}};var Xs={};Xs.createObject=void 0,Xs.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})},Ys.combineLatestInit=Ys.combineLatest=void 0;var Zs=Mo,el=Hs,tl=xu,rl=si,nl=Ps,ol=mu,il=Xs,al=Pi,ul=bc;function cl(e,t,r){return void 0===r&&(r=rl.identity),function(n){sl(t,(function(){for(var o=e.length,i=new Array(o),a=o,u=o,c=function(o){sl(t,(function(){var c=tl.from(e[o],t),s=!1;c.subscribe(al.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 sl(e,t,r){e?ul.executeSchedule(r,e,t):t()}Ys.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ol.popScheduler(e),n=ol.popResultSelector(e),o=el.argsArgArrayOrObject(e),i=o.args,a=o.keys;if(0===i.length)return tl.from([],r);var u=new Zs.Observable(cl(i,r,a?function(e){return il.createObject(a,e)}:rl.identity));return n?u.pipe(nl.mapOneOrManyArgs(n)):u},Ys.combineLatestInit=cl;var ll={},fl={},pl={},dl={},vl={mergeInternals:void 0},bl=Pu,yl=bc,hl=Pi;vl.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;bl.innerFrom(r(e,l++)).subscribe(hl.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?yl.executeSchedule(t,a,(function(){return v(e)})):v(e)};c.length&&s<n;)e();p()}catch(e){t.error(e)}})))};return e.subscribe(hl.createOperatorSubscriber(t,d,(function(){f=!0,p()}))),function(){null==u||u()}},dl.mergeMap=void 0;var ml=As,gl=Pu,wl=_i,Ol=vl,Sl=No;dl.mergeMap=function e(t,r,n){return void 0===n&&(n=1/0),Sl.isFunction(r)?e((function(e,n){return ml.map((function(t,o){return r(e,t,n,o)}))(gl.innerFrom(t(e,n)))}),n):("number"==typeof r&&(n=r),wl.operate((function(e,r){return Ol.mergeInternals(e,r,t,n)})))},pl.mergeAll=void 0;var _l=dl,xl=si;pl.mergeAll=function(e){return void 0===e&&(e=1/0),_l.mergeMap(xl.identity,e)},fl.concatAll=void 0;var jl=pl;fl.concatAll=function(){return jl.mergeAll(1)},ll.concat=void 0;var El=fl,Pl=mu,Al=xu;ll.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return El.concatAll()(Al.from(e,Pl.popScheduler(e)))};var Tl={},Il={defer:void 0},kl=Mo,Cl=Pu;Il.defer=function(e){return new kl.Observable((function(t){Cl.innerFrom(e()).subscribe(t)}))},Tl.connectable=void 0;var Fl=Ji,Ml=Mo,Rl=Il,Nl={connector:function(){return new Fl.Subject},resetOnDisconnect:!0};Tl.connectable=function(e,t){void 0===t&&(t=Nl);var r=null,n=t.connector,o=t.resetOnDisconnect,i=void 0===o||o,a=n(),u=new Ml.Observable((function(e){return a.subscribe(e)}));return u.connect=function(){return r&&!r.closed||(r=Rl.defer((function(){return e})).subscribe(a),i&&r.add((function(){return a=n()}))),r},u};var Bl={forkJoin:void 0},Ll=Mo,zl=Hs,Ul=Pu,Wl=mu,ql=Pi,Dl=Ps,$l=Xs;Bl.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Wl.popResultSelector(e),n=zl.argsArgArrayOrObject(e),o=n.args,i=n.keys,a=new Ll.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;Ul.innerFrom(o[t]).subscribe(ql.createOperatorSubscriber(e,(function(e){u||(u=!0,a--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&u||(a||e.next(i?$l.createObject(i,r):r),e.complete())})))},c=0;c<t;c++)u(c);else e.complete()}));return r?a.pipe(Dl.mapOneOrManyArgs(r)):a};var Vl={},Yl=o&&o.__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};Vl.fromEvent=void 0;var Hl=Pu,Jl=Mo,Kl=dl,Gl=Au,Ql=No,Xl=Ps,Zl=["addListener","removeListener"],ef=["addEventListener","removeEventListener"],tf=["on","off"];function rf(e,t){return function(r){return function(n){return e[r](t,n)}}}Vl.fromEvent=function e(t,r,n,o){if(Ql.isFunction(n)&&(o=n,n=void 0),o)return e(t,r,n).pipe(Xl.mapOneOrManyArgs(o));var i=Yl(function(e){return Ql.isFunction(e.addEventListener)&&Ql.isFunction(e.removeEventListener)}(t)?ef.map((function(e){return function(o){return t[e](r,o,n)}})):function(e){return Ql.isFunction(e.addListener)&&Ql.isFunction(e.removeListener)}(t)?Zl.map(rf(t,r)):function(e){return Ql.isFunction(e.on)&&Ql.isFunction(e.off)}(t)?tf.map(rf(t,r)):[],2),a=i[0],u=i[1];if(!a&&Gl.isArrayLike(t))return Kl.mergeMap((function(t){return e(t,r,n)}))(Hl.innerFrom(t));if(!a)throw new TypeError("Invalid event target");return new Jl.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 nf={fromEventPattern:void 0},of=Mo,af=No,uf=Ps;nf.fromEventPattern=function e(t,r,n){return n?e(t,r).pipe(uf.mapOneOrManyArgs(n)):new of.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 af.isFunction(r)?function(){return r(n,o)}:void 0}))};var cf={},sf=o&&o.__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])}}};cf.generate=void 0;var lf=si,ff=gu,pf=Il,df=Ic;cf.generate=function(e,t,r,n,o){var i,a,u,c;function s(){var e;return sf(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?lf.identity:a,o=i.scheduler):(c=e,!n||ff.isScheduler(n)?(u=lf.identity,o=n):u=n),pf.defer(o?function(){return df.scheduleIterable(s(),o)}:s)};var vf={iif:void 0},bf=Il;vf.iif=function(e,t,r){return bf.defer((function(){return e()?t:r}))};var yf={},hf={timer:void 0},mf=Mo,gf=Ha,wf=gu,Of=xs;hf.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=gf.async);var n=-1;return null!=t&&(wf.isScheduler(t)?r=t:n=t),new mf.Observable((function(t){var o=Of.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)}))},yf.interval=void 0;var Sf=Ha,_f=hf;yf.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=Sf.asyncScheduler),e<0&&(e=0),_f.timer(e,e,t)};var xf={merge:void 0},jf=pl,Ef=Pu,Pf=yu,Af=mu,Tf=xu;xf.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Af.popScheduler(e),n=Af.popNumber(e,1/0),o=e;return o.length?1===o.length?Ef.innerFrom(o[0]):jf.mergeAll(n)(Tf.from(o,r)):Pf.EMPTY};var If={};!function(e){e.never=e.NEVER=void 0;var t=Mo,r=ti;e.NEVER=new t.Observable(r.noop),e.never=function(){return e.NEVER}}(If);var kf={},Cf={},Ff={argsOrArgArray:void 0},Mf=Array.isArray;Ff.argsOrArgArray=function(e){return 1===e.length&&Mf(e[0])?e[0]:e};var Rf=o&&o.__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=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Cf.onErrorResumeNext=void 0;var Bf=_i,Lf=Pu,zf=Ff,Uf=Pi,Wf=ti;Cf.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=zf.argsOrArgArray(e);return Bf.operate((function(e,t){var n=Nf([e],Rf(r)),o=function(){if(!t.closed)if(n.length>0){var e=void 0;try{e=Lf.innerFrom(n.shift())}catch(e){return void o()}var r=Uf.createOperatorSubscriber(t,void 0,Wf.noop,Wf.noop);e.subscribe(r),r.add(o)}else t.complete()};o()}))},kf.onErrorResumeNext=void 0;var qf=yu,Df=Cf,$f=Ff;kf.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Df.onErrorResumeNext($f.argsOrArgArray(e))(qf.EMPTY)};var Vf={pairs:void 0},Yf=xu;Vf.pairs=function(e,t){return Yf.from(Object.entries(e),t)};var Hf={},Jf={};Jf.not=void 0,Jf.not=function(e,t){return function(r,n){return!e.call(t,r,n)}};var Kf={filter:void 0},Gf=_i,Qf=Pi;Kf.filter=function(e,t){return Gf.operate((function(r,n){var o=0;r.subscribe(Qf.createOperatorSubscriber(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))},Hf.partition=void 0;var Xf=Jf,Zf=Kf,ep=Pu;Hf.partition=function(e,t,r){return[Zf.filter(t,r)(ep.innerFrom(e)),Zf.filter(Xf.not(t,r))(ep.innerFrom(e))]};var tp={};tp.raceInit=tp.race=void 0;var rp=Mo,np=Pu,op=Ff,ip=Pi;function ap(e){return function(t){for(var r=[],n=function(n){r.push(np.innerFrom(e[n]).subscribe(ip.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)}}tp.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=op.argsOrArgArray(e)).length?np.innerFrom(e[0]):new rp.Observable(ap(e))},tp.raceInit=ap;var up={range:void 0},cp=Mo,sp=yu;up.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return sp.EMPTY;var n=t+e;return new cp.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 lp={using:void 0},fp=Mo,pp=Pu,dp=yu;lp.using=function(e,t){return new fp.Observable((function(r){var n=e(),o=t(n);return(o?pp.innerFrom(o):dp.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))};var vp={},bp=o&&o.__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},yp=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};vp.zip=void 0;var hp=Mo,mp=Pu,gp=Ff,wp=yu,Op=Pi,Sp=mu;vp.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Sp.popResultSelector(e),n=gp.argsOrArgArray(e);return n.length?new hp.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){mp.innerFrom(n[i]).subscribe(Op.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,yp([],bp(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}})):wp.EMPTY};var _p={},xp={audit:void 0},jp=_i,Ep=Pu,Pp=Pi;xp.audit=function(e){return jp.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(Pp.createOperatorSubscriber(r,(function(t){n=!0,o=t,i||Ep.innerFrom(e(t)).subscribe(i=Pp.createOperatorSubscriber(r,u,c))}),(function(){a=!0,(!n||!i||i.closed)&&r.complete()})))}))};var Ap={auditTime:void 0},Tp=Ha,Ip=xp,kp=hf;Ap.auditTime=function(e,t){return void 0===t&&(t=Tp.asyncScheduler),Ip.audit((function(){return kp.timer(e,t)}))};var Cp={buffer:void 0},Fp=_i,Mp=ti,Rp=Pi;Cp.buffer=function(e){return Fp.operate((function(t,r){var n=[];return t.subscribe(Rp.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),e.subscribe(Rp.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),Mp.noop)),function(){n=null}}))};var Np={},Bp=o&&o.__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.")};Np.bufferCount=void 0;var Lp=_i,zp=Pi,Up=Wo;Np.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,Lp.operate((function(r,n){var o=[],i=0;r.subscribe(zp.createOperatorSubscriber(n,(function(r){var a,u,c,s,l=null;i++%t==0&&o.push([]);try{for(var f=Bp(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=Bp(l),v=d.next();!v.done;v=d.next()){var b=v.value;Up.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=Bp(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 Wp={},qp=o&&o.__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.")};Wp.bufferTime=void 0;var Dp=Bo,$p=_i,Vp=Pi,Yp=Wo,Hp=Ha,Jp=mu,Kp=bc;Wp.bufferTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=Jp.popScheduler(n))&&void 0!==t?t:Hp.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return $p.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.buffer;e.subs.unsubscribe(),Yp.arrRemove(n,e),r.next(t),o&&s()},s=function(){if(n){var t=new Dp.Subscription;r.add(t);var o={buffer:[],subs:t};n.push(o),Kp.executeSchedule(t,i,(function(){return c(o)}),e)}};null!==a&&a>=0?Kp.executeSchedule(r,i,s,a,!0):o=!0,s();var l=Vp.createOperatorSubscriber(r,(function(e){var t,r,o=n.slice();try{for(var i=qp(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 Gp={},Qp=o&&o.__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.")};Gp.bufferToggle=void 0;var Xp=Bo,Zp=_i,ed=Pu,td=Pi,rd=ti,nd=Wo;Gp.bufferToggle=function(e,t){return Zp.operate((function(r,n){var o=[];ed.innerFrom(e).subscribe(td.createOperatorSubscriber(n,(function(e){var r=[];o.push(r);var i=new Xp.Subscription;i.add(ed.innerFrom(t(e)).subscribe(td.createOperatorSubscriber(n,(function(){nd.arrRemove(o,r),n.next(r),i.unsubscribe()}),rd.noop)))}),rd.noop)),r.subscribe(td.createOperatorSubscriber(n,(function(e){var t,r;try{for(var n=Qp(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 od={bufferWhen:void 0},id=_i,ad=ti,ud=Pi,cd=Pu;od.bufferWhen=function(e){return id.operate((function(t,r){var n=null,o=null,i=function(){null==o||o.unsubscribe();var t=n;n=[],t&&r.next(t),cd.innerFrom(e()).subscribe(o=ud.createOperatorSubscriber(r,i,ad.noop))};i(),t.subscribe(ud.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 sd={catchError:void 0},ld=Pu,fd=Pi,pd=_i;sd.catchError=function e(t){return pd.operate((function(r,n){var o,i=null,a=!1;i=r.subscribe(fd.createOperatorSubscriber(n,void 0,void 0,(function(u){o=ld.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 dd={},vd={},bd={},yd={},hd={},md={scanInternals:void 0},gd=Pi;md.scanInternals=function(e,t,r,n,o){return function(i,a){var u=r,c=t,s=0;i.subscribe(gd.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()}))}},hd.reduce=void 0;var wd=md,Od=_i;hd.reduce=function(e,t){return Od.operate(wd.scanInternals(e,t,arguments.length>=2,!1,!0))},yd.toArray=void 0;var Sd=hd,_d=_i,xd=function(e,t){return e.push(t),e};yd.toArray=function(){return _d.operate((function(e,t){Sd.reduce(xd,[])(e).subscribe(t)}))},bd.joinAllInternals=void 0;var jd=si,Ed=Ps,Pd=ci,Ad=dl,Td=yd;bd.joinAllInternals=function(e,t){return Pd.pipe(Td.toArray(),Ad.mergeMap((function(t){return e(t)})),t?Ed.mapOneOrManyArgs(t):jd.identity)},vd.combineLatestAll=void 0;var Id=Ys,kd=bd;vd.combineLatestAll=function(e){return kd.joinAllInternals(Id.combineLatest,e)},dd.combineAll=void 0;var Cd=vd;dd.combineAll=Cd.combineLatestAll;var Fd={},Md={},Rd=o&&o.__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=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Md.combineLatest=void 0;var Bd=Ys,Ld=_i,zd=Ff,Ud=Ps,Wd=ci,qd=mu;Md.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=qd.popResultSelector(t);return n?Wd.pipe(e.apply(void 0,Nd([],Rd(t))),Ud.mapOneOrManyArgs(n)):Ld.operate((function(e,r){Bd.combineLatestInit(Nd([e],Rd(zd.argsOrArgArray(t))))(r)}))};var Dd=o&&o.__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},$d=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Fd.combineLatestWith=void 0;var Vd=Md;Fd.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Vd.combineLatest.apply(void 0,$d([],Dd(e)))};var Yd={concatMap:void 0},Hd=dl,Jd=No;Yd.concatMap=function(e,t){return Jd.isFunction(t)?Hd.mergeMap(e,t,1):Hd.mergeMap(e,1)};var Kd={concatMapTo:void 0},Gd=Yd,Qd=No;Kd.concatMapTo=function(e,t){return Qd.isFunction(t)?Gd.concatMap((function(){return e}),t):Gd.concatMap((function(){return e}))};var Xd={},Zd={},ev=o&&o.__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},tv=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Zd.concat=void 0;var rv=_i,nv=fl,ov=mu,iv=xu;Zd.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ov.popScheduler(e);return rv.operate((function(t,n){nv.concatAll()(iv.from(tv([t],ev(e)),r)).subscribe(n)}))};var av=o&&o.__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},uv=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Xd.concatWith=void 0;var cv=Zd;Xd.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return cv.concat.apply(void 0,uv([],av(e)))};var sv={},lv={fromSubscribable:void 0},fv=Mo;lv.fromSubscribable=function(e){return new fv.Observable((function(t){return e.subscribe(t)}))},sv.connect=void 0;var pv=Ji,dv=xu,vv=_i,bv=lv,yv={connector:function(){return new pv.Subject}};sv.connect=function(e,t){void 0===t&&(t=yv);var r=t.connector;return vv.operate((function(t,n){var o=r();dv.from(e(bv.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))}))};var hv={count:void 0},mv=hd;hv.count=function(e){return mv.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)};var gv={debounce:void 0},wv=_i,Ov=ti,Sv=Pi,_v=Pu;gv.debounce=function(e){return wv.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(Sv.createOperatorSubscriber(r,(function(t){null==i||i.unsubscribe(),n=!0,o=t,i=Sv.createOperatorSubscriber(r,a,Ov.noop),_v.innerFrom(e(t)).subscribe(i)}),(function(){a(),r.complete()}),void 0,(function(){o=i=null})))}))};var xv={debounceTime:void 0},jv=Ha,Ev=_i,Pv=Pi;xv.debounceTime=function(e,t){return void 0===t&&(t=jv.asyncScheduler),Ev.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(Pv.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 Av={defaultIfEmpty:void 0},Tv=_i,Iv=Pi;Av.defaultIfEmpty=function(e){return Tv.operate((function(t,r){var n=!1;t.subscribe(Iv.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))};var kv={},Cv={},Fv={take:void 0},Mv=yu,Rv=_i,Nv=Pi;Fv.take=function(e){return e<=0?function(){return Mv.EMPTY}:Rv.operate((function(t,r){var n=0;t.subscribe(Nv.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))};var Bv={ignoreElements:void 0},Lv=_i,zv=Pi,Uv=ti;Bv.ignoreElements=function(){return Lv.operate((function(e,t){e.subscribe(zv.createOperatorSubscriber(t,Uv.noop))}))};var Wv={mapTo:void 0},qv=As;Wv.mapTo=function(e){return qv.map((function(){return e}))},Cv.delayWhen=void 0;var Dv=ll,$v=Fv,Vv=Bv,Yv=Wv,Hv=dl;Cv.delayWhen=function e(t,r){return r?function(n){return Dv.concat(r.pipe($v.take(1),Vv.ignoreElements()),n.pipe(e(t)))}:Hv.mergeMap((function(e,r){return t(e,r).pipe($v.take(1),Yv.mapTo(e))}))},kv.delay=void 0;var Jv=Ha,Kv=Cv,Gv=hf;kv.delay=function(e,t){void 0===t&&(t=Jv.asyncScheduler);var r=Gv.timer(e,t);return Kv.delayWhen((function(){return r}))};var Qv={dematerialize:void 0},Xv=bu,Zv=_i,eb=Pi;Qv.dematerialize=function(){return Zv.operate((function(e,t){e.subscribe(eb.createOperatorSubscriber(t,(function(e){return Xv.observeNotification(e,t)})))}))};var tb={distinct:void 0},rb=_i,nb=Pi,ob=ti;tb.distinct=function(e,t){return rb.operate((function(r,n){var o=new Set;r.subscribe(nb.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;o.has(r)||(o.add(r),n.next(t))}))),null==t||t.subscribe(nb.createOperatorSubscriber(n,(function(){return o.clear()}),ob.noop))}))};var ib={distinctUntilChanged:void 0},ab=si,ub=_i,cb=Pi;function sb(e,t){return e===t}ib.distinctUntilChanged=function(e,t){return void 0===t&&(t=ab.identity),e=null!=e?e:sb,ub.operate((function(r,n){var o,i=!0;r.subscribe(cb.createOperatorSubscriber(n,(function(r){var a=t(r);!i&&e(o,a)||(i=!1,o=a,n.next(r))})))}))};var lb={distinctUntilKeyChanged:void 0},fb=ib;lb.distinctUntilKeyChanged=function(e,t){return fb.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))};var pb={},db={throwIfEmpty:void 0},vb=fs,bb=_i,yb=Pi;function hb(){return new vb.EmptyError}db.throwIfEmpty=function(e){return void 0===e&&(e=hb),bb.operate((function(t,r){var n=!1;t.subscribe(yb.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))},pb.elementAt=void 0;var mb=hs,gb=Kf,wb=db,Ob=Av,Sb=Fv;pb.elementAt=function(e,t){if(e<0)throw new mb.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(n){return n.pipe(gb.filter((function(t,r){return r===e})),Sb.take(1),r?Ob.defaultIfEmpty(t):wb.throwIfEmpty((function(){return new mb.ArgumentOutOfRangeError})))}};var _b={},xb=o&&o.__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},jb=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};_b.endWith=void 0;var Eb=ll,Pb=hu;_b.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Eb.concat(t,Pb.of.apply(void 0,jb([],xb(e))))}};var Ab={every:void 0},Tb=_i,Ib=Pi;Ab.every=function(e,t){return Tb.operate((function(r,n){var o=0;r.subscribe(Ib.createOperatorSubscriber(n,(function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))};var kb={},Cb={exhaustAll:void 0},Fb=_i,Mb=Pu,Rb=Pi;Cb.exhaustAll=function(){return Fb.operate((function(e,t){var r=!1,n=null;e.subscribe(Rb.createOperatorSubscriber(t,(function(e){n||(n=Mb.innerFrom(e).subscribe(Rb.createOperatorSubscriber(t,void 0,(function(){n=null,r&&t.complete()}))))}),(function(){r=!0,!n&&t.complete()})))}))},kb.exhaust=void 0;var Nb=Cb;kb.exhaust=Nb.exhaustAll;var Bb={exhaustMap:void 0},Lb=As,zb=Pu,Ub=_i,Wb=Pi;Bb.exhaustMap=function e(t,r){return r?function(n){return n.pipe(e((function(e,n){return zb.innerFrom(t(e,n)).pipe(Lb.map((function(t,o){return r(e,t,n,o)})))})))}:Ub.operate((function(e,r){var n=0,o=null,i=!1;e.subscribe(Wb.createOperatorSubscriber(r,(function(e){o||(o=Wb.createOperatorSubscriber(r,void 0,(function(){o=null,i&&r.complete()})),zb.innerFrom(t(e,n++)).subscribe(o))}),(function(){i=!0,!o&&r.complete()})))}))};var qb={expand:void 0},Db=_i,$b=vl;qb.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,Db.operate((function(n,o){return $b.mergeInternals(n,o,e,t,void 0,!0,r)}))};var Vb={finalize:void 0},Yb=_i;Vb.finalize=function(e){return Yb.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))};var Hb={};Hb.createFind=Hb.find=void 0;var Jb=_i,Kb=Pi;function Gb(e,t,r){var n="index"===r;return function(r,o){var i=0;r.subscribe(Kb.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()})))}}Hb.find=function(e,t){return Jb.operate(Gb(e,t,"value"))},Hb.createFind=Gb;var Qb={findIndex:void 0},Xb=_i,Zb=Hb;Qb.findIndex=function(e,t){return Xb.operate(Zb.createFind(e,t,"index"))};var ey={first:void 0},ty=fs,ry=Kf,ny=Fv,oy=Av,iy=db,ay=si;ey.first=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)})):ay.identity,ny.take(1),r?oy.defaultIfEmpty(t):iy.throwIfEmpty((function(){return new ty.EmptyError})))}};var uy={groupBy:void 0},cy=Mo,sy=Pu,ly=Ji,fy=_i,py=Pi;uy.groupBy=function(e,t,r,n){return fy.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 py.OperatorSubscriber(i,(function(t){try{var o=e(t),c=u.get(o);if(!c){u.set(o,c=n?n():new ly.Subject);var d=(b=o,y=c,(h=new cy.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=py.createOperatorSubscriber(c,(function(){c.complete(),null==v||v.unsubscribe()}),void 0,void 0,(function(){return u.delete(o)}));p.add(sy.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 dy={isEmpty:void 0},vy=_i,by=Pi;dy.isEmpty=function(){return vy.operate((function(e,t){e.subscribe(by.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))};var yy={},hy={},my=o&&o.__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.")};hy.takeLast=void 0;var gy=yu,wy=_i,Oy=Pi;hy.takeLast=function(e){return e<=0?function(){return gy.EMPTY}:wy.operate((function(t,r){var n=[];t.subscribe(Oy.createOperatorSubscriber(r,(function(t){n.push(t),e<n.length&&n.shift()}),(function(){var e,t;try{for(var o=my(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})))}))},yy.last=void 0;var Sy=fs,_y=Kf,xy=hy,jy=db,Ey=Av,Py=si;yy.last=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?_y.filter((function(t,r){return e(t,r,n)})):Py.identity,xy.takeLast(1),r?Ey.defaultIfEmpty(t):jy.throwIfEmpty((function(){return new Sy.EmptyError})))}};var Ay={materialize:void 0},Ty=bu,Iy=_i,ky=Pi;Ay.materialize=function(){return Iy.operate((function(e,t){e.subscribe(ky.createOperatorSubscriber(t,(function(e){t.next(Ty.Notification.createNext(e))}),(function(){t.next(Ty.Notification.createComplete()),t.complete()}),(function(e){t.next(Ty.Notification.createError(e)),t.complete()})))}))};var Cy={max:void 0},Fy=hd,My=No;Cy.max=function(e){return Fy.reduce(My.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})};var Ry={flatMap:void 0},Ny=dl;Ry.flatMap=Ny.mergeMap;var By={mergeMapTo:void 0},Ly=dl,zy=No;By.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),zy.isFunction(t)?Ly.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),Ly.mergeMap((function(){return e}),r))};var Uy={mergeScan:void 0},Wy=_i,qy=vl;Uy.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),Wy.operate((function(n,o){var i=t;return qy.mergeInternals(n,o,(function(t,r){return e(i,t,r)}),r,(function(e){i=e}),!1,void 0,(function(){return i=null}))}))};var Dy={},$y={},Vy=o&&o.__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},Yy=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};$y.merge=void 0;var Hy=_i,Jy=Ff,Ky=pl,Gy=mu,Qy=xu;$y.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Gy.popScheduler(e),n=Gy.popNumber(e,1/0);return e=Jy.argsOrArgArray(e),Hy.operate((function(t,o){Ky.mergeAll(n)(Qy.from(Yy([t],Vy(e)),r)).subscribe(o)}))};var Xy=o&&o.__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},Zy=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Dy.mergeWith=void 0;var eh=$y;Dy.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eh.merge.apply(void 0,Zy([],Xy(e)))};var th={min:void 0},rh=hd,nh=No;th.min=function(e){return rh.reduce(nh.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})};var oh={multicast:void 0},ih=Oi,ah=No,uh=sv;oh.multicast=function(e,t){var r=ah.isFunction(e)?e:function(){return e};return ah.isFunction(t)?uh.connect(t,{connector:r}):function(e){return new ih.ConnectableObservable(e,r)}};var ch={pairwise:void 0},sh=_i,lh=Pi;ch.pairwise=function(){return sh.operate((function(e,t){var r,n=!1;e.subscribe(lh.createOperatorSubscriber(t,(function(e){var o=r;r=e,n&&t.next([o,e]),n=!0})))}))};var fh={pluck:void 0},ph=As;fh.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 ph.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 dh={publish:void 0},vh=Ji,bh=oh,yh=sv;dh.publish=function(e){return e?function(t){return yh.connect(e)(t)}:function(e){return bh.multicast(new vh.Subject)(e)}};var hh={publishBehavior:void 0},mh=aa,gh=Oi;hh.publishBehavior=function(e){return function(t){var r=new mh.BehaviorSubject(e);return new gh.ConnectableObservable(t,(function(){return r}))}};var wh={publishLast:void 0},Oh=va,Sh=Oi;wh.publishLast=function(){return function(e){var t=new Oh.AsyncSubject;return new Sh.ConnectableObservable(e,(function(){return t}))}};var _h={publishReplay:void 0},xh=sa,jh=oh,Eh=No;_h.publishReplay=function(e,t,r,n){r&&!Eh.isFunction(r)&&(n=r);var o=Eh.isFunction(r)?r:void 0;return function(r){return jh.multicast(new xh.ReplaySubject(e,t,n),o)(r)}};var Ph={},Ah=o&&o.__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},Th=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ph.raceWith=void 0;var Ih=tp,kh=_i,Ch=si;Ph.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?kh.operate((function(t,r){Ih.raceInit(Th([t],Ah(e)))(r)})):Ch.identity};var Fh={repeat:void 0},Mh=yu,Rh=_i,Nh=Pi,Bh=Pu,Lh=hf;Fh.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 Mh.EMPTY}:Rh.operate((function(e,t){var o,i=0,a=function(){if(null==o||o.unsubscribe(),o=null,null!=r){var e="number"==typeof r?Lh.timer(r):Bh.innerFrom(r(i)),n=Nh.createOperatorSubscriber(t,(function(){n.unsubscribe(),u()}));e.subscribe(n)}else u()},u=function(){var r=!1;o=e.subscribe(Nh.createOperatorSubscriber(t,void 0,(function(){++i<n?o?a():r=!0:t.complete()}))),r&&a()};u()}))};var zh={repeatWhen:void 0},Uh=Ji,Wh=_i,qh=Pi;zh.repeatWhen=function(e){return Wh.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(qh.createOperatorSubscriber(r,void 0,(function(){u=!0,!c()&&(o||(o=new Uh.Subject,e(o).subscribe(qh.createOperatorSubscriber(r,(function(){n?s():i=!0}),(function(){a=!0,c()})))),o).next()}))),i&&(n.unsubscribe(),n=null,i=!1,s())};s()}))};var Dh={retry:void 0},$h=_i,Vh=Pi,Yh=si,Hh=hf,Jh=Pu;Dh.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?Yh.identity:$h.operate((function(e,t){var r,i=0,u=function(){var c=!1;r=e.subscribe(Vh.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?Hh.timer(o):Jh.innerFrom(o(e,i)),l=Vh.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 Kh={retryWhen:void 0},Gh=Ji,Qh=_i,Xh=Pi;Kh.retryWhen=function(e){return Qh.operate((function(t,r){var n,o,i=!1,a=function(){n=t.subscribe(Xh.createOperatorSubscriber(r,void 0,void 0,(function(t){o||(o=new Gh.Subject,e(o).subscribe(Xh.createOperatorSubscriber(r,(function(){return n?a():i=!0})))),o&&o.next(t)}))),i&&(n.unsubscribe(),n=null,i=!1,a())};a()}))};var Zh={sample:void 0},em=_i,tm=ti,rm=Pi;Zh.sample=function(e){return em.operate((function(t,r){var n=!1,o=null;t.subscribe(rm.createOperatorSubscriber(r,(function(e){n=!0,o=e}))),e.subscribe(rm.createOperatorSubscriber(r,(function(){if(n){n=!1;var e=o;o=null,r.next(e)}}),tm.noop))}))};var nm={sampleTime:void 0},om=Ha,im=Zh,am=yf;nm.sampleTime=function(e,t){return void 0===t&&(t=om.asyncScheduler),im.sample(am.interval(e,t))};var um={scan:void 0},cm=_i,sm=md;um.scan=function(e,t){return cm.operate(sm.scanInternals(e,t,arguments.length>=2,!0))};var lm={sequenceEqual:void 0},fm=_i,pm=Pi;lm.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),fm.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=pm.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 dm={},vm=o&&o.__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},bm=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};dm.share=void 0;var ym=xu,hm=Fv,mm=Ji,gm=Ro,wm=_i;function Om(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,bm([],vm(r))).pipe(hm.take(1)).subscribe((function(){return e()}))}dm.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new mm.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 wm.operate((function(e,v){u++,l||s||f();var b=i=null!=i?i:r();v.add((function(){0!==--u||l||s||(n=Om(d,c))})),b.subscribe(v),t||(t=new gm.SafeSubscriber({next:function(e){return b.next(e)},error:function(e){l=!0,f(),n=Om(p,o,e),b.error(e)},complete:function(){s=!0,f(),n=Om(p,a),b.complete()}}),ym.from(e).subscribe(t))}))(e)}};var Sm={shareReplay:void 0},_m=sa,xm=dm;Sm.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,xm.share({connector:function(){return new _m.ReplaySubject(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})};var jm={single:void 0},Em=fs,Pm=Os,Am=gs,Tm=_i,Im=Pi;jm.single=function(e){return Tm.operate((function(t,r){var n,o=!1,i=!1,a=0;t.subscribe(Im.createOperatorSubscriber(r,(function(u){i=!0,e&&!e(u,a++,t)||(o&&r.error(new Pm.SequenceError("Too many matching values")),o=!0,n=u)}),(function(){o?(r.next(n),r.complete()):r.error(i?new Am.NotFoundError("No matching values"):new Em.EmptyError)})))}))};var km={skip:void 0},Cm=Kf;km.skip=function(e){return Cm.filter((function(t,r){return e<=r}))};var Fm={skipLast:void 0},Mm=si,Rm=_i,Nm=Pi;Fm.skipLast=function(e){return e<=0?Mm.identity:Rm.operate((function(t,r){var n=new Array(e),o=0;return t.subscribe(Nm.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 Bm={skipUntil:void 0},Lm=_i,zm=Pi,Um=Pu,Wm=ti;Bm.skipUntil=function(e){return Lm.operate((function(t,r){var n=!1,o=zm.createOperatorSubscriber(r,(function(){null==o||o.unsubscribe(),n=!0}),Wm.noop);Um.innerFrom(e).subscribe(o),t.subscribe(zm.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))};var qm={skipWhile:void 0},Dm=_i,$m=Pi;qm.skipWhile=function(e){return Dm.operate((function(t,r){var n=!1,o=0;t.subscribe($m.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,o++)))&&r.next(t)})))}))};var Vm={startWith:void 0},Ym=ll,Hm=mu,Jm=_i;Vm.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Hm.popScheduler(e);return Jm.operate((function(t,n){(r?Ym.concat(e,t,r):Ym.concat(e,t)).subscribe(n)}))};var Km={},Gm={switchMap:void 0},Qm=Pu,Xm=_i,Zm=Pi;Gm.switchMap=function(e,t){return Xm.operate((function(r,n){var o=null,i=0,a=!1,u=function(){return a&&!o&&n.complete()};r.subscribe(Zm.createOperatorSubscriber(n,(function(r){null==o||o.unsubscribe();var a=0,c=i++;Qm.innerFrom(e(r,c)).subscribe(o=Zm.createOperatorSubscriber(n,(function(e){return n.next(t?t(r,e,c,a++):e)}),(function(){o=null,u()})))}),(function(){a=!0,u()})))}))},Km.switchAll=void 0;var eg=Gm,tg=si;Km.switchAll=function(){return eg.switchMap(tg.identity)};var rg={switchMapTo:void 0},ng=Gm,og=No;rg.switchMapTo=function(e,t){return og.isFunction(t)?ng.switchMap((function(){return e}),t):ng.switchMap((function(){return e}))};var ig={switchScan:void 0},ag=Gm,ug=_i;ig.switchScan=function(e,t){return ug.operate((function(r,n){var o=t;return ag.switchMap((function(t,r){return e(o,t,r)}),(function(e,t){return o=t,t}))(r).subscribe(n),function(){o=null}}))};var cg={takeUntil:void 0},sg=_i,lg=Pi,fg=Pu,pg=ti;cg.takeUntil=function(e){return sg.operate((function(t,r){fg.innerFrom(e).subscribe(lg.createOperatorSubscriber(r,(function(){return r.complete()}),pg.noop)),!r.closed&&t.subscribe(r)}))};var dg={takeWhile:void 0},vg=_i,bg=Pi;dg.takeWhile=function(e,t){return void 0===t&&(t=!1),vg.operate((function(r,n){var o=0;r.subscribe(bg.createOperatorSubscriber(n,(function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()})))}))};var yg={tap:void 0},hg=No,mg=_i,gg=Pi,wg=si;yg.tap=function(e,t,r){var n=hg.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return n?mg.operate((function(e,t){var r;null===(r=n.subscribe)||void 0===r||r.call(n);var o=!0;e.subscribe(gg.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)})))})):wg.identity};var Og={};!function(e){e.throttle=e.defaultThrottleConfig=void 0;var t=_i,r=Pi,n=Pu;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()})))}))}}(Og);var Sg={throttleTime:void 0},_g=Ha,xg=Og,jg=hf;Sg.throttleTime=function(e,t,r){void 0===t&&(t=_g.asyncScheduler),void 0===r&&(r=xg.defaultThrottleConfig);var n=jg.timer(e,t);return xg.throttle((function(){return n}),r)};var Eg={};Eg.TimeInterval=Eg.timeInterval=void 0;var Pg=Ha,Ag=_i,Tg=Pi;Eg.timeInterval=function(e){return void 0===e&&(e=Pg.asyncScheduler),Ag.operate((function(t,r){var n=e.now();t.subscribe(Tg.createOperatorSubscriber(r,(function(t){var o=e.now(),i=o-n;n=o,r.next(new Ig(t,i))})))}))};var Ig=function(e,t){this.value=e,this.interval=t};Eg.TimeInterval=Ig;var kg={timeoutWith:void 0},Cg=Ha,Fg=xs,Mg=_s;kg.timeoutWith=function(e,t,r){var n,o,i;if(r=null!=r?r:Cg.async,Fg.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 Mg.timeout({first:n,each:o,scheduler:r,with:i})};var Rg={timestamp:void 0},Ng=la,Bg=As;Rg.timestamp=function(e){return void 0===e&&(e=Ng.dateTimestampProvider),Bg.map((function(t){return{value:t,timestamp:e.now()}}))};var Lg={window:void 0},zg=Ji,Ug=_i,Wg=Pi,qg=ti;Lg.window=function(e){return Ug.operate((function(t,r){var n=new zg.Subject;r.next(n.asObservable());var o=function(e){n.error(e),r.error(e)};return t.subscribe(Wg.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.next(e)}),(function(){n.complete(),r.complete()}),o)),e.subscribe(Wg.createOperatorSubscriber(r,(function(){n.complete(),r.next(n=new zg.Subject)}),qg.noop,o)),function(){null==n||n.unsubscribe(),n=null}}))};var Dg={},$g=o&&o.__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.")};Dg.windowCount=void 0;var Vg=Ji,Yg=_i,Hg=Pi;Dg.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return Yg.operate((function(t,n){var o=[new Vg.Subject],i=0;n.next(o[0].asObservable()),t.subscribe(Hg.createOperatorSubscriber(n,(function(t){var a,u;try{for(var c=$g(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 Vg.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 Jg={windowTime:void 0},Kg=Ji,Gg=Ha,Qg=Bo,Xg=_i,Zg=Pi,ew=Wo,tw=mu,rw=bc;Jg.windowTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=tw.popScheduler(n))&&void 0!==t?t:Gg.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return Xg.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),ew.arrRemove(n,e),o&&s()},s=function(){if(n){var t=new Qg.Subscription;r.add(t);var o=new Kg.Subject,a={window:o,subs:t,seen:0};n.push(a),r.next(o.asObservable()),rw.executeSchedule(t,i,(function(){return c(a)}),e)}};null!==a&&a>=0?rw.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(Zg.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 nw={},ow=o&&o.__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.")};nw.windowToggle=void 0;var iw=Ji,aw=Bo,uw=_i,cw=Pu,sw=Pi,lw=ti,fw=Wo;nw.windowToggle=function(e,t){return uw.operate((function(r,n){var o=[],i=function(e){for(;0<o.length;)o.shift().error(e);n.error(e)};cw.innerFrom(e).subscribe(sw.createOperatorSubscriber(n,(function(e){var r=new iw.Subject;o.push(r);var a,u=new aw.Subscription;try{a=cw.innerFrom(t(e))}catch(e){return void i(e)}n.next(r.asObservable()),u.add(a.subscribe(sw.createOperatorSubscriber(n,(function(){fw.arrRemove(o,r),r.complete(),u.unsubscribe()}),lw.noop,i)))}),lw.noop)),r.subscribe(sw.createOperatorSubscriber(n,(function(e){var t,r,n=o.slice();try{for(var i=ow(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 pw={windowWhen:void 0},dw=Ji,vw=_i,bw=Pi,yw=Pu;pw.windowWhen=function(e){return vw.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 dw.Subject,r.next(n.asObservable());try{t=yw.innerFrom(e())}catch(e){return void i(e)}t.subscribe(o=bw.createOperatorSubscriber(r,a,a,i))};a(),t.subscribe(bw.createOperatorSubscriber(r,(function(e){return n.next(e)}),(function(){n.complete(),r.complete()}),i,(function(){null==o||o.unsubscribe(),n=null})))}))};var hw={},mw=o&&o.__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=o&&o.__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.withLatestFrom=void 0;var ww=_i,Ow=Pi,Sw=Pu,_w=si,xw=ti,jw=mu;hw.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=jw.popResultSelector(e);return ww.operate((function(t,n){for(var o=e.length,i=new Array(o),a=e.map((function(){return!1})),u=!1,c=function(t){Sw.innerFrom(e[t]).subscribe(Ow.createOperatorSubscriber(n,(function(e){i[t]=e,u||a[t]||(a[t]=!0,(u=a.every(_w.identity))&&(a=null))}),xw.noop))},s=0;s<o;s++)c(s);t.subscribe(Ow.createOperatorSubscriber(n,(function(e){if(u){var t=gw([e],mw(i));n.next(r?r.apply(void 0,gw([],mw(t))):t)}})))}))};var Ew={zipAll:void 0},Pw=vp,Aw=bd;Ew.zipAll=function(e){return Aw.joinAllInternals(Pw.zip,e)};var Tw={},Iw={},kw=o&&o.__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},Cw=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Iw.zip=void 0;var Fw=vp,Mw=_i;Iw.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Mw.operate((function(t,r){Fw.zip.apply(void 0,Cw([t],kw(e))).subscribe(r)}))};var Rw=o&&o.__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},Nw=o&&o.__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.zipWith=void 0;var Bw=Iw;Tw.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Bw.zip.apply(void 0,Nw([],Rw(e)))},function(e){var t=o&&o.__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=o&&o.__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 n=Mo;Object.defineProperty(e,"Observable",{enumerable:!0,get:function(){return n.Observable}});var i=Oi;Object.defineProperty(e,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var a=ui;Object.defineProperty(e,"observable",{enumerable:!0,get:function(){return a.observable}});var u=zi;Object.defineProperty(e,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var c=Ji;Object.defineProperty(e,"Subject",{enumerable:!0,get:function(){return c.Subject}});var s=aa;Object.defineProperty(e,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var l=sa;Object.defineProperty(e,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var f=va;Object.defineProperty(e,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var p=ha;Object.defineProperty(e,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(e,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var d=Ha;Object.defineProperty(e,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(e,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var v=Ja;Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(e,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var b=tu;Object.defineProperty(e,"animationFrame",{enumerable:!0,get:function(){return b.animationFrame}}),Object.defineProperty(e,"animationFrameScheduler",{enumerable:!0,get:function(){return b.animationFrameScheduler}});var y=su;Object.defineProperty(e,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(e,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var h=za;Object.defineProperty(e,"Scheduler",{enumerable:!0,get:function(){return h.Scheduler}});var m=Bo;Object.defineProperty(e,"Subscription",{enumerable:!0,get:function(){return m.Subscription}});var g=Ro;Object.defineProperty(e,"Subscriber",{enumerable:!0,get:function(){return g.Subscriber}});var w=bu;Object.defineProperty(e,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(e,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var O=ci;Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return O.pipe}});var S=ti;Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return S.noop}});var _=si;Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return _.identity}});var x=us;Object.defineProperty(e,"isObservable",{enumerable:!0,get:function(){return x.isObservable}});var j=ls;Object.defineProperty(e,"lastValueFrom",{enumerable:!0,get:function(){return j.lastValueFrom}});var E=vs;Object.defineProperty(e,"firstValueFrom",{enumerable:!0,get:function(){return E.firstValueFrom}});var P=hs;Object.defineProperty(e,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return P.ArgumentOutOfRangeError}});var A=fs;Object.defineProperty(e,"EmptyError",{enumerable:!0,get:function(){return A.EmptyError}});var T=gs;Object.defineProperty(e,"NotFoundError",{enumerable:!0,get:function(){return T.NotFoundError}});var I=Ki;Object.defineProperty(e,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var k=Os;Object.defineProperty(e,"SequenceError",{enumerable:!0,get:function(){return k.SequenceError}});var C=_s;Object.defineProperty(e,"TimeoutError",{enumerable:!0,get:function(){return C.TimeoutError}});var F=Lo;Object.defineProperty(e,"UnsubscriptionError",{enumerable:!0,get:function(){return F.UnsubscriptionError}});var M=js;Object.defineProperty(e,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var R=$s;Object.defineProperty(e,"bindNodeCallback",{enumerable:!0,get:function(){return R.bindNodeCallback}});var N=Ys;Object.defineProperty(e,"combineLatest",{enumerable:!0,get:function(){return N.combineLatest}});var B=ll;Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return B.concat}});var L=Tl;Object.defineProperty(e,"connectable",{enumerable:!0,get:function(){return L.connectable}});var z=Il;Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return z.defer}});var U=yu;Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return U.empty}});var W=Bl;Object.defineProperty(e,"forkJoin",{enumerable:!0,get:function(){return W.forkJoin}});var q=xu;Object.defineProperty(e,"from",{enumerable:!0,get:function(){return q.from}});var D=Vl;Object.defineProperty(e,"fromEvent",{enumerable:!0,get:function(){return D.fromEvent}});var $=nf;Object.defineProperty(e,"fromEventPattern",{enumerable:!0,get:function(){return $.fromEventPattern}});var V=cf;Object.defineProperty(e,"generate",{enumerable:!0,get:function(){return V.generate}});var Y=vf;Object.defineProperty(e,"iif",{enumerable:!0,get:function(){return Y.iif}});var H=yf;Object.defineProperty(e,"interval",{enumerable:!0,get:function(){return H.interval}});var J=xf;Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return J.merge}});var K=If;Object.defineProperty(e,"never",{enumerable:!0,get:function(){return K.never}});var G=hu;Object.defineProperty(e,"of",{enumerable:!0,get:function(){return G.of}});var Q=kf;Object.defineProperty(e,"onErrorResumeNext",{enumerable:!0,get:function(){return Q.onErrorResumeNext}});var X=Vf;Object.defineProperty(e,"pairs",{enumerable:!0,get:function(){return X.pairs}});var Z=Hf;Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return Z.partition}});var ee=tp;Object.defineProperty(e,"race",{enumerable:!0,get:function(){return ee.race}});var te=up;Object.defineProperty(e,"range",{enumerable:!0,get:function(){return te.range}});var re=os;Object.defineProperty(e,"throwError",{enumerable:!0,get:function(){return re.throwError}});var ne=hf;Object.defineProperty(e,"timer",{enumerable:!0,get:function(){return ne.timer}});var oe=lp;Object.defineProperty(e,"using",{enumerable:!0,get:function(){return oe.using}});var ie=vp;Object.defineProperty(e,"zip",{enumerable:!0,get:function(){return ie.zip}});var ae=ju;Object.defineProperty(e,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ue=yu;Object.defineProperty(e,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var ce=If;Object.defineProperty(e,"NEVER",{enumerable:!0,get:function(){return ce.NEVER}}),r(_p,e);var se=Go;Object.defineProperty(e,"config",{enumerable:!0,get:function(){return se.config}});var le=xp;Object.defineProperty(e,"audit",{enumerable:!0,get:function(){return le.audit}});var fe=Ap;Object.defineProperty(e,"auditTime",{enumerable:!0,get:function(){return fe.auditTime}});var pe=Cp;Object.defineProperty(e,"buffer",{enumerable:!0,get:function(){return pe.buffer}});var de=Np;Object.defineProperty(e,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ve=Wp;Object.defineProperty(e,"bufferTime",{enumerable:!0,get:function(){return ve.bufferTime}});var be=Gp;Object.defineProperty(e,"bufferToggle",{enumerable:!0,get:function(){return be.bufferToggle}});var ye=od;Object.defineProperty(e,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var he=sd;Object.defineProperty(e,"catchError",{enumerable:!0,get:function(){return he.catchError}});var me=dd;Object.defineProperty(e,"combineAll",{enumerable:!0,get:function(){return me.combineAll}});var ge=vd;Object.defineProperty(e,"combineLatestAll",{enumerable:!0,get:function(){return ge.combineLatestAll}});var we=Fd;Object.defineProperty(e,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Oe=fl;Object.defineProperty(e,"concatAll",{enumerable:!0,get:function(){return Oe.concatAll}});var Se=Yd;Object.defineProperty(e,"concatMap",{enumerable:!0,get:function(){return Se.concatMap}});var _e=Kd;Object.defineProperty(e,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var xe=Xd;Object.defineProperty(e,"concatWith",{enumerable:!0,get:function(){return xe.concatWith}});var je=sv;Object.defineProperty(e,"connect",{enumerable:!0,get:function(){return je.connect}});var Ee=hv;Object.defineProperty(e,"count",{enumerable:!0,get:function(){return Ee.count}});var Pe=gv;Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return Pe.debounce}});var Ae=xv;Object.defineProperty(e,"debounceTime",{enumerable:!0,get:function(){return Ae.debounceTime}});var Te=Av;Object.defineProperty(e,"defaultIfEmpty",{enumerable:!0,get:function(){return Te.defaultIfEmpty}});var Ie=kv;Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return Ie.delay}});var ke=Cv;Object.defineProperty(e,"delayWhen",{enumerable:!0,get:function(){return ke.delayWhen}});var Ce=Qv;Object.defineProperty(e,"dematerialize",{enumerable:!0,get:function(){return Ce.dematerialize}});var Fe=tb;Object.defineProperty(e,"distinct",{enumerable:!0,get:function(){return Fe.distinct}});var Me=ib;Object.defineProperty(e,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var Re=lb;Object.defineProperty(e,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Re.distinctUntilKeyChanged}});var Ne=pb;Object.defineProperty(e,"elementAt",{enumerable:!0,get:function(){return Ne.elementAt}});var Be=_b;Object.defineProperty(e,"endWith",{enumerable:!0,get:function(){return Be.endWith}});var Le=Ab;Object.defineProperty(e,"every",{enumerable:!0,get:function(){return Le.every}});var ze=kb;Object.defineProperty(e,"exhaust",{enumerable:!0,get:function(){return ze.exhaust}});var Ue=Cb;Object.defineProperty(e,"exhaustAll",{enumerable:!0,get:function(){return Ue.exhaustAll}});var We=Bb;Object.defineProperty(e,"exhaustMap",{enumerable:!0,get:function(){return We.exhaustMap}});var qe=qb;Object.defineProperty(e,"expand",{enumerable:!0,get:function(){return qe.expand}});var De=Kf;Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return De.filter}});var $e=Vb;Object.defineProperty(e,"finalize",{enumerable:!0,get:function(){return $e.finalize}});var Ve=Hb;Object.defineProperty(e,"find",{enumerable:!0,get:function(){return Ve.find}});var Ye=Qb;Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return Ye.findIndex}});var He=ey;Object.defineProperty(e,"first",{enumerable:!0,get:function(){return He.first}});var Je=uy;Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return Je.groupBy}});var Ke=Bv;Object.defineProperty(e,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var Ge=dy;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Ge.isEmpty}});var Qe=yy;Object.defineProperty(e,"last",{enumerable:!0,get:function(){return Qe.last}});var Xe=As;Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Xe.map}});var Ze=Wv;Object.defineProperty(e,"mapTo",{enumerable:!0,get:function(){return Ze.mapTo}});var et=Ay;Object.defineProperty(e,"materialize",{enumerable:!0,get:function(){return et.materialize}});var tt=Cy;Object.defineProperty(e,"max",{enumerable:!0,get:function(){return tt.max}});var rt=pl;Object.defineProperty(e,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var nt=Ry;Object.defineProperty(e,"flatMap",{enumerable:!0,get:function(){return nt.flatMap}});var ot=dl;Object.defineProperty(e,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var it=By;Object.defineProperty(e,"mergeMapTo",{enumerable:!0,get:function(){return it.mergeMapTo}});var at=Uy;Object.defineProperty(e,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ut=Dy;Object.defineProperty(e,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var ct=th;Object.defineProperty(e,"min",{enumerable:!0,get:function(){return ct.min}});var st=oh;Object.defineProperty(e,"multicast",{enumerable:!0,get:function(){return st.multicast}});var lt=vc;Object.defineProperty(e,"observeOn",{enumerable:!0,get:function(){return lt.observeOn}});var ft=ch;Object.defineProperty(e,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var pt=fh;Object.defineProperty(e,"pluck",{enumerable:!0,get:function(){return pt.pluck}});var dt=dh;Object.defineProperty(e,"publish",{enumerable:!0,get:function(){return dt.publish}});var vt=hh;Object.defineProperty(e,"publishBehavior",{enumerable:!0,get:function(){return vt.publishBehavior}});var bt=wh;Object.defineProperty(e,"publishLast",{enumerable:!0,get:function(){return bt.publishLast}});var yt=_h;Object.defineProperty(e,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var ht=Ph;Object.defineProperty(e,"raceWith",{enumerable:!0,get:function(){return ht.raceWith}});var mt=hd;Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return mt.reduce}});var gt=Fh;Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return gt.repeat}});var wt=zh;Object.defineProperty(e,"repeatWhen",{enumerable:!0,get:function(){return wt.repeatWhen}});var Ot=Dh;Object.defineProperty(e,"retry",{enumerable:!0,get:function(){return Ot.retry}});var St=Kh;Object.defineProperty(e,"retryWhen",{enumerable:!0,get:function(){return St.retryWhen}});var _t=Si;Object.defineProperty(e,"refCount",{enumerable:!0,get:function(){return _t.refCount}});var xt=Zh;Object.defineProperty(e,"sample",{enumerable:!0,get:function(){return xt.sample}});var jt=nm;Object.defineProperty(e,"sampleTime",{enumerable:!0,get:function(){return jt.sampleTime}});var Et=um;Object.defineProperty(e,"scan",{enumerable:!0,get:function(){return Et.scan}});var Pt=lm;Object.defineProperty(e,"sequenceEqual",{enumerable:!0,get:function(){return Pt.sequenceEqual}});var At=dm;Object.defineProperty(e,"share",{enumerable:!0,get:function(){return At.share}});var Tt=Sm;Object.defineProperty(e,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var It=jm;Object.defineProperty(e,"single",{enumerable:!0,get:function(){return It.single}});var kt=km;Object.defineProperty(e,"skip",{enumerable:!0,get:function(){return kt.skip}});var Ct=Fm;Object.defineProperty(e,"skipLast",{enumerable:!0,get:function(){return Ct.skipLast}});var Ft=Bm;Object.defineProperty(e,"skipUntil",{enumerable:!0,get:function(){return Ft.skipUntil}});var Mt=qm;Object.defineProperty(e,"skipWhile",{enumerable:!0,get:function(){return Mt.skipWhile}});var Rt=Vm;Object.defineProperty(e,"startWith",{enumerable:!0,get:function(){return Rt.startWith}});var Nt=gc;Object.defineProperty(e,"subscribeOn",{enumerable:!0,get:function(){return Nt.subscribeOn}});var Bt=Km;Object.defineProperty(e,"switchAll",{enumerable:!0,get:function(){return Bt.switchAll}});var Lt=Gm;Object.defineProperty(e,"switchMap",{enumerable:!0,get:function(){return Lt.switchMap}});var zt=rg;Object.defineProperty(e,"switchMapTo",{enumerable:!0,get:function(){return zt.switchMapTo}});var Ut=ig;Object.defineProperty(e,"switchScan",{enumerable:!0,get:function(){return Ut.switchScan}});var Wt=Fv;Object.defineProperty(e,"take",{enumerable:!0,get:function(){return Wt.take}});var qt=hy;Object.defineProperty(e,"takeLast",{enumerable:!0,get:function(){return qt.takeLast}});var Dt=cg;Object.defineProperty(e,"takeUntil",{enumerable:!0,get:function(){return Dt.takeUntil}});var $t=dg;Object.defineProperty(e,"takeWhile",{enumerable:!0,get:function(){return $t.takeWhile}});var Vt=yg;Object.defineProperty(e,"tap",{enumerable:!0,get:function(){return Vt.tap}});var Yt=Og;Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Ht=Sg;Object.defineProperty(e,"throttleTime",{enumerable:!0,get:function(){return Ht.throttleTime}});var Jt=db;Object.defineProperty(e,"throwIfEmpty",{enumerable:!0,get:function(){return Jt.throwIfEmpty}});var Kt=Eg;Object.defineProperty(e,"timeInterval",{enumerable:!0,get:function(){return Kt.timeInterval}});var Gt=_s;Object.defineProperty(e,"timeout",{enumerable:!0,get:function(){return Gt.timeout}});var Qt=kg;Object.defineProperty(e,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var Xt=Rg;Object.defineProperty(e,"timestamp",{enumerable:!0,get:function(){return Xt.timestamp}});var Zt=yd;Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Zt.toArray}});var er=Lg;Object.defineProperty(e,"window",{enumerable:!0,get:function(){return er.window}});var tr=Dg;Object.defineProperty(e,"windowCount",{enumerable:!0,get:function(){return tr.windowCount}});var rr=Jg;Object.defineProperty(e,"windowTime",{enumerable:!0,get:function(){return rr.windowTime}});var nr=nw;Object.defineProperty(e,"windowToggle",{enumerable:!0,get:function(){return nr.windowToggle}});var or=pw;Object.defineProperty(e,"windowWhen",{enumerable:!0,get:function(){return or.windowWhen}});var ir=hw;Object.defineProperty(e,"withLatestFrom",{enumerable:!0,get:function(){return ir.withLatestFrom}});var ar=Ew;Object.defineProperty(e,"zipAll",{enumerable:!0,get:function(){return ar.zipAll}});var ur=Tw;Object.defineProperty(e,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})}(Fo),function(e){e.BadEventError=e.ObservableFiniteStateMachine=void 0;const t=To,r=Fo,n=b;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=To;Object.defineProperty(e,"BadEventError",{enumerable:!0,get:function(){return i.BadEventError}})}(Co),function(e){var t=o&&o.__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=o&&o.__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(Un,e),r(Wn,e),r(Dn,e),r(Vn,e),r(Hn,e),r(Kn,e),r(Zn,e),r(wo,e),r(jo,e),r(To,e),r(Co,e)}(Ln),e.ObservableFiniteStateMachine=Ln.ObservableFiniteStateMachine,e.useFiniteStateMachine=function(e,t){const r=Bn(),n=i.exports.useMemo((()=>new Ln.ObservableFiniteStateMachine(e,t)),[e]);return i.exports.useEffect((()=>{const e=n.observeStateChanges().subscribe((()=>r()));return()=>e.unsubscribe()}),[n]),n},e.useForceUpdate=Bn,e.useIncrement=function(e){const[t,r]=i.exports.useState(e);return[t,i.exports.useCallback(((e=1)=>{r((t=>t+e))}),[]),i.exports.useCallback((()=>{r(e)}),[])]},e.useIsFirstRender=v,e.useIsMounted=function(){const e=i.exports.useRef(!1);return d((()=>(e.current=!0,()=>{e.current=!1}))),()=>e.current},e.useMount=d,e.useMultipleSelection=function(e,t=[]){Rn.assert(e.length>0,"The parameter values must be a non-empty array");for(const r of t)Rn.assert(r>=0&&r<e.length,"The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length");const[r,n]=i.exports.useState(new Set(t));return{values:Nn.toArray(Nn.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}}))}},e.useRenderCounter=function(){const e=i.exports.useRef(0);return e.current++,e.current},e.useResizeObserver=function(e,t){const r=t.map((e=>e.current));i.exports.useEffect((()=>{const r=new ResizeObserver(e);return t.map((e=>e.current)).filter(b.isntNull).forEach((e=>r.observe(e))),()=>r.disconnect()}),r)},e.useSingleSelection=function(e,t){Rn.assert(e.length>0,"The parameter values must be a non-empty array"),b.isntUndefined(t)&&Rn.assert(t>=0&&t<e.length,"The parameter defaultSelectedIndex must be in the range of 0 to values.length");const[r,n]=i.exports.useState(t);return{value:b.isUndefined(r)?void 0:e[r],options:e.map(((e,t)=>({value:e,index:t,selected:t===r,select:()=>n(t)})))}},e.useStateCycle=function(e,t=0){const[r,n]=i.exports.useState(t);return[e[r],()=>n((t=>t+1<e.length?t+1:0))]},e.useStep=function(e,t=0){const[r,n]=i.exports.useState(t);return[e[r],()=>{n((t=>t===e.length-1?t:t+1))},()=>{n((e=>0===e?e:e-1))}]},e.useToggle=function(e=!1){const[t,r]=i.exports.useState(e);return[t,()=>r((e=>!e))]},e.useUpdateEffect=function(e,t){const r=v();i.exports.useEffect((()=>{if(!r())return e()}),t)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
17
|
+
*/function p(){return s||(s=1,function(e){"production"!==process.env.NODE_ENV&&function(){var t=u(),r=60103,n=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var o=60109,i=60110,a=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"),a=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];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=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 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)."]},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 a: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,u=r._payload,p=r._init;try{return U(p(u))}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,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 H(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 J(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)),H(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&&J(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),H(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 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===a||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 Pe(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 a: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,u=o._init;try{return Pe(u(i),r,n)}catch(e){}}return""}Se=new xe;var Ae,Te={},Ie=x.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(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}Ae=!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!==a&&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 if(void 0!==r.PropTypes&&!Ae){Ae=!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,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=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=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||(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=$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:a,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)),f}function d(e){i.exports.useEffect(e,[])}function v(){const e=i.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(e){"production"===process.env.NODE_ENV?e.exports=c():e.exports=p()}(i),function(e){e[e.InitialValue=0]="InitialValue",e[e.First=1]="First",e[e.NotFirst=2]="NotFirst"}(l||(l={}));var b={},y={};function h(e){return Array.isArray(e)}y.isntEmptyArray=y.isEmptyArray=y.isntArray=y.isArray=void 0,y.isArray=h,y.isntArray=function(e){return!h(e)},y.isEmptyArray=function(e){return 0===e.length},y.isntEmptyArray=function(e){return 0!==e.length};var m={},g={};function w(e){return null===e}g.isntNull=g.isNull=void 0,g.isNull=w,g.isntNull=function(e){return!w(e)};var O={};function S(e){return void 0===e}O.isntUndefined=O.isUndefined=void 0,O.isUndefined=S,O.isntUndefined=function(e){return!S(e)};var _={};function x(e){return"function"==typeof e}_.isntFunction=_.isFunction=void 0,_.isFunction=x,_.isntFunction=function(e){return!x(e)},m.isntAsyncIterable=m.isAsyncIterable=void 0;const j=g,E=O,P=_;function A(e){return(0,j.isntNull)(e)&&(0,E.isntUndefined)(e)&&(0,P.isFunction)(e[Symbol.asyncIterator])}m.isAsyncIterable=A,m.isntAsyncIterable=function(e){return!A(e)};var T={};function I(e){return"bigint"==typeof e}T.isntBigInt=T.isBigInt=void 0,T.isBigInt=I,T.isntBigInt=function(e){return!I(e)};var k={};function C(e){return"boolean"==typeof e}k.isntBoolean=k.isBoolean=void 0,k.isBoolean=C,k.isntBoolean=function(e){return!C(e)};var F={},M={};function R(e){return"string"==typeof e}M.isntString=M.isString=void 0,M.isString=R,M.isntString=function(e){return!R(e)},F.isntChar=F.isChar=void 0;const N=M;function B(e){return(0,N.isString)(e)&&1===e.length}F.isChar=B,F.isntChar=function(e){return!B(e)};var L={};function z(e){return e instanceof Date}L.isntDate=L.isDate=void 0,L.isDate=z,L.isntDate=function(e){return!z(e)};var U={};U.inEnum=void 0,U.inEnum=function(e,t){return Object.values(t).includes(e)};var W={};function q(e){return e instanceof Error}W.isntError=W.isError=void 0,W.isError=q,W.isntError=function(e){return!q(e)};var D={};function V(e){return!e}D.isntFalsy=D.isFalsy=void 0,D.isFalsy=V,D.isntFalsy=function(e){return!V(e)};var $={};$.isntIterable=$.isIterable=void 0;const Y=g,H=O,J=_;function K(e){return(0,Y.isntNull)(e)&&(0,H.isntUndefined)(e)&&(0,J.isFunction)(e[Symbol.iterator])}$.isIterable=K,$.isntIterable=function(e){return!K(e)};var G={},Q={};function X(e){return"number"==typeof e}function Z(e){return Number.isNaN(e)}Q.isntNaN=Q.isNaN=Q.isNegativeInfinity=Q.isPositiveInfinity=Q.isFinite=Q.isntNumber=Q.isNumber=void 0,Q.isNumber=X,Q.isntNumber=function(e){return!X(e)},Q.isFinite=function(e){return Number.isFinite(e)},Q.isPositiveInfinity=function(e){return e===1/0},Q.isNegativeInfinity=function(e){return e===-1/0},Q.isNaN=Z,Q.isntNaN=function(e){return!Z(e)};var ee={},te="object"==typeof o&&o&&o.Object===Object&&o,re="object"==typeof self&&self&&self.Object===Object&&self,ne=(te||re||Function("return this")()).Symbol,oe=ne,ie=Object.prototype,ae=ie.hasOwnProperty,ue=ie.toString,ce=oe?oe.toStringTag:void 0;var se=function(e){var t=ae.call(e,ce),r=e[ce];try{e[ce]=void 0;var n=!0}catch(e){}var o=ue.call(e);return n&&(t?e[ce]=r:delete e[ce]),o},le=Object.prototype.toString;var fe=se,pe=function(e){return le.call(e)},de=ne?ne.toStringTag:void 0;var ve=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":de&&de in Object(e)?fe(e):pe(e)};var be=function(e,t){return function(r){return e(t(r))}}(Object.getPrototypeOf,Object);var ye=ve,he=be,me=function(e){return null!=e&&"object"==typeof e},ge=Function.prototype,we=Object.prototype,Oe=ge.toString,Se=we.hasOwnProperty,_e=Oe.call(Object);var xe=function(e){if(!me(e)||"[object Object]"!=ye(e))return!1;var t=he(e);if(null===t)return!0;var r=Se.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Oe.call(r)==_e},je=o&&o.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};ee.isntEmptyObject=ee.isEmptyObject=ee.isntPlainObject=ee.isPlainObject=ee.isntObject=ee.isObject=void 0;const Ee=je(xe);function Pe(e){return null!==e&&"object"==typeof e}function Ae(e){return(0,Ee.default)(e)}ee.isObject=Pe,ee.isntObject=function(e){return!Pe(e)},ee.isPlainObject=Ae,ee.isntPlainObject=function(e){return!Ae(e)},ee.isEmptyObject=function(e){return 0===Object.keys(e).length},ee.isntEmptyObject=function(e){return 0!==Object.keys(e).length},G.isntJsonable=G.isJsonable=G.isntJson=G.isJson=void 0;const Te=g,Ie=k,ke=M,Ce=Q,Fe=y,Me=ee;function Re(e){return(0,Te.isNull)(e)||(0,Ie.isBoolean)(e)||(0,ke.isString)(e)||(0,Ce.isNumber)(e)||(0,Fe.isArray)(e)&&e.every(Re)||(0,Me.isPlainObject)(e)&&Object.values(e).every(Re)}G.isJson=Re,G.isntJson=function(e){return!Re(e)},G.isJsonable=function(e){try{return JSON.stringify(e),!0}catch(e){return!1}},G.isntJsonable=function e(t){return!e()};var Ne={};Ne.isPromiseLike=Ne.isntPromiseLike=Ne.isntPromise=Ne.isPromise=void 0;const Be=ee,Le=_;function ze(e){return e instanceof Promise}function Ue(e){return(0,Be.isObject)(e)&&(0,Le.isFunction)(e.then)}Ne.isPromise=ze,Ne.isntPromise=function(e){return!ze(e)},Ne.isntPromiseLike=function(e){return!Ue(e)},Ne.isPromiseLike=Ue;var We={};We.isAbsoluteURL=void 0,We.isAbsoluteURL=function(e){try{return new URL(e),!0}catch(e){return!1}},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(y,e),r(m,e),r(T,e),r(k,e),r(F,e),r(L,e),r(U,e),r(W,e),r(D,e),r(_,e),r($,e),r(G,e),r(g,e),r(Q,e),r(ee,e),r(Ne,e),r(M,e),r(O,e),r(We,e)}(b);var qe,De={},Ve={},$e={},Ye={},He={},Je={},Ke={};Ke.go=void 0,Ke.go=function(e){return e()},function(e){var t=o&&o.__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]});(o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(Ke,e)}(Je);var Ge={chunkByAsync:void 0};const Qe=b;Ge.chunkByAsync=function(e,t){return(0,Qe.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 Xe={};Xe.chunkBy=void 0,Xe.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 Ze,et={};var tt={concatAsync:void 0};const rt=b,nt=Je;tt.concatAsync=function(e,...t){return(0,nt.go)((async function*(){for(const r of[e,...t])if((0,rt.isAsyncIterable)(r))for await(const e of r)yield e;else for(const e of r)yield e}))};var ot={concat:void 0};const it=Je;ot.concat=function(e,...t){return(0,it.go)((function*(){for(const r of[e,...t])yield*r}))};var at,ut={},ct={};ct.copyIterable=ct.copyAsyncIterable=void 0,ct.copyAsyncIterable=async function*(e){for await(const t of e)yield t},ct.copyIterable=function*(e){for(const t of e)yield t};var st,lt={};var ft,pt={};var dt={dropUntilAsync:void 0};const vt=b;dt.dropUntilAsync=function(e,t){return(0,vt.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 bt={};bt.dropUntil=void 0,bt.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 yt,ht={};var mt={filterAsync:void 0};const gt=b;mt.filterAsync=function(e,t){return(0,gt.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 wt={};wt.filter=void 0,wt.filter=function*(e,t){let r=0;for(const n of e)t(n,r)&&(yield n),r++};var Ot={},St={},_t={flattenByAsync:void 0};const xt=b;function jt(e){return(0,xt.isIterable)(e)&&(0,xt.isntChar)(e)}var Et,Pt;function At(){if(Et)return St;Et=1,St.flattenDeepAsync=void 0;const e=_t,t=Mn();return St.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))},St}_t.flattenByAsync=function(e,t){return(0,xt.isAsyncIterable)(e)?async function*(e){const n=1;for await(const o of e)jt(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)jt(o)&&await t(o,n)?yield*r(o,n+1):yield o}};var Tt={flattenBy:void 0};const It=b;Tt.flattenBy=function(e,t){return function*e(r,n){for(const i of r)o=i,(0,It.isIterable)(o)&&(0,It.isntChar)(o)&&t(i,n)?yield*e(i,n+1):yield i;var o}(e,1)};var kt,Ct={};function Ft(){if(kt)return Ct;kt=1,Ct.flattenDeep=void 0;const e=Tt,t=Mn();return Ct.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))},Ct}var Mt,Rt={};var Nt={mapAsync:void 0};const Bt=b;Nt.mapAsync=function(e,t){return(0,Bt.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 Lt={};Lt.map=void 0,Lt.map=function*(e,t){let r=0;for(const n of e)yield t(n,r),r++};var zt,Ut={};function Wt(){if(zt)return Ut;zt=1,Ut.repeatAsync=void 0;const e=Je,t=Mn();return Ut.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--}))},Ut}var qt,Dt={};function Vt(){if(qt)return Dt;qt=1,Dt.repeat=void 0;const e=Je,t=Mn();return Dt.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--}))},Dt}var $t,Yt={};var Ht,Jt={};var Kt={};Kt.splitAsync=void 0,Kt.splitAsync=async function*(e,t){let r=[];for await(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var Gt={splitByAsync:void 0};const Qt=b;Gt.splitByAsync=function(e,t){return(0,Qt.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 Xt={};Xt.splitBy=void 0,Xt.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 Zt={};Zt.split=void 0,Zt.split=function*(e,t){let r=[];for(const n of e)n===t?(yield r,r=[]):r.push(n);yield r};var er,tr={};var rr,nr={};var or,ir={};var ar={takeUntilAsync:void 0};const ur=b;ar.takeUntilAsync=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))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 cr={};cr.takeUntil=void 0,cr.takeUntil=function*(e,t){let r=0;for(const n of e){if(t(n,r))break;yield n,r++}};var sr,lr={};var fr={tapAsync:void 0};const pr=b;fr.tapAsync=function(e,t){return(0,pr.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 dr={};dr.tap=void 0,dr.tap=function*(e,t){let r=0;for(const n of e)t(n,r),yield n,r++};var vr={};vr.toAsyncIterable=void 0,vr.toAsyncIterable=async function*(e){for(const t of e)yield t};var br={};br.transformAsync=void 0,br.transformAsync=async function*(e,t){yield*t(e)};var yr={};yr.transform=void 0,yr.transform=function*(e,t){yield*t(e)};var hr={};hr.uniqAsync=void 0,hr.uniqAsync=async function*(e){const t=new Set;for await(const r of e)t.has(r)||(yield r,t.add(r))};var mr={uniqByAsync:void 0};const gr=b;mr.uniqByAsync=function(e,t){return(0,gr.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 wr={};wr.uniqBy=void 0,wr.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 Or={};Or.uniq=void 0,Or.uniq=function*(e){const t=new Set;for(const r of e)t.has(r)||(yield r,t.add(r))};var Sr={zipAsync:void 0};const _r=b;var xr;!function(e){e[e.Sync=0]="Sync",e[e.Async=1]="Async"}(xr||(xr={})),Sr.zipAsync=function(e,...t){return async function*(...e){var t,r,n,o;const i=e.length,a=e.map((e=>(0,_r.isAsyncIterable)(e)?[xr.Async,e[Symbol.asyncIterator]()]:[xr.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===xr.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===xr.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 jr,Er={};function Pr(){return jr||(jr=1,function(e){var t=o&&o.__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=o&&o.__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 He;qe=1,He.chunkAsync=void 0;const e=Je,t=Mn();return He.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)}))},He}(),e),r(Ge,e),r(Xe,e),r(function(){if(Ze)return et;Ze=1,et.chunk=void 0;const e=Je,t=Mn();return et.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)}))},et}(),e),r(tt,e),r(ot,e),r(function(){if(at)return ut;at=1,ut.dropAsync=void 0;const e=Je,t=ct,r=Mn();return ut.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))}}))},ut}(),e),r(function(){if(st)return lt;st=1,lt.dropRightAsync=void 0;const e=Je,t=ct,r=Mn();return lt.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}))},lt}(),e),r(function(){if(ft)return pt;ft=1,pt.dropRight=void 0;const e=Je,t=ct,r=Mn();return pt.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)}))},pt}(),e),r(dt,e),r(bt,e),r(function(){if(yt)return ht;yt=1,ht.drop=void 0;const e=Je,t=ct,r=Mn();return ht.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)}}))},ht}(),e),r(mt,e),r(wt,e),r(function(){if(Pt)return Ot;Pt=1,Ot.flattenAsync=void 0;const e=At();return Ot.flattenAsync=function(t){return(0,e.flattenDeepAsync)(t,1)},Ot}(),e),r(_t,e),r(Tt,e),r(At(),e),r(Ft(),e),r(function(){if(Mt)return Rt;Mt=1,Rt.flatten=void 0;const e=Ft();return Rt.flatten=function(t){return(0,e.flattenDeep)(t,1)},Rt}(),e),r(Nt,e),r(Lt,e),r(Wt(),e),r(Vt(),e),r(function(){if($t)return Yt;$t=1,Yt.sliceAsync=void 0;const e=Je,t=Mn();return Yt.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++}}))},Yt}(),e),r(function(){if(Ht)return Jt;Ht=1,Jt.slice=void 0;const e=Je,t=Mn();return Jt.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++}}))},Jt}(),e),r(Kt,e),r(Gt,e),r(Xt,e),r(Zt,e),r(function(){if(er)return tr;er=1,tr.takeAsync=void 0;const e=Je,t=Mn();return tr.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}))},tr}(),e),r(function(){if(rr)return nr;rr=1,nr.takeRightAsync=void 0;const e=Je,t=Mn();return nr.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))}}))},nr}(),e),r(function(){if(or)return ir;or=1,ir.takeRight=void 0;const e=Je,t=Mn();return ir.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)}}))},ir}(),e),r(ar,e),r(cr,e),r(function(){if(sr)return lr;sr=1,lr.take=void 0;const e=Je,t=Mn();return lr.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}))},lr}(),e),r(fr,e),r(dr,e),r(vr,e),r(br,e),r(yr,e),r(hr,e),r(mr,e),r(wr,e),r(Or,e),r(Sr,e),r(Er,e)}(Ye)),Ye}Er.zip=void 0,Er.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 Ar={},Tr={};Tr.consume=void 0,Tr.consume=function(e,t){return t(e)};var Ir={eachAsync:void 0};const kr=b;Ir.eachAsync=function(e,t){return(0,kr.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 Cr={};Cr.each=void 0,Cr.each=function(e,t){let r=0;for(const n of e)t(n,r),r++};var Fr={everyAsync:void 0};const Mr=b;Fr.everyAsync=function(e,t){return(0,Mr.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 Rr={};Rr.every=void 0,Rr.every=function(e,t){let r=0;for(const n of e){if(!t(n,r))return!1;r++}return!0};var Nr={findAsync:void 0};const Br=b;Nr.findAsync=function(e,t){return(0,Br.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 Lr={};Lr.find=void 0,Lr.find=function(e,t){let r=0;for(const n of e){if(t(n,r))return n;r++}};var zr={};zr.firstAsync=void 0,zr.firstAsync=async function(e){for await(const t of e)return t};var Ur={};Ur.first=void 0,Ur.first=function(e){for(const t of e)return t};var Wr={};Wr.includesAsync=void 0,Wr.includesAsync=async function(e,t){for await(const r of e)if(r===t)return!0;return!1};var qr={};qr.includes=void 0,qr.includes=function(e,t){for(const r of e)if(r===t)return!0;return!1};var Dr={};Dr.matchAsync=void 0,Dr.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 Vr={};Vr.match=void 0,Vr.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 $r={reduceAsync:void 0};const Yr=b;$r.reduceAsync=function(e,t,r){return(0,Yr.isUndefined)(r)?function(e,t){return(0,Yr.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,Yr.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 Hr={reduce:void 0};const Jr=b;Hr.reduce=function(e,t,r){return(0,Jr.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 Kr={someAsync:void 0};const Gr=b;Kr.someAsync=function(e,t){return(0,Gr.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 Qr={};Qr.some=void 0,Qr.some=function(e,t){let r=0;for(const n of e){if(t(n,r))return!0;r++}return!1};var Xr={};Xr.lastAsync=void 0,Xr.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 Zr={};Zr.last=void 0,Zr.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 en={toArrayAsync:void 0};const tn=Tr;en.toArrayAsync=function(e){return(0,tn.consume)(e,(async e=>{const t=[];for await(const r of e)t.push(r);return t}))};var rn={toArray:void 0};const nn=Tr;rn.toArray=function(e){return(0,nn.consume)(e,(e=>Array.from(e)))};var on={toSetAsync:void 0};const an=Tr;on.toSetAsync=function(e){return(0,an.consume)(e,(async e=>{const t=new Set;for await(const r of e)t.add(r);return t}))};var un={toSet:void 0};const cn=Tr;un.toSet=function(e){return(0,cn.consume)(e,(e=>new Set(e)))};var sn={};sn.count=void 0,sn.count=function(e){let t=0;for(const r of e)t++;return t};var ln,fn={};function pn(){return ln||(ln=1,function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Pr(),e),r(Ar,e)}($e)),$e}fn.countAsync=void 0,fn.countAsync=async function(e){let t=0;for await(const r of e)t++;return t},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(Tr,e),r(Ir,e),r(Cr,e),r(Fr,e),r(Rr,e),r(Nr,e),r(Lr,e),r(zr,e),r(Ur,e),r(Wr,e),r(qr,e),r(Dr,e),r(Vr,e),r($r,e),r(Hr,e),r(Kr,e),r(Qr,e),r(Xr,e),r(Zr,e),r(en,e),r(rn,e),r(on,e),r(un,e),r(sn,e),r(fn,e)}(Ar);var dn={},vn={};vn.traverseErrorPrototypeChain=void 0,vn.traverseErrorPrototypeChain=function*(e){let t=e;for(;(t=Object.getPrototypeOf(t))&&(yield t,t!==Error.prototype););},dn.getErrorNames=void 0;const bn=b,yn=vn;dn.getErrorNames=function*(e){var t;if((0,bn.isError)(e))for(const r of(0,yn.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 hn={isSerializableError:void 0};const mn=b;var gn;function wn(){if(gn)return Ve;gn=1,Ve.CustomError=void 0;const e=pn(),t=dn,r=b,n=hn;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 Ve.CustomError=o,Ve}hn.isSerializableError=function(e){return(0,mn.isObject)(e)&&(0,mn.isString)(e.name)&&(0,mn.isString)(e.message)&&((0,mn.isString)(e.stack)||(0,mn.isNull)(e.stack))&&(0,mn.isArray)(e.ancestors)&&e.ancestors.every(mn.isString)};var On,Sn={};function _n(){if(On)return Sn;On=1,Sn.AssertionError=void 0;const e=wn();class t extends e.CustomError{}return Sn.AssertionError=t,Sn}var xn,jn={};var En={},Pn={},An={};An.pass=void 0,An.pass=function(){},function(e){var t=o&&o.__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]});(o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)})(An,e)}(Pn),En.hydrate=void 0;const Tn=Pn;function In(e,t){const r=function(){(0,Tn.pass)()};return(r.prototype=Object.create(e.prototype)).constructor=r,Object.defineProperty(r,"name",{value:t}),r}En.hydrate=function(e){var t;const r=[e.name,...e.ancestors].slice(0,-1).reverse();let n=Error;for(const e of r)n=In(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 kn,Cn,Fn={};function Mn(){return Cn||(Cn=1,function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(wn(),e),r(_n(),e),r(hn,e),r(function(){if(xn)return jn;xn=1,jn.normalize=void 0;const e=dn,t=pn();return jn.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}},jn}(),e),r(En,e),r(function(){if(kn)return Fn;kn=1,Fn.assert=void 0;const e=_n();return Fn.assert=function(t,r){if(!t)throw new e.AssertionError(r)},Fn}(),e),r(dn,e),r(vn,e)}(De)),De}var Rn=Mn();var Nn=pn();function Bn(){const[,e]=i.exports.useState({});return()=>e({})}var Ln={},zn={Box:void 0};zn.Box=class{constructor(e){this.value=e}set(e){this.value=e}get(){return this.value}};var Un={};Un.convertArrayToCons=Un.convertConsToArray=void 0,Un.convertConsToArray=function e([t,r]){return null===r?[t]:[t,...e(r)]},Un.convertArrayToCons=function e([t,...r]){return[t,r.length?e(r):null]};var Wn={Emitter:void 0};class qn{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)))}}Wn.Emitter=qn;var Dn={HashMap:void 0};class Vn{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()}}Dn.HashMap=Vn;var $n={HashSet:void 0};class Yn{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()}}$n.HashSet=Yn;var Hn={Queue:void 0};class Jn{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)}}Hn.Queue=Jn;var Kn={LRUMap:void 0};const Gn=Mn(),Qn=pn();class Xn{constructor(e){this.map=new Map,(0,Gn.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Gn.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,Qn.first)(this.map.keys())}}Kn.LRUMap=Xn;var Zn={},eo={},to={},ro={},no={};no.random=void 0,no.random=function(e,t){return Math.random()*(t-e)+e};var oo={};oo.randomInt=void 0,oo.randomInt=function(e,t){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e))+e};var io={};io.randomIntInclusive=void 0,io.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=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(no,e),r(oo,e),r(io,e)}(ro),to.calculateExponentialBackoffTimeout=void 0;const ao=ro;to.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,ao.randomIntInclusive)(0,i):i};var uo={};uo.setTimeout=void 0,uo.setTimeout=function(e,t){const r=globalThis.setTimeout(t,e);return()=>clearTimeout(r)};var co={setSchedule:void 0};const so=uo;co.setSchedule=function(e,t){const r=e-Date.now();return(0,so.setTimeout)(r,t)};var lo={};lo.setInterval=void 0,lo.setInterval=function(e,t){const r=globalThis.setInterval(t,e);return()=>clearInterval(r)};var fo={setImmediate:void 0};const po=uo;fo.setImmediate=function(e){if(globalThis.setImmediate){const t=globalThis.setImmediate(e);return()=>clearImmediate(t)}return(0,po.setTimeout)(0,e)};var vo={setTimeoutLoop:void 0};const bo=uo;vo.setTimeoutLoop=function(e,t){let r=!1,n=(0,bo.setTimeout)(e,(async function o(){await t(),r||(n=(0,bo.setTimeout)(e,o))}));return()=>{r=!0,n()}};var yo={setDynamicTimeoutLoop:void 0};const ho=uo;yo.setDynamicTimeoutLoop=function(e,t){let r=!1,n=(0,ho.setTimeout)(e,(async function o(){const i=Date.now();await t();const a=Date.now()-i;r||(n=(0,ho.setTimeout)(Math.max(e-a,0),o))}));return()=>{r=!0,n()}},function(e){var t=o&&o.__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=o&&o.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};r(to,e),r(uo,e),r(co,e),r(lo,e),r(fo,e),r(vo,e),r(yo,e)}(eo),Zn.ExpirableMap=void 0;const mo=eo;class go{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,mo.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}}Zn.ExpirableMap=go;var wo={TLRUMap:void 0};const Oo=Mn(),So=pn(),_o=eo;class xo{constructor(e){this.map=new Map,this.itemMetadataSortedByExpirationTime=[],(0,Oo.assert)(Number.isInteger(e),"The parameter limit must be an integer"),(0,Oo.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,_o.setSchedule)(e.expirationTime,(()=>{this.clearExpiredItems(Date.now()),this.rescheduleClearTimeout()}));this.cancelClearTimeout=()=>{t(),this.cancelClearTimeout=void 0}}}}getColdestKey(){return(0,So.first)(this.map.keys())}}wo.TLRUMap=xo;var jo={TrieMap:void 0};const Eo=pn();class Po{constructor(e){this.value=e,this.children=new Map}}class Ao{constructor(){this.root=new Po}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 Po),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,Eo.toArray)((0,Eo.zip)(e,t)).reverse())if(n.children.delete(r),0!==n.children.size)break;return!0}}jo.TrieMap=Ao;var To={};To.BadEventError=To.FiniteStateMachine=void 0;const Io=Mn();To.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 ko(this.state,e);this._state=this.schema[this.state][e]}};class ko extends Io.CustomError{constructor(e,t){super(`State ${e} cannot react to event ${t}`)}}To.BadEventError=ko;var Co={},Fo={},Mo={},Ro={},No={};No.isFunction=void 0,No.isFunction=function(e){return"function"==typeof e};var Bo={},Lo={},zo={};zo.createErrorClass=void 0,zo.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},Lo.UnsubscriptionError=void 0;var Uo=zo;Lo.UnsubscriptionError=Uo.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 Wo={};Wo.arrRemove=void 0,Wo.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}};var qo=o&&o.__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.")},Do=o&&o.__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},Vo=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Bo.isSubscription=Bo.EMPTY_SUBSCRIPTION=Bo.Subscription=void 0;var $o=No,Yo=Lo,Ho=Wo,Jo=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=qo(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($o.isFunction(c))try{c()}catch(e){o=e instanceof Yo.UnsubscriptionError?e.errors:[e]}var s=this._finalizers;if(s){this._finalizers=null;try{for(var l=qo(s),f=l.next();!f.done;f=l.next()){var p=f.value;try{Ko(p)}catch(e){o=null!=o?o:[],e instanceof Yo.UnsubscriptionError?o=Vo(Vo([],Do(o)),Do(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 Yo.UnsubscriptionError(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Ko(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)&&Ho.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ho.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}();function Ko(e){$o.isFunction(e)?e():e.unsubscribe()}Bo.Subscription=Jo,Bo.EMPTY_SUBSCRIPTION=Jo.EMPTY,Bo.isSubscription=function(e){return e instanceof Jo||e&&"closed"in e&&$o.isFunction(e.remove)&&$o.isFunction(e.add)&&$o.isFunction(e.unsubscribe)};var Go={config:void 0};Go.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Qo={},Xo={};!function(e){var t=o&&o.__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=o&&o.__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}}(Xo),Qo.reportUnhandledError=void 0;var Zo=Go,ei=Xo;Qo.reportUnhandledError=function(e){ei.timeoutProvider.setTimeout((function(){var t=Zo.config.onUnhandledError;if(!t)throw e;t(e)}))};var ti={};ti.noop=void 0,ti.noop=function(){};var ri={};function ni(e,t,r){return{kind:e,value:t,error:r}}ri.createNotification=ri.nextNotification=ri.errorNotification=ri.COMPLETE_NOTIFICATION=void 0,ri.COMPLETE_NOTIFICATION=ni("C",void 0,void 0),ri.errorNotification=function(e){return ni("E",void 0,e)},ri.nextNotification=function(e){return ni("N",e,void 0)},ri.createNotification=ni;var oi={};oi.captureError=oi.errorContext=void 0;var ii=Go,ai=null;oi.errorContext=function(e){if(ii.config.useDeprecatedSynchronousErrorHandling){var t=!ai;if(t&&(ai={errorThrown:!1,error:null}),e(),t){var r=ai,n=r.errorThrown,o=r.error;if(ai=null,n)throw o}}else e()},oi.captureError=function(e){ii.config.useDeprecatedSynchronousErrorHandling&&ai&&(ai.errorThrown=!0,ai.error=e)},function(e){var t,r=o&&o.__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 n=No,i=Bo,a=Go,u=Qo,c=ti,s=ri,l=Xo,f=oi,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,o){var i,u,c=e.call(this)||this;n.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=o?o: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}}(Ro);var ui={observable:void 0};ui.observable="function"==typeof Symbol&&Symbol.observable||"@@observable";var ci={},si={};si.identity=void 0,si.identity=function(e){return e},ci.pipeFromArray=ci.pipe=void 0;var li=si;function fi(e){return 0===e.length?li.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}ci.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return fi(e)},ci.pipeFromArray=fi,Mo.Observable=void 0;var pi=Ro,di=Bo,vi=ui,bi=ci,yi=Go,hi=No,mi=oi,gi=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 pi.Subscriber||function(e){return e&&hi.isFunction(e.next)&&hi.isFunction(e.error)&&hi.isFunction(e.complete)}(n)&&di.isSubscription(n)?e:new pi.SafeSubscriber(e,t,r);return mi.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=wi(t))((function(t,n){var o=new pi.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[vi.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return bi.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=wi(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 wi(e){var t;return null!==(t=null!=e?e:yi.config.Promise)&&void 0!==t?t:Promise}Mo.Observable=gi;var Oi={},Si={},_i={};_i.operate=_i.hasLift=void 0;var xi=No;function ji(e){return xi.isFunction(null==e?void 0:e.lift)}_i.hasLift=ji,_i.operate=function(e){return function(t){if(ji(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 Ei,Pi={},Ai=o&&o.__extends||(Ei=function(e,t){return(Ei=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}Ei(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Pi.OperatorSubscriber=Pi.createOperatorSubscriber=void 0;var Ti=Ro;Pi.createOperatorSubscriber=function(e,t,r,n,o){return new Ii(e,t,r,n,o)};var Ii=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 Ai(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}(Ti.Subscriber);Pi.OperatorSubscriber=Ii,Si.refCount=void 0;var ki=_i,Ci=Pi;Si.refCount=function(){return ki.operate((function(e,t){var r=null;e._refCount++;var n=Ci.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 Fi=o&&o.__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)}}();Oi.ConnectableObservable=void 0;var Mi=Bo,Ri=Si,Ni=Pi,Bi=_i,Li=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,Bi.hasLift(t)&&(n.lift=t.lift),n}return Fi(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 Mi.Subscription;var r=this.getSubject();t.add(this.source.subscribe(Ni.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=Mi.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return Ri.refCount()(this)},t}(Mo.Observable);Oi.ConnectableObservable=Li;var zi={},Ui={};!function(e){e.performanceTimestampProvider=void 0,e.performanceTimestampProvider={now:function(){return(e.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}}(Ui);var Wi={};!function(e){var t=o&&o.__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=o&&o.__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 n=Bo;e.animationFrameProvider={schedule:function(t){var r=requestAnimationFrame,o=cancelAnimationFrame,i=e.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,o=i.cancelAnimationFrame);var a=r((function(e){o=void 0,t(e)}));return new n.Subscription((function(){return null==o?void 0:o(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}}(Wi),zi.animationFrames=void 0;var qi=Mo,Di=Bo,Vi=Ui,$i=Wi;function Yi(e){var t=$i.animationFrameProvider.schedule;return new qi.Observable((function(r){var n=new Di.Subscription,o=e||Vi.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}))}zi.animationFrames=function(e){return e?Yi(e):Hi};var Hi=Yi(),Ji={},Ki={ObjectUnsubscribedError:void 0},Gi=zo;Ki.ObjectUnsubscribedError=Gi.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}));var Qi=o&&o.__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)}}(),Xi=o&&o.__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.")};Ji.AnonymousSubject=Ji.Subject=void 0;var Zi=Mo,ea=Bo,ta=Ki,ra=Wo,na=oi,oa=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 Qi(t,e),t.prototype.lift=function(e){var t=new ia(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ta.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;na.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var o=Xi(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;na.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;na.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?ea.EMPTY_SUBSCRIPTION:(this.currentObservers=null,i.push(e),new ea.Subscription((function(){t.currentObservers=null,ra.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 Zi.Observable;return e.source=this,e},t.create=function(e,t){return new ia(e,t)},t}(Zi.Observable);Ji.Subject=oa;var ia=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return Qi(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:ea.EMPTY_SUBSCRIPTION},t}(oa);Ji.AnonymousSubject=ia;var aa={},ua=o&&o.__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)}}();aa.BehaviorSubject=void 0;var ca=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return ua(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}(Ji.Subject);aa.BehaviorSubject=ca;var sa={},la={};!function(e){e.dateTimestampProvider=void 0,e.dateTimestampProvider={now:function(){return(e.dateTimestampProvider.delegate||Date).now()},delegate:void 0}}(la);var fa=o&&o.__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)}}();sa.ReplaySubject=void 0;var pa=la,da=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=pa.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 fa(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}(Ji.Subject);sa.ReplaySubject=da;var va={},ba=o&&o.__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)}}();va.AsyncSubject=void 0;var ya=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 ba(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}(Ji.Subject);va.AsyncSubject=ya;var ha={},ma={},ga={},wa={},Oa=o&&o.__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)}}();wa.Action=void 0;var Sa=function(e){function t(t,r){return e.call(this)||this}return Oa(t,e),t.prototype.schedule=function(e,t){return this},t}(Bo.Subscription);wa.Action=Sa;var _a={};!function(e){var t=o&&o.__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=o&&o.__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}}(_a);var xa=o&&o.__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.AsyncAction=void 0;var ja=_a,Ea=Wo,Pa=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 xa(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),ja.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;ja.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,Ea.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(wa.Action);ga.AsyncAction=Pa;var Aa={},Ta={};Ta.TestTools=Ta.Immediate=void 0;var Ia,ka=1,Ca={};function Fa(e){return e in Ca&&(delete Ca[e],!0)}Ta.Immediate={setImmediate:function(e){var t=ka++;return Ca[t]=!0,Ia||(Ia=Promise.resolve()),Ia.then((function(){return Fa(t)&&e()})),t},clearImmediate:function(e){Fa(e)}},Ta.TestTools={pending:function(){return Object.keys(Ca).length}},function(e){var t=o&&o.__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=o&&o.__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 n=Ta,i=n.Immediate.setImmediate,a=n.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}}(Aa);var Ma=o&&o.__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.AsapAction=void 0;var Ra=Aa,Na=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Ma(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=Ra.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}))||(Ra.immediateProvider.clearImmediate(r),t._scheduled=void 0)},t}(ga.AsyncAction);ma.AsapAction=Na;var Ba={},La={},za={Scheduler:void 0},Ua=la,Wa=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=Ua.dateTimestampProvider.now,e}();za.Scheduler=Wa;var qa=o&&o.__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.AsyncScheduler=void 0;var Da=za,Va=function(e){function t(t,r){void 0===r&&(r=Da.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n._scheduled=void 0,n}return qa(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}(Da.Scheduler);La.AsyncScheduler=Va;var $a=o&&o.__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)}}();Ba.AsapScheduler=void 0;var Ya=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $a(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}(La.AsyncScheduler);Ba.AsapScheduler=Ya,function(e){e.asap=e.asapScheduler=void 0;var t=ma,r=Ba;e.asapScheduler=new r.AsapScheduler(t.AsapAction),e.asap=e.asapScheduler}(ha);var Ha={};!function(e){e.async=e.asyncScheduler=void 0;var t=ga,r=La;e.asyncScheduler=new r.AsyncScheduler(t.AsyncAction),e.async=e.asyncScheduler}(Ha);var Ja={},Ka={},Ga=o&&o.__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.QueueAction=void 0;var Qa=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return Ga(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}(ga.AsyncAction);Ka.QueueAction=Qa;var Xa={},Za=o&&o.__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)}}();Xa.QueueScheduler=void 0;var eu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Za(t,e),t}(La.AsyncScheduler);Xa.QueueScheduler=eu,function(e){e.queue=e.queueScheduler=void 0;var t=Ka,r=Xa;e.queueScheduler=new r.QueueScheduler(t.QueueAction),e.queue=e.queueScheduler}(Ja);var tu={},ru={},nu=o&&o.__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.AnimationFrameAction=void 0;var ou=Wi,iu=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return nu(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=ou.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}))||(ou.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(ga.AsyncAction);ru.AnimationFrameAction=iu;var au={},uu=o&&o.__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)}}();au.AnimationFrameScheduler=void 0;var cu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return uu(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}(La.AsyncScheduler);au.AnimationFrameScheduler=cu,function(e){e.animationFrame=e.animationFrameScheduler=void 0;var t=ru,r=au;e.animationFrameScheduler=new r.AnimationFrameScheduler(t.AnimationFrameAction),e.animationFrame=e.animationFrameScheduler}(tu);var su={},lu=o&&o.__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)}}();su.VirtualAction=su.VirtualTimeScheduler=void 0;var fu=ga,pu=Bo,du=function(e){function t(t,r){void 0===t&&(t=vu),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 lu(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}(La.AsyncScheduler);su.VirtualTimeScheduler=du;var vu=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 lu(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 pu.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}(fu.AsyncAction);su.VirtualAction=vu;var bu={},yu={};!function(e){e.empty=e.EMPTY=void 0;var t=Mo;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}}(yu);var hu={},mu={},gu={isScheduler:void 0},wu=No;gu.isScheduler=function(e){return e&&wu.isFunction(e.schedule)},mu.popNumber=mu.popScheduler=mu.popResultSelector=void 0;var Ou=No,Su=gu;function _u(e){return e[e.length-1]}mu.popResultSelector=function(e){return Ou.isFunction(_u(e))?e.pop():void 0},mu.popScheduler=function(e){return Su.isScheduler(_u(e))?e.pop():void 0},mu.popNumber=function(e,t){return"number"==typeof _u(e)?e.pop():t};var xu={},ju={},Eu={},Pu={},Au={isArrayLike:void 0};Au.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};var Tu={isPromise:void 0},Iu=No;Tu.isPromise=function(e){return Iu.isFunction(null==e?void 0:e.then)};var ku={isInteropObservable:void 0},Cu=ui,Fu=No;ku.isInteropObservable=function(e){return Fu.isFunction(e[Cu.observable])};var Mu={isAsyncIterable:void 0},Ru=No;Mu.isAsyncIterable=function(e){return Symbol.asyncIterator&&Ru.isFunction(null==e?void 0:e[Symbol.asyncIterator])};var Nu={};Nu.createInvalidObservableTypeError=void 0,Nu.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 Bu={},Lu={};function zu(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Lu.iterator=Lu.getSymbolIterator=void 0,Lu.getSymbolIterator=zu,Lu.iterator=zu(),Bu.isIterable=void 0;var Uu=Lu,Wu=No;Bu.isIterable=function(e){return Wu.isFunction(null==e?void 0:e[Uu.iterator])};var qu={},Du=o&&o.__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])}}},Vu=o&&o.__await||function(e){return this instanceof Vu?(this.v=e,this):new Vu(e)},$u=o&&o.__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 Vu?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])}};qu.isReadableStreamLike=qu.readableStreamLikeToAsyncGenerator=void 0;var Yu=No;qu.readableStreamLikeToAsyncGenerator=function(e){return $u(this,arguments,(function(){var t,r,n;return Du(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,Vu(t.read())];case 3:return r=o.sent(),n=r.value,r.done?[4,Vu(void 0)]:[3,5];case 4:return[2,o.sent()];case 5:return[4,Vu(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]}}))}))},qu.isReadableStreamLike=function(e){return Yu.isFunction(null==e?void 0:e.getReader)};var Hu=o&&o.__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())}))},Ju=o&&o.__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])}}},Ku=o&&o.__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 Gu?Gu(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)}))}}},Gu=o&&o.__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.fromReadableStreamLike=Pu.fromAsyncIterable=Pu.fromIterable=Pu.fromPromise=Pu.fromArrayLike=Pu.fromInteropObservable=Pu.innerFrom=void 0;var Qu=Au,Xu=Tu,Zu=Mo,ec=ku,tc=Mu,rc=Nu,nc=Bu,oc=qu,ic=No,ac=Qo,uc=ui;function cc(e){return new Zu.Observable((function(t){var r=e[uc.observable]();if(ic.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function sc(e){return new Zu.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function lc(e){return new Zu.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,ac.reportUnhandledError)}))}function fc(e){return new Zu.Observable((function(t){var r,n;try{for(var o=Gu(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 pc(e){return new Zu.Observable((function(t){(function(e,t){var r,n,o,i;return Hu(this,void 0,void 0,(function(){var a,u;return Ju(this,(function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),r=Ku(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 dc(e){return pc(oc.readableStreamLikeToAsyncGenerator(e))}Pu.innerFrom=function(e){if(e instanceof Zu.Observable)return e;if(null!=e){if(ec.isInteropObservable(e))return cc(e);if(Qu.isArrayLike(e))return sc(e);if(Xu.isPromise(e))return lc(e);if(tc.isAsyncIterable(e))return pc(e);if(nc.isIterable(e))return fc(e);if(oc.isReadableStreamLike(e))return dc(e)}throw rc.createInvalidObservableTypeError(e)},Pu.fromInteropObservable=cc,Pu.fromArrayLike=sc,Pu.fromPromise=lc,Pu.fromIterable=fc,Pu.fromAsyncIterable=pc,Pu.fromReadableStreamLike=dc;var vc={},bc={};bc.executeSchedule=void 0,bc.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},vc.observeOn=void 0;var yc=bc,hc=_i,mc=Pi;vc.observeOn=function(e,t){return void 0===t&&(t=0),hc.operate((function(r,n){r.subscribe(mc.createOperatorSubscriber(n,(function(r){return yc.executeSchedule(n,e,(function(){return n.next(r)}),t)}),(function(){return yc.executeSchedule(n,e,(function(){return n.complete()}),t)}),(function(r){return yc.executeSchedule(n,e,(function(){return n.error(r)}),t)})))}))};var gc={subscribeOn:void 0},wc=_i;gc.subscribeOn=function(e,t){return void 0===t&&(t=0),wc.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))},Eu.scheduleObservable=void 0;var Oc=Pu,Sc=vc,_c=gc;Eu.scheduleObservable=function(e,t){return Oc.innerFrom(e).pipe(_c.subscribeOn(t),Sc.observeOn(t))};var xc={schedulePromise:void 0},jc=Pu,Ec=vc,Pc=gc;xc.schedulePromise=function(e,t){return jc.innerFrom(e).pipe(Pc.subscribeOn(t),Ec.observeOn(t))};var Ac={scheduleArray:void 0},Tc=Mo;Ac.scheduleArray=function(e,t){return new Tc.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))};var Ic={scheduleIterable:void 0},kc=Mo,Cc=Lu,Fc=No,Mc=bc;Ic.scheduleIterable=function(e,t){return new kc.Observable((function(r){var n;return Mc.executeSchedule(r,t,(function(){n=e[Cc.iterator](),Mc.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 Fc.isFunction(null==n?void 0:n.return)&&n.return()}}))};var Rc={scheduleAsyncIterable:void 0},Nc=Mo,Bc=bc;Rc.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new Nc.Observable((function(r){Bc.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();Bc.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))};var Lc={scheduleReadableStreamLike:void 0},zc=Rc,Uc=qu;Lc.scheduleReadableStreamLike=function(e,t){return zc.scheduleAsyncIterable(Uc.readableStreamLikeToAsyncGenerator(e),t)},ju.scheduled=void 0;var Wc=Eu,qc=xc,Dc=Ac,Vc=Ic,$c=Rc,Yc=ku,Hc=Tu,Jc=Au,Kc=Bu,Gc=Mu,Qc=Nu,Xc=qu,Zc=Lc;ju.scheduled=function(e,t){if(null!=e){if(Yc.isInteropObservable(e))return Wc.scheduleObservable(e,t);if(Jc.isArrayLike(e))return Dc.scheduleArray(e,t);if(Hc.isPromise(e))return qc.schedulePromise(e,t);if(Gc.isAsyncIterable(e))return $c.scheduleAsyncIterable(e,t);if(Kc.isIterable(e))return Vc.scheduleIterable(e,t);if(Xc.isReadableStreamLike(e))return Zc.scheduleReadableStreamLike(e,t)}throw Qc.createInvalidObservableTypeError(e)},xu.from=void 0;var es=ju,ts=Pu;xu.from=function(e,t){return t?es.scheduled(e,t):ts.innerFrom(e)},hu.of=void 0;var rs=mu,ns=xu;hu.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=rs.popScheduler(e);return ns.from(e,r)};var os={throwError:void 0},is=Mo,as=No;os.throwError=function(e,t){var r=as.isFunction(e)?e:function(){return e},n=function(e){return e.error(r())};return new is.Observable(t?function(e){return t.schedule(n,0,e)}:n)},function(e){e.observeNotification=e.Notification=e.NotificationKind=void 0;var t,r=yu,n=hu,o=os,i=No;(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}(bu);var us={isObservable:void 0},cs=Mo,ss=No;us.isObservable=function(e){return!!e&&(e instanceof cs.Observable||ss.isFunction(e.lift)&&ss.isFunction(e.subscribe))};var ls={},fs={EmptyError:void 0},ps=zo;fs.EmptyError=ps.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}})),ls.lastValueFrom=void 0;var ds=fs;ls.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 ds.EmptyError)}})}))};var vs={firstValueFrom:void 0},bs=fs,ys=Ro;vs.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(n,o){var i=new ys.SafeSubscriber({next:function(e){n(e),i.unsubscribe()},error:o,complete:function(){r?n(t.defaultValue):o(new bs.EmptyError)}});e.subscribe(i)}))};var hs={ArgumentOutOfRangeError:void 0},ms=zo;hs.ArgumentOutOfRangeError=ms.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}));var gs={NotFoundError:void 0},ws=zo;gs.NotFoundError=ws.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}));var Os={SequenceError:void 0},Ss=zo;Os.SequenceError=Ss.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}));var _s={},xs={};xs.isValidDate=void 0,xs.isValidDate=function(e){return e instanceof Date&&!isNaN(e)},function(e){e.timeout=e.TimeoutError=void 0;var t=Ha,r=xs,n=_i,o=Pu,i=zo,a=Pi,u=bc;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)}))}}(_s);var js={},Es={},Ps={},As={map:void 0},Ts=_i,Is=Pi;As.map=function(e,t){return Ts.operate((function(r,n){var o=0;r.subscribe(Is.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,o++))})))}))};var ks=o&&o.__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},Cs=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ps.mapOneOrManyArgs=void 0;var Fs=As,Ms=Array.isArray;Ps.mapOneOrManyArgs=function(e){return Fs.map((function(t){return function(e,t){return Ms(t)?e.apply(void 0,Cs([],ks(t))):e(t)}(e,t)}))};var Rs=o&&o.__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},Ns=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Es.bindCallbackInternals=void 0;var Bs=gu,Ls=Mo,zs=gc,Us=Ps,Ws=vc,qs=va;Es.bindCallbackInternals=function e(t,r,n,o){if(n){if(!Bs.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(Us.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(zs.subscribeOn(o),Ws.observeOn(o))}:function(){for(var e=this,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];var i=new qs.AsyncSubject,a=!0;return new Ls.Observable((function(o){var u=i.subscribe(o);if(a){a=!1;var c=!1,s=!1;r.apply(e,Ns(Ns([],Rs(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}))}},js.bindCallback=void 0;var Ds=Es;js.bindCallback=function(e,t,r){return Ds.bindCallbackInternals(!1,e,t,r)};var Vs={bindNodeCallback:void 0},$s=Es;Vs.bindNodeCallback=function(e,t,r){return $s.bindCallbackInternals(!0,e,t,r)};var Ys={},Hs={argsArgArrayOrObject:void 0},Js=Array.isArray,Ks=Object.getPrototypeOf,Gs=Object.prototype,Qs=Object.keys;Hs.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(Js(t))return{args:t,keys:null};if((n=t)&&"object"==typeof n&&Ks(n)===Gs){var r=Qs(t);return{args:r.map((function(e){return t[e]})),keys:r}}}var n;return{args:e,keys:null}};var Xs={};Xs.createObject=void 0,Xs.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})},Ys.combineLatestInit=Ys.combineLatest=void 0;var Zs=Mo,el=Hs,tl=xu,rl=si,nl=Ps,ol=mu,il=Xs,al=Pi,ul=bc;function cl(e,t,r){return void 0===r&&(r=rl.identity),function(n){sl(t,(function(){for(var o=e.length,i=new Array(o),a=o,u=o,c=function(o){sl(t,(function(){var c=tl.from(e[o],t),s=!1;c.subscribe(al.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 sl(e,t,r){e?ul.executeSchedule(r,e,t):t()}Ys.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ol.popScheduler(e),n=ol.popResultSelector(e),o=el.argsArgArrayOrObject(e),i=o.args,a=o.keys;if(0===i.length)return tl.from([],r);var u=new Zs.Observable(cl(i,r,a?function(e){return il.createObject(a,e)}:rl.identity));return n?u.pipe(nl.mapOneOrManyArgs(n)):u},Ys.combineLatestInit=cl;var ll={},fl={},pl={},dl={},vl={mergeInternals:void 0},bl=Pu,yl=bc,hl=Pi;vl.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;bl.innerFrom(r(e,l++)).subscribe(hl.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?yl.executeSchedule(t,a,(function(){return v(e)})):v(e)};c.length&&s<n;)e();p()}catch(e){t.error(e)}})))};return e.subscribe(hl.createOperatorSubscriber(t,d,(function(){f=!0,p()}))),function(){null==u||u()}},dl.mergeMap=void 0;var ml=As,gl=Pu,wl=_i,Ol=vl,Sl=No;dl.mergeMap=function e(t,r,n){return void 0===n&&(n=1/0),Sl.isFunction(r)?e((function(e,n){return ml.map((function(t,o){return r(e,t,n,o)}))(gl.innerFrom(t(e,n)))}),n):("number"==typeof r&&(n=r),wl.operate((function(e,r){return Ol.mergeInternals(e,r,t,n)})))},pl.mergeAll=void 0;var _l=dl,xl=si;pl.mergeAll=function(e){return void 0===e&&(e=1/0),_l.mergeMap(xl.identity,e)},fl.concatAll=void 0;var jl=pl;fl.concatAll=function(){return jl.mergeAll(1)},ll.concat=void 0;var El=fl,Pl=mu,Al=xu;ll.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return El.concatAll()(Al.from(e,Pl.popScheduler(e)))};var Tl={},Il={defer:void 0},kl=Mo,Cl=Pu;Il.defer=function(e){return new kl.Observable((function(t){Cl.innerFrom(e()).subscribe(t)}))},Tl.connectable=void 0;var Fl=Ji,Ml=Mo,Rl=Il,Nl={connector:function(){return new Fl.Subject},resetOnDisconnect:!0};Tl.connectable=function(e,t){void 0===t&&(t=Nl);var r=null,n=t.connector,o=t.resetOnDisconnect,i=void 0===o||o,a=n(),u=new Ml.Observable((function(e){return a.subscribe(e)}));return u.connect=function(){return r&&!r.closed||(r=Rl.defer((function(){return e})).subscribe(a),i&&r.add((function(){return a=n()}))),r},u};var Bl={forkJoin:void 0},Ll=Mo,zl=Hs,Ul=Pu,Wl=mu,ql=Pi,Dl=Ps,Vl=Xs;Bl.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Wl.popResultSelector(e),n=zl.argsArgArrayOrObject(e),o=n.args,i=n.keys,a=new Ll.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;Ul.innerFrom(o[t]).subscribe(ql.createOperatorSubscriber(e,(function(e){u||(u=!0,a--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&u||(a||e.next(i?Vl.createObject(i,r):r),e.complete())})))},c=0;c<t;c++)u(c);else e.complete()}));return r?a.pipe(Dl.mapOneOrManyArgs(r)):a};var $l={},Yl=o&&o.__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};$l.fromEvent=void 0;var Hl=Pu,Jl=Mo,Kl=dl,Gl=Au,Ql=No,Xl=Ps,Zl=["addListener","removeListener"],ef=["addEventListener","removeEventListener"],tf=["on","off"];function rf(e,t){return function(r){return function(n){return e[r](t,n)}}}$l.fromEvent=function e(t,r,n,o){if(Ql.isFunction(n)&&(o=n,n=void 0),o)return e(t,r,n).pipe(Xl.mapOneOrManyArgs(o));var i=Yl(function(e){return Ql.isFunction(e.addEventListener)&&Ql.isFunction(e.removeEventListener)}(t)?ef.map((function(e){return function(o){return t[e](r,o,n)}})):function(e){return Ql.isFunction(e.addListener)&&Ql.isFunction(e.removeListener)}(t)?Zl.map(rf(t,r)):function(e){return Ql.isFunction(e.on)&&Ql.isFunction(e.off)}(t)?tf.map(rf(t,r)):[],2),a=i[0],u=i[1];if(!a&&Gl.isArrayLike(t))return Kl.mergeMap((function(t){return e(t,r,n)}))(Hl.innerFrom(t));if(!a)throw new TypeError("Invalid event target");return new Jl.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 nf={fromEventPattern:void 0},of=Mo,af=No,uf=Ps;nf.fromEventPattern=function e(t,r,n){return n?e(t,r).pipe(uf.mapOneOrManyArgs(n)):new of.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 af.isFunction(r)?function(){return r(n,o)}:void 0}))};var cf={},sf=o&&o.__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])}}};cf.generate=void 0;var lf=si,ff=gu,pf=Il,df=Ic;cf.generate=function(e,t,r,n,o){var i,a,u,c;function s(){var e;return sf(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?lf.identity:a,o=i.scheduler):(c=e,!n||ff.isScheduler(n)?(u=lf.identity,o=n):u=n),pf.defer(o?function(){return df.scheduleIterable(s(),o)}:s)};var vf={iif:void 0},bf=Il;vf.iif=function(e,t,r){return bf.defer((function(){return e()?t:r}))};var yf={},hf={timer:void 0},mf=Mo,gf=Ha,wf=gu,Of=xs;hf.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=gf.async);var n=-1;return null!=t&&(wf.isScheduler(t)?r=t:n=t),new mf.Observable((function(t){var o=Of.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)}))},yf.interval=void 0;var Sf=Ha,_f=hf;yf.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=Sf.asyncScheduler),e<0&&(e=0),_f.timer(e,e,t)};var xf={merge:void 0},jf=pl,Ef=Pu,Pf=yu,Af=mu,Tf=xu;xf.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Af.popScheduler(e),n=Af.popNumber(e,1/0),o=e;return o.length?1===o.length?Ef.innerFrom(o[0]):jf.mergeAll(n)(Tf.from(o,r)):Pf.EMPTY};var If={};!function(e){e.never=e.NEVER=void 0;var t=Mo,r=ti;e.NEVER=new t.Observable(r.noop),e.never=function(){return e.NEVER}}(If);var kf={},Cf={},Ff={argsOrArgArray:void 0},Mf=Array.isArray;Ff.argsOrArgArray=function(e){return 1===e.length&&Mf(e[0])?e[0]:e};var Rf=o&&o.__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=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Cf.onErrorResumeNext=void 0;var Bf=_i,Lf=Pu,zf=Ff,Uf=Pi,Wf=ti;Cf.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=zf.argsOrArgArray(e);return Bf.operate((function(e,t){var n=Nf([e],Rf(r)),o=function(){if(!t.closed)if(n.length>0){var e=void 0;try{e=Lf.innerFrom(n.shift())}catch(e){return void o()}var r=Uf.createOperatorSubscriber(t,void 0,Wf.noop,Wf.noop);e.subscribe(r),r.add(o)}else t.complete()};o()}))},kf.onErrorResumeNext=void 0;var qf=yu,Df=Cf,Vf=Ff;kf.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Df.onErrorResumeNext(Vf.argsOrArgArray(e))(qf.EMPTY)};var $f={pairs:void 0},Yf=xu;$f.pairs=function(e,t){return Yf.from(Object.entries(e),t)};var Hf={},Jf={};Jf.not=void 0,Jf.not=function(e,t){return function(r,n){return!e.call(t,r,n)}};var Kf={filter:void 0},Gf=_i,Qf=Pi;Kf.filter=function(e,t){return Gf.operate((function(r,n){var o=0;r.subscribe(Qf.createOperatorSubscriber(n,(function(r){return e.call(t,r,o++)&&n.next(r)})))}))},Hf.partition=void 0;var Xf=Jf,Zf=Kf,ep=Pu;Hf.partition=function(e,t,r){return[Zf.filter(t,r)(ep.innerFrom(e)),Zf.filter(Xf.not(t,r))(ep.innerFrom(e))]};var tp={};tp.raceInit=tp.race=void 0;var rp=Mo,np=Pu,op=Ff,ip=Pi;function ap(e){return function(t){for(var r=[],n=function(n){r.push(np.innerFrom(e[n]).subscribe(ip.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)}}tp.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=op.argsOrArgArray(e)).length?np.innerFrom(e[0]):new rp.Observable(ap(e))},tp.raceInit=ap;var up={range:void 0},cp=Mo,sp=yu;up.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return sp.EMPTY;var n=t+e;return new cp.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 lp={using:void 0},fp=Mo,pp=Pu,dp=yu;lp.using=function(e,t){return new fp.Observable((function(r){var n=e(),o=t(n);return(o?pp.innerFrom(o):dp.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))};var vp={},bp=o&&o.__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},yp=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};vp.zip=void 0;var hp=Mo,mp=Pu,gp=Ff,wp=yu,Op=Pi,Sp=mu;vp.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Sp.popResultSelector(e),n=gp.argsOrArgArray(e);return n.length?new hp.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){mp.innerFrom(n[i]).subscribe(Op.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,yp([],bp(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}})):wp.EMPTY};var _p={},xp={audit:void 0},jp=_i,Ep=Pu,Pp=Pi;xp.audit=function(e){return jp.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(Pp.createOperatorSubscriber(r,(function(t){n=!0,o=t,i||Ep.innerFrom(e(t)).subscribe(i=Pp.createOperatorSubscriber(r,u,c))}),(function(){a=!0,(!n||!i||i.closed)&&r.complete()})))}))};var Ap={auditTime:void 0},Tp=Ha,Ip=xp,kp=hf;Ap.auditTime=function(e,t){return void 0===t&&(t=Tp.asyncScheduler),Ip.audit((function(){return kp.timer(e,t)}))};var Cp={buffer:void 0},Fp=_i,Mp=ti,Rp=Pi;Cp.buffer=function(e){return Fp.operate((function(t,r){var n=[];return t.subscribe(Rp.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),e.subscribe(Rp.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),Mp.noop)),function(){n=null}}))};var Np={},Bp=o&&o.__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.")};Np.bufferCount=void 0;var Lp=_i,zp=Pi,Up=Wo;Np.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,Lp.operate((function(r,n){var o=[],i=0;r.subscribe(zp.createOperatorSubscriber(n,(function(r){var a,u,c,s,l=null;i++%t==0&&o.push([]);try{for(var f=Bp(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=Bp(l),v=d.next();!v.done;v=d.next()){var b=v.value;Up.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=Bp(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 Wp={},qp=o&&o.__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.")};Wp.bufferTime=void 0;var Dp=Bo,Vp=_i,$p=Pi,Yp=Wo,Hp=Ha,Jp=mu,Kp=bc;Wp.bufferTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=Jp.popScheduler(n))&&void 0!==t?t:Hp.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return Vp.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.buffer;e.subs.unsubscribe(),Yp.arrRemove(n,e),r.next(t),o&&s()},s=function(){if(n){var t=new Dp.Subscription;r.add(t);var o={buffer:[],subs:t};n.push(o),Kp.executeSchedule(t,i,(function(){return c(o)}),e)}};null!==a&&a>=0?Kp.executeSchedule(r,i,s,a,!0):o=!0,s();var l=$p.createOperatorSubscriber(r,(function(e){var t,r,o=n.slice();try{for(var i=qp(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 Gp={},Qp=o&&o.__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.")};Gp.bufferToggle=void 0;var Xp=Bo,Zp=_i,ed=Pu,td=Pi,rd=ti,nd=Wo;Gp.bufferToggle=function(e,t){return Zp.operate((function(r,n){var o=[];ed.innerFrom(e).subscribe(td.createOperatorSubscriber(n,(function(e){var r=[];o.push(r);var i=new Xp.Subscription;i.add(ed.innerFrom(t(e)).subscribe(td.createOperatorSubscriber(n,(function(){nd.arrRemove(o,r),n.next(r),i.unsubscribe()}),rd.noop)))}),rd.noop)),r.subscribe(td.createOperatorSubscriber(n,(function(e){var t,r;try{for(var n=Qp(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 od={bufferWhen:void 0},id=_i,ad=ti,ud=Pi,cd=Pu;od.bufferWhen=function(e){return id.operate((function(t,r){var n=null,o=null,i=function(){null==o||o.unsubscribe();var t=n;n=[],t&&r.next(t),cd.innerFrom(e()).subscribe(o=ud.createOperatorSubscriber(r,i,ad.noop))};i(),t.subscribe(ud.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 sd={catchError:void 0},ld=Pu,fd=Pi,pd=_i;sd.catchError=function e(t){return pd.operate((function(r,n){var o,i=null,a=!1;i=r.subscribe(fd.createOperatorSubscriber(n,void 0,void 0,(function(u){o=ld.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 dd={},vd={},bd={},yd={},hd={},md={scanInternals:void 0},gd=Pi;md.scanInternals=function(e,t,r,n,o){return function(i,a){var u=r,c=t,s=0;i.subscribe(gd.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()}))}},hd.reduce=void 0;var wd=md,Od=_i;hd.reduce=function(e,t){return Od.operate(wd.scanInternals(e,t,arguments.length>=2,!1,!0))},yd.toArray=void 0;var Sd=hd,_d=_i,xd=function(e,t){return e.push(t),e};yd.toArray=function(){return _d.operate((function(e,t){Sd.reduce(xd,[])(e).subscribe(t)}))},bd.joinAllInternals=void 0;var jd=si,Ed=Ps,Pd=ci,Ad=dl,Td=yd;bd.joinAllInternals=function(e,t){return Pd.pipe(Td.toArray(),Ad.mergeMap((function(t){return e(t)})),t?Ed.mapOneOrManyArgs(t):jd.identity)},vd.combineLatestAll=void 0;var Id=Ys,kd=bd;vd.combineLatestAll=function(e){return kd.joinAllInternals(Id.combineLatest,e)},dd.combineAll=void 0;var Cd=vd;dd.combineAll=Cd.combineLatestAll;var Fd={},Md={},Rd=o&&o.__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=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Md.combineLatest=void 0;var Bd=Ys,Ld=_i,zd=Ff,Ud=Ps,Wd=ci,qd=mu;Md.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=qd.popResultSelector(t);return n?Wd.pipe(e.apply(void 0,Nd([],Rd(t))),Ud.mapOneOrManyArgs(n)):Ld.operate((function(e,r){Bd.combineLatestInit(Nd([e],Rd(zd.argsOrArgArray(t))))(r)}))};var Dd=o&&o.__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},Vd=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Fd.combineLatestWith=void 0;var $d=Md;Fd.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return $d.combineLatest.apply(void 0,Vd([],Dd(e)))};var Yd={concatMap:void 0},Hd=dl,Jd=No;Yd.concatMap=function(e,t){return Jd.isFunction(t)?Hd.mergeMap(e,t,1):Hd.mergeMap(e,1)};var Kd={concatMapTo:void 0},Gd=Yd,Qd=No;Kd.concatMapTo=function(e,t){return Qd.isFunction(t)?Gd.concatMap((function(){return e}),t):Gd.concatMap((function(){return e}))};var Xd={},Zd={},ev=o&&o.__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},tv=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Zd.concat=void 0;var rv=_i,nv=fl,ov=mu,iv=xu;Zd.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=ov.popScheduler(e);return rv.operate((function(t,n){nv.concatAll()(iv.from(tv([t],ev(e)),r)).subscribe(n)}))};var av=o&&o.__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},uv=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Xd.concatWith=void 0;var cv=Zd;Xd.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return cv.concat.apply(void 0,uv([],av(e)))};var sv={},lv={fromSubscribable:void 0},fv=Mo;lv.fromSubscribable=function(e){return new fv.Observable((function(t){return e.subscribe(t)}))},sv.connect=void 0;var pv=Ji,dv=xu,vv=_i,bv=lv,yv={connector:function(){return new pv.Subject}};sv.connect=function(e,t){void 0===t&&(t=yv);var r=t.connector;return vv.operate((function(t,n){var o=r();dv.from(e(bv.fromSubscribable(o))).subscribe(n),n.add(t.subscribe(o))}))};var hv={count:void 0},mv=hd;hv.count=function(e){return mv.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)};var gv={debounce:void 0},wv=_i,Ov=ti,Sv=Pi,_v=Pu;gv.debounce=function(e){return wv.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(Sv.createOperatorSubscriber(r,(function(t){null==i||i.unsubscribe(),n=!0,o=t,i=Sv.createOperatorSubscriber(r,a,Ov.noop),_v.innerFrom(e(t)).subscribe(i)}),(function(){a(),r.complete()}),void 0,(function(){o=i=null})))}))};var xv={debounceTime:void 0},jv=Ha,Ev=_i,Pv=Pi;xv.debounceTime=function(e,t){return void 0===t&&(t=jv.asyncScheduler),Ev.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(Pv.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 Av={defaultIfEmpty:void 0},Tv=_i,Iv=Pi;Av.defaultIfEmpty=function(e){return Tv.operate((function(t,r){var n=!1;t.subscribe(Iv.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))};var kv={},Cv={},Fv={take:void 0},Mv=yu,Rv=_i,Nv=Pi;Fv.take=function(e){return e<=0?function(){return Mv.EMPTY}:Rv.operate((function(t,r){var n=0;t.subscribe(Nv.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))};var Bv={ignoreElements:void 0},Lv=_i,zv=Pi,Uv=ti;Bv.ignoreElements=function(){return Lv.operate((function(e,t){e.subscribe(zv.createOperatorSubscriber(t,Uv.noop))}))};var Wv={mapTo:void 0},qv=As;Wv.mapTo=function(e){return qv.map((function(){return e}))},Cv.delayWhen=void 0;var Dv=ll,Vv=Fv,$v=Bv,Yv=Wv,Hv=dl;Cv.delayWhen=function e(t,r){return r?function(n){return Dv.concat(r.pipe(Vv.take(1),$v.ignoreElements()),n.pipe(e(t)))}:Hv.mergeMap((function(e,r){return t(e,r).pipe(Vv.take(1),Yv.mapTo(e))}))},kv.delay=void 0;var Jv=Ha,Kv=Cv,Gv=hf;kv.delay=function(e,t){void 0===t&&(t=Jv.asyncScheduler);var r=Gv.timer(e,t);return Kv.delayWhen((function(){return r}))};var Qv={dematerialize:void 0},Xv=bu,Zv=_i,eb=Pi;Qv.dematerialize=function(){return Zv.operate((function(e,t){e.subscribe(eb.createOperatorSubscriber(t,(function(e){return Xv.observeNotification(e,t)})))}))};var tb={distinct:void 0},rb=_i,nb=Pi,ob=ti;tb.distinct=function(e,t){return rb.operate((function(r,n){var o=new Set;r.subscribe(nb.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;o.has(r)||(o.add(r),n.next(t))}))),null==t||t.subscribe(nb.createOperatorSubscriber(n,(function(){return o.clear()}),ob.noop))}))};var ib={distinctUntilChanged:void 0},ab=si,ub=_i,cb=Pi;function sb(e,t){return e===t}ib.distinctUntilChanged=function(e,t){return void 0===t&&(t=ab.identity),e=null!=e?e:sb,ub.operate((function(r,n){var o,i=!0;r.subscribe(cb.createOperatorSubscriber(n,(function(r){var a=t(r);!i&&e(o,a)||(i=!1,o=a,n.next(r))})))}))};var lb={distinctUntilKeyChanged:void 0},fb=ib;lb.distinctUntilKeyChanged=function(e,t){return fb.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))};var pb={},db={throwIfEmpty:void 0},vb=fs,bb=_i,yb=Pi;function hb(){return new vb.EmptyError}db.throwIfEmpty=function(e){return void 0===e&&(e=hb),bb.operate((function(t,r){var n=!1;t.subscribe(yb.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))},pb.elementAt=void 0;var mb=hs,gb=Kf,wb=db,Ob=Av,Sb=Fv;pb.elementAt=function(e,t){if(e<0)throw new mb.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(n){return n.pipe(gb.filter((function(t,r){return r===e})),Sb.take(1),r?Ob.defaultIfEmpty(t):wb.throwIfEmpty((function(){return new mb.ArgumentOutOfRangeError})))}};var _b={},xb=o&&o.__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},jb=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};_b.endWith=void 0;var Eb=ll,Pb=hu;_b.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Eb.concat(t,Pb.of.apply(void 0,jb([],xb(e))))}};var Ab={every:void 0},Tb=_i,Ib=Pi;Ab.every=function(e,t){return Tb.operate((function(r,n){var o=0;r.subscribe(Ib.createOperatorSubscriber(n,(function(i){e.call(t,i,o++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))};var kb={},Cb={exhaustAll:void 0},Fb=_i,Mb=Pu,Rb=Pi;Cb.exhaustAll=function(){return Fb.operate((function(e,t){var r=!1,n=null;e.subscribe(Rb.createOperatorSubscriber(t,(function(e){n||(n=Mb.innerFrom(e).subscribe(Rb.createOperatorSubscriber(t,void 0,(function(){n=null,r&&t.complete()}))))}),(function(){r=!0,!n&&t.complete()})))}))},kb.exhaust=void 0;var Nb=Cb;kb.exhaust=Nb.exhaustAll;var Bb={exhaustMap:void 0},Lb=As,zb=Pu,Ub=_i,Wb=Pi;Bb.exhaustMap=function e(t,r){return r?function(n){return n.pipe(e((function(e,n){return zb.innerFrom(t(e,n)).pipe(Lb.map((function(t,o){return r(e,t,n,o)})))})))}:Ub.operate((function(e,r){var n=0,o=null,i=!1;e.subscribe(Wb.createOperatorSubscriber(r,(function(e){o||(o=Wb.createOperatorSubscriber(r,void 0,(function(){o=null,i&&r.complete()})),zb.innerFrom(t(e,n++)).subscribe(o))}),(function(){i=!0,!o&&r.complete()})))}))};var qb={expand:void 0},Db=_i,Vb=vl;qb.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,Db.operate((function(n,o){return Vb.mergeInternals(n,o,e,t,void 0,!0,r)}))};var $b={finalize:void 0},Yb=_i;$b.finalize=function(e){return Yb.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))};var Hb={};Hb.createFind=Hb.find=void 0;var Jb=_i,Kb=Pi;function Gb(e,t,r){var n="index"===r;return function(r,o){var i=0;r.subscribe(Kb.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()})))}}Hb.find=function(e,t){return Jb.operate(Gb(e,t,"value"))},Hb.createFind=Gb;var Qb={findIndex:void 0},Xb=_i,Zb=Hb;Qb.findIndex=function(e,t){return Xb.operate(Zb.createFind(e,t,"index"))};var ey={first:void 0},ty=fs,ry=Kf,ny=Fv,oy=Av,iy=db,ay=si;ey.first=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)})):ay.identity,ny.take(1),r?oy.defaultIfEmpty(t):iy.throwIfEmpty((function(){return new ty.EmptyError})))}};var uy={groupBy:void 0},cy=Mo,sy=Pu,ly=Ji,fy=_i,py=Pi;uy.groupBy=function(e,t,r,n){return fy.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 py.OperatorSubscriber(i,(function(t){try{var o=e(t),c=u.get(o);if(!c){u.set(o,c=n?n():new ly.Subject);var d=(b=o,y=c,(h=new cy.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=py.createOperatorSubscriber(c,(function(){c.complete(),null==v||v.unsubscribe()}),void 0,void 0,(function(){return u.delete(o)}));p.add(sy.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 dy={isEmpty:void 0},vy=_i,by=Pi;dy.isEmpty=function(){return vy.operate((function(e,t){e.subscribe(by.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))};var yy={},hy={},my=o&&o.__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.")};hy.takeLast=void 0;var gy=yu,wy=_i,Oy=Pi;hy.takeLast=function(e){return e<=0?function(){return gy.EMPTY}:wy.operate((function(t,r){var n=[];t.subscribe(Oy.createOperatorSubscriber(r,(function(t){n.push(t),e<n.length&&n.shift()}),(function(){var e,t;try{for(var o=my(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})))}))},yy.last=void 0;var Sy=fs,_y=Kf,xy=hy,jy=db,Ey=Av,Py=si;yy.last=function(e,t){var r=arguments.length>=2;return function(n){return n.pipe(e?_y.filter((function(t,r){return e(t,r,n)})):Py.identity,xy.takeLast(1),r?Ey.defaultIfEmpty(t):jy.throwIfEmpty((function(){return new Sy.EmptyError})))}};var Ay={materialize:void 0},Ty=bu,Iy=_i,ky=Pi;Ay.materialize=function(){return Iy.operate((function(e,t){e.subscribe(ky.createOperatorSubscriber(t,(function(e){t.next(Ty.Notification.createNext(e))}),(function(){t.next(Ty.Notification.createComplete()),t.complete()}),(function(e){t.next(Ty.Notification.createError(e)),t.complete()})))}))};var Cy={max:void 0},Fy=hd,My=No;Cy.max=function(e){return Fy.reduce(My.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})};var Ry={flatMap:void 0},Ny=dl;Ry.flatMap=Ny.mergeMap;var By={mergeMapTo:void 0},Ly=dl,zy=No;By.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),zy.isFunction(t)?Ly.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),Ly.mergeMap((function(){return e}),r))};var Uy={mergeScan:void 0},Wy=_i,qy=vl;Uy.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),Wy.operate((function(n,o){var i=t;return qy.mergeInternals(n,o,(function(t,r){return e(i,t,r)}),r,(function(e){i=e}),!1,void 0,(function(){return i=null}))}))};var Dy={},Vy={},$y=o&&o.__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},Yy=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Vy.merge=void 0;var Hy=_i,Jy=Ff,Ky=pl,Gy=mu,Qy=xu;Vy.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Gy.popScheduler(e),n=Gy.popNumber(e,1/0);return e=Jy.argsOrArgArray(e),Hy.operate((function(t,o){Ky.mergeAll(n)(Qy.from(Yy([t],$y(e)),r)).subscribe(o)}))};var Xy=o&&o.__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},Zy=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Dy.mergeWith=void 0;var eh=Vy;Dy.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eh.merge.apply(void 0,Zy([],Xy(e)))};var th={min:void 0},rh=hd,nh=No;th.min=function(e){return rh.reduce(nh.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})};var oh={multicast:void 0},ih=Oi,ah=No,uh=sv;oh.multicast=function(e,t){var r=ah.isFunction(e)?e:function(){return e};return ah.isFunction(t)?uh.connect(t,{connector:r}):function(e){return new ih.ConnectableObservable(e,r)}};var ch={pairwise:void 0},sh=_i,lh=Pi;ch.pairwise=function(){return sh.operate((function(e,t){var r,n=!1;e.subscribe(lh.createOperatorSubscriber(t,(function(e){var o=r;r=e,n&&t.next([o,e]),n=!0})))}))};var fh={pluck:void 0},ph=As;fh.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 ph.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 dh={publish:void 0},vh=Ji,bh=oh,yh=sv;dh.publish=function(e){return e?function(t){return yh.connect(e)(t)}:function(e){return bh.multicast(new vh.Subject)(e)}};var hh={publishBehavior:void 0},mh=aa,gh=Oi;hh.publishBehavior=function(e){return function(t){var r=new mh.BehaviorSubject(e);return new gh.ConnectableObservable(t,(function(){return r}))}};var wh={publishLast:void 0},Oh=va,Sh=Oi;wh.publishLast=function(){return function(e){var t=new Oh.AsyncSubject;return new Sh.ConnectableObservable(e,(function(){return t}))}};var _h={publishReplay:void 0},xh=sa,jh=oh,Eh=No;_h.publishReplay=function(e,t,r,n){r&&!Eh.isFunction(r)&&(n=r);var o=Eh.isFunction(r)?r:void 0;return function(r){return jh.multicast(new xh.ReplaySubject(e,t,n),o)(r)}};var Ph={},Ah=o&&o.__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},Th=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Ph.raceWith=void 0;var Ih=tp,kh=_i,Ch=si;Ph.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?kh.operate((function(t,r){Ih.raceInit(Th([t],Ah(e)))(r)})):Ch.identity};var Fh={repeat:void 0},Mh=yu,Rh=_i,Nh=Pi,Bh=Pu,Lh=hf;Fh.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 Mh.EMPTY}:Rh.operate((function(e,t){var o,i=0,a=function(){if(null==o||o.unsubscribe(),o=null,null!=r){var e="number"==typeof r?Lh.timer(r):Bh.innerFrom(r(i)),n=Nh.createOperatorSubscriber(t,(function(){n.unsubscribe(),u()}));e.subscribe(n)}else u()},u=function(){var r=!1;o=e.subscribe(Nh.createOperatorSubscriber(t,void 0,(function(){++i<n?o?a():r=!0:t.complete()}))),r&&a()};u()}))};var zh={repeatWhen:void 0},Uh=Ji,Wh=_i,qh=Pi;zh.repeatWhen=function(e){return Wh.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(qh.createOperatorSubscriber(r,void 0,(function(){u=!0,!c()&&(o||(o=new Uh.Subject,e(o).subscribe(qh.createOperatorSubscriber(r,(function(){n?s():i=!0}),(function(){a=!0,c()})))),o).next()}))),i&&(n.unsubscribe(),n=null,i=!1,s())};s()}))};var Dh={retry:void 0},Vh=_i,$h=Pi,Yh=si,Hh=hf,Jh=Pu;Dh.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?Yh.identity:Vh.operate((function(e,t){var r,i=0,u=function(){var c=!1;r=e.subscribe($h.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?Hh.timer(o):Jh.innerFrom(o(e,i)),l=$h.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 Kh={retryWhen:void 0},Gh=Ji,Qh=_i,Xh=Pi;Kh.retryWhen=function(e){return Qh.operate((function(t,r){var n,o,i=!1,a=function(){n=t.subscribe(Xh.createOperatorSubscriber(r,void 0,void 0,(function(t){o||(o=new Gh.Subject,e(o).subscribe(Xh.createOperatorSubscriber(r,(function(){return n?a():i=!0})))),o&&o.next(t)}))),i&&(n.unsubscribe(),n=null,i=!1,a())};a()}))};var Zh={sample:void 0},em=_i,tm=ti,rm=Pi;Zh.sample=function(e){return em.operate((function(t,r){var n=!1,o=null;t.subscribe(rm.createOperatorSubscriber(r,(function(e){n=!0,o=e}))),e.subscribe(rm.createOperatorSubscriber(r,(function(){if(n){n=!1;var e=o;o=null,r.next(e)}}),tm.noop))}))};var nm={sampleTime:void 0},om=Ha,im=Zh,am=yf;nm.sampleTime=function(e,t){return void 0===t&&(t=om.asyncScheduler),im.sample(am.interval(e,t))};var um={scan:void 0},cm=_i,sm=md;um.scan=function(e,t){return cm.operate(sm.scanInternals(e,t,arguments.length>=2,!0))};var lm={sequenceEqual:void 0},fm=_i,pm=Pi;lm.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),fm.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=pm.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 dm={},vm=o&&o.__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},bm=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};dm.share=void 0;var ym=xu,hm=Fv,mm=Ji,gm=Ro,wm=_i;function Om(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,bm([],vm(r))).pipe(hm.take(1)).subscribe((function(){return e()}))}dm.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new mm.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 wm.operate((function(e,v){u++,l||s||f();var b=i=null!=i?i:r();v.add((function(){0!==--u||l||s||(n=Om(d,c))})),b.subscribe(v),t||(t=new gm.SafeSubscriber({next:function(e){return b.next(e)},error:function(e){l=!0,f(),n=Om(p,o,e),b.error(e)},complete:function(){s=!0,f(),n=Om(p,a),b.complete()}}),ym.from(e).subscribe(t))}))(e)}};var Sm={shareReplay:void 0},_m=sa,xm=dm;Sm.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,xm.share({connector:function(){return new _m.ReplaySubject(a,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})};var jm={single:void 0},Em=fs,Pm=Os,Am=gs,Tm=_i,Im=Pi;jm.single=function(e){return Tm.operate((function(t,r){var n,o=!1,i=!1,a=0;t.subscribe(Im.createOperatorSubscriber(r,(function(u){i=!0,e&&!e(u,a++,t)||(o&&r.error(new Pm.SequenceError("Too many matching values")),o=!0,n=u)}),(function(){o?(r.next(n),r.complete()):r.error(i?new Am.NotFoundError("No matching values"):new Em.EmptyError)})))}))};var km={skip:void 0},Cm=Kf;km.skip=function(e){return Cm.filter((function(t,r){return e<=r}))};var Fm={skipLast:void 0},Mm=si,Rm=_i,Nm=Pi;Fm.skipLast=function(e){return e<=0?Mm.identity:Rm.operate((function(t,r){var n=new Array(e),o=0;return t.subscribe(Nm.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 Bm={skipUntil:void 0},Lm=_i,zm=Pi,Um=Pu,Wm=ti;Bm.skipUntil=function(e){return Lm.operate((function(t,r){var n=!1,o=zm.createOperatorSubscriber(r,(function(){null==o||o.unsubscribe(),n=!0}),Wm.noop);Um.innerFrom(e).subscribe(o),t.subscribe(zm.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))};var qm={skipWhile:void 0},Dm=_i,Vm=Pi;qm.skipWhile=function(e){return Dm.operate((function(t,r){var n=!1,o=0;t.subscribe(Vm.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,o++)))&&r.next(t)})))}))};var $m={startWith:void 0},Ym=ll,Hm=mu,Jm=_i;$m.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Hm.popScheduler(e);return Jm.operate((function(t,n){(r?Ym.concat(e,t,r):Ym.concat(e,t)).subscribe(n)}))};var Km={},Gm={switchMap:void 0},Qm=Pu,Xm=_i,Zm=Pi;Gm.switchMap=function(e,t){return Xm.operate((function(r,n){var o=null,i=0,a=!1,u=function(){return a&&!o&&n.complete()};r.subscribe(Zm.createOperatorSubscriber(n,(function(r){null==o||o.unsubscribe();var a=0,c=i++;Qm.innerFrom(e(r,c)).subscribe(o=Zm.createOperatorSubscriber(n,(function(e){return n.next(t?t(r,e,c,a++):e)}),(function(){o=null,u()})))}),(function(){a=!0,u()})))}))},Km.switchAll=void 0;var eg=Gm,tg=si;Km.switchAll=function(){return eg.switchMap(tg.identity)};var rg={switchMapTo:void 0},ng=Gm,og=No;rg.switchMapTo=function(e,t){return og.isFunction(t)?ng.switchMap((function(){return e}),t):ng.switchMap((function(){return e}))};var ig={switchScan:void 0},ag=Gm,ug=_i;ig.switchScan=function(e,t){return ug.operate((function(r,n){var o=t;return ag.switchMap((function(t,r){return e(o,t,r)}),(function(e,t){return o=t,t}))(r).subscribe(n),function(){o=null}}))};var cg={takeUntil:void 0},sg=_i,lg=Pi,fg=Pu,pg=ti;cg.takeUntil=function(e){return sg.operate((function(t,r){fg.innerFrom(e).subscribe(lg.createOperatorSubscriber(r,(function(){return r.complete()}),pg.noop)),!r.closed&&t.subscribe(r)}))};var dg={takeWhile:void 0},vg=_i,bg=Pi;dg.takeWhile=function(e,t){return void 0===t&&(t=!1),vg.operate((function(r,n){var o=0;r.subscribe(bg.createOperatorSubscriber(n,(function(r){var i=e(r,o++);(i||t)&&n.next(r),!i&&n.complete()})))}))};var yg={tap:void 0},hg=No,mg=_i,gg=Pi,wg=si;yg.tap=function(e,t,r){var n=hg.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return n?mg.operate((function(e,t){var r;null===(r=n.subscribe)||void 0===r||r.call(n);var o=!0;e.subscribe(gg.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)})))})):wg.identity};var Og={};!function(e){e.throttle=e.defaultThrottleConfig=void 0;var t=_i,r=Pi,n=Pu;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()})))}))}}(Og);var Sg={throttleTime:void 0},_g=Ha,xg=Og,jg=hf;Sg.throttleTime=function(e,t,r){void 0===t&&(t=_g.asyncScheduler),void 0===r&&(r=xg.defaultThrottleConfig);var n=jg.timer(e,t);return xg.throttle((function(){return n}),r)};var Eg={};Eg.TimeInterval=Eg.timeInterval=void 0;var Pg=Ha,Ag=_i,Tg=Pi;Eg.timeInterval=function(e){return void 0===e&&(e=Pg.asyncScheduler),Ag.operate((function(t,r){var n=e.now();t.subscribe(Tg.createOperatorSubscriber(r,(function(t){var o=e.now(),i=o-n;n=o,r.next(new Ig(t,i))})))}))};var Ig=function(e,t){this.value=e,this.interval=t};Eg.TimeInterval=Ig;var kg={timeoutWith:void 0},Cg=Ha,Fg=xs,Mg=_s;kg.timeoutWith=function(e,t,r){var n,o,i;if(r=null!=r?r:Cg.async,Fg.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 Mg.timeout({first:n,each:o,scheduler:r,with:i})};var Rg={timestamp:void 0},Ng=la,Bg=As;Rg.timestamp=function(e){return void 0===e&&(e=Ng.dateTimestampProvider),Bg.map((function(t){return{value:t,timestamp:e.now()}}))};var Lg={window:void 0},zg=Ji,Ug=_i,Wg=Pi,qg=ti;Lg.window=function(e){return Ug.operate((function(t,r){var n=new zg.Subject;r.next(n.asObservable());var o=function(e){n.error(e),r.error(e)};return t.subscribe(Wg.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.next(e)}),(function(){n.complete(),r.complete()}),o)),e.subscribe(Wg.createOperatorSubscriber(r,(function(){n.complete(),r.next(n=new zg.Subject)}),qg.noop,o)),function(){null==n||n.unsubscribe(),n=null}}))};var Dg={},Vg=o&&o.__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.")};Dg.windowCount=void 0;var $g=Ji,Yg=_i,Hg=Pi;Dg.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return Yg.operate((function(t,n){var o=[new $g.Subject],i=0;n.next(o[0].asObservable()),t.subscribe(Hg.createOperatorSubscriber(n,(function(t){var a,u;try{for(var c=Vg(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 $g.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 Jg={windowTime:void 0},Kg=Ji,Gg=Ha,Qg=Bo,Xg=_i,Zg=Pi,ew=Wo,tw=mu,rw=bc;Jg.windowTime=function(e){for(var t,r,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=null!==(t=tw.popScheduler(n))&&void 0!==t?t:Gg.asyncScheduler,a=null!==(r=n[0])&&void 0!==r?r:null,u=n[1]||1/0;return Xg.operate((function(t,r){var n=[],o=!1,c=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),ew.arrRemove(n,e),o&&s()},s=function(){if(n){var t=new Qg.Subscription;r.add(t);var o=new Kg.Subject,a={window:o,subs:t,seen:0};n.push(a),r.next(o.asObservable()),rw.executeSchedule(t,i,(function(){return c(a)}),e)}};null!==a&&a>=0?rw.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(Zg.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 nw={},ow=o&&o.__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.")};nw.windowToggle=void 0;var iw=Ji,aw=Bo,uw=_i,cw=Pu,sw=Pi,lw=ti,fw=Wo;nw.windowToggle=function(e,t){return uw.operate((function(r,n){var o=[],i=function(e){for(;0<o.length;)o.shift().error(e);n.error(e)};cw.innerFrom(e).subscribe(sw.createOperatorSubscriber(n,(function(e){var r=new iw.Subject;o.push(r);var a,u=new aw.Subscription;try{a=cw.innerFrom(t(e))}catch(e){return void i(e)}n.next(r.asObservable()),u.add(a.subscribe(sw.createOperatorSubscriber(n,(function(){fw.arrRemove(o,r),r.complete(),u.unsubscribe()}),lw.noop,i)))}),lw.noop)),r.subscribe(sw.createOperatorSubscriber(n,(function(e){var t,r,n=o.slice();try{for(var i=ow(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 pw={windowWhen:void 0},dw=Ji,vw=_i,bw=Pi,yw=Pu;pw.windowWhen=function(e){return vw.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 dw.Subject,r.next(n.asObservable());try{t=yw.innerFrom(e())}catch(e){return void i(e)}t.subscribe(o=bw.createOperatorSubscriber(r,a,a,i))};a(),t.subscribe(bw.createOperatorSubscriber(r,(function(e){return n.next(e)}),(function(){n.complete(),r.complete()}),i,(function(){null==o||o.unsubscribe(),n=null})))}))};var hw={},mw=o&&o.__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=o&&o.__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.withLatestFrom=void 0;var ww=_i,Ow=Pi,Sw=Pu,_w=si,xw=ti,jw=mu;hw.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=jw.popResultSelector(e);return ww.operate((function(t,n){for(var o=e.length,i=new Array(o),a=e.map((function(){return!1})),u=!1,c=function(t){Sw.innerFrom(e[t]).subscribe(Ow.createOperatorSubscriber(n,(function(e){i[t]=e,u||a[t]||(a[t]=!0,(u=a.every(_w.identity))&&(a=null))}),xw.noop))},s=0;s<o;s++)c(s);t.subscribe(Ow.createOperatorSubscriber(n,(function(e){if(u){var t=gw([e],mw(i));n.next(r?r.apply(void 0,gw([],mw(t))):t)}})))}))};var Ew={zipAll:void 0},Pw=vp,Aw=bd;Ew.zipAll=function(e){return Aw.joinAllInternals(Pw.zip,e)};var Tw={},Iw={},kw=o&&o.__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},Cw=o&&o.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};Iw.zip=void 0;var Fw=vp,Mw=_i;Iw.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Mw.operate((function(t,r){Fw.zip.apply(void 0,Cw([t],kw(e))).subscribe(r)}))};var Rw=o&&o.__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},Nw=o&&o.__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.zipWith=void 0;var Bw=Iw;Tw.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Bw.zip.apply(void 0,Nw([],Rw(e)))},function(e){var t=o&&o.__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=o&&o.__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 n=Mo;Object.defineProperty(e,"Observable",{enumerable:!0,get:function(){return n.Observable}});var i=Oi;Object.defineProperty(e,"ConnectableObservable",{enumerable:!0,get:function(){return i.ConnectableObservable}});var a=ui;Object.defineProperty(e,"observable",{enumerable:!0,get:function(){return a.observable}});var u=zi;Object.defineProperty(e,"animationFrames",{enumerable:!0,get:function(){return u.animationFrames}});var c=Ji;Object.defineProperty(e,"Subject",{enumerable:!0,get:function(){return c.Subject}});var s=aa;Object.defineProperty(e,"BehaviorSubject",{enumerable:!0,get:function(){return s.BehaviorSubject}});var l=sa;Object.defineProperty(e,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var f=va;Object.defineProperty(e,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var p=ha;Object.defineProperty(e,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(e,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var d=Ha;Object.defineProperty(e,"async",{enumerable:!0,get:function(){return d.async}}),Object.defineProperty(e,"asyncScheduler",{enumerable:!0,get:function(){return d.asyncScheduler}});var v=Ja;Object.defineProperty(e,"queue",{enumerable:!0,get:function(){return v.queue}}),Object.defineProperty(e,"queueScheduler",{enumerable:!0,get:function(){return v.queueScheduler}});var b=tu;Object.defineProperty(e,"animationFrame",{enumerable:!0,get:function(){return b.animationFrame}}),Object.defineProperty(e,"animationFrameScheduler",{enumerable:!0,get:function(){return b.animationFrameScheduler}});var y=su;Object.defineProperty(e,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(e,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var h=za;Object.defineProperty(e,"Scheduler",{enumerable:!0,get:function(){return h.Scheduler}});var m=Bo;Object.defineProperty(e,"Subscription",{enumerable:!0,get:function(){return m.Subscription}});var g=Ro;Object.defineProperty(e,"Subscriber",{enumerable:!0,get:function(){return g.Subscriber}});var w=bu;Object.defineProperty(e,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(e,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var O=ci;Object.defineProperty(e,"pipe",{enumerable:!0,get:function(){return O.pipe}});var S=ti;Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return S.noop}});var _=si;Object.defineProperty(e,"identity",{enumerable:!0,get:function(){return _.identity}});var x=us;Object.defineProperty(e,"isObservable",{enumerable:!0,get:function(){return x.isObservable}});var j=ls;Object.defineProperty(e,"lastValueFrom",{enumerable:!0,get:function(){return j.lastValueFrom}});var E=vs;Object.defineProperty(e,"firstValueFrom",{enumerable:!0,get:function(){return E.firstValueFrom}});var P=hs;Object.defineProperty(e,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return P.ArgumentOutOfRangeError}});var A=fs;Object.defineProperty(e,"EmptyError",{enumerable:!0,get:function(){return A.EmptyError}});var T=gs;Object.defineProperty(e,"NotFoundError",{enumerable:!0,get:function(){return T.NotFoundError}});var I=Ki;Object.defineProperty(e,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return I.ObjectUnsubscribedError}});var k=Os;Object.defineProperty(e,"SequenceError",{enumerable:!0,get:function(){return k.SequenceError}});var C=_s;Object.defineProperty(e,"TimeoutError",{enumerable:!0,get:function(){return C.TimeoutError}});var F=Lo;Object.defineProperty(e,"UnsubscriptionError",{enumerable:!0,get:function(){return F.UnsubscriptionError}});var M=js;Object.defineProperty(e,"bindCallback",{enumerable:!0,get:function(){return M.bindCallback}});var R=Vs;Object.defineProperty(e,"bindNodeCallback",{enumerable:!0,get:function(){return R.bindNodeCallback}});var N=Ys;Object.defineProperty(e,"combineLatest",{enumerable:!0,get:function(){return N.combineLatest}});var B=ll;Object.defineProperty(e,"concat",{enumerable:!0,get:function(){return B.concat}});var L=Tl;Object.defineProperty(e,"connectable",{enumerable:!0,get:function(){return L.connectable}});var z=Il;Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return z.defer}});var U=yu;Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return U.empty}});var W=Bl;Object.defineProperty(e,"forkJoin",{enumerable:!0,get:function(){return W.forkJoin}});var q=xu;Object.defineProperty(e,"from",{enumerable:!0,get:function(){return q.from}});var D=$l;Object.defineProperty(e,"fromEvent",{enumerable:!0,get:function(){return D.fromEvent}});var V=nf;Object.defineProperty(e,"fromEventPattern",{enumerable:!0,get:function(){return V.fromEventPattern}});var $=cf;Object.defineProperty(e,"generate",{enumerable:!0,get:function(){return $.generate}});var Y=vf;Object.defineProperty(e,"iif",{enumerable:!0,get:function(){return Y.iif}});var H=yf;Object.defineProperty(e,"interval",{enumerable:!0,get:function(){return H.interval}});var J=xf;Object.defineProperty(e,"merge",{enumerable:!0,get:function(){return J.merge}});var K=If;Object.defineProperty(e,"never",{enumerable:!0,get:function(){return K.never}});var G=hu;Object.defineProperty(e,"of",{enumerable:!0,get:function(){return G.of}});var Q=kf;Object.defineProperty(e,"onErrorResumeNext",{enumerable:!0,get:function(){return Q.onErrorResumeNext}});var X=$f;Object.defineProperty(e,"pairs",{enumerable:!0,get:function(){return X.pairs}});var Z=Hf;Object.defineProperty(e,"partition",{enumerable:!0,get:function(){return Z.partition}});var ee=tp;Object.defineProperty(e,"race",{enumerable:!0,get:function(){return ee.race}});var te=up;Object.defineProperty(e,"range",{enumerable:!0,get:function(){return te.range}});var re=os;Object.defineProperty(e,"throwError",{enumerable:!0,get:function(){return re.throwError}});var ne=hf;Object.defineProperty(e,"timer",{enumerable:!0,get:function(){return ne.timer}});var oe=lp;Object.defineProperty(e,"using",{enumerable:!0,get:function(){return oe.using}});var ie=vp;Object.defineProperty(e,"zip",{enumerable:!0,get:function(){return ie.zip}});var ae=ju;Object.defineProperty(e,"scheduled",{enumerable:!0,get:function(){return ae.scheduled}});var ue=yu;Object.defineProperty(e,"EMPTY",{enumerable:!0,get:function(){return ue.EMPTY}});var ce=If;Object.defineProperty(e,"NEVER",{enumerable:!0,get:function(){return ce.NEVER}}),r(_p,e);var se=Go;Object.defineProperty(e,"config",{enumerable:!0,get:function(){return se.config}});var le=xp;Object.defineProperty(e,"audit",{enumerable:!0,get:function(){return le.audit}});var fe=Ap;Object.defineProperty(e,"auditTime",{enumerable:!0,get:function(){return fe.auditTime}});var pe=Cp;Object.defineProperty(e,"buffer",{enumerable:!0,get:function(){return pe.buffer}});var de=Np;Object.defineProperty(e,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ve=Wp;Object.defineProperty(e,"bufferTime",{enumerable:!0,get:function(){return ve.bufferTime}});var be=Gp;Object.defineProperty(e,"bufferToggle",{enumerable:!0,get:function(){return be.bufferToggle}});var ye=od;Object.defineProperty(e,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var he=sd;Object.defineProperty(e,"catchError",{enumerable:!0,get:function(){return he.catchError}});var me=dd;Object.defineProperty(e,"combineAll",{enumerable:!0,get:function(){return me.combineAll}});var ge=vd;Object.defineProperty(e,"combineLatestAll",{enumerable:!0,get:function(){return ge.combineLatestAll}});var we=Fd;Object.defineProperty(e,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Oe=fl;Object.defineProperty(e,"concatAll",{enumerable:!0,get:function(){return Oe.concatAll}});var Se=Yd;Object.defineProperty(e,"concatMap",{enumerable:!0,get:function(){return Se.concatMap}});var _e=Kd;Object.defineProperty(e,"concatMapTo",{enumerable:!0,get:function(){return _e.concatMapTo}});var xe=Xd;Object.defineProperty(e,"concatWith",{enumerable:!0,get:function(){return xe.concatWith}});var je=sv;Object.defineProperty(e,"connect",{enumerable:!0,get:function(){return je.connect}});var Ee=hv;Object.defineProperty(e,"count",{enumerable:!0,get:function(){return Ee.count}});var Pe=gv;Object.defineProperty(e,"debounce",{enumerable:!0,get:function(){return Pe.debounce}});var Ae=xv;Object.defineProperty(e,"debounceTime",{enumerable:!0,get:function(){return Ae.debounceTime}});var Te=Av;Object.defineProperty(e,"defaultIfEmpty",{enumerable:!0,get:function(){return Te.defaultIfEmpty}});var Ie=kv;Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return Ie.delay}});var ke=Cv;Object.defineProperty(e,"delayWhen",{enumerable:!0,get:function(){return ke.delayWhen}});var Ce=Qv;Object.defineProperty(e,"dematerialize",{enumerable:!0,get:function(){return Ce.dematerialize}});var Fe=tb;Object.defineProperty(e,"distinct",{enumerable:!0,get:function(){return Fe.distinct}});var Me=ib;Object.defineProperty(e,"distinctUntilChanged",{enumerable:!0,get:function(){return Me.distinctUntilChanged}});var Re=lb;Object.defineProperty(e,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Re.distinctUntilKeyChanged}});var Ne=pb;Object.defineProperty(e,"elementAt",{enumerable:!0,get:function(){return Ne.elementAt}});var Be=_b;Object.defineProperty(e,"endWith",{enumerable:!0,get:function(){return Be.endWith}});var Le=Ab;Object.defineProperty(e,"every",{enumerable:!0,get:function(){return Le.every}});var ze=kb;Object.defineProperty(e,"exhaust",{enumerable:!0,get:function(){return ze.exhaust}});var Ue=Cb;Object.defineProperty(e,"exhaustAll",{enumerable:!0,get:function(){return Ue.exhaustAll}});var We=Bb;Object.defineProperty(e,"exhaustMap",{enumerable:!0,get:function(){return We.exhaustMap}});var qe=qb;Object.defineProperty(e,"expand",{enumerable:!0,get:function(){return qe.expand}});var De=Kf;Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return De.filter}});var Ve=$b;Object.defineProperty(e,"finalize",{enumerable:!0,get:function(){return Ve.finalize}});var $e=Hb;Object.defineProperty(e,"find",{enumerable:!0,get:function(){return $e.find}});var Ye=Qb;Object.defineProperty(e,"findIndex",{enumerable:!0,get:function(){return Ye.findIndex}});var He=ey;Object.defineProperty(e,"first",{enumerable:!0,get:function(){return He.first}});var Je=uy;Object.defineProperty(e,"groupBy",{enumerable:!0,get:function(){return Je.groupBy}});var Ke=Bv;Object.defineProperty(e,"ignoreElements",{enumerable:!0,get:function(){return Ke.ignoreElements}});var Ge=dy;Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return Ge.isEmpty}});var Qe=yy;Object.defineProperty(e,"last",{enumerable:!0,get:function(){return Qe.last}});var Xe=As;Object.defineProperty(e,"map",{enumerable:!0,get:function(){return Xe.map}});var Ze=Wv;Object.defineProperty(e,"mapTo",{enumerable:!0,get:function(){return Ze.mapTo}});var et=Ay;Object.defineProperty(e,"materialize",{enumerable:!0,get:function(){return et.materialize}});var tt=Cy;Object.defineProperty(e,"max",{enumerable:!0,get:function(){return tt.max}});var rt=pl;Object.defineProperty(e,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var nt=Ry;Object.defineProperty(e,"flatMap",{enumerable:!0,get:function(){return nt.flatMap}});var ot=dl;Object.defineProperty(e,"mergeMap",{enumerable:!0,get:function(){return ot.mergeMap}});var it=By;Object.defineProperty(e,"mergeMapTo",{enumerable:!0,get:function(){return it.mergeMapTo}});var at=Uy;Object.defineProperty(e,"mergeScan",{enumerable:!0,get:function(){return at.mergeScan}});var ut=Dy;Object.defineProperty(e,"mergeWith",{enumerable:!0,get:function(){return ut.mergeWith}});var ct=th;Object.defineProperty(e,"min",{enumerable:!0,get:function(){return ct.min}});var st=oh;Object.defineProperty(e,"multicast",{enumerable:!0,get:function(){return st.multicast}});var lt=vc;Object.defineProperty(e,"observeOn",{enumerable:!0,get:function(){return lt.observeOn}});var ft=ch;Object.defineProperty(e,"pairwise",{enumerable:!0,get:function(){return ft.pairwise}});var pt=fh;Object.defineProperty(e,"pluck",{enumerable:!0,get:function(){return pt.pluck}});var dt=dh;Object.defineProperty(e,"publish",{enumerable:!0,get:function(){return dt.publish}});var vt=hh;Object.defineProperty(e,"publishBehavior",{enumerable:!0,get:function(){return vt.publishBehavior}});var bt=wh;Object.defineProperty(e,"publishLast",{enumerable:!0,get:function(){return bt.publishLast}});var yt=_h;Object.defineProperty(e,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var ht=Ph;Object.defineProperty(e,"raceWith",{enumerable:!0,get:function(){return ht.raceWith}});var mt=hd;Object.defineProperty(e,"reduce",{enumerable:!0,get:function(){return mt.reduce}});var gt=Fh;Object.defineProperty(e,"repeat",{enumerable:!0,get:function(){return gt.repeat}});var wt=zh;Object.defineProperty(e,"repeatWhen",{enumerable:!0,get:function(){return wt.repeatWhen}});var Ot=Dh;Object.defineProperty(e,"retry",{enumerable:!0,get:function(){return Ot.retry}});var St=Kh;Object.defineProperty(e,"retryWhen",{enumerable:!0,get:function(){return St.retryWhen}});var _t=Si;Object.defineProperty(e,"refCount",{enumerable:!0,get:function(){return _t.refCount}});var xt=Zh;Object.defineProperty(e,"sample",{enumerable:!0,get:function(){return xt.sample}});var jt=nm;Object.defineProperty(e,"sampleTime",{enumerable:!0,get:function(){return jt.sampleTime}});var Et=um;Object.defineProperty(e,"scan",{enumerable:!0,get:function(){return Et.scan}});var Pt=lm;Object.defineProperty(e,"sequenceEqual",{enumerable:!0,get:function(){return Pt.sequenceEqual}});var At=dm;Object.defineProperty(e,"share",{enumerable:!0,get:function(){return At.share}});var Tt=Sm;Object.defineProperty(e,"shareReplay",{enumerable:!0,get:function(){return Tt.shareReplay}});var It=jm;Object.defineProperty(e,"single",{enumerable:!0,get:function(){return It.single}});var kt=km;Object.defineProperty(e,"skip",{enumerable:!0,get:function(){return kt.skip}});var Ct=Fm;Object.defineProperty(e,"skipLast",{enumerable:!0,get:function(){return Ct.skipLast}});var Ft=Bm;Object.defineProperty(e,"skipUntil",{enumerable:!0,get:function(){return Ft.skipUntil}});var Mt=qm;Object.defineProperty(e,"skipWhile",{enumerable:!0,get:function(){return Mt.skipWhile}});var Rt=$m;Object.defineProperty(e,"startWith",{enumerable:!0,get:function(){return Rt.startWith}});var Nt=gc;Object.defineProperty(e,"subscribeOn",{enumerable:!0,get:function(){return Nt.subscribeOn}});var Bt=Km;Object.defineProperty(e,"switchAll",{enumerable:!0,get:function(){return Bt.switchAll}});var Lt=Gm;Object.defineProperty(e,"switchMap",{enumerable:!0,get:function(){return Lt.switchMap}});var zt=rg;Object.defineProperty(e,"switchMapTo",{enumerable:!0,get:function(){return zt.switchMapTo}});var Ut=ig;Object.defineProperty(e,"switchScan",{enumerable:!0,get:function(){return Ut.switchScan}});var Wt=Fv;Object.defineProperty(e,"take",{enumerable:!0,get:function(){return Wt.take}});var qt=hy;Object.defineProperty(e,"takeLast",{enumerable:!0,get:function(){return qt.takeLast}});var Dt=cg;Object.defineProperty(e,"takeUntil",{enumerable:!0,get:function(){return Dt.takeUntil}});var Vt=dg;Object.defineProperty(e,"takeWhile",{enumerable:!0,get:function(){return Vt.takeWhile}});var $t=yg;Object.defineProperty(e,"tap",{enumerable:!0,get:function(){return $t.tap}});var Yt=Og;Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return Yt.throttle}});var Ht=Sg;Object.defineProperty(e,"throttleTime",{enumerable:!0,get:function(){return Ht.throttleTime}});var Jt=db;Object.defineProperty(e,"throwIfEmpty",{enumerable:!0,get:function(){return Jt.throwIfEmpty}});var Kt=Eg;Object.defineProperty(e,"timeInterval",{enumerable:!0,get:function(){return Kt.timeInterval}});var Gt=_s;Object.defineProperty(e,"timeout",{enumerable:!0,get:function(){return Gt.timeout}});var Qt=kg;Object.defineProperty(e,"timeoutWith",{enumerable:!0,get:function(){return Qt.timeoutWith}});var Xt=Rg;Object.defineProperty(e,"timestamp",{enumerable:!0,get:function(){return Xt.timestamp}});var Zt=yd;Object.defineProperty(e,"toArray",{enumerable:!0,get:function(){return Zt.toArray}});var er=Lg;Object.defineProperty(e,"window",{enumerable:!0,get:function(){return er.window}});var tr=Dg;Object.defineProperty(e,"windowCount",{enumerable:!0,get:function(){return tr.windowCount}});var rr=Jg;Object.defineProperty(e,"windowTime",{enumerable:!0,get:function(){return rr.windowTime}});var nr=nw;Object.defineProperty(e,"windowToggle",{enumerable:!0,get:function(){return nr.windowToggle}});var or=pw;Object.defineProperty(e,"windowWhen",{enumerable:!0,get:function(){return or.windowWhen}});var ir=hw;Object.defineProperty(e,"withLatestFrom",{enumerable:!0,get:function(){return ir.withLatestFrom}});var ar=Ew;Object.defineProperty(e,"zipAll",{enumerable:!0,get:function(){return ar.zipAll}});var ur=Tw;Object.defineProperty(e,"zipWith",{enumerable:!0,get:function(){return ur.zipWith}})}(Fo),function(e){e.BadEventError=e.ObservableFiniteStateMachine=void 0;const t=To,r=Fo,n=b;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=To;Object.defineProperty(e,"BadEventError",{enumerable:!0,get:function(){return i.BadEventError}})}(Co),function(e){var t=o&&o.__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=o&&o.__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(Un,e),r(Wn,e),r(Dn,e),r($n,e),r(Hn,e),r(Kn,e),r(Zn,e),r(wo,e),r(jo,e),r(To,e),r(Co,e)}(Ln),e.ObservableFiniteStateMachine=Ln.ObservableFiniteStateMachine,e.useFiniteStateMachine=function(e,t){const r=Bn(),n=i.exports.useMemo((()=>new Ln.ObservableFiniteStateMachine(e,t)),[e]);return i.exports.useEffect((()=>{const e=n.observeStateChanges().subscribe((()=>r()));return()=>e.unsubscribe()}),[n]),n},e.useForceUpdate=Bn,e.useIncrement=function(e){const[t,r]=i.exports.useState(e);return[t,i.exports.useCallback(((e=1)=>{r((t=>t+e))}),[]),i.exports.useCallback((()=>{r(e)}),[])]},e.useIsFirstRender=v,e.useIsMounted=function(){const e=i.exports.useRef(!1);return d((()=>(e.current=!0,()=>{e.current=!1}))),()=>e.current},e.useMount=d,e.useMultipleSelection=function(e,t=[]){Rn.assert(e.length>0,"The parameter values must be a non-empty array");for(const r of t)Rn.assert(r>=0&&r<e.length,"The index of parameter defaultSelectedIndexes must be in the range of 0 to values.length");const[r,n]=i.exports.useState(new Set(t));return i.exports.useMemo((()=>({selectedValues:Nn.toArray(Nn.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])},e.useRenderCounter=function(){const e=i.exports.useRef(0);return e.current++,e.current},e.useResizeObserver=function(e,t){const r=t.map((e=>e.current));i.exports.useEffect((()=>{const r=new ResizeObserver(e);return t.map((e=>e.current)).filter(b.isntNull).forEach((e=>r.observe(e))),()=>r.disconnect()}),r)},e.useSingleSelection=function(e,t){Rn.assert(e.length>0,"The parameter values must be a non-empty array"),b.isntUndefined(t)&&Rn.assert(t>=0&&t<e.length,"The parameter defaultSelectedIndex must be in the range of 0 to values.length");const[r,n]=i.exports.useState(t);return i.exports.useMemo((()=>({selectedValue:b.isUndefined(r)?void 0:e[r],options:e.map(((e,t)=>({value:e,index:t,selected:t===r,select:()=>n(t)})))})),[r])},e.useStateCycle=function(e,t=0){const[r,n]=i.exports.useState(t);return[e[r],()=>n((t=>t+1<e.length?t+1:0))]},e.useStep=function(e,t=0){const[r,n]=i.exports.useState(t);return[e[r],()=>{n((t=>t===e.length-1?t:t+1))},()=>{n((e=>0===e?e:e-1))}]},e.useToggle=function(e=!1){const[t,r]=i.exports.useState(e);return[t,()=>r((e=>!e))]},e.useUpdateEffect=function(e,t){const r=v();i.exports.useEffect((()=>{if(!r())return e()}),t)},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
18
18
|
//# sourceMappingURL=index.umd.min.js.map
|