From ff1c25ec3bb074682e41cea3d8f0ade4fa284043 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 16:45:12 +0000 Subject: [PATCH 01/16] bundlesize check --- .github/workflows/nodejs.yml | 2 + .gitignore | 5 +- config/bundlesize.json | 8 + dist/assets/article.js | 2134 ++++++++++++++++++++++++++++++++++ dist/assets/liveblog.js | 113 ++ package-lock.json | 319 ++++- package.json | 4 +- 7 files changed, 2581 insertions(+), 4 deletions(-) create mode 100644 config/bundlesize.json create mode 100644 dist/assets/article.js create mode 100644 dist/assets/liveblog.js diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 782eeec29..237cf68d0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -28,3 +28,5 @@ jobs: run: npm run lint - name: test run: npm run test:run + - name: bundlesize + run: npm run bundlesize diff --git a/.gitignore b/.gitignore index 417f9c954..7a69ebee5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,7 @@ node_modules .DS_Store # Built files -dist +dist/* + +# used to track client bundle sizes +!dist/assets/ \ No newline at end of file diff --git a/config/bundlesize.json b/config/bundlesize.json new file mode 100644 index 000000000..c83be8566 --- /dev/null +++ b/config/bundlesize.json @@ -0,0 +1,8 @@ +{ + "files": [ + { + "path": "./dist/assets/article.js", + "maxSize": "100 kB" + } + ] + } \ No newline at end of file diff --git a/dist/assets/article.js b/dist/assets/article.js new file mode 100644 index 000000000..18bf2f3aa --- /dev/null +++ b/dist/assets/article.js @@ -0,0 +1,2134 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/client/article.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW2_24 = Math.pow(2, 24);\nconst POW2_31 = Math.pow(2, 31);\nconst POW2_32 = Math.pow(2, 32);\nconst POW10_11 = Math.pow(10, 11);\nconst VAL32 = 0x100000000;\nconst _HEX = [];\nfor (let i = 0; i < 256; i++) {\n _HEX[i] = (i > 0xf ? '' : '0') + i.toString(16);\n}\nclass Int64 {\n constructor(...args) {\n if (args[0] instanceof Buffer) {\n this.buffer = args[0];\n this.offset = args[1] || 0;\n }\n else if (Object.prototype.toString.call(args[0]) === '[object Uint8Array]') {\n this.buffer = Buffer.from(args[0]);\n this.offset = args[1] || 0;\n }\n else {\n this.buffer = Buffer.alloc(8);\n this.offset = 0;\n this.setValue(args[0], args[1]);\n }\n }\n static toDecimalString(i64) {\n if (typeof i64 === 'number') {\n return `${i64}`;\n }\n else {\n return i64.toDecimalString();\n }\n }\n static fromDecimalString(text) {\n const negative = text.charAt(0) === '-';\n if (text.length < (negative ? 17 : 16)) {\n return new Int64(+text);\n }\n else if (text.length > (negative ? 20 : 19)) {\n throw new RangeError(`Too many digits for Int64: ${text}`);\n }\n else {\n const high5 = +text.slice(negative ? 1 : 0, -15);\n let low = +text.slice(-15) + high5 * 2764472320;\n let high = Math.floor(low / POW2_32) + high5 * 232830;\n low = low % POW2_32;\n if (high >= POW2_31 &&\n !(negative && high === POW2_31 && low === 0)) {\n throw new RangeError('The magnitude is too large for Int64.');\n }\n if (negative) {\n high = ~high;\n if (low === 0) {\n high = (high + 1) & 0xffffffff;\n }\n else {\n low = ~low + 1;\n }\n high = 0x80000000 | high;\n }\n return new Int64(high, low);\n }\n }\n setValue(hi, lo) {\n let negate = false;\n if (lo === undefined) {\n if (typeof hi === 'number') {\n negate = hi < 0;\n hi = Math.abs(hi);\n lo = hi % VAL32;\n hi = hi / VAL32;\n if (hi > VAL32) {\n throw new RangeError(hi + ' is outside Int64 range');\n }\n else {\n hi = hi | 0;\n }\n }\n else if (typeof hi === 'string') {\n hi = (hi + '').replace(/^0x/, '');\n lo = hi.substr(-8);\n hi = hi.length > 8 ? hi.substr(0, hi.length - 8) : '';\n hi = parseInt(hi, 16);\n lo = parseInt(lo, 16);\n }\n else {\n throw new Error(hi + ' must be a Number or String');\n }\n }\n const b = this.buffer;\n const o = this.offset;\n for (let i = 7; i >= 0; i--) {\n b[o + i] = lo & 0xff;\n lo = i === 4 ? hi : lo >>> 8;\n }\n if (negate) {\n this._2scomp();\n }\n }\n toDecimalString() {\n const i64 = this;\n let b = i64.buffer;\n const o = i64.offset;\n if ((!b[o] && !(b[o + 1] & 0xe0)) || (!~b[o] && !~(b[o + 1] & 0xe0))) {\n return i64.toString();\n }\n else {\n const negative = b[o] & 0x80;\n if (negative) {\n let incremented = 0;\n const buffer = Buffer.alloc(8);\n for (let i = 7; i >= 0; --i) {\n buffer[i] = (~b[o + i] + (incremented ? 0 : 1)) & 0xff;\n incremented = incremented | b[o + i];\n }\n b = buffer;\n }\n const high2 = b[o + 1] + (b[o] << 8);\n const low = b[o + 7] +\n (b[o + 6] << 8) +\n (b[o + 5] << 16) +\n b[o + 4] * POW2_24 +\n (b[o + 3] + (b[o + 2] << 8)) * POW2_32 +\n high2 * 74976710656;\n const high = Math.floor(low / POW10_11) + high2 * 2814;\n const lowStr = ('00000000000' + String(low % POW10_11)).slice(-11);\n return (negative ? '-' : '') + String(high) + lowStr;\n }\n }\n toNumber(allowImprecise = true) {\n const buf = this.buffer;\n const off = this.offset;\n const negate = buf[off] & 0x80;\n let x = 0;\n let carry = 1;\n for (let i = 7, m = 1; i >= 0; i--, m *= 256) {\n let v = buf[off + i];\n if (negate) {\n v = (v ^ 0xff) + carry;\n carry = v >> 8;\n v = v & 0xff;\n }\n x += v * m;\n }\n if (!allowImprecise && x >= Int64.MAX_INT) {\n return negate ? -Infinity : Infinity;\n }\n return negate ? -x : x;\n }\n valueOf() {\n return this.toNumber(false);\n }\n toString(radix = 10) {\n return this.valueOf().toString(radix);\n }\n toOctetString(sep) {\n const out = new Array(8);\n const buf = this.buffer;\n const off = this.offset;\n for (let i = 0; i < 8; i++) {\n out[i] = _HEX[buf[off + i]];\n }\n return out.join(sep || '');\n }\n toBuffer(rawBuffer) {\n if (rawBuffer && this.offset === 0) {\n return this.buffer;\n }\n else {\n const out = Buffer.alloc(8);\n this.buffer.copy(out, 0, this.offset, this.offset + 8);\n return out;\n }\n }\n copy(targetBuffer, targetOffset = 0) {\n this.buffer.copy(targetBuffer, targetOffset, this.offset, this.offset + 8);\n }\n compare(other) {\n if ((this.buffer[this.offset] & 0x80) !==\n (other.buffer[other.offset] & 0x80)) {\n return other.buffer[other.offset] - this.buffer[this.offset];\n }\n for (let i = 0; i < 8; i++) {\n if (this.buffer[this.offset + i] !== other.buffer[other.offset + i]) {\n return (this.buffer[this.offset + i] -\n other.buffer[other.offset + i]);\n }\n }\n return 0;\n }\n equals(other) {\n return this.compare(other) === 0;\n }\n inspect() {\n return ('[Int64 value:' + this + ' octets:' + this.toOctetString(' ') + ']');\n }\n _2scomp() {\n const buf = this.buffer;\n const off = this.offset;\n let carry = 1;\n for (let i = off + 7; i >= off; i--) {\n const v = (buf[i] ^ 0xff) + carry;\n buf[i] = v & 0xff;\n carry = v >> 8;\n }\n }\n}\nInt64.MAX_INT = Math.pow(2, 53);\nInt64.MIN_INT = -Math.pow(2, 53);\nexports.Int64 = Int64;\n//# sourceMappingURL=Int64.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW_8 = Math.pow(2, 8);\nconst POW_16 = Math.pow(2, 16);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nfunction readByte(byte) {\n return byte > 127 ? byte - 256 : byte;\n}\nexports.readByte = readByte;\nfunction readI16(bytes, offset = 0) {\n offset = offset || 0;\n let v = bytes[offset + 1];\n v += bytes[offset] << 8;\n if (bytes[offset] & 128) {\n v -= POW_16;\n }\n return v;\n}\nexports.readI16 = readI16;\nfunction readI32(bytes, offset = 0) {\n let result = bytes[offset + 3];\n result += bytes[offset + 2] << 8;\n result += bytes[offset + 1] << 16;\n result += bytes[offset] * POW_24;\n if (bytes[offset] & 0x80) {\n result -= POW_32;\n }\n return result;\n}\nexports.readI32 = readI32;\nfunction readDouble(bytes, offset = 0) {\n const signed = bytes[offset] & 0x80;\n let e = (bytes[offset + 1] & 0xf0) >> 4;\n e += (bytes[offset] & 0x7f) << 4;\n let m = bytes[offset + 7];\n m += bytes[offset + 6] << 8;\n m += bytes[offset + 5] << 16;\n m += bytes[offset + 4] * POW_24;\n m += bytes[offset + 3] * POW_32;\n m += bytes[offset + 2] * POW_40;\n m += (bytes[offset + 1] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n}\nexports.readDouble = readDouble;\nfunction writeI16(bytes, i16) {\n bytes[1] = i16 & 0xff;\n i16 = i16 >> 8;\n bytes[0] = i16 & 0xff;\n return bytes;\n}\nexports.writeI16 = writeI16;\nfunction writeI32(bytes, i32) {\n bytes[3] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[2] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[1] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[0] = i32 & 0xff;\n return bytes;\n}\nexports.writeI32 = writeI32;\nfunction writeDouble(bytes, dub) {\n let m;\n let e;\n let c;\n bytes[0] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c = c * 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e = e + 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n bytes[1] = (e << 4) & 0xf0;\n bytes[0] |= (e >> 4) & 0x7f;\n bytes[7] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[6] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[5] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[4] = m & 0xff;\n m = m >> 8;\n bytes[3] = m & 0xff;\n m = m >> 8;\n bytes[2] = m & 0xff;\n m = m >> 8;\n bytes[1] |= m & 0x0f;\n return bytes;\n}\nexports.writeDouble = writeDouble;\n//# sourceMappingURL=binary.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass InputBufferUnderrunError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InputBufferUnderrunError';\n }\n}\nexports.InputBufferUnderrunError = InputBufferUnderrunError;\n//# sourceMappingURL=InputBufferUnderrunError.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nvar TApplicationExceptionType;\n(function (TApplicationExceptionType) {\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN_METHOD\"] = 1] = \"UNKNOWN_METHOD\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_MESSAGE_TYPE\"] = 2] = \"INVALID_MESSAGE_TYPE\";\n TApplicationExceptionType[TApplicationExceptionType[\"WRONG_METHOD_NAME\"] = 3] = \"WRONG_METHOD_NAME\";\n TApplicationExceptionType[TApplicationExceptionType[\"BAD_SEQUENCE_ID\"] = 4] = \"BAD_SEQUENCE_ID\";\n TApplicationExceptionType[TApplicationExceptionType[\"MISSING_RESULT\"] = 5] = \"MISSING_RESULT\";\n TApplicationExceptionType[TApplicationExceptionType[\"INTERNAL_ERROR\"] = 6] = \"INTERNAL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"PROTOCOL_ERROR\"] = 7] = \"PROTOCOL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_TRANSFORM\"] = 8] = \"INVALID_TRANSFORM\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_PROTOCOL\"] = 9] = \"INVALID_PROTOCOL\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNSUPPORTED_CLIENT_TYPE\"] = 10] = \"UNSUPPORTED_CLIENT_TYPE\";\n})(TApplicationExceptionType = exports.TApplicationExceptionType || (exports.TApplicationExceptionType = {}));\nclass TApplicationException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TApplicationException';\n this.type = type;\n this.message = message;\n }\n}\nexports.TApplicationException = TApplicationException;\nexports.TApplicationExceptionCodec = {\n encode(obj, output) {\n output.writeStructBegin('TApplicationException');\n if (obj.message) {\n output.writeFieldBegin('message', types_1.TType.STRING, 1);\n output.writeString(obj.message);\n output.writeFieldEnd();\n }\n if (obj.type) {\n output.writeFieldBegin('type', types_1.TType.I32, 2);\n output.writeI32(obj.type);\n output.writeFieldEnd();\n }\n output.writeFieldStop();\n output.writeStructEnd();\n },\n decode(input) {\n input.readStructBegin();\n const args = {};\n while (true) {\n const ret = input.readFieldBegin();\n if (ret.fieldType === types_1.TType.STOP) {\n break;\n }\n switch (ret.fieldId) {\n case 1:\n if (ret.fieldType === types_1.TType.STRING) {\n args.message = input.readString();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n case 2:\n if (ret.fieldType === types_1.TType.I32) {\n args.type = input.readI32();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n default:\n input.skip(ret.fieldType);\n break;\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return new TApplicationException(args.type, args.message);\n },\n};\n//# sourceMappingURL=TApplicationException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TProtocolExceptionType;\n(function (TProtocolExceptionType) {\n TProtocolExceptionType[TProtocolExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TProtocolExceptionType[TProtocolExceptionType[\"INVALID_DATA\"] = 1] = \"INVALID_DATA\";\n TProtocolExceptionType[TProtocolExceptionType[\"NEGATIVE_SIZE\"] = 2] = \"NEGATIVE_SIZE\";\n TProtocolExceptionType[TProtocolExceptionType[\"SIZE_LIMIT\"] = 3] = \"SIZE_LIMIT\";\n TProtocolExceptionType[TProtocolExceptionType[\"BAD_VERSION\"] = 4] = \"BAD_VERSION\";\n TProtocolExceptionType[TProtocolExceptionType[\"NOT_IMPLEMENTED\"] = 5] = \"NOT_IMPLEMENTED\";\n TProtocolExceptionType[TProtocolExceptionType[\"DEPTH_LIMIT\"] = 6] = \"DEPTH_LIMIT\";\n})(TProtocolExceptionType = exports.TProtocolExceptionType || (exports.TProtocolExceptionType = {}));\nclass TProtocolException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TProtocolException';\n this.type = type;\n }\n}\nexports.TProtocolException = TProtocolException;\n//# sourceMappingURL=TProtocolException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js ***! + \********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./InputBufferUnderrunError */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js\"));\n__export(__webpack_require__(/*! ./TApplicationException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js\"));\n__export(__webpack_require__(/*! ./TProtocolException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/index.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\n__export(__webpack_require__(/*! ./types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\"));\n__export(__webpack_require__(/*! ./protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\"));\n__export(__webpack_require__(/*! ./transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\"));\n__export(__webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\"));\n__export(__webpack_require__(/*! ./utils */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js\"));\n__export(__webpack_require__(/*! ./binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\"));\nvar logger_1 = __webpack_require__(/*! ./logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nexports.makeLogger = logger_1.makeLogger;\nfunction process(args) {\n const transportWithData = args.Transport.receiver(args.buffer);\n const input = new args.Protocol(transportWithData);\n return new Promise((resolve, reject) => {\n const output = new args.Protocol(new args.Transport());\n args.processor.process(input, output, args.context).then((result) => {\n resolve(result);\n transportWithData.commitPosition();\n }, (err) => {\n if (err instanceof errors_1.InputBufferUnderrunError) {\n transportWithData.rollbackPosition();\n }\n reject(err);\n });\n });\n}\nexports.process = process;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(process) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.makeLogger = (name) => {\n return (tags, data) => {\n const allTags = Array.from(new Set([name, ...tags]));\n if (allTags.indexOf('error') > -1) {\n if (data !== undefined) {\n console.error(`[${allTags.join(',')}] `, data);\n }\n else {\n console.error(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('warn') > -1) {\n if (data !== undefined) {\n console.warn(`[${allTags.join(',')}] `, data);\n }\n else {\n console.warn(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('info') > -1) {\n if (data !== undefined) {\n console.info(`[${allTags.join(',')}] `, data);\n }\n else {\n console.info(`[${allTags.join(',')}]`);\n }\n }\n else {\n if (data !== undefined && process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}] `, data);\n }\n else if (process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}]`);\n }\n }\n };\n};\nexports.defaultLogger = exports.makeLogger('thrift-server-core');\n//# sourceMappingURL=logger.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js ***! + \*****************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Int64_1 = __webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\");\nclass JsonParser {\n constructor(source) {\n this.at = 0;\n this.ch = '';\n this.escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n };\n this.text = '';\n this.text = source;\n this.at = 0;\n this.ch = ' ';\n }\n parse() {\n const result = this.value();\n this.white();\n if (this.getCh()) {\n throw new SyntaxError('Syntax error');\n }\n return result;\n }\n array() {\n const array = [];\n if (this.getCh() === '[') {\n this.next('[');\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n while (this.getCh()) {\n array.push(this.value());\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad array');\n }\n object() {\n let key = '';\n const object = {};\n if (this.getCh() === '{') {\n this.next('{');\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n while (this.getCh()) {\n key = this.string();\n this.white();\n this.next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n throw new SyntaxError('Duplicate key \"' + key + '\"');\n }\n object[key] = this.value();\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad object');\n }\n value() {\n this.white();\n switch (this.getCh()) {\n case '{':\n return this.object();\n case '[':\n return this.array();\n case '\"':\n return this.string();\n case '-':\n return this.number();\n default:\n return this.isNumber() ? this.number() : this.word();\n }\n }\n isNumber() {\n const char = this.getCh();\n if (char >= '0' && char <= '9') {\n return true;\n }\n if (char !== '.') {\n return false;\n }\n const nextChar = this.peekNext();\n if (!nextChar) {\n return false;\n }\n return nextChar >= '0' && nextChar <= '9';\n }\n peekNext() {\n return this.text.charAt(this.at);\n }\n next(c) {\n if (c && c !== this.getCh()) {\n throw new SyntaxError(\"Expected '\" + c + \"' instead of '\" + this.getCh() + \"'\");\n }\n this.ch = this.text.charAt(this.at);\n this.at += 1;\n return this.ch;\n }\n getCh() {\n return this.ch;\n }\n number() {\n let number = 0;\n let string = '';\n if (this.getCh() === '-') {\n string = '-';\n this.next('-');\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n if (this.getCh() === '.') {\n string += '.';\n while (this.next() && this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n }\n }\n if (this.getCh() === 'e' || this.getCh() === 'E') {\n string += this.getCh();\n this.next();\n if (this.getCh() === '-' || this.getCh() === '+') {\n string += this.getCh();\n this.next();\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n throw new SyntaxError('Bad number');\n }\n else if (number >= Int64_1.Int64.MAX_INT || number <= Int64_1.Int64.MIN_INT) {\n return string;\n }\n else {\n return number;\n }\n }\n string() {\n let hex = 0;\n let i = 0;\n let string = '';\n let uffff = 0;\n if (this.getCh() === '\"') {\n while (this.next()) {\n if (this.getCh() === '\"') {\n this.next();\n return string;\n }\n if (this.getCh() === '\\\\') {\n this.next();\n if (this.getCh() === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(this.next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n }\n else if (typeof this.escapee[this.getCh()] === 'string') {\n string += this.escapee[this.getCh()];\n }\n else {\n break;\n }\n }\n else {\n string += this.getCh();\n }\n }\n }\n throw new SyntaxError('Bad string');\n }\n white() {\n while (this.getCh() && this.getCh() <= ' ') {\n this.next();\n }\n }\n word() {\n switch (this.getCh()) {\n case 't':\n this.next('t');\n this.next('r');\n this.next('u');\n this.next('e');\n return true;\n case 'f':\n this.next('f');\n this.next('a');\n this.next('l');\n this.next('s');\n this.next('e');\n return false;\n case 'n':\n this.next('n');\n this.next('u');\n this.next('l');\n this.next('l');\n return null;\n }\n throw new SyntaxError(\"Unexpected '\" + this.getCh() + \"'\");\n }\n}\nfunction parseJson(source) {\n return new JsonParser(source).parse();\n}\nexports.parseJson = parseJson;\n//# sourceMappingURL=parseJson.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst VERSION_MASK = -65536;\nconst VERSION_1 = -2147418112;\nconst TYPE_MASK = 0x000000ff;\nclass BinaryProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n }\n writeMessageBegin(name, type, requestId) {\n this.writeI32(VERSION_1 | type);\n this.writeString(name);\n this.writeI32(requestId);\n if (this.requestId) {\n this.logger(['warn', 'BinaryProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'BinaryProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) { }\n writeStructEnd() { }\n writeFieldBegin(name, type, id) {\n this.writeByte(type);\n this.writeI16(id);\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(types_1.TType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n this.writeByte(keyType);\n this.writeByte(valueType);\n this.writeI32(size);\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (bool) {\n this.writeByte(1);\n }\n else {\n this.writeByte(0);\n }\n }\n writeByte(byte) {\n const value = Number(byte);\n if (!isNaN(value)) {\n this.transport.write(Buffer.from([value]));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof byte}`);\n }\n }\n writeI16(i16) {\n const value = Number(i16);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI16(Buffer.alloc(2), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i16}`);\n }\n }\n writeI32(i32) {\n const value = Number(i32);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI32(Buffer.alloc(4), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i32}`);\n }\n }\n writeI64(i64) {\n if (typeof i64 === 'number') {\n this.transport.write(new types_1.Int64(i64).buffer);\n }\n else if (typeof i64 === 'string') {\n this.transport.write(types_1.Int64.fromDecimalString(i64).buffer);\n }\n else if (i64 instanceof types_1.Int64) {\n this.transport.write(i64.buffer);\n }\n else {\n throw new TypeError(`Expected Int64 or number but found type ${typeof i64}`);\n }\n }\n writeDouble(dub) {\n const value = Number(dub);\n if (!isNaN(value)) {\n this.transport.write(binary.writeDouble(Buffer.alloc(8), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof dub}`);\n }\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeI32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer) {\n this.writeI32(data.length);\n this.transport.write(data);\n }\n else {\n throw new TypeError(`Argument of type ${typeof data} should be buffer or string`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const size = this.readI32();\n if (size < 0) {\n const version = size & VERSION_MASK;\n if (version !== VERSION_1) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad version in readMessageBegin: ${size}`);\n }\n return {\n fieldName: this.readString(),\n messageType: size & TYPE_MASK,\n requestId: this.readI32(),\n };\n }\n else {\n return {\n fieldName: this.transport.readString(size),\n messageType: this.readByte(),\n requestId: this.readI32(),\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n return { fieldName: '' };\n }\n readStructEnd() { }\n readFieldBegin() {\n const type = this.readByte();\n if (type === types_1.TType.STOP) {\n return { fieldName: '', fieldType: type, fieldId: 0 };\n }\n else {\n const id = this.readI16();\n return { fieldName: '', fieldType: type, fieldId: id };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const keyType = this.readByte();\n const valueType = this.readByte();\n const size = this.readI32();\n return { keyType, valueType, size };\n }\n readMapEnd() { }\n readListBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readListEnd() { }\n readSetBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readSetEnd() { }\n readBool() {\n const byte = this.readByte();\n return byte !== 0;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.transport.readI16();\n }\n readI32() {\n return this.transport.readI32();\n }\n readI64() {\n const buff = this.transport.read(8);\n return new types_1.Int64(buff);\n }\n readDouble() {\n return this.transport.readDouble();\n }\n readBinary() {\n const len = this.readI32();\n if (len === 0) {\n return Buffer.alloc(0);\n }\n else if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative binary size');\n }\n else {\n return this.transport.read(len);\n }\n }\n readString() {\n const len = this.readI32();\n if (len === 0) {\n return '';\n }\n if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative string size');\n }\n return this.transport.readString(len);\n }\n getTransport() {\n return this.transport;\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n}\nexports.BinaryProtocol = BinaryProtocol;\n//# sourceMappingURL=BinaryProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst POW_8 = Math.pow(2, 8);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nconst PROTOCOL_ID = -126;\nconst VERSION_N = 1;\nconst VERSION_MASK = 0x1f;\nconst TYPE_MASK = -32;\nconst TYPE_BITS = 7;\nconst TYPE_SHIFT_AMOUNT = 5;\nvar CompactType;\n(function (CompactType) {\n CompactType[CompactType[\"STOP\"] = 0] = \"STOP\";\n CompactType[CompactType[\"BOOLEAN_TRUE\"] = 1] = \"BOOLEAN_TRUE\";\n CompactType[CompactType[\"BOOLEAN_FALSE\"] = 2] = \"BOOLEAN_FALSE\";\n CompactType[CompactType[\"BYTE\"] = 3] = \"BYTE\";\n CompactType[CompactType[\"I16\"] = 4] = \"I16\";\n CompactType[CompactType[\"I32\"] = 5] = \"I32\";\n CompactType[CompactType[\"I64\"] = 6] = \"I64\";\n CompactType[CompactType[\"DOUBLE\"] = 7] = \"DOUBLE\";\n CompactType[CompactType[\"BINARY\"] = 8] = \"BINARY\";\n CompactType[CompactType[\"LIST\"] = 9] = \"LIST\";\n CompactType[CompactType[\"SET\"] = 10] = \"SET\";\n CompactType[CompactType[\"MAP\"] = 11] = \"MAP\";\n CompactType[CompactType[\"STRUCT\"] = 12] = \"STRUCT\";\n})(CompactType = exports.CompactType || (exports.CompactType = {}));\nconst TTypeToCType = [\n CompactType.STOP,\n 0,\n CompactType.BOOLEAN_TRUE,\n CompactType.BYTE,\n CompactType.DOUBLE,\n 0,\n CompactType.I16,\n 0,\n CompactType.I32,\n 0,\n CompactType.I64,\n CompactType.BINARY,\n CompactType.STRUCT,\n CompactType.MAP,\n CompactType.SET,\n CompactType.LIST,\n];\nclass CompactProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n this.getTType = function (type) {\n switch (type) {\n case CompactType.STOP:\n return types_1.TType.STOP;\n case CompactType.BOOLEAN_FALSE:\n case CompactType.BOOLEAN_TRUE:\n return types_1.TType.BOOL;\n case CompactType.BYTE:\n return types_1.TType.BYTE;\n case CompactType.I16:\n return types_1.TType.I16;\n case CompactType.I32:\n return types_1.TType.I32;\n case CompactType.I64:\n return types_1.TType.I64;\n case CompactType.DOUBLE:\n return types_1.TType.DOUBLE;\n case CompactType.BINARY:\n return types_1.TType.STRING;\n case CompactType.LIST:\n return types_1.TType.LIST;\n case CompactType.SET:\n return types_1.TType.SET;\n case CompactType.MAP:\n return types_1.TType.MAP;\n case CompactType.STRUCT:\n return types_1.TType.STRUCT;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Unknown type: ${type}`);\n }\n };\n this._lastField = [];\n this._lastFieldId = 0;\n this._booleanField = {\n name: null,\n hasBoolValue: false,\n };\n this._boolValue = {\n hasBoolValue: false,\n boolValue: false,\n };\n }\n getCompactType(ttype) {\n return TTypeToCType[ttype];\n }\n writeMessageBegin(name, type, requestId) {\n this.writeByte(PROTOCOL_ID);\n this.writeByte((VERSION_N & VERSION_MASK) |\n ((type << TYPE_SHIFT_AMOUNT) & TYPE_MASK));\n this.writeVarint32(requestId);\n this.writeString(name);\n if (this.requestId) {\n this.logger(['warn', 'CompactProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'CompactProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n }\n writeStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n writeFieldBegin(name, type, id) {\n if (type !== types_1.TType.BOOL) {\n return this.writeFieldBeginInternal(name, type, id, -1);\n }\n else {\n this._booleanField.name = name;\n this._booleanField.fieldType = type;\n this._booleanField.fieldId = id;\n }\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(CompactType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n if (size === 0) {\n this.writeByte(0);\n }\n else {\n this.writeVarint32(size);\n this.writeByte((this.getCompactType(keyType) << 4) |\n this.getCompactType(valueType));\n }\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (this._booleanField.name !== null) {\n this.writeFieldBeginInternal(this._booleanField.name, this._booleanField.fieldType, this._booleanField.fieldId, bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n this._booleanField.name = null;\n }\n else {\n this.writeByte(bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n }\n }\n writeByte(byte) {\n this.transport.write(Buffer.from([byte]));\n }\n writeI16(i16) {\n this.writeVarint32(this.i32ToZigzag(i16));\n }\n writeI32(i32) {\n this.writeVarint32(this.i32ToZigzag(i32));\n }\n writeI64(i64) {\n this.writeVarint64(this.i64ToZigzag(i64));\n }\n writeDouble(dub) {\n const buff = Buffer.alloc(8);\n let m;\n let e;\n let c;\n buff[7] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c *= 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e += 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n buff[6] = (e << 4) & 0xf0;\n buff[7] |= (e >> 4) & 0x7f;\n buff[0] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[1] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[2] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[3] = m & 0xff;\n m >>= 8;\n buff[4] = m & 0xff;\n m >>= 8;\n buff[5] = m & 0xff;\n m >>= 8;\n buff[6] |= m & 0x0f;\n this.transport.write(buff);\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeVarint32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer ||\n Object.prototype.toString.call(data) === '[object Buffer]') {\n this.writeVarint32(data.length);\n this.transport.write(data);\n }\n else {\n throw new Error(`${name} called without a string/Buffer argument: ${data}`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const protocolId = this.transport.readByte();\n if (protocolId !== PROTOCOL_ID) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol identifier ${protocolId}`);\n }\n else {\n const versionAndType = this.transport.readByte();\n const version = versionAndType & VERSION_MASK;\n if (version !== VERSION_N) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol version ${version}`);\n }\n const messageType = (versionAndType >> TYPE_SHIFT_AMOUNT) & TYPE_BITS;\n const requestId = this.readVarint32();\n const fieldName = this.readString();\n return {\n fieldName,\n messageType,\n requestId,\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n return { fieldName: '' };\n }\n readStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n readFieldBegin() {\n let fieldId = 0;\n const byte = this.transport.readByte();\n const type = byte & 0x0f;\n if (type === CompactType.STOP) {\n return {\n fieldName: '',\n fieldType: types_1.TType.STOP,\n fieldId,\n };\n }\n else {\n const modifier = (byte & 0x000000f0) >>> 4;\n if (modifier === 0) {\n fieldId = this.readI16();\n }\n else {\n fieldId = this._lastFieldId + modifier;\n }\n const fieldType = this.getTType(type);\n if (type === CompactType.BOOLEAN_TRUE ||\n type === CompactType.BOOLEAN_FALSE) {\n this._boolValue.hasBoolValue = true;\n this._boolValue.boolValue =\n type === CompactType.BOOLEAN_TRUE ? true : false;\n }\n this._lastFieldId = fieldId;\n return {\n fieldName: '',\n fieldType,\n fieldId,\n };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const size = this.readVarint32();\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative map size`);\n }\n else {\n let kvType = 0;\n if (size !== 0) {\n kvType = this.transport.readByte();\n }\n const keyType = this.getTType((kvType & 0xf0) >>> 4);\n const valueType = this.getTType(kvType & 0xf);\n return { keyType, valueType, size };\n }\n }\n readMapEnd() { }\n readListBegin() {\n const sizeType = this.transport.readByte();\n let size = (sizeType >>> 4) & 0x0000000f;\n if (size === 15) {\n size = this.readVarint32();\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative list size`);\n }\n else {\n const elementType = this.getTType(sizeType & 0x0000000f);\n return { elementType, size };\n }\n }\n readListEnd() { }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() { }\n readBool() {\n let value = false;\n if (this._boolValue.hasBoolValue === true) {\n value = this._boolValue.boolValue;\n this._boolValue.hasBoolValue = false;\n }\n else {\n const res = this.transport.readByte();\n value = res === CompactType.BOOLEAN_TRUE;\n }\n return value;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return this.zigzagToI32(this.readVarint32());\n }\n readI64() {\n return this.zigzagToI64(this.readVarint64());\n }\n readDouble() {\n const buff = this.transport.read(8);\n const off = 0;\n const signed = buff[off + 7] & 0x80;\n let e = (buff[off + 6] & 0xf0) >> 4;\n e += (buff[off + 7] & 0x7f) << 4;\n let m = buff[off];\n m += buff[off + 1] << 8;\n m += buff[off + 2] << 16;\n m += buff[off + 3] * POW_24;\n m += buff[off + 4] * POW_32;\n m += buff[off + 5] * POW_40;\n m += (buff[off + 6] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n }\n readBinary() {\n const size = this.readVarint32();\n if (size === 0) {\n return Buffer.alloc(0);\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative binary size`);\n }\n else {\n return this.transport.read(size);\n }\n }\n readString() {\n const size = this.readVarint32();\n if (size === 0) {\n return '';\n }\n else {\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative string size`);\n }\n return this.transport.readString(size);\n }\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n flush() {\n return this.transport.flush();\n }\n zigzagToI32(i32) {\n return (i32 >>> 1) ^ (-1 * (i32 & 1));\n }\n zigzagToI64(i64) {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const neg = new types_1.Int64(hi & 0, lo & 1);\n neg._2scomp();\n const hiNeg = neg.buffer.readUInt32BE(0, true);\n const loNeg = neg.buffer.readUInt32BE(4, true);\n const hiLo = hi << 31;\n hi = (hi >>> 1) ^ hiNeg;\n lo = ((lo >>> 1) | hiLo) ^ loNeg;\n return new types_1.Int64(hi, lo);\n }\n readVarint32() {\n return this.readVarint64().toNumber();\n }\n readVarint64() {\n let rsize = 0;\n let lo = 0;\n let hi = 0;\n let shift = 0;\n while (true) {\n const b = this.transport.readByte();\n rsize++;\n if (shift <= 25) {\n lo = lo | ((b & 0x7f) << shift);\n }\n else if (25 < shift && shift < 32) {\n lo = lo | ((b & 0x7f) << shift);\n hi = hi | ((b & 0x7f) >>> (32 - shift));\n }\n else {\n hi = hi | ((b & 0x7f) << (shift - 32));\n }\n shift += 7;\n if (!(b & 0x80)) {\n break;\n }\n if (rsize >= 10) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Variable-length int over 10 bytes.`);\n }\n }\n return new types_1.Int64(hi, lo);\n }\n writeFieldBeginInternal(name, fieldType, fieldId, typeOverride) {\n const typeToWrite = typeOverride === -1 ? this.getCompactType(fieldType) : typeOverride;\n if (fieldId > this._lastFieldId && fieldId - this._lastFieldId <= 15) {\n this.writeByte(((fieldId - this._lastFieldId) << 4) | typeToWrite);\n }\n else {\n this.writeByte(typeToWrite);\n this.writeI16(fieldId);\n }\n this._lastFieldId = fieldId;\n }\n writeCollectionBegin(elementType, size) {\n if (size <= 14) {\n this.writeByte((size << 4) | this.getCompactType(elementType));\n }\n else {\n this.writeByte(0xf0 | this.getCompactType(elementType));\n this.writeVarint32(size);\n }\n }\n writeVarint32(i32) {\n const buf = Buffer.alloc(5);\n let wsize = 0;\n while (true) {\n if ((i32 & ~0x7f) === 0) {\n buf[wsize++] = i32;\n break;\n }\n else {\n buf[wsize++] = (i32 & 0x7f) | 0x80;\n i32 = i32 >>> 7;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n writeVarint64(i64) {\n if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n const buf = Buffer.alloc(10);\n let wsize = 0;\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n let mask = 0;\n while (true) {\n if ((lo & ~0x7f) === 0 && hi === 0) {\n buf[wsize++] = lo;\n break;\n }\n else {\n buf[wsize++] = (lo & 0x7f) | 0x80;\n mask = hi << 25;\n lo = lo >>> 7;\n hi = hi >>> 7;\n lo = lo | mask;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n }\n i64ToZigzag(i64) {\n if (typeof i64 === 'string') {\n i64 = new types_1.Int64(parseInt(i64, 10));\n }\n else if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const sign = hi >>> 31;\n hi = ((hi << 1) | (lo >>> 31)) ^ (!!sign ? 0xffffffff : 0);\n lo = (lo << 1) ^ (!!sign ? 0xffffffff : 0);\n return new types_1.Int64(hi, lo);\n }\n }\n i32ToZigzag(i32) {\n return (i32 << 1) ^ (i32 & 0x80000000 ? 0xffffffff : 0);\n }\n}\nexports.CompactProtocol = CompactProtocol;\n//# sourceMappingURL=CompactProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst parseJson_1 = __webpack_require__(/*! ../parseJson */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nclass JSONProtocol extends TProtocol_1.TProtocol {\n constructor(trans) {\n super(trans);\n this.tstack = [];\n this.tpos = [];\n this.rstack = [];\n this.rpos = [];\n this.tstack = [];\n this.tpos = [];\n }\n writeMessageBegin(name, type, id) {\n this.tstack = [];\n this.tpos = [];\n this.tstack.push([JSONProtocol.version, `\"${name}\"`, type, id]);\n }\n writeMessageEnd() {\n const obj = this.tstack.pop();\n const wobj = this.tstack.pop();\n wobj.push(obj);\n const wbuf = `[${wobj.join(',')}]`;\n this.transport.write(Buffer.from(wbuf));\n }\n writeStructBegin(name) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({});\n }\n writeStructEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n const struct = this.tstack[p];\n let str = '{';\n let first = true;\n for (const key of Object.keys(struct)) {\n if (first) {\n first = false;\n }\n else {\n str += ',';\n }\n str += `${key}:${struct[key]}`;\n }\n str += '}';\n this.tstack[p] = str;\n }\n writeFieldBegin(name, type, id) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({\n fieldId: `\"${id}\"`,\n fieldType: this.getTypeName(type),\n });\n }\n writeFieldEnd() {\n const value = this.tstack.pop();\n const fieldInfo = this.tstack.pop();\n this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = `{${fieldInfo.fieldType}:${value}}`;\n this.tpos.pop();\n }\n writeFieldStop() { }\n writeMapBegin(keyType, valType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([\n this.getTypeName(keyType),\n this.getTypeName(valType),\n 0,\n ]);\n }\n writeMapEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n if (p === this.tstack.length) {\n return;\n }\n if ((this.tstack.length - p - 1) % 2 !== 0) {\n this.tstack.push('');\n }\n const size = (this.tstack.length - p - 1) / 2;\n this.tstack[p][this.tstack[p].length - 1] = size;\n let map = '}';\n let first = true;\n while (this.tstack.length > p + 1) {\n const v = this.tstack.pop();\n let k = this.tstack.pop();\n if (first) {\n first = false;\n }\n else {\n map = `,${map}`;\n }\n if (!isNaN(k)) {\n k = `\"${k}\"`;\n }\n map = `${k}:${v}${map}`;\n }\n map = `{${map}`;\n this.tstack[p].push(map);\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeListBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeListEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeSetBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeSetEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeBool(value) {\n this.tstack.push(value ? 1 : 0);\n }\n writeByte(i8) {\n this.tstack.push(i8);\n }\n writeI16(i16) {\n this.tstack.push(i16);\n }\n writeI32(i32) {\n this.tstack.push(i32);\n }\n writeI64(i64) {\n if (i64 instanceof types_1.Int64) {\n this.tstack.push(i64.toDecimalString());\n }\n else {\n this.tstack.push(i64);\n }\n }\n writeDouble(dbl) {\n this.tstack.push(dbl);\n }\n writeString(str) {\n if (str === null) {\n this.tstack.push(null);\n }\n else {\n let escapedString = '';\n for (let i = 0; i < str.length; i++) {\n const ch = str.charAt(i);\n if (ch === '\"') {\n escapedString += '\\\\\"';\n }\n else if (ch === '\\\\') {\n escapedString += '\\\\\\\\';\n }\n else if (ch === '\\b') {\n escapedString += '\\\\b';\n }\n else if (ch === '\\f') {\n escapedString += '\\\\f';\n }\n else if (ch === '\\n') {\n escapedString += '\\\\n';\n }\n else if (ch === '\\r') {\n escapedString += '\\\\r';\n }\n else if (ch === '\\t') {\n escapedString += '\\\\t';\n }\n else {\n escapedString += ch;\n }\n }\n this.tstack.push(`\"${escapedString}\"`);\n }\n }\n writeBinary(binary) {\n let str = '';\n if (typeof binary === 'string') {\n str = binary;\n }\n else if (binary instanceof Buffer) {\n const arr = binary;\n for (const i of arr) {\n str += String.fromCharCode(arr[i]);\n }\n }\n else {\n throw new TypeError('writeBinary only accepts String or Buffer.');\n }\n this.tstack.push(`\"${Buffer.from(str).toString('base64')}\"`);\n }\n readMessageBegin() {\n this.rstack = [];\n this.rpos = [];\n const robj = parseJson_1.parseJson(this.transport.readAll());\n const version = robj.shift();\n if (version !== JSONProtocol.version) {\n throw new Error(`Wrong thrift protocol version: ${version}`);\n }\n const r = {\n fieldName: robj.shift(),\n messageType: robj.shift(),\n requestId: robj.shift(),\n };\n this.rstack.push(robj.shift());\n return r;\n }\n readMessageEnd() { }\n readStructBegin() {\n const r = {\n fieldName: '',\n };\n if (this.rstack[this.rstack.length - 1] instanceof Array) {\n this.rstack.push(this.rstack[this.rstack.length - 1].shift());\n }\n return r;\n }\n readStructEnd() {\n if (this.rstack[this.rstack.length - 2] instanceof Array) {\n this.rstack.pop();\n }\n }\n readFieldBegin() {\n let fid = -1;\n let ftype = types_1.TType.STOP;\n for (const f in this.rstack[this.rstack.length - 1]) {\n if (f === null) {\n continue;\n }\n fid = parseInt(f, 10);\n this.rpos.push(this.rstack.length);\n const field = this.rstack[this.rstack.length - 1][fid];\n delete this.rstack[this.rstack.length - 1][fid];\n this.rstack.push(field);\n break;\n }\n if (fid !== -1) {\n for (const i in this.rstack[this.rstack.length - 1]) {\n if (JSONProtocol.rType[i] === null) {\n continue;\n }\n ftype = JSONProtocol.rType[i];\n this.rstack[this.rstack.length - 1] = this.rstack[this.rstack.length - 1][i];\n }\n }\n return {\n fieldId: fid,\n fieldName: '',\n fieldType: ftype,\n };\n }\n readFieldEnd() {\n const pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n while (this.rstack.length > pos) {\n this.rstack.pop();\n }\n }\n readMapBegin() {\n let map = this.rstack.pop();\n let first = map.shift();\n if (first instanceof Array) {\n this.rstack.push(map);\n map = first;\n first = map.shift();\n }\n const r = {\n keyType: JSONProtocol.rType[first],\n valueType: JSONProtocol.rType[map.shift()],\n size: map.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(map.shift());\n return r;\n }\n readMapEnd() {\n this.readFieldEnd();\n }\n readListBegin() {\n const list = this.rstack[this.rstack.length - 1];\n const r = {\n elementType: JSONProtocol.rType[list.shift()],\n size: list.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(list.shift());\n return r;\n }\n readListEnd() {\n let pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n pos = pos - 2;\n const st = this.rstack;\n st.pop();\n if (st instanceof Array && st.length > pos && st[pos].length > 0) {\n st.push(st[pos].shift());\n }\n }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() {\n return this.readListEnd();\n }\n readBool() {\n const r = this.readValue();\n if (r === null) {\n return false;\n }\n else if (r === '1' || r === 1) {\n return true;\n }\n else {\n return false;\n }\n }\n readByte() {\n return this.readI32();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return parseInt(this.readValue(), 10);\n }\n readI64() {\n return types_1.Int64.fromDecimalString(`${this.readValue()}`);\n }\n readDouble() {\n return parseFloat(this.readValue());\n }\n readBinary() {\n return Buffer.alloc(this.readValue(), 'base64');\n }\n readString() {\n return this.readValue();\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return null;\n case types_1.TType.BOOL:\n return this.readBool();\n case types_1.TType.BYTE:\n return this.readByte();\n case types_1.TType.I16:\n return this.readI16();\n case types_1.TType.I32:\n return this.readI32();\n case types_1.TType.I64:\n return this.readI64();\n case types_1.TType.DOUBLE:\n return this.readDouble();\n case types_1.TType.STRING:\n return this.readString();\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const struct = this.readFieldBegin();\n if (struct.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(struct.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n return null;\n case types_1.TType.MAP:\n const map = this.readMapBegin();\n for (let i = 0; i < map.size; i++) {\n if (i > 0) {\n if (this.rstack.length >\n this.rpos[this.rpos.length - 1] + 1) {\n this.rstack.pop();\n }\n }\n this.skip(map.keyType);\n this.skip(map.keyType);\n }\n this.readMapEnd();\n return null;\n case types_1.TType.SET:\n const set = this.readSetBegin();\n for (let i = 0; i < set.size; i++) {\n this.skip(set.elementType);\n }\n this.readSetEnd();\n return null;\n case types_1.TType.LIST:\n const list = this.readListBegin();\n for (let i = 0; i < list.size; i++) {\n this.skip(list.elementType);\n }\n this.readListEnd();\n return null;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA);\n }\n }\n readValue() {\n const f = this.rstack[this.rstack.length - 1];\n if (f instanceof Array) {\n if (f.length === 0) {\n return undefined;\n }\n else {\n return f.shift();\n }\n }\n else if (f instanceof Object) {\n for (const i in f) {\n if (i === null) {\n continue;\n }\n this.rstack.push(f[i]);\n delete f[i];\n return i;\n break;\n }\n }\n else {\n this.rstack.pop();\n return f;\n }\n }\n getTypeName(type) {\n switch (type) {\n case types_1.TType.BOOL:\n return '\"tf\"';\n case types_1.TType.BYTE:\n return '\"i8\"';\n case types_1.TType.I16:\n return '\"i16\"';\n case types_1.TType.I32:\n return '\"i32\"';\n case types_1.TType.I64:\n return '\"i64\"';\n case types_1.TType.DOUBLE:\n return '\"dbl\"';\n case types_1.TType.STRUCT:\n return '\"rec\"';\n case types_1.TType.STRING:\n return '\"str\"';\n case types_1.TType.MAP:\n return '\"map\"';\n case types_1.TType.LIST:\n return '\"lst\"';\n case types_1.TType.SET:\n return '\"set\"';\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NOT_IMPLEMENTED, `Unrecognized type ${type}`);\n }\n }\n}\nJSONProtocol.version = 1;\nJSONProtocol.rType = {\n tf: types_1.TType.BOOL,\n i8: types_1.TType.BYTE,\n i16: types_1.TType.I16,\n i32: types_1.TType.I32,\n i64: types_1.TType.I64,\n dbl: types_1.TType.DOUBLE,\n rec: types_1.TType.STRUCT,\n str: types_1.TType.STRING,\n map: types_1.TType.MAP,\n lst: types_1.TType.LIST,\n set: types_1.TType.SET,\n};\nexports.JSONProtocol = JSONProtocol;\n//# sourceMappingURL=JSONProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nclass TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n this.transport = trans;\n this.logger = logger;\n this.requestId = null;\n }\n getTransport() {\n return this.transport;\n }\n flush() {\n return this.transport.flush();\n }\n}\nexports.TProtocol = TProtocol;\n//# sourceMappingURL=TProtocol.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js ***! + \***********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BinaryProtocol_1 = __webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\");\nconst CompactProtocol_1 = __webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\");\nconst JSONProtocol_1 = __webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\");\n__export(__webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\"));\n__export(__webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\"));\n__export(__webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\"));\n__export(__webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\"));\nconst protocols = {\n binary: BinaryProtocol_1.BinaryProtocol,\n compact: CompactProtocol_1.CompactProtocol,\n json: JSONProtocol_1.JSONProtocol,\n};\nexports.supportedProtocols = Object.keys(protocols);\nfunction isProtocolSupported(protocol) {\n return exports.supportedProtocols.indexOf(protocol) !== -1;\n}\nexports.isProtocolSupported = isProtocolSupported;\nfunction getProtocol(protocol = 'binary') {\n if (protocol && !isProtocolSupported(protocol)) {\n throw new Error(`Invalid protocol specified. Supported values: ${exports.supportedProtocols.join(', ')}`);\n }\n return protocols[protocol];\n}\nexports.getProtocol = getProtocol;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst TTransport_1 = __webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\");\nconst DEFAULT_READ_BUFFER_SIDE = 1024;\nclass BufferedTransport extends TTransport_1.TTransport {\n static receiver(data) {\n const reader = new BufferedTransport(Buffer.alloc(data.length));\n data.copy(reader.buffer, 0, 0);\n return reader;\n }\n constructor(buffer) {\n super(buffer || Buffer.alloc(DEFAULT_READ_BUFFER_SIDE));\n this.readCursor = 0;\n this.writeCursor = buffer !== undefined ? buffer.length : 0;\n this.outBuffers = [];\n this.outCount = 0;\n }\n remaining() {\n const remainingSize = this.writeCursor - this.readCursor;\n const remainingBuffer = Buffer.alloc(remainingSize);\n if (remainingSize > 0) {\n this.buffer.copy(remainingBuffer, 0, this.readCursor, this.writeCursor);\n }\n return remainingBuffer;\n }\n commitPosition() {\n const unreadSize = this.writeCursor - this.readCursor;\n const bufSize = unreadSize * 2 > DEFAULT_READ_BUFFER_SIDE\n ? unreadSize * 2\n : DEFAULT_READ_BUFFER_SIDE;\n const buf = Buffer.alloc(bufSize);\n if (unreadSize > 0) {\n this.buffer.copy(buf, 0, this.readCursor, this.writeCursor);\n }\n this.readCursor = 0;\n this.writeCursor = unreadSize;\n this.buffer = buf;\n }\n rollbackPosition() {\n this.readCursor = 0;\n }\n isOpen() {\n return true;\n }\n open() {\n return true;\n }\n close() {\n return true;\n }\n read(len) {\n this.ensureAvailable(len);\n const buf = Buffer.alloc(len);\n this.buffer.copy(buf, 0, this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return buf;\n }\n readByte() {\n this.ensureAvailable(1);\n return binary.readByte(this.buffer[this.readCursor++]);\n }\n readI16() {\n this.ensureAvailable(2);\n const i16 = binary.readI16(this.buffer, this.readCursor);\n this.readCursor += 2;\n return i16;\n }\n readI32() {\n this.ensureAvailable(4);\n const i32 = binary.readI32(this.buffer, this.readCursor);\n this.readCursor += 4;\n return i32;\n }\n readDouble() {\n this.ensureAvailable(8);\n const d = binary.readDouble(this.buffer, this.readCursor);\n this.readCursor += 8;\n return d;\n }\n readString(len) {\n this.ensureAvailable(len);\n const str = this.buffer.toString('utf8', this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return str;\n }\n readAll() {\n return this.readString(this.buffer.length - this.readCursor);\n }\n consume(len) {\n this.readCursor += len;\n }\n write(buf) {\n if (buf instanceof Buffer) {\n this.outBuffers.push(buf);\n this.outCount += buf.length;\n }\n else {\n throw new TypeError(`Expected buffer but found type ${typeof buf}`);\n }\n }\n flush() {\n if (this.outCount < 1) {\n return Buffer.alloc(0);\n }\n const msg = Buffer.alloc(this.outCount);\n let pos = 0;\n this.outBuffers.forEach((buf) => {\n buf.copy(msg, pos, 0);\n pos += buf.length;\n });\n this.outBuffers = [];\n this.outCount = 0;\n return msg;\n }\n ensureAvailable(len) {\n if (this.readCursor + len > this.buffer.length) {\n throw new errors_1.InputBufferUnderrunError();\n }\n }\n}\nexports.BufferedTransport = BufferedTransport;\n//# sourceMappingURL=BufferedTransport.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js ***! + \*****************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass TTransport {\n static receiver(data) {\n throw new Error('Not implemented');\n }\n constructor(buffer) {\n this.buffer = buffer;\n this.requestId = null;\n }\n}\nexports.TTransport = TTransport;\n//# sourceMappingURL=TTransport.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js ***! + \***********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst MAX_PACKETS = 10;\nclass ThriftFrameCodec {\n encode(dateToSend) {\n const msg = Buffer.alloc(dateToSend.length + 4);\n binary.writeI32(msg, dateToSend.length);\n dateToSend.copy(msg, 4, 0, dateToSend.length);\n return msg;\n }\n decode(dataToRead) {\n const dataToReturn = Buffer.alloc(dataToRead.length - 4);\n let writeCursor = 0;\n let count = 0;\n while (dataToRead.length > 0) {\n if (dataToRead.length < 4) {\n return Buffer.alloc(0);\n }\n else {\n const frameSize = binary.readI32(dataToRead, 0);\n if (dataToRead.length < 4 + frameSize) {\n return Buffer.alloc(0);\n }\n const frame = dataToRead.slice(4, 4 + frameSize);\n const remaining = dataToRead.slice(4 + frameSize);\n frame.copy(dataToReturn, 0, writeCursor);\n writeCursor += frame.length;\n dataToRead = remaining;\n count++;\n if (count >= MAX_PACKETS) {\n dataToRead = Buffer.alloc(0);\n }\n }\n }\n return dataToReturn;\n }\n}\nexports.ThriftFrameCodec = ThriftFrameCodec;\n//# sourceMappingURL=ThriftFrameCodec.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js ***! + \************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BufferedTransport_1 = __webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\");\n__export(__webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\"));\n__export(__webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\"));\n__export(__webpack_require__(/*! ./ThriftFrameCodec */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js\"));\nconst transports = {\n buffered: BufferedTransport_1.BufferedTransport,\n};\nexports.supportedTransports = Object.keys(transports);\nfunction isTransportSupported(transport) {\n return exports.supportedTransports.indexOf(transport) !== -1;\n}\nexports.isTransportSupported = isTransportSupported;\nfunction getTransport(transport = 'buffered') {\n if (!isTransportSupported(transport)) {\n throw new Error(`Invalid transport specified. Supported values: ${exports.supportedTransports.join(', ')}`);\n }\n return transports[transport];\n}\nexports.getTransport = getTransport;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/types.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/types.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\"));\nclass ThriftConnection {\n constructor(Transport, Protocol) {\n this.Transport = Transport;\n this.Protocol = Protocol;\n }\n}\nexports.ThriftConnection = ThriftConnection;\nclass StructLike {\n constructor() {\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n}\nexports.StructLike = StructLike;\nclass ThriftClient {\n constructor(connection) {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n this._requestId = 0;\n this.transport = connection.Transport;\n this.protocol = connection.Protocol;\n this.connection = connection;\n }\n incrementRequestId() {\n return (this._requestId += 1);\n }\n}\nThriftClient.serviceName = undefined;\nThriftClient.annotations = {};\nThriftClient.methodAnnotations = {};\nThriftClient.methodNames = [];\nexports.ThriftClient = ThriftClient;\nclass ThriftProcessor {\n constructor() {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n }\n}\nThriftProcessor.serviceName = undefined;\nThriftProcessor.annotations = {};\nThriftProcessor.methodAnnotations = {};\nThriftProcessor.methodNames = [];\nexports.ThriftProcessor = ThriftProcessor;\nvar TType;\n(function (TType) {\n TType[TType[\"STOP\"] = 0] = \"STOP\";\n TType[TType[\"VOID\"] = 1] = \"VOID\";\n TType[TType[\"BOOL\"] = 2] = \"BOOL\";\n TType[TType[\"BYTE\"] = 3] = \"BYTE\";\n TType[TType[\"I08\"] = 3] = \"I08\";\n TType[TType[\"DOUBLE\"] = 4] = \"DOUBLE\";\n TType[TType[\"I16\"] = 6] = \"I16\";\n TType[TType[\"I32\"] = 8] = \"I32\";\n TType[TType[\"I64\"] = 10] = \"I64\";\n TType[TType[\"STRING\"] = 11] = \"STRING\";\n TType[TType[\"UTF7\"] = 11] = \"UTF7\";\n TType[TType[\"STRUCT\"] = 12] = \"STRUCT\";\n TType[TType[\"MAP\"] = 13] = \"MAP\";\n TType[TType[\"SET\"] = 14] = \"SET\";\n TType[TType[\"LIST\"] = 15] = \"LIST\";\n TType[TType[\"ENUM\"] = 16] = \"ENUM\";\n TType[TType[\"UTF8\"] = 16] = \"UTF8\";\n TType[TType[\"UTF16\"] = 17] = \"UTF16\";\n})(TType = exports.TType || (exports.TType = {}));\nvar MessageType;\n(function (MessageType) {\n MessageType[MessageType[\"CALL\"] = 1] = \"CALL\";\n MessageType[MessageType[\"REPLY\"] = 2] = \"REPLY\";\n MessageType[MessageType[\"EXCEPTION\"] = 3] = \"EXCEPTION\";\n MessageType[MessageType[\"ONEWAY\"] = 4] = \"ONEWAY\";\n})(MessageType = exports.MessageType || (exports.MessageType = {}));\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/types.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction encode(thriftObject, ThriftCodec, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol) {\n return new Promise((resolve, reject) => {\n const transport = new Transport();\n const protocol = new Protocol(transport);\n ThriftCodec.encode(thriftObject, protocol);\n const data = protocol.flush();\n resolve(data);\n });\n}\nexports.encode = encode;\nfunction appendThriftObject(value, data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n return encode(value, ThriftCodec, Transport, Protocol).then((encoded) => {\n return Buffer.concat([encoded, data]);\n });\n}\nexports.appendThriftObject = appendThriftObject;\n//# sourceMappingURL=appendThriftObject.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js ***! + \*******************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst merge = __webpack_require__(/*! lodash/merge */ \"./node_modules/lodash/merge.js\");\nconst url = __webpack_require__(/*! url */ \"./node_modules/node-libs-browser/node_modules/url/url.js\");\n__export(__webpack_require__(/*! ./appendThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftMetadata */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js\"));\n__export(__webpack_require__(/*! ./normalizePath */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js\"));\nfunction deepMerge(base, update) {\n return merge({}, base, update);\n}\nexports.deepMerge = deepMerge;\nfunction overlayObjects(...objs) {\n return objs.reduce((acc, next) => {\n return deepMerge(acc, next);\n }, {});\n}\nexports.overlayObjects = overlayObjects;\nfunction formatUrl(requestUrl) {\n const parsed = url.parse(url.format(requestUrl));\n if (!parsed.pathname) {\n return `${parsed.hostname || ''}/`;\n }\n else {\n return `${parsed.hostname || ''}${parsed.pathname}`;\n }\n}\nexports.formatUrl = formatUrl;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.normalizePath = (path = '/') => {\n path = path.trim();\n if (path === '/' || path === '') {\n return '';\n }\n if (!path.startsWith('/')) {\n path = `/${path}`;\n }\n if (path.endsWith('/')) {\n path = path.substring(0, path.length - 1);\n }\n return path;\n};\n//# sourceMappingURL=normalizePath.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftMetadata(buffer, Transport, Protocol, logger) {\n try {\n const transportWithData = new Transport(buffer);\n const input = new Protocol(transportWithData);\n return input.readMessageBegin();\n }\n catch (err) {\n logger(['warn', 'readThriftMetadata'], `Unable to read Thrift message. ${err.message}`);\n throw err;\n }\n}\nexports.readThriftMetadata = readThriftMetadata;\nfunction readThriftMethod(buffer, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol, logger = logger_1.defaultLogger) {\n try {\n const { fieldName } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return fieldName;\n }\n catch (err) {\n logger(['warn', 'readThrfitMethod'], `Unable to read Thrift method name. ${err.message}`);\n return '';\n }\n}\nexports.readThriftMethod = readThriftMethod;\nfunction readRequestId(buffer, Transport, Protocol, logger = logger_1.defaultLogger) {\n try {\n const { requestId } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return requestId;\n }\n catch (err) {\n logger(['warn', 'readRequestId'], `Unable to read Thrift requestId. ${err.message}`);\n return 0;\n }\n}\nexports.readRequestId = readRequestId;\n//# sourceMappingURL=readThriftMetadata.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftObject(data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n return new Promise((resolve, reject) => {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n const decoded = ThriftCodec.decode(input);\n resolve([decoded, receiver.remaining()]);\n });\n}\nexports.readThriftObject = readThriftObject;\nfunction stripStruct(data, transportType = 'buffered', protocolType = 'binary') {\n try {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n input.readStructBegin();\n while (true) {\n const ret = input.readFieldBegin();\n const fieldType = ret.fieldType;\n if (fieldType === types_1.TType.STOP) {\n break;\n }\n else {\n input.skip(fieldType);\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return receiver.remaining();\n }\n catch (err) {\n return data;\n }\n}\nexports.stripStruct = stripStruct;\n//# sourceMappingURL=readThriftObject.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js?"); + +/***/ }), + +/***/ "./node_modules/base64-js/index.js": +/*!*****************************************!*\ + !*** ./node_modules/base64-js/index.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./node_modules/base64-js/index.js?"); + +/***/ }), + +/***/ "./node_modules/buffer/index.js": +/*!**************************************!*\ + !*** ./node_modules/buffer/index.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/buffer/index.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_a-function.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_a-function.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_a-function.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_add-to-unscopables.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_an-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_an-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_an-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_array-species-constructor.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! + \********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-constructor.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_array-species-create.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-create.js ***! + \***************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ \"./node_modules/core-js/modules/_array-species-constructor.js\");\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-create.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_cof.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_cof.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_cof.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_core.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_core.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_core.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_ctx.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_ctx.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ctx.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_defined.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_defined.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_defined.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_descriptors.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_descriptors.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_descriptors.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_dom-create.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_dom-create.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_dom-create.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_export.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_export.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_export.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_fails.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_fails.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_fails.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_flags.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_flags.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flags.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_flatten-into-array.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flatten-into-array.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_function-to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_function-to-string.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('native-function-to-string', Function.toString);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_function-to-string.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_global.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_global.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_global.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_has.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_has.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_has.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_hide.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_hide.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_hide.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! + \*********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ie8-dom-define.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_is-array.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-array.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_is-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_library.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_library.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = false;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_library.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_object-dp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dp.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/modules/_ie8-dom-define.js\");\nvar toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/modules/_to-primitive.js\");\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_object-dp.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_property-desc.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_property-desc.js ***! + \********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_property-desc.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_redefine.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_redefine.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar SRC = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\")('src');\nvar $toString = __webpack_require__(/*! ./_function-to-string */ \"./node_modules/core-js/modules/_function-to-string.js\");\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_redefine.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_shared.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_shared.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\") ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_shared.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-integer.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-integer.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-integer.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-length.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-length.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-length.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-primitive.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_to-primitive.js ***! + \*******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-primitive.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_uid.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_uid.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_uid.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_wks.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_wks.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('wks');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nvar Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_wks.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! + \**********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 21.2.5.3 get RegExp.prototype.flags()\nif (__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\").f(RegExp.prototype, 'flags', {\n configurable: true,\n get: __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\")\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.flags.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! + \**************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n__webpack_require__(/*! ./es6.regexp.flags */ \"./node_modules/core-js/modules/es6.regexp.flags.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar $flags = __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\");\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\")(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! + \************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ \"./node_modules/core-js/modules/_flatten-into-array.js\");\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/modules/_to-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ \"./node_modules/core-js/modules/_array-species-create.js\");\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\n__webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/modules/_add-to-unscopables.js\")('flatMap');\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es7.array.flat-map.js?"); + +/***/ }), + +/***/ "./node_modules/ieee754/index.js": +/*!***************************************!*\ + !*** ./node_modules/ieee754/index.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("exports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./node_modules/ieee754/index.js?"); + +/***/ }), + +/***/ "./node_modules/isarray/index.js": +/*!***************************************!*\ + !*** ./node_modules/isarray/index.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/isarray/index.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Hash.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/_Hash.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var hashClear = __webpack_require__(/*! ./_hashClear */ \"./node_modules/lodash/_hashClear.js\"),\n hashDelete = __webpack_require__(/*! ./_hashDelete */ \"./node_modules/lodash/_hashDelete.js\"),\n hashGet = __webpack_require__(/*! ./_hashGet */ \"./node_modules/lodash/_hashGet.js\"),\n hashHas = __webpack_require__(/*! ./_hashHas */ \"./node_modules/lodash/_hashHas.js\"),\n hashSet = __webpack_require__(/*! ./_hashSet */ \"./node_modules/lodash/_hashSet.js\");\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Hash.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_ListCache.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_ListCache.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ \"./node_modules/lodash/_listCacheClear.js\"),\n listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ \"./node_modules/lodash/_listCacheDelete.js\"),\n listCacheGet = __webpack_require__(/*! ./_listCacheGet */ \"./node_modules/lodash/_listCacheGet.js\"),\n listCacheHas = __webpack_require__(/*! ./_listCacheHas */ \"./node_modules/lodash/_listCacheHas.js\"),\n listCacheSet = __webpack_require__(/*! ./_listCacheSet */ \"./node_modules/lodash/_listCacheSet.js\");\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_ListCache.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Map.js": +/*!*************************************!*\ + !*** ./node_modules/lodash/_Map.js ***! + \*************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Map.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_MapCache.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_MapCache.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ \"./node_modules/lodash/_mapCacheClear.js\"),\n mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ \"./node_modules/lodash/_mapCacheDelete.js\"),\n mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ \"./node_modules/lodash/_mapCacheGet.js\"),\n mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ \"./node_modules/lodash/_mapCacheHas.js\"),\n mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ \"./node_modules/lodash/_mapCacheSet.js\");\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_MapCache.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Stack.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/_Stack.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n stackClear = __webpack_require__(/*! ./_stackClear */ \"./node_modules/lodash/_stackClear.js\"),\n stackDelete = __webpack_require__(/*! ./_stackDelete */ \"./node_modules/lodash/_stackDelete.js\"),\n stackGet = __webpack_require__(/*! ./_stackGet */ \"./node_modules/lodash/_stackGet.js\"),\n stackHas = __webpack_require__(/*! ./_stackHas */ \"./node_modules/lodash/_stackHas.js\"),\n stackSet = __webpack_require__(/*! ./_stackSet */ \"./node_modules/lodash/_stackSet.js\");\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Stack.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Symbol.js": +/*!****************************************!*\ + !*** ./node_modules/lodash/_Symbol.js ***! + \****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Symbol.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Uint8Array.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_Uint8Array.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Uint8Array.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_apply.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/_apply.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_apply.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_arrayLikeKeys.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_arrayLikeKeys.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseTimes = __webpack_require__(/*! ./_baseTimes */ \"./node_modules/lodash/_baseTimes.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_arrayLikeKeys.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assignMergeValue.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_assignMergeValue.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignMergeValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assignValue.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_assignValue.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assocIndexOf.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_assocIndexOf.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assocIndexOf.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseAssignValue.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseAssignValue.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\");\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseAssignValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseCreate.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseCreate.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseCreate.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseFor.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_baseFor.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ \"./node_modules/lodash/_createBaseFor.js\");\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseFor.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseGetTag.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseGetTag.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\"),\n getRawTag = __webpack_require__(/*! ./_getRawTag */ \"./node_modules/lodash/_getRawTag.js\"),\n objectToString = __webpack_require__(/*! ./_objectToString */ \"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseGetTag.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsArguments.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseIsArguments.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsArguments.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsNative.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_baseIsNative.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isMasked = __webpack_require__(/*! ./_isMasked */ \"./node_modules/lodash/_isMasked.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n toSource = __webpack_require__(/*! ./_toSource */ \"./node_modules/lodash/_toSource.js\");\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsNative.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsTypedArray.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_baseIsTypedArray.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseKeysIn.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseKeysIn.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\"),\n nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ \"./node_modules/lodash/_nativeKeysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseKeysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseMerge.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseMerge.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Stack = __webpack_require__(/*! ./_Stack */ \"./node_modules/lodash/_Stack.js\"),\n assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n baseFor = __webpack_require__(/*! ./_baseFor */ \"./node_modules/lodash/_baseFor.js\"),\n baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ \"./node_modules/lodash/_baseMergeDeep.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\");\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMerge.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseMergeDeep.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_baseMergeDeep.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ \"./node_modules/lodash/_cloneBuffer.js\"),\n cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ \"./node_modules/lodash/_cloneTypedArray.js\"),\n copyArray = __webpack_require__(/*! ./_copyArray */ \"./node_modules/lodash/_copyArray.js\"),\n initCloneObject = __webpack_require__(/*! ./_initCloneObject */ \"./node_modules/lodash/_initCloneObject.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ \"./node_modules/lodash/isArrayLikeObject.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPlainObject = __webpack_require__(/*! ./isPlainObject */ \"./node_modules/lodash/isPlainObject.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\"),\n toPlainObject = __webpack_require__(/*! ./toPlainObject */ \"./node_modules/lodash/toPlainObject.js\");\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMergeDeep.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseRest.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_baseRest.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\"),\n overRest = __webpack_require__(/*! ./_overRest */ \"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(/*! ./_setToString */ \"./node_modules/lodash/_setToString.js\");\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseRest.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseSetToString.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseSetToString.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var constant = __webpack_require__(/*! ./constant */ \"./node_modules/lodash/constant.js\"),\n defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\"),\n identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\");\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseSetToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseTimes.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseTimes.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseTimes.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseUnary.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseUnary.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseUnary.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneArrayBuffer.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_cloneArrayBuffer.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ \"./node_modules/lodash/_Uint8Array.js\");\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneArrayBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneBuffer.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_cloneBuffer.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneTypedArray.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_cloneTypedArray.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ \"./node_modules/lodash/_cloneArrayBuffer.js\");\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_copyArray.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_copyArray.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_copyObject.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_copyObject.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assignValue = __webpack_require__(/*! ./_assignValue */ \"./node_modules/lodash/_assignValue.js\"),\n baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\");\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_coreJsData.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_coreJsData.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_coreJsData.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_createAssigner.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_createAssigner.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseRest = __webpack_require__(/*! ./_baseRest */ \"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ \"./node_modules/lodash/_isIterateeCall.js\");\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createAssigner.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_createBaseFor.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_createBaseFor.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createBaseFor.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_defineProperty.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_defineProperty.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_defineProperty.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_freeGlobal.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_freeGlobal.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/lodash/_freeGlobal.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getMapData.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_getMapData.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isKeyable = __webpack_require__(/*! ./_isKeyable */ \"./node_modules/lodash/_isKeyable.js\");\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getMapData.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getNative.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_getNative.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ \"./node_modules/lodash/_baseIsNative.js\"),\n getValue = __webpack_require__(/*! ./_getValue */ \"./node_modules/lodash/_getValue.js\");\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getNative.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getPrototype.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_getPrototype.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var overArg = __webpack_require__(/*! ./_overArg */ \"./node_modules/lodash/_overArg.js\");\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getPrototype.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getRawTag.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_getRawTag.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getRawTag.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getValue.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_getValue.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashClear.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_hashClear.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashDelete.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_hashDelete.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashGet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashGet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashHas.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashHas.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashSet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashSet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_initCloneObject.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_initCloneObject.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseCreate = __webpack_require__(/*! ./_baseCreate */ \"./node_modules/lodash/_baseCreate.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\");\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_initCloneObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isIndex.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_isIndex.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIndex.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isIterateeCall.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_isIterateeCall.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIterateeCall.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isKeyable.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_isKeyable.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isKeyable.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isMasked.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_isMasked.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var coreJsData = __webpack_require__(/*! ./_coreJsData */ \"./node_modules/lodash/_coreJsData.js\");\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isMasked.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isPrototype.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_isPrototype.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isPrototype.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheClear.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_listCacheClear.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheDelete.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_listCacheDelete.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheGet.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheGet.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheHas.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheHas.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheSet.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheSet.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheClear.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_mapCacheClear.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Hash = __webpack_require__(/*! ./_Hash */ \"./node_modules/lodash/_Hash.js\"),\n ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\");\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheDelete.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_mapCacheDelete.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheGet.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheGet.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheHas.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheHas.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheSet.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheSet.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nativeCreate.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_nativeCreate.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeCreate.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nativeKeysIn.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_nativeKeysIn.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeKeysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nodeUtil.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_nodeUtil.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_nodeUtil.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_objectToString.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_objectToString.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_objectToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_overArg.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_overArg.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overArg.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_overRest.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_overRest.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var apply = __webpack_require__(/*! ./_apply */ \"./node_modules/lodash/_apply.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overRest.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_root.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/_root.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_root.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_safeGet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_safeGet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_safeGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_setToString.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_setToString.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ \"./node_modules/lodash/_baseSetToString.js\"),\n shortOut = __webpack_require__(/*! ./_shortOut */ \"./node_modules/lodash/_shortOut.js\");\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_setToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_shortOut.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_shortOut.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_shortOut.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackClear.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_stackClear.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\");\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackDelete.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_stackDelete.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackGet.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackGet.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackHas.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackHas.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackSet.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackSet.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\"),\n MapCache = __webpack_require__(/*! ./_MapCache */ \"./node_modules/lodash/_MapCache.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_toSource.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_toSource.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_toSource.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/constant.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/constant.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/constant.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/eq.js": +/*!***********************************!*\ + !*** ./node_modules/lodash/eq.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/eq.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/identity.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/identity.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/identity.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArguments.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/isArguments.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ \"./node_modules/lodash/_baseIsArguments.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArguments.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArray.js": +/*!****************************************!*\ + !*** ./node_modules/lodash/isArray.js ***! + \****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArrayLike.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/isArrayLike.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\");\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLike.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArrayLikeObject.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/isArrayLikeObject.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLikeObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isBuffer.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isBuffer.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\"),\n stubFalse = __webpack_require__(/*! ./stubFalse */ \"./node_modules/lodash/stubFalse.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/isBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isFunction.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/isFunction.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isFunction.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isLength.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isLength.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isLength.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isObject.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isObject.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isObjectLike.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/isObjectLike.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObjectLike.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isPlainObject.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/isPlainObject.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isPlainObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isTypedArray.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/isTypedArray.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ \"./node_modules/lodash/_baseIsTypedArray.js\"),\n baseUnary = __webpack_require__(/*! ./_baseUnary */ \"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(/*! ./_nodeUtil */ \"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/keysIn.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/keysIn.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ \"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ \"./node_modules/lodash/_baseKeysIn.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\");\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/keysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/merge.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/merge.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseMerge = __webpack_require__(/*! ./_baseMerge */ \"./node_modules/lodash/_baseMerge.js\"),\n createAssigner = __webpack_require__(/*! ./_createAssigner */ \"./node_modules/lodash/_createAssigner.js\");\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/merge.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/stubFalse.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/stubFalse.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/stubFalse.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/toPlainObject.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/toPlainObject.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var copyObject = __webpack_require__(/*! ./_copyObject */ \"./node_modules/lodash/_copyObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\");\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/toPlainObject.js?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/AdSlot.ts": +/*!**************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/AdSlot.ts ***! + \**************************************************************/ +/*! exports provided: AdSlotCodec, AdSlot */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlotCodec\", function() { return AdSlotCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlot\", function() { return AdSlot; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar AdSlotCodec = {\n encode(args, output) {\n var obj = {\n x: args.x,\n y: args.y,\n height: args.height,\n width: args.width\n };\n output.writeStructBegin(\"AdSlot\");\n\n if (obj.x != null) {\n output.writeFieldBegin(\"x\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 1);\n output.writeI32(obj.x);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (obj.y != null) {\n output.writeFieldBegin(\"y\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.y);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (obj.height != null) {\n output.writeFieldBegin(\"height\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 3);\n output.writeI32(obj.height);\n output.writeFieldEnd();\n }\n\n if (obj.width != null) {\n output.writeFieldBegin(\"width\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 4);\n output.writeI32(obj.width);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_1 = input.readI32();\n _args.x = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_2 = input.readI32();\n _args.y = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_3 = input.readI32();\n _args.height = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 4:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_4 = input.readI32();\n _args.width = value_4;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.x !== undefined && _args.y !== undefined) {\n return {\n x: _args.x,\n y: _args.y,\n height: _args.height,\n width: _args.width\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read AdSlot from input\");\n }\n }\n\n};\nclass AdSlot extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.x != null) {\n var value_5 = args.x;\n this.x = value_5;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (args.y != null) {\n var value_6 = args.y;\n this.y = value_6;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (args.height != null) {\n var value_7 = args.height;\n this.height = value_7;\n }\n\n if (args.width != null) {\n var value_8 = args.width;\n this.width = value_8;\n }\n }\n\n static read(input) {\n return new AdSlot(AdSlotCodec.decode(input));\n }\n\n static write(args, output) {\n return AdSlotCodec.encode(args, output);\n }\n\n write(output) {\n return AdSlotCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/AdSlot.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Image.ts": +/*!*************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Image.ts ***! + \*************************************************************/ +/*! exports provided: ImageCodec, Image */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImageCodec\", function() { return ImageCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Image\", function() { return Image; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar ImageCodec = {\n encode(args, output) {\n var obj = {\n url: args.url,\n caption: args.caption,\n credit: args.credit\n };\n output.writeStructBegin(\"Image\");\n\n if (obj.url != null) {\n output.writeFieldBegin(\"url\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.url);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (obj.caption != null) {\n output.writeFieldBegin(\"caption\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 2);\n output.writeString(obj.caption);\n output.writeFieldEnd();\n }\n\n if (obj.credit != null) {\n output.writeFieldBegin(\"credit\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 3);\n output.writeString(obj.credit);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.url = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_2 = input.readString();\n _args.caption = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_3 = input.readString();\n _args.credit = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.url !== undefined) {\n return {\n url: _args.url,\n caption: _args.caption,\n credit: _args.credit\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Image from input\");\n }\n }\n\n};\nclass Image extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.url != null) {\n var value_4 = args.url;\n this.url = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (args.caption != null) {\n var value_5 = args.caption;\n this.caption = value_5;\n }\n\n if (args.credit != null) {\n var value_6 = args.credit;\n this.credit = value_6;\n }\n }\n\n static read(input) {\n return new Image(ImageCodec.decode(input));\n }\n\n static write(args, output) {\n return ImageCodec.encode(args, output);\n }\n\n write(output) {\n return ImageCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Image.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Native.ts": +/*!**************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Native.ts ***! + \**************************************************************/ +/*! exports provided: serviceName, annotations, methodAnnotations, methodNames, methodParameters, InsertAdverts__ArgsCodec, InsertAdverts__Args, NativeThriftPackageVersion__ArgsCodec, NativeThriftPackageVersion__Args, LaunchFrictionScreen__ArgsCodec, LaunchFrictionScreen__Args, Follow__ArgsCodec, Follow__Args, Unfollow__ArgsCodec, Unfollow__Args, IsFollowing__ArgsCodec, IsFollowing__Args, IsPremiumUser__ArgsCodec, IsPremiumUser__Args, LaunchSlideshow__ArgsCodec, LaunchSlideshow__Args, InsertAdverts__ResultCodec, InsertAdverts__Result, NativeThriftPackageVersion__ResultCodec, NativeThriftPackageVersion__Result, LaunchFrictionScreen__ResultCodec, LaunchFrictionScreen__Result, Follow__ResultCodec, Follow__Result, Unfollow__ResultCodec, Unfollow__Result, IsFollowing__ResultCodec, IsFollowing__Result, IsPremiumUser__ResultCodec, IsPremiumUser__Result, LaunchSlideshow__ResultCodec, LaunchSlideshow__Result, Client, Processor */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"serviceName\", function() { return serviceName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"annotations\", function() { return annotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodAnnotations\", function() { return methodAnnotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodNames\", function() { return methodNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodParameters\", function() { return methodParameters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ArgsCodec\", function() { return InsertAdverts__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Args\", function() { return InsertAdverts__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ArgsCodec\", function() { return NativeThriftPackageVersion__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Args\", function() { return NativeThriftPackageVersion__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ArgsCodec\", function() { return LaunchFrictionScreen__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Args\", function() { return LaunchFrictionScreen__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ArgsCodec\", function() { return Follow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Args\", function() { return Follow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ArgsCodec\", function() { return Unfollow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Args\", function() { return Unfollow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ArgsCodec\", function() { return IsFollowing__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Args\", function() { return IsFollowing__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ArgsCodec\", function() { return IsPremiumUser__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Args\", function() { return IsPremiumUser__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ArgsCodec\", function() { return LaunchSlideshow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Args\", function() { return LaunchSlideshow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ResultCodec\", function() { return InsertAdverts__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Result\", function() { return InsertAdverts__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ResultCodec\", function() { return NativeThriftPackageVersion__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Result\", function() { return NativeThriftPackageVersion__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ResultCodec\", function() { return LaunchFrictionScreen__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Result\", function() { return LaunchFrictionScreen__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ResultCodec\", function() { return Follow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Result\", function() { return Follow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ResultCodec\", function() { return Unfollow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Result\", function() { return Unfollow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ResultCodec\", function() { return IsFollowing__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Result\", function() { return IsFollowing__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ResultCodec\", function() { return IsPremiumUser__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Result\", function() { return IsPremiumUser__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ResultCodec\", function() { return LaunchSlideshow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Result\", function() { return LaunchSlideshow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Client\", function() { return Client; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Processor\", function() { return Processor; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _AdSlot__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var _Topic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var _Image__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\n\n\n\nvar serviceName = \"Native\";\nvar annotations = {};\nvar methodAnnotations = {\n insertAdverts: {\n annotations: {},\n fieldAnnotations: {}\n },\n nativeThriftPackageVersion: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchFrictionScreen: {\n annotations: {},\n fieldAnnotations: {}\n },\n follow: {\n annotations: {},\n fieldAnnotations: {}\n },\n unfollow: {\n annotations: {},\n fieldAnnotations: {}\n },\n isFollowing: {\n annotations: {},\n fieldAnnotations: {}\n },\n isPremiumUser: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchSlideshow: {\n annotations: {},\n fieldAnnotations: {}\n }\n};\nvar methodNames = [\"insertAdverts\", \"nativeThriftPackageVersion\", \"launchFrictionScreen\", \"follow\", \"unfollow\", \"isFollowing\", \"isPremiumUser\", \"launchSlideshow\"];\nvar methodParameters = {\n insertAdverts: 2,\n nativeThriftPackageVersion: 1,\n launchFrictionScreen: 1,\n follow: 2,\n unfollow: 2,\n isFollowing: 2,\n isPremiumUser: 1,\n launchSlideshow: 3\n};\nvar InsertAdverts__ArgsCodec = {\n encode(args, output) {\n var obj = {\n adSlots: args.adSlots\n };\n output.writeStructBegin(\"InsertAdverts__Args\");\n\n if (obj.adSlots != null) {\n output.writeFieldBegin(\"adSlots\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.adSlots.length);\n obj.adSlots.forEach(value_1 => {\n _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].encode(value_1, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_2 = new Array();\n var metadata_1 = input.readListBegin();\n var size_1 = metadata_1.size;\n\n for (var i_1 = 0; i_1 < size_1; i_1++) {\n var value_3 = _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].decode(input);\n value_2.push(value_3);\n }\n\n input.readListEnd();\n _args.adSlots = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.adSlots !== undefined) {\n return {\n adSlots: _args.adSlots\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read InsertAdverts__Args from input\");\n }\n }\n\n};\nclass InsertAdverts__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.adSlots != null) {\n var value_4 = new Array();\n args.adSlots.forEach(value_5 => {\n var value_6 = new _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlot\"](value_5);\n value_4.push(value_6);\n });\n this.adSlots = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n }\n\n static read(input) {\n return new InsertAdverts__Args(InsertAdverts__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ArgsCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"NativeThriftPackageVersion__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass NativeThriftPackageVersion__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Args(NativeThriftPackageVersion__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass LaunchFrictionScreen__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Args(LaunchFrictionScreen__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ArgsCodec.encode(this, output);\n }\n\n}\nvar Follow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Follow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_7 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_7;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Follow__Args from input\");\n }\n }\n\n};\nclass Follow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_8 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_8;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Follow__Args(Follow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ArgsCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Unfollow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_9 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_9;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Unfollow__Args from input\");\n }\n }\n\n};\nclass Unfollow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_10 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_10;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Unfollow__Args(Unfollow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"IsFollowing__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_11 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_11;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read IsFollowing__Args from input\");\n }\n }\n\n};\nclass IsFollowing__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_12 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_12;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new IsFollowing__Args(IsFollowing__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"IsPremiumUser__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass IsPremiumUser__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new IsPremiumUser__Args(IsPremiumUser__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n images: args.images,\n selectedIndex: args.selectedIndex\n };\n output.writeStructBegin(\"LaunchSlideshow__Args\");\n\n if (obj.images != null) {\n output.writeFieldBegin(\"images\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.images.length);\n obj.images.forEach(value_13 => {\n _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].encode(value_13, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (obj.selectedIndex != null) {\n output.writeFieldBegin(\"selectedIndex\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.selectedIndex);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_14 = new Array();\n var metadata_2 = input.readListBegin();\n var size_2 = metadata_2.size;\n\n for (var i_2 = 0; i_2 < size_2; i_2++) {\n var value_15 = _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].decode(input);\n value_14.push(value_15);\n }\n\n input.readListEnd();\n _args.images = value_14;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_16 = input.readI32();\n _args.selectedIndex = value_16;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.images !== undefined && _args.selectedIndex !== undefined) {\n return {\n images: _args.images,\n selectedIndex: _args.selectedIndex\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read LaunchSlideshow__Args from input\");\n }\n }\n\n};\nclass LaunchSlideshow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.images != null) {\n var value_17 = new Array();\n args.images.forEach(value_19 => {\n var value_20 = new _Image__WEBPACK_IMPORTED_MODULE_3__[\"Image\"](value_19);\n value_17.push(value_20);\n });\n this.images = value_17;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (args.selectedIndex != null) {\n var value_18 = args.selectedIndex;\n this.selectedIndex = value_18;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Args(LaunchSlideshow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ArgsCodec.encode(this, output);\n }\n\n}\nvar InsertAdverts__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"InsertAdverts__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass InsertAdverts__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_21 = undefined;\n this.success = value_21;\n }\n }\n\n static read(input) {\n return new InsertAdverts__Result(InsertAdverts__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ResultCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"NativeThriftPackageVersion__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 0);\n output.writeI32(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_22 = input.readI32();\n _args.success = value_22;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass NativeThriftPackageVersion__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_23 = args.success;\n this.success = value_23;\n }\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Result(NativeThriftPackageVersion__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchFrictionScreen__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_24 = undefined;\n this.success = value_24;\n }\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Result(LaunchFrictionScreen__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ResultCodec.encode(this, output);\n }\n\n}\nvar Follow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Follow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Follow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_25 = undefined;\n this.success = value_25;\n }\n }\n\n static read(input) {\n return new Follow__Result(Follow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ResultCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Unfollow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Unfollow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_26 = undefined;\n this.success = value_26;\n }\n }\n\n static read(input) {\n return new Unfollow__Result(Unfollow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ResultCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsFollowing__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_27 = input.readBool();\n _args.success = value_27;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsFollowing__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_28 = args.success;\n this.success = value_28;\n }\n }\n\n static read(input) {\n return new IsFollowing__Result(IsFollowing__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ResultCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsPremiumUser__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_29 = input.readBool();\n _args.success = value_29;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsPremiumUser__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_30 = args.success;\n this.success = value_30;\n }\n }\n\n static read(input) {\n return new IsPremiumUser__Result(IsPremiumUser__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchSlideshow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchSlideshow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_31 = undefined;\n this.success = value_31;\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Result(LaunchSlideshow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ResultCodec.encode(this, output);\n }\n\n}\nclass Client extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftClient\"] {\n constructor() {\n super(...arguments);\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._methodParameters = methodParameters;\n }\n\n insertAdverts(adSlots, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n adSlots\n };\n InsertAdverts__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"insertAdverts\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = InsertAdverts__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n nativeThriftPackageVersion(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"nativeThriftPackageVersion\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = NativeThriftPackageVersion__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"nativeThriftPackageVersion failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchFrictionScreen(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n LaunchFrictionScreen__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchFrictionScreen\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchFrictionScreen__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n follow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Follow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"follow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Follow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n unfollow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Unfollow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"unfollow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Unfollow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isFollowing(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n IsFollowing__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isFollowing\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsFollowing__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isFollowing failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isPremiumUser(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n IsPremiumUser__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isPremiumUser\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsPremiumUser__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isPremiumUser failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchSlideshow(images, selectedIndex, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n images,\n selectedIndex\n };\n LaunchSlideshow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchSlideshow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchSlideshow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n}\nClient.serviceName = serviceName;\nClient.annotations = annotations;\nClient.methodAnnotations = methodAnnotations;\nClient.methodNames = methodNames;\nclass Processor extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftProcessor\"] {\n constructor(handler) {\n super();\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._handler = handler;\n }\n\n process(input, output, context) {\n return new Promise((resolve, reject) => {\n var metadata = input.readMessageBegin();\n var fieldName = metadata.fieldName;\n var requestId = metadata.requestId;\n var methodName = \"process_\" + fieldName;\n\n switch (methodName) {\n case \"process_insertAdverts\":\n {\n resolve(this.process_insertAdverts(requestId, input, output, context));\n break;\n }\n\n case \"process_nativeThriftPackageVersion\":\n {\n resolve(this.process_nativeThriftPackageVersion(requestId, input, output, context));\n break;\n }\n\n case \"process_launchFrictionScreen\":\n {\n resolve(this.process_launchFrictionScreen(requestId, input, output, context));\n break;\n }\n\n case \"process_follow\":\n {\n resolve(this.process_follow(requestId, input, output, context));\n break;\n }\n\n case \"process_unfollow\":\n {\n resolve(this.process_unfollow(requestId, input, output, context));\n break;\n }\n\n case \"process_isFollowing\":\n {\n resolve(this.process_isFollowing(requestId, input, output, context));\n break;\n }\n\n case \"process_isPremiumUser\":\n {\n resolve(this.process_isPremiumUser(requestId, input, output, context));\n break;\n }\n\n case \"process_launchSlideshow\":\n {\n resolve(this.process_launchSlideshow(requestId, input, output, context));\n break;\n }\n\n default:\n {\n input.skip(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT);\n input.readMessageEnd();\n var errMessage = \"Unknown function \" + fieldName;\n var err = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN_METHOD, errMessage);\n output.writeMessageBegin(fieldName, _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(err, output);\n output.writeMessageEnd();\n resolve(output.flush());\n break;\n }\n }\n });\n }\n\n process_insertAdverts(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = InsertAdverts__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.insertAdverts(args.adSlots, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n InsertAdverts__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_nativeThriftPackageVersion(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.nativeThriftPackageVersion(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n NativeThriftPackageVersion__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchFrictionScreen(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.launchFrictionScreen(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchFrictionScreen__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_follow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Follow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.follow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Follow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_unfollow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Unfollow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.unfollow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Unfollow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isFollowing(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = IsFollowing__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.isFollowing(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsFollowing__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isPremiumUser(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.isPremiumUser(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsPremiumUser__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchSlideshow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = LaunchSlideshow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.launchSlideshow(args.images, args.selectedIndex, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchSlideshow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n}\nProcessor.serviceName = serviceName;\nProcessor.annotations = annotations;\nProcessor.methodAnnotations = methodAnnotations;\nProcessor.methodNames = methodNames;\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Native.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Topic.ts": +/*!*************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Topic.ts ***! + \*************************************************************/ +/*! exports provided: TopicCodec, Topic */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TopicCodec\", function() { return TopicCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Topic\", function() { return Topic; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar TopicCodec = {\n encode(args, output) {\n var obj = {\n id: args.id\n };\n output.writeStructBegin(\"Topic\");\n\n if (obj.id != null) {\n output.writeFieldBegin(\"id\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.id);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.id = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.id !== undefined) {\n return {\n id: _args.id\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Topic from input\");\n }\n }\n\n};\nclass Topic extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.id != null) {\n var value_2 = args.id;\n this.id = value_2;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n }\n\n static read(input) {\n return new Topic(TopicCodec.decode(input));\n }\n\n static write(args, output) {\n return TopicCodec.encode(args, output);\n }\n\n write(output) {\n return TopicCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Topic.ts?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/punycode/punycode.js": +/*!**************************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/punycode/punycode.js?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/url/url.js": +/*!****************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/url/url.js ***! + \****************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/node-libs-browser/node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/url.js?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/url/util.js": +/*!*****************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/url/util.js ***! + \*****************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nmodule.exports = {\n isString: function(arg) {\n return typeof(arg) === 'string';\n },\n isObject: function(arg) {\n return typeof(arg) === 'object' && arg !== null;\n },\n isNull: function(arg) {\n return arg === null;\n },\n isNullOrUndefined: function(arg) {\n return arg == null;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/util.js?"); + +/***/ }), + +/***/ "./node_modules/process/browser.js": +/*!*****************************************!*\ + !*** ./node_modules/process/browser.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/decode.js": +/*!************************************************!*\ + !*** ./node_modules/querystring-es3/decode.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/decode.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/encode.js": +/*!************************************************!*\ + !*** ./node_modules/querystring-es3/encode.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map (xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/encode.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/index.js": +/*!***********************************************!*\ + !*** ./node_modules/querystring-es3/index.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \"./node_modules/querystring-es3/decode.js\");\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \"./node_modules/querystring-es3/encode.js\");\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/index.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/index.js": +/*!************************************!*\ + !*** ./node_modules/uuid/index.js ***! + \************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var v1 = __webpack_require__(/*! ./v1 */ \"./node_modules/uuid/v1.js\");\nvar v4 = __webpack_require__(/*! ./v4 */ \"./node_modules/uuid/v4.js\");\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/index.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/lib/bytesToUuid.js": +/*!**********************************************!*\ + !*** ./node_modules/uuid/lib/bytesToUuid.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/bytesToUuid.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/lib/rng-browser.js": +/*!**********************************************!*\ + !*** ./node_modules/uuid/lib/rng-browser.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/rng-browser.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/v1.js": +/*!*********************************!*\ + !*** ./node_modules/uuid/v1.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v1.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/v4.js": +/*!*********************************!*\ + !*** ./node_modules/uuid/v4.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v4.js?"); + +/***/ }), + +/***/ "./node_modules/webpack/buildin/global.js": +/*!***********************************!*\ + !*** (webpack)/buildin/global.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?"); + +/***/ }), + +/***/ "./node_modules/webpack/buildin/module.js": +/*!***********************************!*\ + !*** (webpack)/buildin/module.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n//# sourceURL=webpack:///(webpack)/buildin/module.js?"); + +/***/ }), + +/***/ "./src/client/article.ts": +/*!*******************************!*\ + !*** ./src/client/article.ts ***! + \*******************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.array.flat-map */ \"./node_modules/core-js/modules/es7.array.flat-map.js\");\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n/* harmony import */ var native_nativeApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! native/nativeApi */ \"./src/native/nativeApi.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! mobile-apps-thrift-typescript/AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n\n// ----- Imports ----- //\n\n\n\n\n // ----- Run ----- //\n\nfunction getAdSlots() {\n var advertSlots = document.getElementsByClassName('ad-slot');\n var scrollLeft = document.scrollingElement ? document.scrollingElement.scrollLeft : document.body.scrollLeft;\n var scrollTop = document.scrollingElement ? document.scrollingElement.scrollTop : document.body.scrollTop;\n return Array.from(advertSlots).map(adSlot => {\n var slotPosition = adSlot.getBoundingClientRect();\n return new mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__[\"AdSlot\"]({\n x: slotPosition.left + scrollLeft,\n y: slotPosition.top + scrollTop,\n width: slotPosition.width,\n height: slotPosition.height\n });\n });\n}\n\nfunction insertAds() {\n var adSlots = getAdSlots();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].insertAdverts(adSlots);\n var targetNode = document.querySelector('body');\n var config = {\n attributes: true,\n childList: true,\n subtree: true\n };\n\n var callback = function callback() {\n var currentAdSlots = getAdSlots();\n\n if (JSON.stringify(adSlots) !== JSON.stringify(currentAdSlots)) {\n // TODO: add this to mobile-apps-thrift and implement client side\n // nativeClient.updateAdverts(currentAdSlots);\n adSlots = currentAdSlots;\n }\n };\n\n var observer = new MutationObserver(callback);\n observer.observe(targetNode, config);\n}\n\nfunction ads() {\n insertAds();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isPremiumUser().then(premiumUser => {\n if (!premiumUser) {\n Array.from(document.querySelectorAll('.ad-placeholder')).map(placeholder => placeholder.classList.remove('hidden'));\n insertAds();\n }\n });\n}\n\nfunction topicClick(e) {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var statusText = (_b = status) === null || _b === void 0 ? void 0 : _b.textContent;\n var id = (_c = follow) === null || _c === void 0 ? void 0 : _c.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n\n if (statusText && statusText === 'Follow') {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].follow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Following\";\n }\n });\n } else {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].unfollow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Follow\";\n }\n });\n }\n}\n\nfunction topics() {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var id = (_b = follow) === null || _b === void 0 ? void 0 : _b.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n (_c = follow) === null || _c === void 0 ? void 0 : _c.addEventListener('click', topicClick);\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isFollowing(topic).then(following => {\n var _a;\n\n if (following && ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent)) {\n status.textContent = \"Following\";\n }\n });\n}\n\nfunction launchSlideshow(src) {\n var images = Array.from(document.querySelectorAll('.js-launch-slideshow'));\n var imagesWithCaptions = images.flatMap(image => {\n var _a, _b;\n\n var url = image.getAttribute('src');\n var caption = (_a = image.getAttribute('caption'), _a !== null && _a !== void 0 ? _a : undefined);\n var credit = (_b = image.getAttribute('credit'), _b !== null && _b !== void 0 ? _b : undefined);\n return url ? new mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__[\"Image\"]({\n url,\n caption,\n credit\n }) : [];\n });\n var clickedImageIndex = images.findIndex(image => image.getAttribute('src') === src);\n\n if (imagesWithCaptions.length && clickedImageIndex >= 0) {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].launchSlideshow(imagesWithCaptions, clickedImageIndex);\n }\n}\n\nfunction slideshow() {\n var images = document.querySelectorAll('.js-launch-slideshow');\n Array.from(images).forEach(image => image.addEventListener('click', e => {\n launchSlideshow(image.getAttribute('src'));\n }));\n}\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\nads();\ntopics();\nslideshow();\n\n//# sourceURL=webpack:///./src/client/article.ts?"); + +/***/ }), + +/***/ "./src/client/setup.ts": +/*!*****************************!*\ + !*** ./src/client/setup.ts ***! + \*****************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); + +/***/ }), + +/***/ "./src/native/nativeApi.ts": +/*!*********************************!*\ + !*** ./src/native/nativeApi.ts ***! + \*********************************/ +/*! exports provided: nativeClient */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nativeClient\", function() { return nativeClient; });\n/* harmony import */ var _thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./thrift/NativeConnection */ \"./src/native/thrift/NativeConnection.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Native */ \"./node_modules/mobile-apps-thrift-typescript/Native.ts\");\n\n\nvar nativeClient = Object(_thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__[\"createAppClient\"])(mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__[\"Client\"], 'buffered', 'compact');\n\n\n//# sourceURL=webpack:///./src/native/nativeApi.ts?"); + +/***/ }), + +/***/ "./src/native/thrift/NativeConnection.ts": +/*!***********************************************!*\ + !*** ./src/native/thrift/NativeConnection.ts ***! + \***********************************************/ +/*! exports provided: NativeConnection, createAppClient */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeConnection\", function() { return NativeConnection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAppClient\", function() { return createAppClient; });\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.to-string */ \"./node_modules/core-js/modules/es6.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! uuid */ \"./node_modules/uuid/index.js\");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar ACTION_TIMEOUT_MS = 30000;\n\nfunction sendNativeMessage(nativeMessage) {\n var _a, _b, _c, _d;\n\n if (window.AndroidWebViewMessage) {\n window.AndroidWebViewMessage(nativeMessage);\n } else if ((_d = (_c = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.webkit) === null || _b === void 0 ? void 0 : _b.messageHandlers) === null || _c === void 0 ? void 0 : _c.iOSWebViewMessage) === null || _d === void 0 ? void 0 : _d.postMessage) {\n window.webkit.messageHandlers.iOSWebViewMessage.postMessage(nativeMessage);\n } else {\n console.warn('No native APIs available');\n }\n}\n\nclass NativeConnection extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"ThriftConnection\"] {\n constructor(Transport, Protocol) {\n super(Transport, Protocol);\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n this.promises = [];\n this.outBuffer = [];\n window.nativeConnections = window.nativeConnections || {};\n window.nativeConnections[this.connectionId] = this;\n }\n\n reset(oldConnectionId) {\n if (oldConnectionId === this.connectionId) {\n console.warn(\"Reseting connection \" + oldConnectionId);\n delete window.nativeConnections[this.connectionId];\n this.promises.forEach(promise => {\n promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationExceptionType\"].UNKNOWN, \"Timeout error\"));\n });\n this.promises = [];\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n window.nativeConnections[this.connectionId] = this;\n }\n }\n\n receive(message) {\n var resolver = this.promises.shift();\n\n if (resolver) {\n clearTimeout(resolver.timeoutId);\n var data = Buffer.from(message.data, 'base64');\n resolver.resolve(data);\n }\n\n this.sendNextMessage();\n }\n\n sendNextMessage() {\n var message = this.outBuffer.shift();\n\n if (message) {\n console.log(\"Sending next message\");\n sendNativeMessage(message);\n }\n }\n\n send(dataToSend, context) {\n var id = this.connectionId; // eslint-disable-next-line @typescript-eslint/no-this-alias\n\n var connection = this;\n return new Promise(function (res, rej) {\n connection.promises.push({\n resolve: res,\n reject: rej,\n timeoutId: setTimeout(function () {\n connection.reset(id);\n }, ACTION_TIMEOUT_MS)\n });\n var message = {\n data: dataToSend.toString(\"base64\"),\n connectionId: id\n };\n\n if (connection.promises.length === 1) {\n console.log(\"Sending message immediately\");\n sendNativeMessage(message);\n } else {\n console.log(\"Queing message because others in flight\");\n connection.outBuffer.push(message);\n }\n });\n }\n\n}\nfunction createAppClient(ServiceClient) {\n var transport = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'buffered';\n var protocol = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'compact';\n return new ServiceClient(new NativeConnection(Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getTransport\"])(transport), Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getProtocol\"])(protocol)));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./src/native/thrift/NativeConnection.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/dist/assets/liveblog.js b/dist/assets/liveblog.js new file mode 100644 index 000000000..c2eaaea19 --- /dev/null +++ b/dist/assets/liveblog.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/client/liveblog.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/client/liveblog.ts": +/*!********************************!*\ + !*** ./src/client/liveblog.ts ***! + \********************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n// ----- Imports ----- //\n // ----- Run ----- //\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n\n//# sourceURL=webpack:///./src/client/liveblog.ts?"); + +/***/ }), + +/***/ "./src/client/setup.ts": +/*!*****************************!*\ + !*** ./src/client/setup.ts ***! + \*****************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3a86ccdb7..d7196d34e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6467,6 +6467,35 @@ "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" }, + "axios": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.2.tgz", + "integrity": "sha512-fjgm5MvRHLhx+osE2xoekY70AhARk3a6hkN+3Io1jc00jtquGvxYlKlsFUhmUET0V5te6CcZI7lcv2Ym61mjHA==", + "dev": true, + "requires": { + "follow-redirects": "1.5.10" + }, + "dependencies": { + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "dev": true, + "requires": { + "debug": "=3.1.0" + } + } + } + }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", @@ -7235,6 +7264,16 @@ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", "dev": true }, + "brotli-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/brotli-size/-/brotli-size-0.1.0.tgz", + "integrity": "sha512-5ny7BNvpe2TSmdafF1T9dnFYp3AIrJ8qJt29K0DQJzORlK38LBim/CmlY26JtreV6SWmXza7Oa+9m61SzvxR0Q==", + "dev": true, + "requires": { + "duplexer": "^0.1.1", + "iltorb": "^2.4.3" + } + }, "browser-process-hrtime": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", @@ -7387,6 +7426,42 @@ "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", "dev": true }, + "bundlesize": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/bundlesize/-/bundlesize-0.18.0.tgz", + "integrity": "sha512-GZURr25umfYxZYZUyOlOtJRbYjAn0VfbjbnS0NBcOiF8VcjmhoEhmx8Gw4va8HeQb8j7Ra0ZltY/IeHgSHFXFw==", + "dev": true, + "requires": { + "axios": "^0.19.0", + "brotli-size": "0.1.0", + "bytes": "^3.1.0", + "ci-env": "^1.4.0", + "commander": "^2.20.0", + "cosmiconfig": "^5.2.1", + "github-build": "^1.2.0", + "glob": "^7.1.4", + "gzip-size": "^4.0.0", + "prettycli": "^1.4.3" + }, + "dependencies": { + "bytes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "dev": true + }, + "gzip-size": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-4.1.0.tgz", + "integrity": "sha1-iuCWJX6r59acRb4rZ8RIEk/7UXw=", + "dev": true, + "requires": { + "duplexer": "^0.1.1", + "pify": "^3.0.0" + } + } + } + }, "bytes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", @@ -7691,6 +7766,12 @@ "tslib": "^1.9.0" } }, + "ci-env": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/ci-env/-/ci-env-1.12.0.tgz", + "integrity": "sha512-4dS9YjX4kpaFmkJWZPuDPK3WlPKdMjx/3JH39vyHj+G4/ED2DCgHQLbh9tKBQjwAwR/sGHOqIVMTlMUZcfJPWw==", + "dev": true + }, "ci-info": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", @@ -8490,6 +8571,12 @@ "regexp.prototype.flags": "^1.2.0" } }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "dev": true + }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -8628,6 +8715,12 @@ "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", "dev": true }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "dev": true + }, "detect-newline": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", @@ -10080,6 +10173,12 @@ } } }, + "expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "dev": true + }, "expand-tilde": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", @@ -11452,6 +11551,57 @@ "parse-domain": "^2.0.0" } }, + "github-build": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/github-build/-/github-build-1.2.1.tgz", + "integrity": "sha512-VAT4NFU8hm9Ks5yNKuuczD2zMbmouAKHtxtwvmCj34Q2DpZsjgp3LLjtrKlm/YvGSzSNGmj22ccJQQei+f/vIw==", + "dev": true, + "requires": { + "axios": "0.19.0" + }, + "dependencies": { + "axios": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz", + "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==", + "dev": true, + "requires": { + "follow-redirects": "1.5.10", + "is-buffer": "^2.0.2" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "follow-redirects": { + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==", + "dev": true, + "requires": { + "debug": "=3.1.0" + } + }, + "is-buffer": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", + "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", + "dev": true + } + } + }, + "github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha1-l/tdlr/eiXMxPyDoKI75oWf6ZM4=", + "dev": true + }, "glob": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", @@ -12085,6 +12235,19 @@ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, + "iltorb": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/iltorb/-/iltorb-2.4.5.tgz", + "integrity": "sha512-EMCMl3LnnNSZJS5QrxyZmMTaAC4+TJkM5woD+xbpm9RB+mFYCr7C05GFE3TEGCsVQSVHmjX+3sf5AiwsylNInQ==", + "dev": true, + "requires": { + "detect-libc": "^1.0.3", + "nan": "^2.14.0", + "npmlog": "^4.1.2", + "prebuild-install": "^5.3.3", + "which-pm-runs": "^1.0.0" + } + }, "immer": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz", @@ -14414,8 +14577,7 @@ "version": "2.14.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", - "dev": true, - "optional": true + "dev": true }, "nanomatch": { "version": "1.2.13", @@ -14436,6 +14598,12 @@ "to-regex": "^3.0.1" } }, + "napi-build-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-1.0.1.tgz", + "integrity": "sha512-boQj1WFgQH3v4clhu3mTNfP+vOBxorDlE8EKiMjUlLG3C4qAESnn9AxIOkFgTR2c9LtzNjPrjS60cT27ZKBhaA==", + "dev": true + }, "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -14481,6 +14649,15 @@ "lower-case": "^1.1.1" } }, + "node-abi": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.14.0.tgz", + "integrity": "sha512-y54KGgEOHnRHlGQi7E5UiryRkH8bmksmQLj/9iLAjoje743YS+KaKB/sDYXgqtT0J16JT3c3AYJZNI98aU/kYg==", + "dev": true, + "requires": { + "semver": "^5.4.1" + } + }, "node-dir": { "version": "0.1.17", "resolved": "https://registry.npmjs.org/node-dir/-/node-dir-0.1.17.tgz", @@ -14606,6 +14783,12 @@ } } }, + "noop-logger": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/noop-logger/-/noop-logger-0.1.1.tgz", + "integrity": "sha1-lKKxYzxPExdVMAfYlm/Q6EG2pMI=", + "dev": true + }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", @@ -15589,6 +15772,29 @@ "integrity": "sha512-LmeoohTpp/K4UiyQCwuGWlONxXamGzCMtFxLq4W1nZVGIQLYvMCJx3yAF9qyyuFpflABI9yVdtJAqbihOsCsJQ==", "dev": true }, + "prebuild-install": { + "version": "5.3.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.3.tgz", + "integrity": "sha512-GV+nsUXuPW2p8Zy7SarF/2W/oiK8bFQgJcncoJ0d7kRpekEA0ftChjfEaF9/Y+QJEc/wFR7RAEa8lYByuUIe2g==", + "dev": true, + "requires": { + "detect-libc": "^1.0.3", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "napi-build-utils": "^1.0.1", + "node-abi": "^2.7.0", + "noop-logger": "^0.1.1", + "npmlog": "^4.0.1", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^3.0.3", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0", + "which-pm-runs": "^1.0.0" + } + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -15628,6 +15834,43 @@ "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", "dev": true }, + "prettycli": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/prettycli/-/prettycli-1.4.3.tgz", + "integrity": "sha512-KLiwAXXfSWXZqGmZlnKPuGMTFp+0QbcySplL1ft9gfteT/BNsG64Xo8u2Qr9r+qnsIZWBQ66Zs8tg+8s2fmzvw==", + "dev": true, + "requires": { + "chalk": "2.1.0" + }, + "dependencies": { + "chalk": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.1.0.tgz", + "integrity": "sha512-LUHGS/dge4ujbXMJrnihYMcL4AoOweGnw9Tp3kQuqy1Kx5c1qKjqvMJZ6nVJPMWJtKCTN72ZogH3oeSO9g9rXQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.1.0", + "escape-string-regexp": "^1.0.5", + "supports-color": "^4.0.0" + } + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", + "dev": true + }, + "supports-color": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", + "dev": true, + "requires": { + "has-flag": "^2.0.0" + } + } + } + }, "prismjs": { "version": "1.19.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.19.0.tgz", @@ -16108,6 +16351,26 @@ } } }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dev": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "dev": true + } + } + }, "react": { "version": "16.12.0", "resolved": "https://registry.npmjs.org/react/-/react-16.12.0.tgz", @@ -17525,6 +17788,40 @@ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, + "simple-concat": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz", + "integrity": "sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=", + "dev": true + }, + "simple-get": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-3.1.0.tgz", + "integrity": "sha512-bCR6cP+aTdScaQCnQKbPKtJOKDp/hj9EDLJo3Nw4y1QksqaovlW/bnptB6/c1e+qmNIDHRK+oXFDdEqBT8WzUA==", + "dev": true, + "requires": { + "decompress-response": "^4.2.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + }, + "dependencies": { + "decompress-response": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-4.2.1.tgz", + "integrity": "sha512-jOSne2qbyE+/r8G1VU+G/82LBs2Fs4LAsTiLSHOCOMZQl2OKZ6i8i4IyHemTe+/yIXOtTcRQMzPcgyhoFlqPkw==", + "dev": true, + "requires": { + "mimic-response": "^2.0.0" + } + }, + "mimic-response": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.0.0.tgz", + "integrity": "sha512-8ilDoEapqA4uQ3TwS0jakGONKXVJqpy+RpM+3b7pLdOjghCrEiGp9SRkFbUHAmZW9vdnrENWHjaweIoTIJExSQ==", + "dev": true + } + } + }, "simplebar": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/simplebar/-/simplebar-4.2.3.tgz", @@ -18636,6 +18933,18 @@ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", "dev": true }, + "tar-fs": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.0.tgz", + "integrity": "sha512-vaY0obB6Om/fso8a8vakQBzwholQ7v5+uy+tF3Ozvxv1KNezmVQAiWtcNmMHFSFPqL3dJA8ha6gdtFbfX9mcxA==", + "dev": true, + "requires": { + "chownr": "^1.1.1", + "mkdirp": "^0.5.1", + "pump": "^3.0.0", + "tar-stream": "^2.0.0" + } + }, "tar-stream": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.0.tgz", @@ -20164,6 +20473,12 @@ "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", "dev": true }, + "which-pm-runs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.0.0.tgz", + "integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=", + "dev": true + }, "wide-align": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", diff --git a/package.json b/package.json index 90fca382b..d86706029 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "build:server": "webpack --config webpack.config.js --config-name server", "build:client": "webpack --config webpack.config.js --config-name client", "storybook": "start-storybook -s ./", - "deploy-storybook": "storybook-to-ghpages && ./.storybook/pushFonts.sh" + "deploy-storybook": "storybook-to-ghpages && ./.storybook/pushFonts.sh", + "bundlesize": "bundlesize --config config/bundlesize.json" }, "author": "", "license": "ISC", @@ -63,6 +64,7 @@ "@typescript-eslint/eslint-plugin": "^2.16.0", "@typescript-eslint/parser": "^2.16.0", "babel-loader": "^8.0.6", + "bundlesize": "^0.18.0", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "eslint": "^6.8.0", From 41133ab38add5c2e2d889d487ef3f9f6d1152a37 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 16:54:28 +0000 Subject: [PATCH 02/16] avoid pushing built files --- .gitignore | 5 +- config/bundlesize.json | 2 +- dist/assets/article.js | 2134 --------------------------------------- dist/assets/liveblog.js | 113 --- package.json | 2 +- 5 files changed, 3 insertions(+), 2253 deletions(-) delete mode 100644 dist/assets/article.js delete mode 100644 dist/assets/liveblog.js diff --git a/.gitignore b/.gitignore index 7a69ebee5..dbf1464e2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,4 @@ node_modules .DS_Store # Built files -dist/* - -# used to track client bundle sizes -!dist/assets/ \ No newline at end of file +dist/* \ No newline at end of file diff --git a/config/bundlesize.json b/config/bundlesize.json index c83be8566..f71e6a388 100644 --- a/config/bundlesize.json +++ b/config/bundlesize.json @@ -5,4 +5,4 @@ "maxSize": "100 kB" } ] - } \ No newline at end of file +} \ No newline at end of file diff --git a/dist/assets/article.js b/dist/assets/article.js deleted file mode 100644 index 18bf2f3aa..000000000 --- a/dist/assets/article.js +++ /dev/null @@ -1,2134 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/client/article.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW2_24 = Math.pow(2, 24);\nconst POW2_31 = Math.pow(2, 31);\nconst POW2_32 = Math.pow(2, 32);\nconst POW10_11 = Math.pow(10, 11);\nconst VAL32 = 0x100000000;\nconst _HEX = [];\nfor (let i = 0; i < 256; i++) {\n _HEX[i] = (i > 0xf ? '' : '0') + i.toString(16);\n}\nclass Int64 {\n constructor(...args) {\n if (args[0] instanceof Buffer) {\n this.buffer = args[0];\n this.offset = args[1] || 0;\n }\n else if (Object.prototype.toString.call(args[0]) === '[object Uint8Array]') {\n this.buffer = Buffer.from(args[0]);\n this.offset = args[1] || 0;\n }\n else {\n this.buffer = Buffer.alloc(8);\n this.offset = 0;\n this.setValue(args[0], args[1]);\n }\n }\n static toDecimalString(i64) {\n if (typeof i64 === 'number') {\n return `${i64}`;\n }\n else {\n return i64.toDecimalString();\n }\n }\n static fromDecimalString(text) {\n const negative = text.charAt(0) === '-';\n if (text.length < (negative ? 17 : 16)) {\n return new Int64(+text);\n }\n else if (text.length > (negative ? 20 : 19)) {\n throw new RangeError(`Too many digits for Int64: ${text}`);\n }\n else {\n const high5 = +text.slice(negative ? 1 : 0, -15);\n let low = +text.slice(-15) + high5 * 2764472320;\n let high = Math.floor(low / POW2_32) + high5 * 232830;\n low = low % POW2_32;\n if (high >= POW2_31 &&\n !(negative && high === POW2_31 && low === 0)) {\n throw new RangeError('The magnitude is too large for Int64.');\n }\n if (negative) {\n high = ~high;\n if (low === 0) {\n high = (high + 1) & 0xffffffff;\n }\n else {\n low = ~low + 1;\n }\n high = 0x80000000 | high;\n }\n return new Int64(high, low);\n }\n }\n setValue(hi, lo) {\n let negate = false;\n if (lo === undefined) {\n if (typeof hi === 'number') {\n negate = hi < 0;\n hi = Math.abs(hi);\n lo = hi % VAL32;\n hi = hi / VAL32;\n if (hi > VAL32) {\n throw new RangeError(hi + ' is outside Int64 range');\n }\n else {\n hi = hi | 0;\n }\n }\n else if (typeof hi === 'string') {\n hi = (hi + '').replace(/^0x/, '');\n lo = hi.substr(-8);\n hi = hi.length > 8 ? hi.substr(0, hi.length - 8) : '';\n hi = parseInt(hi, 16);\n lo = parseInt(lo, 16);\n }\n else {\n throw new Error(hi + ' must be a Number or String');\n }\n }\n const b = this.buffer;\n const o = this.offset;\n for (let i = 7; i >= 0; i--) {\n b[o + i] = lo & 0xff;\n lo = i === 4 ? hi : lo >>> 8;\n }\n if (negate) {\n this._2scomp();\n }\n }\n toDecimalString() {\n const i64 = this;\n let b = i64.buffer;\n const o = i64.offset;\n if ((!b[o] && !(b[o + 1] & 0xe0)) || (!~b[o] && !~(b[o + 1] & 0xe0))) {\n return i64.toString();\n }\n else {\n const negative = b[o] & 0x80;\n if (negative) {\n let incremented = 0;\n const buffer = Buffer.alloc(8);\n for (let i = 7; i >= 0; --i) {\n buffer[i] = (~b[o + i] + (incremented ? 0 : 1)) & 0xff;\n incremented = incremented | b[o + i];\n }\n b = buffer;\n }\n const high2 = b[o + 1] + (b[o] << 8);\n const low = b[o + 7] +\n (b[o + 6] << 8) +\n (b[o + 5] << 16) +\n b[o + 4] * POW2_24 +\n (b[o + 3] + (b[o + 2] << 8)) * POW2_32 +\n high2 * 74976710656;\n const high = Math.floor(low / POW10_11) + high2 * 2814;\n const lowStr = ('00000000000' + String(low % POW10_11)).slice(-11);\n return (negative ? '-' : '') + String(high) + lowStr;\n }\n }\n toNumber(allowImprecise = true) {\n const buf = this.buffer;\n const off = this.offset;\n const negate = buf[off] & 0x80;\n let x = 0;\n let carry = 1;\n for (let i = 7, m = 1; i >= 0; i--, m *= 256) {\n let v = buf[off + i];\n if (negate) {\n v = (v ^ 0xff) + carry;\n carry = v >> 8;\n v = v & 0xff;\n }\n x += v * m;\n }\n if (!allowImprecise && x >= Int64.MAX_INT) {\n return negate ? -Infinity : Infinity;\n }\n return negate ? -x : x;\n }\n valueOf() {\n return this.toNumber(false);\n }\n toString(radix = 10) {\n return this.valueOf().toString(radix);\n }\n toOctetString(sep) {\n const out = new Array(8);\n const buf = this.buffer;\n const off = this.offset;\n for (let i = 0; i < 8; i++) {\n out[i] = _HEX[buf[off + i]];\n }\n return out.join(sep || '');\n }\n toBuffer(rawBuffer) {\n if (rawBuffer && this.offset === 0) {\n return this.buffer;\n }\n else {\n const out = Buffer.alloc(8);\n this.buffer.copy(out, 0, this.offset, this.offset + 8);\n return out;\n }\n }\n copy(targetBuffer, targetOffset = 0) {\n this.buffer.copy(targetBuffer, targetOffset, this.offset, this.offset + 8);\n }\n compare(other) {\n if ((this.buffer[this.offset] & 0x80) !==\n (other.buffer[other.offset] & 0x80)) {\n return other.buffer[other.offset] - this.buffer[this.offset];\n }\n for (let i = 0; i < 8; i++) {\n if (this.buffer[this.offset + i] !== other.buffer[other.offset + i]) {\n return (this.buffer[this.offset + i] -\n other.buffer[other.offset + i]);\n }\n }\n return 0;\n }\n equals(other) {\n return this.compare(other) === 0;\n }\n inspect() {\n return ('[Int64 value:' + this + ' octets:' + this.toOctetString(' ') + ']');\n }\n _2scomp() {\n const buf = this.buffer;\n const off = this.offset;\n let carry = 1;\n for (let i = off + 7; i >= off; i--) {\n const v = (buf[i] ^ 0xff) + carry;\n buf[i] = v & 0xff;\n carry = v >> 8;\n }\n }\n}\nInt64.MAX_INT = Math.pow(2, 53);\nInt64.MIN_INT = -Math.pow(2, 53);\nexports.Int64 = Int64;\n//# sourceMappingURL=Int64.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW_8 = Math.pow(2, 8);\nconst POW_16 = Math.pow(2, 16);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nfunction readByte(byte) {\n return byte > 127 ? byte - 256 : byte;\n}\nexports.readByte = readByte;\nfunction readI16(bytes, offset = 0) {\n offset = offset || 0;\n let v = bytes[offset + 1];\n v += bytes[offset] << 8;\n if (bytes[offset] & 128) {\n v -= POW_16;\n }\n return v;\n}\nexports.readI16 = readI16;\nfunction readI32(bytes, offset = 0) {\n let result = bytes[offset + 3];\n result += bytes[offset + 2] << 8;\n result += bytes[offset + 1] << 16;\n result += bytes[offset] * POW_24;\n if (bytes[offset] & 0x80) {\n result -= POW_32;\n }\n return result;\n}\nexports.readI32 = readI32;\nfunction readDouble(bytes, offset = 0) {\n const signed = bytes[offset] & 0x80;\n let e = (bytes[offset + 1] & 0xf0) >> 4;\n e += (bytes[offset] & 0x7f) << 4;\n let m = bytes[offset + 7];\n m += bytes[offset + 6] << 8;\n m += bytes[offset + 5] << 16;\n m += bytes[offset + 4] * POW_24;\n m += bytes[offset + 3] * POW_32;\n m += bytes[offset + 2] * POW_40;\n m += (bytes[offset + 1] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n}\nexports.readDouble = readDouble;\nfunction writeI16(bytes, i16) {\n bytes[1] = i16 & 0xff;\n i16 = i16 >> 8;\n bytes[0] = i16 & 0xff;\n return bytes;\n}\nexports.writeI16 = writeI16;\nfunction writeI32(bytes, i32) {\n bytes[3] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[2] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[1] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[0] = i32 & 0xff;\n return bytes;\n}\nexports.writeI32 = writeI32;\nfunction writeDouble(bytes, dub) {\n let m;\n let e;\n let c;\n bytes[0] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c = c * 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e = e + 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n bytes[1] = (e << 4) & 0xf0;\n bytes[0] |= (e >> 4) & 0x7f;\n bytes[7] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[6] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[5] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[4] = m & 0xff;\n m = m >> 8;\n bytes[3] = m & 0xff;\n m = m >> 8;\n bytes[2] = m & 0xff;\n m = m >> 8;\n bytes[1] |= m & 0x0f;\n return bytes;\n}\nexports.writeDouble = writeDouble;\n//# sourceMappingURL=binary.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass InputBufferUnderrunError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InputBufferUnderrunError';\n }\n}\nexports.InputBufferUnderrunError = InputBufferUnderrunError;\n//# sourceMappingURL=InputBufferUnderrunError.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nvar TApplicationExceptionType;\n(function (TApplicationExceptionType) {\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN_METHOD\"] = 1] = \"UNKNOWN_METHOD\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_MESSAGE_TYPE\"] = 2] = \"INVALID_MESSAGE_TYPE\";\n TApplicationExceptionType[TApplicationExceptionType[\"WRONG_METHOD_NAME\"] = 3] = \"WRONG_METHOD_NAME\";\n TApplicationExceptionType[TApplicationExceptionType[\"BAD_SEQUENCE_ID\"] = 4] = \"BAD_SEQUENCE_ID\";\n TApplicationExceptionType[TApplicationExceptionType[\"MISSING_RESULT\"] = 5] = \"MISSING_RESULT\";\n TApplicationExceptionType[TApplicationExceptionType[\"INTERNAL_ERROR\"] = 6] = \"INTERNAL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"PROTOCOL_ERROR\"] = 7] = \"PROTOCOL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_TRANSFORM\"] = 8] = \"INVALID_TRANSFORM\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_PROTOCOL\"] = 9] = \"INVALID_PROTOCOL\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNSUPPORTED_CLIENT_TYPE\"] = 10] = \"UNSUPPORTED_CLIENT_TYPE\";\n})(TApplicationExceptionType = exports.TApplicationExceptionType || (exports.TApplicationExceptionType = {}));\nclass TApplicationException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TApplicationException';\n this.type = type;\n this.message = message;\n }\n}\nexports.TApplicationException = TApplicationException;\nexports.TApplicationExceptionCodec = {\n encode(obj, output) {\n output.writeStructBegin('TApplicationException');\n if (obj.message) {\n output.writeFieldBegin('message', types_1.TType.STRING, 1);\n output.writeString(obj.message);\n output.writeFieldEnd();\n }\n if (obj.type) {\n output.writeFieldBegin('type', types_1.TType.I32, 2);\n output.writeI32(obj.type);\n output.writeFieldEnd();\n }\n output.writeFieldStop();\n output.writeStructEnd();\n },\n decode(input) {\n input.readStructBegin();\n const args = {};\n while (true) {\n const ret = input.readFieldBegin();\n if (ret.fieldType === types_1.TType.STOP) {\n break;\n }\n switch (ret.fieldId) {\n case 1:\n if (ret.fieldType === types_1.TType.STRING) {\n args.message = input.readString();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n case 2:\n if (ret.fieldType === types_1.TType.I32) {\n args.type = input.readI32();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n default:\n input.skip(ret.fieldType);\n break;\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return new TApplicationException(args.type, args.message);\n },\n};\n//# sourceMappingURL=TApplicationException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TProtocolExceptionType;\n(function (TProtocolExceptionType) {\n TProtocolExceptionType[TProtocolExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TProtocolExceptionType[TProtocolExceptionType[\"INVALID_DATA\"] = 1] = \"INVALID_DATA\";\n TProtocolExceptionType[TProtocolExceptionType[\"NEGATIVE_SIZE\"] = 2] = \"NEGATIVE_SIZE\";\n TProtocolExceptionType[TProtocolExceptionType[\"SIZE_LIMIT\"] = 3] = \"SIZE_LIMIT\";\n TProtocolExceptionType[TProtocolExceptionType[\"BAD_VERSION\"] = 4] = \"BAD_VERSION\";\n TProtocolExceptionType[TProtocolExceptionType[\"NOT_IMPLEMENTED\"] = 5] = \"NOT_IMPLEMENTED\";\n TProtocolExceptionType[TProtocolExceptionType[\"DEPTH_LIMIT\"] = 6] = \"DEPTH_LIMIT\";\n})(TProtocolExceptionType = exports.TProtocolExceptionType || (exports.TProtocolExceptionType = {}));\nclass TProtocolException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TProtocolException';\n this.type = type;\n }\n}\nexports.TProtocolException = TProtocolException;\n//# sourceMappingURL=TProtocolException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./InputBufferUnderrunError */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js\"));\n__export(__webpack_require__(/*! ./TApplicationException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js\"));\n__export(__webpack_require__(/*! ./TProtocolException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/index.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\n__export(__webpack_require__(/*! ./types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\"));\n__export(__webpack_require__(/*! ./protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\"));\n__export(__webpack_require__(/*! ./transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\"));\n__export(__webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\"));\n__export(__webpack_require__(/*! ./utils */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js\"));\n__export(__webpack_require__(/*! ./binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\"));\nvar logger_1 = __webpack_require__(/*! ./logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nexports.makeLogger = logger_1.makeLogger;\nfunction process(args) {\n const transportWithData = args.Transport.receiver(args.buffer);\n const input = new args.Protocol(transportWithData);\n return new Promise((resolve, reject) => {\n const output = new args.Protocol(new args.Transport());\n args.processor.process(input, output, args.context).then((result) => {\n resolve(result);\n transportWithData.commitPosition();\n }, (err) => {\n if (err instanceof errors_1.InputBufferUnderrunError) {\n transportWithData.rollbackPosition();\n }\n reject(err);\n });\n });\n}\nexports.process = process;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.makeLogger = (name) => {\n return (tags, data) => {\n const allTags = Array.from(new Set([name, ...tags]));\n if (allTags.indexOf('error') > -1) {\n if (data !== undefined) {\n console.error(`[${allTags.join(',')}] `, data);\n }\n else {\n console.error(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('warn') > -1) {\n if (data !== undefined) {\n console.warn(`[${allTags.join(',')}] `, data);\n }\n else {\n console.warn(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('info') > -1) {\n if (data !== undefined) {\n console.info(`[${allTags.join(',')}] `, data);\n }\n else {\n console.info(`[${allTags.join(',')}]`);\n }\n }\n else {\n if (data !== undefined && process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}] `, data);\n }\n else if (process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}]`);\n }\n }\n };\n};\nexports.defaultLogger = exports.makeLogger('thrift-server-core');\n//# sourceMappingURL=logger.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Int64_1 = __webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\");\nclass JsonParser {\n constructor(source) {\n this.at = 0;\n this.ch = '';\n this.escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n };\n this.text = '';\n this.text = source;\n this.at = 0;\n this.ch = ' ';\n }\n parse() {\n const result = this.value();\n this.white();\n if (this.getCh()) {\n throw new SyntaxError('Syntax error');\n }\n return result;\n }\n array() {\n const array = [];\n if (this.getCh() === '[') {\n this.next('[');\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n while (this.getCh()) {\n array.push(this.value());\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad array');\n }\n object() {\n let key = '';\n const object = {};\n if (this.getCh() === '{') {\n this.next('{');\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n while (this.getCh()) {\n key = this.string();\n this.white();\n this.next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n throw new SyntaxError('Duplicate key \"' + key + '\"');\n }\n object[key] = this.value();\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad object');\n }\n value() {\n this.white();\n switch (this.getCh()) {\n case '{':\n return this.object();\n case '[':\n return this.array();\n case '\"':\n return this.string();\n case '-':\n return this.number();\n default:\n return this.isNumber() ? this.number() : this.word();\n }\n }\n isNumber() {\n const char = this.getCh();\n if (char >= '0' && char <= '9') {\n return true;\n }\n if (char !== '.') {\n return false;\n }\n const nextChar = this.peekNext();\n if (!nextChar) {\n return false;\n }\n return nextChar >= '0' && nextChar <= '9';\n }\n peekNext() {\n return this.text.charAt(this.at);\n }\n next(c) {\n if (c && c !== this.getCh()) {\n throw new SyntaxError(\"Expected '\" + c + \"' instead of '\" + this.getCh() + \"'\");\n }\n this.ch = this.text.charAt(this.at);\n this.at += 1;\n return this.ch;\n }\n getCh() {\n return this.ch;\n }\n number() {\n let number = 0;\n let string = '';\n if (this.getCh() === '-') {\n string = '-';\n this.next('-');\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n if (this.getCh() === '.') {\n string += '.';\n while (this.next() && this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n }\n }\n if (this.getCh() === 'e' || this.getCh() === 'E') {\n string += this.getCh();\n this.next();\n if (this.getCh() === '-' || this.getCh() === '+') {\n string += this.getCh();\n this.next();\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n throw new SyntaxError('Bad number');\n }\n else if (number >= Int64_1.Int64.MAX_INT || number <= Int64_1.Int64.MIN_INT) {\n return string;\n }\n else {\n return number;\n }\n }\n string() {\n let hex = 0;\n let i = 0;\n let string = '';\n let uffff = 0;\n if (this.getCh() === '\"') {\n while (this.next()) {\n if (this.getCh() === '\"') {\n this.next();\n return string;\n }\n if (this.getCh() === '\\\\') {\n this.next();\n if (this.getCh() === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(this.next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n }\n else if (typeof this.escapee[this.getCh()] === 'string') {\n string += this.escapee[this.getCh()];\n }\n else {\n break;\n }\n }\n else {\n string += this.getCh();\n }\n }\n }\n throw new SyntaxError('Bad string');\n }\n white() {\n while (this.getCh() && this.getCh() <= ' ') {\n this.next();\n }\n }\n word() {\n switch (this.getCh()) {\n case 't':\n this.next('t');\n this.next('r');\n this.next('u');\n this.next('e');\n return true;\n case 'f':\n this.next('f');\n this.next('a');\n this.next('l');\n this.next('s');\n this.next('e');\n return false;\n case 'n':\n this.next('n');\n this.next('u');\n this.next('l');\n this.next('l');\n return null;\n }\n throw new SyntaxError(\"Unexpected '\" + this.getCh() + \"'\");\n }\n}\nfunction parseJson(source) {\n return new JsonParser(source).parse();\n}\nexports.parseJson = parseJson;\n//# sourceMappingURL=parseJson.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst VERSION_MASK = -65536;\nconst VERSION_1 = -2147418112;\nconst TYPE_MASK = 0x000000ff;\nclass BinaryProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n }\n writeMessageBegin(name, type, requestId) {\n this.writeI32(VERSION_1 | type);\n this.writeString(name);\n this.writeI32(requestId);\n if (this.requestId) {\n this.logger(['warn', 'BinaryProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'BinaryProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) { }\n writeStructEnd() { }\n writeFieldBegin(name, type, id) {\n this.writeByte(type);\n this.writeI16(id);\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(types_1.TType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n this.writeByte(keyType);\n this.writeByte(valueType);\n this.writeI32(size);\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (bool) {\n this.writeByte(1);\n }\n else {\n this.writeByte(0);\n }\n }\n writeByte(byte) {\n const value = Number(byte);\n if (!isNaN(value)) {\n this.transport.write(Buffer.from([value]));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof byte}`);\n }\n }\n writeI16(i16) {\n const value = Number(i16);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI16(Buffer.alloc(2), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i16}`);\n }\n }\n writeI32(i32) {\n const value = Number(i32);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI32(Buffer.alloc(4), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i32}`);\n }\n }\n writeI64(i64) {\n if (typeof i64 === 'number') {\n this.transport.write(new types_1.Int64(i64).buffer);\n }\n else if (typeof i64 === 'string') {\n this.transport.write(types_1.Int64.fromDecimalString(i64).buffer);\n }\n else if (i64 instanceof types_1.Int64) {\n this.transport.write(i64.buffer);\n }\n else {\n throw new TypeError(`Expected Int64 or number but found type ${typeof i64}`);\n }\n }\n writeDouble(dub) {\n const value = Number(dub);\n if (!isNaN(value)) {\n this.transport.write(binary.writeDouble(Buffer.alloc(8), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof dub}`);\n }\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeI32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer) {\n this.writeI32(data.length);\n this.transport.write(data);\n }\n else {\n throw new TypeError(`Argument of type ${typeof data} should be buffer or string`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const size = this.readI32();\n if (size < 0) {\n const version = size & VERSION_MASK;\n if (version !== VERSION_1) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad version in readMessageBegin: ${size}`);\n }\n return {\n fieldName: this.readString(),\n messageType: size & TYPE_MASK,\n requestId: this.readI32(),\n };\n }\n else {\n return {\n fieldName: this.transport.readString(size),\n messageType: this.readByte(),\n requestId: this.readI32(),\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n return { fieldName: '' };\n }\n readStructEnd() { }\n readFieldBegin() {\n const type = this.readByte();\n if (type === types_1.TType.STOP) {\n return { fieldName: '', fieldType: type, fieldId: 0 };\n }\n else {\n const id = this.readI16();\n return { fieldName: '', fieldType: type, fieldId: id };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const keyType = this.readByte();\n const valueType = this.readByte();\n const size = this.readI32();\n return { keyType, valueType, size };\n }\n readMapEnd() { }\n readListBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readListEnd() { }\n readSetBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readSetEnd() { }\n readBool() {\n const byte = this.readByte();\n return byte !== 0;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.transport.readI16();\n }\n readI32() {\n return this.transport.readI32();\n }\n readI64() {\n const buff = this.transport.read(8);\n return new types_1.Int64(buff);\n }\n readDouble() {\n return this.transport.readDouble();\n }\n readBinary() {\n const len = this.readI32();\n if (len === 0) {\n return Buffer.alloc(0);\n }\n else if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative binary size');\n }\n else {\n return this.transport.read(len);\n }\n }\n readString() {\n const len = this.readI32();\n if (len === 0) {\n return '';\n }\n if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative string size');\n }\n return this.transport.readString(len);\n }\n getTransport() {\n return this.transport;\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n}\nexports.BinaryProtocol = BinaryProtocol;\n//# sourceMappingURL=BinaryProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst POW_8 = Math.pow(2, 8);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nconst PROTOCOL_ID = -126;\nconst VERSION_N = 1;\nconst VERSION_MASK = 0x1f;\nconst TYPE_MASK = -32;\nconst TYPE_BITS = 7;\nconst TYPE_SHIFT_AMOUNT = 5;\nvar CompactType;\n(function (CompactType) {\n CompactType[CompactType[\"STOP\"] = 0] = \"STOP\";\n CompactType[CompactType[\"BOOLEAN_TRUE\"] = 1] = \"BOOLEAN_TRUE\";\n CompactType[CompactType[\"BOOLEAN_FALSE\"] = 2] = \"BOOLEAN_FALSE\";\n CompactType[CompactType[\"BYTE\"] = 3] = \"BYTE\";\n CompactType[CompactType[\"I16\"] = 4] = \"I16\";\n CompactType[CompactType[\"I32\"] = 5] = \"I32\";\n CompactType[CompactType[\"I64\"] = 6] = \"I64\";\n CompactType[CompactType[\"DOUBLE\"] = 7] = \"DOUBLE\";\n CompactType[CompactType[\"BINARY\"] = 8] = \"BINARY\";\n CompactType[CompactType[\"LIST\"] = 9] = \"LIST\";\n CompactType[CompactType[\"SET\"] = 10] = \"SET\";\n CompactType[CompactType[\"MAP\"] = 11] = \"MAP\";\n CompactType[CompactType[\"STRUCT\"] = 12] = \"STRUCT\";\n})(CompactType = exports.CompactType || (exports.CompactType = {}));\nconst TTypeToCType = [\n CompactType.STOP,\n 0,\n CompactType.BOOLEAN_TRUE,\n CompactType.BYTE,\n CompactType.DOUBLE,\n 0,\n CompactType.I16,\n 0,\n CompactType.I32,\n 0,\n CompactType.I64,\n CompactType.BINARY,\n CompactType.STRUCT,\n CompactType.MAP,\n CompactType.SET,\n CompactType.LIST,\n];\nclass CompactProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n this.getTType = function (type) {\n switch (type) {\n case CompactType.STOP:\n return types_1.TType.STOP;\n case CompactType.BOOLEAN_FALSE:\n case CompactType.BOOLEAN_TRUE:\n return types_1.TType.BOOL;\n case CompactType.BYTE:\n return types_1.TType.BYTE;\n case CompactType.I16:\n return types_1.TType.I16;\n case CompactType.I32:\n return types_1.TType.I32;\n case CompactType.I64:\n return types_1.TType.I64;\n case CompactType.DOUBLE:\n return types_1.TType.DOUBLE;\n case CompactType.BINARY:\n return types_1.TType.STRING;\n case CompactType.LIST:\n return types_1.TType.LIST;\n case CompactType.SET:\n return types_1.TType.SET;\n case CompactType.MAP:\n return types_1.TType.MAP;\n case CompactType.STRUCT:\n return types_1.TType.STRUCT;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Unknown type: ${type}`);\n }\n };\n this._lastField = [];\n this._lastFieldId = 0;\n this._booleanField = {\n name: null,\n hasBoolValue: false,\n };\n this._boolValue = {\n hasBoolValue: false,\n boolValue: false,\n };\n }\n getCompactType(ttype) {\n return TTypeToCType[ttype];\n }\n writeMessageBegin(name, type, requestId) {\n this.writeByte(PROTOCOL_ID);\n this.writeByte((VERSION_N & VERSION_MASK) |\n ((type << TYPE_SHIFT_AMOUNT) & TYPE_MASK));\n this.writeVarint32(requestId);\n this.writeString(name);\n if (this.requestId) {\n this.logger(['warn', 'CompactProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'CompactProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n }\n writeStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n writeFieldBegin(name, type, id) {\n if (type !== types_1.TType.BOOL) {\n return this.writeFieldBeginInternal(name, type, id, -1);\n }\n else {\n this._booleanField.name = name;\n this._booleanField.fieldType = type;\n this._booleanField.fieldId = id;\n }\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(CompactType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n if (size === 0) {\n this.writeByte(0);\n }\n else {\n this.writeVarint32(size);\n this.writeByte((this.getCompactType(keyType) << 4) |\n this.getCompactType(valueType));\n }\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (this._booleanField.name !== null) {\n this.writeFieldBeginInternal(this._booleanField.name, this._booleanField.fieldType, this._booleanField.fieldId, bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n this._booleanField.name = null;\n }\n else {\n this.writeByte(bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n }\n }\n writeByte(byte) {\n this.transport.write(Buffer.from([byte]));\n }\n writeI16(i16) {\n this.writeVarint32(this.i32ToZigzag(i16));\n }\n writeI32(i32) {\n this.writeVarint32(this.i32ToZigzag(i32));\n }\n writeI64(i64) {\n this.writeVarint64(this.i64ToZigzag(i64));\n }\n writeDouble(dub) {\n const buff = Buffer.alloc(8);\n let m;\n let e;\n let c;\n buff[7] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c *= 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e += 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n buff[6] = (e << 4) & 0xf0;\n buff[7] |= (e >> 4) & 0x7f;\n buff[0] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[1] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[2] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[3] = m & 0xff;\n m >>= 8;\n buff[4] = m & 0xff;\n m >>= 8;\n buff[5] = m & 0xff;\n m >>= 8;\n buff[6] |= m & 0x0f;\n this.transport.write(buff);\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeVarint32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer ||\n Object.prototype.toString.call(data) === '[object Buffer]') {\n this.writeVarint32(data.length);\n this.transport.write(data);\n }\n else {\n throw new Error(`${name} called without a string/Buffer argument: ${data}`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const protocolId = this.transport.readByte();\n if (protocolId !== PROTOCOL_ID) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol identifier ${protocolId}`);\n }\n else {\n const versionAndType = this.transport.readByte();\n const version = versionAndType & VERSION_MASK;\n if (version !== VERSION_N) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol version ${version}`);\n }\n const messageType = (versionAndType >> TYPE_SHIFT_AMOUNT) & TYPE_BITS;\n const requestId = this.readVarint32();\n const fieldName = this.readString();\n return {\n fieldName,\n messageType,\n requestId,\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n return { fieldName: '' };\n }\n readStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n readFieldBegin() {\n let fieldId = 0;\n const byte = this.transport.readByte();\n const type = byte & 0x0f;\n if (type === CompactType.STOP) {\n return {\n fieldName: '',\n fieldType: types_1.TType.STOP,\n fieldId,\n };\n }\n else {\n const modifier = (byte & 0x000000f0) >>> 4;\n if (modifier === 0) {\n fieldId = this.readI16();\n }\n else {\n fieldId = this._lastFieldId + modifier;\n }\n const fieldType = this.getTType(type);\n if (type === CompactType.BOOLEAN_TRUE ||\n type === CompactType.BOOLEAN_FALSE) {\n this._boolValue.hasBoolValue = true;\n this._boolValue.boolValue =\n type === CompactType.BOOLEAN_TRUE ? true : false;\n }\n this._lastFieldId = fieldId;\n return {\n fieldName: '',\n fieldType,\n fieldId,\n };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const size = this.readVarint32();\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative map size`);\n }\n else {\n let kvType = 0;\n if (size !== 0) {\n kvType = this.transport.readByte();\n }\n const keyType = this.getTType((kvType & 0xf0) >>> 4);\n const valueType = this.getTType(kvType & 0xf);\n return { keyType, valueType, size };\n }\n }\n readMapEnd() { }\n readListBegin() {\n const sizeType = this.transport.readByte();\n let size = (sizeType >>> 4) & 0x0000000f;\n if (size === 15) {\n size = this.readVarint32();\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative list size`);\n }\n else {\n const elementType = this.getTType(sizeType & 0x0000000f);\n return { elementType, size };\n }\n }\n readListEnd() { }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() { }\n readBool() {\n let value = false;\n if (this._boolValue.hasBoolValue === true) {\n value = this._boolValue.boolValue;\n this._boolValue.hasBoolValue = false;\n }\n else {\n const res = this.transport.readByte();\n value = res === CompactType.BOOLEAN_TRUE;\n }\n return value;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return this.zigzagToI32(this.readVarint32());\n }\n readI64() {\n return this.zigzagToI64(this.readVarint64());\n }\n readDouble() {\n const buff = this.transport.read(8);\n const off = 0;\n const signed = buff[off + 7] & 0x80;\n let e = (buff[off + 6] & 0xf0) >> 4;\n e += (buff[off + 7] & 0x7f) << 4;\n let m = buff[off];\n m += buff[off + 1] << 8;\n m += buff[off + 2] << 16;\n m += buff[off + 3] * POW_24;\n m += buff[off + 4] * POW_32;\n m += buff[off + 5] * POW_40;\n m += (buff[off + 6] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n }\n readBinary() {\n const size = this.readVarint32();\n if (size === 0) {\n return Buffer.alloc(0);\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative binary size`);\n }\n else {\n return this.transport.read(size);\n }\n }\n readString() {\n const size = this.readVarint32();\n if (size === 0) {\n return '';\n }\n else {\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative string size`);\n }\n return this.transport.readString(size);\n }\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n flush() {\n return this.transport.flush();\n }\n zigzagToI32(i32) {\n return (i32 >>> 1) ^ (-1 * (i32 & 1));\n }\n zigzagToI64(i64) {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const neg = new types_1.Int64(hi & 0, lo & 1);\n neg._2scomp();\n const hiNeg = neg.buffer.readUInt32BE(0, true);\n const loNeg = neg.buffer.readUInt32BE(4, true);\n const hiLo = hi << 31;\n hi = (hi >>> 1) ^ hiNeg;\n lo = ((lo >>> 1) | hiLo) ^ loNeg;\n return new types_1.Int64(hi, lo);\n }\n readVarint32() {\n return this.readVarint64().toNumber();\n }\n readVarint64() {\n let rsize = 0;\n let lo = 0;\n let hi = 0;\n let shift = 0;\n while (true) {\n const b = this.transport.readByte();\n rsize++;\n if (shift <= 25) {\n lo = lo | ((b & 0x7f) << shift);\n }\n else if (25 < shift && shift < 32) {\n lo = lo | ((b & 0x7f) << shift);\n hi = hi | ((b & 0x7f) >>> (32 - shift));\n }\n else {\n hi = hi | ((b & 0x7f) << (shift - 32));\n }\n shift += 7;\n if (!(b & 0x80)) {\n break;\n }\n if (rsize >= 10) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Variable-length int over 10 bytes.`);\n }\n }\n return new types_1.Int64(hi, lo);\n }\n writeFieldBeginInternal(name, fieldType, fieldId, typeOverride) {\n const typeToWrite = typeOverride === -1 ? this.getCompactType(fieldType) : typeOverride;\n if (fieldId > this._lastFieldId && fieldId - this._lastFieldId <= 15) {\n this.writeByte(((fieldId - this._lastFieldId) << 4) | typeToWrite);\n }\n else {\n this.writeByte(typeToWrite);\n this.writeI16(fieldId);\n }\n this._lastFieldId = fieldId;\n }\n writeCollectionBegin(elementType, size) {\n if (size <= 14) {\n this.writeByte((size << 4) | this.getCompactType(elementType));\n }\n else {\n this.writeByte(0xf0 | this.getCompactType(elementType));\n this.writeVarint32(size);\n }\n }\n writeVarint32(i32) {\n const buf = Buffer.alloc(5);\n let wsize = 0;\n while (true) {\n if ((i32 & ~0x7f) === 0) {\n buf[wsize++] = i32;\n break;\n }\n else {\n buf[wsize++] = (i32 & 0x7f) | 0x80;\n i32 = i32 >>> 7;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n writeVarint64(i64) {\n if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n const buf = Buffer.alloc(10);\n let wsize = 0;\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n let mask = 0;\n while (true) {\n if ((lo & ~0x7f) === 0 && hi === 0) {\n buf[wsize++] = lo;\n break;\n }\n else {\n buf[wsize++] = (lo & 0x7f) | 0x80;\n mask = hi << 25;\n lo = lo >>> 7;\n hi = hi >>> 7;\n lo = lo | mask;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n }\n i64ToZigzag(i64) {\n if (typeof i64 === 'string') {\n i64 = new types_1.Int64(parseInt(i64, 10));\n }\n else if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const sign = hi >>> 31;\n hi = ((hi << 1) | (lo >>> 31)) ^ (!!sign ? 0xffffffff : 0);\n lo = (lo << 1) ^ (!!sign ? 0xffffffff : 0);\n return new types_1.Int64(hi, lo);\n }\n }\n i32ToZigzag(i32) {\n return (i32 << 1) ^ (i32 & 0x80000000 ? 0xffffffff : 0);\n }\n}\nexports.CompactProtocol = CompactProtocol;\n//# sourceMappingURL=CompactProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js": -/*!******************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst parseJson_1 = __webpack_require__(/*! ../parseJson */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nclass JSONProtocol extends TProtocol_1.TProtocol {\n constructor(trans) {\n super(trans);\n this.tstack = [];\n this.tpos = [];\n this.rstack = [];\n this.rpos = [];\n this.tstack = [];\n this.tpos = [];\n }\n writeMessageBegin(name, type, id) {\n this.tstack = [];\n this.tpos = [];\n this.tstack.push([JSONProtocol.version, `\"${name}\"`, type, id]);\n }\n writeMessageEnd() {\n const obj = this.tstack.pop();\n const wobj = this.tstack.pop();\n wobj.push(obj);\n const wbuf = `[${wobj.join(',')}]`;\n this.transport.write(Buffer.from(wbuf));\n }\n writeStructBegin(name) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({});\n }\n writeStructEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n const struct = this.tstack[p];\n let str = '{';\n let first = true;\n for (const key of Object.keys(struct)) {\n if (first) {\n first = false;\n }\n else {\n str += ',';\n }\n str += `${key}:${struct[key]}`;\n }\n str += '}';\n this.tstack[p] = str;\n }\n writeFieldBegin(name, type, id) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({\n fieldId: `\"${id}\"`,\n fieldType: this.getTypeName(type),\n });\n }\n writeFieldEnd() {\n const value = this.tstack.pop();\n const fieldInfo = this.tstack.pop();\n this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = `{${fieldInfo.fieldType}:${value}}`;\n this.tpos.pop();\n }\n writeFieldStop() { }\n writeMapBegin(keyType, valType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([\n this.getTypeName(keyType),\n this.getTypeName(valType),\n 0,\n ]);\n }\n writeMapEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n if (p === this.tstack.length) {\n return;\n }\n if ((this.tstack.length - p - 1) % 2 !== 0) {\n this.tstack.push('');\n }\n const size = (this.tstack.length - p - 1) / 2;\n this.tstack[p][this.tstack[p].length - 1] = size;\n let map = '}';\n let first = true;\n while (this.tstack.length > p + 1) {\n const v = this.tstack.pop();\n let k = this.tstack.pop();\n if (first) {\n first = false;\n }\n else {\n map = `,${map}`;\n }\n if (!isNaN(k)) {\n k = `\"${k}\"`;\n }\n map = `${k}:${v}${map}`;\n }\n map = `{${map}`;\n this.tstack[p].push(map);\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeListBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeListEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeSetBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeSetEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeBool(value) {\n this.tstack.push(value ? 1 : 0);\n }\n writeByte(i8) {\n this.tstack.push(i8);\n }\n writeI16(i16) {\n this.tstack.push(i16);\n }\n writeI32(i32) {\n this.tstack.push(i32);\n }\n writeI64(i64) {\n if (i64 instanceof types_1.Int64) {\n this.tstack.push(i64.toDecimalString());\n }\n else {\n this.tstack.push(i64);\n }\n }\n writeDouble(dbl) {\n this.tstack.push(dbl);\n }\n writeString(str) {\n if (str === null) {\n this.tstack.push(null);\n }\n else {\n let escapedString = '';\n for (let i = 0; i < str.length; i++) {\n const ch = str.charAt(i);\n if (ch === '\"') {\n escapedString += '\\\\\"';\n }\n else if (ch === '\\\\') {\n escapedString += '\\\\\\\\';\n }\n else if (ch === '\\b') {\n escapedString += '\\\\b';\n }\n else if (ch === '\\f') {\n escapedString += '\\\\f';\n }\n else if (ch === '\\n') {\n escapedString += '\\\\n';\n }\n else if (ch === '\\r') {\n escapedString += '\\\\r';\n }\n else if (ch === '\\t') {\n escapedString += '\\\\t';\n }\n else {\n escapedString += ch;\n }\n }\n this.tstack.push(`\"${escapedString}\"`);\n }\n }\n writeBinary(binary) {\n let str = '';\n if (typeof binary === 'string') {\n str = binary;\n }\n else if (binary instanceof Buffer) {\n const arr = binary;\n for (const i of arr) {\n str += String.fromCharCode(arr[i]);\n }\n }\n else {\n throw new TypeError('writeBinary only accepts String or Buffer.');\n }\n this.tstack.push(`\"${Buffer.from(str).toString('base64')}\"`);\n }\n readMessageBegin() {\n this.rstack = [];\n this.rpos = [];\n const robj = parseJson_1.parseJson(this.transport.readAll());\n const version = robj.shift();\n if (version !== JSONProtocol.version) {\n throw new Error(`Wrong thrift protocol version: ${version}`);\n }\n const r = {\n fieldName: robj.shift(),\n messageType: robj.shift(),\n requestId: robj.shift(),\n };\n this.rstack.push(robj.shift());\n return r;\n }\n readMessageEnd() { }\n readStructBegin() {\n const r = {\n fieldName: '',\n };\n if (this.rstack[this.rstack.length - 1] instanceof Array) {\n this.rstack.push(this.rstack[this.rstack.length - 1].shift());\n }\n return r;\n }\n readStructEnd() {\n if (this.rstack[this.rstack.length - 2] instanceof Array) {\n this.rstack.pop();\n }\n }\n readFieldBegin() {\n let fid = -1;\n let ftype = types_1.TType.STOP;\n for (const f in this.rstack[this.rstack.length - 1]) {\n if (f === null) {\n continue;\n }\n fid = parseInt(f, 10);\n this.rpos.push(this.rstack.length);\n const field = this.rstack[this.rstack.length - 1][fid];\n delete this.rstack[this.rstack.length - 1][fid];\n this.rstack.push(field);\n break;\n }\n if (fid !== -1) {\n for (const i in this.rstack[this.rstack.length - 1]) {\n if (JSONProtocol.rType[i] === null) {\n continue;\n }\n ftype = JSONProtocol.rType[i];\n this.rstack[this.rstack.length - 1] = this.rstack[this.rstack.length - 1][i];\n }\n }\n return {\n fieldId: fid,\n fieldName: '',\n fieldType: ftype,\n };\n }\n readFieldEnd() {\n const pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n while (this.rstack.length > pos) {\n this.rstack.pop();\n }\n }\n readMapBegin() {\n let map = this.rstack.pop();\n let first = map.shift();\n if (first instanceof Array) {\n this.rstack.push(map);\n map = first;\n first = map.shift();\n }\n const r = {\n keyType: JSONProtocol.rType[first],\n valueType: JSONProtocol.rType[map.shift()],\n size: map.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(map.shift());\n return r;\n }\n readMapEnd() {\n this.readFieldEnd();\n }\n readListBegin() {\n const list = this.rstack[this.rstack.length - 1];\n const r = {\n elementType: JSONProtocol.rType[list.shift()],\n size: list.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(list.shift());\n return r;\n }\n readListEnd() {\n let pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n pos = pos - 2;\n const st = this.rstack;\n st.pop();\n if (st instanceof Array && st.length > pos && st[pos].length > 0) {\n st.push(st[pos].shift());\n }\n }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() {\n return this.readListEnd();\n }\n readBool() {\n const r = this.readValue();\n if (r === null) {\n return false;\n }\n else if (r === '1' || r === 1) {\n return true;\n }\n else {\n return false;\n }\n }\n readByte() {\n return this.readI32();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return parseInt(this.readValue(), 10);\n }\n readI64() {\n return types_1.Int64.fromDecimalString(`${this.readValue()}`);\n }\n readDouble() {\n return parseFloat(this.readValue());\n }\n readBinary() {\n return Buffer.alloc(this.readValue(), 'base64');\n }\n readString() {\n return this.readValue();\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return null;\n case types_1.TType.BOOL:\n return this.readBool();\n case types_1.TType.BYTE:\n return this.readByte();\n case types_1.TType.I16:\n return this.readI16();\n case types_1.TType.I32:\n return this.readI32();\n case types_1.TType.I64:\n return this.readI64();\n case types_1.TType.DOUBLE:\n return this.readDouble();\n case types_1.TType.STRING:\n return this.readString();\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const struct = this.readFieldBegin();\n if (struct.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(struct.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n return null;\n case types_1.TType.MAP:\n const map = this.readMapBegin();\n for (let i = 0; i < map.size; i++) {\n if (i > 0) {\n if (this.rstack.length >\n this.rpos[this.rpos.length - 1] + 1) {\n this.rstack.pop();\n }\n }\n this.skip(map.keyType);\n this.skip(map.keyType);\n }\n this.readMapEnd();\n return null;\n case types_1.TType.SET:\n const set = this.readSetBegin();\n for (let i = 0; i < set.size; i++) {\n this.skip(set.elementType);\n }\n this.readSetEnd();\n return null;\n case types_1.TType.LIST:\n const list = this.readListBegin();\n for (let i = 0; i < list.size; i++) {\n this.skip(list.elementType);\n }\n this.readListEnd();\n return null;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA);\n }\n }\n readValue() {\n const f = this.rstack[this.rstack.length - 1];\n if (f instanceof Array) {\n if (f.length === 0) {\n return undefined;\n }\n else {\n return f.shift();\n }\n }\n else if (f instanceof Object) {\n for (const i in f) {\n if (i === null) {\n continue;\n }\n this.rstack.push(f[i]);\n delete f[i];\n return i;\n break;\n }\n }\n else {\n this.rstack.pop();\n return f;\n }\n }\n getTypeName(type) {\n switch (type) {\n case types_1.TType.BOOL:\n return '\"tf\"';\n case types_1.TType.BYTE:\n return '\"i8\"';\n case types_1.TType.I16:\n return '\"i16\"';\n case types_1.TType.I32:\n return '\"i32\"';\n case types_1.TType.I64:\n return '\"i64\"';\n case types_1.TType.DOUBLE:\n return '\"dbl\"';\n case types_1.TType.STRUCT:\n return '\"rec\"';\n case types_1.TType.STRING:\n return '\"str\"';\n case types_1.TType.MAP:\n return '\"map\"';\n case types_1.TType.LIST:\n return '\"lst\"';\n case types_1.TType.SET:\n return '\"set\"';\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NOT_IMPLEMENTED, `Unrecognized type ${type}`);\n }\n }\n}\nJSONProtocol.version = 1;\nJSONProtocol.rType = {\n tf: types_1.TType.BOOL,\n i8: types_1.TType.BYTE,\n i16: types_1.TType.I16,\n i32: types_1.TType.I32,\n i64: types_1.TType.I64,\n dbl: types_1.TType.DOUBLE,\n rec: types_1.TType.STRUCT,\n str: types_1.TType.STRING,\n map: types_1.TType.MAP,\n lst: types_1.TType.LIST,\n set: types_1.TType.SET,\n};\nexports.JSONProtocol = JSONProtocol;\n//# sourceMappingURL=JSONProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js": -/*!***************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nclass TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n this.transport = trans;\n this.logger = logger;\n this.requestId = null;\n }\n getTransport() {\n return this.transport;\n }\n flush() {\n return this.transport.flush();\n }\n}\nexports.TProtocol = TProtocol;\n//# sourceMappingURL=TProtocol.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BinaryProtocol_1 = __webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\");\nconst CompactProtocol_1 = __webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\");\nconst JSONProtocol_1 = __webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\");\n__export(__webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\"));\n__export(__webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\"));\n__export(__webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\"));\n__export(__webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\"));\nconst protocols = {\n binary: BinaryProtocol_1.BinaryProtocol,\n compact: CompactProtocol_1.CompactProtocol,\n json: JSONProtocol_1.JSONProtocol,\n};\nexports.supportedProtocols = Object.keys(protocols);\nfunction isProtocolSupported(protocol) {\n return exports.supportedProtocols.indexOf(protocol) !== -1;\n}\nexports.isProtocolSupported = isProtocolSupported;\nfunction getProtocol(protocol = 'binary') {\n if (protocol && !isProtocolSupported(protocol)) {\n throw new Error(`Invalid protocol specified. Supported values: ${exports.supportedProtocols.join(', ')}`);\n }\n return protocols[protocol];\n}\nexports.getProtocol = getProtocol;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst TTransport_1 = __webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\");\nconst DEFAULT_READ_BUFFER_SIDE = 1024;\nclass BufferedTransport extends TTransport_1.TTransport {\n static receiver(data) {\n const reader = new BufferedTransport(Buffer.alloc(data.length));\n data.copy(reader.buffer, 0, 0);\n return reader;\n }\n constructor(buffer) {\n super(buffer || Buffer.alloc(DEFAULT_READ_BUFFER_SIDE));\n this.readCursor = 0;\n this.writeCursor = buffer !== undefined ? buffer.length : 0;\n this.outBuffers = [];\n this.outCount = 0;\n }\n remaining() {\n const remainingSize = this.writeCursor - this.readCursor;\n const remainingBuffer = Buffer.alloc(remainingSize);\n if (remainingSize > 0) {\n this.buffer.copy(remainingBuffer, 0, this.readCursor, this.writeCursor);\n }\n return remainingBuffer;\n }\n commitPosition() {\n const unreadSize = this.writeCursor - this.readCursor;\n const bufSize = unreadSize * 2 > DEFAULT_READ_BUFFER_SIDE\n ? unreadSize * 2\n : DEFAULT_READ_BUFFER_SIDE;\n const buf = Buffer.alloc(bufSize);\n if (unreadSize > 0) {\n this.buffer.copy(buf, 0, this.readCursor, this.writeCursor);\n }\n this.readCursor = 0;\n this.writeCursor = unreadSize;\n this.buffer = buf;\n }\n rollbackPosition() {\n this.readCursor = 0;\n }\n isOpen() {\n return true;\n }\n open() {\n return true;\n }\n close() {\n return true;\n }\n read(len) {\n this.ensureAvailable(len);\n const buf = Buffer.alloc(len);\n this.buffer.copy(buf, 0, this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return buf;\n }\n readByte() {\n this.ensureAvailable(1);\n return binary.readByte(this.buffer[this.readCursor++]);\n }\n readI16() {\n this.ensureAvailable(2);\n const i16 = binary.readI16(this.buffer, this.readCursor);\n this.readCursor += 2;\n return i16;\n }\n readI32() {\n this.ensureAvailable(4);\n const i32 = binary.readI32(this.buffer, this.readCursor);\n this.readCursor += 4;\n return i32;\n }\n readDouble() {\n this.ensureAvailable(8);\n const d = binary.readDouble(this.buffer, this.readCursor);\n this.readCursor += 8;\n return d;\n }\n readString(len) {\n this.ensureAvailable(len);\n const str = this.buffer.toString('utf8', this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return str;\n }\n readAll() {\n return this.readString(this.buffer.length - this.readCursor);\n }\n consume(len) {\n this.readCursor += len;\n }\n write(buf) {\n if (buf instanceof Buffer) {\n this.outBuffers.push(buf);\n this.outCount += buf.length;\n }\n else {\n throw new TypeError(`Expected buffer but found type ${typeof buf}`);\n }\n }\n flush() {\n if (this.outCount < 1) {\n return Buffer.alloc(0);\n }\n const msg = Buffer.alloc(this.outCount);\n let pos = 0;\n this.outBuffers.forEach((buf) => {\n buf.copy(msg, pos, 0);\n pos += buf.length;\n });\n this.outBuffers = [];\n this.outCount = 0;\n return msg;\n }\n ensureAvailable(len) {\n if (this.readCursor + len > this.buffer.length) {\n throw new errors_1.InputBufferUnderrunError();\n }\n }\n}\nexports.BufferedTransport = BufferedTransport;\n//# sourceMappingURL=BufferedTransport.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js": -/*!*****************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass TTransport {\n static receiver(data) {\n throw new Error('Not implemented');\n }\n constructor(buffer) {\n this.buffer = buffer;\n this.requestId = null;\n }\n}\nexports.TTransport = TTransport;\n//# sourceMappingURL=TTransport.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst MAX_PACKETS = 10;\nclass ThriftFrameCodec {\n encode(dateToSend) {\n const msg = Buffer.alloc(dateToSend.length + 4);\n binary.writeI32(msg, dateToSend.length);\n dateToSend.copy(msg, 4, 0, dateToSend.length);\n return msg;\n }\n decode(dataToRead) {\n const dataToReturn = Buffer.alloc(dataToRead.length - 4);\n let writeCursor = 0;\n let count = 0;\n while (dataToRead.length > 0) {\n if (dataToRead.length < 4) {\n return Buffer.alloc(0);\n }\n else {\n const frameSize = binary.readI32(dataToRead, 0);\n if (dataToRead.length < 4 + frameSize) {\n return Buffer.alloc(0);\n }\n const frame = dataToRead.slice(4, 4 + frameSize);\n const remaining = dataToRead.slice(4 + frameSize);\n frame.copy(dataToReturn, 0, writeCursor);\n writeCursor += frame.length;\n dataToRead = remaining;\n count++;\n if (count >= MAX_PACKETS) {\n dataToRead = Buffer.alloc(0);\n }\n }\n }\n return dataToReturn;\n }\n}\nexports.ThriftFrameCodec = ThriftFrameCodec;\n//# sourceMappingURL=ThriftFrameCodec.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js": -/*!************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BufferedTransport_1 = __webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\");\n__export(__webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\"));\n__export(__webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\"));\n__export(__webpack_require__(/*! ./ThriftFrameCodec */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js\"));\nconst transports = {\n buffered: BufferedTransport_1.BufferedTransport,\n};\nexports.supportedTransports = Object.keys(transports);\nfunction isTransportSupported(transport) {\n return exports.supportedTransports.indexOf(transport) !== -1;\n}\nexports.isTransportSupported = isTransportSupported;\nfunction getTransport(transport = 'buffered') {\n if (!isTransportSupported(transport)) {\n throw new Error(`Invalid transport specified. Supported values: ${exports.supportedTransports.join(', ')}`);\n }\n return transports[transport];\n}\nexports.getTransport = getTransport;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/types.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/types.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\"));\nclass ThriftConnection {\n constructor(Transport, Protocol) {\n this.Transport = Transport;\n this.Protocol = Protocol;\n }\n}\nexports.ThriftConnection = ThriftConnection;\nclass StructLike {\n constructor() {\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n}\nexports.StructLike = StructLike;\nclass ThriftClient {\n constructor(connection) {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n this._requestId = 0;\n this.transport = connection.Transport;\n this.protocol = connection.Protocol;\n this.connection = connection;\n }\n incrementRequestId() {\n return (this._requestId += 1);\n }\n}\nThriftClient.serviceName = undefined;\nThriftClient.annotations = {};\nThriftClient.methodAnnotations = {};\nThriftClient.methodNames = [];\nexports.ThriftClient = ThriftClient;\nclass ThriftProcessor {\n constructor() {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n }\n}\nThriftProcessor.serviceName = undefined;\nThriftProcessor.annotations = {};\nThriftProcessor.methodAnnotations = {};\nThriftProcessor.methodNames = [];\nexports.ThriftProcessor = ThriftProcessor;\nvar TType;\n(function (TType) {\n TType[TType[\"STOP\"] = 0] = \"STOP\";\n TType[TType[\"VOID\"] = 1] = \"VOID\";\n TType[TType[\"BOOL\"] = 2] = \"BOOL\";\n TType[TType[\"BYTE\"] = 3] = \"BYTE\";\n TType[TType[\"I08\"] = 3] = \"I08\";\n TType[TType[\"DOUBLE\"] = 4] = \"DOUBLE\";\n TType[TType[\"I16\"] = 6] = \"I16\";\n TType[TType[\"I32\"] = 8] = \"I32\";\n TType[TType[\"I64\"] = 10] = \"I64\";\n TType[TType[\"STRING\"] = 11] = \"STRING\";\n TType[TType[\"UTF7\"] = 11] = \"UTF7\";\n TType[TType[\"STRUCT\"] = 12] = \"STRUCT\";\n TType[TType[\"MAP\"] = 13] = \"MAP\";\n TType[TType[\"SET\"] = 14] = \"SET\";\n TType[TType[\"LIST\"] = 15] = \"LIST\";\n TType[TType[\"ENUM\"] = 16] = \"ENUM\";\n TType[TType[\"UTF8\"] = 16] = \"UTF8\";\n TType[TType[\"UTF16\"] = 17] = \"UTF16\";\n})(TType = exports.TType || (exports.TType = {}));\nvar MessageType;\n(function (MessageType) {\n MessageType[MessageType[\"CALL\"] = 1] = \"CALL\";\n MessageType[MessageType[\"REPLY\"] = 2] = \"REPLY\";\n MessageType[MessageType[\"EXCEPTION\"] = 3] = \"EXCEPTION\";\n MessageType[MessageType[\"ONEWAY\"] = 4] = \"ONEWAY\";\n})(MessageType = exports.MessageType || (exports.MessageType = {}));\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/types.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction encode(thriftObject, ThriftCodec, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol) {\n return new Promise((resolve, reject) => {\n const transport = new Transport();\n const protocol = new Protocol(transport);\n ThriftCodec.encode(thriftObject, protocol);\n const data = protocol.flush();\n resolve(data);\n });\n}\nexports.encode = encode;\nfunction appendThriftObject(value, data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n return encode(value, ThriftCodec, Transport, Protocol).then((encoded) => {\n return Buffer.concat([encoded, data]);\n });\n}\nexports.appendThriftObject = appendThriftObject;\n//# sourceMappingURL=appendThriftObject.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst merge = __webpack_require__(/*! lodash/merge */ \"./node_modules/lodash/merge.js\");\nconst url = __webpack_require__(/*! url */ \"./node_modules/node-libs-browser/node_modules/url/url.js\");\n__export(__webpack_require__(/*! ./appendThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftMetadata */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js\"));\n__export(__webpack_require__(/*! ./normalizePath */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js\"));\nfunction deepMerge(base, update) {\n return merge({}, base, update);\n}\nexports.deepMerge = deepMerge;\nfunction overlayObjects(...objs) {\n return objs.reduce((acc, next) => {\n return deepMerge(acc, next);\n }, {});\n}\nexports.overlayObjects = overlayObjects;\nfunction formatUrl(requestUrl) {\n const parsed = url.parse(url.format(requestUrl));\n if (!parsed.pathname) {\n return `${parsed.hostname || ''}/`;\n }\n else {\n return `${parsed.hostname || ''}${parsed.pathname}`;\n }\n}\nexports.formatUrl = formatUrl;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js": -/*!***************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.normalizePath = (path = '/') => {\n path = path.trim();\n if (path === '/' || path === '') {\n return '';\n }\n if (!path.startsWith('/')) {\n path = `/${path}`;\n }\n if (path.endsWith('/')) {\n path = path.substring(0, path.length - 1);\n }\n return path;\n};\n//# sourceMappingURL=normalizePath.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftMetadata(buffer, Transport, Protocol, logger) {\n try {\n const transportWithData = new Transport(buffer);\n const input = new Protocol(transportWithData);\n return input.readMessageBegin();\n }\n catch (err) {\n logger(['warn', 'readThriftMetadata'], `Unable to read Thrift message. ${err.message}`);\n throw err;\n }\n}\nexports.readThriftMetadata = readThriftMetadata;\nfunction readThriftMethod(buffer, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol, logger = logger_1.defaultLogger) {\n try {\n const { fieldName } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return fieldName;\n }\n catch (err) {\n logger(['warn', 'readThrfitMethod'], `Unable to read Thrift method name. ${err.message}`);\n return '';\n }\n}\nexports.readThriftMethod = readThriftMethod;\nfunction readRequestId(buffer, Transport, Protocol, logger = logger_1.defaultLogger) {\n try {\n const { requestId } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return requestId;\n }\n catch (err) {\n logger(['warn', 'readRequestId'], `Unable to read Thrift requestId. ${err.message}`);\n return 0;\n }\n}\nexports.readRequestId = readRequestId;\n//# sourceMappingURL=readThriftMetadata.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js": -/*!******************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftObject(data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n return new Promise((resolve, reject) => {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n const decoded = ThriftCodec.decode(input);\n resolve([decoded, receiver.remaining()]);\n });\n}\nexports.readThriftObject = readThriftObject;\nfunction stripStruct(data, transportType = 'buffered', protocolType = 'binary') {\n try {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n input.readStructBegin();\n while (true) {\n const ret = input.readFieldBegin();\n const fieldType = ret.fieldType;\n if (fieldType === types_1.TType.STOP) {\n break;\n }\n else {\n input.skip(fieldType);\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return receiver.remaining();\n }\n catch (err) {\n return data;\n }\n}\nexports.stripStruct = stripStruct;\n//# sourceMappingURL=readThriftObject.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js?"); - -/***/ }), - -/***/ "./node_modules/base64-js/index.js": -/*!*****************************************!*\ - !*** ./node_modules/base64-js/index.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./node_modules/base64-js/index.js?"); - -/***/ }), - -/***/ "./node_modules/buffer/index.js": -/*!**************************************!*\ - !*** ./node_modules/buffer/index.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/buffer/index.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_a-function.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_a-function.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_a-function.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_add-to-unscopables.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_an-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_an-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_an-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-constructor.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-constructor.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-create.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-create.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ \"./node_modules/core-js/modules/_array-species-constructor.js\");\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-create.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_cof.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_cof.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_cof.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_core.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_core.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_core.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ctx.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_ctx.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ctx.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_defined.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_defined.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_defined.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_descriptors.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_descriptors.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_descriptors.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_dom-create.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_dom-create.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_dom-create.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_export.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_export.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_export.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_fails.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_fails.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_fails.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flags.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_flags.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flags.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flatten-into-array.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flatten-into-array.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_function-to-string.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_function-to-string.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('native-function-to-string', Function.toString);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_function-to-string.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_global.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_global.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_global.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_has.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_has.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_has.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_hide.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_hide.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_hide.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ie8-dom-define.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-array.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_is-array.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-array.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_is-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_library.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_library.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = false;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_library.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-dp.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-dp.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/modules/_ie8-dom-define.js\");\nvar toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/modules/_to-primitive.js\");\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_object-dp.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_property-desc.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_property-desc.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_property-desc.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_redefine.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_redefine.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar SRC = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\")('src');\nvar $toString = __webpack_require__(/*! ./_function-to-string */ \"./node_modules/core-js/modules/_function-to-string.js\");\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_redefine.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_shared.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_shared.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\") ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_shared.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-integer.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-integer.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-integer.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-length.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-length.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-length.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-primitive.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_to-primitive.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-primitive.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_uid.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_uid.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_uid.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_wks.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_wks.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('wks');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nvar Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_wks.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 21.2.5.3 get RegExp.prototype.flags()\nif (__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\").f(RegExp.prototype, 'flags', {\n configurable: true,\n get: __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\")\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.flags.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n__webpack_require__(/*! ./es6.regexp.flags */ \"./node_modules/core-js/modules/es6.regexp.flags.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar $flags = __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\");\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\")(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ \"./node_modules/core-js/modules/_flatten-into-array.js\");\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/modules/_to-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ \"./node_modules/core-js/modules/_array-species-create.js\");\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\n__webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/modules/_add-to-unscopables.js\")('flatMap');\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es7.array.flat-map.js?"); - -/***/ }), - -/***/ "./node_modules/ieee754/index.js": -/*!***************************************!*\ - !*** ./node_modules/ieee754/index.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("exports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./node_modules/ieee754/index.js?"); - -/***/ }), - -/***/ "./node_modules/isarray/index.js": -/*!***************************************!*\ - !*** ./node_modules/isarray/index.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/isarray/index.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Hash.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/_Hash.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var hashClear = __webpack_require__(/*! ./_hashClear */ \"./node_modules/lodash/_hashClear.js\"),\n hashDelete = __webpack_require__(/*! ./_hashDelete */ \"./node_modules/lodash/_hashDelete.js\"),\n hashGet = __webpack_require__(/*! ./_hashGet */ \"./node_modules/lodash/_hashGet.js\"),\n hashHas = __webpack_require__(/*! ./_hashHas */ \"./node_modules/lodash/_hashHas.js\"),\n hashSet = __webpack_require__(/*! ./_hashSet */ \"./node_modules/lodash/_hashSet.js\");\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Hash.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_ListCache.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_ListCache.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ \"./node_modules/lodash/_listCacheClear.js\"),\n listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ \"./node_modules/lodash/_listCacheDelete.js\"),\n listCacheGet = __webpack_require__(/*! ./_listCacheGet */ \"./node_modules/lodash/_listCacheGet.js\"),\n listCacheHas = __webpack_require__(/*! ./_listCacheHas */ \"./node_modules/lodash/_listCacheHas.js\"),\n listCacheSet = __webpack_require__(/*! ./_listCacheSet */ \"./node_modules/lodash/_listCacheSet.js\");\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_ListCache.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Map.js": -/*!*************************************!*\ - !*** ./node_modules/lodash/_Map.js ***! - \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Map.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_MapCache.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_MapCache.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ \"./node_modules/lodash/_mapCacheClear.js\"),\n mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ \"./node_modules/lodash/_mapCacheDelete.js\"),\n mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ \"./node_modules/lodash/_mapCacheGet.js\"),\n mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ \"./node_modules/lodash/_mapCacheHas.js\"),\n mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ \"./node_modules/lodash/_mapCacheSet.js\");\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_MapCache.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Stack.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/_Stack.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n stackClear = __webpack_require__(/*! ./_stackClear */ \"./node_modules/lodash/_stackClear.js\"),\n stackDelete = __webpack_require__(/*! ./_stackDelete */ \"./node_modules/lodash/_stackDelete.js\"),\n stackGet = __webpack_require__(/*! ./_stackGet */ \"./node_modules/lodash/_stackGet.js\"),\n stackHas = __webpack_require__(/*! ./_stackHas */ \"./node_modules/lodash/_stackHas.js\"),\n stackSet = __webpack_require__(/*! ./_stackSet */ \"./node_modules/lodash/_stackSet.js\");\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Stack.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Symbol.js": -/*!****************************************!*\ - !*** ./node_modules/lodash/_Symbol.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Symbol.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Uint8Array.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_Uint8Array.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Uint8Array.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_apply.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/_apply.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_apply.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_arrayLikeKeys.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_arrayLikeKeys.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseTimes = __webpack_require__(/*! ./_baseTimes */ \"./node_modules/lodash/_baseTimes.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_arrayLikeKeys.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assignMergeValue.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_assignMergeValue.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignMergeValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assignValue.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_assignValue.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assocIndexOf.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_assocIndexOf.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assocIndexOf.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseAssignValue.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseAssignValue.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\");\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseAssignValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseCreate.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseCreate.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseCreate.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseFor.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_baseFor.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ \"./node_modules/lodash/_createBaseFor.js\");\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseFor.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseGetTag.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseGetTag.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\"),\n getRawTag = __webpack_require__(/*! ./_getRawTag */ \"./node_modules/lodash/_getRawTag.js\"),\n objectToString = __webpack_require__(/*! ./_objectToString */ \"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseGetTag.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsArguments.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseIsArguments.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsArguments.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsNative.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_baseIsNative.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isMasked = __webpack_require__(/*! ./_isMasked */ \"./node_modules/lodash/_isMasked.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n toSource = __webpack_require__(/*! ./_toSource */ \"./node_modules/lodash/_toSource.js\");\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsNative.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsTypedArray.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_baseIsTypedArray.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseKeysIn.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseKeysIn.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\"),\n nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ \"./node_modules/lodash/_nativeKeysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseKeysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseMerge.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseMerge.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Stack = __webpack_require__(/*! ./_Stack */ \"./node_modules/lodash/_Stack.js\"),\n assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n baseFor = __webpack_require__(/*! ./_baseFor */ \"./node_modules/lodash/_baseFor.js\"),\n baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ \"./node_modules/lodash/_baseMergeDeep.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\");\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMerge.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseMergeDeep.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_baseMergeDeep.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ \"./node_modules/lodash/_cloneBuffer.js\"),\n cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ \"./node_modules/lodash/_cloneTypedArray.js\"),\n copyArray = __webpack_require__(/*! ./_copyArray */ \"./node_modules/lodash/_copyArray.js\"),\n initCloneObject = __webpack_require__(/*! ./_initCloneObject */ \"./node_modules/lodash/_initCloneObject.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ \"./node_modules/lodash/isArrayLikeObject.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPlainObject = __webpack_require__(/*! ./isPlainObject */ \"./node_modules/lodash/isPlainObject.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\"),\n toPlainObject = __webpack_require__(/*! ./toPlainObject */ \"./node_modules/lodash/toPlainObject.js\");\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMergeDeep.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseRest.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_baseRest.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\"),\n overRest = __webpack_require__(/*! ./_overRest */ \"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(/*! ./_setToString */ \"./node_modules/lodash/_setToString.js\");\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseRest.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseSetToString.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseSetToString.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var constant = __webpack_require__(/*! ./constant */ \"./node_modules/lodash/constant.js\"),\n defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\"),\n identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\");\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseSetToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseTimes.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseTimes.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseTimes.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseUnary.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseUnary.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseUnary.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneArrayBuffer.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_cloneArrayBuffer.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ \"./node_modules/lodash/_Uint8Array.js\");\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneArrayBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneBuffer.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_cloneBuffer.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneTypedArray.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_cloneTypedArray.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ \"./node_modules/lodash/_cloneArrayBuffer.js\");\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_copyArray.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_copyArray.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_copyObject.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_copyObject.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assignValue = __webpack_require__(/*! ./_assignValue */ \"./node_modules/lodash/_assignValue.js\"),\n baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\");\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_coreJsData.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_coreJsData.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_coreJsData.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_createAssigner.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_createAssigner.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseRest = __webpack_require__(/*! ./_baseRest */ \"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ \"./node_modules/lodash/_isIterateeCall.js\");\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createAssigner.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_createBaseFor.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_createBaseFor.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createBaseFor.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_defineProperty.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_defineProperty.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_defineProperty.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_freeGlobal.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_freeGlobal.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/lodash/_freeGlobal.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getMapData.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_getMapData.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isKeyable = __webpack_require__(/*! ./_isKeyable */ \"./node_modules/lodash/_isKeyable.js\");\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getMapData.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getNative.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_getNative.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ \"./node_modules/lodash/_baseIsNative.js\"),\n getValue = __webpack_require__(/*! ./_getValue */ \"./node_modules/lodash/_getValue.js\");\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getNative.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getPrototype.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_getPrototype.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var overArg = __webpack_require__(/*! ./_overArg */ \"./node_modules/lodash/_overArg.js\");\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getPrototype.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getRawTag.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_getRawTag.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getRawTag.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getValue.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_getValue.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashClear.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_hashClear.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashDelete.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_hashDelete.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashGet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashGet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashHas.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashHas.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashSet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashSet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_initCloneObject.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_initCloneObject.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseCreate = __webpack_require__(/*! ./_baseCreate */ \"./node_modules/lodash/_baseCreate.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\");\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_initCloneObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isIndex.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_isIndex.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIndex.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isIterateeCall.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_isIterateeCall.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIterateeCall.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isKeyable.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_isKeyable.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isKeyable.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isMasked.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_isMasked.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var coreJsData = __webpack_require__(/*! ./_coreJsData */ \"./node_modules/lodash/_coreJsData.js\");\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isMasked.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isPrototype.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_isPrototype.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isPrototype.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheClear.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_listCacheClear.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheDelete.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_listCacheDelete.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheGet.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheGet.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheHas.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheHas.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheSet.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheSet.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheClear.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_mapCacheClear.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Hash = __webpack_require__(/*! ./_Hash */ \"./node_modules/lodash/_Hash.js\"),\n ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\");\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheDelete.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_mapCacheDelete.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheGet.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheGet.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheHas.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheHas.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheSet.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheSet.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nativeCreate.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_nativeCreate.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeCreate.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nativeKeysIn.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_nativeKeysIn.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeKeysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nodeUtil.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_nodeUtil.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_nodeUtil.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_objectToString.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_objectToString.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_objectToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_overArg.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_overArg.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overArg.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_overRest.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_overRest.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var apply = __webpack_require__(/*! ./_apply */ \"./node_modules/lodash/_apply.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overRest.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_root.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/_root.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_root.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_safeGet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_safeGet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_safeGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_setToString.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_setToString.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ \"./node_modules/lodash/_baseSetToString.js\"),\n shortOut = __webpack_require__(/*! ./_shortOut */ \"./node_modules/lodash/_shortOut.js\");\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_setToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_shortOut.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_shortOut.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_shortOut.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackClear.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_stackClear.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\");\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackDelete.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_stackDelete.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackGet.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackGet.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackHas.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackHas.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackSet.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackSet.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\"),\n MapCache = __webpack_require__(/*! ./_MapCache */ \"./node_modules/lodash/_MapCache.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_toSource.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_toSource.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_toSource.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/constant.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/constant.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/constant.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/eq.js": -/*!***********************************!*\ - !*** ./node_modules/lodash/eq.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/eq.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/identity.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/identity.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/identity.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArguments.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/isArguments.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ \"./node_modules/lodash/_baseIsArguments.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArguments.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArray.js": -/*!****************************************!*\ - !*** ./node_modules/lodash/isArray.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArrayLike.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/isArrayLike.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\");\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLike.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArrayLikeObject.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/isArrayLikeObject.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLikeObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isBuffer.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isBuffer.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\"),\n stubFalse = __webpack_require__(/*! ./stubFalse */ \"./node_modules/lodash/stubFalse.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/isBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isFunction.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/isFunction.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isFunction.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isLength.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isLength.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isLength.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isObject.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isObject.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isObjectLike.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/isObjectLike.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObjectLike.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isPlainObject.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/isPlainObject.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isPlainObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isTypedArray.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/isTypedArray.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ \"./node_modules/lodash/_baseIsTypedArray.js\"),\n baseUnary = __webpack_require__(/*! ./_baseUnary */ \"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(/*! ./_nodeUtil */ \"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/keysIn.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/keysIn.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ \"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ \"./node_modules/lodash/_baseKeysIn.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\");\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/keysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/merge.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/merge.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseMerge = __webpack_require__(/*! ./_baseMerge */ \"./node_modules/lodash/_baseMerge.js\"),\n createAssigner = __webpack_require__(/*! ./_createAssigner */ \"./node_modules/lodash/_createAssigner.js\");\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/merge.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/stubFalse.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/stubFalse.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/stubFalse.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/toPlainObject.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/toPlainObject.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var copyObject = __webpack_require__(/*! ./_copyObject */ \"./node_modules/lodash/_copyObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\");\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/toPlainObject.js?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/AdSlot.ts": -/*!**************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/AdSlot.ts ***! - \**************************************************************/ -/*! exports provided: AdSlotCodec, AdSlot */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlotCodec\", function() { return AdSlotCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlot\", function() { return AdSlot; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar AdSlotCodec = {\n encode(args, output) {\n var obj = {\n x: args.x,\n y: args.y,\n height: args.height,\n width: args.width\n };\n output.writeStructBegin(\"AdSlot\");\n\n if (obj.x != null) {\n output.writeFieldBegin(\"x\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 1);\n output.writeI32(obj.x);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (obj.y != null) {\n output.writeFieldBegin(\"y\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.y);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (obj.height != null) {\n output.writeFieldBegin(\"height\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 3);\n output.writeI32(obj.height);\n output.writeFieldEnd();\n }\n\n if (obj.width != null) {\n output.writeFieldBegin(\"width\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 4);\n output.writeI32(obj.width);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_1 = input.readI32();\n _args.x = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_2 = input.readI32();\n _args.y = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_3 = input.readI32();\n _args.height = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 4:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_4 = input.readI32();\n _args.width = value_4;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.x !== undefined && _args.y !== undefined) {\n return {\n x: _args.x,\n y: _args.y,\n height: _args.height,\n width: _args.width\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read AdSlot from input\");\n }\n }\n\n};\nclass AdSlot extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.x != null) {\n var value_5 = args.x;\n this.x = value_5;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (args.y != null) {\n var value_6 = args.y;\n this.y = value_6;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (args.height != null) {\n var value_7 = args.height;\n this.height = value_7;\n }\n\n if (args.width != null) {\n var value_8 = args.width;\n this.width = value_8;\n }\n }\n\n static read(input) {\n return new AdSlot(AdSlotCodec.decode(input));\n }\n\n static write(args, output) {\n return AdSlotCodec.encode(args, output);\n }\n\n write(output) {\n return AdSlotCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/AdSlot.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Image.ts": -/*!*************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Image.ts ***! - \*************************************************************/ -/*! exports provided: ImageCodec, Image */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImageCodec\", function() { return ImageCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Image\", function() { return Image; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar ImageCodec = {\n encode(args, output) {\n var obj = {\n url: args.url,\n caption: args.caption,\n credit: args.credit\n };\n output.writeStructBegin(\"Image\");\n\n if (obj.url != null) {\n output.writeFieldBegin(\"url\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.url);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (obj.caption != null) {\n output.writeFieldBegin(\"caption\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 2);\n output.writeString(obj.caption);\n output.writeFieldEnd();\n }\n\n if (obj.credit != null) {\n output.writeFieldBegin(\"credit\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 3);\n output.writeString(obj.credit);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.url = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_2 = input.readString();\n _args.caption = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_3 = input.readString();\n _args.credit = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.url !== undefined) {\n return {\n url: _args.url,\n caption: _args.caption,\n credit: _args.credit\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Image from input\");\n }\n }\n\n};\nclass Image extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.url != null) {\n var value_4 = args.url;\n this.url = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (args.caption != null) {\n var value_5 = args.caption;\n this.caption = value_5;\n }\n\n if (args.credit != null) {\n var value_6 = args.credit;\n this.credit = value_6;\n }\n }\n\n static read(input) {\n return new Image(ImageCodec.decode(input));\n }\n\n static write(args, output) {\n return ImageCodec.encode(args, output);\n }\n\n write(output) {\n return ImageCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Image.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Native.ts": -/*!**************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Native.ts ***! - \**************************************************************/ -/*! exports provided: serviceName, annotations, methodAnnotations, methodNames, methodParameters, InsertAdverts__ArgsCodec, InsertAdverts__Args, NativeThriftPackageVersion__ArgsCodec, NativeThriftPackageVersion__Args, LaunchFrictionScreen__ArgsCodec, LaunchFrictionScreen__Args, Follow__ArgsCodec, Follow__Args, Unfollow__ArgsCodec, Unfollow__Args, IsFollowing__ArgsCodec, IsFollowing__Args, IsPremiumUser__ArgsCodec, IsPremiumUser__Args, LaunchSlideshow__ArgsCodec, LaunchSlideshow__Args, InsertAdverts__ResultCodec, InsertAdverts__Result, NativeThriftPackageVersion__ResultCodec, NativeThriftPackageVersion__Result, LaunchFrictionScreen__ResultCodec, LaunchFrictionScreen__Result, Follow__ResultCodec, Follow__Result, Unfollow__ResultCodec, Unfollow__Result, IsFollowing__ResultCodec, IsFollowing__Result, IsPremiumUser__ResultCodec, IsPremiumUser__Result, LaunchSlideshow__ResultCodec, LaunchSlideshow__Result, Client, Processor */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"serviceName\", function() { return serviceName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"annotations\", function() { return annotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodAnnotations\", function() { return methodAnnotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodNames\", function() { return methodNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodParameters\", function() { return methodParameters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ArgsCodec\", function() { return InsertAdverts__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Args\", function() { return InsertAdverts__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ArgsCodec\", function() { return NativeThriftPackageVersion__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Args\", function() { return NativeThriftPackageVersion__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ArgsCodec\", function() { return LaunchFrictionScreen__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Args\", function() { return LaunchFrictionScreen__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ArgsCodec\", function() { return Follow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Args\", function() { return Follow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ArgsCodec\", function() { return Unfollow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Args\", function() { return Unfollow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ArgsCodec\", function() { return IsFollowing__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Args\", function() { return IsFollowing__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ArgsCodec\", function() { return IsPremiumUser__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Args\", function() { return IsPremiumUser__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ArgsCodec\", function() { return LaunchSlideshow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Args\", function() { return LaunchSlideshow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ResultCodec\", function() { return InsertAdverts__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Result\", function() { return InsertAdverts__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ResultCodec\", function() { return NativeThriftPackageVersion__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Result\", function() { return NativeThriftPackageVersion__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ResultCodec\", function() { return LaunchFrictionScreen__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Result\", function() { return LaunchFrictionScreen__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ResultCodec\", function() { return Follow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Result\", function() { return Follow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ResultCodec\", function() { return Unfollow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Result\", function() { return Unfollow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ResultCodec\", function() { return IsFollowing__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Result\", function() { return IsFollowing__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ResultCodec\", function() { return IsPremiumUser__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Result\", function() { return IsPremiumUser__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ResultCodec\", function() { return LaunchSlideshow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Result\", function() { return LaunchSlideshow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Client\", function() { return Client; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Processor\", function() { return Processor; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _AdSlot__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var _Topic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var _Image__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\n\n\n\nvar serviceName = \"Native\";\nvar annotations = {};\nvar methodAnnotations = {\n insertAdverts: {\n annotations: {},\n fieldAnnotations: {}\n },\n nativeThriftPackageVersion: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchFrictionScreen: {\n annotations: {},\n fieldAnnotations: {}\n },\n follow: {\n annotations: {},\n fieldAnnotations: {}\n },\n unfollow: {\n annotations: {},\n fieldAnnotations: {}\n },\n isFollowing: {\n annotations: {},\n fieldAnnotations: {}\n },\n isPremiumUser: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchSlideshow: {\n annotations: {},\n fieldAnnotations: {}\n }\n};\nvar methodNames = [\"insertAdverts\", \"nativeThriftPackageVersion\", \"launchFrictionScreen\", \"follow\", \"unfollow\", \"isFollowing\", \"isPremiumUser\", \"launchSlideshow\"];\nvar methodParameters = {\n insertAdverts: 2,\n nativeThriftPackageVersion: 1,\n launchFrictionScreen: 1,\n follow: 2,\n unfollow: 2,\n isFollowing: 2,\n isPremiumUser: 1,\n launchSlideshow: 3\n};\nvar InsertAdverts__ArgsCodec = {\n encode(args, output) {\n var obj = {\n adSlots: args.adSlots\n };\n output.writeStructBegin(\"InsertAdverts__Args\");\n\n if (obj.adSlots != null) {\n output.writeFieldBegin(\"adSlots\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.adSlots.length);\n obj.adSlots.forEach(value_1 => {\n _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].encode(value_1, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_2 = new Array();\n var metadata_1 = input.readListBegin();\n var size_1 = metadata_1.size;\n\n for (var i_1 = 0; i_1 < size_1; i_1++) {\n var value_3 = _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].decode(input);\n value_2.push(value_3);\n }\n\n input.readListEnd();\n _args.adSlots = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.adSlots !== undefined) {\n return {\n adSlots: _args.adSlots\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read InsertAdverts__Args from input\");\n }\n }\n\n};\nclass InsertAdverts__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.adSlots != null) {\n var value_4 = new Array();\n args.adSlots.forEach(value_5 => {\n var value_6 = new _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlot\"](value_5);\n value_4.push(value_6);\n });\n this.adSlots = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n }\n\n static read(input) {\n return new InsertAdverts__Args(InsertAdverts__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ArgsCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"NativeThriftPackageVersion__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass NativeThriftPackageVersion__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Args(NativeThriftPackageVersion__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass LaunchFrictionScreen__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Args(LaunchFrictionScreen__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ArgsCodec.encode(this, output);\n }\n\n}\nvar Follow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Follow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_7 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_7;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Follow__Args from input\");\n }\n }\n\n};\nclass Follow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_8 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_8;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Follow__Args(Follow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ArgsCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Unfollow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_9 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_9;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Unfollow__Args from input\");\n }\n }\n\n};\nclass Unfollow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_10 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_10;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Unfollow__Args(Unfollow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"IsFollowing__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_11 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_11;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read IsFollowing__Args from input\");\n }\n }\n\n};\nclass IsFollowing__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_12 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_12;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new IsFollowing__Args(IsFollowing__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"IsPremiumUser__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass IsPremiumUser__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new IsPremiumUser__Args(IsPremiumUser__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n images: args.images,\n selectedIndex: args.selectedIndex\n };\n output.writeStructBegin(\"LaunchSlideshow__Args\");\n\n if (obj.images != null) {\n output.writeFieldBegin(\"images\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.images.length);\n obj.images.forEach(value_13 => {\n _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].encode(value_13, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (obj.selectedIndex != null) {\n output.writeFieldBegin(\"selectedIndex\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.selectedIndex);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_14 = new Array();\n var metadata_2 = input.readListBegin();\n var size_2 = metadata_2.size;\n\n for (var i_2 = 0; i_2 < size_2; i_2++) {\n var value_15 = _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].decode(input);\n value_14.push(value_15);\n }\n\n input.readListEnd();\n _args.images = value_14;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_16 = input.readI32();\n _args.selectedIndex = value_16;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.images !== undefined && _args.selectedIndex !== undefined) {\n return {\n images: _args.images,\n selectedIndex: _args.selectedIndex\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read LaunchSlideshow__Args from input\");\n }\n }\n\n};\nclass LaunchSlideshow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.images != null) {\n var value_17 = new Array();\n args.images.forEach(value_19 => {\n var value_20 = new _Image__WEBPACK_IMPORTED_MODULE_3__[\"Image\"](value_19);\n value_17.push(value_20);\n });\n this.images = value_17;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (args.selectedIndex != null) {\n var value_18 = args.selectedIndex;\n this.selectedIndex = value_18;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Args(LaunchSlideshow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ArgsCodec.encode(this, output);\n }\n\n}\nvar InsertAdverts__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"InsertAdverts__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass InsertAdverts__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_21 = undefined;\n this.success = value_21;\n }\n }\n\n static read(input) {\n return new InsertAdverts__Result(InsertAdverts__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ResultCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"NativeThriftPackageVersion__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 0);\n output.writeI32(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_22 = input.readI32();\n _args.success = value_22;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass NativeThriftPackageVersion__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_23 = args.success;\n this.success = value_23;\n }\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Result(NativeThriftPackageVersion__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchFrictionScreen__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_24 = undefined;\n this.success = value_24;\n }\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Result(LaunchFrictionScreen__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ResultCodec.encode(this, output);\n }\n\n}\nvar Follow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Follow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Follow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_25 = undefined;\n this.success = value_25;\n }\n }\n\n static read(input) {\n return new Follow__Result(Follow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ResultCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Unfollow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Unfollow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_26 = undefined;\n this.success = value_26;\n }\n }\n\n static read(input) {\n return new Unfollow__Result(Unfollow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ResultCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsFollowing__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_27 = input.readBool();\n _args.success = value_27;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsFollowing__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_28 = args.success;\n this.success = value_28;\n }\n }\n\n static read(input) {\n return new IsFollowing__Result(IsFollowing__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ResultCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsPremiumUser__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_29 = input.readBool();\n _args.success = value_29;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsPremiumUser__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_30 = args.success;\n this.success = value_30;\n }\n }\n\n static read(input) {\n return new IsPremiumUser__Result(IsPremiumUser__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchSlideshow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchSlideshow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_31 = undefined;\n this.success = value_31;\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Result(LaunchSlideshow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ResultCodec.encode(this, output);\n }\n\n}\nclass Client extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftClient\"] {\n constructor() {\n super(...arguments);\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._methodParameters = methodParameters;\n }\n\n insertAdverts(adSlots, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n adSlots\n };\n InsertAdverts__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"insertAdverts\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = InsertAdverts__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n nativeThriftPackageVersion(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"nativeThriftPackageVersion\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = NativeThriftPackageVersion__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"nativeThriftPackageVersion failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchFrictionScreen(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n LaunchFrictionScreen__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchFrictionScreen\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchFrictionScreen__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n follow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Follow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"follow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Follow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n unfollow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Unfollow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"unfollow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Unfollow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isFollowing(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n IsFollowing__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isFollowing\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsFollowing__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isFollowing failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isPremiumUser(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n IsPremiumUser__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isPremiumUser\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsPremiumUser__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isPremiumUser failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchSlideshow(images, selectedIndex, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n images,\n selectedIndex\n };\n LaunchSlideshow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchSlideshow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchSlideshow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n}\nClient.serviceName = serviceName;\nClient.annotations = annotations;\nClient.methodAnnotations = methodAnnotations;\nClient.methodNames = methodNames;\nclass Processor extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftProcessor\"] {\n constructor(handler) {\n super();\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._handler = handler;\n }\n\n process(input, output, context) {\n return new Promise((resolve, reject) => {\n var metadata = input.readMessageBegin();\n var fieldName = metadata.fieldName;\n var requestId = metadata.requestId;\n var methodName = \"process_\" + fieldName;\n\n switch (methodName) {\n case \"process_insertAdverts\":\n {\n resolve(this.process_insertAdverts(requestId, input, output, context));\n break;\n }\n\n case \"process_nativeThriftPackageVersion\":\n {\n resolve(this.process_nativeThriftPackageVersion(requestId, input, output, context));\n break;\n }\n\n case \"process_launchFrictionScreen\":\n {\n resolve(this.process_launchFrictionScreen(requestId, input, output, context));\n break;\n }\n\n case \"process_follow\":\n {\n resolve(this.process_follow(requestId, input, output, context));\n break;\n }\n\n case \"process_unfollow\":\n {\n resolve(this.process_unfollow(requestId, input, output, context));\n break;\n }\n\n case \"process_isFollowing\":\n {\n resolve(this.process_isFollowing(requestId, input, output, context));\n break;\n }\n\n case \"process_isPremiumUser\":\n {\n resolve(this.process_isPremiumUser(requestId, input, output, context));\n break;\n }\n\n case \"process_launchSlideshow\":\n {\n resolve(this.process_launchSlideshow(requestId, input, output, context));\n break;\n }\n\n default:\n {\n input.skip(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT);\n input.readMessageEnd();\n var errMessage = \"Unknown function \" + fieldName;\n var err = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN_METHOD, errMessage);\n output.writeMessageBegin(fieldName, _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(err, output);\n output.writeMessageEnd();\n resolve(output.flush());\n break;\n }\n }\n });\n }\n\n process_insertAdverts(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = InsertAdverts__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.insertAdverts(args.adSlots, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n InsertAdverts__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_nativeThriftPackageVersion(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.nativeThriftPackageVersion(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n NativeThriftPackageVersion__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchFrictionScreen(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.launchFrictionScreen(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchFrictionScreen__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_follow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Follow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.follow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Follow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_unfollow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Unfollow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.unfollow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Unfollow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isFollowing(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = IsFollowing__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.isFollowing(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsFollowing__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isPremiumUser(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.isPremiumUser(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsPremiumUser__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchSlideshow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = LaunchSlideshow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.launchSlideshow(args.images, args.selectedIndex, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchSlideshow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n}\nProcessor.serviceName = serviceName;\nProcessor.annotations = annotations;\nProcessor.methodAnnotations = methodAnnotations;\nProcessor.methodNames = methodNames;\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Native.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Topic.ts": -/*!*************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Topic.ts ***! - \*************************************************************/ -/*! exports provided: TopicCodec, Topic */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TopicCodec\", function() { return TopicCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Topic\", function() { return Topic; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar TopicCodec = {\n encode(args, output) {\n var obj = {\n id: args.id\n };\n output.writeStructBegin(\"Topic\");\n\n if (obj.id != null) {\n output.writeFieldBegin(\"id\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.id);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.id = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.id !== undefined) {\n return {\n id: _args.id\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Topic from input\");\n }\n }\n\n};\nclass Topic extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.id != null) {\n var value_2 = args.id;\n this.id = value_2;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n }\n\n static read(input) {\n return new Topic(TopicCodec.decode(input));\n }\n\n static write(args, output) {\n return TopicCodec.encode(args, output);\n }\n\n write(output) {\n return TopicCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Topic.ts?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/punycode/punycode.js": -/*!**************************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/punycode/punycode.js?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/url/url.js": -/*!****************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/url/url.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/node-libs-browser/node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/url.js?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/url/util.js": -/*!*****************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/url/util.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nmodule.exports = {\n isString: function(arg) {\n return typeof(arg) === 'string';\n },\n isObject: function(arg) {\n return typeof(arg) === 'object' && arg !== null;\n },\n isNull: function(arg) {\n return arg === null;\n },\n isNullOrUndefined: function(arg) {\n return arg == null;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/util.js?"); - -/***/ }), - -/***/ "./node_modules/process/browser.js": -/*!*****************************************!*\ - !*** ./node_modules/process/browser.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/decode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/decode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/decode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/encode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/encode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map (xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/encode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/index.js": -/*!***********************************************!*\ - !*** ./node_modules/querystring-es3/index.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \"./node_modules/querystring-es3/decode.js\");\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \"./node_modules/querystring-es3/encode.js\");\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/index.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/index.js": -/*!************************************!*\ - !*** ./node_modules/uuid/index.js ***! - \************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var v1 = __webpack_require__(/*! ./v1 */ \"./node_modules/uuid/v1.js\");\nvar v4 = __webpack_require__(/*! ./v4 */ \"./node_modules/uuid/v4.js\");\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/index.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/lib/bytesToUuid.js": -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/bytesToUuid.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/bytesToUuid.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/lib/rng-browser.js": -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/rng-browser.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/rng-browser.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/v1.js": -/*!*********************************!*\ - !*** ./node_modules/uuid/v1.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v1.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/v4.js": -/*!*********************************!*\ - !*** ./node_modules/uuid/v4.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v4.js?"); - -/***/ }), - -/***/ "./node_modules/webpack/buildin/global.js": -/*!***********************************!*\ - !*** (webpack)/buildin/global.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?"); - -/***/ }), - -/***/ "./node_modules/webpack/buildin/module.js": -/*!***********************************!*\ - !*** (webpack)/buildin/module.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n//# sourceURL=webpack:///(webpack)/buildin/module.js?"); - -/***/ }), - -/***/ "./src/client/article.ts": -/*!*******************************!*\ - !*** ./src/client/article.ts ***! - \*******************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.array.flat-map */ \"./node_modules/core-js/modules/es7.array.flat-map.js\");\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n/* harmony import */ var native_nativeApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! native/nativeApi */ \"./src/native/nativeApi.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! mobile-apps-thrift-typescript/AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n\n// ----- Imports ----- //\n\n\n\n\n // ----- Run ----- //\n\nfunction getAdSlots() {\n var advertSlots = document.getElementsByClassName('ad-slot');\n var scrollLeft = document.scrollingElement ? document.scrollingElement.scrollLeft : document.body.scrollLeft;\n var scrollTop = document.scrollingElement ? document.scrollingElement.scrollTop : document.body.scrollTop;\n return Array.from(advertSlots).map(adSlot => {\n var slotPosition = adSlot.getBoundingClientRect();\n return new mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__[\"AdSlot\"]({\n x: slotPosition.left + scrollLeft,\n y: slotPosition.top + scrollTop,\n width: slotPosition.width,\n height: slotPosition.height\n });\n });\n}\n\nfunction insertAds() {\n var adSlots = getAdSlots();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].insertAdverts(adSlots);\n var targetNode = document.querySelector('body');\n var config = {\n attributes: true,\n childList: true,\n subtree: true\n };\n\n var callback = function callback() {\n var currentAdSlots = getAdSlots();\n\n if (JSON.stringify(adSlots) !== JSON.stringify(currentAdSlots)) {\n // TODO: add this to mobile-apps-thrift and implement client side\n // nativeClient.updateAdverts(currentAdSlots);\n adSlots = currentAdSlots;\n }\n };\n\n var observer = new MutationObserver(callback);\n observer.observe(targetNode, config);\n}\n\nfunction ads() {\n insertAds();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isPremiumUser().then(premiumUser => {\n if (!premiumUser) {\n Array.from(document.querySelectorAll('.ad-placeholder')).map(placeholder => placeholder.classList.remove('hidden'));\n insertAds();\n }\n });\n}\n\nfunction topicClick(e) {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var statusText = (_b = status) === null || _b === void 0 ? void 0 : _b.textContent;\n var id = (_c = follow) === null || _c === void 0 ? void 0 : _c.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n\n if (statusText && statusText === 'Follow') {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].follow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Following\";\n }\n });\n } else {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].unfollow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Follow\";\n }\n });\n }\n}\n\nfunction topics() {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var id = (_b = follow) === null || _b === void 0 ? void 0 : _b.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n (_c = follow) === null || _c === void 0 ? void 0 : _c.addEventListener('click', topicClick);\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isFollowing(topic).then(following => {\n var _a;\n\n if (following && ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent)) {\n status.textContent = \"Following\";\n }\n });\n}\n\nfunction launchSlideshow(src) {\n var images = Array.from(document.querySelectorAll('.js-launch-slideshow'));\n var imagesWithCaptions = images.flatMap(image => {\n var _a, _b;\n\n var url = image.getAttribute('src');\n var caption = (_a = image.getAttribute('caption'), _a !== null && _a !== void 0 ? _a : undefined);\n var credit = (_b = image.getAttribute('credit'), _b !== null && _b !== void 0 ? _b : undefined);\n return url ? new mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__[\"Image\"]({\n url,\n caption,\n credit\n }) : [];\n });\n var clickedImageIndex = images.findIndex(image => image.getAttribute('src') === src);\n\n if (imagesWithCaptions.length && clickedImageIndex >= 0) {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].launchSlideshow(imagesWithCaptions, clickedImageIndex);\n }\n}\n\nfunction slideshow() {\n var images = document.querySelectorAll('.js-launch-slideshow');\n Array.from(images).forEach(image => image.addEventListener('click', e => {\n launchSlideshow(image.getAttribute('src'));\n }));\n}\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\nads();\ntopics();\nslideshow();\n\n//# sourceURL=webpack:///./src/client/article.ts?"); - -/***/ }), - -/***/ "./src/client/setup.ts": -/*!*****************************!*\ - !*** ./src/client/setup.ts ***! - \*****************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); - -/***/ }), - -/***/ "./src/native/nativeApi.ts": -/*!*********************************!*\ - !*** ./src/native/nativeApi.ts ***! - \*********************************/ -/*! exports provided: nativeClient */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nativeClient\", function() { return nativeClient; });\n/* harmony import */ var _thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./thrift/NativeConnection */ \"./src/native/thrift/NativeConnection.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Native */ \"./node_modules/mobile-apps-thrift-typescript/Native.ts\");\n\n\nvar nativeClient = Object(_thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__[\"createAppClient\"])(mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__[\"Client\"], 'buffered', 'compact');\n\n\n//# sourceURL=webpack:///./src/native/nativeApi.ts?"); - -/***/ }), - -/***/ "./src/native/thrift/NativeConnection.ts": -/*!***********************************************!*\ - !*** ./src/native/thrift/NativeConnection.ts ***! - \***********************************************/ -/*! exports provided: NativeConnection, createAppClient */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeConnection\", function() { return NativeConnection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAppClient\", function() { return createAppClient; });\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.to-string */ \"./node_modules/core-js/modules/es6.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! uuid */ \"./node_modules/uuid/index.js\");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar ACTION_TIMEOUT_MS = 30000;\n\nfunction sendNativeMessage(nativeMessage) {\n var _a, _b, _c, _d;\n\n if (window.AndroidWebViewMessage) {\n window.AndroidWebViewMessage(nativeMessage);\n } else if ((_d = (_c = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.webkit) === null || _b === void 0 ? void 0 : _b.messageHandlers) === null || _c === void 0 ? void 0 : _c.iOSWebViewMessage) === null || _d === void 0 ? void 0 : _d.postMessage) {\n window.webkit.messageHandlers.iOSWebViewMessage.postMessage(nativeMessage);\n } else {\n console.warn('No native APIs available');\n }\n}\n\nclass NativeConnection extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"ThriftConnection\"] {\n constructor(Transport, Protocol) {\n super(Transport, Protocol);\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n this.promises = [];\n this.outBuffer = [];\n window.nativeConnections = window.nativeConnections || {};\n window.nativeConnections[this.connectionId] = this;\n }\n\n reset(oldConnectionId) {\n if (oldConnectionId === this.connectionId) {\n console.warn(\"Reseting connection \" + oldConnectionId);\n delete window.nativeConnections[this.connectionId];\n this.promises.forEach(promise => {\n promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationExceptionType\"].UNKNOWN, \"Timeout error\"));\n });\n this.promises = [];\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n window.nativeConnections[this.connectionId] = this;\n }\n }\n\n receive(message) {\n var resolver = this.promises.shift();\n\n if (resolver) {\n clearTimeout(resolver.timeoutId);\n var data = Buffer.from(message.data, 'base64');\n resolver.resolve(data);\n }\n\n this.sendNextMessage();\n }\n\n sendNextMessage() {\n var message = this.outBuffer.shift();\n\n if (message) {\n console.log(\"Sending next message\");\n sendNativeMessage(message);\n }\n }\n\n send(dataToSend, context) {\n var id = this.connectionId; // eslint-disable-next-line @typescript-eslint/no-this-alias\n\n var connection = this;\n return new Promise(function (res, rej) {\n connection.promises.push({\n resolve: res,\n reject: rej,\n timeoutId: setTimeout(function () {\n connection.reset(id);\n }, ACTION_TIMEOUT_MS)\n });\n var message = {\n data: dataToSend.toString(\"base64\"),\n connectionId: id\n };\n\n if (connection.promises.length === 1) {\n console.log(\"Sending message immediately\");\n sendNativeMessage(message);\n } else {\n console.log(\"Queing message because others in flight\");\n connection.outBuffer.push(message);\n }\n });\n }\n\n}\nfunction createAppClient(ServiceClient) {\n var transport = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'buffered';\n var protocol = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'compact';\n return new ServiceClient(new NativeConnection(Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getTransport\"])(transport), Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getProtocol\"])(protocol)));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./src/native/thrift/NativeConnection.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/dist/assets/liveblog.js b/dist/assets/liveblog.js deleted file mode 100644 index c2eaaea19..000000000 --- a/dist/assets/liveblog.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/client/liveblog.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/client/liveblog.ts": -/*!********************************!*\ - !*** ./src/client/liveblog.ts ***! - \********************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n// ----- Imports ----- //\n // ----- Run ----- //\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n\n//# sourceURL=webpack:///./src/client/liveblog.ts?"); - -/***/ }), - -/***/ "./src/client/setup.ts": -/*!*****************************!*\ - !*** ./src/client/setup.ts ***! - \*****************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/package.json b/package.json index d86706029..004a4b3d7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build:client": "webpack --config webpack.config.js --config-name client", "storybook": "start-storybook -s ./", "deploy-storybook": "storybook-to-ghpages && ./.storybook/pushFonts.sh", - "bundlesize": "bundlesize --config config/bundlesize.json" + "bundlesize": "npm run build:client && bundlesize --config config/bundlesize.json" }, "author": "", "license": "ISC", From e733b6baf762586fac883ac4fc8628ce5c8207f1 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:01:15 +0000 Subject: [PATCH 03/16] test with ci variables --- .github/workflows/nodejs.yml | 7 +++++++ .gitignore | 5 ++++- package.json | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 237cf68d0..31a205be4 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -30,3 +30,10 @@ jobs: run: npm run test:run - name: bundlesize run: npm run bundlesize + env: + CI_REPO_OWNER: guardian + CI_REPO_NAME: apps-rendering + CI_COMMIT_MESSAGE: message + CI_COMMIT_SHA: guardian + CI_REPO_OWNER: ${{ GITHUB_SHA }} + CI: true diff --git a/.gitignore b/.gitignore index dbf1464e2..7a69ebee5 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,7 @@ node_modules .DS_Store # Built files -dist/* \ No newline at end of file +dist/* + +# used to track client bundle sizes +!dist/assets/ \ No newline at end of file diff --git a/package.json b/package.json index 004a4b3d7..d86706029 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build:client": "webpack --config webpack.config.js --config-name client", "storybook": "start-storybook -s ./", "deploy-storybook": "storybook-to-ghpages && ./.storybook/pushFonts.sh", - "bundlesize": "npm run build:client && bundlesize --config config/bundlesize.json" + "bundlesize": "bundlesize --config config/bundlesize.json" }, "author": "", "license": "ISC", From 1d6a24d04c00956182a18793f34513400bb416ee Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:04:23 +0000 Subject: [PATCH 04/16] test with ci variables --- .github/workflows/nodejs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 31a205be4..f86f66fba 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -34,6 +34,5 @@ jobs: CI_REPO_OWNER: guardian CI_REPO_NAME: apps-rendering CI_COMMIT_MESSAGE: message - CI_COMMIT_SHA: guardian - CI_REPO_OWNER: ${{ GITHUB_SHA }} + CI_COMMIT_SHA: ${{ GITHUB_SHA }} CI: true From fe4b52394cd505d2359ca94a17510d119f5de342 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:07:30 +0000 Subject: [PATCH 05/16] test with ci variables --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f86f66fba..138cf1b12 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -34,5 +34,5 @@ jobs: CI_REPO_OWNER: guardian CI_REPO_NAME: apps-rendering CI_COMMIT_MESSAGE: message - CI_COMMIT_SHA: ${{ GITHUB_SHA }} + CI_COMMIT_SHA: $GITHUB_SHA CI: true From 9523e74f001bf96317da9ad8c1e78a99792fd540 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:12:20 +0000 Subject: [PATCH 06/16] push build files --- dist/assets/article.js | 2134 +++++++++++++++++++++++++++++++++++++++ dist/assets/liveblog.js | 113 +++ 2 files changed, 2247 insertions(+) create mode 100644 dist/assets/article.js create mode 100644 dist/assets/liveblog.js diff --git a/dist/assets/article.js b/dist/assets/article.js new file mode 100644 index 000000000..18bf2f3aa --- /dev/null +++ b/dist/assets/article.js @@ -0,0 +1,2134 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/client/article.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW2_24 = Math.pow(2, 24);\nconst POW2_31 = Math.pow(2, 31);\nconst POW2_32 = Math.pow(2, 32);\nconst POW10_11 = Math.pow(10, 11);\nconst VAL32 = 0x100000000;\nconst _HEX = [];\nfor (let i = 0; i < 256; i++) {\n _HEX[i] = (i > 0xf ? '' : '0') + i.toString(16);\n}\nclass Int64 {\n constructor(...args) {\n if (args[0] instanceof Buffer) {\n this.buffer = args[0];\n this.offset = args[1] || 0;\n }\n else if (Object.prototype.toString.call(args[0]) === '[object Uint8Array]') {\n this.buffer = Buffer.from(args[0]);\n this.offset = args[1] || 0;\n }\n else {\n this.buffer = Buffer.alloc(8);\n this.offset = 0;\n this.setValue(args[0], args[1]);\n }\n }\n static toDecimalString(i64) {\n if (typeof i64 === 'number') {\n return `${i64}`;\n }\n else {\n return i64.toDecimalString();\n }\n }\n static fromDecimalString(text) {\n const negative = text.charAt(0) === '-';\n if (text.length < (negative ? 17 : 16)) {\n return new Int64(+text);\n }\n else if (text.length > (negative ? 20 : 19)) {\n throw new RangeError(`Too many digits for Int64: ${text}`);\n }\n else {\n const high5 = +text.slice(negative ? 1 : 0, -15);\n let low = +text.slice(-15) + high5 * 2764472320;\n let high = Math.floor(low / POW2_32) + high5 * 232830;\n low = low % POW2_32;\n if (high >= POW2_31 &&\n !(negative && high === POW2_31 && low === 0)) {\n throw new RangeError('The magnitude is too large for Int64.');\n }\n if (negative) {\n high = ~high;\n if (low === 0) {\n high = (high + 1) & 0xffffffff;\n }\n else {\n low = ~low + 1;\n }\n high = 0x80000000 | high;\n }\n return new Int64(high, low);\n }\n }\n setValue(hi, lo) {\n let negate = false;\n if (lo === undefined) {\n if (typeof hi === 'number') {\n negate = hi < 0;\n hi = Math.abs(hi);\n lo = hi % VAL32;\n hi = hi / VAL32;\n if (hi > VAL32) {\n throw new RangeError(hi + ' is outside Int64 range');\n }\n else {\n hi = hi | 0;\n }\n }\n else if (typeof hi === 'string') {\n hi = (hi + '').replace(/^0x/, '');\n lo = hi.substr(-8);\n hi = hi.length > 8 ? hi.substr(0, hi.length - 8) : '';\n hi = parseInt(hi, 16);\n lo = parseInt(lo, 16);\n }\n else {\n throw new Error(hi + ' must be a Number or String');\n }\n }\n const b = this.buffer;\n const o = this.offset;\n for (let i = 7; i >= 0; i--) {\n b[o + i] = lo & 0xff;\n lo = i === 4 ? hi : lo >>> 8;\n }\n if (negate) {\n this._2scomp();\n }\n }\n toDecimalString() {\n const i64 = this;\n let b = i64.buffer;\n const o = i64.offset;\n if ((!b[o] && !(b[o + 1] & 0xe0)) || (!~b[o] && !~(b[o + 1] & 0xe0))) {\n return i64.toString();\n }\n else {\n const negative = b[o] & 0x80;\n if (negative) {\n let incremented = 0;\n const buffer = Buffer.alloc(8);\n for (let i = 7; i >= 0; --i) {\n buffer[i] = (~b[o + i] + (incremented ? 0 : 1)) & 0xff;\n incremented = incremented | b[o + i];\n }\n b = buffer;\n }\n const high2 = b[o + 1] + (b[o] << 8);\n const low = b[o + 7] +\n (b[o + 6] << 8) +\n (b[o + 5] << 16) +\n b[o + 4] * POW2_24 +\n (b[o + 3] + (b[o + 2] << 8)) * POW2_32 +\n high2 * 74976710656;\n const high = Math.floor(low / POW10_11) + high2 * 2814;\n const lowStr = ('00000000000' + String(low % POW10_11)).slice(-11);\n return (negative ? '-' : '') + String(high) + lowStr;\n }\n }\n toNumber(allowImprecise = true) {\n const buf = this.buffer;\n const off = this.offset;\n const negate = buf[off] & 0x80;\n let x = 0;\n let carry = 1;\n for (let i = 7, m = 1; i >= 0; i--, m *= 256) {\n let v = buf[off + i];\n if (negate) {\n v = (v ^ 0xff) + carry;\n carry = v >> 8;\n v = v & 0xff;\n }\n x += v * m;\n }\n if (!allowImprecise && x >= Int64.MAX_INT) {\n return negate ? -Infinity : Infinity;\n }\n return negate ? -x : x;\n }\n valueOf() {\n return this.toNumber(false);\n }\n toString(radix = 10) {\n return this.valueOf().toString(radix);\n }\n toOctetString(sep) {\n const out = new Array(8);\n const buf = this.buffer;\n const off = this.offset;\n for (let i = 0; i < 8; i++) {\n out[i] = _HEX[buf[off + i]];\n }\n return out.join(sep || '');\n }\n toBuffer(rawBuffer) {\n if (rawBuffer && this.offset === 0) {\n return this.buffer;\n }\n else {\n const out = Buffer.alloc(8);\n this.buffer.copy(out, 0, this.offset, this.offset + 8);\n return out;\n }\n }\n copy(targetBuffer, targetOffset = 0) {\n this.buffer.copy(targetBuffer, targetOffset, this.offset, this.offset + 8);\n }\n compare(other) {\n if ((this.buffer[this.offset] & 0x80) !==\n (other.buffer[other.offset] & 0x80)) {\n return other.buffer[other.offset] - this.buffer[this.offset];\n }\n for (let i = 0; i < 8; i++) {\n if (this.buffer[this.offset + i] !== other.buffer[other.offset + i]) {\n return (this.buffer[this.offset + i] -\n other.buffer[other.offset + i]);\n }\n }\n return 0;\n }\n equals(other) {\n return this.compare(other) === 0;\n }\n inspect() {\n return ('[Int64 value:' + this + ' octets:' + this.toOctetString(' ') + ']');\n }\n _2scomp() {\n const buf = this.buffer;\n const off = this.offset;\n let carry = 1;\n for (let i = off + 7; i >= off; i--) {\n const v = (buf[i] ^ 0xff) + carry;\n buf[i] = v & 0xff;\n carry = v >> 8;\n }\n }\n}\nInt64.MAX_INT = Math.pow(2, 53);\nInt64.MIN_INT = -Math.pow(2, 53);\nexports.Int64 = Int64;\n//# sourceMappingURL=Int64.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW_8 = Math.pow(2, 8);\nconst POW_16 = Math.pow(2, 16);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nfunction readByte(byte) {\n return byte > 127 ? byte - 256 : byte;\n}\nexports.readByte = readByte;\nfunction readI16(bytes, offset = 0) {\n offset = offset || 0;\n let v = bytes[offset + 1];\n v += bytes[offset] << 8;\n if (bytes[offset] & 128) {\n v -= POW_16;\n }\n return v;\n}\nexports.readI16 = readI16;\nfunction readI32(bytes, offset = 0) {\n let result = bytes[offset + 3];\n result += bytes[offset + 2] << 8;\n result += bytes[offset + 1] << 16;\n result += bytes[offset] * POW_24;\n if (bytes[offset] & 0x80) {\n result -= POW_32;\n }\n return result;\n}\nexports.readI32 = readI32;\nfunction readDouble(bytes, offset = 0) {\n const signed = bytes[offset] & 0x80;\n let e = (bytes[offset + 1] & 0xf0) >> 4;\n e += (bytes[offset] & 0x7f) << 4;\n let m = bytes[offset + 7];\n m += bytes[offset + 6] << 8;\n m += bytes[offset + 5] << 16;\n m += bytes[offset + 4] * POW_24;\n m += bytes[offset + 3] * POW_32;\n m += bytes[offset + 2] * POW_40;\n m += (bytes[offset + 1] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n}\nexports.readDouble = readDouble;\nfunction writeI16(bytes, i16) {\n bytes[1] = i16 & 0xff;\n i16 = i16 >> 8;\n bytes[0] = i16 & 0xff;\n return bytes;\n}\nexports.writeI16 = writeI16;\nfunction writeI32(bytes, i32) {\n bytes[3] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[2] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[1] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[0] = i32 & 0xff;\n return bytes;\n}\nexports.writeI32 = writeI32;\nfunction writeDouble(bytes, dub) {\n let m;\n let e;\n let c;\n bytes[0] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c = c * 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e = e + 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n bytes[1] = (e << 4) & 0xf0;\n bytes[0] |= (e >> 4) & 0x7f;\n bytes[7] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[6] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[5] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[4] = m & 0xff;\n m = m >> 8;\n bytes[3] = m & 0xff;\n m = m >> 8;\n bytes[2] = m & 0xff;\n m = m >> 8;\n bytes[1] |= m & 0x0f;\n return bytes;\n}\nexports.writeDouble = writeDouble;\n//# sourceMappingURL=binary.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js": +/*!***************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js ***! + \***************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass InputBufferUnderrunError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InputBufferUnderrunError';\n }\n}\nexports.InputBufferUnderrunError = InputBufferUnderrunError;\n//# sourceMappingURL=InputBufferUnderrunError.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nvar TApplicationExceptionType;\n(function (TApplicationExceptionType) {\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN_METHOD\"] = 1] = \"UNKNOWN_METHOD\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_MESSAGE_TYPE\"] = 2] = \"INVALID_MESSAGE_TYPE\";\n TApplicationExceptionType[TApplicationExceptionType[\"WRONG_METHOD_NAME\"] = 3] = \"WRONG_METHOD_NAME\";\n TApplicationExceptionType[TApplicationExceptionType[\"BAD_SEQUENCE_ID\"] = 4] = \"BAD_SEQUENCE_ID\";\n TApplicationExceptionType[TApplicationExceptionType[\"MISSING_RESULT\"] = 5] = \"MISSING_RESULT\";\n TApplicationExceptionType[TApplicationExceptionType[\"INTERNAL_ERROR\"] = 6] = \"INTERNAL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"PROTOCOL_ERROR\"] = 7] = \"PROTOCOL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_TRANSFORM\"] = 8] = \"INVALID_TRANSFORM\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_PROTOCOL\"] = 9] = \"INVALID_PROTOCOL\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNSUPPORTED_CLIENT_TYPE\"] = 10] = \"UNSUPPORTED_CLIENT_TYPE\";\n})(TApplicationExceptionType = exports.TApplicationExceptionType || (exports.TApplicationExceptionType = {}));\nclass TApplicationException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TApplicationException';\n this.type = type;\n this.message = message;\n }\n}\nexports.TApplicationException = TApplicationException;\nexports.TApplicationExceptionCodec = {\n encode(obj, output) {\n output.writeStructBegin('TApplicationException');\n if (obj.message) {\n output.writeFieldBegin('message', types_1.TType.STRING, 1);\n output.writeString(obj.message);\n output.writeFieldEnd();\n }\n if (obj.type) {\n output.writeFieldBegin('type', types_1.TType.I32, 2);\n output.writeI32(obj.type);\n output.writeFieldEnd();\n }\n output.writeFieldStop();\n output.writeStructEnd();\n },\n decode(input) {\n input.readStructBegin();\n const args = {};\n while (true) {\n const ret = input.readFieldBegin();\n if (ret.fieldType === types_1.TType.STOP) {\n break;\n }\n switch (ret.fieldId) {\n case 1:\n if (ret.fieldType === types_1.TType.STRING) {\n args.message = input.readString();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n case 2:\n if (ret.fieldType === types_1.TType.I32) {\n args.type = input.readI32();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n default:\n input.skip(ret.fieldType);\n break;\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return new TApplicationException(args.type, args.message);\n },\n};\n//# sourceMappingURL=TApplicationException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TProtocolExceptionType;\n(function (TProtocolExceptionType) {\n TProtocolExceptionType[TProtocolExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TProtocolExceptionType[TProtocolExceptionType[\"INVALID_DATA\"] = 1] = \"INVALID_DATA\";\n TProtocolExceptionType[TProtocolExceptionType[\"NEGATIVE_SIZE\"] = 2] = \"NEGATIVE_SIZE\";\n TProtocolExceptionType[TProtocolExceptionType[\"SIZE_LIMIT\"] = 3] = \"SIZE_LIMIT\";\n TProtocolExceptionType[TProtocolExceptionType[\"BAD_VERSION\"] = 4] = \"BAD_VERSION\";\n TProtocolExceptionType[TProtocolExceptionType[\"NOT_IMPLEMENTED\"] = 5] = \"NOT_IMPLEMENTED\";\n TProtocolExceptionType[TProtocolExceptionType[\"DEPTH_LIMIT\"] = 6] = \"DEPTH_LIMIT\";\n})(TProtocolExceptionType = exports.TProtocolExceptionType || (exports.TProtocolExceptionType = {}));\nclass TProtocolException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TProtocolException';\n this.type = type;\n }\n}\nexports.TProtocolException = TProtocolException;\n//# sourceMappingURL=TProtocolException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js": +/*!********************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js ***! + \********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./InputBufferUnderrunError */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js\"));\n__export(__webpack_require__(/*! ./TApplicationException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js\"));\n__export(__webpack_require__(/*! ./TProtocolException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/index.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/index.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\n__export(__webpack_require__(/*! ./types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\"));\n__export(__webpack_require__(/*! ./protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\"));\n__export(__webpack_require__(/*! ./transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\"));\n__export(__webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\"));\n__export(__webpack_require__(/*! ./utils */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js\"));\n__export(__webpack_require__(/*! ./binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\"));\nvar logger_1 = __webpack_require__(/*! ./logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nexports.makeLogger = logger_1.makeLogger;\nfunction process(args) {\n const transportWithData = args.Transport.receiver(args.buffer);\n const input = new args.Protocol(transportWithData);\n return new Promise((resolve, reject) => {\n const output = new args.Protocol(new args.Transport());\n args.processor.process(input, output, args.context).then((result) => {\n resolve(result);\n transportWithData.commitPosition();\n }, (err) => {\n if (err instanceof errors_1.InputBufferUnderrunError) {\n transportWithData.rollbackPosition();\n }\n reject(err);\n });\n });\n}\nexports.process = process;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(process) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.makeLogger = (name) => {\n return (tags, data) => {\n const allTags = Array.from(new Set([name, ...tags]));\n if (allTags.indexOf('error') > -1) {\n if (data !== undefined) {\n console.error(`[${allTags.join(',')}] `, data);\n }\n else {\n console.error(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('warn') > -1) {\n if (data !== undefined) {\n console.warn(`[${allTags.join(',')}] `, data);\n }\n else {\n console.warn(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('info') > -1) {\n if (data !== undefined) {\n console.info(`[${allTags.join(',')}] `, data);\n }\n else {\n console.info(`[${allTags.join(',')}]`);\n }\n }\n else {\n if (data !== undefined && process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}] `, data);\n }\n else if (process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}]`);\n }\n }\n };\n};\nexports.defaultLogger = exports.makeLogger('thrift-server-core');\n//# sourceMappingURL=logger.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js ***! + \*****************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Int64_1 = __webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\");\nclass JsonParser {\n constructor(source) {\n this.at = 0;\n this.ch = '';\n this.escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n };\n this.text = '';\n this.text = source;\n this.at = 0;\n this.ch = ' ';\n }\n parse() {\n const result = this.value();\n this.white();\n if (this.getCh()) {\n throw new SyntaxError('Syntax error');\n }\n return result;\n }\n array() {\n const array = [];\n if (this.getCh() === '[') {\n this.next('[');\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n while (this.getCh()) {\n array.push(this.value());\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad array');\n }\n object() {\n let key = '';\n const object = {};\n if (this.getCh() === '{') {\n this.next('{');\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n while (this.getCh()) {\n key = this.string();\n this.white();\n this.next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n throw new SyntaxError('Duplicate key \"' + key + '\"');\n }\n object[key] = this.value();\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad object');\n }\n value() {\n this.white();\n switch (this.getCh()) {\n case '{':\n return this.object();\n case '[':\n return this.array();\n case '\"':\n return this.string();\n case '-':\n return this.number();\n default:\n return this.isNumber() ? this.number() : this.word();\n }\n }\n isNumber() {\n const char = this.getCh();\n if (char >= '0' && char <= '9') {\n return true;\n }\n if (char !== '.') {\n return false;\n }\n const nextChar = this.peekNext();\n if (!nextChar) {\n return false;\n }\n return nextChar >= '0' && nextChar <= '9';\n }\n peekNext() {\n return this.text.charAt(this.at);\n }\n next(c) {\n if (c && c !== this.getCh()) {\n throw new SyntaxError(\"Expected '\" + c + \"' instead of '\" + this.getCh() + \"'\");\n }\n this.ch = this.text.charAt(this.at);\n this.at += 1;\n return this.ch;\n }\n getCh() {\n return this.ch;\n }\n number() {\n let number = 0;\n let string = '';\n if (this.getCh() === '-') {\n string = '-';\n this.next('-');\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n if (this.getCh() === '.') {\n string += '.';\n while (this.next() && this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n }\n }\n if (this.getCh() === 'e' || this.getCh() === 'E') {\n string += this.getCh();\n this.next();\n if (this.getCh() === '-' || this.getCh() === '+') {\n string += this.getCh();\n this.next();\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n throw new SyntaxError('Bad number');\n }\n else if (number >= Int64_1.Int64.MAX_INT || number <= Int64_1.Int64.MIN_INT) {\n return string;\n }\n else {\n return number;\n }\n }\n string() {\n let hex = 0;\n let i = 0;\n let string = '';\n let uffff = 0;\n if (this.getCh() === '\"') {\n while (this.next()) {\n if (this.getCh() === '\"') {\n this.next();\n return string;\n }\n if (this.getCh() === '\\\\') {\n this.next();\n if (this.getCh() === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(this.next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n }\n else if (typeof this.escapee[this.getCh()] === 'string') {\n string += this.escapee[this.getCh()];\n }\n else {\n break;\n }\n }\n else {\n string += this.getCh();\n }\n }\n }\n throw new SyntaxError('Bad string');\n }\n white() {\n while (this.getCh() && this.getCh() <= ' ') {\n this.next();\n }\n }\n word() {\n switch (this.getCh()) {\n case 't':\n this.next('t');\n this.next('r');\n this.next('u');\n this.next('e');\n return true;\n case 'f':\n this.next('f');\n this.next('a');\n this.next('l');\n this.next('s');\n this.next('e');\n return false;\n case 'n':\n this.next('n');\n this.next('u');\n this.next('l');\n this.next('l');\n return null;\n }\n throw new SyntaxError(\"Unexpected '\" + this.getCh() + \"'\");\n }\n}\nfunction parseJson(source) {\n return new JsonParser(source).parse();\n}\nexports.parseJson = parseJson;\n//# sourceMappingURL=parseJson.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst VERSION_MASK = -65536;\nconst VERSION_1 = -2147418112;\nconst TYPE_MASK = 0x000000ff;\nclass BinaryProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n }\n writeMessageBegin(name, type, requestId) {\n this.writeI32(VERSION_1 | type);\n this.writeString(name);\n this.writeI32(requestId);\n if (this.requestId) {\n this.logger(['warn', 'BinaryProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'BinaryProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) { }\n writeStructEnd() { }\n writeFieldBegin(name, type, id) {\n this.writeByte(type);\n this.writeI16(id);\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(types_1.TType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n this.writeByte(keyType);\n this.writeByte(valueType);\n this.writeI32(size);\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (bool) {\n this.writeByte(1);\n }\n else {\n this.writeByte(0);\n }\n }\n writeByte(byte) {\n const value = Number(byte);\n if (!isNaN(value)) {\n this.transport.write(Buffer.from([value]));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof byte}`);\n }\n }\n writeI16(i16) {\n const value = Number(i16);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI16(Buffer.alloc(2), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i16}`);\n }\n }\n writeI32(i32) {\n const value = Number(i32);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI32(Buffer.alloc(4), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i32}`);\n }\n }\n writeI64(i64) {\n if (typeof i64 === 'number') {\n this.transport.write(new types_1.Int64(i64).buffer);\n }\n else if (typeof i64 === 'string') {\n this.transport.write(types_1.Int64.fromDecimalString(i64).buffer);\n }\n else if (i64 instanceof types_1.Int64) {\n this.transport.write(i64.buffer);\n }\n else {\n throw new TypeError(`Expected Int64 or number but found type ${typeof i64}`);\n }\n }\n writeDouble(dub) {\n const value = Number(dub);\n if (!isNaN(value)) {\n this.transport.write(binary.writeDouble(Buffer.alloc(8), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof dub}`);\n }\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeI32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer) {\n this.writeI32(data.length);\n this.transport.write(data);\n }\n else {\n throw new TypeError(`Argument of type ${typeof data} should be buffer or string`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const size = this.readI32();\n if (size < 0) {\n const version = size & VERSION_MASK;\n if (version !== VERSION_1) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad version in readMessageBegin: ${size}`);\n }\n return {\n fieldName: this.readString(),\n messageType: size & TYPE_MASK,\n requestId: this.readI32(),\n };\n }\n else {\n return {\n fieldName: this.transport.readString(size),\n messageType: this.readByte(),\n requestId: this.readI32(),\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n return { fieldName: '' };\n }\n readStructEnd() { }\n readFieldBegin() {\n const type = this.readByte();\n if (type === types_1.TType.STOP) {\n return { fieldName: '', fieldType: type, fieldId: 0 };\n }\n else {\n const id = this.readI16();\n return { fieldName: '', fieldType: type, fieldId: id };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const keyType = this.readByte();\n const valueType = this.readByte();\n const size = this.readI32();\n return { keyType, valueType, size };\n }\n readMapEnd() { }\n readListBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readListEnd() { }\n readSetBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readSetEnd() { }\n readBool() {\n const byte = this.readByte();\n return byte !== 0;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.transport.readI16();\n }\n readI32() {\n return this.transport.readI32();\n }\n readI64() {\n const buff = this.transport.read(8);\n return new types_1.Int64(buff);\n }\n readDouble() {\n return this.transport.readDouble();\n }\n readBinary() {\n const len = this.readI32();\n if (len === 0) {\n return Buffer.alloc(0);\n }\n else if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative binary size');\n }\n else {\n return this.transport.read(len);\n }\n }\n readString() {\n const len = this.readI32();\n if (len === 0) {\n return '';\n }\n if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative string size');\n }\n return this.transport.readString(len);\n }\n getTransport() {\n return this.transport;\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n}\nexports.BinaryProtocol = BinaryProtocol;\n//# sourceMappingURL=BinaryProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js": +/*!*********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js ***! + \*********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst POW_8 = Math.pow(2, 8);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nconst PROTOCOL_ID = -126;\nconst VERSION_N = 1;\nconst VERSION_MASK = 0x1f;\nconst TYPE_MASK = -32;\nconst TYPE_BITS = 7;\nconst TYPE_SHIFT_AMOUNT = 5;\nvar CompactType;\n(function (CompactType) {\n CompactType[CompactType[\"STOP\"] = 0] = \"STOP\";\n CompactType[CompactType[\"BOOLEAN_TRUE\"] = 1] = \"BOOLEAN_TRUE\";\n CompactType[CompactType[\"BOOLEAN_FALSE\"] = 2] = \"BOOLEAN_FALSE\";\n CompactType[CompactType[\"BYTE\"] = 3] = \"BYTE\";\n CompactType[CompactType[\"I16\"] = 4] = \"I16\";\n CompactType[CompactType[\"I32\"] = 5] = \"I32\";\n CompactType[CompactType[\"I64\"] = 6] = \"I64\";\n CompactType[CompactType[\"DOUBLE\"] = 7] = \"DOUBLE\";\n CompactType[CompactType[\"BINARY\"] = 8] = \"BINARY\";\n CompactType[CompactType[\"LIST\"] = 9] = \"LIST\";\n CompactType[CompactType[\"SET\"] = 10] = \"SET\";\n CompactType[CompactType[\"MAP\"] = 11] = \"MAP\";\n CompactType[CompactType[\"STRUCT\"] = 12] = \"STRUCT\";\n})(CompactType = exports.CompactType || (exports.CompactType = {}));\nconst TTypeToCType = [\n CompactType.STOP,\n 0,\n CompactType.BOOLEAN_TRUE,\n CompactType.BYTE,\n CompactType.DOUBLE,\n 0,\n CompactType.I16,\n 0,\n CompactType.I32,\n 0,\n CompactType.I64,\n CompactType.BINARY,\n CompactType.STRUCT,\n CompactType.MAP,\n CompactType.SET,\n CompactType.LIST,\n];\nclass CompactProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n this.getTType = function (type) {\n switch (type) {\n case CompactType.STOP:\n return types_1.TType.STOP;\n case CompactType.BOOLEAN_FALSE:\n case CompactType.BOOLEAN_TRUE:\n return types_1.TType.BOOL;\n case CompactType.BYTE:\n return types_1.TType.BYTE;\n case CompactType.I16:\n return types_1.TType.I16;\n case CompactType.I32:\n return types_1.TType.I32;\n case CompactType.I64:\n return types_1.TType.I64;\n case CompactType.DOUBLE:\n return types_1.TType.DOUBLE;\n case CompactType.BINARY:\n return types_1.TType.STRING;\n case CompactType.LIST:\n return types_1.TType.LIST;\n case CompactType.SET:\n return types_1.TType.SET;\n case CompactType.MAP:\n return types_1.TType.MAP;\n case CompactType.STRUCT:\n return types_1.TType.STRUCT;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Unknown type: ${type}`);\n }\n };\n this._lastField = [];\n this._lastFieldId = 0;\n this._booleanField = {\n name: null,\n hasBoolValue: false,\n };\n this._boolValue = {\n hasBoolValue: false,\n boolValue: false,\n };\n }\n getCompactType(ttype) {\n return TTypeToCType[ttype];\n }\n writeMessageBegin(name, type, requestId) {\n this.writeByte(PROTOCOL_ID);\n this.writeByte((VERSION_N & VERSION_MASK) |\n ((type << TYPE_SHIFT_AMOUNT) & TYPE_MASK));\n this.writeVarint32(requestId);\n this.writeString(name);\n if (this.requestId) {\n this.logger(['warn', 'CompactProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'CompactProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n }\n writeStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n writeFieldBegin(name, type, id) {\n if (type !== types_1.TType.BOOL) {\n return this.writeFieldBeginInternal(name, type, id, -1);\n }\n else {\n this._booleanField.name = name;\n this._booleanField.fieldType = type;\n this._booleanField.fieldId = id;\n }\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(CompactType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n if (size === 0) {\n this.writeByte(0);\n }\n else {\n this.writeVarint32(size);\n this.writeByte((this.getCompactType(keyType) << 4) |\n this.getCompactType(valueType));\n }\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (this._booleanField.name !== null) {\n this.writeFieldBeginInternal(this._booleanField.name, this._booleanField.fieldType, this._booleanField.fieldId, bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n this._booleanField.name = null;\n }\n else {\n this.writeByte(bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n }\n }\n writeByte(byte) {\n this.transport.write(Buffer.from([byte]));\n }\n writeI16(i16) {\n this.writeVarint32(this.i32ToZigzag(i16));\n }\n writeI32(i32) {\n this.writeVarint32(this.i32ToZigzag(i32));\n }\n writeI64(i64) {\n this.writeVarint64(this.i64ToZigzag(i64));\n }\n writeDouble(dub) {\n const buff = Buffer.alloc(8);\n let m;\n let e;\n let c;\n buff[7] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c *= 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e += 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n buff[6] = (e << 4) & 0xf0;\n buff[7] |= (e >> 4) & 0x7f;\n buff[0] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[1] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[2] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[3] = m & 0xff;\n m >>= 8;\n buff[4] = m & 0xff;\n m >>= 8;\n buff[5] = m & 0xff;\n m >>= 8;\n buff[6] |= m & 0x0f;\n this.transport.write(buff);\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeVarint32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer ||\n Object.prototype.toString.call(data) === '[object Buffer]') {\n this.writeVarint32(data.length);\n this.transport.write(data);\n }\n else {\n throw new Error(`${name} called without a string/Buffer argument: ${data}`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const protocolId = this.transport.readByte();\n if (protocolId !== PROTOCOL_ID) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol identifier ${protocolId}`);\n }\n else {\n const versionAndType = this.transport.readByte();\n const version = versionAndType & VERSION_MASK;\n if (version !== VERSION_N) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol version ${version}`);\n }\n const messageType = (versionAndType >> TYPE_SHIFT_AMOUNT) & TYPE_BITS;\n const requestId = this.readVarint32();\n const fieldName = this.readString();\n return {\n fieldName,\n messageType,\n requestId,\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n return { fieldName: '' };\n }\n readStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n readFieldBegin() {\n let fieldId = 0;\n const byte = this.transport.readByte();\n const type = byte & 0x0f;\n if (type === CompactType.STOP) {\n return {\n fieldName: '',\n fieldType: types_1.TType.STOP,\n fieldId,\n };\n }\n else {\n const modifier = (byte & 0x000000f0) >>> 4;\n if (modifier === 0) {\n fieldId = this.readI16();\n }\n else {\n fieldId = this._lastFieldId + modifier;\n }\n const fieldType = this.getTType(type);\n if (type === CompactType.BOOLEAN_TRUE ||\n type === CompactType.BOOLEAN_FALSE) {\n this._boolValue.hasBoolValue = true;\n this._boolValue.boolValue =\n type === CompactType.BOOLEAN_TRUE ? true : false;\n }\n this._lastFieldId = fieldId;\n return {\n fieldName: '',\n fieldType,\n fieldId,\n };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const size = this.readVarint32();\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative map size`);\n }\n else {\n let kvType = 0;\n if (size !== 0) {\n kvType = this.transport.readByte();\n }\n const keyType = this.getTType((kvType & 0xf0) >>> 4);\n const valueType = this.getTType(kvType & 0xf);\n return { keyType, valueType, size };\n }\n }\n readMapEnd() { }\n readListBegin() {\n const sizeType = this.transport.readByte();\n let size = (sizeType >>> 4) & 0x0000000f;\n if (size === 15) {\n size = this.readVarint32();\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative list size`);\n }\n else {\n const elementType = this.getTType(sizeType & 0x0000000f);\n return { elementType, size };\n }\n }\n readListEnd() { }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() { }\n readBool() {\n let value = false;\n if (this._boolValue.hasBoolValue === true) {\n value = this._boolValue.boolValue;\n this._boolValue.hasBoolValue = false;\n }\n else {\n const res = this.transport.readByte();\n value = res === CompactType.BOOLEAN_TRUE;\n }\n return value;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return this.zigzagToI32(this.readVarint32());\n }\n readI64() {\n return this.zigzagToI64(this.readVarint64());\n }\n readDouble() {\n const buff = this.transport.read(8);\n const off = 0;\n const signed = buff[off + 7] & 0x80;\n let e = (buff[off + 6] & 0xf0) >> 4;\n e += (buff[off + 7] & 0x7f) << 4;\n let m = buff[off];\n m += buff[off + 1] << 8;\n m += buff[off + 2] << 16;\n m += buff[off + 3] * POW_24;\n m += buff[off + 4] * POW_32;\n m += buff[off + 5] * POW_40;\n m += (buff[off + 6] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n }\n readBinary() {\n const size = this.readVarint32();\n if (size === 0) {\n return Buffer.alloc(0);\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative binary size`);\n }\n else {\n return this.transport.read(size);\n }\n }\n readString() {\n const size = this.readVarint32();\n if (size === 0) {\n return '';\n }\n else {\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative string size`);\n }\n return this.transport.readString(size);\n }\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n flush() {\n return this.transport.flush();\n }\n zigzagToI32(i32) {\n return (i32 >>> 1) ^ (-1 * (i32 & 1));\n }\n zigzagToI64(i64) {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const neg = new types_1.Int64(hi & 0, lo & 1);\n neg._2scomp();\n const hiNeg = neg.buffer.readUInt32BE(0, true);\n const loNeg = neg.buffer.readUInt32BE(4, true);\n const hiLo = hi << 31;\n hi = (hi >>> 1) ^ hiNeg;\n lo = ((lo >>> 1) | hiLo) ^ loNeg;\n return new types_1.Int64(hi, lo);\n }\n readVarint32() {\n return this.readVarint64().toNumber();\n }\n readVarint64() {\n let rsize = 0;\n let lo = 0;\n let hi = 0;\n let shift = 0;\n while (true) {\n const b = this.transport.readByte();\n rsize++;\n if (shift <= 25) {\n lo = lo | ((b & 0x7f) << shift);\n }\n else if (25 < shift && shift < 32) {\n lo = lo | ((b & 0x7f) << shift);\n hi = hi | ((b & 0x7f) >>> (32 - shift));\n }\n else {\n hi = hi | ((b & 0x7f) << (shift - 32));\n }\n shift += 7;\n if (!(b & 0x80)) {\n break;\n }\n if (rsize >= 10) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Variable-length int over 10 bytes.`);\n }\n }\n return new types_1.Int64(hi, lo);\n }\n writeFieldBeginInternal(name, fieldType, fieldId, typeOverride) {\n const typeToWrite = typeOverride === -1 ? this.getCompactType(fieldType) : typeOverride;\n if (fieldId > this._lastFieldId && fieldId - this._lastFieldId <= 15) {\n this.writeByte(((fieldId - this._lastFieldId) << 4) | typeToWrite);\n }\n else {\n this.writeByte(typeToWrite);\n this.writeI16(fieldId);\n }\n this._lastFieldId = fieldId;\n }\n writeCollectionBegin(elementType, size) {\n if (size <= 14) {\n this.writeByte((size << 4) | this.getCompactType(elementType));\n }\n else {\n this.writeByte(0xf0 | this.getCompactType(elementType));\n this.writeVarint32(size);\n }\n }\n writeVarint32(i32) {\n const buf = Buffer.alloc(5);\n let wsize = 0;\n while (true) {\n if ((i32 & ~0x7f) === 0) {\n buf[wsize++] = i32;\n break;\n }\n else {\n buf[wsize++] = (i32 & 0x7f) | 0x80;\n i32 = i32 >>> 7;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n writeVarint64(i64) {\n if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n const buf = Buffer.alloc(10);\n let wsize = 0;\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n let mask = 0;\n while (true) {\n if ((lo & ~0x7f) === 0 && hi === 0) {\n buf[wsize++] = lo;\n break;\n }\n else {\n buf[wsize++] = (lo & 0x7f) | 0x80;\n mask = hi << 25;\n lo = lo >>> 7;\n hi = hi >>> 7;\n lo = lo | mask;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n }\n i64ToZigzag(i64) {\n if (typeof i64 === 'string') {\n i64 = new types_1.Int64(parseInt(i64, 10));\n }\n else if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const sign = hi >>> 31;\n hi = ((hi << 1) | (lo >>> 31)) ^ (!!sign ? 0xffffffff : 0);\n lo = (lo << 1) ^ (!!sign ? 0xffffffff : 0);\n return new types_1.Int64(hi, lo);\n }\n }\n i32ToZigzag(i32) {\n return (i32 << 1) ^ (i32 & 0x80000000 ? 0xffffffff : 0);\n }\n}\nexports.CompactProtocol = CompactProtocol;\n//# sourceMappingURL=CompactProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst parseJson_1 = __webpack_require__(/*! ../parseJson */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nclass JSONProtocol extends TProtocol_1.TProtocol {\n constructor(trans) {\n super(trans);\n this.tstack = [];\n this.tpos = [];\n this.rstack = [];\n this.rpos = [];\n this.tstack = [];\n this.tpos = [];\n }\n writeMessageBegin(name, type, id) {\n this.tstack = [];\n this.tpos = [];\n this.tstack.push([JSONProtocol.version, `\"${name}\"`, type, id]);\n }\n writeMessageEnd() {\n const obj = this.tstack.pop();\n const wobj = this.tstack.pop();\n wobj.push(obj);\n const wbuf = `[${wobj.join(',')}]`;\n this.transport.write(Buffer.from(wbuf));\n }\n writeStructBegin(name) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({});\n }\n writeStructEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n const struct = this.tstack[p];\n let str = '{';\n let first = true;\n for (const key of Object.keys(struct)) {\n if (first) {\n first = false;\n }\n else {\n str += ',';\n }\n str += `${key}:${struct[key]}`;\n }\n str += '}';\n this.tstack[p] = str;\n }\n writeFieldBegin(name, type, id) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({\n fieldId: `\"${id}\"`,\n fieldType: this.getTypeName(type),\n });\n }\n writeFieldEnd() {\n const value = this.tstack.pop();\n const fieldInfo = this.tstack.pop();\n this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = `{${fieldInfo.fieldType}:${value}}`;\n this.tpos.pop();\n }\n writeFieldStop() { }\n writeMapBegin(keyType, valType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([\n this.getTypeName(keyType),\n this.getTypeName(valType),\n 0,\n ]);\n }\n writeMapEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n if (p === this.tstack.length) {\n return;\n }\n if ((this.tstack.length - p - 1) % 2 !== 0) {\n this.tstack.push('');\n }\n const size = (this.tstack.length - p - 1) / 2;\n this.tstack[p][this.tstack[p].length - 1] = size;\n let map = '}';\n let first = true;\n while (this.tstack.length > p + 1) {\n const v = this.tstack.pop();\n let k = this.tstack.pop();\n if (first) {\n first = false;\n }\n else {\n map = `,${map}`;\n }\n if (!isNaN(k)) {\n k = `\"${k}\"`;\n }\n map = `${k}:${v}${map}`;\n }\n map = `{${map}`;\n this.tstack[p].push(map);\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeListBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeListEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeSetBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeSetEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeBool(value) {\n this.tstack.push(value ? 1 : 0);\n }\n writeByte(i8) {\n this.tstack.push(i8);\n }\n writeI16(i16) {\n this.tstack.push(i16);\n }\n writeI32(i32) {\n this.tstack.push(i32);\n }\n writeI64(i64) {\n if (i64 instanceof types_1.Int64) {\n this.tstack.push(i64.toDecimalString());\n }\n else {\n this.tstack.push(i64);\n }\n }\n writeDouble(dbl) {\n this.tstack.push(dbl);\n }\n writeString(str) {\n if (str === null) {\n this.tstack.push(null);\n }\n else {\n let escapedString = '';\n for (let i = 0; i < str.length; i++) {\n const ch = str.charAt(i);\n if (ch === '\"') {\n escapedString += '\\\\\"';\n }\n else if (ch === '\\\\') {\n escapedString += '\\\\\\\\';\n }\n else if (ch === '\\b') {\n escapedString += '\\\\b';\n }\n else if (ch === '\\f') {\n escapedString += '\\\\f';\n }\n else if (ch === '\\n') {\n escapedString += '\\\\n';\n }\n else if (ch === '\\r') {\n escapedString += '\\\\r';\n }\n else if (ch === '\\t') {\n escapedString += '\\\\t';\n }\n else {\n escapedString += ch;\n }\n }\n this.tstack.push(`\"${escapedString}\"`);\n }\n }\n writeBinary(binary) {\n let str = '';\n if (typeof binary === 'string') {\n str = binary;\n }\n else if (binary instanceof Buffer) {\n const arr = binary;\n for (const i of arr) {\n str += String.fromCharCode(arr[i]);\n }\n }\n else {\n throw new TypeError('writeBinary only accepts String or Buffer.');\n }\n this.tstack.push(`\"${Buffer.from(str).toString('base64')}\"`);\n }\n readMessageBegin() {\n this.rstack = [];\n this.rpos = [];\n const robj = parseJson_1.parseJson(this.transport.readAll());\n const version = robj.shift();\n if (version !== JSONProtocol.version) {\n throw new Error(`Wrong thrift protocol version: ${version}`);\n }\n const r = {\n fieldName: robj.shift(),\n messageType: robj.shift(),\n requestId: robj.shift(),\n };\n this.rstack.push(robj.shift());\n return r;\n }\n readMessageEnd() { }\n readStructBegin() {\n const r = {\n fieldName: '',\n };\n if (this.rstack[this.rstack.length - 1] instanceof Array) {\n this.rstack.push(this.rstack[this.rstack.length - 1].shift());\n }\n return r;\n }\n readStructEnd() {\n if (this.rstack[this.rstack.length - 2] instanceof Array) {\n this.rstack.pop();\n }\n }\n readFieldBegin() {\n let fid = -1;\n let ftype = types_1.TType.STOP;\n for (const f in this.rstack[this.rstack.length - 1]) {\n if (f === null) {\n continue;\n }\n fid = parseInt(f, 10);\n this.rpos.push(this.rstack.length);\n const field = this.rstack[this.rstack.length - 1][fid];\n delete this.rstack[this.rstack.length - 1][fid];\n this.rstack.push(field);\n break;\n }\n if (fid !== -1) {\n for (const i in this.rstack[this.rstack.length - 1]) {\n if (JSONProtocol.rType[i] === null) {\n continue;\n }\n ftype = JSONProtocol.rType[i];\n this.rstack[this.rstack.length - 1] = this.rstack[this.rstack.length - 1][i];\n }\n }\n return {\n fieldId: fid,\n fieldName: '',\n fieldType: ftype,\n };\n }\n readFieldEnd() {\n const pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n while (this.rstack.length > pos) {\n this.rstack.pop();\n }\n }\n readMapBegin() {\n let map = this.rstack.pop();\n let first = map.shift();\n if (first instanceof Array) {\n this.rstack.push(map);\n map = first;\n first = map.shift();\n }\n const r = {\n keyType: JSONProtocol.rType[first],\n valueType: JSONProtocol.rType[map.shift()],\n size: map.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(map.shift());\n return r;\n }\n readMapEnd() {\n this.readFieldEnd();\n }\n readListBegin() {\n const list = this.rstack[this.rstack.length - 1];\n const r = {\n elementType: JSONProtocol.rType[list.shift()],\n size: list.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(list.shift());\n return r;\n }\n readListEnd() {\n let pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n pos = pos - 2;\n const st = this.rstack;\n st.pop();\n if (st instanceof Array && st.length > pos && st[pos].length > 0) {\n st.push(st[pos].shift());\n }\n }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() {\n return this.readListEnd();\n }\n readBool() {\n const r = this.readValue();\n if (r === null) {\n return false;\n }\n else if (r === '1' || r === 1) {\n return true;\n }\n else {\n return false;\n }\n }\n readByte() {\n return this.readI32();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return parseInt(this.readValue(), 10);\n }\n readI64() {\n return types_1.Int64.fromDecimalString(`${this.readValue()}`);\n }\n readDouble() {\n return parseFloat(this.readValue());\n }\n readBinary() {\n return Buffer.alloc(this.readValue(), 'base64');\n }\n readString() {\n return this.readValue();\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return null;\n case types_1.TType.BOOL:\n return this.readBool();\n case types_1.TType.BYTE:\n return this.readByte();\n case types_1.TType.I16:\n return this.readI16();\n case types_1.TType.I32:\n return this.readI32();\n case types_1.TType.I64:\n return this.readI64();\n case types_1.TType.DOUBLE:\n return this.readDouble();\n case types_1.TType.STRING:\n return this.readString();\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const struct = this.readFieldBegin();\n if (struct.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(struct.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n return null;\n case types_1.TType.MAP:\n const map = this.readMapBegin();\n for (let i = 0; i < map.size; i++) {\n if (i > 0) {\n if (this.rstack.length >\n this.rpos[this.rpos.length - 1] + 1) {\n this.rstack.pop();\n }\n }\n this.skip(map.keyType);\n this.skip(map.keyType);\n }\n this.readMapEnd();\n return null;\n case types_1.TType.SET:\n const set = this.readSetBegin();\n for (let i = 0; i < set.size; i++) {\n this.skip(set.elementType);\n }\n this.readSetEnd();\n return null;\n case types_1.TType.LIST:\n const list = this.readListBegin();\n for (let i = 0; i < list.size; i++) {\n this.skip(list.elementType);\n }\n this.readListEnd();\n return null;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA);\n }\n }\n readValue() {\n const f = this.rstack[this.rstack.length - 1];\n if (f instanceof Array) {\n if (f.length === 0) {\n return undefined;\n }\n else {\n return f.shift();\n }\n }\n else if (f instanceof Object) {\n for (const i in f) {\n if (i === null) {\n continue;\n }\n this.rstack.push(f[i]);\n delete f[i];\n return i;\n break;\n }\n }\n else {\n this.rstack.pop();\n return f;\n }\n }\n getTypeName(type) {\n switch (type) {\n case types_1.TType.BOOL:\n return '\"tf\"';\n case types_1.TType.BYTE:\n return '\"i8\"';\n case types_1.TType.I16:\n return '\"i16\"';\n case types_1.TType.I32:\n return '\"i32\"';\n case types_1.TType.I64:\n return '\"i64\"';\n case types_1.TType.DOUBLE:\n return '\"dbl\"';\n case types_1.TType.STRUCT:\n return '\"rec\"';\n case types_1.TType.STRING:\n return '\"str\"';\n case types_1.TType.MAP:\n return '\"map\"';\n case types_1.TType.LIST:\n return '\"lst\"';\n case types_1.TType.SET:\n return '\"set\"';\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NOT_IMPLEMENTED, `Unrecognized type ${type}`);\n }\n }\n}\nJSONProtocol.version = 1;\nJSONProtocol.rType = {\n tf: types_1.TType.BOOL,\n i8: types_1.TType.BYTE,\n i16: types_1.TType.I16,\n i32: types_1.TType.I32,\n i64: types_1.TType.I64,\n dbl: types_1.TType.DOUBLE,\n rec: types_1.TType.STRUCT,\n str: types_1.TType.STRING,\n map: types_1.TType.MAP,\n lst: types_1.TType.LIST,\n set: types_1.TType.SET,\n};\nexports.JSONProtocol = JSONProtocol;\n//# sourceMappingURL=JSONProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nclass TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n this.transport = trans;\n this.logger = logger;\n this.requestId = null;\n }\n getTransport() {\n return this.transport;\n }\n flush() {\n return this.transport.flush();\n }\n}\nexports.TProtocol = TProtocol;\n//# sourceMappingURL=TProtocol.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js": +/*!***********************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js ***! + \***********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BinaryProtocol_1 = __webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\");\nconst CompactProtocol_1 = __webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\");\nconst JSONProtocol_1 = __webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\");\n__export(__webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\"));\n__export(__webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\"));\n__export(__webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\"));\n__export(__webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\"));\nconst protocols = {\n binary: BinaryProtocol_1.BinaryProtocol,\n compact: CompactProtocol_1.CompactProtocol,\n json: JSONProtocol_1.JSONProtocol,\n};\nexports.supportedProtocols = Object.keys(protocols);\nfunction isProtocolSupported(protocol) {\n return exports.supportedProtocols.indexOf(protocol) !== -1;\n}\nexports.isProtocolSupported = isProtocolSupported;\nfunction getProtocol(protocol = 'binary') {\n if (protocol && !isProtocolSupported(protocol)) {\n throw new Error(`Invalid protocol specified. Supported values: ${exports.supportedProtocols.join(', ')}`);\n }\n return protocols[protocol];\n}\nexports.getProtocol = getProtocol;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js": +/*!************************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js ***! + \************************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst TTransport_1 = __webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\");\nconst DEFAULT_READ_BUFFER_SIDE = 1024;\nclass BufferedTransport extends TTransport_1.TTransport {\n static receiver(data) {\n const reader = new BufferedTransport(Buffer.alloc(data.length));\n data.copy(reader.buffer, 0, 0);\n return reader;\n }\n constructor(buffer) {\n super(buffer || Buffer.alloc(DEFAULT_READ_BUFFER_SIDE));\n this.readCursor = 0;\n this.writeCursor = buffer !== undefined ? buffer.length : 0;\n this.outBuffers = [];\n this.outCount = 0;\n }\n remaining() {\n const remainingSize = this.writeCursor - this.readCursor;\n const remainingBuffer = Buffer.alloc(remainingSize);\n if (remainingSize > 0) {\n this.buffer.copy(remainingBuffer, 0, this.readCursor, this.writeCursor);\n }\n return remainingBuffer;\n }\n commitPosition() {\n const unreadSize = this.writeCursor - this.readCursor;\n const bufSize = unreadSize * 2 > DEFAULT_READ_BUFFER_SIDE\n ? unreadSize * 2\n : DEFAULT_READ_BUFFER_SIDE;\n const buf = Buffer.alloc(bufSize);\n if (unreadSize > 0) {\n this.buffer.copy(buf, 0, this.readCursor, this.writeCursor);\n }\n this.readCursor = 0;\n this.writeCursor = unreadSize;\n this.buffer = buf;\n }\n rollbackPosition() {\n this.readCursor = 0;\n }\n isOpen() {\n return true;\n }\n open() {\n return true;\n }\n close() {\n return true;\n }\n read(len) {\n this.ensureAvailable(len);\n const buf = Buffer.alloc(len);\n this.buffer.copy(buf, 0, this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return buf;\n }\n readByte() {\n this.ensureAvailable(1);\n return binary.readByte(this.buffer[this.readCursor++]);\n }\n readI16() {\n this.ensureAvailable(2);\n const i16 = binary.readI16(this.buffer, this.readCursor);\n this.readCursor += 2;\n return i16;\n }\n readI32() {\n this.ensureAvailable(4);\n const i32 = binary.readI32(this.buffer, this.readCursor);\n this.readCursor += 4;\n return i32;\n }\n readDouble() {\n this.ensureAvailable(8);\n const d = binary.readDouble(this.buffer, this.readCursor);\n this.readCursor += 8;\n return d;\n }\n readString(len) {\n this.ensureAvailable(len);\n const str = this.buffer.toString('utf8', this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return str;\n }\n readAll() {\n return this.readString(this.buffer.length - this.readCursor);\n }\n consume(len) {\n this.readCursor += len;\n }\n write(buf) {\n if (buf instanceof Buffer) {\n this.outBuffers.push(buf);\n this.outCount += buf.length;\n }\n else {\n throw new TypeError(`Expected buffer but found type ${typeof buf}`);\n }\n }\n flush() {\n if (this.outCount < 1) {\n return Buffer.alloc(0);\n }\n const msg = Buffer.alloc(this.outCount);\n let pos = 0;\n this.outBuffers.forEach((buf) => {\n buf.copy(msg, pos, 0);\n pos += buf.length;\n });\n this.outBuffers = [];\n this.outCount = 0;\n return msg;\n }\n ensureAvailable(len) {\n if (this.readCursor + len > this.buffer.length) {\n throw new errors_1.InputBufferUnderrunError();\n }\n }\n}\nexports.BufferedTransport = BufferedTransport;\n//# sourceMappingURL=BufferedTransport.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js": +/*!*****************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js ***! + \*****************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass TTransport {\n static receiver(data) {\n throw new Error('Not implemented');\n }\n constructor(buffer) {\n this.buffer = buffer;\n this.requestId = null;\n }\n}\nexports.TTransport = TTransport;\n//# sourceMappingURL=TTransport.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js": +/*!***********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js ***! + \***********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst MAX_PACKETS = 10;\nclass ThriftFrameCodec {\n encode(dateToSend) {\n const msg = Buffer.alloc(dateToSend.length + 4);\n binary.writeI32(msg, dateToSend.length);\n dateToSend.copy(msg, 4, 0, dateToSend.length);\n return msg;\n }\n decode(dataToRead) {\n const dataToReturn = Buffer.alloc(dataToRead.length - 4);\n let writeCursor = 0;\n let count = 0;\n while (dataToRead.length > 0) {\n if (dataToRead.length < 4) {\n return Buffer.alloc(0);\n }\n else {\n const frameSize = binary.readI32(dataToRead, 0);\n if (dataToRead.length < 4 + frameSize) {\n return Buffer.alloc(0);\n }\n const frame = dataToRead.slice(4, 4 + frameSize);\n const remaining = dataToRead.slice(4 + frameSize);\n frame.copy(dataToReturn, 0, writeCursor);\n writeCursor += frame.length;\n dataToRead = remaining;\n count++;\n if (count >= MAX_PACKETS) {\n dataToRead = Buffer.alloc(0);\n }\n }\n }\n return dataToReturn;\n }\n}\nexports.ThriftFrameCodec = ThriftFrameCodec;\n//# sourceMappingURL=ThriftFrameCodec.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js": +/*!************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js ***! + \************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BufferedTransport_1 = __webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\");\n__export(__webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\"));\n__export(__webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\"));\n__export(__webpack_require__(/*! ./ThriftFrameCodec */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js\"));\nconst transports = {\n buffered: BufferedTransport_1.BufferedTransport,\n};\nexports.supportedTransports = Object.keys(transports);\nfunction isTransportSupported(transport) {\n return exports.supportedTransports.indexOf(transport) !== -1;\n}\nexports.isTransportSupported = isTransportSupported;\nfunction getTransport(transport = 'buffered') {\n if (!isTransportSupported(transport)) {\n throw new Error(`Invalid transport specified. Supported values: ${exports.supportedTransports.join(', ')}`);\n }\n return transports[transport];\n}\nexports.getTransport = getTransport;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/types.js": +/*!*************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/types.js ***! + \*************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\"));\nclass ThriftConnection {\n constructor(Transport, Protocol) {\n this.Transport = Transport;\n this.Protocol = Protocol;\n }\n}\nexports.ThriftConnection = ThriftConnection;\nclass StructLike {\n constructor() {\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n}\nexports.StructLike = StructLike;\nclass ThriftClient {\n constructor(connection) {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n this._requestId = 0;\n this.transport = connection.Transport;\n this.protocol = connection.Protocol;\n this.connection = connection;\n }\n incrementRequestId() {\n return (this._requestId += 1);\n }\n}\nThriftClient.serviceName = undefined;\nThriftClient.annotations = {};\nThriftClient.methodAnnotations = {};\nThriftClient.methodNames = [];\nexports.ThriftClient = ThriftClient;\nclass ThriftProcessor {\n constructor() {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n }\n}\nThriftProcessor.serviceName = undefined;\nThriftProcessor.annotations = {};\nThriftProcessor.methodAnnotations = {};\nThriftProcessor.methodNames = [];\nexports.ThriftProcessor = ThriftProcessor;\nvar TType;\n(function (TType) {\n TType[TType[\"STOP\"] = 0] = \"STOP\";\n TType[TType[\"VOID\"] = 1] = \"VOID\";\n TType[TType[\"BOOL\"] = 2] = \"BOOL\";\n TType[TType[\"BYTE\"] = 3] = \"BYTE\";\n TType[TType[\"I08\"] = 3] = \"I08\";\n TType[TType[\"DOUBLE\"] = 4] = \"DOUBLE\";\n TType[TType[\"I16\"] = 6] = \"I16\";\n TType[TType[\"I32\"] = 8] = \"I32\";\n TType[TType[\"I64\"] = 10] = \"I64\";\n TType[TType[\"STRING\"] = 11] = \"STRING\";\n TType[TType[\"UTF7\"] = 11] = \"UTF7\";\n TType[TType[\"STRUCT\"] = 12] = \"STRUCT\";\n TType[TType[\"MAP\"] = 13] = \"MAP\";\n TType[TType[\"SET\"] = 14] = \"SET\";\n TType[TType[\"LIST\"] = 15] = \"LIST\";\n TType[TType[\"ENUM\"] = 16] = \"ENUM\";\n TType[TType[\"UTF8\"] = 16] = \"UTF8\";\n TType[TType[\"UTF16\"] = 17] = \"UTF16\";\n})(TType = exports.TType || (exports.TType = {}));\nvar MessageType;\n(function (MessageType) {\n MessageType[MessageType[\"CALL\"] = 1] = \"CALL\";\n MessageType[MessageType[\"REPLY\"] = 2] = \"REPLY\";\n MessageType[MessageType[\"EXCEPTION\"] = 3] = \"EXCEPTION\";\n MessageType[MessageType[\"ONEWAY\"] = 4] = \"ONEWAY\";\n})(MessageType = exports.MessageType || (exports.MessageType = {}));\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/types.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction encode(thriftObject, ThriftCodec, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol) {\n return new Promise((resolve, reject) => {\n const transport = new Transport();\n const protocol = new Protocol(transport);\n ThriftCodec.encode(thriftObject, protocol);\n const data = protocol.flush();\n resolve(data);\n });\n}\nexports.encode = encode;\nfunction appendThriftObject(value, data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n return encode(value, ThriftCodec, Transport, Protocol).then((encoded) => {\n return Buffer.concat([encoded, data]);\n });\n}\nexports.appendThriftObject = appendThriftObject;\n//# sourceMappingURL=appendThriftObject.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js ***! + \*******************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst merge = __webpack_require__(/*! lodash/merge */ \"./node_modules/lodash/merge.js\");\nconst url = __webpack_require__(/*! url */ \"./node_modules/node-libs-browser/node_modules/url/url.js\");\n__export(__webpack_require__(/*! ./appendThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftMetadata */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js\"));\n__export(__webpack_require__(/*! ./normalizePath */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js\"));\nfunction deepMerge(base, update) {\n return merge({}, base, update);\n}\nexports.deepMerge = deepMerge;\nfunction overlayObjects(...objs) {\n return objs.reduce((acc, next) => {\n return deepMerge(acc, next);\n }, {});\n}\nexports.overlayObjects = overlayObjects;\nfunction formatUrl(requestUrl) {\n const parsed = url.parse(url.format(requestUrl));\n if (!parsed.pathname) {\n return `${parsed.hostname || ''}/`;\n }\n else {\n return `${parsed.hostname || ''}${parsed.pathname}`;\n }\n}\nexports.formatUrl = formatUrl;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js": +/*!***************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js ***! + \***************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.normalizePath = (path = '/') => {\n path = path.trim();\n if (path === '/' || path === '') {\n return '';\n }\n if (!path.startsWith('/')) {\n path = `/${path}`;\n }\n if (path.endsWith('/')) {\n path = path.substring(0, path.length - 1);\n }\n return path;\n};\n//# sourceMappingURL=normalizePath.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js": +/*!********************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js ***! + \********************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftMetadata(buffer, Transport, Protocol, logger) {\n try {\n const transportWithData = new Transport(buffer);\n const input = new Protocol(transportWithData);\n return input.readMessageBegin();\n }\n catch (err) {\n logger(['warn', 'readThriftMetadata'], `Unable to read Thrift message. ${err.message}`);\n throw err;\n }\n}\nexports.readThriftMetadata = readThriftMetadata;\nfunction readThriftMethod(buffer, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol, logger = logger_1.defaultLogger) {\n try {\n const { fieldName } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return fieldName;\n }\n catch (err) {\n logger(['warn', 'readThrfitMethod'], `Unable to read Thrift method name. ${err.message}`);\n return '';\n }\n}\nexports.readThriftMethod = readThriftMethod;\nfunction readRequestId(buffer, Transport, Protocol, logger = logger_1.defaultLogger) {\n try {\n const { requestId } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return requestId;\n }\n catch (err) {\n logger(['warn', 'readRequestId'], `Unable to read Thrift requestId. ${err.message}`);\n return 0;\n }\n}\nexports.readRequestId = readRequestId;\n//# sourceMappingURL=readThriftMetadata.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js?"); + +/***/ }), + +/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js": +/*!******************************************************************************************!*\ + !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js ***! + \******************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftObject(data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n return new Promise((resolve, reject) => {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n const decoded = ThriftCodec.decode(input);\n resolve([decoded, receiver.remaining()]);\n });\n}\nexports.readThriftObject = readThriftObject;\nfunction stripStruct(data, transportType = 'buffered', protocolType = 'binary') {\n try {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n input.readStructBegin();\n while (true) {\n const ret = input.readFieldBegin();\n const fieldType = ret.fieldType;\n if (fieldType === types_1.TType.STOP) {\n break;\n }\n else {\n input.skip(fieldType);\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return receiver.remaining();\n }\n catch (err) {\n return data;\n }\n}\nexports.stripStruct = stripStruct;\n//# sourceMappingURL=readThriftObject.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js?"); + +/***/ }), + +/***/ "./node_modules/base64-js/index.js": +/*!*****************************************!*\ + !*** ./node_modules/base64-js/index.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./node_modules/base64-js/index.js?"); + +/***/ }), + +/***/ "./node_modules/buffer/index.js": +/*!**************************************!*\ + !*** ./node_modules/buffer/index.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/buffer/index.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_a-function.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_a-function.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_a-function.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_add-to-unscopables.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_an-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_an-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_an-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_array-species-constructor.js": +/*!********************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! + \********************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-constructor.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_array-species-create.js": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_array-species-create.js ***! + \***************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ \"./node_modules/core-js/modules/_array-species-constructor.js\");\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-create.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_cof.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_cof.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_cof.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_core.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_core.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_core.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_ctx.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_ctx.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ctx.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_defined.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_defined.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_defined.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_descriptors.js": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_descriptors.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_descriptors.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_dom-create.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_dom-create.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_dom-create.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_export.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_export.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_export.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_fails.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_fails.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_fails.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_flags.js": +/*!************************************************!*\ + !*** ./node_modules/core-js/modules/_flags.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flags.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_flatten-into-array.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flatten-into-array.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_function-to-string.js": +/*!*************************************************************!*\ + !*** ./node_modules/core-js/modules/_function-to-string.js ***! + \*************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('native-function-to-string', Function.toString);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_function-to-string.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_global.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_global.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_global.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_has.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_has.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_has.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_hide.js": +/*!***********************************************!*\ + !*** ./node_modules/core-js/modules/_hide.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_hide.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": +/*!*********************************************************!*\ + !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! + \*********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("module.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ie8-dom-define.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_is-array.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_is-array.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-array.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_is-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_is-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_library.js": +/*!**************************************************!*\ + !*** ./node_modules/core-js/modules/_library.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = false;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_library.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_object-dp.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dp.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/modules/_ie8-dom-define.js\");\nvar toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/modules/_to-primitive.js\");\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_object-dp.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_property-desc.js": +/*!********************************************************!*\ + !*** ./node_modules/core-js/modules/_property-desc.js ***! + \********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_property-desc.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_redefine.js": +/*!***************************************************!*\ + !*** ./node_modules/core-js/modules/_redefine.js ***! + \***************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar SRC = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\")('src');\nvar $toString = __webpack_require__(/*! ./_function-to-string */ \"./node_modules/core-js/modules/_function-to-string.js\");\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_redefine.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_shared.js": +/*!*************************************************!*\ + !*** ./node_modules/core-js/modules/_shared.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\") ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_shared.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-integer.js": +/*!*****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-integer.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-integer.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-length.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-length.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-length.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-object.js": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_to-object.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-object.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_to-primitive.js": +/*!*******************************************************!*\ + !*** ./node_modules/core-js/modules/_to-primitive.js ***! + \*******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-primitive.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_uid.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_uid.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_uid.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/_wks.js": +/*!**********************************************!*\ + !*** ./node_modules/core-js/modules/_wks.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('wks');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nvar Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_wks.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": +/*!**********************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! + \**********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("// 21.2.5.3 get RegExp.prototype.flags()\nif (__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\").f(RegExp.prototype, 'flags', {\n configurable: true,\n get: __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\")\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.flags.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": +/*!**************************************************************!*\ + !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! + \**************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n__webpack_require__(/*! ./es6.regexp.flags */ \"./node_modules/core-js/modules/es6.regexp.flags.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar $flags = __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\");\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\")(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js?"); + +/***/ }), + +/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": +/*!************************************************************!*\ + !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! + \************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ \"./node_modules/core-js/modules/_flatten-into-array.js\");\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/modules/_to-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ \"./node_modules/core-js/modules/_array-species-create.js\");\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\n__webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/modules/_add-to-unscopables.js\")('flatMap');\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es7.array.flat-map.js?"); + +/***/ }), + +/***/ "./node_modules/ieee754/index.js": +/*!***************************************!*\ + !*** ./node_modules/ieee754/index.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("exports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./node_modules/ieee754/index.js?"); + +/***/ }), + +/***/ "./node_modules/isarray/index.js": +/*!***************************************!*\ + !*** ./node_modules/isarray/index.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/isarray/index.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Hash.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/_Hash.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var hashClear = __webpack_require__(/*! ./_hashClear */ \"./node_modules/lodash/_hashClear.js\"),\n hashDelete = __webpack_require__(/*! ./_hashDelete */ \"./node_modules/lodash/_hashDelete.js\"),\n hashGet = __webpack_require__(/*! ./_hashGet */ \"./node_modules/lodash/_hashGet.js\"),\n hashHas = __webpack_require__(/*! ./_hashHas */ \"./node_modules/lodash/_hashHas.js\"),\n hashSet = __webpack_require__(/*! ./_hashSet */ \"./node_modules/lodash/_hashSet.js\");\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Hash.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_ListCache.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_ListCache.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ \"./node_modules/lodash/_listCacheClear.js\"),\n listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ \"./node_modules/lodash/_listCacheDelete.js\"),\n listCacheGet = __webpack_require__(/*! ./_listCacheGet */ \"./node_modules/lodash/_listCacheGet.js\"),\n listCacheHas = __webpack_require__(/*! ./_listCacheHas */ \"./node_modules/lodash/_listCacheHas.js\"),\n listCacheSet = __webpack_require__(/*! ./_listCacheSet */ \"./node_modules/lodash/_listCacheSet.js\");\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_ListCache.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Map.js": +/*!*************************************!*\ + !*** ./node_modules/lodash/_Map.js ***! + \*************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Map.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_MapCache.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_MapCache.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ \"./node_modules/lodash/_mapCacheClear.js\"),\n mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ \"./node_modules/lodash/_mapCacheDelete.js\"),\n mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ \"./node_modules/lodash/_mapCacheGet.js\"),\n mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ \"./node_modules/lodash/_mapCacheHas.js\"),\n mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ \"./node_modules/lodash/_mapCacheSet.js\");\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_MapCache.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Stack.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/_Stack.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n stackClear = __webpack_require__(/*! ./_stackClear */ \"./node_modules/lodash/_stackClear.js\"),\n stackDelete = __webpack_require__(/*! ./_stackDelete */ \"./node_modules/lodash/_stackDelete.js\"),\n stackGet = __webpack_require__(/*! ./_stackGet */ \"./node_modules/lodash/_stackGet.js\"),\n stackHas = __webpack_require__(/*! ./_stackHas */ \"./node_modules/lodash/_stackHas.js\"),\n stackSet = __webpack_require__(/*! ./_stackSet */ \"./node_modules/lodash/_stackSet.js\");\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Stack.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Symbol.js": +/*!****************************************!*\ + !*** ./node_modules/lodash/_Symbol.js ***! + \****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Symbol.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_Uint8Array.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_Uint8Array.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Uint8Array.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_apply.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/_apply.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_apply.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_arrayLikeKeys.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_arrayLikeKeys.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseTimes = __webpack_require__(/*! ./_baseTimes */ \"./node_modules/lodash/_baseTimes.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_arrayLikeKeys.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assignMergeValue.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_assignMergeValue.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignMergeValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assignValue.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_assignValue.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_assocIndexOf.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_assocIndexOf.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assocIndexOf.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseAssignValue.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseAssignValue.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\");\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseAssignValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseCreate.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseCreate.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseCreate.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseFor.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_baseFor.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ \"./node_modules/lodash/_createBaseFor.js\");\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseFor.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseGetTag.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseGetTag.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\"),\n getRawTag = __webpack_require__(/*! ./_getRawTag */ \"./node_modules/lodash/_getRawTag.js\"),\n objectToString = __webpack_require__(/*! ./_objectToString */ \"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseGetTag.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsArguments.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseIsArguments.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsArguments.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsNative.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_baseIsNative.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isMasked = __webpack_require__(/*! ./_isMasked */ \"./node_modules/lodash/_isMasked.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n toSource = __webpack_require__(/*! ./_toSource */ \"./node_modules/lodash/_toSource.js\");\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsNative.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseIsTypedArray.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_baseIsTypedArray.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseKeysIn.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_baseKeysIn.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\"),\n nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ \"./node_modules/lodash/_nativeKeysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseKeysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseMerge.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseMerge.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Stack = __webpack_require__(/*! ./_Stack */ \"./node_modules/lodash/_Stack.js\"),\n assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n baseFor = __webpack_require__(/*! ./_baseFor */ \"./node_modules/lodash/_baseFor.js\"),\n baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ \"./node_modules/lodash/_baseMergeDeep.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\");\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMerge.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseMergeDeep.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_baseMergeDeep.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ \"./node_modules/lodash/_cloneBuffer.js\"),\n cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ \"./node_modules/lodash/_cloneTypedArray.js\"),\n copyArray = __webpack_require__(/*! ./_copyArray */ \"./node_modules/lodash/_copyArray.js\"),\n initCloneObject = __webpack_require__(/*! ./_initCloneObject */ \"./node_modules/lodash/_initCloneObject.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ \"./node_modules/lodash/isArrayLikeObject.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPlainObject = __webpack_require__(/*! ./isPlainObject */ \"./node_modules/lodash/isPlainObject.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\"),\n toPlainObject = __webpack_require__(/*! ./toPlainObject */ \"./node_modules/lodash/toPlainObject.js\");\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMergeDeep.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseRest.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_baseRest.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\"),\n overRest = __webpack_require__(/*! ./_overRest */ \"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(/*! ./_setToString */ \"./node_modules/lodash/_setToString.js\");\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseRest.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseSetToString.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseSetToString.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var constant = __webpack_require__(/*! ./constant */ \"./node_modules/lodash/constant.js\"),\n defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\"),\n identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\");\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseSetToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseTimes.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseTimes.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseTimes.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_baseUnary.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_baseUnary.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseUnary.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneArrayBuffer.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/_cloneArrayBuffer.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ \"./node_modules/lodash/_Uint8Array.js\");\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneArrayBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneBuffer.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_cloneBuffer.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_cloneTypedArray.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_cloneTypedArray.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ \"./node_modules/lodash/_cloneArrayBuffer.js\");\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_copyArray.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_copyArray.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_copyObject.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_copyObject.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assignValue = __webpack_require__(/*! ./_assignValue */ \"./node_modules/lodash/_assignValue.js\"),\n baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\");\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_coreJsData.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_coreJsData.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_coreJsData.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_createAssigner.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_createAssigner.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseRest = __webpack_require__(/*! ./_baseRest */ \"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ \"./node_modules/lodash/_isIterateeCall.js\");\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createAssigner.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_createBaseFor.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_createBaseFor.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createBaseFor.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_defineProperty.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_defineProperty.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_defineProperty.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_freeGlobal.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_freeGlobal.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/lodash/_freeGlobal.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getMapData.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_getMapData.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isKeyable = __webpack_require__(/*! ./_isKeyable */ \"./node_modules/lodash/_isKeyable.js\");\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getMapData.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getNative.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_getNative.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ \"./node_modules/lodash/_baseIsNative.js\"),\n getValue = __webpack_require__(/*! ./_getValue */ \"./node_modules/lodash/_getValue.js\");\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getNative.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getPrototype.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_getPrototype.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var overArg = __webpack_require__(/*! ./_overArg */ \"./node_modules/lodash/_overArg.js\");\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getPrototype.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getRawTag.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_getRawTag.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getRawTag.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_getValue.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_getValue.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getValue.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashClear.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_hashClear.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashDelete.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_hashDelete.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashGet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashGet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashHas.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashHas.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_hashSet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_hashSet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_initCloneObject.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_initCloneObject.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseCreate = __webpack_require__(/*! ./_baseCreate */ \"./node_modules/lodash/_baseCreate.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\");\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_initCloneObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isIndex.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_isIndex.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIndex.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isIterateeCall.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_isIterateeCall.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIterateeCall.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isKeyable.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_isKeyable.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isKeyable.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isMasked.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_isMasked.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var coreJsData = __webpack_require__(/*! ./_coreJsData */ \"./node_modules/lodash/_coreJsData.js\");\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isMasked.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_isPrototype.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_isPrototype.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isPrototype.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheClear.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_listCacheClear.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheDelete.js": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_listCacheDelete.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheGet.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheGet.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheHas.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheHas.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_listCacheSet.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_listCacheSet.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheClear.js": +/*!***********************************************!*\ + !*** ./node_modules/lodash/_mapCacheClear.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var Hash = __webpack_require__(/*! ./_Hash */ \"./node_modules/lodash/_Hash.js\"),\n ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\");\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheDelete.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_mapCacheDelete.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheGet.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheGet.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheHas.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheHas.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_mapCacheSet.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_mapCacheSet.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nativeCreate.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_nativeCreate.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeCreate.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nativeKeysIn.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/_nativeKeysIn.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeKeysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_nodeUtil.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_nodeUtil.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_nodeUtil.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_objectToString.js": +/*!************************************************!*\ + !*** ./node_modules/lodash/_objectToString.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_objectToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_overArg.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_overArg.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overArg.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_overRest.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_overRest.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var apply = __webpack_require__(/*! ./_apply */ \"./node_modules/lodash/_apply.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overRest.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_root.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/_root.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_root.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_safeGet.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/_safeGet.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_safeGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_setToString.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_setToString.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ \"./node_modules/lodash/_baseSetToString.js\"),\n shortOut = __webpack_require__(/*! ./_shortOut */ \"./node_modules/lodash/_shortOut.js\");\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_setToString.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_shortOut.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_shortOut.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_shortOut.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackClear.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/_stackClear.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\");\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackClear.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackDelete.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/_stackDelete.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackDelete.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackGet.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackGet.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackGet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackHas.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackHas.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackHas.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_stackSet.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_stackSet.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\"),\n MapCache = __webpack_require__(/*! ./_MapCache */ \"./node_modules/lodash/_MapCache.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackSet.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/_toSource.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/_toSource.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_toSource.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/constant.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/constant.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/constant.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/eq.js": +/*!***********************************!*\ + !*** ./node_modules/lodash/eq.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/eq.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/identity.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/identity.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/identity.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArguments.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/isArguments.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ \"./node_modules/lodash/_baseIsArguments.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArguments.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArray.js": +/*!****************************************!*\ + !*** ./node_modules/lodash/isArray.js ***! + \****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArrayLike.js": +/*!********************************************!*\ + !*** ./node_modules/lodash/isArrayLike.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\");\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLike.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isArrayLikeObject.js": +/*!**************************************************!*\ + !*** ./node_modules/lodash/isArrayLikeObject.js ***! + \**************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLikeObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isBuffer.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isBuffer.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\"),\n stubFalse = __webpack_require__(/*! ./stubFalse */ \"./node_modules/lodash/stubFalse.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/isBuffer.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isFunction.js": +/*!*******************************************!*\ + !*** ./node_modules/lodash/isFunction.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isFunction.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isLength.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isLength.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isLength.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isObject.js": +/*!*****************************************!*\ + !*** ./node_modules/lodash/isObject.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isObjectLike.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/isObjectLike.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObjectLike.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isPlainObject.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/isPlainObject.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isPlainObject.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/isTypedArray.js": +/*!*********************************************!*\ + !*** ./node_modules/lodash/isTypedArray.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ \"./node_modules/lodash/_baseIsTypedArray.js\"),\n baseUnary = __webpack_require__(/*! ./_baseUnary */ \"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(/*! ./_nodeUtil */ \"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isTypedArray.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/keysIn.js": +/*!***************************************!*\ + !*** ./node_modules/lodash/keysIn.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ \"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ \"./node_modules/lodash/_baseKeysIn.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\");\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/keysIn.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/merge.js": +/*!**************************************!*\ + !*** ./node_modules/lodash/merge.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var baseMerge = __webpack_require__(/*! ./_baseMerge */ \"./node_modules/lodash/_baseMerge.js\"),\n createAssigner = __webpack_require__(/*! ./_createAssigner */ \"./node_modules/lodash/_createAssigner.js\");\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/merge.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/stubFalse.js": +/*!******************************************!*\ + !*** ./node_modules/lodash/stubFalse.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/stubFalse.js?"); + +/***/ }), + +/***/ "./node_modules/lodash/toPlainObject.js": +/*!**********************************************!*\ + !*** ./node_modules/lodash/toPlainObject.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var copyObject = __webpack_require__(/*! ./_copyObject */ \"./node_modules/lodash/_copyObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\");\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/toPlainObject.js?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/AdSlot.ts": +/*!**************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/AdSlot.ts ***! + \**************************************************************/ +/*! exports provided: AdSlotCodec, AdSlot */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlotCodec\", function() { return AdSlotCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlot\", function() { return AdSlot; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar AdSlotCodec = {\n encode(args, output) {\n var obj = {\n x: args.x,\n y: args.y,\n height: args.height,\n width: args.width\n };\n output.writeStructBegin(\"AdSlot\");\n\n if (obj.x != null) {\n output.writeFieldBegin(\"x\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 1);\n output.writeI32(obj.x);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (obj.y != null) {\n output.writeFieldBegin(\"y\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.y);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (obj.height != null) {\n output.writeFieldBegin(\"height\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 3);\n output.writeI32(obj.height);\n output.writeFieldEnd();\n }\n\n if (obj.width != null) {\n output.writeFieldBegin(\"width\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 4);\n output.writeI32(obj.width);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_1 = input.readI32();\n _args.x = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_2 = input.readI32();\n _args.y = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_3 = input.readI32();\n _args.height = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 4:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_4 = input.readI32();\n _args.width = value_4;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.x !== undefined && _args.y !== undefined) {\n return {\n x: _args.x,\n y: _args.y,\n height: _args.height,\n width: _args.width\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read AdSlot from input\");\n }\n }\n\n};\nclass AdSlot extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.x != null) {\n var value_5 = args.x;\n this.x = value_5;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (args.y != null) {\n var value_6 = args.y;\n this.y = value_6;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (args.height != null) {\n var value_7 = args.height;\n this.height = value_7;\n }\n\n if (args.width != null) {\n var value_8 = args.width;\n this.width = value_8;\n }\n }\n\n static read(input) {\n return new AdSlot(AdSlotCodec.decode(input));\n }\n\n static write(args, output) {\n return AdSlotCodec.encode(args, output);\n }\n\n write(output) {\n return AdSlotCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/AdSlot.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Image.ts": +/*!*************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Image.ts ***! + \*************************************************************/ +/*! exports provided: ImageCodec, Image */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImageCodec\", function() { return ImageCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Image\", function() { return Image; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar ImageCodec = {\n encode(args, output) {\n var obj = {\n url: args.url,\n caption: args.caption,\n credit: args.credit\n };\n output.writeStructBegin(\"Image\");\n\n if (obj.url != null) {\n output.writeFieldBegin(\"url\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.url);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (obj.caption != null) {\n output.writeFieldBegin(\"caption\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 2);\n output.writeString(obj.caption);\n output.writeFieldEnd();\n }\n\n if (obj.credit != null) {\n output.writeFieldBegin(\"credit\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 3);\n output.writeString(obj.credit);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.url = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_2 = input.readString();\n _args.caption = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_3 = input.readString();\n _args.credit = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.url !== undefined) {\n return {\n url: _args.url,\n caption: _args.caption,\n credit: _args.credit\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Image from input\");\n }\n }\n\n};\nclass Image extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.url != null) {\n var value_4 = args.url;\n this.url = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (args.caption != null) {\n var value_5 = args.caption;\n this.caption = value_5;\n }\n\n if (args.credit != null) {\n var value_6 = args.credit;\n this.credit = value_6;\n }\n }\n\n static read(input) {\n return new Image(ImageCodec.decode(input));\n }\n\n static write(args, output) {\n return ImageCodec.encode(args, output);\n }\n\n write(output) {\n return ImageCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Image.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Native.ts": +/*!**************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Native.ts ***! + \**************************************************************/ +/*! exports provided: serviceName, annotations, methodAnnotations, methodNames, methodParameters, InsertAdverts__ArgsCodec, InsertAdverts__Args, NativeThriftPackageVersion__ArgsCodec, NativeThriftPackageVersion__Args, LaunchFrictionScreen__ArgsCodec, LaunchFrictionScreen__Args, Follow__ArgsCodec, Follow__Args, Unfollow__ArgsCodec, Unfollow__Args, IsFollowing__ArgsCodec, IsFollowing__Args, IsPremiumUser__ArgsCodec, IsPremiumUser__Args, LaunchSlideshow__ArgsCodec, LaunchSlideshow__Args, InsertAdverts__ResultCodec, InsertAdverts__Result, NativeThriftPackageVersion__ResultCodec, NativeThriftPackageVersion__Result, LaunchFrictionScreen__ResultCodec, LaunchFrictionScreen__Result, Follow__ResultCodec, Follow__Result, Unfollow__ResultCodec, Unfollow__Result, IsFollowing__ResultCodec, IsFollowing__Result, IsPremiumUser__ResultCodec, IsPremiumUser__Result, LaunchSlideshow__ResultCodec, LaunchSlideshow__Result, Client, Processor */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"serviceName\", function() { return serviceName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"annotations\", function() { return annotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodAnnotations\", function() { return methodAnnotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodNames\", function() { return methodNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodParameters\", function() { return methodParameters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ArgsCodec\", function() { return InsertAdverts__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Args\", function() { return InsertAdverts__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ArgsCodec\", function() { return NativeThriftPackageVersion__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Args\", function() { return NativeThriftPackageVersion__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ArgsCodec\", function() { return LaunchFrictionScreen__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Args\", function() { return LaunchFrictionScreen__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ArgsCodec\", function() { return Follow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Args\", function() { return Follow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ArgsCodec\", function() { return Unfollow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Args\", function() { return Unfollow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ArgsCodec\", function() { return IsFollowing__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Args\", function() { return IsFollowing__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ArgsCodec\", function() { return IsPremiumUser__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Args\", function() { return IsPremiumUser__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ArgsCodec\", function() { return LaunchSlideshow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Args\", function() { return LaunchSlideshow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ResultCodec\", function() { return InsertAdverts__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Result\", function() { return InsertAdverts__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ResultCodec\", function() { return NativeThriftPackageVersion__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Result\", function() { return NativeThriftPackageVersion__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ResultCodec\", function() { return LaunchFrictionScreen__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Result\", function() { return LaunchFrictionScreen__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ResultCodec\", function() { return Follow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Result\", function() { return Follow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ResultCodec\", function() { return Unfollow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Result\", function() { return Unfollow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ResultCodec\", function() { return IsFollowing__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Result\", function() { return IsFollowing__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ResultCodec\", function() { return IsPremiumUser__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Result\", function() { return IsPremiumUser__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ResultCodec\", function() { return LaunchSlideshow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Result\", function() { return LaunchSlideshow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Client\", function() { return Client; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Processor\", function() { return Processor; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _AdSlot__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var _Topic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var _Image__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\n\n\n\nvar serviceName = \"Native\";\nvar annotations = {};\nvar methodAnnotations = {\n insertAdverts: {\n annotations: {},\n fieldAnnotations: {}\n },\n nativeThriftPackageVersion: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchFrictionScreen: {\n annotations: {},\n fieldAnnotations: {}\n },\n follow: {\n annotations: {},\n fieldAnnotations: {}\n },\n unfollow: {\n annotations: {},\n fieldAnnotations: {}\n },\n isFollowing: {\n annotations: {},\n fieldAnnotations: {}\n },\n isPremiumUser: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchSlideshow: {\n annotations: {},\n fieldAnnotations: {}\n }\n};\nvar methodNames = [\"insertAdverts\", \"nativeThriftPackageVersion\", \"launchFrictionScreen\", \"follow\", \"unfollow\", \"isFollowing\", \"isPremiumUser\", \"launchSlideshow\"];\nvar methodParameters = {\n insertAdverts: 2,\n nativeThriftPackageVersion: 1,\n launchFrictionScreen: 1,\n follow: 2,\n unfollow: 2,\n isFollowing: 2,\n isPremiumUser: 1,\n launchSlideshow: 3\n};\nvar InsertAdverts__ArgsCodec = {\n encode(args, output) {\n var obj = {\n adSlots: args.adSlots\n };\n output.writeStructBegin(\"InsertAdverts__Args\");\n\n if (obj.adSlots != null) {\n output.writeFieldBegin(\"adSlots\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.adSlots.length);\n obj.adSlots.forEach(value_1 => {\n _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].encode(value_1, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_2 = new Array();\n var metadata_1 = input.readListBegin();\n var size_1 = metadata_1.size;\n\n for (var i_1 = 0; i_1 < size_1; i_1++) {\n var value_3 = _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].decode(input);\n value_2.push(value_3);\n }\n\n input.readListEnd();\n _args.adSlots = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.adSlots !== undefined) {\n return {\n adSlots: _args.adSlots\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read InsertAdverts__Args from input\");\n }\n }\n\n};\nclass InsertAdverts__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.adSlots != null) {\n var value_4 = new Array();\n args.adSlots.forEach(value_5 => {\n var value_6 = new _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlot\"](value_5);\n value_4.push(value_6);\n });\n this.adSlots = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n }\n\n static read(input) {\n return new InsertAdverts__Args(InsertAdverts__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ArgsCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"NativeThriftPackageVersion__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass NativeThriftPackageVersion__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Args(NativeThriftPackageVersion__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass LaunchFrictionScreen__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Args(LaunchFrictionScreen__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ArgsCodec.encode(this, output);\n }\n\n}\nvar Follow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Follow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_7 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_7;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Follow__Args from input\");\n }\n }\n\n};\nclass Follow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_8 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_8;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Follow__Args(Follow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ArgsCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Unfollow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_9 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_9;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Unfollow__Args from input\");\n }\n }\n\n};\nclass Unfollow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_10 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_10;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Unfollow__Args(Unfollow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"IsFollowing__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_11 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_11;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read IsFollowing__Args from input\");\n }\n }\n\n};\nclass IsFollowing__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_12 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_12;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new IsFollowing__Args(IsFollowing__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"IsPremiumUser__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass IsPremiumUser__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new IsPremiumUser__Args(IsPremiumUser__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n images: args.images,\n selectedIndex: args.selectedIndex\n };\n output.writeStructBegin(\"LaunchSlideshow__Args\");\n\n if (obj.images != null) {\n output.writeFieldBegin(\"images\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.images.length);\n obj.images.forEach(value_13 => {\n _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].encode(value_13, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (obj.selectedIndex != null) {\n output.writeFieldBegin(\"selectedIndex\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.selectedIndex);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_14 = new Array();\n var metadata_2 = input.readListBegin();\n var size_2 = metadata_2.size;\n\n for (var i_2 = 0; i_2 < size_2; i_2++) {\n var value_15 = _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].decode(input);\n value_14.push(value_15);\n }\n\n input.readListEnd();\n _args.images = value_14;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_16 = input.readI32();\n _args.selectedIndex = value_16;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.images !== undefined && _args.selectedIndex !== undefined) {\n return {\n images: _args.images,\n selectedIndex: _args.selectedIndex\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read LaunchSlideshow__Args from input\");\n }\n }\n\n};\nclass LaunchSlideshow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.images != null) {\n var value_17 = new Array();\n args.images.forEach(value_19 => {\n var value_20 = new _Image__WEBPACK_IMPORTED_MODULE_3__[\"Image\"](value_19);\n value_17.push(value_20);\n });\n this.images = value_17;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (args.selectedIndex != null) {\n var value_18 = args.selectedIndex;\n this.selectedIndex = value_18;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Args(LaunchSlideshow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ArgsCodec.encode(this, output);\n }\n\n}\nvar InsertAdverts__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"InsertAdverts__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass InsertAdverts__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_21 = undefined;\n this.success = value_21;\n }\n }\n\n static read(input) {\n return new InsertAdverts__Result(InsertAdverts__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ResultCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"NativeThriftPackageVersion__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 0);\n output.writeI32(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_22 = input.readI32();\n _args.success = value_22;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass NativeThriftPackageVersion__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_23 = args.success;\n this.success = value_23;\n }\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Result(NativeThriftPackageVersion__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchFrictionScreen__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_24 = undefined;\n this.success = value_24;\n }\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Result(LaunchFrictionScreen__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ResultCodec.encode(this, output);\n }\n\n}\nvar Follow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Follow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Follow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_25 = undefined;\n this.success = value_25;\n }\n }\n\n static read(input) {\n return new Follow__Result(Follow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ResultCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Unfollow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Unfollow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_26 = undefined;\n this.success = value_26;\n }\n }\n\n static read(input) {\n return new Unfollow__Result(Unfollow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ResultCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsFollowing__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_27 = input.readBool();\n _args.success = value_27;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsFollowing__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_28 = args.success;\n this.success = value_28;\n }\n }\n\n static read(input) {\n return new IsFollowing__Result(IsFollowing__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ResultCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsPremiumUser__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_29 = input.readBool();\n _args.success = value_29;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsPremiumUser__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_30 = args.success;\n this.success = value_30;\n }\n }\n\n static read(input) {\n return new IsPremiumUser__Result(IsPremiumUser__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchSlideshow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchSlideshow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_31 = undefined;\n this.success = value_31;\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Result(LaunchSlideshow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ResultCodec.encode(this, output);\n }\n\n}\nclass Client extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftClient\"] {\n constructor() {\n super(...arguments);\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._methodParameters = methodParameters;\n }\n\n insertAdverts(adSlots, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n adSlots\n };\n InsertAdverts__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"insertAdverts\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = InsertAdverts__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n nativeThriftPackageVersion(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"nativeThriftPackageVersion\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = NativeThriftPackageVersion__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"nativeThriftPackageVersion failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchFrictionScreen(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n LaunchFrictionScreen__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchFrictionScreen\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchFrictionScreen__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n follow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Follow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"follow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Follow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n unfollow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Unfollow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"unfollow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Unfollow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isFollowing(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n IsFollowing__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isFollowing\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsFollowing__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isFollowing failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isPremiumUser(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n IsPremiumUser__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isPremiumUser\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsPremiumUser__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isPremiumUser failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchSlideshow(images, selectedIndex, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n images,\n selectedIndex\n };\n LaunchSlideshow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchSlideshow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchSlideshow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n}\nClient.serviceName = serviceName;\nClient.annotations = annotations;\nClient.methodAnnotations = methodAnnotations;\nClient.methodNames = methodNames;\nclass Processor extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftProcessor\"] {\n constructor(handler) {\n super();\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._handler = handler;\n }\n\n process(input, output, context) {\n return new Promise((resolve, reject) => {\n var metadata = input.readMessageBegin();\n var fieldName = metadata.fieldName;\n var requestId = metadata.requestId;\n var methodName = \"process_\" + fieldName;\n\n switch (methodName) {\n case \"process_insertAdverts\":\n {\n resolve(this.process_insertAdverts(requestId, input, output, context));\n break;\n }\n\n case \"process_nativeThriftPackageVersion\":\n {\n resolve(this.process_nativeThriftPackageVersion(requestId, input, output, context));\n break;\n }\n\n case \"process_launchFrictionScreen\":\n {\n resolve(this.process_launchFrictionScreen(requestId, input, output, context));\n break;\n }\n\n case \"process_follow\":\n {\n resolve(this.process_follow(requestId, input, output, context));\n break;\n }\n\n case \"process_unfollow\":\n {\n resolve(this.process_unfollow(requestId, input, output, context));\n break;\n }\n\n case \"process_isFollowing\":\n {\n resolve(this.process_isFollowing(requestId, input, output, context));\n break;\n }\n\n case \"process_isPremiumUser\":\n {\n resolve(this.process_isPremiumUser(requestId, input, output, context));\n break;\n }\n\n case \"process_launchSlideshow\":\n {\n resolve(this.process_launchSlideshow(requestId, input, output, context));\n break;\n }\n\n default:\n {\n input.skip(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT);\n input.readMessageEnd();\n var errMessage = \"Unknown function \" + fieldName;\n var err = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN_METHOD, errMessage);\n output.writeMessageBegin(fieldName, _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(err, output);\n output.writeMessageEnd();\n resolve(output.flush());\n break;\n }\n }\n });\n }\n\n process_insertAdverts(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = InsertAdverts__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.insertAdverts(args.adSlots, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n InsertAdverts__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_nativeThriftPackageVersion(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.nativeThriftPackageVersion(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n NativeThriftPackageVersion__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchFrictionScreen(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.launchFrictionScreen(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchFrictionScreen__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_follow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Follow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.follow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Follow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_unfollow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Unfollow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.unfollow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Unfollow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isFollowing(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = IsFollowing__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.isFollowing(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsFollowing__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isPremiumUser(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.isPremiumUser(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsPremiumUser__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchSlideshow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = LaunchSlideshow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.launchSlideshow(args.images, args.selectedIndex, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchSlideshow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n}\nProcessor.serviceName = serviceName;\nProcessor.annotations = annotations;\nProcessor.methodAnnotations = methodAnnotations;\nProcessor.methodNames = methodNames;\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Native.ts?"); + +/***/ }), + +/***/ "./node_modules/mobile-apps-thrift-typescript/Topic.ts": +/*!*************************************************************!*\ + !*** ./node_modules/mobile-apps-thrift-typescript/Topic.ts ***! + \*************************************************************/ +/*! exports provided: TopicCodec, Topic */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TopicCodec\", function() { return TopicCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Topic\", function() { return Topic; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar TopicCodec = {\n encode(args, output) {\n var obj = {\n id: args.id\n };\n output.writeStructBegin(\"Topic\");\n\n if (obj.id != null) {\n output.writeFieldBegin(\"id\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.id);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.id = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.id !== undefined) {\n return {\n id: _args.id\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Topic from input\");\n }\n }\n\n};\nclass Topic extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.id != null) {\n var value_2 = args.id;\n this.id = value_2;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n }\n\n static read(input) {\n return new Topic(TopicCodec.decode(input));\n }\n\n static write(args, output) {\n return TopicCodec.encode(args, output);\n }\n\n write(output) {\n return TopicCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Topic.ts?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/punycode/punycode.js": +/*!**************************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! + \**************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/punycode/punycode.js?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/url/url.js": +/*!****************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/url/url.js ***! + \****************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/node-libs-browser/node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/url.js?"); + +/***/ }), + +/***/ "./node_modules/node-libs-browser/node_modules/url/util.js": +/*!*****************************************************************!*\ + !*** ./node_modules/node-libs-browser/node_modules/url/util.js ***! + \*****************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nmodule.exports = {\n isString: function(arg) {\n return typeof(arg) === 'string';\n },\n isObject: function(arg) {\n return typeof(arg) === 'object' && arg !== null;\n },\n isNull: function(arg) {\n return arg === null;\n },\n isNullOrUndefined: function(arg) {\n return arg == null;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/util.js?"); + +/***/ }), + +/***/ "./node_modules/process/browser.js": +/*!*****************************************!*\ + !*** ./node_modules/process/browser.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/decode.js": +/*!************************************************!*\ + !*** ./node_modules/querystring-es3/decode.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/decode.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/encode.js": +/*!************************************************!*\ + !*** ./node_modules/querystring-es3/encode.js ***! + \************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map (xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/encode.js?"); + +/***/ }), + +/***/ "./node_modules/querystring-es3/index.js": +/*!***********************************************!*\ + !*** ./node_modules/querystring-es3/index.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \"./node_modules/querystring-es3/decode.js\");\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \"./node_modules/querystring-es3/encode.js\");\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/index.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/index.js": +/*!************************************!*\ + !*** ./node_modules/uuid/index.js ***! + \************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var v1 = __webpack_require__(/*! ./v1 */ \"./node_modules/uuid/v1.js\");\nvar v4 = __webpack_require__(/*! ./v4 */ \"./node_modules/uuid/v4.js\");\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/index.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/lib/bytesToUuid.js": +/*!**********************************************!*\ + !*** ./node_modules/uuid/lib/bytesToUuid.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/bytesToUuid.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/lib/rng-browser.js": +/*!**********************************************!*\ + !*** ./node_modules/uuid/lib/rng-browser.js ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/rng-browser.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/v1.js": +/*!*********************************!*\ + !*** ./node_modules/uuid/v1.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v1.js?"); + +/***/ }), + +/***/ "./node_modules/uuid/v4.js": +/*!*********************************!*\ + !*** ./node_modules/uuid/v4.js ***! + \*********************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v4.js?"); + +/***/ }), + +/***/ "./node_modules/webpack/buildin/global.js": +/*!***********************************!*\ + !*** (webpack)/buildin/global.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?"); + +/***/ }), + +/***/ "./node_modules/webpack/buildin/module.js": +/*!***********************************!*\ + !*** (webpack)/buildin/module.js ***! + \***********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n//# sourceURL=webpack:///(webpack)/buildin/module.js?"); + +/***/ }), + +/***/ "./src/client/article.ts": +/*!*******************************!*\ + !*** ./src/client/article.ts ***! + \*******************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.array.flat-map */ \"./node_modules/core-js/modules/es7.array.flat-map.js\");\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n/* harmony import */ var native_nativeApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! native/nativeApi */ \"./src/native/nativeApi.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! mobile-apps-thrift-typescript/AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n\n// ----- Imports ----- //\n\n\n\n\n // ----- Run ----- //\n\nfunction getAdSlots() {\n var advertSlots = document.getElementsByClassName('ad-slot');\n var scrollLeft = document.scrollingElement ? document.scrollingElement.scrollLeft : document.body.scrollLeft;\n var scrollTop = document.scrollingElement ? document.scrollingElement.scrollTop : document.body.scrollTop;\n return Array.from(advertSlots).map(adSlot => {\n var slotPosition = adSlot.getBoundingClientRect();\n return new mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__[\"AdSlot\"]({\n x: slotPosition.left + scrollLeft,\n y: slotPosition.top + scrollTop,\n width: slotPosition.width,\n height: slotPosition.height\n });\n });\n}\n\nfunction insertAds() {\n var adSlots = getAdSlots();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].insertAdverts(adSlots);\n var targetNode = document.querySelector('body');\n var config = {\n attributes: true,\n childList: true,\n subtree: true\n };\n\n var callback = function callback() {\n var currentAdSlots = getAdSlots();\n\n if (JSON.stringify(adSlots) !== JSON.stringify(currentAdSlots)) {\n // TODO: add this to mobile-apps-thrift and implement client side\n // nativeClient.updateAdverts(currentAdSlots);\n adSlots = currentAdSlots;\n }\n };\n\n var observer = new MutationObserver(callback);\n observer.observe(targetNode, config);\n}\n\nfunction ads() {\n insertAds();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isPremiumUser().then(premiumUser => {\n if (!premiumUser) {\n Array.from(document.querySelectorAll('.ad-placeholder')).map(placeholder => placeholder.classList.remove('hidden'));\n insertAds();\n }\n });\n}\n\nfunction topicClick(e) {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var statusText = (_b = status) === null || _b === void 0 ? void 0 : _b.textContent;\n var id = (_c = follow) === null || _c === void 0 ? void 0 : _c.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n\n if (statusText && statusText === 'Follow') {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].follow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Following\";\n }\n });\n } else {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].unfollow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Follow\";\n }\n });\n }\n}\n\nfunction topics() {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var id = (_b = follow) === null || _b === void 0 ? void 0 : _b.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n (_c = follow) === null || _c === void 0 ? void 0 : _c.addEventListener('click', topicClick);\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isFollowing(topic).then(following => {\n var _a;\n\n if (following && ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent)) {\n status.textContent = \"Following\";\n }\n });\n}\n\nfunction launchSlideshow(src) {\n var images = Array.from(document.querySelectorAll('.js-launch-slideshow'));\n var imagesWithCaptions = images.flatMap(image => {\n var _a, _b;\n\n var url = image.getAttribute('src');\n var caption = (_a = image.getAttribute('caption'), _a !== null && _a !== void 0 ? _a : undefined);\n var credit = (_b = image.getAttribute('credit'), _b !== null && _b !== void 0 ? _b : undefined);\n return url ? new mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__[\"Image\"]({\n url,\n caption,\n credit\n }) : [];\n });\n var clickedImageIndex = images.findIndex(image => image.getAttribute('src') === src);\n\n if (imagesWithCaptions.length && clickedImageIndex >= 0) {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].launchSlideshow(imagesWithCaptions, clickedImageIndex);\n }\n}\n\nfunction slideshow() {\n var images = document.querySelectorAll('.js-launch-slideshow');\n Array.from(images).forEach(image => image.addEventListener('click', e => {\n launchSlideshow(image.getAttribute('src'));\n }));\n}\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\nads();\ntopics();\nslideshow();\n\n//# sourceURL=webpack:///./src/client/article.ts?"); + +/***/ }), + +/***/ "./src/client/setup.ts": +/*!*****************************!*\ + !*** ./src/client/setup.ts ***! + \*****************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); + +/***/ }), + +/***/ "./src/native/nativeApi.ts": +/*!*********************************!*\ + !*** ./src/native/nativeApi.ts ***! + \*********************************/ +/*! exports provided: nativeClient */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nativeClient\", function() { return nativeClient; });\n/* harmony import */ var _thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./thrift/NativeConnection */ \"./src/native/thrift/NativeConnection.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Native */ \"./node_modules/mobile-apps-thrift-typescript/Native.ts\");\n\n\nvar nativeClient = Object(_thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__[\"createAppClient\"])(mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__[\"Client\"], 'buffered', 'compact');\n\n\n//# sourceURL=webpack:///./src/native/nativeApi.ts?"); + +/***/ }), + +/***/ "./src/native/thrift/NativeConnection.ts": +/*!***********************************************!*\ + !*** ./src/native/thrift/NativeConnection.ts ***! + \***********************************************/ +/*! exports provided: NativeConnection, createAppClient */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeConnection\", function() { return NativeConnection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAppClient\", function() { return createAppClient; });\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.to-string */ \"./node_modules/core-js/modules/es6.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! uuid */ \"./node_modules/uuid/index.js\");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar ACTION_TIMEOUT_MS = 30000;\n\nfunction sendNativeMessage(nativeMessage) {\n var _a, _b, _c, _d;\n\n if (window.AndroidWebViewMessage) {\n window.AndroidWebViewMessage(nativeMessage);\n } else if ((_d = (_c = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.webkit) === null || _b === void 0 ? void 0 : _b.messageHandlers) === null || _c === void 0 ? void 0 : _c.iOSWebViewMessage) === null || _d === void 0 ? void 0 : _d.postMessage) {\n window.webkit.messageHandlers.iOSWebViewMessage.postMessage(nativeMessage);\n } else {\n console.warn('No native APIs available');\n }\n}\n\nclass NativeConnection extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"ThriftConnection\"] {\n constructor(Transport, Protocol) {\n super(Transport, Protocol);\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n this.promises = [];\n this.outBuffer = [];\n window.nativeConnections = window.nativeConnections || {};\n window.nativeConnections[this.connectionId] = this;\n }\n\n reset(oldConnectionId) {\n if (oldConnectionId === this.connectionId) {\n console.warn(\"Reseting connection \" + oldConnectionId);\n delete window.nativeConnections[this.connectionId];\n this.promises.forEach(promise => {\n promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationExceptionType\"].UNKNOWN, \"Timeout error\"));\n });\n this.promises = [];\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n window.nativeConnections[this.connectionId] = this;\n }\n }\n\n receive(message) {\n var resolver = this.promises.shift();\n\n if (resolver) {\n clearTimeout(resolver.timeoutId);\n var data = Buffer.from(message.data, 'base64');\n resolver.resolve(data);\n }\n\n this.sendNextMessage();\n }\n\n sendNextMessage() {\n var message = this.outBuffer.shift();\n\n if (message) {\n console.log(\"Sending next message\");\n sendNativeMessage(message);\n }\n }\n\n send(dataToSend, context) {\n var id = this.connectionId; // eslint-disable-next-line @typescript-eslint/no-this-alias\n\n var connection = this;\n return new Promise(function (res, rej) {\n connection.promises.push({\n resolve: res,\n reject: rej,\n timeoutId: setTimeout(function () {\n connection.reset(id);\n }, ACTION_TIMEOUT_MS)\n });\n var message = {\n data: dataToSend.toString(\"base64\"),\n connectionId: id\n };\n\n if (connection.promises.length === 1) {\n console.log(\"Sending message immediately\");\n sendNativeMessage(message);\n } else {\n console.log(\"Queing message because others in flight\");\n connection.outBuffer.push(message);\n }\n });\n }\n\n}\nfunction createAppClient(ServiceClient) {\n var transport = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'buffered';\n var protocol = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'compact';\n return new ServiceClient(new NativeConnection(Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getTransport\"])(transport), Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getProtocol\"])(protocol)));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./src/native/thrift/NativeConnection.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/dist/assets/liveblog.js b/dist/assets/liveblog.js new file mode 100644 index 000000000..c2eaaea19 --- /dev/null +++ b/dist/assets/liveblog.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/client/liveblog.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/client/liveblog.ts": +/*!********************************!*\ + !*** ./src/client/liveblog.ts ***! + \********************************/ +/*! no exports provided */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n// ----- Imports ----- //\n // ----- Run ----- //\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n\n//# sourceURL=webpack:///./src/client/liveblog.ts?"); + +/***/ }), + +/***/ "./src/client/setup.ts": +/*!*****************************!*\ + !*** ./src/client/setup.ts ***! + \*****************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file From 02b43b4f83855520883488bd11733af5412b496d Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:19:50 +0000 Subject: [PATCH 07/16] add bundlesize env --- .github/workflows/nodejs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 138cf1b12..ddc05afa4 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -36,3 +36,5 @@ jobs: CI_COMMIT_MESSAGE: message CI_COMMIT_SHA: $GITHUB_SHA CI: true + BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} + From 6866e9eff51a9dd0eb0cd9e5a954bae383ee3a84 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:35:15 +0000 Subject: [PATCH 08/16] add bundlesize env --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ddc05afa4..8dbf3e864 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -34,7 +34,7 @@ jobs: CI_REPO_OWNER: guardian CI_REPO_NAME: apps-rendering CI_COMMIT_MESSAGE: message - CI_COMMIT_SHA: $GITHUB_SHA + CI_COMMIT_SHA: ${GITHUB_SHA} CI: true BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} From 3b1635c1fb56636d8c04e1fe8f56681d635a62f7 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:39:33 +0000 Subject: [PATCH 09/16] add bundlesize env --- .github/workflows/nodejs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8dbf3e864..d6cdec5a6 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -31,10 +31,10 @@ jobs: - name: bundlesize run: npm run bundlesize env: - CI_REPO_OWNER: guardian - CI_REPO_NAME: apps-rendering - CI_COMMIT_MESSAGE: message - CI_COMMIT_SHA: ${GITHUB_SHA} CI: true + CI_REPO_NAME: ${{ github.event.repository.name }} + CI_REPO_OWNER: ${{ github.event.organization.login }} + CI_COMMIT_SHA: ${{ github.event.after }} + CI_BRANCH: ${{ github.head_ref }} BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} From f48f8509d480b2f446514a87b1973ff3cea143c8 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:46:50 +0000 Subject: [PATCH 10/16] add bundlesize env --- .github/workflows/nodejs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d6cdec5a6..1b3f65359 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,9 +32,10 @@ jobs: run: npm run bundlesize env: CI: true + BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} CI_REPO_NAME: ${{ github.event.repository.name }} CI_REPO_OWNER: ${{ github.event.organization.login }} CI_COMMIT_SHA: ${{ github.event.after }} + GIT_COMMIT: ${{ github.sha }} CI_BRANCH: ${{ github.head_ref }} - BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} From 1b534b5a5eda50de9ec512965a1bf919226c5ca6 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Tue, 11 Feb 2020 17:56:45 +0000 Subject: [PATCH 11/16] add bundlesize env --- .github/workflows/nodejs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1b3f65359..8948e8148 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -36,6 +36,5 @@ jobs: CI_REPO_NAME: ${{ github.event.repository.name }} CI_REPO_OWNER: ${{ github.event.organization.login }} CI_COMMIT_SHA: ${{ github.event.after }} - GIT_COMMIT: ${{ github.sha }} CI_BRANCH: ${{ github.head_ref }} From 374c883e9c9a4a1d5a6e3950ccfccc3d244b1db5 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Wed, 12 Feb 2020 10:17:00 +0000 Subject: [PATCH 12/16] additional variable --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 8948e8148..d5020f2c1 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -37,4 +37,4 @@ jobs: CI_REPO_OWNER: ${{ github.event.organization.login }} CI_COMMIT_SHA: ${{ github.event.after }} CI_BRANCH: ${{ github.head_ref }} - + TEST: test \ No newline at end of file From d6a9bd23d60b4a5a83a775297a6920f30f90a273 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Wed, 12 Feb 2020 10:22:54 +0000 Subject: [PATCH 13/16] remove env variables as the ci job not working --- .github/workflows/nodejs.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d5020f2c1..237cf68d0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -30,11 +30,3 @@ jobs: run: npm run test:run - name: bundlesize run: npm run bundlesize - env: - CI: true - BUNDLESIZE_GITHUB_TOKEN: ${{ secrets.BUNDLESIZE_GITHUB_TOKEN }} - CI_REPO_NAME: ${{ github.event.repository.name }} - CI_REPO_OWNER: ${{ github.event.organization.login }} - CI_COMMIT_SHA: ${{ github.event.after }} - CI_BRANCH: ${{ github.head_ref }} - TEST: test \ No newline at end of file From 0a71991b548f3ed981355fbe69aa316eabff6128 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Wed, 12 Feb 2020 12:11:45 +0000 Subject: [PATCH 14/16] build client bundle on ci --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d86706029..004a4b3d7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "build:client": "webpack --config webpack.config.js --config-name client", "storybook": "start-storybook -s ./", "deploy-storybook": "storybook-to-ghpages && ./.storybook/pushFonts.sh", - "bundlesize": "bundlesize --config config/bundlesize.json" + "bundlesize": "npm run build:client && bundlesize --config config/bundlesize.json" }, "author": "", "license": "ISC", From d8e7dcf15978249ad2a550442dfcdba5324ca081 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Wed, 12 Feb 2020 12:26:56 +0000 Subject: [PATCH 15/16] correct casing --- .gitignore | 5 +---- src/native/nativeApi.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7a69ebee5..dbf1464e2 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,4 @@ node_modules .DS_Store # Built files -dist/* - -# used to track client bundle sizes -!dist/assets/ \ No newline at end of file +dist/* \ No newline at end of file diff --git a/src/native/nativeApi.ts b/src/native/nativeApi.ts index db253c683..26e6faf9c 100644 --- a/src/native/nativeApi.ts +++ b/src/native/nativeApi.ts @@ -1,4 +1,4 @@ -import { createAppClient } from './thrift/NativeConnection'; +import { createAppClient } from './thrift/nativeConnection'; import * as Native from 'mobile-apps-thrift-typescript/Native'; const nativeClient: Native.Client = createAppClient(Native.Client, 'buffered', 'compact'); From 723b8c12e8f177234a0e6b325f12a56e3e6a2d98 Mon Sep 17 00:00:00 2001 From: Jamie Webb Date: Wed, 12 Feb 2020 12:34:02 +0000 Subject: [PATCH 16/16] remove dist files --- dist/assets/article.js | 2134 --------------------------------------- dist/assets/liveblog.js | 113 --- 2 files changed, 2247 deletions(-) delete mode 100644 dist/assets/article.js delete mode 100644 dist/assets/liveblog.js diff --git a/dist/assets/article.js b/dist/assets/article.js deleted file mode 100644 index 18bf2f3aa..000000000 --- a/dist/assets/article.js +++ /dev/null @@ -1,2134 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/client/article.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW2_24 = Math.pow(2, 24);\nconst POW2_31 = Math.pow(2, 31);\nconst POW2_32 = Math.pow(2, 32);\nconst POW10_11 = Math.pow(10, 11);\nconst VAL32 = 0x100000000;\nconst _HEX = [];\nfor (let i = 0; i < 256; i++) {\n _HEX[i] = (i > 0xf ? '' : '0') + i.toString(16);\n}\nclass Int64 {\n constructor(...args) {\n if (args[0] instanceof Buffer) {\n this.buffer = args[0];\n this.offset = args[1] || 0;\n }\n else if (Object.prototype.toString.call(args[0]) === '[object Uint8Array]') {\n this.buffer = Buffer.from(args[0]);\n this.offset = args[1] || 0;\n }\n else {\n this.buffer = Buffer.alloc(8);\n this.offset = 0;\n this.setValue(args[0], args[1]);\n }\n }\n static toDecimalString(i64) {\n if (typeof i64 === 'number') {\n return `${i64}`;\n }\n else {\n return i64.toDecimalString();\n }\n }\n static fromDecimalString(text) {\n const negative = text.charAt(0) === '-';\n if (text.length < (negative ? 17 : 16)) {\n return new Int64(+text);\n }\n else if (text.length > (negative ? 20 : 19)) {\n throw new RangeError(`Too many digits for Int64: ${text}`);\n }\n else {\n const high5 = +text.slice(negative ? 1 : 0, -15);\n let low = +text.slice(-15) + high5 * 2764472320;\n let high = Math.floor(low / POW2_32) + high5 * 232830;\n low = low % POW2_32;\n if (high >= POW2_31 &&\n !(negative && high === POW2_31 && low === 0)) {\n throw new RangeError('The magnitude is too large for Int64.');\n }\n if (negative) {\n high = ~high;\n if (low === 0) {\n high = (high + 1) & 0xffffffff;\n }\n else {\n low = ~low + 1;\n }\n high = 0x80000000 | high;\n }\n return new Int64(high, low);\n }\n }\n setValue(hi, lo) {\n let negate = false;\n if (lo === undefined) {\n if (typeof hi === 'number') {\n negate = hi < 0;\n hi = Math.abs(hi);\n lo = hi % VAL32;\n hi = hi / VAL32;\n if (hi > VAL32) {\n throw new RangeError(hi + ' is outside Int64 range');\n }\n else {\n hi = hi | 0;\n }\n }\n else if (typeof hi === 'string') {\n hi = (hi + '').replace(/^0x/, '');\n lo = hi.substr(-8);\n hi = hi.length > 8 ? hi.substr(0, hi.length - 8) : '';\n hi = parseInt(hi, 16);\n lo = parseInt(lo, 16);\n }\n else {\n throw new Error(hi + ' must be a Number or String');\n }\n }\n const b = this.buffer;\n const o = this.offset;\n for (let i = 7; i >= 0; i--) {\n b[o + i] = lo & 0xff;\n lo = i === 4 ? hi : lo >>> 8;\n }\n if (negate) {\n this._2scomp();\n }\n }\n toDecimalString() {\n const i64 = this;\n let b = i64.buffer;\n const o = i64.offset;\n if ((!b[o] && !(b[o + 1] & 0xe0)) || (!~b[o] && !~(b[o + 1] & 0xe0))) {\n return i64.toString();\n }\n else {\n const negative = b[o] & 0x80;\n if (negative) {\n let incremented = 0;\n const buffer = Buffer.alloc(8);\n for (let i = 7; i >= 0; --i) {\n buffer[i] = (~b[o + i] + (incremented ? 0 : 1)) & 0xff;\n incremented = incremented | b[o + i];\n }\n b = buffer;\n }\n const high2 = b[o + 1] + (b[o] << 8);\n const low = b[o + 7] +\n (b[o + 6] << 8) +\n (b[o + 5] << 16) +\n b[o + 4] * POW2_24 +\n (b[o + 3] + (b[o + 2] << 8)) * POW2_32 +\n high2 * 74976710656;\n const high = Math.floor(low / POW10_11) + high2 * 2814;\n const lowStr = ('00000000000' + String(low % POW10_11)).slice(-11);\n return (negative ? '-' : '') + String(high) + lowStr;\n }\n }\n toNumber(allowImprecise = true) {\n const buf = this.buffer;\n const off = this.offset;\n const negate = buf[off] & 0x80;\n let x = 0;\n let carry = 1;\n for (let i = 7, m = 1; i >= 0; i--, m *= 256) {\n let v = buf[off + i];\n if (negate) {\n v = (v ^ 0xff) + carry;\n carry = v >> 8;\n v = v & 0xff;\n }\n x += v * m;\n }\n if (!allowImprecise && x >= Int64.MAX_INT) {\n return negate ? -Infinity : Infinity;\n }\n return negate ? -x : x;\n }\n valueOf() {\n return this.toNumber(false);\n }\n toString(radix = 10) {\n return this.valueOf().toString(radix);\n }\n toOctetString(sep) {\n const out = new Array(8);\n const buf = this.buffer;\n const off = this.offset;\n for (let i = 0; i < 8; i++) {\n out[i] = _HEX[buf[off + i]];\n }\n return out.join(sep || '');\n }\n toBuffer(rawBuffer) {\n if (rawBuffer && this.offset === 0) {\n return this.buffer;\n }\n else {\n const out = Buffer.alloc(8);\n this.buffer.copy(out, 0, this.offset, this.offset + 8);\n return out;\n }\n }\n copy(targetBuffer, targetOffset = 0) {\n this.buffer.copy(targetBuffer, targetOffset, this.offset, this.offset + 8);\n }\n compare(other) {\n if ((this.buffer[this.offset] & 0x80) !==\n (other.buffer[other.offset] & 0x80)) {\n return other.buffer[other.offset] - this.buffer[this.offset];\n }\n for (let i = 0; i < 8; i++) {\n if (this.buffer[this.offset + i] !== other.buffer[other.offset + i]) {\n return (this.buffer[this.offset + i] -\n other.buffer[other.offset + i]);\n }\n }\n return 0;\n }\n equals(other) {\n return this.compare(other) === 0;\n }\n inspect() {\n return ('[Int64 value:' + this + ' octets:' + this.toOctetString(' ') + ']');\n }\n _2scomp() {\n const buf = this.buffer;\n const off = this.offset;\n let carry = 1;\n for (let i = off + 7; i >= off; i--) {\n const v = (buf[i] ^ 0xff) + carry;\n buf[i] = v & 0xff;\n carry = v >> 8;\n }\n }\n}\nInt64.MAX_INT = Math.pow(2, 53);\nInt64.MIN_INT = -Math.pow(2, 53);\nexports.Int64 = Int64;\n//# sourceMappingURL=Int64.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst POW_8 = Math.pow(2, 8);\nconst POW_16 = Math.pow(2, 16);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nfunction readByte(byte) {\n return byte > 127 ? byte - 256 : byte;\n}\nexports.readByte = readByte;\nfunction readI16(bytes, offset = 0) {\n offset = offset || 0;\n let v = bytes[offset + 1];\n v += bytes[offset] << 8;\n if (bytes[offset] & 128) {\n v -= POW_16;\n }\n return v;\n}\nexports.readI16 = readI16;\nfunction readI32(bytes, offset = 0) {\n let result = bytes[offset + 3];\n result += bytes[offset + 2] << 8;\n result += bytes[offset + 1] << 16;\n result += bytes[offset] * POW_24;\n if (bytes[offset] & 0x80) {\n result -= POW_32;\n }\n return result;\n}\nexports.readI32 = readI32;\nfunction readDouble(bytes, offset = 0) {\n const signed = bytes[offset] & 0x80;\n let e = (bytes[offset + 1] & 0xf0) >> 4;\n e += (bytes[offset] & 0x7f) << 4;\n let m = bytes[offset + 7];\n m += bytes[offset + 6] << 8;\n m += bytes[offset + 5] << 16;\n m += bytes[offset + 4] * POW_24;\n m += bytes[offset + 3] * POW_32;\n m += bytes[offset + 2] * POW_40;\n m += (bytes[offset + 1] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n}\nexports.readDouble = readDouble;\nfunction writeI16(bytes, i16) {\n bytes[1] = i16 & 0xff;\n i16 = i16 >> 8;\n bytes[0] = i16 & 0xff;\n return bytes;\n}\nexports.writeI16 = writeI16;\nfunction writeI32(bytes, i32) {\n bytes[3] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[2] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[1] = i32 & 0xff;\n i32 = i32 >> 8;\n bytes[0] = i32 & 0xff;\n return bytes;\n}\nexports.writeI32 = writeI32;\nfunction writeDouble(bytes, dub) {\n let m;\n let e;\n let c;\n bytes[0] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c = c * 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e = e + 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n bytes[1] = (e << 4) & 0xf0;\n bytes[0] |= (e >> 4) & 0x7f;\n bytes[7] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[6] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[5] = m & 0xff;\n m = Math.floor(m / POW_8);\n bytes[4] = m & 0xff;\n m = m >> 8;\n bytes[3] = m & 0xff;\n m = m >> 8;\n bytes[2] = m & 0xff;\n m = m >> 8;\n bytes[1] |= m & 0x0f;\n return bytes;\n}\nexports.writeDouble = writeDouble;\n//# sourceMappingURL=binary.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js": -/*!***************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js ***! - \***************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass InputBufferUnderrunError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InputBufferUnderrunError';\n }\n}\nexports.InputBufferUnderrunError = InputBufferUnderrunError;\n//# sourceMappingURL=InputBufferUnderrunError.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nvar TApplicationExceptionType;\n(function (TApplicationExceptionType) {\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNKNOWN_METHOD\"] = 1] = \"UNKNOWN_METHOD\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_MESSAGE_TYPE\"] = 2] = \"INVALID_MESSAGE_TYPE\";\n TApplicationExceptionType[TApplicationExceptionType[\"WRONG_METHOD_NAME\"] = 3] = \"WRONG_METHOD_NAME\";\n TApplicationExceptionType[TApplicationExceptionType[\"BAD_SEQUENCE_ID\"] = 4] = \"BAD_SEQUENCE_ID\";\n TApplicationExceptionType[TApplicationExceptionType[\"MISSING_RESULT\"] = 5] = \"MISSING_RESULT\";\n TApplicationExceptionType[TApplicationExceptionType[\"INTERNAL_ERROR\"] = 6] = \"INTERNAL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"PROTOCOL_ERROR\"] = 7] = \"PROTOCOL_ERROR\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_TRANSFORM\"] = 8] = \"INVALID_TRANSFORM\";\n TApplicationExceptionType[TApplicationExceptionType[\"INVALID_PROTOCOL\"] = 9] = \"INVALID_PROTOCOL\";\n TApplicationExceptionType[TApplicationExceptionType[\"UNSUPPORTED_CLIENT_TYPE\"] = 10] = \"UNSUPPORTED_CLIENT_TYPE\";\n})(TApplicationExceptionType = exports.TApplicationExceptionType || (exports.TApplicationExceptionType = {}));\nclass TApplicationException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TApplicationException';\n this.type = type;\n this.message = message;\n }\n}\nexports.TApplicationException = TApplicationException;\nexports.TApplicationExceptionCodec = {\n encode(obj, output) {\n output.writeStructBegin('TApplicationException');\n if (obj.message) {\n output.writeFieldBegin('message', types_1.TType.STRING, 1);\n output.writeString(obj.message);\n output.writeFieldEnd();\n }\n if (obj.type) {\n output.writeFieldBegin('type', types_1.TType.I32, 2);\n output.writeI32(obj.type);\n output.writeFieldEnd();\n }\n output.writeFieldStop();\n output.writeStructEnd();\n },\n decode(input) {\n input.readStructBegin();\n const args = {};\n while (true) {\n const ret = input.readFieldBegin();\n if (ret.fieldType === types_1.TType.STOP) {\n break;\n }\n switch (ret.fieldId) {\n case 1:\n if (ret.fieldType === types_1.TType.STRING) {\n args.message = input.readString();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n case 2:\n if (ret.fieldType === types_1.TType.I32) {\n args.type = input.readI32();\n }\n else {\n input.skip(ret.fieldType);\n }\n break;\n default:\n input.skip(ret.fieldType);\n break;\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return new TApplicationException(args.type, args.message);\n },\n};\n//# sourceMappingURL=TApplicationException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TProtocolExceptionType;\n(function (TProtocolExceptionType) {\n TProtocolExceptionType[TProtocolExceptionType[\"UNKNOWN\"] = 0] = \"UNKNOWN\";\n TProtocolExceptionType[TProtocolExceptionType[\"INVALID_DATA\"] = 1] = \"INVALID_DATA\";\n TProtocolExceptionType[TProtocolExceptionType[\"NEGATIVE_SIZE\"] = 2] = \"NEGATIVE_SIZE\";\n TProtocolExceptionType[TProtocolExceptionType[\"SIZE_LIMIT\"] = 3] = \"SIZE_LIMIT\";\n TProtocolExceptionType[TProtocolExceptionType[\"BAD_VERSION\"] = 4] = \"BAD_VERSION\";\n TProtocolExceptionType[TProtocolExceptionType[\"NOT_IMPLEMENTED\"] = 5] = \"NOT_IMPLEMENTED\";\n TProtocolExceptionType[TProtocolExceptionType[\"DEPTH_LIMIT\"] = 6] = \"DEPTH_LIMIT\";\n})(TProtocolExceptionType = exports.TProtocolExceptionType || (exports.TProtocolExceptionType = {}));\nclass TProtocolException extends Error {\n constructor(type, message) {\n super(message);\n this.name = 'TProtocolException';\n this.type = type;\n }\n}\nexports.TProtocolException = TProtocolException;\n//# sourceMappingURL=TProtocolException.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js": -/*!********************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js ***! - \********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./InputBufferUnderrunError */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/InputBufferUnderrunError.js\"));\n__export(__webpack_require__(/*! ./TApplicationException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TApplicationException.js\"));\n__export(__webpack_require__(/*! ./TProtocolException */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/TProtocolException.js\"));\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/index.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/index.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\n__export(__webpack_require__(/*! ./types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\"));\n__export(__webpack_require__(/*! ./protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\"));\n__export(__webpack_require__(/*! ./transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\"));\n__export(__webpack_require__(/*! ./errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\"));\n__export(__webpack_require__(/*! ./utils */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js\"));\n__export(__webpack_require__(/*! ./binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\"));\nvar logger_1 = __webpack_require__(/*! ./logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nexports.makeLogger = logger_1.makeLogger;\nfunction process(args) {\n const transportWithData = args.Transport.receiver(args.buffer);\n const input = new args.Protocol(transportWithData);\n return new Promise((resolve, reject) => {\n const output = new args.Protocol(new args.Transport());\n args.processor.process(input, output, args.context).then((result) => {\n resolve(result);\n transportWithData.commitPosition();\n }, (err) => {\n if (err instanceof errors_1.InputBufferUnderrunError) {\n transportWithData.rollbackPosition();\n }\n reject(err);\n });\n });\n}\nexports.process = process;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js": -/*!**************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(process) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.makeLogger = (name) => {\n return (tags, data) => {\n const allTags = Array.from(new Set([name, ...tags]));\n if (allTags.indexOf('error') > -1) {\n if (data !== undefined) {\n console.error(`[${allTags.join(',')}] `, data);\n }\n else {\n console.error(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('warn') > -1) {\n if (data !== undefined) {\n console.warn(`[${allTags.join(',')}] `, data);\n }\n else {\n console.warn(`[${allTags.join(',')}]`);\n }\n }\n else if (allTags.indexOf('info') > -1) {\n if (data !== undefined) {\n console.info(`[${allTags.join(',')}] `, data);\n }\n else {\n console.info(`[${allTags.join(',')}]`);\n }\n }\n else {\n if (data !== undefined && process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}] `, data);\n }\n else if (process.env.DUBUG !== undefined) {\n console.log(`[${allTags.join(',')}]`);\n }\n }\n };\n};\nexports.defaultLogger = exports.makeLogger('thrift-server-core');\n//# sourceMappingURL=logger.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../process/browser.js */ \"./node_modules/process/browser.js\")))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js": -/*!*****************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js ***! - \*****************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Int64_1 = __webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\");\nclass JsonParser {\n constructor(source) {\n this.at = 0;\n this.ch = '';\n this.escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t',\n };\n this.text = '';\n this.text = source;\n this.at = 0;\n this.ch = ' ';\n }\n parse() {\n const result = this.value();\n this.white();\n if (this.getCh()) {\n throw new SyntaxError('Syntax error');\n }\n return result;\n }\n array() {\n const array = [];\n if (this.getCh() === '[') {\n this.next('[');\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n while (this.getCh()) {\n array.push(this.value());\n this.white();\n if (this.getCh() === ']') {\n this.next(']');\n return array;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad array');\n }\n object() {\n let key = '';\n const object = {};\n if (this.getCh() === '{') {\n this.next('{');\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n while (this.getCh()) {\n key = this.string();\n this.white();\n this.next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n throw new SyntaxError('Duplicate key \"' + key + '\"');\n }\n object[key] = this.value();\n this.white();\n if (this.getCh() === '}') {\n this.next('}');\n return object;\n }\n this.next(',');\n this.white();\n }\n }\n throw new SyntaxError('Bad object');\n }\n value() {\n this.white();\n switch (this.getCh()) {\n case '{':\n return this.object();\n case '[':\n return this.array();\n case '\"':\n return this.string();\n case '-':\n return this.number();\n default:\n return this.isNumber() ? this.number() : this.word();\n }\n }\n isNumber() {\n const char = this.getCh();\n if (char >= '0' && char <= '9') {\n return true;\n }\n if (char !== '.') {\n return false;\n }\n const nextChar = this.peekNext();\n if (!nextChar) {\n return false;\n }\n return nextChar >= '0' && nextChar <= '9';\n }\n peekNext() {\n return this.text.charAt(this.at);\n }\n next(c) {\n if (c && c !== this.getCh()) {\n throw new SyntaxError(\"Expected '\" + c + \"' instead of '\" + this.getCh() + \"'\");\n }\n this.ch = this.text.charAt(this.at);\n this.at += 1;\n return this.ch;\n }\n getCh() {\n return this.ch;\n }\n number() {\n let number = 0;\n let string = '';\n if (this.getCh() === '-') {\n string = '-';\n this.next('-');\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n if (this.getCh() === '.') {\n string += '.';\n while (this.next() && this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n }\n }\n if (this.getCh() === 'e' || this.getCh() === 'E') {\n string += this.getCh();\n this.next();\n if (this.getCh() === '-' || this.getCh() === '+') {\n string += this.getCh();\n this.next();\n }\n while (this.getCh() >= '0' && this.getCh() <= '9') {\n string += this.getCh();\n this.next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n throw new SyntaxError('Bad number');\n }\n else if (number >= Int64_1.Int64.MAX_INT || number <= Int64_1.Int64.MIN_INT) {\n return string;\n }\n else {\n return number;\n }\n }\n string() {\n let hex = 0;\n let i = 0;\n let string = '';\n let uffff = 0;\n if (this.getCh() === '\"') {\n while (this.next()) {\n if (this.getCh() === '\"') {\n this.next();\n return string;\n }\n if (this.getCh() === '\\\\') {\n this.next();\n if (this.getCh() === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(this.next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n }\n else if (typeof this.escapee[this.getCh()] === 'string') {\n string += this.escapee[this.getCh()];\n }\n else {\n break;\n }\n }\n else {\n string += this.getCh();\n }\n }\n }\n throw new SyntaxError('Bad string');\n }\n white() {\n while (this.getCh() && this.getCh() <= ' ') {\n this.next();\n }\n }\n word() {\n switch (this.getCh()) {\n case 't':\n this.next('t');\n this.next('r');\n this.next('u');\n this.next('e');\n return true;\n case 'f':\n this.next('f');\n this.next('a');\n this.next('l');\n this.next('s');\n this.next('e');\n return false;\n case 'n':\n this.next('n');\n this.next('u');\n this.next('l');\n this.next('l');\n return null;\n }\n throw new SyntaxError(\"Unexpected '\" + this.getCh() + \"'\");\n }\n}\nfunction parseJson(source) {\n return new JsonParser(source).parse();\n}\nexports.parseJson = parseJson;\n//# sourceMappingURL=parseJson.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst VERSION_MASK = -65536;\nconst VERSION_1 = -2147418112;\nconst TYPE_MASK = 0x000000ff;\nclass BinaryProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n }\n writeMessageBegin(name, type, requestId) {\n this.writeI32(VERSION_1 | type);\n this.writeString(name);\n this.writeI32(requestId);\n if (this.requestId) {\n this.logger(['warn', 'BinaryProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'BinaryProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) { }\n writeStructEnd() { }\n writeFieldBegin(name, type, id) {\n this.writeByte(type);\n this.writeI16(id);\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(types_1.TType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n this.writeByte(keyType);\n this.writeByte(valueType);\n this.writeI32(size);\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeByte(elementType);\n this.writeI32(size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (bool) {\n this.writeByte(1);\n }\n else {\n this.writeByte(0);\n }\n }\n writeByte(byte) {\n const value = Number(byte);\n if (!isNaN(value)) {\n this.transport.write(Buffer.from([value]));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof byte}`);\n }\n }\n writeI16(i16) {\n const value = Number(i16);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI16(Buffer.alloc(2), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i16}`);\n }\n }\n writeI32(i32) {\n const value = Number(i32);\n if (!isNaN(value)) {\n this.transport.write(binary.writeI32(Buffer.alloc(4), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof i32}`);\n }\n }\n writeI64(i64) {\n if (typeof i64 === 'number') {\n this.transport.write(new types_1.Int64(i64).buffer);\n }\n else if (typeof i64 === 'string') {\n this.transport.write(types_1.Int64.fromDecimalString(i64).buffer);\n }\n else if (i64 instanceof types_1.Int64) {\n this.transport.write(i64.buffer);\n }\n else {\n throw new TypeError(`Expected Int64 or number but found type ${typeof i64}`);\n }\n }\n writeDouble(dub) {\n const value = Number(dub);\n if (!isNaN(value)) {\n this.transport.write(binary.writeDouble(Buffer.alloc(8), value));\n }\n else {\n throw new TypeError(`Expected number but found type ${typeof dub}`);\n }\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeI32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer) {\n this.writeI32(data.length);\n this.transport.write(data);\n }\n else {\n throw new TypeError(`Argument of type ${typeof data} should be buffer or string`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const size = this.readI32();\n if (size < 0) {\n const version = size & VERSION_MASK;\n if (version !== VERSION_1) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad version in readMessageBegin: ${size}`);\n }\n return {\n fieldName: this.readString(),\n messageType: size & TYPE_MASK,\n requestId: this.readI32(),\n };\n }\n else {\n return {\n fieldName: this.transport.readString(size),\n messageType: this.readByte(),\n requestId: this.readI32(),\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n return { fieldName: '' };\n }\n readStructEnd() { }\n readFieldBegin() {\n const type = this.readByte();\n if (type === types_1.TType.STOP) {\n return { fieldName: '', fieldType: type, fieldId: 0 };\n }\n else {\n const id = this.readI16();\n return { fieldName: '', fieldType: type, fieldId: id };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const keyType = this.readByte();\n const valueType = this.readByte();\n const size = this.readI32();\n return { keyType, valueType, size };\n }\n readMapEnd() { }\n readListBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readListEnd() { }\n readSetBegin() {\n const elementType = this.readByte();\n const size = this.readI32();\n return { elementType, size };\n }\n readSetEnd() { }\n readBool() {\n const byte = this.readByte();\n return byte !== 0;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.transport.readI16();\n }\n readI32() {\n return this.transport.readI32();\n }\n readI64() {\n const buff = this.transport.read(8);\n return new types_1.Int64(buff);\n }\n readDouble() {\n return this.transport.readDouble();\n }\n readBinary() {\n const len = this.readI32();\n if (len === 0) {\n return Buffer.alloc(0);\n }\n else if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative binary size');\n }\n else {\n return this.transport.read(len);\n }\n }\n readString() {\n const len = this.readI32();\n if (len === 0) {\n return '';\n }\n if (len < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, 'Negative string size');\n }\n return this.transport.readString(len);\n }\n getTransport() {\n return this.transport;\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n}\nexports.BinaryProtocol = BinaryProtocol;\n//# sourceMappingURL=BinaryProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js": -/*!*********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js ***! - \*********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nconst POW_8 = Math.pow(2, 8);\nconst POW_24 = Math.pow(2, 24);\nconst POW_32 = Math.pow(2, 32);\nconst POW_40 = Math.pow(2, 40);\nconst POW_48 = Math.pow(2, 48);\nconst POW_52 = Math.pow(2, 52);\nconst POW_1022 = Math.pow(2, 1022);\nconst PROTOCOL_ID = -126;\nconst VERSION_N = 1;\nconst VERSION_MASK = 0x1f;\nconst TYPE_MASK = -32;\nconst TYPE_BITS = 7;\nconst TYPE_SHIFT_AMOUNT = 5;\nvar CompactType;\n(function (CompactType) {\n CompactType[CompactType[\"STOP\"] = 0] = \"STOP\";\n CompactType[CompactType[\"BOOLEAN_TRUE\"] = 1] = \"BOOLEAN_TRUE\";\n CompactType[CompactType[\"BOOLEAN_FALSE\"] = 2] = \"BOOLEAN_FALSE\";\n CompactType[CompactType[\"BYTE\"] = 3] = \"BYTE\";\n CompactType[CompactType[\"I16\"] = 4] = \"I16\";\n CompactType[CompactType[\"I32\"] = 5] = \"I32\";\n CompactType[CompactType[\"I64\"] = 6] = \"I64\";\n CompactType[CompactType[\"DOUBLE\"] = 7] = \"DOUBLE\";\n CompactType[CompactType[\"BINARY\"] = 8] = \"BINARY\";\n CompactType[CompactType[\"LIST\"] = 9] = \"LIST\";\n CompactType[CompactType[\"SET\"] = 10] = \"SET\";\n CompactType[CompactType[\"MAP\"] = 11] = \"MAP\";\n CompactType[CompactType[\"STRUCT\"] = 12] = \"STRUCT\";\n})(CompactType = exports.CompactType || (exports.CompactType = {}));\nconst TTypeToCType = [\n CompactType.STOP,\n 0,\n CompactType.BOOLEAN_TRUE,\n CompactType.BYTE,\n CompactType.DOUBLE,\n 0,\n CompactType.I16,\n 0,\n CompactType.I32,\n 0,\n CompactType.I64,\n CompactType.BINARY,\n CompactType.STRUCT,\n CompactType.MAP,\n CompactType.SET,\n CompactType.LIST,\n];\nclass CompactProtocol extends TProtocol_1.TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n super(trans, logger);\n this.getTType = function (type) {\n switch (type) {\n case CompactType.STOP:\n return types_1.TType.STOP;\n case CompactType.BOOLEAN_FALSE:\n case CompactType.BOOLEAN_TRUE:\n return types_1.TType.BOOL;\n case CompactType.BYTE:\n return types_1.TType.BYTE;\n case CompactType.I16:\n return types_1.TType.I16;\n case CompactType.I32:\n return types_1.TType.I32;\n case CompactType.I64:\n return types_1.TType.I64;\n case CompactType.DOUBLE:\n return types_1.TType.DOUBLE;\n case CompactType.BINARY:\n return types_1.TType.STRING;\n case CompactType.LIST:\n return types_1.TType.LIST;\n case CompactType.SET:\n return types_1.TType.SET;\n case CompactType.MAP:\n return types_1.TType.MAP;\n case CompactType.STRUCT:\n return types_1.TType.STRUCT;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Unknown type: ${type}`);\n }\n };\n this._lastField = [];\n this._lastFieldId = 0;\n this._booleanField = {\n name: null,\n hasBoolValue: false,\n };\n this._boolValue = {\n hasBoolValue: false,\n boolValue: false,\n };\n }\n getCompactType(ttype) {\n return TTypeToCType[ttype];\n }\n writeMessageBegin(name, type, requestId) {\n this.writeByte(PROTOCOL_ID);\n this.writeByte((VERSION_N & VERSION_MASK) |\n ((type << TYPE_SHIFT_AMOUNT) & TYPE_MASK));\n this.writeVarint32(requestId);\n this.writeString(name);\n if (this.requestId) {\n this.logger(['warn', 'CompactProtocol'], `requestId already set: ${name}`);\n }\n else {\n this.requestId = requestId;\n }\n }\n writeMessageEnd() {\n if (this.requestId !== null) {\n this.requestId = null;\n }\n else {\n this.logger(['warn', 'CompactProtocol'], 'No requestId to unset');\n }\n }\n writeStructBegin(name) {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n }\n writeStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n writeFieldBegin(name, type, id) {\n if (type !== types_1.TType.BOOL) {\n return this.writeFieldBeginInternal(name, type, id, -1);\n }\n else {\n this._booleanField.name = name;\n this._booleanField.fieldType = type;\n this._booleanField.fieldId = id;\n }\n }\n writeFieldEnd() { }\n writeFieldStop() {\n this.writeByte(CompactType.STOP);\n }\n writeMapBegin(keyType, valueType, size) {\n if (size === 0) {\n this.writeByte(0);\n }\n else {\n this.writeVarint32(size);\n this.writeByte((this.getCompactType(keyType) << 4) |\n this.getCompactType(valueType));\n }\n }\n writeMapEnd() { }\n writeListBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeListEnd() { }\n writeSetBegin(elementType, size) {\n this.writeCollectionBegin(elementType, size);\n }\n writeSetEnd() { }\n writeBool(bool) {\n if (this._booleanField.name !== null) {\n this.writeFieldBeginInternal(this._booleanField.name, this._booleanField.fieldType, this._booleanField.fieldId, bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n this._booleanField.name = null;\n }\n else {\n this.writeByte(bool ? CompactType.BOOLEAN_TRUE : CompactType.BOOLEAN_FALSE);\n }\n }\n writeByte(byte) {\n this.transport.write(Buffer.from([byte]));\n }\n writeI16(i16) {\n this.writeVarint32(this.i32ToZigzag(i16));\n }\n writeI32(i32) {\n this.writeVarint32(this.i32ToZigzag(i32));\n }\n writeI64(i64) {\n this.writeVarint64(this.i64ToZigzag(i64));\n }\n writeDouble(dub) {\n const buff = Buffer.alloc(8);\n let m;\n let e;\n let c;\n buff[7] = dub < 0 ? 0x80 : 0x00;\n dub = Math.abs(dub);\n if (dub !== dub) {\n m = 2251799813685248;\n e = 2047;\n }\n else if (dub === Infinity) {\n m = 0;\n e = 2047;\n }\n else {\n e = Math.floor(Math.log(dub) / Math.LN2);\n c = Math.pow(2, -e);\n if (dub * c < 1) {\n e--;\n c *= 2;\n }\n if (e + 1023 >= 2047) {\n m = 0;\n e = 2047;\n }\n else if (e + 1023 >= 1) {\n m = (dub * c - 1) * POW_52;\n e += 1023;\n }\n else {\n m = dub * POW_1022 * POW_52;\n e = 0;\n }\n }\n buff[6] = (e << 4) & 0xf0;\n buff[7] |= (e >> 4) & 0x7f;\n buff[0] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[1] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[2] = m & 0xff;\n m = Math.floor(m / POW_8);\n buff[3] = m & 0xff;\n m >>= 8;\n buff[4] = m & 0xff;\n m >>= 8;\n buff[5] = m & 0xff;\n m >>= 8;\n buff[6] |= m & 0x0f;\n this.transport.write(buff);\n }\n writeStringOrBinary(name, encoding, data) {\n if (typeof data === 'string') {\n this.writeVarint32(Buffer.byteLength(data, encoding));\n this.transport.write(Buffer.from(data, encoding));\n }\n else if (data instanceof Buffer ||\n Object.prototype.toString.call(data) === '[object Buffer]') {\n this.writeVarint32(data.length);\n this.transport.write(data);\n }\n else {\n throw new Error(`${name} called without a string/Buffer argument: ${data}`);\n }\n }\n writeString(data) {\n this.writeStringOrBinary('writeString', 'utf8', data);\n }\n writeBinary(data) {\n this.writeStringOrBinary('writeBinary', 'binary', data);\n }\n readMessageBegin() {\n const protocolId = this.transport.readByte();\n if (protocolId !== PROTOCOL_ID) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol identifier ${protocolId}`);\n }\n else {\n const versionAndType = this.transport.readByte();\n const version = versionAndType & VERSION_MASK;\n if (version !== VERSION_N) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.BAD_VERSION, `Bad protocol version ${version}`);\n }\n const messageType = (versionAndType >> TYPE_SHIFT_AMOUNT) & TYPE_BITS;\n const requestId = this.readVarint32();\n const fieldName = this.readString();\n return {\n fieldName,\n messageType,\n requestId,\n };\n }\n }\n readMessageEnd() { }\n readStructBegin() {\n this._lastField.push(this._lastFieldId);\n this._lastFieldId = 0;\n return { fieldName: '' };\n }\n readStructEnd() {\n this._lastFieldId = this._lastField.pop();\n }\n readFieldBegin() {\n let fieldId = 0;\n const byte = this.transport.readByte();\n const type = byte & 0x0f;\n if (type === CompactType.STOP) {\n return {\n fieldName: '',\n fieldType: types_1.TType.STOP,\n fieldId,\n };\n }\n else {\n const modifier = (byte & 0x000000f0) >>> 4;\n if (modifier === 0) {\n fieldId = this.readI16();\n }\n else {\n fieldId = this._lastFieldId + modifier;\n }\n const fieldType = this.getTType(type);\n if (type === CompactType.BOOLEAN_TRUE ||\n type === CompactType.BOOLEAN_FALSE) {\n this._boolValue.hasBoolValue = true;\n this._boolValue.boolValue =\n type === CompactType.BOOLEAN_TRUE ? true : false;\n }\n this._lastFieldId = fieldId;\n return {\n fieldName: '',\n fieldType,\n fieldId,\n };\n }\n }\n readFieldEnd() { }\n readMapBegin() {\n const size = this.readVarint32();\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative map size`);\n }\n else {\n let kvType = 0;\n if (size !== 0) {\n kvType = this.transport.readByte();\n }\n const keyType = this.getTType((kvType & 0xf0) >>> 4);\n const valueType = this.getTType(kvType & 0xf);\n return { keyType, valueType, size };\n }\n }\n readMapEnd() { }\n readListBegin() {\n const sizeType = this.transport.readByte();\n let size = (sizeType >>> 4) & 0x0000000f;\n if (size === 15) {\n size = this.readVarint32();\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative list size`);\n }\n else {\n const elementType = this.getTType(sizeType & 0x0000000f);\n return { elementType, size };\n }\n }\n readListEnd() { }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() { }\n readBool() {\n let value = false;\n if (this._boolValue.hasBoolValue === true) {\n value = this._boolValue.boolValue;\n this._boolValue.hasBoolValue = false;\n }\n else {\n const res = this.transport.readByte();\n value = res === CompactType.BOOLEAN_TRUE;\n }\n return value;\n }\n readByte() {\n return this.transport.readByte();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return this.zigzagToI32(this.readVarint32());\n }\n readI64() {\n return this.zigzagToI64(this.readVarint64());\n }\n readDouble() {\n const buff = this.transport.read(8);\n const off = 0;\n const signed = buff[off + 7] & 0x80;\n let e = (buff[off + 6] & 0xf0) >> 4;\n e += (buff[off + 7] & 0x7f) << 4;\n let m = buff[off];\n m += buff[off + 1] << 8;\n m += buff[off + 2] << 16;\n m += buff[off + 3] * POW_24;\n m += buff[off + 4] * POW_32;\n m += buff[off + 5] * POW_40;\n m += (buff[off + 6] & 0x0f) * POW_48;\n switch (e) {\n case 0:\n e = -1022;\n break;\n case 2047:\n return m ? NaN : signed ? -Infinity : Infinity;\n default:\n m += POW_52;\n e -= 1023;\n }\n if (signed) {\n m *= -1;\n }\n return m * Math.pow(2, e - 52);\n }\n readBinary() {\n const size = this.readVarint32();\n if (size === 0) {\n return Buffer.alloc(0);\n }\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative binary size`);\n }\n else {\n return this.transport.read(size);\n }\n }\n readString() {\n const size = this.readVarint32();\n if (size === 0) {\n return '';\n }\n else {\n if (size < 0) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NEGATIVE_SIZE, `Negative string size`);\n }\n return this.transport.readString(size);\n }\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return;\n case types_1.TType.BOOL:\n this.readBool();\n break;\n case types_1.TType.BYTE:\n this.readByte();\n break;\n case types_1.TType.I16:\n this.readI16();\n break;\n case types_1.TType.I32:\n this.readI32();\n break;\n case types_1.TType.I64:\n this.readI64();\n break;\n case types_1.TType.DOUBLE:\n this.readDouble();\n break;\n case types_1.TType.STRING:\n this.readString();\n break;\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const fieldBegin = this.readFieldBegin();\n if (fieldBegin.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(fieldBegin.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n break;\n case types_1.TType.MAP:\n const mapBegin = this.readMapBegin();\n for (let i = 0; i < mapBegin.size; ++i) {\n this.skip(mapBegin.keyType);\n this.skip(mapBegin.valueType);\n }\n this.readMapEnd();\n break;\n case types_1.TType.SET:\n const setBegin = this.readSetBegin();\n for (let i2 = 0; i2 < setBegin.size; ++i2) {\n this.skip(setBegin.elementType);\n }\n this.readSetEnd();\n break;\n case types_1.TType.LIST:\n const listBegin = this.readListBegin();\n for (let i3 = 0; i3 < listBegin.size; ++i3) {\n this.skip(listBegin.elementType);\n }\n this.readListEnd();\n break;\n default:\n throw new Error('Invalid type: ' + type);\n }\n }\n flush() {\n return this.transport.flush();\n }\n zigzagToI32(i32) {\n return (i32 >>> 1) ^ (-1 * (i32 & 1));\n }\n zigzagToI64(i64) {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const neg = new types_1.Int64(hi & 0, lo & 1);\n neg._2scomp();\n const hiNeg = neg.buffer.readUInt32BE(0, true);\n const loNeg = neg.buffer.readUInt32BE(4, true);\n const hiLo = hi << 31;\n hi = (hi >>> 1) ^ hiNeg;\n lo = ((lo >>> 1) | hiLo) ^ loNeg;\n return new types_1.Int64(hi, lo);\n }\n readVarint32() {\n return this.readVarint64().toNumber();\n }\n readVarint64() {\n let rsize = 0;\n let lo = 0;\n let hi = 0;\n let shift = 0;\n while (true) {\n const b = this.transport.readByte();\n rsize++;\n if (shift <= 25) {\n lo = lo | ((b & 0x7f) << shift);\n }\n else if (25 < shift && shift < 32) {\n lo = lo | ((b & 0x7f) << shift);\n hi = hi | ((b & 0x7f) >>> (32 - shift));\n }\n else {\n hi = hi | ((b & 0x7f) << (shift - 32));\n }\n shift += 7;\n if (!(b & 0x80)) {\n break;\n }\n if (rsize >= 10) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Variable-length int over 10 bytes.`);\n }\n }\n return new types_1.Int64(hi, lo);\n }\n writeFieldBeginInternal(name, fieldType, fieldId, typeOverride) {\n const typeToWrite = typeOverride === -1 ? this.getCompactType(fieldType) : typeOverride;\n if (fieldId > this._lastFieldId && fieldId - this._lastFieldId <= 15) {\n this.writeByte(((fieldId - this._lastFieldId) << 4) | typeToWrite);\n }\n else {\n this.writeByte(typeToWrite);\n this.writeI16(fieldId);\n }\n this._lastFieldId = fieldId;\n }\n writeCollectionBegin(elementType, size) {\n if (size <= 14) {\n this.writeByte((size << 4) | this.getCompactType(elementType));\n }\n else {\n this.writeByte(0xf0 | this.getCompactType(elementType));\n this.writeVarint32(size);\n }\n }\n writeVarint32(i32) {\n const buf = Buffer.alloc(5);\n let wsize = 0;\n while (true) {\n if ((i32 & ~0x7f) === 0) {\n buf[wsize++] = i32;\n break;\n }\n else {\n buf[wsize++] = (i32 & 0x7f) | 0x80;\n i32 = i32 >>> 7;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n writeVarint64(i64) {\n if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n const buf = Buffer.alloc(10);\n let wsize = 0;\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n let mask = 0;\n while (true) {\n if ((lo & ~0x7f) === 0 && hi === 0) {\n buf[wsize++] = lo;\n break;\n }\n else {\n buf[wsize++] = (lo & 0x7f) | 0x80;\n mask = hi << 25;\n lo = lo >>> 7;\n hi = hi >>> 7;\n lo = lo | mask;\n }\n }\n const wbuf = Buffer.alloc(wsize);\n buf.copy(wbuf, 0, 0, wsize);\n this.transport.write(wbuf);\n }\n }\n i64ToZigzag(i64) {\n if (typeof i64 === 'string') {\n i64 = new types_1.Int64(parseInt(i64, 10));\n }\n else if (typeof i64 === 'number') {\n i64 = new types_1.Int64(i64);\n }\n if (!(i64 instanceof types_1.Int64)) {\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA, `Expected Int64 or Number, found: ${i64}`);\n }\n else {\n let hi = i64.buffer.readUInt32BE(0, true);\n let lo = i64.buffer.readUInt32BE(4, true);\n const sign = hi >>> 31;\n hi = ((hi << 1) | (lo >>> 31)) ^ (!!sign ? 0xffffffff : 0);\n lo = (lo << 1) ^ (!!sign ? 0xffffffff : 0);\n return new types_1.Int64(hi, lo);\n }\n }\n i32ToZigzag(i32) {\n return (i32 << 1) ^ (i32 & 0x80000000 ? 0xffffffff : 0);\n }\n}\nexports.CompactProtocol = CompactProtocol;\n//# sourceMappingURL=CompactProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js": -/*!******************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst parseJson_1 = __webpack_require__(/*! ../parseJson */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/parseJson.js\");\nconst TProtocol_1 = __webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\");\nclass JSONProtocol extends TProtocol_1.TProtocol {\n constructor(trans) {\n super(trans);\n this.tstack = [];\n this.tpos = [];\n this.rstack = [];\n this.rpos = [];\n this.tstack = [];\n this.tpos = [];\n }\n writeMessageBegin(name, type, id) {\n this.tstack = [];\n this.tpos = [];\n this.tstack.push([JSONProtocol.version, `\"${name}\"`, type, id]);\n }\n writeMessageEnd() {\n const obj = this.tstack.pop();\n const wobj = this.tstack.pop();\n wobj.push(obj);\n const wbuf = `[${wobj.join(',')}]`;\n this.transport.write(Buffer.from(wbuf));\n }\n writeStructBegin(name) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({});\n }\n writeStructEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n const struct = this.tstack[p];\n let str = '{';\n let first = true;\n for (const key of Object.keys(struct)) {\n if (first) {\n first = false;\n }\n else {\n str += ',';\n }\n str += `${key}:${struct[key]}`;\n }\n str += '}';\n this.tstack[p] = str;\n }\n writeFieldBegin(name, type, id) {\n this.tpos.push(this.tstack.length);\n this.tstack.push({\n fieldId: `\"${id}\"`,\n fieldType: this.getTypeName(type),\n });\n }\n writeFieldEnd() {\n const value = this.tstack.pop();\n const fieldInfo = this.tstack.pop();\n this.tstack[this.tstack.length - 1][fieldInfo.fieldId] = `{${fieldInfo.fieldType}:${value}}`;\n this.tpos.pop();\n }\n writeFieldStop() { }\n writeMapBegin(keyType, valType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([\n this.getTypeName(keyType),\n this.getTypeName(valType),\n 0,\n ]);\n }\n writeMapEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n if (p === this.tstack.length) {\n return;\n }\n if ((this.tstack.length - p - 1) % 2 !== 0) {\n this.tstack.push('');\n }\n const size = (this.tstack.length - p - 1) / 2;\n this.tstack[p][this.tstack[p].length - 1] = size;\n let map = '}';\n let first = true;\n while (this.tstack.length > p + 1) {\n const v = this.tstack.pop();\n let k = this.tstack.pop();\n if (first) {\n first = false;\n }\n else {\n map = `,${map}`;\n }\n if (!isNaN(k)) {\n k = `\"${k}\"`;\n }\n map = `${k}:${v}${map}`;\n }\n map = `{${map}`;\n this.tstack[p].push(map);\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeListBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeListEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeSetBegin(elemType, size) {\n this.tpos.push(this.tstack.length);\n this.tstack.push([this.getTypeName(elemType), size]);\n }\n writeSetEnd() {\n const p = this.tpos.pop();\n if (p === undefined) {\n return;\n }\n while (this.tstack.length > p + 1) {\n const tmpVal = this.tstack[p + 1];\n this.tstack.splice(p + 1, 1);\n this.tstack[p].push(tmpVal);\n }\n this.tstack[p] = `[${this.tstack[p].join(',')}]`;\n }\n writeBool(value) {\n this.tstack.push(value ? 1 : 0);\n }\n writeByte(i8) {\n this.tstack.push(i8);\n }\n writeI16(i16) {\n this.tstack.push(i16);\n }\n writeI32(i32) {\n this.tstack.push(i32);\n }\n writeI64(i64) {\n if (i64 instanceof types_1.Int64) {\n this.tstack.push(i64.toDecimalString());\n }\n else {\n this.tstack.push(i64);\n }\n }\n writeDouble(dbl) {\n this.tstack.push(dbl);\n }\n writeString(str) {\n if (str === null) {\n this.tstack.push(null);\n }\n else {\n let escapedString = '';\n for (let i = 0; i < str.length; i++) {\n const ch = str.charAt(i);\n if (ch === '\"') {\n escapedString += '\\\\\"';\n }\n else if (ch === '\\\\') {\n escapedString += '\\\\\\\\';\n }\n else if (ch === '\\b') {\n escapedString += '\\\\b';\n }\n else if (ch === '\\f') {\n escapedString += '\\\\f';\n }\n else if (ch === '\\n') {\n escapedString += '\\\\n';\n }\n else if (ch === '\\r') {\n escapedString += '\\\\r';\n }\n else if (ch === '\\t') {\n escapedString += '\\\\t';\n }\n else {\n escapedString += ch;\n }\n }\n this.tstack.push(`\"${escapedString}\"`);\n }\n }\n writeBinary(binary) {\n let str = '';\n if (typeof binary === 'string') {\n str = binary;\n }\n else if (binary instanceof Buffer) {\n const arr = binary;\n for (const i of arr) {\n str += String.fromCharCode(arr[i]);\n }\n }\n else {\n throw new TypeError('writeBinary only accepts String or Buffer.');\n }\n this.tstack.push(`\"${Buffer.from(str).toString('base64')}\"`);\n }\n readMessageBegin() {\n this.rstack = [];\n this.rpos = [];\n const robj = parseJson_1.parseJson(this.transport.readAll());\n const version = robj.shift();\n if (version !== JSONProtocol.version) {\n throw new Error(`Wrong thrift protocol version: ${version}`);\n }\n const r = {\n fieldName: robj.shift(),\n messageType: robj.shift(),\n requestId: robj.shift(),\n };\n this.rstack.push(robj.shift());\n return r;\n }\n readMessageEnd() { }\n readStructBegin() {\n const r = {\n fieldName: '',\n };\n if (this.rstack[this.rstack.length - 1] instanceof Array) {\n this.rstack.push(this.rstack[this.rstack.length - 1].shift());\n }\n return r;\n }\n readStructEnd() {\n if (this.rstack[this.rstack.length - 2] instanceof Array) {\n this.rstack.pop();\n }\n }\n readFieldBegin() {\n let fid = -1;\n let ftype = types_1.TType.STOP;\n for (const f in this.rstack[this.rstack.length - 1]) {\n if (f === null) {\n continue;\n }\n fid = parseInt(f, 10);\n this.rpos.push(this.rstack.length);\n const field = this.rstack[this.rstack.length - 1][fid];\n delete this.rstack[this.rstack.length - 1][fid];\n this.rstack.push(field);\n break;\n }\n if (fid !== -1) {\n for (const i in this.rstack[this.rstack.length - 1]) {\n if (JSONProtocol.rType[i] === null) {\n continue;\n }\n ftype = JSONProtocol.rType[i];\n this.rstack[this.rstack.length - 1] = this.rstack[this.rstack.length - 1][i];\n }\n }\n return {\n fieldId: fid,\n fieldName: '',\n fieldType: ftype,\n };\n }\n readFieldEnd() {\n const pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n while (this.rstack.length > pos) {\n this.rstack.pop();\n }\n }\n readMapBegin() {\n let map = this.rstack.pop();\n let first = map.shift();\n if (first instanceof Array) {\n this.rstack.push(map);\n map = first;\n first = map.shift();\n }\n const r = {\n keyType: JSONProtocol.rType[first],\n valueType: JSONProtocol.rType[map.shift()],\n size: map.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(map.shift());\n return r;\n }\n readMapEnd() {\n this.readFieldEnd();\n }\n readListBegin() {\n const list = this.rstack[this.rstack.length - 1];\n const r = {\n elementType: JSONProtocol.rType[list.shift()],\n size: list.shift(),\n };\n this.rpos.push(this.rstack.length);\n this.rstack.push(list.shift());\n return r;\n }\n readListEnd() {\n let pos = this.rpos.pop();\n if (pos === undefined) {\n return;\n }\n pos = pos - 2;\n const st = this.rstack;\n st.pop();\n if (st instanceof Array && st.length > pos && st[pos].length > 0) {\n st.push(st[pos].shift());\n }\n }\n readSetBegin() {\n return this.readListBegin();\n }\n readSetEnd() {\n return this.readListEnd();\n }\n readBool() {\n const r = this.readValue();\n if (r === null) {\n return false;\n }\n else if (r === '1' || r === 1) {\n return true;\n }\n else {\n return false;\n }\n }\n readByte() {\n return this.readI32();\n }\n readI16() {\n return this.readI32();\n }\n readI32() {\n return parseInt(this.readValue(), 10);\n }\n readI64() {\n return types_1.Int64.fromDecimalString(`${this.readValue()}`);\n }\n readDouble() {\n return parseFloat(this.readValue());\n }\n readBinary() {\n return Buffer.alloc(this.readValue(), 'base64');\n }\n readString() {\n return this.readValue();\n }\n skip(type) {\n switch (type) {\n case types_1.TType.STOP:\n return null;\n case types_1.TType.BOOL:\n return this.readBool();\n case types_1.TType.BYTE:\n return this.readByte();\n case types_1.TType.I16:\n return this.readI16();\n case types_1.TType.I32:\n return this.readI32();\n case types_1.TType.I64:\n return this.readI64();\n case types_1.TType.DOUBLE:\n return this.readDouble();\n case types_1.TType.STRING:\n return this.readString();\n case types_1.TType.STRUCT:\n this.readStructBegin();\n while (true) {\n const struct = this.readFieldBegin();\n if (struct.fieldType === types_1.TType.STOP) {\n break;\n }\n this.skip(struct.fieldType);\n this.readFieldEnd();\n }\n this.readStructEnd();\n return null;\n case types_1.TType.MAP:\n const map = this.readMapBegin();\n for (let i = 0; i < map.size; i++) {\n if (i > 0) {\n if (this.rstack.length >\n this.rpos[this.rpos.length - 1] + 1) {\n this.rstack.pop();\n }\n }\n this.skip(map.keyType);\n this.skip(map.keyType);\n }\n this.readMapEnd();\n return null;\n case types_1.TType.SET:\n const set = this.readSetBegin();\n for (let i = 0; i < set.size; i++) {\n this.skip(set.elementType);\n }\n this.readSetEnd();\n return null;\n case types_1.TType.LIST:\n const list = this.readListBegin();\n for (let i = 0; i < list.size; i++) {\n this.skip(list.elementType);\n }\n this.readListEnd();\n return null;\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.INVALID_DATA);\n }\n }\n readValue() {\n const f = this.rstack[this.rstack.length - 1];\n if (f instanceof Array) {\n if (f.length === 0) {\n return undefined;\n }\n else {\n return f.shift();\n }\n }\n else if (f instanceof Object) {\n for (const i in f) {\n if (i === null) {\n continue;\n }\n this.rstack.push(f[i]);\n delete f[i];\n return i;\n break;\n }\n }\n else {\n this.rstack.pop();\n return f;\n }\n }\n getTypeName(type) {\n switch (type) {\n case types_1.TType.BOOL:\n return '\"tf\"';\n case types_1.TType.BYTE:\n return '\"i8\"';\n case types_1.TType.I16:\n return '\"i16\"';\n case types_1.TType.I32:\n return '\"i32\"';\n case types_1.TType.I64:\n return '\"i64\"';\n case types_1.TType.DOUBLE:\n return '\"dbl\"';\n case types_1.TType.STRUCT:\n return '\"rec\"';\n case types_1.TType.STRING:\n return '\"str\"';\n case types_1.TType.MAP:\n return '\"map\"';\n case types_1.TType.LIST:\n return '\"lst\"';\n case types_1.TType.SET:\n return '\"set\"';\n default:\n throw new errors_1.TProtocolException(errors_1.TProtocolExceptionType.NOT_IMPLEMENTED, `Unrecognized type ${type}`);\n }\n }\n}\nJSONProtocol.version = 1;\nJSONProtocol.rType = {\n tf: types_1.TType.BOOL,\n i8: types_1.TType.BYTE,\n i16: types_1.TType.I16,\n i32: types_1.TType.I32,\n i64: types_1.TType.I64,\n dbl: types_1.TType.DOUBLE,\n rec: types_1.TType.STRUCT,\n str: types_1.TType.STRING,\n map: types_1.TType.MAP,\n lst: types_1.TType.LIST,\n set: types_1.TType.SET,\n};\nexports.JSONProtocol = JSONProtocol;\n//# sourceMappingURL=JSONProtocol.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js": -/*!***************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nclass TProtocol {\n constructor(trans, logger = logger_1.defaultLogger) {\n this.transport = trans;\n this.logger = logger;\n this.requestId = null;\n }\n getTransport() {\n return this.transport;\n }\n flush() {\n return this.transport.flush();\n }\n}\nexports.TProtocol = TProtocol;\n//# sourceMappingURL=TProtocol.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js": -/*!***********************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js ***! - \***********************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BinaryProtocol_1 = __webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\");\nconst CompactProtocol_1 = __webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\");\nconst JSONProtocol_1 = __webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\");\n__export(__webpack_require__(/*! ./BinaryProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/BinaryProtocol.js\"));\n__export(__webpack_require__(/*! ./CompactProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/CompactProtocol.js\"));\n__export(__webpack_require__(/*! ./JSONProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/JSONProtocol.js\"));\n__export(__webpack_require__(/*! ./TProtocol */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/TProtocol.js\"));\nconst protocols = {\n binary: BinaryProtocol_1.BinaryProtocol,\n compact: CompactProtocol_1.CompactProtocol,\n json: JSONProtocol_1.JSONProtocol,\n};\nexports.supportedProtocols = Object.keys(protocols);\nfunction isProtocolSupported(protocol) {\n return exports.supportedProtocols.indexOf(protocol) !== -1;\n}\nexports.isProtocolSupported = isProtocolSupported;\nfunction getProtocol(protocol = 'binary') {\n if (protocol && !isProtocolSupported(protocol)) {\n throw new Error(`Invalid protocol specified. Supported values: ${exports.supportedProtocols.join(', ')}`);\n }\n return protocols[protocol];\n}\nexports.getProtocol = getProtocol;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js": -/*!************************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js ***! - \************************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst errors_1 = __webpack_require__(/*! ../errors */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/errors/index.js\");\nconst TTransport_1 = __webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\");\nconst DEFAULT_READ_BUFFER_SIDE = 1024;\nclass BufferedTransport extends TTransport_1.TTransport {\n static receiver(data) {\n const reader = new BufferedTransport(Buffer.alloc(data.length));\n data.copy(reader.buffer, 0, 0);\n return reader;\n }\n constructor(buffer) {\n super(buffer || Buffer.alloc(DEFAULT_READ_BUFFER_SIDE));\n this.readCursor = 0;\n this.writeCursor = buffer !== undefined ? buffer.length : 0;\n this.outBuffers = [];\n this.outCount = 0;\n }\n remaining() {\n const remainingSize = this.writeCursor - this.readCursor;\n const remainingBuffer = Buffer.alloc(remainingSize);\n if (remainingSize > 0) {\n this.buffer.copy(remainingBuffer, 0, this.readCursor, this.writeCursor);\n }\n return remainingBuffer;\n }\n commitPosition() {\n const unreadSize = this.writeCursor - this.readCursor;\n const bufSize = unreadSize * 2 > DEFAULT_READ_BUFFER_SIDE\n ? unreadSize * 2\n : DEFAULT_READ_BUFFER_SIDE;\n const buf = Buffer.alloc(bufSize);\n if (unreadSize > 0) {\n this.buffer.copy(buf, 0, this.readCursor, this.writeCursor);\n }\n this.readCursor = 0;\n this.writeCursor = unreadSize;\n this.buffer = buf;\n }\n rollbackPosition() {\n this.readCursor = 0;\n }\n isOpen() {\n return true;\n }\n open() {\n return true;\n }\n close() {\n return true;\n }\n read(len) {\n this.ensureAvailable(len);\n const buf = Buffer.alloc(len);\n this.buffer.copy(buf, 0, this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return buf;\n }\n readByte() {\n this.ensureAvailable(1);\n return binary.readByte(this.buffer[this.readCursor++]);\n }\n readI16() {\n this.ensureAvailable(2);\n const i16 = binary.readI16(this.buffer, this.readCursor);\n this.readCursor += 2;\n return i16;\n }\n readI32() {\n this.ensureAvailable(4);\n const i32 = binary.readI32(this.buffer, this.readCursor);\n this.readCursor += 4;\n return i32;\n }\n readDouble() {\n this.ensureAvailable(8);\n const d = binary.readDouble(this.buffer, this.readCursor);\n this.readCursor += 8;\n return d;\n }\n readString(len) {\n this.ensureAvailable(len);\n const str = this.buffer.toString('utf8', this.readCursor, this.readCursor + len);\n this.readCursor += len;\n return str;\n }\n readAll() {\n return this.readString(this.buffer.length - this.readCursor);\n }\n consume(len) {\n this.readCursor += len;\n }\n write(buf) {\n if (buf instanceof Buffer) {\n this.outBuffers.push(buf);\n this.outCount += buf.length;\n }\n else {\n throw new TypeError(`Expected buffer but found type ${typeof buf}`);\n }\n }\n flush() {\n if (this.outCount < 1) {\n return Buffer.alloc(0);\n }\n const msg = Buffer.alloc(this.outCount);\n let pos = 0;\n this.outBuffers.forEach((buf) => {\n buf.copy(msg, pos, 0);\n pos += buf.length;\n });\n this.outBuffers = [];\n this.outCount = 0;\n return msg;\n }\n ensureAvailable(len) {\n if (this.readCursor + len > this.buffer.length) {\n throw new errors_1.InputBufferUnderrunError();\n }\n }\n}\nexports.BufferedTransport = BufferedTransport;\n//# sourceMappingURL=BufferedTransport.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js": -/*!*****************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js ***! - \*****************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass TTransport {\n static receiver(data) {\n throw new Error('Not implemented');\n }\n constructor(buffer) {\n this.buffer = buffer;\n this.requestId = null;\n }\n}\nexports.TTransport = TTransport;\n//# sourceMappingURL=TTransport.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js": -/*!***********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js ***! - \***********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst binary = __webpack_require__(/*! ../binary */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/binary.js\");\nconst MAX_PACKETS = 10;\nclass ThriftFrameCodec {\n encode(dateToSend) {\n const msg = Buffer.alloc(dateToSend.length + 4);\n binary.writeI32(msg, dateToSend.length);\n dateToSend.copy(msg, 4, 0, dateToSend.length);\n return msg;\n }\n decode(dataToRead) {\n const dataToReturn = Buffer.alloc(dataToRead.length - 4);\n let writeCursor = 0;\n let count = 0;\n while (dataToRead.length > 0) {\n if (dataToRead.length < 4) {\n return Buffer.alloc(0);\n }\n else {\n const frameSize = binary.readI32(dataToRead, 0);\n if (dataToRead.length < 4 + frameSize) {\n return Buffer.alloc(0);\n }\n const frame = dataToRead.slice(4, 4 + frameSize);\n const remaining = dataToRead.slice(4 + frameSize);\n frame.copy(dataToReturn, 0, writeCursor);\n writeCursor += frame.length;\n dataToRead = remaining;\n count++;\n if (count >= MAX_PACKETS) {\n dataToRead = Buffer.alloc(0);\n }\n }\n }\n return dataToReturn;\n }\n}\nexports.ThriftFrameCodec = ThriftFrameCodec;\n//# sourceMappingURL=ThriftFrameCodec.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js": -/*!************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js ***! - \************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst BufferedTransport_1 = __webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\");\n__export(__webpack_require__(/*! ./BufferedTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/BufferedTransport.js\"));\n__export(__webpack_require__(/*! ./TTransport */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/TTransport.js\"));\n__export(__webpack_require__(/*! ./ThriftFrameCodec */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/ThriftFrameCodec.js\"));\nconst transports = {\n buffered: BufferedTransport_1.BufferedTransport,\n};\nexports.supportedTransports = Object.keys(transports);\nfunction isTransportSupported(transport) {\n return exports.supportedTransports.indexOf(transport) !== -1;\n}\nexports.isTransportSupported = isTransportSupported;\nfunction getTransport(transport = 'buffered') {\n if (!isTransportSupported(transport)) {\n throw new Error(`Invalid transport specified. Supported values: ${exports.supportedTransports.join(', ')}`);\n }\n return transports[transport];\n}\nexports.getTransport = getTransport;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/types.js": -/*!*************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/types.js ***! - \*************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__export(__webpack_require__(/*! ./Int64 */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/Int64.js\"));\nclass ThriftConnection {\n constructor(Transport, Protocol) {\n this.Transport = Transport;\n this.Protocol = Protocol;\n }\n}\nexports.ThriftConnection = ThriftConnection;\nclass StructLike {\n constructor() {\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n}\nexports.StructLike = StructLike;\nclass ThriftClient {\n constructor(connection) {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n this._requestId = 0;\n this.transport = connection.Transport;\n this.protocol = connection.Protocol;\n this.connection = connection;\n }\n incrementRequestId() {\n return (this._requestId += 1);\n }\n}\nThriftClient.serviceName = undefined;\nThriftClient.annotations = {};\nThriftClient.methodAnnotations = {};\nThriftClient.methodNames = [];\nexports.ThriftClient = ThriftClient;\nclass ThriftProcessor {\n constructor() {\n this._serviceName = '';\n this._annotations = {};\n this._methodAnnotations = {};\n this._methodNames = [];\n }\n}\nThriftProcessor.serviceName = undefined;\nThriftProcessor.annotations = {};\nThriftProcessor.methodAnnotations = {};\nThriftProcessor.methodNames = [];\nexports.ThriftProcessor = ThriftProcessor;\nvar TType;\n(function (TType) {\n TType[TType[\"STOP\"] = 0] = \"STOP\";\n TType[TType[\"VOID\"] = 1] = \"VOID\";\n TType[TType[\"BOOL\"] = 2] = \"BOOL\";\n TType[TType[\"BYTE\"] = 3] = \"BYTE\";\n TType[TType[\"I08\"] = 3] = \"I08\";\n TType[TType[\"DOUBLE\"] = 4] = \"DOUBLE\";\n TType[TType[\"I16\"] = 6] = \"I16\";\n TType[TType[\"I32\"] = 8] = \"I32\";\n TType[TType[\"I64\"] = 10] = \"I64\";\n TType[TType[\"STRING\"] = 11] = \"STRING\";\n TType[TType[\"UTF7\"] = 11] = \"UTF7\";\n TType[TType[\"STRUCT\"] = 12] = \"STRUCT\";\n TType[TType[\"MAP\"] = 13] = \"MAP\";\n TType[TType[\"SET\"] = 14] = \"SET\";\n TType[TType[\"LIST\"] = 15] = \"LIST\";\n TType[TType[\"ENUM\"] = 16] = \"ENUM\";\n TType[TType[\"UTF8\"] = 16] = \"UTF8\";\n TType[TType[\"UTF16\"] = 17] = \"UTF16\";\n})(TType = exports.TType || (exports.TType = {}));\nvar MessageType;\n(function (MessageType) {\n MessageType[MessageType[\"CALL\"] = 1] = \"CALL\";\n MessageType[MessageType[\"REPLY\"] = 2] = \"REPLY\";\n MessageType[MessageType[\"EXCEPTION\"] = 3] = \"EXCEPTION\";\n MessageType[MessageType[\"ONEWAY\"] = 4] = \"ONEWAY\";\n})(MessageType = exports.MessageType || (exports.MessageType = {}));\n//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/types.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(Buffer) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction encode(thriftObject, ThriftCodec, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol) {\n return new Promise((resolve, reject) => {\n const transport = new Transport();\n const protocol = new Protocol(transport);\n ThriftCodec.encode(thriftObject, protocol);\n const data = protocol.flush();\n resolve(data);\n });\n}\nexports.encode = encode;\nfunction appendThriftObject(value, data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n return encode(value, ThriftCodec, Transport, Protocol).then((encoded) => {\n return Buffer.concat([encoded, data]);\n });\n}\nexports.appendThriftObject = appendThriftObject;\n//# sourceMappingURL=appendThriftObject.js.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../../../buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js": -/*!*******************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js ***! - \*******************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst merge = __webpack_require__(/*! lodash/merge */ \"./node_modules/lodash/merge.js\");\nconst url = __webpack_require__(/*! url */ \"./node_modules/node-libs-browser/node_modules/url/url.js\");\n__export(__webpack_require__(/*! ./appendThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/appendThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftObject */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js\"));\n__export(__webpack_require__(/*! ./readThriftMetadata */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js\"));\n__export(__webpack_require__(/*! ./normalizePath */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js\"));\nfunction deepMerge(base, update) {\n return merge({}, base, update);\n}\nexports.deepMerge = deepMerge;\nfunction overlayObjects(...objs) {\n return objs.reduce((acc, next) => {\n return deepMerge(acc, next);\n }, {});\n}\nexports.overlayObjects = overlayObjects;\nfunction formatUrl(requestUrl) {\n const parsed = url.parse(url.format(requestUrl));\n if (!parsed.pathname) {\n return `${parsed.hostname || ''}/`;\n }\n else {\n return `${parsed.hostname || ''}${parsed.pathname}`;\n }\n}\nexports.formatUrl = formatUrl;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/index.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js": -/*!***************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js ***! - \***************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.normalizePath = (path = '/') => {\n path = path.trim();\n if (path === '/' || path === '') {\n return '';\n }\n if (!path.startsWith('/')) {\n path = `/${path}`;\n }\n if (path.endsWith('/')) {\n path = path.substring(0, path.length - 1);\n }\n return path;\n};\n//# sourceMappingURL=normalizePath.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/normalizePath.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js": -/*!********************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js ***! - \********************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst logger_1 = __webpack_require__(/*! ../logger */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/logger.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftMetadata(buffer, Transport, Protocol, logger) {\n try {\n const transportWithData = new Transport(buffer);\n const input = new Protocol(transportWithData);\n return input.readMessageBegin();\n }\n catch (err) {\n logger(['warn', 'readThriftMetadata'], `Unable to read Thrift message. ${err.message}`);\n throw err;\n }\n}\nexports.readThriftMetadata = readThriftMetadata;\nfunction readThriftMethod(buffer, Transport = transports_1.BufferedTransport, Protocol = protocols_1.BinaryProtocol, logger = logger_1.defaultLogger) {\n try {\n const { fieldName } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return fieldName;\n }\n catch (err) {\n logger(['warn', 'readThrfitMethod'], `Unable to read Thrift method name. ${err.message}`);\n return '';\n }\n}\nexports.readThriftMethod = readThriftMethod;\nfunction readRequestId(buffer, Transport, Protocol, logger = logger_1.defaultLogger) {\n try {\n const { requestId } = readThriftMetadata(buffer, Transport, Protocol, logger);\n return requestId;\n }\n catch (err) {\n logger(['warn', 'readRequestId'], `Unable to read Thrift requestId. ${err.message}`);\n return 0;\n }\n}\nexports.readRequestId = readRequestId;\n//# sourceMappingURL=readThriftMetadata.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftMetadata.js?"); - -/***/ }), - -/***/ "./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js": -/*!******************************************************************************************!*\ - !*** ./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js ***! - \******************************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst types_1 = __webpack_require__(/*! ../types */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/types.js\");\nconst protocols_1 = __webpack_require__(/*! ../protocols */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/protocols/index.js\");\nconst transports_1 = __webpack_require__(/*! ../transports */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/transports/index.js\");\nfunction readThriftObject(data, ThriftCodec, transportType = 'buffered', protocolType = 'binary') {\n return new Promise((resolve, reject) => {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n const decoded = ThriftCodec.decode(input);\n resolve([decoded, receiver.remaining()]);\n });\n}\nexports.readThriftObject = readThriftObject;\nfunction stripStruct(data, transportType = 'buffered', protocolType = 'binary') {\n try {\n const Transport = transports_1.getTransport(transportType);\n const Protocol = protocols_1.getProtocol(protocolType);\n const receiver = new Transport(data);\n const input = new Protocol(receiver);\n input.readStructBegin();\n while (true) {\n const ret = input.readFieldBegin();\n const fieldType = ret.fieldType;\n if (fieldType === types_1.TType.STOP) {\n break;\n }\n else {\n input.skip(fieldType);\n }\n input.readFieldEnd();\n }\n input.readStructEnd();\n return receiver.remaining();\n }\n catch (err) {\n return data;\n }\n}\nexports.stripStruct = stripStruct;\n//# sourceMappingURL=readThriftObject.js.map\n\n//# sourceURL=webpack:///./node_modules/@creditkarma/thrift-server-core/dist/main/utils/readThriftObject.js?"); - -/***/ }), - -/***/ "./node_modules/base64-js/index.js": -/*!*****************************************!*\ - !*** ./node_modules/base64-js/index.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./node_modules/base64-js/index.js?"); - -/***/ }), - -/***/ "./node_modules/buffer/index.js": -/*!**************************************!*\ - !*** ./node_modules/buffer/index.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/buffer/index.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_a-function.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_a-function.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_a-function.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_add-to-unscopables.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_add-to-unscopables.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\")(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_add-to-unscopables.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_an-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_an-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_an-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-constructor.js": -/*!********************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-constructor.js ***! - \********************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar SPECIES = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('species');\n\nmodule.exports = function (original) {\n var C;\n if (isArray(original)) {\n C = original.constructor;\n // cross-realm fallback\n if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-constructor.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_array-species-create.js": -/*!***************************************************************!*\ - !*** ./node_modules/core-js/modules/_array-species-create.js ***! - \***************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = __webpack_require__(/*! ./_array-species-constructor */ \"./node_modules/core-js/modules/_array-species-constructor.js\");\n\nmodule.exports = function (original, length) {\n return new (speciesConstructor(original))(length);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_array-species-create.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_cof.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_cof.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_cof.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_core.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_core.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var core = module.exports = { version: '2.6.10' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_core.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ctx.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_ctx.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ctx.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_defined.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_defined.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_defined.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_descriptors.js": -/*!******************************************************!*\ - !*** ./node_modules/core-js/modules/_descriptors.js ***! - \******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_descriptors.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_dom-create.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_dom-create.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_dom-create.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_export.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_export.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if (target) redefine(target, key, out, type & $export.U);\n // export\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_export.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_fails.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_fails.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_fails.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flags.js": -/*!************************************************!*\ - !*** ./node_modules/core-js/modules/_flags.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flags.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_flatten-into-array.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_flatten-into-array.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/modules/_is-array.js\");\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/modules/_ctx.js\");\nvar IS_CONCAT_SPREADABLE = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/modules/_wks.js\")('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n var element, spreadable;\n\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n spreadable = false;\n if (isObject(element)) {\n spreadable = element[IS_CONCAT_SPREADABLE];\n spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n }\n\n if (spreadable && depth > 0) {\n targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n } else {\n if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n target[targetIndex] = element;\n }\n\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_flatten-into-array.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_function-to-string.js": -/*!*************************************************************!*\ - !*** ./node_modules/core-js/modules/_function-to-string.js ***! - \*************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('native-function-to-string', Function.toString);\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_function-to-string.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_global.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_global.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_global.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_has.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_has.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_has.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_hide.js": -/*!***********************************************!*\ - !*** ./node_modules/core-js/modules/_hide.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\");\nvar createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_hide.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_ie8-dom-define.js": -/*!*********************************************************!*\ - !*** ./node_modules/core-js/modules/_ie8-dom-define.js ***! - \*********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("module.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () {\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/modules/_dom-create.js\")('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_ie8-dom-define.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-array.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_is-array.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-array.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_is-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_is-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_is-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_library.js": -/*!**************************************************!*\ - !*** ./node_modules/core-js/modules/_library.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = false;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_library.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_object-dp.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_object-dp.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/modules/_ie8-dom-define.js\");\nvar toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/modules/_to-primitive.js\");\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_object-dp.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_property-desc.js": -/*!********************************************************!*\ - !*** ./node_modules/core-js/modules/_property-desc.js ***! - \********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_property-desc.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_redefine.js": -/*!***************************************************!*\ - !*** ./node_modules/core-js/modules/_redefine.js ***! - \***************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/modules/_hide.js\");\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/modules/_has.js\");\nvar SRC = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\")('src');\nvar $toString = __webpack_require__(/*! ./_function-to-string */ \"./node_modules/core-js/modules/_function-to-string.js\");\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n__webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\").inspectSource = function (it) {\n return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_redefine.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_shared.js": -/*!*************************************************!*\ - !*** ./node_modules/core-js/modules/_shared.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/modules/_core.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\");\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(/*! ./_library */ \"./node_modules/core-js/modules/_library.js\") ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_shared.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-integer.js": -/*!*****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-integer.js ***! - \*****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-integer.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-length.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-length.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/modules/_to-integer.js\");\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-length.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-object.js": -/*!****************************************************!*\ - !*** ./node_modules/core-js/modules/_to-object.js ***! - \****************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/modules/_defined.js\");\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-object.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_to-primitive.js": -/*!*******************************************************!*\ - !*** ./node_modules/core-js/modules/_to-primitive.js ***! - \*******************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_to-primitive.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_uid.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_uid.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_uid.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/_wks.js": -/*!**********************************************!*\ - !*** ./node_modules/core-js/modules/_wks.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/modules/_shared.js\")('wks');\nvar uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/modules/_uid.js\");\nvar Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/modules/_global.js\").Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/_wks.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.flags.js": -/*!**********************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.flags.js ***! - \**********************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("// 21.2.5.3 get RegExp.prototype.flags()\nif (__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\") && /./g.flags != 'g') __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/modules/_object-dp.js\").f(RegExp.prototype, 'flags', {\n configurable: true,\n get: __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\")\n});\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.flags.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es6.regexp.to-string.js": -/*!**************************************************************!*\ - !*** ./node_modules/core-js/modules/es6.regexp.to-string.js ***! - \**************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n__webpack_require__(/*! ./es6.regexp.flags */ \"./node_modules/core-js/modules/es6.regexp.flags.js\");\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/modules/_an-object.js\");\nvar $flags = __webpack_require__(/*! ./_flags */ \"./node_modules/core-js/modules/_flags.js\");\nvar DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/modules/_descriptors.js\");\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/modules/_redefine.js\")(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/modules/_fails.js\")(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n define(function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n define(function toString() {\n return $toString.call(this);\n });\n}\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es6.regexp.to-string.js?"); - -/***/ }), - -/***/ "./node_modules/core-js/modules/es7.array.flat-map.js": -/*!************************************************************!*\ - !*** ./node_modules/core-js/modules/es7.array.flat-map.js ***! - \************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/modules/_export.js\");\nvar flattenIntoArray = __webpack_require__(/*! ./_flatten-into-array */ \"./node_modules/core-js/modules/_flatten-into-array.js\");\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/modules/_to-object.js\");\nvar toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/modules/_to-length.js\");\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/modules/_a-function.js\");\nvar arraySpeciesCreate = __webpack_require__(/*! ./_array-species-create */ \"./node_modules/core-js/modules/_array-species-create.js\");\n\n$export($export.P, 'Array', {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen, A;\n aFunction(callbackfn);\n sourceLen = toLength(O.length);\n A = arraySpeciesCreate(O, 0);\n flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});\n\n__webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/modules/_add-to-unscopables.js\")('flatMap');\n\n\n//# sourceURL=webpack:///./node_modules/core-js/modules/es7.array.flat-map.js?"); - -/***/ }), - -/***/ "./node_modules/ieee754/index.js": -/*!***************************************!*\ - !*** ./node_modules/ieee754/index.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("exports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./node_modules/ieee754/index.js?"); - -/***/ }), - -/***/ "./node_modules/isarray/index.js": -/*!***************************************!*\ - !*** ./node_modules/isarray/index.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/isarray/index.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Hash.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/_Hash.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var hashClear = __webpack_require__(/*! ./_hashClear */ \"./node_modules/lodash/_hashClear.js\"),\n hashDelete = __webpack_require__(/*! ./_hashDelete */ \"./node_modules/lodash/_hashDelete.js\"),\n hashGet = __webpack_require__(/*! ./_hashGet */ \"./node_modules/lodash/_hashGet.js\"),\n hashHas = __webpack_require__(/*! ./_hashHas */ \"./node_modules/lodash/_hashHas.js\"),\n hashSet = __webpack_require__(/*! ./_hashSet */ \"./node_modules/lodash/_hashSet.js\");\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Hash.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_ListCache.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_ListCache.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ \"./node_modules/lodash/_listCacheClear.js\"),\n listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ \"./node_modules/lodash/_listCacheDelete.js\"),\n listCacheGet = __webpack_require__(/*! ./_listCacheGet */ \"./node_modules/lodash/_listCacheGet.js\"),\n listCacheHas = __webpack_require__(/*! ./_listCacheHas */ \"./node_modules/lodash/_listCacheHas.js\"),\n listCacheSet = __webpack_require__(/*! ./_listCacheSet */ \"./node_modules/lodash/_listCacheSet.js\");\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_ListCache.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Map.js": -/*!*************************************!*\ - !*** ./node_modules/lodash/_Map.js ***! - \*************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\"),\n root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Map.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_MapCache.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_MapCache.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ \"./node_modules/lodash/_mapCacheClear.js\"),\n mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ \"./node_modules/lodash/_mapCacheDelete.js\"),\n mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ \"./node_modules/lodash/_mapCacheGet.js\"),\n mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ \"./node_modules/lodash/_mapCacheHas.js\"),\n mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ \"./node_modules/lodash/_mapCacheSet.js\");\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_MapCache.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Stack.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/_Stack.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n stackClear = __webpack_require__(/*! ./_stackClear */ \"./node_modules/lodash/_stackClear.js\"),\n stackDelete = __webpack_require__(/*! ./_stackDelete */ \"./node_modules/lodash/_stackDelete.js\"),\n stackGet = __webpack_require__(/*! ./_stackGet */ \"./node_modules/lodash/_stackGet.js\"),\n stackHas = __webpack_require__(/*! ./_stackHas */ \"./node_modules/lodash/_stackHas.js\"),\n stackSet = __webpack_require__(/*! ./_stackSet */ \"./node_modules/lodash/_stackSet.js\");\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Stack.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Symbol.js": -/*!****************************************!*\ - !*** ./node_modules/lodash/_Symbol.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Symbol.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_Uint8Array.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_Uint8Array.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_Uint8Array.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_apply.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/_apply.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_apply.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_arrayLikeKeys.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_arrayLikeKeys.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseTimes = __webpack_require__(/*! ./_baseTimes */ \"./node_modules/lodash/_baseTimes.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_arrayLikeKeys.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assignMergeValue.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_assignMergeValue.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignMergeValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assignValue.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_assignValue.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\"),\n eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assignValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_assocIndexOf.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_assocIndexOf.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\");\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_assocIndexOf.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseAssignValue.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseAssignValue.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\");\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseAssignValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseCreate.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseCreate.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseCreate.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseFor.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_baseFor.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ \"./node_modules/lodash/_createBaseFor.js\");\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseFor.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseGetTag.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseGetTag.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\"),\n getRawTag = __webpack_require__(/*! ./_getRawTag */ \"./node_modules/lodash/_getRawTag.js\"),\n objectToString = __webpack_require__(/*! ./_objectToString */ \"./node_modules/lodash/_objectToString.js\");\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseGetTag.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsArguments.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseIsArguments.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsArguments.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsNative.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_baseIsNative.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isMasked = __webpack_require__(/*! ./_isMasked */ \"./node_modules/lodash/_isMasked.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n toSource = __webpack_require__(/*! ./_toSource */ \"./node_modules/lodash/_toSource.js\");\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsNative.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseIsTypedArray.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_baseIsTypedArray.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseIsTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseKeysIn.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_baseKeysIn.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\"),\n nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ \"./node_modules/lodash/_nativeKeysIn.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseKeysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseMerge.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseMerge.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Stack = __webpack_require__(/*! ./_Stack */ \"./node_modules/lodash/_Stack.js\"),\n assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n baseFor = __webpack_require__(/*! ./_baseFor */ \"./node_modules/lodash/_baseFor.js\"),\n baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ \"./node_modules/lodash/_baseMergeDeep.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\");\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMerge.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseMergeDeep.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_baseMergeDeep.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ \"./node_modules/lodash/_assignMergeValue.js\"),\n cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ \"./node_modules/lodash/_cloneBuffer.js\"),\n cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ \"./node_modules/lodash/_cloneTypedArray.js\"),\n copyArray = __webpack_require__(/*! ./_copyArray */ \"./node_modules/lodash/_copyArray.js\"),\n initCloneObject = __webpack_require__(/*! ./_initCloneObject */ \"./node_modules/lodash/_initCloneObject.js\"),\n isArguments = __webpack_require__(/*! ./isArguments */ \"./node_modules/lodash/isArguments.js\"),\n isArray = __webpack_require__(/*! ./isArray */ \"./node_modules/lodash/isArray.js\"),\n isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ \"./node_modules/lodash/isArrayLikeObject.js\"),\n isBuffer = __webpack_require__(/*! ./isBuffer */ \"./node_modules/lodash/isBuffer.js\"),\n isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\"),\n isPlainObject = __webpack_require__(/*! ./isPlainObject */ \"./node_modules/lodash/isPlainObject.js\"),\n isTypedArray = __webpack_require__(/*! ./isTypedArray */ \"./node_modules/lodash/isTypedArray.js\"),\n safeGet = __webpack_require__(/*! ./_safeGet */ \"./node_modules/lodash/_safeGet.js\"),\n toPlainObject = __webpack_require__(/*! ./toPlainObject */ \"./node_modules/lodash/toPlainObject.js\");\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseMergeDeep.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseRest.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_baseRest.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\"),\n overRest = __webpack_require__(/*! ./_overRest */ \"./node_modules/lodash/_overRest.js\"),\n setToString = __webpack_require__(/*! ./_setToString */ \"./node_modules/lodash/_setToString.js\");\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseRest.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseSetToString.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_baseSetToString.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var constant = __webpack_require__(/*! ./constant */ \"./node_modules/lodash/constant.js\"),\n defineProperty = __webpack_require__(/*! ./_defineProperty */ \"./node_modules/lodash/_defineProperty.js\"),\n identity = __webpack_require__(/*! ./identity */ \"./node_modules/lodash/identity.js\");\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseSetToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseTimes.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseTimes.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseTimes.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_baseUnary.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_baseUnary.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_baseUnary.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneArrayBuffer.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/_cloneArrayBuffer.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ \"./node_modules/lodash/_Uint8Array.js\");\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneArrayBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneBuffer.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_cloneBuffer.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_cloneTypedArray.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_cloneTypedArray.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ \"./node_modules/lodash/_cloneArrayBuffer.js\");\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_cloneTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_copyArray.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_copyArray.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_copyObject.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_copyObject.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assignValue = __webpack_require__(/*! ./_assignValue */ \"./node_modules/lodash/_assignValue.js\"),\n baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ \"./node_modules/lodash/_baseAssignValue.js\");\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_copyObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_coreJsData.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_coreJsData.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\");\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_coreJsData.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_createAssigner.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_createAssigner.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseRest = __webpack_require__(/*! ./_baseRest */ \"./node_modules/lodash/_baseRest.js\"),\n isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ \"./node_modules/lodash/_isIterateeCall.js\");\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createAssigner.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_createBaseFor.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_createBaseFor.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_createBaseFor.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_defineProperty.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_defineProperty.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_defineProperty.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_freeGlobal.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_freeGlobal.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/lodash/_freeGlobal.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getMapData.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_getMapData.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isKeyable = __webpack_require__(/*! ./_isKeyable */ \"./node_modules/lodash/_isKeyable.js\");\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getMapData.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getNative.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_getNative.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ \"./node_modules/lodash/_baseIsNative.js\"),\n getValue = __webpack_require__(/*! ./_getValue */ \"./node_modules/lodash/_getValue.js\");\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getNative.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getPrototype.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_getPrototype.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var overArg = __webpack_require__(/*! ./_overArg */ \"./node_modules/lodash/_overArg.js\");\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getPrototype.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getRawTag.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_getRawTag.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Symbol = __webpack_require__(/*! ./_Symbol */ \"./node_modules/lodash/_Symbol.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getRawTag.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_getValue.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_getValue.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_getValue.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashClear.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_hashClear.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashDelete.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_hashDelete.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashGet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashGet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashHas.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashHas.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_hashSet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_hashSet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ \"./node_modules/lodash/_nativeCreate.js\");\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_hashSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_initCloneObject.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_initCloneObject.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseCreate = __webpack_require__(/*! ./_baseCreate */ \"./node_modules/lodash/_baseCreate.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isPrototype = __webpack_require__(/*! ./_isPrototype */ \"./node_modules/lodash/_isPrototype.js\");\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_initCloneObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isIndex.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_isIndex.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIndex.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isIterateeCall.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_isIterateeCall.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var eq = __webpack_require__(/*! ./eq */ \"./node_modules/lodash/eq.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isIndex = __webpack_require__(/*! ./_isIndex */ \"./node_modules/lodash/_isIndex.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isIterateeCall.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isKeyable.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/_isKeyable.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isKeyable.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isMasked.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_isMasked.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var coreJsData = __webpack_require__(/*! ./_coreJsData */ \"./node_modules/lodash/_coreJsData.js\");\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isMasked.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_isPrototype.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_isPrototype.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_isPrototype.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheClear.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_listCacheClear.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheDelete.js": -/*!*************************************************!*\ - !*** ./node_modules/lodash/_listCacheDelete.js ***! - \*************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheGet.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheGet.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheHas.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheHas.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_listCacheSet.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_listCacheSet.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ \"./node_modules/lodash/_assocIndexOf.js\");\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_listCacheSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheClear.js": -/*!***********************************************!*\ - !*** ./node_modules/lodash/_mapCacheClear.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var Hash = __webpack_require__(/*! ./_Hash */ \"./node_modules/lodash/_Hash.js\"),\n ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\");\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheDelete.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_mapCacheDelete.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheGet.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheGet.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheHas.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheHas.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_mapCacheSet.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_mapCacheSet.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getMapData = __webpack_require__(/*! ./_getMapData */ \"./node_modules/lodash/_getMapData.js\");\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_mapCacheSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nativeCreate.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_nativeCreate.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var getNative = __webpack_require__(/*! ./_getNative */ \"./node_modules/lodash/_getNative.js\");\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeCreate.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nativeKeysIn.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/_nativeKeysIn.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_nativeKeysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_nodeUtil.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_nodeUtil.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/_nodeUtil.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_objectToString.js": -/*!************************************************!*\ - !*** ./node_modules/lodash/_objectToString.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_objectToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_overArg.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_overArg.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overArg.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_overRest.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_overRest.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var apply = __webpack_require__(/*! ./_apply */ \"./node_modules/lodash/_apply.js\");\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_overRest.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_root.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/_root.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ \"./node_modules/lodash/_freeGlobal.js\");\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_root.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_safeGet.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/_safeGet.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_safeGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_setToString.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_setToString.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ \"./node_modules/lodash/_baseSetToString.js\"),\n shortOut = __webpack_require__(/*! ./_shortOut */ \"./node_modules/lodash/_shortOut.js\");\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_setToString.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_shortOut.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_shortOut.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_shortOut.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackClear.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/_stackClear.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\");\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackClear.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackDelete.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/_stackDelete.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackDelete.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackGet.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackGet.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackGet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackHas.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackHas.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackHas.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_stackSet.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_stackSet.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var ListCache = __webpack_require__(/*! ./_ListCache */ \"./node_modules/lodash/_ListCache.js\"),\n Map = __webpack_require__(/*! ./_Map */ \"./node_modules/lodash/_Map.js\"),\n MapCache = __webpack_require__(/*! ./_MapCache */ \"./node_modules/lodash/_MapCache.js\");\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_stackSet.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/_toSource.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/_toSource.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/_toSource.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/constant.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/constant.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/constant.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/eq.js": -/*!***********************************!*\ - !*** ./node_modules/lodash/eq.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/eq.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/identity.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/identity.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/identity.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArguments.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/isArguments.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ \"./node_modules/lodash/_baseIsArguments.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArguments.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArray.js": -/*!****************************************!*\ - !*** ./node_modules/lodash/isArray.js ***! - \****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArrayLike.js": -/*!********************************************!*\ - !*** ./node_modules/lodash/isArrayLike.js ***! - \********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isFunction = __webpack_require__(/*! ./isFunction */ \"./node_modules/lodash/isFunction.js\"),\n isLength = __webpack_require__(/*! ./isLength */ \"./node_modules/lodash/isLength.js\");\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLike.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isArrayLikeObject.js": -/*!**************************************************!*\ - !*** ./node_modules/lodash/isArrayLikeObject.js ***! - \**************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isArrayLikeObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isBuffer.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isBuffer.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ \"./node_modules/lodash/_root.js\"),\n stubFalse = __webpack_require__(/*! ./stubFalse */ \"./node_modules/lodash/stubFalse.js\");\n\n/** Detect free variable `exports`. */\nvar freeExports = true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n//# sourceURL=webpack:///./node_modules/lodash/isBuffer.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isFunction.js": -/*!*******************************************!*\ - !*** ./node_modules/lodash/isFunction.js ***! - \*******************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n isObject = __webpack_require__(/*! ./isObject */ \"./node_modules/lodash/isObject.js\");\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isFunction.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isLength.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isLength.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isLength.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isObject.js": -/*!*****************************************!*\ - !*** ./node_modules/lodash/isObject.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isObjectLike.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/isObjectLike.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isObjectLike.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isPlainObject.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/isPlainObject.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ \"./node_modules/lodash/_baseGetTag.js\"),\n getPrototype = __webpack_require__(/*! ./_getPrototype */ \"./node_modules/lodash/_getPrototype.js\"),\n isObjectLike = __webpack_require__(/*! ./isObjectLike */ \"./node_modules/lodash/isObjectLike.js\");\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isPlainObject.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/isTypedArray.js": -/*!*********************************************!*\ - !*** ./node_modules/lodash/isTypedArray.js ***! - \*********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ \"./node_modules/lodash/_baseIsTypedArray.js\"),\n baseUnary = __webpack_require__(/*! ./_baseUnary */ \"./node_modules/lodash/_baseUnary.js\"),\n nodeUtil = __webpack_require__(/*! ./_nodeUtil */ \"./node_modules/lodash/_nodeUtil.js\");\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/isTypedArray.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/keysIn.js": -/*!***************************************!*\ - !*** ./node_modules/lodash/keysIn.js ***! - \***************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ \"./node_modules/lodash/_arrayLikeKeys.js\"),\n baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ \"./node_modules/lodash/_baseKeysIn.js\"),\n isArrayLike = __webpack_require__(/*! ./isArrayLike */ \"./node_modules/lodash/isArrayLike.js\");\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/keysIn.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/merge.js": -/*!**************************************!*\ - !*** ./node_modules/lodash/merge.js ***! - \**************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var baseMerge = __webpack_require__(/*! ./_baseMerge */ \"./node_modules/lodash/_baseMerge.js\"),\n createAssigner = __webpack_require__(/*! ./_createAssigner */ \"./node_modules/lodash/_createAssigner.js\");\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/merge.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/stubFalse.js": -/*!******************************************!*\ - !*** ./node_modules/lodash/stubFalse.js ***! - \******************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/stubFalse.js?"); - -/***/ }), - -/***/ "./node_modules/lodash/toPlainObject.js": -/*!**********************************************!*\ - !*** ./node_modules/lodash/toPlainObject.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var copyObject = __webpack_require__(/*! ./_copyObject */ \"./node_modules/lodash/_copyObject.js\"),\n keysIn = __webpack_require__(/*! ./keysIn */ \"./node_modules/lodash/keysIn.js\");\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n\n\n//# sourceURL=webpack:///./node_modules/lodash/toPlainObject.js?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/AdSlot.ts": -/*!**************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/AdSlot.ts ***! - \**************************************************************/ -/*! exports provided: AdSlotCodec, AdSlot */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlotCodec\", function() { return AdSlotCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AdSlot\", function() { return AdSlot; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar AdSlotCodec = {\n encode(args, output) {\n var obj = {\n x: args.x,\n y: args.y,\n height: args.height,\n width: args.width\n };\n output.writeStructBegin(\"AdSlot\");\n\n if (obj.x != null) {\n output.writeFieldBegin(\"x\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 1);\n output.writeI32(obj.x);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (obj.y != null) {\n output.writeFieldBegin(\"y\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.y);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (obj.height != null) {\n output.writeFieldBegin(\"height\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 3);\n output.writeI32(obj.height);\n output.writeFieldEnd();\n }\n\n if (obj.width != null) {\n output.writeFieldBegin(\"width\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 4);\n output.writeI32(obj.width);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_1 = input.readI32();\n _args.x = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_2 = input.readI32();\n _args.y = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_3 = input.readI32();\n _args.height = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 4:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_4 = input.readI32();\n _args.width = value_4;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.x !== undefined && _args.y !== undefined) {\n return {\n x: _args.x,\n y: _args.y,\n height: _args.height,\n width: _args.width\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read AdSlot from input\");\n }\n }\n\n};\nclass AdSlot extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.x != null) {\n var value_5 = args.x;\n this.x = value_5;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[x] is unset!\");\n }\n\n if (args.y != null) {\n var value_6 = args.y;\n this.y = value_6;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[y] is unset!\");\n }\n\n if (args.height != null) {\n var value_7 = args.height;\n this.height = value_7;\n }\n\n if (args.width != null) {\n var value_8 = args.width;\n this.width = value_8;\n }\n }\n\n static read(input) {\n return new AdSlot(AdSlotCodec.decode(input));\n }\n\n static write(args, output) {\n return AdSlotCodec.encode(args, output);\n }\n\n write(output) {\n return AdSlotCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/AdSlot.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Image.ts": -/*!*************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Image.ts ***! - \*************************************************************/ -/*! exports provided: ImageCodec, Image */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ImageCodec\", function() { return ImageCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Image\", function() { return Image; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar ImageCodec = {\n encode(args, output) {\n var obj = {\n url: args.url,\n caption: args.caption,\n credit: args.credit\n };\n output.writeStructBegin(\"Image\");\n\n if (obj.url != null) {\n output.writeFieldBegin(\"url\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.url);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (obj.caption != null) {\n output.writeFieldBegin(\"caption\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 2);\n output.writeString(obj.caption);\n output.writeFieldEnd();\n }\n\n if (obj.credit != null) {\n output.writeFieldBegin(\"credit\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 3);\n output.writeString(obj.credit);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.url = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_2 = input.readString();\n _args.caption = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 3:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_3 = input.readString();\n _args.credit = value_3;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.url !== undefined) {\n return {\n url: _args.url,\n caption: _args.caption,\n credit: _args.credit\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Image from input\");\n }\n }\n\n};\nclass Image extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.url != null) {\n var value_4 = args.url;\n this.url = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[url] is unset!\");\n }\n\n if (args.caption != null) {\n var value_5 = args.caption;\n this.caption = value_5;\n }\n\n if (args.credit != null) {\n var value_6 = args.credit;\n this.credit = value_6;\n }\n }\n\n static read(input) {\n return new Image(ImageCodec.decode(input));\n }\n\n static write(args, output) {\n return ImageCodec.encode(args, output);\n }\n\n write(output) {\n return ImageCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Image.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Native.ts": -/*!**************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Native.ts ***! - \**************************************************************/ -/*! exports provided: serviceName, annotations, methodAnnotations, methodNames, methodParameters, InsertAdverts__ArgsCodec, InsertAdverts__Args, NativeThriftPackageVersion__ArgsCodec, NativeThriftPackageVersion__Args, LaunchFrictionScreen__ArgsCodec, LaunchFrictionScreen__Args, Follow__ArgsCodec, Follow__Args, Unfollow__ArgsCodec, Unfollow__Args, IsFollowing__ArgsCodec, IsFollowing__Args, IsPremiumUser__ArgsCodec, IsPremiumUser__Args, LaunchSlideshow__ArgsCodec, LaunchSlideshow__Args, InsertAdverts__ResultCodec, InsertAdverts__Result, NativeThriftPackageVersion__ResultCodec, NativeThriftPackageVersion__Result, LaunchFrictionScreen__ResultCodec, LaunchFrictionScreen__Result, Follow__ResultCodec, Follow__Result, Unfollow__ResultCodec, Unfollow__Result, IsFollowing__ResultCodec, IsFollowing__Result, IsPremiumUser__ResultCodec, IsPremiumUser__Result, LaunchSlideshow__ResultCodec, LaunchSlideshow__Result, Client, Processor */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"serviceName\", function() { return serviceName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"annotations\", function() { return annotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodAnnotations\", function() { return methodAnnotations; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodNames\", function() { return methodNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"methodParameters\", function() { return methodParameters; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ArgsCodec\", function() { return InsertAdverts__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Args\", function() { return InsertAdverts__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ArgsCodec\", function() { return NativeThriftPackageVersion__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Args\", function() { return NativeThriftPackageVersion__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ArgsCodec\", function() { return LaunchFrictionScreen__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Args\", function() { return LaunchFrictionScreen__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ArgsCodec\", function() { return Follow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Args\", function() { return Follow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ArgsCodec\", function() { return Unfollow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Args\", function() { return Unfollow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ArgsCodec\", function() { return IsFollowing__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Args\", function() { return IsFollowing__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ArgsCodec\", function() { return IsPremiumUser__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Args\", function() { return IsPremiumUser__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ArgsCodec\", function() { return LaunchSlideshow__ArgsCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Args\", function() { return LaunchSlideshow__Args; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__ResultCodec\", function() { return InsertAdverts__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"InsertAdverts__Result\", function() { return InsertAdverts__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__ResultCodec\", function() { return NativeThriftPackageVersion__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeThriftPackageVersion__Result\", function() { return NativeThriftPackageVersion__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__ResultCodec\", function() { return LaunchFrictionScreen__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchFrictionScreen__Result\", function() { return LaunchFrictionScreen__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__ResultCodec\", function() { return Follow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Follow__Result\", function() { return Follow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__ResultCodec\", function() { return Unfollow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Unfollow__Result\", function() { return Unfollow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__ResultCodec\", function() { return IsFollowing__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsFollowing__Result\", function() { return IsFollowing__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__ResultCodec\", function() { return IsPremiumUser__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IsPremiumUser__Result\", function() { return IsPremiumUser__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__ResultCodec\", function() { return LaunchSlideshow__ResultCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LaunchSlideshow__Result\", function() { return LaunchSlideshow__Result; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Client\", function() { return Client; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Processor\", function() { return Processor; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _AdSlot__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var _Topic__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var _Image__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\n\n\n\nvar serviceName = \"Native\";\nvar annotations = {};\nvar methodAnnotations = {\n insertAdverts: {\n annotations: {},\n fieldAnnotations: {}\n },\n nativeThriftPackageVersion: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchFrictionScreen: {\n annotations: {},\n fieldAnnotations: {}\n },\n follow: {\n annotations: {},\n fieldAnnotations: {}\n },\n unfollow: {\n annotations: {},\n fieldAnnotations: {}\n },\n isFollowing: {\n annotations: {},\n fieldAnnotations: {}\n },\n isPremiumUser: {\n annotations: {},\n fieldAnnotations: {}\n },\n launchSlideshow: {\n annotations: {},\n fieldAnnotations: {}\n }\n};\nvar methodNames = [\"insertAdverts\", \"nativeThriftPackageVersion\", \"launchFrictionScreen\", \"follow\", \"unfollow\", \"isFollowing\", \"isPremiumUser\", \"launchSlideshow\"];\nvar methodParameters = {\n insertAdverts: 2,\n nativeThriftPackageVersion: 1,\n launchFrictionScreen: 1,\n follow: 2,\n unfollow: 2,\n isFollowing: 2,\n isPremiumUser: 1,\n launchSlideshow: 3\n};\nvar InsertAdverts__ArgsCodec = {\n encode(args, output) {\n var obj = {\n adSlots: args.adSlots\n };\n output.writeStructBegin(\"InsertAdverts__Args\");\n\n if (obj.adSlots != null) {\n output.writeFieldBegin(\"adSlots\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.adSlots.length);\n obj.adSlots.forEach(value_1 => {\n _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].encode(value_1, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_2 = new Array();\n var metadata_1 = input.readListBegin();\n var size_1 = metadata_1.size;\n\n for (var i_1 = 0; i_1 < size_1; i_1++) {\n var value_3 = _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlotCodec\"].decode(input);\n value_2.push(value_3);\n }\n\n input.readListEnd();\n _args.adSlots = value_2;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.adSlots !== undefined) {\n return {\n adSlots: _args.adSlots\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read InsertAdverts__Args from input\");\n }\n }\n\n};\nclass InsertAdverts__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.adSlots != null) {\n var value_4 = new Array();\n args.adSlots.forEach(value_5 => {\n var value_6 = new _AdSlot__WEBPACK_IMPORTED_MODULE_1__[\"AdSlot\"](value_5);\n value_4.push(value_6);\n });\n this.adSlots = value_4;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[adSlots] is unset!\");\n }\n }\n\n static read(input) {\n return new InsertAdverts__Args(InsertAdverts__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ArgsCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"NativeThriftPackageVersion__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass NativeThriftPackageVersion__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Args(NativeThriftPackageVersion__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass LaunchFrictionScreen__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Args(LaunchFrictionScreen__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ArgsCodec.encode(this, output);\n }\n\n}\nvar Follow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Follow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_7 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_7;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Follow__Args from input\");\n }\n }\n\n};\nclass Follow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_8 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_8;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Follow__Args(Follow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ArgsCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"Unfollow__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_9 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_9;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Unfollow__Args from input\");\n }\n }\n\n};\nclass Unfollow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_10 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_10;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new Unfollow__Args(Unfollow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ArgsCodec = {\n encode(args, output) {\n var obj = {\n topic: args.topic\n };\n output.writeStructBegin(\"IsFollowing__Args\");\n\n if (obj.topic != null) {\n output.writeFieldBegin(\"topic\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, 1);\n _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].encode(obj.topic, output);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT) {\n var value_11 = _Topic__WEBPACK_IMPORTED_MODULE_2__[\"TopicCodec\"].decode(input);\n _args.topic = value_11;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.topic !== undefined) {\n return {\n topic: _args.topic\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read IsFollowing__Args from input\");\n }\n }\n\n};\nclass IsFollowing__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.topic != null) {\n var value_12 = new _Topic__WEBPACK_IMPORTED_MODULE_2__[\"Topic\"](args.topic);\n this.topic = value_12;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[topic] is unset!\");\n }\n }\n\n static read(input) {\n return new IsFollowing__Args(IsFollowing__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ArgsCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ArgsCodec = {\n encode(args, output) {\n output.writeStructBegin(\"IsPremiumUser__Args\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {};\n }\n\n};\nclass IsPremiumUser__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n }\n\n static read(input) {\n return new IsPremiumUser__Args(IsPremiumUser__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ArgsCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ArgsCodec = {\n encode(args, output) {\n var obj = {\n images: args.images,\n selectedIndex: args.selectedIndex\n };\n output.writeStructBegin(\"LaunchSlideshow__Args\");\n\n if (obj.images != null) {\n output.writeFieldBegin(\"images\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST, 1);\n output.writeListBegin(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT, obj.images.length);\n obj.images.forEach(value_13 => {\n _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].encode(value_13, output);\n });\n output.writeListEnd();\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (obj.selectedIndex != null) {\n output.writeFieldBegin(\"selectedIndex\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 2);\n output.writeI32(obj.selectedIndex);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].LIST) {\n var value_14 = new Array();\n var metadata_2 = input.readListBegin();\n var size_2 = metadata_2.size;\n\n for (var i_2 = 0; i_2 < size_2; i_2++) {\n var value_15 = _Image__WEBPACK_IMPORTED_MODULE_3__[\"ImageCodec\"].decode(input);\n value_14.push(value_15);\n }\n\n input.readListEnd();\n _args.images = value_14;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n case 2:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_16 = input.readI32();\n _args.selectedIndex = value_16;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.images !== undefined && _args.selectedIndex !== undefined) {\n return {\n images: _args.images,\n selectedIndex: _args.selectedIndex\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read LaunchSlideshow__Args from input\");\n }\n }\n\n};\nclass LaunchSlideshow__Args extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.images != null) {\n var value_17 = new Array();\n args.images.forEach(value_19 => {\n var value_20 = new _Image__WEBPACK_IMPORTED_MODULE_3__[\"Image\"](value_19);\n value_17.push(value_20);\n });\n this.images = value_17;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[images] is unset!\");\n }\n\n if (args.selectedIndex != null) {\n var value_18 = args.selectedIndex;\n this.selectedIndex = value_18;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[selectedIndex] is unset!\");\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Args(LaunchSlideshow__ArgsCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ArgsCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ArgsCodec.encode(this, output);\n }\n\n}\nvar InsertAdverts__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"InsertAdverts__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass InsertAdverts__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_21 = undefined;\n this.success = value_21;\n }\n }\n\n static read(input) {\n return new InsertAdverts__Result(InsertAdverts__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return InsertAdverts__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return InsertAdverts__ResultCodec.encode(this, output);\n }\n\n}\nvar NativeThriftPackageVersion__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"NativeThriftPackageVersion__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32, 0);\n output.writeI32(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].I32) {\n var value_22 = input.readI32();\n _args.success = value_22;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass NativeThriftPackageVersion__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_23 = args.success;\n this.success = value_23;\n }\n }\n\n static read(input) {\n return new NativeThriftPackageVersion__Result(NativeThriftPackageVersion__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return NativeThriftPackageVersion__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return NativeThriftPackageVersion__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchFrictionScreen__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchFrictionScreen__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchFrictionScreen__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_24 = undefined;\n this.success = value_24;\n }\n }\n\n static read(input) {\n return new LaunchFrictionScreen__Result(LaunchFrictionScreen__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchFrictionScreen__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchFrictionScreen__ResultCodec.encode(this, output);\n }\n\n}\nvar Follow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Follow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Follow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_25 = undefined;\n this.success = value_25;\n }\n }\n\n static read(input) {\n return new Follow__Result(Follow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Follow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Follow__ResultCodec.encode(this, output);\n }\n\n}\nvar Unfollow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"Unfollow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass Unfollow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_26 = undefined;\n this.success = value_26;\n }\n }\n\n static read(input) {\n return new Unfollow__Result(Unfollow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return Unfollow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return Unfollow__ResultCodec.encode(this, output);\n }\n\n}\nvar IsFollowing__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsFollowing__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_27 = input.readBool();\n _args.success = value_27;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsFollowing__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_28 = args.success;\n this.success = value_28;\n }\n }\n\n static read(input) {\n return new IsFollowing__Result(IsFollowing__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsFollowing__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsFollowing__ResultCodec.encode(this, output);\n }\n\n}\nvar IsPremiumUser__ResultCodec = {\n encode(args, output) {\n var obj = {\n success: args.success\n };\n output.writeStructBegin(\"IsPremiumUser__Result\");\n\n if (obj.success != null) {\n output.writeFieldBegin(\"success\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL, 0);\n output.writeBool(obj.success);\n output.writeFieldEnd();\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].BOOL) {\n var value_29 = input.readBool();\n _args.success = value_29;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass IsPremiumUser__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_30 = args.success;\n this.success = value_30;\n }\n }\n\n static read(input) {\n return new IsPremiumUser__Result(IsPremiumUser__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return IsPremiumUser__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return IsPremiumUser__ResultCodec.encode(this, output);\n }\n\n}\nvar LaunchSlideshow__ResultCodec = {\n encode(args, output) {\n output.writeStructBegin(\"LaunchSlideshow__Result\");\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 0:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].VOID) {\n input.skip(fieldType);\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n return {\n success: _args.success\n };\n }\n\n};\nclass LaunchSlideshow__Result extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor() {\n var args = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.success != null) {\n var value_31 = undefined;\n this.success = value_31;\n }\n }\n\n static read(input) {\n return new LaunchSlideshow__Result(LaunchSlideshow__ResultCodec.decode(input));\n }\n\n static write(args, output) {\n return LaunchSlideshow__ResultCodec.encode(args, output);\n }\n\n write(output) {\n return LaunchSlideshow__ResultCodec.encode(this, output);\n }\n\n}\nclass Client extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftClient\"] {\n constructor() {\n super(...arguments);\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._methodParameters = methodParameters;\n }\n\n insertAdverts(adSlots, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n adSlots\n };\n InsertAdverts__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"insertAdverts\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = InsertAdverts__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n nativeThriftPackageVersion(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n NativeThriftPackageVersion__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"nativeThriftPackageVersion\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = NativeThriftPackageVersion__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"nativeThriftPackageVersion failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchFrictionScreen(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n LaunchFrictionScreen__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchFrictionScreen\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchFrictionScreen__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n follow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Follow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"follow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Follow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n unfollow(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n Unfollow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"unfollow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = Unfollow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isFollowing(topic, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n topic\n };\n IsFollowing__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isFollowing\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsFollowing__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isFollowing failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n isPremiumUser(context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {};\n IsPremiumUser__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"isPremiumUser\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = IsPremiumUser__ResultCodec.decode(input);\n input.readMessageEnd();\n\n if (result.success != null) {\n return Promise.resolve(result.success);\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, \"isPremiumUser failed: unknown result\"));\n }\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n launchSlideshow(images, selectedIndex, context) {\n var writer = new this.transport();\n var output = new this.protocol(writer);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].CALL, this.incrementRequestId());\n var args = {\n images,\n selectedIndex\n };\n LaunchSlideshow__ArgsCodec.encode(args, output);\n output.writeMessageEnd();\n return this.connection.send(writer.flush(), context).then(data => {\n var reader = this.transport.receiver(data);\n var input = new this.protocol(reader);\n\n try {\n var {\n fieldName: fieldName,\n messageType: messageType\n } = input.readMessageBegin();\n\n if (fieldName === \"launchSlideshow\") {\n if (messageType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION) {\n var err = _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].decode(input);\n input.readMessageEnd();\n return Promise.reject(err);\n } else {\n var result = LaunchSlideshow__ResultCodec.decode(input);\n input.readMessageEnd();\n return Promise.resolve(result.success);\n }\n } else {\n return Promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].WRONG_METHOD_NAME, \"Received a response to an unknown RPC function: \" + fieldName));\n }\n } catch (err) {\n return Promise.reject(err);\n }\n });\n }\n\n}\nClient.serviceName = serviceName;\nClient.annotations = annotations;\nClient.methodAnnotations = methodAnnotations;\nClient.methodNames = methodNames;\nclass Processor extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"ThriftProcessor\"] {\n constructor(handler) {\n super();\n this._serviceName = serviceName;\n this._annotations = annotations;\n this._methodAnnotations = methodAnnotations;\n this._methodNames = methodNames;\n this._handler = handler;\n }\n\n process(input, output, context) {\n return new Promise((resolve, reject) => {\n var metadata = input.readMessageBegin();\n var fieldName = metadata.fieldName;\n var requestId = metadata.requestId;\n var methodName = \"process_\" + fieldName;\n\n switch (methodName) {\n case \"process_insertAdverts\":\n {\n resolve(this.process_insertAdverts(requestId, input, output, context));\n break;\n }\n\n case \"process_nativeThriftPackageVersion\":\n {\n resolve(this.process_nativeThriftPackageVersion(requestId, input, output, context));\n break;\n }\n\n case \"process_launchFrictionScreen\":\n {\n resolve(this.process_launchFrictionScreen(requestId, input, output, context));\n break;\n }\n\n case \"process_follow\":\n {\n resolve(this.process_follow(requestId, input, output, context));\n break;\n }\n\n case \"process_unfollow\":\n {\n resolve(this.process_unfollow(requestId, input, output, context));\n break;\n }\n\n case \"process_isFollowing\":\n {\n resolve(this.process_isFollowing(requestId, input, output, context));\n break;\n }\n\n case \"process_isPremiumUser\":\n {\n resolve(this.process_isPremiumUser(requestId, input, output, context));\n break;\n }\n\n case \"process_launchSlideshow\":\n {\n resolve(this.process_launchSlideshow(requestId, input, output, context));\n break;\n }\n\n default:\n {\n input.skip(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRUCT);\n input.readMessageEnd();\n var errMessage = \"Unknown function \" + fieldName;\n var err = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN_METHOD, errMessage);\n output.writeMessageBegin(fieldName, _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(err, output);\n output.writeMessageEnd();\n resolve(output.flush());\n break;\n }\n }\n });\n }\n\n process_insertAdverts(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = InsertAdverts__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.insertAdverts(args.adSlots, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n InsertAdverts__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"insertAdverts\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_nativeThriftPackageVersion(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.nativeThriftPackageVersion(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n NativeThriftPackageVersion__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"nativeThriftPackageVersion\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchFrictionScreen(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.launchFrictionScreen(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchFrictionScreen__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchFrictionScreen\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_follow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Follow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.follow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Follow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"follow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_unfollow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = Unfollow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.unfollow(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n Unfollow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"unfollow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isFollowing(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = IsFollowing__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.isFollowing(args.topic, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsFollowing__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isFollowing\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_isPremiumUser(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n input.readMessageEnd();\n resolve(this._handler.isPremiumUser(context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n IsPremiumUser__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"isPremiumUser\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n process_launchSlideshow(requestId, input, output, context) {\n return new Promise((resolve, reject) => {\n try {\n var args = LaunchSlideshow__ArgsCodec.decode(input);\n input.readMessageEnd();\n resolve(this._handler.launchSlideshow(args.images, args.selectedIndex, context));\n } catch (err) {\n reject(err);\n }\n }).then(data => {\n var result = {\n success: data\n };\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].REPLY, requestId);\n LaunchSlideshow__ResultCodec.encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n }).catch(err => {\n var result = new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionType\"].UNKNOWN, err.message);\n output.writeMessageBegin(\"launchSlideshow\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"MessageType\"].EXCEPTION, requestId);\n _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TApplicationExceptionCodec\"].encode(result, output);\n output.writeMessageEnd();\n return output.flush();\n });\n }\n\n}\nProcessor.serviceName = serviceName;\nProcessor.annotations = annotations;\nProcessor.methodAnnotations = methodAnnotations;\nProcessor.methodNames = methodNames;\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Native.ts?"); - -/***/ }), - -/***/ "./node_modules/mobile-apps-thrift-typescript/Topic.ts": -/*!*************************************************************!*\ - !*** ./node_modules/mobile-apps-thrift-typescript/Topic.ts ***! - \*************************************************************/ -/*! exports provided: TopicCodec, Topic */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"TopicCodec\", function() { return TopicCodec; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Topic\", function() { return Topic; });\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__);\n/* tslint:disable */\n\n/* eslint-disable */\n\n/*\n * Autogenerated by @creditkarma/thrift-typescript v3.7.6\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n*/\n\nvar TopicCodec = {\n encode(args, output) {\n var obj = {\n id: args.id\n };\n output.writeStructBegin(\"Topic\");\n\n if (obj.id != null) {\n output.writeFieldBegin(\"id\", _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING, 1);\n output.writeString(obj.id);\n output.writeFieldEnd();\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n\n output.writeFieldStop();\n output.writeStructEnd();\n return;\n },\n\n decode(input) {\n var _args = {};\n input.readStructBegin();\n\n while (true) {\n var ret = input.readFieldBegin();\n var fieldType = ret.fieldType;\n var fieldId = ret.fieldId;\n\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STOP) {\n break;\n }\n\n switch (fieldId) {\n case 1:\n if (fieldType === _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TType\"].STRING) {\n var value_1 = input.readString();\n _args.id = value_1;\n } else {\n input.skip(fieldType);\n }\n\n break;\n\n default:\n {\n input.skip(fieldType);\n }\n }\n\n input.readFieldEnd();\n }\n\n input.readStructEnd();\n\n if (_args.id !== undefined) {\n return {\n id: _args.id\n };\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Unable to read Topic from input\");\n }\n }\n\n};\nclass Topic extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"StructLike\"] {\n constructor(args) {\n super();\n this._annotations = {};\n this._fieldAnnotations = {};\n\n if (args.id != null) {\n var value_2 = args.id;\n this.id = value_2;\n } else {\n throw new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_0__[\"TProtocolExceptionType\"].UNKNOWN, \"Required field[id] is unset!\");\n }\n }\n\n static read(input) {\n return new Topic(TopicCodec.decode(input));\n }\n\n static write(args, output) {\n return TopicCodec.encode(args, output);\n }\n\n write(output) {\n return TopicCodec.encode(this, output);\n }\n\n}\n\n//# sourceURL=webpack:///./node_modules/mobile-apps-thrift-typescript/Topic.ts?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/punycode/punycode.js": -/*!**************************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/punycode/punycode.js ***! - \**************************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("/* WEBPACK VAR INJECTION */(function(module, global) {var __WEBPACK_AMD_DEFINE_RESULT__;/*! https://mths.be/punycode v1.4.1 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = true && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = true && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.4.1',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttrue\n\t) {\n\t\t!(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n\t\t\treturn punycode;\n\t\t}).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n\n}(this));\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module), __webpack_require__(/*! ./../../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/punycode/punycode.js?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/url/url.js": -/*!****************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/url/url.js ***! - \****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar punycode = __webpack_require__(/*! punycode */ \"./node_modules/node-libs-browser/node_modules/punycode/punycode.js\");\nvar util = __webpack_require__(/*! ./util */ \"./node_modules/node-libs-browser/node_modules/url/util.js\");\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\");\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && util.isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!util.isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n var queryIndex = url.indexOf('?'),\n splitter =\n (queryIndex !== -1 && queryIndex < url.indexOf('#')) ? '?' : '#',\n uSplit = url.split(splitter),\n slashRegex = /\\\\/g;\n uSplit[0] = uSplit[0].replace(slashRegex, '/');\n url = uSplit.join(splitter);\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.path = rest;\n this.href = rest;\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n if (parseQueryString) {\n this.query = querystring.parse(this.search.substr(1));\n } else {\n this.query = this.search.substr(1);\n }\n } else if (parseQueryString) {\n this.search = '';\n this.query = {};\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a punycoded representation of \"domain\".\n // It only converts parts of the domain name that\n // have non-ASCII characters, i.e. it doesn't matter if\n // you call it with a domain that already is ASCII-only.\n this.hostname = punycode.toASCII(this.hostname);\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n if (rest.indexOf(ae) === -1)\n continue;\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (util.isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n util.isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (util.isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n var tkeys = Object.keys(this);\n for (var tk = 0; tk < tkeys.length; tk++) {\n var tkey = tkeys[tk];\n result[tkey] = this[tkey];\n }\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n var rkeys = Object.keys(relative);\n for (var rk = 0; rk < rkeys.length; rk++) {\n var rkey = rkeys[rk];\n if (rkey !== 'protocol')\n result[rkey] = relative[rkey];\n }\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n var keys = Object.keys(relative);\n for (var v = 0; v < keys.length; v++) {\n var k = keys[v];\n result[k] = relative[k];\n }\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!util.isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host || srcPath.length > 1) &&\n (last === '.' || last === '..') || last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last === '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especially happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!util.isNull(result.pathname) || !util.isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/url.js?"); - -/***/ }), - -/***/ "./node_modules/node-libs-browser/node_modules/url/util.js": -/*!*****************************************************************!*\ - !*** ./node_modules/node-libs-browser/node_modules/url/util.js ***! - \*****************************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nmodule.exports = {\n isString: function(arg) {\n return typeof(arg) === 'string';\n },\n isObject: function(arg) {\n return typeof(arg) === 'object' && arg !== null;\n },\n isNull: function(arg) {\n return arg === null;\n },\n isNullOrUndefined: function(arg) {\n return arg == null;\n }\n};\n\n\n//# sourceURL=webpack:///./node_modules/node-libs-browser/node_modules/url/util.js?"); - -/***/ }), - -/***/ "./node_modules/process/browser.js": -/*!*****************************************!*\ - !*** ./node_modules/process/browser.js ***! - \*****************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n//# sourceURL=webpack:///./node_modules/process/browser.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/decode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/decode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/decode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/encode.js": -/*!************************************************!*\ - !*** ./node_modules/querystring-es3/encode.js ***! - \************************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return map(objectKeys(obj), function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (isArray(obj[k])) {\n return map(obj[k], function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n\nvar isArray = Array.isArray || function (xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n\nfunction map (xs, f) {\n if (xs.map) return xs.map(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n res.push(f(xs[i], i));\n }\n return res;\n}\n\nvar objectKeys = Object.keys || function (obj) {\n var res = [];\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key);\n }\n return res;\n};\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/encode.js?"); - -/***/ }), - -/***/ "./node_modules/querystring-es3/index.js": -/*!***********************************************!*\ - !*** ./node_modules/querystring-es3/index.js ***! - \***********************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; -eval("\n\nexports.decode = exports.parse = __webpack_require__(/*! ./decode */ \"./node_modules/querystring-es3/decode.js\");\nexports.encode = exports.stringify = __webpack_require__(/*! ./encode */ \"./node_modules/querystring-es3/encode.js\");\n\n\n//# sourceURL=webpack:///./node_modules/querystring-es3/index.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/index.js": -/*!************************************!*\ - !*** ./node_modules/uuid/index.js ***! - \************************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var v1 = __webpack_require__(/*! ./v1 */ \"./node_modules/uuid/v1.js\");\nvar v4 = __webpack_require__(/*! ./v4 */ \"./node_modules/uuid/v4.js\");\n\nvar uuid = v4;\nuuid.v1 = v1;\nuuid.v4 = v4;\n\nmodule.exports = uuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/index.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/lib/bytesToUuid.js": -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/bytesToUuid.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([bth[buf[i++]], bth[buf[i++]], \n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]], '-',\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]],\n\tbth[buf[i++]], bth[buf[i++]]]).join('');\n}\n\nmodule.exports = bytesToUuid;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/bytesToUuid.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/lib/rng-browser.js": -/*!**********************************************!*\ - !*** ./node_modules/uuid/lib/rng-browser.js ***! - \**********************************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("// Unique ID creation requires a high quality random # generator. In the\n// browser this is a little complicated due to unknown quality of Math.random()\n// and inconsistent support for the `crypto` API. We do the best we can via\n// feature-detection\n\n// getRandomValues needs to be invoked in a context where \"this\" is a Crypto\n// implementation. Also, find the complete implementation of crypto on IE11.\nvar getRandomValues = (typeof(crypto) != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||\n (typeof(msCrypto) != 'undefined' && typeof window.msCrypto.getRandomValues == 'function' && msCrypto.getRandomValues.bind(msCrypto));\n\nif (getRandomValues) {\n // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef\n\n module.exports = function whatwgRNG() {\n getRandomValues(rnds8);\n return rnds8;\n };\n} else {\n // Math.random()-based (RNG)\n //\n // If all else fails, use Math.random(). It's fast, but is of unspecified\n // quality.\n var rnds = new Array(16);\n\n module.exports = function mathRNG() {\n for (var i = 0, r; i < 16; i++) {\n if ((i & 0x03) === 0) r = Math.random() * 0x100000000;\n rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n }\n\n return rnds;\n };\n}\n\n\n//# sourceURL=webpack:///./node_modules/uuid/lib/rng-browser.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/v1.js": -/*!*********************************!*\ - !*** ./node_modules/uuid/v1.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nvar _nodeId;\nvar _clockseq;\n\n// Previous uuid creation time\nvar _lastMSecs = 0;\nvar _lastNSecs = 0;\n\n// See https://github.com/broofa/node-uuid for API details\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq;\n\n // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n if (node == null || clockseq == null) {\n var seedBytes = rng();\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [\n seedBytes[0] | 0x01,\n seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]\n ];\n }\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n }\n\n // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime();\n\n // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1;\n\n // Time since last uuid creation (in msecs)\n var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000;\n\n // Per 4.2.1.2, Bump clockseq on clock regression\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n }\n\n // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n }\n\n // Per 4.2.1.2 Throw error if too many uuids are requested\n if (nsecs >= 10000) {\n throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq;\n\n // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n msecs += 12219292800000;\n\n // `time_low`\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff;\n\n // `time_mid`\n var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff;\n\n // `time_high_and_version`\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n b[i++] = tmh >>> 16 & 0xff;\n\n // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n b[i++] = clockseq >>> 8 | 0x80;\n\n // `clock_seq_low`\n b[i++] = clockseq & 0xff;\n\n // `node`\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : bytesToUuid(b);\n}\n\nmodule.exports = v1;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v1.js?"); - -/***/ }), - -/***/ "./node_modules/uuid/v4.js": -/*!*********************************!*\ - !*** ./node_modules/uuid/v4.js ***! - \*********************************/ -/*! no static exports found */ -/***/ (function(module, exports, __webpack_require__) { - -eval("var rng = __webpack_require__(/*! ./lib/rng */ \"./node_modules/uuid/lib/rng-browser.js\");\nvar bytesToUuid = __webpack_require__(/*! ./lib/bytesToUuid */ \"./node_modules/uuid/lib/bytesToUuid.js\");\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n\n\n//# sourceURL=webpack:///./node_modules/uuid/v4.js?"); - -/***/ }), - -/***/ "./node_modules/webpack/buildin/global.js": -/*!***********************************!*\ - !*** (webpack)/buildin/global.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?"); - -/***/ }), - -/***/ "./node_modules/webpack/buildin/module.js": -/*!***********************************!*\ - !*** (webpack)/buildin/module.js ***! - \***********************************/ -/*! no static exports found */ -/***/ (function(module, exports) { - -eval("module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n//# sourceURL=webpack:///(webpack)/buildin/module.js?"); - -/***/ }), - -/***/ "./src/client/article.ts": -/*!*******************************!*\ - !*** ./src/client/article.ts ***! - \*******************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es7.array.flat-map */ \"./node_modules/core-js/modules/es7.array.flat-map.js\");\n/* harmony import */ var core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es7_array_flat_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n/* harmony import */ var native_nativeApi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! native/nativeApi */ \"./src/native/nativeApi.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! mobile-apps-thrift-typescript/AdSlot */ \"./node_modules/mobile-apps-thrift-typescript/AdSlot.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Topic */ \"./node_modules/mobile-apps-thrift-typescript/Topic.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Image */ \"./node_modules/mobile-apps-thrift-typescript/Image.ts\");\n\n// ----- Imports ----- //\n\n\n\n\n // ----- Run ----- //\n\nfunction getAdSlots() {\n var advertSlots = document.getElementsByClassName('ad-slot');\n var scrollLeft = document.scrollingElement ? document.scrollingElement.scrollLeft : document.body.scrollLeft;\n var scrollTop = document.scrollingElement ? document.scrollingElement.scrollTop : document.body.scrollTop;\n return Array.from(advertSlots).map(adSlot => {\n var slotPosition = adSlot.getBoundingClientRect();\n return new mobile_apps_thrift_typescript_AdSlot__WEBPACK_IMPORTED_MODULE_3__[\"AdSlot\"]({\n x: slotPosition.left + scrollLeft,\n y: slotPosition.top + scrollTop,\n width: slotPosition.width,\n height: slotPosition.height\n });\n });\n}\n\nfunction insertAds() {\n var adSlots = getAdSlots();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].insertAdverts(adSlots);\n var targetNode = document.querySelector('body');\n var config = {\n attributes: true,\n childList: true,\n subtree: true\n };\n\n var callback = function callback() {\n var currentAdSlots = getAdSlots();\n\n if (JSON.stringify(adSlots) !== JSON.stringify(currentAdSlots)) {\n // TODO: add this to mobile-apps-thrift and implement client side\n // nativeClient.updateAdverts(currentAdSlots);\n adSlots = currentAdSlots;\n }\n };\n\n var observer = new MutationObserver(callback);\n observer.observe(targetNode, config);\n}\n\nfunction ads() {\n insertAds();\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isPremiumUser().then(premiumUser => {\n if (!premiumUser) {\n Array.from(document.querySelectorAll('.ad-placeholder')).map(placeholder => placeholder.classList.remove('hidden'));\n insertAds();\n }\n });\n}\n\nfunction topicClick(e) {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var statusText = (_b = status) === null || _b === void 0 ? void 0 : _b.textContent;\n var id = (_c = follow) === null || _c === void 0 ? void 0 : _c.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n\n if (statusText && statusText === 'Follow') {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].follow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Following\";\n }\n });\n } else {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].unfollow(topic).then(response => {\n var _a;\n\n if ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent) {\n status.textContent = \"Follow\";\n }\n });\n }\n}\n\nfunction topics() {\n var _a, _b, _c;\n\n var follow = document.querySelector('.js-follow');\n var status = (_a = follow) === null || _a === void 0 ? void 0 : _a.querySelector('.js-status');\n var id = (_b = follow) === null || _b === void 0 ? void 0 : _b.getAttribute('data-id');\n\n if (!id) {\n console.error('No id for topic');\n return;\n }\n\n var topic = new mobile_apps_thrift_typescript_Topic__WEBPACK_IMPORTED_MODULE_4__[\"Topic\"]({\n id\n });\n (_c = follow) === null || _c === void 0 ? void 0 : _c.addEventListener('click', topicClick);\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].isFollowing(topic).then(following => {\n var _a;\n\n if (following && ((_a = status) === null || _a === void 0 ? void 0 : _a.textContent)) {\n status.textContent = \"Following\";\n }\n });\n}\n\nfunction launchSlideshow(src) {\n var images = Array.from(document.querySelectorAll('.js-launch-slideshow'));\n var imagesWithCaptions = images.flatMap(image => {\n var _a, _b;\n\n var url = image.getAttribute('src');\n var caption = (_a = image.getAttribute('caption'), _a !== null && _a !== void 0 ? _a : undefined);\n var credit = (_b = image.getAttribute('credit'), _b !== null && _b !== void 0 ? _b : undefined);\n return url ? new mobile_apps_thrift_typescript_Image__WEBPACK_IMPORTED_MODULE_5__[\"Image\"]({\n url,\n caption,\n credit\n }) : [];\n });\n var clickedImageIndex = images.findIndex(image => image.getAttribute('src') === src);\n\n if (imagesWithCaptions.length && clickedImageIndex >= 0) {\n native_nativeApi__WEBPACK_IMPORTED_MODULE_2__[\"nativeClient\"].launchSlideshow(imagesWithCaptions, clickedImageIndex);\n }\n}\n\nfunction slideshow() {\n var images = document.querySelectorAll('.js-launch-slideshow');\n Array.from(images).forEach(image => image.addEventListener('click', e => {\n launchSlideshow(image.getAttribute('src'));\n }));\n}\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\nads();\ntopics();\nslideshow();\n\n//# sourceURL=webpack:///./src/client/article.ts?"); - -/***/ }), - -/***/ "./src/client/setup.ts": -/*!*****************************!*\ - !*** ./src/client/setup.ts ***! - \*****************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); - -/***/ }), - -/***/ "./src/native/nativeApi.ts": -/*!*********************************!*\ - !*** ./src/native/nativeApi.ts ***! - \*********************************/ -/*! exports provided: nativeClient */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nativeClient\", function() { return nativeClient; });\n/* harmony import */ var _thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./thrift/NativeConnection */ \"./src/native/thrift/NativeConnection.ts\");\n/* harmony import */ var mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! mobile-apps-thrift-typescript/Native */ \"./node_modules/mobile-apps-thrift-typescript/Native.ts\");\n\n\nvar nativeClient = Object(_thrift_NativeConnection__WEBPACK_IMPORTED_MODULE_0__[\"createAppClient\"])(mobile_apps_thrift_typescript_Native__WEBPACK_IMPORTED_MODULE_1__[\"Client\"], 'buffered', 'compact');\n\n\n//# sourceURL=webpack:///./src/native/nativeApi.ts?"); - -/***/ }), - -/***/ "./src/native/thrift/NativeConnection.ts": -/*!***********************************************!*\ - !*** ./src/native/thrift/NativeConnection.ts ***! - \***********************************************/ -/*! exports provided: NativeConnection, createAppClient */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(Buffer) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeConnection\", function() { return NativeConnection; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createAppClient\", function() { return createAppClient; });\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.regexp.to-string */ \"./node_modules/core-js/modules/es6.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @creditkarma/thrift-server-core */ \"./node_modules/@creditkarma/thrift-server-core/dist/main/index.js\");\n/* harmony import */ var _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! uuid */ \"./node_modules/uuid/index.js\");\n/* harmony import */ var uuid__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(uuid__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\nvar ACTION_TIMEOUT_MS = 30000;\n\nfunction sendNativeMessage(nativeMessage) {\n var _a, _b, _c, _d;\n\n if (window.AndroidWebViewMessage) {\n window.AndroidWebViewMessage(nativeMessage);\n } else if ((_d = (_c = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.webkit) === null || _b === void 0 ? void 0 : _b.messageHandlers) === null || _c === void 0 ? void 0 : _c.iOSWebViewMessage) === null || _d === void 0 ? void 0 : _d.postMessage) {\n window.webkit.messageHandlers.iOSWebViewMessage.postMessage(nativeMessage);\n } else {\n console.warn('No native APIs available');\n }\n}\n\nclass NativeConnection extends _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"ThriftConnection\"] {\n constructor(Transport, Protocol) {\n super(Transport, Protocol);\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n this.promises = [];\n this.outBuffer = [];\n window.nativeConnections = window.nativeConnections || {};\n window.nativeConnections[this.connectionId] = this;\n }\n\n reset(oldConnectionId) {\n if (oldConnectionId === this.connectionId) {\n console.warn(\"Reseting connection \" + oldConnectionId);\n delete window.nativeConnections[this.connectionId];\n this.promises.forEach(promise => {\n promise.reject(new _creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationException\"](_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"TApplicationExceptionType\"].UNKNOWN, \"Timeout error\"));\n });\n this.promises = [];\n this.connectionId = uuid__WEBPACK_IMPORTED_MODULE_2__[\"v4\"]();\n window.nativeConnections[this.connectionId] = this;\n }\n }\n\n receive(message) {\n var resolver = this.promises.shift();\n\n if (resolver) {\n clearTimeout(resolver.timeoutId);\n var data = Buffer.from(message.data, 'base64');\n resolver.resolve(data);\n }\n\n this.sendNextMessage();\n }\n\n sendNextMessage() {\n var message = this.outBuffer.shift();\n\n if (message) {\n console.log(\"Sending next message\");\n sendNativeMessage(message);\n }\n }\n\n send(dataToSend, context) {\n var id = this.connectionId; // eslint-disable-next-line @typescript-eslint/no-this-alias\n\n var connection = this;\n return new Promise(function (res, rej) {\n connection.promises.push({\n resolve: res,\n reject: rej,\n timeoutId: setTimeout(function () {\n connection.reset(id);\n }, ACTION_TIMEOUT_MS)\n });\n var message = {\n data: dataToSend.toString(\"base64\"),\n connectionId: id\n };\n\n if (connection.promises.length === 1) {\n console.log(\"Sending message immediately\");\n sendNativeMessage(message);\n } else {\n console.log(\"Queing message because others in flight\");\n connection.outBuffer.push(message);\n }\n });\n }\n\n}\nfunction createAppClient(ServiceClient) {\n var transport = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'buffered';\n var protocol = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'compact';\n return new ServiceClient(new NativeConnection(Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getTransport\"])(transport), Object(_creditkarma_thrift_server_core__WEBPACK_IMPORTED_MODULE_1__[\"getProtocol\"])(protocol)));\n}\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///./src/native/thrift/NativeConnection.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file diff --git a/dist/assets/liveblog.js b/dist/assets/liveblog.js deleted file mode 100644 index c2eaaea19..000000000 --- a/dist/assets/liveblog.js +++ /dev/null @@ -1,113 +0,0 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); -/******/ } -/******/ }; -/******/ -/******/ // define __esModule on exports -/******/ __webpack_require__.r = function(exports) { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ -/******/ // create a fake namespace object -/******/ // mode & 1: value is a module id, require it -/******/ // mode & 2: merge all properties of value into the ns -/******/ // mode & 4: return value when already ns object -/******/ // mode & 8|1: behave like require -/******/ __webpack_require__.t = function(value, mode) { -/******/ if(mode & 1) value = __webpack_require__(value); -/******/ if(mode & 8) return value; -/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; -/******/ var ns = Object.create(null); -/******/ __webpack_require__.r(ns); -/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); -/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); -/******/ return ns; -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; -/******/ -/******/ -/******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = "./src/client/liveblog.ts"); -/******/ }) -/************************************************************************/ -/******/ ({ - -/***/ "./src/client/liveblog.ts": -/*!********************************!*\ - !*** ./src/client/liveblog.ts ***! - \********************************/ -/*! no exports provided */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var client_setup__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! client/setup */ \"./src/client/setup.ts\");\n// ----- Imports ----- //\n // ----- Run ----- //\n\nObject(client_setup__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n\n//# sourceURL=webpack:///./src/client/liveblog.ts?"); - -/***/ }), - -/***/ "./src/client/setup.ts": -/*!*****************************!*\ - !*** ./src/client/setup.ts ***! - \*****************************/ -/*! exports provided: default */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n// ----- Procedures ----- //\nfunction handleMessage(interactive, message) {\n try {\n var {\n type,\n value\n } = JSON.parse(message);\n\n if (type === 'set-height') {\n interactive.height = value;\n }\n } catch (e) {\n console.error(e);\n }\n}\n\nvar updateInteractives = interactives => (_ref) => {\n var {\n data,\n source\n } = _ref;\n return interactives.forEach(elem => {\n if (elem instanceof HTMLIFrameElement && source === elem.contentWindow) {\n handleMessage(elem, data);\n }\n });\n};\n\nfunction interactives() {\n var interactives = Array.from(document.querySelectorAll('.interactive iframe'));\n window.addEventListener('message', updateInteractives(interactives), false);\n}\n\nfunction twitter() {\n var _a, _b, _c;\n\n var isDarkMode = (_b = (_a = window) === null || _a === void 0 ? void 0 : _a.matchMedia('(prefers-color-scheme: dark)').matches, _b !== null && _b !== void 0 ? _b : false);\n var themeMeta = document.getElementById('twitter-theme');\n\n if (isDarkMode) {\n (_c = themeMeta) === null || _c === void 0 ? void 0 : _c.setAttribute('content', 'dark');\n }\n}\n\nfunction setup() {\n interactives();\n twitter();\n} // ----- Exports ----- //\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (setup);\n\n//# sourceURL=webpack:///./src/client/setup.ts?"); - -/***/ }) - -/******/ }); \ No newline at end of file