UNPKG

@zoom/meetingsdk

Version:
1 lines 2.89 MB
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).ReactWidgets=t(e.React,e.ReactDOM)}(this,(function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var r=o(e),i=n(e),a=n(t),s=o(t);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var p,h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})})),t}function _(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var g=a.default;function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function v(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=f(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}p=g.createRoot,g.hydrateRoot;var S="function"==typeof Symbol&&Symbol.observable||"@@observable",x=function(){return Math.random().toString(36).substring(7).split("").join(".")},k={INIT:"@@redux/INIT"+x(),REPLACE:"@@redux/REPLACE"+x(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+x()}};function C(e,t,n){var o;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(y(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(y(1));return n(C)(e,t)}if("function"!=typeof e)throw new Error(y(2));var r=e,i=t,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function d(){if(l)throw new Error(y(3));return i}function u(e){if("function"!=typeof e)throw new Error(y(4));if(l)throw new Error(y(5));var t=!0;return c(),s.push(e),function(){if(t){if(l)throw new Error(y(6));t=!1,c();var n=s.indexOf(e);s.splice(n,1),a=null}}}function p(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(y(7));if(void 0===e.type)throw new Error(y(8));if(l)throw new Error(y(9));try{l=!0,i=r(i,e)}finally{l=!1}for(var t=a=s,n=0;n<t.length;n++)(0,t[n])();return e}return p({type:k.INIT}),(o={dispatch:p,subscribe:u,getState:d,replaceReducer:function(e){if("function"!=typeof e)throw new Error(y(10));r=e,p({type:k.REPLACE})}})[S]=function(){var e,t=u;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(y(11));function n(){e.next&&e.next(d())}return n(),{unsubscribe:t(n)}}})[S]=function(){return this},e},o}function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var A=function(e,t){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},A(e,t)};function I(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var T=function(){return T=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},T.apply(this,arguments)};function R(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]<r[3])){a.label=i[1];break}if(6===i[0]&&a.label<r[1]){a.label=r[1],r=i;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(i);break}r[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],o=0}finally{n=r=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function O(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}function P(e,t){for(var n=0,o=t.length,r=e.length;n<o;n++,r++)e[r]=t[n];return e}function M(e){return this instanceof M?(this.v=e,this):new M(e)}function D(e){return"function"==typeof e}function L(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}var z=L((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}}));function N(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,o,r;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var a=O(i),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if(D(l))try{l()}catch(e){r=e instanceof z?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var d=O(c),u=d.next();!u.done;u=d.next()){var p=u.value;try{H(p)}catch(e){r=null!=r?r:[],e instanceof z?r=P(P([],j(r)),j(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=d.return)&&o.call(d)}finally{if(n)throw n.error}}}if(r)throw new z(r)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)H(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).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)&&N(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&N(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),B=V.EMPTY;function U(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function H(e){D(e)?e():e.unsubscribe()}var F=void 0;function q(e){!function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];setTimeout.apply(void 0,P([e,t],j(n)))}((function(){throw e}))}function W(){}function $(e){e()}var G=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,U(t)&&t.add(n)):n.destination=J,n}return I(t,e),t.create=function(e,t,n){return new Q(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(V),K=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){Z(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Z(e)}else Z(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Z(e)}},e}(),Q=function(e){function t(t,n,o){var r,i=e.call(this)||this;return r=D(t)||!t?{next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=o?o:void 0}:t,i.destination=new K(r),i}return I(t,e),t}(G);function Z(e){q(e)}var J={closed:!0,next:W,error:function(e){throw e},complete:W},Y="function"==typeof Symbol&&Symbol.observable||"@@observable";function X(e){return e}function ee(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return te(e)}function te(e){return 0===e.length?X:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var ne=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var o,r=this,i=(o=e)&&o instanceof G||function(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}(o)&&U(o)?e:new Q(e,t,n);return $((function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._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 n=this;return new(t=oe(t))((function(t,o){var r=new Q({next:function(t){try{e(t)}catch(e){o(e),r.unsubscribe()}},error:o,complete:t});n.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Y]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return te(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=oe(e))((function(e,n){var o;t.subscribe((function(e){return o=e}),(function(e){return n(e)}),(function(){return e(o)}))}))},e.create=function(t){return new e(t)},e}();function oe(e){var t;return null!==(t=null!=e?e:F)&&void 0!==t?t:Promise}function re(e){return function(t){if(function(e){return D(null==e?void 0:e.lift)}(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")}}function ie(e,t,n,o,r){return new se(e,t,n,o,r)}var ae,se=function(e){function t(t,n,o,r,i,a){var s=e.call(this,t)||this;return s.onFinalize=i,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=o?function(){try{o()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return I(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(G),le=L((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),ce=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 I(t,e),t.prototype.lift=function(e){var t=new de(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new le},t.prototype.next=function(e){var t=this;$((function(){var n,o;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=O(t.currentObservers),i=r.next();!i.done;i=r.next())i.value.next(e)}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;$((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;$((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,n=this,o=n.hasError,r=n.isStopped,i=n.observers;return o||r?B:(this.currentObservers=null,i.push(e),new V((function(){t.currentObservers=null,N(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,o=t.thrownError,r=t.isStopped;n?e.error(o):r&&e.complete()},t.prototype.asObservable=function(){var e=new ne;return e.source=this,e},t.create=function(e,t){return new de(e,t)},t}(ne),de=function(e){function t(t,n){var o=e.call(this)||this;return o.destination=t,o.source=n,o}return I(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.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,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:B},t}(ce),ue=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return I(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,o=e._value;if(t)throw n;return this._throwIfClosed(),o},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(ce),pe=function(){return Date.now()},he=function(e){function t(t,n){return e.call(this)||this}return I(t,e),t.prototype.schedule=function(e,t){return this},t}(V),me=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o.pending=!1,o}return I(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var o=this.id,r=this.scheduler;return null!=o&&(this.id=this.recycleAsyncId(r,o,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return setInterval.apply(void 0,P([e,t],j(n)))}(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&function(e){clearInterval(e)}(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,o=!1;try{this.work(e)}catch(e){o=!0,n=e||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,o=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,N(o,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(he),_e=1,ge={};function fe(e){return e in ge&&(delete ge[e],!0)}var ve=function(e){var t=_e++;return ge[t]=!0,ae||(ae=Promise.resolve()),ae.then((function(){return fe(t)&&e()})),t},be=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ve.apply(void 0,P([],j(e)))},we=function(e){return function(e){fe(e)}(e)},ye=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o}return I(t,e),t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!==o&&o>0?e.prototype.requestAsyncId.call(this,t,n,o):(t.actions.push(this),t._scheduled||(t._scheduled=be(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,n,o){var r;if(void 0===o&&(o=0),null!=o?o>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,o);var i=t.actions;null!=n&&(null===(r=i[i.length-1])||void 0===r?void 0:r.id)!==n&&(we(n),t._scheduled===n&&(t._scheduled=void 0))},t}(me),Se=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=pe,e}(),xe=function(e){function t(t,n){void 0===n&&(n=Se.now);var o=e.call(this,t,n)||this;return o.actions=[],o._active=!1,o}return I(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(Se),ke=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var n,o=this.actions;e=e||o.shift();do{if(n=e.execute(e.state,e.delay))break}while((e=o[0])&&e.id===t&&o.shift());if(this._active=!1,n){for(;(e=o[0])&&e.id===t&&o.shift();)e.unsubscribe();throw n}},t}(xe))(ye),Ce=new xe(me),Ee=Ce,Ae=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.scheduler=t,o.work=n,o}return I(t,e),t.prototype.schedule=function(t,n){return void 0===n&&(n=0),n>0?e.prototype.schedule.call(this,t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,n){return n>0||this.closed?e.prototype.execute.call(this,t,n):this._execute(t,n)},t.prototype.requestAsyncId=function(t,n,o){return void 0===o&&(o=0),null!=o&&o>0||null==o&&this.delay>0?e.prototype.requestAsyncId.call(this,t,n,o):(t.flush(this),0)},t}(me),Ie=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return I(t,e),t}(xe))(Ae),Te=new ne((function(e){return e.complete()}));function Re(e){return e&&D(e.schedule)}function Oe(e){return e[e.length-1]}function je(e){return D(Oe(e))?e.pop():void 0}function Pe(e){return Re(Oe(e))?e.pop():void 0}var Me=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function De(e){return D(null==e?void 0:e.then)}function Le(e){return D(e[Y])}function ze(e){return Symbol.asyncIterator&&D(null==e?void 0:e[Symbol.asyncIterator])}function Ne(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 Ve="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Be(e){return D(null==e?void 0:e[Ve])}function Ue(e){return function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(e){r[e]&&(o[e]=function(t){return new Promise((function(n,o){i.push([e,t,n,o])>1||s(e,t)}))})}function s(e,t){try{!function(e){e.value instanceof M?Promise.resolve(e.value.v).then(l,c):d(i[0][2],e)}(r[e](t))}catch(e){d(i[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}(this,arguments,(function(){var t,n,o;return R(this,(function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,M(t.read())];case 3:return n=r.sent(),o=n.value,n.done?[4,M(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,M(o)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function He(e){return D(null==e?void 0:e.getReader)}function Fe(e){if(e instanceof ne)return e;if(null!=e){if(Le(e))return r=e,new ne((function(e){var t=r[Y]();if(D(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(Me(e))return o=e,new ne((function(e){for(var t=0;t<o.length&&!e.closed;t++)e.next(o[t]);e.complete()}));if(De(e))return n=e,new ne((function(e){n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,q)}));if(ze(e))return qe(e);if(Be(e))return t=e,new ne((function(e){var n,o;try{for(var r=O(t),i=r.next();!i.done;i=r.next()){var a=i.value;if(e.next(a),e.closed)return}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}e.complete()}));if(He(e))return qe(Ue(e))}var t,n,o,r;throw Ne(e)}function qe(e){return new ne((function(t){(function(e,t){var n,o,r,i;return function(e,t,n,o){return new(n||(n=Promise))((function(t,r){function i(e){try{s(o.next(e))}catch(e){r(e)}}function a(e){try{s(o.throw(e))}catch(e){r(e)}}function s(e){var o;e.done?t(e.value):(o=e.value,o instanceof n?o:new n((function(e){e(o)}))).then(i,a)}s((o=o.apply(e,[])).next())}))}(this,0,void 0,(function(){var a,s;return R(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=O(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){!function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}(o,r,(t=e[n](t)).done,t.value)}))}}}(e),l.label=1;case 1:return[4,n.next()];case 2:if((o=l.sent()).done)return[3,4];if(a=o.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),r={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),o&&!o.done&&(i=n.return)?[4,i.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(r)throw r.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function We(e,t,n,o,r){void 0===o&&(o=0),void 0===r&&(r=!1);var i=t.schedule((function(){n(),r?e.add(this.schedule(null,o)):this.unsubscribe()}),o);if(e.add(i),!r)return i}function $e(e,t){return void 0===t&&(t=0),re((function(n,o){n.subscribe(ie(o,(function(n){return We(o,e,(function(){return o.next(n)}),t)}),(function(){return We(o,e,(function(){return o.complete()}),t)}),(function(n){return We(o,e,(function(){return o.error(n)}),t)})))}))}function Ge(e,t){return void 0===t&&(t=0),re((function(n,o){o.add(e.schedule((function(){return n.subscribe(o)}),t))}))}function Ke(e,t){if(!e)throw new Error("Iterable cannot be null");return new ne((function(n){We(n,t,(function(){var o=e[Symbol.asyncIterator]();We(n,t,(function(){o.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}function Qe(e,t){return t?function(e,t){if(null!=e){if(Le(e))return function(e,t){return Fe(e).pipe(Ge(t),$e(t))}(e,t);if(Me(e))return function(e,t){return new ne((function(n){var o=0;return t.schedule((function(){o===e.length?n.complete():(n.next(e[o++]),n.closed||this.schedule())}))}))}(e,t);if(De(e))return function(e,t){return Fe(e).pipe(Ge(t),$e(t))}(e,t);if(ze(e))return Ke(e,t);if(Be(e))return function(e,t){return new ne((function(n){var o;return We(n,t,(function(){o=e[Ve](),We(n,t,(function(){var e,t,r;try{t=(e=o.next()).value,r=e.done}catch(e){return void n.error(e)}r?n.complete():n.next(t)}),0,!0)})),function(){return D(null==o?void 0:o.return)&&o.return()}}))}(e,t);if(He(e))return function(e,t){return Ke(Ue(e),t)}(e,t)}throw Ne(e)}(e,t):Fe(e)}function Ze(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Qe(e,Pe(e))}function Je(e,t){var n=D(e)?e:function(){return e};return new ne((function(e){return e.error(n())}))}var Ye=L((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}));function Xe(e,t){return new Promise((function(t,n){var o=new Q({next:function(e){t(e),o.unsubscribe()},error:n,complete:function(){n(new Ye)}});e.subscribe(o)}))}function et(e){return e instanceof Date&&!isNaN(e)}var tt=L((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}}));function nt(e,t){var n=et(e)?{first:e}:"number"==typeof e?{each:e}:e,o=n.first,r=n.each,i=n.with,a=void 0===i?ot:i,s=n.scheduler,l=void 0===s?Ce:s,c=n.meta,d=void 0===c?null:c;if(null==o&&null==r)throw new TypeError("No timeout provided.");return re((function(e,t){var n,i,s=null,c=0,u=function(e){i=We(t,l,(function(){try{n.unsubscribe(),Fe(a({meta:d,lastValue:s,seen:c})).subscribe(t)}catch(e){t.error(e)}}),e)};n=e.subscribe(ie(t,(function(e){null==i||i.unsubscribe(),c++,t.next(s=e),r>0&&u(r)}),void 0,void 0,(function(){(null==i?void 0:i.closed)||null==i||i.unsubscribe(),s=null}))),!c&&u(null!=o?"number"==typeof o?o:+o-l.now():r)}))}function ot(e){throw new tt(e)}function rt(e,t){return re((function(n,o){var r=0;n.subscribe(ie(o,(function(n){o.next(e.call(t,n,r++))})))}))}var it=Array.isArray;function at(e){return rt((function(t){return function(e,t){return it(t)?e.apply(void 0,P([],j(t))):e(t)}(e,t)}))}var st=Array.isArray,lt=Object.getPrototypeOf,ct=Object.prototype,dt=Object.keys;function ut(e,t,n){return void 0===n&&(n=1/0),D(t)?ut((function(n,o){return rt((function(e,r){return t(n,e,o,r)}))(Fe(e(n,o)))}),n):("number"==typeof t&&(n=t),re((function(t,o){return function(e,t,n,o){var r=[],i=0,a=0,s=!1,l=function(){!s||r.length||i||t.complete()},c=function(e){i++;var s=!1;Fe(n(e,a++)).subscribe(ie(t,(function(e){t.next(e)}),(function(){s=!0}),void 0,(function(){if(s)try{for(i--;r.length&&i<o;)void 0,e=r.shift(),c(e);l()}catch(e){t.error(e)}var e})))};return e.subscribe(ie(t,(function(e){return i<o?c(e):r.push(e)}),(function(){s=!0,l()}))),function(){}}(t,o,e,n)})))}function pt(e){return void 0===e&&(e=1/0),ut(X,e)}function ht(){return pt(1)}function mt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ht()(Qe(e,Pe(e)))}function _t(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=je(e),o=function(e){if(1===e.length){var t=e[0];if(st(t))return{args:t,keys:null};if((o=t)&&"object"==typeof o&&lt(o)===ct){var n=dt(t);return{args:n.map((function(e){return t[e]})),keys:n}}}var o;return{args:e,keys:null}}(e),r=o.args,i=o.keys,a=new ne((function(e){var t=r.length;if(t)for(var n=new Array(t),o=t,a=t,s=function(t){var s=!1;Fe(r[t]).subscribe(ie(e,(function(e){s||(s=!0,a--),n[t]=e}),(function(){return o--}),void 0,(function(){o&&s||(a||e.next(i?function(e,t){return e.reduce((function(e,n,o){return e[n]=t[o],e}),{})}(i,n):n),e.complete())})))},l=0;l<t;l++)s(l);else e.complete()}));return n?a.pipe(at(n)):a}var gt=["addListener","removeListener"],ft=["addEventListener","removeEventListener"],vt=["on","off"];function bt(e,t,n,o){if(D(n)&&(o=n,n=void 0),o)return bt(e,t,n).pipe(at(o));var r=j(function(e){return D(e.addEventListener)&&D(e.removeEventListener)}(e)?ft.map((function(o){return function(r){return e[o](t,r,n)}})):function(e){return D(e.addListener)&&D(e.removeListener)}(e)?gt.map(wt(e,t)):function(e){return D(e.on)&&D(e.off)}(e)?vt.map(wt(e,t)):[],2),i=r[0],a=r[1];if(!i&&Me(e))return ut((function(e){return bt(e,t,n)}))(Fe(e));if(!i)throw new TypeError("Invalid event target");return new ne((function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return i(t),function(){return a(t)}}))}function wt(e,t){return function(n){return function(o){return e[n](t,o)}}}function yt(e,t,n){return n?yt(e,t).pipe(at(n)):new ne((function(n){var o=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.next(1===e.length?e[0]:e)},r=e(o);return D(t)?function(){return t(o,r)}:void 0}))}function St(e,t,n){void 0===e&&(e=0),void 0===n&&(n=Ee);var o=-1;return null!=t&&(Re(t)?n=t:o=t),new ne((function(t){var r=et(e)?+e-n.now():e;r<0&&(r=0);var i=0;return n.schedule((function(){t.closed||(t.next(i++),0<=o?this.schedule(void 0,o):t.complete())}),r)}))}function xt(e,t){return void 0===e&&(e=0),void 0===t&&(t=Ce),e<0&&(e=0),St(e,e,t)}function kt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Pe(e),o=function(e){return"number"==typeof Oe(e)?e.pop():1/0}(e),r=e;return r.length?1===r.length?Fe(r[0]):pt(o)(Qe(r,n)):Te}var Ct=new ne(W),Et=Array.isArray;function At(e,t){return function(n,o){return!e.call(t,n,o)}}function It(e,t){return re((function(n,o){var r=0;n.subscribe(ie(o,(function(n){return e.call(t,n,r++)&&o.next(n)})))}))}function Tt(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===(t=1===(e=t).length&&Et(e[0])?e[0]:e).length?Fe(t[0]):new ne(function(e){return function(t){for(var n=[],o=function(o){n.push(Fe(e[o]).subscribe(ie(t,(function(e){if(n){for(var r=0;r<n.length;r++)r!==o&&n[r].unsubscribe();n=null}t.next(e)}))))},r=0;n&&!t.closed&&r<e.length;r++)o(r)}}(t))}function Rt(e){return re((function(t,n){var o,r=null,i=!1;r=t.subscribe(ie(n,void 0,void 0,(function(a){o=Fe(e(a,Rt(e)(t))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0}))),i&&(r.unsubscribe(),r=null,o.subscribe(n))}))}function Ot(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Pe(e);return re((function(t,o){ht()(Qe(P([t],j(e)),n)).subscribe(o)}))}function jt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ot.apply(void 0,P([],j(e)))}function Pt(e,t){return void 0===t&&(t=Ce),re((function(n,o){var r=null,i=null,a=null,s=function(){if(r){r.unsubscribe(),r=null;var e=i;i=null,o.next(e)}};function l(){var n=a+e,i=t.now();if(i<n)return r=this.schedule(void 0,n-i),void o.add(r);s()}n.subscribe(ie(o,(function(n){i=n,a=t.now(),r||(r=t.schedule(l,e),o.add(r))}),(function(){s(),o.complete()}),void 0,(function(){i=r=null})))}))}function Mt(e){return e<=0?function(){return Te}:re((function(t,n){var o=0;t.subscribe(ie(n,(function(t){++o<=e&&(n.next(t),e<=o&&n.complete())})))}))}function Dt(e){return rt((function(){return e}))}function Lt(e,t){void 0===t&&(t=Ce);var n,o=St(e,t);return n=function(){return o},ut((function(e,t){return Fe(n()).pipe(Mt(1),Dt(e))}))}function zt(e,t,n){return void 0===n&&(n=1/0),D(t)?ut((function(){return e}),t,n):ut((function(){return e}),n)}function Nt(e,t){return re(function(e,t,n){return function(o,r){var i=n,a=t,s=0;o.subscribe(ie(r,(function(t){var n=s++;a=i?e(a,t,n):(i=!0,t),r.next(a)}),undefined))}}(e,t,arguments.length>=2))}function Vt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Pe(e);return re((function(t,o){(n?mt(e,t,n):mt(e,t)).subscribe(o)}))}function Bt(e,t){return re((function(n,o){var r=null,i=0,a=!1,s=function(){return a&&!r&&o.complete()};n.subscribe(ie(o,(function(n){null==r||r.unsubscribe();var a=0,l=i++;Fe(e(n,l)).subscribe(r=ie(o,(function(e){return o.next(t?t(n,e,l,a++):e)}),(function(){r=null,s()})))}),(function(){a=!0,s()})))}))}function Ut(e){return re((function(t,n){Fe(e).subscribe(ie(n,(function(){return n.complete()}),W)),!n.closed&&t.subscribe(n)}))}function Ht(e,t){return void 0===t&&(t=!1),re((function(n,o){var r=0;n.subscribe(ie(o,(function(n){var i=e(n,r++);(i||t)&&o.next(n),!i&&o.complete()})))}))}function Ft(e,t,n){var o=D(e)||t||n?{next:e,error:t,complete:n}:e;return o?re((function(e,t){var n;null===(n=o.subscribe)||void 0===n||n.call(o);var r=!0;e.subscribe(ie(t,(function(e){var n;null===(n=o.next)||void 0===n||n.call(o,e),t.next(e)}),(function(){var e;r=!1,null===(e=o.complete)||void 0===e||e.call(o),t.complete()}),(function(e){var n;r=!1,null===(n=o.error)||void 0===n||n.call(o,e),t.error(e)}),(function(){var e,t;r&&(null===(e=o.unsubscribe)||void 0===e||e.call(o)),null===(t=o.finalize)||void 0===t||t.call(o)})))})):X}function qt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=je(e);return re((function(t,o){for(var r=e.length,i=new Array(r),a=e.map((function(){return!1})),s=!1,l=function(t){Fe(e[t]).subscribe(ie(o,(function(e){i[t]=e,s||a[t]||(a[t]=!0,(s=a.every(X))&&(a=null))}),W))},c=0;c<r;c++)l(c);t.subscribe(ie(o,(function(e){if(s){var t=P([e],j(i));o.next(n?n.apply(void 0,P([],j(t))):t)}})))}))}var Wt=function(e){function t(t,n){var o=e.call(this,(function(e){var t=o.__notifier.subscribe(e);return t&&!t.closed&&e.next(o.value),t}))||this;return o.__notifier=new ce,o.value=n,t.subscribe((function(e){e!==o.value&&(o.value=e,o.__notifier.next(e))})),o}return I(t,e),t}(ne),$t=function(e,t){return e===t||"function"==typeof t&&e===t.toString()};function Gt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.length;return It(1===n?function(t){return $t(t.type,e[0])}:function(t){for(var o=0;o<n;o++)if($t(t.type,e[o]))return!0;return!1})}var Kt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Qt(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function Zt(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}("object"===("undefined"==typeof global?"undefined":Kt(global))&&global?global:"undefined"!=typeof window?window:{}).DeepDiff,Qt((function e(t,n,o){e.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0}),Object.defineProperty(this,"rhs",{value:o,enumerable:!0})}),Zt),Qt((function e(t,n){e.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}),Zt),Qt((function e(t,n){e.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:n,enumerable:!0})}),Zt),Qt((function e(t,n,o){e.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:n,enumerable:!0}),Object.defineProperty(this,"item",{value:o,enumerable:!0})}),Zt);const Jt=!1;var Yt,Xt,en="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function tn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nn=(Xt||(Xt=1,Yt=function(e,t,n,o,r,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,a,s],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}),Yt),on=tn(nn),rn=function(e){return"function"==typeof e},an=function(e){return e.toString()},sn=function(e){return"string"==typeof e},ln="||",cn=function(e){return e},dn=function(e){return null===e};function un(e,t,n){void 0===t&&(t=cn),on(rn(t)||dn(t),"Expected payloadCreator to be a function, undefined or null");var o=dn(t)||t===cn?cn:function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return e instanceof Error?e:t.apply(void 0,[e].concat(o))},r=rn(n),i=e.toString(),a=function(){var t=o.apply(void 0,arguments),i={type:e};return t instanceof Error&&(i.error=!0),void 0!==t&&(i.payload=t),r&&(i.meta=n.apply(void 0,arguments)),i};return a.toString=function(){return i},a}var pn,hn,mn,_n,gn,fn,vn=function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},bn=function(e){return Array.isArray(e)},wn=function(e){return null==e};var yn=tn(function(){if(fn)return gn;fn=1;var e=function(){if(_n)return mn;_n=1;var e=function(){if(hn)return pn;hn=1,pn=function(i){return e.test(i)?i.toLowerCase():t.test(i)?(function(e){return e.replace(o,(function(e,t){return t?" "+t:""}))}(i)||i).toLowerCase():n.test(i)?function(e){return e.replace(r,(function(e,t,n){return t+" "+n.toLowerCase().split("").join(" ")}))}(i).toLowerCase():i.toLowerCase()};var e=/\s/,t=/(_|-|\.|:)/,n=/([a-z][A-Z]|[A-Z][a-z])/,o=/[\W_]+(.|$)/g,r=/(.)([A-Z]+)/g;return pn}();return mn=function(t){return e(t).replace(/[\W_]+(.|$)/g,(function(e,t){return t?" "+t:""})).trim()}}();return gn=function(t){return e(t).replace(/\s(\w)/g,(function(e,t){return t.toUpperCase()}))}}()),Sn=function(e){return-1===e.indexOf("/")?yn(e):e.split("/").map(yn).join("/")},xn=function(e,t){return e.reduce((function(e,n){return t(e,n)}),{})},kn=function(e){return"undefined"!=typeof Map&&e instanceof Map};function Cn(e){if(kn(e))return Array.from(e.keys());if("undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys)return Reflect.ownKeys(e);var t=Object.getOwnPropertyNames(e);return"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e))),t}function En(e,t){return kn(t)?t.get(e):t[e]}var An=function(e){return function t(n,o,r,i){var a=void 0===o?{}:o,s=a.namespace,l=void 0===s?"/":s,c=a.prefix;return void 0===r&&(r={}),void 0===i&&(i=""),Cn(n).forEach((function(o){var a=function(e){return i||!c||c&&new RegExp("^"+c+l).test(e)?e:""+c+l+e}(function(e){var t;if(!i)return e;var n=e.toString().split(ln),o=i.split(ln);return(t=[]).concat.apply(t,o.map((function(e){return n.map((function(t){return""+e+l+t}))}))).join(ln)}(o)),s=En(o,n);e(s)?t(s,{namespace:l,prefix:c},r,a):r[a]=s})),r}},In=An(vn);function Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){Rn(e,t,n[t])}))}return e}function Rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function On(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r,i=vn((r=n)[r.length-1])?n.pop():{};return on(n.every(sn)&&(sn(e)||vn(e)),"Expected optional object followed by string action types"),sn(e)?Pn([e].concat(n),i):Tn({},function(e,t){return function(e,t){var n=void 0===t?{}:t,o=n.namespace,r=void 0===o?"/":o,i=n.prefix;function a(t,n,o){var r=Sn(o.shift());0===o.length?n[r]=e[t]:(n[r]||(n[r]={}),a(t,n[r],o))}var s={};return Object.getOwnPropertyNames(e).forEach((function(e){var t=i?e.replace(""+i+r,""):e;return a(e,s,t.split(r))})),s}(jn(In(e,t)),t)}(e,i),Pn(n,i))}function jn(e,t){var n=void 0===t?{}:t,o=n.prefix,r=n.namespace,i=void 0===r?"/":r;return xn(Object.keys(e),(function(t,n){var r,a=e[n];on(function(e){if(rn(e)||wn(e))return!0;if(bn(e)){var t=e[0],n=void 0===t?cn:t,o=e[1];return rn(n)&&rn(o)}return!1}(a),"Expected function, undefined, null, or array with payload and meta functions for "+n);var s=o?""+o+i+n:n,l=bn(a)?un.apply(void 0,[s].concat(a)):un(s,a);return Tn({},t,((r={})[n]=l,r))}))}function Pn(e,t){var n=jn(xn(e,(function(e,t){var n;return Tn({},e,((n={})[t]=cn,n))})),t);return xn(Object.keys(n),(function(e,t){var o;return Tn({},e,((o={})[Sn(t)]=n[t],o))}))}var Mn=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o="function"!=typeof t[t.length-1]&&t.pop(),r=t;if(void 0===o)throw new TypeError("The initial state may not be undefined. If you do not want to set a value for this reducer, you can use null instead of undefined.");return function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];var s=void 0===e,l=void 0===t;return s&&l&&o?o:r.reduce((function(e,n){return n.apply(void 0,[e,t].concat(i))}),s&&!l&&o?o:e)}},Dn=An((function(e){return(vn(e)||kn(e))&&!function(e){var t=Cn(e),n=t.every((function(e){return"next"===e||"throw"===e}));return t.length&&t.length<=2&&n}(e)}));function Ln(e,t,n){void 0===n&&(n={}),on(vn(e)||kn(e),"Expected handlers to be a plain object.");var o=Dn(e,n),r=Cn(o).map((function(e){return function(e,t,n){void 0===t&&(t=cn);var o=an(e).split(ln);on(!(void 0===n),"defaultState for reducer handling "+o.join(", ")+" should be defined"),on(rn(t)||vn(t),"Expected reducer to be a function or object with next and throw reducers");var r=rn(t)?[t,t]:[t.next,t.throw].map((function(e){return wn(e)?cn:e})),i=r[0],a=r[1];return function(e,t){void 0===e&&(e=n);var r=t.type;return r&&-1!==o.indexOf(an(r))?(!0===t.error?a:i)(e,t):e}}(e,En(e,o),t)})),i=Mn.apply(void 0,r.concat([t]));return function(e,n){return void 0===e&&(e=t),i(e,n)}}const zn=un("CONNECT_ZOOM_SOCKET"),Nn=un("CONNECT_XMPP_SOCKET"),Vn=un("CLOSE_ZOOM_SOCKET"),Bn=un("CLOSE_XMPP_SOCKET"),Un=un("RECEIVE_MESSAGE_FROM_ZOOM_SOCKET"),Hn=un("RECEIVE_SHARING_PAYLOAD_FROM_ZOOM_SOCKET"),Fn=un("RECEIVE_MESSAGE_FROM_XMPP_SOCKET"),qn=un("CONNECT_MAIN_SESSION_SOCKET"),Wn=un("CLOSE_MAIN_SESSION_SOCKET"),$n=un("RECEIVE_MESSAGE_FROM_MAIN_SESSION_SOCKET"),{setZoomSocketStatus:Gn,setRwgServersList:Kn,setRwgRetryCount:Qn,setXmppSocketStatus:Zn,setMainSessionSocketStatus:Jn,resetSocket:Yn}=On("SET_ZOOM_SOCKET_STATUS","SET_RWG_SERVERS_LIST","SET_RWG_RETRY_COUNT","SET_XMPP_SOCKET_STATUS","SET_MAIN_SESSION_SOCKET_STATUS","RESET_SOCKET"),Xn=un("CONNECT_TO_MEDIA_STREAM"),eo=un("RECEIVE_PAYLOAD_FROM_MEDIA_SDK"),{setAudioEncodeStatus:to,setAudioDecodeStatus:no,setVideoEncodeStatus:oo,setVideoDecodeStatus:ro,setSharingEncodeStatus:io,setSharingDecodeStatus:ao,setMediaConstraints:so,setMediaEncryptKey:lo,setIsEnableDecoderInWorklet:co,setPatchedMediaSdkStatus:uo,setMediaAssetsPath:po,setIsEnableVideoAudioQos:ho,setIsAudioBridgeReceiveReady:mo,setIsAudioBridgeSendReady:_o,setIsMediaAgentInitialized:go,setAdaptedAbOptionForMediaSdk:fo,resetMedia:vo}=On("SET_AUDIO_ENCODE_STATUS","SET_AUDIO_DECODE_STATUS","SET_VIDEO_ENCODE_STATUS","SET_VIDEO_DECODE_STATUS","SET_SHARING_ENCODE_STATUS","SET_SHARING_DECODE_STATUS","SET_MEDIA_CONSTRAINTS","SET_MEDIA_ENCRYPT_KEY","SET_IS_ENABLE_DECODER_IN_WORKLET","SET_PATCHED_MEDIA_SDK_STATUS","SET_MEDIA_ASSETS_PATH","SET_IS_ENABLE_VIDEO_AUDIO_QOS","SET_IS_AUDIO_BRIDGE_RECEIVE_READY","SET_IS_AUDIO_BRIDGE_SEND_READY","SET_IS_MEDIA_AGENT_INITIALIZED","SET_ADAPTED_AB_OPTION_FOR_MEDIA_SDK","RESET_MEDIA");function bo(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];return e(Ze(...o||[]),t,null)}function wo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const o=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return kt(...t.map((e=>{const t=e(...n);if(!t)throw new TypeError(`combineEpics: one of the provided Epics "${e.name||"<anonymous>"}" does not return a stream. Double check you're not missing a return statement!`);return t.pipe(Rt(((e,t)=>(setTimeout((()=>{throw e}),0),t))))})))};try{Object.defineProperty(o,"name",{value:`combineEpics(${t.map((e=>e.name||"<anonymous>")).join(", ")})`})}catch(e){}return o}function yo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return wo(...t.flatMap((e=>Object.values(e))))}function So(e,t){return e.pipe(Gt(`${Un}`),It((e=>e.payload.evt===t)))}function xo(e,t){return e.pipe(Gt(`${$n}`),It((e=>e.payload.evt===t)))}function ko(e,t){return e.pipe(Gt(`${Fn}`),It((e=>e.payload.evt===t)))}function Co(e,t){return e.pipe(Gt(`${Un}`,`${$n}`),It((e=>e.payload.evt===t)))}function Eo(e,t){return e.pipe(Gt(`${eo}`),It((e=>Array.isArray(t)?t.indexOf(e.payload.type)>-1:e.payload.type===t)))}function Ao(e,t){return e.pipe(Gt(`${Xn}`),It((()=>{const{media:{assetsPath:e,mediaConstraints:n}}=t.value;return void 0!==e&&void 0!==n})),Bt((()=>{const{media:{isMediaAgentInitialized:n}}=t.value;return n?Qe([0]):e.pipe(Gt(`${go}`),It((e=>!!e.payload)),Mt(1))})))}function Io(e,t,n){const o=document.createElement("script");o.type="text/javascript",o.readyState?o.onreadystatechange=()=>{"loaded"!==o.readyState&&"complete"!==o.readyState||(o.onreadystatechange=null,t())}:(o.onload=()=>{t()},o.onerror=()=>{n()}),o.src=e,window.crossOriginIsolated&&(o.crossOrigin="anonymous"),"function"==typeof document.body.append?document.getElementsByTagName("head")[0].append(o):document.getElementsByTagName("head")[0].appendChild(o)}function To(e,t){let n=e;/^https?:\/\//.test(n)||(n=`https://${e}`);try{const e=new URL(n);if(!t)return e.href;if(t.hostname)return e.hostname;if(t.path)return e.pathname}catch(e){return""}return""}function Ro(e){if(e){var t;const n=document.getElementById(e);null==n||null===(t=n.parentNode)||void 0===t||t.removeChild(n)}}function Oo(e,t){if(!e||"string"==typeof e)return!1;if(e.ownerDocument===window.document)return e instanceof t;{var n;const o=null===(n=e.ownerDocument)||void 0===n?void 0:n.defaultView;let r;return!!o&&("HTMLVideoElement"===t.name?r=o.HTMLVideoElement:"HTMLCanvasElement"===t.name?r=o.HTMLCanvasElement:"HTMLElement"===t.name&&(r=o.HTMLElement),!!r&&e instanceof r||e instanceof t)}}function jo(e){return Oo(e,HTMLVideoElement)}function Po(e){return Oo(e,HTMLCanvasElement)}let Mo="zoom.us",Do="applications.zoom.us";const Lo="3.13.2",zo=`https://dmogdx0jrul3u.cloudfront.net/${Lo}/lib/av`,No=`https://source.zoom.us/${Lo}/lib/av`,Vo=`https://jssdk.zoomus.cn/${Lo}/lib/av`,Bo=()=>Mo,Uo=()=>`https://${Do}/sdkhelper/auth?sdkToken=`,Ho="function"==typeof Buffer,Fo="function"==typeof TextDecoder?new TextDecoder:void 0,qo="function"==typeof TextEncoder?new TextEncoder:void 0,Wo=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),$o=(()=>{let e={};return Wo.forEach(((t,n)=>e[t]=n)),e})(),Go=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ko=String.fromCharCode.bind(String),Qo="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Zo=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),Jo=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Yo="function"==typeof btoa?e=>