{"version":3,"sources":["jsdelivr-header.js","/npm/amazon-connect-streams@2.31.1/release/connect-streams.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNS,MACC,IAAI,EAAsB,CAE9B,IACL,EAAyB,EAAqB,GAE/C,aAEA,EAAoB,EAAE,GAGtB,EAAoB,EAAE,EAAqB,CACzC,eAAgB,IAAM,EACtB,kBAAmB,IAAM,EACzB,+BAAgC,IAAM,EACtC,kBAAmB,IAAM,EACzB,aAAc,IAAM,IAItB,MAAM,EAAoB,uBAI1B,IAAI,EAA+B,SAAS,GAExC,OADA,EAA6B,aAAI,eAC1B,CACX,CAHmC,CAGjC,CAAC,GAIC,EAAU,EAAoB,KAE9B,EAAkB,EAAoB,KACtC,EAAuC,EAAoB,EAAE,GAOjE,IACI,EACA,EAFA,EAAc,EAMd,SAAS,EAAa,GACtB,IAAK,EAAuB,CACxB,EAAS,IAAI,EAA2B,GAAG,CACvC,WACA,OAAQ,IAEZ,EAAO,MAAM,gCACb,MAAM,EAAS,MAYvB,gBAAmC,SAAE,IACjC,UACU,EAAS,WAAW,QAAQ,EAAmB,EAAe,cACpE,EAAc,CAClB,CAAE,MAAO,GACD,EAAc,IACd,EAAO,MAAM,kCAAmC,CAC5C,QACA,WAAY,IAEhB,IAER,CACJ,CAxBiB,CAAoB,CACrB,cAGR,EAAwB,IAA0B,EAnB5B,IAmB2D,CAC7E,SAAS,EACT,UAAU,GAElB,CACA,GACJ,CAkBA,IAAI,EAAkC,SAAS,GAI3C,OAHA,EAAqC,kBAAI,qBACzC,EAA4C,yBAAI,6BAChD,EAAyC,sBAAI,0BACtC,CACX,CALsC,CAKpC,CAAC,GAOH,MAAM,UAAuC,EAA2B,GACpE,mBAAA,CAAoB,GAChB,KAAK,QAAQ,MAAM,UAAU,CACzB,IAAK,EAAkB,mBACxB,EACP,CACA,oBAAA,CAAqB,GACjB,KAAK,QAAQ,MAAM,YAAY,CAC3B,IAAK,EAAkB,mBACxB,EACP,CACA,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iB,QACxB,IAAM,EAEP,OADA,EAAoB,EAAE,EAAQ,CAAE,EAAG,IAC5B,GAKR,EAAoB,EAAI,CAAC,EAAS,KACjC,IAAI,IAAI,KAAO,EACX,EAAoB,EAAE,EAAY,KAAS,EAAoB,EAAE,EAAS,IAC5E,OAAO,eAAe,EAAS,EAAK,CAAE,YAAY,EAAM,IAAK,EAAW,MAM3E,EAAoB,EAAI,WACvB,GAA0B,iBAAf,WAAyB,OAAO,WAC3C,IACC,OAAO,MAAQ,IAAI,SAAS,cAAb,EAChB,CAAE,MAAO,GACR,GAAsB,iBAAX,OAAqB,OAAO,MACxC,CACA,CAPuB,GAUxB,EAAoB,EAAI,CAAC,EAAK,IAAU,OAAO,UAAU,eAAe,KAAK,EAAK,GAIlF,EAAoB,EAAK,IACxB,OAAO,eAAe,EAAS,OAAO,YAAa,CAAE,MAAO,WAC5D,OAAO,eAAe,EAAS,aAAc,CAAE,OAAO,KAQvD,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,IACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,IACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACpB,EAAoB,KACM,EAAoB,IAE9C,EAhgxBD","file":"/npm/amazon-connect-streams@2.31.1/release/connect-streams.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.51.2.\n * Original file: /npm/amazon-connect-streams@2.31.1/release/connect-streams.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ 578\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  ActivityRoutes: () => (/* reexport */ ActivityRoutes),\n  ActivityTopicKeys: () => (/* reexport */ ActivityTopicKeys),\n  SessionExpirationWarningClient: () => (/* reexport */ SessionExpirationWarningClient),\n  activityNamespace: () => (/* reexport */ activityNamespace),\n  sendActivity: () => (/* reexport */ sendActivity)\n});\n\n;// ./node_modules/@amazon-connect/activity/lib-esm/activity-namespace.js\nconst activityNamespace = \"aws.connect.activity\";\n\n\n;// ./node_modules/@amazon-connect/activity/lib-esm/routes.js\nvar ActivityRoutes = /*#__PURE__*/ function(ActivityRoutes) {\n    ActivityRoutes[\"sendActivity\"] = \"sendActivity\";\n    return ActivityRoutes;\n}({});\n\n\n// EXTERNAL MODULE: ./node_modules/@amazon-connect/core/lib-esm/index.js + 55 modules\nvar lib_esm = __webpack_require__(185);\n// EXTERNAL MODULE: ./node_modules/lodash.debounce/index.js\nvar lodash_debounce = __webpack_require__(181);\nvar lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce);\n;// ./node_modules/@amazon-connect/activity/lib-esm/send-activity-callback.js\n\n\n\n\nconst DEFAULT_DEBOUNCE_TIME = 1000;\nlet loggerCount = 0;\nlet logger;\nlet debouncedSendActivity;\n/**\n * Sends activity signals to keep agent active\n * @param provider\n */ function sendActivity(provider) {\n    if (!debouncedSendActivity) {\n        logger = new lib_esm/* ConnectLogger */.pg({\n            provider,\n            source: activityNamespace\n        });\n        logger.debug(\"Creating activity callback..\");\n        const action = ()=>{\n            void sendActivityRequest({\n                provider\n            });\n        };\n        debouncedSendActivity = lodash_debounce_default()(action, DEFAULT_DEBOUNCE_TIME, {\n            leading: true,\n            trailing: false\n        });\n    }\n    debouncedSendActivity();\n}\nasync function sendActivityRequest({ provider }) {\n    try {\n        await provider.getProxy().request(activityNamespace, ActivityRoutes.sendActivity);\n        loggerCount = 0;\n    } catch (error) {\n        if (loggerCount < 5) {\n            logger.error(\"Failed to record agent activity\", {\n                error,\n                errorCount: loggerCount\n            });\n            loggerCount++;\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/activity/lib-esm/topic-keys.js\nvar ActivityTopicKeys = /*#__PURE__*/ function(ActivityTopicKeys) {\n    ActivityTopicKeys[\"expirationWarning\"] = \"expiration-warning\";\n    ActivityTopicKeys[\"expirationWarningCleared\"] = \"expiration-warning-cleared\";\n    ActivityTopicKeys[\"sessionExtensionError\"] = \"session-extension-error\";\n    return ActivityTopicKeys;\n}({});\n\n\n;// ./node_modules/@amazon-connect/activity/lib-esm/session-expiration-warning-client.js\n\n\n\nclass SessionExpirationWarningClient extends lib_esm/* ConnectClient */.C$ {\n    onExpirationWarning(handler) {\n        this.context.proxy.subscribe({\n            key: ActivityTopicKeys.expirationWarning\n        }, handler);\n    }\n    offExpirationWarning(handler) {\n        this.context.proxy.unsubscribe({\n            key: ActivityTopicKeys.expirationWarning\n        }, handler);\n    }\n    onExpirationWarningCleared(handler) {\n        this.context.proxy.subscribe({\n            key: ActivityTopicKeys.expirationWarningCleared\n        }, handler);\n    }\n    offExpirationWarningCleared(handler) {\n        this.context.proxy.unsubscribe({\n            key: ActivityTopicKeys.expirationWarningCleared\n        }, handler);\n    }\n    onSessionExtensionError(handler) {\n        this.context.proxy.subscribe({\n            key: ActivityTopicKeys.sessionExtensionError\n        }, handler);\n    }\n    offSessionExtensionError(handler) {\n        this.context.proxy.unsubscribe({\n            key: ActivityTopicKeys.sessionExtensionError\n        }, handler);\n    }\n    constructor(config){\n        super(activityNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/activity/lib-esm/index.js\n\n\n\n\n\n\n\n\n/***/ },\n\n/***/ 791\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  AgentClient: () => (/* reexport */ AgentClient),\n  AgentRoutes: () => (/* reexport */ AgentRoutes),\n  AgentTopicKey: () => (/* reexport */ AgentTopicKey),\n  ContactClient: () => (/* reexport */ ContactClient),\n  ContactLifecycleTopicKey: () => (/* reexport */ ContactLifecycleTopicKey),\n  ContactRoutes: () => (/* reexport */ ContactRoutes),\n  ContactStateType: () => (/* reexport */ ContactStateType),\n  ContactTopicKey: () => (/* reexport */ ContactTopicKey),\n  ParticipantStateType: () => (/* reexport */ ParticipantStateType),\n  contactNamespace: () => (/* reexport */ contactNamespace)\n});\n\n// EXTERNAL MODULE: ./node_modules/@amazon-connect/core/lib-esm/index.js + 55 modules\nvar lib_esm = __webpack_require__(185);\n;// ./node_modules/@amazon-connect/contact/lib-esm/namespace.js\nconst contactNamespace = \"aws.connect.contact\";\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/routes.js\nvar AgentRoutes = /*#__PURE__*/ function(AgentRoutes) {\n    AgentRoutes[\"getARN\"] = \"agent/getARN\";\n    AgentRoutes[\"getName\"] = \"agent/getName\";\n    AgentRoutes[\"getState\"] = \"agent/getState\";\n    AgentRoutes[\"getRoutingProfile\"] = \"agent/getRoutingProfile\";\n    AgentRoutes[\"getChannelConcurrency\"] = \"agent/getChannelConcurrency\";\n    AgentRoutes[\"getExtension\"] = \"agent/getExtension\";\n    AgentRoutes[\"getDialableCountries\"] = \"agent/getDialableCountries\";\n    AgentRoutes[\"setAvailabilityState\"] = \"agent/setAvailabilityState\";\n    AgentRoutes[\"setAvailabilityStateByName\"] = \"agent/setAvailabilityStateByName\";\n    AgentRoutes[\"setOffline\"] = \"agent/setOffline\";\n    AgentRoutes[\"listAvailabilityStates\"] = \"agent/listAvailabilityStates\";\n    AgentRoutes[\"listQuickConnects\"] = \"agent/listQuickConnects\";\n    AgentRoutes[\"getNetworkConnectionStatus\"] = \"agent/getNetworkConnectionStatus\";\n    AgentRoutes[\"getDefaultOutboundQueue\"] = \"agent/getDefaultOutboundQueue\";\n    AgentRoutes[\"getRoutingProfileQueues\"] = \"agent/getRoutingProfileQueues\";\n    AgentRoutes[\"getAvailabilityState\"] = \"agent/getAvailabilityState\";\n    AgentRoutes[\"listSecurityProfilePermissions\"] = \"agent/listSecurityProfilePermissions\";\n    return AgentRoutes;\n}({});\nvar ContactRoutes = /*#__PURE__*/ function(ContactRoutes) {\n    ContactRoutes[\"getAllContactAttributes\"] = \"contact/getAllContactAttributes\";\n    ContactRoutes[\"getContactAttributes\"] = \"contact/getContactAttributes\";\n    ContactRoutes[\"getContactAttribute\"] = \"contact/getContactAttribute\";\n    /**\n   * @deprecated Serves the deprecated `getAttributes` and `getAttribute`. Use\n   * `getContactAttributes` or `getAllContactAttributes`.\n   */ ContactRoutes[\"getAttributes\"] = \"contact/getAttributes\";\n    ContactRoutes[\"getInitialContactId\"] = \"contact/getInitialContactId\";\n    ContactRoutes[\"getType\"] = \"contact/getType\";\n    ContactRoutes[\"getStateDuration\"] = \"contact/getStateDuration\";\n    ContactRoutes[\"getQueue\"] = \"contact/getQueue\";\n    ContactRoutes[\"getQueueTimestamp\"] = \"contact/getQueueTimestamp\";\n    ContactRoutes[\"getDescription\"] = \"contact/getDescription\";\n    ContactRoutes[\"getReferences\"] = \"contact/getReferences\";\n    ContactRoutes[\"getChannelType\"] = \"contact/getChannelType\";\n    ContactRoutes[\"addParticipant\"] = \"contact/addParticipant\";\n    ContactRoutes[\"transfer\"] = \"contact/transfer\";\n    ContactRoutes[\"accept\"] = \"contact/accept\";\n    ContactRoutes[\"clear\"] = \"contact/clear\";\n    ContactRoutes[\"reject\"] = \"contact/reject\";\n    ContactRoutes[\"disconnectSelf\"] = \"contact/disconnectSelf\";\n    ContactRoutes[\"isAutoAcceptEnabled\"] = \"contact/isAutoAcceptEnabled\";\n    ContactRoutes[\"isPreviewMode\"] = \"contact/isPreviewMode\";\n    ContactRoutes[\"getPreviewConfiguration\"] = \"contact/getPreviewConfiguration\";\n    ContactRoutes[\"engagePreviewContact\"] = \"contact/engagePreviewContact\";\n    ContactRoutes[\"getContactRegion\"] = \"contact/getContactRegion\";\n    ContactRoutes[\"getInstanceDetails\"] = \"contact/getInstanceDetails\";\n    ContactRoutes[\"listParticipants\"] = \"contact/listParticipants\";\n    ContactRoutes[\"getParticipant\"] = \"contact/getParticipant\";\n    ContactRoutes[\"getParticipantState\"] = \"contact/getParticipantState\";\n    ContactRoutes[\"disconnectParticipant\"] = \"contact/disconnectParticipant\";\n    ContactRoutes[\"getContact\"] = \"contact/getContact\";\n    ContactRoutes[\"listContacts\"] = \"contact/listContacts\";\n    return ContactRoutes;\n}({});\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/topic-keys.js\nvar ContactLifecycleTopicKey = /*#__PURE__*/ function(ContactLifecycleTopicKey) {\n    ContactLifecycleTopicKey[\"StartingACW\"] = \"contact/acw\";\n    ContactLifecycleTopicKey[\"Connected\"] = \"contact/connected\";\n    ContactLifecycleTopicKey[\"Destroyed\"] = \"contact/destroy\";\n    ContactLifecycleTopicKey[\"Missed\"] = \"contact/missed\";\n    ContactLifecycleTopicKey[\"Cleared\"] = \"contact/cleared\";\n    ContactLifecycleTopicKey[\"Incoming\"] = \"contact/incoming\";\n    ContactLifecycleTopicKey[\"Connecting\"] = \"contact/connecting\";\n    ContactLifecycleTopicKey[\"Error\"] = \"contact/error\";\n    ContactLifecycleTopicKey[\"Pending\"] = \"contact/pending\";\n    return ContactLifecycleTopicKey;\n}({});\nvar AgentTopicKey = /*#__PURE__*/ function(AgentTopicKey) {\n    AgentTopicKey[\"StateChanged\"] = \"agent/stateChange\";\n    AgentTopicKey[\"RoutingProfileChanged\"] = \"agent/routingProfileChanged\";\n    AgentTopicKey[\"EnabledChannelListChanged\"] = \"agent/enabledChannelListChanged\";\n    AgentTopicKey[\"NetworkConnectionStatusChanged\"] = \"agent/networkConnectionStatusChanged\";\n    AgentTopicKey[\"AvailabilityStateChanged\"] = \"agent/availabilityStateChanged\";\n    AgentTopicKey[\"NextAvailabilityStateChanged\"] = \"agent/nextAvailabilityStateChanged\";\n    return AgentTopicKey;\n}({});\nvar ContactTopicKey = /*#__PURE__*/ function(ContactTopicKey) {\n    ContactTopicKey[\"ParticipantAdded\"] = \"contact/participantAdded\";\n    ContactTopicKey[\"ParticipantDisconnected\"] = \"contact/participantDisconnected\";\n    ContactTopicKey[\"ParticipantStateChanged\"] = \"contact/participantStateChanged\";\n    return ContactTopicKey;\n}({});\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/agent-client.js\n\n\n\n\nclass AgentClient extends lib_esm/* ConnectClientWithOptionalConfig */.uU {\n    async getARN() {\n        const { ARN } = await this.context.proxy.request(AgentRoutes.getARN);\n        return ARN;\n    }\n    async getName() {\n        const { name } = await this.context.proxy.request(AgentRoutes.getName);\n        return name;\n    }\n    /**\n   * @deprecated Use `getAvailabilityState` instead. Will be removed in a future major version.\n   */ getState() {\n        return this.context.proxy.request(AgentRoutes.getState);\n    }\n    getRoutingProfile() {\n        return this.context.proxy.request(AgentRoutes.getRoutingProfile);\n    }\n    getChannelConcurrency() {\n        return this.context.proxy.request(AgentRoutes.getChannelConcurrency);\n    }\n    async getExtension() {\n        const { extension } = await this.context.proxy.request(AgentRoutes.getExtension);\n        return extension;\n    }\n    /**\n   * @deprecated Use `VoiceClient.listDialableCountries` instead.\n   */ async getDialableCountries() {\n        const { dialableCountries } = await this.context.proxy.request(AgentRoutes.getDialableCountries);\n        return dialableCountries;\n    }\n    /**\n   * @deprecated Use `onAvailabilityStateChanged` instead. Will be removed in a future major version.\n   */ onStateChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.StateChanged\n        }, handler);\n    }\n    /**\n   * @deprecated Use `offAvailabilityStateChanged` instead. Will be removed in a future major version.\n   */ offStateChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.StateChanged\n        }, handler);\n    }\n    /**\n   * Subscribes to connection health status change events.\n   *\n   * @param handler - The handler function to invoke when the connection status changes.\n   */ onNetworkConnectionStatusChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.NetworkConnectionStatusChanged\n        }, handler);\n    }\n    /**\n   * Unsubscribes from connection health status change events.\n   *\n   * @param handler - The handler function to remove from the subscription.\n   */ offNetworkConnectionStatusChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.NetworkConnectionStatusChanged\n        }, handler);\n    }\n    /**\n   * Returns the current connection health status.\n   *\n   * Use this to check the connection status at any point,\n   * regardless of when event subscriptions were registered.\n   *\n   * @returns The current connection status and timestamp.\n   */ getNetworkConnectionStatus() {\n        return this.context.proxy.request(AgentRoutes.getNetworkConnectionStatus);\n    }\n    setAvailabilityState(agentStateARN) {\n        return this.context.proxy.request(AgentRoutes.setAvailabilityState, {\n            agentStateARN\n        });\n    }\n    setAvailabilityStateByName(agentStateName) {\n        return this.context.proxy.request(AgentRoutes.setAvailabilityStateByName, {\n            agentStateName\n        });\n    }\n    setOffline() {\n        return this.context.proxy.request(AgentRoutes.setOffline, {});\n    }\n    listAvailabilityStates() {\n        return this.context.proxy.request(AgentRoutes.listAvailabilityStates);\n    }\n    listQuickConnects(queueARNs, options) {\n        return this.context.proxy.request(AgentRoutes.listQuickConnects, {\n            queueARNs,\n            options\n        });\n    }\n    onEnabledChannelListChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.EnabledChannelListChanged\n        }, handler);\n    }\n    offEnabledChannelListChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.EnabledChannelListChanged\n        }, handler);\n    }\n    onRoutingProfileChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.RoutingProfileChanged\n        }, handler);\n    }\n    offRoutingProfileChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.RoutingProfileChanged\n        }, handler);\n    }\n    /**\n   * Returns the agent's default outbound queue from their routing profile.\n   */ getDefaultOutboundQueue() {\n        return this.context.proxy.request(AgentRoutes.getDefaultOutboundQueue);\n    }\n    /**\n   * Returns all queues in the agent's current routing profile.\n   */ getRoutingProfileQueues() {\n        return this.context.proxy.request(AgentRoutes.getRoutingProfileQueues);\n    }\n    /**\n   * Returns the agent's current availability state, plus an optional `nextState`\n   * if the backend has queued a pending state transition until contacts clear.\n   */ getAvailabilityState() {\n        return this.context.proxy.request(AgentRoutes.getAvailabilityState);\n    }\n    /**\n   * Returns the list of security profile permissions for the current agent.\n   */ async listSecurityProfilePermissions() {\n        const { permissions } = await this.context.proxy.request(AgentRoutes.listSecurityProfilePermissions);\n        return permissions;\n    }\n    /**\n   * Subscribes to availability state change events.\n   */ onAvailabilityStateChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.AvailabilityStateChanged\n        }, handler);\n    }\n    /**\n   * Unsubscribes from availability state change events.\n   */ offAvailabilityStateChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.AvailabilityStateChanged\n        }, handler);\n    }\n    /**\n   * Subscribes to next-availability-state change events. Fires when the\n   * agent has a pending state transition queued and that pending state changes.\n   */ onNextAvailabilityStateChanged(handler) {\n        this.context.proxy.subscribe({\n            key: AgentTopicKey.NextAvailabilityStateChanged\n        }, handler);\n    }\n    /**\n   * Unsubscribes from next-availability-state change events.\n   */ offNextAvailabilityStateChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: AgentTopicKey.NextAvailabilityStateChanged\n        }, handler);\n    }\n    constructor(config){\n        super(contactNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/contact-client.js\n\n\n\n\nclass ContactClient extends lib_esm/* ConnectClientWithOptionalConfig */.uU {\n    // requests\n    /**\n   * Retrieves every attribute on a contact.\n   *\n   * @param contactId - The unique identifier for the contact\n   * @returns Promise resolving to a map of attribute key to value. An attribute\n   * whose value is unset is present with an empty string.\n   */ getAllContactAttributes(contactId) {\n        const requestData = {\n            contactId\n        };\n        return this.context.proxy.request(ContactRoutes.getAllContactAttributes, requestData);\n    }\n    /**\n   * Retrieves the requested attributes on a contact.\n   *\n   * @param contactId - The unique identifier for the contact\n   * @param attributes - The attribute keys to retrieve\n   * @returns Promise resolving to a map of attribute key to value, containing\n   * only the requested keys that exist on the contact. An attribute whose value\n   * is unset is present with an empty string.\n   */ getContactAttributes(contactId, attributes) {\n        const requestData = {\n            contactId,\n            attributes\n        };\n        return this.context.proxy.request(ContactRoutes.getContactAttributes, requestData);\n    }\n    /**\n   * Retrieves a single attribute value from a contact.\n   *\n   * @param contactId - The unique identifier for the contact\n   * @param attribute - The attribute key to retrieve\n   * @returns Promise resolving to the attribute value, or `undefined` when the\n   * contact has no such attribute\n   */ async getContactAttribute(contactId, attribute) {\n        const requestData = {\n            contactId,\n            attribute\n        };\n        const { value } = await this.context.proxy.request(ContactRoutes.getContactAttribute, requestData);\n        return value;\n    }\n    /**\n   * @deprecated Use `getContactAttributes` for specific keys, or\n   * `getAllContactAttributes` in place of the `\"*\"` filter.\n   *\n   * Each key holds an `AttributeDetail` object rather than a plain string\n   * value. Read `.value` to get the string, or use one of the replacements\n   * above, which return plain strings.\n   */ getAttributes(contactId, attributes) {\n        const requestData = {\n            contactId,\n            attributes\n        };\n        return this.context.proxy.request(ContactRoutes.getAttributes, requestData);\n    }\n    /**\n   * @deprecated Use `getContactAttribute`.\n   *\n   * Hands back the `AttributeDetail` object for the key rather than a plain\n   * string, and `undefined` when the contact has no such attribute. Read\n   * `.value` to get the string, or use `getContactAttribute`, which returns the\n   * string directly.\n   */ async getAttribute(contactId, attribute) {\n        const result = await this.getAttributes(contactId, [\n            attribute\n        ]);\n        return result[attribute];\n    }\n    async getInitialContactId(contactId) {\n        const data = await this.context.proxy.request(ContactRoutes.getInitialContactId, {\n            contactId\n        });\n        return data.initialContactId;\n    }\n    /**\n   * @deprecated Use `getChannelType` instead.\n   */ async getType(contactId) {\n        const data = await this.context.proxy.request(ContactRoutes.getType, {\n            contactId\n        });\n        return data.type;\n    }\n    async getStateDuration(contactId) {\n        const data = await this.context.proxy.request(ContactRoutes.getStateDuration, {\n            contactId\n        });\n        return data.stateDuration;\n    }\n    getQueue(contactId) {\n        return this.context.proxy.request(ContactRoutes.getQueue, {\n            contactId\n        });\n    }\n    async getQueueTimestamp(contactId) {\n        const data = await this.context.proxy.request(ContactRoutes.getQueueTimestamp, {\n            contactId\n        });\n        return data.queueTimestamp;\n    }\n    onStartingAcw(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.StartingACW,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * @deprecated Use `onCleared` instead.\n   */ onDestroyed(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Destroyed,\n            parameter: contactId\n        }, handler);\n    }\n    onConnected(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Connected,\n            parameter: contactId\n        }, handler);\n    }\n    onMissed(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Missed,\n            parameter: contactId\n        }, handler);\n    }\n    onIncoming(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Incoming,\n            parameter: contactId\n        }, handler);\n    }\n    offStartingAcw(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.StartingACW,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * @deprecated Use `offCleared` instead.\n   */ offDestroyed(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Destroyed,\n            parameter: contactId\n        }, handler);\n    }\n    offMissed(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Missed,\n            parameter: contactId\n        }, handler);\n    }\n    offIncoming(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Incoming,\n            parameter: contactId\n        }, handler);\n    }\n    offConnected(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Connected,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events fired while a contact is being connected.\n   *\n   * @param handler - Event handler invoked when a contact transitions into the connecting state\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onConnecting(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Connecting,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from contact connecting events.\n   */ offConnecting(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Connecting,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events fired when a contact enters the error state.\n   *\n   * @param handler - Event handler invoked when a contact transitions into the error state\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onError(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Error,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from contact error events.\n   */ offError(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Error,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events fired when a contact enters the pending state.\n   *\n   * @param handler - Event handler invoked when a contact transitions into the pending state\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onPending(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Pending,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from contact pending events.\n   */ offPending(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Pending,\n            parameter: contactId\n        }, handler);\n    }\n    async getChannelType(contactId) {\n        return await this.context.proxy.request(ContactRoutes.getChannelType, {\n            contactId\n        });\n    }\n    addParticipant(contactId, quickConnect) {\n        return this.context.proxy.request(ContactRoutes.addParticipant, {\n            contactId,\n            quickConnect\n        });\n    }\n    transfer(contactId, quickConnect) {\n        return this.context.proxy.request(ContactRoutes.transfer, {\n            contactId,\n            quickConnect\n        });\n    }\n    onCleared(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactLifecycleTopicKey.Cleared,\n            parameter: contactId\n        }, handler);\n    }\n    offCleared(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactLifecycleTopicKey.Cleared,\n            parameter: contactId\n        }, handler);\n    }\n    accept(contactId) {\n        return this.context.proxy.request(ContactRoutes.accept, {\n            contactId\n        });\n    }\n    /**\n   * Rejects an incoming contact.\n   *\n   * @param contactId - The unique identifier for the contact\n   */ reject(contactId) {\n        return this.context.proxy.request(ContactRoutes.reject, {\n            contactId\n        });\n    }\n    /**\n   * Disconnects the current user from the contact.\n   *\n   * @param contactId - The unique identifier for the contact\n   */ disconnectSelf(contactId) {\n        return this.context.proxy.request(ContactRoutes.disconnectSelf, {\n            contactId\n        });\n    }\n    /**\n   * Returns whether the contact is configured for auto-accept.\n   *\n   * @param contactId - The unique identifier for the contact\n   * @returns Promise resolving to `true` when auto-accept is enabled\n   */ async isAutoAcceptEnabled(contactId) {\n        const { isAutoAcceptEnabled } = await this.context.proxy.request(ContactRoutes.isAutoAcceptEnabled, {\n            contactId\n        });\n        return isAutoAcceptEnabled;\n    }\n    clear(contactId) {\n        return this.context.proxy.request(ContactRoutes.clear, {\n            contactId\n        });\n    }\n    async isPreviewMode(contactId) {\n        const response = await this.context.proxy.request(ContactRoutes.isPreviewMode, {\n            contactId\n        });\n        return response.isPreviewMode;\n    }\n    async getPreviewConfiguration(contactId) {\n        const response = await this.context.proxy.request(ContactRoutes.getPreviewConfiguration, {\n            contactId\n        });\n        return response;\n    }\n    async engagePreviewContact(contactId) {\n        return this.context.proxy.request(ContactRoutes.engagePreviewContact, {\n            contactId\n        });\n    }\n    async getContactRegion(contactId) {\n        const { region } = await this.context.proxy.request(ContactRoutes.getContactRegion, {\n            contactId\n        });\n        return region;\n    }\n    async getInstanceDetails(contactId) {\n        return await this.context.proxy.request(ContactRoutes.getInstanceDetails, {\n            contactId\n        });\n    }\n    /**\n   * Retrieves all participants associated with a specific contact.\n   * @param contactId - The unique identifier for the contact\n   * @returns Promise resolving to array of participant information\n   */ listParticipants(contactId) {\n        return this.context.proxy.request(ContactRoutes.listParticipants, {\n            contactId\n        });\n    }\n    /**\n   * Retrieves information for a specific participant.\n   * @param participantId - The unique identifier for the participant\n   * @returns Promise resolving to participant information\n   */ getParticipant(participantId) {\n        return this.context.proxy.request(ContactRoutes.getParticipant, {\n            participantId\n        });\n    }\n    /**\n   * Retrieves the current state of a specific participant.\n   * @param participantId - The unique identifier for the participant\n   * @returns Promise resolving to current participant state\n   */ getParticipantState(participantId) {\n        return this.context.proxy.request(ContactRoutes.getParticipantState, {\n            participantId\n        });\n    }\n    /**\n   * Disconnects a specific participant from the contact.\n   * @param participantId - The unique identifier for the participant to disconnect\n   * @returns Promise resolving when the participant is disconnected\n   */ disconnectParticipant(participantId) {\n        return this.context.proxy.request(ContactRoutes.disconnectParticipant, {\n            participantId\n        });\n    }\n    /**\n   * Retrieves detailed information for a specific contact by its ID.\n   * @param contactId - The unique identifier for the contact\n   * @returns Promise resolving to detailed contact information\n   */ getContact(contactId) {\n        return this.context.proxy.request(ContactRoutes.getContact, {\n            contactId\n        });\n    }\n    /**\n   * Lists all contacts for the current agent.\n   * @returns Promise resolving to array of contact information\n   */ listContacts() {\n        return this.context.proxy.request(ContactRoutes.listContacts);\n    }\n    /**\n   * Subscribes to participant added events.\n   * @param handler - Event handler function to call when participants are added\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onParticipantAdded(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactTopicKey.ParticipantAdded,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from participant added events.\n   * @param handler - Event handler function to remove\n   * @param contactId - Optional contact ID to unsubscribe from specific contact events\n   */ offParticipantAdded(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactTopicKey.ParticipantAdded,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to participant disconnected events.\n   * @param handler - Event handler function to call when participants disconnect\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onParticipantDisconnected(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: ContactTopicKey.ParticipantDisconnected,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from participant disconnected events.\n   * @param handler - Event handler function to remove\n   * @param contactId - Optional contact ID to unsubscribe from specific contact events\n   */ offParticipantDisconnected(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: ContactTopicKey.ParticipantDisconnected,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to participant state change events.\n   * @param handler - Event handler function to call when participant state changes\n   * @param participantId - Optional participant ID to filter events for a specific participant\n   */ onParticipantStateChanged(handler, participantId) {\n        this.context.proxy.subscribe({\n            key: ContactTopicKey.ParticipantStateChanged,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from participant state change events.\n   * @param handler - Event handler function to remove\n   * @param participantId - Optional participant ID to unsubscribe from specific participant events\n   */ offParticipantStateChanged(handler, participantId) {\n        this.context.proxy.unsubscribe({\n            key: ContactTopicKey.ParticipantStateChanged,\n            parameter: participantId\n        }, handler);\n    }\n    constructor(config){\n        super(contactNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/states.js\n/**\n * States that a contact can be in.\n */ var ContactStateType = /*#__PURE__*/ function(ContactStateType) {\n    return ContactStateType;\n}({});\n/**\n * States that a participant can be in.\n */ var ParticipantStateType = /*#__PURE__*/ function(ParticipantStateType) {\n    ParticipantStateType[\"Connecting\"] = \"connecting\";\n    ParticipantStateType[\"Connected\"] = \"connected\";\n    ParticipantStateType[\"Hold\"] = \"hold\";\n    ParticipantStateType[\"Disconnected\"] = \"disconnected\";\n    ParticipantStateType[\"Rejected\"] = \"rejected\";\n    ParticipantStateType[\"SilentMonitor\"] = \"silent_monitor\";\n    ParticipantStateType[\"Barge\"] = \"barge\";\n    return ParticipantStateType;\n}({});\n\n\n;// ./node_modules/@amazon-connect/contact/lib-esm/index.js\n\n\n\n\n\n\n\n\n\n\n/***/ },\n\n/***/ 185\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  Lt: () => (/* reexport */ AmazonConnectProviderBase),\n  C$: () => (/* reexport */ ConnectClient),\n  uU: () => (/* reexport */ ConnectClientWithOptionalConfig),\n  pg: () => (/* reexport */ connect_logger_ConnectLogger),\n  by: () => (/* reexport */ Proxy),\n  Lz: () => (/* reexport */ getGlobalProvider),\n  xQ: () => (/* reexport */ getOriginAndPath),\n  XL: () => (/* reexport */ (/* inlined export .sdkVersion */\"1.0.15\"))\n});\n\n// UNUSED EXPORTS: AsyncEventEmitter, ConnectError, ConnectMetricRecorder, Context, DurationMetricRecorder, Emitter, EventEmitter, LogLevel, ModuleContext, RequestManager, SubscriptionHandlerRelay, SubscriptionMap, SubscriptionSet, TimeoutTracker, createLogMessage, createMetricMessage, createModuleProxy, createRequestMessage, deepClone, formatClientTimeoutError, generateStringId, generateUUID, handlerNotFoundResponseErrorKey, isAmazonConnectProvider, isClientTimeoutResponseError, isConnectError, isNoResultResponseError, logToConsole, noResultResponseErrorKey, resetGlobalProvider\n\n;// ./node_modules/@amazon-connect/core/lib-esm/provider/global-provider.js\nlet _provider;\nfunction setGlobalProvider(provider) {\n    if (_provider) throw new Error(\"Global Provider is already set\");\n    _provider = provider;\n}\nfunction resetGlobalProvider(provider) {\n    _provider = provider;\n}\nfunction getGlobalProvider(notSetMessage) {\n    if (!_provider) {\n        throw new Error(notSetMessage ?? \"Attempted to get Global AmazonConnectProvider that has not been set.\");\n    }\n    return _provider;\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/provider/is-provider.js\n/**\n * Type guard to verify that a value represents an AmazonConnectProvider interface.\n * Checks for the presence of required getters and methods without performing\n * runtime validation of the on/off error handling functionality.\n */ /**\n * Type guard function that verifies if a given value implements the\n * basic AmazonConnectProvider interface structure.\n *\n * @param value - The value to check for provider interface compliance\n * @returns True if the value has the required provider interface properties\n *\n * @example\n * ```typescript\n * const someValue = getUnknownValue();\n * if (isAmazonConnectProvider(someValue)) {\n *   // someValue is now typed as having provider interface\n *   console.log(someValue.id);\n *   const proxy = someValue.getProxy();\n * }\n * ```\n */ function isAmazonConnectProvider(value) {\n    if (typeof value !== \"object\" || value === null) {\n        return false;\n    }\n    const candidate = value;\n    // Check for id getter - should be a string\n    if (typeof candidate.id !== \"string\") {\n        return false;\n    }\n    // Check for config getter - should exist (any type acceptable)\n    if (!(\"config\" in candidate)) {\n        return false;\n    }\n    // Check for getProxy method - should be a function\n    if (typeof candidate.getProxy !== \"function\") {\n        return false;\n    }\n    return true;\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/error/connect-error.js\nfunction _define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\nclass ConnectError extends Error {\n    constructor({ reason, namespace, errorKey, details }){\n        super(`ConnectError with error key \"${errorKey}\"`), _define_property(this, \"errorType\", ConnectError.ErrorType), _define_property(this, \"errorKey\", void 0), _define_property(this, \"namespace\", void 0), _define_property(this, \"details\", void 0), _define_property(this, \"reason\", void 0);\n        this.namespace = namespace;\n        this.errorKey = errorKey;\n        this.reason = reason;\n        this.details = details ?? {};\n    }\n}\n_define_property(ConnectError, \"ErrorType\", \"ConnectError\");\nfunction isConnectError(error) {\n    return Boolean(error instanceof ConnectError || error && typeof error === \"object\" && \"errorType\" in error && error.errorType === ConnectError.ErrorType);\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/error/index.js\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/deep-clone.js\n\nfunction deepClone(object) {\n    try {\n        return structuredClone(object);\n    } catch  {\n        try {\n            // Falls back to JSON parse/stringify if structureClone does not exist\n            return JSON.parse(JSON.stringify(object));\n        } catch (cloneError) {\n            throw new ConnectError({\n                errorKey: \"deepCloneFailed\",\n                details: {\n                    actualError: cloneError\n                }\n            });\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/emitter/emitter-base.js\nfunction emitter_base_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass EmitterBase {\n    on(parameter, handler) {\n        const set = this.events.get(parameter);\n        if (set) set.add(handler);\n        else this.events.set(parameter, new Set([\n            handler\n        ]));\n    }\n    off(parameter, handler) {\n        const set = this.events.get(parameter);\n        if (set) {\n            set.delete(handler);\n            if (set.size < 1) this.events.delete(parameter);\n        }\n    }\n    getHandlers(parameter) {\n        return Array.from(this.events.get(parameter) ?? []);\n    }\n    constructor({ provider, loggerKey }){\n        emitter_base_define_property(this, \"events\", void 0);\n        emitter_base_define_property(this, \"logger\", void 0);\n        this.events = new Map();\n        this.logger = new connect_logger_ConnectLogger({\n            provider,\n            source: \"emitter\",\n            mixin: ()=>({\n                    emitterLoggerKey: loggerKey\n                })\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/emitter/async-event-emitter.js\n\nclass AsyncEventEmitter extends EmitterBase {\n    async emit(parameter, event) {\n        const handlers = this.getHandlers(parameter);\n        await Promise.allSettled(handlers.map(async (handler)=>{\n            try {\n                await handler(event);\n            } catch (error) {\n                this.logger.error(\"An error occurred when invoking event handler\", {\n                    error,\n                    parameter\n                });\n            }\n        }));\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/emitter/emitter.js\n/* unused harmony import specifier */ var emitter_EmitterBase;\n\nclass Emitter extends (/* unused pure expression or super */ null && (emitter_EmitterBase)) {\n    emit(parameter) {\n        for (const handler of this.getHandlers(parameter)){\n            try {\n                handler();\n            } catch (error) {\n                this.logger.error(\"An error occurred when invoking handler\", {\n                    error,\n                    parameter\n                });\n            }\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/emitter/event-emitter.js\n/* unused harmony import specifier */ var event_emitter_EmitterBase;\n\nclass EventEmitter extends (/* unused pure expression or super */ null && (event_emitter_EmitterBase)) {\n    emit(parameter, event) {\n        const handlers = this.getHandlers(parameter);\n        for (const handler of handlers){\n            try {\n                handler(event);\n            } catch (error) {\n                this.logger.error(\"An error occurred when invoking event handler\", {\n                    error,\n                    parameter\n                });\n            }\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/emitter/index.js\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/id-generator.js\nfunction generateStringId(length) {\n    const a = new Uint8Array(Math.ceil(length / 2));\n    crypto.getRandomValues(a);\n    return Array.from(a, (d)=>d.toString(16).padStart(2, \"0\")).join(\"\").substring(0, length);\n}\nfunction generateUUID() {\n    if (\"randomUUID\" in crypto) {\n        return crypto.randomUUID();\n    } else {\n        return \"10000000-1000-4000-8000-100000000000\".replace(/[018]/g, (c)=>{\n            const d = parseInt(c);\n            return (d ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> d / 4).toString(16);\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/location-helpers.js\nfunction getOriginAndPath() {\n    return {\n        origin: document?.location?.origin ?? \"unknown\",\n        path: document?.location?.pathname ?? \"unknown\"\n    };\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/module-proxy-factory.js\nfunction createModuleProxy(proxy, namespace) {\n    return {\n        request: (command, data)=>proxy.request(namespace, command, data),\n        subscribe: (topic, handler)=>proxy.subscribe({\n                ...topic,\n                namespace\n            }, handler),\n        unsubscribe: (topic, handler)=>proxy.unsubscribe({\n                ...topic,\n                namespace\n            }, handler),\n        getProxyInfo: ()=>({\n                connectionStatus: proxy.connectionStatus,\n                proxyType: proxy.proxyType\n            }),\n        onConnectionStatusChange: (h)=>proxy.onConnectionStatusChange(h),\n        offConnectionStatusChange: (h)=>proxy.offConnectionStatusChange(h)\n    };\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/messaging/subscription/subscription-handler-id-map.js\nfunction subscription_handler_id_map_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass SubscriptionHandlerIdMap {\n    add(handler) {\n        const existingId = this.idsByHandler.get(handler);\n        if (existingId) {\n            return {\n                handlerId: existingId\n            };\n        }\n        const handlerId = generateUUID();\n        this.idsByHandler.set(handler, handlerId);\n        this.handlersById.set(handlerId, handler);\n        return {\n            handlerId\n        };\n    }\n    getIdByHandler(handler) {\n        return this.idsByHandler.get(handler) ?? null;\n    }\n    getHandlerById(id) {\n        return this.handlersById.get(id) ?? null;\n    }\n    get() {\n        return [\n            ...this.idsByHandler.entries()\n        ].map(([handler, handlerId])=>({\n                handler,\n                handlerId\n            }));\n    }\n    delete(handler) {\n        const handlerId = this.idsByHandler.get(handler);\n        if (handlerId) this.handlersById.delete(handlerId);\n        this.idsByHandler.delete(handler);\n        return {\n            isEmpty: this.idsByHandler.size < 1\n        };\n    }\n    size() {\n        return this.idsByHandler.size;\n    }\n    constructor(){\n        subscription_handler_id_map_define_property(this, \"idsByHandler\", void 0);\n        subscription_handler_id_map_define_property(this, \"handlersById\", void 0);\n        this.idsByHandler = new Map();\n        this.handlersById = new Map();\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/messaging/subscription/subscription-map.js\nfunction subscription_map_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\nclass SubscriptionMap {\n    add({ namespace, key, parameter: param }, value) {\n        if (param) {\n            if (!this.paramSubscriptions.has(namespace)) {\n                this.paramSubscriptions.set(namespace, new Map([\n                    [\n                        key,\n                        new Map([\n                            [\n                                param,\n                                value\n                            ]\n                        ])\n                    ]\n                ]));\n                return;\n            }\n            if (!this.paramSubscriptions.get(namespace)?.has(key)) {\n                this.paramSubscriptions.get(namespace)?.set(key, new Map([\n                    [\n                        param,\n                        value\n                    ]\n                ]));\n                return;\n            }\n            this.paramSubscriptions.get(namespace)?.get(key)?.set(param, value);\n        } else {\n            if (!this.simpleSubscriptions.has(namespace)) {\n                this.simpleSubscriptions.set(namespace, new Map([\n                    [\n                        key,\n                        value\n                    ]\n                ]));\n                return;\n            } else this.simpleSubscriptions.get(namespace)?.set(key, value);\n        }\n    }\n    delete({ namespace, key, parameter: param }) {\n        if (param) {\n            if (this.paramSubscriptions.get(namespace)?.get(key)?.delete(param)) {\n                if (this.paramSubscriptions.get(namespace).get(key).size < 1) {\n                    this.paramSubscriptions.get(namespace)?.delete(key);\n                    if (this.paramSubscriptions.get(namespace).size < 1) {\n                        this.paramSubscriptions.delete(namespace);\n                    }\n                }\n            }\n        } else {\n            if (this.simpleSubscriptions.get(namespace)?.delete(key)) {\n                if (this.simpleSubscriptions.get(namespace).size < 1) {\n                    this.simpleSubscriptions.delete(namespace);\n                }\n            }\n        }\n    }\n    get({ namespace, key, parameter: param }) {\n        if (!param) {\n            return this.simpleSubscriptions.get(namespace)?.get(key);\n        } else {\n            return this.paramSubscriptions.get(namespace)?.get(key)?.get(param);\n        }\n    }\n    getOrAdd(topic, addFactory) {\n        let value = this.get(topic);\n        if (!value) {\n            value = addFactory();\n            this.add(topic, value);\n        }\n        return value;\n    }\n    addOrUpdate(topic, addFactory, updateAction) {\n        let value = this.get(topic);\n        if (value) {\n            value = updateAction(value);\n        } else {\n            value = addFactory();\n        }\n        this.add(topic, value);\n        return value;\n    }\n    getAllSubscriptions() {\n        const noParam = Array.from(this.simpleSubscriptions.keys()).flatMap((namespace)=>Array.from(this.simpleSubscriptions.get(namespace).keys()).flatMap((key)=>({\n                    namespace,\n                    key\n                })));\n        const withParam = Array.from(this.paramSubscriptions.keys()).flatMap((namespace)=>Array.from(this.paramSubscriptions.get(namespace).keys()).flatMap((key)=>Array.from(this.paramSubscriptions.get(namespace).get(key).keys()).flatMap((parameter)=>({\n                        namespace,\n                        key,\n                        parameter\n                    }))));\n        return [\n            ...noParam,\n            ...withParam\n        ];\n    }\n    constructor(){\n        subscription_map_define_property(this, \"simpleSubscriptions\", new Map());\n        subscription_map_define_property(this, \"paramSubscriptions\", new Map());\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/messaging/subscription/subscription-manager.js\nfunction subscription_manager_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass SubscriptionManager {\n    add(topic, handler) {\n        return this.subscriptions.getOrAdd(topic, ()=>new SubscriptionHandlerIdMap()).add(handler);\n    }\n    get(topic) {\n        return this.subscriptions.get(topic)?.get() ?? [];\n    }\n    getById(topic, handlerId) {\n        return this.subscriptions.get(topic)?.getHandlerById(handlerId) ?? null;\n    }\n    delete(topic, handler) {\n        if (this.subscriptions.get(topic)?.delete(handler).isEmpty ?? false) {\n            this.subscriptions.delete(topic);\n        }\n    }\n    size(topic) {\n        return this.subscriptions.get(topic)?.size() ?? 0;\n    }\n    isEmpty(topic) {\n        return this.size(topic) === 0;\n    }\n    getAllSubscriptions() {\n        return this.subscriptions.getAllSubscriptions();\n    }\n    getAllSubscriptionHandlerIds() {\n        return this.subscriptions.getAllSubscriptions().reduce((acc, topic)=>acc.concat(this.get(topic).map(({ handlerId })=>({\n                    topic,\n                    handlerId\n                }))), []);\n    }\n    constructor(){\n        subscription_manager_define_property(this, \"subscriptions\", void 0);\n        this.subscriptions = new SubscriptionMap();\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/messaging/subscription/index.js\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/metric/duration-metric-recorder.js\nfunction duration_metric_recorder_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n/**\n * @classdesc DurationMetricRecorder class provides APIs to emit duration metrics based on users' need\n */ class DurationMetricRecorder {\n    /**\n   * Stop recording of the duration metric and emit it\n   *\n   * Some optional dimensions are only knowable once the measured work has\n   * finished, so they cannot be supplied when the counter starts. Pass an\n   * `optionalDimensions` transform to derive the emitted set from the one\n   * captured at construction.\n   *\n   * The transform receives a copy and its return value replaces the optional\n   * dimensions outright, so spread the input to retain it:\n   *\n   * ```ts\n   * recorder.stopDurationCounter({\n   *   optionalDimensions: (d) => ({ ...d, Stalled: \"true\" }),\n   * });\n   * ```\n   *\n   * A transform that throws propagates to the caller and no metric is emitted,\n   * so keep it simple and side-effect free.\n   *\n   * @param {StopDurationCounterOptions} options - Emit-time overrides (optional)\n   * @returns {durationCount: number} - The duration being recorded\n   */ stopDurationCounter(options) {\n        const durationResult = Math.round(performance.now() - this.startTime);\n        // Resolve before emitting so a throwing transform cannot emit a\n        // half-transformed metric.\n        const optionalDimensions = options?.optionalDimensions ? options.optionalDimensions({\n            ...this.optionalDimensions\n        }) : this.optionalDimensions;\n        this.sendMetric({\n            metricName: this.metricName,\n            unit: this.unit,\n            value: durationResult,\n            dimensions: this.dimensions,\n            optionalDimensions\n        });\n        return {\n            duration: durationResult\n        };\n    }\n    /**\n   * Constructor for DurationMetricRecorder\n   * @param {(metric: MetricData) => void} sendMetric- The method that sends metric\n   * @param {string} metricName - The name of the duration metric\n   * @param {Record<string, string>} dimensions - The dimensions of the duration metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of the duration metric with keys and values (optional)\n   */ constructor({ sendMetric, metricName, metricOptions }){\n        duration_metric_recorder_define_property(this, \"sendMetric\", void 0);\n        duration_metric_recorder_define_property(this, \"startTime\", void 0);\n        duration_metric_recorder_define_property(this, \"metricName\", void 0);\n        duration_metric_recorder_define_property(this, \"unit\", \"Milliseconds\");\n        duration_metric_recorder_define_property(this, \"dimensions\", void 0);\n        duration_metric_recorder_define_property(this, \"optionalDimensions\", void 0);\n        this.sendMetric = sendMetric;\n        this.startTime = performance.now();\n        this.metricName = metricName;\n        this.dimensions = metricOptions?.dimensions ? metricOptions.dimensions : {};\n        this.optionalDimensions = metricOptions?.optionalDimensions ? metricOptions.optionalDimensions : {};\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/metric/metric-helpers.js\nconst MAX_METRIC_DIMENSIONS = 30;\n/**\n * Check if the the sum of the length of dimensions and optional dimentions is exceeding maximum dimension length acceptable by back-end\n * @param {Record<string, string>} dimensions - The dimensions of the duration metric with keys and values\n * @param {Record<string, string>} optionalDimensions -The optional dimensions of the duration metric with keys and values\n */ function checkDimensionLength(dimensions, optionalDimensions) {\n    if (Object.keys(dimensions).length + Object.keys(optionalDimensions ?? {}).length > MAX_METRIC_DIMENSIONS) {\n        throw new Error(\"Cannot add more than 30 dimensions to a metric\");\n    }\n}\n/**\n * Transform the metric message into the format acceptable by back-end\n * @param {MetricData} metricData - The metric data\n * @param {string} timestamp - The timestamp of the metric\n * @param {string} namespace - The namespace of the metric\n * @param {UpstreamMessageOrigin} messageOrigin - The origin of the metric message\n * @return {MetricMessage} - Return a MetricMessage object\n */ function createMetricMessage({ metricData, time, namespace }, messageOrigin) {\n    return {\n        type: \"metric\",\n        namespace: namespace,\n        metricName: metricData.metricName,\n        unit: metricData.unit,\n        value: metricData.value,\n        time: time,\n        dimensions: metricData.dimensions ?? {},\n        optionalDimensions: metricData.optionalDimensions ?? {},\n        messageOrigin\n    };\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/metric/connect-metric-recorder.js\nfunction connect_metric_recorder_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\n/**\n * @classdesc ConnectMetricRecorder class provides APIs to emit metrics based on users' need\n */ class ConnectMetricRecorder {\n    /**\n   * Emit a metric that counts success\n   * @param {string} metricName - The name of the metric\n   * @param {Record<string, string>} dimensions - The dimensions of a metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of a metric with keys and values (optional)\n   */ recordSuccess(metricName, metricOptions) {\n        const processedDimensions = {\n            ...metricOptions?.dimensions ?? {}\n        };\n        const processedMetricOptions = {\n            ...metricOptions,\n            dimensions: processedDimensions\n        };\n        this.recordCount(metricName, 0, processedMetricOptions);\n    }\n    /**\n   * Emit a metric that counts error. Add default dimension { name: \"Metric\", value: \"Error\" } to the metric if not added\n   * @param {string} metricName - The name of the metric\n   * @param {Record<string, string>} dimensions - The dimensions of a metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of a metric with keys and values (optional)\n   */ recordError(metricName, metricOptions) {\n        const processedDimensions = {\n            ...metricOptions?.dimensions ?? {}\n        };\n        const processedMetricOptions = {\n            ...metricOptions,\n            dimensions: processedDimensions\n        };\n        this.recordCount(metricName, 1, processedMetricOptions);\n    }\n    /**\n   * Emit a counting metric\n   * @param {string} metricName - The name of the metric\n   * @param {number} count - The count of the metric\n   * @param {Record<string, string>} dimensions - The dimensions of a metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of a metric with keys and values (optional)\n   */ recordCount(metricName, count, metricOptions) {\n        this.sendMetric({\n            metricName,\n            unit: \"Count\",\n            value: count,\n            dimensions: metricOptions?.dimensions,\n            optionalDimensions: metricOptions?.optionalDimensions\n        });\n    }\n    /**\n   * Start a duration metric\n   * @param {string} metricName - The name of the metric\n   * @param {Record<string, string>} dimensions - The dimensions of a metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of a metric with keys and values (optional)\n   * @returns {DurationMetricRecorder} - The DurationMetricRecorder object being created\n   */ startDurationCounter(metricName, metricOptions) {\n        return new DurationMetricRecorder({\n            sendMetric: this.sendMetric.bind(this),\n            metricName,\n            metricOptions\n        });\n    }\n    /**\n   * Emit metric\n   * @param {string} metricName - The name of the metric\n   * @param {unit} unit - The unit of the metric\n   * @param {number} value - The value of the metric\n   * @param {Record<string, string>} dimensions - The dimensions of a metric with keys and values (optional)\n   * @param {Record<string, string>} optionalDimensions - The optional dimensions of a metric with keys and values (optional)\n   */ sendMetric({ metricName, unit, value, dimensions, optionalDimensions }) {\n        // Resolve global dimensions at emission time (non-blocking)\n        const resolvedGlobalDimensions = this.globalDimensionProvider ? this.globalDimensionProvider() : this.globalDimensions;\n        // Merge global dimensions with provided dimensions\n        // User-provided dimensions take precedence over global dimensions\n        const hasGlobalDimensions = Object.keys(resolvedGlobalDimensions).length > 0;\n        const hasOptionalDimensions = optionalDimensions && Object.keys(optionalDimensions).length > 0;\n        const mergedDimensions = hasGlobalDimensions || hasOptionalDimensions ? {\n            ...resolvedGlobalDimensions,\n            ...optionalDimensions\n        } : undefined;\n        if (dimensions) {\n            checkDimensionLength(dimensions, mergedDimensions);\n        }\n        const metricData = {\n            metricName,\n            unit,\n            value,\n            dimensions,\n            optionalDimensions: mergedDimensions\n        };\n        const time = new Date();\n        this.getProxy().sendMetric({\n            metricData,\n            time,\n            namespace: this.namespace\n        });\n    }\n    /**\n   * Get the provider of the ConnectMetricRecorder instance\n   */ getProvider() {\n        if (!this.provider) {\n            this.provider = this.providerFactory ? this.providerFactory() : getGlobalProvider();\n        }\n        return this.provider;\n    }\n    /**\n   * Get the proxy of the ConnectMetricRecorder instance\n   */ getProxy() {\n        if (!this._proxy) {\n            this._proxy = this.getProvider().getProxy();\n        }\n        return this._proxy;\n    }\n    /**\n   * Constructor for ConnectMetricRecorder\n   * @param {ConnectRecorderMetricParams} params - The namespace and provider(optional)\n   */ constructor(params){\n        connect_metric_recorder_define_property(this, \"namespace\", void 0);\n        connect_metric_recorder_define_property(this, \"provider\", void 0);\n        connect_metric_recorder_define_property(this, \"providerFactory\", void 0);\n        connect_metric_recorder_define_property(this, \"_proxy\", void 0);\n        connect_metric_recorder_define_property(this, \"globalDimensions\", void 0);\n        connect_metric_recorder_define_property(this, \"globalDimensionProvider\", void 0);\n        this._proxy = null;\n        this.namespace = params.namespace;\n        this.globalDimensions = params.globalDimensions ?? {};\n        this.globalDimensionProvider = params.globalDimensionProvider;\n        if (params.provider && typeof params.provider === \"function\") this.providerFactory = params.provider;\n        else this.provider = params.provider;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/metric/index.js\n\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/client-timeout-error.js\nconst clientTimeoutResponseErrorKey = \"clientTimeout\";\nfunction formatClientTimeoutError(request, timeoutMs) {\n    const { namespace, command, data: requestData } = request;\n    return {\n        namespace,\n        reason: \"Client Timeout\",\n        details: {\n            command,\n            requestData,\n            timeoutMs\n        },\n        errorKey: clientTimeoutResponseErrorKey\n    };\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction isClientTimeoutResponseError(err) {\n    return(// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n    typeof err === \"object\" && err.errorKey === clientTimeoutResponseErrorKey);\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/request-timeout-override-error.js\n/**\n * Thrown when a request cannot apply an override of its client timeout.\n *\n * The only way to reach this is a duration that is not a finite number of\n * milliseconds greater than zero. The value crosses a message channel, and\n * `setTimeout` treats a zero, a negative, or a `NaN` as fire immediately, so\n * applying it would end a healthy request at once.\n *\n * The request keeps the timeout it already had, which is the 30 second default\n * in every case the engine produces today. The caller is expected to catch this\n * and report it, since a subject that sends an override it cannot apply is\n * worth surfacing.\n */ class RequestTimeoutOverrideError extends Error {\n    constructor(message){\n        super(message);\n        this.name = \"RequestTimeoutOverrideError\";\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/request-handler-factory.js\n\n\n\nconst DEFAULT_TIMEOUT_MS = 30 * 1000;\nfunction createRequestHandler(request, onStart, onTimeout) {\n    return new Promise((resolve, reject)=>{\n        let isTimedOut = false;\n        let timeoutMs = DEFAULT_TIMEOUT_MS;\n        const startTimeout = ()=>setTimeout(()=>{\n                onTimeout({\n                    timeoutMs,\n                    request\n                });\n                // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors\n                reject(formatClientTimeoutError(request, timeoutMs));\n                isTimedOut = true;\n            }, timeoutMs);\n        let timeout = startTimeout();\n        const handleResponse = (msg)=>{\n            clearTimeout(timeout);\n            if (!isTimedOut) {\n                if (msg.isError) {\n                    reject(new ConnectError(msg));\n                } else {\n                    resolve(msg.data);\n                }\n            }\n        };\n        const overrideTimeout = (overrideTimeoutMs)=>{\n            if (!Number.isFinite(overrideTimeoutMs) || overrideTimeoutMs <= 0) throw new RequestTimeoutOverrideError(`Cannot override a request timeout with ${overrideTimeoutMs} milliseconds`);\n            clearTimeout(timeout);\n            // Held on the closure so a request that does time out reports the\n            // duration it was actually given rather than the default.\n            timeoutMs = overrideTimeoutMs;\n            timeout = startTimeout();\n        };\n        onStart({\n            handleResponse,\n            overrideTimeout\n        });\n    });\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/request-manager.js\nfunction request_manager_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\nclass RequestManager {\n    processRequest(request) {\n        const { requestId } = request;\n        return createRequestHandler(request, (control)=>this.requestMap.set(requestId, control), ({ request, timeoutMs })=>this.handleTimeout(request, timeoutMs));\n    }\n    processResponse(response) {\n        const { requestId } = response;\n        const control = this.requestMap.get(requestId);\n        if (!control) {\n            // The proxy is implemented such that this should never happen\n            this.logger.error(\"Returned a response message with no handler\", {\n                message: response\n            });\n            return;\n        }\n        control.handleResponse(response);\n        this.requestMap.delete(requestId);\n    }\n    /**\n   * Applies the timeout the subject named for one in flight request.\n   *\n   * A requestId the manager no longer tracks has nothing left to time out,\n   * which covers both a request that already answered and one that already\n   * timed out. That case only reports itself and takes no other action.\n   */ processRequestTimeoutOverride(msg) {\n        const { requestId, namespace, command, overrideTimeoutMs } = msg;\n        const control = this.requestMap.get(requestId);\n        if (!control) {\n            this.logger.warn(\"Request to override timeout was not found\", {\n                requestId,\n                namespace,\n                command,\n                overrideTimeoutMs\n            });\n            new ConnectMetricRecorder({\n                namespace,\n                provider: this.provider\n            }).recordCount(\"RequestTimeoutUpdateNotFound\", 1, {\n                dimensions: {\n                    RequestCommand: command\n                }\n            });\n            return;\n        }\n        try {\n            control.overrideTimeout(overrideTimeoutMs);\n        } catch (error) {\n            // The request refused the duration and kept the one it already had, so\n            // there is nothing to do beyond reporting the refusal.\n            this.logger.error(\"Request timeout override was refused\", {\n                requestId,\n                namespace,\n                command,\n                overrideTimeoutMs,\n                error\n            });\n            return;\n        }\n        this.logger.debug(\"Applied a request timeout override\", {\n            requestId,\n            namespace,\n            command,\n            overrideTimeoutMs\n        });\n    }\n    handleTimeout(request, timeoutMs) {\n        const { requestId, namespace, command } = request;\n        this.requestMap.delete(requestId);\n        this.logger.error(\"Client request timeout\", {\n            requestId,\n            namespace,\n            command,\n            timeoutMs\n        });\n    }\n    constructor(provider){\n        request_manager_define_property(this, \"requestMap\", void 0);\n        request_manager_define_property(this, \"logger\", void 0);\n        request_manager_define_property(this, \"provider\", void 0);\n        this.requestMap = new Map();\n        this.provider = provider;\n        this.logger = new connect_logger_ConnectLogger({\n            provider,\n            source: \"core.requestManager\"\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/request-message-factory.js\n\nfunction createRequestMessage(namespace, command, data, messageOrigin) {\n    const requestId = generateUUID();\n    return {\n        type: \"request\",\n        namespace,\n        command,\n        requestId,\n        data,\n        messageOrigin\n    };\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/request/index.js\n\n\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/messaging/downstream-message-sanitizer.js\nfunction sanitizeDownstreamMessage(message) {\n    try {\n        switch(message.type){\n            case \"acknowledge\":\n            case \"error\":\n            case \"childConnectionClose\":\n            case \"requestTimeoutOverride\":\n                return message;\n            case \"childDownstreamMessage\":\n                return {\n                    ...message,\n                    message: sanitizeDownstreamMessage(message.message)\n                };\n            case \"publish\":\n                {\n                    const { data, ...other } = message;\n                    return {\n                        ...other\n                    };\n                }\n            case \"response\":\n                {\n                    if (message.isError) return {\n                        ...message,\n                        details: {\n                            command: message.details.command\n                        }\n                    };\n                    else {\n                        const { data, ...other } = message;\n                        return {\n                            ...other\n                        };\n                    }\n                }\n            default:\n                return message;\n        }\n    } catch (error) {\n        return {\n            messageDetails: \"error when sanitizing downstream message\",\n            message,\n            error\n        };\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/channel-manager.js\nfunction channel_manager_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n/**\n * Manages communication channels between the proxy and child entities.\n *\n * The ChannelManager supports two types of communication channels:\n * 1. Iframe channels - Use browser MessagePort API for communication across different execution contexts\n * 2. Component channels - Use direct function calls when both entities exist in the same execution context\n *\n * Key responsibilities:\n * - Adding and removing child channels\n * - Routing downstream messages from proxy to child entities\n * - Relaying upstream messages from child entities back to the proxy\n * - Managing MessagePort lifecycle (opening, closing, cleanup)\n * - Validating provider IDs to ensure secure message routing\n *\n * @example Iframe Channel\n * ```typescript\n * const { port1, port2 } = new MessageChannel();\n * channelManager.addChannel({\n *   connectionId: \"child-uuid\",\n *   providerId: \"provider-uuid\",\n *   type: \"iframe\",\n *   port: port1\n * });\n * // port2 gets transferred to child entity\n * ```\n *\n * @example Component Channel\n * ```typescript\n * channelManager.addChannel({\n *   connectionId: \"child-uuid\",\n *   providerId: \"provider-uuid\",\n *   type: \"component\",\n *   sendDownstreamMessage: (msg) => childEntity.receive(msg),\n *   setUpstreamMessageHandler: (handler) => childEntity.onUpstream = handler\n * });\n * ```\n */ class ChannelManager {\n    /**\n   * Adds a new communication channel for a child entity.\n   *\n   * Supports both iframe and component channel types. For iframe channels,\n   * sets up message event listeners and starts the port. For component channels,\n   * configures the upstream message handler. Both types send a \"childConnectionReady\"\n   * message upstream to notify the proxy that the channel is established.\n   *\n   * @param params - Channel configuration parameters\n   * @param params.connectionId - UUID identifier for this channel connection\n   * @param params.providerId - UUID of the provider that owns this channel\n   * @param params.type - Channel type: \"iframe\" or \"component\"\n   *\n   * @example Iframe Channel\n   * ```typescript\n   * const { port1, port2 } = new MessageChannel();\n   * channelManager.addChannel({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440000\",\n   *   providerId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\",\n   *   type: \"iframe\",\n   *   port: port1\n   * });\n   * ```\n   *\n   * @example Component Channel\n   * ```typescript\n   * channelManager.addChannel({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440001\",\n   *   providerId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\",\n   *   type: \"component\",\n   *   sendDownstreamMessage: (msg) => childEntity.receive(msg),\n   *   setUpstreamMessageHandler: (handler) => childEntity.onUpstream = handler\n   * });\n   * ```\n   */ addChannel(params) {\n        const { connectionId } = params;\n        if (this.channels.has(connectionId)) {\n            this.logger.error(\"Attempted to add child connection that already exists. No action\", {\n                connectionId\n            });\n            return;\n        }\n        if (params.type === \"iframe\") {\n            this.setupIframe(params);\n        } else {\n            this.setupComponent(params);\n        }\n        this.logger.debug(\"Child channel added\", {\n            connectionId,\n            type: params.type\n        });\n    }\n    /**\n   * Updates an existing MessagePort channel with a new MessagePort.\n   *\n   * This method is only applicable to MessagePort channels. Direct channels cannot\n   * be updated and will result in an error. The old MessagePort is properly cleaned up\n   * (event listeners removed, port closed) before the new port is configured.\n   *\n   * @param params - Update parameters\n   * @param params.connectionId - UUID identifier for the channel to update\n   * @param params.port - New MessagePort instance to replace the existing one\n   * @param params.providerId - UUID of the provider that owns this channel\n   *\n   * @throws Logs error if connectionId doesn't exist or channel is Direct type\n   *\n   * @example\n   * ```typescript\n   * const { port1, port2 } = new MessageChannel();\n   * channelManager.updateChannelPort({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440000\",\n   *   port: port1,\n   *   providerId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\"\n   * });\n   * ```\n   */ updateChannelPort(params) {\n        const { connectionId } = params;\n        const existingChannel = this.channels.get(connectionId);\n        if (!existingChannel) {\n            this.logger.error(\"Attempted to update child connection that does not exist No action\", {\n                connectionId\n            });\n            return;\n        }\n        if (existingChannel.type === \"component\") {\n            this.logger.error(\"Attempted to update a component channel connection as MessagePort. This is not supported.\", {\n                connectionId\n            });\n            return;\n        }\n        const originalChannel = existingChannel;\n        originalChannel.port.onmessage = null;\n        originalChannel.port.close();\n        const setupParams = {\n            ...params,\n            type: \"iframe\"\n        };\n        this.setupIframe(setupParams);\n        this.logger.info(\"Updated child port\", {\n            connectionId\n        });\n    }\n    setupIframe(params) {\n        const { connectionId, port, providerId } = params;\n        const handler = this.createMessageHandler(connectionId, providerId);\n        port.addEventListener(\"message\", handler);\n        port.start();\n        this.channels.set(connectionId, {\n            type: \"iframe\",\n            port,\n            handler,\n            providerId\n        });\n        this.relayChildUpstreamMessage({\n            type: \"childUpstream\",\n            connectionId,\n            sourceProviderId: providerId,\n            parentProviderId: this.provider.id,\n            message: {\n                type: \"childConnectionReady\"\n            }\n        });\n    }\n    setupComponent(params) {\n        const { connectionId, providerId, sendDownstreamMessage, setUpstreamMessageHandler } = params;\n        const upstreamHandler = (message)=>{\n            this.relayChildUpstreamMessage({\n                type: \"childUpstream\",\n                sourceProviderId: providerId,\n                parentProviderId: this.provider.id,\n                connectionId,\n                message\n            });\n        };\n        setUpstreamMessageHandler(upstreamHandler);\n        this.channels.set(connectionId, {\n            type: \"component\",\n            providerId,\n            sendDownstreamMessage,\n            setUpstreamMessageHandler\n        });\n        this.relayChildUpstreamMessage({\n            type: \"childUpstream\",\n            connectionId,\n            sourceProviderId: providerId,\n            parentProviderId: this.provider.id,\n            message: {\n                type: \"childConnectionReady\"\n            }\n        });\n    }\n    /**\n   * Routes a downstream message from the proxy to the appropriate child channel.\n   *\n   * Validates that the target channel exists and that the provider ID matches\n   * (for security). For MessagePort channels, uses postMessage(). For Direct\n   * channels, calls the sendDownstreamMessage function.\n   *\n   * @param params - Downstream message parameters\n   * @param params.connectionId - UUID of the target channel\n   * @param params.message - The message to send to the child entity\n   * @param params.targetProviderId - Expected provider ID for validation\n   *\n   * @example\n   * ```typescript\n   * channelManager.handleDownstreamMessage({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440000\",\n   *   message: { type: \"request\", data: \"some data\" },\n   *   targetProviderId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\"\n   * });\n   * ```\n   */ handleDownstreamMessage({ connectionId, message, targetProviderId }) {\n        const channelData = this.channels.get(connectionId);\n        if (!channelData) {\n            this.logger.warn(\"Attempted to route downstream message to child channel that does not exist\", {\n                connectionId,\n                message: sanitizeDownstreamMessage(message)\n            });\n            return;\n        }\n        const { providerId } = channelData;\n        // Older versions of the SDK do not provide a provider id. This\n        // check is ignored for versions without a providerId.\n        if (providerId && providerId !== targetProviderId) {\n            this.logger.error(\"Downstream target message did not match target provider id. Not sending message.\", {\n                connectionId,\n                targetProviderId,\n                actualProviderId: providerId,\n                message: sanitizeDownstreamMessage(message)\n            });\n            return;\n        }\n        if (channelData.type === \"iframe\") {\n            channelData.port.postMessage(message);\n        } else {\n            channelData.sendDownstreamMessage(message);\n        }\n    }\n    /**\n   * Handles closing a child channel and performs appropriate cleanup.\n   *\n   * For MessagePort channels, removes event listeners and closes the port.\n   * For Direct channels, simply removes the channel from the internal map\n   * since no port cleanup is needed. The channel is always removed from\n   * the channels map regardless of type.\n   *\n   * @param params - Close message parameters\n   * @param params.connectionId - UUID of the channel to close\n   *\n   * @example\n   * ```typescript\n   * channelManager.handleCloseMessage({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440000\"\n   * });\n   * ```\n   */ handleCloseMessage({ connectionId }) {\n        const channelData = this.channels.get(connectionId);\n        if (!channelData) {\n            this.logger.warn(\"Attempted to close child channel that was not found\", {\n                connectionId\n            });\n            return;\n        }\n        if (channelData.type === \"iframe\") {\n            const { port, handler } = channelData;\n            port.removeEventListener(\"message\", handler);\n            port.close();\n        }\n        // For component channels, no cleanup of ports/handlers is needed\n        this.channels.delete(connectionId);\n        this.logger.debug(\"Removed child channel\", {\n            connectionId,\n            type: channelData.type\n        });\n    }\n    createMessageHandler(connectionId, providerId) {\n        return (message)=>this.relayChildUpstreamMessage({\n                type: \"childUpstream\",\n                sourceProviderId: providerId,\n                parentProviderId: this.provider.id,\n                connectionId,\n                message: message.data\n            });\n    }\n    constructor(provider, relayChildUpstreamMessage){\n        channel_manager_define_property(this, \"provider\", void 0);\n        channel_manager_define_property(this, \"relayChildUpstreamMessage\", void 0);\n        channel_manager_define_property(this, \"channels\", void 0);\n        channel_manager_define_property(this, \"logger\", void 0);\n        this.provider = provider;\n        this.relayChildUpstreamMessage = relayChildUpstreamMessage;\n        this.channels = new Map();\n        this.logger = new connect_logger_ConnectLogger({\n            provider,\n            source: \"childConnectionManager\"\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/error/error-service.js\nfunction error_service_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass ErrorService {\n    invoke(error) {\n        const { message, key, details, isFatal, connectionStatus } = error;\n        this.logger.error(message, {\n            key,\n            details,\n            isFatal,\n            connectionStatus\n        }, {\n            duplicateMessageToConsole: true,\n            remoteIgnore: true\n        });\n        [\n            ...this.errorHandlers\n        ].forEach((handler)=>{\n            try {\n                handler(error);\n            } catch (handlerError) {\n                this.logger.error(\"An error occurred within a AmazonConnectErrorHandler\", {\n                    handlerError,\n                    originalError: error\n                });\n            }\n        });\n    }\n    onError(handler) {\n        this.errorHandlers.add(handler);\n    }\n    offError(handler) {\n        this.errorHandlers.delete(handler);\n    }\n    constructor(provider){\n        error_service_define_property(this, \"errorHandlers\", void 0);\n        error_service_define_property(this, \"logger\", void 0);\n        this.errorHandlers = new Set();\n        this.logger = new connect_logger_ConnectLogger({\n            provider,\n            source: \"core.proxy.error\"\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/error/index.js\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/health-check/health-check-manager.js\nfunction health_check_manager_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass HealthCheckManager {\n    get status() {\n        return this._status;\n    }\n    get isRunning() {\n        return this.sendHealthCheckInterval !== null;\n    }\n    get lastCheckCounter() {\n        return this.lastHealthCheckResponse?.counter ?? null;\n    }\n    get lastCheckTime() {\n        return this.lastHealthCheckResponse?.time ?? null;\n    }\n    start({ healthCheckInterval: interval, connectionId }) {\n        this.connectionId = connectionId;\n        this.healthCheckInterval = interval;\n        this.clearInterval();\n        if (interval <= 0) {\n            this.logger.debug(\"Health check disabled\");\n            return;\n        }\n        if (interval < 1000) {\n            this.logger.error(\"Health check interval is less than 1 second. Not running\", {\n                interval\n            });\n            return;\n        }\n        this.sendHealthCheckMessage();\n        this.sendHealthCheckInterval = setInterval(()=>this.sendHealthCheckMessage(), interval);\n        this.startTimeout();\n    }\n    stop() {\n        this.clearInterval();\n        this.clearTimeout();\n    }\n    handleResponse(message) {\n        this.setHealthy({\n            time: message.time,\n            counter: message.counter\n        });\n    }\n    sendHealthCheckMessage() {\n        this.sendHealthCheck({\n            type: \"healthCheck\",\n            messageOrigin: this.getUpstreamMessageOrigin()\n        });\n    }\n    startTimeout() {\n        if (!this.healthCheckInterval) {\n            this.logger.error(\"Health check interval not set. Cannot start timeout\");\n            return;\n        }\n        // Cancels a preexisting timeout to be replaced with new timeout\n        this.clearTimeout();\n        this.healthCheckTimeout = setTimeout(()=>{\n            this.setUnhealthy();\n        }, this.healthCheckInterval * 3);\n    }\n    clearInterval() {\n        if (this.sendHealthCheckInterval) {\n            clearInterval(this.sendHealthCheckInterval);\n            this.sendHealthCheckInterval = null;\n        }\n    }\n    clearTimeout() {\n        if (this.healthCheckTimeout) {\n            clearTimeout(this.healthCheckTimeout);\n            this.healthCheckTimeout = null;\n        }\n    }\n    setUnhealthy() {\n        if (this._status !== \"unhealthy\") {\n            const previousStatus = this._status;\n            this.logger.info(\"Connection unhealthy\", {\n                previousStatus\n            });\n            this._status = \"unhealthy\";\n            this.emitStatusChanged(\"unhealthy\", previousStatus);\n        }\n    }\n    setHealthy(result) {\n        this.lastHealthCheckResponse = {\n            ...result\n        };\n        if (this._status !== \"healthy\") {\n            const previousStatus = this._status;\n            this.logger.debug(\"Connection healthy\", {\n                previousStatus\n            });\n            this._status = \"healthy\";\n            this.emitStatusChanged(\"healthy\", previousStatus);\n        }\n        this.startTimeout();\n    }\n    emitStatusChanged(status, previousStatus) {\n        void this.events.emit(HealthCheckManager.statusChangedKey, {\n            status,\n            previousStatus,\n            lastCheckTime: this.lastHealthCheckResponse?.time ?? null,\n            lastCheckCounter: this.lastHealthCheckResponse?.counter ?? null\n        });\n    }\n    onStatusChanged(handler) {\n        this.events.on(HealthCheckManager.statusChangedKey, handler);\n    }\n    offStatusChanged(handler) {\n        this.events.off(HealthCheckManager.statusChangedKey, handler);\n    }\n    constructor({ provider, sendHealthCheck, getUpstreamMessageOrigin }){\n        health_check_manager_define_property(this, \"logger\", void 0);\n        health_check_manager_define_property(this, \"sendHealthCheck\", void 0);\n        health_check_manager_define_property(this, \"getUpstreamMessageOrigin\", void 0);\n        health_check_manager_define_property(this, \"_status\", void 0);\n        health_check_manager_define_property(this, \"lastHealthCheckResponse\", void 0);\n        health_check_manager_define_property(this, \"events\", void 0);\n        health_check_manager_define_property(this, \"connectionId\", void 0);\n        health_check_manager_define_property(this, \"healthCheckInterval\", void 0);\n        health_check_manager_define_property(this, \"sendHealthCheckInterval\", void 0);\n        health_check_manager_define_property(this, \"healthCheckTimeout\", void 0);\n        this.connectionId = null;\n        this.healthCheckInterval = null;\n        this.healthCheckTimeout = null;\n        this.sendHealthCheck = sendHealthCheck;\n        this.getUpstreamMessageOrigin = getUpstreamMessageOrigin;\n        this.sendHealthCheckInterval = null;\n        this.lastHealthCheckResponse = null;\n        this._status = \"unknown\";\n        this.logger = new connect_logger_ConnectLogger({\n            source: \"core.proxy.health-check\",\n            provider: provider,\n            mixin: ()=>({\n                    connectionId: this.connectionId\n                })\n        });\n        this.events = new AsyncEventEmitter({\n            provider,\n            loggerKey: \"core.proxy.health-check\"\n        });\n    }\n}\nhealth_check_manager_define_property(HealthCheckManager, \"statusChangedKey\", \"statusChanged\");\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/health-check/index.js\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/proxy-connection/proxy-connection-status-manager.js\nfunction proxy_connection_status_manager_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass ProxyConnectionStatusManager {\n    getStatus() {\n        return this.status;\n    }\n    update(evt) {\n        this.status = evt.status;\n        this.logger.trace(\"Proxy Connection Status Changed\", {\n            status: evt.status\n        });\n        [\n            ...this.changeHandlers\n        ].forEach((handler)=>{\n            try {\n                handler(evt);\n            } catch (error) {\n                this.logger.error(\"An error occurred within a ProxyConnectionChangedHandler\", {\n                    error\n                });\n            }\n        });\n    }\n    onChange(handler) {\n        this.changeHandlers.add(handler);\n    }\n    offChange(handler) {\n        this.changeHandlers.delete(handler);\n    }\n    constructor(provider){\n        proxy_connection_status_manager_define_property(this, \"changeHandlers\", void 0);\n        proxy_connection_status_manager_define_property(this, \"logger\", void 0);\n        proxy_connection_status_manager_define_property(this, \"status\", void 0);\n        this.status = \"notConnected\";\n        this.changeHandlers = new Set();\n        this.logger = new connect_logger_ConnectLogger({\n            source: \"core.proxy.connection-status-manager\",\n            provider,\n            mixin: ()=>({\n                    status: this.status\n                })\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/proxy-connection/index.js\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/proxy.js\nfunction proxy_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\n\n\n\n\n\nclass Proxy {\n    init() {\n        if (this.isInitialized) throw new Error(\"Proxy already initialized\");\n        this.isInitialized = true;\n        this.initProxy();\n    }\n    request(namespace, command, data, origin) {\n        const msg = createRequestMessage(namespace, command, data, origin ?? this.getUpstreamMessageOrigin());\n        const resp = this.requestManager.processRequest(msg);\n        this.sendOrQueueMessageToSubject(msg);\n        return resp;\n    }\n    subscribe(topic, handler, origin) {\n        const { handlerId } = this.subscriptions.add(topic, handler);\n        const msg = {\n            type: \"subscribe\",\n            topic,\n            messageOrigin: origin ?? this.getUpstreamMessageOrigin(),\n            handlerId\n        };\n        this.sendOrQueueMessageToSubject(msg);\n    }\n    unsubscribe(topic, handler, origin) {\n        this.subscriptions.delete(topic, handler);\n        if (this.subscriptions.isEmpty(topic)) {\n            const msg = {\n                type: \"unsubscribe\",\n                topic,\n                messageOrigin: origin ?? this.getUpstreamMessageOrigin()\n            };\n            this.sendOrQueueMessageToSubject(msg);\n        }\n    }\n    log(logData) {\n        const logMsg = createLogMessage(logData, this.addContextToLogger(), this.getUpstreamMessageOrigin());\n        this.sendOrQueueMessageToSubject(logMsg);\n    }\n    sendLogMessage(message) {\n        if (message.type !== \"log\") {\n            this.logger.error(\"Attempted to send invalid log message\", {\n                message\n            });\n            return;\n        }\n        message.context = {\n            ...message.context,\n            ...this.addContextToLogger()\n        };\n        this.sendOrQueueMessageToSubject(message);\n    }\n    sendMetric({ metricData, time, namespace }) {\n        const metricMessage = createMetricMessage({\n            metricData,\n            time,\n            namespace\n        }, this.getUpstreamMessageOrigin());\n        this.sendOrQueueMessageToSubject(metricMessage);\n    }\n    sendMetricMessage(metricMessage) {\n        if (metricMessage.type !== \"metric\") {\n            this.logger.error(\"Attempted to send invalid metric message\", {\n                metricMessage\n            });\n            return;\n        }\n        this.sendOrQueueMessageToSubject(metricMessage);\n    }\n    sendOrQueueMessageToSubject(message) {\n        if (this.connectionEstablished) {\n            this.sendMessageToSubject(message);\n        } else {\n            this.upstreamMessageQueue.push(message);\n        }\n    }\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    consumerMessageHandler(evt) {\n        if (!this.isInitialized) {\n            this.logger.error(\"Attempted to process message from subject prior to proxy being initializing. Message not processed\", {\n                originalMessageEventData: evt.data\n            });\n            return;\n        }\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n        const { data } = evt;\n        if (!(\"type\" in data)) {\n            // TODO Clean this up... probably safe to ignore without logging\n            this.logger.warn(\"Unknown inbound message\", {\n                originalMessageEventData: data\n            });\n            return;\n        }\n        // Naming of type confusing because outbound to worker is inbound to client\n        const msg = data;\n        this.handleMessageFromSubject(msg);\n    }\n    handleMessageFromSubject(msg) {\n        this.handleDefaultMessageFromSubject(msg);\n    }\n    handleDefaultMessageFromSubject(msg) {\n        switch(msg.type){\n            case \"acknowledge\":\n                this.handleConnectionAcknowledge(msg);\n                break;\n            case \"response\":\n                this.handleResponse(msg);\n                break;\n            case \"publish\":\n                this.handlePublish(msg);\n                break;\n            case \"error\":\n                this.handleError(msg);\n                break;\n            case \"requestTimeoutOverride\":\n                this.requestManager.processRequestTimeoutOverride(msg);\n                break;\n            case \"childDownstreamMessage\":\n                this.channelManager.handleDownstreamMessage(msg);\n                break;\n            case \"childConnectionClose\":\n                this.channelManager.handleCloseMessage(msg);\n                break;\n            case \"healthCheckResponse\":\n                this.healthCheck.handleResponse(msg);\n                break;\n            default:\n                this.logger.error(\"Unknown inbound message\", {\n                    originalMessageEventData: msg\n                });\n                return;\n        }\n    }\n    handleConnectionAcknowledge(msg) {\n        this.connectionId = msg.connectionId;\n        this.logger.debug(\"Connection acknowledged by subject\", {\n            connectionId: msg.connectionId,\n            queuedMessageCount: this.upstreamMessageQueue.length,\n            status: msg.status\n        });\n        this.status.update({\n            status: \"ready\",\n            connectionId: msg.connectionId\n        });\n        this.connectionEstablished = true;\n        // Sends any messages in queue\n        while(this.upstreamMessageQueue.length){\n            const msg = this.upstreamMessageQueue.shift();\n            this.sendMessageToSubject(msg);\n        }\n        this.healthCheck.start(msg);\n        this.logger.debug(\"Proxy connection ready\", {\n            connectionId: this.connectionId\n        });\n    }\n    handleResponse(msg) {\n        this.requestManager.processResponse(msg);\n    }\n    handlePublish(msg) {\n        const { handlerId, topic } = msg;\n        if (handlerId) {\n            const handler = this.subscriptions.getById(topic, handlerId);\n            if (handler) {\n                void this.handleAsyncSubscriptionHandlerInvoke({\n                    handler,\n                    handlerId\n                }, msg);\n            }\n        } else {\n            this.subscriptions.get(topic).map((handlerIdMapping)=>void this.handleAsyncSubscriptionHandlerInvoke(handlerIdMapping, msg));\n        }\n    }\n    handleError(msg) {\n        if (msg.isFatal) {\n            const { message: reason, type: _, ...details } = msg;\n            this.status.update({\n                status: \"error\",\n                reason: reason,\n                details\n            });\n        }\n        this.publishError({\n            message: msg.message,\n            key: msg.key,\n            details: msg.details,\n            isFatal: msg.isFatal,\n            proxyStatus: msg.status\n        });\n    }\n    publishError(error) {\n        const fullError = {\n            ...error,\n            connectionStatus: this.connectionStatus\n        };\n        this.errorService.invoke(fullError);\n    }\n    async handleAsyncSubscriptionHandlerInvoke({ handler, handlerId }, { topic, data }) {\n        try {\n            await handler(data);\n        } catch (error) {\n            this.logger.error(\"An error occurred when handling subscription\", {\n                topic,\n                error,\n                handlerId\n            });\n        }\n    }\n    get connectionStatus() {\n        return this.status.getStatus();\n    }\n    onError(handler) {\n        this.errorService.onError(handler);\n    }\n    offError(handler) {\n        this.errorService.offError(handler);\n    }\n    onConnectionStatusChange(handler) {\n        this.status.onChange(handler);\n    }\n    offConnectionStatusChange(handler) {\n        this.status.offChange(handler);\n    }\n    onHealthCheckStatusChanged(handler) {\n        this.healthCheck.onStatusChanged(handler);\n    }\n    offHealthCheckStatusChanged(handler) {\n        this.healthCheck.offStatusChanged(handler);\n    }\n    /**\n   * @deprecated Use addChildIframeChannel instead. This method will be removed in a future version.\n   */ addChildChannel(params) {\n        // Legacy method that only supports MessagePort channels\n        this.addChildIframeChannel(params);\n    }\n    /**\n   * Adds a component-based child channel to the proxy.\n   *\n   * This method establishes a communication channel using component function calls instead\n   * of MessagePorts. This is useful when both the proxy and child entity exist in the same\n   * execution context, such as within the same browser window or iframe.\n   *\n   * Component channels provide better performance than iframe channels since they avoid\n   * the overhead of serialization and can support synchronous communication patterns.\n   *\n   * @param params - Component channel configuration\n   * @param params.connectionId - UUID identifier for this channel connection\n   * @param params.providerId - UUID of the provider that owns this channel\n   * @param params.sendDownstreamMessage - Function to send messages to the child entity\n   * @param params.setUpstreamMessageHandler - Function to register upstream message handler\n   *\n   * @example\n   * ```typescript\n   * proxy.addChildComponentChannel({\n   *   connectionId: \"child-uuid\",\n   *   providerId: \"provider-uuid\",\n   *   sendDownstreamMessage: (message) => childComponent.receive(message),\n   *   setUpstreamMessageHandler: (handler) => childComponent.onUpstream = handler\n   * });\n   * ```\n   */ addChildIframeChannel(params) {\n        this.channelManager.addChannel({\n            ...params,\n            type: \"iframe\"\n        });\n    }\n    /**\n   * Adds a component-based child channel for communication with child entities.\n   *\n   * This method establishes a communication channel using direct function calls instead\n   * of MessagePorts. This is useful when both the proxy and child entity exist in the same\n   * execution context and can directly reference each other's functions.\n   *\n   * @param params - Configuration parameters for the component function channel\n   * @param params.connectionId - Unique UUID identifier for this channel connection\n   * @param params.providerId - UUID of the provider that owns this channel connection\n   * @param params.sendDownstreamMessage - Function to send messages from proxy to child entity\n   * @param params.setUpstreamMessageHandler - Function to register handler for messages from child entity\n   *\n   * @example\n   * ```typescript\n   * // Child entity exposes these functions\n   * const childAPI = {\n   *   receive: (message) => { },\n   *   onUpstream: null as ((message) => void) | null\n   * };\n   *\n   * proxy.addChildComponentChannel({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440001\", // UUID\n   *   providerId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\", // UUID\n   *   sendDownstreamMessage: (message) => {\n   *     childAPI.receive(message);\n   *   },\n   *   setUpstreamMessageHandler: (handler) => {\n   *     childAPI.onUpstream = handler;\n   *   }\n   * });\n   * ```\n   */ addChildComponentChannel(params) {\n        this.channelManager.addChannel({\n            ...params,\n            type: \"component\"\n        });\n    }\n    /**\n   * Updates an existing iframe channel with a new MessagePort.\n   *\n   * This method is only applicable to iframe channels. Component channels cannot\n   * be updated and will result in an error. The old MessagePort is properly cleaned up\n   * (event listeners removed, port closed) before the new port is configured.\n   *\n   * @param params - Update parameters\n   * @param params.connectionId - UUID identifier for the channel to update\n   * @param params.port - New MessagePort instance to replace the existing one\n   * @param params.providerId - UUID of the provider that owns this channel\n   *\n   * @example\n   * ```typescript\n   * const { port1, port2 } = new MessageChannel();\n   * proxy.updateChildIframeChannelPort({\n   *   connectionId: \"550e8400-e29b-41d4-a716-446655440000\",\n   *   port: port1,\n   *   providerId: \"6ba7b810-9dad-11d1-80b4-00c04fd430c8\"\n   * });\n   * ```\n   */ updateChildIframeChannelPort(params) {\n        this.channelManager.updateChannelPort(params);\n    }\n    /**\n   * @deprecated Use updateChildIframeChannelPort instead. This method will be removed in a future version.\n   */ updateChildChannelPort(params) {\n        this.updateChildIframeChannelPort(params);\n    }\n    getConnectionId() {\n        if (this.connectionId) return Promise.resolve(this.connectionId);\n        return new Promise((resolve, reject)=>{\n            let timeout = undefined;\n            const handler = (evt)=>{\n                if (evt.status === \"ready\") {\n                    this.offConnectionStatusChange(handler);\n                    clearInterval(timeout);\n                    resolve(evt.connectionId);\n                }\n            };\n            timeout = setTimeout(()=>{\n                this.logger.error(\"Timeout getting connection id\");\n                this.offConnectionStatusChange(handler);\n                reject(new Error(\"Timeout getting connectionId\"));\n            }, 10 * 1000);\n            this.onConnectionStatusChange(handler);\n        });\n    }\n    resetConnection(reason) {\n        this.logger.debug(\"Resetting connection\", {\n            reason,\n            connectionId: this.connectionId\n        });\n        this.connectionEstablished = false;\n        this.status.update({\n            status: \"reset\",\n            reason\n        });\n        const { subscriptionHandlerCount } = this.restoreAllHandler();\n        this.logger.info(\"Resetting proxy\", {\n            reason,\n            subscriptionHandlerCount\n        });\n        this.logger.debug(\"Connection reset complete, restoring handlers\", {\n            subscriptionHandlerCount\n        });\n    }\n    restoreAllHandler() {\n        const subscriptionHandlerIds = this.subscriptions.getAllSubscriptionHandlerIds();\n        // Restore all subscriptions\n        subscriptionHandlerIds?.map(({ topic, handlerId })=>({\n                type: \"subscribe\",\n                topic,\n                messageOrigin: this.getUpstreamMessageOrigin(),\n                handlerId\n            })).forEach((msg)=>this.sendOrQueueMessageToSubject(msg));\n        return {\n            subscriptionHandlerCount: subscriptionHandlerIds?.length ?? -1\n        };\n    }\n    unsubscribeAllHandlers() {\n        const subscriptionHandlerIds = this.subscriptions.getAllSubscriptionHandlerIds();\n        this.logger.info(\"Unsubscribing all handlers from proxy\", {\n            subscriptionHandlerCount: subscriptionHandlerIds?.length ?? -1\n        });\n        subscriptionHandlerIds?.map(({ topic })=>({\n                type: \"unsubscribe\",\n                topic,\n                messageOrigin: this.getUpstreamMessageOrigin()\n            })).forEach((msg)=>this.sendOrQueueMessageToSubject(msg));\n    }\n    constructor(provider){\n        proxy_define_property(this, \"provider\", void 0);\n        proxy_define_property(this, \"status\", void 0);\n        proxy_define_property(this, \"subscriptions\", void 0);\n        proxy_define_property(this, \"errorService\", void 0);\n        proxy_define_property(this, \"logger\", void 0);\n        proxy_define_property(this, \"channelManager\", void 0);\n        proxy_define_property(this, \"healthCheck\", void 0);\n        proxy_define_property(this, \"requestManager\", void 0);\n        proxy_define_property(this, \"upstreamMessageQueue\", void 0);\n        proxy_define_property(this, \"connectionEstablished\", void 0);\n        proxy_define_property(this, \"isInitialized\", void 0);\n        proxy_define_property(this, \"connectionId\", void 0);\n        this.provider = provider;\n        this.logger = new connect_logger_ConnectLogger({\n            source: \"core.proxy\",\n            provider,\n            mixin: ()=>({\n                    proxyType: this.proxyType,\n                    connectionId: this.connectionId\n                })\n        });\n        this.requestManager = new RequestManager(provider);\n        this.status = new ProxyConnectionStatusManager(provider);\n        this.errorService = new ErrorService(provider);\n        this.upstreamMessageQueue = [];\n        this.connectionEstablished = false;\n        this.isInitialized = false;\n        this.subscriptions = new SubscriptionManager();\n        this.connectionId = null;\n        this.channelManager = new ChannelManager(provider, this.sendOrQueueMessageToSubject.bind(this));\n        this.healthCheck = new HealthCheckManager({\n            provider,\n            sendHealthCheck: this.sendOrQueueMessageToSubject.bind(this),\n            getUpstreamMessageOrigin: this.getUpstreamMessageOrigin.bind(this)\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/proxy/index.js\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/subscription-handler-relay.js\n/* unused harmony import specifier */ var ConnectLogger;\n/* unused harmony import specifier */ var subscription_handler_relay_createModuleProxy;\nfunction subscription_handler_relay_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass SubscriptionHandlerRelay {\n    get supportsParameter() {\n        return true;\n    }\n    on(handler, parameter) {\n        if (parameter && !this.supportsParameter) {\n            throw new Error(\"on provided unsupported parameter\");\n        }\n        const parameterHandlerMap = this.getParameterInternalHandlerMap(handler);\n        // Do not add when handler / parameter pair already exists\n        if (parameterHandlerMap.has(parameter)) return;\n        const internalHandler = async (evt)=>{\n            if (this.skipRelay(evt)) return;\n            let externalEvent;\n            try {\n                externalEvent = await this.translate(evt);\n            } catch (error) {\n                this.logger.error(\"An error occurred when translating event\", {\n                    error,\n                    parameter\n                });\n                // Stop execution. Rethrowing would produce a duplicate error message.\n                return;\n            }\n            try {\n                await handler(externalEvent);\n            } catch (error) {\n                this.logger.error(\"Error in event handler\", {\n                    error,\n                    parameter\n                });\n            }\n        };\n        parameterHandlerMap.set(parameter, internalHandler);\n        this.getProxy().subscribe({\n            key: this.topicKey,\n            parameter\n        }, internalHandler);\n    }\n    off(handler, parameter) {\n        if (parameter && !this.supportsParameter) {\n            throw new Error(\"off provided unsupported parameter\");\n        }\n        const internalHandler = this.handlersMap.get(handler)?.get(parameter);\n        if (!internalHandler) return;\n        const parameterMap = this.handlersMap.get(handler);\n        if (parameterMap?.delete(parameter) && parameterMap.size < 1) this.handlersMap.delete(handler);\n        this.getProxy().unsubscribe({\n            key: this.topicKey,\n            parameter\n        }, internalHandler);\n    }\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    skipRelay(event) {\n        return false;\n    }\n    destroy() {\n        const proxy = this.getProxy();\n        for (const [externalHandler, parameterMapping] of this.handlersMap){\n            for (const [parameter, internalHandler] of parameterMapping){\n                proxy.unsubscribe({\n                    key: this.topicKey,\n                    parameter\n                }, internalHandler);\n                parameterMapping.delete(parameter);\n            }\n            this.handlersMap.delete(externalHandler);\n        }\n    }\n    getParameterInternalHandlerMap(externalHandler) {\n        if (!this.handlersMap.has(externalHandler)) {\n            this.handlersMap.set(externalHandler, new Map());\n        }\n        return this.handlersMap.get(externalHandler);\n    }\n    getProxy() {\n        if (!this.proxy) {\n            const proxy = this.provider.getProxy();\n            this.proxy = subscription_handler_relay_createModuleProxy(proxy, this.namespace);\n        }\n        return this.proxy;\n    }\n    constructor(provider){\n        subscription_handler_relay_define_property(this, \"handlersMap\", void 0);\n        subscription_handler_relay_define_property(this, \"logger\", void 0);\n        subscription_handler_relay_define_property(this, \"provider\", void 0);\n        subscription_handler_relay_define_property(this, \"proxy\", void 0);\n        this.handlersMap = new Map();\n        this.provider = provider;\n        this.logger = new ConnectLogger({\n            source: \"subscription-handler-relay\",\n            provider,\n            mixin: ()=>({\n                    namespace: this.namespace,\n                    topicKey: this.topicKey\n                })\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/timeout-tracker.js\n/* unused harmony import specifier */ var timeout_tracker_ConnectLogger;\nfunction timeout_tracker_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass TimeoutTracker {\n    static start(onCancelled, ms) {\n        return new TimeoutTracker(onCancelled, ms);\n    }\n    complete() {\n        switch(this.status){\n            case \"running\":\n                return this.handleComplete();\n            case \"completed\":\n                this.logger.debug(\"TimeoutTracker already marked complete. No action.\");\n                return true;\n            case \"cancelled\":\n                this.logger.info(\"Attempted to complete a TimeoutTracker that has already been cancelled\");\n                return false;\n        }\n    }\n    isCancelled() {\n        return this.status === \"cancelled\";\n    }\n    getStatus() {\n        return this.status;\n    }\n    handleCancel() {\n        switch(this.status){\n            case \"running\":\n                this.status = \"cancelled\";\n                this.logger.info(\"TimeoutTracker has timed out. Invoking onCancelled Handler\");\n                this.invokeOnCancelled();\n                break;\n            case \"completed\":\n                this.logger.debug(\"Cancel operation for TimerTracker invoked after already completed. No action.\");\n                break;\n            default:\n                throw new Error(\"Cancel operation in TimerTracker called during an unexpected time.\");\n        }\n    }\n    handleComplete() {\n        this.status = \"completed\";\n        clearTimeout(this.timeout);\n        return true;\n    }\n    invokeOnCancelled() {\n        try {\n            this.onCancelled({\n                timeoutMs: this.timeoutMs\n            });\n        } catch (error) {\n            this.logger.error(\"Error when attempting to invoke TimeoutTrackerCancelledHandler\", {\n                error\n            });\n        }\n    }\n    constructor(onCancelled, timeoutMs){\n        timeout_tracker_define_property(this, \"timeoutMs\", void 0);\n        timeout_tracker_define_property(this, \"onCancelled\", void 0);\n        timeout_tracker_define_property(this, \"status\", void 0);\n        timeout_tracker_define_property(this, \"logger\", void 0);\n        timeout_tracker_define_property(this, \"timeout\", void 0);\n        this.timeoutMs = timeoutMs;\n        this.onCancelled = onCancelled;\n        this.timeout = setTimeout(()=>this.handleCancel(), this.timeoutMs);\n        this.status = \"running\";\n        this.logger = new timeout_tracker_ConnectLogger({\n            source: \"core.utility.timeout-tracker\",\n            mixin: ()=>({\n                    timeoutMs: this.timeoutMs,\n                    timeoutTrackerStatus: this.status\n                })\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/utility/index.js\n\n\n\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/log-level.js\nvar LogLevel = /*#__PURE__*/ function(LogLevel) {\n    LogLevel[LogLevel[\"trace\"] = 1] = \"trace\";\n    LogLevel[LogLevel[\"debug\"] = 2] = \"debug\";\n    LogLevel[LogLevel[\"info\"] = 3] = \"info\";\n    LogLevel[LogLevel[\"warn\"] = 4] = \"warn\";\n    LogLevel[LogLevel[\"error\"] = 5] = \"error\";\n    return LogLevel;\n}({});\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/log-data-console-writer.js\n/* eslint-disable no-console */ \nfunction logToConsole(level, message, data) {\n    if (data) {\n        switch(level){\n            case LogLevel.error:\n                console.error(message, data);\n                break;\n            case LogLevel.warn:\n                console.warn(message, data);\n                break;\n            case LogLevel.info:\n                console.info(message, data);\n                break;\n            case LogLevel.debug:\n                console.debug(message, data);\n                break;\n            case LogLevel.trace:\n                console.trace(message, data);\n                break;\n            default:\n                console.log(message, data);\n                break;\n        }\n    } else {\n        switch(level){\n            case LogLevel.error:\n                console.error(message);\n                break;\n            case LogLevel.warn:\n                console.warn(message);\n                break;\n            case LogLevel.info:\n                console.info(message);\n                break;\n            case LogLevel.debug:\n                console.debug(message);\n                break;\n            case LogLevel.trace:\n                console.trace(message);\n                break;\n            default:\n                console.log(message);\n                break;\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/log-data-transformer.js\nfunction log_data_transformer_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\nclass LogDataTransformer {\n    getTransformedData(level, data) {\n        if (!this.mixin) return data;\n        return {\n            ...data ?? {},\n            ...this.mixin(data ?? {}, level)\n        };\n    }\n    constructor(mixin){\n        log_data_transformer_define_property(this, \"mixin\", void 0);\n        this.mixin = mixin;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/connect-logger.js\nfunction connect_logger_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\n\n\nclass connect_logger_ConnectLogger {\n    trace(message, data, options) {\n        this.log(LogLevel.trace, message, data, options);\n    }\n    debug(message, data, options) {\n        this.log(LogLevel.debug, message, data, options);\n    }\n    info(message, data, options) {\n        this.log(LogLevel.info, message, data, options);\n    }\n    warn(message, data, options) {\n        this.log(LogLevel.warn, message, data, options);\n    }\n    error(message, data, options) {\n        this.log(LogLevel.error, message, data, options);\n    }\n    log(level, message, data, options) {\n        const transformedData = this.dataTransformer.getTransformedData(level, data);\n        if (!this.ignoreRemote(options)) {\n            this.getProxy().log({\n                level,\n                source: this.source,\n                loggerId: this.loggerId,\n                message,\n                data: transformedData\n            });\n        }\n        if (this.applyDuplicateMessageToConsole(level, options)) {\n            logToConsole(level, message, transformedData);\n        }\n    }\n    getProvider() {\n        if (!this.provider) {\n            this.provider = this.providerFactory ? this.providerFactory() : getGlobalProvider();\n        }\n        return this.provider;\n    }\n    getProxy() {\n        if (!this._proxy) {\n            this._proxy = this.getProvider().getProxy();\n        }\n        return this._proxy;\n    }\n    applyDuplicateMessageToConsole(level, options) {\n        return options?.duplicateMessageToConsole || this.getLogConsoleLevel() <= level;\n    }\n    getLogConsoleLevel() {\n        if (!this._logToConsoleLevel) {\n            this._logToConsoleLevel = this.logOptions?.minLogToConsoleLevelOverride ? this.logOptions.minLogToConsoleLevelOverride : this.getProvider().config?.logging?.minLogToConsoleLevel ?? LogLevel.error;\n        }\n        return this._logToConsoleLevel;\n    }\n    ignoreRemote(options) {\n        return (this.logOptions?.remoteIgnore ?? false) || (options?.remoteIgnore ?? false);\n    }\n    constructor(param){\n        connect_logger_define_property(this, \"provider\", void 0);\n        connect_logger_define_property(this, \"source\", void 0);\n        connect_logger_define_property(this, \"loggerId\", void 0);\n        connect_logger_define_property(this, \"dataTransformer\", void 0);\n        connect_logger_define_property(this, \"logOptions\", void 0);\n        connect_logger_define_property(this, \"_proxy\", void 0);\n        connect_logger_define_property(this, \"_logToConsoleLevel\", void 0);\n        connect_logger_define_property(this, \"providerFactory\", void 0);\n        this._proxy = null;\n        this._logToConsoleLevel = null;\n        this.loggerId = generateStringId(8);\n        if (typeof param === \"string\") {\n            this.source = param;\n            this.dataTransformer = new LogDataTransformer(undefined);\n        } else {\n            this.source = param.source;\n            if (param.provider && typeof param.provider === \"function\") this.providerFactory = param.provider;\n            else this.provider = param.provider;\n            this.dataTransformer = new LogDataTransformer(param.mixin);\n            this.logOptions = param.options;\n        }\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/sanitize-data.js\n\nfunction sanitizeData(data) {\n    if (!data) return undefined;\n    try {\n        return deepClone(data);\n    } catch  {\n        return {\n            error: \"Data failed to sanitize. The original data is not available\"\n        };\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/log-message-factory.js\n\nfunction createLogMessage({ level, source, message, loggerId, data }, context, messageOrigin) {\n    // Sanitize guards against a caller provided data object containing a\n    // non-cloneable object which will fail if sent through a message channel\n    const sanitizedData = sanitizeData(data);\n    return {\n        type: \"log\",\n        level,\n        time: new Date(),\n        source,\n        message,\n        loggerId,\n        data: sanitizedData,\n        context,\n        messageOrigin\n    };\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/logging/index.js\n\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/provider/provider-base.js\nfunction provider_base_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\n\nclass AmazonConnectProviderBase {\n    get id() {\n        return this._id;\n    }\n    getProxy() {\n        if (!this.proxy) {\n            this.proxy = this.proxyFactory(this);\n            this.proxy.init();\n        }\n        return this.proxy;\n    }\n    get config() {\n        return {\n            ...this._config\n        };\n    }\n    onError(handler) {\n        this.getProxy().onError(handler);\n    }\n    offError(handler) {\n        this.getProxy().offError(handler);\n    }\n    static initializeProvider(provider) {\n        if (this.isInitialized) {\n            const msg = \"Attempted to initialize provider more than one time.\";\n            const details = {};\n            try {\n                // Attempts to get the existing provider for logging\n                const existingProvider = getGlobalProvider();\n                const logger = new connect_logger_ConnectLogger({\n                    source: \"core.amazonConnectProvider.init\",\n                    provider: existingProvider\n                });\n                logger.error(msg);\n            } catch (e) {\n                // In the event of a error when logging or attempting\n                // to get provider when logging, capture the message\n                // in the error being thrown\n                details.loggingError = e?.message;\n            }\n            throw new ConnectError({\n                errorKey: \"attemptInitializeMultipleProviders\",\n                reason: msg,\n                details\n            });\n        }\n        setGlobalProvider(provider);\n        this.isInitialized = true;\n        // Getting the proxy sets up the connection with subject\n        provider.getProxy();\n        return provider;\n    }\n    constructor({ config, proxyFactory }){\n        provider_base_define_property(this, \"_id\", void 0);\n        provider_base_define_property(this, \"proxyFactory\", void 0);\n        provider_base_define_property(this, \"_config\", void 0);\n        provider_base_define_property(this, \"proxy\", void 0);\n        this._id = generateUUID();\n        if (!proxyFactory) {\n            throw new Error(\"Attempted to get Proxy before setting up factory\");\n        }\n        if (!config) {\n            throw new Error(\"Failed to include config\");\n        }\n        this.proxyFactory = proxyFactory;\n        this._config = config;\n    }\n}\nprovider_base_define_property(AmazonConnectProviderBase, \"isInitialized\", false);\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/provider/index.js\n\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/context/module-context.js\nfunction module_context_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\nclass ModuleContext {\n    get proxy() {\n        if (!this.moduleProxy) {\n            const proxy = this.engineContext.getProvider().getProxy();\n            const moduleNamespace = this.moduleNamespace;\n            this.moduleProxy = createModuleProxy(proxy, moduleNamespace);\n        }\n        return this.moduleProxy;\n    }\n    getProvider() {\n        return this.engineContext.getProvider();\n    }\n    createLogger(params) {\n        if (typeof params === \"object\") {\n            return new connect_logger_ConnectLogger({\n                ...params,\n                provider: ()=>this.engineContext.getProvider()\n            });\n        } else {\n            return new connect_logger_ConnectLogger({\n                source: params,\n                provider: ()=>this.engineContext.getProvider()\n            });\n        }\n    }\n    createMetricRecorder(params) {\n        if (typeof params === \"object\") {\n            return new ConnectMetricRecorder({\n                ...params,\n                provider: ()=>this.engineContext.getProvider()\n            });\n        } else {\n            return new ConnectMetricRecorder({\n                namespace: params,\n                provider: ()=>this.engineContext.getProvider()\n            });\n        }\n    }\n    constructor(engineContext, moduleNamespace){\n        module_context_define_property(this, \"engineContext\", void 0);\n        module_context_define_property(this, \"moduleNamespace\", void 0);\n        module_context_define_property(this, \"moduleProxy\", void 0);\n        this.engineContext = engineContext;\n        this.moduleNamespace = moduleNamespace;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/context/context.js\nfunction context_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass Context {\n    getProvider() {\n        if (this._provider) return this._provider;\n        else return getGlobalProvider();\n    }\n    getModuleContext(namespace) {\n        return new ModuleContext(this, namespace);\n    }\n    constructor(provider){\n        context_define_property(this, \"_provider\", void 0);\n        this._provider = provider;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/context/index.js\n\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/client/get-module-context.js\n\n\nfunction getModuleContext({ namespace, config }) {\n    if (config && \"context\" in config && config.context) {\n        return config.context;\n    } else if (isAmazonConnectProvider(config)) {\n        return new Context(config).getModuleContext(namespace);\n    } else {\n        return new Context(config?.provider).getModuleContext(namespace);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/client/connect-client.js\nfunction connect_client_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass ConnectClient {\n    constructor(namespace, config){\n        connect_client_define_property(this, \"context\", void 0);\n        connect_client_define_property(this, \"namespace\", void 0);\n        this.namespace = namespace;\n        this.context = getModuleContext({\n            namespace,\n            config\n        });\n    }\n}\nclass ConnectClientWithOptionalConfig {\n    constructor(namespace, config){\n        connect_client_define_property(this, \"context\", void 0);\n        connect_client_define_property(this, \"namespace\", void 0);\n        this.namespace = namespace;\n        this.context = getModuleContext({\n            namespace,\n            config\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/client/index.js\n\n\n\n;// ./node_modules/@amazon-connect/core/lib-esm/index.js\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/***/ },\n\n/***/ 275\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  AmazonConnectGRStreamsSite: () => (/* reexport */ AmazonConnectGRStreamsSite),\n  AmazonConnectStreamsSite: () => (/* reexport */ AmazonConnectStreamsSite),\n  GlobalResiliencyRegion: () => (/* reexport */ GlobalResiliencyRegion)\n});\n\n// EXTERNAL MODULE: ./node_modules/@amazon-connect/core/lib-esm/index.js + 55 modules\nvar lib_esm = __webpack_require__(185);\n;// ./node_modules/@amazon-connect/site/lib-esm/proxy/site-proxy.js\nfunction _define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\nclass SiteProxy extends lib_esm/* Proxy */.by {\n    initProxy() {\n        this.status.update({\n            status: \"connecting\"\n        });\n        window.addEventListener(\"message\", this.postMessageHandler);\n    }\n    resetConnection(reason) {\n        super.resetConnection(reason);\n        this.messagePort = undefined;\n        this.status.update({\n            status: \"connecting\"\n        });\n    }\n    sendMessageToSubject(message) {\n        if (this.messagePort) {\n            this.messagePort.postMessage(message);\n        } else {\n            // This could ever be reached if the setup did not occur and the\n            // acknowledge process was initiated by non supported means.\n            this.proxyLogger.error(\"Failed to send UpstreamMessage. MessagePort not set\", {\n                messageType: message.type\n            });\n        }\n    }\n    addContextToLogger() {\n        return {};\n    }\n    listenForInitialMessage(evt) {\n        // Verify origin\n        if (!this.verifyOrigin(evt)) {\n            // Log message is handled in the function with the actual reason for failure\n            return;\n        }\n        if (this.verifyEventSource(evt)) {\n            // Verify message\n            if (evt.data.type !== \"cross-domain-adapter-init\") {\n                this.invalidInitMessageHandler(evt.data);\n                return;\n            }\n            // When a message port already exists\n            if (this.messagePort) {\n                this.resetConnection(\"Subsequent Message Port Detected\");\n                this.proxyLogger.info(\"Subsequent message port received. Resetting connection\");\n            }\n            this.messagePort = evt.ports[0];\n            if (!this.messagePort) {\n                throw new Error(\"message port not provided by iframe\");\n            }\n            this.messagePort.onmessage = this.consumerMessageHandler.bind(this);\n            this.status.update({\n                status: \"initializing\"\n            });\n            this.messagePort.postMessage({\n                type: \"cross-domain-site-ready\",\n                providerId: this.provider.id,\n                clientSessionId: this.getClientSessionId(),\n                sdkVersion: lib_esm/* sdkVersion */.XL\n            });\n            this.proxyLogger.debug(\"CDA Post message handler removed\");\n        }\n    }\n    getClientSessionId() {\n        return undefined;\n    }\n    verifyOrigin(evt) {\n        const eventOrigin = evt.origin;\n        if (!eventOrigin) {\n            this.proxyLogger.warn(\"No origin provided in event. Ignoring event.\");\n            return false;\n        }\n        let expectedOrigin;\n        try {\n            expectedOrigin = new URL(this.instanceUrl).origin;\n        } catch (error) {\n            this.proxyLogger.error(\"Unable to parse expected origin from instanceUrl. Cannot match\", {\n                error,\n                eventOrigin,\n                instanceUrl: this.instanceUrl\n            }, {\n                duplicateMessageToConsole: true\n            });\n            return false;\n        }\n        if (eventOrigin !== expectedOrigin) {\n            if (evt.data.type === \"cross-domain-adapter-init\") {\n                // Only logging for the specific handshake message. Otherwise just ignore\n                this.proxyLogger.warn(\"Origin of message with type 'cross-domain-adapter-init' did not expected instance value. Ignoring\", {\n                    expectedOrigin,\n                    eventOrigin\n                }, {\n                    duplicateMessageToConsole: true\n                });\n            }\n            return false;\n        }\n        return true;\n    }\n    constructor(provider, instanceUrl){\n        super(provider), _define_property(this, \"proxyLogger\", void 0), _define_property(this, \"messagePort\", void 0), _define_property(this, \"postMessageHandler\", void 0), _define_property(this, \"instanceUrl\", void 0);\n        if (instanceUrl !== undefined) {\n            // Two-parameter constructor: use the explicit instanceUrl parameter\n            this.instanceUrl = instanceUrl;\n        } else {\n            // Single-parameter constructor: get instanceUrl from config\n            this.instanceUrl = provider.config.instanceUrl;\n        }\n        this.postMessageHandler = this.listenForInitialMessage.bind(this);\n        this.proxyLogger = new lib_esm/* ConnectLogger */.pg({\n            source: \"siteProxy\",\n            provider\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site/lib-esm/proxy/index.js\n\n\n\n;// ./node_modules/@amazon-connect/site/lib-esm/index.js\n\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/streams-site-proxy.js\nfunction streams_site_proxy_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass StreamsSiteProxy extends SiteProxy {\n    get proxyType() {\n        return \"streams-site\";\n    }\n    setCCPIframe(iframe) {\n        const isCcpIFrameSet = Boolean(this.ccpIFrame);\n        this.ccpIFrame = iframe;\n        this.unexpectedIframeWarningCount = 0;\n        if (isCcpIFrameSet) this.resetConnection(\"CCP IFrame Updated\");\n    }\n    getUpstreamMessageOrigin() {\n        return {\n            _type: \"streams-site\",\n            providerId: this.provider.id,\n            ...(0,lib_esm/* getOriginAndPath */.xQ)()\n        };\n    }\n    verifyEventSource(evt) {\n        const ccpIFrame = this.ccpIFrame;\n        if (!ccpIFrame) {\n            this.proxyLogger.error(\"CCP Iframe not provided to proxy. Unable to verify event to Connect to CCP.\", {\n                origin: evt.origin\n            });\n            return false;\n        }\n        const valid = evt.source === ccpIFrame.contentWindow;\n        if (!valid) {\n            this.unexpectedIframeWarningCount++;\n            if (this.unexpectedIframeWarningCount < 5) {\n                this.proxyLogger.warn(\"Message came from unexpected iframe. Not a valid CCP. Will not connect\", {\n                    origin: evt.origin,\n                    unexpectedIframeWarningCount: this.unexpectedIframeWarningCount\n                });\n            }\n        }\n        return valid;\n    }\n    invalidInitMessageHandler() {\n    // CCP sends messages via Streams\n    // Take no action here\n    }\n    constructor(provider){\n        super(provider), streams_site_proxy_define_property(this, \"ccpIFrame\", void 0), streams_site_proxy_define_property(this, \"unexpectedIframeWarningCount\", void 0);\n        this.ccpIFrame = null;\n        this.unexpectedIframeWarningCount = 0;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/amazon-connect-streams-site.js\n\n\nclass AmazonConnectStreamsSite extends lib_esm/* AmazonConnectProviderBase */.Lt {\n    static init(config) {\n        const provider = new AmazonConnectStreamsSite(config);\n        AmazonConnectStreamsSite.initializeProvider(provider);\n        return {\n            provider\n        };\n    }\n    static get default() {\n        return (0,lib_esm/* getGlobalProvider */.Lz)(\"AmazonConnectStreamsSite has not been initialized\");\n    }\n    setCCPIframe(iframe) {\n        this.getProxy().setCCPIframe(iframe);\n    }\n    constructor(config){\n        super({\n            config,\n            proxyFactory: (p)=>new StreamsSiteProxy(p)\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/global-resiliency-region.js\nvar GlobalResiliencyRegion = /*#__PURE__*/ function(GlobalResiliencyRegion) {\n    GlobalResiliencyRegion[\"Primary\"] = \"primary\";\n    GlobalResiliencyRegion[\"Secondary\"] = \"secondary\";\n    return GlobalResiliencyRegion;\n}({});\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/regional-proxy.js\nfunction regional_proxy_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\nclass RegionalProxy extends SiteProxy {\n    get proxyType() {\n        return \"acgr-regional-proxy\";\n    }\n    setCCPIframe(iframe) {\n        const isCcpIFrameSet = Boolean(this.ccpIFrame);\n        this.ccpIFrame = iframe;\n        this.unexpectedIframeWarningCount = 0;\n        if (isCcpIFrameSet) this.resetConnection(\"CCP IFrame Updated\");\n    }\n    handleMessageFromSubject(msg) {\n        switch(msg.type){\n            // The global resiliency proxy owns the requests and the subscriptions, so\n            // whatever answers one of those belongs to it rather than to this proxy\n            case \"response\":\n            case \"publish\":\n            case \"error\":\n            case \"requestTimeoutOverride\":\n                this.relayToGlobalResiliencyProxy(msg);\n                break;\n            default:\n                // All other messages handled by this proxy\n                super.handleMessageFromSubject(msg);\n        }\n    }\n    getUpstreamMessageOrigin() {\n        return this.getParentUpstreamMessageOrigin();\n    }\n    verifyEventSource(evt) {\n        const ccpIFrame = this.ccpIFrame;\n        if (!ccpIFrame) {\n            this.proxyLogger.error(\"CCP Iframe not provided to proxy. Unable to verify event to Connect to CCP.\", {\n                origin: evt.origin\n            });\n            return false;\n        }\n        const valid = evt.source === ccpIFrame.contentWindow;\n        if (!valid) {\n            this.unexpectedIframeWarningCount++;\n            if (this.unexpectedIframeWarningCount < 5) {\n                this.proxyLogger.warn(\"Message came from unexpected iframe. Not a valid CCP. Will not connect\", {\n                    origin: evt.origin,\n                    unexpectedIframeWarningCount: this.unexpectedIframeWarningCount\n                });\n            }\n        }\n        return valid;\n    }\n    sendOrQueueMessageToSubject(message) {\n        super.sendOrQueueMessageToSubject(message);\n    }\n    invalidInitMessageHandler() {\n    // CCP sends messages via Streams\n    // Take no action here\n    }\n    constructor({ provider, region, getUpstreamMessageOrigin, relayToGlobalResiliencyProxy }){\n        super(provider, region === GlobalResiliencyRegion.Primary ? provider.config.primaryInstanceUrl : provider.config.secondaryInstanceUrl), regional_proxy_define_property(this, \"ccpIFrame\", void 0), regional_proxy_define_property(this, \"region\", void 0), regional_proxy_define_property(this, \"unexpectedIframeWarningCount\", void 0), regional_proxy_define_property(this, \"getParentUpstreamMessageOrigin\", void 0), regional_proxy_define_property(this, \"relayToGlobalResiliencyProxy\", void 0);\n        this.getParentUpstreamMessageOrigin = getUpstreamMessageOrigin;\n        this.relayToGlobalResiliencyProxy = relayToGlobalResiliencyProxy;\n        this.ccpIFrame = null;\n        this.region = region;\n        this.unexpectedIframeWarningCount = 0;\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/verify-region.js\n\nfunction verifyRegion(region) {\n    const validValues = Object.values(GlobalResiliencyRegion);\n    if (!validValues.includes(region)) {\n        throw new Error(`Invalid region: ${region}. Valid regions are: ${validValues.join(\", \")}`);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/global-resiliency-proxy.js\nfunction global_resiliency_proxy_define_property(obj, key, value) {\n    if (key in obj) {\n        Object.defineProperty(obj, key, {\n            value: value,\n            enumerable: true,\n            configurable: true,\n            writable: true\n        });\n    } else obj[key] = value;\n    return obj;\n}\n;\n\n\n\nclass GlobalResiliencyProxy extends lib_esm/* Proxy */.by {\n    initProxy() {\n        Object.values(this.regionProxies).forEach((proxy)=>proxy.init());\n    }\n    setCCPIframe({ iframe, region }) {\n        verifyRegion(region);\n        this.regionProxies[region].setCCPIframe(iframe);\n    }\n    setActiveRegion(region) {\n        verifyRegion(region);\n        if (region !== this.activeRegion) {\n            const previousRegionProxy = this.regionProxies[this.activeRegion];\n            const currentRegionProxy = this.regionProxies[region];\n            // Removes subscriptions from original engine\n            this.unsubscribeAllHandlers();\n            this.proxyLogger.info(\"Active region changed\", {\n                current: region,\n                instanceUrl: currentRegionProxy.instanceUrl,\n                previousInstanceUrl: previousRegionProxy.instanceUrl\n            });\n            this.activeRegion = region;\n            // Adds subscriptions to new engine\n            this.restoreAllHandler();\n            const currentStatus = this.status.getStatus();\n            const activeRegionStatus = currentRegionProxy.connectionStatus;\n            switch(activeRegionStatus){\n                case \"ready\":\n                    this.proxyLogger.info(\"Active region is ready\", {\n                        activeRegionStatus\n                    });\n                    this.status.update({\n                        status: \"ready\",\n                        connectionId: currentRegionProxy[\"connectionId\"]\n                    });\n                    break;\n                case \"connecting\":\n                case \"initializing\":\n                    if (currentStatus !== activeRegionStatus) {\n                        this.status.update({\n                            status: activeRegionStatus\n                        });\n                    }\n                    break;\n                case \"error\":\n                    if (currentStatus !== activeRegionStatus) {\n                        this.status.update({\n                            status: \"error\",\n                            reason: \"new active region in error on transition\",\n                            details: {\n                                region: this.activeRegion\n                            }\n                        });\n                    }\n                    break;\n            }\n        }\n    }\n    get proxyType() {\n        return \"global-resiliency-proxy\";\n    }\n    // Override the normal sendOrQueueMessageToSubject to rely on the\n    // of the regional proxy\n    sendOrQueueMessageToSubject(message) {\n        this.regionProxies[this.activeRegion].sendOrQueueMessageToSubject(message);\n    }\n    addContextToLogger() {\n        return {\n            activeRegion: this.activeRegion\n        };\n    }\n    // When sending a message, it goes to the sendOrQueueMessageToSubject of the\n    // active region\n    sendMessageToSubject(message) {\n        this.regionProxies[this.activeRegion].sendOrQueueMessageToSubject(message);\n    }\n    getUpstreamMessageOrigin() {\n        return {\n            _type: \"global-resiliency-streams-site\",\n            providerId: this.provider.id,\n            ...(0,lib_esm/* getOriginAndPath */.xQ)(),\n            activeRegion: this.activeRegion\n        };\n    }\n    addChildIframeChannel(params) {\n        this.regionProxies[this.activeRegion].addChildIframeChannel(params);\n    }\n    addChildComponentChannel(params) {\n        this.regionProxies[this.activeRegion].addChildComponentChannel(params);\n    }\n    updateChildIframeChannelPort(params) {\n        this.regionProxies[this.activeRegion].updateChildIframeChannelPort(params);\n    }\n    constructor(provider){\n        super(provider), global_resiliency_proxy_define_property(this, \"proxyLogger\", void 0), global_resiliency_proxy_define_property(this, \"activeRegion\", void 0), global_resiliency_proxy_define_property(this, \"regionProxies\", void 0);\n        this.activeRegion = GlobalResiliencyRegion.Primary;\n        this.regionProxies = {\n            [GlobalResiliencyRegion.Primary]: new RegionalProxy({\n                provider,\n                region: GlobalResiliencyRegion.Primary,\n                getUpstreamMessageOrigin: this.getUpstreamMessageOrigin.bind(this),\n                relayToGlobalResiliencyProxy: this.handleMessageFromSubject.bind(this)\n            }),\n            [GlobalResiliencyRegion.Secondary]: new RegionalProxy({\n                provider,\n                region: GlobalResiliencyRegion.Secondary,\n                getUpstreamMessageOrigin: this.getUpstreamMessageOrigin.bind(this),\n                relayToGlobalResiliencyProxy: this.handleMessageFromSubject.bind(this)\n            })\n        };\n        this.proxyLogger = new lib_esm/* ConnectLogger */.pg({\n            source: \"globalResiliencyProxy\",\n            provider\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/amazon-connect-gr-streams-site.js\n\n\nclass AmazonConnectGRStreamsSite extends lib_esm/* AmazonConnectProviderBase */.Lt {\n    static init(config) {\n        const provider = new AmazonConnectGRStreamsSite(config);\n        AmazonConnectGRStreamsSite.initializeProvider(provider);\n        return {\n            provider\n        };\n    }\n    static get default() {\n        return (0,lib_esm/* getGlobalProvider */.Lz)(\"AmazonConnectGRStreamsSite has not been initialized\");\n    }\n    // This should be called for each region on startup\n    setCCPIframe(iframe) {\n        this.getProxy().setCCPIframe(iframe);\n    }\n    setActiveRegion(region) {\n        this.getProxy().setActiveRegion(region);\n    }\n    constructor(config){\n        super({\n            config,\n            proxyFactory: (p)=>new GlobalResiliencyProxy(p)\n        });\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/global-resiliency/index.js\n\n\n\n\n;// ./node_modules/@amazon-connect/site-streams/lib-esm/index.js\n\n\n\n\n\n/***/ },\n\n/***/ 909\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  Locales: () => (/* reexport */ Locales),\n  SettingsClient: () => (/* reexport */ SettingsClient),\n  UserClient: () => (/* reexport */ UserClient),\n  UserRoutes: () => (/* reexport */ UserRoutes),\n  UserTopicKey: () => (/* reexport */ UserTopicKey),\n  userNamespace: () => (/* reexport */ userNamespace)\n});\n\n;// ./node_modules/@amazon-connect/user/lib-esm/locales.js\n/**\n * The languages the SDK can persist as a user's display language.\n *\n * Exported as a runtime value so consumers can enumerate the supported locales\n * (for example, to build a language picker) instead of hard-coding the set.\n * `Locale` is derived from this array, so the type and the runtime list never\n * drift.\n */ const Locales = [\n    \"en_US\",\n    \"de_DE\",\n    \"es_ES\",\n    \"fr_FR\",\n    \"ja_JP\",\n    \"it_IT\",\n    \"ko_KR\",\n    \"pt_BR\",\n    \"zh_CN\",\n    \"zh_TW\"\n];\n\n\n;// ./node_modules/@amazon-connect/user/lib-esm/namespace.js\nconst userNamespace = \"aws.connect.user\";\n\n\n;// ./node_modules/@amazon-connect/user/lib-esm/routes.js\nvar UserRoutes = /*#__PURE__*/ function(UserRoutes) {\n    UserRoutes[\"getLanguage\"] = \"getLanguage\";\n    UserRoutes[\"setLanguage\"] = \"setLanguage\";\n    UserRoutes[\"getUserRegion\"] = \"getUserRegion\";\n    UserRoutes[\"getUserArn\"] = \"getUserArn\";\n    UserRoutes[\"getInstanceId\"] = \"getInstanceId\";\n    UserRoutes[\"setVisualMode\"] = \"setVisualMode\";\n    UserRoutes[\"getNetworkType\"] = \"getNetworkType\";\n    return UserRoutes;\n}({});\n\n\n// EXTERNAL MODULE: ./node_modules/@amazon-connect/core/lib-esm/index.js + 55 modules\nvar lib_esm = __webpack_require__(185);\n;// ./node_modules/@amazon-connect/user/lib-esm/topic-keys.js\nvar UserTopicKey = /*#__PURE__*/ function(UserTopicKey) {\n    UserTopicKey[\"LanguageChanged\"] = \"languageChange\";\n    UserTopicKey[\"VisualModeChanged\"] = \"visualModeChange\";\n    return UserTopicKey;\n}({});\n\n\n;// ./node_modules/@amazon-connect/user/lib-esm/settings-client.js\n\n\n\n\nclass SettingsClient extends lib_esm/* ConnectClientWithOptionalConfig */.uU {\n    async getLanguage() {\n        const { language } = await this.context.proxy.request(UserRoutes.getLanguage);\n        return language;\n    }\n    onLanguageChanged(handler) {\n        this.context.proxy.subscribe({\n            key: UserTopicKey.LanguageChanged\n        }, handler);\n    }\n    offLanguageChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: UserTopicKey.LanguageChanged\n        }, handler);\n    }\n    setLanguage(language) {\n        return this.context.proxy.request(UserRoutes.setLanguage, {\n            language\n        });\n    }\n    async setVisualMode(visualMode) {\n        await this.context.proxy.request(UserRoutes.setVisualMode, {\n            visualMode\n        });\n    }\n    onVisualModeChange(handler) {\n        this.context.proxy.subscribe({\n            key: UserTopicKey.VisualModeChanged\n        }, handler);\n    }\n    offVisualModeChange(handler) {\n        this.context.proxy.unsubscribe({\n            key: UserTopicKey.VisualModeChanged\n        }, handler);\n    }\n    constructor(config){\n        super(userNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/user/lib-esm/user-client.js\n\n\n\n/**\n * Client for user-related operations in Amazon Connect.\n * Provides methods for retrieving user information and instance details.\n */ class UserClient extends lib_esm/* ConnectClient */.C$ {\n    /**\n   * Gets the active region of the user\n   *\n   * @returns A promise that resolves to the region string (e.g., \"us-west-2\", \"us-east-1\")\n   */ async getUserRegion() {\n        const { region } = await this.context.proxy.request(UserRoutes.getUserRegion);\n        return region;\n    }\n    /**\n   * Gets the ARN (Amazon Resource Name) of the currently authenticated user.\n   *\n   * @returns Promise resolving to the user's ARN\n   */ async getUserArn() {\n        const { userArn } = await this.context.proxy.request(UserRoutes.getUserArn);\n        return userArn;\n    }\n    /**\n   * Gets the instance ID of the Amazon Connect instance for the current user.\n   *\n   * @returns Promise resolving to the instance ID\n   */ async getInstanceId() {\n        const { instanceId } = await this.context.proxy.request(UserRoutes.getInstanceId);\n        return instanceId;\n    }\n    /**\n   * Gets the network type of the Amazon Connect instance for the current user.\n   *\n   * @returns Promise resolving to the network type (\"DUAL_STACK\" or \"IPV4\")\n   */ async getNetworkType() {\n        const { networkType } = await this.context.proxy.request(UserRoutes.getNetworkType);\n        return networkType;\n    }\n    constructor(config){\n        super(userNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/user/lib-esm/index.js\n\n\n\n\n\n\n\n\n\n\n/***/ },\n\n/***/ 953\n(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// ESM COMPAT FLAG\n__webpack_require__.r(__webpack_exports__);\n\n// EXPORTS\n__webpack_require__.d(__webpack_exports__, {\n  VoiceClient: () => (/* reexport */ VoiceClient),\n  VoiceRoutes: () => (/* reexport */ VoiceRoutes),\n  VoiceTopicKeys: () => (/* reexport */ VoiceTopicKeys),\n  voiceNamespace: () => (/* reexport */ voiceNamespace)\n});\n\n;// ./node_modules/@amazon-connect/voice/lib-esm/namespace.js\nconst voiceNamespace = \"aws.connect.voice\";\n\n\n;// ./node_modules/@amazon-connect/voice/lib-esm/routes.js\nvar VoiceRoutes = /*#__PURE__*/ function(VoiceRoutes) {\n    VoiceRoutes[\"getPhoneNumber\"] = \"contact/getPhoneNumber\";\n    VoiceRoutes[\"getInitialCustomerPhoneNumber\"] = \"voice/getInitialCustomerPhoneNumber\";\n    VoiceRoutes[\"listDialableCountries\"] = \"voice/listDialableCountries\";\n    VoiceRoutes[\"createOutboundCall\"] = \"voice/createOutboundCall\";\n    VoiceRoutes[\"getOutboundCallPermission\"] = \"voice/getOutboundCallPermission\";\n    VoiceRoutes[\"conferenceParticipants\"] = \"voice/conferenceParticipants\";\n    VoiceRoutes[\"holdParticipant\"] = \"voice/holdParticipant\";\n    VoiceRoutes[\"resumeParticipant\"] = \"voice/resumeParticipant\";\n    VoiceRoutes[\"holdSelf\"] = \"voice/holdSelf\";\n    VoiceRoutes[\"resumeSelf\"] = \"voice/resumeSelf\";\n    VoiceRoutes[\"isParticipantOnHold\"] = \"voice/isParticipantOnHold\";\n    VoiceRoutes[\"isSelfOnHold\"] = \"voice/isSelfOnHold\";\n    VoiceRoutes[\"canResumeSelf\"] = \"voice/canResumeSelf\";\n    VoiceRoutes[\"canResumeParticipant\"] = \"voice/canResumeParticipant\";\n    VoiceRoutes[\"getVoiceEnhancementMode\"] = \"voice/getVoiceEnhancementMode\";\n    VoiceRoutes[\"setVoiceEnhancementMode\"] = \"voice/setVoiceEnhancementMode\";\n    VoiceRoutes[\"getVoiceEnhancementPaths\"] = \"voice/getVoiceEnhancementPaths\";\n    return VoiceRoutes;\n}({});\n\n\n;// ./node_modules/@amazon-connect/voice/lib-esm/topic-keys.js\nvar VoiceTopicKeys = /*#__PURE__*/ function(VoiceTopicKeys) {\n    VoiceTopicKeys[\"VoiceEnhancementModeChanged\"] = \"voice/voiceEnhancementModeChanged\";\n    VoiceTopicKeys[\"ParticipantHold\"] = \"voice/participantHold\";\n    VoiceTopicKeys[\"ParticipantResume\"] = \"voice/participantResume\";\n    VoiceTopicKeys[\"SelfHold\"] = \"voice/selfHold\";\n    VoiceTopicKeys[\"SelfResume\"] = \"voice/selfResume\";\n    VoiceTopicKeys[\"CanResumeSelfChanged\"] = \"voice/canResumeSelfChanged\";\n    VoiceTopicKeys[\"CanResumeParticipantChanged\"] = \"voice/canResumeParticipantChanged\";\n    return VoiceTopicKeys;\n}({});\n\n\n// EXTERNAL MODULE: ./node_modules/@amazon-connect/core/lib-esm/index.js + 55 modules\nvar lib_esm = __webpack_require__(185);\n;// ./node_modules/@amazon-connect/voice/lib-esm/voice-client.js\n\n\n\n\nclass VoiceClient extends lib_esm/* ConnectClientWithOptionalConfig */.uU {\n    /**\n   * @deprecated Use `getInitialCustomerPhoneNumber` instead.\n   */ async getPhoneNumber(contactId) {\n        const { phoneNumber } = await this.context.proxy.request(VoiceRoutes.getPhoneNumber, {\n            contactId\n        });\n        return phoneNumber;\n    }\n    async getInitialCustomerPhoneNumber(contactId) {\n        const { phoneNumber } = await this.context.proxy.request(VoiceRoutes.getInitialCustomerPhoneNumber, {\n            contactId\n        });\n        return phoneNumber;\n    }\n    listDialableCountries() {\n        return this.context.proxy.request(VoiceRoutes.listDialableCountries);\n    }\n    async getOutboundCallPermission() {\n        const { outboundCallPermission } = await this.context.proxy.request(VoiceRoutes.getOutboundCallPermission);\n        return outboundCallPermission;\n    }\n    /**\n   * @param phoneNumber phone number string in E.164 format\n   */ createOutboundCall(phoneNumber, options) {\n        return this.context.proxy.request(VoiceRoutes.createOutboundCall, {\n            phoneNumber,\n            options\n        });\n    }\n    onVoiceEnhancementModeChanged(handler) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.VoiceEnhancementModeChanged\n        }, handler);\n    }\n    offVoiceEnhancementModeChanged(handler) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.VoiceEnhancementModeChanged\n        }, handler);\n    }\n    async getVoiceEnhancementMode() {\n        const { voiceEnhancementMode } = await this.context.proxy.request(VoiceRoutes.getVoiceEnhancementMode);\n        return voiceEnhancementMode;\n    }\n    setVoiceEnhancementMode(voiceEnhancementMode) {\n        return this.context.proxy.request(VoiceRoutes.setVoiceEnhancementMode, {\n            voiceEnhancementMode\n        });\n    }\n    async getVoiceEnhancementPaths() {\n        const { voiceEnhancementPaths } = await this.context.proxy.request(VoiceRoutes.getVoiceEnhancementPaths);\n        return voiceEnhancementPaths;\n    }\n    async conferenceParticipants(contactId) {\n        return this.context.proxy.request(VoiceRoutes.conferenceParticipants, {\n            contactId\n        });\n    }\n    async holdParticipant(participantId) {\n        return this.context.proxy.request(VoiceRoutes.holdParticipant, {\n            participantId\n        });\n    }\n    async resumeParticipant(participantId) {\n        return this.context.proxy.request(VoiceRoutes.resumeParticipant, {\n            participantId\n        });\n    }\n    async holdSelf(contactId) {\n        return this.context.proxy.request(VoiceRoutes.holdSelf, {\n            contactId\n        });\n    }\n    async resumeSelf(contactId) {\n        return this.context.proxy.request(VoiceRoutes.resumeSelf, {\n            contactId\n        });\n    }\n    async isParticipantOnHold(participantId) {\n        const { isOnHold } = await this.context.proxy.request(VoiceRoutes.isParticipantOnHold, {\n            participantId\n        });\n        return isOnHold;\n    }\n    async isSelfOnHold(contactId) {\n        const { isOnHold } = await this.context.proxy.request(VoiceRoutes.isSelfOnHold, {\n            contactId\n        });\n        return isOnHold;\n    }\n    async canResumeSelf(contactId) {\n        const response = await this.context.proxy.request(VoiceRoutes.canResumeSelf, {\n            contactId\n        });\n        return response.canResumeSelf;\n    }\n    async canResumeParticipant(participantId) {\n        const response = await this.context.proxy.request(VoiceRoutes.canResumeParticipant, {\n            participantId\n        });\n        return response.canResumeParticipant;\n    }\n    /**\n   * Subscribes to events when any participant is put on hold on a contact.\n   * Each contact has multiple participants, and any given participant can be put on hold or resumed.\n   *\n   * @param handler - Event handler function to call when participants are put on hold\n   * @param participantId - Optional participant ID to filter events for a specific participant\n   */ onParticipantHold(handler, participantId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.ParticipantHold,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when any participant is put on hold.\n   * Removes the specified handler from receiving notifications about participant hold events.\n   *\n   * @param handler - Event handler function to remove\n   * @param participantId - Optional participant ID to unsubscribe from specific participant events\n   */ offParticipantHold(handler, participantId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.ParticipantHold,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Subscribes to events when any participant is taken off hold on a contact.\n   * Each contact has multiple participants, and any given participant can be put on hold or taken off hold.\n   *\n   * @param handler - Event handler function to call when participants are taken off hold\n   * @param participantId - Optional participant ID to filter events for a specific participant\n   */ onParticipantResume(handler, participantId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.ParticipantResume,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when any participant is taken off hold.\n   * Removes the specified handler from receiving notifications about participants being taken off hold.\n   *\n   * @param handler - Event handler function to remove\n   * @param participantId - Optional participant ID to unsubscribe from specific participant events\n   */ offParticipantResume(handler, participantId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.ParticipantResume,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Subscribes to events when the current user's participant is put on hold on a contact.\n   * Each contact has multiple participants, and this event fires specifically when the participant\n   * associated with the current user is put on hold, allowing specification by contact rather than participant ID.\n   *\n   * @param handler - Event handler function to call when the current user's participant is put on hold\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onSelfHold(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.SelfHold,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when the current user's participant is put on hold.\n   * Removes the specified handler from receiving notifications about the current user's participant hold events.\n   *\n   * @param handler - Event handler function to remove\n   * @param contactId - Optional contact ID to unsubscribe from specific contact events\n   */ offSelfHold(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.SelfHold,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events when the current user's participant is taken off hold on a contact.\n   * Each contact has multiple participants, and this event fires specifically when the participant\n   * associated with the current user is taken off hold, allowing specification by contact rather than participant ID.\n   *\n   * @param handler - Event handler function to call when the current user's participant is taken off hold\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onSelfResume(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.SelfResume,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when the current user's participant is taken off hold.\n   * Removes the specified handler from receiving notifications about the current user's participant being taken off hold.\n   *\n   * @param handler - Event handler function to remove\n   * @param contactId - Optional contact ID to unsubscribe from specific contact events\n   */ offSelfResume(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.SelfResume,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events when the current user's participant capability to be taken off hold changes on a contact.\n   * Each contact has multiple participants, and this event fires specifically when the participant\n   * associated with the current user's capability to be taken off hold changes, allowing specification by contact rather than participant ID.\n   *\n   * @param handler - Event handler function to call when the current user's participant capability to be taken off hold changes\n   * @param contactId - Optional contact ID to filter events for a specific contact\n   */ onCanResumeSelfChanged(handler, contactId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.CanResumeSelfChanged,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when the current user's participant capability to be taken off hold changes.\n   * Removes the specified handler from receiving notifications about the current user's participant capability to be taken off hold changes.\n   *\n   * @param handler - Event handler function to remove\n   * @param contactId - Optional contact ID to unsubscribe from specific contact events\n   */ offCanResumeSelfChanged(handler, contactId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.CanResumeSelfChanged,\n            parameter: contactId\n        }, handler);\n    }\n    /**\n   * Subscribes to events when a participant's capability to be taken off hold changes.\n   * This event fires when the ability to resume a participant from hold changes,\n   * which can happen due to various factors such as permissions or system state.\n   *\n   * @param handler - Event handler function to call when a participant's capability to be taken off hold changes\n   * @param participantId - Optional participant ID to filter events for a specific participant\n   */ onCanResumeParticipantChanged(handler, participantId) {\n        this.context.proxy.subscribe({\n            key: VoiceTopicKeys.CanResumeParticipantChanged,\n            parameter: participantId\n        }, handler);\n    }\n    /**\n   * Unsubscribes from events when a participant's capability to be taken off hold changes.\n   * Removes the specified handler from receiving notifications about participant capability to be taken off hold changes.\n   *\n   * @param handler - Event handler function to remove\n   * @param participantId - Optional participant ID to unsubscribe from specific participant events\n   */ offCanResumeParticipantChanged(handler, participantId) {\n        this.context.proxy.unsubscribe({\n            key: VoiceTopicKeys.CanResumeParticipantChanged,\n            parameter: participantId\n        }, handler);\n    }\n    constructor(config){\n        super(voiceNamespace, config);\n    }\n}\n\n\n;// ./node_modules/@amazon-connect/voice/lib-esm/index.js\n\n\n\n\n\n\n\n\n/***/ },\n\n/***/ 845\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.decideModel = exports.measureAndDecideExecutionApproach = void 0;\nconst loader_js_1 = __webpack_require__(364);\nconst support_js_1 = __webpack_require__(128);\nconst DEFAULT_EXECUTION_QUANTA = 3;\nconst SIMD_SCORE_FIXED_POINT = 2.50;\nconst WASM_SCORE_FIXED_POINT = 2.63;\nconst SINGLE_INLINE_SCORE_MULTIPLIER = 0.6;\nconst QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.65;\nconst INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.5;\nconst WORKER_SCORE_MULTIPLIER = 0.7;\nconst PERFORMANCE_THRESHOLDS = {\n    wasm: {\n        noSupport: 0.07,\n        inline: {\n            c100: 1,\n            c50: 0.36,\n            c20: 0.16,\n            c10: 0.07,\n        },\n        worker: {\n            c100: 0.5,\n            c50: 0.18,\n            c20: 0.08,\n            c10: 0.06,\n        },\n    },\n    simd: {\n        noSupport: 0.10,\n        inline: {\n            c100: 1,\n            c50: 0.43,\n            c20: 0.3,\n            c10: 0.2,\n        },\n        worker: {\n            c100: 0.5,\n            c50: 0.21,\n            c20: 0.15,\n            c10: 0.10,\n        },\n    },\n};\nclass Estimator {\n    constructor(fetchConfig, logger) {\n        this.fetchConfig = fetchConfig;\n        this.logger = logger;\n        const workerURL = `${fetchConfig.paths.workers}estimator-v1.js`;\n        this.fetchBehavior = { headers: fetchConfig.headers, escapedQueryString: fetchConfig.escapedQueryString };\n        this.worker = (0, loader_js_1.loadWorker)(workerURL, 'VoiceFocusEstimator', this.fetchBehavior, logger);\n    }\n    roundtrip(toSend, receive, expectedKey) {\n        return new Promise((resolve, reject) => {\n            this.worker.then(worker => {\n                let listener;\n                listener = (event) => {\n                    const { message, key } = event.data;\n                    if (message === receive && key === expectedKey) {\n                        worker.removeEventListener('message', listener);\n                        resolve(event.data);\n                    }\n                };\n                worker.addEventListener('message', listener);\n                worker.postMessage(toSend);\n            }).catch(e => {\n                var _a;\n                (_a = this.logger) === null || _a === void 0 ? void 0 : _a.error('Failed to load worker.', e);\n                reject(e);\n            });\n        });\n    }\n    supportsSIMD(url) {\n        const key = 'simd';\n        const path = url || `${this.fetchConfig.paths.wasm}simd-v1.wasm`;\n        const toSend = {\n            message: 'supports-simd',\n            fetchBehavior: this.fetchBehavior,\n            path,\n            key,\n        };\n        return this.roundtrip(toSend, 'simd-support', key)\n            .then(data => data.supports);\n    }\n    measure(simd, budget) {\n        const benchWASM = `${this.fetchConfig.paths.wasm}bench-v1.wasm`;\n        const benchSIMD = `${this.fetchConfig.paths.wasm}bench-v1_simd.wasm`;\n        const path = simd ? benchSIMD : benchWASM;\n        const key = `bench:${simd}`;\n        const toSend = {\n            message: 'measure',\n            fetchBehavior: this.fetchBehavior,\n            budget,\n            path,\n            key,\n        };\n        return this.roundtrip(toSend, 'measurement', key)\n            .then(data => {\n            if (data.measurement) {\n                return data.measurement;\n            }\n            throw new Error('Failed to measure.');\n        });\n    }\n    stop() {\n        this.worker.then(worker => {\n            var _a;\n            (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug('Stopping estimator worker.');\n            worker.terminate();\n        }).catch(e => {\n        });\n    }\n}\nconst inlineScoreMultiplier = (executionQuanta, usagePreference) => {\n    if (executionQuanta === 1) {\n        return SINGLE_INLINE_SCORE_MULTIPLIER;\n    }\n    if (usagePreference === 'quality') {\n        return QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\n    }\n    return INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\n};\nconst decideExecutionApproach = ({ supportsSIMD, supportsSAB, duration, executionPreference = 'auto', simdPreference, variantPreference = 'auto', namePreference = 'default', usagePreference, executionQuantaPreference = DEFAULT_EXECUTION_QUANTA, }, allThresholds = PERFORMANCE_THRESHOLDS, logger) => {\n    const forceSIMD = (simdPreference === 'force');\n    const useSIMD = forceSIMD || (simdPreference !== 'disable' && supportsSIMD);\n    const checkScores = duration !== -1;\n    const baseScore = checkScores ? (useSIMD ? SIMD_SCORE_FIXED_POINT : WASM_SCORE_FIXED_POINT) / duration : 0;\n    const thresholds = useSIMD ? allThresholds.simd : allThresholds.wasm;\n    const inlineScore = checkScores ? inlineScoreMultiplier(executionQuantaPreference, usagePreference) * baseScore : 0;\n    const workerScore = checkScores ? WORKER_SCORE_MULTIPLIER * baseScore : 0;\n    const name = namePreference;\n    const unsupported = (reason) => {\n        return {\n            supported: false,\n            reason,\n        };\n    };\n    if (checkScores) {\n        if (baseScore < thresholds.noSupport) {\n            return unsupported(`Performance score ${baseScore} worse than threshold ${thresholds.noSupport}.`);\n        }\n    }\n    else {\n        if ((executionPreference === 'auto') ||\n            (variantPreference === 'auto')) {\n            return unsupported(`Missing explicit execution (${executionPreference}) or variant (${variantPreference}) preference, but no scoring performed.`);\n        }\n    }\n    logger === null || logger === void 0 ? void 0 : logger.debug(`Bench duration ${duration} yields inline score ${inlineScore} and worker score ${workerScore}.`);\n    const succeed = (processor, executionApproach, variant) => {\n        return {\n            supported: true,\n            useSIMD,\n            processor,\n            executionApproach,\n            variant,\n            executionQuanta: (executionApproach === 'inline' ? executionQuantaPreference : undefined),\n            name,\n        };\n    };\n    const resolveVariant = (score, variant, lookup) => {\n        if (variant !== 'auto') {\n            if (!checkScores || score > lookup[variant]) {\n                return variant;\n            }\n            return 'failed';\n        }\n        if (score > lookup.c100) {\n            return 'c100';\n        }\n        if (score > lookup.c50) {\n            return 'c50';\n        }\n        if (score > lookup.c20) {\n            return 'c20';\n        }\n        if (score > lookup.c10) {\n            return 'c10';\n        }\n        return 'failed';\n    };\n    const reducePreference = (preference) => {\n        switch (preference || 'auto') {\n            case 'auto': {\n                let inlineOption = reducePreference('inline');\n                let workerOption = reducePreference('worker');\n                logger === null || logger === void 0 ? void 0 : logger.debug(`Reducing auto preference: ${JSON.stringify(inlineOption)} vs ${JSON.stringify(workerOption)}`);\n                if (inlineOption.supported === false) {\n                    return workerOption;\n                }\n                if (workerOption.supported === false) {\n                    return workerOption;\n                }\n                if (inlineOption.variant === workerOption.variant || inlineOption.variant === 'c50') {\n                    return inlineOption;\n                }\n                return workerOption;\n            }\n            case 'worker': {\n                if ((0, support_js_1.supportsSharedArrayBuffer)(globalThis, window, logger)) {\n                    return reducePreference('worker-sab');\n                }\n                return reducePreference('worker-postMessage');\n            }\n            case 'inline': {\n                const variant = resolveVariant(inlineScore, variantPreference, thresholds.inline);\n                if (variant === 'failed') {\n                    return unsupported(`Performance score ${inlineScore} not sufficient for inline use with variant preference ${variantPreference}.`);\n                }\n                ;\n                return succeed('voicefocus-inline-processor', 'inline', variant);\n            }\n            case 'worker-sab': {\n                if (!supportsSAB) {\n                    const reason = 'Requested worker-sab but no SharedArrayBuffer support.';\n                    logger === null || logger === void 0 ? void 0 : logger.warn(reason);\n                    return { supported: false, reason };\n                }\n                const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\n                if (variant === 'failed') {\n                    return unsupported(`Performance score ${workerScore} not sufficient for worker use with variant preference ${variantPreference}.`);\n                }\n                ;\n                return succeed('voicefocus-worker-sab-processor', 'worker-sab', variant);\n            }\n            case 'worker-postMessage': {\n                const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\n                if (variant === 'failed') {\n                    return unsupported(`Performance score ${workerScore} not sufficient for worker use.`);\n                }\n                ;\n                if (name === 'ns_es') {\n                    const reason = 'Requested echo suppression but postMessage executor does not support it.';\n                    logger === null || logger === void 0 ? void 0 : logger.warn(reason);\n                    return { supported: false, reason };\n                }\n                ;\n                return succeed('voicefocus-worker-postMessage-processor', 'worker-postMessage', variant);\n            }\n        }\n    };\n    return reducePreference(executionPreference);\n};\nconst featureCheck = (forceSIMD, fetchConfig, logger, estimator) => __awaiter(void 0, void 0, void 0, function* () {\n    const supports = {\n        supportsSIMD: forceSIMD,\n        supportsSAB: (0, support_js_1.supportsSharedArrayBuffer)(globalThis, window, logger),\n        duration: -1,\n    };\n    if (forceSIMD) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Supports SIMD: true (force)');\n        return supports;\n    }\n    const cleanup = !estimator;\n    const e = estimator || new Estimator(fetchConfig, logger);\n    try {\n        const useSIMD = !(0, support_js_1.isOldChrome)(window, logger) && (yield e.supportsSIMD());\n        logger === null || logger === void 0 ? void 0 : logger.info(`Supports SIMD: ${useSIMD} (force: ${forceSIMD})`);\n        supports.supportsSIMD = useSIMD;\n        return supports;\n    }\n    finally {\n        if (cleanup) {\n            e.stop();\n        }\n    }\n});\nconst estimateAndFeatureCheck = (forceSIMD, fetchConfig, estimatorBudget, logger) => __awaiter(void 0, void 0, void 0, function* () {\n    const estimator = new Estimator(fetchConfig, logger);\n    try {\n        const supports = yield featureCheck(forceSIMD, fetchConfig, logger, estimator);\n        if (supports.supportsSIMD) {\n            try {\n                supports.duration = yield estimator.measure(true, estimatorBudget);\n                logger === null || logger === void 0 ? void 0 : logger.info('SIMD timing:', supports.duration);\n                return supports;\n            }\n            catch (e) {\n                logger === null || logger === void 0 ? void 0 : logger.warn('Failed SIMD estimation; falling back to non-SIMD.');\n                supports.supportsSIMD = false;\n            }\n        }\n        supports.duration = yield estimator.measure(false, estimatorBudget);\n        logger === null || logger === void 0 ? void 0 : logger.info('No-SIMD timing:', supports.duration);\n        return supports;\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.error('Could not feature check.', e);\n        throw e;\n    }\n    finally {\n        estimator.stop();\n    }\n});\nconst measureAndDecideExecutionApproach = (spec, fetchConfig, logger, thresholds = PERFORMANCE_THRESHOLDS) => __awaiter(void 0, void 0, void 0, function* () {\n    let executionPreference = spec.executionPreference;\n    const { usagePreference, variantPreference, namePreference, simdPreference, estimatorBudget, executionQuantaPreference, } = spec;\n    if (usagePreference === 'interactivity' && executionPreference !== 'inline') {\n        logger === null || logger === void 0 ? void 0 : logger.debug(`Overriding execution preference ${executionPreference} to reflect interactivity preference.`);\n        executionPreference = 'inline';\n    }\n    const forceSIMD = simdPreference === 'force';\n    const knownModel = variantPreference !== 'auto';\n    const knownExecution = executionPreference !== 'auto';\n    let supports;\n    try {\n        if (knownModel && knownExecution) {\n            supports = yield featureCheck(forceSIMD, fetchConfig, logger);\n        }\n        else {\n            supports = yield estimateAndFeatureCheck(forceSIMD, fetchConfig, estimatorBudget, logger);\n        }\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.error('Could not load estimator.', e);\n        throw new Error('Could not load Voice Focus estimator.');\n    }\n    return decideExecutionApproach(Object.assign(Object.assign({}, supports), { simdPreference,\n        executionPreference,\n        variantPreference,\n        namePreference,\n        usagePreference,\n        executionQuantaPreference }), thresholds, logger);\n});\nexports.measureAndDecideExecutionApproach = measureAndDecideExecutionApproach;\nconst decideModel = ({ category, name, variant, simd, url }) => {\n    return `${category}-${name}-${variant}-v1${simd ? '_simd' : ''}`;\n};\nexports.decideModel = decideModel;\n\n\n/***/ },\n\n/***/ 19\n(__unused_webpack_module, exports) {\n\n\"use strict\";\nvar __webpack_unused_export__;\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\n__webpack_unused_export__ = ({ value: true });\nexports.isValidRevisionID = exports.isValidAssetGroup = exports.resolveURL = exports.addQueryParams = exports.withQueryString = __webpack_unused_export__ = exports.fetchWithBehavior = void 0;\nfunction fetchWithBehavior(url, init, fetchBehavior) {\n    if (!fetchBehavior) {\n        return fetch(url, init);\n    }\n    const withQuery = withQueryString(url, fetchBehavior);\n    const withHeaders = withRequestHeaders(init, fetchBehavior);\n    return fetch(withQuery, withHeaders);\n}\nexports.fetchWithBehavior = fetchWithBehavior;\nfunction withRequestHeaders(init, fetchBehavior) {\n    if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.headers)) {\n        return init;\n    }\n    if (!init) {\n        return {\n            headers: fetchBehavior.headers,\n        };\n    }\n    return Object.assign(Object.assign({}, init), { headers: Object.assign(Object.assign({}, init.headers || {}), fetchBehavior.headers) });\n}\n__webpack_unused_export__ = withRequestHeaders;\nfunction withQueryString(url, fetchBehavior) {\n    if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString)) {\n        return url;\n    }\n    const hasQuery = url.lastIndexOf('?') !== -1;\n    return `${url}${hasQuery ? '&' : '?'}${fetchBehavior.escapedQueryString}`;\n}\nexports.withQueryString = withQueryString;\nfunction addQueryParams(fetchBehavior, queryParams) {\n    const keys = Object.keys(queryParams);\n    if (!keys.length) {\n        return fetchBehavior;\n    }\n    const params = new URLSearchParams(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString);\n    for (const key of keys) {\n        params.append(key, queryParams[key]);\n    }\n    return Object.assign(Object.assign({}, fetchBehavior), { escapedQueryString: params.toString() });\n}\nexports.addQueryParams = addQueryParams;\nconst HEAD_OPTIONS = {\n    method: 'HEAD',\n    mode: 'cors',\n    credentials: 'omit',\n    redirect: 'follow',\n    referrerPolicy: 'origin',\n};\nfunction resolveURL(url, fetchBehavior) {\n    return fetchWithBehavior(url, HEAD_OPTIONS, fetchBehavior)\n        .then(response => response.redirected ? response.url : url);\n}\nexports.resolveURL = resolveURL;\nfunction isValidAssetGroup(assetGroup) {\n    return !!assetGroup && /^[-.a-zA-Z0-9]+$/.test(assetGroup);\n}\nexports.isValidAssetGroup = isValidAssetGroup;\nfunction isValidRevisionID(revisionID) {\n    return !!revisionID && /^[123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ]{22}$/.test(revisionID);\n}\nexports.isValidRevisionID = isValidRevisionID;\n\n\n/***/ },\n\n/***/ 364\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\nvar __webpack_unused_export__;\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\n__webpack_unused_export__ = ({ value: true });\nexports.loadWorker = void 0;\nconst fetch_js_1 = __webpack_require__(19);\nconst WORKER_FETCH_OPTIONS = {\n    method: 'GET',\n    mode: 'cors',\n    credentials: 'omit',\n    redirect: 'follow',\n    referrerPolicy: 'no-referrer',\n};\nconst loadWorker = (workerURL, name, fetchBehavior, logger) => {\n    logger === null || logger === void 0 ? void 0 : logger.debug(`Loading ${name} worker from ${workerURL}.`);\n    let workerURLIsSameOrigin = false;\n    try {\n        workerURLIsSameOrigin = self.origin === (new URL(workerURL)).origin;\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.error('Could not compare origins.', e);\n    }\n    if (workerURLIsSameOrigin) {\n        const workerURLWithQuery = (0, fetch_js_1.withQueryString)(workerURL, fetchBehavior);\n        return Promise.resolve(new Worker(workerURLWithQuery, { name }));\n    }\n    return (0, fetch_js_1.fetchWithBehavior)(workerURL, WORKER_FETCH_OPTIONS, fetchBehavior).then((res) => {\n        if (res.ok) {\n            return res.blob()\n                .then((blob) => new Worker(window.URL.createObjectURL(blob)));\n        }\n        throw new Error('Fetch failed.');\n    });\n};\nexports.loadWorker = loadWorker;\n\n\n/***/ },\n\n/***/ 128\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.isOldChrome = exports.supportsWASMStreaming = exports.supportsSharedArrayBuffer = exports.supportsWASM = exports.supportsAudioWorklet = exports.supportsWorker = exports.supportsVoiceFocusWorker = exports.supportsWASMPostMessage = exports.isSafari = void 0;\nconst loader_js_1 = __webpack_require__(364);\nconst isChrome = (global = globalThis) => {\n    const ua = global.navigator.userAgent;\n    return !!ua.match(/Chrom(?:e|ium)\\/([0-9]+)/);\n};\nconst isSafari = (global = globalThis) => {\n    const ua = global.navigator.userAgent;\n    const hasSafari = ua.match(/Safari\\//);\n    const hasChrome = ua.match(/Chrom(?:e|ium)\\//);\n    return !!(hasSafari && !hasChrome);\n};\nexports.isSafari = isSafari;\nconst supportsWASMPostMessage = (global = globalThis) => {\n    if ((0, exports.isSafari)(global)) {\n        return false;\n    }\n    if (isChrome(global)) {\n        const version = chromeVersion(global) || 0;\n        return version < 95;\n    }\n    return true;\n};\nexports.supportsWASMPostMessage = supportsWASMPostMessage;\nconst supportsVoiceFocusWorker = (scope = globalThis, fetchConfig, logger) => __awaiter(void 0, void 0, void 0, function* () {\n    if (!(0, exports.supportsWorker)(scope, logger)) {\n        return false;\n    }\n    const workerURL = `${fetchConfig.paths.workers}worker-v1.js`;\n    try {\n        const worker = yield (0, loader_js_1.loadWorker)(workerURL, 'VoiceFocusTestWorker', fetchConfig, logger);\n        try {\n            worker.terminate();\n        }\n        catch (e) {\n            logger === null || logger === void 0 ? void 0 : logger.debug('Failed to terminate worker.', e);\n        }\n        return true;\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Failed to fetch and instantiate test worker', e);\n        return false;\n    }\n});\nexports.supportsVoiceFocusWorker = supportsVoiceFocusWorker;\nconst supportsWorker = (scope = globalThis, logger) => {\n    try {\n        return !!scope.Worker;\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Does not support Worker', e);\n        return false;\n    }\n};\nexports.supportsWorker = supportsWorker;\nconst supportsAudioWorklet = (scope = globalThis, logger) => {\n    try {\n        return !!scope.AudioWorklet && !!scope.AudioWorkletNode;\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Does not support Audio Worklet', e);\n        return false;\n    }\n};\nexports.supportsAudioWorklet = supportsAudioWorklet;\nconst supportsWASM = (scope = globalThis, logger) => {\n    try {\n        return !!scope.WebAssembly && (!!scope.WebAssembly.compile || !!scope.WebAssembly.compileStreaming);\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM', e);\n        return false;\n    }\n};\nexports.supportsWASM = supportsWASM;\nconst supportsSharedArrayBuffer = (scope = globalThis, window = globalThis, logger) => {\n    try {\n        return !!scope.SharedArrayBuffer && (!!window.chrome || !!scope.crossOriginIsolated);\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Does not support SharedArrayBuffer.');\n        return false;\n    }\n};\nexports.supportsSharedArrayBuffer = supportsSharedArrayBuffer;\nconst supportsWASMStreaming = (scope = globalThis, logger) => {\n    var _a;\n    try {\n        return !!((_a = scope.WebAssembly) === null || _a === void 0 ? void 0 : _a.compileStreaming);\n    }\n    catch (e) {\n        logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM streaming compilation', e);\n        return false;\n    }\n};\nexports.supportsWASMStreaming = supportsWASMStreaming;\nconst SUPPORTED_CHROME_VERSION = 90;\nconst chromeVersion = (global = globalThis) => {\n    try {\n        if (!global.chrome) {\n            return undefined;\n        }\n    }\n    catch (e) {\n    }\n    const versionCheck = global.navigator.userAgent.match(/Chrom(?:e|ium)\\/([0-9]+)/);\n    if (!versionCheck) {\n        return undefined;\n    }\n    return parseInt(versionCheck[1], 10);\n};\nconst isOldChrome = (global = globalThis, logger) => {\n    const version = chromeVersion(global);\n    if (!version) {\n        return false;\n    }\n    if (version < SUPPORTED_CHROME_VERSION) {\n        logger === null || logger === void 0 ? void 0 : logger.debug(`Chrome ${version} has incomplete SIMD support.`);\n        return true;\n    }\n    return false;\n};\nexports.isOldChrome = isOldChrome;\n\n\n/***/ },\n\n/***/ 614\n(__unused_webpack_module, exports) {\n\n\"use strict\";\nvar __webpack_unused_export__;\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\n__webpack_unused_export__ = ({ value: true });\nexports.VoiceFocusAudioWorkletNode = void 0;\nclass VoiceFocusAudioWorkletNode extends ((typeof globalThis !== 'undefined' && globalThis['AudioWorkletNode']) ||\n    class Sadness {\n    }) {\n}\nexports.VoiceFocusAudioWorkletNode = VoiceFocusAudioWorkletNode;\n\n\n/***/ },\n\n/***/ 677\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getAudioInput = exports.createAudioContext = exports.VoiceFocus = void 0;\nconst decider_js_1 = __webpack_require__(845);\nconst fetch_js_1 = __webpack_require__(19);\nconst loader_js_1 = __webpack_require__(364);\nconst support_js_1 = __webpack_require__(128);\nconst worklet_inline_node_js_1 = __webpack_require__(596);\nconst worklet_worker_sab_node_js_1 = __webpack_require__(104);\nconst worklet_worker_postMessage_node_js_1 = __webpack_require__(297);\nconst DEFAULT_AGC_DISABLED_SETTING = {\n    useVoiceFocusAGC: false,\n    useBuiltInAGC: true,\n};\nconst DEFAULT_AGC_SETTING = DEFAULT_AGC_DISABLED_SETTING;\nconst DEFAULT_ASSET_GROUP = 'stable-v1';\nconst DEFAULT_CDN = 'https://static.sdkassets.chime.aws';\nconst DEFAULT_PATHS = {\n    processors: `${DEFAULT_CDN}/processors/`,\n    workers: `${DEFAULT_CDN}/workers/`,\n    wasm: `${DEFAULT_CDN}/wasm/`,\n    models: `${DEFAULT_CDN}/wasm/`,\n};\nconst DEFAULT_CONTEXT_HINT = {\n    latencyHint: 0,\n};\nconst BASE_AUDIO_CONSTRAINTS = {\n    channelCount: 1,\n    echoCancellation: true,\n    googEchoCancellation: true,\n    noiseSuppression: false,\n    googNoiseSuppression: false,\n    googHighpassFilter: false,\n    googTypingNoiseDetection: false,\n};\nconst DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: true, googAutoGainControl: true, googAutoGainControl2: true });\nconst DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: false, googAutoGainControl: false, googAutoGainControl2: false });\nconst PROCESSORS = {\n    'voicefocus-worker-sab-processor': {\n        file: 'worklet-worker-sab-processor-v1.js',\n        node: worklet_worker_sab_node_js_1.default,\n    },\n    'voicefocus-worker-postMessage-processor': {\n        file: 'worklet-worker-postMessage-processor-v1.js',\n        node: worklet_worker_postMessage_node_js_1.default,\n    },\n    'voicefocus-inline-processor': {\n        file: 'worklet-inline-processor-v1.js',\n        node: worklet_inline_node_js_1.default,\n    },\n};\nconst validateAssetSpec = (assetGroup, revisionID) => {\n    if (assetGroup !== undefined && !(0, fetch_js_1.isValidAssetGroup)(assetGroup)) {\n        throw new Error(`Invalid asset group ${assetGroup}`);\n    }\n    if (revisionID !== undefined && !(0, fetch_js_1.isValidRevisionID)(revisionID)) {\n        throw new Error(`Invalid revision ID ${revisionID}`);\n    }\n};\nconst mungeConstraints = (constraints, agc) => {\n    let defaultConstraints;\n    if (agc.useBuiltInAGC) {\n        defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC;\n    }\n    else {\n        defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC;\n    }\n    if (!constraints) {\n        return { audio: defaultConstraints };\n    }\n    if (!constraints.audio) {\n        return constraints;\n    }\n    if (constraints.video) {\n        throw new Error('Not adding Voice Focus to multi-device getUserMedia call.');\n    }\n    return Object.assign(Object.assign({}, constraints), { audio: constraints.audio === true ? defaultConstraints : Object.assign(Object.assign({}, constraints.audio), defaultConstraints) });\n};\nconst urlForModel = (model, paths) => {\n    return `${paths.models}${(0, decider_js_1.decideModel)(model)}.wasm`;\n};\nclass VoiceFocus {\n    constructor(worker, processorURL, nodeConstructor, nodeOptions, executionQuanta, logger) {\n        this.processorURL = processorURL;\n        this.nodeConstructor = nodeConstructor;\n        this.nodeOptions = nodeOptions;\n        this.executionQuanta = executionQuanta;\n        this.logger = logger;\n        this.internal = {\n            worker,\n            isDestroyed: false,\n        };\n    }\n    getModelMetrics() {\n        var _a;\n        return (_a = this.internal.voiceFocusNode) === null || _a === void 0 ? void 0 : _a.getModelMetrics();\n    }\n    reset() {\n        var _a, _b, _c;\n        (_a = this.internal.voiceFocusNode) === null || _a === void 0 ? void 0 : _a.reset();\n        (_b = this.internal.sourceNode) === null || _b === void 0 ? void 0 : _b.disconnect();\n        (_c = this.internal.destinationNode) === null || _c === void 0 ? void 0 : _c.disconnect();\n    }\n    enable() {\n        var _a;\n        (_a = this.internal.voiceFocusNode) === null || _a === void 0 ? void 0 : _a.enable();\n    }\n    disable() {\n        var _a;\n        (_a = this.internal.voiceFocusNode) === null || _a === void 0 ? void 0 : _a.disable();\n    }\n    setMode(mode) {\n        var _a;\n        (_a = this.internal.voiceFocusNode) === null || _a === void 0 ? void 0 : _a.setMode(mode);\n    }\n    destroy() {\n        var _a, _b, _c, _d, _e;\n        return __awaiter(this, void 0, void 0, function* () {\n            const { worker, isDestroyed, voiceFocusNode, destinationNode, sourceNode, audioContext } = this.internal;\n            if (isDestroyed) {\n                (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug(\"Voice Focus is already destroyed\");\n                return;\n            }\n            try {\n                worker === null || worker === void 0 ? void 0 : worker.terminate();\n                sourceNode === null || sourceNode === void 0 ? void 0 : sourceNode.disconnect();\n                destinationNode === null || destinationNode === void 0 ? void 0 : destinationNode.disconnect();\n                yield Promise.all([\n                    (_b = audioContext === null || audioContext === void 0 ? void 0 : audioContext.close().catch((error) => error)) !== null && _b !== void 0 ? _b : yield Promise.resolve(),\n                    (_c = voiceFocusNode === null || voiceFocusNode === void 0 ? void 0 : voiceFocusNode.stop().catch((error) => error)) !== null && _c !== void 0 ? _c : yield Promise.resolve(),\n                ]);\n                this.internal.audioContext = undefined;\n                this.internal.voiceFocusNode = undefined;\n                this.internal.sourceNode = undefined;\n                this.internal.destinationNode = undefined;\n                (_d = this.logger) === null || _d === void 0 ? void 0 : _d.debug(\"Voice Focus destroyed successfully\");\n            }\n            catch (e) {\n                (_e = this.logger) === null || _e === void 0 ? void 0 : _e.error(\"Error while destroying the Voice Focus instance: \", e);\n                throw e;\n            }\n            finally {\n                this.internal.isDestroyed = true;\n            }\n        });\n    }\n    static isSupported(spec, options) {\n        const { fetchBehavior, logger } = options || {};\n        if (typeof globalThis === 'undefined') {\n            logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not have globalThis.');\n            return Promise.resolve(false);\n        }\n        if (!(0, support_js_1.supportsAudioWorklet)(globalThis, logger)) {\n            logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support Audio Worklet.');\n            return Promise.resolve(false);\n        }\n        if (!(0, support_js_1.supportsWASM)(globalThis, logger)) {\n            logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support WASM.');\n            return Promise.resolve(false);\n        }\n        if (!(0, support_js_1.supportsWASMStreaming)(globalThis, logger)) {\n            logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support streaming WASM compilation.');\n        }\n        const { assetGroup = DEFAULT_ASSET_GROUP, revisionID, paths = DEFAULT_PATHS, } = spec || {};\n        validateAssetSpec(assetGroup, revisionID);\n        const assetConfig = revisionID ? { revisionID } : { assetGroup };\n        const updatedFetchBehavior = (0, fetch_js_1.addQueryParams)(fetchBehavior, assetConfig);\n        const fetchConfig = Object.assign(Object.assign({}, updatedFetchBehavior), { paths });\n        return (0, support_js_1.supportsVoiceFocusWorker)(globalThis, fetchConfig, logger);\n    }\n    static mungeExecutionPreference(preference, logger) {\n        const isAuto = (preference === undefined || preference === 'auto');\n        if ((0, support_js_1.isSafari)(globalThis)) {\n            if (isAuto || preference === 'inline') {\n                return 'inline';\n            }\n            if (!isAuto) {\n                throw new Error(`Unsupported execution preference ${preference}`);\n            }\n        }\n        if (preference === 'worker-sab' && !(0, support_js_1.supportsSharedArrayBuffer)(globalThis, globalThis, logger)) {\n            throw new Error(`Unsupported execution preference ${preference}`);\n        }\n        return preference || 'auto';\n    }\n    static configure(spec, options) {\n        return __awaiter(this, void 0, void 0, function* () {\n            const { fetchBehavior, preResolve, logger, } = options || {};\n            const { category = 'voicefocus', name = 'default', variant: variantPreference = 'auto', assetGroup = DEFAULT_ASSET_GROUP, revisionID, simd = 'detect', mode = 'ns', executionPreference = 'auto', executionQuantaPreference, usagePreference = 'interactivity', estimatorBudget = 100, paths = DEFAULT_PATHS, thresholds, } = spec || {};\n            logger === null || logger === void 0 ? void 0 : logger.debug('Configuring Voice Focus with spec', spec);\n            if (category !== undefined && category !== 'voicefocus') {\n                throw new Error(`Unrecognized category ${category}`);\n            }\n            if (name !== undefined && name !== 'default' && name !== 'ns_es') {\n                throw new Error(`Unrecognized feature name ${name}`);\n            }\n            if (variantPreference !== undefined && !['auto', 'c100', 'c50', 'c20', 'c10'].includes(variantPreference)) {\n                throw new Error(`Unrecognized feature variant ${variantPreference}`);\n            }\n            if (executionQuantaPreference !== undefined && ![1, 2, 3].includes(executionQuantaPreference)) {\n                throw new Error(`Unrecognized execution quanta preference ${executionQuantaPreference}`);\n            }\n            validateAssetSpec(assetGroup, revisionID);\n            if (simd !== undefined && !['detect', 'force', 'disable'].includes(simd)) {\n                throw new Error(`Unrecognized SIMD option ${simd}`);\n            }\n            if (executionPreference !== undefined && !['auto', 'inline', 'worker', 'worker-sab', 'worker-postMessage'].includes(executionPreference)) {\n                throw new Error(`Unrecognized execution preference ${executionPreference}`);\n            }\n            if (usagePreference !== undefined && !['quality', 'interactivity'].includes(usagePreference)) {\n                throw new Error(`Unrecognized usage preference ${usagePreference}`);\n            }\n            const executionSpec = {\n                executionPreference: this.mungeExecutionPreference(executionPreference, logger),\n                usagePreference,\n                executionQuantaPreference,\n                variantPreference,\n                namePreference: name,\n                simdPreference: simd,\n                estimatorBudget,\n            };\n            const assetConfig = revisionID ? { revisionID } : { assetGroup };\n            const updatedFetchBehavior = (0, fetch_js_1.addQueryParams)(fetchBehavior, assetConfig);\n            const fetchConfig = Object.assign({ paths }, updatedFetchBehavior);\n            const executionDefinition = yield (0, decider_js_1.measureAndDecideExecutionApproach)(executionSpec, fetchConfig, logger, thresholds);\n            if (executionDefinition.supported === false) {\n                return { supported: false, reason: executionDefinition.reason };\n            }\n            logger === null || logger === void 0 ? void 0 : logger.info('Decided execution approach', executionDefinition);\n            const { useSIMD, processor, variant, executionQuanta } = executionDefinition;\n            const model = {\n                category: category || 'voicefocus',\n                name: name || 'default',\n                mode,\n                variant,\n                simd: useSIMD,\n            };\n            if (preResolve) {\n                const startingURL = urlForModel(model, paths);\n                model.url = yield (0, fetch_js_1.resolveURL)(startingURL, updatedFetchBehavior);\n            }\n            return {\n                fetchConfig,\n                model,\n                processor,\n                executionQuanta,\n                supported: true,\n            };\n        });\n    }\n    static init(configuration, { delegate, preload = true, logger, }) {\n        return __awaiter(this, void 0, void 0, function* () {\n            if (configuration.supported === false) {\n                throw new Error('Voice Focus not supported. Reason: ' + configuration.reason);\n            }\n            const { model, processor, fetchConfig, executionQuanta, } = configuration;\n            const { simd, name, mode } = model;\n            const { paths } = fetchConfig;\n            if (processor !== 'voicefocus-inline-processor' &&\n                processor !== 'voicefocus-worker-postMessage-processor' &&\n                processor !== 'voicefocus-worker-sab-processor') {\n                throw new Error(`Unknown processor ${processor}`);\n            }\n            const modelURL = model.url || urlForModel(model, paths);\n            logger === null || logger === void 0 ? void 0 : logger.debug(`Using model URL ${modelURL}.`);\n            const audioBufferURL = `${paths.wasm}audio_buffer-v1${simd ? '_simd' : ''}.wasm`;\n            const resamplerURL = `${paths.wasm}resampler-v1${simd ? '_simd' : ''}.wasm`;\n            const workerURL = `${paths.workers}worker-v1.js`;\n            const { file, node } = PROCESSORS[processor];\n            const processorURL = `${paths.processors}${file}`;\n            const worker = yield (0, loader_js_1.loadWorker)(workerURL, 'VoiceFocusWorker', fetchConfig, logger);\n            if (preload) {\n                logger === null || logger === void 0 ? void 0 : logger.debug('Preloading', modelURL);\n                let message = (0, support_js_1.supportsWASMPostMessage)(globalThis) ? 'get-module' : 'get-module-buffer';\n                worker.postMessage({\n                    message,\n                    preload: true,\n                    key: 'model',\n                    fetchBehavior: fetchConfig,\n                    path: modelURL,\n                });\n            }\n            const numberOfInputs = (name === 'ns_es') ? 2 : 1;\n            const nodeOptions = {\n                processor,\n                worker,\n                audioBufferURL,\n                resamplerURL,\n                fetchBehavior: fetchConfig,\n                modelURL,\n                delegate,\n                logger,\n                numberOfInputs,\n                mode,\n            };\n            const factory = new VoiceFocus(worker, processorURL, node, nodeOptions, executionQuanta, logger);\n            return Promise.resolve(factory);\n        });\n    }\n    createNode(context, options) {\n        var _a;\n        if (this.internal.isDestroyed) {\n            throw new Error(\"Unable to create node because VoiceFocus worker has been destroyed.\");\n        }\n        const { voiceFocusSampleRate = (context.sampleRate === 16000 ? 16000 : 48000), enabled = true, agc = DEFAULT_AGC_SETTING, } = options || {};\n        const supportFarendStream = options === null || options === void 0 ? void 0 : options.es;\n        const processorOptions = {\n            voiceFocusSampleRate,\n            enabled,\n            sendBufferCount: 10,\n            prefill: 6,\n            agc,\n            executionQuanta: this.executionQuanta,\n            supportFarendStream,\n            mode: this.nodeOptions.mode,\n        };\n        const url = (0, fetch_js_1.withQueryString)(this.processorURL, (_a = this.nodeOptions) === null || _a === void 0 ? void 0 : _a.fetchBehavior);\n        return context.audioWorklet\n            .addModule(url)\n            .then(() => new (this.nodeConstructor)(context, Object.assign(Object.assign({}, this.nodeOptions), { processorOptions })));\n    }\n    applyToStream(stream, context, options, useExistingNode = false) {\n        var _a, _b, _c;\n        return __awaiter(this, void 0, void 0, function* () {\n            if (this.internal.isDestroyed) {\n                throw new Error(\"Unable to apply stream because VoiceFocus worker has been destroyed\");\n            }\n            (_a = this.internal.sourceNode) === null || _a === void 0 ? void 0 : _a.disconnect();\n            (_b = this.internal.destinationNode) === null || _b === void 0 ? void 0 : _b.disconnect();\n            let voiceFocusNode;\n            if (useExistingNode && this.internal.voiceFocusNode && this.internal.voiceFocusNode.isEnabled()) {\n                (_c = this.logger) === null || _c === void 0 ? void 0 : _c.info(\"Re-using existing voice focus node\");\n                voiceFocusNode = this.internal.voiceFocusNode;\n            }\n            else {\n                voiceFocusNode = yield this.createNode(context, options);\n            }\n            const source = context.createMediaStreamSource(stream);\n            source.connect(voiceFocusNode);\n            const destination = context.createMediaStreamDestination();\n            voiceFocusNode.connect(destination);\n            this.internal = Object.assign(Object.assign({}, this.internal), { voiceFocusNode: voiceFocusNode, sourceNode: source, destinationNode: destination, audioContext: context });\n            return {\n                node: voiceFocusNode,\n                source,\n                destination,\n                stream: destination.stream,\n            };\n        });\n    }\n    applyToSourceNode(source, context, options) {\n        return __awaiter(this, void 0, void 0, function* () {\n            const node = yield this.createNode(context, options);\n            source.connect(node);\n            return node;\n        });\n    }\n}\nexports.VoiceFocus = VoiceFocus;\nconst createAudioContext = (contextHint = DEFAULT_CONTEXT_HINT) => {\n    return new (window.AudioContext || window.webkitAudioContext)(contextHint);\n};\nexports.createAudioContext = createAudioContext;\nconst getAudioInput = (context, inputOptions, voiceFocusOptions) => __awaiter(void 0, void 0, void 0, function* () {\n    var _a, _b;\n    const { constraints, spec, delegate, preload = true, options } = inputOptions;\n    const { logger } = voiceFocusOptions;\n    const config = yield VoiceFocus.configure(spec, voiceFocusOptions);\n    if (!config.supported) {\n        (_a = voiceFocusOptions.logger) === null || _a === void 0 ? void 0 : _a.warn('Voice Focus not supported; returning standard stream.');\n        return window.navigator.mediaDevices.getUserMedia(constraints);\n    }\n    const factory = yield VoiceFocus.init(config, { delegate, preload, logger });\n    const agc = ((_b = inputOptions.options) === null || _b === void 0 ? void 0 : _b.agc) || DEFAULT_AGC_SETTING;\n    const input = yield window.navigator.mediaDevices.getUserMedia(mungeConstraints(constraints, agc));\n    return factory.applyToStream(input, context, options).then(result => result.stream);\n});\nexports.getAudioInput = getAudioInput;\n\n\n/***/ },\n\n/***/ 596\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst support_js_1 = __webpack_require__(128);\nconst types_js_1 = __webpack_require__(614);\nconst CPU_WARNING_MAX_INTERVAL_MS = 5 * 1000;\nconst METRICS_MAX_INTERVAL_MS = 5 * 1000;\nclass VoiceFocusInlineNode extends types_js_1.VoiceFocusAudioWorkletNode {\n    constructor(context, options) {\n        super(context, options.processor, options);\n        this.cpuWarningCount = 0;\n        this.metrics = {\n            latencyMillisAverage: 0,\n            snr: {\n                average: 0,\n                averageActive: 0,\n                variance: 0,\n                varianceActive: 0,\n            },\n            drr: {\n                average: 0,\n                variance: 0,\n                averageActive: 0,\n                varianceActive: 0,\n            },\n            vad: {\n                average: 0,\n            },\n            cpu: {\n                lateInvoke: 0,\n                longInvoke: 0,\n            },\n        };\n        this.enabled = false;\n        this.channelCountMode = 'explicit';\n        this.channelCount = 1;\n        const { modelURL, worker, fetchBehavior, logger, delegate, } = options;\n        this.logger = logger;\n        this.port.onmessage = this.onProcessorMessage.bind(this);\n        this.delegate = delegate;\n        if (logger)\n            logger.debug('VoiceFocusInlineNode:', modelURL);\n        this.worker = worker;\n        this.worker.onmessage = this.onWorkerMessage.bind(this);\n        const message = (0, support_js_1.supportsWASMPostMessage)(globalThis) ? 'get-module' : 'get-module-buffer';\n        this.worker.postMessage({\n            message,\n            key: 'model',\n            fetchBehavior,\n            path: modelURL,\n        });\n        this.enabled = true;\n    }\n    onModuleBufferLoaded(buffer, key) {\n        this.port.postMessage({ message: 'module-buffer', buffer, key });\n    }\n    onModuleLoaded(module, key) {\n        this.port.postMessage({ message: 'module', module, key });\n    }\n    enable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'enable' });\n            this.enabled = true;\n        });\n    }\n    disable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'disable' });\n            this.enabled = false;\n        });\n    }\n    setMode(mode) {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'set-mode', mode });\n        });\n    }\n    stop() {\n        var _a;\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'stop' });\n            try {\n                (_a = this.worker) === null || _a === void 0 ? void 0 : _a.terminate();\n            }\n            catch (e) {\n                console.error(\"failed to terminate worker:\", e);\n            }\n            this.disconnect();\n            this.enabled = false;\n        });\n    }\n    reset() {\n        this.metrics = {\n            latencyMillisAverage: 0,\n            snr: {\n                average: 0,\n                averageActive: 0,\n                variance: 0,\n                varianceActive: 0,\n            },\n            drr: {\n                average: 0,\n                variance: 0,\n                averageActive: 0,\n                varianceActive: 0,\n            },\n            vad: {\n                average: 0,\n            },\n            cpu: {\n                lateInvoke: 0,\n                longInvoke: 0,\n            },\n        };\n        this.port.postMessage({ message: 'reset' });\n    }\n    isEnabled() {\n        return this.enabled;\n    }\n    onProcessorMessage(event) {\n        var _a, _b, _c, _d, _e, _f;\n        const { data } = event;\n        const { message } = data;\n        switch (message) {\n            case 'cpu':\n                const { reason, count } = data;\n                if (reason && count) {\n                    this.metrics.cpu = Object.assign(Object.assign({}, this.metrics.cpu), { [reason]: count + this.metrics.cpu[reason] });\n                }\n                this.cpuWarningCount++;\n                const now = Date.now();\n                const before = this.cpuWarningLastTriggered || now;\n                const diff = Math.abs(now - before);\n                if (!this.cpuWarningLastTriggered || diff > CPU_WARNING_MAX_INTERVAL_MS) {\n                    (_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(`CPU warning (count: ${this.cpuWarningCount}):`, message);\n                    this.cpuWarningCount = 0;\n                    this.cpuWarningLastTriggered = now;\n                }\n                (_b = this.delegate) === null || _b === void 0 ? void 0 : _b.onCPUWarning();\n                break;\n            case 'metrics':\n                const { metrics } = data;\n                if (!metrics) {\n                    (_c = this.logger) === null || _c === void 0 ? void 0 : _c.warn(\"Got metrics message but no metrics payload\");\n                    break;\n                }\n                this.metrics = Object.assign(Object.assign({}, this.metrics), metrics);\n                if (this.logger) {\n                    const now = Date.now();\n                    const diff = now - ((_d = this.metricsLastRecorded) !== null && _d !== void 0 ? _d : 0);\n                    if (diff > METRICS_MAX_INTERVAL_MS) {\n                        (_e = this.logger) === null || _e === void 0 ? void 0 : _e.debug(\"Contact metrics:\", this.metrics);\n                        this.metricsLastRecorded = now;\n                    }\n                }\n                break;\n            default:\n                (_f = this.logger) === null || _f === void 0 ? void 0 : _f.debug('Ignoring processor message.');\n        }\n    }\n    getModelMetrics() {\n        return this.metrics;\n    }\n    onWorkerMessage(event) {\n        const data = event.data;\n        switch (data.message) {\n            case 'module-buffer':\n                if (!data.buffer || !data.key) {\n                    return;\n                }\n                this.onModuleBufferLoaded(data.buffer, data.key);\n                break;\n            case 'module':\n                if (!data.module || !data.key) {\n                    return;\n                }\n                this.onModuleLoaded(data.module, data.key);\n                break;\n            case 'stopped':\n                if (this.worker) {\n                    this.worker.terminate();\n                }\n                break;\n            default:\n                return;\n        }\n    }\n}\nexports[\"default\"] = VoiceFocusInlineNode;\n\n\n/***/ },\n\n/***/ 297\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst support_js_1 = __webpack_require__(128);\nconst types_js_1 = __webpack_require__(614);\nclass VoiceFocusWorkerPostMessageNode extends types_js_1.VoiceFocusAudioWorkletNode {\n    constructor(context, options) {\n        super(context, options.processor, options);\n        this.enabled = false;\n        this.channelCountMode = 'explicit';\n        this.channelCount = 1;\n        const { modelURL, audioBufferURL, worker, fetchBehavior, delegate, } = options;\n        this.delegate = delegate;\n        this.worker = worker;\n        this.worker.onmessage = this.onWorkerMessage.bind(this);\n        this.port.onmessage = this.onProcessorMessage.bind(this);\n        const { enabled, agc, supportFarendStream } = options.processorOptions;\n        this.worker.postMessage({\n            message: 'init',\n            approach: 'postMessage',\n            frames: context.sampleRate === 16000 ? 160 : 480,\n            enabled,\n            agc,\n            fetchBehavior,\n            model: modelURL,\n            supportFarendStream,\n        });\n        const message = (0, support_js_1.supportsWASMPostMessage)(globalThis) ? 'get-module' : 'get-module-buffer';\n        this.worker.postMessage({\n            message,\n            key: 'buffer',\n            fetchBehavior,\n            path: audioBufferURL,\n        });\n        this.enabled = true;\n    }\n    enable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.worker.postMessage({ message: 'enable' });\n            this.enabled = true;\n        });\n    }\n    disable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.worker.postMessage({ message: 'disable' });\n            this.enabled = false;\n        });\n    }\n    setMode(mode) {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'set-mode', mode });\n        });\n    }\n    stop() {\n        return __awaiter(this, void 0, void 0, function* () {\n            try {\n                this.worker.postMessage({ message: 'stop' });\n            }\n            catch (e) {\n            }\n            this.disconnect();\n            this.enabled = false;\n        });\n    }\n    getModelMetrics() {\n        return undefined;\n    }\n    reset() {\n    }\n    isEnabled() {\n        return this.enabled;\n    }\n    onWorkerMessage(event) {\n        var _a;\n        const data = event.data;\n        switch (data.message) {\n            case 'ready':\n                this.port.postMessage({ message: 'ready', shared: data.shared }, data.shared ? Object.values(data.shared) : []);\n                break;\n            case 'data':\n                if (!data.buffer) {\n                    return;\n                }\n                this.port.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\n                break;\n            case 'stopped':\n                this.worker.terminate();\n                break;\n            case 'module-buffer':\n            case 'module':\n                this.port.postMessage(data);\n                break;\n            case 'cpu':\n                (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\n                break;\n            case 'processing':\n                this.port.postMessage(data);\n                break;\n            default:\n                return;\n        }\n    }\n    onProcessorMessage(event) {\n        var _a;\n        const data = event.data;\n        switch (data.message) {\n            case 'data':\n                if (!data.buffer) {\n                    return;\n                }\n                this.worker.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\n                break;\n            case 'cpu':\n                (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\n                break;\n            case 'prepare-for-frames':\n                this.worker.postMessage(data);\n                break;\n            default:\n                return;\n        }\n    }\n}\nexports[\"default\"] = VoiceFocusWorkerPostMessageNode;\n\n\n/***/ },\n\n/***/ 104\n(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst support_js_1 = __webpack_require__(128);\nconst types_js_1 = __webpack_require__(614);\nconst INDICES = {\n    ready: 0,\n    enabled: 1,\n};\nconst STATES = {\n    disabled: 0,\n    enabled: 1,\n    stopped: 2,\n};\nclass VoiceFocusWorkerBufferNode extends types_js_1.VoiceFocusAudioWorkletNode {\n    constructor(context, options) {\n        super(context, options.processor, options);\n        this.enabled = false;\n        this.channelCountMode = 'explicit';\n        this.channelCount = 1;\n        const { modelURL, resamplerURL, worker, fetchBehavior, delegate, } = options;\n        this.delegate = delegate;\n        this.worker = worker;\n        this.worker.onmessage = this.onWorkerMessage.bind(this);\n        this.port.onmessage = this.onProcessorMessage.bind(this);\n        const { enabled, supportFarendStream } = options.processorOptions;\n        this.worker.postMessage({\n            message: 'init',\n            approach: 'sab',\n            frames: context.sampleRate === 16000 ? 160 : 480,\n            enabled,\n            model: modelURL,\n            supportFarendStream,\n        });\n        const message = (0, support_js_1.supportsWASMPostMessage)(globalThis) ? 'get-module' : 'get-module-buffer';\n        this.worker.postMessage({\n            message,\n            key: 'resampler',\n            fetchBehavior,\n            path: resamplerURL,\n        });\n        this.enabled = true;\n    }\n    enable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            if (this.state) {\n                Atomics.store(this.state, INDICES.enabled, STATES.enabled);\n                Atomics.notify(this.state, INDICES.ready, 1);\n            }\n            else {\n                this.worker.postMessage({ message: 'enable' });\n            }\n            this.enabled = true;\n        });\n    }\n    disable() {\n        return __awaiter(this, void 0, void 0, function* () {\n            if (this.state) {\n                Atomics.store(this.state, INDICES.enabled, STATES.disabled);\n                Atomics.notify(this.state, INDICES.ready, 1);\n            }\n            else {\n                this.worker.postMessage({ message: 'disable' });\n            }\n            this.enabled = false;\n        });\n    }\n    setMode(mode) {\n        return __awaiter(this, void 0, void 0, function* () {\n            this.port.postMessage({ message: 'set-mode', mode });\n        });\n    }\n    stop() {\n        return __awaiter(this, void 0, void 0, function* () {\n            if (this.state) {\n                Atomics.store(this.state, INDICES.enabled, STATES.stopped);\n                Atomics.notify(this.state, INDICES.ready, 1);\n            }\n            else {\n                try {\n                    this.worker.postMessage({ message: 'stop' });\n                }\n                catch (e) {\n                }\n            }\n            this.disconnect();\n            this.enabled = false;\n        });\n    }\n    getModelMetrics() {\n        return undefined;\n    }\n    reset() {\n    }\n    isEnabled() {\n        return this.enabled;\n    }\n    onWorkerMessage(event) {\n        var _a;\n        const data = event.data;\n        switch (data.message) {\n            case 'ready':\n                if (!data.shared) {\n                    throw new Error('No shared state.');\n                }\n                this.state = new Int32Array(data.shared.state);\n                this.port.postMessage(data);\n                break;\n            case 'stopped':\n                this.worker.terminate();\n                break;\n            case 'module-buffer':\n            case 'module':\n                this.port.postMessage(data);\n                break;\n            case 'cpu':\n                (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\n                break;\n            case 'processing':\n                this.port.postMessage(data);\n                break;\n            default:\n                return;\n        }\n    }\n    onProcessorMessage(event) {\n        var _a;\n        const data = event.data;\n        switch (data.message) {\n            case 'cpu':\n                (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\n                break;\n            case 'prepare-for-frames':\n                this.worker.postMessage(data);\n                break;\n            default:\n        }\n    }\n}\nexports[\"default\"] = VoiceFocusWorkerBufferNode;\n\n\n/***/ },\n\n/***/ 825\n() {\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  connect.agentApp = {};\n  var APP = {\n    CCP: 'ccp',\n    GUIDES: 'customviews'\n  };\n  connect.agentApp.initCCP = connect.core.initCCP;\n  connect.agentApp.isInitialized = function (instanceAlias) {};\n  connect.agentApp.initAppCommunication = function (iframeId, endpoint) {\n    var iframe = document.getElementById(iframeId);\n    var iframeConduit = new connect.IFrameConduit(endpoint, window, iframe);\n    var BROADCAST_TYPE = [connect.AgentEvents.UPDATE, connect.ContactEvents.VIEW, connect.EventType.ACKNOWLEDGE, connect.EventType.TERMINATED, connect.TaskEvents.CREATED, connect.EmailEvents.CREATED];\n    iframe.addEventListener('load', function (e) {\n      BROADCAST_TYPE.forEach(function (type) {\n        connect.core.getUpstream().onUpstream(type, function (data) {\n          iframeConduit.sendUpstream(type, data);\n        });\n      });\n    });\n  };\n  var getConnectUrl = function getConnectUrl(ccpUrl) {\n    var pos = ccpUrl.indexOf('ccp-v2');\n    return ccpUrl.slice(0, pos - 1);\n  };\n  var signOutThroughCCP = function signOutThroughCCP(ccpUrl) {\n    var logoutUrl = getConnectUrl(ccpUrl) + '/logout';\n    return connect.fetch(logoutUrl, {\n      credentials: 'include'\n    }).then(function () {\n      var eventBus = connect.core.getEventBus();\n      eventBus.trigger(connect.EventType.TERMINATE);\n      return true;\n    })[\"catch\"](function (e) {\n      connect.getLog().error('An error occured on logout.' + e).withException(e);\n      window.location.href = logoutUrl;\n      return false;\n    });\n  };\n  var removeAppData = function removeAppData(appName) {\n    connect.agentApp.AppRegistry[\"delete\"](appName);\n  };\n\n  /**\n   * Initializes custom views application for a given contact. It sets up the iframe for the custom view and \n   * creates the lifecycle hook of the custom view based on the contact's status.\n   * Extended to support deduplication. \n   * Works whether the contact ID is passed directly in config or derived from a live connect.Contact object.\n   * \n   * @param {string} connectUrl - The URL for the custom view.\n   * @param {string} containerDOM - The DOM container for the view iframe.\n   * @param {AppOptions} config - Configuration object containing contact details and other settings.\n   */\n  var initCustomViewsApp = function initCustomViewsApp(connectUrl, containerDOM, config) {\n    var _config$customViewsPa = config.customViewsParams,\n      contact = _config$customViewsPa.contact,\n      disableAutoDestroy = _config$customViewsPa.disableAutoDestroy,\n      iframeSuffix = _config$customViewsPa.iframeSuffix,\n      _config$customViewsPa2 = _config$customViewsPa.terminateCustomViewOptions,\n      terminateCustomViewOptions = _config$customViewsPa2 === void 0 ? {} : _config$customViewsPa2,\n      _config$customViewsPa3 = _config$customViewsPa.deduplicate,\n      deduplicate = _config$customViewsPa3 === void 0 ? true : _config$customViewsPa3;\n    var contactFlowId = config.customViewsParams.contactFlowId;\n    var contactId = extractContactId(contact);\n    var agentConnectionId;\n    var contactStatus;\n    var resolveContactObject = function resolveContactObject(callback) {\n      if (typeof contact === 'string') {\n        console.debug('[CustomViews] Resolving contact ID string...');\n        connect.agent(function (agent) {\n          var matchedContact = agent.getContacts().find(function (c) {\n            try {\n              var _c$getContactId;\n              return ((_c$getContactId = c.getContactId) === null || _c$getContactId === void 0 ? void 0 : _c$getContactId.call(c)) === contact;\n            } catch (_unused) {\n              return false;\n            }\n          });\n          if (!matchedContact) {\n            console.warn('[CustomViews] Unable to resolve contact ID to live contact object.');\n          }\n          callback(matchedContact);\n        });\n      } else {\n        callback(contact);\n      }\n    };\n    var bindOnDestroy = function bindOnDestroy(resolvedContact) {\n      if (disableAutoDestroy) return;\n      resolvedContact.onDestroy(function () {\n        var _terminateCustomViewO, _terminateCustomViewO2, _terminateCustomViewO3;\n        connect.core.terminateCustomView(connectUrl, iframeSuffix, {\n          timeout: (_terminateCustomViewO = terminateCustomViewOptions.timeout) !== null && _terminateCustomViewO !== void 0 ? _terminateCustomViewO : 5000,\n          hideIframe: (_terminateCustomViewO2 = terminateCustomViewOptions.hideIframe) !== null && _terminateCustomViewO2 !== void 0 ? _terminateCustomViewO2 : true,\n          resolveIframe: (_terminateCustomViewO3 = terminateCustomViewOptions.resolveIframe) !== null && _terminateCustomViewO3 !== void 0 ? _terminateCustomViewO3 : true\n        });\n      });\n      console.debug('[CustomViews] onDestroy handler registered.');\n    };\n    var extractAgentConnectionId = function extractAgentConnectionId(resolvedContact) {\n      try {\n        var connections = resolvedContact.toSnapshot().contactData.connections;\n        var agentConn = connections.find(function (conn) {\n          return conn.type === 'agent';\n        });\n        return agentConn === null || agentConn === void 0 ? void 0 : agentConn.connectionId;\n      } catch (err) {\n        console.warn('[CustomViews] Failed to extract agentConnectionId.');\n        return undefined;\n      }\n    };\n    var extractContactStatus = function extractContactStatus(resolvedContact) {\n      try {\n        return resolvedContact.toSnapshot().contactData.state.type;\n      } catch (err) {\n        console.warn('[CustomViews] Failed to extract contact status.');\n        return undefined;\n      }\n    };\n    var continueInit = function continueInit(contactId, agentConnectionId, status) {\n      var _window$top;\n      var appName = iframeSuffix ? \"\".concat(APP.GUIDES).concat(iframeSuffix) : APP.GUIDES;\n      var iframe = (containerDOM === null || containerDOM === void 0 ? void 0 : containerDOM.querySelector(\"iframe[id='\".concat(appName, \"']\"))) || document.getElementById(appName) || ((_window$top = window.top) === null || _window$top === void 0 ? void 0 : _window$top.document.getElementById(appName));\n      if (!iframe) {\n        throw new Error(\"[CustomViews] Iframe not found for app: \".concat(appName));\n      }\n      var tabId = AWS.util.uuid.v4();\n      var params = new URLSearchParams({\n        agentAppTabId: \"\".concat(tabId, \"-tab\")\n      });\n      if (contactFlowId) params.set('contactFlowId', contactFlowId);\n      if (contactId) params.set('currentContactId', contactId);\n      if (agentConnectionId) params.set('agentConnectionId', agentConnectionId);\n      var dedupId = deduplicate ? status ? status.toUpperCase() : 'DEFAULT' : 'ADHOC';\n      params.set('duplicateCustomViewsAppId', dedupId);\n      iframe.src = \"\".concat(connectUrl, \"?\").concat(params.toString());\n      console.debug('[CustomViews] Iframe source initialized with state identifier: ', dedupId);\n    };\n    resolveContactObject(function (resolvedContact) {\n      if (resolvedContact) {\n        contactStatus = extractContactStatus(resolvedContact);\n        contactId = extractContactId(resolvedContact);\n        agentConnectionId = extractAgentConnectionId(resolvedContact);\n        if (agentConnectionId) {\n          console.debug('[CustomViews] Agent connection ID derived from contact object');\n        }\n        bindOnDestroy(resolvedContact);\n      }\n      continueInit(contactId, agentConnectionId, contactStatus);\n    });\n  };\n  var extractContactId = function extractContactId(contact) {\n    if (typeof contact === 'string') {\n      return contact;\n    }\n    try {\n      return contact.getContactId();\n    } catch (_unused2) {\n      console.error('[CustomViews]: Invalid Contact Provided: ', contact);\n      return undefined;\n    }\n  };\n  var signInThroughinitCCP = function signInThroughinitCCP(ccpUrl, container, config) {\n    var defaultParams = {\n      ccpUrl: ccpUrl,\n      ccpLoadTimeout: 10000,\n      loginPopup: true,\n      loginUrl: getConnectUrl(ccpUrl) + '/login',\n      softphone: {\n        allowFramedSoftphone: true,\n        disableRingtone: false,\n        allowFramedVideoCall: true,\n        allowFramedScreenSharing: true,\n        allowFramedScreenSharingPopUp: false\n      }\n    };\n    var ccpParams = connect.merge(defaultParams, config.ccpParams);\n    connect.core.initCCP(container, ccpParams);\n  };\n  var hasAnySearchParameter = function hasAnySearchParameter(url) {\n    var regex = /[?&]?[^=?&]+=[^=?&]+/g;\n    return regex.test(url);\n  };\n  connect.agentApp.initApp = function (name, containerId, appUrl, config) {\n    config = config ? config : {};\n    var endpoint = appUrl.endsWith('/') || hasAnySearchParameter(appUrl) ? appUrl : appUrl + '/';\n    var onLoad = config.onLoad ? config.onLoad : null;\n    var registerConfig = {\n      endpoint: endpoint,\n      style: config.style,\n      onLoad: onLoad\n    };\n    var filteredName;\n    if (name === APP.GUIDES && config.customViewsParams) {\n      var iframeSuffix = config.customViewsParams.iframeSuffix;\n      if (iframeSuffix) {\n        filteredName = \"\".concat(APP.GUIDES).concat(iframeSuffix);\n      } else {\n        filteredName = \"\".concat(APP.GUIDES);\n      }\n      if (connect.agentApp.AppRegistry.get(filteredName) !== undefined) {\n        throw new Error('[CustomViews]: Custom views application with the same name already exists. Please provide a different iframeSuffix for the custom views application.');\n      }\n    } else {\n      filteredName = name;\n    }\n    var containerElement = typeof containerId === 'string' ? document.getElementById(containerId) : containerId;\n    connect.agentApp.AppRegistry.register(filteredName, registerConfig, containerElement);\n    connect.agentApp.AppRegistry.start(filteredName, function (moduleData) {\n      var endpoint = moduleData.endpoint;\n      var containerDOM = moduleData.containerDOM;\n      return {\n        init: function init() {\n          switch (name) {\n            case APP.CCP:\n              config.ccpParams = config.ccpParams ? config.ccpParams : {};\n              if (config.style) config.ccpParams.style = config.style;\n              return signInThroughinitCCP(endpoint, containerDOM, config);\n            case APP.GUIDES:\n              if (config.customViewsParams !== undefined) {\n                connect.agentApp.initAppCommunication(filteredName, endpoint, containerDOM);\n                return initCustomViewsApp(endpoint, containerDOM, config);\n              } else {\n                return connect.agentApp.initAppCommunication(filteredName, endpoint, containerDOM);\n              }\n            default:\n              return connect.agentApp.initAppCommunication(filteredName, endpoint, containerDOM);\n          }\n        },\n        destroy: function destroy() {\n          switch (name) {\n            case APP.CCP:\n              return signOutThroughCCP(endpoint);\n            case APP.GUIDES:\n              if (config.customViewsParams !== undefined) {\n                return removeAppData(filteredName);\n              } else {\n                return null;\n              }\n            default:\n              return null;\n          }\n        }\n      };\n    });\n  };\n  connect.agentApp.stopApp = function (name) {\n    return connect.agentApp.AppRegistry.stop(name);\n  };\n})();\n\n/***/ },\n\n/***/ 961\n() {\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  var APP = {\n    CCP: 'ccp'\n  };\n  function AppRegistry() {\n    var moduleData = {};\n    var makeAppIframe = function makeAppIframe(appName, endpoint, style, onLoad) {\n      var iframe = document.createElement('iframe');\n      iframe.src = endpoint;\n      iframe.style = style || 'width: 100%; height:100%;';\n      iframe.id = appName;\n      iframe['aria-label'] = appName;\n      iframe.onload = onLoad;\n      iframe.allow = \"clipboard-read; clipboard-write\";\n      iframe.setAttribute(\"sandbox\", \"allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts\");\n      // TODO: Update sandbox option for 3P widget\n\n      return iframe;\n    };\n    return {\n      register: function register(appName, config, containerDOM) {\n        moduleData[appName] = {\n          containerDOM: containerDOM,\n          endpoint: config.endpoint,\n          style: config.style,\n          instance: undefined,\n          onLoad: config.onLoad\n        };\n      },\n      start: function start(appName, creator) {\n        if (!moduleData[appName]) return;\n        var containerDOM = moduleData[appName].containerDOM;\n        var endpoint = moduleData[appName].endpoint;\n        var style = moduleData[appName].style;\n        var onLoad = moduleData[appName].onLoad;\n        if (appName !== APP.CCP) {\n          var app = makeAppIframe(appName, endpoint, style, onLoad);\n          containerDOM.appendChild(app);\n        }\n        moduleData[appName].instance = creator(moduleData[appName]);\n        return moduleData[appName].instance.init();\n      },\n      get: function get(appName) {\n        return moduleData[appName];\n      },\n      \"delete\": function _delete(appName) {\n        delete moduleData[appName];\n      },\n      stop: function stop(appName) {\n        if (!moduleData[appName]) return;\n        var data = moduleData[appName];\n        var app = data.containerDOM.querySelector('iframe');\n        if (appName.includes('customviews')) {\n          var iframeIdSelector = \"iframe[id='\".concat(appName, \"']\");\n          app = data.containerDOM.querySelector(iframeIdSelector);\n        }\n        data.containerDOM.removeChild(app);\n        var result;\n        if (data.instance) {\n          result = data.instance.destroy();\n          delete data.instance;\n        }\n        return result;\n      }\n    };\n  }\n  global.connect.agentApp.AppRegistry = AppRegistry();\n})();\n\n/***/ },\n\n/***/ 610\n(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t[\"return\"] || t[\"return\"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function (_User) {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  var _require = __webpack_require__(578),\n    SessionExpirationWarningClient = _require.SessionExpirationWarningClient,\n    sendActivity = _require.sendActivity;\n  var _require2 = __webpack_require__(791),\n    AgentClient = _require2.AgentClient,\n    ContactClient = _require2.ContactClient;\n  var _require3 = __webpack_require__(953),\n    VoiceClient = _require3.VoiceClient;\n  var _require4 = __webpack_require__(909),\n    UserClient = _require4.UserClient;\n\n  /*----------------------------------------------------------------\n   * enum AgentStateType\n   */\n  connect.AgentStateType = connect.makeEnum(['init', 'routable', 'not_routable', 'offline', 'system', 'error']);\n  connect.AgentStatusType = connect.AgentStateType;\n\n  /**\n   * enum AgentAvailStates\n   */\n  connect.AgentAvailStates = connect.makeEnum(['Init', 'Busy', 'AfterCallWork', 'CallingCustomer', 'Dialing', 'Joining', 'PendingAvailable', 'PendingBusy']);\n\n  /**\n   * enum AgentErrorStates\n   */\n  connect.AgentErrorStates = connect.makeEnum(['Error', 'AgentHungUp', 'BadAddressAgent', 'BadAddressCustomer', 'Default', 'FailedConnectAgent', 'FailedConnectCustomer', 'InvalidLocale', 'LineEngagedAgent', 'LineEngagedCustomer', 'MissedCallAgent', 'MissedCallCustomer', 'MultipleCcpWindows', 'RealtimeCommunicationError']);\n\n  /*----------------------------------------------------------------\n   * enum NetworkConnectionStatus\n   */\n  connect.NetworkConnectionStatus = {\n    CONNECTED: \"connected\",\n    CONNECTING: \"connecting\",\n    DISCONNECTED: \"disconnected\",\n    FAILED: \"failed\"\n  };\n\n  /*----------------------------------------------------------------\n   * enum AddressType\n   */\n  connect.EndpointType = connect.makeEnum(['phone_number', 'agent', 'queue']);\n  connect.AddressType = connect.EndpointType;\n\n  /*----------------------------------------------------------------\n   * enum ConnectionType\n   */\n  connect.ConnectionType = connect.makeEnum(['agent', 'inbound', 'outbound', 'monitoring']);\n\n  /*----------------------------------------------------------------\n   * enum ConnectionStateType\n   */\n  connect.ConnectionStateType = connect.makeEnum(['init', 'connecting', 'connected', 'hold', 'disconnected', 'silent_monitor', 'barge']);\n  connect.ConnectionStatusType = connect.ConnectionStateType;\n  connect.CONNECTION_ACTIVE_STATES = connect.set([connect.ConnectionStateType.CONNECTING, connect.ConnectionStateType.CONNECTED, connect.ConnectionStateType.HOLD, connect.ConnectionStateType.SILENT_MONITOR, connect.ConnectionStateType.BARGE]);\n  connect.CONNECTION_CONNECTED_STATES = connect.set([connect.ConnectionStateType.CONNECTED, connect.ConnectionStateType.SILENT_MONITOR, connect.ConnectionStateType.BARGE]);\n\n  /*----------------------------------------------------------------\n   * enum ContactStateType\n   */\n  connect.ContactStateType = connect.makeEnum(['init', 'incoming', 'pending', 'connecting', 'connected', 'missed', 'error', 'ended', 'rejected', 'paused']);\n  connect.ContactStatusType = connect.ContactStateType;\n  connect.CONTACT_ACTIVE_STATES = connect.makeEnum([\"paused\", 'incoming', 'pending', 'connecting', 'connected']);\n\n  /*----------------------------------------------------------------\n   * enum ContactType\n   */\n  connect.ContactType = connect.makeEnum(['voice', 'queue_callback', 'chat', 'task', 'email']);\n\n  /*----------------------------------------------------------------\n   * enum ContactInitiationMethod\n   */\n  connect.ContactInitiationMethod = connect.makeEnum(['inbound', 'outbound', 'transfer', 'queue_transfer', 'callback', 'api', 'disconnect', 'webrtc_api', 'agent_reply', 'campaign_preview', 'external_outbound', 'monitor', 'flow', 'callback_customer_first_queued', 'callback_customer_first_dialed']);\n\n  /*----------------------------------------------------------------\n   * enum for MonitoringMode\n   */\n  connect.MonitoringMode = connect.makeEnum(['SILENT_MONITOR', 'BARGE']);\n\n  /*----------------------------------------------------------------\n   * enum for MonitoringErrorTypes\n   */\n  connect.MonitoringErrorTypes = connect.makeEnum(['invalid_target_state']);\n\n  /*----------------------------------------------------------------\n  * enum ChannelType\n  */\n  connect.ChannelType = connect.makeEnum(['VOICE', 'CHAT', 'TASK']);\n\n  /*----------------------------------------------------------------\n  * enum MediaType\n  */\n  connect.MediaType = connect.makeEnum(['softphone', 'chat', 'task', 'email']);\n\n  /*----------------------------------------------------------------\n   * enum SoftphoneCallType\n   */\n  connect.SoftphoneCallType = connect.makeEnum(['audio_video', 'video_only', 'audio_only', 'none']);\n\n  /*----------------------------------------------------------------\n   * enum for SoftphoneErrorTypes\n   */\n  connect.SoftphoneErrorTypes = connect.makeEnum(['unsupported_browser', 'microphone_not_shared', 'signalling_handshake_failure', 'signalling_connection_failure', 'ice_collection_timeout', 'user_busy_error', 'webrtc_error', 'realtime_communication_error', 'vdi_strategy_not_supported', 'vdi_redir_not_supported', 'other']);\n\n  /*----------------------------------------------------------------\n   * enum for ClickType\n   */\n  connect.ClickType = connect.makeEnum(['Accept', 'Reject', 'Hangup']);\n\n  /*----------------------------------------------------------------\n   * enum for VoiceIdErrorTypes\n   */\n  connect.VoiceIdErrorTypes = connect.makeEnum(['no_speaker_id_found', 'speaker_id_not_enrolled', 'get_speaker_id_failed', 'get_speaker_status_failed', 'opt_out_speaker_failed', 'opt_out_speaker_in_lcms_failed', 'delete_speaker_failed', 'start_session_failed', 'evaluate_speaker_failed', 'session_not_exists', 'describe_session_failed', 'enroll_speaker_failed', 'update_speaker_id_failed', 'update_speaker_id_in_lcms_failed', 'not_supported_on_conference_calls', 'enroll_speaker_timeout', 'evaluate_speaker_timeout', 'get_domain_id_failed', 'no_domain_id_found']);\n\n  /*----------------------------------------------------------------\n   * enum for CTI exceptions\n   */\n  connect.CTIExceptions = connect.makeEnum([\"AccessDeniedException\", \"InvalidStateException\", \"BadEndpointException\", \"InvalidAgentARNException\", \"InvalidConfigurationException\", \"InvalidContactTypeException\", \"PaginationException\", \"RefreshTokenExpiredException\", \"SendDataFailedException\", \"UnauthorizedException\", \"QuotaExceededException\"]);\n  /*----------------------------------------------------------------\n   * enum for VoiceId streaming status\n   */\n  connect.VoiceIdStreamingStatus = connect.makeEnum([\"ONGOING\", \"ENDED\", \"PENDING_CONFIGURATION\"]);\n\n  /*----------------------------------------------------------------\n   * enum for VoiceId authentication decision\n   */\n  connect.VoiceIdAuthenticationDecision = connect.makeEnum([\"ACCEPT\", \"REJECT\", \"NOT_ENOUGH_SPEECH\", \"SPEAKER_NOT_ENROLLED\", \"SPEAKER_OPTED_OUT\", \"SPEAKER_ID_NOT_PROVIDED\", \"SPEAKER_EXPIRED\"]);\n\n  /*----------------------------------------------------------------\n   * enum for VoiceId fraud detection decision\n   */\n  connect.VoiceIdFraudDetectionDecision = connect.makeEnum([\"NOT_ENOUGH_SPEECH\", \"HIGH_RISK\", \"LOW_RISK\"]);\n\n  /*----------------------------------------------------------------\n   * enum for contact flow authentication decision\n   */\n  connect.ContactFlowAuthenticationDecision = connect.makeEnum([\"Authenticated\", \"NotAuthenticated\", \"Inconclusive\", \"NotEnrolled\", \"OptedOut\", \"NotEnabled\", \"Error\"]);\n\n  /*----------------------------------------------------------------\n   * enum for contact flow  fraud detection decision\n   */\n  connect.ContactFlowFraudDetectionDecision = connect.makeEnum([\"HighRisk\", \"LowRisk\", \"Inconclusive\", \"NotEnabled\", \"Error\"]);\n\n  /*----------------------------------------------------------------\n   * enum for contact flow authentication decision\n   */\n  connect.CustomerAuthenticationStatus = connect.makeEnum([\"AUTHENTICATED\", \"FAILED\", \"TIMEOUT\"]);\n\n  /*----------------------------------------------------------------\n   * enum for Video Capability\n   */\n  connect.VideoCapability = connect.makeEnum([\"SEND\"]);\n\n  /*----------------------------------------------------------------\n   * enum for Screen Share Capability\n   */\n  connect.ScreenShareCapability = connect.makeEnum([\"SEND\"]);\n\n  /*----------------------------------------------------------------\n   * enum for VoiceId EnrollmentRequest Status\n   */\n  connect.VoiceIdEnrollmentRequestStatus = connect.makeEnum([\"NOT_ENOUGH_SPEECH\", \"IN_PROGRESS\", \"COMPLETED\", \"FAILED\"]);\n\n  /*----------------------------------------------------------------\n   * enum for VoiceId Speaker status\n   */\n  connect.VoiceIdSpeakerStatus = connect.makeEnum([\"OPTED_OUT\", \"ENROLLED\", \"PENDING\"]);\n  connect.VoiceIdConstants = {\n    EVALUATE_SESSION_DELAY: 10000,\n    EVALUATION_MAX_POLL_TIMES: 24,\n    // EvaluateSpeaker is Polling for maximum 2 mins.\n    EVALUATION_POLLING_INTERVAL: 5000,\n    ENROLLMENT_MAX_POLL_TIMES: 120,\n    // EnrollmentSpeaker is Polling for maximum 10 mins.\n    ENROLLMENT_POLLING_INTERVAL: 5000,\n    START_SESSION_DELAY: 8000\n  };\n\n  /*----------------------------------------------------------------\n   * constants for AgentPermissions\n   */\n  connect.AgentPermissions = {\n    OUTBOUND_CALL: 'outboundCall',\n    VOICE_ID: 'voiceId'\n  };\n\n  /*----------------------------------------------------------------\n   * constants for voice contact types. Can be used to validate with contact.type\n   */\n  connect.voiceContactTypes = ['voice', 'queue_callback'];\n\n  /*----------------------------------------------------------------\n   * Quick Responses APIs (utilizes public api proxy -- No shared worker involvement)\n   */\n  var QuickResponses = /*#__PURE__*/_createClass(function QuickResponses() {\n    _classCallCheck(this, QuickResponses);\n  });\n  _defineProperty(QuickResponses, \"isEnabled\", function () {\n    var client = connect.isCRM() ? connect.core.getClient() : connect.core.getApiProxyClient();\n    return new Promise(function (resolve, reject) {\n      client.call(connect.ApiProxyClientMethods.QR_INTEGRATION_EXISTS, null, {\n        success: function success(data) {\n          connect.getLog().info(\"Quick Responses isEnabled succeeded\").withObject(data).sendInternalLogToServer();\n          resolve(data);\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"Quick Responses isEnabled failed\").withException(err).sendInternalLogToServer();\n          reject(err);\n        }\n      });\n    });\n  });\n  _defineProperty(QuickResponses, \"searchQuickResponses\", function (params) {\n    var client = connect.isCRM() ? connect.core.getClient() : connect.core.getApiProxyClient();\n    var attributes = params !== null && params !== void 0 && params.contactId ? new Contact(params.contactId).getAttributes() : undefined;\n    return new Promise(function (resolve, reject) {\n      client.call(connect.ApiProxyClientMethods.QR_SEARCH_QUICK_RESPONSES, _objectSpread(_objectSpread({}, params), {}, {\n        attributes: attributes\n      }), {\n        success: function success(data) {\n          connect.getLog().info(\"searchQuickResponses succeeded\").withObject(data).sendInternalLogToServer();\n          resolve(data);\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"searchQuickResponses failed\").withException(err).sendInternalLogToServer();\n          reject(err);\n        }\n      });\n    });\n  });\n  ;\n\n  /*----------------------------------------------------------------\n   * User Client\n   */\n  var User = /*#__PURE__*/function () {\n    function User() {\n      _classCallCheck(this, User);\n    }\n    return _createClass(User, null, [{\n      key: \"_getSDKClient\",\n      value: function _getSDKClient() {\n        if (!User.userClient) {\n          User.userClient = new UserClient(connect.core.getSDKClientConfig());\n        }\n        return User.userClient;\n      }\n    }]);\n  }();\n  /*----------------------------------------------------------------\n   * class Agent\n   */\n  _User = User;\n  _defineProperty(User, \"userClient\", null);\n  _defineProperty(User, \"getNetworkType\", function () {\n    return _User._getSDKClient().getNetworkType();\n  });\n  var Agent = function Agent() {\n    if (!connect.agent.initialized) {\n      throw new connect.StateError(\"The agent is not yet initialized!\");\n    }\n  };\n  Agent.prototype._getSDKVoiceClient = function () {\n    if (!this.voiceClient) {\n      this.voiceClient = new VoiceClient(connect.core.getSDKClientConfig());\n    }\n    return this.voiceClient;\n  };\n  Agent.prototype._getData = function () {\n    return connect.core.getAgentDataProvider().getAgentData();\n  };\n  Agent.prototype._createContactAPI = function (contactData) {\n    return new connect.Contact(contactData.contactId);\n  };\n  Agent.prototype.onRefresh = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.REFRESH, f);\n  };\n  Agent.prototype.onRoutable = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.ROUTABLE, f);\n  };\n  Agent.prototype.onNotRoutable = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.NOT_ROUTABLE, f);\n  };\n  Agent.prototype.onOffline = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.OFFLINE, f);\n  };\n  Agent.prototype.onError = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.ERROR, f);\n  };\n  Agent.prototype.onSoftphoneError = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.SOFTPHONE_ERROR, f);\n  };\n  Agent.prototype.onWebSocketConnectionLost = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.WEBSOCKET_CONNECTION_LOST, f);\n  };\n  Agent.prototype.onWebSocketConnectionGained = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.WEBSOCKET_CONNECTION_GAINED, f);\n  };\n  Agent.prototype._getSDKClient = function () {\n    if (this.agentClient) {\n      return this.agentClient;\n    }\n    try {\n      var _connect$core, _connect$core2, _connect$core3;\n      var providerData = {\n        providerId: (_connect$core = connect.core) === null || _connect$core === void 0 || (_connect$core = _connect$core._amazonConnectProviderData) === null || _connect$core === void 0 || (_connect$core = _connect$core.provider) === null || _connect$core === void 0 ? void 0 : _connect$core.id,\n        config: (_connect$core2 = connect.core) === null || _connect$core2 === void 0 || (_connect$core2 = _connect$core2._amazonConnectProviderData) === null || _connect$core2 === void 0 || (_connect$core2 = _connect$core2.provider) === null || _connect$core2 === void 0 ? void 0 : _connect$core2.config,\n        isStreamsProvider: (_connect$core3 = connect.core) === null || _connect$core3 === void 0 || (_connect$core3 = _connect$core3._amazonConnectProviderData) === null || _connect$core3 === void 0 ? void 0 : _connect$core3.isStreamsProvider\n      };\n      connect.getLog().info('Initializing Agent SDK Clients').withObject(providerData).sendInternalLogToServer();\n      this.agentClient = new AgentClient(connect.core.getSDKClientConfig());\n      return this.agentClient;\n    } catch (e) {\n      var _connect$core4, _connect$core5, _connect$core6;\n      var errorData = {\n        providerId: (_connect$core4 = connect.core) === null || _connect$core4 === void 0 || (_connect$core4 = _connect$core4._amazonConnectProviderData) === null || _connect$core4 === void 0 || (_connect$core4 = _connect$core4.provider) === null || _connect$core4 === void 0 ? void 0 : _connect$core4.id,\n        config: (_connect$core5 = connect.core) === null || _connect$core5 === void 0 || (_connect$core5 = _connect$core5._amazonConnectProviderData) === null || _connect$core5 === void 0 || (_connect$core5 = _connect$core5.provider) === null || _connect$core5 === void 0 ? void 0 : _connect$core5.config,\n        isStreamsProvider: (_connect$core6 = connect.core) === null || _connect$core6 === void 0 || (_connect$core6 = _connect$core6._amazonConnectProviderData) === null || _connect$core6 === void 0 ? void 0 : _connect$core6.isStreamsProvider,\n        error: e\n      };\n      connect.getLog().error('Failed to initialize Agent SDK Clients').withObject(errorData).sendInternalLogToServer();\n    }\n  };\n  Agent.prototype.onNetworkConnectionStatusChanged = function (f) {\n    var client = this._getSDKClient();\n    var handler = function handler(event) {\n      f(event);\n      return Promise.resolve();\n    };\n    client.onNetworkConnectionStatusChanged(handler);\n    return {\n      unsubscribe: function unsubscribe() {\n        client.offNetworkConnectionStatusChanged(handler);\n      }\n    };\n  };\n  Agent.prototype.getNetworkConnectionStatus = function () {\n    var client = this._getSDKClient();\n    return client.getNetworkConnectionStatus();\n  };\n  Agent.prototype.onAfterCallWork = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.ACW, f);\n  };\n  Agent.prototype.onStateChange = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.STATE_CHANGE, f);\n  };\n  Agent.prototype.onMuteToggle = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.MUTE_TOGGLE, f);\n  };\n  Agent.prototype.onLocalMediaStreamCreated = function (f) {\n    return connect.core.getEventBus().subscribe(connect.AgentEvents.LOCAL_MEDIA_STREAM_CREATED, f);\n  };\n  Agent.prototype.onSpeakerDeviceChanged = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.SPEAKER_DEVICE_CHANGED, f);\n  };\n  Agent.prototype.onMicrophoneDeviceChanged = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.MICROPHONE_DEVICE_CHANGED, f);\n  };\n  Agent.prototype.onRingerDeviceChanged = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.RINGER_DEVICE_CHANGED, f);\n  };\n  Agent.prototype.onCameraDeviceChanged = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.CAMERA_DEVICE_CHANGED, f);\n  };\n  Agent.prototype.onBackgroundBlurChanged = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.BACKGROUND_BLUR_CHANGED, f);\n  };\n  Agent.prototype.onVoiceEnhancementModeChanged = function (f) {\n    var _this = this;\n    var handler = function handler(_ref) {\n      var voiceEnhancementMode = _ref.voiceEnhancementMode;\n      f({\n        voiceEnhancementMode: voiceEnhancementMode\n      });\n      return Promise.resolve();\n    };\n    this._getSDKVoiceClient().onVoiceEnhancementModeChanged(handler);\n    return {\n      unsubscribe: function unsubscribe() {\n        return _this._getSDKVoiceClient().offVoiceEnhancementModeChanged(handler);\n      }\n    };\n  };\n  Agent.prototype.mute = function () {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.MUTE,\n      data: {\n        mute: true\n      }\n    });\n  };\n  Agent.prototype.unmute = function () {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.MUTE,\n      data: {\n        mute: false\n      }\n    });\n  };\n  Agent.prototype.setSpeakerDevice = function (deviceId) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.SET_SPEAKER_DEVICE,\n      data: {\n        deviceId: deviceId\n      }\n    });\n  };\n  Agent.prototype.setMicrophoneDevice = function (deviceId) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.SET_MICROPHONE_DEVICE,\n      data: {\n        deviceId: deviceId\n      }\n    });\n  };\n  Agent.prototype.setRingerDevice = function (deviceId) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.SET_RINGER_DEVICE,\n      data: {\n        deviceId: deviceId\n      }\n    });\n  };\n\n  // Only send event CAMERA_DEVICE_CHANGED because we do not handle video streams in StreamJS\n  Agent.prototype.setCameraDevice = function (deviceId) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.CAMERA_DEVICE_CHANGED,\n      data: {\n        deviceId: deviceId\n      }\n    });\n  };\n  Agent.prototype.setBackgroundBlur = function (isBackgroundBlurEnabled) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.BACKGROUND_BLUR_CHANGED,\n      data: {\n        isBackgroundBlurEnabled: isBackgroundBlurEnabled\n      }\n    });\n  };\n  Agent.prototype.setVoiceEnhancementMode = function (mode) {\n    if (!new Set([\"VOICE_ISOLATION\", \"NOISE_SUPPRESSION\", \"NONE\"]).has(mode)) {\n      throw new Error(\"Invalid voice enhancement mode \".concat(mode));\n    }\n    return this._getSDKVoiceClient().setVoiceEnhancementMode(mode);\n  };\n\n  /**\n   * @deprecated\n   * use agent.getAvailabilityState\n   */\n  Agent.prototype.getState = function () {\n    return this._getData().snapshot.state;\n  };\n  Agent.prototype.getNextState = function () {\n    return this._getData().snapshot.nextState;\n  };\n  Agent.prototype.getAvailabilityState = function () {\n    return this._getData().snapshot.agentAvailabilityState;\n  };\n\n  /**\n    * @deprecated\n    * use agent.getAvailabilityState\n    */\n  Agent.prototype.getStatus = Agent.prototype.getState;\n  Agent.prototype.getStateDuration = function () {\n    return connect.now() - this._getData().snapshot.state.startTimestamp.getTime() + connect.core.getSkew();\n  };\n  Agent.prototype.getStatusDuration = Agent.prototype.getStateDuration;\n  Agent.prototype.getPermissions = function () {\n    return this.getConfiguration().permissions;\n  };\n  Agent.prototype.getContacts = function (contactTypeFilter) {\n    var self = this;\n    return this._getData().snapshot.contacts.map(function (contactData) {\n      return self._createContactAPI(contactData);\n    }).filter(function (contact) {\n      return !contactTypeFilter || contact.getType() === contactTypeFilter;\n    });\n  };\n  Agent.prototype.getConfiguration = function () {\n    return this._getData().configuration;\n  };\n  Agent.prototype.getAgentStates = function () {\n    return this.getConfiguration().agentStates;\n  };\n  Agent.prototype.getRoutingProfile = function () {\n    return this.getConfiguration().routingProfile;\n  };\n  Agent.prototype.getVoiceEnhancementMode = function () {\n    return this.getConfiguration().voiceEnhancementMode;\n  };\n  Agent.prototype.getChannelConcurrency = function (channel) {\n    var channelConcurrencyMap = this.getRoutingProfile().channelConcurrencyMap;\n    if (!channelConcurrencyMap) {\n      channelConcurrencyMap = Object.keys(connect.ChannelType).reduce(function (acc, key) {\n        // Exclude TASK from default concurrency.\n        if (key !== 'TASK') {\n          acc[connect.ChannelType[key]] = 1;\n        }\n        return acc;\n      }, {});\n    }\n    return channel ? channelConcurrencyMap[channel] || 0 : channelConcurrencyMap;\n  };\n  Agent.prototype.getName = function () {\n    return this.getConfiguration().name;\n  };\n  Agent.prototype.getAgentARN = function () {\n    return this.getConfiguration().agentARN;\n  };\n\n  /**\n   * Extracts and returns the AWS region from the agent's ARN\n   * @private\n   * @returns {string|null} The AWS region or null if unable to extract\n   */\n  Agent.prototype._getInstanceRegion = function () {\n    try {\n      return connect._parseRegionFromArn(this.getAgentARN());\n    } catch (e) {\n      connect.getLog().error('Failed to extract region from agent ARN').withException(e).sendInternalLogToServer();\n      return null;\n    }\n  };\n  Agent.prototype.getExtension = function () {\n    return this.getConfiguration().extension;\n  };\n  Agent.prototype.getDialableCountries = function () {\n    return this.getConfiguration().dialableCountries;\n  };\n  Agent.prototype.isSoftphoneEnabled = function () {\n    return this.getConfiguration().softphoneEnabled;\n  };\n  Agent.prototype.setConfiguration = function (configuration, callbacks) {\n    var client = connect.core.getClient();\n    if (configuration && configuration.agentPreferences && configuration.agentPreferences.LANGUAGE && !configuration.agentPreferences.locale) {\n      // workaround for the inconsistency issue that getAgentConfiguration returns agentPreferences.LANGUAGE but updateAgentConfiguration expects agentPreferences.locale to be set.\n      configuration.agentPreferences.locale = configuration.agentPreferences.LANGUAGE;\n    }\n    if (configuration && configuration.agentPreferences && !connect.isValidLocale(configuration.agentPreferences.locale)) {\n      if (callbacks && callbacks.failure) {\n        callbacks.failure(connect.AgentErrorStates.INVALID_LOCALE);\n      }\n    } else {\n      client.call(connect.ClientMethods.UPDATE_AGENT_CONFIGURATION, {\n        configuration: connect.assertNotNull(configuration, 'configuration')\n      }, {\n        success: function success(data) {\n          // We need to ask the shared worker to reload agent config\n          // once we change it so every tab has accurate config.\n          var conduit = connect.core.getUpstream();\n          conduit.sendUpstream(connect.EventType.RELOAD_AGENT_CONFIGURATION);\n          if (callbacks.success) {\n            callbacks.success(data);\n          }\n        },\n        failure: callbacks && callbacks.failure\n      });\n    }\n  };\n  Agent.prototype.setState = function (state, callbacks, options) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.PUT_AGENT_STATE, {\n      state: connect.assertNotNull(state, 'state'),\n      enqueueNextState: options && !!options.enqueueNextState\n    }, callbacks);\n  };\n  Agent.prototype.onEnqueuedNextState = function (f) {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.AgentEvents.ENQUEUED_NEXT_STATE, f);\n  };\n  Agent.prototype.onClearedNextState = function (f) {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.AgentEvents.CLEARED_NEXT_STATE, f);\n  };\n  Agent.prototype.setStatus = Agent.prototype.setState;\n  Agent.prototype.connect = function (endpointIn, params) {\n    var client = connect.core.getClient();\n    var endpoint = new connect.Endpoint(endpointIn);\n    // Have to remove the endpointId field or AWS JS SDK gets mad.\n    delete endpoint.endpointId;\n    var callParams = {\n      endpoint: connect.assertNotNull(endpoint, 'endpoint'),\n      queueARN: params && (params.queueARN || params.queueId) || this.getRoutingProfile().defaultOutboundQueue.queueARN\n    };\n    if (params && params.relatedContactId && params.relatedContactId !== null) {\n      callParams.relatedContactId = params.relatedContactId;\n      if (params.previousContactId) {\n        delete callParams.previousContactId;\n      }\n    }\n\n    // The outbound-contact request settles when the upstream response comes\n    // back through the conduit. If that response is never delivered (e.g. a\n    // dropped shared-worker message), neither success nor failure would ever\n    // fire and callers hang indefinitely (GitHub #1090). An optional\n    // params.timeout (milliseconds) bounds the wait: on expiry we invoke\n    // failure with a timeout error. A settle-once guard ensures the timeout\n    // and a (possibly late) real response can never both fire.\n    var settled = false;\n    var timeoutId = null;\n    var timeoutMs = params && params.timeout;\n    var clearTimeoutIfSet = function clearTimeoutIfSet() {\n      if (timeoutId !== null) {\n        global.clearTimeout(timeoutId);\n        timeoutId = null;\n      }\n    };\n    var wrappedCallbacks = params && {\n      success: function success(data) {\n        if (settled) {\n          return;\n        }\n        settled = true;\n        clearTimeoutIfSet();\n        if (params.success) {\n          params.success(data);\n        }\n      },\n      failure: function failure(err, data) {\n        if (settled) {\n          return;\n        }\n        settled = true;\n        clearTimeoutIfSet();\n        if (params.failure) {\n          params.failure(err, data);\n        }\n      }\n    };\n    if (typeof timeoutMs === 'number' && timeoutMs > 0) {\n      timeoutId = global.setTimeout(function () {\n        if (settled) {\n          return;\n        }\n        settled = true;\n        timeoutId = null;\n        connect.getLog().error(\"Agent.connect timed out after %s ms\", timeoutMs).withObject({\n          queueARN: callParams.queueARN\n        }).sendInternalLogToServer();\n        if (params.failure) {\n          params.failure(new connect.ValueError(connect.sprintf(\"Agent.connect timed out after %d ms\", timeoutMs)));\n        }\n      }, timeoutMs);\n    }\n    client.call(connect.ClientMethods.CREATE_OUTBOUND_CONTACT, callParams, wrappedCallbacks);\n  };\n  Agent.prototype.getAllQueueARNs = function () {\n    return this.getConfiguration().routingProfile.queues.map(function (queue) {\n      return queue.queueARN;\n    });\n  };\n  Agent.prototype.getEndpoints = function (queueARNs, callbacks, pageInfoIn) {\n    var self = this;\n    var client = connect.core.getClient();\n    connect.assertNotNull(callbacks, \"callbacks\");\n    connect.assertNotNull(callbacks.success, \"callbacks.success\");\n    var pageInfo = pageInfoIn || {};\n    pageInfo.endpoints = pageInfo.endpoints || [];\n    pageInfo.maxResults = pageInfo.maxResults || connect.DEFAULT_BATCH_SIZE;\n\n    // Backwards compatibility allowing a single queueARN to be specified\n    // instead of an array.\n    if (!connect.isArray(queueARNs)) {\n      queueARNs = [queueARNs];\n    }\n    client.call(connect.ClientMethods.GET_ENDPOINTS, {\n      queueARNs: queueARNs,\n      nextToken: pageInfo.nextToken || null,\n      maxResults: pageInfo.maxResults\n    }, {\n      success: function success(data) {\n        if (data.nextToken) {\n          self.getEndpoints(queueARNs, callbacks, {\n            nextToken: data.nextToken,\n            maxResults: pageInfo.maxResults,\n            endpoints: pageInfo.endpoints.concat(data.endpoints)\n          });\n        } else {\n          pageInfo.endpoints = pageInfo.endpoints.concat(data.endpoints);\n          var endpoints = pageInfo.endpoints.map(function (endpoint) {\n            return new connect.Endpoint(endpoint);\n          });\n          callbacks.success({\n            endpoints: endpoints,\n            addresses: endpoints\n          });\n        }\n      },\n      failure: callbacks.failure\n    });\n  };\n  Agent.prototype.getAddresses = Agent.prototype.getEndpoints;\n\n  //Internal identifier.\n  Agent.prototype._getResourceId = function () {\n    var queueArns = this.getAllQueueARNs();\n    var _iterator = _createForOfIteratorHelper(queueArns),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var queueArn = _step.value;\n        var agentIdMatch = queueArn.match(/\\/agent\\/([^/]+)/);\n        if (agentIdMatch) {\n          return agentIdMatch[1];\n        }\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    return new Error(\"Agent.prototype._getResourceId: queueArns did not contain agentResourceId: \", queueArns);\n  };\n  Agent.prototype.toSnapshot = function () {\n    return new connect.AgentSnapshot(this._getData());\n  };\n\n  /*----------------------------------------------------------------\n   * class AgentSnapshot\n   */\n  var AgentSnapshot = function AgentSnapshot(agentData) {\n    connect.Agent.call(this);\n    this.agentData = agentData;\n  };\n  AgentSnapshot.prototype = Object.create(Agent.prototype);\n  AgentSnapshot.prototype.constructor = AgentSnapshot;\n  AgentSnapshot.prototype._getData = function () {\n    return this.agentData;\n  };\n  AgentSnapshot.prototype._createContactAPI = function (contactData) {\n    return new connect.ContactSnapshot(contactData);\n  };\n\n  /*----------------------------------------------------------------\n   * class Contact\n   */\n  var Contact = function Contact(contactId) {\n    this.contactId = contactId;\n  };\n  Contact.prototype._getSDKClient = function () {\n    if (this.contactClient) {\n      return this.contactClient;\n    }\n    try {\n      var _connect$core7, _connect$core8, _connect$core9;\n      var providerData = {\n        providerId: (_connect$core7 = connect.core) === null || _connect$core7 === void 0 || (_connect$core7 = _connect$core7._amazonConnectProviderData) === null || _connect$core7 === void 0 || (_connect$core7 = _connect$core7.provider) === null || _connect$core7 === void 0 ? void 0 : _connect$core7.id,\n        config: (_connect$core8 = connect.core) === null || _connect$core8 === void 0 || (_connect$core8 = _connect$core8._amazonConnectProviderData) === null || _connect$core8 === void 0 || (_connect$core8 = _connect$core8.provider) === null || _connect$core8 === void 0 ? void 0 : _connect$core8.config,\n        isStreamsProvider: (_connect$core9 = connect.core) === null || _connect$core9 === void 0 || (_connect$core9 = _connect$core9._amazonConnectProviderData) === null || _connect$core9 === void 0 ? void 0 : _connect$core9.isStreamsProvider\n      };\n      connect.getLog().info('Initializing Contact SDK Clients').withObject(providerData).sendInternalLogToServer();\n      this.contactClient = new ContactClient(connect.core.getSDKClientConfig());\n      return this.contactClient;\n    } catch (e) {\n      var _connect$core0, _connect$core1, _connect$core10;\n      var errorData = {\n        providerId: (_connect$core0 = connect.core) === null || _connect$core0 === void 0 || (_connect$core0 = _connect$core0._amazonConnectProviderData) === null || _connect$core0 === void 0 || (_connect$core0 = _connect$core0.provider) === null || _connect$core0 === void 0 ? void 0 : _connect$core0.id,\n        config: (_connect$core1 = connect.core) === null || _connect$core1 === void 0 || (_connect$core1 = _connect$core1._amazonConnectProviderData) === null || _connect$core1 === void 0 || (_connect$core1 = _connect$core1.provider) === null || _connect$core1 === void 0 ? void 0 : _connect$core1.config,\n        isStreamsProvider: (_connect$core10 = connect.core) === null || _connect$core10 === void 0 || (_connect$core10 = _connect$core10._amazonConnectProviderData) === null || _connect$core10 === void 0 ? void 0 : _connect$core10.isStreamsProvider,\n        error: e\n      };\n      connect.getLog().error('Failed to initialize Contact SDK Clients').withObject(errorData).sendInternalLogToServer();\n    }\n  };\n  Contact.prototype._getData = function () {\n    return connect.core.getAgentDataProvider().getContactData(this.getContactId());\n  };\n  Contact.prototype._createConnectionAPI = function (connectionData) {\n    if (this.getType() === connect.ContactType.CHAT) {\n      return new connect.ChatConnection(this.contactId, connectionData.connectionId);\n    } else if (this.getType() === connect.ContactType.TASK) {\n      return new connect.TaskConnection(this.contactId, connectionData.connectionId);\n    } else if (this.getType() === connect.ContactType.EMAIL) {\n      return new connect.EmailConnection(this.contactId, connectionData.connectionId);\n    } else {\n      return new connect.VoiceConnection(this.contactId, connectionData.connectionId);\n    }\n  };\n  Contact.prototype.getEventName = function (eventName) {\n    return connect.core.getContactEventName(eventName, this.getContactId());\n  };\n  Contact.prototype.onRefresh = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.REFRESH), f);\n  };\n  Contact.prototype.onIncoming = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.INCOMING), f);\n  };\n  Contact.prototype.onConnecting = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.CONNECTING), f);\n  };\n  Contact.prototype.onPending = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.PENDING), f);\n  };\n  Contact.prototype.onAccepted = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.ACCEPTED), f);\n  };\n  Contact.prototype.onMissed = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.MISSED), f);\n  };\n  Contact.prototype.onEnded = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.ENDED), f);\n  };\n  Contact.prototype.onDestroy = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.DESTROYED), f);\n  };\n  Contact.prototype.onACW = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.ACW), f);\n  };\n  Contact.prototype.onConnected = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.CONNECTED), f);\n  };\n  Contact.prototype.onError = function (f) {\n    return connect.core.getEventBus().subscribe(this.getEventName(connect.ContactEvents.ERROR), f);\n  };\n  Contact.prototype.getContactId = function () {\n    return this.contactId;\n  };\n  Contact.prototype.getOriginalContactId = function () {\n    return this._getData().initialContactId;\n  };\n  Contact.prototype.getInitialContactId = Contact.prototype.getOriginalContactId;\n  Contact.prototype.getType = function () {\n    return this._getData().type;\n  };\n  Contact.prototype.getContactDuration = function () {\n    return this._getData().contactDuration;\n  };\n  Contact.prototype.engagePreviewContact = function () {\n    var contactClient = this._getSDKClient();\n    var contactId = this.getContactId();\n    return contactClient.engagePreviewContact(contactId);\n  };\n  Contact.prototype.getPreviewConfiguration = function () {\n    var contactClient = this._getSDKClient();\n    var contactId = this.getContactId();\n    return contactClient.getPreviewConfiguration(contactId);\n  };\n  Contact.prototype.isPreviewMode = function () {\n    var contactClient = this._getSDKClient();\n    var contactId = this.getContactId();\n    return contactClient.isPreviewMode(contactId);\n  };\n  Contact.prototype.getState = function () {\n    return this._getData().state;\n  };\n  Contact.prototype.isCustomerFirstCallback = function () {\n    var initiationMethod = this.getInitiationMethod();\n    return initiationMethod === connect.ContactInitiationMethod.CALLBACK_CUSTOMER_FIRST_DIALED;\n  };\n  Contact.prototype.isCampaignPreview = function () {\n    var initiationMethod = this.getInitiationMethod();\n    return initiationMethod === connect.ContactInitiationMethod.CAMPAIGN_PREVIEW;\n  };\n  Contact.prototype.getStatus = Contact.prototype.getState;\n  Contact.prototype.getStateDuration = function () {\n    return connect.now() - this._getData().state.timestamp.getTime() + connect.core.getSkew();\n  };\n  Contact.prototype.getStatusDuration = Contact.prototype.getStateDuration;\n  Contact.prototype.getQueue = function () {\n    return this._getData().queue;\n  };\n  Contact.prototype.getQueueTimestamp = function () {\n    return this._getData().queueTimestamp;\n  };\n  Contact.prototype.getConnections = function () {\n    var self = this;\n    return this._getData().connections.map(function (connData) {\n      if (self.getType() === connect.ContactType.CHAT) {\n        return new connect.ChatConnection(self.contactId, connData.connectionId);\n      } else if (self.getType() === connect.ContactType.TASK) {\n        return new connect.TaskConnection(self.contactId, connData.connectionId);\n      } else if (self.getType() === connect.ContactType.EMAIL) {\n        return new connect.EmailConnection(self.contactId, connData.connectionId);\n      } else {\n        return new connect.VoiceConnection(self.contactId, connData.connectionId);\n      }\n    });\n  };\n  Contact.prototype.getInitialConnection = function () {\n    return connect.find(this.getConnections(), function (conn) {\n      return conn.isInitialConnection();\n    }) || null;\n  };\n  Contact.prototype.getActiveInitialConnection = function () {\n    var initialConn = this.getInitialConnection();\n    if (initialConn != null && initialConn.isActive()) {\n      return initialConn;\n    } else {\n      return null;\n    }\n  };\n  Contact.prototype.getThirdPartyConnections = function () {\n    return this.getConnections().filter(function (conn) {\n      return !conn.isInitialConnection() && conn.getType() !== connect.ConnectionType.AGENT;\n    });\n  };\n  Contact.prototype.getSingleActiveThirdPartyConnection = function () {\n    return this.getThirdPartyConnections().filter(function (conn) {\n      return conn.isActive();\n    })[0] || null;\n  };\n  Contact.prototype.getAgentConnection = function () {\n    return connect.find(this.getConnections(), function (conn) {\n      var connType = conn.getType();\n      return connType === connect.ConnectionType.AGENT || connType === connect.ConnectionType.MONITORING;\n    });\n  };\n  Contact.prototype.getActiveConnections = function () {\n    return this.getConnections().filter(function (conn) {\n      return conn.isActive();\n    });\n  };\n  Contact.prototype.hasTwoActiveParticipants = function () {\n    return this.getActiveConnections().length === 2;\n  };\n  Contact.prototype.getName = function () {\n    return this._getData().name;\n  };\n  Contact.prototype.getInitiationMethod = function () {\n    return this._getData().initiationMethod;\n  };\n  Contact.prototype.getContactMetadata = function () {\n    return this._getData().contactMetadata;\n  };\n  Contact.prototype.getDescription = function () {\n    return this._getData().description;\n  };\n  Contact.prototype.getRelatedContactId = function () {\n    return this._getData().relatedContactId;\n  };\n  Contact.prototype.getContactAssociationId = function () {\n    return this._getData().contactAssociationId;\n  };\n  Contact.prototype.getCustomerEndpoint = function () {\n    return this._getData().customerEndpoint;\n  };\n  Contact.prototype.getConnectSystemEndpoint = function () {\n    return this._getData().connectSystemEndpoint;\n  };\n  Contact.prototype.getReferences = function () {\n    return this._getData().references;\n  };\n  Contact.prototype.getAttributes = function () {\n    return this._getData().attributes;\n  };\n  Contact.prototype.getContactFeatures = function () {\n    return this._getData().contactFeatures;\n  };\n  Contact.prototype.getChannelContext = function () {\n    return this._getData().channelContext;\n  };\n  Contact.prototype.getSegmentAttributes = function () {\n    return this._getData().segmentAttributes;\n  };\n\n  /**\n   * @returns {Promise<InstanceDetails>} A promise that resolves to the contact's instance details\n   */\n  Contact.prototype.getInstanceDetails = function () {\n    var contactClient = this._getSDKClient();\n    var contactId = this.getContactId();\n    return contactClient.getInstanceDetails(contactId);\n  };\n  Contact.prototype.getContactSubtype = function () {\n    var segmentAttributes = this.getSegmentAttributes();\n    return segmentAttributes && segmentAttributes[\"connect:Subtype\"] ? segmentAttributes[\"connect:Subtype\"].ValueString : null;\n  };\n  Contact.prototype.isSoftphoneCall = function () {\n    if (this.getType() !== connect.ContactType.VOICE && this.getType() !== connect.ContactType.QUEUE_CALLBACK) {\n      return false;\n    }\n    return Boolean(this.getConnections().find(function (conn) {\n      return conn.getSoftphoneMediaInfo();\n    }));\n  };\n  Contact.prototype.hasVideoRTCCapabilities = function () {\n    return connect.find(this.getConnections(), function (conn) {\n      return conn.canSendVideo && conn.canSendVideo();\n    }) !== null;\n  };\n  Contact.prototype.canAgentSendVideo = function () {\n    var agentConnection = this.getAgentConnection();\n    return agentConnection.canSendVideo && agentConnection.canSendVideo();\n  };\n  Contact.prototype.canAgentReceiveVideo = function () {\n    var initialConn = this.getInitialConnection();\n    // If customer has SEND capability, then agent can receive video\n    if (initialConn.canSendVideo && initialConn.canSendVideo()) {\n      return true;\n    }\n    // If customer does not have SEND capability, right now we do not populate SEND capability in third party connection\n    // so if customer does not have SEND capability then use agent SEND capability to determine that agent can\n    // receive videos from other parties (other agents, superiors).\n    var thirdPartyConns = this.getThirdPartyConnections();\n    return thirdPartyConns && thirdPartyConns.length > 0 && this.canAgentSendVideo();\n  };\n  Contact.prototype.hasScreenShareCapability = function () {\n    return connect.find(this.getConnections(), function (conn) {\n      return conn.canSendScreenShare && conn.canSendScreenShare();\n    }) !== null;\n  };\n  Contact.prototype.canAgentSendScreenShare = function () {\n    var agentConnection = this.getAgentConnection();\n    return agentConnection.canSendScreenShare && agentConnection.canSendScreenShare();\n  };\n  Contact.prototype.canCustomerSendScreenShare = function () {\n    var initialConn = this.getInitialConnection();\n    return initialConn.canSendScreenShare && initialConn.canSendScreenShare();\n  };\n  Contact.prototype.startScreenSharing = /*#__PURE__*/function () {\n    var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(skipSessionInitiation) {\n      var contactId, client, body;\n      return _regenerator().w(function (_context) {\n        while (1) switch (_context.n) {\n          case 0:\n            contactId = this.getContactId();\n            if (!(this.getContactSubtype() !== \"connect:WebRTC\")) {\n              _context.n = 1;\n              break;\n            }\n            throw new Error(\"Screen sharing is only supported for WebRTC contacts.\");\n          case 1:\n            if (this.isConnected()) {\n              _context.n = 2;\n              break;\n            }\n            throw new connect.StateError('Contact %s is not connected.', contactId);\n          case 2:\n            if (skipSessionInitiation) {\n              _context.n = 3;\n              break;\n            }\n            client = connect.isCRM() ? connect.core.getClient() : connect.core.getApiProxyClient();\n            body = {\n              \"InstanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n              \"ContactId\": contactId,\n              \"ParticipantId\": this.getAgentConnection().getConnectionId()\n            };\n            return _context.a(2, new Promise(function (resolve, reject) {\n              client.call(connect.ApiProxyClientMethods.START_SCREEN_SHARING, body, {\n                success: function success(data) {\n                  connect.getLog().info(\"startScreenSharing succeeded\").withObject(data).sendInternalLogToServer();\n                  connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n                    event: connect.ContactEvents.SCREEN_SHARING_STARTED,\n                    data: {\n                      contactId: contactId\n                    }\n                  });\n                  resolve(data);\n                },\n                failure: function failure(err) {\n                  connect.getLog().error(\"startScreenSharing failed\").withException(err).sendInternalLogToServer();\n                  connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n                    event: connect.ContactEvents.SCREEN_SHARING_ERROR,\n                    data: {\n                      contactId: contactId\n                    }\n                  });\n                  reject(err);\n                }\n              });\n            }));\n          case 3:\n            connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n              event: connect.ContactEvents.SCREEN_SHARING_STARTED,\n              data: {\n                contactId: contactId\n              }\n            });\n          case 4:\n            return _context.a(2);\n        }\n      }, _callee, this);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }();\n  Contact.prototype.onScreenSharingStarted = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ContactEvents.SCREEN_SHARING_STARTED, f);\n  };\n  Contact.prototype.stopScreenSharing = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {\n    var contactId;\n    return _regenerator().w(function (_context2) {\n      while (1) switch (_context2.n) {\n        case 0:\n          contactId = this.getContactId();\n          if (!(this.getContactSubtype() !== \"connect:WebRTC\")) {\n            _context2.n = 1;\n            break;\n          }\n          throw new Error(\"Screen sharing is only supported for WebRTC contacts.\");\n        case 1:\n          if (this.isConnected()) {\n            _context2.n = 2;\n            break;\n          }\n          throw new connect.StateError('Contact %s is not connected.', contactId);\n        case 2:\n          connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n            event: connect.ContactEvents.SCREEN_SHARING_STOPPED,\n            data: {\n              contactId: contactId\n            }\n          });\n        case 3:\n          return _context2.a(2);\n      }\n    }, _callee2, this);\n  }));\n  Contact.prototype.onScreenSharingStopped = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ContactEvents.SCREEN_SHARING_STOPPED, f);\n  };\n  Contact.prototype.onScreenSharingError = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ContactEvents.SCREEN_SHARING_ERROR, f);\n  };\n  Contact.prototype._isInbound = function () {\n    var initiationMethod = this._getData().initiationMethod;\n    return initiationMethod === connect.ContactInitiationMethod.OUTBOUND ? false : true;\n  };\n  Contact.prototype.isInbound = function () {\n    var conn = this.getInitialConnection();\n\n    // We will gradually change checking inbound by relying on contact initiationMethod\n    if ([connect.MediaType.TASK, connect.MediaType.EMAIL].includes(conn.getMediaType()) || this.isCampaignPreview()) {\n      return this._isInbound();\n    }\n    return conn ? conn.getType() === connect.ConnectionType.INBOUND : false;\n  };\n  Contact.prototype.isConnected = function () {\n    return this.getStatus().type === connect.ContactStateType.CONNECTED;\n  };\n  Contact.prototype.accept = function (callbacks) {\n    var client = connect.core.getClient();\n    var self = this;\n    var contactId = this.getContactId();\n    connect.publishClickStreamData({\n      contactId: this.getContactId(),\n      clickType: connect.ClickType.ACCEPT,\n      clickTime: new Date().toISOString()\n    });\n    client.call(connect.ClientMethods.ACCEPT_CONTACT, {\n      contactId: contactId\n    }, {\n      success: function success(data) {\n        var conduit = connect.core.getUpstream();\n        conduit.sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.ContactEvents.ACCEPTED,\n          data: new connect.Contact(contactId)\n        });\n        conduit.sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.core.getContactEventName(connect.ContactEvents.ACCEPTED, self.getContactId()),\n          data: new connect.Contact(contactId)\n        });\n\n        // In Firefox, there's a browser restriction that an unfocused browser tab is not allowed to access the user's microphone.\n        // The problem is that the restriction could cause a webrtc session creation timeout error when you get an incoming call while you are not on the primary tab.\n        // It was hard to workaround the issue especially when you have multiple tabs open because you needed to find the right tab and accept the contact before the timeout.\n        // To avoid the error, when multiple tabs are open in Firefox, a webrtc session is not immediately created as an incoming softphone contact is detected.\n        // Instead, it waits until contact.accept() is called on a tab and lets the tab become the new primary tab and start the web rtc session there\n        // because the tab should be focused at the moment and have access to the user's microphone.\n        var contact = new connect.Contact(contactId);\n        if (connect.isFirefoxBrowser() && contact.isSoftphoneCall()) {\n          connect.core.triggerReadyToStartSessionEvent();\n        }\n        if (callbacks && callbacks.success) {\n          callbacks.success(data);\n        }\n      },\n      failure: function failure(err, data) {\n        connect.getLog().error(\"Accept Contact failed\").sendInternalLogToServer().withException(err).withObject({\n          data: data\n        });\n        connect.publishMetric({\n          name: \"ContactAcceptFailure\",\n          data: {\n            count: 1\n          }\n        });\n        if (callbacks && callbacks.failure) {\n          callbacks.failure(connect.ContactStateType.ERROR);\n        }\n      }\n    });\n  };\n  Contact.prototype.destroy = function () {\n    connect.getLog().warn(\"contact.destroy() has been deprecated.\");\n  };\n  Contact.prototype.reject = function (callbacks) {\n    var client = connect.core.getClient();\n    connect.publishClickStreamData({\n      contactId: this.getContactId(),\n      clickType: connect.ClickType.REJECT,\n      clickTime: new Date().toISOString()\n    });\n    client.call(connect.ClientMethods.REJECT_CONTACT, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.complete = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.COMPLETE_CONTACT, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.clear = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.CLEAR_CONTACT, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.notifyIssue = function (issueCode, description, callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.NOTIFY_CONTACT_ISSUE, {\n      contactId: this.getContactId(),\n      issueCode: issueCode,\n      description: description\n    }, callbacks);\n  };\n  Contact.prototype.addConnection = function (endpointIn, callbacks) {\n    var client = connect.core.getClient();\n    var endpoint = new connect.Endpoint(endpointIn);\n    // Have to remove the endpointId field or AWS JS SDK gets mad.\n    delete endpoint.endpointId;\n    client.call(connect.ClientMethods.CREATE_ADDITIONAL_CONNECTION, {\n      contactId: this.getContactId(),\n      endpoint: endpoint\n    }, callbacks);\n  };\n  Contact.prototype.toggleActiveConnections = function (callbacks) {\n    var client = connect.core.getClient();\n    var connectionId = null;\n    var holdingConn = connect.find(this.getConnections(), function (conn) {\n      return conn.getStatus().type === connect.ConnectionStateType.HOLD;\n    });\n    if (holdingConn != null) {\n      connectionId = holdingConn.getConnectionId();\n    } else {\n      var activeConns = this.getConnections().filter(function (conn) {\n        return conn.isActive();\n      });\n      if (activeConns.length > 0) {\n        connectionId = activeConns[0].getConnectionId();\n      }\n    }\n    client.call(connect.ClientMethods.TOGGLE_ACTIVE_CONNECTIONS, {\n      contactId: this.getContactId(),\n      connectionId: connectionId\n    }, callbacks);\n  };\n  Contact.prototype.sendSoftphoneMetrics = function (softphoneStreamStatistics, callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.SEND_SOFTPHONE_CALL_METRICS, {\n      contactId: this.getContactId(),\n      ccpVersion: global.ccpVersion,\n      softphoneStreamStatistics: softphoneStreamStatistics\n    }, callbacks);\n    connect.publishSoftphoneStats({\n      contactId: this.getContactId(),\n      ccpVersion: global.ccpVersion,\n      stats: softphoneStreamStatistics\n    });\n  };\n  Contact.prototype.sendSoftphoneReport = function (report, callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.SEND_SOFTPHONE_CALL_REPORT, {\n      contactId: this.getContactId(),\n      ccpVersion: global.ccpVersion,\n      report: report\n    }, callbacks);\n  };\n  Contact.prototype.conferenceConnections = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.CONFERENCE_CONNECTIONS, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.toSnapshot = function () {\n    return new connect.ContactSnapshot(this._getData());\n  };\n  Contact.prototype.isMultiPartyConferenceEnabled = function () {\n    var contactFeatures = this.getContactFeatures();\n    return !!(contactFeatures && contactFeatures.multiPartyConferenceEnabled);\n  };\n  Contact.prototype.updateMonitorParticipantState = function (targetState, callbacks) {\n    if (!targetState || !Object.values(connect.MonitoringMode).includes(targetState.toUpperCase())) {\n      connect.getLog().error(\"Invalid target state was provided: \".concat(targetState)).sendInternalLogToServer();\n      if (callbacks && callbacks.failure) {\n        callbacks.failure(connect.MonitoringErrorTypes.INVALID_TARGET_STATE);\n      }\n    } else {\n      var client = connect.core.getClient();\n      client.call(connect.ClientMethods.UPDATE_MONITOR_PARTICIPANT_STATE, {\n        contactId: this.getContactId(),\n        targetMonitorMode: targetState.toUpperCase()\n      }, callbacks);\n    }\n  };\n  Contact.prototype.isUnderSupervision = function () {\n    var nonAgentConnections = this.getConnections().filter(function (conn) {\n      return conn.getType() !== connect.ConnectionType.AGENT;\n    });\n    var supervisorConnection = nonAgentConnections && nonAgentConnections.find(function (conn) {\n      return conn.isBarge() && conn.isActive();\n    });\n    return supervisorConnection !== undefined;\n  };\n\n  /**\n   * Checks if auto accept is enabled for the contact.\n   * If true, then the agent would not need to manually accept the contact.\n   *\n   * @returns { boolean } Returns true if enabled; false otherwise.\n   */\n  Contact.prototype.isAutoAcceptEnabled = function () {\n    try {\n      var contactType = this.getType();\n      var contact = this._getData();\n      if (contact.agentContactHandlingConfig) {\n        var _contact$agentContact, _contact$agentContact2;\n        return (_contact$agentContact = (_contact$agentContact2 = contact.agentContactHandlingConfig) === null || _contact$agentContact2 === void 0 ? void 0 : _contact$agentContact2.autoAccept) !== null && _contact$agentContact !== void 0 ? _contact$agentContact : false;\n      } else if (contactType === connect.ContactType.VOICE) {\n        var _agentConnection$getS, _agentConnection$getS2;\n        var agentConnection = this.getAgentConnection();\n        return (_agentConnection$getS = (_agentConnection$getS2 = agentConnection.getSoftphoneMediaInfo()) === null || _agentConnection$getS2 === void 0 ? void 0 : _agentConnection$getS2.autoAccept) !== null && _agentConnection$getS !== void 0 ? _agentConnection$getS : false;\n      } else {\n        return false;\n      }\n    } catch (e) {\n      connect.getLog().error(\"Error while checking if auto accept is enabled for the contact.\").withException(e).sendInternalLogToServer();\n      return false;\n    }\n  };\n  Contact.prototype.silentMonitor = function (callbacks) {\n    return this.updateMonitorParticipantState(connect.MonitoringMode.SILENT_MONITOR, callbacks);\n  };\n  Contact.prototype.bargeIn = function (callbacks) {\n    return this.updateMonitorParticipantState(connect.MonitoringMode.BARGE, callbacks);\n  };\n  Contact.prototype.pause = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.PAUSE_CONTACT, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.resume = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.RESUME_CONTACT, {\n      contactId: this.getContactId()\n    }, callbacks);\n  };\n  Contact.prototype.addParticipant = function (endpointIn, options) {\n    var client = connect.core.getClient();\n    var endpoint = new connect.Endpoint(endpointIn);\n\n    // endpointId is not defined in the API model, adding it will cause the API to reject\n    delete endpoint.endpointId;\n    client.call(connect.ClientMethods.ADD_NEW_CONNECTION, {\n      contactId: this.getContactId(),\n      endpoint: endpoint\n    }, options);\n  };\n  Contact.prototype.transfer = function (endpointIn, options) {\n    var client = connect.core.getClient();\n    var endpoint = new connect.Endpoint(endpointIn);\n\n    // endpointId is not defined in the API model, adding it will cause the API to reject\n    delete endpoint.endpointId;\n    client.call(connect.ClientMethods.TRANSFER_CONTACT, {\n      contactId: this.getContactId(),\n      endpoint: endpoint\n    }, options);\n  };\n\n  /*----------------------------------------------------------------\n   * class ContactSnapshot\n   */\n  var ContactSnapshot = function ContactSnapshot(contactData) {\n    connect.Contact.call(this, contactData.contactId);\n    this.contactData = contactData;\n  };\n  ContactSnapshot.prototype = Object.create(Contact.prototype);\n  ContactSnapshot.prototype.constructor = ContactSnapshot;\n  ContactSnapshot.prototype._getData = function () {\n    return this.contactData;\n  };\n  ContactSnapshot.prototype._createConnectionAPI = function (connectionData) {\n    return new connect.ConnectionSnapshot(connectionData);\n  };\n\n  /*----------------------------------------------------------------\n   * class Connection\n   */\n  var Connection = function Connection(contactId, connectionId) {\n    this.contactId = contactId;\n    this.connectionId = connectionId;\n    this._initMediaController();\n  };\n  Connection.prototype._getData = function () {\n    return connect.core.getAgentDataProvider().getConnectionData(this.getContactId(), this.getConnectionId());\n  };\n  Connection.prototype.getContactId = function () {\n    return this.contactId;\n  };\n  Connection.prototype.getConnectionId = function () {\n    return this.connectionId;\n  };\n  Connection.prototype.getEndpoint = function () {\n    return new connect.Endpoint(this._getData().endpoint);\n  };\n  Connection.prototype.getAddress = Connection.prototype.getEndpoint;\n  Connection.prototype.getState = function () {\n    return this._getData().state;\n  };\n  Connection.prototype.getStatus = Connection.prototype.getState;\n  Connection.prototype.getStateDuration = function () {\n    return connect.now() - this._getData().state.timestamp.getTime() + connect.core.getSkew();\n  };\n  Connection.prototype.getStatusDuration = Connection.prototype.getStateDuration;\n  Connection.prototype.getType = function () {\n    return this._getData().type;\n  };\n  Connection.prototype.isInitialConnection = function () {\n    return this._getData().initial;\n  };\n  Connection.prototype.isActive = function () {\n    return connect.contains(connect.CONNECTION_ACTIVE_STATES, this.getStatus().type);\n  };\n  Connection.prototype.isConnected = function () {\n    return connect.contains(connect.CONNECTION_CONNECTED_STATES, this.getStatus().type);\n  };\n  Connection.prototype.isConnecting = function () {\n    return this.getStatus().type === connect.ConnectionStateType.CONNECTING;\n  };\n  Connection.prototype.isOnHold = function () {\n    return this.getStatus().type === connect.ConnectionStateType.HOLD;\n  };\n  Connection.prototype.getSoftphoneMediaInfo = function () {\n    return this._getData().softphoneMediaInfo;\n  };\n\n  /**\n   * Gets the currently monitored contact info, Returns null if does not exists.\n   * @return {{agentName:string, customerName:string, joinTime:Date}}\n   */\n  Connection.prototype.getMonitorInfo = function () {\n    return this._getData().monitoringInfo;\n  };\n  Connection.prototype.destroy = function (callbacks) {\n    connect.publishClickStreamData({\n      contactId: this.getContactId(),\n      clickType: connect.ClickType.HANGUP,\n      clickTime: new Date().toISOString()\n    });\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.DESTROY_CONNECTION, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId()\n    }, callbacks);\n  };\n  Connection.prototype.sendDigits = function (digits, callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.SEND_DIGITS, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId(),\n      digits: digits\n    }, callbacks);\n  };\n  Connection.prototype.hold = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.HOLD_CONNECTION, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId()\n    }, callbacks);\n  };\n  Connection.prototype.resume = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.RESUME_CONNECTION, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId()\n    }, callbacks);\n  };\n  Connection.prototype.toSnapshot = function () {\n    return new connect.ConnectionSnapshot(this._getData());\n  };\n  Connection.prototype._initMediaController = function () {\n    if (this.getMediaInfo()) {\n      connect.core.mediaFactory.get(this)[\"catch\"](function () {});\n    }\n  };\n\n  // Method for checking whether this connection is an agent-side connection\n  // (type AGENT or MONITORING)\n  Connection.prototype._isAgentConnectionType = function () {\n    var connectionType = this.getType();\n    return connectionType === connect.ConnectionType.AGENT || connectionType === connect.ConnectionType.MONITORING;\n  };\n\n  /**\n   * Utility method for checking whether this connection is an agent-side connection\n   * (type AGENT or MONITORING)\n   * @return {boolean} True if this connection is an agent-side connection. False otherwise.\n   */\n  Connection.prototype._isAgentConnectionType = function () {\n    var connectionType = this.getType();\n    return connectionType === connect.ConnectionType.AGENT || connectionType === connect.ConnectionType.MONITORING;\n  };\n\n  /*----------------------------------------------------------------\n  * Voice authenticator VoiceId\n  */\n\n  var VoiceId = function VoiceId(contactId) {\n    this.contactId = contactId;\n  };\n  VoiceId.prototype.getSpeakerId = function () {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      var params = {\n        \"contactId\": self.contactId,\n        \"instanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n        \"awsAccountId\": connect.core.getAgentDataProvider().getAWSAccountId()\n      };\n      connect.getLog().info(\"getSpeakerId called\").withObject(params).sendInternalLogToServer();\n      client.call(connect.AgentAppClientMethods.GET_CONTACT, params, {\n        success: function success(data) {\n          if (data.contactData.customerId) {\n            var obj = {\n              speakerId: data.contactData.customerId\n            };\n            connect.getLog().info(\"getSpeakerId succeeded\").withObject(data).sendInternalLogToServer();\n            resolve(obj);\n          } else {\n            var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.NO_SPEAKER_ID_FOUND, \"No speakerId assotiated with this call\");\n            reject(error);\n          }\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"Get SpeakerId failed\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.GET_SPEAKER_ID_FAILED, \"Get SpeakerId failed\", err);\n          reject(error);\n        }\n      });\n    });\n  };\n  VoiceId.prototype.getSpeakerStatus = function () {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      self.getSpeakerId().then(function (data) {\n        self.getDomainId().then(function (domainId) {\n          var params = {\n            \"SpeakerId\": connect.assertNotNull(data.speakerId, 'speakerId'),\n            \"DomainId\": domainId\n          };\n          connect.getLog().info(\"getSpeakerStatus called\").withObject(params).sendInternalLogToServer();\n          client.call(connect.AgentAppClientMethods.DESCRIBE_SPEAKER, params, {\n            success: function success(data) {\n              connect.getLog().info(\"getSpeakerStatus succeeded\").withObject(data).sendInternalLogToServer();\n              resolve(data);\n            },\n            failure: function failure(err) {\n              var error;\n              var parsedErr = JSON.parse(err);\n              switch (parsedErr.status) {\n                case 400:\n                case 404:\n                  var data = parsedErr;\n                  data.type = data.type ? data.type : connect.VoiceIdErrorTypes.SPEAKER_ID_NOT_ENROLLED;\n                  connect.getLog().info(\"Speaker is not enrolled.\").sendInternalLogToServer();\n                  resolve(data);\n                  break;\n                default:\n                  connect.getLog().error(\"getSpeakerStatus failed\").withObject({\n                    err: err\n                  }).sendInternalLogToServer();\n                  var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.GET_SPEAKER_STATUS_FAILED, \"Get SpeakerStatus failed\", err);\n                  reject(error);\n              }\n            }\n          });\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n\n  // internal only\n  VoiceId.prototype._optOutSpeakerInLcms = function (speakerId, generatedSpeakerId) {\n    var self = this;\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      var params = {\n        \"ContactId\": self.contactId,\n        \"InstanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n        \"AWSAccountId\": connect.core.getAgentDataProvider().getAWSAccountId(),\n        \"CustomerId\": connect.assertNotNull(speakerId, 'speakerId'),\n        \"VoiceIdResult\": {\n          \"SpeakerOptedOut\": true,\n          \"generatedSpeakerId\": generatedSpeakerId\n        }\n      };\n      connect.getLog().info(\"_optOutSpeakerInLcms called\").withObject(params).sendInternalLogToServer();\n      client.call(connect.AgentAppClientMethods.UPDATE_VOICE_ID_DATA, params, {\n        success: function success(data) {\n          connect.getLog().info(\"optOutSpeakerInLcms succeeded\").withObject(data).sendInternalLogToServer();\n          resolve(data);\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"optOutSpeakerInLcms failed\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.OPT_OUT_SPEAKER_IN_LCMS_FAILED, \"optOutSpeakerInLcms failed\", err);\n          reject(error);\n        }\n      });\n    });\n  };\n  VoiceId.prototype.optOutSpeaker = function () {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      self.getSpeakerId().then(function (data) {\n        self.getDomainId().then(function (domainId) {\n          var speakerId = data.speakerId;\n          var params = {\n            \"SpeakerId\": connect.assertNotNull(speakerId, 'speakerId'),\n            \"DomainId\": domainId\n          };\n          connect.getLog().info(\"optOutSpeaker called\").withObject(params).sendInternalLogToServer();\n          client.call(connect.AgentAppClientMethods.OPT_OUT_SPEAKER, params, {\n            success: function success(data) {\n              self._optOutSpeakerInLcms(speakerId, data.generatedSpeakerId)[\"catch\"](function () {});\n              connect.getLog().info(\"optOutSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n              resolve(data);\n            },\n            failure: function failure(err) {\n              connect.getLog().error(\"optOutSpeaker failed\").withObject({\n                err: err\n              }).sendInternalLogToServer();\n              var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.OPT_OUT_SPEAKER_FAILED, \"optOutSpeaker failed.\", err);\n              reject(error);\n            }\n          });\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.deleteSpeaker = function () {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      self.getSpeakerId().then(function (data) {\n        self.getDomainId().then(function (domainId) {\n          var params = {\n            \"SpeakerId\": connect.assertNotNull(data.speakerId, 'speakerId'),\n            \"DomainId\": domainId\n          };\n          connect.getLog().info(\"deleteSpeaker called\").withObject(params).sendInternalLogToServer();\n          client.call(connect.AgentAppClientMethods.DELETE_SPEAKER, params, {\n            success: function success(data) {\n              connect.getLog().info(\"deleteSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n              resolve(data);\n            },\n            failure: function failure(err) {\n              connect.getLog().error(\"deleteSpeaker failed\").withObject({\n                err: err\n              }).sendInternalLogToServer();\n              var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.DELETE_SPEAKER_FAILED, \"deleteSpeaker failed.\", err);\n              reject(error);\n            }\n          });\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.startSession = function () {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      self.getDomainId().then(function (domainId) {\n        var params = {\n          \"contactId\": self.contactId,\n          \"instanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n          \"customerAccountId\": connect.core.getAgentDataProvider().getAWSAccountId(),\n          \"clientToken\": AWS.util.uuid.v4(),\n          \"domainId\": domainId\n        };\n        connect.getLog().info(\"startSession called\").withObject(params).sendInternalLogToServer();\n        client.call(connect.AgentAppClientMethods.START_VOICE_ID_SESSION, params, {\n          success: function success(data) {\n            if (data.sessionId) {\n              resolve(data);\n            } else {\n              connect.getLog().error(\"startVoiceIdSession failed, no session id returned\").withObject({\n                data: data\n              }).sendInternalLogToServer();\n              var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.START_SESSION_FAILED, \"No session id returned from start session api\");\n              reject(error);\n            }\n          },\n          failure: function failure(err) {\n            connect.getLog().error(\"startVoiceIdSession failed\").withObject({\n              err: err\n            }).sendInternalLogToServer();\n            var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.START_SESSION_FAILED, \"startVoiceIdSession failed\", err);\n            reject(error);\n          }\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.evaluateSpeaker = function (startNew) {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    var pollTimes = 0;\n    return new Promise(function (resolve, reject) {\n      function evaluate() {\n        self.getDomainId().then(function (domainId) {\n          var params = {\n            \"SessionNameOrId\": contactData.initialContactId || this.contactId,\n            \"DomainId\": domainId\n          };\n          connect.getLog().info(\"evaluateSpeaker called\").withObject(params).sendInternalLogToServer();\n          client.call(connect.AgentAppClientMethods.EVALUATE_SESSION, params, {\n            success: function success(data) {\n              if (++pollTimes < connect.VoiceIdConstants.EVALUATION_MAX_POLL_TIMES) {\n                if (data.StreamingStatus === connect.VoiceIdStreamingStatus.PENDING_CONFIGURATION) {\n                  setTimeout(evaluate, connect.VoiceIdConstants.EVALUATION_POLLING_INTERVAL);\n                } else {\n                  if (!data.AuthenticationResult) {\n                    data.AuthenticationResult = {};\n                    data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.NOT_ENABLED;\n                  }\n                  if (!data.FraudDetectionResult) {\n                    data.FraudDetectionResult = {};\n                    data.FraudDetectionResult.Decision = connect.ContactFlowFraudDetectionDecision.NOT_ENABLED;\n                  }\n\n                  // Resolve if both authentication and fraud detection are not enabled.\n                  if (!self.isAuthEnabled(data.AuthenticationResult.Decision) && !self.isFraudEnabled(data.FraudDetectionResult.Decision)) {\n                    connect.getLog().info(\"evaluateSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n                    resolve(data);\n                    return;\n                  }\n                  if (data.StreamingStatus === connect.VoiceIdStreamingStatus.ENDED) {\n                    if (self.isAuthResultNotEnoughSpeech(data.AuthenticationResult.Decision)) {\n                      data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.INCONCLUSIVE;\n                    }\n                    if (self.isFraudResultNotEnoughSpeech(data.FraudDetectionResult.Decision)) {\n                      data.FraudDetectionResult.Decision = connect.ContactFlowFraudDetectionDecision.INCONCLUSIVE;\n                    }\n                  }\n                  // Voice print is not long enough for both authentication and fraud detection\n                  if (self.isAuthResultInconclusive(data.AuthenticationResult.Decision) && self.isFraudResultInconclusive(data.FraudDetectionResult.Decision)) {\n                    connect.getLog().info(\"evaluateSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n                    resolve(data);\n                    return;\n                  }\n                  if (!self.isAuthResultNotEnoughSpeech(data.AuthenticationResult.Decision) && self.isAuthEnabled(data.AuthenticationResult.Decision)) {\n                    switch (data.AuthenticationResult.Decision) {\n                      case connect.VoiceIdAuthenticationDecision.ACCEPT:\n                        data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.AUTHENTICATED;\n                        break;\n                      case connect.VoiceIdAuthenticationDecision.REJECT:\n                        data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.NOT_AUTHENTICATED;\n                        break;\n                      case connect.VoiceIdAuthenticationDecision.SPEAKER_OPTED_OUT:\n                        data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.OPTED_OUT;\n                        break;\n                      case connect.VoiceIdAuthenticationDecision.SPEAKER_NOT_ENROLLED:\n                        data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.NOT_ENROLLED;\n                        break;\n                      default:\n                        data.AuthenticationResult.Decision = connect.ContactFlowAuthenticationDecision.ERROR;\n                    }\n                  }\n                  if (!self.isFraudResultNotEnoughSpeech(data.FraudDetectionResult.Decision) && self.isFraudEnabled(data.FraudDetectionResult.Decision)) {\n                    switch (data.FraudDetectionResult.Decision) {\n                      case connect.VoiceIdFraudDetectionDecision.HIGH_RISK:\n                        data.FraudDetectionResult.Decision = connect.ContactFlowFraudDetectionDecision.HIGH_RISK;\n                        break;\n                      case connect.VoiceIdFraudDetectionDecision.LOW_RISK:\n                        data.FraudDetectionResult.Decision = connect.ContactFlowFraudDetectionDecision.LOW_RISK;\n                        break;\n                      default:\n                        data.FraudDetectionResult.Decision = connect.ContactFlowFraudDetectionDecision.ERROR;\n                    }\n                  }\n                  if (!self.isAuthResultNotEnoughSpeech(data.AuthenticationResult.Decision) && !self.isFraudResultNotEnoughSpeech(data.FraudDetectionResult.Decision)) {\n                    // Resolve only when both authentication and fraud detection have results. Otherwise, keep polling.\n                    connect.getLog().info(\"evaluateSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n                    resolve(data);\n                    return;\n                  } else {\n                    setTimeout(evaluate, connect.VoiceIdConstants.EVALUATION_POLLING_INTERVAL);\n                  }\n                }\n              } else {\n                connect.getLog().error(\"evaluateSpeaker timeout\").sendInternalLogToServer();\n                var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.EVALUATE_SPEAKER_TIMEOUT, \"evaluateSpeaker timeout\");\n                reject(error);\n              }\n            },\n            failure: function failure(err) {\n              var error;\n              var parsedErr = JSON.parse(err);\n              switch (parsedErr.status) {\n                case 400:\n                case 404:\n                  error = connect.VoiceIdError(connect.VoiceIdErrorTypes.SESSION_NOT_EXISTS, \"evaluateSpeaker failed, session not exists\", err);\n                  connect.getLog().error(\"evaluateSpeaker failed, session not exists\").withObject({\n                    err: err\n                  }).sendInternalLogToServer();\n                  break;\n                default:\n                  error = connect.VoiceIdError(connect.VoiceIdErrorTypes.EVALUATE_SPEAKER_FAILED, \"evaluateSpeaker failed\", err);\n                  connect.getLog().error(\"evaluateSpeaker failed\").withObject({\n                    err: err\n                  }).sendInternalLogToServer();\n              }\n              reject(error);\n            }\n          });\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      }\n      if (!startNew) {\n        self.syncSpeakerId().then(function () {\n          evaluate();\n        })[\"catch\"](function (err) {\n          connect.getLog().error(\"syncSpeakerId failed when session startNew=false\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          reject(err);\n        });\n      } else {\n        self.startSession().then(function (data) {\n          self.syncSpeakerId().then(function (data) {\n            setTimeout(evaluate, connect.VoiceIdConstants.EVALUATE_SESSION_DELAY);\n          })[\"catch\"](function (err) {\n            connect.getLog().error(\"syncSpeakerId failed when session startNew=true\").withObject({\n              err: err\n            }).sendInternalLogToServer();\n            reject(err);\n          });\n        })[\"catch\"](function (err) {\n          connect.getLog().error(\"startSession failed when session startNew=true\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          reject(err);\n        });\n      }\n    });\n  };\n  VoiceId.prototype.describeSession = function () {\n    var self = this;\n    var client = connect.core.getClient();\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    return new Promise(function (resolve, reject) {\n      self.getDomainId().then(function (domainId) {\n        var params = {\n          \"SessionNameOrId\": contactData.initialContactId || this.contactId,\n          \"DomainId\": domainId\n        };\n        connect.getLog().info(\"describeSession called\").withObject(params).sendInternalLogToServer();\n        client.call(connect.AgentAppClientMethods.DESCRIBE_SESSION, params, {\n          success: function success(data) {\n            resolve(data);\n          },\n          failure: function failure(err) {\n            connect.getLog().error(\"describeSession failed\").withObject({\n              err: err\n            }).sendInternalLogToServer();\n            var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.DESCRIBE_SESSION_FAILED, \"describeSession failed\", err);\n            reject(error);\n          }\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.checkEnrollmentStatus = function (callbackOnAudioCollectionComplete) {\n    connect.getLog().info(\"checkEnrollmentStatus called\").sendInternalLogToServer();\n    var self = this;\n    var pollingTimes = 0;\n    var callbackOnAudioCollectionCompleteHasBeenInvoked = false;\n    return new Promise(function (resolve, reject) {\n      function describe() {\n        if (++pollingTimes < connect.VoiceIdConstants.ENROLLMENT_MAX_POLL_TIMES) {\n          self.describeSession().then(function (data) {\n            switch (data.Session.EnrollmentRequestDetails.Status) {\n              case connect.VoiceIdEnrollmentRequestStatus.COMPLETED:\n                resolve(data);\n                break;\n              case connect.VoiceIdEnrollmentRequestStatus.IN_PROGRESS:\n                if (!callbackOnAudioCollectionCompleteHasBeenInvoked && typeof callbackOnAudioCollectionComplete === 'function') {\n                  callbackOnAudioCollectionComplete(data);\n                  callbackOnAudioCollectionCompleteHasBeenInvoked = true;\n                }\n                setTimeout(describe, connect.VoiceIdConstants.ENROLLMENT_POLLING_INTERVAL);\n                break;\n              case connect.VoiceIdEnrollmentRequestStatus.NOT_ENOUGH_SPEECH:\n                if (data.Session.StreamingStatus !== connect.VoiceIdStreamingStatus.ENDED) {\n                  setTimeout(describe, connect.VoiceIdConstants.ENROLLMENT_POLLING_INTERVAL);\n                } else {\n                  setTimeout(function () {\n                    self.startSession().then(function (data) {\n                      describe();\n                    })[\"catch\"](function (err, data) {\n                      reject(err);\n                    });\n                  }, connect.VoiceIdConstants.START_SESSION_DELAY);\n                }\n                break;\n              default:\n                var message = data.Session.EnrollmentRequestDetails.Message ? data.Session.EnrollmentRequestDetails.Message : \"enrollSpeaker failed. Unknown enrollment status has been received\";\n                connect.getLog().error(message).sendInternalLogToServer();\n                var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.ENROLL_SPEAKER_FAILED, message, data.Session.EnrollmentRequestDetails.Status);\n                reject(error);\n            }\n          })[\"catch\"](function (err) {\n            connect.getLog().error(\"[VoiceId] describeSession failed while polling enrollment status\").withObject({\n              err: err\n            }).sendInternalLogToServer();\n            reject(err);\n          });\n        } else {\n          connect.getLog().error(\"enrollSpeaker timeout\").sendInternalLogToServer();\n          var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.ENROLL_SPEAKER_TIMEOUT, \"enrollSpeaker timeout\");\n          reject(error);\n        }\n      }\n      describe();\n    });\n  };\n  VoiceId.prototype.enrollSpeaker = function (callbackOnAudioCollectionComplete) {\n    connect.getLog().info(\"enrollSpeaker called\").sendInternalLogToServer();\n    var self = this;\n    self.checkConferenceCall();\n    return new Promise(function (resolve, reject) {\n      self.syncSpeakerId().then(function () {\n        self.getSpeakerStatus().then(function (data) {\n          if (data.Speaker && data.Speaker.Status == connect.VoiceIdSpeakerStatus.OPTED_OUT) {\n            self.deleteSpeaker().then(function () {\n              self.enrollSpeakerHelper(resolve, reject, callbackOnAudioCollectionComplete);\n            })[\"catch\"](function (err) {\n              reject(err);\n            });\n          } else {\n            self.enrollSpeakerHelper(resolve, reject, callbackOnAudioCollectionComplete);\n          }\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.enrollSpeakerHelper = function (resolve, reject, callbackOnAudioCollectionComplete) {\n    var self = this;\n    var client = connect.core.getClient();\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    self.getDomainId().then(function (domainId) {\n      var params = {\n        \"SessionNameOrId\": contactData.initialContactId || this.contactId,\n        \"DomainId\": domainId\n      };\n      connect.getLog().info(\"enrollSpeakerHelper called\").withObject(params).sendInternalLogToServer();\n      client.call(connect.AgentAppClientMethods.ENROLL_BY_SESSION, params, {\n        success: function success(data) {\n          if (data.Status === connect.VoiceIdEnrollmentRequestStatus.COMPLETED) {\n            connect.getLog().info(\"enrollSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n            resolve(data);\n          } else {\n            self.checkEnrollmentStatus(callbackOnAudioCollectionComplete).then(function (data) {\n              connect.getLog().info(\"enrollSpeaker succeeded\").withObject(data).sendInternalLogToServer();\n              resolve(data);\n            })[\"catch\"](function (err) {\n              reject(err);\n            });\n          }\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"enrollSpeaker failed\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.ENROLL_SPEAKER_FAILED, \"enrollSpeaker failed\", err);\n          reject(error);\n        }\n      });\n    })[\"catch\"](function (err) {\n      reject(err);\n    });\n  };\n\n  // internal only\n  VoiceId.prototype._updateSpeakerIdInLcms = function (speakerId, generatedSpeakerId) {\n    var self = this;\n    var client = connect.core.getClient();\n    return new Promise(function (resolve, reject) {\n      var params = {\n        \"ContactId\": self.contactId,\n        \"InstanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n        \"AWSAccountId\": connect.core.getAgentDataProvider().getAWSAccountId(),\n        \"CustomerId\": connect.assertNotNull(speakerId, 'speakerId'),\n        \"VoiceIdResult\": {\n          \"generatedSpeakerId\": generatedSpeakerId\n        }\n      };\n      connect.getLog().info(\"_updateSpeakerIdInLcms called\").withObject(params).sendInternalLogToServer();\n      client.call(connect.AgentAppClientMethods.UPDATE_VOICE_ID_DATA, params, {\n        success: function success(data) {\n          connect.getLog().info(\"updateSpeakerIdInLcms succeeded\").withObject(data).sendInternalLogToServer();\n          resolve(data);\n        },\n        failure: function failure(err) {\n          connect.getLog().error(\"updateSpeakerIdInLcms failed\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n          var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.UPDATE_SPEAKER_ID_IN_LCMS_FAILED, \"updateSpeakerIdInLcms failed\", err);\n          reject(error);\n        }\n      });\n    });\n  };\n  VoiceId.prototype.updateSpeakerIdInVoiceId = function (speakerId) {\n    var self = this;\n    self.checkConferenceCall();\n    var client = connect.core.getClient();\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    return new Promise(function (resolve, reject) {\n      self.getDomainId().then(function (domainId) {\n        var params = {\n          \"SessionNameOrId\": contactData.initialContactId || this.contactId,\n          \"SpeakerId\": connect.assertNotNull(speakerId, 'speakerId'),\n          \"DomainId\": domainId\n        };\n        connect.getLog().info(\"updateSpeakerIdInVoiceId called\").withObject(params).sendInternalLogToServer();\n        client.call(connect.AgentAppClientMethods.UPDATE_SESSION, params, {\n          success: function success(data) {\n            connect.getLog().info(\"updateSpeakerIdInVoiceId succeeded\").withObject(data).sendInternalLogToServer();\n            var generatedSpeakerId = data && data.Session && data.Session.GeneratedSpeakerId;\n            self._updateSpeakerIdInLcms(speakerId, generatedSpeakerId).then(function () {\n              resolve(data);\n            })[\"catch\"](function (err) {\n              reject(err);\n            });\n          },\n          failure: function failure(err) {\n            var error;\n            var parsedErr = JSON.parse(err);\n            switch (parsedErr.status) {\n              case 400:\n              case 404:\n                error = connect.VoiceIdError(connect.VoiceIdErrorTypes.SESSION_NOT_EXISTS, \"updateSpeakerIdInVoiceId failed, session not exists\", err);\n                connect.getLog().error(\"updateSpeakerIdInVoiceId failed, session not exists\").withObject({\n                  err: err\n                }).sendInternalLogToServer();\n                break;\n              default:\n                error = connect.VoiceIdError(connect.VoiceIdErrorTypes.UPDATE_SPEAKER_ID_FAILED, \"updateSpeakerIdInVoiceId failed\", err);\n                connect.getLog().error(\"updateSpeakerIdInVoiceId failed\").withObject({\n                  err: err\n                }).sendInternalLogToServer();\n            }\n            reject(error);\n          }\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.syncSpeakerId = function () {\n    connect.getLog().info(\"syncSpeakerId called\").sendInternalLogToServer();\n    var self = this;\n    return new Promise(function (resolve, reject) {\n      self.getSpeakerId().then(function (data) {\n        self.updateSpeakerIdInVoiceId(data.speakerId).then(function (data) {\n          resolve(data);\n        })[\"catch\"](function (err) {\n          reject(err);\n        });\n      })[\"catch\"](function (err) {\n        reject(err);\n      });\n    });\n  };\n  VoiceId.prototype.getDomainId = function () {\n    return new Promise(function (resolve, reject) {\n      var agent = new connect.Agent();\n      if (!agent.getPermissions().includes(connect.AgentPermissions.VOICE_ID)) {\n        reject(new Error(\"Agent doesn't have the permission for Voice ID\"));\n      } else if (connect.core.voiceIdDomainId) {\n        resolve(connect.core.voiceIdDomainId);\n      } else {\n        var client = connect.core.getClient();\n        var params = {\n          \"InstanceId\": connect.core.getAgentDataProvider().getInstanceId(),\n          \"IntegrationType\": \"VOICE_ID\"\n        };\n        connect.getLog().info(\"getDomainId called\").withObject(params).sendInternalLogToServer();\n        client.call(connect.AgentAppClientMethods.LIST_INTEGRATION_ASSOCIATIONS, params, {\n          success: function success(data) {\n            try {\n              var domainId;\n              if (data.IntegrationAssociationSummaryList.length >= 1) {\n                var integrationArn = data.IntegrationAssociationSummaryList[0].IntegrationArn;\n                domainId = integrationArn.replace(/^.*domain\\//i, '');\n              }\n              if (!domainId) {\n                connect.getLog().info(\"getDomainId: no domainId found\").sendInternalLogToServer();\n                var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.NO_DOMAIN_ID_FOUND);\n                reject(error);\n                return;\n              }\n              connect.getLog().info(\"getDomainId succeeded\").withObject(data).sendInternalLogToServer();\n              connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n                event: connect.VoiceIdEvents.UPDATE_DOMAIN_ID,\n                data: {\n                  domainId: domainId\n                }\n              });\n              resolve(domainId);\n            } catch (err) {\n              connect.getLog().error(\"getDomainId failed\").withObject({\n                err: err\n              }).sendInternalLogToServer();\n              var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.GET_DOMAIN_ID_FAILED, \"getDomainId failed\", err);\n              reject(error);\n            }\n          },\n          failure: function failure(err) {\n            connect.getLog().error(\"getDomainId failed\").withObject({\n              err: err\n            }).sendInternalLogToServer();\n            var error = connect.VoiceIdError(connect.VoiceIdErrorTypes.GET_DOMAIN_ID_FAILED, \"getDomainId failed\", err);\n            reject(error);\n          }\n        });\n      }\n    });\n  };\n  VoiceId.prototype.checkConferenceCall = function () {\n    var self = this;\n    var isConferenceCall = connect.core.getAgentDataProvider().getContactData(self.contactId).connections.filter(function (conn) {\n      return connect.contains(connect.CONNECTION_ACTIVE_STATES, conn.state.type);\n    }).length > 2;\n    if (isConferenceCall) {\n      throw new connect.NotImplementedError(\"VoiceId is not supported for conference calls\");\n    }\n  };\n  VoiceId.prototype.isAuthEnabled = function (authResult) {\n    return authResult !== connect.ContactFlowAuthenticationDecision.NOT_ENABLED;\n  };\n  VoiceId.prototype.isAuthResultNotEnoughSpeech = function (authResult) {\n    return authResult === connect.VoiceIdAuthenticationDecision.NOT_ENOUGH_SPEECH;\n  };\n  VoiceId.prototype.isAuthResultInconclusive = function (authResult) {\n    return authResult === connect.ContactFlowAuthenticationDecision.INCONCLUSIVE;\n  };\n  VoiceId.prototype.isFraudEnabled = function (fraudResult) {\n    return fraudResult !== connect.ContactFlowFraudDetectionDecision.NOT_ENABLED;\n  };\n  VoiceId.prototype.isFraudResultNotEnoughSpeech = function (fraudResult) {\n    return fraudResult === connect.VoiceIdFraudDetectionDecision.NOT_ENOUGH_SPEECH;\n  };\n  VoiceId.prototype.isFraudResultInconclusive = function (fraudResult) {\n    return fraudResult === connect.ContactFlowFraudDetectionDecision.INCONCLUSIVE;\n  };\n\n  /**\n   * @class VoiceConnection\n   * @param {number} contactId\n   * @param {number} connectionId\n   * @description - Provides voice media specific operations\n   */\n  var VoiceConnection = function VoiceConnection(contactId, connectionId) {\n    this._speakerAuthenticator = new VoiceId(contactId);\n    Connection.call(this, contactId, connectionId);\n  };\n  VoiceConnection.prototype = Object.create(Connection.prototype);\n  VoiceConnection.prototype.constructor = VoiceConnection;\n  VoiceConnection.prototype._getSDKClient = function () {\n    if (this.voiceClient) {\n      return this.voiceClient;\n    }\n    try {\n      var _connect$core11, _connect$core12, _connect$core13;\n      var providerData = {\n        providerId: (_connect$core11 = connect.core) === null || _connect$core11 === void 0 || (_connect$core11 = _connect$core11._amazonConnectProviderData) === null || _connect$core11 === void 0 || (_connect$core11 = _connect$core11.provider) === null || _connect$core11 === void 0 ? void 0 : _connect$core11.id,\n        config: (_connect$core12 = connect.core) === null || _connect$core12 === void 0 || (_connect$core12 = _connect$core12.amazonConnectProviderData) === null || _connect$core12 === void 0 || (_connect$core12 = _connect$core12.provider) === null || _connect$core12 === void 0 ? void 0 : _connect$core12.config,\n        isStreamsProvider: (_connect$core13 = connect.core) === null || _connect$core13 === void 0 || (_connect$core13 = _connect$core13._amazonConnectProviderData) === null || _connect$core13 === void 0 ? void 0 : _connect$core13.isStreamsProvider\n      };\n      connect.getLog().info('Initializing Voice SDK Client').withObject(providerData).sendInternalLogToServer();\n      this.voiceClient = new VoiceClient(connect.core.getSDKClientConfig());\n      return this.voiceClient;\n    } catch (e) {\n      var _connect$core14, _connect$core15, _connect$core16;\n      var errorData = {\n        providerId: (_connect$core14 = connect.core) === null || _connect$core14 === void 0 || (_connect$core14 = _connect$core14._amazonConnectProviderData) === null || _connect$core14 === void 0 || (_connect$core14 = _connect$core14.provider) === null || _connect$core14 === void 0 ? void 0 : _connect$core14.id,\n        config: (_connect$core15 = connect.core) === null || _connect$core15 === void 0 || (_connect$core15 = _connect$core15._amazonConnectProviderData) === null || _connect$core15 === void 0 || (_connect$core15 = _connect$core15.provider) === null || _connect$core15 === void 0 ? void 0 : _connect$core15.config,\n        isStreamsProvider: (_connect$core16 = connect.core) === null || _connect$core16 === void 0 || (_connect$core16 = _connect$core16._amazonConnectProviderData) === null || _connect$core16 === void 0 ? void 0 : _connect$core16.isStreamsProvider,\n        error: e\n      };\n      connect.getLog().error('Failed to initialize Voice SDK clients').withObject(errorData).sendInternalLogToServer();\n    }\n  };\n  VoiceConnection.prototype.onParticipantHold = function (f) {\n    var _this2 = this;\n    var handler = function handler(e) {\n      f(e);\n      return Promise.resolve();\n    };\n    this._getSDKClient().onParticipantHold(handler, this.getConnectionId());\n    return {\n      unsubscribe: function unsubscribe() {\n        return _this2._getSDKClient().offParticipantHold(handler, _this2.getConnectionId());\n      }\n    };\n  };\n  VoiceConnection.prototype.onParticipantResume = function (f) {\n    var _this3 = this;\n    var handler = function handler(e) {\n      f(e);\n      return Promise.resolve();\n    };\n    this._getSDKClient().onParticipantResume(handler, this.getConnectionId());\n    return {\n      unsubscribe: function unsubscribe() {\n        return _this3._getSDKClient().offParticipantResume(handler, _this3.getConnectionId());\n      }\n    };\n  };\n\n  /**\n   * @returns {Promise<boolean>} A promise that resolves to a boolean that indicates whether participant can be resumed\n   */\n  VoiceConnection.prototype.canResumeParticipant = function () {\n    var voiceClient = this._getSDKClient();\n    return voiceClient.canResumeParticipant(this.getConnectionId());\n  };\n  VoiceConnection.prototype.onCanResumeParticipantUpdated = function (f) {\n    var _this4 = this;\n    var handler = function handler(e) {\n      f(e);\n      return Promise.resolve();\n    };\n    this._getSDKClient().onCanResumeParticipantChanged(handler, this.getConnectionId());\n    return {\n      unsubscribe: function unsubscribe() {\n        return _this4._getSDKClient().offCanResumeParticipantChanged(handler, _this4.getConnectionId());\n      }\n    };\n  };\n\n  /**\n  * @deprecated\n  * Please use getMediaInfo\n  */\n  VoiceConnection.prototype.getSoftphoneMediaInfo = function () {\n    return this._getData().softphoneMediaInfo;\n  };\n  VoiceConnection.prototype.getMediaInfo = function () {\n    return this._getData().softphoneMediaInfo;\n  };\n  VoiceConnection.prototype.getMediaType = function () {\n    return connect.MediaType.SOFTPHONE;\n  };\n  VoiceConnection.prototype.getMediaController = function () {\n    return connect.core.mediaFactory.get(this);\n  };\n  VoiceConnection.prototype.getVoiceIdSpeakerId = function () {\n    return this._speakerAuthenticator.getSpeakerId();\n  };\n  VoiceConnection.prototype.getVoiceIdSpeakerStatus = function () {\n    return this._speakerAuthenticator.getSpeakerStatus();\n  };\n  VoiceConnection.prototype.optOutVoiceIdSpeaker = function () {\n    return this._speakerAuthenticator.optOutSpeaker();\n  };\n  VoiceConnection.prototype.deleteVoiceIdSpeaker = function () {\n    return this._speakerAuthenticator.deleteSpeaker();\n  };\n  VoiceConnection.prototype.evaluateSpeakerWithVoiceId = function (startNew) {\n    return this._speakerAuthenticator.evaluateSpeaker(startNew);\n  };\n  VoiceConnection.prototype.enrollSpeakerInVoiceId = function (callbackOnAudioCollectionComplete) {\n    return this._speakerAuthenticator.enrollSpeaker(callbackOnAudioCollectionComplete);\n  };\n  VoiceConnection.prototype.updateVoiceIdSpeakerId = function (speakerId) {\n    return this._speakerAuthenticator.updateSpeakerIdInVoiceId(speakerId);\n  };\n  VoiceConnection.prototype.getQuickConnectName = function () {\n    return this._getData().quickConnectName;\n  };\n  VoiceConnection.prototype.isSilentMonitor = function () {\n    return this.getMonitorStatus() === connect.MonitoringMode.SILENT_MONITOR;\n  };\n  VoiceConnection.prototype.isBarge = function () {\n    return this.getMonitorStatus() === connect.MonitoringMode.BARGE;\n  };\n  VoiceConnection.prototype.isBargeEnabled = function () {\n    var monitoringCapabilities = this.getMonitorCapabilities();\n    return monitoringCapabilities && monitoringCapabilities.includes(connect.MonitoringMode.BARGE);\n  };\n  VoiceConnection.prototype.isSilentMonitorEnabled = function () {\n    var monitoringCapabilities = this.getMonitorCapabilities();\n    return monitoringCapabilities && monitoringCapabilities.includes(connect.MonitoringMode.SILENT_MONITOR);\n  };\n  VoiceConnection.prototype.getMonitorCapabilities = function () {\n    return this._getData().monitorCapabilities;\n  };\n  VoiceConnection.prototype.getMonitorStatus = function () {\n    return this._getData().monitorStatus;\n  };\n  VoiceConnection.prototype.isMute = function () {\n    return this._getData().mute;\n  };\n  VoiceConnection.prototype.isForcedMute = function () {\n    return this._getData().forcedMute;\n  };\n  VoiceConnection.prototype.muteParticipant = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.MUTE_PARTICIPANT, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId()\n    }, callbacks);\n  };\n  VoiceConnection.prototype.unmuteParticipant = function (callbacks) {\n    var client = connect.core.getClient();\n    client.call(connect.ClientMethods.UNMUTE_PARTICIPANT, {\n      contactId: this.getContactId(),\n      connectionId: this.getConnectionId()\n    }, callbacks);\n  };\n  VoiceConnection.prototype.canSendVideo = function () {\n    var capabilities = this.getCapabilities();\n    return capabilities && capabilities.Video === connect.VideoCapability.SEND;\n  };\n  VoiceConnection.prototype.canSendScreenShare = function () {\n    var capabilities = this.getCapabilities();\n    return capabilities && capabilities.ScreenShare === connect.ScreenShareCapability.SEND;\n  };\n  VoiceConnection.prototype.getCapabilities = function () {\n    return this._getData().capabilities;\n  };\n  VoiceConnection.prototype.getVideoConnectionInfo = function () {\n    var client = connect.core.getClient();\n    var transportDetails = {\n      transportType: connect.TRANSPORT_TYPES.WEB_RTC,\n      contactId: this.contactId\n    };\n    return new Promise(function (resolve, reject) {\n      client.call(connect.ClientMethods.CREATE_TRANSPORT, transportDetails, {\n        success: function success(data) {\n          connect.getLog().info(\"getVideoConnectionInfo succeeded\").sendInternalLogToServer();\n          resolve(data.webRTCTransport);\n        },\n        failure: function failure(err, data) {\n          connect.getLog().error(\"getVideoConnectionInfo failed\").sendInternalLogToServer().withObject({\n            err: err,\n            data: data\n          });\n          reject(Error(\"getVideoConnectionInfo failed\"));\n        }\n      });\n    });\n  };\n\n  /**\n   * @class ChatConnection\n   * @param {*} contactId\n   * @param {*} connectionId\n   * @description adds the chat media specific functionality\n   */\n  var ChatConnection = function ChatConnection(contactId, connectionId) {\n    Connection.call(this, contactId, connectionId);\n  };\n  ChatConnection.prototype = Object.create(Connection.prototype);\n  ChatConnection.prototype.constructor = ChatConnection;\n  ChatConnection.prototype.getMediaInfo = function () {\n    var data = this._getData().chatMediaInfo;\n    if (!data) {\n      return null;\n    } else {\n      var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n      var initialContactId = contactData.initialContactId;\n      var mediaObject = {\n        contactId: this.contactId,\n        initialContactId: initialContactId || this.contactId,\n        participantId: this.connectionId,\n        getConnectionToken: connect.hitch(this, this.getConnectionToken)\n      };\n      if (data.connectionData) {\n        try {\n          mediaObject.participantToken = JSON.parse(data.connectionData).ConnectionAuthenticationToken;\n        } catch (e) {\n          connect.getLog().error(connect.LogComponent.CHAT, \"Connection data is invalid\").withObject(data).withException(e).sendInternalLogToServer();\n          mediaObject.participantToken = null;\n        }\n      }\n      mediaObject.participantToken = mediaObject.participantToken || null;\n      /** Just to keep the data accessible */\n      mediaObject.originalInfo = this._getData().chatMediaInfo;\n      return mediaObject;\n    }\n  };\n\n  /**\n  * Provides the chat connectionToken through the create_transport API for a specific contact and participant Id.\n  * @returns a promise which, upon success, returns the response from the createTransport API.\n  * Usage:\n  * connection.getConnectionToken()\n  *  .then(response => {})\n  *  .catch(error => {})\n  */\n  ChatConnection.prototype.getConnectionToken = function () {\n    var client = connect.core.getClient();\n    connect.core.getAgentDataProvider().getContactData(this.contactId);\n    var transportDetails = {\n      transportType: connect.TRANSPORT_TYPES.CHAT_TOKEN,\n      participantId: this.connectionId,\n      contactId: this.contactId\n    };\n    return new Promise(function (resolve, reject) {\n      client.call(connect.ClientMethods.CREATE_TRANSPORT, transportDetails, {\n        success: function success(data) {\n          connect.getLog().info(\"getConnectionToken succeeded\").sendInternalLogToServer();\n          resolve(data);\n        },\n        failure: function failure(err, data) {\n          connect.getLog().error(\"getConnectionToken failed\").sendInternalLogToServer().withObject({\n            err: err,\n            data: data\n          });\n          reject(Error(\"getConnectionToken failed\"));\n        }\n      });\n    });\n  };\n  ChatConnection.prototype.getMediaType = function () {\n    return connect.MediaType.CHAT;\n  };\n  ChatConnection.prototype.getMediaController = function () {\n    return connect.core.mediaFactory.get(this);\n  };\n  ChatConnection.prototype._initMediaController = function () {\n    // Note that a chat media controller only needs to be produced for agent type connections.\n    if (this._isAgentConnectionType()) {\n      connect.core.mediaFactory.get(this)[\"catch\"](function () {});\n    }\n  };\n  ChatConnection.prototype.isBargeEnabled = function () {\n    var monitoringCapabilities = this.getMonitorCapabilities();\n    return monitoringCapabilities && monitoringCapabilities.includes(connect.MonitoringMode.BARGE);\n  };\n  ChatConnection.prototype.isSilentMonitorEnabled = function () {\n    var monitoringCapabilities = this.getMonitorCapabilities();\n    return monitoringCapabilities && monitoringCapabilities.includes(connect.MonitoringMode.SILENT_MONITOR);\n  };\n  ChatConnection.prototype.getMonitorCapabilities = function () {\n    return this._getData().monitorCapabilities;\n  };\n  ChatConnection.prototype.isBarge = function () {\n    return this.getMonitorStatus() === connect.MonitoringMode.BARGE;\n  };\n  ChatConnection.prototype.isSilentMonitor = function () {\n    return this.getMonitorStatus() === connect.MonitoringMode.SILENT_MONITOR;\n  };\n  ChatConnection.prototype.getMonitorStatus = function () {\n    return this._getData().monitorStatus;\n  };\n  ChatConnection.prototype.getAuthenticationDetails = function () {\n    var _contactData$segmentA;\n    if (this._isAgentConnectionType()) {\n      //only to be used for ChatConnection\n      throw new Error(\"Authentication details are available only for customer connection\");\n    }\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    if (contactData !== null && contactData !== void 0 && (_contactData$segmentA = contactData.segmentAttributes) !== null && _contactData$segmentA !== void 0 && (_contactData$segmentA = _contactData$segmentA[\"connect:CustomerAuthentication\"]) !== null && _contactData$segmentA !== void 0 && _contactData$segmentA.ValueMap) {\n      var attributesMap = contactData.segmentAttributes[\"connect:CustomerAuthentication\"].ValueMap;\n      if (_typeof(attributesMap) === 'object' && attributesMap !== null) {\n        var returnVal = {};\n        for (var _i = 0, _Object$entries = Object.entries(attributesMap); _i < _Object$entries.length; _i++) {\n          var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n            key = _Object$entries$_i[0],\n            value = _Object$entries$_i[1];\n          if ((value === null || value === void 0 ? void 0 : value.ValueString) !== null) {\n            returnVal[key] = value.ValueString;\n          }\n        }\n        return returnVal;\n      }\n    }\n    return null;\n  };\n  ChatConnection.prototype.isAuthenticated = function () {\n    var authenticationDetails = this.getAuthenticationDetails();\n    return (authenticationDetails === null || authenticationDetails === void 0 ? void 0 : authenticationDetails.Status) === connect.CustomerAuthenticationStatus.AUTHENTICATED;\n  };\n\n  /**\n   * Returns the name associated with the connection\n   * @returns \n   */\n  ChatConnection.prototype.getParticipantName = function () {\n    if (this._isAgentConnectionType()) {\n      return new connect.Agent().getConfiguration().name;\n    } else if (this.isInitialConnection()) {\n      return this._getData().chatMediaInfo.customerName;\n    }\n    return this._getData().chatMediaInfo.agentName;\n  };\n\n  /**\n   * @class TaskConnection\n   * @param {*} contactId\n   * @param {*} connectionId\n   * @description adds the task media specific functionality\n   */\n  var TaskConnection = function TaskConnection(contactId, connectionId) {\n    Connection.call(this, contactId, connectionId);\n  };\n  TaskConnection.prototype = Object.create(Connection.prototype);\n  TaskConnection.prototype.constructor = TaskConnection;\n  TaskConnection.prototype.getMediaType = function () {\n    return connect.MediaType.TASK;\n  };\n  TaskConnection.prototype.getMediaInfo = function () {\n    var contactData = connect.core.getAgentDataProvider().getContactData(this.contactId);\n    var mediaObject = {\n      contactId: this.contactId,\n      initialContactId: contactData.initialContactId || this.contactId\n    };\n    return mediaObject;\n  };\n  TaskConnection.prototype.getMediaController = function () {\n    return connect.core.mediaFactory.get(this);\n  };\n\n  /**\n  * @class EmailConnection\n  * @param {*} contactId\n  * @param {*} connectionId\n  * @description adds Email specific functionality\n  */\n  var EmailConnection = function EmailConnection(contactId, connectionId) {\n    Connection.call(this, contactId, connectionId);\n  };\n  EmailConnection.prototype = Object.create(Connection.prototype);\n  EmailConnection.prototype.constructor = EmailConnection;\n  EmailConnection.prototype.getMediaType = function () {\n    return connect.MediaType.EMAIL;\n  };\n  EmailConnection.prototype._initMediaController = function () {};\n\n  /*----------------------------------------------------------------\n   * class ConnectionSnapshot\n   */\n  var ConnectionSnapshot = function ConnectionSnapshot(connectionData) {\n    connect.Connection.call(this, connectionData.contactId, connectionData.connectionId);\n    this.connectionData = connectionData;\n  };\n  ConnectionSnapshot.prototype = Object.create(Connection.prototype);\n  ConnectionSnapshot.prototype.constructor = ConnectionSnapshot;\n  ConnectionSnapshot.prototype._getData = function () {\n    return this.connectionData;\n  };\n  ConnectionSnapshot.prototype._initMediaController = function () {};\n  var Endpoint = function Endpoint(paramsIn) {\n    var params = paramsIn || {};\n    this.endpointARN = params.endpointId || params.endpointARN || null;\n    this.endpointId = this.endpointARN;\n    this.type = params.type || null;\n    this.name = params.name || null;\n    this.phoneNumber = params.phoneNumber || null;\n    this.agentLogin = params.agentLogin || null;\n    this.queue = params.queue || null;\n  };\n\n  /**\n   * Strip the SIP endpoint components from the phoneNumber field.\n   */\n  Endpoint.prototype.stripPhoneNumber = function () {\n    return this.phoneNumber ? this.phoneNumber.replace(/sip:([^@]*)@.*/, \"$1\") : \"\";\n  };\n\n  /**\n   * Create an Endpoint object from the given phone number and name.\n   */\n  Endpoint.byPhoneNumber = function (number, name) {\n    return new Endpoint({\n      type: connect.EndpointType.PHONE_NUMBER,\n      phoneNumber: number,\n      name: name || null\n    });\n  };\n\n  /**\n   * Session Expiration Warning Manager\n   */\n  var SessionExpirationWarningManager = /*#__PURE__*/function () {\n    function SessionExpirationWarningManager() {\n      _classCallCheck(this, SessionExpirationWarningManager);\n      this.sessionExpirationWarningClient = new SessionExpirationWarningClient(connect.core.getSDKClientConfig());\n    }\n    return _createClass(SessionExpirationWarningManager, [{\n      key: \"_getSDKClient\",\n      value: function _getSDKClient() {\n        if (this.sessionExpirationWarningClient) return this.sessionExpirationWarningClient;else {\n          this.sessionExpirationWarningClient = new SessionExpirationWarningClient(connect.core.getSDKClientConfig());\n          return this.sessionExpirationWarningClient;\n        }\n      }\n\n      // Triggered when the agent's session is about to expire due to inactivity\n    }, {\n      key: \"onExpirationWarning\",\n      value: function onExpirationWarning(f) {\n        var _this5 = this;\n        var handler = function handler(e) {\n          f(e);\n          return Promise.resolve();\n        };\n        this._getSDKClient().onExpirationWarning(handler);\n        return {\n          unsubscribe: function unsubscribe() {\n            return _this5._getSDKClient().offExpirationWarning(handler);\n          }\n        };\n      }\n\n      // Triggered when the warning has been cleared\n    }, {\n      key: \"onExpirationWarningCleared\",\n      value: function onExpirationWarningCleared(f) {\n        var _this6 = this;\n        var handler = function handler(e) {\n          f(e);\n          return Promise.resolve();\n        };\n        this._getSDKClient().onExpirationWarningCleared(handler);\n        return {\n          unsubscribe: function unsubscribe() {\n            return _this6._getSDKClient().offExpirationWarningCleared(handler);\n          }\n        };\n      }\n\n      /**\n       * Triggered when there is an error with updating the \n       * agent's activity\n       */\n    }, {\n      key: \"onSessionExtensionError\",\n      value: function onSessionExtensionError(f) {\n        var _this7 = this;\n        var handler = function handler(e) {\n          f(e);\n          return Promise.resolve();\n        };\n        this._getSDKClient().onSessionExtensionError(handler);\n        return {\n          unsubscribe: function unsubscribe() {\n            return _this7._getSDKClient().offSessionExtensionError(handler);\n          }\n        };\n      }\n    }]);\n  }(); // Sends activity signals indicating that the agent is active\n  connect.sendActivity = function () {\n    return sendActivity(connect.core.getSDKClientConfig().provider);\n  };\n\n  /*----------------------------------------------------------------\n   * class SoftphoneError\n   */\n  var SoftphoneError = function SoftphoneError(errorType, errorMessage, endPointUrl) {\n    this.errorType = errorType;\n    this.errorMessage = errorMessage;\n    this.endPointUrl = endPointUrl;\n  };\n  SoftphoneError.prototype.getErrorType = function () {\n    return this.errorType;\n  };\n  SoftphoneError.prototype.getErrorMessage = function () {\n    return this.errorMessage;\n  };\n  SoftphoneError.prototype.getEndPointUrl = function () {\n    return this.endPointUrl;\n  };\n\n  /*----------------------------------------------------------------\n   * Root Subscription APIs.\n   */\n  connect.agent = function (f) {\n    var bus = connect.core.getEventBus();\n    var sub = bus.subscribe(connect.AgentEvents.INIT, f);\n    if (connect.agent.initialized) {\n      f(new connect.Agent());\n    }\n    return sub;\n  };\n  connect.agent.initialized = false;\n  connect.contact = function (f) {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.ContactEvents.INIT, f);\n  };\n  connect.onWebsocketInitFailure = function (f) {\n    var bus = connect.core.getEventBus();\n    var sub = bus.subscribe(connect.WebSocketEvents.INIT_FAILURE, f);\n    if (connect.webSocketInitFailed) {\n      f();\n    }\n    return sub;\n  };\n\n  /**\n   * Starts the given function asynchronously only if the shared worker\n   * says we are the master for the given topic.  If there is no master for\n   * the given topic, we become the master and start the function unless\n   * shouldNotBecomeMasterIfNone is true.\n   *\n   * @param topic The master topic we are concerned about.\n   * @param f_true The callback to be invoked if we are the master.\n   * @param f_else [optional] A callback to be invoked if we are not the master.\n   * @param shouldNotBecomeMasterIfNone [optional] if true, this tab won't become master.\n   */\n  connect.ifMaster = function (topic, f_true, f_else, shouldNotBecomeMasterIfNone) {\n    connect.assertNotNull(topic, \"A topic must be provided.\");\n    connect.assertNotNull(f_true, \"A true callback must be provided.\");\n    if (!connect.core.masterClient) {\n      // We can't be the master because there is no master client!\n      connect.getLog().warn(\"We can't be the master for topic '%s' because there is no master client!\", topic).sendInternalLogToServer();\n      if (f_else) {\n        f_else();\n      }\n      return;\n    }\n    var masterClient = connect.core.getMasterClient();\n    masterClient.call(connect.MasterMethods.CHECK_MASTER, {\n      topic: topic,\n      shouldNotBecomeMasterIfNone: shouldNotBecomeMasterIfNone\n    }, {\n      success: function success(data) {\n        if (data.isMaster) {\n          f_true();\n        } else if (f_else) {\n          f_else();\n        }\n      }\n    });\n  };\n\n  /**\n   * Notify the shared worker and other CCP tabs that we are now the master for the given topic.\n   */\n  connect.becomeMaster = function (topic, successCallback, failureCallback) {\n    connect.assertNotNull(topic, \"A topic must be provided.\");\n    if (!connect.core.masterClient) {\n      // We can't be the master because there is no master client!\n      connect.getLog().warn(\"We can't be the master for topic '%s' because there is no master client!\", topic);\n      if (failureCallback) {\n        failureCallback();\n      }\n    } else {\n      var masterClient = connect.core.getMasterClient();\n      masterClient.call(connect.MasterMethods.BECOME_MASTER, {\n        topic: topic\n      }, {\n        success: function success() {\n          if (successCallback) {\n            successCallback();\n          }\n        }\n      });\n    }\n  };\n  connect.Agent = Agent;\n  connect.AgentSnapshot = AgentSnapshot;\n  connect.Contact = Contact;\n  connect.ContactSnapshot = ContactSnapshot;\n  /** Default will get the Voice connection */\n  connect.Connection = VoiceConnection;\n  connect.BaseConnection = Connection;\n  connect.VoiceConnection = VoiceConnection;\n  connect.ChatConnection = ChatConnection;\n  connect.TaskConnection = TaskConnection;\n  connect.EmailConnection = EmailConnection;\n  connect.ConnectionSnapshot = ConnectionSnapshot;\n  connect.Endpoint = Endpoint;\n  connect.Address = Endpoint;\n  connect.SoftphoneError = SoftphoneError;\n  connect.VoiceId = VoiceId;\n  connect.QuickResponses = QuickResponses;\n  connect.User = User;\n  connect.SessionExpirationWarningManager = SessionExpirationWarningManager;\n})();\n\n/***/ },\n\n/***/ 167\n(module, exports, __webpack_require__) {\n\nvar __WEBPACK_AMD_DEFINE_RESULT__;function _typeof(o){\"@babel/helpers - typeof\";return _typeof=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&\"function\"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?\"symbol\":typeof o;},_typeof(o);}// AWS SDK for JavaScript v2.1455.0\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt\n(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=undefined;if(!f&&c)return require(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a;}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r);},p,p.exports,r,e,n,t);}return n[i].exports;}for(var u=undefined,i=0;i<t.length;i++)o(t[i]);return o;}return r;})()({1:[function(require,module,exports){module.exports={\"version\":\"2.0\",\"metadata\":{\"apiVersion\":\"2014-06-30\",\"endpointPrefix\":\"cognito-identity\",\"jsonVersion\":\"1.1\",\"protocol\":\"json\",\"serviceFullName\":\"Amazon Cognito Identity\",\"serviceId\":\"Cognito Identity\",\"signatureVersion\":\"v4\",\"targetPrefix\":\"AWSCognitoIdentityService\",\"uid\":\"cognito-identity-2014-06-30\"},\"operations\":{\"CreateIdentityPool\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolName\",\"AllowUnauthenticatedIdentities\"],\"members\":{\"IdentityPoolName\":{},\"AllowUnauthenticatedIdentities\":{\"type\":\"boolean\"},\"AllowClassicFlow\":{\"type\":\"boolean\"},\"SupportedLoginProviders\":{\"shape\":\"S5\"},\"DeveloperProviderName\":{},\"OpenIdConnectProviderARNs\":{\"shape\":\"S9\"},\"CognitoIdentityProviders\":{\"shape\":\"Sb\"},\"SamlProviderARNs\":{\"shape\":\"Sg\"},\"IdentityPoolTags\":{\"shape\":\"Sh\"}}},\"output\":{\"shape\":\"Sk\"}},\"DeleteIdentities\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityIdsToDelete\"],\"members\":{\"IdentityIdsToDelete\":{\"type\":\"list\",\"member\":{}}}},\"output\":{\"type\":\"structure\",\"members\":{\"UnprocessedIdentityIds\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"ErrorCode\":{}}}}}}},\"DeleteIdentityPool\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\"],\"members\":{\"IdentityPoolId\":{}}}},\"DescribeIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityId\"],\"members\":{\"IdentityId\":{}}},\"output\":{\"shape\":\"Sv\"}},\"DescribeIdentityPool\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\"],\"members\":{\"IdentityPoolId\":{}}},\"output\":{\"shape\":\"Sk\"}},\"GetCredentialsForIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityId\"],\"members\":{\"IdentityId\":{},\"Logins\":{\"shape\":\"S10\"},\"CustomRoleArn\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"Credentials\":{\"type\":\"structure\",\"members\":{\"AccessKeyId\":{},\"SecretKey\":{},\"SessionToken\":{},\"Expiration\":{\"type\":\"timestamp\"}}}}},\"authtype\":\"none\"},\"GetId\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\"],\"members\":{\"AccountId\":{},\"IdentityPoolId\":{},\"Logins\":{\"shape\":\"S10\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{}}},\"authtype\":\"none\"},\"GetIdentityPoolRoles\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\"],\"members\":{\"IdentityPoolId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityPoolId\":{},\"Roles\":{\"shape\":\"S1c\"},\"RoleMappings\":{\"shape\":\"S1e\"}}}},\"GetOpenIdToken\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityId\"],\"members\":{\"IdentityId\":{},\"Logins\":{\"shape\":\"S10\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"Token\":{}}},\"authtype\":\"none\"},\"GetOpenIdTokenForDeveloperIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"Logins\"],\"members\":{\"IdentityPoolId\":{},\"IdentityId\":{},\"Logins\":{\"shape\":\"S10\"},\"PrincipalTags\":{\"shape\":\"S1s\"},\"TokenDuration\":{\"type\":\"long\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"Token\":{}}}},\"GetPrincipalTagAttributeMap\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"IdentityProviderName\"],\"members\":{\"IdentityPoolId\":{},\"IdentityProviderName\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityPoolId\":{},\"IdentityProviderName\":{},\"UseDefaults\":{\"type\":\"boolean\"},\"PrincipalTags\":{\"shape\":\"S1s\"}}}},\"ListIdentities\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"MaxResults\"],\"members\":{\"IdentityPoolId\":{},\"MaxResults\":{\"type\":\"integer\"},\"NextToken\":{},\"HideDisabled\":{\"type\":\"boolean\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityPoolId\":{},\"Identities\":{\"type\":\"list\",\"member\":{\"shape\":\"Sv\"}},\"NextToken\":{}}}},\"ListIdentityPools\":{\"input\":{\"type\":\"structure\",\"required\":[\"MaxResults\"],\"members\":{\"MaxResults\":{\"type\":\"integer\"},\"NextToken\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityPools\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"IdentityPoolId\":{},\"IdentityPoolName\":{}}}},\"NextToken\":{}}}},\"ListTagsForResource\":{\"input\":{\"type\":\"structure\",\"required\":[\"ResourceArn\"],\"members\":{\"ResourceArn\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"Tags\":{\"shape\":\"Sh\"}}}},\"LookupDeveloperIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\"],\"members\":{\"IdentityPoolId\":{},\"IdentityId\":{},\"DeveloperUserIdentifier\":{},\"MaxResults\":{\"type\":\"integer\"},\"NextToken\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"DeveloperUserIdentifierList\":{\"type\":\"list\",\"member\":{}},\"NextToken\":{}}}},\"MergeDeveloperIdentities\":{\"input\":{\"type\":\"structure\",\"required\":[\"SourceUserIdentifier\",\"DestinationUserIdentifier\",\"DeveloperProviderName\",\"IdentityPoolId\"],\"members\":{\"SourceUserIdentifier\":{},\"DestinationUserIdentifier\":{},\"DeveloperProviderName\":{},\"IdentityPoolId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{}}}},\"SetIdentityPoolRoles\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"Roles\"],\"members\":{\"IdentityPoolId\":{},\"Roles\":{\"shape\":\"S1c\"},\"RoleMappings\":{\"shape\":\"S1e\"}}}},\"SetPrincipalTagAttributeMap\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"IdentityProviderName\"],\"members\":{\"IdentityPoolId\":{},\"IdentityProviderName\":{},\"UseDefaults\":{\"type\":\"boolean\"},\"PrincipalTags\":{\"shape\":\"S1s\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"IdentityPoolId\":{},\"IdentityProviderName\":{},\"UseDefaults\":{\"type\":\"boolean\"},\"PrincipalTags\":{\"shape\":\"S1s\"}}}},\"TagResource\":{\"input\":{\"type\":\"structure\",\"required\":[\"ResourceArn\",\"Tags\"],\"members\":{\"ResourceArn\":{},\"Tags\":{\"shape\":\"Sh\"}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"UnlinkDeveloperIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityId\",\"IdentityPoolId\",\"DeveloperProviderName\",\"DeveloperUserIdentifier\"],\"members\":{\"IdentityId\":{},\"IdentityPoolId\":{},\"DeveloperProviderName\":{},\"DeveloperUserIdentifier\":{}}}},\"UnlinkIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"IdentityId\",\"Logins\",\"LoginsToRemove\"],\"members\":{\"IdentityId\":{},\"Logins\":{\"shape\":\"S10\"},\"LoginsToRemove\":{\"shape\":\"Sw\"}}},\"authtype\":\"none\"},\"UntagResource\":{\"input\":{\"type\":\"structure\",\"required\":[\"ResourceArn\",\"TagKeys\"],\"members\":{\"ResourceArn\":{},\"TagKeys\":{\"type\":\"list\",\"member\":{}}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"UpdateIdentityPool\":{\"input\":{\"shape\":\"Sk\"},\"output\":{\"shape\":\"Sk\"}}},\"shapes\":{\"S5\":{\"type\":\"map\",\"key\":{},\"value\":{}},\"S9\":{\"type\":\"list\",\"member\":{}},\"Sb\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"ProviderName\":{},\"ClientId\":{},\"ServerSideTokenCheck\":{\"type\":\"boolean\"}}}},\"Sg\":{\"type\":\"list\",\"member\":{}},\"Sh\":{\"type\":\"map\",\"key\":{},\"value\":{}},\"Sk\":{\"type\":\"structure\",\"required\":[\"IdentityPoolId\",\"IdentityPoolName\",\"AllowUnauthenticatedIdentities\"],\"members\":{\"IdentityPoolId\":{},\"IdentityPoolName\":{},\"AllowUnauthenticatedIdentities\":{\"type\":\"boolean\"},\"AllowClassicFlow\":{\"type\":\"boolean\"},\"SupportedLoginProviders\":{\"shape\":\"S5\"},\"DeveloperProviderName\":{},\"OpenIdConnectProviderARNs\":{\"shape\":\"S9\"},\"CognitoIdentityProviders\":{\"shape\":\"Sb\"},\"SamlProviderARNs\":{\"shape\":\"Sg\"},\"IdentityPoolTags\":{\"shape\":\"Sh\"}}},\"Sv\":{\"type\":\"structure\",\"members\":{\"IdentityId\":{},\"Logins\":{\"shape\":\"Sw\"},\"CreationDate\":{\"type\":\"timestamp\"},\"LastModifiedDate\":{\"type\":\"timestamp\"}}},\"Sw\":{\"type\":\"list\",\"member\":{}},\"S10\":{\"type\":\"map\",\"key\":{},\"value\":{}},\"S1c\":{\"type\":\"map\",\"key\":{},\"value\":{}},\"S1e\":{\"type\":\"map\",\"key\":{},\"value\":{\"type\":\"structure\",\"required\":[\"Type\"],\"members\":{\"Type\":{},\"AmbiguousRoleResolution\":{},\"RulesConfiguration\":{\"type\":\"structure\",\"required\":[\"Rules\"],\"members\":{\"Rules\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"required\":[\"Claim\",\"MatchType\",\"Value\",\"RoleARN\"],\"members\":{\"Claim\":{},\"MatchType\":{},\"Value\":{},\"RoleARN\":{}}}}}}}}},\"S1s\":{\"type\":\"map\",\"key\":{},\"value\":{}}}};},{}],2:[function(require,module,exports){module.exports={\"pagination\":{\"ListIdentityPools\":{\"input_token\":\"NextToken\",\"limit_key\":\"MaxResults\",\"output_token\":\"NextToken\",\"result_key\":\"IdentityPools\"}}};},{}],3:[function(require,module,exports){module.exports={\"version\":\"2.0\",\"metadata\":{\"apiVersion\":\"2017-02-15\",\"endpointPrefix\":\"connect\",\"jsonVersion\":\"1.0\",\"protocol\":\"json\",\"serviceAbbreviation\":\"Connect\",\"serviceFullName\":\"AmazonConnectCTIService\",\"signatureVersion\":\"\",\"targetPrefix\":\"AmazonConnectCTIService\",\"uid\":\"connect-2017-02-15\"},\"operations\":{\"AcceptContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"ClearContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\"],\"members\":{\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"CompleteContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\"],\"members\":{\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"ConferenceConnections\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"CreateAdditionalConnection\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"endpoint\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"endpoint\":{\"shape\":\"Se\"}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"CreateOutboundContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"endpoint\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"endpoint\":{\"shape\":\"Se\"},\"queueARN\":{},\"relatedContactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"CreateTaskContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"endpoint\",\"name\"],\"members\":{\"endpoint\":{\"shape\":\"Se\"},\"previousContactId\":{},\"name\":{},\"description\":{},\"references\":{\"shape\":\"St\"},\"idempotencyToken\":{},\"scheduledTime\":{\"type\":\"long\"},\"relatedContactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"contactId\":{}}}},\"CreateTransport\":{\"input\":{\"type\":\"structure\",\"required\":[\"transportType\",\"authentication\"],\"members\":{\"transportType\":{},\"participantId\":{},\"contactId\":{},\"softphoneClientId\":{},\"authentication\":{\"shape\":\"S2\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"webSocketTransport\":{\"type\":\"structure\",\"required\":[\"url\",\"transportLifeTimeInSeconds\"],\"members\":{\"url\":{},\"transportLifeTimeInSeconds\":{\"type\":\"long\"},\"expiry\":{}}},\"chatTokenTransport\":{\"type\":\"structure\",\"required\":[\"participantToken\",\"expiry\"],\"members\":{\"participantToken\":{},\"expiry\":{}}},\"softphoneTransport\":{\"type\":\"structure\",\"required\":[\"softphoneMediaConnections\"],\"members\":{\"softphoneMediaConnections\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"required\":[\"username\",\"credential\",\"urls\"],\"members\":{\"username\":{},\"credential\":{},\"urls\":{\"type\":\"list\",\"member\":{}}}}}}},\"agentDiscoveryTransport\":{\"type\":\"structure\",\"required\":[\"presignedUrl\"],\"members\":{\"presignedUrl\":{}}},\"webRTCTransport\":{\"type\":\"structure\",\"required\":[\"meeting\",\"attendee\"],\"members\":{\"meeting\":{\"type\":\"structure\",\"members\":{\"meetingId\":{},\"mediaRegion\":{},\"mediaPlacement\":{\"type\":\"structure\",\"members\":{\"audioHostUrl\":{},\"audioFallbackUrl\":{},\"signalingUrl\":{},\"turnControlUrl\":{},\"eventIngestionUrl\":{}}},\"meetingFeatures\":{\"type\":\"structure\",\"members\":{\"audio\":{\"type\":\"structure\",\"members\":{\"echoReduction\":{}}}}}}},\"attendee\":{\"type\":\"structure\",\"members\":{\"attendeeId\":{},\"joinToken\":{\"type\":\"string\",\"sensitive\":true}}}}}}}},\"DestroyConnection\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"GetAgentConfiguration\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\"],\"members\":{\"authentication\":{\"shape\":\"S2\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"configuration\"],\"members\":{\"configuration\":{\"shape\":\"S1v\"}}}},\"GetAgentPermissions\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"nextToken\":{},\"maxResults\":{\"type\":\"integer\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"permissions\"],\"members\":{\"permissions\":{\"type\":\"list\",\"member\":{}},\"nextToken\":{}}}},\"GetAgentSnapshot\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"nextToken\":{},\"timeout\":{\"type\":\"long\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"snapshot\",\"nextToken\"],\"members\":{\"snapshot\":{\"type\":\"structure\",\"required\":[\"state\",\"contacts\",\"snapshotTimestamp\"],\"members\":{\"state\":{\"shape\":\"S2e\"},\"nextState\":{\"shape\":\"S2e\"},\"agentAvailabilityState\":{\"type\":\"structure\",\"members\":{\"state\":{},\"timeStamp\":{\"type\":\"timestamp\"}}},\"contacts\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"required\":[\"contactId\",\"type\",\"state\",\"connections\",\"attributes\"],\"members\":{\"contactId\":{},\"initialContactId\":{},\"relatedContactId\":{},\"contactAssociationId\":{},\"type\":{},\"state\":{\"type\":\"structure\",\"required\":[\"type\",\"timestamp\"],\"members\":{\"type\":{},\"timestamp\":{\"type\":\"timestamp\"}}},\"queue\":{\"shape\":\"Sl\"},\"queueTimestamp\":{\"type\":\"timestamp\"},\"connections\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"required\":[\"connectionId\",\"state\",\"type\",\"initial\"],\"members\":{\"connectionId\":{},\"endpoint\":{\"shape\":\"Se\"},\"state\":{\"type\":\"structure\",\"required\":[\"type\",\"timestamp\"],\"members\":{\"type\":{},\"timestamp\":{\"type\":\"timestamp\"}}},\"type\":{},\"initial\":{\"type\":\"boolean\"},\"softphoneMediaInfo\":{\"type\":\"structure\",\"members\":{\"callType\":{},\"autoAccept\":{\"type\":\"boolean\"},\"mediaLegContextToken\":{},\"callContextToken\":{},\"callConfigJson\":{}}},\"chatMediaInfo\":{\"type\":\"structure\",\"members\":{\"chatAutoAccept\":{\"type\":\"boolean\"},\"connectionData\":{},\"customerName\":{}}},\"monitoringInfo\":{\"type\":\"structure\",\"members\":{\"agent\":{\"type\":\"structure\",\"members\":{\"agentName\":{}}},\"joinTimeStamp\":{\"type\":\"timestamp\"}}},\"mute\":{\"type\":\"boolean\"},\"forcedMute\":{\"type\":\"boolean\"},\"quickConnectName\":{},\"monitorCapabilities\":{\"type\":\"list\",\"member\":{}},\"monitorStatus\":{},\"capabilities\":{\"type\":\"structure\",\"members\":{\"Video\":{}}}}}},\"attributes\":{\"type\":\"map\",\"key\":{},\"value\":{\"type\":\"structure\",\"required\":[\"name\"],\"members\":{\"name\":{},\"value\":{}}}},\"contactDuration\":{},\"name\":{},\"description\":{},\"references\":{\"shape\":\"St\"},\"initiationMethod\":{},\"contactFeatures\":{\"type\":\"structure\",\"members\":{\"attachmentsEnabled\":{\"type\":\"boolean\"},\"messagingMarkdownEnabled\":{\"type\":\"boolean\"},\"multiPartyConferenceEnabled\":{\"type\":\"boolean\"},\"screenRecordingEnabled\":{\"type\":\"boolean\"},\"screenRecordingState\":{},\"screenRecordingConfig\":{\"type\":\"structure\",\"members\":{\"screenRecordingEnabled\":{\"type\":\"boolean\"},\"screenRecordingState\":{}}}}},\"channelContext\":{\"type\":\"structure\",\"members\":{\"scheduledTime\":{\"type\":\"long\"},\"taskTemplateId\":{},\"taskTemplateVersion\":{\"type\":\"integer\"}}},\"segmentAttributes\":{\"type\":\"map\",\"key\":{},\"value\":{\"type\":\"structure\",\"members\":{\"ValueString\":{}}}},\"customerEndpoint\":{\"shape\":\"Se\"},\"connectSystemEndpoint\":{\"shape\":\"Se\"},\"languageCode\":{},\"emailRecipients\":{\"type\":\"structure\",\"members\":{\"toList\":{\"type\":\"list\",\"member\":{\"shape\":\"S3i\"}},\"ccList\":{\"type\":\"list\",\"member\":{\"shape\":\"S3i\"}},\"fromRecipient\":{\"shape\":\"S3i\"}}}}}},\"snapshotTimestamp\":{\"type\":\"timestamp\"}}},\"nextToken\":{}}}},\"GetAgentStates\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"nextToken\":{},\"maxResults\":{\"type\":\"integer\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"states\"],\"members\":{\"states\":{\"type\":\"list\",\"member\":{\"shape\":\"S2e\"}},\"nextToken\":{}}}},\"GetDialableCountryCodes\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"nextToken\":{},\"maxResults\":{\"type\":\"integer\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"countryCodes\"],\"members\":{\"countryCodes\":{\"type\":\"list\",\"member\":{}},\"nextToken\":{}}}},\"GetEndpoints\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"queueARNs\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"queueARNs\":{\"type\":\"list\",\"member\":{}},\"nextToken\":{},\"maxResults\":{\"type\":\"integer\"}}},\"output\":{\"type\":\"structure\",\"members\":{\"endpoints\":{\"type\":\"list\",\"member\":{\"shape\":\"Se\"}},\"nextToken\":{}}}},\"GetNewAuthToken\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"refreshToken\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"refreshToken\":{}}},\"output\":{\"type\":\"structure\",\"members\":{\"newAuthToken\":{},\"expirationDateTime\":{\"type\":\"timestamp\"}}}},\"GetRoutingProfileQueues\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"routingProfileARN\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"routingProfileARN\":{},\"nextToken\":{},\"maxResults\":{\"type\":\"integer\"}}},\"output\":{\"type\":\"structure\",\"required\":[\"queues\"],\"members\":{\"queues\":{\"type\":\"list\",\"member\":{\"shape\":\"Sl\"}},\"nextToken\":{}}}},\"HoldConnection\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"MuteParticipant\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"NotifyContactIssue\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"issueCode\":{},\"description\":{},\"clientLogs\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"PauseContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\"],\"members\":{\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"PutAgentState\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"state\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"state\":{\"shape\":\"S2e\"},\"enqueueNextState\":{\"type\":\"boolean\"}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"RejectContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\"],\"members\":{\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"ResumeConnection\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"ResumeContact\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\"],\"members\":{\"contactId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"SendClientLogs\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"logEvents\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"logEvents\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"timestamp\":{\"type\":\"timestamp\"},\"component\":{},\"message\":{}}}}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"SendDigits\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\",\"digits\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{},\"digits\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"SendSoftphoneCallMetrics\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"softphoneStreamStatistics\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"ccpVersion\":{},\"softphoneStreamStatistics\":{\"shape\":\"S4p\"}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"SendSoftphoneCallReport\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"report\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"ccpVersion\":{},\"report\":{\"type\":\"structure\",\"members\":{\"callStartTime\":{\"type\":\"timestamp\"},\"callEndTime\":{\"type\":\"timestamp\"},\"softphoneStreamStatistics\":{\"shape\":\"S4p\"},\"gumTimeMillis\":{\"type\":\"long\"},\"initializationTimeMillis\":{\"type\":\"long\"},\"iceCollectionTimeMillis\":{\"type\":\"long\"},\"signallingConnectTimeMillis\":{\"type\":\"long\"},\"handshakeTimeMillis\":{\"type\":\"long\"},\"preTalkTimeMillis\":{\"type\":\"long\"},\"talkTimeMillis\":{\"type\":\"long\"},\"cleanupTimeMillis\":{\"type\":\"long\"},\"iceCollectionFailure\":{\"type\":\"boolean\"},\"signallingConnectionFailure\":{\"type\":\"boolean\"},\"handshakeFailure\":{\"type\":\"boolean\"},\"gumOtherFailure\":{\"type\":\"boolean\"},\"gumTimeoutFailure\":{\"type\":\"boolean\"},\"createOfferFailure\":{\"type\":\"boolean\"},\"setLocalDescriptionFailure\":{\"type\":\"boolean\"},\"userBusyFailure\":{\"type\":\"boolean\"},\"invalidRemoteSDPFailure\":{\"type\":\"boolean\"},\"noRemoteIceCandidateFailure\":{\"type\":\"boolean\"},\"setRemoteDescriptionFailure\":{\"type\":\"boolean\"}}}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"ToggleActiveConnections\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"UnmuteParticipant\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"contactId\",\"connectionId\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"contactId\":{},\"connectionId\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"UpdateAgentConfiguration\":{\"input\":{\"type\":\"structure\",\"required\":[\"authentication\",\"configuration\"],\"members\":{\"authentication\":{\"shape\":\"S2\"},\"configuration\":{\"shape\":\"S1v\"}}},\"output\":{\"type\":\"structure\",\"members\":{}}},\"UpdateMonitorParticipantState\":{\"input\":{\"type\":\"structure\",\"required\":[\"contactId\",\"targetMonitorMode\"],\"members\":{\"contactId\":{},\"targetMonitorMode\":{}}},\"output\":{\"type\":\"structure\",\"members\":{}}}},\"shapes\":{\"S2\":{\"type\":\"structure\",\"members\":{\"agentARN\":{},\"authToken\":{}}},\"Se\":{\"type\":\"structure\",\"required\":[\"type\"],\"members\":{\"endpointARN\":{},\"type\":{},\"name\":{},\"displayName\":{},\"phoneNumber\":{},\"agentLogin\":{},\"queue\":{\"shape\":\"Sl\"},\"emailAddress\":{}}},\"Sl\":{\"type\":\"structure\",\"members\":{\"queueARN\":{},\"name\":{}}},\"St\":{\"type\":\"map\",\"key\":{},\"value\":{\"type\":\"structure\",\"required\":[\"type\"],\"members\":{\"value\":{},\"type\":{},\"arn\":{},\"status\":{},\"statusReason\":{}}}},\"S1v\":{\"type\":\"structure\",\"required\":[\"name\",\"softphoneEnabled\",\"softphoneAutoAccept\",\"extension\",\"routingProfile\"],\"members\":{\"name\":{},\"username\":{},\"softphoneEnabled\":{\"type\":\"boolean\"},\"softphoneAutoAccept\":{\"type\":\"boolean\"},\"extension\":{},\"routingProfile\":{\"type\":\"structure\",\"members\":{\"name\":{},\"routingProfileARN\":{},\"defaultOutboundQueue\":{\"shape\":\"Sl\"},\"channelConcurrencyMap\":{\"type\":\"map\",\"key\":{},\"value\":{\"type\":\"long\"}}}},\"agentPreferences\":{\"type\":\"map\",\"key\":{},\"value\":{}},\"agentARN\":{}}},\"S2e\":{\"type\":\"structure\",\"required\":[\"type\",\"name\"],\"members\":{\"agentStateARN\":{},\"type\":{},\"name\":{},\"startTimestamp\":{\"type\":\"timestamp\"}}},\"S3i\":{\"type\":\"structure\",\"members\":{\"address\":{},\"displayName\":{}}},\"S4p\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"timestamp\":{\"type\":\"timestamp\"},\"softphoneStreamType\":{},\"packetCount\":{\"type\":\"long\"},\"packetsLost\":{\"type\":\"long\"},\"audioLevel\":{\"type\":\"double\"},\"jitterBufferMillis\":{\"type\":\"long\"},\"roundTripTimeMillis\":{\"type\":\"long\"}}}}}};},{}],4:[function(require,module,exports){module.exports={\"acm\":{\"name\":\"ACM\",\"cors\":true},\"apigateway\":{\"name\":\"APIGateway\",\"cors\":true},\"applicationautoscaling\":{\"prefix\":\"application-autoscaling\",\"name\":\"ApplicationAutoScaling\",\"cors\":true},\"appstream\":{\"name\":\"AppStream\"},\"autoscaling\":{\"name\":\"AutoScaling\",\"cors\":true},\"batch\":{\"name\":\"Batch\"},\"budgets\":{\"name\":\"Budgets\"},\"clouddirectory\":{\"name\":\"CloudDirectory\",\"versions\":[\"2016-05-10*\"]},\"cloudformation\":{\"name\":\"CloudFormation\",\"cors\":true},\"cloudfront\":{\"name\":\"CloudFront\",\"versions\":[\"2013-05-12*\",\"2013-11-11*\",\"2014-05-31*\",\"2014-10-21*\",\"2014-11-06*\",\"2015-04-17*\",\"2015-07-27*\",\"2015-09-17*\",\"2016-01-13*\",\"2016-01-28*\",\"2016-08-01*\",\"2016-08-20*\",\"2016-09-07*\",\"2016-09-29*\",\"2016-11-25*\",\"2017-03-25*\",\"2017-10-30*\",\"2018-06-18*\",\"2018-11-05*\",\"2019-03-26*\"],\"cors\":true},\"cloudhsm\":{\"name\":\"CloudHSM\",\"cors\":true},\"cloudsearch\":{\"name\":\"CloudSearch\"},\"cloudsearchdomain\":{\"name\":\"CloudSearchDomain\"},\"cloudtrail\":{\"name\":\"CloudTrail\",\"cors\":true},\"cloudwatch\":{\"prefix\":\"monitoring\",\"name\":\"CloudWatch\",\"cors\":true},\"cloudwatchevents\":{\"prefix\":\"events\",\"name\":\"CloudWatchEvents\",\"versions\":[\"2014-02-03*\"],\"cors\":true},\"cloudwatchlogs\":{\"prefix\":\"logs\",\"name\":\"CloudWatchLogs\",\"cors\":true},\"codebuild\":{\"name\":\"CodeBuild\",\"cors\":true},\"codecommit\":{\"name\":\"CodeCommit\",\"cors\":true},\"codedeploy\":{\"name\":\"CodeDeploy\",\"cors\":true},\"codepipeline\":{\"name\":\"CodePipeline\",\"cors\":true},\"cognitoidentity\":{\"prefix\":\"cognito-identity\",\"name\":\"CognitoIdentity\",\"cors\":true},\"cognitoidentityserviceprovider\":{\"prefix\":\"cognito-idp\",\"name\":\"CognitoIdentityServiceProvider\",\"cors\":true},\"cognitosync\":{\"prefix\":\"cognito-sync\",\"name\":\"CognitoSync\",\"cors\":true},\"configservice\":{\"prefix\":\"config\",\"name\":\"ConfigService\",\"cors\":true},\"cur\":{\"name\":\"CUR\",\"cors\":true},\"datapipeline\":{\"name\":\"DataPipeline\"},\"devicefarm\":{\"name\":\"DeviceFarm\",\"cors\":true},\"directconnect\":{\"name\":\"DirectConnect\",\"cors\":true},\"directoryservice\":{\"prefix\":\"ds\",\"name\":\"DirectoryService\"},\"discovery\":{\"name\":\"Discovery\"},\"dms\":{\"name\":\"DMS\"},\"dynamodb\":{\"name\":\"DynamoDB\",\"cors\":true},\"dynamodbstreams\":{\"prefix\":\"streams.dynamodb\",\"name\":\"DynamoDBStreams\",\"cors\":true},\"ec2\":{\"name\":\"EC2\",\"versions\":[\"2013-06-15*\",\"2013-10-15*\",\"2014-02-01*\",\"2014-05-01*\",\"2014-06-15*\",\"2014-09-01*\",\"2014-10-01*\",\"2015-03-01*\",\"2015-04-15*\",\"2015-10-01*\",\"2016-04-01*\",\"2016-09-15*\"],\"cors\":true},\"ecr\":{\"name\":\"ECR\",\"cors\":true},\"ecs\":{\"name\":\"ECS\",\"cors\":true},\"efs\":{\"prefix\":\"elasticfilesystem\",\"name\":\"EFS\",\"cors\":true},\"elasticache\":{\"name\":\"ElastiCache\",\"versions\":[\"2012-11-15*\",\"2014-03-24*\",\"2014-07-15*\",\"2014-09-30*\"],\"cors\":true},\"elasticbeanstalk\":{\"name\":\"ElasticBeanstalk\",\"cors\":true},\"elb\":{\"prefix\":\"elasticloadbalancing\",\"name\":\"ELB\",\"cors\":true},\"elbv2\":{\"prefix\":\"elasticloadbalancingv2\",\"name\":\"ELBv2\",\"cors\":true},\"emr\":{\"prefix\":\"elasticmapreduce\",\"name\":\"EMR\",\"cors\":true},\"es\":{\"name\":\"ES\"},\"elastictranscoder\":{\"name\":\"ElasticTranscoder\",\"cors\":true},\"firehose\":{\"name\":\"Firehose\",\"cors\":true},\"gamelift\":{\"name\":\"GameLift\",\"cors\":true},\"glacier\":{\"name\":\"Glacier\"},\"health\":{\"name\":\"Health\"},\"iam\":{\"name\":\"IAM\",\"cors\":true},\"importexport\":{\"name\":\"ImportExport\"},\"inspector\":{\"name\":\"Inspector\",\"versions\":[\"2015-08-18*\"],\"cors\":true},\"iot\":{\"name\":\"Iot\",\"cors\":true},\"iotdata\":{\"prefix\":\"iot-data\",\"name\":\"IotData\",\"cors\":true},\"kinesis\":{\"name\":\"Kinesis\",\"cors\":true},\"kinesisanalytics\":{\"name\":\"KinesisAnalytics\"},\"kms\":{\"name\":\"KMS\",\"cors\":true},\"lambda\":{\"name\":\"Lambda\",\"cors\":true},\"lexruntime\":{\"prefix\":\"runtime.lex\",\"name\":\"LexRuntime\",\"cors\":true},\"lightsail\":{\"name\":\"Lightsail\"},\"machinelearning\":{\"name\":\"MachineLearning\",\"cors\":true},\"marketplacecommerceanalytics\":{\"name\":\"MarketplaceCommerceAnalytics\",\"cors\":true},\"marketplacemetering\":{\"prefix\":\"meteringmarketplace\",\"name\":\"MarketplaceMetering\"},\"mturk\":{\"prefix\":\"mturk-requester\",\"name\":\"MTurk\",\"cors\":true},\"mobileanalytics\":{\"name\":\"MobileAnalytics\",\"cors\":true},\"opsworks\":{\"name\":\"OpsWorks\",\"cors\":true},\"opsworkscm\":{\"name\":\"OpsWorksCM\"},\"organizations\":{\"name\":\"Organizations\"},\"pinpoint\":{\"name\":\"Pinpoint\"},\"polly\":{\"name\":\"Polly\",\"cors\":true},\"rds\":{\"name\":\"RDS\",\"versions\":[\"2014-09-01*\"],\"cors\":true},\"redshift\":{\"name\":\"Redshift\",\"cors\":true},\"rekognition\":{\"name\":\"Rekognition\",\"cors\":true},\"resourcegroupstaggingapi\":{\"name\":\"ResourceGroupsTaggingAPI\"},\"route53\":{\"name\":\"Route53\",\"cors\":true},\"route53domains\":{\"name\":\"Route53Domains\",\"cors\":true},\"s3\":{\"name\":\"S3\",\"dualstackAvailable\":true,\"cors\":true},\"s3control\":{\"name\":\"S3Control\",\"dualstackAvailable\":true,\"xmlNoDefaultLists\":true},\"servicecatalog\":{\"name\":\"ServiceCatalog\",\"cors\":true},\"ses\":{\"prefix\":\"email\",\"name\":\"SES\",\"cors\":true},\"shield\":{\"name\":\"Shield\"},\"simpledb\":{\"prefix\":\"sdb\",\"name\":\"SimpleDB\"},\"sms\":{\"name\":\"SMS\"},\"snowball\":{\"name\":\"Snowball\"},\"sns\":{\"name\":\"SNS\",\"cors\":true},\"sqs\":{\"name\":\"SQS\",\"cors\":true},\"ssm\":{\"name\":\"SSM\",\"cors\":true},\"storagegateway\":{\"name\":\"StorageGateway\",\"cors\":true},\"stepfunctions\":{\"prefix\":\"states\",\"name\":\"StepFunctions\"},\"sts\":{\"name\":\"STS\",\"cors\":true},\"support\":{\"name\":\"Support\"},\"swf\":{\"name\":\"SWF\"},\"xray\":{\"name\":\"XRay\",\"cors\":true},\"waf\":{\"name\":\"WAF\",\"cors\":true},\"wafregional\":{\"prefix\":\"waf-regional\",\"name\":\"WAFRegional\"},\"workdocs\":{\"name\":\"WorkDocs\",\"cors\":true},\"workspaces\":{\"name\":\"WorkSpaces\"},\"codestar\":{\"name\":\"CodeStar\"},\"lexmodelbuildingservice\":{\"prefix\":\"lex-models\",\"name\":\"LexModelBuildingService\",\"cors\":true},\"marketplaceentitlementservice\":{\"prefix\":\"entitlement.marketplace\",\"name\":\"MarketplaceEntitlementService\"},\"athena\":{\"name\":\"Athena\",\"cors\":true},\"greengrass\":{\"name\":\"Greengrass\"},\"dax\":{\"name\":\"DAX\"},\"migrationhub\":{\"prefix\":\"AWSMigrationHub\",\"name\":\"MigrationHub\"},\"cloudhsmv2\":{\"name\":\"CloudHSMV2\",\"cors\":true},\"glue\":{\"name\":\"Glue\"},\"mobile\":{\"name\":\"Mobile\"},\"pricing\":{\"name\":\"Pricing\",\"cors\":true},\"costexplorer\":{\"prefix\":\"ce\",\"name\":\"CostExplorer\",\"cors\":true},\"mediaconvert\":{\"name\":\"MediaConvert\"},\"medialive\":{\"name\":\"MediaLive\"},\"mediapackage\":{\"name\":\"MediaPackage\"},\"mediastore\":{\"name\":\"MediaStore\"},\"mediastoredata\":{\"prefix\":\"mediastore-data\",\"name\":\"MediaStoreData\",\"cors\":true},\"appsync\":{\"name\":\"AppSync\"},\"guardduty\":{\"name\":\"GuardDuty\"},\"mq\":{\"name\":\"MQ\"},\"comprehend\":{\"name\":\"Comprehend\",\"cors\":true},\"iotjobsdataplane\":{\"prefix\":\"iot-jobs-data\",\"name\":\"IoTJobsDataPlane\"},\"kinesisvideoarchivedmedia\":{\"prefix\":\"kinesis-video-archived-media\",\"name\":\"KinesisVideoArchivedMedia\",\"cors\":true},\"kinesisvideomedia\":{\"prefix\":\"kinesis-video-media\",\"name\":\"KinesisVideoMedia\",\"cors\":true},\"kinesisvideo\":{\"name\":\"KinesisVideo\",\"cors\":true},\"sagemakerruntime\":{\"prefix\":\"runtime.sagemaker\",\"name\":\"SageMakerRuntime\"},\"sagemaker\":{\"name\":\"SageMaker\"},\"translate\":{\"name\":\"Translate\",\"cors\":true},\"resourcegroups\":{\"prefix\":\"resource-groups\",\"name\":\"ResourceGroups\",\"cors\":true},\"alexaforbusiness\":{\"name\":\"AlexaForBusiness\"},\"cloud9\":{\"name\":\"Cloud9\"},\"serverlessapplicationrepository\":{\"prefix\":\"serverlessrepo\",\"name\":\"ServerlessApplicationRepository\"},\"servicediscovery\":{\"name\":\"ServiceDiscovery\"},\"workmail\":{\"name\":\"WorkMail\"},\"autoscalingplans\":{\"prefix\":\"autoscaling-plans\",\"name\":\"AutoScalingPlans\"},\"transcribeservice\":{\"prefix\":\"transcribe\",\"name\":\"TranscribeService\"},\"connect\":{\"name\":\"Connect\",\"cors\":true},\"acmpca\":{\"prefix\":\"acm-pca\",\"name\":\"ACMPCA\"},\"fms\":{\"name\":\"FMS\"},\"secretsmanager\":{\"name\":\"SecretsManager\",\"cors\":true},\"iotanalytics\":{\"name\":\"IoTAnalytics\",\"cors\":true},\"iot1clickdevicesservice\":{\"prefix\":\"iot1click-devices\",\"name\":\"IoT1ClickDevicesService\"},\"iot1clickprojects\":{\"prefix\":\"iot1click-projects\",\"name\":\"IoT1ClickProjects\"},\"pi\":{\"name\":\"PI\"},\"neptune\":{\"name\":\"Neptune\"},\"mediatailor\":{\"name\":\"MediaTailor\"},\"eks\":{\"name\":\"EKS\"},\"dlm\":{\"name\":\"DLM\"},\"signer\":{\"name\":\"Signer\"},\"chime\":{\"name\":\"Chime\"},\"pinpointemail\":{\"prefix\":\"pinpoint-email\",\"name\":\"PinpointEmail\"},\"ram\":{\"name\":\"RAM\"},\"route53resolver\":{\"name\":\"Route53Resolver\"},\"pinpointsmsvoice\":{\"prefix\":\"sms-voice\",\"name\":\"PinpointSMSVoice\"},\"quicksight\":{\"name\":\"QuickSight\"},\"rdsdataservice\":{\"prefix\":\"rds-data\",\"name\":\"RDSDataService\"},\"amplify\":{\"name\":\"Amplify\"},\"datasync\":{\"name\":\"DataSync\"},\"robomaker\":{\"name\":\"RoboMaker\"},\"transfer\":{\"name\":\"Transfer\"},\"globalaccelerator\":{\"name\":\"GlobalAccelerator\"},\"comprehendmedical\":{\"name\":\"ComprehendMedical\",\"cors\":true},\"kinesisanalyticsv2\":{\"name\":\"KinesisAnalyticsV2\"},\"mediaconnect\":{\"name\":\"MediaConnect\"},\"fsx\":{\"name\":\"FSx\"},\"securityhub\":{\"name\":\"SecurityHub\"},\"appmesh\":{\"name\":\"AppMesh\",\"versions\":[\"2018-10-01*\"]},\"licensemanager\":{\"prefix\":\"license-manager\",\"name\":\"LicenseManager\"},\"kafka\":{\"name\":\"Kafka\"},\"apigatewaymanagementapi\":{\"name\":\"ApiGatewayManagementApi\"},\"apigatewayv2\":{\"name\":\"ApiGatewayV2\"},\"docdb\":{\"name\":\"DocDB\"},\"backup\":{\"name\":\"Backup\"},\"worklink\":{\"name\":\"WorkLink\"},\"textract\":{\"name\":\"Textract\"},\"managedblockchain\":{\"name\":\"ManagedBlockchain\"},\"mediapackagevod\":{\"prefix\":\"mediapackage-vod\",\"name\":\"MediaPackageVod\"},\"groundstation\":{\"name\":\"GroundStation\"},\"iotthingsgraph\":{\"name\":\"IoTThingsGraph\"},\"iotevents\":{\"name\":\"IoTEvents\"},\"ioteventsdata\":{\"prefix\":\"iotevents-data\",\"name\":\"IoTEventsData\"},\"personalize\":{\"name\":\"Personalize\",\"cors\":true},\"personalizeevents\":{\"prefix\":\"personalize-events\",\"name\":\"PersonalizeEvents\",\"cors\":true},\"personalizeruntime\":{\"prefix\":\"personalize-runtime\",\"name\":\"PersonalizeRuntime\",\"cors\":true},\"applicationinsights\":{\"prefix\":\"application-insights\",\"name\":\"ApplicationInsights\"},\"servicequotas\":{\"prefix\":\"service-quotas\",\"name\":\"ServiceQuotas\"},\"ec2instanceconnect\":{\"prefix\":\"ec2-instance-connect\",\"name\":\"EC2InstanceConnect\"},\"eventbridge\":{\"name\":\"EventBridge\"},\"lakeformation\":{\"name\":\"LakeFormation\"},\"forecastservice\":{\"prefix\":\"forecast\",\"name\":\"ForecastService\",\"cors\":true},\"forecastqueryservice\":{\"prefix\":\"forecastquery\",\"name\":\"ForecastQueryService\",\"cors\":true},\"qldb\":{\"name\":\"QLDB\"},\"qldbsession\":{\"prefix\":\"qldb-session\",\"name\":\"QLDBSession\"},\"workmailmessageflow\":{\"name\":\"WorkMailMessageFlow\"},\"codestarnotifications\":{\"prefix\":\"codestar-notifications\",\"name\":\"CodeStarNotifications\"},\"savingsplans\":{\"name\":\"SavingsPlans\"},\"sso\":{\"name\":\"SSO\"},\"ssooidc\":{\"prefix\":\"sso-oidc\",\"name\":\"SSOOIDC\"},\"marketplacecatalog\":{\"prefix\":\"marketplace-catalog\",\"name\":\"MarketplaceCatalog\",\"cors\":true},\"dataexchange\":{\"name\":\"DataExchange\"},\"sesv2\":{\"name\":\"SESV2\"},\"migrationhubconfig\":{\"prefix\":\"migrationhub-config\",\"name\":\"MigrationHubConfig\"},\"connectparticipant\":{\"name\":\"ConnectParticipant\"},\"appconfig\":{\"name\":\"AppConfig\"},\"iotsecuretunneling\":{\"name\":\"IoTSecureTunneling\"},\"wafv2\":{\"name\":\"WAFV2\"},\"elasticinference\":{\"prefix\":\"elastic-inference\",\"name\":\"ElasticInference\"},\"imagebuilder\":{\"name\":\"Imagebuilder\"},\"schemas\":{\"name\":\"Schemas\"},\"accessanalyzer\":{\"name\":\"AccessAnalyzer\"},\"codegurureviewer\":{\"prefix\":\"codeguru-reviewer\",\"name\":\"CodeGuruReviewer\"},\"codeguruprofiler\":{\"name\":\"CodeGuruProfiler\"},\"computeoptimizer\":{\"prefix\":\"compute-optimizer\",\"name\":\"ComputeOptimizer\"},\"frauddetector\":{\"name\":\"FraudDetector\"},\"kendra\":{\"name\":\"Kendra\"},\"networkmanager\":{\"name\":\"NetworkManager\"},\"outposts\":{\"name\":\"Outposts\"},\"augmentedairuntime\":{\"prefix\":\"sagemaker-a2i-runtime\",\"name\":\"AugmentedAIRuntime\"},\"ebs\":{\"name\":\"EBS\"},\"kinesisvideosignalingchannels\":{\"prefix\":\"kinesis-video-signaling\",\"name\":\"KinesisVideoSignalingChannels\",\"cors\":true},\"detective\":{\"name\":\"Detective\"},\"codestarconnections\":{\"prefix\":\"codestar-connections\",\"name\":\"CodeStarconnections\"},\"synthetics\":{\"name\":\"Synthetics\"},\"iotsitewise\":{\"name\":\"IoTSiteWise\"},\"macie2\":{\"name\":\"Macie2\"},\"codeartifact\":{\"name\":\"CodeArtifact\"},\"honeycode\":{\"name\":\"Honeycode\"},\"ivs\":{\"name\":\"IVS\"},\"braket\":{\"name\":\"Braket\"},\"identitystore\":{\"name\":\"IdentityStore\"},\"appflow\":{\"name\":\"Appflow\"},\"redshiftdata\":{\"prefix\":\"redshift-data\",\"name\":\"RedshiftData\"},\"ssoadmin\":{\"prefix\":\"sso-admin\",\"name\":\"SSOAdmin\"},\"timestreamquery\":{\"prefix\":\"timestream-query\",\"name\":\"TimestreamQuery\"},\"timestreamwrite\":{\"prefix\":\"timestream-write\",\"name\":\"TimestreamWrite\"},\"s3outposts\":{\"name\":\"S3Outposts\"},\"databrew\":{\"name\":\"DataBrew\"},\"servicecatalogappregistry\":{\"prefix\":\"servicecatalog-appregistry\",\"name\":\"ServiceCatalogAppRegistry\"},\"networkfirewall\":{\"prefix\":\"network-firewall\",\"name\":\"NetworkFirewall\"},\"mwaa\":{\"name\":\"MWAA\"},\"amplifybackend\":{\"name\":\"AmplifyBackend\"},\"appintegrations\":{\"name\":\"AppIntegrations\"},\"connectcontactlens\":{\"prefix\":\"connect-contact-lens\",\"name\":\"ConnectContactLens\"},\"devopsguru\":{\"prefix\":\"devops-guru\",\"name\":\"DevOpsGuru\"},\"ecrpublic\":{\"prefix\":\"ecr-public\",\"name\":\"ECRPUBLIC\"},\"lookoutvision\":{\"name\":\"LookoutVision\"},\"sagemakerfeaturestoreruntime\":{\"prefix\":\"sagemaker-featurestore-runtime\",\"name\":\"SageMakerFeatureStoreRuntime\"},\"customerprofiles\":{\"prefix\":\"customer-profiles\",\"name\":\"CustomerProfiles\"},\"auditmanager\":{\"name\":\"AuditManager\"},\"emrcontainers\":{\"prefix\":\"emr-containers\",\"name\":\"EMRcontainers\"},\"healthlake\":{\"name\":\"HealthLake\"},\"sagemakeredge\":{\"prefix\":\"sagemaker-edge\",\"name\":\"SagemakerEdge\"},\"amp\":{\"name\":\"Amp\",\"cors\":true},\"greengrassv2\":{\"name\":\"GreengrassV2\"},\"iotdeviceadvisor\":{\"name\":\"IotDeviceAdvisor\"},\"iotfleethub\":{\"name\":\"IoTFleetHub\"},\"iotwireless\":{\"name\":\"IoTWireless\"},\"location\":{\"name\":\"Location\",\"cors\":true},\"wellarchitected\":{\"name\":\"WellArchitected\"},\"lexmodelsv2\":{\"prefix\":\"models.lex.v2\",\"name\":\"LexModelsV2\"},\"lexruntimev2\":{\"prefix\":\"runtime.lex.v2\",\"name\":\"LexRuntimeV2\",\"cors\":true},\"fis\":{\"name\":\"Fis\"},\"lookoutmetrics\":{\"name\":\"LookoutMetrics\"},\"mgn\":{\"name\":\"Mgn\"},\"lookoutequipment\":{\"name\":\"LookoutEquipment\"},\"nimble\":{\"name\":\"Nimble\"},\"finspace\":{\"name\":\"Finspace\"},\"finspacedata\":{\"prefix\":\"finspace-data\",\"name\":\"Finspacedata\"},\"ssmcontacts\":{\"prefix\":\"ssm-contacts\",\"name\":\"SSMContacts\"},\"ssmincidents\":{\"prefix\":\"ssm-incidents\",\"name\":\"SSMIncidents\"},\"applicationcostprofiler\":{\"name\":\"ApplicationCostProfiler\"},\"apprunner\":{\"name\":\"AppRunner\"},\"proton\":{\"name\":\"Proton\"},\"route53recoverycluster\":{\"prefix\":\"route53-recovery-cluster\",\"name\":\"Route53RecoveryCluster\"},\"route53recoverycontrolconfig\":{\"prefix\":\"route53-recovery-control-config\",\"name\":\"Route53RecoveryControlConfig\"},\"route53recoveryreadiness\":{\"prefix\":\"route53-recovery-readiness\",\"name\":\"Route53RecoveryReadiness\"},\"chimesdkidentity\":{\"prefix\":\"chime-sdk-identity\",\"name\":\"ChimeSDKIdentity\"},\"chimesdkmessaging\":{\"prefix\":\"chime-sdk-messaging\",\"name\":\"ChimeSDKMessaging\"},\"snowdevicemanagement\":{\"prefix\":\"snow-device-management\",\"name\":\"SnowDeviceManagement\"},\"memorydb\":{\"name\":\"MemoryDB\"},\"opensearch\":{\"name\":\"OpenSearch\"},\"kafkaconnect\":{\"name\":\"KafkaConnect\"},\"voiceid\":{\"prefix\":\"voice-id\",\"name\":\"VoiceID\"},\"wisdom\":{\"name\":\"Wisdom\"},\"account\":{\"name\":\"Account\"},\"cloudcontrol\":{\"name\":\"CloudControl\"},\"grafana\":{\"name\":\"Grafana\"},\"panorama\":{\"name\":\"Panorama\"},\"chimesdkmeetings\":{\"prefix\":\"chime-sdk-meetings\",\"name\":\"ChimeSDKMeetings\"},\"resiliencehub\":{\"name\":\"Resiliencehub\"},\"migrationhubstrategy\":{\"name\":\"MigrationHubStrategy\"},\"appconfigdata\":{\"name\":\"AppConfigData\"},\"drs\":{\"name\":\"Drs\"},\"migrationhubrefactorspaces\":{\"prefix\":\"migration-hub-refactor-spaces\",\"name\":\"MigrationHubRefactorSpaces\"},\"evidently\":{\"name\":\"Evidently\"},\"inspector2\":{\"name\":\"Inspector2\"},\"rbin\":{\"name\":\"Rbin\"},\"rum\":{\"name\":\"RUM\"},\"backupgateway\":{\"prefix\":\"backup-gateway\",\"name\":\"BackupGateway\"},\"iottwinmaker\":{\"name\":\"IoTTwinMaker\"},\"workspacesweb\":{\"prefix\":\"workspaces-web\",\"name\":\"WorkSpacesWeb\"},\"amplifyuibuilder\":{\"name\":\"AmplifyUIBuilder\"},\"keyspaces\":{\"name\":\"Keyspaces\"},\"billingconductor\":{\"name\":\"Billingconductor\"},\"pinpointsmsvoicev2\":{\"prefix\":\"pinpoint-sms-voice-v2\",\"name\":\"PinpointSMSVoiceV2\"},\"ivschat\":{\"name\":\"Ivschat\"},\"chimesdkmediapipelines\":{\"prefix\":\"chime-sdk-media-pipelines\",\"name\":\"ChimeSDKMediaPipelines\"},\"emrserverless\":{\"prefix\":\"emr-serverless\",\"name\":\"EMRServerless\"},\"m2\":{\"name\":\"M2\"},\"connectcampaigns\":{\"name\":\"ConnectCampaigns\"},\"redshiftserverless\":{\"prefix\":\"redshift-serverless\",\"name\":\"RedshiftServerless\"},\"rolesanywhere\":{\"name\":\"RolesAnywhere\"},\"licensemanagerusersubscriptions\":{\"prefix\":\"license-manager-user-subscriptions\",\"name\":\"LicenseManagerUserSubscriptions\"},\"backupstorage\":{\"name\":\"BackupStorage\"},\"privatenetworks\":{\"name\":\"PrivateNetworks\"},\"supportapp\":{\"prefix\":\"support-app\",\"name\":\"SupportApp\"},\"controltower\":{\"name\":\"ControlTower\"},\"iotfleetwise\":{\"name\":\"IoTFleetWise\"},\"migrationhuborchestrator\":{\"name\":\"MigrationHubOrchestrator\"},\"connectcases\":{\"name\":\"ConnectCases\"},\"resourceexplorer2\":{\"prefix\":\"resource-explorer-2\",\"name\":\"ResourceExplorer2\"},\"scheduler\":{\"name\":\"Scheduler\"},\"chimesdkvoice\":{\"prefix\":\"chime-sdk-voice\",\"name\":\"ChimeSDKVoice\"},\"ssmsap\":{\"prefix\":\"ssm-sap\",\"name\":\"SsmSap\"},\"oam\":{\"name\":\"OAM\"},\"arczonalshift\":{\"prefix\":\"arc-zonal-shift\",\"name\":\"ARCZonalShift\"},\"omics\":{\"name\":\"Omics\"},\"opensearchserverless\":{\"name\":\"OpenSearchServerless\"},\"securitylake\":{\"name\":\"SecurityLake\"},\"simspaceweaver\":{\"name\":\"SimSpaceWeaver\"},\"docdbelastic\":{\"prefix\":\"docdb-elastic\",\"name\":\"DocDBElastic\"},\"sagemakergeospatial\":{\"prefix\":\"sagemaker-geospatial\",\"name\":\"SageMakerGeospatial\"},\"codecatalyst\":{\"name\":\"CodeCatalyst\"},\"pipes\":{\"name\":\"Pipes\"},\"sagemakermetrics\":{\"prefix\":\"sagemaker-metrics\",\"name\":\"SageMakerMetrics\"},\"kinesisvideowebrtcstorage\":{\"prefix\":\"kinesis-video-webrtc-storage\",\"name\":\"KinesisVideoWebRTCStorage\"},\"licensemanagerlinuxsubscriptions\":{\"prefix\":\"license-manager-linux-subscriptions\",\"name\":\"LicenseManagerLinuxSubscriptions\"},\"kendraranking\":{\"prefix\":\"kendra-ranking\",\"name\":\"KendraRanking\"},\"cleanrooms\":{\"name\":\"CleanRooms\"},\"cloudtraildata\":{\"prefix\":\"cloudtrail-data\",\"name\":\"CloudTrailData\"},\"tnb\":{\"name\":\"Tnb\"},\"internetmonitor\":{\"name\":\"InternetMonitor\"},\"ivsrealtime\":{\"prefix\":\"ivs-realtime\",\"name\":\"IVSRealTime\"},\"vpclattice\":{\"prefix\":\"vpc-lattice\",\"name\":\"VPCLattice\"},\"osis\":{\"name\":\"OSIS\"},\"mediapackagev2\":{\"name\":\"MediaPackageV2\"},\"paymentcryptography\":{\"prefix\":\"payment-cryptography\",\"name\":\"PaymentCryptography\"},\"paymentcryptographydata\":{\"prefix\":\"payment-cryptography-data\",\"name\":\"PaymentCryptographyData\"},\"codegurusecurity\":{\"prefix\":\"codeguru-security\",\"name\":\"CodeGuruSecurity\"},\"verifiedpermissions\":{\"name\":\"VerifiedPermissions\"},\"appfabric\":{\"name\":\"AppFabric\"},\"medicalimaging\":{\"prefix\":\"medical-imaging\",\"name\":\"MedicalImaging\"},\"entityresolution\":{\"name\":\"EntityResolution\"},\"managedblockchainquery\":{\"prefix\":\"managedblockchain-query\",\"name\":\"ManagedBlockchainQuery\"},\"neptunedata\":{\"name\":\"Neptunedata\"},\"pcaconnectorad\":{\"prefix\":\"pca-connector-ad\",\"name\":\"PcaConnectorAd\"},\"bedrock\":{\"name\":\"Bedrock\"},\"bedrockruntime\":{\"prefix\":\"bedrock-runtime\",\"name\":\"BedrockRuntime\"},\"datazone\":{\"name\":\"DataZone\"},\"launchwizard\":{\"prefix\":\"launch-wizard\",\"name\":\"LaunchWizard\"},\"trustedadvisor\":{\"name\":\"TrustedAdvisor\"},\"inspectorscan\":{\"prefix\":\"inspector-scan\",\"name\":\"InspectorScan\"},\"bcmdataexports\":{\"prefix\":\"bcm-data-exports\",\"name\":\"BCMDataExports\"},\"costoptimizationhub\":{\"prefix\":\"cost-optimization-hub\",\"name\":\"CostOptimizationHub\"},\"eksauth\":{\"prefix\":\"eks-auth\",\"name\":\"EKSAuth\"},\"freetier\":{\"name\":\"FreeTier\"},\"repostspace\":{\"name\":\"Repostspace\"},\"workspacesthinclient\":{\"prefix\":\"workspaces-thin-client\",\"name\":\"WorkSpacesThinClient\"},\"b2bi\":{\"name\":\"B2bi\"},\"bedrockagent\":{\"prefix\":\"bedrock-agent\",\"name\":\"BedrockAgent\"},\"bedrockagentruntime\":{\"prefix\":\"bedrock-agent-runtime\",\"name\":\"BedrockAgentRuntime\"},\"qbusiness\":{\"name\":\"QBusiness\"},\"qconnect\":{\"name\":\"QConnect\"},\"cleanroomsml\":{\"name\":\"CleanRoomsML\"},\"marketplaceagreement\":{\"prefix\":\"marketplace-agreement\",\"name\":\"MarketplaceAgreement\"},\"marketplacedeployment\":{\"prefix\":\"marketplace-deployment\",\"name\":\"MarketplaceDeployment\"},\"networkmonitor\":{\"name\":\"NetworkMonitor\"},\"supplychain\":{\"name\":\"SupplyChain\"},\"artifact\":{\"name\":\"Artifact\"},\"chatbot\":{\"name\":\"Chatbot\"},\"timestreaminfluxdb\":{\"prefix\":\"timestream-influxdb\",\"name\":\"TimestreamInfluxDB\"},\"codeconnections\":{\"name\":\"CodeConnections\"}};},{}],5:[function(require,module,exports){module.exports={\"version\":\"2.0\",\"metadata\":{\"apiVersion\":\"2011-06-15\",\"endpointPrefix\":\"sts\",\"globalEndpoint\":\"sts.amazonaws.com\",\"protocol\":\"query\",\"serviceAbbreviation\":\"AWS STS\",\"serviceFullName\":\"AWS Security Token Service\",\"serviceId\":\"STS\",\"signatureVersion\":\"v4\",\"uid\":\"sts-2011-06-15\",\"xmlNamespace\":\"https://sts.amazonaws.com/doc/2011-06-15/\"},\"operations\":{\"AssumeRole\":{\"input\":{\"type\":\"structure\",\"required\":[\"RoleArn\",\"RoleSessionName\"],\"members\":{\"RoleArn\":{},\"RoleSessionName\":{},\"PolicyArns\":{\"shape\":\"S4\"},\"Policy\":{},\"DurationSeconds\":{\"type\":\"integer\"},\"Tags\":{\"shape\":\"S8\"},\"TransitiveTagKeys\":{\"type\":\"list\",\"member\":{}},\"ExternalId\":{},\"SerialNumber\":{},\"TokenCode\":{},\"SourceIdentity\":{},\"ProvidedContexts\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"ProviderArn\":{},\"ContextAssertion\":{}}}}}},\"output\":{\"resultWrapper\":\"AssumeRoleResult\",\"type\":\"structure\",\"members\":{\"Credentials\":{\"shape\":\"Sl\"},\"AssumedRoleUser\":{\"shape\":\"Sq\"},\"PackedPolicySize\":{\"type\":\"integer\"},\"SourceIdentity\":{}}}},\"AssumeRoleWithSAML\":{\"input\":{\"type\":\"structure\",\"required\":[\"RoleArn\",\"PrincipalArn\",\"SAMLAssertion\"],\"members\":{\"RoleArn\":{},\"PrincipalArn\":{},\"SAMLAssertion\":{\"type\":\"string\",\"sensitive\":true},\"PolicyArns\":{\"shape\":\"S4\"},\"Policy\":{},\"DurationSeconds\":{\"type\":\"integer\"}}},\"output\":{\"resultWrapper\":\"AssumeRoleWithSAMLResult\",\"type\":\"structure\",\"members\":{\"Credentials\":{\"shape\":\"Sl\"},\"AssumedRoleUser\":{\"shape\":\"Sq\"},\"PackedPolicySize\":{\"type\":\"integer\"},\"Subject\":{},\"SubjectType\":{},\"Issuer\":{},\"Audience\":{},\"NameQualifier\":{},\"SourceIdentity\":{}}}},\"AssumeRoleWithWebIdentity\":{\"input\":{\"type\":\"structure\",\"required\":[\"RoleArn\",\"RoleSessionName\",\"WebIdentityToken\"],\"members\":{\"RoleArn\":{},\"RoleSessionName\":{},\"WebIdentityToken\":{\"type\":\"string\",\"sensitive\":true},\"ProviderId\":{},\"PolicyArns\":{\"shape\":\"S4\"},\"Policy\":{},\"DurationSeconds\":{\"type\":\"integer\"}}},\"output\":{\"resultWrapper\":\"AssumeRoleWithWebIdentityResult\",\"type\":\"structure\",\"members\":{\"Credentials\":{\"shape\":\"Sl\"},\"SubjectFromWebIdentityToken\":{},\"AssumedRoleUser\":{\"shape\":\"Sq\"},\"PackedPolicySize\":{\"type\":\"integer\"},\"Provider\":{},\"Audience\":{},\"SourceIdentity\":{}}}},\"DecodeAuthorizationMessage\":{\"input\":{\"type\":\"structure\",\"required\":[\"EncodedMessage\"],\"members\":{\"EncodedMessage\":{}}},\"output\":{\"resultWrapper\":\"DecodeAuthorizationMessageResult\",\"type\":\"structure\",\"members\":{\"DecodedMessage\":{}}}},\"GetAccessKeyInfo\":{\"input\":{\"type\":\"structure\",\"required\":[\"AccessKeyId\"],\"members\":{\"AccessKeyId\":{}}},\"output\":{\"resultWrapper\":\"GetAccessKeyInfoResult\",\"type\":\"structure\",\"members\":{\"Account\":{}}}},\"GetCallerIdentity\":{\"input\":{\"type\":\"structure\",\"members\":{}},\"output\":{\"resultWrapper\":\"GetCallerIdentityResult\",\"type\":\"structure\",\"members\":{\"UserId\":{},\"Account\":{},\"Arn\":{}}}},\"GetFederationToken\":{\"input\":{\"type\":\"structure\",\"required\":[\"Name\"],\"members\":{\"Name\":{},\"Policy\":{},\"PolicyArns\":{\"shape\":\"S4\"},\"DurationSeconds\":{\"type\":\"integer\"},\"Tags\":{\"shape\":\"S8\"}}},\"output\":{\"resultWrapper\":\"GetFederationTokenResult\",\"type\":\"structure\",\"members\":{\"Credentials\":{\"shape\":\"Sl\"},\"FederatedUser\":{\"type\":\"structure\",\"required\":[\"FederatedUserId\",\"Arn\"],\"members\":{\"FederatedUserId\":{},\"Arn\":{}}},\"PackedPolicySize\":{\"type\":\"integer\"}}}},\"GetSessionToken\":{\"input\":{\"type\":\"structure\",\"members\":{\"DurationSeconds\":{\"type\":\"integer\"},\"SerialNumber\":{},\"TokenCode\":{}}},\"output\":{\"resultWrapper\":\"GetSessionTokenResult\",\"type\":\"structure\",\"members\":{\"Credentials\":{\"shape\":\"Sl\"}}}}},\"shapes\":{\"S4\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"members\":{\"arn\":{}}}},\"S8\":{\"type\":\"list\",\"member\":{\"type\":\"structure\",\"required\":[\"Key\",\"Value\"],\"members\":{\"Key\":{},\"Value\":{}}}},\"Sl\":{\"type\":\"structure\",\"required\":[\"AccessKeyId\",\"SecretAccessKey\",\"SessionToken\",\"Expiration\"],\"members\":{\"AccessKeyId\":{},\"SecretAccessKey\":{\"type\":\"string\",\"sensitive\":true},\"SessionToken\":{},\"Expiration\":{\"type\":\"timestamp\"}}},\"Sq\":{\"type\":\"structure\",\"required\":[\"AssumedRoleId\",\"Arn\"],\"members\":{\"AssumedRoleId\":{},\"Arn\":{}}}}};},{}],6:[function(require,module,exports){module.exports={\"pagination\":{}};},{}],7:[function(require,module,exports){require('../lib/node_loader');var AWS=require('../lib/core');var Service=AWS.Service;var apiLoader=AWS.apiLoader;apiLoader.services['cognitoidentity']={};AWS.CognitoIdentity=Service.defineService('cognitoidentity',['2014-06-30']);Object.defineProperty(apiLoader.services['cognitoidentity'],'2014-06-30',{get:function get(){var model=require('../apis/cognito-identity-2014-06-30.min.json');model.paginators=require('../apis/cognito-identity-2014-06-30.paginators.json').pagination;return model;},enumerable:true,configurable:true});module.exports=AWS.CognitoIdentity;},{\"../apis/cognito-identity-2014-06-30.min.json\":1,\"../apis/cognito-identity-2014-06-30.paginators.json\":2,\"../lib/core\":19,\"../lib/node_loader\":16}],8:[function(require,module,exports){require('../lib/node_loader');var AWS=require('../lib/core');var Service=AWS.Service;var apiLoader=AWS.apiLoader;apiLoader.services['sts']={};AWS.STS=Service.defineService('sts',['2011-06-15']);require('../lib/services/sts');Object.defineProperty(apiLoader.services['sts'],'2011-06-15',{get:function get(){var model=require('../apis/sts-2011-06-15.min.json');model.paginators=require('../apis/sts-2011-06-15.paginators.json').pagination;return model;},enumerable:true,configurable:true});module.exports=AWS.STS;},{\"../apis/sts-2011-06-15.min.json\":5,\"../apis/sts-2011-06-15.paginators.json\":6,\"../lib/core\":19,\"../lib/node_loader\":16,\"../lib/services/sts\":63}],9:[function(require,module,exports){function apiLoader(svc,version){if(!apiLoader.services.hasOwnProperty(svc)){throw new Error('InvalidService: Failed to load api for '+svc);}return apiLoader.services[svc][version];}/**\n     * @api private\n     *\n     * This member of AWS.apiLoader is private, but changing it will necessitate a\n     * change to ../scripts/services-table-generator.ts\n     */apiLoader.services={};/**\n     * @api private\n     */module.exports=apiLoader;},{}],10:[function(require,module,exports){var Hmac=require('./browserHmac');var Md5=require('./browserMd5');var Sha1=require('./browserSha1');var Sha256=require('./browserSha256');/**\n     * @api private\n     */module.exports=exports={createHash:function createHash(alg){alg=alg.toLowerCase();if(alg==='md5'){return new Md5();}else if(alg==='sha256'){return new Sha256();}else if(alg==='sha1'){return new Sha1();}throw new Error('Hash algorithm '+alg+' is not supported in the browser SDK');},createHmac:function createHmac(alg,key){alg=alg.toLowerCase();if(alg==='md5'){return new Hmac(Md5,key);}else if(alg==='sha256'){return new Hmac(Sha256,key);}else if(alg==='sha1'){return new Hmac(Sha1,key);}throw new Error('HMAC algorithm '+alg+' is not supported in the browser SDK');},createSign:function createSign(){throw new Error('createSign is not implemented in the browser');}};},{\"./browserHmac\":12,\"./browserMd5\":13,\"./browserSha1\":14,\"./browserSha256\":15}],11:[function(require,module,exports){var Buffer=require('buffer/').Buffer;/**\n     * This is a polyfill for the static method `isView` of `ArrayBuffer`, which is\n     * e.g. missing in IE 10.\n     *\n     * @api private\n     */if(typeof ArrayBuffer!=='undefined'&&typeof ArrayBuffer.isView==='undefined'){ArrayBuffer.isView=function(arg){return viewStrings.indexOf(Object.prototype.toString.call(arg))>-1;};}/**\n     * @api private\n     */var viewStrings=['[object Int8Array]','[object Uint8Array]','[object Uint8ClampedArray]','[object Int16Array]','[object Uint16Array]','[object Int32Array]','[object Uint32Array]','[object Float32Array]','[object Float64Array]','[object DataView]'];/**\n     * @api private\n     */function isEmptyData(data){if(typeof data==='string'){return data.length===0;}return data.byteLength===0;}/**\n     * @api private\n     */function convertToBuffer(data){if(typeof data==='string'){data=new Buffer(data,'utf8');}if(ArrayBuffer.isView(data)){return new Uint8Array(data.buffer,data.byteOffset,data.byteLength/Uint8Array.BYTES_PER_ELEMENT);}return new Uint8Array(data);}/**\n     * @api private\n     */module.exports=exports={isEmptyData:isEmptyData,convertToBuffer:convertToBuffer};},{\"buffer/\":86}],12:[function(require,module,exports){var hashUtils=require('./browserHashUtils');/**\n     * @api private\n     */function Hmac(hashCtor,secret){this.hash=new hashCtor();this.outer=new hashCtor();var inner=bufferFromSecret(hashCtor,secret);var outer=new Uint8Array(hashCtor.BLOCK_SIZE);outer.set(inner);for(var i=0;i<hashCtor.BLOCK_SIZE;i++){inner[i]^=0x36;outer[i]^=0x5c;}this.hash.update(inner);this.outer.update(outer);// Zero out the copied key buffer.\nfor(var i=0;i<inner.byteLength;i++){inner[i]=0;}}/**\n     * @api private\n     */module.exports=exports=Hmac;Hmac.prototype.update=function(toHash){if(hashUtils.isEmptyData(toHash)||this.error){return this;}try{this.hash.update(hashUtils.convertToBuffer(toHash));}catch(e){this.error=e;}return this;};Hmac.prototype.digest=function(encoding){if(!this.outer.finished){this.outer.update(this.hash.digest());}return this.outer.digest(encoding);};function bufferFromSecret(hashCtor,secret){var input=hashUtils.convertToBuffer(secret);if(input.byteLength>hashCtor.BLOCK_SIZE){var bufferHash=new hashCtor();bufferHash.update(input);input=bufferHash.digest();}var buffer=new Uint8Array(hashCtor.BLOCK_SIZE);buffer.set(input);return buffer;}},{\"./browserHashUtils\":11}],13:[function(require,module,exports){var hashUtils=require('./browserHashUtils');var Buffer=require('buffer/').Buffer;var BLOCK_SIZE=64;var DIGEST_LENGTH=16;var INIT=[0x67452301,0xefcdab89,0x98badcfe,0x10325476];/**\n     * @api private\n     */function Md5(){this.state=[0x67452301,0xefcdab89,0x98badcfe,0x10325476];this.buffer=new DataView(new ArrayBuffer(BLOCK_SIZE));this.bufferLength=0;this.bytesHashed=0;this.finished=false;}/**\n     * @api private\n     */module.exports=exports=Md5;Md5.BLOCK_SIZE=BLOCK_SIZE;Md5.prototype.update=function(sourceData){if(hashUtils.isEmptyData(sourceData)){return this;}else if(this.finished){throw new Error('Attempted to update an already finished hash.');}var data=hashUtils.convertToBuffer(sourceData);var position=0;var byteLength=data.byteLength;this.bytesHashed+=byteLength;while(byteLength>0){this.buffer.setUint8(this.bufferLength++,data[position++]);byteLength--;if(this.bufferLength===BLOCK_SIZE){this.hashBuffer();this.bufferLength=0;}}return this;};Md5.prototype.digest=function(encoding){if(!this.finished){var _a=this,buffer=_a.buffer,undecoratedLength=_a.bufferLength,bytesHashed=_a.bytesHashed;var bitsHashed=bytesHashed*8;buffer.setUint8(this.bufferLength++,128);// Ensure the final block has enough room for the hashed length\nif(undecoratedLength%BLOCK_SIZE>=BLOCK_SIZE-8){for(var i=this.bufferLength;i<BLOCK_SIZE;i++){buffer.setUint8(i,0);}this.hashBuffer();this.bufferLength=0;}for(var i=this.bufferLength;i<BLOCK_SIZE-8;i++){buffer.setUint8(i,0);}buffer.setUint32(BLOCK_SIZE-8,bitsHashed>>>0,true);buffer.setUint32(BLOCK_SIZE-4,Math.floor(bitsHashed/0x100000000),true);this.hashBuffer();this.finished=true;}var out=new DataView(new ArrayBuffer(DIGEST_LENGTH));for(var i=0;i<4;i++){out.setUint32(i*4,this.state[i],true);}var buff=new Buffer(out.buffer,out.byteOffset,out.byteLength);return encoding?buff.toString(encoding):buff;};Md5.prototype.hashBuffer=function(){var _a=this,buffer=_a.buffer,state=_a.state;var a=state[0],b=state[1],c=state[2],d=state[3];a=ff(a,b,c,d,buffer.getUint32(0,true),7,0xd76aa478);d=ff(d,a,b,c,buffer.getUint32(4,true),12,0xe8c7b756);c=ff(c,d,a,b,buffer.getUint32(8,true),17,0x242070db);b=ff(b,c,d,a,buffer.getUint32(12,true),22,0xc1bdceee);a=ff(a,b,c,d,buffer.getUint32(16,true),7,0xf57c0faf);d=ff(d,a,b,c,buffer.getUint32(20,true),12,0x4787c62a);c=ff(c,d,a,b,buffer.getUint32(24,true),17,0xa8304613);b=ff(b,c,d,a,buffer.getUint32(28,true),22,0xfd469501);a=ff(a,b,c,d,buffer.getUint32(32,true),7,0x698098d8);d=ff(d,a,b,c,buffer.getUint32(36,true),12,0x8b44f7af);c=ff(c,d,a,b,buffer.getUint32(40,true),17,0xffff5bb1);b=ff(b,c,d,a,buffer.getUint32(44,true),22,0x895cd7be);a=ff(a,b,c,d,buffer.getUint32(48,true),7,0x6b901122);d=ff(d,a,b,c,buffer.getUint32(52,true),12,0xfd987193);c=ff(c,d,a,b,buffer.getUint32(56,true),17,0xa679438e);b=ff(b,c,d,a,buffer.getUint32(60,true),22,0x49b40821);a=gg(a,b,c,d,buffer.getUint32(4,true),5,0xf61e2562);d=gg(d,a,b,c,buffer.getUint32(24,true),9,0xc040b340);c=gg(c,d,a,b,buffer.getUint32(44,true),14,0x265e5a51);b=gg(b,c,d,a,buffer.getUint32(0,true),20,0xe9b6c7aa);a=gg(a,b,c,d,buffer.getUint32(20,true),5,0xd62f105d);d=gg(d,a,b,c,buffer.getUint32(40,true),9,0x02441453);c=gg(c,d,a,b,buffer.getUint32(60,true),14,0xd8a1e681);b=gg(b,c,d,a,buffer.getUint32(16,true),20,0xe7d3fbc8);a=gg(a,b,c,d,buffer.getUint32(36,true),5,0x21e1cde6);d=gg(d,a,b,c,buffer.getUint32(56,true),9,0xc33707d6);c=gg(c,d,a,b,buffer.getUint32(12,true),14,0xf4d50d87);b=gg(b,c,d,a,buffer.getUint32(32,true),20,0x455a14ed);a=gg(a,b,c,d,buffer.getUint32(52,true),5,0xa9e3e905);d=gg(d,a,b,c,buffer.getUint32(8,true),9,0xfcefa3f8);c=gg(c,d,a,b,buffer.getUint32(28,true),14,0x676f02d9);b=gg(b,c,d,a,buffer.getUint32(48,true),20,0x8d2a4c8a);a=hh(a,b,c,d,buffer.getUint32(20,true),4,0xfffa3942);d=hh(d,a,b,c,buffer.getUint32(32,true),11,0x8771f681);c=hh(c,d,a,b,buffer.getUint32(44,true),16,0x6d9d6122);b=hh(b,c,d,a,buffer.getUint32(56,true),23,0xfde5380c);a=hh(a,b,c,d,buffer.getUint32(4,true),4,0xa4beea44);d=hh(d,a,b,c,buffer.getUint32(16,true),11,0x4bdecfa9);c=hh(c,d,a,b,buffer.getUint32(28,true),16,0xf6bb4b60);b=hh(b,c,d,a,buffer.getUint32(40,true),23,0xbebfbc70);a=hh(a,b,c,d,buffer.getUint32(52,true),4,0x289b7ec6);d=hh(d,a,b,c,buffer.getUint32(0,true),11,0xeaa127fa);c=hh(c,d,a,b,buffer.getUint32(12,true),16,0xd4ef3085);b=hh(b,c,d,a,buffer.getUint32(24,true),23,0x04881d05);a=hh(a,b,c,d,buffer.getUint32(36,true),4,0xd9d4d039);d=hh(d,a,b,c,buffer.getUint32(48,true),11,0xe6db99e5);c=hh(c,d,a,b,buffer.getUint32(60,true),16,0x1fa27cf8);b=hh(b,c,d,a,buffer.getUint32(8,true),23,0xc4ac5665);a=ii(a,b,c,d,buffer.getUint32(0,true),6,0xf4292244);d=ii(d,a,b,c,buffer.getUint32(28,true),10,0x432aff97);c=ii(c,d,a,b,buffer.getUint32(56,true),15,0xab9423a7);b=ii(b,c,d,a,buffer.getUint32(20,true),21,0xfc93a039);a=ii(a,b,c,d,buffer.getUint32(48,true),6,0x655b59c3);d=ii(d,a,b,c,buffer.getUint32(12,true),10,0x8f0ccc92);c=ii(c,d,a,b,buffer.getUint32(40,true),15,0xffeff47d);b=ii(b,c,d,a,buffer.getUint32(4,true),21,0x85845dd1);a=ii(a,b,c,d,buffer.getUint32(32,true),6,0x6fa87e4f);d=ii(d,a,b,c,buffer.getUint32(60,true),10,0xfe2ce6e0);c=ii(c,d,a,b,buffer.getUint32(24,true),15,0xa3014314);b=ii(b,c,d,a,buffer.getUint32(52,true),21,0x4e0811a1);a=ii(a,b,c,d,buffer.getUint32(16,true),6,0xf7537e82);d=ii(d,a,b,c,buffer.getUint32(44,true),10,0xbd3af235);c=ii(c,d,a,b,buffer.getUint32(8,true),15,0x2ad7d2bb);b=ii(b,c,d,a,buffer.getUint32(36,true),21,0xeb86d391);state[0]=a+state[0]&0xFFFFFFFF;state[1]=b+state[1]&0xFFFFFFFF;state[2]=c+state[2]&0xFFFFFFFF;state[3]=d+state[3]&0xFFFFFFFF;};function cmn(q,a,b,x,s,t){a=(a+q&0xFFFFFFFF)+(x+t&0xFFFFFFFF)&0xFFFFFFFF;return(a<<s|a>>>32-s)+b&0xFFFFFFFF;}function ff(a,b,c,d,x,s,t){return cmn(b&c|~b&d,a,b,x,s,t);}function gg(a,b,c,d,x,s,t){return cmn(b&d|c&~d,a,b,x,s,t);}function hh(a,b,c,d,x,s,t){return cmn(b^c^d,a,b,x,s,t);}function ii(a,b,c,d,x,s,t){return cmn(c^(b|~d),a,b,x,s,t);}},{\"./browserHashUtils\":11,\"buffer/\":86}],14:[function(require,module,exports){var Buffer=require('buffer/').Buffer;var hashUtils=require('./browserHashUtils');var BLOCK_SIZE=64;var DIGEST_LENGTH=20;var KEY=new Uint32Array([0x5a827999,0x6ed9eba1,0x8f1bbcdc|0,0xca62c1d6|0]);var INIT=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19];var MAX_HASHABLE_LENGTH=Math.pow(2,53)-1;/**\n     * @api private\n     */function Sha1(){this.h0=0x67452301;this.h1=0xEFCDAB89;this.h2=0x98BADCFE;this.h3=0x10325476;this.h4=0xC3D2E1F0;// The first 64 bytes (16 words) is the data chunk\nthis.block=new Uint32Array(80);this.offset=0;this.shift=24;this.totalLength=0;}/**\n     * @api private\n     */module.exports=exports=Sha1;Sha1.BLOCK_SIZE=BLOCK_SIZE;Sha1.prototype.update=function(data){if(this.finished){throw new Error('Attempted to update an already finished hash.');}if(hashUtils.isEmptyData(data)){return this;}data=hashUtils.convertToBuffer(data);var length=data.length;this.totalLength+=length*8;for(var i=0;i<length;i++){this.write(data[i]);}return this;};Sha1.prototype.write=function write(_byte){this.block[this.offset]|=(_byte&0xff)<<this.shift;if(this.shift){this.shift-=8;}else{this.offset++;this.shift=24;}if(this.offset===16)this.processBlock();};Sha1.prototype.digest=function(encoding){// Pad\nthis.write(0x80);if(this.offset>14||this.offset===14&&this.shift<24){this.processBlock();}this.offset=14;this.shift=24;// 64-bit length big-endian\nthis.write(0x00);// numbers this big aren't accurate in javascript anyway\nthis.write(0x00);// ..So just hard-code to zero.\nthis.write(this.totalLength>0xffffffffff?this.totalLength/0x10000000000:0x00);this.write(this.totalLength>0xffffffff?this.totalLength/0x100000000:0x00);for(var s=24;s>=0;s-=8){this.write(this.totalLength>>s);}// The value in state is little-endian rather than big-endian, so flip\n// each word into a new Uint8Array\nvar out=new Buffer(DIGEST_LENGTH);var outView=new DataView(out.buffer);outView.setUint32(0,this.h0,false);outView.setUint32(4,this.h1,false);outView.setUint32(8,this.h2,false);outView.setUint32(12,this.h3,false);outView.setUint32(16,this.h4,false);return encoding?out.toString(encoding):out;};Sha1.prototype.processBlock=function processBlock(){// Extend the sixteen 32-bit words into eighty 32-bit words:\nfor(var i=16;i<80;i++){var w=this.block[i-3]^this.block[i-8]^this.block[i-14]^this.block[i-16];this.block[i]=w<<1|w>>>31;}// Initialize hash value for this chunk:\nvar a=this.h0;var b=this.h1;var c=this.h2;var d=this.h3;var e=this.h4;var f,k;// Main loop:\nfor(i=0;i<80;i++){if(i<20){f=d^b&(c^d);k=0x5A827999;}else if(i<40){f=b^c^d;k=0x6ED9EBA1;}else if(i<60){f=b&c|d&(b|c);k=0x8F1BBCDC;}else{f=b^c^d;k=0xCA62C1D6;}var temp=(a<<5|a>>>27)+f+e+k+(this.block[i]|0);e=d;d=c;c=b<<30|b>>>2;b=a;a=temp;}// Add this chunk's hash to result so far:\nthis.h0=this.h0+a|0;this.h1=this.h1+b|0;this.h2=this.h2+c|0;this.h3=this.h3+d|0;this.h4=this.h4+e|0;// The block is now reusable.\nthis.offset=0;for(i=0;i<16;i++){this.block[i]=0;}};},{\"./browserHashUtils\":11,\"buffer/\":86}],15:[function(require,module,exports){var Buffer=require('buffer/').Buffer;var hashUtils=require('./browserHashUtils');var BLOCK_SIZE=64;var DIGEST_LENGTH=32;var KEY=new Uint32Array([0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2]);var INIT=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19];var MAX_HASHABLE_LENGTH=Math.pow(2,53)-1;/**\n     * @private\n     */function Sha256(){this.state=[0x6a09e667,0xbb67ae85,0x3c6ef372,0xa54ff53a,0x510e527f,0x9b05688c,0x1f83d9ab,0x5be0cd19];this.temp=new Int32Array(64);this.buffer=new Uint8Array(64);this.bufferLength=0;this.bytesHashed=0;/**\n       * @private\n       */this.finished=false;}/**\n     * @api private\n     */module.exports=exports=Sha256;Sha256.BLOCK_SIZE=BLOCK_SIZE;Sha256.prototype.update=function(data){if(this.finished){throw new Error('Attempted to update an already finished hash.');}if(hashUtils.isEmptyData(data)){return this;}data=hashUtils.convertToBuffer(data);var position=0;var byteLength=data.byteLength;this.bytesHashed+=byteLength;if(this.bytesHashed*8>MAX_HASHABLE_LENGTH){throw new Error('Cannot hash more than 2^53 - 1 bits');}while(byteLength>0){this.buffer[this.bufferLength++]=data[position++];byteLength--;if(this.bufferLength===BLOCK_SIZE){this.hashBuffer();this.bufferLength=0;}}return this;};Sha256.prototype.digest=function(encoding){if(!this.finished){var bitsHashed=this.bytesHashed*8;var bufferView=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength);var undecoratedLength=this.bufferLength;bufferView.setUint8(this.bufferLength++,0x80);// Ensure the final block has enough room for the hashed length\nif(undecoratedLength%BLOCK_SIZE>=BLOCK_SIZE-8){for(var i=this.bufferLength;i<BLOCK_SIZE;i++){bufferView.setUint8(i,0);}this.hashBuffer();this.bufferLength=0;}for(var i=this.bufferLength;i<BLOCK_SIZE-8;i++){bufferView.setUint8(i,0);}bufferView.setUint32(BLOCK_SIZE-8,Math.floor(bitsHashed/0x100000000),true);bufferView.setUint32(BLOCK_SIZE-4,bitsHashed);this.hashBuffer();this.finished=true;}// The value in state is little-endian rather than big-endian, so flip\n// each word into a new Uint8Array\nvar out=new Buffer(DIGEST_LENGTH);for(var i=0;i<8;i++){out[i*4]=this.state[i]>>>24&0xff;out[i*4+1]=this.state[i]>>>16&0xff;out[i*4+2]=this.state[i]>>>8&0xff;out[i*4+3]=this.state[i]>>>0&0xff;}return encoding?out.toString(encoding):out;};Sha256.prototype.hashBuffer=function(){var _a=this,buffer=_a.buffer,state=_a.state;var state0=state[0],state1=state[1],state2=state[2],state3=state[3],state4=state[4],state5=state[5],state6=state[6],state7=state[7];for(var i=0;i<BLOCK_SIZE;i++){if(i<16){this.temp[i]=(buffer[i*4]&0xff)<<24|(buffer[i*4+1]&0xff)<<16|(buffer[i*4+2]&0xff)<<8|buffer[i*4+3]&0xff;}else{var u=this.temp[i-2];var t1_1=(u>>>17|u<<15)^(u>>>19|u<<13)^u>>>10;u=this.temp[i-15];var t2_1=(u>>>7|u<<25)^(u>>>18|u<<14)^u>>>3;this.temp[i]=(t1_1+this.temp[i-7]|0)+(t2_1+this.temp[i-16]|0);}var t1=(((state4>>>6|state4<<26)^(state4>>>11|state4<<21)^(state4>>>25|state4<<7))+(state4&state5^~state4&state6)|0)+(state7+(KEY[i]+this.temp[i]|0)|0)|0;var t2=((state0>>>2|state0<<30)^(state0>>>13|state0<<19)^(state0>>>22|state0<<10))+(state0&state1^state0&state2^state1&state2)|0;state7=state6;state6=state5;state5=state4;state4=state3+t1|0;state3=state2;state2=state1;state1=state0;state0=t1+t2|0;}state[0]+=state0;state[1]+=state1;state[2]+=state2;state[3]+=state3;state[4]+=state4;state[5]+=state5;state[6]+=state6;state[7]+=state7;};},{\"./browserHashUtils\":11,\"buffer/\":86}],16:[function(require,module,exports){(function(process){(function(){var util=require('./util');// browser specific modules\nutil.crypto.lib=require('./browserCryptoLib');util.Buffer=require('buffer/').Buffer;util.url=require('url/');util.querystring=require('querystring/');util.realClock=require('./realclock/browserClock');util.environment='js';util.createEventStream=require('./event-stream/buffered-create-event-stream').createEventStream;util.isBrowser=function(){return true;};util.isNode=function(){return false;};var AWS=require('./core');/**\n         * @api private\n         */module.exports=AWS;require('./credentials');require('./credentials/credential_provider_chain');require('./credentials/temporary_credentials');require('./credentials/chainable_temporary_credentials');require('./credentials/web_identity_credentials');require('./credentials/cognito_identity_credentials');require('./credentials/saml_credentials');// Load the DOMParser XML parser\nAWS.XML.Parser=require('./xml/browser_parser');// Load the XHR HttpClient\nrequire('./http/xhr');if(typeof process==='undefined'){var process={browser:true};}}).call(this);}).call(this,require('_process'));},{\"./browserCryptoLib\":10,\"./core\":19,\"./credentials\":20,\"./credentials/chainable_temporary_credentials\":21,\"./credentials/cognito_identity_credentials\":22,\"./credentials/credential_provider_chain\":23,\"./credentials/saml_credentials\":24,\"./credentials/temporary_credentials\":25,\"./credentials/web_identity_credentials\":26,\"./event-stream/buffered-create-event-stream\":28,\"./http/xhr\":36,\"./realclock/browserClock\":54,\"./util\":74,\"./xml/browser_parser\":75,\"_process\":91,\"buffer/\":86,\"querystring/\":98,\"url/\":100}],17:[function(require,module,exports){var AWS=require('./core');require('./credentials');require('./credentials/credential_provider_chain');var PromisesDependency;/**\n     * The main configuration class used by all service objects to set\n     * the region, credentials, and other options for requests.\n     *\n     * By default, credentials and region settings are left unconfigured.\n     * This should be configured by the application before using any\n     * AWS service APIs.\n     *\n     * In order to set global configuration options, properties should\n     * be assigned to the global {AWS.config} object.\n     *\n     * @see AWS.config\n     *\n     * @!group General Configuration Options\n     *\n     * @!attribute credentials\n     *   @return [AWS.Credentials] the AWS credentials to sign requests with.\n     *\n     * @!attribute region\n     *   @example Set the global region setting to us-west-2\n     *     AWS.config.update({region: 'us-west-2'});\n     *   @return [AWS.Credentials] The region to send service requests to.\n     *   @see http://docs.amazonwebservices.com/general/latest/gr/rande.html\n     *     A list of available endpoints for each AWS service\n     *\n     * @!attribute maxRetries\n     *   @return [Integer] the maximum amount of retries to perform for a\n     *     service request. By default this value is calculated by the specific\n     *     service object that the request is being made to.\n     *\n     * @!attribute maxRedirects\n     *   @return [Integer] the maximum amount of redirects to follow for a\n     *     service request. Defaults to 10.\n     *\n     * @!attribute paramValidation\n     *   @return [Boolean|map] whether input parameters should be validated against\n     *     the operation description before sending the request. Defaults to true.\n     *     Pass a map to enable any of the following specific validation features:\n     *\n     *     * **min** [Boolean] &mdash; Validates that a value meets the min\n     *       constraint. This is enabled by default when paramValidation is set\n     *       to `true`.\n     *     * **max** [Boolean] &mdash; Validates that a value meets the max\n     *       constraint.\n     *     * **pattern** [Boolean] &mdash; Validates that a string value matches a\n     *       regular expression.\n     *     * **enum** [Boolean] &mdash; Validates that a string value matches one\n     *       of the allowable enum values.\n     *\n     * @!attribute computeChecksums\n     *   @return [Boolean] whether to compute checksums for payload bodies when\n     *     the service accepts it (currently supported in S3 and SQS only).\n     *\n     * @!attribute convertResponseTypes\n     *   @return [Boolean] whether types are converted when parsing response data.\n     *     Currently only supported for JSON based services. Turning this off may\n     *     improve performance on large response payloads. Defaults to `true`.\n     *\n     * @!attribute correctClockSkew\n     *   @return [Boolean] whether to apply a clock skew correction and retry\n     *     requests that fail because of an skewed client clock. Defaults to\n     *     `false`.\n     *\n     * @!attribute sslEnabled\n     *   @return [Boolean] whether SSL is enabled for requests\n     *\n     * @!attribute s3ForcePathStyle\n     *   @return [Boolean] whether to force path style URLs for S3 objects\n     *\n     * @!attribute s3BucketEndpoint\n     *   @note Setting this configuration option requires an `endpoint` to be\n     *     provided explicitly to the service constructor.\n     *   @return [Boolean] whether the provided endpoint addresses an individual\n     *     bucket (false if it addresses the root API endpoint).\n     *\n     * @!attribute s3DisableBodySigning\n     *   @return [Boolean] whether to disable S3 body signing when using signature version `v4`.\n     *     Body signing can only be disabled when using https. Defaults to `true`.\n     *\n     * @!attribute s3UsEast1RegionalEndpoint\n     *   @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3\n     *     request to global endpoints or 'us-east-1' regional endpoints. This config is only\n     *     applicable to S3 client;\n     *     Defaults to 'legacy'\n     * @!attribute s3UseArnRegion\n     *   @return [Boolean] whether to override the request region with the region inferred\n     *     from requested resource's ARN. Only available for S3 buckets\n     *     Defaults to `true`\n     *\n     * @!attribute useAccelerateEndpoint\n     *   @note This configuration option is only compatible with S3 while accessing\n     *     dns-compatible buckets.\n     *   @return [Boolean] Whether to use the Accelerate endpoint with the S3 service.\n     *     Defaults to `false`.\n     *\n     * @!attribute retryDelayOptions\n     *   @example Set the base retry delay for all services to 300 ms\n     *     AWS.config.update({retryDelayOptions: {base: 300}});\n     *     // Delays with maxRetries = 3: 300, 600, 1200\n     *   @example Set a custom backoff function to provide delay values on retries\n     *     AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) {\n     *       // returns delay in ms\n     *     }}});\n     *   @return [map] A set of options to configure the retry delay on retryable errors.\n     *     Currently supported options are:\n     *\n     *     * **base** [Integer] &mdash; The base number of milliseconds to use in the\n     *       exponential backoff for operation retries. Defaults to 100 ms for all services except\n     *       DynamoDB, where it defaults to 50ms.\n     *\n     *     * **customBackoff ** [function] &mdash; A custom function that accepts a\n     *       retry count and error and returns the amount of time to delay in\n     *       milliseconds. If the result is a non-zero negative value, no further\n     *       retry attempts will be made. The `base` option will be ignored if this\n     *       option is supplied. The function is only called for retryable errors.\n     *\n     * @!attribute httpOptions\n     *   @return [map] A set of options to pass to the low-level HTTP request.\n     *     Currently supported options are:\n     *\n     *     * **proxy** [String] &mdash; the URL to proxy requests through\n     *     * **agent** [http.Agent, https.Agent] &mdash; the Agent object to perform\n     *       HTTP requests with. Used for connection pooling. Note that for\n     *       SSL connections, a special Agent object is used in order to enable\n     *       peer certificate verification. This feature is only supported in the\n     *       Node.js environment.\n     *     * **connectTimeout** [Integer] &mdash; Sets the socket to timeout after\n     *       failing to establish a connection with the server after\n     *       `connectTimeout` milliseconds. This timeout has no effect once a socket\n     *       connection has been established.\n     *     * **timeout** [Integer] &mdash; The number of milliseconds a request can\n     *       take before automatically being terminated.\n     *       Defaults to two minutes (120000).\n     *     * **xhrAsync** [Boolean] &mdash; Whether the SDK will send asynchronous\n     *       HTTP requests. Used in the browser environment only. Set to false to\n     *       send requests synchronously. Defaults to true (async on).\n     *     * **xhrWithCredentials** [Boolean] &mdash; Sets the \"withCredentials\"\n     *       property of an XMLHttpRequest object. Used in the browser environment\n     *       only. Defaults to false.\n     * @!attribute logger\n     *   @return [#write,#log] an object that responds to .write() (like a stream)\n     *     or .log() (like the console object) in order to log information about\n     *     requests\n     *\n     * @!attribute systemClockOffset\n     *   @return [Number] an offset value in milliseconds to apply to all signing\n     *     times. Use this to compensate for clock skew when your system may be\n     *     out of sync with the service time. Note that this configuration option\n     *     can only be applied to the global `AWS.config` object and cannot be\n     *     overridden in service-specific configuration. Defaults to 0 milliseconds.\n     *\n     * @!attribute signatureVersion\n     *   @return [String] the signature version to sign requests with (overriding\n     *     the API configuration). Possible values are: 'v2', 'v3', 'v4'.\n     *\n     * @!attribute signatureCache\n     *   @return [Boolean] whether the signature to sign requests with (overriding\n     *     the API configuration) is cached. Only applies to the signature version 'v4'.\n     *     Defaults to `true`.\n     *\n     * @!attribute endpointDiscoveryEnabled\n     *   @return [Boolean|undefined] whether to call operations with endpoints\n     *     given by service dynamically. Setting this config to `true` will enable\n     *     endpoint discovery for all applicable operations. Setting it to `false`\n     *     will explicitly disable endpoint discovery even though operations that\n     *     require endpoint discovery will presumably fail. Leaving it to\n     *     `undefined` means SDK only do endpoint discovery when it's required.\n     *     Defaults to `undefined`\n     *\n     * @!attribute endpointCacheSize\n     *   @return [Number] the size of the global cache storing endpoints from endpoint\n     *     discovery operations. Once endpoint cache is created, updating this setting\n     *     cannot change existing cache size.\n     *     Defaults to 1000\n     *\n     * @!attribute hostPrefixEnabled\n     *   @return [Boolean] whether to marshal request parameters to the prefix of\n     *     hostname. Defaults to `true`.\n     *\n     * @!attribute stsRegionalEndpoints\n     *   @return ['legacy'|'regional'] whether to send sts request to global endpoints or\n     *     regional endpoints.\n     *     Defaults to 'legacy'.\n     *\n     * @!attribute useFipsEndpoint\n     *   @return [Boolean] Enables FIPS compatible endpoints. Defaults to `false`.\n     *\n     * @!attribute useDualstackEndpoint\n     *   @return [Boolean] Enables IPv6 dualstack endpoint. Defaults to `false`.\n     */AWS.Config=AWS.util.inherit({/**\n       * @!endgroup\n       *//**\n       * Creates a new configuration object. This is the object that passes\n       * option data along to service requests, including credentials, security,\n       * region information, and some service specific settings.\n       *\n       * @example Creating a new configuration object with credentials and region\n       *   var config = new AWS.Config({\n       *     accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2'\n       *   });\n       * @option options accessKeyId [String] your AWS access key ID.\n       * @option options secretAccessKey [String] your AWS secret access key.\n       * @option options sessionToken [AWS.Credentials] the optional AWS\n       *   session token to sign requests with.\n       * @option options credentials [AWS.Credentials] the AWS credentials\n       *   to sign requests with. You can either specify this object, or\n       *   specify the accessKeyId and secretAccessKey options directly.\n       * @option options credentialProvider [AWS.CredentialProviderChain] the\n       *   provider chain used to resolve credentials if no static `credentials`\n       *   property is set.\n       * @option options region [String] the region to send service requests to.\n       *   See {region} for more information.\n       * @option options maxRetries [Integer] the maximum amount of retries to\n       *   attempt with a request. See {maxRetries} for more information.\n       * @option options maxRedirects [Integer] the maximum amount of redirects to\n       *   follow with a request. See {maxRedirects} for more information.\n       * @option options sslEnabled [Boolean] whether to enable SSL for\n       *   requests.\n       * @option options paramValidation [Boolean|map] whether input parameters\n       *   should be validated against the operation description before sending\n       *   the request. Defaults to true. Pass a map to enable any of the\n       *   following specific validation features:\n       *\n       *   * **min** [Boolean] &mdash; Validates that a value meets the min\n       *     constraint. This is enabled by default when paramValidation is set\n       *     to `true`.\n       *   * **max** [Boolean] &mdash; Validates that a value meets the max\n       *     constraint.\n       *   * **pattern** [Boolean] &mdash; Validates that a string value matches a\n       *     regular expression.\n       *   * **enum** [Boolean] &mdash; Validates that a string value matches one\n       *     of the allowable enum values.\n       * @option options computeChecksums [Boolean] whether to compute checksums\n       *   for payload bodies when the service accepts it (currently supported\n       *   in S3 only)\n       * @option options convertResponseTypes [Boolean] whether types are converted\n       *     when parsing response data. Currently only supported for JSON based\n       *     services. Turning this off may improve performance on large response\n       *     payloads. Defaults to `true`.\n       * @option options correctClockSkew [Boolean] whether to apply a clock skew\n       *     correction and retry requests that fail because of an skewed client\n       *     clock. Defaults to `false`.\n       * @option options s3ForcePathStyle [Boolean] whether to force path\n       *   style URLs for S3 objects.\n       * @option options s3BucketEndpoint [Boolean] whether the provided endpoint\n       *   addresses an individual bucket (false if it addresses the root API\n       *   endpoint). Note that setting this configuration option requires an\n       *   `endpoint` to be provided explicitly to the service constructor.\n       * @option options s3DisableBodySigning [Boolean] whether S3 body signing\n       *   should be disabled when using signature version `v4`. Body signing\n       *   can only be disabled when using https. Defaults to `true`.\n       * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region\n       *   is set to 'us-east-1', whether to send s3 request to global endpoints or\n       *   'us-east-1' regional endpoints. This config is only applicable to S3 client.\n       *   Defaults to `legacy`\n       * @option options s3UseArnRegion [Boolean] whether to override the request region\n       *   with the region inferred from requested resource's ARN. Only available for S3 buckets\n       *   Defaults to `true`\n       *\n       * @option options retryDelayOptions [map] A set of options to configure\n       *   the retry delay on retryable errors. Currently supported options are:\n       *\n       *   * **base** [Integer] &mdash; The base number of milliseconds to use in the\n       *     exponential backoff for operation retries. Defaults to 100 ms for all\n       *     services except DynamoDB, where it defaults to 50ms.\n       *   * **customBackoff ** [function] &mdash; A custom function that accepts a\n       *     retry count and error and returns the amount of time to delay in\n       *     milliseconds. If the result is a non-zero negative value, no further\n       *     retry attempts will be made. The `base` option will be ignored if this\n       *     option is supplied. The function is only called for retryable errors.\n       * @option options httpOptions [map] A set of options to pass to the low-level\n       *   HTTP request. Currently supported options are:\n       *\n       *   * **proxy** [String] &mdash; the URL to proxy requests through\n       *   * **agent** [http.Agent, https.Agent] &mdash; the Agent object to perform\n       *     HTTP requests with. Used for connection pooling. Defaults to the global\n       *     agent (`http.globalAgent`) for non-SSL connections. Note that for\n       *     SSL connections, a special Agent object is used in order to enable\n       *     peer certificate verification. This feature is only available in the\n       *     Node.js environment.\n       *   * **connectTimeout** [Integer] &mdash; Sets the socket to timeout after\n       *     failing to establish a connection with the server after\n       *     `connectTimeout` milliseconds. This timeout has no effect once a socket\n       *     connection has been established.\n       *   * **timeout** [Integer] &mdash; Sets the socket to timeout after timeout\n       *     milliseconds of inactivity on the socket. Defaults to two minutes\n       *     (120000).\n       *   * **xhrAsync** [Boolean] &mdash; Whether the SDK will send asynchronous\n       *     HTTP requests. Used in the browser environment only. Set to false to\n       *     send requests synchronously. Defaults to true (async on).\n       *   * **xhrWithCredentials** [Boolean] &mdash; Sets the \"withCredentials\"\n       *     property of an XMLHttpRequest object. Used in the browser environment\n       *     only. Defaults to false.\n       * @option options apiVersion [String, Date] a String in YYYY-MM-DD format\n       *   (or a date) that represents the latest possible API version that can be\n       *   used in all services (unless overridden by `apiVersions`). Specify\n       *   'latest' to use the latest possible version.\n       * @option options apiVersions [map<String, String|Date>] a map of service\n       *   identifiers (the lowercase service class name) with the API version to\n       *   use when instantiating a service. Specify 'latest' for each individual\n       *   that can use the latest available version.\n       * @option options logger [#write,#log] an object that responds to .write()\n       *   (like a stream) or .log() (like the console object) in order to log\n       *   information about requests\n       * @option options systemClockOffset [Number] an offset value in milliseconds\n       *   to apply to all signing times. Use this to compensate for clock skew\n       *   when your system may be out of sync with the service time. Note that\n       *   this configuration option can only be applied to the global `AWS.config`\n       *   object and cannot be overridden in service-specific configuration.\n       *   Defaults to 0 milliseconds.\n       * @option options signatureVersion [String] the signature version to sign\n       *   requests with (overriding the API configuration). Possible values are:\n       *   'v2', 'v3', 'v4'.\n       * @option options signatureCache [Boolean] whether the signature to sign\n       *   requests with (overriding the API configuration) is cached. Only applies\n       *   to the signature version 'v4'. Defaults to `true`.\n       * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32\n       *   checksum of HTTP response bodies returned by DynamoDB. Default: `true`.\n       * @option options useAccelerateEndpoint [Boolean] Whether to use the\n       *   S3 Transfer Acceleration endpoint with the S3 service. Default: `false`.\n       * @option options clientSideMonitoring [Boolean] whether to collect and\n       *   publish this client's performance metrics of all its API requests.\n       * @option options endpointDiscoveryEnabled [Boolean|undefined] whether to\n       *   call operations with endpoints given by service dynamically. Setting this\n       * config to `true` will enable endpoint discovery for all applicable operations.\n       *   Setting it to `false` will explicitly disable endpoint discovery even though\n       *   operations that require endpoint discovery will presumably fail. Leaving it\n       *   to `undefined` means SDK will only do endpoint discovery when it's required.\n       *   Defaults to `undefined`\n       * @option options endpointCacheSize [Number] the size of the global cache storing\n       *   endpoints from endpoint discovery operations. Once endpoint cache is created,\n       *   updating this setting cannot change existing cache size.\n       *   Defaults to 1000\n       * @option options hostPrefixEnabled [Boolean] whether to marshal request\n       *   parameters to the prefix of hostname.\n       *   Defaults to `true`.\n       * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request\n       *   to global endpoints or regional endpoints.\n       *   Defaults to 'legacy'.\n       * @option options useFipsEndpoint [Boolean] Enables FIPS compatible endpoints.\n       *   Defaults to `false`.\n       * @option options useDualstackEndpoint [Boolean] Enables IPv6 dualstack endpoint.\n       *   Defaults to `false`.\n       */constructor:function Config(options){if(options===undefined)options={};options=this.extractCredentials(options);AWS.util.each.call(this,this.keys,function(key,value){this.set(key,options[key],value);});},/**\n       * @!group Managing Credentials\n       *//**\n       * Loads credentials from the configuration object. This is used internally\n       * by the SDK to ensure that refreshable {Credentials} objects are properly\n       * refreshed and loaded when sending a request. If you want to ensure that\n       * your credentials are loaded prior to a request, you can use this method\n       * directly to provide accurate credential data stored in the object.\n       *\n       * @note If you configure the SDK with static or environment credentials,\n       *   the credential data should already be present in {credentials} attribute.\n       *   This method is primarily necessary to load credentials from asynchronous\n       *   sources, or sources that can refresh credentials periodically.\n       * @example Getting your access key\n       *   AWS.config.getCredentials(function(err) {\n       *     if (err) console.log(err.stack); // credentials not loaded\n       *     else console.log(\"Access Key:\", AWS.config.credentials.accessKeyId);\n       *   })\n       * @callback callback function(err)\n       *   Called when the {credentials} have been properly set on the configuration\n       *   object.\n       *\n       *   @param err [Error] if this is set, credentials were not successfully\n       *     loaded and this error provides information why.\n       * @see credentials\n       * @see Credentials\n       */getCredentials:function getCredentials(callback){var self=this;function finish(err){callback(err,err?null:self.credentials);}function credError(msg,err){return new AWS.util.error(err||new Error(),{code:'CredentialsError',message:msg,name:'CredentialsError'});}function getAsyncCredentials(){self.credentials.get(function(err){if(err){var msg='Could not load credentials from '+self.credentials.constructor.name;err=credError(msg,err);}finish(err);});}function getStaticCredentials(){var err=null;if(!self.credentials.accessKeyId||!self.credentials.secretAccessKey){err=credError('Missing credentials');}finish(err);}if(self.credentials){if(typeof self.credentials.get==='function'){getAsyncCredentials();}else{// static credentials\ngetStaticCredentials();}}else if(self.credentialProvider){self.credentialProvider.resolve(function(err,creds){if(err){err=credError('Could not load credentials from any providers',err);}self.credentials=creds;finish(err);});}else{finish(credError('No credentials to load'));}},/**\n       * Loads token from the configuration object. This is used internally\n       * by the SDK to ensure that refreshable {Token} objects are properly\n       * refreshed and loaded when sending a request. If you want to ensure that\n       * your token is loaded prior to a request, you can use this method\n       * directly to provide accurate token data stored in the object.\n       *\n       * @note If you configure the SDK with static token, the token data should\n       *   already be present in {token} attribute. This method is primarily necessary\n       *   to load token from asynchronous sources, or sources that can refresh\n       *   token periodically.\n       * @example Getting your access token\n       *   AWS.config.getToken(function(err) {\n       *     if (err) console.log(err.stack); // token not loaded\n       *     else console.log(\"Token:\", AWS.config.token.token);\n       *   })\n       * @callback callback function(err)\n       *   Called when the {token} have been properly set on the configuration object.\n       *\n       *   @param err [Error] if this is set, token was not successfully loaded and\n       *     this error provides information why.\n       * @see token\n       */getToken:function getToken(callback){var self=this;function finish(err){callback(err,err?null:self.token);}function tokenError(msg,err){return new AWS.util.error(err||new Error(),{code:'TokenError',message:msg,name:'TokenError'});}function getAsyncToken(){self.token.get(function(err){if(err){var msg='Could not load token from '+self.token.constructor.name;err=tokenError(msg,err);}finish(err);});}function getStaticToken(){var err=null;if(!self.token.token){err=tokenError('Missing token');}finish(err);}if(self.token){if(typeof self.token.get==='function'){getAsyncToken();}else{// static token\ngetStaticToken();}}else if(self.tokenProvider){self.tokenProvider.resolve(function(err,token){if(err){err=tokenError('Could not load token from any providers',err);}self.token=token;finish(err);});}else{finish(tokenError('No token to load'));}},/**\n       * @!group Loading and Setting Configuration Options\n       *//**\n       * @overload update(options, allowUnknownKeys = false)\n       *   Updates the current configuration object with new options.\n       *\n       *   @example Update maxRetries property of a configuration object\n       *     config.update({maxRetries: 10});\n       *   @param [Object] options a map of option keys and values.\n       *   @param [Boolean] allowUnknownKeys whether unknown keys can be set on\n       *     the configuration object. Defaults to `false`.\n       *   @see constructor\n       */update:function update(options,allowUnknownKeys){allowUnknownKeys=allowUnknownKeys||false;options=this.extractCredentials(options);AWS.util.each.call(this,options,function(key,value){if(allowUnknownKeys||Object.prototype.hasOwnProperty.call(this.keys,key)||AWS.Service.hasService(key)){this.set(key,value);}});},/**\n       * Loads configuration data from a JSON file into this config object.\n       * @note Loading configuration will reset all existing configuration\n       *   on the object.\n       * @!macro nobrowser\n       * @param path [String] the path relative to your process's current\n       *    working directory to load configuration from.\n       * @return [AWS.Config] the same configuration object\n       */loadFromPath:function loadFromPath(path){this.clear();var options=JSON.parse(AWS.util.readFileSync(path));var fileSystemCreds=new AWS.FileSystemCredentials(path);var chain=new AWS.CredentialProviderChain();chain.providers.unshift(fileSystemCreds);chain.resolve(function(err,creds){if(err)throw err;else options.credentials=creds;});this.constructor(options);return this;},/**\n       * Clears configuration data on this object\n       *\n       * @api private\n       */clear:function clear(){/*jshint forin:false */AWS.util.each.call(this,this.keys,function(key){delete this[key];});// reset credential provider\nthis.set('credentials',undefined);this.set('credentialProvider',undefined);},/**\n       * Sets a property on the configuration object, allowing for a\n       * default value\n       * @api private\n       */set:function set(property,value,defaultValue){if(value===undefined){if(defaultValue===undefined){defaultValue=this.keys[property];}if(typeof defaultValue==='function'){this[property]=defaultValue.call(this);}else{this[property]=defaultValue;}}else if(property==='httpOptions'&&this[property]){// deep merge httpOptions\nthis[property]=AWS.util.merge(this[property],value);}else{this[property]=value;}},/**\n       * All of the keys with their default values.\n       *\n       * @constant\n       * @api private\n       */keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:undefined,httpOptions:{timeout:120000},maxRetries:undefined,maxRedirects:10,paramValidation:true,sslEnabled:true,s3ForcePathStyle:false,s3BucketEndpoint:false,s3DisableBodySigning:true,s3UsEast1RegionalEndpoint:'legacy',s3UseArnRegion:undefined,computeChecksums:true,convertResponseTypes:true,correctClockSkew:false,customUserAgent:null,dynamoDbCrc32:true,systemClockOffset:0,signatureVersion:null,signatureCache:true,retryDelayOptions:{},useAccelerateEndpoint:false,clientSideMonitoring:false,endpointDiscoveryEnabled:undefined,endpointCacheSize:1000,hostPrefixEnabled:true,stsRegionalEndpoints:'legacy',useFipsEndpoint:false,useDualstackEndpoint:false,token:null},/**\n       * Extracts accessKeyId, secretAccessKey and sessionToken\n       * from a configuration hash.\n       *\n       * @api private\n       */extractCredentials:function extractCredentials(options){if(options.accessKeyId&&options.secretAccessKey){options=AWS.util.copy(options);options.credentials=new AWS.Credentials(options);}return options;},/**\n       * Sets the promise dependency the SDK will use wherever Promises are returned.\n       * Passing `null` will force the SDK to use native Promises if they are available.\n       * If native Promises are not available, passing `null` will have no effect.\n       * @param [Constructor] dep A reference to a Promise constructor\n       */setPromisesDependency:function setPromisesDependency(dep){PromisesDependency=dep;// if null was passed in, we should try to use native promises\nif(dep===null&&typeof Promise==='function'){PromisesDependency=Promise;}var constructors=[AWS.Request,AWS.Credentials,AWS.CredentialProviderChain];if(AWS.S3){constructors.push(AWS.S3);if(AWS.S3.ManagedUpload){constructors.push(AWS.S3.ManagedUpload);}}AWS.util.addPromises(constructors,PromisesDependency);},/**\n       * Gets the promise dependency set by `AWS.config.setPromisesDependency`.\n       */getPromisesDependency:function getPromisesDependency(){return PromisesDependency;}});/**\n     * @return [AWS.Config] The global configuration object singleton instance\n     * @readonly\n     * @see AWS.Config\n     */AWS.config=new AWS.Config();},{\"./core\":19,\"./credentials\":20,\"./credentials/credential_provider_chain\":23}],18:[function(require,module,exports){(function(process){(function(){var AWS=require('./core');/**\n         * @api private\n         */function validateRegionalEndpointsFlagValue(configValue,errorOptions){if(typeof configValue!=='string')return undefined;else if(['legacy','regional'].indexOf(configValue.toLowerCase())>=0){return configValue.toLowerCase();}else{throw AWS.util.error(new Error(),errorOptions);}}/**\n         * Resolve the configuration value for regional endpoint from difference sources: client\n         * config, environmental variable, shared config file. Value can be case-insensitive\n         * 'legacy' or 'reginal'.\n         * @param originalConfig user-supplied config object to resolve\n         * @param options a map of config property names from individual configuration source\n         *  - env: name of environmental variable that refers to the config\n         *  - sharedConfig: name of shared configuration file property that refers to the config\n         *  - clientConfig: name of client configuration property that refers to the config\n         *\n         * @api private\n         */function resolveRegionalEndpointsFlag(originalConfig,options){originalConfig=originalConfig||{};//validate config value\nvar resolved;if(originalConfig[options.clientConfig]){resolved=validateRegionalEndpointsFlagValue(originalConfig[options.clientConfig],{code:'InvalidConfiguration',message:'invalid \"'+options.clientConfig+'\" configuration. Expect \"legacy\" '+' or \"regional\". Got \"'+originalConfig[options.clientConfig]+'\".'});if(resolved)return resolved;}if(!AWS.util.isNode())return resolved;//validate environmental variable\nif(Object.prototype.hasOwnProperty.call(process.env,options.env)){var envFlag=process.env[options.env];resolved=validateRegionalEndpointsFlagValue(envFlag,{code:'InvalidEnvironmentalVariable',message:'invalid '+options.env+' environmental variable. Expect \"legacy\" '+' or \"regional\". Got \"'+process.env[options.env]+'\".'});if(resolved)return resolved;}//validate shared config file\nvar profile={};try{var profiles=AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader);profile=profiles[process.env.AWS_PROFILE||AWS.util.defaultProfile];}catch(e){};if(profile&&Object.prototype.hasOwnProperty.call(profile,options.sharedConfig)){var fileFlag=profile[options.sharedConfig];resolved=validateRegionalEndpointsFlagValue(fileFlag,{code:'InvalidConfiguration',message:'invalid '+options.sharedConfig+' profile config. Expect \"legacy\" '+' or \"regional\". Got \"'+profile[options.sharedConfig]+'\".'});if(resolved)return resolved;}return resolved;}module.exports=resolveRegionalEndpointsFlag;}).call(this);}).call(this,require('_process'));},{\"./core\":19,\"_process\":91}],19:[function(require,module,exports){/**\n     * The main AWS namespace\n     */var AWS={util:require('./util')};/**\n     * @api private\n     * @!macro [new] nobrowser\n     *   @note This feature is not supported in the browser environment of the SDK.\n     */var _hidden={};_hidden.toString();// hack to parse macro\n/**\n     * @api private\n     */module.exports=AWS;AWS.util.update(AWS,{/**\n       * @constant\n       */VERSION:'2.1589.0',/**\n       * @api private\n       */Signers:{},/**\n       * @api private\n       */Protocol:{Json:require('./protocol/json'),Query:require('./protocol/query'),Rest:require('./protocol/rest'),RestJson:require('./protocol/rest_json'),RestXml:require('./protocol/rest_xml')},/**\n       * @api private\n       */XML:{Builder:require('./xml/builder'),Parser:null// conditionally set based on environment\n},/**\n       * @api private\n       */JSON:{Builder:require('./json/builder'),Parser:require('./json/parser')},/**\n       * @api private\n       */Model:{Api:require('./model/api'),Operation:require('./model/operation'),Shape:require('./model/shape'),Paginator:require('./model/paginator'),ResourceWaiter:require('./model/resource_waiter')},/**\n       * @api private\n       */apiLoader:require('./api_loader'),/**\n       * @api private\n       */EndpointCache:require('../vendor/endpoint-cache').EndpointCache});require('./sequential_executor');require('./service');require('./config');require('./http');require('./event_listeners');require('./request');require('./response');require('./resource_waiter');require('./signers/request_signer');require('./param_validator');require('./maintenance_mode_message');/**\n     * @readonly\n     * @return [AWS.SequentialExecutor] a collection of global event listeners that\n     *   are attached to every sent request.\n     * @see AWS.Request AWS.Request for a list of events to listen for\n     * @example Logging the time taken to send a request\n     *   AWS.events.on('send', function startSend(resp) {\n     *     resp.startTime = new Date().getTime();\n     *   }).on('complete', function calculateTime(resp) {\n     *     var time = (new Date().getTime() - resp.startTime) / 1000;\n     *     console.log('Request took ' + time + ' seconds');\n     *   });\n     *\n     *   new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds'\n     */AWS.events=new AWS.SequentialExecutor();//create endpoint cache lazily\nAWS.util.memoizedProperty(AWS,'endpointCache',function(){return new AWS.EndpointCache(AWS.config.endpointCacheSize);},true);},{\"../vendor/endpoint-cache\":111,\"./api_loader\":9,\"./config\":17,\"./event_listeners\":34,\"./http\":35,\"./json/builder\":37,\"./json/parser\":38,\"./maintenance_mode_message\":39,\"./model/api\":40,\"./model/operation\":42,\"./model/paginator\":43,\"./model/resource_waiter\":44,\"./model/shape\":45,\"./param_validator\":46,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./request\":58,\"./resource_waiter\":59,\"./response\":60,\"./sequential_executor\":61,\"./service\":62,\"./signers/request_signer\":66,\"./util\":74,\"./xml/builder\":76}],20:[function(require,module,exports){var AWS=require('./core');/**\n     * Represents your AWS security credentials, specifically the\n     * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}.\n     * Creating a `Credentials` object allows you to pass around your\n     * security information to configuration and service objects.\n     *\n     * Note that this class typically does not need to be constructed manually,\n     * as the {AWS.Config} and {AWS.Service} classes both accept simple\n     * options hashes with the three keys. These structures will be converted\n     * into Credentials objects automatically.\n     *\n     * ## Expiring and Refreshing Credentials\n     *\n     * Occasionally credentials can expire in the middle of a long-running\n     * application. In this case, the SDK will automatically attempt to\n     * refresh the credentials from the storage location if the Credentials\n     * class implements the {refresh} method.\n     *\n     * If you are implementing a credential storage location, you\n     * will want to create a subclass of the `Credentials` class and\n     * override the {refresh} method. This method allows credentials to be\n     * retrieved from the backing store, be it a file system, database, or\n     * some network storage. The method should reset the credential attributes\n     * on the object.\n     *\n     * @!attribute expired\n     *   @return [Boolean] whether the credentials have been expired and\n     *     require a refresh. Used in conjunction with {expireTime}.\n     * @!attribute expireTime\n     *   @return [Date] a time when credentials should be considered expired. Used\n     *     in conjunction with {expired}.\n     * @!attribute accessKeyId\n     *   @return [String] the AWS access key ID\n     * @!attribute secretAccessKey\n     *   @return [String] the AWS secret access key\n     * @!attribute sessionToken\n     *   @return [String] an optional AWS session token\n     */AWS.Credentials=AWS.util.inherit({/**\n       * A credentials object can be created using positional arguments or an options\n       * hash.\n       *\n       * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null)\n       *   Creates a Credentials object with a given set of credential information\n       *   as positional arguments.\n       *   @param accessKeyId [String] the AWS access key ID\n       *   @param secretAccessKey [String] the AWS secret access key\n       *   @param sessionToken [String] the optional AWS session token\n       *   @example Create a credentials object with AWS credentials\n       *     var creds = new AWS.Credentials('akid', 'secret', 'session');\n       * @overload AWS.Credentials(options)\n       *   Creates a Credentials object with a given set of credential information\n       *   as an options hash.\n       *   @option options accessKeyId [String] the AWS access key ID\n       *   @option options secretAccessKey [String] the AWS secret access key\n       *   @option options sessionToken [String] the optional AWS session token\n       *   @example Create a credentials object with AWS credentials\n       *     var creds = new AWS.Credentials({\n       *       accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session'\n       *     });\n       */constructor:function Credentials(){// hide secretAccessKey from being displayed with util.inspect\nAWS.util.hideProperties(this,['secretAccessKey']);this.expired=false;this.expireTime=null;this.refreshCallbacks=[];if(arguments.length===1&&_typeof(arguments[0])==='object'){var creds=arguments[0].credentials||arguments[0];this.accessKeyId=creds.accessKeyId;this.secretAccessKey=creds.secretAccessKey;this.sessionToken=creds.sessionToken;}else{this.accessKeyId=arguments[0];this.secretAccessKey=arguments[1];this.sessionToken=arguments[2];}},/**\n       * @return [Integer] the number of seconds before {expireTime} during which\n       *   the credentials will be considered expired.\n       */expiryWindow:15,/**\n       * @return [Boolean] whether the credentials object should call {refresh}\n       * @note Subclasses should override this method to provide custom refresh\n       *   logic.\n       */needsRefresh:function needsRefresh(){var currentTime=AWS.util.date.getDate().getTime();var adjustedTime=new Date(currentTime+this.expiryWindow*1000);if(this.expireTime&&adjustedTime>this.expireTime){return true;}else{return this.expired||!this.accessKeyId||!this.secretAccessKey;}},/**\n       * Gets the existing credentials, refreshing them if they are not yet loaded\n       * or have expired. Users should call this method before using {refresh},\n       * as this will not attempt to reload credentials when they are already\n       * loaded into the object.\n       *\n       * @callback callback function(err)\n       *   When this callback is called with no error, it means either credentials\n       *   do not need to be refreshed or refreshed credentials information has\n       *   been loaded into the object (as the `accessKeyId`, `secretAccessKey`,\n       *   and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       */get:function get(callback){var self=this;if(this.needsRefresh()){this.refresh(function(err){if(!err)self.expired=false;// reset expired flag\nif(callback)callback(err);});}else if(callback){callback();}},/**\n       * @!method  getPromise()\n       *   Returns a 'thenable' promise.\n       *   Gets the existing credentials, refreshing them if they are not yet loaded\n       *   or have expired. Users should call this method before using {refresh},\n       *   as this will not attempt to reload credentials when they are already\n       *   loaded into the object.\n       *\n       *   Two callbacks can be provided to the `then` method on the returned promise.\n       *   The first callback will be called if the promise is fulfilled, and the second\n       *   callback will be called if the promise is rejected.\n       *   @callback fulfilledCallback function()\n       *     Called if the promise is fulfilled. When this callback is called, it\n       *     means either credentials do not need to be refreshed or refreshed\n       *     credentials information has been loaded into the object (as the\n       *     `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).\n       *   @callback rejectedCallback function(err)\n       *     Called if the promise is rejected.\n       *     @param err [Error] if an error occurred, this value will be filled\n       *   @return [Promise] A promise that represents the state of the `get` call.\n       *   @example Calling the `getPromise` method.\n       *     var promise = credProvider.getPromise();\n       *     promise.then(function() { ... }, function(err) { ... });\n       *//**\n       * @!method  refreshPromise()\n       *   Returns a 'thenable' promise.\n       *   Refreshes the credentials. Users should call {get} before attempting\n       *   to forcibly refresh credentials.\n       *\n       *   Two callbacks can be provided to the `then` method on the returned promise.\n       *   The first callback will be called if the promise is fulfilled, and the second\n       *   callback will be called if the promise is rejected.\n       *   @callback fulfilledCallback function()\n       *     Called if the promise is fulfilled. When this callback is called, it\n       *     means refreshed credentials information has been loaded into the object\n       *     (as the `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).\n       *   @callback rejectedCallback function(err)\n       *     Called if the promise is rejected.\n       *     @param err [Error] if an error occurred, this value will be filled\n       *   @return [Promise] A promise that represents the state of the `refresh` call.\n       *   @example Calling the `refreshPromise` method.\n       *     var promise = credProvider.refreshPromise();\n       *     promise.then(function() { ... }, function(err) { ... });\n       *//**\n       * Refreshes the credentials. Users should call {get} before attempting\n       * to forcibly refresh credentials.\n       *\n       * @callback callback function(err)\n       *   When this callback is called with no error, it means refreshed\n       *   credentials information has been loaded into the object (as the\n       *   `accessKeyId`, `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @note Subclasses should override this class to reset the\n       *   {accessKeyId}, {secretAccessKey} and optional {sessionToken}\n       *   on the credentials object and then call the callback with\n       *   any error information.\n       * @see get\n       */refresh:function refresh(callback){this.expired=false;callback();},/**\n       * @api private\n       * @param callback\n       */coalesceRefresh:function coalesceRefresh(callback,sync){var self=this;if(self.refreshCallbacks.push(callback)===1){self.load(function onLoad(err){AWS.util.arrayEach(self.refreshCallbacks,function(callback){if(sync){callback(err);}else{// callback could throw, so defer to ensure all callbacks are notified\nAWS.util.defer(function(){callback(err);});}});self.refreshCallbacks.length=0;});}},/**\n       * @api private\n       * @param callback\n       */load:function load(callback){callback();}});/**\n     * @api private\n     */AWS.Credentials.addPromisesToClass=function addPromisesToClass(PromiseDependency){this.prototype.getPromise=AWS.util.promisifyMethod('get',PromiseDependency);this.prototype.refreshPromise=AWS.util.promisifyMethod('refresh',PromiseDependency);};/**\n     * @api private\n     */AWS.Credentials.deletePromisesFromClass=function deletePromisesFromClass(){delete this.prototype.getPromise;delete this.prototype.refreshPromise;};AWS.util.addPromises(AWS.Credentials);},{\"./core\":19}],21:[function(require,module,exports){var AWS=require('../core');var STS=require('../../clients/sts');/**\n     * Represents temporary credentials retrieved from {AWS.STS}. Without any\n     * extra parameters, credentials will be fetched from the\n     * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the\n     * {AWS.STS.assumeRole} operation will be used to fetch credentials for the\n     * role instead.\n     *\n     * AWS.ChainableTemporaryCredentials differs from AWS.TemporaryCredentials in\n     * the way masterCredentials and refreshes are handled.\n     * AWS.ChainableTemporaryCredentials refreshes expired credentials using the\n     * masterCredentials passed by the user to support chaining of STS credentials.\n     * However, AWS.TemporaryCredentials recursively collapses the masterCredentials\n     * during instantiation, precluding the ability to refresh credentials which\n     * require intermediate, temporary credentials.\n     *\n     * For example, if the application should use RoleA, which must be assumed from\n     * RoleB, and the environment provides credentials which can assume RoleB, then\n     * AWS.ChainableTemporaryCredentials must be used to support refreshing the\n     * temporary credentials for RoleA:\n     *\n     * ```javascript\n     * var roleACreds = new AWS.ChainableTemporaryCredentials({\n     *   params: {RoleArn: 'RoleA'},\n     *   masterCredentials: new AWS.ChainableTemporaryCredentials({\n     *     params: {RoleArn: 'RoleB'},\n     *     masterCredentials: new AWS.EnvironmentCredentials('AWS')\n     *   })\n     * });\n     * ```\n     *\n     * If AWS.TemporaryCredentials had been used in the previous example,\n     * `roleACreds` would fail to refresh because `roleACreds` would\n     * use the environment credentials for the AssumeRole request.\n     *\n     * Another difference is that AWS.ChainableTemporaryCredentials creates the STS\n     * service instance during instantiation while AWS.TemporaryCredentials creates\n     * the STS service instance during the first refresh. Creating the service\n     * instance during instantiation effectively captures the master credentials\n     * from the global config, so that subsequent changes to the global config do\n     * not affect the master credentials used to refresh the temporary credentials.\n     *\n     * This allows an instance of AWS.ChainableTemporaryCredentials to be assigned\n     * to AWS.config.credentials:\n     *\n     * ```javascript\n     * var envCreds = new AWS.EnvironmentCredentials('AWS');\n     * AWS.config.credentials = envCreds;\n     * // masterCredentials will be envCreds\n     * AWS.config.credentials = new AWS.ChainableTemporaryCredentials({\n     *   params: {RoleArn: '...'}\n     * });\n     * ```\n     *\n     * Similarly, to use the CredentialProviderChain's default providers as the\n     * master credentials, simply create a new instance of\n     * AWS.ChainableTemporaryCredentials:\n     *\n     * ```javascript\n     * AWS.config.credentials = new ChainableTemporaryCredentials({\n     *   params: {RoleArn: '...'}\n     * });\n     * ```\n     *\n     * @!attribute service\n     *   @return [AWS.STS] the STS service instance used to\n     *     get and refresh temporary credentials from AWS STS.\n     * @note (see constructor)\n     */AWS.ChainableTemporaryCredentials=AWS.util.inherit(AWS.Credentials,{/**\n       * Creates a new temporary credentials object.\n       *\n       * @param options [map] a set of options\n       * @option options params [map] ({}) a map of options that are passed to the\n       *   {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations.\n       *   If a `RoleArn` parameter is passed in, credentials will be based on the\n       *   IAM role. If a `SerialNumber` parameter is passed in, {tokenCodeFn} must\n       *   also be passed in or an error will be thrown.\n       * @option options masterCredentials [AWS.Credentials] the master credentials\n       *   used to get and refresh temporary credentials from AWS STS. By default,\n       *   AWS.config.credentials or AWS.config.credentialProvider will be used.\n       * @option options tokenCodeFn [Function] (null) Function to provide\n       *   `TokenCode`, if `SerialNumber` is provided for profile in {params}. Function\n       *   is called with value of `SerialNumber` and `callback`, and should provide\n       *   the `TokenCode` or an error to the callback in the format\n       *   `callback(err, token)`.\n       * @example Creating a new credentials object for generic temporary credentials\n       *   AWS.config.credentials = new AWS.ChainableTemporaryCredentials();\n       * @example Creating a new credentials object for an IAM role\n       *   AWS.config.credentials = new AWS.ChainableTemporaryCredentials({\n       *     params: {\n       *       RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials'\n       *     }\n       *   });\n       * @see AWS.STS.assumeRole\n       * @see AWS.STS.getSessionToken\n       */constructor:function ChainableTemporaryCredentials(options){AWS.Credentials.call(this);options=options||{};this.errorCode='ChainableTemporaryCredentialsProviderFailure';this.expired=true;this.tokenCodeFn=null;var params=AWS.util.copy(options.params)||{};if(params.RoleArn){params.RoleSessionName=params.RoleSessionName||'temporary-credentials';}if(params.SerialNumber){if(!options.tokenCodeFn||typeof options.tokenCodeFn!=='function'){throw new AWS.util.error(new Error('tokenCodeFn must be a function when params.SerialNumber is given'),{code:this.errorCode});}else{this.tokenCodeFn=options.tokenCodeFn;}}var config=AWS.util.merge({params:params,credentials:options.masterCredentials||AWS.config.credentials},options.stsConfig||{});this.service=new STS(config);},/**\n       * Refreshes credentials using {AWS.STS.assumeRole} or\n       * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed\n       * to the credentials {constructor}.\n       *\n       * @callback callback function(err)\n       *   Called when the STS service responds (or fails). When\n       *   this callback is called with no error, it means that the credentials\n       *   information has been loaded into the object (as the `accessKeyId`,\n       *   `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @see AWS.Credentials.get\n       */refresh:function refresh(callback){this.coalesceRefresh(callback||AWS.util.fn.callback);},/**\n       * @api private\n       * @param callback\n       */load:function load(callback){var self=this;var operation=self.service.config.params.RoleArn?'assumeRole':'getSessionToken';this.getTokenCode(function(err,tokenCode){var params={};if(err){callback(err);return;}if(tokenCode){params.TokenCode=tokenCode;}self.service[operation](params,function(err,data){if(!err){self.service.credentialsFrom(data,self);}callback(err);});});},/**\n       * @api private\n       */getTokenCode:function getTokenCode(callback){var self=this;if(this.tokenCodeFn){this.tokenCodeFn(this.service.config.params.SerialNumber,function(err,token){if(err){var message=err;if(err instanceof Error){message=err.message;}callback(AWS.util.error(new Error('Error fetching MFA token: '+message),{code:self.errorCode}));return;}callback(null,token);});}else{callback(null);}}});},{\"../../clients/sts\":8,\"../core\":19}],22:[function(require,module,exports){var AWS=require('../core');var CognitoIdentity=require('../../clients/cognitoidentity');var STS=require('../../clients/sts');/**\n     * Represents credentials retrieved from STS Web Identity Federation using\n     * the Amazon Cognito Identity service.\n     *\n     * By default this provider gets credentials using the\n     * {AWS.CognitoIdentity.getCredentialsForIdentity} service operation, which\n     * requires either an `IdentityId` or an `IdentityPoolId` (Amazon Cognito\n     * Identity Pool ID), which is used to call {AWS.CognitoIdentity.getId} to\n     * obtain an `IdentityId`. If the identity or identity pool is not configured in\n     * the Amazon Cognito Console to use IAM roles with the appropriate permissions,\n     * then additionally a `RoleArn` is required containing the ARN of the IAM trust\n     * policy for the Amazon Cognito role that the user will log into. If a `RoleArn`\n     * is provided, then this provider gets credentials using the\n     * {AWS.STS.assumeRoleWithWebIdentity} service operation, after first getting an\n     * Open ID token from {AWS.CognitoIdentity.getOpenIdToken}.\n     *\n     * In addition, if this credential provider is used to provide authenticated\n     * login, the `Logins` map may be set to the tokens provided by the respective\n     * identity providers. See {constructor} for an example on creating a credentials\n     * object with proper property values.\n     *\n     * ## Refreshing Credentials from Identity Service\n     *\n     * In addition to AWS credentials expiring after a given amount of time, the\n     * login token from the identity provider will also expire. Once this token\n     * expires, it will not be usable to refresh AWS credentials, and another\n     * token will be needed. The SDK does not manage refreshing of the token value,\n     * but this can be done through a \"refresh token\" supported by most identity\n     * providers. Consult the documentation for the identity provider for refreshing\n     * tokens. Once the refreshed token is acquired, you should make sure to update\n     * this new token in the credentials object's {params} property. The following\n     * code will update the WebIdentityToken, assuming you have retrieved an updated\n     * token from the identity provider:\n     *\n     * ```javascript\n     * AWS.config.credentials.params.Logins['graph.facebook.com'] = updatedToken;\n     * ```\n     *\n     * Future calls to `credentials.refresh()` will now use the new token.\n     *\n     * @!attribute params\n     *   @return [map] the map of params passed to\n     *     {AWS.CognitoIdentity.getId},\n     *     {AWS.CognitoIdentity.getOpenIdToken}, and\n     *     {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the\n     *     `params.WebIdentityToken` property.\n     * @!attribute data\n     *   @return [map] the raw data response from the call to\n     *     {AWS.CognitoIdentity.getCredentialsForIdentity}, or\n     *     {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get\n     *     access to other properties from the response.\n     * @!attribute identityId\n     *   @return [String] the Cognito ID returned by the last call to\n     *     {AWS.CognitoIdentity.getOpenIdToken}. This ID represents the actual\n     *     final resolved identity ID from Amazon Cognito.\n     */AWS.CognitoIdentityCredentials=AWS.util.inherit(AWS.Credentials,{/**\n       * @api private\n       */localStorageKey:{id:'aws.cognito.identity-id.',providers:'aws.cognito.identity-providers.'},/**\n       * Creates a new credentials object.\n       * @example Creating a new credentials object\n       *   AWS.config.credentials = new AWS.CognitoIdentityCredentials({\n       *\n       *     // either IdentityPoolId or IdentityId is required\n       *     // See the IdentityPoolId param for AWS.CognitoIdentity.getID (linked below)\n       *     // See the IdentityId param for AWS.CognitoIdentity.getCredentialsForIdentity\n       *     // or AWS.CognitoIdentity.getOpenIdToken (linked below)\n       *     IdentityPoolId: 'us-east-1:1699ebc0-7900-4099-b910-2df94f52a030',\n       *     IdentityId: 'us-east-1:128d0a74-c82f-4553-916d-90053e4a8b0f'\n       *\n       *     // optional, only necessary when the identity pool is not configured\n       *     // to use IAM roles in the Amazon Cognito Console\n       *     // See the RoleArn param for AWS.STS.assumeRoleWithWebIdentity (linked below)\n       *     RoleArn: 'arn:aws:iam::1234567890:role/MYAPP-CognitoIdentity',\n       *\n       *     // optional tokens, used for authenticated login\n       *     // See the Logins param for AWS.CognitoIdentity.getID (linked below)\n       *     Logins: {\n       *       'graph.facebook.com': 'FBTOKEN',\n       *       'www.amazon.com': 'AMAZONTOKEN',\n       *       'accounts.google.com': 'GOOGLETOKEN',\n       *       'api.twitter.com': 'TWITTERTOKEN',\n       *       'www.digits.com': 'DIGITSTOKEN'\n       *     },\n       *\n       *     // optional name, defaults to web-identity\n       *     // See the RoleSessionName param for AWS.STS.assumeRoleWithWebIdentity (linked below)\n       *     RoleSessionName: 'web',\n       *\n       *     // optional, only necessary when application runs in a browser\n       *     // and multiple users are signed in at once, used for caching\n       *     LoginId: 'example@gmail.com'\n       *\n       *   }, {\n       *      // optionally provide configuration to apply to the underlying service clients\n       *      // if configuration is not provided, then configuration will be pulled from AWS.config\n       *\n       *      // region should match the region your identity pool is located in\n       *      region: 'us-east-1',\n       *\n       *      // specify timeout options\n       *      httpOptions: {\n       *        timeout: 100\n       *      }\n       *   });\n       * @see AWS.CognitoIdentity.getId\n       * @see AWS.CognitoIdentity.getCredentialsForIdentity\n       * @see AWS.STS.assumeRoleWithWebIdentity\n       * @see AWS.CognitoIdentity.getOpenIdToken\n       * @see AWS.Config\n       * @note If a region is not provided in the global AWS.config, or\n       *   specified in the `clientConfig` to the CognitoIdentityCredentials\n       *   constructor, you may encounter a 'Missing credentials in config' error\n       *   when calling making a service call.\n       */constructor:function CognitoIdentityCredentials(params,clientConfig){AWS.Credentials.call(this);this.expired=true;this.params=params;this.data=null;this._identityId=null;this._clientConfig=AWS.util.copy(clientConfig||{});this.loadCachedId();var self=this;Object.defineProperty(this,'identityId',{get:function get(){self.loadCachedId();return self._identityId||self.params.IdentityId;},set:function set(identityId){self._identityId=identityId;}});},/**\n       * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity},\n       * or {AWS.STS.assumeRoleWithWebIdentity}.\n       *\n       * @callback callback function(err)\n       *   Called when the STS service responds (or fails). When\n       *   this callback is called with no error, it means that the credentials\n       *   information has been loaded into the object (as the `accessKeyId`,\n       *   `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @see AWS.Credentials.get\n       */refresh:function refresh(callback){this.coalesceRefresh(callback||AWS.util.fn.callback);},/**\n       * @api private\n       * @param callback\n       */load:function load(callback){var self=this;self.createClients();self.data=null;self._identityId=null;self.getId(function(err){if(!err){if(!self.params.RoleArn){self.getCredentialsForIdentity(callback);}else{self.getCredentialsFromSTS(callback);}}else{self.clearIdOnNotAuthorized(err);callback(err);}});},/**\n       * Clears the cached Cognito ID associated with the currently configured\n       * identity pool ID. Use this to manually invalidate your cache if\n       * the identity pool ID was deleted.\n       */clearCachedId:function clearCache(){this._identityId=null;delete this.params.IdentityId;var poolId=this.params.IdentityPoolId;var loginId=this.params.LoginId||'';delete this.storage[this.localStorageKey.id+poolId+loginId];delete this.storage[this.localStorageKey.providers+poolId+loginId];},/**\n       * @api private\n       */clearIdOnNotAuthorized:function clearIdOnNotAuthorized(err){var self=this;if(err.code=='NotAuthorizedException'){self.clearCachedId();}},/**\n       * Retrieves a Cognito ID, loading from cache if it was already retrieved\n       * on this device.\n       *\n       * @callback callback function(err, identityId)\n       *   @param err [Error, null] an error object if the call failed or null if\n       *     it succeeded.\n       *   @param identityId [String, null] if successful, the callback will return\n       *     the Cognito ID.\n       * @note If not loaded explicitly, the Cognito ID is loaded and stored in\n       *   localStorage in the browser environment of a device.\n       * @api private\n       */getId:function getId(callback){var self=this;if(typeof self.params.IdentityId==='string'){return callback(null,self.params.IdentityId);}self.cognito.getId(function(err,data){if(!err&&data.IdentityId){self.params.IdentityId=data.IdentityId;callback(null,data.IdentityId);}else{callback(err);}});},/**\n       * @api private\n       */loadCredentials:function loadCredentials(data,credentials){if(!data||!credentials)return;credentials.expired=false;credentials.accessKeyId=data.Credentials.AccessKeyId;credentials.secretAccessKey=data.Credentials.SecretKey;credentials.sessionToken=data.Credentials.SessionToken;credentials.expireTime=data.Credentials.Expiration;},/**\n       * @api private\n       */getCredentialsForIdentity:function getCredentialsForIdentity(callback){var self=this;self.cognito.getCredentialsForIdentity(function(err,data){if(!err){self.cacheId(data);self.data=data;self.loadCredentials(self.data,self);}else{self.clearIdOnNotAuthorized(err);}callback(err);});},/**\n       * @api private\n       */getCredentialsFromSTS:function getCredentialsFromSTS(callback){var self=this;self.cognito.getOpenIdToken(function(err,data){if(!err){self.cacheId(data);self.params.WebIdentityToken=data.Token;self.webIdentityCredentials.refresh(function(webErr){if(!webErr){self.data=self.webIdentityCredentials.data;self.sts.credentialsFrom(self.data,self);}callback(webErr);});}else{self.clearIdOnNotAuthorized(err);callback(err);}});},/**\n       * @api private\n       */loadCachedId:function loadCachedId(){var self=this;// in the browser we source default IdentityId from localStorage\nif(AWS.util.isBrowser()&&!self.params.IdentityId){var id=self.getStorage('id');if(id&&self.params.Logins){var actualProviders=Object.keys(self.params.Logins);var cachedProviders=(self.getStorage('providers')||'').split(',');// only load ID if at least one provider used this ID before\nvar intersect=cachedProviders.filter(function(n){return actualProviders.indexOf(n)!==-1;});if(intersect.length!==0){self.params.IdentityId=id;}}else if(id){self.params.IdentityId=id;}}},/**\n       * @api private\n       */createClients:function createClients(){var clientConfig=this._clientConfig;this.webIdentityCredentials=this.webIdentityCredentials||new AWS.WebIdentityCredentials(this.params,clientConfig);if(!this.cognito){var cognitoConfig=AWS.util.merge({},clientConfig);cognitoConfig.params=this.params;this.cognito=new CognitoIdentity(cognitoConfig);}this.sts=this.sts||new STS(clientConfig);},/**\n       * @api private\n       */cacheId:function cacheId(data){this._identityId=data.IdentityId;this.params.IdentityId=this._identityId;// cache this IdentityId in browser localStorage if possible\nif(AWS.util.isBrowser()){this.setStorage('id',data.IdentityId);if(this.params.Logins){this.setStorage('providers',Object.keys(this.params.Logins).join(','));}}},/**\n       * @api private\n       */getStorage:function getStorage(key){return this.storage[this.localStorageKey[key]+this.params.IdentityPoolId+(this.params.LoginId||'')];},/**\n       * @api private\n       */setStorage:function setStorage(key,val){try{this.storage[this.localStorageKey[key]+this.params.IdentityPoolId+(this.params.LoginId||'')]=val;}catch(_){}},/**\n       * @api private\n       */storage:function(){try{var storage=AWS.util.isBrowser()&&window.localStorage!==null&&_typeof(window.localStorage)==='object'?window.localStorage:{};// Test set/remove which would throw an error in Safari's private browsing\nstorage['aws.test-storage']='foobar';delete storage['aws.test-storage'];return storage;}catch(_){return{};}}()});},{\"../../clients/cognitoidentity\":7,\"../../clients/sts\":8,\"../core\":19}],23:[function(require,module,exports){var AWS=require('../core');/**\n     * Creates a credential provider chain that searches for AWS credentials\n     * in a list of credential providers specified by the {providers} property.\n     *\n     * By default, the chain will use the {defaultProviders} to resolve credentials.\n     * These providers will look in the environment using the\n     * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes.\n     *\n     * ## Setting Providers\n     *\n     * Each provider in the {providers} list should be a function that returns\n     * a {AWS.Credentials} object, or a hardcoded credentials object. The function\n     * form allows for delayed execution of the credential construction.\n     *\n     * ## Resolving Credentials from a Chain\n     *\n     * Call {resolve} to return the first valid credential object that can be\n     * loaded by the provider chain.\n     *\n     * For example, to resolve a chain with a custom provider that checks a file\n     * on disk after the set of {defaultProviders}:\n     *\n     * ```javascript\n     * var diskProvider = new AWS.FileSystemCredentials('./creds.json');\n     * var chain = new AWS.CredentialProviderChain();\n     * chain.providers.push(diskProvider);\n     * chain.resolve();\n     * ```\n     *\n     * The above code will return the `diskProvider` object if the\n     * file contains credentials and the `defaultProviders` do not contain\n     * any credential settings.\n     *\n     * @!attribute providers\n     *   @return [Array<AWS.Credentials, Function>]\n     *     a list of credentials objects or functions that return credentials\n     *     objects. If the provider is a function, the function will be\n     *     executed lazily when the provider needs to be checked for valid\n     *     credentials. By default, this object will be set to the\n     *     {defaultProviders}.\n     *   @see defaultProviders\n     */AWS.CredentialProviderChain=AWS.util.inherit(AWS.Credentials,{/**\n       * Creates a new CredentialProviderChain with a default set of providers\n       * specified by {defaultProviders}.\n       */constructor:function CredentialProviderChain(providers){if(providers){this.providers=providers;}else{this.providers=AWS.CredentialProviderChain.defaultProviders.slice(0);}this.resolveCallbacks=[];},/**\n       * @!method  resolvePromise()\n       *   Returns a 'thenable' promise.\n       *   Resolves the provider chain by searching for the first set of\n       *   credentials in {providers}.\n       *\n       *   Two callbacks can be provided to the `then` method on the returned promise.\n       *   The first callback will be called if the promise is fulfilled, and the second\n       *   callback will be called if the promise is rejected.\n       *   @callback fulfilledCallback function(credentials)\n       *     Called if the promise is fulfilled and the provider resolves the chain\n       *     to a credentials object\n       *     @param credentials [AWS.Credentials] the credentials object resolved\n       *       by the provider chain.\n       *   @callback rejectedCallback function(error)\n       *     Called if the promise is rejected.\n       *     @param err [Error] the error object returned if no credentials are found.\n       *   @return [Promise] A promise that represents the state of the `resolve` method call.\n       *   @example Calling the `resolvePromise` method.\n       *     var promise = chain.resolvePromise();\n       *     promise.then(function(credentials) { ... }, function(err) { ... });\n       *//**\n       * Resolves the provider chain by searching for the first set of\n       * credentials in {providers}.\n       *\n       * @callback callback function(err, credentials)\n       *   Called when the provider resolves the chain to a credentials object\n       *   or null if no credentials can be found.\n       *\n       *   @param err [Error] the error object returned if no credentials are\n       *     found.\n       *   @param credentials [AWS.Credentials] the credentials object resolved\n       *     by the provider chain.\n       * @return [AWS.CredentialProviderChain] the provider, for chaining.\n       */resolve:function resolve(callback){var self=this;if(self.providers.length===0){callback(new Error('No providers'));return self;}if(self.resolveCallbacks.push(callback)===1){var _resolveNext=function resolveNext(err,creds){if(!err&&creds||index===providers.length){AWS.util.arrayEach(self.resolveCallbacks,function(callback){callback(err,creds);});self.resolveCallbacks.length=0;return;}var provider=providers[index++];if(typeof provider==='function'){creds=provider.call();}else{creds=provider;}if(creds.get){creds.get(function(getErr){_resolveNext(getErr,getErr?null:creds);});}else{_resolveNext(null,creds);}};var index=0;var providers=self.providers.slice(0);_resolveNext();}return self;}});/**\n     * The default set of providers used by a vanilla CredentialProviderChain.\n     *\n     * In the browser:\n     *\n     * ```javascript\n     * AWS.CredentialProviderChain.defaultProviders = []\n     * ```\n     *\n     * In Node.js:\n     *\n     * ```javascript\n     * AWS.CredentialProviderChain.defaultProviders = [\n     *   function () { return new AWS.EnvironmentCredentials('AWS'); },\n     *   function () { return new AWS.EnvironmentCredentials('AMAZON'); },\n     *   function () { return new AWS.SsoCredentials(); },\n     *   function () { return new AWS.SharedIniFileCredentials(); },\n     *   function () { return new AWS.ECSCredentials(); },\n     *   function () { return new AWS.ProcessCredentials(); },\n     *   function () { return new AWS.TokenFileWebIdentityCredentials(); },\n     *   function () { return new AWS.EC2MetadataCredentials() }\n     * ]\n     * ```\n     */AWS.CredentialProviderChain.defaultProviders=[];/**\n     * @api private\n     */AWS.CredentialProviderChain.addPromisesToClass=function addPromisesToClass(PromiseDependency){this.prototype.resolvePromise=AWS.util.promisifyMethod('resolve',PromiseDependency);};/**\n     * @api private\n     */AWS.CredentialProviderChain.deletePromisesFromClass=function deletePromisesFromClass(){delete this.prototype.resolvePromise;};AWS.util.addPromises(AWS.CredentialProviderChain);},{\"../core\":19}],24:[function(require,module,exports){var AWS=require('../core');var STS=require('../../clients/sts');/**\n     * Represents credentials retrieved from STS SAML support.\n     *\n     * By default this provider gets credentials using the\n     * {AWS.STS.assumeRoleWithSAML} service operation. This operation\n     * requires a `RoleArn` containing the ARN of the IAM trust policy for the\n     * application for which credentials will be given, as well as a `PrincipalArn`\n     * representing the ARN for the SAML identity provider. In addition, the\n     * `SAMLAssertion` must be set to the token provided by the identity\n     * provider. See {constructor} for an example on creating a credentials\n     * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values.\n     *\n     * ## Refreshing Credentials from Identity Service\n     *\n     * In addition to AWS credentials expiring after a given amount of time, the\n     * login token from the identity provider will also expire. Once this token\n     * expires, it will not be usable to refresh AWS credentials, and another\n     * token will be needed. The SDK does not manage refreshing of the token value,\n     * but this can be done through a \"refresh token\" supported by most identity\n     * providers. Consult the documentation for the identity provider for refreshing\n     * tokens. Once the refreshed token is acquired, you should make sure to update\n     * this new token in the credentials object's {params} property. The following\n     * code will update the SAMLAssertion, assuming you have retrieved an updated\n     * token from the identity provider:\n     *\n     * ```javascript\n     * AWS.config.credentials.params.SAMLAssertion = updatedToken;\n     * ```\n     *\n     * Future calls to `credentials.refresh()` will now use the new token.\n     *\n     * @!attribute params\n     *   @return [map] the map of params passed to\n     *     {AWS.STS.assumeRoleWithSAML}. To update the token, set the\n     *     `params.SAMLAssertion` property.\n     */AWS.SAMLCredentials=AWS.util.inherit(AWS.Credentials,{/**\n       * Creates a new credentials object.\n       * @param (see AWS.STS.assumeRoleWithSAML)\n       * @example Creating a new credentials object\n       *   AWS.config.credentials = new AWS.SAMLCredentials({\n       *     RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole',\n       *     PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal',\n       *     SAMLAssertion: 'base64-token', // base64-encoded token from IdP\n       *   });\n       * @see AWS.STS.assumeRoleWithSAML\n       */constructor:function SAMLCredentials(params){AWS.Credentials.call(this);this.expired=true;this.params=params;},/**\n       * Refreshes credentials using {AWS.STS.assumeRoleWithSAML}\n       *\n       * @callback callback function(err)\n       *   Called when the STS service responds (or fails). When\n       *   this callback is called with no error, it means that the credentials\n       *   information has been loaded into the object (as the `accessKeyId`,\n       *   `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @see get\n       */refresh:function refresh(callback){this.coalesceRefresh(callback||AWS.util.fn.callback);},/**\n       * @api private\n       */load:function load(callback){var self=this;self.createClients();self.service.assumeRoleWithSAML(function(err,data){if(!err){self.service.credentialsFrom(data,self);}callback(err);});},/**\n       * @api private\n       */createClients:function createClients(){this.service=this.service||new STS({params:this.params});}});},{\"../../clients/sts\":8,\"../core\":19}],25:[function(require,module,exports){var AWS=require('../core');var STS=require('../../clients/sts');/**\n     * Represents temporary credentials retrieved from {AWS.STS}. Without any\n     * extra parameters, credentials will be fetched from the\n     * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the\n     * {AWS.STS.assumeRole} operation will be used to fetch credentials for the\n     * role instead.\n     *\n     * @note AWS.TemporaryCredentials is deprecated, but remains available for\n     *   backwards compatibility. {AWS.ChainableTemporaryCredentials} is the\n     *   preferred class for temporary credentials.\n     *\n     * To setup temporary credentials, configure a set of master credentials\n     * using the standard credentials providers (environment, EC2 instance metadata,\n     * or from the filesystem), then set the global credentials to a new\n     * temporary credentials object:\n     *\n     * ```javascript\n     * // Note that environment credentials are loaded by default,\n     * // the following line is shown for clarity:\n     * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS');\n     *\n     * // Now set temporary credentials seeded from the master credentials\n     * AWS.config.credentials = new AWS.TemporaryCredentials();\n     *\n     * // subsequent requests will now use temporary credentials from AWS STS.\n     * new AWS.S3().listBucket(function(err, data) { ... });\n     * ```\n     *\n     * @!attribute masterCredentials\n     *   @return [AWS.Credentials] the master (non-temporary) credentials used to\n     *     get and refresh temporary credentials from AWS STS.\n     * @note (see constructor)\n     */AWS.TemporaryCredentials=AWS.util.inherit(AWS.Credentials,{/**\n       * Creates a new temporary credentials object.\n       *\n       * @note In order to create temporary credentials, you first need to have\n       *   \"master\" credentials configured in {AWS.Config.credentials}. These\n       *   master credentials are necessary to retrieve the temporary credentials,\n       *   as well as refresh the credentials when they expire.\n       * @param params [map] a map of options that are passed to the\n       *   {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations.\n       *   If a `RoleArn` parameter is passed in, credentials will be based on the\n       *   IAM role.\n       * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials\n       *  used to get and refresh temporary credentials from AWS STS.\n       * @example Creating a new credentials object for generic temporary credentials\n       *   AWS.config.credentials = new AWS.TemporaryCredentials();\n       * @example Creating a new credentials object for an IAM role\n       *   AWS.config.credentials = new AWS.TemporaryCredentials({\n       *     RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials',\n       *   });\n       * @see AWS.STS.assumeRole\n       * @see AWS.STS.getSessionToken\n       */constructor:function TemporaryCredentials(params,masterCredentials){AWS.Credentials.call(this);this.loadMasterCredentials(masterCredentials);this.expired=true;this.params=params||{};if(this.params.RoleArn){this.params.RoleSessionName=this.params.RoleSessionName||'temporary-credentials';}},/**\n       * Refreshes credentials using {AWS.STS.assumeRole} or\n       * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed\n       * to the credentials {constructor}.\n       *\n       * @callback callback function(err)\n       *   Called when the STS service responds (or fails). When\n       *   this callback is called with no error, it means that the credentials\n       *   information has been loaded into the object (as the `accessKeyId`,\n       *   `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @see get\n       */refresh:function refresh(callback){this.coalesceRefresh(callback||AWS.util.fn.callback);},/**\n       * @api private\n       */load:function load(callback){var self=this;self.createClients();self.masterCredentials.get(function(){self.service.config.credentials=self.masterCredentials;var operation=self.params.RoleArn?self.service.assumeRole:self.service.getSessionToken;operation.call(self.service,function(err,data){if(!err){self.service.credentialsFrom(data,self);}callback(err);});});},/**\n       * @api private\n       */loadMasterCredentials:function loadMasterCredentials(masterCredentials){this.masterCredentials=masterCredentials||AWS.config.credentials;while(this.masterCredentials.masterCredentials){this.masterCredentials=this.masterCredentials.masterCredentials;}if(typeof this.masterCredentials.get!=='function'){this.masterCredentials=new AWS.Credentials(this.masterCredentials);}},/**\n       * @api private\n       */createClients:function createClients(){this.service=this.service||new STS({params:this.params});}});},{\"../../clients/sts\":8,\"../core\":19}],26:[function(require,module,exports){var AWS=require('../core');var STS=require('../../clients/sts');/**\n     * Represents credentials retrieved from STS Web Identity Federation support.\n     *\n     * By default this provider gets credentials using the\n     * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation\n     * requires a `RoleArn` containing the ARN of the IAM trust policy for the\n     * application for which credentials will be given. In addition, the\n     * `WebIdentityToken` must be set to the token provided by the identity\n     * provider. See {constructor} for an example on creating a credentials\n     * object with proper `RoleArn` and `WebIdentityToken` values.\n     *\n     * ## Refreshing Credentials from Identity Service\n     *\n     * In addition to AWS credentials expiring after a given amount of time, the\n     * login token from the identity provider will also expire. Once this token\n     * expires, it will not be usable to refresh AWS credentials, and another\n     * token will be needed. The SDK does not manage refreshing of the token value,\n     * but this can be done through a \"refresh token\" supported by most identity\n     * providers. Consult the documentation for the identity provider for refreshing\n     * tokens. Once the refreshed token is acquired, you should make sure to update\n     * this new token in the credentials object's {params} property. The following\n     * code will update the WebIdentityToken, assuming you have retrieved an updated\n     * token from the identity provider:\n     *\n     * ```javascript\n     * AWS.config.credentials.params.WebIdentityToken = updatedToken;\n     * ```\n     *\n     * Future calls to `credentials.refresh()` will now use the new token.\n     *\n     * @!attribute params\n     *   @return [map] the map of params passed to\n     *     {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the\n     *     `params.WebIdentityToken` property.\n     * @!attribute data\n     *   @return [map] the raw data response from the call to\n     *     {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get\n     *     access to other properties from the response.\n     */AWS.WebIdentityCredentials=AWS.util.inherit(AWS.Credentials,{/**\n       * Creates a new credentials object.\n       * @param (see AWS.STS.assumeRoleWithWebIdentity)\n       * @example Creating a new credentials object\n       *   AWS.config.credentials = new AWS.WebIdentityCredentials({\n       *     RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity',\n       *     WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service\n       *     RoleSessionName: 'web' // optional name, defaults to web-identity\n       *   }, {\n       *     // optionally provide configuration to apply to the underlying AWS.STS service client\n       *     // if configuration is not provided, then configuration will be pulled from AWS.config\n       *\n       *     // specify timeout options\n       *     httpOptions: {\n       *       timeout: 100\n       *     }\n       *   });\n       * @see AWS.STS.assumeRoleWithWebIdentity\n       * @see AWS.Config\n       */constructor:function WebIdentityCredentials(params,clientConfig){AWS.Credentials.call(this);this.expired=true;this.params=params;this.params.RoleSessionName=this.params.RoleSessionName||'web-identity';this.data=null;this._clientConfig=AWS.util.copy(clientConfig||{});},/**\n       * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity}\n       *\n       * @callback callback function(err)\n       *   Called when the STS service responds (or fails). When\n       *   this callback is called with no error, it means that the credentials\n       *   information has been loaded into the object (as the `accessKeyId`,\n       *   `secretAccessKey`, and `sessionToken` properties).\n       *   @param err [Error] if an error occurred, this value will be filled\n       * @see get\n       */refresh:function refresh(callback){this.coalesceRefresh(callback||AWS.util.fn.callback);},/**\n       * @api private\n       */load:function load(callback){var self=this;self.createClients();self.service.assumeRoleWithWebIdentity(function(err,data){self.data=null;if(!err){self.data=data;self.service.credentialsFrom(data,self);}callback(err);});},/**\n       * @api private\n       */createClients:function createClients(){if(!this.service){var stsConfig=AWS.util.merge({},this._clientConfig);stsConfig.params=this.params;this.service=new STS(stsConfig);}}});},{\"../../clients/sts\":8,\"../core\":19}],27:[function(require,module,exports){(function(process){(function(){var AWS=require('./core');var util=require('./util');var endpointDiscoveryEnabledEnvs=['AWS_ENABLE_ENDPOINT_DISCOVERY','AWS_ENDPOINT_DISCOVERY_ENABLED'];/**\n         * Generate key (except resources and operation part) to index the endpoints in the cache\n         * If input shape has endpointdiscoveryid trait then use\n         *   accessKey + operation + resources + region + service as cache key\n         * If input shape doesn't have endpointdiscoveryid trait then use\n         *   accessKey + region + service as cache key\n         * @return [map<String,String>] object with keys to index endpoints.\n         * @api private\n         */function getCacheKey(request){var service=request.service;var api=service.api||{};var operations=api.operations;var identifiers={};if(service.config.region){identifiers.region=service.config.region;}if(api.serviceId){identifiers.serviceId=api.serviceId;}if(service.config.credentials.accessKeyId){identifiers.accessKeyId=service.config.credentials.accessKeyId;}return identifiers;}/**\n         * Recursive helper for marshallCustomIdentifiers().\n         * Looks for required string input members that have 'endpointdiscoveryid' trait.\n         * @api private\n         */function marshallCustomIdentifiersHelper(result,params,shape){if(!shape||params===undefined||params===null)return;if(shape.type==='structure'&&shape.required&&shape.required.length>0){util.arrayEach(shape.required,function(name){var memberShape=shape.members[name];if(memberShape.endpointDiscoveryId===true){var locationName=memberShape.isLocationName?memberShape.name:name;result[locationName]=String(params[name]);}else{marshallCustomIdentifiersHelper(result,params[name],memberShape);}});}}/**\n         * Get custom identifiers for cache key.\n         * Identifies custom identifiers by checking each shape's `endpointDiscoveryId` trait.\n         * @param [object] request object\n         * @param [object] input shape of the given operation's api\n         * @api private\n         */function marshallCustomIdentifiers(request,shape){var identifiers={};marshallCustomIdentifiersHelper(identifiers,request.params,shape);return identifiers;}/**\n         * Call endpoint discovery operation when it's optional.\n         * When endpoint is available in cache then use the cached endpoints. If endpoints\n         * are unavailable then use regional endpoints and call endpoint discovery operation\n         * asynchronously. This is turned off by default.\n         * @param [object] request object\n         * @api private\n         */function optionalDiscoverEndpoint(request){var service=request.service;var api=service.api;var operationModel=api.operations?api.operations[request.operation]:undefined;var inputShape=operationModel?operationModel.input:undefined;var identifiers=marshallCustomIdentifiers(request,inputShape);var cacheKey=getCacheKey(request);if(Object.keys(identifiers).length>0){cacheKey=util.update(cacheKey,identifiers);if(operationModel)cacheKey.operation=operationModel.name;}var endpoints=AWS.endpointCache.get(cacheKey);if(endpoints&&endpoints.length===1&&endpoints[0].Address===''){//endpoint operation is being made but response not yet received\n//or endpoint operation just failed in 1 minute\nreturn;}else if(endpoints&&endpoints.length>0){//found endpoint record from cache\nrequest.httpRequest.updateEndpoint(endpoints[0].Address);}else{//endpoint record not in cache or outdated. make discovery operation\nvar endpointRequest=service.makeRequest(api.endpointOperation,{Operation:operationModel.name,Identifiers:identifiers});addApiVersionHeader(endpointRequest);endpointRequest.removeListener('validate',AWS.EventListeners.Core.VALIDATE_PARAMETERS);endpointRequest.removeListener('retry',AWS.EventListeners.Core.RETRY_CHECK);//put in a placeholder for endpoints already requested, prevent\n//too much in-flight calls\nAWS.endpointCache.put(cacheKey,[{Address:'',CachePeriodInMinutes:1}]);endpointRequest.send(function(err,data){if(data&&data.Endpoints){AWS.endpointCache.put(cacheKey,data.Endpoints);}else if(err){AWS.endpointCache.put(cacheKey,[{Address:'',CachePeriodInMinutes:1//not to make more endpoint operation in next 1 minute\n}]);}});}}var requestQueue={};/**\n         * Call endpoint discovery operation when it's required.\n         * When endpoint is available in cache then use cached ones. If endpoints are\n         * unavailable then SDK should call endpoint operation then use returned new\n         * endpoint for the api call. SDK will automatically attempt to do endpoint\n         * discovery. This is turned off by default\n         * @param [object] request object\n         * @api private\n         */function requiredDiscoverEndpoint(request,done){var service=request.service;var api=service.api;var operationModel=api.operations?api.operations[request.operation]:undefined;var inputShape=operationModel?operationModel.input:undefined;var identifiers=marshallCustomIdentifiers(request,inputShape);var cacheKey=getCacheKey(request);if(Object.keys(identifiers).length>0){cacheKey=util.update(cacheKey,identifiers);if(operationModel)cacheKey.operation=operationModel.name;}var cacheKeyStr=AWS.EndpointCache.getKeyString(cacheKey);var endpoints=AWS.endpointCache.get(cacheKeyStr);//endpoint cache also accepts string keys\nif(endpoints&&endpoints.length===1&&endpoints[0].Address===''){//endpoint operation is being made but response not yet received\n//push request object to a pending queue\nif(!requestQueue[cacheKeyStr])requestQueue[cacheKeyStr]=[];requestQueue[cacheKeyStr].push({request:request,callback:done});return;}else if(endpoints&&endpoints.length>0){request.httpRequest.updateEndpoint(endpoints[0].Address);done();}else{var endpointRequest=service.makeRequest(api.endpointOperation,{Operation:operationModel.name,Identifiers:identifiers});endpointRequest.removeListener('validate',AWS.EventListeners.Core.VALIDATE_PARAMETERS);addApiVersionHeader(endpointRequest);//put in a placeholder for endpoints already requested, prevent\n//too much in-flight calls\nAWS.endpointCache.put(cacheKeyStr,[{Address:'',CachePeriodInMinutes:60//long-live cache\n}]);endpointRequest.send(function(err,data){if(err){request.response.error=util.error(err,{retryable:false});AWS.endpointCache.remove(cacheKey);//fail all the pending requests in batch\nif(requestQueue[cacheKeyStr]){var pendingRequests=requestQueue[cacheKeyStr];util.arrayEach(pendingRequests,function(requestContext){requestContext.request.response.error=util.error(err,{retryable:false});requestContext.callback();});delete requestQueue[cacheKeyStr];}}else if(data){AWS.endpointCache.put(cacheKeyStr,data.Endpoints);request.httpRequest.updateEndpoint(data.Endpoints[0].Address);//update the endpoint for all the pending requests in batch\nif(requestQueue[cacheKeyStr]){var pendingRequests=requestQueue[cacheKeyStr];util.arrayEach(pendingRequests,function(requestContext){requestContext.request.httpRequest.updateEndpoint(data.Endpoints[0].Address);requestContext.callback();});delete requestQueue[cacheKeyStr];}}done();});}}/**\n         * add api version header to endpoint operation\n         * @api private\n         */function addApiVersionHeader(endpointRequest){var api=endpointRequest.service.api;var apiVersion=api.apiVersion;if(apiVersion&&!endpointRequest.httpRequest.headers['x-amz-api-version']){endpointRequest.httpRequest.headers['x-amz-api-version']=apiVersion;}}/**\n         * If api call gets invalid endpoint exception, SDK should attempt to remove the invalid\n         * endpoint from cache.\n         * @api private\n         */function invalidateCachedEndpoints(response){var error=response.error;var httpResponse=response.httpResponse;if(error&&(error.code==='InvalidEndpointException'||httpResponse.statusCode===421)){var request=response.request;var operations=request.service.api.operations||{};var inputShape=operations[request.operation]?operations[request.operation].input:undefined;var identifiers=marshallCustomIdentifiers(request,inputShape);var cacheKey=getCacheKey(request);if(Object.keys(identifiers).length>0){cacheKey=util.update(cacheKey,identifiers);if(operations[request.operation])cacheKey.operation=operations[request.operation].name;}AWS.endpointCache.remove(cacheKey);}}/**\n         * If endpoint is explicitly configured, SDK should not do endpoint discovery in anytime.\n         * @param [object] client Service client object.\n         * @api private\n         */function hasCustomEndpoint(client){//if set endpoint is set for specific client, enable endpoint discovery will raise an error.\nif(client._originalConfig&&client._originalConfig.endpoint&&client._originalConfig.endpointDiscoveryEnabled===true){throw util.error(new Error(),{code:'ConfigurationException',message:'Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.'});};var svcConfig=AWS.config[client.serviceIdentifier]||{};return Boolean(AWS.config.endpoint||svcConfig.endpoint||client._originalConfig&&client._originalConfig.endpoint);}/**\n         * @api private\n         */function isFalsy(value){return['false','0'].indexOf(value)>=0;}/**\n         * If endpoint discovery should perform for this request when no operation requires endpoint\n         * discovery for the given service.\n         * SDK performs config resolution in order like below:\n         * 1. If set in client configuration.\n         * 2. If set in env AWS_ENABLE_ENDPOINT_DISCOVERY.\n         * 3. If set in shared ini config file with key 'endpoint_discovery_enabled'.\n         * @param [object] request request object.\n         * @returns [boolean|undefined] if endpoint discovery config is not set in any source, this\n         *  function returns undefined\n         * @api private\n         */function resolveEndpointDiscoveryConfig(request){var service=request.service||{};if(service.config.endpointDiscoveryEnabled!==undefined){return service.config.endpointDiscoveryEnabled;}//shared ini file is only available in Node\n//not to check env in browser\nif(util.isBrowser())return undefined;// If any of recognized endpoint discovery config env is set\nfor(var i=0;i<endpointDiscoveryEnabledEnvs.length;i++){var env=endpointDiscoveryEnabledEnvs[i];if(Object.prototype.hasOwnProperty.call(process.env,env)){if(process.env[env]===''||process.env[env]===undefined){throw util.error(new Error(),{code:'ConfigurationException',message:'environmental variable '+env+' cannot be set to nothing'});}return!isFalsy(process.env[env]);}}var configFile={};try{configFile=AWS.util.iniLoader?AWS.util.iniLoader.loadFrom({isConfig:true,filename:process.env[AWS.util.sharedConfigFileEnv]}):{};}catch(e){}var sharedFileConfig=configFile[process.env.AWS_PROFILE||AWS.util.defaultProfile]||{};if(Object.prototype.hasOwnProperty.call(sharedFileConfig,'endpoint_discovery_enabled')){if(sharedFileConfig.endpoint_discovery_enabled===undefined){throw util.error(new Error(),{code:'ConfigurationException',message:'config file entry \\'endpoint_discovery_enabled\\' cannot be set to nothing'});}return!isFalsy(sharedFileConfig.endpoint_discovery_enabled);}return undefined;}/**\n         * attach endpoint discovery logic to request object\n         * @param [object] request\n         * @api private\n         */function discoverEndpoint(request,done){var service=request.service||{};if(hasCustomEndpoint(service)||request.isPresigned())return done();var operations=service.api.operations||{};var operationModel=operations[request.operation];var isEndpointDiscoveryRequired=operationModel?operationModel.endpointDiscoveryRequired:'NULL';var isEnabled=resolveEndpointDiscoveryConfig(request);var hasRequiredEndpointDiscovery=service.api.hasRequiredEndpointDiscovery;if(isEnabled||hasRequiredEndpointDiscovery){// Once a customer enables endpoint discovery, the SDK should start appending\n// the string endpoint-discovery to the user-agent on all requests.\nrequest.httpRequest.appendToUserAgent('endpoint-discovery');}switch(isEndpointDiscoveryRequired){case'OPTIONAL':if(isEnabled||hasRequiredEndpointDiscovery){// For a given service; if at least one operation requires endpoint discovery then the SDK must enable endpoint discovery\n// by default for all operations of that service, including operations where endpoint discovery is optional.\noptionalDiscoverEndpoint(request);request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS','extractError',invalidateCachedEndpoints);}done();break;case'REQUIRED':if(isEnabled===false){// For a given operation; if endpoint discovery is required and it has been disabled on the SDK client,\n// then the SDK must return a clear and actionable exception.\nrequest.response.error=util.error(new Error(),{code:'ConfigurationException',message:'Endpoint Discovery is disabled but '+service.api.className+'.'+request.operation+'() requires it. Please check your configurations.'});done();break;}request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS','extractError',invalidateCachedEndpoints);requiredDiscoverEndpoint(request,done);break;case'NULL':default:done();break;}}module.exports={discoverEndpoint:discoverEndpoint,requiredDiscoverEndpoint:requiredDiscoverEndpoint,optionalDiscoverEndpoint:optionalDiscoverEndpoint,marshallCustomIdentifiers:marshallCustomIdentifiers,getCacheKey:getCacheKey,invalidateCachedEndpoint:invalidateCachedEndpoints};}).call(this);}).call(this,require('_process'));},{\"./core\":19,\"./util\":74,\"_process\":91}],28:[function(require,module,exports){var eventMessageChunker=require('../event-stream/event-message-chunker').eventMessageChunker;var parseEvent=require('./parse-event').parseEvent;function createEventStream(body,parser,model){var eventMessages=eventMessageChunker(body);var events=[];for(var i=0;i<eventMessages.length;i++){events.push(parseEvent(parser,eventMessages[i],model));}return events;}/**\n     * @api private\n     */module.exports={createEventStream:createEventStream};},{\"../event-stream/event-message-chunker\":29,\"./parse-event\":31}],29:[function(require,module,exports){/**\n     * Takes in a buffer of event messages and splits them into individual messages.\n     * @param {Buffer} buffer\n     * @api private\n     */function eventMessageChunker(buffer){/** @type Buffer[] */var messages=[];var offset=0;while(offset<buffer.length){var totalLength=buffer.readInt32BE(offset);// create new buffer for individual message (shares memory with original)\nvar message=buffer.slice(offset,totalLength+offset);// increment offset to it starts at the next message\noffset+=totalLength;messages.push(message);}return messages;}/**\n     * @api private\n     */module.exports={eventMessageChunker:eventMessageChunker};},{}],30:[function(require,module,exports){var util=require('../core').util;var toBuffer=util.buffer.toBuffer;/**\n     * A lossless representation of a signed, 64-bit integer. Instances of this\n     * class may be used in arithmetic expressions as if they were numeric\n     * primitives, but the binary representation will be preserved unchanged as the\n     * `bytes` property of the object. The bytes should be encoded as big-endian,\n     * two's complement integers.\n     * @param {Buffer} bytes\n     *\n     * @api private\n     */function Int64(bytes){if(bytes.length!==8){throw new Error('Int64 buffers must be exactly 8 bytes');}if(!util.Buffer.isBuffer(bytes))bytes=toBuffer(bytes);this.bytes=bytes;}/**\n     * @param {number} number\n     * @returns {Int64}\n     *\n     * @api private\n     */Int64.fromNumber=function(number){if(number>9223372036854775807||number<-9223372036854775808){throw new Error(number+' is too large (or, if negative, too small) to represent as an Int64');}var bytes=new Uint8Array(8);for(var i=7,remaining=Math.abs(Math.round(number));i>-1&&remaining>0;i--,remaining/=256){bytes[i]=remaining;}if(number<0){negate(bytes);}return new Int64(bytes);};/**\n     * @returns {number}\n     *\n     * @api private\n     */Int64.prototype.valueOf=function(){var bytes=this.bytes.slice(0);var negative=bytes[0]&128;if(negative){negate(bytes);}return parseInt(bytes.toString('hex'),16)*(negative?-1:1);};Int64.prototype.toString=function(){return String(this.valueOf());};/**\n     * @param {Buffer} bytes\n     *\n     * @api private\n     */function negate(bytes){for(var i=0;i<8;i++){bytes[i]^=0xFF;}for(var i=7;i>-1;i--){bytes[i]++;if(bytes[i]!==0){break;}}}/**\n     * @api private\n     */module.exports={Int64:Int64};},{\"../core\":19}],31:[function(require,module,exports){var parseMessage=require('./parse-message').parseMessage;/**\n     *\n     * @param {*} parser\n     * @param {Buffer} message\n     * @param {*} shape\n     * @api private\n     */function parseEvent(parser,message,shape){var parsedMessage=parseMessage(message);// check if message is an event or error\nvar messageType=parsedMessage.headers[':message-type'];if(messageType){if(messageType.value==='error'){throw parseError(parsedMessage);}else if(messageType.value!=='event'){// not sure how to parse non-events/non-errors, ignore for now\nreturn;}}// determine event type\nvar eventType=parsedMessage.headers[':event-type'];// check that the event type is modeled\nvar eventModel=shape.members[eventType.value];if(!eventModel){return;}var result={};// check if an event payload exists\nvar eventPayloadMemberName=eventModel.eventPayloadMemberName;if(eventPayloadMemberName){var payloadShape=eventModel.members[eventPayloadMemberName];// if the shape is binary, return the byte array\nif(payloadShape.type==='binary'){result[eventPayloadMemberName]=parsedMessage.body;}else{result[eventPayloadMemberName]=parser.parse(parsedMessage.body.toString(),payloadShape);}}// read event headers\nvar eventHeaderNames=eventModel.eventHeaderMemberNames;for(var i=0;i<eventHeaderNames.length;i++){var name=eventHeaderNames[i];if(parsedMessage.headers[name]){// parse the header!\nresult[name]=eventModel.members[name].toType(parsedMessage.headers[name].value);}}var output={};output[eventType.value]=result;return output;}function parseError(message){var errorCode=message.headers[':error-code'];var errorMessage=message.headers[':error-message'];var error=new Error(errorMessage.value||errorMessage);error.code=error.name=errorCode.value||errorCode;return error;}/**\n     * @api private\n     */module.exports={parseEvent:parseEvent};},{\"./parse-message\":32}],32:[function(require,module,exports){var Int64=require('./int64').Int64;var splitMessage=require('./split-message').splitMessage;var BOOLEAN_TAG='boolean';var BYTE_TAG='byte';var SHORT_TAG='short';var INT_TAG='integer';var LONG_TAG='long';var BINARY_TAG='binary';var STRING_TAG='string';var TIMESTAMP_TAG='timestamp';var UUID_TAG='uuid';/**\n     * @api private\n     *\n     * @param {Buffer} headers\n     */function parseHeaders(headers){var out={};var position=0;while(position<headers.length){var nameLength=headers.readUInt8(position++);var name=headers.slice(position,position+nameLength).toString();position+=nameLength;switch(headers.readUInt8(position++)){case 0/* boolTrue */:out[name]={type:BOOLEAN_TAG,value:true};break;case 1/* boolFalse */:out[name]={type:BOOLEAN_TAG,value:false};break;case 2/* byte */:out[name]={type:BYTE_TAG,value:headers.readInt8(position++)};break;case 3/* short */:out[name]={type:SHORT_TAG,value:headers.readInt16BE(position)};position+=2;break;case 4/* integer */:out[name]={type:INT_TAG,value:headers.readInt32BE(position)};position+=4;break;case 5/* long */:out[name]={type:LONG_TAG,value:new Int64(headers.slice(position,position+8))};position+=8;break;case 6/* byteArray */:var binaryLength=headers.readUInt16BE(position);position+=2;out[name]={type:BINARY_TAG,value:headers.slice(position,position+binaryLength)};position+=binaryLength;break;case 7/* string */:var stringLength=headers.readUInt16BE(position);position+=2;out[name]={type:STRING_TAG,value:headers.slice(position,position+stringLength).toString()};position+=stringLength;break;case 8/* timestamp */:out[name]={type:TIMESTAMP_TAG,value:new Date(new Int64(headers.slice(position,position+8)).valueOf())};position+=8;break;case 9/* uuid */:var uuidChars=headers.slice(position,position+16).toString('hex');position+=16;out[name]={type:UUID_TAG,value:uuidChars.substr(0,8)+'-'+uuidChars.substr(8,4)+'-'+uuidChars.substr(12,4)+'-'+uuidChars.substr(16,4)+'-'+uuidChars.substr(20)};break;default:throw new Error('Unrecognized header type tag');}}return out;}function parseMessage(message){var parsed=splitMessage(message);return{headers:parseHeaders(parsed.headers),body:parsed.body};}/**\n     * @api private\n     */module.exports={parseMessage:parseMessage};},{\"./int64\":30,\"./split-message\":33}],33:[function(require,module,exports){var util=require('../core').util;var toBuffer=util.buffer.toBuffer;// All prelude components are unsigned, 32-bit integers\nvar PRELUDE_MEMBER_LENGTH=4;// The prelude consists of two components\nvar PRELUDE_LENGTH=PRELUDE_MEMBER_LENGTH*2;// Checksums are always CRC32 hashes.\nvar CHECKSUM_LENGTH=4;// Messages must include a full prelude, a prelude checksum, and a message checksum\nvar MINIMUM_MESSAGE_LENGTH=PRELUDE_LENGTH+CHECKSUM_LENGTH*2;/**\n     * @api private\n     *\n     * @param {Buffer} message\n     */function splitMessage(message){if(!util.Buffer.isBuffer(message))message=toBuffer(message);if(message.length<MINIMUM_MESSAGE_LENGTH){throw new Error('Provided message too short to accommodate event stream message overhead');}if(message.length!==message.readUInt32BE(0)){throw new Error('Reported message length does not match received message length');}var expectedPreludeChecksum=message.readUInt32BE(PRELUDE_LENGTH);if(expectedPreludeChecksum!==util.crypto.crc32(message.slice(0,PRELUDE_LENGTH))){throw new Error('The prelude checksum specified in the message ('+expectedPreludeChecksum+') does not match the calculated CRC32 checksum.');}var expectedMessageChecksum=message.readUInt32BE(message.length-CHECKSUM_LENGTH);if(expectedMessageChecksum!==util.crypto.crc32(message.slice(0,message.length-CHECKSUM_LENGTH))){throw new Error('The message checksum did not match the expected value of '+expectedMessageChecksum);}var headersStart=PRELUDE_LENGTH+CHECKSUM_LENGTH;var headersEnd=headersStart+message.readUInt32BE(PRELUDE_MEMBER_LENGTH);return{headers:message.slice(headersStart,headersEnd),body:message.slice(headersEnd,message.length-CHECKSUM_LENGTH)};}/**\n     * @api private\n     */module.exports={splitMessage:splitMessage};},{\"../core\":19}],34:[function(require,module,exports){(function(process){(function(){var AWS=require('./core');var SequentialExecutor=require('./sequential_executor');var DISCOVER_ENDPOINT=require('./discover_endpoint').discoverEndpoint;/**\n         * The namespace used to register global event listeners for request building\n         * and sending.\n         */AWS.EventListeners={/**\n           * @!attribute VALIDATE_CREDENTIALS\n           *   A request listener that validates whether the request is being\n           *   sent with credentials.\n           *   Handles the {AWS.Request~validate 'validate' Request event}\n           *   @example Sending a request without validating credentials\n           *     var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS;\n           *     request.removeListener('validate', listener);\n           *   @readonly\n           *   @return [Function]\n           * @!attribute VALIDATE_REGION\n           *   A request listener that validates whether the region is set\n           *   for a request.\n           *   Handles the {AWS.Request~validate 'validate' Request event}\n           *   @example Sending a request without validating region configuration\n           *     var listener = AWS.EventListeners.Core.VALIDATE_REGION;\n           *     request.removeListener('validate', listener);\n           *   @readonly\n           *   @return [Function]\n           * @!attribute VALIDATE_PARAMETERS\n           *   A request listener that validates input parameters in a request.\n           *   Handles the {AWS.Request~validate 'validate' Request event}\n           *   @example Sending a request without validating parameters\n           *     var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS;\n           *     request.removeListener('validate', listener);\n           *   @example Disable parameter validation globally\n           *     AWS.EventListeners.Core.removeListener('validate',\n           *       AWS.EventListeners.Core.VALIDATE_REGION);\n           *   @readonly\n           *   @return [Function]\n           * @!attribute SEND\n           *   A request listener that initiates the HTTP connection for a\n           *   request being sent. Handles the {AWS.Request~send 'send' Request event}\n           *   @example Replacing the HTTP handler\n           *     var listener = AWS.EventListeners.Core.SEND;\n           *     request.removeListener('send', listener);\n           *     request.on('send', function(response) {\n           *       customHandler.send(response);\n           *     });\n           *   @return [Function]\n           *   @readonly\n           * @!attribute HTTP_DATA\n           *   A request listener that reads data from the HTTP connection in order\n           *   to build the response data.\n           *   Handles the {AWS.Request~httpData 'httpData' Request event}.\n           *   Remove this handler if you are overriding the 'httpData' event and\n           *   do not want extra data processing and buffering overhead.\n           *   @example Disabling default data processing\n           *     var listener = AWS.EventListeners.Core.HTTP_DATA;\n           *     request.removeListener('httpData', listener);\n           *   @return [Function]\n           *   @readonly\n           */Core:{}/* doc hack */};/**\n         * @api private\n         */function getOperationAuthtype(req){if(!req.service.api.operations){return'';}var operation=req.service.api.operations[req.operation];return operation?operation.authtype:'';}/**\n         * @api private\n         */function getIdentityType(req){var service=req.service;if(service.config.signatureVersion){return service.config.signatureVersion;}if(service.api.signatureVersion){return service.api.signatureVersion;}return getOperationAuthtype(req);}AWS.EventListeners={Core:new SequentialExecutor().addNamedListeners(function(add,addAsync){addAsync('VALIDATE_CREDENTIALS','validate',function VALIDATE_CREDENTIALS(req,done){if(!req.service.api.signatureVersion&&!req.service.config.signatureVersion)return done();// none\nvar identityType=getIdentityType(req);if(identityType==='bearer'){req.service.config.getToken(function(err){if(err){req.response.error=AWS.util.error(err,{code:'TokenError'});}done();});return;}req.service.config.getCredentials(function(err){if(err){req.response.error=AWS.util.error(err,{code:'CredentialsError',message:'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1'});}done();});});add('VALIDATE_REGION','validate',function VALIDATE_REGION(req){if(!req.service.isGlobalEndpoint){var dnsHostRegex=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!req.service.config.region){req.response.error=AWS.util.error(new Error(),{code:'ConfigError',message:'Missing region in config'});}else if(!dnsHostRegex.test(req.service.config.region)){req.response.error=AWS.util.error(new Error(),{code:'ConfigError',message:'Invalid region in config'});}}});add('BUILD_IDEMPOTENCY_TOKENS','validate',function BUILD_IDEMPOTENCY_TOKENS(req){if(!req.service.api.operations){return;}var operation=req.service.api.operations[req.operation];if(!operation){return;}var idempotentMembers=operation.idempotentMembers;if(!idempotentMembers.length){return;}// creates a copy of params so user's param object isn't mutated\nvar params=AWS.util.copy(req.params);for(var i=0,iLen=idempotentMembers.length;i<iLen;i++){if(!params[idempotentMembers[i]]){// add the member\nparams[idempotentMembers[i]]=AWS.util.uuid.v4();}}req.params=params;});add('VALIDATE_PARAMETERS','validate',function VALIDATE_PARAMETERS(req){if(!req.service.api.operations){return;}var rules=req.service.api.operations[req.operation].input;var validation=req.service.config.paramValidation;new AWS.ParamValidator(validation).validate(rules,req.params);});add('COMPUTE_CHECKSUM','afterBuild',function COMPUTE_CHECKSUM(req){if(!req.service.api.operations){return;}var operation=req.service.api.operations[req.operation];if(!operation){return;}var body=req.httpRequest.body;var isNonStreamingPayload=body&&(AWS.util.Buffer.isBuffer(body)||typeof body==='string');var headers=req.httpRequest.headers;if(operation.httpChecksumRequired&&req.service.config.computeChecksums&&isNonStreamingPayload&&!headers['Content-MD5']){var md5=AWS.util.crypto.md5(body,'base64');headers['Content-MD5']=md5;}});addAsync('COMPUTE_SHA256','afterBuild',function COMPUTE_SHA256(req,done){req.haltHandlersOnError();if(!req.service.api.operations){return;}var operation=req.service.api.operations[req.operation];var authtype=operation?operation.authtype:'';if(!req.service.api.signatureVersion&&!authtype&&!req.service.config.signatureVersion)return done();// none\nif(req.service.getSignerClass(req)===AWS.Signers.V4){var body=req.httpRequest.body||'';if(authtype.indexOf('unsigned-body')>=0){req.httpRequest.headers['X-Amz-Content-Sha256']='UNSIGNED-PAYLOAD';return done();}AWS.util.computeSha256(body,function(err,sha){if(err){done(err);}else{req.httpRequest.headers['X-Amz-Content-Sha256']=sha;done();}});}else{done();}});add('SET_CONTENT_LENGTH','afterBuild',function SET_CONTENT_LENGTH(req){var authtype=getOperationAuthtype(req);var payloadMember=AWS.util.getRequestPayloadShape(req);if(req.httpRequest.headers['Content-Length']===undefined){try{var length=AWS.util.string.byteLength(req.httpRequest.body);req.httpRequest.headers['Content-Length']=length;}catch(err){if(payloadMember&&payloadMember.isStreaming){if(payloadMember.requiresLength){//streaming payload requires length(s3, glacier)\nthrow err;}else if(authtype.indexOf('unsigned-body')>=0){//unbounded streaming payload(lex, mediastore)\nreq.httpRequest.headers['Transfer-Encoding']='chunked';return;}else{throw err;}}throw err;}}});add('SET_HTTP_HOST','afterBuild',function SET_HTTP_HOST(req){req.httpRequest.headers['Host']=req.httpRequest.endpoint.host;});add('SET_TRACE_ID','afterBuild',function SET_TRACE_ID(req){var traceIdHeaderName='X-Amzn-Trace-Id';if(AWS.util.isNode()&&!Object.hasOwnProperty.call(req.httpRequest.headers,traceIdHeaderName)){var ENV_LAMBDA_FUNCTION_NAME='AWS_LAMBDA_FUNCTION_NAME';var ENV_TRACE_ID='_X_AMZN_TRACE_ID';var functionName=process.env[ENV_LAMBDA_FUNCTION_NAME];var traceId=process.env[ENV_TRACE_ID];if(typeof functionName==='string'&&functionName.length>0&&typeof traceId==='string'&&traceId.length>0){req.httpRequest.headers[traceIdHeaderName]=traceId;}}});add('RESTART','restart',function RESTART(){var err=this.response.error;if(!err||!err.retryable)return;this.httpRequest=new AWS.HttpRequest(this.service.endpoint,this.service.region);if(this.response.retryCount<this.service.config.maxRetries){this.response.retryCount++;}else{this.response.error=null;}});var addToHead=true;addAsync('DISCOVER_ENDPOINT','sign',DISCOVER_ENDPOINT,addToHead);addAsync('SIGN','sign',function SIGN(req,done){var service=req.service;var identityType=getIdentityType(req);if(!identityType||identityType.length===0)return done();// none\nif(identityType==='bearer'){service.config.getToken(function(err,token){if(err){req.response.error=err;return done();}try{var SignerClass=service.getSignerClass(req);var signer=new SignerClass(req.httpRequest);signer.addAuthorization(token);}catch(e){req.response.error=e;}done();});}else{service.config.getCredentials(function(err,credentials){if(err){req.response.error=err;return done();}try{var date=service.getSkewCorrectedDate();var SignerClass=service.getSignerClass(req);var operations=req.service.api.operations||{};var operation=operations[req.operation];var signer=new SignerClass(req.httpRequest,service.getSigningName(req),{signatureCache:service.config.signatureCache,operation:operation,signatureVersion:service.api.signatureVersion});signer.setServiceClientId(service._clientId);// clear old authorization headers\ndelete req.httpRequest.headers['Authorization'];delete req.httpRequest.headers['Date'];delete req.httpRequest.headers['X-Amz-Date'];// add new authorization\nsigner.addAuthorization(credentials,date);req.signedAt=date;}catch(e){req.response.error=e;}done();});}});add('VALIDATE_RESPONSE','validateResponse',function VALIDATE_RESPONSE(resp){if(this.service.successfulResponse(resp,this)){resp.data={};resp.error=null;}else{resp.data=null;resp.error=AWS.util.error(new Error(),{code:'UnknownError',message:'An unknown error occurred.'});}});add('ERROR','error',function ERROR(err,resp){var awsQueryCompatible=resp.request.service.api.awsQueryCompatible;if(awsQueryCompatible){var headers=resp.httpResponse.headers;var queryErrorCode=headers?headers['x-amzn-query-error']:undefined;if(queryErrorCode&&queryErrorCode.includes(';')){resp.error.code=queryErrorCode.split(';')[0];}}},true);addAsync('SEND','send',function SEND(resp,done){resp.httpResponse._abortCallback=done;resp.error=null;resp.data=null;function callback(httpResp){resp.httpResponse.stream=httpResp;var stream=resp.request.httpRequest.stream;var service=resp.request.service;var api=service.api;var operationName=resp.request.operation;var operation=api.operations[operationName]||{};httpResp.on('headers',function onHeaders(statusCode,headers,statusMessage){resp.request.emit('httpHeaders',[statusCode,headers,resp,statusMessage]);if(!resp.httpResponse.streaming){if(AWS.HttpClient.streamsApiVersion===2){// streams2 API check\n// if we detect event streams, we're going to have to\n// return the stream immediately\nif(operation.hasEventOutput&&service.successfulResponse(resp)){// skip reading the IncomingStream\nresp.request.emit('httpDone');done();return;}httpResp.on('readable',function onReadable(){var data=httpResp.read();if(data!==null){resp.request.emit('httpData',[data,resp]);}});}else{// legacy streams API\nhttpResp.on('data',function onData(data){resp.request.emit('httpData',[data,resp]);});}}});httpResp.on('end',function onEnd(){if(!stream||!stream.didCallback){if(AWS.HttpClient.streamsApiVersion===2&&operation.hasEventOutput&&service.successfulResponse(resp)){// don't concatenate response chunks when streaming event stream data when response is successful\nreturn;}resp.request.emit('httpDone');done();}});}function progress(httpResp){httpResp.on('sendProgress',function onSendProgress(value){resp.request.emit('httpUploadProgress',[value,resp]);});httpResp.on('receiveProgress',function onReceiveProgress(value){resp.request.emit('httpDownloadProgress',[value,resp]);});}function error(err){if(err.code!=='RequestAbortedError'){var errCode=err.code==='TimeoutError'?err.code:'NetworkingError';err=AWS.util.error(err,{code:errCode,region:resp.request.httpRequest.region,hostname:resp.request.httpRequest.endpoint.hostname,retryable:true});}resp.error=err;resp.request.emit('httpError',[resp.error,resp],function(){done();});}function executeSend(){var http=AWS.HttpClient.getInstance();var httpOptions=resp.request.service.config.httpOptions||{};try{var stream=http.handleRequest(resp.request.httpRequest,httpOptions,callback,error);progress(stream);}catch(err){error(err);}}var timeDiff=(resp.request.service.getSkewCorrectedDate()-this.signedAt)/1000;if(timeDiff>=60*10){// if we signed 10min ago, re-sign\nthis.emit('sign',[this],function(err){if(err)done(err);else executeSend();});}else{executeSend();}});add('HTTP_HEADERS','httpHeaders',function HTTP_HEADERS(statusCode,headers,resp,statusMessage){resp.httpResponse.statusCode=statusCode;resp.httpResponse.statusMessage=statusMessage;resp.httpResponse.headers=headers;resp.httpResponse.body=AWS.util.buffer.toBuffer('');resp.httpResponse.buffers=[];resp.httpResponse.numBytes=0;var dateHeader=headers.date||headers.Date;var service=resp.request.service;if(dateHeader){var serverTime=Date.parse(dateHeader);if(service.config.correctClockSkew&&service.isClockSkewed(serverTime)){service.applyClockOffset(serverTime);}}});add('HTTP_DATA','httpData',function HTTP_DATA(chunk,resp){if(chunk){if(AWS.util.isNode()){resp.httpResponse.numBytes+=chunk.length;var total=resp.httpResponse.headers['content-length'];var progress={loaded:resp.httpResponse.numBytes,total:total};resp.request.emit('httpDownloadProgress',[progress,resp]);}resp.httpResponse.buffers.push(AWS.util.buffer.toBuffer(chunk));}});add('HTTP_DONE','httpDone',function HTTP_DONE(resp){// convert buffers array into single buffer\nif(resp.httpResponse.buffers&&resp.httpResponse.buffers.length>0){var body=AWS.util.buffer.concat(resp.httpResponse.buffers);resp.httpResponse.body=body;}delete resp.httpResponse.numBytes;delete resp.httpResponse.buffers;});add('FINALIZE_ERROR','retry',function FINALIZE_ERROR(resp){if(resp.httpResponse.statusCode){resp.error.statusCode=resp.httpResponse.statusCode;if(resp.error.retryable===undefined){resp.error.retryable=this.service.retryableError(resp.error,this);}}});add('INVALIDATE_CREDENTIALS','retry',function INVALIDATE_CREDENTIALS(resp){if(!resp.error)return;switch(resp.error.code){case'RequestExpired':// EC2 only\ncase'ExpiredTokenException':case'ExpiredToken':resp.error.retryable=true;resp.request.service.config.credentials.expired=true;}});add('EXPIRED_SIGNATURE','retry',function EXPIRED_SIGNATURE(resp){var err=resp.error;if(!err)return;if(typeof err.code==='string'&&typeof err.message==='string'){if(err.code.match(/Signature/)&&err.message.match(/expired/)){resp.error.retryable=true;}}});add('CLOCK_SKEWED','retry',function CLOCK_SKEWED(resp){if(!resp.error)return;if(this.service.clockSkewError(resp.error)&&this.service.config.correctClockSkew){resp.error.retryable=true;}});add('REDIRECT','retry',function REDIRECT(resp){if(resp.error&&resp.error.statusCode>=300&&resp.error.statusCode<400&&resp.httpResponse.headers['location']){this.httpRequest.endpoint=new AWS.Endpoint(resp.httpResponse.headers['location']);this.httpRequest.headers['Host']=this.httpRequest.endpoint.host;resp.error.redirect=true;resp.error.retryable=true;}});add('RETRY_CHECK','retry',function RETRY_CHECK(resp){if(resp.error){if(resp.error.redirect&&resp.redirectCount<resp.maxRedirects){resp.error.retryDelay=0;}else if(resp.retryCount<resp.maxRetries){resp.error.retryDelay=this.service.retryDelays(resp.retryCount,resp.error)||0;}}});addAsync('RESET_RETRY_STATE','afterRetry',function RESET_RETRY_STATE(resp,done){var delay,willRetry=false;if(resp.error){delay=resp.error.retryDelay||0;if(resp.error.retryable&&resp.retryCount<resp.maxRetries){resp.retryCount++;willRetry=true;}else if(resp.error.redirect&&resp.redirectCount<resp.maxRedirects){resp.redirectCount++;willRetry=true;}}// delay < 0 is a signal from customBackoff to skip retries\nif(willRetry&&delay>=0){resp.error=null;setTimeout(done,delay);}else{done();}});}),CorePost:new SequentialExecutor().addNamedListeners(function(add){add('EXTRACT_REQUEST_ID','extractData',AWS.util.extractRequestId);add('EXTRACT_REQUEST_ID','extractError',AWS.util.extractRequestId);add('ENOTFOUND_ERROR','httpError',function ENOTFOUND_ERROR(err){function isDNSError(err){return err.errno==='ENOTFOUND'||typeof err.errno==='number'&&typeof AWS.util.getSystemErrorName==='function'&&['EAI_NONAME','EAI_NODATA'].indexOf(AWS.util.getSystemErrorName(err.errno)>=0);}if(err.code==='NetworkingError'&&isDNSError(err)){var message='Inaccessible host: `'+err.hostname+'\\' at port `'+err.port+'\\'. This service may not be available in the `'+err.region+'\\' region.';this.response.error=AWS.util.error(new Error(message),{code:'UnknownEndpoint',region:err.region,hostname:err.hostname,retryable:true,originalError:err});}});}),Logger:new SequentialExecutor().addNamedListeners(function(add){add('LOG_REQUEST','complete',function LOG_REQUEST(resp){var req=resp.request;var logger=req.service.config.logger;if(!logger)return;function filterSensitiveLog(inputShape,shape){if(!shape){return shape;}if(inputShape.isSensitive){return'***SensitiveInformation***';}switch(inputShape.type){case'structure':var struct={};AWS.util.each(shape,function(subShapeName,subShape){if(Object.prototype.hasOwnProperty.call(inputShape.members,subShapeName)){struct[subShapeName]=filterSensitiveLog(inputShape.members[subShapeName],subShape);}else{struct[subShapeName]=subShape;}});return struct;case'list':var list=[];AWS.util.arrayEach(shape,function(subShape,index){list.push(filterSensitiveLog(inputShape.member,subShape));});return list;case'map':var map={};AWS.util.each(shape,function(key,value){map[key]=filterSensitiveLog(inputShape.value,value);});return map;default:return shape;}}function buildMessage(){var time=resp.request.service.getSkewCorrectedDate().getTime();var delta=(time-req.startTime.getTime())/1000;var ansi=logger.isTTY?true:false;var status=resp.httpResponse.statusCode;var censoredParams=req.params;if(req.service.api.operations&&req.service.api.operations[req.operation]&&req.service.api.operations[req.operation].input){var inputShape=req.service.api.operations[req.operation].input;censoredParams=filterSensitiveLog(inputShape,req.params);}var params=require('util').inspect(censoredParams,true,null);var message='';if(ansi)message+='\\x1B[33m';message+='[AWS '+req.service.serviceIdentifier+' '+status;message+=' '+delta.toString()+'s '+resp.retryCount+' retries]';if(ansi)message+='\\x1B[0;1m';message+=' '+AWS.util.string.lowerFirst(req.operation);message+='('+params+')';if(ansi)message+='\\x1B[0m';return message;}var line=buildMessage();if(typeof logger.log==='function'){logger.log(line);}else if(typeof logger.write==='function'){logger.write(line+'\\n');}});}),Json:new SequentialExecutor().addNamedListeners(function(add){var svc=require('./protocol/json');add('BUILD','build',svc.buildRequest);add('EXTRACT_DATA','extractData',svc.extractData);add('EXTRACT_ERROR','extractError',svc.extractError);}),Rest:new SequentialExecutor().addNamedListeners(function(add){var svc=require('./protocol/rest');add('BUILD','build',svc.buildRequest);add('EXTRACT_DATA','extractData',svc.extractData);add('EXTRACT_ERROR','extractError',svc.extractError);}),RestJson:new SequentialExecutor().addNamedListeners(function(add){var svc=require('./protocol/rest_json');add('BUILD','build',svc.buildRequest);add('EXTRACT_DATA','extractData',svc.extractData);add('EXTRACT_ERROR','extractError',svc.extractError);add('UNSET_CONTENT_LENGTH','afterBuild',svc.unsetContentLength);}),RestXml:new SequentialExecutor().addNamedListeners(function(add){var svc=require('./protocol/rest_xml');add('BUILD','build',svc.buildRequest);add('EXTRACT_DATA','extractData',svc.extractData);add('EXTRACT_ERROR','extractError',svc.extractError);}),Query:new SequentialExecutor().addNamedListeners(function(add){var svc=require('./protocol/query');add('BUILD','build',svc.buildRequest);add('EXTRACT_DATA','extractData',svc.extractData);add('EXTRACT_ERROR','extractError',svc.extractError);})};}).call(this);}).call(this,require('_process'));},{\"./core\":19,\"./discover_endpoint\":27,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./sequential_executor\":61,\"_process\":91,\"util\":85}],35:[function(require,module,exports){var AWS=require('./core');var inherit=AWS.util.inherit;/**\n     * The endpoint that a service will talk to, for example,\n     * `'https://ec2.ap-southeast-1.amazonaws.com'`. If\n     * you need to override an endpoint for a service, you can\n     * set the endpoint on a service by passing the endpoint\n     * object with the `endpoint` option key:\n     *\n     * ```javascript\n     * var ep = new AWS.Endpoint('awsproxy.example.com');\n     * var s3 = new AWS.S3({endpoint: ep});\n     * s3.service.endpoint.hostname == 'awsproxy.example.com'\n     * ```\n     *\n     * Note that if you do not specify a protocol, the protocol will\n     * be selected based on your current {AWS.config} configuration.\n     *\n     * @!attribute protocol\n     *   @return [String] the protocol (http or https) of the endpoint\n     *     URL\n     * @!attribute hostname\n     *   @return [String] the host portion of the endpoint, e.g.,\n     *     example.com\n     * @!attribute host\n     *   @return [String] the host portion of the endpoint including\n     *     the port, e.g., example.com:80\n     * @!attribute port\n     *   @return [Integer] the port of the endpoint\n     * @!attribute href\n     *   @return [String] the full URL of the endpoint\n     */AWS.Endpoint=inherit({/**\n       * @overload Endpoint(endpoint)\n       *   Constructs a new endpoint given an endpoint URL. If the\n       *   URL omits a protocol (http or https), the default protocol\n       *   set in the global {AWS.config} will be used.\n       *   @param endpoint [String] the URL to construct an endpoint from\n       */constructor:function Endpoint(endpoint,config){AWS.util.hideProperties(this,['slashes','auth','hash','search','query']);if(typeof endpoint==='undefined'||endpoint===null){throw new Error('Invalid endpoint: '+endpoint);}else if(typeof endpoint!=='string'){return AWS.util.copy(endpoint);}if(!endpoint.match(/^http/)){var useSSL=config&&config.sslEnabled!==undefined?config.sslEnabled:AWS.config.sslEnabled;endpoint=(useSSL?'https':'http')+'://'+endpoint;}AWS.util.update(this,AWS.util.urlParse(endpoint));// Ensure the port property is set as an integer\nif(this.port){this.port=parseInt(this.port,10);}else{this.port=this.protocol==='https:'?443:80;}}});/**\n     * The low level HTTP request object, encapsulating all HTTP header\n     * and body data sent by a service request.\n     *\n     * @!attribute method\n     *   @return [String] the HTTP method of the request\n     * @!attribute path\n     *   @return [String] the path portion of the URI, e.g.,\n     *     \"/list/?start=5&num=10\"\n     * @!attribute headers\n     *   @return [map<String,String>]\n     *     a map of header keys and their respective values\n     * @!attribute body\n     *   @return [String] the request body payload\n     * @!attribute endpoint\n     *   @return [AWS.Endpoint] the endpoint for the request\n     * @!attribute region\n     *   @api private\n     *   @return [String] the region, for signing purposes only.\n     */AWS.HttpRequest=inherit({/**\n       * @api private\n       */constructor:function HttpRequest(endpoint,region){endpoint=new AWS.Endpoint(endpoint);this.method='POST';this.path=endpoint.path||'/';this.headers={};this.body='';this.endpoint=endpoint;this.region=region;this._userAgent='';this.setUserAgent();},/**\n       * @api private\n       */setUserAgent:function setUserAgent(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=AWS.util.userAgent();},getUserAgentHeaderName:function getUserAgentHeaderName(){var prefix=AWS.util.isBrowser()?'X-Amz-':'';return prefix+'User-Agent';},/**\n       * @api private\n       */appendToUserAgent:function appendToUserAgent(agentPartial){if(typeof agentPartial==='string'&&agentPartial){this._userAgent+=' '+agentPartial;}this.headers[this.getUserAgentHeaderName()]=this._userAgent;},/**\n       * @api private\n       */getUserAgent:function getUserAgent(){return this._userAgent;},/**\n       * @return [String] the part of the {path} excluding the\n       *   query string\n       */pathname:function pathname(){return this.path.split('?',1)[0];},/**\n       * @return [String] the query string portion of the {path}\n       */search:function search(){var query=this.path.split('?',2)[1];if(query){query=AWS.util.queryStringParse(query);return AWS.util.queryParamsToString(query);}return'';},/**\n       * @api private\n       * update httpRequest endpoint with endpoint string\n       */updateEndpoint:function updateEndpoint(endpointStr){var newEndpoint=new AWS.Endpoint(endpointStr);this.endpoint=newEndpoint;this.path=newEndpoint.path||'/';if(this.headers['Host']){this.headers['Host']=newEndpoint.host;}}});/**\n     * The low level HTTP response object, encapsulating all HTTP header\n     * and body data returned from the request.\n     *\n     * @!attribute statusCode\n     *   @return [Integer] the HTTP status code of the response (e.g., 200, 404)\n     * @!attribute headers\n     *   @return [map<String,String>]\n     *      a map of response header keys and their respective values\n     * @!attribute body\n     *   @return [String] the response body payload\n     * @!attribute [r] streaming\n     *   @return [Boolean] whether this response is being streamed at a low-level.\n     *     Defaults to `false` (buffered reads). Do not modify this manually, use\n     *     {createUnbufferedStream} to convert the stream to unbuffered mode\n     *     instead.\n     */AWS.HttpResponse=inherit({/**\n       * @api private\n       */constructor:function HttpResponse(){this.statusCode=undefined;this.headers={};this.body=undefined;this.streaming=false;this.stream=null;},/**\n       * Disables buffering on the HTTP response and returns the stream for reading.\n       * @return [Stream, XMLHttpRequest, null] the underlying stream object.\n       *   Use this object to directly read data off of the stream.\n       * @note This object is only available after the {AWS.Request~httpHeaders}\n       *   event has fired. This method must be called prior to\n       *   {AWS.Request~httpData}.\n       * @example Taking control of a stream\n       *   request.on('httpHeaders', function(statusCode, headers) {\n       *     if (statusCode < 300) {\n       *       if (headers.etag === 'xyz') {\n       *         // pipe the stream, disabling buffering\n       *         var stream = this.response.httpResponse.createUnbufferedStream();\n       *         stream.pipe(process.stdout);\n       *       } else { // abort this request and set a better error message\n       *         this.abort();\n       *         this.response.error = new Error('Invalid ETag');\n       *       }\n       *     }\n       *   }).send(console.log);\n       */createUnbufferedStream:function createUnbufferedStream(){this.streaming=true;return this.stream;}});AWS.HttpClient=inherit({});/**\n     * @api private\n     */AWS.HttpClient.getInstance=function getInstance(){if(this.singleton===undefined){this.singleton=new this();}return this.singleton;};},{\"./core\":19}],36:[function(require,module,exports){var AWS=require('../core');var EventEmitter=require('events').EventEmitter;require('../http');/**\n     * @api private\n     */AWS.XHRClient=AWS.util.inherit({handleRequest:function handleRequest(httpRequest,httpOptions,callback,errCallback){var self=this;var endpoint=httpRequest.endpoint;var emitter=new EventEmitter();var href=endpoint.protocol+'//'+endpoint.hostname;if(endpoint.port!==80&&endpoint.port!==443){href+=':'+endpoint.port;}href+=httpRequest.path;var xhr=new XMLHttpRequest(),headersEmitted=false;httpRequest.stream=xhr;xhr.addEventListener('readystatechange',function(){try{if(xhr.status===0)return;// 0 code is invalid\n}catch(e){return;}if(this.readyState>=this.HEADERS_RECEIVED&&!headersEmitted){emitter.statusCode=xhr.status;emitter.headers=self.parseHeaders(xhr.getAllResponseHeaders());emitter.emit('headers',emitter.statusCode,emitter.headers,xhr.statusText);headersEmitted=true;}if(this.readyState===this.DONE){self.finishRequest(xhr,emitter);}},false);xhr.upload.addEventListener('progress',function(evt){emitter.emit('sendProgress',evt);});xhr.addEventListener('progress',function(evt){emitter.emit('receiveProgress',evt);},false);xhr.addEventListener('timeout',function(){errCallback(AWS.util.error(new Error('Timeout'),{code:'TimeoutError'}));},false);xhr.addEventListener('error',function(){errCallback(AWS.util.error(new Error('Network Failure'),{code:'NetworkingError'}));},false);xhr.addEventListener('abort',function(){errCallback(AWS.util.error(new Error('Request aborted'),{code:'RequestAbortedError'}));},false);callback(emitter);xhr.open(httpRequest.method,href,httpOptions.xhrAsync!==false);AWS.util.each(httpRequest.headers,function(key,value){if(key!=='Content-Length'&&key!=='User-Agent'&&key!=='Host'){xhr.setRequestHeader(key,value);}});if(httpOptions.timeout&&httpOptions.xhrAsync!==false){xhr.timeout=httpOptions.timeout;}if(httpOptions.xhrWithCredentials){xhr.withCredentials=true;}try{xhr.responseType='arraybuffer';}catch(e){}try{if(httpRequest.body){xhr.send(httpRequest.body);}else{xhr.send();}}catch(err){if(httpRequest.body&&_typeof(httpRequest.body.buffer)==='object'){xhr.send(httpRequest.body.buffer);// send ArrayBuffer directly\n}else{throw err;}}return emitter;},parseHeaders:function parseHeaders(rawHeaders){var headers={};AWS.util.arrayEach(rawHeaders.split(/\\r?\\n/),function(line){var key=line.split(':',1)[0];var value=line.substring(key.length+2);if(key.length>0)headers[key.toLowerCase()]=value;});return headers;},finishRequest:function finishRequest(xhr,emitter){var buffer;if(xhr.responseType==='arraybuffer'&&xhr.response){var ab=xhr.response;buffer=new AWS.util.Buffer(ab.byteLength);var view=new Uint8Array(ab);for(var i=0;i<buffer.length;++i){buffer[i]=view[i];}}try{if(!buffer&&typeof xhr.responseText==='string'){buffer=new AWS.util.Buffer(xhr.responseText);}}catch(e){}if(buffer)emitter.emit('data',buffer);emitter.emit('end');}});/**\n     * @api private\n     */AWS.HttpClient.prototype=AWS.XHRClient.prototype;/**\n     * @api private\n     */AWS.HttpClient.streamsApiVersion=1;},{\"../core\":19,\"../http\":35,\"events\":87}],37:[function(require,module,exports){var util=require('../util');function JsonBuilder(){}JsonBuilder.prototype.build=function(value,shape){return JSON.stringify(translate(value,shape));};function translate(value,shape){if(!shape||value===undefined||value===null)return undefined;switch(shape.type){case'structure':return translateStructure(value,shape);case'map':return translateMap(value,shape);case'list':return translateList(value,shape);default:return translateScalar(value,shape);}}function translateStructure(structure,shape){if(shape.isDocument){return structure;}var struct={};util.each(structure,function(name,value){var memberShape=shape.members[name];if(memberShape){if(memberShape.location!=='body')return;var locationName=memberShape.isLocationName?memberShape.name:name;var result=translate(value,memberShape);if(result!==undefined)struct[locationName]=result;}});return struct;}function translateList(list,shape){var out=[];util.arrayEach(list,function(value){var result=translate(value,shape.member);if(result!==undefined)out.push(result);});return out;}function translateMap(map,shape){var out={};util.each(map,function(key,value){var result=translate(value,shape.value);if(result!==undefined)out[key]=result;});return out;}function translateScalar(value,shape){return shape.toWireFormat(value);}/**\n     * @api private\n     */module.exports=JsonBuilder;},{\"../util\":74}],38:[function(require,module,exports){var util=require('../util');function JsonParser(){}JsonParser.prototype.parse=function(value,shape){return translate(JSON.parse(value),shape);};function translate(value,shape){if(!shape||value===undefined)return undefined;switch(shape.type){case'structure':return translateStructure(value,shape);case'map':return translateMap(value,shape);case'list':return translateList(value,shape);default:return translateScalar(value,shape);}}function translateStructure(structure,shape){if(structure==null)return undefined;if(shape.isDocument)return structure;var struct={};var shapeMembers=shape.members;var isAwsQueryCompatible=shape.api&&shape.api.awsQueryCompatible;util.each(shapeMembers,function(name,memberShape){var locationName=memberShape.isLocationName?memberShape.name:name;if(Object.prototype.hasOwnProperty.call(structure,locationName)){var value=structure[locationName];var result=translate(value,memberShape);if(result!==undefined)struct[name]=result;}else if(isAwsQueryCompatible&&memberShape.defaultValue){if(memberShape.type==='list'){struct[name]=typeof memberShape.defaultValue==='function'?memberShape.defaultValue():memberShape.defaultValue;}}});return struct;}function translateList(list,shape){if(list==null)return undefined;var out=[];util.arrayEach(list,function(value){var result=translate(value,shape.member);if(result===undefined)out.push(null);else out.push(result);});return out;}function translateMap(map,shape){if(map==null)return undefined;var out={};util.each(map,function(key,value){var result=translate(value,shape.value);if(result===undefined)out[key]=null;else out[key]=result;});return out;}function translateScalar(value,shape){return shape.toType(value);}/**\n     * @api private\n     */module.exports=JsonParser;},{\"../util\":74}],39:[function(require,module,exports){(function(process){(function(){var warning=['The AWS SDK for JavaScript (v2) will enter maintenance mode','on September 8, 2024 and reach end-of-support on September 8, 2025.\\n','Please migrate your code to use AWS SDK for JavaScript (v3).','For more information, check blog post at https://a.co/cUPnyil'].join('\\n');module.exports={suppress:false};/**\n         * To suppress this message:\n         * @example\n         * require('aws-sdk/lib/maintenance_mode_message').suppress = true;\n         */function emitWarning(){if(typeof process==='undefined')return;// Skip maintenance mode message in Lambda environments\nif(_typeof(process.env)==='object'&&typeof process.env.AWS_EXECUTION_ENV!=='undefined'&&process.env.AWS_EXECUTION_ENV.indexOf('AWS_Lambda_')===0){return;}if(_typeof(process.env)==='object'&&typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE!=='undefined'){return;}if(typeof process.emitWarning==='function'){process.emitWarning(warning,{type:'NOTE'});}}setTimeout(function(){if(!module.exports.suppress){emitWarning();}},0);}).call(this);}).call(this,require('_process'));},{\"_process\":91}],40:[function(require,module,exports){var Collection=require('./collection');var Operation=require('./operation');var Shape=require('./shape');var Paginator=require('./paginator');var ResourceWaiter=require('./resource_waiter');var metadata=require('../../apis/metadata.json');var util=require('../util');var property=util.property;var memoizedProperty=util.memoizedProperty;function Api(api,options){var self=this;api=api||{};options=options||{};options.api=this;api.metadata=api.metadata||{};var serviceIdentifier=options.serviceIdentifier;delete options.serviceIdentifier;property(this,'isApi',true,false);property(this,'apiVersion',api.metadata.apiVersion);property(this,'endpointPrefix',api.metadata.endpointPrefix);property(this,'signingName',api.metadata.signingName);property(this,'globalEndpoint',api.metadata.globalEndpoint);property(this,'signatureVersion',api.metadata.signatureVersion);property(this,'jsonVersion',api.metadata.jsonVersion);property(this,'targetPrefix',api.metadata.targetPrefix);property(this,'protocol',api.metadata.protocol);property(this,'timestampFormat',api.metadata.timestampFormat);property(this,'xmlNamespaceUri',api.metadata.xmlNamespace);property(this,'abbreviation',api.metadata.serviceAbbreviation);property(this,'fullName',api.metadata.serviceFullName);property(this,'serviceId',api.metadata.serviceId);if(serviceIdentifier&&metadata[serviceIdentifier]){property(this,'xmlNoDefaultLists',metadata[serviceIdentifier].xmlNoDefaultLists,false);}memoizedProperty(this,'className',function(){var name=api.metadata.serviceAbbreviation||api.metadata.serviceFullName;if(!name)return null;name=name.replace(/^Amazon|AWS\\s*|\\(.*|\\s+|\\W+/g,'');if(name==='ElasticLoadBalancing')name='ELB';return name;});function addEndpointOperation(name,operation){if(operation.endpointoperation===true){property(self,'endpointOperation',util.string.lowerFirst(name));}if(operation.endpointdiscovery&&!self.hasRequiredEndpointDiscovery){property(self,'hasRequiredEndpointDiscovery',operation.endpointdiscovery.required===true);}}property(this,'operations',new Collection(api.operations,options,function(name,operation){return new Operation(name,operation,options);},util.string.lowerFirst,addEndpointOperation));property(this,'shapes',new Collection(api.shapes,options,function(name,shape){return Shape.create(shape,options);}));property(this,'paginators',new Collection(api.paginators,options,function(name,paginator){return new Paginator(name,paginator,options);}));property(this,'waiters',new Collection(api.waiters,options,function(name,waiter){return new ResourceWaiter(name,waiter,options);},util.string.lowerFirst));if(options.documentation){property(this,'documentation',api.documentation);property(this,'documentationUrl',api.documentationUrl);}property(this,'awsQueryCompatible',api.metadata.awsQueryCompatible);}/**\n     * @api private\n     */module.exports=Api;},{\"../../apis/metadata.json\":4,\"../util\":74,\"./collection\":41,\"./operation\":42,\"./paginator\":43,\"./resource_waiter\":44,\"./shape\":45}],41:[function(require,module,exports){var memoizedProperty=require('../util').memoizedProperty;function memoize(name,value,factory,nameTr){memoizedProperty(this,nameTr(name),function(){return factory(name,value);});}function Collection(iterable,options,factory,nameTr,callback){nameTr=nameTr||String;var self=this;for(var id in iterable){if(Object.prototype.hasOwnProperty.call(iterable,id)){memoize.call(self,id,iterable[id],factory,nameTr);if(callback)callback(id,iterable[id]);}}}/**\n     * @api private\n     */module.exports=Collection;},{\"../util\":74}],42:[function(require,module,exports){var Shape=require('./shape');var util=require('../util');var property=util.property;var memoizedProperty=util.memoizedProperty;function Operation(name,operation,options){var self=this;options=options||{};property(this,'name',operation.name||name);property(this,'api',options.api,false);operation.http=operation.http||{};property(this,'endpoint',operation.endpoint);property(this,'httpMethod',operation.http.method||'POST');property(this,'httpPath',operation.http.requestUri||'/');property(this,'authtype',operation.authtype||'');property(this,'endpointDiscoveryRequired',operation.endpointdiscovery?operation.endpointdiscovery.required?'REQUIRED':'OPTIONAL':'NULL');// httpChecksum replaces usage of httpChecksumRequired, but some APIs\n// (s3control) still uses old trait.\nvar httpChecksumRequired=operation.httpChecksumRequired||operation.httpChecksum&&operation.httpChecksum.requestChecksumRequired;property(this,'httpChecksumRequired',httpChecksumRequired,false);memoizedProperty(this,'input',function(){if(!operation.input){return new Shape.create({type:'structure'},options);}return Shape.create(operation.input,options);});memoizedProperty(this,'output',function(){if(!operation.output){return new Shape.create({type:'structure'},options);}return Shape.create(operation.output,options);});memoizedProperty(this,'errors',function(){var list=[];if(!operation.errors)return null;for(var i=0;i<operation.errors.length;i++){list.push(Shape.create(operation.errors[i],options));}return list;});memoizedProperty(this,'paginator',function(){return options.api.paginators[name];});if(options.documentation){property(this,'documentation',operation.documentation);property(this,'documentationUrl',operation.documentationUrl);}// idempotentMembers only tracks top-level input shapes\nmemoizedProperty(this,'idempotentMembers',function(){var idempotentMembers=[];var input=self.input;var members=input.members;if(!input.members){return idempotentMembers;}for(var name in members){if(!members.hasOwnProperty(name)){continue;}if(members[name].isIdempotent===true){idempotentMembers.push(name);}}return idempotentMembers;});memoizedProperty(this,'hasEventOutput',function(){var output=self.output;return hasEventStream(output);});}function hasEventStream(topLevelShape){var members=topLevelShape.members;var payload=topLevelShape.payload;if(!topLevelShape.members){return false;}if(payload){var payloadMember=members[payload];return payloadMember.isEventStream;}// check if any member is an event stream\nfor(var name in members){if(!members.hasOwnProperty(name)){if(members[name].isEventStream===true){return true;}}}return false;}/**\n     * @api private\n     */module.exports=Operation;},{\"../util\":74,\"./shape\":45}],43:[function(require,module,exports){var property=require('../util').property;function Paginator(name,paginator){property(this,'inputToken',paginator.input_token);property(this,'limitKey',paginator.limit_key);property(this,'moreResults',paginator.more_results);property(this,'outputToken',paginator.output_token);property(this,'resultKey',paginator.result_key);}/**\n     * @api private\n     */module.exports=Paginator;},{\"../util\":74}],44:[function(require,module,exports){var util=require('../util');var property=util.property;function ResourceWaiter(name,waiter,options){options=options||{};property(this,'name',name);property(this,'api',options.api,false);if(waiter.operation){property(this,'operation',util.string.lowerFirst(waiter.operation));}var self=this;var keys=['type','description','delay','maxAttempts','acceptors'];keys.forEach(function(key){var value=waiter[key];if(value){property(self,key,value);}});}/**\n     * @api private\n     */module.exports=ResourceWaiter;},{\"../util\":74}],45:[function(require,module,exports){var Collection=require('./collection');var util=require('../util');function property(obj,name,value){if(value!==null&&value!==undefined){util.property.apply(this,arguments);}}function memoizedProperty(obj,name){if(!obj.constructor.prototype[name]){util.memoizedProperty.apply(this,arguments);}}function Shape(shape,options,memberName){options=options||{};property(this,'shape',shape.shape);property(this,'api',options.api,false);property(this,'type',shape.type);property(this,'enum',shape[\"enum\"]);property(this,'min',shape.min);property(this,'max',shape.max);property(this,'pattern',shape.pattern);property(this,'location',shape.location||this.location||'body');property(this,'name',this.name||shape.xmlName||shape.queryName||shape.locationName||memberName);property(this,'isStreaming',shape.streaming||this.isStreaming||false);property(this,'requiresLength',shape.requiresLength,false);property(this,'isComposite',shape.isComposite||false);property(this,'isShape',true,false);property(this,'isQueryName',Boolean(shape.queryName),false);property(this,'isLocationName',Boolean(shape.locationName),false);property(this,'isIdempotent',shape.idempotencyToken===true);property(this,'isJsonValue',shape.jsonvalue===true);property(this,'isSensitive',shape.sensitive===true||shape.prototype&&shape.prototype.sensitive===true);property(this,'isEventStream',Boolean(shape.eventstream),false);property(this,'isEvent',Boolean(shape.event),false);property(this,'isEventPayload',Boolean(shape.eventpayload),false);property(this,'isEventHeader',Boolean(shape.eventheader),false);property(this,'isTimestampFormatSet',Boolean(shape.timestampFormat)||shape.prototype&&shape.prototype.isTimestampFormatSet===true,false);property(this,'endpointDiscoveryId',Boolean(shape.endpointdiscoveryid),false);property(this,'hostLabel',Boolean(shape.hostLabel),false);if(options.documentation){property(this,'documentation',shape.documentation);property(this,'documentationUrl',shape.documentationUrl);}if(shape.xmlAttribute){property(this,'isXmlAttribute',shape.xmlAttribute||false);}// type conversion and parsing\nproperty(this,'defaultValue',null);this.toWireFormat=function(value){if(value===null||value===undefined)return'';return value;};this.toType=function(value){return value;};}/**\n     * @api private\n     */Shape.normalizedTypes={character:'string',\"double\":'float',\"long\":'integer',\"short\":'integer',biginteger:'integer',bigdecimal:'float',blob:'binary'};/**\n     * @api private\n     */Shape.types={'structure':StructureShape,'list':ListShape,'map':MapShape,'boolean':BooleanShape,'timestamp':TimestampShape,'float':FloatShape,'integer':IntegerShape,'string':StringShape,'base64':Base64Shape,'binary':BinaryShape};Shape.resolve=function resolve(shape,options){if(shape.shape){var refShape=options.api.shapes[shape.shape];if(!refShape){throw new Error('Cannot find shape reference: '+shape.shape);}return refShape;}else{return null;}};Shape.create=function create(shape,options,memberName){if(shape.isShape)return shape;var refShape=Shape.resolve(shape,options);if(refShape){var filteredKeys=Object.keys(shape);if(!options.documentation){filteredKeys=filteredKeys.filter(function(name){return!name.match(/documentation/);});}// create an inline shape with extra members\nvar InlineShape=function InlineShape(){refShape.constructor.call(this,shape,options,memberName);};InlineShape.prototype=refShape;return new InlineShape();}else{// set type if not set\nif(!shape.type){if(shape.members)shape.type='structure';else if(shape.member)shape.type='list';else if(shape.key)shape.type='map';else shape.type='string';}// normalize types\nvar origType=shape.type;if(Shape.normalizedTypes[shape.type]){shape.type=Shape.normalizedTypes[shape.type];}if(Shape.types[shape.type]){return new Shape.types[shape.type](shape,options,memberName);}else{throw new Error('Unrecognized shape type: '+origType);}}};function CompositeShape(shape){Shape.apply(this,arguments);property(this,'isComposite',true);if(shape.flattened){property(this,'flattened',shape.flattened||false);}}function StructureShape(shape,options){var self=this;var requiredMap=null,firstInit=!this.isShape;CompositeShape.apply(this,arguments);if(firstInit){property(this,'defaultValue',function(){return{};});property(this,'members',{});property(this,'memberNames',[]);property(this,'required',[]);property(this,'isRequired',function(){return false;});property(this,'isDocument',Boolean(shape.document));}if(shape.members){property(this,'members',new Collection(shape.members,options,function(name,member){return Shape.create(member,options,name);}));memoizedProperty(this,'memberNames',function(){return shape.xmlOrder||Object.keys(shape.members);});if(shape.event){memoizedProperty(this,'eventPayloadMemberName',function(){var members=self.members;var memberNames=self.memberNames;// iterate over members to find ones that are event payloads\nfor(var i=0,iLen=memberNames.length;i<iLen;i++){if(members[memberNames[i]].isEventPayload){return memberNames[i];}}});memoizedProperty(this,'eventHeaderMemberNames',function(){var members=self.members;var memberNames=self.memberNames;var eventHeaderMemberNames=[];// iterate over members to find ones that are event headers\nfor(var i=0,iLen=memberNames.length;i<iLen;i++){if(members[memberNames[i]].isEventHeader){eventHeaderMemberNames.push(memberNames[i]);}}return eventHeaderMemberNames;});}}if(shape.required){property(this,'required',shape.required);property(this,'isRequired',function(name){if(!requiredMap){requiredMap={};for(var i=0;i<shape.required.length;i++){requiredMap[shape.required[i]]=true;}}return requiredMap[name];},false,true);}property(this,'resultWrapper',shape.resultWrapper||null);if(shape.payload){property(this,'payload',shape.payload);}if(typeof shape.xmlNamespace==='string'){property(this,'xmlNamespaceUri',shape.xmlNamespace);}else if(_typeof(shape.xmlNamespace)==='object'){property(this,'xmlNamespacePrefix',shape.xmlNamespace.prefix);property(this,'xmlNamespaceUri',shape.xmlNamespace.uri);}}function ListShape(shape,options){var self=this,firstInit=!this.isShape;CompositeShape.apply(this,arguments);if(firstInit){property(this,'defaultValue',function(){return[];});}if(shape.member){memoizedProperty(this,'member',function(){return Shape.create(shape.member,options);});}if(this.flattened){var oldName=this.name;memoizedProperty(this,'name',function(){return self.member.name||oldName;});}}function MapShape(shape,options){var firstInit=!this.isShape;CompositeShape.apply(this,arguments);if(firstInit){property(this,'defaultValue',function(){return{};});property(this,'key',Shape.create({type:'string'},options));property(this,'value',Shape.create({type:'string'},options));}if(shape.key){memoizedProperty(this,'key',function(){return Shape.create(shape.key,options);});}if(shape.value){memoizedProperty(this,'value',function(){return Shape.create(shape.value,options);});}}function TimestampShape(shape){var self=this;Shape.apply(this,arguments);if(shape.timestampFormat){property(this,'timestampFormat',shape.timestampFormat);}else if(self.isTimestampFormatSet&&this.timestampFormat){property(this,'timestampFormat',this.timestampFormat);}else if(this.location==='header'){property(this,'timestampFormat','rfc822');}else if(this.location==='querystring'){property(this,'timestampFormat','iso8601');}else if(this.api){switch(this.api.protocol){case'json':case'rest-json':property(this,'timestampFormat','unixTimestamp');break;case'rest-xml':case'query':case'ec2':property(this,'timestampFormat','iso8601');break;}}this.toType=function(value){if(value===null||value===undefined)return null;if(typeof value.toUTCString==='function')return value;return typeof value==='string'||typeof value==='number'?util.date.parseTimestamp(value):null;};this.toWireFormat=function(value){return util.date.format(value,self.timestampFormat);};}function StringShape(){Shape.apply(this,arguments);var nullLessProtocols=['rest-xml','query','ec2'];this.toType=function(value){value=this.api&&nullLessProtocols.indexOf(this.api.protocol)>-1?value||'':value;if(this.isJsonValue){return JSON.parse(value);}return value&&typeof value.toString==='function'?value.toString():value;};this.toWireFormat=function(value){return this.isJsonValue?JSON.stringify(value):value;};}function FloatShape(){Shape.apply(this,arguments);this.toType=function(value){if(value===null||value===undefined)return null;return parseFloat(value);};this.toWireFormat=this.toType;}function IntegerShape(){Shape.apply(this,arguments);this.toType=function(value){if(value===null||value===undefined)return null;return parseInt(value,10);};this.toWireFormat=this.toType;}function BinaryShape(){Shape.apply(this,arguments);this.toType=function(value){var buf=util.base64.decode(value);if(this.isSensitive&&util.isNode()&&typeof util.Buffer.alloc==='function'){/* Node.js can create a Buffer that is not isolated.\n           * i.e. buf.byteLength !== buf.buffer.byteLength\n           * This means that the sensitive data is accessible to anyone with access to buf.buffer.\n           * If this is the node shared Buffer, then other code within this process _could_ find this secret.\n           * Copy sensitive data to an isolated Buffer and zero the sensitive data.\n           * While this is safe to do here, copying this code somewhere else may produce unexpected results.\n           */var secureBuf=util.Buffer.alloc(buf.length,buf);buf.fill(0);buf=secureBuf;}return buf;};this.toWireFormat=util.base64.encode;}function Base64Shape(){BinaryShape.apply(this,arguments);}function BooleanShape(){Shape.apply(this,arguments);this.toType=function(value){if(typeof value==='boolean')return value;if(value===null||value===undefined)return null;return value==='true';};}/**\n     * @api private\n     */Shape.shapes={StructureShape:StructureShape,ListShape:ListShape,MapShape:MapShape,StringShape:StringShape,BooleanShape:BooleanShape,Base64Shape:Base64Shape};/**\n     * @api private\n     */module.exports=Shape;},{\"../util\":74,\"./collection\":41}],46:[function(require,module,exports){var AWS=require('./core');/**\n     * @api private\n     */AWS.ParamValidator=AWS.util.inherit({/**\n       * Create a new validator object.\n       *\n       * @param validation [Boolean|map] whether input parameters should be\n       *     validated against the operation description before sending the\n       *     request. Pass a map to enable any of the following specific\n       *     validation features:\n       *\n       *     * **min** [Boolean] &mdash; Validates that a value meets the min\n       *       constraint. This is enabled by default when paramValidation is set\n       *       to `true`.\n       *     * **max** [Boolean] &mdash; Validates that a value meets the max\n       *       constraint.\n       *     * **pattern** [Boolean] &mdash; Validates that a string value matches a\n       *       regular expression.\n       *     * **enum** [Boolean] &mdash; Validates that a string value matches one\n       *       of the allowable enum values.\n       */constructor:function ParamValidator(validation){if(validation===true||validation===undefined){validation={'min':true};}this.validation=validation;},validate:function validate(shape,params,context){this.errors=[];this.validateMember(shape,params||{},context||'params');if(this.errors.length>1){var msg=this.errors.join('\\n* ');msg='There were '+this.errors.length+' validation errors:\\n* '+msg;throw AWS.util.error(new Error(msg),{code:'MultipleValidationErrors',errors:this.errors});}else if(this.errors.length===1){throw this.errors[0];}else{return true;}},fail:function fail(code,message){this.errors.push(AWS.util.error(new Error(message),{code:code}));},validateStructure:function validateStructure(shape,params,context){if(shape.isDocument)return true;this.validateType(params,context,['object'],'structure');var paramName;for(var i=0;shape.required&&i<shape.required.length;i++){paramName=shape.required[i];var value=params[paramName];if(value===undefined||value===null){this.fail('MissingRequiredParameter','Missing required key \\''+paramName+'\\' in '+context);}}// validate hash members\nfor(paramName in params){if(!Object.prototype.hasOwnProperty.call(params,paramName))continue;var paramValue=params[paramName],memberShape=shape.members[paramName];if(memberShape!==undefined){var memberContext=[context,paramName].join('.');this.validateMember(memberShape,paramValue,memberContext);}else if(paramValue!==undefined&&paramValue!==null){this.fail('UnexpectedParameter','Unexpected key \\''+paramName+'\\' found in '+context);}}return true;},validateMember:function validateMember(shape,param,context){switch(shape.type){case'structure':return this.validateStructure(shape,param,context);case'list':return this.validateList(shape,param,context);case'map':return this.validateMap(shape,param,context);default:return this.validateScalar(shape,param,context);}},validateList:function validateList(shape,params,context){if(this.validateType(params,context,[Array])){this.validateRange(shape,params.length,context,'list member count');// validate array members\nfor(var i=0;i<params.length;i++){this.validateMember(shape.member,params[i],context+'['+i+']');}}},validateMap:function validateMap(shape,params,context){if(this.validateType(params,context,['object'],'map')){// Build up a count of map members to validate range traits.\nvar mapCount=0;for(var param in params){if(!Object.prototype.hasOwnProperty.call(params,param))continue;// Validate any map key trait constraints\nthis.validateMember(shape.key,param,context+'[key=\\''+param+'\\']');this.validateMember(shape.value,params[param],context+'[\\''+param+'\\']');mapCount++;}this.validateRange(shape,mapCount,context,'map member count');}},validateScalar:function validateScalar(shape,value,context){switch(shape.type){case null:case undefined:case'string':return this.validateString(shape,value,context);case'base64':case'binary':return this.validatePayload(value,context);case'integer':case'float':return this.validateNumber(shape,value,context);case'boolean':return this.validateType(value,context,['boolean']);case'timestamp':return this.validateType(value,context,[Date,/^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$/,'number'],'Date object, ISO-8601 string, or a UNIX timestamp');default:return this.fail('UnkownType','Unhandled type '+shape.type+' for '+context);}},validateString:function validateString(shape,value,context){var validTypes=['string'];if(shape.isJsonValue){validTypes=validTypes.concat(['number','object','boolean']);}if(value!==null&&this.validateType(value,context,validTypes)){this.validateEnum(shape,value,context);this.validateRange(shape,value.length,context,'string length');this.validatePattern(shape,value,context);this.validateUri(shape,value,context);}},validateUri:function validateUri(shape,value,context){if(shape['location']==='uri'){if(value.length===0){this.fail('UriParameterError','Expected uri parameter to have length >= 1,'+' but found \"'+value+'\" for '+context);}}},validatePattern:function validatePattern(shape,value,context){if(this.validation['pattern']&&shape['pattern']!==undefined){if(!new RegExp(shape['pattern']).test(value)){this.fail('PatternMatchError','Provided value \"'+value+'\" '+'does not match regex pattern /'+shape['pattern']+'/ for '+context);}}},validateRange:function validateRange(shape,value,context,descriptor){if(this.validation['min']){if(shape['min']!==undefined&&value<shape['min']){this.fail('MinRangeError','Expected '+descriptor+' >= '+shape['min']+', but found '+value+' for '+context);}}if(this.validation['max']){if(shape['max']!==undefined&&value>shape['max']){this.fail('MaxRangeError','Expected '+descriptor+' <= '+shape['max']+', but found '+value+' for '+context);}}},validateEnum:function validateRange(shape,value,context){if(this.validation['enum']&&shape['enum']!==undefined){// Fail if the string value is not present in the enum list\nif(shape['enum'].indexOf(value)===-1){this.fail('EnumError','Found string value of '+value+', but '+'expected '+shape['enum'].join('|')+' for '+context);}}},validateType:function validateType(value,context,acceptedTypes,type){// We will not log an error for null or undefined, but we will return\n// false so that callers know that the expected type was not strictly met.\nif(value===null||value===undefined)return false;var foundInvalidType=false;for(var i=0;i<acceptedTypes.length;i++){if(typeof acceptedTypes[i]==='string'){if(_typeof(value)===acceptedTypes[i])return true;}else if(acceptedTypes[i]instanceof RegExp){if((value||'').toString().match(acceptedTypes[i]))return true;}else{if(value instanceof acceptedTypes[i])return true;if(AWS.util.isType(value,acceptedTypes[i]))return true;if(!type&&!foundInvalidType)acceptedTypes=acceptedTypes.slice();acceptedTypes[i]=AWS.util.typeName(acceptedTypes[i]);}foundInvalidType=true;}var acceptedType=type;if(!acceptedType){acceptedType=acceptedTypes.join(', ').replace(/,([^,]+)$/,', or$1');}var vowel=acceptedType.match(/^[aeiou]/i)?'n':'';this.fail('InvalidParameterType','Expected '+context+' to be a'+vowel+' '+acceptedType);return false;},validateNumber:function validateNumber(shape,value,context){if(value===null||value===undefined)return;if(typeof value==='string'){var castedValue=parseFloat(value);if(castedValue.toString()===value)value=castedValue;}if(this.validateType(value,context,['number'])){this.validateRange(shape,value,context,'numeric value');}},validatePayload:function validatePayload(value,context){if(value===null||value===undefined)return;if(typeof value==='string')return;if(value&&typeof value.byteLength==='number')return;// typed arrays\nif(AWS.util.isNode()){// special check for buffer/stream in Node.js\nvar Stream=AWS.util.stream.Stream;if(AWS.util.Buffer.isBuffer(value)||value instanceof Stream)return;}else{if((typeof Blob===\"undefined\"?\"undefined\":_typeof(Blob))!==void 0&&value instanceof Blob)return;}var types=['Buffer','Stream','File','Blob','ArrayBuffer','DataView'];if(value){for(var i=0;i<types.length;i++){if(AWS.util.isType(value,types[i]))return;if(AWS.util.typeName(value.constructor)===types[i])return;}}this.fail('InvalidParameterType','Expected '+context+' to be a '+'string, Buffer, Stream, Blob, or typed array object');}});},{\"./core\":19}],47:[function(require,module,exports){var util=require('../util');var AWS=require('../core');/**\n     * Prepend prefix defined by API model to endpoint that's already\n     * constructed. This feature does not apply to operations using\n     * endpoint discovery and can be disabled.\n     * @api private\n     */function populateHostPrefix(request){var enabled=request.service.config.hostPrefixEnabled;if(!enabled)return request;var operationModel=request.service.api.operations[request.operation];//don't marshal host prefix when operation has endpoint discovery traits\nif(hasEndpointDiscover(request))return request;if(operationModel.endpoint&&operationModel.endpoint.hostPrefix){var hostPrefixNotation=operationModel.endpoint.hostPrefix;var hostPrefix=expandHostPrefix(hostPrefixNotation,request.params,operationModel.input);prependEndpointPrefix(request.httpRequest.endpoint,hostPrefix);validateHostname(request.httpRequest.endpoint.hostname);}return request;}/**\n     * @api private\n     */function hasEndpointDiscover(request){var api=request.service.api;var operationModel=api.operations[request.operation];var isEndpointOperation=api.endpointOperation&&api.endpointOperation===util.string.lowerFirst(operationModel.name);return operationModel.endpointDiscoveryRequired!=='NULL'||isEndpointOperation===true;}/**\n     * @api private\n     */function expandHostPrefix(hostPrefixNotation,params,shape){util.each(shape.members,function(name,member){if(member.hostLabel===true){if(typeof params[name]!=='string'||params[name]===''){throw util.error(new Error(),{message:'Parameter '+name+' should be a non-empty string.',code:'InvalidParameter'});}var regex=new RegExp('\\\\{'+name+'\\\\}','g');hostPrefixNotation=hostPrefixNotation.replace(regex,params[name]);}});return hostPrefixNotation;}/**\n     * @api private\n     */function prependEndpointPrefix(endpoint,prefix){if(endpoint.host){endpoint.host=prefix+endpoint.host;}if(endpoint.hostname){endpoint.hostname=prefix+endpoint.hostname;}}/**\n     * @api private\n     */function validateHostname(hostname){var labels=hostname.split('.');//Reference: https://tools.ietf.org/html/rfc1123#section-2\nvar hostPattern=/^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9]$/;util.arrayEach(labels,function(label){if(!label.length||label.length<1||label.length>63){throw util.error(new Error(),{code:'ValidationError',message:'Hostname label length should be between 1 to 63 characters, inclusive.'});}if(!hostPattern.test(label)){throw AWS.util.error(new Error(),{code:'ValidationError',message:label+' is not hostname compatible.'});}});}module.exports={populateHostPrefix:populateHostPrefix};},{\"../core\":19,\"../util\":74}],48:[function(require,module,exports){var util=require('../util');var JsonBuilder=require('../json/builder');var JsonParser=require('../json/parser');var populateHostPrefix=require('./helpers').populateHostPrefix;function buildRequest(req){var httpRequest=req.httpRequest;var api=req.service.api;var target=api.targetPrefix+'.'+api.operations[req.operation].name;var version=api.jsonVersion||'1.0';var input=api.operations[req.operation].input;var builder=new JsonBuilder();if(version===1)version='1.0';if(api.awsQueryCompatible){if(!httpRequest.params){httpRequest.params={};}// because Query protocol does this.\nObject.assign(httpRequest.params,req.params);}httpRequest.body=builder.build(req.params||{},input);httpRequest.headers['Content-Type']='application/x-amz-json-'+version;httpRequest.headers['X-Amz-Target']=target;populateHostPrefix(req);}function extractError(resp){var error={};var httpResponse=resp.httpResponse;error.code=httpResponse.headers['x-amzn-errortype']||'UnknownError';if(typeof error.code==='string'){error.code=error.code.split(':')[0];}if(httpResponse.body.length>0){try{var e=JSON.parse(httpResponse.body.toString());var code=e.__type||e.code||e.Code;if(code){error.code=code.split('#').pop();}if(error.code==='RequestEntityTooLarge'){error.message='Request body must be less than 1 MB';}else{error.message=e.message||e.Message||null;}// The minimized models do not have error shapes, so\n// without expanding the model size, it's not possible\n// to validate the response shape (members) or\n// check if any are sensitive to logging.\n// Assign the fields as non-enumerable, allowing specific access only.\nfor(var key in e||{}){if(key==='code'||key==='message'){continue;}error['['+key+']']='See error.'+key+' for details.';Object.defineProperty(error,key,{value:e[key],enumerable:false,writable:true});}}catch(e){error.statusCode=httpResponse.statusCode;error.message=httpResponse.statusMessage;}}else{error.statusCode=httpResponse.statusCode;error.message=httpResponse.statusCode.toString();}resp.error=util.error(new Error(),error);}function extractData(resp){var body=resp.httpResponse.body.toString()||'{}';if(resp.request.service.config.convertResponseTypes===false){resp.data=JSON.parse(body);}else{var operation=resp.request.service.api.operations[resp.request.operation];var shape=operation.output||{};var parser=new JsonParser();resp.data=parser.parse(body,shape);}}/**\n     * @api private\n     */module.exports={buildRequest:buildRequest,extractError:extractError,extractData:extractData};},{\"../json/builder\":37,\"../json/parser\":38,\"../util\":74,\"./helpers\":47}],49:[function(require,module,exports){var AWS=require('../core');var util=require('../util');var QueryParamSerializer=require('../query/query_param_serializer');var Shape=require('../model/shape');var populateHostPrefix=require('./helpers').populateHostPrefix;function buildRequest(req){var operation=req.service.api.operations[req.operation];var httpRequest=req.httpRequest;httpRequest.headers['Content-Type']='application/x-www-form-urlencoded; charset=utf-8';httpRequest.params={Version:req.service.api.apiVersion,Action:operation.name};// convert the request parameters into a list of query params,\n// e.g. Deeply.NestedParam.0.Name=value\nvar builder=new QueryParamSerializer();builder.serialize(req.params,operation.input,function(name,value){httpRequest.params[name]=value;});httpRequest.body=util.queryParamsToString(httpRequest.params);populateHostPrefix(req);}function extractError(resp){var data,body=resp.httpResponse.body.toString();if(body.match('<UnknownOperationException')){data={Code:'UnknownOperation',Message:'Unknown operation '+resp.request.operation};}else{try{data=new AWS.XML.Parser().parse(body);}catch(e){data={Code:resp.httpResponse.statusCode,Message:resp.httpResponse.statusMessage};}}if(data.requestId&&!resp.requestId)resp.requestId=data.requestId;if(data.Errors)data=data.Errors;if(data.Error)data=data.Error;if(data.Code){resp.error=util.error(new Error(),{code:data.Code,message:data.Message});}else{resp.error=util.error(new Error(),{code:resp.httpResponse.statusCode,message:null});}}function extractData(resp){var req=resp.request;var operation=req.service.api.operations[req.operation];var shape=operation.output||{};var origRules=shape;if(origRules.resultWrapper){var tmp=Shape.create({type:'structure'});tmp.members[origRules.resultWrapper]=shape;tmp.memberNames=[origRules.resultWrapper];util.property(shape,'name',shape.resultWrapper);shape=tmp;}var parser=new AWS.XML.Parser();// TODO: Refactor XML Parser to parse RequestId from response.\nif(shape&&shape.members&&!shape.members._XAMZRequestId){var requestIdShape=Shape.create({type:'string'},{api:{protocol:'query'}},'requestId');shape.members._XAMZRequestId=requestIdShape;}var data=parser.parse(resp.httpResponse.body.toString(),shape);resp.requestId=data._XAMZRequestId||data.requestId;if(data._XAMZRequestId)delete data._XAMZRequestId;if(origRules.resultWrapper){if(data[origRules.resultWrapper]){util.update(data,data[origRules.resultWrapper]);delete data[origRules.resultWrapper];}}resp.data=data;}/**\n     * @api private\n     */module.exports={buildRequest:buildRequest,extractError:extractError,extractData:extractData};},{\"../core\":19,\"../model/shape\":45,\"../query/query_param_serializer\":53,\"../util\":74,\"./helpers\":47}],50:[function(require,module,exports){var util=require('../util');var populateHostPrefix=require('./helpers').populateHostPrefix;function populateMethod(req){req.httpRequest.method=req.service.api.operations[req.operation].httpMethod;}function generateURI(endpointPath,operationPath,input,params){var uri=[endpointPath,operationPath].join('/');uri=uri.replace(/\\/+/g,'/');var queryString={},queryStringSet=false;util.each(input.members,function(name,member){var paramValue=params[name];if(paramValue===null||paramValue===undefined)return;if(member.location==='uri'){var regex=new RegExp('\\\\{'+member.name+'(\\\\+)?\\\\}');uri=uri.replace(regex,function(_,plus){var fn=plus?util.uriEscapePath:util.uriEscape;return fn(String(paramValue));});}else if(member.location==='querystring'){queryStringSet=true;if(member.type==='list'){queryString[member.name]=paramValue.map(function(val){return util.uriEscape(member.member.toWireFormat(val).toString());});}else if(member.type==='map'){util.each(paramValue,function(key,value){if(Array.isArray(value)){queryString[key]=value.map(function(val){return util.uriEscape(String(val));});}else{queryString[key]=util.uriEscape(String(value));}});}else{queryString[member.name]=util.uriEscape(member.toWireFormat(paramValue).toString());}}});if(queryStringSet){uri+=uri.indexOf('?')>=0?'&':'?';var parts=[];util.arrayEach(Object.keys(queryString).sort(),function(key){if(!Array.isArray(queryString[key])){queryString[key]=[queryString[key]];}for(var i=0;i<queryString[key].length;i++){parts.push(util.uriEscape(String(key))+'='+queryString[key][i]);}});uri+=parts.join('&');}return uri;}function populateURI(req){var operation=req.service.api.operations[req.operation];var input=operation.input;var uri=generateURI(req.httpRequest.endpoint.path,operation.httpPath,input,req.params);req.httpRequest.path=uri;}function populateHeaders(req){var operation=req.service.api.operations[req.operation];util.each(operation.input.members,function(name,member){var value=req.params[name];if(value===null||value===undefined)return;if(member.location==='headers'&&member.type==='map'){util.each(value,function(key,memberValue){req.httpRequest.headers[member.name+key]=memberValue;});}else if(member.location==='header'){value=member.toWireFormat(value).toString();if(member.isJsonValue){value=util.base64.encode(value);}req.httpRequest.headers[member.name]=value;}});}function buildRequest(req){populateMethod(req);populateURI(req);populateHeaders(req);populateHostPrefix(req);}function extractError(){}function extractData(resp){var req=resp.request;var data={};var r=resp.httpResponse;var operation=req.service.api.operations[req.operation];var output=operation.output;// normalize headers names to lower-cased keys for matching\nvar headers={};util.each(r.headers,function(k,v){headers[k.toLowerCase()]=v;});util.each(output.members,function(name,member){var header=(member.name||name).toLowerCase();if(member.location==='headers'&&member.type==='map'){data[name]={};var location=member.isLocationName?member.name:'';var pattern=new RegExp('^'+location+'(.+)','i');util.each(r.headers,function(k,v){var result=k.match(pattern);if(result!==null){data[name][result[1]]=v;}});}else if(member.location==='header'){if(headers[header]!==undefined){var value=member.isJsonValue?util.base64.decode(headers[header]):headers[header];data[name]=member.toType(value);}}else if(member.location==='statusCode'){data[name]=parseInt(r.statusCode,10);}});resp.data=data;}/**\n     * @api private\n     */module.exports={buildRequest:buildRequest,extractError:extractError,extractData:extractData,generateURI:generateURI};},{\"../util\":74,\"./helpers\":47}],51:[function(require,module,exports){var util=require('../util');var Rest=require('./rest');var Json=require('./json');var JsonBuilder=require('../json/builder');var JsonParser=require('../json/parser');var METHODS_WITHOUT_BODY=['GET','HEAD','DELETE'];function unsetContentLength(req){var payloadMember=util.getRequestPayloadShape(req);if(payloadMember===undefined&&METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method)>=0){delete req.httpRequest.headers['Content-Length'];}}function populateBody(req){var builder=new JsonBuilder();var input=req.service.api.operations[req.operation].input;if(input.payload){var params={};var payloadShape=input.members[input.payload];params=req.params[input.payload];if(payloadShape.type==='structure'){req.httpRequest.body=builder.build(params||{},payloadShape);applyContentTypeHeader(req);}else if(params!==undefined){// non-JSON payload\nreq.httpRequest.body=params;if(payloadShape.type==='binary'||payloadShape.isStreaming){applyContentTypeHeader(req,true);}}}else{req.httpRequest.body=builder.build(req.params,input);applyContentTypeHeader(req);}}function applyContentTypeHeader(req,isBinary){if(!req.httpRequest.headers['Content-Type']){var type=isBinary?'binary/octet-stream':'application/json';req.httpRequest.headers['Content-Type']=type;}}function buildRequest(req){Rest.buildRequest(req);// never send body payload on GET/HEAD/DELETE\nif(METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method)<0){populateBody(req);}}function extractError(resp){Json.extractError(resp);}function extractData(resp){Rest.extractData(resp);var req=resp.request;var operation=req.service.api.operations[req.operation];var rules=req.service.api.operations[req.operation].output||{};var parser;var hasEventOutput=operation.hasEventOutput;if(rules.payload){var payloadMember=rules.members[rules.payload];var body=resp.httpResponse.body;if(payloadMember.isEventStream){parser=new JsonParser();resp.data[payload]=util.createEventStream(AWS.HttpClient.streamsApiVersion===2?resp.httpResponse.stream:body,parser,payloadMember);}else if(payloadMember.type==='structure'||payloadMember.type==='list'){var parser=new JsonParser();resp.data[rules.payload]=parser.parse(body,payloadMember);}else if(payloadMember.type==='binary'||payloadMember.isStreaming){resp.data[rules.payload]=body;}else{resp.data[rules.payload]=payloadMember.toType(body);}}else{var data=resp.data;Json.extractData(resp);resp.data=util.merge(data,resp.data);}}/**\n     * @api private\n     */module.exports={buildRequest:buildRequest,extractError:extractError,extractData:extractData,unsetContentLength:unsetContentLength};},{\"../json/builder\":37,\"../json/parser\":38,\"../util\":74,\"./json\":48,\"./rest\":50}],52:[function(require,module,exports){var AWS=require('../core');var util=require('../util');var Rest=require('./rest');function populateBody(req){var input=req.service.api.operations[req.operation].input;var builder=new AWS.XML.Builder();var params=req.params;var payload=input.payload;if(payload){var payloadMember=input.members[payload];params=params[payload];if(params===undefined)return;if(payloadMember.type==='structure'){var rootElement=payloadMember.name;req.httpRequest.body=builder.toXML(params,payloadMember,rootElement,true);}else{// non-xml payload\nreq.httpRequest.body=params;}}else{req.httpRequest.body=builder.toXML(params,input,input.name||input.shape||util.string.upperFirst(req.operation)+'Request');}}function buildRequest(req){Rest.buildRequest(req);// never send body payload on GET/HEAD\nif(['GET','HEAD'].indexOf(req.httpRequest.method)<0){populateBody(req);}}function extractError(resp){Rest.extractError(resp);var data;try{data=new AWS.XML.Parser().parse(resp.httpResponse.body.toString());}catch(e){data={Code:resp.httpResponse.statusCode,Message:resp.httpResponse.statusMessage};}if(data.Errors)data=data.Errors;if(data.Error)data=data.Error;if(data.Code){resp.error=util.error(new Error(),{code:data.Code,message:data.Message});}else{resp.error=util.error(new Error(),{code:resp.httpResponse.statusCode,message:null});}}function extractData(resp){Rest.extractData(resp);var parser;var req=resp.request;var body=resp.httpResponse.body;var operation=req.service.api.operations[req.operation];var output=operation.output;var hasEventOutput=operation.hasEventOutput;var payload=output.payload;if(payload){var payloadMember=output.members[payload];if(payloadMember.isEventStream){parser=new AWS.XML.Parser();resp.data[payload]=util.createEventStream(AWS.HttpClient.streamsApiVersion===2?resp.httpResponse.stream:resp.httpResponse.body,parser,payloadMember);}else if(payloadMember.type==='structure'){parser=new AWS.XML.Parser();resp.data[payload]=parser.parse(body.toString(),payloadMember);}else if(payloadMember.type==='binary'||payloadMember.isStreaming){resp.data[payload]=body;}else{resp.data[payload]=payloadMember.toType(body);}}else if(body.length>0){parser=new AWS.XML.Parser();var data=parser.parse(body.toString(),output);util.update(resp.data,data);}}/**\n     * @api private\n     */module.exports={buildRequest:buildRequest,extractError:extractError,extractData:extractData};},{\"../core\":19,\"../util\":74,\"./rest\":50}],53:[function(require,module,exports){var util=require('../util');function QueryParamSerializer(){}QueryParamSerializer.prototype.serialize=function(params,shape,fn){serializeStructure('',params,shape,fn);};function ucfirst(shape){if(shape.isQueryName||shape.api.protocol!=='ec2'){return shape.name;}else{return shape.name[0].toUpperCase()+shape.name.substr(1);}}function serializeStructure(prefix,struct,rules,fn){util.each(rules.members,function(name,member){var value=struct[name];if(value===null||value===undefined)return;var memberName=ucfirst(member);memberName=prefix?prefix+'.'+memberName:memberName;serializeMember(memberName,value,member,fn);});}function serializeMap(name,map,rules,fn){var i=1;util.each(map,function(key,value){var prefix=rules.flattened?'.':'.entry.';var position=prefix+i+++'.';var keyName=position+(rules.key.name||'key');var valueName=position+(rules.value.name||'value');serializeMember(name+keyName,key,rules.key,fn);serializeMember(name+valueName,value,rules.value,fn);});}function serializeList(name,list,rules,fn){var memberRules=rules.member||{};if(list.length===0){fn.call(this,name,null);return;}util.arrayEach(list,function(v,n){var suffix='.'+(n+1);if(rules.api.protocol==='ec2'){// Do nothing for EC2\nsuffix=suffix+'';// make linter happy\n}else if(rules.flattened){if(memberRules.name){var parts=name.split('.');parts.pop();parts.push(ucfirst(memberRules));name=parts.join('.');}}else{suffix='.'+(memberRules.name?memberRules.name:'member')+suffix;}serializeMember(name+suffix,v,memberRules,fn);});}function serializeMember(name,value,rules,fn){if(value===null||value===undefined)return;if(rules.type==='structure'){serializeStructure(name,value,rules,fn);}else if(rules.type==='list'){serializeList(name,value,rules,fn);}else if(rules.type==='map'){serializeMap(name,value,rules,fn);}else{fn(name,rules.toWireFormat(value).toString());}}/**\n     * @api private\n     */module.exports=QueryParamSerializer;},{\"../util\":74}],54:[function(require,module,exports){module.exports={//provide realtime clock for performance measurement\nnow:function now(){if(typeof performance!=='undefined'&&typeof performance.now==='function'){return performance.now();}return Date.now();}};},{}],55:[function(require,module,exports){function isFipsRegion(region){return typeof region==='string'&&(region.startsWith('fips-')||region.endsWith('-fips'));}function isGlobalRegion(region){return typeof region==='string'&&['aws-global','aws-us-gov-global'].includes(region);}function getRealRegion(region){return['fips-aws-global','aws-fips','aws-global'].includes(region)?'us-east-1':['fips-aws-us-gov-global','aws-us-gov-global'].includes(region)?'us-gov-west-1':region.replace(/fips-(dkr-|prod-)?|-fips/,'');}module.exports={isFipsRegion:isFipsRegion,isGlobalRegion:isGlobalRegion,getRealRegion:getRealRegion};},{}],56:[function(require,module,exports){var util=require('./util');var regionConfig=require('./region_config_data.json');function generateRegionPrefix(region){if(!region)return null;var parts=region.split('-');if(parts.length<3)return null;return parts.slice(0,parts.length-2).join('-')+'-*';}function derivedKeys(service){var region=service.config.region;var regionPrefix=generateRegionPrefix(region);var endpointPrefix=service.api.endpointPrefix;return[[region,endpointPrefix],[regionPrefix,endpointPrefix],[region,'*'],[regionPrefix,'*'],['*',endpointPrefix],[region,'internal-*'],['*','*']].map(function(item){return item[0]&&item[1]?item.join('/'):null;});}function applyConfig(service,config){util.each(config,function(key,value){if(key==='globalEndpoint')return;if(service.config[key]===undefined||service.config[key]===null){service.config[key]=value;}});}function configureEndpoint(service){var keys=derivedKeys(service);var useFipsEndpoint=service.config.useFipsEndpoint;var useDualstackEndpoint=service.config.useDualstackEndpoint;for(var i=0;i<keys.length;i++){var key=keys[i];if(!key)continue;var rules=useFipsEndpoint?useDualstackEndpoint?regionConfig.dualstackFipsRules:regionConfig.fipsRules:useDualstackEndpoint?regionConfig.dualstackRules:regionConfig.rules;if(Object.prototype.hasOwnProperty.call(rules,key)){var config=rules[key];if(typeof config==='string'){config=regionConfig.patterns[config];}// set global endpoint\nservice.isGlobalEndpoint=!!config.globalEndpoint;if(config.signingRegion){service.signingRegion=config.signingRegion;}// signature version\nif(!config.signatureVersion){// Note: config is a global object and should not be mutated here.\n// However, we are retaining this line for backwards compatibility.\n// The non-v4 signatureVersion will be set in a copied object below.\nconfig.signatureVersion='v4';}var useBearer=(service.api&&service.api.signatureVersion)==='bearer';// merge config\napplyConfig(service,Object.assign({},config,{signatureVersion:useBearer?'bearer':config.signatureVersion}));return;}}}function getEndpointSuffix(region){var regionRegexes={'^(us|eu|ap|sa|ca|me)\\\\-\\\\w+\\\\-\\\\d+$':'amazonaws.com','^cn\\\\-\\\\w+\\\\-\\\\d+$':'amazonaws.com.cn','^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$':'amazonaws.com','^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$':'c2s.ic.gov','^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$':'sc2s.sgov.gov'};var defaultSuffix='amazonaws.com';var regexes=Object.keys(regionRegexes);for(var i=0;i<regexes.length;i++){var regionPattern=RegExp(regexes[i]);var dnsSuffix=regionRegexes[regexes[i]];if(regionPattern.test(region))return dnsSuffix;}return defaultSuffix;}/**\n     * @api private\n     */module.exports={configureEndpoint:configureEndpoint,getEndpointSuffix:getEndpointSuffix};},{\"./region_config_data.json\":57,\"./util\":74}],57:[function(require,module,exports){module.exports={\"rules\":{\"*/*\":{\"endpoint\":\"{service}.{region}.amazonaws.com\"},\"cn-*/*\":{\"endpoint\":\"{service}.{region}.amazonaws.com.cn\"},\"eu-isoe-*/*\":\"euIsoe\",\"us-iso-*/*\":\"usIso\",\"us-isob-*/*\":\"usIsob\",\"*/budgets\":\"globalSSL\",\"*/cloudfront\":\"globalSSL\",\"*/sts\":\"globalSSL\",\"*/importexport\":{\"endpoint\":\"{service}.amazonaws.com\",\"signatureVersion\":\"v2\",\"globalEndpoint\":true},\"*/route53\":\"globalSSL\",\"cn-*/route53\":{\"endpoint\":\"{service}.amazonaws.com.cn\",\"globalEndpoint\":true,\"signingRegion\":\"cn-northwest-1\"},\"us-gov-*/route53\":\"globalGovCloud\",\"us-iso-*/route53\":{\"endpoint\":\"{service}.c2s.ic.gov\",\"globalEndpoint\":true,\"signingRegion\":\"us-iso-east-1\"},\"us-isob-*/route53\":{\"endpoint\":\"{service}.sc2s.sgov.gov\",\"globalEndpoint\":true,\"signingRegion\":\"us-isob-east-1\"},\"*/waf\":\"globalSSL\",\"*/iam\":\"globalSSL\",\"cn-*/iam\":{\"endpoint\":\"{service}.cn-north-1.amazonaws.com.cn\",\"globalEndpoint\":true,\"signingRegion\":\"cn-north-1\"},\"us-iso-*/iam\":{\"endpoint\":\"{service}.us-iso-east-1.c2s.ic.gov\",\"globalEndpoint\":true,\"signingRegion\":\"us-iso-east-1\"},\"us-gov-*/iam\":\"globalGovCloud\",\"*/ce\":{\"endpoint\":\"{service}.us-east-1.amazonaws.com\",\"globalEndpoint\":true,\"signingRegion\":\"us-east-1\"},\"cn-*/ce\":{\"endpoint\":\"{service}.cn-northwest-1.amazonaws.com.cn\",\"globalEndpoint\":true,\"signingRegion\":\"cn-northwest-1\"},\"us-gov-*/sts\":{\"endpoint\":\"{service}.{region}.amazonaws.com\"},\"us-gov-west-1/s3\":\"s3signature\",\"us-west-1/s3\":\"s3signature\",\"us-west-2/s3\":\"s3signature\",\"eu-west-1/s3\":\"s3signature\",\"ap-southeast-1/s3\":\"s3signature\",\"ap-southeast-2/s3\":\"s3signature\",\"ap-northeast-1/s3\":\"s3signature\",\"sa-east-1/s3\":\"s3signature\",\"us-east-1/s3\":{\"endpoint\":\"{service}.amazonaws.com\",\"signatureVersion\":\"s3\"},\"us-east-1/sdb\":{\"endpoint\":\"{service}.amazonaws.com\",\"signatureVersion\":\"v2\"},\"*/sdb\":{\"endpoint\":\"{service}.{region}.amazonaws.com\",\"signatureVersion\":\"v2\"},\"*/resource-explorer-2\":\"dualstackByDefault\",\"*/kendra-ranking\":\"dualstackByDefault\",\"*/internetmonitor\":\"dualstackByDefault\",\"*/codecatalyst\":\"globalDualstackByDefault\"},\"fipsRules\":{\"*/*\":\"fipsStandard\",\"us-gov-*/*\":\"fipsStandard\",\"us-iso-*/*\":{\"endpoint\":\"{service}-fips.{region}.c2s.ic.gov\"},\"us-iso-*/dms\":\"usIso\",\"us-isob-*/*\":{\"endpoint\":\"{service}-fips.{region}.sc2s.sgov.gov\"},\"us-isob-*/dms\":\"usIsob\",\"cn-*/*\":{\"endpoint\":\"{service}-fips.{region}.amazonaws.com.cn\"},\"*/api.ecr\":\"fips.api.ecr\",\"*/api.sagemaker\":\"fips.api.sagemaker\",\"*/batch\":\"fipsDotPrefix\",\"*/eks\":\"fipsDotPrefix\",\"*/models.lex\":\"fips.models.lex\",\"*/runtime.lex\":\"fips.runtime.lex\",\"*/runtime.sagemaker\":{\"endpoint\":\"runtime-fips.sagemaker.{region}.amazonaws.com\"},\"*/iam\":\"fipsWithoutRegion\",\"*/route53\":\"fipsWithoutRegion\",\"*/transcribe\":\"fipsDotPrefix\",\"*/waf\":\"fipsWithoutRegion\",\"us-gov-*/transcribe\":\"fipsDotPrefix\",\"us-gov-*/api.ecr\":\"fips.api.ecr\",\"us-gov-*/models.lex\":\"fips.models.lex\",\"us-gov-*/runtime.lex\":\"fips.runtime.lex\",\"us-gov-*/access-analyzer\":\"fipsWithServiceOnly\",\"us-gov-*/acm\":\"fipsWithServiceOnly\",\"us-gov-*/acm-pca\":\"fipsWithServiceOnly\",\"us-gov-*/api.sagemaker\":\"fipsWithServiceOnly\",\"us-gov-*/appconfig\":\"fipsWithServiceOnly\",\"us-gov-*/application-autoscaling\":\"fipsWithServiceOnly\",\"us-gov-*/autoscaling\":\"fipsWithServiceOnly\",\"us-gov-*/autoscaling-plans\":\"fipsWithServiceOnly\",\"us-gov-*/batch\":\"fipsWithServiceOnly\",\"us-gov-*/cassandra\":\"fipsWithServiceOnly\",\"us-gov-*/clouddirectory\":\"fipsWithServiceOnly\",\"us-gov-*/cloudformation\":\"fipsWithServiceOnly\",\"us-gov-*/cloudshell\":\"fipsWithServiceOnly\",\"us-gov-*/cloudtrail\":\"fipsWithServiceOnly\",\"us-gov-*/config\":\"fipsWithServiceOnly\",\"us-gov-*/connect\":\"fipsWithServiceOnly\",\"us-gov-*/databrew\":\"fipsWithServiceOnly\",\"us-gov-*/dlm\":\"fipsWithServiceOnly\",\"us-gov-*/dms\":\"fipsWithServiceOnly\",\"us-gov-*/dynamodb\":\"fipsWithServiceOnly\",\"us-gov-*/ec2\":\"fipsWithServiceOnly\",\"us-gov-*/eks\":\"fipsWithServiceOnly\",\"us-gov-*/elasticache\":\"fipsWithServiceOnly\",\"us-gov-*/elasticbeanstalk\":\"fipsWithServiceOnly\",\"us-gov-*/elasticloadbalancing\":\"fipsWithServiceOnly\",\"us-gov-*/elasticmapreduce\":\"fipsWithServiceOnly\",\"us-gov-*/events\":\"fipsWithServiceOnly\",\"us-gov-*/fis\":\"fipsWithServiceOnly\",\"us-gov-*/glacier\":\"fipsWithServiceOnly\",\"us-gov-*/greengrass\":\"fipsWithServiceOnly\",\"us-gov-*/guardduty\":\"fipsWithServiceOnly\",\"us-gov-*/identitystore\":\"fipsWithServiceOnly\",\"us-gov-*/imagebuilder\":\"fipsWithServiceOnly\",\"us-gov-*/kafka\":\"fipsWithServiceOnly\",\"us-gov-*/kinesis\":\"fipsWithServiceOnly\",\"us-gov-*/logs\":\"fipsWithServiceOnly\",\"us-gov-*/mediaconvert\":\"fipsWithServiceOnly\",\"us-gov-*/monitoring\":\"fipsWithServiceOnly\",\"us-gov-*/networkmanager\":\"fipsWithServiceOnly\",\"us-gov-*/organizations\":\"fipsWithServiceOnly\",\"us-gov-*/outposts\":\"fipsWithServiceOnly\",\"us-gov-*/participant.connect\":\"fipsWithServiceOnly\",\"us-gov-*/ram\":\"fipsWithServiceOnly\",\"us-gov-*/rds\":\"fipsWithServiceOnly\",\"us-gov-*/redshift\":\"fipsWithServiceOnly\",\"us-gov-*/resource-groups\":\"fipsWithServiceOnly\",\"us-gov-*/runtime.sagemaker\":\"fipsWithServiceOnly\",\"us-gov-*/serverlessrepo\":\"fipsWithServiceOnly\",\"us-gov-*/servicecatalog-appregistry\":\"fipsWithServiceOnly\",\"us-gov-*/servicequotas\":\"fipsWithServiceOnly\",\"us-gov-*/sns\":\"fipsWithServiceOnly\",\"us-gov-*/sqs\":\"fipsWithServiceOnly\",\"us-gov-*/ssm\":\"fipsWithServiceOnly\",\"us-gov-*/streams.dynamodb\":\"fipsWithServiceOnly\",\"us-gov-*/sts\":\"fipsWithServiceOnly\",\"us-gov-*/support\":\"fipsWithServiceOnly\",\"us-gov-*/swf\":\"fipsWithServiceOnly\",\"us-gov-west-1/states\":\"fipsWithServiceOnly\",\"us-iso-east-1/elasticfilesystem\":{\"endpoint\":\"elasticfilesystem-fips.{region}.c2s.ic.gov\"},\"us-gov-west-1/organizations\":\"fipsWithServiceOnly\",\"us-gov-west-1/route53\":{\"endpoint\":\"route53.us-gov.amazonaws.com\"},\"*/resource-explorer-2\":\"fipsDualstackByDefault\",\"*/kendra-ranking\":\"dualstackByDefault\",\"*/internetmonitor\":\"dualstackByDefault\",\"*/codecatalyst\":\"fipsGlobalDualstackByDefault\"},\"dualstackRules\":{\"*/*\":{\"endpoint\":\"{service}.{region}.api.aws\"},\"cn-*/*\":{\"endpoint\":\"{service}.{region}.api.amazonwebservices.com.cn\"},\"*/s3\":\"dualstackLegacy\",\"cn-*/s3\":\"dualstackLegacyCn\",\"*/s3-control\":\"dualstackLegacy\",\"cn-*/s3-control\":\"dualstackLegacyCn\",\"ap-south-1/ec2\":\"dualstackLegacyEc2\",\"eu-west-1/ec2\":\"dualstackLegacyEc2\",\"sa-east-1/ec2\":\"dualstackLegacyEc2\",\"us-east-1/ec2\":\"dualstackLegacyEc2\",\"us-east-2/ec2\":\"dualstackLegacyEc2\",\"us-west-2/ec2\":\"dualstackLegacyEc2\"},\"dualstackFipsRules\":{\"*/*\":{\"endpoint\":\"{service}-fips.{region}.api.aws\"},\"cn-*/*\":{\"endpoint\":\"{service}-fips.{region}.api.amazonwebservices.com.cn\"},\"*/s3\":\"dualstackFipsLegacy\",\"cn-*/s3\":\"dualstackFipsLegacyCn\",\"*/s3-control\":\"dualstackFipsLegacy\",\"cn-*/s3-control\":\"dualstackFipsLegacyCn\"},\"patterns\":{\"globalSSL\":{\"endpoint\":\"https://{service}.amazonaws.com\",\"globalEndpoint\":true,\"signingRegion\":\"us-east-1\"},\"globalGovCloud\":{\"endpoint\":\"{service}.us-gov.amazonaws.com\",\"globalEndpoint\":true,\"signingRegion\":\"us-gov-west-1\"},\"s3signature\":{\"endpoint\":\"{service}.{region}.amazonaws.com\",\"signatureVersion\":\"s3\"},\"euIsoe\":{\"endpoint\":\"{service}.{region}.cloud.adc-e.uk\"},\"usIso\":{\"endpoint\":\"{service}.{region}.c2s.ic.gov\"},\"usIsob\":{\"endpoint\":\"{service}.{region}.sc2s.sgov.gov\"},\"fipsStandard\":{\"endpoint\":\"{service}-fips.{region}.amazonaws.com\"},\"fipsDotPrefix\":{\"endpoint\":\"fips.{service}.{region}.amazonaws.com\"},\"fipsWithoutRegion\":{\"endpoint\":\"{service}-fips.amazonaws.com\"},\"fips.api.ecr\":{\"endpoint\":\"ecr-fips.{region}.amazonaws.com\"},\"fips.api.sagemaker\":{\"endpoint\":\"api-fips.sagemaker.{region}.amazonaws.com\"},\"fips.models.lex\":{\"endpoint\":\"models-fips.lex.{region}.amazonaws.com\"},\"fips.runtime.lex\":{\"endpoint\":\"runtime-fips.lex.{region}.amazonaws.com\"},\"fipsWithServiceOnly\":{\"endpoint\":\"{service}.{region}.amazonaws.com\"},\"dualstackLegacy\":{\"endpoint\":\"{service}.dualstack.{region}.amazonaws.com\"},\"dualstackLegacyCn\":{\"endpoint\":\"{service}.dualstack.{region}.amazonaws.com.cn\"},\"dualstackFipsLegacy\":{\"endpoint\":\"{service}-fips.dualstack.{region}.amazonaws.com\"},\"dualstackFipsLegacyCn\":{\"endpoint\":\"{service}-fips.dualstack.{region}.amazonaws.com.cn\"},\"dualstackLegacyEc2\":{\"endpoint\":\"api.ec2.{region}.aws\"},\"dualstackByDefault\":{\"endpoint\":\"{service}.{region}.api.aws\"},\"fipsDualstackByDefault\":{\"endpoint\":\"{service}-fips.{region}.api.aws\"},\"globalDualstackByDefault\":{\"endpoint\":\"{service}.global.api.aws\"},\"fipsGlobalDualstackByDefault\":{\"endpoint\":\"{service}-fips.global.api.aws\"}}};},{}],58:[function(require,module,exports){(function(process){(function(){var AWS=require('./core');var AcceptorStateMachine=require('./state_machine');var inherit=AWS.util.inherit;var domain=AWS.util.domain;var jmespath=require('jmespath');/**\n         * @api private\n         */var hardErrorStates={success:1,error:1,complete:1};function isTerminalState(machine){return Object.prototype.hasOwnProperty.call(hardErrorStates,machine._asm.currentState);}var fsm=new AcceptorStateMachine();fsm.setupStates=function(){var transition=function transition(_,done){var self=this;self._haltHandlersOnError=false;self.emit(self._asm.currentState,function(err){if(err){if(isTerminalState(self)){if(domain&&self.domain instanceof domain.Domain){err.domainEmitter=self;err.domain=self.domain;err.domainThrown=false;self.domain.emit('error',err);}else{throw err;}}else{self.response.error=err;done(err);}}else{done(self.response.error);}});};this.addState('validate','build','error',transition);this.addState('build','afterBuild','restart',transition);this.addState('afterBuild','sign','restart',transition);this.addState('sign','send','retry',transition);this.addState('retry','afterRetry','afterRetry',transition);this.addState('afterRetry','sign','error',transition);this.addState('send','validateResponse','retry',transition);this.addState('validateResponse','extractData','extractError',transition);this.addState('extractError','extractData','retry',transition);this.addState('extractData','success','retry',transition);this.addState('restart','build','error',transition);this.addState('success','complete','complete',transition);this.addState('error','complete','complete',transition);this.addState('complete',null,null,transition);};fsm.setupStates();/**\n         * ## Asynchronous Requests\n         *\n         * All requests made through the SDK are asynchronous and use a\n         * callback interface. Each service method that kicks off a request\n         * returns an `AWS.Request` object that you can use to register\n         * callbacks.\n         *\n         * For example, the following service method returns the request\n         * object as \"request\", which can be used to register callbacks:\n         *\n         * ```javascript\n         * // request is an AWS.Request object\n         * var request = ec2.describeInstances();\n         *\n         * // register callbacks on request to retrieve response data\n         * request.on('success', function(response) {\n         *   console.log(response.data);\n         * });\n         * ```\n         *\n         * When a request is ready to be sent, the {send} method should\n         * be called:\n         *\n         * ```javascript\n         * request.send();\n         * ```\n         *\n         * Since registered callbacks may or may not be idempotent, requests should only\n         * be sent once. To perform the same operation multiple times, you will need to\n         * create multiple request objects, each with its own registered callbacks.\n         *\n         * ## Removing Default Listeners for Events\n         *\n         * Request objects are built with default listeners for the various events,\n         * depending on the service type. In some cases, you may want to remove\n         * some built-in listeners to customize behaviour. Doing this requires\n         * access to the built-in listener functions, which are exposed through\n         * the {AWS.EventListeners.Core} namespace. For instance, you may\n         * want to customize the HTTP handler used when sending a request. In this\n         * case, you can remove the built-in listener associated with the 'send'\n         * event, the {AWS.EventListeners.Core.SEND} listener and add your own.\n         *\n         * ## Multiple Callbacks and Chaining\n         *\n         * You can register multiple callbacks on any request object. The\n         * callbacks can be registered for different events, or all for the\n         * same event. In addition, you can chain callback registration, for\n         * example:\n         *\n         * ```javascript\n         * request.\n         *   on('success', function(response) {\n         *     console.log(\"Success!\");\n         *   }).\n         *   on('error', function(error, response) {\n         *     console.log(\"Error!\");\n         *   }).\n         *   on('complete', function(response) {\n         *     console.log(\"Always!\");\n         *   }).\n         *   send();\n         * ```\n         *\n         * The above example will print either \"Success! Always!\", or \"Error! Always!\",\n         * depending on whether the request succeeded or not.\n         *\n         * @!attribute httpRequest\n         *   @readonly\n         *   @!group HTTP Properties\n         *   @return [AWS.HttpRequest] the raw HTTP request object\n         *     containing request headers and body information\n         *     sent by the service.\n         *\n         * @!attribute startTime\n         *   @readonly\n         *   @!group Operation Properties\n         *   @return [Date] the time that the request started\n         *\n         * @!group Request Building Events\n         *\n         * @!event validate(request)\n         *   Triggered when a request is being validated. Listeners\n         *   should throw an error if the request should not be sent.\n         *   @param request [Request] the request object being sent\n         *   @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS\n         *   @see AWS.EventListeners.Core.VALIDATE_REGION\n         *   @example Ensuring that a certain parameter is set before sending a request\n         *     var req = s3.putObject(params);\n         *     req.on('validate', function() {\n         *       if (!req.params.Body.match(/^Hello\\s/)) {\n         *         throw new Error('Body must start with \"Hello \"');\n         *       }\n         *     });\n         *     req.send(function(err, data) { ... });\n         *\n         * @!event build(request)\n         *   Triggered when the request payload is being built. Listeners\n         *   should fill the necessary information to send the request\n         *   over HTTP.\n         *   @param (see AWS.Request~validate)\n         *   @example Add a custom HTTP header to a request\n         *     var req = s3.putObject(params);\n         *     req.on('build', function() {\n         *       req.httpRequest.headers['Custom-Header'] = 'value';\n         *     });\n         *     req.send(function(err, data) { ... });\n         *\n         * @!event sign(request)\n         *   Triggered when the request is being signed. Listeners should\n         *   add the correct authentication headers and/or adjust the body,\n         *   depending on the authentication mechanism being used.\n         *   @param (see AWS.Request~validate)\n         *\n         * @!group Request Sending Events\n         *\n         * @!event send(response)\n         *   Triggered when the request is ready to be sent. Listeners\n         *   should call the underlying transport layer to initiate\n         *   the sending of the request.\n         *   @param response [Response] the response object\n         *   @context [Request] the request object that was sent\n         *   @see AWS.EventListeners.Core.SEND\n         *\n         * @!event retry(response)\n         *   Triggered when a request failed and might need to be retried or redirected.\n         *   If the response is retryable, the listener should set the\n         *   `response.error.retryable` property to `true`, and optionally set\n         *   `response.error.retryDelay` to the millisecond delay for the next attempt.\n         *   In the case of a redirect, `response.error.redirect` should be set to\n         *   `true` with `retryDelay` set to an optional delay on the next request.\n         *\n         *   If a listener decides that a request should not be retried,\n         *   it should set both `retryable` and `redirect` to false.\n         *\n         *   Note that a retryable error will be retried at most\n         *   {AWS.Config.maxRetries} times (based on the service object's config).\n         *   Similarly, a request that is redirected will only redirect at most\n         *   {AWS.Config.maxRedirects} times.\n         *\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *   @example Adding a custom retry for a 404 response\n         *     request.on('retry', function(response) {\n         *       // this resource is not yet available, wait 10 seconds to get it again\n         *       if (response.httpResponse.statusCode === 404 && response.error) {\n         *         response.error.retryable = true;   // retry this error\n         *         response.error.retryDelay = 10000; // wait 10 seconds\n         *       }\n         *     });\n         *\n         * @!group Data Parsing Events\n         *\n         * @!event extractError(response)\n         *   Triggered on all non-2xx requests so that listeners can extract\n         *   error details from the response body. Listeners to this event\n         *   should set the `response.error` property.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!event extractData(response)\n         *   Triggered in successful requests to allow listeners to\n         *   de-serialize the response body into `response.data`.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!group Completion Events\n         *\n         * @!event success(response)\n         *   Triggered when the request completed successfully.\n         *   `response.data` will contain the response data and\n         *   `response.error` will be null.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!event error(error, response)\n         *   Triggered when an error occurs at any point during the\n         *   request. `response.error` will contain details about the error\n         *   that occurred. `response.data` will be null.\n         *   @param error [Error] the error object containing details about\n         *     the error that occurred.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!event complete(response)\n         *   Triggered whenever a request cycle completes. `response.error`\n         *   should be checked, since the request may have failed.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!group HTTP Events\n         *\n         * @!event httpHeaders(statusCode, headers, response, statusMessage)\n         *   Triggered when headers are sent by the remote server\n         *   @param statusCode [Integer] the HTTP response code\n         *   @param headers [map<String,String>] the response headers\n         *   @param (see AWS.Request~send)\n         *   @param statusMessage [String] A status message corresponding to the HTTP\n         *                                 response code\n         *   @context (see AWS.Request~send)\n         *\n         * @!event httpData(chunk, response)\n         *   Triggered when data is sent by the remote server\n         *   @param chunk [Buffer] the buffer data containing the next data chunk\n         *     from the server\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *   @see AWS.EventListeners.Core.HTTP_DATA\n         *\n         * @!event httpUploadProgress(progress, response)\n         *   Triggered when the HTTP request has uploaded more data\n         *   @param progress [map] An object containing the `loaded` and `total` bytes\n         *     of the request.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *   @note This event will not be emitted in Node.js 0.8.x.\n         *\n         * @!event httpDownloadProgress(progress, response)\n         *   Triggered when the HTTP request has downloaded more data\n         *   @param progress [map] An object containing the `loaded` and `total` bytes\n         *     of the request.\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *   @note This event will not be emitted in Node.js 0.8.x.\n         *\n         * @!event httpError(error, response)\n         *   Triggered when the HTTP request failed\n         *   @param error [Error] the error object that was thrown\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @!event httpDone(response)\n         *   Triggered when the server is finished sending data\n         *   @param (see AWS.Request~send)\n         *   @context (see AWS.Request~send)\n         *\n         * @see AWS.Response\n         */AWS.Request=inherit({/**\n           * Creates a request for an operation on a given service with\n           * a set of input parameters.\n           *\n           * @param service [AWS.Service] the service to perform the operation on\n           * @param operation [String] the operation to perform on the service\n           * @param params [Object] parameters to send to the operation.\n           *   See the operation's documentation for the format of the\n           *   parameters.\n           */constructor:function Request(service,operation,params){var endpoint=service.endpoint;var region=service.config.region;var customUserAgent=service.config.customUserAgent;if(service.signingRegion){region=service.signingRegion;}else if(service.isGlobalEndpoint){region='us-east-1';}this.domain=domain&&domain.active;this.service=service;this.operation=operation;this.params=params||{};this.httpRequest=new AWS.HttpRequest(endpoint,region);this.httpRequest.appendToUserAgent(customUserAgent);this.startTime=service.getSkewCorrectedDate();this.response=new AWS.Response(this);this._asm=new AcceptorStateMachine(fsm.states,'validate');this._haltHandlersOnError=false;AWS.SequentialExecutor.call(this);this.emit=this.emitEvent;},/**\n           * @!group Sending a Request\n           *//**\n           * @overload send(callback = null)\n           *   Sends the request object.\n           *\n           *   @callback callback function(err, data)\n           *     If a callback is supplied, it is called when a response is returned\n           *     from the service.\n           *     @context [AWS.Request] the request object being sent.\n           *     @param err [Error] the error object returned from the request.\n           *       Set to `null` if the request is successful.\n           *     @param data [Object] the de-serialized data returned from\n           *       the request. Set to `null` if a request error occurs.\n           *   @example Sending a request with a callback\n           *     request = s3.putObject({Bucket: 'bucket', Key: 'key'});\n           *     request.send(function(err, data) { console.log(err, data); });\n           *   @example Sending a request with no callback (using event handlers)\n           *     request = s3.putObject({Bucket: 'bucket', Key: 'key'});\n           *     request.on('complete', function(response) { ... }); // register a callback\n           *     request.send();\n           */send:function send(callback){if(callback){// append to user agent\nthis.httpRequest.appendToUserAgent('callback');this.on('complete',function(resp){callback.call(resp,resp.error,resp.data);});}this.runTo();return this.response;},/**\n           * @!method  promise()\n           *   Sends the request and returns a 'thenable' promise.\n           *\n           *   Two callbacks can be provided to the `then` method on the returned promise.\n           *   The first callback will be called if the promise is fulfilled, and the second\n           *   callback will be called if the promise is rejected.\n           *   @callback fulfilledCallback function(data)\n           *     Called if the promise is fulfilled.\n           *     @param data [Object] the de-serialized data returned from the request.\n           *   @callback rejectedCallback function(error)\n           *     Called if the promise is rejected.\n           *     @param error [Error] the error object returned from the request.\n           *   @return [Promise] A promise that represents the state of the request.\n           *   @example Sending a request using promises.\n           *     var request = s3.putObject({Bucket: 'bucket', Key: 'key'});\n           *     var result = request.promise();\n           *     result.then(function(data) { ... }, function(error) { ... });\n           *//**\n           * @api private\n           */build:function build(callback){return this.runTo('send',callback);},/**\n           * @api private\n           */runTo:function runTo(state,done){this._asm.runTo(state,done,this);return this;},/**\n           * Aborts a request, emitting the error and complete events.\n           *\n           * @!macro nobrowser\n           * @example Aborting a request after sending\n           *   var params = {\n           *     Bucket: 'bucket', Key: 'key',\n           *     Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload\n           *   };\n           *   var request = s3.putObject(params);\n           *   request.send(function (err, data) {\n           *     if (err) console.log(\"Error:\", err.code, err.message);\n           *     else console.log(data);\n           *   });\n           *\n           *   // abort request in 1 second\n           *   setTimeout(request.abort.bind(request), 1000);\n           *\n           *   // prints \"Error: RequestAbortedError Request aborted by user\"\n           * @return [AWS.Request] the same request object, for chaining.\n           * @since v1.4.0\n           */abort:function abort(){this.removeAllListeners('validateResponse');this.removeAllListeners('extractError');this.on('validateResponse',function addAbortedError(resp){resp.error=AWS.util.error(new Error('Request aborted by user'),{code:'RequestAbortedError',retryable:false});});if(this.httpRequest.stream&&!this.httpRequest.stream.didCallback){// abort HTTP stream\nthis.httpRequest.stream.abort();if(this.httpRequest._abortCallback){this.httpRequest._abortCallback();}else{this.removeAllListeners('send');// haven't sent yet, so let's not\n}}return this;},/**\n           * Iterates over each page of results given a pageable request, calling\n           * the provided callback with each page of data. After all pages have been\n           * retrieved, the callback is called with `null` data.\n           *\n           * @note This operation can generate multiple requests to a service.\n           * @example Iterating over multiple pages of objects in an S3 bucket\n           *   var pages = 1;\n           *   s3.listObjects().eachPage(function(err, data) {\n           *     if (err) return;\n           *     console.log(\"Page\", pages++);\n           *     console.log(data);\n           *   });\n           * @example Iterating over multiple pages with an asynchronous callback\n           *   s3.listObjects(params).eachPage(function(err, data, done) {\n           *     doSomethingAsyncAndOrExpensive(function() {\n           *       // The next page of results isn't fetched until done is called\n           *       done();\n           *     });\n           *   });\n           * @callback callback function(err, data, [doneCallback])\n           *   Called with each page of resulting data from the request. If the\n           *   optional `doneCallback` is provided in the function, it must be called\n           *   when the callback is complete.\n           *\n           *   @param err [Error] an error object, if an error occurred.\n           *   @param data [Object] a single page of response data. If there is no\n           *     more data, this object will be `null`.\n           *   @param doneCallback [Function] an optional done callback. If this\n           *     argument is defined in the function declaration, it should be called\n           *     when the next page is ready to be retrieved. This is useful for\n           *     controlling serial pagination across asynchronous operations.\n           *   @return [Boolean] if the callback returns `false`, pagination will\n           *     stop.\n           *\n           * @see AWS.Request.eachItem\n           * @see AWS.Response.nextPage\n           * @since v1.4.0\n           */eachPage:function eachPage(callback){// Make all callbacks async-ish\ncallback=AWS.util.fn.makeAsync(callback,3);function wrappedCallback(response){callback.call(response,response.error,response.data,function(result){if(result===false)return;if(response.hasNextPage()){response.nextPage().on('complete',wrappedCallback).send();}else{callback.call(response,null,null,AWS.util.fn.noop);}});}this.on('complete',wrappedCallback).send();},/**\n           * Enumerates over individual items of a request, paging the responses if\n           * necessary.\n           *\n           * @api experimental\n           * @since v1.4.0\n           */eachItem:function eachItem(callback){var self=this;function wrappedCallback(err,data){if(err)return callback(err,null);if(data===null)return callback(null,null);var config=self.service.paginationConfig(self.operation);var resultKey=config.resultKey;if(Array.isArray(resultKey))resultKey=resultKey[0];var items=jmespath.search(data,resultKey);var continueIteration=true;AWS.util.arrayEach(items,function(item){continueIteration=callback(null,item);if(continueIteration===false){return AWS.util.abort;}});return continueIteration;}this.eachPage(wrappedCallback);},/**\n           * @return [Boolean] whether the operation can return multiple pages of\n           *   response data.\n           * @see AWS.Response.eachPage\n           * @since v1.4.0\n           */isPageable:function isPageable(){return this.service.paginationConfig(this.operation)?true:false;},/**\n           * Sends the request and converts the request object into a readable stream\n           * that can be read from or piped into a writable stream.\n           *\n           * @note The data read from a readable stream contains only\n           *   the raw HTTP body contents.\n           * @example Manually reading from a stream\n           *   request.createReadStream().on('data', function(data) {\n           *     console.log(\"Got data:\", data.toString());\n           *   });\n           * @example Piping a request body into a file\n           *   var out = fs.createWriteStream('/path/to/outfile.jpg');\n           *   s3.service.getObject(params).createReadStream().pipe(out);\n           * @return [Stream] the readable stream object that can be piped\n           *   or read from (by registering 'data' event listeners).\n           * @!macro nobrowser\n           */createReadStream:function createReadStream(){var streams=AWS.util.stream;var req=this;var stream=null;if(AWS.HttpClient.streamsApiVersion===2){stream=new streams.PassThrough();process.nextTick(function(){req.send();});}else{stream=new streams.Stream();stream.readable=true;stream.sent=false;stream.on('newListener',function(event){if(!stream.sent&&event==='data'){stream.sent=true;process.nextTick(function(){req.send();});}});}this.on('error',function(err){stream.emit('error',err);});this.on('httpHeaders',function streamHeaders(statusCode,headers,resp){if(statusCode<300){req.removeListener('httpData',AWS.EventListeners.Core.HTTP_DATA);req.removeListener('httpError',AWS.EventListeners.Core.HTTP_ERROR);req.on('httpError',function streamHttpError(error){resp.error=error;resp.error.retryable=false;});var shouldCheckContentLength=false;var expectedLen;if(req.httpRequest.method!=='HEAD'){expectedLen=parseInt(headers['content-length'],10);}if(expectedLen!==undefined&&!isNaN(expectedLen)&&expectedLen>=0){shouldCheckContentLength=true;var receivedLen=0;}var checkContentLengthAndEmit=function checkContentLengthAndEmit(){if(shouldCheckContentLength&&receivedLen!==expectedLen){stream.emit('error',AWS.util.error(new Error('Stream content length mismatch. Received '+receivedLen+' of '+expectedLen+' bytes.'),{code:'StreamContentLengthMismatch'}));}else if(AWS.HttpClient.streamsApiVersion===2){stream.end();}else{stream.emit('end');}};var httpStream=resp.httpResponse.createUnbufferedStream();if(AWS.HttpClient.streamsApiVersion===2){if(shouldCheckContentLength){var lengthAccumulator=new streams.PassThrough();lengthAccumulator._write=function(chunk){if(chunk&&chunk.length){receivedLen+=chunk.length;}return streams.PassThrough.prototype._write.apply(this,arguments);};lengthAccumulator.on('end',checkContentLengthAndEmit);stream.on('error',function(err){shouldCheckContentLength=false;httpStream.unpipe(lengthAccumulator);lengthAccumulator.emit('end');lengthAccumulator.end();});httpStream.pipe(lengthAccumulator).pipe(stream,{end:false});}else{httpStream.pipe(stream);}}else{if(shouldCheckContentLength){httpStream.on('data',function(arg){if(arg&&arg.length){receivedLen+=arg.length;}});}httpStream.on('data',function(arg){stream.emit('data',arg);});httpStream.on('end',checkContentLengthAndEmit);}httpStream.on('error',function(err){shouldCheckContentLength=false;stream.emit('error',err);});}});return stream;},/**\n           * @param [Array,Response] args This should be the response object,\n           *   or an array of args to send to the event.\n           * @api private\n           */emitEvent:function emit(eventName,args,done){if(typeof args==='function'){done=args;args=null;}if(!done)done=function done(){};if(!args)args=this.eventParameters(eventName,this.response);var origEmit=AWS.SequentialExecutor.prototype.emit;origEmit.call(this,eventName,args,function(err){if(err)this.response.error=err;done.call(this,err);});},/**\n           * @api private\n           */eventParameters:function eventParameters(eventName){switch(eventName){case'restart':case'validate':case'sign':case'build':case'afterValidate':case'afterBuild':return[this];case'error':return[this.response.error,this.response];default:return[this.response];}},/**\n           * @api private\n           */presign:function presign(expires,callback){if(!callback&&typeof expires==='function'){callback=expires;expires=null;}return new AWS.Signers.Presign().sign(this.toGet(),expires,callback);},/**\n           * @api private\n           */isPresigned:function isPresigned(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,'presigned-expires');},/**\n           * @api private\n           */toUnauthenticated:function toUnauthenticated(){this._unAuthenticated=true;this.removeListener('validate',AWS.EventListeners.Core.VALIDATE_CREDENTIALS);this.removeListener('sign',AWS.EventListeners.Core.SIGN);return this;},/**\n           * @api private\n           */toGet:function toGet(){if(this.service.api.protocol==='query'||this.service.api.protocol==='ec2'){this.removeListener('build',this.buildAsGet);this.addListener('build',this.buildAsGet);}return this;},/**\n           * @api private\n           */buildAsGet:function buildAsGet(request){request.httpRequest.method='GET';request.httpRequest.path=request.service.endpoint.path+'?'+request.httpRequest.body;request.httpRequest.body='';// don't need these headers on a GET request\ndelete request.httpRequest.headers['Content-Length'];delete request.httpRequest.headers['Content-Type'];},/**\n           * @api private\n           */haltHandlersOnError:function haltHandlersOnError(){this._haltHandlersOnError=true;}});/**\n         * @api private\n         */AWS.Request.addPromisesToClass=function addPromisesToClass(PromiseDependency){this.prototype.promise=function promise(){var self=this;// append to user agent\nthis.httpRequest.appendToUserAgent('promise');return new PromiseDependency(function(resolve,reject){self.on('complete',function(resp){if(resp.error){reject(resp.error);}else{// define $response property so that it is not enumerable\n// this prevents circular reference errors when stringifying the JSON object\nresolve(Object.defineProperty(resp.data||{},'$response',{value:resp}));}});self.runTo();});};};/**\n         * @api private\n         */AWS.Request.deletePromisesFromClass=function deletePromisesFromClass(){delete this.prototype.promise;};AWS.util.addPromises(AWS.Request);AWS.util.mixin(AWS.Request,AWS.SequentialExecutor);}).call(this);}).call(this,require('_process'));},{\"./core\":19,\"./state_machine\":73,\"_process\":91,\"jmespath\":90}],59:[function(require,module,exports){/**\n     * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n     *\n     * Licensed under the Apache License, Version 2.0 (the \"License\"). You\n     * may not use this file except in compliance with the License. A copy of\n     * the License is located at\n     *\n     *     http://aws.amazon.com/apache2.0/\n     *\n     * or in the \"license\" file accompanying this file. This file is\n     * distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF\n     * ANY KIND, either express or implied. See the License for the specific\n     * language governing permissions and limitations under the License.\n     */var AWS=require('./core');var inherit=AWS.util.inherit;var jmespath=require('jmespath');/**\n     * @api private\n     */function CHECK_ACCEPTORS(resp){var waiter=resp.request._waiter;var acceptors=waiter.config.acceptors;var acceptorMatched=false;var state='retry';acceptors.forEach(function(acceptor){if(!acceptorMatched){var matcher=waiter.matchers[acceptor.matcher];if(matcher&&matcher(resp,acceptor.expected,acceptor.argument)){acceptorMatched=true;state=acceptor.state;}}});if(!acceptorMatched&&resp.error)state='failure';if(state==='success'){waiter.setSuccess(resp);}else{waiter.setError(resp,state==='retry');}}/**\n     * @api private\n     */AWS.ResourceWaiter=inherit({/**\n       * Waits for a given state on a service object\n       * @param service [Service] the service object to wait on\n       * @param state [String] the state (defined in waiter configuration) to wait\n       *   for.\n       * @example Create a waiter for running EC2 instances\n       *   var ec2 = new AWS.EC2;\n       *   var waiter = new AWS.ResourceWaiter(ec2, 'instanceRunning');\n       */constructor:function constructor(service,state){this.service=service;this.state=state;this.loadWaiterConfig(this.state);},service:null,state:null,config:null,matchers:{path:function path(resp,expected,argument){try{var result=jmespath.search(resp.data,argument);}catch(err){return false;}return jmespath.strictDeepEqual(result,expected);},pathAll:function pathAll(resp,expected,argument){try{var results=jmespath.search(resp.data,argument);}catch(err){return false;}if(!Array.isArray(results))results=[results];var numResults=results.length;if(!numResults)return false;for(var ind=0;ind<numResults;ind++){if(!jmespath.strictDeepEqual(results[ind],expected)){return false;}}return true;},pathAny:function pathAny(resp,expected,argument){try{var results=jmespath.search(resp.data,argument);}catch(err){return false;}if(!Array.isArray(results))results=[results];var numResults=results.length;for(var ind=0;ind<numResults;ind++){if(jmespath.strictDeepEqual(results[ind],expected)){return true;}}return false;},status:function status(resp,expected){var statusCode=resp.httpResponse.statusCode;return typeof statusCode==='number'&&statusCode===expected;},error:function error(resp,expected){if(typeof expected==='string'&&resp.error){return expected===resp.error.code;}// if expected is not string, can be boolean indicating presence of error\nreturn expected===!!resp.error;}},listeners:new AWS.SequentialExecutor().addNamedListeners(function(add){add('RETRY_CHECK','retry',function(resp){var waiter=resp.request._waiter;if(resp.error&&resp.error.code==='ResourceNotReady'){resp.error.retryDelay=(waiter.config.delay||0)*1000;}});add('CHECK_OUTPUT','extractData',CHECK_ACCEPTORS);add('CHECK_ERROR','extractError',CHECK_ACCEPTORS);}),/**\n       * @return [AWS.Request]\n       */wait:function wait(params,callback){if(typeof params==='function'){callback=params;params=undefined;}if(params&&params.$waiter){params=AWS.util.copy(params);if(typeof params.$waiter.delay==='number'){this.config.delay=params.$waiter.delay;}if(typeof params.$waiter.maxAttempts==='number'){this.config.maxAttempts=params.$waiter.maxAttempts;}delete params.$waiter;}var request=this.service.makeRequest(this.config.operation,params);request._waiter=this;request.response.maxRetries=this.config.maxAttempts;request.addListeners(this.listeners);if(callback)request.send(callback);return request;},setSuccess:function setSuccess(resp){resp.error=null;resp.data=resp.data||{};resp.request.removeAllListeners('extractData');},setError:function setError(resp,retryable){resp.data=null;resp.error=AWS.util.error(resp.error||new Error(),{code:'ResourceNotReady',message:'Resource is not in the state '+this.state,retryable:retryable});},/**\n       * Loads waiter configuration from API configuration\n       *\n       * @api private\n       */loadWaiterConfig:function loadWaiterConfig(state){if(!this.service.api.waiters[state]){throw new AWS.util.error(new Error(),{code:'StateNotFoundError',message:'State '+state+' not found.'});}this.config=AWS.util.copy(this.service.api.waiters[state]);}});},{\"./core\":19,\"jmespath\":90}],60:[function(require,module,exports){var AWS=require('./core');var inherit=AWS.util.inherit;var jmespath=require('jmespath');/**\n     * This class encapsulates the response information\n     * from a service request operation sent through {AWS.Request}.\n     * The response object has two main properties for getting information\n     * back from a request:\n     *\n     * ## The `data` property\n     *\n     * The `response.data` property contains the serialized object data\n     * retrieved from the service request. For instance, for an\n     * Amazon DynamoDB `listTables` method call, the response data might\n     * look like:\n     *\n     * ```\n     * > resp.data\n     * { TableNames:\n     *    [ 'table1', 'table2', ... ] }\n     * ```\n     *\n     * The `data` property can be null if an error occurs (see below).\n     *\n     * ## The `error` property\n     *\n     * In the event of a service error (or transfer error), the\n     * `response.error` property will be filled with the given\n     * error data in the form:\n     *\n     * ```\n     * { code: 'SHORT_UNIQUE_ERROR_CODE',\n     *   message: 'Some human readable error message' }\n     * ```\n     *\n     * In the case of an error, the `data` property will be `null`.\n     * Note that if you handle events that can be in a failure state,\n     * you should always check whether `response.error` is set\n     * before attempting to access the `response.data` property.\n     *\n     * @!attribute data\n     *   @readonly\n     *   @!group Data Properties\n     *   @note Inside of a {AWS.Request~httpData} event, this\n     *     property contains a single raw packet instead of the\n     *     full de-serialized service response.\n     *   @return [Object] the de-serialized response data\n     *     from the service.\n     *\n     * @!attribute error\n     *   An structure containing information about a service\n     *   or networking error.\n     *   @readonly\n     *   @!group Data Properties\n     *   @note This attribute is only filled if a service or\n     *     networking error occurs.\n     *   @return [Error]\n     *     * code [String] a unique short code representing the\n     *       error that was emitted.\n     *     * message [String] a longer human readable error message\n     *     * retryable [Boolean] whether the error message is\n     *       retryable.\n     *     * statusCode [Numeric] in the case of a request that reached the service,\n     *       this value contains the response status code.\n     *     * time [Date] the date time object when the error occurred.\n     *     * hostname [String] set when a networking error occurs to easily\n     *       identify the endpoint of the request.\n     *     * region [String] set when a networking error occurs to easily\n     *       identify the region of the request.\n     *\n     * @!attribute requestId\n     *   @readonly\n     *   @!group Data Properties\n     *   @return [String] the unique request ID associated with the response.\n     *     Log this value when debugging requests for AWS support.\n     *\n     * @!attribute retryCount\n     *   @readonly\n     *   @!group Operation Properties\n     *   @return [Integer] the number of retries that were\n     *     attempted before the request was completed.\n     *\n     * @!attribute redirectCount\n     *   @readonly\n     *   @!group Operation Properties\n     *   @return [Integer] the number of redirects that were\n     *     followed before the request was completed.\n     *\n     * @!attribute httpResponse\n     *   @readonly\n     *   @!group HTTP Properties\n     *   @return [AWS.HttpResponse] the raw HTTP response object\n     *     containing the response headers and body information\n     *     from the server.\n     *\n     * @see AWS.Request\n     */AWS.Response=inherit({/**\n       * @api private\n       */constructor:function Response(request){this.request=request;this.data=null;this.error=null;this.retryCount=0;this.redirectCount=0;this.httpResponse=new AWS.HttpResponse();if(request){this.maxRetries=request.service.numRetries();this.maxRedirects=request.service.config.maxRedirects;}},/**\n       * Creates a new request for the next page of response data, calling the\n       * callback with the page data if a callback is provided.\n       *\n       * @callback callback function(err, data)\n       *   Called when a page of data is returned from the next request.\n       *\n       *   @param err [Error] an error object, if an error occurred in the request\n       *   @param data [Object] the next page of data, or null, if there are no\n       *     more pages left.\n       * @return [AWS.Request] the request object for the next page of data\n       * @return [null] if no callback is provided and there are no pages left\n       *   to retrieve.\n       * @since v1.4.0\n       */nextPage:function nextPage(callback){var config;var service=this.request.service;var operation=this.request.operation;try{config=service.paginationConfig(operation,true);}catch(e){this.error=e;}if(!this.hasNextPage()){if(callback)callback(this.error,null);else if(this.error)throw this.error;return null;}var params=AWS.util.copy(this.request.params);if(!this.nextPageTokens){return callback?callback(null,null):null;}else{var inputTokens=config.inputToken;if(typeof inputTokens==='string')inputTokens=[inputTokens];for(var i=0;i<inputTokens.length;i++){params[inputTokens[i]]=this.nextPageTokens[i];}return service.makeRequest(this.request.operation,params,callback);}},/**\n       * @return [Boolean] whether more pages of data can be returned by further\n       *   requests\n       * @since v1.4.0\n       */hasNextPage:function hasNextPage(){this.cacheNextPageTokens();if(this.nextPageTokens)return true;if(this.nextPageTokens===undefined)return undefined;else return false;},/**\n       * @api private\n       */cacheNextPageTokens:function cacheNextPageTokens(){if(Object.prototype.hasOwnProperty.call(this,'nextPageTokens'))return this.nextPageTokens;this.nextPageTokens=undefined;var config=this.request.service.paginationConfig(this.request.operation);if(!config)return this.nextPageTokens;this.nextPageTokens=null;if(config.moreResults){if(!jmespath.search(this.data,config.moreResults)){return this.nextPageTokens;}}var exprs=config.outputToken;if(typeof exprs==='string')exprs=[exprs];AWS.util.arrayEach.call(this,exprs,function(expr){var output=jmespath.search(this.data,expr);if(output){this.nextPageTokens=this.nextPageTokens||[];this.nextPageTokens.push(output);}});return this.nextPageTokens;}});},{\"./core\":19,\"jmespath\":90}],61:[function(require,module,exports){var AWS=require('./core');/**\n     * @api private\n     * @!method on(eventName, callback)\n     *   Registers an event listener callback for the event given by `eventName`.\n     *   Parameters passed to the callback function depend on the individual event\n     *   being triggered. See the event documentation for those parameters.\n     *\n     *   @param eventName [String] the event name to register the listener for\n     *   @param callback [Function] the listener callback function\n     *   @param toHead [Boolean] attach the listener callback to the head of callback array if set to true.\n     *     Default to be false.\n     *   @return [AWS.SequentialExecutor] the same object for chaining\n     */AWS.SequentialExecutor=AWS.util.inherit({constructor:function SequentialExecutor(){this._events={};},/**\n       * @api private\n       */listeners:function listeners(eventName){return this._events[eventName]?this._events[eventName].slice(0):[];},on:function on(eventName,listener,toHead){if(this._events[eventName]){toHead?this._events[eventName].unshift(listener):this._events[eventName].push(listener);}else{this._events[eventName]=[listener];}return this;},onAsync:function onAsync(eventName,listener,toHead){listener._isAsync=true;return this.on(eventName,listener,toHead);},removeListener:function removeListener(eventName,listener){var listeners=this._events[eventName];if(listeners){var length=listeners.length;var position=-1;for(var i=0;i<length;++i){if(listeners[i]===listener){position=i;}}if(position>-1){listeners.splice(position,1);}}return this;},removeAllListeners:function removeAllListeners(eventName){if(eventName){delete this._events[eventName];}else{this._events={};}return this;},/**\n       * @api private\n       */emit:function emit(eventName,eventArgs,doneCallback){if(!doneCallback)doneCallback=function doneCallback(){};var listeners=this.listeners(eventName);var count=listeners.length;this.callListeners(listeners,eventArgs,doneCallback);return count>0;},/**\n       * @api private\n       */callListeners:function callListeners(listeners,args,doneCallback,prevError){var self=this;var error=prevError||null;function callNextListener(err){if(err){error=AWS.util.error(error||new Error(),err);if(self._haltHandlersOnError){return doneCallback.call(self,error);}}self.callListeners(listeners,args,doneCallback,error);}while(listeners.length>0){var listener=listeners.shift();if(listener._isAsync){// asynchronous listener\nlistener.apply(self,args.concat([callNextListener]));return;// stop here, callNextListener will continue\n}else{// synchronous listener\ntry{listener.apply(self,args);}catch(err){error=AWS.util.error(error||new Error(),err);}if(error&&self._haltHandlersOnError){doneCallback.call(self,error);return;}}}doneCallback.call(self,error);},/**\n       * Adds or copies a set of listeners from another list of\n       * listeners or SequentialExecutor object.\n       *\n       * @param listeners [map<String,Array<Function>>, AWS.SequentialExecutor]\n       *   a list of events and callbacks, or an event emitter object\n       *   containing listeners to add to this emitter object.\n       * @return [AWS.SequentialExecutor] the emitter object, for chaining.\n       * @example Adding listeners from a map of listeners\n       *   emitter.addListeners({\n       *     event1: [function() { ... }, function() { ... }],\n       *     event2: [function() { ... }]\n       *   });\n       *   emitter.emit('event1'); // emitter has event1\n       *   emitter.emit('event2'); // emitter has event2\n       * @example Adding listeners from another emitter object\n       *   var emitter1 = new AWS.SequentialExecutor();\n       *   emitter1.on('event1', function() { ... });\n       *   emitter1.on('event2', function() { ... });\n       *   var emitter2 = new AWS.SequentialExecutor();\n       *   emitter2.addListeners(emitter1);\n       *   emitter2.emit('event1'); // emitter2 has event1\n       *   emitter2.emit('event2'); // emitter2 has event2\n       */addListeners:function addListeners(listeners){var self=this;// extract listeners if parameter is an SequentialExecutor object\nif(listeners._events)listeners=listeners._events;AWS.util.each(listeners,function(event,callbacks){if(typeof callbacks==='function')callbacks=[callbacks];AWS.util.arrayEach(callbacks,function(callback){self.on(event,callback);});});return self;},/**\n       * Registers an event with {on} and saves the callback handle function\n       * as a property on the emitter object using a given `name`.\n       *\n       * @param name [String] the property name to set on this object containing\n       *   the callback function handle so that the listener can be removed in\n       *   the future.\n       * @param (see on)\n       * @return (see on)\n       * @example Adding a named listener DATA_CALLBACK\n       *   var listener = function() { doSomething(); };\n       *   emitter.addNamedListener('DATA_CALLBACK', 'data', listener);\n       *\n       *   // the following prints: true\n       *   console.log(emitter.DATA_CALLBACK == listener);\n       */addNamedListener:function addNamedListener(name,eventName,callback,toHead){this[name]=callback;this.addListener(eventName,callback,toHead);return this;},/**\n       * @api private\n       */addNamedAsyncListener:function addNamedAsyncListener(name,eventName,callback,toHead){callback._isAsync=true;return this.addNamedListener(name,eventName,callback,toHead);},/**\n       * Helper method to add a set of named listeners using\n       * {addNamedListener}. The callback contains a parameter\n       * with a handle to the `addNamedListener` method.\n       *\n       * @callback callback function(add)\n       *   The callback function is called immediately in order to provide\n       *   the `add` function to the block. This simplifies the addition of\n       *   a large group of named listeners.\n       *   @param add [Function] the {addNamedListener} function to call\n       *     when registering listeners.\n       * @example Adding a set of named listeners\n       *   emitter.addNamedListeners(function(add) {\n       *     add('DATA_CALLBACK', 'data', function() { ... });\n       *     add('OTHER', 'otherEvent', function() { ... });\n       *     add('LAST', 'lastEvent', function() { ... });\n       *   });\n       *\n       *   // these properties are now set:\n       *   emitter.DATA_CALLBACK;\n       *   emitter.OTHER;\n       *   emitter.LAST;\n       */addNamedListeners:function addNamedListeners(callback){var self=this;callback(function(){self.addNamedListener.apply(self,arguments);},function(){self.addNamedAsyncListener.apply(self,arguments);});return this;}});/**\n     * {on} is the prefered method.\n     * @api private\n     */AWS.SequentialExecutor.prototype.addListener=AWS.SequentialExecutor.prototype.on;/**\n     * @api private\n     */module.exports=AWS.SequentialExecutor;},{\"./core\":19}],62:[function(require,module,exports){(function(process){(function(){var AWS=require('./core');var Api=require('./model/api');var regionConfig=require('./region_config');var inherit=AWS.util.inherit;var clientCount=0;var region_utils=require('./region/utils');/**\n         * The service class representing an AWS service.\n         *\n         * @class_abstract This class is an abstract class.\n         *\n         * @!attribute apiVersions\n         *   @return [Array<String>] the list of API versions supported by this service.\n         *   @readonly\n         */AWS.Service=inherit({/**\n           * Create a new service object with a configuration object\n           *\n           * @param config [map] a map of configuration options\n           */constructor:function Service(config){if(!this.loadServiceClass){throw AWS.util.error(new Error(),'Service must be constructed with `new\\' operator');}if(config){if(config.region){var region=config.region;if(region_utils.isFipsRegion(region)){config.region=region_utils.getRealRegion(region);config.useFipsEndpoint=true;}if(region_utils.isGlobalRegion(region)){config.region=region_utils.getRealRegion(region);}}if(typeof config.useDualstack==='boolean'&&typeof config.useDualstackEndpoint!=='boolean'){config.useDualstackEndpoint=config.useDualstack;}}var ServiceClass=this.loadServiceClass(config||{});if(ServiceClass){var originalConfig=AWS.util.copy(config);var svc=new ServiceClass(config);Object.defineProperty(svc,'_originalConfig',{get:function get(){return originalConfig;},enumerable:false,configurable:true});svc._clientId=++clientCount;return svc;}this.initialize(config);},/**\n           * @api private\n           */initialize:function initialize(config){var svcConfig=AWS.config[this.serviceIdentifier];this.config=new AWS.Config(AWS.config);if(svcConfig)this.config.update(svcConfig,true);if(config)this.config.update(config,true);this.validateService();if(!this.config.endpoint)regionConfig.configureEndpoint(this);this.config.endpoint=this.endpointFromTemplate(this.config.endpoint);this.setEndpoint(this.config.endpoint);//enable attaching listeners to service client\nAWS.SequentialExecutor.call(this);AWS.Service.addDefaultMonitoringListeners(this);if((this.config.clientSideMonitoring||AWS.Service._clientSideMonitoring)&&this.publisher){var publisher=this.publisher;this.addNamedListener('PUBLISH_API_CALL','apiCall',function PUBLISH_API_CALL(event){process.nextTick(function(){publisher.eventHandler(event);});});this.addNamedListener('PUBLISH_API_ATTEMPT','apiCallAttempt',function PUBLISH_API_ATTEMPT(event){process.nextTick(function(){publisher.eventHandler(event);});});}},/**\n           * @api private\n           */validateService:function validateService(){},/**\n           * @api private\n           */loadServiceClass:function loadServiceClass(serviceConfig){var config=serviceConfig;if(!AWS.util.isEmpty(this.api)){return null;}else if(config.apiConfig){return AWS.Service.defineServiceApi(this.constructor,config.apiConfig);}else if(!this.constructor.services){return null;}else{config=new AWS.Config(AWS.config);config.update(serviceConfig,true);var version=config.apiVersions[this.constructor.serviceIdentifier];version=version||config.apiVersion;return this.getLatestServiceClass(version);}},/**\n           * @api private\n           */getLatestServiceClass:function getLatestServiceClass(version){version=this.getLatestServiceVersion(version);if(this.constructor.services[version]===null){AWS.Service.defineServiceApi(this.constructor,version);}return this.constructor.services[version];},/**\n           * @api private\n           */getLatestServiceVersion:function getLatestServiceVersion(version){if(!this.constructor.services||this.constructor.services.length===0){throw new Error('No services defined on '+this.constructor.serviceIdentifier);}if(!version){version='latest';}else if(AWS.util.isType(version,Date)){version=AWS.util.date.iso8601(version).split('T')[0];}if(Object.hasOwnProperty(this.constructor.services,version)){return version;}var keys=Object.keys(this.constructor.services).sort();var selectedVersion=null;for(var i=keys.length-1;i>=0;i--){// versions that end in \"*\" are not available on disk and can be\n// skipped, so do not choose these as selectedVersions\nif(keys[i][keys[i].length-1]!=='*'){selectedVersion=keys[i];}if(keys[i].substr(0,10)<=version){return selectedVersion;}}throw new Error('Could not find '+this.constructor.serviceIdentifier+' API to satisfy version constraint `'+version+'\\'');},/**\n           * @api private\n           */api:{},/**\n           * @api private\n           */defaultRetryCount:3,/**\n           * @api private\n           */customizeRequests:function customizeRequests(callback){if(!callback){this.customRequestHandler=null;}else if(typeof callback==='function'){this.customRequestHandler=callback;}else{throw new Error('Invalid callback type \\''+_typeof(callback)+'\\' provided in customizeRequests');}},/**\n           * Calls an operation on a service with the given input parameters.\n           *\n           * @param operation [String] the name of the operation to call on the service.\n           * @param params [map] a map of input options for the operation\n           * @callback callback function(err, data)\n           *   If a callback is supplied, it is called when a response is returned\n           *   from the service.\n           *   @param err [Error] the error object returned from the request.\n           *     Set to `null` if the request is successful.\n           *   @param data [Object] the de-serialized data returned from\n           *     the request. Set to `null` if a request error occurs.\n           */makeRequest:function makeRequest(operation,params,callback){if(typeof params==='function'){callback=params;params=null;}params=params||{};if(this.config.params){// copy only toplevel bound params\nvar rules=this.api.operations[operation];if(rules){params=AWS.util.copy(params);AWS.util.each(this.config.params,function(key,value){if(rules.input.members[key]){if(params[key]===undefined||params[key]===null){params[key]=value;}}});}}var request=new AWS.Request(this,operation,params);this.addAllRequestListeners(request);this.attachMonitoringEmitter(request);if(callback)request.send(callback);return request;},/**\n           * Calls an operation on a service with the given input parameters, without\n           * any authentication data. This method is useful for \"public\" API operations.\n           *\n           * @param operation [String] the name of the operation to call on the service.\n           * @param params [map] a map of input options for the operation\n           * @callback callback function(err, data)\n           *   If a callback is supplied, it is called when a response is returned\n           *   from the service.\n           *   @param err [Error] the error object returned from the request.\n           *     Set to `null` if the request is successful.\n           *   @param data [Object] the de-serialized data returned from\n           *     the request. Set to `null` if a request error occurs.\n           */makeUnauthenticatedRequest:function makeUnauthenticatedRequest(operation,params,callback){if(typeof params==='function'){callback=params;params={};}var request=this.makeRequest(operation,params).toUnauthenticated();return callback?request.send(callback):request;},/**\n           * Waits for a given state\n           *\n           * @param state [String] the state on the service to wait for\n           * @param params [map] a map of parameters to pass with each request\n           * @option params $waiter [map] a map of configuration options for the waiter\n           * @option params $waiter.delay [Number] The number of seconds to wait between\n           *                                       requests\n           * @option params $waiter.maxAttempts [Number] The maximum number of requests\n           *                                             to send while waiting\n           * @callback callback function(err, data)\n           *   If a callback is supplied, it is called when a response is returned\n           *   from the service.\n           *   @param err [Error] the error object returned from the request.\n           *     Set to `null` if the request is successful.\n           *   @param data [Object] the de-serialized data returned from\n           *     the request. Set to `null` if a request error occurs.\n           */waitFor:function waitFor(state,params,callback){var waiter=new AWS.ResourceWaiter(this,state);return waiter.wait(params,callback);},/**\n           * @api private\n           */addAllRequestListeners:function addAllRequestListeners(request){var list=[AWS.events,AWS.EventListeners.Core,this.serviceInterface(),AWS.EventListeners.CorePost];for(var i=0;i<list.length;i++){if(list[i])request.addListeners(list[i]);}// disable parameter validation\nif(!this.config.paramValidation){request.removeListener('validate',AWS.EventListeners.Core.VALIDATE_PARAMETERS);}if(this.config.logger){// add logging events\nrequest.addListeners(AWS.EventListeners.Logger);}this.setupRequestListeners(request);// call prototype's customRequestHandler\nif(typeof this.constructor.prototype.customRequestHandler==='function'){this.constructor.prototype.customRequestHandler(request);}// call instance's customRequestHandler\nif(Object.prototype.hasOwnProperty.call(this,'customRequestHandler')&&typeof this.customRequestHandler==='function'){this.customRequestHandler(request);}},/**\n           * Event recording metrics for a whole API call.\n           * @returns {object} a subset of api call metrics\n           * @api private\n           */apiCallEvent:function apiCallEvent(request){var api=request.service.api.operations[request.operation];var monitoringEvent={Type:'ApiCall',Api:api?api.name:request.operation,Version:1,Service:request.service.api.serviceId||request.service.api.endpointPrefix,Region:request.httpRequest.region,MaxRetriesExceeded:0,UserAgent:request.httpRequest.getUserAgent()};var response=request.response;if(response.httpResponse.statusCode){monitoringEvent.FinalHttpStatusCode=response.httpResponse.statusCode;}if(response.error){var error=response.error;var statusCode=response.httpResponse.statusCode;if(statusCode>299){if(error.code)monitoringEvent.FinalAwsException=error.code;if(error.message)monitoringEvent.FinalAwsExceptionMessage=error.message;}else{if(error.code||error.name)monitoringEvent.FinalSdkException=error.code||error.name;if(error.message)monitoringEvent.FinalSdkExceptionMessage=error.message;}}return monitoringEvent;},/**\n           * Event recording metrics for an API call attempt.\n           * @returns {object} a subset of api call attempt metrics\n           * @api private\n           */apiAttemptEvent:function apiAttemptEvent(request){var api=request.service.api.operations[request.operation];var monitoringEvent={Type:'ApiCallAttempt',Api:api?api.name:request.operation,Version:1,Service:request.service.api.serviceId||request.service.api.endpointPrefix,Fqdn:request.httpRequest.endpoint.hostname,UserAgent:request.httpRequest.getUserAgent()};var response=request.response;if(response.httpResponse.statusCode){monitoringEvent.HttpStatusCode=response.httpResponse.statusCode;}if(!request._unAuthenticated&&request.service.config.credentials&&request.service.config.credentials.accessKeyId){monitoringEvent.AccessKey=request.service.config.credentials.accessKeyId;}if(!response.httpResponse.headers)return monitoringEvent;if(request.httpRequest.headers['x-amz-security-token']){monitoringEvent.SessionToken=request.httpRequest.headers['x-amz-security-token'];}if(response.httpResponse.headers['x-amzn-requestid']){monitoringEvent.XAmznRequestId=response.httpResponse.headers['x-amzn-requestid'];}if(response.httpResponse.headers['x-amz-request-id']){monitoringEvent.XAmzRequestId=response.httpResponse.headers['x-amz-request-id'];}if(response.httpResponse.headers['x-amz-id-2']){monitoringEvent.XAmzId2=response.httpResponse.headers['x-amz-id-2'];}return monitoringEvent;},/**\n           * Add metrics of failed request.\n           * @api private\n           */attemptFailEvent:function attemptFailEvent(request){var monitoringEvent=this.apiAttemptEvent(request);var response=request.response;var error=response.error;if(response.httpResponse.statusCode>299){if(error.code)monitoringEvent.AwsException=error.code;if(error.message)monitoringEvent.AwsExceptionMessage=error.message;}else{if(error.code||error.name)monitoringEvent.SdkException=error.code||error.name;if(error.message)monitoringEvent.SdkExceptionMessage=error.message;}return monitoringEvent;},/**\n           * Attach listeners to request object to fetch metrics of each request\n           * and emit data object through \\'ApiCall\\' and \\'ApiCallAttempt\\' events.\n           * @api private\n           */attachMonitoringEmitter:function attachMonitoringEmitter(request){var attemptTimestamp;//timestamp marking the beginning of a request attempt\nvar attemptStartRealTime;//Start time of request attempt. Used to calculating attemptLatency\nvar attemptLatency;//latency from request sent out to http response reaching SDK\nvar callStartRealTime;//Start time of API call. Used to calculating API call latency\nvar attemptCount=0;//request.retryCount is not reliable here\nvar region;//region cache region for each attempt since it can be updated in plase (e.g. s3)\nvar callTimestamp;//timestamp when the request is created\nvar self=this;var addToHead=true;request.on('validate',function(){callStartRealTime=AWS.util.realClock.now();callTimestamp=Date.now();},addToHead);request.on('sign',function(){attemptStartRealTime=AWS.util.realClock.now();attemptTimestamp=Date.now();region=request.httpRequest.region;attemptCount++;},addToHead);request.on('validateResponse',function(){attemptLatency=Math.round(AWS.util.realClock.now()-attemptStartRealTime);});request.addNamedListener('API_CALL_ATTEMPT','success',function API_CALL_ATTEMPT(){var apiAttemptEvent=self.apiAttemptEvent(request);apiAttemptEvent.Timestamp=attemptTimestamp;apiAttemptEvent.AttemptLatency=attemptLatency>=0?attemptLatency:0;apiAttemptEvent.Region=region;self.emit('apiCallAttempt',[apiAttemptEvent]);});request.addNamedListener('API_CALL_ATTEMPT_RETRY','retry',function API_CALL_ATTEMPT_RETRY(){var apiAttemptEvent=self.attemptFailEvent(request);apiAttemptEvent.Timestamp=attemptTimestamp;//attemptLatency may not be available if fail before response\nattemptLatency=attemptLatency||Math.round(AWS.util.realClock.now()-attemptStartRealTime);apiAttemptEvent.AttemptLatency=attemptLatency>=0?attemptLatency:0;apiAttemptEvent.Region=region;self.emit('apiCallAttempt',[apiAttemptEvent]);});request.addNamedListener('API_CALL','complete',function API_CALL(){var apiCallEvent=self.apiCallEvent(request);apiCallEvent.AttemptCount=attemptCount;if(apiCallEvent.AttemptCount<=0)return;apiCallEvent.Timestamp=callTimestamp;var latency=Math.round(AWS.util.realClock.now()-callStartRealTime);apiCallEvent.Latency=latency>=0?latency:0;var response=request.response;if(response.error&&response.error.retryable&&typeof response.retryCount==='number'&&typeof response.maxRetries==='number'&&response.retryCount>=response.maxRetries){apiCallEvent.MaxRetriesExceeded=1;}self.emit('apiCall',[apiCallEvent]);});},/**\n           * Override this method to setup any custom request listeners for each\n           * new request to the service.\n           *\n           * @method_abstract This is an abstract method.\n           */setupRequestListeners:function setupRequestListeners(request){},/**\n           * Gets the signing name for a given request\n           * @api private\n           */getSigningName:function getSigningName(){return this.api.signingName||this.api.endpointPrefix;},/**\n           * Gets the signer class for a given request\n           * @api private\n           */getSignerClass:function getSignerClass(request){var version;// get operation authtype if present\nvar operation=null;var authtype='';if(request){var operations=request.service.api.operations||{};operation=operations[request.operation]||null;authtype=operation?operation.authtype:'';}if(this.config.signatureVersion){version=this.config.signatureVersion;}else if(authtype==='v4'||authtype==='v4-unsigned-body'){version='v4';}else if(authtype==='bearer'){version='bearer';}else{version=this.api.signatureVersion;}return AWS.Signers.RequestSigner.getVersion(version);},/**\n           * @api private\n           */serviceInterface:function serviceInterface(){switch(this.api.protocol){case'ec2':return AWS.EventListeners.Query;case'query':return AWS.EventListeners.Query;case'json':return AWS.EventListeners.Json;case'rest-json':return AWS.EventListeners.RestJson;case'rest-xml':return AWS.EventListeners.RestXml;}if(this.api.protocol){throw new Error('Invalid service `protocol\\' '+this.api.protocol+' in API config');}},/**\n           * @api private\n           */successfulResponse:function successfulResponse(resp){return resp.httpResponse.statusCode<300;},/**\n           * How many times a failed request should be retried before giving up.\n           * the defaultRetryCount can be overriden by service classes.\n           *\n           * @api private\n           */numRetries:function numRetries(){if(this.config.maxRetries!==undefined){return this.config.maxRetries;}else{return this.defaultRetryCount;}},/**\n           * @api private\n           */retryDelays:function retryDelays(retryCount,err){return AWS.util.calculateRetryDelay(retryCount,this.config.retryDelayOptions,err);},/**\n           * @api private\n           */retryableError:function retryableError(error){if(this.timeoutError(error))return true;if(this.networkingError(error))return true;if(this.expiredCredentialsError(error))return true;if(this.throttledError(error))return true;if(error.statusCode>=500)return true;return false;},/**\n           * @api private\n           */networkingError:function networkingError(error){return error.code==='NetworkingError';},/**\n           * @api private\n           */timeoutError:function timeoutError(error){return error.code==='TimeoutError';},/**\n           * @api private\n           */expiredCredentialsError:function expiredCredentialsError(error){// TODO : this only handles *one* of the expired credential codes\nreturn error.code==='ExpiredTokenException';},/**\n           * @api private\n           */clockSkewError:function clockSkewError(error){switch(error.code){case'RequestTimeTooSkewed':case'RequestExpired':case'InvalidSignatureException':case'SignatureDoesNotMatch':case'AuthFailure':case'RequestInTheFuture':return true;default:return false;}},/**\n           * @api private\n           */getSkewCorrectedDate:function getSkewCorrectedDate(){return new Date(Date.now()+this.config.systemClockOffset);},/**\n           * @api private\n           */applyClockOffset:function applyClockOffset(newServerTime){if(newServerTime){this.config.systemClockOffset=newServerTime-Date.now();}},/**\n           * @api private\n           */isClockSkewed:function isClockSkewed(newServerTime){if(newServerTime){return Math.abs(this.getSkewCorrectedDate().getTime()-newServerTime)>=300000;}},/**\n           * @api private\n           */throttledError:function throttledError(error){// this logic varies between services\nif(error.statusCode===429)return true;switch(error.code){case'ProvisionedThroughputExceededException':case'Throttling':case'ThrottlingException':case'RequestLimitExceeded':case'RequestThrottled':case'RequestThrottledException':case'TooManyRequestsException':case'TransactionInProgressException'://dynamodb\ncase'EC2ThrottledException':return true;default:return false;}},/**\n           * @api private\n           */endpointFromTemplate:function endpointFromTemplate(endpoint){if(typeof endpoint!=='string')return endpoint;var e=endpoint;e=e.replace(/\\{service\\}/g,this.api.endpointPrefix);e=e.replace(/\\{region\\}/g,this.config.region);e=e.replace(/\\{scheme\\}/g,this.config.sslEnabled?'https':'http');return e;},/**\n           * @api private\n           */setEndpoint:function setEndpoint(endpoint){this.endpoint=new AWS.Endpoint(endpoint,this.config);},/**\n           * @api private\n           */paginationConfig:function paginationConfig(operation,throwException){var paginator=this.api.operations[operation].paginator;if(!paginator){if(throwException){var e=new Error();throw AWS.util.error(e,'No pagination configuration for '+operation);}return null;}return paginator;}});AWS.util.update(AWS.Service,{/**\n           * Adds one method for each operation described in the api configuration\n           *\n           * @api private\n           */defineMethods:function defineMethods(svc){AWS.util.each(svc.prototype.api.operations,function iterator(method){if(svc.prototype[method])return;var operation=svc.prototype.api.operations[method];if(operation.authtype==='none'){svc.prototype[method]=function(params,callback){return this.makeUnauthenticatedRequest(method,params,callback);};}else{svc.prototype[method]=function(params,callback){return this.makeRequest(method,params,callback);};}});},/**\n           * Defines a new Service class using a service identifier and list of versions\n           * including an optional set of features (functions) to apply to the class\n           * prototype.\n           *\n           * @param serviceIdentifier [String] the identifier for the service\n           * @param versions [Array<String>] a list of versions that work with this\n           *   service\n           * @param features [Object] an object to attach to the prototype\n           * @return [Class<Service>] the service class defined by this function.\n           */defineService:function defineService(serviceIdentifier,versions,features){AWS.Service._serviceMap[serviceIdentifier]=true;if(!Array.isArray(versions)){features=versions;versions=[];}var svc=inherit(AWS.Service,features||{});if(typeof serviceIdentifier==='string'){AWS.Service.addVersions(svc,versions);var identifier=svc.serviceIdentifier||serviceIdentifier;svc.serviceIdentifier=identifier;}else{// defineService called with an API\nsvc.prototype.api=serviceIdentifier;AWS.Service.defineMethods(svc);}AWS.SequentialExecutor.call(this.prototype);//util.clientSideMonitoring is only available in node\nif(!this.prototype.publisher&&AWS.util.clientSideMonitoring){var Publisher=AWS.util.clientSideMonitoring.Publisher;var configProvider=AWS.util.clientSideMonitoring.configProvider;var publisherConfig=configProvider();this.prototype.publisher=new Publisher(publisherConfig);if(publisherConfig.enabled){//if csm is enabled in environment, SDK should send all metrics\nAWS.Service._clientSideMonitoring=true;}}AWS.SequentialExecutor.call(svc.prototype);AWS.Service.addDefaultMonitoringListeners(svc.prototype);return svc;},/**\n           * @api private\n           */addVersions:function addVersions(svc,versions){if(!Array.isArray(versions))versions=[versions];svc.services=svc.services||{};for(var i=0;i<versions.length;i++){if(svc.services[versions[i]]===undefined){svc.services[versions[i]]=null;}}svc.apiVersions=Object.keys(svc.services).sort();},/**\n           * @api private\n           */defineServiceApi:function defineServiceApi(superclass,version,apiConfig){var svc=inherit(superclass,{serviceIdentifier:superclass.serviceIdentifier});function setApi(api){if(api.isApi){svc.prototype.api=api;}else{svc.prototype.api=new Api(api,{serviceIdentifier:superclass.serviceIdentifier});}}if(typeof version==='string'){if(apiConfig){setApi(apiConfig);}else{try{setApi(AWS.apiLoader(superclass.serviceIdentifier,version));}catch(err){throw AWS.util.error(err,{message:'Could not find API configuration '+superclass.serviceIdentifier+'-'+version});}}if(!Object.prototype.hasOwnProperty.call(superclass.services,version)){superclass.apiVersions=superclass.apiVersions.concat(version).sort();}superclass.services[version]=svc;}else{setApi(version);}AWS.Service.defineMethods(svc);return svc;},/**\n           * @api private\n           */hasService:function hasService(identifier){return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap,identifier);},/**\n           * @param attachOn attach default monitoring listeners to object\n           *\n           * Each monitoring event should be emitted from service client to service constructor prototype and then\n           * to global service prototype like bubbling up. These default monitoring events listener will transfer\n           * the monitoring events to the upper layer.\n           * @api private\n           */addDefaultMonitoringListeners:function addDefaultMonitoringListeners(attachOn){attachOn.addNamedListener('MONITOR_EVENTS_BUBBLE','apiCallAttempt',function EVENTS_BUBBLE(event){var baseClass=Object.getPrototypeOf(attachOn);if(baseClass._events)baseClass.emit('apiCallAttempt',[event]);});attachOn.addNamedListener('CALL_EVENTS_BUBBLE','apiCall',function CALL_EVENTS_BUBBLE(event){var baseClass=Object.getPrototypeOf(attachOn);if(baseClass._events)baseClass.emit('apiCall',[event]);});},/**\n           * @api private\n           */_serviceMap:{}});AWS.util.mixin(AWS.Service,AWS.SequentialExecutor);/**\n         * @api private\n         */module.exports=AWS.Service;}).call(this);}).call(this,require('_process'));},{\"./core\":19,\"./model/api\":40,\"./region/utils\":55,\"./region_config\":56,\"_process\":91}],63:[function(require,module,exports){var AWS=require('../core');var resolveRegionalEndpointsFlag=require('../config_regional_endpoint');var ENV_REGIONAL_ENDPOINT_ENABLED='AWS_STS_REGIONAL_ENDPOINTS';var CONFIG_REGIONAL_ENDPOINT_ENABLED='sts_regional_endpoints';AWS.util.update(AWS.STS.prototype,{/**\n       * @overload credentialsFrom(data, credentials = null)\n       *   Creates a credentials object from STS response data containing\n       *   credentials information. Useful for quickly setting AWS credentials.\n       *\n       *   @note This is a low-level utility function. If you want to load temporary\n       *     credentials into your process for subsequent requests to AWS resources,\n       *     you should use {AWS.TemporaryCredentials} instead.\n       *   @param data [map] data retrieved from a call to {getFederatedToken},\n       *     {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}.\n       *   @param credentials [AWS.Credentials] an optional credentials object to\n       *     fill instead of creating a new object. Useful when modifying an\n       *     existing credentials object from a refresh call.\n       *   @return [AWS.TemporaryCredentials] the set of temporary credentials\n       *     loaded from a raw STS operation response.\n       *   @example Using credentialsFrom to load global AWS credentials\n       *     var sts = new AWS.STS();\n       *     sts.getSessionToken(function (err, data) {\n       *       if (err) console.log(\"Error getting credentials\");\n       *       else {\n       *         AWS.config.credentials = sts.credentialsFrom(data);\n       *       }\n       *     });\n       *   @see AWS.TemporaryCredentials\n       */credentialsFrom:function credentialsFrom(data,credentials){if(!data)return null;if(!credentials)credentials=new AWS.TemporaryCredentials();credentials.expired=false;credentials.accessKeyId=data.Credentials.AccessKeyId;credentials.secretAccessKey=data.Credentials.SecretAccessKey;credentials.sessionToken=data.Credentials.SessionToken;credentials.expireTime=data.Credentials.Expiration;return credentials;},assumeRoleWithWebIdentity:function assumeRoleWithWebIdentity(params,callback){return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity',params,callback);},assumeRoleWithSAML:function assumeRoleWithSAML(params,callback){return this.makeUnauthenticatedRequest('assumeRoleWithSAML',params,callback);},/**\n       * @api private\n       */setupRequestListeners:function setupRequestListeners(request){request.addListener('validate',this.optInRegionalEndpoint,true);},/**\n       * @api private\n       */optInRegionalEndpoint:function optInRegionalEndpoint(req){var service=req.service;var config=service.config;config.stsRegionalEndpoints=resolveRegionalEndpointsFlag(service._originalConfig,{env:ENV_REGIONAL_ENDPOINT_ENABLED,sharedConfig:CONFIG_REGIONAL_ENDPOINT_ENABLED,clientConfig:'stsRegionalEndpoints'});if(config.stsRegionalEndpoints==='regional'&&service.isGlobalEndpoint){//client will throw if region is not supplied; request will be signed with specified region\nif(!config.region){throw AWS.util.error(new Error(),{code:'ConfigError',message:'Missing region in config'});}var insertPoint=config.endpoint.indexOf('.amazonaws.com');var regionalEndpoint=config.endpoint.substring(0,insertPoint)+'.'+config.region+config.endpoint.substring(insertPoint);req.httpRequest.updateEndpoint(regionalEndpoint);req.httpRequest.region=config.region;}}});},{\"../config_regional_endpoint\":18,\"../core\":19}],64:[function(require,module,exports){var AWS=require('../core');/**\n     * @api private\n     */AWS.Signers.Bearer=AWS.util.inherit(AWS.Signers.RequestSigner,{constructor:function Bearer(request){AWS.Signers.RequestSigner.call(this,request);},addAuthorization:function addAuthorization(token){this.request.headers['Authorization']='Bearer '+token.token;}});},{\"../core\":19}],65:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;/**\n     * @api private\n     */var expiresHeader='presigned-expires';/**\n     * @api private\n     */function signedUrlBuilder(request){var expires=request.httpRequest.headers[expiresHeader];var signerClass=request.service.getSignerClass(request);delete request.httpRequest.headers['User-Agent'];delete request.httpRequest.headers['X-Amz-User-Agent'];if(signerClass===AWS.Signers.V4){if(expires>604800){// one week expiry is invalid\nvar message='Presigning does not support expiry time greater '+'than a week with SigV4 signing.';throw AWS.util.error(new Error(),{code:'InvalidExpiryTime',message:message,retryable:false});}request.httpRequest.headers[expiresHeader]=expires;}else if(signerClass===AWS.Signers.S3){var now=request.service?request.service.getSkewCorrectedDate():AWS.util.date.getDate();request.httpRequest.headers[expiresHeader]=parseInt(AWS.util.date.unixTimestamp(now)+expires,10).toString();}else{throw AWS.util.error(new Error(),{message:'Presigning only supports S3 or SigV4 signing.',code:'UnsupportedSigner',retryable:false});}}/**\n     * @api private\n     */function signedUrlSigner(request){var endpoint=request.httpRequest.endpoint;var parsedUrl=AWS.util.urlParse(request.httpRequest.path);var queryParams={};if(parsedUrl.search){queryParams=AWS.util.queryStringParse(parsedUrl.search.substr(1));}var auth=request.httpRequest.headers['Authorization'].split(' ');if(auth[0]==='AWS'){auth=auth[1].split(':');queryParams['Signature']=auth.pop();queryParams['AWSAccessKeyId']=auth.join(':');AWS.util.each(request.httpRequest.headers,function(key,value){if(key===expiresHeader)key='Expires';if(key.indexOf('x-amz-meta-')===0){// Delete existing, potentially not normalized key\ndelete queryParams[key];key=key.toLowerCase();}queryParams[key]=value;});delete request.httpRequest.headers[expiresHeader];delete queryParams['Authorization'];delete queryParams['Host'];}else if(auth[0]==='AWS4-HMAC-SHA256'){// SigV4 signing\nauth.shift();var rest=auth.join(' ');var signature=rest.match(/Signature=(.*?)(?:,|\\s|\\r?\\n|$)/)[1];queryParams['X-Amz-Signature']=signature;delete queryParams['Expires'];}// build URL\nendpoint.pathname=parsedUrl.pathname;endpoint.search=AWS.util.queryParamsToString(queryParams);}/**\n     * @api private\n     */AWS.Signers.Presign=inherit({/**\n       * @api private\n       */sign:function sign(request,expireTime,callback){request.httpRequest.headers[expiresHeader]=expireTime||3600;request.on('build',signedUrlBuilder);request.on('sign',signedUrlSigner);request.removeListener('afterBuild',AWS.EventListeners.Core.SET_CONTENT_LENGTH);request.removeListener('afterBuild',AWS.EventListeners.Core.COMPUTE_SHA256);request.emit('beforePresign',[request]);if(callback){request.build(function(){if(this.response.error)callback(this.response.error);else{callback(null,AWS.util.urlFormat(request.httpRequest.endpoint));}});}else{request.build();if(request.response.error)throw request.response.error;return AWS.util.urlFormat(request.httpRequest.endpoint);}}});/**\n     * @api private\n     */module.exports=AWS.Signers.Presign;},{\"../core\":19}],66:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;/**\n     * @api private\n     */AWS.Signers.RequestSigner=inherit({constructor:function RequestSigner(request){this.request=request;},setServiceClientId:function setServiceClientId(id){this.serviceClientId=id;},getServiceClientId:function getServiceClientId(){return this.serviceClientId;}});AWS.Signers.RequestSigner.getVersion=function getVersion(version){switch(version){case'v2':return AWS.Signers.V2;case'v3':return AWS.Signers.V3;case's3v4':return AWS.Signers.V4;case'v4':return AWS.Signers.V4;case's3':return AWS.Signers.S3;case'v3https':return AWS.Signers.V3Https;case'bearer':return AWS.Signers.Bearer;}throw new Error('Unknown signing version '+version);};require('./v2');require('./v3');require('./v3https');require('./v4');require('./s3');require('./presign');require('./bearer');},{\"../core\":19,\"./bearer\":64,\"./presign\":65,\"./s3\":67,\"./v2\":68,\"./v3\":69,\"./v3https\":70,\"./v4\":71}],67:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;/**\n     * @api private\n     */AWS.Signers.S3=inherit(AWS.Signers.RequestSigner,{/**\n       * When building the stringToSign, these sub resource params should be\n       * part of the canonical resource string with their NON-decoded values\n       */subResources:{'acl':1,'accelerate':1,'analytics':1,'cors':1,'lifecycle':1,'delete':1,'inventory':1,'location':1,'logging':1,'metrics':1,'notification':1,'partNumber':1,'policy':1,'requestPayment':1,'replication':1,'restore':1,'tagging':1,'torrent':1,'uploadId':1,'uploads':1,'versionId':1,'versioning':1,'versions':1,'website':1},// when building the stringToSign, these querystring params should be\n// part of the canonical resource string with their NON-encoded values\nresponseHeaders:{'response-content-type':1,'response-content-language':1,'response-expires':1,'response-cache-control':1,'response-content-disposition':1,'response-content-encoding':1},addAuthorization:function addAuthorization(credentials,date){if(!this.request.headers['presigned-expires']){this.request.headers['X-Amz-Date']=AWS.util.date.rfc822(date);}if(credentials.sessionToken){// presigned URLs require this header to be lowercased\nthis.request.headers['x-amz-security-token']=credentials.sessionToken;}var signature=this.sign(credentials.secretAccessKey,this.stringToSign());var auth='AWS '+credentials.accessKeyId+':'+signature;this.request.headers['Authorization']=auth;},stringToSign:function stringToSign(){var r=this.request;var parts=[];parts.push(r.method);parts.push(r.headers['Content-MD5']||'');parts.push(r.headers['Content-Type']||'');// This is the \"Date\" header, but we use X-Amz-Date.\n// The S3 signing mechanism requires us to pass an empty\n// string for this Date header regardless.\nparts.push(r.headers['presigned-expires']||'');var headers=this.canonicalizedAmzHeaders();if(headers)parts.push(headers);parts.push(this.canonicalizedResource());return parts.join('\\n');},canonicalizedAmzHeaders:function canonicalizedAmzHeaders(){var amzHeaders=[];AWS.util.each(this.request.headers,function(name){if(name.match(/^x-amz-/i))amzHeaders.push(name);});amzHeaders.sort(function(a,b){return a.toLowerCase()<b.toLowerCase()?-1:1;});var parts=[];AWS.util.arrayEach.call(this,amzHeaders,function(name){parts.push(name.toLowerCase()+':'+String(this.request.headers[name]));});return parts.join('\\n');},canonicalizedResource:function canonicalizedResource(){var r=this.request;var parts=r.path.split('?');var path=parts[0];var querystring=parts[1];var resource='';if(r.virtualHostedBucket)resource+='/'+r.virtualHostedBucket;resource+=path;if(querystring){// collect a list of sub resources and query params that need to be signed\nvar resources=[];AWS.util.arrayEach.call(this,querystring.split('&'),function(param){var name=param.split('=')[0];var value=param.split('=')[1];if(this.subResources[name]||this.responseHeaders[name]){var subresource={name:name};if(value!==undefined){if(this.subResources[name]){subresource.value=value;}else{subresource.value=decodeURIComponent(value);}}resources.push(subresource);}});resources.sort(function(a,b){return a.name<b.name?-1:1;});if(resources.length){querystring=[];AWS.util.arrayEach(resources,function(res){if(res.value===undefined){querystring.push(res.name);}else{querystring.push(res.name+'='+res.value);}});resource+='?'+querystring.join('&');}}return resource;},sign:function sign(secret,string){return AWS.util.crypto.hmac(secret,string,'base64','sha1');}});/**\n     * @api private\n     */module.exports=AWS.Signers.S3;},{\"../core\":19}],68:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;/**\n     * @api private\n     */AWS.Signers.V2=inherit(AWS.Signers.RequestSigner,{addAuthorization:function addAuthorization(credentials,date){if(!date)date=AWS.util.date.getDate();var r=this.request;r.params.Timestamp=AWS.util.date.iso8601(date);r.params.SignatureVersion='2';r.params.SignatureMethod='HmacSHA256';r.params.AWSAccessKeyId=credentials.accessKeyId;if(credentials.sessionToken){r.params.SecurityToken=credentials.sessionToken;}delete r.params.Signature;// delete old Signature for re-signing\nr.params.Signature=this.signature(credentials);r.body=AWS.util.queryParamsToString(r.params);r.headers['Content-Length']=r.body.length;},signature:function signature(credentials){return AWS.util.crypto.hmac(credentials.secretAccessKey,this.stringToSign(),'base64');},stringToSign:function stringToSign(){var parts=[];parts.push(this.request.method);parts.push(this.request.endpoint.host.toLowerCase());parts.push(this.request.pathname());parts.push(AWS.util.queryParamsToString(this.request.params));return parts.join('\\n');}});/**\n     * @api private\n     */module.exports=AWS.Signers.V2;},{\"../core\":19}],69:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;/**\n     * @api private\n     */AWS.Signers.V3=inherit(AWS.Signers.RequestSigner,{addAuthorization:function addAuthorization(credentials,date){var datetime=AWS.util.date.rfc822(date);this.request.headers['X-Amz-Date']=datetime;if(credentials.sessionToken){this.request.headers['x-amz-security-token']=credentials.sessionToken;}this.request.headers['X-Amzn-Authorization']=this.authorization(credentials,datetime);},authorization:function authorization(credentials){return'AWS3 '+'AWSAccessKeyId='+credentials.accessKeyId+','+'Algorithm=HmacSHA256,'+'SignedHeaders='+this.signedHeaders()+','+'Signature='+this.signature(credentials);},signedHeaders:function signedHeaders(){var headers=[];AWS.util.arrayEach(this.headersToSign(),function iterator(h){headers.push(h.toLowerCase());});return headers.sort().join(';');},canonicalHeaders:function canonicalHeaders(){var headers=this.request.headers;var parts=[];AWS.util.arrayEach(this.headersToSign(),function iterator(h){parts.push(h.toLowerCase().trim()+':'+String(headers[h]).trim());});return parts.sort().join('\\n')+'\\n';},headersToSign:function headersToSign(){var headers=[];AWS.util.each(this.request.headers,function iterator(k){if(k==='Host'||k==='Content-Encoding'||k.match(/^X-Amz/i)){headers.push(k);}});return headers;},signature:function signature(credentials){return AWS.util.crypto.hmac(credentials.secretAccessKey,this.stringToSign(),'base64');},stringToSign:function stringToSign(){var parts=[];parts.push(this.request.method);parts.push('/');parts.push('');parts.push(this.canonicalHeaders());parts.push(this.request.body);return AWS.util.crypto.sha256(parts.join('\\n'));}});/**\n     * @api private\n     */module.exports=AWS.Signers.V3;},{\"../core\":19}],70:[function(require,module,exports){var AWS=require('../core');var inherit=AWS.util.inherit;require('./v3');/**\n     * @api private\n     */AWS.Signers.V3Https=inherit(AWS.Signers.V3,{authorization:function authorization(credentials){return'AWS3-HTTPS '+'AWSAccessKeyId='+credentials.accessKeyId+','+'Algorithm=HmacSHA256,'+'Signature='+this.signature(credentials);},stringToSign:function stringToSign(){return this.request.headers['X-Amz-Date'];}});/**\n     * @api private\n     */module.exports=AWS.Signers.V3Https;},{\"../core\":19,\"./v3\":69}],71:[function(require,module,exports){var AWS=require('../core');var v4Credentials=require('./v4_credentials');var inherit=AWS.util.inherit;/**\n     * @api private\n     */var expiresHeader='presigned-expires';/**\n     * @api private\n     */AWS.Signers.V4=inherit(AWS.Signers.RequestSigner,{constructor:function V4(request,serviceName,options){AWS.Signers.RequestSigner.call(this,request);this.serviceName=serviceName;options=options||{};this.signatureCache=typeof options.signatureCache==='boolean'?options.signatureCache:true;this.operation=options.operation;this.signatureVersion=options.signatureVersion;},algorithm:'AWS4-HMAC-SHA256',addAuthorization:function addAuthorization(credentials,date){var datetime=AWS.util.date.iso8601(date).replace(/[:\\-]|\\.\\d{3}/g,'');if(this.isPresigned()){this.updateForPresigned(credentials,datetime);}else{this.addHeaders(credentials,datetime);}this.request.headers['Authorization']=this.authorization(credentials,datetime);},addHeaders:function addHeaders(credentials,datetime){this.request.headers['X-Amz-Date']=datetime;if(credentials.sessionToken){this.request.headers['x-amz-security-token']=credentials.sessionToken;}},updateForPresigned:function updateForPresigned(credentials,datetime){var credString=this.credentialString(datetime);var qs={'X-Amz-Date':datetime,'X-Amz-Algorithm':this.algorithm,'X-Amz-Credential':credentials.accessKeyId+'/'+credString,'X-Amz-Expires':this.request.headers[expiresHeader],'X-Amz-SignedHeaders':this.signedHeaders()};if(credentials.sessionToken){qs['X-Amz-Security-Token']=credentials.sessionToken;}if(this.request.headers['Content-Type']){qs['Content-Type']=this.request.headers['Content-Type'];}if(this.request.headers['Content-MD5']){qs['Content-MD5']=this.request.headers['Content-MD5'];}if(this.request.headers['Cache-Control']){qs['Cache-Control']=this.request.headers['Cache-Control'];}// need to pull in any other X-Amz-* headers\nAWS.util.each.call(this,this.request.headers,function(key,value){if(key===expiresHeader)return;if(this.isSignableHeader(key)){var lowerKey=key.toLowerCase();// Metadata should be normalized\nif(lowerKey.indexOf('x-amz-meta-')===0){qs[lowerKey]=value;}else if(lowerKey.indexOf('x-amz-')===0){qs[key]=value;}}});var sep=this.request.path.indexOf('?')>=0?'&':'?';this.request.path+=sep+AWS.util.queryParamsToString(qs);},authorization:function authorization(credentials,datetime){var parts=[];var credString=this.credentialString(datetime);parts.push(this.algorithm+' Credential='+credentials.accessKeyId+'/'+credString);parts.push('SignedHeaders='+this.signedHeaders());parts.push('Signature='+this.signature(credentials,datetime));return parts.join(', ');},signature:function signature(credentials,datetime){var signingKey=v4Credentials.getSigningKey(credentials,datetime.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return AWS.util.crypto.hmac(signingKey,this.stringToSign(datetime),'hex');},stringToSign:function stringToSign(datetime){var parts=[];parts.push('AWS4-HMAC-SHA256');parts.push(datetime);parts.push(this.credentialString(datetime));parts.push(this.hexEncodedHash(this.canonicalString()));return parts.join('\\n');},canonicalString:function canonicalString(){var parts=[],pathname=this.request.pathname();if(this.serviceName!=='s3'&&this.signatureVersion!=='s3v4')pathname=AWS.util.uriEscapePath(pathname);parts.push(this.request.method);parts.push(pathname);parts.push(this.request.search());parts.push(this.canonicalHeaders()+'\\n');parts.push(this.signedHeaders());parts.push(this.hexEncodedBodyHash());return parts.join('\\n');},canonicalHeaders:function canonicalHeaders(){var headers=[];AWS.util.each.call(this,this.request.headers,function(key,item){headers.push([key,item]);});headers.sort(function(a,b){return a[0].toLowerCase()<b[0].toLowerCase()?-1:1;});var parts=[];AWS.util.arrayEach.call(this,headers,function(item){var key=item[0].toLowerCase();if(this.isSignableHeader(key)){var value=item[1];if(typeof value==='undefined'||value===null||typeof value.toString!=='function'){throw AWS.util.error(new Error('Header '+key+' contains invalid value'),{code:'InvalidHeader'});}parts.push(key+':'+this.canonicalHeaderValues(value.toString()));}});return parts.join('\\n');},canonicalHeaderValues:function canonicalHeaderValues(values){return values.replace(/\\s+/g,' ').replace(/^\\s+|\\s+$/g,'');},signedHeaders:function signedHeaders(){var keys=[];AWS.util.each.call(this,this.request.headers,function(key){key=key.toLowerCase();if(this.isSignableHeader(key))keys.push(key);});return keys.sort().join(';');},credentialString:function credentialString(datetime){return v4Credentials.createScope(datetime.substr(0,8),this.request.region,this.serviceName);},hexEncodedHash:function hash(string){return AWS.util.crypto.sha256(string,'hex');},hexEncodedBodyHash:function hexEncodedBodyHash(){var request=this.request;if(this.isPresigned()&&['s3','s3-object-lambda'].indexOf(this.serviceName)>-1&&!request.body){return'UNSIGNED-PAYLOAD';}else if(request.headers['X-Amz-Content-Sha256']){return request.headers['X-Amz-Content-Sha256'];}else{return this.hexEncodedHash(this.request.body||'');}},unsignableHeaders:['authorization','content-type','content-length','user-agent',expiresHeader,'expect','x-amzn-trace-id'],isSignableHeader:function isSignableHeader(key){if(key.toLowerCase().indexOf('x-amz-')===0)return true;return this.unsignableHeaders.indexOf(key)<0;},isPresigned:function isPresigned(){return this.request.headers[expiresHeader]?true:false;}});/**\n     * @api private\n     */module.exports=AWS.Signers.V4;},{\"../core\":19,\"./v4_credentials\":72}],72:[function(require,module,exports){var AWS=require('../core');/**\n     * @api private\n     */var cachedSecret={};/**\n     * @api private\n     */var cacheQueue=[];/**\n     * @api private\n     */var maxCacheEntries=50;/**\n     * @api private\n     */var v4Identifier='aws4_request';/**\n     * @api private\n     */module.exports={/**\n       * @api private\n       *\n       * @param date [String]\n       * @param region [String]\n       * @param serviceName [String]\n       * @return [String]\n       */createScope:function createScope(date,region,serviceName){return[date.substr(0,8),region,serviceName,v4Identifier].join('/');},/**\n       * @api private\n       *\n       * @param credentials [Credentials]\n       * @param date [String]\n       * @param region [String]\n       * @param service [String]\n       * @param shouldCache [Boolean]\n       * @return [String]\n       */getSigningKey:function getSigningKey(credentials,date,region,service,shouldCache){var credsIdentifier=AWS.util.crypto.hmac(credentials.secretAccessKey,credentials.accessKeyId,'base64');var cacheKey=[credsIdentifier,date,region,service].join('_');shouldCache=shouldCache!==false;if(shouldCache&&cacheKey in cachedSecret){return cachedSecret[cacheKey];}var kDate=AWS.util.crypto.hmac('AWS4'+credentials.secretAccessKey,date,'buffer');var kRegion=AWS.util.crypto.hmac(kDate,region,'buffer');var kService=AWS.util.crypto.hmac(kRegion,service,'buffer');var signingKey=AWS.util.crypto.hmac(kService,v4Identifier,'buffer');if(shouldCache){cachedSecret[cacheKey]=signingKey;cacheQueue.push(cacheKey);if(cacheQueue.length>maxCacheEntries){// remove the oldest entry (not the least recently used)\ndelete cachedSecret[cacheQueue.shift()];}}return signingKey;},/**\n       * @api private\n       *\n       * Empties the derived signing key cache. Made available for testing purposes\n       * only.\n       */emptyCache:function emptyCache(){cachedSecret={};cacheQueue=[];}};},{\"../core\":19}],73:[function(require,module,exports){function AcceptorStateMachine(states,state){this.currentState=state||null;this.states=states||{};}AcceptorStateMachine.prototype.runTo=function runTo(finalState,done,bindObject,inputError){if(typeof finalState==='function'){inputError=bindObject;bindObject=done;done=finalState;finalState=null;}var self=this;var state=self.states[self.currentState];state.fn.call(bindObject||self,inputError,function(err){if(err){if(state.fail)self.currentState=state.fail;else return done?done.call(bindObject,err):null;}else{if(state.accept)self.currentState=state.accept;else return done?done.call(bindObject):null;}if(self.currentState===finalState){return done?done.call(bindObject,err):null;}self.runTo(finalState,done,bindObject,err);});};AcceptorStateMachine.prototype.addState=function addState(name,acceptState,failState,fn){if(typeof acceptState==='function'){fn=acceptState;acceptState=null;failState=null;}else if(typeof failState==='function'){fn=failState;failState=null;}if(!this.currentState)this.currentState=name;this.states[name]={accept:acceptState,fail:failState,fn:fn};return this;};/**\n     * @api private\n     */module.exports=AcceptorStateMachine;},{}],74:[function(require,module,exports){(function(process,setImmediate){(function(){/* eslint guard-for-in:0 */var AWS;/**\n         * A set of utility methods for use with the AWS SDK.\n         *\n         * @!attribute abort\n         *   Return this value from an iterator function {each} or {arrayEach}\n         *   to break out of the iteration.\n         *   @example Breaking out of an iterator function\n         *     AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) {\n         *       if (key == 'b') return AWS.util.abort;\n         *     });\n         *   @see each\n         *   @see arrayEach\n         * @api private\n         */var util={environment:'nodejs',engine:function engine(){if(util.isBrowser()&&typeof navigator!=='undefined'){return navigator.userAgent;}else{var engine=process.platform+'/'+process.version;if(process.env.AWS_EXECUTION_ENV){engine+=' exec-env/'+process.env.AWS_EXECUTION_ENV;}return engine;}},userAgent:function userAgent(){var name=util.environment;var agent='aws-sdk-'+name+'/'+require('./core').VERSION;if(name==='nodejs')agent+=' '+util.engine();return agent;},uriEscape:function uriEscape(string){var output=encodeURIComponent(string);output=output.replace(/[^A-Za-z0-9_.~\\-%]+/g,escape);// AWS percent-encodes some extra non-standard characters in a URI\noutput=output.replace(/[*]/g,function(ch){return'%'+ch.charCodeAt(0).toString(16).toUpperCase();});return output;},uriEscapePath:function uriEscapePath(string){var parts=[];util.arrayEach(string.split('/'),function(part){parts.push(util.uriEscape(part));});return parts.join('/');},urlParse:function urlParse(url){return util.url.parse(url);},urlFormat:function urlFormat(url){return util.url.format(url);},queryStringParse:function queryStringParse(qs){return util.querystring.parse(qs);},queryParamsToString:function queryParamsToString(params){var items=[];var escape=util.uriEscape;var sortedKeys=Object.keys(params).sort();util.arrayEach(sortedKeys,function(name){var value=params[name];var ename=escape(name);var result=ename+'=';if(Array.isArray(value)){var vals=[];util.arrayEach(value,function(item){vals.push(escape(item));});result=ename+'='+vals.sort().join('&'+ename+'=');}else if(value!==undefined&&value!==null){result=ename+'='+escape(value);}items.push(result);});return items.join('&');},readFileSync:function readFileSync(path){if(util.isBrowser())return null;return require('fs').readFileSync(path,'utf-8');},base64:{encode:function encode64(string){if(typeof string==='number'){throw util.error(new Error('Cannot base64 encode number '+string));}if(string===null||typeof string==='undefined'){return string;}var buf=util.buffer.toBuffer(string);return buf.toString('base64');},decode:function decode64(string){if(typeof string==='number'){throw util.error(new Error('Cannot base64 decode number '+string));}if(string===null||typeof string==='undefined'){return string;}return util.buffer.toBuffer(string,'base64');}},buffer:{/**\n             * Buffer constructor for Node buffer and buffer pollyfill\n             */toBuffer:function toBuffer(data,encoding){return typeof util.Buffer.from==='function'&&util.Buffer.from!==Uint8Array.from?util.Buffer.from(data,encoding):new util.Buffer(data,encoding);},alloc:function alloc(size,fill,encoding){if(typeof size!=='number'){throw new Error('size passed to alloc must be a number.');}if(typeof util.Buffer.alloc==='function'){return util.Buffer.alloc(size,fill,encoding);}else{var buf=new util.Buffer(size);if(fill!==undefined&&typeof buf.fill==='function'){buf.fill(fill,undefined,undefined,encoding);}return buf;}},toStream:function toStream(buffer){if(!util.Buffer.isBuffer(buffer))buffer=util.buffer.toBuffer(buffer);var readable=new util.stream.Readable();var pos=0;readable._read=function(size){if(pos>=buffer.length)return readable.push(null);var end=pos+size;if(end>buffer.length)end=buffer.length;readable.push(buffer.slice(pos,end));pos=end;};return readable;},/**\n             * Concatenates a list of Buffer objects.\n             */concat:function concat(buffers){var length=0,offset=0,buffer=null,i;for(i=0;i<buffers.length;i++){length+=buffers[i].length;}buffer=util.buffer.alloc(length);for(i=0;i<buffers.length;i++){buffers[i].copy(buffer,offset);offset+=buffers[i].length;}return buffer;}},string:{byteLength:function byteLength(string){if(string===null||string===undefined)return 0;if(typeof string==='string')string=util.buffer.toBuffer(string);if(typeof string.byteLength==='number'){return string.byteLength;}else if(typeof string.length==='number'){return string.length;}else if(typeof string.size==='number'){return string.size;}else if(typeof string.path==='string'){return require('fs').lstatSync(string.path).size;}else{throw util.error(new Error('Cannot determine length of '+string),{object:string});}},upperFirst:function upperFirst(string){return string[0].toUpperCase()+string.substr(1);},lowerFirst:function lowerFirst(string){return string[0].toLowerCase()+string.substr(1);}},ini:{parse:function string(ini){var currentSection,map={};util.arrayEach(ini.split(/\\r?\\n/),function(line){line=line.split(/(^|\\s)[;#]/)[0].trim();// remove comments and trim\nvar isSection=line[0]==='['&&line[line.length-1]===']';if(isSection){currentSection=line.substring(1,line.length-1);if(currentSection==='__proto__'||currentSection.split(/\\s/)[1]==='__proto__'){throw util.error(new Error('Cannot load profile name \\''+currentSection+'\\' from shared ini file.'));}}else if(currentSection){var indexOfEqualsSign=line.indexOf('=');var start=0;var end=line.length-1;var isAssignment=indexOfEqualsSign!==-1&&indexOfEqualsSign!==start&&indexOfEqualsSign!==end;if(isAssignment){var name=line.substring(0,indexOfEqualsSign).trim();var value=line.substring(indexOfEqualsSign+1).trim();map[currentSection]=map[currentSection]||{};map[currentSection][name]=value;}}});return map;}},fn:{noop:function noop(){},callback:function callback(err){if(err)throw err;},/**\n             * Turn a synchronous function into as \"async\" function by making it call\n             * a callback. The underlying function is called with all but the last argument,\n             * which is treated as the callback. The callback is passed passed a first argument\n             * of null on success to mimick standard node callbacks.\n             */makeAsync:function makeAsync(fn,expectedArgs){if(expectedArgs&&expectedArgs<=fn.length){return fn;}return function(){var args=Array.prototype.slice.call(arguments,0);var callback=args.pop();var result=fn.apply(null,args);callback(result);};}},/**\n           * Date and time utility functions.\n           */date:{/**\n             * @return [Date] the current JavaScript date object. Since all\n             *   AWS services rely on this date object, you can override\n             *   this function to provide a special time value to AWS service\n             *   requests.\n             */getDate:function getDate(){if(!AWS)AWS=require('./core');if(AWS.config.systemClockOffset){// use offset when non-zero\nreturn new Date(new Date().getTime()+AWS.config.systemClockOffset);}else{return new Date();}},/**\n             * @return [String] the date in ISO-8601 format\n             */iso8601:function iso8601(date){if(date===undefined){date=util.date.getDate();}return date.toISOString().replace(/\\.\\d{3}Z$/,'Z');},/**\n             * @return [String] the date in RFC 822 format\n             */rfc822:function rfc822(date){if(date===undefined){date=util.date.getDate();}return date.toUTCString();},/**\n             * @return [Integer] the UNIX timestamp value for the current time\n             */unixTimestamp:function unixTimestamp(date){if(date===undefined){date=util.date.getDate();}return date.getTime()/1000;},/**\n             * @param [String,number,Date] date\n             * @return [Date]\n             */from:function format(date){if(typeof date==='number'){return new Date(date*1000);// unix timestamp\n}else{return new Date(date);}},/**\n             * Given a Date or date-like value, this function formats the\n             * date into a string of the requested value.\n             * @param [String,number,Date] date\n             * @param [String] formatter Valid formats are:\n             #   * 'iso8601'\n             #   * 'rfc822'\n             #   * 'unixTimestamp'\n             * @return [String]\n             */format:function format(date,formatter){if(!formatter)formatter='iso8601';return util.date[formatter](util.date.from(date));},parseTimestamp:function parseTimestamp(value){if(typeof value==='number'){// unix timestamp (number)\nreturn new Date(value*1000);}else if(value.match(/^\\d+$/)){// unix timestamp\nreturn new Date(value*1000);}else if(value.match(/^\\d{4}/)){// iso8601\nreturn new Date(value);}else if(value.match(/^\\w{3},/)){// rfc822\nreturn new Date(value);}else{throw util.error(new Error('unhandled timestamp format: '+value),{code:'TimestampParserError'});}}},crypto:{crc32Table:[0x00000000,0x77073096,0xEE0E612C,0x990951BA,0x076DC419,0x706AF48F,0xE963A535,0x9E6495A3,0x0EDB8832,0x79DCB8A4,0xE0D5E91E,0x97D2D988,0x09B64C2B,0x7EB17CBD,0xE7B82D07,0x90BF1D91,0x1DB71064,0x6AB020F2,0xF3B97148,0x84BE41DE,0x1ADAD47D,0x6DDDE4EB,0xF4D4B551,0x83D385C7,0x136C9856,0x646BA8C0,0xFD62F97A,0x8A65C9EC,0x14015C4F,0x63066CD9,0xFA0F3D63,0x8D080DF5,0x3B6E20C8,0x4C69105E,0xD56041E4,0xA2677172,0x3C03E4D1,0x4B04D447,0xD20D85FD,0xA50AB56B,0x35B5A8FA,0x42B2986C,0xDBBBC9D6,0xACBCF940,0x32D86CE3,0x45DF5C75,0xDCD60DCF,0xABD13D59,0x26D930AC,0x51DE003A,0xC8D75180,0xBFD06116,0x21B4F4B5,0x56B3C423,0xCFBA9599,0xB8BDA50F,0x2802B89E,0x5F058808,0xC60CD9B2,0xB10BE924,0x2F6F7C87,0x58684C11,0xC1611DAB,0xB6662D3D,0x76DC4190,0x01DB7106,0x98D220BC,0xEFD5102A,0x71B18589,0x06B6B51F,0x9FBFE4A5,0xE8B8D433,0x7807C9A2,0x0F00F934,0x9609A88E,0xE10E9818,0x7F6A0DBB,0x086D3D2D,0x91646C97,0xE6635C01,0x6B6B51F4,0x1C6C6162,0x856530D8,0xF262004E,0x6C0695ED,0x1B01A57B,0x8208F4C1,0xF50FC457,0x65B0D9C6,0x12B7E950,0x8BBEB8EA,0xFCB9887C,0x62DD1DDF,0x15DA2D49,0x8CD37CF3,0xFBD44C65,0x4DB26158,0x3AB551CE,0xA3BC0074,0xD4BB30E2,0x4ADFA541,0x3DD895D7,0xA4D1C46D,0xD3D6F4FB,0x4369E96A,0x346ED9FC,0xAD678846,0xDA60B8D0,0x44042D73,0x33031DE5,0xAA0A4C5F,0xDD0D7CC9,0x5005713C,0x270241AA,0xBE0B1010,0xC90C2086,0x5768B525,0x206F85B3,0xB966D409,0xCE61E49F,0x5EDEF90E,0x29D9C998,0xB0D09822,0xC7D7A8B4,0x59B33D17,0x2EB40D81,0xB7BD5C3B,0xC0BA6CAD,0xEDB88320,0x9ABFB3B6,0x03B6E20C,0x74B1D29A,0xEAD54739,0x9DD277AF,0x04DB2615,0x73DC1683,0xE3630B12,0x94643B84,0x0D6D6A3E,0x7A6A5AA8,0xE40ECF0B,0x9309FF9D,0x0A00AE27,0x7D079EB1,0xF00F9344,0x8708A3D2,0x1E01F268,0x6906C2FE,0xF762575D,0x806567CB,0x196C3671,0x6E6B06E7,0xFED41B76,0x89D32BE0,0x10DA7A5A,0x67DD4ACC,0xF9B9DF6F,0x8EBEEFF9,0x17B7BE43,0x60B08ED5,0xD6D6A3E8,0xA1D1937E,0x38D8C2C4,0x4FDFF252,0xD1BB67F1,0xA6BC5767,0x3FB506DD,0x48B2364B,0xD80D2BDA,0xAF0A1B4C,0x36034AF6,0x41047A60,0xDF60EFC3,0xA867DF55,0x316E8EEF,0x4669BE79,0xCB61B38C,0xBC66831A,0x256FD2A0,0x5268E236,0xCC0C7795,0xBB0B4703,0x220216B9,0x5505262F,0xC5BA3BBE,0xB2BD0B28,0x2BB45A92,0x5CB36A04,0xC2D7FFA7,0xB5D0CF31,0x2CD99E8B,0x5BDEAE1D,0x9B64C2B0,0xEC63F226,0x756AA39C,0x026D930A,0x9C0906A9,0xEB0E363F,0x72076785,0x05005713,0x95BF4A82,0xE2B87A14,0x7BB12BAE,0x0CB61B38,0x92D28E9B,0xE5D5BE0D,0x7CDCEFB7,0x0BDBDF21,0x86D3D2D4,0xF1D4E242,0x68DDB3F8,0x1FDA836E,0x81BE16CD,0xF6B9265B,0x6FB077E1,0x18B74777,0x88085AE6,0xFF0F6A70,0x66063BCA,0x11010B5C,0x8F659EFF,0xF862AE69,0x616BFFD3,0x166CCF45,0xA00AE278,0xD70DD2EE,0x4E048354,0x3903B3C2,0xA7672661,0xD06016F7,0x4969474D,0x3E6E77DB,0xAED16A4A,0xD9D65ADC,0x40DF0B66,0x37D83BF0,0xA9BCAE53,0xDEBB9EC5,0x47B2CF7F,0x30B5FFE9,0xBDBDF21C,0xCABAC28A,0x53B39330,0x24B4A3A6,0xBAD03605,0xCDD70693,0x54DE5729,0x23D967BF,0xB3667A2E,0xC4614AB8,0x5D681B02,0x2A6F2B94,0xB40BBE37,0xC30C8EA1,0x5A05DF1B,0x2D02EF8D],crc32:function crc32(data){var tbl=util.crypto.crc32Table;var crc=0^-1;if(typeof data==='string'){data=util.buffer.toBuffer(data);}for(var i=0;i<data.length;i++){var code=data.readUInt8(i);crc=crc>>>8^tbl[(crc^code)&0xFF];}return(crc^-1)>>>0;},hmac:function hmac(key,string,digest,fn){if(!digest)digest='binary';if(digest==='buffer'){digest=undefined;}if(!fn)fn='sha256';if(typeof string==='string')string=util.buffer.toBuffer(string);return util.crypto.lib.createHmac(fn,key).update(string).digest(digest);},md5:function md5(data,digest,callback){return util.crypto.hash('md5',data,digest,callback);},sha256:function sha256(data,digest,callback){return util.crypto.hash('sha256',data,digest,callback);},hash:function hash(algorithm,data,digest,callback){var hash=util.crypto.createHash(algorithm);if(!digest){digest='binary';}if(digest==='buffer'){digest=undefined;}if(typeof data==='string')data=util.buffer.toBuffer(data);var sliceFn=util.arraySliceFn(data);var isBuffer=util.Buffer.isBuffer(data);//Identifying objects with an ArrayBuffer as buffers\nif(util.isBrowser()&&typeof ArrayBuffer!=='undefined'&&data&&data.buffer instanceof ArrayBuffer)isBuffer=true;if(callback&&_typeof(data)==='object'&&typeof data.on==='function'&&!isBuffer){data.on('data',function(chunk){hash.update(chunk);});data.on('error',function(err){callback(err);});data.on('end',function(){callback(null,hash.digest(digest));});}else if(callback&&sliceFn&&!isBuffer&&typeof FileReader!=='undefined'){// this might be a File/Blob\nvar index=0,size=1024*512;var reader=new FileReader();reader.onerror=function(){callback(new Error('Failed to read data.'));};reader.onload=function(){var buf=new util.Buffer(new Uint8Array(reader.result));hash.update(buf);index+=buf.length;reader._continueReading();};reader._continueReading=function(){if(index>=data.size){callback(null,hash.digest(digest));return;}var back=index+size;if(back>data.size)back=data.size;reader.readAsArrayBuffer(sliceFn.call(data,index,back));};reader._continueReading();}else{if(util.isBrowser()&&_typeof(data)==='object'&&!isBuffer){data=new util.Buffer(new Uint8Array(data));}var out=hash.update(data).digest(digest);if(callback)callback(null,out);return out;}},toHex:function toHex(data){var out=[];for(var i=0;i<data.length;i++){out.push(('0'+data.charCodeAt(i).toString(16)).substr(-2,2));}return out.join('');},createHash:function createHash(algorithm){return util.crypto.lib.createHash(algorithm);}},/** @!ignore *//* Abort constant */abort:{},each:function each(object,iterFunction){for(var key in object){if(Object.prototype.hasOwnProperty.call(object,key)){var ret=iterFunction.call(this,key,object[key]);if(ret===util.abort)break;}}},arrayEach:function arrayEach(array,iterFunction){for(var idx in array){if(Object.prototype.hasOwnProperty.call(array,idx)){var ret=iterFunction.call(this,array[idx],parseInt(idx,10));if(ret===util.abort)break;}}},update:function update(obj1,obj2){util.each(obj2,function iterator(key,item){obj1[key]=item;});return obj1;},merge:function merge(obj1,obj2){return util.update(util.copy(obj1),obj2);},copy:function copy(object){if(object===null||object===undefined)return object;var dupe={};// jshint forin:false\nfor(var key in object){dupe[key]=object[key];}return dupe;},isEmpty:function isEmpty(obj){for(var prop in obj){if(Object.prototype.hasOwnProperty.call(obj,prop)){return false;}}return true;},arraySliceFn:function arraySliceFn(obj){var fn=obj.slice||obj.webkitSlice||obj.mozSlice;return typeof fn==='function'?fn:null;},isType:function isType(obj,type){// handle cross-\"frame\" objects\nif(typeof type==='function')type=util.typeName(type);return Object.prototype.toString.call(obj)==='[object '+type+']';},typeName:function typeName(type){if(Object.prototype.hasOwnProperty.call(type,'name'))return type.name;var str=type.toString();var match=str.match(/^\\s*function (.+)\\(/);return match?match[1]:str;},error:function error(err,options){var originalError=null;if(typeof err.message==='string'&&err.message!==''){if(typeof options==='string'||options&&options.message){originalError=util.copy(err);originalError.message=err.message;}}err.message=err.message||null;if(typeof options==='string'){err.message=options;}else if(_typeof(options)==='object'&&options!==null){util.update(err,options);if(options.message)err.message=options.message;if(options.code||options.name)err.code=options.code||options.name;if(options.stack)err.stack=options.stack;}if(typeof Object.defineProperty==='function'){Object.defineProperty(err,'name',{writable:true,enumerable:false});Object.defineProperty(err,'message',{enumerable:true});}err.name=String(options&&options.name||err.name||err.code||'Error');err.time=new Date();if(originalError){err.originalError=originalError;}for(var key in options||{}){if(key[0]==='['&&key[key.length-1]===']'){key=key.slice(1,-1);if(key==='code'||key==='message'){continue;}err['['+key+']']='See error.'+key+' for details.';Object.defineProperty(err,key,{value:err[key]||options&&options[key]||originalError&&originalError[key],enumerable:false,writable:true});}}return err;},/**\n           * @api private\n           */inherit:function inherit(klass,features){var newObject=null;if(features===undefined){features=klass;klass=Object;newObject={};}else{var ctor=function ConstructorWrapper(){};ctor.prototype=klass.prototype;newObject=new ctor();}// constructor not supplied, create pass-through ctor\nif(features.constructor===Object){features.constructor=function(){if(klass!==Object){return klass.apply(this,arguments);}};}features.constructor.prototype=newObject;util.update(features.constructor.prototype,features);features.constructor.__super__=klass;return features.constructor;},/**\n           * @api private\n           */mixin:function mixin(){var klass=arguments[0];for(var i=1;i<arguments.length;i++){// jshint forin:false\nfor(var prop in arguments[i].prototype){var fn=arguments[i].prototype[prop];if(prop!=='constructor'){klass.prototype[prop]=fn;}}}return klass;},/**\n           * @api private\n           */hideProperties:function hideProperties(obj,props){if(typeof Object.defineProperty!=='function')return;util.arrayEach(props,function(key){Object.defineProperty(obj,key,{enumerable:false,writable:true,configurable:true});});},/**\n           * @api private\n           */property:function property(obj,name,value,enumerable,isValue){var opts={configurable:true,enumerable:enumerable!==undefined?enumerable:true};if(typeof value==='function'&&!isValue){opts.get=value;}else{opts.value=value;opts.writable=true;}Object.defineProperty(obj,name,opts);},/**\n           * @api private\n           */memoizedProperty:function memoizedProperty(obj,name,get,enumerable){var cachedValue=null;// build enumerable attribute for each value with lazy accessor.\nutil.property(obj,name,function(){if(cachedValue===null){cachedValue=get();}return cachedValue;},enumerable);},/**\n           * TODO Remove in major version revision\n           * This backfill populates response data without the\n           * top-level payload name.\n           *\n           * @api private\n           */hoistPayloadMember:function hoistPayloadMember(resp){var req=resp.request;var operationName=req.operation;var operation=req.service.api.operations[operationName];var output=operation.output;if(output.payload&&!operation.hasEventOutput){var payloadMember=output.members[output.payload];var responsePayload=resp.data[output.payload];if(payloadMember.type==='structure'){util.each(responsePayload,function(key,value){util.property(resp.data,key,value,false);});}}},/**\n           * Compute SHA-256 checksums of streams\n           *\n           * @api private\n           */computeSha256:function computeSha256(body,done){if(util.isNode()){var Stream=util.stream.Stream;var fs=require('fs');if(typeof Stream==='function'&&body instanceof Stream){if(typeof body.path==='string'){// assume file object\nvar settings={};if(typeof body.start==='number'){settings.start=body.start;}if(typeof body.end==='number'){settings.end=body.end;}body=fs.createReadStream(body.path,settings);}else{// TODO support other stream types\nreturn done(new Error('Non-file stream objects are '+'not supported with SigV4'));}}}util.crypto.sha256(body,'hex',function(err,sha){if(err)done(err);else done(null,sha);});},/**\n           * @api private\n           */isClockSkewed:function isClockSkewed(serverTime){if(serverTime){util.property(AWS.config,'isClockSkewed',Math.abs(new Date().getTime()-serverTime)>=300000,false);return AWS.config.isClockSkewed;}},applyClockOffset:function applyClockOffset(serverTime){if(serverTime)AWS.config.systemClockOffset=serverTime-new Date().getTime();},/**\n           * @api private\n           */extractRequestId:function extractRequestId(resp){var requestId=resp.httpResponse.headers['x-amz-request-id']||resp.httpResponse.headers['x-amzn-requestid'];if(!requestId&&resp.data&&resp.data.ResponseMetadata){requestId=resp.data.ResponseMetadata.RequestId;}if(requestId){resp.requestId=requestId;}if(resp.error){resp.error.requestId=requestId;}},/**\n           * @api private\n           */addPromises:function addPromises(constructors,PromiseDependency){var deletePromises=false;if(PromiseDependency===undefined&&AWS&&AWS.config){PromiseDependency=AWS.config.getPromisesDependency();}if(PromiseDependency===undefined&&typeof Promise!=='undefined'){PromiseDependency=Promise;}if(typeof PromiseDependency!=='function')deletePromises=true;if(!Array.isArray(constructors))constructors=[constructors];for(var ind=0;ind<constructors.length;ind++){var constructor=constructors[ind];if(deletePromises){if(constructor.deletePromisesFromClass){constructor.deletePromisesFromClass();}}else if(constructor.addPromisesToClass){constructor.addPromisesToClass(PromiseDependency);}}},/**\n           * @api private\n           * Return a function that will return a promise whose fate is decided by the\n           * callback behavior of the given method with `methodName`. The method to be\n           * promisified should conform to node.js convention of accepting a callback as\n           * last argument and calling that callback with error as the first argument\n           * and success value on the second argument.\n           */promisifyMethod:function promisifyMethod(methodName,PromiseDependency){return function promise(){var self=this;var args=Array.prototype.slice.call(arguments);return new PromiseDependency(function(resolve,reject){args.push(function(err,data){if(err){reject(err);}else{resolve(data);}});self[methodName].apply(self,args);});};},/**\n           * @api private\n           */isDualstackAvailable:function isDualstackAvailable(service){if(!service)return false;var metadata=require('../apis/metadata.json');if(typeof service!=='string')service=service.serviceIdentifier;if(typeof service!=='string'||!metadata.hasOwnProperty(service))return false;return!!metadata[service].dualstackAvailable;},/**\n           * @api private\n           */calculateRetryDelay:function calculateRetryDelay(retryCount,retryDelayOptions,err){if(!retryDelayOptions)retryDelayOptions={};var customBackoff=retryDelayOptions.customBackoff||null;if(typeof customBackoff==='function'){return customBackoff(retryCount,err);}var base=typeof retryDelayOptions.base==='number'?retryDelayOptions.base:100;var delay=Math.random()*(Math.pow(2,retryCount)*base);return delay;},/**\n           * @api private\n           */handleRequestWithRetries:function handleRequestWithRetries(httpRequest,options,cb){if(!options)options={};var http=AWS.HttpClient.getInstance();var httpOptions=options.httpOptions||{};var retryCount=0;var errCallback=function errCallback(err){var maxRetries=options.maxRetries||0;if(err&&err.code==='TimeoutError')err.retryable=true;// Call `calculateRetryDelay()` only when relevant, see #3401\nif(err&&err.retryable&&retryCount<maxRetries){var delay=util.calculateRetryDelay(retryCount,options.retryDelayOptions,err);if(delay>=0){retryCount++;setTimeout(sendRequest,delay+(err.retryAfter||0));return;}}cb(err);};var sendRequest=function sendRequest(){var data='';http.handleRequest(httpRequest,httpOptions,function(httpResponse){httpResponse.on('data',function(chunk){data+=chunk.toString();});httpResponse.on('end',function(){var statusCode=httpResponse.statusCode;if(statusCode<300){cb(null,data);}else{var retryAfter=parseInt(httpResponse.headers['retry-after'],10)*1000||0;var err=util.error(new Error(),{statusCode:statusCode,retryable:statusCode>=500||statusCode===429});if(retryAfter&&err.retryable)err.retryAfter=retryAfter;errCallback(err);}});},errCallback);};AWS.util.defer(sendRequest);},/**\n           * @api private\n           */uuid:{v4:function uuidV4(){return require('uuid').v4();}},/**\n           * @api private\n           */convertPayloadToString:function convertPayloadToString(resp){var req=resp.request;var operation=req.operation;var rules=req.service.api.operations[operation].output||{};if(rules.payload&&resp.data[rules.payload]){resp.data[rules.payload]=resp.data[rules.payload].toString();}},/**\n           * @api private\n           */defer:function defer(callback){if(_typeof(process)==='object'&&typeof process.nextTick==='function'){process.nextTick(callback);}else if(typeof setImmediate==='function'){setImmediate(callback);}else{setTimeout(callback,0);}},/**\n           * @api private\n           */getRequestPayloadShape:function getRequestPayloadShape(req){var operations=req.service.api.operations;if(!operations)return undefined;var operation=(operations||{})[req.operation];if(!operation||!operation.input||!operation.input.payload)return undefined;return operation.input.members[operation.input.payload];},getProfilesFromSharedConfig:function getProfilesFromSharedConfig(iniLoader,filename){var profiles={};var profilesFromConfig={};if(process.env[util.configOptInEnv]){var profilesFromConfig=iniLoader.loadFrom({isConfig:true,filename:process.env[util.sharedConfigFileEnv]});}var profilesFromCreds={};try{var profilesFromCreds=iniLoader.loadFrom({filename:filename||process.env[util.configOptInEnv]&&process.env[util.sharedCredentialsFileEnv]});}catch(error){// if using config, assume it is fully descriptive without a credentials file:\nif(!process.env[util.configOptInEnv])throw error;}for(var i=0,profileNames=Object.keys(profilesFromConfig);i<profileNames.length;i++){profiles[profileNames[i]]=objectAssign(profiles[profileNames[i]]||{},profilesFromConfig[profileNames[i]]);}for(var i=0,profileNames=Object.keys(profilesFromCreds);i<profileNames.length;i++){profiles[profileNames[i]]=objectAssign(profiles[profileNames[i]]||{},profilesFromCreds[profileNames[i]]);}return profiles;/**\n             * Roughly the semantics of `Object.assign(target, source)`\n             */function objectAssign(target,source){for(var i=0,keys=Object.keys(source);i<keys.length;i++){target[keys[i]]=source[keys[i]];}return target;}},/**\n           * @api private\n           */ARN:{validate:function validateARN(str){return str&&str.indexOf('arn:')===0&&str.split(':').length>=6;},parse:function parseARN(arn){var matched=arn.split(':');return{partition:matched[1],service:matched[2],region:matched[3],accountId:matched[4],resource:matched.slice(5).join(':')};},build:function buildARN(arnObject){if(arnObject.service===undefined||arnObject.region===undefined||arnObject.accountId===undefined||arnObject.resource===undefined)throw util.error(new Error('Input ARN object is invalid'));return'arn:'+(arnObject.partition||'aws')+':'+arnObject.service+':'+arnObject.region+':'+arnObject.accountId+':'+arnObject.resource;}},/**\n           * @api private\n           */defaultProfile:'default',/**\n           * @api private\n           */configOptInEnv:'AWS_SDK_LOAD_CONFIG',/**\n           * @api private\n           */sharedCredentialsFileEnv:'AWS_SHARED_CREDENTIALS_FILE',/**\n           * @api private\n           */sharedConfigFileEnv:'AWS_CONFIG_FILE',/**\n           * @api private\n           */imdsDisabledEnv:'AWS_EC2_METADATA_DISABLED'};/**\n         * @api private\n         */module.exports=util;}).call(this);}).call(this,require('_process'),require(\"timers\").setImmediate);},{\"../apis/metadata.json\":4,\"./core\":19,\"_process\":91,\"fs\":82,\"timers\":99,\"uuid\":102}],75:[function(require,module,exports){var util=require('../util');var Shape=require('../model/shape');function DomXmlParser(){}DomXmlParser.prototype.parse=function(xml,shape){if(xml.replace(/^\\s+/,'')==='')return{};var result,error;try{if(window.DOMParser){try{var parser=new DOMParser();result=parser.parseFromString(xml,'text/xml');}catch(syntaxError){throw util.error(new Error('Parse error in document'),{originalError:syntaxError,code:'XMLParserError',retryable:true});}if(result.documentElement===null){throw util.error(new Error('Cannot parse empty document.'),{code:'XMLParserError',retryable:true});}var isError=result.getElementsByTagName('parsererror')[0];if(isError&&(isError.parentNode===result||isError.parentNode.nodeName==='body'||isError.parentNode.parentNode===result||isError.parentNode.parentNode.nodeName==='body')){var errorElement=isError.getElementsByTagName('div')[0]||isError;throw util.error(new Error(errorElement.textContent||'Parser error in document'),{code:'XMLParserError',retryable:true});}}else if(window.ActiveXObject){result=new window.ActiveXObject('Microsoft.XMLDOM');result.async=false;if(!result.loadXML(xml)){throw util.error(new Error('Parse error in document'),{code:'XMLParserError',retryable:true});}}else{throw new Error('Cannot load XML parser');}}catch(e){error=e;}if(result&&result.documentElement&&!error){var data=parseXml(result.documentElement,shape);var metadata=getElementByTagName(result.documentElement,'ResponseMetadata');if(metadata){data.ResponseMetadata=parseXml(metadata,{});}return data;}else if(error){throw util.error(error||new Error(),{code:'XMLParserError',retryable:true});}else{// empty xml document\nreturn{};}};function getElementByTagName(xml,tag){var elements=xml.getElementsByTagName(tag);for(var i=0,iLen=elements.length;i<iLen;i++){if(elements[i].parentNode===xml){return elements[i];}}}function parseXml(xml,shape){if(!shape)shape={};switch(shape.type){case'structure':return parseStructure(xml,shape);case'map':return parseMap(xml,shape);case'list':return parseList(xml,shape);case undefined:case null:return parseUnknown(xml);default:return parseScalar(xml,shape);}}function parseStructure(xml,shape){var data={};if(xml===null)return data;util.each(shape.members,function(memberName,memberShape){if(memberShape.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(xml.attributes,memberShape.name)){var value=xml.attributes[memberShape.name].value;data[memberName]=parseXml({textContent:value},memberShape);}}else{var xmlChild=memberShape.flattened?xml:getElementByTagName(xml,memberShape.name);if(xmlChild){data[memberName]=parseXml(xmlChild,memberShape);}else if(!memberShape.flattened&&memberShape.type==='list'&&!shape.api.xmlNoDefaultLists){data[memberName]=memberShape.defaultValue;}}});return data;}function parseMap(xml,shape){var data={};var xmlKey=shape.key.name||'key';var xmlValue=shape.value.name||'value';var tagName=shape.flattened?shape.name:'entry';var child=xml.firstElementChild;while(child){if(child.nodeName===tagName){var key=getElementByTagName(child,xmlKey).textContent;var value=getElementByTagName(child,xmlValue);data[key]=parseXml(value,shape.value);}child=child.nextElementSibling;}return data;}function parseList(xml,shape){var data=[];var tagName=shape.flattened?shape.name:shape.member.name||'member';var child=xml.firstElementChild;while(child){if(child.nodeName===tagName){data.push(parseXml(child,shape.member));}child=child.nextElementSibling;}return data;}function parseScalar(xml,shape){if(xml.getAttribute){var encoding=xml.getAttribute('encoding');if(encoding==='base64'){shape=new Shape.create({type:encoding});}}var text=xml.textContent;if(text==='')text=null;if(typeof shape.toType==='function'){return shape.toType(text);}else{return text;}}function parseUnknown(xml){if(xml===undefined||xml===null)return'';// empty object\nif(!xml.firstElementChild){if(xml.parentNode.parentNode===null)return{};if(xml.childNodes.length===0)return'';else return xml.textContent;}// object, parse as structure\nvar shape={type:'structure',members:{}};var child=xml.firstElementChild;while(child){var tag=child.nodeName;if(Object.prototype.hasOwnProperty.call(shape.members,tag)){// multiple tags of the same name makes it a list\nshape.members[tag].type='list';}else{shape.members[tag]={name:tag};}child=child.nextElementSibling;}return parseStructure(xml,shape);}/**\n     * @api private\n     */module.exports=DomXmlParser;},{\"../model/shape\":45,\"../util\":74}],76:[function(require,module,exports){var util=require('../util');var XmlNode=require('./xml-node').XmlNode;var XmlText=require('./xml-text').XmlText;function XmlBuilder(){}XmlBuilder.prototype.toXML=function(params,shape,rootElement,noEmpty){var xml=new XmlNode(rootElement);applyNamespaces(xml,shape,true);serialize(xml,params,shape);return xml.children.length>0||noEmpty?xml.toString():'';};function serialize(xml,value,shape){switch(shape.type){case'structure':return serializeStructure(xml,value,shape);case'map':return serializeMap(xml,value,shape);case'list':return serializeList(xml,value,shape);default:return serializeScalar(xml,value,shape);}}function serializeStructure(xml,params,shape){util.arrayEach(shape.memberNames,function(memberName){var memberShape=shape.members[memberName];if(memberShape.location!=='body')return;var value=params[memberName];var name=memberShape.name;if(value!==undefined&&value!==null){if(memberShape.isXmlAttribute){xml.addAttribute(name,value);}else if(memberShape.flattened){serialize(xml,value,memberShape);}else{var element=new XmlNode(name);xml.addChildNode(element);applyNamespaces(element,memberShape);serialize(element,value,memberShape);}}});}function serializeMap(xml,map,shape){var xmlKey=shape.key.name||'key';var xmlValue=shape.value.name||'value';util.each(map,function(key,value){var entry=new XmlNode(shape.flattened?shape.name:'entry');xml.addChildNode(entry);var entryKey=new XmlNode(xmlKey);var entryValue=new XmlNode(xmlValue);entry.addChildNode(entryKey);entry.addChildNode(entryValue);serialize(entryKey,key,shape.key);serialize(entryValue,value,shape.value);});}function serializeList(xml,list,shape){if(shape.flattened){util.arrayEach(list,function(value){var name=shape.member.name||shape.name;var element=new XmlNode(name);xml.addChildNode(element);serialize(element,value,shape.member);});}else{util.arrayEach(list,function(value){var name=shape.member.name||'member';var element=new XmlNode(name);xml.addChildNode(element);serialize(element,value,shape.member);});}}function serializeScalar(xml,value,shape){xml.addChildNode(new XmlText(shape.toWireFormat(value)));}function applyNamespaces(xml,shape,isRoot){var uri,prefix='xmlns';if(shape.xmlNamespaceUri){uri=shape.xmlNamespaceUri;if(shape.xmlNamespacePrefix)prefix+=':'+shape.xmlNamespacePrefix;}else if(isRoot&&shape.api.xmlNamespaceUri){uri=shape.api.xmlNamespaceUri;}if(uri)xml.addAttribute(prefix,uri);}/**\n     * @api private\n     */module.exports=XmlBuilder;},{\"../util\":74,\"./xml-node\":79,\"./xml-text\":80}],77:[function(require,module,exports){/**\n     * Escapes characters that can not be in an XML attribute.\n     */function escapeAttribute(value){return value.replace(/&/g,'&amp;').replace(/'/g,'&apos;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/\"/g,'&quot;');}/**\n     * @api private\n     */module.exports={escapeAttribute:escapeAttribute};},{}],78:[function(require,module,exports){/**\n     * Escapes characters that can not be in an XML element.\n     */function escapeElement(value){return value.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/\\r/g,'&#x0D;').replace(/\\n/g,'&#x0A;').replace(/\\u0085/g,'&#x85;').replace(/\\u2028/,'&#x2028;');}/**\n     * @api private\n     */module.exports={escapeElement:escapeElement};},{}],79:[function(require,module,exports){var escapeAttribute=require('./escape-attribute').escapeAttribute;/**\n     * Represents an XML node.\n     * @api private\n     */function XmlNode(name,children){if(children===void 0){children=[];}this.name=name;this.children=children;this.attributes={};}XmlNode.prototype.addAttribute=function(name,value){this.attributes[name]=value;return this;};XmlNode.prototype.addChildNode=function(child){this.children.push(child);return this;};XmlNode.prototype.removeAttribute=function(name){delete this.attributes[name];return this;};XmlNode.prototype.toString=function(){var hasChildren=Boolean(this.children.length);var xmlText='<'+this.name;// add attributes\nvar attributes=this.attributes;for(var i=0,attributeNames=Object.keys(attributes);i<attributeNames.length;i++){var attributeName=attributeNames[i];var attribute=attributes[attributeName];if(typeof attribute!=='undefined'&&attribute!==null){xmlText+=' '+attributeName+'=\\\"'+escapeAttribute(''+attribute)+'\\\"';}}return xmlText+=!hasChildren?'/>':'>'+this.children.map(function(c){return c.toString();}).join('')+'</'+this.name+'>';};/**\n     * @api private\n     */module.exports={XmlNode:XmlNode};},{\"./escape-attribute\":77}],80:[function(require,module,exports){var escapeElement=require('./escape-element').escapeElement;/**\n     * Represents an XML text value.\n     * @api private\n     */function XmlText(value){this.value=value;}XmlText.prototype.toString=function(){return escapeElement(''+this.value);};/**\n     * @api private\n     */module.exports={XmlText:XmlText};},{\"./escape-element\":78}],81:[function(require,module,exports){'use strict';exports.byteLength=byteLength;exports.toByteArray=toByteArray;exports.fromByteArray=fromByteArray;var lookup=[];var revLookup=[];var Arr=typeof Uint8Array!=='undefined'?Uint8Array:Array;var code='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';for(var i=0,len=code.length;i<len;++i){lookup[i]=code[i];revLookup[code.charCodeAt(i)]=i;}// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)]=62;revLookup['_'.charCodeAt(0)]=63;function getLens(b64){var len=b64.length;if(len%4>0){throw new Error('Invalid string. Length must be a multiple of 4');}// Trim off extra bytes after placeholder bytes are found\n// See: https://github.com/beatgammit/base64-js/issues/42\nvar validLen=b64.indexOf('=');if(validLen===-1)validLen=len;var placeHoldersLen=validLen===len?0:4-validLen%4;return[validLen,placeHoldersLen];}// base64 is 4/3 + up to two characters of the original data\nfunction byteLength(b64){var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];return(validLen+placeHoldersLen)*3/4-placeHoldersLen;}function _byteLength(b64,validLen,placeHoldersLen){return(validLen+placeHoldersLen)*3/4-placeHoldersLen;}function toByteArray(b64){var tmp;var lens=getLens(b64);var validLen=lens[0];var placeHoldersLen=lens[1];var arr=new Arr(_byteLength(b64,validLen,placeHoldersLen));var curByte=0;// if there are placeholders, only get up to the last complete 4 chars\nvar len=placeHoldersLen>0?validLen-4:validLen;var i;for(i=0;i<len;i+=4){tmp=revLookup[b64.charCodeAt(i)]<<18|revLookup[b64.charCodeAt(i+1)]<<12|revLookup[b64.charCodeAt(i+2)]<<6|revLookup[b64.charCodeAt(i+3)];arr[curByte++]=tmp>>16&0xFF;arr[curByte++]=tmp>>8&0xFF;arr[curByte++]=tmp&0xFF;}if(placeHoldersLen===2){tmp=revLookup[b64.charCodeAt(i)]<<2|revLookup[b64.charCodeAt(i+1)]>>4;arr[curByte++]=tmp&0xFF;}if(placeHoldersLen===1){tmp=revLookup[b64.charCodeAt(i)]<<10|revLookup[b64.charCodeAt(i+1)]<<4|revLookup[b64.charCodeAt(i+2)]>>2;arr[curByte++]=tmp>>8&0xFF;arr[curByte++]=tmp&0xFF;}return arr;}function tripletToBase64(num){return lookup[num>>18&0x3F]+lookup[num>>12&0x3F]+lookup[num>>6&0x3F]+lookup[num&0x3F];}function encodeChunk(uint8,start,end){var tmp;var output=[];for(var i=start;i<end;i+=3){tmp=(uint8[i]<<16&0xFF0000)+(uint8[i+1]<<8&0xFF00)+(uint8[i+2]&0xFF);output.push(tripletToBase64(tmp));}return output.join('');}function fromByteArray(uint8){var tmp;var len=uint8.length;var extraBytes=len%3;// if we have 1 byte left, pad 2 bytes\nvar parts=[];var maxChunkLength=16383;// must be multiple of 3\n// go through the array every three bytes, we'll deal with trailing stuff later\nfor(var i=0,len2=len-extraBytes;i<len2;i+=maxChunkLength){parts.push(encodeChunk(uint8,i,i+maxChunkLength>len2?len2:i+maxChunkLength));}// pad the end with zeros, but make sure to not forget the extra bytes\nif(extraBytes===1){tmp=uint8[len-1];parts.push(lookup[tmp>>2]+lookup[tmp<<4&0x3F]+'==');}else if(extraBytes===2){tmp=(uint8[len-2]<<8)+uint8[len-1];parts.push(lookup[tmp>>10]+lookup[tmp>>4&0x3F]+lookup[tmp<<2&0x3F]+'=');}return parts.join('');}},{}],82:[function(require,module,exports){},{}],83:[function(require,module,exports){if(typeof Object.create==='function'){// implementation from standard node.js 'util' module\nmodule.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:false,writable:true,configurable:true}});};}else{// old school shim for old browsers\nmodule.exports=function inherits(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function TempCtor(){};TempCtor.prototype=superCtor.prototype;ctor.prototype=new TempCtor();ctor.prototype.constructor=ctor;};}},{}],84:[function(require,module,exports){module.exports=function isBuffer(arg){return arg&&_typeof(arg)==='object'&&typeof arg.copy==='function'&&typeof arg.fill==='function'&&typeof arg.readUInt8==='function';};},{}],85:[function(require,module,exports){(function(process,global){(function(){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nvar formatRegExp=/%[sdj%]/g;exports.format=function(f){if(!isString(f)){var objects=[];for(var i=0;i<arguments.length;i++){objects.push(inspect(arguments[i]));}return objects.join(' ');}var i=1;var args=arguments;var len=args.length;var str=String(f).replace(formatRegExp,function(x){if(x==='%%')return'%';if(i>=len)return x;switch(x){case'%s':return String(args[i++]);case'%d':return Number(args[i++]);case'%j':try{return JSON.stringify(args[i++]);}catch(_){return'[Circular]';}default:return x;}});for(var x=args[i];i<len;x=args[++i]){if(isNull(x)||!isObject(x)){str+=' '+x;}else{str+=' '+inspect(x);}}return str;};// Mark that a method should not be used.\n// Returns a modified function which warns once by default.\n// If --no-deprecation is set, then it is a no-op.\nexports.deprecate=function(fn,msg){// Allow for deprecating things in the process of starting up.\nif(isUndefined(global.process)){return function(){return exports.deprecate(fn,msg).apply(this,arguments);};}if(process.noDeprecation===true){return fn;}var warned=false;function deprecated(){if(!warned){if(process.throwDeprecation){throw new Error(msg);}else if(process.traceDeprecation){console.trace(msg);}else{console.error(msg);}warned=true;}return fn.apply(this,arguments);}return deprecated;};var debugs={};var debugEnviron;exports.debuglog=function(set){if(isUndefined(debugEnviron))debugEnviron=process.env.NODE_DEBUG||'';set=set.toUpperCase();if(!debugs[set]){if(new RegExp('\\\\b'+set+'\\\\b','i').test(debugEnviron)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error('%s %d: %s',set,pid,msg);};}else{debugs[set]=function(){};}}return debugs[set];};/**\n         * Echos the value of a value. Trys to print the value out\n         * in the best way possible given the different types.\n         *\n         * @param {Object} obj The object to print out.\n         * @param {Object} opts Optional options object that alters the output.\n         *//* legacy: obj, showHidden, depth, colors*/function inspect(obj,opts){// default options\nvar ctx={seen:[],stylize:stylizeNoColor};// legacy...\nif(arguments.length>=3)ctx.depth=arguments[2];if(arguments.length>=4)ctx.colors=arguments[3];if(isBoolean(opts)){// legacy...\nctx.showHidden=opts;}else if(opts){// got an \"options\" object\nexports._extend(ctx,opts);}// set default options\nif(isUndefined(ctx.showHidden))ctx.showHidden=false;if(isUndefined(ctx.depth))ctx.depth=2;if(isUndefined(ctx.colors))ctx.colors=false;if(isUndefined(ctx.customInspect))ctx.customInspect=true;if(ctx.colors)ctx.stylize=stylizeWithColor;return formatValue(ctx,obj,ctx.depth);}exports.inspect=inspect;// http://en.wikipedia.org/wiki/ANSI_escape_code#graphics\ninspect.colors={'bold':[1,22],'italic':[3,23],'underline':[4,24],'inverse':[7,27],'white':[37,39],'grey':[90,39],'black':[30,39],'blue':[34,39],'cyan':[36,39],'green':[32,39],'magenta':[35,39],'red':[31,39],'yellow':[33,39]};// Don't use 'blue' not visible on cmd.exe\ninspect.styles={'special':'cyan','number':'yellow','boolean':'yellow','undefined':'grey','null':'bold','string':'green','date':'magenta',// \"name\": intentionally not styling\n'regexp':'red'};function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];if(style){return\"\\x1B[\"+inspect.colors[style][0]+'m'+str+\"\\x1B[\"+inspect.colors[style][1]+'m';}else{return str;}}function stylizeNoColor(str,styleType){return str;}function arrayToHash(array){var hash={};array.forEach(function(val,idx){hash[val]=true;});return hash;}function formatValue(ctx,value,recurseTimes){// Provide a hook for user-specified inspect functions.\n// Check that value is an object with an inspect function on it\nif(ctx.customInspect&&value&&isFunction(value.inspect)&&// Filter out the util module, it's inspect function is special\nvalue.inspect!==exports.inspect&&// Also filter out any prototype objects using the circular check.\n!(value.constructor&&value.constructor.prototype===value)){var ret=value.inspect(recurseTimes,ctx);if(!isString(ret)){ret=formatValue(ctx,ret,recurseTimes);}return ret;}// Primitive types cannot have properties\nvar primitive=formatPrimitive(ctx,value);if(primitive){return primitive;}// Look up the keys of the object.\nvar keys=Object.keys(value);var visibleKeys=arrayToHash(keys);if(ctx.showHidden){keys=Object.getOwnPropertyNames(value);}// IE doesn't make error fields non-enumerable\n// http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\nif(isError(value)&&(keys.indexOf('message')>=0||keys.indexOf('description')>=0)){return formatError(value);}// Some type of object without properties can be shortcutted.\nif(keys.length===0){if(isFunction(value)){var name=value.name?': '+value.name:'';return ctx.stylize('[Function'+name+']','special');}if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),'regexp');}if(isDate(value)){return ctx.stylize(Date.prototype.toString.call(value),'date');}if(isError(value)){return formatError(value);}}var base='',array=false,braces=['{','}'];// Make Array say that they are Array\nif(isArray(value)){array=true;braces=['[',']'];}// Make functions say that they are functions\nif(isFunction(value)){var n=value.name?': '+value.name:'';base=' [Function'+n+']';}// Make RegExps say that they are RegExps\nif(isRegExp(value)){base=' '+RegExp.prototype.toString.call(value);}// Make dates with properties first say the date\nif(isDate(value)){base=' '+Date.prototype.toUTCString.call(value);}// Make error with message first say the error\nif(isError(value)){base=' '+formatError(value);}if(keys.length===0&&(!array||value.length==0)){return braces[0]+base+braces[1];}if(recurseTimes<0){if(isRegExp(value)){return ctx.stylize(RegExp.prototype.toString.call(value),'regexp');}else{return ctx.stylize('[Object]','special');}}ctx.seen.push(value);var output;if(array){output=formatArray(ctx,value,recurseTimes,visibleKeys,keys);}else{output=keys.map(function(key){return formatProperty(ctx,value,recurseTimes,visibleKeys,key,array);});}ctx.seen.pop();return reduceToSingleString(output,base,braces);}function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize('undefined','undefined');if(isString(value)){var simple='\\''+JSON.stringify(value).replace(/^\"|\"$/g,'').replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+'\\'';return ctx.stylize(simple,'string');}if(isNumber(value))return ctx.stylize(''+value,'number');if(isBoolean(value))return ctx.stylize(''+value,'boolean');// For some reason typeof null is \"object\", so special case here.\nif(isNull(value))return ctx.stylize('null','null');}function formatError(value){return'['+Error.prototype.toString.call(value)+']';}function formatArray(ctx,value,recurseTimes,visibleKeys,keys){var output=[];for(var i=0,l=value.length;i<l;++i){if(hasOwnProperty(value,String(i))){output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,String(i),true));}else{output.push('');}}keys.forEach(function(key){if(!key.match(/^\\d+$/)){output.push(formatProperty(ctx,value,recurseTimes,visibleKeys,key,true));}});return output;}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]};if(desc.get){if(desc.set){str=ctx.stylize('[Getter/Setter]','special');}else{str=ctx.stylize('[Getter]','special');}}else{if(desc.set){str=ctx.stylize('[Setter]','special');}}if(!hasOwnProperty(visibleKeys,key)){name='['+key+']';}if(!str){if(ctx.seen.indexOf(desc.value)<0){if(isNull(recurseTimes)){str=formatValue(ctx,desc.value,null);}else{str=formatValue(ctx,desc.value,recurseTimes-1);}if(str.indexOf('\\n')>-1){if(array){str=str.split('\\n').map(function(line){return'  '+line;}).join('\\n').substr(2);}else{str='\\n'+str.split('\\n').map(function(line){return'   '+line;}).join('\\n');}}}else{str=ctx.stylize('[Circular]','special');}}if(isUndefined(name)){if(array&&key.match(/^\\d+$/)){return str;}name=JSON.stringify(''+key);if(name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)){name=name.substr(1,name.length-2);name=ctx.stylize(name,'name');}else{name=name.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\");name=ctx.stylize(name,'string');}}return name+': '+str;}function reduceToSingleString(output,base,braces){var numLinesEst=0;var length=output.reduce(function(prev,cur){numLinesEst++;if(cur.indexOf('\\n')>=0)numLinesEst++;return prev+cur.replace(/\\u001b\\[\\d\\d?m/g,'').length+1;},0);if(length>60){return braces[0]+(base===''?'':base+'\\n ')+' '+output.join(',\\n  ')+' '+braces[1];}return braces[0]+base+' '+output.join(', ')+' '+braces[1];}// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\nfunction isArray(ar){return Array.isArray(ar);}exports.isArray=isArray;function isBoolean(arg){return typeof arg==='boolean';}exports.isBoolean=isBoolean;function isNull(arg){return arg===null;}exports.isNull=isNull;function isNullOrUndefined(arg){return arg==null;}exports.isNullOrUndefined=isNullOrUndefined;function isNumber(arg){return typeof arg==='number';}exports.isNumber=isNumber;function isString(arg){return typeof arg==='string';}exports.isString=isString;function isSymbol(arg){return _typeof(arg)==='symbol';}exports.isSymbol=isSymbol;function isUndefined(arg){return arg===void 0;}exports.isUndefined=isUndefined;function isRegExp(re){return isObject(re)&&objectToString(re)==='[object RegExp]';}exports.isRegExp=isRegExp;function isObject(arg){return _typeof(arg)==='object'&&arg!==null;}exports.isObject=isObject;function isDate(d){return isObject(d)&&objectToString(d)==='[object Date]';}exports.isDate=isDate;function isError(e){return isObject(e)&&(objectToString(e)==='[object Error]'||e instanceof Error);}exports.isError=isError;function isFunction(arg){return typeof arg==='function';}exports.isFunction=isFunction;function isPrimitive(arg){return arg===null||typeof arg==='boolean'||typeof arg==='number'||typeof arg==='string'||_typeof(arg)==='symbol'||// ES6 symbol\ntypeof arg==='undefined';}exports.isPrimitive=isPrimitive;exports.isBuffer=require('./support/isBuffer');function objectToString(o){return Object.prototype.toString.call(o);}function pad(n){return n<10?'0'+n.toString(10):n.toString(10);}var months=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];// 26 Feb 16:19:34\nfunction timestamp(){var d=new Date();var time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(':');return[d.getDate(),months[d.getMonth()],time].join(' ');}// log is just a thin wrapper to console.log that prepends a timestamp\nexports.log=function(){console.log('%s - %s',timestamp(),exports.format.apply(exports,arguments));};/**\n         * Inherit the prototype methods from one constructor into another.\n         *\n         * The Function.prototype.inherits from lang.js rewritten as a standalone\n         * function (not on Function.prototype). NOTE: If this file is to be loaded\n         * during bootstrapping this function needs to be rewritten using some native\n         * functions as prototype setup using normal JavaScript does not work as\n         * expected during bootstrapping (see mirror.js in r114903).\n         *\n         * @param {function} ctor Constructor function which needs to inherit the\n         *     prototype.\n         * @param {function} superCtor Constructor function to inherit prototype from.\n         */exports.inherits=require('inherits');exports._extend=function(origin,add){// Don't do anything if add isn't an object\nif(!add||!isObject(add))return origin;var keys=Object.keys(add);var i=keys.length;while(i--){origin[keys[i]]=add[keys[i]];}return origin;};function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop);}}).call(this);}).call(this,require('_process'),typeof __webpack_require__.g!==\"undefined\"?__webpack_require__.g:typeof self!==\"undefined\"?self:typeof window!==\"undefined\"?window:{});},{\"./support/isBuffer\":84,\"_process\":91,\"inherits\":83}],86:[function(require,module,exports){(function(global,Buffer){(function(){/*!\n         * The buffer module from node.js, for the browser.\n         *\n         * @author   Feross Aboukhadijeh <http://feross.org>\n         * @license  MIT\n         *//* eslint-disable no-proto */'use strict';var base64=require('base64-js');var ieee754=require('ieee754');var isArray=require('isarray');exports.Buffer=Buffer;exports.SlowBuffer=SlowBuffer;exports.INSPECT_MAX_BYTES=50;/**\n         * If `Buffer.TYPED_ARRAY_SUPPORT`:\n         *   === true    Use Uint8Array implementation (fastest)\n         *   === false   Use Object implementation (most compatible, even IE6)\n         *\n         * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n         * Opera 11.6+, iOS 4.2+.\n         *\n         * Due to various browser bugs, sometimes the Object implementation will be used even\n         * when the browser supports typed arrays.\n         *\n         * Note:\n         *\n         *   - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n         *     See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n         *\n         *   - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n         *\n         *   - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n         *     incorrect length in some situations.\n        \n         * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n         * get the Object implementation, which is slower but behaves correctly.\n         */Buffer.TYPED_ARRAY_SUPPORT=global.TYPED_ARRAY_SUPPORT!==undefined?global.TYPED_ARRAY_SUPPORT:typedArraySupport();/*\n         * Export kMaxLength after typed array support is determined.\n         */exports.kMaxLength=kMaxLength();function typedArraySupport(){try{var arr=new Uint8Array(1);arr.__proto__={__proto__:Uint8Array.prototype,foo:function foo(){return 42;}};return arr.foo()===42&&// typed array instances can be augmented\ntypeof arr.subarray==='function'&&// chrome 9-10 lack `subarray`\narr.subarray(1,1).byteLength===0;// ie10 has broken `subarray`\n}catch(e){return false;}}function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?0x7fffffff:0x3fffffff;}function createBuffer(that,length){if(kMaxLength()<length){throw new RangeError('Invalid typed array length');}if(Buffer.TYPED_ARRAY_SUPPORT){// Return an augmented `Uint8Array` instance, for best performance\nthat=new Uint8Array(length);that.__proto__=Buffer.prototype;}else{// Fallback: Return an object instance of the Buffer class\nif(that===null){that=new Buffer(length);}that.length=length;}return that;}/**\n         * The Buffer constructor returns instances of `Uint8Array` that have their\n         * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n         * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n         * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n         * returns a single octet.\n         *\n         * The `Uint8Array` prototype remains unmodified.\n         */function Buffer(arg,encodingOrOffset,length){if(!Buffer.TYPED_ARRAY_SUPPORT&&!(this instanceof Buffer)){return new Buffer(arg,encodingOrOffset,length);}// Common case.\nif(typeof arg==='number'){if(typeof encodingOrOffset==='string'){throw new Error('If encoding is specified then the first argument must be a string');}return allocUnsafe(this,arg);}return from(this,arg,encodingOrOffset,length);}Buffer.poolSize=8192;// not used by this implementation\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment=function(arr){arr.__proto__=Buffer.prototype;return arr;};function from(that,value,encodingOrOffset,length){if(typeof value==='number'){throw new TypeError('\"value\" argument must not be a number');}if(typeof ArrayBuffer!=='undefined'&&value instanceof ArrayBuffer){return fromArrayBuffer(that,value,encodingOrOffset,length);}if(typeof value==='string'){return fromString(that,value,encodingOrOffset);}return fromObject(that,value);}/**\n         * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n         * if value is a number.\n         * Buffer.from(str[, encoding])\n         * Buffer.from(array)\n         * Buffer.from(buffer)\n         * Buffer.from(arrayBuffer[, byteOffset[, length]])\n         **/Buffer.from=function(value,encodingOrOffset,length){return from(null,value,encodingOrOffset,length);};if(Buffer.TYPED_ARRAY_SUPPORT){Buffer.prototype.__proto__=Uint8Array.prototype;Buffer.__proto__=Uint8Array;if(typeof Symbol!=='undefined'&&Symbol.species&&Buffer[Symbol.species]===Buffer){// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\nObject.defineProperty(Buffer,Symbol.species,{value:null,configurable:true});}}function assertSize(size){if(typeof size!=='number'){throw new TypeError('\"size\" argument must be a number');}else if(size<0){throw new RangeError('\"size\" argument must not be negative');}}function alloc(that,size,fill,encoding){assertSize(size);if(size<=0){return createBuffer(that,size);}if(fill!==undefined){// Only pay attention to encoding if it's a string. This\n// prevents accidentally sending in a number that would\n// be interpretted as a start offset.\nreturn typeof encoding==='string'?createBuffer(that,size).fill(fill,encoding):createBuffer(that,size).fill(fill);}return createBuffer(that,size);}/**\n         * Creates a new filled Buffer instance.\n         * alloc(size[, fill[, encoding]])\n         **/Buffer.alloc=function(size,fill,encoding){return alloc(null,size,fill,encoding);};function allocUnsafe(that,size){assertSize(size);that=createBuffer(that,size<0?0:checked(size)|0);if(!Buffer.TYPED_ARRAY_SUPPORT){for(var i=0;i<size;++i){that[i]=0;}}return that;}/**\n         * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n         * */Buffer.allocUnsafe=function(size){return allocUnsafe(null,size);};/**\n         * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n         */Buffer.allocUnsafeSlow=function(size){return allocUnsafe(null,size);};function fromString(that,string,encoding){if(typeof encoding!=='string'||encoding===''){encoding='utf8';}if(!Buffer.isEncoding(encoding)){throw new TypeError('\"encoding\" must be a valid string encoding');}var length=byteLength(string,encoding)|0;that=createBuffer(that,length);var actual=that.write(string,encoding);if(actual!==length){// Writing a hex string, for example, that contains invalid characters will\n// cause everything after the first invalid character to be ignored. (e.g.\n// 'abxxcd' will be treated as 'ab')\nthat=that.slice(0,actual);}return that;}function fromArrayLike(that,array){var length=array.length<0?0:checked(array.length)|0;that=createBuffer(that,length);for(var i=0;i<length;i+=1){that[i]=array[i]&255;}return that;}function fromArrayBuffer(that,array,byteOffset,length){array.byteLength;// this throws if `array` is not a valid ArrayBuffer\nif(byteOffset<0||array.byteLength<byteOffset){throw new RangeError('\\'offset\\' is out of bounds');}if(array.byteLength<byteOffset+(length||0)){throw new RangeError('\\'length\\' is out of bounds');}if(byteOffset===undefined&&length===undefined){array=new Uint8Array(array);}else if(length===undefined){array=new Uint8Array(array,byteOffset);}else{array=new Uint8Array(array,byteOffset,length);}if(Buffer.TYPED_ARRAY_SUPPORT){// Return an augmented `Uint8Array` instance, for best performance\nthat=array;that.__proto__=Buffer.prototype;}else{// Fallback: Return an object instance of the Buffer class\nthat=fromArrayLike(that,array);}return that;}function fromObject(that,obj){if(Buffer.isBuffer(obj)){var len=checked(obj.length)|0;that=createBuffer(that,len);if(that.length===0){return that;}obj.copy(that,0,0,len);return that;}if(obj){if(typeof ArrayBuffer!=='undefined'&&obj.buffer instanceof ArrayBuffer||'length'in obj){if(typeof obj.length!=='number'||isnan(obj.length)){return createBuffer(that,0);}return fromArrayLike(that,obj);}if(obj.type==='Buffer'&&isArray(obj.data)){return fromArrayLike(that,obj.data);}}throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.');}function checked(length){// Note: cannot use `length < kMaxLength()` here because that fails when\n// length is NaN (which is otherwise coerced to zero.)\nif(length>=kMaxLength()){throw new RangeError('Attempt to allocate Buffer larger than maximum '+'size: 0x'+kMaxLength().toString(16)+' bytes');}return length|0;}function SlowBuffer(length){if(+length!=length){// eslint-disable-line eqeqeq\nlength=0;}return Buffer.alloc(+length);}Buffer.isBuffer=function isBuffer(b){return!!(b!=null&&b._isBuffer);};Buffer.compare=function compare(a,b){if(!Buffer.isBuffer(a)||!Buffer.isBuffer(b)){throw new TypeError('Arguments must be Buffers');}if(a===b)return 0;var x=a.length;var y=b.length;for(var i=0,len=Math.min(x,y);i<len;++i){if(a[i]!==b[i]){x=a[i];y=b[i];break;}}if(x<y)return-1;if(y<x)return 1;return 0;};Buffer.isEncoding=function isEncoding(encoding){switch(String(encoding).toLowerCase()){case'hex':case'utf8':case'utf-8':case'ascii':case'latin1':case'binary':case'base64':case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return true;default:return false;}};Buffer.concat=function concat(list,length){if(!isArray(list)){throw new TypeError('\"list\" argument must be an Array of Buffers');}if(list.length===0){return Buffer.alloc(0);}var i;if(length===undefined){length=0;for(i=0;i<list.length;++i){length+=list[i].length;}}var buffer=Buffer.allocUnsafe(length);var pos=0;for(i=0;i<list.length;++i){var buf=list[i];if(!Buffer.isBuffer(buf)){throw new TypeError('\"list\" argument must be an Array of Buffers');}buf.copy(buffer,pos);pos+=buf.length;}return buffer;};function byteLength(string,encoding){if(Buffer.isBuffer(string)){return string.length;}if(typeof ArrayBuffer!=='undefined'&&typeof ArrayBuffer.isView==='function'&&(ArrayBuffer.isView(string)||string instanceof ArrayBuffer)){return string.byteLength;}if(typeof string!=='string'){string=''+string;}var len=string.length;if(len===0)return 0;// Use a for loop to avoid recursion\nvar loweredCase=false;for(;;){switch(encoding){case'ascii':case'latin1':case'binary':return len;case'utf8':case'utf-8':case undefined:return utf8ToBytes(string).length;case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return len*2;case'hex':return len>>>1;case'base64':return base64ToBytes(string).length;default:if(loweredCase)return utf8ToBytes(string).length;// assume utf8\nencoding=(''+encoding).toLowerCase();loweredCase=true;}}}Buffer.byteLength=byteLength;function slowToString(encoding,start,end){var loweredCase=false;// No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n// property of a typed array.\n// This behaves neither like String nor Uint8Array in that we set start/end\n// to their upper/lower bounds if the value passed is out of range.\n// undefined is handled specially as per ECMA-262 6th Edition,\n// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\nif(start===undefined||start<0){start=0;}// Return early if start > this.length. Done here to prevent potential uint32\n// coercion fail below.\nif(start>this.length){return'';}if(end===undefined||end>this.length){end=this.length;}if(end<=0){return'';}// Force coersion to uint32. This will also coerce falsey/NaN values to 0.\nend>>>=0;start>>>=0;if(end<=start){return'';}if(!encoding)encoding='utf8';while(true){switch(encoding){case'hex':return hexSlice(this,start,end);case'utf8':case'utf-8':return utf8Slice(this,start,end);case'ascii':return asciiSlice(this,start,end);case'latin1':case'binary':return latin1Slice(this,start,end);case'base64':return base64Slice(this,start,end);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return utf16leSlice(this,start,end);default:if(loweredCase)throw new TypeError('Unknown encoding: '+encoding);encoding=(encoding+'').toLowerCase();loweredCase=true;}}}// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer=true;function swap(b,n,m){var i=b[n];b[n]=b[m];b[m]=i;}Buffer.prototype.swap16=function swap16(){var len=this.length;if(len%2!==0){throw new RangeError('Buffer size must be a multiple of 16-bits');}for(var i=0;i<len;i+=2){swap(this,i,i+1);}return this;};Buffer.prototype.swap32=function swap32(){var len=this.length;if(len%4!==0){throw new RangeError('Buffer size must be a multiple of 32-bits');}for(var i=0;i<len;i+=4){swap(this,i,i+3);swap(this,i+1,i+2);}return this;};Buffer.prototype.swap64=function swap64(){var len=this.length;if(len%8!==0){throw new RangeError('Buffer size must be a multiple of 64-bits');}for(var i=0;i<len;i+=8){swap(this,i,i+7);swap(this,i+1,i+6);swap(this,i+2,i+5);swap(this,i+3,i+4);}return this;};Buffer.prototype.toString=function toString(){var length=this.length|0;if(length===0)return'';if(arguments.length===0)return utf8Slice(this,0,length);return slowToString.apply(this,arguments);};Buffer.prototype.equals=function equals(b){if(!Buffer.isBuffer(b))throw new TypeError('Argument must be a Buffer');if(this===b)return true;return Buffer.compare(this,b)===0;};Buffer.prototype.inspect=function inspect(){var str='';var max=exports.INSPECT_MAX_BYTES;if(this.length>0){str=this.toString('hex',0,max).match(/.{2}/g).join(' ');if(this.length>max)str+=' ... ';}return'<Buffer '+str+'>';};Buffer.prototype.compare=function compare(target,start,end,thisStart,thisEnd){if(!Buffer.isBuffer(target)){throw new TypeError('Argument must be a Buffer');}if(start===undefined){start=0;}if(end===undefined){end=target?target.length:0;}if(thisStart===undefined){thisStart=0;}if(thisEnd===undefined){thisEnd=this.length;}if(start<0||end>target.length||thisStart<0||thisEnd>this.length){throw new RangeError('out of range index');}if(thisStart>=thisEnd&&start>=end){return 0;}if(thisStart>=thisEnd){return-1;}if(start>=end){return 1;}start>>>=0;end>>>=0;thisStart>>>=0;thisEnd>>>=0;if(this===target)return 0;var x=thisEnd-thisStart;var y=end-start;var len=Math.min(x,y);var thisCopy=this.slice(thisStart,thisEnd);var targetCopy=target.slice(start,end);for(var i=0;i<len;++i){if(thisCopy[i]!==targetCopy[i]){x=thisCopy[i];y=targetCopy[i];break;}}if(x<y)return-1;if(y<x)return 1;return 0;};// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf(buffer,val,byteOffset,encoding,dir){// Empty buffer means no match\nif(buffer.length===0)return-1;// Normalize byteOffset\nif(typeof byteOffset==='string'){encoding=byteOffset;byteOffset=0;}else if(byteOffset>0x7fffffff){byteOffset=0x7fffffff;}else if(byteOffset<-0x80000000){byteOffset=-0x80000000;}byteOffset=+byteOffset;// Coerce to Number.\nif(isNaN(byteOffset)){// byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\nbyteOffset=dir?0:buffer.length-1;}// Normalize byteOffset: negative offsets start from the end of the buffer\nif(byteOffset<0)byteOffset=buffer.length+byteOffset;if(byteOffset>=buffer.length){if(dir)return-1;else byteOffset=buffer.length-1;}else if(byteOffset<0){if(dir)byteOffset=0;else return-1;}// Normalize val\nif(typeof val==='string'){val=Buffer.from(val,encoding);}// Finally, search either indexOf (if dir is true) or lastIndexOf\nif(Buffer.isBuffer(val)){// Special case: looking for empty string/buffer always fails\nif(val.length===0){return-1;}return arrayIndexOf(buffer,val,byteOffset,encoding,dir);}else if(typeof val==='number'){val=val&0xFF;// Search for a byte value [0-255]\nif(Buffer.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf==='function'){if(dir){return Uint8Array.prototype.indexOf.call(buffer,val,byteOffset);}else{return Uint8Array.prototype.lastIndexOf.call(buffer,val,byteOffset);}}return arrayIndexOf(buffer,[val],byteOffset,encoding,dir);}throw new TypeError('val must be string, number or Buffer');}function arrayIndexOf(arr,val,byteOffset,encoding,dir){var indexSize=1;var arrLength=arr.length;var valLength=val.length;if(encoding!==undefined){encoding=String(encoding).toLowerCase();if(encoding==='ucs2'||encoding==='ucs-2'||encoding==='utf16le'||encoding==='utf-16le'){if(arr.length<2||val.length<2){return-1;}indexSize=2;arrLength/=2;valLength/=2;byteOffset/=2;}}function read(buf,i){if(indexSize===1){return buf[i];}else{return buf.readUInt16BE(i*indexSize);}}var i;if(dir){var foundIndex=-1;for(i=byteOffset;i<arrLength;i++){if(read(arr,i)===read(val,foundIndex===-1?0:i-foundIndex)){if(foundIndex===-1)foundIndex=i;if(i-foundIndex+1===valLength)return foundIndex*indexSize;}else{if(foundIndex!==-1)i-=i-foundIndex;foundIndex=-1;}}}else{if(byteOffset+valLength>arrLength)byteOffset=arrLength-valLength;for(i=byteOffset;i>=0;i--){var found=true;for(var j=0;j<valLength;j++){if(read(arr,i+j)!==read(val,j)){found=false;break;}}if(found)return i;}}return-1;}Buffer.prototype.includes=function includes(val,byteOffset,encoding){return this.indexOf(val,byteOffset,encoding)!==-1;};Buffer.prototype.indexOf=function indexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,true);};Buffer.prototype.lastIndexOf=function lastIndexOf(val,byteOffset,encoding){return bidirectionalIndexOf(this,val,byteOffset,encoding,false);};function hexWrite(buf,string,offset,length){offset=Number(offset)||0;var remaining=buf.length-offset;if(!length){length=remaining;}else{length=Number(length);if(length>remaining){length=remaining;}}// must be an even number of digits\nvar strLen=string.length;if(strLen%2!==0)throw new TypeError('Invalid hex string');if(length>strLen/2){length=strLen/2;}for(var i=0;i<length;++i){var parsed=parseInt(string.substr(i*2,2),16);if(isNaN(parsed))return i;buf[offset+i]=parsed;}return i;}function utf8Write(buf,string,offset,length){return blitBuffer(utf8ToBytes(string,buf.length-offset),buf,offset,length);}function asciiWrite(buf,string,offset,length){return blitBuffer(asciiToBytes(string),buf,offset,length);}function latin1Write(buf,string,offset,length){return asciiWrite(buf,string,offset,length);}function base64Write(buf,string,offset,length){return blitBuffer(base64ToBytes(string),buf,offset,length);}function ucs2Write(buf,string,offset,length){return blitBuffer(utf16leToBytes(string,buf.length-offset),buf,offset,length);}Buffer.prototype.write=function write(string,offset,length,encoding){// Buffer#write(string)\nif(offset===undefined){encoding='utf8';length=this.length;offset=0;// Buffer#write(string, encoding)\n}else if(length===undefined&&typeof offset==='string'){encoding=offset;length=this.length;offset=0;// Buffer#write(string, offset[, length][, encoding])\n}else if(isFinite(offset)){offset=offset|0;if(isFinite(length)){length=length|0;if(encoding===undefined)encoding='utf8';}else{encoding=length;length=undefined;}// legacy write(string, encoding, offset, length) - remove in v0.13\n}else{throw new Error('Buffer.write(string, encoding, offset[, length]) is no longer supported');}var remaining=this.length-offset;if(length===undefined||length>remaining)length=remaining;if(string.length>0&&(length<0||offset<0)||offset>this.length){throw new RangeError('Attempt to write outside buffer bounds');}if(!encoding)encoding='utf8';var loweredCase=false;for(;;){switch(encoding){case'hex':return hexWrite(this,string,offset,length);case'utf8':case'utf-8':return utf8Write(this,string,offset,length);case'ascii':return asciiWrite(this,string,offset,length);case'latin1':case'binary':return latin1Write(this,string,offset,length);case'base64':// Warning: maxLength not taken into account in base64Write\nreturn base64Write(this,string,offset,length);case'ucs2':case'ucs-2':case'utf16le':case'utf-16le':return ucs2Write(this,string,offset,length);default:if(loweredCase)throw new TypeError('Unknown encoding: '+encoding);encoding=(''+encoding).toLowerCase();loweredCase=true;}}};Buffer.prototype.toJSON=function toJSON(){return{type:'Buffer',data:Array.prototype.slice.call(this._arr||this,0)};};function base64Slice(buf,start,end){if(start===0&&end===buf.length){return base64.fromByteArray(buf);}else{return base64.fromByteArray(buf.slice(start,end));}}function utf8Slice(buf,start,end){end=Math.min(buf.length,end);var res=[];var i=start;while(i<end){var firstByte=buf[i];var codePoint=null;var bytesPerSequence=firstByte>0xEF?4:firstByte>0xDF?3:firstByte>0xBF?2:1;if(i+bytesPerSequence<=end){var secondByte,thirdByte,fourthByte,tempCodePoint;switch(bytesPerSequence){case 1:if(firstByte<0x80){codePoint=firstByte;}break;case 2:secondByte=buf[i+1];if((secondByte&0xC0)===0x80){tempCodePoint=(firstByte&0x1F)<<0x6|secondByte&0x3F;if(tempCodePoint>0x7F){codePoint=tempCodePoint;}}break;case 3:secondByte=buf[i+1];thirdByte=buf[i+2];if((secondByte&0xC0)===0x80&&(thirdByte&0xC0)===0x80){tempCodePoint=(firstByte&0xF)<<0xC|(secondByte&0x3F)<<0x6|thirdByte&0x3F;if(tempCodePoint>0x7FF&&(tempCodePoint<0xD800||tempCodePoint>0xDFFF)){codePoint=tempCodePoint;}}break;case 4:secondByte=buf[i+1];thirdByte=buf[i+2];fourthByte=buf[i+3];if((secondByte&0xC0)===0x80&&(thirdByte&0xC0)===0x80&&(fourthByte&0xC0)===0x80){tempCodePoint=(firstByte&0xF)<<0x12|(secondByte&0x3F)<<0xC|(thirdByte&0x3F)<<0x6|fourthByte&0x3F;if(tempCodePoint>0xFFFF&&tempCodePoint<0x110000){codePoint=tempCodePoint;}}}}if(codePoint===null){// we did not generate a valid codePoint so insert a\n// replacement char (U+FFFD) and advance only 1 byte\ncodePoint=0xFFFD;bytesPerSequence=1;}else if(codePoint>0xFFFF){// encode to utf16 (surrogate pair dance)\ncodePoint-=0x10000;res.push(codePoint>>>10&0x3FF|0xD800);codePoint=0xDC00|codePoint&0x3FF;}res.push(codePoint);i+=bytesPerSequence;}return decodeCodePointsArray(res);}// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH=0x1000;function decodeCodePointsArray(codePoints){var len=codePoints.length;if(len<=MAX_ARGUMENTS_LENGTH){return String.fromCharCode.apply(String,codePoints);// avoid extra slice()\n}// Decode in chunks to avoid \"call stack size exceeded\".\nvar res='';var i=0;while(i<len){res+=String.fromCharCode.apply(String,codePoints.slice(i,i+=MAX_ARGUMENTS_LENGTH));}return res;}function asciiSlice(buf,start,end){var ret='';end=Math.min(buf.length,end);for(var i=start;i<end;++i){ret+=String.fromCharCode(buf[i]&0x7F);}return ret;}function latin1Slice(buf,start,end){var ret='';end=Math.min(buf.length,end);for(var i=start;i<end;++i){ret+=String.fromCharCode(buf[i]);}return ret;}function hexSlice(buf,start,end){var len=buf.length;if(!start||start<0)start=0;if(!end||end<0||end>len)end=len;var out='';for(var i=start;i<end;++i){out+=toHex(buf[i]);}return out;}function utf16leSlice(buf,start,end){var bytes=buf.slice(start,end);var res='';for(var i=0;i<bytes.length;i+=2){res+=String.fromCharCode(bytes[i]+bytes[i+1]*256);}return res;}Buffer.prototype.slice=function slice(start,end){var len=this.length;start=~~start;end=end===undefined?len:~~end;if(start<0){start+=len;if(start<0)start=0;}else if(start>len){start=len;}if(end<0){end+=len;if(end<0)end=0;}else if(end>len){end=len;}if(end<start)end=start;var newBuf;if(Buffer.TYPED_ARRAY_SUPPORT){newBuf=this.subarray(start,end);newBuf.__proto__=Buffer.prototype;}else{var sliceLen=end-start;newBuf=new Buffer(sliceLen,undefined);for(var i=0;i<sliceLen;++i){newBuf[i]=this[i+start];}}return newBuf;};/*\n         * Need to make sure that buffer isn't trying to write out of bounds.\n         */function checkOffset(offset,ext,length){if(offset%1!==0||offset<0)throw new RangeError('offset is not uint');if(offset+ext>length)throw new RangeError('Trying to access beyond buffer length');}Buffer.prototype.readUIntLE=function readUIntLE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=0x100)){val+=this[offset+i]*mul;}return val;};Buffer.prototype.readUIntBE=function readUIntBE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert){checkOffset(offset,byteLength,this.length);}var val=this[offset+--byteLength];var mul=1;while(byteLength>0&&(mul*=0x100)){val+=this[offset+--byteLength]*mul;}return val;};Buffer.prototype.readUInt8=function readUInt8(offset,noAssert){if(!noAssert)checkOffset(offset,1,this.length);return this[offset];};Buffer.prototype.readUInt16LE=function readUInt16LE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);return this[offset]|this[offset+1]<<8;};Buffer.prototype.readUInt16BE=function readUInt16BE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);return this[offset]<<8|this[offset+1];};Buffer.prototype.readUInt32LE=function readUInt32LE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return(this[offset]|this[offset+1]<<8|this[offset+2]<<16)+this[offset+3]*0x1000000;};Buffer.prototype.readUInt32BE=function readUInt32BE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]*0x1000000+(this[offset+1]<<16|this[offset+2]<<8|this[offset+3]);};Buffer.prototype.readIntLE=function readIntLE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var val=this[offset];var mul=1;var i=0;while(++i<byteLength&&(mul*=0x100)){val+=this[offset+i]*mul;}mul*=0x80;if(val>=mul)val-=Math.pow(2,8*byteLength);return val;};Buffer.prototype.readIntBE=function readIntBE(offset,byteLength,noAssert){offset=offset|0;byteLength=byteLength|0;if(!noAssert)checkOffset(offset,byteLength,this.length);var i=byteLength;var mul=1;var val=this[offset+--i];while(i>0&&(mul*=0x100)){val+=this[offset+--i]*mul;}mul*=0x80;if(val>=mul)val-=Math.pow(2,8*byteLength);return val;};Buffer.prototype.readInt8=function readInt8(offset,noAssert){if(!noAssert)checkOffset(offset,1,this.length);if(!(this[offset]&0x80))return this[offset];return(0xff-this[offset]+1)*-1;};Buffer.prototype.readInt16LE=function readInt16LE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset]|this[offset+1]<<8;return val&0x8000?val|0xFFFF0000:val;};Buffer.prototype.readInt16BE=function readInt16BE(offset,noAssert){if(!noAssert)checkOffset(offset,2,this.length);var val=this[offset+1]|this[offset]<<8;return val&0x8000?val|0xFFFF0000:val;};Buffer.prototype.readInt32LE=function readInt32LE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]|this[offset+1]<<8|this[offset+2]<<16|this[offset+3]<<24;};Buffer.prototype.readInt32BE=function readInt32BE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return this[offset]<<24|this[offset+1]<<16|this[offset+2]<<8|this[offset+3];};Buffer.prototype.readFloatLE=function readFloatLE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,true,23,4);};Buffer.prototype.readFloatBE=function readFloatBE(offset,noAssert){if(!noAssert)checkOffset(offset,4,this.length);return ieee754.read(this,offset,false,23,4);};Buffer.prototype.readDoubleLE=function readDoubleLE(offset,noAssert){if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,true,52,8);};Buffer.prototype.readDoubleBE=function readDoubleBE(offset,noAssert){if(!noAssert)checkOffset(offset,8,this.length);return ieee754.read(this,offset,false,52,8);};function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(value>max||value<min)throw new RangeError('\"value\" argument is out of bounds');if(offset+ext>buf.length)throw new RangeError('Index out of range');}Buffer.prototype.writeUIntLE=function writeUIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;byteLength=byteLength|0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0);}var mul=1;var i=0;this[offset]=value&0xFF;while(++i<byteLength&&(mul*=0x100)){this[offset+i]=value/mul&0xFF;}return offset+byteLength;};Buffer.prototype.writeUIntBE=function writeUIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;byteLength=byteLength|0;if(!noAssert){var maxBytes=Math.pow(2,8*byteLength)-1;checkInt(this,value,offset,byteLength,maxBytes,0);}var i=byteLength-1;var mul=1;this[offset+i]=value&0xFF;while(--i>=0&&(mul*=0x100)){this[offset+i]=value/mul&0xFF;}return offset+byteLength;};Buffer.prototype.writeUInt8=function writeUInt8(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,1,0xff,0);if(!Buffer.TYPED_ARRAY_SUPPORT)value=Math.floor(value);this[offset]=value&0xff;return offset+1;};function objectWriteUInt16(buf,value,offset,littleEndian){if(value<0)value=0xffff+value+1;for(var i=0,j=Math.min(buf.length-offset,2);i<j;++i){buf[offset+i]=(value&0xff<<8*(littleEndian?i:1-i))>>>(littleEndian?i:1-i)*8;}}Buffer.prototype.writeUInt16LE=function writeUInt16LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,0xffff,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value&0xff;this[offset+1]=value>>>8;}else{objectWriteUInt16(this,value,offset,true);}return offset+2;};Buffer.prototype.writeUInt16BE=function writeUInt16BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,0xffff,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=value&0xff;}else{objectWriteUInt16(this,value,offset,false);}return offset+2;};function objectWriteUInt32(buf,value,offset,littleEndian){if(value<0)value=0xffffffff+value+1;for(var i=0,j=Math.min(buf.length-offset,4);i<j;++i){buf[offset+i]=value>>>(littleEndian?i:3-i)*8&0xff;}}Buffer.prototype.writeUInt32LE=function writeUInt32LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,0xffffffff,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset+3]=value>>>24;this[offset+2]=value>>>16;this[offset+1]=value>>>8;this[offset]=value&0xff;}else{objectWriteUInt32(this,value,offset,true);}return offset+4;};Buffer.prototype.writeUInt32BE=function writeUInt32BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,0xffffffff,0);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&0xff;}else{objectWriteUInt32(this,value,offset,false);}return offset+4;};Buffer.prototype.writeIntLE=function writeIntLE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit);}var i=0;var mul=1;var sub=0;this[offset]=value&0xFF;while(++i<byteLength&&(mul*=0x100)){if(value<0&&sub===0&&this[offset+i-1]!==0){sub=1;}this[offset+i]=(value/mul>>0)-sub&0xFF;}return offset+byteLength;};Buffer.prototype.writeIntBE=function writeIntBE(value,offset,byteLength,noAssert){value=+value;offset=offset|0;if(!noAssert){var limit=Math.pow(2,8*byteLength-1);checkInt(this,value,offset,byteLength,limit-1,-limit);}var i=byteLength-1;var mul=1;var sub=0;this[offset+i]=value&0xFF;while(--i>=0&&(mul*=0x100)){if(value<0&&sub===0&&this[offset+i+1]!==0){sub=1;}this[offset+i]=(value/mul>>0)-sub&0xFF;}return offset+byteLength;};Buffer.prototype.writeInt8=function writeInt8(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,1,0x7f,-0x80);if(!Buffer.TYPED_ARRAY_SUPPORT)value=Math.floor(value);if(value<0)value=0xff+value+1;this[offset]=value&0xff;return offset+1;};Buffer.prototype.writeInt16LE=function writeInt16LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,0x7fff,-0x8000);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value&0xff;this[offset+1]=value>>>8;}else{objectWriteUInt16(this,value,offset,true);}return offset+2;};Buffer.prototype.writeInt16BE=function writeInt16BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,2,0x7fff,-0x8000);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>8;this[offset+1]=value&0xff;}else{objectWriteUInt16(this,value,offset,false);}return offset+2;};Buffer.prototype.writeInt32LE=function writeInt32LE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,0x7fffffff,-0x80000000);if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value&0xff;this[offset+1]=value>>>8;this[offset+2]=value>>>16;this[offset+3]=value>>>24;}else{objectWriteUInt32(this,value,offset,true);}return offset+4;};Buffer.prototype.writeInt32BE=function writeInt32BE(value,offset,noAssert){value=+value;offset=offset|0;if(!noAssert)checkInt(this,value,offset,4,0x7fffffff,-0x80000000);if(value<0)value=0xffffffff+value+1;if(Buffer.TYPED_ARRAY_SUPPORT){this[offset]=value>>>24;this[offset+1]=value>>>16;this[offset+2]=value>>>8;this[offset+3]=value&0xff;}else{objectWriteUInt32(this,value,offset,false);}return offset+4;};function checkIEEE754(buf,value,offset,ext,max,min){if(offset+ext>buf.length)throw new RangeError('Index out of range');if(offset<0)throw new RangeError('Index out of range');}function writeFloat(buf,value,offset,littleEndian,noAssert){if(!noAssert){checkIEEE754(buf,value,offset,4,3.4028234663852886e+38,-3.4028234663852886e+38);}ieee754.write(buf,value,offset,littleEndian,23,4);return offset+4;}Buffer.prototype.writeFloatLE=function writeFloatLE(value,offset,noAssert){return writeFloat(this,value,offset,true,noAssert);};Buffer.prototype.writeFloatBE=function writeFloatBE(value,offset,noAssert){return writeFloat(this,value,offset,false,noAssert);};function writeDouble(buf,value,offset,littleEndian,noAssert){if(!noAssert){checkIEEE754(buf,value,offset,8,1.7976931348623157E+308,-1.7976931348623157E+308);}ieee754.write(buf,value,offset,littleEndian,52,8);return offset+8;}Buffer.prototype.writeDoubleLE=function writeDoubleLE(value,offset,noAssert){return writeDouble(this,value,offset,true,noAssert);};Buffer.prototype.writeDoubleBE=function writeDoubleBE(value,offset,noAssert){return writeDouble(this,value,offset,false,noAssert);};// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy=function copy(target,targetStart,start,end){if(!start)start=0;if(!end&&end!==0)end=this.length;if(targetStart>=target.length)targetStart=target.length;if(!targetStart)targetStart=0;if(end>0&&end<start)end=start;// Copy 0 bytes; we're done\nif(end===start)return 0;if(target.length===0||this.length===0)return 0;// Fatal error conditions\nif(targetStart<0){throw new RangeError('targetStart out of bounds');}if(start<0||start>=this.length)throw new RangeError('sourceStart out of bounds');if(end<0)throw new RangeError('sourceEnd out of bounds');// Are we oob?\nif(end>this.length)end=this.length;if(target.length-targetStart<end-start){end=target.length-targetStart+start;}var len=end-start;var i;if(this===target&&start<targetStart&&targetStart<end){// descending copy from end\nfor(i=len-1;i>=0;--i){target[i+targetStart]=this[i+start];}}else if(len<1000||!Buffer.TYPED_ARRAY_SUPPORT){// ascending copy from start\nfor(i=0;i<len;++i){target[i+targetStart]=this[i+start];}}else{Uint8Array.prototype.set.call(target,this.subarray(start,start+len),targetStart);}return len;};// Usage:\n//    buffer.fill(number[, offset[, end]])\n//    buffer.fill(buffer[, offset[, end]])\n//    buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill=function fill(val,start,end,encoding){// Handle string cases:\nif(typeof val==='string'){if(typeof start==='string'){encoding=start;start=0;end=this.length;}else if(typeof end==='string'){encoding=end;end=this.length;}if(val.length===1){var code=val.charCodeAt(0);if(code<256){val=code;}}if(encoding!==undefined&&typeof encoding!=='string'){throw new TypeError('encoding must be a string');}if(typeof encoding==='string'&&!Buffer.isEncoding(encoding)){throw new TypeError('Unknown encoding: '+encoding);}}else if(typeof val==='number'){val=val&255;}// Invalid ranges are not set to a default, so can range check early.\nif(start<0||this.length<start||this.length<end){throw new RangeError('Out of range index');}if(end<=start){return this;}start=start>>>0;end=end===undefined?this.length:end>>>0;if(!val)val=0;var i;if(typeof val==='number'){for(i=start;i<end;++i){this[i]=val;}}else{var bytes=Buffer.isBuffer(val)?val:utf8ToBytes(new Buffer(val,encoding).toString());var len=bytes.length;for(i=0;i<end-start;++i){this[i+start]=bytes[i%len];}}return this;};// HELPER FUNCTIONS\n// ================\nvar INVALID_BASE64_RE=/[^+\\/0-9A-Za-z-_]/g;function base64clean(str){// Node strips out invalid characters like \\n and \\t from the string, base64-js does not\nstr=stringtrim(str).replace(INVALID_BASE64_RE,'');// Node converts strings with length < 2 to ''\nif(str.length<2)return'';// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\nwhile(str.length%4!==0){str=str+'=';}return str;}function stringtrim(str){if(str.trim)return str.trim();return str.replace(/^\\s+|\\s+$/g,'');}function toHex(n){if(n<16)return'0'+n.toString(16);return n.toString(16);}function utf8ToBytes(string,units){units=units||Infinity;var codePoint;var length=string.length;var leadSurrogate=null;var bytes=[];for(var i=0;i<length;++i){codePoint=string.charCodeAt(i);// is surrogate component\nif(codePoint>0xD7FF&&codePoint<0xE000){// last char was a lead\nif(!leadSurrogate){// no lead yet\nif(codePoint>0xDBFF){// unexpected trail\nif((units-=3)>-1)bytes.push(0xEF,0xBF,0xBD);continue;}else if(i+1===length){// unpaired lead\nif((units-=3)>-1)bytes.push(0xEF,0xBF,0xBD);continue;}// valid lead\nleadSurrogate=codePoint;continue;}// 2 leads in a row\nif(codePoint<0xDC00){if((units-=3)>-1)bytes.push(0xEF,0xBF,0xBD);leadSurrogate=codePoint;continue;}// valid surrogate pair\ncodePoint=(leadSurrogate-0xD800<<10|codePoint-0xDC00)+0x10000;}else if(leadSurrogate){// valid bmp char, but last char was a lead\nif((units-=3)>-1)bytes.push(0xEF,0xBF,0xBD);}leadSurrogate=null;// encode utf8\nif(codePoint<0x80){if((units-=1)<0)break;bytes.push(codePoint);}else if(codePoint<0x800){if((units-=2)<0)break;bytes.push(codePoint>>0x6|0xC0,codePoint&0x3F|0x80);}else if(codePoint<0x10000){if((units-=3)<0)break;bytes.push(codePoint>>0xC|0xE0,codePoint>>0x6&0x3F|0x80,codePoint&0x3F|0x80);}else if(codePoint<0x110000){if((units-=4)<0)break;bytes.push(codePoint>>0x12|0xF0,codePoint>>0xC&0x3F|0x80,codePoint>>0x6&0x3F|0x80,codePoint&0x3F|0x80);}else{throw new Error('Invalid code point');}}return bytes;}function asciiToBytes(str){var byteArray=[];for(var i=0;i<str.length;++i){// Node's code seems to be doing this and not & 0x7F..\nbyteArray.push(str.charCodeAt(i)&0xFF);}return byteArray;}function utf16leToBytes(str,units){var c,hi,lo;var byteArray=[];for(var i=0;i<str.length;++i){if((units-=2)<0)break;c=str.charCodeAt(i);hi=c>>8;lo=c%256;byteArray.push(lo);byteArray.push(hi);}return byteArray;}function base64ToBytes(str){return base64.toByteArray(base64clean(str));}function blitBuffer(src,dst,offset,length){for(var i=0;i<length;++i){if(i+offset>=dst.length||i>=src.length)break;dst[i+offset]=src[i];}return i;}function isnan(val){return val!==val;// eslint-disable-line no-self-compare\n}}).call(this);}).call(this,typeof __webpack_require__.g!==\"undefined\"?__webpack_require__.g:typeof self!==\"undefined\"?self:typeof window!==\"undefined\"?window:{},require(\"buffer\").Buffer);},{\"base64-js\":81,\"buffer\":86,\"ieee754\":88,\"isarray\":89}],87:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nfunction EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||undefined;}module.exports=EventEmitter;// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners=10;// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw TypeError('n must be a positive number');this._maxListeners=n;return this;};EventEmitter.prototype.emit=function(type){var er,handler,len,args,i,listeners;if(!this._events)this._events={};// If there is no 'error' event listener then throw.\nif(type==='error'){if(!this._events.error||isObject(this._events.error)&&!this._events.error.length){er=arguments[1];if(er instanceof Error){throw er;// Unhandled 'error' event\n}else{// At least give some kind of context to the user\nvar err=new Error('Uncaught, unspecified \"error\" event. ('+er+')');err.context=er;throw err;}}}handler=this._events[type];if(isUndefined(handler))return false;if(isFunction(handler)){switch(arguments.length){// fast cases\ncase 1:handler.call(this);break;case 2:handler.call(this,arguments[1]);break;case 3:handler.call(this,arguments[1],arguments[2]);break;// slower\ndefault:args=Array.prototype.slice.call(arguments,1);handler.apply(this,args);}}else if(isObject(handler)){args=Array.prototype.slice.call(arguments,1);listeners=handler.slice();len=listeners.length;for(i=0;i<len;i++)listeners[i].apply(this,args);}return true;};EventEmitter.prototype.addListener=function(type,listener){var m;if(!isFunction(listener))throw TypeError('listener must be a function');if(!this._events)this._events={};// To avoid recursion in the case that type === \"newListener\"! Before\n// adding it to the listeners, first emit \"newListener\".\nif(this._events.newListener)this.emit('newListener',type,isFunction(listener.listener)?listener.listener:listener);if(!this._events[type])// Optimize the case of one listener. Don't need the extra array object.\nthis._events[type]=listener;else if(isObject(this._events[type]))// If we've already got an array, just append.\nthis._events[type].push(listener);else// Adding the second element, need to change to array.\nthis._events[type]=[this._events[type],listener];// Check for listener leak\nif(isObject(this._events[type])&&!this._events[type].warned){if(!isUndefined(this._maxListeners)){m=this._maxListeners;}else{m=EventEmitter.defaultMaxListeners;}if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error('(node) warning: possible EventEmitter memory '+'leak detected. %d listeners added. '+'Use emitter.setMaxListeners() to increase limit.',this._events[type].length);if(typeof console.trace==='function'){// not supported in IE 10\nconsole.trace();}}}return this;};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw TypeError('listener must be a function');var fired=false;function g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments);}}g.listener=listener;this.on(type,g);return this;};// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError('listener must be a function');if(!this._events||!this._events[type])return this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete this._events[type];if(this._events.removeListener)this.emit('removeListener',type,listener);}else if(isObject(list)){for(i=length;i-->0;){if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break;}}if(position<0)return this;if(list.length===1){list.length=0;delete this._events[type];}else{list.splice(position,1);}if(this._events.removeListener)this.emit('removeListener',type,listener);}return this;};EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;// not listening for removeListener, no need to emit\nif(!this._events.removeListener){if(arguments.length===0)this._events={};else if(this._events[type])delete this._events[type];return this;}// emit removeListener for all listeners on all events\nif(arguments.length===0){for(key in this._events){if(key==='removeListener')continue;this.removeAllListeners(key);}this.removeAllListeners('removeListener');this._events={};return this;}listeners=this._events[type];if(isFunction(listeners)){this.removeListener(type,listeners);}else if(listeners){// LIFO order\nwhile(listeners.length)this.removeListener(type,listeners[listeners.length-1]);}delete this._events[type];return this;};EventEmitter.prototype.listeners=function(type){var ret;if(!this._events||!this._events[type])ret=[];else if(isFunction(this._events[type]))ret=[this._events[type]];else ret=this._events[type].slice();return ret;};EventEmitter.prototype.listenerCount=function(type){if(this._events){var evlistener=this._events[type];if(isFunction(evlistener))return 1;else if(evlistener)return evlistener.length;}return 0;};EventEmitter.listenerCount=function(emitter,type){return emitter.listenerCount(type);};function isFunction(arg){return typeof arg==='function';}function isNumber(arg){return typeof arg==='number';}function isObject(arg){return _typeof(arg)==='object'&&arg!==null;}function isUndefined(arg){return arg===void 0;}},{}],88:[function(require,module,exports){exports.read=function(buffer,offset,isLE,mLen,nBytes){var e,m;var eLen=nBytes*8-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var nBits=-7;var i=isLE?nBytes-1:0;var d=isLE?-1:1;var s=buffer[offset+i];i+=d;e=s&(1<<-nBits)-1;s>>=-nBits;nBits+=eLen;for(;nBits>0;e=e*256+buffer[offset+i],i+=d,nBits-=8){}m=e&(1<<-nBits)-1;e>>=-nBits;nBits+=mLen;for(;nBits>0;m=m*256+buffer[offset+i],i+=d,nBits-=8){}if(e===0){e=1-eBias;}else if(e===eMax){return m?NaN:(s?-1:1)*Infinity;}else{m=m+Math.pow(2,mLen);e=e-eBias;}return(s?-1:1)*m*Math.pow(2,e-mLen);};exports.write=function(buffer,value,offset,isLE,mLen,nBytes){var e,m,c;var eLen=nBytes*8-mLen-1;var eMax=(1<<eLen)-1;var eBias=eMax>>1;var rt=mLen===23?Math.pow(2,-24)-Math.pow(2,-77):0;var i=isLE?0:nBytes-1;var d=isLE?1:-1;var s=value<0||value===0&&1/value<0?1:0;value=Math.abs(value);if(isNaN(value)||value===Infinity){m=isNaN(value)?1:0;e=eMax;}else{e=Math.floor(Math.log(value)/Math.LN2);if(value*(c=Math.pow(2,-e))<1){e--;c*=2;}if(e+eBias>=1){value+=rt/c;}else{value+=rt*Math.pow(2,1-eBias);}if(value*c>=2){e++;c/=2;}if(e+eBias>=eMax){m=0;e=eMax;}else if(e+eBias>=1){m=(value*c-1)*Math.pow(2,mLen);e=e+eBias;}else{m=value*Math.pow(2,eBias-1)*Math.pow(2,mLen);e=0;}}for(;mLen>=8;buffer[offset+i]=m&0xff,i+=d,m/=256,mLen-=8){}e=e<<mLen|m;eLen+=mLen;for(;eLen>0;buffer[offset+i]=e&0xff,i+=d,e/=256,eLen-=8){}buffer[offset+i-d]|=s*128;};},{}],89:[function(require,module,exports){var toString={}.toString;module.exports=Array.isArray||function(arr){return toString.call(arr)=='[object Array]';};},{}],90:[function(require,module,exports){(function(exports){\"use strict\";function isArray(obj){if(obj!==null){return Object.prototype.toString.call(obj)===\"[object Array]\";}else{return false;}}function isObject(obj){if(obj!==null){return Object.prototype.toString.call(obj)===\"[object Object]\";}else{return false;}}function strictDeepEqual(first,second){// Check the scalar case first.\nif(first===second){return true;}// Check if they are the same type.\nvar firstType=Object.prototype.toString.call(first);if(firstType!==Object.prototype.toString.call(second)){return false;}// We know that first and second have the same type so we can just check the\n// first type from now on.\nif(isArray(first)===true){// Short circuit if they're not the same length;\nif(first.length!==second.length){return false;}for(var i=0;i<first.length;i++){if(strictDeepEqual(first[i],second[i])===false){return false;}}return true;}if(isObject(first)===true){// An object is equal if it has the same key/value pairs.\nvar keysSeen={};for(var key in first){if(hasOwnProperty.call(first,key)){if(strictDeepEqual(first[key],second[key])===false){return false;}keysSeen[key]=true;}}// Now check that there aren't any keys in second that weren't\n// in first.\nfor(var key2 in second){if(hasOwnProperty.call(second,key2)){if(keysSeen[key2]!==true){return false;}}}return true;}return false;}function isFalse(obj){// From the spec:\n// A false value corresponds to the following values:\n// Empty list\n// Empty object\n// Empty string\n// False boolean\n// null value\n// First check the scalar values.\nif(obj===\"\"||obj===false||obj===null){return true;}else if(isArray(obj)&&obj.length===0){// Check for an empty array.\nreturn true;}else if(isObject(obj)){// Check for an empty object.\nfor(var key in obj){// If there are any keys, then\n// the object is not empty so the object\n// is not false.\nif(obj.hasOwnProperty(key)){return false;}}return true;}else{return false;}}function objValues(obj){var keys=Object.keys(obj);var values=[];for(var i=0;i<keys.length;i++){values.push(obj[keys[i]]);}return values;}function merge(a,b){var merged={};for(var key in a){merged[key]=a[key];}for(var key2 in b){merged[key2]=b[key2];}return merged;}var trimLeft;if(typeof String.prototype.trimLeft===\"function\"){trimLeft=function trimLeft(str){return str.trimLeft();};}else{trimLeft=function trimLeft(str){return str.match(/^\\s*(.*)/)[1];};}// Type constants used to define functions.\nvar TYPE_NUMBER=0;var TYPE_ANY=1;var TYPE_STRING=2;var TYPE_ARRAY=3;var TYPE_OBJECT=4;var TYPE_BOOLEAN=5;var TYPE_EXPREF=6;var TYPE_NULL=7;var TYPE_ARRAY_NUMBER=8;var TYPE_ARRAY_STRING=9;var TYPE_NAME_TABLE={0:'number',1:'any',2:'string',3:'array',4:'object',5:'boolean',6:'expression',7:'null',8:'Array<number>',9:'Array<string>'};var TOK_EOF=\"EOF\";var TOK_UNQUOTEDIDENTIFIER=\"UnquotedIdentifier\";var TOK_QUOTEDIDENTIFIER=\"QuotedIdentifier\";var TOK_RBRACKET=\"Rbracket\";var TOK_RPAREN=\"Rparen\";var TOK_COMMA=\"Comma\";var TOK_COLON=\"Colon\";var TOK_RBRACE=\"Rbrace\";var TOK_NUMBER=\"Number\";var TOK_CURRENT=\"Current\";var TOK_EXPREF=\"Expref\";var TOK_PIPE=\"Pipe\";var TOK_OR=\"Or\";var TOK_AND=\"And\";var TOK_EQ=\"EQ\";var TOK_GT=\"GT\";var TOK_LT=\"LT\";var TOK_GTE=\"GTE\";var TOK_LTE=\"LTE\";var TOK_NE=\"NE\";var TOK_FLATTEN=\"Flatten\";var TOK_STAR=\"Star\";var TOK_FILTER=\"Filter\";var TOK_DOT=\"Dot\";var TOK_NOT=\"Not\";var TOK_LBRACE=\"Lbrace\";var TOK_LBRACKET=\"Lbracket\";var TOK_LPAREN=\"Lparen\";var TOK_LITERAL=\"Literal\";// The \"&\", \"[\", \"<\", \">\" tokens\n// are not in basicToken because\n// there are two token variants\n// (\"&&\", \"[?\", \"<=\", \">=\").  This is specially handled\n// below.\nvar basicTokens={\".\":TOK_DOT,\"*\":TOK_STAR,\",\":TOK_COMMA,\":\":TOK_COLON,\"{\":TOK_LBRACE,\"}\":TOK_RBRACE,\"]\":TOK_RBRACKET,\"(\":TOK_LPAREN,\")\":TOK_RPAREN,\"@\":TOK_CURRENT};var operatorStartToken={\"<\":true,\">\":true,\"=\":true,\"!\":true};var skipChars={\" \":true,\"\\t\":true,\"\\n\":true};function isAlpha(ch){return ch>=\"a\"&&ch<=\"z\"||ch>=\"A\"&&ch<=\"Z\"||ch===\"_\";}function isNum(ch){return ch>=\"0\"&&ch<=\"9\"||ch===\"-\";}function isAlphaNum(ch){return ch>=\"a\"&&ch<=\"z\"||ch>=\"A\"&&ch<=\"Z\"||ch>=\"0\"&&ch<=\"9\"||ch===\"_\";}function Lexer(){}Lexer.prototype={tokenize:function tokenize(stream){var tokens=[];this._current=0;var start;var identifier;var token;while(this._current<stream.length){if(isAlpha(stream[this._current])){start=this._current;identifier=this._consumeUnquotedIdentifier(stream);tokens.push({type:TOK_UNQUOTEDIDENTIFIER,value:identifier,start:start});}else if(basicTokens[stream[this._current]]!==undefined){tokens.push({type:basicTokens[stream[this._current]],value:stream[this._current],start:this._current});this._current++;}else if(isNum(stream[this._current])){token=this._consumeNumber(stream);tokens.push(token);}else if(stream[this._current]===\"[\"){// No need to increment this._current.  This happens\n// in _consumeLBracket\ntoken=this._consumeLBracket(stream);tokens.push(token);}else if(stream[this._current]===\"\\\"\"){start=this._current;identifier=this._consumeQuotedIdentifier(stream);tokens.push({type:TOK_QUOTEDIDENTIFIER,value:identifier,start:start});}else if(stream[this._current]===\"'\"){start=this._current;identifier=this._consumeRawStringLiteral(stream);tokens.push({type:TOK_LITERAL,value:identifier,start:start});}else if(stream[this._current]===\"`\"){start=this._current;var literal=this._consumeLiteral(stream);tokens.push({type:TOK_LITERAL,value:literal,start:start});}else if(operatorStartToken[stream[this._current]]!==undefined){tokens.push(this._consumeOperator(stream));}else if(skipChars[stream[this._current]]!==undefined){// Ignore whitespace.\nthis._current++;}else if(stream[this._current]===\"&\"){start=this._current;this._current++;if(stream[this._current]===\"&\"){this._current++;tokens.push({type:TOK_AND,value:\"&&\",start:start});}else{tokens.push({type:TOK_EXPREF,value:\"&\",start:start});}}else if(stream[this._current]===\"|\"){start=this._current;this._current++;if(stream[this._current]===\"|\"){this._current++;tokens.push({type:TOK_OR,value:\"||\",start:start});}else{tokens.push({type:TOK_PIPE,value:\"|\",start:start});}}else{var error=new Error(\"Unknown character:\"+stream[this._current]);error.name=\"LexerError\";throw error;}}return tokens;},_consumeUnquotedIdentifier:function _consumeUnquotedIdentifier(stream){var start=this._current;this._current++;while(this._current<stream.length&&isAlphaNum(stream[this._current])){this._current++;}return stream.slice(start,this._current);},_consumeQuotedIdentifier:function _consumeQuotedIdentifier(stream){var start=this._current;this._current++;var maxLength=stream.length;while(stream[this._current]!==\"\\\"\"&&this._current<maxLength){// You can escape a double quote and you can escape an escape.\nvar current=this._current;if(stream[current]===\"\\\\\"&&(stream[current+1]===\"\\\\\"||stream[current+1]===\"\\\"\")){current+=2;}else{current++;}this._current=current;}this._current++;return JSON.parse(stream.slice(start,this._current));},_consumeRawStringLiteral:function _consumeRawStringLiteral(stream){var start=this._current;this._current++;var maxLength=stream.length;while(stream[this._current]!==\"'\"&&this._current<maxLength){// You can escape a single quote and you can escape an escape.\nvar current=this._current;if(stream[current]===\"\\\\\"&&(stream[current+1]===\"\\\\\"||stream[current+1]===\"'\")){current+=2;}else{current++;}this._current=current;}this._current++;var literal=stream.slice(start+1,this._current-1);return literal.replace(\"\\\\'\",\"'\");},_consumeNumber:function _consumeNumber(stream){var start=this._current;this._current++;var maxLength=stream.length;while(isNum(stream[this._current])&&this._current<maxLength){this._current++;}var value=parseInt(stream.slice(start,this._current));return{type:TOK_NUMBER,value:value,start:start};},_consumeLBracket:function _consumeLBracket(stream){var start=this._current;this._current++;if(stream[this._current]===\"?\"){this._current++;return{type:TOK_FILTER,value:\"[?\",start:start};}else if(stream[this._current]===\"]\"){this._current++;return{type:TOK_FLATTEN,value:\"[]\",start:start};}else{return{type:TOK_LBRACKET,value:\"[\",start:start};}},_consumeOperator:function _consumeOperator(stream){var start=this._current;var startingChar=stream[start];this._current++;if(startingChar===\"!\"){if(stream[this._current]===\"=\"){this._current++;return{type:TOK_NE,value:\"!=\",start:start};}else{return{type:TOK_NOT,value:\"!\",start:start};}}else if(startingChar===\"<\"){if(stream[this._current]===\"=\"){this._current++;return{type:TOK_LTE,value:\"<=\",start:start};}else{return{type:TOK_LT,value:\"<\",start:start};}}else if(startingChar===\">\"){if(stream[this._current]===\"=\"){this._current++;return{type:TOK_GTE,value:\">=\",start:start};}else{return{type:TOK_GT,value:\">\",start:start};}}else if(startingChar===\"=\"){if(stream[this._current]===\"=\"){this._current++;return{type:TOK_EQ,value:\"==\",start:start};}}},_consumeLiteral:function _consumeLiteral(stream){this._current++;var start=this._current;var maxLength=stream.length;var literal;while(stream[this._current]!==\"`\"&&this._current<maxLength){// You can escape a literal char or you can escape the escape.\nvar current=this._current;if(stream[current]===\"\\\\\"&&(stream[current+1]===\"\\\\\"||stream[current+1]===\"`\")){current+=2;}else{current++;}this._current=current;}var literalString=trimLeft(stream.slice(start,this._current));literalString=literalString.replace(\"\\\\`\",\"`\");if(this._looksLikeJSON(literalString)){literal=JSON.parse(literalString);}else{// Try to JSON parse it as \"<literal>\"\nliteral=JSON.parse(\"\\\"\"+literalString+\"\\\"\");}// +1 gets us to the ending \"`\", +1 to move on to the next char.\nthis._current++;return literal;},_looksLikeJSON:function _looksLikeJSON(literalString){var startingChars=\"[{\\\"\";var jsonLiterals=[\"true\",\"false\",\"null\"];var numberLooking=\"-0123456789\";if(literalString===\"\"){return false;}else if(startingChars.indexOf(literalString[0])>=0){return true;}else if(jsonLiterals.indexOf(literalString)>=0){return true;}else if(numberLooking.indexOf(literalString[0])>=0){try{JSON.parse(literalString);return true;}catch(ex){return false;}}else{return false;}}};var bindingPower={};bindingPower[TOK_EOF]=0;bindingPower[TOK_UNQUOTEDIDENTIFIER]=0;bindingPower[TOK_QUOTEDIDENTIFIER]=0;bindingPower[TOK_RBRACKET]=0;bindingPower[TOK_RPAREN]=0;bindingPower[TOK_COMMA]=0;bindingPower[TOK_RBRACE]=0;bindingPower[TOK_NUMBER]=0;bindingPower[TOK_CURRENT]=0;bindingPower[TOK_EXPREF]=0;bindingPower[TOK_PIPE]=1;bindingPower[TOK_OR]=2;bindingPower[TOK_AND]=3;bindingPower[TOK_EQ]=5;bindingPower[TOK_GT]=5;bindingPower[TOK_LT]=5;bindingPower[TOK_GTE]=5;bindingPower[TOK_LTE]=5;bindingPower[TOK_NE]=5;bindingPower[TOK_FLATTEN]=9;bindingPower[TOK_STAR]=20;bindingPower[TOK_FILTER]=21;bindingPower[TOK_DOT]=40;bindingPower[TOK_NOT]=45;bindingPower[TOK_LBRACE]=50;bindingPower[TOK_LBRACKET]=55;bindingPower[TOK_LPAREN]=60;function Parser(){}Parser.prototype={parse:function parse(expression){this._loadTokens(expression);this.index=0;var ast=this.expression(0);if(this._lookahead(0)!==TOK_EOF){var t=this._lookaheadToken(0);var error=new Error(\"Unexpected token type: \"+t.type+\", value: \"+t.value);error.name=\"ParserError\";throw error;}return ast;},_loadTokens:function _loadTokens(expression){var lexer=new Lexer();var tokens=lexer.tokenize(expression);tokens.push({type:TOK_EOF,value:\"\",start:expression.length});this.tokens=tokens;},expression:function expression(rbp){var leftToken=this._lookaheadToken(0);this._advance();var left=this.nud(leftToken);var currentToken=this._lookahead(0);while(rbp<bindingPower[currentToken]){this._advance();left=this.led(currentToken,left);currentToken=this._lookahead(0);}return left;},_lookahead:function _lookahead(number){return this.tokens[this.index+number].type;},_lookaheadToken:function _lookaheadToken(number){return this.tokens[this.index+number];},_advance:function _advance(){this.index++;},nud:function nud(token){var left;var right;var expression;switch(token.type){case TOK_LITERAL:return{type:\"Literal\",value:token.value};case TOK_UNQUOTEDIDENTIFIER:return{type:\"Field\",name:token.value};case TOK_QUOTEDIDENTIFIER:var node={type:\"Field\",name:token.value};if(this._lookahead(0)===TOK_LPAREN){throw new Error(\"Quoted identifier not allowed for function names.\");}return node;case TOK_NOT:right=this.expression(bindingPower.Not);return{type:\"NotExpression\",children:[right]};case TOK_STAR:left={type:\"Identity\"};right=null;if(this._lookahead(0)===TOK_RBRACKET){// This can happen in a multiselect,\n// [a, b, *]\nright={type:\"Identity\"};}else{right=this._parseProjectionRHS(bindingPower.Star);}return{type:\"ValueProjection\",children:[left,right]};case TOK_FILTER:return this.led(token.type,{type:\"Identity\"});case TOK_LBRACE:return this._parseMultiselectHash();case TOK_FLATTEN:left={type:TOK_FLATTEN,children:[{type:\"Identity\"}]};right=this._parseProjectionRHS(bindingPower.Flatten);return{type:\"Projection\",children:[left,right]};case TOK_LBRACKET:if(this._lookahead(0)===TOK_NUMBER||this._lookahead(0)===TOK_COLON){right=this._parseIndexExpression();return this._projectIfSlice({type:\"Identity\"},right);}else if(this._lookahead(0)===TOK_STAR&&this._lookahead(1)===TOK_RBRACKET){this._advance();this._advance();right=this._parseProjectionRHS(bindingPower.Star);return{type:\"Projection\",children:[{type:\"Identity\"},right]};}return this._parseMultiselectList();case TOK_CURRENT:return{type:TOK_CURRENT};case TOK_EXPREF:expression=this.expression(bindingPower.Expref);return{type:\"ExpressionReference\",children:[expression]};case TOK_LPAREN:var args=[];while(this._lookahead(0)!==TOK_RPAREN){if(this._lookahead(0)===TOK_CURRENT){expression={type:TOK_CURRENT};this._advance();}else{expression=this.expression(0);}args.push(expression);}this._match(TOK_RPAREN);return args[0];default:this._errorToken(token);}},led:function led(tokenName,left){var right;switch(tokenName){case TOK_DOT:var rbp=bindingPower.Dot;if(this._lookahead(0)!==TOK_STAR){right=this._parseDotRHS(rbp);return{type:\"Subexpression\",children:[left,right]};}// Creating a projection.\nthis._advance();right=this._parseProjectionRHS(rbp);return{type:\"ValueProjection\",children:[left,right]};case TOK_PIPE:right=this.expression(bindingPower.Pipe);return{type:TOK_PIPE,children:[left,right]};case TOK_OR:right=this.expression(bindingPower.Or);return{type:\"OrExpression\",children:[left,right]};case TOK_AND:right=this.expression(bindingPower.And);return{type:\"AndExpression\",children:[left,right]};case TOK_LPAREN:var name=left.name;var args=[];var expression,node;while(this._lookahead(0)!==TOK_RPAREN){if(this._lookahead(0)===TOK_CURRENT){expression={type:TOK_CURRENT};this._advance();}else{expression=this.expression(0);}if(this._lookahead(0)===TOK_COMMA){this._match(TOK_COMMA);}args.push(expression);}this._match(TOK_RPAREN);node={type:\"Function\",name:name,children:args};return node;case TOK_FILTER:var condition=this.expression(0);this._match(TOK_RBRACKET);if(this._lookahead(0)===TOK_FLATTEN){right={type:\"Identity\"};}else{right=this._parseProjectionRHS(bindingPower.Filter);}return{type:\"FilterProjection\",children:[left,right,condition]};case TOK_FLATTEN:var leftNode={type:TOK_FLATTEN,children:[left]};var rightNode=this._parseProjectionRHS(bindingPower.Flatten);return{type:\"Projection\",children:[leftNode,rightNode]};case TOK_EQ:case TOK_NE:case TOK_GT:case TOK_GTE:case TOK_LT:case TOK_LTE:return this._parseComparator(left,tokenName);case TOK_LBRACKET:var token=this._lookaheadToken(0);if(token.type===TOK_NUMBER||token.type===TOK_COLON){right=this._parseIndexExpression();return this._projectIfSlice(left,right);}this._match(TOK_STAR);this._match(TOK_RBRACKET);right=this._parseProjectionRHS(bindingPower.Star);return{type:\"Projection\",children:[left,right]};default:this._errorToken(this._lookaheadToken(0));}},_match:function _match(tokenType){if(this._lookahead(0)===tokenType){this._advance();}else{var t=this._lookaheadToken(0);var error=new Error(\"Expected \"+tokenType+\", got: \"+t.type);error.name=\"ParserError\";throw error;}},_errorToken:function _errorToken(token){var error=new Error(\"Invalid token (\"+token.type+\"): \\\"\"+token.value+\"\\\"\");error.name=\"ParserError\";throw error;},_parseIndexExpression:function _parseIndexExpression(){if(this._lookahead(0)===TOK_COLON||this._lookahead(1)===TOK_COLON){return this._parseSliceExpression();}else{var node={type:\"Index\",value:this._lookaheadToken(0).value};this._advance();this._match(TOK_RBRACKET);return node;}},_projectIfSlice:function _projectIfSlice(left,right){var indexExpr={type:\"IndexExpression\",children:[left,right]};if(right.type===\"Slice\"){return{type:\"Projection\",children:[indexExpr,this._parseProjectionRHS(bindingPower.Star)]};}else{return indexExpr;}},_parseSliceExpression:function _parseSliceExpression(){// [start:end:step] where each part is optional, as well as the last\n// colon.\nvar parts=[null,null,null];var index=0;var currentToken=this._lookahead(0);while(currentToken!==TOK_RBRACKET&&index<3){if(currentToken===TOK_COLON){index++;this._advance();}else if(currentToken===TOK_NUMBER){parts[index]=this._lookaheadToken(0).value;this._advance();}else{var t=this._lookahead(0);var error=new Error(\"Syntax error, unexpected token: \"+t.value+\"(\"+t.type+\")\");error.name=\"Parsererror\";throw error;}currentToken=this._lookahead(0);}this._match(TOK_RBRACKET);return{type:\"Slice\",children:parts};},_parseComparator:function _parseComparator(left,comparator){var right=this.expression(bindingPower[comparator]);return{type:\"Comparator\",name:comparator,children:[left,right]};},_parseDotRHS:function _parseDotRHS(rbp){var lookahead=this._lookahead(0);var exprTokens=[TOK_UNQUOTEDIDENTIFIER,TOK_QUOTEDIDENTIFIER,TOK_STAR];if(exprTokens.indexOf(lookahead)>=0){return this.expression(rbp);}else if(lookahead===TOK_LBRACKET){this._match(TOK_LBRACKET);return this._parseMultiselectList();}else if(lookahead===TOK_LBRACE){this._match(TOK_LBRACE);return this._parseMultiselectHash();}},_parseProjectionRHS:function _parseProjectionRHS(rbp){var right;if(bindingPower[this._lookahead(0)]<10){right={type:\"Identity\"};}else if(this._lookahead(0)===TOK_LBRACKET){right=this.expression(rbp);}else if(this._lookahead(0)===TOK_FILTER){right=this.expression(rbp);}else if(this._lookahead(0)===TOK_DOT){this._match(TOK_DOT);right=this._parseDotRHS(rbp);}else{var t=this._lookaheadToken(0);var error=new Error(\"Sytanx error, unexpected token: \"+t.value+\"(\"+t.type+\")\");error.name=\"ParserError\";throw error;}return right;},_parseMultiselectList:function _parseMultiselectList(){var expressions=[];while(this._lookahead(0)!==TOK_RBRACKET){var expression=this.expression(0);expressions.push(expression);if(this._lookahead(0)===TOK_COMMA){this._match(TOK_COMMA);if(this._lookahead(0)===TOK_RBRACKET){throw new Error(\"Unexpected token Rbracket\");}}}this._match(TOK_RBRACKET);return{type:\"MultiSelectList\",children:expressions};},_parseMultiselectHash:function _parseMultiselectHash(){var pairs=[];var identifierTypes=[TOK_UNQUOTEDIDENTIFIER,TOK_QUOTEDIDENTIFIER];var keyToken,keyName,value,node;for(;;){keyToken=this._lookaheadToken(0);if(identifierTypes.indexOf(keyToken.type)<0){throw new Error(\"Expecting an identifier token, got: \"+keyToken.type);}keyName=keyToken.value;this._advance();this._match(TOK_COLON);value=this.expression(0);node={type:\"KeyValuePair\",name:keyName,value:value};pairs.push(node);if(this._lookahead(0)===TOK_COMMA){this._match(TOK_COMMA);}else if(this._lookahead(0)===TOK_RBRACE){this._match(TOK_RBRACE);break;}}return{type:\"MultiSelectHash\",children:pairs};}};function TreeInterpreter(runtime){this.runtime=runtime;}TreeInterpreter.prototype={search:function search(node,value){return this.visit(node,value);},visit:function visit(node,value){var matched,current,result,first,second,field,left,right,collected,i;switch(node.type){case\"Field\":if(value!==null&&isObject(value)){field=value[node.name];if(field===undefined){return null;}else{return field;}}return null;case\"Subexpression\":result=this.visit(node.children[0],value);for(i=1;i<node.children.length;i++){result=this.visit(node.children[1],result);if(result===null){return null;}}return result;case\"IndexExpression\":left=this.visit(node.children[0],value);right=this.visit(node.children[1],left);return right;case\"Index\":if(!isArray(value)){return null;}var index=node.value;if(index<0){index=value.length+index;}result=value[index];if(result===undefined){result=null;}return result;case\"Slice\":if(!isArray(value)){return null;}var sliceParams=node.children.slice(0);var computed=this.computeSliceParams(value.length,sliceParams);var start=computed[0];var stop=computed[1];var step=computed[2];result=[];if(step>0){for(i=start;i<stop;i+=step){result.push(value[i]);}}else{for(i=start;i>stop;i+=step){result.push(value[i]);}}return result;case\"Projection\":// Evaluate left child.\nvar base=this.visit(node.children[0],value);if(!isArray(base)){return null;}collected=[];for(i=0;i<base.length;i++){current=this.visit(node.children[1],base[i]);if(current!==null){collected.push(current);}}return collected;case\"ValueProjection\":// Evaluate left child.\nbase=this.visit(node.children[0],value);if(!isObject(base)){return null;}collected=[];var values=objValues(base);for(i=0;i<values.length;i++){current=this.visit(node.children[1],values[i]);if(current!==null){collected.push(current);}}return collected;case\"FilterProjection\":base=this.visit(node.children[0],value);if(!isArray(base)){return null;}var filtered=[];var finalResults=[];for(i=0;i<base.length;i++){matched=this.visit(node.children[2],base[i]);if(!isFalse(matched)){filtered.push(base[i]);}}for(var j=0;j<filtered.length;j++){current=this.visit(node.children[1],filtered[j]);if(current!==null){finalResults.push(current);}}return finalResults;case\"Comparator\":first=this.visit(node.children[0],value);second=this.visit(node.children[1],value);switch(node.name){case TOK_EQ:result=strictDeepEqual(first,second);break;case TOK_NE:result=!strictDeepEqual(first,second);break;case TOK_GT:result=first>second;break;case TOK_GTE:result=first>=second;break;case TOK_LT:result=first<second;break;case TOK_LTE:result=first<=second;break;default:throw new Error(\"Unknown comparator: \"+node.name);}return result;case TOK_FLATTEN:var original=this.visit(node.children[0],value);if(!isArray(original)){return null;}var merged=[];for(i=0;i<original.length;i++){current=original[i];if(isArray(current)){merged.push.apply(merged,current);}else{merged.push(current);}}return merged;case\"Identity\":return value;case\"MultiSelectList\":if(value===null){return null;}collected=[];for(i=0;i<node.children.length;i++){collected.push(this.visit(node.children[i],value));}return collected;case\"MultiSelectHash\":if(value===null){return null;}collected={};var child;for(i=0;i<node.children.length;i++){child=node.children[i];collected[child.name]=this.visit(child.value,value);}return collected;case\"OrExpression\":matched=this.visit(node.children[0],value);if(isFalse(matched)){matched=this.visit(node.children[1],value);}return matched;case\"AndExpression\":first=this.visit(node.children[0],value);if(isFalse(first)===true){return first;}return this.visit(node.children[1],value);case\"NotExpression\":first=this.visit(node.children[0],value);return isFalse(first);case\"Literal\":return node.value;case TOK_PIPE:left=this.visit(node.children[0],value);return this.visit(node.children[1],left);case TOK_CURRENT:return value;case\"Function\":var resolvedArgs=[];for(i=0;i<node.children.length;i++){resolvedArgs.push(this.visit(node.children[i],value));}return this.runtime.callFunction(node.name,resolvedArgs);case\"ExpressionReference\":var refNode=node.children[0];// Tag the node with a specific attribute so the type\n// checker verify the type.\nrefNode.jmespathType=TOK_EXPREF;return refNode;default:throw new Error(\"Unknown node type: \"+node.type);}},computeSliceParams:function computeSliceParams(arrayLength,sliceParams){var start=sliceParams[0];var stop=sliceParams[1];var step=sliceParams[2];var computed=[null,null,null];if(step===null){step=1;}else if(step===0){var error=new Error(\"Invalid slice, step cannot be 0\");error.name=\"RuntimeError\";throw error;}var stepValueNegative=step<0?true:false;if(start===null){start=stepValueNegative?arrayLength-1:0;}else{start=this.capSliceRange(arrayLength,start,step);}if(stop===null){stop=stepValueNegative?-1:arrayLength;}else{stop=this.capSliceRange(arrayLength,stop,step);}computed[0]=start;computed[1]=stop;computed[2]=step;return computed;},capSliceRange:function capSliceRange(arrayLength,actualValue,step){if(actualValue<0){actualValue+=arrayLength;if(actualValue<0){actualValue=step<0?-1:0;}}else if(actualValue>=arrayLength){actualValue=step<0?arrayLength-1:arrayLength;}return actualValue;}};function Runtime(interpreter){this._interpreter=interpreter;this.functionTable={// name: [function, <signature>]\n// The <signature> can be:\n//\n// {\n//   args: [[type1, type2], [type1, type2]],\n//   variadic: true|false\n// }\n//\n// Each arg in the arg list is a list of valid types\n// (if the function is overloaded and supports multiple\n// types.  If the type is \"any\" then no type checking\n// occurs on the argument.  Variadic is optional\n// and if not provided is assumed to be false.\nabs:{_func:this._functionAbs,_signature:[{types:[TYPE_NUMBER]}]},avg:{_func:this._functionAvg,_signature:[{types:[TYPE_ARRAY_NUMBER]}]},ceil:{_func:this._functionCeil,_signature:[{types:[TYPE_NUMBER]}]},contains:{_func:this._functionContains,_signature:[{types:[TYPE_STRING,TYPE_ARRAY]},{types:[TYPE_ANY]}]},\"ends_with\":{_func:this._functionEndsWith,_signature:[{types:[TYPE_STRING]},{types:[TYPE_STRING]}]},floor:{_func:this._functionFloor,_signature:[{types:[TYPE_NUMBER]}]},length:{_func:this._functionLength,_signature:[{types:[TYPE_STRING,TYPE_ARRAY,TYPE_OBJECT]}]},map:{_func:this._functionMap,_signature:[{types:[TYPE_EXPREF]},{types:[TYPE_ARRAY]}]},max:{_func:this._functionMax,_signature:[{types:[TYPE_ARRAY_NUMBER,TYPE_ARRAY_STRING]}]},\"merge\":{_func:this._functionMerge,_signature:[{types:[TYPE_OBJECT],variadic:true}]},\"max_by\":{_func:this._functionMaxBy,_signature:[{types:[TYPE_ARRAY]},{types:[TYPE_EXPREF]}]},sum:{_func:this._functionSum,_signature:[{types:[TYPE_ARRAY_NUMBER]}]},\"starts_with\":{_func:this._functionStartsWith,_signature:[{types:[TYPE_STRING]},{types:[TYPE_STRING]}]},min:{_func:this._functionMin,_signature:[{types:[TYPE_ARRAY_NUMBER,TYPE_ARRAY_STRING]}]},\"min_by\":{_func:this._functionMinBy,_signature:[{types:[TYPE_ARRAY]},{types:[TYPE_EXPREF]}]},type:{_func:this._functionType,_signature:[{types:[TYPE_ANY]}]},keys:{_func:this._functionKeys,_signature:[{types:[TYPE_OBJECT]}]},values:{_func:this._functionValues,_signature:[{types:[TYPE_OBJECT]}]},sort:{_func:this._functionSort,_signature:[{types:[TYPE_ARRAY_STRING,TYPE_ARRAY_NUMBER]}]},\"sort_by\":{_func:this._functionSortBy,_signature:[{types:[TYPE_ARRAY]},{types:[TYPE_EXPREF]}]},join:{_func:this._functionJoin,_signature:[{types:[TYPE_STRING]},{types:[TYPE_ARRAY_STRING]}]},reverse:{_func:this._functionReverse,_signature:[{types:[TYPE_STRING,TYPE_ARRAY]}]},\"to_array\":{_func:this._functionToArray,_signature:[{types:[TYPE_ANY]}]},\"to_string\":{_func:this._functionToString,_signature:[{types:[TYPE_ANY]}]},\"to_number\":{_func:this._functionToNumber,_signature:[{types:[TYPE_ANY]}]},\"not_null\":{_func:this._functionNotNull,_signature:[{types:[TYPE_ANY],variadic:true}]}};}Runtime.prototype={callFunction:function callFunction(name,resolvedArgs){var functionEntry=this.functionTable[name];if(functionEntry===undefined){throw new Error(\"Unknown function: \"+name+\"()\");}this._validateArgs(name,resolvedArgs,functionEntry._signature);return functionEntry._func.call(this,resolvedArgs);},_validateArgs:function _validateArgs(name,args,signature){// Validating the args requires validating\n// the correct arity and the correct type of each arg.\n// If the last argument is declared as variadic, then we need\n// a minimum number of args to be required.  Otherwise it has to\n// be an exact amount.\nvar pluralized;if(signature[signature.length-1].variadic){if(args.length<signature.length){pluralized=signature.length===1?\" argument\":\" arguments\";throw new Error(\"ArgumentError: \"+name+\"() \"+\"takes at least\"+signature.length+pluralized+\" but received \"+args.length);}}else if(args.length!==signature.length){pluralized=signature.length===1?\" argument\":\" arguments\";throw new Error(\"ArgumentError: \"+name+\"() \"+\"takes \"+signature.length+pluralized+\" but received \"+args.length);}var currentSpec;var actualType;var typeMatched;for(var i=0;i<signature.length;i++){typeMatched=false;currentSpec=signature[i].types;actualType=this._getTypeName(args[i]);for(var j=0;j<currentSpec.length;j++){if(this._typeMatches(actualType,currentSpec[j],args[i])){typeMatched=true;break;}}if(!typeMatched){var expected=currentSpec.map(function(typeIdentifier){return TYPE_NAME_TABLE[typeIdentifier];}).join(',');throw new Error(\"TypeError: \"+name+\"() \"+\"expected argument \"+(i+1)+\" to be type \"+expected+\" but received type \"+TYPE_NAME_TABLE[actualType]+\" instead.\");}}},_typeMatches:function _typeMatches(actual,expected,argValue){if(expected===TYPE_ANY){return true;}if(expected===TYPE_ARRAY_STRING||expected===TYPE_ARRAY_NUMBER||expected===TYPE_ARRAY){// The expected type can either just be array,\n// or it can require a specific subtype (array of numbers).\n//\n// The simplest case is if \"array\" with no subtype is specified.\nif(expected===TYPE_ARRAY){return actual===TYPE_ARRAY;}else if(actual===TYPE_ARRAY){// Otherwise we need to check subtypes.\n// I think this has potential to be improved.\nvar subtype;if(expected===TYPE_ARRAY_NUMBER){subtype=TYPE_NUMBER;}else if(expected===TYPE_ARRAY_STRING){subtype=TYPE_STRING;}for(var i=0;i<argValue.length;i++){if(!this._typeMatches(this._getTypeName(argValue[i]),subtype,argValue[i])){return false;}}return true;}}else{return actual===expected;}},_getTypeName:function _getTypeName(obj){switch(Object.prototype.toString.call(obj)){case\"[object String]\":return TYPE_STRING;case\"[object Number]\":return TYPE_NUMBER;case\"[object Array]\":return TYPE_ARRAY;case\"[object Boolean]\":return TYPE_BOOLEAN;case\"[object Null]\":return TYPE_NULL;case\"[object Object]\":// Check if it's an expref.  If it has, it's been\n// tagged with a jmespathType attr of 'Expref';\nif(obj.jmespathType===TOK_EXPREF){return TYPE_EXPREF;}else{return TYPE_OBJECT;}}},_functionStartsWith:function _functionStartsWith(resolvedArgs){return resolvedArgs[0].lastIndexOf(resolvedArgs[1])===0;},_functionEndsWith:function _functionEndsWith(resolvedArgs){var searchStr=resolvedArgs[0];var suffix=resolvedArgs[1];return searchStr.indexOf(suffix,searchStr.length-suffix.length)!==-1;},_functionReverse:function _functionReverse(resolvedArgs){var typeName=this._getTypeName(resolvedArgs[0]);if(typeName===TYPE_STRING){var originalStr=resolvedArgs[0];var reversedStr=\"\";for(var i=originalStr.length-1;i>=0;i--){reversedStr+=originalStr[i];}return reversedStr;}else{var reversedArray=resolvedArgs[0].slice(0);reversedArray.reverse();return reversedArray;}},_functionAbs:function _functionAbs(resolvedArgs){return Math.abs(resolvedArgs[0]);},_functionCeil:function _functionCeil(resolvedArgs){return Math.ceil(resolvedArgs[0]);},_functionAvg:function _functionAvg(resolvedArgs){var sum=0;var inputArray=resolvedArgs[0];for(var i=0;i<inputArray.length;i++){sum+=inputArray[i];}return sum/inputArray.length;},_functionContains:function _functionContains(resolvedArgs){return resolvedArgs[0].indexOf(resolvedArgs[1])>=0;},_functionFloor:function _functionFloor(resolvedArgs){return Math.floor(resolvedArgs[0]);},_functionLength:function _functionLength(resolvedArgs){if(!isObject(resolvedArgs[0])){return resolvedArgs[0].length;}else{// As far as I can tell, there's no way to get the length\n// of an object without O(n) iteration through the object.\nreturn Object.keys(resolvedArgs[0]).length;}},_functionMap:function _functionMap(resolvedArgs){var mapped=[];var interpreter=this._interpreter;var exprefNode=resolvedArgs[0];var elements=resolvedArgs[1];for(var i=0;i<elements.length;i++){mapped.push(interpreter.visit(exprefNode,elements[i]));}return mapped;},_functionMerge:function _functionMerge(resolvedArgs){var merged={};for(var i=0;i<resolvedArgs.length;i++){var current=resolvedArgs[i];for(var key in current){merged[key]=current[key];}}return merged;},_functionMax:function _functionMax(resolvedArgs){if(resolvedArgs[0].length>0){var typeName=this._getTypeName(resolvedArgs[0][0]);if(typeName===TYPE_NUMBER){return Math.max.apply(Math,resolvedArgs[0]);}else{var elements=resolvedArgs[0];var maxElement=elements[0];for(var i=1;i<elements.length;i++){if(maxElement.localeCompare(elements[i])<0){maxElement=elements[i];}}return maxElement;}}else{return null;}},_functionMin:function _functionMin(resolvedArgs){if(resolvedArgs[0].length>0){var typeName=this._getTypeName(resolvedArgs[0][0]);if(typeName===TYPE_NUMBER){return Math.min.apply(Math,resolvedArgs[0]);}else{var elements=resolvedArgs[0];var minElement=elements[0];for(var i=1;i<elements.length;i++){if(elements[i].localeCompare(minElement)<0){minElement=elements[i];}}return minElement;}}else{return null;}},_functionSum:function _functionSum(resolvedArgs){var sum=0;var listToSum=resolvedArgs[0];for(var i=0;i<listToSum.length;i++){sum+=listToSum[i];}return sum;},_functionType:function _functionType(resolvedArgs){switch(this._getTypeName(resolvedArgs[0])){case TYPE_NUMBER:return\"number\";case TYPE_STRING:return\"string\";case TYPE_ARRAY:return\"array\";case TYPE_OBJECT:return\"object\";case TYPE_BOOLEAN:return\"boolean\";case TYPE_EXPREF:return\"expref\";case TYPE_NULL:return\"null\";}},_functionKeys:function _functionKeys(resolvedArgs){return Object.keys(resolvedArgs[0]);},_functionValues:function _functionValues(resolvedArgs){var obj=resolvedArgs[0];var keys=Object.keys(obj);var values=[];for(var i=0;i<keys.length;i++){values.push(obj[keys[i]]);}return values;},_functionJoin:function _functionJoin(resolvedArgs){var joinChar=resolvedArgs[0];var listJoin=resolvedArgs[1];return listJoin.join(joinChar);},_functionToArray:function _functionToArray(resolvedArgs){if(this._getTypeName(resolvedArgs[0])===TYPE_ARRAY){return resolvedArgs[0];}else{return[resolvedArgs[0]];}},_functionToString:function _functionToString(resolvedArgs){if(this._getTypeName(resolvedArgs[0])===TYPE_STRING){return resolvedArgs[0];}else{return JSON.stringify(resolvedArgs[0]);}},_functionToNumber:function _functionToNumber(resolvedArgs){var typeName=this._getTypeName(resolvedArgs[0]);var convertedValue;if(typeName===TYPE_NUMBER){return resolvedArgs[0];}else if(typeName===TYPE_STRING){convertedValue=+resolvedArgs[0];if(!isNaN(convertedValue)){return convertedValue;}}return null;},_functionNotNull:function _functionNotNull(resolvedArgs){for(var i=0;i<resolvedArgs.length;i++){if(this._getTypeName(resolvedArgs[i])!==TYPE_NULL){return resolvedArgs[i];}}return null;},_functionSort:function _functionSort(resolvedArgs){var sortedArray=resolvedArgs[0].slice(0);sortedArray.sort();return sortedArray;},_functionSortBy:function _functionSortBy(resolvedArgs){var sortedArray=resolvedArgs[0].slice(0);if(sortedArray.length===0){return sortedArray;}var interpreter=this._interpreter;var exprefNode=resolvedArgs[1];var requiredType=this._getTypeName(interpreter.visit(exprefNode,sortedArray[0]));if([TYPE_NUMBER,TYPE_STRING].indexOf(requiredType)<0){throw new Error(\"TypeError\");}var that=this;// In order to get a stable sort out of an unstable\n// sort algorithm, we decorate/sort/undecorate (DSU)\n// by creating a new list of [index, element] pairs.\n// In the cmp function, if the evaluated elements are\n// equal, then the index will be used as the tiebreaker.\n// After the decorated list has been sorted, it will be\n// undecorated to extract the original elements.\nvar decorated=[];for(var i=0;i<sortedArray.length;i++){decorated.push([i,sortedArray[i]]);}decorated.sort(function(a,b){var exprA=interpreter.visit(exprefNode,a[1]);var exprB=interpreter.visit(exprefNode,b[1]);if(that._getTypeName(exprA)!==requiredType){throw new Error(\"TypeError: expected \"+requiredType+\", received \"+that._getTypeName(exprA));}else if(that._getTypeName(exprB)!==requiredType){throw new Error(\"TypeError: expected \"+requiredType+\", received \"+that._getTypeName(exprB));}if(exprA>exprB){return 1;}else if(exprA<exprB){return-1;}else{// If they're equal compare the items by their\n// order to maintain relative order of equal keys\n// (i.e. to get a stable sort).\nreturn a[0]-b[0];}});// Undecorate: extract out the original list elements.\nfor(var j=0;j<decorated.length;j++){sortedArray[j]=decorated[j][1];}return sortedArray;},_functionMaxBy:function _functionMaxBy(resolvedArgs){var exprefNode=resolvedArgs[1];var resolvedArray=resolvedArgs[0];var keyFunction=this.createKeyFunction(exprefNode,[TYPE_NUMBER,TYPE_STRING]);var maxNumber=-Infinity;var maxRecord;var current;for(var i=0;i<resolvedArray.length;i++){current=keyFunction(resolvedArray[i]);if(current>maxNumber){maxNumber=current;maxRecord=resolvedArray[i];}}return maxRecord;},_functionMinBy:function _functionMinBy(resolvedArgs){var exprefNode=resolvedArgs[1];var resolvedArray=resolvedArgs[0];var keyFunction=this.createKeyFunction(exprefNode,[TYPE_NUMBER,TYPE_STRING]);var minNumber=Infinity;var minRecord;var current;for(var i=0;i<resolvedArray.length;i++){current=keyFunction(resolvedArray[i]);if(current<minNumber){minNumber=current;minRecord=resolvedArray[i];}}return minRecord;},createKeyFunction:function createKeyFunction(exprefNode,allowedTypes){var that=this;var interpreter=this._interpreter;var keyFunc=function keyFunc(x){var current=interpreter.visit(exprefNode,x);if(allowedTypes.indexOf(that._getTypeName(current))<0){var msg=\"TypeError: expected one of \"+allowedTypes+\", received \"+that._getTypeName(current);throw new Error(msg);}return current;};return keyFunc;}};function compile(stream){var parser=new Parser();var ast=parser.parse(stream);return ast;}function tokenize(stream){var lexer=new Lexer();return lexer.tokenize(stream);}function search(data,expression){var parser=new Parser();// This needs to be improved.  Both the interpreter and runtime depend on\n// each other.  The runtime needs the interpreter to support exprefs.\n// There's likely a clean way to avoid the cyclic dependency.\nvar runtime=new Runtime();var interpreter=new TreeInterpreter(runtime);runtime._interpreter=interpreter;var node=parser.parse(expression);return interpreter.search(node,data);}exports.tokenize=tokenize;exports.compile=compile;exports.search=search;exports.strictDeepEqual=strictDeepEqual;})(typeof exports===\"undefined\"?this.jmespath={}:exports);},{}],91:[function(require,module,exports){// shim for using process in browser\nvar process=module.exports={};// cached from whatever global is present so that test runners that stub it\n// don't break things.  But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals.  It's inside a\n// function because try/catches deoptimize in certain engines.\nvar cachedSetTimeout;var cachedClearTimeout;function defaultSetTimout(){throw new Error('setTimeout has not been defined');}function defaultClearTimeout(){throw new Error('clearTimeout has not been defined');}(function(){try{if(typeof setTimeout==='function'){cachedSetTimeout=setTimeout;}else{cachedSetTimeout=defaultSetTimout;}}catch(e){cachedSetTimeout=defaultSetTimout;}try{if(typeof clearTimeout==='function'){cachedClearTimeout=clearTimeout;}else{cachedClearTimeout=defaultClearTimeout;}}catch(e){cachedClearTimeout=defaultClearTimeout;}})();function runTimeout(fun){if(cachedSetTimeout===setTimeout){//normal enviroments in sane situations\nreturn setTimeout(fun,0);}// if setTimeout wasn't available but was latter defined\nif((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout){cachedSetTimeout=setTimeout;return setTimeout(fun,0);}try{// when when somebody has screwed with setTimeout but no I.E. maddness\nreturn cachedSetTimeout(fun,0);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\nreturn cachedSetTimeout.call(null,fun,0);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\nreturn cachedSetTimeout.call(this,fun,0);}}}function runClearTimeout(marker){if(cachedClearTimeout===clearTimeout){//normal enviroments in sane situations\nreturn clearTimeout(marker);}// if clearTimeout wasn't available but was latter defined\nif((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout){cachedClearTimeout=clearTimeout;return clearTimeout(marker);}try{// when when somebody has screwed with setTimeout but no I.E. maddness\nreturn cachedClearTimeout(marker);}catch(e){try{// When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\nreturn cachedClearTimeout.call(null,marker);}catch(e){// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n// Some versions of I.E. have different rules for clearTimeout vs setTimeout\nreturn cachedClearTimeout.call(this,marker);}}}var queue=[];var draining=false;var currentQueue;var queueIndex=-1;function cleanUpNextTick(){if(!draining||!currentQueue){return;}draining=false;if(currentQueue.length){queue=currentQueue.concat(queue);}else{queueIndex=-1;}if(queue.length){drainQueue();}}function drainQueue(){if(draining){return;}var timeout=runTimeout(cleanUpNextTick);draining=true;var len=queue.length;while(len){currentQueue=queue;queue=[];while(++queueIndex<len){if(currentQueue){currentQueue[queueIndex].run();}}queueIndex=-1;len=queue.length;}currentQueue=null;draining=false;runClearTimeout(timeout);}process.nextTick=function(fun){var args=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){args[i-1]=arguments[i];}}queue.push(new Item(fun,args));if(queue.length===1&&!draining){runTimeout(drainQueue);}};// v8 likes predictible objects\nfunction Item(fun,array){this.fun=fun;this.array=array;}Item.prototype.run=function(){this.fun.apply(null,this.array);};process.title='browser';process.browser=true;process.env={};process.argv=[];process.version='';// empty string to avoid regexp issues\nprocess.versions={};function noop(){}process.on=noop;process.addListener=noop;process.once=noop;process.off=noop;process.removeListener=noop;process.removeAllListeners=noop;process.emit=noop;process.prependListener=noop;process.prependOnceListener=noop;process.listeners=function(name){return[];};process.binding=function(name){throw new Error('process.binding is not supported');};process.cwd=function(){return'/';};process.chdir=function(dir){throw new Error('process.chdir is not supported');};process.umask=function(){return 0;};},{}],92:[function(require,module,exports){(function(global){(function(){/*! https://mths.be/punycode v1.4.1 by @mathias */;(function(root){/** Detect free variables */var freeExports=_typeof(exports)=='object'&&exports&&!exports.nodeType&&exports;var freeModule=_typeof(module)=='object'&&module&&!module.nodeType&&module;var freeGlobal=_typeof(global)=='object'&&global;if(freeGlobal.global===freeGlobal||freeGlobal.window===freeGlobal||freeGlobal.self===freeGlobal){root=freeGlobal;}/**\n           * The `punycode` object.\n           * @name punycode\n           * @type Object\n           */var punycode,/** Highest positive signed 32-bit float value */maxInt=2147483647,// aka. 0x7FFFFFFF or 2^31-1\n/** Bootstring parameters */base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,// 0x80\ndelimiter='-',// '\\x2D'\n/** Regular expressions */regexPunycode=/^xn--/,regexNonASCII=/[^\\x20-\\x7E]/,// unprintable ASCII chars + non-ASCII chars\nregexSeparators=/[\\x2E\\u3002\\uFF0E\\uFF61]/g,// RFC 3490 separators\n/** Error messages */errors={'overflow':'Overflow: input needs wider integers to process','not-basic':'Illegal input >= 0x80 (not a basic code point)','invalid-input':'Invalid input'},/** Convenience shortcuts */baseMinusTMin=base-tMin,floor=Math.floor,stringFromCharCode=String.fromCharCode,/** Temporary variable */key;/*--------------------------------------------------------------------------*//**\n           * A generic error utility function.\n           * @private\n           * @param {String} type The error type.\n           * @returns {Error} Throws a `RangeError` with the applicable error message.\n           */function error(type){throw new RangeError(errors[type]);}/**\n           * A generic `Array#map` utility function.\n           * @private\n           * @param {Array} array The array to iterate over.\n           * @param {Function} callback The function that gets called for every array\n           * item.\n           * @returns {Array} A new array of values returned by the callback function.\n           */function map(array,fn){var length=array.length;var result=[];while(length--){result[length]=fn(array[length]);}return result;}/**\n           * A simple `Array#map`-like wrapper to work with domain name strings or email\n           * addresses.\n           * @private\n           * @param {String} domain The domain name or email address.\n           * @param {Function} callback The function that gets called for every\n           * character.\n           * @returns {Array} A new string of characters returned by the callback\n           * function.\n           */function mapDomain(string,fn){var parts=string.split('@');var result='';if(parts.length>1){// In email addresses, only the domain name should be punycoded. Leave\n// the local part (i.e. everything up to `@`) intact.\nresult=parts[0]+'@';string=parts[1];}// Avoid `split(regex)` for IE8 compatibility. See #17.\nstring=string.replace(regexSeparators,'\\x2E');var labels=string.split('.');var encoded=map(labels,fn).join('.');return result+encoded;}/**\n           * Creates an array containing the numeric code points of each Unicode\n           * character in the string. While JavaScript uses UCS-2 internally,\n           * this function will convert a pair of surrogate halves (each of which\n           * UCS-2 exposes as separate characters) into a single code point,\n           * matching UTF-16.\n           * @see `punycode.ucs2.encode`\n           * @see <https://mathiasbynens.be/notes/javascript-encoding>\n           * @memberOf punycode.ucs2\n           * @name decode\n           * @param {String} string The Unicode input string (UCS-2).\n           * @returns {Array} The new array of code points.\n           */function ucs2decode(string){var output=[],counter=0,length=string.length,value,extra;while(counter<length){value=string.charCodeAt(counter++);if(value>=0xD800&&value<=0xDBFF&&counter<length){// high surrogate, and there is a next character\nextra=string.charCodeAt(counter++);if((extra&0xFC00)==0xDC00){// low surrogate\noutput.push(((value&0x3FF)<<10)+(extra&0x3FF)+0x10000);}else{// unmatched surrogate; only append this code unit, in case the next\n// code unit is the high surrogate of a surrogate pair\noutput.push(value);counter--;}}else{output.push(value);}}return output;}/**\n           * Creates a string based on an array of numeric code points.\n           * @see `punycode.ucs2.decode`\n           * @memberOf punycode.ucs2\n           * @name encode\n           * @param {Array} codePoints The array of numeric code points.\n           * @returns {String} The new Unicode string (UCS-2).\n           */function ucs2encode(array){return map(array,function(value){var output='';if(value>0xFFFF){value-=0x10000;output+=stringFromCharCode(value>>>10&0x3FF|0xD800);value=0xDC00|value&0x3FF;}output+=stringFromCharCode(value);return output;}).join('');}/**\n           * Converts a basic code point into a digit/integer.\n           * @see `digitToBasic()`\n           * @private\n           * @param {Number} codePoint The basic numeric code point value.\n           * @returns {Number} The numeric value of a basic code point (for use in\n           * representing integers) in the range `0` to `base - 1`, or `base` if\n           * the code point does not represent a value.\n           */function basicToDigit(codePoint){if(codePoint-48<10){return codePoint-22;}if(codePoint-65<26){return codePoint-65;}if(codePoint-97<26){return codePoint-97;}return base;}/**\n           * Converts a digit/integer into a basic code point.\n           * @see `basicToDigit()`\n           * @private\n           * @param {Number} digit The numeric value of a basic code point.\n           * @returns {Number} The basic code point whose value (when used for\n           * representing integers) is `digit`, which needs to be in the range\n           * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n           * used; else, the lowercase form is used. The behavior is undefined\n           * if `flag` is non-zero and `digit` has no uppercase form.\n           */function digitToBasic(digit,flag){//  0..25 map to ASCII a..z or A..Z\n// 26..35 map to ASCII 0..9\nreturn digit+22+75*(digit<26)-((flag!=0)<<5);}/**\n           * Bias adaptation function as per section 3.4 of RFC 3492.\n           * https://tools.ietf.org/html/rfc3492#section-3.4\n           * @private\n           */function adapt(delta,numPoints,firstTime){var k=0;delta=firstTime?floor(delta/damp):delta>>1;delta+=floor(delta/numPoints);for/* no initialization */(;delta>baseMinusTMin*tMax>>1;k+=base){delta=floor(delta/baseMinusTMin);}return floor(k+(baseMinusTMin+1)*delta/(delta+skew));}/**\n           * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n           * symbols.\n           * @memberOf punycode\n           * @param {String} input The Punycode string of ASCII-only symbols.\n           * @returns {String} The resulting string of Unicode symbols.\n           */function decode(input){// Don't use UCS-2\nvar output=[],inputLength=input.length,out,i=0,n=initialN,bias=initialBias,basic,j,index,oldi,w,k,digit,t,/** Cached calculation results */baseMinusT;// Handle the basic code points: let `basic` be the number of input code\n// points before the last delimiter, or `0` if there is none, then copy\n// the first basic code points to the output.\nbasic=input.lastIndexOf(delimiter);if(basic<0){basic=0;}for(j=0;j<basic;++j){// if it's not a basic code point\nif(input.charCodeAt(j)>=0x80){error('not-basic');}output.push(input.charCodeAt(j));}// Main decoding loop: start just after the last delimiter if any basic code\n// points were copied; start at the beginning otherwise.\nfor/* no final expression */(index=basic>0?basic+1:0;index<inputLength;){// `index` is the index of the next character to be consumed.\n// Decode a generalized variable-length integer into `delta`,\n// which gets added to `i`. The overflow checking is easier\n// if we increase `i` as we go, then subtract off its starting\n// value at the end to obtain `delta`.\nfor/* no condition */(oldi=i,w=1,k=base;;k+=base){if(index>=inputLength){error('invalid-input');}digit=basicToDigit(input.charCodeAt(index++));if(digit>=base||digit>floor((maxInt-i)/w)){error('overflow');}i+=digit*w;t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(digit<t){break;}baseMinusT=base-t;if(w>floor(maxInt/baseMinusT)){error('overflow');}w*=baseMinusT;}out=output.length+1;bias=adapt(i-oldi,out,oldi==0);// `i` was supposed to wrap around from `out` to `0`,\n// incrementing `n` each time, so we'll fix that now:\nif(floor(i/out)>maxInt-n){error('overflow');}n+=floor(i/out);i%=out;// Insert `n` at position `i` of the output\noutput.splice(i++,0,n);}return ucs2encode(output);}/**\n           * Converts a string of Unicode symbols (e.g. a domain name label) to a\n           * Punycode string of ASCII-only symbols.\n           * @memberOf punycode\n           * @param {String} input The string of Unicode symbols.\n           * @returns {String} The resulting Punycode string of ASCII-only symbols.\n           */function encode(input){var n,delta,handledCPCount,basicLength,bias,j,m,q,k,t,currentValue,output=[],/** `inputLength` will hold the number of code points in `input`. */inputLength,/** Cached calculation results */handledCPCountPlusOne,baseMinusT,qMinusT;// Convert the input in UCS-2 to Unicode\ninput=ucs2decode(input);// Cache the length\ninputLength=input.length;// Initialize the state\nn=initialN;delta=0;bias=initialBias;// Handle the basic code points\nfor(j=0;j<inputLength;++j){currentValue=input[j];if(currentValue<0x80){output.push(stringFromCharCode(currentValue));}}handledCPCount=basicLength=output.length;// `handledCPCount` is the number of code points that have been handled;\n// `basicLength` is the number of basic code points.\n// Finish the basic string - if it is not empty - with a delimiter\nif(basicLength){output.push(delimiter);}// Main encoding loop:\nwhile(handledCPCount<inputLength){// All non-basic code points < n have been handled already. Find the next\n// larger one:\nfor(m=maxInt,j=0;j<inputLength;++j){currentValue=input[j];if(currentValue>=n&&currentValue<m){m=currentValue;}}// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n// but guard against overflow\nhandledCPCountPlusOne=handledCPCount+1;if(m-n>floor((maxInt-delta)/handledCPCountPlusOne)){error('overflow');}delta+=(m-n)*handledCPCountPlusOne;n=m;for(j=0;j<inputLength;++j){currentValue=input[j];if(currentValue<n&&++delta>maxInt){error('overflow');}if(currentValue==n){// Represent delta as a generalized variable-length integer\nfor/* no condition */(q=delta,k=base;;k+=base){t=k<=bias?tMin:k>=bias+tMax?tMax:k-bias;if(q<t){break;}qMinusT=q-t;baseMinusT=base-t;output.push(stringFromCharCode(digitToBasic(t+qMinusT%baseMinusT,0)));q=floor(qMinusT/baseMinusT);}output.push(stringFromCharCode(digitToBasic(q,0)));bias=adapt(delta,handledCPCountPlusOne,handledCPCount==basicLength);delta=0;++handledCPCount;}}++delta;++n;}return output.join('');}/**\n           * Converts a Punycode string representing a domain name or an email address\n           * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n           * it doesn't matter if you call it on a string that has already been\n           * converted to Unicode.\n           * @memberOf punycode\n           * @param {String} input The Punycoded domain name or email address to\n           * convert to Unicode.\n           * @returns {String} The Unicode representation of the given Punycode\n           * string.\n           */function toUnicode(input){return mapDomain(input,function(string){return regexPunycode.test(string)?decode(string.slice(4).toLowerCase()):string;});}/**\n           * Converts a Unicode string representing a domain name or an email address to\n           * Punycode. Only the non-ASCII parts of the domain name will be converted,\n           * i.e. it doesn't matter if you call it with a domain that's already in\n           * ASCII.\n           * @memberOf punycode\n           * @param {String} input The domain name or email address to convert, as a\n           * Unicode string.\n           * @returns {String} The Punycode representation of the given domain name or\n           * email address.\n           */function toASCII(input){return mapDomain(input,function(string){return regexNonASCII.test(string)?'xn--'+encode(string):string;});}/*--------------------------------------------------------------------------*//** Define the public API */punycode={/**\n             * A string representing the current Punycode.js version number.\n             * @memberOf punycode\n             * @type String\n             */'version':'1.4.1',/**\n             * An object of methods to convert from JavaScript's internal character\n             * representation (UCS-2) to Unicode code points, and back.\n             * @see <https://mathiasbynens.be/notes/javascript-encoding>\n             * @memberOf punycode\n             * @type Object\n             */'ucs2':{'decode':ucs2decode,'encode':ucs2encode},'decode':decode,'encode':encode,'toASCII':toASCII,'toUnicode':toUnicode};/** Expose `punycode` */// Some AMD build optimizers, like r.js, check for specific condition patterns\n// like the following:\nif( true&&_typeof(__webpack_require__.amdO)=='object'&&__webpack_require__.amdO){!(__WEBPACK_AMD_DEFINE_RESULT__ = (function(){return punycode;}).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));}else if(freeExports&&freeModule){if(module.exports==freeExports){// in Node.js, io.js, or RingoJS v0.8.0+\nfreeModule.exports=punycode;}else{// in Narwhal or RingoJS v0.7.0-\nfor(key in punycode){punycode.hasOwnProperty(key)&&(freeExports[key]=punycode[key]);}}}else{// in Rhino or a web browser\nroot.punycode=punycode;}})(this);}).call(this);}).call(this,typeof __webpack_require__.g!==\"undefined\"?__webpack_require__.g:typeof self!==\"undefined\"?self:typeof window!==\"undefined\"?window:{});},{}],93:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict';// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop);}module.exports=function(qs,sep,eq,options){sep=sep||'&';eq=eq||'=';var obj={};if(typeof qs!=='string'||qs.length===0){return obj;}var regexp=/\\+/g;qs=qs.split(sep);var maxKeys=1000;if(options&&typeof options.maxKeys==='number'){maxKeys=options.maxKeys;}var len=qs.length;// maxKeys <= 0 means that we should not limit keys count\nif(maxKeys>0&&len>maxKeys){len=maxKeys;}for(var i=0;i<len;++i){var x=qs[i].replace(regexp,'%20'),idx=x.indexOf(eq),kstr,vstr,k,v;if(idx>=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1);}else{kstr=x;vstr='';}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v;}else if(isArray(obj[k])){obj[k].push(v);}else{obj[k]=[obj[k],v];}}return obj;};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==='[object Array]';};},{}],94:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict';var stringifyPrimitive=function stringifyPrimitive(v){switch(_typeof(v)){case'string':return v;case'boolean':return v?'true':'false';case'number':return isFinite(v)?v:'';default:return'';}};module.exports=function(obj,sep,eq,name){sep=sep||'&';eq=eq||'=';if(obj===null){obj=undefined;}if(_typeof(obj)==='object'){return map(objectKeys(obj),function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(isArray(obj[k])){return map(obj[k],function(v){return ks+encodeURIComponent(stringifyPrimitive(v));}).join(sep);}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]));}}).join(sep);}if(!name)return'';return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj));};var isArray=Array.isArray||function(xs){return Object.prototype.toString.call(xs)==='[object Array]';};function map(xs,f){if(xs.map)return xs.map(f);var res=[];for(var i=0;i<xs.length;i++){res.push(f(xs[i],i));}return res;}var objectKeys=Object.keys||function(obj){var res=[];for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key))res.push(key);}return res;};},{}],95:[function(require,module,exports){'use strict';exports.decode=exports.parse=require('./decode');exports.encode=exports.stringify=require('./encode');},{\"./decode\":93,\"./encode\":94}],96:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict';// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop);}module.exports=function(qs,sep,eq,options){sep=sep||'&';eq=eq||'=';var obj={};if(typeof qs!=='string'||qs.length===0){return obj;}var regexp=/\\+/g;qs=qs.split(sep);var maxKeys=1000;if(options&&typeof options.maxKeys==='number'){maxKeys=options.maxKeys;}var len=qs.length;// maxKeys <= 0 means that we should not limit keys count\nif(maxKeys>0&&len>maxKeys){len=maxKeys;}for(var i=0;i<len;++i){var x=qs[i].replace(regexp,'%20'),idx=x.indexOf(eq),kstr,vstr,k,v;if(idx>=0){kstr=x.substr(0,idx);vstr=x.substr(idx+1);}else{kstr=x;vstr='';}k=decodeURIComponent(kstr);v=decodeURIComponent(vstr);if(!hasOwnProperty(obj,k)){obj[k]=v;}else if(Array.isArray(obj[k])){obj[k].push(v);}else{obj[k]=[obj[k],v];}}return obj;};},{}],97:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict';var stringifyPrimitive=function stringifyPrimitive(v){switch(_typeof(v)){case'string':return v;case'boolean':return v?'true':'false';case'number':return isFinite(v)?v:'';default:return'';}};module.exports=function(obj,sep,eq,name){sep=sep||'&';eq=eq||'=';if(obj===null){obj=undefined;}if(_typeof(obj)==='object'){return Object.keys(obj).map(function(k){var ks=encodeURIComponent(stringifyPrimitive(k))+eq;if(Array.isArray(obj[k])){return obj[k].map(function(v){return ks+encodeURIComponent(stringifyPrimitive(v));}).join(sep);}else{return ks+encodeURIComponent(stringifyPrimitive(obj[k]));}}).join(sep);}if(!name)return'';return encodeURIComponent(stringifyPrimitive(name))+eq+encodeURIComponent(stringifyPrimitive(obj));};},{}],98:[function(require,module,exports){arguments[4][95][0].apply(exports,arguments);},{\"./decode\":96,\"./encode\":97,\"dup\":95}],99:[function(require,module,exports){(function(setImmediate,clearImmediate){(function(){var nextTick=require('process/browser.js').nextTick;var apply=Function.prototype.apply;var slice=Array.prototype.slice;var immediateIds={};var nextImmediateId=0;// DOM APIs, for completeness\nexports.setTimeout=function(){return new Timeout(apply.call(setTimeout,window,arguments),clearTimeout);};exports.setInterval=function(){return new Timeout(apply.call(setInterval,window,arguments),clearInterval);};exports.clearTimeout=exports.clearInterval=function(timeout){timeout.close();};function Timeout(id,clearFn){this._id=id;this._clearFn=clearFn;}Timeout.prototype.unref=Timeout.prototype.ref=function(){};Timeout.prototype.close=function(){this._clearFn.call(window,this._id);};// Does not start the time, just sets up the members needed.\nexports.enroll=function(item,msecs){clearTimeout(item._idleTimeoutId);item._idleTimeout=msecs;};exports.unenroll=function(item){clearTimeout(item._idleTimeoutId);item._idleTimeout=-1;};exports._unrefActive=exports.active=function(item){clearTimeout(item._idleTimeoutId);var msecs=item._idleTimeout;if(msecs>=0){item._idleTimeoutId=setTimeout(function onTimeout(){if(item._onTimeout)item._onTimeout();},msecs);}};// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate=typeof setImmediate===\"function\"?setImmediate:function(fn){var id=nextImmediateId++;var args=arguments.length<2?false:slice.call(arguments,1);immediateIds[id]=true;nextTick(function onNextTick(){if(immediateIds[id]){// fn.call() is faster so we optimize for the common use-case\n// @see http://jsperf.com/call-apply-segu\nif(args){fn.apply(null,args);}else{fn.call(null);}// Prevent ids from leaking\nexports.clearImmediate(id);}});return id;};exports.clearImmediate=typeof clearImmediate===\"function\"?clearImmediate:function(id){delete immediateIds[id];};}).call(this);}).call(this,require(\"timers\").setImmediate,require(\"timers\").clearImmediate);},{\"process/browser.js\":91,\"timers\":99}],100:[function(require,module,exports){// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\nvar punycode=require('punycode');exports.parse=urlParse;exports.resolve=urlResolve;exports.resolveObject=urlResolveObject;exports.format=urlFormat;exports.Url=Url;function Url(){this.protocol=null;this.slashes=null;this.auth=null;this.host=null;this.port=null;this.hostname=null;this.hash=null;this.search=null;this.query=null;this.pathname=null;this.path=null;this.href=null;}// Reference: RFC 3986, RFC 1808, RFC 2396\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,// RFC 2396: characters reserved for delimiting URLs.\n// We actually just auto-escape these.\ndelims=['<','>','\"','`',' ','\\r','\\n','\\t'],// RFC 2396: characters not allowed for various reasons.\nunwise=['{','}','|','\\\\','^','`'].concat(delims),// Allowed by RFCs, but cause of XSS attacks.  Always escape these.\nautoEscape=['\\''].concat(unwise),// Characters that are never ever allowed in a hostname.\n// Note that any invalid chars are also handled, but these\n// are the ones that are *expected* to be seen, so we fast-path\n// them.\nnonHostChars=['%','/','?',';','#'].concat(autoEscape),hostEndingChars=['/','?','#'],hostnameMaxLen=255,hostnamePartPattern=/^[a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([a-z0-9A-Z_-]{0,63})(.*)$/,// protocols that can allow \"unsafe\" and \"unwise\" chars.\nunsafeProtocol={'javascript':true,'javascript:':true},// protocols that never have a hostname.\nhostlessProtocol={'javascript':true,'javascript:':true},// protocols that always contain a // bit.\nslashedProtocol={'http':true,'https':true,'ftp':true,'gopher':true,'file':true,'http:':true,'https:':true,'ftp:':true,'gopher:':true,'file:':true},querystring=require('querystring');function urlParse(url,parseQueryString,slashesDenoteHost){if(url&&isObject(url)&&url instanceof Url)return url;var u=new Url();u.parse(url,parseQueryString,slashesDenoteHost);return u;}Url.prototype.parse=function(url,parseQueryString,slashesDenoteHost){if(!isString(url)){throw new TypeError(\"Parameter 'url' must be a string, not \"+_typeof(url));}var rest=url;// trim before proceeding.\n// This is to support parse stuff like \"  http://foo.com  \\n\"\nrest=rest.trim();var proto=protocolPattern.exec(rest);if(proto){proto=proto[0];var lowerProto=proto.toLowerCase();this.protocol=lowerProto;rest=rest.substr(proto.length);}// figure out if it's got a host\n// user@server is *always* interpreted as a hostname, and url\n// resolution will treat //foo/bar as host=foo,path=bar because that's\n// how the browser resolves relative URLs.\nif(slashesDenoteHost||proto||rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)){var slashes=rest.substr(0,2)==='//';if(slashes&&!(proto&&hostlessProtocol[proto])){rest=rest.substr(2);this.slashes=true;}}if(!hostlessProtocol[proto]&&(slashes||proto&&!slashedProtocol[proto])){// there's a hostname.\n// the first instance of /, ?, ;, or # ends the host.\n//\n// If there is an @ in the hostname, then non-host chars *are* allowed\n// to the left of the last @ sign, unless some host-ending character\n// comes *before* the @-sign.\n// URLs are obnoxious.\n//\n// ex:\n// http://a@b@c/ => user:a@b host:c\n// http://a@b?@c => user:a host:c path:/?@c\n// v0.12 TODO(isaacs): This is not quite how Chrome does things.\n// Review our test case against browsers more comprehensively.\n// find the first instance of any hostEndingChars\nvar hostEnd=-1;for(var i=0;i<hostEndingChars.length;i++){var hec=rest.indexOf(hostEndingChars[i]);if(hec!==-1&&(hostEnd===-1||hec<hostEnd))hostEnd=hec;}// at this point, either we have an explicit point where the\n// auth portion cannot go past, or the last @ char is the decider.\nvar auth,atSign;if(hostEnd===-1){// atSign can be anywhere.\natSign=rest.lastIndexOf('@');}else{// atSign must be in auth portion.\n// http://a@b/c@d => host:b auth:a path:/c@d\natSign=rest.lastIndexOf('@',hostEnd);}// Now we have a portion which is definitely the auth.\n// Pull that off.\nif(atSign!==-1){auth=rest.slice(0,atSign);rest=rest.slice(atSign+1);this.auth=decodeURIComponent(auth);}// the host is the remaining to the left of the first non-host char\nhostEnd=-1;for(var i=0;i<nonHostChars.length;i++){var hec=rest.indexOf(nonHostChars[i]);if(hec!==-1&&(hostEnd===-1||hec<hostEnd))hostEnd=hec;}// if we still have not hit it, then the entire thing is a host.\nif(hostEnd===-1)hostEnd=rest.length;this.host=rest.slice(0,hostEnd);rest=rest.slice(hostEnd);// pull out port.\nthis.parseHost();// we've indicated that there is a hostname,\n// so even if it's empty, it has to be present.\nthis.hostname=this.hostname||'';// if hostname begins with [ and ends with ]\n// assume that it's an IPv6 address.\nvar ipv6Hostname=this.hostname[0]==='['&&this.hostname[this.hostname.length-1]===']';// validate a little.\nif(!ipv6Hostname){var hostparts=this.hostname.split(/\\./);for(var i=0,l=hostparts.length;i<l;i++){var part=hostparts[i];if(!part)continue;if(!part.match(hostnamePartPattern)){var newpart='';for(var j=0,k=part.length;j<k;j++){if(part.charCodeAt(j)>127){// we replace non-ASCII char with a temporary placeholder\n// we need this to make sure size of hostname is not\n// broken by replacing non-ASCII by nothing\nnewpart+='x';}else{newpart+=part[j];}}// we test again with ASCII char only\nif(!newpart.match(hostnamePartPattern)){var validParts=hostparts.slice(0,i);var notHost=hostparts.slice(i+1);var bit=part.match(hostnamePartStart);if(bit){validParts.push(bit[1]);notHost.unshift(bit[2]);}if(notHost.length){rest='/'+notHost.join('.')+rest;}this.hostname=validParts.join('.');break;}}}}if(this.hostname.length>hostnameMaxLen){this.hostname='';}else{// hostnames are always lower case.\nthis.hostname=this.hostname.toLowerCase();}if(!ipv6Hostname){// IDNA Support: Returns a puny coded representation of \"domain\".\n// It only converts the part of the domain name that\n// has non ASCII characters. I.e. it dosent matter if\n// you call it with a domain that already is in ASCII.\nvar domainArray=this.hostname.split('.');var newOut=[];for(var i=0;i<domainArray.length;++i){var s=domainArray[i];newOut.push(s.match(/[^A-Za-z0-9_-]/)?'xn--'+punycode.encode(s):s);}this.hostname=newOut.join('.');}var p=this.port?':'+this.port:'';var h=this.hostname||'';this.host=h+p;this.href+=this.host;// strip [ and ] from the hostname\n// the host field still retains them, though\nif(ipv6Hostname){this.hostname=this.hostname.substr(1,this.hostname.length-2);if(rest[0]!=='/'){rest='/'+rest;}}}// now rest is set to the post-host stuff.\n// chop off any delim chars.\nif(!unsafeProtocol[lowerProto]){// First, make 100% sure that any \"autoEscape\" chars get\n// escaped, even if encodeURIComponent doesn't think they\n// need to be.\nfor(var i=0,l=autoEscape.length;i<l;i++){var ae=autoEscape[i];var esc=encodeURIComponent(ae);if(esc===ae){esc=escape(ae);}rest=rest.split(ae).join(esc);}}// chop off from the tail first.\nvar hash=rest.indexOf('#');if(hash!==-1){// got a fragment string.\nthis.hash=rest.substr(hash);rest=rest.slice(0,hash);}var qm=rest.indexOf('?');if(qm!==-1){this.search=rest.substr(qm);this.query=rest.substr(qm+1);if(parseQueryString){this.query=querystring.parse(this.query);}rest=rest.slice(0,qm);}else if(parseQueryString){// no query string, but parseQueryString still requested\nthis.search='';this.query={};}if(rest)this.pathname=rest;if(slashedProtocol[lowerProto]&&this.hostname&&!this.pathname){this.pathname='/';}//to support http.request\nif(this.pathname||this.search){var p=this.pathname||'';var s=this.search||'';this.path=p+s;}// finally, reconstruct the href based on what has been validated.\nthis.href=this.format();return this;};// format a parsed object into a url string\nfunction urlFormat(obj){// ensure it's an object, and not a string url.\n// If it's an obj, this is a no-op.\n// this way, you can call url_format() on strings\n// to clean up potentially wonky urls.\nif(isString(obj))obj=urlParse(obj);if(!(obj instanceof Url))return Url.prototype.format.call(obj);return obj.format();}Url.prototype.format=function(){var auth=this.auth||'';if(auth){auth=encodeURIComponent(auth);auth=auth.replace(/%3A/i,':');auth+='@';}var protocol=this.protocol||'',pathname=this.pathname||'',hash=this.hash||'',host=false,query='';if(this.host){host=auth+this.host;}else if(this.hostname){host=auth+(this.hostname.indexOf(':')===-1?this.hostname:'['+this.hostname+']');if(this.port){host+=':'+this.port;}}if(this.query&&isObject(this.query)&&Object.keys(this.query).length){query=querystring.stringify(this.query);}var search=this.search||query&&'?'+query||'';if(protocol&&protocol.substr(-1)!==':')protocol+=':';// only the slashedProtocols get the //.  Not mailto:, xmpp:, etc.\n// unless they had them to begin with.\nif(this.slashes||(!protocol||slashedProtocol[protocol])&&host!==false){host='//'+(host||'');if(pathname&&pathname.charAt(0)!=='/')pathname='/'+pathname;}else if(!host){host='';}if(hash&&hash.charAt(0)!=='#')hash='#'+hash;if(search&&search.charAt(0)!=='?')search='?'+search;pathname=pathname.replace(/[?#]/g,function(match){return encodeURIComponent(match);});search=search.replace('#','%23');return protocol+host+pathname+search+hash;};function urlResolve(source,relative){return urlParse(source,false,true).resolve(relative);}Url.prototype.resolve=function(relative){return this.resolveObject(urlParse(relative,false,true)).format();};function urlResolveObject(source,relative){if(!source)return relative;return urlParse(source,false,true).resolveObject(relative);}Url.prototype.resolveObject=function(relative){if(isString(relative)){var rel=new Url();rel.parse(relative,false,true);relative=rel;}var result=new Url();Object.keys(this).forEach(function(k){result[k]=this[k];},this);// hash is always overridden, no matter what.\n// even href=\"\" will remove it.\nresult.hash=relative.hash;// if the relative url is empty, then there's nothing left to do here.\nif(relative.href===''){result.href=result.format();return result;}// hrefs like //foo/bar always cut to the protocol.\nif(relative.slashes&&!relative.protocol){// take everything except the protocol from relative\nObject.keys(relative).forEach(function(k){if(k!=='protocol')result[k]=relative[k];});//urlParse appends trailing / to urls like http://www.example.com\nif(slashedProtocol[result.protocol]&&result.hostname&&!result.pathname){result.path=result.pathname='/';}result.href=result.format();return result;}if(relative.protocol&&relative.protocol!==result.protocol){// if it's a known url protocol, then changing\n// the protocol does weird things\n// first, if it's not file:, then we MUST have a host,\n// and if there was a path\n// to begin with, then we MUST have a path.\n// if it is file:, then the host is dropped,\n// because that's known to be hostless.\n// anything else is assumed to be absolute.\nif(!slashedProtocol[relative.protocol]){Object.keys(relative).forEach(function(k){result[k]=relative[k];});result.href=result.format();return result;}result.protocol=relative.protocol;if(!relative.host&&!hostlessProtocol[relative.protocol]){var relPath=(relative.pathname||'').split('/');while(relPath.length&&!(relative.host=relPath.shift()));if(!relative.host)relative.host='';if(!relative.hostname)relative.hostname='';if(relPath[0]!=='')relPath.unshift('');if(relPath.length<2)relPath.unshift('');result.pathname=relPath.join('/');}else{result.pathname=relative.pathname;}result.search=relative.search;result.query=relative.query;result.host=relative.host||'';result.auth=relative.auth;result.hostname=relative.hostname||relative.host;result.port=relative.port;// to support http.request\nif(result.pathname||result.search){var p=result.pathname||'';var s=result.search||'';result.path=p+s;}result.slashes=result.slashes||relative.slashes;result.href=result.format();return result;}var isSourceAbs=result.pathname&&result.pathname.charAt(0)==='/',isRelAbs=relative.host||relative.pathname&&relative.pathname.charAt(0)==='/',mustEndAbs=isRelAbs||isSourceAbs||result.host&&relative.pathname,removeAllDots=mustEndAbs,srcPath=result.pathname&&result.pathname.split('/')||[],relPath=relative.pathname&&relative.pathname.split('/')||[],psychotic=result.protocol&&!slashedProtocol[result.protocol];// if the url is a non-slashed url, then relative\n// links like ../.. should be able\n// to crawl up to the hostname, as well.  This is strange.\n// result.protocol has already been set by now.\n// Later on, put the first path part into the host field.\nif(psychotic){result.hostname='';result.port=null;if(result.host){if(srcPath[0]==='')srcPath[0]=result.host;else srcPath.unshift(result.host);}result.host='';if(relative.protocol){relative.hostname=null;relative.port=null;if(relative.host){if(relPath[0]==='')relPath[0]=relative.host;else relPath.unshift(relative.host);}relative.host=null;}mustEndAbs=mustEndAbs&&(relPath[0]===''||srcPath[0]==='');}if(isRelAbs){// it's absolute.\nresult.host=relative.host||relative.host===''?relative.host:result.host;result.hostname=relative.hostname||relative.hostname===''?relative.hostname:result.hostname;result.search=relative.search;result.query=relative.query;srcPath=relPath;// fall through to the dot-handling below.\n}else if(relPath.length){// it's relative\n// throw away the existing file, and take the new path instead.\nif(!srcPath)srcPath=[];srcPath.pop();srcPath=srcPath.concat(relPath);result.search=relative.search;result.query=relative.query;}else if(!isNullOrUndefined(relative.search)){// just pull out the search.\n// like href='?foo'.\n// Put this after the other two cases because it simplifies the booleans\nif(psychotic){result.hostname=result.host=srcPath.shift();//occationaly the auth can get stuck only in host\n//this especialy happens in cases like\n//url.resolveObject('mailto:local1@domain1', 'local2@domain2')\nvar authInHost=result.host&&result.host.indexOf('@')>0?result.host.split('@'):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift();}}result.search=relative.search;result.query=relative.query;//to support http.request\nif(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:'')+(result.search?result.search:'');}result.href=result.format();return result;}if(!srcPath.length){// no path at all.  easy.\n// we've already handled the other stuff above.\nresult.pathname=null;//to support http.request\nif(result.search){result.path='/'+result.search;}else{result.path=null;}result.href=result.format();return result;}// if a url ENDs in . or .., then it must get a trailing slash.\n// however, if it ends in anything else non-slashy,\n// then it must NOT get a trailing slash.\nvar last=srcPath.slice(-1)[0];var hasTrailingSlash=(result.host||relative.host)&&(last==='.'||last==='..')||last==='';// strip single dots, resolve double dots to parent dir\n// if the path tries to go above the root, `up` ends up > 0\nvar up=0;for(var i=srcPath.length;i>=0;i--){last=srcPath[i];if(last=='.'){srcPath.splice(i,1);}else if(last==='..'){srcPath.splice(i,1);up++;}else if(up){srcPath.splice(i,1);up--;}}// if the path is allowed to go above the root, restore leading ..s\nif(!mustEndAbs&&!removeAllDots){for(;up--;up){srcPath.unshift('..');}}if(mustEndAbs&&srcPath[0]!==''&&(!srcPath[0]||srcPath[0].charAt(0)!=='/')){srcPath.unshift('');}if(hasTrailingSlash&&srcPath.join('/').substr(-1)!=='/'){srcPath.push('');}var isAbsolute=srcPath[0]===''||srcPath[0]&&srcPath[0].charAt(0)==='/';// put the host back\nif(psychotic){result.hostname=result.host=isAbsolute?'':srcPath.length?srcPath.shift():'';//occationaly the auth can get stuck only in host\n//this especialy happens in cases like\n//url.resolveObject('mailto:local1@domain1', 'local2@domain2')\nvar authInHost=result.host&&result.host.indexOf('@')>0?result.host.split('@'):false;if(authInHost){result.auth=authInHost.shift();result.host=result.hostname=authInHost.shift();}}mustEndAbs=mustEndAbs||result.host&&srcPath.length;if(mustEndAbs&&!isAbsolute){srcPath.unshift('');}if(!srcPath.length){result.pathname=null;result.path=null;}else{result.pathname=srcPath.join('/');}//to support request.http\nif(!isNull(result.pathname)||!isNull(result.search)){result.path=(result.pathname?result.pathname:'')+(result.search?result.search:'');}result.auth=relative.auth||result.auth;result.slashes=result.slashes||relative.slashes;result.href=result.format();return result;};Url.prototype.parseHost=function(){var host=this.host;var port=portPattern.exec(host);if(port){port=port[0];if(port!==':'){this.port=port.substr(1);}host=host.substr(0,host.length-port.length);}if(host)this.hostname=host;};function isString(arg){return typeof arg===\"string\";}function isObject(arg){return _typeof(arg)==='object'&&arg!==null;}function isNull(arg){return arg===null;}function isNullOrUndefined(arg){return arg==null;}},{\"punycode\":92,\"querystring\":95}],101:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;/**\n     * Convert array of 16 byte values to UUID string format of the form:\n     * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n     */var byteToHex=[];for(var i=0;i<256;++i){byteToHex[i]=(i+0x100).toString(16).substr(1);}function bytesToUuid(buf,offset){var i=offset||0;var bth=byteToHex;// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\nreturn[bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],'-',bth[buf[i++]],bth[buf[i++]],'-',bth[buf[i++]],bth[buf[i++]],'-',bth[buf[i++]],bth[buf[i++]],'-',bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]],bth[buf[i++]]].join('');}var _default=bytesToUuid;exports[\"default\"]=_default;},{}],102:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});Object.defineProperty(exports,\"v1\",{enumerable:true,get:function get(){return _v[\"default\"];}});Object.defineProperty(exports,\"v3\",{enumerable:true,get:function get(){return _v2[\"default\"];}});Object.defineProperty(exports,\"v4\",{enumerable:true,get:function get(){return _v3[\"default\"];}});Object.defineProperty(exports,\"v5\",{enumerable:true,get:function get(){return _v4[\"default\"];}});var _v=_interopRequireDefault(require(\"./v1.js\"));var _v2=_interopRequireDefault(require(\"./v3.js\"));var _v3=_interopRequireDefault(require(\"./v4.js\"));var _v4=_interopRequireDefault(require(\"./v5.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}},{\"./v1.js\":106,\"./v3.js\":107,\"./v4.js\":109,\"./v5.js\":110}],103:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;/*\n     * Browser-compatible JavaScript MD5\n     *\n     * Modification of JavaScript MD5\n     * https://github.com/blueimp/JavaScript-MD5\n     *\n     * Copyright 2011, Sebastian Tschan\n     * https://blueimp.net\n     *\n     * Licensed under the MIT license:\n     * https://opensource.org/licenses/MIT\n     *\n     * Based on\n     * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n     * Digest Algorithm, as defined in RFC 1321.\n     * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n     * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n     * Distributed under the BSD License\n     * See http://pajhome.org.uk/crypt/md5 for more info.\n     */function md5(bytes){if(typeof bytes=='string'){var msg=unescape(encodeURIComponent(bytes));// UTF8 escape\nbytes=new Array(msg.length);for(var i=0;i<msg.length;i++)bytes[i]=msg.charCodeAt(i);}return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes),bytes.length*8));}/*\n     * Convert an array of little-endian words to an array of bytes\n     */function md5ToHexEncodedArray(input){var i;var x;var output=[];var length32=input.length*32;var hexTab='0123456789abcdef';var hex;for(i=0;i<length32;i+=8){x=input[i>>5]>>>i%32&0xff;hex=parseInt(hexTab.charAt(x>>>4&0x0f)+hexTab.charAt(x&0x0f),16);output.push(hex);}return output;}/*\n     * Calculate the MD5 of an array of little-endian words, and a bit length.\n     */function wordsToMd5(x,len){/* append padding */x[len>>5]|=0x80<<len%32;x[(len+64>>>9<<4)+14]=len;var i;var olda;var oldb;var oldc;var oldd;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(i=0;i<x.length;i+=16){olda=a;oldb=b;oldc=c;oldd=d;a=md5ff(a,b,c,d,x[i],7,-680876936);d=md5ff(d,a,b,c,x[i+1],12,-389564586);c=md5ff(c,d,a,b,x[i+2],17,606105819);b=md5ff(b,c,d,a,x[i+3],22,-1044525330);a=md5ff(a,b,c,d,x[i+4],7,-176418897);d=md5ff(d,a,b,c,x[i+5],12,1200080426);c=md5ff(c,d,a,b,x[i+6],17,-1473231341);b=md5ff(b,c,d,a,x[i+7],22,-45705983);a=md5ff(a,b,c,d,x[i+8],7,1770035416);d=md5ff(d,a,b,c,x[i+9],12,-1958414417);c=md5ff(c,d,a,b,x[i+10],17,-42063);b=md5ff(b,c,d,a,x[i+11],22,-1990404162);a=md5ff(a,b,c,d,x[i+12],7,1804603682);d=md5ff(d,a,b,c,x[i+13],12,-40341101);c=md5ff(c,d,a,b,x[i+14],17,-1502002290);b=md5ff(b,c,d,a,x[i+15],22,1236535329);a=md5gg(a,b,c,d,x[i+1],5,-165796510);d=md5gg(d,a,b,c,x[i+6],9,-1069501632);c=md5gg(c,d,a,b,x[i+11],14,643717713);b=md5gg(b,c,d,a,x[i],20,-373897302);a=md5gg(a,b,c,d,x[i+5],5,-701558691);d=md5gg(d,a,b,c,x[i+10],9,38016083);c=md5gg(c,d,a,b,x[i+15],14,-660478335);b=md5gg(b,c,d,a,x[i+4],20,-405537848);a=md5gg(a,b,c,d,x[i+9],5,568446438);d=md5gg(d,a,b,c,x[i+14],9,-1019803690);c=md5gg(c,d,a,b,x[i+3],14,-187363961);b=md5gg(b,c,d,a,x[i+8],20,1163531501);a=md5gg(a,b,c,d,x[i+13],5,-1444681467);d=md5gg(d,a,b,c,x[i+2],9,-51403784);c=md5gg(c,d,a,b,x[i+7],14,1735328473);b=md5gg(b,c,d,a,x[i+12],20,-1926607734);a=md5hh(a,b,c,d,x[i+5],4,-378558);d=md5hh(d,a,b,c,x[i+8],11,-2022574463);c=md5hh(c,d,a,b,x[i+11],16,1839030562);b=md5hh(b,c,d,a,x[i+14],23,-35309556);a=md5hh(a,b,c,d,x[i+1],4,-1530992060);d=md5hh(d,a,b,c,x[i+4],11,1272893353);c=md5hh(c,d,a,b,x[i+7],16,-155497632);b=md5hh(b,c,d,a,x[i+10],23,-1094730640);a=md5hh(a,b,c,d,x[i+13],4,681279174);d=md5hh(d,a,b,c,x[i],11,-358537222);c=md5hh(c,d,a,b,x[i+3],16,-722521979);b=md5hh(b,c,d,a,x[i+6],23,76029189);a=md5hh(a,b,c,d,x[i+9],4,-640364487);d=md5hh(d,a,b,c,x[i+12],11,-421815835);c=md5hh(c,d,a,b,x[i+15],16,530742520);b=md5hh(b,c,d,a,x[i+2],23,-995338651);a=md5ii(a,b,c,d,x[i],6,-198630844);d=md5ii(d,a,b,c,x[i+7],10,1126891415);c=md5ii(c,d,a,b,x[i+14],15,-1416354905);b=md5ii(b,c,d,a,x[i+5],21,-57434055);a=md5ii(a,b,c,d,x[i+12],6,1700485571);d=md5ii(d,a,b,c,x[i+3],10,-1894986606);c=md5ii(c,d,a,b,x[i+10],15,-1051523);b=md5ii(b,c,d,a,x[i+1],21,-2054922799);a=md5ii(a,b,c,d,x[i+8],6,1873313359);d=md5ii(d,a,b,c,x[i+15],10,-30611744);c=md5ii(c,d,a,b,x[i+6],15,-1560198380);b=md5ii(b,c,d,a,x[i+13],21,1309151649);a=md5ii(a,b,c,d,x[i+4],6,-145523070);d=md5ii(d,a,b,c,x[i+11],10,-1120210379);c=md5ii(c,d,a,b,x[i+2],15,718787259);b=md5ii(b,c,d,a,x[i+9],21,-343485551);a=safeAdd(a,olda);b=safeAdd(b,oldb);c=safeAdd(c,oldc);d=safeAdd(d,oldd);}return[a,b,c,d];}/*\n     * Convert an array bytes to an array of little-endian words\n     * Characters >255 have their high-byte silently ignored.\n     */function bytesToWords(input){var i;var output=[];output[(input.length>>2)-1]=undefined;for(i=0;i<output.length;i+=1){output[i]=0;}var length8=input.length*8;for(i=0;i<length8;i+=8){output[i>>5]|=(input[i/8]&0xff)<<i%32;}return output;}/*\n     * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n     * to work around bugs in some JS interpreters.\n     */function safeAdd(x,y){var lsw=(x&0xffff)+(y&0xffff);var msw=(x>>16)+(y>>16)+(lsw>>16);return msw<<16|lsw&0xffff;}/*\n     * Bitwise rotate a 32-bit number to the left.\n     */function bitRotateLeft(num,cnt){return num<<cnt|num>>>32-cnt;}/*\n     * These functions implement the four basic operations the algorithm uses.\n     */function md5cmn(q,a,b,x,s,t){return safeAdd(bitRotateLeft(safeAdd(safeAdd(a,q),safeAdd(x,t)),s),b);}function md5ff(a,b,c,d,x,s,t){return md5cmn(b&c|~b&d,a,b,x,s,t);}function md5gg(a,b,c,d,x,s,t){return md5cmn(b&d|c&~d,a,b,x,s,t);}function md5hh(a,b,c,d,x,s,t){return md5cmn(b^c^d,a,b,x,s,t);}function md5ii(a,b,c,d,x,s,t){return md5cmn(c^(b|~d),a,b,x,s,t);}var _default=md5;exports[\"default\"]=_default;},{}],104:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=rng;// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation. Also,\n// find the complete implementation of crypto (msCrypto) on IE11.\nvar getRandomValues=typeof crypto!='undefined'&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!='undefined'&&typeof msCrypto.getRandomValues=='function'&&msCrypto.getRandomValues.bind(msCrypto);var rnds8=new Uint8Array(16);// eslint-disable-line no-undef\nfunction rng(){if(!getRandomValues){throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');}return getRandomValues(rnds8);}},{}],105:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;// Adapted from Chris Veness' SHA1 code at\n// http://www.movable-type.co.uk/scripts/sha1.html\nfunction f(s,x,y,z){switch(s){case 0:return x&y^~x&z;case 1:return x^y^z;case 2:return x&y^x&z^y&z;case 3:return x^y^z;}}function ROTL(x,n){return x<<n|x>>>32-n;}function sha1(bytes){var K=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];var H=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0];if(typeof bytes=='string'){var msg=unescape(encodeURIComponent(bytes));// UTF8 escape\nbytes=new Array(msg.length);for(var i=0;i<msg.length;i++)bytes[i]=msg.charCodeAt(i);}bytes.push(0x80);var l=bytes.length/4+2;var N=Math.ceil(l/16);var M=new Array(N);for(var i=0;i<N;i++){M[i]=new Array(16);for(var j=0;j<16;j++){M[i][j]=bytes[i*64+j*4]<<24|bytes[i*64+j*4+1]<<16|bytes[i*64+j*4+2]<<8|bytes[i*64+j*4+3];}}M[N-1][14]=(bytes.length-1)*8/Math.pow(2,32);M[N-1][14]=Math.floor(M[N-1][14]);M[N-1][15]=(bytes.length-1)*8&0xffffffff;for(var i=0;i<N;i++){var W=new Array(80);for(var t=0;t<16;t++)W[t]=M[i][t];for(var t=16;t<80;t++){W[t]=ROTL(W[t-3]^W[t-8]^W[t-14]^W[t-16],1);}var a=H[0];var b=H[1];var c=H[2];var d=H[3];var e=H[4];for(var t=0;t<80;t++){var s=Math.floor(t/20);var T=ROTL(a,5)+f(s,b,c,d)+e+K[s]+W[t]>>>0;e=d;d=c;c=ROTL(b,30)>>>0;b=a;a=T;}H[0]=H[0]+a>>>0;H[1]=H[1]+b>>>0;H[2]=H[2]+c>>>0;H[3]=H[3]+d>>>0;H[4]=H[4]+e>>>0;}return[H[0]>>24&0xff,H[0]>>16&0xff,H[0]>>8&0xff,H[0]&0xff,H[1]>>24&0xff,H[1]>>16&0xff,H[1]>>8&0xff,H[1]&0xff,H[2]>>24&0xff,H[2]>>16&0xff,H[2]>>8&0xff,H[2]&0xff,H[3]>>24&0xff,H[3]>>16&0xff,H[3]>>8&0xff,H[3]&0xff,H[4]>>24&0xff,H[4]>>16&0xff,H[4]>>8&0xff,H[4]&0xff];}var _default=sha1;exports[\"default\"]=_default;},{}],106:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;var _rng=_interopRequireDefault(require(\"./rng.js\"));var _bytesToUuid=_interopRequireDefault(require(\"./bytesToUuid.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nvar _nodeId;var _clockseq;// Previous uuid creation time\nvar _lastMSecs=0;var _lastNSecs=0;// See https://github.com/uuidjs/uuid for API details\nfunction v1(options,buf,offset){var i=buf&&offset||0;var b=buf||[];options=options||{};var node=options.node||_nodeId;var clockseq=options.clockseq!==undefined?options.clockseq:_clockseq;// node and clockseq need to be initialized to random values if they're not\n// specified.  We do this lazily to minimize issues related to insufficient\n// system entropy.  See #189\nif(node==null||clockseq==null){var seedBytes=options.random||(options.rng||_rng[\"default\"])();if(node==null){// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\nnode=_nodeId=[seedBytes[0]|0x01,seedBytes[1],seedBytes[2],seedBytes[3],seedBytes[4],seedBytes[5]];}if(clockseq==null){// Per 4.2.2, randomize (14 bit) clockseq\nclockseq=_clockseq=(seedBytes[6]<<8|seedBytes[7])&0x3fff;}}// UUID timestamps are 100 nano-second units since the Gregorian epoch,\n// (1582-10-15 00:00).  JSNumbers aren't precise enough for this, so\n// time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n// (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\nvar msecs=options.msecs!==undefined?options.msecs:new Date().getTime();// Per 4.2.1.2, use count of uuid's generated during the current clock\n// cycle to simulate higher resolution clock\nvar nsecs=options.nsecs!==undefined?options.nsecs:_lastNSecs+1;// Time since last uuid creation (in msecs)\nvar dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/10000;// Per 4.2.1.2, Bump clockseq on clock regression\nif(dt<0&&options.clockseq===undefined){clockseq=clockseq+1&0x3fff;}// Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n// time interval\nif((dt<0||msecs>_lastMSecs)&&options.nsecs===undefined){nsecs=0;}// Per 4.2.1.2 Throw error if too many uuids are requested\nif(nsecs>=10000){throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");}_lastMSecs=msecs;_lastNSecs=nsecs;_clockseq=clockseq;// Per 4.1.4 - Convert from unix epoch to Gregorian epoch\nmsecs+=12219292800000;// `time_low`\nvar tl=((msecs&0xfffffff)*10000+nsecs)%0x100000000;b[i++]=tl>>>24&0xff;b[i++]=tl>>>16&0xff;b[i++]=tl>>>8&0xff;b[i++]=tl&0xff;// `time_mid`\nvar tmh=msecs/0x100000000*10000&0xfffffff;b[i++]=tmh>>>8&0xff;b[i++]=tmh&0xff;// `time_high_and_version`\nb[i++]=tmh>>>24&0xf|0x10;// include version\nb[i++]=tmh>>>16&0xff;// `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\nb[i++]=clockseq>>>8|0x80;// `clock_seq_low`\nb[i++]=clockseq&0xff;// `node`\nfor(var n=0;n<6;++n){b[i+n]=node[n];}return buf?buf:(0,_bytesToUuid[\"default\"])(b);}var _default=v1;exports[\"default\"]=_default;},{\"./bytesToUuid.js\":101,\"./rng.js\":104}],107:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;var _v=_interopRequireDefault(require(\"./v35.js\"));var _md=_interopRequireDefault(require(\"./md5.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}var v3=(0,_v[\"default\"])('v3',0x30,_md[\"default\"]);var _default=v3;exports[\"default\"]=_default;},{\"./md5.js\":103,\"./v35.js\":108}],108:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=_default;exports.URL=exports.DNS=void 0;var _bytesToUuid=_interopRequireDefault(require(\"./bytesToUuid.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}function uuidToBytes(uuid){// Note: We assume we're being passed a valid uuid string\nvar bytes=[];uuid.replace(/[a-fA-F0-9]{2}/g,function(hex){bytes.push(parseInt(hex,16));});return bytes;}function stringToBytes(str){str=unescape(encodeURIComponent(str));// UTF8 escape\nvar bytes=new Array(str.length);for(var i=0;i<str.length;i++){bytes[i]=str.charCodeAt(i);}return bytes;}var DNS='6ba7b810-9dad-11d1-80b4-00c04fd430c8';exports.DNS=DNS;var URL='6ba7b811-9dad-11d1-80b4-00c04fd430c8';exports.URL=URL;function _default(name,version,hashfunc){var generateUUID=function generateUUID(value,namespace,buf,offset){var off=buf&&offset||0;if(typeof value=='string')value=stringToBytes(value);if(typeof namespace=='string')namespace=uuidToBytes(namespace);if(!Array.isArray(value))throw TypeError('value must be an array of bytes');if(!Array.isArray(namespace)||namespace.length!==16)throw TypeError('namespace must be uuid string or an Array of 16 byte values');// Per 4.3\nvar bytes=hashfunc(namespace.concat(value));bytes[6]=bytes[6]&0x0f|version;bytes[8]=bytes[8]&0x3f|0x80;if(buf){for(var idx=0;idx<16;++idx){buf[off+idx]=bytes[idx];}}return buf||(0,_bytesToUuid[\"default\"])(bytes);};// Function#name is not settable on some platforms (#270)\ntry{generateUUID.name=name;}catch(err){}// For CommonJS default export support\ngenerateUUID.DNS=DNS;generateUUID.URL=URL;return generateUUID;}},{\"./bytesToUuid.js\":101}],109:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;var _rng=_interopRequireDefault(require(\"./rng.js\"));var _bytesToUuid=_interopRequireDefault(require(\"./bytesToUuid.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}function v4(options,buf,offset){var i=buf&&offset||0;if(typeof options=='string'){buf=options==='binary'?new Array(16):null;options=null;}options=options||{};var rnds=options.random||(options.rng||_rng[\"default\"])();// Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\nrnds[6]=rnds[6]&0x0f|0x40;rnds[8]=rnds[8]&0x3f|0x80;// Copy bytes to buffer, if provided\nif(buf){for(var ii=0;ii<16;++ii){buf[i+ii]=rnds[ii];}}return buf||(0,_bytesToUuid[\"default\"])(rnds);}var _default=v4;exports[\"default\"]=_default;},{\"./bytesToUuid.js\":101,\"./rng.js\":104}],110:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});exports[\"default\"]=void 0;var _v=_interopRequireDefault(require(\"./v35.js\"));var _sha=_interopRequireDefault(require(\"./sha1.js\"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{\"default\":obj};}var v5=(0,_v[\"default\"])('v5',0x50,_sha[\"default\"]);var _default=v5;exports[\"default\"]=_default;},{\"./sha1.js\":105,\"./v35.js\":108}],111:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});var LRU_1=require(\"./utils/LRU\");var CACHE_SIZE=1000;/**\n     * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache]\n     */var EndpointCache=/** @class */function(){function EndpointCache(maxSize){if(maxSize===void 0){maxSize=CACHE_SIZE;}this.maxSize=maxSize;this.cache=new LRU_1.LRUCache(maxSize);};Object.defineProperty(EndpointCache.prototype,\"size\",{get:function get(){return this.cache.length;},enumerable:true,configurable:true});EndpointCache.prototype.put=function(key,value){var keyString=typeof key!=='string'?EndpointCache.getKeyString(key):key;var endpointRecord=this.populateValue(value);this.cache.put(keyString,endpointRecord);};EndpointCache.prototype.get=function(key){var keyString=typeof key!=='string'?EndpointCache.getKeyString(key):key;var now=Date.now();var records=this.cache.get(keyString);if(records){for(var i=records.length-1;i>=0;i--){var record=records[i];if(record.Expire<now){records.splice(i,1);}}if(records.length===0){this.cache.remove(keyString);return undefined;}}return records;};EndpointCache.getKeyString=function(key){var identifiers=[];var identifierNames=Object.keys(key).sort();for(var i=0;i<identifierNames.length;i++){var identifierName=identifierNames[i];if(key[identifierName]===undefined)continue;identifiers.push(key[identifierName]);}return identifiers.join(' ');};EndpointCache.prototype.populateValue=function(endpoints){var now=Date.now();return endpoints.map(function(endpoint){return{Address:endpoint.Address||'',Expire:now+(endpoint.CachePeriodInMinutes||1)*60*1000};});};EndpointCache.prototype.empty=function(){this.cache.empty();};EndpointCache.prototype.remove=function(key){var keyString=typeof key!=='string'?EndpointCache.getKeyString(key):key;this.cache.remove(keyString);};return EndpointCache;}();exports.EndpointCache=EndpointCache;},{\"./utils/LRU\":112}],112:[function(require,module,exports){\"use strict\";Object.defineProperty(exports,\"__esModule\",{value:true});var LinkedListNode=/** @class */function(){function LinkedListNode(key,value){this.key=key;this.value=value;}return LinkedListNode;}();var LRUCache=/** @class */function(){function LRUCache(size){this.nodeMap={};this.size=0;if(typeof size!=='number'||size<1){throw new Error('Cache size can only be positive number');}this.sizeLimit=size;}Object.defineProperty(LRUCache.prototype,\"length\",{get:function get(){return this.size;},enumerable:true,configurable:true});LRUCache.prototype.prependToList=function(node){if(!this.headerNode){this.tailNode=node;}else{this.headerNode.prev=node;node.next=this.headerNode;}this.headerNode=node;this.size++;};LRUCache.prototype.removeFromTail=function(){if(!this.tailNode){return undefined;}var node=this.tailNode;var prevNode=node.prev;if(prevNode){prevNode.next=undefined;}node.prev=undefined;this.tailNode=prevNode;this.size--;return node;};LRUCache.prototype.detachFromList=function(node){if(this.headerNode===node){this.headerNode=node.next;}if(this.tailNode===node){this.tailNode=node.prev;}if(node.prev){node.prev.next=node.next;}if(node.next){node.next.prev=node.prev;}node.next=undefined;node.prev=undefined;this.size--;};LRUCache.prototype.get=function(key){if(this.nodeMap[key]){var node=this.nodeMap[key];this.detachFromList(node);this.prependToList(node);return node.value;}};LRUCache.prototype.remove=function(key){if(this.nodeMap[key]){var node=this.nodeMap[key];this.detachFromList(node);delete this.nodeMap[key];}};LRUCache.prototype.put=function(key,value){if(this.nodeMap[key]){this.remove(key);}else if(this.size===this.sizeLimit){var tailNode=this.removeFromTail();var key_1=tailNode.key;delete this.nodeMap[key_1];}var newNode=new LinkedListNode(key,value);this.nodeMap[key]=newNode;this.prependToList(newNode);};LRUCache.prototype.empty=function(){var keys=Object.keys(this.nodeMap);for(var i=0;i<keys.length;i++){var key=keys[i];var node=this.nodeMap[key];this.detachFromList(node);delete this.nodeMap[key];}};return LRUCache;}();exports.LRUCache=LRUCache;},{}],113:[function(require,module,exports){// AWS SDK for JavaScript v2.1589.0\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt\nrequire('./browser_loader');var AWS=require('./core');if(typeof window!=='undefined')window.AWS=AWS;if(typeof module!=='undefined'){/**\n       * @api private\n       */module.exports=AWS;}if(typeof self!=='undefined')self.AWS=AWS;/**\n * @private\n * DO NOT REMOVE\n * browser builder will strip out this line if services are supplied on the command line.\n */if(!Object.prototype.hasOwnProperty.call(AWS,'Connect')){AWS.apiLoader.services['connect']={};AWS.Connect=AWS.Service.defineService('connect',['2017-02-15']);}AWS.apiLoader.services['connect']['2017-02-15']=require('../apis/connect-2017-02-15.min');},{\"../apis/connect-2017-02-15.min\":3,\"./browser_loader\":16,\"./core\":19}]},{},[113]);\n\n/***/ },\n\n/***/ 555\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n\n  /**---------------------------------------------------------------\n   * enum ClientMethods\n   */\n  connect.ClientMethods = connect.makeEnum(['getAgentSnapshot', 'putAgentState', 'getAgentStates', 'getDialableCountryCodes', 'getRoutingProfileQueues', 'getAgentPermissions', 'getAgentConfiguration', 'updateAgentConfiguration', 'acceptContact', 'createOutboundContact', 'createTaskContact', 'clearContact', 'completeContact', 'destroyContact', 'rejectContact', 'notifyContactIssue', 'updateContactAttributes', 'createAdditionalConnection', 'destroyConnection', 'holdConnection', 'resumeConnection', 'toggleActiveConnections', 'conferenceConnections', 'sendClientLogs', 'sendDigits', 'sendSoftphoneCallReport', 'sendSoftphoneCallMetrics', 'getEndpoints', 'getNewAuthToken', 'createTransport', 'muteParticipant', 'unmuteParticipant', 'updateMonitorParticipantState', 'pauseContact', 'resumeContact', 'addNewConnection', 'transferContact']);\n\n  /**---------------------------------------------------------------\n   * enum AgentAppClientMethods\n   */\n  connect.AgentAppClientMethods = {\n    GET_CONTACT: \"AgentAppService.Lcms.getContact\",\n    DELETE_SPEAKER: \"AgentAppService.VoiceId.deleteSpeaker\",\n    ENROLL_BY_SESSION: \"AgentAppService.VoiceId.enrollBySession\",\n    EVALUATE_SESSION: \"AgentAppService.VoiceId.evaluateSession\",\n    DESCRIBE_SPEAKER: \"AgentAppService.VoiceId.describeSpeaker\",\n    OPT_OUT_SPEAKER: \"AgentAppService.VoiceId.optOutSpeaker\",\n    UPDATE_VOICE_ID_DATA: \"AgentAppService.Lcms.updateVoiceIdData\",\n    DESCRIBE_SESSION: \"AgentAppService.VoiceId.describeSession\",\n    UPDATE_SESSION: \"AgentAppService.VoiceId.updateSession\",\n    START_VOICE_ID_SESSION: \"AgentAppService.Nasa.startVoiceIdSession\",\n    LIST_INTEGRATION_ASSOCIATIONS: \"AgentAppService.Acs.listIntegrationAssociations\"\n  };\n\n  /**---------------------------------------------------------------\n   * enum MasterMethods\n   */\n  connect.MasterMethods = connect.makeEnum(['becomeMaster', 'checkMaster']);\n\n  /**---------------------------------------------------------------\n   * enum TaskTemplatesClientMethods\n   */\n  connect.TaskTemplatesClientMethods = connect.makeEnum(['listTaskTemplates', 'getTaskTemplate', 'createTemplatedTask', 'updateContact']);\n\n  /**---------------------------------------------------------------\n   * enum ApiProxyClientMethods\n   */\n  connect.ApiProxyClientMethods = {\n    QR_INTEGRATION_EXISTS: 'qrIntegrationExists',\n    QR_SEARCH_QUICK_RESPONSES: 'qrSearchQuickResponses',\n    START_SCREEN_SHARING: \"startScreenSharing\"\n  },\n  /**---------------------------------------------------------------\n   * client methods that are retryable\n   */\n\n  connect.RetryableClientMethodsList = [connect.ClientMethods.GET_AGENT_SNAPSHOT, connect.ClientMethods.GET_AGENT_CONFIGURATION, connect.ClientMethods.GET_AGENT_PERMISSIONS, connect.ClientMethods.GET_AGENT_STATES, connect.ClientMethods.GET_DIALABLE_COUNTRY_CODES, connect.ClientMethods.GET_ROUTING_PROFILE_QUEUES];\n\n  /**---------------------------------------------------------------\n  * retry error types\n  */\n\n  connect.RetryableErrors = connect.makeEnum(['unauthorized', 'accessDenied']);\n\n  /**---------------------------------------------------------------\n   * retryStatus\n   */\n\n  connect.RetryStatus = connect.makeEnum(['retrying', 'exhausted', 'none']);\n\n  /**---------------------------------------------------------------\n   * abstract class ClientBase\n   */\n  var ClientBase = function ClientBase() {};\n  ClientBase.EMPTY_CALLBACKS = {\n    success: function success() {},\n    failure: function failure() {}\n  };\n  ClientBase.prototype.call = function (method, paramsIn, callbacksIn) {\n    connect.assertNotNull(method, 'method');\n    var params = paramsIn || {};\n    var callbacks = callbacksIn || ClientBase.EMPTY_CALLBACKS;\n    this._callImpl(method, params, callbacks);\n  };\n  ClientBase.prototype._callImpl = function (method, params, callbacks) {\n    throw new connect.NotImplementedError();\n  };\n\n  /**---------------------------------------------------------------\n   * class NullClient extends ClientBase\n   */\n  var NullClient = function NullClient() {\n    ClientBase.call(this);\n  };\n  NullClient.prototype = Object.create(ClientBase.prototype);\n  NullClient.prototype.constructor = NullClient;\n  NullClient.prototype._callImpl = function (method, params, callbacks) {\n    if (callbacks && callbacks.failure) {\n      var message = connect.sprintf('No such method exists on NULL client: %s', method);\n      callbacks.failure(new connect.ValueError(message), {\n        message: message\n      });\n    }\n  };\n\n  /**---------------------------------------------------------------\n   * abstract class UpstreamConduitClientBase extends ClientBase\n   */\n  var UpstreamConduitClientBase = function UpstreamConduitClientBase(conduit, requestEvent, responseEvent) {\n    ClientBase.call(this);\n    this.conduit = conduit;\n    this.requestEvent = requestEvent;\n    this.responseEvent = responseEvent;\n    this._requestIdCallbacksMap = {};\n    this.conduit.onUpstream(responseEvent, connect.hitch(this, this._handleResponse));\n  };\n  UpstreamConduitClientBase.prototype = Object.create(ClientBase.prototype);\n  UpstreamConduitClientBase.prototype.constructor = UpstreamConduitClientBase;\n  UpstreamConduitClientBase.prototype._callImpl = function (method, params, callbacks) {\n    var request = connect.EventFactory.createRequest(this.requestEvent, method, params);\n    this._requestIdCallbacksMap[request.requestId] = callbacks;\n    var methodsToSkip = [connect.ClientMethods.SEND_CLIENT_LOGS, connect.ClientMethods.SEND_SOFTPHONE_CALL_METRICS, connect.ClientMethods.SEND_SOFTPHONE_CALL_REPORT];\n    try {\n      if (request.event === connect.EventType.API_REQUEST && !methodsToSkip.includes(request.method)) {\n        connect.getLog().trace(\"Sending API_REQUEST event for \".concat(request.method, \" to upstream\")).withObject({\n          method: request.method,\n          params: request.params,\n          stack: new Error().stack\n        }).sendInternalLogToServer();\n      }\n    } catch (err) {\n      connect.getLog().error(\"Stack trace Log Failed\").withObject({\n        err: err\n      }).sendInternalLogToServer();\n    }\n    this.conduit.sendUpstream(request.event, request);\n  };\n  UpstreamConduitClientBase.prototype._getCallbacksForRequest = function (requestId) {\n    var callbacks = this._requestIdCallbacksMap[requestId] || null;\n    if (callbacks != null) {\n      delete this._requestIdCallbacksMap[requestId];\n    }\n    return callbacks;\n  };\n  UpstreamConduitClientBase.prototype._handleResponse = function (data) {\n    var callbacks = this._getCallbacksForRequest(data.requestId);\n    if (callbacks == null) {\n      return;\n    }\n    if (data.err && callbacks.failure) {\n      callbacks.failure(data.err, data.data);\n    } else if (callbacks.success) {\n      callbacks.success(data.data);\n    }\n  };\n\n  /**---------------------------------------------------------------\n   * class UpstreamConduitClient extends ClientBase\n   */\n  var UpstreamConduitClient = function UpstreamConduitClient(conduit) {\n    UpstreamConduitClientBase.call(this, conduit, connect.EventType.API_REQUEST, connect.EventType.API_RESPONSE);\n  };\n  UpstreamConduitClient.prototype = Object.create(UpstreamConduitClientBase.prototype);\n  UpstreamConduitClient.prototype.constructor = UpstreamConduitClient;\n\n  /**---------------------------------------------------------------\n   * class ApiProxyClient extends ClientBase\n   */\n  var ApiProxyClient = function ApiProxyClient() {\n    ClientBase.call(this);\n    var bus = connect.core.getEventBus();\n    bus.subscribe(connect.EventType.API_PROXY_RESPONSE, connect.hitch(this, this._handleResponse));\n    this._requestIdCallbacksMap = {};\n  };\n\n  /**\n   * An eventbus client/wrapper. Sends API_PROXY_REQUEST events and listens for API_PROXY_RESPONSE events.\n   */\n  ApiProxyClient.prototype = Object.create(ClientBase.prototype);\n  ApiProxyClient.prototype.constructor = ApiProxyClient;\n  ApiProxyClient.prototype._callImpl = function (method, params, callbacks) {\n    var request = connect.EventFactory.createRequest(connect.EventType.API_PROXY_REQUEST, method, params);\n    this._requestIdCallbacksMap[request.requestId] = callbacks;\n    connect.core.getEventBus().trigger(connect.EventType.API_PROXY_REQUEST, request); //sends to CCP listener\n  };\n  ApiProxyClient.prototype._getCallbacksForRequest = function (requestId) {\n    var callbacks = this._requestIdCallbacksMap[requestId] || null;\n    if (callbacks != null) {\n      delete this._requestIdCallbacksMap[requestId];\n    }\n    return callbacks;\n  };\n  ApiProxyClient.prototype._handleResponse = function (data) {\n    var callbacks = this._getCallbacksForRequest(data.requestId);\n    if (callbacks == null) {\n      return;\n    }\n    if (data.err && callbacks.failure) {\n      callbacks.failure(data.err, data.data);\n    } else if (callbacks.success) {\n      callbacks.success(data.data);\n    }\n  };\n\n  /**---------------------------------------------------------------\n   * class UpstreamConduitMasterClient extends ClientBase\n   */\n  var UpstreamConduitMasterClient = function UpstreamConduitMasterClient(conduit) {\n    UpstreamConduitClientBase.call(this, conduit, connect.EventType.MASTER_REQUEST, connect.EventType.MASTER_RESPONSE);\n  };\n  UpstreamConduitMasterClient.prototype = Object.create(UpstreamConduitClientBase.prototype);\n  UpstreamConduitMasterClient.prototype.constructor = UpstreamConduitMasterClient;\n\n  /**---------------------------------------------------------------\n   * class AWSClient extends ClientBase\n   */\n  var AWSClient = function AWSClient(authToken, region, endpointIn) {\n    connect.assertNotNull(authToken, 'authToken');\n    connect.assertNotNull(region, 'region');\n    ClientBase.call(this);\n    AWS.config.credentials = new AWS.Credentials({});\n    AWS.config.region = region;\n    this.authToken = authToken;\n    var baseUrl = connect.getBaseUrl();\n    var endpointUrl = endpointIn || (baseUrl.includes(\".awsapps.com\") ? baseUrl + '/connect/api' : baseUrl + '/api');\n    var endpoint = new AWS.Endpoint(endpointUrl);\n    this.client = new AWS.Connect({\n      endpoint: endpoint\n    });\n    this.unauthorizedFailCounter = 0;\n    this.accessDeniedFailCounter = 0;\n  };\n  AWSClient.prototype = Object.create(ClientBase.prototype);\n  AWSClient.prototype.constructor = AWSClient;\n  AWSClient.prototype._callImpl = function (method, params, callbacks) {\n    var self = this;\n    var log = connect.getLog();\n    if (!connect.contains(this.client, method)) {\n      var message = connect.sprintf('No such method exists on AWS client: %s', method);\n      callbacks.failure(new connect.ValueError(message), {\n        message: message\n      });\n    } else {\n      params = this._translateParams(method, params);\n\n      // only relatedContactId or previousContactId can exist\n      if (params && params.relatedContactId && params.relatedContactId !== null) {\n        if (params.previousContactId) {\n          delete params.previousContactId;\n        }\n      }\n      log.trace(\"AWSClient: --> Calling operation '%s'\", method).sendInternalLogToServer();\n      this.client[method](params).on('build', function (request) {\n        request.httpRequest.headers['X-Amz-Bearer'] = self.authToken;\n      }).send(function (err, data) {\n        try {\n          if (err) {\n            if (err.code === connect.CTIExceptions.UNAUTHORIZED_EXCEPTION || err.statusCode === 401) {\n              self._retryMethod(method, callbacks, err, data, connect.RetryableErrors.UNAUTHORIZED);\n            } else if (err.code === connect.CTIExceptions.ACCESS_DENIED_EXCEPTION || err.statusCode === 403) {\n              self._retryMethod(method, callbacks, err, data, connect.RetryableErrors.ACCESS_DENIED);\n            } else {\n              self.unauthorizedFailCounter = 0;\n              self.accessDeniedFailCounter = 0;\n              callbacks.failure(self._formatCallError(self._addStatusCodeToError(err)), data);\n            }\n            log.trace(\"AWSClient: <-- Operation '%s' failed: %s\", method, JSON.stringify(err)).sendInternalLogToServer();\n          } else {\n            var dataAttribute = {};\n            log.trace(\"AWSClient: <-- Operation '%s' succeeded.\", method).withObject(data).sendInternalLogToServer();\n            self.unauthorizedFailCounter = 0;\n            self.accessDeniedFailCounter = 0;\n            if (this.httpResponse && this.httpResponse.hasOwnProperty('body')) {\n              dataAttribute.contentLength = this.httpResponse.body.length;\n            }\n            callbacks.success(data, dataAttribute);\n          }\n        } catch (e) {\n          connect.getLog().error(\"Failed to handle AWS API request for method %s\", method).withException(e).sendInternalLogToServer();\n        }\n      });\n    }\n  };\n  AWSClient.prototype._isRetryableMethod = function (method) {\n    return connect.RetryableClientMethodsList.includes(method);\n  };\n  AWSClient.prototype._retryMethod = function (method, callbacks, err, data, retryableError) {\n    var self = this;\n    var log = connect.getLog();\n    var formatRetryError = function formatRetryError(err) {\n      return self._formatCallError(self._addStatusCodeToError(err));\n    };\n    var retryParams = {\n      maxCount: connect.core.MAX_UNAUTHORIZED_RETRY_COUNT,\n      failCounter: self.unauthorizedFailCounter,\n      increaseCounter: function increaseCounter() {\n        return self.unauthorizedFailCounter += 1;\n      },\n      resetCounter: function resetCounter() {\n        return self.unauthorizedFailCounter = 0;\n      },\n      errorMessage: 'unauthorized',\n      exhaustedRetries: self.unauthorizedFailCounter >= connect.core.MAX_UNAUTHORIZED_RETRY_COUNT,\n      retryCallback: function retryCallback(err, data) {\n        return callbacks.failure(formatRetryError(err), data);\n      },\n      defaultCallback: function defaultCallback(err, data) {\n        return callbacks.authFailure(formatRetryError(err), data);\n      }\n    };\n    switch (retryableError) {\n      case connect.RetryableErrors.UNAUTHORIZED:\n        break;\n      case connect.RetryableErrors.ACCESS_DENIED:\n        retryParams = _objectSpread(_objectSpread({}, retryParams), {}, {\n          maxCount: connect.core.MAX_ACCESS_DENIED_RETRY_COUNT,\n          failCounter: self.accessDeniedFailCounter,\n          increaseCounter: function increaseCounter() {\n            return self.accessDeniedFailCounter += 1;\n          },\n          resetCounter: function resetCounter() {\n            return self.accessDeniedFailCounter = 0;\n          },\n          errorMessage: 'access denied',\n          exhaustedRetries: self.accessDeniedFailCounter >= connect.core.MAX_ACCESS_DENIED_RETRY_COUNT,\n          defaultCallback: function defaultCallback(err, data) {\n            return callbacks.accessDenied(formatRetryError(err), data);\n          }\n        });\n        break;\n    }\n    var errWithRetry = _objectSpread(_objectSpread({}, err), {}, {\n      retryStatus: connect.RetryStatus.NONE\n    });\n    if (self._isRetryableMethod(method)) {\n      if (retryParams.exhaustedRetries) {\n        log.trace(\"AWSClient: <-- Operation \".concat(method, \" exhausted max \").concat(retryParams.maxCount, \" number of retries for \").concat(retryParams.errorMessage, \" error\")).sendInternalLogToServer();\n        retryParams.resetCounter();\n        errWithRetry = _objectSpread(_objectSpread({}, errWithRetry), {}, {\n          retryStatus: connect.RetryStatus.EXHAUSTED\n        });\n      } else {\n        log.trace(\"AWSClient: <-- Operation \".concat(method, \" failed with \").concat(retryParams.errorMessage, \" error. Retrying call for a \").concat(retryParams.failCounter + 1, \" time\")).sendInternalLogToServer();\n        retryParams.increaseCounter();\n        errWithRetry = _objectSpread(_objectSpread({}, errWithRetry), {}, {\n          retryStatus: connect.RetryStatus.RETRYING\n        });\n        retryParams.retryCallback(errWithRetry, data);\n        return;\n      }\n    } else {\n      log.trace(\"AWSClient: <-- Operation \".concat(method, \" failed: \").concat(JSON.stringify(err))).sendInternalLogToServer();\n    }\n    retryParams.defaultCallback(errWithRetry, data);\n    return;\n  };\n\n  // Can't pass err directly to postMessage\n  // postMessage() tries to clone the err object and failed.\n  // Refer to https://github.com/goatslacker/alt-devtool/issues/5\n  AWSClient.prototype._formatCallError = function (err) {\n    var error = _objectSpread({\n      type: err.code,\n      message: err.message,\n      stack: [],\n      retryStatus: err.retryStatus || connect.RetryStatus.NONE\n    }, err.statusCode && {\n      statusCode: err.statusCode\n    });\n    if (err.stack) {\n      try {\n        if (Array.isArray(err.stack)) {\n          error.stack = err.stack;\n        } else if (_typeof(err.stack) === 'object') {\n          error.stack = [JSON.stringify(err.stack)];\n        } else if (typeof err.stack === 'string') {\n          error.stack = err.stack.split('\\n');\n        }\n      } finally {}\n    }\n    return error;\n  };\n  AWSClient.prototype._addStatusCodeToError = function (err) {\n    if (err.statusCode) return err;\n    var error = _objectSpread({}, err);\n    if (!err.code) {\n      error.statusCode = 400;\n    } else {\n      // TODO: add more here\n      switch (error.code) {\n        case connect.CTIExceptions.UNAUTHORIZED_EXCEPTION:\n          error.statusCode = 401;\n          break;\n        case connect.CTIExceptions.ACCESS_DENIED_EXCEPTION:\n          error.statusCode = 403;\n          break;\n      }\n    }\n    return error;\n  };\n  AWSClient.prototype._requiresAuthenticationParam = function (method) {\n    return method !== connect.ClientMethods.COMPLETE_CONTACT && method !== connect.ClientMethods.CLEAR_CONTACT && method !== connect.ClientMethods.REJECT_CONTACT && method !== connect.ClientMethods.CREATE_TASK_CONTACT && method !== connect.ClientMethods.UPDATE_MONITOR_PARTICIPANT_STATE && method !== connect.ClientMethods.PAUSE_CONTACT && method !== connect.ClientMethods.RESUME_CONTACT && method !== connect.ClientMethods.ADD_NEW_CONNECTION && method !== connect.ClientMethods.TRANSFER_CONTACT;\n  };\n  AWSClient.prototype._translateParams = function (method, params) {\n    switch (method) {\n      case connect.ClientMethods.UPDATE_AGENT_CONFIGURATION:\n        params.configuration = this._translateAgentConfiguration(params.configuration);\n        break;\n      case connect.ClientMethods.SEND_SOFTPHONE_CALL_METRICS:\n        params.softphoneStreamStatistics = this._translateSoftphoneStreamStatistics(params.softphoneStreamStatistics);\n        break;\n      case connect.ClientMethods.SEND_SOFTPHONE_CALL_REPORT:\n        params.report = this._translateSoftphoneCallReport(params.report);\n        break;\n      default:\n        break;\n    }\n    if (this._requiresAuthenticationParam(method)) {\n      params.authentication = {\n        authToken: this.authToken\n      };\n    }\n    return params;\n  };\n  AWSClient.prototype._translateAgentConfiguration = function (config) {\n    return {\n      name: config.name,\n      softphoneEnabled: config.softphoneEnabled,\n      softphoneAutoAccept: config.softphoneAutoAccept,\n      extension: config.extension,\n      routingProfile: this._translateRoutingProfile(config.routingProfile),\n      agentPreferences: config.agentPreferences,\n      voiceEnhancementMode: config.voiceEnhancementMode\n    };\n  };\n  AWSClient.prototype._translateRoutingProfile = function (profile) {\n    return {\n      name: profile.name,\n      routingProfileARN: profile.routingProfileARN,\n      defaultOutboundQueue: this._translateQueue(profile.defaultOutboundQueue)\n    };\n  };\n  AWSClient.prototype._translateQueue = function (queue) {\n    return {\n      queueARN: queue.queueARN,\n      name: queue.name\n    };\n  };\n  AWSClient.prototype._translateSoftphoneStreamStatistics = function (stats) {\n    stats.forEach(function (stat) {\n      if ('packetsCount' in stat) {\n        stat.packetCount = stat.packetsCount;\n        delete stat.packetsCount;\n      }\n    });\n    return stats;\n  };\n  AWSClient.prototype._translateSoftphoneCallReport = function (report) {\n    if ('handshakingTimeMillis' in report) {\n      report.handshakeTimeMillis = report.handshakingTimeMillis;\n      delete report.handshakingTimeMillis;\n    }\n    if ('preTalkingTimeMillis' in report) {\n      report.preTalkTimeMillis = report.preTalkingTimeMillis;\n      delete report.preTalkingTimeMillis;\n    }\n    if ('handshakingFailure' in report) {\n      report.handshakeFailure = report.handshakingFailure;\n      delete report.handshakingFailure;\n    }\n    if ('talkingTimeMillis' in report) {\n      report.talkTimeMillis = report.talkingTimeMillis;\n      delete report.talkingTimeMillis;\n    }\n    report.softphoneStreamStatistics = this._translateSoftphoneStreamStatistics(report.softphoneStreamStatistics);\n    return report;\n  };\n  connect.ClientBase = ClientBase;\n  connect.NullClient = NullClient;\n  connect.UpstreamConduitClient = UpstreamConduitClient;\n  connect.ApiProxyClient = ApiProxyClient;\n  connect.UpstreamConduitMasterClient = UpstreamConduitMasterClient;\n  connect.AWSClient = AWSClient;\n})();\n\n/***/ },\n\n/***/ 399\n(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _createForOfIteratorHelper(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t[\"return\"] || t[\"return\"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }\nfunction _possibleConstructorReturn(t, e) { if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e; if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\"); return _assertThisInitialized(t); }\nfunction _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); return e; }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\nfunction _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }\nfunction _inherits(t, e) { if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, \"prototype\", { writable: !1 }), e && _setPrototypeOf(t, e); }\nfunction _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  connect.core = {};\n  connect.globalResiliency = connect.globalResiliency || {};\n  connect.core.initialized = false;\n  connect.version = \"2.31.1\";\n  connect.outerContextStreamsVersion = null;\n  connect.initCCPParams = null;\n  connect.containerDiv = null;\n  connect.DEFAULT_BATCH_SIZE = 500;\n\n  // NOTE: These constants are currently also set in the global-resiliency file.\n  // Until a solution is found, changes to these values should be done there as well.\n  var CCP_SYN_TIMEOUT = 1000; // 1 sec\n  var CCP_ACK_TIMEOUT = 3000; // 3 sec\n  var CCP_LOAD_TIMEOUT = 5000; // 5 sec\n  var CCP_IFRAME_REFRESH_INTERVAL = 5000; // 5 sec\n  var CCP_IFRAME_REFRESH_LIMIT = 10; // 10 attempts\n  var CCP_IFRAME_NAME = 'Amazon Connect CCP';\n  var LEGACY_LOGIN_URL_PATTERN = \"https://{alias}.awsapps.com/auth/?client_id={client_id}&redirect_uri={redirect}\";\n  var CLIENT_ID_MAP = {\n    \"us-east-1\": \"06919f4fd8ed324e\"\n  };\n  var AUTHORIZE_ENDPOINT = \"/auth/authorize\";\n  var LEGACY_AUTHORIZE_ENDPOINT = \"/connect/auth/authorize\";\n  var AUTHORIZE_RETRY_INTERVAL = 2000;\n  var AUTHORIZE_MAX_RETRY = 5;\n  var LEGACY_WHITELISTED_ORIGINS_ENDPOINT = \"/connect/whitelisted-origins\";\n  var WHITELISTED_ORIGINS_ENDPOINT = \"/whitelisted-origins\";\n  var WHITELISTED_ORIGINS_RETRY_INTERVAL = 2000;\n  var WHITELISTED_ORIGINS_MAX_RETRY = 5;\n  var CSM_IFRAME_REFRESH_ATTEMPTS = 'IframeRefreshAttempts';\n  var CSM_IFRAME_INITIALIZATION_SUCCESS = 'IframeInitializationSuccess';\n  var CSM_IFRAME_INITIALIZATION_TIME = 'IframeInitializationTime';\n  var CSM_SET_RINGER_DEVICE_BEFORE_INIT = 'SetRingerDeviceBeforeInitRingtoneEngine';\n  var CONNECTED_CCPS_SINGLE_TAB = 'ConnectedCCPSingleTabCount';\n  var CCP_TABS_ACROSS_BROWSER_COUNT = 'CCPTabsAcrossBrowserCount';\n  var CHECK_LOGIN_POPUP_INTERVAL_MS = 1000;\n  var APP = {\n    GUIDES: 'customviews'\n  };\n  var inactiveContactState = ['ended', 'missed', 'error', 'rejected', 'acw'];\n  connect.numberOfConnectedCCPs = 0;\n  connect.numberOfConnectedCCPsInThisTab = 0;\n  connect.core.MAX_AUTHORIZE_RETRY_COUNT_FOR_SESSION = 3;\n  connect.core.MAX_CTI_AUTH_RETRY_COUNT = 10;\n  connect.core.ctiAuthRetryCount = 0;\n  connect.core.authorizeTimeoutId = null;\n  connect.core.ctiTimeoutId = null;\n  // getSnapshot retries every 5 seconds on failure\n  // this max retry value will issues retries within a 2 minute window\n  connect.core.MAX_UNAUTHORIZED_RETRY_COUNT = 20;\n  // access denied\n  connect.core.MAX_ACCESS_DENIED_RETRY_COUNT = 10;\n  connect.core.endedEventTracker = new Set();\n\n  /*----------------------------------------------------------------\n   * enum SessionStorageKeys\n   */\n  connect.SessionStorageKeys = connect.makeEnum(['tab_id', 'authorize_retry_count']);\n\n  /**\n   * Replaces `createLoginUrl`, as that function's name was misleading.\n   * The `params.alias` parameter is deprecated. Please refrain from using it.\n   */\n  var getLoginUrl = function getLoginUrl(params) {\n    var redirect = \"https://lily.us-east-1.amazonaws.com/taw/auth/code\";\n    connect.assertNotNull(redirect);\n    if (params.loginUrl) {\n      return params.loginUrl;\n    } else if (params.alias) {\n      log.warn(\"The `alias` param is deprecated and should not be expected to function properly. Please use `ccpUrl` or `loginUrl`. See https://github.com/amazon-connect/amazon-connect-streams/blob/master/README.md#connectcoreinitccp for valid parameters.\");\n      return LEGACY_LOGIN_URL_PATTERN.replace(\"{alias}\", params.alias).replace(\"{client_id}\", CLIENT_ID_MAP[\"us-east-1\"]).replace(\"{redirect}\", global.encodeURIComponent(redirect));\n    } else {\n      return params.ccpUrl;\n    }\n  };\n\n  /**\n   * baseParamsStorage. Base class to store params of other modules in local storage\n   * Used mainly for cases where embedded CCP gets refreshed.\n   * (not appending to connect core namespace\n   *  as we want to limit scope to use by internal functions for now)\n   * @returns {Object}\n   */\n  var BaseParamsStorage = /*#__PURE__*/function () {\n    function BaseParamsStorage(moduleName) {\n      _classCallCheck(this, BaseParamsStorage);\n      this.key = \"\".concat(moduleName, \"ParamsStorage::\").concat(global.location.origin);\n    }\n    return _createClass(BaseParamsStorage, [{\n      key: \"get\",\n      value: function get() {\n        try {\n          var item = global.localStorage.getItem(this.key);\n          return item && JSON.parse(item);\n        } catch (e) {\n          connect.getLog().error(\"\".concat(this.key, \":: Failed to get softphone params from local storage!\")).withException(e).sendInternalLogToServer();\n        }\n        return null;\n      }\n    }, {\n      key: \"set\",\n      value: function set(value) {\n        try {\n          value && global.localStorage.setItem(this.key, JSON.stringify(value));\n        } catch (e) {\n          connect.getLog().error(\"\".concat(this.key, \":: Failed to set softphone params to local storage!\")).withException(e).sendInternalLogToServer();\n        }\n      }\n    }, {\n      key: \"clean\",\n      value: function clean() {\n        global.localStorage.removeItem(this.key);\n      }\n    }]);\n  }();\n  /**\n   * softphoneParamsStorage module to store necessary softphone params in local storage\n   * Used mainly for cases where embedded CCP gets refreshed.\n   * @returns {Object}\n   */\n  var SoftphoneParamsStorage = /*#__PURE__*/function (_BaseParamsStorage) {\n    function SoftphoneParamsStorage() {\n      _classCallCheck(this, SoftphoneParamsStorage);\n      return _callSuper(this, SoftphoneParamsStorage, ['Softphone']);\n    }\n    _inherits(SoftphoneParamsStorage, _BaseParamsStorage);\n    return _createClass(SoftphoneParamsStorage);\n  }(BaseParamsStorage);\n  var softphoneParamsStorage = new SoftphoneParamsStorage();\n\n  /**\n   * ringtoneParamsStorage module to store necessary ringtone params in local storage\n   * Used mainly for cases where embedded CCP gets refreshed.\n   * @returns {Object}\n   */\n  var RingtoneParamsStorage = /*#__PURE__*/function (_BaseParamsStorage2) {\n    function RingtoneParamsStorage() {\n      _classCallCheck(this, RingtoneParamsStorage);\n      return _callSuper(this, RingtoneParamsStorage, ['Ringtone']);\n    }\n    _inherits(RingtoneParamsStorage, _BaseParamsStorage2);\n    return _createClass(RingtoneParamsStorage);\n  }(BaseParamsStorage);\n  var ringtoneParamsStorage = new RingtoneParamsStorage();\n\n  /**-------------------------------------------------------------------------\n   * Returns scheme://host:port for a given url\n   */\n  function sanitizeDomain(url) {\n    var domain = url.match(/^(?:https?:\\/\\/)?(?:[^@\\n]+@)?(?:www\\.)?([^:\\/\\n?]+)/ig);\n    return domain.length ? domain[0] : \"\";\n  }\n\n  /**-------------------------------------------------------------------------\n   * Print a warning message if the Connect core is not initialized.\n   */\n  connect.core.checkNotInitialized = function () {\n    if (connect.core.initialized) {\n      var log = connect.getLog();\n      log.warn(\"Connect core already initialized, only needs to be initialized once.\").sendInternalLogToServer();\n    }\n  };\n\n  /**\n   * Terminates a customviews application. \n   * This function locates the iframe generated by agentApp.initApp for a custom view using the iframeSuffix if provided, posts a termination message to it, hides it, and then stops\n   * the application associated with that view in the AppRegistry. Will default to terminating a customviews application with iframeId=\"customviews\" if iframeSuffix is not provided\n   * \n   * @param {string} connectUrl - The URL to which the termination message is posted.\n   * @param {string} iframeSuffix - The suffix of the customviews iframe to be terminated.\n   * @param {TerminateCustomViewOptions} - Options around controlling the iframe's resolution behavior.\n   */\n  connect.core.terminateCustomView = function (connectUrl) {\n    var _connect$agentApp$App;\n    var iframeSuffix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n    var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n      _ref$resolveIframe = _ref.resolveIframe,\n      resolveIframe = _ref$resolveIframe === void 0 ? true : _ref$resolveIframe,\n      _ref$timeout = _ref.timeout,\n      timeout = _ref$timeout === void 0 ? 5000 : _ref$timeout,\n      _ref$hideIframe = _ref.hideIframe,\n      hideIframe = _ref$hideIframe === void 0 ? true : _ref$hideIframe;\n    var appName;\n    var getIframe = function getIframe(appName, containerDOM, iframeIdSelector) {\n      return (containerDOM === null || containerDOM === void 0 ? void 0 : containerDOM.querySelector(iframeIdSelector)) || document.getElementById(appName) || window.top.document.getElementById(appName);\n    };\n    if (!iframeSuffix) {\n      appName = \"\".concat(APP.GUIDES);\n    } else {\n      appName = \"\".concat(APP.GUIDES).concat(iframeSuffix);\n    }\n    var containerDOM = (_connect$agentApp$App = connect.agentApp.AppRegistry.get(appName)) === null || _connect$agentApp$App === void 0 ? void 0 : _connect$agentApp$App.containerDOM;\n    var iframeIdSelector = \"iframe[id='\".concat(appName, \"']\");\n    var iframe = getIframe(appName, containerDOM, iframeIdSelector);\n    if (!iframe) {\n      console.warn('[CustomViews] terminateCustomView operation failed due to iframe not found');\n      return;\n    }\n    try {\n      var message = {\n        topic: 'lifecycle.terminated'\n      };\n      iframe.contentWindow.postMessage(message, connectUrl);\n      if (resolveIframe) {\n        if (hideIframe) {\n          iframe.style.display = 'none';\n        }\n        ;\n        console.info('[CustomViews] customviews iframe hidden for resolution during termination');\n        setTimeout(function () {\n          connect.agentApp.stopApp(appName);\n          var iframe = getIframe(appName, containerDOM, iframeIdSelector);\n          if (!iframe) {\n            console.info('[CustomViews] customviews application successfully stopped');\n          } else {\n            console.warn('[CustomViews] customviews application did not stop successfully in terminateCustomView operation');\n          }\n        }, timeout);\n      }\n    } catch (error) {\n      throw new Error('[CustomViews] Error in terminateCustomView: ', error);\n    }\n  };\n\n  /**-------------------------------------------------------------------------\n   * Initialized AWS client\n   * Should be used by Shared Worker to update AWS client with new credentials\n   * after refreshed authentication.\n   */\n  connect.core.initClient = function (params) {\n    connect.assertNotNull(params, 'params');\n    var authToken = connect.assertNotNull(params.authToken, 'params.authToken');\n    var region = connect.assertNotNull(params.region, 'params.region');\n    var endpoint = params.endpoint || null;\n    connect.core.client = new connect.AWSClient(authToken, region, endpoint);\n  };\n\n  /**-------------------------------------------------------------------------\n   * Uninitialize Connect.\n   */\n  connect.core.terminate = function () {\n    connect.core.client = new connect.NullClient();\n    connect.core.apiProxyClient = new connect.NullClient();\n    connect.core.masterClient = new connect.NullClient();\n    var bus = connect.core.getEventBus();\n    if (bus) bus.unsubscribeAll();\n    connect.core.bus = new connect.EventBus();\n    connect.core.agentDataProvider = null;\n    connect.core.softphoneManager = null;\n    connect.core.upstream = null;\n    connect.core.keepaliveManager = null;\n    connect.storageAccess.resetStorageAccessState();\n    connect.agent.initialized = false;\n    connect.core.initialized = false;\n  };\n\n  /**-------------------------------------------------------------------------\n   * Setup the SoftphoneManager to be initialized when the agent\n   * is determined to have softphone enabled.\n   */\n  connect.core.softphoneUserMediaStream = null;\n  connect.core.setSoftphoneUserMediaStream = function (stream) {\n    connect.core.softphoneUserMediaStream = stream;\n  };\n  connect.core.initRingtoneEngines = function (params, _setRingerDevice) {\n    connect.getLog().info(\"[Ringtone Engine] initRingtoneEngine started\").withObject({\n      params: params\n    }).sendInternalLogToServer();\n    connect.assertNotNull(params, \"params\");\n    var setRingerDeviceFunc = _setRingerDevice || setRingerDevice;\n    var setupRingtoneEngines = function setupRingtoneEngines(ringtoneSettings) {\n      connect.assertNotNull(ringtoneSettings, \"ringtoneSettings\");\n      connect.assertNotNull(ringtoneSettings.voice, \"ringtoneSettings.voice\");\n      connect.assertTrue(ringtoneSettings.voice.ringtoneUrl || ringtoneSettings.voice.disabled, \"ringtoneSettings.voice.ringtoneUrl must be provided or ringtoneSettings.voice.disabled must be true\");\n      connect.assertNotNull(ringtoneSettings.queue_callback, \"ringtoneSettings.queue_callback\");\n      connect.assertTrue(ringtoneSettings.queue_callback.ringtoneUrl || ringtoneSettings.queue_callback.disabled, \"ringtoneSettings.voice.ringtoneUrl must be provided or ringtoneSettings.queue_callback.disabled must be true\");\n      connect.core.ringtoneEngines = {};\n      connect.agent(function (agent) {\n        agent.onRefresh(function () {\n          connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n            var isInitializedAnyEngine = false;\n            if (!ringtoneSettings.voice.disabled && !connect.core.ringtoneEngines.voice) {\n              connect.core.ringtoneEngines.voice = new connect.VoiceRingtoneEngine(ringtoneSettings.voice);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"VoiceRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.additionalVoice.disabled && !connect.core.ringtoneEngines.additionalVoice) {\n              connect.core.ringtoneEngines.additionalVoice = new connect.AdditionalVoiceRingtoneEngine(ringtoneSettings.additionalVoice);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"AdditionalVoiceRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.chat.disabled && !connect.core.ringtoneEngines.chat) {\n              connect.core.ringtoneEngines.chat = new connect.ChatRingtoneEngine(ringtoneSettings.chat);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"ChatRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.task.disabled && !connect.core.ringtoneEngines.task) {\n              connect.core.ringtoneEngines.task = new connect.TaskRingtoneEngine(ringtoneSettings.task);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"TaskRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.email.disabled && !connect.core.ringtoneEngines.email) {\n              connect.core.ringtoneEngines.email = new connect.EmailRingtoneEngine(ringtoneSettings.email);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"EmailRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.queue_callback.disabled && !connect.core.ringtoneEngines.queue_callback) {\n              connect.core.ringtoneEngines.queue_callback = new connect.QueueCallbackRingtoneEngine(ringtoneSettings.queue_callback);\n              isInitializedAnyEngine = true;\n              connect.getLog().info(\"QueueCallbackRingtoneEngine initialized.\").sendInternalLogToServer();\n            }\n            if (!ringtoneSettings.autoAcceptTone.disabled && !connect.core.ringtoneEngines.autoAccept) {\n              connect.core.ringtoneEngines.autoAccept = new connect.AutoAcceptedRingtoneEngine(ringtoneSettings.autoAcceptTone);\n              isInitializedAnyEngine = true;\n              connect.getLog().info('AutoAcceptedRingtoneEngine initialized.').sendInternalLogToServer();\n            }\n\n            // Once any of the Ringtone Engines are initialized, set ringer device with latest device id from _ringerDeviceId.\n            if (isInitializedAnyEngine && connect.core._ringerDeviceId) {\n              setRingerDeviceFunc({\n                deviceId: connect.core._ringerDeviceId\n              });\n            }\n          });\n        });\n      });\n      handleRingerDeviceChange();\n    };\n    var mergeParams = function mergeParams(params, otherParams) {\n      // For backwards compatibility: support pulling disabled flag and ringtoneUrl\n      // from softphone config if it exists from downstream into the ringtone config.\n      params.ringtone = params.ringtone || {};\n      params.ringtone.voice = params.ringtone.voice || {};\n      params.ringtone.additionalVoice = params.ringtone.additionalVoice || {};\n      params.ringtone.queue_callback = params.ringtone.queue_callback || {};\n      params.ringtone.chat = params.ringtone.chat || {\n        disabled: true\n      };\n      params.ringtone.task = params.ringtone.task || {\n        disabled: true\n      };\n      params.ringtone.email = params.ringtone.email || {\n        disabled: true\n      };\n      params.ringtone.autoAcceptTone = params.ringtone.autoAcceptTone || {\n        disabled: true\n      };\n      if (otherParams.softphone) {\n        if (otherParams.softphone.disableRingtone) {\n          params.ringtone.voice.disabled = true;\n          params.ringtone.additionalVoice.disabled = true;\n          params.ringtone.queue_callback.disabled = true;\n        }\n        if (otherParams.softphone.ringtoneUrl) {\n          params.ringtone.voice.ringtoneUrl = otherParams.softphone.ringtoneUrl;\n          params.ringtone.queue_callback.ringtoneUrl = otherParams.softphone.ringtoneUrl;\n        }\n      }\n      if (otherParams.chat) {\n        if (otherParams.chat.disableRingtone) {\n          params.ringtone.chat.disabled = true;\n        }\n        if (otherParams.chat.ringtoneUrl) {\n          params.ringtone.chat.ringtoneUrl = otherParams.chat.ringtoneUrl;\n        }\n      }\n      if (otherParams.task) {\n        if (otherParams.task.disableRingtone) {\n          params.ringtone.task.disabled = true;\n        }\n        if (otherParams.task.ringtoneUrl) {\n          params.ringtone.task.ringtoneUrl = otherParams.task.ringtoneUrl;\n        }\n      }\n      if (otherParams.email) {\n        if (otherParams.email.disableRingtone) {\n          params.ringtone.email.disabled = true;\n        }\n        if (otherParams.email.ringtoneUrl) {\n          params.ringtone.email.ringtoneUrl = otherParams.email.ringtoneUrl;\n        }\n      }\n      if (otherParams.autoAcceptTone) {\n        if (otherParams.autoAcceptTone.disableRingtone) {\n          params.ringtone.autoAcceptTone.disabled = true;\n        }\n        if (otherParams.autoAcceptTone.ringtoneUrl) {\n          params.ringtone.autoAcceptTone.ringtoneUrl = otherParams.autoAcceptTone.ringtoneUrl;\n        }\n      }\n\n      // Merge in ringtone settings from downstream.\n      if (otherParams.ringtone) {\n        params.ringtone.voice = connect.merge(params.ringtone.voice, otherParams.ringtone.voice || {});\n        params.ringtone.additionalVoice = connect.merge(params.ringtone.additionalVoice, otherParams.ringtone.additionalVoice || {});\n        params.ringtone.queue_callback = connect.merge(params.ringtone.queue_callback, otherParams.ringtone.voice || {});\n        params.ringtone.chat = connect.merge(params.ringtone.chat, otherParams.ringtone.chat || {});\n        params.ringtone.task = connect.merge(params.ringtone.task, otherParams.ringtone.task || {});\n        params.ringtone.email = connect.merge(params.ringtone.email, otherParams.ringtone.email || {});\n        params.ringtone.autoAcceptTone = connect.merge(params.ringtone.autoAcceptTone, otherParams.ringtone.autoAcceptTone || {});\n      }\n    };\n\n    // Merge params from params.softphone and params.chat and params.task into params.ringtone\n    // for embedded and non-embedded use cases so that defaults are picked up.\n    mergeParams(params, params);\n\n    /**\n     * If the window is iFramed, then we need to wait for a CONFIGURE message\n     * from downstream, before we initialize the ringtone engine.\n     * All other use cases don't wait for the CONFIGURE message.\n     */\n    if (connect.isFramed()) {\n      var configureMessageTimer; // used for re-initializing the ringtone engine\n      var bus = connect.core.getEventBus();\n\n      // CONFIGURE handler triggers ringtone engine initialization\n      // this event is propagated by initCCP call from the end customer\n      bus.subscribe(connect.EventType.CONFIGURE, function (data) {\n        global.clearTimeout(configureMessageTimer); // we don't need to re-init ringtone engine as we recieved configure event\n        connect.getLog().info(\"[Ringtone Engine] Configure event handler executed\").sendInternalLogToServer();\n        this.unsubscribe();\n        // Merge all params from data into params for any overridden\n        // values in either legacy \"softphone\" or \"ringtone\" settings.\n        mergeParams(params, data);\n\n        // overwrite/store ringtone params on a configure event\n        ringtoneParamsStorage.set(params.ringtone);\n        setupRingtoneEngines(params.ringtone);\n      });\n\n      /**\n       * This is the case where CCP is just refreshed after it gets initialized via initCCP\n       * This snippet needs at least one initCCP invocation which sets the params to the store\n       * and waits for CCP to load succesfully to apply the same to setup ringtone engine\n       */\n      var ringtoneParamsFromLocalStorage = ringtoneParamsStorage.get();\n      if (ringtoneParamsFromLocalStorage) {\n        connect.core.getUpstream().onUpstream(connect.EventType.ACKNOWLEDGE, function (args) {\n          // only care about shared worker ACK which indicates CCP successfull load\n          var ackFromSharedWorker = args && args.id;\n          if (ackFromSharedWorker) {\n            connect.getLog().info(\"[RingtoneEngine] Embedded CCP is refreshed successfully and waiting for configure Message handler to execute\").sendInternalLogToServer();\n            this.unsubscribe();\n            configureMessageTimer = global.setTimeout(function () {\n              connect.getLog().info(\"[RingtoneEngine] Embedded CCP is refreshed without configure message & Initializing setupRingtoneEngines (Ringtone Engine) from localStorage ringtone params. \").withObject({\n                ringtone: ringtoneParamsFromLocalStorage\n              }).sendInternalLogToServer();\n              setupRingtoneEngines(ringtoneParamsFromLocalStorage);\n\n              // 100 ms is from the time it takes to execute few lines of JS code to trigger the configure event (this is done in initCCP)\n              // which is in fraction of milisecond.  so to be on the safer side we are keeping it to be 100\n              // this number is pulled from performance.now() calculations.\n            }, 100);\n          }\n        });\n      }\n    } else {\n      setupRingtoneEngines(params.ringtone);\n    }\n  };\n  var handleRingerDeviceChange = function handleRingerDeviceChange() {\n    var bus = connect.core.getEventBus();\n    bus.subscribe(connect.ConfigurationEvents.SET_RINGER_DEVICE, setRingerDevice);\n  };\n  var setRingerDevice = function setRingerDevice() {\n    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var deviceId = data.deviceId || '';\n    connect.getLog().info(\"[Audio Device Settings] Attempting to set ringer device \".concat(deviceId)).sendInternalLogToServer();\n    if (connect.keys(connect.core.ringtoneEngines).length === 0) {\n      connect.getLog().info(\"[Audio Device Settings] setRingerDevice called before ringtone engine is initialized\").sendInternalLogToServer();\n      if (deviceId) {\n        connect.core._ringerDeviceId = deviceId;\n        connect.getLog().warn(\"[Audio Device Settings] stored device Id for later use, once ringtone engine is up.\").sendInternalLogToServer();\n        connect.publishMetric({\n          name: CSM_SET_RINGER_DEVICE_BEFORE_INIT,\n          data: {\n            count: 1\n          }\n        });\n      }\n      return;\n    }\n    if (!deviceId) {\n      connect.getLog().warn(\"[Audio Device Settings] Setting ringer device cancelled due to missing deviceId\").sendInternalLogToServer();\n      return;\n    }\n    var _loop = function _loop(ringtoneType) {\n      connect.core.ringtoneEngines[ringtoneType].setOutputDevice(deviceId).then(function (res) {\n        connect.getLog().info(\"[Audio Device Settings] ringtoneType \".concat(ringtoneType, \" successfully set to deviceid \").concat(res)).sendInternalLogToServer();\n      })[\"catch\"](function (err) {\n        connect.getLog().error(err);\n      });\n    };\n    for (var ringtoneType in connect.core.ringtoneEngines) {\n      _loop(ringtoneType);\n    }\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ConfigurationEvents.RINGER_DEVICE_CHANGED,\n      data: {\n        deviceId: deviceId\n      }\n    });\n  };\n  connect.core.initSoftphoneManager = function (paramsIn) {\n    var params = paramsIn || {};\n    connect.getLog().info(\"[Softphone Manager] initSoftphoneManager started\").sendInternalLogToServer();\n    var competeForMasterOnAgentUpdate = function competeForMasterOnAgentUpdate(softphoneParamsIn) {\n      var softphoneParams = connect.merge(params.softphone || {}, softphoneParamsIn);\n      connect.getLog().info(\"[Softphone Manager] competeForMasterOnAgentUpdate executed\").withObject({\n        softphoneParams: softphoneParams\n      }).sendInternalLogToServer();\n      connect.agent(function (agent) {\n        if (!agent.getChannelConcurrency(connect.ChannelType.VOICE)) {\n          return;\n        }\n        if (agent.isSoftphoneEnabled()) {\n          // get softphonePersostentConnection from agent configuration for softphone persistent connection\n          softphoneParams.isSoftphonePersistentConnectionEnabled = agent.getConfiguration().softphonePersistentConnection;\n        }\n        agent.onRefresh(function () {\n          var sub = this;\n          connect.getLog().info(\"[Softphone Manager] agent refresh handler executed\").sendInternalLogToServer();\n          connect.ifMaster(connect.MasterTopics.SOFTPHONE, function () {\n            connect.getLog().info(\"[Softphone Manager] confirmed as softphone master topic\").sendInternalLogToServer();\n            if (!connect.core.softphoneManager && agent.isSoftphoneEnabled()) {\n              // Become master to send logs, since we need logs from softphone tab.\n              connect.core.softphoneManager = new connect.SoftphoneManager(softphoneParams);\n              sub.unsubscribe();\n            }\n          });\n        });\n      });\n    };\n\n    /**\n     * If the window is framed and if it's the CCP app then we need to wait for a CONFIGURE message from downstream before we initialize softphone manager.\n     * All medialess softphone initialization cases goes to else check and doesn't wait for CONFIGURE message\n     */\n\n    if (connect.isFramed() && connect.isCCP()) {\n      var configureMessageTimer; // used for re-initing the softphone manager\n      var bus = connect.core.getEventBus();\n\n      // Configure handler triggers the softphone manager initiation.\n      // This event is propagted by initCCP call from the end customers\n      bus.subscribe(connect.EventType.CONFIGURE, function (data) {\n        global.clearTimeout(configureMessageTimer); // we don't need to re-init softphone manager as we recieved configure event\n        connect.getLog().info(\"[Softphone Manager] Configure event handler executed\").withObject({\n          data: data\n        }).sendInternalLogToServer();\n        // always overwrite/store the softphone params value if there is a configure event\n        softphoneParamsStorage.set(data.softphone);\n        if (data.softphone && data.softphone.allowFramedSoftphone) {\n          this.unsubscribe();\n          competeForMasterOnAgentUpdate(data.softphone);\n        }\n        setupEventListenersForMultiTabUseInFirefox(data.softphone);\n      });\n\n      /**\n       * This is the case where CCP is just refreshed after it gets initilaized via initCCP\n       * This snippet needs at least one initCCP invocation which sets the params to the store\n       * and waits for CCP to load successfully to apply the same to init Softphone manager\n       */\n      var softphoneParamsFromLocalStorage = softphoneParamsStorage.get();\n      if (softphoneParamsFromLocalStorage) {\n        connect.core.getUpstream().onUpstream(connect.EventType.ACKNOWLEDGE, function (args) {\n          // only care about shared worker ACK which indicates CCP successfull load\n          var ackFromSharedWorker = args && args.id;\n          if (ackFromSharedWorker) {\n            connect.getLog().info(\"[Softphone Manager] Embedded CCP is refreshed successfully and waiting for configure Message handler to execute\").sendInternalLogToServer();\n            this.unsubscribe();\n            configureMessageTimer = global.setTimeout(function () {\n              connect.getLog().info(\"[Softphone Manager] Embedded CCP is refreshed without configure message handler execution\").withObject({\n                softphoneParamsFromLocalStorage: softphoneParamsFromLocalStorage\n              }).sendInternalLogToServer();\n              connect.publishMetric({\n                name: \"EmbeddedCCPRefreshedWithoutInitCCP\",\n                data: {\n                  count: 1\n                }\n              });\n              setupEventListenersForMultiTabUseInFirefox(softphoneParamsFromLocalStorage);\n              if (softphoneParamsFromLocalStorage.allowFramedSoftphone) {\n                connect.getLog().info(\"[Softphone Manager] Embedded CCP is refreshed & Initializing competeForMasterOnAgentUpdate (Softphone manager) from localStorage softphone params\").sendInternalLogToServer();\n                competeForMasterOnAgentUpdate(softphoneParamsFromLocalStorage);\n              }\n              // 100 ms is from the time it takes to execute few lines of JS code to trigger the configure event (this is done in initCCP)\n              // which is in fraction of milisecond.  so to be on the safer side we are keeping it to be 100\n              // this number is pulled from performance.now() calculations.\n            }, 100);\n          }\n        });\n      }\n    } else {\n      competeForMasterOnAgentUpdate(params);\n      setupEventListenersForMultiTabUseInFirefox(params);\n    }\n    connect.agent(function (agent) {\n      // Sync mute across all tabs\n      if (agent.isSoftphoneEnabled() && agent.getChannelConcurrency(connect.ChannelType.VOICE)) {\n        connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.EventType.MUTE\n        });\n      }\n    });\n    function setupEventListenersForMultiTabUseInFirefox(softphoneParamsIn) {\n      var softphoneParams = connect.merge(params.softphone || {}, softphoneParamsIn);\n\n      // keep the softphone params for external use\n      connect.core.softphoneParams = softphoneParams;\n      if (connect.isFirefoxBrowser()) {\n        // In Firefox, when a tab takes over another tab's softphone primary,\n        // the previous primary tab should delete sofphone manager and stop microphone\n        connect.core.getUpstream().onUpstream(connect.EventType.MASTER_RESPONSE, function (res) {\n          if (res.data && res.data.topic === connect.MasterTopics.SOFTPHONE && res.data.takeOver && res.data.masterId !== connect.core.portStreamId) {\n            if (connect.core.softphoneManager) {\n              connect.core.softphoneManager.onInitContactSub.unsubscribe();\n              delete connect.core.softphoneManager;\n            }\n          }\n        });\n\n        // In Firefox, when multiple tabs are open,\n        // webrtc session is not started until READY_TO_START_SESSION event is triggered\n        connect.core.getEventBus().subscribe(connect.ConnectionEvents.READY_TO_START_SESSION, function () {\n          connect.ifMaster(connect.MasterTopics.SOFTPHONE, function () {\n            if (connect.core.softphoneManager) {\n              connect.core.softphoneManager.startSession();\n            }\n          }, function () {\n            connect.becomeMaster(connect.MasterTopics.SOFTPHONE, function () {\n              connect.agent(function (agent) {\n                if (!connect.core.softphoneManager && agent.isSoftphoneEnabled()) {\n                  connect.becomeMaster(connect.MasterTopics.SEND_LOGS);\n                  connect.core.softphoneManager = new connect.SoftphoneManager(softphoneParams);\n                  connect.core.softphoneManager.startSession();\n                }\n              });\n            });\n          });\n        });\n\n        // handling outbound-call and auto-accept cases for pending session\n        connect.contact(function (c) {\n          connect.agent(function (agent) {\n            c.onRefresh(function (contact) {\n              if (connect.hasOtherConnectedCCPs() && document.visibilityState === 'visible' && (contact.getStatus().type === connect.ContactStatusType.CONNECTING || contact.getStatus().type === connect.ContactStatusType.INCOMING)) {\n                var isOutBoundCall = contact.isSoftphoneCall() && !contact.isInbound();\n                var isAutoAcceptEnabled = contact.isSoftphoneCall() && agent.getConfiguration().softphoneAutoAccept;\n                var isQueuedCallback = contact.getType() === connect.ContactType.QUEUE_CALLBACK;\n                if (isOutBoundCall || isAutoAcceptEnabled || isQueuedCallback) {\n                  connect.core.triggerReadyToStartSessionEvent();\n                }\n              }\n            });\n          });\n        });\n      }\n    }\n  };\n\n  // trigger READY_TO_START_SESSION event in a context with Softphone Manager\n  // internal use only\n  connect.core.triggerReadyToStartSessionEvent = function () {\n    var allowFramedSoftphone = connect.core.softphoneParams && connect.core.softphoneParams.allowFramedSoftphone;\n    if (connect.isCCP()) {\n      if (allowFramedSoftphone) {\n        // the event is triggered in this iframed CCP context\n        connect.core.getEventBus().trigger(connect.ConnectionEvents.READY_TO_START_SESSION);\n      } else {\n        if (connect.isFramed()) {\n          // if this is an iframed CCP, the event is send to downstream (CRM)\n          connect.core.getUpstream().sendDownstream(connect.ConnectionEvents.READY_TO_START_SESSION);\n        } else {\n          // if this is a standalone CCP, trigger this event in this CCP context\n          connect.core.getEventBus().trigger(connect.ConnectionEvents.READY_TO_START_SESSION);\n        }\n      }\n    } else {\n      if (allowFramedSoftphone) {\n        // the event is send to the upstream (iframed CCP)\n        connect.core.getUpstream().sendUpstream(connect.ConnectionEvents.READY_TO_START_SESSION);\n      } else {\n        // the event is triggered in this CRM context\n        connect.core.getEventBus().trigger(connect.ConnectionEvents.READY_TO_START_SESSION);\n      }\n    }\n  };\n  connect.core.initPageOptions = function (params) {\n    connect.assertNotNull(params, \"params\");\n    if (connect.isFramed()) {\n      // If the CCP is in a frame, wait for configuration from downstream.\n      var bus = connect.core.getEventBus();\n      bus.subscribe(connect.EventType.CONFIGURE, function (data) {\n        connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.ConfigurationEvents.CONFIGURE,\n          data: data\n        });\n      });\n      // Listen for iframe media devices request from CRM\n      bus.subscribe(connect.EventType.MEDIA_DEVICE_REQUEST, function () {\n        function sendDevices(devices) {\n          connect.core.getUpstream().sendDownstream(connect.EventType.MEDIA_DEVICE_RESPONSE, devices);\n        }\n        if (navigator && navigator.mediaDevices) {\n          navigator.mediaDevices.enumerateDevices().then(function (devicesIn) {\n            var devices = (devicesIn || []).map(function (d) {\n              return d.toJSON();\n            });\n            sendDevices(devices);\n          })[\"catch\"](function (err) {\n            sendDevices({\n              error: err.message\n            });\n          });\n        } else {\n          sendDevices({\n            error: \"No navigator or navigator.mediaDevices object found\"\n          });\n        }\n      });\n    }\n  };\n\n  //only used in CCP to initialize everything needed for Api Proxy\n  connect.core.initApiProxyService = function () {\n    connect.core.apiProxyClient = new connect.ApiProxyClient();\n    if (connect.isFramed()) {\n      connect.core.handleApiProxyRequest = function (request) {\n        if (!(request !== null && request !== void 0 && request.method)) return;\n        var successCB = function successCB(data) {\n          var response = {\n            data: data,\n            requestId: request.requestId\n          };\n          connect.core.getUpstream().sendDownstream(connect.EventType.API_RESPONSE, response);\n        };\n        var failureCB = function failureCB(err) {\n          var response = {\n            err: err,\n            requestId: request.requestId\n          };\n          connect.core.getUpstream().sendDownstream(connect.EventType.API_RESPONSE, response);\n        };\n        var client = connect.core.getApiProxyClient();\n        client.call(request.method, request.params, {\n          success: successCB,\n          failure: failureCB\n        });\n      };\n    }\n  };\n\n  /**-------------------------------------------------------------------------\n   * Get the list of media devices from iframed CCP\n   * Timeout for the request is passed on an optional argument\n   * The default timeout is 1000ms\n   */\n  connect.core.getFrameMediaDevices = function (timeoutIn) {\n    var sub = null;\n    var timeout = timeoutIn || 1000;\n    var timeoutPromise = new Promise(function (resolve, reject) {\n      setTimeout(function () {\n        reject(new Error(\"Timeout exceeded\"));\n      }, timeout);\n    });\n    var mediaDevicesPromise = new Promise(function (resolve, reject) {\n      if (connect.isCCP()) {\n        if (navigator && navigator.mediaDevices) {\n          navigator.mediaDevices.enumerateDevices().then(function (devicesIn) {\n            var devices = (devicesIn || []).map(function (d) {\n              return d.toJSON();\n            });\n            resolve(devices);\n          })[\"catch\"](function (err) {\n            reject(err);\n          });\n        } else {\n          reject(new Error(\"No navigator or navigator.mediaDevices object found\"));\n        }\n      } else {\n        var bus = connect.core.getEventBus();\n        sub = bus.subscribe(connect.EventType.MEDIA_DEVICE_RESPONSE, function (data) {\n          if (data.error) {\n            reject(new Error(data.error));\n          } else {\n            resolve(data);\n          }\n        });\n        connect.core.getUpstream().sendUpstream(connect.EventType.MEDIA_DEVICE_REQUEST);\n      }\n    });\n    return Promise.race([mediaDevicesPromise, timeoutPromise])[\"finally\"](function () {\n      if (sub) {\n        sub.unsubscribe();\n      }\n    });\n  };\n\n  //Internal use only.\n  connect.core.authorize = function (endpoint) {\n    var options = {\n      credentials: 'include'\n    };\n    var authorizeEndpoint = endpoint;\n    if (!authorizeEndpoint) {\n      authorizeEndpoint = connect.core.isLegacyDomain() ? LEGACY_AUTHORIZE_ENDPOINT : AUTHORIZE_ENDPOINT;\n    }\n    return connect.fetch(authorizeEndpoint, options, AUTHORIZE_RETRY_INTERVAL, AUTHORIZE_MAX_RETRY);\n  };\n\n  /**\n   * @deprecated\n   * This used to be used internally, but is no longer needed.\n   */\n  connect.core.verifyDomainAccess = function (authToken, endpoint) {\n    connect.getLog().warn(\"This API will be deprecated in the next major version release\");\n    if (!connect.isFramed()) {\n      return Promise.resolve();\n    }\n    var options = {\n      headers: {\n        'X-Amz-Bearer': authToken\n      }\n    };\n    var whitelistedOriginsEndpoint = null;\n    if (endpoint) {\n      whitelistedOriginsEndpoint = endpoint;\n    } else {\n      whitelistedOriginsEndpoint = connect.core.isLegacyDomain() ? LEGACY_WHITELISTED_ORIGINS_ENDPOINT : WHITELISTED_ORIGINS_ENDPOINT;\n    }\n    return connect.fetch(whitelistedOriginsEndpoint, options, WHITELISTED_ORIGINS_RETRY_INTERVAL, WHITELISTED_ORIGINS_MAX_RETRY).then(function (response) {\n      var topDomain = sanitizeDomain(window.document.referrer);\n      var isAllowed = response.whitelistedOrigins.some(function (origin) {\n        return topDomain === sanitizeDomain(origin);\n      });\n      return isAllowed ? Promise.resolve() : Promise.reject();\n    });\n  };\n\n  /**-------------------------------------------------------------------------\n   * Returns true if this window's href is on the legacy connect domain.\n   * Only useful for internal use.\n   */\n  connect.core.isLegacyDomain = function (url) {\n    url = url || window.location.href;\n    return url.includes('.awsapps.com');\n  };\n\n  /**-------------------------------------------------------------------------\n   * Initializes Connect by creating or connecting to the API Shared Worker.\n   * Used only by the CCP\n   */\n  connect.core.initSharedWorker = function (params) {\n    connect.core.checkNotInitialized();\n    if (connect.core.initialized) {\n      return;\n    }\n    connect.assertNotNull(params, 'params');\n    var sharedWorkerUrl = connect.assertNotNull(params.sharedWorkerUrl, 'params.sharedWorkerUrl');\n    var authToken = connect.assertNotNull(params.authToken, 'params.authToken');\n    var refreshToken = connect.assertNotNull(params.refreshToken, 'params.refreshToken');\n    var authTokenExpiration = connect.assertNotNull(params.authTokenExpiration, 'params.authTokenExpiration');\n    var region = connect.assertNotNull(params.region, 'params.region');\n    var endpoint = params.endpoint || null;\n    var authorizeEndpoint = params.authorizeEndpoint;\n    if (!authorizeEndpoint) {\n      authorizeEndpoint = connect.core.isLegacyDomain() ? LEGACY_AUTHORIZE_ENDPOINT : AUTHORIZE_ENDPOINT;\n    }\n    var agentAppEndpoint = params.agentAppEndpoint || null;\n    var taskTemplatesEndpoint = params.taskTemplatesEndpoint || null;\n    var authCookieName = params.authCookieName || null;\n    try {\n      // Initialize the event bus and agent data providers.\n      connect.core.eventBus = new connect.EventBus({\n        logEvents: true\n      });\n      connect.core.agentDataProvider = new AgentDataProvider(connect.core.getEventBus());\n      connect.core.mediaFactory = new connect.MediaFactory(params);\n\n      // Create the shared worker and upstream conduit.\n      var worker = new SharedWorker(sharedWorkerUrl, \"ConnectSharedWorker\");\n      var conduit = new connect.Conduit(\"ConnectSharedWorkerConduit\", new connect.PortStream(worker.port), new connect.WindowIOStream(window, parent));\n\n      // Set the global upstream conduit for external use.\n      connect.core.upstream = conduit;\n      connect.core.webSocketProvider = new WebSocketProvider();\n\n      // Initialize ACGR validation listener\n      connect.core.listenForAcgrValidation(conduit);\n\n      // Close our port to the shared worker before the window closes.\n      global.onunload = function () {\n        conduit.sendUpstream(connect.EventType.CLOSE);\n        worker.port.close();\n      };\n      connect.getLog().scheduleUpstreamLogPush(conduit);\n      connect.getLog().scheduleDownstreamClientSideLogsPush();\n      // Bridge all messages from \"upstream\" into the event bus\n      conduit.onAllUpstream(connect.core.getEventBus().bridge());\n      // Pass all messages from \"upstream\" to \"downstream\"\n      conduit.onAllUpstream(conduit.passDownstream());\n      if (connect.isFramed()) {\n        // Bridge all messages from \"downstream\" into the event bus\n        conduit.onAllDownstream(connect.core.getEventBus().bridge());\n        // Pass all messages from \"downstream\" to \"upstream\" (except API Proxy Requests)\n        conduit.onAllDownstream(function (data, eventName) {\n          if (eventName === connect.EventType.API_REQUEST && connect.containsValue(connect.ApiProxyClientMethods, data === null || data === void 0 ? void 0 : data.method)) {\n            connect.core.handleApiProxyRequest(data);\n          } else conduit.passUpstream()(data, eventName);\n        });\n      }\n\n      // Send configuration up to the shared worker.\n      conduit.sendUpstream(connect.EventType.CONFIGURE, {\n        authToken: authToken,\n        authTokenExpiration: authTokenExpiration,\n        endpoint: endpoint,\n        refreshToken: refreshToken,\n        region: region,\n        authorizeEndpoint: authorizeEndpoint,\n        agentAppEndpoint: agentAppEndpoint,\n        taskTemplatesEndpoint: taskTemplatesEndpoint,\n        authCookieName: authCookieName,\n        longPollingOptions: params.longPollingOptions || undefined\n      });\n      conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function (data) {\n        connect.getLog().info(\"Acknowledged by the ConnectSharedWorker!\").sendInternalLogToServer();\n        connect.core.initialized = true;\n        connect.core._setTabId();\n        connect.core.portStreamId = data.id;\n        this.unsubscribe();\n      });\n\n      // Add all upstream log entries to our own logger.\n      conduit.onUpstream(connect.EventType.LOG, function (logEntry) {\n        if (logEntry.loggerId !== connect.getLog().getLoggerId()) {\n          connect.getLog().addLogEntry(connect.LogEntry.fromObject(logEntry));\n        }\n      });\n      // Get worker logs\n      conduit.onUpstream(connect.EventType.SERVER_BOUND_INTERNAL_LOG, function (logEntry) {\n        connect.getLog().sendInternalLogEntryToServer(connect.LogEntry.fromObject(logEntry));\n      });\n      // Get outer context logs\n      conduit.onDownstream(connect.EventType.SERVER_BOUND_INTERNAL_LOG, function (logs) {\n        if (connect.isFramed() && Array.isArray(logs)) {\n          logs.forEach(function (log) {\n            connect.getLog().sendInternalLogEntryToServer(connect.LogEntry.fromObject(log));\n          });\n        }\n      });\n      // Get log from outer context\n      conduit.onDownstream(connect.EventType.LOG, function (log) {\n        if (connect.isFramed() && log.loggerId !== connect.getLog().getLoggerId()) {\n          connect.getLog().addLogEntry(connect.LogEntry.fromObject(log));\n        }\n      });\n      connect.core.onAuthFail(connect.hitch(connect.core, connect.core._handleAuthFail, params.loginEndpoint || null, authorizeEndpoint)); // For auth retry logic on 401s.\n      connect.core.onAuthorizeSuccess(connect.hitch(connect.core, connect.core._handleAuthorizeSuccess)); // For auth retry logic on 401s.\n\n      connect.getLog().info(\"User Agent: \" + navigator.userAgent).sendInternalLogToServer();\n      connect.getLog().info(\"isCCPv2: \" + true).sendInternalLogToServer();\n      connect.getLog().info(\"isFramed: \" + connect.isFramed()).sendInternalLogToServer();\n      connect.core.upstream.onDownstream(connect.EventType.OUTER_CONTEXT_INFO, function (data) {\n        var streamsVersion = data.streamsVersion || null;\n        connect.getLog().info(\"StreamsJS Version: \" + streamsVersion).sendInternalLogToServer();\n        connect.outerContextStreamsVersion = streamsVersion;\n      });\n      conduit.onUpstream(connect.EventType.UPDATE_CONNECTED_CCPS, function (data) {\n        connect.getLog().info(\"Number of connected CCPs updated: \" + data.length).sendInternalLogToServer();\n        connect.numberOfConnectedCCPs = data.length;\n        if (data[connect.core.tabId] && !isNaN(data[connect.core.tabId].length)) {\n          if (connect.numberOfConnectedCCPsInThisTab !== data[connect.core.tabId].length) {\n            connect.numberOfConnectedCCPsInThisTab = data[connect.core.tabId].length;\n            if (connect.numberOfConnectedCCPsInThisTab > 1) {\n              connect.getLog().warn(\"There are \" + connect.numberOfConnectedCCPsInThisTab + \" connected CCPs in this tab. Please adjust your implementation to avoid complications. If you are embedding CCP, please do so exclusively with initCCP. InitCCP will not let you embed more than one CCP.\").sendInternalLogToServer();\n            }\n            connect.publishMetric({\n              name: CONNECTED_CCPS_SINGLE_TAB,\n              data: {\n                count: connect.numberOfConnectedCCPsInThisTab\n              }\n            });\n          }\n        }\n        if (data.tabId && data.streamsTabsAcrossBrowser) {\n          connect.ifMaster(connect.MasterTopics.METRICS, function () {\n            return connect.agent(function () {\n              return connect.publishMetric({\n                name: CCP_TABS_ACROSS_BROWSER_COUNT,\n                data: {\n                  tabId: data.tabId,\n                  count: data.streamsTabsAcrossBrowser\n                }\n              });\n            });\n          });\n        }\n      });\n      connect.core.client = new connect.UpstreamConduitClient(conduit);\n      connect.core.masterClient = new connect.UpstreamConduitMasterClient(conduit);\n\n      // Pass the TERMINATE request upstream to the shared worker.\n      connect.core.getEventBus().subscribe(connect.EventType.TERMINATE, conduit.passUpstream());\n\n      // Refresh the page when we receive the TERMINATED response from the\n      // shared worker.\n      connect.core.getEventBus().subscribe(connect.EventType.TERMINATED, function () {\n        window.location.reload(true);\n      });\n      worker.port.start();\n      conduit.onUpstream(connect.VoiceIdEvents.UPDATE_DOMAIN_ID, function (data) {\n        if (data && data.domainId) {\n          connect.core.voiceIdDomainId = data.domainId;\n        }\n      });\n\n      // try fetching voiceId's domainId once the agent is initialized\n      connect.agent(function () {\n        var voiceId = new connect.VoiceId();\n        voiceId.getDomainId().then(function (domainId) {\n          connect.getLog().info(\"voiceId domainId successfully fetched at agent initialization: \" + domainId).sendInternalLogToServer();\n        })[\"catch\"](function (err) {\n          connect.getLog().info(\"voiceId domainId not fetched at agent initialization\").withObject({\n            err: err\n          }).sendInternalLogToServer();\n        });\n      });\n\n      // Attempt to get permission to show notifications.\n      var nm = connect.core.getNotificationManager();\n      nm.requestPermission();\n    } catch (e) {\n      connect.getLog().error(\"Failed to initialize the API shared worker, we're dead!\").withException(e).sendInternalLogToServer();\n    }\n  };\n  connect.core._setTabId = function () {\n    try {\n      connect.core.tabId = window.sessionStorage.getItem(connect.SessionStorageKeys.TAB_ID);\n      if (!connect.core.tabId) {\n        connect.core.tabId = connect.randomId();\n        window.sessionStorage.setItem(connect.SessionStorageKeys.TAB_ID, connect.core.tabId);\n      }\n      connect.core.upstream.sendUpstream(connect.EventType.TAB_ID, {\n        tabId: connect.core.tabId\n      });\n    } catch (e) {\n      connect.getLog().error(\"[Tab Id] There was an issue setting the tab Id\").withException(e).sendInternalLogToServer();\n    }\n  };\n  connect.core.setupAuthenticationEventHandlers = function (params, containerDiv, conduit) {\n    var _params$loginOptions;\n    connect.core.loginAckTimeoutSub = connect.core.getEventBus().subscribe(connect.EventType.ACK_TIMEOUT, function () {\n      connect.getLog().warn(\"ACK_TIMEOUT occurred. Attempting to authenticate.\").sendInternalLogToServer();\n      connect.core.authenticate(params, containerDiv, conduit);\n    });\n    if (!((_params$loginOptions = params.loginOptions) !== null && _params$loginOptions !== void 0 && _params$loginOptions.disableAuthPopupAfterLogout)) {\n      connect.core.getEventBus().subscribe(connect.EventType.TERMINATED, function () {\n        connect.getLog().warn(\"TERMINATED occurred. Attempting to authenticate.\").sendInternalLogToServer();\n        var delay = params.ccpAckTimeout || CCP_ACK_TIMEOUT; // Adding a small delay to avoid immediately logging the agent back in\n        setTimeout(function () {\n          connect.core.authenticate(params, containerDiv, conduit);\n        }, delay);\n      });\n      connect.core.getEventBus().subscribe(connect.EventType.AUTH_FAIL, function () {\n        connect.getLog().warn(\"AUTH_FAIL occurred. Attempting to authenticate.\").sendInternalLogToServer();\n        var delay = params.ccpAckTimeout || CCP_ACK_TIMEOUT; // Adding a small delay to avoid immediately logging the agent back in\n        setTimeout(function () {\n          connect.core.authenticate(params, containerDiv, conduit);\n        }, delay);\n      });\n    }\n  };\n  /**-------------------------------------------------------------------------\n   * Initializes Connect by creating or connecting to the API Shared Worker.\n   * Initializes Connect by loading the CCP in an iframe and connecting to it.\n   */\n  connect.core.initCCP = function (containerDiv, paramsIn) {\n    var _params$softphone, _params3;\n    connect.core.checkNotInitialized();\n    if (connect.core.initialized) {\n      return;\n    }\n    connect.getLog().info(\"Iframe initialization started\").sendInternalLogToServer();\n    var initStartTime = Date.now();\n    // Check if CCP iframe has already been initialized through initCCP\n    try {\n      if (connect.core._getCCPIframe()) {\n        connect.getLog().error('Attempted to call initCCP when an iframe generated by initCCP already exists').sendInternalLogToServer();\n        return;\n      }\n    } catch (e) {\n      connect.getLog().error('Error while checking if initCCP has already been called').withException(e).sendInternalLogToServer();\n    }\n    var params = {};\n    var existingProvider = undefined;\n    var providerPlugins = undefined;\n    // For backwards compatibility, when instead of taking a params object\n    // as input we only accepted ccpUrl.\n    if (typeof paramsIn === 'string') {\n      params.ccpUrl = paramsIn;\n    } else {\n      params = paramsIn;\n      if (params.provider) {\n        // Provider must be removed from params as params are sent to CCP\n        // and provider is not cloneable\n        existingProvider = params.provider;\n        delete params.provider;\n      }\n      if (params.plugins) {\n        // Plugins must be removed from params as params are sent to CCP\n        // and plugins are not cloneable\n        providerPlugins = params.plugins;\n        delete params.plugins;\n      }\n    }\n    connect.initCCPParams = params;\n    connect.containerDiv = containerDiv;\n    connect.assertNotNull(containerDiv, 'containerDiv');\n    connect.assertNotNull(params.ccpUrl, 'params.ccpUrl');\n\n    // Add SDK via AmazonConnectStreamsSite\n    if (!existingProvider) {\n      try {\n        var _params, _params2;\n        var _require = __webpack_require__(275),\n          AmazonConnectStreamsSite = _require.AmazonConnectStreamsSite,\n          AmazonConnectGRStreamsSite = _require.AmazonConnectGRStreamsSite;\n        var instanceUrl = new URL(params.ccpUrl).origin;\n        if (((_params = params) === null || _params === void 0 ? void 0 : _params.enableGlobalResiliency) === true && (_params2 = params) !== null && _params2 !== void 0 && _params2.secondaryCCPUrl) {\n          var config = {\n            primaryInstanceUrl: instanceUrl,\n            secondaryInstanceUrl: new URL(params.secondaryCCPUrl).origin\n          };\n          connect.core._amazonConnectProviderData = _objectSpread(_objectSpread({}, AmazonConnectGRStreamsSite.init(config)), {}, {\n            isStreamsProvider: true,\n            isACGREnabled: true\n          });\n          connect.getLog().info(\"[GR] Created AmazonConnectGRStreamsSite\").withObject({\n            providerId: connect.core._amazonConnectProviderData.provider.id\n          }).sendInternalLogToServer();\n        } else {\n          var config = {\n            instanceUrl: instanceUrl\n          };\n          connect.core._amazonConnectProviderData = _objectSpread(_objectSpread({}, AmazonConnectStreamsSite.init(config)), {}, {\n            isStreamsProvider: true\n          });\n          connect.getLog().info(\"Created AmazonConnectStreamsSite\").withObject({\n            providerId: connect.core._amazonConnectProviderData.provider.id\n          }).sendInternalLogToServer();\n        }\n      } catch (e) {\n        connect.getLog().error(\"Error when setting up AmazonConnectStreamsSite\").withException(e).sendInternalLogToServer();\n      }\n    } else {\n      try {\n        connect.core._amazonConnectProviderData = {\n          provider: existingProvider,\n          isStreamsProvider: false\n        };\n        connect.getLog().info(\"Using AmazonConnectProvider from params\").withObject({\n          providerId: connect.core._amazonConnectProviderData.provider.id,\n          providerType: connect.core._amazonConnectProviderData.provider.constructor.name\n        }).sendInternalLogToServer();\n      } catch (e) {\n        connect.getLog().error(\"Error when setting up AmazonConnectProvider from params\").withException(e).sendInternalLogToServer();\n      }\n    }\n    if (providerPlugins) {\n      try {\n        providerPlugins = Array.isArray(providerPlugins) ? providerPlugins : [providerPlugins];\n\n        // Applying plugins\n        providerPlugins.reduce(function (result, applyPlugin) {\n          return applyPlugin(result);\n        }, Object.getPrototypeOf(connect.core._amazonConnectProviderData.provider));\n      } catch (e) {\n        connect.getLog().error(\"Error when setting plugins for provider\").withException(e).sendInternalLogToServer();\n      }\n    }\n    connect.core.iframeStyle = params.style || \"width: 100%; height: 100%;\";\n\n    // Clean up the Softphone and Ringtone params store to make sure we always pull the latest params\n    if (!((_params$softphone = params.softphone) !== null && _params$softphone !== void 0 && _params$softphone.disableStoringParamsInLocalStorage)) {\n      softphoneParamsStorage.clean();\n      ringtoneParamsStorage.clean();\n    }\n\n    // This is emitted further below as event bus and customer event callbacks are not created yet.\n    var acgrParamError = null;\n    if (((_params3 = params) === null || _params3 === void 0 ? void 0 : _params3.enableGlobalResiliency) === true) {\n      var _params4, _params5, _params6, _params7;\n      if (typeof ((_params4 = params) === null || _params4 === void 0 ? void 0 : _params4.secondaryCCPUrl) !== 'string' || ((_params5 = params) === null || _params5 === void 0 ? void 0 : _params5.secondaryCCPUrl) === '') {\n        var _log = \"enableGlobalResiliency flag was enabled, but secondaryCCPUrl was not provided. Global Resiliency will not be enabled\";\n        connect.getLog().error(_log).sendInternalLogToServer();\n        acgrParamError = {\n          event: connect.GlobalResiliencyEvents.CONFIGURE_ERROR,\n          data: new Error(_log)\n        };\n      } else if (typeof ((_params6 = params) === null || _params6 === void 0 ? void 0 : _params6.loginUrl) !== 'string' || ((_params7 = params) === null || _params7 === void 0 ? void 0 : _params7.loginUrl) === '') {\n        var _log2 = \"enableGlobalResiliency flag was enabled, but loginUrl was not provided. Global Resiliency will not be enabled\";\n        connect.getLog().error(_log2).sendInternalLogToServer();\n        acgrParamError = {\n          event: connect.GlobalResiliencyEvents.CONFIGURE_ERROR,\n          data: new Error(_log2)\n        };\n      } else {\n        connect.getLog().info(\"enableGlobalResiliency flag was enabled and secondaryCCPUrl and loginUrl was provided. Global Resiliency will be enabled\").sendInternalLogToServer();\n        return connect.globalResiliency.initGRCCP(containerDiv, paramsIn);\n      }\n    }\n\n    // Placed after ACGR init since StorageAccess does not work with ACGR\n    connect.storageAccess.init(params.ccpUrl, containerDiv, params.storageAccess || {});\n    var iframe = connect.core._createCCPIframe(containerDiv, params);\n    // Build the upstream conduit communicating with the CCP iframe.\n    var conduit = new connect.IFrameConduit(params.ccpUrl, window, iframe);\n\n    // Set the global upstream conduit for external use.\n    connect.core.upstream = conduit;\n\n    // Initialize the event bus and agent data providers.\n    // NOTE: Setting logEvents here to FALSE in order to avoid duplicating\n    // events which are logged in CCP.\n    connect.core.eventBus = new connect.EventBus({\n      logEvents: false\n    });\n    if (connect.storageAccess.canRequest()) {\n      // Create the Iframe and load the RSA banner and append it to the container div.\n      connect.storageAccess.setupRequestHandlers({\n        onGrant: setupInitCCP\n      });\n    } else {\n      setupInitCCP();\n    }\n    function setupInitCCP() {\n      connect.core.agentDataProvider = new AgentDataProvider(connect.core.getEventBus());\n      connect.core.mediaFactory = new connect.MediaFactory(params);\n\n      // Let CCP know if iframe is visible\n      connect.core._sendIframeStyleDataUpstreamAfterReasonableWaitTime(iframe, conduit);\n\n      // Init webSocketProvider\n      connect.core.webSocketProvider = new WebSocketProvider();\n      conduit.onAllUpstream(connect.core.getEventBus().bridge());\n\n      // Initialize the keepalive manager.\n      connect.core.keepaliveManager = new KeepaliveManager(conduit, connect.core.getEventBus(), params.ccpSynTimeout || CCP_SYN_TIMEOUT, params.ccpAckTimeout || CCP_ACK_TIMEOUT);\n      connect.core.iframeRefreshTimeout = null;\n\n      // Allow 5 sec (default) before receiving the first ACK from the CCP.\n      connect.core.ccpLoadTimeoutInstance = global.setTimeout(function () {\n        connect.core.ccpLoadTimeoutInstance = null;\n        connect.core.getEventBus().trigger(connect.EventType.ACK_TIMEOUT);\n        connect.getLog().info(\"CCP LoadTimeout triggered\").sendInternalLogToServer();\n      }, params.ccpLoadTimeout || CCP_LOAD_TIMEOUT);\n\n      // Once we receive the first ACK, setup our upstream API client and establish\n      // the SYN/ACK refresh flow.\n      conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function (data) {\n        var _params$loginOptions2;\n        connect.getLog().info(\"Acknowledged by the CCP!\").sendInternalLogToServer();\n        connect.core.client = new connect.UpstreamConduitClient(conduit);\n        connect.core.masterClient = new connect.UpstreamConduitMasterClient(conduit);\n        connect.core.portStreamId = data.id;\n        if (connect.core.loginAckTimeoutSub && (_params$loginOptions2 = params.loginOptions) !== null && _params$loginOptions2 !== void 0 && _params$loginOptions2.disableAuthPopupAfterLogout) {\n          connect.core.loginAckTimeoutSub.unsubscribe();\n          connect.core.loginAckTimeoutSub = null;\n          connect.getLog().info(\"ACK_TIMEOUT subscription unsubscribed after receiving ACKNOWLEDGE due to disableAuthPopupAfterLogout\").sendInternalLogToServer();\n        }\n        connect.core.sendConfigure(params, conduit, false);\n        connect.core.listenForConfigureRequest(params, conduit, false); // failsafe for abnormal ccp refresh\n\n        if (connect.core.ccpLoadTimeoutInstance) {\n          global.clearTimeout(connect.core.ccpLoadTimeoutInstance);\n          connect.core.ccpLoadTimeoutInstance = null;\n        }\n        conduit.sendUpstream(connect.EventType.OUTER_CONTEXT_INFO, {\n          streamsVersion: connect.version\n        });\n        var _ref2 = params.loginOptions || {},\n          enableAckTimeout = _ref2.enableAckTimeout;\n        if (enableAckTimeout) {\n          connect.core.keepaliveManager.enableAckTimeout(enableAckTimeout);\n        }\n        connect.core.keepaliveManager.start();\n        this.unsubscribe();\n        connect.core.initialized = true;\n        connect.core.getEventBus().trigger(connect.EventType.INIT);\n        if (acgrParamError) {\n          connect.core.getEventBus().trigger(acgrParamError.event, acgrParamError.data);\n        }\n        if (initStartTime) {\n          var initTime = Date.now() - initStartTime;\n          var refreshAttempts = connect.core.iframeRefreshAttempt || 0;\n          connect.getLog().info('Iframe initialization succeeded').sendInternalLogToServer();\n          connect.getLog().info(\"Iframe initialization time \".concat(initTime)).sendInternalLogToServer();\n          connect.getLog().info(\"Iframe refresh attempts \".concat(refreshAttempts)).sendInternalLogToServer();\n          setTimeout(function () {\n            connect.publishMetric({\n              name: CSM_IFRAME_REFRESH_ATTEMPTS,\n              data: {\n                count: refreshAttempts\n              }\n            });\n            connect.publishMetric({\n              name: CSM_IFRAME_INITIALIZATION_SUCCESS,\n              data: {\n                count: 1\n              }\n            });\n            connect.publishMetric({\n              name: CSM_IFRAME_INITIALIZATION_TIME,\n              data: {\n                count: initTime\n              }\n            });\n            //to avoid metric emission after initialization\n            initStartTime = null;\n          }, 1000);\n        }\n      });\n\n      // Add any logs from the upstream to our own logger.\n      conduit.onUpstream(connect.EventType.LOG, function (logEntry) {\n        if (logEntry.loggerId !== connect.getLog().getLoggerId()) {\n          connect.getLog().addLogEntry(connect.LogEntry.fromObject(logEntry));\n        }\n      });\n      connect.core.setupAuthenticationEventHandlers(params, containerDiv, conduit);\n      if (params.onViewContact) {\n        connect.core.onViewContact(params.onViewContact);\n      }\n      conduit.onUpstream(connect.EventType.UPDATE_CONNECTED_CCPS, function (data) {\n        connect.numberOfConnectedCCPs = data.length;\n      });\n      conduit.onUpstream(connect.VoiceIdEvents.UPDATE_DOMAIN_ID, function (data) {\n        if (data && data.domainId) {\n          connect.core.voiceIdDomainId = data.domainId;\n        }\n      });\n      connect.core.getEventBus().subscribe(connect.EventType.IFRAME_RETRIES_EXHAUSTED, function () {\n        if (initStartTime) {\n          var refreshAttempts = connect.core.iframeRefreshAttempt - 1;\n          connect.getLog().info('Iframe initialization failed').sendInternalLogToServer();\n          connect.getLog().info(\"Time after iframe initialization started \".concat(Date.now() - initStartTime)).sendInternalLogToServer();\n          connect.getLog().info(\"Iframe refresh attempts \".concat(refreshAttempts)).sendInternalLogToServer();\n          connect.publishMetric({\n            name: CSM_IFRAME_REFRESH_ATTEMPTS,\n            data: {\n              count: refreshAttempts\n            }\n          });\n          connect.publishMetric({\n            name: CSM_IFRAME_INITIALIZATION_SUCCESS,\n            data: {\n              count: 0\n            }\n          });\n          initStartTime = null;\n        }\n      });\n\n      // keep the softphone params for external use\n      connect.core.softphoneParams = params.softphone;\n    }\n    ;\n  };\n  connect.core._openPopupWithLock = function (loginUrl, loginOptions) {\n    var lockName = \"connect-login-popup-lock\" + loginUrl;\n    try {\n      navigator.locks.request(lockName, {\n        mode: 'exclusive',\n        ifAvailable: true\n      }, /*#__PURE__*/function () {\n        var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(lock) {\n          var checkPopupInterval;\n          return _regenerator().w(function (_context) {\n            while (1) switch (_context.n) {\n              case 0:\n                if (lock) {\n                  _context.n = 1;\n                  break;\n                }\n                connect.getLog().info(\"Popup already opened by another tab.\").sendInternalLogToServer();\n                return _context.a(2);\n              case 1:\n                connect.getLog().info(\"Opening popup window with weblock.\").sendInternalLogToServer();\n                connect.core.loginWindow = connect.core.getPopupManager().open(loginUrl, connect.MasterTopics.LOGIN_POPUP, loginOptions);\n                connect.core._shouldHoldPopupLock = true;\n                checkPopupInterval = setInterval(function () {\n                  var _connect$core$loginWi;\n                  if (!connect.core.loginWindow || (_connect$core$loginWi = connect.core.loginWindow) !== null && _connect$core$loginWi !== void 0 && _connect$core$loginWi.closed) {\n                    clearInterval(checkPopupInterval);\n                    connect.core._shouldHoldPopupLock = false;\n                    connect.getLog().info(\"Cleared check popup interval.\").sendInternalLogToServer();\n                  }\n                }, CHECK_LOGIN_POPUP_INTERVAL_MS); // hold the lock until the popup is closed\n              case 2:\n                if (!connect.core._shouldHoldPopupLock) {\n                  _context.n = 4;\n                  break;\n                }\n                _context.n = 3;\n                return new Promise(function (resolve) {\n                  return setTimeout(resolve, 1000);\n                });\n              case 3:\n                _context.n = 2;\n                break;\n              case 4:\n                connect.getLog().info(\"Releasing weblock for opening login popup.\").sendInternalLogToServer();\n              case 5:\n                return _context.a(2);\n            }\n          }, _callee);\n        }));\n        return function (_x) {\n          return _ref3.apply(this, arguments);\n        };\n      }())[\"catch\"](function (err) {\n        connect.getLog().error(\"Failed to hold weblock for opening login popup.\").withException(err).sendInternalLogToServer();\n      });\n    } catch (e) {\n      connect.getLog().error(\"Failed to use weblock to open popup. Your browser may be out of date.\").withException(e).sendInternalLogToServer();\n      if (!connect.core.loginWindow) {\n        connect.core.loginWindow = connect.core.getPopupManager().open(loginUrl, connect.MasterTopics.LOGIN_POPUP, loginOptions);\n      }\n    }\n  };\n  connect.core.onIframeRetriesExhausted = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.IFRAME_RETRIES_EXHAUSTED, f);\n  };\n  connect.core._refreshIframeOnTimeout = function (initCCPParams, containerDiv, timerContainer, identifier) {\n    connect.assertNotNull(initCCPParams, 'initCCPParams');\n    connect.assertNotNull(containerDiv, 'containerDiv');\n    var obj = timerContainer || connect.core;\n\n    // ccpIframeRefreshInterval is the ccpLoadTimeout passed into initCCP\n    // if no ccpLoadTimeout is passed in, the interval is the default\n    var ccpIframeRefreshInterval = initCCPParams.ccpLoadTimeout ? initCCPParams.ccpLoadTimeout : CCP_IFRAME_REFRESH_INTERVAL;\n    global.clearTimeout(obj.iframeRefreshTimeout);\n    obj.iframeRefreshTimeout = global.setTimeout(function () {\n      obj.iframeRefreshAttempt = (obj.iframeRefreshAttempt || 0) + 1;\n      if (obj.iframeRefreshAttempt <= CCP_IFRAME_REFRESH_LIMIT) {\n        connect.getLog().info(\"Refreshing the CCP IFrame for \".concat(initCCPParams.ccpUrl, \" on attempt \").concat(obj.iframeRefreshAttempt)).sendInternalLogToServer();\n        connect.core._replaceCCPIframe(containerDiv, initCCPParams, identifier);\n        connect.core._refreshIframeOnTimeout(initCCPParams, containerDiv, timerContainer, identifier);\n      } else {\n        connect.core.getEventBus().trigger(connect.EventType.IFRAME_RETRIES_EXHAUSTED, identifier);\n        global.clearTimeout(obj.iframeRefreshTimeout);\n      }\n    }, ccpIframeRefreshInterval);\n  };\n  connect.core._replaceCCPIframe = function (containerDiv, initCCPParams, identifier) {\n    try {\n      var iframe = connect.core._getCCPIframe(identifier);\n      // Needed because in Global Resiliency, iframe may have been hidden and needs to remain hidden.\n      var iframeStyle = null;\n      if (iframe) {\n        iframeStyle = iframe.style;\n        iframe.parentNode.removeChild(iframe); // The only way to force a synchronous reload of the iframe without the old iframe continuing to function is to remove the old iframe entirely.\n      }\n      var newIframe = connect.core._createCCPIframe(containerDiv, initCCPParams, identifier);\n\n      // Needed as show and hide iframe functions may modify iframe style\n      if (iframeStyle) {\n        newIframe.style = iframeStyle.cssText;\n      }\n      if (connect.core.getUpstream() instanceof connect.GRProxyIframeConduit) {\n        var grProxyConduit = connect.core.upstream;\n        grProxyConduit.getAllConduits().forEach(function (conduit) {\n          if (conduit.iframe.dataset.identifier === identifier) {\n            conduit.upstream.output = newIframe.contentWindow;\n            conduit.iframe = newIframe;\n          }\n        });\n      } else {\n        connect.core.getUpstream().upstream.output = newIframe.contentWindow; //replaces the output window (old iframe's contentWindow) of the WindowIOStream (within the IFrameConduit) with the new iframe's contentWindow.\n      }\n      connect.core._sendIframeStyleDataUpstreamAfterReasonableWaitTime(newIframe, connect.core.upstream);\n    } catch (e) {\n      connect.getLog().error('Error while checking for, and recreating, the CCP IFrame').withException(e).sendInternalLogToServer();\n    }\n  };\n  connect.core._getCCPIframe = function (identifier) {\n    var _iterator = _createForOfIteratorHelper(window.document.getElementsByTagName('iframe')),\n      _step;\n    try {\n      for (_iterator.s(); !(_step = _iterator.n()).done;) {\n        var iframe = _step.value;\n        if (iframe.name === CCP_IFRAME_NAME) {\n          var _iframe$dataset;\n          if (!identifier || ((_iframe$dataset = iframe.dataset) === null || _iframe$dataset === void 0 ? void 0 : _iframe$dataset.identifier) === identifier) {\n            // For global resiliency, there can be multiple CCP iframes with the same name.\n            // Return iframe only if the iframe's data-region value matches the specified region.\n            return iframe;\n          }\n        }\n      }\n    } catch (err) {\n      _iterator.e(err);\n    } finally {\n      _iterator.f();\n    }\n    return null;\n  };\n  connect.core._createCCPIframe = function (containerDiv, initCCPParams, identifier) {\n    var _connect$core$_amazon;\n    connect.assertNotNull(initCCPParams, 'initCCPParams');\n    connect.assertNotNull(containerDiv, 'containerDiv');\n    var iframe = document.createElement('iframe');\n    iframe.src = initCCPParams.ccpUrl;\n    iframe.allow = \"microphone; camera; autoplay; clipboard-write; identity-credentials-get; loopback-network; speaker-selection\";\n    iframe.style = initCCPParams.style || connect.core.iframeStyle;\n    iframe.title = initCCPParams.iframeTitle || CCP_IFRAME_NAME;\n    iframe.name = CCP_IFRAME_NAME;\n    if (identifier) {\n      iframe.dataset.identifier = identifier;\n    }\n    if (connect.storageAccess.canRequest()) {\n      //for Storage Access follow the rsa path\n      iframe.src = connect.storageAccess.getRequestStorageAccessUrl();\n      iframe.addEventListener('load', connect.storageAccess.request);\n    }\n\n    // When provider is Streams provider, sets iframe for verification when configuring Message Channel\n    if ((_connect$core$_amazon = connect.core._amazonConnectProviderData) !== null && _connect$core$_amazon !== void 0 && _connect$core$_amazon.isStreamsProvider) {\n      try {\n        var _connect$core$_amazon2;\n        (_connect$core$_amazon2 = connect.core._amazonConnectProviderData) !== null && _connect$core$_amazon2 !== void 0 && _connect$core$_amazon2.isACGREnabled ? connect.core._amazonConnectProviderData.provider.setCCPIframe({\n          iframe: iframe,\n          region: initCCPParams.globalResiliencyRegion\n        }) : connect.core._amazonConnectProviderData.provider.setCCPIframe(iframe);\n      } catch (error) {\n        connect.getLog().error(\"Error occurred when setting CCP iframe to provider\").withException(error).sendInternalLogToServer();\n      }\n    }\n    containerDiv.appendChild(iframe);\n    return iframe;\n  };\n  connect.core._hideIframe = function (iframe) {\n    iframe.style = connect.core.iframeStyle + \"display: none;\";\n  };\n  connect.core._showIframe = function (iframe) {\n    iframe.style = connect.core.iframeStyle;\n  };\n  connect.core._sendIframeStyleDataUpstreamAfterReasonableWaitTime = function (iframe, conduit) {\n    connect.assertNotNull(iframe, 'iframe');\n    connect.assertNotNull(conduit, 'conduit');\n    setTimeout(function () {\n      var style = window.getComputedStyle(iframe, null);\n      var data = {\n        display: style.display,\n        offsetWidth: iframe.offsetWidth,\n        offsetHeight: iframe.offsetHeight,\n        clientRectsLength: iframe.getClientRects().length\n      };\n      conduit.sendUpstream(connect.EventType.IFRAME_STYLE, data);\n    }, 10000);\n  };\n\n  // Open login popup and refresh the iframe until the user is logged in.\n  connect.core.reauthenticateAfterLogout = function () {\n    var _connect$initCCPParam;\n    // Verify that the params needed for authenticate exists\n    if (!connect.initCCPParams || !connect.containerDiv || !connect.core.upstream) {\n      connect.getLog().error(\"Cannot refresh CCP, missing initCCPParams, container div, and or upstream\").withObject({\n        initCCPParams: connect.initCCPParams,\n        containerDiv: connect.containerDiv,\n        upstream: connect.core.upstream\n      }).sendInternalLogToServer();\n      throw new Error(\"Missing parameters to refresh CCP iframe\");\n    }\n    if ((_connect$initCCPParam = connect.initCCPParams) !== null && _connect$initCCPParam !== void 0 && _connect$initCCPParam.enableGlobalResiliency) {\n      connect.getLog().error(\"Refresh CCP does not support ACGR at the moment\").sendInternalLogToServer();\n      throw new Error(\"Not supported in ACGR instance\");\n    } else {\n      connect.core.authenticate(connect.initCCPParams, connect.containerDiv, connect.core.upstream);\n    }\n  };\n  connect.core.authenticate = function (params, containerDiv, conduit) {\n    if (params.loginPopup !== false) {\n      try {\n        var loginUrl = getLoginUrl(params);\n        connect.getLog().warn(\"Attempting to pop the login page if not already open.\").sendInternalLogToServer();\n        // clear out last opened timestamp for SAML authentication when there is ACK_TIMEOUT\n        if (params.loginUrl) {\n          connect.core.getPopupManager().clear(connect.MasterTopics.LOGIN_POPUP);\n        }\n        connect.core._openPopupWithLock(loginUrl, params.loginOptions);\n      } catch (e) {\n        connect.getLog().error(\"Unable to open the login popup.\").withException(e).sendInternalLogToServer();\n      }\n    }\n    if (connect.core.iframeRefreshTimeout == null) {\n      try {\n        conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function () {\n          this.unsubscribe();\n          global.clearTimeout(connect.core.iframeRefreshTimeout);\n          connect.core.iframeRefreshTimeout = null;\n          connect.core.getPopupManager().clear(connect.MasterTopics.LOGIN_POPUP);\n          if ((params.loginPopupAutoClose || params.loginOptions && params.loginOptions.autoClose) && connect.core.loginWindow) {\n            connect.core.loginWindow.close();\n            connect.core.loginWindow = null;\n          }\n        });\n        connect.core.iframeRefreshAttempt = 0;\n        connect.core._refreshIframeOnTimeout(params, containerDiv);\n      } catch (e) {\n        connect.getLog().error(\"Error occurred while refreshing iframe\").withException(e).sendInternalLogToServer();\n      }\n    }\n  };\n  connect.core.getSDKClientConfig = function () {\n    var _connect$core$_amazon3;\n    if (!connect.core._amazonConnectProviderData) {\n      throw new Error(\"Provider is not initialized\");\n    }\n    return {\n      provider: (_connect$core$_amazon3 = connect.core._amazonConnectProviderData) === null || _connect$core$_amazon3 === void 0 ? void 0 : _connect$core$_amazon3.provider\n    };\n  };\n\n  /**-----------------------------------------------------------------------*/\n  var KeepaliveManager = function KeepaliveManager(conduit, eventBus, synTimeout, ackTimeout) {\n    this.conduit = conduit;\n    this.eventBus = eventBus;\n    this.synTimeout = synTimeout;\n    this.ackTimeout = ackTimeout;\n    this.ackTimer = null;\n    this.synTimer = null;\n    this.ackSub = null;\n    this._enableAckTimeout = false;\n  };\n  KeepaliveManager.prototype.start = function () {\n    var self = this;\n    this.conduit.sendUpstream(connect.EventType.SYNCHRONIZE);\n    this.ackSub = this.conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function () {\n      this.unsubscribe();\n      global.clearTimeout(self.ackTimer);\n      self._deferStart();\n    });\n    this.ackTimer = global.setTimeout(function () {\n      self.ackSub.unsubscribe();\n      if (connect.isActiveConduit(self.conduit) && self._enableAckTimeout) {\n        connect.getLog().info(\"ACK_TIMEOUT event is detected from the KeepaliveManager. \".concat(self.conduit.name)).sendInternalLogToServer();\n        self.eventBus.trigger(connect.EventType.ACK_TIMEOUT);\n      } else if (self._enableAckTimeout) {\n        connect.getLog().warn(\"ACK_TIMEOUT event is detected from the KeepaliveManager but suppressed as it is from an inactive region. \".concat(self.conduit.name)).sendInternalLogToServer();\n      }\n      self._deferStart();\n    }, this.ackTimeout);\n  };\n\n  //Fixes the keepalivemanager.\n  KeepaliveManager.prototype._deferStart = function () {\n    this.synTimer = global.setTimeout(connect.hitch(this, this.start), this.synTimeout);\n  };\n\n  // For backwards compatibility only, in case customers are using this to start the keepalivemanager for some reason.\n  KeepaliveManager.prototype.deferStart = function () {\n    if (this.synTimer == null) {\n      this.synTimer = global.setTimeout(connect.hitch(this, this.start), this.synTimeout);\n    }\n  };\n  KeepaliveManager.prototype.enableAckTimeout = function (enable) {\n    this._enableAckTimeout = enable;\n  };\n\n  /**-----------------------------------------------------------------------*/\n\n  var WebSocketProvider = function WebSocketProvider() {\n    var callbacks = {\n      initFailure: new Set(),\n      subscriptionUpdate: new Set(),\n      subscriptionFailure: new Set(),\n      topic: new Map(),\n      allMessage: new Set(),\n      connectionGain: new Set(),\n      connectionLost: new Set(),\n      connectionOpen: new Set(),\n      connectionClose: new Set(),\n      deepHeartbeatSuccess: new Set(),\n      deepHeartbeatFailure: new Set(),\n      topicFailure: new Set()\n    };\n    var invokeCallbacks = function invokeCallbacks(callbacks, response) {\n      connect.invokeAllSafely(callbacks, [response], \"websocket subscriber\");\n    };\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.INIT_FAILURE, function () {\n      invokeCallbacks(callbacks.initFailure);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.CONNECTION_OPEN, function (response) {\n      invokeCallbacks(callbacks.connectionOpen, response);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.CONNECTION_CLOSE, function (response) {\n      invokeCallbacks(callbacks.connectionClose, response);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.CONNECTION_GAIN, function () {\n      invokeCallbacks(callbacks.connectionGain);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.CONNECTION_LOST, function (response) {\n      invokeCallbacks(callbacks.connectionLost, response);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.SUBSCRIPTION_UPDATE, function (response) {\n      invokeCallbacks(callbacks.subscriptionUpdate, response);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.SUBSCRIPTION_FAILURE, function (response) {\n      invokeCallbacks(callbacks.subscriptionFailure, response);\n    });\n    connect.core.getUpstream().onUpstream(connect.WebSocketEvents.ALL_MESSAGE, function (response) {\n      invokeCallbacks(callbacks.allMessage, response);\n      if (callbacks.topic.has(response.topic)) {\n        invokeCallbacks(callbacks.topic.get(response.topic), response);\n      }\n    });\n    this.sendMessage = function (webSocketPayload) {\n      connect.core.getUpstream().sendUpstream(connect.WebSocketEvents.SEND, webSocketPayload);\n    };\n    this.onInitFailure = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.initFailure.add(cb);\n      return function () {\n        return callbacks.initFailure[\"delete\"](cb);\n      };\n    };\n    this.onConnectionOpen = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.connectionOpen.add(cb);\n      return function () {\n        return callbacks.connectionOpen[\"delete\"](cb);\n      };\n    };\n    this.onConnectionClose = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.connectionClose.add(cb);\n      return function () {\n        return callbacks.connectionClose[\"delete\"](cb);\n      };\n    };\n    this.onConnectionGain = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.connectionGain.add(cb);\n      return function () {\n        return callbacks.connectionGain[\"delete\"](cb);\n      };\n    };\n    this.onConnectionLost = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.connectionLost.add(cb);\n      return function () {\n        return callbacks.connectionLost[\"delete\"](cb);\n      };\n    };\n    this.onSubscriptionUpdate = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.subscriptionUpdate.add(cb);\n      return function () {\n        return callbacks.subscriptionUpdate[\"delete\"](cb);\n      };\n    };\n    this.onSubscriptionFailure = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.subscriptionFailure.add(cb);\n      return function () {\n        return callbacks.subscriptionFailure[\"delete\"](cb);\n      };\n    };\n    this.subscribeTopics = function (topics) {\n      connect.assertNotNull(topics, 'topics');\n      connect.assertTrue(connect.isArray(topics), 'topics must be a array');\n      connect.core.getUpstream().sendUpstream(connect.WebSocketEvents.SUBSCRIBE, topics);\n    };\n    this.onMessage = function (topicName, cb) {\n      connect.assertNotNull(topicName, 'topicName');\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      if (callbacks.topic.has(topicName)) {\n        callbacks.topic.get(topicName).add(cb);\n      } else {\n        callbacks.topic.set(topicName, new Set([cb]));\n      }\n      return function () {\n        return callbacks.topic.get(topicName)[\"delete\"](cb);\n      };\n    };\n    this.onAllMessage = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.allMessage.add(cb);\n      return function () {\n        return callbacks.allMessage[\"delete\"](cb);\n      };\n    };\n    this.onDeepHeartbeatSuccess = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.deepHeartbeatSuccess.add(cb);\n      return function () {\n        return callbacks.deepHeartbeatSuccess[\"delete\"](cb);\n      };\n    };\n    this.onDeepHeartbeatFailure = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.deepHeartbeatFailure.add(cb);\n      return function () {\n        return callbacks.deepHeartbeatFailure[\"delete\"](cb);\n      };\n    };\n    this.onTopicFailure = function (cb) {\n      connect.assertTrue(connect.isFunction(cb), 'method must be a function');\n      callbacks.topicFailure.add(cb);\n      return function () {\n        return callbacks.topicFailure[\"delete\"](cb);\n      };\n    };\n  };\n  connect.core._removeContactFromEndedSet = function (contactId) {\n    try {\n      connect.getLog().info(\"[ContactEvent] Removing contact from ENDED event tracker\").withObject({\n        contactId: contactId\n      }).sendInternalLogToServer();\n      connect.core.endedEventTracker[\"delete\"](contactId);\n      connect.getLog().info(\"[ContactEvent] Removed contact from ENDED event tracker\").withObject(connect.core.endedEventTracker.entries()).sendInternalLogToServer();\n    } catch (e) {\n      connect.getLog().error(\"[ContactEvent] Failed to remove contact from ENDED event tracker\").withObject({\n        contactId: contactId || 'unknown'\n      }).withException(e).sendInternalLogToServer();\n    }\n  };\n  connect.core._handleEndedEvent = function (contactId, newContactState) {\n    try {\n      // if the event being triggered is ENDED, remove the contactId from the set\n      // we want to check for all inactive contact states because active state -> inactive state = ENDED event\n      if (connect.core.endedEventTracker.has(contactId) && inactiveContactState.includes(newContactState)) {\n        connect.getLog().info(\"[ContactEvent] ENDED was triggered\").withObject({\n          contactId: contactId\n        }).sendInternalLogToServer();\n        connect.core._removeContactFromEndedSet(contactId);\n      }\n    } catch (e) {\n      connect.getLog().error(\"[ContactEvent] Failed to handle proper ENDED event being triggered\").withException(e).sendInternalLogToServer();\n    }\n  };\n  connect.core._shouldTriggerInvalidStateTransition = function (contactData) {\n    if (connect.core.endedEventTracker.has(contactData.contactId)) {\n      try {\n        connect.getLog().info(\"[ContactEvent] Contact did not transition to the ENDED state prior to DESTROYED\").withObject(contactData).sendInternalLogToServer();\n        connect.core._removeContactFromEndedSet(contactData.contactId);\n        return true;\n      } catch (e) {\n        connect.getLog().error(\"[ContactEvent] Failed to handle invalid state transition error handling\").withException(e).sendInternalLogToServer();\n      }\n    }\n    return false;\n  };\n  connect.core.getLilyAgentConfig = function () {\n    var lilyAgentConfigRawContent = connect._getCookie('lily-agent-config');\n    if (!lilyAgentConfigRawContent || lilyAgentConfigRawContent === '') {\n      connect.getLog().debug(\"[GR] lilyAgentConfig Cookie was not found. No further action will be taken.\").sendInternalLogToServer();\n      return null;\n    }\n    connect.getLog().info(\"[GR] lilyAgentConfig Cookie was found.\").withObject(lilyAgentConfigRawContent).sendInternalLogToServer();\n    var lilyAgentConfigUnpackedString = atob(lilyAgentConfigRawContent);\n    var lilyAgentConfigObject = JSON.parse(lilyAgentConfigUnpackedString);\n    if (connect._isEmpty(lilyAgentConfigObject)) {\n      throw new Error(\"[GR] Lily agent config object was empty\");\n    }\n    return lilyAgentConfigObject;\n  };\n\n  /**\n   * Validates global signin authentication for ACGR initialization.\n   * Currently validates via lily-agent-config cookie, but implementation can evolve\n   * (e.g., API-based validation) without changing the interface.\n   * Sends explicit GLOBAL_SIGNIN_VALID or GLOBAL_SIGNIN_INVALID response.\n   * \n   * @param {Conduit} conduit - The conduit to send response through\n   */\n  connect.core.validateGlobalSignin = function (conduit) {\n    connect.getLog().info(\"[GR] Starting global signin validation\").sendInternalLogToServer();\n    try {\n      var lilyAgentConfig = connect.core.getLilyAgentConfig();\n      if (!lilyAgentConfig) {\n        // Authentication not found - send error\n        connect.getLog().error(\"[GR] Global signin validation failed - authentication not found\").sendInternalLogToServer();\n        conduit.sendDownstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_INVALID, {\n          errorType: connect.GlobalResiliencyConfigureErrorType.LILY_AGENT_CONFIG_MISSING,\n          error: \"[GR] Global signin authentication not found\"\n        });\n        return;\n      }\n\n      // Authentication exists and validated successfully - send success\n      connect.getLog().info(\"[GR] Global signin validation succeeded\").sendInternalLogToServer();\n      conduit.sendDownstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_VALID, {\n        message: \"[GR] Global signin validated successfully\"\n      });\n    } catch (e) {\n      // Validation error - send error\n      connect.getLog().error(\"[GR] Global signin validation failed - error during validation\").withException(e).sendInternalLogToServer();\n      conduit.sendDownstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_INVALID, {\n        errorType: connect.GlobalResiliencyConfigureErrorType.LILY_AGENT_CONFIG_PARSE_ERROR,\n        error: \"[GR] Error validating global signin authentication\"\n      });\n    }\n  };\n\n  /**\n   * Sets up listener for ACGR global signin validation requests.\n   * @param {Conduit} conduit - The conduit to listen on\n   */\n  connect.core.listenForAcgrValidation = function (conduit) {\n    // Guard against multiple registrations\n    if (connect.core._acgrValidationListenerRegistered) {\n      return;\n    }\n    connect.core._acgrValidationListenerRegistered = true;\n    conduit.onDownstream(connect.GlobalResiliencyEvents.VALIDATE_GLOBAL_SIGNIN, function () {\n      connect.core.validateGlobalSignin(conduit);\n    });\n    connect.getLog().info(\"[GR] ACGR global signin validation listener registered\").sendInternalLogToServer();\n  };\n\n  /**-----------------------------------------------------------------------*/\n  var AgentDataProvider = function AgentDataProvider(bus) {\n    this.bus = bus;\n    this.agentUpdateSubscriber = this.bus.subscribe(connect.AgentEvents.UPDATE, connect.hitch(this, this.updateAgentData));\n  };\n  AgentDataProvider.prototype.updateAgentData = function (agentData) {\n    var _connect$agent;\n    var oldAgentData = this.agentData;\n    this.agentData = agentData;\n    if (!((_connect$agent = connect.agent) !== null && _connect$agent !== void 0 && _connect$agent.initialized)) {\n      connect.agent.initialized = true;\n      this.bus.trigger(connect.AgentEvents.INIT, new connect.Agent());\n    }\n    this.bus.trigger(connect.AgentEvents.REFRESH, new connect.Agent());\n    this._fireAgentUpdateEvents(oldAgentData);\n  };\n  AgentDataProvider.prototype.getAgentData = function () {\n    if (this.agentData == null) {\n      throw new connect.StateError('No agent data is available yet!');\n    }\n    return this.agentData;\n  };\n  AgentDataProvider.prototype.getContactData = function (contactId) {\n    var agentData = this.getAgentData();\n    var contactData = connect.find(agentData.snapshot.contacts, function (ctdata) {\n      return ctdata.contactId === contactId;\n    });\n    if (contactData == null) {\n      throw new connect.StateError('Contact %s no longer exists.', contactId);\n    }\n    return contactData;\n  };\n  AgentDataProvider.prototype.getConnectionData = function (contactId, connectionId) {\n    var contactData = this.getContactData(contactId);\n    var connectionData = connect.find(contactData.connections, function (cdata) {\n      return cdata.connectionId === connectionId;\n    });\n    if (connectionData == null) {\n      throw new connect.StateError('Connection %s for contact %s no longer exists.', connectionId, contactId);\n    }\n    return connectionData;\n  };\n  AgentDataProvider.prototype.getInstanceId = function () {\n    return this.getAgentData().configuration.routingProfile.routingProfileId.match(/instance\\/([0-9a-fA-F|-]+)\\//)[1];\n  };\n  AgentDataProvider.prototype.getAWSAccountId = function () {\n    return this.getAgentData().configuration.routingProfile.routingProfileId.match(/:([0-9]+):instance/)[1];\n  };\n  AgentDataProvider.prototype._diffContacts = function (oldAgentData) {\n    var diff = {\n      added: {},\n      removed: {},\n      common: {},\n      oldMap: connect.index(oldAgentData == null ? [] : oldAgentData.snapshot.contacts, function (contact) {\n        return contact.contactId;\n      }),\n      newMap: connect.index(this.agentData.snapshot.contacts, function (contact) {\n        return contact.contactId;\n      }),\n      endTime: 0\n    };\n    connect.keys(diff.oldMap).forEach(function (contactId) {\n      if (connect.contains(diff.newMap, contactId)) {\n        diff.common[contactId] = diff.newMap[contactId];\n      } else {\n        diff.removed[contactId] = diff.oldMap[contactId];\n      }\n    });\n    connect.keys(diff.newMap).forEach(function (contactId) {\n      if (!connect.contains(diff.oldMap, contactId)) {\n        diff.added[contactId] = diff.newMap[contactId];\n      }\n    });\n    diff.endTime = performance.now();\n    return diff;\n  };\n  AgentDataProvider.prototype._fireAgentUpdateEvents = function (oldAgentData) {\n    var self = this;\n    var diff = null;\n    var oldAgentState = oldAgentData == null ? connect.AgentAvailStates.INIT : oldAgentData.snapshot.state.name;\n    var newAgentState = this.agentData.snapshot.state.name;\n    var oldRoutingState = oldAgentData == null ? connect.AgentStateType.INIT : oldAgentData.snapshot.state.type;\n    var newRoutingState = this.agentData.snapshot.state.type;\n    if (oldRoutingState !== newRoutingState) {\n      connect.core.getAgentRoutingEventGraph().getAssociations(this, oldRoutingState, newRoutingState).forEach(function (event) {\n        self.bus.trigger(event, new connect.Agent());\n      });\n    }\n    if (oldAgentState !== newAgentState) {\n      this.bus.trigger(connect.AgentEvents.STATE_CHANGE, {\n        agent: new connect.Agent(),\n        oldState: oldAgentState,\n        newState: newAgentState\n      });\n      connect.core.getAgentStateEventGraph().getAssociations(this, oldAgentState, newAgentState).forEach(function (event) {\n        self.bus.trigger(event, new connect.Agent());\n      });\n    }\n    var oldNextState = oldAgentData && oldAgentData.snapshot.nextState ? oldAgentData.snapshot.nextState.name : null;\n    var newNextState = this.agentData.snapshot.nextState ? this.agentData.snapshot.nextState.name : null;\n    if (oldNextState !== newNextState) {\n      if (newNextState) {\n        self.bus.trigger(connect.AgentEvents.ENQUEUED_NEXT_STATE, new connect.Agent());\n      } else if (oldNextState) {\n        // The enqueued next state was cleared (e.g. agent returns to Available\n        // before the enqueued transition takes effect). Notify subscribers so\n        // their view of nextState stays accurate (GitHub #1063).\n        self.bus.trigger(connect.AgentEvents.CLEARED_NEXT_STATE, new connect.Agent());\n      }\n    }\n    if (oldAgentData !== null) {\n      diff = this._diffContacts(oldAgentData);\n    } else {\n      diff = {\n        added: connect.index(this.agentData.snapshot.contacts, function (contact) {\n          return contact.contactId;\n        }),\n        removed: {},\n        common: {},\n        oldMap: {},\n        newMap: connect.index(this.agentData.snapshot.contacts, function (contact) {\n          return contact.contactId;\n        }),\n        endTime: performance.now()\n      };\n    }\n\n    // Removed contacts go first: when one snapshot drops a contact and adds the next, the old one\n    // must be DESTROYED before the new one INITs. SoftphoneManager releases the old RTC session on\n    // DESTROYED and refuses to start a session while a stale one exists.\n    connect.values(diff.removed).forEach(function (contactData) {\n      if (connect.core.endedEventTracker.has(contactData.contactId)) {\n        connect.getLog().info(\"[ContactEvent] ENDED event was not triggered prior to contact removal, firing ENDED now\").withObject({\n          contactId: contactData.contactId\n        }).sendInternalLogToServer();\n        connect.core._removeContactFromEndedSet(contactData.contactId);\n        self.bus.trigger(connect.ContactEvents.ENDED, new connect.ContactSnapshot(contactData));\n        self.bus.trigger(connect.core.getContactEventName(connect.ContactEvents.ENDED, contactData.contactId), new connect.ContactSnapshot(contactData));\n      }\n      self.bus.trigger(connect.ContactEvents.DESTROYED, new connect.ContactSnapshot(contactData));\n      self.bus.trigger(connect.core.getContactEventName(connect.ContactEvents.DESTROYED, contactData.contactId), new connect.ContactSnapshot(contactData));\n      self._unsubAllContactEventsForContact(contactData.contactId);\n    });\n    connect.values(diff.added).forEach(function (contactData) {\n      try {\n        connect.core.endedEventTracker.add(contactData.contactId);\n      } catch (e) {\n        connect.getLog().info(\"[ContactEvent] Failed to add contact to the ended event tracker\").withObject(contactData || {}).withException(e).sendInternalLogToServer();\n      }\n      self.bus.trigger(connect.ContactEvents.INIT, new connect.Contact(contactData.contactId));\n      self._fireContactUpdateEvents(contactData.contactId, connect.ContactStateType.INIT, contactData.state.type);\n    });\n    connect.keys(diff.common).forEach(function (contactId) {\n      self._fireContactUpdateEvents(contactId, diff.oldMap[contactId].state.type, diff.newMap[contactId].state.type);\n    });\n  };\n  AgentDataProvider.prototype._fireContactUpdateEvents = function (contactId, oldContactState, newContactState) {\n    var self = this;\n    if (oldContactState !== newContactState) {\n      connect.core.getContactEventGraph().getAssociations(this, oldContactState, newContactState).forEach(function (event) {\n        connect.core._handleEndedEvent(contactId, newContactState);\n        self.bus.trigger(event, new connect.Contact(contactId));\n        self.bus.trigger(connect.core.getContactEventName(event, contactId), new connect.Contact(contactId));\n      });\n    }\n    self.bus.trigger(connect.ContactEvents.REFRESH, new connect.Contact(contactId));\n    self.bus.trigger(connect.core.getContactEventName(connect.ContactEvents.REFRESH, contactId), new connect.Contact(contactId));\n  };\n  AgentDataProvider.prototype._unsubAllContactEventsForContact = function (contactId) {\n    var self = this;\n    connect.values(connect.ContactEvents).forEach(function (eventName) {\n      self.bus.getSubscriptions(connect.core.getContactEventName(eventName, contactId)).map(function (sub) {\n        sub.unsubscribe();\n      });\n    });\n  };\n  AgentDataProvider.prototype.destroy = function () {\n    var self = this;\n    self.agentUpdateSubscriber.unsubscribe();\n  };\n\n  /** ----- minimal view layer event handling **/\n\n  connect.core.onViewContact = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ContactEvents.VIEW, f);\n  };\n\n  /**\n   * Used of agent interface control.\n   * connect.core.viewContact(\"contactId\") ->  this is currently programmed to get the contact into view.\n   */\n  connect.core.viewContact = function (contactId) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ContactEvents.VIEW,\n      data: {\n        contactId: contactId\n      }\n    });\n  };\n\n  /** ----- minimal view layer event handling **/\n\n  connect.core.onActivateChannelWithViewType = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ChannelViewEvents.ACTIVATE_CHANNEL_WITH_VIEW_TYPE, f);\n  };\n\n  /**\n   * Used of agent interface control.\n   * connect.core.activateChannelWithViewType() ->  this is currently programmed to get either the number pad, quick connects, or create task into view.\n   * the valid combinations are (\"create_task\", \"task\"), (\"number_pad\", \"softphone\"), (\"create_task\", \"softphone\"), (\"quick_connects\", \"softphone\")\n   * the softphone with create_task combo is a special case in the channel view to allow all three view type buttons to appear on the softphone screen\n   *\n   * The 'source' is an optional parameter which indicates the requester. For example, if invoked with (\"create_task\", \"task\", \"agentapp\") we would know agentapp requested open task view.\n   *\n   * \"caseId\" is an optional parameter which is passed when a task is created from a Kesytone case\n   * \n   * clientToken -  optional parameter used for deduping the incoming requests (idempotent token).  \n   * as we use broadcast mechanisms, every browser tab gets this request and we need a way to prevent processing the same request accross all browesrs tabs. \n   * This is being used for emails today where we have a weblock serving this request and tracks the client token to process it once and dedupes the rest\n   *   \n   */\n  connect.core.activateChannelWithViewType = function (viewType, mediaType, source, caseId, clientToken) {\n    var data = {\n      viewType: viewType,\n      mediaType: mediaType\n    };\n    if (source) {\n      data.source = source;\n    }\n    if (caseId) {\n      data.caseId = caseId;\n    }\n    if (clientToken) {\n      data.clientToken = clientToken;\n    } else {\n      data.clientToken = connect.randomId(); // Create a random token\n    }\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.ChannelViewEvents.ACTIVATE_CHANNEL_WITH_VIEW_TYPE,\n      data: data\n    });\n  };\n\n  /**\n   * Used to publish 'task created' event\n   */\n  connect.core.triggerTaskCreated = function (data) {\n    connect.core.getUpstream().upstreamBus.trigger(connect.TaskEvents.CREATED, data);\n  };\n\n  /**\n   * Used to publish 'email created' event\n   */\n  connect.core.triggerEmailCreated = function (data) {\n    connect.core.getUpstream().upstreamBus.trigger(connect.EmailEvents.CREATED, data);\n  };\n\n  /** ------------------------------------------------- */\n\n  /**\n   * This will be helpful for the custom and embedded CCPs\n   * to handle the access denied use case.\n   */\n  connect.core.onAccessDenied = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.ACCESS_DENIED, f);\n  };\n\n  /**\n   * This will be helpful for SAML use cases to handle the custom logins.\n   */\n  connect.core.onAuthFail = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.AUTH_FAIL, f);\n  };\n  connect.core.onAuthorizeSuccess = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.AUTHORIZE_SUCCESS, f);\n  };\n  connect.core._handleAuthorizeSuccess = function () {\n    window.sessionStorage.setItem(connect.SessionStorageKeys.AUTHORIZE_RETRY_COUNT, 0);\n  };\n  connect.core._handleAuthFail = function (loginUrl, authorizeEndpoint, authFailData) {\n    if (authFailData && authFailData.authorize) {\n      connect.core._handleAuthorizeFail(loginUrl);\n    } else {\n      connect.core._handleCTIAuthFail(authorizeEndpoint);\n    }\n  };\n  connect.core._handleAuthorizeFail = function (loginUrl) {\n    var authRetryCount = connect.core._getAuthRetryCount();\n    if (!connect.core.authorizeTimeoutId) {\n      if (authRetryCount < connect.core.MAX_AUTHORIZE_RETRY_COUNT_FOR_SESSION) {\n        connect.core._incrementAuthRetryCount();\n        var retryDelay = AWS.util.calculateRetryDelay(authRetryCount + 1 || 0, {\n          base: 2000\n        });\n        connect.core.authorizeTimeoutId = setTimeout(function () {\n          connect.core._redirectToLogin(loginUrl);\n        }, retryDelay); //We don't have to clear the timeoutId because we are redirecting away from this origin once the timeout completes.\n      } else {\n        connect.getLog().warn(\"We have exhausted our authorization retries due to 401s from the authorize api. No more retries will be attempted in this session until the authorize api returns 200.\").sendInternalLogToServer();\n        connect.core.getEventBus().trigger(connect.EventType.AUTHORIZE_RETRIES_EXHAUSTED);\n      }\n    }\n  };\n  connect.core._redirectToLogin = function (loginUrl) {\n    if (typeof loginUrl === 'string') {\n      location.assign(loginUrl);\n    } else {\n      location.reload();\n    }\n  };\n  connect.core._handleCTIAuthFail = function (authorizeEndpoint) {\n    if (!connect.core.ctiTimeoutId) {\n      if (connect.core.ctiAuthRetryCount < connect.core.MAX_CTI_AUTH_RETRY_COUNT) {\n        connect.core.ctiAuthRetryCount++;\n        var retryDelay = AWS.util.calculateRetryDelay(connect.core.ctiAuthRetryCount || 0, {\n          base: 500\n        });\n        connect.core.ctiTimeoutId = setTimeout(function () {\n          connect.core.authorize(authorizeEndpoint).then(connect.core._triggerAuthorizeSuccess.bind(connect.core))[\"catch\"](connect.core._triggerAuthFail.bind(connect.core, {\n            authorize: true\n          }));\n          connect.core.ctiTimeoutId = null;\n        }, retryDelay);\n      } else {\n        connect.getLog().warn(\"We have exhausted our authorization retries due to 401s from the CTI service. No more retries will be attempted until the page is refreshed.\").sendInternalLogToServer();\n        connect.core.getEventBus().trigger(connect.EventType.CTI_AUTHORIZE_RETRIES_EXHAUSTED);\n      }\n    }\n  };\n  connect.core._triggerAuthorizeSuccess = function () {\n    connect.core.getUpstream().upstreamBus.trigger(connect.EventType.AUTHORIZE_SUCCESS);\n  };\n  connect.core._triggerAuthFail = function (data) {\n    connect.core.getUpstream().upstreamBus.trigger(connect.EventType.AUTH_FAIL, data);\n  };\n  connect.core._getAuthRetryCount = function () {\n    var item = window.sessionStorage.getItem(connect.SessionStorageKeys.AUTHORIZE_RETRY_COUNT);\n    if (item !== null) {\n      if (!isNaN(parseInt(item))) {\n        return parseInt(item);\n      } else {\n        throw new connect.StateError(\"The session storage value for auth retry count was NaN\");\n      }\n    } else {\n      window.sessionStorage.setItem(connect.SessionStorageKeys.AUTHORIZE_RETRY_COUNT, 0);\n      return 0;\n    }\n  };\n  connect.core._incrementAuthRetryCount = function () {\n    window.sessionStorage.setItem(connect.SessionStorageKeys.AUTHORIZE_RETRY_COUNT, (connect.core._getAuthRetryCount() + 1).toString());\n  };\n  connect.core.onAuthorizeRetriesExhausted = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.AUTHORIZE_RETRIES_EXHAUSTED, f);\n  };\n  connect.core.onCTIAuthorizeRetriesExhausted = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.CTI_AUTHORIZE_RETRIES_EXHAUSTED, f);\n  };\n\n  /** ------------------------------------------------- */\n\n  /**\n   * Used for handling the rtc session stats.\n   * Usage\n   * connect.core.onSoftphoneSessionInit(function({ connectionId }) {\n   *     var softphoneManager = connect.core.getSoftphoneManager();\n   *     if(softphoneManager){\n   *        // access session\n   *        var session = softphoneManager.getSession(connectionId);\n   *      }\n   * });\n   */\n\n  connect.core.onSoftphoneSessionInit = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConnectionEvents.SESSION_INIT, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.onConfigure = function (f) {\n    return connect.core.getEventBus().subscribe(connect.ConfigurationEvents.CONFIGURE, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.onInitialized = function (f) {\n    return connect.core.getEventBus().subscribe(connect.EventType.INIT, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.sendConfigure = function (params, conduit, isACGR) {\n    if (params.softphone || params.chat || params.task || params.email || params.pageOptions || params.shouldAddNamespaceToLogs) {\n      var _params$pageOptions;\n      var config = {\n        softphone: params.softphone,\n        chat: params.chat,\n        task: params.task,\n        email: params.email,\n        autoAcceptTone: params.autoAcceptTone,\n        pageOptions: params.pageOptions,\n        shouldAddNamespaceToLogs: params.shouldAddNamespaceToLogs,\n        showInactivityModal: (_params$pageOptions = params.pageOptions) === null || _params$pageOptions === void 0 ? void 0 : _params$pageOptions.showInactivityModal\n      };\n      if (isACGR) {\n        // ACGR mode: add ACGR-specific params\n        config.enableGlobalResiliency = params.enableGlobalResiliency;\n        config.instanceState = connect.isActiveConduit(conduit) ? 'active' : 'inactive';\n      }\n      conduit.sendUpstream(connect.EventType.CONFIGURE, config);\n    }\n    ;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.listenForConfigureRequest = function (params, conduit, isACGR) {\n    conduit.onUpstream(connect.EventType.REQUEST_CONFIGURE, function () {\n      connect.core.sendConfigure(params, conduit, isACGR);\n    });\n  };\n\n  /**-----------------------------------------------------------------------*/\n  // If the CRM hasn't sent a configure message, we send a request to receive configure\n  // This is in case iframed CCP is refreshed abnormally\n  connect.core.checkIfConfigureReceived = function (conduit) {\n    if (connect.isFramed()) {\n      global.setTimeout(function () {\n        if (!connect.core.hasReceivedCRMConfigure) {\n          connect.getLog().warn(\"CCP has not received a configure message. Sending request to CRM for configuration.\").sendInternalLogToServer();\n          conduit.sendDownstream(connect.EventType.REQUEST_CONFIGURE);\n        }\n      }, 1000);\n    }\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getContactEventName = function (eventName, contactId) {\n    connect.assertNotNull(eventName, 'eventName');\n    connect.assertNotNull(contactId, 'contactId');\n    if (!connect.contains(connect.values(connect.ContactEvents), eventName)) {\n      throw new connect.ValueError('%s is not a valid contact event.', eventName);\n    }\n    return connect.sprintf('%s::%s', eventName, contactId);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getEventBus = function () {\n    return connect.core.eventBus;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getWebSocketManager = function () {\n    return connect.core.webSocketProvider;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getAgentDataProvider = function () {\n    return connect.core.agentDataProvider;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getLocalTimestamp = function () {\n    return connect.core.getAgentDataProvider().getAgentData().snapshot.localTimestamp;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getSkew = function () {\n    return connect.core.getAgentDataProvider().getAgentData().snapshot.skew;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getAgentRoutingEventGraph = function () {\n    return connect.core.agentRoutingEventGraph;\n  };\n  connect.core.agentRoutingEventGraph = new connect.EventGraph().assoc(connect.EventGraph.ANY, connect.AgentStateType.ROUTABLE, connect.AgentEvents.ROUTABLE).assoc(connect.EventGraph.ANY, connect.AgentStateType.NOT_ROUTABLE, connect.AgentEvents.NOT_ROUTABLE).assoc(connect.EventGraph.ANY, connect.AgentStateType.OFFLINE, connect.AgentEvents.OFFLINE);\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getAgentStateEventGraph = function () {\n    return connect.core.agentStateEventGraph;\n  };\n  connect.core.agentStateEventGraph = new connect.EventGraph().assoc(connect.EventGraph.ANY, connect.values(connect.AgentErrorStates), connect.AgentEvents.ERROR).assoc(connect.EventGraph.ANY, connect.AgentAvailStates.AFTER_CALL_WORK, connect.AgentEvents.ACW);\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getContactEventGraph = function () {\n    return connect.core.contactEventGraph;\n  };\n  connect.core.contactEventGraph = new connect.EventGraph().assoc(connect.EventGraph.ANY, connect.ContactStateType.INCOMING, connect.ContactEvents.INCOMING).assoc(connect.EventGraph.ANY, connect.ContactStateType.PENDING, connect.ContactEvents.PENDING).assoc(connect.EventGraph.ANY, connect.ContactStateType.CONNECTING, connect.ContactEvents.CONNECTING).assoc(connect.EventGraph.ANY, connect.ContactStateType.CONNECTED, connect.ContactEvents.CONNECTED).assoc(connect.ContactStateType.CONNECTING, connect.ContactStateType.ERROR, connect.ContactEvents.MISSED).assoc(connect.ContactStateType.INCOMING, connect.ContactStateType.ERROR, connect.ContactEvents.MISSED).assoc(connect.EventGraph.ANY, connect.ContactStateType.ENDED, connect.ContactEvents.ACW).assoc(connect.values(connect.CONTACT_ACTIVE_STATES), connect.values(connect.relativeComplement(connect.CONTACT_ACTIVE_STATES, connect.ContactStateType)), connect.ContactEvents.ENDED).assoc(connect.EventGraph.ANY, connect.ContactStateType.ERROR, connect.ContactEvents.ERROR).assoc(connect.ContactStateType.CONNECTING, connect.ContactStateType.MISSED, connect.ContactEvents.MISSED).assoc(connect.ContactStateType.INCOMING, connect.ContactStateType.MISSED, connect.ContactEvents.MISSED).assoc(connect.ContactStateType.CONNECTING, connect.ContactStateType.REJECTED, connect.ContactEvents.MISSED).assoc(connect.ContactStateType.INCOMING, connect.ContactStateType.REJECTED, connect.ContactEvents.MISSED);\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getClient = function () {\n    if (!connect.core.client) {\n      throw new connect.StateError('The connect core has not been initialized!');\n    }\n    return connect.core.client;\n  };\n  connect.core.client = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getApiProxyClient = function () {\n    if (!connect.core.apiProxyClient) {\n      throw new connect.StateError('The connect apiProxy Client has not been initialized!');\n    }\n    return connect.core.apiProxyClient;\n  };\n  connect.core.apiProxyClient = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getMasterClient = function () {\n    if (!connect.core.masterClient) {\n      throw new connect.StateError('The connect master client has not been initialized!');\n    }\n    return connect.core.masterClient;\n  };\n  connect.core.masterClient = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getSoftphoneManager = function () {\n    return connect.core.softphoneManager;\n  };\n  connect.core.softphoneManager = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getNotificationManager = function () {\n    if (!connect.core.notificationManager) {\n      connect.core.notificationManager = new connect.NotificationManager();\n    }\n    return connect.core.notificationManager;\n  };\n  connect.core.notificationManager = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getPopupManager = function () {\n    return connect.core.popupManager;\n  };\n  connect.core.popupManager = new connect.PopupManager();\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.getUpstream = function () {\n    if (!connect.core.upstream) {\n      throw new connect.StateError('There is no upstream conduit!');\n    }\n    return connect.core.upstream;\n  };\n  connect.core.upstream = null;\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.onFailoverDetected = function (f) {\n    return connect.core.getEventBus().subscribe(connect.GlobalResiliencyEvents.FAILOVER_DETECTED_CRM, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.onFailoverPending = function (f) {\n    return connect.core.getEventBus().subscribe(connect.GlobalResiliencyEvents.FAILOVER_PENDING_CRM, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.onFailoverCompleted = function (f) {\n    return connect.core.getEventBus().subscribe(connect.GlobalResiliencyEvents.FAILOVER_COMPLETE, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.onConfigureError = function (f) {\n    return connect.core.getEventBus().subscribe(connect.GlobalResiliencyEvents.CONFIGURE_ERROR, f);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.getActiveRegion = function () {\n    return connect.globalResiliency._activeRegion;\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.globalResiliency.forceFailover = function () {\n    connect.core.getUpstream().sendUpstream(connect.GlobalResiliencyEvents.FORCE_FAILOVER);\n  };\n\n  /**-----------------------------------------------------------------------*/\n  connect.core.AgentDataProvider = AgentDataProvider;\n  connect.WebSocketProvider = WebSocketProvider;\n  connect.KeepaliveManager = KeepaliveManager;\n})();\n\n/***/ },\n\n/***/ 682\n() {\n\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  var ALL_EVENTS = '<<all>>';\n\n  /**---------------------------------------------------------------\n   * enum EventType\n   */\n  var EventType = connect.makeEnum(['acknowledge', 'ack_timeout', 'init', 'api_request', 'api_response', 'auth_fail', 'access_denied', 'close', 'configure', 'log', 'download_log_from_ccp', 'master_request', 'master_response', 'synchronize', 'terminate', 'terminated', 'send_logs', 'reload_agent_configuration', 'broadcast', 'api_metric', 'client_metric', 'softphone_stats', 'softphone_report', 'client_side_logs', 'server_bound_internal_log', 'mute', \"iframe_style\", \"iframe_retries_exhausted\", \"update_connected_ccps\", \"outer_context_info\", \"media_device_request\", \"media_device_response\", \"tab_id\", 'authorize_success', 'authorize_retries_exhausted', 'cti_authorize_retries_exhausted', 'click_stream_data', 'set_quick_get_agent_snapshot_flag', 'api_proxy_request', 'api_proxy_response', 'request_configure', 'cross_region_csm_config']);\n\n  /**---------------------------------------------------------------\n   * enum MasterTopics\n   */\n  var MasterTopics = connect.makeNamespacedEnum('connect', ['loginPopup', 'sendLogs', 'softphone', 'ringtone', 'metrics', 'failover']);\n\n  /**---------------------------------------------------------------\n   * enum AgentEvents\n   */\n  var AgentEvents = connect.makeNamespacedEnum('agent', ['init', 'update', 'refresh', 'routable', 'not_routable', 'pending', 'contact_pending', 'offline', 'error', 'softphone_error', 'websocket_connection_lost', 'websocket_connection_gained', 'state_change', 'acw', 'mute_toggle', 'local_media_stream_created', 'enqueued_next_state', 'cleared_next_state', 'fetch_agent_data_from_ccp']);\n\n  /**---------------------------------------------------------------\n  * enum WebSocketEvents\n  */\n  var WebSocketEvents = connect.makeNamespacedEnum('webSocket', ['init_failure', 'connection_open', 'connection_close', 'connection_error', 'connection_gain', 'connection_lost', 'subscription_update', 'subscription_failure', 'all_message', 'send', 'subscribe']);\n\n  /**---------------------------------------------------------------\n    * enum ContactEvents\n    */\n  var ContactEvents = connect.makeNamespacedEnum('contact', ['init', 'refresh', 'destroyed', 'incoming', 'pending', 'connecting', 'connected', 'missed', 'acw', 'view', 'ended', 'error', 'accepted', 'invalid_state_transition', 'screen_sharing_started', 'screen_sharing_stopped', 'screen_sharing_error']);\n  var ChannelViewEvents = connect.makeNamespacedEnum('taskList', ['activate_channel_with_view_type']);\n  var TaskEvents = connect.makeNamespacedEnum('task', ['created']);\n  var EmailEvents = connect.makeNamespacedEnum('email', ['created']);\n\n  /**---------------------------------------------------------------\n  * enum ConnectionEvents\n  */\n  var ConnectionEvents = connect.makeNamespacedEnum('connection', ['session_init', 'ready_to_start_session']);\n\n  /**---------------------------------------------------------------\n   * enum Configuration Events\n   */\n  var ConfigurationEvents = connect.makeNamespacedEnum('configuration', ['configure', 'set_speaker_device', 'set_microphone_device', 'set_ringer_device', 'speaker_device_changed', 'microphone_device_changed', 'ringer_device_changed', 'camera_device_changed', 'background_blur_changed']);\n\n  // New Global Resiliency implementation\n  var GlobalResiliencyEvents = connect.makeNamespacedEnum('globalResiliency', ['configure', 'configure_ccp_conduit', 'init', 'configure_error', 'validate_global_signin', 'global_signin_valid', 'global_signin_invalid', 'failover_detected', 'failover_detected_crm', 'failover_initiated', 'failover_pending', 'failover_pending_crm', 'failover_complete', 'heartbeat_syn', 'heartbeat_ack', 'force_failover']);\n\n  /**---------------------------------------------------------------\n   * enum GlobalResiliencyConfigureErrorType\n   */\n  var GlobalResiliencyConfigureErrorType = connect.makeEnum(['LILY_AGENT_CONFIG_MISSING', 'LILY_AGENT_CONFIG_PARSE_ERROR']);\n\n  /**---------------------------------------------------------------\n   * enum VoiceId Events\n   */\n  var VoiceIdEvents = connect.makeNamespacedEnum('voiceId', ['update_domain_id']);\n\n  /**---------------------------------------------------------------\n   * class EventFactory\n   */\n  var EventFactory = function EventFactory() {};\n  EventFactory.createRequest = function (type, method, params) {\n    return {\n      event: type,\n      requestId: connect.randomId(),\n      method: method,\n      params: params\n    };\n  };\n  EventFactory.createResponse = function (type, request, data, err) {\n    return {\n      event: type,\n      requestId: request.requestId,\n      data: data,\n      err: err || null\n    };\n  };\n\n  /**\n   * An object representing an event subscription in an EventBus.\n   */\n  var Subscription = function Subscription(subMap, eventName, f) {\n    this.subMap = subMap;\n    this.id = connect.randomId();\n    this.eventName = eventName;\n    this.f = f;\n  };\n\n  /**\n   * Unsubscribe the handler of this subscription from the EventBus\n   * from which it was created.\n   */\n  Subscription.prototype.unsubscribe = function () {\n    this.subMap.unsubscribe(this.eventName, this.id);\n  };\n\n  /**\n   * A map of event subscriptions, used by the EventBus.\n   */\n  var SubscriptionMap = function SubscriptionMap() {\n    this.subIdMap = {};\n    this.subEventNameMap = {};\n  };\n\n  /**\n   * Add a subscription for the named event.  Creates a new Subscription\n   * object and returns it.  This object can be used to unsubscribe.\n   */\n  SubscriptionMap.prototype.subscribe = function (eventName, f) {\n    var sub = new Subscription(this, eventName, f);\n    this.subIdMap[sub.id] = sub;\n    var subList = this.subEventNameMap[eventName] || [];\n    subList.push(sub);\n    this.subEventNameMap[eventName] = subList;\n    return sub;\n  };\n\n  /**\n   * Unsubscribe a subscription matching the given event name and id.\n   */\n  SubscriptionMap.prototype.unsubscribe = function (eventName, subId) {\n    if (connect.contains(this.subEventNameMap, eventName)) {\n      this.subEventNameMap[eventName] = this.subEventNameMap[eventName].filter(function (s) {\n        return s.id !== subId;\n      });\n      if (this.subEventNameMap[eventName].length < 1) {\n        delete this.subEventNameMap[eventName];\n      }\n    }\n    if (connect.contains(this.subIdMap, subId)) {\n      delete this.subIdMap[subId];\n    }\n  };\n\n  /**\n   * Get a list of all subscriptions in the subscription map.\n   */\n  SubscriptionMap.prototype.getAllSubscriptions = function () {\n    return connect.values(this.subEventNameMap).reduce(function (a, b) {\n      return a.concat(b);\n    }, []);\n  };\n\n  /**\n   * Get a list of subscriptions for the given event name, or an empty\n   * list if there are no subscriptions.\n   */\n  SubscriptionMap.prototype.getSubscriptions = function (eventName) {\n    return this.subEventNameMap[eventName] || [];\n  };\n\n  /**\n   * An object which maintains a map of subscriptions and serves as the\n   * mechanism for triggering events to be handled by subscribers.\n   */\n  var EventBus = function EventBus(paramsIn) {\n    var params = paramsIn || {};\n    this.subMap = new SubscriptionMap();\n    this.logEvents = params.logEvents || false;\n  };\n\n  /**\n   * Subscribe to the named event.  Returns a new Subscription object\n   * which can be used to unsubscribe.\n   */\n  EventBus.prototype.subscribe = function (eventName, f) {\n    connect.assertNotNull(eventName, 'eventName');\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.subMap.subscribe(eventName, f);\n  };\n\n  /**\n   * Subscribe a function to be called on all events.\n   */\n  EventBus.prototype.subscribeAll = function (f) {\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.subMap.subscribe(ALL_EVENTS, f);\n  };\n\n  /**\n   * Get a list of subscriptions for the given event name, or an empty\n   * list if there are no subscriptions.\n   */\n  EventBus.prototype.getSubscriptions = function (eventName) {\n    return this.subMap.getSubscriptions(eventName);\n  };\n\n  /**\n   * Trigger the given event with the given data.  All methods subscribed\n   * to this event will be called and are provided with the given arbitrary\n   * data object and the name of the event, in that order.\n   */\n  EventBus.prototype.trigger = function (eventName, data) {\n    connect.assertNotNull(eventName, 'eventName');\n    var self = this;\n    var allEventSubs = this.subMap.getSubscriptions(ALL_EVENTS);\n    var eventSubs = this.subMap.getSubscriptions(eventName);\n    if (this.logEvents && eventName !== connect.EventType.LOG && eventName !== connect.EventType.MASTER_RESPONSE && eventName !== connect.EventType.API_METRIC && eventName !== connect.EventType.SERVER_BOUND_INTERNAL_LOG) {\n      connect.getLog().trace(\"Publishing event: %s\", eventName).sendInternalLogToServer();\n    }\n    if (eventName.startsWith(connect.ContactEvents.ACCEPTED) && data && data.contactId && !(data instanceof connect.Contact)) {\n      data = new connect.Contact(data.contactId);\n    }\n    allEventSubs.concat(eventSubs).forEach(function (sub) {\n      try {\n        sub.f(data || null, eventName, self);\n      } catch (e) {\n        connect.getLog().error(\"'%s' event handler failed.\", eventName).withException(e).sendInternalLogToServer();\n      }\n    });\n  };\n\n  /**\n   * Returns a closure which bridges an event from another EventBus to this bus.\n   *\n   * Usage:\n   * conduit.onUpstream(\"MyEvent\", bus.bridge());\n   */\n  EventBus.prototype.bridge = function () {\n    var self = this;\n    return function (data, event) {\n      self.trigger(event, data);\n    };\n  };\n\n  /**\n   * Unsubscribe all events in the event bus.\n   */\n  EventBus.prototype.unsubscribeAll = function () {\n    this.subMap.getAllSubscriptions().forEach(function (sub) {\n      sub.unsubscribe();\n    });\n  };\n  connect.EventBus = EventBus;\n  connect.EventFactory = EventFactory;\n  connect.EventType = EventType;\n  connect.AgentEvents = AgentEvents;\n  connect.ConfigurationEvents = ConfigurationEvents;\n  connect.ConnectionEvents = ConnectionEvents;\n  connect.ConnnectionEvents = ConnectionEvents; //deprecate on next major version release.\n  connect.ContactEvents = ContactEvents;\n  connect.ChannelViewEvents = ChannelViewEvents;\n  connect.TaskEvents = TaskEvents;\n  connect.EmailEvents = EmailEvents;\n  connect.VoiceIdEvents = VoiceIdEvents;\n  connect.WebSocketEvents = WebSocketEvents;\n  connect.MasterTopics = MasterTopics;\n  connect.GlobalResiliencyEvents = GlobalResiliencyEvents;\n  connect.GlobalResiliencyConfigureErrorType = GlobalResiliencyConfigureErrorType;\n})();\n\n/***/ },\n\n/***/ 949\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  var CCP_SYN_TIMEOUT = 1000; // 1 sec\n  var CCP_ACK_TIMEOUT = 3000; // 3 sec\n  var CCP_LOAD_TIMEOUT = 5000; // 5 sec\n\n  var CSM_IFRAME_REFRESH_ATTEMPTS = 'IframeRefreshAttempts';\n  var CSM_IFRAME_INITIALIZATION_SUCCESS = 'IframeInitializationSuccess';\n  var CSM_IFRAME_INITIALIZATION_TIME = 'IframeInitializationTime';\n  connect.globalResiliency._downloadCCPLogs = function () {\n    connect.core.getEventBus().trigger(connect.EventType.DOWNLOAD_LOG_FROM_CCP);\n  };\n\n  /**\n   * Helper function to validate global signin for ACGR initialization.\n   * Sends VALIDATE_GLOBAL_SIGNIN to CCP iframe and waits for explicit response.\n   * Calls onSuccess if global signin valid, onFailure if regional login detected.\n  \n   * - Sends VALIDATE_GLOBAL_SIGNIN event to request validation\n   * - Waits for either GLOBAL_SIGNIN_VALID or GLOBAL_SIGNIN_INVALID response\n   * - Has 250 ms timeout as fallback \n   */\n  connect.globalResiliency._validateGlobalSignin = function (conduit, params, data, onSuccess, onFailure) {\n    connect.getLog().info(\"[GR] Starting global signin validation for \".concat(conduit.name)).sendInternalLogToServer();\n    var validationCompleted = false;\n    var validationTimeout;\n    var signinValidSub;\n    var signinInvalidSub;\n    var completeValidation = function completeValidation(success, context) {\n      var _signinValidSub, _signinInvalidSub;\n      if (validationCompleted) {\n        connect.getLog().warn(\"[GR] Global signin validation already completed for \".concat(conduit.name, \", ignoring duplicate response\")).sendInternalLogToServer();\n        return;\n      }\n      validationCompleted = true;\n      clearTimeout(validationTimeout);\n      (_signinValidSub = signinValidSub) === null || _signinValidSub === void 0 || _signinValidSub.unsubscribe();\n      (_signinInvalidSub = signinInvalidSub) === null || _signinInvalidSub === void 0 || _signinInvalidSub.unsubscribe();\n      if (success) {\n        connect.getLog().info(\"[GR] Global signin validation succeeded for \".concat(conduit.name)).withObject(context).sendInternalLogToServer();\n        onSuccess();\n      } else {\n        connect.getLog().warn(\"[GR] Global signin validation failed - regional login detected for \".concat(conduit.name)).withObject(context).sendInternalLogToServer();\n\n        // Publish metric for both regional login error types\n        if (context.errorType === connect.GlobalResiliencyConfigureErrorType.LILY_AGENT_CONFIG_MISSING || context.errorType === connect.GlobalResiliencyConfigureErrorType.LILY_AGENT_CONFIG_PARSE_ERROR) {\n          connect.publishMetric({\n            name: 'GlobalResiliencyRegionalLoginAttempt',\n            data: {\n              count: 1\n            }\n          });\n        }\n        onFailure();\n      }\n    };\n\n    // Set up timeout fallback (250ms - local iframe validation is fast, allows margin for edge cases)\n    validationTimeout = setTimeout(function () {\n      connect.getLog().warn(\"[GR] Global signin validation timeout for \".concat(conduit.name, \" - assuming valid\")).sendInternalLogToServer();\n      completeValidation(true, {\n        reason: 'timeout'\n      });\n    }, 250);\n\n    // Listen for success response\n    signinValidSub = conduit.onUpstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_VALID, function (successData) {\n      completeValidation(true, {\n        reason: 'global_signin_valid',\n        data: successData\n      });\n    });\n\n    // Listen for error response\n    signinInvalidSub = conduit.onUpstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_INVALID, function (errorData) {\n      completeValidation(false, {\n        reason: 'global_signin_invalid',\n        error: errorData === null || errorData === void 0 ? void 0 : errorData.error,\n        errorType: errorData === null || errorData === void 0 ? void 0 : errorData.errorType\n      });\n    });\n\n    // Send validation request to CCP iframe\n    conduit.sendUpstream(connect.GlobalResiliencyEvents.VALIDATE_GLOBAL_SIGNIN);\n    connect.getLog().info(\"[GR] Sent VALIDATE_GLOBAL_SIGNIN request to \".concat(conduit.name)).sendInternalLogToServer();\n  };\n\n  /**\n   * Helper function to complete ACKNOWLEDGE initialization after cookie validation.\n   * Performs all setup needed once we confirm authentication is valid.\n   */\n  connect.globalResiliency._completeAcknowledgeInitialization = function (conduit, params, data, conduitTimerContainerMap, initStartTime) {\n    connect.getLog().info(\"[GR] Completing ACKNOWLEDGE initialization for \".concat(conduit.name)).sendInternalLogToServer();\n    connect.getLog().info(\"Acknowledged by the CCP! \".concat(conduit.name)).sendInternalLogToServer();\n    connect.core.sendConfigure(params, conduit, true);\n    connect.core.listenForConfigureRequest(params, conduit, true); // fallback in case of abnormal CCP refresh\n\n    // Clear the load timeout timer\n    if (conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance) {\n      global.clearTimeout(conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance);\n      conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance = null;\n    }\n\n    // Send outer context info to each CCP\n    conduit.sendUpstream(connect.EventType.OUTER_CONTEXT_INFO, {\n      streamsVersion: connect.version,\n      initCCPParams: params\n    });\n\n    // Start keepalive\n    conduit.keepaliveManager.start();\n\n    // Active conduit specific initialization\n    if (connect.isActiveConduit(conduit)) {\n      // Only active conduit initialize these since we only need one instance\n      connect.core.client = new connect.UpstreamConduitClient(conduit);\n      connect.core.masterClient = new connect.UpstreamConduitMasterClient(conduit);\n      connect.core.portStreamId = data.id;\n\n      // Only active conduit emits these metrics\n      if (initStartTime) {\n        var initTime = Date.now() - initStartTime;\n        var refreshAttempts = conduitTimerContainerMap[conduit.name].iframeRefreshAttempt || 0;\n        connect.getLog().info('Iframe initialization succeeded').sendInternalLogToServer();\n        connect.getLog().info(\"Iframe initialization time \".concat(initTime)).sendInternalLogToServer();\n        connect.getLog().info(\"Iframe refresh attempts \".concat(refreshAttempts)).sendInternalLogToServer();\n        setTimeout(function () {\n          connect.publishMetric({\n            name: CSM_IFRAME_REFRESH_ATTEMPTS,\n            data: {\n              count: refreshAttempts\n            }\n          });\n          connect.publishMetric({\n            name: CSM_IFRAME_INITIALIZATION_SUCCESS,\n            data: {\n              count: 1\n            }\n          });\n          connect.publishMetric({\n            name: CSM_IFRAME_INITIALIZATION_TIME,\n            data: {\n              count: initTime\n            }\n          });\n        }, 1000);\n      }\n    }\n    conduit.portStreamId = data.id;\n  };\n  connect.globalResiliency._initializeActiveRegion = function (grProxyConduit, region) {\n    // agentDataProvider needs to be reinitialized in order to avoid side effects from the drastic agent snapshot change\n    try {\n      if (region) {\n        var _connect$core$agentDa;\n        (_connect$core$agentDa = connect.core.agentDataProvider) === null || _connect$core$agentDa === void 0 || _connect$core$agentDa.destroy();\n        if (!connect.core.agentDataProvider) connect.core.agentDataProvider = new connect.core.AgentDataProvider(connect.core.getEventBus());else connect.core.agentDataProviderBackup = new connect.core.AgentDataProvider(connect.core.getEventBus());\n        grProxyConduit.getActiveConduit().sendUpstream(connect.AgentEvents.FETCH_AGENT_DATA_FROM_CCP);\n      }\n    } catch (e) {\n      connect.getLog().error('[GR] There was an error reinitializing the agent data provider.').withException(e).sendInternalLogToServer();\n      connect.publishMetric({\n        name: 'GlobalResiliencySwitchRegionAgentDataProviderFailure',\n        data: {\n          count: 1\n        }\n      });\n    }\n\n    // Set one to the connect.core.keepaliveManager just in case for backward compatibility, but most likely it won't be used.\n    connect.core.keepaliveManager = grProxyConduit.getActiveConduit().keepaliveManager;\n    connect.core.client = new connect.UpstreamConduitClient(grProxyConduit.getActiveConduit());\n    connect.core.masterClient = new connect.UpstreamConduitMasterClient(grProxyConduit.getActiveConduit());\n    connect.core.mediaFactory = new connect.MediaFactory(_objectSpread(_objectSpread({}, connect.globalResiliency.params), {}, {\n      ccpUrl: grProxyConduit.getActiveConduit().name\n    }));\n\n    // Because normal flow is initCCP > init softphone manager,\n    // it is possible the softphone manager was not yet initialized\n    try {\n      var _connect$core;\n      if ((_connect$core = connect.core) !== null && _connect$core !== void 0 && _connect$core.softphoneManager) {\n        connect.getLog().info('[GR] Refreshing softphone manager RTC peer connection manager.').sendInternalLogToServer();\n        connect.core.softphoneManager._initiateRtcPeerConnectionManager();\n      } else {\n        connect.getLog().info('[GR] Softphone manager not initialized or not used, not refreshing softphone manager.').sendInternalLogToServer();\n      }\n    } catch (e) {\n      connect.getLog().error('[GR] There was an error refreshing the softphone manager.').withException(e).sendInternalLogToServer();\n      connect.publishMetric({\n        name: 'GlobalResiliencySwitchRegionWebRTCFailure',\n        data: {\n          count: 1\n        }\n      });\n    }\n    if (region) {\n      connect.globalResiliency._activeRegion = region;\n      if (connect.ChatSession) {\n        if (connect.ChatSession.setRegionOverride) {\n          connect.getLog().info(\"[GR] Updating ChatJS region to \".concat(region)).sendInternalLogToServer();\n          connect.ChatSession.setRegionOverride(region);\n        } else {\n          connect.getLog().warn(\"[GR] ChatJS present, but setRegionOverride not found. Consider updating to latest ChatJS version\").sendInternalLogToServer();\n        }\n      } else {\n        connect.getLog().info('[GR] ChatJS not present, not updating ChatSession region.').sendInternalLogToServer();\n      }\n    }\n    grProxyConduit.getActiveConduit().sendUpstream(connect.GlobalResiliencyEvents.CONFIGURE_CCP_CONDUIT, {\n      instanceState: 'active'\n    });\n    grProxyConduit.getInactiveConduit().sendUpstream(connect.GlobalResiliencyEvents.CONFIGURE_CCP_CONDUIT, {\n      instanceState: 'inactive'\n    });\n    try {\n      connect.core._showIframe(grProxyConduit.getActiveConduit().iframe);\n      connect.core._hideIframe(grProxyConduit.getInactiveConduit().iframe);\n    } catch (e) {\n      connect.getLog().error('[GR] There was an error updating the IFrame visibility.').withException(e).sendInternalLogToServer();\n      connect.publishMetric({\n        name: 'GlobalResiliencySwitchRegionIFrameSwapFailure',\n        data: {\n          count: 1\n        }\n      });\n    }\n    try {\n      var label = grProxyConduit.iframeLabelMap[grProxyConduit.getActiveConduit().name];\n      connect.getLog().info(\"[GR] Setting provider active region to \".concat(label)).sendInternalLogToServer();\n      connect.core._amazonConnectProviderData.provider.setActiveRegion(label);\n    } catch (err) {\n      connect.getLog().error('[GR] Setting active region for provider failed.').withException(err).sendInternalLogToServer();\n    }\n  };\n  connect.globalResiliency._switchActiveRegion = function (grProxyConduit, newActiveConduitName) {\n    var _grProxyConduit$getAc, _grProxyConduit$getAc2, _connect$core2, _grProxyConduit$getAc3, _grProxyConduit$getAc4;\n    if (!(grProxyConduit instanceof connect.GRProxyIframeConduit)) {\n      connect.getLog().error('[GR] Tried to switch over active region, but proxy conduit was not of expected type.').withObject({\n        type: _typeof(grProxyConduit)\n      }).sendInternalLogToServer();\n      return false;\n    }\n    var newActiveConduit = grProxyConduit.getConduitByName(newActiveConduitName);\n    if (!(newActiveConduit instanceof connect.IFrameConduit)) {\n      connect.getLog().error('[GR] Tried to switch over active region, but conduit name was invalid').withObject({\n        newActiveConduitName: newActiveConduitName\n      }).sendInternalLogToServer();\n      return false;\n    }\n    if (grProxyConduit.getActiveConduit().name === newActiveConduit.name && connect.globalResiliency._activeRegion === newActiveConduit.region) {\n      connect.getLog().info('[GR] Not switching over active region as we are already on active region.').sendInternalLogToServer();\n      return false;\n    }\n    connect.getLog().info(\"[GR] Switching active region from \".concat((_grProxyConduit$getAc = grProxyConduit.getActiveConduit()) === null || _grProxyConduit$getAc === void 0 ? void 0 : _grProxyConduit$getAc.region, \" / \").concat((_grProxyConduit$getAc2 = grProxyConduit.getActiveConduit()) === null || _grProxyConduit$getAc2 === void 0 ? void 0 : _grProxyConduit$getAc2.name, \" to \").concat(newActiveConduit === null || newActiveConduit === void 0 ? void 0 : newActiveConduit.region, \" / \").concat(newActiveConduit === null || newActiveConduit === void 0 ? void 0 : newActiveConduit.name)).sendInternalLogToServer();\n\n    // We need to clear all sessions now as it is not guarenteed that a snapshot informing\n    // the softphone manager that the contact is ended will be received before the failover occurrs\n    (_connect$core2 = connect.core) === null || _connect$core2 === void 0 || (_connect$core2 = _connect$core2.softphoneManager) === null || _connect$core2 === void 0 || _connect$core2._clearAllSessions();\n    grProxyConduit.setActiveConduit(newActiveConduit.name);\n    connect.globalResiliency._initializeActiveRegion(grProxyConduit, newActiveConduit.region);\n    connect.getLog().info(\"[GR] Switched active region to \".concat((_grProxyConduit$getAc3 = grProxyConduit.getActiveConduit()) === null || _grProxyConduit$getAc3 === void 0 ? void 0 : _grProxyConduit$getAc3.region, \" / \").concat((_grProxyConduit$getAc4 = grProxyConduit.getActiveConduit()) === null || _grProxyConduit$getAc4 === void 0 ? void 0 : _grProxyConduit$getAc4.name)).sendInternalLogToServer();\n    connect.publishMetric({\n      name: 'CalledInternalSwitchActiveRegionSuccessful',\n      data: {\n        count: 1\n      }\n    });\n    return true;\n  };\n  connect.globalResiliency.initGRCCP = function (containerDiv, paramsIn) {\n    // Legacy auth flow must be enabled for now to allow GR to work\n    var params = _objectSpread({}, paramsIn);\n    var hasSentFailoverPending = false;\n    var detectedFailoverTargetRegion = null;\n    connect.globalResiliency.params = params;\n    connect.globalResiliency.conduitTimerContainerMap = {};\n    connect.globalResiliency._activeRegion = null;\n    connect.globalResiliency.globalResiliencyEnabled = true;\n    var LAST_FAILOVER_PENDING_TIME;\n    var LAST_FAILOVER_INITIATED_TIME;\n    var LAST_FAILOVER_COMPLETED_TIME;\n    connect.core.checkNotInitialized();\n    if (connect.core.initialized) {\n      return;\n    }\n\n    // The initialization metric works only for the active region\n    connect.getLog().info('[GR] Iframe initialization started').sendInternalLogToServer();\n    var initStartTime = Date.now();\n    connect.assertNotNull(containerDiv, 'containerDiv');\n    var primaryURLOrigin = new URL(params.ccpUrl).origin;\n    var secondaryURLOrigin = new URL(params.secondaryCCPUrl).origin;\n    var primaryIframe = connect.core._createCCPIframe(containerDiv, _objectSpread(_objectSpread({}, params), {}, {\n      globalResiliencyRegion: 'primary'\n    }), primaryURLOrigin);\n    var secondaryIframe = connect.core._createCCPIframe(containerDiv, _objectSpread(_objectSpread({}, params), {}, {\n      ccpUrl: params.secondaryCCPUrl,\n      globalResiliencyRegion: 'secondary'\n    }), secondaryURLOrigin);\n\n    // Create an upstream conduit communicating with all the CCP iframes.\n    // This is a sort of a multiplexer of all upstream conduits, i.e.\n    //   - connect.core.upstream.sendUpstream(msg) will postMessage to all iframes\n    //   - connect.core.upstream.onUpstream(event, f) will register a callback to be invoked when one of the iframes postMessages us\n    var grProxyConduit = new connect.GRProxyIframeConduit(window, [{\n      iframe: primaryIframe,\n      label: 'primary'\n    }, {\n      iframe: secondaryIframe,\n      label: 'secondary'\n    }], primaryIframe.src);\n    connect.core.upstream = grProxyConduit;\n\n    // Initialize the core event bus. The event subscriptions never get lost after failover\n    connect.core.eventBus = new connect.EventBus({\n      logEvents: false\n    });\n    connect.globalResiliency._initializeActiveRegion(grProxyConduit);\n    connect.publishMetric({\n      name: 'InitGlobalResiliencyCCPCalled',\n      data: {\n        count: 1\n      }\n    });\n\n    // Let each CCP know if the iframe is visible to users or not\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      connect.core._sendIframeStyleDataUpstreamAfterReasonableWaitTime(conduit.iframe, conduit);\n    });\n\n    // Initialize websocket provider that exchanges websocket specific events with the shared worker.\n    // It receives messages only from the active conduit.\n    // It sends messages only to active condit, except for topic subscription so that inactive regions' media channels can be initialized.\n    connect.core.webSocketProvider = new connect.WebSocketProvider();\n\n    // Bridge all events sent from upstream to the core event bus.\n    // However most of events from inactive conduits are ignored.\n    grProxyConduit.onAllUpstream(connect.core.getEventBus().bridge());\n\n    // Initialize a keep alive manager for each conduit, that sends back a SYN event in response to ACK event from its shared worker\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      // set it to conduit for later use\n      conduit.keepaliveManager = new connect.KeepaliveManager(conduit, connect.core.getEventBus(), params.ccpSynTimeout || CCP_SYN_TIMEOUT, params.ccpAckTimeout || CCP_ACK_TIMEOUT);\n    });\n\n    // After switching over, we need to grab the agent data of the new CCP\n    grProxyConduit.onUpstream(connect.AgentEvents.FETCH_AGENT_DATA_FROM_CCP, function (agentData) {\n      if (connect.core.agentDataProviderBackup) {\n        connect.core.agentDataProviderBackup.updateAgentData(agentData);\n        connect.core.agentDataProvider = connect.core.agentDataProviderBackup;\n        connect.core.agentDataProviderBackup = null;\n      } else {\n        connect.core.agentDataProvider.updateAgentData(agentData);\n      }\n      connect.getLog().info('[GR] Fetched agent data from CCP.').sendInternalLogToServer();\n    });\n\n    // Trigger ACK_TIMEOUT event if there's no ACK from the primary CCP for 5 sec.\n    // Ignore and just emit a log for non-primary CCPs.\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      connect.globalResiliency.conduitTimerContainerMap[conduit.name] = {\n        iframeRefreshTimeout: null\n      };\n      connect.globalResiliency.conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance = setTimeout(function () {\n        connect.globalResiliency.conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance = null;\n        if (connect.isActiveConduit(conduit)) {\n          connect.core.getEventBus().trigger(connect.EventType.ACK_TIMEOUT);\n          connect.getLog().info(\"CCP LoadTimeout triggered. \".concat(conduit.name)).sendInternalLogToServer();\n        } else {\n          connect.getLog().error(\"CCP LoadTimeout detected but ignored for non-primary regions. \".concat(conduit.name)).sendInternalLogToServer();\n        }\n      }, params.ccpLoadTimeout || CCP_LOAD_TIMEOUT);\n    });\n\n    // Listen to the first ACK event sent from each conduit.\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      // Using arrow function to properly capture conduit in closure\n      // Capture subscription for proper unsubscribe handling\n      var acgrHandler = conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function (data) {\n        // Validate global signin before proceeding with initialization\n        connect.globalResiliency._validateGlobalSignin(conduit, params, data,\n        // onSuccess: Global signin valid, proceed with initialization\n        function () {\n          acgrHandler.unsubscribe();\n          connect.globalResiliency._completeAcknowledgeInitialization(conduit, params, data, connect.globalResiliency.conduitTimerContainerMap, initStartTime);\n        },\n        // onFailure: Regional login detected, trigger retry\n        function () {\n          if (connect.isActiveConduit(conduit)) {\n            // Clear the load timeout to prevent duplicate trigger\n            if (connect.globalResiliency.conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance) {\n              global.clearTimeout(connect.globalResiliency.conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance);\n              connect.globalResiliency.conduitTimerContainerMap[conduit.name].ccpLoadTimeoutInstance = null;\n            }\n            connect.core.getEventBus().trigger(connect.EventType.ACK_TIMEOUT);\n          }\n        });\n      });\n    });\n    connect.globalResiliency.setupAcgrAuthHandlers(params, containerDiv, grProxyConduit);\n\n    // Add logs from the active upstream conduit to our own logger.\n    grProxyConduit.onUpstream(connect.EventType.LOG, function (logEntry) {\n      if (logEntry.loggerId !== connect.getLog().getLoggerId()) {\n        connect.getLog().addLogEntry(connect.LogEntry.fromObject(logEntry));\n      }\n    });\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      conduit.onUpstream(connect.GlobalResiliencyEvents.INIT, function (data) {\n        if (!(data !== null && data !== void 0 && data.instanceRegion) || !(data !== null && data !== void 0 && data.instanceState) || !(data !== null && data !== void 0 && data.activeRegion)) {\n          connect.getLog().error(\"[GR] Expected GlobalResiliencyEvents.INIT to have instance region, state, and current active region, but did not find it.\").withObject({\n            data: data\n          }).sendInternalLogToServer();\n          return;\n        }\n        connect.getLog().info(\"[GR] Received GlobalResiliencyEvents.INIT indicating \".concat(conduit.name, \" in region \").concat(data === null || data === void 0 ? void 0 : data.instanceRegion, \" is \").concat(data === null || data === void 0 ? void 0 : data.instanceState, \".\")).withObject({\n          data: data\n        }).sendInternalLogToServer();\n        var initialConduit = data.instanceRegion === data.activeRegion ? conduit : grProxyConduit.getOtherConduit(conduit);\n        if (!conduit.region || !initialConduit.region) {\n          conduit.region = data.instanceRegion;\n          initialConduit.region = data.activeRegion;\n        }\n        conduit.sendUpstream(connect.GlobalResiliencyEvents.CONFIGURE_CCP_CONDUIT, {\n          instanceState: data.instanceState\n        });\n        if (!connect.core.initialized) {\n          connect.getLog().info(\"[GR] Setting initial active iframe to \".concat(initialConduit.name, \" in region \").concat(initialConduit.region, \" because the instance state was active\")).sendInternalLogToServer();\n          try {\n            connect.globalResiliency._switchActiveRegion(grProxyConduit, initialConduit.name);\n            connect.publishMetric({\n              name: 'GlobalResiliencySwitchRegionSuccess',\n              data: {\n                count: 1\n              }\n            });\n          } catch (e) {\n            connect.getLog().error(\"[GR] Failure switching active region at initialization.\").withException(e).sendInternalLogToServer();\n            connect.publishMetric({\n              name: 'GlobalResiliencySwitchRegionFailure',\n              data: {\n                count: 1\n              }\n            });\n          }\n          connect.core.getEventBus().trigger(connect.EventType.INIT);\n          connect.core.initialized = true;\n          // We do no trigger FAILOVER_COMPLETE here as that should only be triggered after initiaization\n\n          connect.publishMetric({\n            name: 'GlobalResiliencyCoreInitialized',\n            data: {\n              count: 1\n            }\n          });\n        } else {\n          connect.getLog().log(\"[GR] Deduping GlobalResiliencyEvents.INIT - Core is already initialized.\").sendInternalLogToServer();\n        }\n      });\n      conduit.onUpstream(connect.GlobalResiliencyEvents.FAILOVER_DETECTED, function (data) {\n        if (data.activeRegion === detectedFailoverTargetRegion) {\n          connect.getLog().info(\"[GR] Received FAILOVER_DETECTED - deduping, already processing failover to \".concat(data.activeRegion, \".\")).withObject({\n            data: data\n          }).sendInternalLogToServer();\n          return;\n        }\n        connect.getLog().info(\"[GR] Received FAILOVER_DETECTED\").withObject({\n          data: data\n        }).sendInternalLogToServer();\n        detectedFailoverTargetRegion = data.activeRegion;\n        connect.core.getEventBus().trigger(connect.GlobalResiliencyEvents.FAILOVER_DETECTED_CRM, {\n          nextActiveRegion: data.activeRegion\n        });\n        connect.publishMetric({\n          name: 'GlobalResiliencyFailoverDetected',\n          data: {\n            count: 1\n          }\n        });\n      });\n      conduit.onUpstream(connect.GlobalResiliencyEvents.FAILOVER_INITIATED, function (data) {\n        LAST_FAILOVER_INITIATED_TIME = Date.now();\n        connect.publishMetric({\n          name: 'GlobalResiliencyFailoverInitiatedReceived',\n          data: {\n            count: 1\n          }\n        });\n        if (hasSentFailoverPending) {\n          connect.publishMetric({\n            name: 'GlobalResiliencyPendingToInitiatedLatency',\n            data: {\n              latency: LAST_FAILOVER_INITIATED_TIME - LAST_FAILOVER_PENDING_TIME\n            }\n          });\n        }\n        if (!(data !== null && data !== void 0 && data.activeRegion)) {\n          connect.getLog().error(\"[GR] Expected GlobalResiliencyEvents.FAILOVER_INITIATED to have new active region, but did not find it.\").withObject({\n            data: data\n          }).sendInternalLogToServer();\n          return;\n        }\n        connect.getLog().info(\"[GR] Received GlobalResiliencyEvents.FAILOVER_INITIATED indicating the activeRegion is \".concat(data.activeRegion, \".\"));\n        var newActiveConduit = grProxyConduit.getConduitByRegion(data.activeRegion);\n        if (!newActiveConduit) {\n          connect.getLog().debug(\"[GR] A conduit did not received GLOBAL_RESILIENCY.INIT event, leading to the region field being unpopulated.\");\n          grProxyConduit.getAllConduits().forEach(function (searchConduit) {\n            if (searchConduit.region === undefined || searchConduit.region === null) {\n              searchConduit.region = data.activeRegion;\n              newActiveConduit = searchConduit;\n            }\n          });\n        }\n        var didSwitch;\n        try {\n          didSwitch = connect.globalResiliency._switchActiveRegion(grProxyConduit, newActiveConduit.name);\n          connect.publishMetric({\n            name: 'GlobalResiliencySwitchRegionSuccess',\n            data: {\n              count: 1\n            }\n          });\n        } catch (e) {\n          connect.getLog().error(\"[GR] Failure switching active region.\").withException(e).sendInternalLogToServer();\n          connect.publishMetric({\n            name: 'GlobalResiliencySwitchRegionFailure',\n            data: {\n              count: 1\n            }\n          });\n        }\n        if (didSwitch) {\n          hasSentFailoverPending = false;\n          var agentUpdateSub = grProxyConduit.onUpstream(connect.AgentEvents.UPDATE, function () {\n            agentUpdateSub.unsubscribe();\n            connect.core.getEventBus().trigger(connect.GlobalResiliencyEvents.FAILOVER_COMPLETE, {\n              activeRegion: data.activeRegion,\n              activeCcpUrl: newActiveConduit.name\n            });\n\n            // Stamp the region on the wire copy so downstream CCP iframes read it\n            // directly instead of racing the SharedWorker region store.\n            grProxyConduit.sendUpstream(connect.GlobalResiliencyEvents.FAILOVER_COMPLETE, {\n              activeRegion: data.activeRegion,\n              activeCcpUrl: newActiveConduit.name\n            });\n            connect.getLog().info(\"[GR] GlobalResiliencyEvents.FAILOVER_COMPLETE emitted.\").sendInternalLogToServer();\n            LAST_FAILOVER_COMPLETED_TIME = Date.now();\n            connect.publishMetric({\n              name: 'GlobalResiliencyFailoverCompleted',\n              data: {\n                count: 1\n              }\n            });\n            connect.publishMetric({\n              name: 'GlobalResiliencyInitiatedToCompletedLatency',\n              data: {\n                latency: LAST_FAILOVER_COMPLETED_TIME - LAST_FAILOVER_INITIATED_TIME\n              }\n            });\n          });\n        }\n      });\n    });\n\n    // Not clear what this is about. Probably for backward compatibilty for pre-StreamsJS customers\n    if (params.onViewContact) {\n      connect.core.onViewContact(params.onViewContact);\n    }\n\n    // Update the numberOfConnectedCCPs value when sent from upstream.\n    // On CRM layer, this information is not used by any other component in Streams.\n    grProxyConduit.onUpstream(connect.EventType.UPDATE_CONNECTED_CCPS, function (data) {\n      connect.numberOfConnectedCCPs = data.length;\n    });\n\n    // Update and cache the voiceIdDomainId value when sent from each upstream conduit.\n    // The value needs to be updated when switching the active region as each region might have a different VoiceId domain associated.\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      conduit.onUpstream(connect.VoiceIdEvents.UPDATE_DOMAIN_ID, function (data) {\n        if (data && data.domainId) {\n          conduit.voiceIdDomainId = data.domainId;\n          if (connect.isActiveConduit(conduit)) {\n            connect.core.voiceIdDomainId = data.domainId;\n          }\n        }\n      });\n    });\n    connect.core.getEventBus().subscribe(connect.EventType.IFRAME_RETRIES_EXHAUSTED, function (conduitName) {\n      if (conduitName !== grProxyConduit.getActiveConduit().name) {\n        // Ignore IFRAME_RETRIES_EXHAUSTED event from non-active region\n        return;\n      }\n      if (initStartTime) {\n        var refreshAttempts = connect.globalResiliency.conduitTimerContainerMap[grProxyConduit.getActiveConduit().name].iframeRefreshAttempt - 1;\n        connect.getLog().info('Iframe initialization failed').sendInternalLogToServer();\n        connect.getLog().info(\"Time after iframe initialization started \".concat(Date.now() - initStartTime)).sendInternalLogToServer();\n        connect.getLog().info(\"Iframe refresh attempts \".concat(refreshAttempts)).sendInternalLogToServer();\n        connect.publishMetric({\n          name: CSM_IFRAME_REFRESH_ATTEMPTS,\n          data: {\n            count: refreshAttempts\n          }\n        });\n        connect.publishMetric({\n          name: CSM_IFRAME_INITIALIZATION_SUCCESS,\n          data: {\n            count: 0\n          }\n        });\n        initStartTime = null;\n      }\n    });\n\n    // keep the softphone params for external use\n    connect.core.softphoneParams = params.softphone;\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      conduit.onUpstream(connect.GlobalResiliencyEvents.FAILOVER_PENDING, function (data) {\n        if (!connect.isActiveConduit(conduit)) {\n          return;\n        }\n        if (hasSentFailoverPending) {\n          connect.getLog().info(\"[GR] Received FAILOVER_PENDING - deduping, will not trigger event subscription.\").withObject({\n            data: data\n          }).sendInternalLogToServer();\n          return;\n        }\n        connect.getLog().info(\"[GR] Received FAILOVER_PENDING\").withObject({\n          data: data\n        }).sendInternalLogToServer();\n        connect.core.getEventBus().trigger(connect.GlobalResiliencyEvents.FAILOVER_PENDING_CRM, {\n          nextActiveRegion: data.activeRegion\n        });\n        hasSentFailoverPending = true;\n        LAST_FAILOVER_PENDING_TIME = Date.now();\n        connect.publishMetric({\n          name: 'GlobalResiliencyFailoverPendingReceived',\n          data: {\n            count: 1\n          }\n        });\n      });\n    });\n    grProxyConduit.relayUpstream(connect.GlobalResiliencyEvents.FAILOVER_PENDING);\n    grProxyConduit.relayUpstream(connect.GlobalResiliencyEvents.FAILOVER_INITIATED);\n    grProxyConduit.relayUpstream(connect.GlobalResiliencyEvents.FAILOVER_COMPLETE);\n    grProxyConduit.relayUpstream(connect.GlobalResiliencyEvents.HEARTBEAT_SYN);\n    grProxyConduit.relayUpstream(connect.GlobalResiliencyEvents.HEARTBEAT_ACK);\n    connect.core.getEventBus().subscribe(connect.EventType.DOWNLOAD_LOG_FROM_CCP, function () {\n      grProxyConduit.getAllConduits().forEach(function (conduit) {\n        var region = conduit.region || 'region';\n        conduit.sendUpstream(connect.EventType.DOWNLOAD_LOG_FROM_CCP, {\n          logName: \"ccp-\".concat(region, \"-agent-log\")\n        });\n      });\n    });\n    setTimeout(function () {\n      var count = 0;\n      grProxyConduit.getAllConduits().forEach(function (conduit) {\n        if (conduit.region) {\n          count += 1;\n        }\n      });\n      if (count < 2) {\n        connect.getLog().info(\"[GR] One or more conduits did not GlobalResiliency.INIT event to CRM layer.\").withObject({\n          firstConduitName: grProxyConduit.getAllConduits()[0].name,\n          firstConduitRegion: grProxyConduit.getAllConduits()[0].region,\n          secondConduitName: grProxyConduit.getAllConduits()[1].name,\n          secondConduitRegion: grProxyConduit.getAllConduits()[1].region\n        }).sendInternalLogToServer();\n        connect.publishMetric({\n          name: 'GlobalResiliencyPartialInitialization',\n          data: {\n            count: 1\n          }\n        });\n      }\n    }, 30000);\n  };\n  connect.globalResiliency.setupAcgrAuthHandlers = function (params, containerDiv, grProxyConduit) {\n    var _params$loginOptions;\n    // Track validation-specific failures from active conduit only\n    var validationFailureCount = 0;\n\n    // Subscribe to GLOBAL_SIGNIN_INVALID from active conduit\n    grProxyConduit.getActiveConduit().onUpstream(connect.GlobalResiliencyEvents.GLOBAL_SIGNIN_INVALID, function () {\n      validationFailureCount += 1;\n      connect.getLog().warn('[GR] Global signin validation failed - regional login detected').withObject({\n        attempts: validationFailureCount\n      }).sendInternalLogToServer();\n    });\n\n    // Handle retries exhausted - differentiate error types\n    connect.core.getEventBus().subscribe(connect.EventType.IFRAME_RETRIES_EXHAUSTED, function (conduitName) {\n      if (conduitName !== grProxyConduit.getActiveConduit().name) {\n        return;\n      }\n      if (validationFailureCount > 0) {\n        // REGIONAL LOGIN FAILURE\n        connect.getLog().error('[GR] Global signin validation failed - retries exhausted').withObject({\n          conduitName: conduitName,\n          validationFailures: validationFailureCount\n        }).sendInternalLogToServer();\n        connect.publishMetric({\n          name: 'GlobalResiliencySigninValidationRetriesExhausted',\n          data: {\n            count: validationFailureCount\n          }\n        });\n      } else {\n        // NETWORK/TIMEOUT FAILURE\n        connect.getLog().error('[GR] Iframe initialization failed - retries exhausted').withObject({\n          conduitName: conduitName\n        }).sendInternalLogToServer();\n      }\n    });\n    connect.core.loginAckTimeoutSub = connect.core.getEventBus().subscribe(connect.EventType.ACK_TIMEOUT, function () {\n      connect.getLog().warn('ACK_TIMEOUT occurred. Attempting to authenticate.').sendInternalLogToServer();\n      connect.globalResiliency.authenticateAcgr(params, containerDiv, grProxyConduit);\n    });\n    if (!((_params$loginOptions = params.loginOptions) !== null && _params$loginOptions !== void 0 && _params$loginOptions.disableAuthPopupAfterLogout)) {\n      connect.core.getEventBus().subscribe(connect.EventType.TERMINATED, function () {\n        connect.getLog().warn('TERMINATED occurred. Attempting to authenticate.').sendInternalLogToServer();\n        var delay = params.ccpAckTimeout || CCP_ACK_TIMEOUT; // Adding a small delay to avoid immediately logging the agent back in\n        setTimeout(function () {\n          connect.globalResiliency.authenticateAcgr(params, containerDiv, grProxyConduit);\n        }, delay);\n      });\n      connect.core.getEventBus().subscribe(connect.EventType.AUTH_FAIL, function () {\n        connect.getLog().warn('AUTH_FAIL occurred. Attempting to authenticate.').sendInternalLogToServer();\n        var delay = params.ccpAckTimeout || CCP_ACK_TIMEOUT; // Adding a small delay to avoid immediately logging the agent back in\n        setTimeout(function () {\n          connect.globalResiliency.authenticateAcgr(params, containerDiv, grProxyConduit);\n        }, delay);\n      });\n    }\n  };\n\n  // Pop a login page when we encounter an ACK_TIMEOUT event.\n  // The event can only be triggered from active region.\n  connect.globalResiliency.authenticateAcgr = function (params, containerDiv, grProxyConduit) {\n    // loginPopup is true by default, only false if explicitly set to false.\n    if (params.loginPopup !== false) {\n      try {\n        // For GR, we assume getLoginUrl() always returns the loginUrl for global sign-in page.\n        // LoginUrl existence was checked before calling initGRCCP\n        var loginUrl = params.loginUrl;\n        connect.getLog().warn('Attempting to pop the login page if not already open.').sendInternalLogToServer();\n        // clear out last opened timestamp for SAML authentication when there is ACK_TIMEOUT\n        connect.core.getPopupManager().clear(connect.MasterTopics.LOGIN_POPUP);\n        connect.core._openPopupWithLock(loginUrl, params.loginOptions);\n      } catch (e) {\n        connect.getLog().error('Unable to open the login popup.').withException(e).sendInternalLogToServer();\n      }\n    }\n\n    // Start iframe refresh for each region's CCP\n    grProxyConduit.getAllConduits().forEach(function (conduit) {\n      if (connect.globalResiliency.conduitTimerContainerMap[conduit.name].iframeRefreshTimeout === null) {\n        try {\n          // Stop the iframe refresh when ACK event is sent from upstream\n          // Using arrow function to properly capture conduit in closure\n          var acgrHandler = conduit.onUpstream(connect.EventType.ACKNOWLEDGE, function (data) {\n            // Validate global signin before completing retry\n            connect.globalResiliency._validateGlobalSignin(conduit, params, data,\n            // onSuccess: Global signin valid, complete retry\n            function () {\n              acgrHandler.unsubscribe();\n              global.clearTimeout(connect.globalResiliency.conduitTimerContainerMap[conduit.name].iframeRefreshTimeout);\n              connect.globalResiliency.conduitTimerContainerMap[conduit.name].iframeRefreshTimeout = null;\n              connect.globalResiliency.conduitTimerContainerMap[conduit.name].iframeRefreshAttempt = 0;\n              connect.core.getPopupManager().clear(connect.MasterTopics.LOGIN_POPUP);\n              if ((params.loginPopupAutoClose || params.loginOptions && params.loginOptions.autoClose) && connect.core.loginWindow) {\n                connect.core.loginWindow.close();\n                connect.core.loginWindow = null;\n              }\n            },\n            // onFailure: Regional login detected, let existing iframe refresh timeout handle retry\n            function () {\n              if (connect.isActiveConduit(conduit)) {\n                connect.getLog().warn(\"[GR] Retry validation failed for \".concat(conduit.name, \" - will retry via iframe refresh timeout\")).sendInternalLogToServer();\n              }\n            });\n          });\n          var globalResiliencyRegion = connect.isActiveConduit(conduit) ? 'primary' : 'secondary';\n          var refreshParams = _objectSpread(_objectSpread({}, params), {}, {\n            ccpUrl: conduit.iframe.src,\n            globalResiliencyRegion: globalResiliencyRegion\n          });\n\n          // Kick off the iframe refresh\n          connect.core._refreshIframeOnTimeout(refreshParams, containerDiv, connect.globalResiliency.conduitTimerContainerMap[conduit.name], conduit.name);\n        } catch (e) {\n          connect.getLog().error('Error occurred while refreshing iframe').withException(e).sendInternalLogToServer();\n        }\n      }\n    });\n  };\n})();\n\n/***/ },\n\n/***/ 95\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n!function (e) {\n  var n = {};\n  function t(o) {\n    if (n[o]) return n[o].exports;\n    var r = n[o] = {\n      i: o,\n      l: !1,\n      exports: {}\n    };\n    return e[o].call(r.exports, r, r.exports, t), r.l = !0, r.exports;\n  }\n  t.m = e, t.c = n, t.d = function (e, n, o) {\n    t.o(e, n) || Object.defineProperty(e, n, {\n      enumerable: !0,\n      get: o\n    });\n  }, t.r = function (e) {\n    \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n      value: \"Module\"\n    }), Object.defineProperty(e, \"__esModule\", {\n      value: !0\n    });\n  }, t.t = function (e, n) {\n    if (1 & n && (e = t(e)), 8 & n) return e;\n    if (4 & n && \"object\" == _typeof(e) && e && e.__esModule) return e;\n    var o = Object.create(null);\n    if (t.r(o), Object.defineProperty(o, \"default\", {\n      enumerable: !0,\n      value: e\n    }), 2 & n && \"string\" != typeof e) for (var r in e) t.d(o, r, function (n) {\n      return e[n];\n    }.bind(null, r));\n    return o;\n  }, t.n = function (e) {\n    var n = e && e.__esModule ? function () {\n      return e[\"default\"];\n    } : function () {\n      return e;\n    };\n    return t.d(n, \"a\", n), n;\n  }, t.o = function (e, n) {\n    return Object.prototype.hasOwnProperty.call(e, n);\n  }, t.p = \"\", t(t.s = 2);\n}([function (e, n, t) {\n  \"use strict\";\n\n  var o = t(1),\n    r = \"NULL\",\n    i = \"CLIENT_LOGGER\",\n    c = \"DEBUG\",\n    a = 2e3,\n    s = \"AMZ_WEB_SOCKET_MANAGER:\",\n    u = \"Network offline\",\n    l = \"Network online, connecting to WebSocket server\",\n    f = \"Network offline, ignoring this getWebSocketConnConfig request\",\n    d = \"Heartbeat response not received\",\n    p = \"Heartbeat response received\",\n    g = \"Sending heartbeat\",\n    b = \"Failed to send heartbeat since WebSocket is not open\",\n    y = \"WebSocket connection established!\",\n    m = \"WebSocket connection is closed\",\n    v = \"WebSocketManager Error, error_event: \",\n    S = \"Scheduling WebSocket reinitialization, after delay \",\n    h = \"WebSocket URL cannot be used to establish connection\",\n    k = \"WebSocket Initialization failed - Terminating and cleaning subscriptions\",\n    w = \"Terminating WebSocket Manager\",\n    C = \"Fetching new WebSocket connection configuration\",\n    L = \"Successfully fetched webSocket connection configuration\",\n    T = \"Failed to fetch webSocket connection configuration\",\n    O = \"Retrying fetching new WebSocket connection configuration\",\n    W = \"Initializing Websocket Manager\",\n    I = \"Initializing Websocket Manager Failed!\",\n    N = \"Websocket connection open\",\n    _ = \"Websocket connection close\",\n    E = \"Websocket connection gain\",\n    F = \"Websocket connection lost\",\n    A = \"Websocket subscription failure\",\n    R = \"Reset Websocket state\",\n    x = \"WebSocketManager Message Error\",\n    D = \"Message received for topic \",\n    j = \"Invalid incoming message\",\n    M = \"WebsocketManager invoke callbacks for topic success \",\n    G = \"aws/subscribe\",\n    z = \"aws/unsubscribe\",\n    P = \"aws/heartbeat\",\n    H = \"connected\",\n    U = \"disconnected\";\n  function q(e) {\n    return (q = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n      return _typeof(e);\n    } : function (e) {\n      return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n    })(e);\n  }\n  var J = {\n      assertTrue: function assertTrue(e, n) {\n        if (!e) throw new Error(n);\n      },\n      assertNotNull: function assertNotNull(e, n) {\n        return J.assertTrue(null !== e && void 0 !== q(e), Object(o.sprintf)(\"%s must be provided\", n || \"A value\")), e;\n      },\n      isNonEmptyString: function isNonEmptyString(e) {\n        return \"string\" == typeof e && e.length > 0;\n      },\n      assertIsList: function assertIsList(e, n) {\n        if (!Array.isArray(e)) throw new Error(n + \" is not an array\");\n      },\n      isFunction: function isFunction(e) {\n        return !!(e && e.constructor && e.call && e.apply);\n      },\n      isObject: function isObject(e) {\n        return !(\"object\" !== q(e) || null === e);\n      },\n      isString: function isString(e) {\n        return \"string\" == typeof e;\n      },\n      isNumber: function isNumber(e) {\n        return \"number\" == typeof e;\n      }\n    },\n    B = new RegExp(\"^(wss://)\\\\w*\");\n  J.validWSUrl = function (e) {\n    return B.test(e);\n  }, J.getSubscriptionResponse = function (e, n, t) {\n    return {\n      topic: e,\n      content: {\n        status: n ? \"success\" : \"failure\",\n        topics: t\n      }\n    };\n  }, J.assertIsObject = function (e, n) {\n    if (!J.isObject(e)) throw new Error(n + \" is not an object!\");\n  }, J.addJitter = function (e) {\n    var n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 1;\n    n = Math.min(n, 1);\n    var t = Math.random() > .5 ? 1 : -1;\n    return Math.floor(e + t * e * Math.random() * n);\n  }, J.isNetworkOnline = function () {\n    return navigator.onLine;\n  }, J.isNetworkFailure = function (e) {\n    return !(!e._debug || !e._debug.type) && \"NetworkingError\" === e._debug.type;\n  };\n  var V = J;\n  function X(e, n) {\n    return !n || \"object\" !== Z(n) && \"function\" != typeof n ? function (e) {\n      if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n      return e;\n    }(e) : n;\n  }\n  function $(e) {\n    return ($ = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) {\n      return e.__proto__ || Object.getPrototypeOf(e);\n    })(e);\n  }\n  function K(e, n) {\n    return (K = Object.setPrototypeOf || function (e, n) {\n      return e.__proto__ = n, e;\n    })(e, n);\n  }\n  function Z(e) {\n    return (Z = \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? function (e) {\n      return _typeof(e);\n    } : function (e) {\n      return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : _typeof(e);\n    })(e);\n  }\n  function Q(e, n) {\n    if (!(e instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n  }\n  function Y(e, n) {\n    for (var t = 0; t < n.length; t++) {\n      var o = n[t];\n      o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n    }\n  }\n  function ee(e, n, t) {\n    return n && Y(e.prototype, n), t && Y(e, t), e;\n  }\n  var ne = function () {\n      function e() {\n        Q(this, e);\n      }\n      return ee(e, [{\n        key: \"debug\",\n        value: function value(e) {}\n      }, {\n        key: \"info\",\n        value: function value(e) {}\n      }, {\n        key: \"warn\",\n        value: function value(e) {}\n      }, {\n        key: \"error\",\n        value: function value(e) {}\n      }, {\n        key: \"advancedLog\",\n        value: function value(e) {}\n      }]), e;\n    }(),\n    te = s,\n    oe = {\n      DEBUG: 10,\n      INFO: 20,\n      WARN: 30,\n      ERROR: 40,\n      ADVANCED_LOG: 50\n    },\n    re = function () {\n      function e() {\n        Q(this, e), this.updateLoggerConfig(), this.consoleLoggerWrapper = ae();\n      }\n      return ee(e, [{\n        key: \"writeToClientLogger\",\n        value: function value(e, n) {\n          if (this.hasClientLogger()) switch (e) {\n            case oe.DEBUG:\n              return this._clientLogger.debug(n) || n;\n            case oe.INFO:\n              return this._clientLogger.info(n) || n;\n            case oe.WARN:\n              return this._clientLogger.warn(n) || n;\n            case oe.ERROR:\n              return this._clientLogger.error(n) || n;\n            case oe.ADVANCED_LOG:\n              return this._advancedLogWriter ? this._clientLogger[this._advancedLogWriter](n) || n : \"\";\n          }\n        }\n      }, {\n        key: \"isLevelEnabled\",\n        value: function value(e) {\n          return e >= this._level;\n        }\n      }, {\n        key: \"hasClientLogger\",\n        value: function value() {\n          return null !== this._clientLogger;\n        }\n      }, {\n        key: \"getLogger\",\n        value: function value(e) {\n          var n = e.prefix || te;\n          return this._logsDestination === c ? this.consoleLoggerWrapper : new ce(n);\n        }\n      }, {\n        key: \"updateLoggerConfig\",\n        value: function value(e) {\n          var n = e || {};\n          this._level = n.level || oe.INFO, this._advancedLogWriter = \"warn\", n.advancedLogWriter && (this._advancedLogWriter = n.advancedLogWriter), n.customizedLogger && \"object\" === Z(n.customizedLogger) && (this.useClientLogger = !0), this._clientLogger = n.logger || this.selectLogger(n), this._logsDestination = r, n.debug && (this._logsDestination = c), n.logger && (this._logsDestination = i);\n        }\n      }, {\n        key: \"selectLogger\",\n        value: function value(e) {\n          return e.customizedLogger && \"object\" === Z(e.customizedLogger) ? e.customizedLogger : e.useDefaultLogger ? (this.consoleLoggerWrapper = ae(), this.consoleLoggerWrapper) : null;\n        }\n      }]), e;\n    }(),\n    ie = function () {\n      function e() {\n        Q(this, e);\n      }\n      return ee(e, [{\n        key: \"debug\",\n        value: function value() {}\n      }, {\n        key: \"info\",\n        value: function value() {}\n      }, {\n        key: \"warn\",\n        value: function value() {}\n      }, {\n        key: \"error\",\n        value: function value() {}\n      }, {\n        key: \"advancedLog\",\n        value: function value() {}\n      }]), e;\n    }(),\n    ce = function (e) {\n      function n(e) {\n        var t;\n        return Q(this, n), (t = X(this, $(n).call(this))).prefix = e || te, t;\n      }\n      return function (e, n) {\n        if (\"function\" != typeof n && null !== n) throw new TypeError(\"Super expression must either be null or a function\");\n        e.prototype = Object.create(n && n.prototype, {\n          constructor: {\n            value: e,\n            writable: !0,\n            configurable: !0\n          }\n        }), n && K(e, n);\n      }(n, ie), ee(n, [{\n        key: \"debug\",\n        value: function value() {\n          for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n          return this._log(oe.DEBUG, n);\n        }\n      }, {\n        key: \"info\",\n        value: function value() {\n          for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n          return this._log(oe.INFO, n);\n        }\n      }, {\n        key: \"warn\",\n        value: function value() {\n          for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n          return this._log(oe.WARN, n);\n        }\n      }, {\n        key: \"error\",\n        value: function value() {\n          for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n          return this._log(oe.ERROR, n);\n        }\n      }, {\n        key: \"advancedLog\",\n        value: function value() {\n          for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n          return this._log(oe.ADVANCED_LOG, n);\n        }\n      }, {\n        key: \"_shouldLog\",\n        value: function value(e) {\n          return se.hasClientLogger() && se.isLevelEnabled(e);\n        }\n      }, {\n        key: \"_writeToClientLogger\",\n        value: function value(e, n) {\n          return se.writeToClientLogger(e, n);\n        }\n      }, {\n        key: \"_log\",\n        value: function value(e, n) {\n          if (this._shouldLog(e)) {\n            var t = se.useClientLogger ? n : this._convertToSingleStatement(n, e);\n            return this._writeToClientLogger(e, t);\n          }\n        }\n      }, {\n        key: \"_convertToSingleStatement\",\n        value: function value(e, n) {\n          var t = new Date(Date.now()).toISOString(),\n            o = this._getLogLevelByValue(n),\n            r = \"[\".concat(t, \"][\").concat(o, \"]\");\n          this.prefix && (r += this.prefix + \" \"), this.options && (this.options.prefix ? r += \" \" + this.options.prefix + \":\" : r += \"\", this.options.logMetaData ? r += \" Meta data: \" + JSON.stringify(this.options.logMetaData) : r += \"\");\n          for (var i = 0; i < e.length; i++) {\n            var c = e[i];\n            r += this._convertToString(c) + \" \";\n          }\n          return r;\n        }\n      }, {\n        key: \"_getLogLevelByValue\",\n        value: function value(e) {\n          switch (e) {\n            case 10:\n              return \"DEBUG\";\n            case 20:\n              return \"INFO\";\n            case 30:\n              return \"WARN\";\n            case 40:\n              return \"ERROR\";\n            case 50:\n              return \"ADVANCED_LOG\";\n          }\n        }\n      }, {\n        key: \"_convertToString\",\n        value: function value(e) {\n          try {\n            if (!e) return \"\";\n            if (V.isString(e)) return e;\n            if (V.isObject(e) && V.isFunction(e.toString)) {\n              var n = e.toString();\n              if (\"[object Object]\" !== n) return n;\n            }\n            return JSON.stringify(e);\n          } catch (n) {\n            return console.error(\"Error while converting argument to string\", e, n), \"\";\n          }\n        }\n      }]), n;\n    }(),\n    ae = function ae() {\n      var e = new ie();\n      return e.debug = function () {\n        for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n        return console.debug.apply(window.console, [].concat(n));\n      }, e.info = function () {\n        for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n        return console.info.apply(window.console, [].concat(n));\n      }, e.warn = function () {\n        for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n        return console.warn.apply(window.console, [].concat(n));\n      }, e.error = function () {\n        for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++) n[t] = arguments[t];\n        return console.error.apply(window.console, [].concat(n));\n      }, e;\n    },\n    se = new re();\n  function ue(e, n) {\n    for (var t = 0; t < n.length; t++) {\n      var o = n[t];\n      o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, o.key, o);\n    }\n  }\n  var le = function () {\n    function e(n) {\n      var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : a;\n      !function (e, n) {\n        if (!(e instanceof n)) throw new TypeError(\"Cannot call a class as a function\");\n      }(this, e), this.numAttempts = 0, this.executor = n, this.hasActiveReconnection = !1, this.defaultRetry = t;\n    }\n    var n, t, o;\n    return n = e, (t = [{\n      key: \"retry\",\n      value: function value() {\n        var e = this;\n        this.hasActiveReconnection || (this.hasActiveReconnection = !0, setTimeout(function () {\n          e._execute();\n        }, this._getDelay()));\n      }\n    }, {\n      key: \"_execute\",\n      value: function value() {\n        this.hasActiveReconnection = !1, this.executor(), this.numAttempts++;\n      }\n    }, {\n      key: \"connected\",\n      value: function value() {\n        this.numAttempts = 0;\n      }\n    }, {\n      key: \"_getDelay\",\n      value: function value() {\n        var e = Math.pow(2, this.numAttempts) * this.defaultRetry;\n        return e <= 3e4 ? e : 3e4;\n      }\n    }, {\n      key: \"getIsConnected\",\n      value: function value() {\n        return !this.numAttempts;\n      }\n    }]) && ue(n.prototype, t), o && ue(n, o), e;\n  }();\n  t.d(n, \"a\", function () {\n    return de;\n  });\n  var fe = function fe() {\n      var e = se.getLogger({\n          prefix: s\n        }),\n        n = V.isNetworkOnline(),\n        t = {\n          primary: null,\n          secondary: null\n        },\n        o = {\n          reconnectWebSocket: !0,\n          websocketInitFailed: !1,\n          exponentialBackOffTime: 1e3,\n          exponentialTimeoutHandle: null,\n          lifeTimeTimeoutHandle: null,\n          webSocketInitCheckerTimeoutId: null,\n          connState: null\n        },\n        r = {\n          connectWebSocketRetryCount: 0,\n          connectionAttemptStartTime: null,\n          noOpenConnectionsTimestamp: null\n        },\n        i = {\n          pendingResponse: !1,\n          intervalHandle: null\n        },\n        c = {\n          initFailure: new Set(),\n          getWebSocketTransport: null,\n          subscriptionUpdate: new Set(),\n          subscriptionFailure: new Set(),\n          topic: new Map(),\n          allMessage: new Set(),\n          connectionGain: new Set(),\n          connectionLost: new Set(),\n          connectionOpen: new Set(),\n          connectionClose: new Set()\n        },\n        a = {\n          connConfig: null,\n          promiseHandle: null,\n          promiseCompleted: !0\n        },\n        q = {\n          subscribed: new Set(),\n          pending: new Set(),\n          subscriptionHistory: new Set()\n        },\n        J = {\n          responseCheckIntervalId: null,\n          requestCompleted: !0,\n          reSubscribeIntervalId: null,\n          consecutiveFailedSubscribeAttempts: 0,\n          consecutiveNoResponseRequest: 0\n        },\n        B = new le(function () {\n          he();\n        }),\n        X = new Set([G, z, P]),\n        $ = setInterval(function () {\n          if (n !== V.isNetworkOnline()) {\n            if (!(n = V.isNetworkOnline())) return e.advancedLog(u), void Ce(e.info(u));\n            var t = te();\n            n && (!t || Y(t, WebSocket.CLOSING) || Y(t, WebSocket.CLOSED)) && (e.advancedLog(l), Ce(e.info(l)), he());\n          }\n        }, 250),\n        K = function K(n, t) {\n          n.forEach(function (n) {\n            try {\n              n(t);\n            } catch (n) {\n              Ce(e.error(\"Error executing callback\", n));\n            }\n          });\n        },\n        Z = function Z(e) {\n          if (null === e) return \"NULL\";\n          switch (e.readyState) {\n            case WebSocket.CONNECTING:\n              return \"CONNECTING\";\n            case WebSocket.OPEN:\n              return \"OPEN\";\n            case WebSocket.CLOSING:\n              return \"CLOSING\";\n            case WebSocket.CLOSED:\n              return \"CLOSED\";\n            default:\n              return \"UNDEFINED\";\n          }\n        },\n        Q = function Q() {\n          var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : \"\";\n          Ce(e.debug(\"[\" + n + \"] Primary WebSocket: \" + Z(t.primary) + \" | Secondary WebSocket: \" + Z(t.secondary)));\n        },\n        Y = function Y(e, n) {\n          return e && e.readyState === n;\n        },\n        ee = function ee(e) {\n          return Y(e, WebSocket.OPEN);\n        },\n        ne = function ne(e) {\n          return null === e || void 0 === e.readyState || Y(e, WebSocket.CLOSED);\n        },\n        te = function te() {\n          return null !== t.secondary ? t.secondary : t.primary;\n        },\n        oe = function oe() {\n          return ee(te());\n        },\n        re = function re() {\n          if (i.pendingResponse) return e.advancedLog(d), Ce(e.warn(d)), clearInterval(i.intervalHandle), i.pendingResponse = !1, void he();\n          oe() ? (Ce(e.debug(g)), te().send(ve(P)), i.pendingResponse = !0) : (e.advancedLog(b), Ce(e.warn(b)), Q(\"sendHeartBeat\"), he());\n        },\n        ie = function ie() {\n          e.advancedLog(R), o.exponentialBackOffTime = 1e3, i.pendingResponse = !1, o.reconnectWebSocket = !0, clearTimeout(o.lifeTimeTimeoutHandle), clearInterval(i.intervalHandle), clearTimeout(o.exponentialTimeoutHandle), clearTimeout(o.webSocketInitCheckerTimeoutId);\n        },\n        ce = function ce() {\n          J.consecutiveFailedSubscribeAttempts = 0, J.consecutiveNoResponseRequest = 0, clearInterval(J.responseCheckIntervalId), clearInterval(J.reSubscribeIntervalId);\n        },\n        ae = function ae() {\n          r.connectWebSocketRetryCount = 0, r.connectionAttemptStartTime = null, r.noOpenConnectionsTimestamp = null;\n        },\n        ue = function ue() {\n          B.connected();\n          try {\n            e.advancedLog(y), Ce(e.info(y)), Q(\"webSocketOnOpen\"), null !== o.connState && o.connState !== U || K(c.connectionGain), o.connState = H;\n            var n = Date.now();\n            K(c.connectionOpen, {\n              connectWebSocketRetryCount: r.connectWebSocketRetryCount,\n              connectionAttemptStartTime: r.connectionAttemptStartTime,\n              noOpenConnectionsTimestamp: r.noOpenConnectionsTimestamp,\n              connectionEstablishedTime: n,\n              timeToConnect: n - r.connectionAttemptStartTime,\n              timeWithoutConnection: r.noOpenConnectionsTimestamp ? n - r.noOpenConnectionsTimestamp : null\n            }), ae(), ie(), te().openTimestamp = Date.now(), 0 === q.subscribed.size && ee(t.secondary) && ge(t.primary, \"[Primary WebSocket] Closing WebSocket\"), (q.subscribed.size > 0 || q.pending.size > 0) && (ee(t.secondary) && Ce(e.info(\"Subscribing secondary websocket to topics of primary websocket\")), q.subscribed.forEach(function (e) {\n              q.subscriptionHistory.add(e), q.pending.add(e);\n            }), q.subscribed.clear(), pe()), re(), i.intervalHandle = setInterval(re, 1e4);\n            var s = 1e3 * a.connConfig.webSocketTransport.transportLifeTimeInSeconds;\n            Ce(e.debug(\"Scheduling WebSocket manager reconnection, after delay \" + s + \" ms\")), o.lifeTimeTimeoutHandle = setTimeout(function () {\n              Ce(e.debug(\"Starting scheduled WebSocket manager reconnection\")), he();\n            }, s);\n          } catch (n) {\n            Ce(e.error(\"Error after establishing WebSocket connection\", n));\n          }\n        },\n        fe = function fe(n) {\n          Q(\"webSocketOnError\"), e.advancedLog(v, JSON.stringify(n)), Ce(e.error(v, JSON.stringify(n))), B.getIsConnected() ? he() : B.retry();\n        },\n        de = function de(n) {\n          var o = JSON.parse(n.data);\n          switch (o.topic) {\n            case G:\n              if (Ce(e.debug(\"Subscription Message received from webSocket server\", n.data)), J.requestCompleted = !0, J.consecutiveNoResponseRequest = 0, \"success\" === o.content.status) J.consecutiveFailedSubscribeAttempts = 0, o.content.topics.forEach(function (e) {\n                q.subscriptionHistory[\"delete\"](e), q.pending[\"delete\"](e), q.subscribed.add(e);\n              }), 0 === q.subscriptionHistory.size ? ee(t.secondary) && (Ce(e.info(\"Successfully subscribed secondary websocket to all topics of primary websocket\")), ge(t.primary, \"[Primary WebSocket] Closing WebSocket\")) : pe(), K(c.subscriptionUpdate, o);else {\n                if (clearInterval(J.reSubscribeIntervalId), ++J.consecutiveFailedSubscribeAttempts, 5 === J.consecutiveFailedSubscribeAttempts) return K(c.subscriptionFailure, o), void (J.consecutiveFailedSubscribeAttempts = 0);\n                J.reSubscribeIntervalId = setInterval(function () {\n                  pe();\n                }, 500);\n              }\n              break;\n            case P:\n              Ce(e.debug(p)), i.pendingResponse = !1;\n              break;\n            default:\n              if (o.topic) {\n                if (e.advancedLog(D, o.topic), Ce(e.debug(D + o.topic)), ee(t.primary) && ee(t.secondary) && 0 === q.subscriptionHistory.size && this === t.primary) return void Ce(e.warn(\"Ignoring Message for Topic \" + o.topic + \", to avoid duplicates\"));\n                if (0 === c.allMessage.size && 0 === c.topic.size) return void Ce(e.warn(\"No registered callback listener for Topic\", o.topic));\n                e.advancedLog(M, o.topic), K(c.allMessage, o), c.topic.has(o.topic) && K(c.topic.get(o.topic), o);\n              } else o.message ? (e.advancedLog(x, o), Ce(e.warn(x, o))) : (e.advancedLog(j, o), Ce(e.warn(j, o)));\n          }\n        },\n        pe = function n() {\n          if (J.consecutiveNoResponseRequest > 3) return Ce(e.warn(\"Ignoring subscribePendingTopics since we have exhausted max subscription retries with no response\")), void K(c.subscriptionFailure, V.getSubscriptionResponse(G, !1, Array.from(q.pending)));\n          oe() ? 0 !== Array.from(q.pending).length && (clearInterval(J.responseCheckIntervalId), te().send(ve(G, {\n            topics: Array.from(q.pending)\n          })), J.requestCompleted = !1, J.responseCheckIntervalId = setInterval(function () {\n            J.requestCompleted || (++J.consecutiveNoResponseRequest, n());\n          }, 1e3)) : Ce(e.warn(\"Ignoring subscribePendingTopics call since Default WebSocket is not open\"));\n        },\n        ge = function ge(n, t) {\n          Y(n, WebSocket.CONNECTING) || Y(n, WebSocket.OPEN) ? n.close(1e3, t) : Ce(e.warn(\"Ignoring WebSocket Close request, WebSocket State: \" + Z(n)));\n        },\n        be = function be(e) {\n          ge(t.primary, \"[Primary] WebSocket \" + e), ge(t.secondary, \"[Secondary] WebSocket \" + e);\n        },\n        ye = function ye() {\n          r.connectWebSocketRetryCount++;\n          var n = V.addJitter(o.exponentialBackOffTime, .3);\n          Date.now() + n <= a.connConfig.urlConnValidTime ? (e.advancedLog(S), Ce(e.debug(S + n + \" ms\")), o.exponentialTimeoutHandle = setTimeout(function () {\n            return ke();\n          }, n), o.exponentialBackOffTime *= 2) : (e.advancedLog(h), Ce(e.warn(h)), he());\n        },\n        me = function me(n) {\n          ie(), ce(), e.advancedLog(k, n), Ce(e.error(k)), o.websocketInitFailed = !0, be(w), clearInterval($), K(c.initFailure, {\n            connectWebSocketRetryCount: r.connectWebSocketRetryCount,\n            connectionAttemptStartTime: r.connectionAttemptStartTime,\n            reason: n\n          }), ae();\n        },\n        ve = function ve(e, n) {\n          return JSON.stringify({\n            topic: e,\n            content: n\n          });\n        },\n        Se = function Se(n) {\n          return !!(V.isObject(n) && V.isObject(n.webSocketTransport) && V.isNonEmptyString(n.webSocketTransport.url) && V.validWSUrl(n.webSocketTransport.url) && 1e3 * n.webSocketTransport.transportLifeTimeInSeconds >= 3e5) || (Ce(e.error(\"Invalid WebSocket Connection Configuration\", n)), !1);\n        },\n        he = function he() {\n          if (!V.isNetworkOnline()) return e.advancedLog(f), void Ce(e.info(f));\n          if (o.websocketInitFailed) Ce(e.debug(\"WebSocket Init had failed, ignoring this getWebSocketConnConfig request\"));else {\n            if (a.promiseCompleted) return ie(), e.advancedLog(C), Ce(e.info(C)), r.connectionAttemptStartTime = r.connectionAttemptStartTime || Date.now(), a.promiseCompleted = !1, a.promiseHandle = c.getWebSocketTransport(), a.promiseHandle.then(function (n) {\n              return a.promiseCompleted = !0, e.advancedLog(L), Ce(e.debug(L, n)), Se(n) ? (a.connConfig = n, a.connConfig.urlConnValidTime = Date.now() + 85e3, ke()) : (me(\"Invalid WebSocket connection configuration: \" + n), {\n                webSocketConnectionFailed: !0\n              });\n            }, function (n) {\n              return a.promiseCompleted = !0, e.advancedLog(T), Ce(e.error(T, n)), V.isNetworkFailure(n) ? (e.advancedLog(O + JSON.stringify(n)), Ce(e.info(O + JSON.stringify(n))), B.retry()) : me(\"Failed to fetch webSocket connection configuration: \" + JSON.stringify(n)), {\n                webSocketConnectionFailed: !0\n              };\n            });\n            Ce(e.debug(\"There is an ongoing getWebSocketConnConfig request, this request will be ignored\"));\n          }\n        },\n        ke = function ke() {\n          if (o.websocketInitFailed) return Ce(e.info(\"web-socket initializing had failed, aborting re-init\")), {\n            webSocketConnectionFailed: !0\n          };\n          if (!V.isNetworkOnline()) return Ce(e.warn(\"System is offline aborting web-socket init\")), {\n            webSocketConnectionFailed: !0\n          };\n          e.advancedLog(W), Ce(e.info(W)), Q(\"initWebSocket\");\n          try {\n            if (Se(a.connConfig)) {\n              var n = null;\n              return ee(t.primary) ? (Ce(e.debug(\"Primary Socket connection is already open\")), Y(t.secondary, WebSocket.CONNECTING) || (Ce(e.debug(\"Establishing a secondary web-socket connection\")), B.numAttempts = 0, t.secondary = we()), n = t.secondary) : (Y(t.primary, WebSocket.CONNECTING) || (Ce(e.debug(\"Establishing a primary web-socket connection\")), t.primary = we()), n = t.primary), o.webSocketInitCheckerTimeoutId = setTimeout(function () {\n                ee(n) || ye();\n              }, 1e3), {\n                webSocketConnectionFailed: !1\n              };\n            }\n          } catch (n) {\n            return Ce(e.error(\"Error Initializing web-socket-manager\", n)), me(\"Failed to initialize new WebSocket: \" + n.message), {\n              webSocketConnectionFailed: !0\n            };\n          }\n        },\n        we = function we() {\n          var n = new WebSocket(a.connConfig.webSocketTransport.url);\n          return n.addEventListener(\"open\", ue), n.addEventListener(\"message\", de), n.addEventListener(\"error\", fe), n.addEventListener(\"close\", function (i) {\n            return function (n, i) {\n              e.advancedLog(m, JSON.stringify(n)), Ce(e.info(m, JSON.stringify(n))), Q(\"webSocketOnClose before-cleanup\"), K(c.connectionClose, {\n                openTimestamp: i.openTimestamp,\n                closeTimestamp: Date.now(),\n                connectionDuration: Date.now() - i.openTimestamp,\n                code: n.code,\n                reason: n.reason\n              }), ne(t.primary) && (t.primary = null), ne(t.secondary) && (t.secondary = null), o.reconnectWebSocket && (ee(t.primary) || ee(t.secondary) ? ne(t.primary) && ee(t.secondary) && (Ce(e.info(\"[Primary] WebSocket Cleanly Closed\")), t.primary = t.secondary, t.secondary = null) : (Ce(e.warn(\"Neither primary websocket and nor secondary websocket have open connections, attempting to re-establish connection\")), o.connState === U ? Ce(e.info(\"Ignoring connectionLost callback invocation\")) : (K(c.connectionLost, {\n                openTimestamp: i.openTimestamp,\n                closeTimestamp: Date.now(),\n                connectionDuration: Date.now() - i.openTimestamp,\n                code: n.code,\n                reason: n.reason\n              }), r.noOpenConnectionsTimestamp = Date.now()), o.connState = U, he()), Q(\"webSocketOnClose after-cleanup\"));\n            }(i, n);\n          }), n;\n        },\n        Ce = function Ce(e) {\n          return e && \"function\" == typeof e.sendInternalLogToServer && e.sendInternalLogToServer(), e;\n        };\n      this.init = function (n) {\n        if (V.assertTrue(V.isFunction(n), \"transportHandle must be a function\"), null === c.getWebSocketTransport) return c.getWebSocketTransport = n, he();\n        Ce(e.warn(\"Web Socket Manager was already initialized\"));\n      }, this.onInitFailure = function (n) {\n        return e.advancedLog(I), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.initFailure.add(n), o.websocketInitFailed && n(), function () {\n          return c.initFailure[\"delete\"](n);\n        };\n      }, this.onConnectionOpen = function (n) {\n        return e.advancedLog(N), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.connectionOpen.add(n), function () {\n          return c.connectionOpen[\"delete\"](n);\n        };\n      }, this.onConnectionClose = function (n) {\n        return e.advancedLog(_), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.connectionClose.add(n), function () {\n          return c.connectionClose[\"delete\"](n);\n        };\n      }, this.onConnectionGain = function (n) {\n        return e.advancedLog(E), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.connectionGain.add(n), oe() && n(), function () {\n          return c.connectionGain[\"delete\"](n);\n        };\n      }, this.onConnectionLost = function (n) {\n        return e.advancedLog(F), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.connectionLost.add(n), o.connState === U && n(), function () {\n          return c.connectionLost[\"delete\"](n);\n        };\n      }, this.onSubscriptionUpdate = function (e) {\n        return V.assertTrue(V.isFunction(e), \"cb must be a function\"), c.subscriptionUpdate.add(e), function () {\n          return c.subscriptionUpdate[\"delete\"](e);\n        };\n      }, this.onSubscriptionFailure = function (n) {\n        return e.advancedLog(A), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.subscriptionFailure.add(n), function () {\n          return c.subscriptionFailure[\"delete\"](n);\n        };\n      }, this.onMessage = function (e, n) {\n        return V.assertNotNull(e, \"topicName\"), V.assertTrue(V.isFunction(n), \"cb must be a function\"), c.topic.has(e) ? c.topic.get(e).add(n) : c.topic.set(e, new Set([n])), function () {\n          return c.topic.get(e)[\"delete\"](n);\n        };\n      }, this.onAllMessage = function (e) {\n        return V.assertTrue(V.isFunction(e), \"cb must be a function\"), c.allMessage.add(e), function () {\n          return c.allMessage[\"delete\"](e);\n        };\n      }, this.subscribeTopics = function (e) {\n        V.assertNotNull(e, \"topics\"), V.assertIsList(e), e.forEach(function (e) {\n          q.subscribed.has(e) || q.pending.add(e);\n        }), J.consecutiveNoResponseRequest = 0, pe();\n      }, this.sendMessage = function (n) {\n        if (V.assertIsObject(n, \"payload\"), void 0 === n.topic || X.has(n.topic)) Ce(e.warn(\"Cannot send message, Invalid topic\", n));else {\n          try {\n            n = JSON.stringify(n);\n          } catch (t) {\n            return void Ce(e.warn(\"Error stringify message\", n));\n          }\n          oe() ? te().send(n) : Ce(e.warn(\"Cannot send message, web socket connection is not open\"));\n        }\n      }, this.closeWebSocket = function () {\n        ie(), ce(), o.reconnectWebSocket = !1, clearInterval($), be(\"User request to close WebSocket\");\n      }, this.terminateWebSocketManager = me;\n    },\n    de = {\n      create: function create() {\n        return new fe();\n      },\n      setGlobalConfig: function setGlobalConfig(e) {\n        var n = e && e.loggerConfig;\n        se.updateLoggerConfig(n);\n      },\n      LogLevel: oe,\n      Logger: ne\n    };\n}, function (e, n, t) {\n  var o;\n  !function () {\n    \"use strict\";\n\n    var r = {\n      not_string: /[^s]/,\n      not_bool: /[^t]/,\n      not_type: /[^T]/,\n      not_primitive: /[^v]/,\n      number: /[diefg]/,\n      numeric_arg: /[bcdiefguxX]/,\n      json: /[j]/,\n      not_json: /[^j]/,\n      text: /^[^\\x25]+/,\n      modulo: /^\\x25{2}/,\n      placeholder: /^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,\n      key: /^([a-z_][a-z_\\d]*)/i,\n      key_access: /^\\.([a-z_][a-z_\\d]*)/i,\n      index_access: /^\\[(\\d+)\\]/,\n      sign: /^[+-]/\n    };\n    function i(e) {\n      return function (e, n) {\n        var t,\n          o,\n          c,\n          a,\n          s,\n          u,\n          l,\n          f,\n          d,\n          p = 1,\n          g = e.length,\n          b = \"\";\n        for (o = 0; o < g; o++) if (\"string\" == typeof e[o]) b += e[o];else if (\"object\" == _typeof(e[o])) {\n          if ((a = e[o]).keys) for (t = n[p], c = 0; c < a.keys.length; c++) {\n            if (null == t) throw new Error(i('[sprintf] Cannot access property \"%s\" of undefined value \"%s\"', a.keys[c], a.keys[c - 1]));\n            t = t[a.keys[c]];\n          } else t = a.param_no ? n[a.param_no] : n[p++];\n          if (r.not_type.test(a.type) && r.not_primitive.test(a.type) && t instanceof Function && (t = t()), r.numeric_arg.test(a.type) && \"number\" != typeof t && isNaN(t)) throw new TypeError(i(\"[sprintf] expecting number but found %T\", t));\n          switch (r.number.test(a.type) && (f = t >= 0), a.type) {\n            case \"b\":\n              t = parseInt(t, 10).toString(2);\n              break;\n            case \"c\":\n              t = String.fromCharCode(parseInt(t, 10));\n              break;\n            case \"d\":\n            case \"i\":\n              t = parseInt(t, 10);\n              break;\n            case \"j\":\n              t = JSON.stringify(t, null, a.width ? parseInt(a.width) : 0);\n              break;\n            case \"e\":\n              t = a.precision ? parseFloat(t).toExponential(a.precision) : parseFloat(t).toExponential();\n              break;\n            case \"f\":\n              t = a.precision ? parseFloat(t).toFixed(a.precision) : parseFloat(t);\n              break;\n            case \"g\":\n              t = a.precision ? String(Number(t.toPrecision(a.precision))) : parseFloat(t);\n              break;\n            case \"o\":\n              t = (parseInt(t, 10) >>> 0).toString(8);\n              break;\n            case \"s\":\n              t = String(t), t = a.precision ? t.substring(0, a.precision) : t;\n              break;\n            case \"t\":\n              t = String(!!t), t = a.precision ? t.substring(0, a.precision) : t;\n              break;\n            case \"T\":\n              t = Object.prototype.toString.call(t).slice(8, -1).toLowerCase(), t = a.precision ? t.substring(0, a.precision) : t;\n              break;\n            case \"u\":\n              t = parseInt(t, 10) >>> 0;\n              break;\n            case \"v\":\n              t = t.valueOf(), t = a.precision ? t.substring(0, a.precision) : t;\n              break;\n            case \"x\":\n              t = (parseInt(t, 10) >>> 0).toString(16);\n              break;\n            case \"X\":\n              t = (parseInt(t, 10) >>> 0).toString(16).toUpperCase();\n          }\n          r.json.test(a.type) ? b += t : (!r.number.test(a.type) || f && !a.sign ? d = \"\" : (d = f ? \"+\" : \"-\", t = t.toString().replace(r.sign, \"\")), u = a.pad_char ? \"0\" === a.pad_char ? \"0\" : a.pad_char.charAt(1) : \" \", l = a.width - (d + t).length, s = a.width && l > 0 ? u.repeat(l) : \"\", b += a.align ? d + t + s : \"0\" === u ? d + s + t : s + d + t);\n        }\n        return b;\n      }(function (e) {\n        if (a[e]) return a[e];\n        var n,\n          t = e,\n          o = [],\n          i = 0;\n        for (; t;) {\n          if (null !== (n = r.text.exec(t))) o.push(n[0]);else if (null !== (n = r.modulo.exec(t))) o.push(\"%\");else {\n            if (null === (n = r.placeholder.exec(t))) throw new SyntaxError(\"[sprintf] unexpected placeholder\");\n            if (n[2]) {\n              i |= 1;\n              var c = [],\n                s = n[2],\n                u = [];\n              if (null === (u = r.key.exec(s))) throw new SyntaxError(\"[sprintf] failed to parse named argument key\");\n              for (c.push(u[1]); \"\" !== (s = s.substring(u[0].length));) if (null !== (u = r.key_access.exec(s))) c.push(u[1]);else {\n                if (null === (u = r.index_access.exec(s))) throw new SyntaxError(\"[sprintf] failed to parse named argument key\");\n                c.push(u[1]);\n              }\n              n[2] = c;\n            } else i |= 2;\n            if (3 === i) throw new Error(\"[sprintf] mixing positional and named placeholders is not (yet) supported\");\n            o.push({\n              placeholder: n[0],\n              param_no: n[1],\n              keys: n[2],\n              sign: n[3],\n              pad_char: n[4],\n              align: n[5],\n              width: n[6],\n              precision: n[7],\n              type: n[8]\n            });\n          }\n          t = t.substring(n[0].length);\n        }\n        return a[e] = o;\n      }(e), arguments);\n    }\n    function c(e, n) {\n      return i.apply(null, [e].concat(n || []));\n    }\n    var a = Object.create(null);\n    n.sprintf = i, n.vsprintf = c, \"undefined\" != typeof window && (window.sprintf = i, window.vsprintf = c, void 0 === (o = function () {\n      return {\n        sprintf: i,\n        vsprintf: c\n      };\n    }.call(n, t, n, e)) || (e.exports = o));\n  }();\n}, function (e, n, t) {\n  \"use strict\";\n\n  t.r(n), function (e) {\n    t.d(n, \"WebSocketManager\", function () {\n      return r;\n    });\n    var o = t(0);\n    e.connect = e.connect || {}, connect.WebSocketManager = o.a;\n    var r = o.a;\n  }.call(this, t(3));\n}, function (e, n) {\n  var t;\n  t = function () {\n    return this;\n  }();\n  try {\n    t = t || new Function(\"return this\")();\n  } catch (e) {\n    \"object\" == (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) && (t = window);\n  }\n  e.exports = t;\n}]);\n\n/***/ },\n\n/***/ 144\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n\n  // How frequently softphone logs should be collected and reported to shared worker.\n  var SOFTPHONE_LOG_REPORT_INTERVAL_MILLIS = 5000;\n\n  // How frequently logs should be collected and sent downstream\n  var LOGS_REPORT_INTERVAL_MILLIS = 5000;\n\n  // The default log roll interval (30min)\n  var DEFAULT_LOG_ROLL_INTERVAL = 1800000;\n\n  // Hard ceiling on retained _logs entries; the time-based roll alone lets a long, high-volume\n  // session grow the buffer to hundreds of MB and OOM-crash 4GB devices.\n  var DEFAULT_LOG_MAX_LENGTH = 5000;\n  // Slack above the cap so eviction batches (amortized O(1)) instead of shifting on every push.\n  var LOG_EVICTION_BATCH_SIZE = 100;\n\n  // Prefix to be added to values obfuscated using MD5 digest.\n  var OBFUSCATED_PREFIX = \"[obfuscated value]\";\n\n  /**\n   * An enumeration of common logging levels.\n   */\n  var LogLevel = {\n    TEST: \"TEST\",\n    TRACE: \"TRACE\",\n    DEBUG: \"DEBUG\",\n    INFO: \"INFO\",\n    LOG: \"LOG\",\n    WARN: \"WARN\",\n    ERROR: \"ERROR\",\n    CRITICAL: \"CRITICAL\"\n  };\n\n  /**\n   * An enumeration of common logging components.\n   */\n  var LogComponent = {\n    CCP: \"ccp\",\n    SOFTPHONE: \"softphone\",\n    CHAT: \"chat\",\n    TASK: \"task\"\n  };\n\n  /**\n   * The numeric order of the logging levels above.\n   * They are spaced to allow the addition of other log\n   * levels at a later time.\n   */\n  var LogLevelOrder = {\n    TEST: 0,\n    TRACE: 10,\n    DEBUG: 20,\n    INFO: 30,\n    LOG: 40,\n    WARN: 50,\n    ERROR: 100,\n    CRITICAL: 200\n  };\n\n  /**\n   * An enumeration of logging context layers.\n   */\n  var LogContextLayer = {\n    CCP: \"CCP\",\n    CRM: \"CRM\"\n  };\n\n  /**\n   * A map from log level to console logger function.\n   */\n  var CONSOLE_LOGGER_MAP = {\n    TRACE: function TRACE(text) {\n      console.info(text);\n    },\n    DEBUG: function DEBUG(text) {\n      console.info(text);\n    },\n    INFO: function INFO(text) {\n      console.info(text);\n    },\n    LOG: function LOG(text) {\n      console.log(text);\n    },\n    TEST: function TEST(text) {\n      console.log(text);\n    },\n    WARN: function WARN(text) {\n      console.warn(text);\n    },\n    ERROR: function ERROR(text) {\n      console.error(text);\n    },\n    CRITICAL: function CRITICAL(text) {\n      console.error(text);\n    }\n  };\n  var REDACTED_STRING = \"[redacted]\";\n\n  /**\n  * Checks if it is a valid log component enum\n  */\n\n  var isValidLogComponent = function isValidLogComponent(component) {\n    return Object.values(LogComponent).indexOf(component) !== -1;\n  };\n\n  /**\n  * Extract the custom arguments as required by the logger\n  */\n  var extractLoggerArgs = function extractLoggerArgs(loggerArgs) {\n    var args = Array.prototype.slice.call(loggerArgs, 0);\n    var firstArg = args.shift();\n    var format;\n    var component;\n    if (isValidLogComponent(firstArg)) {\n      component = firstArg;\n      format = args.shift();\n    } else {\n      //default to CCP component\n      format = firstArg;\n      component = LogComponent.CCP;\n    }\n    return {\n      format: format,\n      component: component,\n      args: args\n    };\n  };\n\n  /**\n   * A log entry.\n   *\n   * @param component The logging component.\n   * @param level The log level of this log entry.\n   * @param text The text contained in the log entry.\n   * @param loggerId The root logger id.\n   *\n   * Log entries are aware of their timestamp, order,\n   * and can contain objects and exception stack traces.\n   */\n  var LogEntry = function LogEntry(component, level, text, loggerId, tabId, contextLayer) {\n    this.component = component;\n    this.level = level;\n    this.text = text;\n    this.time = new Date();\n    this.tabId = tabId === null ? null : tabId ? tabId : connect.core.tabId;\n    this.exception = null;\n    this.objects = [];\n    this.line = 0;\n    this.agentResourceId = null;\n    try {\n      if (connect.agent.initialized) {\n        this.agentResourceId = new connect.Agent()._getResourceId();\n      }\n    } catch (e) {\n      console.log(\"Issue finding agentResourceId: \", e); //can't use our logger here as we might infinitely attempt to log this error.\n    }\n    this.loggerId = loggerId;\n    if (contextLayer) {\n      this.contextLayer = contextLayer;\n    } else {\n      if (connect.isCRM()) {\n        this.contextLayer = LogContextLayer.CRM;\n      } else if (connect.isCCP()) {\n        this.contextLayer = LogContextLayer.CCP;\n      }\n    }\n  };\n  LogEntry.fromObject = function (obj) {\n    var tabId = obj.tabId || null;\n    var contextLayer = obj.contextLayer || null;\n    var entry = new LogEntry(LogComponent.CCP, obj.level, obj.text, obj.loggerId, tabId, contextLayer);\n\n    // Required to check for Date objects sent across frame boundaries\n    if (Object.prototype.toString.call(obj.time) === '[object Date]') {\n      entry.time = new Date(obj.time.getTime());\n    } else if (typeof obj.time === 'number') {\n      entry.time = new Date(obj.time);\n    } else if (typeof obj.time === 'string') {\n      entry.time = Date.parse(obj.time);\n    } else {\n      entry.time = new Date();\n    }\n    entry.exception = obj.exception;\n    entry.objects = obj.objects;\n    return entry;\n  };\n\n  // Guards against unbounded recursion in redactSensitiveInfo when a logged\n  // object contains a circular reference or is pathologically deep. Without\n  // these, a single such object blows the call stack before the log entry is\n  // ever recorded, taking down CCP initialization with it (GitHub #1096).\n  var REDACT_MAX_DEPTH = 200;\n\n  /**\n   * Private method to remove sensitive info from client log\n   */\n  var _redactSensitiveInfo = function redactSensitiveInfo(data, _seen, _depth) {\n    var parentKey = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : \"\";\n    var authTokenRegex = /(AuthToken.*)/gi;\n    var e164NumberFormatRegex = /Phone number.*/gi;\n    var sendDigtRegex = /Send digit.*/gi;\n    var connectionAuthTokenRegex = /ConnectionAuthenticationToken.*/gi;\n    var credentialRegex = /(\"credential\":\")([^\"]*)\"/;\n    var emailRegex = /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}/g;\n    var redactedFields = [\"quickconnectname\", \"token\", \"login\", \"credential\", \"internalip\", \"authtoken\", \"phonenumber\", \"firstname\", \"lastname\", \"emailaddress\", \"address\", \"displayname\", \"agentname\", \"description\", \"name\", \"value\", \"summary\", \"queue.name\"];\n    var hashedFields = [\"customerid\", \"speakerid\", \"customerspeakerid\", \"presignedurl\"];\n    var condenseField = [\"connect:purpose\", \"connect:contactexpiry\", \"contactverification\"];\n    // Parents whose \"name\" is a type, not customer data, and so is kept. An\n    // Error's name is its class - TimeoutError, ConnectError - which is where\n    // triage of an SDK request failure starts. Redacting it also protected\n    // nothing, because the class name is already spelled out in the accompanying\n    // unredacted \"stack\" (\"Error: timeout\\n    at ...\").\n    var keepNameForParents = [\"error\"];\n    if (data && _typeof(data) === 'object') {\n      // Cycle + depth guard. _seen tracks the ancestor objects on the current\n      // path so a back-reference is skipped rather than followed forever;\n      // _depth caps runaway nesting. Both are seeded on the top-level call.\n      var seen = _seen || new WeakSet();\n      var depth = _depth || 0;\n      if (seen.has(data) || depth >= REDACT_MAX_DEPTH) {\n        return;\n      }\n      seen.add(data);\n      // An array index says nothing about what it holds, so elements inherit the\n      // array's own key as their parent.\n      var isArray = Array.isArray(data);\n      Object.keys(data).forEach(function (key) {\n        var childParentKey = isArray ? parentKey : key.toLowerCase();\n        if (condenseField.includes(key.toLowerCase())) {\n          data[key] = \"[condensed]\";\n        } else if (_typeof(data[key]) === 'object') {\n          if (key === \"attributes\") {\n            data[key] = REDACTED_STRING; //we want to redact the entire attributes object\n          } else if (key === \"state\") {\n            return; // don't redact agent availability status name\n          } else {\n            _redactSensitiveInfo(data[key], seen, depth + 1, childParentKey);\n          }\n        } else if (typeof data[key] === 'string') {\n          if (key === \"url\" || key === \"text\") {\n            data[key] = data[key].replace(authTokenRegex, REDACTED_STRING);\n            //to remove all traces of phone numbers\n            data[key] = data[key].replace(e164NumberFormatRegex, \"phone number\" + REDACTED_STRING);\n            data[key] = data[key].replace(sendDigtRegex, \"send digit \" + REDACTED_STRING);\n            data[key] = data[key].replace(connectionAuthTokenRegex, REDACTED_STRING);\n            data[key] = data[key].replace(emailRegex, \"email address \" + REDACTED_STRING);\n          } else if (redactedFields.includes(key.toLowerCase()) && !(key.toLowerCase() === \"name\" && keepNameForParents.includes(parentKey))) {\n            data[key] = REDACTED_STRING;\n          } else if (\"callconfigjson\" === key.toLowerCase()) {\n            // we need to redact the credential in call config json\n            data[key] = data[key].replace(credentialRegex, function (match, key, value) {\n              return key + REDACTED_STRING + '\"';\n            });\n          } else if (hashedFields.includes(key.toLowerCase())) {\n            data[key] = \"\".concat(OBFUSCATED_PREFIX, \" \").concat(md5(data[key]));\n          }\n        }\n      });\n    }\n  };\n\n  /**\n   * Pulls the type, message, and stack trace\n   * out of the given exception for JSON serialization.\n   */\n  var LoggedException = function LoggedException(e) {\n    this.type = e instanceof Error ? e.name : e.code || Object.prototype.toString.call(e);\n    this.message = e.message;\n    this.stack = [];\n    if (e.stack) {\n      try {\n        if (Array.isArray(e.stack)) {\n          this.stack = e.stack;\n        } else if (_typeof(e.stack) === 'object') {\n          this.stack = [JSON.stringify(e.stack)];\n        } else if (typeof e.stack === 'string') {\n          this.stack = e.stack.split('\\n');\n        }\n      } catch (_unused) {}\n    }\n  };\n\n  /**\n   * Minimally stringify this log entry for printing\n   * to the console.\n   */\n  LogEntry.prototype.toString = function () {\n    return connect.sprintf(\"[%s] [%s] [%s]: %s\", this.getTime() && this.getTime().toISOString ? this.getTime().toISOString() : \"???\", this.getLevel(), this.getAgentResourceId(), this.getText());\n  };\n\n  /**\n   * Get the log entry timestamp.\n   */\n  LogEntry.prototype.getTime = function () {\n    return this.time;\n  };\n  LogEntry.prototype.getAgentResourceId = function () {\n    return this.agentResourceId;\n  };\n  LogEntry.prototype.getTabId = function () {\n    return this.tabId;\n  };\n  LogEntry.prototype.getContextLayer = function () {\n    return this.contextLayer;\n  };\n\n  /**\n   * Get the level of the log entry.\n   */\n  LogEntry.prototype.getLevel = function () {\n    return this.level;\n  };\n\n  /**\n   * Get the log entry text.\n   */\n  LogEntry.prototype.getText = function () {\n    return this.text;\n  };\n\n  /**\n   * Get the log entry component.\n   */\n  LogEntry.prototype.getComponent = function () {\n    return this.component;\n  };\n\n  /**\n   * Add an exception stack trace to this log entry.\n   * A log entry may contain only one exception stack trace.\n   */\n  LogEntry.prototype.withException = function (e) {\n    this.exception = new LoggedException(e);\n    return this;\n  };\n\n  /**\n   * Add an arbitrary object to the log entry.  A log entry\n   * may contain any number of objects.\n   */\n  LogEntry.prototype.withObject = function (obj) {\n    var copiedObj = connect.deepcopy(obj);\n    _redactSensitiveInfo(copiedObj);\n    this.objects.push(copiedObj);\n    return this;\n  };\n\n  /**\n   * Add a cross origin event object to the log entry.  A log entry\n   * may contain any number of objects.\n   */\n  LogEntry.prototype.withCrossOriginEventObject = function (obj) {\n    var copiedObj = connect.deepcopyCrossOriginEvent(obj);\n    _redactSensitiveInfo(copiedObj);\n    this.objects.push(copiedObj);\n    return this;\n  };\n\n  /**\n   * Indicate that this log entry should be sent to the server\n   * NOTE: This should be used for internal logs only\n   */\n  LogEntry.prototype.sendInternalLogToServer = function () {\n    connect.getLog()._serverBoundInternalLogs.push(this);\n\n    // BROADCAST: Sync server-bound logs for backend publishing\n    if (connect.isCRM() && this.loggerId === connect.getLog().getLoggerId()) {\n      try {\n        connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.EventType.SERVER_BOUND_INTERNAL_LOG,\n          data: this\n        });\n      } catch (e) {\n        // Silently ignore broadcast failures - log is already stored locally\n      }\n    }\n    return this;\n  };\n\n  /**\n   * The logger instance.\n   */\n  var Logger = function Logger() {\n    this._logs = [];\n    this._rolledLogs = [];\n    this._logsToPush = [];\n    this._serverBoundInternalLogs = [];\n    this._echoLevel = LogLevelOrder.WARN;\n    this._logLevel = LogLevelOrder.INFO;\n    this._lineCount = 0;\n    this._logRollInterval = 0;\n    this._logRollTimer = null;\n    this._logMaxLength = DEFAULT_LOG_MAX_LENGTH;\n    this._loggerId = new Date().getTime() + \"-\" + Math.random().toString(36).slice(2);\n    this.setLogRollInterval(DEFAULT_LOG_ROLL_INTERVAL);\n    this._startLogIndexToPush = 0;\n  };\n\n  /**\n   * Sets the interval in milliseconds that the logs will be rotated.\n   * Logs are rotated out completely at the end of the second roll\n   * and will eventually be garbage collected.\n   */\n  Logger.prototype.setLogRollInterval = function (interval) {\n    var self = this;\n    if (!this._logRollTimer || interval !== this._logRollInterval) {\n      if (this._logRollTimer) {\n        global.clearInterval(this._logRollTimer);\n      }\n      this._logRollInterval = interval;\n      this._logRollTimer = global.setInterval(function () {\n        self._rolledLogs = self._logs;\n        self._logs = [];\n        self._startLogIndexToPush = 0;\n        self.info(\"Log roll interval occurred.\");\n      }, this._logRollInterval);\n    } else {\n      this.warn(\"Logger is already set to the given interval: %d\", this._logRollInterval);\n    }\n  };\n\n  // Sets the max entries retained in _logs (oldest evicted first). Expects a positive number.\n  Logger.prototype.setLogMaxLength = function (maxLength) {\n    if (typeof maxLength === \"number\" && maxLength > 0) {\n      this._logMaxLength = maxLength;\n      this.enforceLogMaxLength(true);\n    } else {\n      this.warn(\"Ignoring invalid log max length: %s\", maxLength);\n    }\n  };\n\n  // Evicts oldest _logs entries once over the cap; batched by default, immediate=true trims now.\n  Logger.prototype.enforceLogMaxLength = function (immediate) {\n    var overshoot = immediate ? 0 : LOG_EVICTION_BATCH_SIZE;\n    if (this._logs.length > this._logMaxLength + overshoot) {\n      this._logs.splice(0, this._logs.length - this._logMaxLength);\n    }\n  };\n\n  /**\n   * Set the log level.  This is the minimum level at which logs will\n   * be kept for later archiving.\n   */\n  Logger.prototype.setLogLevel = function (level) {\n    if (level in LogLevelOrder) {\n      this._logLevel = LogLevelOrder[level];\n    } else {\n      throw new Error(\"Unknown logging level: \" + level);\n    }\n  };\n\n  /**\n   * Set the echo level.  This is the minimum level at which logs will\n   * be printed to the javascript console.\n   */\n  Logger.prototype.setEchoLevel = function (level) {\n    if (level in LogLevelOrder) {\n      this._echoLevel = LogLevelOrder[level];\n    } else {\n      throw new Error(\"Unknown logging level: \" + level);\n    }\n  };\n\n  /**\n   * Write a particular log entry.\n   *\n   * @param level The logging level of the entry.\n   * @param text The text contents of the entry.\n   *\n   * @returns The new log entry.\n   */\n  Logger.prototype.write = function (component, level, text) {\n    var logEntry = new LogEntry(component, level, text, this.getLoggerId());\n    _redactSensitiveInfo(logEntry);\n    this.addLogEntry(logEntry);\n    return logEntry;\n  };\n  Logger.prototype.addLogEntry = function (logEntry) {\n    // Call this second time as in some places this function is called directly\n    _redactSensitiveInfo(logEntry);\n    this._logs.push(logEntry);\n    // Bound the buffer so a long-lived, high-volume session cannot grow it without limit.\n    this.enforceLogMaxLength();\n\n    // BROADCAST: Sync CRM layer logs between CCPs\n    if (connect.isCRM() && logEntry.loggerId === this.getLoggerId()) {\n      try {\n        connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.EventType.LOG,\n          data: logEntry\n        });\n      } catch (e) {\n        // Silently ignore broadcast failures - log is already stored locally\n      }\n    }\n\n    //For now only send softphone logs only.\n    //TODO add CCP logs once we are sure that no sensitive data is being logged.\n    if (LogComponent.SOFTPHONE === logEntry.component) {\n      this._logsToPush.push(logEntry);\n    }\n    if (logEntry.level in LogLevelOrder && LogLevelOrder[logEntry.level] >= this._logLevel) {\n      if (LogLevelOrder[logEntry.level] >= this._echoLevel) {\n        CONSOLE_LOGGER_MAP[logEntry.getLevel()](logEntry.toString());\n      }\n      logEntry.line = this._lineCount++;\n    }\n  };\n  Logger.prototype.sendInternalLogEntryToServer = function (logEntry) {\n    this._serverBoundInternalLogs.push(logEntry);\n    if (logEntry.level in LogLevelOrder && LogLevelOrder[logEntry.level] >= this._logLevel) {\n      if (LogLevelOrder[logEntry.level] >= this._echoLevel) {\n        CONSOLE_LOGGER_MAP[logEntry.getLevel()](logEntry.toString());\n      }\n      logEntry.line = this._lineCount++;\n    }\n  };\n\n  /**\n   * Remove all objects from all log entries.\n   */\n  Logger.prototype.clearObjects = function () {\n    for (var x = 0; x < this._logs.length; x++) {\n      if (this._logs[x].objects) {\n        delete this._logs[x].objects;\n      }\n    }\n  };\n\n  /**\n   * Remove all exception stack traces from the log entries.\n   */\n  Logger.prototype.clearExceptions = function () {\n    for (var x = 0; x < this._logs.length; x++) {\n      if (this._logs[x].exception) {\n        delete this._logs[x].exception;\n      }\n    }\n  };\n  Logger.prototype.trace = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.TRACE, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.debug = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.DEBUG, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.info = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.INFO, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.log = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.LOG, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.test = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.TEST, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.warn = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.WARN, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.error = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.ERROR, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n  Logger.prototype.critical = function () {\n    var logArgs = extractLoggerArgs(arguments);\n    return this.write(logArgs.component, LogLevel.ERROR, connect.vsprintf(logArgs.format, logArgs.args));\n  };\n\n  /**\n   * Create a string representation of the logger contents.\n   */\n  Logger.prototype.toString = function () {\n    var lines = [];\n    for (var x = 0; x < this._logs.length; x++) {\n      lines.push(this._logs[x].toString());\n    }\n    return lines.join(\"\\n\");\n  };\n\n  /**\n   * Download/Archive logs to a file,\n   * By default, it returns all logs.\n   * To filter logs by the minimum log level set by setLogLevel or the default set in _logLevel,\n   * pass in filterByLogLevel to true in options\n   *\n   * @param options download options [Object|String].\n   * - of type Object:\n   *   { logName: 'my-log-name',\n   *     filterByLogLevel: false, //download all logs\n   *   }\n   * - of type String (for backward compatibility), the file's name\n   */\n  Logger.prototype.download = function (options) {\n    var _connect;\n    var logName = 'agent-log';\n    var filterByLogLevel = false;\n    // This will only be set to true on the CRM layer when GlobalResiliency is enabled\n    var isGlobalResiliency = ((_connect = connect) === null || _connect === void 0 || (_connect = _connect.globalResiliency) === null || _connect === void 0 ? void 0 : _connect.globalResiliencyEnabled) === true;\n    if (_typeof(options) === 'object' && options !== null) {\n      logName = options.logName || logName;\n      filterByLogLevel = options.filterByLogLevel || filterByLogLevel;\n    } else if (typeof options === 'string') {\n      logName = options || logName;\n    }\n    if (isGlobalResiliency) {\n      // Three CCP logs will be downloaded in Global Resiliency\n      // One from each CCP which contains CCP logs + CRM from time of initialization of CCP onwards\n      // This is done when connect.globalResiliency._downloadCCPLogs(); is called\n      // CRM layer which contains all CRM logs and all CCP logs, retrieved in the remainder of this function.\n      connect.globalResiliency._downloadCCPLogs();\n      logName = \"crm-\" + logName;\n    }\n    var self = this;\n    var logs = this._rolledLogs.concat(this._logs);\n    if (filterByLogLevel) {\n      logs = logs.filter(function (entry) {\n        return LogLevelOrder[entry.level] >= self._logLevel;\n      });\n    }\n    var logBlob = new global.Blob([JSON.stringify(logs, undefined, 4)], ['text/plain']);\n    var downloadLink = document.createElement('a');\n    var logName = logName || 'agent-log';\n    downloadLink.href = global.URL.createObjectURL(logBlob);\n    downloadLink.download = logName + '.txt';\n    document.body.appendChild(downloadLink);\n    downloadLink.click();\n    document.body.removeChild(downloadLink);\n  };\n  Logger.prototype.scheduleUpstreamLogPush = function (conduit) {\n    if (!connect.upstreamLogPushScheduled) {\n      connect.upstreamLogPushScheduled = true;\n      /** Schedule pushing logs frequently to sharedworker upstream, sharedworker will report to the CTI backend*/\n      global.setInterval(connect.hitch(this, this.reportMasterLogsUpStream, conduit), SOFTPHONE_LOG_REPORT_INTERVAL_MILLIS);\n    }\n  };\n  Logger.prototype.reportMasterLogsUpStream = function (conduit) {\n    var logsToPush = this._logsToPush.slice();\n    this._logsToPush = [];\n    connect.ifMaster(connect.MasterTopics.SEND_LOGS, function () {\n      if (logsToPush.length > 0) {\n        conduit.sendUpstream(connect.EventType.SEND_LOGS, logsToPush);\n      }\n    });\n  };\n  Logger.prototype.getLoggerId = function () {\n    return this._loggerId;\n  };\n  Logger.prototype.scheduleDownstreamClientSideLogsPush = function () {\n    global.setInterval(connect.hitch(this, this.pushClientSideLogsDownstream), LOGS_REPORT_INTERVAL_MILLIS);\n  };\n  Logger.prototype.pushClientSideLogsDownstream = function () {\n    var logs = [];\n\n    // We do not send a request if we have less than 50 records so that we minimize the number of\n    // requests per second.\n    // 500 is the max we accept on the server.\n    // We chose 500 because this is the limit imposed by Firehose for a put batch request\n    if (this._serverBoundInternalLogs.length < 50) {\n      return;\n    } else if (this._serverBoundInternalLogs.length > 500) {\n      logs = this._serverBoundInternalLogs.splice(0, 500);\n    } else {\n      logs = this._serverBoundInternalLogs;\n      this._serverBoundInternalLogs = [];\n    }\n    connect.publishClientSideLogs(logs);\n  };\n  var _DownstreamConduitLogger = function DownstreamConduitLogger(conduit) {\n    Logger.call(this);\n    this.conduit = conduit;\n    global.setInterval(connect.hitch(this, this._pushLogsDownstream), _DownstreamConduitLogger.LOG_PUSH_INTERVAL);\n\n    // Disable log rolling, we will purge our own logs once they have\n    // been pushed downstream.\n    global.clearInterval(this._logRollTimer);\n    this._logRollTimer = null;\n  };\n  // How frequently logs should be collected and delivered downstream.\n  _DownstreamConduitLogger.LOG_PUSH_INTERVAL = 1000;\n  _DownstreamConduitLogger.prototype = Object.create(Logger.prototype);\n  _DownstreamConduitLogger.prototype.constructor = _DownstreamConduitLogger;\n  _DownstreamConduitLogger.prototype.pushLogsDownstream = function (logs) {\n    var self = this;\n    logs.forEach(function (log) {\n      self.conduit.sendDownstream(connect.EventType.LOG, log);\n    });\n  };\n  _DownstreamConduitLogger.prototype._pushLogsDownstream = function () {\n    var self = this;\n    this._logs.forEach(function (log) {\n      self.conduit.sendDownstream(connect.EventType.LOG, log);\n    });\n    this._logs = [];\n    for (var i = 0; i < this._serverBoundInternalLogs.length; i++) {\n      this.conduit.sendDownstream(connect.EventType.SERVER_BOUND_INTERNAL_LOG, this._serverBoundInternalLogs[i]);\n    }\n    this._serverBoundInternalLogs = [];\n  };\n\n  /**\n   * Wrap a function with try catch block\n   */\n  var tryCatchWrapperMethod = function tryCatchWrapperMethod(fn) {\n    var wrappedfunction = function wrappedfunction() {\n      try {\n        return fn.apply(this, arguments);\n      } catch (e) {\n        // Since this wraps Logger class, we can only print it in the console and eat it.\n        CONSOLE_LOGGER_MAP.ERROR(e);\n      }\n    };\n    return wrappedfunction;\n  };\n  /**\n   * This is a wrapper method to wrap each function\n   * in an object with try catch block.\n   */\n  var tryCatchWrapperObject = function tryCatchWrapperObject(obj) {\n    for (var method in obj) {\n      if (typeof obj[method] === 'function') {\n        obj[method] = tryCatchWrapperMethod(obj[method]);\n      }\n    }\n  };\n\n  /** Create the singleton logger instance. */\n  connect.rootLogger = new Logger();\n  tryCatchWrapperObject(connect.rootLogger);\n\n  /** Fetch the singleton logger instance. */\n  var getLog = function getLog() {\n    return connect.rootLogger;\n  };\n  connect = connect || {};\n  connect.getLog = getLog;\n  connect.LogEntry = LogEntry;\n  connect.Logger = Logger;\n  connect.LogLevel = LogLevel;\n  connect.LogComponent = LogComponent;\n  connect.DownstreamConduitLogger = _DownstreamConduitLogger;\n})();\n\n/***/ },\n\n/***/ 254\n() {\n\n/*\n * JavaScript MD5\n * https://github.com/blueimp/JavaScript-MD5\n *\n * Copyright 2011, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n *\n * Based on\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\n\n/* global define */\n\n/* eslint-disable strict */\n\n;\n(function ($) {\n  var ctx = this || globalThis;\n\n  /**\n   * Add integers, wrapping at 2^32.\n   * This uses 16-bit operations internally to work around bugs in interpreters.\n   *\n   * @param {number} x First integer\n   * @param {number} y Second integer\n   * @returns {number} Sum\n   */\n  function safeAdd(x, y) {\n    var lsw = (x & 0xffff) + (y & 0xffff);\n    var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n    return msw << 16 | lsw & 0xffff;\n  }\n\n  /**\n   * Bitwise rotate a 32-bit number to the left.\n   *\n   * @param {number} num 32-bit number\n   * @param {number} cnt Rotation count\n   * @returns {number} Rotated number\n   */\n  function bitRotateLeft(num, cnt) {\n    return num << cnt | num >>> 32 - cnt;\n  }\n\n  /**\n   * Basic operation the algorithm uses.\n   *\n   * @param {number} q q\n   * @param {number} a a\n   * @param {number} b b\n   * @param {number} x x\n   * @param {number} s s\n   * @param {number} t t\n   * @returns {number} Result\n   */\n  function md5cmn(q, a, b, x, s, t) {\n    return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);\n  }\n  /**\n   * Basic operation the algorithm uses.\n   *\n   * @param {number} a a\n   * @param {number} b b\n   * @param {number} c c\n   * @param {number} d d\n   * @param {number} x x\n   * @param {number} s s\n   * @param {number} t t\n   * @returns {number} Result\n   */\n  function md5ff(a, b, c, d, x, s, t) {\n    return md5cmn(b & c | ~b & d, a, b, x, s, t);\n  }\n  /**\n   * Basic operation the algorithm uses.\n   *\n   * @param {number} a a\n   * @param {number} b b\n   * @param {number} c c\n   * @param {number} d d\n   * @param {number} x x\n   * @param {number} s s\n   * @param {number} t t\n   * @returns {number} Result\n   */\n  function md5gg(a, b, c, d, x, s, t) {\n    return md5cmn(b & d | c & ~d, a, b, x, s, t);\n  }\n  /**\n   * Basic operation the algorithm uses.\n   *\n   * @param {number} a a\n   * @param {number} b b\n   * @param {number} c c\n   * @param {number} d d\n   * @param {number} x x\n   * @param {number} s s\n   * @param {number} t t\n   * @returns {number} Result\n   */\n  function md5hh(a, b, c, d, x, s, t) {\n    return md5cmn(b ^ c ^ d, a, b, x, s, t);\n  }\n  /**\n   * Basic operation the algorithm uses.\n   *\n   * @param {number} a a\n   * @param {number} b b\n   * @param {number} c c\n   * @param {number} d d\n   * @param {number} x x\n   * @param {number} s s\n   * @param {number} t t\n   * @returns {number} Result\n   */\n  function md5ii(a, b, c, d, x, s, t) {\n    return md5cmn(c ^ (b | ~d), a, b, x, s, t);\n  }\n\n  /**\n   * Calculate the MD5 of an array of little-endian words, and a bit length.\n   *\n   * @param {Array} x Array of little-endian words\n   * @param {number} len Bit length\n   * @returns {Array<number>} MD5 Array\n   */\n  function binlMD5(x, len) {\n    /* append padding */\n    x[len >> 5] |= 0x80 << len % 32;\n    x[(len + 64 >>> 9 << 4) + 14] = len;\n    var i;\n    var olda;\n    var oldb;\n    var oldc;\n    var oldd;\n    var a = 1732584193;\n    var b = -271733879;\n    var c = -1732584194;\n    var d = 271733878;\n    for (i = 0; i < x.length; i += 16) {\n      olda = a;\n      oldb = b;\n      oldc = c;\n      oldd = d;\n      a = md5ff(a, b, c, d, x[i], 7, -680876936);\n      d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);\n      c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);\n      b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);\n      a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);\n      d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);\n      c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);\n      b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);\n      a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);\n      d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);\n      c = md5ff(c, d, a, b, x[i + 10], 17, -42063);\n      b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);\n      a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);\n      d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);\n      c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);\n      b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);\n      a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);\n      d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);\n      c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);\n      b = md5gg(b, c, d, a, x[i], 20, -373897302);\n      a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);\n      d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);\n      c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);\n      b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);\n      a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);\n      d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);\n      c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);\n      b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);\n      a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);\n      d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);\n      c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);\n      b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);\n      a = md5hh(a, b, c, d, x[i + 5], 4, -378558);\n      d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);\n      c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);\n      b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);\n      a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);\n      d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);\n      c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);\n      b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);\n      a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);\n      d = md5hh(d, a, b, c, x[i], 11, -358537222);\n      c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);\n      b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);\n      a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);\n      d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);\n      c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);\n      b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);\n      a = md5ii(a, b, c, d, x[i], 6, -198630844);\n      d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);\n      c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);\n      b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);\n      a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);\n      d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);\n      c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);\n      b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);\n      a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);\n      d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);\n      c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);\n      b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);\n      a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);\n      d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);\n      c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);\n      b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);\n      a = safeAdd(a, olda);\n      b = safeAdd(b, oldb);\n      c = safeAdd(c, oldc);\n      d = safeAdd(d, oldd);\n    }\n    return [a, b, c, d];\n  }\n\n  /**\n   * Convert an array of little-endian words to a string\n   *\n   * @param {Array<number>} input MD5 Array\n   * @returns {string} MD5 string\n   */\n  function binl2rstr(input) {\n    var i;\n    var output = '';\n    var length32 = input.length * 32;\n    for (i = 0; i < length32; i += 8) {\n      output += String.fromCharCode(input[i >> 5] >>> i % 32 & 0xff);\n    }\n    return output;\n  }\n\n  /**\n   * Convert a raw string to an array of little-endian words\n   * Characters >255 have their high-byte silently ignored.\n   *\n   * @param {string} input Raw input string\n   * @returns {Array<number>} Array of little-endian words\n   */\n  function rstr2binl(input) {\n    var i;\n    var output = [];\n    output[(input.length >> 2) - 1] = undefined;\n    for (i = 0; i < output.length; i += 1) {\n      output[i] = 0;\n    }\n    var length8 = input.length * 8;\n    for (i = 0; i < length8; i += 8) {\n      output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << i % 32;\n    }\n    return output;\n  }\n\n  /**\n   * Calculate the MD5 of a raw string\n   *\n   * @param {string} s Input string\n   * @returns {string} Raw MD5 string\n   */\n  function rstrMD5(s) {\n    return binl2rstr(binlMD5(rstr2binl(s), s.length * 8));\n  }\n\n  /**\n   * Calculates the HMAC-MD5 of a key and some data (raw strings)\n   *\n   * @param {string} key HMAC key\n   * @param {string} data Raw input string\n   * @returns {string} Raw MD5 string\n   */\n  function rstrHMACMD5(key, data) {\n    var i;\n    var bkey = rstr2binl(key);\n    var ipad = [];\n    var opad = [];\n    var hash;\n    ipad[15] = opad[15] = undefined;\n    if (bkey.length > 16) {\n      bkey = binlMD5(bkey, key.length * 8);\n    }\n    for (i = 0; i < 16; i += 1) {\n      ipad[i] = bkey[i] ^ 0x36363636;\n      opad[i] = bkey[i] ^ 0x5c5c5c5c;\n    }\n    hash = binlMD5(ipad.concat(rstr2binl(data)), 512 + data.length * 8);\n    return binl2rstr(binlMD5(opad.concat(hash), 512 + 128));\n  }\n\n  /**\n   * Convert a raw string to a hex string\n   *\n   * @param {string} input Raw input string\n   * @returns {string} Hex encoded string\n   */\n  function rstr2hex(input) {\n    var hexTab = '0123456789abcdef';\n    var output = '';\n    var x;\n    var i;\n    for (i = 0; i < input.length; i += 1) {\n      x = input.charCodeAt(i);\n      output += hexTab.charAt(x >>> 4 & 0x0f) + hexTab.charAt(x & 0x0f);\n    }\n    return output;\n  }\n\n  /**\n   * Encode a string as UTF-8\n   *\n   * @param {string} input Input string\n   * @returns {string} UTF8 string\n   */\n  function str2rstrUTF8(input) {\n    return unescape(encodeURIComponent(input));\n  }\n\n  /**\n   * Encodes input string as raw MD5 string\n   *\n   * @param {string} s Input string\n   * @returns {string} Raw MD5 string\n   */\n  function rawMD5(s) {\n    return rstrMD5(str2rstrUTF8(s));\n  }\n  /**\n   * Encodes input string as Hex encoded string\n   *\n   * @param {string} s Input string\n   * @returns {string} Hex encoded string\n   */\n  function hexMD5(s) {\n    return rstr2hex(rawMD5(s));\n  }\n  /**\n   * Calculates the raw HMAC-MD5 for the given key and data\n   *\n   * @param {string} k HMAC key\n   * @param {string} d Input string\n   * @returns {string} Raw MD5 string\n   */\n  function rawHMACMD5(k, d) {\n    return rstrHMACMD5(str2rstrUTF8(k), str2rstrUTF8(d));\n  }\n  /**\n   * Calculates the Hex encoded HMAC-MD5 for the given key and data\n   *\n   * @param {string} k HMAC key\n   * @param {string} d Input string\n   * @returns {string} Raw MD5 string\n   */\n  function hexHMACMD5(k, d) {\n    return rstr2hex(rawHMACMD5(k, d));\n  }\n\n  /**\n   * Calculates MD5 value for a given string.\n   * If a key is provided, calculates the HMAC-MD5 value.\n   * Returns a Hex encoded string unless the raw argument is given.\n   *\n   * @param {string} string Input string\n   * @param {string} [key] HMAC key\n   * @param {boolean} [raw] Raw output switch\n   * @returns {string} MD5 output\n   */\n  function md5(string, key, raw) {\n    if (!key) {\n      if (!raw) {\n        return hexMD5(string);\n      }\n      return rawMD5(string);\n    }\n    if (!raw) {\n      return hexHMACMD5(key, string);\n    }\n    return rawHMACMD5(key, string);\n  }\n  ctx.md5 = md5;\n})(this);\n\n/***/ },\n\n/***/ 142\n() {\n\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Amazon Software License (the \"License\"). You may not use\n * this file except in compliance with the License. A copy of the License is\n * located at\n *\n *    http://aws.amazon.com/asl/\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express\n * or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  connect.ChatMediaController = function (mediaInfo, metadata) {\n    var logger = connect.getLog();\n    var logComponent = connect.LogComponent.CHAT;\n    var CHAT_SESSION_FAILURE = 'ChatSessionFailure';\n    var CHAT_SESSION_FAILURE_REASON = 'ChatSessionFailureReason';\n\n    // resolves to true only when the instance network type is DUAL_STACK; any other\n    // value, or a failed lookup, falls back to IPv4\n    var resolveUseDualStack = function resolveUseDualStack() {\n      return Promise.resolve().then(function () {\n        return connect.User.getNetworkType();\n      }).then(function (response) {\n        if (response && response.trim()) {\n          return response.trim() === 'DUAL_STACK';\n        }\n        logger.debug(logComponent, 'Network type not found in response, defaulting to IPV4').sendInternalLogToServer();\n        return false;\n      })[\"catch\"](function (error) {\n        logger.warn(logComponent, 'Failed to retrieve network type, defaulting to IPV4').withException(error).sendInternalLogToServer();\n        return false;\n      });\n    };\n    var createMediaInstance = function createMediaInstance() {\n      publishTelemetryEvent('Chat media controller init', mediaInfo.contactId);\n      logger.info(logComponent, 'Chat media controller init').withObject(mediaInfo).withObject(metadata).sendInternalLogToServer();\n\n      // resolves to null when the region cannot be determined, in which case the chat\n      // session falls back to the agent's region from the global config\n      return Promise.all([connect._getContactRegion(mediaInfo.contactId), resolveUseDualStack()]).then(function (_ref) {\n        var _ref2 = _slicedToArray(_ref, 2),\n          contactRegion = _ref2[0],\n          useDualStack = _ref2[1];\n        var agent = new connect.Agent();\n        var agentRegion = agent._getInstanceRegion();\n        var networkTypeDimensions = {\n          NetworkType: useDualStack ? 'DUAL_STACK' : 'IPV4'\n        };\n        connect.ChatSession.setGlobalConfig({\n          loggerConfig: {\n            logger: logger\n          },\n          region: agentRegion,\n          features: metadata.features,\n          useDualStack: useDualStack\n        });\n        var chatSessionParams = {\n          chatDetails: mediaInfo,\n          type: 'AGENT',\n          websocketManager: connect.core.getWebSocketManager()\n        };\n        if (!contactRegion) {\n          var errMessage = 'Contact region is missing for chat contact';\n          logger.error(logComponent, errMessage, mediaInfo.contactId).sendInternalLogToServer();\n          publishTelemetryEvent(errMessage, mediaInfo.contactId);\n          connect.publishMetric({\n            name: CHAT_SESSION_FAILURE_REASON,\n            data: {\n              count: 1\n            },\n            dimension: {\n              ErrorType: 'missing_active_region'\n            }\n          });\n        } else {\n          // create the chatSession with the contact's region\n          chatSessionParams.options = chatSessionParams.options || {};\n          chatSessionParams.options.region = contactRegion;\n          logger.debug(\"Creating chat session with contact region \".concat(contactRegion)).sendInternalLogToServer();\n\n          // safeguard in case region override is set. the override will prevent the chat session from\n          // communicating with the contact region\n          connect.ChatSession.setRegionOverride(null);\n        }\n        var controller = connect.ChatSession.create(chatSessionParams);\n        trackChatConnectionStatus(controller);\n        return controller.connect().then(function () {\n          connect.publishMetric({\n            name: CHAT_SESSION_FAILURE,\n            data: {\n              error: 0,\n              optionalDimensions: networkTypeDimensions\n            }\n          });\n          logger.info(logComponent, 'Chat Session Successfully established for contactId %s', mediaInfo.contactId).sendInternalLogToServer();\n          publishTelemetryEvent('Chat Session Successfully established', mediaInfo.contactId);\n          return controller;\n        })[\"catch\"](function (error) {\n          logger.error(logComponent, 'Chat Session establishment failed for contact %s', mediaInfo.contactId).withException(error).sendInternalLogToServer();\n          publishTelemetryEvent('Chat Session establishment failed', mediaInfo.contactId, error);\n          connect.publishMetric({\n            name: CHAT_SESSION_FAILURE,\n            data: {\n              error: 1,\n              optionalDimensions: networkTypeDimensions\n            }\n          });\n          connect.publishMetric({\n            name: CHAT_SESSION_FAILURE_REASON,\n            data: {\n              count: 1,\n              optionalDimensions: networkTypeDimensions\n            },\n            dimension: {\n              ErrorType: 'failed_to_establish_session'\n            }\n          });\n          throw error;\n        });\n      });\n    };\n    var publishTelemetryEvent = function publishTelemetryEvent(eventName, data) {\n      connect.publishMetric({\n        name: eventName,\n        contactId: mediaInfo.contactId,\n        data: data || mediaInfo\n      });\n    };\n    var trackChatConnectionStatus = function trackChatConnectionStatus(controller) {\n      controller.onConnectionBroken(function (data) {\n        logger.error(logComponent, 'Chat Session connection broken').withException(data).sendInternalLogToServer();\n        publishTelemetryEvent('Chat Session connection broken', data);\n        connect.publishMetric({\n          name: CHAT_SESSION_FAILURE_REASON,\n          data: {\n            count: 1\n          },\n          dimension: {\n            ErrorType: 'connection_broken'\n          }\n        });\n        connect.publishMetric({\n          name: CHAT_SESSION_FAILURE,\n          data: {\n            error: 0\n          }\n        });\n      });\n      controller.onConnectionEstablished(function (data) {\n        logger.info(logComponent, 'Chat Session connection established').withObject(data).sendInternalLogToServer();\n        publishTelemetryEvent('Chat Session connection established', data);\n      });\n    };\n    return {\n      get: function get() {\n        return createMediaInstance();\n      }\n    };\n  };\n})();\n\n/***/ },\n\n/***/ 884\n() {\n\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Amazon Software License (the \"License\"). You may not use\n * this file except in compliance with the License. A copy of the License is\n * located at\n *\n *    http://aws.amazon.com/asl/\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express\n * or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  connect.MediaFactory = function (params) {\n    /** controller holder */\n    var mediaControllers = {};\n    var toBeDestroyed = new Set();\n    var logger = connect.getLog();\n    var logComponent = connect.LogComponent.CHAT;\n    var metadata = connect.merge({}, params) || {};\n    metadata.region = metadata.region || 'us-west-2'; // Default it to us-west-2\n\n    var getMediaController = function getMediaController(connectionObj) {\n      var connectionId = connectionObj.getConnectionId();\n      var mediaInfo = connectionObj.getMediaInfo();\n      /** if we do not have the media info then just reject the request */\n      if (!mediaInfo) {\n        logger.error(logComponent, 'Media info does not exist for a media type %s', connectionObj.getMediaType()).withObject(connectionObj).sendInternalLogToServer();\n        return Promise.reject('Media info does not exist for this connection');\n      }\n      if (!mediaControllers[connectionId]) {\n        logger.info(logComponent, 'media controller of type %s init', connectionObj.getMediaType()).withObject(connectionObj).sendInternalLogToServer();\n        switch (connectionObj.getMediaType()) {\n          case connect.MediaType.CHAT:\n            return mediaControllers[connectionId] = new connect.ChatMediaController(connectionObj.getMediaInfo(), metadata).get();\n          case connect.MediaType.SOFTPHONE:\n            return mediaControllers[connectionId] = new connect.SoftphoneMediaController(connectionObj.getMediaInfo()).get();\n          case connect.MediaType.TASK:\n            return mediaControllers[connectionId] = new connect.TaskMediaController(connectionObj.getMediaInfo()).get();\n          default:\n            logger.error(logComponent, 'Unrecognized media type %s ', connectionObj.getMediaType()).sendInternalLogToServer();\n            return Promise.reject();\n        }\n      } else {\n        return mediaControllers[connectionId];\n      }\n    };\n\n    /** Check all the active states for the connection */\n    var ifConnectionActive = function ifConnectionActive(connectionObj) {\n      return connectionObj.isActive();\n    };\n    var get = function get(connectionObj) {\n      if (ifConnectionActive(connectionObj)) {\n        return getMediaController(connectionObj);\n      } else {\n        destroy(connectionObj.getConnectionId());\n        return Promise.reject('Media Controller is no longer available for this connection');\n      }\n    };\n    var destroy = function destroy(connectionId) {\n      if (mediaControllers[connectionId] && !toBeDestroyed.has(connectionId)) {\n        logger.info(logComponent, 'Destroying mediaController for %s', connectionId);\n        toBeDestroyed.add(connectionId);\n        mediaControllers[connectionId].then(function (controller) {\n          if (typeof controller.cleanUp === 'function') controller.cleanUp();\n          delete mediaControllers[connectionId];\n          toBeDestroyed[\"delete\"](connectionId);\n        })[\"catch\"](function () {\n          delete mediaControllers[connectionId];\n          toBeDestroyed[\"delete\"](connectionId);\n        });\n      }\n    };\n    return {\n      get: get,\n      destroy: destroy\n    };\n  };\n})();\n\n/***/ },\n\n/***/ 390\n() {\n\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Amazon Software License (the \"License\"). You may not use\n * this file except in compliance with the License. A copy of the License is\n * located at\n *\n *    http://aws.amazon.com/asl/\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express\n * or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n\n  // TODO move softphone implementations here - Wil do this for GA\n  connect.SoftphoneMediaController = function (mediaInfo) {\n    return {\n      get: function get() {\n        return Promise.resolve(mediaInfo);\n      }\n    };\n  };\n})();\n\n/***/ },\n\n/***/ 269\n() {\n\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Amazon Software License (the \"License\"). You may not use\n * this file except in compliance with the License. A copy of the License is\n * located at\n *\n *    http://aws.amazon.com/asl/\n *\n * or in the \"license\" file accompanying this file. This file is distributed\n * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express\n * or implied. See the License for the specific language governing permissions\n * and limitations under the License.\n */\n\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  connect.TaskMediaController = function (mediaInfo) {\n    var logger = connect.getLog();\n    var logComponent = connect.LogComponent.TASK;\n    var createMediaInstance = function createMediaInstance() {\n      publishTelemetryEvent('Task media controller init', mediaInfo.contactId);\n      logger.info(logComponent, 'Task media controller init').withObject(mediaInfo);\n      var controller = connect.TaskSession.create({\n        contactId: mediaInfo.contactId,\n        initialContactId: mediaInfo.initialContactId,\n        websocketManager: connect.core.getWebSocketManager()\n      });\n      trackTaskConnectionStatus(controller);\n      return controller.connect().then(function () {\n        logger.info(logComponent, 'Task Session Successfully established for contactId %s', mediaInfo.contactId);\n        publishTelemetryEvent('Task Session Successfully established', mediaInfo.contactId);\n        return controller;\n      })[\"catch\"](function (error) {\n        logger.error(logComponent, 'Task Session establishement failed for contact %s', mediaInfo.contactId).withException(error);\n        publishTelemetryEvent('Chat Session establishement failed', mediaInfo.contactId, error);\n        throw error;\n      });\n    };\n    var publishTelemetryEvent = function publishTelemetryEvent(eventName, data) {\n      connect.publishMetric({\n        name: eventName,\n        contactId: mediaInfo.contactId,\n        data: data || mediaInfo\n      });\n    };\n    var trackTaskConnectionStatus = function trackTaskConnectionStatus(controller) {\n      controller.onConnectionBroken(function (data) {\n        logger.error(logComponent, 'Task Session connection broken').withException(data);\n        publishTelemetryEvent('Task Session connection broken', data);\n      });\n      controller.onConnectionEstablished(function (data) {\n        logger.info(logComponent, 'Task Session connection established').withObject(data);\n        publishTelemetryEvent('Task Session connection established', data);\n      });\n    };\n    return {\n      get: function get() {\n        return createMediaInstance();\n      }\n    };\n  };\n})();\n\n/***/ },\n\n/***/ 414\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\n/**\n * Module which gets used for the Request storage access\n * Exposes init, hasAccess, request and onRequest methods.\n * utilizes core post message technique to communicate back to the parent which invokes the storage access\n *\n * @usage - Used by initCCP and customer can make use of onRequest callbacks , this will be called even before agent login\n *\n * Example -\n * connect.storageAccess.onRequest({\n *  onInit(){},\n *  onDeny(){},\n *  onGrant(){}\n * });\n *\n * There are 4 lifecycle methods in the storage access check\n *\n * a)  Request - StreamJS would request for storage access check to the embedded Connect hosted storage access banner\n * b)  Init - Storage access banner inits the access check and sends back the current access state with hasAccess set to true or false\n *           this is the step where we show the actual RSA banner to agents and for custom use cases hidden container will be shown\n * c)  Grant [optional] - Executes when Agent/user accepts storage access or already given grant\n * d)  Deny [optional] - Executes when Agent/user deny the storage access/\n *\n * In a positive flow - we should expect Request, Init, Grant and negative Request, Init, Deny\n *\n * Chrome Implementation of RSA API can be found here - https://github.com/cfredric/chrome-storage-access-api\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  var requestStorageAccessPath = '/request-storage-access';\n  /**\n   * Configurable options exposed via initCCP\n   * By default canRequest will be set to false to make this as a explicit opt in\n   */\n  var defaultStorageAccessParams = {\n    /* Config which controls the opt out/in - we expect customers to explicitely opt out. */\n    canRequest: false,\n    /* [\"custom\", \"default\"] - decides the rsa page view */\n    mode: 'default',\n    custom: {\n      hideCCP: true // only applicable in custom mode\n      /**\n       * Only applicable for custom type RSA page and these messages should be localized by customers\n       *\n       * title: 'Cookie Notice',\n       * header: 'Please provide access'\n       *\n       */\n    }\n  };\n  var storageParams = {};\n  var originalCCPUrl = '';\n  var rsaContainer = null;\n  var onGrantCallbackInvoked = false;\n  var requesthandlerUnsubscriber;\n  var storageAccessEvents = {\n    INIT: 'storageAccess::init',\n    GRANTED: 'storageAccess::granted',\n    DENIED: 'storageAccess::denied',\n    REQUEST: 'storageAccess::request'\n  };\n  var initStorageParams = function initStorageParams() {\n    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    params.custom = params.custom || {};\n    storageParams = _objectSpread(_objectSpread(_objectSpread({}, defaultStorageAccessParams), params), {}, {\n      custom: _objectSpread(_objectSpread({}, defaultStorageAccessParams.custom), params.custom)\n    });\n    storageParams.canRequest = !(storageParams.canRequest === 'false' || storageParams.canRequest === false);\n  };\n  var resetStorageAccessState = function resetStorageAccessState() {\n    storageParams = {};\n    originalCCPUrl = '';\n    rsaContainer = null;\n    onGrantCallbackInvoked = false;\n  };\n\n  /**\n   * Handle display none/block properties for the RTSA container, if customer have different settings like height, opacity, positions etc configured they are encouraged to use\n   * onRequest Callback handle to reset the same.\n   * */\n  var getRSAContainer = function getRSAContainer() {\n    return {\n      show: function show() {\n        rsaContainer.style.display = 'block';\n      },\n      hide: function hide() {\n        rsaContainer.style.display = 'none';\n      }\n    };\n  };\n\n  /**\n   * Custom Mode will show minimalistic UI - without any Connect references or Connect headers\n   *  This will allow fully Custom CCPs to use banner and use minimal real estate to show the storage access Content\n   * */\n  var isCustomRequestAccessMode = function isCustomRequestAccessMode() {\n    return storageParams && storageParams.mode === 'custom';\n  };\n\n  /**\n   * Check if the user wants to hide CCP\n   * By default this is true\n   */\n  var hideCCP = function hideCCP() {\n    var _storageParams;\n    return (_storageParams = storageParams) === null || _storageParams === void 0 || (_storageParams = _storageParams.custom) === null || _storageParams === void 0 ? void 0 : _storageParams.hideCCP;\n  };\n  var isConnectDomain = function isConnectDomain(origin) {\n    return origin.match(/.connect.aws.a2z.com|.my.connect.aws|.govcloud.connect.aws|.awsapps.com/);\n  };\n\n  /**\n   * Given the URL, this method generates the prefixed connect domain request storage access URL\n   * @param {string} url\n   * @returns {string}\n   */\n  var getRsaUrlWithprefix = function getRsaUrlWithprefix(url) {\n    var _URL = new URL(url),\n      origin = _URL.origin,\n      pathname = _URL.pathname;\n    if (origin.match(/.awsapps.com/)) {\n      var prefix = 'connect';\n      if (pathname.startsWith('/connect-gamma')) {\n        prefix = 'connect-gamma';\n      }\n      return \"\".concat(origin, \"/\").concat(prefix).concat(requestStorageAccessPath);\n    } else {\n      return \"\".concat(origin).concat(requestStorageAccessPath);\n    }\n  };\n  var isLocalhost = function isLocalhost(url) {\n    return url.match(/^https?:\\/\\/localhost/);\n  };\n\n  /**\n   * Fetches the landat path for request storage access page to navigate. This is typically CCP path or channel view\n   * @returns {string}\n   */\n  var getlandAtPath = function getlandAtPath() {\n    if (!originalCCPUrl) {\n      throw new Error('[StorageAccess] [getlandAtPath] Invoke connect.storageAccess.init first');\n    }\n    if (isConnectDomain(originalCCPUrl) || isLocalhost(originalCCPUrl)) {\n      var _URL2 = new URL(originalCCPUrl),\n        pathname = _URL2.pathname;\n      return pathname;\n    }\n    return '/connect/ccp-v2';\n  };\n\n  /**\n   *\n   * Method which returns the relative request-storage-access page path.\n   * Validates against localhost and connect domains and returns prefixed path\n   * @returns {string}\n   */\n  var getRequestStorageAccessUrl = function getRequestStorageAccessUrl() {\n    // ccpUrl may contain non standard direct SSO URLs in which case we may ask customers to provide instanceUrl as part of storage access params\n\n    if (!originalCCPUrl) {\n      throw new Error('[StorageAccess] [getRequestStorageAccessUrl] Invoke connect.storageAccess.init first');\n    }\n    if (isConnectDomain(originalCCPUrl)) {\n      return getRsaUrlWithprefix(originalCCPUrl);\n    } else if (isLocalhost(originalCCPUrl)) {\n      connect.getLog().info(\"[StorageAccess] [CCP] Local testing\");\n      return \"\".concat(originalCCPUrl).concat(requestStorageAccessPath);\n    } else if (storageParams.instanceUrl && isConnectDomain(storageParams.instanceUrl)) {\n      connect.getLog().info(\"[StorageAccess] [getRequestStorageAccessUrl] Customer has provided storageParams.instanceUrl \".concat(storageParams.instanceUrl));\n      return getRsaUrlWithprefix(storageParams.instanceUrl);\n    } else if (storageParams.instanceUrl && isLocalhost(storageParams.instanceUrl)) {\n      connect.getLog().info(\"[StorageAccess] [getRequestStorageAccessUrl] Local testing\");\n      return \"\".concat(storageParams.instanceUrl).concat(requestStorageAccessPath);\n    } else {\n      connect.getLog().error(\"[StorageAccess] [getRequestStorageAccessUrl] Invalid Connect instance/CCP URL provided, please pass the correct ccpUrl or storageAccess.instanceUrl parameters\");\n      // FIXME - For test cases to succeed passing original parameter back instead throw an error by fixing all the CCP URL parameters accross the tests.\n      throw new Error(\"[StorageAccess] [getRequestStorageAccessUrl] Invalid Connect instance/CCP URL provided, please pass the valid Connect CCP URL or in case CCP URL is configured to be the SSO URL then use storageAccess.instanceUrl and pass the Connect CCP URL\");\n    }\n  };\n\n  /**\n   * Method which allows customers to listen on Storage access request and it's state changes\n   * @param {Object} consists of callbacks for the onInit, onDeny and onGrants\n   */\n  var onRequestHandler = function onRequestHandler(_ref) {\n    var onInit = _ref.onInit,\n      onDeny = _ref.onDeny,\n      onGrant = _ref.onGrant;\n    function handleUpstreamMessages(_ref2) {\n      var data = _ref2.data,\n        source = _ref2.source;\n      var iframeContainer = connect.core._getCCPIframe();\n      if (iframeContainer.contentWindow !== source) {\n        // disabling the logs for now\n        // connect.getLog().error('[StorageAccess][onRequestHandler] Request Coming from unknown domain %s', origin);\n        return false;\n      }\n      if (connect.core.initialized) {\n        window.removeEventListener('message', handleUpstreamMessages);\n      }\n      switch (data.event) {\n        case storageAccessEvents.INIT:\n          {\n            connect.getLog().info(\"[StorageAccess][INIT] message recieved\").withObject(data);\n            if (onInit) {\n              onInit(data);\n            }\n            break;\n          }\n        case storageAccessEvents.GRANTED:\n          {\n            connect.getLog().info(\"[StorageAccess][GRANTED] message recieved\").withObject(data);\n            if (onGrant) {\n              onGrant(data);\n            }\n            break;\n          }\n        case storageAccessEvents.DENIED:\n          {\n            connect.getLog().info(\"[StorageAccess][DENIED] message recieved\").withObject(data);\n            if (onDeny) {\n              onDeny(data);\n            }\n            break;\n          }\n        default:\n          {\n            // Make sure to clean up the handler as soon as the access is granted.\n            if (connect.core.initialized) {\n              window.removeEventListener('message', handleUpstreamMessages);\n            }\n            break;\n          }\n      }\n    }\n    // do this only if canRequest is set to true\n    if (storageParams.canRequest) {\n      window.addEventListener('message', handleUpstreamMessages);\n    }\n    return {\n      unsubscribe: function unsubscribe() {\n        window.removeEventListener('message', handleUpstreamMessages);\n      }\n    };\n  };\n\n  /**\n   * setupRequestHandlers - method which attaches post message handlers and let the initCCP flow to continue.\n   * In case of custom CCPs - it also does hide/show the container.\n   * @param {*} param0\n   */\n  var setupRequestHandlers = function setupRequestHandlers(_ref3) {\n    var onGrantCallback = _ref3.onGrant;\n    if (requesthandlerUnsubscriber) {\n      requesthandlerUnsubscriber.unsubscribe();\n    }\n    requesthandlerUnsubscriber = onRequestHandler({\n      onInit: function onInit(messageData) {\n        console.log('%c[StorageAccess][INIT]', 'background:yellow; color:black; font-size:large');\n        connect.getLog().info(\"[StorageAccess][onInit] callback executed\").withObject(messageData === null || messageData === void 0 ? void 0 : messageData.data);\n        if (!(messageData !== null && messageData !== void 0 && messageData.data.hasAccess) && isCustomRequestAccessMode()) {\n          getRSAContainer().show();\n        }\n      },\n      onDeny: function onDeny() {\n        console.log('%c[StorageAccess][DENIED]', 'background:red; color:black; font-size:large');\n        connect.getLog().info(\"[StorageAccess][onDeny] callback executed\");\n        if (isCustomRequestAccessMode()) {\n          getRSAContainer().show();\n        }\n      },\n      onGrant: function onGrant() {\n        console.log('%c[StorageAccess][GRANTED]', 'background:lime; color:black; font-size:large');\n        connect.getLog().info(\"[StorageAccess][onGrant] callback executed\");\n        if (isCustomRequestAccessMode() && hideCCP()) {\n          getRSAContainer().hide();\n        }\n        // Invoke onGrantCallback only once as it setsup initCCP callbacks and events\n        if (!onGrantCallbackInvoked) {\n          onGrantCallback();\n          onGrantCallbackInvoked = true;\n        }\n      }\n    });\n  };\n  connect.storageAccess = Object.freeze({\n    /**\n     * Checks wther user has opted out for storage Access checks or not\n     * @returns {boolean}\n     */\n    canRequest: function canRequest() {\n      return storageParams.canRequest;\n    },\n    /**\n     * Mainly used by Tests, by default storage access is enabled for all\n     */\n    optOutFromRequestAccess: function optOutFromRequestAccess() {\n      defaultStorageAccessParams.canRequest = false;\n    },\n    /**\n     * Mainly used by Tests\n     */\n    optInForRequestAccess: function optInForRequestAccess() {\n      defaultStorageAccessParams.canRequest = true;\n    },\n    /**\n     * Method which inits the Storage Access module with Customer paramters.\n     * and generates request storage access URL and apply customization to the default paramters\n     * @param {*} params -  storage access params\n     * @param {*} container - Container where CCP is being shown\n     * @returns {{canRequest, requestAccessPageurl}}\n     */\n    init: function init(ccpUrl, containerDiv) {\n      var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      connect.assertNotNull(ccpUrl, 'ccpUrl');\n      connect.assertNotNull(containerDiv, 'container');\n      rsaContainer = containerDiv;\n      originalCCPUrl = ccpUrl;\n      initStorageParams(params);\n      connect.getLog().info(\"[StorageAccess][init] Request Storage Acccess init called with ccpUrl - \".concat(ccpUrl, \" - \").concat(!storageParams.canRequest ? 'user has opted out, skipping request storage access' : 'Proceeding with requesting storage access')).withObject(storageParams);\n    },\n    setupRequestHandlers: setupRequestHandlers,\n    getRequestStorageAccessUrl: getRequestStorageAccessUrl,\n    storageAccessEvents: storageAccessEvents,\n    resetStorageAccessState: resetStorageAccessState,\n    getOnGrantCallbackInvoked: function getOnGrantCallbackInvoked() {\n      return onGrantCallbackInvoked;\n    },\n    getStorageAccessParams: function getStorageAccessParams() {\n      return storageParams;\n    },\n    onRequest: onRequestHandler,\n    request: function request() {\n      var iframeContainer = connect.core._getCCPIframe();\n      iframeContainer.contentWindow.postMessage({\n        event: storageAccessEvents.REQUEST,\n        data: _objectSpread(_objectSpread({}, storageParams), {}, {\n          landat: getlandAtPath()\n        })\n      }, '*');\n    }\n  });\n})();\n\n/***/ },\n\n/***/ 906\n() {\n\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  var RingtoneEngineBase = function RingtoneEngineBase(ringtoneConfig) {\n    connect.assertNotNull(ringtoneConfig, \"ringtoneConfig\");\n    this._audio = null;\n    this._deviceId = '';\n    this._ringtoneUrl = ringtoneConfig.ringtoneUrl;\n    this._loadRingtone(this._ringtoneUrl)[\"catch\"](function () {}); // NEXT TODO: trigger ringtone load failure event\n    this._driveRingtone();\n  };\n\n  // loading audio is async, but browser can handle audio operation like audio.play() or audio.setSinkId() before load complete\n  RingtoneEngineBase.prototype._loadRingtone = function (ringtoneUrl) {\n    var _this = this;\n    var loop = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n    return new Promise(function (resolve, reject) {\n      if (!ringtoneUrl) {\n        reject(Error('ringtoneUrl is required!'));\n      }\n      _this._audio = new Audio(ringtoneUrl);\n      _this._audio.loop = loop;\n      // re-applying deviceId for audio reloading scenario\n      _this.setOutputDevice(_this._deviceId)[\"catch\"](function (err) {\n        connect.getLog().warn(\"[Ringtone] Failed to re-apply the ringtone output device\").withObject({\n          error: err,\n          deviceId: _this._deviceId,\n          ringtoneUrl: ringtoneUrl\n        }).sendInternalLogToServer();\n      });\n\n      // just in case \"canplay\" doesn't fire at all for some reasons\n      var timerId = setTimeout(function () {\n        connect.getLog().warn(\"Ringtone isn't loaded in 1 second but proceeding: \", +ringtoneUrl).sendInternalLogToServer();\n        resolve();\n      }, 1000);\n      _this._audio.addEventListener('canplay', function () {\n        connect.getLog().info(\"Ringtone is ready to play: \", +ringtoneUrl).sendInternalLogToServer();\n        clearTimeout(timerId);\n        resolve();\n      });\n      _this._audio.addEventListener('error', function () {\n        connect.getLog().error(\"Ringtone load error: \", +ringtoneUrl).sendInternalLogToServer();\n        clearTimeout(timerId);\n        reject(Error('Ringtone load error: ' + ringtoneUrl));\n      });\n    });\n  };\n  RingtoneEngineBase.prototype._driveRingtone = function () {\n    throw new Error(\"Not implemented.\");\n  };\n  RingtoneEngineBase.prototype._canStartRingtone = function (contact) {\n    if (contact instanceof connect.Contact && contact.isCampaignPreview() && contact.getStatus().type === connect.ContactStatusType.INCOMING) {\n      return true;\n    } else if (contact instanceof connect.Contact && !contact.isCampaignPreview() && contact.getStatus().type === connect.ContactStatusType.CONNECTING) {\n      return true;\n    }\n    connect.getLog().info(\"Ringtone Start skipped because the contact is already accepted\").sendInternalLogToServer();\n    return false;\n  };\n  RingtoneEngineBase.prototype._startRingtone = /*#__PURE__*/function () {\n    var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(contact) {\n      var _this2 = this;\n      var retries,\n        errorList,\n        _args2 = arguments;\n      return _regenerator().w(function (_context2) {\n        while (1) switch (_context2.n) {\n          case 0:\n            retries = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : 0;\n            errorList = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : [];\n            return _context2.a(2, new Promise(function (resolve, reject) {\n              if (!_this2._audio) reject(Error('No audio object found'));\n              if (!_this2._canStartRingtone(contact)) {\n                resolve();\n                return;\n              }\n\n              // Empty string as sinkId means audio gets sent to the default device\n              connect.getLog().info(\"Attempting to start ringtone to device \".concat(_this2._audio.sinkId || \"''\")).sendInternalLogToServer();\n              _this2._audio.play().then(function () {\n                _this2._publishTelemetryEvent(\"Ringtone Start\", contact);\n                connect.getLog().info(\"Ringtone Start: Succeeded with \".concat(retries, \" retries remaining\")).withObject({\n                  errorList: errorList,\n                  contactId: contact.getContactId()\n                }).sendInternalLogToServer();\n                resolve();\n              })[\"catch\"](/*#__PURE__*/function () {\n                var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(e) {\n                  return _regenerator().w(function (_context) {\n                    while (1) switch (_context.n) {\n                      case 0:\n                        _this2._publishTelemetryEvent(\"Ringtone Playback Failure\", contact);\n                        connect.getLog().error(\"Ringtone Playback Failure: \".concat(retries, \" retries remaining.\")).withException(e).withObject({\n                          currentSrc: _this2._audio.currentSrc,\n                          sinkId: _this2._audio.sinkId,\n                          volume: _this2._audio.volume,\n                          contactId: contact.getContactId()\n                        }).sendInternalLogToServer();\n                        errorList.push(e.toString());\n                        if (!(retries > 0)) {\n                          _context.n = 3;\n                          break;\n                        }\n                        _context.n = 1;\n                        return _this2._loadRingtone(_this2._ringtoneUrl)[\"catch\"](function () {});\n                      case 1:\n                        _context.n = 2;\n                        return _this2._startRingtone(contact, retries - 1, errorList).then(resolve)[\"catch\"](function () {\n                          return reject(errorList);\n                        });\n                      case 2:\n                        _context.n = 4;\n                        break;\n                      case 3:\n                        connect.getLog().error(\"Ringtone Retries Exhausted\").withObject({\n                          errorList: errorList,\n                          contactId: contact.getContactId()\n                        }).sendInternalLogToServer();\n                        reject(errorList);\n                      case 4:\n                        return _context.a(2);\n                    }\n                  }, _callee);\n                }));\n                return function (_x2) {\n                  return _ref2.apply(this, arguments);\n                };\n              }());\n            }));\n        }\n      }, _callee2);\n    }));\n    return function (_x) {\n      return _ref.apply(this, arguments);\n    };\n  }();\n  RingtoneEngineBase.prototype._stopRingtone = function (contact) {\n    if (this._audio) {\n      this._audio.pause();\n      this._audio.currentTime = 0;\n      this._publishTelemetryEvent(\"Ringtone Stop\", contact);\n      connect.getLog().info(\"Ringtone Stop\").sendInternalLogToServer();\n    }\n  };\n\n  /**\n   * Stop ringtone.\n   */\n  RingtoneEngineBase.prototype.stopRingtone = function () {\n    this._stopRingtone();\n  };\n  RingtoneEngineBase.prototype._ringtoneSetup = function (contact) {\n    var self = this;\n    connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n      self._startRingtone(contact, 2)[\"catch\"](function () {}); // NEXT TODO: trigger ringtone playback failure event with error type\n\n      contact.onConnected(lily.hitch(self, self._stopRingtone));\n      contact.onAccepted(lily.hitch(self, self._stopRingtone));\n      contact.onEnded(lily.hitch(self, self._stopRingtone));\n      // Just to make sure to stop the ringtone in case of the failures of specific callbacks(onAccepted,onConnected);\n      contact.onRefresh(function (contact) {\n        if (contact.getStatus().type !== connect.ContactStatusType.CONNECTING && contact.getStatus().type !== connect.ContactStatusType.INCOMING) {\n          self._stopRingtone();\n        }\n      });\n    });\n  };\n  RingtoneEngineBase.prototype._publishTelemetryEvent = function (eventName, contact) {\n    if (contact && contact.getContactId()) {\n      connect.publishMetric({\n        name: eventName,\n        contactId: contact.getContactId()\n      });\n    }\n  };\n\n  /**\n   * Change the audio device used to play ringtone.\n   * If audio element is not fully initialized, the API will wait _audioPlayablePromise for 3 seconds and fail on timeout.\n   * This API is supported only by browsers that implemented ES6 Promise and http://www.w3.org/TR/audio-output/\n   * Return a Promise that indicates the result of changing output device.\n   */\n  RingtoneEngineBase.prototype.setOutputDevice = function (deviceId) {\n    var _this3 = this;\n    return new Promise(function (resolve, reject) {\n      if (_this3._audio && _this3._audio.setSinkId) {\n        _this3._audio.setSinkId(deviceId).then(function () {\n          _this3._deviceId = deviceId;\n          resolve(deviceId);\n        })[\"catch\"](function (err) {\n          reject(\"RingtoneEngineBase.setOutputDevice failed: audio.setSinkId() failed with error \".concat(err));\n        });\n      } else {\n        reject(\"RingtoneEngineBase.setOutputDevice failed: \".concat(_this3._audio ? \"audio\" : \"audio.setSinkId\", \" not found.\"));\n      }\n    });\n  };\n  var VoiceRingtoneEngine = function VoiceRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  VoiceRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  VoiceRingtoneEngine.prototype.constructor = VoiceRingtoneEngine;\n  VoiceRingtoneEngine.prototype._canStartRingtone = function (contact) {\n    if (!(contact instanceof connect.Contact)) {\n      return false;\n    }\n    var contacts = new connect.Agent().getContacts();\n    var isAdditionalVoiceContact = (contacts === null || contacts === void 0 ? void 0 : contacts.filter(function (contact) {\n      return connect.voiceContactTypes.includes(contact.getType());\n    }).length) > 1;\n    var expectedType = contact.isCampaignPreview() ? connect.ContactStatusType.INCOMING : connect.ContactStatusType.CONNECTING;\n    if (!isAdditionalVoiceContact && contact.getStatus().type === expectedType) {\n      return true;\n    }\n    connect.getLog().info(\"Voice contact ringtone skipped\").sendInternalLogToServer();\n    return false;\n  };\n  VoiceRingtoneEngine.prototype._driveRingtone = function () {\n    var _this4 = this;\n    var onContactConnect = function onContactConnect(contact) {\n      if (contact.getType() === connect.ContactType.VOICE && contact.isSoftphoneCall() && contact.isInbound()) {\n        _this4._ringtoneSetup(contact);\n        _this4._publishTelemetryEvent(\"Ringtone Connecting\", contact);\n        connect.getLog().info(\"Ringtone Connecting\").sendInternalLogToServer();\n      }\n    };\n    connect.contact(function (contact) {\n      contact.onConnecting(onContactConnect);\n    });\n\n    // handle the case where there's a contact already in connecting state at initialization\n    new connect.Agent().getContacts().forEach(function (contact) {\n      if (contact.getStatus().type === connect.ContactStatusType.CONNECTING) {\n        onContactConnect(contact);\n      }\n    });\n  };\n  var ChatRingtoneEngine = function ChatRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  ChatRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  ChatRingtoneEngine.prototype.constructor = ChatRingtoneEngine;\n  ChatRingtoneEngine.prototype._driveRingtone = function () {\n    var self = this;\n    var onContactConnect = function onContactConnect(contact) {\n      if (contact.getType() === lily.ContactType.CHAT && contact.isInbound()) {\n        var supervisorConnection = contact.getConnections().filter(function (conn) {\n          return conn.getType() === connect.ConnectionType.AGENT && conn.isSilentMonitor();\n        });\n        if (supervisorConnection.length === 0) {\n          self._ringtoneSetup(contact);\n          self._publishTelemetryEvent(\"Chat Ringtone Connecting\", contact);\n          connect.getLog().info(\"Chat Ringtone Connecting\").sendInternalLogToServer();\n        }\n      }\n    };\n    connect.contact(function (contact) {\n      var _this5 = this;\n      contact.onConnecting(onContactConnect);\n\n      /**\n       * There is a race condition where when auto-accept is enabled for chat,\n       * the ACCEPTED event is sent before the _ringtoneSetup is triggered\n       * so the onAccepted event handler misses the event. Thus,\n       * subscribing to onAccepted in _driveRingtone, to stop the ringtone if\n       * auto-accept is enabled for the contact.\n       */\n      contact.onAccepted(function (_contact) {\n        if (_contact.isAutoAcceptEnabled()) {\n          connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n            _this5._stopRingtone();\n          });\n        }\n      });\n    });\n  };\n  var TaskRingtoneEngine = function TaskRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  TaskRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  TaskRingtoneEngine.prototype.constructor = TaskRingtoneEngine;\n  TaskRingtoneEngine.prototype._driveRingtone = function () {\n    var self = this;\n    var onContactConnect = function onContactConnect(contact) {\n      if (contact.getType() === lily.ContactType.TASK && contact.isInbound()) {\n        self._ringtoneSetup(contact);\n        self._publishTelemetryEvent(\"Task Ringtone Connecting\", contact);\n        connect.getLog().info(\"Task Ringtone Connecting\").sendInternalLogToServer();\n      }\n    };\n    connect.contact(function (contact) {\n      contact.onConnecting(onContactConnect);\n    });\n  };\n\n  /**\n   * Extends the Base ringtone engine and enables the email ringtone engine.\n   * @param {*} ringtoneConfig \n   */\n  var EmailRingtoneEngine = function EmailRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  EmailRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  EmailRingtoneEngine.prototype.constructor = EmailRingtoneEngine;\n  EmailRingtoneEngine.prototype._driveRingtone = function () {\n    var self = this;\n    var onContactConnect = function onContactConnect(contact) {\n      if (contact.getType() === connect.ContactType.EMAIL && contact.isInbound()) {\n        self._ringtoneSetup(contact);\n        self._publishTelemetryEvent(\"Email Ringtone Connecting\", contact);\n        connect.getLog().info(\"Email Ringtone Connecting\").sendInternalLogToServer();\n      }\n    };\n    connect.contact(function (contact) {\n      contact.onConnecting(onContactConnect);\n    });\n  };\n  var QueueCallbackRingtoneEngine = function QueueCallbackRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  QueueCallbackRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  QueueCallbackRingtoneEngine.prototype.constructor = QueueCallbackRingtoneEngine;\n  QueueCallbackRingtoneEngine.prototype._driveRingtone = function () {\n    var self = this;\n    connect.contact(function (contact) {\n      contact.onIncoming(function () {\n        if (contact.getType() === lily.ContactType.QUEUE_CALLBACK) {\n          self._ringtoneSetup(contact);\n          self._publishTelemetryEvent(\"Callback Ringtone Connecting\", contact);\n          connect.getLog().info(\"Callback Ringtone Connecting\").sendInternalLogToServer();\n        }\n      });\n    });\n  };\n  QueueCallbackRingtoneEngine.prototype._canStartRingtone = function (contact) {\n    if (contact instanceof connect.Contact && contact.getStatus().type === connect.ContactStatusType.INCOMING) {\n      return true;\n    } else {\n      connect.getLog().info(\"Ringtone Start skipped because the contact is already accepted\").sendInternalLogToServer();\n      return false;\n    }\n  };\n  QueueCallbackRingtoneEngine.prototype._ringtoneSetup = function (contact) {\n    var _this6 = this;\n    connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n      _this6._startRingtone(contact, 2)[\"catch\"](function () {});\n\n      // Stop the ringtone when the contact is accepted\n      contact.onAccepted(connect.hitch(_this6, _this6._stopRingtone));\n\n      // Stop the ringtone upon every state update just in case.\n      // This is also helpful for split CCP model where onAccepted isn't triggered.\n      contact.onConnected(connect.hitch(_this6, _this6._stopRingtone));\n      contact.onEnded(connect.hitch(_this6, _this6._stopRingtone));\n      contact.onDestroy(connect.hitch(_this6, _this6._stopRingtone));\n\n      // To stop ringtone as early as possible for split CCP users,\n      // for QCB contacts we can listen to onPending and onConnecting.\n      contact.onPending(connect.hitch(_this6, _this6._stopRingtone));\n      contact.onConnecting(connect.hitch(_this6, _this6._stopRingtone));\n\n      // Stop the ringtone when the agent connection turns into CONNECTED or contact status is not INCOMING\n      contact.onRefresh(function (contact) {\n        if (contact.getStatus().type !== connect.ContactStatusType.INCOMING || contact.getAgentConnection().getStatus().type === connect.ConnectionStateType.CONNECTED) {\n          connect.getLog().info(\"Contact onRefresh - _stopRingtone is invoked\").sendInternalLogToServer();\n          _this6._stopRingtone();\n        }\n      });\n    });\n  };\n  var AutoAcceptedRingtoneEngine = function AutoAcceptedRingtoneEngine(ringtoneConfig) {\n    RingtoneEngineBase.call(this, ringtoneConfig);\n  };\n  AutoAcceptedRingtoneEngine.prototype = Object.create(RingtoneEngineBase.prototype);\n  AutoAcceptedRingtoneEngine.prototype.constructor = AutoAcceptedRingtoneEngine;\n  AutoAcceptedRingtoneEngine.prototype._canStartRingtone = function (contact) {\n    connect.getLog().info('Checking if auto-accept tone can be played').sendInternalLogToServer();\n    var _contact$getState = contact.getState(),\n      contactState = _contact$getState.type;\n    var contactType = contact.getType();\n    if (contactState === connect.ContactStatusType.INCOMING && contactType === connect.ContactType.QUEUE_CALLBACK || contactState === connect.ContactStatusType.CONNECTING && contactType !== connect.ContactType.QUEUE_CALLBACK) {\n      var _contact$isAutoAccept, _contact$isInbound;\n      if (contactType === connect.ContactType.VOICE) {\n        connect.getLog().info('Skipping auto-accept tone for Voice contacts').withObject({\n          contactState: contactState,\n          contactType: contactType\n        }).sendInternalLogToServer();\n        return false;\n      }\n      connect.getLog().info('Contact is in the expected state').withObject({\n        contactState: contactState,\n        contactType: contactType\n      }).sendInternalLogToServer();\n      var isAutoAcceptEnabled = (_contact$isAutoAccept = contact.isAutoAcceptEnabled()) !== null && _contact$isAutoAccept !== void 0 ? _contact$isAutoAccept : false;\n      var isInbound = (_contact$isInbound = contact.isInbound()) !== null && _contact$isInbound !== void 0 ? _contact$isInbound : false;\n      connect.getLog().info('Checking if the tone should play').withObject({\n        isAutoAcceptEnabled: isAutoAcceptEnabled,\n        isInbound: isInbound\n      }).sendInternalLogToServer();\n      return isAutoAcceptEnabled && isInbound;\n    }\n    return false;\n  };\n  AutoAcceptedRingtoneEngine.prototype._loadRingtone = function (ringtoneUrl) {\n    return RingtoneEngineBase.prototype._loadRingtone.call(this, ringtoneUrl, false);\n  };\n  AutoAcceptedRingtoneEngine.prototype._ringtoneSetup = function (contact) {\n    var _this7 = this;\n    connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n      _this7._startRingtone(contact, 1);\n    });\n  };\n  AutoAcceptedRingtoneEngine.prototype._driveRingtone = function () {\n    var _this8 = this;\n    var onAcceptedContactHandler = function onAcceptedContactHandler(contact) {\n      _this8._ringtoneSetup(contact);\n      _this8._publishTelemetryEvent('AutoAccept tone Connecting', contact);\n      connect.getLog().info('AutoAccept tone Connecting').sendInternalLogToServer();\n    };\n    var onConnectedContactHandler = function onConnectedContactHandler(contact) {\n      connect.ifMaster(connect.MasterTopics.RINGTONE, function () {\n        if (contact.isAutoAcceptEnabled()) {\n          connect.getLog().info('Stopping auto accept tone').withObject({\n            contactId: contact.getContactId()\n          }).sendInternalLogToServer();\n          _this8._stopRingtone();\n        }\n      });\n    };\n    connect.contact(function (contact) {\n      contact.onAccepted(onAcceptedContactHandler);\n      contact.onConnected(onConnectedContactHandler);\n    });\n  };\n  var AdditionalVoiceRingtoneEngine = function AdditionalVoiceRingtoneEngine(ringtoneConfig) {\n    VoiceRingtoneEngine.call(this, ringtoneConfig);\n  };\n  AdditionalVoiceRingtoneEngine.prototype = Object.create(VoiceRingtoneEngine.prototype);\n  AdditionalVoiceRingtoneEngine.prototype.constructor = AdditionalVoiceRingtoneEngine;\n  AdditionalVoiceRingtoneEngine.prototype._canStartRingtone = function (contact) {\n    if (!(contact instanceof connect.Contact)) {\n      return false;\n    }\n    var contacts = new connect.Agent().getContacts();\n    var isAdditionalVoiceContact = (contacts === null || contacts === void 0 ? void 0 : contacts.filter(function (contact) {\n      return connect.voiceContactTypes.includes(contact.getType());\n    }).length) > 1;\n    var expectedType = contact.isCampaignPreview() ? connect.ContactStatusType.INCOMING : connect.ContactStatusType.CONNECTING;\n    if (isAdditionalVoiceContact && contact.getStatus().type === expectedType) {\n      return true;\n    }\n    connect.getLog().info(\"Additional voice contact ringtone skipped\").sendInternalLogToServer();\n    return false;\n  };\n\n  /* export connect.RingtoneEngine */\n  connect.VoiceRingtoneEngine = VoiceRingtoneEngine;\n  connect.AdditionalVoiceRingtoneEngine = AdditionalVoiceRingtoneEngine;\n  connect.ChatRingtoneEngine = ChatRingtoneEngine;\n  connect.TaskRingtoneEngine = TaskRingtoneEngine;\n  connect.QueueCallbackRingtoneEngine = QueueCallbackRingtoneEngine;\n  connect.EmailRingtoneEngine = EmailRingtoneEngine;\n  connect.AutoAcceptedRingtoneEngine = AutoAcceptedRingtoneEngine;\n})();\n\n/***/ },\n\n/***/ 806\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\nfunction _regeneratorValues(e) { if (null != e) { var t = e[\"function\" == typeof Symbol && Symbol.iterator || \"@@iterator\"], r = 0; if (t) return t.call(e); if (\"function\" == typeof e.next) return e; if (!isNaN(e.length)) return { next: function next() { return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; } }; } throw new TypeError(_typeof(e) + \" is not iterable\"); }\nfunction _regeneratorKeys(e) { var n = Object(e), r = []; for (var t in n) r.unshift(t); return function e() { for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; return e.done = !0, e; }; }\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  global.ccpVersion = \"V2\";\n  var VDIPlatformType = {\n    CITRIX: \"CITRIX\",\n    AWS_WORKSPACE: \"AWS_WORKSPACE\",\n    OMNISSA: \"OMNISSA\",\n    CITRIX_413: \"CITRIX_413\",\n    AZURE: \"AZURE\"\n  };\n  var BROWSER_ID = \"browserId\"; // A key which is used for storing browser id value in local storage\n\n  var statsReportingJobIntervalMs = 30000;\n  var CallTypeMap = {};\n  CallTypeMap[connect.SoftphoneCallType.AUDIO_ONLY] = 'Audio';\n  CallTypeMap[connect.SoftphoneCallType.VIDEO_ONLY] = 'Video';\n  CallTypeMap[connect.SoftphoneCallType.AUDIO_VIDEO] = 'AudioVideo';\n  CallTypeMap[connect.SoftphoneCallType.NONE] = 'None';\n  var AUDIO_INPUT = 'audio_input';\n  var AUDIO_OUTPUT = 'audio_output';\n  var MediaTypeMap = {};\n  MediaTypeMap[connect.ContactType.VOICE] = \"Voice\";\n\n  // We buffer only last 3 hours (10800 seconds) of a call's RTP stream stats.\n  var MAX_RTP_STREAM_STATS_BUFFER_SIZE = 10800;\n  var LOW_AUDIO_LEVEL_THRESHOLD = 1;\n\n  // Agent connection specific stats tracking - each agent connection gets its own stats object\n  var agentConnectionStatsMap = {};\n  var isConnected = false;\n  // Time from CCP received the softphone contact till local media is added to the softphone session\n  var ccpMediaReadyLatencyMillis = 0;\n  var vdiPlatform = null;\n  var allowExtendedPersistentConnection = false;\n  var rtpStatsJobMap = {};\n  var reportStatsJobMap = {};\n\n  // Helper function to get or create agent connection specific stats\n  var getAgentConnectionStats = function getAgentConnectionStats(agentConnectionId) {\n    if (!agentConnectionStatsMap[agentConnectionId]) {\n      agentConnectionStatsMap[agentConnectionId] = {\n        consecutiveNoAudioInputPackets: 0,\n        consecutiveLowInputAudioLevel: 0,\n        consecutiveNoAudioOutputPackets: 0,\n        consecutiveLowOutputAudioLevel: 0,\n        audioInputConnectedDurationSeconds: 0,\n        consecutiveAudioOutputMuteDurationSeconds: 0,\n        timeSeriesStreamStatsBuffer: [],\n        inputRTPStreamStatsBuffer: [],\n        outputRTPStreamStatsBuffer: [],\n        aggregatedUserAudioStats: null,\n        aggregatedRemoteAudioStats: null\n      };\n    }\n    return agentConnectionStatsMap[agentConnectionId];\n  };\n\n  // Helper function to clean up agent connection stats\n  var cleanupAgentConnectionStats = function cleanupAgentConnectionStats(agentConnectionId) {\n    delete agentConnectionStatsMap[agentConnectionId];\n  };\n  // Logger specific to softphone.\n  var logger = null;\n  var SoftphoneErrorTypes = connect.SoftphoneErrorTypes;\n  var HANG_UP_MULTIPLE_SESSIONS_EVENT = \"MultiSessionHangUp\";\n  var ECHO_CANCELLATION_CHECK = \"echoCancellationCheck\";\n  var localMediaStream = {};\n  var softphoneClientId = connect.randomId();\n\n  //used for bullet routing - only the last active contact can make changes to the media stream.\n  var lastActiveContactID = \"\";\n  var contactAgentConnectionIdMap = {};\n  var requestIceAccess = function requestIceAccess(transport) {\n    return new Promise(function (resolve, reject) {\n      connect.core.getClient().call(connect.ClientMethods.CREATE_TRANSPORT, transport, {\n        success: function success(data) {\n          resolve(data.softphoneTransport.softphoneMediaConnections);\n        },\n        failure: function failure(reason) {\n          if (reason.message && reason.message.includes(\"SoftphoneConnectionLimitBreachedException\")) {\n            publishError(\"multiple_softphone_active_sessions\", \"Number of active sessions are more then allowed limit.\", \"\");\n          }\n          reject(Error(\"requestIceAccess failed\"));\n        },\n        authFailure: function authFailure() {\n          reject(Error(\"Authentication failed while requestIceAccess\"));\n        },\n        accessDenied: function accessDenied() {\n          reject(Error(\"Access Denied while requestIceAccess\"));\n        }\n      });\n    });\n  };\n  var _SoftphoneManager = function SoftphoneManager() {\n    var _this = this;\n    var softphoneParams = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var self = this;\n    this.rtcPeerConnectionFactory = null;\n    this.rtcJsStrategy = null;\n    this.rtcPeerConnectionManager = null;\n    allowExtendedPersistentConnection = !!softphoneParams.allowExtendedPersistentConnection;\n    this._setRtcJsStrategy = function () {\n      if (softphoneParams.VDIPlatform) {\n        vdiPlatform = softphoneParams.VDIPlatform;\n        try {\n          switch (vdiPlatform) {\n            case VDIPlatformType.CITRIX:\n            case VDIPlatformType.CITRIX_413:\n              // intentional fallthrough\n              this.rtcJsStrategy = new connect.CitrixVDIStrategy(vdiPlatform, true);\n              break;\n            case VDIPlatformType.AWS_WORKSPACE:\n              this.rtcJsStrategy = new connect.DCVWebRTCStrategy();\n              break;\n            case VDIPlatformType.OMNISSA:\n              this.rtcJsStrategy = new connect.OmnissaVDIStrategy();\n              break;\n            case VDIPlatformType.AZURE:\n              this.rtcJsStrategy = new connect.AzureVDIStrategy();\n              break;\n            default:\n              publishError(SoftphoneErrorTypes.VDI_STRATEGY_NOT_SUPPORTED, \"VDI Strategy not supported\", \"\");\n          }\n          logger.info(\"[SoftphoneManager] Strategy constructor retrieved: \".concat(this.rtcJsStrategy)).sendInternalLogToServer();\n        } catch (error) {\n          logger.warn(\"[SoftphoneManager] VDI Strategy constructor error for \".concat(vdiPlatform, \": \").concat(error.message)).sendInternalLogToServer();\n          if (error.message === \"VDI Strategy not supported\") {\n            publishError(SoftphoneErrorTypes.VDI_STRATEGY_NOT_SUPPORTED, error.message, \"\");\n          } else if (error.message === \"Citrix WebRTC redirection feature is NOT supported!\") {\n            publishError(SoftphoneErrorTypes.VDI_REDIR_NOT_SUPPORTED, error.message, \"\");\n          } else if (error.message === \"DCV WebRTC redirection feature is NOT supported!\") {\n            publishError(SoftphoneErrorTypes.VDI_REDIR_NOT_SUPPORTED, error.message, \"\");\n          } else if (error.message === \"Omnissa WebRTC Redirection API failed to initialize!\") {\n            publishError(SoftphoneErrorTypes.VDI_REDIR_NOT_SUPPORTED, error.message, \"\");\n          } else if (error.message === \"Azure VDI Call Redirection is not supported on browser: Edge or Chrome required\") {\n            publishError(SoftphoneErrorTypes.VDI_REDIR_NOT_SUPPORTED, error.message, \"\");\n          } else if (error.message === \"Azure VDI Call Redirection is not active\") {\n            publishError(SoftphoneErrorTypes.VDI_REDIR_NOT_SUPPORTED, error.message, \"\");\n          } else {\n            publishError(SoftphoneErrorTypes.OTHER, error.message, \"\");\n          }\n          if (vdiPlatform === VDIPlatformType.AZURE && typeof connect.FailedVDIStrategy === 'function') {\n            this.rtcJsStrategy = new connect.FailedVDIStrategy(vdiPlatform, error.message);\n          }\n        }\n      }\n\n      // Auto-detect Azure VDI when no VDIPlatform is explicitly set\n      if (!this.rtcJsStrategy && !softphoneParams.VDIPlatform) {\n        try {\n          var _connect$AzureVDIStra, _connect$AzureVDIStra2;\n          if ((_connect$AzureVDIStra = connect.AzureVDIStrategy) !== null && _connect$AzureVDIStra !== void 0 && (_connect$AzureVDIStra2 = _connect$AzureVDIStra.isRedirectionAvailable) !== null && _connect$AzureVDIStra2 !== void 0 && _connect$AzureVDIStra2.call(_connect$AzureVDIStra)) {\n            this.rtcJsStrategy = new connect.AzureVDIStrategy();\n            vdiPlatform = VDIPlatformType.AZURE;\n            softphoneParams.VDIPlatform = VDIPlatformType.AZURE;\n            logger.info('[SoftphoneManager] Auto-detected Azure VDI').sendInternalLogToServer();\n          }\n        } catch (error) {\n          logger.warn(\"[SoftphoneManager] Azure VDI auto-detection failed: \".concat(error.message)).sendInternalLogToServer();\n        }\n      }\n    };\n    this._refreshRtcPeerConnectionFactory = function () {\n      var _connect$core;\n      if (connect !== null && connect !== void 0 && (_connect$core = connect.core) !== null && _connect$core !== void 0 && (_connect$core = _connect$core.softphoneManager) !== null && _connect$core !== void 0 && (_connect$core = _connect$core.rtcPeerConnectionFactory) !== null && _connect$core !== void 0 && _connect$core.close) {\n        connect.core.softphoneManager.rtcPeerConnectionFactory.close();\n      }\n      if (connect.RtcPeerConnectionFactory) {\n        if (this.rtcJsStrategy) {\n          this.rtcPeerConnectionFactory = new connect.RtcPeerConnectionFactory(logger, connect.core.getWebSocketManager(), softphoneClientId, connect.hitch(self, requestIceAccess, {\n            transportType: \"softphone\",\n            softphoneClientId: softphoneClientId\n          }), connect.hitch(self, publishError), this.rtcJsStrategy);\n        } else {\n          this.rtcPeerConnectionFactory = new connect.RtcPeerConnectionFactory(logger, connect.core.getWebSocketManager(), softphoneClientId, connect.hitch(self, requestIceAccess, {\n            transportType: \"softphone\",\n            softphoneClientId: softphoneClientId\n          }), connect.hitch(self, publishError));\n        }\n      }\n    };\n\n    // destroy or initiate persistent peer connection based on agent configuration change\n    var listenAgentConfigurationUpdate = function listenAgentConfigurationUpdate() {\n      connect.agent(function (a) {\n        a.onRefresh(function (agent) {\n          var isPPCEnabled = agent.getConfiguration().softphonePersistentConnection;\n          var shouldUseV2 = !!connect.RtcPeerConnectionManagerV2;\n          if (_this.rtcPeerConnectionManager) {\n            // If the manager exists and the current manager type doesn't match what we should be using,\n            // we need to reinitialize the manager completely\n            var isUsingV2 = _this.rtcPeerConnectionManager instanceof connect.RtcPeerConnectionManagerV2;\n            if (Boolean(isUsingV2) !== Boolean(shouldUseV2)) {\n              logger.info(\"FAC flag changed, reinitializing RtcPeerConnectionManager with shouldUseV2: \" + Boolean(shouldUseV2)).sendInternalLogToServer();\n              _this._initiateRtcPeerConnectionManager();\n            } else {\n              _this.rtcPeerConnectionManager.handlePersistentPeerConnectionToggle(isPPCEnabled);\n            }\n          } else {\n            _this._initiateRtcPeerConnectionManager();\n          }\n        });\n      });\n    };\n    this._initiateRtcPeerConnectionManager = function () {\n      // close existing peer connection managed by rtcPeerConnectionManager, if the peer connection is not used in a call\n      var existingPCManager = self === null || self === void 0 ? void 0 : self.rtcPeerConnectionManager;\n      var hasActivePeerConnection = false;\n      if (existingPCManager) {\n        var _existingPCManager$_r;\n        var managerType = existingPCManager instanceof connect.RtcPeerConnectionManagerV2 ? \"V2\" : \"V1\";\n        var sessionState = existingPCManager === null || existingPCManager === void 0 || (_existingPCManager$_r = existingPCManager._rtcSession) === null || _existingPCManager$_r === void 0 || (_existingPCManager$_r = _existingPCManager$_r._state) === null || _existingPCManager$_r === void 0 ? void 0 : _existingPCManager$_r.name;\n        logger.info(\"Closing existing RTC peer connection manager: Type=\".concat(managerType, \", HasPeerConnection=\").concat(hasActivePeerConnection, \", SessionState=\").concat(sessionState)).sendInternalLogToServer();\n        existingPCManager.close();\n        hasActivePeerConnection = existingPCManager._pc !== null && existingPCManager._pc !== undefined;\n        // if the peer connection is NOT used in a call and get cleared properly then we should be good to close the existing pcm and create new pcm\n        if (!hasActivePeerConnection) {\n          self.rtcPeerConnectionManager = null;\n        } else {\n          logger.warn(\"Cannot close existing RTC peer connection manager as it has an active peer connection.\").sendInternalLogToServer();\n        }\n      }\n      var isPPCEnabled = softphoneParams.isSoftphonePersistentConnectionEnabled;\n      // browserId will be used to handle browser page refresh, iceRestart scenarios\n      var browserId;\n      if (!global.localStorage.getItem(BROWSER_ID)) {\n        global.localStorage.setItem(BROWSER_ID, AWS.util.uuid.v4());\n      }\n      browserId = global.localStorage.getItem(BROWSER_ID);\n      if (connect.RtcPeerConnectionManager) {\n        var _self$rtcPeerConnecti;\n        if ((_self$rtcPeerConnecti = self.rtcPeerConnectionFactory) !== null && _self$rtcPeerConnecti !== void 0 && _self$rtcPeerConnecti.close) {\n          self.rtcPeerConnectionFactory.close();\n          self.rtcPeerConnectionFactory = null;\n        }\n        var shouldUseV2 = !hasActivePeerConnection && connect.RtcPeerConnectionManagerV2;\n        if (shouldUseV2) {\n          logger.info(\"Using RtcPeerConnectionManagerV2\").sendInternalLogToServer();\n          var v2Config = {\n            transportHandle: connect.hitch(self, requestIceAccess, {\n              transportType: \"softphone\",\n              softphoneClientId: softphoneClientId\n            }),\n            publishError: connect.hitch(self, publishError),\n            clientId: softphoneClientId,\n            logger: logger,\n            webSocketManager: connect.core.getWebSocketManager(),\n            rtcJsStrategy: self.rtcJsStrategy === null ? new connect.StandardStrategy() : self.rtcJsStrategy,\n            isPersistentConnectionEnabled: isPPCEnabled,\n            isPersistentConnectionOnPageLoadEnabled: true,\n            allowExtendedPersistentConnection: !!softphoneParams.allowExtendedPersistentConnection,\n            browserId: browserId\n          };\n          self.rtcPeerConnectionManager = new connect.RtcPeerConnectionManagerV2(v2Config);\n        } else if (connect.RtcPeerConnectionManager) {\n          logger.info(\"Using RtcPeerConnectionManager\").sendInternalLogToServer();\n          self.rtcPeerConnectionManager = new connect.RtcPeerConnectionManager(null,\n          // signalingURI for ccpv1\n          null,\n          // iceServers\n          connect.hitch(self, requestIceAccess, {\n            transportType: \"softphone\",\n            softphoneClientId: softphoneClientId\n          }),\n          // transportHandle\n          connect.hitch(self, publishError),\n          // publishError\n          softphoneClientId,\n          // clientId\n          null,\n          // callContextToken\n          logger, null,\n          // contactId\n          null,\n          // agent connectionId\n          connect.core.getWebSocketManager(), self.rtcJsStrategy === null ? new connect.StandardStrategy() : self.rtcJsStrategy, isPPCEnabled, browserId);\n        } else {\n          // customer who doesn't upgrade RTC.js will not be able to use RtcPeerConnectionManager to initialize persistent peer connection, but calls still work for them.\n          logger.info(\"RtcPeerConnectionManager does NOT exist, please upgrade RTC.js\");\n        }\n      }\n    };\n    logger = new SoftphoneLogger(connect.getLog());\n    logger.info(\"[Softphone Manager] softphone manager initialization has begun\").sendInternalLogToServer();\n    logger.info(\"[SoftphoneManager] Client Provided Strategy: \".concat(softphoneParams.VDIPlatform)).sendInternalLogToServer();\n    this._setRtcJsStrategy();\n    this._refreshRtcPeerConnectionFactory();\n    // Initiate RtcPeerConnectionManager if it hasn't been initialized yet\n    if (this.rtcPeerConnectionManager === null) {\n      this._initiateRtcPeerConnectionManager();\n    }\n    listenAgentConfigurationUpdate();\n    if (!_SoftphoneManager.isBrowserSoftPhoneSupported()) {\n      publishError(SoftphoneErrorTypes.UNSUPPORTED_BROWSER, \"Connect does not support this browser. Some functionality may not work. \", \"\");\n    }\n    if (softphoneParams.VDIPlatform !== VDIPlatformType.AWS_WORKSPACE) {\n      void fetchUserMedia({\n        success: function success(stream) {\n          publishTelemetryEvent(\"ConnectivityCheckResult\", null, {\n            connectivityCheckType: \"MicrophonePermission\",\n            status: \"granted\"\n          });\n          publishTelemetryEvent(\"MicCheckSucceeded\", null, {\n            context: \"Initializing Softphone Manager\"\n          }, true);\n        },\n        failure: function failure(err) {\n          publishError(err, \"Your microphone is not enabled in your browser. \", \"\");\n          publishTelemetryEvent(\"ConnectivityCheckResult\", null, {\n            connectivityCheckType: \"MicrophonePermission\",\n            status: \"denied\"\n          });\n        }\n      });\n    }\n    var onMuteSub = handleSoftPhoneMuteToggle();\n    var onSetSpeakerDeviceSub = handleSpeakerDeviceChange();\n    var onSetMicrophoneDeviceSub = handleMicrophoneDeviceChange(!softphoneParams.disableEchoCancellation);\n    monitorMicrophonePermission();\n    this.ringtoneEngine = null;\n    var rtcSessions = {};\n    // Tracks the agent connection ID, so that if the same contact gets re-routed to the same agent, it'll still set up softphone\n    var callsDetected = {};\n\n    // variables for firefox multitab\n    var isSessionPending = false;\n    var pendingContact = null;\n    var pendingAgentConnectionId = null;\n    var postponeStartingSession = function postponeStartingSession(contact, agentConnectionId) {\n      isSessionPending = true;\n      pendingContact = contact;\n      pendingAgentConnectionId = agentConnectionId;\n    };\n    var cancelPendingSession = function cancelPendingSession() {\n      isSessionPending = false;\n      pendingContact = null;\n      pendingAgentConnectionId = null;\n    };\n\n    // helper method to provide access to rtc sessions\n    this.getSession = function (connectionId) {\n      return rtcSessions[connectionId];\n    };\n\n    /**\n     * Replace the media stream in RTC session with enhanced version when VE feature is enabled.\n     * We expect the first invocation is always from the `onLocalStreamAdded` callback. This sets the mic to the best suitable default device.\n     * However, if the AudioDeviceSettings is enabled on the Security Profile, we expect a second invocation from the `setMicrophoneDevice` callback\n     * which supplies 'newDeviceId' and reflects the device chosen on the CCP itself.\n     *\n     * @param {*} newDeviceId The exact microphone device id to get media from browser.\n     */\n    this.replaceAudioTracksInRTCSessionWithVoiceEnhancedMedia = /*#__PURE__*/function () {\n      var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(newDeviceId) {\n        var audioConstraint, sourceStream, enhancedAudioStream, _t;\n        return _regenerator().w(function (_context) {\n          while (1) switch (_context.p = _context.n) {\n            case 0:\n              _context.p = 0;\n              if (!(softphoneParams.VDIPlatform != null)) {\n                _context.n = 1;\n                break;\n              }\n              logger.info(\"[Softphone Manager] Skipping media stream replace with enhanced media for VDI: \".concat(softphoneParams.VDIPlatform));\n              return _context.a(2);\n            case 1:\n              audioConstraint = {\n                audio: {\n                  echoCancellation: true\n                }\n              };\n              if (newDeviceId) {\n                audioConstraint.audio.deviceId = {\n                  exact: newDeviceId\n                };\n              }\n              if (softphoneParams.disableEchoCancellation) {\n                audioConstraint.audio.echoCancellation = false;\n                audioConstraint.audio.autoGainControl = true; // Enable autoGainControl to fix the low mic issue.\n              }\n              connect.publishMetric({\n                name: \"IsEchoCancellationEnabled\",\n                data: {\n                  count: audioConstraint.audio.echoCancellation ? 1 : 0\n                }\n              });\n              _context.n = 2;\n              return navigator.mediaDevices.getUserMedia(audioConstraint);\n            case 2:\n              sourceStream = _context.v;\n              logger.info(\"[Softphone Manager] Got stream \".concat(sourceStream === null || sourceStream === void 0 ? void 0 : sourceStream.id, \" for device \").concat(audioConstraint.audio.deviceId));\n              _context.n = 3;\n              return connect.VoiceFocusProvider.getVoiceEnhancedUserMedia(sourceStream, {\n                onError: function onError() {\n                  return publishError('audio_enhancement_failure', 'Failed to enhance audio stream', '');\n                }\n              });\n            case 3:\n              enhancedAudioStream = _context.v;\n              _context.n = 4;\n              return this.replaceMediaStreamInRTCSession(enhancedAudioStream);\n            case 4:\n              logger.info(\"[Softphone Manager] Replaced local audio stream \".concat(sourceStream.id, \" with audio stream: \").concat(enhancedAudioStream.id)).sendInternalLogToServer();\n              _context.n = 6;\n              break;\n            case 5:\n              _context.p = 5;\n              _t = _context.v;\n              logger.error(\"[Softphone Manager] Failed to replace media stream in rtc session\").withException(_t).sendInternalLogToServer();\n            case 6:\n              return _context.a(2);\n          }\n        }, _callee, this, [[0, 5]]);\n      }));\n      return function (_x) {\n        return _ref.apply(this, arguments);\n      };\n    }();\n\n    /**\n     * Replaces the audio track in all active RTC connections with a new track from the provided media stream\n     * @param {MediaStream} mediaStream - The media stream containing the new audio track\n     * @returns {Promise<void>} Resolves when all track replacements are complete\n     * @throws {Error} If mediaStream is invalid or track replacement fails\n     */\n    this.replaceMediaStreamInRTCSession = /*#__PURE__*/function () {\n      var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(mediaStream) {\n        var _this2 = this;\n        var newAudioTrack, trackReplacements, _loop, _ret, connectionId, _t2, _t3, _t4;\n        return _regenerator().w(function (_context3) {\n          while (1) switch (_context3.p = _context3.n) {\n            case 0:\n              _context3.p = 0;\n              if (!(!mediaStream || !mediaStream.getAudioTracks || !mediaStream.getAudioTracks().length)) {\n                _context3.n = 1;\n                break;\n              }\n              throw new Error('Invalid media stream or no audio tracks available');\n            case 1:\n              newAudioTrack = mediaStream.getAudioTracks()[0];\n              trackReplacements = [];\n              _loop = /*#__PURE__*/_regenerator().m(function _loop(connectionId) {\n                var session, sender, trackReplacement;\n                return _regenerator().w(function (_context2) {\n                  while (1) switch (_context2.n) {\n                    case 0:\n                      if (!localMediaStream.hasOwnProperty(connectionId)) {\n                        _context2.n = 3;\n                        break;\n                      }\n                      session = _this2.getSession(connectionId);\n                      if (!(!session || !session._pc || !session._pc.getSenders)) {\n                        _context2.n = 1;\n                        break;\n                      }\n                      logger.warn(\"[Softphone Manager] Invalid session or peer connection for connectionId: \".concat(connectionId)).sendInternalLogToServer();\n                      return _context2.a(2, 0);\n                    case 1:\n                      sender = session._pc.getSenders()[0];\n                      if (sender) {\n                        _context2.n = 2;\n                        break;\n                      }\n                      logger.warn(\"[Softphone Manager] No RTP sender found for connectionId: \".concat(connectionId)).sendInternalLogToServer();\n                      return _context2.a(2, 0);\n                    case 2:\n                      trackReplacement = sender.replaceTrack(newAudioTrack).then(function () {\n                        _this2.replaceLocalMediaTrack(connectionId, newAudioTrack);\n                        session._isUserProvidedStream = true;\n                        logger.info(\"[Softphone Manager] Audio track successfully replaced for connectionId: \".concat(connectionId)).sendInternalLogToServer();\n                        logger.info(\"[Softphone Manager] Audio track settings: \".concat(JSON.stringify(newAudioTrack.getSettings()))).sendInternalLogToServer();\n                      })[\"catch\"](function (error) {\n                        logger.error(\"[Softphone Manager] Failed to replace track for connectionId: \".concat(connectionId)).withException(error).sendInternalLogToServer();\n                      });\n                      session.sessionReport.noiseSuppression = newAudioTrack.getSettings().noiseSuppression;\n                      session.sessionReport.autoGainControl = newAudioTrack.getSettings().autoGainControl;\n                      session.sessionReport.echoCancellation = newAudioTrack.getSettings().echoCancellation;\n                      session.sessionReport.voiceIsolation = newAudioTrack.getSettings().voiceIsolation;\n                      trackReplacements.push(trackReplacement);\n                    case 3:\n                      return _context2.a(2);\n                  }\n                }, _loop);\n              });\n              _t2 = _regeneratorKeys(localMediaStream);\n            case 2:\n              if ((_t3 = _t2()).done) {\n                _context3.n = 5;\n                break;\n              }\n              connectionId = _t3.value;\n              return _context3.d(_regeneratorValues(_loop(connectionId)), 3);\n            case 3:\n              _ret = _context3.v;\n              if (!(_ret === 0)) {\n                _context3.n = 4;\n                break;\n              }\n              return _context3.a(3, 2);\n            case 4:\n              _context3.n = 2;\n              break;\n            case 5:\n              _context3.n = 6;\n              return Promise.all(trackReplacements);\n            case 6:\n              logger.info('[Softphone Manager] Successfully replaced all audio tracks').sendInternalLogToServer();\n              _context3.n = 8;\n              break;\n            case 7:\n              _context3.p = 7;\n              _t4 = _context3.v;\n              logger.error('[Softphone Manager] Failed to replace media stream in rtc session').withException(_t4).sendInternalLogToServer();\n            case 8:\n              return _context3.a(2);\n          }\n        }, _callee2, null, [[0, 7]]);\n      }));\n      return function (_x2) {\n        return _ref2.apply(this, arguments);\n      };\n    }();\n    this.replaceLocalMediaTrack = function (connectionId, track) {\n      var stream = localMediaStream[connectionId].stream;\n      if (stream) {\n        var oldTrack = stream.getAudioTracks()[0];\n        // Skip if the new track is the same as the existing track\n        if (oldTrack === track) {\n          logger.info(\"[Softphone Manager] Skipping track replacement as tracks are identical for connectionId \".concat(connectionId, \", trackId: \").concat(track.id)).sendInternalLogToServer();\n          return;\n        }\n        track.enabled = oldTrack.enabled;\n        oldTrack.enabled = false;\n        stream.removeTrack(oldTrack);\n        if (softphoneParams.VDIPlatform === VDIPlatformType.AWS_WORKSPACE) {\n          oldTrack.stop();\n        }\n        stream.addTrack(track);\n      }\n    };\n    var isContactTerminated = function isContactTerminated(contact) {\n      return contact.getStatus().type === connect.ContactStatusType.ENDED || contact.getStatus().type === connect.ContactStatusType.ERROR || contact.getStatus().type === connect.ContactStatusType.MISSED;\n    };\n    this.destroySession = function (agentConnectionId) {\n      if (rtcSessions.hasOwnProperty(agentConnectionId)) {\n        var session = rtcSessions[agentConnectionId];\n        // Currently the assumption is it will throw an exception only and if only it already has been hung up.\n        // TODO: Update once the hangup API does not throw exceptions\n        new Promise(function (resolve, reject) {\n          delete rtcSessions[agentConnectionId];\n          delete callsDetected[agentConnectionId];\n          // if rtcPeerConnectionManager exists, it will hang up the session\n          if (_this.rtcPeerConnectionManager) {\n            _this.rtcPeerConnectionManager.hangup(agentConnectionId);\n          } else {\n            session.hangup();\n          }\n        })[\"catch\"](function (err) {\n          lily.getLog().warn(\"There was an error destroying the softphone session for connection ID \".concat(agentConnectionId, \" : \").concat(err.message)).withObject({\n            agentConnectionId: agentConnectionId,\n            errorMessage: err.message\n          }).sendInternalLogToServer();\n        });\n      }\n    };\n\n    // LEGACY FUNCITON: Iterates through the current \"active\" sessions and should kill all sessions that ARE NOT currently presented in the snapshot based on agent connection id.\n    // With the addition of bullet routing this function has been updated to also account for queued callback (which follows a different agent connection id pattern)\n    // we want to make sure that we DON'T kill the incoming QCB contact when its a bullet contact.\n    // TODO: Update when connect-rtc exposes an API to detect session status.\n    this.sanityCheckActiveSessions = function (rtcSessions) {\n      if (Object.keys(rtcSessions).length === 0) return;\n      var voiceContacts = new connect.Agent().getContacts().filter(function (contact) {\n        return contact.getType() == connect.ContactType.VOICE || contact.getType() == connect.ContactType.QUEUE_CALLBACK;\n      });\n      var agentConnectionIds = voiceContacts.map(function (contact) {\n        var _contact$getAgentConn;\n        return (_contact$getAgentConn = contact.getAgentConnection()) === null || _contact$getAgentConn === void 0 ? void 0 : _contact$getAgentConn.getConnectionId();\n      });\n\n      // Build set of active contactIds for validation\n      var activeContactIds = new Set(voiceContacts.map(function (c) {\n        return c.getContactId();\n      }));\n      var duplicateSessionDetected = false;\n      // Error! our state doesn't match, tear it all down.\n      for (var connectionId in rtcSessions) {\n        // For queued callbacks, agentConnectionId changes when contact connects, but rtcSession uses the original connectionId.\n        // Check if connectionId is current OR if it maps to an active contact via contactAgentConnectionIdMap\n        var isCurrentConnection = agentConnectionIds.includes(connectionId);\n        var mappedContactId = contactAgentConnectionIdMap[connectionId];\n        var isValidMappedConnection = mappedContactId && activeContactIds.has(mappedContactId);\n        if (rtcSessions.hasOwnProperty(connectionId) && !isCurrentConnection && !isValidMappedConnection) {\n          // Log an error for the session we are about to end.\n          _SoftphoneManager.publishMultipleSessionsEvent(HANG_UP_MULTIPLE_SESSIONS_EVENT, rtcSessions[connectionId].callId, connectionId);\n          self.destroySession(connectionId);\n          duplicateSessionDetected = true;\n        }\n      }\n      if (duplicateSessionDetected) throw new Error(\"duplicate session detected, refusing to setup new connection\");\n    };\n    this._clearAllSessions = function () {\n      connect.getLog().info(\"Clearing all active sessions\").sendInternalLogToServer();\n      for (var connectionId in rtcSessions) {\n        if (rtcSessions.hasOwnProperty(connectionId)) {\n          this.destroySession(connectionId);\n        }\n      }\n    };\n    this.startSession = function (_contact, _agentConnectionId, userMediaStream, callbacks) {\n      var contact = isSessionPending ? pendingContact : _contact;\n      var agentConnectionId = isSessionPending ? pendingAgentConnectionId : _agentConnectionId;\n      if (!contact || !agentConnectionId) {\n        return;\n      }\n      cancelPendingSession();\n\n      // Set to true, this will block subsequent invokes from entering.\n      callsDetected[agentConnectionId] = true;\n      logger.info(\"Softphone call detected:\", \"contactId \" + contact.getContactId(), \"agent connectionId \" + agentConnectionId).sendInternalLogToServer();\n\n      // Ensure our session state matches our contact state to prevent issues should we lose track of a contact.\n      this.sanityCheckActiveSessions(rtcSessions);\n      if (contact.getStatus().type === connect.ContactStatusType.CONNECTING) {\n        publishTelemetryEvent(\"Softphone Connecting\", contact.getContactId());\n      }\n      var softphoneInfo = contact.getAgentConnection().getSoftphoneMediaInfo();\n      var callConfig = parseCallConfig(softphoneInfo.callConfigJson);\n      var webSocketProvider;\n      if (callConfig.useWebSocketProvider) {\n        webSocketProvider = connect.core.getWebSocketManager();\n      }\n\n      // initialize rtcPeerConnectionManager if it is not existed\n      if (this.rtcPeerConnectionManager === null) {\n        this._initiateRtcPeerConnectionManager();\n      }\n      var session;\n      // if rtcPeerConnectionManager exists, it will create rtcSession object\n      if (connect.RtcPeerConnectionManager && this.rtcPeerConnectionManager) {\n        session = this.rtcPeerConnectionManager.createSession(contact.getContactId(), callConfig.iceServers, softphoneInfo.callContextToken, agentConnectionId, webSocketProvider, this.rtcJsStrategy === null ? new connect.StandardStrategy() : this.rtcJsStrategy);\n      } else {\n        if (this.rtcJsStrategy) {\n          session = new connect.RTCSession(callConfig.signalingEndpoint, callConfig.iceServers, softphoneInfo.callContextToken, logger, contact.getContactId(), agentConnectionId, webSocketProvider, this.rtcJsStrategy);\n        } else {\n          session = new connect.RTCSession(callConfig.signalingEndpoint, callConfig.iceServers, softphoneInfo.callContextToken, logger, contact.getContactId(), agentConnectionId, webSocketProvider);\n        }\n      }\n      if (userMediaStream) {\n        logger.info('[Softphone Manager] Setting custom user media stream').sendInternalLogToServer();\n        session.mediaStream = userMediaStream;\n      }\n      session.echoCancellation = !softphoneParams.disableEchoCancellation;\n      rtcSessions[agentConnectionId] = session;\n\n      // Custom Event to indicate the session init operations\n      connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n        event: connect.ConnectionEvents.SESSION_INIT,\n        data: {\n          connectionId: agentConnectionId\n        }\n      });\n      session.onSessionFailed = function (rtcSession, reason) {\n        delete rtcSessions[agentConnectionId];\n        delete callsDetected[agentConnectionId];\n        publishSoftphoneFailureLogs(rtcSession, reason);\n        publishSessionFailureTelemetryEvent(contact.getContactId(), reason);\n        stopJobsAndReport(contact, rtcSession.sessionReport);\n        // publish voice focus metrics\n        connect.VoiceFocusProvider.publishMetrics({\n          contactId: contact.getContactId()\n        });\n        // clean voice focus models\n        connect.VoiceFocusProvider.cleanVoiceFocus();\n        if (callbacks && callbacks.onSessionFailed) {\n          callbacks.onSessionFailed(rtcSession, reason);\n        }\n      };\n      session.onSessionConnected = function (rtcSession) {\n        publishTelemetryEvent(\"Softphone Session Connected\", contact.getContactId());\n        // start stats collection and reporting jobs\n        startStatsCollectionJob(contact, rtcSession);\n        startStatsReportingJob(contact);\n        fireContactAcceptedEvent(contact);\n      };\n      session.onSessionCompleted = function (rtcSession) {\n        publishTelemetryEvent(\"Softphone Session Completed\", contact.getContactId());\n        delete rtcSessions[agentConnectionId];\n        delete callsDetected[agentConnectionId];\n        // Stop all jobs and perform one last job.\n        stopJobsAndReport(contact, rtcSession.sessionReport);\n\n        // Cleanup the cached streams\n        deleteLocalMediaStream(agentConnectionId);\n\n        // publish voice focus metrics\n        connect.VoiceFocusProvider.publishMetrics({\n          contactId: contact.getContactId()\n        });\n        // clean voice focus models\n        connect.VoiceFocusProvider.cleanVoiceFocus();\n        if (callbacks && callbacks.onSessionCompleted) {\n          callbacks.onSessionCompleted(rtcSession);\n        }\n      };\n      session.onLocalStreamAdded = function (rtcSession, stream) {\n        // Cache the streams for mute/unmute\n        localMediaStream[agentConnectionId] = {\n          stream: stream\n        };\n        logger.info(\"[Softphone Manager] On local media stream set, call voice enhancement for stream: \".concat(stream.id));\n        self.replaceAudioTracksInRTCSessionWithVoiceEnhancedMedia().then(function () {\n          connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n            event: connect.AgentEvents.LOCAL_MEDIA_STREAM_CREATED,\n            data: {\n              connectionId: agentConnectionId\n            }\n          });\n        })[\"catch\"](function (error) {\n          logger.error(\"[Softphone Manager] Failed to replace audio tracks in RTC session.\").withException(error).sendInternalLogToServer();\n          connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n            event: connect.AgentEvents.LOCAL_MEDIA_STREAM_CREATED,\n            data: {\n              connectionId: agentConnectionId\n            }\n          });\n        });\n      };\n      session.remoteAudioElement = document.getElementById('remote-audio') || window.parent.parent.document.getElementById('remote-audio');\n      if (this.rtcPeerConnectionManager) {\n        this.rtcPeerConnectionManager.connect(agentConnectionId);\n      } else {\n        if (this.rtcPeerConnectionFactory) {\n          session.connect(this.rtcPeerConnectionFactory.get(callConfig.iceServers));\n        } else {\n          session.connect();\n        }\n      }\n    };\n    var onDestroyContact = function onDestroyContact(agentConnectionId) {\n      // handle an edge case where a connecting contact gets cleared and the next agent snapshot doesn't contain the contact thus the onRefreshContact callback below can't properly clean up the stale session.\n      if (rtcSessions[agentConnectionId]) {\n        self.destroySession(agentConnectionId);\n      }\n    };\n    var onRefreshContact = function onRefreshContact(contact, agentConnectionId) {\n      if (rtcSessions[agentConnectionId] && isContactTerminated(contact)) {\n        self.destroySession(agentConnectionId);\n        cancelPendingSession();\n      }\n      if (contact.isSoftphoneCall() && !callsDetected[agentConnectionId] && (contact.getStatus().type === connect.ContactStatusType.CONNECTING || contact.getStatus().type === connect.ContactStatusType.INCOMING)) {\n        publishTelemetryEvent('SoftphoneConfigDetected', contact.getContactId(), {}, true);\n        if (connect.isFirefoxBrowser() && connect.hasOtherConnectedCCPs()) {\n          logger.info('[Softphone Manager] Postpone starting session: ' + contact.getContactId()).sendInternalLogToServer();\n          postponeStartingSession(contact, agentConnectionId);\n        } else {\n          self.startSession(contact, agentConnectionId);\n        }\n      }\n    };\n    var setLastActiveContactId = function setLastActiveContactId(contact, agentConnectionId) {\n      lastActiveContactID = contact.getContactId();\n      //this has to exist, all contacts must have an agent type connection;\n      contactAgentConnectionIdMap[agentConnectionId] = contact.getContactId();\n    };\n    var onInitContact = function onInitContact(contact) {\n      var agentConnectionId = contact.getAgentConnection().connectionId;\n      logger.info(\"Contact detected:\", \"contactId \" + contact.getContactId(), \"agent connectionId \" + agentConnectionId).sendInternalLogToServer();\n      if (!callsDetected[agentConnectionId]) {\n        contact.onRefresh(function (_contact) {\n          onRefreshContact(_contact, agentConnectionId);\n        });\n        contact.onDestroy(function () {\n          onDestroyContact(agentConnectionId);\n          // clean up localMediaStream\n          if (localMediaStream[agentConnectionId]) deleteLocalMediaStream(agentConnectionId);\n        });\n\n        //used to track last active contact ID in bullet routing - This will be used to sync local media states\n        //Pass the initial agentConnectionId captured at contact init because for Queue Callbacks,\n        //the agentConnectionId changes after the contact connects. The localMediaStream uses the\n        //initial agentConnectionId, so we must use it here to ensure contactAgentConnectionIdMap\n        //correctly maps to the contact for mute/unmute operations.\n        // Every contact type reaches this handler, and only a voice connection has\n        // onParticipantResume.\n        var agentConnection = contact.getAgentConnection();\n        if (typeof agentConnection.onParticipantResume === 'function') {\n          var resumeSub = agentConnection.onParticipantResume(function () {\n            setLastActiveContactId(contact, agentConnectionId);\n          });\n          var connectedSub = contact.onConnected(function () {\n            setLastActiveContactId(contact, agentConnectionId);\n          });\n          var endedSub = contact.onEnded(function () {\n            resumeSub.unsubscribe();\n            connectedSub.unsubscribe();\n            endedSub.unsubscribe();\n          });\n        }\n      }\n    };\n    var onInitContactSub = connect.contact(onInitContact);\n\n    // Contact already in connecting state scenario - In this case contact INIT is missed hence the OnRefresh callback is missed.\n    new connect.Agent().getContacts().forEach(function (contact) {\n      var agentConnectionId = contact.getAgentConnection().connectionId;\n      logger.info(\"Contact exist in the snapshot. Reinitiate the Contact and RTC session creation for contactId\" + contact.getContactId(), \"agent connectionId \" + agentConnectionId).sendInternalLogToServer();\n      onInitContact(contact);\n      onRefreshContact(contact, agentConnectionId);\n    });\n    this.terminate = function () {\n      onInitContactSub && onInitContactSub.unsubscribe && onInitContactSub.unsubscribe();\n      onMuteSub && onMuteSub.unsubscribe && onMuteSub.unsubscribe();\n      onSetSpeakerDeviceSub && onSetSpeakerDeviceSub.unsubscribe && onSetSpeakerDeviceSub.unsubscribe();\n      onSetMicrophoneDeviceSub && onSetMicrophoneDeviceSub.unsubscribe && onSetMicrophoneDeviceSub.unsubscribe();\n      if (_this.rtcPeerConnectionFactory.clearIdleRtcPeerConnectionTimerId) {\n        // This method needs to be called when destroying the softphone manager instance.\n        // Otherwise the refresh loop in rtcPeerConnectionFactory will keep spawning WebRTCConnections every 60 seconds\n        // and you will eventually get SoftphoneConnectionLimitBreachedException later.\n        _this.rtcPeerConnectionFactory.clearIdleRtcPeerConnectionTimerId();\n      }\n      _this.rtcPeerConnectionFactory = null;\n      if (_this.rtcPeerConnectionManager && _this.rtcPeerConnectionManager.clearIdleRtcPeerConnectionTimerId) {\n        _this.rtcPeerConnectionManager.clearIdleRtcPeerConnectionTimerId();\n      }\n    };\n  };\n  var fireContactAcceptedEvent = function fireContactAcceptedEvent(contact) {\n    var conduit = connect.core.getUpstream();\n    var agentConnection = contact.getAgentConnection();\n    if (!agentConnection) {\n      logger.info(\"Not able to retrieve the auto-accept setting from null AgentConnection, ignoring event publish..\").sendInternalLogToServer();\n      return;\n    }\n    if (contact.isAutoAcceptEnabled() && contact.getType() === connect.ContactType.VOICE) {\n      logger.info('Auto-accept is enabled, sending out Accepted event to stop ringtone..').sendInternalLogToServer();\n      conduit.sendUpstream(connect.EventType.BROADCAST, {\n        event: connect.ContactEvents.ACCEPTED,\n        data: new connect.Contact(contact.contactId)\n      });\n      conduit.sendUpstream(connect.EventType.BROADCAST, {\n        event: connect.core.getContactEventName(connect.ContactEvents.ACCEPTED, contact.contactId),\n        data: new connect.Contact(contact.contactId)\n      });\n    } else {\n      logger.info(\"Auto-accept is disabled, ringtone will be stopped by user action.\").sendInternalLogToServer();\n    }\n  };\n\n  // Bind events for mute\n  var handleSoftPhoneMuteToggle = function handleSoftPhoneMuteToggle() {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.EventType.MUTE, muteToggle);\n  };\n  var handleSpeakerDeviceChange = function handleSpeakerDeviceChange() {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.ConfigurationEvents.SET_SPEAKER_DEVICE, setSpeakerDevice);\n  };\n  var handleMicrophoneDeviceChange = function handleMicrophoneDeviceChange(enableEchoCancellation) {\n    var bus = connect.core.getEventBus();\n    return bus.subscribe(connect.ConfigurationEvents.SET_MICROPHONE_DEVICE, function (data) {\n      return setMicrophoneDevice(_objectSpread(_objectSpread({}, data), {}, {\n        enableEchoCancellation: enableEchoCancellation\n      }));\n    });\n  };\n  var monitorMicrophonePermission = function monitorMicrophonePermission() {\n    try {\n      if (connect.isChromeBrowser() && connect.getChromeBrowserVersion() > 43) {\n        navigator.permissions.query({\n          name: 'microphone'\n        }).then(function (permissionStatus) {\n          permissionStatus.onchange = function () {\n            logger.info(\"Microphone Permission: \" + permissionStatus.state);\n            publishTelemetryEvent(\"ConnectivityCheckResult\", null, {\n              connectivityCheckType: \"MicrophonePermission\",\n              status: permissionStatus.state\n            });\n            if (permissionStatus.state === 'denied') {\n              publishError(SoftphoneErrorTypes.MICROPHONE_NOT_SHARED, \"Your microphone is not enabled in your browser. \", \"\");\n            }\n          };\n        })[\"catch\"](function (e) {\n          logger.error(\"Failed in detecting microphone permission status: \" + e).sendInternalLogToServer();\n        });\n      }\n    } catch (e) {\n      logger.error(\"Failed in detecting microphone permission status: \" + e);\n    }\n  };\n\n  // Make sure once we disconnected we get the mute state back to normal\n  var deleteLocalMediaStream = function deleteLocalMediaStream(connectionId) {\n    delete localMediaStream[connectionId];\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.AgentEvents.MUTE_TOGGLE,\n      data: {\n        muted: false\n      }\n    });\n  };\n\n  // Check for the local streams if exists  -  revert it\n  // And inform other clients about the change\n  var muteToggle = function muteToggle(data) {\n    var status;\n    if (connect.keys(localMediaStream).length === 0) {\n      return;\n    }\n    if (data && data.mute !== undefined) {\n      status = data.mute;\n    }\n    for (var connectionId in localMediaStream) {\n      if (localMediaStream.hasOwnProperty(connectionId)) {\n        var localMedia = localMediaStream[connectionId].stream;\n        var isActiveContact = contactAgentConnectionIdMap[connectionId] === lastActiveContactID;\n        logger.info(\"Agent's current active active media stream\").withObject({\n          isActiveContact: isActiveContact,\n          contactAgentConnectionIdMap: contactAgentConnectionIdMap,\n          lastActiveContactID: lastActiveContactID,\n          localMediaStream: localMediaStream,\n          connectionId: connectionId\n        }).sendInternalLogToServer();\n        if (localMedia && isActiveContact) {\n          var audioTracks = localMedia.getAudioTracks()[0];\n          if (status !== undefined) {\n            audioTracks.enabled = !status;\n            localMediaStream[connectionId].muted = status;\n            if (status) {\n              logger.info(\"Agent has muted the contact, connectionId -  \" + connectionId).sendInternalLogToServer();\n            } else {\n              logger.info(\"Agent has unmuted the contact, connectionId - \" + connectionId).sendInternalLogToServer();\n            }\n          } else {\n            status = localMediaStream[connectionId].muted || false;\n          }\n        }\n      }\n    }\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.AgentEvents.MUTE_TOGGLE,\n      data: {\n        muted: status\n      }\n    });\n  };\n  var setSpeakerDevice = function setSpeakerDevice() {\n    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var deviceId = data.deviceId || '';\n    connect.getLog().info(\"[Audio Device Settings] Attempting to set speaker device \".concat(deviceId)).sendInternalLogToServer();\n    if (!deviceId) {\n      connect.getLog().warn(\"[Audio Device Settings] Setting speaker device cancelled due to missing deviceId\").sendInternalLogToServer();\n      return;\n    }\n    var remoteAudioElement = document.getElementById('remote-audio') || window.parent.parent.document.getElementById('remote-audio');\n    if (remoteAudioElement && typeof remoteAudioElement.setSinkId === 'function') {\n      remoteAudioElement.setSinkId(deviceId).then(function () {\n        connect.getLog().info(\"[Audio Device Settings] Speaker device \".concat(deviceId, \" successfully set to speaker audio element\")).sendInternalLogToServer();\n        connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n          event: connect.ConfigurationEvents.SPEAKER_DEVICE_CHANGED,\n          data: {\n            deviceId: deviceId\n          }\n        });\n      })[\"catch\"](function (e) {\n        connect.getLog().error(\"[Audio Device Settings] Failed to set speaker device \" + deviceId).withException(e).sendInternalLogToServer();\n      });\n    } else {\n      connect.getLog().warn(\"[Audio Device Settings] Setting speaker device cancelled due to missing remoteAudioElement\").sendInternalLogToServer();\n    }\n  };\n  var setMicrophoneDevice = function setMicrophoneDevice() {\n    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    var deviceId = data.deviceId || '';\n    connect.getLog().info(\"[Audio Device Settings] Attempting to set microphone device \".concat(deviceId)).sendInternalLogToServer();\n    if (connect.keys(localMediaStream).length === 0) {\n      connect.getLog().warn(\"[Audio Device Settings] Setting microphone device cancelled due to missing localMediaStream\").sendInternalLogToServer();\n      return;\n    }\n    if (!deviceId) {\n      connect.getLog().warn(\"[Audio Device Settings] Setting microphone device cancelled due to missing deviceId\").sendInternalLogToServer();\n      return;\n    }\n    var softphoneManager = connect.core.getSoftphoneManager();\n    var CONSTRAINT = {\n      audio: {\n        deviceId: {\n          exact: deviceId\n        }\n      }\n    };\n    if (!data.enableEchoCancellation) CONSTRAINT.audio.echoCancellation = false;\n    connect.publishMetric({\n      name: ECHO_CANCELLATION_CHECK,\n      data: {\n        count: 1,\n        disableEchoCancellation: !data.enableEchoCancellation\n      }\n    });\n    navigator.mediaDevices.getUserMedia(CONSTRAINT).then(function (newMicrophoneStream) {\n      try {\n        var newMicrophoneTrack = newMicrophoneStream.getAudioTracks()[0];\n        for (var connectionId in localMediaStream) {\n          if (localMediaStream.hasOwnProperty(connectionId)) {\n            var session = softphoneManager.getSession(connectionId);\n            //Replace the audio track in the RtcPeerConnection\n            session._pc.getSenders()[0].replaceTrack(newMicrophoneTrack).then(function () {\n              //Replace the audio track in the local media stream (for mute / unmute)\n              softphoneManager.replaceLocalMediaTrack(connectionId, newMicrophoneTrack);\n              session._isUserProvidedStream = true;\n              connect.getLog().info(\"[Audio Device Settings] Microphone device \".concat(deviceId, \" successfully set to local media stream in RTCRtpSender\")).sendInternalLogToServer();\n            });\n          }\n        }\n      } catch (e) {\n        connect.getLog().error(\"[Audio Device Settings] Failed to set microphone device \" + deviceId).withException(e).sendInternalLogToServer();\n        return;\n      }\n      connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n        event: connect.ConfigurationEvents.MICROPHONE_DEVICE_CHANGED,\n        data: {\n          deviceId: deviceId\n        }\n      });\n    })[\"catch\"](function (e) {\n      connect.getLog().error(\"[Audio Device Settings] Failed to set microphone device \" + deviceId).withException(e).sendInternalLogToServer();\n    });\n  };\n  var publishSoftphoneFailureLogs = function publishSoftphoneFailureLogs(rtcSession, reason) {\n    if (reason === connect.RTCErrors.ICE_COLLECTION_TIMEOUT) {\n      var endPointUrl = \"\\n\";\n      for (var i = 0; i < rtcSession._iceServers.length; i++) {\n        for (var j = 0; j < rtcSession._iceServers[i].urls.length; j++) {\n          endPointUrl = endPointUrl + rtcSession._iceServers[i].urls[j] + \"\\n\";\n        }\n      }\n      publishError(SoftphoneErrorTypes.ICE_COLLECTION_TIMEOUT, \"Ice collection timedout. \", endPointUrl);\n    } else if (reason === connect.RTCErrors.USER_BUSY) {\n      publishError(SoftphoneErrorTypes.USER_BUSY_ERROR, \"Softphone call UserBusy error. \", \"\");\n    } else if (reason === connect.RTCErrors.SIGNALLING_HANDSHAKE_FAILURE) {\n      publishError(SoftphoneErrorTypes.SIGNALLING_HANDSHAKE_FAILURE, \"Handshaking with Signalling Server \" + rtcSession._signalingUri + \" failed. \", rtcSession._signalingUri);\n    } else if (reason === connect.RTCErrors.GUM_TIMEOUT_FAILURE || reason === connect.RTCErrors.GUM_OTHER_FAILURE) {\n      publishError(SoftphoneErrorTypes.MICROPHONE_NOT_SHARED, \"Your microphone is not enabled in your browser. \", \"\");\n    } else if (reason === connect.RTCErrors.SIGNALLING_CONNECTION_FAILURE) {\n      publishError(SoftphoneErrorTypes.SIGNALLING_CONNECTION_FAILURE, \"URL \" + rtcSession._signalingUri + \" cannot be reached. \", rtcSession._signalingUri);\n    } else if (reason === connect.RTCErrors.CALL_NOT_FOUND) {\n      // No need to publish any softphone error for this case. CCP UX will handle this case.\n      logger.error(\"Softphone call failed due to CallNotFoundException.\").sendInternalLogToServer();\n    } else {\n      publishError(SoftphoneErrorTypes.WEBRTC_ERROR, \"webrtc system error. \", \"\");\n    }\n  };\n\n  /** Parse the JSON encoded web call config into the data it represents. */\n  var parseCallConfig = function parseCallConfig(serializedConfig) {\n    // Our underscore is too old for unescape\n    var decodedJSON = serializedConfig.replace(/&quot;/g, '\"');\n    return JSON.parse(decodedJSON);\n  };\n  var fetchUserMedia = function fetchUserMedia(callbacksIn) {\n    var callbacks = callbacksIn || {};\n    callbacks.success = callbacks.success || function () {};\n    callbacks.failure = callbacks.failure || function () {};\n    var CONSTRAINT = {\n      audio: true\n    };\n    var promise = null;\n    if (typeof Promise !== \"function\") {\n      callbacks.failure(SoftphoneErrorTypes.UNSUPPORTED_BROWSER);\n      return;\n    }\n    if (_typeof(navigator.mediaDevices) === \"object\" && typeof navigator.mediaDevices.getUserMedia === \"function\") {\n      promise = navigator.mediaDevices.getUserMedia(CONSTRAINT);\n    } else if (typeof navigator.webkitGetUserMedia === \"function\") {\n      promise = new Promise(function (resolve, reject) {\n        navigator.webkitGetUserMedia(CONSTRAINT, resolve, reject);\n      });\n    } else {\n      callbacks.failure(SoftphoneErrorTypes.UNSUPPORTED_BROWSER);\n      return;\n    }\n    promise.then(function (stream) {\n      var audioTracks = stream.getAudioTracks();\n      if (audioTracks && audioTracks.length > 0) {\n        callbacks.success(stream);\n      } else {\n        callbacks.failure(SoftphoneErrorTypes.MICROPHONE_NOT_SHARED);\n      }\n    }, function (err) {\n      callbacks.failure(SoftphoneErrorTypes.MICROPHONE_NOT_SHARED);\n    });\n    return promise;\n  };\n  var publishError = function publishError(errorType, message, endPointUrl) {\n    logger.error(\"Softphone error occurred : \", errorType, message || \"\").sendInternalLogToServer();\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.AgentEvents.SOFTPHONE_ERROR,\n      data: new connect.SoftphoneError(errorType, message, endPointUrl)\n    });\n  };\n  var publishSessionFailureTelemetryEvent = function publishSessionFailureTelemetryEvent(contactId, reason) {\n    publishTelemetryEvent(\"Softphone Session Failed\", contactId, {\n      failedReason: reason\n    });\n  };\n  var publishTelemetryEvent = function publishTelemetryEvent(eventName, contactId, data) {\n    try {\n      connect.publishMetric({\n        name: eventName,\n        contactId: contactId,\n        data: data\n      });\n    } catch (e) {\n      connect.getLog().error(\"Error Creating Metric: \" + e.message).sendInternalLogToServer();\n    }\n  };\n\n  // Publish the contact and agent information in a multiple sessions scenarios\n  _SoftphoneManager.publishMultipleSessionsEvent = function (eventName, contactId, agentConnectionId) {\n    publishTelemetryEvent(eventName, contactId, [{\n      name: \"AgentConnectionId\",\n      value: agentConnectionId\n    }]);\n    logger.info(\"Publish multiple session error metrics\", eventName, \"contactId \" + contactId, \"agent connectionId \" + agentConnectionId).sendInternalLogToServer();\n  };\n  _SoftphoneManager.isBrowserSoftPhoneSupported = function () {\n    // In Opera, the true version is after \"Opera\" or after \"Version\"\n    if (connect.isOperaBrowser() && connect.getOperaBrowserVersion() > 17) {\n      return true;\n    }\n    // In Chrome, the true version is after \"Chrome\"\n    else if (connect.isChromeBrowser() && connect.getChromeBrowserVersion() > 22) {\n      return true;\n    }\n    // In Firefox, the true version is after \"Firefox\"\n    else if (connect.isFirefoxBrowser() && connect.getFirefoxBrowserVersion() > 21) {\n      return true;\n    } else {\n      return false;\n    }\n  };\n  var sendSoftphoneMetrics = function sendSoftphoneMetrics(contact) {\n    var agentConnectionId = contact.getAgentConnection().getConnectionId();\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    var streamStats = agentConnectionStats.timeSeriesStreamStatsBuffer.slice();\n    agentConnectionStats.timeSeriesStreamStatsBuffer = [];\n    if (streamStats.length > 0) {\n      contact.sendSoftphoneMetrics(streamStats, {\n        success: function success() {\n          logger.info(\"sendSoftphoneMetrics success\" + JSON.stringify(streamStats)).sendInternalLogToServer();\n        },\n        failure: function failure(data) {\n          logger.error(\"sendSoftphoneMetrics failed.\").withObject(data).sendInternalLogToServer();\n        }\n      });\n    }\n  };\n  var sendSoftphoneReport = function sendSoftphoneReport(contact, report, userAudioStats, remoteAudioStats) {\n    var _report$citrixVersion, _report$noiseSuppress, _report$autoGainContr, _report$echoCancellat, _report$voiceIsolatio, _report$networkRtt;\n    var agentConnectionId = contact.getAgentConnection().getConnectionId();\n    // userAudioStats and remoteAudioStats are already RTPStreamStats objects from stopJobsAndReport\n    report.streamStats = [userAudioStats, remoteAudioStats];\n    var callReport = {\n      callStartTime: report.sessionStartTime,\n      callEndTime: report.sessionEndTime,\n      gumTimeMillis: report.gumTimeMillis,\n      initializationTimeMillis: report.initializationTimeMillis,\n      iceCollectionTimeMillis: report.iceCollectionTimeMillis,\n      signallingConnectTimeMillis: report.signallingConnectTimeMillis,\n      handshakingTimeMillis: report.handshakingTimeMillis,\n      preTalkingTimeMillis: report.preTalkingTimeMillis,\n      talkingTimeMillis: report.talkingTimeMillis,\n      cleanupTimeMillis: report.cleanupTimeMillis,\n      iceCollectionFailure: report.iceCollectionFailure,\n      signallingConnectionFailure: report.signallingConnectionFailure,\n      handshakingFailure: report.handshakingFailure,\n      gumOtherFailure: report.gumOtherFailure,\n      gumTimeoutFailure: report.gumTimeoutFailure,\n      createOfferFailure: report.createOfferFailure,\n      setLocalDescriptionFailure: report.setLocalDescriptionFailure,\n      userBusyFailure: report.userBusyFailure,\n      invalidRemoteSDPFailure: report.invalidRemoteSDPFailure,\n      noRemoteIceCandidateFailure: report.noRemoteIceCandidateFailure,\n      setRemoteDescriptionFailure: report.setRemoteDescriptionFailure,\n      softphoneStreamStatistics: report.streamStats\n    };\n    contact.sendSoftphoneReport(callReport, {\n      success: function success() {\n        logger.info(\"sendSoftphoneReport success\" + JSON.stringify(callReport)).sendInternalLogToServer();\n      },\n      failure: function failure(data) {\n        logger.error(\"sendSoftphoneReport failed.\").withObject(data).sendInternalLogToServer();\n      }\n    });\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    var streamPerSecondStats = {\n      AUDIO_INPUT: {\n        packetsCount: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.packetsCount;\n        }),\n        packetsLost: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.packetsLost;\n        }),\n        audioLevel: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.audioLevel;\n        }),\n        jitterBufferMillis: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.jitterBufferMillis;\n        }),\n        jitterBufferDelayMilliseconds: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.jitterBufferDelayMilliseconds;\n        }),\n        concealmentEvents: agentConnectionStats.inputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.concealmentEvents;\n        })\n      },\n      AUDIO_OUTPUT: {\n        packetsCount: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.packetsCount;\n        }),\n        packetsLost: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.packetsLost;\n        }),\n        audioLevel: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.audioLevel;\n        }),\n        jitterBufferMillis: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.jitterBufferMillis;\n        }),\n        roundTripTimeMillis: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.roundTripTimeMillis;\n        }),\n        echoReturnLoss: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.echoReturnLoss;\n        }),\n        echoReturnLossEnhancement: agentConnectionStats.outputRTPStreamStatsBuffer.map(function (stats) {\n          return stats.echoReturnLossEnhancement;\n        })\n      }\n    };\n    var telemetryCallReport = _objectSpread(_objectSpread({}, callReport), {}, {\n      softphoneStreamPerSecondStatistics: streamPerSecondStats,\n      iceConnectionsLost: report.iceConnectionsLost,\n      iceConnectionsFailed: report.iceConnectionsFailed || null,\n      peerConnectionFailed: report.peerConnectionFailed || null,\n      rtcJsVersion: report.rtcJsVersion || null,\n      firstRTPTimeMillis: report.firstRTPTimeMillis || null,\n      isMediaClusterPath: report.isMediaClusterPath,\n      isPersistentPeerConnection: report.isPersistentPeerConnection,\n      isExistingPersistentPeerConnection: report.isExistingPersistentPeerConnection || false,\n      consecutiveNoAudioInputPackets: agentConnectionStats.consecutiveNoAudioInputPackets,\n      consecutiveLowInputAudioLevel: agentConnectionStats.consecutiveLowInputAudioLevel,\n      consecutiveNoAudioOutputPackets: agentConnectionStats.consecutiveNoAudioOutputPackets,\n      consecutiveLowOutputAudioLevel: agentConnectionStats.consecutiveLowOutputAudioLevel,\n      audioInputConnectedDurationSeconds: agentConnectionStats.audioInputConnectedDurationSeconds,\n      ccpMediaReadyLatencyMillis: ccpMediaReadyLatencyMillis,\n      contactSubtype: contact.getContactSubtype(),\n      vdiPlatform: vdiPlatform || null,\n      vdiMetadata: report.vdiMetadata || null,\n      vdiClientVersion: report.vdiClientVersion || (report === null || report === void 0 || (_report$citrixVersion = report.citrixVersion) === null || _report$citrixVersion === void 0 ? void 0 : _report$citrixVersion.receiver) || null,\n      userAgentData: report.userAgentData || null,\n      isConnected: isConnected,\n      consecutiveAudioOutputMuteDurationSeconds: agentConnectionStats.consecutiveAudioOutputMuteDurationSeconds,\n      streamJsVersion: connect.version,\n      skewTimeMillis: connect.core.getSkew(),\n      activePeerConnectionCount: connect.activePeerConnectionCount || null,\n      isPCMv2Path: report.isPCMv2Path || null,\n      iceCredentialSource: report.iceCredentialSource || null,\n      isContactCredentialsDifferentRegion: report.isContactCredentialsDifferentRegion || null,\n      iceRestartAttempts: report.iceRestartAttempts || 0,\n      iceRestartSuccesses: report.iceRestartSuccesses || 0,\n      iceRestartInviteRetries: report.iceRestartInviteRetries || 0,\n      iceRestartTimeMillis: report.iceRestartTimeMillis || null,\n      iceRestartFailed: report.iceRestartFailed || null,\n      // Device and browser metrics\n      microphonePermission: report.microphonePermission || null,\n      deviceMemory: report.deviceMemory || null,\n      // Audio track settings\n      noiseSuppression: (_report$noiseSuppress = report.noiseSuppression) !== null && _report$noiseSuppress !== void 0 ? _report$noiseSuppress : null,\n      autoGainControl: (_report$autoGainContr = report.autoGainControl) !== null && _report$autoGainContr !== void 0 ? _report$autoGainContr : null,\n      echoCancellation: (_report$echoCancellat = report.echoCancellation) !== null && _report$echoCancellat !== void 0 ? _report$echoCancellat : null,\n      voiceIsolation: (_report$voiceIsolatio = report.voiceIsolation) !== null && _report$voiceIsolatio !== void 0 ? _report$voiceIsolatio : null,\n      // Network metrics\n      networkEffectiveType: report.networkEffectiveType || null,\n      networkRtt: (_report$networkRtt = report.networkRtt) !== null && _report$networkRtt !== void 0 ? _report$networkRtt : null,\n      // Audio devices\n      audioInputDevices: report.audioInputDevices || null,\n      audioOutputDevices: report.audioOutputDevices || null,\n      timeSinceLastCallSeconds: report.timeSinceLastCallSeconds || null,\n      pcmCreationToFirstCallSeconds: report.pcmCreationToFirstCallSeconds || null,\n      isPersistentConnectionOnPageLoadEnabled: true,\n      allowExtendedPersistentConnection: allowExtendedPersistentConnection\n    });\n    ccpMediaReadyLatencyMillis = 0;\n    isConnected = false;\n    connect.publishSoftphoneReport({\n      contactId: contact.getContactId(),\n      ccpVersion: global.ccpVersion,\n      report: telemetryCallReport\n    });\n    logger.info(\"sent TelemetryCallReport \" + JSON.stringify(telemetryCallReport)).sendInternalLogToServer();\n  };\n  var startStatsCollectionJob = function startStatsCollectionJob(contact, rtcSession) {\n    var agentConnectionId = contact.getAgentConnection().getConnectionId();\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    rtpStatsJobMap[agentConnectionId] = window.setInterval(function () {\n      var _rtcSession$mediaStre;\n      rtcSession.getUserAudioStats().then(function (stats) {\n        var previousUserStats = agentConnectionStats.aggregatedUserAudioStats;\n        agentConnectionStats.aggregatedUserAudioStats = stats;\n        var currRTPStreamStat = getTimeSeriesStats(agentConnectionStats.aggregatedUserAudioStats, previousUserStats, AUDIO_INPUT, agentConnectionId);\n        agentConnectionStats.timeSeriesStreamStatsBuffer.push(currRTPStreamStat);\n        telemetryCallReportRTPStreamStatsBuffer(currRTPStreamStat, agentConnectionId);\n      }, function (error) {\n        logger.debug(\"Failed to get user audio stats.\", error).sendInternalLogToServer();\n      });\n      rtcSession.getRemoteAudioStats().then(function (stats) {\n        var previousRemoteStats = agentConnectionStats.aggregatedRemoteAudioStats;\n        agentConnectionStats.aggregatedRemoteAudioStats = stats;\n        var currRTPStreamStat = getTimeSeriesStats(agentConnectionStats.aggregatedRemoteAudioStats, previousRemoteStats, AUDIO_OUTPUT, agentConnectionId);\n        agentConnectionStats.timeSeriesStreamStatsBuffer.push(currRTPStreamStat);\n        telemetryCallReportRTPStreamStatsBuffer(currRTPStreamStat, agentConnectionId);\n      }, function (error) {\n        logger.debug(\"Failed to get remote audio stats.\", error).sendInternalLogToServer();\n      });\n      if (rtcSession !== null && rtcSession !== void 0 && (_rtcSession$mediaStre = rtcSession.mediaStream) !== null && _rtcSession$mediaStre !== void 0 && (_rtcSession$mediaStre = _rtcSession$mediaStre.getAudioTracks()) !== null && _rtcSession$mediaStre !== void 0 && (_rtcSession$mediaStre = _rtcSession$mediaStre[0]) !== null && _rtcSession$mediaStre !== void 0 && _rtcSession$mediaStre.enabled) {\n        agentConnectionStats.consecutiveAudioOutputMuteDurationSeconds = 0;\n      } else {\n        agentConnectionStats.consecutiveAudioOutputMuteDurationSeconds++;\n      }\n    }, 1000);\n  };\n  var startStatsReportingJob = function startStatsReportingJob(contact) {\n    var agentConnectionId = contact.getAgentConnection().getConnectionId();\n    reportStatsJobMap[agentConnectionId] = window.setInterval(function () {\n      sendSoftphoneMetrics(contact);\n    }, statsReportingJobIntervalMs);\n  };\n  var getTimeSeriesStats = function getTimeSeriesStats(currentStats, previousStats, streamType, agentConnectionId) {\n    if (previousStats && currentStats) {\n      var packetsLost = currentStats.packetsLost > previousStats.packetsLost ? currentStats.packetsLost - previousStats.packetsLost : 0;\n      var packetsCount = currentStats.packetsCount > previousStats.packetsCount ? currentStats.packetsCount - previousStats.packetsCount : 0;\n      checkConsecutiveNoPackets(packetsCount, streamType, agentConnectionId);\n      checkConsecutiveNoAudio(currentStats.audioLevel, streamType, agentConnectionId);\n      var concealmentEvents = currentStats.concealmentEvents > previousStats.concealmentEvents ? currentStats.concealmentEvents - previousStats.concealmentEvents : 0;\n      // Calculate per-second jitter buffer delay\n      var jitterBufferDelayMilliseconds = null;\n      if (currentStats.jbMilliseconds != null && previousStats.jbMilliseconds != null && currentStats.jitterBufferEmittedCount != null && previousStats.jitterBufferEmittedCount != null) {\n        var deltaJbMs = currentStats.jbMilliseconds > previousStats.jbMilliseconds ? currentStats.jbMilliseconds - previousStats.jbMilliseconds : 0;\n        var deltaCount = currentStats.jitterBufferEmittedCount > previousStats.jitterBufferEmittedCount ? currentStats.jitterBufferEmittedCount - previousStats.jitterBufferEmittedCount : 0;\n        jitterBufferDelayMilliseconds = deltaCount > 0 ? Math.floor(deltaJbMs / deltaCount) : 0;\n      }\n      return new RTPStreamStats(currentStats.timestamp, packetsLost, packetsCount, streamType, currentStats.audioLevel, currentStats.jitterMilliseconds, currentStats.rttMilliseconds, jitterBufferDelayMilliseconds, currentStats.echoReturnLoss, currentStats.echoReturnLossEnhancement, concealmentEvents);\n    } else {\n      return new RTPStreamStats(currentStats.timestamp, currentStats.packetsLost, currentStats.packetsCount, streamType, currentStats.audioLevel, currentStats.jitterMilliseconds, currentStats.rttMilliseconds,\n      // Guarded like the delta branch above, which also yields 0 when nothing was\n      // emitted. Unguarded this produces NaN/Infinity, since RtcJS defaults the\n      // emitted count to 0 before the jitter buffer has produced any samples.\n      currentStats.jitterBufferEmittedCount > 0 && currentStats.jbMilliseconds != null ? Math.floor(currentStats.jbMilliseconds / currentStats.jitterBufferEmittedCount) : 0, currentStats.echoReturnLoss, currentStats.echoReturnLossEnhancement, 0);\n    }\n  };\n  var telemetryCallReportRTPStreamStatsBuffer = function telemetryCallReportRTPStreamStatsBuffer(rtpStreamStats, agentConnectionId) {\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    if (rtpStreamStats.softphoneStreamType === AUDIO_INPUT) {\n      while (agentConnectionStats.inputRTPStreamStatsBuffer.length >= MAX_RTP_STREAM_STATS_BUFFER_SIZE) {\n        agentConnectionStats.inputRTPStreamStatsBuffer.shift();\n      }\n      agentConnectionStats.inputRTPStreamStatsBuffer.push(rtpStreamStats);\n    } else if (rtpStreamStats.softphoneStreamType === AUDIO_OUTPUT) {\n      while (agentConnectionStats.outputRTPStreamStatsBuffer.length >= MAX_RTP_STREAM_STATS_BUFFER_SIZE) {\n        agentConnectionStats.outputRTPStreamStatsBuffer.shift();\n      }\n      agentConnectionStats.outputRTPStreamStatsBuffer.push(rtpStreamStats);\n    }\n  };\n  var checkConsecutiveNoPackets = function checkConsecutiveNoPackets(packetsCount, streamType, agentConnectionId) {\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    if (streamType === AUDIO_INPUT) {\n      agentConnectionStats.audioInputConnectedDurationSeconds++;\n      if (packetsCount <= 0) {\n        agentConnectionStats.consecutiveNoAudioInputPackets++;\n      } else {\n        agentConnectionStats.consecutiveNoAudioInputPackets = 0;\n      }\n    } else if (streamType === AUDIO_OUTPUT) {\n      if (packetsCount <= 0) {\n        agentConnectionStats.consecutiveNoAudioOutputPackets++;\n      } else {\n        agentConnectionStats.consecutiveNoAudioOutputPackets = 0;\n      }\n    }\n  };\n  var checkConsecutiveNoAudio = function checkConsecutiveNoAudio(audioLevel, streamType, agentConnectionId) {\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    if (streamType === AUDIO_INPUT) {\n      if (audioLevel !== null && audioLevel <= LOW_AUDIO_LEVEL_THRESHOLD) {\n        agentConnectionStats.consecutiveLowInputAudioLevel++;\n      } else {\n        agentConnectionStats.consecutiveLowInputAudioLevel = 0;\n      }\n    } else if (streamType === AUDIO_OUTPUT) {\n      if (audioLevel !== null && audioLevel <= LOW_AUDIO_LEVEL_THRESHOLD) {\n        agentConnectionStats.consecutiveLowOutputAudioLevel++;\n      } else {\n        agentConnectionStats.consecutiveLowOutputAudioLevel = 0;\n      }\n    }\n  };\n  var stopJob = function stopJob(task) {\n    if (task !== null) {\n      window.clearInterval(task);\n    }\n    return null;\n  };\n  var stopJobsAndReport = function stopJobsAndReport(contact, sessionReport) {\n    var agentConnectionId = contact.getAgentConnection().getConnectionId();\n    var rtpStatsJob = rtpStatsJobMap[agentConnectionId];\n    if (rtpStatsJob) {\n      stopJob(rtpStatsJob);\n      delete rtpStatsJobMap[agentConnectionId];\n    }\n    var reportStatsJob = reportStatsJobMap[agentConnectionId];\n    if (reportStatsJob) {\n      stopJob(reportStatsJob);\n      delete reportStatsJobMap[agentConnectionId];\n    }\n    var agentConnectionStats = getAgentConnectionStats(agentConnectionId);\n    sendSoftphoneReport(contact, sessionReport, addStreamTypeToStats(agentConnectionStats.aggregatedUserAudioStats, AUDIO_INPUT), addStreamTypeToStats(agentConnectionStats.aggregatedRemoteAudioStats, AUDIO_OUTPUT));\n    sendSoftphoneMetrics(contact);\n    cleanupAgentConnectionStats(agentConnectionId);\n  };\n\n  /**\n  *   Adding streamtype parameter on top of RTCJS RTStats object.\n  */\n  var RTPStreamStats = function RTPStreamStats(timestamp, packetsLost, packetsCount, streamType, audioLevel, jitterBufferMillis, roundTripTimeMillis, jitterBufferDelayMilliseconds, echoReturnLoss, echoReturnLossEnhancement, concealmentEvents) {\n    this.softphoneStreamType = streamType;\n    this.timestamp = timestamp;\n    this.packetsLost = packetsLost;\n    this.packetsCount = packetsCount;\n    this.audioLevel = audioLevel;\n    this.jitterBufferMillis = jitterBufferMillis;\n    this.roundTripTimeMillis = roundTripTimeMillis;\n    this.jitterBufferDelayMilliseconds = jitterBufferDelayMilliseconds;\n    this.echoReturnLoss = echoReturnLoss;\n    this.echoReturnLossEnhancement = echoReturnLossEnhancement;\n    this.concealmentEvents = concealmentEvents;\n  };\n  var addStreamTypeToStats = function addStreamTypeToStats(stats, streamType) {\n    stats = stats || {};\n    // Calculate overall average jitter buffer delay for AUDIO_INPUT\n    var jitterBufferDelayMilliseconds = null;\n    if (streamType === AUDIO_INPUT && stats.jbMilliseconds && stats.jitterBufferEmittedCount > 0) {\n      jitterBufferDelayMilliseconds = Math.floor(stats.jbMilliseconds / stats.jitterBufferEmittedCount);\n    }\n    return new RTPStreamStats(stats.timestamp, stats.packetsLost, stats.packetsCount, streamType, stats.audioLevel, stats.jitterMilliseconds, stats.rttMilliseconds, jitterBufferDelayMilliseconds, stats.echoReturnLoss, stats.echoReturnLossEnhancement, stats.concealmentEvents);\n  };\n  var SoftphoneLogger = function SoftphoneLogger(logger) {\n    this._originalLogger = logger;\n    var self = this;\n    this._tee = function (level, method) {\n      return function () {\n        // call the original logger object to output to browser\n        //Connect logger follows %s format to print objects to console.\n        var args = Array.prototype.slice.call(arguments[0]);\n        var format = \"\";\n        args.forEach(function () {\n          format = format + \" %s\";\n        });\n        return method.apply(self._originalLogger, [connect.LogComponent.SOFTPHONE, format].concat(args));\n      };\n    };\n  };\n  SoftphoneLogger.prototype.debug = function () {\n    return this._tee(1, this._originalLogger.debug)(arguments);\n  };\n  SoftphoneLogger.prototype.info = function () {\n    return this._tee(2, this._originalLogger.info)(arguments);\n  };\n  SoftphoneLogger.prototype.log = function () {\n    return this._tee(3, this._originalLogger.log)(arguments);\n  };\n  SoftphoneLogger.prototype.warn = function () {\n    return this._tee(4, this._originalLogger.warn)(arguments);\n  };\n  SoftphoneLogger.prototype.error = function () {\n    return this._tee(5, this._originalLogger.error)(arguments);\n  };\n  connect.SoftphoneManager = _SoftphoneManager;\n})();\n\n/***/ },\n\n/***/ 344\n() {\n\n/*! @license sprintf.js | Copyright (c) 2007-2013 Alexandru Marasteanu <hello at alexei dot ro> | 3 clause BSD license */\n\n(function () {\n  var ctx = this || globalThis;\n  var _sprintf = function sprintf() {\n    if (!_sprintf.cache.hasOwnProperty(arguments[0])) {\n      _sprintf.cache[arguments[0]] = _sprintf.parse(arguments[0]);\n    }\n    return _sprintf.format.call(null, _sprintf.cache[arguments[0]], arguments);\n  };\n  _sprintf.format = function (parse_tree, argv) {\n    var cursor = 1,\n      tree_length = parse_tree.length,\n      node_type = '',\n      arg,\n      output = [],\n      i,\n      k,\n      match,\n      pad,\n      pad_character,\n      pad_length;\n    for (i = 0; i < tree_length; i++) {\n      node_type = get_type(parse_tree[i]);\n      if (node_type === 'string') {\n        output.push(parse_tree[i]);\n      } else if (node_type === 'array') {\n        match = parse_tree[i]; // convenience purposes only\n        if (match[2]) {\n          // keyword argument\n          arg = argv[cursor];\n          for (k = 0; k < match[2].length; k++) {\n            if (!arg.hasOwnProperty(match[2][k])) {\n              throw _sprintf('[sprintf] property \"%s\" does not exist', match[2][k]);\n            }\n            arg = arg[match[2][k]];\n          }\n        } else if (match[1]) {\n          // positional argument (explicit)\n          arg = argv[match[1]];\n        } else {\n          // positional argument (implicit)\n          arg = argv[cursor++];\n        }\n        if (/[^s]/.test(match[8]) && get_type(arg) != 'number') {\n          throw _sprintf('[sprintf] expecting number but found %s', get_type(arg));\n        }\n        switch (match[8]) {\n          case 'b':\n            arg = arg.toString(2);\n            break;\n          case 'c':\n            arg = String.fromCharCode(arg);\n            break;\n          case 'd':\n            arg = parseInt(arg, 10);\n            break;\n          case 'e':\n            arg = match[7] ? arg.toExponential(match[7]) : arg.toExponential();\n            break;\n          case 'f':\n            arg = match[7] ? parseFloat(arg).toFixed(match[7]) : parseFloat(arg);\n            break;\n          case 'o':\n            arg = arg.toString(8);\n            break;\n          case 's':\n            arg = (arg = String(arg)) && match[7] ? arg.substring(0, match[7]) : arg;\n            break;\n          case 'u':\n            arg = arg >>> 0;\n            break;\n          case 'x':\n            arg = arg.toString(16);\n            break;\n          case 'X':\n            arg = arg.toString(16).toUpperCase();\n            break;\n        }\n        arg = /[def]/.test(match[8]) && match[3] && arg >= 0 ? '+' + arg : arg;\n        pad_character = match[4] ? match[4] == '0' ? '0' : match[4].charAt(1) : ' ';\n        pad_length = match[6] - String(arg).length;\n        pad = match[6] ? str_repeat(pad_character, pad_length) : '';\n        output.push(match[5] ? arg + pad : pad + arg);\n      }\n    }\n    return output.join('');\n  };\n  _sprintf.cache = {};\n  _sprintf.parse = function (fmt) {\n    var _fmt = fmt,\n      match = [],\n      parse_tree = [],\n      arg_names = 0;\n    while (_fmt) {\n      if ((match = /^[^\\x25]+/.exec(_fmt)) !== null) {\n        parse_tree.push(match[0]);\n      } else if ((match = /^\\x25{2}/.exec(_fmt)) !== null) {\n        parse_tree.push('%');\n      } else if ((match = /^\\x25(?:([1-9]\\d*)\\$|\\(([^\\)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-fosuxX])/.exec(_fmt)) !== null) {\n        if (match[2]) {\n          arg_names |= 1;\n          var field_list = [],\n            replacement_field = match[2],\n            field_match = [];\n          if ((field_match = /^([a-z_][a-z_\\d]*)/i.exec(replacement_field)) !== null) {\n            field_list.push(field_match[1]);\n            while ((replacement_field = replacement_field.substring(field_match[0].length)) !== '') {\n              if ((field_match = /^\\.([a-z_][a-z_\\d]*)/i.exec(replacement_field)) !== null) {\n                field_list.push(field_match[1]);\n              } else if ((field_match = /^\\[(\\d+)\\]/.exec(replacement_field)) !== null) {\n                field_list.push(field_match[1]);\n              } else {\n                throw '[sprintf] huh?';\n              }\n            }\n          } else {\n            throw '[sprintf] huh?';\n          }\n          match[2] = field_list;\n        } else {\n          arg_names |= 2;\n        }\n        if (arg_names === 3) {\n          throw '[sprintf] mixing positional and named placeholders is not (yet) supported';\n        }\n        parse_tree.push(match);\n      } else {\n        throw '[sprintf] huh?';\n      }\n      _fmt = _fmt.substring(match[0].length);\n    }\n    return parse_tree;\n  };\n  var vsprintf = function vsprintf(fmt, argv, _argv) {\n    _argv = argv.slice(0);\n    _argv.splice(0, 0, fmt);\n    return _sprintf.apply(null, _argv);\n  };\n\n  /**\n   * helpers\n   */\n  function get_type(variable) {\n    return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase();\n  }\n  function str_repeat(input, multiplier) {\n    for (var output = []; multiplier > 0; output[--multiplier] = input) {/* do nothing */}\n    return output.join('');\n  }\n\n  /**\n   * export to either browser or node.js\n   */\n  ctx.sprintf = _sprintf;\n  ctx.vsprintf = vsprintf;\n})();\n\n/***/ },\n\n/***/ 431\n() {\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\nfunction _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _iterableToArray(r) { if (\"undefined\" != typeof Symbol && null != r[Symbol.iterator] || null != r[\"@@iterator\"]) return Array.from(r); }\nfunction _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n\n  /**---------------------------------------------------------------\n   * class Stream\n   *\n   * Represents an object from which messages can be read and to which\n   * messages can be sent.\n   */\n  var Stream = function Stream() {};\n\n  /**\n   * Send a message to the stream.  This method must be implemented by subclasses.\n   */\n  Stream.prototype.send = function (message) {\n    throw new connect.NotImplementedError();\n  };\n\n  /**\n   * Provide a method to be called when messages are received from this stream.\n   * This method must be implemented by subclasses.\n   */\n  Stream.prototype.onMessage = function (f) {\n    throw new connect.NotImplementedError();\n  };\n\n  /**---------------------------------------------------------------\n   * class NullStream extends Stream\n   *\n   * A null stream which provides no message sending or receiving facilities.\n   */\n  var NullStream = function NullStream() {\n    Stream.call(this);\n  };\n  NullStream.prototype = Object.create(Stream.prototype);\n  NullStream.prototype.constructor = NullStream;\n  NullStream.prototype.onMessage = function (f) {};\n  NullStream.prototype.send = function (message) {};\n\n  /**---------------------------------------------------------------\n   * class WindowStream extends Stream\n   *\n   * A stream for communicating with a window object.  The domain provided\n   * must match the allowed message domains of the downstream receiver\n   * or messages will be rejected, see https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage\n   * for more info.\n   */\n  var WindowStream = function WindowStream(win, domain) {\n    Stream.call(this);\n    this.window = win;\n    this.domain = domain || '*';\n  };\n  WindowStream.prototype = Object.create(Stream.prototype);\n  WindowStream.prototype.constructor = WindowStream;\n  WindowStream.prototype.send = function (message) {\n    this.window.postMessage(message, this.domain);\n  };\n  WindowStream.prototype.onMessage = function (f) {\n    this.window.addEventListener(\"message\", f);\n  };\n\n  /**---------------------------------------------------------------\n   * class WindowIOStream extends Stream\n   *\n   * A stream used by IFrame/popup windows to communicate with their parents\n   * and vise versa.\n   *\n   * This object encapsulates the fact that incoming and outgoing messages\n   * arrive on different windows and allows this to be managed as a single\n   * Stream object.\n   */\n  var WindowIOStream = function WindowIOStream(inputwin, outputwin, domain) {\n    Stream.call(this);\n    this.input = inputwin;\n    this.output = outputwin;\n    this.domain = domain || '*';\n  };\n  WindowIOStream.prototype = Object.create(Stream.prototype);\n  WindowIOStream.prototype.constructor = WindowIOStream;\n  WindowIOStream.prototype.send = function (message) {\n    this.output.postMessage(message, this.domain);\n  };\n  WindowIOStream.prototype.onMessage = function (f) {\n    var _this = this;\n    this.input.addEventListener(\"message\", function (message) {\n      if (message.source === _this.output) {\n        f(message);\n      }\n    });\n  };\n\n  /**---------------------------------------------------------------\n   * class PortStream extends Stream\n   *\n   * A stream wrapping an HTML5 Worker port.  This could be the port\n   * used to connect to a Worker or one of the multitude of ports\n   * made available to a SharedWorker for communication back to\n   * its connected clients.\n   */\n  var PortStream = function PortStream(port) {\n    Stream.call(this);\n    this.port = port;\n    this.id = connect.randomId();\n  };\n  PortStream.prototype = Object.create(Stream.prototype);\n  PortStream.prototype.constructor = PortStream;\n  PortStream.prototype.send = function (message) {\n    this.port.postMessage(message);\n  };\n  PortStream.prototype.onMessage = function (f) {\n    this.port.addEventListener(\"message\", f);\n  };\n  PortStream.prototype.getId = function () {\n    return this.id;\n  };\n\n  /**---------------------------------------------------------------\n   * class StreamMultiplexer extends Stream\n   *\n   * A wrapper for multiplexed downstream communication with\n   * multiple streams at once.  Mainly useful for the SharedWorker to\n   * broadcast events to many PortStream objects at once.\n   */\n  var StreamMultiplexer = function StreamMultiplexer(streams) {\n    Stream.call(this);\n    this.streamMap = streams ? connect.index(streams, function (s) {\n      return s.getId();\n    }) : {};\n    this.messageListeners = [];\n  };\n  StreamMultiplexer.prototype = Object.create(Stream.prototype);\n  StreamMultiplexer.prototype.constructor = StreamMultiplexer;\n\n  /**\n   * Send a message to all ports in the multiplexer.\n   */\n  StreamMultiplexer.prototype.send = function (message) {\n    this.getStreams().forEach(function (stream) {\n      try {\n        stream.send(message);\n      } catch (e) {\n        // Couldn't send message to one of the downstreams for some reason...\n        // No reliable logging possible without further failures,\n        // no recovery, just eat it.\n      }\n    });\n  };\n\n  /**\n   * Register a method which will be called when a message is received from\n   * any of the downstreams.\n   */\n  StreamMultiplexer.prototype.onMessage = function (f) {\n    this.messageListeners.push(f);\n\n    // Update existing streams with the new listener.\n    this.getStreams().forEach(function (stream) {\n      stream.onMessage(f);\n    });\n  };\n\n  /**\n   * Add a stream to the multiplexer.\n   */\n  StreamMultiplexer.prototype.addStream = function (stream) {\n    this.streamMap[stream.getId()] = stream;\n\n    // Update stream with existing listeners.\n    this.messageListeners.forEach(function (messageListener) {\n      stream.onMessage(messageListener);\n    });\n  };\n\n  /**\n   * Remove the given downstream.  This is typically used in response\n   * to the SharedWorker's onclose event, indicating that a consumer\n   * tab has been closed.\n   */\n  StreamMultiplexer.prototype.removeStream = function (stream) {\n    delete this.streamMap[stream.getId()];\n  };\n\n  /**\n   * Get a list of streams in the multiplexer.\n   */\n  StreamMultiplexer.prototype.getStreams = function (stream) {\n    return connect.values(this.streamMap);\n  };\n\n  /**\n   * Get the stream matching the given port.\n   */\n  StreamMultiplexer.prototype.getStreamForPort = function (port) {\n    return connect.find(this.getStreams(), function (s) {\n      return s.port === port;\n    });\n  };\n\n  /**---------------------------------------------------------------\n   * class Conduit\n   *\n   * An object which bridges an upstream and a downstream, allowing messages\n   * to be passed to and from each and providing an event bus for event\n   * subscriptions to be made upstream and downstream.\n   */\n  var Conduit = function Conduit(name, upstream, downstream) {\n    this.name = name;\n    this.upstream = upstream || new NullStream();\n    this.downstream = downstream || new NullStream();\n    this.downstreamBus = new connect.EventBus();\n    this.upstreamBus = new connect.EventBus();\n    this.upstream.onMessage(connect.hitch(this, this._dispatchEvent, this.upstreamBus));\n    this.downstream.onMessage(connect.hitch(this, this._dispatchEvent, this.downstreamBus));\n\n    // Only relevant for Global Resiliency\n    this.active = true;\n    this.allowedEvents = [].concat(_toConsumableArray(Object.entries(connect.GlobalResiliencyEvents).map(function (keyValue) {\n      return keyValue[1];\n    })), [connect.EventType.CONFIGURE, connect.EventType.SYNCHRONIZE, connect.EventType.ACKNOWLEDGE, connect.EventType.LOG, connect.EventType.SERVER_BOUND_INTERNAL_LOG, connect.EventType.DOWNLOAD_LOG_FROM_CCP]);\n  };\n  Conduit.prototype.onUpstream = function (eventName, f) {\n    connect.assertNotNull(eventName, 'eventName');\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.upstreamBus.subscribe(eventName, f);\n  };\n  Conduit.prototype.onAllUpstream = function (f) {\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.upstreamBus.subscribeAll(f);\n  };\n  Conduit.prototype.onDownstream = function (eventName, f) {\n    connect.assertNotNull(eventName, 'eventName');\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.downstreamBus.subscribe(eventName, f);\n  };\n  Conduit.prototype.onAllDownstream = function (f) {\n    connect.assertNotNull(f, 'f');\n    connect.assertTrue(connect.isFunction(f), 'f must be a function');\n    return this.downstreamBus.subscribeAll(f);\n  };\n  Conduit.prototype.sendUpstream = function (eventName, data) {\n    connect.assertNotNull(eventName, 'eventName');\n    this.upstream.send({\n      event: eventName,\n      data: data\n    });\n  };\n  Conduit.prototype.sendDownstream = function (eventName, data) {\n    connect.assertNotNull(eventName, 'eventName');\n    this.downstream.send({\n      event: eventName,\n      data: data\n    });\n  };\n  Conduit.prototype._dispatchEvent = function (bus, messageEvent) {\n    var message = messageEvent.data;\n    if (message.event) {\n      bus.trigger(message.event, message.data);\n    }\n  };\n\n  /**\n   * Returns a closure which passes events upstream.\n   *\n   * Usage:\n   * conduit.onDownstream(\"MyEvent\", conduit.passUpstream());\n   */\n  Conduit.prototype.passUpstream = function () {\n    var self = this;\n    return function (data, eventName) {\n      if (!self.active && !self.allowedEvents.includes(eventName)) {\n        connect.getLog().debug(\"[GR] Conduit \".concat(self.name, \" has blocked event \").concat(eventName, \" from going upstream.\")).sendInternalLogToServer();\n        return;\n      }\n      self.upstream.send({\n        event: eventName,\n        data: data\n      });\n    };\n  };\n\n  /**\n   * Returns a closure which passes events downstream.\n   *\n   * Usage:\n   * conduit.onUpstream(\"MyEvent\", conduit.passDownstream());\n   */\n  Conduit.prototype.passDownstream = function () {\n    var self = this;\n    return function (data, eventName) {\n      if (!self.active && !self.allowedEvents.includes(eventName)) {\n        connect.getLog().debug(\"[GR] Conduit \".concat(self.name, \" has blocked event \").concat(eventName, \" from going downstream.\")).sendInternalLogToServer();\n        return;\n      }\n      self.downstream.send({\n        event: eventName,\n        data: data\n      });\n    };\n  };\n\n  /**\n   * Shutdown the conduit's event busses and remove all subscriptions.\n   */\n  Conduit.prototype.shutdown = function () {\n    this.upstreamBus.unsubscribeAll();\n    this.downstreamBus.unsubscribeAll();\n  };\n  Conduit.prototype.setActive = function () {\n    connect.getLog().info(\"[GR] Setting CCP conduit as active\");\n    this.active = true;\n  };\n  Conduit.prototype.setInactive = function () {\n    connect.getLog().info(\"[GR] Setting CCP conduit as inactive\");\n    this.active = false;\n  };\n\n  /**---------------------------------------------------------------\n   * class IFrameConduit extends Conduit\n   *\n   * Creates a conduit for the given IFrame element.\n   */\n  var IFrameConduit = function IFrameConduit(name, window, iframe, domain) {\n    Conduit.call(this, name, new WindowIOStream(window, iframe.contentWindow, domain || '*'), null);\n  };\n  IFrameConduit.prototype = Object.create(Conduit.prototype);\n  IFrameConduit.prototype.constructor = IFrameConduit;\n  var GRProxyIframeConduit = /*#__PURE__*/function () {\n    function GRProxyIframeConduit(window, iframeConfigs, defaultActiveCCPUrl) {\n      var _this2 = this;\n      _classCallCheck(this, GRProxyIframeConduit);\n      this.iframeLabelMap = {};\n      var defaultActiveOrigin = new URL(defaultActiveCCPUrl).origin;\n      this.activeRegionUrl = defaultActiveOrigin;\n      this.conduits = iframeConfigs.map(function (config) {\n        var iframe = config.iframe,\n          label = config.label;\n        var iframeConduit = new IFrameConduit(iframe.src, window, iframe);\n        iframeConduit.iframe = iframe;\n        var _URL = new URL(iframe.src),\n          origin = _URL.origin;\n        iframeConduit.name = origin;\n        _this2.iframeLabelMap[origin] = label;\n        return iframeConduit;\n      });\n      this.setActiveConduit(defaultActiveOrigin);\n    }\n    return _createClass(GRProxyIframeConduit, [{\n      key: \"onUpstream\",\n      value: function onUpstream(eventName, f) {\n        var subs = this.conduits.map(function (conduit) {\n          return conduit.onUpstream(eventName, f);\n        });\n        return {\n          unsubscribe: function unsubscribe() {\n            return subs.forEach(function (sub) {\n              return sub.unsubscribe();\n            });\n          }\n        };\n      }\n    }, {\n      key: \"onAllUpstream\",\n      value: function onAllUpstream(f) {\n        var subs = this.conduits.map(function (conduit) {\n          return conduit.onAllUpstream(f);\n        });\n        return {\n          unsubscribe: function unsubscribe() {\n            return subs.forEach(function (sub) {\n              return sub.unsubscribe();\n            });\n          }\n        };\n      }\n    }, {\n      key: \"onDownstream\",\n      value: function onDownstream(eventName, f) {\n        var subs = this.conduits.map(function (conduit) {\n          return conduit.onDownstream(eventName, f);\n        });\n        return {\n          unsubscribe: function unsubscribe() {\n            return subs.forEach(function (sub) {\n              return sub.unsubscribe();\n            });\n          }\n        };\n      }\n    }, {\n      key: \"onAllDownstream\",\n      value: function onAllDownstream(f) {\n        var subs = this.conduits.map(function (conduit) {\n          return conduit.onAllDownstream(f);\n        });\n        return {\n          unsubscribe: function unsubscribe() {\n            return subs.forEach(function (sub) {\n              return sub.unsubscribe();\n            });\n          }\n        };\n      }\n    }, {\n      key: \"sendUpstream\",\n      value: function sendUpstream(eventName, data) {\n        this.conduits.forEach(function (conduit) {\n          conduit.sendUpstream(eventName, data);\n        });\n      }\n    }, {\n      key: \"sendDownstream\",\n      value: function sendDownstream(eventName, data) {\n        this.conduits.forEach(function (conduit) {\n          conduit.sendDownstream(eventName, data);\n        });\n      }\n\n      // Relay an event from one shared worker to another\n    }, {\n      key: \"relayUpstream\",\n      value: function relayUpstream(eventName) {\n        var self = this;\n        this.conduits.forEach(function (conduit) {\n          conduit.onUpstream(eventName, function (data) {\n            var otherConduit = self.getOtherConduit(conduit);\n            otherConduit.sendUpstream(eventName, data);\n            connect.getLog().info(\"Relayed event \".concat(eventName, \" from \").concat(conduit.name, \" to \").concat(otherConduit.name, \" shared worker\")).withObject({\n              data: data\n            }).sendInternalLogToServer();\n          });\n        });\n      }\n    }, {\n      key: \"getAllConduits\",\n      value: function getAllConduits() {\n        return this.conduits;\n      }\n    }, {\n      key: \"setActiveConduit\",\n      value: function setActiveConduit(activeRegionUrl) {\n        var _this3 = this;\n        var newActiveConduit = this.conduits.find(function (conduit) {\n          return conduit.name === activeRegionUrl;\n        });\n        if (!newActiveConduit) {\n          connect.getLog().error(\"[GR] No conduit found with the given ccpUrl: \".concat(activeRegionUrl)).sendInternalLogToServer();\n          return;\n        }\n        this.conduits.forEach(function (conduit) {\n          if (conduit.name === activeRegionUrl) {\n            _this3.activeRegionUrl = activeRegionUrl;\n\n            // Update member variables in case customer directly referencing those  \n            _this3.name = conduit.name;\n            _this3.upstream = conduit.upstream;\n            _this3.downstream = conduit.downstream;\n            _this3.upstreamBus = conduit.upstreamBus;\n            _this3.downstreamBus = conduit.downstreamBus;\n          }\n        });\n        connect.getLog().info(\"[GR] Switched to active conduit \".concat(this.getActiveConduit().name)).sendInternalLogToServer();\n      }\n    }, {\n      key: \"getActiveConduit\",\n      value: function getActiveConduit() {\n        var _this4 = this;\n        return this.conduits.find(function (conduit) {\n          return conduit.name === _this4.activeRegionUrl;\n        });\n      }\n    }, {\n      key: \"getInactiveConduit\",\n      value: function getInactiveConduit() {\n        var _this5 = this;\n        return this.conduits.find(function (conduit) {\n          return conduit.name !== _this5.activeRegionUrl;\n        });\n      }\n    }, {\n      key: \"getOtherConduit\",\n      value: function getOtherConduit(conduit) {\n        return this.conduits.find(function (otherConduit) {\n          return conduit.name !== otherConduit.name;\n        });\n      }\n    }, {\n      key: \"getConduitByRegion\",\n      value: function getConduitByRegion(region) {\n        return this.conduits.find(function (conduit) {\n          return conduit.region === region;\n        });\n      }\n    }, {\n      key: \"getConduitByName\",\n      value: function getConduitByName(name) {\n        return this.conduits.find(function (conduit) {\n          return conduit.name === name;\n        });\n      }\n    }]);\n  }();\n  connect.Stream = Stream;\n  connect.NullStream = NullStream;\n  connect.WindowStream = WindowStream;\n  connect.WindowIOStream = WindowIOStream;\n  connect.PortStream = PortStream;\n  connect.StreamMultiplexer = StreamMultiplexer;\n  connect.Conduit = Conduit;\n  connect.IFrameConduit = IFrameConduit;\n  connect.GRProxyIframeConduit = GRProxyIframeConduit;\n})();\n\n/***/ },\n\n/***/ 830\n() {\n\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n\n  /**-------------------------------------------------------------------------\n   * GraphLink <<abstract class>>\n   *\n   * Represents the association of one or more attributes to a state transition.\n   */\n  var GraphLink = function GraphLink(fromState, toState) {\n    connect.assertNotNull(fromState, 'fromState');\n    connect.assertNotNull(toState, 'toState');\n    this.fromState = fromState;\n    this.toState = toState;\n  };\n  GraphLink.prototype.getAssociations = function (context) {\n    throw connect.NotImplementedError();\n  };\n  GraphLink.prototype.getFromState = function () {\n    return this.fromState;\n  };\n  GraphLink.prototype.getToState = function () {\n    return this.toState;\n  };\n\n  /**-------------------------------------------------------------------------\n   * DirectGraphLink <<concrete class>> extends GraphLink\n   *\n   * Represents the by-value representation of one or more attributes to a\n   * state transition.\n   */\n  var DirectGraphLink = function DirectGraphLink(fromState, toState, associations) {\n    connect.assertNotNull(fromState, 'fromState');\n    connect.assertNotNull(toState, 'toState');\n    connect.assertNotNull(associations, 'associations');\n    GraphLink.call(this, fromState, toState);\n    this.associations = associations;\n  };\n  DirectGraphLink.prototype = Object.create(GraphLink.prototype);\n  DirectGraphLink.prototype.constructor = DirectGraphLink;\n  DirectGraphLink.prototype.getAssociations = function (context) {\n    return this.associations;\n  };\n\n  /**\n   * FunctionalGraphLink <<concrete class>> extends GraphLink\n   *\n   * Represents a functional association of one or more attributes to a\n   * state transition.\n   */\n  var FunctionalGraphLink = function FunctionalGraphLink(fromState, toState, closure) {\n    connect.assertNotNull(fromState, 'fromState');\n    connect.assertNotNull(toState, 'toState');\n    connect.assertNotNull(closure, 'closure');\n    connect.assertTrue(connect.isFunction(closure), 'closure must be a function');\n    GraphLink.call(this, fromState, toState);\n    this.closure = closure;\n  };\n  FunctionalGraphLink.prototype = Object.create(GraphLink.prototype);\n  FunctionalGraphLink.prototype.constructor = FunctionalGraphLink;\n  FunctionalGraphLink.prototype.getAssociations = function (context) {\n    return this.closure(context, this.getFromState(), this.getToState());\n  };\n\n  /**-------------------------------------------------------------------------\n   * EventGraph <<class>>\n   *\n   * Builds a map of associations from one state to another in context of a\n   * particular object.  The associations can be direct (one or more values)\n   * or functional (a method returning one or more values), and are used to\n   * provide additional contextual event hooks for the UI to consume.\n   */\n  var EventGraph = function EventGraph() {\n    this.fromMap = {};\n  };\n  EventGraph.ANY = \"<<any>>\";\n  EventGraph.prototype.assoc = function (fromStateObj, toStateObj, assocObj) {\n    var self = this;\n    if (!fromStateObj) {\n      throw new Error(\"fromStateObj is not defined.\");\n    }\n    if (!toStateObj) {\n      throw new Error(\"toStateObj is not defined.\");\n    }\n    if (!assocObj) {\n      throw new Error(\"assocObj is not defined.\");\n    }\n    if (fromStateObj instanceof Array) {\n      fromStateObj.forEach(function (fromState) {\n        self.assoc(fromState, toStateObj, assocObj);\n      });\n    } else if (toStateObj instanceof Array) {\n      toStateObj.forEach(function (toState) {\n        self.assoc(fromStateObj, toState, assocObj);\n      });\n    } else {\n      if (typeof assocObj === \"function\") {\n        this._addAssociation(new FunctionalGraphLink(fromStateObj, toStateObj, assocObj));\n      } else if (assocObj instanceof Array) {\n        this._addAssociation(new DirectGraphLink(fromStateObj, toStateObj, assocObj));\n      } else {\n        this._addAssociation(new DirectGraphLink(fromStateObj, toStateObj, [assocObj]));\n      }\n    }\n    return this;\n  };\n  EventGraph.prototype.getAssociations = function (context, fromState, toState) {\n    connect.assertNotNull(fromState, 'fromState');\n    connect.assertNotNull(toState, 'toState');\n    var associations = [];\n    var toMapFromAny = this.fromMap[EventGraph.ANY] || {};\n    var toMap = this.fromMap[fromState] || {};\n    associations = associations.concat(this._getAssociationsFromMap(toMapFromAny, context, fromState, toState));\n    associations = associations.concat(this._getAssociationsFromMap(toMap, context, fromState, toState));\n    return associations;\n  };\n  EventGraph.prototype._addAssociation = function (assoc) {\n    var toMap = this.fromMap[assoc.getFromState()];\n    if (!toMap) {\n      toMap = this.fromMap[assoc.getFromState()] = {};\n    }\n    var assocList = toMap[assoc.getToState()];\n    if (!assocList) {\n      assocList = toMap[assoc.getToState()] = [];\n    }\n    assocList.push(assoc);\n  };\n  EventGraph.prototype._getAssociationsFromMap = function (map, context, fromState, toState) {\n    var assocList = (map[EventGraph.ANY] || []).concat(map[toState] || []);\n    return assocList.reduce(function (prev, assoc) {\n      return prev.concat(assoc.getAssociations(context));\n    }, []);\n  };\n  connect.EventGraph = EventGraph;\n})();\n\n/***/ },\n\n/***/ 60\n() {\n\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/*\n * Copyright 2014-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  var userAgent = navigator.userAgent;\n  var DEFAULT_POPUP_HEIGHT = 578;\n  var DEFAULT_POPUP_WIDTH = 433;\n  var COPYABLE_EVENT_FIELDS = [\"bubbles\", \"cancelBubble\", \"cancelable\", \"composed\", \"data\", \"defaultPrevented\", \"eventPhase\", \"isTrusted\", \"lastEventId\", \"origin\", \"returnValue\", \"timeStamp\", \"type\"];\n\n  /**\n   * Unpollute sprintf functions from the global namespace.\n   */\n  connect.sprintf = global.sprintf;\n  connect.vsprintf = global.vsprintf;\n  delete global.sprintf;\n  delete global.vsprintf;\n  connect.HTTP_STATUS_CODES = {\n    SUCCESS: 200,\n    UNAUTHORIZED: 401,\n    ACCESS_DENIED: 403,\n    TOO_MANY_REQUESTS: 429,\n    INTERNAL_SERVER_ERROR: 500\n  };\n  connect.TRANSPORT_TYPES = {\n    CHAT_TOKEN: \"chat_token\",\n    WEB_SOCKET: \"web_socket\",\n    WEB_RTC: \"web_rtc\"\n  };\n\n  /**\n   * Binds the given instance object as the context for\n   * the method provided.\n   *\n   * @param scope The instance object to be set as the scope\n   *    of the function.\n   * @param method The method to be encapsulated.\n   *\n   * All other arguments, if any, are bound to the method\n   * invocation inside the closure.\n   *\n   * @return A closure encapsulating the invocation of the\n   *    method provided in context of the given instance.\n   */\n  connect.hitch = function () {\n    var args = Array.prototype.slice.call(arguments);\n    var scope = args.shift();\n    var method = args.shift();\n    connect.assertNotNull(scope, 'scope');\n    connect.assertNotNull(method, 'method');\n    connect.assertTrue(connect.isFunction(method), 'method must be a function');\n    return function () {\n      var closureArgs = Array.prototype.slice.call(arguments);\n      return method.apply(scope, args.concat(closureArgs));\n    };\n  };\n\n  /**\n   * Determine if the given value is a callable function type.\n   * Borrowed from Underscore.js.\n   */\n  connect.isFunction = function (obj) {\n    return !!(obj && obj.constructor && obj.call && obj.apply);\n  };\n\n  /**\n   * Invoke a consumer-supplied callback so a throw inside it cannot unwind past the\n   * caller's teardown. Same guarantee EventBus.prototype.trigger makes for subscribers.\n   *\n   * @returns fn's return value, or undefined if it threw\n   */\n  connect.invokeSafely = function (fn, args, label) {\n    try {\n      return fn.apply(null, args || []);\n    } catch (e) {\n      try {\n        connect.getLog().warn(\"Consumer callback '%s' failed.\", label || \"anonymous\").withException(e).sendInternalLogToServer();\n      } catch (loggingError) {}\n    }\n    return undefined;\n  };\n\n  /**\n   * Fan out to consumer-supplied handlers, isolating each so an early throw cannot starve\n   * the rest. Snapshots first because a handler may deregister mid-dispatch.\n   */\n  connect.invokeAllSafely = function (fns, args, label) {\n    if (!fns) {\n      return;\n    }\n    var snapshot = [];\n    fns.forEach(function (fn) {\n      snapshot.push(fn);\n    });\n    snapshot.forEach(function (fn) {\n      connect.invokeSafely(fn, args, label);\n    });\n  };\n\n  /**\n   * Determine if the given value is an array.\n   */\n  connect.isArray = function (obj) {\n    return Object.prototype.toString.call(obj) === '[object Array]';\n  };\n\n  /**\n   * Get a list of keys from a Javascript object used\n   * as a hash map.\n   */\n  connect.keys = function (map) {\n    var keys = [];\n    connect.assertNotNull(map, 'map');\n    for (var k in map) {\n      keys.push(k);\n    }\n    return keys;\n  };\n\n  /**\n   * Get a list of values from a Javascript object used\n   * as a hash map.\n   */\n  connect.values = function (map) {\n    var values = [];\n    connect.assertNotNull(map, 'map');\n    for (var k in map) {\n      values.push(map[k]);\n    }\n    return values;\n  };\n\n  /**\n   * Get a list of key/value pairs from the given map.\n   */\n  connect.entries = function (map) {\n    var entries = [];\n    for (var k in map) {\n      entries.push({\n        key: k,\n        value: map[k]\n      });\n    }\n    return entries;\n  };\n\n  /**\n   * Merge two or more maps together into a new map,\n   * or simply copy a single map.\n   */\n  connect.merge = function () {\n    var argMaps = Array.prototype.slice.call(arguments, 0);\n    var resultMap = {};\n    argMaps.forEach(function (map) {\n      connect.entries(map).forEach(function (kv) {\n        resultMap[kv.key] = kv.value;\n      });\n    });\n    return resultMap;\n  };\n  connect.now = function () {\n    return new Date().getTime();\n  };\n  connect.find = function (array, predicate) {\n    for (var x = 0; x < array.length; x++) {\n      if (predicate(array[x])) {\n        return array[x];\n      }\n    }\n    return null;\n  };\n  connect.contains = function (obj, value) {\n    if (obj instanceof Array) {\n      return connect.find(obj, function (v) {\n        return v === value;\n      }) != null;\n    } else {\n      return value in obj;\n    }\n  };\n  connect.containsValue = function (obj, value) {\n    if (obj instanceof Array) {\n      return connect.find(obj, function (v) {\n        return v === value;\n      }) != null;\n    } else {\n      return connect.find(connect.values(obj), function (v) {\n        return v === value;\n      }) != null;\n    }\n  };\n\n  /**\n   * Generate a random ID consisting of the current timestamp\n   * and a random base-36 number based on Math.random().\n   */\n  connect.randomId = function () {\n    return connect.sprintf(\"%s-%s\", connect.now(), Math.random().toString(36).slice(2));\n  };\n\n  /**\n   * Generate an enum from the given list of lower-case enum values,\n   * where the enum keys will be upper case.\n   *\n   * Conversion from pascal case based on code from here:\n   * http://stackoverflow.com/questions/30521224\n   */\n  connect.makeEnum = function (values) {\n    var enumObj = {};\n    values.forEach(function (value) {\n      var key = value.replace(/\\.?([a-z]+)_?/g, function (x, y) {\n        return y.toUpperCase() + \"_\";\n      }).replace(/_$/, \"\");\n      enumObj[key] = value;\n    });\n    return enumObj;\n  };\n  connect.makeNamespacedEnum = function (prefix, values) {\n    var enumObj = connect.makeEnum(values);\n    connect.keys(enumObj).forEach(function (key) {\n      enumObj[key] = connect.sprintf(\"%s::%s\", prefix, enumObj[key]);\n    });\n    return enumObj;\n  };\n  connect.makeGenericNamespacedEnum = function (prefix, values, delimiter) {\n    var enumObj = connect.makeEnum(values);\n    connect.keys(enumObj).forEach(function (key) {\n      enumObj[key] = connect.sprintf(\"%s\" + delimiter + \"%s\", prefix, enumObj[key]);\n    });\n    return enumObj;\n  };\n\n  /**\n  * Methods to determine browser type and versions, used for softphone initialization.\n  */\n\n  /*\n    This will also return True for Edge and Opera since they\n    include Chrome in the user agent string, as they are built\n    off of Chrome.\n  */\n  connect.isChromeBrowser = function () {\n    return userAgent.indexOf(\"Chrome\") !== -1;\n  };\n  connect.isFirefoxBrowser = function () {\n    return userAgent.indexOf(\"Firefox\") !== -1;\n  };\n  connect.isOperaBrowser = function () {\n    return userAgent.indexOf(\"Opera\") !== -1;\n  };\n  connect.isEdgeBrowser = function () {\n    return userAgent.indexOf(\"Edg\") !== -1;\n  };\n  connect.getChromeBrowserVersion = function () {\n    var chromeVersion = userAgent.substring(userAgent.indexOf(\"Chrome\") + 7);\n    if (chromeVersion) {\n      return parseFloat(chromeVersion);\n    } else {\n      return -1;\n    }\n  };\n  connect.getFirefoxBrowserVersion = function () {\n    var firefoxVersion = userAgent.substring(userAgent.indexOf(\"Firefox\") + 8);\n    if (firefoxVersion) {\n      return parseFloat(firefoxVersion);\n    } else {\n      return -1;\n    }\n  };\n  connect.isValidLocale = function (locale) {\n    var languages = [{\n      id: 'en_US',\n      label: 'English'\n    }, {\n      id: 'de_DE',\n      label: 'Deutsch'\n    }, {\n      id: 'es_ES',\n      label: 'Español'\n    }, {\n      id: 'fr_FR',\n      label: 'Français'\n    }, {\n      id: 'ja_JP',\n      label: '日本語'\n    }, {\n      id: 'it_IT',\n      label: 'Italiano'\n    }, {\n      id: 'ko_KR',\n      label: '한국어'\n    }, {\n      id: 'pt_BR',\n      label: 'Português'\n    }, {\n      id: 'zh_CN',\n      label: '中文(简体)'\n    }, {\n      id: 'zh_TW',\n      label: '中文(繁體)'\n    }];\n    return languages.map(function (language) {\n      return language.id;\n    }).includes(locale);\n  };\n  connect.getOperaBrowserVersion = function () {\n    var versionOffset = userAgent.indexOf(\"Opera\");\n    var operaVersion = userAgent.indexOf(\"Version\") !== -1 ? userAgent.substring(versionOffset + 8) : userAgent.substring(versionOffset + 6);\n    if (operaVersion) {\n      return parseFloat(operaVersion);\n    } else {\n      return -1;\n    }\n  };\n\n  /**\n   * Return a map of items in the given list indexed by\n   * keys determined by the closure provided.\n   *\n   * @param iterable A list-like object.\n   * @param closure A closure to determine the index for the\n   *    items in the iterable.\n   * @return A map from index to item for each item in the iterable.\n   */\n  connect.index = function (iterable, closure) {\n    var map = {};\n    iterable.forEach(function (item) {\n      map[closure(item)] = item;\n    });\n    return map;\n  };\n\n  /**\n   * Converts the given array into a map as a set,\n   * where elements in the array are mapped to 1.\n   */\n  connect.set = function (arrayIn) {\n    var setMap = {};\n    arrayIn.forEach(function (key) {\n      setMap[key] = 1;\n    });\n    return setMap;\n  };\n\n  /**\n   * Returns a map for each key in mapB which\n   * is NOT in mapA.\n   */\n  connect.relativeComplement = function (mapA, mapB) {\n    var compMap = {};\n    connect.keys(mapB).forEach(function (key) {\n      if (!(key in mapA)) {\n        compMap[key] = mapB[key];\n      }\n    });\n    return compMap;\n  };\n\n  /**\n   * Asserts that a premise is true.\n   */\n  connect.assertTrue = function (premise, message) {\n    if (!premise) {\n      throw new connect.ValueError(message);\n    }\n  };\n\n  /**\n   * Asserts that a value is not null or undefined.\n   */\n  connect.assertNotNull = function (value, name) {\n    connect.assertTrue(value != null && _typeof(value) !== undefined, connect.sprintf(\"%s must be provided\", name || 'A value'));\n    return value;\n  };\n  connect.deepcopy = function (src) {\n    return JSON.parse(JSON.stringify(src));\n  };\n  connect.deepcopyCrossOriginEvent = function (event) {\n    var obj = {};\n    var listOfAcceptableKeys = COPYABLE_EVENT_FIELDS;\n    listOfAcceptableKeys.forEach(function (key) {\n      try {\n        obj[key] = event[key];\n      } catch (e) {\n        connect.getLog().info(\"deepcopyCrossOriginEvent failed on key: \", key).sendInternalLogToServer();\n      }\n    });\n    return connect.deepcopy(obj);\n  };\n\n  /**\n   * Get the current base url of the open page, e.g. if the page is\n   * https://example.com:9494/oranges, this will be \"https://example.com:9494\".\n   */\n  connect.getBaseUrl = function () {\n    var location = global.location;\n    return connect.sprintf(\"%s//%s:%s\", location.protocol, location.hostname, location.port);\n  };\n  connect.getUrlWithProtocol = function (url) {\n    var protocol = global.location.protocol;\n    if (url.substr(0, protocol.length) !== protocol) {\n      return connect.sprintf(\"%s//%s\", protocol, url);\n    }\n    return url;\n  };\n\n  /**\n   * Determine if the current window is in an iframe.\n   * Courtesy: http://stackoverflow.com/questions/326069/\n   */\n  connect.isFramed = function () {\n    try {\n      return window.self !== window.top;\n    } catch (e) {\n      return true;\n    }\n  };\n  connect.hasOtherConnectedCCPs = function () {\n    return connect.numberOfConnectedCCPs > 1;\n  };\n  connect.fetch = function (endpoint, options, milliInterval, maxRetry) {\n    maxRetry = maxRetry || 5;\n    milliInterval = milliInterval || 1000;\n    options = options || {};\n    return new Promise(function (resolve, reject) {\n      function fetchData(maxRetry) {\n        fetch(endpoint, options).then(function (res) {\n          if (res.status === connect.HTTP_STATUS_CODES.SUCCESS) {\n            res.json().then(function (json) {\n              return resolve(json);\n            })[\"catch\"](function () {\n              return resolve({});\n            });\n          } else if (maxRetry !== 1 && (res.status >= connect.HTTP_STATUS_CODES.INTERNAL_SERVER_ERROR || res.status === connect.HTTP_STATUS_CODES.TOO_MANY_REQUESTS)) {\n            setTimeout(function () {\n              fetchData(--maxRetry);\n            }, milliInterval);\n          } else {\n            reject(res);\n          }\n        })[\"catch\"](function (e) {\n          reject(e);\n        });\n      }\n      fetchData(maxRetry);\n    });\n  };\n  connect.fetchWithTimeout = /*#__PURE__*/function () {\n    var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(endpoint, timeoutMs, options, milliInterval, maxRetry) {\n      var controller, id, response;\n      return _regenerator().w(function (_context) {\n        while (1) switch (_context.n) {\n          case 0:\n            options = options || {};\n            if (timeoutMs) {\n              _context.n = 1;\n              break;\n            }\n            return _context.a(2, connect.fetch(endpoint, options, milliInterval, maxRetry));\n          case 1:\n            controller = new AbortController();\n            id = setTimeout(function () {\n              return controller.abort();\n            }, timeoutMs);\n            _context.n = 2;\n            return connect.fetch(endpoint, _objectSpread(_objectSpread({}, options), {}, {\n              signal: controller.signal\n            }), milliInterval, maxRetry);\n          case 2:\n            response = _context.v;\n            clearTimeout(id);\n            return _context.a(2, response);\n        }\n      }, _callee);\n    }));\n    return function (_x, _x2, _x3, _x4, _x5) {\n      return _ref.apply(this, arguments);\n    };\n  }();\n\n  /**\n   * Calling a function with exponential backoff with full jitter retry strategy\n   * It will retry calling the function for maximum maxRetry times if it fails.\n   * Success callback will be called if the function succeeded.\n   * Failure callback will be called only if the last try failed.\n   */\n  connect.backoff = function (func, milliInterval, maxRetry, callbacks) {\n    connect.assertTrue(connect.isFunction(func), \"func must be a Function\");\n    var self = this;\n    var ratio = 2;\n    func({\n      success: function success(data) {\n        if (callbacks && callbacks.success) {\n          callbacks.success(data);\n        }\n      },\n      failure: function failure(err, data) {\n        if (maxRetry > 0) {\n          var interval = milliInterval * 2 * Math.random();\n          global.setTimeout(function () {\n            self.backoff(func, interval * ratio, --maxRetry, callbacks);\n          }, interval);\n        } else {\n          if (callbacks && callbacks.failure) {\n            callbacks.failure(err, data);\n          }\n        }\n      }\n    });\n  };\n  connect.publishMetric = function (metricData) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.CLIENT_METRIC,\n      data: metricData\n    });\n  };\n  connect.publishSoftphoneStats = function (stats) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.SOFTPHONE_STATS,\n      data: stats\n    });\n  };\n  connect.publishSoftphoneReport = function (report) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.SOFTPHONE_REPORT,\n      data: report\n    });\n  };\n  connect.publishClickStreamData = function (report) {\n    connect.core.getUpstream().sendUpstream(connect.EventType.BROADCAST, {\n      event: connect.EventType.CLICK_STREAM_DATA,\n      data: report\n    });\n  };\n  connect.publishClientSideLogs = function (logs) {\n    var bus = connect.core.getEventBus();\n    bus.trigger(connect.EventType.CLIENT_SIDE_LOGS, logs);\n  };\n  connect.addNamespaceToLogs = function (namespace) {\n    var methods = ['log', 'error', 'warn', 'info', 'debug'];\n    methods.forEach(function (method) {\n      var consoleMethod = window.console[method];\n      window.console[method] = function () {\n        var args = Array.from(arguments);\n        args.unshift(\"[\".concat(namespace, \"]\"));\n        consoleMethod.apply(window.console, args);\n      };\n    });\n  };\n\n  /**\n   * A wrapper around Window.open() for managing single instance popups.\n   * Tracks window references to enable window reuse without reload and provides security.\n   */\n  connect.PopupManager = function () {\n    this.windows = {};\n    this.windowUrls = {};\n  };\n  connect.PopupManager.prototype.open = function (url, name, options) {\n    var features = '';\n    if (options) {\n      // default values are chosen to provide a minimum height without scrolling\n      // and a uniform margin based on the css of the ccp login page\n      var height = options.height || DEFAULT_POPUP_HEIGHT;\n      var width = options.width || DEFAULT_POPUP_WIDTH;\n      var top = options.top || 0;\n      var left = options.left || 0;\n      features = \"width=\" + width + \", height=\" + height + \", top=\" + top + \", left=\" + left;\n    }\n    var cachedWin = this.windows[name];\n    var cachedUrl = this.windowUrls[name];\n\n    // Check if window exists and is still open\n    if (cachedWin) {\n      try {\n        if (!cachedWin.closed) {\n          if (cachedUrl === url) {\n            // Same URL - reuse existing window without reload\n            try {\n              cachedWin.focus();\n            } catch (e) {\n              // Focus may fail due to browser restrictions, this is acceptable\n            }\n            connect.getLog().info(\"[PopupManager] Reusing existing popup window\").sendInternalLogToServer();\n            return cachedWin;\n          }\n        } else {\n          // Window was closed, clean up tracking\n          delete this.windows[name];\n          delete this.windowUrls[name];\n        }\n      } catch (e) {\n        // Can't access window (likely cross-origin), assume closed and clean up\n        delete this.windows[name];\n        delete this.windowUrls[name];\n      }\n    }\n\n    // Open new window directly to URL\n    var win = window.open(url, name, features);\n    if (win) {\n      // Check if window is already closed (edge case in testing scenarios)\n      try {\n        if (!win.closed) {\n          this.windows[name] = win;\n          this.windowUrls[name] = url;\n          connect.getLog().info(\"[PopupManager] Opened popup window\").withObject({\n            url: url,\n            name: name\n          }).sendInternalLogToServer();\n        }\n      } catch (e) {\n        // Can't access window properties, but still return it\n      }\n    }\n    return win;\n  };\n  connect.PopupManager.prototype.clear = function (name) {\n    // Clean up window tracking\n    delete this.windows[name];\n    delete this.windowUrls[name];\n\n    // Clean up localStorage\n    var key = this._getLocalStorageKey(name);\n    global.localStorage.removeItem(key);\n  };\n  connect.PopupManager.prototype._getLastOpenedTimestamp = function (name) {\n    var key = this._getLocalStorageKey(name);\n    var value = global.localStorage.getItem(key);\n    if (value) {\n      return parseInt(value, 10);\n    } else {\n      return 0;\n    }\n  };\n  connect.PopupManager.prototype._setLastOpenedTimestamp = function (name, ts) {\n    var key = this._getLocalStorageKey(name);\n    global.localStorage.setItem(key, '' + ts);\n  };\n  connect.PopupManager.prototype._getLocalStorageKey = function (name) {\n    return \"connectPopupManager::\" + name;\n  };\n\n  /**\n   * An enumeration of the HTML5 notification permission values.\n   */\n  var NotificationPermission = connect.makeEnum(['granted', 'denied', 'default']);\n\n  /**\n   * A simple engine for showing notification popups.\n   */\n  connect.NotificationManager = function () {\n    this.queue = [];\n    this.permission = NotificationPermission.DEFAULT;\n  };\n  connect.NotificationManager.prototype.requestPermission = function () {\n    var self = this;\n    if (!(\"Notification\" in global)) {\n      connect.getLog().warn(\"This browser doesn't support notifications.\").sendInternalLogToServer();\n      this.permission = NotificationPermission.DENIED;\n    } else if (global.Notification.permission === NotificationPermission.DENIED) {\n      connect.getLog().warn(\"The user has requested to not receive notifications.\").sendInternalLogToServer();\n      this.permission = NotificationPermission.DENIED;\n    } else if (this.permission !== NotificationPermission.GRANTED) {\n      global.Notification.requestPermission().then(function (permission) {\n        self.permission = permission;\n        if (permission === NotificationPermission.GRANTED) {\n          self._showQueued();\n        } else {\n          self.queue = [];\n        }\n      });\n    }\n  };\n  connect.NotificationManager.prototype.show = function (title, options) {\n    if (this.permission === NotificationPermission.GRANTED) {\n      return this._showImpl({\n        title: title,\n        options: options\n      });\n    } else if (this.permission === NotificationPermission.DENIED) {\n      connect.getLog().warn(\"Unable to show notification.\").sendInternalLogToServer().withObject({\n        title: title,\n        options: options\n      });\n    } else {\n      var params = {\n        title: title,\n        options: options\n      };\n      connect.getLog().warn(\"Deferring notification until user decides to allow or deny.\").withObject(params).sendInternalLogToServer();\n      this.queue.push(params);\n    }\n  };\n  connect.NotificationManager.prototype._showQueued = function () {\n    var self = this;\n    var notifications = this.queue.map(function (params) {\n      return self._showImpl(params);\n    });\n    this.queue = [];\n    return notifications;\n  };\n  connect.NotificationManager.prototype._showImpl = function (params) {\n    var notification = new global.Notification(params.title, params.options);\n    if (params.options.clicked) {\n      notification.onclick = function () {\n        params.options.clicked.call(notification);\n      };\n    }\n    return notification;\n  };\n  connect.ValueError = function () {\n    var args = Array.prototype.slice.call(arguments, 0);\n    var format = args.shift();\n    var instance = new Error(connect.vsprintf(format, args));\n    Object.setPrototypeOf(instance, connect.ValueError.prototype);\n    return instance;\n  };\n  Object.setPrototypeOf(connect.ValueError.prototype, Error.prototype);\n  Object.setPrototypeOf(connect.ValueError, Error);\n  connect.ValueError.prototype.name = 'ValueError';\n  connect.NotImplementedError = function () {\n    var args = Array.prototype.slice.call(arguments, 0);\n    var format = args.shift();\n    var instance = new Error(connect.vsprintf(format, args));\n    Object.setPrototypeOf(instance, connect.NotImplementedError.prototype);\n    return instance;\n  };\n  Object.setPrototypeOf(connect.NotImplementedError.prototype, Error.prototype);\n  Object.setPrototypeOf(connect.NotImplementedError, Error);\n  connect.NotImplementedError.prototype.name = 'NotImplementedError';\n  connect.StateError = function () {\n    var args = Array.prototype.slice.call(arguments, 0);\n    var format = args.shift();\n    var instance = new Error(connect.vsprintf(format, args));\n    Object.setPrototypeOf(instance, connect.StateError.prototype);\n    return instance;\n  };\n  Object.setPrototypeOf(connect.StateError.prototype, Error.prototype);\n  Object.setPrototypeOf(connect.StateError, Error);\n  connect.StateError.prototype.name = 'StateError';\n  connect.VoiceIdError = function (type, message, err) {\n    var error = {};\n    error.type = type;\n    error.message = message;\n    error.stack = Error(message).stack;\n    error.err = err;\n    return error;\n  };\n\n  // internal use only\n  connect.isCCP = function () {\n    if (!connect.core.upstream) {\n      return false;\n    }\n    var conduit = connect.core.getUpstream();\n    return conduit.name === 'ConnectSharedWorkerConduit';\n  };\n  connect.isCRM = function () {\n    if (!connect.core.upstream) {\n      return false;\n    }\n    return connect.core.getUpstream() instanceof connect.IFrameConduit || connect.core.getUpstream() instanceof connect.GRProxyIframeConduit;\n  };\n\n  // internal use only\n  connect.isActiveConduit = function (conduit) {\n    var grProxyConduit = connect.core.getUpstream();\n    if (grProxyConduit instanceof connect.GRProxyIframeConduit) {\n      return conduit.name === grProxyConduit.activeRegionUrl;\n    } else {\n      connect.getLog().debug('connect.isActiveConduit is called but there is no GR proxy conduit').sendInternalLogToServer();\n      return true;\n    }\n  };\n  connect._parseRegionFromArn = function (arn) {\n    var region = arn === null || arn === void 0 ? void 0 : arn.split(\":\")[3];\n    if (!region) throw new Error(\"Invalid arn: \".concat(arn));\n    return region;\n  };\n\n  /**\n   * Resolves the region the given contact lives in from the contact's instance details.\n   * internal use only\n   * @param {string} contactId\n   * @returns {Promise<string|null>} the contact's region, or null when it cannot be determined\n   */\n  connect._getContactRegion = function (contactId) {\n    return Promise.resolve().then(function () {\n      return new connect.Contact(contactId).getInstanceDetails();\n    }).then(function (instanceDetails) {\n      return instanceDetails && instanceDetails.region || null;\n    })[\"catch\"](function (error) {\n      connect.getLog().warn('Failed to get instance details for contact %s', contactId).withException(error).sendInternalLogToServer();\n      return null;\n    });\n  };\n})();\n\n/***/ },\n\n/***/ 969\n(module, __unused_webpack_exports, __webpack_require__) {\n\nfunction _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = \"function\" == typeof Symbol ? Symbol : {}, n = r.iterator || \"@@iterator\", o = r.toStringTag || \"@@toStringTag\"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, \"_invoke\", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError(\"Generator is already running\"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? (c > 1 && (G.n = c < 3 ? -1 : u), d(c, u)) : G.v = u); try { if (f = 2, i) { if (c || (o = \"next\"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError(\"iterator result is not an object\"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i[\"return\"]) && t.call(i), c < 2 && (u = TypeError(\"The iterator does not provide a '\" + o + \"' method\"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, \"GeneratorFunction\")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, \"constructor\", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = \"GeneratorFunction\", _regeneratorDefine2(GeneratorFunctionPrototype, o, \"GeneratorFunction\"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, \"Generator\"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, \"toString\", function () { return \"[object Generator]\"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }\nfunction _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, \"\", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o(\"next\", 0), o(\"throw\", 1), o(\"return\", 2)); }, _regeneratorDefine2(e, r, n, t); }\nfunction asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, e) { if (\"object\" != _typeof(t) || !t) return t; var r; if (\"undefined\" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === e ? String : Number)(t); }\nvar VOICE_FOCUS_ERROR_METRIC = 'VoiceFocusError';\nvar VOICE_FOCUS_MODE_METRIC = 'VoiceFocusMode';\nvar VOICE_FOCUS_ELAPSED_TIME_METRIC = 'VoiceFocusElapsedTime';\nvar VOICE_FOCUS_CLEARED_METRIC = 'VoiceFocusCleared';\nvar VOICE_FOCUS_DEVICE_LABEL_METRIC = 'VoiceFocusDeviceLabel';\nvar VOICE_FOCUS_BROWSER_METRIC = 'VoiceFocusBrowser';\nvar METRIC_ERROR_TYPE = 'ErrorType';\nvar AUDIO_CONTEXT_SAMPLE_RATE = 48000;\nvar QUANTA_SAMPLE_RATE_LIMIT_MAX = 40000;\nvar QUANTA_SAMPLE_RATE_LIMIT_MIN = 14000;\nvar COMPUTE_CAPACITY_LIMIT = 16000;\n\n// Model metrics\nvar VOICE_FOCUS_LATENCY_AVERAGE = 'VoiceFocusLatencyAverage';\nvar VOICE_FOCUS_SNR_AVERAGE = 'VoiceFocusSNRAverage';\nvar VOICE_FOCUS_SNR_VARIANCE = 'VoiceFocusSNRVariance';\nvar VOICE_FOCUS_SNR_AVERAGE_ACTIVE = 'VoiceFocusSNRAverageActive';\nvar VOICE_FOCUS_SNR_VARIANCE_ACTIVE = 'VoiceFocusSNRVarianceActive';\nvar VOICE_FOCUS_DRR_AVERAGE = 'VoiceFocusDRRAverage';\nvar VOICE_FOCUS_DRR_VARIANCE = 'VoiceFocusDRRVariance';\nvar VOICE_FOCUS_DRR_AVERAGE_ACTIVE = 'VoiceFocusDRRAverageActive';\nvar VOICE_FOCUS_DRR_VARIANCE_ACTIVE = 'VoiceFocusDRRVarianceActive';\nvar VOICE_FOCUS_VAD_AVERAGE = 'VoiceFocusVADAverage';\nvar VOICE_FOCUS_CPU_LATE_INVOKE = 'VoiceFocusCPULateInvoke';\nvar VOICE_FOCUS_CPU_LONG_INVOKE = 'VoiceFocusCPULongInvoke';\n(function () {\n  var global = this || globalThis;\n  var connect = global.connect || {};\n  global.connect = connect;\n  global.lily = connect;\n  var _require = __webpack_require__(677),\n    VoiceFocus = _require.VoiceFocus,\n    createAudioContext = _require.createAudioContext;\n  var _require2 = __webpack_require__(953),\n    VoiceClient = _require2.VoiceClient;\n  var logPrefix = '[VoiceFocus]';\n  var voiceEnhancementModeToModelMode = {\n    VOICE_ISOLATION: 'tve',\n    NOISE_SUPPRESSION: 'ns'\n  };\n\n  /**\n   * Gets the additional metadata from the connect object.\n   *\n   * @returns {Object} - An object containing the common metric dimensions.\n   */\n  var getAdditionalMetadata = function getAdditionalMetadata() {\n    var agentMetadata = {};\n    var agentARN;\n    var accountId;\n    var instanceId;\n    try {\n      var _connect$core, _connect$core2, _connect$core3;\n      agentARN = (_connect$core = connect.core) === null || _connect$core === void 0 || (_connect$core = _connect$core.getAgentDataProvider()) === null || _connect$core === void 0 || (_connect$core = _connect$core.getAgentData()) === null || _connect$core === void 0 || (_connect$core = _connect$core.configuration) === null || _connect$core === void 0 ? void 0 : _connect$core.agentARN;\n      accountId = (_connect$core2 = connect.core) === null || _connect$core2 === void 0 || (_connect$core2 = _connect$core2.getAgentDataProvider()) === null || _connect$core2 === void 0 ? void 0 : _connect$core2.getAWSAccountId();\n      instanceId = (_connect$core3 = connect.core) === null || _connect$core3 === void 0 || (_connect$core3 = _connect$core3.getAgentDataProvider()) === null || _connect$core3 === void 0 ? void 0 : _connect$core3.getInstanceId();\n    } catch (error) {\n      connect.getLog().warn(\"\".concat(logPrefix, \" Error in getting additional metadata.\")).sendInternalLogToServer();\n    } finally {\n      if (accountId) {\n        agentMetadata.accountId = accountId;\n      }\n      if (instanceId) {\n        agentMetadata.instanceId = instanceId;\n      }\n      if (agentARN) {\n        agentMetadata.agentId = agentARN.split('/').pop();\n      }\n    }\n    return agentMetadata;\n  };\n\n  /**\n   * Gets the device label of the audio track from the provided media stream.\n   *\n   * @param {MediaStream} mediaStream - The media stream containing the audio track\n   * @returns {Promise<string>} - Resolves with the label of the audio device, or 'unknown' if not available.\n   */\n  var getAudioDeviceLabel = function getAudioDeviceLabel(mediaStream) {\n    try {\n      if (mediaStream && mediaStream.getAudioTracks && mediaStream.getAudioTracks().length > 0) {\n        var audioTrack = mediaStream.getAudioTracks()[0];\n        var settings = audioTrack.getSettings();\n        if (settings && settings.deviceId) {\n          return navigator.mediaDevices.enumerateDevices().then(function (devices) {\n            var audioDevice = devices.find(function (device) {\n              return device.kind === 'audioinput' && device.deviceId === settings.deviceId;\n            });\n            return audioDevice ? audioDevice.label : 'unknown';\n          })[\"catch\"](function (error) {\n            connect.getLog().warn('Error getting audio device label:', error).sendInternalLogToServer();\n            return 'unknown';\n          });\n        }\n      }\n      return Promise.resolve('unknown');\n    } catch (error) {\n      connect.getLog().warn('Error getting audio device label:', error).sendInternalLogToServer();\n      return Promise.resolve('unknown');\n    }\n  };\n\n  /**\n   * Gets the browser name from navigator.userAgent\n   *\n   * @returns {string} - The name of the browser\n   */\n  var getBrowserName = function getBrowserName() {\n    var userAgent = window.navigator.userAgent;\n    var browserName = 'unknown';\n    if (userAgent.indexOf('Chrome') !== -1 && userAgent.indexOf('Edg') === -1) {\n      browserName = 'Chrome';\n    } else if (userAgent.indexOf('Firefox') !== -1) {\n      browserName = 'Firefox';\n    } else if (userAgent.indexOf('Safari') !== -1 && userAgent.indexOf('Chrome') === -1) {\n      browserName = 'Safari';\n    } else if (userAgent.indexOf('Edg') !== -1) {\n      browserName = 'Edge';\n    }\n    return browserName;\n  };\n\n  /**\n   * Utility method to publish a connect metric.\n   * @param {string} metricName\n   * @param {int} metricValue\n   * @param {string} metricKey (defaults to 'count')\n   * @param {Object} moreDimensions\n   */\n  var publishMetric = function publishMetric(metricName, metricValue) {\n    var metricKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'count';\n    var moreDimensions = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    connect.publishMetric({\n      name: metricName,\n      data: _defineProperty(_defineProperty({}, metricKey, metricValue), \"dimensions\", _objectSpread({}, moreDimensions))\n    });\n  };\n\n  /**\n   * Custom logger to redirect log lines from chime-sdk.\n   * @implements {import('amazon-chime-sdk-js/libs/voicefocus/types').Logger}\n   */\n  var VoiceFocusLogger = /*#__PURE__*/function () {\n    function VoiceFocusLogger() {\n      _classCallCheck(this, VoiceFocusLogger);\n    }\n    return _createClass(VoiceFocusLogger, [{\n      key: \"format\",\n      value: function format() {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n        return \"\".concat(logPrefix, \" \").concat(args.map(function (arg) {\n          return arg && _typeof(arg) === 'object' ? JSON.stringify(arg) : String(arg);\n        }).join(' '));\n      }\n    }, {\n      key: \"buildLogObject\",\n      value: function buildLogObject() {\n        var logObject = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n        return _objectSpread(_objectSpread({}, logObject), getAdditionalMetadata());\n      }\n    }, {\n      key: \"debug\",\n      value: function debug() {\n        connect.getLog().debug(this.format.apply(this, arguments)).withObject(this.buildLogObject()).sendInternalLogToServer();\n      }\n    }, {\n      key: \"info\",\n      value: function info() {\n        connect.getLog().info(this.format.apply(this, arguments)).withObject(this.buildLogObject()).sendInternalLogToServer();\n      }\n    }, {\n      key: \"warn\",\n      value: function warn() {\n        connect.getLog().warn(this.format.apply(this, arguments)).withObject(this.buildLogObject()).sendInternalLogToServer();\n      }\n    }, {\n      key: \"error\",\n      value: function error() {\n        connect.getLog().error(this.format.apply(this, arguments)).withObject(this.buildLogObject()).sendInternalLogToServer();\n      }\n    }, {\n      key: \"log\",\n      value: function log(content) {\n        var logObject = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n        connect.getLog().log(this.format(content)).withObject(this.buildLogObject(logObject)).sendInternalLogToServer();\n      }\n    }]);\n  }();\n  /** *\n   * Initialize voice focus instance from chime-sdk.\n   */\n  var VoiceFocusInstanceManager = /*#__PURE__*/function () {\n    function VoiceFocusInstanceManager(logger) {\n      _classCallCheck(this, VoiceFocusInstanceManager);\n      this._voiceClient = null;\n      this._logger = logger;\n      this._voiceFocusInstance = null;\n      this._audioContext = null;\n      this._modelLoadingMetrics = {};\n      this._danglingInstances = [];\n      this._streamSource = undefined;\n      this._streamFlowInitialized = false;\n    }\n    return _createClass(VoiceFocusInstanceManager, [{\n      key: \"initialize\",\n      value: function () {\n        var _initialize2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(_ref) {\n          var mode;\n          return _regenerator().w(function (_context) {\n            while (1) switch (_context.n) {\n              case 0:\n                mode = _ref.mode;\n                if (!this.isInitialized()) {\n                  _context.n = 1;\n                  break;\n                }\n                this._logger.info('Voice Focus instance is already initialized');\n                return _context.a(2);\n              case 1:\n                _context.n = 2;\n                return this._initialize({\n                  mode: mode\n                });\n              case 2:\n                return _context.a(2);\n            }\n          }, _callee, this);\n        }));\n        function initialize(_x) {\n          return _initialize2.apply(this, arguments);\n        }\n        return initialize;\n      }()\n    }, {\n      key: \"isInitialized\",\n      value: function isInitialized() {\n        return this._voiceFocusInstance && this._audioContext;\n      }\n    }, {\n      key: \"setMode\",\n      value: function setMode(mode) {\n        var _this$_voiceFocusInst;\n        if (mode !== 'tve' && mode !== 'ns') {\n          this._logger.error(\"Invalid mode: \".concat(mode));\n          throw new Error(\"Invalid mode: \".concat(mode));\n        }\n        (_this$_voiceFocusInst = this._voiceFocusInstance) === null || _this$_voiceFocusInst === void 0 || _this$_voiceFocusInst.setMode(mode);\n      }\n    }, {\n      key: \"addModelLoadingMetric\",\n      value: function addModelLoadingMetric(metricName, metricValue, metricType, dimensions) {\n        this._modelLoadingMetrics[metricName] = {\n          MetricName: metricName,\n          MetricValue: metricValue,\n          MetricType: metricType,\n          Dimensions: dimensions\n        };\n      }\n    }, {\n      key: \"publishMetrics\",\n      value: function publishMetrics(_ref2) {\n        var contactId = _ref2.contactId,\n          mode = _ref2.mode;\n        var metricsToPublish = Object.values(this._modelLoadingMetrics);\n        try {\n          var _this$_voiceFocusInst2;\n          var modelMetrics = (_this$_voiceFocusInst2 = this._voiceFocusInstance) === null || _this$_voiceFocusInst2 === void 0 ? void 0 : _this$_voiceFocusInst2.getModelMetrics();\n          if (modelMetrics && mode) {\n            // Define metric configurations to reduce duplication\n            var metricConfigs = [{\n              name: VOICE_FOCUS_LATENCY_AVERAGE,\n              value: modelMetrics.latencyMillisAverage,\n              type: 'latency'\n            }, {\n              name: VOICE_FOCUS_SNR_AVERAGE,\n              value: modelMetrics.snr.average,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_SNR_VARIANCE,\n              value: modelMetrics.snr.variance,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_SNR_AVERAGE_ACTIVE,\n              value: modelMetrics.snr.averageActive,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_SNR_VARIANCE_ACTIVE,\n              value: modelMetrics.snr.varianceActive,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_DRR_AVERAGE,\n              value: modelMetrics.drr.average,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_DRR_VARIANCE,\n              value: modelMetrics.drr.variance,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_DRR_AVERAGE_ACTIVE,\n              value: modelMetrics.drr.averageActive,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_DRR_VARIANCE_ACTIVE,\n              value: modelMetrics.drr.varianceActive,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_VAD_AVERAGE,\n              value: modelMetrics.vad.average,\n              type: 'value'\n            }, {\n              name: VOICE_FOCUS_CPU_LATE_INVOKE,\n              value: modelMetrics.cpu.lateInvoke,\n              type: 'count'\n            }, {\n              name: VOICE_FOCUS_CPU_LONG_INVOKE,\n              value: modelMetrics.cpu.longInvoke,\n              type: 'count'\n            }];\n\n            // Map configurations to the required format\n            metricsToPublish = metricsToPublish.concat(metricConfigs.map(function (config) {\n              return {\n                MetricName: config.name,\n                MetricValue: config.value,\n                MetricType: config.type\n              };\n            }));\n          }\n        } catch (error) {\n          this._logger.error(\"Failed to get the VoiceFocus model metrics: \".concat(error));\n        }\n        this._logger.info(\"Publishing metrics for contact: \".concat(contactId), metricsToPublish);\n        metricsToPublish.forEach(function (metric) {\n          publishMetric(metric.MetricName, metric.MetricValue, metric.MetricType, _objectSpread({\n            ContactId: contactId\n          }, metric.Dimensions));\n        });\n\n        // Clean model metrics\n        this._modelLoadingMetrics = {};\n      }\n    }, {\n      key: \"getSDKVoiceClient\",\n      value: function getSDKVoiceClient() {\n        if (!this._voiceClient) {\n          this._voiceClient = new VoiceClient(connect.core.getSDKClientConfig());\n        }\n        return this._voiceClient;\n      }\n    }, {\n      key: \"_initialize\",\n      value: function () {\n        var _initialize3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(_ref3) {\n          var mode, paths, spec, config, _t;\n          return _regenerator().w(function (_context2) {\n            while (1) switch (_context2.p = _context2.n) {\n              case 0:\n                mode = _ref3.mode;\n                _context2.p = 1;\n                _context2.n = 2;\n                return this.getSDKVoiceClient().getVoiceEnhancementPaths();\n              case 2:\n                paths = _context2.v;\n                this._logger.info('Fetched VoiceFocus assets from:', paths);\n\n                // Enforcing the required samplerate does not work in Firefox sometimes\n                // If the browser is Firefox, use the default sample rate\n                this._audioContext = createAudioContext(connect.isFirefoxBrowser() ? {} : {\n                  sampleRate: AUDIO_CONTEXT_SAMPLE_RATE\n                });\n                spec = {\n                  mode: mode,\n                  variant: 'c50',\n                  usagePreference: 'interactivity',\n                  simd: 'force',\n                  executionPreference: 'inline',\n                  // for interactive use case, inline is recommended from chime-sdk\n                  paths: paths,\n                  executionQuantaPreference: 3 // by default, voice focus is finished in 3 runs\n                }; // In Firefox browser and sample rate < 38.4 kHz, the resampler and default voiceFocus\n                // will have conflict due to buffer reading/writing frequency if 3-stage is used\n                if (!(connect.isFirefoxBrowser() && this._audioContext.sampleRate < QUANTA_SAMPLE_RATE_LIMIT_MAX)) {\n                  _context2.n = 4;\n                  break;\n                }\n                if (!(this._audioContext.sampleRate > QUANTA_SAMPLE_RATE_LIMIT_MIN && this._audioContext.sampleRate <= COMPUTE_CAPACITY_LIMIT)) {\n                  _context2.n = 3;\n                  break;\n                }\n                // Force one-stage processing so voiceFocus function is fast enough\n                // to prevent audio data loss due to buffer overflow\n                spec.executionQuantaPreference = 1;\n                _context2.n = 4;\n                break;\n              case 3:\n                throw new Error('This sample rate is not supported in VoiceFocus');\n              case 4:\n                _context2.n = 5;\n                return VoiceFocus.configure(spec, {\n                  logger: this._logger\n                });\n              case 5:\n                config = _context2.v;\n                if (config.supported) {\n                  _context2.n = 6;\n                  break;\n                }\n                throw new Error('VoiceFocus not supported on this platform');\n              case 6:\n                this._logger.info('VoiceFocus is configured for given spec', spec);\n                _context2.n = 7;\n                return VoiceFocus.init(config, {\n                  preload: true,\n                  logger: this._logger\n                });\n              case 7:\n                this._voiceFocusInstance = _context2.v;\n                this._danglingInstances.push(this._voiceFocusInstance);\n                this._logger.info('Successfully initialized VoiceFocus instance', config);\n                _context2.n = 9;\n                break;\n              case 8:\n                _context2.p = 8;\n                _t = _context2.v;\n                this._logger.error(\"Failed to initialize VoiceFocus: \".concat(_t));\n                this._voiceFocusInstance = null;\n                throw _t;\n              case 9:\n                return _context2.a(2);\n            }\n          }, _callee2, this, [[1, 8]]);\n        }));\n        function _initialize(_x2) {\n          return _initialize3.apply(this, arguments);\n        }\n        return _initialize;\n      }()\n    }, {\n      key: \"applyToStream\",\n      value: function () {\n        var _applyToStream = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(stream) {\n          var _this$_streamSource, _this$_voiceFocusInst3, _this$_voiceFocusInst4;\n          var _this$_voiceFocusInst5, audioContext, voiceFocusNode, destination, result;\n          return _regenerator().w(function (_context3) {\n            while (1) switch (_context3.n) {\n              case 0:\n                if (this.isInitialized()) {\n                  _context3.n = 1;\n                  break;\n                }\n                throw new Error('VoiceFocus not initialized');\n              case 1:\n                // Disconnect existing source\n                (_this$_streamSource = this._streamSource) === null || _this$_streamSource === void 0 || _this$_streamSource.disconnect();\n                if (!(this._streamFlowInitialized && (_this$_voiceFocusInst3 = this._voiceFocusInstance) !== null && _this$_voiceFocusInst3 !== void 0 && (_this$_voiceFocusInst3 = _this$_voiceFocusInst3.internal) !== null && _this$_voiceFocusInst3 !== void 0 && _this$_voiceFocusInst3.voiceFocusNode && ((_this$_voiceFocusInst4 = this._voiceFocusInstance) === null || _this$_voiceFocusInst4 === void 0 || (_this$_voiceFocusInst4 = _this$_voiceFocusInst4.internal) === null || _this$_voiceFocusInst4 === void 0 || (_this$_voiceFocusInst4 = _this$_voiceFocusInst4.audioContext) === null || _this$_voiceFocusInst4 === void 0 ? void 0 : _this$_voiceFocusInst4.state) === 'running')) {\n                  _context3.n = 2;\n                  break;\n                }\n                _this$_voiceFocusInst5 = this._voiceFocusInstance.internal, audioContext = _this$_voiceFocusInst5.audioContext, voiceFocusNode = _this$_voiceFocusInst5.voiceFocusNode;\n                this._streamSource = audioContext.createMediaStreamSource(stream);\n                destination = audioContext.createMediaStreamDestination();\n                this._streamSource.connect(voiceFocusNode);\n                voiceFocusNode.connect(destination);\n                return _context3.a(2, {\n                  stream: destination.stream\n                });\n              case 2:\n                this._streamFlowInitialized = true;\n                _context3.n = 3;\n                return this._voiceFocusInstance.applyToStream(stream, this._audioContext);\n              case 3:\n                result = _context3.v;\n                this._streamSource = result.source;\n                return _context3.a(2, result);\n            }\n          }, _callee3, this);\n        }));\n        function applyToStream(_x3) {\n          return _applyToStream.apply(this, arguments);\n        }\n        return applyToStream;\n      }()\n    }, {\n      key: \"initializeAndApplyToStream\",\n      value: function () {\n        var _initializeAndApplyToStream = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(stream, mode) {\n          return _regenerator().w(function (_context4) {\n            while (1) switch (_context4.n) {\n              case 0:\n                _context4.n = 1;\n                return this.initialize({\n                  mode: mode\n                });\n              case 1:\n                if (this.isInitialized()) {\n                  _context4.n = 2;\n                  break;\n                }\n                throw new Error(\"\".concat(logPrefix, \" Failed to initialize voice focus instance.\"));\n              case 2:\n                return _context4.a(2, this.applyToStream(stream));\n            }\n          }, _callee4, this);\n        }));\n        function initializeAndApplyToStream(_x4, _x5) {\n          return _initializeAndApplyToStream.apply(this, arguments);\n        }\n        return initializeAndApplyToStream;\n      }()\n    }, {\n      key: \"reset\",\n      value: function reset() {\n        try {\n          var _this$_streamSource2, _this$_voiceFocusInst6;\n          this._modelLoadingMetrics = {};\n          (_this$_streamSource2 = this._streamSource) === null || _this$_streamSource2 === void 0 || _this$_streamSource2.disconnect();\n          (_this$_voiceFocusInst6 = this._voiceFocusInstance) === null || _this$_voiceFocusInst6 === void 0 || (_this$_voiceFocusInst6 = _this$_voiceFocusInst6.internal) === null || _this$_voiceFocusInst6 === void 0 || (_this$_voiceFocusInst6 = _this$_voiceFocusInst6.voiceFocusNode) === null || _this$_voiceFocusInst6 === void 0 || (_this$_voiceFocusInst6 = _this$_voiceFocusInst6.port) === null || _this$_voiceFocusInst6 === void 0 || _this$_voiceFocusInst6.postMessage({\n            message: 'reset'\n          });\n          this.addModelLoadingMetric(VOICE_FOCUS_CLEARED_METRIC, 1, 'count');\n        } catch (error) {\n          this._logger.error(\"Error in destroying VoiceFocus instance: \".concat(error));\n          this.addModelLoadingMetric(VOICE_FOCUS_CLEARED_METRIC, 0, 'count');\n          return this.destroy();\n        }\n      }\n    }, {\n      key: \"destroy\",\n      value: function () {\n        var _destroy = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {\n          var _this$_danglingInstan;\n          return _regenerator().w(function (_context5) {\n            while (1) switch (_context5.n) {\n              case 0:\n                try {\n                  // call VF destroy to terminate the resources created in it.\n                  (_this$_danglingInstan = this._danglingInstances) === null || _this$_danglingInstan === void 0 || _this$_danglingInstan.forEach(function (instance) {\n                    return instance === null || instance === void 0 ? void 0 : instance.destroy();\n                  });\n                  this._voiceFocusInstance = null;\n                  this._audioContext = null;\n                  this._streamFlowInitialized = false;\n                  this._logger.info('Successfully destroyed VoiceFocus instance and cleared the WebAudio graph.');\n                } catch (error) {\n                  this._logger.error(\"Error in destroying VoiceFocus instance: \".concat(error));\n                } finally {\n                  this._voiceFocusInstance = null;\n                  this._audioContext = null;\n                  this._danglingInstances = [];\n                  this._modelLoadingMetrics = {};\n                }\n              case 1:\n                return _context5.a(2);\n            }\n          }, _callee5, this);\n        }));\n        function destroy() {\n          return _destroy.apply(this, arguments);\n        }\n        return destroy;\n      }()\n    }]);\n  }();\n  var _voiceFocusLogger = new VoiceFocusLogger();\n\n  // Create the singleton instance\n  connect.core.voiceFocus = new VoiceFocusInstanceManager(_voiceFocusLogger);\n  var VoiceFocusProvider = /*#__PURE__*/function () {\n    function VoiceFocusProvider() {\n      _classCallCheck(this, VoiceFocusProvider);\n    }\n    return _createClass(VoiceFocusProvider, null, [{\n      key: \"getVoiceEnhancedUserMedia\",\n      value: (\n      /**\n       * Gets the voice enhanced user media stream.\n       *\n       * @param {MediaStream} sourceMediaStream - Source media stream to enhance with voice enhancement feature.\n       * @param {Object} options - Options for voice enhancement.\n       * @param {Function} options.onError - Callback function to handle errors.\n       * @returns {Promise<MediaStream>} - A Promise that resolves with the enhanced MediaStream object if successful, or rejects with an error if there's a problem.\n       */\n      function () {\n        var _getVoiceEnhancedUserMedia = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6(sourceMediaStream) {\n          var _ref4,\n            onError,\n            mode,\n            voiceFocusManager,\n            modelMode,\n            startTime,\n            timeout,\n            _args6 = arguments,\n            _t2,\n            _t3,\n            _t4,\n            _t5;\n          return _regenerator().w(function (_context6) {\n            while (1) switch (_context6.p = _context6.n) {\n              case 0:\n                _ref4 = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : {\n                  onError: function onError() {}\n                }, onError = _ref4.onError;\n                mode = new connect.Agent().getVoiceEnhancementMode();\n                VoiceFocusProvider.modelMode = voiceEnhancementModeToModelMode[mode !== null && mode !== void 0 ? mode : ''];\n                voiceFocusManager = connect.core.voiceFocus;\n                modelMode = VoiceFocusProvider.modelMode;\n                if (modelMode) {\n                  _context6.n = 1;\n                  break;\n                }\n                _voiceFocusLogger.log('Voice focus disabled, returning default mediaStream.');\n                voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_MODE_METRIC, 1, 'count', {\n                  ModelMode: 'none'\n                });\n                return _context6.a(2, sourceMediaStream);\n              case 1:\n                _context6.p = 1;\n                _voiceFocusLogger.log(\"Voice focus enabled with mode: \".concat(modelMode));\n                voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_MODE_METRIC, 1, 'count', {\n                  ModelMode: modelMode\n                });\n                // Get audio device label and browser info for metrics\n                _t2 = voiceFocusManager;\n                _t3 = VOICE_FOCUS_DEVICE_LABEL_METRIC;\n                _context6.n = 2;\n                return getAudioDeviceLabel(sourceMediaStream);\n              case 2:\n                _t4 = _context6.v;\n                _t2.addModelLoadingMetric.call(_t2, _t3, 1, 'count', {\n                  DeviceLabel: _t4\n                });\n                // Get browser name for metrics\n                voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_BROWSER_METRIC, 1, 'count', {\n                  BrowserName: getBrowserName()\n                });\n                _voiceFocusLogger.log(\"Initializing voice focus to enhance source stream: \".concat(sourceMediaStream.id));\n\n                // Capture the start time\n                startTime = performance.now(); // Create a Promise that resolves after 5 seconds\n                timeout = new Promise(function (_, reject) {\n                  setTimeout(function () {\n                    return reject(new Error('TimeoutError'));\n                  }, 5000);\n                }); // Use Promise.race() to return the first Promise that resolves/rejects to ensure we fallback to default media stream\n                return _context6.a(2, Promise.race([voiceFocusManager.initializeAndApplyToStream(sourceMediaStream, modelMode), timeout]).then(function (result) {\n                  // Capture the end time\n                  var endTime = performance.now();\n\n                  // Calculate the elapsed time\n                  var elapsedTime = (endTime - startTime).toFixed(2);\n\n                  // Note: since there is only one audio node, the mode must be explicitly set at every invocation to capture any change since the initialization\n                  connect.core.voiceFocus.setMode(modelMode);\n                  _voiceFocusLogger.log(\"Voice focus returned enhanced media stream in \".concat(elapsedTime, \" ms\"));\n                  voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ERROR_METRIC, 0, 'count');\n                  voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ELAPSED_TIME_METRIC, elapsedTime, 'latency');\n                  return result === null || result === void 0 ? void 0 : result.stream;\n                })[\"catch\"](function (error) {\n                  // Capture the end time\n                  var endTime = performance.now();\n\n                  // Calculate the elapsed time\n                  var elapsedTime = (endTime - startTime).toFixed(2);\n                  if (error.message === 'TimeoutError') {\n                    // If the timeout Promise resolves first, return the default media stream\n                    _voiceFocusLogger.warn(\"Timeout exceeded (\".concat(elapsedTime, \" ms), returning back source media stream\"));\n                    var timeoutDimensions = _defineProperty({}, METRIC_ERROR_TYPE, 'Timeout');\n                    voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ERROR_METRIC, 1, 'count', timeoutDimensions);\n                    voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ELAPSED_TIME_METRIC, elapsedTime, 'latency', timeoutDimensions);\n                  } else {\n                    _voiceFocusLogger.warn(\"Error occurred in Voice focus (\".concat(elapsedTime, \" ms), returning source media stream: \").concat(error));\n                    voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ERROR_METRIC, 1, 'count');\n                    voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ELAPSED_TIME_METRIC, elapsedTime, 'latency', _defineProperty({}, METRIC_ERROR_TYPE, 'Generic'));\n                  }\n                  onError === null || onError === void 0 || onError();\n                  return sourceMediaStream;\n                }));\n              case 3:\n                _context6.p = 3;\n                _t5 = _context6.v;\n                _voiceFocusLogger.warn(\"Error occurred in Voice focus, returning source media stream: \".concat(_t5));\n                voiceFocusManager.addModelLoadingMetric(VOICE_FOCUS_ERROR_METRIC, 1, 'count');\n                onError === null || onError === void 0 || onError();\n                return _context6.a(2, sourceMediaStream);\n            }\n          }, _callee6, null, [[1, 3]]);\n        }));\n        function getVoiceEnhancedUserMedia(_x6) {\n          return _getVoiceEnhancedUserMedia.apply(this, arguments);\n        }\n        return getVoiceEnhancedUserMedia;\n      }())\n    }, {\n      key: \"publishMetrics\",\n      value: function publishMetrics(_ref5) {\n        var _connect$core$voiceFo;\n        var contactId = _ref5.contactId;\n        (_connect$core$voiceFo = connect.core.voiceFocus) === null || _connect$core$voiceFo === void 0 || _connect$core$voiceFo.publishMetrics({\n          contactId: contactId,\n          mode: VoiceFocusProvider.modelMode\n        });\n      }\n    }, {\n      key: \"cleanVoiceFocus\",\n      value: function () {\n        var _cleanVoiceFocus = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {\n          var _connect$core$voiceFo2;\n          return _regenerator().w(function (_context7) {\n            while (1) switch (_context7.n) {\n              case 0:\n                _context7.n = 1;\n                return (_connect$core$voiceFo2 = connect.core.voiceFocus) === null || _connect$core$voiceFo2 === void 0 ? void 0 : _connect$core$voiceFo2.reset();\n              case 1:\n                return _context7.a(2);\n            }\n          }, _callee7);\n        }));\n        function cleanVoiceFocus() {\n          return _cleanVoiceFocus.apply(this, arguments);\n        }\n        return cleanVoiceFocus;\n      }()\n    }]);\n  }();\n  _defineProperty(VoiceFocusProvider, \"modelMode\", undefined);\n  module.exports = VoiceFocusProvider;\n  connect.VoiceFocusProvider = VoiceFocusProvider;\n})();\n\n/***/ },\n\n/***/ 181\n(module, __unused_webpack_exports, __webpack_require__) {\n\n/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        result = wait - timeSinceLastCall;\n\n    return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = value.replace(reTrim, '');\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n\n\n/***/ }\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tconst __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tconst cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tconst module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/amd options */\n/******/ \t__webpack_require__.amdO = {};\n/******/ \t\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = (module) => {\n/******/ \t\tconst getter = module && module.__esModule ?\n/******/ \t\t\t() => (module['default']) :\n/******/ \t\t\t() => (module);\n/******/ \t\t__webpack_require__.d(getter, { a: getter });\n/******/ \t\treturn getter;\n/******/ \t};\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t// define getter/value functions for harmony exports\n/******/ \t__webpack_require__.d = (exports, definition) => {\n/******/ \t\tfor(var key in definition) {\n/******/ \t\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n/******/ \t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t}\n/******/ \t\t}\n/******/ \t};\n/******/ \t\n/******/ \t/* webpack/runtime/global */\n/******/ \t__webpack_require__.g = (function() {\n/******/ \t\tif (typeof globalThis === 'object') return globalThis;\n/******/ \t\ttry {\n/******/ \t\t\treturn this || new Function('return this')();\n/******/ \t\t} catch (e) {\n/******/ \t\t\tif (typeof window === 'object') return window;\n/******/ \t\t}\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = (exports) => {\n/******/ \t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/ \t\n/************************************************************************/\n/******/ \t\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \t// This entry module used 'module' so it can't be inlined\n/******/ \t__webpack_require__(167);\n/******/ \t__webpack_require__(254);\n/******/ \t__webpack_require__(344);\n/******/ \t__webpack_require__(144);\n/******/ \t__webpack_require__(60);\n/******/ \t__webpack_require__(682);\n/******/ \t__webpack_require__(431);\n/******/ \t__webpack_require__(555);\n/******/ \t__webpack_require__(830);\n/******/ \t__webpack_require__(414);\n/******/ \t__webpack_require__(610);\n/******/ \t__webpack_require__(95);\n/******/ \t__webpack_require__(399);\n/******/ \t__webpack_require__(906);\n/******/ \t__webpack_require__(806);\n/******/ \t__webpack_require__(142);\n/******/ \t__webpack_require__(884);\n/******/ \t__webpack_require__(390);\n/******/ \t__webpack_require__(269);\n/******/ \t__webpack_require__(825);\n/******/ \t__webpack_require__(961);\n/******/ \t__webpack_require__(949);\n/******/ \tlet __webpack_exports__ = __webpack_require__(969);\n/******/ \t\n/******/ })()\n;"]}