{"version":3,"file":"AssetsGrid-Bq50zg23.js","sources":["../../../app/javascript/src/app/mixins/api.js","../../../app/javascript/src/components/graphics/UserIcon.vue","../../../app/javascript/src/components/graphics/SmallSurveySpotlightIcon.vue","../../../app/javascript/src/components/graphics/AccountIcon.vue","../../../app/javascript/src/mixins/spotlight_mixins.js","../../../app/javascript/src/components/SpotlightPreview.vue","../../../app/javascript/src/app/components/Microsite.vue","../../../node_modules/@airops/airops-js/dist/index.esm.js","../../../app/javascript/src/app/components/EllipsisLoader.vue","../../../app/javascript/images/icons/ai-magic.svg?raw","../../../app/javascript/src/app/pages/content_assets/BotMessage.vue","../../../app/javascript/src/app/pages/content_assets/ChatBox.vue","../../../app/javascript/images/content_assets/vertical_bar_chart_preview_styled_theme.png","../../../app/javascript/images/content_assets/vertical_bar_chart_preview_basic_theme.png","../../../app/javascript/images/content_assets/stat_preview_styled_theme.png","../../../app/javascript/images/content_assets/stat_preview_basic_theme.png","../../../app/javascript/images/content_assets/multi_page_spotlight.png","../../../app/javascript/images/content_assets/customer_spotlight_preview_image.png","../../../app/javascript/src/components/ShareAssetModal.vue","../../../app/javascript/src/components/ShareAssetModalNew.vue","../../../app/javascript/src/mixins/filters.js","../../../app/javascript/src/mixins/url_manager.js","../../../app/javascript/src/components/FileAsset.vue","../../../app/javascript/src/components/ShareCustomerSpotlightModal.vue","../../../app/javascript/src/components/VideoLinkAsset.vue","../../../app/javascript/src/components/new_components/ButtonNew.vue","../../../app/javascript/src/components/ShareMatrixxChartModal.vue","../../../app/javascript/src/helpers/assets.js","../../../app/javascript/src/components/PdfViewer.vue","../../../app/javascript/src/site/components/asset_lists/GridAssetPresenter.vue","../../../app/javascript/src/site/components/asset_lists/AssetsGrid.vue"],"sourcesContent":["import * as api from '@app/api.js'\n\nexport default {\n computed: {\n back_link() {\n if (this.$route.query.back == 'recipient')\n return `/app/recipients/${this.content_asset.recipient.id}`\n else if (this.$route.query.back == 'aggregate')\n return '`/app/surveys/${this.content_asset.survey.id}/results?tab=1`'\n else if (this.$route.query.back == 'show')\n return `/app/content_assets/${this.content_asset.id}`\n },\n },\n methods: { ...api },\n}\n","\n\n\n","\n\n","\n\n","export default {\n computed: {\n is_customer_spotlight() {\n return this.content_asset.type.indexOf('CustomerSpotlight') >= 0\n },\n is_survey_spotlight() {\n return this.content_asset.type.indexOf('SurveySpotlight') >= 0\n },\n // note an account spotlight is ALSO a survey spotlight\n is_account_spotlight() {\n return this.content_asset.filter == 'company'\n },\n is_case_study() {\n return this.content_asset.type.indexOf('CaseStudy') >= 0\n },\n is_fortune_500() {\n return (\n this.content_asset?.recipient?.size_group == 'fortune_500' ||\n this.content_asset?.company?.is_fortune_500\n )\n },\n },\n}\n","\n\n\n","\n\n\n\n\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\n\n// 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()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nfunction rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nfunction unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();\n}\n\nconst randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nvar native = {\n randomUUID\n};\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nfunction getDefaultExportFromCjs (x) {\n\treturn x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\n\nvar pusherWithEncryption = {exports: {}};\n\n/*!\n * Pusher JavaScript Library v8.2.0\n * https://pusher.com/\n *\n * Copyright 2020, Pusher\n * Released under the MIT licence.\n */\n\n(function (module, exports) {\n\t(function webpackUniversalModuleDefinition(root, factory) {\n\t\tmodule.exports = factory();\n\t})(window, function() {\n\treturn /******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t/******/\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t/******/\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId]) {\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t/******/ \t\t}\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\ti: moduleId,\n\t/******/ \t\t\tl: false,\n\t/******/ \t\t\texports: {}\n\t/******/ \t\t};\n\t/******/\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t/******/\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.l = true;\n\t/******/\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t/******/\n\t/******/\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t/******/\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t/******/\n\t/******/ \t// define getter function for harmony exports\n\t/******/ \t__webpack_require__.d = function(exports, name, getter) {\n\t/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n\t/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n\t/******/ \t\t}\n\t/******/ \t};\n\t/******/\n\t/******/ \t// define __esModule on exports\n\t/******/ \t__webpack_require__.r = function(exports) {\n\t/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t/******/ \t\t}\n\t/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n\t/******/ \t};\n\t/******/\n\t/******/ \t// create a fake namespace object\n\t/******/ \t// mode & 1: value is a module id, require it\n\t/******/ \t// mode & 2: merge all properties of value into the ns\n\t/******/ \t// mode & 4: return value when already ns object\n\t/******/ \t// mode & 8|1: behave like require\n\t/******/ \t__webpack_require__.t = function(value, mode) {\n\t/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n\t/******/ \t\tif(mode & 8) return value;\n\t/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n\t/******/ \t\tvar ns = Object.create(null);\n\t/******/ \t\t__webpack_require__.r(ns);\n\t/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n\t/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n\t/******/ \t\treturn ns;\n\t/******/ \t};\n\t/******/\n\t/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n\t/******/ \t__webpack_require__.n = function(module) {\n\t/******/ \t\tvar getter = module && module.__esModule ?\n\t/******/ \t\t\tfunction getDefault() { return module['default']; } :\n\t/******/ \t\t\tfunction getModuleExports() { return module; };\n\t/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n\t/******/ \t\treturn getter;\n\t/******/ \t};\n\t/******/\n\t/******/ \t// Object.prototype.hasOwnProperty.call\n\t/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\t/******/\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t/******/\n\t/******/\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(__webpack_require__.s = 3);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ (function(module, exports, __webpack_require__) {\n\n\t// Copyright (C) 2016 Dmitry Chestnykh\n\t// MIT License. See LICENSE file for details.\n\tvar __extends = (this && this.__extends) || (function () {\n\t var extendStatics = function (d, b) {\n\t extendStatics = Object.setPrototypeOf ||\n\t ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n\t function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n\t return extendStatics(d, b);\n\t };\n\t return function (d, b) {\n\t extendStatics(d, b);\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t})();\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t/**\n\t * Package base64 implements Base64 encoding and decoding.\n\t */\n\t// Invalid character used in decoding to indicate\n\t// that the character to decode is out of range of\n\t// alphabet and cannot be decoded.\n\tvar INVALID_BYTE = 256;\n\t/**\n\t * Implements standard Base64 encoding.\n\t *\n\t * Operates in constant time.\n\t */\n\tvar Coder = /** @class */ (function () {\n\t // TODO(dchest): methods to encode chunk-by-chunk.\n\t function Coder(_paddingCharacter) {\n\t if (_paddingCharacter === void 0) { _paddingCharacter = \"=\"; }\n\t this._paddingCharacter = _paddingCharacter;\n\t }\n\t Coder.prototype.encodedLength = function (length) {\n\t if (!this._paddingCharacter) {\n\t return (length * 8 + 5) / 6 | 0;\n\t }\n\t return (length + 2) / 3 * 4 | 0;\n\t };\n\t Coder.prototype.encode = function (data) {\n\t var out = \"\";\n\t var i = 0;\n\t for (; i < data.length - 2; i += 3) {\n\t var c = (data[i] << 16) | (data[i + 1] << 8) | (data[i + 2]);\n\t out += this._encodeByte((c >>> 3 * 6) & 63);\n\t out += this._encodeByte((c >>> 2 * 6) & 63);\n\t out += this._encodeByte((c >>> 1 * 6) & 63);\n\t out += this._encodeByte((c >>> 0 * 6) & 63);\n\t }\n\t var left = data.length - i;\n\t if (left > 0) {\n\t var c = (data[i] << 16) | (left === 2 ? data[i + 1] << 8 : 0);\n\t out += this._encodeByte((c >>> 3 * 6) & 63);\n\t out += this._encodeByte((c >>> 2 * 6) & 63);\n\t if (left === 2) {\n\t out += this._encodeByte((c >>> 1 * 6) & 63);\n\t }\n\t else {\n\t out += this._paddingCharacter || \"\";\n\t }\n\t out += this._paddingCharacter || \"\";\n\t }\n\t return out;\n\t };\n\t Coder.prototype.maxDecodedLength = function (length) {\n\t if (!this._paddingCharacter) {\n\t return (length * 6 + 7) / 8 | 0;\n\t }\n\t return length / 4 * 3 | 0;\n\t };\n\t Coder.prototype.decodedLength = function (s) {\n\t return this.maxDecodedLength(s.length - this._getPaddingLength(s));\n\t };\n\t Coder.prototype.decode = function (s) {\n\t if (s.length === 0) {\n\t return new Uint8Array(0);\n\t }\n\t var paddingLength = this._getPaddingLength(s);\n\t var length = s.length - paddingLength;\n\t var out = new Uint8Array(this.maxDecodedLength(length));\n\t var op = 0;\n\t var i = 0;\n\t var haveBad = 0;\n\t var v0 = 0, v1 = 0, v2 = 0, v3 = 0;\n\t for (; i < length - 4; i += 4) {\n\t v0 = this._decodeChar(s.charCodeAt(i + 0));\n\t v1 = this._decodeChar(s.charCodeAt(i + 1));\n\t v2 = this._decodeChar(s.charCodeAt(i + 2));\n\t v3 = this._decodeChar(s.charCodeAt(i + 3));\n\t out[op++] = (v0 << 2) | (v1 >>> 4);\n\t out[op++] = (v1 << 4) | (v2 >>> 2);\n\t out[op++] = (v2 << 6) | v3;\n\t haveBad |= v0 & INVALID_BYTE;\n\t haveBad |= v1 & INVALID_BYTE;\n\t haveBad |= v2 & INVALID_BYTE;\n\t haveBad |= v3 & INVALID_BYTE;\n\t }\n\t if (i < length - 1) {\n\t v0 = this._decodeChar(s.charCodeAt(i));\n\t v1 = this._decodeChar(s.charCodeAt(i + 1));\n\t out[op++] = (v0 << 2) | (v1 >>> 4);\n\t haveBad |= v0 & INVALID_BYTE;\n\t haveBad |= v1 & INVALID_BYTE;\n\t }\n\t if (i < length - 2) {\n\t v2 = this._decodeChar(s.charCodeAt(i + 2));\n\t out[op++] = (v1 << 4) | (v2 >>> 2);\n\t haveBad |= v2 & INVALID_BYTE;\n\t }\n\t if (i < length - 3) {\n\t v3 = this._decodeChar(s.charCodeAt(i + 3));\n\t out[op++] = (v2 << 6) | v3;\n\t haveBad |= v3 & INVALID_BYTE;\n\t }\n\t if (haveBad !== 0) {\n\t throw new Error(\"Base64Coder: incorrect characters for decoding\");\n\t }\n\t return out;\n\t };\n\t // Standard encoding have the following encoded/decoded ranges,\n\t // which we need to convert between.\n\t //\n\t // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 + /\n\t // Index: 0 - 25 26 - 51 52 - 61 62 63\n\t // ASCII: 65 - 90 97 - 122 48 - 57 43 47\n\t //\n\t // Encode 6 bits in b into a new character.\n\t Coder.prototype._encodeByte = function (b) {\n\t // Encoding uses constant time operations as follows:\n\t //\n\t // 1. Define comparison of A with B using (A - B) >>> 8:\n\t // if A > B, then result is positive integer\n\t // if A <= B, then result is 0\n\t //\n\t // 2. Define selection of C or 0 using bitwise AND: X & C:\n\t // if X == 0, then result is 0\n\t // if X != 0, then result is C\n\t //\n\t // 3. Start with the smallest comparison (b >= 0), which is always\n\t // true, so set the result to the starting ASCII value (65).\n\t //\n\t // 4. Continue comparing b to higher ASCII values, and selecting\n\t // zero if comparison isn't true, otherwise selecting a value\n\t // to add to result, which:\n\t //\n\t // a) undoes the previous addition\n\t // b) provides new value to add\n\t //\n\t var result = b;\n\t // b >= 0\n\t result += 65;\n\t // b > 25\n\t result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n\t // b > 51\n\t result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n\t // b > 61\n\t result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 43);\n\t // b > 62\n\t result += ((62 - b) >>> 8) & ((62 - 43) - 63 + 47);\n\t return String.fromCharCode(result);\n\t };\n\t // Decode a character code into a byte.\n\t // Must return 256 if character is out of alphabet range.\n\t Coder.prototype._decodeChar = function (c) {\n\t // Decoding works similar to encoding: using the same comparison\n\t // function, but now it works on ranges: result is always incremented\n\t // by value, but this value becomes zero if the range is not\n\t // satisfied.\n\t //\n\t // Decoding starts with invalid value, 256, which is then\n\t // subtracted when the range is satisfied. If none of the ranges\n\t // apply, the function returns 256, which is then checked by\n\t // the caller to throw error.\n\t var result = INVALID_BYTE; // start with invalid character\n\t // c == 43 (c > 42 and c < 44)\n\t result += (((42 - c) & (c - 44)) >>> 8) & (-INVALID_BYTE + c - 43 + 62);\n\t // c == 47 (c > 46 and c < 48)\n\t result += (((46 - c) & (c - 48)) >>> 8) & (-INVALID_BYTE + c - 47 + 63);\n\t // c > 47 and c < 58\n\t result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n\t // c > 64 and c < 91\n\t result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n\t // c > 96 and c < 123\n\t result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\t return result;\n\t };\n\t Coder.prototype._getPaddingLength = function (s) {\n\t var paddingLength = 0;\n\t if (this._paddingCharacter) {\n\t for (var i = s.length - 1; i >= 0; i--) {\n\t if (s[i] !== this._paddingCharacter) {\n\t break;\n\t }\n\t paddingLength++;\n\t }\n\t if (s.length < 4 || paddingLength > 2) {\n\t throw new Error(\"Base64Coder: incorrect padding\");\n\t }\n\t }\n\t return paddingLength;\n\t };\n\t return Coder;\n\t}());\n\texports.Coder = Coder;\n\tvar stdCoder = new Coder();\n\tfunction encode(data) {\n\t return stdCoder.encode(data);\n\t}\n\texports.encode = encode;\n\tfunction decode(s) {\n\t return stdCoder.decode(s);\n\t}\n\texports.decode = decode;\n\t/**\n\t * Implements URL-safe Base64 encoding.\n\t * (Same as Base64, but '+' is replaced with '-', and '/' with '_').\n\t *\n\t * Operates in constant time.\n\t */\n\tvar URLSafeCoder = /** @class */ (function (_super) {\n\t __extends(URLSafeCoder, _super);\n\t function URLSafeCoder() {\n\t return _super !== null && _super.apply(this, arguments) || this;\n\t }\n\t // URL-safe encoding have the following encoded/decoded ranges:\n\t //\n\t // ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789 - _\n\t // Index: 0 - 25 26 - 51 52 - 61 62 63\n\t // ASCII: 65 - 90 97 - 122 48 - 57 45 95\n\t //\n\t URLSafeCoder.prototype._encodeByte = function (b) {\n\t var result = b;\n\t // b >= 0\n\t result += 65;\n\t // b > 25\n\t result += ((25 - b) >>> 8) & ((0 - 65) - 26 + 97);\n\t // b > 51\n\t result += ((51 - b) >>> 8) & ((26 - 97) - 52 + 48);\n\t // b > 61\n\t result += ((61 - b) >>> 8) & ((52 - 48) - 62 + 45);\n\t // b > 62\n\t result += ((62 - b) >>> 8) & ((62 - 45) - 63 + 95);\n\t return String.fromCharCode(result);\n\t };\n\t URLSafeCoder.prototype._decodeChar = function (c) {\n\t var result = INVALID_BYTE;\n\t // c == 45 (c > 44 and c < 46)\n\t result += (((44 - c) & (c - 46)) >>> 8) & (-INVALID_BYTE + c - 45 + 62);\n\t // c == 95 (c > 94 and c < 96)\n\t result += (((94 - c) & (c - 96)) >>> 8) & (-INVALID_BYTE + c - 95 + 63);\n\t // c > 47 and c < 58\n\t result += (((47 - c) & (c - 58)) >>> 8) & (-INVALID_BYTE + c - 48 + 52);\n\t // c > 64 and c < 91\n\t result += (((64 - c) & (c - 91)) >>> 8) & (-INVALID_BYTE + c - 65 + 0);\n\t // c > 96 and c < 123\n\t result += (((96 - c) & (c - 123)) >>> 8) & (-INVALID_BYTE + c - 97 + 26);\n\t return result;\n\t };\n\t return URLSafeCoder;\n\t}(Coder));\n\texports.URLSafeCoder = URLSafeCoder;\n\tvar urlSafeCoder = new URLSafeCoder();\n\tfunction encodeURLSafe(data) {\n\t return urlSafeCoder.encode(data);\n\t}\n\texports.encodeURLSafe = encodeURLSafe;\n\tfunction decodeURLSafe(s) {\n\t return urlSafeCoder.decode(s);\n\t}\n\texports.decodeURLSafe = decodeURLSafe;\n\texports.encodedLength = function (length) {\n\t return stdCoder.encodedLength(length);\n\t};\n\texports.maxDecodedLength = function (length) {\n\t return stdCoder.maxDecodedLength(length);\n\t};\n\texports.decodedLength = function (s) {\n\t return stdCoder.decodedLength(s);\n\t};\n\n\n\t/***/ }),\n\t/* 1 */\n\t/***/ (function(module, exports, __webpack_require__) {\n\n\t// Copyright (C) 2016 Dmitry Chestnykh\n\t// MIT License. See LICENSE file for details.\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\t/**\n\t * Package utf8 implements UTF-8 encoding and decoding.\n\t */\n\tvar INVALID_UTF16 = \"utf8: invalid string\";\n\tvar INVALID_UTF8 = \"utf8: invalid source encoding\";\n\t/**\n\t * Encodes the given string into UTF-8 byte array.\n\t * Throws if the source string has invalid UTF-16 encoding.\n\t */\n\tfunction encode(s) {\n\t // Calculate result length and allocate output array.\n\t // encodedLength() also validates string and throws errors,\n\t // so we don't need repeat validation here.\n\t var arr = new Uint8Array(encodedLength(s));\n\t var pos = 0;\n\t for (var i = 0; i < s.length; i++) {\n\t var c = s.charCodeAt(i);\n\t if (c < 0x80) {\n\t arr[pos++] = c;\n\t }\n\t else if (c < 0x800) {\n\t arr[pos++] = 0xc0 | c >> 6;\n\t arr[pos++] = 0x80 | c & 0x3f;\n\t }\n\t else if (c < 0xd800) {\n\t arr[pos++] = 0xe0 | c >> 12;\n\t arr[pos++] = 0x80 | (c >> 6) & 0x3f;\n\t arr[pos++] = 0x80 | c & 0x3f;\n\t }\n\t else {\n\t i++; // get one more character\n\t c = (c & 0x3ff) << 10;\n\t c |= s.charCodeAt(i) & 0x3ff;\n\t c += 0x10000;\n\t arr[pos++] = 0xf0 | c >> 18;\n\t arr[pos++] = 0x80 | (c >> 12) & 0x3f;\n\t arr[pos++] = 0x80 | (c >> 6) & 0x3f;\n\t arr[pos++] = 0x80 | c & 0x3f;\n\t }\n\t }\n\t return arr;\n\t}\n\texports.encode = encode;\n\t/**\n\t * Returns the number of bytes required to encode the given string into UTF-8.\n\t * Throws if the source string has invalid UTF-16 encoding.\n\t */\n\tfunction encodedLength(s) {\n\t var result = 0;\n\t for (var i = 0; i < s.length; i++) {\n\t var c = s.charCodeAt(i);\n\t if (c < 0x80) {\n\t result += 1;\n\t }\n\t else if (c < 0x800) {\n\t result += 2;\n\t }\n\t else if (c < 0xd800) {\n\t result += 3;\n\t }\n\t else if (c <= 0xdfff) {\n\t if (i >= s.length - 1) {\n\t throw new Error(INVALID_UTF16);\n\t }\n\t i++; // \"eat\" next character\n\t result += 4;\n\t }\n\t else {\n\t throw new Error(INVALID_UTF16);\n\t }\n\t }\n\t return result;\n\t}\n\texports.encodedLength = encodedLength;\n\t/**\n\t * Decodes the given byte array from UTF-8 into a string.\n\t * Throws if encoding is invalid.\n\t */\n\tfunction decode(arr) {\n\t var chars = [];\n\t for (var i = 0; i < arr.length; i++) {\n\t var b = arr[i];\n\t if (b & 0x80) {\n\t var min = void 0;\n\t if (b < 0xe0) {\n\t // Need 1 more byte.\n\t if (i >= arr.length) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t var n1 = arr[++i];\n\t if ((n1 & 0xc0) !== 0x80) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t b = (b & 0x1f) << 6 | (n1 & 0x3f);\n\t min = 0x80;\n\t }\n\t else if (b < 0xf0) {\n\t // Need 2 more bytes.\n\t if (i >= arr.length - 1) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t var n1 = arr[++i];\n\t var n2 = arr[++i];\n\t if ((n1 & 0xc0) !== 0x80 || (n2 & 0xc0) !== 0x80) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t b = (b & 0x0f) << 12 | (n1 & 0x3f) << 6 | (n2 & 0x3f);\n\t min = 0x800;\n\t }\n\t else if (b < 0xf8) {\n\t // Need 3 more bytes.\n\t if (i >= arr.length - 2) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t var n1 = arr[++i];\n\t var n2 = arr[++i];\n\t var n3 = arr[++i];\n\t if ((n1 & 0xc0) !== 0x80 || (n2 & 0xc0) !== 0x80 || (n3 & 0xc0) !== 0x80) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t b = (b & 0x0f) << 18 | (n1 & 0x3f) << 12 | (n2 & 0x3f) << 6 | (n3 & 0x3f);\n\t min = 0x10000;\n\t }\n\t else {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t if (b < min || (b >= 0xd800 && b <= 0xdfff)) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t if (b >= 0x10000) {\n\t // Surrogate pair.\n\t if (b > 0x10ffff) {\n\t throw new Error(INVALID_UTF8);\n\t }\n\t b -= 0x10000;\n\t chars.push(String.fromCharCode(0xd800 | (b >> 10)));\n\t b = 0xdc00 | (b & 0x3ff);\n\t }\n\t }\n\t chars.push(String.fromCharCode(b));\n\t }\n\t return chars.join(\"\");\n\t}\n\texports.decode = decode;\n\n\n\t/***/ }),\n\t/* 2 */\n\t/***/ (function(module, exports, __webpack_require__) {\n\n\t(function(nacl) {\n\n\t// Ported in 2014 by Dmitry Chestnykh and Devi Mandiri.\n\t// Public domain.\n\t//\n\t// Implementation derived from TweetNaCl version 20140427.\n\t// See for details: http://tweetnacl.cr.yp.to/\n\n\tvar gf = function(init) {\n\t var i, r = new Float64Array(16);\n\t if (init) for (i = 0; i < init.length; i++) r[i] = init[i];\n\t return r;\n\t};\n\n\t// Pluggable, initialized in high-level API below.\n\tvar randombytes = function(/* x, n */) { throw new Error('no PRNG'); };\n\n\tvar _0 = new Uint8Array(16);\n\tvar _9 = new Uint8Array(32); _9[0] = 9;\n\n\tvar gf0 = gf(),\n\t gf1 = gf([1]),\n\t _121665 = gf([0xdb41, 1]),\n\t D = gf([0x78a3, 0x1359, 0x4dca, 0x75eb, 0xd8ab, 0x4141, 0x0a4d, 0x0070, 0xe898, 0x7779, 0x4079, 0x8cc7, 0xfe73, 0x2b6f, 0x6cee, 0x5203]),\n\t D2 = gf([0xf159, 0x26b2, 0x9b94, 0xebd6, 0xb156, 0x8283, 0x149a, 0x00e0, 0xd130, 0xeef3, 0x80f2, 0x198e, 0xfce7, 0x56df, 0xd9dc, 0x2406]),\n\t X = gf([0xd51a, 0x8f25, 0x2d60, 0xc956, 0xa7b2, 0x9525, 0xc760, 0x692c, 0xdc5c, 0xfdd6, 0xe231, 0xc0a4, 0x53fe, 0xcd6e, 0x36d3, 0x2169]),\n\t Y = gf([0x6658, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666]),\n\t I = gf([0xa0b0, 0x4a0e, 0x1b27, 0xc4ee, 0xe478, 0xad2f, 0x1806, 0x2f43, 0xd7a7, 0x3dfb, 0x0099, 0x2b4d, 0xdf0b, 0x4fc1, 0x2480, 0x2b83]);\n\n\tfunction ts64(x, i, h, l) {\n\t x[i] = (h >> 24) & 0xff;\n\t x[i+1] = (h >> 16) & 0xff;\n\t x[i+2] = (h >> 8) & 0xff;\n\t x[i+3] = h & 0xff;\n\t x[i+4] = (l >> 24) & 0xff;\n\t x[i+5] = (l >> 16) & 0xff;\n\t x[i+6] = (l >> 8) & 0xff;\n\t x[i+7] = l & 0xff;\n\t}\n\n\tfunction vn(x, xi, y, yi, n) {\n\t var i,d = 0;\n\t for (i = 0; i < n; i++) d |= x[xi+i]^y[yi+i];\n\t return (1 & ((d - 1) >>> 8)) - 1;\n\t}\n\n\tfunction crypto_verify_16(x, xi, y, yi) {\n\t return vn(x,xi,y,yi,16);\n\t}\n\n\tfunction crypto_verify_32(x, xi, y, yi) {\n\t return vn(x,xi,y,yi,32);\n\t}\n\n\tfunction core_salsa20(o, p, k, c) {\n\t var j0 = c[ 0] & 0xff | (c[ 1] & 0xff)<<8 | (c[ 2] & 0xff)<<16 | (c[ 3] & 0xff)<<24,\n\t j1 = k[ 0] & 0xff | (k[ 1] & 0xff)<<8 | (k[ 2] & 0xff)<<16 | (k[ 3] & 0xff)<<24,\n\t j2 = k[ 4] & 0xff | (k[ 5] & 0xff)<<8 | (k[ 6] & 0xff)<<16 | (k[ 7] & 0xff)<<24,\n\t j3 = k[ 8] & 0xff | (k[ 9] & 0xff)<<8 | (k[10] & 0xff)<<16 | (k[11] & 0xff)<<24,\n\t j4 = k[12] & 0xff | (k[13] & 0xff)<<8 | (k[14] & 0xff)<<16 | (k[15] & 0xff)<<24,\n\t j5 = c[ 4] & 0xff | (c[ 5] & 0xff)<<8 | (c[ 6] & 0xff)<<16 | (c[ 7] & 0xff)<<24,\n\t j6 = p[ 0] & 0xff | (p[ 1] & 0xff)<<8 | (p[ 2] & 0xff)<<16 | (p[ 3] & 0xff)<<24,\n\t j7 = p[ 4] & 0xff | (p[ 5] & 0xff)<<8 | (p[ 6] & 0xff)<<16 | (p[ 7] & 0xff)<<24,\n\t j8 = p[ 8] & 0xff | (p[ 9] & 0xff)<<8 | (p[10] & 0xff)<<16 | (p[11] & 0xff)<<24,\n\t j9 = p[12] & 0xff | (p[13] & 0xff)<<8 | (p[14] & 0xff)<<16 | (p[15] & 0xff)<<24,\n\t j10 = c[ 8] & 0xff | (c[ 9] & 0xff)<<8 | (c[10] & 0xff)<<16 | (c[11] & 0xff)<<24,\n\t j11 = k[16] & 0xff | (k[17] & 0xff)<<8 | (k[18] & 0xff)<<16 | (k[19] & 0xff)<<24,\n\t j12 = k[20] & 0xff | (k[21] & 0xff)<<8 | (k[22] & 0xff)<<16 | (k[23] & 0xff)<<24,\n\t j13 = k[24] & 0xff | (k[25] & 0xff)<<8 | (k[26] & 0xff)<<16 | (k[27] & 0xff)<<24,\n\t j14 = k[28] & 0xff | (k[29] & 0xff)<<8 | (k[30] & 0xff)<<16 | (k[31] & 0xff)<<24,\n\t j15 = c[12] & 0xff | (c[13] & 0xff)<<8 | (c[14] & 0xff)<<16 | (c[15] & 0xff)<<24;\n\n\t var x0 = j0, x1 = j1, x2 = j2, x3 = j3, x4 = j4, x5 = j5, x6 = j6, x7 = j7,\n\t x8 = j8, x9 = j9, x10 = j10, x11 = j11, x12 = j12, x13 = j13, x14 = j14,\n\t x15 = j15, u;\n\n\t for (var i = 0; i < 20; i += 2) {\n\t u = x0 + x12 | 0;\n\t x4 ^= u<<7 | u>>>(32-7);\n\t u = x4 + x0 | 0;\n\t x8 ^= u<<9 | u>>>(32-9);\n\t u = x8 + x4 | 0;\n\t x12 ^= u<<13 | u>>>(32-13);\n\t u = x12 + x8 | 0;\n\t x0 ^= u<<18 | u>>>(32-18);\n\n\t u = x5 + x1 | 0;\n\t x9 ^= u<<7 | u>>>(32-7);\n\t u = x9 + x5 | 0;\n\t x13 ^= u<<9 | u>>>(32-9);\n\t u = x13 + x9 | 0;\n\t x1 ^= u<<13 | u>>>(32-13);\n\t u = x1 + x13 | 0;\n\t x5 ^= u<<18 | u>>>(32-18);\n\n\t u = x10 + x6 | 0;\n\t x14 ^= u<<7 | u>>>(32-7);\n\t u = x14 + x10 | 0;\n\t x2 ^= u<<9 | u>>>(32-9);\n\t u = x2 + x14 | 0;\n\t x6 ^= u<<13 | u>>>(32-13);\n\t u = x6 + x2 | 0;\n\t x10 ^= u<<18 | u>>>(32-18);\n\n\t u = x15 + x11 | 0;\n\t x3 ^= u<<7 | u>>>(32-7);\n\t u = x3 + x15 | 0;\n\t x7 ^= u<<9 | u>>>(32-9);\n\t u = x7 + x3 | 0;\n\t x11 ^= u<<13 | u>>>(32-13);\n\t u = x11 + x7 | 0;\n\t x15 ^= u<<18 | u>>>(32-18);\n\n\t u = x0 + x3 | 0;\n\t x1 ^= u<<7 | u>>>(32-7);\n\t u = x1 + x0 | 0;\n\t x2 ^= u<<9 | u>>>(32-9);\n\t u = x2 + x1 | 0;\n\t x3 ^= u<<13 | u>>>(32-13);\n\t u = x3 + x2 | 0;\n\t x0 ^= u<<18 | u>>>(32-18);\n\n\t u = x5 + x4 | 0;\n\t x6 ^= u<<7 | u>>>(32-7);\n\t u = x6 + x5 | 0;\n\t x7 ^= u<<9 | u>>>(32-9);\n\t u = x7 + x6 | 0;\n\t x4 ^= u<<13 | u>>>(32-13);\n\t u = x4 + x7 | 0;\n\t x5 ^= u<<18 | u>>>(32-18);\n\n\t u = x10 + x9 | 0;\n\t x11 ^= u<<7 | u>>>(32-7);\n\t u = x11 + x10 | 0;\n\t x8 ^= u<<9 | u>>>(32-9);\n\t u = x8 + x11 | 0;\n\t x9 ^= u<<13 | u>>>(32-13);\n\t u = x9 + x8 | 0;\n\t x10 ^= u<<18 | u>>>(32-18);\n\n\t u = x15 + x14 | 0;\n\t x12 ^= u<<7 | u>>>(32-7);\n\t u = x12 + x15 | 0;\n\t x13 ^= u<<9 | u>>>(32-9);\n\t u = x13 + x12 | 0;\n\t x14 ^= u<<13 | u>>>(32-13);\n\t u = x14 + x13 | 0;\n\t x15 ^= u<<18 | u>>>(32-18);\n\t }\n\t x0 = x0 + j0 | 0;\n\t x1 = x1 + j1 | 0;\n\t x2 = x2 + j2 | 0;\n\t x3 = x3 + j3 | 0;\n\t x4 = x4 + j4 | 0;\n\t x5 = x5 + j5 | 0;\n\t x6 = x6 + j6 | 0;\n\t x7 = x7 + j7 | 0;\n\t x8 = x8 + j8 | 0;\n\t x9 = x9 + j9 | 0;\n\t x10 = x10 + j10 | 0;\n\t x11 = x11 + j11 | 0;\n\t x12 = x12 + j12 | 0;\n\t x13 = x13 + j13 | 0;\n\t x14 = x14 + j14 | 0;\n\t x15 = x15 + j15 | 0;\n\n\t o[ 0] = x0 >>> 0 & 0xff;\n\t o[ 1] = x0 >>> 8 & 0xff;\n\t o[ 2] = x0 >>> 16 & 0xff;\n\t o[ 3] = x0 >>> 24 & 0xff;\n\n\t o[ 4] = x1 >>> 0 & 0xff;\n\t o[ 5] = x1 >>> 8 & 0xff;\n\t o[ 6] = x1 >>> 16 & 0xff;\n\t o[ 7] = x1 >>> 24 & 0xff;\n\n\t o[ 8] = x2 >>> 0 & 0xff;\n\t o[ 9] = x2 >>> 8 & 0xff;\n\t o[10] = x2 >>> 16 & 0xff;\n\t o[11] = x2 >>> 24 & 0xff;\n\n\t o[12] = x3 >>> 0 & 0xff;\n\t o[13] = x3 >>> 8 & 0xff;\n\t o[14] = x3 >>> 16 & 0xff;\n\t o[15] = x3 >>> 24 & 0xff;\n\n\t o[16] = x4 >>> 0 & 0xff;\n\t o[17] = x4 >>> 8 & 0xff;\n\t o[18] = x4 >>> 16 & 0xff;\n\t o[19] = x4 >>> 24 & 0xff;\n\n\t o[20] = x5 >>> 0 & 0xff;\n\t o[21] = x5 >>> 8 & 0xff;\n\t o[22] = x5 >>> 16 & 0xff;\n\t o[23] = x5 >>> 24 & 0xff;\n\n\t o[24] = x6 >>> 0 & 0xff;\n\t o[25] = x6 >>> 8 & 0xff;\n\t o[26] = x6 >>> 16 & 0xff;\n\t o[27] = x6 >>> 24 & 0xff;\n\n\t o[28] = x7 >>> 0 & 0xff;\n\t o[29] = x7 >>> 8 & 0xff;\n\t o[30] = x7 >>> 16 & 0xff;\n\t o[31] = x7 >>> 24 & 0xff;\n\n\t o[32] = x8 >>> 0 & 0xff;\n\t o[33] = x8 >>> 8 & 0xff;\n\t o[34] = x8 >>> 16 & 0xff;\n\t o[35] = x8 >>> 24 & 0xff;\n\n\t o[36] = x9 >>> 0 & 0xff;\n\t o[37] = x9 >>> 8 & 0xff;\n\t o[38] = x9 >>> 16 & 0xff;\n\t o[39] = x9 >>> 24 & 0xff;\n\n\t o[40] = x10 >>> 0 & 0xff;\n\t o[41] = x10 >>> 8 & 0xff;\n\t o[42] = x10 >>> 16 & 0xff;\n\t o[43] = x10 >>> 24 & 0xff;\n\n\t o[44] = x11 >>> 0 & 0xff;\n\t o[45] = x11 >>> 8 & 0xff;\n\t o[46] = x11 >>> 16 & 0xff;\n\t o[47] = x11 >>> 24 & 0xff;\n\n\t o[48] = x12 >>> 0 & 0xff;\n\t o[49] = x12 >>> 8 & 0xff;\n\t o[50] = x12 >>> 16 & 0xff;\n\t o[51] = x12 >>> 24 & 0xff;\n\n\t o[52] = x13 >>> 0 & 0xff;\n\t o[53] = x13 >>> 8 & 0xff;\n\t o[54] = x13 >>> 16 & 0xff;\n\t o[55] = x13 >>> 24 & 0xff;\n\n\t o[56] = x14 >>> 0 & 0xff;\n\t o[57] = x14 >>> 8 & 0xff;\n\t o[58] = x14 >>> 16 & 0xff;\n\t o[59] = x14 >>> 24 & 0xff;\n\n\t o[60] = x15 >>> 0 & 0xff;\n\t o[61] = x15 >>> 8 & 0xff;\n\t o[62] = x15 >>> 16 & 0xff;\n\t o[63] = x15 >>> 24 & 0xff;\n\t}\n\n\tfunction core_hsalsa20(o,p,k,c) {\n\t var j0 = c[ 0] & 0xff | (c[ 1] & 0xff)<<8 | (c[ 2] & 0xff)<<16 | (c[ 3] & 0xff)<<24,\n\t j1 = k[ 0] & 0xff | (k[ 1] & 0xff)<<8 | (k[ 2] & 0xff)<<16 | (k[ 3] & 0xff)<<24,\n\t j2 = k[ 4] & 0xff | (k[ 5] & 0xff)<<8 | (k[ 6] & 0xff)<<16 | (k[ 7] & 0xff)<<24,\n\t j3 = k[ 8] & 0xff | (k[ 9] & 0xff)<<8 | (k[10] & 0xff)<<16 | (k[11] & 0xff)<<24,\n\t j4 = k[12] & 0xff | (k[13] & 0xff)<<8 | (k[14] & 0xff)<<16 | (k[15] & 0xff)<<24,\n\t j5 = c[ 4] & 0xff | (c[ 5] & 0xff)<<8 | (c[ 6] & 0xff)<<16 | (c[ 7] & 0xff)<<24,\n\t j6 = p[ 0] & 0xff | (p[ 1] & 0xff)<<8 | (p[ 2] & 0xff)<<16 | (p[ 3] & 0xff)<<24,\n\t j7 = p[ 4] & 0xff | (p[ 5] & 0xff)<<8 | (p[ 6] & 0xff)<<16 | (p[ 7] & 0xff)<<24,\n\t j8 = p[ 8] & 0xff | (p[ 9] & 0xff)<<8 | (p[10] & 0xff)<<16 | (p[11] & 0xff)<<24,\n\t j9 = p[12] & 0xff | (p[13] & 0xff)<<8 | (p[14] & 0xff)<<16 | (p[15] & 0xff)<<24,\n\t j10 = c[ 8] & 0xff | (c[ 9] & 0xff)<<8 | (c[10] & 0xff)<<16 | (c[11] & 0xff)<<24,\n\t j11 = k[16] & 0xff | (k[17] & 0xff)<<8 | (k[18] & 0xff)<<16 | (k[19] & 0xff)<<24,\n\t j12 = k[20] & 0xff | (k[21] & 0xff)<<8 | (k[22] & 0xff)<<16 | (k[23] & 0xff)<<24,\n\t j13 = k[24] & 0xff | (k[25] & 0xff)<<8 | (k[26] & 0xff)<<16 | (k[27] & 0xff)<<24,\n\t j14 = k[28] & 0xff | (k[29] & 0xff)<<8 | (k[30] & 0xff)<<16 | (k[31] & 0xff)<<24,\n\t j15 = c[12] & 0xff | (c[13] & 0xff)<<8 | (c[14] & 0xff)<<16 | (c[15] & 0xff)<<24;\n\n\t var x0 = j0, x1 = j1, x2 = j2, x3 = j3, x4 = j4, x5 = j5, x6 = j6, x7 = j7,\n\t x8 = j8, x9 = j9, x10 = j10, x11 = j11, x12 = j12, x13 = j13, x14 = j14,\n\t x15 = j15, u;\n\n\t for (var i = 0; i < 20; i += 2) {\n\t u = x0 + x12 | 0;\n\t x4 ^= u<<7 | u>>>(32-7);\n\t u = x4 + x0 | 0;\n\t x8 ^= u<<9 | u>>>(32-9);\n\t u = x8 + x4 | 0;\n\t x12 ^= u<<13 | u>>>(32-13);\n\t u = x12 + x8 | 0;\n\t x0 ^= u<<18 | u>>>(32-18);\n\n\t u = x5 + x1 | 0;\n\t x9 ^= u<<7 | u>>>(32-7);\n\t u = x9 + x5 | 0;\n\t x13 ^= u<<9 | u>>>(32-9);\n\t u = x13 + x9 | 0;\n\t x1 ^= u<<13 | u>>>(32-13);\n\t u = x1 + x13 | 0;\n\t x5 ^= u<<18 | u>>>(32-18);\n\n\t u = x10 + x6 | 0;\n\t x14 ^= u<<7 | u>>>(32-7);\n\t u = x14 + x10 | 0;\n\t x2 ^= u<<9 | u>>>(32-9);\n\t u = x2 + x14 | 0;\n\t x6 ^= u<<13 | u>>>(32-13);\n\t u = x6 + x2 | 0;\n\t x10 ^= u<<18 | u>>>(32-18);\n\n\t u = x15 + x11 | 0;\n\t x3 ^= u<<7 | u>>>(32-7);\n\t u = x3 + x15 | 0;\n\t x7 ^= u<<9 | u>>>(32-9);\n\t u = x7 + x3 | 0;\n\t x11 ^= u<<13 | u>>>(32-13);\n\t u = x11 + x7 | 0;\n\t x15 ^= u<<18 | u>>>(32-18);\n\n\t u = x0 + x3 | 0;\n\t x1 ^= u<<7 | u>>>(32-7);\n\t u = x1 + x0 | 0;\n\t x2 ^= u<<9 | u>>>(32-9);\n\t u = x2 + x1 | 0;\n\t x3 ^= u<<13 | u>>>(32-13);\n\t u = x3 + x2 | 0;\n\t x0 ^= u<<18 | u>>>(32-18);\n\n\t u = x5 + x4 | 0;\n\t x6 ^= u<<7 | u>>>(32-7);\n\t u = x6 + x5 | 0;\n\t x7 ^= u<<9 | u>>>(32-9);\n\t u = x7 + x6 | 0;\n\t x4 ^= u<<13 | u>>>(32-13);\n\t u = x4 + x7 | 0;\n\t x5 ^= u<<18 | u>>>(32-18);\n\n\t u = x10 + x9 | 0;\n\t x11 ^= u<<7 | u>>>(32-7);\n\t u = x11 + x10 | 0;\n\t x8 ^= u<<9 | u>>>(32-9);\n\t u = x8 + x11 | 0;\n\t x9 ^= u<<13 | u>>>(32-13);\n\t u = x9 + x8 | 0;\n\t x10 ^= u<<18 | u>>>(32-18);\n\n\t u = x15 + x14 | 0;\n\t x12 ^= u<<7 | u>>>(32-7);\n\t u = x12 + x15 | 0;\n\t x13 ^= u<<9 | u>>>(32-9);\n\t u = x13 + x12 | 0;\n\t x14 ^= u<<13 | u>>>(32-13);\n\t u = x14 + x13 | 0;\n\t x15 ^= u<<18 | u>>>(32-18);\n\t }\n\n\t o[ 0] = x0 >>> 0 & 0xff;\n\t o[ 1] = x0 >>> 8 & 0xff;\n\t o[ 2] = x0 >>> 16 & 0xff;\n\t o[ 3] = x0 >>> 24 & 0xff;\n\n\t o[ 4] = x5 >>> 0 & 0xff;\n\t o[ 5] = x5 >>> 8 & 0xff;\n\t o[ 6] = x5 >>> 16 & 0xff;\n\t o[ 7] = x5 >>> 24 & 0xff;\n\n\t o[ 8] = x10 >>> 0 & 0xff;\n\t o[ 9] = x10 >>> 8 & 0xff;\n\t o[10] = x10 >>> 16 & 0xff;\n\t o[11] = x10 >>> 24 & 0xff;\n\n\t o[12] = x15 >>> 0 & 0xff;\n\t o[13] = x15 >>> 8 & 0xff;\n\t o[14] = x15 >>> 16 & 0xff;\n\t o[15] = x15 >>> 24 & 0xff;\n\n\t o[16] = x6 >>> 0 & 0xff;\n\t o[17] = x6 >>> 8 & 0xff;\n\t o[18] = x6 >>> 16 & 0xff;\n\t o[19] = x6 >>> 24 & 0xff;\n\n\t o[20] = x7 >>> 0 & 0xff;\n\t o[21] = x7 >>> 8 & 0xff;\n\t o[22] = x7 >>> 16 & 0xff;\n\t o[23] = x7 >>> 24 & 0xff;\n\n\t o[24] = x8 >>> 0 & 0xff;\n\t o[25] = x8 >>> 8 & 0xff;\n\t o[26] = x8 >>> 16 & 0xff;\n\t o[27] = x8 >>> 24 & 0xff;\n\n\t o[28] = x9 >>> 0 & 0xff;\n\t o[29] = x9 >>> 8 & 0xff;\n\t o[30] = x9 >>> 16 & 0xff;\n\t o[31] = x9 >>> 24 & 0xff;\n\t}\n\n\tfunction crypto_core_salsa20(out,inp,k,c) {\n\t core_salsa20(out,inp,k,c);\n\t}\n\n\tfunction crypto_core_hsalsa20(out,inp,k,c) {\n\t core_hsalsa20(out,inp,k,c);\n\t}\n\n\tvar sigma = new Uint8Array([101, 120, 112, 97, 110, 100, 32, 51, 50, 45, 98, 121, 116, 101, 32, 107]);\n\t // \"expand 32-byte k\"\n\n\tfunction crypto_stream_salsa20_xor(c,cpos,m,mpos,b,n,k) {\n\t var z = new Uint8Array(16), x = new Uint8Array(64);\n\t var u, i;\n\t for (i = 0; i < 16; i++) z[i] = 0;\n\t for (i = 0; i < 8; i++) z[i] = n[i];\n\t while (b >= 64) {\n\t crypto_core_salsa20(x,z,k,sigma);\n\t for (i = 0; i < 64; i++) c[cpos+i] = m[mpos+i] ^ x[i];\n\t u = 1;\n\t for (i = 8; i < 16; i++) {\n\t u = u + (z[i] & 0xff) | 0;\n\t z[i] = u & 0xff;\n\t u >>>= 8;\n\t }\n\t b -= 64;\n\t cpos += 64;\n\t mpos += 64;\n\t }\n\t if (b > 0) {\n\t crypto_core_salsa20(x,z,k,sigma);\n\t for (i = 0; i < b; i++) c[cpos+i] = m[mpos+i] ^ x[i];\n\t }\n\t return 0;\n\t}\n\n\tfunction crypto_stream_salsa20(c,cpos,b,n,k) {\n\t var z = new Uint8Array(16), x = new Uint8Array(64);\n\t var u, i;\n\t for (i = 0; i < 16; i++) z[i] = 0;\n\t for (i = 0; i < 8; i++) z[i] = n[i];\n\t while (b >= 64) {\n\t crypto_core_salsa20(x,z,k,sigma);\n\t for (i = 0; i < 64; i++) c[cpos+i] = x[i];\n\t u = 1;\n\t for (i = 8; i < 16; i++) {\n\t u = u + (z[i] & 0xff) | 0;\n\t z[i] = u & 0xff;\n\t u >>>= 8;\n\t }\n\t b -= 64;\n\t cpos += 64;\n\t }\n\t if (b > 0) {\n\t crypto_core_salsa20(x,z,k,sigma);\n\t for (i = 0; i < b; i++) c[cpos+i] = x[i];\n\t }\n\t return 0;\n\t}\n\n\tfunction crypto_stream(c,cpos,d,n,k) {\n\t var s = new Uint8Array(32);\n\t crypto_core_hsalsa20(s,n,k,sigma);\n\t var sn = new Uint8Array(8);\n\t for (var i = 0; i < 8; i++) sn[i] = n[i+16];\n\t return crypto_stream_salsa20(c,cpos,d,sn,s);\n\t}\n\n\tfunction crypto_stream_xor(c,cpos,m,mpos,d,n,k) {\n\t var s = new Uint8Array(32);\n\t crypto_core_hsalsa20(s,n,k,sigma);\n\t var sn = new Uint8Array(8);\n\t for (var i = 0; i < 8; i++) sn[i] = n[i+16];\n\t return crypto_stream_salsa20_xor(c,cpos,m,mpos,d,sn,s);\n\t}\n\n\t/*\n\t* Port of Andrew Moon's Poly1305-donna-16. Public domain.\n\t* https://github.com/floodyberry/poly1305-donna\n\t*/\n\n\tvar poly1305 = function(key) {\n\t this.buffer = new Uint8Array(16);\n\t this.r = new Uint16Array(10);\n\t this.h = new Uint16Array(10);\n\t this.pad = new Uint16Array(8);\n\t this.leftover = 0;\n\t this.fin = 0;\n\n\t var t0, t1, t2, t3, t4, t5, t6, t7;\n\n\t t0 = key[ 0] & 0xff | (key[ 1] & 0xff) << 8; this.r[0] = ( t0 ) & 0x1fff;\n\t t1 = key[ 2] & 0xff | (key[ 3] & 0xff) << 8; this.r[1] = ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n\t t2 = key[ 4] & 0xff | (key[ 5] & 0xff) << 8; this.r[2] = ((t1 >>> 10) | (t2 << 6)) & 0x1f03;\n\t t3 = key[ 6] & 0xff | (key[ 7] & 0xff) << 8; this.r[3] = ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n\t t4 = key[ 8] & 0xff | (key[ 9] & 0xff) << 8; this.r[4] = ((t3 >>> 4) | (t4 << 12)) & 0x00ff;\n\t this.r[5] = ((t4 >>> 1)) & 0x1ffe;\n\t t5 = key[10] & 0xff | (key[11] & 0xff) << 8; this.r[6] = ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n\t t6 = key[12] & 0xff | (key[13] & 0xff) << 8; this.r[7] = ((t5 >>> 11) | (t6 << 5)) & 0x1f81;\n\t t7 = key[14] & 0xff | (key[15] & 0xff) << 8; this.r[8] = ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n\t this.r[9] = ((t7 >>> 5)) & 0x007f;\n\n\t this.pad[0] = key[16] & 0xff | (key[17] & 0xff) << 8;\n\t this.pad[1] = key[18] & 0xff | (key[19] & 0xff) << 8;\n\t this.pad[2] = key[20] & 0xff | (key[21] & 0xff) << 8;\n\t this.pad[3] = key[22] & 0xff | (key[23] & 0xff) << 8;\n\t this.pad[4] = key[24] & 0xff | (key[25] & 0xff) << 8;\n\t this.pad[5] = key[26] & 0xff | (key[27] & 0xff) << 8;\n\t this.pad[6] = key[28] & 0xff | (key[29] & 0xff) << 8;\n\t this.pad[7] = key[30] & 0xff | (key[31] & 0xff) << 8;\n\t};\n\n\tpoly1305.prototype.blocks = function(m, mpos, bytes) {\n\t var hibit = this.fin ? 0 : (1 << 11);\n\t var t0, t1, t2, t3, t4, t5, t6, t7, c;\n\t var d0, d1, d2, d3, d4, d5, d6, d7, d8, d9;\n\n\t var h0 = this.h[0],\n\t h1 = this.h[1],\n\t h2 = this.h[2],\n\t h3 = this.h[3],\n\t h4 = this.h[4],\n\t h5 = this.h[5],\n\t h6 = this.h[6],\n\t h7 = this.h[7],\n\t h8 = this.h[8],\n\t h9 = this.h[9];\n\n\t var r0 = this.r[0],\n\t r1 = this.r[1],\n\t r2 = this.r[2],\n\t r3 = this.r[3],\n\t r4 = this.r[4],\n\t r5 = this.r[5],\n\t r6 = this.r[6],\n\t r7 = this.r[7],\n\t r8 = this.r[8],\n\t r9 = this.r[9];\n\n\t while (bytes >= 16) {\n\t t0 = m[mpos+ 0] & 0xff | (m[mpos+ 1] & 0xff) << 8; h0 += ( t0 ) & 0x1fff;\n\t t1 = m[mpos+ 2] & 0xff | (m[mpos+ 3] & 0xff) << 8; h1 += ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n\t t2 = m[mpos+ 4] & 0xff | (m[mpos+ 5] & 0xff) << 8; h2 += ((t1 >>> 10) | (t2 << 6)) & 0x1fff;\n\t t3 = m[mpos+ 6] & 0xff | (m[mpos+ 7] & 0xff) << 8; h3 += ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n\t t4 = m[mpos+ 8] & 0xff | (m[mpos+ 9] & 0xff) << 8; h4 += ((t3 >>> 4) | (t4 << 12)) & 0x1fff;\n\t h5 += ((t4 >>> 1)) & 0x1fff;\n\t t5 = m[mpos+10] & 0xff | (m[mpos+11] & 0xff) << 8; h6 += ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n\t t6 = m[mpos+12] & 0xff | (m[mpos+13] & 0xff) << 8; h7 += ((t5 >>> 11) | (t6 << 5)) & 0x1fff;\n\t t7 = m[mpos+14] & 0xff | (m[mpos+15] & 0xff) << 8; h8 += ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n\t h9 += ((t7 >>> 5)) | hibit;\n\n\t c = 0;\n\n\t d0 = c;\n\t d0 += h0 * r0;\n\t d0 += h1 * (5 * r9);\n\t d0 += h2 * (5 * r8);\n\t d0 += h3 * (5 * r7);\n\t d0 += h4 * (5 * r6);\n\t c = (d0 >>> 13); d0 &= 0x1fff;\n\t d0 += h5 * (5 * r5);\n\t d0 += h6 * (5 * r4);\n\t d0 += h7 * (5 * r3);\n\t d0 += h8 * (5 * r2);\n\t d0 += h9 * (5 * r1);\n\t c += (d0 >>> 13); d0 &= 0x1fff;\n\n\t d1 = c;\n\t d1 += h0 * r1;\n\t d1 += h1 * r0;\n\t d1 += h2 * (5 * r9);\n\t d1 += h3 * (5 * r8);\n\t d1 += h4 * (5 * r7);\n\t c = (d1 >>> 13); d1 &= 0x1fff;\n\t d1 += h5 * (5 * r6);\n\t d1 += h6 * (5 * r5);\n\t d1 += h7 * (5 * r4);\n\t d1 += h8 * (5 * r3);\n\t d1 += h9 * (5 * r2);\n\t c += (d1 >>> 13); d1 &= 0x1fff;\n\n\t d2 = c;\n\t d2 += h0 * r2;\n\t d2 += h1 * r1;\n\t d2 += h2 * r0;\n\t d2 += h3 * (5 * r9);\n\t d2 += h4 * (5 * r8);\n\t c = (d2 >>> 13); d2 &= 0x1fff;\n\t d2 += h5 * (5 * r7);\n\t d2 += h6 * (5 * r6);\n\t d2 += h7 * (5 * r5);\n\t d2 += h8 * (5 * r4);\n\t d2 += h9 * (5 * r3);\n\t c += (d2 >>> 13); d2 &= 0x1fff;\n\n\t d3 = c;\n\t d3 += h0 * r3;\n\t d3 += h1 * r2;\n\t d3 += h2 * r1;\n\t d3 += h3 * r0;\n\t d3 += h4 * (5 * r9);\n\t c = (d3 >>> 13); d3 &= 0x1fff;\n\t d3 += h5 * (5 * r8);\n\t d3 += h6 * (5 * r7);\n\t d3 += h7 * (5 * r6);\n\t d3 += h8 * (5 * r5);\n\t d3 += h9 * (5 * r4);\n\t c += (d3 >>> 13); d3 &= 0x1fff;\n\n\t d4 = c;\n\t d4 += h0 * r4;\n\t d4 += h1 * r3;\n\t d4 += h2 * r2;\n\t d4 += h3 * r1;\n\t d4 += h4 * r0;\n\t c = (d4 >>> 13); d4 &= 0x1fff;\n\t d4 += h5 * (5 * r9);\n\t d4 += h6 * (5 * r8);\n\t d4 += h7 * (5 * r7);\n\t d4 += h8 * (5 * r6);\n\t d4 += h9 * (5 * r5);\n\t c += (d4 >>> 13); d4 &= 0x1fff;\n\n\t d5 = c;\n\t d5 += h0 * r5;\n\t d5 += h1 * r4;\n\t d5 += h2 * r3;\n\t d5 += h3 * r2;\n\t d5 += h4 * r1;\n\t c = (d5 >>> 13); d5 &= 0x1fff;\n\t d5 += h5 * r0;\n\t d5 += h6 * (5 * r9);\n\t d5 += h7 * (5 * r8);\n\t d5 += h8 * (5 * r7);\n\t d5 += h9 * (5 * r6);\n\t c += (d5 >>> 13); d5 &= 0x1fff;\n\n\t d6 = c;\n\t d6 += h0 * r6;\n\t d6 += h1 * r5;\n\t d6 += h2 * r4;\n\t d6 += h3 * r3;\n\t d6 += h4 * r2;\n\t c = (d6 >>> 13); d6 &= 0x1fff;\n\t d6 += h5 * r1;\n\t d6 += h6 * r0;\n\t d6 += h7 * (5 * r9);\n\t d6 += h8 * (5 * r8);\n\t d6 += h9 * (5 * r7);\n\t c += (d6 >>> 13); d6 &= 0x1fff;\n\n\t d7 = c;\n\t d7 += h0 * r7;\n\t d7 += h1 * r6;\n\t d7 += h2 * r5;\n\t d7 += h3 * r4;\n\t d7 += h4 * r3;\n\t c = (d7 >>> 13); d7 &= 0x1fff;\n\t d7 += h5 * r2;\n\t d7 += h6 * r1;\n\t d7 += h7 * r0;\n\t d7 += h8 * (5 * r9);\n\t d7 += h9 * (5 * r8);\n\t c += (d7 >>> 13); d7 &= 0x1fff;\n\n\t d8 = c;\n\t d8 += h0 * r8;\n\t d8 += h1 * r7;\n\t d8 += h2 * r6;\n\t d8 += h3 * r5;\n\t d8 += h4 * r4;\n\t c = (d8 >>> 13); d8 &= 0x1fff;\n\t d8 += h5 * r3;\n\t d8 += h6 * r2;\n\t d8 += h7 * r1;\n\t d8 += h8 * r0;\n\t d8 += h9 * (5 * r9);\n\t c += (d8 >>> 13); d8 &= 0x1fff;\n\n\t d9 = c;\n\t d9 += h0 * r9;\n\t d9 += h1 * r8;\n\t d9 += h2 * r7;\n\t d9 += h3 * r6;\n\t d9 += h4 * r5;\n\t c = (d9 >>> 13); d9 &= 0x1fff;\n\t d9 += h5 * r4;\n\t d9 += h6 * r3;\n\t d9 += h7 * r2;\n\t d9 += h8 * r1;\n\t d9 += h9 * r0;\n\t c += (d9 >>> 13); d9 &= 0x1fff;\n\n\t c = (((c << 2) + c)) | 0;\n\t c = (c + d0) | 0;\n\t d0 = c & 0x1fff;\n\t c = (c >>> 13);\n\t d1 += c;\n\n\t h0 = d0;\n\t h1 = d1;\n\t h2 = d2;\n\t h3 = d3;\n\t h4 = d4;\n\t h5 = d5;\n\t h6 = d6;\n\t h7 = d7;\n\t h8 = d8;\n\t h9 = d9;\n\n\t mpos += 16;\n\t bytes -= 16;\n\t }\n\t this.h[0] = h0;\n\t this.h[1] = h1;\n\t this.h[2] = h2;\n\t this.h[3] = h3;\n\t this.h[4] = h4;\n\t this.h[5] = h5;\n\t this.h[6] = h6;\n\t this.h[7] = h7;\n\t this.h[8] = h8;\n\t this.h[9] = h9;\n\t};\n\n\tpoly1305.prototype.finish = function(mac, macpos) {\n\t var g = new Uint16Array(10);\n\t var c, mask, f, i;\n\n\t if (this.leftover) {\n\t i = this.leftover;\n\t this.buffer[i++] = 1;\n\t for (; i < 16; i++) this.buffer[i] = 0;\n\t this.fin = 1;\n\t this.blocks(this.buffer, 0, 16);\n\t }\n\n\t c = this.h[1] >>> 13;\n\t this.h[1] &= 0x1fff;\n\t for (i = 2; i < 10; i++) {\n\t this.h[i] += c;\n\t c = this.h[i] >>> 13;\n\t this.h[i] &= 0x1fff;\n\t }\n\t this.h[0] += (c * 5);\n\t c = this.h[0] >>> 13;\n\t this.h[0] &= 0x1fff;\n\t this.h[1] += c;\n\t c = this.h[1] >>> 13;\n\t this.h[1] &= 0x1fff;\n\t this.h[2] += c;\n\n\t g[0] = this.h[0] + 5;\n\t c = g[0] >>> 13;\n\t g[0] &= 0x1fff;\n\t for (i = 1; i < 10; i++) {\n\t g[i] = this.h[i] + c;\n\t c = g[i] >>> 13;\n\t g[i] &= 0x1fff;\n\t }\n\t g[9] -= (1 << 13);\n\n\t mask = (c ^ 1) - 1;\n\t for (i = 0; i < 10; i++) g[i] &= mask;\n\t mask = ~mask;\n\t for (i = 0; i < 10; i++) this.h[i] = (this.h[i] & mask) | g[i];\n\n\t this.h[0] = ((this.h[0] ) | (this.h[1] << 13) ) & 0xffff;\n\t this.h[1] = ((this.h[1] >>> 3) | (this.h[2] << 10) ) & 0xffff;\n\t this.h[2] = ((this.h[2] >>> 6) | (this.h[3] << 7) ) & 0xffff;\n\t this.h[3] = ((this.h[3] >>> 9) | (this.h[4] << 4) ) & 0xffff;\n\t this.h[4] = ((this.h[4] >>> 12) | (this.h[5] << 1) | (this.h[6] << 14)) & 0xffff;\n\t this.h[5] = ((this.h[6] >>> 2) | (this.h[7] << 11) ) & 0xffff;\n\t this.h[6] = ((this.h[7] >>> 5) | (this.h[8] << 8) ) & 0xffff;\n\t this.h[7] = ((this.h[8] >>> 8) | (this.h[9] << 5) ) & 0xffff;\n\n\t f = this.h[0] + this.pad[0];\n\t this.h[0] = f & 0xffff;\n\t for (i = 1; i < 8; i++) {\n\t f = (((this.h[i] + this.pad[i]) | 0) + (f >>> 16)) | 0;\n\t this.h[i] = f & 0xffff;\n\t }\n\n\t mac[macpos+ 0] = (this.h[0] >>> 0) & 0xff;\n\t mac[macpos+ 1] = (this.h[0] >>> 8) & 0xff;\n\t mac[macpos+ 2] = (this.h[1] >>> 0) & 0xff;\n\t mac[macpos+ 3] = (this.h[1] >>> 8) & 0xff;\n\t mac[macpos+ 4] = (this.h[2] >>> 0) & 0xff;\n\t mac[macpos+ 5] = (this.h[2] >>> 8) & 0xff;\n\t mac[macpos+ 6] = (this.h[3] >>> 0) & 0xff;\n\t mac[macpos+ 7] = (this.h[3] >>> 8) & 0xff;\n\t mac[macpos+ 8] = (this.h[4] >>> 0) & 0xff;\n\t mac[macpos+ 9] = (this.h[4] >>> 8) & 0xff;\n\t mac[macpos+10] = (this.h[5] >>> 0) & 0xff;\n\t mac[macpos+11] = (this.h[5] >>> 8) & 0xff;\n\t mac[macpos+12] = (this.h[6] >>> 0) & 0xff;\n\t mac[macpos+13] = (this.h[6] >>> 8) & 0xff;\n\t mac[macpos+14] = (this.h[7] >>> 0) & 0xff;\n\t mac[macpos+15] = (this.h[7] >>> 8) & 0xff;\n\t};\n\n\tpoly1305.prototype.update = function(m, mpos, bytes) {\n\t var i, want;\n\n\t if (this.leftover) {\n\t want = (16 - this.leftover);\n\t if (want > bytes)\n\t want = bytes;\n\t for (i = 0; i < want; i++)\n\t this.buffer[this.leftover + i] = m[mpos+i];\n\t bytes -= want;\n\t mpos += want;\n\t this.leftover += want;\n\t if (this.leftover < 16)\n\t return;\n\t this.blocks(this.buffer, 0, 16);\n\t this.leftover = 0;\n\t }\n\n\t if (bytes >= 16) {\n\t want = bytes - (bytes % 16);\n\t this.blocks(m, mpos, want);\n\t mpos += want;\n\t bytes -= want;\n\t }\n\n\t if (bytes) {\n\t for (i = 0; i < bytes; i++)\n\t this.buffer[this.leftover + i] = m[mpos+i];\n\t this.leftover += bytes;\n\t }\n\t};\n\n\tfunction crypto_onetimeauth(out, outpos, m, mpos, n, k) {\n\t var s = new poly1305(k);\n\t s.update(m, mpos, n);\n\t s.finish(out, outpos);\n\t return 0;\n\t}\n\n\tfunction crypto_onetimeauth_verify(h, hpos, m, mpos, n, k) {\n\t var x = new Uint8Array(16);\n\t crypto_onetimeauth(x,0,m,mpos,n,k);\n\t return crypto_verify_16(h,hpos,x,0);\n\t}\n\n\tfunction crypto_secretbox(c,m,d,n,k) {\n\t var i;\n\t if (d < 32) return -1;\n\t crypto_stream_xor(c,0,m,0,d,n,k);\n\t crypto_onetimeauth(c, 16, c, 32, d - 32, c);\n\t for (i = 0; i < 16; i++) c[i] = 0;\n\t return 0;\n\t}\n\n\tfunction crypto_secretbox_open(m,c,d,n,k) {\n\t var i;\n\t var x = new Uint8Array(32);\n\t if (d < 32) return -1;\n\t crypto_stream(x,0,32,n,k);\n\t if (crypto_onetimeauth_verify(c, 16,c, 32,d - 32,x) !== 0) return -1;\n\t crypto_stream_xor(m,0,c,0,d,n,k);\n\t for (i = 0; i < 32; i++) m[i] = 0;\n\t return 0;\n\t}\n\n\tfunction set25519(r, a) {\n\t var i;\n\t for (i = 0; i < 16; i++) r[i] = a[i]|0;\n\t}\n\n\tfunction car25519(o) {\n\t var i, v, c = 1;\n\t for (i = 0; i < 16; i++) {\n\t v = o[i] + c + 65535;\n\t c = Math.floor(v / 65536);\n\t o[i] = v - c * 65536;\n\t }\n\t o[0] += c-1 + 37 * (c-1);\n\t}\n\n\tfunction sel25519(p, q, b) {\n\t var t, c = ~(b-1);\n\t for (var i = 0; i < 16; i++) {\n\t t = c & (p[i] ^ q[i]);\n\t p[i] ^= t;\n\t q[i] ^= t;\n\t }\n\t}\n\n\tfunction pack25519(o, n) {\n\t var i, j, b;\n\t var m = gf(), t = gf();\n\t for (i = 0; i < 16; i++) t[i] = n[i];\n\t car25519(t);\n\t car25519(t);\n\t car25519(t);\n\t for (j = 0; j < 2; j++) {\n\t m[0] = t[0] - 0xffed;\n\t for (i = 1; i < 15; i++) {\n\t m[i] = t[i] - 0xffff - ((m[i-1]>>16) & 1);\n\t m[i-1] &= 0xffff;\n\t }\n\t m[15] = t[15] - 0x7fff - ((m[14]>>16) & 1);\n\t b = (m[15]>>16) & 1;\n\t m[14] &= 0xffff;\n\t sel25519(t, m, 1-b);\n\t }\n\t for (i = 0; i < 16; i++) {\n\t o[2*i] = t[i] & 0xff;\n\t o[2*i+1] = t[i]>>8;\n\t }\n\t}\n\n\tfunction neq25519(a, b) {\n\t var c = new Uint8Array(32), d = new Uint8Array(32);\n\t pack25519(c, a);\n\t pack25519(d, b);\n\t return crypto_verify_32(c, 0, d, 0);\n\t}\n\n\tfunction par25519(a) {\n\t var d = new Uint8Array(32);\n\t pack25519(d, a);\n\t return d[0] & 1;\n\t}\n\n\tfunction unpack25519(o, n) {\n\t var i;\n\t for (i = 0; i < 16; i++) o[i] = n[2*i] + (n[2*i+1] << 8);\n\t o[15] &= 0x7fff;\n\t}\n\n\tfunction A(o, a, b) {\n\t for (var i = 0; i < 16; i++) o[i] = a[i] + b[i];\n\t}\n\n\tfunction Z(o, a, b) {\n\t for (var i = 0; i < 16; i++) o[i] = a[i] - b[i];\n\t}\n\n\tfunction M(o, a, b) {\n\t var v, c,\n\t t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0, t5 = 0, t6 = 0, t7 = 0,\n\t t8 = 0, t9 = 0, t10 = 0, t11 = 0, t12 = 0, t13 = 0, t14 = 0, t15 = 0,\n\t t16 = 0, t17 = 0, t18 = 0, t19 = 0, t20 = 0, t21 = 0, t22 = 0, t23 = 0,\n\t t24 = 0, t25 = 0, t26 = 0, t27 = 0, t28 = 0, t29 = 0, t30 = 0,\n\t b0 = b[0],\n\t b1 = b[1],\n\t b2 = b[2],\n\t b3 = b[3],\n\t b4 = b[4],\n\t b5 = b[5],\n\t b6 = b[6],\n\t b7 = b[7],\n\t b8 = b[8],\n\t b9 = b[9],\n\t b10 = b[10],\n\t b11 = b[11],\n\t b12 = b[12],\n\t b13 = b[13],\n\t b14 = b[14],\n\t b15 = b[15];\n\n\t v = a[0];\n\t t0 += v * b0;\n\t t1 += v * b1;\n\t t2 += v * b2;\n\t t3 += v * b3;\n\t t4 += v * b4;\n\t t5 += v * b5;\n\t t6 += v * b6;\n\t t7 += v * b7;\n\t t8 += v * b8;\n\t t9 += v * b9;\n\t t10 += v * b10;\n\t t11 += v * b11;\n\t t12 += v * b12;\n\t t13 += v * b13;\n\t t14 += v * b14;\n\t t15 += v * b15;\n\t v = a[1];\n\t t1 += v * b0;\n\t t2 += v * b1;\n\t t3 += v * b2;\n\t t4 += v * b3;\n\t t5 += v * b4;\n\t t6 += v * b5;\n\t t7 += v * b6;\n\t t8 += v * b7;\n\t t9 += v * b8;\n\t t10 += v * b9;\n\t t11 += v * b10;\n\t t12 += v * b11;\n\t t13 += v * b12;\n\t t14 += v * b13;\n\t t15 += v * b14;\n\t t16 += v * b15;\n\t v = a[2];\n\t t2 += v * b0;\n\t t3 += v * b1;\n\t t4 += v * b2;\n\t t5 += v * b3;\n\t t6 += v * b4;\n\t t7 += v * b5;\n\t t8 += v * b6;\n\t t9 += v * b7;\n\t t10 += v * b8;\n\t t11 += v * b9;\n\t t12 += v * b10;\n\t t13 += v * b11;\n\t t14 += v * b12;\n\t t15 += v * b13;\n\t t16 += v * b14;\n\t t17 += v * b15;\n\t v = a[3];\n\t t3 += v * b0;\n\t t4 += v * b1;\n\t t5 += v * b2;\n\t t6 += v * b3;\n\t t7 += v * b4;\n\t t8 += v * b5;\n\t t9 += v * b6;\n\t t10 += v * b7;\n\t t11 += v * b8;\n\t t12 += v * b9;\n\t t13 += v * b10;\n\t t14 += v * b11;\n\t t15 += v * b12;\n\t t16 += v * b13;\n\t t17 += v * b14;\n\t t18 += v * b15;\n\t v = a[4];\n\t t4 += v * b0;\n\t t5 += v * b1;\n\t t6 += v * b2;\n\t t7 += v * b3;\n\t t8 += v * b4;\n\t t9 += v * b5;\n\t t10 += v * b6;\n\t t11 += v * b7;\n\t t12 += v * b8;\n\t t13 += v * b9;\n\t t14 += v * b10;\n\t t15 += v * b11;\n\t t16 += v * b12;\n\t t17 += v * b13;\n\t t18 += v * b14;\n\t t19 += v * b15;\n\t v = a[5];\n\t t5 += v * b0;\n\t t6 += v * b1;\n\t t7 += v * b2;\n\t t8 += v * b3;\n\t t9 += v * b4;\n\t t10 += v * b5;\n\t t11 += v * b6;\n\t t12 += v * b7;\n\t t13 += v * b8;\n\t t14 += v * b9;\n\t t15 += v * b10;\n\t t16 += v * b11;\n\t t17 += v * b12;\n\t t18 += v * b13;\n\t t19 += v * b14;\n\t t20 += v * b15;\n\t v = a[6];\n\t t6 += v * b0;\n\t t7 += v * b1;\n\t t8 += v * b2;\n\t t9 += v * b3;\n\t t10 += v * b4;\n\t t11 += v * b5;\n\t t12 += v * b6;\n\t t13 += v * b7;\n\t t14 += v * b8;\n\t t15 += v * b9;\n\t t16 += v * b10;\n\t t17 += v * b11;\n\t t18 += v * b12;\n\t t19 += v * b13;\n\t t20 += v * b14;\n\t t21 += v * b15;\n\t v = a[7];\n\t t7 += v * b0;\n\t t8 += v * b1;\n\t t9 += v * b2;\n\t t10 += v * b3;\n\t t11 += v * b4;\n\t t12 += v * b5;\n\t t13 += v * b6;\n\t t14 += v * b7;\n\t t15 += v * b8;\n\t t16 += v * b9;\n\t t17 += v * b10;\n\t t18 += v * b11;\n\t t19 += v * b12;\n\t t20 += v * b13;\n\t t21 += v * b14;\n\t t22 += v * b15;\n\t v = a[8];\n\t t8 += v * b0;\n\t t9 += v * b1;\n\t t10 += v * b2;\n\t t11 += v * b3;\n\t t12 += v * b4;\n\t t13 += v * b5;\n\t t14 += v * b6;\n\t t15 += v * b7;\n\t t16 += v * b8;\n\t t17 += v * b9;\n\t t18 += v * b10;\n\t t19 += v * b11;\n\t t20 += v * b12;\n\t t21 += v * b13;\n\t t22 += v * b14;\n\t t23 += v * b15;\n\t v = a[9];\n\t t9 += v * b0;\n\t t10 += v * b1;\n\t t11 += v * b2;\n\t t12 += v * b3;\n\t t13 += v * b4;\n\t t14 += v * b5;\n\t t15 += v * b6;\n\t t16 += v * b7;\n\t t17 += v * b8;\n\t t18 += v * b9;\n\t t19 += v * b10;\n\t t20 += v * b11;\n\t t21 += v * b12;\n\t t22 += v * b13;\n\t t23 += v * b14;\n\t t24 += v * b15;\n\t v = a[10];\n\t t10 += v * b0;\n\t t11 += v * b1;\n\t t12 += v * b2;\n\t t13 += v * b3;\n\t t14 += v * b4;\n\t t15 += v * b5;\n\t t16 += v * b6;\n\t t17 += v * b7;\n\t t18 += v * b8;\n\t t19 += v * b9;\n\t t20 += v * b10;\n\t t21 += v * b11;\n\t t22 += v * b12;\n\t t23 += v * b13;\n\t t24 += v * b14;\n\t t25 += v * b15;\n\t v = a[11];\n\t t11 += v * b0;\n\t t12 += v * b1;\n\t t13 += v * b2;\n\t t14 += v * b3;\n\t t15 += v * b4;\n\t t16 += v * b5;\n\t t17 += v * b6;\n\t t18 += v * b7;\n\t t19 += v * b8;\n\t t20 += v * b9;\n\t t21 += v * b10;\n\t t22 += v * b11;\n\t t23 += v * b12;\n\t t24 += v * b13;\n\t t25 += v * b14;\n\t t26 += v * b15;\n\t v = a[12];\n\t t12 += v * b0;\n\t t13 += v * b1;\n\t t14 += v * b2;\n\t t15 += v * b3;\n\t t16 += v * b4;\n\t t17 += v * b5;\n\t t18 += v * b6;\n\t t19 += v * b7;\n\t t20 += v * b8;\n\t t21 += v * b9;\n\t t22 += v * b10;\n\t t23 += v * b11;\n\t t24 += v * b12;\n\t t25 += v * b13;\n\t t26 += v * b14;\n\t t27 += v * b15;\n\t v = a[13];\n\t t13 += v * b0;\n\t t14 += v * b1;\n\t t15 += v * b2;\n\t t16 += v * b3;\n\t t17 += v * b4;\n\t t18 += v * b5;\n\t t19 += v * b6;\n\t t20 += v * b7;\n\t t21 += v * b8;\n\t t22 += v * b9;\n\t t23 += v * b10;\n\t t24 += v * b11;\n\t t25 += v * b12;\n\t t26 += v * b13;\n\t t27 += v * b14;\n\t t28 += v * b15;\n\t v = a[14];\n\t t14 += v * b0;\n\t t15 += v * b1;\n\t t16 += v * b2;\n\t t17 += v * b3;\n\t t18 += v * b4;\n\t t19 += v * b5;\n\t t20 += v * b6;\n\t t21 += v * b7;\n\t t22 += v * b8;\n\t t23 += v * b9;\n\t t24 += v * b10;\n\t t25 += v * b11;\n\t t26 += v * b12;\n\t t27 += v * b13;\n\t t28 += v * b14;\n\t t29 += v * b15;\n\t v = a[15];\n\t t15 += v * b0;\n\t t16 += v * b1;\n\t t17 += v * b2;\n\t t18 += v * b3;\n\t t19 += v * b4;\n\t t20 += v * b5;\n\t t21 += v * b6;\n\t t22 += v * b7;\n\t t23 += v * b8;\n\t t24 += v * b9;\n\t t25 += v * b10;\n\t t26 += v * b11;\n\t t27 += v * b12;\n\t t28 += v * b13;\n\t t29 += v * b14;\n\t t30 += v * b15;\n\n\t t0 += 38 * t16;\n\t t1 += 38 * t17;\n\t t2 += 38 * t18;\n\t t3 += 38 * t19;\n\t t4 += 38 * t20;\n\t t5 += 38 * t21;\n\t t6 += 38 * t22;\n\t t7 += 38 * t23;\n\t t8 += 38 * t24;\n\t t9 += 38 * t25;\n\t t10 += 38 * t26;\n\t t11 += 38 * t27;\n\t t12 += 38 * t28;\n\t t13 += 38 * t29;\n\t t14 += 38 * t30;\n\t // t15 left as is\n\n\t // first car\n\t c = 1;\n\t v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536;\n\t v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536;\n\t v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536;\n\t v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536;\n\t v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536;\n\t v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536;\n\t v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536;\n\t v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536;\n\t v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536;\n\t v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536;\n\t v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536;\n\t v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536;\n\t v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536;\n\t v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536;\n\t v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536;\n\t v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536;\n\t t0 += c-1 + 37 * (c-1);\n\n\t // second car\n\t c = 1;\n\t v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536;\n\t v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536;\n\t v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536;\n\t v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536;\n\t v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536;\n\t v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536;\n\t v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536;\n\t v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536;\n\t v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536;\n\t v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536;\n\t v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536;\n\t v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536;\n\t v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536;\n\t v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536;\n\t v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536;\n\t v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536;\n\t t0 += c-1 + 37 * (c-1);\n\n\t o[ 0] = t0;\n\t o[ 1] = t1;\n\t o[ 2] = t2;\n\t o[ 3] = t3;\n\t o[ 4] = t4;\n\t o[ 5] = t5;\n\t o[ 6] = t6;\n\t o[ 7] = t7;\n\t o[ 8] = t8;\n\t o[ 9] = t9;\n\t o[10] = t10;\n\t o[11] = t11;\n\t o[12] = t12;\n\t o[13] = t13;\n\t o[14] = t14;\n\t o[15] = t15;\n\t}\n\n\tfunction S(o, a) {\n\t M(o, a, a);\n\t}\n\n\tfunction inv25519(o, i) {\n\t var c = gf();\n\t var a;\n\t for (a = 0; a < 16; a++) c[a] = i[a];\n\t for (a = 253; a >= 0; a--) {\n\t S(c, c);\n\t if(a !== 2 && a !== 4) M(c, c, i);\n\t }\n\t for (a = 0; a < 16; a++) o[a] = c[a];\n\t}\n\n\tfunction pow2523(o, i) {\n\t var c = gf();\n\t var a;\n\t for (a = 0; a < 16; a++) c[a] = i[a];\n\t for (a = 250; a >= 0; a--) {\n\t S(c, c);\n\t if(a !== 1) M(c, c, i);\n\t }\n\t for (a = 0; a < 16; a++) o[a] = c[a];\n\t}\n\n\tfunction crypto_scalarmult(q, n, p) {\n\t var z = new Uint8Array(32);\n\t var x = new Float64Array(80), r, i;\n\t var a = gf(), b = gf(), c = gf(),\n\t d = gf(), e = gf(), f = gf();\n\t for (i = 0; i < 31; i++) z[i] = n[i];\n\t z[31]=(n[31]&127)|64;\n\t z[0]&=248;\n\t unpack25519(x,p);\n\t for (i = 0; i < 16; i++) {\n\t b[i]=x[i];\n\t d[i]=a[i]=c[i]=0;\n\t }\n\t a[0]=d[0]=1;\n\t for (i=254; i>=0; --i) {\n\t r=(z[i>>>3]>>>(i&7))&1;\n\t sel25519(a,b,r);\n\t sel25519(c,d,r);\n\t A(e,a,c);\n\t Z(a,a,c);\n\t A(c,b,d);\n\t Z(b,b,d);\n\t S(d,e);\n\t S(f,a);\n\t M(a,c,a);\n\t M(c,b,e);\n\t A(e,a,c);\n\t Z(a,a,c);\n\t S(b,a);\n\t Z(c,d,f);\n\t M(a,c,_121665);\n\t A(a,a,d);\n\t M(c,c,a);\n\t M(a,d,f);\n\t M(d,b,x);\n\t S(b,e);\n\t sel25519(a,b,r);\n\t sel25519(c,d,r);\n\t }\n\t for (i = 0; i < 16; i++) {\n\t x[i+16]=a[i];\n\t x[i+32]=c[i];\n\t x[i+48]=b[i];\n\t x[i+64]=d[i];\n\t }\n\t var x32 = x.subarray(32);\n\t var x16 = x.subarray(16);\n\t inv25519(x32,x32);\n\t M(x16,x16,x32);\n\t pack25519(q,x16);\n\t return 0;\n\t}\n\n\tfunction crypto_scalarmult_base(q, n) {\n\t return crypto_scalarmult(q, n, _9);\n\t}\n\n\tfunction crypto_box_keypair(y, x) {\n\t randombytes(x, 32);\n\t return crypto_scalarmult_base(y, x);\n\t}\n\n\tfunction crypto_box_beforenm(k, y, x) {\n\t var s = new Uint8Array(32);\n\t crypto_scalarmult(s, x, y);\n\t return crypto_core_hsalsa20(k, _0, s, sigma);\n\t}\n\n\tvar crypto_box_afternm = crypto_secretbox;\n\tvar crypto_box_open_afternm = crypto_secretbox_open;\n\n\tfunction crypto_box(c, m, d, n, y, x) {\n\t var k = new Uint8Array(32);\n\t crypto_box_beforenm(k, y, x);\n\t return crypto_box_afternm(c, m, d, n, k);\n\t}\n\n\tfunction crypto_box_open(m, c, d, n, y, x) {\n\t var k = new Uint8Array(32);\n\t crypto_box_beforenm(k, y, x);\n\t return crypto_box_open_afternm(m, c, d, n, k);\n\t}\n\n\tvar K = [\n\t 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd,\n\t 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc,\n\t 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019,\n\t 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118,\n\t 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe,\n\t 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2,\n\t 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1,\n\t 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694,\n\t 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3,\n\t 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65,\n\t 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483,\n\t 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5,\n\t 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210,\n\t 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4,\n\t 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725,\n\t 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70,\n\t 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926,\n\t 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df,\n\t 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8,\n\t 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b,\n\t 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001,\n\t 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30,\n\t 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910,\n\t 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8,\n\t 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53,\n\t 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8,\n\t 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb,\n\t 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3,\n\t 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60,\n\t 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec,\n\t 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9,\n\t 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b,\n\t 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207,\n\t 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178,\n\t 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6,\n\t 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b,\n\t 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493,\n\t 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c,\n\t 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a,\n\t 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817\n\t];\n\n\tfunction crypto_hashblocks_hl(hh, hl, m, n) {\n\t var wh = new Int32Array(16), wl = new Int32Array(16),\n\t bh0, bh1, bh2, bh3, bh4, bh5, bh6, bh7,\n\t bl0, bl1, bl2, bl3, bl4, bl5, bl6, bl7,\n\t th, tl, i, j, h, l, a, b, c, d;\n\n\t var ah0 = hh[0],\n\t ah1 = hh[1],\n\t ah2 = hh[2],\n\t ah3 = hh[3],\n\t ah4 = hh[4],\n\t ah5 = hh[5],\n\t ah6 = hh[6],\n\t ah7 = hh[7],\n\n\t al0 = hl[0],\n\t al1 = hl[1],\n\t al2 = hl[2],\n\t al3 = hl[3],\n\t al4 = hl[4],\n\t al5 = hl[5],\n\t al6 = hl[6],\n\t al7 = hl[7];\n\n\t var pos = 0;\n\t while (n >= 128) {\n\t for (i = 0; i < 16; i++) {\n\t j = 8 * i + pos;\n\t wh[i] = (m[j+0] << 24) | (m[j+1] << 16) | (m[j+2] << 8) | m[j+3];\n\t wl[i] = (m[j+4] << 24) | (m[j+5] << 16) | (m[j+6] << 8) | m[j+7];\n\t }\n\t for (i = 0; i < 80; i++) {\n\t bh0 = ah0;\n\t bh1 = ah1;\n\t bh2 = ah2;\n\t bh3 = ah3;\n\t bh4 = ah4;\n\t bh5 = ah5;\n\t bh6 = ah6;\n\t bh7 = ah7;\n\n\t bl0 = al0;\n\t bl1 = al1;\n\t bl2 = al2;\n\t bl3 = al3;\n\t bl4 = al4;\n\t bl5 = al5;\n\t bl6 = al6;\n\t bl7 = al7;\n\n\t // add\n\t h = ah7;\n\t l = al7;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t // Sigma1\n\t h = ((ah4 >>> 14) | (al4 << (32-14))) ^ ((ah4 >>> 18) | (al4 << (32-18))) ^ ((al4 >>> (41-32)) | (ah4 << (32-(41-32))));\n\t l = ((al4 >>> 14) | (ah4 << (32-14))) ^ ((al4 >>> 18) | (ah4 << (32-18))) ^ ((ah4 >>> (41-32)) | (al4 << (32-(41-32))));\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // Ch\n\t h = (ah4 & ah5) ^ (~ah4 & ah6);\n\t l = (al4 & al5) ^ (~al4 & al6);\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // K\n\t h = K[i*2];\n\t l = K[i*2+1];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // w\n\t h = wh[i%16];\n\t l = wl[i%16];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t th = c & 0xffff | d << 16;\n\t tl = a & 0xffff | b << 16;\n\n\t // add\n\t h = th;\n\t l = tl;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t // Sigma0\n\t h = ((ah0 >>> 28) | (al0 << (32-28))) ^ ((al0 >>> (34-32)) | (ah0 << (32-(34-32)))) ^ ((al0 >>> (39-32)) | (ah0 << (32-(39-32))));\n\t l = ((al0 >>> 28) | (ah0 << (32-28))) ^ ((ah0 >>> (34-32)) | (al0 << (32-(34-32)))) ^ ((ah0 >>> (39-32)) | (al0 << (32-(39-32))));\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // Maj\n\t h = (ah0 & ah1) ^ (ah0 & ah2) ^ (ah1 & ah2);\n\t l = (al0 & al1) ^ (al0 & al2) ^ (al1 & al2);\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t bh7 = (c & 0xffff) | (d << 16);\n\t bl7 = (a & 0xffff) | (b << 16);\n\n\t // add\n\t h = bh3;\n\t l = bl3;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = th;\n\t l = tl;\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t bh3 = (c & 0xffff) | (d << 16);\n\t bl3 = (a & 0xffff) | (b << 16);\n\n\t ah1 = bh0;\n\t ah2 = bh1;\n\t ah3 = bh2;\n\t ah4 = bh3;\n\t ah5 = bh4;\n\t ah6 = bh5;\n\t ah7 = bh6;\n\t ah0 = bh7;\n\n\t al1 = bl0;\n\t al2 = bl1;\n\t al3 = bl2;\n\t al4 = bl3;\n\t al5 = bl4;\n\t al6 = bl5;\n\t al7 = bl6;\n\t al0 = bl7;\n\n\t if (i%16 === 15) {\n\t for (j = 0; j < 16; j++) {\n\t // add\n\t h = wh[j];\n\t l = wl[j];\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = wh[(j+9)%16];\n\t l = wl[(j+9)%16];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // sigma0\n\t th = wh[(j+1)%16];\n\t tl = wl[(j+1)%16];\n\t h = ((th >>> 1) | (tl << (32-1))) ^ ((th >>> 8) | (tl << (32-8))) ^ (th >>> 7);\n\t l = ((tl >>> 1) | (th << (32-1))) ^ ((tl >>> 8) | (th << (32-8))) ^ ((tl >>> 7) | (th << (32-7)));\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t // sigma1\n\t th = wh[(j+14)%16];\n\t tl = wl[(j+14)%16];\n\t h = ((th >>> 19) | (tl << (32-19))) ^ ((tl >>> (61-32)) | (th << (32-(61-32)))) ^ (th >>> 6);\n\t l = ((tl >>> 19) | (th << (32-19))) ^ ((th >>> (61-32)) | (tl << (32-(61-32)))) ^ ((tl >>> 6) | (th << (32-6)));\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t wh[j] = (c & 0xffff) | (d << 16);\n\t wl[j] = (a & 0xffff) | (b << 16);\n\t }\n\t }\n\t }\n\n\t // add\n\t h = ah0;\n\t l = al0;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[0];\n\t l = hl[0];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[0] = ah0 = (c & 0xffff) | (d << 16);\n\t hl[0] = al0 = (a & 0xffff) | (b << 16);\n\n\t h = ah1;\n\t l = al1;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[1];\n\t l = hl[1];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[1] = ah1 = (c & 0xffff) | (d << 16);\n\t hl[1] = al1 = (a & 0xffff) | (b << 16);\n\n\t h = ah2;\n\t l = al2;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[2];\n\t l = hl[2];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[2] = ah2 = (c & 0xffff) | (d << 16);\n\t hl[2] = al2 = (a & 0xffff) | (b << 16);\n\n\t h = ah3;\n\t l = al3;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[3];\n\t l = hl[3];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[3] = ah3 = (c & 0xffff) | (d << 16);\n\t hl[3] = al3 = (a & 0xffff) | (b << 16);\n\n\t h = ah4;\n\t l = al4;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[4];\n\t l = hl[4];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[4] = ah4 = (c & 0xffff) | (d << 16);\n\t hl[4] = al4 = (a & 0xffff) | (b << 16);\n\n\t h = ah5;\n\t l = al5;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[5];\n\t l = hl[5];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[5] = ah5 = (c & 0xffff) | (d << 16);\n\t hl[5] = al5 = (a & 0xffff) | (b << 16);\n\n\t h = ah6;\n\t l = al6;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[6];\n\t l = hl[6];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[6] = ah6 = (c & 0xffff) | (d << 16);\n\t hl[6] = al6 = (a & 0xffff) | (b << 16);\n\n\t h = ah7;\n\t l = al7;\n\n\t a = l & 0xffff; b = l >>> 16;\n\t c = h & 0xffff; d = h >>> 16;\n\n\t h = hh[7];\n\t l = hl[7];\n\n\t a += l & 0xffff; b += l >>> 16;\n\t c += h & 0xffff; d += h >>> 16;\n\n\t b += a >>> 16;\n\t c += b >>> 16;\n\t d += c >>> 16;\n\n\t hh[7] = ah7 = (c & 0xffff) | (d << 16);\n\t hl[7] = al7 = (a & 0xffff) | (b << 16);\n\n\t pos += 128;\n\t n -= 128;\n\t }\n\n\t return n;\n\t}\n\n\tfunction crypto_hash(out, m, n) {\n\t var hh = new Int32Array(8),\n\t hl = new Int32Array(8),\n\t x = new Uint8Array(256),\n\t i, b = n;\n\n\t hh[0] = 0x6a09e667;\n\t hh[1] = 0xbb67ae85;\n\t hh[2] = 0x3c6ef372;\n\t hh[3] = 0xa54ff53a;\n\t hh[4] = 0x510e527f;\n\t hh[5] = 0x9b05688c;\n\t hh[6] = 0x1f83d9ab;\n\t hh[7] = 0x5be0cd19;\n\n\t hl[0] = 0xf3bcc908;\n\t hl[1] = 0x84caa73b;\n\t hl[2] = 0xfe94f82b;\n\t hl[3] = 0x5f1d36f1;\n\t hl[4] = 0xade682d1;\n\t hl[5] = 0x2b3e6c1f;\n\t hl[6] = 0xfb41bd6b;\n\t hl[7] = 0x137e2179;\n\n\t crypto_hashblocks_hl(hh, hl, m, n);\n\t n %= 128;\n\n\t for (i = 0; i < n; i++) x[i] = m[b-n+i];\n\t x[n] = 128;\n\n\t n = 256-128*(n<112?1:0);\n\t x[n-9] = 0;\n\t ts64(x, n-8, (b / 0x20000000) | 0, b << 3);\n\t crypto_hashblocks_hl(hh, hl, x, n);\n\n\t for (i = 0; i < 8; i++) ts64(out, 8*i, hh[i], hl[i]);\n\n\t return 0;\n\t}\n\n\tfunction add(p, q) {\n\t var a = gf(), b = gf(), c = gf(),\n\t d = gf(), e = gf(), f = gf(),\n\t g = gf(), h = gf(), t = gf();\n\n\t Z(a, p[1], p[0]);\n\t Z(t, q[1], q[0]);\n\t M(a, a, t);\n\t A(b, p[0], p[1]);\n\t A(t, q[0], q[1]);\n\t M(b, b, t);\n\t M(c, p[3], q[3]);\n\t M(c, c, D2);\n\t M(d, p[2], q[2]);\n\t A(d, d, d);\n\t Z(e, b, a);\n\t Z(f, d, c);\n\t A(g, d, c);\n\t A(h, b, a);\n\n\t M(p[0], e, f);\n\t M(p[1], h, g);\n\t M(p[2], g, f);\n\t M(p[3], e, h);\n\t}\n\n\tfunction cswap(p, q, b) {\n\t var i;\n\t for (i = 0; i < 4; i++) {\n\t sel25519(p[i], q[i], b);\n\t }\n\t}\n\n\tfunction pack(r, p) {\n\t var tx = gf(), ty = gf(), zi = gf();\n\t inv25519(zi, p[2]);\n\t M(tx, p[0], zi);\n\t M(ty, p[1], zi);\n\t pack25519(r, ty);\n\t r[31] ^= par25519(tx) << 7;\n\t}\n\n\tfunction scalarmult(p, q, s) {\n\t var b, i;\n\t set25519(p[0], gf0);\n\t set25519(p[1], gf1);\n\t set25519(p[2], gf1);\n\t set25519(p[3], gf0);\n\t for (i = 255; i >= 0; --i) {\n\t b = (s[(i/8)|0] >> (i&7)) & 1;\n\t cswap(p, q, b);\n\t add(q, p);\n\t add(p, p);\n\t cswap(p, q, b);\n\t }\n\t}\n\n\tfunction scalarbase(p, s) {\n\t var q = [gf(), gf(), gf(), gf()];\n\t set25519(q[0], X);\n\t set25519(q[1], Y);\n\t set25519(q[2], gf1);\n\t M(q[3], X, Y);\n\t scalarmult(p, q, s);\n\t}\n\n\tfunction crypto_sign_keypair(pk, sk, seeded) {\n\t var d = new Uint8Array(64);\n\t var p = [gf(), gf(), gf(), gf()];\n\t var i;\n\n\t if (!seeded) randombytes(sk, 32);\n\t crypto_hash(d, sk, 32);\n\t d[0] &= 248;\n\t d[31] &= 127;\n\t d[31] |= 64;\n\n\t scalarbase(p, d);\n\t pack(pk, p);\n\n\t for (i = 0; i < 32; i++) sk[i+32] = pk[i];\n\t return 0;\n\t}\n\n\tvar L = new Float64Array([0xed, 0xd3, 0xf5, 0x5c, 0x1a, 0x63, 0x12, 0x58, 0xd6, 0x9c, 0xf7, 0xa2, 0xde, 0xf9, 0xde, 0x14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10]);\n\n\tfunction modL(r, x) {\n\t var carry, i, j, k;\n\t for (i = 63; i >= 32; --i) {\n\t carry = 0;\n\t for (j = i - 32, k = i - 12; j < k; ++j) {\n\t x[j] += carry - 16 * x[i] * L[j - (i - 32)];\n\t carry = Math.floor((x[j] + 128) / 256);\n\t x[j] -= carry * 256;\n\t }\n\t x[j] += carry;\n\t x[i] = 0;\n\t }\n\t carry = 0;\n\t for (j = 0; j < 32; j++) {\n\t x[j] += carry - (x[31] >> 4) * L[j];\n\t carry = x[j] >> 8;\n\t x[j] &= 255;\n\t }\n\t for (j = 0; j < 32; j++) x[j] -= carry * L[j];\n\t for (i = 0; i < 32; i++) {\n\t x[i+1] += x[i] >> 8;\n\t r[i] = x[i] & 255;\n\t }\n\t}\n\n\tfunction reduce(r) {\n\t var x = new Float64Array(64), i;\n\t for (i = 0; i < 64; i++) x[i] = r[i];\n\t for (i = 0; i < 64; i++) r[i] = 0;\n\t modL(r, x);\n\t}\n\n\t// Note: difference from C - smlen returned, not passed as argument.\n\tfunction crypto_sign(sm, m, n, sk) {\n\t var d = new Uint8Array(64), h = new Uint8Array(64), r = new Uint8Array(64);\n\t var i, j, x = new Float64Array(64);\n\t var p = [gf(), gf(), gf(), gf()];\n\n\t crypto_hash(d, sk, 32);\n\t d[0] &= 248;\n\t d[31] &= 127;\n\t d[31] |= 64;\n\n\t var smlen = n + 64;\n\t for (i = 0; i < n; i++) sm[64 + i] = m[i];\n\t for (i = 0; i < 32; i++) sm[32 + i] = d[32 + i];\n\n\t crypto_hash(r, sm.subarray(32), n+32);\n\t reduce(r);\n\t scalarbase(p, r);\n\t pack(sm, p);\n\n\t for (i = 32; i < 64; i++) sm[i] = sk[i];\n\t crypto_hash(h, sm, n + 64);\n\t reduce(h);\n\n\t for (i = 0; i < 64; i++) x[i] = 0;\n\t for (i = 0; i < 32; i++) x[i] = r[i];\n\t for (i = 0; i < 32; i++) {\n\t for (j = 0; j < 32; j++) {\n\t x[i+j] += h[i] * d[j];\n\t }\n\t }\n\n\t modL(sm.subarray(32), x);\n\t return smlen;\n\t}\n\n\tfunction unpackneg(r, p) {\n\t var t = gf(), chk = gf(), num = gf(),\n\t den = gf(), den2 = gf(), den4 = gf(),\n\t den6 = gf();\n\n\t set25519(r[2], gf1);\n\t unpack25519(r[1], p);\n\t S(num, r[1]);\n\t M(den, num, D);\n\t Z(num, num, r[2]);\n\t A(den, r[2], den);\n\n\t S(den2, den);\n\t S(den4, den2);\n\t M(den6, den4, den2);\n\t M(t, den6, num);\n\t M(t, t, den);\n\n\t pow2523(t, t);\n\t M(t, t, num);\n\t M(t, t, den);\n\t M(t, t, den);\n\t M(r[0], t, den);\n\n\t S(chk, r[0]);\n\t M(chk, chk, den);\n\t if (neq25519(chk, num)) M(r[0], r[0], I);\n\n\t S(chk, r[0]);\n\t M(chk, chk, den);\n\t if (neq25519(chk, num)) return -1;\n\n\t if (par25519(r[0]) === (p[31]>>7)) Z(r[0], gf0, r[0]);\n\n\t M(r[3], r[0], r[1]);\n\t return 0;\n\t}\n\n\tfunction crypto_sign_open(m, sm, n, pk) {\n\t var i;\n\t var t = new Uint8Array(32), h = new Uint8Array(64);\n\t var p = [gf(), gf(), gf(), gf()],\n\t q = [gf(), gf(), gf(), gf()];\n\n\t if (n < 64) return -1;\n\n\t if (unpackneg(q, pk)) return -1;\n\n\t for (i = 0; i < n; i++) m[i] = sm[i];\n\t for (i = 0; i < 32; i++) m[i+32] = pk[i];\n\t crypto_hash(h, m, n);\n\t reduce(h);\n\t scalarmult(p, q, h);\n\n\t scalarbase(q, sm.subarray(32));\n\t add(p, q);\n\t pack(t, p);\n\n\t n -= 64;\n\t if (crypto_verify_32(sm, 0, t, 0)) {\n\t for (i = 0; i < n; i++) m[i] = 0;\n\t return -1;\n\t }\n\n\t for (i = 0; i < n; i++) m[i] = sm[i + 64];\n\t return n;\n\t}\n\n\tvar crypto_secretbox_KEYBYTES = 32,\n\t crypto_secretbox_NONCEBYTES = 24,\n\t crypto_secretbox_ZEROBYTES = 32,\n\t crypto_secretbox_BOXZEROBYTES = 16,\n\t crypto_scalarmult_BYTES = 32,\n\t crypto_scalarmult_SCALARBYTES = 32,\n\t crypto_box_PUBLICKEYBYTES = 32,\n\t crypto_box_SECRETKEYBYTES = 32,\n\t crypto_box_BEFORENMBYTES = 32,\n\t crypto_box_NONCEBYTES = crypto_secretbox_NONCEBYTES,\n\t crypto_box_ZEROBYTES = crypto_secretbox_ZEROBYTES,\n\t crypto_box_BOXZEROBYTES = crypto_secretbox_BOXZEROBYTES,\n\t crypto_sign_BYTES = 64,\n\t crypto_sign_PUBLICKEYBYTES = 32,\n\t crypto_sign_SECRETKEYBYTES = 64,\n\t crypto_sign_SEEDBYTES = 32,\n\t crypto_hash_BYTES = 64;\n\n\tnacl.lowlevel = {\n\t crypto_core_hsalsa20: crypto_core_hsalsa20,\n\t crypto_stream_xor: crypto_stream_xor,\n\t crypto_stream: crypto_stream,\n\t crypto_stream_salsa20_xor: crypto_stream_salsa20_xor,\n\t crypto_stream_salsa20: crypto_stream_salsa20,\n\t crypto_onetimeauth: crypto_onetimeauth,\n\t crypto_onetimeauth_verify: crypto_onetimeauth_verify,\n\t crypto_verify_16: crypto_verify_16,\n\t crypto_verify_32: crypto_verify_32,\n\t crypto_secretbox: crypto_secretbox,\n\t crypto_secretbox_open: crypto_secretbox_open,\n\t crypto_scalarmult: crypto_scalarmult,\n\t crypto_scalarmult_base: crypto_scalarmult_base,\n\t crypto_box_beforenm: crypto_box_beforenm,\n\t crypto_box_afternm: crypto_box_afternm,\n\t crypto_box: crypto_box,\n\t crypto_box_open: crypto_box_open,\n\t crypto_box_keypair: crypto_box_keypair,\n\t crypto_hash: crypto_hash,\n\t crypto_sign: crypto_sign,\n\t crypto_sign_keypair: crypto_sign_keypair,\n\t crypto_sign_open: crypto_sign_open,\n\n\t crypto_secretbox_KEYBYTES: crypto_secretbox_KEYBYTES,\n\t crypto_secretbox_NONCEBYTES: crypto_secretbox_NONCEBYTES,\n\t crypto_secretbox_ZEROBYTES: crypto_secretbox_ZEROBYTES,\n\t crypto_secretbox_BOXZEROBYTES: crypto_secretbox_BOXZEROBYTES,\n\t crypto_scalarmult_BYTES: crypto_scalarmult_BYTES,\n\t crypto_scalarmult_SCALARBYTES: crypto_scalarmult_SCALARBYTES,\n\t crypto_box_PUBLICKEYBYTES: crypto_box_PUBLICKEYBYTES,\n\t crypto_box_SECRETKEYBYTES: crypto_box_SECRETKEYBYTES,\n\t crypto_box_BEFORENMBYTES: crypto_box_BEFORENMBYTES,\n\t crypto_box_NONCEBYTES: crypto_box_NONCEBYTES,\n\t crypto_box_ZEROBYTES: crypto_box_ZEROBYTES,\n\t crypto_box_BOXZEROBYTES: crypto_box_BOXZEROBYTES,\n\t crypto_sign_BYTES: crypto_sign_BYTES,\n\t crypto_sign_PUBLICKEYBYTES: crypto_sign_PUBLICKEYBYTES,\n\t crypto_sign_SECRETKEYBYTES: crypto_sign_SECRETKEYBYTES,\n\t crypto_sign_SEEDBYTES: crypto_sign_SEEDBYTES,\n\t crypto_hash_BYTES: crypto_hash_BYTES,\n\n\t gf: gf,\n\t D: D,\n\t L: L,\n\t pack25519: pack25519,\n\t unpack25519: unpack25519,\n\t M: M,\n\t A: A,\n\t S: S,\n\t Z: Z,\n\t pow2523: pow2523,\n\t add: add,\n\t set25519: set25519,\n\t modL: modL,\n\t scalarmult: scalarmult,\n\t scalarbase: scalarbase,\n\t};\n\n\t/* High-level API */\n\n\tfunction checkLengths(k, n) {\n\t if (k.length !== crypto_secretbox_KEYBYTES) throw new Error('bad key size');\n\t if (n.length !== crypto_secretbox_NONCEBYTES) throw new Error('bad nonce size');\n\t}\n\n\tfunction checkBoxLengths(pk, sk) {\n\t if (pk.length !== crypto_box_PUBLICKEYBYTES) throw new Error('bad public key size');\n\t if (sk.length !== crypto_box_SECRETKEYBYTES) throw new Error('bad secret key size');\n\t}\n\n\tfunction checkArrayTypes() {\n\t for (var i = 0; i < arguments.length; i++) {\n\t if (!(arguments[i] instanceof Uint8Array))\n\t throw new TypeError('unexpected type, use Uint8Array');\n\t }\n\t}\n\n\tfunction cleanup(arr) {\n\t for (var i = 0; i < arr.length; i++) arr[i] = 0;\n\t}\n\n\tnacl.randomBytes = function(n) {\n\t var b = new Uint8Array(n);\n\t randombytes(b, n);\n\t return b;\n\t};\n\n\tnacl.secretbox = function(msg, nonce, key) {\n\t checkArrayTypes(msg, nonce, key);\n\t checkLengths(key, nonce);\n\t var m = new Uint8Array(crypto_secretbox_ZEROBYTES + msg.length);\n\t var c = new Uint8Array(m.length);\n\t for (var i = 0; i < msg.length; i++) m[i+crypto_secretbox_ZEROBYTES] = msg[i];\n\t crypto_secretbox(c, m, m.length, nonce, key);\n\t return c.subarray(crypto_secretbox_BOXZEROBYTES);\n\t};\n\n\tnacl.secretbox.open = function(box, nonce, key) {\n\t checkArrayTypes(box, nonce, key);\n\t checkLengths(key, nonce);\n\t var c = new Uint8Array(crypto_secretbox_BOXZEROBYTES + box.length);\n\t var m = new Uint8Array(c.length);\n\t for (var i = 0; i < box.length; i++) c[i+crypto_secretbox_BOXZEROBYTES] = box[i];\n\t if (c.length < 32) return null;\n\t if (crypto_secretbox_open(m, c, c.length, nonce, key) !== 0) return null;\n\t return m.subarray(crypto_secretbox_ZEROBYTES);\n\t};\n\n\tnacl.secretbox.keyLength = crypto_secretbox_KEYBYTES;\n\tnacl.secretbox.nonceLength = crypto_secretbox_NONCEBYTES;\n\tnacl.secretbox.overheadLength = crypto_secretbox_BOXZEROBYTES;\n\n\tnacl.scalarMult = function(n, p) {\n\t checkArrayTypes(n, p);\n\t if (n.length !== crypto_scalarmult_SCALARBYTES) throw new Error('bad n size');\n\t if (p.length !== crypto_scalarmult_BYTES) throw new Error('bad p size');\n\t var q = new Uint8Array(crypto_scalarmult_BYTES);\n\t crypto_scalarmult(q, n, p);\n\t return q;\n\t};\n\n\tnacl.scalarMult.base = function(n) {\n\t checkArrayTypes(n);\n\t if (n.length !== crypto_scalarmult_SCALARBYTES) throw new Error('bad n size');\n\t var q = new Uint8Array(crypto_scalarmult_BYTES);\n\t crypto_scalarmult_base(q, n);\n\t return q;\n\t};\n\n\tnacl.scalarMult.scalarLength = crypto_scalarmult_SCALARBYTES;\n\tnacl.scalarMult.groupElementLength = crypto_scalarmult_BYTES;\n\n\tnacl.box = function(msg, nonce, publicKey, secretKey) {\n\t var k = nacl.box.before(publicKey, secretKey);\n\t return nacl.secretbox(msg, nonce, k);\n\t};\n\n\tnacl.box.before = function(publicKey, secretKey) {\n\t checkArrayTypes(publicKey, secretKey);\n\t checkBoxLengths(publicKey, secretKey);\n\t var k = new Uint8Array(crypto_box_BEFORENMBYTES);\n\t crypto_box_beforenm(k, publicKey, secretKey);\n\t return k;\n\t};\n\n\tnacl.box.after = nacl.secretbox;\n\n\tnacl.box.open = function(msg, nonce, publicKey, secretKey) {\n\t var k = nacl.box.before(publicKey, secretKey);\n\t return nacl.secretbox.open(msg, nonce, k);\n\t};\n\n\tnacl.box.open.after = nacl.secretbox.open;\n\n\tnacl.box.keyPair = function() {\n\t var pk = new Uint8Array(crypto_box_PUBLICKEYBYTES);\n\t var sk = new Uint8Array(crypto_box_SECRETKEYBYTES);\n\t crypto_box_keypair(pk, sk);\n\t return {publicKey: pk, secretKey: sk};\n\t};\n\n\tnacl.box.keyPair.fromSecretKey = function(secretKey) {\n\t checkArrayTypes(secretKey);\n\t if (secretKey.length !== crypto_box_SECRETKEYBYTES)\n\t throw new Error('bad secret key size');\n\t var pk = new Uint8Array(crypto_box_PUBLICKEYBYTES);\n\t crypto_scalarmult_base(pk, secretKey);\n\t return {publicKey: pk, secretKey: new Uint8Array(secretKey)};\n\t};\n\n\tnacl.box.publicKeyLength = crypto_box_PUBLICKEYBYTES;\n\tnacl.box.secretKeyLength = crypto_box_SECRETKEYBYTES;\n\tnacl.box.sharedKeyLength = crypto_box_BEFORENMBYTES;\n\tnacl.box.nonceLength = crypto_box_NONCEBYTES;\n\tnacl.box.overheadLength = nacl.secretbox.overheadLength;\n\n\tnacl.sign = function(msg, secretKey) {\n\t checkArrayTypes(msg, secretKey);\n\t if (secretKey.length !== crypto_sign_SECRETKEYBYTES)\n\t throw new Error('bad secret key size');\n\t var signedMsg = new Uint8Array(crypto_sign_BYTES+msg.length);\n\t crypto_sign(signedMsg, msg, msg.length, secretKey);\n\t return signedMsg;\n\t};\n\n\tnacl.sign.open = function(signedMsg, publicKey) {\n\t checkArrayTypes(signedMsg, publicKey);\n\t if (publicKey.length !== crypto_sign_PUBLICKEYBYTES)\n\t throw new Error('bad public key size');\n\t var tmp = new Uint8Array(signedMsg.length);\n\t var mlen = crypto_sign_open(tmp, signedMsg, signedMsg.length, publicKey);\n\t if (mlen < 0) return null;\n\t var m = new Uint8Array(mlen);\n\t for (var i = 0; i < m.length; i++) m[i] = tmp[i];\n\t return m;\n\t};\n\n\tnacl.sign.detached = function(msg, secretKey) {\n\t var signedMsg = nacl.sign(msg, secretKey);\n\t var sig = new Uint8Array(crypto_sign_BYTES);\n\t for (var i = 0; i < sig.length; i++) sig[i] = signedMsg[i];\n\t return sig;\n\t};\n\n\tnacl.sign.detached.verify = function(msg, sig, publicKey) {\n\t checkArrayTypes(msg, sig, publicKey);\n\t if (sig.length !== crypto_sign_BYTES)\n\t throw new Error('bad signature size');\n\t if (publicKey.length !== crypto_sign_PUBLICKEYBYTES)\n\t throw new Error('bad public key size');\n\t var sm = new Uint8Array(crypto_sign_BYTES + msg.length);\n\t var m = new Uint8Array(crypto_sign_BYTES + msg.length);\n\t var i;\n\t for (i = 0; i < crypto_sign_BYTES; i++) sm[i] = sig[i];\n\t for (i = 0; i < msg.length; i++) sm[i+crypto_sign_BYTES] = msg[i];\n\t return (crypto_sign_open(m, sm, sm.length, publicKey) >= 0);\n\t};\n\n\tnacl.sign.keyPair = function() {\n\t var pk = new Uint8Array(crypto_sign_PUBLICKEYBYTES);\n\t var sk = new Uint8Array(crypto_sign_SECRETKEYBYTES);\n\t crypto_sign_keypair(pk, sk);\n\t return {publicKey: pk, secretKey: sk};\n\t};\n\n\tnacl.sign.keyPair.fromSecretKey = function(secretKey) {\n\t checkArrayTypes(secretKey);\n\t if (secretKey.length !== crypto_sign_SECRETKEYBYTES)\n\t throw new Error('bad secret key size');\n\t var pk = new Uint8Array(crypto_sign_PUBLICKEYBYTES);\n\t for (var i = 0; i < pk.length; i++) pk[i] = secretKey[32+i];\n\t return {publicKey: pk, secretKey: new Uint8Array(secretKey)};\n\t};\n\n\tnacl.sign.keyPair.fromSeed = function(seed) {\n\t checkArrayTypes(seed);\n\t if (seed.length !== crypto_sign_SEEDBYTES)\n\t throw new Error('bad seed size');\n\t var pk = new Uint8Array(crypto_sign_PUBLICKEYBYTES);\n\t var sk = new Uint8Array(crypto_sign_SECRETKEYBYTES);\n\t for (var i = 0; i < 32; i++) sk[i] = seed[i];\n\t crypto_sign_keypair(pk, sk, true);\n\t return {publicKey: pk, secretKey: sk};\n\t};\n\n\tnacl.sign.publicKeyLength = crypto_sign_PUBLICKEYBYTES;\n\tnacl.sign.secretKeyLength = crypto_sign_SECRETKEYBYTES;\n\tnacl.sign.seedLength = crypto_sign_SEEDBYTES;\n\tnacl.sign.signatureLength = crypto_sign_BYTES;\n\n\tnacl.hash = function(msg) {\n\t checkArrayTypes(msg);\n\t var h = new Uint8Array(crypto_hash_BYTES);\n\t crypto_hash(h, msg, msg.length);\n\t return h;\n\t};\n\n\tnacl.hash.hashLength = crypto_hash_BYTES;\n\n\tnacl.verify = function(x, y) {\n\t checkArrayTypes(x, y);\n\t // Zero length arguments are considered not equal.\n\t if (x.length === 0 || y.length === 0) return false;\n\t if (x.length !== y.length) return false;\n\t return (vn(x, 0, y, 0, x.length) === 0) ? true : false;\n\t};\n\n\tnacl.setPRNG = function(fn) {\n\t randombytes = fn;\n\t};\n\n\t(function() {\n\t // Initialize PRNG if environment provides CSPRNG.\n\t // If not, methods calling randombytes will throw.\n\t var crypto = typeof self !== 'undefined' ? (self.crypto || self.msCrypto) : null;\n\t if (crypto && crypto.getRandomValues) {\n\t // Browsers.\n\t var QUOTA = 65536;\n\t nacl.setPRNG(function(x, n) {\n\t var i, v = new Uint8Array(n);\n\t for (i = 0; i < n; i += QUOTA) {\n\t crypto.getRandomValues(v.subarray(i, i + Math.min(n - i, QUOTA)));\n\t }\n\t for (i = 0; i < n; i++) x[i] = v[i];\n\t cleanup(v);\n\t });\n\t } else {\n\t // Node.js.\n\t crypto = __webpack_require__(4);\n\t if (crypto && crypto.randomBytes) {\n\t nacl.setPRNG(function(x, n) {\n\t var i, v = crypto.randomBytes(n);\n\t for (i = 0; i < n; i++) x[i] = v[i];\n\t cleanup(v);\n\t });\n\t }\n\t }\n\t})();\n\n\t})( module.exports ? module.exports : (self.nacl = self.nacl || {}));\n\n\n\t/***/ }),\n\t/* 3 */\n\t/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(5).default;\n\n\n\t/***/ }),\n\t/* 4 */\n\t/***/ (function(module, exports) {\n\n\t/* (ignored) */\n\n\t/***/ }),\n\t/* 5 */\n\t/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\t// ESM COMPAT FLAG\n\t__webpack_require__.r(__webpack_exports__);\n\n\t// EXPORTS\n\t__webpack_require__.d(__webpack_exports__, \"default\", function() { return /* binding */ pusher_with_encryption_PusherWithEncryption; });\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/dom/script_receiver_factory.ts\n\tclass ScriptReceiverFactory {\n\t constructor(prefix, name) {\n\t this.lastId = 0;\n\t this.prefix = prefix;\n\t this.name = name;\n\t }\n\t create(callback) {\n\t this.lastId++;\n\t var number = this.lastId;\n\t var id = this.prefix + number;\n\t var name = this.name + '[' + number + ']';\n\t var called = false;\n\t var callbackWrapper = function () {\n\t if (!called) {\n\t callback.apply(null, arguments);\n\t called = true;\n\t }\n\t };\n\t this[number] = callbackWrapper;\n\t return { number: number, id: id, name: name, callback: callbackWrapper };\n\t }\n\t remove(receiver) {\n\t delete this[receiver.number];\n\t }\n\t}\n\tvar ScriptReceivers = new ScriptReceiverFactory('_pusher_script_', 'Pusher.ScriptReceivers');\n\n\t// CONCATENATED MODULE: ./src/core/defaults.ts\n\tvar Defaults = {\n\t VERSION: \"8.2.0\",\n\t PROTOCOL: 7,\n\t wsPort: 80,\n\t wssPort: 443,\n\t wsPath: '',\n\t httpHost: 'sockjs.pusher.com',\n\t httpPort: 80,\n\t httpsPort: 443,\n\t httpPath: '/pusher',\n\t stats_host: 'stats.pusher.com',\n\t authEndpoint: '/pusher/auth',\n\t authTransport: 'ajax',\n\t activityTimeout: 120000,\n\t pongTimeout: 30000,\n\t unavailableTimeout: 10000,\n\t userAuthentication: {\n\t endpoint: '/pusher/user-auth',\n\t transport: 'ajax'\n\t },\n\t channelAuthorization: {\n\t endpoint: '/pusher/auth',\n\t transport: 'ajax'\n\t },\n\t cdn_http: \"http://js.pusher.com\",\n\t cdn_https: \"https://js.pusher.com\",\n\t dependency_suffix: \"\"\n\t};\n\t/* harmony default export */ var defaults = (Defaults);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/dom/dependency_loader.ts\n\n\n\tclass dependency_loader_DependencyLoader {\n\t constructor(options) {\n\t this.options = options;\n\t this.receivers = options.receivers || ScriptReceivers;\n\t this.loading = {};\n\t }\n\t load(name, options, callback) {\n\t var self = this;\n\t if (self.loading[name] && self.loading[name].length > 0) {\n\t self.loading[name].push(callback);\n\t }\n\t else {\n\t self.loading[name] = [callback];\n\t var request = runtime.createScriptRequest(self.getPath(name, options));\n\t var receiver = self.receivers.create(function (error) {\n\t self.receivers.remove(receiver);\n\t if (self.loading[name]) {\n\t var callbacks = self.loading[name];\n\t delete self.loading[name];\n\t var successCallback = function (wasSuccessful) {\n\t if (!wasSuccessful) {\n\t request.cleanup();\n\t }\n\t };\n\t for (var i = 0; i < callbacks.length; i++) {\n\t callbacks[i](error, successCallback);\n\t }\n\t }\n\t });\n\t request.send(receiver);\n\t }\n\t }\n\t getRoot(options) {\n\t var cdn;\n\t var protocol = runtime.getDocument().location.protocol;\n\t if ((options && options.useTLS) || protocol === 'https:') {\n\t cdn = this.options.cdn_https;\n\t }\n\t else {\n\t cdn = this.options.cdn_http;\n\t }\n\t return cdn.replace(/\\/*$/, '') + '/' + this.options.version;\n\t }\n\t getPath(name, options) {\n\t return this.getRoot(options) + '/' + name + this.options.suffix + '.js';\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/dom/dependencies.ts\n\n\n\n\tvar DependenciesReceivers = new ScriptReceiverFactory('_pusher_dependencies', 'Pusher.DependenciesReceivers');\n\tvar Dependencies = new dependency_loader_DependencyLoader({\n\t cdn_http: defaults.cdn_http,\n\t cdn_https: defaults.cdn_https,\n\t version: defaults.VERSION,\n\t suffix: defaults.dependency_suffix,\n\t receivers: DependenciesReceivers\n\t});\n\n\t// CONCATENATED MODULE: ./src/core/utils/url_store.ts\n\tconst urlStore = {\n\t baseUrl: 'https://pusher.com',\n\t urls: {\n\t authenticationEndpoint: {\n\t path: '/docs/channels/server_api/authenticating_users'\n\t },\n\t authorizationEndpoint: {\n\t path: '/docs/channels/server_api/authorizing-users/'\n\t },\n\t javascriptQuickStart: {\n\t path: '/docs/javascript_quick_start'\n\t },\n\t triggeringClientEvents: {\n\t path: '/docs/client_api_guide/client_events#trigger-events'\n\t },\n\t encryptedChannelSupport: {\n\t fullUrl: 'https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support'\n\t }\n\t }\n\t};\n\tconst buildLogSuffix = function (key) {\n\t const urlPrefix = 'See:';\n\t const urlObj = urlStore.urls[key];\n\t if (!urlObj)\n\t return '';\n\t let url;\n\t if (urlObj.fullUrl) {\n\t url = urlObj.fullUrl;\n\t }\n\t else if (urlObj.path) {\n\t url = urlStore.baseUrl + urlObj.path;\n\t }\n\t if (!url)\n\t return '';\n\t return `${urlPrefix} ${url}`;\n\t};\n\t/* harmony default export */ var url_store = ({ buildLogSuffix });\n\n\t// CONCATENATED MODULE: ./src/core/auth/options.ts\n\tvar AuthRequestType;\n\t(function (AuthRequestType) {\n\t AuthRequestType[\"UserAuthentication\"] = \"user-authentication\";\n\t AuthRequestType[\"ChannelAuthorization\"] = \"channel-authorization\";\n\t})(AuthRequestType || (AuthRequestType = {}));\n\n\t// CONCATENATED MODULE: ./src/core/errors.ts\n\tclass BadEventName extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass BadChannelName extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass RequestTimedOut extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass TransportPriorityTooLow extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass TransportClosed extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass UnsupportedFeature extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass UnsupportedTransport extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass UnsupportedStrategy extends Error {\n\t constructor(msg) {\n\t super(msg);\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\tclass HTTPAuthError extends Error {\n\t constructor(status, msg) {\n\t super(msg);\n\t this.status = status;\n\t Object.setPrototypeOf(this, new.target.prototype);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/isomorphic/auth/xhr_auth.ts\n\n\n\n\n\tconst ajax = function (context, query, authOptions, authRequestType, callback) {\n\t const xhr = runtime.createXHR();\n\t xhr.open('POST', authOptions.endpoint, true);\n\t xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');\n\t for (var headerName in authOptions.headers) {\n\t xhr.setRequestHeader(headerName, authOptions.headers[headerName]);\n\t }\n\t if (authOptions.headersProvider != null) {\n\t let dynamicHeaders = authOptions.headersProvider();\n\t for (var headerName in dynamicHeaders) {\n\t xhr.setRequestHeader(headerName, dynamicHeaders[headerName]);\n\t }\n\t }\n\t xhr.onreadystatechange = function () {\n\t if (xhr.readyState === 4) {\n\t if (xhr.status === 200) {\n\t let data;\n\t let parsed = false;\n\t try {\n\t data = JSON.parse(xhr.responseText);\n\t parsed = true;\n\t }\n\t catch (e) {\n\t callback(new HTTPAuthError(200, `JSON returned from ${authRequestType.toString()} endpoint was invalid, yet status code was 200. Data was: ${xhr.responseText}`), null);\n\t }\n\t if (parsed) {\n\t callback(null, data);\n\t }\n\t }\n\t else {\n\t let suffix = '';\n\t switch (authRequestType) {\n\t case AuthRequestType.UserAuthentication:\n\t suffix = url_store.buildLogSuffix('authenticationEndpoint');\n\t break;\n\t case AuthRequestType.ChannelAuthorization:\n\t suffix = `Clients must be authorized to join private or presence channels. ${url_store.buildLogSuffix('authorizationEndpoint')}`;\n\t break;\n\t }\n\t callback(new HTTPAuthError(xhr.status, `Unable to retrieve auth string from ${authRequestType.toString()} endpoint - ` +\n\t `received status: ${xhr.status} from ${authOptions.endpoint}. ${suffix}`), null);\n\t }\n\t }\n\t };\n\t xhr.send(query);\n\t return xhr;\n\t};\n\t/* harmony default export */ var xhr_auth = (ajax);\n\n\t// CONCATENATED MODULE: ./src/core/base64.ts\n\tfunction encode(s) {\n\t return btoa(utob(s));\n\t}\n\tvar fromCharCode = String.fromCharCode;\n\tvar b64chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\tvar cb_utob = function (c) {\n\t var cc = c.charCodeAt(0);\n\t return cc < 0x80\n\t ? c\n\t : cc < 0x800\n\t ? fromCharCode(0xc0 | (cc >>> 6)) + fromCharCode(0x80 | (cc & 0x3f))\n\t : fromCharCode(0xe0 | ((cc >>> 12) & 0x0f)) +\n\t fromCharCode(0x80 | ((cc >>> 6) & 0x3f)) +\n\t fromCharCode(0x80 | (cc & 0x3f));\n\t};\n\tvar utob = function (u) {\n\t return u.replace(/[^\\x00-\\x7F]/g, cb_utob);\n\t};\n\tvar cb_encode = function (ccc) {\n\t var padlen = [0, 2, 1][ccc.length % 3];\n\t var ord = (ccc.charCodeAt(0) << 16) |\n\t ((ccc.length > 1 ? ccc.charCodeAt(1) : 0) << 8) |\n\t (ccc.length > 2 ? ccc.charCodeAt(2) : 0);\n\t var chars = [\n\t b64chars.charAt(ord >>> 18),\n\t b64chars.charAt((ord >>> 12) & 63),\n\t padlen >= 2 ? '=' : b64chars.charAt((ord >>> 6) & 63),\n\t padlen >= 1 ? '=' : b64chars.charAt(ord & 63)\n\t ];\n\t return chars.join('');\n\t};\n\tvar btoa = window.btoa ||\n\t function (b) {\n\t return b.replace(/[\\s\\S]{1,3}/g, cb_encode);\n\t };\n\n\t// CONCATENATED MODULE: ./src/core/utils/timers/abstract_timer.ts\n\tclass Timer {\n\t constructor(set, clear, delay, callback) {\n\t this.clear = clear;\n\t this.timer = set(() => {\n\t if (this.timer) {\n\t this.timer = callback(this.timer);\n\t }\n\t }, delay);\n\t }\n\t isRunning() {\n\t return this.timer !== null;\n\t }\n\t ensureAborted() {\n\t if (this.timer) {\n\t this.clear(this.timer);\n\t this.timer = null;\n\t }\n\t }\n\t}\n\t/* harmony default export */ var abstract_timer = (Timer);\n\n\t// CONCATENATED MODULE: ./src/core/utils/timers/index.ts\n\n\tfunction timers_clearTimeout(timer) {\n\t window.clearTimeout(timer);\n\t}\n\tfunction timers_clearInterval(timer) {\n\t window.clearInterval(timer);\n\t}\n\tclass timers_OneOffTimer extends abstract_timer {\n\t constructor(delay, callback) {\n\t super(setTimeout, timers_clearTimeout, delay, function (timer) {\n\t callback();\n\t return null;\n\t });\n\t }\n\t}\n\tclass timers_PeriodicTimer extends abstract_timer {\n\t constructor(delay, callback) {\n\t super(setInterval, timers_clearInterval, delay, function (timer) {\n\t callback();\n\t return timer;\n\t });\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/util.ts\n\n\tvar Util = {\n\t now() {\n\t if (Date.now) {\n\t return Date.now();\n\t }\n\t else {\n\t return new Date().valueOf();\n\t }\n\t },\n\t defer(callback) {\n\t return new timers_OneOffTimer(0, callback);\n\t },\n\t method(name, ...args) {\n\t var boundArguments = Array.prototype.slice.call(arguments, 1);\n\t return function (object) {\n\t return object[name].apply(object, boundArguments.concat(arguments));\n\t };\n\t }\n\t};\n\t/* harmony default export */ var util = (Util);\n\n\t// CONCATENATED MODULE: ./src/core/utils/collections.ts\n\n\n\tfunction extend(target, ...sources) {\n\t for (var i = 0; i < sources.length; i++) {\n\t var extensions = sources[i];\n\t for (var property in extensions) {\n\t if (extensions[property] &&\n\t extensions[property].constructor &&\n\t extensions[property].constructor === Object) {\n\t target[property] = extend(target[property] || {}, extensions[property]);\n\t }\n\t else {\n\t target[property] = extensions[property];\n\t }\n\t }\n\t }\n\t return target;\n\t}\n\tfunction stringify() {\n\t var m = ['Pusher'];\n\t for (var i = 0; i < arguments.length; i++) {\n\t if (typeof arguments[i] === 'string') {\n\t m.push(arguments[i]);\n\t }\n\t else {\n\t m.push(safeJSONStringify(arguments[i]));\n\t }\n\t }\n\t return m.join(' : ');\n\t}\n\tfunction arrayIndexOf(array, item) {\n\t var nativeIndexOf = Array.prototype.indexOf;\n\t if (array === null) {\n\t return -1;\n\t }\n\t if (nativeIndexOf && array.indexOf === nativeIndexOf) {\n\t return array.indexOf(item);\n\t }\n\t for (var i = 0, l = array.length; i < l; i++) {\n\t if (array[i] === item) {\n\t return i;\n\t }\n\t }\n\t return -1;\n\t}\n\tfunction objectApply(object, f) {\n\t for (var key in object) {\n\t if (Object.prototype.hasOwnProperty.call(object, key)) {\n\t f(object[key], key, object);\n\t }\n\t }\n\t}\n\tfunction keys(object) {\n\t var keys = [];\n\t objectApply(object, function (_, key) {\n\t keys.push(key);\n\t });\n\t return keys;\n\t}\n\tfunction values(object) {\n\t var values = [];\n\t objectApply(object, function (value) {\n\t values.push(value);\n\t });\n\t return values;\n\t}\n\tfunction apply(array, f, context) {\n\t for (var i = 0; i < array.length; i++) {\n\t f.call(context || window, array[i], i, array);\n\t }\n\t}\n\tfunction map(array, f) {\n\t var result = [];\n\t for (var i = 0; i < array.length; i++) {\n\t result.push(f(array[i], i, array, result));\n\t }\n\t return result;\n\t}\n\tfunction mapObject(object, f) {\n\t var result = {};\n\t objectApply(object, function (value, key) {\n\t result[key] = f(value);\n\t });\n\t return result;\n\t}\n\tfunction filter(array, test) {\n\t test =\n\t test ||\n\t function (value) {\n\t return !!value;\n\t };\n\t var result = [];\n\t for (var i = 0; i < array.length; i++) {\n\t if (test(array[i], i, array, result)) {\n\t result.push(array[i]);\n\t }\n\t }\n\t return result;\n\t}\n\tfunction filterObject(object, test) {\n\t var result = {};\n\t objectApply(object, function (value, key) {\n\t if ((test && test(value, key, object, result)) || Boolean(value)) {\n\t result[key] = value;\n\t }\n\t });\n\t return result;\n\t}\n\tfunction flatten(object) {\n\t var result = [];\n\t objectApply(object, function (value, key) {\n\t result.push([key, value]);\n\t });\n\t return result;\n\t}\n\tfunction any(array, test) {\n\t for (var i = 0; i < array.length; i++) {\n\t if (test(array[i], i, array)) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t}\n\tfunction collections_all(array, test) {\n\t for (var i = 0; i < array.length; i++) {\n\t if (!test(array[i], i, array)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t}\n\tfunction encodeParamsObject(data) {\n\t return mapObject(data, function (value) {\n\t if (typeof value === 'object') {\n\t value = safeJSONStringify(value);\n\t }\n\t return encodeURIComponent(encode(value.toString()));\n\t });\n\t}\n\tfunction buildQueryString(data) {\n\t var params = filterObject(data, function (value) {\n\t return value !== undefined;\n\t });\n\t var query = map(flatten(encodeParamsObject(params)), util.method('join', '=')).join('&');\n\t return query;\n\t}\n\tfunction decycleObject(object) {\n\t var objects = [], paths = [];\n\t return (function derez(value, path) {\n\t var i, name, nu;\n\t switch (typeof value) {\n\t case 'object':\n\t if (!value) {\n\t return null;\n\t }\n\t for (i = 0; i < objects.length; i += 1) {\n\t if (objects[i] === value) {\n\t return { $ref: paths[i] };\n\t }\n\t }\n\t objects.push(value);\n\t paths.push(path);\n\t if (Object.prototype.toString.apply(value) === '[object Array]') {\n\t nu = [];\n\t for (i = 0; i < value.length; i += 1) {\n\t nu[i] = derez(value[i], path + '[' + i + ']');\n\t }\n\t }\n\t else {\n\t nu = {};\n\t for (name in value) {\n\t if (Object.prototype.hasOwnProperty.call(value, name)) {\n\t nu[name] = derez(value[name], path + '[' + JSON.stringify(name) + ']');\n\t }\n\t }\n\t }\n\t return nu;\n\t case 'number':\n\t case 'string':\n\t case 'boolean':\n\t return value;\n\t }\n\t })(object, '$');\n\t}\n\tfunction safeJSONStringify(source) {\n\t try {\n\t return JSON.stringify(source);\n\t }\n\t catch (e) {\n\t return JSON.stringify(decycleObject(source));\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/logger.ts\n\n\n\tclass logger_Logger {\n\t constructor() {\n\t this.globalLog = (message) => {\n\t if (window.console && window.console.log) {\n\t window.console.log(message);\n\t }\n\t };\n\t }\n\t debug(...args) {\n\t this.log(this.globalLog, args);\n\t }\n\t warn(...args) {\n\t this.log(this.globalLogWarn, args);\n\t }\n\t error(...args) {\n\t this.log(this.globalLogError, args);\n\t }\n\t globalLogWarn(message) {\n\t if (window.console && window.console.warn) {\n\t window.console.warn(message);\n\t }\n\t else {\n\t this.globalLog(message);\n\t }\n\t }\n\t globalLogError(message) {\n\t if (window.console && window.console.error) {\n\t window.console.error(message);\n\t }\n\t else {\n\t this.globalLogWarn(message);\n\t }\n\t }\n\t log(defaultLoggingFunction, ...args) {\n\t var message = stringify.apply(this, arguments);\n\t if (core_pusher.log) {\n\t core_pusher.log(message);\n\t }\n\t else if (core_pusher.logToConsole) {\n\t const log = defaultLoggingFunction.bind(this);\n\t log(message);\n\t }\n\t }\n\t}\n\t/* harmony default export */ var logger = (new logger_Logger());\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/auth/jsonp_auth.ts\n\n\tvar jsonp = function (context, query, authOptions, authRequestType, callback) {\n\t if (authOptions.headers !== undefined ||\n\t authOptions.headersProvider != null) {\n\t logger.warn(`To send headers with the ${authRequestType.toString()} request, you must use AJAX, rather than JSONP.`);\n\t }\n\t var callbackName = context.nextAuthCallbackID.toString();\n\t context.nextAuthCallbackID++;\n\t var document = context.getDocument();\n\t var script = document.createElement('script');\n\t context.auth_callbacks[callbackName] = function (data) {\n\t callback(null, data);\n\t };\n\t var callback_name = \"Pusher.auth_callbacks['\" + callbackName + \"']\";\n\t script.src =\n\t authOptions.endpoint +\n\t '?callback=' +\n\t encodeURIComponent(callback_name) +\n\t '&' +\n\t query;\n\t var head = document.getElementsByTagName('head')[0] || document.documentElement;\n\t head.insertBefore(script, head.firstChild);\n\t};\n\t/* harmony default export */ var jsonp_auth = (jsonp);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/dom/script_request.ts\n\tclass ScriptRequest {\n\t constructor(src) {\n\t this.src = src;\n\t }\n\t send(receiver) {\n\t var self = this;\n\t var errorString = 'Error loading ' + self.src;\n\t self.script = document.createElement('script');\n\t self.script.id = receiver.id;\n\t self.script.src = self.src;\n\t self.script.type = 'text/javascript';\n\t self.script.charset = 'UTF-8';\n\t if (self.script.addEventListener) {\n\t self.script.onerror = function () {\n\t receiver.callback(errorString);\n\t };\n\t self.script.onload = function () {\n\t receiver.callback(null);\n\t };\n\t }\n\t else {\n\t self.script.onreadystatechange = function () {\n\t if (self.script.readyState === 'loaded' ||\n\t self.script.readyState === 'complete') {\n\t receiver.callback(null);\n\t }\n\t };\n\t }\n\t if (self.script.async === undefined &&\n\t document.attachEvent &&\n\t /opera/i.test(navigator.userAgent)) {\n\t self.errorScript = document.createElement('script');\n\t self.errorScript.id = receiver.id + '_error';\n\t self.errorScript.text = receiver.name + \"('\" + errorString + \"');\";\n\t self.script.async = self.errorScript.async = false;\n\t }\n\t else {\n\t self.script.async = true;\n\t }\n\t var head = document.getElementsByTagName('head')[0];\n\t head.insertBefore(self.script, head.firstChild);\n\t if (self.errorScript) {\n\t head.insertBefore(self.errorScript, self.script.nextSibling);\n\t }\n\t }\n\t cleanup() {\n\t if (this.script) {\n\t this.script.onload = this.script.onerror = null;\n\t this.script.onreadystatechange = null;\n\t }\n\t if (this.script && this.script.parentNode) {\n\t this.script.parentNode.removeChild(this.script);\n\t }\n\t if (this.errorScript && this.errorScript.parentNode) {\n\t this.errorScript.parentNode.removeChild(this.errorScript);\n\t }\n\t this.script = null;\n\t this.errorScript = null;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/dom/jsonp_request.ts\n\n\n\tclass jsonp_request_JSONPRequest {\n\t constructor(url, data) {\n\t this.url = url;\n\t this.data = data;\n\t }\n\t send(receiver) {\n\t if (this.request) {\n\t return;\n\t }\n\t var query = buildQueryString(this.data);\n\t var url = this.url + '/' + receiver.number + '?' + query;\n\t this.request = runtime.createScriptRequest(url);\n\t this.request.send(receiver);\n\t }\n\t cleanup() {\n\t if (this.request) {\n\t this.request.cleanup();\n\t }\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/timeline/jsonp_timeline.ts\n\n\n\tvar getAgent = function (sender, useTLS) {\n\t return function (data, callback) {\n\t var scheme = 'http' + (useTLS ? 's' : '') + '://';\n\t var url = scheme + (sender.host || sender.options.host) + sender.options.path;\n\t var request = runtime.createJSONPRequest(url, data);\n\t var receiver = runtime.ScriptReceivers.create(function (error, result) {\n\t ScriptReceivers.remove(receiver);\n\t request.cleanup();\n\t if (result && result.host) {\n\t sender.host = result.host;\n\t }\n\t if (callback) {\n\t callback(error, result);\n\t }\n\t });\n\t request.send(receiver);\n\t };\n\t};\n\tvar jsonp_timeline_jsonp = {\n\t name: 'jsonp',\n\t getAgent\n\t};\n\t/* harmony default export */ var jsonp_timeline = (jsonp_timeline_jsonp);\n\n\t// CONCATENATED MODULE: ./src/core/transports/url_schemes.ts\n\n\tfunction getGenericURL(baseScheme, params, path) {\n\t var scheme = baseScheme + (params.useTLS ? 's' : '');\n\t var host = params.useTLS ? params.hostTLS : params.hostNonTLS;\n\t return scheme + '://' + host + path;\n\t}\n\tfunction getGenericPath(key, queryString) {\n\t var path = '/app/' + key;\n\t var query = '?protocol=' +\n\t defaults.PROTOCOL +\n\t '&client=js' +\n\t '&version=' +\n\t defaults.VERSION +\n\t (queryString ? '&' + queryString : '');\n\t return path + query;\n\t}\n\tvar ws = {\n\t getInitial: function (key, params) {\n\t var path = (params.httpPath || '') + getGenericPath(key, 'flash=false');\n\t return getGenericURL('ws', params, path);\n\t }\n\t};\n\tvar http = {\n\t getInitial: function (key, params) {\n\t var path = (params.httpPath || '/pusher') + getGenericPath(key);\n\t return getGenericURL('http', params, path);\n\t }\n\t};\n\tvar sockjs = {\n\t getInitial: function (key, params) {\n\t return getGenericURL('http', params, params.httpPath || '/pusher');\n\t },\n\t getPath: function (key, params) {\n\t return getGenericPath(key);\n\t }\n\t};\n\n\t// CONCATENATED MODULE: ./src/core/events/callback_registry.ts\n\n\tclass callback_registry_CallbackRegistry {\n\t constructor() {\n\t this._callbacks = {};\n\t }\n\t get(name) {\n\t return this._callbacks[prefix(name)];\n\t }\n\t add(name, callback, context) {\n\t var prefixedEventName = prefix(name);\n\t this._callbacks[prefixedEventName] =\n\t this._callbacks[prefixedEventName] || [];\n\t this._callbacks[prefixedEventName].push({\n\t fn: callback,\n\t context: context\n\t });\n\t }\n\t remove(name, callback, context) {\n\t if (!name && !callback && !context) {\n\t this._callbacks = {};\n\t return;\n\t }\n\t var names = name ? [prefix(name)] : keys(this._callbacks);\n\t if (callback || context) {\n\t this.removeCallback(names, callback, context);\n\t }\n\t else {\n\t this.removeAllCallbacks(names);\n\t }\n\t }\n\t removeCallback(names, callback, context) {\n\t apply(names, function (name) {\n\t this._callbacks[name] = filter(this._callbacks[name] || [], function (binding) {\n\t return ((callback && callback !== binding.fn) ||\n\t (context && context !== binding.context));\n\t });\n\t if (this._callbacks[name].length === 0) {\n\t delete this._callbacks[name];\n\t }\n\t }, this);\n\t }\n\t removeAllCallbacks(names) {\n\t apply(names, function (name) {\n\t delete this._callbacks[name];\n\t }, this);\n\t }\n\t}\n\tfunction prefix(name) {\n\t return '_' + name;\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/events/dispatcher.ts\n\n\n\tclass dispatcher_Dispatcher {\n\t constructor(failThrough) {\n\t this.callbacks = new callback_registry_CallbackRegistry();\n\t this.global_callbacks = [];\n\t this.failThrough = failThrough;\n\t }\n\t bind(eventName, callback, context) {\n\t this.callbacks.add(eventName, callback, context);\n\t return this;\n\t }\n\t bind_global(callback) {\n\t this.global_callbacks.push(callback);\n\t return this;\n\t }\n\t unbind(eventName, callback, context) {\n\t this.callbacks.remove(eventName, callback, context);\n\t return this;\n\t }\n\t unbind_global(callback) {\n\t if (!callback) {\n\t this.global_callbacks = [];\n\t return this;\n\t }\n\t this.global_callbacks = filter(this.global_callbacks || [], c => c !== callback);\n\t return this;\n\t }\n\t unbind_all() {\n\t this.unbind();\n\t this.unbind_global();\n\t return this;\n\t }\n\t emit(eventName, data, metadata) {\n\t for (var i = 0; i < this.global_callbacks.length; i++) {\n\t this.global_callbacks[i](eventName, data);\n\t }\n\t var callbacks = this.callbacks.get(eventName);\n\t var args = [];\n\t if (metadata) {\n\t args.push(data, metadata);\n\t }\n\t else if (data) {\n\t args.push(data);\n\t }\n\t if (callbacks && callbacks.length > 0) {\n\t for (var i = 0; i < callbacks.length; i++) {\n\t callbacks[i].fn.apply(callbacks[i].context || window, args);\n\t }\n\t }\n\t else if (this.failThrough) {\n\t this.failThrough(eventName, data);\n\t }\n\t return this;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/transports/transport_connection.ts\n\n\n\n\n\n\tclass transport_connection_TransportConnection extends dispatcher_Dispatcher {\n\t constructor(hooks, name, priority, key, options) {\n\t super();\n\t this.initialize = runtime.transportConnectionInitializer;\n\t this.hooks = hooks;\n\t this.name = name;\n\t this.priority = priority;\n\t this.key = key;\n\t this.options = options;\n\t this.state = 'new';\n\t this.timeline = options.timeline;\n\t this.activityTimeout = options.activityTimeout;\n\t this.id = this.timeline.generateUniqueID();\n\t }\n\t handlesActivityChecks() {\n\t return Boolean(this.hooks.handlesActivityChecks);\n\t }\n\t supportsPing() {\n\t return Boolean(this.hooks.supportsPing);\n\t }\n\t connect() {\n\t if (this.socket || this.state !== 'initialized') {\n\t return false;\n\t }\n\t var url = this.hooks.urls.getInitial(this.key, this.options);\n\t try {\n\t this.socket = this.hooks.getSocket(url, this.options);\n\t }\n\t catch (e) {\n\t util.defer(() => {\n\t this.onError(e);\n\t this.changeState('closed');\n\t });\n\t return false;\n\t }\n\t this.bindListeners();\n\t logger.debug('Connecting', { transport: this.name, url });\n\t this.changeState('connecting');\n\t return true;\n\t }\n\t close() {\n\t if (this.socket) {\n\t this.socket.close();\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t }\n\t send(data) {\n\t if (this.state === 'open') {\n\t util.defer(() => {\n\t if (this.socket) {\n\t this.socket.send(data);\n\t }\n\t });\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t }\n\t ping() {\n\t if (this.state === 'open' && this.supportsPing()) {\n\t this.socket.ping();\n\t }\n\t }\n\t onOpen() {\n\t if (this.hooks.beforeOpen) {\n\t this.hooks.beforeOpen(this.socket, this.hooks.urls.getPath(this.key, this.options));\n\t }\n\t this.changeState('open');\n\t this.socket.onopen = undefined;\n\t }\n\t onError(error) {\n\t this.emit('error', { type: 'WebSocketError', error: error });\n\t this.timeline.error(this.buildTimelineMessage({ error: error.toString() }));\n\t }\n\t onClose(closeEvent) {\n\t if (closeEvent) {\n\t this.changeState('closed', {\n\t code: closeEvent.code,\n\t reason: closeEvent.reason,\n\t wasClean: closeEvent.wasClean\n\t });\n\t }\n\t else {\n\t this.changeState('closed');\n\t }\n\t this.unbindListeners();\n\t this.socket = undefined;\n\t }\n\t onMessage(message) {\n\t this.emit('message', message);\n\t }\n\t onActivity() {\n\t this.emit('activity');\n\t }\n\t bindListeners() {\n\t this.socket.onopen = () => {\n\t this.onOpen();\n\t };\n\t this.socket.onerror = error => {\n\t this.onError(error);\n\t };\n\t this.socket.onclose = closeEvent => {\n\t this.onClose(closeEvent);\n\t };\n\t this.socket.onmessage = message => {\n\t this.onMessage(message);\n\t };\n\t if (this.supportsPing()) {\n\t this.socket.onactivity = () => {\n\t this.onActivity();\n\t };\n\t }\n\t }\n\t unbindListeners() {\n\t if (this.socket) {\n\t this.socket.onopen = undefined;\n\t this.socket.onerror = undefined;\n\t this.socket.onclose = undefined;\n\t this.socket.onmessage = undefined;\n\t if (this.supportsPing()) {\n\t this.socket.onactivity = undefined;\n\t }\n\t }\n\t }\n\t changeState(state, params) {\n\t this.state = state;\n\t this.timeline.info(this.buildTimelineMessage({\n\t state: state,\n\t params: params\n\t }));\n\t this.emit(state, params);\n\t }\n\t buildTimelineMessage(message) {\n\t return extend({ cid: this.id }, message);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/transports/transport.ts\n\n\tclass transport_Transport {\n\t constructor(hooks) {\n\t this.hooks = hooks;\n\t }\n\t isSupported(environment) {\n\t return this.hooks.isSupported(environment);\n\t }\n\t createConnection(name, priority, key, options) {\n\t return new transport_connection_TransportConnection(this.hooks, name, priority, key, options);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/isomorphic/transports/transports.ts\n\n\n\n\n\tvar WSTransport = new transport_Transport({\n\t urls: ws,\n\t handlesActivityChecks: false,\n\t supportsPing: false,\n\t isInitialized: function () {\n\t return Boolean(runtime.getWebSocketAPI());\n\t },\n\t isSupported: function () {\n\t return Boolean(runtime.getWebSocketAPI());\n\t },\n\t getSocket: function (url) {\n\t return runtime.createWebSocket(url);\n\t }\n\t});\n\tvar httpConfiguration = {\n\t urls: http,\n\t handlesActivityChecks: false,\n\t supportsPing: true,\n\t isInitialized: function () {\n\t return true;\n\t }\n\t};\n\tvar streamingConfiguration = extend({\n\t getSocket: function (url) {\n\t return runtime.HTTPFactory.createStreamingSocket(url);\n\t }\n\t}, httpConfiguration);\n\tvar pollingConfiguration = extend({\n\t getSocket: function (url) {\n\t return runtime.HTTPFactory.createPollingSocket(url);\n\t }\n\t}, httpConfiguration);\n\tvar xhrConfiguration = {\n\t isSupported: function () {\n\t return runtime.isXHRSupported();\n\t }\n\t};\n\tvar XHRStreamingTransport = new transport_Transport((extend({}, streamingConfiguration, xhrConfiguration)));\n\tvar XHRPollingTransport = new transport_Transport(extend({}, pollingConfiguration, xhrConfiguration));\n\tvar Transports = {\n\t ws: WSTransport,\n\t xhr_streaming: XHRStreamingTransport,\n\t xhr_polling: XHRPollingTransport\n\t};\n\t/* harmony default export */ var transports = (Transports);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/transports/transports.ts\n\n\n\n\n\n\n\tvar SockJSTransport = new transport_Transport({\n\t file: 'sockjs',\n\t urls: sockjs,\n\t handlesActivityChecks: true,\n\t supportsPing: false,\n\t isSupported: function () {\n\t return true;\n\t },\n\t isInitialized: function () {\n\t return window.SockJS !== undefined;\n\t },\n\t getSocket: function (url, options) {\n\t return new window.SockJS(url, null, {\n\t js_path: Dependencies.getPath('sockjs', {\n\t useTLS: options.useTLS\n\t }),\n\t ignore_null_origin: options.ignoreNullOrigin\n\t });\n\t },\n\t beforeOpen: function (socket, path) {\n\t socket.send(JSON.stringify({\n\t path: path\n\t }));\n\t }\n\t});\n\tvar xdrConfiguration = {\n\t isSupported: function (environment) {\n\t var yes = runtime.isXDRSupported(environment.useTLS);\n\t return yes;\n\t }\n\t};\n\tvar XDRStreamingTransport = new transport_Transport((extend({}, streamingConfiguration, xdrConfiguration)));\n\tvar XDRPollingTransport = new transport_Transport(extend({}, pollingConfiguration, xdrConfiguration));\n\ttransports.xdr_streaming = XDRStreamingTransport;\n\ttransports.xdr_polling = XDRPollingTransport;\n\ttransports.sockjs = SockJSTransport;\n\t/* harmony default export */ var transports_transports = (transports);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/net_info.ts\n\n\tclass net_info_NetInfo extends dispatcher_Dispatcher {\n\t constructor() {\n\t super();\n\t var self = this;\n\t if (window.addEventListener !== undefined) {\n\t window.addEventListener('online', function () {\n\t self.emit('online');\n\t }, false);\n\t window.addEventListener('offline', function () {\n\t self.emit('offline');\n\t }, false);\n\t }\n\t }\n\t isOnline() {\n\t if (window.navigator.onLine === undefined) {\n\t return true;\n\t }\n\t else {\n\t return window.navigator.onLine;\n\t }\n\t }\n\t}\n\tvar net_info_Network = new net_info_NetInfo();\n\n\t// CONCATENATED MODULE: ./src/core/transports/assistant_to_the_transport_manager.ts\n\n\n\tclass assistant_to_the_transport_manager_AssistantToTheTransportManager {\n\t constructor(manager, transport, options) {\n\t this.manager = manager;\n\t this.transport = transport;\n\t this.minPingDelay = options.minPingDelay;\n\t this.maxPingDelay = options.maxPingDelay;\n\t this.pingDelay = undefined;\n\t }\n\t createConnection(name, priority, key, options) {\n\t options = extend({}, options, {\n\t activityTimeout: this.pingDelay\n\t });\n\t var connection = this.transport.createConnection(name, priority, key, options);\n\t var openTimestamp = null;\n\t var onOpen = function () {\n\t connection.unbind('open', onOpen);\n\t connection.bind('closed', onClosed);\n\t openTimestamp = util.now();\n\t };\n\t var onClosed = closeEvent => {\n\t connection.unbind('closed', onClosed);\n\t if (closeEvent.code === 1002 || closeEvent.code === 1003) {\n\t this.manager.reportDeath();\n\t }\n\t else if (!closeEvent.wasClean && openTimestamp) {\n\t var lifespan = util.now() - openTimestamp;\n\t if (lifespan < 2 * this.maxPingDelay) {\n\t this.manager.reportDeath();\n\t this.pingDelay = Math.max(lifespan / 2, this.minPingDelay);\n\t }\n\t }\n\t };\n\t connection.bind('open', onOpen);\n\t return connection;\n\t }\n\t isSupported(environment) {\n\t return this.manager.isAlive() && this.transport.isSupported(environment);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/connection/protocol/protocol.ts\n\tconst Protocol = {\n\t decodeMessage: function (messageEvent) {\n\t try {\n\t var messageData = JSON.parse(messageEvent.data);\n\t var pusherEventData = messageData.data;\n\t if (typeof pusherEventData === 'string') {\n\t try {\n\t pusherEventData = JSON.parse(messageData.data);\n\t }\n\t catch (e) { }\n\t }\n\t var pusherEvent = {\n\t event: messageData.event,\n\t channel: messageData.channel,\n\t data: pusherEventData\n\t };\n\t if (messageData.user_id) {\n\t pusherEvent.user_id = messageData.user_id;\n\t }\n\t return pusherEvent;\n\t }\n\t catch (e) {\n\t throw { type: 'MessageParseError', error: e, data: messageEvent.data };\n\t }\n\t },\n\t encodeMessage: function (event) {\n\t return JSON.stringify(event);\n\t },\n\t processHandshake: function (messageEvent) {\n\t var message = Protocol.decodeMessage(messageEvent);\n\t if (message.event === 'pusher:connection_established') {\n\t if (!message.data.activity_timeout) {\n\t throw 'No activity timeout specified in handshake';\n\t }\n\t return {\n\t action: 'connected',\n\t id: message.data.socket_id,\n\t activityTimeout: message.data.activity_timeout * 1000\n\t };\n\t }\n\t else if (message.event === 'pusher:error') {\n\t return {\n\t action: this.getCloseAction(message.data),\n\t error: this.getCloseError(message.data)\n\t };\n\t }\n\t else {\n\t throw 'Invalid handshake';\n\t }\n\t },\n\t getCloseAction: function (closeEvent) {\n\t if (closeEvent.code < 4000) {\n\t if (closeEvent.code >= 1002 && closeEvent.code <= 1004) {\n\t return 'backoff';\n\t }\n\t else {\n\t return null;\n\t }\n\t }\n\t else if (closeEvent.code === 4000) {\n\t return 'tls_only';\n\t }\n\t else if (closeEvent.code < 4100) {\n\t return 'refused';\n\t }\n\t else if (closeEvent.code < 4200) {\n\t return 'backoff';\n\t }\n\t else if (closeEvent.code < 4300) {\n\t return 'retry';\n\t }\n\t else {\n\t return 'refused';\n\t }\n\t },\n\t getCloseError: function (closeEvent) {\n\t if (closeEvent.code !== 1000 && closeEvent.code !== 1001) {\n\t return {\n\t type: 'PusherError',\n\t data: {\n\t code: closeEvent.code,\n\t message: closeEvent.reason || closeEvent.message\n\t }\n\t };\n\t }\n\t else {\n\t return null;\n\t }\n\t }\n\t};\n\t/* harmony default export */ var protocol_protocol = (Protocol);\n\n\t// CONCATENATED MODULE: ./src/core/connection/connection.ts\n\n\n\n\n\tclass connection_Connection extends dispatcher_Dispatcher {\n\t constructor(id, transport) {\n\t super();\n\t this.id = id;\n\t this.transport = transport;\n\t this.activityTimeout = transport.activityTimeout;\n\t this.bindListeners();\n\t }\n\t handlesActivityChecks() {\n\t return this.transport.handlesActivityChecks();\n\t }\n\t send(data) {\n\t return this.transport.send(data);\n\t }\n\t send_event(name, data, channel) {\n\t var event = { event: name, data: data };\n\t if (channel) {\n\t event.channel = channel;\n\t }\n\t logger.debug('Event sent', event);\n\t return this.send(protocol_protocol.encodeMessage(event));\n\t }\n\t ping() {\n\t if (this.transport.supportsPing()) {\n\t this.transport.ping();\n\t }\n\t else {\n\t this.send_event('pusher:ping', {});\n\t }\n\t }\n\t close() {\n\t this.transport.close();\n\t }\n\t bindListeners() {\n\t var listeners = {\n\t message: (messageEvent) => {\n\t var pusherEvent;\n\t try {\n\t pusherEvent = protocol_protocol.decodeMessage(messageEvent);\n\t }\n\t catch (e) {\n\t this.emit('error', {\n\t type: 'MessageParseError',\n\t error: e,\n\t data: messageEvent.data\n\t });\n\t }\n\t if (pusherEvent !== undefined) {\n\t logger.debug('Event recd', pusherEvent);\n\t switch (pusherEvent.event) {\n\t case 'pusher:error':\n\t this.emit('error', {\n\t type: 'PusherError',\n\t data: pusherEvent.data\n\t });\n\t break;\n\t case 'pusher:ping':\n\t this.emit('ping');\n\t break;\n\t case 'pusher:pong':\n\t this.emit('pong');\n\t break;\n\t }\n\t this.emit('message', pusherEvent);\n\t }\n\t },\n\t activity: () => {\n\t this.emit('activity');\n\t },\n\t error: error => {\n\t this.emit('error', error);\n\t },\n\t closed: closeEvent => {\n\t unbindListeners();\n\t if (closeEvent && closeEvent.code) {\n\t this.handleCloseEvent(closeEvent);\n\t }\n\t this.transport = null;\n\t this.emit('closed');\n\t }\n\t };\n\t var unbindListeners = () => {\n\t objectApply(listeners, (listener, event) => {\n\t this.transport.unbind(event, listener);\n\t });\n\t };\n\t objectApply(listeners, (listener, event) => {\n\t this.transport.bind(event, listener);\n\t });\n\t }\n\t handleCloseEvent(closeEvent) {\n\t var action = protocol_protocol.getCloseAction(closeEvent);\n\t var error = protocol_protocol.getCloseError(closeEvent);\n\t if (error) {\n\t this.emit('error', error);\n\t }\n\t if (action) {\n\t this.emit(action, { action: action, error: error });\n\t }\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/connection/handshake/index.ts\n\n\n\n\tclass handshake_Handshake {\n\t constructor(transport, callback) {\n\t this.transport = transport;\n\t this.callback = callback;\n\t this.bindListeners();\n\t }\n\t close() {\n\t this.unbindListeners();\n\t this.transport.close();\n\t }\n\t bindListeners() {\n\t this.onMessage = m => {\n\t this.unbindListeners();\n\t var result;\n\t try {\n\t result = protocol_protocol.processHandshake(m);\n\t }\n\t catch (e) {\n\t this.finish('error', { error: e });\n\t this.transport.close();\n\t return;\n\t }\n\t if (result.action === 'connected') {\n\t this.finish('connected', {\n\t connection: new connection_Connection(result.id, this.transport),\n\t activityTimeout: result.activityTimeout\n\t });\n\t }\n\t else {\n\t this.finish(result.action, { error: result.error });\n\t this.transport.close();\n\t }\n\t };\n\t this.onClosed = closeEvent => {\n\t this.unbindListeners();\n\t var action = protocol_protocol.getCloseAction(closeEvent) || 'backoff';\n\t var error = protocol_protocol.getCloseError(closeEvent);\n\t this.finish(action, { error: error });\n\t };\n\t this.transport.bind('message', this.onMessage);\n\t this.transport.bind('closed', this.onClosed);\n\t }\n\t unbindListeners() {\n\t this.transport.unbind('message', this.onMessage);\n\t this.transport.unbind('closed', this.onClosed);\n\t }\n\t finish(action, params) {\n\t this.callback(extend({ transport: this.transport, action: action }, params));\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/timeline/timeline_sender.ts\n\n\tclass timeline_sender_TimelineSender {\n\t constructor(timeline, options) {\n\t this.timeline = timeline;\n\t this.options = options || {};\n\t }\n\t send(useTLS, callback) {\n\t if (this.timeline.isEmpty()) {\n\t return;\n\t }\n\t this.timeline.send(runtime.TimelineTransport.getAgent(this, useTLS), callback);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/channels/channel.ts\n\n\n\n\n\n\tclass channel_Channel extends dispatcher_Dispatcher {\n\t constructor(name, pusher) {\n\t super(function (event, data) {\n\t logger.debug('No callbacks on ' + name + ' for ' + event);\n\t });\n\t this.name = name;\n\t this.pusher = pusher;\n\t this.subscribed = false;\n\t this.subscriptionPending = false;\n\t this.subscriptionCancelled = false;\n\t }\n\t authorize(socketId, callback) {\n\t return callback(null, { auth: '' });\n\t }\n\t trigger(event, data) {\n\t if (event.indexOf('client-') !== 0) {\n\t throw new BadEventName(\"Event '\" + event + \"' does not start with 'client-'\");\n\t }\n\t if (!this.subscribed) {\n\t var suffix = url_store.buildLogSuffix('triggeringClientEvents');\n\t logger.warn(`Client event triggered before channel 'subscription_succeeded' event . ${suffix}`);\n\t }\n\t return this.pusher.send_event(event, data, this.name);\n\t }\n\t disconnect() {\n\t this.subscribed = false;\n\t this.subscriptionPending = false;\n\t }\n\t handleEvent(event) {\n\t var eventName = event.event;\n\t var data = event.data;\n\t if (eventName === 'pusher_internal:subscription_succeeded') {\n\t this.handleSubscriptionSucceededEvent(event);\n\t }\n\t else if (eventName === 'pusher_internal:subscription_count') {\n\t this.handleSubscriptionCountEvent(event);\n\t }\n\t else if (eventName.indexOf('pusher_internal:') !== 0) {\n\t var metadata = {};\n\t this.emit(eventName, data, metadata);\n\t }\n\t }\n\t handleSubscriptionSucceededEvent(event) {\n\t this.subscriptionPending = false;\n\t this.subscribed = true;\n\t if (this.subscriptionCancelled) {\n\t this.pusher.unsubscribe(this.name);\n\t }\n\t else {\n\t this.emit('pusher:subscription_succeeded', event.data);\n\t }\n\t }\n\t handleSubscriptionCountEvent(event) {\n\t if (event.data.subscription_count) {\n\t this.subscriptionCount = event.data.subscription_count;\n\t }\n\t this.emit('pusher:subscription_count', event.data);\n\t }\n\t subscribe() {\n\t if (this.subscribed) {\n\t return;\n\t }\n\t this.subscriptionPending = true;\n\t this.subscriptionCancelled = false;\n\t this.authorize(this.pusher.connection.socket_id, (error, data) => {\n\t if (error) {\n\t this.subscriptionPending = false;\n\t logger.error(error.toString());\n\t this.emit('pusher:subscription_error', Object.assign({}, {\n\t type: 'AuthError',\n\t error: error.message\n\t }, error instanceof HTTPAuthError ? { status: error.status } : {}));\n\t }\n\t else {\n\t this.pusher.send_event('pusher:subscribe', {\n\t auth: data.auth,\n\t channel_data: data.channel_data,\n\t channel: this.name\n\t });\n\t }\n\t });\n\t }\n\t unsubscribe() {\n\t this.subscribed = false;\n\t this.pusher.send_event('pusher:unsubscribe', {\n\t channel: this.name\n\t });\n\t }\n\t cancelSubscription() {\n\t this.subscriptionCancelled = true;\n\t }\n\t reinstateSubscription() {\n\t this.subscriptionCancelled = false;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/channels/private_channel.ts\n\n\tclass private_channel_PrivateChannel extends channel_Channel {\n\t authorize(socketId, callback) {\n\t return this.pusher.config.channelAuthorizer({\n\t channelName: this.name,\n\t socketId: socketId\n\t }, callback);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/channels/members.ts\n\n\tclass members_Members {\n\t constructor() {\n\t this.reset();\n\t }\n\t get(id) {\n\t if (Object.prototype.hasOwnProperty.call(this.members, id)) {\n\t return {\n\t id: id,\n\t info: this.members[id]\n\t };\n\t }\n\t else {\n\t return null;\n\t }\n\t }\n\t each(callback) {\n\t objectApply(this.members, (member, id) => {\n\t callback(this.get(id));\n\t });\n\t }\n\t setMyID(id) {\n\t this.myID = id;\n\t }\n\t onSubscription(subscriptionData) {\n\t this.members = subscriptionData.presence.hash;\n\t this.count = subscriptionData.presence.count;\n\t this.me = this.get(this.myID);\n\t }\n\t addMember(memberData) {\n\t if (this.get(memberData.user_id) === null) {\n\t this.count++;\n\t }\n\t this.members[memberData.user_id] = memberData.user_info;\n\t return this.get(memberData.user_id);\n\t }\n\t removeMember(memberData) {\n\t var member = this.get(memberData.user_id);\n\t if (member) {\n\t delete this.members[memberData.user_id];\n\t this.count--;\n\t }\n\t return member;\n\t }\n\t reset() {\n\t this.members = {};\n\t this.count = 0;\n\t this.myID = null;\n\t this.me = null;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/channels/presence_channel.ts\n\tvar __awaiter = function (thisArg, _arguments, P, generator) {\n\t function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n\t return new (P || (P = Promise))(function (resolve, reject) {\n\t function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n\t function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n\t function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n\t step((generator = generator.apply(thisArg, _arguments || [])).next());\n\t });\n\t};\n\n\n\n\n\tclass presence_channel_PresenceChannel extends private_channel_PrivateChannel {\n\t constructor(name, pusher) {\n\t super(name, pusher);\n\t this.members = new members_Members();\n\t }\n\t authorize(socketId, callback) {\n\t super.authorize(socketId, (error, authData) => __awaiter(this, void 0, void 0, function* () {\n\t if (!error) {\n\t authData = authData;\n\t if (authData.channel_data != null) {\n\t var channelData = JSON.parse(authData.channel_data);\n\t this.members.setMyID(channelData.user_id);\n\t }\n\t else {\n\t yield this.pusher.user.signinDonePromise;\n\t if (this.pusher.user.user_data != null) {\n\t this.members.setMyID(this.pusher.user.user_data.id);\n\t }\n\t else {\n\t let suffix = url_store.buildLogSuffix('authorizationEndpoint');\n\t logger.error(`Invalid auth response for channel '${this.name}', ` +\n\t `expected 'channel_data' field. ${suffix}, ` +\n\t `or the user should be signed in.`);\n\t callback('Invalid auth response');\n\t return;\n\t }\n\t }\n\t }\n\t callback(error, authData);\n\t }));\n\t }\n\t handleEvent(event) {\n\t var eventName = event.event;\n\t if (eventName.indexOf('pusher_internal:') === 0) {\n\t this.handleInternalEvent(event);\n\t }\n\t else {\n\t var data = event.data;\n\t var metadata = {};\n\t if (event.user_id) {\n\t metadata.user_id = event.user_id;\n\t }\n\t this.emit(eventName, data, metadata);\n\t }\n\t }\n\t handleInternalEvent(event) {\n\t var eventName = event.event;\n\t var data = event.data;\n\t switch (eventName) {\n\t case 'pusher_internal:subscription_succeeded':\n\t this.handleSubscriptionSucceededEvent(event);\n\t break;\n\t case 'pusher_internal:subscription_count':\n\t this.handleSubscriptionCountEvent(event);\n\t break;\n\t case 'pusher_internal:member_added':\n\t var addedMember = this.members.addMember(data);\n\t this.emit('pusher:member_added', addedMember);\n\t break;\n\t case 'pusher_internal:member_removed':\n\t var removedMember = this.members.removeMember(data);\n\t if (removedMember) {\n\t this.emit('pusher:member_removed', removedMember);\n\t }\n\t break;\n\t }\n\t }\n\t handleSubscriptionSucceededEvent(event) {\n\t this.subscriptionPending = false;\n\t this.subscribed = true;\n\t if (this.subscriptionCancelled) {\n\t this.pusher.unsubscribe(this.name);\n\t }\n\t else {\n\t this.members.onSubscription(event.data);\n\t this.emit('pusher:subscription_succeeded', this.members);\n\t }\n\t }\n\t disconnect() {\n\t this.members.reset();\n\t super.disconnect();\n\t }\n\t}\n\n\t// EXTERNAL MODULE: ./node_modules/@stablelib/utf8/lib/utf8.js\n\tvar utf8 = __webpack_require__(1);\n\n\t// EXTERNAL MODULE: ./node_modules/@stablelib/base64/lib/base64.js\n\tvar base64 = __webpack_require__(0);\n\n\t// CONCATENATED MODULE: ./src/core/channels/encrypted_channel.ts\n\n\n\n\n\n\tclass encrypted_channel_EncryptedChannel extends private_channel_PrivateChannel {\n\t constructor(name, pusher, nacl) {\n\t super(name, pusher);\n\t this.key = null;\n\t this.nacl = nacl;\n\t }\n\t authorize(socketId, callback) {\n\t super.authorize(socketId, (error, authData) => {\n\t if (error) {\n\t callback(error, authData);\n\t return;\n\t }\n\t let sharedSecret = authData['shared_secret'];\n\t if (!sharedSecret) {\n\t callback(new Error(`No shared_secret key in auth payload for encrypted channel: ${this.name}`), null);\n\t return;\n\t }\n\t this.key = Object(base64[\"decode\"])(sharedSecret);\n\t delete authData['shared_secret'];\n\t callback(null, authData);\n\t });\n\t }\n\t trigger(event, data) {\n\t throw new UnsupportedFeature('Client events are not currently supported for encrypted channels');\n\t }\n\t handleEvent(event) {\n\t var eventName = event.event;\n\t var data = event.data;\n\t if (eventName.indexOf('pusher_internal:') === 0 ||\n\t eventName.indexOf('pusher:') === 0) {\n\t super.handleEvent(event);\n\t return;\n\t }\n\t this.handleEncryptedEvent(eventName, data);\n\t }\n\t handleEncryptedEvent(event, data) {\n\t if (!this.key) {\n\t logger.debug('Received encrypted event before key has been retrieved from the authEndpoint');\n\t return;\n\t }\n\t if (!data.ciphertext || !data.nonce) {\n\t logger.error('Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: ' +\n\t data);\n\t return;\n\t }\n\t let cipherText = Object(base64[\"decode\"])(data.ciphertext);\n\t if (cipherText.length < this.nacl.secretbox.overheadLength) {\n\t logger.error(`Expected encrypted event ciphertext length to be ${this.nacl.secretbox.overheadLength}, got: ${cipherText.length}`);\n\t return;\n\t }\n\t let nonce = Object(base64[\"decode\"])(data.nonce);\n\t if (nonce.length < this.nacl.secretbox.nonceLength) {\n\t logger.error(`Expected encrypted event nonce length to be ${this.nacl.secretbox.nonceLength}, got: ${nonce.length}`);\n\t return;\n\t }\n\t let bytes = this.nacl.secretbox.open(cipherText, nonce, this.key);\n\t if (bytes === null) {\n\t logger.debug('Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint...');\n\t this.authorize(this.pusher.connection.socket_id, (error, authData) => {\n\t if (error) {\n\t logger.error(`Failed to make a request to the authEndpoint: ${authData}. Unable to fetch new key, so dropping encrypted event`);\n\t return;\n\t }\n\t bytes = this.nacl.secretbox.open(cipherText, nonce, this.key);\n\t if (bytes === null) {\n\t logger.error(`Failed to decrypt event with new key. Dropping encrypted event`);\n\t return;\n\t }\n\t this.emit(event, this.getDataToEmit(bytes));\n\t return;\n\t });\n\t return;\n\t }\n\t this.emit(event, this.getDataToEmit(bytes));\n\t }\n\t getDataToEmit(bytes) {\n\t let raw = Object(utf8[\"decode\"])(bytes);\n\t try {\n\t return JSON.parse(raw);\n\t }\n\t catch (_a) {\n\t return raw;\n\t }\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/connection/connection_manager.ts\n\n\n\n\n\n\tclass connection_manager_ConnectionManager extends dispatcher_Dispatcher {\n\t constructor(key, options) {\n\t super();\n\t this.state = 'initialized';\n\t this.connection = null;\n\t this.key = key;\n\t this.options = options;\n\t this.timeline = this.options.timeline;\n\t this.usingTLS = this.options.useTLS;\n\t this.errorCallbacks = this.buildErrorCallbacks();\n\t this.connectionCallbacks = this.buildConnectionCallbacks(this.errorCallbacks);\n\t this.handshakeCallbacks = this.buildHandshakeCallbacks(this.errorCallbacks);\n\t var Network = runtime.getNetwork();\n\t Network.bind('online', () => {\n\t this.timeline.info({ netinfo: 'online' });\n\t if (this.state === 'connecting' || this.state === 'unavailable') {\n\t this.retryIn(0);\n\t }\n\t });\n\t Network.bind('offline', () => {\n\t this.timeline.info({ netinfo: 'offline' });\n\t if (this.connection) {\n\t this.sendActivityCheck();\n\t }\n\t });\n\t this.updateStrategy();\n\t }\n\t connect() {\n\t if (this.connection || this.runner) {\n\t return;\n\t }\n\t if (!this.strategy.isSupported()) {\n\t this.updateState('failed');\n\t return;\n\t }\n\t this.updateState('connecting');\n\t this.startConnecting();\n\t this.setUnavailableTimer();\n\t }\n\t send(data) {\n\t if (this.connection) {\n\t return this.connection.send(data);\n\t }\n\t else {\n\t return false;\n\t }\n\t }\n\t send_event(name, data, channel) {\n\t if (this.connection) {\n\t return this.connection.send_event(name, data, channel);\n\t }\n\t else {\n\t return false;\n\t }\n\t }\n\t disconnect() {\n\t this.disconnectInternally();\n\t this.updateState('disconnected');\n\t }\n\t isUsingTLS() {\n\t return this.usingTLS;\n\t }\n\t startConnecting() {\n\t var callback = (error, handshake) => {\n\t if (error) {\n\t this.runner = this.strategy.connect(0, callback);\n\t }\n\t else {\n\t if (handshake.action === 'error') {\n\t this.emit('error', {\n\t type: 'HandshakeError',\n\t error: handshake.error\n\t });\n\t this.timeline.error({ handshakeError: handshake.error });\n\t }\n\t else {\n\t this.abortConnecting();\n\t this.handshakeCallbacks[handshake.action](handshake);\n\t }\n\t }\n\t };\n\t this.runner = this.strategy.connect(0, callback);\n\t }\n\t abortConnecting() {\n\t if (this.runner) {\n\t this.runner.abort();\n\t this.runner = null;\n\t }\n\t }\n\t disconnectInternally() {\n\t this.abortConnecting();\n\t this.clearRetryTimer();\n\t this.clearUnavailableTimer();\n\t if (this.connection) {\n\t var connection = this.abandonConnection();\n\t connection.close();\n\t }\n\t }\n\t updateStrategy() {\n\t this.strategy = this.options.getStrategy({\n\t key: this.key,\n\t timeline: this.timeline,\n\t useTLS: this.usingTLS\n\t });\n\t }\n\t retryIn(delay) {\n\t this.timeline.info({ action: 'retry', delay: delay });\n\t if (delay > 0) {\n\t this.emit('connecting_in', Math.round(delay / 1000));\n\t }\n\t this.retryTimer = new timers_OneOffTimer(delay || 0, () => {\n\t this.disconnectInternally();\n\t this.connect();\n\t });\n\t }\n\t clearRetryTimer() {\n\t if (this.retryTimer) {\n\t this.retryTimer.ensureAborted();\n\t this.retryTimer = null;\n\t }\n\t }\n\t setUnavailableTimer() {\n\t this.unavailableTimer = new timers_OneOffTimer(this.options.unavailableTimeout, () => {\n\t this.updateState('unavailable');\n\t });\n\t }\n\t clearUnavailableTimer() {\n\t if (this.unavailableTimer) {\n\t this.unavailableTimer.ensureAborted();\n\t }\n\t }\n\t sendActivityCheck() {\n\t this.stopActivityCheck();\n\t this.connection.ping();\n\t this.activityTimer = new timers_OneOffTimer(this.options.pongTimeout, () => {\n\t this.timeline.error({ pong_timed_out: this.options.pongTimeout });\n\t this.retryIn(0);\n\t });\n\t }\n\t resetActivityCheck() {\n\t this.stopActivityCheck();\n\t if (this.connection && !this.connection.handlesActivityChecks()) {\n\t this.activityTimer = new timers_OneOffTimer(this.activityTimeout, () => {\n\t this.sendActivityCheck();\n\t });\n\t }\n\t }\n\t stopActivityCheck() {\n\t if (this.activityTimer) {\n\t this.activityTimer.ensureAborted();\n\t }\n\t }\n\t buildConnectionCallbacks(errorCallbacks) {\n\t return extend({}, errorCallbacks, {\n\t message: message => {\n\t this.resetActivityCheck();\n\t this.emit('message', message);\n\t },\n\t ping: () => {\n\t this.send_event('pusher:pong', {});\n\t },\n\t activity: () => {\n\t this.resetActivityCheck();\n\t },\n\t error: error => {\n\t this.emit('error', error);\n\t },\n\t closed: () => {\n\t this.abandonConnection();\n\t if (this.shouldRetry()) {\n\t this.retryIn(1000);\n\t }\n\t }\n\t });\n\t }\n\t buildHandshakeCallbacks(errorCallbacks) {\n\t return extend({}, errorCallbacks, {\n\t connected: (handshake) => {\n\t this.activityTimeout = Math.min(this.options.activityTimeout, handshake.activityTimeout, handshake.connection.activityTimeout || Infinity);\n\t this.clearUnavailableTimer();\n\t this.setConnection(handshake.connection);\n\t this.socket_id = this.connection.id;\n\t this.updateState('connected', { socket_id: this.socket_id });\n\t }\n\t });\n\t }\n\t buildErrorCallbacks() {\n\t let withErrorEmitted = callback => {\n\t return (result) => {\n\t if (result.error) {\n\t this.emit('error', { type: 'WebSocketError', error: result.error });\n\t }\n\t callback(result);\n\t };\n\t };\n\t return {\n\t tls_only: withErrorEmitted(() => {\n\t this.usingTLS = true;\n\t this.updateStrategy();\n\t this.retryIn(0);\n\t }),\n\t refused: withErrorEmitted(() => {\n\t this.disconnect();\n\t }),\n\t backoff: withErrorEmitted(() => {\n\t this.retryIn(1000);\n\t }),\n\t retry: withErrorEmitted(() => {\n\t this.retryIn(0);\n\t })\n\t };\n\t }\n\t setConnection(connection) {\n\t this.connection = connection;\n\t for (var event in this.connectionCallbacks) {\n\t this.connection.bind(event, this.connectionCallbacks[event]);\n\t }\n\t this.resetActivityCheck();\n\t }\n\t abandonConnection() {\n\t if (!this.connection) {\n\t return;\n\t }\n\t this.stopActivityCheck();\n\t for (var event in this.connectionCallbacks) {\n\t this.connection.unbind(event, this.connectionCallbacks[event]);\n\t }\n\t var connection = this.connection;\n\t this.connection = null;\n\t return connection;\n\t }\n\t updateState(newState, data) {\n\t var previousState = this.state;\n\t this.state = newState;\n\t if (previousState !== newState) {\n\t var newStateDescription = newState;\n\t if (newStateDescription === 'connected') {\n\t newStateDescription += ' with new socket ID ' + data.socket_id;\n\t }\n\t logger.debug('State changed', previousState + ' -> ' + newStateDescription);\n\t this.timeline.info({ state: newState, params: data });\n\t this.emit('state_change', { previous: previousState, current: newState });\n\t this.emit(newState, data);\n\t }\n\t }\n\t shouldRetry() {\n\t return this.state === 'connecting' || this.state === 'connected';\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/channels/channels.ts\n\n\n\n\n\tclass channels_Channels {\n\t constructor() {\n\t this.channels = {};\n\t }\n\t add(name, pusher) {\n\t if (!this.channels[name]) {\n\t this.channels[name] = createChannel(name, pusher);\n\t }\n\t return this.channels[name];\n\t }\n\t all() {\n\t return values(this.channels);\n\t }\n\t find(name) {\n\t return this.channels[name];\n\t }\n\t remove(name) {\n\t var channel = this.channels[name];\n\t delete this.channels[name];\n\t return channel;\n\t }\n\t disconnect() {\n\t objectApply(this.channels, function (channel) {\n\t channel.disconnect();\n\t });\n\t }\n\t}\n\tfunction createChannel(name, pusher) {\n\t if (name.indexOf('private-encrypted-') === 0) {\n\t if (pusher.config.nacl) {\n\t return factory.createEncryptedChannel(name, pusher, pusher.config.nacl);\n\t }\n\t let errMsg = 'Tried to subscribe to a private-encrypted- channel but no nacl implementation available';\n\t let suffix = url_store.buildLogSuffix('encryptedChannelSupport');\n\t throw new UnsupportedFeature(`${errMsg}. ${suffix}`);\n\t }\n\t else if (name.indexOf('private-') === 0) {\n\t return factory.createPrivateChannel(name, pusher);\n\t }\n\t else if (name.indexOf('presence-') === 0) {\n\t return factory.createPresenceChannel(name, pusher);\n\t }\n\t else if (name.indexOf('#') === 0) {\n\t throw new BadChannelName('Cannot create a channel with name \"' + name + '\".');\n\t }\n\t else {\n\t return factory.createChannel(name, pusher);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/utils/factory.ts\n\n\n\n\n\n\n\n\n\n\tvar Factory = {\n\t createChannels() {\n\t return new channels_Channels();\n\t },\n\t createConnectionManager(key, options) {\n\t return new connection_manager_ConnectionManager(key, options);\n\t },\n\t createChannel(name, pusher) {\n\t return new channel_Channel(name, pusher);\n\t },\n\t createPrivateChannel(name, pusher) {\n\t return new private_channel_PrivateChannel(name, pusher);\n\t },\n\t createPresenceChannel(name, pusher) {\n\t return new presence_channel_PresenceChannel(name, pusher);\n\t },\n\t createEncryptedChannel(name, pusher, nacl) {\n\t return new encrypted_channel_EncryptedChannel(name, pusher, nacl);\n\t },\n\t createTimelineSender(timeline, options) {\n\t return new timeline_sender_TimelineSender(timeline, options);\n\t },\n\t createHandshake(transport, callback) {\n\t return new handshake_Handshake(transport, callback);\n\t },\n\t createAssistantToTheTransportManager(manager, transport, options) {\n\t return new assistant_to_the_transport_manager_AssistantToTheTransportManager(manager, transport, options);\n\t }\n\t};\n\t/* harmony default export */ var factory = (Factory);\n\n\t// CONCATENATED MODULE: ./src/core/transports/transport_manager.ts\n\n\tclass transport_manager_TransportManager {\n\t constructor(options) {\n\t this.options = options || {};\n\t this.livesLeft = this.options.lives || Infinity;\n\t }\n\t getAssistant(transport) {\n\t return factory.createAssistantToTheTransportManager(this, transport, {\n\t minPingDelay: this.options.minPingDelay,\n\t maxPingDelay: this.options.maxPingDelay\n\t });\n\t }\n\t isAlive() {\n\t return this.livesLeft > 0;\n\t }\n\t reportDeath() {\n\t this.livesLeft -= 1;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/sequential_strategy.ts\n\n\n\n\tclass sequential_strategy_SequentialStrategy {\n\t constructor(strategies, options) {\n\t this.strategies = strategies;\n\t this.loop = Boolean(options.loop);\n\t this.failFast = Boolean(options.failFast);\n\t this.timeout = options.timeout;\n\t this.timeoutLimit = options.timeoutLimit;\n\t }\n\t isSupported() {\n\t return any(this.strategies, util.method('isSupported'));\n\t }\n\t connect(minPriority, callback) {\n\t var strategies = this.strategies;\n\t var current = 0;\n\t var timeout = this.timeout;\n\t var runner = null;\n\t var tryNextStrategy = (error, handshake) => {\n\t if (handshake) {\n\t callback(null, handshake);\n\t }\n\t else {\n\t current = current + 1;\n\t if (this.loop) {\n\t current = current % strategies.length;\n\t }\n\t if (current < strategies.length) {\n\t if (timeout) {\n\t timeout = timeout * 2;\n\t if (this.timeoutLimit) {\n\t timeout = Math.min(timeout, this.timeoutLimit);\n\t }\n\t }\n\t runner = this.tryStrategy(strategies[current], minPriority, { timeout, failFast: this.failFast }, tryNextStrategy);\n\t }\n\t else {\n\t callback(true);\n\t }\n\t }\n\t };\n\t runner = this.tryStrategy(strategies[current], minPriority, { timeout: timeout, failFast: this.failFast }, tryNextStrategy);\n\t return {\n\t abort: function () {\n\t runner.abort();\n\t },\n\t forceMinPriority: function (p) {\n\t minPriority = p;\n\t if (runner) {\n\t runner.forceMinPriority(p);\n\t }\n\t }\n\t };\n\t }\n\t tryStrategy(strategy, minPriority, options, callback) {\n\t var timer = null;\n\t var runner = null;\n\t if (options.timeout > 0) {\n\t timer = new timers_OneOffTimer(options.timeout, function () {\n\t runner.abort();\n\t callback(true);\n\t });\n\t }\n\t runner = strategy.connect(minPriority, function (error, handshake) {\n\t if (error && timer && timer.isRunning() && !options.failFast) {\n\t return;\n\t }\n\t if (timer) {\n\t timer.ensureAborted();\n\t }\n\t callback(error, handshake);\n\t });\n\t return {\n\t abort: function () {\n\t if (timer) {\n\t timer.ensureAborted();\n\t }\n\t runner.abort();\n\t },\n\t forceMinPriority: function (p) {\n\t runner.forceMinPriority(p);\n\t }\n\t };\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/best_connected_ever_strategy.ts\n\n\n\tclass best_connected_ever_strategy_BestConnectedEverStrategy {\n\t constructor(strategies) {\n\t this.strategies = strategies;\n\t }\n\t isSupported() {\n\t return any(this.strategies, util.method('isSupported'));\n\t }\n\t connect(minPriority, callback) {\n\t return connect(this.strategies, minPriority, function (i, runners) {\n\t return function (error, handshake) {\n\t runners[i].error = error;\n\t if (error) {\n\t if (allRunnersFailed(runners)) {\n\t callback(true);\n\t }\n\t return;\n\t }\n\t apply(runners, function (runner) {\n\t runner.forceMinPriority(handshake.transport.priority);\n\t });\n\t callback(null, handshake);\n\t };\n\t });\n\t }\n\t}\n\tfunction connect(strategies, minPriority, callbackBuilder) {\n\t var runners = map(strategies, function (strategy, i, _, rs) {\n\t return strategy.connect(minPriority, callbackBuilder(i, rs));\n\t });\n\t return {\n\t abort: function () {\n\t apply(runners, abortRunner);\n\t },\n\t forceMinPriority: function (p) {\n\t apply(runners, function (runner) {\n\t runner.forceMinPriority(p);\n\t });\n\t }\n\t };\n\t}\n\tfunction allRunnersFailed(runners) {\n\t return collections_all(runners, function (runner) {\n\t return Boolean(runner.error);\n\t });\n\t}\n\tfunction abortRunner(runner) {\n\t if (!runner.error && !runner.aborted) {\n\t runner.abort();\n\t runner.aborted = true;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/cached_strategy.ts\n\n\n\n\n\tclass cached_strategy_CachedStrategy {\n\t constructor(strategy, transports, options) {\n\t this.strategy = strategy;\n\t this.transports = transports;\n\t this.ttl = options.ttl || 1800 * 1000;\n\t this.usingTLS = options.useTLS;\n\t this.timeline = options.timeline;\n\t }\n\t isSupported() {\n\t return this.strategy.isSupported();\n\t }\n\t connect(minPriority, callback) {\n\t var usingTLS = this.usingTLS;\n\t var info = fetchTransportCache(usingTLS);\n\t var strategies = [this.strategy];\n\t if (info && info.timestamp + this.ttl >= util.now()) {\n\t var transport = this.transports[info.transport];\n\t if (transport) {\n\t this.timeline.info({\n\t cached: true,\n\t transport: info.transport,\n\t latency: info.latency\n\t });\n\t strategies.push(new sequential_strategy_SequentialStrategy([transport], {\n\t timeout: info.latency * 2 + 1000,\n\t failFast: true\n\t }));\n\t }\n\t }\n\t var startTimestamp = util.now();\n\t var runner = strategies\n\t .pop()\n\t .connect(minPriority, function cb(error, handshake) {\n\t if (error) {\n\t flushTransportCache(usingTLS);\n\t if (strategies.length > 0) {\n\t startTimestamp = util.now();\n\t runner = strategies.pop().connect(minPriority, cb);\n\t }\n\t else {\n\t callback(error);\n\t }\n\t }\n\t else {\n\t storeTransportCache(usingTLS, handshake.transport.name, util.now() - startTimestamp);\n\t callback(null, handshake);\n\t }\n\t });\n\t return {\n\t abort: function () {\n\t runner.abort();\n\t },\n\t forceMinPriority: function (p) {\n\t minPriority = p;\n\t if (runner) {\n\t runner.forceMinPriority(p);\n\t }\n\t }\n\t };\n\t }\n\t}\n\tfunction getTransportCacheKey(usingTLS) {\n\t return 'pusherTransport' + (usingTLS ? 'TLS' : 'NonTLS');\n\t}\n\tfunction fetchTransportCache(usingTLS) {\n\t var storage = runtime.getLocalStorage();\n\t if (storage) {\n\t try {\n\t var serializedCache = storage[getTransportCacheKey(usingTLS)];\n\t if (serializedCache) {\n\t return JSON.parse(serializedCache);\n\t }\n\t }\n\t catch (e) {\n\t flushTransportCache(usingTLS);\n\t }\n\t }\n\t return null;\n\t}\n\tfunction storeTransportCache(usingTLS, transport, latency) {\n\t var storage = runtime.getLocalStorage();\n\t if (storage) {\n\t try {\n\t storage[getTransportCacheKey(usingTLS)] = safeJSONStringify({\n\t timestamp: util.now(),\n\t transport: transport,\n\t latency: latency\n\t });\n\t }\n\t catch (e) {\n\t }\n\t }\n\t}\n\tfunction flushTransportCache(usingTLS) {\n\t var storage = runtime.getLocalStorage();\n\t if (storage) {\n\t try {\n\t delete storage[getTransportCacheKey(usingTLS)];\n\t }\n\t catch (e) {\n\t }\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/delayed_strategy.ts\n\n\tclass delayed_strategy_DelayedStrategy {\n\t constructor(strategy, { delay: number }) {\n\t this.strategy = strategy;\n\t this.options = { delay: number };\n\t }\n\t isSupported() {\n\t return this.strategy.isSupported();\n\t }\n\t connect(minPriority, callback) {\n\t var strategy = this.strategy;\n\t var runner;\n\t var timer = new timers_OneOffTimer(this.options.delay, function () {\n\t runner = strategy.connect(minPriority, callback);\n\t });\n\t return {\n\t abort: function () {\n\t timer.ensureAborted();\n\t if (runner) {\n\t runner.abort();\n\t }\n\t },\n\t forceMinPriority: function (p) {\n\t minPriority = p;\n\t if (runner) {\n\t runner.forceMinPriority(p);\n\t }\n\t }\n\t };\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/if_strategy.ts\n\tclass IfStrategy {\n\t constructor(test, trueBranch, falseBranch) {\n\t this.test = test;\n\t this.trueBranch = trueBranch;\n\t this.falseBranch = falseBranch;\n\t }\n\t isSupported() {\n\t var branch = this.test() ? this.trueBranch : this.falseBranch;\n\t return branch.isSupported();\n\t }\n\t connect(minPriority, callback) {\n\t var branch = this.test() ? this.trueBranch : this.falseBranch;\n\t return branch.connect(minPriority, callback);\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/first_connected_strategy.ts\n\tclass FirstConnectedStrategy {\n\t constructor(strategy) {\n\t this.strategy = strategy;\n\t }\n\t isSupported() {\n\t return this.strategy.isSupported();\n\t }\n\t connect(minPriority, callback) {\n\t var runner = this.strategy.connect(minPriority, function (error, handshake) {\n\t if (handshake) {\n\t runner.abort();\n\t }\n\t callback(error, handshake);\n\t });\n\t return runner;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/default_strategy.ts\n\n\n\n\n\n\n\n\tfunction testSupportsStrategy(strategy) {\n\t return function () {\n\t return strategy.isSupported();\n\t };\n\t}\n\tvar getDefaultStrategy = function (config, baseOptions, defineTransport) {\n\t var definedTransports = {};\n\t function defineTransportStrategy(name, type, priority, options, manager) {\n\t var transport = defineTransport(config, name, type, priority, options, manager);\n\t definedTransports[name] = transport;\n\t return transport;\n\t }\n\t var ws_options = Object.assign({}, baseOptions, {\n\t hostNonTLS: config.wsHost + ':' + config.wsPort,\n\t hostTLS: config.wsHost + ':' + config.wssPort,\n\t httpPath: config.wsPath\n\t });\n\t var wss_options = Object.assign({}, ws_options, {\n\t useTLS: true\n\t });\n\t var sockjs_options = Object.assign({}, baseOptions, {\n\t hostNonTLS: config.httpHost + ':' + config.httpPort,\n\t hostTLS: config.httpHost + ':' + config.httpsPort,\n\t httpPath: config.httpPath\n\t });\n\t var timeouts = {\n\t loop: true,\n\t timeout: 15000,\n\t timeoutLimit: 60000\n\t };\n\t var ws_manager = new transport_manager_TransportManager({\n\t minPingDelay: 10000,\n\t maxPingDelay: config.activityTimeout\n\t });\n\t var streaming_manager = new transport_manager_TransportManager({\n\t lives: 2,\n\t minPingDelay: 10000,\n\t maxPingDelay: config.activityTimeout\n\t });\n\t var ws_transport = defineTransportStrategy('ws', 'ws', 3, ws_options, ws_manager);\n\t var wss_transport = defineTransportStrategy('wss', 'ws', 3, wss_options, ws_manager);\n\t var sockjs_transport = defineTransportStrategy('sockjs', 'sockjs', 1, sockjs_options);\n\t var xhr_streaming_transport = defineTransportStrategy('xhr_streaming', 'xhr_streaming', 1, sockjs_options, streaming_manager);\n\t var xdr_streaming_transport = defineTransportStrategy('xdr_streaming', 'xdr_streaming', 1, sockjs_options, streaming_manager);\n\t var xhr_polling_transport = defineTransportStrategy('xhr_polling', 'xhr_polling', 1, sockjs_options);\n\t var xdr_polling_transport = defineTransportStrategy('xdr_polling', 'xdr_polling', 1, sockjs_options);\n\t var ws_loop = new sequential_strategy_SequentialStrategy([ws_transport], timeouts);\n\t var wss_loop = new sequential_strategy_SequentialStrategy([wss_transport], timeouts);\n\t var sockjs_loop = new sequential_strategy_SequentialStrategy([sockjs_transport], timeouts);\n\t var streaming_loop = new sequential_strategy_SequentialStrategy([\n\t new IfStrategy(testSupportsStrategy(xhr_streaming_transport), xhr_streaming_transport, xdr_streaming_transport)\n\t ], timeouts);\n\t var polling_loop = new sequential_strategy_SequentialStrategy([\n\t new IfStrategy(testSupportsStrategy(xhr_polling_transport), xhr_polling_transport, xdr_polling_transport)\n\t ], timeouts);\n\t var http_loop = new sequential_strategy_SequentialStrategy([\n\t new IfStrategy(testSupportsStrategy(streaming_loop), new best_connected_ever_strategy_BestConnectedEverStrategy([\n\t streaming_loop,\n\t new delayed_strategy_DelayedStrategy(polling_loop, { delay: 4000 })\n\t ]), polling_loop)\n\t ], timeouts);\n\t var http_fallback_loop = new IfStrategy(testSupportsStrategy(http_loop), http_loop, sockjs_loop);\n\t var wsStrategy;\n\t if (baseOptions.useTLS) {\n\t wsStrategy = new best_connected_ever_strategy_BestConnectedEverStrategy([\n\t ws_loop,\n\t new delayed_strategy_DelayedStrategy(http_fallback_loop, { delay: 2000 })\n\t ]);\n\t }\n\t else {\n\t wsStrategy = new best_connected_ever_strategy_BestConnectedEverStrategy([\n\t ws_loop,\n\t new delayed_strategy_DelayedStrategy(wss_loop, { delay: 2000 }),\n\t new delayed_strategy_DelayedStrategy(http_fallback_loop, { delay: 5000 })\n\t ]);\n\t }\n\t return new cached_strategy_CachedStrategy(new FirstConnectedStrategy(new IfStrategy(testSupportsStrategy(ws_transport), wsStrategy, http_fallback_loop)), definedTransports, {\n\t ttl: 1800000,\n\t timeline: baseOptions.timeline,\n\t useTLS: baseOptions.useTLS\n\t });\n\t};\n\t/* harmony default export */ var default_strategy = (getDefaultStrategy);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/transports/transport_connection_initializer.ts\n\n\t/* harmony default export */ var transport_connection_initializer = (function () {\n\t var self = this;\n\t self.timeline.info(self.buildTimelineMessage({\n\t transport: self.name + (self.options.useTLS ? 's' : '')\n\t }));\n\t if (self.hooks.isInitialized()) {\n\t self.changeState('initialized');\n\t }\n\t else if (self.hooks.file) {\n\t self.changeState('initializing');\n\t Dependencies.load(self.hooks.file, { useTLS: self.options.useTLS }, function (error, callback) {\n\t if (self.hooks.isInitialized()) {\n\t self.changeState('initialized');\n\t callback(true);\n\t }\n\t else {\n\t if (error) {\n\t self.onError(error);\n\t }\n\t self.onClose();\n\t callback(false);\n\t }\n\t });\n\t }\n\t else {\n\t self.onClose();\n\t }\n\t});\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/http/http_xdomain_request.ts\n\n\tvar http_xdomain_request_hooks = {\n\t getRequest: function (socket) {\n\t var xdr = new window.XDomainRequest();\n\t xdr.ontimeout = function () {\n\t socket.emit('error', new RequestTimedOut());\n\t socket.close();\n\t };\n\t xdr.onerror = function (e) {\n\t socket.emit('error', e);\n\t socket.close();\n\t };\n\t xdr.onprogress = function () {\n\t if (xdr.responseText && xdr.responseText.length > 0) {\n\t socket.onChunk(200, xdr.responseText);\n\t }\n\t };\n\t xdr.onload = function () {\n\t if (xdr.responseText && xdr.responseText.length > 0) {\n\t socket.onChunk(200, xdr.responseText);\n\t }\n\t socket.emit('finished', 200);\n\t socket.close();\n\t };\n\t return xdr;\n\t },\n\t abortRequest: function (xdr) {\n\t xdr.ontimeout = xdr.onerror = xdr.onprogress = xdr.onload = null;\n\t xdr.abort();\n\t }\n\t};\n\t/* harmony default export */ var http_xdomain_request = (http_xdomain_request_hooks);\n\n\t// CONCATENATED MODULE: ./src/core/http/http_request.ts\n\n\n\tconst MAX_BUFFER_LENGTH = 256 * 1024;\n\tclass http_request_HTTPRequest extends dispatcher_Dispatcher {\n\t constructor(hooks, method, url) {\n\t super();\n\t this.hooks = hooks;\n\t this.method = method;\n\t this.url = url;\n\t }\n\t start(payload) {\n\t this.position = 0;\n\t this.xhr = this.hooks.getRequest(this);\n\t this.unloader = () => {\n\t this.close();\n\t };\n\t runtime.addUnloadListener(this.unloader);\n\t this.xhr.open(this.method, this.url, true);\n\t if (this.xhr.setRequestHeader) {\n\t this.xhr.setRequestHeader('Content-Type', 'application/json');\n\t }\n\t this.xhr.send(payload);\n\t }\n\t close() {\n\t if (this.unloader) {\n\t runtime.removeUnloadListener(this.unloader);\n\t this.unloader = null;\n\t }\n\t if (this.xhr) {\n\t this.hooks.abortRequest(this.xhr);\n\t this.xhr = null;\n\t }\n\t }\n\t onChunk(status, data) {\n\t while (true) {\n\t var chunk = this.advanceBuffer(data);\n\t if (chunk) {\n\t this.emit('chunk', { status: status, data: chunk });\n\t }\n\t else {\n\t break;\n\t }\n\t }\n\t if (this.isBufferTooLong(data)) {\n\t this.emit('buffer_too_long');\n\t }\n\t }\n\t advanceBuffer(buffer) {\n\t var unreadData = buffer.slice(this.position);\n\t var endOfLinePosition = unreadData.indexOf('\\n');\n\t if (endOfLinePosition !== -1) {\n\t this.position += endOfLinePosition + 1;\n\t return unreadData.slice(0, endOfLinePosition);\n\t }\n\t else {\n\t return null;\n\t }\n\t }\n\t isBufferTooLong(buffer) {\n\t return this.position === buffer.length && buffer.length > MAX_BUFFER_LENGTH;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/http/state.ts\n\tvar State;\n\t(function (State) {\n\t State[State[\"CONNECTING\"] = 0] = \"CONNECTING\";\n\t State[State[\"OPEN\"] = 1] = \"OPEN\";\n\t State[State[\"CLOSED\"] = 3] = \"CLOSED\";\n\t})(State || (State = {}));\n\t/* harmony default export */ var state = (State);\n\n\t// CONCATENATED MODULE: ./src/core/http/http_socket.ts\n\n\n\n\tvar autoIncrement = 1;\n\tclass http_socket_HTTPSocket {\n\t constructor(hooks, url) {\n\t this.hooks = hooks;\n\t this.session = randomNumber(1000) + '/' + randomString(8);\n\t this.location = getLocation(url);\n\t this.readyState = state.CONNECTING;\n\t this.openStream();\n\t }\n\t send(payload) {\n\t return this.sendRaw(JSON.stringify([payload]));\n\t }\n\t ping() {\n\t this.hooks.sendHeartbeat(this);\n\t }\n\t close(code, reason) {\n\t this.onClose(code, reason, true);\n\t }\n\t sendRaw(payload) {\n\t if (this.readyState === state.OPEN) {\n\t try {\n\t runtime.createSocketRequest('POST', getUniqueURL(getSendURL(this.location, this.session))).start(payload);\n\t return true;\n\t }\n\t catch (e) {\n\t return false;\n\t }\n\t }\n\t else {\n\t return false;\n\t }\n\t }\n\t reconnect() {\n\t this.closeStream();\n\t this.openStream();\n\t }\n\t onClose(code, reason, wasClean) {\n\t this.closeStream();\n\t this.readyState = state.CLOSED;\n\t if (this.onclose) {\n\t this.onclose({\n\t code: code,\n\t reason: reason,\n\t wasClean: wasClean\n\t });\n\t }\n\t }\n\t onChunk(chunk) {\n\t if (chunk.status !== 200) {\n\t return;\n\t }\n\t if (this.readyState === state.OPEN) {\n\t this.onActivity();\n\t }\n\t var payload;\n\t var type = chunk.data.slice(0, 1);\n\t switch (type) {\n\t case 'o':\n\t payload = JSON.parse(chunk.data.slice(1) || '{}');\n\t this.onOpen(payload);\n\t break;\n\t case 'a':\n\t payload = JSON.parse(chunk.data.slice(1) || '[]');\n\t for (var i = 0; i < payload.length; i++) {\n\t this.onEvent(payload[i]);\n\t }\n\t break;\n\t case 'm':\n\t payload = JSON.parse(chunk.data.slice(1) || 'null');\n\t this.onEvent(payload);\n\t break;\n\t case 'h':\n\t this.hooks.onHeartbeat(this);\n\t break;\n\t case 'c':\n\t payload = JSON.parse(chunk.data.slice(1) || '[]');\n\t this.onClose(payload[0], payload[1], true);\n\t break;\n\t }\n\t }\n\t onOpen(options) {\n\t if (this.readyState === state.CONNECTING) {\n\t if (options && options.hostname) {\n\t this.location.base = replaceHost(this.location.base, options.hostname);\n\t }\n\t this.readyState = state.OPEN;\n\t if (this.onopen) {\n\t this.onopen();\n\t }\n\t }\n\t else {\n\t this.onClose(1006, 'Server lost session', true);\n\t }\n\t }\n\t onEvent(event) {\n\t if (this.readyState === state.OPEN && this.onmessage) {\n\t this.onmessage({ data: event });\n\t }\n\t }\n\t onActivity() {\n\t if (this.onactivity) {\n\t this.onactivity();\n\t }\n\t }\n\t onError(error) {\n\t if (this.onerror) {\n\t this.onerror(error);\n\t }\n\t }\n\t openStream() {\n\t this.stream = runtime.createSocketRequest('POST', getUniqueURL(this.hooks.getReceiveURL(this.location, this.session)));\n\t this.stream.bind('chunk', chunk => {\n\t this.onChunk(chunk);\n\t });\n\t this.stream.bind('finished', status => {\n\t this.hooks.onFinished(this, status);\n\t });\n\t this.stream.bind('buffer_too_long', () => {\n\t this.reconnect();\n\t });\n\t try {\n\t this.stream.start();\n\t }\n\t catch (error) {\n\t util.defer(() => {\n\t this.onError(error);\n\t this.onClose(1006, 'Could not start streaming', false);\n\t });\n\t }\n\t }\n\t closeStream() {\n\t if (this.stream) {\n\t this.stream.unbind_all();\n\t this.stream.close();\n\t this.stream = null;\n\t }\n\t }\n\t}\n\tfunction getLocation(url) {\n\t var parts = /([^\\?]*)\\/*(\\??.*)/.exec(url);\n\t return {\n\t base: parts[1],\n\t queryString: parts[2]\n\t };\n\t}\n\tfunction getSendURL(url, session) {\n\t return url.base + '/' + session + '/xhr_send';\n\t}\n\tfunction getUniqueURL(url) {\n\t var separator = url.indexOf('?') === -1 ? '?' : '&';\n\t return url + separator + 't=' + +new Date() + '&n=' + autoIncrement++;\n\t}\n\tfunction replaceHost(url, hostname) {\n\t var urlParts = /(https?:\\/\\/)([^\\/:]+)((\\/|:)?.*)/.exec(url);\n\t return urlParts[1] + hostname + urlParts[3];\n\t}\n\tfunction randomNumber(max) {\n\t return runtime.randomInt(max);\n\t}\n\tfunction randomString(length) {\n\t var result = [];\n\t for (var i = 0; i < length; i++) {\n\t result.push(randomNumber(32).toString(32));\n\t }\n\t return result.join('');\n\t}\n\t/* harmony default export */ var http_socket = (http_socket_HTTPSocket);\n\n\t// CONCATENATED MODULE: ./src/core/http/http_streaming_socket.ts\n\tvar http_streaming_socket_hooks = {\n\t getReceiveURL: function (url, session) {\n\t return url.base + '/' + session + '/xhr_streaming' + url.queryString;\n\t },\n\t onHeartbeat: function (socket) {\n\t socket.sendRaw('[]');\n\t },\n\t sendHeartbeat: function (socket) {\n\t socket.sendRaw('[]');\n\t },\n\t onFinished: function (socket, status) {\n\t socket.onClose(1006, 'Connection interrupted (' + status + ')', false);\n\t }\n\t};\n\t/* harmony default export */ var http_streaming_socket = (http_streaming_socket_hooks);\n\n\t// CONCATENATED MODULE: ./src/core/http/http_polling_socket.ts\n\tvar http_polling_socket_hooks = {\n\t getReceiveURL: function (url, session) {\n\t return url.base + '/' + session + '/xhr' + url.queryString;\n\t },\n\t onHeartbeat: function () {\n\t },\n\t sendHeartbeat: function (socket) {\n\t socket.sendRaw('[]');\n\t },\n\t onFinished: function (socket, status) {\n\t if (status === 200) {\n\t socket.reconnect();\n\t }\n\t else {\n\t socket.onClose(1006, 'Connection interrupted (' + status + ')', false);\n\t }\n\t }\n\t};\n\t/* harmony default export */ var http_polling_socket = (http_polling_socket_hooks);\n\n\t// CONCATENATED MODULE: ./src/runtimes/isomorphic/http/http_xhr_request.ts\n\n\tvar http_xhr_request_hooks = {\n\t getRequest: function (socket) {\n\t var Constructor = runtime.getXHRAPI();\n\t var xhr = new Constructor();\n\t xhr.onreadystatechange = xhr.onprogress = function () {\n\t switch (xhr.readyState) {\n\t case 3:\n\t if (xhr.responseText && xhr.responseText.length > 0) {\n\t socket.onChunk(xhr.status, xhr.responseText);\n\t }\n\t break;\n\t case 4:\n\t if (xhr.responseText && xhr.responseText.length > 0) {\n\t socket.onChunk(xhr.status, xhr.responseText);\n\t }\n\t socket.emit('finished', xhr.status);\n\t socket.close();\n\t break;\n\t }\n\t };\n\t return xhr;\n\t },\n\t abortRequest: function (xhr) {\n\t xhr.onreadystatechange = null;\n\t xhr.abort();\n\t }\n\t};\n\t/* harmony default export */ var http_xhr_request = (http_xhr_request_hooks);\n\n\t// CONCATENATED MODULE: ./src/runtimes/isomorphic/http/http.ts\n\n\n\n\n\n\tvar HTTP = {\n\t createStreamingSocket(url) {\n\t return this.createSocket(http_streaming_socket, url);\n\t },\n\t createPollingSocket(url) {\n\t return this.createSocket(http_polling_socket, url);\n\t },\n\t createSocket(hooks, url) {\n\t return new http_socket(hooks, url);\n\t },\n\t createXHR(method, url) {\n\t return this.createRequest(http_xhr_request, method, url);\n\t },\n\t createRequest(hooks, method, url) {\n\t return new http_request_HTTPRequest(hooks, method, url);\n\t }\n\t};\n\t/* harmony default export */ var http_http = (HTTP);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/http/http.ts\n\n\n\thttp_http.createXDR = function (method, url) {\n\t return this.createRequest(http_xdomain_request, method, url);\n\t};\n\t/* harmony default export */ var web_http_http = (http_http);\n\n\t// CONCATENATED MODULE: ./src/runtimes/web/runtime.ts\n\n\n\n\n\n\n\n\n\n\n\n\n\tvar Runtime = {\n\t nextAuthCallbackID: 1,\n\t auth_callbacks: {},\n\t ScriptReceivers: ScriptReceivers,\n\t DependenciesReceivers: DependenciesReceivers,\n\t getDefaultStrategy: default_strategy,\n\t Transports: transports_transports,\n\t transportConnectionInitializer: transport_connection_initializer,\n\t HTTPFactory: web_http_http,\n\t TimelineTransport: jsonp_timeline,\n\t getXHRAPI() {\n\t return window.XMLHttpRequest;\n\t },\n\t getWebSocketAPI() {\n\t return window.WebSocket || window.MozWebSocket;\n\t },\n\t setup(PusherClass) {\n\t window.Pusher = PusherClass;\n\t var initializeOnDocumentBody = () => {\n\t this.onDocumentBody(PusherClass.ready);\n\t };\n\t if (!window.JSON) {\n\t Dependencies.load('json2', {}, initializeOnDocumentBody);\n\t }\n\t else {\n\t initializeOnDocumentBody();\n\t }\n\t },\n\t getDocument() {\n\t return document;\n\t },\n\t getProtocol() {\n\t return this.getDocument().location.protocol;\n\t },\n\t getAuthorizers() {\n\t return { ajax: xhr_auth, jsonp: jsonp_auth };\n\t },\n\t onDocumentBody(callback) {\n\t if (document.body) {\n\t callback();\n\t }\n\t else {\n\t setTimeout(() => {\n\t this.onDocumentBody(callback);\n\t }, 0);\n\t }\n\t },\n\t createJSONPRequest(url, data) {\n\t return new jsonp_request_JSONPRequest(url, data);\n\t },\n\t createScriptRequest(src) {\n\t return new ScriptRequest(src);\n\t },\n\t getLocalStorage() {\n\t try {\n\t return window.localStorage;\n\t }\n\t catch (e) {\n\t return undefined;\n\t }\n\t },\n\t createXHR() {\n\t if (this.getXHRAPI()) {\n\t return this.createXMLHttpRequest();\n\t }\n\t else {\n\t return this.createMicrosoftXHR();\n\t }\n\t },\n\t createXMLHttpRequest() {\n\t var Constructor = this.getXHRAPI();\n\t return new Constructor();\n\t },\n\t createMicrosoftXHR() {\n\t return new ActiveXObject('Microsoft.XMLHTTP');\n\t },\n\t getNetwork() {\n\t return net_info_Network;\n\t },\n\t createWebSocket(url) {\n\t var Constructor = this.getWebSocketAPI();\n\t return new Constructor(url);\n\t },\n\t createSocketRequest(method, url) {\n\t if (this.isXHRSupported()) {\n\t return this.HTTPFactory.createXHR(method, url);\n\t }\n\t else if (this.isXDRSupported(url.indexOf('https:') === 0)) {\n\t return this.HTTPFactory.createXDR(method, url);\n\t }\n\t else {\n\t throw 'Cross-origin HTTP requests are not supported';\n\t }\n\t },\n\t isXHRSupported() {\n\t var Constructor = this.getXHRAPI();\n\t return (Boolean(Constructor) && new Constructor().withCredentials !== undefined);\n\t },\n\t isXDRSupported(useTLS) {\n\t var protocol = useTLS ? 'https:' : 'http:';\n\t var documentProtocol = this.getProtocol();\n\t return (Boolean(window['XDomainRequest']) && documentProtocol === protocol);\n\t },\n\t addUnloadListener(listener) {\n\t if (window.addEventListener !== undefined) {\n\t window.addEventListener('unload', listener, false);\n\t }\n\t else if (window.attachEvent !== undefined) {\n\t window.attachEvent('onunload', listener);\n\t }\n\t },\n\t removeUnloadListener(listener) {\n\t if (window.addEventListener !== undefined) {\n\t window.removeEventListener('unload', listener, false);\n\t }\n\t else if (window.detachEvent !== undefined) {\n\t window.detachEvent('onunload', listener);\n\t }\n\t },\n\t randomInt(max) {\n\t const random = function () {\n\t const crypto = window.crypto || window['msCrypto'];\n\t const random = crypto.getRandomValues(new Uint32Array(1))[0];\n\t return random / Math.pow(2, 32);\n\t };\n\t return Math.floor(random() * max);\n\t }\n\t};\n\t/* harmony default export */ var runtime = (Runtime);\n\n\t// CONCATENATED MODULE: ./src/core/timeline/level.ts\n\tvar TimelineLevel;\n\t(function (TimelineLevel) {\n\t TimelineLevel[TimelineLevel[\"ERROR\"] = 3] = \"ERROR\";\n\t TimelineLevel[TimelineLevel[\"INFO\"] = 6] = \"INFO\";\n\t TimelineLevel[TimelineLevel[\"DEBUG\"] = 7] = \"DEBUG\";\n\t})(TimelineLevel || (TimelineLevel = {}));\n\t/* harmony default export */ var timeline_level = (TimelineLevel);\n\n\t// CONCATENATED MODULE: ./src/core/timeline/timeline.ts\n\n\n\n\tclass timeline_Timeline {\n\t constructor(key, session, options) {\n\t this.key = key;\n\t this.session = session;\n\t this.events = [];\n\t this.options = options || {};\n\t this.sent = 0;\n\t this.uniqueID = 0;\n\t }\n\t log(level, event) {\n\t if (level <= this.options.level) {\n\t this.events.push(extend({}, event, { timestamp: util.now() }));\n\t if (this.options.limit && this.events.length > this.options.limit) {\n\t this.events.shift();\n\t }\n\t }\n\t }\n\t error(event) {\n\t this.log(timeline_level.ERROR, event);\n\t }\n\t info(event) {\n\t this.log(timeline_level.INFO, event);\n\t }\n\t debug(event) {\n\t this.log(timeline_level.DEBUG, event);\n\t }\n\t isEmpty() {\n\t return this.events.length === 0;\n\t }\n\t send(sendfn, callback) {\n\t var data = extend({\n\t session: this.session,\n\t bundle: this.sent + 1,\n\t key: this.key,\n\t lib: 'js',\n\t version: this.options.version,\n\t cluster: this.options.cluster,\n\t features: this.options.features,\n\t timeline: this.events\n\t }, this.options.params);\n\t this.events = [];\n\t sendfn(data, (error, result) => {\n\t if (!error) {\n\t this.sent++;\n\t }\n\t if (callback) {\n\t callback(error, result);\n\t }\n\t });\n\t return true;\n\t }\n\t generateUniqueID() {\n\t this.uniqueID++;\n\t return this.uniqueID;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/transport_strategy.ts\n\n\n\n\n\tclass transport_strategy_TransportStrategy {\n\t constructor(name, priority, transport, options) {\n\t this.name = name;\n\t this.priority = priority;\n\t this.transport = transport;\n\t this.options = options || {};\n\t }\n\t isSupported() {\n\t return this.transport.isSupported({\n\t useTLS: this.options.useTLS\n\t });\n\t }\n\t connect(minPriority, callback) {\n\t if (!this.isSupported()) {\n\t return failAttempt(new UnsupportedStrategy(), callback);\n\t }\n\t else if (this.priority < minPriority) {\n\t return failAttempt(new TransportPriorityTooLow(), callback);\n\t }\n\t var connected = false;\n\t var transport = this.transport.createConnection(this.name, this.priority, this.options.key, this.options);\n\t var handshake = null;\n\t var onInitialized = function () {\n\t transport.unbind('initialized', onInitialized);\n\t transport.connect();\n\t };\n\t var onOpen = function () {\n\t handshake = factory.createHandshake(transport, function (result) {\n\t connected = true;\n\t unbindListeners();\n\t callback(null, result);\n\t });\n\t };\n\t var onError = function (error) {\n\t unbindListeners();\n\t callback(error);\n\t };\n\t var onClosed = function () {\n\t unbindListeners();\n\t var serializedTransport;\n\t serializedTransport = safeJSONStringify(transport);\n\t callback(new TransportClosed(serializedTransport));\n\t };\n\t var unbindListeners = function () {\n\t transport.unbind('initialized', onInitialized);\n\t transport.unbind('open', onOpen);\n\t transport.unbind('error', onError);\n\t transport.unbind('closed', onClosed);\n\t };\n\t transport.bind('initialized', onInitialized);\n\t transport.bind('open', onOpen);\n\t transport.bind('error', onError);\n\t transport.bind('closed', onClosed);\n\t transport.initialize();\n\t return {\n\t abort: () => {\n\t if (connected) {\n\t return;\n\t }\n\t unbindListeners();\n\t if (handshake) {\n\t handshake.close();\n\t }\n\t else {\n\t transport.close();\n\t }\n\t },\n\t forceMinPriority: p => {\n\t if (connected) {\n\t return;\n\t }\n\t if (this.priority < p) {\n\t if (handshake) {\n\t handshake.close();\n\t }\n\t else {\n\t transport.close();\n\t }\n\t }\n\t }\n\t };\n\t }\n\t}\n\tfunction failAttempt(error, callback) {\n\t util.defer(function () {\n\t callback(error);\n\t });\n\t return {\n\t abort: function () { },\n\t forceMinPriority: function () { }\n\t };\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/strategies/strategy_builder.ts\n\n\n\n\n\n\tconst { Transports: strategy_builder_Transports } = runtime;\n\tvar strategy_builder_defineTransport = function (config, name, type, priority, options, manager) {\n\t var transportClass = strategy_builder_Transports[type];\n\t if (!transportClass) {\n\t throw new UnsupportedTransport(type);\n\t }\n\t var enabled = (!config.enabledTransports ||\n\t arrayIndexOf(config.enabledTransports, name) !== -1) &&\n\t (!config.disabledTransports ||\n\t arrayIndexOf(config.disabledTransports, name) === -1);\n\t var transport;\n\t if (enabled) {\n\t options = Object.assign({ ignoreNullOrigin: config.ignoreNullOrigin }, options);\n\t transport = new transport_strategy_TransportStrategy(name, priority, manager ? manager.getAssistant(transportClass) : transportClass, options);\n\t }\n\t else {\n\t transport = strategy_builder_UnsupportedStrategy;\n\t }\n\t return transport;\n\t};\n\tvar strategy_builder_UnsupportedStrategy = {\n\t isSupported: function () {\n\t return false;\n\t },\n\t connect: function (_, callback) {\n\t var deferred = util.defer(function () {\n\t callback(new UnsupportedStrategy());\n\t });\n\t return {\n\t abort: function () {\n\t deferred.ensureAborted();\n\t },\n\t forceMinPriority: function () { }\n\t };\n\t }\n\t};\n\n\t// CONCATENATED MODULE: ./src/core/options.ts\n\n\tfunction validateOptions(options) {\n\t if (options == null) {\n\t throw 'You must pass an options object';\n\t }\n\t if (options.cluster == null) {\n\t throw 'Options object must provide a cluster';\n\t }\n\t if ('disableStats' in options) {\n\t logger.warn('The disableStats option is deprecated in favor of enableStats');\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/auth/user_authenticator.ts\n\n\n\tconst composeChannelQuery = (params, authOptions) => {\n\t var query = 'socket_id=' + encodeURIComponent(params.socketId);\n\t for (var key in authOptions.params) {\n\t query +=\n\t '&' +\n\t encodeURIComponent(key) +\n\t '=' +\n\t encodeURIComponent(authOptions.params[key]);\n\t }\n\t if (authOptions.paramsProvider != null) {\n\t let dynamicParams = authOptions.paramsProvider();\n\t for (var key in dynamicParams) {\n\t query +=\n\t '&' +\n\t encodeURIComponent(key) +\n\t '=' +\n\t encodeURIComponent(dynamicParams[key]);\n\t }\n\t }\n\t return query;\n\t};\n\tconst UserAuthenticator = (authOptions) => {\n\t if (typeof runtime.getAuthorizers()[authOptions.transport] === 'undefined') {\n\t throw `'${authOptions.transport}' is not a recognized auth transport`;\n\t }\n\t return (params, callback) => {\n\t const query = composeChannelQuery(params, authOptions);\n\t runtime.getAuthorizers()[authOptions.transport](runtime, query, authOptions, AuthRequestType.UserAuthentication, callback);\n\t };\n\t};\n\t/* harmony default export */ var user_authenticator = (UserAuthenticator);\n\n\t// CONCATENATED MODULE: ./src/core/auth/channel_authorizer.ts\n\n\n\tconst channel_authorizer_composeChannelQuery = (params, authOptions) => {\n\t var query = 'socket_id=' + encodeURIComponent(params.socketId);\n\t query += '&channel_name=' + encodeURIComponent(params.channelName);\n\t for (var key in authOptions.params) {\n\t query +=\n\t '&' +\n\t encodeURIComponent(key) +\n\t '=' +\n\t encodeURIComponent(authOptions.params[key]);\n\t }\n\t if (authOptions.paramsProvider != null) {\n\t let dynamicParams = authOptions.paramsProvider();\n\t for (var key in dynamicParams) {\n\t query +=\n\t '&' +\n\t encodeURIComponent(key) +\n\t '=' +\n\t encodeURIComponent(dynamicParams[key]);\n\t }\n\t }\n\t return query;\n\t};\n\tconst ChannelAuthorizer = (authOptions) => {\n\t if (typeof runtime.getAuthorizers()[authOptions.transport] === 'undefined') {\n\t throw `'${authOptions.transport}' is not a recognized auth transport`;\n\t }\n\t return (params, callback) => {\n\t const query = channel_authorizer_composeChannelQuery(params, authOptions);\n\t runtime.getAuthorizers()[authOptions.transport](runtime, query, authOptions, AuthRequestType.ChannelAuthorization, callback);\n\t };\n\t};\n\t/* harmony default export */ var channel_authorizer = (ChannelAuthorizer);\n\n\t// CONCATENATED MODULE: ./src/core/auth/deprecated_channel_authorizer.ts\n\tconst ChannelAuthorizerProxy = (pusher, authOptions, channelAuthorizerGenerator) => {\n\t const deprecatedAuthorizerOptions = {\n\t authTransport: authOptions.transport,\n\t authEndpoint: authOptions.endpoint,\n\t auth: {\n\t params: authOptions.params,\n\t headers: authOptions.headers\n\t }\n\t };\n\t return (params, callback) => {\n\t const channel = pusher.channel(params.channelName);\n\t const channelAuthorizer = channelAuthorizerGenerator(channel, deprecatedAuthorizerOptions);\n\t channelAuthorizer.authorize(params.socketId, callback);\n\t };\n\t};\n\n\t// CONCATENATED MODULE: ./src/core/config.ts\n\n\n\n\n\n\tfunction getConfig(opts, pusher) {\n\t let config = {\n\t activityTimeout: opts.activityTimeout || defaults.activityTimeout,\n\t cluster: opts.cluster,\n\t httpPath: opts.httpPath || defaults.httpPath,\n\t httpPort: opts.httpPort || defaults.httpPort,\n\t httpsPort: opts.httpsPort || defaults.httpsPort,\n\t pongTimeout: opts.pongTimeout || defaults.pongTimeout,\n\t statsHost: opts.statsHost || defaults.stats_host,\n\t unavailableTimeout: opts.unavailableTimeout || defaults.unavailableTimeout,\n\t wsPath: opts.wsPath || defaults.wsPath,\n\t wsPort: opts.wsPort || defaults.wsPort,\n\t wssPort: opts.wssPort || defaults.wssPort,\n\t enableStats: getEnableStatsConfig(opts),\n\t httpHost: getHttpHost(opts),\n\t useTLS: shouldUseTLS(opts),\n\t wsHost: getWebsocketHost(opts),\n\t userAuthenticator: buildUserAuthenticator(opts),\n\t channelAuthorizer: buildChannelAuthorizer(opts, pusher)\n\t };\n\t if ('disabledTransports' in opts)\n\t config.disabledTransports = opts.disabledTransports;\n\t if ('enabledTransports' in opts)\n\t config.enabledTransports = opts.enabledTransports;\n\t if ('ignoreNullOrigin' in opts)\n\t config.ignoreNullOrigin = opts.ignoreNullOrigin;\n\t if ('timelineParams' in opts)\n\t config.timelineParams = opts.timelineParams;\n\t if ('nacl' in opts) {\n\t config.nacl = opts.nacl;\n\t }\n\t return config;\n\t}\n\tfunction getHttpHost(opts) {\n\t if (opts.httpHost) {\n\t return opts.httpHost;\n\t }\n\t if (opts.cluster) {\n\t return `sockjs-${opts.cluster}.pusher.com`;\n\t }\n\t return defaults.httpHost;\n\t}\n\tfunction getWebsocketHost(opts) {\n\t if (opts.wsHost) {\n\t return opts.wsHost;\n\t }\n\t return getWebsocketHostFromCluster(opts.cluster);\n\t}\n\tfunction getWebsocketHostFromCluster(cluster) {\n\t return `ws-${cluster}.pusher.com`;\n\t}\n\tfunction shouldUseTLS(opts) {\n\t if (runtime.getProtocol() === 'https:') {\n\t return true;\n\t }\n\t else if (opts.forceTLS === false) {\n\t return false;\n\t }\n\t return true;\n\t}\n\tfunction getEnableStatsConfig(opts) {\n\t if ('enableStats' in opts) {\n\t return opts.enableStats;\n\t }\n\t if ('disableStats' in opts) {\n\t return !opts.disableStats;\n\t }\n\t return false;\n\t}\n\tfunction buildUserAuthenticator(opts) {\n\t const userAuthentication = Object.assign(Object.assign({}, defaults.userAuthentication), opts.userAuthentication);\n\t if ('customHandler' in userAuthentication &&\n\t userAuthentication['customHandler'] != null) {\n\t return userAuthentication['customHandler'];\n\t }\n\t return user_authenticator(userAuthentication);\n\t}\n\tfunction buildChannelAuth(opts, pusher) {\n\t let channelAuthorization;\n\t if ('channelAuthorization' in opts) {\n\t channelAuthorization = Object.assign(Object.assign({}, defaults.channelAuthorization), opts.channelAuthorization);\n\t }\n\t else {\n\t channelAuthorization = {\n\t transport: opts.authTransport || defaults.authTransport,\n\t endpoint: opts.authEndpoint || defaults.authEndpoint\n\t };\n\t if ('auth' in opts) {\n\t if ('params' in opts.auth)\n\t channelAuthorization.params = opts.auth.params;\n\t if ('headers' in opts.auth)\n\t channelAuthorization.headers = opts.auth.headers;\n\t }\n\t if ('authorizer' in opts)\n\t channelAuthorization.customHandler = ChannelAuthorizerProxy(pusher, channelAuthorization, opts.authorizer);\n\t }\n\t return channelAuthorization;\n\t}\n\tfunction buildChannelAuthorizer(opts, pusher) {\n\t const channelAuthorization = buildChannelAuth(opts, pusher);\n\t if ('customHandler' in channelAuthorization &&\n\t channelAuthorization['customHandler'] != null) {\n\t return channelAuthorization['customHandler'];\n\t }\n\t return channel_authorizer(channelAuthorization);\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/watchlist.ts\n\n\n\tclass watchlist_WatchlistFacade extends dispatcher_Dispatcher {\n\t constructor(pusher) {\n\t super(function (eventName, data) {\n\t logger.debug(`No callbacks on watchlist events for ${eventName}`);\n\t });\n\t this.pusher = pusher;\n\t this.bindWatchlistInternalEvent();\n\t }\n\t handleEvent(pusherEvent) {\n\t pusherEvent.data.events.forEach(watchlistEvent => {\n\t this.emit(watchlistEvent.name, watchlistEvent);\n\t });\n\t }\n\t bindWatchlistInternalEvent() {\n\t this.pusher.connection.bind('message', pusherEvent => {\n\t var eventName = pusherEvent.event;\n\t if (eventName === 'pusher_internal:watchlist_events') {\n\t this.handleEvent(pusherEvent);\n\t }\n\t });\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/utils/flat_promise.ts\n\tfunction flatPromise() {\n\t let resolve, reject;\n\t const promise = new Promise((res, rej) => {\n\t resolve = res;\n\t reject = rej;\n\t });\n\t return { promise, resolve, reject };\n\t}\n\t/* harmony default export */ var flat_promise = (flatPromise);\n\n\t// CONCATENATED MODULE: ./src/core/user.ts\n\n\n\n\n\n\tclass user_UserFacade extends dispatcher_Dispatcher {\n\t constructor(pusher) {\n\t super(function (eventName, data) {\n\t logger.debug('No callbacks on user for ' + eventName);\n\t });\n\t this.signin_requested = false;\n\t this.user_data = null;\n\t this.serverToUserChannel = null;\n\t this.signinDonePromise = null;\n\t this._signinDoneResolve = null;\n\t this._onAuthorize = (err, authData) => {\n\t if (err) {\n\t logger.warn(`Error during signin: ${err}`);\n\t this._cleanup();\n\t return;\n\t }\n\t this.pusher.send_event('pusher:signin', {\n\t auth: authData.auth,\n\t user_data: authData.user_data\n\t });\n\t };\n\t this.pusher = pusher;\n\t this.pusher.connection.bind('state_change', ({ previous, current }) => {\n\t if (previous !== 'connected' && current === 'connected') {\n\t this._signin();\n\t }\n\t if (previous === 'connected' && current !== 'connected') {\n\t this._cleanup();\n\t this._newSigninPromiseIfNeeded();\n\t }\n\t });\n\t this.watchlist = new watchlist_WatchlistFacade(pusher);\n\t this.pusher.connection.bind('message', event => {\n\t var eventName = event.event;\n\t if (eventName === 'pusher:signin_success') {\n\t this._onSigninSuccess(event.data);\n\t }\n\t if (this.serverToUserChannel &&\n\t this.serverToUserChannel.name === event.channel) {\n\t this.serverToUserChannel.handleEvent(event);\n\t }\n\t });\n\t }\n\t signin() {\n\t if (this.signin_requested) {\n\t return;\n\t }\n\t this.signin_requested = true;\n\t this._signin();\n\t }\n\t _signin() {\n\t if (!this.signin_requested) {\n\t return;\n\t }\n\t this._newSigninPromiseIfNeeded();\n\t if (this.pusher.connection.state !== 'connected') {\n\t return;\n\t }\n\t this.pusher.config.userAuthenticator({\n\t socketId: this.pusher.connection.socket_id\n\t }, this._onAuthorize);\n\t }\n\t _onSigninSuccess(data) {\n\t try {\n\t this.user_data = JSON.parse(data.user_data);\n\t }\n\t catch (e) {\n\t logger.error(`Failed parsing user data after signin: ${data.user_data}`);\n\t this._cleanup();\n\t return;\n\t }\n\t if (typeof this.user_data.id !== 'string' || this.user_data.id === '') {\n\t logger.error(`user_data doesn't contain an id. user_data: ${this.user_data}`);\n\t this._cleanup();\n\t return;\n\t }\n\t this._signinDoneResolve();\n\t this._subscribeChannels();\n\t }\n\t _subscribeChannels() {\n\t const ensure_subscribed = channel => {\n\t if (channel.subscriptionPending && channel.subscriptionCancelled) {\n\t channel.reinstateSubscription();\n\t }\n\t else if (!channel.subscriptionPending &&\n\t this.pusher.connection.state === 'connected') {\n\t channel.subscribe();\n\t }\n\t };\n\t this.serverToUserChannel = new channel_Channel(`#server-to-user-${this.user_data.id}`, this.pusher);\n\t this.serverToUserChannel.bind_global((eventName, data) => {\n\t if (eventName.indexOf('pusher_internal:') === 0 ||\n\t eventName.indexOf('pusher:') === 0) {\n\t return;\n\t }\n\t this.emit(eventName, data);\n\t });\n\t ensure_subscribed(this.serverToUserChannel);\n\t }\n\t _cleanup() {\n\t this.user_data = null;\n\t if (this.serverToUserChannel) {\n\t this.serverToUserChannel.unbind_all();\n\t this.serverToUserChannel.disconnect();\n\t this.serverToUserChannel = null;\n\t }\n\t if (this.signin_requested) {\n\t this._signinDoneResolve();\n\t }\n\t }\n\t _newSigninPromiseIfNeeded() {\n\t if (!this.signin_requested) {\n\t return;\n\t }\n\t if (this.signinDonePromise && !this.signinDonePromise.done) {\n\t return;\n\t }\n\t const { promise, resolve, reject: _ } = flat_promise();\n\t promise.done = false;\n\t const setDone = () => {\n\t promise.done = true;\n\t };\n\t promise.then(setDone).catch(setDone);\n\t this.signinDonePromise = promise;\n\t this._signinDoneResolve = resolve;\n\t }\n\t}\n\n\t// CONCATENATED MODULE: ./src/core/pusher.ts\n\n\n\n\n\n\n\n\n\n\n\n\n\n\tclass pusher_Pusher {\n\t static ready() {\n\t pusher_Pusher.isReady = true;\n\t for (var i = 0, l = pusher_Pusher.instances.length; i < l; i++) {\n\t pusher_Pusher.instances[i].connect();\n\t }\n\t }\n\t static getClientFeatures() {\n\t return keys(filterObject({ ws: runtime.Transports.ws }, function (t) {\n\t return t.isSupported({});\n\t }));\n\t }\n\t constructor(app_key, options) {\n\t checkAppKey(app_key);\n\t validateOptions(options);\n\t this.key = app_key;\n\t this.config = getConfig(options, this);\n\t this.channels = factory.createChannels();\n\t this.global_emitter = new dispatcher_Dispatcher();\n\t this.sessionID = runtime.randomInt(1000000000);\n\t this.timeline = new timeline_Timeline(this.key, this.sessionID, {\n\t cluster: this.config.cluster,\n\t features: pusher_Pusher.getClientFeatures(),\n\t params: this.config.timelineParams || {},\n\t limit: 50,\n\t level: timeline_level.INFO,\n\t version: defaults.VERSION\n\t });\n\t if (this.config.enableStats) {\n\t this.timelineSender = factory.createTimelineSender(this.timeline, {\n\t host: this.config.statsHost,\n\t path: '/timeline/v2/' + runtime.TimelineTransport.name\n\t });\n\t }\n\t var getStrategy = (options) => {\n\t return runtime.getDefaultStrategy(this.config, options, strategy_builder_defineTransport);\n\t };\n\t this.connection = factory.createConnectionManager(this.key, {\n\t getStrategy: getStrategy,\n\t timeline: this.timeline,\n\t activityTimeout: this.config.activityTimeout,\n\t pongTimeout: this.config.pongTimeout,\n\t unavailableTimeout: this.config.unavailableTimeout,\n\t useTLS: Boolean(this.config.useTLS)\n\t });\n\t this.connection.bind('connected', () => {\n\t this.subscribeAll();\n\t if (this.timelineSender) {\n\t this.timelineSender.send(this.connection.isUsingTLS());\n\t }\n\t });\n\t this.connection.bind('message', event => {\n\t var eventName = event.event;\n\t var internal = eventName.indexOf('pusher_internal:') === 0;\n\t if (event.channel) {\n\t var channel = this.channel(event.channel);\n\t if (channel) {\n\t channel.handleEvent(event);\n\t }\n\t }\n\t if (!internal) {\n\t this.global_emitter.emit(event.event, event.data);\n\t }\n\t });\n\t this.connection.bind('connecting', () => {\n\t this.channels.disconnect();\n\t });\n\t this.connection.bind('disconnected', () => {\n\t this.channels.disconnect();\n\t });\n\t this.connection.bind('error', err => {\n\t logger.warn(err);\n\t });\n\t pusher_Pusher.instances.push(this);\n\t this.timeline.info({ instances: pusher_Pusher.instances.length });\n\t this.user = new user_UserFacade(this);\n\t if (pusher_Pusher.isReady) {\n\t this.connect();\n\t }\n\t }\n\t channel(name) {\n\t return this.channels.find(name);\n\t }\n\t allChannels() {\n\t return this.channels.all();\n\t }\n\t connect() {\n\t this.connection.connect();\n\t if (this.timelineSender) {\n\t if (!this.timelineSenderTimer) {\n\t var usingTLS = this.connection.isUsingTLS();\n\t var timelineSender = this.timelineSender;\n\t this.timelineSenderTimer = new timers_PeriodicTimer(60000, function () {\n\t timelineSender.send(usingTLS);\n\t });\n\t }\n\t }\n\t }\n\t disconnect() {\n\t this.connection.disconnect();\n\t if (this.timelineSenderTimer) {\n\t this.timelineSenderTimer.ensureAborted();\n\t this.timelineSenderTimer = null;\n\t }\n\t }\n\t bind(event_name, callback, context) {\n\t this.global_emitter.bind(event_name, callback, context);\n\t return this;\n\t }\n\t unbind(event_name, callback, context) {\n\t this.global_emitter.unbind(event_name, callback, context);\n\t return this;\n\t }\n\t bind_global(callback) {\n\t this.global_emitter.bind_global(callback);\n\t return this;\n\t }\n\t unbind_global(callback) {\n\t this.global_emitter.unbind_global(callback);\n\t return this;\n\t }\n\t unbind_all(callback) {\n\t this.global_emitter.unbind_all();\n\t return this;\n\t }\n\t subscribeAll() {\n\t var channelName;\n\t for (channelName in this.channels.channels) {\n\t if (this.channels.channels.hasOwnProperty(channelName)) {\n\t this.subscribe(channelName);\n\t }\n\t }\n\t }\n\t subscribe(channel_name) {\n\t var channel = this.channels.add(channel_name, this);\n\t if (channel.subscriptionPending && channel.subscriptionCancelled) {\n\t channel.reinstateSubscription();\n\t }\n\t else if (!channel.subscriptionPending &&\n\t this.connection.state === 'connected') {\n\t channel.subscribe();\n\t }\n\t return channel;\n\t }\n\t unsubscribe(channel_name) {\n\t var channel = this.channels.find(channel_name);\n\t if (channel && channel.subscriptionPending) {\n\t channel.cancelSubscription();\n\t }\n\t else {\n\t channel = this.channels.remove(channel_name);\n\t if (channel && channel.subscribed) {\n\t channel.unsubscribe();\n\t }\n\t }\n\t }\n\t send_event(event_name, data, channel) {\n\t return this.connection.send_event(event_name, data, channel);\n\t }\n\t shouldUseTLS() {\n\t return this.config.useTLS;\n\t }\n\t signin() {\n\t this.user.signin();\n\t }\n\t}\n\tpusher_Pusher.instances = [];\n\tpusher_Pusher.isReady = false;\n\tpusher_Pusher.logToConsole = false;\n\tpusher_Pusher.Runtime = runtime;\n\tpusher_Pusher.ScriptReceivers = runtime.ScriptReceivers;\n\tpusher_Pusher.DependenciesReceivers = runtime.DependenciesReceivers;\n\tpusher_Pusher.auth_callbacks = runtime.auth_callbacks;\n\t/* harmony default export */ var core_pusher = (pusher_Pusher);\n\tfunction checkAppKey(key) {\n\t if (key === null || key === undefined) {\n\t throw 'You must pass your app key when you instantiate Pusher.';\n\t }\n\t}\n\truntime.setup(pusher_Pusher);\n\n\t// EXTERNAL MODULE: ./node_modules/tweetnacl/nacl-fast.js\n\tvar nacl_fast = __webpack_require__(2);\n\n\t// CONCATENATED MODULE: ./src/core/pusher-with-encryption.ts\n\n\n\n\tclass pusher_with_encryption_PusherWithEncryption extends core_pusher {\n\t constructor(app_key, options) {\n\t core_pusher.logToConsole = pusher_with_encryption_PusherWithEncryption.logToConsole;\n\t core_pusher.log = pusher_with_encryption_PusherWithEncryption.log;\n\t validateOptions(options);\n\t options.nacl = nacl_fast;\n\t super(app_key, options);\n\t }\n\t}\n\n\n\t/***/ })\n\t/******/ ]);\n\t});\n\t\n} (pusherWithEncryption));\n\nvar pusherWithEncryptionExports = pusherWithEncryption.exports;\n\n// This is a wrapper to make importing the encrypted channel capable web build\n// nicer\n// import Pusher from 'pusher-js/with-encryption'\nvar withEncryption = pusherWithEncryptionExports;\n\nvar Pusher = /*@__PURE__*/getDefaultExportFromCjs(withEncryption);\n\nvar ChatAction;\n(function (ChatAction) {\n ChatAction[\"AgentResponse\"] = \"agent-response\";\n ChatAction[\"AgentAction\"] = \"agent-action\";\n ChatAction[\"AgentActionError\"] = \"agent-action-error\";\n ChatAction[\"Completed\"] = \"completed\";\n})(ChatAction || (ChatAction = {}));\n\n/* eslint-disable no-process-env */\nconst APP_KEY = \"af9e46318302fccfc6db\" ;\nconst APP_CLUSTER = \"mt1\" ;\nclass PusherClient {\n /**\n * Pusher constructor\n * @param isPublic\n * @param host\n * @param headers\n */\n constructor(isPublic, host, headers) {\n this.public = false;\n this.channelPrefix = isPublic ? 'public' : 'private';\n this.pusher = new Pusher(APP_KEY, {\n cluster: APP_CLUSTER,\n channelAuthorization: {\n transport: 'ajax',\n endpoint: `${host}/sdk_api/pusher/auth`,\n headers: Object.assign(Object.assign({}, (headers !== null && headers !== void 0 ? headers : {})), { 'content-type': 'application/json' }),\n },\n });\n }\n /**\n * Subscribe to channel\n * @param channelName\n * @param streamCallback\n * @param streamCompletedCallback\n */\n subscribe(channelName, streamCallback, streamCompletedCallback) {\n return __awaiter(this, void 0, void 0, function* () {\n const channel = `${this.channelPrefix}-${channelName}`;\n // subscribe to channel\n this.channel = this.pusher.subscribe(channel);\n // Wait for subscription to succeed, otherwise we could lose messages\n yield this.waitForSubscription();\n // bind to chunk event\n this.channel.bind('chunk', streamCallback);\n this.channel.bind('completed', (data) => {\n var _a, _b;\n (_a = this.channel) === null || _a === void 0 ? void 0 : _a.unbind_all();\n (_b = this.channel) === null || _b === void 0 ? void 0 : _b.unsubscribe();\n streamCompletedCallback === null || streamCompletedCallback === void 0 ? void 0 : streamCompletedCallback(data);\n });\n return () => {\n var _a, _b;\n (_a = this.channel) === null || _a === void 0 ? void 0 : _a.unbind_all();\n (_b = this.channel) === null || _b === void 0 ? void 0 : _b.unsubscribe();\n };\n });\n }\n /**\n * Subscribe to channel\n * @param channelName\n * @param streamCallback\n * @param streamCompletedCallback\n */\n subscribeChat(channelName, streamCallback, streamCompletedCallback) {\n return __awaiter(this, void 0, void 0, function* () {\n const channel = `${this.channelPrefix}-${channelName}`;\n // subscribe to channel\n this.channel = this.pusher.subscribe(channel);\n // Wait for subscription to succeed, otherwise we could lose messages\n yield this.waitForSubscription();\n // bind to chunk events\n this.channel.bind(ChatAction.AgentResponse, (data) => streamCallback(Object.assign({ action: ChatAction.AgentResponse }, data)));\n this.channel.bind(ChatAction.AgentAction, (data) => streamCallback(Object.assign({ action: ChatAction.AgentAction }, data)));\n this.channel.bind(ChatAction.AgentActionError, (data) => streamCallback(Object.assign({ action: ChatAction.AgentActionError }, data)));\n this.channel.bind(ChatAction.Completed, (data) => {\n var _a, _b;\n (_a = this.channel) === null || _a === void 0 ? void 0 : _a.unbind_all();\n (_b = this.channel) === null || _b === void 0 ? void 0 : _b.unsubscribe();\n streamCompletedCallback === null || streamCompletedCallback === void 0 ? void 0 : streamCompletedCallback(Object.assign({ action: ChatAction.Completed }, data));\n });\n return () => {\n var _a, _b;\n (_a = this.channel) === null || _a === void 0 ? void 0 : _a.unbind_all();\n (_b = this.channel) === null || _b === void 0 ? void 0 : _b.unsubscribe();\n };\n });\n }\n waitForSubscription() {\n return new Promise((resolve, reject) => {\n var _a, _b;\n (_a = this.channel) === null || _a === void 0 ? void 0 : _a.bind('pusher:subscription_error', (error) => {\n reject(new Error(`Subscription error: ${error}`));\n });\n (_b = this.channel) === null || _b === void 0 ? void 0 : _b.bind('pusher:subscription_succeeded', () => {\n resolve(true);\n });\n });\n }\n}\n\nclass ApiError extends Error {\n constructor(error) {\n super(error.message);\n this.status = error.status;\n }\n}\n\nclass CustomFetch {\n constructor(userId, workspaceId, hashedUserId) {\n this.userId = userId;\n this.workspaceId = workspaceId;\n this.hashedUserId = hashedUserId;\n }\n post(url, payload) {\n return __awaiter(this, void 0, void 0, function* () {\n const headers = this.getHeaders();\n const response = yield fetch(url, {\n method: 'POST',\n headers,\n body: JSON.stringify(payload),\n });\n if (!response.ok) {\n yield this.handleError(response);\n }\n try {\n return yield response.json();\n }\n catch (e) {\n // Can't parse response (i.e: empty response)\n }\n });\n }\n patch(url, payload) {\n return __awaiter(this, void 0, void 0, function* () {\n const headers = this.getHeaders();\n const response = yield fetch(url, Object.assign({ method: 'PATCH', headers }, (payload !== undefined && {\n body: JSON.stringify(payload),\n })));\n if (!response.ok) {\n yield this.handleError(response);\n }\n if (response.status === 204) {\n return;\n }\n return yield response.json();\n });\n }\n get(url) {\n return __awaiter(this, void 0, void 0, function* () {\n const headers = this.getHeaders();\n const response = yield fetch(url, { method: 'GET', headers });\n if (!response.ok) {\n yield this.handleError(response);\n }\n return yield response.json();\n });\n }\n getHeaders() {\n const headers = new Headers();\n headers.append('content-type', 'application/json');\n if (this.userId && this.workspaceId && this.hashedUserId) {\n headers.append('user_id', this.userId);\n headers.append('workspace_id', this.workspaceId.toString());\n headers.append('user_id_hashed', this.hashedUserId);\n }\n return headers;\n }\n handleError(response) {\n return __awaiter(this, void 0, void 0, function* () {\n let apiError;\n try {\n const error = yield response.json();\n apiError = { message: error.error, status: response.status };\n }\n catch (_a) {\n apiError = {\n message: response.statusText || 'Internal API error',\n status: response.status,\n };\n }\n throw new ApiError(apiError);\n });\n }\n}\n\nclass AirOpsApps {\n /**\n * App constructor\n * @param params\n * @param params.userId - User ID\n * @param params.workspaceId - Workspace ID\n * @param params.hashedUserId - Hashed User ID\n * @param params.host - Host URL optional\n */\n constructor(params) {\n const { userId, workspaceId, hashedUserId, host = 'https://app.airops.com' } = params;\n this.customFetch = new CustomFetch(userId, workspaceId, hashedUserId);\n this.userId = userId;\n this.workspaceId = workspaceId;\n this.hashedUserId = hashedUserId;\n this.host = host;\n }\n /**\n * Get app\n * @param appId - App Id\n * @returns App execution output\n */\n get(appId) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!appId) {\n throw new Error('You must provide an app id.');\n }\n const url = `${this.host}/sdk_api/airops_app_bases/${appId}?methods=type`;\n return yield this.customFetch.get(url);\n });\n }\n /**\n * Execute an app\n * @param params\n * @param params.appId - App ID\n * @param params.version - App version\n * @param params.payload - App input\n * @param params.stream - Stream enabled?\n * @param params.streamCallback - Callback function for stream\n * @param params.streamCompletedCallback - Callback function for stream completed\n * @returns - App output\n */\n execute(params) {\n return __awaiter(this, void 0, void 0, function* () {\n const { appId, version, payload, stream, streamCallback, streamCompletedCallback } = params;\n if (!appId) {\n throw new Error('You must provide an app id.');\n }\n let pusher = null;\n let apiPayload = payload;\n let unsubscribeMethod = () => null;\n if (stream && streamCallback) {\n pusher = yield this.initializePusher(appId);\n const channelName = v4();\n apiPayload = Object.assign(Object.assign({}, payload), { stream_channel_id: channelName });\n unsubscribeMethod = yield pusher.subscribe(channelName, streamCallback, streamCompletedCallback);\n }\n else if (stream) {\n throw new Error('You must provide a callback function when streaming.');\n }\n const url = version\n ? `${this.host}/sdk_api/airops_apps/${appId}/async_execute/v${version}`\n : `${this.host}/sdk_api/airops_apps/${appId}/async_execute`;\n const response = yield this.customFetch.post(url, apiPayload);\n return {\n executionId: response.airops_app_execution.uuid,\n result: () => this.pollExecutionResult(response),\n cancel: () => __awaiter(this, void 0, void 0, function* () {\n unsubscribeMethod === null || unsubscribeMethod === void 0 ? void 0 : unsubscribeMethod();\n yield this.cancelExecution({\n executionId: response.airops_app_execution.uuid,\n });\n }),\n };\n });\n }\n /**\n * Chat stream\n * @param params\n * @param params.message - Message to send\n * @param params.appId - App ID\n * @param params.sessionId - Session ID\n * @param params.streamCallback - Callback function for stream\n * @param params.streamCompletedCallback - Callback function for stream completed\n * @returns - Chat stream response\n */\n chatStream(params) {\n return __awaiter(this, void 0, void 0, function* () {\n const { message, appId, inputs, streamCallback, streamCompletedCallback, sessionId } = params;\n if (!message || !appId || !streamCallback) {\n throw new Error('You must provide a message, appId and streamCallback.');\n }\n const streamChannelId = v4();\n const chatSessionId = sessionId ? sessionId : v4();\n const pusher = yield this.initializePusher(params.appId);\n const unsubscribeMethod = yield pusher.subscribeChat(streamChannelId, streamCallback, streamCompletedCallback);\n const payload = {\n definition: null,\n inputs,\n message,\n stream_channel_id: streamChannelId,\n session_id: chatSessionId,\n };\n const url = `${this.host}/sdk_api/agent_apps/${appId}/chat_stream`;\n const response = yield this.customFetch.post(url, payload);\n return {\n cancel: () => __awaiter(this, void 0, void 0, function* () {\n unsubscribeMethod === null || unsubscribeMethod === void 0 ? void 0 : unsubscribeMethod();\n yield this.cancelExecution({\n executionId: response.airops_app_execution.uuid,\n });\n }),\n sessionId: chatSessionId,\n result: () => this.pollExecutionResult(response),\n };\n });\n }\n /**\n * Get app execution status\n * @param params\n * @param params.appId - App Id\n * @param params.executionId - Execution Id\n * @returns App execution output\n */\n getResults(params) {\n return __awaiter(this, void 0, void 0, function* () {\n const { executionId } = params;\n const url = `${this.host}/sdk_api/airops_apps/executions/${executionId}`;\n return yield this.customFetch.get(url);\n });\n }\n /**\n * Cancel execution\n * @param params\n * @param params.appId - App ID\n * @param params.executionId - Execution ID\n */\n cancelExecution(params) {\n return __awaiter(this, void 0, void 0, function* () {\n const { executionId } = params;\n const url = `${this.host}/sdk_api/airops_apps/executions/${executionId}/cancel`;\n yield this.customFetch.patch(url);\n });\n }\n pollExecutionResult(response) {\n return __awaiter(this, void 0, void 0, function* () {\n const timeout = 10 * 60 * 1000; // Timeout in milliseconds (10 minutes)\n const startTime = Date.now();\n let result = null;\n while (!result || ['queued', 'pending', 'running'].includes(result === null || result === void 0 ? void 0 : result.status)) {\n if (Date.now() - startTime > timeout) {\n throw new Error('App execution timeout. You can retrieve the results using the appId & executionId.');\n }\n result = yield this.getResults({\n executionId: response.airops_app_execution.uuid,\n });\n yield new Promise((resolve) => setTimeout(resolve, 500));\n }\n return result;\n });\n }\n initializePusher(appId) {\n return __awaiter(this, void 0, void 0, function* () {\n const app = yield this.get(appId);\n return new PusherClient(app.public, this.host, Object.assign(Object.assign(Object.assign({}, (this.userId && { user_id: this.userId })), (this.workspaceId && { workspace_id: this.workspaceId })), (this.hashedUserId && { user_id_hashed: this.hashedUserId })));\n });\n }\n}\n\nclass AirOps {\n constructor(params) {\n if (params) {\n const { userId, workspaceId, hashedUserId, host } = params;\n this.workspaceId = workspaceId;\n this.userId = userId;\n this.hashedUserId = hashedUserId;\n this.host = host || 'https://app.airops.com';\n }\n }\n /**\n * AirOps indentify\n * @param params\n * @param params.userId - User ID\n * @param params.workspaceId - Workspace ID\n * @param params.hashedUserId - Hashed User ID\n * @param params.host - Host URL optional\n * @returns - AirOps instance\n */\n static identify(params) {\n const { workspaceId, userId, hashedUserId } = params;\n if (!workspaceId || !userId || !hashedUserId) {\n throw new Error('You must provide workspaceId, userId and hashedUserId to identify');\n }\n return new AirOps(params);\n }\n /**\n * AirOps indentify\n * @returns - Apps instance\n */\n get apps() {\n return new AirOpsApps({\n workspaceId: this.workspaceId,\n userId: this.userId,\n hashedUserId: this.hashedUserId,\n host: this.host,\n });\n }\n}\n\nexport { ChatAction, AirOps as default };\n","\n\n\n","export default \"\\n\\n\\n\\n\\n\\n\\n\\n\\n\"","\n\n\n\n\n","\n\n\n\n\n","export default \"__VITE_ASSET__LED28aBG__\"","export default \"__VITE_ASSET__KFN7vSTT__\"","export default \"__VITE_ASSET__BDZJLHrF__\"","export default \"__VITE_ASSET__B85SYoDa__\"","export default \"__VITE_ASSET__DIW8k5eF__\"","export default \"__VITE_ASSET__C1q5WG6D__\"","\n\n\n","\n\n\n","export default {\n data() {\n return {\n company_filters: [],\n size_group_filters: [],\n sector_filters: [],\n seniority_filters: [],\n recipient_role_filters: [],\n survey_filters: [],\n volunteer_activity_filters: [],\n tag_filters: [],\n }\n },\n computed: {\n the_size_group_filters() {\n return [\n { value: '', text: 'All Company Sizes' },\n ...this.size_group_filters.map((f) => ({\n value: f.id,\n text: `${f.name} (${f.count})`,\n })),\n ]\n },\n the_sector_filters() {\n return [\n { value: '', text: 'All Industries' },\n ...this.sector_filters.map((f) => ({\n value: f.id,\n text: `${f.name} (${f.count})`,\n })),\n ]\n },\n the_seniority_filters() {\n return [\n { value: '', text: 'All Seniority' },\n ...this.seniority_filters.map((f) => ({\n value: f.id,\n text: `${f.name} (${f.count})`,\n })),\n ]\n },\n the_recipient_role_filters() {\n return [\n { value: '', text: 'All Roles' },\n ...this.recipient_role_filters.map((f) => ({\n value: f.id,\n text: `${f.name} (${f.count})`,\n })),\n ]\n },\n the_survey_filters() {\n return [{ value: '', text: 'All Surveys' }, ...this.survey_filters]\n },\n the_volunteer_activity_filters() {\n return [\n { value: '', text: 'All Volunteers' },\n ...this.volunteer_activity_filters.map((a) => ({\n value: a['key'],\n text: `${a['key']} (${a['doc_count']})`,\n })),\n ]\n },\n the_tag_filters() {\n return [\n { value: '', text: 'All Tags' },\n ...this.tag_filters.map((f) => ({\n value: f.id,\n text: `${f.name} (${f.count})`,\n })),\n ]\n },\n },\n}\n","import { trackEvent } from '@lib/tracking'\n\n// This mixin contains all the possible parameters to filter and sort a table\n// not all parameters are used on all tables, but it will ignore ones not\n// necessary. this allows us to DRY the code and consolidate logic into a\n// single place\nexport default {\n data() {\n return {\n initialized: false,\n // setting this to true is a way to trigger the watchers to fire\n // and can be used to kick off the data load without explicitly\n // calling it in the mounted method\n redraw: false,\n // these are the fields associated with the recipient table\n // @TODO This doesn't currently support the volunteers param, which is needed for AdvocatesTable to work\n table_properties: [\n 'q',\n 'type',\n 'per_page',\n 'page',\n 'sort_by',\n 'sort_dir',\n 'responded',\n 'view',\n 'header',\n ],\n // these are the variable that gets set when a filter is selected\n filter_properties: [\n 'size_group',\n 'sector_id',\n 'seniority',\n 'recipient_role_id',\n 'volunteer_activity',\n 'survey_id',\n 'tag',\n 'asset_list_id',\n 'edit_asset_list_id',\n 'classifier_value_ids',\n 'type',\n ],\n type: this.$route.query.type || '',\n view: this.$route.query.view || 'card',\n header: this.$route.query.header || '',\n q: this.$route.query.q || '',\n sort_by: this.$route.query.sort_by || 'last_name',\n sort_dir: this.$route.query.sort_dir || 'desc',\n page: Number(this.$route.query.page) || 1,\n per_page: Number(this.$route.query.per_page) || 25,\n tab: Number(this.$route.query.tab) || 0,\n tag: this.$route.query.tag || '',\n question_id: this.$route.query.question_id || '',\n responded: 1,\n asset_list_id: this.$route.query.asset_list_id || null,\n edit_asset_list_id: this.$route.query.edit_asset_list_id || null,\n survey_id: this.$route.query.survey_id || '',\n size_group: this.$route.query.size_group || '',\n classifier_value_ids: this.$route.query.classifier_value_ids || '',\n sector_id: this.$route.query.sector_id || '',\n seniority: this.$route.query.seniority || '',\n recipient_role_id: this.$route.query.recipient_role_id || '',\n volunteer_activity: this.$route.query.volunteer_activity || '',\n }\n },\n methods: {\n resetPage() {\n this.page = 1\n },\n },\n computed: {\n all_properties() {\n return this.table_properties.concat(this.filter_properties)\n },\n filter_watchers() {\n return this.filter_properties.map((p) => this[p])\n },\n all_watchers() {\n // note comment in data section about `redraw`\n return this.all_properties.map((p) => this[p]).concat([this.redraw == true])\n },\n // this will return an object of all the variables that have been set\n the_query() {\n var query = {}\n this.all_properties.forEach((q) => {\n if (this[q] === null || this[q] === '') return\n query[q] = this[q]\n })\n return query\n },\n },\n watch: {\n filter_watchers() {\n // this watcher can also be defined on the component\n // and implement specific logic\n this.resetPage()\n },\n all_watchers() {\n // we keep an eye on the properties and push them to the url if they change\n trackEvent('assets searched', this.the_query)\n if (this.initialized) this.$router.push({ query: Object.assign({}, this.the_query) })\n this.initialized = true\n },\n },\n}\n","\n\n\n\n\n","\n\n","\n\n\n","\n\n\n\n\n","\n\n\n\n","// Houses common functionality about all assets\n\nexport function assetPath(asset) {\n switch (asset.type) {\n case 'AssetList':\n return `/app/asset_lists/${asset.id}`\n case 'RenderableTestimonial':\n return `/app/testimonials/${asset.id}`\n case 'MatrixxChart':\n return `/app/matrixx_charts/${asset.id}`\n case 'CustomerSpotlight':\n return `/app/customer_spotlights/${asset.id}`\n case 'VideoLinkAsset':\n return `/app/video_link_assets/${asset.id}`\n case 'FileAsset':\n return `/app/file_assets/${asset.id}`\n case 'CaseStudy':\n return `/app/case_studies/${asset.id}`\n default:\n return `/app/content_assets/${asset.id}`\n }\n}\n","\n\n","\n\n\n","\n\n\n\n"],"names":["api","_sfc_main","spotlight_mixins","_b","_a","_d","_c","UserIcon","SmallSurveySpotlightIcon","AccountIcon","date_string","dayjs","_sfc_main$f","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","getRandomValues","rnds8","rng","byteToHex","i","unsafeStringify","arr","offset","randomUUID","native","v4","options","buf","rnds","getDefaultExportFromCjs","x","pusherWithEncryption","module","exports","root","factory","modules","installedModules","__webpack_require__","moduleId","name","getter","mode","ns","key","object","property","__extends","extendStatics","d","b","p","__","INVALID_BYTE","Coder","_paddingCharacter","length","data","out","c","left","s","paddingLength","op","haveBad","v0","v1","v2","v3","stdCoder","encode","decode","URLSafeCoder","_super","urlSafeCoder","encodeURLSafe","decodeURLSafe","INVALID_UTF16","INVALID_UTF8","encodedLength","pos","chars","min","n1","n2","n3","nacl","gf","init","r","randombytes","_0","_9","gf0","gf1","_121665","D","D2","X","Y","I","ts64","h","l","vn","xi","y","yi","n","crypto_verify_16","crypto_verify_32","core_salsa20","o","k","j0","j1","j2","j3","j4","j5","j6","j7","j8","j9","j10","j11","j12","j13","j14","j15","x0","x1","x2","x3","x4","x5","x6","x7","x8","x9","x10","x11","x12","x13","x14","x15","core_hsalsa20","crypto_core_salsa20","inp","crypto_core_hsalsa20","sigma","crypto_stream_salsa20_xor","cpos","m","mpos","z","u","crypto_stream_salsa20","crypto_stream","sn","crypto_stream_xor","poly1305","t0","t1","t2","t3","t4","t5","t6","t7","bytes","hibit","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","h0","h1","h2","h3","h4","h5","h6","h7","h8","h9","r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","mac","macpos","g","mask","f","want","crypto_onetimeauth","outpos","crypto_onetimeauth_verify","hpos","crypto_secretbox","crypto_secretbox_open","set25519","a","car25519","v","sel25519","q","t","pack25519","j","neq25519","par25519","unpack25519","A","Z","M","t8","t9","t10","t11","t12","t13","t14","t15","t16","t17","t18","t19","t20","t21","t22","t23","t24","t25","t26","t27","t28","t29","t30","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","b10","b11","b12","b13","b14","b15","S","inv25519","pow2523","crypto_scalarmult","x32","x16","crypto_scalarmult_base","crypto_box_keypair","crypto_box_beforenm","crypto_box_afternm","crypto_box_open_afternm","crypto_box","crypto_box_open","K","crypto_hashblocks_hl","hh","hl","wh","wl","bh0","bh1","bh2","bh3","bh4","bh5","bh6","bh7","bl0","bl1","bl2","bl3","bl4","bl5","bl6","bl7","th","tl","ah0","ah1","ah2","ah3","ah4","ah5","ah6","ah7","al0","al1","al2","al3","al4","al5","al6","al7","crypto_hash","add","cswap","pack","tx","ty","zi","scalarmult","scalarbase","crypto_sign_keypair","pk","sk","seeded","L","modL","carry","reduce","crypto_sign","sm","smlen","unpackneg","chk","num","den","den2","den4","den6","crypto_sign_open","crypto_secretbox_KEYBYTES","crypto_secretbox_NONCEBYTES","crypto_secretbox_ZEROBYTES","crypto_secretbox_BOXZEROBYTES","crypto_scalarmult_BYTES","crypto_scalarmult_SCALARBYTES","crypto_box_PUBLICKEYBYTES","crypto_box_SECRETKEYBYTES","crypto_box_BEFORENMBYTES","crypto_box_NONCEBYTES","crypto_box_ZEROBYTES","crypto_box_BOXZEROBYTES","crypto_sign_BYTES","crypto_sign_PUBLICKEYBYTES","crypto_sign_SECRETKEYBYTES","crypto_sign_SEEDBYTES","crypto_hash_BYTES","checkLengths","checkBoxLengths","checkArrayTypes","cleanup","msg","nonce","box","publicKey","secretKey","signedMsg","tmp","mlen","sig","seed","fn","crypto","QUOTA","__webpack_exports__","pusher_with_encryption_PusherWithEncryption","ScriptReceiverFactory","prefix","callback","number","id","called","callbackWrapper","receiver","ScriptReceivers","Defaults","defaults","dependency_loader_DependencyLoader","self","request","runtime","error","callbacks","successCallback","wasSuccessful","cdn","protocol","DependenciesReceivers","Dependencies","urlStore","url_store","urlPrefix","urlObj","url","AuthRequestType","BadEventName","BadChannelName","RequestTimedOut","TransportPriorityTooLow","TransportClosed","UnsupportedFeature","UnsupportedTransport","UnsupportedStrategy","HTTPAuthError","status","xhr_auth","context","query","authOptions","authRequestType","xhr","headerName","dynamicHeaders","parsed","suffix","btoa","utob","fromCharCode","b64chars","cb_utob","cc","cb_encode","ccc","padlen","ord","Timer","set","clear","delay","abstract_timer","timers_clearTimeout","timer","timers_clearInterval","timers_OneOffTimer","timers_PeriodicTimer","Util","args","boundArguments","util","extend","target","sources","extensions","stringify","safeJSONStringify","arrayIndexOf","array","item","nativeIndexOf","objectApply","keys","_","values","apply","map","mapObject","filter","test","filterObject","flatten","any","collections_all","encodeParamsObject","buildQueryString","params","decycleObject","objects","paths","derez","path","nu","source","logger_Logger","message","defaultLoggingFunction","core_pusher","logger","jsonp","callbackName","document","script","callback_name","head","jsonp_auth","ScriptRequest","src","errorString","jsonp_request_JSONPRequest","getAgent","sender","useTLS","scheme","jsonp_timeline_jsonp","jsonp_timeline","getGenericURL","baseScheme","host","getGenericPath","queryString","ws","http","sockjs","callback_registry_CallbackRegistry","prefixedEventName","names","binding","dispatcher_Dispatcher","failThrough","eventName","metadata","transport_connection_TransportConnection","hooks","priority","closeEvent","state","transport_Transport","environment","WSTransport","httpConfiguration","streamingConfiguration","pollingConfiguration","xhrConfiguration","XHRStreamingTransport","XHRPollingTransport","Transports","transports","SockJSTransport","socket","xdrConfiguration","yes","XDRStreamingTransport","XDRPollingTransport","transports_transports","net_info_NetInfo","net_info_Network","assistant_to_the_transport_manager_AssistantToTheTransportManager","manager","transport","connection","openTimestamp","onOpen","onClosed","lifespan","Protocol","messageEvent","messageData","pusherEventData","pusherEvent","event","protocol_protocol","connection_Connection","channel","listeners","unbindListeners","listener","action","handshake_Handshake","timeline_sender_TimelineSender","timeline","channel_Channel","pusher","socketId","private_channel_PrivateChannel","members_Members","member","subscriptionData","memberData","presence_channel_PresenceChannel","authData","channelData","addedMember","removedMember","utf8","base64","encrypted_channel_EncryptedChannel","sharedSecret","cipherText","raw","connection_manager_ConnectionManager","Network","handshake","errorCallbacks","withErrorEmitted","newState","previousState","newStateDescription","channels_Channels","createChannel","errMsg","Factory","transport_manager_TransportManager","sequential_strategy_SequentialStrategy","strategies","minPriority","current","timeout","runner","tryNextStrategy","strategy","best_connected_ever_strategy_BestConnectedEverStrategy","connect","runners","allRunnersFailed","callbackBuilder","rs","abortRunner","cached_strategy_CachedStrategy","usingTLS","info","fetchTransportCache","startTimestamp","cb","flushTransportCache","storeTransportCache","getTransportCacheKey","storage","serializedCache","latency","delayed_strategy_DelayedStrategy","IfStrategy","trueBranch","falseBranch","branch","FirstConnectedStrategy","testSupportsStrategy","getDefaultStrategy","config","baseOptions","defineTransport","definedTransports","defineTransportStrategy","type","ws_options","wss_options","sockjs_options","timeouts","ws_manager","streaming_manager","ws_transport","wss_transport","sockjs_transport","xhr_streaming_transport","xdr_streaming_transport","xhr_polling_transport","xdr_polling_transport","ws_loop","wss_loop","sockjs_loop","streaming_loop","polling_loop","http_loop","http_fallback_loop","wsStrategy","default_strategy","transport_connection_initializer","http_xdomain_request_hooks","xdr","http_xdomain_request","MAX_BUFFER_LENGTH","http_request_HTTPRequest","method","payload","chunk","buffer","unreadData","endOfLinePosition","State","autoIncrement","http_socket_HTTPSocket","randomNumber","randomString","getLocation","code","reason","getUniqueURL","getSendURL","wasClean","replaceHost","parts","session","separator","hostname","urlParts","max","http_socket","http_streaming_socket_hooks","http_streaming_socket","http_polling_socket_hooks","http_polling_socket","http_xhr_request_hooks","Constructor","http_xhr_request","HTTP","http_http","web_http_http","Runtime","PusherClass","initializeOnDocumentBody","documentProtocol","TimelineLevel","timeline_level","timeline_Timeline","level","sendfn","transport_strategy_TransportStrategy","failAttempt","connected","onInitialized","onError","serializedTransport","strategy_builder_Transports","strategy_builder_defineTransport","transportClass","enabled","strategy_builder_UnsupportedStrategy","deferred","validateOptions","composeChannelQuery","dynamicParams","user_authenticator","channel_authorizer_composeChannelQuery","channel_authorizer","ChannelAuthorizerProxy","channelAuthorizerGenerator","deprecatedAuthorizerOptions","getConfig","opts","getEnableStatsConfig","getHttpHost","shouldUseTLS","getWebsocketHost","buildUserAuthenticator","buildChannelAuthorizer","getWebsocketHostFromCluster","cluster","userAuthentication","buildChannelAuth","channelAuthorization","watchlist_WatchlistFacade","watchlistEvent","flatPromise","res","rej","flat_promise","user_UserFacade","err","previous","ensure_subscribed","promise","setDone","pusher_Pusher","app_key","checkAppKey","getStrategy","internal","timelineSender","event_name","channelName","channel_name","nacl_fast","pusherWithEncryptionExports","withEncryption","Pusher","ChatAction","APP_KEY","APP_CLUSTER","PusherClient","isPublic","headers","streamCallback","streamCompletedCallback","ApiError","CustomFetch","userId","workspaceId","hashedUserId","response","apiError","AirOpsApps","appId","version","stream","apiPayload","unsubscribeMethod","inputs","sessionId","streamChannelId","chatSessionId","executionId","startTime","app","AirOps","_sfc_main$e","aiMagicIcon","_sfc_main$d","EllipsisLoader","MarkdownIt","_sfc_main$b","BotMessage","ChatSendButton","questionText","newToken","define_process_env_default","appsignal","span","chatBoxContent","verticalBarChartPreviewStyledTheme","verticalBarChartPreviewBasicTheme","statPreviewStyledTheme","statPreviewBasicTheme","multiPageSpotlight","customerSpotlightPreviewImage","_sfc_main$a","TimesIcon","ShareTestimonialModalGuts","basic_url","styled_url","left_image","right_image","left_text","right_text","trackEvent","assetEventData","snippet","variant_type","variant","append","_sfc_main$9","AssetPresenter","CopyEmbedCode","CopyShareLink","mapState","useUserStore","slide_templates","active_id","sharedThemes","testimonialThemes","customThemeOptions","theme","sharedOptions","notTestimonialOptions","theme_type","new_window","current_style","getTestimonialThemesMap","renderAsset","downloadContentAsset","filters","url_manager","_sfc_main$8","UercRibbon","_sfc_main$7","__default__","AssetSourceMixin","BrandedAssetMixin","generateShareLink","getPreviewUrl","_sfc_main$5","_sfc_main$4","ButtonNew","MatrixxChartBasic","MatrixxChartBranded","downloadMatrixxChart","assetPath","asset","_sfc_main$3","FileAsset","VideoLinkAsset","TestimonialBasic","BarChartBasic","StatBasic","Microsite","SpotlightPreview","GridAssetPresenter","GrabIcon","draggable","sortBy","newIndex","itemId","reorderAssetListItem","resp","_e","positions","lastPosition","newAssetPositions","newSortableAssets","position"],"mappings":"2aAEA,MAAeA,GAAA,CACb,SAAU,CACR,WAAY,CACV,GAAI,KAAK,OAAO,MAAM,MAAQ,YAC5B,MAAO,mBAAmB,KAAK,cAAc,UAAU,EAAE,GACtD,GAAI,KAAK,OAAO,MAAM,MAAQ,YACjC,MAAO,+DACJ,GAAI,KAAK,OAAO,MAAM,MAAQ,OACjC,MAAO,uBAAuB,KAAK,cAAc,EAAE,EACtD,CACF,EACD,QAAS,CAAE,GAAGA,EAAK,CACrB,ECPAC,GAAA,CACA,MAAA,CAAA,eAAA,EACA,SAAA,CACA,QAAA,CACA,OAAA,KAAA,eAAA,SACA,CACA,CACA,4YCDAA,GAAA,CACA,MAAA,CACA,KAAA,CACA,QAAA,SACA,CACA,CACA,kwBCRAA,GAAA,CACA,MAAA,CACA,KAAA,CACA,QAAA,SACA,CACA,CACA,mYCjBeC,GAAA,CACb,SAAU,CACR,uBAAwB,CACtB,OAAO,KAAK,cAAc,KAAK,QAAQ,mBAAmB,GAAK,CAChE,EACD,qBAAsB,CACpB,OAAO,KAAK,cAAc,KAAK,QAAQ,iBAAiB,GAAK,CAC9D,EAED,sBAAuB,CACrB,OAAO,KAAK,cAAc,QAAU,SACrC,EACD,eAAgB,CACd,OAAO,KAAK,cAAc,KAAK,QAAQ,WAAW,GAAK,CACxD,EACD,gBAAiB,aACf,QACEC,GAAAC,EAAA,KAAK,gBAAL,YAAAA,EAAoB,YAApB,YAAAD,EAA+B,aAAc,iBAC7CE,GAAAC,EAAA,KAAK,gBAAL,YAAAA,EAAoB,UAApB,YAAAD,EAA6B,eAEhC,CACF,CACH,ECWAJ,GAAA,CACA,WAAA,CAAA,SAAAM,GAAA,yBAAAC,GAAA,YAAAC,EAAA,EACA,OAAA,CAAAP,EAAA,EACA,M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