From 930cc64f6a0d66ecdeb87ada68b00bb5c3ae73ca Mon Sep 17 00:00:00 2001 From: Travis CI Date: Sun, 8 Jan 2017 08:41:33 +0000 Subject: [PATCH] Webpack build: adbd95adf094c4c098ff3fc4c8ecbf28a3f2947f --- discord.indev-prism.js | 1223 ++++++++++++++++++++++-------------- discord.indev-prism.min.js | 18 +- 2 files changed, 751 insertions(+), 490 deletions(-) diff --git a/discord.indev-prism.js b/discord.indev-prism.js index a02d22c3..b35ead79 100644 --- a/discord.indev-prism.js +++ b/discord.indev-prism.js @@ -63,7 +63,7 @@ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 165); +/******/ return __webpack_require__(__webpack_require__.s = 167); /******/ }) /************************************************************************/ /******/ ([ @@ -444,7 +444,7 @@ for (const key in PermissionFlags) _ALL_PERMISSIONS |= PermissionFlags[key]; exports.ALL_PERMISSIONS = _ALL_PERMISSIONS; exports.DEFAULT_PERMISSIONS = 104324097; -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(25))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19))) /***/ }, /* 1 */ @@ -1934,7 +1934,7 @@ module.exports = Emoji; const TextBasedChannel = __webpack_require__(13); const Role = __webpack_require__(9); -const EvaluatedPermissions = __webpack_require__(19); +const EvaluatedPermissions = __webpack_require__(20); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); const Presence = __webpack_require__(7).Presence; @@ -2960,7 +2960,7 @@ module.exports = Message; /* 13 */ /***/ function(module, exports, __webpack_require__) { -const path = __webpack_require__(24); +const path = __webpack_require__(25); const Message = __webpack_require__(12); const MessageCollector = __webpack_require__(35); const Collection = __webpack_require__(3); @@ -3370,7 +3370,7 @@ const GuildMember = __webpack_require__(11); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); const cloneObject = __webpack_require__(4); -const arraysEqual = __webpack_require__(155); +const arraysEqual = __webpack_require__(157); /** * Represents a guild (or a server) on Discord. @@ -4241,7 +4241,7 @@ module.exports = Guild; const Channel = __webpack_require__(8); const Role = __webpack_require__(9); const PermissionOverwrites = __webpack_require__(41); -const EvaluatedPermissions = __webpack_require__(19); +const EvaluatedPermissions = __webpack_require__(20); const Constants = __webpack_require__(0); const Collection = __webpack_require__(3); @@ -4565,9 +4565,9 @@ module.exports = function escapeMarkdown(text, onlyCodeBlock = false, onlyInline -var base64 = __webpack_require__(64) -var ieee754 = __webpack_require__(66) -var isArray = __webpack_require__(67) +var base64 = __webpack_require__(65) +var ieee754 = __webpack_require__(67) +var isArray = __webpack_require__(68) exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer @@ -6345,7 +6345,7 @@ function isnan (val) { return val !== val // eslint-disable-line no-self-compare } -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(81))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(51))) /***/ }, /* 18 */ @@ -6657,6 +6657,192 @@ function isUndefined(arg) { /***/ }, /* 19 */ +/***/ function(module, exports) { + +// shim for using process in browser +var process = module.exports = {}; + +// cached from whatever global is present so that test runners that stub it +// don't break things. But we need to wrap it in a try catch in case it is +// wrapped in strict mode code which doesn't define any globals. It's inside a +// function because try/catches deoptimize in certain engines. + +var cachedSetTimeout; +var cachedClearTimeout; + +function defaultSetTimout() { + throw new Error('setTimeout has not been defined'); +} +function defaultClearTimeout () { + throw new Error('clearTimeout has not been defined'); +} +(function () { + try { + if (typeof setTimeout === 'function') { + cachedSetTimeout = setTimeout; + } else { + cachedSetTimeout = defaultSetTimout; + } + } catch (e) { + cachedSetTimeout = defaultSetTimout; + } + try { + if (typeof clearTimeout === 'function') { + cachedClearTimeout = clearTimeout; + } else { + cachedClearTimeout = defaultClearTimeout; + } + } catch (e) { + cachedClearTimeout = defaultClearTimeout; + } +} ()) +function runTimeout(fun) { + if (cachedSetTimeout === setTimeout) { + //normal enviroments in sane situations + return setTimeout(fun, 0); + } + // if setTimeout wasn't available but was latter defined + if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { + cachedSetTimeout = setTimeout; + return setTimeout(fun, 0); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedSetTimeout(fun, 0); + } catch(e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedSetTimeout.call(null, fun, 0); + } catch(e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error + return cachedSetTimeout.call(this, fun, 0); + } + } + + +} +function runClearTimeout(marker) { + if (cachedClearTimeout === clearTimeout) { + //normal enviroments in sane situations + return clearTimeout(marker); + } + // if clearTimeout wasn't available but was latter defined + if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { + cachedClearTimeout = clearTimeout; + return clearTimeout(marker); + } + try { + // when when somebody has screwed with setTimeout but no I.E. maddness + return cachedClearTimeout(marker); + } catch (e){ + try { + // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally + return cachedClearTimeout.call(null, marker); + } catch (e){ + // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. + // Some versions of I.E. have different rules for clearTimeout vs setTimeout + return cachedClearTimeout.call(this, marker); + } + } + + + +} +var queue = []; +var draining = false; +var currentQueue; +var queueIndex = -1; + +function cleanUpNextTick() { + if (!draining || !currentQueue) { + return; + } + draining = false; + if (currentQueue.length) { + queue = currentQueue.concat(queue); + } else { + queueIndex = -1; + } + if (queue.length) { + drainQueue(); + } +} + +function drainQueue() { + if (draining) { + return; + } + var timeout = runTimeout(cleanUpNextTick); + draining = true; + + var len = queue.length; + while(len) { + currentQueue = queue; + queue = []; + while (++queueIndex < len) { + if (currentQueue) { + currentQueue[queueIndex].run(); + } + } + queueIndex = -1; + len = queue.length; + } + currentQueue = null; + draining = false; + runClearTimeout(timeout); +} + +process.nextTick = function (fun) { + var args = new Array(arguments.length - 1); + if (arguments.length > 1) { + for (var i = 1; i < arguments.length; i++) { + args[i - 1] = arguments[i]; + } + } + queue.push(new Item(fun, args)); + if (queue.length === 1 && !draining) { + runTimeout(drainQueue); + } +}; + +// v8 likes predictible objects +function Item(fun, array) { + this.fun = fun; + this.array = array; +} +Item.prototype.run = function () { + this.fun.apply(null, this.array); +}; +process.title = 'browser'; +process.browser = true; +process.env = {}; +process.argv = []; +process.version = ''; // empty string to avoid regexp issues +process.versions = {}; + +function noop() {} + +process.on = noop; +process.addListener = noop; +process.once = noop; +process.off = noop; +process.removeListener = noop; +process.removeAllListeners = noop; +process.emit = noop; + +process.binding = function (name) { + throw new Error('process.binding is not supported'); +}; + +process.cwd = function () { return '/' }; +process.chdir = function (dir) { + throw new Error('process.chdir is not supported'); +}; +process.umask = function() { return 0; }; + + +/***/ }, +/* 20 */ /***/ function(module, exports, __webpack_require__) { const Constants = __webpack_require__(0); @@ -6729,7 +6915,7 @@ module.exports = EvaluatedPermissions; /***/ }, -/* 20 */ +/* 21 */ /***/ function(module, exports) { /** @@ -6784,10 +6970,10 @@ module.exports = ReactionEmoji; /***/ }, -/* 21 */ +/* 22 */ /***/ function(module, exports, __webpack_require__) { -const path = __webpack_require__(24); +const path = __webpack_require__(25); const escapeMarkdown = __webpack_require__(16); /** @@ -6990,7 +7176,7 @@ module.exports = Webhook; /***/ }, -/* 22 */ +/* 23 */ /***/ function(module, exports, __webpack_require__) { const Long = __webpack_require__(45); @@ -7061,7 +7247,7 @@ module.exports = SnowflakeUtil; /***/ }, -/* 23 */ +/* 24 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -7081,7 +7267,7 @@ module.exports = { /***/ }, -/* 24 */ +/* 25 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {// Copyright Joyent, Inc. and other Node contributors. @@ -7309,193 +7495,7 @@ var substr = 'ab'.substr(-1) === 'b' } ; -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(25))) - -/***/ }, -/* 25 */ -/***/ function(module, exports) { - -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19))) /***/ }, /* 26 */ @@ -7515,11 +7515,11 @@ if (typeof window !== 'undefined') { // Browser window root = this; } -var Emitter = __webpack_require__(65); -var RequestBase = __webpack_require__(78); +var Emitter = __webpack_require__(66); +var RequestBase = __webpack_require__(80); var isObject = __webpack_require__(27); -var isFunction = __webpack_require__(77); -var ResponseBase = __webpack_require__(79); +var isFunction = __webpack_require__(79); +var ResponseBase = __webpack_require__(81); /** * Noop. @@ -9778,7 +9778,7 @@ module.exports = MessageEmbed; const Collection = __webpack_require__(3); const Emoji = __webpack_require__(10); -const ReactionEmoji = __webpack_require__(20); +const ReactionEmoji = __webpack_require__(21); /** * Represents a reaction to a message @@ -11956,25 +11956,50 @@ module.exports = ZStream; /* 51 */ /***/ function(module, exports) { +var g; + +// This works in non-strict mode +g = (function() { return this; })(); + +try { + // This works if eval is allowed (see CSP) + g = g || Function("return this")() || (1,eval)("this"); +} catch(e) { + // This works if the window reference is available + if(typeof window === "object") + g = window; +} + +// g can still be undefined, but nothing to do about it... +// We return undefined, instead of nothing here, so it's +// easier to handle this case. if(!global) { ...} + +module.exports = g; /***/ }, /* 52 */ +/***/ function(module, exports) { + + + +/***/ }, +/* 53 */ /***/ function(module, exports, __webpack_require__) { -/* WEBPACK VAR INJECTION */(function(Buffer) {const path = __webpack_require__(24); -const fs = __webpack_require__(51); +/* WEBPACK VAR INJECTION */(function(Buffer) {const path = __webpack_require__(25); +const fs = __webpack_require__(52); const request = __webpack_require__(26); const Constants = __webpack_require__(0); -const convertArrayBuffer = __webpack_require__(55); +const convertArrayBuffer = __webpack_require__(56); const User = __webpack_require__(6); const Message = __webpack_require__(12); const Guild = __webpack_require__(14); const Channel = __webpack_require__(8); const GuildMember = __webpack_require__(11); const Emoji = __webpack_require__(10); -const ReactionEmoji = __webpack_require__(20); +const ReactionEmoji = __webpack_require__(21); /** * The DataResolver identifies different objects and tries to resolve a specific piece of information from them, e.g. @@ -12288,14 +12313,14 @@ module.exports = ClientDataResolver; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17).Buffer)) /***/ }, -/* 53 */ +/* 54 */ /***/ function(module, exports, __webpack_require__) { -const UserAgentManager = __webpack_require__(115); -const RESTMethods = __webpack_require__(112); -const SequentialRequestHandler = __webpack_require__(114); -const BurstRequestHandler = __webpack_require__(113); -const APIRequest = __webpack_require__(111); +const UserAgentManager = __webpack_require__(117); +const RESTMethods = __webpack_require__(114); +const SequentialRequestHandler = __webpack_require__(116); +const BurstRequestHandler = __webpack_require__(115); +const APIRequest = __webpack_require__(113); const Constants = __webpack_require__(0); class RESTManager { @@ -12345,7 +12370,7 @@ module.exports = RESTManager; /***/ }, -/* 54 */ +/* 55 */ /***/ function(module, exports) { /** @@ -12402,7 +12427,7 @@ module.exports = RequestHandler; /***/ }, -/* 55 */ +/* 56 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(Buffer) {function str2ab(str) { @@ -12420,7 +12445,7 @@ module.exports = function convertArrayBuffer(x) { /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(17).Buffer)) /***/ }, -/* 56 */ +/* 57 */ /***/ function(module, exports) { module.exports = function merge(def, given) { @@ -12438,23 +12463,23 @@ module.exports = function merge(def, given) { /***/ }, -/* 57 */ +/* 58 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(process) {const EventEmitter = __webpack_require__(18).EventEmitter; -const mergeDefault = __webpack_require__(56); +const mergeDefault = __webpack_require__(57); const Constants = __webpack_require__(0); -const RESTManager = __webpack_require__(53); -const ClientDataManager = __webpack_require__(82); -const ClientManager = __webpack_require__(83); -const ClientDataResolver = __webpack_require__(52); -const ClientVoiceManager = __webpack_require__(159); -const WebSocketManager = __webpack_require__(117); -const ActionsManager = __webpack_require__(84); +const RESTManager = __webpack_require__(54); +const ClientDataManager = __webpack_require__(84); +const ClientManager = __webpack_require__(85); +const ClientDataResolver = __webpack_require__(53); +const ClientVoiceManager = __webpack_require__(161); +const WebSocketManager = __webpack_require__(119); +const ActionsManager = __webpack_require__(86); const Collection = __webpack_require__(3); const Presence = __webpack_require__(7).Presence; -const ShardClientUtil = __webpack_require__(158); -const VoiceBroadcast = __webpack_require__(116); +const ShardClientUtil = __webpack_require__(160); +const VoiceBroadcast = __webpack_require__(118); /** * The starting point for making a Discord Bot. @@ -12937,16 +12962,16 @@ module.exports = Client; * @param {string} info The debug information */ -/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(25))) +/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(19))) /***/ }, -/* 58 */ +/* 59 */ /***/ function(module, exports, __webpack_require__) { -const Webhook = __webpack_require__(21); -const RESTManager = __webpack_require__(53); -const ClientDataResolver = __webpack_require__(52); -const mergeDefault = __webpack_require__(56); +const Webhook = __webpack_require__(22); +const RESTManager = __webpack_require__(54); +const ClientDataResolver = __webpack_require__(53); +const mergeDefault = __webpack_require__(57); const Constants = __webpack_require__(0); /** @@ -12992,7 +13017,7 @@ module.exports = WebhookClient; /***/ }, -/* 59 */ +/* 60 */ /***/ function(module, exports) { /** @@ -13202,7 +13227,7 @@ function resolveString(data) { /***/ }, -/* 60 */ +/* 61 */ /***/ function(module, exports, __webpack_require__) { const superagent = __webpack_require__(26); @@ -13227,12 +13252,6 @@ module.exports = function fetchRecommendedShards(token, guildsPerShard = 1000) { }; -/***/ }, -/* 61 */ -/***/ function(module, exports) { - -/* (ignored) */ - /***/ }, /* 62 */ /***/ function(module, exports) { @@ -13247,6 +13266,12 @@ module.exports = function fetchRecommendedShards(token, guildsPerShard = 1000) { /***/ }, /* 64 */ +/***/ function(module, exports) { + +/* (ignored) */ + +/***/ }, +/* 65 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -13367,7 +13392,7 @@ function fromByteArray (uint8) { /***/ }, -/* 65 */ +/* 66 */ /***/ function(module, exports, __webpack_require__) { @@ -13536,7 +13561,7 @@ Emitter.prototype.hasListeners = function(event){ /***/ }, -/* 66 */ +/* 67 */ /***/ function(module, exports) { exports.read = function (buffer, offset, isLE, mLen, nBytes) { @@ -13626,7 +13651,7 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { /***/ }, -/* 67 */ +/* 68 */ /***/ function(module, exports) { var toString = {}.toString; @@ -13637,7 +13662,7 @@ module.exports = Array.isArray || function (arr) { /***/ }, -/* 68 */ +/* 69 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -13646,8 +13671,8 @@ module.exports = Array.isArray || function (arr) { var assign = __webpack_require__(5).assign; -var deflate = __webpack_require__(69); -var inflate = __webpack_require__(70); +var deflate = __webpack_require__(70); +var inflate = __webpack_require__(71); var constants = __webpack_require__(48); var pako = {}; @@ -13658,17 +13683,17 @@ module.exports = pako; /***/ }, -/* 69 */ +/* 70 */ /***/ function(module, exports, __webpack_require__) { "use strict"; -var zlib_deflate = __webpack_require__(71); +var zlib_deflate = __webpack_require__(72); var utils = __webpack_require__(5); var strings = __webpack_require__(46); -var msg = __webpack_require__(23); +var msg = __webpack_require__(24); var ZStream = __webpack_require__(50); var toString = Object.prototype.toString; @@ -14065,20 +14090,20 @@ exports.gzip = gzip; /***/ }, -/* 70 */ +/* 71 */ /***/ function(module, exports, __webpack_require__) { "use strict"; -var zlib_inflate = __webpack_require__(74); +var zlib_inflate = __webpack_require__(75); var utils = __webpack_require__(5); var strings = __webpack_require__(46); var c = __webpack_require__(48); -var msg = __webpack_require__(23); +var msg = __webpack_require__(24); var ZStream = __webpack_require__(50); -var GZheader = __webpack_require__(72); +var GZheader = __webpack_require__(73); var toString = Object.prototype.toString; @@ -14490,17 +14515,17 @@ exports.ungzip = inflate; /***/ }, -/* 71 */ +/* 72 */ /***/ function(module, exports, __webpack_require__) { "use strict"; var utils = __webpack_require__(5); -var trees = __webpack_require__(76); +var trees = __webpack_require__(77); var adler32 = __webpack_require__(47); var crc32 = __webpack_require__(49); -var msg = __webpack_require__(23); +var msg = __webpack_require__(24); /* Public constants ==========================================================*/ /* ===========================================================================*/ @@ -16352,7 +16377,7 @@ exports.deflateTune = deflateTune; /***/ }, -/* 72 */ +/* 73 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -16399,7 +16424,7 @@ module.exports = GZheader; /***/ }, -/* 73 */ +/* 74 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -16732,7 +16757,7 @@ module.exports = function inflate_fast(strm, start) { /***/ }, -/* 74 */ +/* 75 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -16742,8 +16767,8 @@ module.exports = function inflate_fast(strm, start) { var utils = __webpack_require__(5); var adler32 = __webpack_require__(47); var crc32 = __webpack_require__(49); -var inflate_fast = __webpack_require__(73); -var inflate_table = __webpack_require__(75); +var inflate_fast = __webpack_require__(74); +var inflate_table = __webpack_require__(76); var CODES = 0; var LENS = 1; @@ -18277,7 +18302,7 @@ exports.inflateUndermine = inflateUndermine; /***/ }, -/* 75 */ +/* 76 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -18609,7 +18634,7 @@ module.exports = function inflate_table(type, lens, lens_index, codes, table, ta /***/ }, -/* 76 */ +/* 77 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -19818,7 +19843,200 @@ exports._tr_align = _tr_align; /***/ }, -/* 77 */ +/* 78 */ +/***/ function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(global, process) {(function (global, undefined) { + "use strict"; + + if (global.setImmediate) { + return; + } + + var nextHandle = 1; // Spec says greater than zero + var tasksByHandle = {}; + var currentlyRunningATask = false; + var doc = global.document; + var registerImmediate; + + function setImmediate(callback) { + // Callback can either be a function or a string + if (typeof callback !== "function") { + callback = new Function("" + callback); + } + // Copy function arguments + var args = new Array(arguments.length - 1); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i + 1]; + } + // Store and register the task + var task = { callback: callback, args: args }; + tasksByHandle[nextHandle] = task; + registerImmediate(nextHandle); + return nextHandle++; + } + + function clearImmediate(handle) { + delete tasksByHandle[handle]; + } + + function run(task) { + var callback = task.callback; + var args = task.args; + switch (args.length) { + case 0: + callback(); + break; + case 1: + callback(args[0]); + break; + case 2: + callback(args[0], args[1]); + break; + case 3: + callback(args[0], args[1], args[2]); + break; + default: + callback.apply(undefined, args); + break; + } + } + + function runIfPresent(handle) { + // From the spec: "Wait until any invocations of this algorithm started before this one have completed." + // So if we're currently running a task, we'll need to delay this invocation. + if (currentlyRunningATask) { + // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a + // "too much recursion" error. + setTimeout(runIfPresent, 0, handle); + } else { + var task = tasksByHandle[handle]; + if (task) { + currentlyRunningATask = true; + try { + run(task); + } finally { + clearImmediate(handle); + currentlyRunningATask = false; + } + } + } + } + + function installNextTickImplementation() { + registerImmediate = function(handle) { + process.nextTick(function () { runIfPresent(handle); }); + }; + } + + function canUsePostMessage() { + // The test against `importScripts` prevents this implementation from being installed inside a web worker, + // where `global.postMessage` means something completely different and can't be used for this purpose. + if (global.postMessage && !global.importScripts) { + var postMessageIsAsynchronous = true; + var oldOnMessage = global.onmessage; + global.onmessage = function() { + postMessageIsAsynchronous = false; + }; + global.postMessage("", "*"); + global.onmessage = oldOnMessage; + return postMessageIsAsynchronous; + } + } + + function installPostMessageImplementation() { + // Installs an event handler on `global` for the `message` event: see + // * https://developer.mozilla.org/en/DOM/window.postMessage + // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages + + var messagePrefix = "setImmediate$" + Math.random() + "$"; + var onGlobalMessage = function(event) { + if (event.source === global && + typeof event.data === "string" && + event.data.indexOf(messagePrefix) === 0) { + runIfPresent(+event.data.slice(messagePrefix.length)); + } + }; + + if (global.addEventListener) { + global.addEventListener("message", onGlobalMessage, false); + } else { + global.attachEvent("onmessage", onGlobalMessage); + } + + registerImmediate = function(handle) { + global.postMessage(messagePrefix + handle, "*"); + }; + } + + function installMessageChannelImplementation() { + var channel = new MessageChannel(); + channel.port1.onmessage = function(event) { + var handle = event.data; + runIfPresent(handle); + }; + + registerImmediate = function(handle) { + channel.port2.postMessage(handle); + }; + } + + function installReadyStateChangeImplementation() { + var html = doc.documentElement; + registerImmediate = function(handle) { + // Create a