From a9b9f7247bc4928286ad852b25461f1a327ecdfe Mon Sep 17 00:00:00 2001 From: Da Kong Date: Thu, 20 Jun 2024 20:36:25 +0800 Subject: [PATCH] fix: fax log cannot find user self data --- public/embeddable/adapter.atos.js | 2 +- public/embeddable/adapter.att.js | 2 +- public/embeddable/adapter.avaya.js | 2 +- public/embeddable/adapter.bt.js | 2 +- public/embeddable/adapter.js | 13 +++++++++++++ public/embeddable/adapter.rainbow.js | 2 +- public/embeddable/adapter.telus.js | 2 +- public/embeddable/app.js | 10 +++++----- public/embeddable/app.js.LICENSE.txt | 17 ----------------- 9 files changed, 24 insertions(+), 28 deletions(-) diff --git a/public/embeddable/adapter.atos.js b/public/embeddable/adapter.atos.js index 39f1649..cd93ee3 100644 --- a/public/embeddable/adapter.atos.js +++ b/public/embeddable/adapter.atos.js @@ -1,2 +1,2 @@ /*! For license information please see adapter.atos.js.LICENSE.txt */ -!function(){var __webpack_modules__={94079:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.callActions=void 0;var callActions=__webpack_require__(50742).ObjectMap.fromObject({"411Info":"411 Info",acceptCall:"Accept Call",callReturn:"Call Return",callingCard:"Calling Card",e911Update:"E911 Update",emergency:"Emergency",findMe:"FindMe",followMe:"FollowMe",incomingFax:"Incoming Fax",outgoingFax:"Outgoing Fax",phoneCall:"Phone Call",phoneLogin:"Phone Login",ringDirectly:"Ring Directly",ringMe:"RingMe",ringOutMobile:"RingOut Mobile",ringOutPC:"RingOut PC",ringOutWeb:"RingOut Web",support:"Support",transfer:"Transfer",unknown:"Unknown",voIPCall:"VoIP Call"});exports.callActions=callActions;var _default=callActions;exports.default=_default},29827:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.callDirection=void 0;var callDirection=__webpack_require__(50742).ObjectMap.fromObject({inbound:"Inbound",outbound:"Outbound"});exports.callDirection=callDirection;var _default=callDirection;exports.default=_default},30901:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.callResults=void 0;var callResults=__webpack_require__(50742).ObjectMap.fromObject({IPPhoneOffline:"IP Phone Offline",abandoned:"Abandoned",account:"Account",blocked:"Blocked",busy:"Busy",callAccepted:"Call accepted",accepted:"Accepted",callConnected:"Call connected",callFailed:"Call Failed",callFailure:"Call Failure",declined:"Declined",faxOnDemand:"Fax on Demand",faxReceiptError:"Fax Receipt Error",faxSendError:"Fax Send Error",hangUp:"Hang up",HangUp:"Hang Up",internalError:"Internal Error",internationalDisabled:"International Disabled",internationalRestriction:"International Restriction",missed:"Missed",noAnswer:"No Answer",noFaxMachine:"No fax machine",partialReceive:"Partial Receive",partiallySent:"Partially Sent",poorLineQuality:"Poor Line Quality",receiveError:"Receive Error",received:"Received",rejected:"Rejected",reply:"Reply",restrictedNumber:"Restricted Number",resultEmpty:"ResultEmpty",resultInProgress:"ResultInProgress",sendError:"Send Error",sent:"Sent",stopped:"Stopped",suspended:"Suspended",unknown:"Unknown",voicemail:"Voicemail",wrongNumber:"Wrong Number",faxReceipt:"Fax Receipt",suspendedAccount:"Suspended Account",disconnected:"Disconnected",notAllowed:"Not Allowed"});exports.callResults=callResults;var _default=callResults;exports.default=_default},50289:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.presenceStatus=void 0;var presenceStatus=__webpack_require__(50742).ObjectMap.fromObject({offline:"Offline",busy:"Busy",available:"Available"});exports.presenceStatus=presenceStatus},58748:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.subscriptionFilters=exports.default=void 0;var subscriptionFilters=__webpack_require__(50742).ObjectMap.fromObject({presence:"/restapi/v1.0/account/~/extension/~/presence",detailedPresence:"/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true&sipData=true&totalActiveCalls",extensionInfo:"/restapi/v1.0/account/~/extension/~",accountExtension:"/restapi/v1.0/account/~/extension",companyContacts:"/restapi/v1.0/account/~/directory/contacts",messageStore:"/restapi/v1.0/account/~/extension/~/message-store",telephonySessions:"/restapi/v1.0/account/~/extension/~/telephony/sessions"});exports.subscriptionFilters=subscriptionFilters;var _default=subscriptionFilters;exports.default=_default},19657:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.telephonyStatus=exports.default=void 0;var telephonyStatus=__webpack_require__(50742).ObjectMap.fromObject({noCall:"NoCall",onHold:"OnHold",ringing:"Ringing",callConnected:"CallConnected",parkedCall:"ParkedCall"});exports.telephonyStatus=telephonyStatus;var _default=telephonyStatus;exports.default=_default},41596:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.terminationTypes=exports.default=void 0;var terminationTypes=__webpack_require__(50742).ObjectMap.fromObject({final:"final",intermediate:"intermediate"});exports.terminationTypes=terminationTypes;var _default=terminationTypes;exports.default=_default},62422:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(96649),__webpack_require__(92222),__webpack_require__(57327),__webpack_require__(69826),__webpack_require__(34553),__webpack_require__(89554),__webpack_require__(40561),__webpack_require__(96078),__webpack_require__(83710),__webpack_require__(9653),__webpack_require__(47941),__webpack_require__(41539),__webpack_require__(91058),__webpack_require__(54747),Object.defineProperty(exports,"__esModule",{value:!0}),exports.areTwoLegs=areTwoLegs,exports.getPhoneNumber=function(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,_ramda.isEmpty)(call))return;var _call$to=call.to,to=void 0===_call$to?{}:_call$to,_call$from=call.from,from=void 0===_call$from?{}:_call$from;if(isOutbound(call))return to.phoneNumber||to.extensionNumber;return from.phoneNumber||from.extensionNumber},exports.getPhoneNumberMatches=function(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_call$to2=call.to,to=void 0===_call$to2?{}:_call$to2,_call$from2=call.from,from=void 0===_call$from2?{}:_call$from2,toMatches=call.toMatches,fromMatches=call.fromMatches;if((0,_ramda.isEmpty)(call))return{};var isOutboundCall=isOutbound(call),isInboundCall=isInbound(call),phoneNumber=null,matches=null;isOutboundCall?(phoneNumber=to.phoneNumber||to.extensionNumber,matches=toMatches):isInboundCall&&(phoneNumber=from.phoneNumber||from.extensionNumber,matches=fromMatches);return{phoneNumber:phoneNumber,matches:matches}},exports.getWebphoneSessionDisplayName=function(currentSession){return null},exports.hasEndedCalls=function(calls){return!!calls.find(isEnded)},exports.hasRingingCalls=function(){var calls=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!calls.find(isRinging)},exports.isEnded=isEnded,exports.isInbound=isInbound,exports.isIntermediateCall=isIntermediateCall,exports.isMissed=function(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!!callResultsToMissedMap[call.result]},exports.isOnHold=isOnHold,exports.isOutbound=isOutbound,exports.isRinging=isRinging,exports.isRingingInboundCall=function(call){return isRinging(call)&&isInbound(call)},exports.isSelfCall=isSelfCall,exports.normalizeFromTo=function(call){return _objectSpread(_objectSpread({},call),{},{from:"object"===_typeof(call.from)?call.from:{phoneNumber:call.from},to:"object"===_typeof(call.to)?call.to:{phoneNumber:call.to}})},exports.normalizeStartTime=function(item){var result=_objectSpread({},item);item.startTime&&(result.startTime=(0,_dayjs.default)(new Date(item.startTime)).valueOf());return result},exports.removeDuplicateIntermediateCalls=function(calls){var resultCalls=[],indexMap={};return calls.forEach((function(call){var isIntermediate=isIntermediateCall(call),sessionId=call.sessionId;indexMap[sessionId]?isIntermediate||(indexMap[sessionId].isIntermediate=!1,resultCalls[indexMap[sessionId].index]=call):(indexMap[sessionId]={index:resultCalls.length,isIntermediate:isIntermediate},resultCalls.push(call))})),resultCalls},exports.removeDuplicateSelfCalls=function(calls){var resultCalls=[],indexMap={};return calls.forEach((function(call){var isSelf=isSelfCall(call),sessionId=call.sessionId;indexMap[sessionId]?isSelf||(indexMap[sessionId].isSelf=!1,resultCalls[indexMap[sessionId].index]=call):(indexMap[sessionId]={index:resultCalls.length,isSelf:isSelf},resultCalls.push(call))})),resultCalls},exports.removeInboundRingOutLegs=function(calls){var output=[],outbounds=calls.filter(isOutbound);return calls.filter(isInbound).forEach((function(inbound){var outboundIndex=outbounds.findIndex((function(call){return areTwoLegs(inbound,call)}));if(outboundIndex>-1){var outbound=outbounds.splice(outboundIndex,1)[0];if(inbound.action&&outbound.action){var call=_objectSpread(_objectSpread({},outbound),{},{outboundLeg:outbound,inboundLeg:inbound,from:_objectSpread({},inbound.from),to:_objectSpread({},inbound.to),result:inbound.result});output.push(call)}else{var _inbound$from,_call=_objectSpread(_objectSpread({},outbound),{},{outboundLeg:outbound,inboundLeg:inbound});inbound.from&&(0,_phoneNumber.isValidNumber)(null===(_inbound$from=inbound.from)||void 0===_inbound$from?void 0:_inbound$from.phoneNumber)&&(0,_phoneNumber.isSameLocalNumber)(inbound.from.phoneNumber,outbound.to&&outbound.to.phoneNumber)&&(_call.to=_objectSpread(_objectSpread({},outbound.to),{},{phoneNumber:inbound.from.phoneNumber}),outbound.to.phoneNumber=inbound.from.phoneNumber),isOnHold(inbound)&&(_call.telephonyStatus=_telephonyStatus.default.onHold),output.push(_call)}}else output.push(inbound)})),output.concat(outbounds)},exports.sortBySessionId=function(a,b){return a.sessionId===b.sessionId?0:a.sessionId>b.sessionId?1:-1},exports.sortByStartTime=function(a,b){return a.startTime===b.startTime?0:a.startTime>b.startTime?-1:1};var _dayjs=_interopRequireDefault(__webpack_require__(27484)),_ramda=__webpack_require__(36),_ObjectMap=__webpack_require__(50742),_phoneNumber=__webpack_require__(18552),_callActions=__webpack_require__(94079),_callDirections=_interopRequireDefault(__webpack_require__(29827)),_callResults=__webpack_require__(30901),_telephonyStatus=_interopRequireDefault(__webpack_require__(19657)),_terminationTypes=__webpack_require__(41596);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i0&&void 0!==arguments[0]?arguments[0]:{};return call.direction===_callDirections.default.inbound}function isOutbound(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return call.direction===_callDirections.default.outbound}function isRinging(call){return!!call&&call.telephonyStatus===_telephonyStatus.default.ringing}var callResultsToMissedMap=_ObjectMap.ObjectMap.fromObject((0,_ramda.reduce)((function(result,key){var value=_callResults.callResults[key];return result[value]=!!(0,_ramda.find)((function(item){return item===value}),[_callResults.callResults.missed,_callResults.callResults.hangUp,_callResults.callResults.busy,_callResults.callResults.voicemail,_callResults.callResults.rejected]),result}),{},Object.keys(_callResults.callResults)));function isEnded(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return call.telephonyStatus===_telephonyStatus.default.noCall&&call.terminationType===_terminationTypes.terminationTypes.final}function isOnHold(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return call.telephonyStatus===_telephonyStatus.default.onHold}function isIntermediateCall(call){return call.terminationType===_terminationTypes.terminationTypes.intermediate}function isSelfCall(){var call=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!(!call.to||!call.from)&&call.to.phoneNumber===call.from.phoneNumber}function areTwoLegs(inbound,outbound){if(isInbound(inbound)&&isOutbound(outbound))switch(Math.abs(parseInt(inbound.sessionId,10)-parseInt(outbound.sessionId,10))){case 1e3:case 2e3:case 3e3:case 4e3:if(inbound.from&&inbound.to&&outbound.from&&outbound.to&&(0,_phoneNumber.isSameLocalNumber)(inbound.from.phoneNumber,outbound.to.phoneNumber)&&(0,_phoneNumber.isSameLocalNumber)(inbound.to.phoneNumber,outbound.from.phoneNumber))return!0;if(inbound.from&&inbound.to&&outbound.from&&outbound.to&&inbound.action===_callActions.callActions.phoneCall&&(outbound.action===_callActions.callActions.ringOutWeb||outbound.action===_callActions.callActions.ringOutPC||outbound.action===_callActions.callActions.ringOutMobile)&&(inbound.from.phoneNumber===outbound.from.phoneNumber||inbound.from.extensionNumber===outbound.from.extensionNumber)&&inbound.to.phoneNumber===outbound.to.phoneNumber)return!0;break;default:return!1}return!1}},24356:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(3843),__webpack_require__(83710),__webpack_require__(9653),__webpack_require__(44048),__webpack_require__(32564),Object.defineProperty(exports,"__esModule",{value:!0}),exports.DEFAULT_THRESHOLD=void 0,exports.debounce=function(_ref){var timeoutId,lastArgs,lastThis,lastResult,fn=_ref.fn,_ref$threshold=_ref.threshold,threshold=void 0===_ref$threshold?500:_ref$threshold,_ref$leading=_ref.leading,leading=void 0!==_ref$leading&&_ref$leading,_ref$trailing=_ref.trailing,trailing=void 0===_ref$trailing||_ref$trailing,maxThreshold=_ref.maxThreshold,thresholdStart=0;function invoke(){lastArgs&&(lastResult=fn.apply(lastThis,lastArgs)),lastThis=void 0,lastArgs=void 0}function getWaitTime(timestamp){return!Number.isNaN(maxThreshold)&&maxThreshold>0?Math.min(threshold,maxThreshold-(timestamp-thresholdStart)):threshold}function handleTimeout(){timeoutId=null;var timestamp=Date.now();lastArgs?(thresholdStart=timestamp,invoke(),timeoutId=setTimeout(handleTimeout,getWaitTime(timestamp))):thresholdStart=0}function debounced(){var timestamp=Date.now();if(!timeoutId||trailing||!leading){lastThis=this;for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];lastArgs=args}return!timeoutId&&leading&&invoke(),timeoutId&&clearTimeout(timeoutId),(0===thresholdStart||thresholdStart>timestamp)&&(thresholdStart=timestamp),timeoutId=setTimeout(handleTimeout,getWaitTime(timestamp)),lastResult}return debounced.cancel=function(){timeoutId&&(clearTimeout(timeoutId),timeoutId=null);return lastThis=void 0,lastArgs=void 0,thresholdStart=0,lastResult},debounced.flush=function(){timeoutId&&(clearTimeout(timeoutId),handleTimeout());return lastResult},debounced};exports.DEFAULT_THRESHOLD=500},26516:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _debounce=__webpack_require__(24356);Object.keys(_debounce).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_debounce[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _debounce[key]}}))}));var _throttle=__webpack_require__(86324);Object.keys(_throttle).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_throttle[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _throttle[key]}}))}));var _promisedDebounce=__webpack_require__(19595);Object.keys(_promisedDebounce).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_promisedDebounce[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _promisedDebounce[key]}}))}));var _promisedThrottle=__webpack_require__(24460);Object.keys(_promisedThrottle).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_promisedThrottle[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _promisedThrottle[key]}}))}))},19595:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(82772),__webpack_require__(47941),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(32564),Object.defineProperty(exports,"__esModule",{value:!0}),exports.promisedDebounce=function(_ref){var fn=_ref.fn,options=function(source,excluded){if(null==source)return{};var key,i,target=function(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}(_ref,["fn"]),promise=null,reject=null,resolve=null;var debounced=(0,_debounce.debounce)(function(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:500,immediate=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("function"!=typeof func)throw new Error("First argument of debounce function should be a function");var timer=null;return function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var context=this,callNow=immediate&&!timer,later=function(){timer=null,immediate||func.apply(context,args)};clearTimeout(timer),timer=setTimeout(later,threshold),callNow&&func.apply(context,args)}}},13719:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(96649),__webpack_require__(66992),__webpack_require__(96078),__webpack_require__(51532),__webpack_require__(9653),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _error=__webpack_require__(6310);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _defineProperties(target,props){for(var i=0;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:Injector.pending,container=this.container;if((0,_utils.assert)(provider,"Expected valid provider",provider),!container.localHas(provider.token))if(provider instanceof _provider2.ExistingProvider){if(pending.has(provider))throw(0,_error.CircularDependencyError)(pending,provider.token);if(this.universalProviders.has(provider.useExisting)&&(pending.add(provider),this.resolveModuleProvider(this.universalProviders.get(provider.useExisting)),pending.delete(provider)),!container.localHas(provider.useExisting))throw(0,_error.DIError)("ExistingProvider [".concat(provider.useExisting,"] is not found"));container.set(provider.token,container.localGet(provider.useExisting))}else if(container.has(provider.token))container.set(provider.token,container.get(provider.token));else if(this.universalProviders.has(provider.token)||this.parentInjector&&this.parentInjector.resolveModuleProvider(provider),provider instanceof _provider2.ValueProvider)container.set(provider.token,provider);else if(provider instanceof _provider2.FactoryProvider){pending.add(provider.token);var deps=provider.deps.map((function(dep){return(0,_is_type.isObject)(dep)?dep:{dep:dep,optional:!1}})),dependencies=this.resolveDependencies(deps,pending),factoryProvider=provider.func.call(null,dependencies);provider.setInstance(factoryProvider),container.set(provider.token,provider),pending.delete(provider.token)}else if(provider instanceof _provider2.ClassProvider)if(this.moduleRegistry.has(provider.klass)){var _deps=_registry.default.resolveInheritedDependencies(provider.klass)||[],Klass=provider.klass;pending.add(provider.token);var _dependencies=this.resolveDependencies(_deps,pending),instance=new Klass(_dependencies);provider.setInstance(instance),container.set(provider.token,provider),pending.delete(provider.token)}else{if(!(provider instanceof _provider2.ClassProvider&&this.providerRegistry.has(provider.klass)))throw(0,_error.DIError)("Provider [".concat(provider.token,"] can not be resolved, module is not found"));this.resolveModuleFactoryProvider(provider)}}},{key:"resolveDependencies",value:function(deps,pending){var _step,dependencies={},_iterator=_createForOfIteratorHelper(deps);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_step.value,dep=_step$value.dep,optional=_step$value.optional;if(pending.has(dep))throw(0,_error.CircularDependencyError)(pending,dep);if(!this.container.has(dep))if(this.universalProviders.has(dep)){var dependentModuleProvider=this.universalProviders.get(dep);this.resolveModuleProvider(dependentModuleProvider)}else this.parentInjector&&this.parentInjector.resolveModuleProviderForChildren(dep);if(!optional||this.container.has(dep)){var dependentProvider=this.container.get(dep),dependentInstance=dependentProvider.getInstance();dependentProvider instanceof _provider2.ValueProvider?dependentProvider.spread?Object.assign(dependencies,dependentInstance.value):dependencies[(0,_utils.camelize)(dep)]=dependentInstance.value:dependentProvider instanceof _provider2.FactoryProvider&&dependentProvider.spread?Object.assign(dependencies,dependentInstance):dependencies[(0,_utils.camelize)(dep)]=dependentProvider.getInstance()}else if(!optional)throw(0,_error.DIError)("Dependency Module [".concat(dep,"] can not be resolved"))}}catch(err){_iterator.e(err)}finally{_iterator.f()}return dependencies.injector=this,dependencies}},{key:"resolveModuleProviderForChildren",value:function(providerToken){this.universalProviders.has(providerToken)?this.resolveModuleProvider(this.universalProviders.get(providerToken)):this.parentInjector&&this.parentInjector.resolveModuleProviderForChildren(providerToken)}},{key:"resolveModuleFactoryProvider",value:function(providerInstance){if(!this.container.has(providerInstance.token)){if(Injector.pending.add(providerInstance.token),providerInstance.klass===this.targetClass)throw(0,_error.CircularDependencyError)(Injector.pending,this.targetClass.name);var instance=Injector.bootstrap(providerInstance.klass,this);providerInstance.setInstance(instance),this.container.set(providerInstance.token,providerInstance),Injector.pending.delete(providerInstance.token)}}},{key:"_bootstrap",value:function(RootClass){if(this.targetClass=RootClass,this.container.localHas(RootClass.name))return this.container.localGet(RootClass.name).getInstance();var _step2,providersMetadata=_registry.default.resolveInheritedModuleFactory(RootClass),universalProviders=this.universalProviders,_iterator2=_createForOfIteratorHelper(providersMetadata);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var provider=_step2.value;if((0,_is_type.isValueProvider)(provider))universalProviders.set(provider.provide,new _provider2.ValueProvider(provider.provide,provider.useValue,provider.spread,provider.private));else if((0,_is_type.isStaticClassProvider)(provider))universalProviders.set(provider.provide,new _provider2.ClassProvider(provider.provide,provider.useClass,provider.deps,provider.private));else if((0,_is_type.isExistingProvider)(provider))universalProviders.set(provider.provide,new _provider2.ExistingProvider(provider.provide,provider.useExisting,provider.private));else{if(!(0,_is_type.isFactoryProvider)(provider))throw(0,_error.DIError)("Expected valid provider",provider);universalProviders.set(provider.provide,new _provider2.FactoryProvider(provider.provide,provider.useFactory,provider.deps,provider.spread,provider.private))}}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}var _step3,container=this.container,_iterator3=_createForOfIteratorHelper(this.universalProviders.values());try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _provider=_step3.value;container.has(_provider.provide)||(_provider instanceof _provider2.ClassProvider&&this.providerRegistry.has(_provider.klass)?this.resolveModuleFactoryProvider(_provider):this.resolveModuleProvider(_provider))}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}var _step4,moduleProviders={},_iterator4=_createForOfIteratorHelper(container.entries());try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var _step4$value=_slicedToArray(_step4.value,2),token=_step4$value[0],moduleProvider=_step4$value[1];if(!moduleProvider.private){var instance=moduleProvider.getInstance();moduleProvider instanceof _provider2.ValueProvider?moduleProviders[(0,_utils.camelize)(token)]=instance.value:moduleProviders[(0,_utils.camelize)(token)]=instance}}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}for(var reducers={},proxyReducers={},rootClassInstance=new RootClass(moduleProviders),_loop=function(){var name=_Object$keys[_i],module=moduleProviders[name];rootClassInstance.addModule&&(rootClassInstance.addModule(name,module),module instanceof _core.RcModuleV2&&(module.parentModule=rootClassInstance,module[_core.identifierKey]=name)),rootClassInstance instanceof _core.RcModuleV2||(module.reducer&&(reducers[name]=module.reducer),module.proxyReducer&&(proxyReducers[name]=module.proxyReducer),module._reducer&&Object.defineProperty(module,"_getState",{value:function(){return rootClassInstance.state[name]}}),module._proxyReducer&&Object.defineProperty(module,"_getProxyState",{value:function(){return rootClassInstance.proxyState[name]}}))},_i=0,_Object$keys=Object.keys(moduleProviders);_i<_Object$keys.length;_i++)_loop();return rootClassInstance instanceof _core.RcModuleV2||(Object.defineProperty(rootClassInstance,"_reducer",{value:(0,_redux.combineReducers)(_objectSpread(_objectSpread({},reducers),{},{lastAction:function(){var action=arguments.length>1?arguments[1]:void 0;return action._usm===_core.usmAction?{}:action}}))}),rootClassInstance._proxyReducer&&Object.defineProperty(rootClassInstance,"_proxyReducer",{value:(0,_redux.combineReducers)(_objectSpread({},proxyReducers))})),rootClassInstance}},{key:"get",value:function(token){var provider=this.container.get(token),instance=provider.getInstance();return provider instanceof _provider2.ValueProvider?instance.value:instance}},{key:"setParent",value:function(parentInjector){parentInjector&&(this.container.setParent(parentInjector.container),this.parentInjector=parentInjector)}}],staticProps=[{key:"bootstrap",value:function(RootClass){var parentInjector=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,injector=new Injector;return parentInjector&&injector.setParent(parentInjector),injector._bootstrap(RootClass)}},{key:"reset",value:function(){this.pending.clear(),_registry.default.moduleRegistry.reset(),_registry.default.providerRegistry.reset()}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Injector}();exports.Injector=Injector,Injector.pending=new Set},57267:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return _possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return function(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(self)}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return _construct(Error,["[DI] ".concat(message)].concat(args))}__webpack_require__(92222),__webpack_require__(91038),__webpack_require__(66992),__webpack_require__(69600),__webpack_require__(24812),__webpack_require__(68304),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.CircularDependencyError=function(pending,dep){var path=Array.from(pending.values()).join(" -> ");return DIError("Circular dependency detected: ".concat(path," -> ").concat(dep))},exports.DIError=DIError},30449:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(79753),__webpack_require__(47042),__webpack_require__(83710),__webpack_require__(41539),__webpack_require__(39714),Object.defineProperty(exports,"__esModule",{value:!0}),exports.isArray=function(x){return Array.isArray?Array.isArray(x):"Array"===Object.prototype.toString.call(x).slice(8,-1)},exports.isEmpty=function(param){return!param||0===param.length},exports.isExistingProvider=function(provider){return void 0!==provider.useExisting},exports.isFactoryProvider=function(provider){return void 0!==provider.useFactory},exports.isFunction=function(x){return"function"==typeof x},exports.isObject=function(x){return"[object object]"===Object.prototype.toString.call(x).toLowerCase()},exports.isStaticClassProvider=function(provider){return void 0!==provider.useClass},exports.isValueProvider=function(provider){return"useValue"in provider}},73747:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(30489),__webpack_require__(74916),__webpack_require__(15306),Object.defineProperty(exports,"__esModule",{value:!0}),exports.assert=function(cond,msg){if(!cond){for(var _len=arguments.length,args=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)args[_key-2]=arguments[_key];throw msg?_error.DIError.apply(void 0,[msg].concat(args)):(0,_error.DIError)("Assertion Failed")}},exports.camelize=function(key){return key.replace(STRING_CAMELIZE_REGEXP_1,(function(match,separator,chr){return chr?chr.toUpperCase():""})).replace(STRING_CAMELIZE_REGEXP_2,(function(match,separator,chr){return match.toLowerCase()}))},exports.getParentClass=function(klass){return Object.getPrototypeOf(klass)};var _error=__webpack_require__(6310);var STRING_CAMELIZE_REGEXP_1=/(\-|\_|\.|\s)+(.)?/g,STRING_CAMELIZE_REGEXP_2=/(^|\/)([A-Z])/g},15169:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(68309),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(module,moduleName){if(!module)throw new Error("'".concat(moduleName,"' is a required dependency for '").concat(this.constructor.name,"'"));return module}},25479:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(9653),__webpack_require__(44048),__webpack_require__(91058),__webpack_require__(83112),Object.defineProperty(exports,"__esModule",{value:!0}),exports.formatDuration=function(duration){if(void 0===duration||Number.isNaN(duration))return"--:--";var intDuration="number"==typeof duration?Math.round(duration):parseInt(duration,10),seconds="".concat(intDuration%60).padStart(2,"0"),minutes="".concat(Math.floor(intDuration/60)%60).padStart(2,"0"),hours=Math.floor(intDuration/3600)%24,hourString=hours>0?"".concat("".concat(hours).padStart(2,"0"),":"):"";return"".concat(hourString).concat(minutes,":").concat(seconds)}},39260:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _formatDuration=__webpack_require__(25479);Object.keys(_formatDuration).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_formatDuration[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _formatDuration[key]}}))}))},9601:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function proxify(prototype,property,descriptor){var configurable=descriptor.configurable,enumerable=descriptor.enumerable,value=descriptor.value;return{configurable:configurable,enumerable:enumerable,value:function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];if(!this._transport)return value.call.apply(value,[this].concat(args));var functionPath="".concat(this.modulePath,".").concat(property);return this._transport.request({payload:{type:this._proxyActionTypes.execute,functionPath:functionPath,args:args}})}}}__webpack_require__(92222),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.proxify=proxify;var _default=proxify;exports.default=_default},6582:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},54650:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(89554),__webpack_require__(91038),__webpack_require__(66992),__webpack_require__(3843),__webpack_require__(83710),__webpack_require__(51532),__webpack_require__(38880),__webpack_require__(41539),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(54747),__webpack_require__(33948),__webpack_require__(32564),Object.defineProperty(exports,"__esModule",{value:!0}),exports.DataFetcherV2=void 0,__webpack_require__(35666);var _class,_class2,_descriptor,_descriptor2,_descriptor3,_descriptor4,_descriptor5,_ramda=__webpack_require__(36),_core=__webpack_require__(80745),_di=__webpack_require__(21812),_proxify=__webpack_require__(9601),_sourceStatus=__webpack_require__(82321);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}function _initializerDefineProperty(target,property,descriptor,context){descriptor&&Object.defineProperty(target,property,{enumerable:descriptor.enumerable,configurable:descriptor.configurable,writable:descriptor.writable,value:descriptor.initializer?descriptor.initializer.call(context):void 0})}function _defineProperties(target,props){for(var i=0;i3&&void 0!==arguments[3]?arguments[3]:Date.now();disableCache?(this.data[key]=data,this.timestamps[key]=timestamp):(this.storageData.cachedData[key]=data,this.storageData.cachedTimestamps[key]=timestamp)}},{key:"updateData",value:function(source,data,timestamp){this._setData(source.key,source.disableCache,data,timestamp)}},{key:"_fetchData",value:(_fetchData2=_asyncToGenerator(regeneratorRuntime.mark((function _callee(source){var ownerId,data;return regeneratorRuntime.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:return this._setFetching(source.key,!0),ownerId=this._deps.auth.ownerId,_context.prev=2,_context.next=5,source.fetchFunction();case 5:data=_context.sent,this._deps.auth.ownerId===ownerId&&(this._setData(source.key,source.disableCache,data,Date.now()),this._setFetching(source.key,!1),source.polling&&this._startPolling(source),this._promises.delete(source.key)),_context.next=16;break;case 9:if(_context.prev=9,_context.t0=_context.catch(2),this._deps.auth.ownerId!==ownerId){_context.next=16;break}throw this._promises.delete(source.key),this._setFetching(source.key,!1),source.polling?this._startPolling(source,source.timeToRetry):this._retry(source),_context.t0;case 16:case"end":return _context.stop()}}),_callee,this,[[2,9]])}))),function(_x){return _fetchData2.apply(this,arguments)})},{key:"_clearTimeout",value:function(source){this._timeoutIds.has(source.key)&&(clearTimeout(this._timeoutIds.get(source.key)),this._timeoutIds.delete(source.key))}},{key:"_startPolling",value:function(source){var _this2=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getTimestamp(source)+source.pollingInterval+10-Date.now();this._clearTimeout(source),this._timeoutIds.set(source.key,setTimeout((function(){_this2._timeoutIds.delete(source.key),_this2.ready&&_this2._checkIsActiveTab(source)&&source.readyCheckFunction()&&source.permissionCheckFunction()?_this2._expired(source)?_this2.fetchData(source):_this2._startPolling(source):_this2._expired(source)?_this2._startPolling(source,source.timeToRetry):_this2._startPolling(source)}),t))}},{key:"_retry",value:function(source){var _this3=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:source.timeToRetry;this._clearTimeout(source),this._timeoutIds.set(source.key,setTimeout((function(){_this3._expired(source)&&(_this3.ready&&_this3._checkIsActiveTab(source)&&source.readyCheckFunction()&&source.permissionCheckFunction()?_this3.fetchData(source):_this3._retry(source))}),t))}},{key:"fetchData",value:(_fetchData3=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(source){return regeneratorRuntime.wrap((function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return this._promises.get(source.key)||this._promises.set(source.key,this._fetchData(source)),_context2.abrupt("return",this._promises.get(source.key));case 2:case"end":return _context2.stop()}}),_callee2,this)}))),function(_x2){return _fetchData3.apply(this,arguments)})},{key:"getTimestamp",value:function(source){return source.disableCache?this.timestamps[source.key]||null:this.cachedTimestamps[source.key]||null}},{key:"_expired",value:function(source){return Date.now()-this.getTimestamp(source)>source.ttl}},{key:"_shouldFetch",value:function(source){var isFreshLogin=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._checkIsActiveTab(source)&&(isFreshLogin||this._expired(source))}},{key:"_checkIsActiveTab",value:function(source){return source.disableCache||!this._deps.tabManager||this._deps.tabManager.active}},{key:"_tryInitializeSource",value:(_tryInitializeSource2=_asyncToGenerator(regeneratorRuntime.mark((function _callee3(source){return regeneratorRuntime.wrap((function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(this.getSourceStatus(source)!==_sourceStatus.sourceStatus.pending){_context3.next=15;break}if(this._setSourceStatus(source.key,_sourceStatus.sourceStatus.initializing),!this._shouldFetch(source)){_context3.next=13;break}return _context3.prev=3,_context3.next=6,this.fetchData(source);case 6:_context3.next=11;break;case 8:_context3.prev=8,_context3.t0=_context3.catch(3),this._retry(source);case 11:_context3.next=14;break;case 13:source.polling?this._startPolling(source):this._retry(source);case 14:return _context3.abrupt("return");case 15:null!==this.getData(source)&&null!==this.getTimestamp(source)&&this._setSourceStatus(source.key,_sourceStatus.sourceStatus.ready);case 16:case"end":return _context3.stop()}}),_callee3,this,[[3,8]])}))),function(_x3){return _tryInitializeSource2.apply(this,arguments)})},{key:"_setSourceStatus",value:function(key,status){this.sourceStatus[key]=status}},{key:"getSourceStatus",value:function(source){return this.sourceStatus[source.key]}},{key:"_processSources",value:function(){var _this4=this;this.ready&&(0,_ramda.forEach)((function(source){_this4.getSourceStatus(source)||_this4._setSourceStatus(source.key,_sourceStatus.sourceStatus.pending);var status=_this4.getSourceStatus(source),readyCheck=_this4.ready&&source.readyCheckFunction(),permissionCheck=readyCheck&&source.permissionCheckFunction();readyCheck?status===_sourceStatus.sourceStatus.pending||status===_sourceStatus.sourceStatus.initializing?permissionCheck?_this4._tryInitializeSource(source):(_this4._setSourceStatus(source.key,_sourceStatus.sourceStatus.ready),_this4._setData(source.key,source.disableCache,null,0)):status===_sourceStatus.sourceStatus.ready&&(permissionCheck||null===_this4.getData(source)||null===_this4.getTimestamp(source)?permissionCheck&&null===_this4.getData(source)&&0===_this4.getTimestamp(source)&&!_this4._promises.get(source.key)&&_this4.fetchData(source):_this4._setData(source.key,source.disableCache,null,0)):status===_sourceStatus.sourceStatus.ready&&(_this4._setSourceStatus(source.key,_sourceStatus.sourceStatus.pending),source.cleanOnReset&&_this4._setData(source.key,source.disableCache,null,null))}),Array.from(this._sources))}},{key:"_handleSleepDetected",value:function(){var _this5=this;(0,_ramda.forEach)((function(source){_this5.ready&&_this5._shouldFetch(source)&&_this5.fetchData(source)}),Array.from(this._sources))}},{key:"_getRegisteredKeys",value:function(){var keys=new Set;return this._sources.forEach((function(source){keys.add(source.key)})),keys}},{key:"_getInvalidCachedKeys",value:function(){var registeredKeys=this._getRegisteredKeys(),keys=new Set;for(var k in this.cachedData)Object.prototype.hasOwnProperty.call(this.cachedData,k)&&!registeredKeys.has(k)&&keys.add(k);for(var _k in this.cachedTimestamps)Object.prototype.hasOwnProperty.call(this.cachedTimestamps,_k)&&!registeredKeys.has(_k)&&keys.add(_k);return keys}},{key:"_deleteKeys",value:function(keys){var _this6=this;keys.forEach((function(k){delete _this6.cachedData[k],delete _this6.cachedTimestamps[k]}))}},{key:"_cleanCache",value:function(){this._deleteKeys(this._getInvalidCachedKeys())}},{key:"onInit",value:function(){this._cleanCache()}},{key:"onReset",value:function(){var _this7=this;(0,_ramda.forEach)((function(source){_this7._clearTimeout(source),_this7._promises.delete(source.key),_this7._setFetching(source.key,!1),_this7.getSourceStatus(source)!==_sourceStatus.sourceStatus.pending&&_this7._setSourceStatus(source.key,_sourceStatus.sourceStatus.pending),source.cleanOnReset&&null!==_this7.getData(source)&&null!==_this7.getTimestamp(source)&&_this7._setData(source.key,source.disableCache,null,null)}),Array.from(this._sources))}},{key:"onStateChange",value:function(){this._processSources()}},{key:"register",value:function(source){this._sources.add(source)}},{key:"getData",value:function(source){return this._sources.has(source)?source.disableCache?this.data[source.key]||null:this.cachedData[source.key]||null:null}},{key:"cachedData",get:function(){return this.storageData.cachedData}},{key:"cachedTimestamps",get:function(){return this.storageData.cachedTimestamps}},{key:"sources",get:function(){return this._sources}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),DataFetcherV2}(_core.RcModuleV2),_descriptor=_applyDecoratedDescriptor(_class2.prototype,"sourceStatus",[_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),_descriptor2=_applyDecoratedDescriptor(_class2.prototype,"storageData",[_core.storage,_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{cachedData:{},cachedTimestamps:{}}}}),_descriptor3=_applyDecoratedDescriptor(_class2.prototype,"data",[_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),_descriptor4=_applyDecoratedDescriptor(_class2.prototype,"timestamps",[_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),_descriptor5=_applyDecoratedDescriptor(_class2.prototype,"isFetching",[_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),_applyDecoratedDescriptor(_class2.prototype,"_setFetching",[_core.action],Object.getOwnPropertyDescriptor(_class2.prototype,"_setFetching"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_setData",[_core.action],Object.getOwnPropertyDescriptor(_class2.prototype,"_setData"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_fetchData",[_proxify.proxify],Object.getOwnPropertyDescriptor(_class2.prototype,"_fetchData"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"fetchData",[_proxify.proxify],Object.getOwnPropertyDescriptor(_class2.prototype,"fetchData"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_setSourceStatus",[_core.action],Object.getOwnPropertyDescriptor(_class2.prototype,"_setSourceStatus"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_deleteKeys",[_core.action],Object.getOwnPropertyDescriptor(_class2.prototype,"_deleteKeys"),_class2.prototype),_class=_class2))||_class;exports.DataFetcherV2=DataFetcherV2},75441:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},99717:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(92222),__webpack_require__(24812),__webpack_require__(30489),__webpack_require__(68304),Object.defineProperty(exports,"__esModule",{value:!0}),exports.baseEvents=exports.DataFetcherV2Consumer=void 0,__webpack_require__(35666);var _events=__webpack_require__(17187),_core=__webpack_require__(80745),_ObjectMap=__webpack_require__(50742),_sourceStatus=__webpack_require__(82321);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||function(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:[],totalActiveCalls=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,timestamp=arguments.length>2?arguments[2]:void 0;return activeCalls.length1&&void 0!==_args3[1]?_args3[1]:Date.now(),this._deps.dataFetcherV2.updateData(this._source,_objectSpread(_objectSpread({},this.data),data),timestamp);case 2:case"end":return _context3.stop()}}),_callee3,this)}))),function(_x2){return _updateData2.apply(this,arguments)})},{key:"_getUpdateStatusParams",value:function(userStatus){var _this$lastDndStatus,params={dndStatus:this.dndStatus,userStatus:userStatus};return params.dndStatus!==_dndStatus2.dndStatus.takeAllCalls&¶ms.dndStatus!==_dndStatus2.dndStatus.doNotAcceptDepartmentCalls&&(params.dndStatus=null!==(_this$lastDndStatus=this.lastDndStatus)&&void 0!==_this$lastDndStatus?_this$lastDndStatus:_dndStatus2.dndStatus.takeAllCalls),params}},{key:"setAvailable",value:(_setAvailable=_asyncToGenerator(regeneratorRuntime.mark((function _callee4(){var params;return regeneratorRuntime.wrap((function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:if(this.userStatus!==_presenceStatus2.presenceStatus.available||this.dndStatus===_dndStatus2.dndStatus.doNotAcceptAnyCalls){_context4.next=2;break}return _context4.abrupt("return");case 2:return params=this._getUpdateStatusParams(_presenceStatus2.presenceStatus.available),_context4.next=5,this._update(params);case 5:case"end":return _context4.stop()}}),_callee4,this)}))),function(){return _setAvailable.apply(this,arguments)})},{key:"setBusy",value:(_setBusy=_asyncToGenerator(regeneratorRuntime.mark((function _callee5(){var params;return regeneratorRuntime.wrap((function(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:if(this.userStatus!==_presenceStatus2.presenceStatus.busy||this.dndStatus===_dndStatus2.dndStatus.doNotAcceptAnyCalls){_context5.next=2;break}return _context5.abrupt("return");case 2:return params=this._getUpdateStatusParams(_presenceStatus2.presenceStatus.busy),_context5.next=5,this._update(params);case 5:case"end":return _context5.stop()}}),_callee5,this)}))),function(){return _setBusy.apply(this,arguments)})},{key:"setDoNotDisturb",value:(_setDoNotDisturb=_asyncToGenerator(regeneratorRuntime.mark((function _callee6(){var params;return regeneratorRuntime.wrap((function(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:if(this.dndStatus!==_dndStatus2.dndStatus.doNotAcceptAnyCalls){_context6.next=2;break}return _context6.abrupt("return");case 2:return params={dndStatus:_dndStatus2.dndStatus.doNotAcceptAnyCalls},_context6.next=5,this._update(params);case 5:case"end":return _context6.stop()}}),_callee6,this)}))),function(){return _setDoNotDisturb.apply(this,arguments)})},{key:"setInvisible",value:(_setInvisible=_asyncToGenerator(regeneratorRuntime.mark((function _callee7(){var params;return regeneratorRuntime.wrap((function(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:if(this.userStatus!==_presenceStatus2.presenceStatus.offline||this.dndStatus===_dndStatus2.dndStatus.doNotAcceptAnyCalls){_context7.next=2;break}return _context7.abrupt("return");case 2:return params=this._getUpdateStatusParams(_presenceStatus2.presenceStatus.offline),_context7.next=5,this._update(params);case 5:case"end":return _context7.stop()}}),_callee7,this)}))),function(){return _setInvisible.apply(this,arguments)})},{key:"setPresence",value:(_setPresence=_asyncToGenerator(regeneratorRuntime.mark((function _callee8(presenceData){return regeneratorRuntime.wrap((function(_context8){for(;;)switch(_context8.prev=_context8.next){case 0:_context8.t0=presenceData,_context8.next=_context8.t0===_presenceStatus2.presenceStatus.available?3:_context8.t0===_presenceStatus2.presenceStatus.busy?6:_context8.t0===_dndStatus2.dndStatus.doNotAcceptAnyCalls?9:_context8.t0===_presenceStatus2.presenceStatus.offline?12:15;break;case 3:return _context8.next=5,this.setAvailable();case 5:case 8:case 11:case 14:case 17:return _context8.abrupt("break",18);case 6:return _context8.next=8,this.setBusy();case 9:return _context8.next=11,this.setDoNotDisturb();case 12:return _context8.next=14,this.setInvisible();case 15:return _context8.next=17,this.setAvailable();case 18:case"end":return _context8.stop()}}),_callee8,this)}))),function(_x3){return _setPresence.apply(this,arguments)})},{key:"toggleAcceptCallQueueCalls",value:(_toggleAcceptCallQueueCalls=_asyncToGenerator(regeneratorRuntime.mark((function _callee9(){var index,_this4=this;return regeneratorRuntime.wrap((function(_context9){for(;;)switch(_context9.prev=_context9.next){case 0:if(!((index=acceptCallQueueToggles.findIndex((function(queueStatus){return _this4.dndStatus===queueStatus})))>-1)){_context9.next=3;break}return _context9.abrupt("return",this._update({dndStatus:acceptCallQueueToggles[+!index]}));case 3:case"end":return _context9.stop()}}),_callee9,this)}))),function(){return _toggleAcceptCallQueueCalls.apply(this,arguments)})},{key:"fetchData",value:(_fetchData=_asyncToGenerator(regeneratorRuntime.mark((function _callee10(){return regeneratorRuntime.wrap((function(_context10){for(;;)switch(_context10.prev=_context10.next){case 0:return this._debouncedFetchData.cancel(),_context10.abrupt("return",this._deps.dataFetcherV2.fetchData(this._source));case 2:case"end":return _context10.stop()}}),_callee10,this)}))),function(){return _fetchData.apply(this,arguments)})},{key:"_endPoint",get:function(){return this._detailed?_subscriptionFilters.subscriptionFilters.detailedPresence:_subscriptionFilters.subscriptionFilters.presence}},{key:"_detailed",get:function(){var _this$_deps$presenceO,_this$_deps$presenceO2;return!(null!==(_this$_deps$presenceO=null===(_this$_deps$presenceO2=this._deps.presenceOptions)||void 0===_this$_deps$presenceO2?void 0:_this$_deps$presenceO2.detailed)&&void 0!==_this$_deps$presenceO&&!_this$_deps$presenceO)}},{key:"_fetchDelay",get:function(){var _this$_deps$presenceO3,_this$_deps$presenceO4;return Math.max(0,null!==(_this$_deps$presenceO3=null===(_this$_deps$presenceO4=this._deps.presenceOptions)||void 0===_this$_deps$presenceO4?void 0:_this$_deps$presenceO4.fetchDelay)&&void 0!==_this$_deps$presenceO3?_this$_deps$presenceO3:2e3)}},{key:"_maxFetchDelay",get:function(){var _this$_deps$presenceO5,_this$_deps$presenceO6;return Math.max(this._fetchDelay,null!==(_this$_deps$presenceO5=null===(_this$_deps$presenceO6=this._deps.presenceOptions)||void 0===_this$_deps$presenceO6?void 0:_this$_deps$presenceO6.maxFetchDelay)&&void 0!==_this$_deps$presenceO5?_this$_deps$presenceO5:4e3)}},{key:"_sequence",get:function(){var _this$data$sequence,_this$data;return null!==(_this$data$sequence=null===(_this$data=this.data)||void 0===_this$data?void 0:_this$data.sequence)&&void 0!==_this$data$sequence?_this$data$sequence:0}},{key:"activeCalls",get:function(){var _this$data$activeCall,_this$data2;return null!==(_this$data$activeCall=null===(_this$data2=this.data)||void 0===_this$data2?void 0:_this$data2.activeCalls)&&void 0!==_this$data$activeCall?_this$data$activeCall:[]}},{key:"calls",get:function(){return(0,_ramda.filter)((function(call){return!(0,_callLogHelpers.isEnded)(call)}),(0,_callLogHelpers.removeInboundRingOutLegs)(this.activeCalls))}},{key:"sessionIdList",get:function(){return(0,_ramda.map)((function(call){return call.sessionId}),this.calls)}},{key:"telephonyStatus",get:function(){var _this$data$telephonyS,_this$data3;return null!==(_this$data$telephonyS=null===(_this$data3=this.data)||void 0===_this$data3?void 0:_this$data3.telephonyStatus)&&void 0!==_this$data$telephonyS?_this$data$telephonyS:null}},{key:"dndStatus",get:function(){var _this$data$dndStatus,_this$data4;return null!==(_this$data$dndStatus=null===(_this$data4=this.data)||void 0===_this$data4?void 0:_this$data4.dndStatus)&&void 0!==_this$data$dndStatus?_this$data$dndStatus:null}},{key:"userStatus",get:function(){var _this$data$userStatus,_this$data5;return null!==(_this$data$userStatus=null===(_this$data5=this.data)||void 0===_this$data5?void 0:_this$data5.userStatus)&&void 0!==_this$data$userStatus?_this$data$userStatus:null}},{key:"presenceStatus",get:function(){var _this$data$presenceSt,_this$data6;return null!==(_this$data$presenceSt=null===(_this$data6=this.data)||void 0===_this$data6?void 0:_this$data6.presenceStatus)&&void 0!==_this$data$presenceSt?_this$data$presenceSt:null}},{key:"meetingStatus",get:function(){var _this$data$meetingSta,_this$data7;return null!==(_this$data$meetingSta=null===(_this$data7=this.data)||void 0===_this$data7?void 0:_this$data7.meetingStatus)&&void 0!==_this$data$meetingSta?_this$data$meetingSta:null}},{key:"presenceOption",get:function(){return this.dndStatus===_dndStatus2.dndStatus.doNotAcceptAnyCalls?_dndStatus2.dndStatus.doNotAcceptAnyCalls:this.userStatus===_presenceStatus2.presenceStatus.busy?_presenceStatus2.presenceStatus.busy:this.userStatus===_presenceStatus2.presenceStatus.offline?_presenceStatus2.presenceStatus.offline:_presenceStatus2.presenceStatus.available}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Presence}(_DataFetcherV.DataFetcherV2Consumer),_descriptor=_applyDecoratedDescriptor(_class2.prototype,"lastDndStatus",[_core.storage,_core.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_applyDecoratedDescriptor(_class2.prototype,"_setLastDndStatus",[_core.action],Object.getOwnPropertyDescriptor(_class2.prototype,"_setLastDndStatus"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"activeCalls",[_dec2],Object.getOwnPropertyDescriptor(_class2.prototype,"activeCalls"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"calls",[_dec3],Object.getOwnPropertyDescriptor(_class2.prototype,"calls"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_update",[_proxify.proxify],Object.getOwnPropertyDescriptor(_class2.prototype,"_update"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"_updateData",[_proxify.proxify],Object.getOwnPropertyDescriptor(_class2.prototype,"_updateData"),_class2.prototype),_applyDecoratedDescriptor(_class2.prototype,"sessionIdList",[_dec4],Object.getOwnPropertyDescriptor(_class2.prototype,"sessionIdList"),_class2.prototype),_class=_class2))||_class);exports.Presence=Presence},89302:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.dndStatus=void 0;var dndStatus=__webpack_require__(50742).ObjectMap.fromObject({takeAllCalls:"TakeAllCalls",doNotAcceptAnyCalls:"DoNotAcceptAnyCalls",doNotAcceptDepartmentCalls:"DoNotAcceptDepartmentCalls",takeDepartmentCallsOnly:"TakeDepartmentCallsOnly"});exports.dndStatus=dndStatus},71621:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _Presence=__webpack_require__(84411);Object.keys(_Presence).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Presence[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _Presence[key]}}))}));var _Presence2=__webpack_require__(24867);Object.keys(_Presence2).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_Presence2[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _Presence2[key]}}))}));var _dndStatus=__webpack_require__(89302);Object.keys(_dndStatus).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_dndStatus[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _dndStatus[key]}}))}));var _removeIntermediateCall=__webpack_require__(90651);Object.keys(_removeIntermediateCall).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_removeIntermediateCall[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _removeIntermediateCall[key]}}))}))},90651:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.removeIntermediateCall=void 0;var _ramda=__webpack_require__(36),_callLogHelpers=__webpack_require__(62422),removeIntermediateCall=(0,_ramda.reduce)((function(result,activeCall){return(0,_callLogHelpers.isIntermediateCall)(activeCall)||(0,_ramda.find)((function(item){return item.sessionId===activeCall.sessionId&&item.direction===activeCall.direction}),result)||result.push(activeCall),result}));exports.removeIntermediateCall=removeIntermediateCall},80745:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _lib=__webpack_require__(21576);Object.keys(_lib).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_lib[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _lib[key]}}))}))},5501:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(96649),__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(66992),__webpack_require__(96078),__webpack_require__(51532),__webpack_require__(9653),__webpack_require__(69070),__webpack_require__(38880),__webpack_require__(41539),__webpack_require__(78783),__webpack_require__(54747),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.ObjectMap=void 0,exports.prefixString=prefixString;var _class,_ramda=__webpack_require__(36);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:"";return""===prefix?str:"".concat(prefix,"-").concat(str)}var ObjectMap=(_class=function(){function ObjectMap(definition){var _this=this;if(function(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}(this,ObjectMap),this[sDefinition]=new Map,!RUNTIME.usingFactory)throw TypeError("Instantiating ObjectMap with `new ObjectMap(definition)` is not recommended. Please use one of the ObjectMap factory functions.");if(definition){var _loop=function(_key2){Object.prototype.hasOwnProperty.call(definition,_key2)&&(_this[sDefinition].set(_key2,definition[_key2]),Object.defineProperty(_this,_key2,{get:function(){return this[sDefinition].get(_key2)},enumerable:!0}))};for(var _key2 in definition)_loop(_key2)}}var Constructor,protoProps,staticProps;return Constructor=ObjectMap,staticProps=[{key:"fromObject",value:function(definition){return new ObjectMap(definition)}},{key:"fromKeys",value:function(keys){var _step,definition={},_iterator=_createForOfIteratorHelper(keys);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _key3=_step.value;definition[_key3]=_key3}}catch(err){_iterator.e(err)}finally{_iterator.f()}return new ObjectMap(definition)}},{key:"prefixKeys",value:function(keys){var _step2,prefix=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",definition={},_iterator2=_createForOfIteratorHelper(keys);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var _key4=_step2.value;definition[_key4]=prefixString(_key4,prefix)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}return new ObjectMap(definition)}},{key:"getKey",value:function(instance,value){var _ref=(0,_ramda.find)((function(_ref3){return _slicedToArray(_ref3,2)[1]===value}),_toConsumableArray(ObjectMap.entries(instance)))||[],_ref2$=_slicedToArray(_ref,1)[0];return void 0===_ref2$?null:_ref2$}},{key:"entries",value:function(instance){return instance[sDefinition].entries()}},{key:"size",value:function(instance){return instance[sDefinition].size}},{key:"has",value:function(instance,key){return instance[sDefinition].has(key)}},{key:"hasValue",value:function(instance,value){return!!ObjectMap.getKey(instance,value)}},{key:"keys",value:function(instance){return instance[sDefinition].keys()}},{key:"values",value:function(instance){return instance[sDefinition].values()}},{key:"forEach",value:function(fn,instance){return instance[sDefinition].forEach((function(v,k){return fn(v,k,instance)}))}},{key:"filter",value:function(fn,instance){var obj={};return ObjectMap.forEach((function(v,k){fn(v,k)&&(obj[k]=v)}),instance),ObjectMap.fromObject(obj)}},{key:"prefixValues",value:function(instance){var prefix=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(""===prefix)return instance;if(RUNTIME.prefixCache.has(prefix)||RUNTIME.prefixCache.set(prefix,new Map),!RUNTIME.prefixCache.get(prefix).has(instance)){var definition={};ObjectMap.forEach((function(value,key){definition[key]=prefixString(value,prefix)}),instance);var prefixedInstance=ObjectMap.fromObject(definition);RUNTIME.prefixCache.get(prefix).set(instance,prefixedInstance)}return RUNTIME.prefixCache.get(prefix).get(instance)}}],(protoProps=null)&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),ObjectMap}(),_applyDecoratedDescriptor(_class,"fromObject",[factory],Object.getOwnPropertyDescriptor(_class,"fromObject"),_class),_applyDecoratedDescriptor(_class,"fromKeys",[factory],Object.getOwnPropertyDescriptor(_class,"fromKeys"),_class),_applyDecoratedDescriptor(_class,"prefixKeys",[factory],Object.getOwnPropertyDescriptor(_class,"prefixKeys"),_class),_class);exports.ObjectMap=ObjectMap},50742:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _ObjectMap=__webpack_require__(5501);Object.keys(_ObjectMap).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_ObjectMap[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _ObjectMap[key]}}))}))},70333:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(92222),__webpack_require__(57327),__webpack_require__(89554),__webpack_require__(26699),__webpack_require__(66992),__webpack_require__(85827),__webpack_require__(19601),__webpack_require__(33321),__webpack_require__(69070),__webpack_require__(38880),__webpack_require__(47941),__webpack_require__(41539),__webpack_require__(26833),__webpack_require__(70189),__webpack_require__(32023),__webpack_require__(78783),__webpack_require__(54747),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.RcModuleV2=exports.ModuleStatus=void 0,Object.defineProperty(exports,"action",{enumerable:!0,get:function(){return _usmRedux.action}}),Object.defineProperty(exports,"applyPatches",{enumerable:!0,get:function(){return _usmRedux.applyPatches}}),exports.checkStatusChangeKey=void 0,Object.defineProperty(exports,"computed",{enumerable:!0,get:function(){return _usmRedux.computed}}),Object.defineProperty(exports,"createStore",{enumerable:!0,get:function(){return _usmRedux.createStore}}),exports.enableCacheKey=void 0,Object.defineProperty(exports,"enableES5",{enumerable:!0,get:function(){return _usmRedux.enableES5}}),exports.globalStorageStateKey=exports.enableGlobalCacheKey=void 0,Object.defineProperty(exports,"identifierKey",{enumerable:!0,get:function(){return _usmRedux.identifierKey}}),exports.onceKey=exports.onInitOnceKey=exports.notReadyModulesKey=exports.ignoreReadyModulesKey=void 0,Object.defineProperty(exports,"setAutoFreeze",{enumerable:!0,get:function(){return _usmRedux.setAutoFreeze}}),exports.spawnStorageReducersKey=exports.spawnReducersKey=void 0,Object.defineProperty(exports,"state",{enumerable:!0,get:function(){return _usmRedux.state}}),Object.defineProperty(exports,"stateKey",{enumerable:!0,get:function(){return _usmRedux.stateKey}}),exports.storageStateKey=exports.storageKey=void 0,Object.defineProperty(exports,"storeKey",{enumerable:!0,get:function(){return _usmRedux.storeKey}}),Object.defineProperty(exports,"subscribe",{enumerable:!0,get:function(){return _usmRedux.subscribe}}),Object.defineProperty(exports,"usmAction",{enumerable:!0,get:function(){return _usmRedux.usm}}),Object.defineProperty(exports,"watch",{enumerable:!0,get:function(){return _usmRedux.watch}}),__webpack_require__(35666);var _class,_descriptor,_redux=__webpack_require__(95173),_usmRedux=__webpack_require__(56408);function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},deps=_ref.deps,_ref$enableCache=_ref.enableCache,enableCache=void 0!==_ref$enableCache&&_ref$enableCache,_ref$enableGlobalCach=_ref.enableGlobalCache,enableGlobalCache=void 0!==_ref$enableGlobalCach&&_ref$enableGlobalCach,options=_objectWithoutProperties(_ref,["deps","enableCache","enableGlobalCache"]);_classCallCheck(this,RcModuleV2),this[onceKey]=!1,this[storageKey]=void 0,this[enableCacheKey]=void 0,this[enableGlobalCacheKey]=void 0,this._transport=void 0,this[ignoreReadyModulesKey]=new Set,this._deps=void 0,_initializerDefineProperty(this,"status",_descriptor,this),this._modulePath="root",this._initialized=!1,this._suppressInit=void 0,this._reducers=void 0,this._getStateV2=function(state,key){return state[key]},this._deps=null!==(_ref2=deps)&&void 0!==_ref2?_ref2:{},this[storageKey]=options.storageKey,this[enableCacheKey]=enableCache,this[enableGlobalCacheKey]=enableGlobalCache,(0,_usmRedux.subscribe)(this,(function(){"function"==typeof _this.onStateChange&&_this.onStateChange(),_this[checkStatusChangeKey]()})),this[storageStateKey]&&this[enableCacheKey]&&this._deps.storage||(this[storageStateKey]=[]),this[storageStateKey].forEach((function(key){return delete _this[_usmRedux.stateKey][key]})),this[globalStorageStateKey]&&this[enableGlobalCacheKey]&&this._deps.globalStorage||(this[globalStorageStateKey]=[]),this[globalStorageStateKey].forEach((function(key){return delete _this[_usmRedux.stateKey][key]}))}var Constructor,protoProps,staticProps,_initModule2,_value2,_value;return Constructor=RcModuleV2,protoProps=[{key:"_setStatus",value:function(status){this.status=status}},{key:onInitOnceKey,value:(_value=_asyncToGenerator(regeneratorRuntime.mark((function _callee(){return regeneratorRuntime.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(this[onceKey]){_context.next=5;break}if(this[onceKey]=!0,"function"!=typeof this.onInitOnce){_context.next=5;break}return _context.next=5,this.onInitOnce();case 5:case"end":return _context.stop()}}),_callee,this)}))),function(){return _value.apply(this,arguments)})},{key:checkStatusChangeKey,value:(_value2=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(){return regeneratorRuntime.wrap((function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(!this._shouldInit()){_context2.next=13;break}return this._setStatus(ModuleStatus.Initializing),_context2.next=4,this[onInitOnceKey]();case 4:if("function"!=typeof this.onInit){_context2.next=7;break}return _context2.next=7,this.onInit();case 7:if(this._setStatus(ModuleStatus.Ready),"function"!=typeof this.onInitSuccess){_context2.next=11;break}return _context2.next=11,this.onInitSuccess();case 11:_context2.next=19;break;case 13:if(!this._shouldReset()){_context2.next=19;break}if(this._setStatus(ModuleStatus.Resetting),"function"!=typeof this.onReset){_context2.next=18;break}return _context2.next=18,this.onReset();case 18:this._setStatus(ModuleStatus.Pending);case 19:case"end":return _context2.stop()}}),_callee2,this)}))),function(){return _value2.apply(this,arguments)})},{key:"_ignoreModuleReadiness",value:function(dep){this[ignoreReadyModulesKey].add(dep)}},{key:"_getLastState",value:function(){var _this$_deps$storage,_this$_deps$globalSto,_this2=this,lastState={__state:this._getStateV2(this[_usmRedux.storeKey].getState(),this[_usmRedux.identifierKey]),__identifier:this[_usmRedux.identifierKey]};return(null===(_this$_deps$storage=this._deps.storage)||void 0===_this$_deps$storage?void 0:_this$_deps$storage.data)&&this[storageStateKey].forEach((function(key){var storageReducerKey="".concat(_this2[storageKey],"-").concat(key);lastState[key]=_this2._deps.storage.data[storageReducerKey]})),(null===(_this$_deps$globalSto=this._deps.globalStorage)||void 0===_this$_deps$globalSto?void 0:_this$_deps$globalSto.data)&&this[globalStorageStateKey].forEach((function(key){var storageReducerKey="".concat(_this2[storageKey],"-").concat(key);lastState[key]=_this2._deps.globalStorage.data[storageReducerKey]})),lastState}},{key:"_handleState",value:function(state){Object.assign(state,state.__state),delete state.__state,delete state.__identifier}},{key:"_shouldInit",value:function(){return 0===this[notReadyModulesKey].length&&this.pending}},{key:"_shouldReset",value:function(){return this[notReadyModulesKey].length>0&&this.ready}},{key:"_depsCheck",value:function(){var _this$_deps,checkedModules=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[this],pickedModules=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Object.values(null!==(_this$_deps=this._deps)&&void 0!==_this$_deps?_this$_deps:{}).forEach((function(module){if(module instanceof RcModuleV2&&!module.ready){var _module$_deps,notReadyModules=Object.values(null!==(_module$_deps=module._deps)&&void 0!==_module$_deps?_module$_deps:{}).filter((function(item){return item instanceof RcModuleV2&&!item.ready}));notReadyModules.length>0&&!checkedModules.includes(module)?(checkedModules.push(module),module._depsCheck(checkedModules,pickedModules)):pickedModules.includes(module)||0!==notReadyModules.length||pickedModules.push(module)}})),pickedModules}},{key:"_changeState",value:function(callback){callback()}},{key:spawnStorageReducersKey,value:function(){var _this3=this,descriptors={};this[storageStateKey].forEach((function(key){var descriptor=Object.getOwnPropertyDescriptor(_this3,key);if(void 0!==descriptor){var initialState=descriptor.value,storageReducerKey="".concat(_this3[storageKey],"-").concat(key);_this3._deps.storage.registerReducer({key:storageReducerKey,reducer:function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:initialState,action=arguments.length>1?arguments[1]:void 0;return action._usm===_usmRedux.usm&&action.type===_this3[_usmRedux.identifierKey]&&Object.hasOwnProperty.call(action._state,key)?action._state[key]:state}}),Object.assign(descriptors,_defineProperty({},key,{enumerable:!0,configurable:!1,get:function(){var stagedState=(0,_usmRedux.getStagedState)();return(null==stagedState?void 0:stagedState.__identifier)===this[_usmRedux.identifierKey]?stagedState[key]:this._deps.storage.data[storageReducerKey]},set:function(value){var stagedState=(0,_usmRedux.getStagedState)();if(stagedState&&stagedState.__identifier!==this[_usmRedux.identifierKey])throw new Error("RcModule does not support cross-module execution of the methods decorated by action");stagedState?stagedState[key]=value:this._deps.storage.data[storageReducerKey]=value}}))}})),this[globalStorageStateKey].forEach((function(key){var descriptor=Object.getOwnPropertyDescriptor(_this3,key);if(void 0!==descriptor){var initialState=descriptor.value,storageReducerKey="".concat(_this3[storageKey],"-").concat(key);_this3._deps.globalStorage.registerReducer({key:storageReducerKey,reducer:function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:initialState,action=arguments.length>1?arguments[1]:void 0;return action._usm===_usmRedux.usm&&action.type===_this3[_usmRedux.identifierKey]&&Object.hasOwnProperty.call(action._state,key)?action._state[key]:state}}),Object.assign(descriptors,_defineProperty({},key,{enumerable:!0,configurable:!1,get:function(){var stagedState=(0,_usmRedux.getStagedState)();return(null==stagedState?void 0:stagedState.__identifier)===this[_usmRedux.identifierKey]?stagedState[key]:this._deps.globalStorage.data[storageReducerKey]},set:function(value){var stagedState=(0,_usmRedux.getStagedState)();if(stagedState&&stagedState.__identifier!==this[_usmRedux.identifierKey])throw new Error("RcModule does not support cross-module execution of the methods decorated by action");stagedState?stagedState[key]=value:this._deps.globalStorage.data[storageReducerKey]=value}}))}})),Object.defineProperties(this,descriptors)}},{key:"_setStore",value:function(){return this._initModule()}},{key:spawnReducersKey,value:function(){var _this$stateKey,_this4=this,descriptors=_defineProperty({},_usmRedux.stateKey,{enumerable:!1,configurable:!1,get:function(){var _this$storeKey,stagedState=(0,_usmRedux.getStagedState)();return(null==stagedState?void 0:stagedState.__identifier)===this[_usmRedux.identifierKey]?stagedState.__state:this._getStateV2(null===(_this$storeKey=this[_usmRedux.storeKey])||void 0===_this$storeKey?void 0:_this$storeKey.getState(),this[_usmRedux.identifierKey])}});this._reducers=Object.keys(null!==(_this$stateKey=this[_usmRedux.stateKey])&&void 0!==_this$stateKey?_this$stateKey:{}).reduce((function(serviceReducersMapObject,key){var descriptor=Object.getOwnPropertyDescriptor(_this4,key);if(void 0===descriptor)return serviceReducersMapObject;var initialState=descriptor.value;return Object.assign(descriptors,_defineProperty({},key,{enumerable:!0,configurable:!1,get:function(){return this[_usmRedux.stateKey][key]},set:function(value){this[_usmRedux.stateKey][key]=value}})),Object.assign(serviceReducersMapObject,_defineProperty({},key,(function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:initialState,action=arguments.length>1?arguments[1]:void 0;return action._usm===_usmRedux.usm&&_this4[_usmRedux.identifierKey]===action.type&&Object.hasOwnProperty.call(action._state,key)?action._state[key]:state})))}),{});var stateDescriptor=Object.getOwnPropertyDescriptor(this,_usmRedux.stateKey);stateDescriptor&&"function"==typeof stateDescriptor.get||Object.defineProperties(this,descriptors)}},{key:"_initModule",value:(_initModule2=_asyncToGenerator(regeneratorRuntime.mark((function _callee3(){var _this$subscriptionsKe,_iterator,_step,subModule,subRcModule;return regeneratorRuntime.wrap((function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(this._initialized=!0,this.parentModule&&!(this.parentModule instanceof RcModuleV2)||!this.parentModule&&!(this instanceof RcModuleV2)){_iterator=_createForOfIteratorHelper(null!==(_this$subscriptionsKe=this[_usmRedux.subscriptionsKey])&&void 0!==_this$subscriptionsKe?_this$subscriptionsKe:[]);try{for(_iterator.s();!(_step=_iterator.n()).done;)(0,_step.value)()}catch(err){_iterator.e(err)}finally{_iterator.f()}this[_usmRedux.subscriptionsKey]=[]}return _context3.next=4,this[checkStatusChangeKey]();case 4:for(subModule in this)!(subRcModule=this[subModule])||"function"!=typeof subRcModule._initModule||subRcModule._initialized||subRcModule._suppressInit||subRcModule._initModule();case 5:case"end":return _context3.stop()}}),_callee3,this)}))),function(){return _initModule2.apply(this,arguments)})},{key:"addModule",value:function(name,module){if(Object.prototype.hasOwnProperty.call(this,name))throw new Error("Property '".concat(name,"' already exists..."));Object.defineProperty(this,name,{get:function(){return module},enumerable:!0}),"root"===this[name]._modulePath&&(this[name]._modulePath="".concat(this.modulePath,".").concat(name))}},{key:"actionTypes",value:function(){return{}}},{key:notReadyModulesKey,get:function(){var _this5=this;return Object.values(this._deps||{}).filter((function(module){return module&&void 0!==module.ready})).filter((function(module){return!module.ready&&!_this5[ignoreReadyModulesKey].has(module)}))}},{key:"pending",get:function(){return this.status===ModuleStatus.Pending}},{key:"ready",get:function(){return this.status===ModuleStatus.Ready}},{key:"resetting",get:function(){return this.status===ModuleStatus.Resetting}},{key:"initializing",get:function(){return this.status===ModuleStatus.Initializing}},{key:"store",get:function(){return this[_usmRedux.storeKey]}},{key:"_store",get:function(){return this.store}},{key:"reducer",get:function(){if(this._reducers)return(0,_redux.combineReducers)(this._reducers);if(this[spawnStorageReducersKey](),this[spawnReducersKey](),!this._reducers)throw new Error("Combine reducers error");return(0,_redux.combineReducers)(this._reducers)}},{key:"proxyReady",get:function(){return this.ready}},{key:"modulePath",get:function(){return this._modulePath}},{key:"state",get:function(){return this[_usmRedux.stateKey]}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),RcModuleV2}(),_descriptor=_applyDecoratedDescriptor(_class.prototype,"status",[_usmRedux.state],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return ModuleStatus.Pending}}),_applyDecoratedDescriptor(_class.prototype,"_setStatus",[_usmRedux.action],Object.getOwnPropertyDescriptor(_class.prototype,"_setStatus"),_class.prototype),_applyDecoratedDescriptor(_class.prototype,"_changeState",[_usmRedux.action],Object.getOwnPropertyDescriptor(_class.prototype,"_changeState"),_class.prototype),_class);exports.RcModuleV2=RcModuleV2},53612:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},18700:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0})},63943:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(19601),__webpack_require__(69720),__webpack_require__(26833),__webpack_require__(54747),Object.defineProperty(exports,"__esModule",{value:!0}),exports.createApp=void 0;var _redux=__webpack_require__(95173),_RcModule=__webpack_require__(70333);function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0)return!0}}}catch(err){_iterator.e(err)}finally{_iterator.f()}return!1}},85254:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(41539),Object.defineProperty(exports,"__esModule",{value:!0}),exports.usm=exports.subscriptionsKey=exports.storeKey=exports.stateKey=exports.identifierKey=exports.bootstrappedKey=void 0;exports.usm="USM-REDUX";var storeKey=Symbol("store");exports.storeKey=storeKey;var subscriptionsKey=Symbol("subscriptions");exports.subscriptionsKey=subscriptionsKey;var stateKey=Symbol("state");exports.stateKey=stateKey;var bootstrappedKey=Symbol("bootstrapped");exports.bootstrappedKey=bootstrappedKey;var identifierKey=Symbol("identifier");exports.identifierKey=identifierKey},29167:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(32165),__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(79753),__webpack_require__(66992),__webpack_require__(85827),__webpack_require__(83710),__webpack_require__(68309),__webpack_require__(19601),__webpack_require__(33321),__webpack_require__(69720),__webpack_require__(43371),__webpack_require__(38880),__webpack_require__(30489),__webpack_require__(98410),__webpack_require__(41539),__webpack_require__(39714),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(54747),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPatchesToggle=exports.getPatchesToggle=exports.createStore=void 0;var enablePatches,_immer=function(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}newObj.default=obj,cache&&cache.set(obj,newObj);return newObj}(__webpack_require__(66312)),_redux=__webpack_require__(95173),_constant=__webpack_require__(85254),_index=__webpack_require__(22086);function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop){return nodeInterop?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||function(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:{},reduxEnhancer=config.reduxEnhancer,_config$handleReducer=config.handleReducers,handleReducers=void 0===_config$handleReducer?function(reducers){return(0,_redux.combineReducers)(reducers)}:_config$handleReducer;if("object"!==_typeof(options)||!Array.isArray(options.modules))throw new Error("'createStore' options should be a object with a property 'modules'");var enableAutoFreeze=null!==(_options$strict=options.strict)&&void 0!==_options$strict&&_options$strict;(enablePatches=null!==(_config$enablePatches=config.enablePatches)&&void 0!==_config$enablePatches&&_config$enablePatches)&&(0,_immer.enablePatches)(),(0,_immer.setAutoFreeze)(enableAutoFreeze);var store,identifiers=new Set,reducers={},subscriptions=[];options.modules.forEach((function(module,index){var _service$identifierKe,_Object$assign7;if("object"===_typeof(module)&&null!==module){var service=module,className=Object.getPrototypeOf(service).constructor.name;void 0===service[_constant.stateKey]||service[_constant.bootstrappedKey];var identifier=null!==(_service$identifierKe=service[_constant.identifierKey])&&void 0!==_service$identifierKe?_service$identifierKe:service.name;if(null==identifier&&(identifier="@@usm-redux/".concat(className,"/").concat(Math.random().toString(36))),"string"!=typeof identifier)throw new Error("'".concat(className,"' module 'name' property should be defined as a valid 'string'."));identifiers.has(identifier)&&(identifier+="".concat(index)),identifiers.add(identifier);var descriptors=_defineProperty({},_constant.bootstrappedKey,{enumerable:!1,configurable:!1,value:!0});if(service[_constant.stateKey]){var _loop=function(key){var descriptor=Object.getOwnPropertyDescriptor(service,key);if(void 0===descriptor)return"continue";Object.assign(service[_constant.stateKey],_defineProperty({},key,descriptor.value)),Object.assign(descriptors,_defineProperty({},key,{enumerable:!0,configurable:!1,get:function(){return this[_constant.stateKey][key]},set:function(value){this[_constant.stateKey][key]=value}}))};for(var key in service[_constant.stateKey])_loop(key);var initState=enableAutoFreeze?(0,_immer.default)(_objectSpread({},service[_constant.stateKey]),(function(){})):service[_constant.stateKey],serviceReducers=Object.entries(initState).reduce((function(serviceReducersMapObject,_ref){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];if("function"==typeof value)return Object.assign(serviceReducersMapObject,_defineProperty({},key,value));return Object.assign(serviceReducersMapObject,_defineProperty({},key,(function(){var state=arguments.length>0&&void 0!==arguments[0]?arguments[0]:value,action=arguments.length>1?arguments[1]:void 0;return action._usm!==_constant.usm?state:service._getLastState?identifier===action.type&&Object.hasOwnProperty.call(action._state,key)?action._state[key]:state:action._state[identifier][key]})))}),{});service._reducers=serviceReducers;var reducer=(0,_redux.combineReducers)(serviceReducers);Object.assign(reducers,_defineProperty({},identifier,reducer)),Object.assign(descriptors,_defineProperty({},_constant.stateKey,{enumerable:!1,configurable:!1,get:function(){var _this$storeKey,stagedState=(0,_index.getStagedState)();if(stagedState)return this._getLastState&&(null==stagedState?void 0:stagedState.__identifier)===identifier?stagedState.__state:stagedState[identifier];var currentState=null===(_this$storeKey=this[_constant.storeKey])||void 0===_this$storeKey?void 0:_this$storeKey.getState()[identifier];return enableAutoFreeze&&!Object.isFrozen(currentState)?Object.freeze(currentState):currentState}}))}Object.assign(descriptors,(_defineProperty(_Object$assign7={},_constant.identifierKey,{configurable:!1,enumerable:!1,value:identifier}),_defineProperty(_Object$assign7,_constant.storeKey,{configurable:!1,enumerable:!1,get:function(){return store}}),_Object$assign7)),Object.defineProperties(service,descriptors),Array.isArray(service[_constant.subscriptionsKey])&&Array.prototype.push.apply(subscriptions,service[_constant.subscriptionsKey])}}));var storeWithRedux=(0,_redux.createStore)(handleReducers(reducers),preloadedState,reduxEnhancer);store={dispatch:storeWithRedux.dispatch,getState:storeWithRedux.getState,subscribe:storeWithRedux.subscribe};for(var _i2=0,_subscriptions=subscriptions;_i2<_subscriptions.length;_i2++){var subscribe=_subscriptions[_i2];subscribe()}return store}},560:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(92222),__webpack_require__(79753),__webpack_require__(3843),__webpack_require__(83710),__webpack_require__(41539),__webpack_require__(39714),Object.defineProperty(exports,"__esModule",{value:!0}),exports.action=void 0;var _immer=__webpack_require__(66312),_constant=__webpack_require__(85254),_createStore=__webpack_require__(29167),_index=__webpack_require__(22086);__webpack_require__(61879);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i3&&void 0!==arguments[3]?arguments[3]:{},_ref$multiple=_ref.multiple,multiple=void 0!==_ref$multiple&&_ref$multiple,_ref$isEqual=_ref.isEqual,isEqual=void 0===_ref$isEqual?_index.isEqual:_ref$isEqual;if("function"!=typeof watcher){var className=Object.getPrototypeOf(module).constructor.name;throw new Error("The 'watcher' should be a function in the class '".concat(className,"'."))}var oldValue=selector();if(multiple){if(!Array.isArray(oldValue)){var _className=Object.getPrototypeOf(module).constructor.name;throw new Error("The 'selector' should be a function that returns an array in the class '".concat(_className,"'."))}return subscribe(module,(function(){for(var newValue=selector(),length=oldValue.length,i=0;i0&&void 0!==arguments[0]?arguments[0]:defaultMemoize;return function(dependenciesFunc,resultFunc){var memoizedResultFunc=memoize((function(){return resultFunc.apply(this,arguments)}));return function(){return memoizedResultFunc.apply(this,dependenciesFunc.apply(null,[this]))}}}();exports.createSelectorWithArray=createSelectorWithArray},56615:function(__unused_webpack_module,exports){"use strict";var stagedState;Object.defineProperty(exports,"__esModule",{value:!0}),exports.setStagedState=exports.getStagedState=void 0;exports.getStagedState=function(){return stagedState};exports.setStagedState=function(state){stagedState=state}},29895:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}__webpack_require__(66992),__webpack_require__(9653),__webpack_require__(44048),__webpack_require__(61874),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(70189),__webpack_require__(78783),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.RUNTIME=exports.PSEUDO_LOCALE=exports.DEFAULT_LOCALE=void 0,__webpack_require__(35666);var obj,_getLanguageFromLocale=__webpack_require__(57926),_toPseudoString=(obj=__webpack_require__(88452))&&obj.__esModule?obj:{default:obj};function _createForOfIteratorHelper(o,allowArrayLike){var it="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=function(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e){throw _e},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e2){didErr=!0,err=_e2},f:function(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:RUNTIME.locale;return"en-ZZ"===locale?(0,_toPseudoString.default)({str:this._getString(key,RUNTIME.fallbackLocale),padRatio:RUNTIME.padRatio}):this._getString(key,_checkDefaults(locale))}},{key:"checkDefaults",value:function(locale){return _checkDefaults(locale)}},{key:"setDefaultLocale",value:(_setDefaultLocale3=_asyncToGenerator(regeneratorRuntime.mark((function _callee3(locale){return regeneratorRuntime.wrap((function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:return _context3.abrupt("return",_setDefaultLocale2(locale));case 1:case"end":return _context3.stop()}}),_callee3)}))),function(_x5){return _setDefaultLocale3.apply(this,arguments)})},{key:"setLanguageDefaults",value:(_setLanguageDefaults3=_asyncToGenerator(regeneratorRuntime.mark((function _callee4(defaults){return regeneratorRuntime.wrap((function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return _context4.abrupt("return",_setLanguageDefaults2(defaults));case 1:case"end":return _context4.stop()}}),_callee4)}))),function(_x6){return _setLanguageDefaults3.apply(this,arguments)})},{key:"currentLocale",get:function(){return RUNTIME.locale}},{key:"setLocale",get:function(){return setLocale}}],staticProps=[{key:"checkDefaults",value:function(locale){return _checkDefaults(locale)}},{key:"setDefaultLocale",value:function(locale){return _setDefaultLocale2(locale)}},{key:"setLanguageDefaults",value:(_setLanguageDefaults4=_asyncToGenerator(regeneratorRuntime.mark((function _callee5(defaults){return regeneratorRuntime.wrap((function(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return _context5.abrupt("return",_setLanguageDefaults2(defaults));case 1:case"end":return _context5.stop()}}),_callee5)}))),function(_x7){return _setLanguageDefaults4.apply(this,arguments)})},{key:"currentLocale",get:function(){return RUNTIME.locale}},{key:"setLocale",get:function(){return setLocale}},{key:"padRatio",get:function(){return RUNTIME.padRatio},set:function(ratio){Number.isNaN(ratio)?console.log("ratio must be a number"):RUNTIME.padRatio=Number.parseFloat(ratio)}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),I18n}();exports.default=I18n},57926:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(74916),__webpack_require__(4723),Object.defineProperty(exports,"__esModule",{value:!0}),exports.languageRexExp=exports.getLanguageFromLocale=void 0;var languageRexExp=/^([a-z]{2})(-.*)?/;exports.languageRexExp=languageRexExp;exports.getLanguageFromLocale=function(locale){var _locale$match$,_locale$match;return null!==(_locale$match$=null===(_locale$match=locale.match(languageRexExp))||void 0===_locale$match?void 0:_locale$match[1])&&void 0!==_locale$match$?_locale$match$:null}},88452:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(69600),__webpack_require__(21249),__webpack_require__(47941),__webpack_require__(24603),__webpack_require__(74916),__webpack_require__(39714),__webpack_require__(15306),__webpack_require__(54747),Object.defineProperty(exports,"__esModule",{value:!0}),exports.charMap=void 0,exports.default=function(_ref2){var str=_ref2.str,padRatio=_ref2.padRatio,padChar=_ref2.padChar,input="".concat(str),tokens=[],match=escapeRegExp.exec(input);for(;match;)tokens.push(processVars(input.substring(0,match.index))),tokens.push(toAccentString(input.substr(match.index,match[0].length))),input=input.substring(match.index+match[0].length),match=escapeRegExp.exec(input);tokens.push(processVars(input));var result=padString({str:tokens.join(""),padRatio:padRatio,padChar:padChar});return"[".concat(result,"]")},exports.padString=padString,exports.processVars=processVars,exports.toAccentString=toAccentString;var charMap={a:229,b:384,c:231,d:240,e:233,f:402,g:285,h:293,i:238,j:309,k:311,l:316,m:625,n:241,o:246,p:254,q:491,r:341,s:353,t:355,u:251,v:7805,w:373,x:7819,y:253,z:382,A:197,B:385,C:199,D:208,E:201,F:401,G:284,H:292,I:206,J:308,K:310,L:315,M:7744,N:209,O:214,P:222,Q:490,R:340,S:352,T:354,U:219,V:7804,W:372,X:7818,Y:221,Z:381};exports.charMap=charMap;var replaceFunctions=Object.keys(charMap).map((function(_char){var regExp=new RegExp(_char,"g"),accentChar=String.fromCharCode(charMap[_char]);return function(str){return str.replace(regExp,accentChar)}}));function toAccentString(str){var output="".concat(str);return replaceFunctions.forEach((function(fn){output=fn(output)})),output}var varsRegExp=/\{.*?\}/;function processVars(str){for(var input="".concat(str),tokens=[],match=varsRegExp.exec(input);match;)tokens.push(toAccentString(input.substring(0,match.index))),tokens.push(input.substr(match.index,match[0].length)),input=input.substring(match.index+match[0].length),match=varsRegExp.exec(input);return tokens.push(toAccentString(input)),tokens.join("")}function padString(){for(var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},str=_ref.str,_ref$padRatio=_ref.padRatio,padRatio=void 0===_ref$padRatio?.3:_ref$padRatio,normalized=(_ref.padChar,str||""),padLen=Math.ceil(normalized.length*padRatio/2),padding=[],i=0;i=item.startsAt}),ref)||output.push(item)}),sevenDigits)}}return output.sort(byStartsAt)};var obj,_libphonenumberJs=__webpack_require__(81329),_ramda=__webpack_require__(36),_parse2=(obj=__webpack_require__(39852))&&obj.__esModule?obj:{default:obj};function byStartsAt(a,b){return a.startsAt-b.startsAt}},72287:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(79753),__webpack_require__(47042),__webpack_require__(74916),__webpack_require__(15306),__webpack_require__(23123),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(input){var _split2=(arr=(input||"").split(pauseRegex),function(arr){if(Array.isArray(arr))return arr}(arr)||function(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||function(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}(arr)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),phoneNumber=_split2[0],tokens=_split2.slice(1);var arr;return{input:input,phoneNumber:phoneNumber,extendedControls:(0,_ramda.reduce)((function(output,token){output.push(",");var cleanControl=token.replace(controlRegex,"");return cleanControl.length&&output.push(cleanControl),output}),[],tokens)}};var _ramda=__webpack_require__(36);function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:"",b=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(a===b)return!0;if((0,_libphonenumberJs.isValidNumber)(a))return(0,_libphonenumberJs.formatNumber)((0,_libphonenumberJs.parseNumber)(a),"National").replace(/[^\d]/g,"")===b;if((0,_libphonenumberJs.isValidNumber)(b))return(0,_libphonenumberJs.formatNumber)((0,_libphonenumberJs.parseNumber)(b),"National").replace(/[^\d]/g,"")===a;return!1};var _libphonenumberJs=__webpack_require__(81329)},39852:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(74916),__webpack_require__(15306),__webpack_require__(23123),Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(_ref5){var input=_ref5.input,_ref5$countryCode=_ref5.countryCode,countryCode=void 0===_ref5$countryCode?"US":_ref5$countryCode,_ref5$maxExtensionLen=_ref5.maxExtensionLength,maxExtensionLength=void 0===_ref5$maxExtensionLen?6:_ref5$maxExtensionLen,_extractControls=(0,_extractControls2.default)(input),phoneNumber=_extractControls.phoneNumber,extendedControls=_extractControls.extendedControls,cleanInput=(0,_cleanNumber.default)(phoneNumber),result={input:input,parsedCountry:null,parsedNumber:null,isValid:!1,hasInvalidChars:invalidCharsRegExp.test(input),isExtension:!1,isServiceNumber:!1,hasPlus:!1,phoneNumber:null,extension:null,extendedControls:extendedControls},startWithPlus="+"===cleanInput[0],withoutPlus=cleanInput.replace(plusRegex,""),startWithStar="*"===withoutPlus[0];if(startWithPlus&&startWithStar)return result;var tokens=withoutPlus.split(extensionDelimiter);if(startWithStar)return function(_ref2){var result=_ref2.result,tokens=_ref2.tokens;tokens[1]&&tokens[1].length&&(result.isServiceNumber=!0,result.phoneNumber="*".concat(tokens[1]),result.isValid=!0);return result}({result:result,tokens:tokens});if(startWithPlus)return function(_ref3){var result=_ref3.result,tokens=_ref3.tokens,countryCode=_ref3.countryCode;tokens[0]&&tokens[0].length&&(result.hasPlus=!0,result.phoneNumber="+".concat(tokens[0]),attachParsedCountryInfo(result,countryCode),tokens[1]&&tokens[1].length&&(result.extension=tokens[1]),result.isValid=!0);return result}({result:result,tokens:tokens,countryCode:countryCode});return function(_ref4){var result=_ref4.result,tokens=_ref4.tokens,countryCode=_ref4.countryCode,maxExtensionLength=_ref4.maxExtensionLength;if(tokens[0]&&tokens[0].length)return void 0!==maxExtensionLength&&tokens[0].length>maxExtensionLength?(result.phoneNumber=tokens[0],attachParsedCountryInfo(result,countryCode),tokens[1]&&tokens[1].length&&(result.extension=tokens[1])):(result.isExtension=!0,result.phoneNumber=tokens[0]),result.isValid=!0,result;return result}({result:result,tokens:tokens,countryCode:countryCode,maxExtensionLength:maxExtensionLength})};var _libphonenumberJs=__webpack_require__(81329),_cleanNumber=_interopRequireDefault(__webpack_require__(85551)),_extractControls2=_interopRequireDefault(__webpack_require__(72287));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var invalidCharsRegExp=/[^\d*+#\-(). ]/,plusRegex=/\+/g,extensionDelimiter=/[*#]/g;function attachParsedCountryInfo(result,countryCode){var asYouType=new _libphonenumberJs.AsYouType(countryCode),_ref=(0,_libphonenumberJs.parseNumber)(result.phoneNumber,countryCode),_ref$country=_ref.country,country=void 0===_ref$country?null:_ref$country,_ref$phone=_ref.phone,phone=void 0===_ref$phone?null:_ref$phone;result.parsedCountry=country,result.parsedNumber=phone||asYouType.input(result.phoneNumber),result.countryCallingCode=asYouType.getCallingCode()}},19633:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _src=__webpack_require__(23413);Object.keys(_src).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_src[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _src[key]}}))}))},59675:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _time=__webpack_require__(43074);Object.keys(_time).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_time[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _time[key]}}))}))},43074:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(41539),__webpack_require__(88674),Object.defineProperty(exports,"__esModule",{value:!0}),exports.time=void 0,__webpack_require__(35666);exports.time=function(title){return function(target,name,descriptor){return descriptor}}},23413:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _decorators=__webpack_require__(59675);Object.keys(_decorators).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_decorators[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _decorators[key]}}))}));var _utils=__webpack_require__(14294);Object.keys(_utils).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_utils[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _utils[key]}}))}))},55568:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(96649),__webpack_require__(92222),__webpack_require__(84944),__webpack_require__(79753),__webpack_require__(66992),__webpack_require__(69600),__webpack_require__(21249),__webpack_require__(33792),__webpack_require__(96078),__webpack_require__(83710),__webpack_require__(68309),__webpack_require__(9653),__webpack_require__(69720),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(74916),__webpack_require__(39714),__webpack_require__(78783),__webpack_require__(23123),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.MultiPartUTF8FormData=void 0,__webpack_require__(35666);var _base64Handler=__webpack_require__(95108);function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _slicedToArray(arr,i){return function(arr){if(Array.isArray(arr))return arr}(arr)||function(arr,i){var _i=null==arr?null:"undefined"!=typeof Symbol&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_x,_r,_arr=[],_n=!0,_d=!1;try{if(_x=(_i=_i.call(arr)).next,0===i){if(Object(_i)!==_i)return;_n=!1}else for(;!(_n=(_s=_x.call(_i)).done)&&(_arr.push(_s.value),_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{if(!_n&&null!=_i.return&&(_r=_i.return(),Object(_r)!==_r))return}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _toConsumableArray(arr){return function(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==_args[0]?_args[0]:"multipart/form-data",_context.next=3,this.getFormStringList();case 3:return formDataStringList=_context.sent,wrappedBoundary="--".concat(this._boundary),outputRowData="".concat(formDataStringList.map((function(body){return"".concat(wrappedBoundary,"\r\n").concat(body)})).join("\r\n")),_context.abrupt("return",{contentType:"".concat(contentType,"; boundary=").concat(this._boundary),formData:"".concat(outputRowData,"\r\n").concat(wrappedBoundary,"--")});case 7:case"end":return _context.stop()}}),_callee,this)}))),function(){return _getData.apply(this,arguments)})},{key:"getFormStringList",value:(_getFormStringList=_asyncToGenerator(regeneratorRuntime.mark((function _callee4(){var result,_this=this;return regeneratorRuntime.wrap((function(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:return _context4.next=2,Promise.all([].concat(_toConsumableArray(Object.entries(this.dataList.fields||{}).map(function(){var _ref2=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(_ref){var _ref3,key,value;return regeneratorRuntime.wrap((function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(_ref3=_slicedToArray(_ref,2),key=_ref3[0],"object"!==_typeof(value=_ref3[1])){_context2.next=3;break}return _context2.abrupt("return",_this.getJsonFormString({key:key,source:JSON.stringify(value)}));case 3:return _context2.abrupt("return",_this.getJsonFormString({key:key,source:value}));case 4:case"end":return _context2.stop()}}),_callee2)})));return function(_x){return _ref2.apply(this,arguments)}}())),_toConsumableArray(Object.entries(this.dataList.files||{}).map(function(){var _ref5=_asyncToGenerator(regeneratorRuntime.mark((function _callee3(_ref4){var _ref6,key,value;return regeneratorRuntime.wrap((function(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(_ref6=_slicedToArray(_ref4,2),key=_ref6[0],value=_ref6[1],!Array.isArray(value)){_context3.next=3;break}return _context3.abrupt("return",Promise.all(value.map((function(file){return _this.processFile(key,file)}))));case 3:return _context3.abrupt("return",_this.processFile(key,value));case 4:case"end":return _context3.stop()}}),_callee3)})));return function(_x2){return _ref5.apply(this,arguments)}}()))));case 2:return result=_context4.sent,_context4.abrupt("return",result.flat());case 4:case"end":return _context4.stop()}}),_callee4,this)}))),function(){return _getFormStringList.apply(this,arguments)})},{key:"processFile",value:(_processFile=_asyncToGenerator(regeneratorRuntime.mark((function _callee5(key,file){var base64;return regeneratorRuntime.wrap((function(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return _context5.next=2,(0,_base64Handler.fileToBase64)(file);case 2:return base64=_context5.sent,_context5.abrupt("return",this.getBase64FormString({key:key,source:base64,filename:file instanceof File?file.name:"blob",type:file.type}));case 4:case"end":return _context5.stop()}}),_callee5,this)}))),function(_x3,_x4){return _processFile.apply(this,arguments)})},{key:"getJsonFormString",value:function(_ref7){var key=_ref7.key,source=_ref7.source,_ref7$type=_ref7.type,type=void 0===_ref7$type?"application/json":_ref7$type;return['Content-Disposition: form-data; name="'.concat(key,'"'),"Content-type: ".concat(type),"","".concat(source)].join("\r\n")}},{key:"getBase64FormString",value:function(_ref8){var key=_ref8.key,source=_ref8.source,_ref8$filename=_ref8.filename,filename=void 0===_ref8$filename?"blob":_ref8$filename,_ref8$type=_ref8.type,type=void 0===_ref8$type?"application/octet-stream":_ref8$type,encodedFileName=encodeURI(filename),contentType=type,dataUrl=source.split("base64,")[1];return['Content-Disposition: form-data; name="'.concat(key,"\"; filename*=\"UTF-8''").concat(encodedFileName,'"; filename="').concat(encodedFileName,'"'),"Content-Type: ".concat(contentType),"Content-Transfer-Encoding: base64","",dataUrl].join("\r\n")}}],protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),MultiPartUTF8FormData}();exports.MultiPartUTF8FormData=MultiPartUTF8FormData},95108:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(66992),__webpack_require__(18264),__webpack_require__(39575),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(74916),__webpack_require__(15306),__webpack_require__(23123),__webpack_require__(82472),__webpack_require__(92990),__webpack_require__(18927),__webpack_require__(33105),__webpack_require__(35035),__webpack_require__(74345),__webpack_require__(7174),__webpack_require__(32846),__webpack_require__(44731),__webpack_require__(77209),__webpack_require__(96319),__webpack_require__(58867),__webpack_require__(37789),__webpack_require__(33739),__webpack_require__(29368),__webpack_require__(14483),__webpack_require__(12056),__webpack_require__(3462),__webpack_require__(30678),__webpack_require__(27462),__webpack_require__(33824),__webpack_require__(55021),__webpack_require__(12974),__webpack_require__(15016),Object.defineProperty(exports,"__esModule",{value:!0}),exports.base64ToBlob=base64ToBlob,exports.base64ToFile=function(base64Image,filename){var blob=base64ToBlob(base64Image);return new File([blob],filename)},exports.decodeBase64DataUrl=function(dataURL){if(isBase64DataUrl(dataURL))return atob(dataURL.split("base64,")[1]);return""},exports.fileToBinary=exports.fileToBase64=void 0,exports.isBase64DataUrl=isBase64DataUrl;var REGEXP_BASE64_DATA_URL=/^(data:\w+\/[a-zA-Z+\-.]+;base64,)?(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/i;function isBase64DataUrl(value){return REGEXP_BASE64_DATA_URL.test(value)}exports.fileToBase64=function(file){return new Promise((function(resolve,reject){var reader=new FileReader;reader.onload=function(e){resolve(e.target.result)},reader.onerror=function(err){reject(err)},reader.readAsDataURL(file)}))};function base64ToBlob(base64Image){for(var split=base64Image.split(","),type=split[0].replace("data:","").replace(";base64",""),byteString=atob(split[1]),ab=new ArrayBuffer(byteString.length),ia=new Uint8Array(ab),i=0;i2&&void 0!==arguments[2]?arguments[2]:2e4;if((0,_isSafari.isSafari)())return __webpack_require__.g.window.open(url,"_self");var sleepPromise,iframe=document.createElement("iframe");iframe.style.display="none",document.body.appendChild(iframe),iframe.addEventListener("load",(function(){appendAndClickDownloadLink(iframe.contentWindow,{href:url,download:filename})})),iframe.src="about:blank";try{(sleepPromise=(0,_sleep.sleep)(serverResponseTime)).finally((function(){iframe.remove()}))}catch(error){}return sleepPromise}},42455:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(43371),Object.defineProperty(exports,"__esModule",{value:!0}),exports.emptyObject=exports.emptyFn=exports.emptyArray=void 0;exports.emptyFn=function(){};var emptyArray=Object.freeze([]);exports.emptyArray=emptyArray;var emptyObject=Object.freeze({});exports.emptyObject=emptyObject},56635:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EXTENSION_TO_CONTENT_TYPE=exports.CONTENT_TYPE_TO_EXTENSION=void 0;var _invertObj=__webpack_require__(4058),CONTENT_TYPE_TO_EXTENSION={"text/vcard":"vcf","image/tiff":"tif","image/jpeg":"jpg","x-ms-wmv":"wmv","x-flv":"flv","audio/mpeg":"mp3","video/mpeg":"mpeg","video/mp4":"mp4","text/plain":"txt","text/html":"html","image/svg+xml":"svg","image/png":"png","image/gif":"gif","image/bmp":"bmp","application/gzip":"gz","audio/mp4":"m4a","audio/amr":"amr","application/rtf":"rtf","application/zip":"zip","video/x-msvideo":"avi","video/msvideo":"msvideo","video/x-flv":"flv","video/quicktime":"mov"};exports.CONTENT_TYPE_TO_EXTENSION=CONTENT_TYPE_TO_EXTENSION;var EXTENSION_TO_CONTENT_TYPE=(0,_invertObj.invertObj)(CONTENT_TYPE_TO_EXTENSION);exports.EXTENSION_TO_CONTENT_TYPE=EXTENSION_TO_CONTENT_TYPE},7303:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(69600),__webpack_require__(94986),__webpack_require__(47042),__webpack_require__(74916),__webpack_require__(23123),Object.defineProperty(exports,"__esModule",{value:!0}),exports.getFileExtensionFromContentType=exports.getFileExtension=exports.getFileContentTypeFromExtension=void 0,exports.getFilename=function(fullPath){return fullPath.substring(fullPath.lastIndexOf("/")+1)},exports.removeExtension=void 0;var _constant=__webpack_require__(56635);exports.removeExtension=function(str){return str.split(".").slice(0,-1).join(".")};exports.getFileExtension=function(fileName){var splitArrays=fileName.toLowerCase().split(".");return splitArrays.length>1?splitArrays.pop():""};exports.getFileExtensionFromContentType=function(contentType){var _CONTENT_TYPE_TO_EXTE;return contentType?null!==(_CONTENT_TYPE_TO_EXTE=_constant.CONTENT_TYPE_TO_EXTENSION[contentType.toLowerCase()])&&void 0!==_CONTENT_TYPE_TO_EXTE?_CONTENT_TYPE_TO_EXTE:contentType.split("/")[1]:void 0};exports.getFileContentTypeFromExtension=function(extensionName){return extensionName?_constant.EXTENSION_TO_CONTENT_TYPE[extensionName.toLowerCase()]:void 0}},25614:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _fileHandler=__webpack_require__(7303);Object.keys(_fileHandler).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_fileHandler[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _fileHandler[key]}}))}))},34454:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"format",{enumerable:!0,get:function(){return _stringTemplate.default}});var obj,_stringTemplate=(obj=__webpack_require__(66573))&&obj.__esModule?obj:{default:obj}},38920:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(79753),__webpack_require__(47042),__webpack_require__(5212),__webpack_require__(24812),__webpack_require__(68309),__webpack_require__(30489),__webpack_require__(47941),__webpack_require__(68304),__webpack_require__(54747),Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTranslateFn=void 0;__webpack_require__(29895);var _format=__webpack_require__(34454);exports.getTranslateFn=function(){for(var _len=arguments.length,i18nInput=new Array(_len),_key=0;_key<_len;_key++)i18nInput[_key]=arguments[_key];var i18nInstances=Array.isArray(i18nInput)?i18nInput:[i18nInput];return function(key){var i18nString=key;i18nInstances.some((function(i18nInstance){var result=i18nInstance.getString(key);return result!==key&&(i18nString=result,!0)}));for(var _len2=arguments.length,options=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)options[_key2-1]=arguments[_key2];return options.length>0?_format.format.apply(void 0,[i18nString].concat(options)):i18nString}}},14294:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _MultiPartUTF8FormData=__webpack_require__(55568);Object.keys(_MultiPartUTF8FormData).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_MultiPartUTF8FormData[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _MultiPartUTF8FormData[key]}}))}));var _base64Handler=__webpack_require__(95108);Object.keys(_base64Handler).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_base64Handler[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _base64Handler[key]}}))}));var _blobHandler=__webpack_require__(96248);Object.keys(_blobHandler).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_blobHandler[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _blobHandler[key]}}))}));var _downloadFile=__webpack_require__(78718);Object.keys(_downloadFile).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_downloadFile[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _downloadFile[key]}}))}));var _empty=__webpack_require__(42455);Object.keys(_empty).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_empty[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _empty[key]}}))}));var _fileHandler=__webpack_require__(25614);Object.keys(_fileHandler).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_fileHandler[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _fileHandler[key]}}))}));var _format=__webpack_require__(34454);Object.keys(_format).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_format[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _format[key]}}))}));var _getTranslateFn=__webpack_require__(38920);Object.keys(_getTranslateFn).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_getTranslateFn[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _getTranslateFn[key]}}))}));var _loadImage=__webpack_require__(53623);Object.keys(_loadImage).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_loadImage[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _loadImage[key]}}))}));var _polling=__webpack_require__(63076);Object.keys(_polling).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_polling[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _polling[key]}}))}));var _sleep=__webpack_require__(20684);Object.keys(_sleep).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_sleep[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _sleep[key]}}))}));var _stopEvent=__webpack_require__(19474);Object.keys(_stopEvent).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_stopEvent[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _stopEvent[key]}}))}));var _stringHandler=__webpack_require__(12637);Object.keys(_stringHandler).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_stringHandler[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _stringHandler[key]}}))}));var _waitUntil=__webpack_require__(53737);Object.keys(_waitUntil).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_waitUntil[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _waitUntil[key]}}))}));var _waitUntilTo=__webpack_require__(21600);Object.keys(_waitUntilTo).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_waitUntilTo[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _waitUntilTo[key]}}))}));var _invertObj=__webpack_require__(4058);Object.keys(_invertObj).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_invertObj[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _invertObj[key]}}))}));var _isElectron=__webpack_require__(89242);Object.keys(_isElectron).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_isElectron[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _isElectron[key]}}))}));var _isSafari=__webpack_require__(23437);Object.keys(_isSafari).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_isSafari[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _isSafari[key]}}))}))},4058:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(47941),Object.defineProperty(exports,"__esModule",{value:!0}),exports.invertObj=function(obj){var props=Object.keys(obj),len=props.length,idx=0,out={};for(;idx-1}},23437:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isSafari=function(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}},53623:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(41539),__webpack_require__(88674),Object.defineProperty(exports,"__esModule",{value:!0}),exports.loadImage=function(url){return new Promise((function(resolve,reject){var img=new Image;img.onload=function(){return resolve(img)},img.onerror=function(){return reject(new Error("Load image failed"))},img.src=url}))}},63076:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(41539),__webpack_require__(88674),Object.defineProperty(exports,"__esModule",{value:!0}),exports.polling=void 0,__webpack_require__(35666);var _sleep=__webpack_require__(20684);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}exports.polling=function(fn,interval){var sleepPromise,finished=!1,promise=new Promise(function(){var _ref=function(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(resolve,reject){var result;return regeneratorRuntime.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:if(finished){_context.next=17;break}return _context.next=3,fn();case 3:if(result=_context.sent,finished||(finished=result),finished||"number"!=typeof interval||!(interval>=0)){_context.next=15;break}return sleepPromise=(0,_sleep.sleep)(interval),_context.prev=7,_context.next=10,sleepPromise;case 10:_context.next=15;break;case 12:_context.prev=12,_context.t0=_context.catch(7),reject(new Error("Async Polling has been cancelled"));case 15:_context.next=0;break;case 17:resolve();case 18:case"end":return _context.stop()}}),_callee,null,[[7,12]])})));return function(_x,_x2){return _ref.apply(this,arguments)}}());return promise.cancel=function(){var _sleepPromise;null===(_sleepPromise=sleepPromise)||void 0===_sleepPromise||_sleepPromise.cancel(),finished=!0},promise}},20684:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(32564),Object.defineProperty(exports,"__esModule",{value:!0}),exports.sleep=void 0;exports.sleep=function(ms){var timer,rejector,promise=new Promise((function(resolve,reject){rejector=reject,timer=setTimeout(resolve,ms)}));return promise.cancel=function(){rejector(new Error("Async sleep has been cancelled")),clearTimeout(timer)},promise}},19474:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stopPropagation=exports.stopDefaultEvents=exports.preventDefault=void 0;exports.stopPropagation=function(e){return e.stopPropagation()};exports.preventDefault=function(e){return e.preventDefault()};exports.stopDefaultEvents=function(e){e.stopPropagation(),e.preventDefault()}},12637:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _isASCII=__webpack_require__(47977);Object.keys(_isASCII).forEach((function(key){"default"!==key&&"__esModule"!==key&&(key in exports&&exports[key]===_isASCII[key]||Object.defineProperty(exports,key,{enumerable:!0,get:function(){return _isASCII[key]}}))}))},47977:function(__unused_webpack_module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isASCII=function(str){return/^[\x00-\x7F]*$/.test(str)}},53737:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(78783),__webpack_require__(33948),Object.defineProperty(exports,"__esModule",{value:!0}),exports.waitUntil=void 0,__webpack_require__(35666);var _polling=__webpack_require__(63076),_sleep=__webpack_require__(20684);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}exports.waitUntil=function(fn){var rejector,_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$interval=_ref.interval,interval=void 0===_ref$interval?100:_ref$interval,_ref$timeout=_ref.timeout,timeout=void 0===_ref$timeout?5e3:_ref$timeout,timeoutPromise=(0,_sleep.sleep)(timeout),poolingPromise=(0,_polling.polling)(fn,interval),clearTimers=function(){timeoutPromise.cancel(),poolingPromise.cancel()},promise=new Promise(function(){var _ref2=_asyncToGenerator(regeneratorRuntime.mark((function _callee(resolve,reject){return regeneratorRuntime.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:return rejector=reject,_context.next=3,Promise.race([poolingPromise,timeoutPromise.then((function(){reject(new Error("".concat(timeout," ms timeout error")))}))]).then(clearTimers).catch(clearTimers);case 3:resolve();case 4:case"end":return _context.stop()}}),_callee)})));return function(_x,_x2){return _ref2.apply(this,arguments)}}());return promise.cancel=function(){rejector(new Error("Async waitUntil has been cancelled")),clearTimers()},promise}},21600:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(41539),__webpack_require__(88674),Object.defineProperty(exports,"__esModule",{value:!0}),exports.waitUntilTo=void 0,__webpack_require__(35666);var _waitUntil=__webpack_require__(53737);function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise((function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value)}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err)}_next(void 0)}))}}exports.waitUntilTo=function(fn){var rejector,waitUntilPromise,_ref=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref$interval=_ref.interval,interval=void 0===_ref$interval?100:_ref$interval,_ref$timeout=_ref.timeout,timeout=void 0===_ref$timeout?5e3:_ref$timeout,promise=new Promise(function(){var _ref2=_asyncToGenerator(regeneratorRuntime.mark((function _callee2(resolve,reject){var lastError,callback;return regeneratorRuntime.wrap((function(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:return rejector=reject,callback=function(){var _ref3=_asyncToGenerator(regeneratorRuntime.mark((function _callee(){var result;return regeneratorRuntime.wrap((function(_context){for(;;)switch(_context.prev=_context.next){case 0:return _context.prev=0,_context.next=3,fn();case 3:return result=_context.sent,resolve(result),_context.abrupt("return",!0);case 8:return _context.prev=8,_context.t0=_context.catch(0),lastError=_context.t0,_context.abrupt("return",!1);case 12:case"end":return _context.stop()}}),_callee,null,[[0,8]])})));return function(){return _ref3.apply(this,arguments)}}(),waitUntilPromise=(0,_waitUntil.waitUntil)(callback,{interval:interval,timeout:timeout}),_context2.prev=3,_context2.next=6,waitUntilPromise;case 6:_context2.next=11;break;case 8:_context2.prev=8,_context2.t0=_context2.catch(3),reject(lastError);case 11:case"end":return _context2.stop()}}),_callee2,null,[[3,8]])})));return function(_x,_x2){return _ref2.apply(this,arguments)}}());return promise.cancel=function(){rejector(new Error("Async waitUntilTo has been cancelled")),waitUntilPromise.cancel()},promise}},51734:function(__unused_webpack_module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.baseMessageTypes=void 0;var baseMessageTypes=__webpack_require__(50742).ObjectMap.fromKeys(["syncClosed","syncMinimized","syncSize","syncPosition","pushPresence","pushAdapterState","pushLocale","presenceClicked","presenceItemClicked","clickToDial","clickToSms","pushRingState","pushCalls","pushOnCurrentCallPath","pushOnAllCallsPath","navigateToCurrentCall","navigateToViewCalls","popOut"]);exports.baseMessageTypes=baseMessageTypes;var _default=baseMessageTypes;exports.default=_default},3314:function(__unused_webpack_module,exports,__webpack_require__){"use strict";__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(96649),__webpack_require__(92222),__webpack_require__(89554),__webpack_require__(69600),__webpack_require__(3843),__webpack_require__(96078),__webpack_require__(83710),__webpack_require__(9653),__webpack_require__(41539),__webpack_require__(54747),__webpack_require__(32564),exports.Z=void 0;var _classnames=_interopRequireDefault(__webpack_require__(94184)),_presenceStatus=__webpack_require__(50289),_debounce=_interopRequireDefault(__webpack_require__(65789)),_ensureExist=_interopRequireDefault(__webpack_require__(15169)),_Presence=__webpack_require__(71621),_formatDuration=__webpack_require__(39260),_ObjectMap=__webpack_require__(50742),_baseMessageTypes=__webpack_require__(51734);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _defineProperties(target,props){for(var i=0;i50)&&(_this._resizeTick=Date.now(),_this._renderRestrictedPosition()))},this._onWindowMouseMove=function(evt){if(_this._dragging){if(0===evt.buttons)return _this._dragging=!1,void _this._renderMainClass();var factor=_this._calculateFactor(),delta={x:evt.clientX-_this._dragStartPosition.x,y:evt.clientY-_this._dragStartPosition.y};_this._minimized?(_this._minTranslateX=_this._dragStartPosition.minTranslateX+delta.x*factor,_this._minTranslateY=_this._dragStartPosition.minTranslateY+delta.y):(_this._translateX=_this._dragStartPosition.translateX+delta.x*factor,_this._translateY=_this._dragStartPosition.translateY+delta.y),0===delta.x&&0===delta.y||(_this._isClick=!1),_this._syncPosition(),_this._renderRestrictedPosition()}},this._debouncedPostMessage=(0,_debounce.default)(this._postMessage,100),this._prefix=prefix,this._messageTypes=_ObjectMap.ObjectMap.prefixValues(messageTypes,prefix),this._container=_ensureExist.default.call(this,container,"container"),this._root=root,this._styles=styles,this._defaultDirection=defaultDirection,this._padding=defaultPadding,this._minTranslateX=0,this._minTranslateY=0,this._translateX=0,this._translateY=0,this._appWidth=0,this._appHeight=0,this._dragStartPosition=null,this._closed=!0,this._minimized=!0,this._dragging=!1,this._hover=!1,this._hoverHeader=!1,this._loading=!0,this._userStatus=null,this._dndStatus=null,this._telephonyStatus=null,this._presenceOption=null,this.currentState=-1,this._scrollale=!1,this._strings={},this._themeVariableString=themeVariableString}return _createClass(AdapterCore,[{key:"_beforeRender",value:function(){}}]),_createClass(AdapterCore,[{key:"_onMessage",value:function(msg){if(msg)switch(msg.type){case this._messageTypes.syncClosed:this._onSyncClosed(msg.closed);break;case this._messageTypes.syncMinimized:this._onSyncMinimized(msg.minimized);break;case this._messageTypes.syncSize:this._onSyncSize(msg.size);break;case this._messageTypes.syncPresence:this._onPushPresence(msg);break;case this._messageTypes.pushAdapterState:this._onPushAdapterState(msg);break;case this._messageTypes.pushLocale:this._onPushLocale(msg);break;case this._messageTypes.pushRingState:this._onPushRingState(msg);break;case this._messageTypes.pushCalls:this._onPushCallsInfo(msg);break;case this._messageTypes.pushOnCurrentCallPath:this._onPushOnCurrentCallPath(msg);break;case this._messageTypes.pushOnAllCallsPath:this._onPushOnAllCallsPath(msg)}}},{key:"_getContentDOM",value:function(sanboxAttributeValue,allowAttributeValue){return'\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
').concat(this._strings.currentCallBtn,'
\n
').concat(this._strings.viewCallsBtn,'
\n
\n \n
\n \n
')}},{key:"_generateContentDOM",value:function(){var _this2=this;this._root.innerHTML=this._getContentDOM(SANDBOX_ATTRIBUTE_VALUE,ALLOW_ATTRIBUTE_VALUE),this._headerEl=this._root.querySelector(".".concat(this._styles.header)),this._headerEl.style.cssText=this._themeVariableString,this._logoEl=this._root.querySelector(".".concat(this._styles.logo)),this._logoEl.addEventListener("dragstart",(function(){return!1})),this._contentFrameContainerEl=this._root.querySelector(".".concat(this._styles.frameContainer)),this._toggleEl=this._root.querySelector(".".concat(this._styles.toggle)),this._toggleEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2.toggleMinimized()})),this._closeEl=this._root.querySelector(".".concat(this._styles.close)),this._closeEl&&this._closeEl.addEventListener(clickEvent,(function(){_this2.setClosed(!0)})),this._presenceEl=this._root.querySelector(".".concat(this._styles.presence)),this._presenceEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2.togglePresenceDropdown()})),this._presenceItemEls=this._root.querySelectorAll(".".concat(this._styles.presenceItem)),this._presenceItemEls.forEach((function(itemEl){var dataPresence=itemEl.getAttribute("data-presence");itemEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2.togglePresenceDropdown(),_this2._postMessage({type:_this2._messageTypes.presenceItemClicked,presenceType:_presenceStatus.presenceStatus[dataPresence]||_Presence.dndStatus[dataPresence]})}))})),this._dropdownPresence=this._root.querySelector(".".concat(this._styles.dropdownPresence)),this._dropdownPresence&&this._dropdownPresence.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2.togglePresenceDropdown()})),this._contentFrameEl=this._root.querySelector(".".concat(this._styles.contentFrame)),this._durationEl=this._root.querySelector(".".concat(this._styles.duration)),this._durationEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2._postMessage({type:_this2._messageTypes.navigateToCurrentCall})})),this._currentCallEl=this._root.querySelector(".".concat(this._styles.currentCallBtn)),this._currentCallEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2._postMessage({type:_this2._messageTypes.navigateToCurrentCall})})),this._viewCallsEl=this._root.querySelector(".".concat(this._styles.viewCallsBtn)),this._viewCallsEl.addEventListener(clickEvent,(function(evt){evt.stopPropagation(),_this2._postMessage({type:_this2._messageTypes.navigateToViewCalls})})),this._ringingCallsEl=this._root.querySelector(".".concat(this._styles.ringingCalls)),this._onHoldCallsEl=this._root.querySelector(".".concat(this._styles.onHoldCalls)),this._otherDeviceCallsEl=this._root.querySelector(".".concat(this._styles.otherDeviceCalls)),this._headerEl.addEventListener("mousedown",(function(evt){_this2._dragging=!0,_this2._isClick=!0,_this2._dragStartPosition={x:evt.clientX,y:evt.clientY,translateX:_this2._translateX,translateY:_this2._translateY,minTranslateX:_this2._minTranslateX,minTranslateY:_this2._minTranslateY},_this2._renderMainClass()})),this._headerEl.addEventListener("mouseup",(function(){_this2._dragging=!1,_this2._renderMainClass()})),window.addEventListener("mousemove",this._onWindowMouseMove),this._headerEl.addEventListener("mouseenter",(function(){_this2._minimized?(_this2._hoverHeader=!0,_this2._renderMainClass()):_this2._currentStartTime>0&&(_this2._hoverBar=!0,_this2._scrollable=!1,_this2._renderCallsBar())})),this._headerEl.addEventListener("mouseleave",(function(){_this2._hoverHeader=!1,_this2._hoverBar=!1,_this2._scrollable=!1,_this2._renderCallsBar(),_this2._renderMainClass()})),this._isClick=!0,this._headerEl.addEventListener(clickEvent,(function(evt){_this2._isClick&&_this2._onHeaderClicked(evt)})),this._resizeTimeout=null,this._resizeTick=null,window.addEventListener("resize",this._onWindowResize),this._container.addEventListener("mouseenter",(function(){_this2._hover=!0,_this2._renderMainClass()})),this._container.addEventListener("mouseleave",(function(){_this2._hover=!1,_this2._renderMainClass()})),"loading"===document.readyState?window.addEventListener("load",(function(){document.body.appendChild(_this2._container)})):document.body.appendChild(this._container),this._beforeRender(),this._render()}},{key:"_onHeaderClicked",value:function(){this._minimized&&this.toggleMinimized()}},{key:"togglePresenceDropdown",value:function(){this._dropdownPresence&&(this._dropdownPresence.classList.toggle("".concat(this._styles.showDropdown)),this.setMinimized(!1))}},{key:"_postMessage",value:function(data){this.messageTransport.postMessage(data)}},{key:"_setLogoUrl",value:function(logoUrl){this._logoUrl=logoUrl,this._logoEl.src=logoUrl,this._logoEl.setAttribute("class",(0,_classnames.default)(this._styles.logo,this._logoUrl&&""!==this._logoUrl&&this._styles.visible))}},{key:"_setAppUrl",value:function(appUrl){this._appUrl=appUrl,appUrl&&(this.contentFrameEl.src=appUrl)}},{key:"_onSyncMinimized",value:function(minimized){this._minimized=!!minimized,this._renderMainClass(),this.renderAdapterSize(),this._renderRestrictedPosition()}},{key:"setMinimized",value:function(minimized){this._onSyncMinimized(minimized),this._postMessage({type:this._messageTypes.syncMinimized,minimized:this._minimized}),minimized&&this._dropdownPresence&&this._dropdownPresence.classList.remove("".concat(this._styles.showDropdown))}},{key:"toggleMinimized",value:function(){this.setMinimized(!this._minimized)}},{key:"_calculateMinMaxPosition",value:function(){var maximumX=window.innerWidth-(this._minimized?this._headerEl.clientWidth:this._appWidth)-2*this._padding,maximumY=window.innerHeight-(this._minimized?this._headerEl.clientHeight:this._headerEl.clientHeight+this._appHeight)-this._padding;return{minimumX:this._padding,minimumY:this._padding,maximumX:maximumX,maximumY:maximumY}}},{key:"_onSyncClosed",value:function(closed){this._closed=!!closed,this._renderMainClass()}},{key:"setClosed",value:function(closed){this._onSyncClosed(closed),this._postMessage({type:this._messageTypes.syncClosed,closed:this.closed})}},{key:"toggleClosed",value:function(){this.setClosed(!this.closed)}},{key:"_onSyncSize",value:function(_ref2){var width=_ref2.width,height=_ref2.height;this._appWidth=width,this._appHeight=height,this._contentFrameEl.style.width="".concat(width,"px"),this._contentFrameEl.style.height="".concat(height,"px"),this.renderAdapterSize()}},{key:"setSize",value:function(size){this._onSyncSize(size),this._postMessage({type:this._messageTypes.syncSize,size:size})}},{key:"_onPushRingState",value:function(_ref3){var ringing=_ref3.ringing;this._ringing=ringing,this._render()}},{key:"_onPushCallsInfo",value:function(_ref4){var ringingCallsLength=_ref4.ringingCallsLength,onHoldCallsLength=_ref4.onHoldCallsLength,otherDeviceCallsLength=_ref4.otherDeviceCallsLength,currentStartTime=_ref4.currentStartTime;this._currentStartTime=currentStartTime,this._ringingCallsLength=ringingCallsLength,this._onHoldCallsLength=onHoldCallsLength,this._otherDeviceCallsLength=otherDeviceCallsLength,this._hasActiveCalls=this._currentStartTime>0||this._ringingCallsLength>0||this._onHoldCallsLength>0||this._otherDeviceCallsLength>0,this.renderCallsBar()}},{key:"_onPushOnCurrentCallPath",value:function(_ref5){var onCurrentCallPath=_ref5.onCurrentCallPath;this._onCurrentCallPath=onCurrentCallPath,this._render()}},{key:"_onPushOnAllCallsPath",value:function(_ref6){var onAllCallsPath=_ref6.onAllCallsPath;this._onAllCallsPath=onAllCallsPath,this._render()}},{key:"_onPushPresence",value:function(_ref7){var dndStatus=_ref7.dndStatus,userStatus=_ref7.userStatus,telephonyStatus=_ref7.telephonyStatus,presenceOption=_ref7.presenceOption;dndStatus===this._dndStatus&&userStatus===this._userStatus&&telephonyStatus===this._telephonyStatus||(this._dndStatus=dndStatus,this._userStatus=userStatus,this._telephonyStatus=telephonyStatus,this._presenceOption=presenceOption,this.renderPresence())}},{key:"_onPushLocale",value:function(_ref8){var locale=_ref8.locale,_ref8$strings=_ref8.strings,strings=void 0===_ref8$strings?{}:_ref8$strings;this._locale=locale,this._strings=strings,this._renderString()}},{key:"_renderString",value:function(){this._renderCallBarBtn(),this._renderRingingCalls(),this._renderOnHoldCalls(),this._renderOtherDevicesCalls(),this._renderPresenceItem()}},{key:"_syncPosition",value:function(){this._debouncedPostMessage.call(this,{type:this._messageTypes.syncPosition,position:{translateX:this._translateX,translateY:this._translateY,minTranslateX:this._minTranslateX,minTranslateY:this._minTranslateY}})}},{key:"_onPushAdapterState",value:function(_ref9){var _ref9$size=_ref9.size,width=_ref9$size.width,height=_ref9$size.height,minimized=_ref9.minimized,closed=_ref9.closed,_ref9$position=_ref9.position,translateX=_ref9$position.translateX,translateY=_ref9$position.translateY,minTranslateX=_ref9$position.minTranslateX,minTranslateY=_ref9$position.minTranslateY,dndStatus=_ref9.dndStatus,userStatus=_ref9.userStatus,telephonyStatus=_ref9.telephonyStatus;this._minimized=minimized,this._closed=closed,this._dragging||(this._translateX=translateX,this._translateY=translateY,this._minTranslateX=minTranslateX,this._minTranslateY=minTranslateY),this._appWidth=width,this._appHeight=height,this._dndStatus=dndStatus,this._userStatus=userStatus,this._telephonyStatus=telephonyStatus,this._loading=!1,this._render()}},{key:"_calculateFactor",value:function(){return"right"===this._defaultDirection?-1:1}},{key:"renderPosition",value:function(){var factor=this._calculateFactor();this._minimized?this._container.setAttribute("style","transform: translate( ".concat(this._minTranslateX*factor,"px, ").concat(-this._padding,"px)!important;")):this._container.setAttribute("style","transform: translate( ".concat(this._translateX*factor,"px, ").concat(this._translateY,"px)!important;"))}},{key:"_renderRestrictedPosition",value:function(){var _this$_calculateMinMa=this._calculateMinMaxPosition(),minimumX=_this$_calculateMinMa.minimumX,minimumY=_this$_calculateMinMa.minimumY,maximumX=_this$_calculateMinMa.maximumX,maximumY=_this$_calculateMinMa.maximumY;if(this._minimized){var newMinTranslateX=Math.max(Math.min(this._minTranslateX,maximumX),minimumX);newMinTranslateX!==this._minTranslateX&&(this._minTranslateX=newMinTranslateX);var newMinTranslateY=Math.max(Math.min(this._minTranslateY,-minimumY),-maximumY);newMinTranslateY!==this._minTranslateY&&(this._minTranslateY=newMinTranslateY)}else{var newTranslateX=Math.max(Math.min(this._translateX,maximumX),minimumX),newTranslateY=Math.max(Math.min(this._translateY,-minimumY),-maximumY);this._translateX===newTranslateX&&this._translateY===newTranslateY||(this._translateX=newTranslateX,this._translateY=newTranslateY)}this.renderPosition()}},{key:"renderAdapterSize",value:function(){this._minimized?(this._contentFrameContainerEl.style.width=0,this._contentFrameContainerEl.style.height=0):(this._contentFrameContainerEl.style.width="".concat(this._appWidth,"px"),this._contentFrameContainerEl.style.height="".concat(this._appHeight,"px"),this._contentFrameEl.style.width="".concat(this._appWidth,"px"),this._contentFrameEl.style.height="".concat(this._appHeight,"px"))}},{key:"_renderMainClass",value:function(){this._container.setAttribute("class",(0,_classnames.default)(this._styles.root,this._styles[this._defaultDirection],this._closed&&this._styles.closed,this._minimized&&this._styles.minimized,this._dragging&&this._styles.dragging,this._hover&&this._styles.hover,this._loading&&this._styles.loading)),this._headerEl.setAttribute("class",(0,_classnames.default)(this._styles.header,this._minimized&&this._styles.minimized,this._ringing&&this._styles.ringing))}},{key:"renderPresence",value:function(){var _this3=this;this._presenceEl.setAttribute("class",(0,_classnames.default)(this._minimized&&this._styles.minimized,this._styles.presence,this._userStatus&&this._styles[this._userStatus],this._dndStatus&&this._styles[this._dndStatus])),this._presenceItemEls.forEach((function(presenceItem){var dataPresence=presenceItem.getAttribute("data-presence");_presenceStatus.presenceStatus[dataPresence]===_this3._presenceOption||_Presence.dndStatus[dataPresence]===_this3._presenceOption?presenceItem.setAttribute("class",(0,_classnames.default)(_this3._styles.presenceItem,_this3._styles.selected)):presenceItem.setAttribute("class",(0,_classnames.default)(_this3._styles.presenceItem))}))}},{key:"calculateState",value:function(){var startTime=this._currentStartTime;return Math.round(((new Date).getTime()-startTime)/1e3)}},{key:"renderCallsBar",value:function(){var _this$callInfoMap,_this4=this;return this.rotateInterval&&(clearInterval(this.rotateInterval),this.rotateInterval=null),this._hasActiveCalls?this._currentStartTime>0&&0===this._ringingCallsLength&&0===this._onHoldCallsLength&&0===this._otherDeviceCallsLength?(this.currentState=2,this._scrollable=!1,this._renderCallDuration(),void this._renderCallsBar()):0===this._currentStartTime&&0===this._otherDeviceCallsLength&&this._ringingCallsLength>0?(this.currentState=1,this._scrollable=!1,this._hoverBar=!1,this.durationInterval&&(clearInterval(this.durationInterval),this.durationInterval=null),this._renderRingingCalls(),void this._renderCallsBar()):0===this._currentStartTime&&0===this._ringingCallsLength&&0===this._onHoldCallsLength&&this._otherDeviceCallsLength>0?(this.currentState=3,this._scrollable=!1,this._renderOtherDevicesCalls(),void this._renderCallsBar()):(this.callInfoMap=(_defineProperty(_this$callInfoMap={},2,this._currentStartTime>0),_defineProperty(_this$callInfoMap,1,this._ringingCallsLength>0),_defineProperty(_this$callInfoMap,0,this._onHoldCallsLength>0),_defineProperty(_this$callInfoMap,3,this._otherDeviceCallsLength>0),_this$callInfoMap),this.rotateCallInfo(),void(this.rotateInterval=setInterval((function(){_this4.rotateCallInfo()}),5e3))):(this.currentState=-1,this._scrollable=!1,this._hoverBar=!1,this.durationInterval&&(clearInterval(this.durationInterval),this.durationInterval=null),void this._renderCallsBar())}},{key:"rotateCallInfo",value:function(){if(!this._hoverBar||!this.callInfoMap[this.currentState]){for(this.lastState=this.currentState,this.currentState=this.increment(this.currentState);!this.callInfoMap[this.currentState];)this.currentState=this.increment(this.currentState);switch(this.currentState){case 0:this._renderOnHoldCalls();break;case 1:this._renderRingingCalls();break;case 2:this._renderCallDuration();break;case 3:this._renderOtherDevicesCalls()}this._scrollable=!0,this._renderCallsBar(),this._scrollable=!1}}},{key:"increment",value:function(state){return state>=3?0:state+1}},{key:"_renderMinimizedBar",value:function(){var _this$_otherDeviceCal;this._logoEl.setAttribute("class",(0,_classnames.default)(this._styles.logo,this._logoUrl&&""!==this._logoUrl&&this._styles.visible)),this._durationEl.setAttribute("class",(0,_classnames.default)(this._styles.duration)),this._ringingCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.ringingCalls)),this._onHoldCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.onHoldCalls)),null===(_this$_otherDeviceCal=this._otherDeviceCallsEl)||void 0===_this$_otherDeviceCal||_this$_otherDeviceCal.setAttribute("class",(0,_classnames.default)(this._styles.otherDeviceCalls)),this._currentCallEl.setAttribute("class",(0,_classnames.default)(this._styles.currentCallBtn)),this._viewCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.viewCallsBtn))}},{key:"_renderCallsBar",value:function(){var _this$_otherDeviceCal2;this._minimized?this._renderMinimizedBar():(this._logoEl.setAttribute("class",(0,_classnames.default)(this._styles.logo,!this._hasActiveCalls&&this._logoUrl&&""!==this._logoUrl&&this._styles.visible)),this._durationEl.setAttribute("class",(0,_classnames.default)(this._styles.duration,this.showDuration&&this._styles.visible,this.centerDuration&&this._styles.center,this.moveOutDuration&&this._styles.moveOut,this.moveInDuration&&this._styles.moveIn)),this._ringingCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.ringingCalls,this.showRingingCalls&&this._styles.visible,this.centerCallInfo&&this._styles.center,this.moveOutRingingInfo&&this._styles.moveOut,this.moveInRingingInfo&&this._styles.moveIn)),this._onHoldCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.onHoldCalls,this.showOnHoldCalls&&this._styles.visible,this.centerCallInfo&&this._styles.center,this.moveOutOnHoldInfo&&this._styles.moveOut,this.moveInOnHoldInfo&&this._styles.moveIn)),null===(_this$_otherDeviceCal2=this._otherDeviceCallsEl)||void 0===_this$_otherDeviceCal2||_this$_otherDeviceCal2.setAttribute("class",(0,_classnames.default)(this._styles.otherDeviceCalls,this.showOtherDeviceCalls&&this._styles.visible,this.centerCallInfo&&this._styles.center,this.isInMoveOutStatus(3)&&this._styles.moveOut,this.isInMoveInStatus(3)&&this._styles.moveIn)),this._currentCallEl.setAttribute("class",(0,_classnames.default)(this._styles.currentCallBtn,this.showCurrentCallBtn&&this._styles.visible,this.moveOutCurrentCallBtn&&this._styles.moveOut,this.moveInCurrentCallBtn&&this._styles.moveIn)),this._viewCallsEl.setAttribute("class",(0,_classnames.default)(this._styles.viewCallsBtn,this.showViewCallsBtn&&this._styles.visible,!this.moveInViewCallsBtn&&this.moveOutViewCallsBtn&&this._styles.moveOut,this.moveInViewCallsBtn&&this._styles.moveIn)))}},{key:"_renderCallDuration",value:function(){var _this5=this;this.durationInterval&&(clearInterval(this.durationInterval),this.durationInterval=null);var duration=(0,_formatDuration.formatDuration)(this.calculateState());this._durationEl.innerHTML=duration,this.durationInterval=setInterval((function(){var duration=(0,_formatDuration.formatDuration)(_this5.calculateState());_this5._durationEl.innerHTML=duration}),1e3)}},{key:"_renderRingingCalls",value:function(){this._ringingCallsLength&&this._strings&&(this._ringingCallsEl.innerHTML=this._strings.ringCallsInfo,this._ringingCallsEl.title=this._strings.ringCallsInfo)}},{key:"_renderOnHoldCalls",value:function(){this._onHoldCallsLength&&this._strings&&(this._onHoldCallsEl.innerHTML=this._strings.onHoldCallsInfo,this._onHoldCallsEl.title=this._strings.onHoldCallsInfo)}},{key:"_renderOtherDevicesCalls",value:function(){this._otherDeviceCallsLength&&this._strings&&this._otherDeviceCallsEl&&(this._otherDeviceCallsEl.innerHTML=this._strings.otherDeviceCallsInfo,this._otherDeviceCallsEl.title=this._strings.otherDeviceCallsInfo)}},{key:"_renderCallBarBtn",value:function(){this._strings&&(this._currentCallEl.innerHTML=this._strings.currentCallBtn,this._viewCallsEl.innerHTML=this._strings.viewCallsBtn)}},{key:"_renderPresenceItem",value:function(){var _this6=this;this._strings&&this._presenceItemEls.forEach((function(presenceItem){var dataPresence=presenceItem.getAttribute("data-presence");presenceItem.querySelector("span").innerHTML=_this6._strings["".concat(dataPresence,"Btn")]}))}},{key:"_render",value:function(){this.renderPresence(),this.renderAdapterSize(),this._renderRestrictedPosition(),this._renderMainClass(),this._renderCallsBar()}},{key:"dispose",value:function(){window.removeEventListener("mousemove",this._onWindowMouseMove),window.removeEventListener("resize",this._onWindowResize),this._resizeTimeout&&clearTimeout(this._resizeTick),this._container.remove()}},{key:"isInMoveInStatus",value:function(state){return!this._hoverBar&&this.currentState===state&&this._scrollable}},{key:"isInMoveOutStatus",value:function(state){return!this._hoverBar&&this._scrollable&&this.lastState===state}},{key:"messageTransport",get:function(){return this._messageTransport}},{key:"container",get:function(){return this._container}},{key:"root",get:function(){return this._root}},{key:"headerEl",get:function(){return this._headerEl}},{key:"contentFrameContainerEl",get:function(){return this._contentFrameContainerEl}},{key:"toggleEl",get:function(){return this._toggleEl}},{key:"closeEl",get:function(){return this._closeEl}},{key:"presenceEl",get:function(){return this._presenceEl}},{key:"contentFrameEl",get:function(){return this._contentFrameEl}},{key:"minTranslateX",get:function(){return this._minTranslateX}},{key:"minTranslateY",get:function(){return this._minTranslateY}},{key:"translateX",get:function(){return this._translateX}},{key:"translateY",get:function(){return this._translateY}},{key:"appWidth",get:function(){return this._appWidth}},{key:"appHeight",get:function(){return this._appHeight}},{key:"dragStartPosition",get:function(){return this._dragStartPosition}},{key:"closed",get:function(){return this._closed}},{key:"minimized",get:function(){return this._minimized}},{key:"dragging",get:function(){return this._dragging}},{key:"hover",get:function(){return this._hover}},{key:"loading",get:function(){return this._loading}},{key:"userStatus",get:function(){return this._userStatus}},{key:"dndStatus",get:function(){return this._dndStatus}},{key:"ringing",get:function(){return this._ringing}},{key:"showDuration",get:function(){return!this._scrollable&&2===this.currentState}},{key:"showRingingCalls",get:function(){return!this._scrollable&&1===this.currentState}},{key:"showOnHoldCalls",get:function(){return!this._scrollable&&0===this.currentState}},{key:"showOtherDeviceCalls",get:function(){return!this._scrollable&&3===this.currentState}},{key:"showCurrentCallBtn",get:function(){return!this._onCurrentCallPath&&this.showDuration}},{key:"showViewCallsBtn",get:function(){return!this._onAllCallsPath&&(this.showOnHoldCalls||this.showRingingCalls||this.showOtherDeviceCalls)}},{key:"centerDuration",get:function(){return this._onCurrentCallPath}},{key:"centerCallInfo",get:function(){return this._onAllCallsPath}},{key:"moveInDuration",get:function(){return!this._hoverBar&&2===this.currentState&&this._scrollable}},{key:"moveOutDuration",get:function(){return!this._hoverBar&&this._scrollable&&2===this.lastState}},{key:"moveInRingingInfo",get:function(){return!this._hoverBar&&1===this.currentState&&this._scrollable}},{key:"moveOutRingingInfo",get:function(){return!this._hoverBar&&this._scrollable&&1===this.lastState}},{key:"moveInOnHoldInfo",get:function(){return!this._hoverBar&&0===this.currentState&&this._scrollable}},{key:"moveOutOnHoldInfo",get:function(){return!this._hoverBar&&this._scrollable&&0===this.lastState}},{key:"moveInCurrentCallBtn",get:function(){return!this._onCurrentCallPath&&this.moveInDuration}},{key:"moveOutCurrentCallBtn",get:function(){return!this._onCurrentCallPath&&this.moveOutDuration}},{key:"moveInViewCallsBtn",get:function(){return!this._onAllCallsPath&&(this.moveInRingingInfo||this.moveInOnHoldInfo||this.isInMoveInStatus(3))}},{key:"moveOutViewCallsBtn",get:function(){return!this._onAllCallsPath&&(this.moveOutRingingInfo||this.moveOutOnHoldInfo||this.isInMoveOutStatus(3))}}]),AdapterCore}();exports.Z=AdapterCore},93336:function(__unused_webpack_module,exports,__webpack_require__){"use strict";function popWindow(url,id,w,h){var dualScreenLeft=void 0!==window.screenLeft?window.screenLeft:window.screen.left,dualScreenTop=void 0!==window.screenTop?window.screenTop:window.screen.top,left=(window.screen.width||window.outerWidth)/2-w/2+dualScreenLeft,top=(window.screen.height||window.innerHeight)/2-h/2+dualScreenTop,newWindow=window.open(url,id,"scrollbars=yes, width=".concat(w,", height=").concat(h,", top=").concat(top,", left=").concat(left));try{null==newWindow||newWindow.focus()}catch(error){}return newWindow}__webpack_require__(92222),exports.ZP=void 0;var _default=popWindow;exports.ZP=_default},21924:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(10492),callBind=__webpack_require__(55559),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},55559:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__(58612),GetIntrinsic=__webpack_require__(10492),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$gOPD=GetIntrinsic("%Object.getOwnPropertyDescriptor%",!0),$defineProperty=GetIntrinsic("%Object.defineProperty%",!0),$max=GetIntrinsic("%Math.max%");if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=null}module.exports=function(originalFunction){var func=$reflectApply(bind,$call,arguments);if($gOPD&&$defineProperty){var desc=$gOPD(func,"length");desc.configurable&&$defineProperty(func,"length",{value:1+$max(0,originalFunction.length-(arguments.length-1))})}return func};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},10492:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var $SyntaxError=SyntaxError,$Function=Function,$TypeError=TypeError,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__(41405)(),getProto=Object.getPrototypeOf||function(x){return x.__proto__},needsEval={},TypedArray="undefined"==typeof Uint8Array?undefined:getProto(Uint8Array),INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet},doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__(58612),hasOwn=__webpack_require__(17642),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},94184:function(module,exports){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;i>8&255]},packInt32=function(number){return[255&number,number>>8&255,number>>16&255,number>>24&255]},unpackInt32=function(buffer){return buffer[3]<<24|buffer[2]<<16|buffer[1]<<8|buffer[0]},packFloat32=function(number){return packIEEE754(number,23,4)},packFloat64=function(number){return packIEEE754(number,52,8)},addGetter=function(Constructor,key,getInternalState){defineBuiltInAccessor(Constructor.prototype,key,{configurable:!0,get:function(){return getInternalState(this)[key]}})},get=function(view,count,index,isLittleEndian){var store=getInternalDataViewState(view),intIndex=toIndex(index),boolIsLittleEndian=!!isLittleEndian;if(intIndex+count>store.byteLength)throw RangeError("Wrong index");var bytes=store.bytes,start=intIndex+store.byteOffset,pack=arraySlice(bytes,start,start+count);return boolIsLittleEndian?pack:reverse(pack)},set=function(view,count,index,conversion,value,isLittleEndian){var store=getInternalDataViewState(view),intIndex=toIndex(index),pack=conversion(+value),boolIsLittleEndian=!!isLittleEndian;if(intIndex+count>store.byteLength)throw RangeError("Wrong index");for(var bytes=store.bytes,start=intIndex+store.byteOffset,i=0;ij;)(key=keys[j++])in $ArrayBuffer||createNonEnumerableProperty($ArrayBuffer,key,NativeArrayBuffer[key]);ArrayBufferPrototype.constructor=$ArrayBuffer}setPrototypeOf&&getPrototypeOf(DataViewPrototype)!==ObjectPrototype&&setPrototypeOf(DataViewPrototype,ObjectPrototype);var testView=new $DataView(new $ArrayBuffer(2)),$setInt8=uncurryThis(DataViewPrototype.setInt8);testView.setInt8(0,2147483648),testView.setInt8(1,2147483649),!testView.getInt8(0)&&testView.getInt8(1)||defineBuiltIns(DataViewPrototype,{setInt8:function(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)},setUint8:function(byteOffset,value){$setInt8(this,byteOffset,value<<24>>24)}},{unsafe:!0})}else ArrayBufferPrototype=($ArrayBuffer=function(length){anInstance(this,ArrayBufferPrototype);var byteLength=toIndex(length);setInternalState(this,{type:"ArrayBuffer",bytes:fill(Array(byteLength),0),byteLength:byteLength}),DESCRIPTORS||(this.byteLength=byteLength,this.detached=!1)}).prototype,DataViewPrototype=($DataView=function(buffer,byteOffset,byteLength){anInstance(this,DataViewPrototype),anInstance(buffer,ArrayBufferPrototype);var bufferState=getInternalArrayBufferState(buffer),bufferLength=bufferState.byteLength,offset=toIntegerOrInfinity(byteOffset);if(offset<0||offset>bufferLength)throw RangeError("Wrong offset");if(offset+(byteLength=void 0===byteLength?bufferLength-offset:toLength(byteLength))>bufferLength)throw RangeError("Wrong length");setInternalState(this,{type:"DataView",buffer:buffer,byteLength:byteLength,byteOffset:offset,bytes:bufferState.bytes}),DESCRIPTORS||(this.buffer=buffer,this.byteLength=byteLength,this.byteOffset=offset)}).prototype,DESCRIPTORS&&(addGetter($ArrayBuffer,"byteLength",getInternalArrayBufferState),addGetter($DataView,"buffer",getInternalDataViewState),addGetter($DataView,"byteLength",getInternalDataViewState),addGetter($DataView,"byteOffset",getInternalDataViewState)),defineBuiltIns(DataViewPrototype,{getInt8:function(byteOffset){return get(this,1,byteOffset)[0]<<24>>24},getUint8:function(byteOffset){return get(this,1,byteOffset)[0]},getInt16:function(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1&&arguments[1]);return(bytes[1]<<8|bytes[0])<<16>>16},getUint16:function(byteOffset){var bytes=get(this,2,byteOffset,arguments.length>1&&arguments[1]);return bytes[1]<<8|bytes[0]},getInt32:function(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1&&arguments[1]))},getUint32:function(byteOffset){return unpackInt32(get(this,4,byteOffset,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(byteOffset){return unpackIEEE754(get(this,4,byteOffset,arguments.length>1&&arguments[1]),23)},getFloat64:function(byteOffset){return unpackIEEE754(get(this,8,byteOffset,arguments.length>1&&arguments[1]),52)},setInt8:function(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setUint8:function(byteOffset,value){set(this,1,byteOffset,packInt8,value)},setInt16:function(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2&&arguments[2])},setUint16:function(byteOffset,value){set(this,2,byteOffset,packInt16,value,arguments.length>2&&arguments[2])},setInt32:function(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2&&arguments[2])},setUint32:function(byteOffset,value){set(this,4,byteOffset,packInt32,value,arguments.length>2&&arguments[2])},setFloat32:function(byteOffset,value){set(this,4,byteOffset,packFloat32,value,arguments.length>2&&arguments[2])},setFloat64:function(byteOffset,value){set(this,8,byteOffset,packFloat64,value,arguments.length>2&&arguments[2])}});setToStringTag($ArrayBuffer,"ArrayBuffer"),setToStringTag($DataView,"DataView"),module.exports={ArrayBuffer:$ArrayBuffer,DataView:$DataView}},1048:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toObject=__webpack_require__(47908),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),deletePropertyOrThrow=__webpack_require__(85117),min=Math.min;module.exports=[].copyWithin||function(target,start){var O=toObject(this),len=lengthOfArrayLike(O),to=toAbsoluteIndex(target,len),from=toAbsoluteIndex(start,len),end=arguments.length>2?arguments[2]:void 0,count=min((void 0===end?len:toAbsoluteIndex(end,len))-from,len-to),inc=1;for(from0;)from in O?O[to]=O[from]:deletePropertyOrThrow(O,to),to+=inc,from+=inc;return O}},21285:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var toObject=__webpack_require__(47908),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244);module.exports=function(value){for(var O=toObject(this),length=lengthOfArrayLike(O),argumentsLength=arguments.length,index=toAbsoluteIndex(argumentsLength>1?arguments[1]:void 0,length),end=argumentsLength>2?arguments[2]:void 0,endPos=void 0===end?length:toAbsoluteIndex(end,length);endPos>index;)O[index++]=value;return O}},18533:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var $forEach=__webpack_require__(42092).forEach,STRICT_METHOD=__webpack_require__(9341)("forEach");module.exports=STRICT_METHOD?[].forEach:function(callbackfn){return $forEach(this,callbackfn,arguments.length>1?arguments[1]:void 0)}},97745:function(module,__unused_webpack_exports,__webpack_require__){var lengthOfArrayLike=__webpack_require__(26244);module.exports=function(Constructor,list){for(var index=0,length=lengthOfArrayLike(list),result=new Constructor(length);length>index;)result[index]=list[index++];return result}},48457:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var bind=__webpack_require__(49974),call=__webpack_require__(46916),toObject=__webpack_require__(47908),callWithSafeIterationClosing=__webpack_require__(53411),isArrayIteratorMethod=__webpack_require__(97659),isConstructor=__webpack_require__(4411),lengthOfArrayLike=__webpack_require__(26244),createProperty=__webpack_require__(86135),getIterator=__webpack_require__(18554),getIteratorMethod=__webpack_require__(71246),$Array=Array;module.exports=function(arrayLike){var O=toObject(arrayLike),IS_CONSTRUCTOR=isConstructor(this),argumentsLength=arguments.length,mapfn=argumentsLength>1?arguments[1]:void 0,mapping=void 0!==mapfn;mapping&&(mapfn=bind(mapfn,argumentsLength>2?arguments[2]:void 0));var length,result,step,iterator,next,value,iteratorMethod=getIteratorMethod(O),index=0;if(!iteratorMethod||this===$Array&&isArrayIteratorMethod(iteratorMethod))for(length=lengthOfArrayLike(O),result=IS_CONSTRUCTOR?new this(length):$Array(length);length>index;index++)value=mapping?mapfn(O[index],index):O[index],createProperty(result,index,value);else for(next=(iterator=getIterator(O,iteratorMethod)).next,result=IS_CONSTRUCTOR?new this:[];!(step=call(next,iterator)).done;index++)value=mapping?callWithSafeIterationClosing(iterator,mapfn,[step.value,index],!0):step.value,createProperty(result,index,value);return result.length=index,result}},41318:function(module,__unused_webpack_exports,__webpack_require__){var toIndexedObject=__webpack_require__(45656),toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),createMethod=function(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},42092:function(module,__unused_webpack_exports,__webpack_require__){var bind=__webpack_require__(49974),uncurryThis=__webpack_require__(1702),IndexedObject=__webpack_require__(68361),toObject=__webpack_require__(47908),lengthOfArrayLike=__webpack_require__(26244),arraySpeciesCreate=__webpack_require__(65417),push=uncurryThis([].push),createMethod=function(TYPE){var IS_MAP=1==TYPE,IS_FILTER=2==TYPE,IS_SOME=3==TYPE,IS_EVERY=4==TYPE,IS_FIND_INDEX=6==TYPE,IS_FILTER_REJECT=7==TYPE,NO_HOLES=5==TYPE||IS_FIND_INDEX;return function($this,callbackfn,that,specificCreate){for(var value,result,O=toObject($this),self=IndexedObject(O),boundFunction=bind(callbackfn,that),length=lengthOfArrayLike(self),index=0,create=specificCreate||arraySpeciesCreate,target=IS_MAP?create($this,length):IS_FILTER||IS_FILTER_REJECT?create($this,0):void 0;length>index;index++)if((NO_HOLES||index in self)&&(result=boundFunction(value=self[index],index,O),TYPE))if(IS_MAP)target[index]=result;else if(result)switch(TYPE){case 3:return!0;case 5:return value;case 6:return index;case 2:push(target,value)}else switch(TYPE){case 4:return!1;case 7:push(target,value)}return IS_FIND_INDEX?-1:IS_SOME||IS_EVERY?IS_EVERY:target}};module.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},86583:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var apply=__webpack_require__(22104),toIndexedObject=__webpack_require__(45656),toIntegerOrInfinity=__webpack_require__(19303),lengthOfArrayLike=__webpack_require__(26244),arrayMethodIsStrict=__webpack_require__(9341),min=Math.min,$lastIndexOf=[].lastIndexOf,NEGATIVE_ZERO=!!$lastIndexOf&&1/[1].lastIndexOf(1,-0)<0,STRICT_METHOD=arrayMethodIsStrict("lastIndexOf"),FORCED=NEGATIVE_ZERO||!STRICT_METHOD;module.exports=FORCED?function(searchElement){if(NEGATIVE_ZERO)return apply($lastIndexOf,this,arguments)||0;var O=toIndexedObject(this),length=lengthOfArrayLike(O),index=length-1;for(arguments.length>1&&(index=min(index,toIntegerOrInfinity(arguments[1]))),index<0&&(index=length+index);index>=0;index--)if(index in O&&O[index]===searchElement)return index||0;return-1}:$lastIndexOf},81194:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),V8_VERSION=__webpack_require__(7392),SPECIES=wellKnownSymbol("species");module.exports=function(METHOD_NAME){return V8_VERSION>=51||!fails((function(){var array=[];return(array.constructor={})[SPECIES]=function(){return{foo:1}},1!==array[METHOD_NAME](Boolean).foo}))}},9341:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var fails=__webpack_require__(47293);module.exports=function(METHOD_NAME,argument){var method=[][METHOD_NAME];return!!method&&fails((function(){method.call(null,argument||function(){return 1},1)}))}},53671:function(module,__unused_webpack_exports,__webpack_require__){var aCallable=__webpack_require__(19662),toObject=__webpack_require__(47908),IndexedObject=__webpack_require__(68361),lengthOfArrayLike=__webpack_require__(26244),$TypeError=TypeError,createMethod=function(IS_RIGHT){return function(that,callbackfn,argumentsLength,memo){aCallable(callbackfn);var O=toObject(that),self=IndexedObject(O),length=lengthOfArrayLike(O),index=IS_RIGHT?length-1:0,i=IS_RIGHT?-1:1;if(argumentsLength<2)for(;;){if(index in self){memo=self[index],index+=i;break}if(index+=i,IS_RIGHT?index<0:length<=index)throw $TypeError("Reduce of empty array with no initial value")}for(;IS_RIGHT?index>=0:length>index;index+=i)index in self&&(memo=callbackfn(memo,self[index],index,O));return memo}};module.exports={left:createMethod(!1),right:createMethod(!0)}},83658:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(19781),isArray=__webpack_require__(43157),$TypeError=TypeError,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,SILENT_ON_NON_WRITABLE_LENGTH_SET=DESCRIPTORS&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(error){return error instanceof TypeError}}();module.exports=SILENT_ON_NON_WRITABLE_LENGTH_SET?function(O,length){if(isArray(O)&&!getOwnPropertyDescriptor(O,"length").writable)throw $TypeError("Cannot set read only .length");return O.length=length}:function(O,length){return O.length=length}},41589:function(module,__unused_webpack_exports,__webpack_require__){var toAbsoluteIndex=__webpack_require__(51400),lengthOfArrayLike=__webpack_require__(26244),createProperty=__webpack_require__(86135),$Array=Array,max=Math.max;module.exports=function(O,start,end){for(var length=lengthOfArrayLike(O),k=toAbsoluteIndex(start,length),fin=toAbsoluteIndex(void 0===end?length:end,length),result=$Array(max(fin-k,0)),n=0;k0;)array[j]=array[--j];j!==i++&&(array[j]=element)}return array},merge=function(array,left,right,comparefn){for(var llength=left.length,rlength=right.length,lindex=0,rindex=0;lindex1?arguments[1]:void 0);entry=entry?entry.next:state.first;)for(boundFunction(entry.value,entry.key,this);entry&&entry.removed;)entry=entry.previous},has:function(key){return!!getEntry(this,key)}}),defineBuiltIns(Prototype,IS_MAP?{get:function(key){var entry=getEntry(this,key);return entry&&entry.value},set:function(key,value){return define(this,0===key?0:key,value)}}:{add:function(value){return define(this,value=0===value?0:value,value)}}),DESCRIPTORS&&defineBuiltInAccessor(Prototype,"size",{configurable:!0,get:function(){return getInternalState(this).size}}),Constructor},setStrong:function(Constructor,CONSTRUCTOR_NAME,IS_MAP){var ITERATOR_NAME=CONSTRUCTOR_NAME+" Iterator",getInternalCollectionState=internalStateGetterFor(CONSTRUCTOR_NAME),getInternalIteratorState=internalStateGetterFor(ITERATOR_NAME);defineIterator(Constructor,CONSTRUCTOR_NAME,(function(iterated,kind){setInternalState(this,{type:ITERATOR_NAME,target:iterated,state:getInternalCollectionState(iterated),kind:kind,last:void 0})}),(function(){for(var state=getInternalIteratorState(this),kind=state.kind,entry=state.last;entry&&entry.removed;)entry=entry.previous;return state.target&&(state.last=entry=entry?entry.next:state.state.first)?createIterResultObject("keys"==kind?entry.key:"values"==kind?entry.value:[entry.key,entry.value],!1):(state.target=void 0,createIterResultObject(void 0,!0))}),IS_MAP?"entries":"values",!IS_MAP,!0),setSpecies(CONSTRUCTOR_NAME)}}},77710:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__(82109),global=__webpack_require__(17854),uncurryThis=__webpack_require__(1702),isForced=__webpack_require__(54705),defineBuiltIn=__webpack_require__(98052),InternalMetadataModule=__webpack_require__(62423),iterate=__webpack_require__(20408),anInstance=__webpack_require__(25787),isCallable=__webpack_require__(60614),isNullOrUndefined=__webpack_require__(68554),isObject=__webpack_require__(70111),fails=__webpack_require__(47293),checkCorrectnessOfIteration=__webpack_require__(17072),setToStringTag=__webpack_require__(58003),inheritIfRequired=__webpack_require__(79587);module.exports=function(CONSTRUCTOR_NAME,wrapper,common){var IS_MAP=-1!==CONSTRUCTOR_NAME.indexOf("Map"),IS_WEAK=-1!==CONSTRUCTOR_NAME.indexOf("Weak"),ADDER=IS_MAP?"set":"add",NativeConstructor=global[CONSTRUCTOR_NAME],NativePrototype=NativeConstructor&&NativeConstructor.prototype,Constructor=NativeConstructor,exported={},fixMethod=function(KEY){var uncurriedNativeMethod=uncurryThis(NativePrototype[KEY]);defineBuiltIn(NativePrototype,KEY,"add"==KEY?function(value){return uncurriedNativeMethod(this,0===value?0:value),this}:"delete"==KEY?function(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:"get"==KEY?function(key){return IS_WEAK&&!isObject(key)?void 0:uncurriedNativeMethod(this,0===key?0:key)}:"has"==KEY?function(key){return!(IS_WEAK&&!isObject(key))&&uncurriedNativeMethod(this,0===key?0:key)}:function(key,value){return uncurriedNativeMethod(this,0===key?0:key,value),this})};if(isForced(CONSTRUCTOR_NAME,!isCallable(NativeConstructor)||!(IS_WEAK||NativePrototype.forEach&&!fails((function(){(new NativeConstructor).entries().next()})))))Constructor=common.getConstructor(wrapper,CONSTRUCTOR_NAME,IS_MAP,ADDER),InternalMetadataModule.enable();else if(isForced(CONSTRUCTOR_NAME,!0)){var instance=new Constructor,HASNT_CHAINING=instance[ADDER](IS_WEAK?{}:-0,1)!=instance,THROWS_ON_PRIMITIVES=fails((function(){instance.has(1)})),ACCEPT_ITERABLES=checkCorrectnessOfIteration((function(iterable){new NativeConstructor(iterable)})),BUGGY_ZERO=!IS_WEAK&&fails((function(){for(var $instance=new NativeConstructor,index=5;index--;)$instance[ADDER](index,index);return!$instance.has(-0)}));ACCEPT_ITERABLES||((Constructor=wrapper((function(dummy,iterable){anInstance(dummy,NativePrototype);var that=inheritIfRequired(new NativeConstructor,dummy,Constructor);return isNullOrUndefined(iterable)||iterate(iterable,that[ADDER],{that:that,AS_ENTRIES:IS_MAP}),that}))).prototype=NativePrototype,NativePrototype.constructor=Constructor),(THROWS_ON_PRIMITIVES||BUGGY_ZERO)&&(fixMethod("delete"),fixMethod("has"),IS_MAP&&fixMethod("get")),(BUGGY_ZERO||HASNT_CHAINING)&&fixMethod(ADDER),IS_WEAK&&NativePrototype.clear&&delete NativePrototype.clear}return exported[CONSTRUCTOR_NAME]=Constructor,$({global:!0,constructor:!0,forced:Constructor!=NativeConstructor},exported),setToStringTag(Constructor,CONSTRUCTOR_NAME),IS_WEAK||common.setStrong(Constructor,CONSTRUCTOR_NAME,IS_MAP),Constructor}},99920:function(module,__unused_webpack_exports,__webpack_require__){var hasOwn=__webpack_require__(92597),ownKeys=__webpack_require__(53887),getOwnPropertyDescriptorModule=__webpack_require__(31236),definePropertyModule=__webpack_require__(3070);module.exports=function(target,source,exceptions){for(var keys=ownKeys(source),defineProperty=definePropertyModule.f,getOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,i=0;i9007199254740991)throw $TypeError("Maximum allowed index exceeded");return it}},48324:function(module){module.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}},98509:function(module,__unused_webpack_exports,__webpack_require__){var classList=__webpack_require__(80317)("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype;module.exports=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype},68886:function(module,__unused_webpack_exports,__webpack_require__){var firefox=__webpack_require__(88113).match(/firefox\/(\d+)/i);module.exports=!!firefox&&+firefox[1]},7871:function(module,__unused_webpack_exports,__webpack_require__){var IS_DENO=__webpack_require__(83823),IS_NODE=__webpack_require__(35268);module.exports=!IS_DENO&&!IS_NODE&&"object"==typeof window&&"object"==typeof document},89363:function(module){module.exports="function"==typeof Bun&&Bun&&"string"==typeof Bun.version},83823:function(module){module.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},30256:function(module,__unused_webpack_exports,__webpack_require__){var UA=__webpack_require__(88113);module.exports=/MSIE|Trident/.test(UA)},71528:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/ipad|iphone|ipod/i.test(userAgent)&&"undefined"!=typeof Pebble},6833:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent)},35268:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155),classof=__webpack_require__(84326);module.exports=void 0!==process&&"process"==classof(process)},71036:function(module,__unused_webpack_exports,__webpack_require__){var userAgent=__webpack_require__(88113);module.exports=/web0s(?!.*chrome)/i.test(userAgent)},88113:function(module){module.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(module,__unused_webpack_exports,__webpack_require__){var match,version,global=__webpack_require__(17854),userAgent=__webpack_require__(88113),process=global.process,Deno=global.Deno,versions=process&&process.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/))&&(version=+match[1]),module.exports=version},98008:function(module,__unused_webpack_exports,__webpack_require__){var webkit=__webpack_require__(88113).match(/AppleWebKit\/(\d+)\./);module.exports=!!webkit&&+webkit[1]},80748:function(module){module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),getOwnPropertyDescriptor=__webpack_require__(31236).f,createNonEnumerableProperty=__webpack_require__(68880),defineBuiltIn=__webpack_require__(98052),defineGlobalProperty=__webpack_require__(13072),copyConstructorProperties=__webpack_require__(99920),isForced=__webpack_require__(54705);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||defineGlobalProperty(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),defineBuiltIn(target,key,sourceProperty,options)}}},47293:function(module){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}},27007:function(module,__unused_webpack_exports,__webpack_require__){"use strict";__webpack_require__(74916);var uncurryThis=__webpack_require__(21470),defineBuiltIn=__webpack_require__(98052),regexpExec=__webpack_require__(22261),fails=__webpack_require__(47293),wellKnownSymbol=__webpack_require__(5112),createNonEnumerableProperty=__webpack_require__(68880),SPECIES=wellKnownSymbol("species"),RegExpPrototype=RegExp.prototype;module.exports=function(KEY,exec,FORCED,SHAM){var SYMBOL=wellKnownSymbol(KEY),DELEGATES_TO_SYMBOL=!fails((function(){var O={};return O[SYMBOL]=function(){return 7},7!=""[KEY](O)})),DELEGATES_TO_EXEC=DELEGATES_TO_SYMBOL&&!fails((function(){var execCalled=!1,re=/a/;return"split"===KEY&&((re={}).constructor={},re.constructor[SPECIES]=function(){return re},re.flags="",re[SYMBOL]=/./[SYMBOL]),re.exec=function(){return execCalled=!0,null},re[SYMBOL](""),!execCalled}));if(!DELEGATES_TO_SYMBOL||!DELEGATES_TO_EXEC||FORCED){var uncurriedNativeRegExpMethod=uncurryThis(/./[SYMBOL]),methods=exec(SYMBOL,""[KEY],(function(nativeMethod,regexp,str,arg2,forceStringMethod){var uncurriedNativeMethod=uncurryThis(nativeMethod),$exec=regexp.exec;return $exec===regexpExec||$exec===RegExpPrototype.exec?DELEGATES_TO_SYMBOL&&!forceStringMethod?{done:!0,value:uncurriedNativeRegExpMethod(regexp,str,arg2)}:{done:!0,value:uncurriedNativeMethod(str,regexp,arg2)}:{done:!1}}));defineBuiltIn(String.prototype,KEY,methods[0]),defineBuiltIn(RegExpPrototype,SYMBOL,methods[1])}SHAM&&createNonEnumerableProperty(RegExpPrototype[SYMBOL],"sham",!0)}},6790:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var isArray=__webpack_require__(43157),lengthOfArrayLike=__webpack_require__(26244),doesNotExceedSafeInteger=__webpack_require__(7207),bind=__webpack_require__(49974),flattenIntoArray=function(target,original,source,sourceLen,start,depth,mapper,thisArg){for(var element,elementLen,targetIndex=start,sourceIndex=0,mapFn=!!mapper&&bind(mapper,thisArg);sourceIndex0&&isArray(element)?(elementLen=lengthOfArrayLike(element),targetIndex=flattenIntoArray(target,original,element,elementLen,targetIndex,depth-1)-1):(doesNotExceedSafeInteger(targetIndex+1),target[targetIndex]=element),targetIndex++),sourceIndex++;return targetIndex};module.exports=flattenIntoArray},76677:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:function(module,__unused_webpack_exports,__webpack_require__){var NATIVE_BIND=__webpack_require__(34374),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==typeof Reflect&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})},49974:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(21470),aCallable=__webpack_require__(19662),NATIVE_BIND=__webpack_require__(34374),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}},34374:function(module,__unused_webpack_exports,__webpack_require__){var fails=__webpack_require__(47293);module.exports=!fails((function(){var test=function(){}.bind();return"function"!=typeof test||test.hasOwnProperty("prototype")}))},27065:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var uncurryThis=__webpack_require__(1702),aCallable=__webpack_require__(19662),isObject=__webpack_require__(70111),hasOwn=__webpack_require__(92597),arraySlice=__webpack_require__(50206),NATIVE_BIND=__webpack_require__(34374),$Function=Function,concat=uncurryThis([].concat),join=uncurryThis([].join),factories={},construct=function(C,argsLength,args){if(!hasOwn(factories,argsLength)){for(var list=[],i=0;i]*>)/g,SUBSTITUTION_SYMBOLS_NO_NAMED=/\$([$&'`]|\d{1,2})/g;module.exports=function(matched,str,position,captures,namedCaptures,replacement){var tailPos=position+matched.length,m=captures.length,symbols=SUBSTITUTION_SYMBOLS_NO_NAMED;return void 0!==namedCaptures&&(namedCaptures=toObject(namedCaptures),symbols=SUBSTITUTION_SYMBOLS),replace(replacement,symbols,(function(match,ch){var capture;switch(charAt(ch,0)){case"$":return"$";case"&":return matched;case"`":return stringSlice(str,0,position);case"'":return stringSlice(str,tailPos);case"<":capture=namedCaptures[stringSlice(ch,1,-1)];break;default:var n=+ch;if(0===n)return match;if(n>m){var f=floor(n/10);return 0===f?match:f<=m?void 0===captures[f-1]?charAt(ch,1):captures[f-1]+charAt(ch,1):match}capture=captures[n-1]}return void 0===capture?"":capture}))}},17854:function(module,__unused_webpack_exports,__webpack_require__){var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||this||Function("return this")()},92597:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),toObject=__webpack_require__(47908),hasOwnProperty=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function(it,key){return hasOwnProperty(toObject(it),key)}},3501:function(module){module.exports={}},842:function(module){module.exports=function(a,b){try{1==arguments.length?console.error(a):console.error(a,b)}catch(error){}}},60490:function(module,__unused_webpack_exports,__webpack_require__){var getBuiltIn=__webpack_require__(35005);module.exports=getBuiltIn("document","documentElement")},64664:function(module,__unused_webpack_exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(19781),fails=__webpack_require__(47293),createElement=__webpack_require__(80317);module.exports=!DESCRIPTORS&&!fails((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function(){return 7}}).a}))},11179:function(module){var $Array=Array,abs=Math.abs,pow=Math.pow,floor=Math.floor,log=Math.log,LN2=Math.LN2;module.exports={pack:function(number,mantissaLength,bytes){var exponent,mantissa,c,buffer=$Array(bytes),exponentLength=8*bytes-mantissaLength-1,eMax=(1<>1,rt=23===mantissaLength?pow(2,-24)-pow(2,-77):0,sign=number<0||0===number&&1/number<0?1:0,index=0;for((number=abs(number))!=number||number===1/0?(mantissa=number!=number?1:0,exponent=eMax):(exponent=floor(log(number)/LN2),number*(c=pow(2,-exponent))<1&&(exponent--,c*=2),(number+=exponent+eBias>=1?rt/c:rt*pow(2,1-eBias))*c>=2&&(exponent++,c/=2),exponent+eBias>=eMax?(mantissa=0,exponent=eMax):exponent+eBias>=1?(mantissa=(number*c-1)*pow(2,mantissaLength),exponent+=eBias):(mantissa=number*pow(2,eBias-1)*pow(2,mantissaLength),exponent=0));mantissaLength>=8;)buffer[index++]=255&mantissa,mantissa/=256,mantissaLength-=8;for(exponent=exponent<0;)buffer[index++]=255&exponent,exponent/=256,exponentLength-=8;return buffer[--index]|=128*sign,buffer},unpack:function(buffer,mantissaLength){var mantissa,bytes=buffer.length,exponentLength=8*bytes-mantissaLength-1,eMax=(1<>1,nBits=exponentLength-7,index=bytes-1,sign=buffer[index--],exponent=127&sign;for(sign>>=7;nBits>0;)exponent=256*exponent+buffer[index--],nBits-=8;for(mantissa=exponent&(1<<-nBits)-1,exponent>>=-nBits,nBits+=mantissaLength;nBits>0;)mantissa=256*mantissa+buffer[index--],nBits-=8;if(0===exponent)exponent=1-eBias;else{if(exponent===eMax)return mantissa?NaN:sign?-1/0:1/0;mantissa+=pow(2,mantissaLength),exponent-=eBias}return(sign?-1:1)*mantissa*pow(2,exponent-mantissaLength)}}},68361:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),classof=__webpack_require__(84326),$Object=Object,split=uncurryThis("".split);module.exports=fails((function(){return!$Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classof(it)?split(it,""):$Object(it)}:$Object},79587:function(module,__unused_webpack_exports,__webpack_require__){var isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),setPrototypeOf=__webpack_require__(27674);module.exports=function($this,dummy,Wrapper){var NewTarget,NewTargetPrototype;return setPrototypeOf&&isCallable(NewTarget=dummy.constructor)&&NewTarget!==Wrapper&&isObject(NewTargetPrototype=NewTarget.prototype)&&NewTargetPrototype!==Wrapper.prototype&&setPrototypeOf($this,NewTargetPrototype),$this}},42788:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),isCallable=__webpack_require__(60614),store=__webpack_require__(5465),functionToString=uncurryThis(Function.toString);isCallable(store.inspectSource)||(store.inspectSource=function(it){return functionToString(it)}),module.exports=store.inspectSource},62423:function(module,__unused_webpack_exports,__webpack_require__){var $=__webpack_require__(82109),uncurryThis=__webpack_require__(1702),hiddenKeys=__webpack_require__(3501),isObject=__webpack_require__(70111),hasOwn=__webpack_require__(92597),defineProperty=__webpack_require__(3070).f,getOwnPropertyNamesModule=__webpack_require__(8006),getOwnPropertyNamesExternalModule=__webpack_require__(1156),isExtensible=__webpack_require__(52050),uid=__webpack_require__(69711),FREEZING=__webpack_require__(76677),REQUIRED=!1,METADATA=uid("meta"),id=0,setMetadata=function(it){defineProperty(it,METADATA,{value:{objectID:"O"+id++,weakData:{}}})},meta=module.exports={enable:function(){meta.enable=function(){},REQUIRED=!0;var getOwnPropertyNames=getOwnPropertyNamesModule.f,splice=uncurryThis([].splice),test={};test[METADATA]=1,getOwnPropertyNames(test).length&&(getOwnPropertyNamesModule.f=function(it){for(var result=getOwnPropertyNames(it),i=0,length=result.length;iindex;index++)if((result=callFn(iterable[index]))&&isPrototypeOf(ResultPrototype,result))return result;return new Result(!1)}iterator=getIterator(iterable,iterFn)}for(next=IS_RECORD?iterable.next:iterator.next;!(step=call(next,iterator)).done;){try{result=callFn(step.value)}catch(error){iteratorClose(iterator,"throw",error)}if("object"==typeof result&&result&&isPrototypeOf(ResultPrototype,result))return result}return new Result(!1)}},99212:function(module,__unused_webpack_exports,__webpack_require__){var call=__webpack_require__(46916),anObject=__webpack_require__(19670),getMethod=__webpack_require__(58173);module.exports=function(iterator,kind,value){var innerResult,innerError;anObject(iterator);try{if(!(innerResult=getMethod(iterator,"return"))){if("throw"===kind)throw value;return value}innerResult=call(innerResult,iterator)}catch(error){innerError=!0,innerResult=error}if("throw"===kind)throw value;if(innerError)throw innerResult;return anObject(innerResult),value}},63061:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var IteratorPrototype=__webpack_require__(13383).IteratorPrototype,create=__webpack_require__(70030),createPropertyDescriptor=__webpack_require__(79114),setToStringTag=__webpack_require__(58003),Iterators=__webpack_require__(97497),returnThis=function(){return this};module.exports=function(IteratorConstructor,NAME,next,ENUMERABLE_NEXT){var TO_STRING_TAG=NAME+" Iterator";return IteratorConstructor.prototype=create(IteratorPrototype,{next:createPropertyDescriptor(+!ENUMERABLE_NEXT,next)}),setToStringTag(IteratorConstructor,TO_STRING_TAG,!1,!0),Iterators[TO_STRING_TAG]=returnThis,IteratorConstructor}},51656:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var $=__webpack_require__(82109),call=__webpack_require__(46916),IS_PURE=__webpack_require__(31913),FunctionName=__webpack_require__(76530),isCallable=__webpack_require__(60614),createIteratorConstructor=__webpack_require__(63061),getPrototypeOf=__webpack_require__(79518),setPrototypeOf=__webpack_require__(27674),setToStringTag=__webpack_require__(58003),createNonEnumerableProperty=__webpack_require__(68880),defineBuiltIn=__webpack_require__(98052),wellKnownSymbol=__webpack_require__(5112),Iterators=__webpack_require__(97497),IteratorsCore=__webpack_require__(13383),PROPER_FUNCTION_NAME=FunctionName.PROPER,CONFIGURABLE_FUNCTION_NAME=FunctionName.CONFIGURABLE,IteratorPrototype=IteratorsCore.IteratorPrototype,BUGGY_SAFARI_ITERATORS=IteratorsCore.BUGGY_SAFARI_ITERATORS,ITERATOR=wellKnownSymbol("iterator"),returnThis=function(){return this};module.exports=function(Iterable,NAME,IteratorConstructor,next,DEFAULT,IS_SET,FORCED){createIteratorConstructor(IteratorConstructor,NAME,next);var CurrentIteratorPrototype,methods,KEY,getIterationMethod=function(KIND){if(KIND===DEFAULT&&defaultIterator)return defaultIterator;if(!BUGGY_SAFARI_ITERATORS&&KIND in IterablePrototype)return IterablePrototype[KIND];switch(KIND){case"keys":case"values":case"entries":return function(){return new IteratorConstructor(this,KIND)}}return function(){return new IteratorConstructor(this)}},TO_STRING_TAG=NAME+" Iterator",INCORRECT_VALUES_NAME=!1,IterablePrototype=Iterable.prototype,nativeIterator=IterablePrototype[ITERATOR]||IterablePrototype["@@iterator"]||DEFAULT&&IterablePrototype[DEFAULT],defaultIterator=!BUGGY_SAFARI_ITERATORS&&nativeIterator||getIterationMethod(DEFAULT),anyNativeIterator="Array"==NAME&&IterablePrototype.entries||nativeIterator;if(anyNativeIterator&&(CurrentIteratorPrototype=getPrototypeOf(anyNativeIterator.call(new Iterable)))!==Object.prototype&&CurrentIteratorPrototype.next&&(IS_PURE||getPrototypeOf(CurrentIteratorPrototype)===IteratorPrototype||(setPrototypeOf?setPrototypeOf(CurrentIteratorPrototype,IteratorPrototype):isCallable(CurrentIteratorPrototype[ITERATOR])||defineBuiltIn(CurrentIteratorPrototype,ITERATOR,returnThis)),setToStringTag(CurrentIteratorPrototype,TO_STRING_TAG,!0,!0),IS_PURE&&(Iterators[TO_STRING_TAG]=returnThis)),PROPER_FUNCTION_NAME&&"values"==DEFAULT&&nativeIterator&&"values"!==nativeIterator.name&&(!IS_PURE&&CONFIGURABLE_FUNCTION_NAME?createNonEnumerableProperty(IterablePrototype,"name","values"):(INCORRECT_VALUES_NAME=!0,defaultIterator=function(){return call(nativeIterator,this)})),DEFAULT)if(methods={values:getIterationMethod("values"),keys:IS_SET?defaultIterator:getIterationMethod("keys"),entries:getIterationMethod("entries")},FORCED)for(KEY in methods)(BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME||!(KEY in IterablePrototype))&&defineBuiltIn(IterablePrototype,KEY,methods[KEY]);else $({target:NAME,proto:!0,forced:BUGGY_SAFARI_ITERATORS||INCORRECT_VALUES_NAME},methods);return IS_PURE&&!FORCED||IterablePrototype[ITERATOR]===defaultIterator||defineBuiltIn(IterablePrototype,ITERATOR,defaultIterator,{name:DEFAULT}),Iterators[NAME]=defaultIterator,methods}},13383:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var IteratorPrototype,PrototypeOfArrayIteratorPrototype,arrayIterator,fails=__webpack_require__(47293),isCallable=__webpack_require__(60614),isObject=__webpack_require__(70111),create=__webpack_require__(70030),getPrototypeOf=__webpack_require__(79518),defineBuiltIn=__webpack_require__(98052),wellKnownSymbol=__webpack_require__(5112),IS_PURE=__webpack_require__(31913),ITERATOR=wellKnownSymbol("iterator"),BUGGY_SAFARI_ITERATORS=!1;[].keys&&("next"in(arrayIterator=[].keys())?(PrototypeOfArrayIteratorPrototype=getPrototypeOf(getPrototypeOf(arrayIterator)))!==Object.prototype&&(IteratorPrototype=PrototypeOfArrayIteratorPrototype):BUGGY_SAFARI_ITERATORS=!0),!isObject(IteratorPrototype)||fails((function(){var test={};return IteratorPrototype[ITERATOR].call(test)!==test}))?IteratorPrototype={}:IS_PURE&&(IteratorPrototype=create(IteratorPrototype)),isCallable(IteratorPrototype[ITERATOR])||defineBuiltIn(IteratorPrototype,ITERATOR,(function(){return this})),module.exports={IteratorPrototype:IteratorPrototype,BUGGY_SAFARI_ITERATORS:BUGGY_SAFARI_ITERATORS}},97497:function(module){module.exports={}},26244:function(module,__unused_webpack_exports,__webpack_require__){var toLength=__webpack_require__(17466);module.exports=function(obj){return toLength(obj.length)}},56339:function(module,__unused_webpack_exports,__webpack_require__){var uncurryThis=__webpack_require__(1702),fails=__webpack_require__(47293),isCallable=__webpack_require__(60614),hasOwn=__webpack_require__(92597),DESCRIPTORS=__webpack_require__(19781),CONFIGURABLE_FUNCTION_NAME=__webpack_require__(76530).CONFIGURABLE,inspectSource=__webpack_require__(42788),InternalStateModule=__webpack_require__(29909),enforceInternalState=InternalStateModule.enforce,getInternalState=InternalStateModule.get,$String=String,defineProperty=Object.defineProperty,stringSlice=uncurryThis("".slice),replace=uncurryThis("".replace),join=uncurryThis([].join),CONFIGURABLE_LENGTH=DESCRIPTORS&&!fails((function(){return 8!==defineProperty((function(){}),"length",{value:8}).length})),TEMPLATE=String(String).split("String"),makeBuiltIn=module.exports=function(value,name,options){"Symbol("===stringSlice($String(name),0,7)&&(name="["+replace($String(name),/^Symbol\(([^)]*)\)/,"$1")+"]"),options&&options.getter&&(name="get "+name),options&&options.setter&&(name="set "+name),(!hasOwn(value,"name")||CONFIGURABLE_FUNCTION_NAME&&value.name!==name)&&(DESCRIPTORS?defineProperty(value,"name",{value:name,configurable:!0}):value.name=name),CONFIGURABLE_LENGTH&&options&&hasOwn(options,"arity")&&value.length!==options.arity&&defineProperty(value,"length",{value:options.arity});try{options&&hasOwn(options,"constructor")&&options.constructor?DESCRIPTORS&&defineProperty(value,"prototype",{writable:!1}):value.prototype&&(value.prototype=void 0)}catch(error){}var state=enforceInternalState(value);return hasOwn(state,"source")||(state.source=join(TEMPLATE,"string"==typeof name?name:"")),value};Function.prototype.toString=makeBuiltIn((function(){return isCallable(this)&&getInternalState(this).source||inspectSource(this)}),"toString")},74758:function(module){var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function(x){var n=+x;return(n>0?floor:ceil)(n)}},95948:function(module,__unused_webpack_exports,__webpack_require__){var notify,toggle,node,promise,then,global=__webpack_require__(17854),bind=__webpack_require__(49974),getOwnPropertyDescriptor=__webpack_require__(31236).f,macrotask=__webpack_require__(20261).set,Queue=__webpack_require__(18572),IS_IOS=__webpack_require__(6833),IS_IOS_PEBBLE=__webpack_require__(71528),IS_WEBOS_WEBKIT=__webpack_require__(71036),IS_NODE=__webpack_require__(35268),MutationObserver=global.MutationObserver||global.WebKitMutationObserver,document=global.document,process=global.process,Promise=global.Promise,queueMicrotaskDescriptor=getOwnPropertyDescriptor(global,"queueMicrotask"),microtask=queueMicrotaskDescriptor&&queueMicrotaskDescriptor.value;if(!microtask){var queue=new Queue,flush=function(){var parent,fn;for(IS_NODE&&(parent=process.domain)&&parent.exit();fn=queue.get();)try{fn()}catch(error){throw queue.head&¬ify(),error}parent&&parent.enter()};IS_IOS||IS_NODE||IS_WEBOS_WEBKIT||!MutationObserver||!document?!IS_IOS_PEBBLE&&Promise&&Promise.resolve?((promise=Promise.resolve(void 0)).constructor=Promise,then=bind(promise.then,promise),notify=function(){then(flush)}):IS_NODE?notify=function(){process.nextTick(flush)}:(macrotask=bind(macrotask,global),notify=function(){macrotask(flush)}):(toggle=!0,node=document.createTextNode(""),new MutationObserver(flush).observe(node,{characterData:!0}),notify=function(){node.data=toggle=!toggle}),microtask=function(fn){queue.head||notify(),queue.add(fn)}}module.exports=microtask},78523:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var aCallable=__webpack_require__(19662),$TypeError=TypeError,PromiseCapability=function(C){var resolve,reject;this.promise=new C((function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw $TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject})),this.resolve=aCallable(resolve),this.reject=aCallable(reject)};module.exports.f=function(C){return new PromiseCapability(C)}},3929:function(module,__unused_webpack_exports,__webpack_require__){var isRegExp=__webpack_require__(47850),$TypeError=TypeError;module.exports=function(it){if(isRegExp(it))throw $TypeError("The method doesn't accept regular expressions");return it}},2814:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),uncurryThis=__webpack_require__(1702),toString=__webpack_require__(41340),trim=__webpack_require__(53111).trim,whitespaces=__webpack_require__(81361),charAt=uncurryThis("".charAt),$parseFloat=global.parseFloat,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,FORCED=1/$parseFloat(whitespaces+"-0")!=-1/0||ITERATOR&&!fails((function(){$parseFloat(Object(ITERATOR))}));module.exports=FORCED?function(string){var trimmedString=trim(toString(string)),result=$parseFloat(trimmedString);return 0===result&&"-"==charAt(trimmedString,0)?-0:result}:$parseFloat},83009:function(module,__unused_webpack_exports,__webpack_require__){var global=__webpack_require__(17854),fails=__webpack_require__(47293),uncurryThis=__webpack_require__(1702),toString=__webpack_require__(41340),trim=__webpack_require__(53111).trim,whitespaces=__webpack_require__(81361),$parseInt=global.parseInt,Symbol=global.Symbol,ITERATOR=Symbol&&Symbol.iterator,hex=/^[+-]?0x/i,exec=uncurryThis(hex.exec),FORCED=8!==$parseInt(whitespaces+"08")||22!==$parseInt(whitespaces+"0x16")||ITERATOR&&!fails((function(){$parseInt(Object(ITERATOR))}));module.exports=FORCED?function(string,radix){var S=trim(toString(string));return $parseInt(S,radix>>>0||(exec(hex,S)?16:10))}:$parseInt},21574:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var DESCRIPTORS=__webpack_require__(19781),uncurryThis=__webpack_require__(1702),call=__webpack_require__(46916),fails=__webpack_require__(47293),objectKeys=__webpack_require__(81956),getOwnPropertySymbolsModule=__webpack_require__(25181),propertyIsEnumerableModule=__webpack_require__(55296),toObject=__webpack_require__(47908),IndexedObject=__webpack_require__(68361),$assign=Object.assign,defineProperty=Object.defineProperty,concat=uncurryThis([].concat);module.exports=!$assign||fails((function(){if(DESCRIPTORS&&1!==$assign({b:1},$assign(defineProperty({},"a",{enumerable:!0,get:function(){defineProperty(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var A={},B={},symbol=Symbol();return A[symbol]=7,"abcdefghijklmnopqrst".split("").forEach((function(chr){B[chr]=chr})),7!=$assign({},A)[symbol]||"abcdefghijklmnopqrst"!=objectKeys($assign({},B)).join("")}))?function(target,source){for(var T=toObject(target),argumentsLength=arguments.length,index=1,getOwnPropertySymbols=getOwnPropertySymbolsModule.f,propertyIsEnumerable=propertyIsEnumerableModule.f;argumentsLength>index;)for(var key,S=IndexedObject(arguments[index++]),keys=getOwnPropertySymbols?concat(objectKeys(S),getOwnPropertySymbols(S)):objectKeys(S),length=keys.length,j=0;length>j;)key=keys[j++],DESCRIPTORS&&!call(propertyIsEnumerable,S,key)||(T[key]=S[key]);return T}:$assign},70030:function(module,__unused_webpack_exports,__webpack_require__){var activeXDocument,anObject=__webpack_require__(19670),definePropertiesModule=__webpack_require__(36048),enumBugKeys=__webpack_require__(80748),hiddenKeys=__webpack_require__(3501),html=__webpack_require__(60490),documentCreateElement=__webpack_require__(80317),sharedKey=__webpack_require__(6200),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"