babel-source 5.8.26 → 5.8.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/babel.js +3644 -6402
- data/lib/babel/polyfill.js +1181 -1155
- data/lib/babel/source.rb +2 -2
- metadata +2 -2
data/lib/babel/polyfill.js
CHANGED
@@ -1,126 +1,78 @@
|
|
1
|
-
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(
|
2
|
-
// shim for using process in browser
|
3
|
-
|
4
|
-
var process = module.exports = {};
|
5
|
-
var queue = [];
|
6
|
-
var draining = false;
|
7
|
-
var currentQueue;
|
8
|
-
var queueIndex = -1;
|
9
|
-
|
10
|
-
function cleanUpNextTick() {
|
11
|
-
draining = false;
|
12
|
-
if (currentQueue.length) {
|
13
|
-
queue = currentQueue.concat(queue);
|
14
|
-
} else {
|
15
|
-
queueIndex = -1;
|
16
|
-
}
|
17
|
-
if (queue.length) {
|
18
|
-
drainQueue();
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
function drainQueue() {
|
23
|
-
if (draining) {
|
24
|
-
return;
|
25
|
-
}
|
26
|
-
var timeout = setTimeout(cleanUpNextTick);
|
27
|
-
draining = true;
|
28
|
-
|
29
|
-
var len = queue.length;
|
30
|
-
while(len) {
|
31
|
-
currentQueue = queue;
|
32
|
-
queue = [];
|
33
|
-
while (++queueIndex < len) {
|
34
|
-
if (currentQueue) {
|
35
|
-
currentQueue[queueIndex].run();
|
36
|
-
}
|
37
|
-
}
|
38
|
-
queueIndex = -1;
|
39
|
-
len = queue.length;
|
40
|
-
}
|
41
|
-
currentQueue = null;
|
42
|
-
draining = false;
|
43
|
-
clearTimeout(timeout);
|
44
|
-
}
|
45
|
-
|
46
|
-
process.nextTick = function (fun) {
|
47
|
-
var args = new Array(arguments.length - 1);
|
48
|
-
if (arguments.length > 1) {
|
49
|
-
for (var i = 1; i < arguments.length; i++) {
|
50
|
-
args[i - 1] = arguments[i];
|
51
|
-
}
|
52
|
-
}
|
53
|
-
queue.push(new Item(fun, args));
|
54
|
-
if (queue.length === 1 && !draining) {
|
55
|
-
setTimeout(drainQueue, 0);
|
56
|
-
}
|
57
|
-
};
|
58
|
-
|
59
|
-
// v8 likes predictible objects
|
60
|
-
function Item(fun, array) {
|
61
|
-
this.fun = fun;
|
62
|
-
this.array = array;
|
63
|
-
}
|
64
|
-
Item.prototype.run = function () {
|
65
|
-
this.fun.apply(null, this.array);
|
66
|
-
};
|
67
|
-
process.title = 'browser';
|
68
|
-
process.browser = true;
|
69
|
-
process.env = {};
|
70
|
-
process.argv = [];
|
71
|
-
process.version = ''; // empty string to avoid regexp issues
|
72
|
-
process.versions = {};
|
73
|
-
|
74
|
-
function noop() {}
|
75
|
-
|
76
|
-
process.on = noop;
|
77
|
-
process.addListener = noop;
|
78
|
-
process.once = noop;
|
79
|
-
process.off = noop;
|
80
|
-
process.removeListener = noop;
|
81
|
-
process.removeAllListeners = noop;
|
82
|
-
process.emit = noop;
|
83
|
-
|
84
|
-
process.binding = function (name) {
|
85
|
-
throw new Error('process.binding is not supported');
|
86
|
-
};
|
87
|
-
|
88
|
-
process.cwd = function () { return '/' };
|
89
|
-
process.chdir = function (dir) {
|
90
|
-
throw new Error('process.chdir is not supported');
|
91
|
-
};
|
92
|
-
process.umask = function() { return 0; };
|
93
|
-
|
94
|
-
},{}],2:[function(require,module,exports){
|
1
|
+
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
|
95
2
|
(function (global){
|
96
3
|
"use strict";
|
97
4
|
|
98
|
-
|
5
|
+
_dereq_(186);
|
99
6
|
|
100
|
-
|
7
|
+
_dereq_(187);
|
101
8
|
|
102
9
|
if (global._babelPolyfill) {
|
103
10
|
throw new Error("only one instance of babel/polyfill is allowed");
|
104
11
|
}
|
105
12
|
global._babelPolyfill = true;
|
106
13
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
107
|
-
},{"
|
14
|
+
},{"186":186,"187":187}],2:[function(_dereq_,module,exports){
|
108
15
|
module.exports = function(it){
|
109
16
|
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
110
17
|
return it;
|
111
18
|
};
|
112
|
-
},{}],
|
113
|
-
var isObject =
|
19
|
+
},{}],3:[function(_dereq_,module,exports){
|
20
|
+
var isObject = _dereq_(37);
|
114
21
|
module.exports = function(it){
|
115
22
|
if(!isObject(it))throw TypeError(it + ' is not an object!');
|
116
23
|
return it;
|
117
24
|
};
|
118
|
-
},{"
|
25
|
+
},{"37":37}],4:[function(_dereq_,module,exports){
|
26
|
+
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
27
|
+
'use strict';
|
28
|
+
var toObject = _dereq_(78)
|
29
|
+
, toIndex = _dereq_(74)
|
30
|
+
, toLength = _dereq_(77);
|
31
|
+
|
32
|
+
module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
|
33
|
+
var O = toObject(this)
|
34
|
+
, len = toLength(O.length)
|
35
|
+
, to = toIndex(target, len)
|
36
|
+
, from = toIndex(start, len)
|
37
|
+
, $$ = arguments
|
38
|
+
, end = $$.length > 2 ? $$[2] : undefined
|
39
|
+
, count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
|
40
|
+
, inc = 1;
|
41
|
+
if(from < to && to < from + count){
|
42
|
+
inc = -1;
|
43
|
+
from += count - 1;
|
44
|
+
to += count - 1;
|
45
|
+
}
|
46
|
+
while(count-- > 0){
|
47
|
+
if(from in O)O[to] = O[from];
|
48
|
+
else delete O[to];
|
49
|
+
to += inc;
|
50
|
+
from += inc;
|
51
|
+
} return O;
|
52
|
+
};
|
53
|
+
},{"74":74,"77":77,"78":78}],5:[function(_dereq_,module,exports){
|
54
|
+
// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
|
55
|
+
'use strict';
|
56
|
+
var toObject = _dereq_(78)
|
57
|
+
, toIndex = _dereq_(74)
|
58
|
+
, toLength = _dereq_(77);
|
59
|
+
module.exports = [].fill || function fill(value /*, start = 0, end = @length */){
|
60
|
+
var O = toObject(this, true)
|
61
|
+
, length = toLength(O.length)
|
62
|
+
, $$ = arguments
|
63
|
+
, $$len = $$.length
|
64
|
+
, index = toIndex($$len > 1 ? $$[1] : undefined, length)
|
65
|
+
, end = $$len > 2 ? $$[2] : undefined
|
66
|
+
, endPos = end === undefined ? length : toIndex(end, length);
|
67
|
+
while(endPos > index)O[index++] = value;
|
68
|
+
return O;
|
69
|
+
};
|
70
|
+
},{"74":74,"77":77,"78":78}],6:[function(_dereq_,module,exports){
|
119
71
|
// false -> Array#indexOf
|
120
72
|
// true -> Array#includes
|
121
|
-
var toIObject =
|
122
|
-
, toLength =
|
123
|
-
, toIndex =
|
73
|
+
var toIObject = _dereq_(76)
|
74
|
+
, toLength = _dereq_(77)
|
75
|
+
, toIndex = _dereq_(74);
|
124
76
|
module.exports = function(IS_INCLUDES){
|
125
77
|
return function($this, el, fromIndex){
|
126
78
|
var O = toIObject($this)
|
@@ -137,7 +89,7 @@ module.exports = function(IS_INCLUDES){
|
|
137
89
|
} return !IS_INCLUDES && -1;
|
138
90
|
};
|
139
91
|
};
|
140
|
-
},{"
|
92
|
+
},{"74":74,"76":76,"77":77}],7:[function(_dereq_,module,exports){
|
141
93
|
// 0 -> Array#forEach
|
142
94
|
// 1 -> Array#map
|
143
95
|
// 2 -> Array#filter
|
@@ -145,10 +97,21 @@ module.exports = function(IS_INCLUDES){
|
|
145
97
|
// 4 -> Array#every
|
146
98
|
// 5 -> Array#find
|
147
99
|
// 6 -> Array#findIndex
|
148
|
-
var ctx =
|
149
|
-
,
|
150
|
-
,
|
151
|
-
,
|
100
|
+
var ctx = _dereq_(16)
|
101
|
+
, isObject = _dereq_(37)
|
102
|
+
, IObject = _dereq_(33)
|
103
|
+
, toObject = _dereq_(78)
|
104
|
+
, toLength = _dereq_(77)
|
105
|
+
, isArray = _dereq_(35)
|
106
|
+
, SPECIES = _dereq_(81)('species');
|
107
|
+
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
|
108
|
+
var ASC = function(original, length){
|
109
|
+
var C;
|
110
|
+
if(isArray(original) && isObject(C = original.constructor)){
|
111
|
+
C = C[SPECIES];
|
112
|
+
if(C === null)C = undefined;
|
113
|
+
} return new (C === undefined ? Array : C)(length);
|
114
|
+
};
|
152
115
|
module.exports = function(TYPE){
|
153
116
|
var IS_MAP = TYPE == 1
|
154
117
|
, IS_FILTER = TYPE == 2
|
@@ -162,7 +125,7 @@ module.exports = function(TYPE){
|
|
162
125
|
, f = ctx(callbackfn, that, 3)
|
163
126
|
, length = toLength(self.length)
|
164
127
|
, index = 0
|
165
|
-
, result = IS_MAP ?
|
128
|
+
, result = IS_MAP ? ASC($this, length) : IS_FILTER ? ASC($this, 0) : undefined
|
166
129
|
, val, res;
|
167
130
|
for(;length > index; index++)if(NO_HOLES || index in self){
|
168
131
|
val = self[index];
|
@@ -180,32 +143,44 @@ module.exports = function(TYPE){
|
|
180
143
|
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
|
181
144
|
};
|
182
145
|
};
|
183
|
-
},{"
|
146
|
+
},{"16":16,"33":33,"35":35,"37":37,"77":77,"78":78,"81":81}],8:[function(_dereq_,module,exports){
|
184
147
|
// 19.1.2.1 Object.assign(target, source, ...)
|
185
|
-
var
|
186
|
-
,
|
187
|
-
,
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
,
|
194
|
-
,
|
195
|
-
|
196
|
-
|
197
|
-
|
148
|
+
var $ = _dereq_(45)
|
149
|
+
, toObject = _dereq_(78)
|
150
|
+
, IObject = _dereq_(33);
|
151
|
+
|
152
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
153
|
+
module.exports = _dereq_(23)(function(){
|
154
|
+
var a = Object.assign
|
155
|
+
, A = {}
|
156
|
+
, B = {}
|
157
|
+
, S = Symbol()
|
158
|
+
, K = 'abcdefghijklmnopqrst';
|
159
|
+
A[S] = 7;
|
160
|
+
K.split('').forEach(function(k){ B[k] = k; });
|
161
|
+
return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
|
162
|
+
}) ? function assign(target, source){ // eslint-disable-line no-unused-vars
|
163
|
+
var T = toObject(target)
|
164
|
+
, $$ = arguments
|
165
|
+
, $$len = $$.length
|
166
|
+
, index = 1
|
167
|
+
, getKeys = $.getKeys
|
168
|
+
, getSymbols = $.getSymbols
|
169
|
+
, isEnum = $.isEnum;
|
170
|
+
while($$len > index){
|
171
|
+
var S = IObject($$[index++])
|
172
|
+
, keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
|
198
173
|
, length = keys.length
|
199
174
|
, j = 0
|
200
175
|
, key;
|
201
|
-
while(length > j)
|
176
|
+
while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
|
202
177
|
}
|
203
178
|
return T;
|
204
179
|
} : Object.assign;
|
205
|
-
},{"
|
180
|
+
},{"23":23,"33":33,"45":45,"78":78}],9:[function(_dereq_,module,exports){
|
206
181
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
207
|
-
var cof =
|
208
|
-
, TAG =
|
182
|
+
var cof = _dereq_(10)
|
183
|
+
, TAG = _dereq_(81)('toStringTag')
|
209
184
|
// ES3 wrong here
|
210
185
|
, ARG = cof(function(){ return arguments; }()) == 'Arguments';
|
211
186
|
|
@@ -219,27 +194,27 @@ module.exports = function(it){
|
|
219
194
|
// ES3 arguments fallback
|
220
195
|
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
221
196
|
};
|
222
|
-
},{"
|
197
|
+
},{"10":10,"81":81}],10:[function(_dereq_,module,exports){
|
223
198
|
var toString = {}.toString;
|
224
199
|
|
225
200
|
module.exports = function(it){
|
226
201
|
return toString.call(it).slice(8, -1);
|
227
202
|
};
|
228
|
-
},{}],
|
203
|
+
},{}],11:[function(_dereq_,module,exports){
|
229
204
|
'use strict';
|
230
|
-
var $ =
|
231
|
-
, hide =
|
232
|
-
, ctx =
|
233
|
-
, species =
|
234
|
-
, strictNew =
|
235
|
-
, defined =
|
236
|
-
, forOf =
|
237
|
-
, step =
|
238
|
-
, ID =
|
239
|
-
, $has =
|
240
|
-
, isObject =
|
205
|
+
var $ = _dereq_(45)
|
206
|
+
, hide = _dereq_(30)
|
207
|
+
, ctx = _dereq_(16)
|
208
|
+
, species = _dereq_(64)
|
209
|
+
, strictNew = _dereq_(65)
|
210
|
+
, defined = _dereq_(18)
|
211
|
+
, forOf = _dereq_(26)
|
212
|
+
, step = _dereq_(43)
|
213
|
+
, ID = _dereq_(79)('id')
|
214
|
+
, $has = _dereq_(29)
|
215
|
+
, isObject = _dereq_(37)
|
241
216
|
, isExtensible = Object.isExtensible || isObject
|
242
|
-
, SUPPORT_DESC =
|
217
|
+
, SUPPORT_DESC = _dereq_(71)
|
243
218
|
, SIZE = SUPPORT_DESC ? '_s' : 'size'
|
244
219
|
, id = 0;
|
245
220
|
|
@@ -277,7 +252,7 @@ module.exports = {
|
|
277
252
|
that[SIZE] = 0; // size
|
278
253
|
if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
|
279
254
|
});
|
280
|
-
|
255
|
+
_dereq_(50)(C.prototype, {
|
281
256
|
// 23.1.3.1 Map.prototype.clear()
|
282
257
|
// 23.2.3.2 Set.prototype.clear()
|
283
258
|
clear: function clear(){
|
@@ -309,7 +284,7 @@ module.exports = {
|
|
309
284
|
// 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
|
310
285
|
// 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
|
311
286
|
forEach: function forEach(callbackfn /*, that = undefined */){
|
312
|
-
var f = ctx(callbackfn, arguments[1], 3)
|
287
|
+
var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
|
313
288
|
, entry;
|
314
289
|
while(entry = entry ? entry.n : this._f){
|
315
290
|
f(entry.v, entry.k, this);
|
@@ -357,7 +332,7 @@ module.exports = {
|
|
357
332
|
setStrong: function(C, NAME, IS_MAP){
|
358
333
|
// add .keys, .values, .entries, [@@iterator]
|
359
334
|
// 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
|
360
|
-
|
335
|
+
_dereq_(41)(C, NAME, function(iterated, kind){
|
361
336
|
this._t = iterated; // target
|
362
337
|
this._k = kind; // kind
|
363
338
|
this._l = undefined; // previous
|
@@ -381,13 +356,13 @@ module.exports = {
|
|
381
356
|
|
382
357
|
// add [@@species], 23.1.2.2, 23.2.2.2
|
383
358
|
species(C);
|
384
|
-
species(
|
359
|
+
species(_dereq_(15)[NAME]); // for wrapper
|
385
360
|
}
|
386
361
|
};
|
387
|
-
},{"
|
362
|
+
},{"15":15,"16":16,"18":18,"26":26,"29":29,"30":30,"37":37,"41":41,"43":43,"45":45,"50":50,"64":64,"65":65,"71":71,"79":79}],12:[function(_dereq_,module,exports){
|
388
363
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
389
|
-
var forOf =
|
390
|
-
, classof =
|
364
|
+
var forOf = _dereq_(26)
|
365
|
+
, classof = _dereq_(9);
|
391
366
|
module.exports = function(NAME){
|
392
367
|
return function toJSON(){
|
393
368
|
if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
|
@@ -396,16 +371,16 @@ module.exports = function(NAME){
|
|
396
371
|
return arr;
|
397
372
|
};
|
398
373
|
};
|
399
|
-
},{"
|
374
|
+
},{"26":26,"9":9}],13:[function(_dereq_,module,exports){
|
400
375
|
'use strict';
|
401
|
-
var hide =
|
402
|
-
, anObject =
|
403
|
-
, strictNew =
|
404
|
-
, forOf =
|
405
|
-
, method =
|
406
|
-
, WEAK =
|
407
|
-
, isObject =
|
408
|
-
, $has =
|
376
|
+
var hide = _dereq_(30)
|
377
|
+
, anObject = _dereq_(3)
|
378
|
+
, strictNew = _dereq_(65)
|
379
|
+
, forOf = _dereq_(26)
|
380
|
+
, method = _dereq_(7)
|
381
|
+
, WEAK = _dereq_(79)('weak')
|
382
|
+
, isObject = _dereq_(37)
|
383
|
+
, $has = _dereq_(29)
|
409
384
|
, isExtensible = Object.isExtensible || isObject
|
410
385
|
, find = method(5)
|
411
386
|
, findIndex = method(6)
|
@@ -453,7 +428,7 @@ module.exports = {
|
|
453
428
|
that._l = undefined; // leak store for frozen objects
|
454
429
|
if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
|
455
430
|
});
|
456
|
-
|
431
|
+
_dereq_(50)(C.prototype, {
|
457
432
|
// 23.3.3.2 WeakMap.prototype.delete(key)
|
458
433
|
// 23.4.3.3 WeakSet.prototype.delete(value)
|
459
434
|
'delete': function(key){
|
@@ -482,12 +457,12 @@ module.exports = {
|
|
482
457
|
frozenStore: frozenStore,
|
483
458
|
WEAK: WEAK
|
484
459
|
};
|
485
|
-
},{"
|
460
|
+
},{"26":26,"29":29,"3":3,"30":30,"37":37,"50":50,"65":65,"7":7,"79":79}],14:[function(_dereq_,module,exports){
|
486
461
|
'use strict';
|
487
|
-
var global =
|
488
|
-
, $def =
|
489
|
-
, forOf =
|
490
|
-
, strictNew =
|
462
|
+
var global = _dereq_(28)
|
463
|
+
, $def = _dereq_(17)
|
464
|
+
, forOf = _dereq_(26)
|
465
|
+
, strictNew = _dereq_(65);
|
491
466
|
|
492
467
|
module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
493
468
|
var Base = global[NAME]
|
@@ -497,7 +472,7 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
|
497
472
|
, O = {};
|
498
473
|
var fixMethod = function(KEY){
|
499
474
|
var fn = proto[KEY];
|
500
|
-
|
475
|
+
_dereq_(57)(proto, KEY,
|
501
476
|
KEY == 'delete' ? function(a){ return fn.call(this, a === 0 ? 0 : a); }
|
502
477
|
: KEY == 'has' ? function has(a){ return fn.call(this, a === 0 ? 0 : a); }
|
503
478
|
: KEY == 'get' ? function get(a){ return fn.call(this, a === 0 ? 0 : a); }
|
@@ -505,18 +480,18 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
|
505
480
|
: function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }
|
506
481
|
);
|
507
482
|
};
|
508
|
-
if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !
|
483
|
+
if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !_dereq_(23)(function(){
|
509
484
|
new C().entries().next();
|
510
485
|
}))){
|
511
486
|
// create collection constructor
|
512
487
|
C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
|
513
|
-
|
488
|
+
_dereq_(50)(C.prototype, methods);
|
514
489
|
} else {
|
515
490
|
var inst = new C
|
516
491
|
, chain = inst[ADDER](IS_WEAK ? {} : -0, 1)
|
517
492
|
, buggyZero;
|
518
493
|
// wrap for init collections from iterable
|
519
|
-
if(!
|
494
|
+
if(!_dereq_(42)(function(iter){ new C(iter); })){ // eslint-disable-line no-new
|
520
495
|
C = wrapper(function(target, iterable){
|
521
496
|
strictNew(target, C, NAME);
|
522
497
|
var that = new Base;
|
@@ -541,7 +516,7 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
|
541
516
|
if(IS_WEAK && proto.clear)delete proto.clear;
|
542
517
|
}
|
543
518
|
|
544
|
-
|
519
|
+
_dereq_(72)(C, NAME);
|
545
520
|
|
546
521
|
O[NAME] = C;
|
547
522
|
$def($def.G + $def.W + $def.F * (C != Base), O);
|
@@ -550,12 +525,12 @@ module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
|
550
525
|
|
551
526
|
return C;
|
552
527
|
};
|
553
|
-
},{"
|
554
|
-
var core = module.exports = {};
|
528
|
+
},{"17":17,"23":23,"26":26,"28":28,"42":42,"50":50,"57":57,"65":65,"72":72}],15:[function(_dereq_,module,exports){
|
529
|
+
var core = module.exports = {version: '1.2.3'};
|
555
530
|
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
556
|
-
},{}],
|
531
|
+
},{}],16:[function(_dereq_,module,exports){
|
557
532
|
// optional / simple context binding
|
558
|
-
var aFunction =
|
533
|
+
var aFunction = _dereq_(2);
|
559
534
|
module.exports = function(fn, that, length){
|
560
535
|
aFunction(fn);
|
561
536
|
if(that === undefined)return fn;
|
@@ -569,15 +544,16 @@ module.exports = function(fn, that, length){
|
|
569
544
|
case 3: return function(a, b, c){
|
570
545
|
return fn.call(that, a, b, c);
|
571
546
|
};
|
572
|
-
}
|
573
|
-
|
574
|
-
|
547
|
+
}
|
548
|
+
return function(/* ...args */){
|
549
|
+
return fn.apply(that, arguments);
|
550
|
+
};
|
575
551
|
};
|
576
|
-
},{"
|
577
|
-
var global =
|
578
|
-
, core =
|
579
|
-
, hide =
|
580
|
-
, $redef =
|
552
|
+
},{"2":2}],17:[function(_dereq_,module,exports){
|
553
|
+
var global = _dereq_(28)
|
554
|
+
, core = _dereq_(15)
|
555
|
+
, hide = _dereq_(30)
|
556
|
+
, $redef = _dereq_(57)
|
581
557
|
, PROTOTYPE = 'prototype';
|
582
558
|
var ctx = function(fn, that){
|
583
559
|
return function(){
|
@@ -616,23 +592,23 @@ $def.P = 8; // proto
|
|
616
592
|
$def.B = 16; // bind
|
617
593
|
$def.W = 32; // wrap
|
618
594
|
module.exports = $def;
|
619
|
-
},{"
|
595
|
+
},{"15":15,"28":28,"30":30,"57":57}],18:[function(_dereq_,module,exports){
|
620
596
|
// 7.2.1 RequireObjectCoercible(argument)
|
621
597
|
module.exports = function(it){
|
622
598
|
if(it == undefined)throw TypeError("Can't call method on " + it);
|
623
599
|
return it;
|
624
600
|
};
|
625
|
-
},{}],
|
626
|
-
var isObject =
|
627
|
-
, document =
|
601
|
+
},{}],19:[function(_dereq_,module,exports){
|
602
|
+
var isObject = _dereq_(37)
|
603
|
+
, document = _dereq_(28).document
|
628
604
|
// in old IE typeof document.createElement is 'object'
|
629
605
|
, is = isObject(document) && isObject(document.createElement);
|
630
606
|
module.exports = function(it){
|
631
607
|
return is ? document.createElement(it) : {};
|
632
608
|
};
|
633
|
-
},{"
|
609
|
+
},{"28":28,"37":37}],20:[function(_dereq_,module,exports){
|
634
610
|
// all enumerable object keys, includes symbols
|
635
|
-
var $ =
|
611
|
+
var $ = _dereq_(45);
|
636
612
|
module.exports = function(it){
|
637
613
|
var keys = $.getKeys(it)
|
638
614
|
, getSymbols = $.getSymbols;
|
@@ -645,12 +621,24 @@ module.exports = function(it){
|
|
645
621
|
}
|
646
622
|
return keys;
|
647
623
|
};
|
648
|
-
},{"
|
624
|
+
},{"45":45}],21:[function(_dereq_,module,exports){
|
649
625
|
// 20.2.2.14 Math.expm1(x)
|
650
626
|
module.exports = Math.expm1 || function expm1(x){
|
651
627
|
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
|
652
628
|
};
|
653
|
-
},{}],
|
629
|
+
},{}],22:[function(_dereq_,module,exports){
|
630
|
+
module.exports = function(KEY){
|
631
|
+
var re = /./;
|
632
|
+
try {
|
633
|
+
'/./'[KEY](re);
|
634
|
+
} catch(e){
|
635
|
+
try {
|
636
|
+
re[_dereq_(81)('match')] = false;
|
637
|
+
return !'/./'[KEY](re);
|
638
|
+
} catch(f){ /* empty */ }
|
639
|
+
} return true;
|
640
|
+
};
|
641
|
+
},{"81":81}],23:[function(_dereq_,module,exports){
|
654
642
|
module.exports = function(exec){
|
655
643
|
try {
|
656
644
|
return !!exec();
|
@@ -658,19 +646,19 @@ module.exports = function(exec){
|
|
658
646
|
return true;
|
659
647
|
}
|
660
648
|
};
|
661
|
-
},{}],
|
649
|
+
},{}],24:[function(_dereq_,module,exports){
|
662
650
|
'use strict';
|
663
651
|
module.exports = function(KEY, length, exec){
|
664
|
-
var defined =
|
665
|
-
, SYMBOL =
|
652
|
+
var defined = _dereq_(18)
|
653
|
+
, SYMBOL = _dereq_(81)(KEY)
|
666
654
|
, original = ''[KEY];
|
667
|
-
if(
|
655
|
+
if(_dereq_(23)(function(){
|
668
656
|
var O = {};
|
669
657
|
O[SYMBOL] = function(){ return 7; };
|
670
658
|
return ''[KEY](O) != 7;
|
671
659
|
})){
|
672
|
-
|
673
|
-
|
660
|
+
_dereq_(57)(String.prototype, KEY, exec(defined, SYMBOL, original));
|
661
|
+
_dereq_(30)(RegExp.prototype, SYMBOL, length == 2
|
674
662
|
// 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
|
675
663
|
// 21.2.5.11 RegExp.prototype[@@split](string, limit)
|
676
664
|
? function(string, arg){ return original.call(string, this, arg); }
|
@@ -680,10 +668,10 @@ module.exports = function(KEY, length, exec){
|
|
680
668
|
);
|
681
669
|
}
|
682
670
|
};
|
683
|
-
},{"
|
671
|
+
},{"18":18,"23":23,"30":30,"57":57,"81":81}],25:[function(_dereq_,module,exports){
|
684
672
|
'use strict';
|
685
673
|
// 21.2.5.3 get RegExp.prototype.flags
|
686
|
-
var anObject =
|
674
|
+
var anObject = _dereq_(3);
|
687
675
|
module.exports = function(){
|
688
676
|
var that = anObject(this)
|
689
677
|
, result = '';
|
@@ -694,13 +682,13 @@ module.exports = function(){
|
|
694
682
|
if(that.sticky)result += 'y';
|
695
683
|
return result;
|
696
684
|
};
|
697
|
-
},{"
|
698
|
-
var ctx =
|
699
|
-
, call =
|
700
|
-
, isArrayIter =
|
701
|
-
, anObject =
|
702
|
-
, toLength =
|
703
|
-
, getIterFn =
|
685
|
+
},{"3":3}],26:[function(_dereq_,module,exports){
|
686
|
+
var ctx = _dereq_(16)
|
687
|
+
, call = _dereq_(39)
|
688
|
+
, isArrayIter = _dereq_(34)
|
689
|
+
, anObject = _dereq_(3)
|
690
|
+
, toLength = _dereq_(77)
|
691
|
+
, getIterFn = _dereq_(82);
|
704
692
|
module.exports = function(iterable, entries, fn, that){
|
705
693
|
var iterFn = getIterFn(iterable)
|
706
694
|
, f = ctx(fn, that, entries ? 2 : 1)
|
@@ -714,11 +702,11 @@ module.exports = function(iterable, entries, fn, that){
|
|
714
702
|
call(iterator, f, step.value, entries);
|
715
703
|
}
|
716
704
|
};
|
717
|
-
},{"
|
705
|
+
},{"16":16,"3":3,"34":34,"39":39,"77":77,"82":82}],27:[function(_dereq_,module,exports){
|
718
706
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
719
707
|
var toString = {}.toString
|
720
|
-
, toIObject =
|
721
|
-
, getNames =
|
708
|
+
, toIObject = _dereq_(76)
|
709
|
+
, getNames = _dereq_(45).getNames;
|
722
710
|
|
723
711
|
var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
|
724
712
|
? Object.getOwnPropertyNames(window) : [];
|
@@ -735,29 +723,28 @@ module.exports.get = function getOwnPropertyNames(it){
|
|
735
723
|
if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
|
736
724
|
return getNames(toIObject(it));
|
737
725
|
};
|
738
|
-
},{"
|
726
|
+
},{"45":45,"76":76}],28:[function(_dereq_,module,exports){
|
739
727
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
740
|
-
var
|
741
|
-
|
742
|
-
? window : typeof self != UNDEFINED && self.Math == Math ? self : Function('return this')();
|
728
|
+
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
729
|
+
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
743
730
|
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
744
|
-
},{}],
|
731
|
+
},{}],29:[function(_dereq_,module,exports){
|
745
732
|
var hasOwnProperty = {}.hasOwnProperty;
|
746
733
|
module.exports = function(it, key){
|
747
734
|
return hasOwnProperty.call(it, key);
|
748
735
|
};
|
749
|
-
},{}],
|
750
|
-
var $ =
|
751
|
-
, createDesc =
|
752
|
-
module.exports =
|
736
|
+
},{}],30:[function(_dereq_,module,exports){
|
737
|
+
var $ = _dereq_(45)
|
738
|
+
, createDesc = _dereq_(56);
|
739
|
+
module.exports = _dereq_(71) ? function(object, key, value){
|
753
740
|
return $.setDesc(object, key, createDesc(1, value));
|
754
741
|
} : function(object, key, value){
|
755
742
|
object[key] = value;
|
756
743
|
return object;
|
757
744
|
};
|
758
|
-
},{"
|
759
|
-
module.exports =
|
760
|
-
},{"
|
745
|
+
},{"45":45,"56":56,"71":71}],31:[function(_dereq_,module,exports){
|
746
|
+
module.exports = _dereq_(28).document && document.documentElement;
|
747
|
+
},{"28":28}],32:[function(_dereq_,module,exports){
|
761
748
|
// fast apply, http://jsperf.lnkit.com/fast-apply/5
|
762
749
|
module.exports = function(fn, args, that){
|
763
750
|
var un = that === undefined;
|
@@ -774,34 +761,48 @@ module.exports = function(fn, args, that){
|
|
774
761
|
: fn.call(that, args[0], args[1], args[2], args[3]);
|
775
762
|
} return fn.apply(that, args);
|
776
763
|
};
|
777
|
-
},{}],
|
778
|
-
//
|
779
|
-
var cof =
|
780
|
-
module.exports =
|
764
|
+
},{}],33:[function(_dereq_,module,exports){
|
765
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
766
|
+
var cof = _dereq_(10);
|
767
|
+
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
|
781
768
|
return cof(it) == 'String' ? it.split('') : Object(it);
|
782
769
|
};
|
783
|
-
},{"
|
770
|
+
},{"10":10}],34:[function(_dereq_,module,exports){
|
784
771
|
// check on default Array iterator
|
785
|
-
var Iterators =
|
786
|
-
, ITERATOR =
|
772
|
+
var Iterators = _dereq_(44)
|
773
|
+
, ITERATOR = _dereq_(81)('iterator');
|
787
774
|
module.exports = function(it){
|
788
775
|
return (Iterators.Array || Array.prototype[ITERATOR]) === it;
|
789
776
|
};
|
790
|
-
},{"
|
777
|
+
},{"44":44,"81":81}],35:[function(_dereq_,module,exports){
|
778
|
+
// 7.2.2 IsArray(argument)
|
779
|
+
var cof = _dereq_(10);
|
780
|
+
module.exports = Array.isArray || function(arg){
|
781
|
+
return cof(arg) == 'Array';
|
782
|
+
};
|
783
|
+
},{"10":10}],36:[function(_dereq_,module,exports){
|
791
784
|
// 20.1.2.3 Number.isInteger(number)
|
792
|
-
var isObject =
|
785
|
+
var isObject = _dereq_(37)
|
793
786
|
, floor = Math.floor;
|
794
787
|
module.exports = function isInteger(it){
|
795
788
|
return !isObject(it) && isFinite(it) && floor(it) === it;
|
796
789
|
};
|
797
|
-
},{"
|
798
|
-
|
790
|
+
},{"37":37}],37:[function(_dereq_,module,exports){
|
791
|
+
module.exports = function(it){
|
792
|
+
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
793
|
+
};
|
794
|
+
},{}],38:[function(_dereq_,module,exports){
|
795
|
+
// 7.2.8 IsRegExp(argument)
|
796
|
+
var isObject = _dereq_(37)
|
797
|
+
, cof = _dereq_(10)
|
798
|
+
, MATCH = _dereq_(81)('match');
|
799
799
|
module.exports = function(it){
|
800
|
-
|
800
|
+
var isRegExp;
|
801
|
+
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
|
801
802
|
};
|
802
|
-
},{}],
|
803
|
+
},{"10":10,"37":37,"81":81}],39:[function(_dereq_,module,exports){
|
803
804
|
// call something on iterator step with safe closing on error
|
804
|
-
var anObject =
|
805
|
+
var anObject = _dereq_(3);
|
805
806
|
module.exports = function(iterator, fn, value, entries){
|
806
807
|
try {
|
807
808
|
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
@@ -812,34 +813,34 @@ module.exports = function(iterator, fn, value, entries){
|
|
812
813
|
throw e;
|
813
814
|
}
|
814
815
|
};
|
815
|
-
},{"
|
816
|
+
},{"3":3}],40:[function(_dereq_,module,exports){
|
816
817
|
'use strict';
|
817
|
-
var $ =
|
818
|
+
var $ = _dereq_(45)
|
818
819
|
, IteratorPrototype = {};
|
819
820
|
|
820
821
|
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
821
|
-
|
822
|
+
_dereq_(30)(IteratorPrototype, _dereq_(81)('iterator'), function(){ return this; });
|
822
823
|
|
823
824
|
module.exports = function(Constructor, NAME, next){
|
824
|
-
Constructor.prototype = $.create(IteratorPrototype, {next:
|
825
|
-
|
825
|
+
Constructor.prototype = $.create(IteratorPrototype, {next: _dereq_(56)(1,next)});
|
826
|
+
_dereq_(72)(Constructor, NAME + ' Iterator');
|
826
827
|
};
|
827
|
-
},{"
|
828
|
+
},{"30":30,"45":45,"56":56,"72":72,"81":81}],41:[function(_dereq_,module,exports){
|
828
829
|
'use strict';
|
829
|
-
var LIBRARY =
|
830
|
-
, $def =
|
831
|
-
, $redef =
|
832
|
-
, hide =
|
833
|
-
, has =
|
834
|
-
, SYMBOL_ITERATOR =
|
835
|
-
, Iterators =
|
830
|
+
var LIBRARY = _dereq_(47)
|
831
|
+
, $def = _dereq_(17)
|
832
|
+
, $redef = _dereq_(57)
|
833
|
+
, hide = _dereq_(30)
|
834
|
+
, has = _dereq_(29)
|
835
|
+
, SYMBOL_ITERATOR = _dereq_(81)('iterator')
|
836
|
+
, Iterators = _dereq_(44)
|
836
837
|
, BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
|
837
838
|
, FF_ITERATOR = '@@iterator'
|
838
839
|
, KEYS = 'keys'
|
839
840
|
, VALUES = 'values';
|
840
841
|
var returnThis = function(){ return this; };
|
841
842
|
module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE){
|
842
|
-
|
843
|
+
_dereq_(40)(Constructor, NAME, next);
|
843
844
|
var createMethod = function(kind){
|
844
845
|
switch(kind){
|
845
846
|
case KEYS: return function keys(){ return new Constructor(this, kind); };
|
@@ -853,9 +854,9 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE)
|
|
853
854
|
, methods, key;
|
854
855
|
// Fix native
|
855
856
|
if(_native){
|
856
|
-
var IteratorPrototype =
|
857
|
+
var IteratorPrototype = _dereq_(45).getProto(_default.call(new Base));
|
857
858
|
// Set @@toStringTag to native iterators
|
858
|
-
|
859
|
+
_dereq_(72)(IteratorPrototype, TAG, true);
|
859
860
|
// FF fix
|
860
861
|
if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, SYMBOL_ITERATOR, returnThis);
|
861
862
|
}
|
@@ -866,8 +867,8 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE)
|
|
866
867
|
Iterators[TAG] = returnThis;
|
867
868
|
if(DEFAULT){
|
868
869
|
methods = {
|
869
|
-
keys: IS_SET ? _default : createMethod(KEYS),
|
870
870
|
values: DEFAULT == VALUES ? _default : createMethod(VALUES),
|
871
|
+
keys: IS_SET ? _default : createMethod(KEYS),
|
871
872
|
entries: DEFAULT != VALUES ? _default : createMethod('entries')
|
872
873
|
};
|
873
874
|
if(FORCE)for(key in methods){
|
@@ -875,16 +876,16 @@ module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCE)
|
|
875
876
|
} else $def($def.P + $def.F * BUGGY, NAME, methods);
|
876
877
|
}
|
877
878
|
};
|
878
|
-
},{"
|
879
|
-
var SYMBOL_ITERATOR =
|
879
|
+
},{"17":17,"29":29,"30":30,"40":40,"44":44,"45":45,"47":47,"57":57,"72":72,"81":81}],42:[function(_dereq_,module,exports){
|
880
|
+
var SYMBOL_ITERATOR = _dereq_(81)('iterator')
|
880
881
|
, SAFE_CLOSING = false;
|
881
882
|
try {
|
882
883
|
var riter = [7][SYMBOL_ITERATOR]();
|
883
884
|
riter['return'] = function(){ SAFE_CLOSING = true; };
|
884
885
|
Array.from(riter, function(){ throw 2; });
|
885
886
|
} catch(e){ /* empty */ }
|
886
|
-
module.exports = function(exec){
|
887
|
-
if(!SAFE_CLOSING)return false;
|
887
|
+
module.exports = function(exec, skipClosing){
|
888
|
+
if(!skipClosing && !SAFE_CLOSING)return false;
|
888
889
|
var safe = false;
|
889
890
|
try {
|
890
891
|
var arr = [7]
|
@@ -895,13 +896,13 @@ module.exports = function(exec){
|
|
895
896
|
} catch(e){ /* empty */ }
|
896
897
|
return safe;
|
897
898
|
};
|
898
|
-
},{"
|
899
|
+
},{"81":81}],43:[function(_dereq_,module,exports){
|
899
900
|
module.exports = function(done, value){
|
900
901
|
return {value: value, done: !!done};
|
901
902
|
};
|
902
|
-
},{}],
|
903
|
+
},{}],44:[function(_dereq_,module,exports){
|
903
904
|
module.exports = {};
|
904
|
-
},{}],
|
905
|
+
},{}],45:[function(_dereq_,module,exports){
|
905
906
|
var $Object = Object;
|
906
907
|
module.exports = {
|
907
908
|
create: $Object.create,
|
@@ -915,9 +916,9 @@ module.exports = {
|
|
915
916
|
getSymbols: $Object.getOwnPropertySymbols,
|
916
917
|
each: [].forEach
|
917
918
|
};
|
918
|
-
},{}],
|
919
|
-
var $ =
|
920
|
-
, toIObject =
|
919
|
+
},{}],46:[function(_dereq_,module,exports){
|
920
|
+
var $ = _dereq_(45)
|
921
|
+
, toIObject = _dereq_(76);
|
921
922
|
module.exports = function(object, el){
|
922
923
|
var O = toIObject(object)
|
923
924
|
, keys = $.getKeys(O)
|
@@ -926,117 +927,118 @@ module.exports = function(object, el){
|
|
926
927
|
, key;
|
927
928
|
while(length > index)if(O[key = keys[index++]] === el)return key;
|
928
929
|
};
|
929
|
-
},{"
|
930
|
+
},{"45":45,"76":76}],47:[function(_dereq_,module,exports){
|
930
931
|
module.exports = false;
|
931
|
-
},{}],
|
932
|
-
// 20.2.2.20 Math.log1p(x)
|
933
|
-
module.exports = Math.log1p || function log1p(x){
|
934
|
-
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
|
932
|
+
},{}],48:[function(_dereq_,module,exports){
|
933
|
+
// 20.2.2.20 Math.log1p(x)
|
934
|
+
module.exports = Math.log1p || function log1p(x){
|
935
|
+
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
|
935
936
|
};
|
936
|
-
},{}],
|
937
|
-
var global =
|
938
|
-
, macrotask =
|
939
|
-
, Observer = global.MutationObserver || global.WebKitMutationObserver
|
940
|
-
, process = global.process
|
941
|
-
, isNode =
|
942
|
-
, head, last, notify;
|
943
|
-
|
944
|
-
var flush = function(){
|
945
|
-
var parent, domain;
|
946
|
-
if(isNode && (parent = process.domain)){
|
947
|
-
process.domain = null;
|
948
|
-
parent.exit();
|
949
|
-
}
|
950
|
-
while(head){
|
951
|
-
domain = head.domain;
|
952
|
-
if(domain)domain.enter();
|
953
|
-
head.fn.call(); // <- currently we use it only for Promise - try / catch not required
|
954
|
-
if(domain)domain.exit();
|
955
|
-
head = head.next;
|
956
|
-
} last = undefined;
|
957
|
-
if(parent)parent.enter();
|
958
|
-
}
|
959
|
-
|
960
|
-
// Node.js
|
961
|
-
if(isNode){
|
962
|
-
notify = function(){
|
963
|
-
process.nextTick(flush);
|
964
|
-
};
|
965
|
-
// browsers with MutationObserver
|
966
|
-
} else if(Observer){
|
967
|
-
var toggle = 1
|
968
|
-
, node = document.createTextNode('');
|
969
|
-
new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
|
970
|
-
notify = function(){
|
971
|
-
node.data = toggle = -toggle;
|
972
|
-
};
|
973
|
-
// for other environments - macrotask based on:
|
974
|
-
// - setImmediate
|
975
|
-
// - MessageChannel
|
976
|
-
// - window.postMessag
|
977
|
-
// - onreadystatechange
|
978
|
-
// - setTimeout
|
979
|
-
} else {
|
980
|
-
notify = function(){
|
981
|
-
// strange IE + webpack dev server bug - use .call(global)
|
982
|
-
macrotask.call(global, flush);
|
983
|
-
};
|
984
|
-
}
|
985
|
-
|
986
|
-
module.exports = function asap(fn){
|
987
|
-
var task = {fn: fn, next: undefined, domain: isNode && process.domain};
|
988
|
-
if(last)last.next = task;
|
989
|
-
if(!head){
|
990
|
-
head = task;
|
991
|
-
notify();
|
992
|
-
} last = task;
|
937
|
+
},{}],49:[function(_dereq_,module,exports){
|
938
|
+
var global = _dereq_(28)
|
939
|
+
, macrotask = _dereq_(73).set
|
940
|
+
, Observer = global.MutationObserver || global.WebKitMutationObserver
|
941
|
+
, process = global.process
|
942
|
+
, isNode = _dereq_(10)(process) == 'process'
|
943
|
+
, head, last, notify;
|
944
|
+
|
945
|
+
var flush = function(){
|
946
|
+
var parent, domain;
|
947
|
+
if(isNode && (parent = process.domain)){
|
948
|
+
process.domain = null;
|
949
|
+
parent.exit();
|
950
|
+
}
|
951
|
+
while(head){
|
952
|
+
domain = head.domain;
|
953
|
+
if(domain)domain.enter();
|
954
|
+
head.fn.call(); // <- currently we use it only for Promise - try / catch not required
|
955
|
+
if(domain)domain.exit();
|
956
|
+
head = head.next;
|
957
|
+
} last = undefined;
|
958
|
+
if(parent)parent.enter();
|
959
|
+
};
|
960
|
+
|
961
|
+
// Node.js
|
962
|
+
if(isNode){
|
963
|
+
notify = function(){
|
964
|
+
process.nextTick(flush);
|
965
|
+
};
|
966
|
+
// browsers with MutationObserver
|
967
|
+
} else if(Observer){
|
968
|
+
var toggle = 1
|
969
|
+
, node = document.createTextNode('');
|
970
|
+
new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
|
971
|
+
notify = function(){
|
972
|
+
node.data = toggle = -toggle;
|
973
|
+
};
|
974
|
+
// for other environments - macrotask based on:
|
975
|
+
// - setImmediate
|
976
|
+
// - MessageChannel
|
977
|
+
// - window.postMessag
|
978
|
+
// - onreadystatechange
|
979
|
+
// - setTimeout
|
980
|
+
} else {
|
981
|
+
notify = function(){
|
982
|
+
// strange IE + webpack dev server bug - use .call(global)
|
983
|
+
macrotask.call(global, flush);
|
984
|
+
};
|
985
|
+
}
|
986
|
+
|
987
|
+
module.exports = function asap(fn){
|
988
|
+
var task = {fn: fn, next: undefined, domain: isNode && process.domain};
|
989
|
+
if(last)last.next = task;
|
990
|
+
if(!head){
|
991
|
+
head = task;
|
992
|
+
notify();
|
993
|
+
} last = task;
|
993
994
|
};
|
994
|
-
},{"
|
995
|
-
var $redef =
|
995
|
+
},{"10":10,"28":28,"73":73}],50:[function(_dereq_,module,exports){
|
996
|
+
var $redef = _dereq_(57);
|
996
997
|
module.exports = function(target, src){
|
997
998
|
for(var key in src)$redef(target, key, src[key]);
|
998
999
|
return target;
|
999
1000
|
};
|
1000
|
-
},{"
|
1001
|
+
},{"57":57}],51:[function(_dereq_,module,exports){
|
1001
1002
|
// most Object methods by ES6 should accept primitives
|
1002
1003
|
module.exports = function(KEY, exec){
|
1003
|
-
var $def =
|
1004
|
-
, fn = (
|
1004
|
+
var $def = _dereq_(17)
|
1005
|
+
, fn = (_dereq_(15).Object || {})[KEY] || Object[KEY]
|
1005
1006
|
, exp = {};
|
1006
1007
|
exp[KEY] = exec(fn);
|
1007
|
-
$def($def.S + $def.F *
|
1008
|
+
$def($def.S + $def.F * _dereq_(23)(function(){ fn(1); }), 'Object', exp);
|
1008
1009
|
};
|
1009
|
-
},{"
|
1010
|
-
var $ =
|
1011
|
-
, toIObject =
|
1010
|
+
},{"15":15,"17":17,"23":23}],52:[function(_dereq_,module,exports){
|
1011
|
+
var $ = _dereq_(45)
|
1012
|
+
, toIObject = _dereq_(76)
|
1013
|
+
, isEnum = $.isEnum;
|
1012
1014
|
module.exports = function(isEntries){
|
1013
1015
|
return function(it){
|
1014
1016
|
var O = toIObject(it)
|
1015
1017
|
, keys = $.getKeys(O)
|
1016
1018
|
, length = keys.length
|
1017
1019
|
, i = 0
|
1018
|
-
, result =
|
1020
|
+
, result = []
|
1019
1021
|
, key;
|
1020
|
-
|
1021
|
-
|
1022
|
-
return result;
|
1022
|
+
while(length > i)if(isEnum.call(O, key = keys[i++])){
|
1023
|
+
result.push(isEntries ? [key, O[key]] : O[key]);
|
1024
|
+
} return result;
|
1023
1025
|
};
|
1024
1026
|
};
|
1025
|
-
},{"
|
1027
|
+
},{"45":45,"76":76}],53:[function(_dereq_,module,exports){
|
1026
1028
|
// all object keys, includes non-enumerable and symbols
|
1027
|
-
var $ =
|
1028
|
-
, anObject =
|
1029
|
-
, Reflect =
|
1029
|
+
var $ = _dereq_(45)
|
1030
|
+
, anObject = _dereq_(3)
|
1031
|
+
, Reflect = _dereq_(28).Reflect;
|
1030
1032
|
module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
|
1031
1033
|
var keys = $.getNames(anObject(it))
|
1032
1034
|
, getSymbols = $.getSymbols;
|
1033
1035
|
return getSymbols ? keys.concat(getSymbols(it)) : keys;
|
1034
1036
|
};
|
1035
|
-
},{"
|
1037
|
+
},{"28":28,"3":3,"45":45}],54:[function(_dereq_,module,exports){
|
1036
1038
|
'use strict';
|
1037
|
-
var path =
|
1038
|
-
, invoke =
|
1039
|
-
, aFunction =
|
1039
|
+
var path = _dereq_(55)
|
1040
|
+
, invoke = _dereq_(32)
|
1041
|
+
, aFunction = _dereq_(2);
|
1040
1042
|
module.exports = function(/* ...pargs */){
|
1041
1043
|
var fn = aFunction(this)
|
1042
1044
|
, length = arguments.length
|
@@ -1046,19 +1048,20 @@ module.exports = function(/* ...pargs */){
|
|
1046
1048
|
, holder = false;
|
1047
1049
|
while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
|
1048
1050
|
return function(/* ...args */){
|
1049
|
-
var that
|
1050
|
-
,
|
1051
|
+
var that = this
|
1052
|
+
, $$ = arguments
|
1053
|
+
, $$len = $$.length
|
1051
1054
|
, j = 0, k = 0, args;
|
1052
|
-
if(!holder &&
|
1055
|
+
if(!holder && !$$len)return invoke(fn, pargs, that);
|
1053
1056
|
args = pargs.slice();
|
1054
|
-
if(holder)for(;length > j; j++)if(args[j] === _)args[j] =
|
1055
|
-
while(
|
1057
|
+
if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];
|
1058
|
+
while($$len > k)args.push($$[k++]);
|
1056
1059
|
return invoke(fn, args, that);
|
1057
1060
|
};
|
1058
1061
|
};
|
1059
|
-
},{"
|
1060
|
-
module.exports =
|
1061
|
-
},{"
|
1062
|
+
},{"2":2,"32":32,"55":55}],55:[function(_dereq_,module,exports){
|
1063
|
+
module.exports = _dereq_(28);
|
1064
|
+
},{"28":28}],56:[function(_dereq_,module,exports){
|
1062
1065
|
module.exports = function(bitmap, value){
|
1063
1066
|
return {
|
1064
1067
|
enumerable : !(bitmap & 1),
|
@@ -1067,24 +1070,24 @@ module.exports = function(bitmap, value){
|
|
1067
1070
|
value : value
|
1068
1071
|
};
|
1069
1072
|
};
|
1070
|
-
},{}],
|
1073
|
+
},{}],57:[function(_dereq_,module,exports){
|
1071
1074
|
// add fake Function#toString
|
1072
1075
|
// for correct work wrapped methods / constructors with methods like LoDash isNative
|
1073
|
-
var global =
|
1074
|
-
, hide =
|
1075
|
-
, SRC =
|
1076
|
+
var global = _dereq_(28)
|
1077
|
+
, hide = _dereq_(30)
|
1078
|
+
, SRC = _dereq_(79)('src')
|
1076
1079
|
, TO_STRING = 'toString'
|
1077
1080
|
, $toString = Function[TO_STRING]
|
1078
1081
|
, TPL = ('' + $toString).split(TO_STRING);
|
1079
1082
|
|
1080
|
-
|
1083
|
+
_dereq_(15).inspectSource = function(it){
|
1081
1084
|
return $toString.call(it);
|
1082
1085
|
};
|
1083
1086
|
|
1084
1087
|
(module.exports = function(O, key, val, safe){
|
1085
1088
|
if(typeof val == 'function'){
|
1086
|
-
hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
1087
|
-
|
1089
|
+
val.hasOwnProperty(SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
|
1090
|
+
val.hasOwnProperty('name') || hide(val, 'name', key);
|
1088
1091
|
}
|
1089
1092
|
if(O === global){
|
1090
1093
|
O[key] = val;
|
@@ -1095,7 +1098,7 @@ require('./$.core').inspectSource = function(it){
|
|
1095
1098
|
})(Function.prototype, TO_STRING, function toString(){
|
1096
1099
|
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
1097
1100
|
});
|
1098
|
-
},{"
|
1101
|
+
},{"15":15,"28":28,"30":30,"79":79}],58:[function(_dereq_,module,exports){
|
1099
1102
|
module.exports = function(regExp, replace){
|
1100
1103
|
var replacer = replace === Object(replace) ? function(part){
|
1101
1104
|
return replace[part];
|
@@ -1104,69 +1107,78 @@ module.exports = function(regExp, replace){
|
|
1104
1107
|
return String(it).replace(regExp, replacer);
|
1105
1108
|
};
|
1106
1109
|
};
|
1107
|
-
},{}],
|
1110
|
+
},{}],59:[function(_dereq_,module,exports){
|
1108
1111
|
module.exports = Object.is || function is(x, y){
|
1109
1112
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
1110
1113
|
};
|
1111
|
-
},{}],
|
1114
|
+
},{}],60:[function(_dereq_,module,exports){
|
1112
1115
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
1113
1116
|
/* eslint-disable no-proto */
|
1114
|
-
var getDesc =
|
1115
|
-
, isObject =
|
1116
|
-
, anObject =
|
1117
|
+
var getDesc = _dereq_(45).getDesc
|
1118
|
+
, isObject = _dereq_(37)
|
1119
|
+
, anObject = _dereq_(3);
|
1117
1120
|
var check = function(O, proto){
|
1118
1121
|
anObject(O);
|
1119
1122
|
if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
|
1120
1123
|
};
|
1121
1124
|
module.exports = {
|
1122
|
-
set: Object.setPrototypeOf || ('__proto__' in {} // eslint-disable-line
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
}
|
1135
|
-
: undefined),
|
1125
|
+
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
1126
|
+
function(test, buggy, set){
|
1127
|
+
try {
|
1128
|
+
set = _dereq_(16)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
|
1129
|
+
set(test, []);
|
1130
|
+
buggy = !(test instanceof Array);
|
1131
|
+
} catch(e){ buggy = true; }
|
1132
|
+
return function setPrototypeOf(O, proto){
|
1133
|
+
check(O, proto);
|
1134
|
+
if(buggy)O.__proto__ = proto;
|
1135
|
+
else set(O, proto);
|
1136
|
+
return O;
|
1137
|
+
};
|
1138
|
+
}({}, false) : undefined),
|
1136
1139
|
check: check
|
1137
1140
|
};
|
1138
|
-
},{"
|
1139
|
-
var global =
|
1141
|
+
},{"16":16,"3":3,"37":37,"45":45}],61:[function(_dereq_,module,exports){
|
1142
|
+
var global = _dereq_(28)
|
1140
1143
|
, SHARED = '__core-js_shared__'
|
1141
1144
|
, store = global[SHARED] || (global[SHARED] = {});
|
1142
1145
|
module.exports = function(key){
|
1143
1146
|
return store[key] || (store[key] = {});
|
1144
1147
|
};
|
1145
|
-
},{"
|
1148
|
+
},{"28":28}],62:[function(_dereq_,module,exports){
|
1146
1149
|
// 20.2.2.28 Math.sign(x)
|
1147
1150
|
module.exports = Math.sign || function sign(x){
|
1148
1151
|
return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
|
1149
1152
|
};
|
1150
|
-
},{}],
|
1153
|
+
},{}],63:[function(_dereq_,module,exports){
|
1154
|
+
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
1155
|
+
var anObject = _dereq_(3)
|
1156
|
+
, aFunction = _dereq_(2)
|
1157
|
+
, SPECIES = _dereq_(81)('species');
|
1158
|
+
module.exports = function(O, D){
|
1159
|
+
var C = anObject(O).constructor, S;
|
1160
|
+
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
|
1161
|
+
};
|
1162
|
+
},{"2":2,"3":3,"81":81}],64:[function(_dereq_,module,exports){
|
1151
1163
|
'use strict';
|
1152
|
-
var $ =
|
1153
|
-
, SPECIES =
|
1164
|
+
var $ = _dereq_(45)
|
1165
|
+
, SPECIES = _dereq_(81)('species');
|
1154
1166
|
module.exports = function(C){
|
1155
|
-
if(
|
1167
|
+
if(_dereq_(71) && !(SPECIES in C))$.setDesc(C, SPECIES, {
|
1156
1168
|
configurable: true,
|
1157
1169
|
get: function(){ return this; }
|
1158
1170
|
});
|
1159
1171
|
};
|
1160
|
-
},{"
|
1172
|
+
},{"45":45,"71":71,"81":81}],65:[function(_dereq_,module,exports){
|
1161
1173
|
module.exports = function(it, Constructor, name){
|
1162
1174
|
if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
|
1163
1175
|
return it;
|
1164
1176
|
};
|
1165
|
-
},{}],
|
1177
|
+
},{}],66:[function(_dereq_,module,exports){
|
1166
1178
|
// true -> String#at
|
1167
1179
|
// false -> String#codePointAt
|
1168
|
-
var toInteger =
|
1169
|
-
, defined =
|
1180
|
+
var toInteger = _dereq_(75)
|
1181
|
+
, defined = _dereq_(18);
|
1170
1182
|
module.exports = function(TO_STRING){
|
1171
1183
|
return function(that, pos){
|
1172
1184
|
var s = String(defined(that))
|
@@ -1181,20 +1193,20 @@ module.exports = function(TO_STRING){
|
|
1181
1193
|
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
1182
1194
|
};
|
1183
1195
|
};
|
1184
|
-
},{"
|
1196
|
+
},{"18":18,"75":75}],67:[function(_dereq_,module,exports){
|
1185
1197
|
// helper for String#{startsWith, endsWith, includes}
|
1186
|
-
var
|
1187
|
-
,
|
1198
|
+
var isRegExp = _dereq_(38)
|
1199
|
+
, defined = _dereq_(18);
|
1188
1200
|
|
1189
1201
|
module.exports = function(that, searchString, NAME){
|
1190
|
-
if(
|
1202
|
+
if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
|
1191
1203
|
return String(defined(that));
|
1192
1204
|
};
|
1193
|
-
},{"
|
1205
|
+
},{"18":18,"38":38}],68:[function(_dereq_,module,exports){
|
1194
1206
|
// https://github.com/ljharb/proposal-string-pad-left-right
|
1195
|
-
var toLength =
|
1196
|
-
, repeat =
|
1197
|
-
, defined =
|
1207
|
+
var toLength = _dereq_(77)
|
1208
|
+
, repeat = _dereq_(69)
|
1209
|
+
, defined = _dereq_(18);
|
1198
1210
|
|
1199
1211
|
module.exports = function(that, maxLength, fillString, left){
|
1200
1212
|
var S = String(defined(that))
|
@@ -1205,15 +1217,13 @@ module.exports = function(that, maxLength, fillString, left){
|
|
1205
1217
|
if(fillStr == '')fillStr = ' ';
|
1206
1218
|
var fillLen = intMaxLength - stringLength
|
1207
1219
|
, stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
|
1208
|
-
if(stringFiller.length > fillLen)stringFiller =
|
1209
|
-
? stringFiller.slice(stringFiller.length - fillLen)
|
1210
|
-
: stringFiller.slice(0, fillLen);
|
1220
|
+
if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
|
1211
1221
|
return left ? stringFiller + S : S + stringFiller;
|
1212
1222
|
};
|
1213
|
-
},{"
|
1223
|
+
},{"18":18,"69":69,"77":77}],69:[function(_dereq_,module,exports){
|
1214
1224
|
'use strict';
|
1215
|
-
var toInteger =
|
1216
|
-
, defined =
|
1225
|
+
var toInteger = _dereq_(75)
|
1226
|
+
, defined = _dereq_(18);
|
1217
1227
|
|
1218
1228
|
module.exports = function repeat(count){
|
1219
1229
|
var str = String(defined(this))
|
@@ -1223,7 +1233,7 @@ module.exports = function repeat(count){
|
|
1223
1233
|
for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
|
1224
1234
|
return res;
|
1225
1235
|
};
|
1226
|
-
},{"
|
1236
|
+
},{"18":18,"75":75}],70:[function(_dereq_,module,exports){
|
1227
1237
|
// 1 -> String#trimLeft
|
1228
1238
|
// 2 -> String#trimRight
|
1229
1239
|
// 3 -> String#trim
|
@@ -1234,8 +1244,8 @@ var trim = function(string, TYPE){
|
|
1234
1244
|
return string;
|
1235
1245
|
};
|
1236
1246
|
|
1237
|
-
var $def =
|
1238
|
-
, defined =
|
1247
|
+
var $def = _dereq_(17)
|
1248
|
+
, defined = _dereq_(18)
|
1239
1249
|
, spaces = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
|
1240
1250
|
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'
|
1241
1251
|
, space = '[' + spaces + ']'
|
@@ -1246,30 +1256,30 @@ var $def = require('./$.def')
|
|
1246
1256
|
module.exports = function(KEY, exec){
|
1247
1257
|
var exp = {};
|
1248
1258
|
exp[KEY] = exec(trim);
|
1249
|
-
$def($def.P + $def.F *
|
1259
|
+
$def($def.P + $def.F * _dereq_(23)(function(){
|
1250
1260
|
return !!spaces[KEY]() || non[KEY]() != non;
|
1251
1261
|
}), 'String', exp);
|
1252
1262
|
};
|
1253
|
-
},{"
|
1263
|
+
},{"17":17,"18":18,"23":23}],71:[function(_dereq_,module,exports){
|
1254
1264
|
// Thank's IE8 for his funny defineProperty
|
1255
|
-
module.exports = !
|
1265
|
+
module.exports = !_dereq_(23)(function(){
|
1256
1266
|
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
|
1257
1267
|
});
|
1258
|
-
},{"
|
1259
|
-
var
|
1260
|
-
,
|
1261
|
-
, TAG
|
1268
|
+
},{"23":23}],72:[function(_dereq_,module,exports){
|
1269
|
+
var def = _dereq_(45).setDesc
|
1270
|
+
, has = _dereq_(29)
|
1271
|
+
, TAG = _dereq_(81)('toStringTag');
|
1262
1272
|
|
1263
1273
|
module.exports = function(it, tag, stat){
|
1264
|
-
if(it && !has(it = stat ? it : it.prototype, TAG))
|
1274
|
+
if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
|
1265
1275
|
};
|
1266
|
-
},{"
|
1276
|
+
},{"29":29,"45":45,"81":81}],73:[function(_dereq_,module,exports){
|
1267
1277
|
'use strict';
|
1268
|
-
var ctx =
|
1269
|
-
, invoke =
|
1270
|
-
, html =
|
1271
|
-
, cel =
|
1272
|
-
, global =
|
1278
|
+
var ctx = _dereq_(16)
|
1279
|
+
, invoke = _dereq_(32)
|
1280
|
+
, html = _dereq_(31)
|
1281
|
+
, cel = _dereq_(19)
|
1282
|
+
, global = _dereq_(28)
|
1273
1283
|
, process = global.process
|
1274
1284
|
, setTask = global.setImmediate
|
1275
1285
|
, clearTask = global.clearImmediate
|
@@ -1304,7 +1314,7 @@ if(!setTask || !clearTask){
|
|
1304
1314
|
delete queue[id];
|
1305
1315
|
};
|
1306
1316
|
// Node.js 0.8-
|
1307
|
-
if(
|
1317
|
+
if(_dereq_(10)(process) == 'process'){
|
1308
1318
|
defer = function(id){
|
1309
1319
|
process.nextTick(ctx(run, id, 1));
|
1310
1320
|
};
|
@@ -1316,7 +1326,7 @@ if(!setTask || !clearTask){
|
|
1316
1326
|
defer = ctx(port.postMessage, port, 1);
|
1317
1327
|
// Browsers with postMessage, skip WebWorkers
|
1318
1328
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
1319
|
-
} else if(global.addEventListener && typeof postMessage == 'function' && !global.
|
1329
|
+
} else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
|
1320
1330
|
defer = function(id){
|
1321
1331
|
global.postMessage(id + '', '*');
|
1322
1332
|
};
|
@@ -1340,91 +1350,93 @@ module.exports = {
|
|
1340
1350
|
set: setTask,
|
1341
1351
|
clear: clearTask
|
1342
1352
|
};
|
1343
|
-
},{"
|
1344
|
-
var toInteger =
|
1353
|
+
},{"10":10,"16":16,"19":19,"28":28,"31":31,"32":32}],74:[function(_dereq_,module,exports){
|
1354
|
+
var toInteger = _dereq_(75)
|
1345
1355
|
, max = Math.max
|
1346
1356
|
, min = Math.min;
|
1347
1357
|
module.exports = function(index, length){
|
1348
1358
|
index = toInteger(index);
|
1349
1359
|
return index < 0 ? max(index + length, 0) : min(index, length);
|
1350
1360
|
};
|
1351
|
-
},{"
|
1361
|
+
},{"75":75}],75:[function(_dereq_,module,exports){
|
1352
1362
|
// 7.1.4 ToInteger
|
1353
1363
|
var ceil = Math.ceil
|
1354
1364
|
, floor = Math.floor;
|
1355
1365
|
module.exports = function(it){
|
1356
1366
|
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
1357
1367
|
};
|
1358
|
-
},{}],
|
1359
|
-
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
1360
|
-
var IObject =
|
1361
|
-
, defined =
|
1362
|
-
module.exports = function(it){
|
1363
|
-
return IObject(defined(it));
|
1368
|
+
},{}],76:[function(_dereq_,module,exports){
|
1369
|
+
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
1370
|
+
var IObject = _dereq_(33)
|
1371
|
+
, defined = _dereq_(18);
|
1372
|
+
module.exports = function(it){
|
1373
|
+
return IObject(defined(it));
|
1364
1374
|
};
|
1365
|
-
},{"
|
1375
|
+
},{"18":18,"33":33}],77:[function(_dereq_,module,exports){
|
1366
1376
|
// 7.1.15 ToLength
|
1367
|
-
var toInteger =
|
1377
|
+
var toInteger = _dereq_(75)
|
1368
1378
|
, min = Math.min;
|
1369
1379
|
module.exports = function(it){
|
1370
1380
|
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
1371
1381
|
};
|
1372
|
-
},{"
|
1382
|
+
},{"75":75}],78:[function(_dereq_,module,exports){
|
1373
1383
|
// 7.1.13 ToObject(argument)
|
1374
|
-
var defined =
|
1384
|
+
var defined = _dereq_(18);
|
1375
1385
|
module.exports = function(it){
|
1376
1386
|
return Object(defined(it));
|
1377
1387
|
};
|
1378
|
-
},{"
|
1388
|
+
},{"18":18}],79:[function(_dereq_,module,exports){
|
1379
1389
|
var id = 0
|
1380
1390
|
, px = Math.random();
|
1381
1391
|
module.exports = function(key){
|
1382
1392
|
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
1383
1393
|
};
|
1384
|
-
},{}],
|
1394
|
+
},{}],80:[function(_dereq_,module,exports){
|
1385
1395
|
// 22.1.3.31 Array.prototype[@@unscopables]
|
1386
|
-
var UNSCOPABLES =
|
1387
|
-
if(
|
1396
|
+
var UNSCOPABLES = _dereq_(81)('unscopables');
|
1397
|
+
if([][UNSCOPABLES] == undefined)_dereq_(30)(Array.prototype, UNSCOPABLES, {});
|
1388
1398
|
module.exports = function(key){
|
1389
1399
|
[][UNSCOPABLES][key] = true;
|
1390
1400
|
};
|
1391
|
-
},{"
|
1392
|
-
var store =
|
1393
|
-
, Symbol =
|
1401
|
+
},{"30":30,"81":81}],81:[function(_dereq_,module,exports){
|
1402
|
+
var store = _dereq_(61)('wks')
|
1403
|
+
, Symbol = _dereq_(28).Symbol;
|
1394
1404
|
module.exports = function(name){
|
1395
1405
|
return store[name] || (store[name] =
|
1396
|
-
Symbol && Symbol[name] || (Symbol ||
|
1406
|
+
Symbol && Symbol[name] || (Symbol || _dereq_(79))('Symbol.' + name));
|
1397
1407
|
};
|
1398
|
-
},{"
|
1399
|
-
var classof =
|
1400
|
-
, ITERATOR =
|
1401
|
-
, Iterators =
|
1402
|
-
module.exports =
|
1403
|
-
if(it != undefined)return it[ITERATOR]
|
1408
|
+
},{"28":28,"61":61,"79":79}],82:[function(_dereq_,module,exports){
|
1409
|
+
var classof = _dereq_(9)
|
1410
|
+
, ITERATOR = _dereq_(81)('iterator')
|
1411
|
+
, Iterators = _dereq_(44);
|
1412
|
+
module.exports = _dereq_(15).getIteratorMethod = function(it){
|
1413
|
+
if(it != undefined)return it[ITERATOR]
|
1414
|
+
|| it['@@iterator']
|
1415
|
+
|| Iterators[classof(it)];
|
1404
1416
|
};
|
1405
|
-
},{"
|
1417
|
+
},{"15":15,"44":44,"81":81,"9":9}],83:[function(_dereq_,module,exports){
|
1406
1418
|
'use strict';
|
1407
|
-
var $ =
|
1408
|
-
, SUPPORT_DESC =
|
1409
|
-
, createDesc =
|
1410
|
-
, html =
|
1411
|
-
, cel =
|
1412
|
-
, has =
|
1413
|
-
, cof =
|
1414
|
-
, $def =
|
1415
|
-
, invoke =
|
1416
|
-
, arrayMethod =
|
1417
|
-
, IE_PROTO =
|
1418
|
-
, isObject =
|
1419
|
-
, anObject =
|
1420
|
-
, aFunction =
|
1421
|
-
, toObject =
|
1422
|
-
, toIObject =
|
1423
|
-
, toInteger =
|
1424
|
-
, toIndex =
|
1425
|
-
, toLength =
|
1426
|
-
, IObject =
|
1427
|
-
, fails =
|
1419
|
+
var $ = _dereq_(45)
|
1420
|
+
, SUPPORT_DESC = _dereq_(71)
|
1421
|
+
, createDesc = _dereq_(56)
|
1422
|
+
, html = _dereq_(31)
|
1423
|
+
, cel = _dereq_(19)
|
1424
|
+
, has = _dereq_(29)
|
1425
|
+
, cof = _dereq_(10)
|
1426
|
+
, $def = _dereq_(17)
|
1427
|
+
, invoke = _dereq_(32)
|
1428
|
+
, arrayMethod = _dereq_(7)
|
1429
|
+
, IE_PROTO = _dereq_(79)('__proto__')
|
1430
|
+
, isObject = _dereq_(37)
|
1431
|
+
, anObject = _dereq_(3)
|
1432
|
+
, aFunction = _dereq_(2)
|
1433
|
+
, toObject = _dereq_(78)
|
1434
|
+
, toIObject = _dereq_(76)
|
1435
|
+
, toInteger = _dereq_(75)
|
1436
|
+
, toIndex = _dereq_(74)
|
1437
|
+
, toLength = _dereq_(77)
|
1438
|
+
, IObject = _dereq_(33)
|
1439
|
+
, fails = _dereq_(23)
|
1428
1440
|
, ObjectProto = Object.prototype
|
1429
1441
|
, A = []
|
1430
1442
|
, _slice = A.slice
|
@@ -1432,7 +1444,7 @@ var $ = require('./$')
|
|
1432
1444
|
, defineProperty = $.setDesc
|
1433
1445
|
, getOwnDescriptor = $.getDesc
|
1434
1446
|
, defineProperties = $.setDescs
|
1435
|
-
, $indexOf =
|
1447
|
+
, $indexOf = _dereq_(6)(false)
|
1436
1448
|
, factories = {}
|
1437
1449
|
, IE8_DOM_DEFINE;
|
1438
1450
|
|
@@ -1593,7 +1605,7 @@ $def($def.P + $def.F * (IObject != Object), 'Array', {
|
|
1593
1605
|
});
|
1594
1606
|
|
1595
1607
|
// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
|
1596
|
-
$def($def.S, 'Array', {isArray:
|
1608
|
+
$def($def.S, 'Array', {isArray: _dereq_(35)});
|
1597
1609
|
|
1598
1610
|
var createArrayReduce = function(isRight){
|
1599
1611
|
return function(callbackfn, memo){
|
@@ -1678,113 +1690,81 @@ $def($def.P + $def.F * brokenDate, 'Date', {
|
|
1678
1690
|
':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
|
1679
1691
|
}
|
1680
1692
|
});
|
1681
|
-
},{"
|
1682
|
-
|
1683
|
-
var $def = require('./$.def')
|
1684
|
-
, toObject = require('./$.to-object')
|
1685
|
-
, toIndex = require('./$.to-index')
|
1686
|
-
, toLength = require('./$.to-length');
|
1687
|
-
$def($def.P, 'Array', {
|
1688
|
-
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
1689
|
-
copyWithin: function copyWithin(target/* = 0 */, start /* = 0, end = @length */){
|
1690
|
-
var O = toObject(this)
|
1691
|
-
, len = toLength(O.length)
|
1692
|
-
, to = toIndex(target, len)
|
1693
|
-
, from = toIndex(start, len)
|
1694
|
-
, end = arguments[2]
|
1695
|
-
, fin = end === undefined ? len : toIndex(end, len)
|
1696
|
-
, count = Math.min(fin - from, len - to)
|
1697
|
-
, inc = 1;
|
1698
|
-
if(from < to && to < from + count){
|
1699
|
-
inc = -1;
|
1700
|
-
from = from + count - 1;
|
1701
|
-
to = to + count - 1;
|
1702
|
-
}
|
1703
|
-
while(count-- > 0){
|
1704
|
-
if(from in O)O[to] = O[from];
|
1705
|
-
else delete O[to];
|
1706
|
-
to += inc;
|
1707
|
-
from += inc;
|
1708
|
-
} return O;
|
1709
|
-
}
|
1710
|
-
});
|
1711
|
-
require('./$.unscope')('copyWithin');
|
1712
|
-
},{"./$.def":16,"./$.to-index":69,"./$.to-length":72,"./$.to-object":73,"./$.unscope":75}],80:[function(require,module,exports){
|
1693
|
+
},{"10":10,"17":17,"19":19,"2":2,"23":23,"29":29,"3":3,"31":31,"32":32,"33":33,"35":35,"37":37,"45":45,"56":56,"6":6,"7":7,"71":71,"74":74,"75":75,"76":76,"77":77,"78":78,"79":79}],84:[function(_dereq_,module,exports){
|
1694
|
+
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
1713
1695
|
'use strict';
|
1714
|
-
var $def
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
return O;
|
1728
|
-
}
|
1729
|
-
});
|
1730
|
-
require('./$.unscope')('fill');
|
1731
|
-
},{"./$.def":16,"./$.to-index":69,"./$.to-length":72,"./$.to-object":73,"./$.unscope":75}],81:[function(require,module,exports){
|
1696
|
+
var $def = _dereq_(17);
|
1697
|
+
|
1698
|
+
$def($def.P, 'Array', {copyWithin: _dereq_(4)});
|
1699
|
+
|
1700
|
+
_dereq_(80)('copyWithin');
|
1701
|
+
},{"17":17,"4":4,"80":80}],85:[function(_dereq_,module,exports){
|
1702
|
+
// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
|
1703
|
+
var $def = _dereq_(17);
|
1704
|
+
|
1705
|
+
$def($def.P, 'Array', {fill: _dereq_(5)});
|
1706
|
+
|
1707
|
+
_dereq_(80)('fill');
|
1708
|
+
},{"17":17,"5":5,"80":80}],86:[function(_dereq_,module,exports){
|
1732
1709
|
'use strict';
|
1733
1710
|
// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
|
1734
1711
|
var KEY = 'findIndex'
|
1735
|
-
, $def =
|
1712
|
+
, $def = _dereq_(17)
|
1736
1713
|
, forced = true
|
1737
|
-
, $find =
|
1714
|
+
, $find = _dereq_(7)(6);
|
1738
1715
|
// Shouldn't skip holes
|
1739
1716
|
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
1740
1717
|
$def($def.P + $def.F * forced, 'Array', {
|
1741
1718
|
findIndex: function findIndex(callbackfn/*, that = undefined */){
|
1742
|
-
return $find(this, callbackfn, arguments[1]);
|
1719
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
1743
1720
|
}
|
1744
1721
|
});
|
1745
|
-
|
1746
|
-
},{"
|
1722
|
+
_dereq_(80)(KEY);
|
1723
|
+
},{"17":17,"7":7,"80":80}],87:[function(_dereq_,module,exports){
|
1747
1724
|
'use strict';
|
1748
1725
|
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
|
1749
1726
|
var KEY = 'find'
|
1750
|
-
, $def =
|
1727
|
+
, $def = _dereq_(17)
|
1751
1728
|
, forced = true
|
1752
|
-
, $find =
|
1729
|
+
, $find = _dereq_(7)(5);
|
1753
1730
|
// Shouldn't skip holes
|
1754
1731
|
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
1755
1732
|
$def($def.P + $def.F * forced, 'Array', {
|
1756
1733
|
find: function find(callbackfn/*, that = undefined */){
|
1757
|
-
return $find(this, callbackfn, arguments[1]);
|
1734
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
1758
1735
|
}
|
1759
1736
|
});
|
1760
|
-
|
1761
|
-
},{"
|
1737
|
+
_dereq_(80)(KEY);
|
1738
|
+
},{"17":17,"7":7,"80":80}],88:[function(_dereq_,module,exports){
|
1762
1739
|
'use strict';
|
1763
|
-
var ctx =
|
1764
|
-
, $def =
|
1765
|
-
, toObject =
|
1766
|
-
, call =
|
1767
|
-
, isArrayIter =
|
1768
|
-
, toLength =
|
1769
|
-
, getIterFn =
|
1770
|
-
$def($def.S + $def.F * !
|
1740
|
+
var ctx = _dereq_(16)
|
1741
|
+
, $def = _dereq_(17)
|
1742
|
+
, toObject = _dereq_(78)
|
1743
|
+
, call = _dereq_(39)
|
1744
|
+
, isArrayIter = _dereq_(34)
|
1745
|
+
, toLength = _dereq_(77)
|
1746
|
+
, getIterFn = _dereq_(82);
|
1747
|
+
$def($def.S + $def.F * !_dereq_(42)(function(iter){ Array.from(iter); }), 'Array', {
|
1771
1748
|
// 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
|
1772
1749
|
from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
|
1773
1750
|
var O = toObject(arrayLike)
|
1774
1751
|
, C = typeof this == 'function' ? this : Array
|
1775
|
-
,
|
1752
|
+
, $$ = arguments
|
1753
|
+
, $$len = $$.length
|
1754
|
+
, mapfn = $$len > 1 ? $$[1] : undefined
|
1776
1755
|
, mapping = mapfn !== undefined
|
1777
1756
|
, index = 0
|
1778
1757
|
, iterFn = getIterFn(O)
|
1779
1758
|
, length, result, step, iterator;
|
1780
|
-
if(mapping)mapfn = ctx(mapfn,
|
1759
|
+
if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);
|
1781
1760
|
// if object isn't iterable or it's array with default iterator - use simple case
|
1782
1761
|
if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
|
1783
1762
|
for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
|
1784
1763
|
result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;
|
1785
1764
|
}
|
1786
1765
|
} else {
|
1787
|
-
|
1766
|
+
length = toLength(O.length);
|
1767
|
+
for(result = new C(length); length > index; index++){
|
1788
1768
|
result[index] = mapping ? mapfn(O[index], index) : O[index];
|
1789
1769
|
}
|
1790
1770
|
}
|
@@ -1792,18 +1772,19 @@ $def($def.S + $def.F * !require('./$.iter-detect')(function(iter){ Array.from(it
|
|
1792
1772
|
return result;
|
1793
1773
|
}
|
1794
1774
|
});
|
1795
|
-
|
1775
|
+
|
1776
|
+
},{"16":16,"17":17,"34":34,"39":39,"42":42,"77":77,"78":78,"82":82}],89:[function(_dereq_,module,exports){
|
1796
1777
|
'use strict';
|
1797
|
-
var setUnscope =
|
1798
|
-
, step =
|
1799
|
-
, Iterators =
|
1800
|
-
, toIObject =
|
1778
|
+
var setUnscope = _dereq_(80)
|
1779
|
+
, step = _dereq_(43)
|
1780
|
+
, Iterators = _dereq_(44)
|
1781
|
+
, toIObject = _dereq_(76);
|
1801
1782
|
|
1802
1783
|
// 22.1.3.4 Array.prototype.entries()
|
1803
1784
|
// 22.1.3.13 Array.prototype.keys()
|
1804
1785
|
// 22.1.3.29 Array.prototype.values()
|
1805
1786
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
1806
|
-
|
1787
|
+
_dereq_(41)(Array, 'Array', function(iterated, kind){
|
1807
1788
|
this._t = toIObject(iterated); // target
|
1808
1789
|
this._i = 0; // next index
|
1809
1790
|
this._k = kind; // kind
|
@@ -1827,32 +1808,33 @@ Iterators.Arguments = Iterators.Array;
|
|
1827
1808
|
setUnscope('keys');
|
1828
1809
|
setUnscope('values');
|
1829
1810
|
setUnscope('entries');
|
1830
|
-
},{"
|
1811
|
+
},{"41":41,"43":43,"44":44,"76":76,"80":80}],90:[function(_dereq_,module,exports){
|
1831
1812
|
'use strict';
|
1832
|
-
var $def =
|
1813
|
+
var $def = _dereq_(17);
|
1833
1814
|
|
1834
1815
|
// WebKit Array.of isn't generic
|
1835
|
-
$def($def.S + $def.F *
|
1816
|
+
$def($def.S + $def.F * _dereq_(23)(function(){
|
1836
1817
|
function F(){}
|
1837
1818
|
return !(Array.of.call(F) instanceof F);
|
1838
1819
|
}), 'Array', {
|
1839
1820
|
// 22.1.2.3 Array.of( ...items)
|
1840
1821
|
of: function of(/* ...args */){
|
1841
1822
|
var index = 0
|
1842
|
-
,
|
1843
|
-
,
|
1844
|
-
|
1845
|
-
result
|
1823
|
+
, $$ = arguments
|
1824
|
+
, $$len = $$.length
|
1825
|
+
, result = new (typeof this == 'function' ? this : Array)($$len);
|
1826
|
+
while($$len > index)result[index] = $$[index++];
|
1827
|
+
result.length = $$len;
|
1846
1828
|
return result;
|
1847
1829
|
}
|
1848
1830
|
});
|
1849
|
-
},{"
|
1850
|
-
|
1851
|
-
},{"
|
1831
|
+
},{"17":17,"23":23}],91:[function(_dereq_,module,exports){
|
1832
|
+
_dereq_(64)(Array);
|
1833
|
+
},{"64":64}],92:[function(_dereq_,module,exports){
|
1852
1834
|
'use strict';
|
1853
|
-
var $ =
|
1854
|
-
, isObject =
|
1855
|
-
, HAS_INSTANCE =
|
1835
|
+
var $ = _dereq_(45)
|
1836
|
+
, isObject = _dereq_(37)
|
1837
|
+
, HAS_INSTANCE = _dereq_(81)('hasInstance')
|
1856
1838
|
, FunctionProto = Function.prototype;
|
1857
1839
|
// 19.2.3.6 Function.prototype[@@hasInstance](V)
|
1858
1840
|
if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
|
@@ -1862,15 +1844,15 @@ if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {valu
|
|
1862
1844
|
while(O = $.getProto(O))if(this.prototype === O)return true;
|
1863
1845
|
return false;
|
1864
1846
|
}});
|
1865
|
-
},{"
|
1866
|
-
var setDesc =
|
1867
|
-
, createDesc =
|
1868
|
-
, has =
|
1847
|
+
},{"37":37,"45":45,"81":81}],93:[function(_dereq_,module,exports){
|
1848
|
+
var setDesc = _dereq_(45).setDesc
|
1849
|
+
, createDesc = _dereq_(56)
|
1850
|
+
, has = _dereq_(29)
|
1869
1851
|
, FProto = Function.prototype
|
1870
1852
|
, nameRE = /^\s*function ([^ (]*)/
|
1871
1853
|
, NAME = 'name';
|
1872
1854
|
// 19.2.4.2 name
|
1873
|
-
NAME in FProto ||
|
1855
|
+
NAME in FProto || _dereq_(71) && setDesc(FProto, NAME, {
|
1874
1856
|
configurable: true,
|
1875
1857
|
get: function(){
|
1876
1858
|
var match = ('' + this).match(nameRE)
|
@@ -1879,13 +1861,13 @@ NAME in FProto || require('./$.support-desc') && setDesc(FProto, NAME, {
|
|
1879
1861
|
return name;
|
1880
1862
|
}
|
1881
1863
|
});
|
1882
|
-
},{"
|
1864
|
+
},{"29":29,"45":45,"56":56,"71":71}],94:[function(_dereq_,module,exports){
|
1883
1865
|
'use strict';
|
1884
|
-
var strong =
|
1866
|
+
var strong = _dereq_(11);
|
1885
1867
|
|
1886
1868
|
// 23.1 Map Objects
|
1887
|
-
|
1888
|
-
return function Map(){ return get(this, arguments[0]); };
|
1869
|
+
_dereq_(14)('Map', function(get){
|
1870
|
+
return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
1889
1871
|
}, {
|
1890
1872
|
// 23.1.3.6 Map.prototype.get(key)
|
1891
1873
|
get: function get(key){
|
@@ -1897,14 +1879,14 @@ require('./$.collection')('Map', function(get){
|
|
1897
1879
|
return strong.def(this, key === 0 ? 0 : key, value);
|
1898
1880
|
}
|
1899
1881
|
}, strong, true);
|
1900
|
-
},{"
|
1882
|
+
},{"11":11,"14":14}],95:[function(_dereq_,module,exports){
|
1901
1883
|
// 20.2.2.3 Math.acosh(x)
|
1902
|
-
var $def =
|
1903
|
-
, log1p =
|
1884
|
+
var $def = _dereq_(17)
|
1885
|
+
, log1p = _dereq_(48)
|
1904
1886
|
, sqrt = Math.sqrt
|
1905
1887
|
, $acosh = Math.acosh;
|
1906
1888
|
|
1907
|
-
// V8 bug https://code.google.com/p/v8/issues/detail?id=3509
|
1889
|
+
// V8 bug https://code.google.com/p/v8/issues/detail?id=3509
|
1908
1890
|
$def($def.S + $def.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
|
1909
1891
|
acosh: function acosh(x){
|
1910
1892
|
return (x = +x) < 1 ? NaN : x > 94906265.62425156
|
@@ -1912,46 +1894,46 @@ $def($def.S + $def.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710),
|
|
1912
1894
|
: log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
|
1913
1895
|
}
|
1914
1896
|
});
|
1915
|
-
},{"
|
1897
|
+
},{"17":17,"48":48}],96:[function(_dereq_,module,exports){
|
1916
1898
|
// 20.2.2.5 Math.asinh(x)
|
1917
|
-
var $def =
|
1899
|
+
var $def = _dereq_(17);
|
1918
1900
|
|
1919
1901
|
function asinh(x){
|
1920
1902
|
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
|
1921
1903
|
}
|
1922
1904
|
|
1923
1905
|
$def($def.S, 'Math', {asinh: asinh});
|
1924
|
-
},{"
|
1906
|
+
},{"17":17}],97:[function(_dereq_,module,exports){
|
1925
1907
|
// 20.2.2.7 Math.atanh(x)
|
1926
|
-
var $def =
|
1908
|
+
var $def = _dereq_(17);
|
1927
1909
|
|
1928
1910
|
$def($def.S, 'Math', {
|
1929
1911
|
atanh: function atanh(x){
|
1930
1912
|
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
|
1931
1913
|
}
|
1932
1914
|
});
|
1933
|
-
},{"
|
1915
|
+
},{"17":17}],98:[function(_dereq_,module,exports){
|
1934
1916
|
// 20.2.2.9 Math.cbrt(x)
|
1935
|
-
var $def =
|
1936
|
-
, sign =
|
1917
|
+
var $def = _dereq_(17)
|
1918
|
+
, sign = _dereq_(62);
|
1937
1919
|
|
1938
1920
|
$def($def.S, 'Math', {
|
1939
1921
|
cbrt: function cbrt(x){
|
1940
1922
|
return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
|
1941
1923
|
}
|
1942
1924
|
});
|
1943
|
-
},{"
|
1925
|
+
},{"17":17,"62":62}],99:[function(_dereq_,module,exports){
|
1944
1926
|
// 20.2.2.11 Math.clz32(x)
|
1945
|
-
var $def =
|
1927
|
+
var $def = _dereq_(17);
|
1946
1928
|
|
1947
1929
|
$def($def.S, 'Math', {
|
1948
1930
|
clz32: function clz32(x){
|
1949
1931
|
return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
|
1950
1932
|
}
|
1951
1933
|
});
|
1952
|
-
},{"
|
1934
|
+
},{"17":17}],100:[function(_dereq_,module,exports){
|
1953
1935
|
// 20.2.2.12 Math.cosh(x)
|
1954
|
-
var $def =
|
1936
|
+
var $def = _dereq_(17)
|
1955
1937
|
, exp = Math.exp;
|
1956
1938
|
|
1957
1939
|
$def($def.S, 'Math', {
|
@@ -1959,15 +1941,15 @@ $def($def.S, 'Math', {
|
|
1959
1941
|
return (exp(x = +x) + exp(-x)) / 2;
|
1960
1942
|
}
|
1961
1943
|
});
|
1962
|
-
},{"
|
1944
|
+
},{"17":17}],101:[function(_dereq_,module,exports){
|
1963
1945
|
// 20.2.2.14 Math.expm1(x)
|
1964
|
-
var $def =
|
1946
|
+
var $def = _dereq_(17);
|
1965
1947
|
|
1966
|
-
$def($def.S, 'Math', {expm1:
|
1967
|
-
},{"
|
1948
|
+
$def($def.S, 'Math', {expm1: _dereq_(21)});
|
1949
|
+
},{"17":17,"21":21}],102:[function(_dereq_,module,exports){
|
1968
1950
|
// 20.2.2.16 Math.fround(x)
|
1969
|
-
var $def =
|
1970
|
-
, sign =
|
1951
|
+
var $def = _dereq_(17)
|
1952
|
+
, sign = _dereq_(62)
|
1971
1953
|
, pow = Math.pow
|
1972
1954
|
, EPSILON = pow(2, -52)
|
1973
1955
|
, EPSILON32 = pow(2, -23)
|
@@ -1991,20 +1973,21 @@ $def($def.S, 'Math', {
|
|
1991
1973
|
return $sign * result;
|
1992
1974
|
}
|
1993
1975
|
});
|
1994
|
-
},{"
|
1976
|
+
},{"17":17,"62":62}],103:[function(_dereq_,module,exports){
|
1995
1977
|
// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
|
1996
|
-
var $def =
|
1978
|
+
var $def = _dereq_(17)
|
1997
1979
|
, abs = Math.abs;
|
1998
1980
|
|
1999
1981
|
$def($def.S, 'Math', {
|
2000
1982
|
hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
|
2001
|
-
var sum
|
2002
|
-
, i
|
2003
|
-
,
|
2004
|
-
,
|
1983
|
+
var sum = 0
|
1984
|
+
, i = 0
|
1985
|
+
, $$ = arguments
|
1986
|
+
, $$len = $$.length
|
1987
|
+
, larg = 0
|
2005
1988
|
, arg, div;
|
2006
|
-
while(i < len){
|
2007
|
-
arg = abs(
|
1989
|
+
while(i < $$len){
|
1990
|
+
arg = abs($$[i++]);
|
2008
1991
|
if(larg < arg){
|
2009
1992
|
div = larg / arg;
|
2010
1993
|
sum = sum * div * div + 1;
|
@@ -2017,13 +2000,14 @@ $def($def.S, 'Math', {
|
|
2017
2000
|
return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
|
2018
2001
|
}
|
2019
2002
|
});
|
2020
|
-
},{"
|
2003
|
+
},{"17":17}],104:[function(_dereq_,module,exports){
|
2021
2004
|
// 20.2.2.18 Math.imul(x, y)
|
2022
|
-
var $def
|
2005
|
+
var $def = _dereq_(17)
|
2006
|
+
, $imul = Math.imul;
|
2023
2007
|
|
2024
|
-
// WebKit fails with big numbers
|
2025
|
-
$def($def.S + $def.F *
|
2026
|
-
return
|
2008
|
+
// some WebKit versions fails with big numbers, some has wrong arity
|
2009
|
+
$def($def.S + $def.F * _dereq_(23)(function(){
|
2010
|
+
return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
|
2027
2011
|
}), 'Math', {
|
2028
2012
|
imul: function imul(x, y){
|
2029
2013
|
var UINT16 = 0xffff
|
@@ -2034,51 +2018,54 @@ $def($def.S + $def.F * require('./$.fails')(function(){
|
|
2034
2018
|
return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
|
2035
2019
|
}
|
2036
2020
|
});
|
2037
|
-
},{"
|
2021
|
+
},{"17":17,"23":23}],105:[function(_dereq_,module,exports){
|
2038
2022
|
// 20.2.2.21 Math.log10(x)
|
2039
|
-
var $def =
|
2023
|
+
var $def = _dereq_(17);
|
2040
2024
|
|
2041
2025
|
$def($def.S, 'Math', {
|
2042
2026
|
log10: function log10(x){
|
2043
2027
|
return Math.log(x) / Math.LN10;
|
2044
2028
|
}
|
2045
2029
|
});
|
2046
|
-
},{"
|
2030
|
+
},{"17":17}],106:[function(_dereq_,module,exports){
|
2047
2031
|
// 20.2.2.20 Math.log1p(x)
|
2048
|
-
var $def =
|
2032
|
+
var $def = _dereq_(17);
|
2049
2033
|
|
2050
|
-
$def($def.S, 'Math', {log1p:
|
2051
|
-
},{"
|
2034
|
+
$def($def.S, 'Math', {log1p: _dereq_(48)});
|
2035
|
+
},{"17":17,"48":48}],107:[function(_dereq_,module,exports){
|
2052
2036
|
// 20.2.2.22 Math.log2(x)
|
2053
|
-
var $def =
|
2037
|
+
var $def = _dereq_(17);
|
2054
2038
|
|
2055
2039
|
$def($def.S, 'Math', {
|
2056
2040
|
log2: function log2(x){
|
2057
2041
|
return Math.log(x) / Math.LN2;
|
2058
2042
|
}
|
2059
2043
|
});
|
2060
|
-
},{"
|
2044
|
+
},{"17":17}],108:[function(_dereq_,module,exports){
|
2061
2045
|
// 20.2.2.28 Math.sign(x)
|
2062
|
-
var $def =
|
2046
|
+
var $def = _dereq_(17);
|
2063
2047
|
|
2064
|
-
$def($def.S, 'Math', {sign:
|
2065
|
-
},{"
|
2048
|
+
$def($def.S, 'Math', {sign: _dereq_(62)});
|
2049
|
+
},{"17":17,"62":62}],109:[function(_dereq_,module,exports){
|
2066
2050
|
// 20.2.2.30 Math.sinh(x)
|
2067
|
-
var $def =
|
2068
|
-
, expm1 =
|
2051
|
+
var $def = _dereq_(17)
|
2052
|
+
, expm1 = _dereq_(21)
|
2069
2053
|
, exp = Math.exp;
|
2070
2054
|
|
2071
|
-
|
2055
|
+
// V8 near Chromium 38 has a problem with very small numbers
|
2056
|
+
$def($def.S + $def.F * _dereq_(23)(function(){
|
2057
|
+
return !Math.sinh(-2e-17) != -2e-17;
|
2058
|
+
}), 'Math', {
|
2072
2059
|
sinh: function sinh(x){
|
2073
2060
|
return Math.abs(x = +x) < 1
|
2074
2061
|
? (expm1(x) - expm1(-x)) / 2
|
2075
2062
|
: (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
|
2076
2063
|
}
|
2077
2064
|
});
|
2078
|
-
},{"
|
2065
|
+
},{"17":17,"21":21,"23":23}],110:[function(_dereq_,module,exports){
|
2079
2066
|
// 20.2.2.33 Math.tanh(x)
|
2080
|
-
var $def =
|
2081
|
-
, expm1 =
|
2067
|
+
var $def = _dereq_(17)
|
2068
|
+
, expm1 = _dereq_(21)
|
2082
2069
|
, exp = Math.exp;
|
2083
2070
|
|
2084
2071
|
$def($def.S, 'Math', {
|
@@ -2088,23 +2075,23 @@ $def($def.S, 'Math', {
|
|
2088
2075
|
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
|
2089
2076
|
}
|
2090
2077
|
});
|
2091
|
-
},{"
|
2078
|
+
},{"17":17,"21":21}],111:[function(_dereq_,module,exports){
|
2092
2079
|
// 20.2.2.34 Math.trunc(x)
|
2093
|
-
var $def =
|
2080
|
+
var $def = _dereq_(17);
|
2094
2081
|
|
2095
2082
|
$def($def.S, 'Math', {
|
2096
2083
|
trunc: function trunc(it){
|
2097
2084
|
return (it > 0 ? Math.floor : Math.ceil)(it);
|
2098
2085
|
}
|
2099
2086
|
});
|
2100
|
-
},{"
|
2087
|
+
},{"17":17}],112:[function(_dereq_,module,exports){
|
2101
2088
|
'use strict';
|
2102
|
-
var $ =
|
2103
|
-
, global =
|
2104
|
-
, has =
|
2105
|
-
, cof =
|
2106
|
-
, isObject =
|
2107
|
-
, fails =
|
2089
|
+
var $ = _dereq_(45)
|
2090
|
+
, global = _dereq_(28)
|
2091
|
+
, has = _dereq_(29)
|
2092
|
+
, cof = _dereq_(10)
|
2093
|
+
, isObject = _dereq_(37)
|
2094
|
+
, fails = _dereq_(23)
|
2108
2095
|
, NUMBER = 'Number'
|
2109
2096
|
, $Number = global[NUMBER]
|
2110
2097
|
, Base = $Number
|
@@ -2135,55 +2122,54 @@ if(!($Number('0o1') && $Number('0b1'))){
|
|
2135
2122
|
&& (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)
|
2136
2123
|
? new Base(toNumber(it)) : toNumber(it);
|
2137
2124
|
};
|
2138
|
-
$.each.call(
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
}
|
2125
|
+
$.each.call(_dereq_(71) ? $.getNames(Base) : (
|
2126
|
+
// ES3:
|
2127
|
+
'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
|
2128
|
+
// ES6 (in case, if modules with ES6 Number statics required before):
|
2129
|
+
'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
|
2130
|
+
'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
|
2131
|
+
).split(','), function(key){
|
2132
|
+
if(has(Base, key) && !has($Number, key)){
|
2133
|
+
$.setDesc($Number, key, $.getDesc(Base, key));
|
2148
2134
|
}
|
2149
|
-
);
|
2135
|
+
});
|
2150
2136
|
$Number.prototype = proto;
|
2151
2137
|
proto.constructor = $Number;
|
2152
|
-
|
2138
|
+
_dereq_(57)(global, NUMBER, $Number);
|
2153
2139
|
}
|
2154
|
-
},{"
|
2140
|
+
},{"10":10,"23":23,"28":28,"29":29,"37":37,"45":45,"57":57,"71":71}],113:[function(_dereq_,module,exports){
|
2155
2141
|
// 20.1.2.1 Number.EPSILON
|
2156
|
-
var $def =
|
2142
|
+
var $def = _dereq_(17);
|
2157
2143
|
|
2158
2144
|
$def($def.S, 'Number', {EPSILON: Math.pow(2, -52)});
|
2159
|
-
},{"
|
2145
|
+
},{"17":17}],114:[function(_dereq_,module,exports){
|
2160
2146
|
// 20.1.2.2 Number.isFinite(number)
|
2161
|
-
var $def =
|
2162
|
-
, _isFinite =
|
2147
|
+
var $def = _dereq_(17)
|
2148
|
+
, _isFinite = _dereq_(28).isFinite;
|
2163
2149
|
|
2164
2150
|
$def($def.S, 'Number', {
|
2165
2151
|
isFinite: function isFinite(it){
|
2166
2152
|
return typeof it == 'number' && _isFinite(it);
|
2167
2153
|
}
|
2168
2154
|
});
|
2169
|
-
},{"
|
2155
|
+
},{"17":17,"28":28}],115:[function(_dereq_,module,exports){
|
2170
2156
|
// 20.1.2.3 Number.isInteger(number)
|
2171
|
-
var $def =
|
2157
|
+
var $def = _dereq_(17);
|
2172
2158
|
|
2173
|
-
$def($def.S, 'Number', {isInteger:
|
2174
|
-
},{"
|
2159
|
+
$def($def.S, 'Number', {isInteger: _dereq_(36)});
|
2160
|
+
},{"17":17,"36":36}],116:[function(_dereq_,module,exports){
|
2175
2161
|
// 20.1.2.4 Number.isNaN(number)
|
2176
|
-
var $def =
|
2162
|
+
var $def = _dereq_(17);
|
2177
2163
|
|
2178
2164
|
$def($def.S, 'Number', {
|
2179
2165
|
isNaN: function isNaN(number){
|
2180
2166
|
return number != number;
|
2181
2167
|
}
|
2182
2168
|
});
|
2183
|
-
},{"
|
2169
|
+
},{"17":17}],117:[function(_dereq_,module,exports){
|
2184
2170
|
// 20.1.2.5 Number.isSafeInteger(number)
|
2185
|
-
var $def =
|
2186
|
-
, isInteger =
|
2171
|
+
var $def = _dereq_(17)
|
2172
|
+
, isInteger = _dereq_(36)
|
2187
2173
|
, abs = Math.abs;
|
2188
2174
|
|
2189
2175
|
$def($def.S, 'Number', {
|
@@ -2191,157 +2177,158 @@ $def($def.S, 'Number', {
|
|
2191
2177
|
return isInteger(number) && abs(number) <= 0x1fffffffffffff;
|
2192
2178
|
}
|
2193
2179
|
});
|
2194
|
-
},{"
|
2180
|
+
},{"17":17,"36":36}],118:[function(_dereq_,module,exports){
|
2195
2181
|
// 20.1.2.6 Number.MAX_SAFE_INTEGER
|
2196
|
-
var $def =
|
2182
|
+
var $def = _dereq_(17);
|
2197
2183
|
|
2198
2184
|
$def($def.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
|
2199
|
-
},{"
|
2185
|
+
},{"17":17}],119:[function(_dereq_,module,exports){
|
2200
2186
|
// 20.1.2.10 Number.MIN_SAFE_INTEGER
|
2201
|
-
var $def =
|
2187
|
+
var $def = _dereq_(17);
|
2202
2188
|
|
2203
2189
|
$def($def.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
|
2204
|
-
},{"
|
2190
|
+
},{"17":17}],120:[function(_dereq_,module,exports){
|
2205
2191
|
// 20.1.2.12 Number.parseFloat(string)
|
2206
|
-
var $def =
|
2192
|
+
var $def = _dereq_(17);
|
2207
2193
|
|
2208
2194
|
$def($def.S, 'Number', {parseFloat: parseFloat});
|
2209
|
-
},{"
|
2195
|
+
},{"17":17}],121:[function(_dereq_,module,exports){
|
2210
2196
|
// 20.1.2.13 Number.parseInt(string, radix)
|
2211
|
-
var $def =
|
2197
|
+
var $def = _dereq_(17);
|
2212
2198
|
|
2213
2199
|
$def($def.S, 'Number', {parseInt: parseInt});
|
2214
|
-
},{"
|
2200
|
+
},{"17":17}],122:[function(_dereq_,module,exports){
|
2215
2201
|
// 19.1.3.1 Object.assign(target, source)
|
2216
|
-
var $def =
|
2202
|
+
var $def = _dereq_(17);
|
2217
2203
|
|
2218
|
-
$def($def.S + $def.F, 'Object', {assign:
|
2219
|
-
},{"
|
2204
|
+
$def($def.S + $def.F, 'Object', {assign: _dereq_(8)});
|
2205
|
+
},{"17":17,"8":8}],123:[function(_dereq_,module,exports){
|
2220
2206
|
// 19.1.2.5 Object.freeze(O)
|
2221
|
-
var isObject =
|
2207
|
+
var isObject = _dereq_(37);
|
2222
2208
|
|
2223
|
-
|
2209
|
+
_dereq_(51)('freeze', function($freeze){
|
2224
2210
|
return function freeze(it){
|
2225
2211
|
return $freeze && isObject(it) ? $freeze(it) : it;
|
2226
2212
|
};
|
2227
2213
|
});
|
2228
|
-
},{"
|
2214
|
+
},{"37":37,"51":51}],124:[function(_dereq_,module,exports){
|
2229
2215
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
2230
|
-
var toIObject =
|
2216
|
+
var toIObject = _dereq_(76);
|
2231
2217
|
|
2232
|
-
|
2218
|
+
_dereq_(51)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
|
2233
2219
|
return function getOwnPropertyDescriptor(it, key){
|
2234
2220
|
return $getOwnPropertyDescriptor(toIObject(it), key);
|
2235
2221
|
};
|
2236
2222
|
});
|
2237
|
-
},{"
|
2223
|
+
},{"51":51,"76":76}],125:[function(_dereq_,module,exports){
|
2238
2224
|
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
2239
|
-
|
2240
|
-
return
|
2225
|
+
_dereq_(51)('getOwnPropertyNames', function(){
|
2226
|
+
return _dereq_(27).get;
|
2241
2227
|
});
|
2242
|
-
},{"
|
2228
|
+
},{"27":27,"51":51}],126:[function(_dereq_,module,exports){
|
2243
2229
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
2244
|
-
var toObject =
|
2230
|
+
var toObject = _dereq_(78);
|
2245
2231
|
|
2246
|
-
|
2232
|
+
_dereq_(51)('getPrototypeOf', function($getPrototypeOf){
|
2247
2233
|
return function getPrototypeOf(it){
|
2248
2234
|
return $getPrototypeOf(toObject(it));
|
2249
2235
|
};
|
2250
2236
|
});
|
2251
|
-
},{"
|
2237
|
+
},{"51":51,"78":78}],127:[function(_dereq_,module,exports){
|
2252
2238
|
// 19.1.2.11 Object.isExtensible(O)
|
2253
|
-
var isObject =
|
2239
|
+
var isObject = _dereq_(37);
|
2254
2240
|
|
2255
|
-
|
2241
|
+
_dereq_(51)('isExtensible', function($isExtensible){
|
2256
2242
|
return function isExtensible(it){
|
2257
2243
|
return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
|
2258
2244
|
};
|
2259
2245
|
});
|
2260
|
-
},{"
|
2246
|
+
},{"37":37,"51":51}],128:[function(_dereq_,module,exports){
|
2261
2247
|
// 19.1.2.12 Object.isFrozen(O)
|
2262
|
-
var isObject =
|
2248
|
+
var isObject = _dereq_(37);
|
2263
2249
|
|
2264
|
-
|
2250
|
+
_dereq_(51)('isFrozen', function($isFrozen){
|
2265
2251
|
return function isFrozen(it){
|
2266
2252
|
return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
|
2267
2253
|
};
|
2268
2254
|
});
|
2269
|
-
},{"
|
2255
|
+
},{"37":37,"51":51}],129:[function(_dereq_,module,exports){
|
2270
2256
|
// 19.1.2.13 Object.isSealed(O)
|
2271
|
-
var isObject =
|
2257
|
+
var isObject = _dereq_(37);
|
2272
2258
|
|
2273
|
-
|
2259
|
+
_dereq_(51)('isSealed', function($isSealed){
|
2274
2260
|
return function isSealed(it){
|
2275
2261
|
return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
|
2276
2262
|
};
|
2277
2263
|
});
|
2278
|
-
},{"
|
2264
|
+
},{"37":37,"51":51}],130:[function(_dereq_,module,exports){
|
2279
2265
|
// 19.1.3.10 Object.is(value1, value2)
|
2280
|
-
var $def =
|
2266
|
+
var $def = _dereq_(17);
|
2281
2267
|
$def($def.S, 'Object', {
|
2282
|
-
is:
|
2268
|
+
is: _dereq_(59)
|
2283
2269
|
});
|
2284
|
-
},{"
|
2270
|
+
},{"17":17,"59":59}],131:[function(_dereq_,module,exports){
|
2285
2271
|
// 19.1.2.14 Object.keys(O)
|
2286
|
-
var toObject =
|
2272
|
+
var toObject = _dereq_(78);
|
2287
2273
|
|
2288
|
-
|
2274
|
+
_dereq_(51)('keys', function($keys){
|
2289
2275
|
return function keys(it){
|
2290
2276
|
return $keys(toObject(it));
|
2291
2277
|
};
|
2292
2278
|
});
|
2293
|
-
},{"
|
2279
|
+
},{"51":51,"78":78}],132:[function(_dereq_,module,exports){
|
2294
2280
|
// 19.1.2.15 Object.preventExtensions(O)
|
2295
|
-
var isObject =
|
2281
|
+
var isObject = _dereq_(37);
|
2296
2282
|
|
2297
|
-
|
2283
|
+
_dereq_(51)('preventExtensions', function($preventExtensions){
|
2298
2284
|
return function preventExtensions(it){
|
2299
2285
|
return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;
|
2300
2286
|
};
|
2301
2287
|
});
|
2302
|
-
},{"
|
2288
|
+
},{"37":37,"51":51}],133:[function(_dereq_,module,exports){
|
2303
2289
|
// 19.1.2.17 Object.seal(O)
|
2304
|
-
var isObject =
|
2290
|
+
var isObject = _dereq_(37);
|
2305
2291
|
|
2306
|
-
|
2292
|
+
_dereq_(51)('seal', function($seal){
|
2307
2293
|
return function seal(it){
|
2308
2294
|
return $seal && isObject(it) ? $seal(it) : it;
|
2309
2295
|
};
|
2310
2296
|
});
|
2311
|
-
},{"
|
2297
|
+
},{"37":37,"51":51}],134:[function(_dereq_,module,exports){
|
2312
2298
|
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
2313
|
-
var $def =
|
2314
|
-
$def($def.S, 'Object', {setPrototypeOf:
|
2315
|
-
},{"
|
2299
|
+
var $def = _dereq_(17);
|
2300
|
+
$def($def.S, 'Object', {setPrototypeOf: _dereq_(60).set});
|
2301
|
+
},{"17":17,"60":60}],135:[function(_dereq_,module,exports){
|
2316
2302
|
'use strict';
|
2317
2303
|
// 19.1.3.6 Object.prototype.toString()
|
2318
|
-
var classof =
|
2304
|
+
var classof = _dereq_(9)
|
2319
2305
|
, test = {};
|
2320
|
-
test[
|
2306
|
+
test[_dereq_(81)('toStringTag')] = 'z';
|
2321
2307
|
if(test + '' != '[object z]'){
|
2322
|
-
|
2308
|
+
_dereq_(57)(Object.prototype, 'toString', function toString(){
|
2323
2309
|
return '[object ' + classof(this) + ']';
|
2324
2310
|
}, true);
|
2325
2311
|
}
|
2326
|
-
},{"
|
2312
|
+
},{"57":57,"81":81,"9":9}],136:[function(_dereq_,module,exports){
|
2327
2313
|
'use strict';
|
2328
|
-
var $ =
|
2329
|
-
, LIBRARY =
|
2330
|
-
, global =
|
2331
|
-
, ctx =
|
2332
|
-
, classof =
|
2333
|
-
, $def =
|
2334
|
-
, isObject =
|
2335
|
-
, anObject =
|
2336
|
-
, aFunction =
|
2337
|
-
, strictNew =
|
2338
|
-
, forOf =
|
2339
|
-
, setProto =
|
2340
|
-
, same =
|
2341
|
-
, species =
|
2342
|
-
, SPECIES =
|
2343
|
-
,
|
2344
|
-
,
|
2314
|
+
var $ = _dereq_(45)
|
2315
|
+
, LIBRARY = _dereq_(47)
|
2316
|
+
, global = _dereq_(28)
|
2317
|
+
, ctx = _dereq_(16)
|
2318
|
+
, classof = _dereq_(9)
|
2319
|
+
, $def = _dereq_(17)
|
2320
|
+
, isObject = _dereq_(37)
|
2321
|
+
, anObject = _dereq_(3)
|
2322
|
+
, aFunction = _dereq_(2)
|
2323
|
+
, strictNew = _dereq_(65)
|
2324
|
+
, forOf = _dereq_(26)
|
2325
|
+
, setProto = _dereq_(60).set
|
2326
|
+
, same = _dereq_(59)
|
2327
|
+
, species = _dereq_(64)
|
2328
|
+
, SPECIES = _dereq_(81)('species')
|
2329
|
+
, speciesConstructor = _dereq_(63)
|
2330
|
+
, RECORD = _dereq_(79)('record')
|
2331
|
+
, asap = _dereq_(49)
|
2345
2332
|
, PROMISE = 'Promise'
|
2346
2333
|
, process = global.process
|
2347
2334
|
, isNode = classof(process) == 'process'
|
@@ -2370,7 +2357,7 @@ var useNative = function(){
|
|
2370
2357
|
works = false;
|
2371
2358
|
}
|
2372
2359
|
// actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
|
2373
|
-
if(works &&
|
2360
|
+
if(works && _dereq_(71)){
|
2374
2361
|
var thenableThenGotten = false;
|
2375
2362
|
P.resolve($.setDesc({}, 'then', {
|
2376
2363
|
get: function(){ thenableThenGotten = true; }
|
@@ -2427,10 +2414,14 @@ var notify = function(record, isReject){
|
|
2427
2414
|
chain.length = 0;
|
2428
2415
|
record.n = false;
|
2429
2416
|
if(isReject)setTimeout(function(){
|
2430
|
-
|
2417
|
+
var promise = record.p
|
2418
|
+
, handler, console;
|
2419
|
+
if(isUnhandled(promise)){
|
2431
2420
|
if(isNode){
|
2432
|
-
process.emit('unhandledRejection', value,
|
2433
|
-
} else if(
|
2421
|
+
process.emit('unhandledRejection', value, promise);
|
2422
|
+
} else if(handler = global.onunhandledrejection){
|
2423
|
+
handler({promise: promise, reason: value});
|
2424
|
+
} else if((console = global.console) && console.error){
|
2434
2425
|
console.error('Unhandled promise rejection', value);
|
2435
2426
|
}
|
2436
2427
|
} record.a = undefined;
|
@@ -2506,18 +2497,19 @@ if(!useNative){
|
|
2506
2497
|
$reject.call(record, err);
|
2507
2498
|
}
|
2508
2499
|
};
|
2509
|
-
|
2500
|
+
_dereq_(50)(P.prototype, {
|
2510
2501
|
// 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
|
2511
2502
|
then: function then(onFulfilled, onRejected){
|
2512
|
-
var S = anObject(anObject(this).constructor)[SPECIES];
|
2513
2503
|
var react = {
|
2514
2504
|
ok: typeof onFulfilled == 'function' ? onFulfilled : true,
|
2515
2505
|
fail: typeof onRejected == 'function' ? onRejected : false
|
2516
2506
|
};
|
2517
|
-
var promise = react.P = new (
|
2518
|
-
react.res =
|
2519
|
-
react.rej =
|
2507
|
+
var promise = react.P = new (speciesConstructor(this, P))(function(res, rej){
|
2508
|
+
react.res = res;
|
2509
|
+
react.rej = rej;
|
2520
2510
|
});
|
2511
|
+
aFunction(react.res);
|
2512
|
+
aFunction(react.rej);
|
2521
2513
|
var record = this[RECORD];
|
2522
2514
|
record.c.push(react);
|
2523
2515
|
if(record.a)record.a.push(react);
|
@@ -2533,9 +2525,9 @@ if(!useNative){
|
|
2533
2525
|
|
2534
2526
|
// export
|
2535
2527
|
$def($def.G + $def.W + $def.F * !useNative, {Promise: P});
|
2536
|
-
|
2528
|
+
_dereq_(72)(P, PROMISE);
|
2537
2529
|
species(P);
|
2538
|
-
species(Wrapper =
|
2530
|
+
species(Wrapper = _dereq_(15)[PROMISE]);
|
2539
2531
|
|
2540
2532
|
// statics
|
2541
2533
|
$def($def.S + $def.F * !useNative, PROMISE, {
|
@@ -2551,7 +2543,7 @@ $def($def.S + $def.F * (!useNative || testResolve(true)), PROMISE, {
|
|
2551
2543
|
? x : new this(function(res){ res(x); });
|
2552
2544
|
}
|
2553
2545
|
});
|
2554
|
-
$def($def.S + $def.F * !(useNative &&
|
2546
|
+
$def($def.S + $def.F * !(useNative && _dereq_(42)(function(iter){
|
2555
2547
|
P.all(iter)['catch'](function(){});
|
2556
2548
|
})), PROMISE, {
|
2557
2549
|
// 25.4.4.1 Promise.all(iterable)
|
@@ -2581,9 +2573,9 @@ $def($def.S + $def.F * !(useNative && require('./$.iter-detect')(function(iter){
|
|
2581
2573
|
});
|
2582
2574
|
}
|
2583
2575
|
});
|
2584
|
-
},{"
|
2576
|
+
},{"15":15,"16":16,"17":17,"2":2,"26":26,"28":28,"3":3,"37":37,"42":42,"45":45,"47":47,"49":49,"50":50,"59":59,"60":60,"63":63,"64":64,"65":65,"71":71,"72":72,"79":79,"81":81,"9":9}],137:[function(_dereq_,module,exports){
|
2585
2577
|
// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
|
2586
|
-
var $def =
|
2578
|
+
var $def = _dereq_(17)
|
2587
2579
|
, _apply = Function.apply;
|
2588
2580
|
|
2589
2581
|
$def($def.S, 'Reflect', {
|
@@ -2591,18 +2583,18 @@ $def($def.S, 'Reflect', {
|
|
2591
2583
|
return _apply.call(target, thisArgument, argumentsList);
|
2592
2584
|
}
|
2593
2585
|
});
|
2594
|
-
},{"
|
2586
|
+
},{"17":17}],138:[function(_dereq_,module,exports){
|
2595
2587
|
// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
|
2596
|
-
var $ =
|
2597
|
-
, $def =
|
2598
|
-
, aFunction =
|
2599
|
-
, anObject =
|
2600
|
-
, isObject =
|
2601
|
-
, bind = Function.bind ||
|
2588
|
+
var $ = _dereq_(45)
|
2589
|
+
, $def = _dereq_(17)
|
2590
|
+
, aFunction = _dereq_(2)
|
2591
|
+
, anObject = _dereq_(3)
|
2592
|
+
, isObject = _dereq_(37)
|
2593
|
+
, bind = Function.bind || _dereq_(15).Function.prototype.bind;
|
2602
2594
|
|
2603
2595
|
// MS Edge supports only 2 arguments
|
2604
2596
|
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
|
2605
|
-
$def($def.S + $def.F *
|
2597
|
+
$def($def.S + $def.F * _dereq_(23)(function(){
|
2606
2598
|
function F(){}
|
2607
2599
|
return !(Reflect.construct(function(){}, [], F) instanceof F);
|
2608
2600
|
}), 'Reflect', {
|
@@ -2630,14 +2622,14 @@ $def($def.S + $def.F * require('./$.fails')(function(){
|
|
2630
2622
|
return isObject(result) ? result : instance;
|
2631
2623
|
}
|
2632
2624
|
});
|
2633
|
-
},{"
|
2625
|
+
},{"15":15,"17":17,"2":2,"23":23,"3":3,"37":37,"45":45}],139:[function(_dereq_,module,exports){
|
2634
2626
|
// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
|
2635
|
-
var $ =
|
2636
|
-
, $def =
|
2637
|
-
, anObject =
|
2627
|
+
var $ = _dereq_(45)
|
2628
|
+
, $def = _dereq_(17)
|
2629
|
+
, anObject = _dereq_(3);
|
2638
2630
|
|
2639
2631
|
// MS Edge has broken Reflect.defineProperty - throwing instead of returning false
|
2640
|
-
$def($def.S + $def.F *
|
2632
|
+
$def($def.S + $def.F * _dereq_(23)(function(){
|
2641
2633
|
Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});
|
2642
2634
|
}), 'Reflect', {
|
2643
2635
|
defineProperty: function defineProperty(target, propertyKey, attributes){
|
@@ -2650,11 +2642,11 @@ $def($def.S + $def.F * require('./$.fails')(function(){
|
|
2650
2642
|
}
|
2651
2643
|
}
|
2652
2644
|
});
|
2653
|
-
},{"
|
2645
|
+
},{"17":17,"23":23,"3":3,"45":45}],140:[function(_dereq_,module,exports){
|
2654
2646
|
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
|
2655
|
-
var $def =
|
2656
|
-
, getDesc =
|
2657
|
-
, anObject =
|
2647
|
+
var $def = _dereq_(17)
|
2648
|
+
, getDesc = _dereq_(45).getDesc
|
2649
|
+
, anObject = _dereq_(3);
|
2658
2650
|
|
2659
2651
|
$def($def.S, 'Reflect', {
|
2660
2652
|
deleteProperty: function deleteProperty(target, propertyKey){
|
@@ -2662,11 +2654,11 @@ $def($def.S, 'Reflect', {
|
|
2662
2654
|
return desc && !desc.configurable ? false : delete target[propertyKey];
|
2663
2655
|
}
|
2664
2656
|
});
|
2665
|
-
},{"
|
2657
|
+
},{"17":17,"3":3,"45":45}],141:[function(_dereq_,module,exports){
|
2666
2658
|
'use strict';
|
2667
2659
|
// 26.1.5 Reflect.enumerate(target)
|
2668
|
-
var $def =
|
2669
|
-
, anObject =
|
2660
|
+
var $def = _dereq_(17)
|
2661
|
+
, anObject = _dereq_(3);
|
2670
2662
|
var Enumerate = function(iterated){
|
2671
2663
|
this._t = anObject(iterated); // target
|
2672
2664
|
this._i = 0; // next index
|
@@ -2674,7 +2666,7 @@ var Enumerate = function(iterated){
|
|
2674
2666
|
, key;
|
2675
2667
|
for(key in iterated)keys.push(key);
|
2676
2668
|
};
|
2677
|
-
|
2669
|
+
_dereq_(40)(Enumerate, 'Object', function(){
|
2678
2670
|
var that = this
|
2679
2671
|
, keys = that._k
|
2680
2672
|
, key;
|
@@ -2689,35 +2681,35 @@ $def($def.S, 'Reflect', {
|
|
2689
2681
|
return new Enumerate(target);
|
2690
2682
|
}
|
2691
2683
|
});
|
2692
|
-
},{"
|
2684
|
+
},{"17":17,"3":3,"40":40}],142:[function(_dereq_,module,exports){
|
2693
2685
|
// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
|
2694
|
-
var $ =
|
2695
|
-
, $def =
|
2696
|
-
, anObject =
|
2686
|
+
var $ = _dereq_(45)
|
2687
|
+
, $def = _dereq_(17)
|
2688
|
+
, anObject = _dereq_(3);
|
2697
2689
|
|
2698
2690
|
$def($def.S, 'Reflect', {
|
2699
2691
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
|
2700
2692
|
return $.getDesc(anObject(target), propertyKey);
|
2701
2693
|
}
|
2702
2694
|
});
|
2703
|
-
},{"
|
2695
|
+
},{"17":17,"3":3,"45":45}],143:[function(_dereq_,module,exports){
|
2704
2696
|
// 26.1.8 Reflect.getPrototypeOf(target)
|
2705
|
-
var $def =
|
2706
|
-
, getProto =
|
2707
|
-
, anObject =
|
2697
|
+
var $def = _dereq_(17)
|
2698
|
+
, getProto = _dereq_(45).getProto
|
2699
|
+
, anObject = _dereq_(3);
|
2708
2700
|
|
2709
2701
|
$def($def.S, 'Reflect', {
|
2710
2702
|
getPrototypeOf: function getPrototypeOf(target){
|
2711
2703
|
return getProto(anObject(target));
|
2712
2704
|
}
|
2713
2705
|
});
|
2714
|
-
},{"
|
2706
|
+
},{"17":17,"3":3,"45":45}],144:[function(_dereq_,module,exports){
|
2715
2707
|
// 26.1.6 Reflect.get(target, propertyKey [, receiver])
|
2716
|
-
var $ =
|
2717
|
-
, has =
|
2718
|
-
, $def =
|
2719
|
-
, isObject =
|
2720
|
-
, anObject =
|
2708
|
+
var $ = _dereq_(45)
|
2709
|
+
, has = _dereq_(29)
|
2710
|
+
, $def = _dereq_(17)
|
2711
|
+
, isObject = _dereq_(37)
|
2712
|
+
, anObject = _dereq_(3);
|
2721
2713
|
|
2722
2714
|
function get(target, propertyKey/*, receiver*/){
|
2723
2715
|
var receiver = arguments.length < 3 ? target : arguments[2]
|
@@ -2732,19 +2724,19 @@ function get(target, propertyKey/*, receiver*/){
|
|
2732
2724
|
}
|
2733
2725
|
|
2734
2726
|
$def($def.S, 'Reflect', {get: get});
|
2735
|
-
},{"
|
2727
|
+
},{"17":17,"29":29,"3":3,"37":37,"45":45}],145:[function(_dereq_,module,exports){
|
2736
2728
|
// 26.1.9 Reflect.has(target, propertyKey)
|
2737
|
-
var $def =
|
2729
|
+
var $def = _dereq_(17);
|
2738
2730
|
|
2739
2731
|
$def($def.S, 'Reflect', {
|
2740
2732
|
has: function has(target, propertyKey){
|
2741
2733
|
return propertyKey in target;
|
2742
2734
|
}
|
2743
2735
|
});
|
2744
|
-
},{"
|
2736
|
+
},{"17":17}],146:[function(_dereq_,module,exports){
|
2745
2737
|
// 26.1.10 Reflect.isExtensible(target)
|
2746
|
-
var $def =
|
2747
|
-
, anObject =
|
2738
|
+
var $def = _dereq_(17)
|
2739
|
+
, anObject = _dereq_(3)
|
2748
2740
|
, $isExtensible = Object.isExtensible;
|
2749
2741
|
|
2750
2742
|
$def($def.S, 'Reflect', {
|
@@ -2753,15 +2745,15 @@ $def($def.S, 'Reflect', {
|
|
2753
2745
|
return $isExtensible ? $isExtensible(target) : true;
|
2754
2746
|
}
|
2755
2747
|
});
|
2756
|
-
},{"
|
2748
|
+
},{"17":17,"3":3}],147:[function(_dereq_,module,exports){
|
2757
2749
|
// 26.1.11 Reflect.ownKeys(target)
|
2758
|
-
var $def =
|
2750
|
+
var $def = _dereq_(17);
|
2759
2751
|
|
2760
|
-
$def($def.S, 'Reflect', {ownKeys:
|
2761
|
-
},{"
|
2752
|
+
$def($def.S, 'Reflect', {ownKeys: _dereq_(53)});
|
2753
|
+
},{"17":17,"53":53}],148:[function(_dereq_,module,exports){
|
2762
2754
|
// 26.1.12 Reflect.preventExtensions(target)
|
2763
|
-
var $def =
|
2764
|
-
, anObject =
|
2755
|
+
var $def = _dereq_(17)
|
2756
|
+
, anObject = _dereq_(3)
|
2765
2757
|
, $preventExtensions = Object.preventExtensions;
|
2766
2758
|
|
2767
2759
|
$def($def.S, 'Reflect', {
|
@@ -2775,10 +2767,10 @@ $def($def.S, 'Reflect', {
|
|
2775
2767
|
}
|
2776
2768
|
}
|
2777
2769
|
});
|
2778
|
-
},{"
|
2770
|
+
},{"17":17,"3":3}],149:[function(_dereq_,module,exports){
|
2779
2771
|
// 26.1.14 Reflect.setPrototypeOf(target, proto)
|
2780
|
-
var $def =
|
2781
|
-
, setProto =
|
2772
|
+
var $def = _dereq_(17)
|
2773
|
+
, setProto = _dereq_(60);
|
2782
2774
|
|
2783
2775
|
if(setProto)$def($def.S, 'Reflect', {
|
2784
2776
|
setPrototypeOf: function setPrototypeOf(target, proto){
|
@@ -2791,14 +2783,14 @@ if(setProto)$def($def.S, 'Reflect', {
|
|
2791
2783
|
}
|
2792
2784
|
}
|
2793
2785
|
});
|
2794
|
-
},{"
|
2786
|
+
},{"17":17,"60":60}],150:[function(_dereq_,module,exports){
|
2795
2787
|
// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
|
2796
|
-
var $ =
|
2797
|
-
, has =
|
2798
|
-
, $def =
|
2799
|
-
, createDesc =
|
2800
|
-
, anObject =
|
2801
|
-
, isObject =
|
2788
|
+
var $ = _dereq_(45)
|
2789
|
+
, has = _dereq_(29)
|
2790
|
+
, $def = _dereq_(17)
|
2791
|
+
, createDesc = _dereq_(56)
|
2792
|
+
, anObject = _dereq_(3)
|
2793
|
+
, isObject = _dereq_(37);
|
2802
2794
|
|
2803
2795
|
function set(target, propertyKey, V/*, receiver*/){
|
2804
2796
|
var receiver = arguments.length < 4 ? target : arguments[3]
|
@@ -2821,59 +2813,55 @@ function set(target, propertyKey, V/*, receiver*/){
|
|
2821
2813
|
}
|
2822
2814
|
|
2823
2815
|
$def($def.S, 'Reflect', {set: set});
|
2824
|
-
},{"
|
2825
|
-
var $
|
2826
|
-
, global
|
2827
|
-
,
|
2828
|
-
, $flags
|
2829
|
-
, $RegExp
|
2830
|
-
, Base
|
2831
|
-
, proto
|
2832
|
-
,
|
2833
|
-
|
2834
|
-
|
2835
|
-
|
2836
|
-
|
2837
|
-
|
2838
|
-
|
2839
|
-
|
2840
|
-
|
2841
|
-
|
2842
|
-
|
2843
|
-
|
2844
|
-
|
2845
|
-
|
2846
|
-
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2854
|
-
|
2855
|
-
configurable: true,
|
2856
|
-
get: function(){ return Base[key]; },
|
2857
|
-
set: function(it){ Base[key] = it; }
|
2858
|
-
});
|
2816
|
+
},{"17":17,"29":29,"3":3,"37":37,"45":45,"56":56}],151:[function(_dereq_,module,exports){
|
2817
|
+
var $ = _dereq_(45)
|
2818
|
+
, global = _dereq_(28)
|
2819
|
+
, isRegExp = _dereq_(38)
|
2820
|
+
, $flags = _dereq_(25)
|
2821
|
+
, $RegExp = global.RegExp
|
2822
|
+
, Base = $RegExp
|
2823
|
+
, proto = $RegExp.prototype
|
2824
|
+
, re1 = /a/g
|
2825
|
+
, re2 = /a/g
|
2826
|
+
// "new" creates a new object, old webkit buggy here
|
2827
|
+
, CORRECT_NEW = new $RegExp(re1) !== re1;
|
2828
|
+
|
2829
|
+
if(_dereq_(71) && (!CORRECT_NEW || _dereq_(23)(function(){
|
2830
|
+
re2[_dereq_(81)('match')] = false;
|
2831
|
+
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
2832
|
+
return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
|
2833
|
+
}))){
|
2834
|
+
$RegExp = function RegExp(p, f){
|
2835
|
+
var piRE = isRegExp(p)
|
2836
|
+
, fiU = f === undefined;
|
2837
|
+
return !(this instanceof $RegExp) && piRE && p.constructor === $RegExp && fiU ? p
|
2838
|
+
: CORRECT_NEW
|
2839
|
+
? new Base(piRE && !fiU ? p.source : p, f)
|
2840
|
+
: Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f);
|
2841
|
+
};
|
2842
|
+
$.each.call($.getNames(Base), function(key){
|
2843
|
+
key in $RegExp || $.setDesc($RegExp, key, {
|
2844
|
+
configurable: true,
|
2845
|
+
get: function(){ return Base[key]; },
|
2846
|
+
set: function(it){ Base[key] = it; }
|
2859
2847
|
});
|
2860
|
-
|
2861
|
-
|
2862
|
-
|
2863
|
-
|
2848
|
+
});
|
2849
|
+
proto.constructor = $RegExp;
|
2850
|
+
$RegExp.prototype = proto;
|
2851
|
+
_dereq_(57)(global, 'RegExp', $RegExp);
|
2864
2852
|
}
|
2865
2853
|
|
2866
|
-
|
2867
|
-
},{"
|
2854
|
+
_dereq_(64)($RegExp);
|
2855
|
+
},{"23":23,"25":25,"28":28,"38":38,"45":45,"57":57,"64":64,"71":71,"81":81}],152:[function(_dereq_,module,exports){
|
2868
2856
|
// 21.2.5.3 get RegExp.prototype.flags()
|
2869
|
-
var $ =
|
2870
|
-
if(
|
2857
|
+
var $ = _dereq_(45);
|
2858
|
+
if(_dereq_(71) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {
|
2871
2859
|
configurable: true,
|
2872
|
-
get:
|
2860
|
+
get: _dereq_(25)
|
2873
2861
|
});
|
2874
|
-
},{"
|
2862
|
+
},{"25":25,"45":45,"71":71}],153:[function(_dereq_,module,exports){
|
2875
2863
|
// @@match logic
|
2876
|
-
|
2864
|
+
_dereq_(24)('match', 1, function(defined, MATCH){
|
2877
2865
|
// 21.1.3.11 String.prototype.match(regexp)
|
2878
2866
|
return function match(regexp){
|
2879
2867
|
'use strict';
|
@@ -2882,9 +2870,9 @@ require('./$.fix-re-wks')('match', 1, function(defined, MATCH){
|
|
2882
2870
|
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
|
2883
2871
|
};
|
2884
2872
|
});
|
2885
|
-
},{"
|
2873
|
+
},{"24":24}],154:[function(_dereq_,module,exports){
|
2886
2874
|
// @@replace logic
|
2887
|
-
|
2875
|
+
_dereq_(24)('replace', 2, function(defined, REPLACE, $replace){
|
2888
2876
|
// 21.1.3.14 String.prototype.replace(searchValue, replaceValue)
|
2889
2877
|
return function replace(searchValue, replaceValue){
|
2890
2878
|
'use strict';
|
@@ -2895,9 +2883,9 @@ require('./$.fix-re-wks')('replace', 2, function(defined, REPLACE, $replace){
|
|
2895
2883
|
: $replace.call(String(O), searchValue, replaceValue);
|
2896
2884
|
};
|
2897
2885
|
});
|
2898
|
-
},{"
|
2886
|
+
},{"24":24}],155:[function(_dereq_,module,exports){
|
2899
2887
|
// @@search logic
|
2900
|
-
|
2888
|
+
_dereq_(24)('search', 1, function(defined, SEARCH){
|
2901
2889
|
// 21.1.3.15 String.prototype.search(regexp)
|
2902
2890
|
return function search(regexp){
|
2903
2891
|
'use strict';
|
@@ -2906,9 +2894,9 @@ require('./$.fix-re-wks')('search', 1, function(defined, SEARCH){
|
|
2906
2894
|
return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
|
2907
2895
|
};
|
2908
2896
|
});
|
2909
|
-
},{"
|
2897
|
+
},{"24":24}],156:[function(_dereq_,module,exports){
|
2910
2898
|
// @@split logic
|
2911
|
-
|
2899
|
+
_dereq_(24)('split', 2, function(defined, SPLIT, $split){
|
2912
2900
|
// 21.1.3.17 String.prototype.split(separator, limit)
|
2913
2901
|
return function split(separator, limit){
|
2914
2902
|
'use strict';
|
@@ -2919,50 +2907,54 @@ require('./$.fix-re-wks')('split', 2, function(defined, SPLIT, $split){
|
|
2919
2907
|
: $split.call(String(O), separator, limit);
|
2920
2908
|
};
|
2921
2909
|
});
|
2922
|
-
},{"
|
2910
|
+
},{"24":24}],157:[function(_dereq_,module,exports){
|
2923
2911
|
'use strict';
|
2924
|
-
var strong =
|
2912
|
+
var strong = _dereq_(11);
|
2925
2913
|
|
2926
2914
|
// 23.2 Set Objects
|
2927
|
-
|
2928
|
-
return function Set(){ return get(this, arguments[0]); };
|
2915
|
+
_dereq_(14)('Set', function(get){
|
2916
|
+
return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
2929
2917
|
}, {
|
2930
2918
|
// 23.2.3.1 Set.prototype.add(value)
|
2931
2919
|
add: function add(value){
|
2932
2920
|
return strong.def(this, value = value === 0 ? 0 : value, value);
|
2933
2921
|
}
|
2934
2922
|
}, strong);
|
2935
|
-
},{"
|
2923
|
+
},{"11":11,"14":14}],158:[function(_dereq_,module,exports){
|
2936
2924
|
'use strict';
|
2937
|
-
var $def =
|
2938
|
-
, $at =
|
2925
|
+
var $def = _dereq_(17)
|
2926
|
+
, $at = _dereq_(66)(false);
|
2939
2927
|
$def($def.P, 'String', {
|
2940
2928
|
// 21.1.3.3 String.prototype.codePointAt(pos)
|
2941
2929
|
codePointAt: function codePointAt(pos){
|
2942
2930
|
return $at(this, pos);
|
2943
2931
|
}
|
2944
2932
|
});
|
2945
|
-
},{"
|
2933
|
+
},{"17":17,"66":66}],159:[function(_dereq_,module,exports){
|
2934
|
+
// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
|
2946
2935
|
'use strict';
|
2947
|
-
var $def
|
2948
|
-
, toLength
|
2949
|
-
, context
|
2936
|
+
var $def = _dereq_(17)
|
2937
|
+
, toLength = _dereq_(77)
|
2938
|
+
, context = _dereq_(67)
|
2939
|
+
, ENDS_WITH = 'endsWith'
|
2940
|
+
, $endsWith = ''[ENDS_WITH];
|
2950
2941
|
|
2951
|
-
|
2952
|
-
$def($def.P + $def.F * !require('./$.fails')(function(){ 'q'.endsWith(/./); }), 'String', {
|
2953
|
-
// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
|
2942
|
+
$def($def.P + $def.F * _dereq_(22)(ENDS_WITH), 'String', {
|
2954
2943
|
endsWith: function endsWith(searchString /*, endPosition = @length */){
|
2955
|
-
var that = context(this, searchString,
|
2956
|
-
,
|
2944
|
+
var that = context(this, searchString, ENDS_WITH)
|
2945
|
+
, $$ = arguments
|
2946
|
+
, endPosition = $$.length > 1 ? $$[1] : undefined
|
2957
2947
|
, len = toLength(that.length)
|
2958
2948
|
, end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
|
2959
2949
|
, search = String(searchString);
|
2960
|
-
return
|
2950
|
+
return $endsWith
|
2951
|
+
? $endsWith.call(that, search, end)
|
2952
|
+
: that.slice(end - search.length, end) === search;
|
2961
2953
|
}
|
2962
2954
|
});
|
2963
|
-
},{"
|
2964
|
-
var $def =
|
2965
|
-
, toIndex =
|
2955
|
+
},{"17":17,"22":22,"67":67,"77":77}],160:[function(_dereq_,module,exports){
|
2956
|
+
var $def = _dereq_(17)
|
2957
|
+
, toIndex = _dereq_(74)
|
2966
2958
|
, fromCharCode = String.fromCharCode
|
2967
2959
|
, $fromCodePoint = String.fromCodePoint;
|
2968
2960
|
|
@@ -2970,12 +2962,13 @@ var $def = require('./$.def')
|
|
2970
2962
|
$def($def.S + $def.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
|
2971
2963
|
// 21.1.2.2 String.fromCodePoint(...codePoints)
|
2972
2964
|
fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
|
2973
|
-
var res
|
2974
|
-
,
|
2975
|
-
,
|
2965
|
+
var res = []
|
2966
|
+
, $$ = arguments
|
2967
|
+
, $$len = $$.length
|
2968
|
+
, i = 0
|
2976
2969
|
, code;
|
2977
|
-
while(len > i){
|
2978
|
-
code =
|
2970
|
+
while($$len > i){
|
2971
|
+
code = +$$[i++];
|
2979
2972
|
if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
|
2980
2973
|
res.push(code < 0x10000
|
2981
2974
|
? fromCharCode(code)
|
@@ -2984,23 +2977,24 @@ $def($def.S + $def.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String
|
|
2984
2977
|
} return res.join('');
|
2985
2978
|
}
|
2986
2979
|
});
|
2987
|
-
},{"
|
2980
|
+
},{"17":17,"74":74}],161:[function(_dereq_,module,exports){
|
2981
|
+
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
|
2988
2982
|
'use strict';
|
2989
|
-
var $def
|
2990
|
-
, context
|
2983
|
+
var $def = _dereq_(17)
|
2984
|
+
, context = _dereq_(67)
|
2985
|
+
, INCLUDES = 'includes';
|
2991
2986
|
|
2992
|
-
$def($def.P, 'String', {
|
2993
|
-
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
|
2987
|
+
$def($def.P + $def.F * _dereq_(22)(INCLUDES), 'String', {
|
2994
2988
|
includes: function includes(searchString /*, position = 0 */){
|
2995
|
-
return !!~context(this, searchString,
|
2989
|
+
return !!~context(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
|
2996
2990
|
}
|
2997
2991
|
});
|
2998
|
-
},{"
|
2992
|
+
},{"17":17,"22":22,"67":67}],162:[function(_dereq_,module,exports){
|
2999
2993
|
'use strict';
|
3000
|
-
var $at =
|
2994
|
+
var $at = _dereq_(66)(true);
|
3001
2995
|
|
3002
2996
|
// 21.1.3.27 String.prototype[@@iterator]()
|
3003
|
-
|
2997
|
+
_dereq_(41)(String, 'String', function(iterated){
|
3004
2998
|
this._t = String(iterated); // target
|
3005
2999
|
this._i = 0; // next index
|
3006
3000
|
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
@@ -3013,81 +3007,89 @@ require('./$.iter-define')(String, 'String', function(iterated){
|
|
3013
3007
|
this._i += point.length;
|
3014
3008
|
return {value: point, done: false};
|
3015
3009
|
});
|
3016
|
-
},{"
|
3017
|
-
var $def =
|
3018
|
-
, toIObject =
|
3019
|
-
, toLength =
|
3010
|
+
},{"41":41,"66":66}],163:[function(_dereq_,module,exports){
|
3011
|
+
var $def = _dereq_(17)
|
3012
|
+
, toIObject = _dereq_(76)
|
3013
|
+
, toLength = _dereq_(77);
|
3020
3014
|
|
3021
3015
|
$def($def.S, 'String', {
|
3022
3016
|
// 21.1.2.4 String.raw(callSite, ...substitutions)
|
3023
3017
|
raw: function raw(callSite){
|
3024
|
-
var tpl
|
3025
|
-
, len
|
3026
|
-
,
|
3027
|
-
,
|
3028
|
-
,
|
3018
|
+
var tpl = toIObject(callSite.raw)
|
3019
|
+
, len = toLength(tpl.length)
|
3020
|
+
, $$ = arguments
|
3021
|
+
, $$len = $$.length
|
3022
|
+
, res = []
|
3023
|
+
, i = 0;
|
3029
3024
|
while(len > i){
|
3030
3025
|
res.push(String(tpl[i++]));
|
3031
|
-
if(i <
|
3026
|
+
if(i < $$len)res.push(String($$[i]));
|
3032
3027
|
} return res.join('');
|
3033
3028
|
}
|
3034
3029
|
});
|
3035
|
-
},{"
|
3036
|
-
var $def =
|
3030
|
+
},{"17":17,"76":76,"77":77}],164:[function(_dereq_,module,exports){
|
3031
|
+
var $def = _dereq_(17);
|
3037
3032
|
|
3038
3033
|
$def($def.P, 'String', {
|
3039
3034
|
// 21.1.3.13 String.prototype.repeat(count)
|
3040
|
-
repeat:
|
3035
|
+
repeat: _dereq_(69)
|
3041
3036
|
});
|
3042
|
-
},{"
|
3037
|
+
},{"17":17,"69":69}],165:[function(_dereq_,module,exports){
|
3038
|
+
// 21.1.3.18 String.prototype.startsWith(searchString [, position ])
|
3043
3039
|
'use strict';
|
3044
|
-
var $def
|
3045
|
-
, toLength
|
3046
|
-
, context
|
3040
|
+
var $def = _dereq_(17)
|
3041
|
+
, toLength = _dereq_(77)
|
3042
|
+
, context = _dereq_(67)
|
3043
|
+
, STARTS_WITH = 'startsWith'
|
3044
|
+
, $startsWith = ''[STARTS_WITH];
|
3047
3045
|
|
3048
|
-
|
3049
|
-
$def($def.P + $def.F * !require('./$.fails')(function(){ 'q'.startsWith(/./); }), 'String', {
|
3050
|
-
// 21.1.3.18 String.prototype.startsWith(searchString [, position ])
|
3046
|
+
$def($def.P + $def.F * _dereq_(22)(STARTS_WITH), 'String', {
|
3051
3047
|
startsWith: function startsWith(searchString /*, position = 0 */){
|
3052
|
-
var that = context(this, searchString,
|
3053
|
-
,
|
3048
|
+
var that = context(this, searchString, STARTS_WITH)
|
3049
|
+
, $$ = arguments
|
3050
|
+
, index = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))
|
3054
3051
|
, search = String(searchString);
|
3055
|
-
return
|
3052
|
+
return $startsWith
|
3053
|
+
? $startsWith.call(that, search, index)
|
3054
|
+
: that.slice(index, index + search.length) === search;
|
3056
3055
|
}
|
3057
3056
|
});
|
3058
|
-
},{"
|
3057
|
+
},{"17":17,"22":22,"67":67,"77":77}],166:[function(_dereq_,module,exports){
|
3059
3058
|
'use strict';
|
3060
3059
|
// 21.1.3.25 String.prototype.trim()
|
3061
|
-
|
3060
|
+
_dereq_(70)('trim', function($trim){
|
3062
3061
|
return function trim(){
|
3063
3062
|
return $trim(this, 3);
|
3064
3063
|
};
|
3065
3064
|
});
|
3066
|
-
},{"
|
3065
|
+
},{"70":70}],167:[function(_dereq_,module,exports){
|
3067
3066
|
'use strict';
|
3068
3067
|
// ECMAScript 6 symbols shim
|
3069
|
-
var $ =
|
3070
|
-
, global =
|
3071
|
-
, has =
|
3072
|
-
, SUPPORT_DESC =
|
3073
|
-
, $def =
|
3074
|
-
, $redef =
|
3075
|
-
,
|
3076
|
-
,
|
3077
|
-
,
|
3078
|
-
,
|
3079
|
-
,
|
3080
|
-
,
|
3081
|
-
,
|
3082
|
-
,
|
3083
|
-
,
|
3084
|
-
,
|
3085
|
-
,
|
3068
|
+
var $ = _dereq_(45)
|
3069
|
+
, global = _dereq_(28)
|
3070
|
+
, has = _dereq_(29)
|
3071
|
+
, SUPPORT_DESC = _dereq_(71)
|
3072
|
+
, $def = _dereq_(17)
|
3073
|
+
, $redef = _dereq_(57)
|
3074
|
+
, $fails = _dereq_(23)
|
3075
|
+
, shared = _dereq_(61)
|
3076
|
+
, setTag = _dereq_(72)
|
3077
|
+
, uid = _dereq_(79)
|
3078
|
+
, wks = _dereq_(81)
|
3079
|
+
, keyOf = _dereq_(46)
|
3080
|
+
, $names = _dereq_(27)
|
3081
|
+
, enumKeys = _dereq_(20)
|
3082
|
+
, isArray = _dereq_(35)
|
3083
|
+
, anObject = _dereq_(3)
|
3084
|
+
, toIObject = _dereq_(76)
|
3085
|
+
, createDesc = _dereq_(56)
|
3086
3086
|
, getDesc = $.getDesc
|
3087
3087
|
, setDesc = $.setDesc
|
3088
3088
|
, _create = $.create
|
3089
3089
|
, getNames = $names.get
|
3090
3090
|
, $Symbol = global.Symbol
|
3091
|
+
, $JSON = global.JSON
|
3092
|
+
, _stringify = $JSON && $JSON.stringify
|
3091
3093
|
, setter = false
|
3092
3094
|
, HIDDEN = wks('_hidden')
|
3093
3095
|
, isEnum = $.isEnum
|
@@ -3096,22 +3098,17 @@ var $ = require('./$')
|
|
3096
3098
|
, useNative = typeof $Symbol == 'function'
|
3097
3099
|
, ObjectProto = Object.prototype;
|
3098
3100
|
|
3099
|
-
|
3100
|
-
|
3101
|
-
|
3102
|
-
|
3103
|
-
|
3104
|
-
|
3105
|
-
|
3106
|
-
|
3107
|
-
|
3108
|
-
|
3109
|
-
|
3110
|
-
setDesc(it, key, D);
|
3111
|
-
if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
|
3112
|
-
};
|
3113
|
-
}
|
3114
|
-
}() : setDesc;
|
3101
|
+
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
3102
|
+
var setSymbolDesc = SUPPORT_DESC && $fails(function(){
|
3103
|
+
return _create(setDesc({}, 'a', {
|
3104
|
+
get: function(){ return setDesc(this, 'a', {value: 7}).a; }
|
3105
|
+
})).a != 7;
|
3106
|
+
}) ? function(it, key, D){
|
3107
|
+
var protoDesc = getDesc(ObjectProto, key);
|
3108
|
+
if(protoDesc)delete ObjectProto[key];
|
3109
|
+
setDesc(it, key, D);
|
3110
|
+
if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
|
3111
|
+
} : setDesc;
|
3115
3112
|
|
3116
3113
|
var wrap = function(tag){
|
3117
3114
|
var sym = AllSymbols[tag] = _create($Symbol.prototype);
|
@@ -3126,6 +3123,10 @@ var wrap = function(tag){
|
|
3126
3123
|
return sym;
|
3127
3124
|
};
|
3128
3125
|
|
3126
|
+
var isSymbol = function(it){
|
3127
|
+
return typeof it == 'symbol';
|
3128
|
+
};
|
3129
|
+
|
3129
3130
|
var $defineProperty = function defineProperty(it, key, D){
|
3130
3131
|
if(D && has(AllSymbols, key)){
|
3131
3132
|
if(!D.enumerable){
|
@@ -3175,17 +3176,43 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
|
|
3175
3176
|
while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);
|
3176
3177
|
return result;
|
3177
3178
|
};
|
3179
|
+
var $stringify = function stringify(it){
|
3180
|
+
var args = [it]
|
3181
|
+
, i = 1
|
3182
|
+
, $$ = arguments
|
3183
|
+
, replacer, $replacer;
|
3184
|
+
while($$.length > i)args.push($$[i++]);
|
3185
|
+
replacer = args[1];
|
3186
|
+
if(typeof replacer == 'function')$replacer = replacer;
|
3187
|
+
if($replacer || !isArray(replacer))replacer = function(key, value){
|
3188
|
+
if($replacer)value = $replacer.call(this, key, value);
|
3189
|
+
if(!isSymbol(value))return value;
|
3190
|
+
};
|
3191
|
+
args[1] = replacer;
|
3192
|
+
return _stringify.apply($JSON, args);
|
3193
|
+
};
|
3194
|
+
var buggyJSON = $fails(function(){
|
3195
|
+
var S = $Symbol();
|
3196
|
+
// MS Edge converts symbol values to JSON as {}
|
3197
|
+
// WebKit converts symbol values to JSON as null
|
3198
|
+
// V8 throws on boxed symbols
|
3199
|
+
return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
|
3200
|
+
});
|
3178
3201
|
|
3179
3202
|
// 19.4.1.1 Symbol([description])
|
3180
3203
|
if(!useNative){
|
3181
3204
|
$Symbol = function Symbol(){
|
3182
|
-
if(this
|
3183
|
-
return wrap(uid(arguments[0]));
|
3205
|
+
if(isSymbol(this))throw TypeError('Symbol is not a constructor');
|
3206
|
+
return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
|
3184
3207
|
};
|
3185
3208
|
$redef($Symbol.prototype, 'toString', function toString(){
|
3186
3209
|
return this._k;
|
3187
3210
|
});
|
3188
3211
|
|
3212
|
+
isSymbol = function(it){
|
3213
|
+
return it instanceof $Symbol;
|
3214
|
+
};
|
3215
|
+
|
3189
3216
|
$.create = $create;
|
3190
3217
|
$.isEnum = $propertyIsEnumerable;
|
3191
3218
|
$.getDesc = $getOwnPropertyDescriptor;
|
@@ -3194,19 +3221,11 @@ if(!useNative){
|
|
3194
3221
|
$.getNames = $names.get = $getOwnPropertyNames;
|
3195
3222
|
$.getSymbols = $getOwnPropertySymbols;
|
3196
3223
|
|
3197
|
-
if(SUPPORT_DESC && !
|
3224
|
+
if(SUPPORT_DESC && !_dereq_(47)){
|
3198
3225
|
$redef(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
3199
3226
|
}
|
3200
3227
|
}
|
3201
3228
|
|
3202
|
-
// MS Edge converts symbol values to JSON as {}
|
3203
|
-
// WebKit converts symbol values in objects to JSON as null
|
3204
|
-
if(!useNative || require('./$.fails')(function(){
|
3205
|
-
return JSON.stringify([{a: $Symbol()}, [$Symbol()]]) != '[{},[null]]';
|
3206
|
-
}))$redef($Symbol.prototype, 'toJSON', function toJSON(){
|
3207
|
-
if(useNative && isObject(this))return this;
|
3208
|
-
});
|
3209
|
-
|
3210
3229
|
var symbolStatics = {
|
3211
3230
|
// 19.4.2.1 Symbol.for(key)
|
3212
3231
|
'for': function(key){
|
@@ -3233,13 +3252,12 @@ var symbolStatics = {
|
|
3233
3252
|
// 19.4.2.13 Symbol.toStringTag
|
3234
3253
|
// 19.4.2.14 Symbol.unscopables
|
3235
3254
|
$.each.call((
|
3236
|
-
|
3237
|
-
|
3238
|
-
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3242
|
-
);
|
3255
|
+
'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +
|
3256
|
+
'species,split,toPrimitive,toStringTag,unscopables'
|
3257
|
+
).split(','), function(it){
|
3258
|
+
var sym = wks(it);
|
3259
|
+
symbolStatics[it] = useNative ? sym : wrap(sym);
|
3260
|
+
});
|
3243
3261
|
|
3244
3262
|
setter = true;
|
3245
3263
|
|
@@ -3262,26 +3280,29 @@ $def($def.S + $def.F * !useNative, 'Object', {
|
|
3262
3280
|
getOwnPropertySymbols: $getOwnPropertySymbols
|
3263
3281
|
});
|
3264
3282
|
|
3283
|
+
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
3284
|
+
$JSON && $def($def.S + $def.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
|
3285
|
+
|
3265
3286
|
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
3266
3287
|
setTag($Symbol, 'Symbol');
|
3267
3288
|
// 20.2.1.9 Math[@@toStringTag]
|
3268
3289
|
setTag(Math, 'Math', true);
|
3269
3290
|
// 24.3.3 JSON[@@toStringTag]
|
3270
3291
|
setTag(global.JSON, 'JSON', true);
|
3271
|
-
},{"
|
3292
|
+
},{"17":17,"20":20,"23":23,"27":27,"28":28,"29":29,"3":3,"35":35,"45":45,"46":46,"47":47,"56":56,"57":57,"61":61,"71":71,"72":72,"76":76,"79":79,"81":81}],168:[function(_dereq_,module,exports){
|
3272
3293
|
'use strict';
|
3273
|
-
var $ =
|
3274
|
-
, weak =
|
3275
|
-
, isObject =
|
3276
|
-
, has =
|
3294
|
+
var $ = _dereq_(45)
|
3295
|
+
, weak = _dereq_(13)
|
3296
|
+
, isObject = _dereq_(37)
|
3297
|
+
, has = _dereq_(29)
|
3277
3298
|
, frozenStore = weak.frozenStore
|
3278
3299
|
, WEAK = weak.WEAK
|
3279
3300
|
, isExtensible = Object.isExtensible || isObject
|
3280
3301
|
, tmp = {};
|
3281
3302
|
|
3282
3303
|
// 23.3 WeakMap Objects
|
3283
|
-
var $WeakMap =
|
3284
|
-
return function WeakMap(){ return get(this, arguments[0]); };
|
3304
|
+
var $WeakMap = _dereq_(14)('WeakMap', function(get){
|
3305
|
+
return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
3285
3306
|
}, {
|
3286
3307
|
// 23.3.3.3 WeakMap.prototype.get(key)
|
3287
3308
|
get: function get(key){
|
@@ -3301,7 +3322,7 @@ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
|
|
3301
3322
|
$.each.call(['delete', 'has', 'get', 'set'], function(key){
|
3302
3323
|
var proto = $WeakMap.prototype
|
3303
3324
|
, method = proto[key];
|
3304
|
-
|
3325
|
+
_dereq_(57)(proto, key, function(a, b){
|
3305
3326
|
// store frozen objects on leaky map
|
3306
3327
|
if(isObject(a) && !isExtensible(a)){
|
3307
3328
|
var result = frozenStore(this)[key](a, b);
|
@@ -3311,52 +3332,52 @@ if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
|
|
3311
3332
|
});
|
3312
3333
|
});
|
3313
3334
|
}
|
3314
|
-
},{"
|
3335
|
+
},{"13":13,"14":14,"29":29,"37":37,"45":45,"57":57}],169:[function(_dereq_,module,exports){
|
3315
3336
|
'use strict';
|
3316
|
-
var weak =
|
3337
|
+
var weak = _dereq_(13);
|
3317
3338
|
|
3318
3339
|
// 23.4 WeakSet Objects
|
3319
|
-
|
3320
|
-
return function WeakSet(){ return get(this, arguments[0]); };
|
3340
|
+
_dereq_(14)('WeakSet', function(get){
|
3341
|
+
return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
3321
3342
|
}, {
|
3322
3343
|
// 23.4.3.1 WeakSet.prototype.add(value)
|
3323
3344
|
add: function add(value){
|
3324
3345
|
return weak.def(this, value, true);
|
3325
3346
|
}
|
3326
3347
|
}, weak, false, true);
|
3327
|
-
},{"
|
3348
|
+
},{"13":13,"14":14}],170:[function(_dereq_,module,exports){
|
3328
3349
|
'use strict';
|
3329
|
-
var $def =
|
3330
|
-
, $includes =
|
3350
|
+
var $def = _dereq_(17)
|
3351
|
+
, $includes = _dereq_(6)(true);
|
3331
3352
|
$def($def.P, 'Array', {
|
3332
3353
|
// https://github.com/domenic/Array.prototype.includes
|
3333
3354
|
includes: function includes(el /*, fromIndex = 0 */){
|
3334
|
-
return $includes(this, el, arguments[1]);
|
3355
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
3335
3356
|
}
|
3336
3357
|
});
|
3337
|
-
|
3338
|
-
},{"
|
3358
|
+
_dereq_(80)('includes');
|
3359
|
+
},{"17":17,"6":6,"80":80}],171:[function(_dereq_,module,exports){
|
3339
3360
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
3340
|
-
var $def =
|
3361
|
+
var $def = _dereq_(17);
|
3341
3362
|
|
3342
|
-
$def($def.P, 'Map', {toJSON:
|
3343
|
-
},{"
|
3363
|
+
$def($def.P, 'Map', {toJSON: _dereq_(12)('Map')});
|
3364
|
+
},{"12":12,"17":17}],172:[function(_dereq_,module,exports){
|
3344
3365
|
// http://goo.gl/XkBrjD
|
3345
|
-
var $def =
|
3346
|
-
, $entries =
|
3366
|
+
var $def = _dereq_(17)
|
3367
|
+
, $entries = _dereq_(52)(true);
|
3347
3368
|
|
3348
3369
|
$def($def.S, 'Object', {
|
3349
3370
|
entries: function entries(it){
|
3350
3371
|
return $entries(it);
|
3351
3372
|
}
|
3352
3373
|
});
|
3353
|
-
},{"
|
3374
|
+
},{"17":17,"52":52}],173:[function(_dereq_,module,exports){
|
3354
3375
|
// https://gist.github.com/WebReflection/9353781
|
3355
|
-
var $ =
|
3356
|
-
, $def =
|
3357
|
-
, ownKeys =
|
3358
|
-
, toIObject =
|
3359
|
-
, createDesc =
|
3376
|
+
var $ = _dereq_(45)
|
3377
|
+
, $def = _dereq_(17)
|
3378
|
+
, ownKeys = _dereq_(53)
|
3379
|
+
, toIObject = _dereq_(76)
|
3380
|
+
, createDesc = _dereq_(56);
|
3360
3381
|
|
3361
3382
|
$def($def.S, 'Object', {
|
3362
3383
|
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
|
@@ -3374,81 +3395,81 @@ $def($def.S, 'Object', {
|
|
3374
3395
|
} return result;
|
3375
3396
|
}
|
3376
3397
|
});
|
3377
|
-
},{"
|
3398
|
+
},{"17":17,"45":45,"53":53,"56":56,"76":76}],174:[function(_dereq_,module,exports){
|
3378
3399
|
// http://goo.gl/XkBrjD
|
3379
|
-
var $def =
|
3380
|
-
, $values =
|
3400
|
+
var $def = _dereq_(17)
|
3401
|
+
, $values = _dereq_(52)(false);
|
3381
3402
|
|
3382
3403
|
$def($def.S, 'Object', {
|
3383
3404
|
values: function values(it){
|
3384
3405
|
return $values(it);
|
3385
3406
|
}
|
3386
3407
|
});
|
3387
|
-
},{"
|
3408
|
+
},{"17":17,"52":52}],175:[function(_dereq_,module,exports){
|
3388
3409
|
// https://github.com/benjamingr/RexExp.escape
|
3389
|
-
var $def =
|
3390
|
-
, $re =
|
3410
|
+
var $def = _dereq_(17)
|
3411
|
+
, $re = _dereq_(58)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
|
3391
3412
|
$def($def.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
|
3392
3413
|
|
3393
|
-
},{"
|
3414
|
+
},{"17":17,"58":58}],176:[function(_dereq_,module,exports){
|
3394
3415
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
3395
|
-
var $def =
|
3416
|
+
var $def = _dereq_(17);
|
3396
3417
|
|
3397
|
-
$def($def.P, 'Set', {toJSON:
|
3398
|
-
},{"
|
3418
|
+
$def($def.P, 'Set', {toJSON: _dereq_(12)('Set')});
|
3419
|
+
},{"12":12,"17":17}],177:[function(_dereq_,module,exports){
|
3399
3420
|
// https://github.com/mathiasbynens/String.prototype.at
|
3400
3421
|
'use strict';
|
3401
|
-
var $def =
|
3402
|
-
, $at =
|
3422
|
+
var $def = _dereq_(17)
|
3423
|
+
, $at = _dereq_(66)(true);
|
3403
3424
|
$def($def.P, 'String', {
|
3404
3425
|
at: function at(pos){
|
3405
3426
|
return $at(this, pos);
|
3406
3427
|
}
|
3407
3428
|
});
|
3408
|
-
},{"
|
3429
|
+
},{"17":17,"66":66}],178:[function(_dereq_,module,exports){
|
3409
3430
|
'use strict';
|
3410
|
-
var $def =
|
3411
|
-
, $pad =
|
3431
|
+
var $def = _dereq_(17)
|
3432
|
+
, $pad = _dereq_(68);
|
3412
3433
|
$def($def.P, 'String', {
|
3413
3434
|
padLeft: function padLeft(maxLength /*, fillString = ' ' */){
|
3414
|
-
return $pad(this, maxLength, arguments[1], true);
|
3435
|
+
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
|
3415
3436
|
}
|
3416
3437
|
});
|
3417
|
-
},{"
|
3438
|
+
},{"17":17,"68":68}],179:[function(_dereq_,module,exports){
|
3418
3439
|
'use strict';
|
3419
|
-
var $def =
|
3420
|
-
, $pad =
|
3440
|
+
var $def = _dereq_(17)
|
3441
|
+
, $pad = _dereq_(68);
|
3421
3442
|
$def($def.P, 'String', {
|
3422
3443
|
padRight: function padRight(maxLength /*, fillString = ' ' */){
|
3423
|
-
return $pad(this, maxLength, arguments[1], false);
|
3444
|
+
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
|
3424
3445
|
}
|
3425
3446
|
});
|
3426
|
-
},{"
|
3447
|
+
},{"17":17,"68":68}],180:[function(_dereq_,module,exports){
|
3427
3448
|
'use strict';
|
3428
3449
|
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
|
3429
|
-
|
3450
|
+
_dereq_(70)('trimLeft', function($trim){
|
3430
3451
|
return function trimLeft(){
|
3431
3452
|
return $trim(this, 1);
|
3432
3453
|
};
|
3433
3454
|
});
|
3434
|
-
},{"
|
3455
|
+
},{"70":70}],181:[function(_dereq_,module,exports){
|
3435
3456
|
'use strict';
|
3436
3457
|
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
|
3437
|
-
|
3458
|
+
_dereq_(70)('trimRight', function($trim){
|
3438
3459
|
return function trimRight(){
|
3439
3460
|
return $trim(this, 2);
|
3440
3461
|
};
|
3441
3462
|
});
|
3442
|
-
},{"
|
3463
|
+
},{"70":70}],182:[function(_dereq_,module,exports){
|
3443
3464
|
// JavaScript 1.6 / Strawman array statics shim
|
3444
|
-
var $ =
|
3445
|
-
, $def =
|
3446
|
-
, $Array =
|
3465
|
+
var $ = _dereq_(45)
|
3466
|
+
, $def = _dereq_(17)
|
3467
|
+
, $Array = _dereq_(15).Array || Array
|
3447
3468
|
, statics = {};
|
3448
3469
|
var setStatics = function(keys, length){
|
3449
3470
|
$.each.call(keys.split(','), function(key){
|
3450
3471
|
if(length == undefined && key in $Array)statics[key] = $Array[key];
|
3451
|
-
else if(key in [])statics[key] =
|
3472
|
+
else if(key in [])statics[key] = _dereq_(16)(Function.call, [][key], length);
|
3452
3473
|
});
|
3453
3474
|
};
|
3454
3475
|
setStatics('pop,reverse,shift,keys,values,entries', 1);
|
@@ -3456,12 +3477,12 @@ setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
|
|
3456
3477
|
setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
|
3457
3478
|
'reduce,reduceRight,copyWithin,fill');
|
3458
3479
|
$def($def.S, 'Array', statics);
|
3459
|
-
},{"
|
3460
|
-
|
3461
|
-
var global =
|
3462
|
-
, hide =
|
3463
|
-
, Iterators =
|
3464
|
-
, ITERATOR =
|
3480
|
+
},{"15":15,"16":16,"17":17,"45":45}],183:[function(_dereq_,module,exports){
|
3481
|
+
_dereq_(89);
|
3482
|
+
var global = _dereq_(28)
|
3483
|
+
, hide = _dereq_(30)
|
3484
|
+
, Iterators = _dereq_(44)
|
3485
|
+
, ITERATOR = _dereq_(81)('iterator')
|
3465
3486
|
, NL = global.NodeList
|
3466
3487
|
, HTC = global.HTMLCollection
|
3467
3488
|
, NLProto = NL && NL.prototype
|
@@ -3469,19 +3490,19 @@ var global = require('./$.global')
|
|
3469
3490
|
, ArrayValues = Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
|
3470
3491
|
if(NL && !(ITERATOR in NLProto))hide(NLProto, ITERATOR, ArrayValues);
|
3471
3492
|
if(HTC && !(ITERATOR in HTCProto))hide(HTCProto, ITERATOR, ArrayValues);
|
3472
|
-
},{"
|
3473
|
-
var $def =
|
3474
|
-
, $task =
|
3493
|
+
},{"28":28,"30":30,"44":44,"81":81,"89":89}],184:[function(_dereq_,module,exports){
|
3494
|
+
var $def = _dereq_(17)
|
3495
|
+
, $task = _dereq_(73);
|
3475
3496
|
$def($def.G + $def.B, {
|
3476
3497
|
setImmediate: $task.set,
|
3477
3498
|
clearImmediate: $task.clear
|
3478
3499
|
});
|
3479
|
-
},{"
|
3500
|
+
},{"17":17,"73":73}],185:[function(_dereq_,module,exports){
|
3480
3501
|
// ie9- setTimeout & setInterval additional parameters fix
|
3481
|
-
var global =
|
3482
|
-
, $def =
|
3483
|
-
, invoke =
|
3484
|
-
, partial =
|
3502
|
+
var global = _dereq_(28)
|
3503
|
+
, $def = _dereq_(17)
|
3504
|
+
, invoke = _dereq_(32)
|
3505
|
+
, partial = _dereq_(54)
|
3485
3506
|
, navigator = global.navigator
|
3486
3507
|
, MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
|
3487
3508
|
var wrap = function(set){
|
@@ -3497,113 +3518,113 @@ $def($def.G + $def.B + $def.F * MSIE, {
|
|
3497
3518
|
setTimeout: wrap(global.setTimeout),
|
3498
3519
|
setInterval: wrap(global.setInterval)
|
3499
3520
|
});
|
3500
|
-
},{"
|
3501
|
-
|
3502
|
-
|
3503
|
-
|
3504
|
-
|
3505
|
-
|
3506
|
-
|
3507
|
-
|
3508
|
-
|
3509
|
-
|
3510
|
-
|
3511
|
-
|
3512
|
-
|
3513
|
-
|
3514
|
-
|
3515
|
-
|
3516
|
-
|
3517
|
-
|
3518
|
-
|
3519
|
-
|
3520
|
-
|
3521
|
-
|
3522
|
-
|
3523
|
-
|
3524
|
-
|
3525
|
-
|
3526
|
-
|
3527
|
-
|
3528
|
-
|
3529
|
-
|
3530
|
-
|
3531
|
-
|
3532
|
-
|
3533
|
-
|
3534
|
-
|
3535
|
-
|
3536
|
-
|
3537
|
-
|
3538
|
-
|
3539
|
-
|
3540
|
-
|
3541
|
-
|
3542
|
-
|
3543
|
-
|
3544
|
-
|
3545
|
-
|
3546
|
-
|
3547
|
-
|
3548
|
-
|
3549
|
-
|
3550
|
-
|
3551
|
-
|
3552
|
-
|
3553
|
-
|
3554
|
-
|
3555
|
-
|
3556
|
-
|
3557
|
-
|
3558
|
-
|
3559
|
-
|
3560
|
-
|
3561
|
-
|
3562
|
-
|
3563
|
-
|
3564
|
-
|
3565
|
-
|
3566
|
-
|
3567
|
-
|
3568
|
-
|
3569
|
-
|
3570
|
-
|
3571
|
-
|
3572
|
-
|
3573
|
-
|
3574
|
-
|
3575
|
-
|
3576
|
-
|
3577
|
-
|
3578
|
-
|
3579
|
-
|
3580
|
-
|
3581
|
-
|
3582
|
-
|
3583
|
-
|
3584
|
-
|
3585
|
-
|
3586
|
-
|
3587
|
-
|
3588
|
-
|
3589
|
-
|
3590
|
-
|
3591
|
-
|
3592
|
-
|
3593
|
-
|
3594
|
-
|
3595
|
-
|
3596
|
-
|
3597
|
-
|
3598
|
-
|
3599
|
-
|
3600
|
-
|
3601
|
-
|
3602
|
-
|
3603
|
-
|
3604
|
-
module.exports =
|
3605
|
-
},{"
|
3606
|
-
(function (
|
3521
|
+
},{"17":17,"28":28,"32":32,"54":54}],186:[function(_dereq_,module,exports){
|
3522
|
+
_dereq_(83);
|
3523
|
+
_dereq_(167);
|
3524
|
+
_dereq_(122);
|
3525
|
+
_dereq_(130);
|
3526
|
+
_dereq_(134);
|
3527
|
+
_dereq_(135);
|
3528
|
+
_dereq_(123);
|
3529
|
+
_dereq_(133);
|
3530
|
+
_dereq_(132);
|
3531
|
+
_dereq_(128);
|
3532
|
+
_dereq_(129);
|
3533
|
+
_dereq_(127);
|
3534
|
+
_dereq_(124);
|
3535
|
+
_dereq_(126);
|
3536
|
+
_dereq_(131);
|
3537
|
+
_dereq_(125);
|
3538
|
+
_dereq_(93);
|
3539
|
+
_dereq_(92);
|
3540
|
+
_dereq_(112);
|
3541
|
+
_dereq_(113);
|
3542
|
+
_dereq_(114);
|
3543
|
+
_dereq_(115);
|
3544
|
+
_dereq_(116);
|
3545
|
+
_dereq_(117);
|
3546
|
+
_dereq_(118);
|
3547
|
+
_dereq_(119);
|
3548
|
+
_dereq_(120);
|
3549
|
+
_dereq_(121);
|
3550
|
+
_dereq_(95);
|
3551
|
+
_dereq_(96);
|
3552
|
+
_dereq_(97);
|
3553
|
+
_dereq_(98);
|
3554
|
+
_dereq_(99);
|
3555
|
+
_dereq_(100);
|
3556
|
+
_dereq_(101);
|
3557
|
+
_dereq_(102);
|
3558
|
+
_dereq_(103);
|
3559
|
+
_dereq_(104);
|
3560
|
+
_dereq_(105);
|
3561
|
+
_dereq_(106);
|
3562
|
+
_dereq_(107);
|
3563
|
+
_dereq_(108);
|
3564
|
+
_dereq_(109);
|
3565
|
+
_dereq_(110);
|
3566
|
+
_dereq_(111);
|
3567
|
+
_dereq_(160);
|
3568
|
+
_dereq_(163);
|
3569
|
+
_dereq_(166);
|
3570
|
+
_dereq_(162);
|
3571
|
+
_dereq_(158);
|
3572
|
+
_dereq_(159);
|
3573
|
+
_dereq_(161);
|
3574
|
+
_dereq_(164);
|
3575
|
+
_dereq_(165);
|
3576
|
+
_dereq_(88);
|
3577
|
+
_dereq_(90);
|
3578
|
+
_dereq_(89);
|
3579
|
+
_dereq_(91);
|
3580
|
+
_dereq_(84);
|
3581
|
+
_dereq_(85);
|
3582
|
+
_dereq_(87);
|
3583
|
+
_dereq_(86);
|
3584
|
+
_dereq_(151);
|
3585
|
+
_dereq_(152);
|
3586
|
+
_dereq_(153);
|
3587
|
+
_dereq_(154);
|
3588
|
+
_dereq_(155);
|
3589
|
+
_dereq_(156);
|
3590
|
+
_dereq_(136);
|
3591
|
+
_dereq_(94);
|
3592
|
+
_dereq_(157);
|
3593
|
+
_dereq_(168);
|
3594
|
+
_dereq_(169);
|
3595
|
+
_dereq_(137);
|
3596
|
+
_dereq_(138);
|
3597
|
+
_dereq_(139);
|
3598
|
+
_dereq_(140);
|
3599
|
+
_dereq_(141);
|
3600
|
+
_dereq_(144);
|
3601
|
+
_dereq_(142);
|
3602
|
+
_dereq_(143);
|
3603
|
+
_dereq_(145);
|
3604
|
+
_dereq_(146);
|
3605
|
+
_dereq_(147);
|
3606
|
+
_dereq_(148);
|
3607
|
+
_dereq_(150);
|
3608
|
+
_dereq_(149);
|
3609
|
+
_dereq_(170);
|
3610
|
+
_dereq_(177);
|
3611
|
+
_dereq_(178);
|
3612
|
+
_dereq_(179);
|
3613
|
+
_dereq_(180);
|
3614
|
+
_dereq_(181);
|
3615
|
+
_dereq_(175);
|
3616
|
+
_dereq_(173);
|
3617
|
+
_dereq_(174);
|
3618
|
+
_dereq_(172);
|
3619
|
+
_dereq_(171);
|
3620
|
+
_dereq_(176);
|
3621
|
+
_dereq_(182);
|
3622
|
+
_dereq_(185);
|
3623
|
+
_dereq_(184);
|
3624
|
+
_dereq_(183);
|
3625
|
+
module.exports = _dereq_(15);
|
3626
|
+
},{"100":100,"101":101,"102":102,"103":103,"104":104,"105":105,"106":106,"107":107,"108":108,"109":109,"110":110,"111":111,"112":112,"113":113,"114":114,"115":115,"116":116,"117":117,"118":118,"119":119,"120":120,"121":121,"122":122,"123":123,"124":124,"125":125,"126":126,"127":127,"128":128,"129":129,"130":130,"131":131,"132":132,"133":133,"134":134,"135":135,"136":136,"137":137,"138":138,"139":139,"140":140,"141":141,"142":142,"143":143,"144":144,"145":145,"146":146,"147":147,"148":148,"149":149,"15":15,"150":150,"151":151,"152":152,"153":153,"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"83":83,"84":84,"85":85,"86":86,"87":87,"88":88,"89":89,"90":90,"91":91,"92":92,"93":93,"94":94,"95":95,"96":96,"97":97,"98":98,"99":99}],187:[function(_dereq_,module,exports){
|
3627
|
+
(function (global){
|
3607
3628
|
/**
|
3608
3629
|
* Copyright (c) 2014, Facebook, Inc.
|
3609
3630
|
* All rights reserved.
|
@@ -3642,11 +3663,11 @@ module.exports = require('./modules/$.core');
|
|
3642
3663
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
3643
3664
|
// If outerFn provided, then outerFn.prototype instanceof Generator.
|
3644
3665
|
var generator = Object.create((outerFn || Generator).prototype);
|
3666
|
+
var context = new Context(tryLocsList || []);
|
3645
3667
|
|
3646
|
-
|
3647
|
-
|
3648
|
-
|
3649
|
-
);
|
3668
|
+
// The ._invoke method unifies the implementations of the .next,
|
3669
|
+
// .throw, and .return methods.
|
3670
|
+
generator._invoke = makeInvokeMethod(innerFn, self, context);
|
3650
3671
|
|
3651
3672
|
return generator;
|
3652
3673
|
}
|
@@ -3713,7 +3734,11 @@ module.exports = require('./modules/$.core');
|
|
3713
3734
|
};
|
3714
3735
|
|
3715
3736
|
runtime.mark = function(genFun) {
|
3716
|
-
|
3737
|
+
if (Object.setPrototypeOf) {
|
3738
|
+
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
3739
|
+
} else {
|
3740
|
+
genFun.__proto__ = GeneratorFunctionPrototype;
|
3741
|
+
}
|
3717
3742
|
genFun.prototype = Object.create(Gp);
|
3718
3743
|
return genFun;
|
3719
3744
|
};
|
@@ -3770,7 +3795,11 @@ module.exports = require('./modules/$.core');
|
|
3770
3795
|
var previousPromise;
|
3771
3796
|
|
3772
3797
|
function enqueue(method, arg) {
|
3773
|
-
|
3798
|
+
function callInvokeWithMethodAndArg() {
|
3799
|
+
return invoke(method, arg);
|
3800
|
+
}
|
3801
|
+
|
3802
|
+
return previousPromise =
|
3774
3803
|
// If enqueue has been called before, then we want to wait until
|
3775
3804
|
// all previous Promises have been resolved before calling invoke,
|
3776
3805
|
// so that results are always delivered in the correct order. If
|
@@ -3783,17 +3812,14 @@ module.exports = require('./modules/$.core');
|
|
3783
3812
|
// execute code before the first await. Since we implement simple
|
3784
3813
|
// async functions in terms of async generators, it is especially
|
3785
3814
|
// important to get this right, even though it requires care.
|
3786
|
-
previousPromise ? previousPromise.then(
|
3787
|
-
|
3788
|
-
|
3789
|
-
|
3815
|
+
previousPromise ? previousPromise.then(
|
3816
|
+
callInvokeWithMethodAndArg,
|
3817
|
+
// Avoid propagating failures to Promises returned by later
|
3818
|
+
// invocations of the iterator.
|
3819
|
+
callInvokeWithMethodAndArg
|
3820
|
+
) : new Promise(function (resolve) {
|
3821
|
+
resolve(callInvokeWithMethodAndArg());
|
3790
3822
|
});
|
3791
|
-
|
3792
|
-
// Avoid propagating enqueueResult failures to Promises returned by
|
3793
|
-
// later invocations of the iterator.
|
3794
|
-
previousPromise = enqueueResult["catch"](function(ignored){});
|
3795
|
-
|
3796
|
-
return enqueueResult;
|
3797
3823
|
}
|
3798
3824
|
|
3799
3825
|
// Define the unified helper method that is used to implement .next,
|
@@ -4256,5 +4282,5 @@ module.exports = require('./modules/$.core');
|
|
4256
4282
|
typeof self === "object" ? self : this
|
4257
4283
|
);
|
4258
4284
|
|
4259
|
-
}).call(this,
|
4260
|
-
},{
|
4285
|
+
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
4286
|
+
},{}]},{},[1]);
|