@phenixrts/sdk 2022.0.2 → 2022.0.5

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.
Files changed (50) hide show
  1. package/dist/debug/channels.js +277 -135
  2. package/dist/debug/full.js +277 -135
  3. package/dist/debug/groups.js +1 -1
  4. package/dist/debug/messaging.js +1 -1
  5. package/dist/debug/publish.js +1 -1
  6. package/dist/debug.private/channels.js +277 -135
  7. package/dist/debug.private/full.js +277 -135
  8. package/dist/debug.private/groups.js +1 -1
  9. package/dist/debug.private/messaging.js +1 -1
  10. package/dist/debug.private/publish.js +1 -1
  11. package/dist/es5.debug.private/channels.js +276 -135
  12. package/dist/es5.debug.private/full.js +276 -135
  13. package/dist/es5.debug.private/groups.js +1 -1
  14. package/dist/es5.debug.private/messaging.js +1 -1
  15. package/dist/es5.debug.private/publish.js +1 -1
  16. package/dist/legacy.debug/channels.js +277 -135
  17. package/dist/legacy.debug/full.js +277 -135
  18. package/dist/legacy.debug/groups.js +1 -1
  19. package/dist/legacy.debug/messaging.js +1 -1
  20. package/dist/legacy.debug/publish.js +1 -1
  21. package/dist/legacy.debug.private/channels.js +276 -135
  22. package/dist/legacy.debug.private/full.js +276 -135
  23. package/dist/legacy.debug.private/groups.js +1 -1
  24. package/dist/legacy.debug.private/messaging.js +1 -1
  25. package/dist/legacy.debug.private/publish.js +1 -1
  26. package/dist/legacy.min/channels.js +1 -1
  27. package/dist/legacy.min/channels.js.map +1 -1
  28. package/dist/legacy.min/full.js +1 -1
  29. package/dist/legacy.min/full.js.map +1 -1
  30. package/dist/legacy.min/groups.js +1 -1
  31. package/dist/legacy.min/messaging.js +1 -1
  32. package/dist/legacy.min/publish.js +1 -1
  33. package/dist/min/channels.js +1 -1
  34. package/dist/min/channels.js.map +1 -1
  35. package/dist/min/full.js +1 -1
  36. package/dist/min/full.js.map +1 -1
  37. package/dist/min/groups.js +1 -1
  38. package/dist/min/messaging.js +1 -1
  39. package/dist/min/publish.js +1 -1
  40. package/dist/min.private/channels.js +1 -1
  41. package/dist/min.private/channels.js.map +1 -1
  42. package/dist/min.private/full.js +1 -1
  43. package/dist/min.private/full.js.map +1 -1
  44. package/dist/min.private/groups.js +1 -1
  45. package/dist/min.private/messaging.js +1 -1
  46. package/dist/min.private/publish.js +1 -1
  47. package/dist/types/rtc/RtcConnectionMonitor.d.ts +1 -0
  48. package/dist/types/sdk/channels/Channel.d.ts +4 -2
  49. package/dist/types/sdk/channels/ChannelContext.d.ts +1 -0
  50. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.phenix=t():e.phenix=t()}(self,(function(){return function(){var e={1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},8926:function(e,t,n){var r=n(202).default;function o(e,t,n,o,i,a,u){try{var s=e[a](u),c=s.value}catch(e){return void n(e)}s.done?t(c):r.resolve(c).then(o,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,i){var a=e.apply(t,n);function u(e){o(a,r,i,u,s,"next",e)}function s(e){o(a,r,i,u,s,"throw",e)}u(void 0)}))}}},4575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},3913:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},9713:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},9754:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},2205:function(e,t,n){var r=n(9489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},8585:function(e,t,n){var r=n(8),o=n(1506);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},8:function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},7757:function(e,t,n){e.exports=n(5666)},202:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}}),n(9753),n(7042),n(1539),n(8674),n(7727),n(2564);var r=n(8),o=n.n(r),i=n(4575),a=n.n(i),u=n(3913),s=n.n(u),c=n(9713),l=n.n(c),f=function e(t,n,r){a()(this,e),l()(this,"onFulfilled",void 0),l()(this,"onRejected",void 0),l()(this,"promise",void 0),this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r},h=function(){function e(t){if(a()(this,e),l()(this,"_state",void 0),l()(this,"_handled",void 0),l()(this,"_value",void 0),l()(this,"_deferreds",void 0),!(this instanceof e))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],this.doResolve(t)}return s()(e,[{key:"doResolve",value:function(e){var t=this,n=!1;try{e((function(e){n||(n=!0,t.promiseResolve(e))}),(function(e){n||(n=!0,t.promiseReject(e))}))}catch(e){if(n)return;n=!0,this.promiseReject(e)}}},{key:"promiseResolve",value:function(t){var n=this;try{if(t===n)throw new TypeError("A Promise cannot be resolved with it self.");if(t&&("object"===o()(t)||"function"==typeof t)){var r=t.then;if(t instanceof e)return n._state=3,n._value=t,void n.finale();if("function"==typeof r)return void n.doResolve((function(){r.apply(t,arguments)}))}n._state=1,n._value=t,n.finale()}catch(e){n.promiseReject(e)}}},{key:"promiseReject",value:function(e){this._state=2,this._value=e,this.finale()}},{key:"finale",value:function(){var t=this;2===this._state&&0===this._deferreds.length&&e._immediate((function(){t._handled||e._unhandledRejection(t._value)}));for(var n=0,r=this._deferreds.length;n<r;n++)this.handle(this._deferreds[n]);this._deferreds=null}},{key:"handle",value:function(t){for(var n=this;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,e._immediate((function(){var e=1===n._state?t.onFulfilled:t.onRejected;if(null!==e){var r;try{r=e(n._value)}catch(e){return void t.promise.promiseReject(e)}t.promise.promiseResolve(r)}else 1===n._state?t.promise.promiseResolve(n._value):t.promise.promiseReject(n._value)}))):n._deferreds.push(t)}}],[{key:"all",value:function(t){return new e((function(e,n){if(!Array.isArray(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var i=r.length,a=function t(a,u){try{if(u&&("object"===o()(u)||"function"==typeof u)){var s=u.then;if("function"==typeof s)return void s.call(u,(function(e){return t(a,e)}),n)}r[a]=u,0==--i&&e(r)}catch(e){n(e)}},u=0;u<r.length;u++)a(u,r[u])}))}},{key:"resolve",value:function(t){return t&&"object"===o()(t)&&t.constructor===e?t:new e((function(e){return e(t)}))}},{key:"reject",value:function(t){return new e((function(e,n){return n(t)}))}},{key:"race",value:function(t){return new e((function(n,r){if(!Array.isArray(t))return r(new TypeError("Promise.race accepts an array"));for(var o=0,i=t.length;o<i;o++)e.resolve(t[o]).then(n,r)}))}},{key:"_immediate",value:function(e){setTimeout(e,0)}},{key:"_unhandledRejection",value:function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)}}]),e}();h.prototype.catch=function(e){return this.then(null,e)},h.prototype.then=function(e,t){var n=new this.constructor((function(){return null}));return this.handle(new f(e,t,n)),n},h.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))};var p=h},3851:function(e,t,n){"use strict";n.r(t),n.d(t,{SDK:function(){return ce},default:function(){return le}}),n(9826),n(3843),n(3710),n(1539),n(9714);var r,o=n(4575),i=n.n(o),a=n(3913),u=n.n(a),s=n(9713),c=n.n(s);n(4812),n(9554),n(6699),n(2772),n(5827),n(561),n(4747),function(e){e[e.All=-1]="All",e[e.Trace=10]="Trace",e[e.Debug=20]="Debug",e[e.Info=30]="Info",e[e.Warn=40]="Warn",e[e.Error=50]="Error",e[e.Fatal=60]="Fatal",e[e.Off=100]="Off"}(r||(r={}));var l=function(){function e(t,n,r){i()(this,e),c()(this,"_category",void 0),c()(this,"_appenders",void 0),c()(this,"_threshold",void 0),this._category=t,this._appenders=n,this._threshold=r}return u()(e,[{key:"trace",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Trace)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Trace,t)}}},{key:"debug",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Debug)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Debug,t)}}},{key:"info",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Info)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Info,t)}}},{key:"warn",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Warn)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Warn,t)}}},{key:"error",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Error)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Error,t)}}},{key:"fatal",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Fatal)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Fatal,t)}}},{key:"log",value:function(e,t){var n=this,r=new Date,o=this.replacePlaceholders(t);this._appenders.value.forEach((function(t){t.log(e,o,n.category,r)}))}},{key:"replacePlaceholders",value:function(e){for(var t=this,n=e[0],r=0;n.indexOf&&e.length>1&&r>=0;)if((r=n.indexOf("%",r))>0)switch(n.substring(r+1,r+2)){case"%":n=n.substring(0,r)+n.substring(r+1),r++;break;case"s":case"d":e[0]=n=this.replaceArgument(this.toString(e[1]),n,r),e.splice(1,1);break;case"j":e[0]=n=this.replaceArgument(this.stringify(e[1]),n,r),e.splice(1,1);break;default:return e.toString()}return e.length>1&&(e=e.reduce((function(e,n,r,o){return r+1===o.length&&n instanceof Error?e+"\n"+t.toString(n.stack):e+"[".concat(t.toString(n),"]")}))),e.toString()}},{key:"stringify",value:function(e){var t=[];try{return JSON.stringify(e instanceof Error?this.toString(e):e,(function(e,n){if(n&&n instanceof Object){if(t.includes(n))return"<recursive>";t.push(n)}return n}),2)}catch(e){return"[object invalid JSON.stringify]"}}},{key:"replaceArgument",value:function(e,t,n){return t.substring(0,n)+this.toString(e)+t.substring(n+2)}},{key:"toString",value:function(e){if("string"==typeof e)return e;if("boolean"==typeof e)return e?"true":"false";if("number"==typeof e)return e.toString();var t="";if(e)if("function"==typeof e)t=e.toString();else if(e instanceof Object)try{t=e.toString()}catch(e){t="[object invalid toString()]"}return t}},{key:"category",get:function(){return this._category}},{key:"appenders",get:function(){return this._appenders}},{key:"threshold",get:function(){return this._threshold}}]),e}(),f=function(){function e(){i()(this,e),c()(this,"_appenders",[])}return u()(e,[{key:"add",value:function(e){this._appenders.push(e)}},{key:"remove",value:function(e){this._appenders=this._appenders.reduce((function(t,n){return n!==e&&t.push(n),t}),[])}},{key:"value",get:function(){return this._appenders}}]),e}(),h=function(){function e(){i()(this,e)}return u()(e,null,[{key:"applyIsPrivate",value:function(){try{this._isPrivate=!1}catch(e){this._isPrivate=!1}}},{key:"isPrivate",get:function(){return this._isPrivate}}]),e}();c()(h,"_isPrivate",void 0),h.applyIsPrivate();var p=function(){function e(){i()(this,e)}return u()(e,null,[{key:"defaultLoggingLevel",get:function(){return h.isPrivate?r.Off:r.All}},{key:"defaultConsoleLoggingLevel",get:function(){return h.isPrivate?r.Off:r.All}},{key:"defaultTelemetryLoggingLevel",get:function(){return r.Info}}]),e}(),v=function(){function e(){i()(this,e),c()(this,"_threshold",p.defaultLoggingLevel)}return u()(e,[{key:"setThreshold",value:function(e){this._threshold=e}},{key:"value",get:function(){return this._threshold}}]),e}(),g=(n(2222),n(8733),function(){function e(t){i()(this,e),c()(this,"_threshold",void 0),this._threshold=t}return u()(e,[{key:"log",value:function(e,t,n,o){if(!(e<this._threshold)){var i="".concat(o.toISOString()," [").concat(n,"] [").concat(r[e],"] ").concat(t);e<r.Warn?console.log(i):console.error(i)}}}]),e}()),d=(n(7042),n(2479),n(8674),n(7757)),y=n.n(d),m=(n(5666),n(8926)),_=n.n(m),b=function(){function e(){i()(this,e)}return u()(e,null,[{key:"sdkVersion",get:function(){try{return"2022-01-10T19:09:12.604Z (2022.0.2)"}catch(e){return this._defaultVersion}}}]),e}();c()(b,"_defaultVersion",(new Date).toISOString());var w,x=function(){function e(t){i()(this,e),c()(this,"_telemetryConfiguration",void 0),c()(this,"_logs",[]),c()(this,"_isSending",void 0),c()(this,"_domain",location.hostname),this._telemetryConfiguration=t}var t,n;return u()(e,[{key:"push",value:function(e,t,n,o){var i={timestamp:o.toISOString(),tenancy:this._telemetryConfiguration.tenancy,level:r[e],category:n,message:t,sessionId:this._telemetryConfiguration.sessionId,version:b.sdkVersion,environment:this._telemetryConfiguration.environment,fullQualifiedName:this._domain};e<r.Error?this._logs.push(i):this._logs.unshift(i),this.sendLogsIfAble()}},{key:"sendLogs",value:(n=_()(y().mark((function e(t){var n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new FormData).append("jsonBody",JSON.stringify({records:t})),e.next=4,fetch(this._telemetryConfiguration.url,{method:"POST",body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"sendLogsIfAble",value:(t=_()(y().mark((function e(){var t,n,r,o,i=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._logs.length<=0||this._isSending)){e.next=2;break}return e.abrupt("return");case 2:for(t=0,n=0,this._isSending=!0,r=function(e){return Object.values(e).reduce((function(e,t){return e+(t?t.length:0)}),0)};this._logs.length>t&&r(this._logs[t])+n<8192;)n+=r(this._logs[t]),t++;return t||(this._logs[t].message=this._logs[t].message.substring(0,r(this._logs[t])+(8192-r(this._logs[t]))),t=1),o=this._logs.slice(0,t),this._logs=this._logs.slice(t),e.abrupt("return",this.sendLogs(o).then((function(e){return i._isSending=!1,i.sendLogsIfAble(),e})).catch((function(){i._isSending=!1,i.sendLogsIfAble()})));case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),k=function(){function e(t){i()(this,e),c()(this,"_telemetryService",void 0),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_threshold",void 0),this._tenancy=t.tenancy,this._sessionId=t.sessionId,this._threshold=t.threshold,this._telemetryService=new x(t)}return u()(e,[{key:"log",value:function(e,t,n,r){e<this._threshold||this._telemetryService.push(e,t,n,r)}}]),e}(),S=(n(6992),n(8783),n(3948),n(285),function(){function e(){i()(this,e),c()(this,"_url","https://telemetry.phenixrts.com/telemetry/logs"),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_environment",void 0),c()(this,"_threshold",p.defaultTelemetryLoggingLevel)}return u()(e,[{key:"url",get:function(){return this._url},set:function(e){var t=new URL(e);t.pathname=t.pathname+"/logs",this._url=t.toString()}},{key:"environment",get:function(){return this._environment},set:function(e){this._environment=e}},{key:"tenancy",get:function(){return this._tenancy},set:function(e){this._tenancy=e}},{key:"sessionId",get:function(){return this._sessionId},set:function(e){this._sessionId=e}},{key:"threshold",get:function(){return this._threshold},set:function(e){this._threshold=e}}]),e}());n(4916),n(4765),function(e){e[e.Off=100]="Off",e[e.Essential=10]="Essential",e[e.All=-1]="All"}(w||(w={}));var L=function(){function e(){i()(this,e),c()(this,"_url","https://telemetry.phenixrts.com/telemetry/metrics"),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_environment",void 0),c()(this,"_threshold",C.defaultTelemetryLevel)}return u()(e,[{key:"url",get:function(){return this._url},set:function(e){var t=new URL(e);t.pathname=t.pathname+"/metrics",this._url=t.toString()}},{key:"environment",get:function(){return this._environment},set:function(e){this._environment=e}},{key:"tenancy",get:function(){return this._tenancy},set:function(e){this._tenancy=e}},{key:"sessionId",get:function(){return this._sessionId},set:function(e){this._sessionId=e}},{key:"threshold",get:function(){return this._threshold},set:function(e){this._threshold=e}}]),e}(),C=function(){function e(){i()(this,e)}return u()(e,null,[{key:"defaultTelemetryLevel",get:function(){return h.isPrivate?w.Essential:w.All}}]),e}(),T=function(e){throw new Error("Unexpected value [".concat(e,"]. This should never be reached"))},E=function(){function e(){i()(this,e)}return u()(e,null,[{key:"convertTelemetryLevelToTelemetryLevelType",value:function(e){switch(e){case w.Off:return"Off";case w.Essential:return"Essential";case w.All:return"All";default:T(e)}}},{key:"convertTelemetryLevelTypeToTelemetryLevel",value:function(e){switch(e){case"Off":return w.Off;case"Essential":return w.Essential;case"All":return w.All;default:T(e)}}}]),e}(),A=function(){function e(){i()(this,e)}return u()(e,null,[{key:"convertLoggingLevelToLoggingLevelType",value:function(e){switch(e){case r.Off:return"Off";case r.Trace:return"Trace";case r.Debug:return"Debug";case r.Info:return"Trace";case r.Warn:return"Warn";case r.Error:return"Error";case r.Fatal:return"Fatal";case r.All:return"All";default:T(e)}}},{key:"convertLoggingLevelTypeToLoggingLevel",value:function(e){switch(e){case"Off":return r.Off;case"Trace":return r.Trace;case"Debug":return r.Debug;case"Info":return r.Info;case"Warn":return r.Warn;case"Error":return r.Error;case"Fatal":return r.Fatal;case"All":return r.All;default:T(e)}}}]),e}(),O=function(){function e(){i()(this,e)}return u()(e,[{key:"getStringValue",value:function(e){return this.readConfigurationParameterValue(e)||this.readConfigurationParameterURIValue("".concat(e,"-uri-parameter-name"))||this.defaultStringValue[e]}},{key:"getBooleanValue",value:function(e){var t=this.readConfigurationParameterValue(e);return t||this.readConfigurationParameterURIValue("".concat(e,"-uri-parameter-name"))?"true"===t||"1"===t||"On"===t:!0===this.defaultBooleanValue[e]}},{key:"readConfigurationParameterValue",value:function(e){var t=document.querySelector("meta[name='".concat(e,"']"));if(t){var n=t.getAttribute("value");if(n)return n}}},{key:"readConfigurationParameterURIValue",value:function(e){var t=this.readConfigurationParameterValue(e);if(t){var n=new URLSearchParams(location.search).get(t)||void 0;if(n)return n}}},{key:"defaultStringValue",get:function(){return{"phenix-metrics-level":E.convertTelemetryLevelToTelemetryLevelType(C.defaultTelemetryLevel),"phenix-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultLoggingLevel),"phenix-console-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultConsoleLoggingLevel),"phenix-telemetry-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultTelemetryLoggingLevel),"phenix-channel-token":"","phenix-uri":"","phenix-base-uri":""}}},{key:"defaultBooleanValue",get:function(){return{"phenix-automatically-retry-on-failure":!0,"phenix-automatically-reconnect-peer-connection":!0}}}]),e}(),R=function(){function e(){throw i()(this,e),new Error("LoggerFactory is a static class that may not be instantiated")}return u()(e,null,[{key:"getLogger",value:function(t){return"string"!=typeof t&&(t="SDK"),e._loggers[t]||(e._loggers[t]=new l(t,this._appenders,this._threshold))}},{key:"applyLoggerConfigFromParameterConfiguration",value:function(){e.applyLoggingLevel(),e.applyAppenderLoggingLevel("console",e.applyConsoleLogger.bind(this)),e.applyAppenderLoggingLevel("telemetry",e.applyTelemetryLogger.bind(this))}},{key:"applyLoggingLevel",value:function(){var e=this._configurationParameterReader.getStringValue("phenix-logging-level");r[e]&&this._threshold.setThreshold(r[e])}},{key:"applyAppenderLoggingLevel",value:function(e,t){var n=this._configurationParameterReader.getStringValue("phenix-".concat(e,"-logging-level"));"Off"!==n&&t(r[n])}},{key:"applyConsoleLogger",value:function(e){this._appenders.add(new g(e||p.defaultConsoleLoggingLevel))}},{key:"applyTelemetryLogger",value:function(e){this._telemetryConfiguration.threshold=e||p.defaultTelemetryLoggingLevel,this._appenders.add(new k(this._telemetryConfiguration))}},{key:"telemetryConfiguration",get:function(){return e._telemetryConfiguration}}]),e}();c()(R,"_configurationParameterReader",new O),c()(R,"_loggers",{}),c()(R,"_appenders",new f),c()(R,"_threshold",new v),c()(R,"_telemetryConfiguration",new S),R.applyLoggerConfigFromParameterConfiguration(),n(3290);var P=function(){function e(){throw i()(this,e),new Error("Strings is a static class that may not be instantiated")}return u()(e,null,[{key:"random",value:function(e){var t=Math.ceil(e/13);return new Array(t).fill((function(){return Math.random().toString(16).substring(2,15)})).reduce((function(e,t){return e+t()}),"").substring(0,e)}}]),e}(),I=(n(2419),n(2205)),j=n.n(I),F=n(8585),U=n.n(F),N=n(9754),M=n.n(N),D=function(){function e(t){i()(this,e),c()(this,"_disposed",void 0),c()(this,"_disposable",void 0),this._disposed=!1,this._disposable=t}return u()(e,[{key:"dispose",value:function(){if(!this._disposed)return this._disposed=!0,this._disposable.call(this)}}]),e}();var V=function(e){j()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=M()(t);if(n){var o=M()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return U()(this,e)});function o(e,t){return i()(this,o),r.call(this,(function(){var n=e.indexOf(t);n>=0&&e.splice(n,1)}))}return o}(D),B=function(){function e(t){i()(this,e),c()(this,"_listeners",void 0),c()(this,"_value",void 0),this._listeners=[],this._value=t}return u()(e,[{key:"subscribe",value:function(e){return this._listeners.push(e),e(this._value),new V(this._listeners,e)}},{key:"value",set:function(e){var t=this._value!==e;if(t&&e){var n=e;"function"==typeof n.equals&&(t=!n.equals(this._value))}t&&(this._value=e,this._listeners.forEach((function(t){t(e)})))},get:function(){return this._value}}]),e}(),q=function(){function e(t){i()(this,e),c()(this,"_subject",void 0),this._subject=t}return u()(e,[{key:"subscribe",value:function(e){return this._subject.subscribe(e)}},{key:"value",get:function(){return this._subject.value}}]),e}(),W=(n(4723),n(9653),n(1058),n(2023),n(3123),function(){function e(){i()(this,e)}return u()(e,null,[{key:"parseBrowserNameAndVersion",value:function(){if(!navigator||!navigator.userAgent)return"";var t=navigator.userAgent.match(e._browserNameAndVersionRegex);return t&&t[0]?t[0]:e.parseBrowserNameAndVersionForIE()}},{key:"parseBrowserName",value:function(){if(!e._browserNameAndVersion)return"";var t=e._browserNameAndVersion.split("/");return t&&t[0]?t[0]:""}},{key:"parseBrowserMajorVersion",value:function(){if(!e._browserNameAndVersion)return 0;var t=e._browserNameAndVersion.split("/");if(!t||!t[1])return 0;var n=t[1];return n&&Number(n.split(".")[0])||0}},{key:"parseBrowserNameAndVersionForIE",value:function(){if(!navigator||!navigator.userAgent)return"";var e=navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return"IE/".concat(parseInt(e.substring(t+5,e.indexOf(".",t)),10));if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return"IE/".concat(parseInt(e.substring(n+3,e.indexOf(".",n)),10))}return""}},{key:"browserNameAndVersion",get:function(){return e._browserNameAndVersion}},{key:"browserName",get:function(){return this._browserName}},{key:"browserMajorVersion",get:function(){return this._browserMajorVersion}},{key:"isChrome69",get:function(){return e._isChrome69}},{key:"isChrome70",get:function(){return e._isChrome70}},{key:"isChrome71",get:function(){return e._isChrome71}},{key:"isChrome72",get:function(){return e._isChrome72}},{key:"isChrome74",get:function(){return e._isChrome74}},{key:"isChrome75",get:function(){return e._isChrome75}},{key:"isChrome76",get:function(){return e._isChrome76}},{key:"isChrome77",get:function(){return e._isChrome77}}]),e}());c()(W,"_browserNameAndVersionRegex",/(MSIE|(?!Gecko.+)Firefox|(?!AppleWebKit.+Chrome.+)Safari|(?!AppleWebKit.+)Chrome|AppleWebKit(?!.+Chrome|.+Safari)|Gecko(?!.+Firefox))(?: |\/)([\d.apre]+)/g),c()(W,"_browserNameAndVersion",W.parseBrowserNameAndVersion()),c()(W,"_browserName",W.parseBrowserName()),c()(W,"_browserMajorVersion",W.parseBrowserMajorVersion()),c()(W,"_isChrome69",W._browserNameAndVersion.includes("Chrome/69.")),c()(W,"_isChrome70",W._browserNameAndVersion.includes("Chrome/70.")),c()(W,"_isChrome71",W._browserNameAndVersion.includes("Chrome/71.")),c()(W,"_isChrome72",W._browserNameAndVersion.includes("Chrome/72.")),c()(W,"_isChrome74",W._browserNameAndVersion.includes("Chrome/74.")),c()(W,"_isChrome75",W._browserNameAndVersion.includes("Chrome/75.")),c()(W,"_isChrome76",W._browserNameAndVersion.includes("Chrome/76.")),c()(W,"_isChrome77",W._browserNameAndVersion.includes("Chrome/77."));var G=function(){function e(){i()(this,e)}return u()(e,null,[{key:"clientOfferDisabled",get:function(){return W.isChrome74||W.isChrome75||W.isChrome76||W.isChrome77}},{key:"addTranceiverDisabled",get:function(){return W.isChrome69||W.isChrome70||W.isChrome71||W.isChrome72}},{key:"getStatsPromiseBasedDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=66}},{key:"getCurrentOfferDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=69||"Firefox"===W.browserName&&W.browserMajorVersion<=56}},{key:"onTrackDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=63||"Firefox"===W.browserName&&W.browserMajorVersion<=52}},{key:"webkitRTCPeerConnectionEnabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=55}},{key:"promiseBasedPCMethodsDisabled",get:function(){return"Firefox"===W.browserName&&W.browserMajorVersion<=52}},{key:"shouldUseNativeHls",get:function(){return"Safari"===W.browserName||"SamsungBrowser"===W.browserName}},{key:"isRTMPEnabled",get:function(){return"Firefox"===W.browserName&&W.browserMajorVersion<84||"Chrome"===W.browserName&&W.browserMajorVersion<70||"Edge"===W.browserName||"IE"===W.browserName}},{key:"isPrecachingEnabled",get:function(){return"IE"!==W.browserName}}]),e}(),z=n(202).default,J=function(){function e(t){i()(this,e),c()(this,"_logger",R.getLogger("VanillaPeerConnection")),c()(this,"_peerConnection",void 0),G.webkitRTCPeerConnectionEnabled?this._peerConnection=new webkitRTCPeerConnection(t):this._peerConnection=new RTCPeerConnection(t)}var t,n,r,o;return u()(e,[{key:"createOffer",value:(o=_()(y().mark((function e(t){var n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G.promiseBasedPCMethodsDisabled){e.next=2;break}return e.abrupt("return",new z((function(e,r){return n._peerConnection.createOffer(e,r,t)})));case 2:return e.abrupt("return",this._peerConnection.createOffer(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"createAnswer",value:(r=_()(y().mark((function e(t){var n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G.promiseBasedPCMethodsDisabled){e.next=2;break}return e.abrupt("return",new z((function(e,r){return n._peerConnection.createAnswer(e,r,t)})));case 2:return e.abrupt("return",this._peerConnection.createAnswer(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"setLocalDescription",value:(n=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._peerConnection.setLocalDescription(G.promiseBasedPCMethodsDisabled?new RTCSessionDescription(t):t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"setRemoteDescription",value:(t=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.sdp.match(/a=crypto:/i)&&this._logger.warn("SDP a=crypto is not supported"),e.abrupt("return",this._peerConnection.setRemoteDescription(G.promiseBasedPCMethodsDisabled?new RTCSessionDescription(t):t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getStats",value:function(e){return this._peerConnection.getStats(e)}},{key:"getStatsLegacy",value:function(){var e=this;return new z((function(t){e._peerConnection.getStats(t)}))}},{key:"addEventListener",value:function(e,t,n){this._peerConnection.addEventListener(e,t,n)}},{key:"removeEventListener",value:function(e,t,n){this._peerConnection.removeEventListener(e,t,n)}},{key:"addTransceiver",value:function(e,t){return this._peerConnection.addTransceiver(e,t)}},{key:"getConfiguration",value:function(){return this._peerConnection.getConfiguration()}},{key:"setConfiguration",value:function(e){this._peerConnection.setConfiguration(e)}},{key:"close",value:function(){this._peerConnection.close()}},{key:"native",get:function(){return this._peerConnection}},{key:"currentLocalDescription",get:function(){return this._peerConnection.currentLocalDescription}},{key:"currentRemoteDescription",get:function(){return this._peerConnection.currentRemoteDescription}},{key:"iceConnectionState",get:function(){return this._peerConnection.iceConnectionState}},{key:"supportsGetConfiguration",get:function(){return"function"==typeof this._peerConnection.getConfiguration}},{key:"supportsSetConfiguration",get:function(){return"function"==typeof this._peerConnection.setConfiguration}},{key:"supportsAddTransceiver",get:function(){return!G.addTranceiverDisabled&&"function"==typeof this._peerConnection.addTransceiver}},{key:"ontrack",set:function(e){this._peerConnection.ontrack=e},get:function(){return this._peerConnection.ontrack}},{key:"onicecandidate",set:function(e){this._peerConnection.onicecandidate=e},get:function(){return this._peerConnection.onicecandidate}},{key:"oniceconnectionstatechange",set:function(e){this._peerConnection.oniceconnectionstatechange=e},get:function(){return this._peerConnection.oniceconnectionstatechange}}]),e}(),K=function(){function e(){i()(this,e)}var t;return u()(e,[{key:"createPeerConnection",value:(t=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new J(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),H=(n(6755),"DIGEST:"),$=function(){function e(){i()(this,e)}return u()(e,null,[{key:"parseToken",value:function(t){if(this.isValidToken(t))try{var n=atob(t.substr(H.length)),r=JSON.parse(n);return r.token=JSON.parse(r.token),r}catch(t){return void e._logger.error("Cannot parse token value",t)}else e._logger.error("Token is not valid [%s]",t)}},{key:"getUri",value:function(e){return e&&e.token&&e.token.uri?new URL(e.token.uri):null}},{key:"getTenancy",value:function(e){return e&&e.applicationId?e.applicationId:""}},{key:"isValidToken",value:function(e){return!!e&&e.startsWith(H)}}]),e}();c()($,"_logger",R.getLogger("EdgeAuth")),n(2564);var Y,X=n(8),Z=n.n(X),Q=function(){function e(){i()(this,e),c()(this,"_list",[])}return u()(e,[{key:"add",value:function(e){this._list.push(e)}},{key:"dispose",value:function(){this._list.forEach((function(e){return e.dispose()})),this._list.length=0}},{key:"toString",value:function(){return"DisposableList[disposables=".concat(this._list.length,"]")}}]),e}(),ee=function(){function e(){i()(this,e),c()(this,"_disposables",new Q),c()(this,"_readOnlyIsForeground",void 0),c()(this,"_isForeground",void 0),c()(this,"_timeOfLastTabFocusChange",Date.now()),c()(this,"_documentFocusInterval",void 0),this._isForeground=new B(!0),this._readOnlyIsForeground=new q(this._isForeground),this.detectTabFocusChange()}return u()(e,[{key:"getTimeSinceLastChange",value:function(){return Date.now()-this._timeOfLastTabFocusChange}},{key:"dispose",value:function(){this._disposables.dispose()}},{key:"detectTabFocusChange",value:function(){var e,t,n=this;if("object"===("undefined"==typeof document?"undefined":Z()(document))){void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden?(e="webkitHidden",t="webkitvisibilitychange"):void 0!==document.hidden&&(e="hidden",t="visibilitychange");var r=function(){var t=!document[e];n.setFocusState(t)};void 0!==document.addEventListener&&void 0!==document[e]?(document.addEventListener(t,r,!1),this._disposables.add(new D((function(){document.removeEventListener(t,r,!1)})))):this.listenForDocumentFocus.call(this)}}},{key:"listenForDocumentFocus",value:function(){var e=this;this._documentFocusInterval=window.setInterval((function(){var t=document.hasFocus();e.setFocusState(t)}),3e3),this._disposables.add(new D((function(){e._documentFocusInterval&&clearInterval(e._documentFocusInterval),e._documentFocusInterval=null})))}},{key:"setFocusState",value:function(e){this._isForeground!==e&&(this._isForeground.value=e)}},{key:"isForeground",get:function(){return this._readOnlyIsForeground}}]),e}(),te=(n(9600),n(7852),function(){function e(){i()(this,e)}return u()(e,null,[{key:"getTelemetryUrl",value:function(e){try{var t=new URL(e),n=t.hostname.split(".");switch(t.protocol){case"ws:":t.protocol="http:";break;case"wss:":t.protocol="https:"}return 2===n.length||3===n.length&&n[n.length-2].length<=2&&n[n.length-1].length<=3?n.unshift("telemetry"):n[0].startsWith("stg-")||n[0].endsWith("-stg")||n[0].includes("-stg-")||"stg"===n[0]?n[0]="telemetry-stg":n[0].startsWith("local")||n[0].endsWith("-local")||(n[0]="telemetry"),t.hostname=n.join("."),"".concat(t.origin,"/telemetry")}catch(t){return e}}}]),e}()),ne=function(){function e(){i()(this,e)}return u()(e,null,[{key:"getEnvironmentFromUrl",value:function(e){try{return new URL(e).origin}catch(e){return""}}}]),e}(),re=function(){function e(){throw i()(this,e),new Error("DiscoveryUri is a static class that may not be instantiated")}return u()(e,null,[{key:"buildDiscoveryUrl",value:function(e){var t=new URL(e.toString()),n=b.sdkVersion;return t.search="?".concat(new URLSearchParams([["version",n],["_","".concat(Date.now())]]).toString()),"/"===t.pathname&&(t.pathname="/pcast/endPoints"),t.toString()}},{key:"uri",get:function(){return e._discoveryUri}}]),e}();c()(re,"_discoveryUri",new B("https://pcast.phenixrts.com/pcast/endPoints")),function(e){e[e.TimeToFirstFrame=0]="TimeToFirstFrame",e[e.ChannelCreationTimeToFirstFrame=1]="ChannelCreationTimeToFirstFrame",e[e.Stalled=2]="Stalled",e[e.Buffering=3]="Buffering",e[e.SetupCompleted=4]="SetupCompleted",e[e.SetupFailed=5]="SetupFailed",e[e.RoundTripTime=6]="RoundTripTime",e[e.DownlinkThroughputCapacity=7]="DownlinkThroughputCapacity",e[e.NetworkType=8]="NetworkType",e[e.ResolutionChanged=9]="ResolutionChanged",e[e.ApplicationForeground=10]="ApplicationForeground",e[e.ApplicationBackground=11]="ApplicationBackground"}(Y||(Y={}));var oe=Y,ie=function(){function e(t){i()(this,e),c()(this,"_metrics",void 0),this._metrics=t}return u()(e,[{key:"getName",value:function(){return oe[this._metrics]}},{key:"getTelemetryLevel",value:function(){switch(this._metrics){case oe.TimeToFirstFrame:case oe.ChannelCreationTimeToFirstFrame:return w.Essential;case oe.Stalled:case oe.Buffering:case oe.SetupCompleted:case oe.SetupFailed:case oe.RoundTripTime:case oe.DownlinkThroughputCapacity:case oe.NetworkType:case oe.ResolutionChanged:case oe.ApplicationForeground:case oe.ApplicationBackground:return w.All;default:T(this._metrics)}}}]),e}(),ae=function(){function e(t){i()(this,e),c()(this,"_metricsConfiguration",void 0),c()(this,"_metrics",[]),c()(this,"_isSending",void 0),c()(this,"_domain",location.hostname),this._metricsConfiguration=t}var t,n;return u()(e,[{key:"push",value:function(e){var t=e.streamId,n=e.value,r=e.previousValue,o=e.runtime,i=e.resource,a=e.kind,u=new ie(e.metricType);if(!(this._metricsConfiguration.threshold>u.getTelemetryLevel())){var s={timestamp:(new Date).toISOString(),tenancy:this._metricsConfiguration.tenancy,sessionId:this._metricsConfiguration.sessionId,streamId:t,metric:u.getName(),value:n,previousValue:r,fullQualifiedName:this._domain,environment:this._metricsConfiguration.environment,version:b.sdkVersion,runtime:o,resource:i,kind:a};this._metrics.push(s),this.sendMetricsIfAble()}}},{key:"sendMetrics",value:(n=_()(y().mark((function e(t){var n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new FormData).append("jsonBody",JSON.stringify({records:t})),e.next=4,fetch(this._metricsConfiguration.url,{method:"POST",body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"sendMetricsIfAble",value:(t=_()(y().mark((function e(){var t,n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._metrics.length<=0||this._isSending)){e.next=2;break}return e.abrupt("return");case 2:return this._isSending=!0,t=this._metrics.slice(0,1024),this._metrics=this._metrics.slice(1024),e.abrupt("return",this.sendMetrics(t).then((function(e){return n._isSending=!1,n.sendMetricsIfAble(),e})).catch((function(){n._isSending=!1,n.sendMetricsIfAble()})));case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"metricsConfiguration",get:function(){return this._metricsConfiguration}}]),e}(),ue=function(){function e(){throw i()(this,e),new Error("LoggerFactory is a static class that may not be instantiated")}return u()(e,null,[{key:"getMetricsService",value:function(t){if("string"!=typeof t)throw new Error("ur");var n=e._metricsServices[t];if(n)return n;var r=new L;return r.sessionId=ce.clientSessionId,r.tenancy=ce.tenancy.value,r.url=te.getTelemetryUrl(t),r.environment=ne.getEnvironmentFromUrl(t),r.threshold=E.convertTelemetryLevelTypeToTelemetryLevel(ce.telemetryLevel),e._metricsServices[t]=new ae(r)}},{key:"setTelemetryLevel",value:function(t){var n=Object.values(e._metricsServices);n&&n.length&&n.forEach((function(e){e.metricsConfiguration.threshold=t}))}}]),e}();c()(ue,"_metricsServices",{});var se=window.__phenixPageLoadTime||window.__pageLoadTime||Date.now(),ce=function(){function e(){throw i()(this,e),new Error("SDK is a static class that may not be instantiated")}return u()(e,null,[{key:"applyTelemetryConfiguration",value:function(){var t=this,n=R.telemetryConfiguration;n.sessionId=e.clientSessionId,e._environment.subscribe((function(e){n.environment=e})),e.telemetryUrl.subscribe((function(e){var r=t._logger.appenders.value.find((function(e){return e instanceof k}));r&&(n.url=e,t._logger.appenders.remove(r),t._logger.appenders.add(new k(n)),t._logger.info("Telemetry URL was set to [%s]",n.url))})),e._tenancy.subscribe((function(e){var r=t._logger.appenders.value.find((function(e){return e instanceof k}));r&&e&&(n.tenancy=e,t._logger.appenders.remove(r),t._logger.appenders.add(new k(n)),t._logger.info("Telemetry tenancy was set to [%s]",n.tenancy))}))}},{key:"applyMetricsConfiguration",value:function(){e._metricsService=ue.getMetricsService(re.uri.value),e._metricsConfiguration=e._metricsService.metricsConfiguration,e._metricsConfiguration.sessionId=e.clientSessionId,e._environment.subscribe((function(t){e._metricsConfiguration.environment=t})),e.telemetryUrl.subscribe((function(t){e._metricsConfiguration.url=t})),e._tenancy.subscribe((function(t){e._metricsConfiguration.tenancy=t}));var t=this._configurationParameterReader.getStringValue("phenix-metrics-level");t&&ue.setTelemetryLevel(w[t]),e._telemetryLevel.subscribe((function(e){ue.setTelemetryLevel(e)}))}},{key:"applyAutomaticallyRetryOnFailureFromParameterConfiguration",value:function(){this._automaticallyRetryOnFailure=this._configurationParameterReader.getBooleanValue("phenix-automatically-retry-on-failure"),this._logger.info("Automatically retry on failure is set to: [%s]",this._automaticallyRetryOnFailure)}},{key:"applyAutomaticallyReconnectPeerConnectionFromParameterConfiguration",value:function(){this._automaticallyReconnectPeerConnection=this._configurationParameterReader.getBooleanValue("phenix-automatically-reconnect-peer-connection"),this._logger.info("Automatically reconnect peer connection is set to: [%s]",this._automaticallyReconnectPeerConnection)}},{key:"applyDiscoveryUriDefaultFromParameterConfiguration",value:function(){e.discoveryUri.subscribe((function(t){e.telemetryUrl.value=e.getTelemetryUrl(t),e._environment.value=ne.getEnvironmentFromUrl(t)}));var t=this._configurationParameterReader.getStringValue("phenix-channel-token");if(t){var n=$.parseToken(t);return e._tenancy.value=$.getTenancy(n),re.uri.value=($.getUri(n)||e.discoveryUri.value).toString(),void this._logger.info("Discovery URI set from configuration parameter to [%s]",e.discoveryUri.value)}var r=this._configurationParameterReader.getStringValue("phenix-uri");if(r)return re.uri.value=r,void this._logger.info('Discovery URI set from "phenix-uri" configuration parameter tag to [%s]',e.discoveryUri.value);var o=this._configurationParameterReader.getStringValue("phenix-base-uri");return o?(re.uri.value="".concat(o,"/pcast/endPoints"),void this._logger.info('Discovery URI set from "phenix-base-uri" configuration parameter tag to [%s]',e.discoveryUri.value)):void 0}},{key:"init",value:function(t){if(this._initialized.value||(this._applicationActivityMonitor=new ee),t){if(t.discoveryUri&&(re.uri.value=t.discoveryUri),t.peerConnectionFactory&&(e._peerConnectionFactory.value=t.peerConnectionFactory),t.telemetryLevel&&w[t.telemetryLevel]&&(e._telemetryLevel.value=E.convertTelemetryLevelTypeToTelemetryLevel(t.telemetryLevel)),t.loggingLevel&&r[t.loggingLevel]&&this._logger.threshold.setThreshold(A.convertLoggingLevelTypeToLoggingLevel(t.loggingLevel)),t.consoleLoggingLevel&&r[t.consoleLoggingLevel]){var n=this._logger.appenders.value.find((function(e){return e instanceof g}));n&&this._logger.appenders.remove(n),"Off"!==t.consoleLoggingLevel&&this._logger.appenders.add(new g(A.convertLoggingLevelTypeToLoggingLevel(t.consoleLoggingLevel)))}"boolean"==typeof t.automaticallyPlayMediaStream&&(this._automaticallyPlayMediaStream=t.automaticallyPlayMediaStream),"boolean"==typeof t.automaticallyMuteVideoOnPlayFailure&&(this._automaticallyMuteVideoOnPlayFailure=t.automaticallyMuteVideoOnPlayFailure),t.webPlayerLoader&&(this._webPlayerLoader=t.webPlayerLoader),t.shakaPlayerLoader&&(this._shakaPlayerLoader=t.shakaPlayerLoader),t.hlsJsLoader&&(this._hlsJsLoader=t.hlsJsLoader)}e._initialized.value=!0}},{key:"dispose",value:function(){e._initialized.value=!1,this._applicationActivityMonitor.dispose(),this._applicationActivityMonitor=null}},{key:"getTelemetryUrl",value:function(e){return te.getTelemetryUrl(e)}},{key:"pageLoadTime",get:function(){return se}},{key:"sendLocalCandidates",get:function(){return this._sendLocalCandidates}},{key:"tenancy",get:function(){return this._tenancy}},{key:"clientSessionId",get:function(){return e._clientSessionId}},{key:"loadedTimestamp",get:function(){return e._loadedTimestamp}},{key:"initialized",get:function(){return e._readOnlyInitialized}},{key:"discoveryUri",get:function(){return e._readOnlyDiscoveryUri}},{key:"peerConnectionFactory",get:function(){return e._readOnlyPeerConnectionFactory}},{key:"automaticRetryOnFailure",get:function(){return e._automaticallyRetryOnFailure}},{key:"automaticallyReconnectPeerConnection",get:function(){return e._automaticallyReconnectPeerConnection}},{key:"automaticallyPlayMediaStream",get:function(){return e._automaticallyPlayMediaStream}},{key:"automaticallyMuteVideoOnPlayFailure",get:function(){return e._automaticallyMuteVideoOnPlayFailure}},{key:"webPlayerLoader",get:function(){return this._webPlayerLoader}},{key:"shakaPlayerLoader",get:function(){return this._shakaPlayerLoader}},{key:"hlsJsLoader",get:function(){return this._hlsJsLoader}},{key:"metricsService",get:function(){return e._metricsService}},{key:"applicationActivityMonitor",get:function(){return this._applicationActivityMonitor}},{key:"telemetryUrl",get:function(){return this._telemetryUrl}},{key:"maximalNumberOfPeerConnectionReconnectAttempts",get:function(){return this._maximalNumberOfPeerConnectionReconnectAttempts},set:function(e){this._maximalNumberOfPeerConnectionReconnectAttempts=e}},{key:"loggingLevel",get:function(){return A.convertLoggingLevelToLoggingLevelType(this._logger.threshold.value)}},{key:"telemetryLevel",get:function(){return E.convertTelemetryLevelToTelemetryLevelType(e._telemetryLevel.value)}},{key:"browserDetector",get:function(){return W}}]),e}();c()(ce,"_automaticallyRetryOnFailure",!0),c()(ce,"_automaticallyReconnectPeerConnection",!0),c()(ce,"_automaticallyPlayMediaStream",!0),c()(ce,"_automaticallyMuteVideoOnPlayFailure",!0),c()(ce,"_webPlayerLoader",null),c()(ce,"_shakaPlayerLoader",null),c()(ce,"_hlsJsLoader",null),c()(ce,"_configurationParameterReader",new O),c()(ce,"_applicationActivityMonitor",void 0),c()(ce,"_environment",new B("")),c()(ce,"_telemetryUrl",new B("https://telemetry.phenixrts.com/telemetry")),c()(ce,"_maximalNumberOfPeerConnectionReconnectAttempts",8),c()(ce,"_telemetryLevel",new B(C.defaultTelemetryLevel)),c()(ce,"_metricsService",void 0),c()(ce,"_metricsConfiguration",void 0),c()(ce,"_sendLocalCandidates",new B(!h.isPrivate)),c()(ce,"_tenancy",new B("")),c()(ce,"_clientSessionId",P.random(32)),c()(ce,"_loadedTimestamp",new Date),c()(ce,"_logger",R.getLogger("SDK")),c()(ce,"_initialized",new B(!1)),c()(ce,"_peerConnectionFactory",new B(new K)),c()(ce,"_readOnlyInitialized",new q(ce._initialized)),c()(ce,"_readOnlyDiscoveryUri",new q(re.uri)),c()(ce,"_readOnlyPeerConnectionFactory",new q(ce._peerConnectionFactory)),window.addEventListener("unload",(function(){ce.dispose()})),ce.applyDiscoveryUriDefaultFromParameterConfiguration(),ce.applyMetricsConfiguration(),ce.applyTelemetryConfiguration(),ce.applyAutomaticallyRetryOnFailureFromParameterConfiguration(),ce.applyAutomaticallyReconnectPeerConnectionFromParameterConfiguration(),ce.init();var le={SDK:ce}},3099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},6077:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},9670:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},1285:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(7466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:o(s,n);c>u;)t[u++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,o=n(9341),i=n(9207),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:function(e,t,n){"use strict";var r=n(9974),o=n(7908),i=n(3411),a=n(7659),u=n(7466),s=n(6135),c=n(1246);e.exports=function(e){var t,n,l,f,h,p,v=o(e),g="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,m=void 0!==y,_=c(v),b=0;if(m&&(y=r(y,d>2?arguments[2]:void 0,2)),null==_||g==Array&&a(_))for(n=new g(t=u(v.length));t>b;b++)p=m?y(v[b],b):v[b],s(n,b,p);else for(h=(f=_.call(v)).next,n=new g;!(l=h.call(f)).done;b++)p=m?i(f,y,[l.value,b],!0):l.value,s(n,b,p);return n.length=b,n}},1318:function(e,t,n){var r=n(5656),o=n(7466),i=n(1400),a=function(e){return function(t,n,a){var u,s=r(t),c=o(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:function(e,t,n){var r=n(9974),o=n(8361),i=n(7908),a=n(7466),u=n(5417),s=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,l=4==e,f=6==e,h=7==e,p=5==e||f;return function(v,g,d,y){for(var m,_,b=i(v),w=o(b),x=r(g,d,3),k=a(w.length),S=0,L=y||u,C=t?L(v,k):n||h?L(v,0):void 0;k>S;S++)if((p||S in w)&&(_=x(m=w[S],S,b),e))if(t)C[S]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s.call(C,m)}else switch(e){case 4:return!1;case 7:s.call(C,m)}return f?-1:c||l?l:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},1194:function(e,t,n){var r=n(7293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},9207:function(e,t,n){var r=n(9781),o=n(7293),i=n(6656),a=Object.defineProperty,u={},s=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,f=i(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,l,f)}))}},3671:function(e,t,n){var r=n(3099),o=n(7908),i=n(8361),a=n(7466),u=function(e){return function(t,n,u,s){r(n);var c=o(t),l=i(c),f=a(c.length),h=e?f-1:0,p=e?-1:1;if(u<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=p)h in l&&(s=n(s,l[h],h,c));return s}};e.exports={left:u(!1),right:u(!0)}},5417:function(e,t,n){var r=n(111),o=n(3157),i=n(5112)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},7072:function(e,t,n){var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},648:function(e,t,n){var r=n(1694),o=n(4326),i=n(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},9920:function(e,t,n){var r=n(6656),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t){for(var n=o(t),u=a.f,s=i.f,c=0;c<n.length;c++){var l=n[c];r(e,l)||u(e,l,s(t,l))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),u=n(7497),s=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=s,e}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(7593),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},5573:function(e,t,n){"use strict";var r=n(7293),o=n(6650).start,i=Math.abs,a=Date.prototype,u=a.getTime,s=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-50000000000001))}))||!r((function(){s.call(new Date(NaN))}))?function(){if(!isFinite(u.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+o(i(t),r?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:s},654:function(e,t,n){"use strict";var r=n(2109),o=n(4994),i=n(9518),a=n(7674),u=n(8003),s=n(8880),c=n(1320),l=n(5112),f=n(1913),h=n(7497),p=n(3383),v=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,d=l("iterator"),y="keys",m="values",_="entries",b=function(){return this};e.exports=function(e,t,n,l,p,w,x){o(n,t,l);var k,S,L,C=function(e){if(e===p&&R)return R;if(!g&&e in A)return A[e];switch(e){case y:case m:case _:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",E=!1,A=e.prototype,O=A[d]||A["@@iterator"]||p&&A[p],R=!g&&O||C(p),P="Array"==t&&A.entries||O;if(P&&(k=i(P.call(new e)),v!==Object.prototype&&k.next&&(f||i(k)===v||(a?a(k,v):"function"!=typeof k[d]&&s(k,d,b)),u(k,T,!0,!0),f&&(h[T]=b))),p==m&&O&&O.name!==m&&(E=!0,R=function(){return O.call(this)}),f&&!x||A[d]===R||s(A,d,R),h[t]=R,p)if(S={values:C(m),keys:w?R:C(y),entries:C(_)},x)for(L in S)(g||E||!(L in A))&&c(A,L,S[L]);else r({target:t,proto:!0,forced:g||E},S);return S}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6833:function(e,t,n){var r=n(8113);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},5268:function(e,t,n){var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),a=n(8113),u=i.process,s=u&&u.versions,c=s&&s.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(1320),u=n(3505),s=n(9920),c=n(4705);e.exports=function(e,t){var n,l,f,h,p,v=e.target,g=e.global,d=e.stat;if(n=g?r:d?r[v]||u(v,{}):(r[v]||{}).prototype)for(l in t){if(h=t[l],f=e.noTargetGet?(p=o(n,l))&&p.value:n[l],!c(g?l:v+(d?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;s(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(n,l,h,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1320),o=n(7293),i=n(5112),a=n(2261),u=n(8880),s=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),h=!!/./[f]&&""===/./[f]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var v=i(e),g=!o((function(){var t={};return t[v]=function(){return 7},7!=""[e](t)})),d=g&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return t=!0,null},n[v](""),!t}));if(!g||!d||"replace"===e&&(!c||!l||h)||"split"===e&&!p){var y=/./[v],m=n(v,""[e],(function(e,t,n,r,o){return t.exec===a?g&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),_=m[0],b=m[1];r(String.prototype,e,_),r(RegExp.prototype,v,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}f&&u(RegExp.prototype[v],"sham",!0)}},9974:function(e,t,n){var r=n(3099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},7065:function(e,t,n){"use strict";var r=n(3099),o=n(111),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},5005:function(e,t,n){var r=n(857),o=n(7854),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},1246:function(e,t,n){var r=n(648),o=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},8554:function(e,t,n){var r=n(9670),o=n(1246);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(7293),o=n(4326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},9587:function(e,t,n){var r=n(111),o=n(7674);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},2788:function(e,t,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},9909:function(e,t,n){var r,o,i,a=n(8536),u=n(7854),s=n(111),c=n(8880),l=n(6656),f=n(5465),h=n(6200),p=n(3501),v=u.WeakMap;if(a){var g=f.state||(f.state=new v),d=g.get,y=g.has,m=g.set;r=function(e,t){return t.facade=e,m.call(g,e,t),t},o=function(e){return d.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var _=h("state");p[_]=!0,r=function(e,t){return t.facade=e,c(e,_,t),t},o=function(e){return l(e,_)?e[_]:{}},i=function(e){return l(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},4705:function(e,t,n){var r=n(7293),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},408:function(e,t,n){var r=n(9670),o=n(7659),i=n(7466),a=n(9974),u=n(1246),s=n(9212),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,f,h,p,v,g,d,y=n&&n.that,m=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),w=a(t,y,1+m+b),x=function(e){return l&&s(l),new c(!0,e)},k=function(e){return m?(r(e),b?w(e[0],e[1],x):w(e[0],e[1])):b?w(e,x):w(e)};if(_)l=e;else{if("function"!=typeof(f=u(e)))throw TypeError("Target is not iterable");if(o(f)){for(h=0,p=i(e.length);p>h;h++)if((v=k(e[h]))&&v instanceof c)return v;return new c(!1)}l=f.call(e)}for(g=l.next;!(d=g.call(l)).done;){try{v=k(d.value)}catch(e){throw s(l),e}if("object"==typeof v&&v&&v instanceof c)return v}return new c(!1)}},9212:function(e,t,n){var r=n(9670);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},3383:function(e,t,n){"use strict";var r,o,i,a=n(9518),u=n(8880),s=n(6656),c=n(5112),l=n(1913),f=c("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):h=!0),null==r&&(r={}),l||s(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:function(e){e.exports={}},5948:function(e,t,n){var r,o,i,a,u,s,c,l,f=n(7854),h=n(1236).f,p=n(261).set,v=n(6833),g=n(5268),d=f.MutationObserver||f.WebKitMutationObserver,y=f.document,m=f.process,_=f.Promise,b=h(f,"queueMicrotask"),w=b&&b.value;w||(r=function(){var e,t;for(g&&(e=m.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},!v&&!g&&d&&y?(u=!0,s=y.createTextNode(""),new d(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u}):_&&_.resolve?(c=_.resolve(void 0),l=c.then,a=function(){l.call(c,r)}):a=g?function(){m.nextTick(r)}:function(){p.call(f,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(7293),o=n(5112),i=n(1913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),o=n(2788),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},8523:function(e,t,n){"use strict";var r=n(3099),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:function(e,t,n){var r=n(7850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},3009:function(e,t,n){var r=n(7854),o=n(3111).trim,i=n(1361),a=r.parseInt,u=/^[+-]?0[Xx]/,s=8!==a(i+"08")||22!==a(i+"0x16");e.exports=s?function(e,t){var n=o(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},1574:function(e,t,n){"use strict";var r=n(9781),o=n(7293),i=n(1956),a=n(5181),u=n(5296),s=n(7908),c=n(8361),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||i(l({},t)).join("")!=o}))?function(e,t){for(var n=s(e),o=arguments.length,l=1,f=a.f,h=u.f;o>l;)for(var p,v=c(arguments[l++]),g=f?i(v).concat(f(v)):i(v),d=g.length,y=0;d>y;)p=g[y++],r&&!h.call(v,p)||(n[p]=v[p]);return n}:l},30:function(e,t,n){var r,o=n(9670),i=n(6048),a=n(748),u=n(3501),s=n(490),c=n(317),l=n(6200)("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};u[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[l]=e):n=p(),void 0===t?n:i(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3070),i=n(9670),a=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,s=0;u>s;)o.f(e,n=r[s++],t[n]);return e}},3070:function(e,t,n){var r=n(9781),o=n(4664),i=n(9670),a=n(7593),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(5296),i=n(9114),a=n(5656),u=n(7593),s=n(6656),c=n(4664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=u(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(6656),o=n(7908),i=n(6200),a=n(8544),u=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},6324:function(e,t,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,a=n(3501);e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},4699:function(e,t,n){var r=n(9781),o=n(1956),i=n(5656),a=n(5296).f,u=function(e){return function(t){for(var n,u=i(t),s=o(u),c=s.length,l=0,f=[];c>l;)n=s[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},288:function(e,t,n){"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},3887:function(e,t,n){var r=n(5005),o=n(8006),i=n(5181),a=n(9670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:function(e,t,n){var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:function(e,t,n){var r=n(7854),o=n(8880),i=n(6656),a=n(3505),u=n(2788),s=n(9909),c=s.get,l=s.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var s,c=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(s=l(n)).source||(s.source=f.join("string"==typeof t?t:""))),e!==r?(c?!p&&e[t]&&(h=!0):delete e[t],h?e[t]=n:o(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},7651:function(e,t,n){var r=n(4326),o=n(2261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},2261:function(e,t,n){"use strict";var r,o,i=n(7066),a=n(2999),u=RegExp.prototype.exec,s=String.prototype.replace,c=u,l=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(l||h||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,p=i.call(a),v=a.source,g=0,d=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),d=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(v="(?: "+v+")",d=" "+d,g++),n=new RegExp("^(?:"+v+")",p)),h&&(n=new RegExp("^"+v+"$(?!\\s)",p)),l&&(t=a.lastIndex),r=u.call(c?n:a,d),c?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),h&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){"use strict";var r=n(7293);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},4488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},1150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},3505:function(e,t,n){var r=n(7854),o=n(8880);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),a=n(9781),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,o=n(6656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),o=n(3099),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},8710:function(e,t,n){var r=n(9958),o=n(4488),i=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},6650:function(e,t,n){var r=n(7466),o=n(8415),i=n(4488),a=Math.ceil,u=function(e){return function(t,n,u){var s,c,l=String(i(t)),f=l.length,h=void 0===u?" ":String(u),p=r(n);return p<=f||""==h?l:(s=p-f,(c=o.call(h,a(s/h.length))).length>s&&(c=c.slice(0,s)),e?l+c:c+l)}};e.exports={start:u(!1),end:u(!0)}},3197:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},c=function(e){var n,r,c=[],l=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,f=128,h=0,p=72;for(n=0;n<e.length;n++)(r=e[n])<128&&c.push(a(r));var v=c.length,g=v;for(v&&c.push("-");g<l;){var d=t;for(n=0;n<e.length;n++)(r=e[n])>=f&&r<d&&(d=r);var y=g+1;if(d-f>i((t-h)/y))throw RangeError(o);for(h+=(d-f)*y,f=d,n=0;n<e.length;n++){if((r=e[n])<f&&++h>t)throw RangeError(o);if(r==f){for(var m=h,_=36;;_+=36){var b=_<=p?1:_>=p+26?26:_-p;if(m<b)break;var w=m-b,x=36-b;c.push(a(u(b+w%x))),m=i(w/x)}c.push(a(u(m))),p=s(h,y,g==v),h=0,++g}}++h,++f}return c.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(n.test(o)?"xn--"+c(o):o);return i.join(".")}},8415:function(e,t,n){"use strict";var r=n(9958),o=n(4488);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},3111:function(e,t,n){var r=n(4488),o="["+n(1361)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},261:function(e,t,n){var r,o,i,a=n(7854),u=n(7293),s=n(9974),c=n(490),l=n(317),f=n(6833),h=n(5268),p=a.location,v=a.setImmediate,g=a.clearImmediate,d=a.process,y=a.MessageChannel,m=a.Dispatch,_=0,b={},w=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},x=function(e){return function(){w(e)}},k=function(e){w(e.data)},S=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};v&&g||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(_),_},g=function(e){delete b[e]},h?r=function(e){d.nextTick(x(e))}:m&&m.now?r=function(e){m.now(x(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=k,r=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!u(S)?(r=S,a.addEventListener("message",k,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:v,clear:g}},1400:function(e,t,n){var r=n(9958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},7466:function(e,t,n){var r=n(9958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488);e.exports=function(e){return Object(r(e))}},7593:function(e,t,n){var r=n(111);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},9711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(6656),a=n(9711),u=n(133),s=n(3307),c=o("wks"),l=r.Symbol,f=s?l:l&&l.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(l,e)?c[e]=l[e]:c[e]=f("Symbol."+e)),c[e]}},1361:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},2222:function(e,t,n){"use strict";var r=n(2109),o=n(7293),i=n(3157),a=n(111),u=n(7908),s=n(7466),c=n(6135),l=n(5417),f=n(1194),h=n(5112),p=n(7392),v=h("isConcatSpreadable"),g=9007199254740991,d="Maximum allowed index exceeded",y=p>=51||!o((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),m=f("concat"),_=function(e){if(!a(e))return!1;var t=e[v];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!y||!m},{concat:function(e){var t,n,r,o,i,a=u(this),f=l(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(_(i=-1===t?a:arguments[t])){if(h+(o=s(i.length))>g)throw TypeError(d);for(n=0;n<o;n++,h++)n in i&&c(f,h,i[n])}else{if(h>=g)throw TypeError(d);c(f,h++,i)}return f.length=h,f}})},3290:function(e,t,n){var r=n(2109),o=n(1285),i=n(1223);r({target:"Array",proto:!0},{fill:o}),i("fill")},9826:function(e,t,n){"use strict";var r=n(2109),o=n(2092).find,i=n(1223),a=n(9207),u="find",s=!0,c=a(u);u in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},9554:function(e,t,n){"use strict";var r=n(2109),o=n(8533);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},6699:function(e,t,n){"use strict";var r=n(2109),o=n(1318).includes,i=n(1223);r({target:"Array",proto:!0,forced:!n(9207)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},2772:function(e,t,n){"use strict";var r=n(2109),o=n(1318).indexOf,i=n(9341),a=n(9207),u=[].indexOf,s=!!u&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!c||!l},{indexOf:function(e){return s?u.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},9753:function(e,t,n){n(2109)({target:"Array",stat:!0},{isArray:n(3157)})},6992:function(e,t,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),u=n(654),s="Array Iterator",c=a.set,l=a.getterFor(s);e.exports=u(Array,"Array",(function(e,t){c(this,{type:s,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:function(e,t,n){"use strict";var r=n(2109),o=n(8361),i=n(5656),a=n(9341),u=[].join,s=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:s||!c},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},5827:function(e,t,n){"use strict";var r=n(2109),o=n(3671).left,i=n(9341),a=n(9207),u=n(7392),s=n(5268),c=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!l||!s&&u>79&&u<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),o=n(111),i=n(3157),a=n(1400),u=n(7466),s=n(5656),c=n(6135),l=n(5112),f=n(1194),h=n(9207),p=f("slice"),v=h("slice",{ACCESSORS:!0,0:0,1:2}),g=l("species"),d=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!p||!v},{slice:function(e,t){var n,r,l,f=s(this),h=u(f.length),p=a(e,h),v=a(void 0===t?h:t,h);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[g])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,p,v);for(r=new(void 0===n?Array:n)(y(v-p,0)),l=0;p<v;p++,l++)p in f&&c(r,l,f[p]);return r.length=l,r}})},561:function(e,t,n){"use strict";var r=n(2109),o=n(1400),i=n(9958),a=n(7466),u=n(7908),s=n(5417),c=n(6135),l=n(1194),f=n(9207),h=l("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min,d=9007199254740991,y="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!h||!p},{splice:function(e,t){var n,r,l,f,h,p,m=u(this),_=a(m.length),b=o(e,_),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=_-b):(n=w-2,r=g(v(i(t),0),_-b)),_+n-r>d)throw TypeError(y);for(l=s(m,r),f=0;f<r;f++)(h=b+f)in m&&c(l,f,m[h]);if(l.length=r,n<r){for(f=b;f<_-r;f++)p=f+n,(h=f+r)in m?m[p]=m[h]:delete m[p];for(f=_;f>_-r+n;f--)delete m[f-1]}else if(n>r)for(f=_-r;f>b;f--)p=f+n-1,(h=f+r-1)in m?m[p]=m[h]:delete m[p];for(f=0;f<n;f++)m[f+b]=arguments[f+2];return m.length=_-r+n,l}})},3843:function(e,t,n){n(2109)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},8733:function(e,t,n){var r=n(2109),o=n(5573);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},3710:function(e,t,n){var r=n(1320),o=Date.prototype,i="Invalid Date",a=o.toString,u=o.getTime;new Date(NaN)+""!=i&&r(o,"toString",(function(){var e=u.call(this);return e==e?a.call(this):i}))},4812:function(e,t,n){n(2109)({target:"Function",proto:!0},{bind:n(7065)})},9653:function(e,t,n){"use strict";var r=n(9781),o=n(7854),i=n(4705),a=n(1320),u=n(6656),s=n(4326),c=n(9587),l=n(7593),f=n(7293),h=n(30),p=n(8006).f,v=n(1236).f,g=n(3070).f,d=n(3111).trim,y="Number",m=o.Number,_=m.prototype,b=s(h(_))==y,w=function(e){var t,n,r,o,i,a,u,s,c=l(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=d(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,r)}return+c};if(i(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var x,k=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof k&&(b?f((function(){_.valueOf.call(n)})):s(n)!=y)?c(new m(w(t)),n,k):w(t)},S=r?p(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),L=0;S.length>L;L++)u(m,x=S[L])&&!u(k,x)&&g(k,x,v(m,x));k.prototype=_,_.constructor=k,a(o,y,k)}},1539:function(e,t,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},2479:function(e,t,n){var r=n(2109),o=n(4699).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},1058:function(e,t,n){var r=n(2109),o=n(3009);r({global:!0,forced:parseInt!=o},{parseInt:o})},7727:function(e,t,n){"use strict";var r=n(2109),o=n(1913),i=n(3366),a=n(7293),u=n(5005),s=n(6707),c=n(9478),l=n(1320);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,u("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",u("Promise").prototype.finally)},8674:function(e,t,n){"use strict";var r,o,i,a,u=n(2109),s=n(1913),c=n(7854),l=n(5005),f=n(3366),h=n(1320),p=n(2248),v=n(8003),g=n(6340),d=n(111),y=n(3099),m=n(5787),_=n(2788),b=n(408),w=n(7072),x=n(6707),k=n(261).set,S=n(5948),L=n(9478),C=n(842),T=n(8523),E=n(2534),A=n(9909),O=n(4705),R=n(5112),P=n(5268),I=n(7392),j=R("species"),F="Promise",U=A.get,N=A.set,M=A.getterFor(F),D=f,V=c.TypeError,B=c.document,q=c.process,W=l("fetch"),G=T.f,z=G,J=!!(B&&B.createEvent&&c.dispatchEvent),K="function"==typeof PromiseRejectionEvent,H="unhandledrejection",$=O(F,(function(){if(_(D)===String(D)){if(66===I)return!0;if(!P&&!K)return!0}if(s&&!D.prototype.finally)return!0;if(I>=51&&/native code/.test(D))return!1;var e=D.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[j]=t,!(e.then((function(){}))instanceof t)})),Y=$||!w((function(e){D.all(e).catch((function(){}))})),X=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;S((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,c=n[i++],l=o?c.ok:c.fail,f=c.resolve,h=c.reject,p=c.domain;try{l?(o||(2===e.rejection&&ne(e),e.rejection=1),!0===l?a=r:(p&&p.enter(),a=l(r),p&&(p.exit(),s=!0)),a===c.promise?h(V("Promise-chain cycle")):(u=X(a))?u.call(a,f,h):f(a)):h(r)}catch(e){p&&!s&&p.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ee(e)}))}},Q=function(e,t,n){var r,o;J?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!K&&(o=c["on"+e])?o(r):e===H&&C("Unhandled promise rejection",n)},ee=function(e){k.call(c,(function(){var t,n=e.facade,r=e.value;if(te(e)&&(t=E((function(){P?q.emit("unhandledRejection",r,n):Q(H,n,r)})),e.rejection=P||te(e)?2:1,t.error))throw t.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e){k.call(c,(function(){var t=e.facade;P?q.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},re=function(e,t,n){return function(r){e(t,r,n)}},oe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},ie=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var r=X(t);r?S((function(){var n={done:!1};try{r.call(t,re(ie,n,e),re(oe,n,e))}catch(t){oe(n,t,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(t){oe({done:!1},t,e)}}};$&&(D=function(e){m(this,D,F),y(e),r.call(this);var t=U(this);try{e(re(ie,t),re(oe,t))}catch(e){oe(t,e)}},(r=function(e){N(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(D.prototype,{then:function(e,t){var n=M(this),r=G(x(this,D));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=P?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Z(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=U(e);this.promise=e,this.resolve=re(ie,t),this.reject=re(oe,t)},T.f=G=function(e){return e===D||e===i?new o(e):z(e)},s||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var n=this;return new D((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return L(D,W.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:D}),v(D,F,!1,!0),g(F),i=l(F),u({target:F,stat:!0,forced:$},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),u({target:F,stat:!0,forced:s||$},{resolve:function(e){return L(s&&this===i?D:this,e)}}),u({target:F,stat:!0,forced:Y},{all:function(e){var t=this,n=G(t),r=n.resolve,o=n.reject,i=E((function(){var n=y(t.resolve),i=[],a=0,u=1;b(e,(function(e){var s=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,o=E((function(){var o=y(t.resolve);b(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},2419:function(e,t,n){var r=n(2109),o=n(5005),i=n(3099),a=n(9670),u=n(111),s=n(30),c=n(7065),l=n(7293),f=o("Reflect","construct"),h=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!l((function(){f((function(){}))})),v=h||p;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!h)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,l=s(u(o)?o:Object.prototype),v=Function.apply.call(e,l,t);return u(v)?v:l}})},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1320),o=n(9670),i=n(7293),a=n(7066),u="toString",s=RegExp.prototype,c=s.toString,l=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=u;(l||f)&&r(RegExp.prototype,u,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},7852:function(e,t,n){"use strict";var r,o=n(2109),i=n(1236).f,a=n(7466),u=n(3929),s=n(4488),c=n(4964),l=n(1913),f="".endsWith,h=Math.min,p=c("endsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||p)},{endsWith:function(e){var t=String(s(this));u(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:h(a(n),r),i=String(e);return f?f.call(t,i,o):t.slice(o-i.length,o)===i}})},2023:function(e,t,n){"use strict";var r=n(2109),o=n(3929),i=n(4488);r({target:"String",proto:!0,forced:!n(4964)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,o=n(9909),i=n(654),a="String Iterator",u=o.set,s=o.getterFor(a);i(String,"String",(function(e){u(this,{type:a,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(4488),u=n(1530),s=n(7651);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return s(a,c);var l=a.unicode;a.lastIndex=0;for(var f,h=[],p=0;null!==(f=s(a,c));){var v=String(f[0]);h[p]=v,""===v&&(a.lastIndex=u(c,i(a.lastIndex),l)),p++}return 0===p?null:h}]}))},4765:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(4488),a=n(1150),u=n(7651);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),s=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var l=u(i,s);return a(i.lastIndex,c)||(i.lastIndex=c),null===l?-1:l.index}]}))},3123:function(e,t,n){"use strict";var r=n(7007),o=n(7850),i=n(9670),a=n(4488),u=n(6707),s=n(1530),c=n(7466),l=n(7651),f=n(2261),h=n(7293),p=[].push,v=Math.min,g=4294967295,d=!h((function(){return!RegExp(g,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?g:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,s,c,l=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,d=new RegExp(e.source,h+"g");(u=f.call(d,r))&&!((s=d.lastIndex)>v&&(l.push(r.slice(v,u.index)),u.length>1&&u.index<r.length&&p.apply(l,u.slice(1)),c=u[0].length,v=s,l.length>=i));)d.lastIndex===u.index&&d.lastIndex++;return v===r.length?!c&&d.test("")||l.push(""):l.push(r.slice(v)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),h=String(this),p=u(f,RegExp),y=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(d?"y":"g"),_=new p(d?f:"^(?:"+f.source+")",m),b=void 0===o?g:o>>>0;if(0===b)return[];if(0===h.length)return null===l(_,h)?[h]:[];for(var w=0,x=0,k=[];x<h.length;){_.lastIndex=d?x:0;var S,L=l(_,d?h:h.slice(x));if(null===L||(S=v(c(_.lastIndex+(d?0:x)),h.length))===w)x=s(h,x,y);else{if(k.push(h.slice(w,x)),k.length===b)return k;for(var C=1;C<=L.length-1;C++)if(k.push(L[C]),k.length===b)return k;x=w=S}}return k.push(h.slice(w)),k}]}),!d)},6755:function(e,t,n){"use strict";var r,o=n(2109),i=n(1236).f,a=n(7466),u=n(3929),s=n(4488),c=n(4964),l=n(1913),f="".startsWith,h=Math.min,p=c("startsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||p)},{startsWith:function(e){var t=String(s(this));u(e);var n=a(h(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return f?f.call(t,r,n):t.slice(n,n+r.length)===r}})},4747:function(e,t,n){var r=n(7854),o=n(8324),i=n(8533),a=n(8880);for(var u in o){var s=r[u],c=s&&s.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},3948:function(e,t,n){var r=n(7854),o=n(8324),i=n(6992),a=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),l=i.values;for(var f in o){var h=r[f],p=h&&h.prototype;if(p){if(p[s]!==l)try{a(p,s,l)}catch(e){p[s]=l}if(p[c]||a(p,c,f),o[f])for(var v in i)if(p[v]!==i[v])try{a(p,v,i[v])}catch(e){p[v]=i[v]}}}},2564:function(e,t,n){var r=n(2109),o=n(7854),i=n(8113),a=[].slice,u=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),o=n(5005),i=n(590),a=n(1320),u=n(2248),s=n(8003),c=n(4994),l=n(9909),f=n(5787),h=n(6656),p=n(9974),v=n(648),g=n(9670),d=n(111),y=n(30),m=n(9114),_=n(8554),b=n(1246),w=n(5112),x=o("fetch"),k=o("Headers"),S=w("iterator"),L="URLSearchParams",C="URLSearchParamsIterator",T=l.set,E=l.getterFor(L),A=l.getterFor(C),O=/\+/g,R=Array(4),P=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(P(n--),I);return t}},F=/[!'()~]|%20/g,U={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(e){return U[e]},M=function(e){return encodeURIComponent(e).replace(F,N)},D=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},V=function(e){this.entries.length=0,D(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){T(this,{type:C,iterator:_(E(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),W=function(){f(this,W,L);var e,t,n,r,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(T(l,{type:L,entries:p,updateURL:function(){},updateSearchParams:V}),void 0!==c)if(d(c))if("function"==typeof(e=b(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(i=(o=_(g(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:u.value+""})}else for(s in c)h(c,s)&&p.push({key:s,value:c[s]+""});else D(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},G=W.prototype;u(G,{append:function(e,t){B(arguments.length,2);var n=E(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){B(arguments.length,1);for(var t=E(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var n,r=E(this),o=r.entries,i=!1,a=e+"",u=t+"",s=0;s<o.length;s++)(n=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=E(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=E(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(G,S,G.entries),a(G,"toString",(function(){for(var e,t=E(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(M(e.key)+"="+M(e.value));return n.join("&")}),{enumerable:!0}),s(W,L),r({global:!0,forced:!i},{URLSearchParams:W}),i||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(d(t=arguments[1])&&(n=t.body,v(n)===L&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(n)),headers:m(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:W,getState:E}},285:function(e,t,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),a=n(590),u=n(7854),s=n(6048),c=n(1320),l=n(5787),f=n(6656),h=n(1574),p=n(8457),v=n(8710).codeAt,g=n(3197),d=n(8003),y=n(1637),m=n(9909),_=u.URL,b=y.URLSearchParams,w=y.getState,x=m.set,k=m.getterFor("URL"),S=Math.floor,L=Math.pow,C="Invalid scheme",T="Invalid host",E="Invalid port",A=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,R=/\d/,P=/^(0x|0X)/,I=/^[0-7]+$/,j=/^\d+$/,F=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,M=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,V=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(!(n=q(t.slice(1,-1))))return T;e.host=n}else if(Y(e)){if(t=g(t),U.test(t))return T;if(null===(n=B(t)))return T;e.host=n}else{if(N.test(t))return T;for(n="",r=p(t),o=0;o<r.length;o++)n+=H(r[o],G);e.host=n}},B=function(e){var t,n,r,o,i,a,u,s=e.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=s[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?I:F).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*L(256,3-r);return u},q=function(e){var t,n,r,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,l=++c}for(;h();){if(8==c)return;if(":"!=h()){for(t=n=0;n<4&&F.test(h());)t=16*t+parseInt(h(),16),f++,n++;if("."==h()){if(0==n)return;if(f-=n,c>6)return;for(r=0;h();){if(o=null,r>0){if(!("."==h()&&r<4))return;f++}if(!R.test(h()))return;for(;R.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!=c)return;return s},W=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},G={},z=h({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),J=h({},z,{"#":1,"?":1,"{":1,"}":1}),K=h({},J,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var n=v(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f($,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&A.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},re={},oe={},ie={},ae={},ue={},se={},ce={},le={},fe={},he={},pe={},ve={},ge={},de={},ye={},me={},_e={},be={},we={},xe={},ke={},Se=function(e,t,n,o){var i,a,u,s,c,l=n||re,h=0,v="",g=!1,d=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(M,"")),t=t.replace(D,""),i=p(t);h<=i.length;){switch(a=i[h],l){case re:if(!a||!A.test(a)){if(n)return C;l=ie;continue}v+=a.toLowerCase(),l=oe;break;case oe:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))v+=a.toLowerCase();else{if(":"!=a){if(n)return C;v="",l=ie,h=0;continue}if(n&&(Y(e)!=f($,v)||"file"==v&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=v,n)return void(Y(e)&&$[e.scheme]==e.port&&(e.port=null));v="","file"==e.scheme?l=de:Y(e)&&o&&o.scheme==e.scheme?l=ae:Y(e)?l=le:"/"==i[h+1]?(l=ue,h++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return C;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=ke;break}l="file"==o.scheme?de:se;continue;case ae:if("/"!=a||"/"!=i[h+1]){l=se;continue}l=fe,h++;break;case ue:if("/"==a){l=he;break}l=be;continue;case se:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))l=ce;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=xe;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=ke}break;case ce:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=be;continue}l=he}else l=fe;break;case le:if(l=fe,"/"!=a||"/"!=v.charAt(h+1))continue;h++;break;case fe:if("/"!=a&&"\\"!=a){l=he;continue}break;case he:if("@"==a){g&&(v="%40"+v),g=!0,u=p(v);for(var m=0;m<u.length;m++){var _=u[m];if(":"!=_||y){var b=H(_,K);y?e.password+=b:e.username+=b}else y=!0}v=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(g&&""==v)return"Invalid authority";h-=p(v).length+1,v="",l=pe}else v+=a;break;case pe:case ve:if(n&&"file"==e.scheme){l=me;continue}if(":"!=a||d){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==v)return T;if(n&&""==v&&(X(e)||null!==e.port))return;if(s=V(e,v))return s;if(v="",l=_e,n)return;continue}"["==a?d=!0:"]"==a&&(d=!1),v+=a}else{if(""==v)return T;if(s=V(e,v))return s;if(v="",l=ge,n==ve)return}break;case ge:if(!R.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=v){var w=parseInt(v,10);if(w>65535)return E;e.port=Y(e)&&w===$[e.scheme]?null:w,v=""}if(n)return;l=_e;continue}return E}v+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=ye;else{if(!o||"file"!=o.scheme){l=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=xe;else{if("#"!=a){ee(i.slice(h).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),l=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=ke}}break;case ye:if("/"==a||"\\"==a){l=me;break}o&&"file"==o.scheme&&!ee(i.slice(h).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=be;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(v))l=be;else if(""==v){if(e.host="",n)return;l=_e}else{if(s=V(e,v))return s;if("localhost"==e.host&&(e.host=""),n)return;v="",l=_e}continue}v+=a;break;case _e:if(Y(e)){if(l=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=be,"/"!=a))continue}else e.fragment="",l=ke;else e.query="",l=xe;break;case be:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=v).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):ne(v)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(v)&&(e.host&&(e.host=""),v=v.charAt(0)+":"),e.path.push(v)),v="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=xe):"#"==a&&(e.fragment="",l=ke)}else v+=H(a,J);break;case we:"?"==a?(e.query="",l=xe):"#"==a?(e.fragment="",l=ke):a!=r&&(e.path[0]+=H(a,G));break;case xe:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":H(a,G)):(e.fragment="",l=ke);break;case ke:a!=r&&(e.fragment+=H(a,z))}h++}},Le=function(e){var t,n,r=l(this,Le,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Le)t=k(o);else if(n=Se(t={},String(o)))throw TypeError(n);if(n=Se(u,a,null,t))throw TypeError(n);var s=u.searchParams=new b,c=w(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(r.href=Te.call(r),r.origin=Ee.call(r),r.protocol=Ae.call(r),r.username=Oe.call(r),r.password=Re.call(r),r.host=Pe.call(r),r.hostname=Ie.call(r),r.port=je.call(r),r.pathname=Fe.call(r),r.search=Ue.call(r),r.searchParams=Ne.call(r),r.hash=Me.call(r))},Ce=Le.prototype,Te=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=W(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},Ee=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+W(e.host)+(null!==n?":"+n:""):"null"},Ae=function(){return k(this).scheme+":"},Oe=function(){return k(this).username},Re=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?W(t):W(t)+":"+n},Ie=function(){var e=k(this).host;return null===e?"":W(e)},je=function(){var e=k(this).port;return null===e?"":String(e)},Fe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=k(this).query;return e?"?"+e:""},Ne=function(){return k(this).searchParams},Me=function(){var e=k(this).fragment;return e?"#"+e:""},De=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Ce,{href:De(Te,(function(e){var t=k(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:De(Ee),protocol:De(Ae,(function(e){var t=k(this);Se(t,String(e)+":",re)})),username:De(Oe,(function(e){var t=k(this),n=p(String(e));if(!Z(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=H(n[r],K)}})),password:De(Re,(function(e){var t=k(this),n=p(String(e));if(!Z(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=H(n[r],K)}})),host:De(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Se(t,String(e),pe)})),hostname:De(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||Se(t,String(e),ve)})),port:De(je,(function(e){var t=k(this);Z(t)||(""==(e=String(e))?t.port=null:Se(t,e,ge))})),pathname:De(Fe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Se(t,e+"",_e))})),search:De(Ue,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Se(t,e,xe)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:De(Ne),hash:De(Me,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Se(t,e,ke)):t.fragment=null}))}),c(Ce,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),c(Ce,"toString",(function(){return Te.call(this)}),{enumerable:!0}),_){var Ve=_.createObjectURL,Be=_.revokeObjectURL;Ve&&c(Le,"createObjectURL",(function(e){return Ve.apply(_,arguments)})),Be&&c(Le,"revokeObjectURL",(function(e){return Be.apply(_,arguments)}))}d(Le,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Le})},5666:function(e,t,n){var r=n(202).default,o=function(e){"use strict";var t,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=L(a,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?v:h,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=v,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",g={};function d(){}function y(){}function m(){}var _={};_[a]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&o.call(w,a)&&(_=w);var x=m.prototype=d.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e,t){function n(r,i,a,u){var s=l(e[r],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var r;this._invoke=function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function A(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:O}}function O(){return{value:t,done:!0}}return y.prototype=x.constructor=m,m.constructor=y,m[s]=y.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},k(S.prototype),S.prototype[u]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,o,i,a){void 0===a&&(a=r);var u=new S(c(t,n,o,i),a);return e.isGeneratorFunction(n)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},k(x),x[s]="Generator",x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=o}catch(e){Function("r","regeneratorRuntime = r")(o)}}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(3851)}()}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.phenix=t():e.phenix=t()}(self,(function(){return function(){var e={1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},8926:function(e,t,n){var r=n(202).default;function o(e,t,n,o,i,a,u){try{var s=e[a](u),c=s.value}catch(e){return void n(e)}s.done?t(c):r.resolve(c).then(o,i)}e.exports=function(e){return function(){var t=this,n=arguments;return new r((function(r,i){var a=e.apply(t,n);function u(e){o(a,r,i,u,s,"next",e)}function s(e){o(a,r,i,u,s,"throw",e)}u(void 0)}))}}},4575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},3913:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},9713:function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},9754:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},2205:function(e,t,n){var r=n(9489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},8585:function(e,t,n){var r=n(8),o=n(1506);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},8:function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},7757:function(e,t,n){e.exports=n(5666)},202:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return p}}),n(9753),n(7042),n(1539),n(8674),n(7727),n(2564);var r=n(8),o=n.n(r),i=n(4575),a=n.n(i),u=n(3913),s=n.n(u),c=n(9713),l=n.n(c),f=function e(t,n,r){a()(this,e),l()(this,"onFulfilled",void 0),l()(this,"onRejected",void 0),l()(this,"promise",void 0),this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r},h=function(){function e(t){if(a()(this,e),l()(this,"_state",void 0),l()(this,"_handled",void 0),l()(this,"_value",void 0),l()(this,"_deferreds",void 0),!(this instanceof e))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],this.doResolve(t)}return s()(e,[{key:"doResolve",value:function(e){var t=this,n=!1;try{e((function(e){n||(n=!0,t.promiseResolve(e))}),(function(e){n||(n=!0,t.promiseReject(e))}))}catch(e){if(n)return;n=!0,this.promiseReject(e)}}},{key:"promiseResolve",value:function(t){var n=this;try{if(t===n)throw new TypeError("A Promise cannot be resolved with it self.");if(t&&("object"===o()(t)||"function"==typeof t)){var r=t.then;if(t instanceof e)return n._state=3,n._value=t,void n.finale();if("function"==typeof r)return void n.doResolve((function(){r.apply(t,arguments)}))}n._state=1,n._value=t,n.finale()}catch(e){n.promiseReject(e)}}},{key:"promiseReject",value:function(e){this._state=2,this._value=e,this.finale()}},{key:"finale",value:function(){var t=this;2===this._state&&0===this._deferreds.length&&e._immediate((function(){t._handled||e._unhandledRejection(t._value)}));for(var n=0,r=this._deferreds.length;n<r;n++)this.handle(this._deferreds[n]);this._deferreds=null}},{key:"handle",value:function(t){for(var n=this;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,e._immediate((function(){var e=1===n._state?t.onFulfilled:t.onRejected;if(null!==e){var r;try{r=e(n._value)}catch(e){return void t.promise.promiseReject(e)}t.promise.promiseResolve(r)}else 1===n._state?t.promise.promiseResolve(n._value):t.promise.promiseReject(n._value)}))):n._deferreds.push(t)}}],[{key:"all",value:function(t){return new e((function(e,n){if(!Array.isArray(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var i=r.length,a=function t(a,u){try{if(u&&("object"===o()(u)||"function"==typeof u)){var s=u.then;if("function"==typeof s)return void s.call(u,(function(e){return t(a,e)}),n)}r[a]=u,0==--i&&e(r)}catch(e){n(e)}},u=0;u<r.length;u++)a(u,r[u])}))}},{key:"resolve",value:function(t){return t&&"object"===o()(t)&&t.constructor===e?t:new e((function(e){return e(t)}))}},{key:"reject",value:function(t){return new e((function(e,n){return n(t)}))}},{key:"race",value:function(t){return new e((function(n,r){if(!Array.isArray(t))return r(new TypeError("Promise.race accepts an array"));for(var o=0,i=t.length;o<i;o++)e.resolve(t[o]).then(n,r)}))}},{key:"_immediate",value:function(e){setTimeout(e,0)}},{key:"_unhandledRejection",value:function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)}}]),e}();h.prototype.catch=function(e){return this.then(null,e)},h.prototype.then=function(e,t){var n=new this.constructor((function(){return null}));return this.handle(new f(e,t,n)),n},h.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))};var p=h},3851:function(e,t,n){"use strict";n.r(t),n.d(t,{SDK:function(){return ce},default:function(){return le}}),n(9826),n(3843),n(3710),n(1539),n(9714);var r,o=n(4575),i=n.n(o),a=n(3913),u=n.n(a),s=n(9713),c=n.n(s);n(4812),n(9554),n(6699),n(2772),n(5827),n(561),n(4747),function(e){e[e.All=-1]="All",e[e.Trace=10]="Trace",e[e.Debug=20]="Debug",e[e.Info=30]="Info",e[e.Warn=40]="Warn",e[e.Error=50]="Error",e[e.Fatal=60]="Fatal",e[e.Off=100]="Off"}(r||(r={}));var l=function(){function e(t,n,r){i()(this,e),c()(this,"_category",void 0),c()(this,"_appenders",void 0),c()(this,"_threshold",void 0),this._category=t,this._appenders=n,this._threshold=r}return u()(e,[{key:"trace",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Trace)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Trace,t)}}},{key:"debug",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Debug)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Debug,t)}}},{key:"info",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Info)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Info,t)}}},{key:"warn",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Warn)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Warn,t)}}},{key:"error",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Error)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Error,t)}}},{key:"fatal",value:function(){if(this._threshold.value&&!(this._threshold.value>r.Fatal)){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.log(r.Fatal,t)}}},{key:"log",value:function(e,t){var n=this,r=new Date,o=this.replacePlaceholders(t);this._appenders.value.forEach((function(t){t.log(e,o,n.category,r)}))}},{key:"replacePlaceholders",value:function(e){for(var t=this,n=e[0],r=0;n.indexOf&&e.length>1&&r>=0;)if((r=n.indexOf("%",r))>0)switch(n.substring(r+1,r+2)){case"%":n=n.substring(0,r)+n.substring(r+1),r++;break;case"s":case"d":e[0]=n=this.replaceArgument(this.toString(e[1]),n,r),e.splice(1,1);break;case"j":e[0]=n=this.replaceArgument(this.stringify(e[1]),n,r),e.splice(1,1);break;default:return e.toString()}return e.length>1&&(e=e.reduce((function(e,n,r,o){return r+1===o.length&&n instanceof Error?e+"\n"+t.toString(n.stack):e+"[".concat(t.toString(n),"]")}))),e.toString()}},{key:"stringify",value:function(e){var t=[];try{return JSON.stringify(e instanceof Error?this.toString(e):e,(function(e,n){if(n&&n instanceof Object){if(t.includes(n))return"<recursive>";t.push(n)}return n}),2)}catch(e){return"[object invalid JSON.stringify]"}}},{key:"replaceArgument",value:function(e,t,n){return t.substring(0,n)+this.toString(e)+t.substring(n+2)}},{key:"toString",value:function(e){if("string"==typeof e)return e;if("boolean"==typeof e)return e?"true":"false";if("number"==typeof e)return e.toString();var t="";if(e)if("function"==typeof e)t=e.toString();else if(e instanceof Object)try{t=e.toString()}catch(e){t="[object invalid toString()]"}return t}},{key:"category",get:function(){return this._category}},{key:"appenders",get:function(){return this._appenders}},{key:"threshold",get:function(){return this._threshold}}]),e}(),f=function(){function e(){i()(this,e),c()(this,"_appenders",[])}return u()(e,[{key:"add",value:function(e){this._appenders.push(e)}},{key:"remove",value:function(e){this._appenders=this._appenders.reduce((function(t,n){return n!==e&&t.push(n),t}),[])}},{key:"value",get:function(){return this._appenders}}]),e}(),h=function(){function e(){i()(this,e)}return u()(e,null,[{key:"applyIsPrivate",value:function(){try{this._isPrivate=!1}catch(e){this._isPrivate=!1}}},{key:"isPrivate",get:function(){return this._isPrivate}}]),e}();c()(h,"_isPrivate",void 0),h.applyIsPrivate();var p=function(){function e(){i()(this,e)}return u()(e,null,[{key:"defaultLoggingLevel",get:function(){return h.isPrivate?r.Off:r.All}},{key:"defaultConsoleLoggingLevel",get:function(){return h.isPrivate?r.Off:r.All}},{key:"defaultTelemetryLoggingLevel",get:function(){return r.Info}}]),e}(),v=function(){function e(){i()(this,e),c()(this,"_threshold",p.defaultLoggingLevel)}return u()(e,[{key:"setThreshold",value:function(e){this._threshold=e}},{key:"value",get:function(){return this._threshold}}]),e}(),g=(n(2222),n(8733),function(){function e(t){i()(this,e),c()(this,"_threshold",void 0),this._threshold=t}return u()(e,[{key:"log",value:function(e,t,n,o){if(!(e<this._threshold)){var i="".concat(o.toISOString()," [").concat(n,"] [").concat(r[e],"] ").concat(t);e<r.Warn?console.log(i):console.error(i)}}}]),e}()),d=(n(7042),n(2479),n(8674),n(7757)),y=n.n(d),m=(n(5666),n(8926)),_=n.n(m),b=function(){function e(){i()(this,e)}return u()(e,null,[{key:"sdkVersion",get:function(){try{return"2022-05-05T18:02:55.793Z (2022.0.5)"}catch(e){return this._defaultVersion}}}]),e}();c()(b,"_defaultVersion",(new Date).toISOString());var w,x=function(){function e(t){i()(this,e),c()(this,"_telemetryConfiguration",void 0),c()(this,"_logs",[]),c()(this,"_isSending",void 0),c()(this,"_domain",location.hostname),this._telemetryConfiguration=t}var t,n;return u()(e,[{key:"push",value:function(e,t,n,o){var i={timestamp:o.toISOString(),tenancy:this._telemetryConfiguration.tenancy,level:r[e],category:n,message:t,sessionId:this._telemetryConfiguration.sessionId,version:b.sdkVersion,environment:this._telemetryConfiguration.environment,fullQualifiedName:this._domain};e<r.Error?this._logs.push(i):this._logs.unshift(i),this.sendLogsIfAble()}},{key:"sendLogs",value:(n=_()(y().mark((function e(t){var n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new FormData).append("jsonBody",JSON.stringify({records:t})),e.next=4,fetch(this._telemetryConfiguration.url,{method:"POST",body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"sendLogsIfAble",value:(t=_()(y().mark((function e(){var t,n,r,o,i=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._logs.length<=0||this._isSending)){e.next=2;break}return e.abrupt("return");case 2:for(t=0,n=0,this._isSending=!0,r=function(e){return Object.values(e).reduce((function(e,t){return e+(t?t.length:0)}),0)};this._logs.length>t&&r(this._logs[t])+n<8192;)n+=r(this._logs[t]),t++;return t||(this._logs[t].message=this._logs[t].message.substring(0,r(this._logs[t])+(8192-r(this._logs[t]))),t=1),o=this._logs.slice(0,t),this._logs=this._logs.slice(t),e.abrupt("return",this.sendLogs(o).then((function(e){return i._isSending=!1,i.sendLogsIfAble(),e})).catch((function(){i._isSending=!1,i.sendLogsIfAble()})));case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}(),k=function(){function e(t){i()(this,e),c()(this,"_telemetryService",void 0),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_threshold",void 0),this._tenancy=t.tenancy,this._sessionId=t.sessionId,this._threshold=t.threshold,this._telemetryService=new x(t)}return u()(e,[{key:"log",value:function(e,t,n,r){e<this._threshold||this._telemetryService.push(e,t,n,r)}}]),e}(),S=(n(6992),n(8783),n(3948),n(285),function(){function e(){i()(this,e),c()(this,"_url","https://telemetry.phenixrts.com/telemetry/logs"),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_environment",void 0),c()(this,"_threshold",p.defaultTelemetryLoggingLevel)}return u()(e,[{key:"url",get:function(){return this._url},set:function(e){var t=new URL(e);t.pathname=t.pathname+"/logs",this._url=t.toString()}},{key:"environment",get:function(){return this._environment},set:function(e){this._environment=e}},{key:"tenancy",get:function(){return this._tenancy},set:function(e){this._tenancy=e}},{key:"sessionId",get:function(){return this._sessionId},set:function(e){this._sessionId=e}},{key:"threshold",get:function(){return this._threshold},set:function(e){this._threshold=e}}]),e}());n(4916),n(4765),function(e){e[e.Off=100]="Off",e[e.Essential=10]="Essential",e[e.All=-1]="All"}(w||(w={}));var L=function(){function e(){i()(this,e),c()(this,"_url","https://telemetry.phenixrts.com/telemetry/metrics"),c()(this,"_tenancy",void 0),c()(this,"_sessionId",void 0),c()(this,"_environment",void 0),c()(this,"_threshold",C.defaultTelemetryLevel)}return u()(e,[{key:"url",get:function(){return this._url},set:function(e){var t=new URL(e);t.pathname=t.pathname+"/metrics",this._url=t.toString()}},{key:"environment",get:function(){return this._environment},set:function(e){this._environment=e}},{key:"tenancy",get:function(){return this._tenancy},set:function(e){this._tenancy=e}},{key:"sessionId",get:function(){return this._sessionId},set:function(e){this._sessionId=e}},{key:"threshold",get:function(){return this._threshold},set:function(e){this._threshold=e}}]),e}(),C=function(){function e(){i()(this,e)}return u()(e,null,[{key:"defaultTelemetryLevel",get:function(){return h.isPrivate?w.Essential:w.All}}]),e}(),T=function(e){throw new Error("Unexpected value [".concat(e,"]. This should never be reached"))},E=function(){function e(){i()(this,e)}return u()(e,null,[{key:"convertTelemetryLevelToTelemetryLevelType",value:function(e){switch(e){case w.Off:return"Off";case w.Essential:return"Essential";case w.All:return"All";default:T(e)}}},{key:"convertTelemetryLevelTypeToTelemetryLevel",value:function(e){switch(e){case"Off":return w.Off;case"Essential":return w.Essential;case"All":return w.All;default:T(e)}}}]),e}(),A=function(){function e(){i()(this,e)}return u()(e,null,[{key:"convertLoggingLevelToLoggingLevelType",value:function(e){switch(e){case r.Off:return"Off";case r.Trace:return"Trace";case r.Debug:return"Debug";case r.Info:return"Trace";case r.Warn:return"Warn";case r.Error:return"Error";case r.Fatal:return"Fatal";case r.All:return"All";default:T(e)}}},{key:"convertLoggingLevelTypeToLoggingLevel",value:function(e){switch(e){case"Off":return r.Off;case"Trace":return r.Trace;case"Debug":return r.Debug;case"Info":return r.Info;case"Warn":return r.Warn;case"Error":return r.Error;case"Fatal":return r.Fatal;case"All":return r.All;default:T(e)}}}]),e}(),O=function(){function e(){i()(this,e)}return u()(e,[{key:"getStringValue",value:function(e){return this.readConfigurationParameterValue(e)||this.readConfigurationParameterURIValue("".concat(e,"-uri-parameter-name"))||this.defaultStringValue[e]}},{key:"getBooleanValue",value:function(e){var t=this.readConfigurationParameterValue(e);return t||this.readConfigurationParameterURIValue("".concat(e,"-uri-parameter-name"))?"true"===t||"1"===t||"On"===t:!0===this.defaultBooleanValue[e]}},{key:"readConfigurationParameterValue",value:function(e){var t=document.querySelector("meta[name='".concat(e,"']"));if(t){var n=t.getAttribute("value");if(n)return n}}},{key:"readConfigurationParameterURIValue",value:function(e){var t=this.readConfigurationParameterValue(e);if(t){var n=new URLSearchParams(location.search).get(t)||void 0;if(n)return n}}},{key:"defaultStringValue",get:function(){return{"phenix-metrics-level":E.convertTelemetryLevelToTelemetryLevelType(C.defaultTelemetryLevel),"phenix-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultLoggingLevel),"phenix-console-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultConsoleLoggingLevel),"phenix-telemetry-logging-level":A.convertLoggingLevelToLoggingLevelType(p.defaultTelemetryLoggingLevel),"phenix-channel-token":"","phenix-uri":"","phenix-base-uri":""}}},{key:"defaultBooleanValue",get:function(){return{"phenix-automatically-retry-on-failure":!0,"phenix-automatically-reconnect-peer-connection":!0}}}]),e}(),R=function(){function e(){throw i()(this,e),new Error("LoggerFactory is a static class that may not be instantiated")}return u()(e,null,[{key:"getLogger",value:function(t){return"string"!=typeof t&&(t="SDK"),e._loggers[t]||(e._loggers[t]=new l(t,this._appenders,this._threshold))}},{key:"applyLoggerConfigFromParameterConfiguration",value:function(){e.applyLoggingLevel(),e.applyAppenderLoggingLevel("console",e.applyConsoleLogger.bind(this)),e.applyAppenderLoggingLevel("telemetry",e.applyTelemetryLogger.bind(this))}},{key:"applyLoggingLevel",value:function(){var e=this._configurationParameterReader.getStringValue("phenix-logging-level");r[e]&&this._threshold.setThreshold(r[e])}},{key:"applyAppenderLoggingLevel",value:function(e,t){var n=this._configurationParameterReader.getStringValue("phenix-".concat(e,"-logging-level"));"Off"!==n&&t(r[n])}},{key:"applyConsoleLogger",value:function(e){this._appenders.add(new g(e||p.defaultConsoleLoggingLevel))}},{key:"applyTelemetryLogger",value:function(e){this._telemetryConfiguration.threshold=e||p.defaultTelemetryLoggingLevel,this._appenders.add(new k(this._telemetryConfiguration))}},{key:"telemetryConfiguration",get:function(){return e._telemetryConfiguration}}]),e}();c()(R,"_configurationParameterReader",new O),c()(R,"_loggers",{}),c()(R,"_appenders",new f),c()(R,"_threshold",new v),c()(R,"_telemetryConfiguration",new S),R.applyLoggerConfigFromParameterConfiguration(),n(3290);var P=function(){function e(){throw i()(this,e),new Error("Strings is a static class that may not be instantiated")}return u()(e,null,[{key:"random",value:function(e){var t=Math.ceil(e/13);return new Array(t).fill((function(){return Math.random().toString(16).substring(2,15)})).reduce((function(e,t){return e+t()}),"").substring(0,e)}}]),e}(),I=(n(2419),n(2205)),j=n.n(I),F=n(8585),U=n.n(F),N=n(9754),M=n.n(N),D=function(){function e(t){i()(this,e),c()(this,"_disposed",void 0),c()(this,"_disposable",void 0),this._disposed=!1,this._disposable=t}return u()(e,[{key:"dispose",value:function(){if(!this._disposed)return this._disposed=!0,this._disposable.call(this)}}]),e}();var V=function(e){j()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=M()(t);if(n){var o=M()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return U()(this,e)});function o(e,t){return i()(this,o),r.call(this,(function(){var n=e.indexOf(t);n>=0&&e.splice(n,1)}))}return o}(D),B=function(){function e(t){i()(this,e),c()(this,"_listeners",void 0),c()(this,"_value",void 0),this._listeners=[],this._value=t}return u()(e,[{key:"subscribe",value:function(e){return this._listeners.push(e),e(this._value),new V(this._listeners,e)}},{key:"value",set:function(e){var t=this._value!==e;if(t&&e){var n=e;"function"==typeof n.equals&&(t=!n.equals(this._value))}t&&(this._value=e,this._listeners.forEach((function(t){t(e)})))},get:function(){return this._value}}]),e}(),q=function(){function e(t){i()(this,e),c()(this,"_subject",void 0),this._subject=t}return u()(e,[{key:"subscribe",value:function(e){return this._subject.subscribe(e)}},{key:"value",get:function(){return this._subject.value}}]),e}(),W=(n(4723),n(9653),n(1058),n(2023),n(3123),function(){function e(){i()(this,e)}return u()(e,null,[{key:"parseBrowserNameAndVersion",value:function(){if(!navigator||!navigator.userAgent)return"";var t=navigator.userAgent.match(e._browserNameAndVersionRegex);return t&&t[0]?t[0]:e.parseBrowserNameAndVersionForIE()}},{key:"parseBrowserName",value:function(){if(!e._browserNameAndVersion)return"";var t=e._browserNameAndVersion.split("/");return t&&t[0]?t[0]:""}},{key:"parseBrowserMajorVersion",value:function(){if(!e._browserNameAndVersion)return 0;var t=e._browserNameAndVersion.split("/");if(!t||!t[1])return 0;var n=t[1];return n&&Number(n.split(".")[0])||0}},{key:"parseBrowserNameAndVersionForIE",value:function(){if(!navigator||!navigator.userAgent)return"";var e=navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return"IE/".concat(parseInt(e.substring(t+5,e.indexOf(".",t)),10));if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return"IE/".concat(parseInt(e.substring(n+3,e.indexOf(".",n)),10))}return""}},{key:"browserNameAndVersion",get:function(){return e._browserNameAndVersion}},{key:"browserName",get:function(){return this._browserName}},{key:"browserMajorVersion",get:function(){return this._browserMajorVersion}},{key:"isChrome69",get:function(){return e._isChrome69}},{key:"isChrome70",get:function(){return e._isChrome70}},{key:"isChrome71",get:function(){return e._isChrome71}},{key:"isChrome72",get:function(){return e._isChrome72}},{key:"isChrome74",get:function(){return e._isChrome74}},{key:"isChrome75",get:function(){return e._isChrome75}},{key:"isChrome76",get:function(){return e._isChrome76}},{key:"isChrome77",get:function(){return e._isChrome77}}]),e}());c()(W,"_browserNameAndVersionRegex",/(MSIE|(?!Gecko.+)Firefox|(?!AppleWebKit.+Chrome.+)Safari|(?!AppleWebKit.+)Chrome|AppleWebKit(?!.+Chrome|.+Safari)|Gecko(?!.+Firefox))(?: |\/)([\d.apre]+)/g),c()(W,"_browserNameAndVersion",W.parseBrowserNameAndVersion()),c()(W,"_browserName",W.parseBrowserName()),c()(W,"_browserMajorVersion",W.parseBrowserMajorVersion()),c()(W,"_isChrome69",W._browserNameAndVersion.includes("Chrome/69.")),c()(W,"_isChrome70",W._browserNameAndVersion.includes("Chrome/70.")),c()(W,"_isChrome71",W._browserNameAndVersion.includes("Chrome/71.")),c()(W,"_isChrome72",W._browserNameAndVersion.includes("Chrome/72.")),c()(W,"_isChrome74",W._browserNameAndVersion.includes("Chrome/74.")),c()(W,"_isChrome75",W._browserNameAndVersion.includes("Chrome/75.")),c()(W,"_isChrome76",W._browserNameAndVersion.includes("Chrome/76.")),c()(W,"_isChrome77",W._browserNameAndVersion.includes("Chrome/77."));var G=function(){function e(){i()(this,e)}return u()(e,null,[{key:"clientOfferDisabled",get:function(){return W.isChrome74||W.isChrome75||W.isChrome76||W.isChrome77}},{key:"addTranceiverDisabled",get:function(){return W.isChrome69||W.isChrome70||W.isChrome71||W.isChrome72}},{key:"getStatsPromiseBasedDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=66}},{key:"getCurrentOfferDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=69||"Firefox"===W.browserName&&W.browserMajorVersion<=56}},{key:"onTrackDisabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=63||"Firefox"===W.browserName&&W.browserMajorVersion<=52}},{key:"webkitRTCPeerConnectionEnabled",get:function(){return"Chrome"===W.browserName&&W.browserMajorVersion<=55}},{key:"promiseBasedPCMethodsDisabled",get:function(){return"Firefox"===W.browserName&&W.browserMajorVersion<=52}},{key:"shouldUseNativeHls",get:function(){return"Safari"===W.browserName||"SamsungBrowser"===W.browserName}},{key:"isRTMPEnabled",get:function(){return"Firefox"===W.browserName&&W.browserMajorVersion<84||"Chrome"===W.browserName&&W.browserMajorVersion<70||"Edge"===W.browserName||"IE"===W.browserName}},{key:"isPrecachingEnabled",get:function(){return"IE"!==W.browserName}}]),e}(),z=n(202).default,J=function(){function e(t){i()(this,e),c()(this,"_logger",R.getLogger("VanillaPeerConnection")),c()(this,"_peerConnection",void 0),G.webkitRTCPeerConnectionEnabled?this._peerConnection=new webkitRTCPeerConnection(t):this._peerConnection=new RTCPeerConnection(t)}var t,n,r,o;return u()(e,[{key:"createOffer",value:(o=_()(y().mark((function e(t){var n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G.promiseBasedPCMethodsDisabled){e.next=2;break}return e.abrupt("return",new z((function(e,r){return n._peerConnection.createOffer(e,r,t)})));case 2:return e.abrupt("return",this._peerConnection.createOffer(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"createAnswer",value:(r=_()(y().mark((function e(t){var n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!G.promiseBasedPCMethodsDisabled){e.next=2;break}return e.abrupt("return",new z((function(e,r){return n._peerConnection.createAnswer(e,r,t)})));case 2:return e.abrupt("return",this._peerConnection.createAnswer(t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"setLocalDescription",value:(n=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this._peerConnection.setLocalDescription(G.promiseBasedPCMethodsDisabled?new RTCSessionDescription(t):t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"setRemoteDescription",value:(t=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.sdp.match(/a=crypto:/i)&&this._logger.warn("SDP a=crypto is not supported"),e.abrupt("return",this._peerConnection.setRemoteDescription(G.promiseBasedPCMethodsDisabled?new RTCSessionDescription(t):t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"getStats",value:function(e){return this._peerConnection.getStats(e)}},{key:"getStatsLegacy",value:function(){var e=this;return new z((function(t){e._peerConnection.getStats(t)}))}},{key:"addEventListener",value:function(e,t,n){this._peerConnection.addEventListener(e,t,n)}},{key:"removeEventListener",value:function(e,t,n){this._peerConnection.removeEventListener(e,t,n)}},{key:"addTransceiver",value:function(e,t){return this._peerConnection.addTransceiver(e,t)}},{key:"getConfiguration",value:function(){return this._peerConnection.getConfiguration()}},{key:"setConfiguration",value:function(e){this._peerConnection.setConfiguration(e)}},{key:"close",value:function(){this._peerConnection.close()}},{key:"native",get:function(){return this._peerConnection}},{key:"currentLocalDescription",get:function(){return this._peerConnection.currentLocalDescription}},{key:"currentRemoteDescription",get:function(){return this._peerConnection.currentRemoteDescription}},{key:"iceConnectionState",get:function(){return this._peerConnection.iceConnectionState}},{key:"supportsGetConfiguration",get:function(){return"function"==typeof this._peerConnection.getConfiguration}},{key:"supportsSetConfiguration",get:function(){return"function"==typeof this._peerConnection.setConfiguration}},{key:"supportsAddTransceiver",get:function(){return!G.addTranceiverDisabled&&"function"==typeof this._peerConnection.addTransceiver}},{key:"ontrack",set:function(e){this._peerConnection.ontrack=e},get:function(){return this._peerConnection.ontrack}},{key:"onicecandidate",set:function(e){this._peerConnection.onicecandidate=e},get:function(){return this._peerConnection.onicecandidate}},{key:"oniceconnectionstatechange",set:function(e){this._peerConnection.oniceconnectionstatechange=e},get:function(){return this._peerConnection.oniceconnectionstatechange}}]),e}(),K=function(){function e(){i()(this,e)}var t;return u()(e,[{key:"createPeerConnection",value:(t=_()(y().mark((function e(t){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new J(t));case 1:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),e}(),H=(n(6755),"DIGEST:"),$=function(){function e(){i()(this,e)}return u()(e,null,[{key:"parseToken",value:function(t){if(this.isValidToken(t))try{var n=atob(t.substr(H.length)),r=JSON.parse(n);return r.token=JSON.parse(r.token),r}catch(t){return void e._logger.error("Cannot parse token value",t)}else e._logger.error("Token is not valid [%s]",t)}},{key:"getUri",value:function(e){return e&&e.token&&e.token.uri?new URL(e.token.uri):null}},{key:"getTenancy",value:function(e){return e&&e.applicationId?e.applicationId:""}},{key:"isValidToken",value:function(e){return!!e&&e.startsWith(H)}}]),e}();c()($,"_logger",R.getLogger("EdgeAuth")),n(2564);var Y,X=n(8),Z=n.n(X),Q=function(){function e(){i()(this,e),c()(this,"_list",[])}return u()(e,[{key:"add",value:function(e){this._list.push(e)}},{key:"dispose",value:function(){this._list.forEach((function(e){return e.dispose()})),this._list.length=0}},{key:"toString",value:function(){return"DisposableList[disposables=".concat(this._list.length,"]")}}]),e}(),ee=function(){function e(){i()(this,e),c()(this,"_disposables",new Q),c()(this,"_readOnlyIsForeground",void 0),c()(this,"_isForeground",void 0),c()(this,"_timeOfLastTabFocusChange",Date.now()),c()(this,"_documentFocusInterval",void 0),this._isForeground=new B(!0),this._readOnlyIsForeground=new q(this._isForeground),this.detectTabFocusChange()}return u()(e,[{key:"getTimeSinceLastChange",value:function(){return Date.now()-this._timeOfLastTabFocusChange}},{key:"dispose",value:function(){this._disposables.dispose()}},{key:"detectTabFocusChange",value:function(){var e,t,n=this;if("object"===("undefined"==typeof document?"undefined":Z()(document))){void 0!==document.msHidden?(e="msHidden",t="msvisibilitychange"):void 0!==document.webkitHidden?(e="webkitHidden",t="webkitvisibilitychange"):void 0!==document.hidden&&(e="hidden",t="visibilitychange");var r=function(){var t=!document[e];n.setFocusState(t)};void 0!==document.addEventListener&&void 0!==document[e]?(document.addEventListener(t,r,!1),this._disposables.add(new D((function(){document.removeEventListener(t,r,!1)})))):this.listenForDocumentFocus.call(this)}}},{key:"listenForDocumentFocus",value:function(){var e=this;this._documentFocusInterval=window.setInterval((function(){var t=document.hasFocus();e.setFocusState(t)}),3e3),this._disposables.add(new D((function(){e._documentFocusInterval&&clearInterval(e._documentFocusInterval),e._documentFocusInterval=null})))}},{key:"setFocusState",value:function(e){this._isForeground!==e&&(this._isForeground.value=e)}},{key:"isForeground",get:function(){return this._readOnlyIsForeground}}]),e}(),te=(n(9600),n(7852),function(){function e(){i()(this,e)}return u()(e,null,[{key:"getTelemetryUrl",value:function(e){try{var t=new URL(e),n=t.hostname.split(".");switch(t.protocol){case"ws:":t.protocol="http:";break;case"wss:":t.protocol="https:"}return 2===n.length||3===n.length&&n[n.length-2].length<=2&&n[n.length-1].length<=3?n.unshift("telemetry"):n[0].startsWith("stg-")||n[0].endsWith("-stg")||n[0].includes("-stg-")||"stg"===n[0]?n[0]="telemetry-stg":n[0].startsWith("local")||n[0].endsWith("-local")||(n[0]="telemetry"),t.hostname=n.join("."),"".concat(t.origin,"/telemetry")}catch(t){return e}}}]),e}()),ne=function(){function e(){i()(this,e)}return u()(e,null,[{key:"getEnvironmentFromUrl",value:function(e){try{return new URL(e).origin}catch(e){return""}}}]),e}(),re=function(){function e(){throw i()(this,e),new Error("DiscoveryUri is a static class that may not be instantiated")}return u()(e,null,[{key:"buildDiscoveryUrl",value:function(e){var t=new URL(e.toString()),n=b.sdkVersion;return t.search="?".concat(new URLSearchParams([["version",n],["_","".concat(Date.now())]]).toString()),"/"===t.pathname&&(t.pathname="/pcast/endPoints"),t.toString()}},{key:"uri",get:function(){return e._discoveryUri}}]),e}();c()(re,"_discoveryUri",new B("https://pcast.phenixrts.com/pcast/endPoints")),function(e){e[e.TimeToFirstFrame=0]="TimeToFirstFrame",e[e.ChannelCreationTimeToFirstFrame=1]="ChannelCreationTimeToFirstFrame",e[e.Stalled=2]="Stalled",e[e.Buffering=3]="Buffering",e[e.SetupCompleted=4]="SetupCompleted",e[e.SetupFailed=5]="SetupFailed",e[e.RoundTripTime=6]="RoundTripTime",e[e.DownlinkThroughputCapacity=7]="DownlinkThroughputCapacity",e[e.NetworkType=8]="NetworkType",e[e.ResolutionChanged=9]="ResolutionChanged",e[e.ApplicationForeground=10]="ApplicationForeground",e[e.ApplicationBackground=11]="ApplicationBackground"}(Y||(Y={}));var oe=Y,ie=function(){function e(t){i()(this,e),c()(this,"_metrics",void 0),this._metrics=t}return u()(e,[{key:"getName",value:function(){return oe[this._metrics]}},{key:"getTelemetryLevel",value:function(){switch(this._metrics){case oe.TimeToFirstFrame:case oe.ChannelCreationTimeToFirstFrame:return w.Essential;case oe.Stalled:case oe.Buffering:case oe.SetupCompleted:case oe.SetupFailed:case oe.RoundTripTime:case oe.DownlinkThroughputCapacity:case oe.NetworkType:case oe.ResolutionChanged:case oe.ApplicationForeground:case oe.ApplicationBackground:return w.All;default:T(this._metrics)}}}]),e}(),ae=function(){function e(t){i()(this,e),c()(this,"_metricsConfiguration",void 0),c()(this,"_metrics",[]),c()(this,"_isSending",void 0),c()(this,"_domain",location.hostname),this._metricsConfiguration=t}var t,n;return u()(e,[{key:"push",value:function(e){var t=e.streamId,n=e.value,r=e.previousValue,o=e.runtime,i=e.resource,a=e.kind,u=new ie(e.metricType);if(!(this._metricsConfiguration.threshold>u.getTelemetryLevel())){var s={timestamp:(new Date).toISOString(),tenancy:this._metricsConfiguration.tenancy,sessionId:this._metricsConfiguration.sessionId,streamId:t,metric:u.getName(),value:n,previousValue:r,fullQualifiedName:this._domain,environment:this._metricsConfiguration.environment,version:b.sdkVersion,runtime:o,resource:i,kind:a};this._metrics.push(s),this.sendMetricsIfAble()}}},{key:"sendMetrics",value:(n=_()(y().mark((function e(t){var n;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=new FormData).append("jsonBody",JSON.stringify({records:t})),e.next=4,fetch(this._metricsConfiguration.url,{method:"POST",body:n});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"sendMetricsIfAble",value:(t=_()(y().mark((function e(){var t,n=this;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._metrics.length<=0||this._isSending)){e.next=2;break}return e.abrupt("return");case 2:return this._isSending=!0,t=this._metrics.slice(0,1024),this._metrics=this._metrics.slice(1024),e.abrupt("return",this.sendMetrics(t).then((function(e){return n._isSending=!1,n.sendMetricsIfAble(),e})).catch((function(){n._isSending=!1,n.sendMetricsIfAble()})));case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"metricsConfiguration",get:function(){return this._metricsConfiguration}}]),e}(),ue=function(){function e(){throw i()(this,e),new Error("LoggerFactory is a static class that may not be instantiated")}return u()(e,null,[{key:"getMetricsService",value:function(t){if("string"!=typeof t)throw new Error("ur");var n=e._metricsServices[t];if(n)return n;var r=new L;return r.sessionId=ce.clientSessionId,r.tenancy=ce.tenancy.value,r.url=te.getTelemetryUrl(t),r.environment=ne.getEnvironmentFromUrl(t),r.threshold=E.convertTelemetryLevelTypeToTelemetryLevel(ce.telemetryLevel),e._metricsServices[t]=new ae(r)}},{key:"setTelemetryLevel",value:function(t){var n=Object.values(e._metricsServices);n&&n.length&&n.forEach((function(e){e.metricsConfiguration.threshold=t}))}}]),e}();c()(ue,"_metricsServices",{});var se=window.__phenixPageLoadTime||window.__pageLoadTime||Date.now(),ce=function(){function e(){throw i()(this,e),new Error("SDK is a static class that may not be instantiated")}return u()(e,null,[{key:"applyTelemetryConfiguration",value:function(){var t=this,n=R.telemetryConfiguration;n.sessionId=e.clientSessionId,e._environment.subscribe((function(e){n.environment=e})),e.telemetryUrl.subscribe((function(e){var r=t._logger.appenders.value.find((function(e){return e instanceof k}));r&&(n.url=e,t._logger.appenders.remove(r),t._logger.appenders.add(new k(n)),t._logger.info("Telemetry URL was set to [%s]",n.url))})),e._tenancy.subscribe((function(e){var r=t._logger.appenders.value.find((function(e){return e instanceof k}));r&&e&&(n.tenancy=e,t._logger.appenders.remove(r),t._logger.appenders.add(new k(n)),t._logger.info("Telemetry tenancy was set to [%s]",n.tenancy))}))}},{key:"applyMetricsConfiguration",value:function(){e._metricsService=ue.getMetricsService(re.uri.value),e._metricsConfiguration=e._metricsService.metricsConfiguration,e._metricsConfiguration.sessionId=e.clientSessionId,e._environment.subscribe((function(t){e._metricsConfiguration.environment=t})),e.telemetryUrl.subscribe((function(t){e._metricsConfiguration.url=t})),e._tenancy.subscribe((function(t){e._metricsConfiguration.tenancy=t}));var t=this._configurationParameterReader.getStringValue("phenix-metrics-level");t&&ue.setTelemetryLevel(w[t]),e._telemetryLevel.subscribe((function(e){ue.setTelemetryLevel(e)}))}},{key:"applyAutomaticallyRetryOnFailureFromParameterConfiguration",value:function(){this._automaticallyRetryOnFailure=this._configurationParameterReader.getBooleanValue("phenix-automatically-retry-on-failure"),this._logger.info("Automatically retry on failure is set to: [%s]",this._automaticallyRetryOnFailure)}},{key:"applyAutomaticallyReconnectPeerConnectionFromParameterConfiguration",value:function(){this._automaticallyReconnectPeerConnection=this._configurationParameterReader.getBooleanValue("phenix-automatically-reconnect-peer-connection"),this._logger.info("Automatically reconnect peer connection is set to: [%s]",this._automaticallyReconnectPeerConnection)}},{key:"applyDiscoveryUriDefaultFromParameterConfiguration",value:function(){e.discoveryUri.subscribe((function(t){e.telemetryUrl.value=e.getTelemetryUrl(t),e._environment.value=ne.getEnvironmentFromUrl(t)}));var t=this._configurationParameterReader.getStringValue("phenix-channel-token");if(t){var n=$.parseToken(t);return e._tenancy.value=$.getTenancy(n),re.uri.value=($.getUri(n)||e.discoveryUri.value).toString(),void this._logger.info("Discovery URI set from configuration parameter to [%s]",e.discoveryUri.value)}var r=this._configurationParameterReader.getStringValue("phenix-uri");if(r)return re.uri.value=r,void this._logger.info('Discovery URI set from "phenix-uri" configuration parameter tag to [%s]',e.discoveryUri.value);var o=this._configurationParameterReader.getStringValue("phenix-base-uri");return o?(re.uri.value="".concat(o,"/pcast/endPoints"),void this._logger.info('Discovery URI set from "phenix-base-uri" configuration parameter tag to [%s]',e.discoveryUri.value)):void 0}},{key:"init",value:function(t){if(this._initialized.value||(this._applicationActivityMonitor=new ee),t){if(t.discoveryUri&&(re.uri.value=t.discoveryUri),t.peerConnectionFactory&&(e._peerConnectionFactory.value=t.peerConnectionFactory),t.telemetryLevel&&w[t.telemetryLevel]&&(e._telemetryLevel.value=E.convertTelemetryLevelTypeToTelemetryLevel(t.telemetryLevel)),t.loggingLevel&&r[t.loggingLevel]&&this._logger.threshold.setThreshold(A.convertLoggingLevelTypeToLoggingLevel(t.loggingLevel)),t.consoleLoggingLevel&&r[t.consoleLoggingLevel]){var n=this._logger.appenders.value.find((function(e){return e instanceof g}));n&&this._logger.appenders.remove(n),"Off"!==t.consoleLoggingLevel&&this._logger.appenders.add(new g(A.convertLoggingLevelTypeToLoggingLevel(t.consoleLoggingLevel)))}"boolean"==typeof t.automaticallyPlayMediaStream&&(this._automaticallyPlayMediaStream=t.automaticallyPlayMediaStream),"boolean"==typeof t.automaticallyMuteVideoOnPlayFailure&&(this._automaticallyMuteVideoOnPlayFailure=t.automaticallyMuteVideoOnPlayFailure),t.webPlayerLoader&&(this._webPlayerLoader=t.webPlayerLoader),t.shakaPlayerLoader&&(this._shakaPlayerLoader=t.shakaPlayerLoader),t.hlsJsLoader&&(this._hlsJsLoader=t.hlsJsLoader)}e._initialized.value=!0}},{key:"dispose",value:function(){e._initialized.value=!1,this._applicationActivityMonitor.dispose(),this._applicationActivityMonitor=null}},{key:"getTelemetryUrl",value:function(e){return te.getTelemetryUrl(e)}},{key:"pageLoadTime",get:function(){return se}},{key:"sendLocalCandidates",get:function(){return this._sendLocalCandidates}},{key:"tenancy",get:function(){return this._tenancy}},{key:"clientSessionId",get:function(){return e._clientSessionId}},{key:"loadedTimestamp",get:function(){return e._loadedTimestamp}},{key:"initialized",get:function(){return e._readOnlyInitialized}},{key:"discoveryUri",get:function(){return e._readOnlyDiscoveryUri}},{key:"peerConnectionFactory",get:function(){return e._readOnlyPeerConnectionFactory}},{key:"automaticRetryOnFailure",get:function(){return e._automaticallyRetryOnFailure}},{key:"automaticallyReconnectPeerConnection",get:function(){return e._automaticallyReconnectPeerConnection}},{key:"automaticallyPlayMediaStream",get:function(){return e._automaticallyPlayMediaStream}},{key:"automaticallyMuteVideoOnPlayFailure",get:function(){return e._automaticallyMuteVideoOnPlayFailure}},{key:"webPlayerLoader",get:function(){return this._webPlayerLoader}},{key:"shakaPlayerLoader",get:function(){return this._shakaPlayerLoader}},{key:"hlsJsLoader",get:function(){return this._hlsJsLoader}},{key:"metricsService",get:function(){return e._metricsService}},{key:"applicationActivityMonitor",get:function(){return this._applicationActivityMonitor}},{key:"telemetryUrl",get:function(){return this._telemetryUrl}},{key:"maximalNumberOfPeerConnectionReconnectAttempts",get:function(){return this._maximalNumberOfPeerConnectionReconnectAttempts},set:function(e){this._maximalNumberOfPeerConnectionReconnectAttempts=e}},{key:"loggingLevel",get:function(){return A.convertLoggingLevelToLoggingLevelType(this._logger.threshold.value)}},{key:"telemetryLevel",get:function(){return E.convertTelemetryLevelToTelemetryLevelType(e._telemetryLevel.value)}},{key:"browserDetector",get:function(){return W}}]),e}();c()(ce,"_automaticallyRetryOnFailure",!0),c()(ce,"_automaticallyReconnectPeerConnection",!0),c()(ce,"_automaticallyPlayMediaStream",!0),c()(ce,"_automaticallyMuteVideoOnPlayFailure",!0),c()(ce,"_webPlayerLoader",null),c()(ce,"_shakaPlayerLoader",null),c()(ce,"_hlsJsLoader",null),c()(ce,"_configurationParameterReader",new O),c()(ce,"_applicationActivityMonitor",void 0),c()(ce,"_environment",new B("")),c()(ce,"_telemetryUrl",new B("https://telemetry.phenixrts.com/telemetry")),c()(ce,"_maximalNumberOfPeerConnectionReconnectAttempts",8),c()(ce,"_telemetryLevel",new B(C.defaultTelemetryLevel)),c()(ce,"_metricsService",void 0),c()(ce,"_metricsConfiguration",void 0),c()(ce,"_sendLocalCandidates",new B(!h.isPrivate)),c()(ce,"_tenancy",new B("")),c()(ce,"_clientSessionId",P.random(32)),c()(ce,"_loadedTimestamp",new Date),c()(ce,"_logger",R.getLogger("SDK")),c()(ce,"_initialized",new B(!1)),c()(ce,"_peerConnectionFactory",new B(new K)),c()(ce,"_readOnlyInitialized",new q(ce._initialized)),c()(ce,"_readOnlyDiscoveryUri",new q(re.uri)),c()(ce,"_readOnlyPeerConnectionFactory",new q(ce._peerConnectionFactory)),window.addEventListener("unload",(function(){ce.dispose()})),ce.applyDiscoveryUriDefaultFromParameterConfiguration(),ce.applyMetricsConfiguration(),ce.applyTelemetryConfiguration(),ce.applyAutomaticallyRetryOnFailureFromParameterConfiguration(),ce.applyAutomaticallyReconnectPeerConnectionFromParameterConfiguration(),ce.init();var le={SDK:ce}},3099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},6077:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070),a=r("unscopables"),u=Array.prototype;null==u[a]&&i.f(u,a,{configurable:!0,value:o(null)}),e.exports=function(e){u[a][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},9670:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},1285:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(7466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,u=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:o(s,n);c>u;)t[u++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,o=n(9341),i=n(9207),a=o("forEach"),u=i("forEach");e.exports=a&&u?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:function(e,t,n){"use strict";var r=n(9974),o=n(7908),i=n(3411),a=n(7659),u=n(7466),s=n(6135),c=n(1246);e.exports=function(e){var t,n,l,f,h,p,v=o(e),g="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,m=void 0!==y,_=c(v),b=0;if(m&&(y=r(y,d>2?arguments[2]:void 0,2)),null==_||g==Array&&a(_))for(n=new g(t=u(v.length));t>b;b++)p=m?y(v[b],b):v[b],s(n,b,p);else for(h=(f=_.call(v)).next,n=new g;!(l=h.call(f)).done;b++)p=m?i(f,y,[l.value,b],!0):l.value,s(n,b,p);return n.length=b,n}},1318:function(e,t,n){var r=n(5656),o=n(7466),i=n(1400),a=function(e){return function(t,n,a){var u,s=r(t),c=o(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:function(e,t,n){var r=n(9974),o=n(8361),i=n(7908),a=n(7466),u=n(5417),s=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,l=4==e,f=6==e,h=7==e,p=5==e||f;return function(v,g,d,y){for(var m,_,b=i(v),w=o(b),x=r(g,d,3),k=a(w.length),S=0,L=y||u,C=t?L(v,k):n||h?L(v,0):void 0;k>S;S++)if((p||S in w)&&(_=x(m=w[S],S,b),e))if(t)C[S]=_;else if(_)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s.call(C,m)}else switch(e){case 4:return!1;case 7:s.call(C,m)}return f?-1:c||l?l:C}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},1194:function(e,t,n){var r=n(7293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},9207:function(e,t,n){var r=n(9781),o=n(7293),i=n(6656),a=Object.defineProperty,u={},s=function(e){throw e};e.exports=function(e,t){if(i(u,e))return u[e];t||(t={});var n=[][e],c=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,f=i(t,1)?t[1]:void 0;return u[e]=!!n&&!o((function(){if(c&&!r)return!0;var e={length:-1};c?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,l,f)}))}},3671:function(e,t,n){var r=n(3099),o=n(7908),i=n(8361),a=n(7466),u=function(e){return function(t,n,u,s){r(n);var c=o(t),l=i(c),f=a(c.length),h=e?f-1:0,p=e?-1:1;if(u<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,e?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;e?h>=0:f>h;h+=p)h in l&&(s=n(s,l[h],h,c));return s}};e.exports={left:u(!1),right:u(!0)}},5417:function(e,t,n){var r=n(111),o=n(3157),i=n(5112)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},7072:function(e,t,n){var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},648:function(e,t,n){var r=n(1694),o=n(4326),i=n(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},9920:function(e,t,n){var r=n(6656),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t){for(var n=o(t),u=a.f,s=i.f,c=0;c<n.length;c++){var l=n[c];r(e,l)||u(e,l,s(t,l))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),u=n(7497),s=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),u[c]=s,e}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(7593),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},5573:function(e,t,n){"use strict";var r=n(7293),o=n(6650).start,i=Math.abs,a=Date.prototype,u=a.getTime,s=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-50000000000001))}))||!r((function(){s.call(new Date(NaN))}))?function(){if(!isFinite(u.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+o(i(t),r?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:s},654:function(e,t,n){"use strict";var r=n(2109),o=n(4994),i=n(9518),a=n(7674),u=n(8003),s=n(8880),c=n(1320),l=n(5112),f=n(1913),h=n(7497),p=n(3383),v=p.IteratorPrototype,g=p.BUGGY_SAFARI_ITERATORS,d=l("iterator"),y="keys",m="values",_="entries",b=function(){return this};e.exports=function(e,t,n,l,p,w,x){o(n,t,l);var k,S,L,C=function(e){if(e===p&&R)return R;if(!g&&e in A)return A[e];switch(e){case y:case m:case _:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",E=!1,A=e.prototype,O=A[d]||A["@@iterator"]||p&&A[p],R=!g&&O||C(p),P="Array"==t&&A.entries||O;if(P&&(k=i(P.call(new e)),v!==Object.prototype&&k.next&&(f||i(k)===v||(a?a(k,v):"function"!=typeof k[d]&&s(k,d,b)),u(k,T,!0,!0),f&&(h[T]=b))),p==m&&O&&O.name!==m&&(E=!0,R=function(){return O.call(this)}),f&&!x||A[d]===R||s(A,d,R),h[t]=R,p)if(S={values:C(m),keys:w?R:C(y),entries:C(_)},x)for(L in S)(g||E||!(L in A))&&c(A,L,S[L]);else r({target:t,proto:!0,forced:g||E},S);return S}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},6833:function(e,t,n){var r=n(8113);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},5268:function(e,t,n){var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),a=n(8113),u=i.process,s=u&&u.versions,c=s&&s.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(1320),u=n(3505),s=n(9920),c=n(4705);e.exports=function(e,t){var n,l,f,h,p,v=e.target,g=e.global,d=e.stat;if(n=g?r:d?r[v]||u(v,{}):(r[v]||{}).prototype)for(l in t){if(h=t[l],f=e.noTargetGet?(p=o(n,l))&&p.value:n[l],!c(g?l:v+(d?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;s(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),a(n,l,h,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1320),o=n(7293),i=n(5112),a=n(2261),u=n(8880),s=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),h=!!/./[f]&&""===/./[f]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var v=i(e),g=!o((function(){var t={};return t[v]=function(){return 7},7!=""[e](t)})),d=g&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return t=!0,null},n[v](""),!t}));if(!g||!d||"replace"===e&&(!c||!l||h)||"split"===e&&!p){var y=/./[v],m=n(v,""[e],(function(e,t,n,r,o){return t.exec===a?g&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),_=m[0],b=m[1];r(String.prototype,e,_),r(RegExp.prototype,v,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}f&&u(RegExp.prototype[v],"sham",!0)}},9974:function(e,t,n){var r=n(3099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},7065:function(e,t,n){"use strict";var r=n(3099),o=n(111),i=[].slice,a={},u=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?u(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},5005:function(e,t,n){var r=n(857),o=n(7854),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},1246:function(e,t,n){var r=n(648),o=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},8554:function(e,t,n){var r=n(9670),o=n(1246);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(7293),o=n(4326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},9587:function(e,t,n){var r=n(111),o=n(7674);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},2788:function(e,t,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},9909:function(e,t,n){var r,o,i,a=n(8536),u=n(7854),s=n(111),c=n(8880),l=n(6656),f=n(5465),h=n(6200),p=n(3501),v=u.WeakMap;if(a){var g=f.state||(f.state=new v),d=g.get,y=g.has,m=g.set;r=function(e,t){return t.facade=e,m.call(g,e,t),t},o=function(e){return d.call(g,e)||{}},i=function(e){return y.call(g,e)}}else{var _=h("state");p[_]=!0,r=function(e,t){return t.facade=e,c(e,_,t),t},o=function(e){return l(e,_)?e[_]:{}},i=function(e){return l(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},4705:function(e,t,n){var r=n(7293),o=/#|\.prototype\./,i=function(e,t){var n=u[a(e)];return n==c||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},408:function(e,t,n){var r=n(9670),o=n(7659),i=n(7466),a=n(9974),u=n(1246),s=n(9212),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,f,h,p,v,g,d,y=n&&n.that,m=!(!n||!n.AS_ENTRIES),_=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),w=a(t,y,1+m+b),x=function(e){return l&&s(l),new c(!0,e)},k=function(e){return m?(r(e),b?w(e[0],e[1],x):w(e[0],e[1])):b?w(e,x):w(e)};if(_)l=e;else{if("function"!=typeof(f=u(e)))throw TypeError("Target is not iterable");if(o(f)){for(h=0,p=i(e.length);p>h;h++)if((v=k(e[h]))&&v instanceof c)return v;return new c(!1)}l=f.call(e)}for(g=l.next;!(d=g.call(l)).done;){try{v=k(d.value)}catch(e){throw s(l),e}if("object"==typeof v&&v&&v instanceof c)return v}return new c(!1)}},9212:function(e,t,n){var r=n(9670);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},3383:function(e,t,n){"use strict";var r,o,i,a=n(9518),u=n(8880),s=n(6656),c=n(5112),l=n(1913),f=c("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):h=!0),null==r&&(r={}),l||s(r,f)||u(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:function(e){e.exports={}},5948:function(e,t,n){var r,o,i,a,u,s,c,l,f=n(7854),h=n(1236).f,p=n(261).set,v=n(6833),g=n(5268),d=f.MutationObserver||f.WebKitMutationObserver,y=f.document,m=f.process,_=f.Promise,b=h(f,"queueMicrotask"),w=b&&b.value;w||(r=function(){var e,t;for(g&&(e=m.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},!v&&!g&&d&&y?(u=!0,s=y.createTextNode(""),new d(r).observe(s,{characterData:!0}),a=function(){s.data=u=!u}):_&&_.resolve?(c=_.resolve(void 0),l=c.then,a=function(){l.call(c,r)}):a=g?function(){m.nextTick(r)}:function(){p.call(f,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(7293),o=n(5112),i=n(1913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),o=n(2788),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},8523:function(e,t,n){"use strict";var r=n(3099),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:function(e,t,n){var r=n(7850);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},3009:function(e,t,n){var r=n(7854),o=n(3111).trim,i=n(1361),a=r.parseInt,u=/^[+-]?0[Xx]/,s=8!==a(i+"08")||22!==a(i+"0x16");e.exports=s?function(e,t){var n=o(String(e));return a(n,t>>>0||(u.test(n)?16:10))}:a},1574:function(e,t,n){"use strict";var r=n(9781),o=n(7293),i=n(1956),a=n(5181),u=n(5296),s=n(7908),c=n(8361),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||i(l({},t)).join("")!=o}))?function(e,t){for(var n=s(e),o=arguments.length,l=1,f=a.f,h=u.f;o>l;)for(var p,v=c(arguments[l++]),g=f?i(v).concat(f(v)):i(v),d=g.length,y=0;d>y;)p=g[y++],r&&!h.call(v,p)||(n[p]=v[p]);return n}:l},30:function(e,t,n){var r,o=n(9670),i=n(6048),a=n(748),u=n(3501),s=n(490),c=n(317),l=n(6200)("IE_PROTO"),f=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};u[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[l]=e):n=p(),void 0===t?n:i(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3070),i=n(9670),a=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),u=r.length,s=0;u>s;)o.f(e,n=r[s++],t[n]);return e}},3070:function(e,t,n){var r=n(9781),o=n(4664),i=n(9670),a=n(7593),u=Object.defineProperty;t.f=r?u:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(5296),i=n(9114),a=n(5656),u=n(7593),s=n(6656),c=n(4664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=u(t,!0),c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(6656),o=n(7908),i=n(6200),a=n(8544),u=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},6324:function(e,t,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,a=n(3501);e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)!r(a,n)&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},4699:function(e,t,n){var r=n(9781),o=n(1956),i=n(5656),a=n(5296).f,u=function(e){return function(t){for(var n,u=i(t),s=o(u),c=s.length,l=0,f=[];c>l;)n=s[l++],r&&!a.call(u,n)||f.push(e?[n,u[n]]:u[n]);return f}};e.exports={entries:u(!0),values:u(!1)}},288:function(e,t,n){"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},3887:function(e,t,n){var r=n(5005),o=n(8006),i=n(5181),a=n(9670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:function(e,t,n){var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:function(e,t,n){var r=n(7854),o=n(8880),i=n(6656),a=n(3505),u=n(2788),s=n(9909),c=s.get,l=s.enforce,f=String(String).split("String");(e.exports=function(e,t,n,u){var s,c=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(s=l(n)).source||(s.source=f.join("string"==typeof t?t:""))),e!==r?(c?!p&&e[t]&&(h=!0):delete e[t],h?e[t]=n:o(e,t,n)):h?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},7651:function(e,t,n){var r=n(4326),o=n(2261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},2261:function(e,t,n){"use strict";var r,o,i=n(7066),a=n(2999),u=RegExp.prototype.exec,s=String.prototype.replace,c=u,l=(r=/a/,o=/b*/g,u.call(r,"a"),u.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(l||h||f)&&(c=function(e){var t,n,r,o,a=this,c=f&&a.sticky,p=i.call(a),v=a.source,g=0,d=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),d=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(v="(?: "+v+")",d=" "+d,g++),n=new RegExp("^(?:"+v+")",p)),h&&(n=new RegExp("^"+v+"$(?!\\s)",p)),l&&(t=a.lastIndex),r=u.call(c?n:a,d),c?r?(r.input=r.input.slice(g),r[0]=r[0].slice(g),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),h&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){"use strict";var r=n(7293);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},4488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},1150:function(e){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},3505:function(e,t,n){var r=n(7854),o=n(8880);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),a=n(9781),u=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[u]&&n(t,u,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,o=n(6656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),o=n(3099),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},8710:function(e,t,n){var r=n(9958),o=n(4488),i=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},6650:function(e,t,n){var r=n(7466),o=n(8415),i=n(4488),a=Math.ceil,u=function(e){return function(t,n,u){var s,c,l=String(i(t)),f=l.length,h=void 0===u?" ":String(u),p=r(n);return p<=f||""==h?l:(s=p-f,(c=o.call(h,a(s/h.length))).length>s&&(c=c.slice(0,s)),e?l+c:c+l)}};e.exports={start:u(!1),end:u(!0)}},3197:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},c=function(e){var n,r,c=[],l=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,f=128,h=0,p=72;for(n=0;n<e.length;n++)(r=e[n])<128&&c.push(a(r));var v=c.length,g=v;for(v&&c.push("-");g<l;){var d=t;for(n=0;n<e.length;n++)(r=e[n])>=f&&r<d&&(d=r);var y=g+1;if(d-f>i((t-h)/y))throw RangeError(o);for(h+=(d-f)*y,f=d,n=0;n<e.length;n++){if((r=e[n])<f&&++h>t)throw RangeError(o);if(r==f){for(var m=h,_=36;;_+=36){var b=_<=p?1:_>=p+26?26:_-p;if(m<b)break;var w=m-b,x=36-b;c.push(a(u(b+w%x))),m=i(w/x)}c.push(a(u(m))),p=s(h,y,g==v),h=0,++g}}++h,++f}return c.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(n.test(o)?"xn--"+c(o):o);return i.join(".")}},8415:function(e,t,n){"use strict";var r=n(9958),o=n(4488);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},3111:function(e,t,n){var r=n(4488),o="["+n(1361)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},261:function(e,t,n){var r,o,i,a=n(7854),u=n(7293),s=n(9974),c=n(490),l=n(317),f=n(6833),h=n(5268),p=a.location,v=a.setImmediate,g=a.clearImmediate,d=a.process,y=a.MessageChannel,m=a.Dispatch,_=0,b={},w=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},x=function(e){return function(){w(e)}},k=function(e){w(e.data)},S=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};v&&g||(v=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++_]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(_),_},g=function(e){delete b[e]},h?r=function(e){d.nextTick(x(e))}:m&&m.now?r=function(e){m.now(x(e))}:y&&!f?(i=(o=new y).port2,o.port1.onmessage=k,r=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!u(S)?(r=S,a.addEventListener("message",k,!1)):r="onreadystatechange"in l("script")?function(e){c.appendChild(l("script")).onreadystatechange=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:v,clear:g}},1400:function(e,t,n){var r=n(9958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},7466:function(e,t,n){var r=n(9958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488);e.exports=function(e){return Object(r(e))}},7593:function(e,t,n){var r=n(111);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},9711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(6656),a=n(9711),u=n(133),s=n(3307),c=o("wks"),l=r.Symbol,f=s?l:l&&l.withoutSetter||a;e.exports=function(e){return i(c,e)||(u&&i(l,e)?c[e]=l[e]:c[e]=f("Symbol."+e)),c[e]}},1361:function(e){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},2222:function(e,t,n){"use strict";var r=n(2109),o=n(7293),i=n(3157),a=n(111),u=n(7908),s=n(7466),c=n(6135),l=n(5417),f=n(1194),h=n(5112),p=n(7392),v=h("isConcatSpreadable"),g=9007199254740991,d="Maximum allowed index exceeded",y=p>=51||!o((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),m=f("concat"),_=function(e){if(!a(e))return!1;var t=e[v];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!y||!m},{concat:function(e){var t,n,r,o,i,a=u(this),f=l(a,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(_(i=-1===t?a:arguments[t])){if(h+(o=s(i.length))>g)throw TypeError(d);for(n=0;n<o;n++,h++)n in i&&c(f,h,i[n])}else{if(h>=g)throw TypeError(d);c(f,h++,i)}return f.length=h,f}})},3290:function(e,t,n){var r=n(2109),o=n(1285),i=n(1223);r({target:"Array",proto:!0},{fill:o}),i("fill")},9826:function(e,t,n){"use strict";var r=n(2109),o=n(2092).find,i=n(1223),a=n(9207),u="find",s=!0,c=a(u);u in[]&&Array(1).find((function(){s=!1})),r({target:"Array",proto:!0,forced:s||!c},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},9554:function(e,t,n){"use strict";var r=n(2109),o=n(8533);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},6699:function(e,t,n){"use strict";var r=n(2109),o=n(1318).includes,i=n(1223);r({target:"Array",proto:!0,forced:!n(9207)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},2772:function(e,t,n){"use strict";var r=n(2109),o=n(1318).indexOf,i=n(9341),a=n(9207),u=[].indexOf,s=!!u&&1/[1].indexOf(1,-0)<0,c=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!c||!l},{indexOf:function(e){return s?u.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},9753:function(e,t,n){n(2109)({target:"Array",stat:!0},{isArray:n(3157)})},6992:function(e,t,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),u=n(654),s="Array Iterator",c=a.set,l=a.getterFor(s);e.exports=u(Array,"Array",(function(e,t){c(this,{type:s,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:function(e,t,n){"use strict";var r=n(2109),o=n(8361),i=n(5656),a=n(9341),u=[].join,s=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:s||!c},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},5827:function(e,t,n){"use strict";var r=n(2109),o=n(3671).left,i=n(9341),a=n(9207),u=n(7392),s=n(5268),c=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!l||!s&&u>79&&u<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),o=n(111),i=n(3157),a=n(1400),u=n(7466),s=n(5656),c=n(6135),l=n(5112),f=n(1194),h=n(9207),p=f("slice"),v=h("slice",{ACCESSORS:!0,0:0,1:2}),g=l("species"),d=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!p||!v},{slice:function(e,t){var n,r,l,f=s(this),h=u(f.length),p=a(e,h),v=a(void 0===t?h:t,h);if(i(f)&&("function"!=typeof(n=f.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[g])&&(n=void 0):n=void 0,n===Array||void 0===n))return d.call(f,p,v);for(r=new(void 0===n?Array:n)(y(v-p,0)),l=0;p<v;p++,l++)p in f&&c(r,l,f[p]);return r.length=l,r}})},561:function(e,t,n){"use strict";var r=n(2109),o=n(1400),i=n(9958),a=n(7466),u=n(7908),s=n(5417),c=n(6135),l=n(1194),f=n(9207),h=l("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min,d=9007199254740991,y="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!h||!p},{splice:function(e,t){var n,r,l,f,h,p,m=u(this),_=a(m.length),b=o(e,_),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=_-b):(n=w-2,r=g(v(i(t),0),_-b)),_+n-r>d)throw TypeError(y);for(l=s(m,r),f=0;f<r;f++)(h=b+f)in m&&c(l,f,m[h]);if(l.length=r,n<r){for(f=b;f<_-r;f++)p=f+n,(h=f+r)in m?m[p]=m[h]:delete m[p];for(f=_;f>_-r+n;f--)delete m[f-1]}else if(n>r)for(f=_-r;f>b;f--)p=f+n-1,(h=f+r-1)in m?m[p]=m[h]:delete m[p];for(f=0;f<n;f++)m[f+b]=arguments[f+2];return m.length=_-r+n,l}})},3843:function(e,t,n){n(2109)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},8733:function(e,t,n){var r=n(2109),o=n(5573);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},3710:function(e,t,n){var r=n(1320),o=Date.prototype,i="Invalid Date",a=o.toString,u=o.getTime;new Date(NaN)+""!=i&&r(o,"toString",(function(){var e=u.call(this);return e==e?a.call(this):i}))},4812:function(e,t,n){n(2109)({target:"Function",proto:!0},{bind:n(7065)})},9653:function(e,t,n){"use strict";var r=n(9781),o=n(7854),i=n(4705),a=n(1320),u=n(6656),s=n(4326),c=n(9587),l=n(7593),f=n(7293),h=n(30),p=n(8006).f,v=n(1236).f,g=n(3070).f,d=n(3111).trim,y="Number",m=o.Number,_=m.prototype,b=s(h(_))==y,w=function(e){var t,n,r,o,i,a,u,s,c=l(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=d(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,u=0;u<a;u++)if((s=i.charCodeAt(u))<48||s>o)return NaN;return parseInt(i,r)}return+c};if(i(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var x,k=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof k&&(b?f((function(){_.valueOf.call(n)})):s(n)!=y)?c(new m(w(t)),n,k):w(t)},S=r?p(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),L=0;S.length>L;L++)u(m,x=S[L])&&!u(k,x)&&g(k,x,v(m,x));k.prototype=_,_.constructor=k,a(o,y,k)}},1539:function(e,t,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},2479:function(e,t,n){var r=n(2109),o=n(4699).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},1058:function(e,t,n){var r=n(2109),o=n(3009);r({global:!0,forced:parseInt!=o},{parseInt:o})},7727:function(e,t,n){"use strict";var r=n(2109),o=n(1913),i=n(3366),a=n(7293),u=n(5005),s=n(6707),c=n(9478),l=n(1320);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,u("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||l(i.prototype,"finally",u("Promise").prototype.finally)},8674:function(e,t,n){"use strict";var r,o,i,a,u=n(2109),s=n(1913),c=n(7854),l=n(5005),f=n(3366),h=n(1320),p=n(2248),v=n(8003),g=n(6340),d=n(111),y=n(3099),m=n(5787),_=n(2788),b=n(408),w=n(7072),x=n(6707),k=n(261).set,S=n(5948),L=n(9478),C=n(842),T=n(8523),E=n(2534),A=n(9909),O=n(4705),R=n(5112),P=n(5268),I=n(7392),j=R("species"),F="Promise",U=A.get,N=A.set,M=A.getterFor(F),D=f,V=c.TypeError,B=c.document,q=c.process,W=l("fetch"),G=T.f,z=G,J=!!(B&&B.createEvent&&c.dispatchEvent),K="function"==typeof PromiseRejectionEvent,H="unhandledrejection",$=O(F,(function(){if(_(D)===String(D)){if(66===I)return!0;if(!P&&!K)return!0}if(s&&!D.prototype.finally)return!0;if(I>=51&&/native code/.test(D))return!1;var e=D.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[j]=t,!(e.then((function(){}))instanceof t)})),Y=$||!w((function(e){D.all(e).catch((function(){}))})),X=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},Z=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;S((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,u,s,c=n[i++],l=o?c.ok:c.fail,f=c.resolve,h=c.reject,p=c.domain;try{l?(o||(2===e.rejection&&ne(e),e.rejection=1),!0===l?a=r:(p&&p.enter(),a=l(r),p&&(p.exit(),s=!0)),a===c.promise?h(V("Promise-chain cycle")):(u=X(a))?u.call(a,f,h):f(a)):h(r)}catch(e){p&&!s&&p.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ee(e)}))}},Q=function(e,t,n){var r,o;J?((r=B.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!K&&(o=c["on"+e])?o(r):e===H&&C("Unhandled promise rejection",n)},ee=function(e){k.call(c,(function(){var t,n=e.facade,r=e.value;if(te(e)&&(t=E((function(){P?q.emit("unhandledRejection",r,n):Q(H,n,r)})),e.rejection=P||te(e)?2:1,t.error))throw t.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e){k.call(c,(function(){var t=e.facade;P?q.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},re=function(e,t,n){return function(r){e(t,r,n)}},oe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Z(e,!0))},ie=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw V("Promise can't be resolved itself");var r=X(t);r?S((function(){var n={done:!1};try{r.call(t,re(ie,n,e),re(oe,n,e))}catch(t){oe(n,t,e)}})):(e.value=t,e.state=1,Z(e,!1))}catch(t){oe({done:!1},t,e)}}};$&&(D=function(e){m(this,D,F),y(e),r.call(this);var t=U(this);try{e(re(ie,t),re(oe,t))}catch(e){oe(t,e)}},(r=function(e){N(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(D.prototype,{then:function(e,t){var n=M(this),r=G(x(this,D));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=P?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Z(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=U(e);this.promise=e,this.resolve=re(ie,t),this.reject=re(oe,t)},T.f=G=function(e){return e===D||e===i?new o(e):z(e)},s||"function"!=typeof f||(a=f.prototype.then,h(f.prototype,"then",(function(e,t){var n=this;return new D((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&u({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return L(D,W.apply(c,arguments))}}))),u({global:!0,wrap:!0,forced:$},{Promise:D}),v(D,F,!1,!0),g(F),i=l(F),u({target:F,stat:!0,forced:$},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),u({target:F,stat:!0,forced:s||$},{resolve:function(e){return L(s&&this===i?D:this,e)}}),u({target:F,stat:!0,forced:Y},{all:function(e){var t=this,n=G(t),r=n.resolve,o=n.reject,i=E((function(){var n=y(t.resolve),i=[],a=0,u=1;b(e,(function(e){var s=a++,c=!1;i.push(void 0),u++,n.call(t,e).then((function(e){c||(c=!0,i[s]=e,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,o=E((function(){var o=y(t.resolve);b(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},2419:function(e,t,n){var r=n(2109),o=n(5005),i=n(3099),a=n(9670),u=n(111),s=n(30),c=n(7065),l=n(7293),f=o("Reflect","construct"),h=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!l((function(){f((function(){}))})),v=h||p;r({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!h)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,l=s(u(o)?o:Object.prototype),v=Function.apply.call(e,l,t);return u(v)?v:l}})},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1320),o=n(9670),i=n(7293),a=n(7066),u="toString",s=RegExp.prototype,c=s.toString,l=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f=c.name!=u;(l||f)&&r(RegExp.prototype,u,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},7852:function(e,t,n){"use strict";var r,o=n(2109),i=n(1236).f,a=n(7466),u=n(3929),s=n(4488),c=n(4964),l=n(1913),f="".endsWith,h=Math.min,p=c("endsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(r=i(String.prototype,"endsWith"),r&&!r.writable)||p)},{endsWith:function(e){var t=String(s(this));u(e);var n=arguments.length>1?arguments[1]:void 0,r=a(t.length),o=void 0===n?r:h(a(n),r),i=String(e);return f?f.call(t,i,o):t.slice(o-i.length,o)===i}})},2023:function(e,t,n){"use strict";var r=n(2109),o=n(3929),i=n(4488);r({target:"String",proto:!0,forced:!n(4964)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,o=n(9909),i=n(654),a="String Iterator",u=o.set,s=o.getterFor(a);i(String,"String",(function(e){u(this,{type:a,string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(4488),u=n(1530),s=n(7651);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return s(a,c);var l=a.unicode;a.lastIndex=0;for(var f,h=[],p=0;null!==(f=s(a,c));){var v=String(f[0]);h[p]=v,""===v&&(a.lastIndex=u(c,i(a.lastIndex),l)),p++}return 0===p?null:h}]}))},4765:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(4488),a=n(1150),u=n(7651);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),s=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var l=u(i,s);return a(i.lastIndex,c)||(i.lastIndex=c),null===l?-1:l.index}]}))},3123:function(e,t,n){"use strict";var r=n(7007),o=n(7850),i=n(9670),a=n(4488),u=n(6707),s=n(1530),c=n(7466),l=n(7651),f=n(2261),h=n(7293),p=[].push,v=Math.min,g=4294967295,d=!h((function(){return!RegExp(g,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?g:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var u,s,c,l=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,d=new RegExp(e.source,h+"g");(u=f.call(d,r))&&!((s=d.lastIndex)>v&&(l.push(r.slice(v,u.index)),u.length>1&&u.index<r.length&&p.apply(l,u.slice(1)),c=u[0].length,v=s,l.length>=i));)d.lastIndex===u.index&&d.lastIndex++;return v===r.length?!c&&d.test("")||l.push(""):l.push(r.slice(v)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),h=String(this),p=u(f,RegExp),y=f.unicode,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(d?"y":"g"),_=new p(d?f:"^(?:"+f.source+")",m),b=void 0===o?g:o>>>0;if(0===b)return[];if(0===h.length)return null===l(_,h)?[h]:[];for(var w=0,x=0,k=[];x<h.length;){_.lastIndex=d?x:0;var S,L=l(_,d?h:h.slice(x));if(null===L||(S=v(c(_.lastIndex+(d?0:x)),h.length))===w)x=s(h,x,y);else{if(k.push(h.slice(w,x)),k.length===b)return k;for(var C=1;C<=L.length-1;C++)if(k.push(L[C]),k.length===b)return k;x=w=S}}return k.push(h.slice(w)),k}]}),!d)},6755:function(e,t,n){"use strict";var r,o=n(2109),i=n(1236).f,a=n(7466),u=n(3929),s=n(4488),c=n(4964),l=n(1913),f="".startsWith,h=Math.min,p=c("startsWith");o({target:"String",proto:!0,forced:!(!l&&!p&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||p)},{startsWith:function(e){var t=String(s(this));u(e);var n=a(h(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return f?f.call(t,r,n):t.slice(n,n+r.length)===r}})},4747:function(e,t,n){var r=n(7854),o=n(8324),i=n(8533),a=n(8880);for(var u in o){var s=r[u],c=s&&s.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},3948:function(e,t,n){var r=n(7854),o=n(8324),i=n(6992),a=n(8880),u=n(5112),s=u("iterator"),c=u("toStringTag"),l=i.values;for(var f in o){var h=r[f],p=h&&h.prototype;if(p){if(p[s]!==l)try{a(p,s,l)}catch(e){p[s]=l}if(p[c]||a(p,c,f),o[f])for(var v in i)if(p[v]!==i[v])try{a(p,v,i[v])}catch(e){p[v]=i[v]}}}},2564:function(e,t,n){var r=n(2109),o=n(7854),i=n(8113),a=[].slice,u=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),o=n(5005),i=n(590),a=n(1320),u=n(2248),s=n(8003),c=n(4994),l=n(9909),f=n(5787),h=n(6656),p=n(9974),v=n(648),g=n(9670),d=n(111),y=n(30),m=n(9114),_=n(8554),b=n(1246),w=n(5112),x=o("fetch"),k=o("Headers"),S=w("iterator"),L="URLSearchParams",C="URLSearchParamsIterator",T=l.set,E=l.getterFor(L),A=l.getterFor(C),O=/\+/g,R=Array(4),P=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},j=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(P(n--),I);return t}},F=/[!'()~]|%20/g,U={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(e){return U[e]},M=function(e){return encodeURIComponent(e).replace(F,N)},D=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:j(r.shift()),value:j(r.join("="))}))},V=function(e){this.entries.length=0,D(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){T(this,{type:C,iterator:_(E(e).entries),kind:t})}),"Iterator",(function(){var e=A(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),W=function(){f(this,W,L);var e,t,n,r,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(T(l,{type:L,entries:p,updateURL:function(){},updateSearchParams:V}),void 0!==c)if(d(c))if("function"==typeof(e=b(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(i=(o=_(g(r.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:u.value+""})}else for(s in c)h(c,s)&&p.push({key:s,value:c[s]+""});else D(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},G=W.prototype;u(G,{append:function(e,t){B(arguments.length,2);var n=E(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){B(arguments.length,1);for(var t=E(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){B(arguments.length,1);for(var t=E(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var n,r=E(this),o=r.entries,i=!1,a=e+"",u=t+"",s=0;s<o.length;s++)(n=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,n.value=u));i||o.push({key:a,value:u}),r.updateURL()},sort:function(){var e,t,n,r=E(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=E(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(G,S,G.entries),a(G,"toString",(function(){for(var e,t=E(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(M(e.key)+"="+M(e.value));return n.join("&")}),{enumerable:!0}),s(W,L),r({global:!0,forced:!i},{URLSearchParams:W}),i||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(d(t=arguments[1])&&(n=t.body,v(n)===L&&((r=t.headers?new k(t.headers):new k).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(n)),headers:m(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:W,getState:E}},285:function(e,t,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),a=n(590),u=n(7854),s=n(6048),c=n(1320),l=n(5787),f=n(6656),h=n(1574),p=n(8457),v=n(8710).codeAt,g=n(3197),d=n(8003),y=n(1637),m=n(9909),_=u.URL,b=y.URLSearchParams,w=y.getState,x=m.set,k=m.getterFor("URL"),S=Math.floor,L=Math.pow,C="Invalid scheme",T="Invalid host",E="Invalid port",A=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,R=/\d/,P=/^(0x|0X)/,I=/^[0-7]+$/,j=/^\d+$/,F=/^[\dA-Fa-f]+$/,U=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,N=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,M=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,V=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(!(n=q(t.slice(1,-1))))return T;e.host=n}else if(Y(e)){if(t=g(t),U.test(t))return T;if(null===(n=B(t)))return T;e.host=n}else{if(N.test(t))return T;for(n="",r=p(t),o=0;o<r.length;o++)n+=H(r[o],G);e.host=n}},B=function(e){var t,n,r,o,i,a,u,s=e.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(t=s.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=s[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?j:8==i?I:F).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=L(256,5-t))return null}else if(a>255)return null;for(u=n.pop(),r=0;r<n.length;r++)u+=n[r]*L(256,3-r);return u},q=function(e){var t,n,r,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,h=function(){return e.charAt(f)};if(":"==h()){if(":"!=e.charAt(1))return;f+=2,l=++c}for(;h();){if(8==c)return;if(":"!=h()){for(t=n=0;n<4&&F.test(h());)t=16*t+parseInt(h(),16),f++,n++;if("."==h()){if(0==n)return;if(f-=n,c>6)return;for(r=0;h();){if(o=null,r>0){if(!("."==h()&&r<4))return;f++}if(!R.test(h()))return;for(;R.test(h());){if(i=parseInt(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}s[c]=256*s[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==h()){if(f++,!h())return}else if(h())return;s[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[l+a-1],s[l+--a]=u;else if(8!=c)return;return s},W=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},G={},z=h({},G,{" ":1,'"':1,"<":1,">":1,"`":1}),J=h({},z,{"#":1,"?":1,"{":1,"}":1}),K=h({},J,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),H=function(e,t){var n=v(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f($,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Z=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&A.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},re={},oe={},ie={},ae={},ue={},se={},ce={},le={},fe={},he={},pe={},ve={},ge={},de={},ye={},me={},_e={},be={},we={},xe={},ke={},Se=function(e,t,n,o){var i,a,u,s,c,l=n||re,h=0,v="",g=!1,d=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(M,"")),t=t.replace(D,""),i=p(t);h<=i.length;){switch(a=i[h],l){case re:if(!a||!A.test(a)){if(n)return C;l=ie;continue}v+=a.toLowerCase(),l=oe;break;case oe:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))v+=a.toLowerCase();else{if(":"!=a){if(n)return C;v="",l=ie,h=0;continue}if(n&&(Y(e)!=f($,v)||"file"==v&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=v,n)return void(Y(e)&&$[e.scheme]==e.port&&(e.port=null));v="","file"==e.scheme?l=de:Y(e)&&o&&o.scheme==e.scheme?l=ae:Y(e)?l=le:"/"==i[h+1]?(l=ue,h++):(e.cannotBeABaseURL=!0,e.path.push(""),l=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return C;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=ke;break}l="file"==o.scheme?de:se;continue;case ae:if("/"!=a||"/"!=i[h+1]){l=se;continue}l=fe,h++;break;case ue:if("/"==a){l=he;break}l=be;continue;case se:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))l=ce;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=xe;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=ke}break;case ce:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=be;continue}l=he}else l=fe;break;case le:if(l=fe,"/"!=a||"/"!=v.charAt(h+1))continue;h++;break;case fe:if("/"!=a&&"\\"!=a){l=he;continue}break;case he:if("@"==a){g&&(v="%40"+v),g=!0,u=p(v);for(var m=0;m<u.length;m++){var _=u[m];if(":"!=_||y){var b=H(_,K);y?e.password+=b:e.username+=b}else y=!0}v=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(g&&""==v)return"Invalid authority";h-=p(v).length+1,v="",l=pe}else v+=a;break;case pe:case ve:if(n&&"file"==e.scheme){l=me;continue}if(":"!=a||d){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==v)return T;if(n&&""==v&&(X(e)||null!==e.port))return;if(s=V(e,v))return s;if(v="",l=_e,n)return;continue}"["==a?d=!0:"]"==a&&(d=!1),v+=a}else{if(""==v)return T;if(s=V(e,v))return s;if(v="",l=ge,n==ve)return}break;case ge:if(!R.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=v){var w=parseInt(v,10);if(w>65535)return E;e.port=Y(e)&&w===$[e.scheme]?null:w,v=""}if(n)return;l=_e;continue}return E}v+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=ye;else{if(!o||"file"!=o.scheme){l=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=xe;else{if("#"!=a){ee(i.slice(h).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),l=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=ke}}break;case ye:if("/"==a||"\\"==a){l=me;break}o&&"file"==o.scheme&&!ee(i.slice(h).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=be;continue;case me:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(v))l=be;else if(""==v){if(e.host="",n)return;l=_e}else{if(s=V(e,v))return s;if("localhost"==e.host&&(e.host=""),n)return;v="",l=_e}continue}v+=a;break;case _e:if(Y(e)){if(l=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=be,"/"!=a))continue}else e.fragment="",l=ke;else e.query="",l=xe;break;case be:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=v).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):ne(v)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(v)&&(e.host&&(e.host=""),v=v.charAt(0)+":"),e.path.push(v)),v="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=xe):"#"==a&&(e.fragment="",l=ke)}else v+=H(a,J);break;case we:"?"==a?(e.query="",l=xe):"#"==a?(e.fragment="",l=ke):a!=r&&(e.path[0]+=H(a,G));break;case xe:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":H(a,G)):(e.fragment="",l=ke);break;case ke:a!=r&&(e.fragment+=H(a,z))}h++}},Le=function(e){var t,n,r=l(this,Le,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Le)t=k(o);else if(n=Se(t={},String(o)))throw TypeError(n);if(n=Se(u,a,null,t))throw TypeError(n);var s=u.searchParams=new b,c=w(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(r.href=Te.call(r),r.origin=Ee.call(r),r.protocol=Ae.call(r),r.username=Oe.call(r),r.password=Re.call(r),r.host=Pe.call(r),r.hostname=Ie.call(r),r.port=je.call(r),r.pathname=Fe.call(r),r.search=Ue.call(r),r.searchParams=Ne.call(r),r.hash=Me.call(r))},Ce=Le.prototype,Te=function(){var e=k(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=W(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},Ee=function(){var e=k(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+W(e.host)+(null!==n?":"+n:""):"null"},Ae=function(){return k(this).scheme+":"},Oe=function(){return k(this).username},Re=function(){return k(this).password},Pe=function(){var e=k(this),t=e.host,n=e.port;return null===t?"":null===n?W(t):W(t)+":"+n},Ie=function(){var e=k(this).host;return null===e?"":W(e)},je=function(){var e=k(this).port;return null===e?"":String(e)},Fe=function(){var e=k(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ue=function(){var e=k(this).query;return e?"?"+e:""},Ne=function(){return k(this).searchParams},Me=function(){var e=k(this).fragment;return e?"#"+e:""},De=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Ce,{href:De(Te,(function(e){var t=k(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:De(Ee),protocol:De(Ae,(function(e){var t=k(this);Se(t,String(e)+":",re)})),username:De(Oe,(function(e){var t=k(this),n=p(String(e));if(!Z(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=H(n[r],K)}})),password:De(Re,(function(e){var t=k(this),n=p(String(e));if(!Z(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=H(n[r],K)}})),host:De(Pe,(function(e){var t=k(this);t.cannotBeABaseURL||Se(t,String(e),pe)})),hostname:De(Ie,(function(e){var t=k(this);t.cannotBeABaseURL||Se(t,String(e),ve)})),port:De(je,(function(e){var t=k(this);Z(t)||(""==(e=String(e))?t.port=null:Se(t,e,ge))})),pathname:De(Fe,(function(e){var t=k(this);t.cannotBeABaseURL||(t.path=[],Se(t,e+"",_e))})),search:De(Ue,(function(e){var t=k(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Se(t,e,xe)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:De(Ne),hash:De(Me,(function(e){var t=k(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Se(t,e,ke)):t.fragment=null}))}),c(Ce,"toJSON",(function(){return Te.call(this)}),{enumerable:!0}),c(Ce,"toString",(function(){return Te.call(this)}),{enumerable:!0}),_){var Ve=_.createObjectURL,Be=_.revokeObjectURL;Ve&&c(Le,"createObjectURL",(function(e){return Ve.apply(_,arguments)})),Be&&c(Le,"revokeObjectURL",(function(e){return Be.apply(_,arguments)}))}d(Le,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Le})},5666:function(e,t,n){var r=n(202).default,o=function(e){"use strict";var t,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new E(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===v){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=L(a,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var s=l(e,t,n);if("normal"===s.type){if(r=n.done?v:h,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=v,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",g={};function d(){}function y(){}function m(){}var _={};_[a]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(A([])));w&&w!==n&&o.call(w,a)&&(_=w);var x=m.prototype=d.prototype=Object.create(_);function k(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e,t){function n(r,i,a,u){var s=l(e[r],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,u)}))}u(s.arg)}var r;this._invoke=function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function A(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:O}}function O(){return{value:t,done:!0}}return y.prototype=x.constructor=m,m.constructor=y,m[s]=y.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},k(S.prototype),S.prototype[u]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,o,i,a){void 0===a&&(a=r);var u=new S(c(t,n,o,i),a);return e.isGeneratorFunction(n)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},k(x),x[s]="Generator",x[a]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=A,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=o}catch(e){Function("r","regeneratorRuntime = r")(o)}}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(3851)}()}));
2
2
  //# sourceMappingURL=groups.js.map