2016-10-10 03:43:44 +02:00
|
|
|
/**
|
2017-04-20 03:09:25 +02:00
|
|
|
* core-js 1.2.7
|
2016-10-10 03:43:44 +02:00
|
|
|
* https://github.com/zloirock/core-js
|
|
|
|
* License: http://rock.mit-license.org
|
|
|
|
* © 2016 Denis Pushkarev
|
|
|
|
*/
|
|
|
|
!function(__e, __g, undefined){
|
|
|
|
'use strict';
|
|
|
|
/******/ (function(modules) { // webpackBootstrap
|
|
|
|
/******/ // The module cache
|
|
|
|
/******/ var installedModules = {};
|
|
|
|
|
|
|
|
/******/ // The require function
|
|
|
|
/******/ function __webpack_require__(moduleId) {
|
|
|
|
|
|
|
|
/******/ // Check if module is in cache
|
|
|
|
/******/ if(installedModules[moduleId])
|
|
|
|
/******/ return installedModules[moduleId].exports;
|
|
|
|
|
|
|
|
/******/ // Create a new module (and put it into the cache)
|
|
|
|
/******/ var module = installedModules[moduleId] = {
|
|
|
|
/******/ exports: {},
|
|
|
|
/******/ id: moduleId,
|
|
|
|
/******/ loaded: false
|
|
|
|
/******/ };
|
|
|
|
|
|
|
|
/******/ // Execute the module function
|
|
|
|
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
|
|
|
|
|
|
/******/ // Flag the module as loaded
|
|
|
|
/******/ module.loaded = true;
|
|
|
|
|
|
|
|
/******/ // Return the exports of the module
|
|
|
|
/******/ return module.exports;
|
|
|
|
/******/ }
|
|
|
|
|
|
|
|
|
|
|
|
/******/ // expose the modules object (__webpack_modules__)
|
|
|
|
/******/ __webpack_require__.m = modules;
|
|
|
|
|
|
|
|
/******/ // expose the module cache
|
|
|
|
/******/ __webpack_require__.c = installedModules;
|
|
|
|
|
|
|
|
/******/ // __webpack_public_path__
|
|
|
|
/******/ __webpack_require__.p = "";
|
|
|
|
|
|
|
|
/******/ // Load entry module and return exports
|
|
|
|
/******/ return __webpack_require__(0);
|
|
|
|
/******/ })
|
|
|
|
/************************************************************************/
|
|
|
|
/******/ ([
|
|
|
|
/* 0 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
__webpack_require__(1);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(32);
|
|
|
|
__webpack_require__(40);
|
|
|
|
__webpack_require__(42);
|
|
|
|
__webpack_require__(44);
|
|
|
|
__webpack_require__(46);
|
|
|
|
__webpack_require__(48);
|
|
|
|
__webpack_require__(49);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(50);
|
|
|
|
__webpack_require__(51);
|
|
|
|
__webpack_require__(52);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(53);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(54);
|
|
|
|
__webpack_require__(55);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(56);
|
|
|
|
__webpack_require__(57);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(58);
|
|
|
|
__webpack_require__(59);
|
|
|
|
__webpack_require__(60);
|
|
|
|
__webpack_require__(62);
|
|
|
|
__webpack_require__(63);
|
|
|
|
__webpack_require__(64);
|
|
|
|
__webpack_require__(65);
|
|
|
|
__webpack_require__(66);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(67);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(68);
|
|
|
|
__webpack_require__(70);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(71);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(72);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(74);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(75);
|
|
|
|
__webpack_require__(76);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(78);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(79);
|
|
|
|
__webpack_require__(80);
|
|
|
|
__webpack_require__(81);
|
|
|
|
__webpack_require__(82);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(83);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(84);
|
|
|
|
__webpack_require__(85);
|
|
|
|
__webpack_require__(86);
|
|
|
|
__webpack_require__(87);
|
|
|
|
__webpack_require__(88);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(89);
|
|
|
|
__webpack_require__(90);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(92);
|
|
|
|
__webpack_require__(94);
|
|
|
|
__webpack_require__(98);
|
|
|
|
__webpack_require__(99);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(101);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(102);
|
|
|
|
__webpack_require__(106);
|
|
|
|
__webpack_require__(112);
|
|
|
|
__webpack_require__(113);
|
|
|
|
__webpack_require__(116);
|
|
|
|
__webpack_require__(118);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(120);
|
|
|
|
__webpack_require__(122);
|
|
|
|
__webpack_require__(123);
|
|
|
|
__webpack_require__(124);
|
|
|
|
__webpack_require__(131);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(134);
|
|
|
|
__webpack_require__(135);
|
|
|
|
__webpack_require__(137);
|
|
|
|
__webpack_require__(138);
|
|
|
|
__webpack_require__(139);
|
|
|
|
__webpack_require__(140);
|
|
|
|
__webpack_require__(141);
|
|
|
|
__webpack_require__(142);
|
|
|
|
__webpack_require__(143);
|
|
|
|
__webpack_require__(144);
|
|
|
|
__webpack_require__(145);
|
|
|
|
__webpack_require__(146);
|
|
|
|
__webpack_require__(147);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(148);
|
|
|
|
__webpack_require__(150);
|
|
|
|
__webpack_require__(151);
|
|
|
|
__webpack_require__(152);
|
|
|
|
__webpack_require__(153);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(154);
|
|
|
|
__webpack_require__(155);
|
|
|
|
__webpack_require__(157);
|
|
|
|
__webpack_require__(158);
|
|
|
|
__webpack_require__(159);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(160);
|
|
|
|
__webpack_require__(162);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(163);
|
|
|
|
__webpack_require__(165);
|
|
|
|
__webpack_require__(166);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(168);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(169);
|
|
|
|
__webpack_require__(170);
|
|
|
|
__webpack_require__(171);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(174);
|
|
|
|
__webpack_require__(109);
|
|
|
|
__webpack_require__(176);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(175);
|
|
|
|
__webpack_require__(177);
|
|
|
|
__webpack_require__(178);
|
|
|
|
__webpack_require__(179);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(180);
|
2016-10-10 03:43:44 +02:00
|
|
|
__webpack_require__(181);
|
|
|
|
__webpack_require__(183);
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(184);
|
|
|
|
__webpack_require__(185);
|
|
|
|
__webpack_require__(186);
|
|
|
|
__webpack_require__(187);
|
|
|
|
module.exports = __webpack_require__(188);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 1 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8)
|
|
|
|
, createDesc = __webpack_require__(10)
|
|
|
|
, html = __webpack_require__(11)
|
|
|
|
, cel = __webpack_require__(12)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, cof = __webpack_require__(15)
|
|
|
|
, invoke = __webpack_require__(16)
|
|
|
|
, fails = __webpack_require__(9)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, aFunction = __webpack_require__(7)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, toObject = __webpack_require__(18)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, toInteger = __webpack_require__(22)
|
|
|
|
, toIndex = __webpack_require__(23)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, IObject = __webpack_require__(21)
|
|
|
|
, IE_PROTO = __webpack_require__(25)('__proto__')
|
|
|
|
, createArrayMethod = __webpack_require__(26)
|
|
|
|
, arrayIndexOf = __webpack_require__(31)(false)
|
|
|
|
, ObjectProto = Object.prototype
|
|
|
|
, ArrayProto = Array.prototype
|
|
|
|
, arraySlice = ArrayProto.slice
|
|
|
|
, arrayJoin = ArrayProto.join
|
|
|
|
, defineProperty = $.setDesc
|
|
|
|
, getOwnDescriptor = $.getDesc
|
|
|
|
, defineProperties = $.setDescs
|
|
|
|
, factories = {}
|
|
|
|
, IE8_DOM_DEFINE;
|
|
|
|
|
|
|
|
if(!DESCRIPTORS){
|
|
|
|
IE8_DOM_DEFINE = !fails(function(){
|
|
|
|
return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;
|
|
|
|
});
|
|
|
|
$.setDesc = function(O, P, Attributes){
|
|
|
|
if(IE8_DOM_DEFINE)try {
|
|
|
|
return defineProperty(O, P, Attributes);
|
|
|
|
} catch(e){ /* empty */ }
|
|
|
|
if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');
|
|
|
|
if('value' in Attributes)anObject(O)[P] = Attributes.value;
|
|
|
|
return O;
|
|
|
|
};
|
|
|
|
$.getDesc = function(O, P){
|
|
|
|
if(IE8_DOM_DEFINE)try {
|
|
|
|
return getOwnDescriptor(O, P);
|
|
|
|
} catch(e){ /* empty */ }
|
|
|
|
if(has(O, P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);
|
|
|
|
};
|
|
|
|
$.setDescs = defineProperties = function(O, Properties){
|
|
|
|
anObject(O);
|
|
|
|
var keys = $.getKeys(Properties)
|
|
|
|
, length = keys.length
|
|
|
|
, i = 0
|
|
|
|
, P;
|
|
|
|
while(length > i)$.setDesc(O, P = keys[i++], Properties[P]);
|
|
|
|
return O;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
$export($export.S + $export.F * !DESCRIPTORS, 'Object', {
|
|
|
|
// 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)
|
|
|
|
getOwnPropertyDescriptor: $.getDesc,
|
|
|
|
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
|
|
defineProperty: $.setDesc,
|
|
|
|
// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
|
|
|
|
defineProperties: defineProperties
|
|
|
|
});
|
|
|
|
|
|
|
|
// IE 8- don't enum bug keys
|
|
|
|
var keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' +
|
|
|
|
'toLocaleString,toString,valueOf').split(',')
|
|
|
|
// Additional keys for getOwnPropertyNames
|
|
|
|
, keys2 = keys1.concat('length', 'prototype')
|
|
|
|
, keysLen1 = keys1.length;
|
|
|
|
|
|
|
|
// Create object with `null` prototype: use iframe Object with cleared prototype
|
|
|
|
var createDict = function(){
|
|
|
|
// Thrash, waste and sodomy: IE GC bug
|
|
|
|
var iframe = cel('iframe')
|
|
|
|
, i = keysLen1
|
|
|
|
, gt = '>'
|
|
|
|
, iframeDocument;
|
|
|
|
iframe.style.display = 'none';
|
|
|
|
html.appendChild(iframe);
|
|
|
|
iframe.src = 'javascript:'; // eslint-disable-line no-script-url
|
|
|
|
// createDict = iframe.contentWindow.Object;
|
|
|
|
// html.removeChild(iframe);
|
|
|
|
iframeDocument = iframe.contentWindow.document;
|
|
|
|
iframeDocument.open();
|
|
|
|
iframeDocument.write('<script>document.F=Object</script' + gt);
|
|
|
|
iframeDocument.close();
|
|
|
|
createDict = iframeDocument.F;
|
|
|
|
while(i--)delete createDict.prototype[keys1[i]];
|
|
|
|
return createDict();
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var createGetKeys = function(names, length){
|
|
|
|
return function(object){
|
|
|
|
var O = toIObject(object)
|
|
|
|
, i = 0
|
|
|
|
, result = []
|
|
|
|
, key;
|
|
|
|
for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);
|
|
|
|
// Don't enum bug & hidden keys
|
|
|
|
while(length > i)if(has(O, key = names[i++])){
|
|
|
|
~arrayIndexOf(result, key) || result.push(key);
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var Empty = function(){};
|
|
|
|
$export($export.S, 'Object', {
|
|
|
|
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
|
|
|
|
getPrototypeOf: $.getProto = $.getProto || function(O){
|
|
|
|
O = toObject(O);
|
|
|
|
if(has(O, IE_PROTO))return O[IE_PROTO];
|
|
|
|
if(typeof O.constructor == 'function' && O instanceof O.constructor){
|
|
|
|
return O.constructor.prototype;
|
|
|
|
} return O instanceof Object ? ObjectProto : null;
|
|
|
|
},
|
|
|
|
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
|
|
|
|
getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),
|
|
|
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
|
|
create: $.create = $.create || function(O, /*?*/Properties){
|
|
|
|
var result;
|
|
|
|
if(O !== null){
|
|
|
|
Empty.prototype = anObject(O);
|
|
|
|
result = new Empty();
|
|
|
|
Empty.prototype = null;
|
|
|
|
// add "__proto__" for Object.getPrototypeOf shim
|
|
|
|
result[IE_PROTO] = O;
|
|
|
|
} else result = createDict();
|
|
|
|
return Properties === undefined ? result : defineProperties(result, Properties);
|
|
|
|
},
|
|
|
|
// 19.1.2.14 / 15.2.3.14 Object.keys(O)
|
|
|
|
keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false)
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var construct = function(F, len, args){
|
|
|
|
if(!(len in factories)){
|
|
|
|
for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';
|
|
|
|
factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
|
|
|
|
}
|
|
|
|
return factories[len](F, args);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
|
|
|
|
$export($export.P, 'Function', {
|
|
|
|
bind: function bind(that /*, args... */){
|
|
|
|
var fn = aFunction(this)
|
|
|
|
, partArgs = arraySlice.call(arguments, 1);
|
|
|
|
var bound = function(/* args... */){
|
|
|
|
var args = partArgs.concat(arraySlice.call(arguments));
|
|
|
|
return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
if(isObject(fn.prototype))bound.prototype = fn.prototype;
|
|
|
|
return bound;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// fallback for not array-like ES3 strings and DOM objects
|
|
|
|
$export($export.P + $export.F * fails(function(){
|
|
|
|
if(html)arraySlice.call(html);
|
|
|
|
}), 'Array', {
|
|
|
|
slice: function(begin, end){
|
|
|
|
var len = toLength(this.length)
|
|
|
|
, klass = cof(this);
|
|
|
|
end = end === undefined ? len : end;
|
|
|
|
if(klass == 'Array')return arraySlice.call(this, begin, end);
|
|
|
|
var start = toIndex(begin, len)
|
|
|
|
, upTo = toIndex(end, len)
|
|
|
|
, size = toLength(upTo - start)
|
|
|
|
, cloned = Array(size)
|
|
|
|
, i = 0;
|
|
|
|
for(; i < size; i++)cloned[i] = klass == 'String'
|
|
|
|
? this.charAt(start + i)
|
|
|
|
: this[start + i];
|
|
|
|
return cloned;
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P + $export.F * (IObject != Object), 'Array', {
|
|
|
|
join: function join(separator){
|
|
|
|
return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
|
|
|
|
$export($export.S, 'Array', {isArray: __webpack_require__(28)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var createArrayReduce = function(isRight){
|
|
|
|
return function(callbackfn, memo){
|
|
|
|
aFunction(callbackfn);
|
|
|
|
var O = IObject(this)
|
|
|
|
, length = toLength(O.length)
|
|
|
|
, index = isRight ? length - 1 : 0
|
|
|
|
, i = isRight ? -1 : 1;
|
|
|
|
if(arguments.length < 2)for(;;){
|
|
|
|
if(index in O){
|
|
|
|
memo = O[index];
|
|
|
|
index += i;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
index += i;
|
|
|
|
if(isRight ? index < 0 : length <= index){
|
|
|
|
throw TypeError('Reduce of empty array with no initial value');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for(;isRight ? index >= 0 : length > index; index += i)if(index in O){
|
|
|
|
memo = callbackfn(memo, O[index], index, this);
|
|
|
|
}
|
|
|
|
return memo;
|
|
|
|
};
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var methodize = function($fn){
|
|
|
|
return function(arg1/*, arg2 = undefined */){
|
|
|
|
return $fn(this, arg1, arguments[1]);
|
|
|
|
};
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Array', {
|
|
|
|
// 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
|
|
|
|
forEach: $.each = $.each || methodize(createArrayMethod(0)),
|
|
|
|
// 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
|
|
|
|
map: methodize(createArrayMethod(1)),
|
|
|
|
// 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
|
|
|
|
filter: methodize(createArrayMethod(2)),
|
|
|
|
// 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
|
|
|
|
some: methodize(createArrayMethod(3)),
|
|
|
|
// 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
|
|
|
|
every: methodize(createArrayMethod(4)),
|
|
|
|
// 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
|
|
|
|
reduce: createArrayReduce(false),
|
|
|
|
// 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
|
|
|
|
reduceRight: createArrayReduce(true),
|
|
|
|
// 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
|
|
|
|
indexOf: methodize(arrayIndexOf),
|
|
|
|
// 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
|
|
|
|
lastIndexOf: function(el, fromIndex /* = @[*-1] */){
|
|
|
|
var O = toIObject(this)
|
|
|
|
, length = toLength(O.length)
|
|
|
|
, index = length - 1;
|
|
|
|
if(arguments.length > 1)index = Math.min(index, toInteger(fromIndex));
|
|
|
|
if(index < 0)index = toLength(length + index);
|
|
|
|
for(;index >= 0; index--)if(index in O)if(O[index] === el)return index;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.3.3.1 / 15.9.4.4 Date.now()
|
|
|
|
$export($export.S, 'Date', {now: function(){ return +new Date; }});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var lz = function(num){
|
|
|
|
return num > 9 ? num : '0' + num;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
|
|
|
|
// PhantomJS / old WebKit has a broken implementations
|
|
|
|
$export($export.P + $export.F * (fails(function(){
|
|
|
|
return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';
|
|
|
|
}) || !fails(function(){
|
|
|
|
new Date(NaN).toISOString();
|
|
|
|
})), 'Date', {
|
|
|
|
toISOString: function toISOString(){
|
|
|
|
if(!isFinite(this))throw RangeError('Invalid time value');
|
|
|
|
var d = this
|
|
|
|
, y = d.getUTCFullYear()
|
|
|
|
, m = d.getUTCMilliseconds()
|
|
|
|
, s = y < 0 ? '-' : y > 9999 ? '+' : '';
|
|
|
|
return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
|
|
|
|
'-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
|
|
|
|
'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
|
|
|
|
':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 2 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $Object = Object;
|
|
|
|
module.exports = {
|
|
|
|
create: $Object.create,
|
|
|
|
getProto: $Object.getPrototypeOf,
|
|
|
|
isEnum: {}.propertyIsEnumerable,
|
|
|
|
getDesc: $Object.getOwnPropertyDescriptor,
|
|
|
|
setDesc: $Object.defineProperty,
|
|
|
|
setDescs: $Object.defineProperties,
|
|
|
|
getKeys: $Object.keys,
|
|
|
|
getNames: $Object.getOwnPropertyNames,
|
|
|
|
getSymbols: $Object.getOwnPropertySymbols,
|
|
|
|
each: [].forEach
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 3 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var global = __webpack_require__(4)
|
|
|
|
, core = __webpack_require__(5)
|
|
|
|
, ctx = __webpack_require__(6)
|
2016-10-10 03:43:44 +02:00
|
|
|
, PROTOTYPE = 'prototype';
|
|
|
|
|
|
|
|
var $export = function(type, name, source){
|
|
|
|
var IS_FORCED = type & $export.F
|
|
|
|
, IS_GLOBAL = type & $export.G
|
|
|
|
, IS_STATIC = type & $export.S
|
|
|
|
, IS_PROTO = type & $export.P
|
|
|
|
, IS_BIND = type & $export.B
|
|
|
|
, IS_WRAP = type & $export.W
|
|
|
|
, exports = IS_GLOBAL ? core : core[name] || (core[name] = {})
|
|
|
|
, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]
|
|
|
|
, key, own, out;
|
|
|
|
if(IS_GLOBAL)source = name;
|
|
|
|
for(key in source){
|
|
|
|
// contains in native
|
2017-04-20 03:09:25 +02:00
|
|
|
own = !IS_FORCED && target && key in target;
|
2016-10-10 03:43:44 +02:00
|
|
|
if(own && key in exports)continue;
|
|
|
|
// export native or passed
|
|
|
|
out = own ? target[key] : source[key];
|
|
|
|
// prevent global pollution for namespaces
|
|
|
|
exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
|
|
|
|
// bind timers to global for call from export context
|
|
|
|
: IS_BIND && own ? ctx(out, global)
|
|
|
|
// wrap global constructors for prevent change them in library
|
|
|
|
: IS_WRAP && target[key] == out ? (function(C){
|
2017-04-20 03:09:25 +02:00
|
|
|
var F = function(param){
|
|
|
|
return this instanceof C ? new C(param) : C(param);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
F[PROTOTYPE] = C[PROTOTYPE];
|
|
|
|
return F;
|
|
|
|
// make static versions for prototype methods
|
|
|
|
})(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
// type bitmap
|
2017-04-20 03:09:25 +02:00
|
|
|
$export.F = 1; // forced
|
|
|
|
$export.G = 2; // global
|
|
|
|
$export.S = 4; // static
|
|
|
|
$export.P = 8; // proto
|
|
|
|
$export.B = 16; // bind
|
|
|
|
$export.W = 32; // wrap
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = $export;
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 4 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
|
|
var global = module.exports = typeof window != 'undefined' && window.Math == Math
|
|
|
|
? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();
|
|
|
|
if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 5 */
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
var core = module.exports = {version: '1.2.6'};
|
|
|
|
if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 6 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// optional / simple context binding
|
2017-04-20 03:09:25 +02:00
|
|
|
var aFunction = __webpack_require__(7);
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(fn, that, length){
|
|
|
|
aFunction(fn);
|
|
|
|
if(that === undefined)return fn;
|
|
|
|
switch(length){
|
|
|
|
case 1: return function(a){
|
|
|
|
return fn.call(that, a);
|
|
|
|
};
|
|
|
|
case 2: return function(a, b){
|
|
|
|
return fn.call(that, a, b);
|
|
|
|
};
|
|
|
|
case 3: return function(a, b, c){
|
|
|
|
return fn.call(that, a, b, c);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
return function(/* ...args */){
|
|
|
|
return fn.apply(that, arguments);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 7 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = function(it){
|
|
|
|
if(typeof it != 'function')throw TypeError(it + ' is not a function!');
|
|
|
|
return it;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 8 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// Thank's IE8 for his funny defineProperty
|
|
|
|
module.exports = !__webpack_require__(9)(function(){
|
|
|
|
return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 9 */
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = function(exec){
|
|
|
|
try {
|
|
|
|
return !!exec();
|
|
|
|
} catch(e){
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 10 */
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = function(bitmap, value){
|
|
|
|
return {
|
|
|
|
enumerable : !(bitmap & 1),
|
|
|
|
configurable: !(bitmap & 2),
|
|
|
|
writable : !(bitmap & 4),
|
|
|
|
value : value
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 11 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = __webpack_require__(4).document && document.documentElement;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 12 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var isObject = __webpack_require__(13)
|
|
|
|
, document = __webpack_require__(4).document
|
|
|
|
// in old IE typeof document.createElement is 'object'
|
|
|
|
, is = isObject(document) && isObject(document.createElement);
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(it){
|
2017-04-20 03:09:25 +02:00
|
|
|
return is ? document.createElement(it) : {};
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 13 */
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = function(it){
|
|
|
|
return typeof it === 'object' ? it !== null : typeof it === 'function';
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 14 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var hasOwnProperty = {}.hasOwnProperty;
|
|
|
|
module.exports = function(it, key){
|
|
|
|
return hasOwnProperty.call(it, key);
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 15 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
var toString = {}.toString;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = function(it){
|
2017-04-20 03:09:25 +02:00
|
|
|
return toString.call(it).slice(8, -1);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 16 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// fast apply, http://jsperf.lnkit.com/fast-apply/5
|
|
|
|
module.exports = function(fn, args, that){
|
|
|
|
var un = that === undefined;
|
|
|
|
switch(args.length){
|
|
|
|
case 0: return un ? fn()
|
|
|
|
: fn.call(that);
|
|
|
|
case 1: return un ? fn(args[0])
|
|
|
|
: fn.call(that, args[0]);
|
|
|
|
case 2: return un ? fn(args[0], args[1])
|
|
|
|
: fn.call(that, args[0], args[1]);
|
|
|
|
case 3: return un ? fn(args[0], args[1], args[2])
|
|
|
|
: fn.call(that, args[0], args[1], args[2]);
|
|
|
|
case 4: return un ? fn(args[0], args[1], args[2], args[3])
|
|
|
|
: fn.call(that, args[0], args[1], args[2], args[3]);
|
|
|
|
} return fn.apply(that, args);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 17 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var isObject = __webpack_require__(13);
|
|
|
|
module.exports = function(it){
|
|
|
|
if(!isObject(it))throw TypeError(it + ' is not an object!');
|
|
|
|
return it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 18 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.1.13 ToObject(argument)
|
|
|
|
var defined = __webpack_require__(19);
|
|
|
|
module.exports = function(it){
|
|
|
|
return Object(defined(it));
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 19 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.2.1 RequireObjectCoercible(argument)
|
|
|
|
module.exports = function(it){
|
|
|
|
if(it == undefined)throw TypeError("Can't call method on " + it);
|
2016-10-10 03:43:44 +02:00
|
|
|
return it;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 20 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// to indexed object, toObject with fallback for non-array-like ES3 strings
|
|
|
|
var IObject = __webpack_require__(21)
|
|
|
|
, defined = __webpack_require__(19);
|
|
|
|
module.exports = function(it){
|
|
|
|
return IObject(defined(it));
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 21 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
|
|
var cof = __webpack_require__(15);
|
|
|
|
module.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){
|
|
|
|
return cof(it) == 'String' ? it.split('') : Object(it);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 22 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.1.4 ToInteger
|
|
|
|
var ceil = Math.ceil
|
|
|
|
, floor = Math.floor;
|
|
|
|
module.exports = function(it){
|
|
|
|
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 23 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var toInteger = __webpack_require__(22)
|
|
|
|
, max = Math.max
|
|
|
|
, min = Math.min;
|
|
|
|
module.exports = function(index, length){
|
|
|
|
index = toInteger(index);
|
|
|
|
return index < 0 ? max(index + length, 0) : min(index, length);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 24 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.1.15 ToLength
|
|
|
|
var toInteger = __webpack_require__(22)
|
|
|
|
, min = Math.min;
|
|
|
|
module.exports = function(it){
|
|
|
|
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 25 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var id = 0
|
|
|
|
, px = Math.random();
|
|
|
|
module.exports = function(key){
|
|
|
|
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 26 */
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 0 -> Array#forEach
|
|
|
|
// 1 -> Array#map
|
|
|
|
// 2 -> Array#filter
|
|
|
|
// 3 -> Array#some
|
|
|
|
// 4 -> Array#every
|
|
|
|
// 5 -> Array#find
|
|
|
|
// 6 -> Array#findIndex
|
|
|
|
var ctx = __webpack_require__(6)
|
|
|
|
, IObject = __webpack_require__(21)
|
|
|
|
, toObject = __webpack_require__(18)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, asc = __webpack_require__(27);
|
|
|
|
module.exports = function(TYPE){
|
|
|
|
var IS_MAP = TYPE == 1
|
|
|
|
, IS_FILTER = TYPE == 2
|
|
|
|
, IS_SOME = TYPE == 3
|
|
|
|
, IS_EVERY = TYPE == 4
|
|
|
|
, IS_FIND_INDEX = TYPE == 6
|
|
|
|
, NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
|
|
return function($this, callbackfn, that){
|
|
|
|
var O = toObject($this)
|
|
|
|
, self = IObject(O)
|
|
|
|
, f = ctx(callbackfn, that, 3)
|
|
|
|
, length = toLength(self.length)
|
|
|
|
, index = 0
|
|
|
|
, result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined
|
|
|
|
, val, res;
|
|
|
|
for(;length > index; index++)if(NO_HOLES || index in self){
|
|
|
|
val = self[index];
|
|
|
|
res = f(val, index, O);
|
|
|
|
if(TYPE){
|
|
|
|
if(IS_MAP)result[index] = res; // map
|
|
|
|
else if(res)switch(TYPE){
|
|
|
|
case 3: return true; // some
|
|
|
|
case 5: return val; // find
|
|
|
|
case 6: return index; // findIndex
|
|
|
|
case 2: result.push(val); // filter
|
|
|
|
} else if(IS_EVERY)return false; // every
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
|
|
|
|
};
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 27 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 9.4.2.3 ArraySpeciesCreate(originalArray, length)
|
|
|
|
var isObject = __webpack_require__(13)
|
|
|
|
, isArray = __webpack_require__(28)
|
|
|
|
, SPECIES = __webpack_require__(29)('species');
|
|
|
|
module.exports = function(original, length){
|
|
|
|
var C;
|
|
|
|
if(isArray(original)){
|
|
|
|
C = original.constructor;
|
|
|
|
// cross-realm fallback
|
|
|
|
if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;
|
|
|
|
if(isObject(C)){
|
|
|
|
C = C[SPECIES];
|
|
|
|
if(C === null)C = undefined;
|
|
|
|
}
|
|
|
|
} return new (C === undefined ? Array : C)(length);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 28 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.2.2 IsArray(argument)
|
|
|
|
var cof = __webpack_require__(15);
|
|
|
|
module.exports = Array.isArray || function(arg){
|
|
|
|
return cof(arg) == 'Array';
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 29 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var store = __webpack_require__(30)('wks')
|
|
|
|
, uid = __webpack_require__(25)
|
|
|
|
, Symbol = __webpack_require__(4).Symbol;
|
|
|
|
module.exports = function(name){
|
|
|
|
return store[name] || (store[name] =
|
|
|
|
Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 30 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var global = __webpack_require__(4)
|
|
|
|
, SHARED = '__core-js_shared__'
|
|
|
|
, store = global[SHARED] || (global[SHARED] = {});
|
|
|
|
module.exports = function(key){
|
|
|
|
return store[key] || (store[key] = {});
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 31 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// false -> Array#indexOf
|
|
|
|
// true -> Array#includes
|
2017-04-20 03:09:25 +02:00
|
|
|
var toIObject = __webpack_require__(20)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, toIndex = __webpack_require__(23);
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(IS_INCLUDES){
|
|
|
|
return function($this, el, fromIndex){
|
|
|
|
var O = toIObject($this)
|
|
|
|
, length = toLength(O.length)
|
|
|
|
, index = toIndex(fromIndex, length)
|
|
|
|
, value;
|
|
|
|
// Array#includes uses SameValueZero equality algorithm
|
|
|
|
if(IS_INCLUDES && el != el)while(length > index){
|
|
|
|
value = O[index++];
|
|
|
|
if(value != value)return true;
|
|
|
|
// Array#toIndex ignores holes, Array#includes - not
|
|
|
|
} else for(;length > index; index++)if(IS_INCLUDES || index in O){
|
2017-04-20 03:09:25 +02:00
|
|
|
if(O[index] === el)return IS_INCLUDES || index;
|
2016-10-10 03:43:44 +02:00
|
|
|
} return !IS_INCLUDES && -1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 32 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
// ECMAScript 6 symbols shim
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, global = __webpack_require__(4)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, redefine = __webpack_require__(33)
|
|
|
|
, $fails = __webpack_require__(9)
|
|
|
|
, shared = __webpack_require__(30)
|
|
|
|
, setToStringTag = __webpack_require__(35)
|
|
|
|
, uid = __webpack_require__(25)
|
|
|
|
, wks = __webpack_require__(29)
|
|
|
|
, keyOf = __webpack_require__(36)
|
|
|
|
, $names = __webpack_require__(37)
|
|
|
|
, enumKeys = __webpack_require__(38)
|
|
|
|
, isArray = __webpack_require__(28)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, createDesc = __webpack_require__(10)
|
|
|
|
, getDesc = $.getDesc
|
|
|
|
, setDesc = $.setDesc
|
|
|
|
, _create = $.create
|
|
|
|
, getNames = $names.get
|
|
|
|
, $Symbol = global.Symbol
|
|
|
|
, $JSON = global.JSON
|
|
|
|
, _stringify = $JSON && $JSON.stringify
|
|
|
|
, setter = false
|
|
|
|
, HIDDEN = wks('_hidden')
|
|
|
|
, isEnum = $.isEnum
|
|
|
|
, SymbolRegistry = shared('symbol-registry')
|
|
|
|
, AllSymbols = shared('symbols')
|
|
|
|
, useNative = typeof $Symbol == 'function'
|
|
|
|
, ObjectProto = Object.prototype;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
|
|
var setSymbolDesc = DESCRIPTORS && $fails(function(){
|
|
|
|
return _create(setDesc({}, 'a', {
|
|
|
|
get: function(){ return setDesc(this, 'a', {value: 7}).a; }
|
|
|
|
})).a != 7;
|
|
|
|
}) ? function(it, key, D){
|
|
|
|
var protoDesc = getDesc(ObjectProto, key);
|
|
|
|
if(protoDesc)delete ObjectProto[key];
|
|
|
|
setDesc(it, key, D);
|
|
|
|
if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);
|
|
|
|
} : setDesc;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var wrap = function(tag){
|
|
|
|
var sym = AllSymbols[tag] = _create($Symbol.prototype);
|
|
|
|
sym._k = tag;
|
|
|
|
DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {
|
|
|
|
configurable: true,
|
|
|
|
set: function(value){
|
|
|
|
if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;
|
|
|
|
setSymbolDesc(this, tag, createDesc(1, value));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
return sym;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var isSymbol = function(it){
|
|
|
|
return typeof it == 'symbol';
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $defineProperty = function defineProperty(it, key, D){
|
|
|
|
if(D && has(AllSymbols, key)){
|
|
|
|
if(!D.enumerable){
|
|
|
|
if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));
|
|
|
|
it[HIDDEN][key] = true;
|
|
|
|
} else {
|
|
|
|
if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;
|
|
|
|
D = _create(D, {enumerable: createDesc(0, false)});
|
|
|
|
} return setSymbolDesc(it, key, D);
|
|
|
|
} return setDesc(it, key, D);
|
|
|
|
};
|
|
|
|
var $defineProperties = function defineProperties(it, P){
|
|
|
|
anObject(it);
|
|
|
|
var keys = enumKeys(P = toIObject(P))
|
|
|
|
, i = 0
|
|
|
|
, l = keys.length
|
|
|
|
, key;
|
|
|
|
while(l > i)$defineProperty(it, key = keys[i++], P[key]);
|
|
|
|
return it;
|
|
|
|
};
|
|
|
|
var $create = function create(it, P){
|
|
|
|
return P === undefined ? _create(it) : $defineProperties(_create(it), P);
|
|
|
|
};
|
|
|
|
var $propertyIsEnumerable = function propertyIsEnumerable(key){
|
|
|
|
var E = isEnum.call(this, key);
|
|
|
|
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]
|
|
|
|
? E : true;
|
|
|
|
};
|
|
|
|
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){
|
|
|
|
var D = getDesc(it = toIObject(it), key);
|
|
|
|
if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;
|
|
|
|
return D;
|
|
|
|
};
|
|
|
|
var $getOwnPropertyNames = function getOwnPropertyNames(it){
|
|
|
|
var names = getNames(toIObject(it))
|
|
|
|
, result = []
|
|
|
|
, i = 0
|
|
|
|
, key;
|
|
|
|
while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);
|
|
|
|
return result;
|
|
|
|
};
|
|
|
|
var $getOwnPropertySymbols = function getOwnPropertySymbols(it){
|
|
|
|
var names = getNames(toIObject(it))
|
|
|
|
, result = []
|
|
|
|
, i = 0
|
|
|
|
, key;
|
|
|
|
while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);
|
|
|
|
return result;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var $stringify = function stringify(it){
|
|
|
|
if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined
|
|
|
|
var args = [it]
|
|
|
|
, i = 1
|
|
|
|
, $$ = arguments
|
|
|
|
, replacer, $replacer;
|
|
|
|
while($$.length > i)args.push($$[i++]);
|
|
|
|
replacer = args[1];
|
|
|
|
if(typeof replacer == 'function')$replacer = replacer;
|
|
|
|
if($replacer || !isArray(replacer))replacer = function(key, value){
|
|
|
|
if($replacer)value = $replacer.call(this, key, value);
|
|
|
|
if(!isSymbol(value))return value;
|
|
|
|
};
|
|
|
|
args[1] = replacer;
|
|
|
|
return _stringify.apply($JSON, args);
|
|
|
|
};
|
|
|
|
var buggyJSON = $fails(function(){
|
|
|
|
var S = $Symbol();
|
|
|
|
// MS Edge converts symbol values to JSON as {}
|
|
|
|
// WebKit converts symbol values to JSON as null
|
|
|
|
// V8 throws on boxed symbols
|
|
|
|
return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.4.1.1 Symbol([description])
|
|
|
|
if(!useNative){
|
|
|
|
$Symbol = function Symbol(){
|
|
|
|
if(isSymbol(this))throw TypeError('Symbol is not a constructor');
|
|
|
|
return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));
|
|
|
|
};
|
|
|
|
redefine($Symbol.prototype, 'toString', function toString(){
|
|
|
|
return this._k;
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
isSymbol = function(it){
|
|
|
|
return it instanceof $Symbol;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$.create = $create;
|
|
|
|
$.isEnum = $propertyIsEnumerable;
|
|
|
|
$.getDesc = $getOwnPropertyDescriptor;
|
|
|
|
$.setDesc = $defineProperty;
|
|
|
|
$.setDescs = $defineProperties;
|
|
|
|
$.getNames = $names.get = $getOwnPropertyNames;
|
|
|
|
$.getSymbols = $getOwnPropertySymbols;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
if(DESCRIPTORS && !__webpack_require__(39)){
|
|
|
|
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var symbolStatics = {
|
|
|
|
// 19.4.2.1 Symbol.for(key)
|
|
|
|
'for': function(key){
|
|
|
|
return has(SymbolRegistry, key += '')
|
|
|
|
? SymbolRegistry[key]
|
|
|
|
: SymbolRegistry[key] = $Symbol(key);
|
|
|
|
},
|
|
|
|
// 19.4.2.5 Symbol.keyFor(sym)
|
|
|
|
keyFor: function keyFor(key){
|
|
|
|
return keyOf(SymbolRegistry, key);
|
|
|
|
},
|
|
|
|
useSetter: function(){ setter = true; },
|
|
|
|
useSimple: function(){ setter = false; }
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.4.2.2 Symbol.hasInstance
|
|
|
|
// 19.4.2.3 Symbol.isConcatSpreadable
|
|
|
|
// 19.4.2.4 Symbol.iterator
|
|
|
|
// 19.4.2.6 Symbol.match
|
|
|
|
// 19.4.2.8 Symbol.replace
|
|
|
|
// 19.4.2.9 Symbol.search
|
|
|
|
// 19.4.2.10 Symbol.species
|
|
|
|
// 19.4.2.11 Symbol.split
|
|
|
|
// 19.4.2.12 Symbol.toPrimitive
|
|
|
|
// 19.4.2.13 Symbol.toStringTag
|
|
|
|
// 19.4.2.14 Symbol.unscopables
|
|
|
|
$.each.call((
|
|
|
|
'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +
|
|
|
|
'species,split,toPrimitive,toStringTag,unscopables'
|
|
|
|
).split(','), function(it){
|
|
|
|
var sym = wks(it);
|
|
|
|
symbolStatics[it] = useNative ? sym : wrap(sym);
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
setter = true;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.G + $export.W, {Symbol: $Symbol});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Symbol', symbolStatics);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * !useNative, 'Object', {
|
|
|
|
// 19.1.2.2 Object.create(O [, Properties])
|
|
|
|
create: $create,
|
|
|
|
// 19.1.2.4 Object.defineProperty(O, P, Attributes)
|
|
|
|
defineProperty: $defineProperty,
|
|
|
|
// 19.1.2.3 Object.defineProperties(O, Properties)
|
|
|
|
defineProperties: $defineProperties,
|
|
|
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
|
|
getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
|
|
|
|
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
|
|
getOwnPropertyNames: $getOwnPropertyNames,
|
|
|
|
// 19.1.2.8 Object.getOwnPropertySymbols(O)
|
|
|
|
getOwnPropertySymbols: $getOwnPropertySymbols
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
|
|
$JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.4.3.5 Symbol.prototype[@@toStringTag]
|
|
|
|
setToStringTag($Symbol, 'Symbol');
|
|
|
|
// 20.2.1.9 Math[@@toStringTag]
|
|
|
|
setToStringTag(Math, 'Math', true);
|
|
|
|
// 24.3.3 JSON[@@toStringTag]
|
|
|
|
setToStringTag(global.JSON, 'JSON', true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 33 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = __webpack_require__(34);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 34 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, createDesc = __webpack_require__(10);
|
|
|
|
module.exports = __webpack_require__(8) ? function(object, key, value){
|
|
|
|
return $.setDesc(object, key, createDesc(1, value));
|
|
|
|
} : function(object, key, value){
|
|
|
|
object[key] = value;
|
|
|
|
return object;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 35 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var def = __webpack_require__(2).setDesc
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, TAG = __webpack_require__(29)('toStringTag');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(it, tag, stat){
|
|
|
|
if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 36 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, toIObject = __webpack_require__(20);
|
|
|
|
module.exports = function(object, el){
|
|
|
|
var O = toIObject(object)
|
|
|
|
, keys = $.getKeys(O)
|
|
|
|
, length = keys.length
|
|
|
|
, index = 0
|
|
|
|
, key;
|
|
|
|
while(length > index)if(O[key = keys[index++]] === el)return key;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 37 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
2017-04-20 03:09:25 +02:00
|
|
|
var toIObject = __webpack_require__(20)
|
|
|
|
, getNames = __webpack_require__(2).getNames
|
2016-10-10 03:43:44 +02:00
|
|
|
, toString = {}.toString;
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var windowNames = typeof window == 'object' && Object.getOwnPropertyNames
|
2016-10-10 03:43:44 +02:00
|
|
|
? Object.getOwnPropertyNames(window) : [];
|
|
|
|
|
|
|
|
var getWindowNames = function(it){
|
|
|
|
try {
|
2017-04-20 03:09:25 +02:00
|
|
|
return getNames(it);
|
2016-10-10 03:43:44 +02:00
|
|
|
} catch(e){
|
|
|
|
return windowNames.slice();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports.get = function getOwnPropertyNames(it){
|
|
|
|
if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);
|
|
|
|
return getNames(toIObject(it));
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 38 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// all enumerable object keys, includes symbols
|
|
|
|
var $ = __webpack_require__(2);
|
|
|
|
module.exports = function(it){
|
|
|
|
var keys = $.getKeys(it)
|
|
|
|
, getSymbols = $.getSymbols;
|
|
|
|
if(getSymbols){
|
|
|
|
var symbols = getSymbols(it)
|
|
|
|
, isEnum = $.isEnum
|
|
|
|
, i = 0
|
|
|
|
, key;
|
|
|
|
while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);
|
|
|
|
}
|
|
|
|
return keys;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 39 */
|
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = true;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 40 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.3.1 Object.assign(target, source)
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(41)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 41 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, toObject = __webpack_require__(18)
|
|
|
|
, IObject = __webpack_require__(21);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
|
|
module.exports = __webpack_require__(9)(function(){
|
|
|
|
var a = Object.assign
|
|
|
|
, A = {}
|
|
|
|
, B = {}
|
|
|
|
, S = Symbol()
|
|
|
|
, K = 'abcdefghijklmnopqrst';
|
|
|
|
A[S] = 7;
|
|
|
|
K.split('').forEach(function(k){ B[k] = k; });
|
|
|
|
return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;
|
|
|
|
}) ? function assign(target, source){ // eslint-disable-line no-unused-vars
|
|
|
|
var T = toObject(target)
|
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, index = 1
|
|
|
|
, getKeys = $.getKeys
|
|
|
|
, getSymbols = $.getSymbols
|
|
|
|
, isEnum = $.isEnum;
|
|
|
|
while($$len > index){
|
|
|
|
var S = IObject($$[index++])
|
|
|
|
, keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)
|
|
|
|
, length = keys.length
|
|
|
|
, j = 0
|
|
|
|
, key;
|
|
|
|
while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];
|
|
|
|
}
|
|
|
|
return T;
|
|
|
|
} : Object.assign;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 42 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.3.10 Object.is(value1, value2)
|
|
|
|
var $export = __webpack_require__(3);
|
|
|
|
$export($export.S, 'Object', {is: __webpack_require__(43)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 43 */
|
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 7.2.9 SameValue(x, y)
|
|
|
|
module.exports = Object.is || function is(x, y){
|
|
|
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 44 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.3.19 Object.setPrototypeOf(O, proto)
|
|
|
|
var $export = __webpack_require__(3);
|
|
|
|
$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(45).set});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 45 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
|
|
/* eslint-disable no-proto */
|
|
|
|
var getDesc = __webpack_require__(2).getDesc
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, anObject = __webpack_require__(17);
|
|
|
|
var check = function(O, proto){
|
|
|
|
anObject(O);
|
|
|
|
if(!isObject(proto) && proto !== null)throw TypeError(proto + ": can't set as prototype!");
|
|
|
|
};
|
|
|
|
module.exports = {
|
|
|
|
set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
|
|
|
|
function(test, buggy, set){
|
|
|
|
try {
|
|
|
|
set = __webpack_require__(6)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);
|
|
|
|
set(test, []);
|
|
|
|
buggy = !(test instanceof Array);
|
|
|
|
} catch(e){ buggy = true; }
|
|
|
|
return function setPrototypeOf(O, proto){
|
|
|
|
check(O, proto);
|
|
|
|
if(buggy)O.__proto__ = proto;
|
|
|
|
else set(O, proto);
|
|
|
|
return O;
|
|
|
|
};
|
|
|
|
}({}, false) : undefined),
|
|
|
|
check: check
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 46 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.5 Object.freeze(O)
|
|
|
|
var isObject = __webpack_require__(13);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('freeze', function($freeze){
|
|
|
|
return function freeze(it){
|
|
|
|
return $freeze && isObject(it) ? $freeze(it) : it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 47 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// most Object methods by ES6 should accept primitives
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, core = __webpack_require__(5)
|
|
|
|
, fails = __webpack_require__(9);
|
|
|
|
module.exports = function(KEY, exec){
|
|
|
|
var fn = (core.Object || {})[KEY] || Object[KEY]
|
|
|
|
, exp = {};
|
|
|
|
exp[KEY] = exec(fn);
|
|
|
|
$export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 48 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 19.1.2.17 Object.seal(O)
|
2017-04-20 03:09:25 +02:00
|
|
|
var isObject = __webpack_require__(13);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('seal', function($seal){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function seal(it){
|
2017-04-20 03:09:25 +02:00
|
|
|
return $seal && isObject(it) ? $seal(it) : it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 49 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 19.1.2.15 Object.preventExtensions(O)
|
2017-04-20 03:09:25 +02:00
|
|
|
var isObject = __webpack_require__(13);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('preventExtensions', function($preventExtensions){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function preventExtensions(it){
|
2017-04-20 03:09:25 +02:00
|
|
|
return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 50 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 19.1.2.12 Object.isFrozen(O)
|
|
|
|
var isObject = __webpack_require__(13);
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('isFrozen', function($isFrozen){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function isFrozen(it){
|
|
|
|
return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 51 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 19.1.2.13 Object.isSealed(O)
|
|
|
|
var isObject = __webpack_require__(13);
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('isSealed', function($isSealed){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function isSealed(it){
|
|
|
|
return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 52 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 19.1.2.11 Object.isExtensible(O)
|
|
|
|
var isObject = __webpack_require__(13);
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('isExtensible', function($isExtensible){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function isExtensible(it){
|
|
|
|
return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 53 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
|
|
|
|
var toIObject = __webpack_require__(20);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){
|
|
|
|
return function getOwnPropertyDescriptor(it, key){
|
|
|
|
return $getOwnPropertyDescriptor(toIObject(it), key);
|
|
|
|
};
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 54 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
|
|
var toObject = __webpack_require__(18);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(47)('getPrototypeOf', function($getPrototypeOf){
|
|
|
|
return function getPrototypeOf(it){
|
|
|
|
return $getPrototypeOf(toObject(it));
|
|
|
|
};
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 55 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.14 Object.keys(O)
|
|
|
|
var toObject = __webpack_require__(18);
|
|
|
|
|
|
|
|
__webpack_require__(47)('keys', function($keys){
|
|
|
|
return function keys(it){
|
|
|
|
return $keys(toObject(it));
|
|
|
|
};
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 56 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 19.1.2.7 Object.getOwnPropertyNames(O)
|
|
|
|
__webpack_require__(47)('getOwnPropertyNames', function(){
|
|
|
|
return __webpack_require__(37).get;
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 57 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, HAS_INSTANCE = __webpack_require__(29)('hasInstance')
|
|
|
|
, FunctionProto = Function.prototype;
|
|
|
|
// 19.2.3.6 Function.prototype[@@hasInstance](V)
|
|
|
|
if(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){
|
|
|
|
if(typeof this != 'function' || !isObject(O))return false;
|
|
|
|
if(!isObject(this.prototype))return O instanceof this;
|
|
|
|
// for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
|
|
|
|
while(O = $.getProto(O))if(this.prototype === O)return true;
|
|
|
|
return false;
|
|
|
|
}});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 58 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.1.2.1 Number.EPSILON
|
|
|
|
var $export = __webpack_require__(3);
|
|
|
|
|
|
|
|
$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 59 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.1.2.2 Number.isFinite(number)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, _isFinite = __webpack_require__(4).isFinite;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Number', {
|
|
|
|
isFinite: function isFinite(it){
|
|
|
|
return typeof it == 'number' && _isFinite(it);
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 60 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.1.2.3 Number.isInteger(number)
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Number', {isInteger: __webpack_require__(61)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 61 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 20.1.2.3 Number.isInteger(number)
|
|
|
|
var isObject = __webpack_require__(13)
|
|
|
|
, floor = Math.floor;
|
|
|
|
module.exports = function isInteger(it){
|
|
|
|
return !isObject(it) && isFinite(it) && floor(it) === it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 62 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.4 Number.isNaN(number)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Number', {
|
|
|
|
isNaN: function isNaN(number){
|
|
|
|
return number != number;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 63 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.5 Number.isSafeInteger(number)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, isInteger = __webpack_require__(61)
|
2016-10-10 03:43:44 +02:00
|
|
|
, abs = Math.abs;
|
|
|
|
|
|
|
|
$export($export.S, 'Number', {
|
|
|
|
isSafeInteger: function isSafeInteger(number){
|
|
|
|
return isInteger(number) && abs(number) <= 0x1fffffffffffff;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 64 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.6 Number.MAX_SAFE_INTEGER
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 65 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.10 Number.MIN_SAFE_INTEGER
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 66 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.12 Number.parseFloat(string)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Number', {parseFloat: parseFloat});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 67 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.1.2.13 Number.parseInt(string, radix)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Number', {parseInt: parseInt});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 68 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.3 Math.acosh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, log1p = __webpack_require__(69)
|
2016-10-10 03:43:44 +02:00
|
|
|
, sqrt = Math.sqrt
|
|
|
|
, $acosh = Math.acosh;
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// V8 bug https://code.google.com/p/v8/issues/detail?id=3509
|
|
|
|
$export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {
|
2016-10-10 03:43:44 +02:00
|
|
|
acosh: function acosh(x){
|
|
|
|
return (x = +x) < 1 ? NaN : x > 94906265.62425156
|
|
|
|
? Math.log(x) + Math.LN2
|
|
|
|
: log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 69 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
// 20.2.2.20 Math.log1p(x)
|
|
|
|
module.exports = Math.log1p || function log1p(x){
|
|
|
|
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 70 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.5 Math.asinh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
function asinh(x){
|
|
|
|
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
|
|
|
|
}
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {asinh: asinh});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 71 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.7 Math.atanh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {
|
2016-10-10 03:43:44 +02:00
|
|
|
atanh: function atanh(x){
|
|
|
|
return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 72 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.9 Math.cbrt(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, sign = __webpack_require__(73);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
cbrt: function cbrt(x){
|
|
|
|
return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 73 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
// 20.2.2.28 Math.sign(x)
|
|
|
|
module.exports = Math.sign || function sign(x){
|
|
|
|
return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 74 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.11 Math.clz32(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
clz32: function clz32(x){
|
|
|
|
return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 75 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.12 Math.cosh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
2016-10-10 03:43:44 +02:00
|
|
|
, exp = Math.exp;
|
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
cosh: function cosh(x){
|
|
|
|
return (exp(x = +x) + exp(-x)) / 2;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 76 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.14 Math.expm1(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {expm1: __webpack_require__(77)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 77 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
// 20.2.2.14 Math.expm1(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = Math.expm1 || function expm1(x){
|
2016-10-10 03:43:44 +02:00
|
|
|
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
|
2017-04-20 03:09:25 +02:00
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 78 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.16 Math.fround(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, sign = __webpack_require__(73)
|
2016-10-10 03:43:44 +02:00
|
|
|
, pow = Math.pow
|
|
|
|
, EPSILON = pow(2, -52)
|
|
|
|
, EPSILON32 = pow(2, -23)
|
|
|
|
, MAX32 = pow(2, 127) * (2 - EPSILON32)
|
|
|
|
, MIN32 = pow(2, -126);
|
|
|
|
|
|
|
|
var roundTiesToEven = function(n){
|
|
|
|
return n + 1 / EPSILON - 1 / EPSILON;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
fround: function fround(x){
|
|
|
|
var $abs = Math.abs(x)
|
|
|
|
, $sign = sign(x)
|
|
|
|
, a, result;
|
|
|
|
if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
|
|
|
|
a = (1 + EPSILON32 / EPSILON) * $abs;
|
|
|
|
result = a - (a - $abs);
|
|
|
|
if(result > MAX32 || result != result)return $sign * Infinity;
|
|
|
|
return $sign * result;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 79 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
2016-10-10 03:43:44 +02:00
|
|
|
, abs = Math.abs;
|
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars
|
2017-04-20 03:09:25 +02:00
|
|
|
var sum = 0
|
|
|
|
, i = 0
|
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, larg = 0
|
2016-10-10 03:43:44 +02:00
|
|
|
, arg, div;
|
2017-04-20 03:09:25 +02:00
|
|
|
while(i < $$len){
|
|
|
|
arg = abs($$[i++]);
|
2016-10-10 03:43:44 +02:00
|
|
|
if(larg < arg){
|
|
|
|
div = larg / arg;
|
|
|
|
sum = sum * div * div + 1;
|
|
|
|
larg = arg;
|
|
|
|
} else if(arg > 0){
|
|
|
|
div = arg / larg;
|
|
|
|
sum += div * div;
|
|
|
|
} else sum += arg;
|
|
|
|
}
|
|
|
|
return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 80 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.18 Math.imul(x, y)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
2016-10-10 03:43:44 +02:00
|
|
|
, $imul = Math.imul;
|
|
|
|
|
|
|
|
// some WebKit versions fails with big numbers, some has wrong arity
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * __webpack_require__(9)(function(){
|
2016-10-10 03:43:44 +02:00
|
|
|
return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
|
|
|
|
}), 'Math', {
|
|
|
|
imul: function imul(x, y){
|
|
|
|
var UINT16 = 0xffff
|
|
|
|
, xn = +x
|
|
|
|
, yn = +y
|
|
|
|
, xl = UINT16 & xn
|
|
|
|
, yl = UINT16 & yn;
|
|
|
|
return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 81 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.21 Math.log10(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
log10: function log10(x){
|
|
|
|
return Math.log(x) / Math.LN10;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 82 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.20 Math.log1p(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {log1p: __webpack_require__(69)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 83 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.22 Math.log2(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
log2: function log2(x){
|
|
|
|
return Math.log(x) / Math.LN2;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 84 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.28 Math.sign(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Math', {sign: __webpack_require__(73)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 85 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.30 Math.sinh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, expm1 = __webpack_require__(77)
|
2016-10-10 03:43:44 +02:00
|
|
|
, exp = Math.exp;
|
|
|
|
|
|
|
|
// V8 near Chromium 38 has a problem with very small numbers
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * __webpack_require__(9)(function(){
|
2016-10-10 03:43:44 +02:00
|
|
|
return !Math.sinh(-2e-17) != -2e-17;
|
|
|
|
}), 'Math', {
|
|
|
|
sinh: function sinh(x){
|
|
|
|
return Math.abs(x = +x) < 1
|
|
|
|
? (expm1(x) - expm1(-x)) / 2
|
|
|
|
: (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 86 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.33 Math.tanh(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, expm1 = __webpack_require__(77)
|
2016-10-10 03:43:44 +02:00
|
|
|
, exp = Math.exp;
|
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
tanh: function tanh(x){
|
|
|
|
var a = expm1(x = +x)
|
|
|
|
, b = expm1(-x);
|
|
|
|
return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 87 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 20.2.2.34 Math.trunc(x)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'Math', {
|
|
|
|
trunc: function trunc(it){
|
|
|
|
return (it > 0 ? Math.floor : Math.ceil)(it);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 88 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, toIndex = __webpack_require__(23)
|
2016-10-10 03:43:44 +02:00
|
|
|
, fromCharCode = String.fromCharCode
|
|
|
|
, $fromCodePoint = String.fromCodePoint;
|
|
|
|
|
|
|
|
// length should be 1, old FF problem
|
|
|
|
$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
|
|
|
|
// 21.1.2.2 String.fromCodePoint(...codePoints)
|
|
|
|
fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars
|
2017-04-20 03:09:25 +02:00
|
|
|
var res = []
|
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, i = 0
|
2016-10-10 03:43:44 +02:00
|
|
|
, code;
|
2017-04-20 03:09:25 +02:00
|
|
|
while($$len > i){
|
|
|
|
code = +$$[i++];
|
2016-10-10 03:43:44 +02:00
|
|
|
if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');
|
|
|
|
res.push(code < 0x10000
|
|
|
|
? fromCharCode(code)
|
|
|
|
: fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
|
|
|
|
);
|
|
|
|
} return res.join('');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 89 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, toLength = __webpack_require__(24);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S, 'String', {
|
|
|
|
// 21.1.2.4 String.raw(callSite, ...substitutions)
|
|
|
|
raw: function raw(callSite){
|
2017-04-20 03:09:25 +02:00
|
|
|
var tpl = toIObject(callSite.raw)
|
|
|
|
, len = toLength(tpl.length)
|
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, res = []
|
|
|
|
, i = 0;
|
2016-10-10 03:43:44 +02:00
|
|
|
while(len > i){
|
|
|
|
res.push(String(tpl[i++]));
|
2017-04-20 03:09:25 +02:00
|
|
|
if(i < $$len)res.push(String($$[i]));
|
2016-10-10 03:43:44 +02:00
|
|
|
} return res.join('');
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 90 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
// 21.1.3.25 String.prototype.trim()
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(91)('trim', function($trim){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function trim(){
|
|
|
|
return $trim(this, 3);
|
|
|
|
};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 91 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, defined = __webpack_require__(19)
|
|
|
|
, fails = __webpack_require__(9)
|
|
|
|
, spaces = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
|
|
|
|
'\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'
|
|
|
|
, space = '[' + spaces + ']'
|
|
|
|
, non = '\u200b\u0085'
|
|
|
|
, ltrim = RegExp('^' + space + space + '*')
|
|
|
|
, rtrim = RegExp(space + space + '*$');
|
|
|
|
|
|
|
|
var exporter = function(KEY, exec){
|
|
|
|
var exp = {};
|
|
|
|
exp[KEY] = exec(trim);
|
|
|
|
$export($export.P + $export.F * fails(function(){
|
|
|
|
return !!spaces[KEY]() || non[KEY]() != non;
|
|
|
|
}), 'String', exp);
|
|
|
|
};
|
|
|
|
|
|
|
|
// 1 -> String#trimLeft
|
|
|
|
// 2 -> String#trimRight
|
|
|
|
// 3 -> String#trim
|
|
|
|
var trim = exporter.trim = function(string, TYPE){
|
|
|
|
string = String(defined(string));
|
|
|
|
if(TYPE & 1)string = string.replace(ltrim, '');
|
|
|
|
if(TYPE & 2)string = string.replace(rtrim, '');
|
|
|
|
return string;
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = exporter;
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 92 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $at = __webpack_require__(93)(false);
|
2016-10-10 03:43:44 +02:00
|
|
|
$export($export.P, 'String', {
|
|
|
|
// 21.1.3.3 String.prototype.codePointAt(pos)
|
|
|
|
codePointAt: function codePointAt(pos){
|
|
|
|
return $at(this, pos);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 93 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var toInteger = __webpack_require__(22)
|
|
|
|
, defined = __webpack_require__(19);
|
2016-10-10 03:43:44 +02:00
|
|
|
// true -> String#at
|
|
|
|
// false -> String#codePointAt
|
|
|
|
module.exports = function(TO_STRING){
|
|
|
|
return function(that, pos){
|
|
|
|
var s = String(defined(that))
|
|
|
|
, i = toInteger(pos)
|
|
|
|
, l = s.length
|
|
|
|
, a, b;
|
|
|
|
if(i < 0 || i >= l)return TO_STRING ? '' : undefined;
|
|
|
|
a = s.charCodeAt(i);
|
|
|
|
return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
|
|
|
|
? TO_STRING ? s.charAt(i) : a
|
|
|
|
: TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 94 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, context = __webpack_require__(95)
|
2016-10-10 03:43:44 +02:00
|
|
|
, ENDS_WITH = 'endsWith'
|
|
|
|
, $endsWith = ''[ENDS_WITH];
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P + $export.F * __webpack_require__(97)(ENDS_WITH), 'String', {
|
2016-10-10 03:43:44 +02:00
|
|
|
endsWith: function endsWith(searchString /*, endPosition = @length */){
|
|
|
|
var that = context(this, searchString, ENDS_WITH)
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, endPosition = $$.length > 1 ? $$[1] : undefined
|
2016-10-10 03:43:44 +02:00
|
|
|
, len = toLength(that.length)
|
|
|
|
, end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)
|
|
|
|
, search = String(searchString);
|
|
|
|
return $endsWith
|
|
|
|
? $endsWith.call(that, search, end)
|
|
|
|
: that.slice(end - search.length, end) === search;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 95 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// helper for String#{startsWith, endsWith, includes}
|
2017-04-20 03:09:25 +02:00
|
|
|
var isRegExp = __webpack_require__(96)
|
|
|
|
, defined = __webpack_require__(19);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = function(that, searchString, NAME){
|
|
|
|
if(isRegExp(searchString))throw TypeError('String#' + NAME + " doesn't accept regex!");
|
|
|
|
return String(defined(that));
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 96 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 7.2.8 IsRegExp(argument)
|
|
|
|
var isObject = __webpack_require__(13)
|
2017-04-20 03:09:25 +02:00
|
|
|
, cof = __webpack_require__(15)
|
|
|
|
, MATCH = __webpack_require__(29)('match');
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(it){
|
|
|
|
var isRegExp;
|
|
|
|
return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 97 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var MATCH = __webpack_require__(29)('match');
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(KEY){
|
|
|
|
var re = /./;
|
|
|
|
try {
|
|
|
|
'/./'[KEY](re);
|
|
|
|
} catch(e){
|
|
|
|
try {
|
|
|
|
re[MATCH] = false;
|
|
|
|
return !'/./'[KEY](re);
|
|
|
|
} catch(f){ /* empty */ }
|
|
|
|
} return true;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 98 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 21.1.3.7 String.prototype.includes(searchString, position = 0)
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, context = __webpack_require__(95)
|
2016-10-10 03:43:44 +02:00
|
|
|
, INCLUDES = 'includes';
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P + $export.F * __webpack_require__(97)(INCLUDES), 'String', {
|
2016-10-10 03:43:44 +02:00
|
|
|
includes: function includes(searchString /*, position = 0 */){
|
|
|
|
return !!~context(this, searchString, INCLUDES)
|
|
|
|
.indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 99 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.P, 'String', {
|
|
|
|
// 21.1.3.13 String.prototype.repeat(count)
|
2017-04-20 03:09:25 +02:00
|
|
|
repeat: __webpack_require__(100)
|
2016-10-10 03:43:44 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 100 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var toInteger = __webpack_require__(22)
|
|
|
|
, defined = __webpack_require__(19);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function repeat(count){
|
|
|
|
var str = String(defined(this))
|
|
|
|
, res = ''
|
|
|
|
, n = toInteger(count);
|
|
|
|
if(n < 0 || n == Infinity)throw RangeError("Count can't be negative");
|
|
|
|
for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;
|
|
|
|
return res;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 101 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 21.1.3.18 String.prototype.startsWith(searchString [, position ])
|
|
|
|
'use strict';
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, context = __webpack_require__(95)
|
|
|
|
, STARTS_WITH = 'startsWith'
|
|
|
|
, $startsWith = ''[STARTS_WITH];
|
|
|
|
|
|
|
|
$export($export.P + $export.F * __webpack_require__(97)(STARTS_WITH), 'String', {
|
2016-10-10 03:43:44 +02:00
|
|
|
startsWith: function startsWith(searchString /*, position = 0 */){
|
|
|
|
var that = context(this, searchString, STARTS_WITH)
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, index = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))
|
2016-10-10 03:43:44 +02:00
|
|
|
, search = String(searchString);
|
|
|
|
return $startsWith
|
|
|
|
? $startsWith.call(that, search, index)
|
|
|
|
: that.slice(index, index + search.length) === search;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 102 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $at = __webpack_require__(93)(true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// 21.1.3.27 String.prototype[@@iterator]()
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(103)(String, 'String', function(iterated){
|
2016-10-10 03:43:44 +02:00
|
|
|
this._t = String(iterated); // target
|
|
|
|
this._i = 0; // next index
|
|
|
|
// 21.1.5.2.1 %StringIteratorPrototype%.next()
|
|
|
|
}, function(){
|
|
|
|
var O = this._t
|
|
|
|
, index = this._i
|
|
|
|
, point;
|
|
|
|
if(index >= O.length)return {value: undefined, done: true};
|
|
|
|
point = $at(O, index);
|
|
|
|
this._i += point.length;
|
|
|
|
return {value: point, done: false};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 103 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var LIBRARY = __webpack_require__(39)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, redefine = __webpack_require__(33)
|
|
|
|
, hide = __webpack_require__(34)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, Iterators = __webpack_require__(104)
|
|
|
|
, $iterCreate = __webpack_require__(105)
|
|
|
|
, setToStringTag = __webpack_require__(35)
|
|
|
|
, getProto = __webpack_require__(2).getProto
|
|
|
|
, ITERATOR = __webpack_require__(29)('iterator')
|
2016-10-10 03:43:44 +02:00
|
|
|
, BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`
|
|
|
|
, FF_ITERATOR = '@@iterator'
|
|
|
|
, KEYS = 'keys'
|
|
|
|
, VALUES = 'values';
|
|
|
|
|
|
|
|
var returnThis = function(){ return this; };
|
|
|
|
|
|
|
|
module.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){
|
|
|
|
$iterCreate(Constructor, NAME, next);
|
|
|
|
var getMethod = function(kind){
|
|
|
|
if(!BUGGY && kind in proto)return proto[kind];
|
|
|
|
switch(kind){
|
|
|
|
case KEYS: return function keys(){ return new Constructor(this, kind); };
|
|
|
|
case VALUES: return function values(){ return new Constructor(this, kind); };
|
|
|
|
} return function entries(){ return new Constructor(this, kind); };
|
|
|
|
};
|
|
|
|
var TAG = NAME + ' Iterator'
|
|
|
|
, DEF_VALUES = DEFAULT == VALUES
|
|
|
|
, VALUES_BUG = false
|
|
|
|
, proto = Base.prototype
|
|
|
|
, $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]
|
|
|
|
, $default = $native || getMethod(DEFAULT)
|
2017-04-20 03:09:25 +02:00
|
|
|
, methods, key;
|
2016-10-10 03:43:44 +02:00
|
|
|
// Fix native
|
2017-04-20 03:09:25 +02:00
|
|
|
if($native){
|
|
|
|
var IteratorPrototype = getProto($default.call(new Base));
|
|
|
|
// Set @@toStringTag to native iterators
|
|
|
|
setToStringTag(IteratorPrototype, TAG, true);
|
|
|
|
// FF fix
|
|
|
|
if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);
|
|
|
|
// fix Array#{values, @@iterator}.name in V8 / FF
|
|
|
|
if(DEF_VALUES && $native.name !== VALUES){
|
|
|
|
VALUES_BUG = true;
|
|
|
|
$default = function values(){ return $native.call(this); };
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// Define iterator
|
|
|
|
if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){
|
|
|
|
hide(proto, ITERATOR, $default);
|
|
|
|
}
|
|
|
|
// Plug for library
|
|
|
|
Iterators[NAME] = $default;
|
|
|
|
Iterators[TAG] = returnThis;
|
|
|
|
if(DEFAULT){
|
|
|
|
methods = {
|
2017-04-20 03:09:25 +02:00
|
|
|
values: DEF_VALUES ? $default : getMethod(VALUES),
|
|
|
|
keys: IS_SET ? $default : getMethod(KEYS),
|
|
|
|
entries: !DEF_VALUES ? $default : getMethod('entries')
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
if(FORCED)for(key in methods){
|
|
|
|
if(!(key in proto))redefine(proto, key, methods[key]);
|
|
|
|
} else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
|
|
|
|
}
|
|
|
|
return methods;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 104 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = {};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 105 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, descriptor = __webpack_require__(10)
|
|
|
|
, setToStringTag = __webpack_require__(35)
|
2016-10-10 03:43:44 +02:00
|
|
|
, IteratorPrototype = {};
|
|
|
|
|
|
|
|
// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(34)(IteratorPrototype, __webpack_require__(29)('iterator'), function(){ return this; });
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = function(Constructor, NAME, next){
|
2017-04-20 03:09:25 +02:00
|
|
|
Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});
|
2016-10-10 03:43:44 +02:00
|
|
|
setToStringTag(Constructor, NAME + ' Iterator');
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 106 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var ctx = __webpack_require__(6)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, toObject = __webpack_require__(18)
|
|
|
|
, call = __webpack_require__(107)
|
|
|
|
, isArrayIter = __webpack_require__(108)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, getIterFn = __webpack_require__(109);
|
|
|
|
$export($export.S + $export.F * !__webpack_require__(111)(function(iter){ Array.from(iter); }), 'Array', {
|
2016-10-10 03:43:44 +02:00
|
|
|
// 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
|
|
|
|
from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){
|
|
|
|
var O = toObject(arrayLike)
|
|
|
|
, C = typeof this == 'function' ? this : Array
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, mapfn = $$len > 1 ? $$[1] : undefined
|
2016-10-10 03:43:44 +02:00
|
|
|
, mapping = mapfn !== undefined
|
|
|
|
, index = 0
|
|
|
|
, iterFn = getIterFn(O)
|
|
|
|
, length, result, step, iterator;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);
|
2016-10-10 03:43:44 +02:00
|
|
|
// if object isn't iterable or it's array with default iterator - use simple case
|
|
|
|
if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){
|
|
|
|
for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){
|
2017-04-20 03:09:25 +02:00
|
|
|
result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
length = toLength(O.length);
|
|
|
|
for(result = new C(length); length > index; index++){
|
2017-04-20 03:09:25 +02:00
|
|
|
result[index] = mapping ? mapfn(O[index], index) : O[index];
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
result.length = index;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 107 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// call something on iterator step with safe closing on error
|
2017-04-20 03:09:25 +02:00
|
|
|
var anObject = __webpack_require__(17);
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(iterator, fn, value, entries){
|
|
|
|
try {
|
|
|
|
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
|
|
// 7.4.6 IteratorClose(iterator, completion)
|
|
|
|
} catch(e){
|
|
|
|
var ret = iterator['return'];
|
|
|
|
if(ret !== undefined)anObject(ret.call(iterator));
|
|
|
|
throw e;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 108 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// check on default Array iterator
|
2017-04-20 03:09:25 +02:00
|
|
|
var Iterators = __webpack_require__(104)
|
|
|
|
, ITERATOR = __webpack_require__(29)('iterator')
|
2016-10-10 03:43:44 +02:00
|
|
|
, ArrayProto = Array.prototype;
|
|
|
|
|
|
|
|
module.exports = function(it){
|
|
|
|
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 109 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var classof = __webpack_require__(110)
|
|
|
|
, ITERATOR = __webpack_require__(29)('iterator')
|
|
|
|
, Iterators = __webpack_require__(104);
|
|
|
|
module.exports = __webpack_require__(5).getIteratorMethod = function(it){
|
2016-10-10 03:43:44 +02:00
|
|
|
if(it != undefined)return it[ITERATOR]
|
|
|
|
|| it['@@iterator']
|
|
|
|
|| Iterators[classof(it)];
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 110 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
2017-04-20 03:09:25 +02:00
|
|
|
var cof = __webpack_require__(15)
|
|
|
|
, TAG = __webpack_require__(29)('toStringTag')
|
2016-10-10 03:43:44 +02:00
|
|
|
// ES3 wrong here
|
|
|
|
, ARG = cof(function(){ return arguments; }()) == 'Arguments';
|
|
|
|
|
|
|
|
module.exports = function(it){
|
|
|
|
var O, T, B;
|
|
|
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
|
|
// @@toStringTag case
|
2017-04-20 03:09:25 +02:00
|
|
|
: typeof (T = (O = Object(it))[TAG]) == 'string' ? T
|
2016-10-10 03:43:44 +02:00
|
|
|
// builtinTag case
|
|
|
|
: ARG ? cof(O)
|
|
|
|
// ES3 arguments fallback
|
|
|
|
: (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 111 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var ITERATOR = __webpack_require__(29)('iterator')
|
2016-10-10 03:43:44 +02:00
|
|
|
, SAFE_CLOSING = false;
|
|
|
|
|
|
|
|
try {
|
|
|
|
var riter = [7][ITERATOR]();
|
|
|
|
riter['return'] = function(){ SAFE_CLOSING = true; };
|
|
|
|
Array.from(riter, function(){ throw 2; });
|
|
|
|
} catch(e){ /* empty */ }
|
|
|
|
|
|
|
|
module.exports = function(exec, skipClosing){
|
|
|
|
if(!skipClosing && !SAFE_CLOSING)return false;
|
|
|
|
var safe = false;
|
|
|
|
try {
|
|
|
|
var arr = [7]
|
|
|
|
, iter = arr[ITERATOR]();
|
|
|
|
iter.next = function(){ return {done: safe = true}; };
|
|
|
|
arr[ITERATOR] = function(){ return iter; };
|
|
|
|
exec(arr);
|
|
|
|
} catch(e){ /* empty */ }
|
|
|
|
return safe;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 112 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// WebKit Array.of isn't generic
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * __webpack_require__(9)(function(){
|
2016-10-10 03:43:44 +02:00
|
|
|
function F(){}
|
|
|
|
return !(Array.of.call(F) instanceof F);
|
|
|
|
}), 'Array', {
|
|
|
|
// 22.1.2.3 Array.of( ...items)
|
|
|
|
of: function of(/* ...args */){
|
|
|
|
var index = 0
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, result = new (typeof this == 'function' ? this : Array)($$len);
|
|
|
|
while($$len > index)result[index] = $$[index++];
|
|
|
|
result.length = $$len;
|
2016-10-10 03:43:44 +02:00
|
|
|
return result;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 113 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var addToUnscopables = __webpack_require__(114)
|
|
|
|
, step = __webpack_require__(115)
|
|
|
|
, Iterators = __webpack_require__(104)
|
|
|
|
, toIObject = __webpack_require__(20);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 22.1.3.4 Array.prototype.entries()
|
|
|
|
// 22.1.3.13 Array.prototype.keys()
|
|
|
|
// 22.1.3.29 Array.prototype.values()
|
|
|
|
// 22.1.3.30 Array.prototype[@@iterator]()
|
|
|
|
module.exports = __webpack_require__(103)(Array, 'Array', function(iterated, kind){
|
|
|
|
this._t = toIObject(iterated); // target
|
|
|
|
this._i = 0; // next index
|
|
|
|
this._k = kind; // kind
|
|
|
|
// 22.1.5.2.1 %ArrayIteratorPrototype%.next()
|
|
|
|
}, function(){
|
|
|
|
var O = this._t
|
|
|
|
, kind = this._k
|
|
|
|
, index = this._i++;
|
|
|
|
if(!O || index >= O.length){
|
|
|
|
this._t = undefined;
|
|
|
|
return step(1);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
if(kind == 'keys' )return step(0, index);
|
|
|
|
if(kind == 'values')return step(0, O[index]);
|
|
|
|
return step(0, [index, O[index]]);
|
|
|
|
}, 'values');
|
|
|
|
|
|
|
|
// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
|
|
|
|
Iterators.Arguments = Iterators.Array;
|
|
|
|
|
|
|
|
addToUnscopables('keys');
|
|
|
|
addToUnscopables('values');
|
|
|
|
addToUnscopables('entries');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 114 */
|
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(){ /* empty */ };
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 115 */
|
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
|
|
|
module.exports = function(done, value){
|
|
|
|
return {value: value, done: !!done};
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 116 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(117)('Array');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 117 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var core = __webpack_require__(5)
|
|
|
|
, $ = __webpack_require__(2)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8)
|
|
|
|
, SPECIES = __webpack_require__(29)('species');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(KEY){
|
|
|
|
var C = core[KEY];
|
|
|
|
if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {
|
|
|
|
configurable: true,
|
|
|
|
get: function(){ return this; }
|
|
|
|
});
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 118 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Array', {copyWithin: __webpack_require__(119)});
|
|
|
|
|
|
|
|
__webpack_require__(114)('copyWithin');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 119 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var toObject = __webpack_require__(18)
|
|
|
|
, toIndex = __webpack_require__(23)
|
|
|
|
, toLength = __webpack_require__(24);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){
|
|
|
|
var O = toObject(this)
|
|
|
|
, len = toLength(O.length)
|
|
|
|
, to = toIndex(target, len)
|
|
|
|
, from = toIndex(start, len)
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, end = $$.length > 2 ? $$[2] : undefined
|
2016-10-10 03:43:44 +02:00
|
|
|
, count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)
|
|
|
|
, inc = 1;
|
|
|
|
if(from < to && to < from + count){
|
|
|
|
inc = -1;
|
|
|
|
from += count - 1;
|
|
|
|
to += count - 1;
|
|
|
|
}
|
|
|
|
while(count-- > 0){
|
|
|
|
if(from in O)O[to] = O[from];
|
|
|
|
else delete O[to];
|
|
|
|
to += inc;
|
|
|
|
from += inc;
|
|
|
|
} return O;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 120 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Array', {fill: __webpack_require__(121)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(114)('fill');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 121 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var toObject = __webpack_require__(18)
|
|
|
|
, toIndex = __webpack_require__(23)
|
|
|
|
, toLength = __webpack_require__(24);
|
|
|
|
module.exports = [].fill || function fill(value /*, start = 0, end = @length */){
|
2016-10-10 03:43:44 +02:00
|
|
|
var O = toObject(this)
|
|
|
|
, length = toLength(O.length)
|
2017-04-20 03:09:25 +02:00
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
|
|
|
, index = toIndex($$len > 1 ? $$[1] : undefined, length)
|
|
|
|
, end = $$len > 2 ? $$[2] : undefined
|
2016-10-10 03:43:44 +02:00
|
|
|
, endPos = end === undefined ? length : toIndex(end, length);
|
|
|
|
while(endPos > index)O[index++] = value;
|
|
|
|
return O;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 122 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $find = __webpack_require__(26)(5)
|
2016-10-10 03:43:44 +02:00
|
|
|
, KEY = 'find'
|
|
|
|
, forced = true;
|
|
|
|
// Shouldn't skip holes
|
|
|
|
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
|
|
|
$export($export.P + $export.F * forced, 'Array', {
|
|
|
|
find: function find(callbackfn/*, that = undefined */){
|
|
|
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
|
|
}
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(114)(KEY);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 123 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $find = __webpack_require__(26)(6)
|
2016-10-10 03:43:44 +02:00
|
|
|
, KEY = 'findIndex'
|
|
|
|
, forced = true;
|
|
|
|
// Shouldn't skip holes
|
|
|
|
if(KEY in [])Array(1)[KEY](function(){ forced = false; });
|
|
|
|
$export($export.P + $export.F * forced, 'Array', {
|
|
|
|
findIndex: function findIndex(callbackfn/*, that = undefined */){
|
|
|
|
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
|
|
}
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(114)(KEY);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 124 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, LIBRARY = __webpack_require__(39)
|
|
|
|
, global = __webpack_require__(4)
|
|
|
|
, ctx = __webpack_require__(6)
|
|
|
|
, classof = __webpack_require__(110)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, aFunction = __webpack_require__(7)
|
|
|
|
, strictNew = __webpack_require__(125)
|
|
|
|
, forOf = __webpack_require__(126)
|
|
|
|
, setProto = __webpack_require__(45).set
|
|
|
|
, same = __webpack_require__(43)
|
|
|
|
, SPECIES = __webpack_require__(29)('species')
|
|
|
|
, speciesConstructor = __webpack_require__(127)
|
|
|
|
, asap = __webpack_require__(128)
|
|
|
|
, PROMISE = 'Promise'
|
|
|
|
, process = global.process
|
|
|
|
, isNode = classof(process) == 'process'
|
|
|
|
, P = global[PROMISE]
|
|
|
|
, empty = function(){ /* empty */ }
|
|
|
|
, Wrapper;
|
|
|
|
|
|
|
|
var testResolve = function(sub){
|
|
|
|
var test = new P(empty), promise;
|
|
|
|
if(sub)test.constructor = function(exec){
|
|
|
|
exec(empty, empty);
|
|
|
|
};
|
|
|
|
(promise = P.resolve(test))['catch'](empty);
|
|
|
|
return promise === test;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var USE_NATIVE = function(){
|
|
|
|
var works = false;
|
|
|
|
function P2(x){
|
|
|
|
var self = new P(x);
|
|
|
|
setProto(self, P2.prototype);
|
|
|
|
return self;
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
try {
|
2017-04-20 03:09:25 +02:00
|
|
|
works = P && P.resolve && testResolve();
|
|
|
|
setProto(P2, P);
|
|
|
|
P2.prototype = $.create(P.prototype, {constructor: {value: P2}});
|
|
|
|
// actual Firefox has broken subclass support, test that
|
|
|
|
if(!(P2.resolve(5).then(function(){}) instanceof P2)){
|
|
|
|
works = false;
|
|
|
|
}
|
|
|
|
// actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162
|
|
|
|
if(works && __webpack_require__(8)){
|
|
|
|
var thenableThenGotten = false;
|
|
|
|
P.resolve($.setDesc({}, 'then', {
|
|
|
|
get: function(){ thenableThenGotten = true; }
|
|
|
|
}));
|
|
|
|
works = thenableThenGotten;
|
|
|
|
}
|
|
|
|
} catch(e){ works = false; }
|
|
|
|
return works;
|
2016-10-10 03:43:44 +02:00
|
|
|
}();
|
|
|
|
|
|
|
|
// helpers
|
|
|
|
var sameConstructor = function(a, b){
|
2017-04-20 03:09:25 +02:00
|
|
|
// library wrapper special case
|
|
|
|
if(LIBRARY && a === P && b === Wrapper)return true;
|
|
|
|
return same(a, b);
|
|
|
|
};
|
|
|
|
var getConstructor = function(C){
|
|
|
|
var S = anObject(C)[SPECIES];
|
|
|
|
return S != undefined ? S : C;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
var isThenable = function(it){
|
|
|
|
var then;
|
|
|
|
return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var PromiseCapability = function(C){
|
2016-10-10 03:43:44 +02:00
|
|
|
var resolve, reject;
|
|
|
|
this.promise = new C(function($$resolve, $$reject){
|
|
|
|
if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');
|
|
|
|
resolve = $$resolve;
|
|
|
|
reject = $$reject;
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
this.resolve = aFunction(resolve),
|
|
|
|
this.reject = aFunction(reject)
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
var perform = function(exec){
|
|
|
|
try {
|
|
|
|
exec();
|
|
|
|
} catch(e){
|
|
|
|
return {error: e};
|
|
|
|
}
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var notify = function(record, isReject){
|
|
|
|
if(record.n)return;
|
|
|
|
record.n = true;
|
|
|
|
var chain = record.c;
|
|
|
|
asap(function(){
|
|
|
|
var value = record.v
|
|
|
|
, ok = record.s == 1
|
2016-10-10 03:43:44 +02:00
|
|
|
, i = 0;
|
|
|
|
var run = function(reaction){
|
|
|
|
var handler = ok ? reaction.ok : reaction.fail
|
|
|
|
, resolve = reaction.resolve
|
|
|
|
, reject = reaction.reject
|
|
|
|
, result, then;
|
|
|
|
try {
|
|
|
|
if(handler){
|
2017-04-20 03:09:25 +02:00
|
|
|
if(!ok)record.h = true;
|
|
|
|
result = handler === true ? value : handler(value);
|
2016-10-10 03:43:44 +02:00
|
|
|
if(result === reaction.promise){
|
|
|
|
reject(TypeError('Promise-chain cycle'));
|
|
|
|
} else if(then = isThenable(result)){
|
|
|
|
then.call(result, resolve, reject);
|
|
|
|
} else resolve(result);
|
|
|
|
} else reject(value);
|
|
|
|
} catch(e){
|
|
|
|
reject(e);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
while(chain.length > i)run(chain[i++]); // variable length - can't use forEach
|
2017-04-20 03:09:25 +02:00
|
|
|
chain.length = 0;
|
|
|
|
record.n = false;
|
|
|
|
if(isReject)setTimeout(function(){
|
|
|
|
var promise = record.p
|
|
|
|
, handler, console;
|
|
|
|
if(isUnhandled(promise)){
|
2016-10-10 03:43:44 +02:00
|
|
|
if(isNode){
|
|
|
|
process.emit('unhandledRejection', value, promise);
|
|
|
|
} else if(handler = global.onunhandledrejection){
|
|
|
|
handler({promise: promise, reason: value});
|
|
|
|
} else if((console = global.console) && console.error){
|
|
|
|
console.error('Unhandled promise rejection', value);
|
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
} record.a = undefined;
|
|
|
|
}, 1);
|
2016-10-10 03:43:44 +02:00
|
|
|
});
|
|
|
|
};
|
|
|
|
var isUnhandled = function(promise){
|
2017-04-20 03:09:25 +02:00
|
|
|
var record = promise._d
|
|
|
|
, chain = record.a || record.c
|
|
|
|
, i = 0
|
2016-10-10 03:43:44 +02:00
|
|
|
, reaction;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(record.h)return false;
|
2016-10-10 03:43:44 +02:00
|
|
|
while(chain.length > i){
|
|
|
|
reaction = chain[i++];
|
|
|
|
if(reaction.fail || !isUnhandled(reaction.promise))return false;
|
|
|
|
} return true;
|
|
|
|
};
|
|
|
|
var $reject = function(value){
|
2017-04-20 03:09:25 +02:00
|
|
|
var record = this;
|
|
|
|
if(record.d)return;
|
|
|
|
record.d = true;
|
|
|
|
record = record.r || record; // unwrap
|
|
|
|
record.v = value;
|
|
|
|
record.s = 2;
|
|
|
|
record.a = record.c.slice();
|
|
|
|
notify(record, true);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
var $resolve = function(value){
|
2017-04-20 03:09:25 +02:00
|
|
|
var record = this
|
2016-10-10 03:43:44 +02:00
|
|
|
, then;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(record.d)return;
|
|
|
|
record.d = true;
|
|
|
|
record = record.r || record; // unwrap
|
2016-10-10 03:43:44 +02:00
|
|
|
try {
|
2017-04-20 03:09:25 +02:00
|
|
|
if(record.p === value)throw TypeError("Promise can't be resolved itself");
|
2016-10-10 03:43:44 +02:00
|
|
|
if(then = isThenable(value)){
|
2017-04-20 03:09:25 +02:00
|
|
|
asap(function(){
|
|
|
|
var wrapper = {r: record, d: false}; // wrap
|
2016-10-10 03:43:44 +02:00
|
|
|
try {
|
|
|
|
then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
|
|
|
|
} catch(e){
|
|
|
|
$reject.call(wrapper, e);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
} else {
|
2017-04-20 03:09:25 +02:00
|
|
|
record.v = value;
|
|
|
|
record.s = 1;
|
|
|
|
notify(record, false);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
} catch(e){
|
2017-04-20 03:09:25 +02:00
|
|
|
$reject.call({r: record, d: false}, e); // wrap
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
// constructor polyfill
|
|
|
|
if(!USE_NATIVE){
|
|
|
|
// 25.4.3.1 Promise(executor)
|
2017-04-20 03:09:25 +02:00
|
|
|
P = function Promise(executor){
|
2016-10-10 03:43:44 +02:00
|
|
|
aFunction(executor);
|
2017-04-20 03:09:25 +02:00
|
|
|
var record = this._d = {
|
|
|
|
p: strictNew(this, P, PROMISE), // <- promise
|
|
|
|
c: [], // <- awaiting reactions
|
|
|
|
a: undefined, // <- checked in isUnhandled reactions
|
|
|
|
s: 0, // <- state
|
|
|
|
d: false, // <- done
|
|
|
|
v: undefined, // <- value
|
|
|
|
h: false, // <- handled rejection
|
|
|
|
n: false // <- notify
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
try {
|
2017-04-20 03:09:25 +02:00
|
|
|
executor(ctx($resolve, record, 1), ctx($reject, record, 1));
|
2016-10-10 03:43:44 +02:00
|
|
|
} catch(err){
|
2017-04-20 03:09:25 +02:00
|
|
|
$reject.call(record, err);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(130)(P.prototype, {
|
2016-10-10 03:43:44 +02:00
|
|
|
// 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
|
|
|
|
then: function then(onFulfilled, onRejected){
|
2017-04-20 03:09:25 +02:00
|
|
|
var reaction = new PromiseCapability(speciesConstructor(this, P))
|
|
|
|
, promise = reaction.promise
|
|
|
|
, record = this._d;
|
|
|
|
reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
|
|
|
|
reaction.fail = typeof onRejected == 'function' && onRejected;
|
|
|
|
record.c.push(reaction);
|
|
|
|
if(record.a)record.a.push(reaction);
|
|
|
|
if(record.s)notify(record, false);
|
|
|
|
return promise;
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
|
|
|
// 25.4.5.1 Promise.prototype.catch(onRejected)
|
|
|
|
'catch': function(onRejected){
|
|
|
|
return this.then(undefined, onRejected);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});
|
|
|
|
__webpack_require__(35)(P, PROMISE);
|
|
|
|
__webpack_require__(117)(PROMISE);
|
|
|
|
Wrapper = __webpack_require__(5)[PROMISE];
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// statics
|
|
|
|
$export($export.S + $export.F * !USE_NATIVE, PROMISE, {
|
|
|
|
// 25.4.4.5 Promise.reject(r)
|
|
|
|
reject: function reject(r){
|
2017-04-20 03:09:25 +02:00
|
|
|
var capability = new PromiseCapability(this)
|
2016-10-10 03:43:44 +02:00
|
|
|
, $$reject = capability.reject;
|
|
|
|
$$reject(r);
|
|
|
|
return capability.promise;
|
|
|
|
}
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {
|
2016-10-10 03:43:44 +02:00
|
|
|
// 25.4.4.6 Promise.resolve(x)
|
|
|
|
resolve: function resolve(x){
|
|
|
|
// instanceof instead of internal slot check because we should fix it without replacement native Promise core
|
2017-04-20 03:09:25 +02:00
|
|
|
if(x instanceof P && sameConstructor(x.constructor, this))return x;
|
|
|
|
var capability = new PromiseCapability(this)
|
2016-10-10 03:43:44 +02:00
|
|
|
, $$resolve = capability.resolve;
|
|
|
|
$$resolve(x);
|
|
|
|
return capability.promise;
|
|
|
|
}
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(111)(function(iter){
|
|
|
|
P.all(iter)['catch'](function(){});
|
2016-10-10 03:43:44 +02:00
|
|
|
})), PROMISE, {
|
|
|
|
// 25.4.4.1 Promise.all(iterable)
|
|
|
|
all: function all(iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
var C = getConstructor(this)
|
|
|
|
, capability = new PromiseCapability(C)
|
2016-10-10 03:43:44 +02:00
|
|
|
, resolve = capability.resolve
|
2017-04-20 03:09:25 +02:00
|
|
|
, reject = capability.reject
|
|
|
|
, values = [];
|
2016-10-10 03:43:44 +02:00
|
|
|
var abrupt = perform(function(){
|
2017-04-20 03:09:25 +02:00
|
|
|
forOf(iterable, false, values.push, values);
|
|
|
|
var remaining = values.length
|
|
|
|
, results = Array(remaining);
|
|
|
|
if(remaining)$.each.call(values, function(promise, index){
|
|
|
|
var alreadyCalled = false;
|
2016-10-10 03:43:44 +02:00
|
|
|
C.resolve(promise).then(function(value){
|
|
|
|
if(alreadyCalled)return;
|
2017-04-20 03:09:25 +02:00
|
|
|
alreadyCalled = true;
|
|
|
|
results[index] = value;
|
|
|
|
--remaining || resolve(results);
|
2016-10-10 03:43:44 +02:00
|
|
|
}, reject);
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
else resolve(results);
|
2016-10-10 03:43:44 +02:00
|
|
|
});
|
|
|
|
if(abrupt)reject(abrupt.error);
|
|
|
|
return capability.promise;
|
|
|
|
},
|
|
|
|
// 25.4.4.4 Promise.race(iterable)
|
|
|
|
race: function race(iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
var C = getConstructor(this)
|
|
|
|
, capability = new PromiseCapability(C)
|
2016-10-10 03:43:44 +02:00
|
|
|
, reject = capability.reject;
|
|
|
|
var abrupt = perform(function(){
|
|
|
|
forOf(iterable, false, function(promise){
|
|
|
|
C.resolve(promise).then(capability.resolve, reject);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
if(abrupt)reject(abrupt.error);
|
|
|
|
return capability.promise;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 125 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(it, Constructor, name){
|
|
|
|
if(!(it instanceof Constructor))throw TypeError(name + ": use the 'new' operator!");
|
|
|
|
return it;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 126 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var ctx = __webpack_require__(6)
|
|
|
|
, call = __webpack_require__(107)
|
|
|
|
, isArrayIter = __webpack_require__(108)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, toLength = __webpack_require__(24)
|
|
|
|
, getIterFn = __webpack_require__(109);
|
|
|
|
module.exports = function(iterable, entries, fn, that){
|
|
|
|
var iterFn = getIterFn(iterable)
|
2016-10-10 03:43:44 +02:00
|
|
|
, f = ctx(fn, that, entries ? 2 : 1)
|
|
|
|
, index = 0
|
2017-04-20 03:09:25 +02:00
|
|
|
, length, step, iterator;
|
2016-10-10 03:43:44 +02:00
|
|
|
if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');
|
|
|
|
// fast case for arrays with default iterator
|
|
|
|
if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){
|
2017-04-20 03:09:25 +02:00
|
|
|
entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
|
2016-10-10 03:43:44 +02:00
|
|
|
} else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){
|
2017-04-20 03:09:25 +02:00
|
|
|
call(iterator, f, step.value, entries);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 127 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// 7.3.20 SpeciesConstructor(O, defaultConstructor)
|
2017-04-20 03:09:25 +02:00
|
|
|
var anObject = __webpack_require__(17)
|
|
|
|
, aFunction = __webpack_require__(7)
|
|
|
|
, SPECIES = __webpack_require__(29)('species');
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(O, D){
|
|
|
|
var C = anObject(O).constructor, S;
|
|
|
|
return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 128 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
var global = __webpack_require__(4)
|
|
|
|
, macrotask = __webpack_require__(129).set
|
|
|
|
, Observer = global.MutationObserver || global.WebKitMutationObserver
|
|
|
|
, process = global.process
|
|
|
|
, Promise = global.Promise
|
|
|
|
, isNode = __webpack_require__(15)(process) == 'process'
|
|
|
|
, head, last, notify;
|
|
|
|
|
|
|
|
var flush = function(){
|
|
|
|
var parent, domain, fn;
|
|
|
|
if(isNode && (parent = process.domain)){
|
|
|
|
process.domain = null;
|
|
|
|
parent.exit();
|
|
|
|
}
|
|
|
|
while(head){
|
|
|
|
domain = head.domain;
|
|
|
|
fn = head.fn;
|
|
|
|
if(domain)domain.enter();
|
|
|
|
fn(); // <- currently we use it only for Promise - try / catch not required
|
|
|
|
if(domain)domain.exit();
|
|
|
|
head = head.next;
|
|
|
|
} last = undefined;
|
|
|
|
if(parent)parent.enter();
|
|
|
|
};
|
|
|
|
|
|
|
|
// Node.js
|
|
|
|
if(isNode){
|
|
|
|
notify = function(){
|
|
|
|
process.nextTick(flush);
|
|
|
|
};
|
|
|
|
// browsers with MutationObserver
|
|
|
|
} else if(Observer){
|
|
|
|
var toggle = 1
|
|
|
|
, node = document.createTextNode('');
|
|
|
|
new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new
|
|
|
|
notify = function(){
|
|
|
|
node.data = toggle = -toggle;
|
|
|
|
};
|
|
|
|
// environments with maybe non-completely correct, but existent Promise
|
|
|
|
} else if(Promise && Promise.resolve){
|
|
|
|
notify = function(){
|
|
|
|
Promise.resolve().then(flush);
|
|
|
|
};
|
|
|
|
// for other environments - macrotask based on:
|
|
|
|
// - setImmediate
|
|
|
|
// - MessageChannel
|
|
|
|
// - window.postMessag
|
|
|
|
// - onreadystatechange
|
|
|
|
// - setTimeout
|
|
|
|
} else {
|
|
|
|
notify = function(){
|
|
|
|
// strange IE + webpack dev server bug - use .call(global)
|
|
|
|
macrotask.call(global, flush);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = function asap(fn){
|
|
|
|
var task = {fn: fn, next: undefined, domain: isNode && process.domain};
|
|
|
|
if(last)last.next = task;
|
|
|
|
if(!head){
|
|
|
|
head = task;
|
|
|
|
notify();
|
|
|
|
} last = task;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 129 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var ctx = __webpack_require__(6)
|
|
|
|
, invoke = __webpack_require__(16)
|
|
|
|
, html = __webpack_require__(11)
|
|
|
|
, cel = __webpack_require__(12)
|
|
|
|
, global = __webpack_require__(4)
|
2016-10-10 03:43:44 +02:00
|
|
|
, process = global.process
|
|
|
|
, setTask = global.setImmediate
|
|
|
|
, clearTask = global.clearImmediate
|
|
|
|
, MessageChannel = global.MessageChannel
|
|
|
|
, counter = 0
|
|
|
|
, queue = {}
|
|
|
|
, ONREADYSTATECHANGE = 'onreadystatechange'
|
|
|
|
, defer, channel, port;
|
|
|
|
var run = function(){
|
|
|
|
var id = +this;
|
|
|
|
if(queue.hasOwnProperty(id)){
|
|
|
|
var fn = queue[id];
|
|
|
|
delete queue[id];
|
|
|
|
fn();
|
|
|
|
}
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var listner = function(event){
|
2016-10-10 03:43:44 +02:00
|
|
|
run.call(event.data);
|
|
|
|
};
|
|
|
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
|
|
if(!setTask || !clearTask){
|
|
|
|
setTask = function setImmediate(fn){
|
|
|
|
var args = [], i = 1;
|
|
|
|
while(arguments.length > i)args.push(arguments[i++]);
|
|
|
|
queue[++counter] = function(){
|
|
|
|
invoke(typeof fn == 'function' ? fn : Function(fn), args);
|
|
|
|
};
|
|
|
|
defer(counter);
|
|
|
|
return counter;
|
|
|
|
};
|
|
|
|
clearTask = function clearImmediate(id){
|
|
|
|
delete queue[id];
|
|
|
|
};
|
|
|
|
// Node.js 0.8-
|
2017-04-20 03:09:25 +02:00
|
|
|
if(__webpack_require__(15)(process) == 'process'){
|
2016-10-10 03:43:44 +02:00
|
|
|
defer = function(id){
|
|
|
|
process.nextTick(ctx(run, id, 1));
|
|
|
|
};
|
|
|
|
// Browsers with MessageChannel, includes WebWorkers
|
|
|
|
} else if(MessageChannel){
|
|
|
|
channel = new MessageChannel;
|
|
|
|
port = channel.port2;
|
2017-04-20 03:09:25 +02:00
|
|
|
channel.port1.onmessage = listner;
|
2016-10-10 03:43:44 +02:00
|
|
|
defer = ctx(port.postMessage, port, 1);
|
|
|
|
// Browsers with postMessage, skip WebWorkers
|
|
|
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
|
|
} else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){
|
|
|
|
defer = function(id){
|
|
|
|
global.postMessage(id + '', '*');
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
global.addEventListener('message', listner, false);
|
2016-10-10 03:43:44 +02:00
|
|
|
// IE8-
|
|
|
|
} else if(ONREADYSTATECHANGE in cel('script')){
|
|
|
|
defer = function(id){
|
|
|
|
html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){
|
|
|
|
html.removeChild(this);
|
|
|
|
run.call(id);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
// Rest old browsers
|
|
|
|
} else {
|
|
|
|
defer = function(id){
|
|
|
|
setTimeout(ctx(run, id, 1), 0);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = {
|
|
|
|
set: setTask,
|
|
|
|
clear: clearTask
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 130 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var redefine = __webpack_require__(33);
|
|
|
|
module.exports = function(target, src){
|
|
|
|
for(var key in src)redefine(target, key, src[key]);
|
|
|
|
return target;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 131 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var strong = __webpack_require__(132);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// 23.1 Map Objects
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(133)('Map', function(get){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
|
|
}, {
|
|
|
|
// 23.1.3.6 Map.prototype.get(key)
|
|
|
|
get: function get(key){
|
|
|
|
var entry = strong.getEntry(this, key);
|
|
|
|
return entry && entry.v;
|
|
|
|
},
|
|
|
|
// 23.1.3.9 Map.prototype.set(key, value)
|
|
|
|
set: function set(key, value){
|
|
|
|
return strong.def(this, key === 0 ? 0 : key, value);
|
|
|
|
}
|
|
|
|
}, strong, true);
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 132 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, hide = __webpack_require__(34)
|
|
|
|
, redefineAll = __webpack_require__(130)
|
|
|
|
, ctx = __webpack_require__(6)
|
|
|
|
, strictNew = __webpack_require__(125)
|
|
|
|
, defined = __webpack_require__(19)
|
|
|
|
, forOf = __webpack_require__(126)
|
|
|
|
, $iterDefine = __webpack_require__(103)
|
|
|
|
, step = __webpack_require__(115)
|
|
|
|
, ID = __webpack_require__(25)('id')
|
|
|
|
, $has = __webpack_require__(14)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, setSpecies = __webpack_require__(117)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8)
|
|
|
|
, isExtensible = Object.isExtensible || isObject
|
|
|
|
, SIZE = DESCRIPTORS ? '_s' : 'size'
|
|
|
|
, id = 0;
|
|
|
|
|
|
|
|
var fastKey = function(it, create){
|
|
|
|
// return primitive with prefix
|
|
|
|
if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
|
|
if(!$has(it, ID)){
|
|
|
|
// can't set id to frozen object
|
|
|
|
if(!isExtensible(it))return 'F';
|
|
|
|
// not necessary to add id
|
|
|
|
if(!create)return 'E';
|
|
|
|
// add missing object id
|
|
|
|
hide(it, ID, ++id);
|
|
|
|
// return object id with prefix
|
|
|
|
} return 'O' + it[ID];
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
var getEntry = function(that, key){
|
|
|
|
// fast case
|
|
|
|
var index = fastKey(key), entry;
|
|
|
|
if(index !== 'F')return that._i[index];
|
|
|
|
// frozen object case
|
|
|
|
for(entry = that._f; entry; entry = entry.n){
|
|
|
|
if(entry.k == key)return entry;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
|
|
|
|
var C = wrapper(function(that, iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
strictNew(that, C, NAME);
|
|
|
|
that._i = $.create(null); // index
|
|
|
|
that._f = undefined; // first entry
|
|
|
|
that._l = undefined; // last entry
|
|
|
|
that[SIZE] = 0; // size
|
2016-10-10 03:43:44 +02:00
|
|
|
if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
|
|
|
|
});
|
|
|
|
redefineAll(C.prototype, {
|
|
|
|
// 23.1.3.1 Map.prototype.clear()
|
|
|
|
// 23.2.3.2 Set.prototype.clear()
|
|
|
|
clear: function clear(){
|
|
|
|
for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){
|
|
|
|
entry.r = true;
|
|
|
|
if(entry.p)entry.p = entry.p.n = undefined;
|
|
|
|
delete data[entry.i];
|
|
|
|
}
|
|
|
|
that._f = that._l = undefined;
|
|
|
|
that[SIZE] = 0;
|
|
|
|
},
|
|
|
|
// 23.1.3.3 Map.prototype.delete(key)
|
|
|
|
// 23.2.3.4 Set.prototype.delete(value)
|
|
|
|
'delete': function(key){
|
|
|
|
var that = this
|
|
|
|
, entry = getEntry(that, key);
|
|
|
|
if(entry){
|
|
|
|
var next = entry.n
|
|
|
|
, prev = entry.p;
|
|
|
|
delete that._i[entry.i];
|
|
|
|
entry.r = true;
|
|
|
|
if(prev)prev.n = next;
|
|
|
|
if(next)next.p = prev;
|
|
|
|
if(that._f == entry)that._f = next;
|
|
|
|
if(that._l == entry)that._l = prev;
|
|
|
|
that[SIZE]--;
|
|
|
|
} return !!entry;
|
|
|
|
},
|
|
|
|
// 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
|
|
|
|
// 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
|
|
|
|
forEach: function forEach(callbackfn /*, that = undefined */){
|
|
|
|
var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)
|
|
|
|
, entry;
|
|
|
|
while(entry = entry ? entry.n : this._f){
|
|
|
|
f(entry.v, entry.k, this);
|
|
|
|
// revert to the last existing entry
|
|
|
|
while(entry && entry.r)entry = entry.p;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
// 23.1.3.7 Map.prototype.has(key)
|
|
|
|
// 23.2.3.7 Set.prototype.has(value)
|
|
|
|
has: function has(key){
|
|
|
|
return !!getEntry(this, key);
|
|
|
|
}
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {
|
2016-10-10 03:43:44 +02:00
|
|
|
get: function(){
|
|
|
|
return defined(this[SIZE]);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
},
|
|
|
|
def: function(that, key, value){
|
|
|
|
var entry = getEntry(that, key)
|
|
|
|
, prev, index;
|
|
|
|
// change existing entry
|
|
|
|
if(entry){
|
|
|
|
entry.v = value;
|
|
|
|
// create new entry
|
|
|
|
} else {
|
|
|
|
that._l = entry = {
|
|
|
|
i: index = fastKey(key, true), // <- index
|
|
|
|
k: key, // <- key
|
|
|
|
v: value, // <- value
|
|
|
|
p: prev = that._l, // <- previous entry
|
|
|
|
n: undefined, // <- next entry
|
|
|
|
r: false // <- removed
|
|
|
|
};
|
|
|
|
if(!that._f)that._f = entry;
|
|
|
|
if(prev)prev.n = entry;
|
|
|
|
that[SIZE]++;
|
|
|
|
// add to index
|
|
|
|
if(index !== 'F')that._i[index] = entry;
|
|
|
|
} return that;
|
|
|
|
},
|
|
|
|
getEntry: getEntry,
|
|
|
|
setStrong: function(C, NAME, IS_MAP){
|
|
|
|
// add .keys, .values, .entries, [@@iterator]
|
|
|
|
// 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
|
|
|
|
$iterDefine(C, NAME, function(iterated, kind){
|
|
|
|
this._t = iterated; // target
|
|
|
|
this._k = kind; // kind
|
|
|
|
this._l = undefined; // previous
|
|
|
|
}, function(){
|
|
|
|
var that = this
|
|
|
|
, kind = that._k
|
|
|
|
, entry = that._l;
|
|
|
|
// revert to the last existing entry
|
|
|
|
while(entry && entry.r)entry = entry.p;
|
|
|
|
// get next entry
|
|
|
|
if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){
|
|
|
|
// or finish the iteration
|
|
|
|
that._t = undefined;
|
|
|
|
return step(1);
|
|
|
|
}
|
|
|
|
// return step by kind
|
|
|
|
if(kind == 'keys' )return step(0, entry.k);
|
|
|
|
if(kind == 'values')return step(0, entry.v);
|
|
|
|
return step(0, [entry.k, entry.v]);
|
|
|
|
}, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);
|
|
|
|
|
|
|
|
// add [@@species], 23.1.2.2, 23.2.2.2
|
|
|
|
setSpecies(NAME);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 133 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, global = __webpack_require__(4)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, fails = __webpack_require__(9)
|
|
|
|
, hide = __webpack_require__(34)
|
|
|
|
, redefineAll = __webpack_require__(130)
|
|
|
|
, forOf = __webpack_require__(126)
|
|
|
|
, strictNew = __webpack_require__(125)
|
2016-10-10 03:43:44 +02:00
|
|
|
, isObject = __webpack_require__(13)
|
2017-04-20 03:09:25 +02:00
|
|
|
, setToStringTag = __webpack_require__(35)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){
|
|
|
|
var Base = global[NAME]
|
|
|
|
, C = Base
|
|
|
|
, ADDER = IS_MAP ? 'set' : 'add'
|
|
|
|
, proto = C && C.prototype
|
|
|
|
, O = {};
|
|
|
|
if(!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){
|
|
|
|
new C().entries().next();
|
|
|
|
}))){
|
|
|
|
// create collection constructor
|
|
|
|
C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
|
|
|
|
redefineAll(C.prototype, methods);
|
|
|
|
} else {
|
|
|
|
C = wrapper(function(target, iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
strictNew(target, C, NAME);
|
2016-10-10 03:43:44 +02:00
|
|
|
target._c = new Base;
|
|
|
|
if(iterable != undefined)forOf(iterable, IS_MAP, target[ADDER], target);
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
$.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','),function(KEY){
|
2016-10-10 03:43:44 +02:00
|
|
|
var IS_ADDER = KEY == 'add' || KEY == 'set';
|
|
|
|
if(KEY in proto && !(IS_WEAK && KEY == 'clear'))hide(C.prototype, KEY, function(a, b){
|
|
|
|
if(!IS_ADDER && IS_WEAK && !isObject(a))return KEY == 'get' ? undefined : false;
|
|
|
|
var result = this._c[KEY](a === 0 ? 0 : a, b);
|
|
|
|
return IS_ADDER ? this : result;
|
|
|
|
});
|
|
|
|
});
|
2017-04-20 03:09:25 +02:00
|
|
|
if('size' in proto)$.setDesc(C.prototype, 'size', {
|
2016-10-10 03:43:44 +02:00
|
|
|
get: function(){
|
|
|
|
return this._c.size;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
setToStringTag(C, NAME);
|
|
|
|
|
|
|
|
O[NAME] = C;
|
|
|
|
$export($export.G + $export.W + $export.F, O);
|
|
|
|
|
|
|
|
if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);
|
|
|
|
|
|
|
|
return C;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 134 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var strong = __webpack_require__(132);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// 23.2 Set Objects
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(133)('Set', function(get){
|
2016-10-10 03:43:44 +02:00
|
|
|
return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
|
|
}, {
|
|
|
|
// 23.2.3.1 Set.prototype.add(value)
|
|
|
|
add: function add(value){
|
|
|
|
return strong.def(this, value = value === 0 ? 0 : value, value);
|
|
|
|
}
|
|
|
|
}, strong);
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 135 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, redefine = __webpack_require__(33)
|
|
|
|
, weak = __webpack_require__(136)
|
2016-10-10 03:43:44 +02:00
|
|
|
, isObject = __webpack_require__(13)
|
2017-04-20 03:09:25 +02:00
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, frozenStore = weak.frozenStore
|
|
|
|
, WEAK = weak.WEAK
|
|
|
|
, isExtensible = Object.isExtensible || isObject
|
|
|
|
, tmp = {};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 23.3 WeakMap Objects
|
|
|
|
var $WeakMap = __webpack_require__(133)('WeakMap', function(get){
|
|
|
|
return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
|
|
}, {
|
2016-10-10 03:43:44 +02:00
|
|
|
// 23.3.3.3 WeakMap.prototype.get(key)
|
|
|
|
get: function get(key){
|
|
|
|
if(isObject(key)){
|
2017-04-20 03:09:25 +02:00
|
|
|
if(!isExtensible(key))return frozenStore(this).get(key);
|
|
|
|
if(has(key, WEAK))return key[WEAK][this._i];
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
// 23.3.3.5 WeakMap.prototype.set(key, value)
|
|
|
|
set: function set(key, value){
|
|
|
|
return weak.def(this, key, value);
|
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
}, weak, true, true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// IE11 WeakMap frozen keys fix
|
|
|
|
if(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){
|
2017-04-20 03:09:25 +02:00
|
|
|
$.each.call(['delete', 'has', 'get', 'set'], function(key){
|
2016-10-10 03:43:44 +02:00
|
|
|
var proto = $WeakMap.prototype
|
|
|
|
, method = proto[key];
|
|
|
|
redefine(proto, key, function(a, b){
|
2017-04-20 03:09:25 +02:00
|
|
|
// store frozen objects on leaky map
|
2016-10-10 03:43:44 +02:00
|
|
|
if(isObject(a) && !isExtensible(a)){
|
2017-04-20 03:09:25 +02:00
|
|
|
var result = frozenStore(this)[key](a, b);
|
2016-10-10 03:43:44 +02:00
|
|
|
return key == 'set' ? this : result;
|
|
|
|
// store all the rest on native weakmap
|
|
|
|
} return method.call(this, a, b);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 136 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var hide = __webpack_require__(34)
|
|
|
|
, redefineAll = __webpack_require__(130)
|
|
|
|
, anObject = __webpack_require__(17)
|
2016-10-10 03:43:44 +02:00
|
|
|
, isObject = __webpack_require__(13)
|
2017-04-20 03:09:25 +02:00
|
|
|
, strictNew = __webpack_require__(125)
|
|
|
|
, forOf = __webpack_require__(126)
|
|
|
|
, createArrayMethod = __webpack_require__(26)
|
|
|
|
, $has = __webpack_require__(14)
|
|
|
|
, WEAK = __webpack_require__(25)('weak')
|
|
|
|
, isExtensible = Object.isExtensible || isObject
|
2016-10-10 03:43:44 +02:00
|
|
|
, arrayFind = createArrayMethod(5)
|
|
|
|
, arrayFindIndex = createArrayMethod(6)
|
|
|
|
, id = 0;
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// fallback for frozen keys
|
|
|
|
var frozenStore = function(that){
|
|
|
|
return that._l || (that._l = new FrozenStore);
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var FrozenStore = function(){
|
2016-10-10 03:43:44 +02:00
|
|
|
this.a = [];
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
var findFrozen = function(store, key){
|
2016-10-10 03:43:44 +02:00
|
|
|
return arrayFind(store.a, function(it){
|
|
|
|
return it[0] === key;
|
|
|
|
});
|
|
|
|
};
|
2017-04-20 03:09:25 +02:00
|
|
|
FrozenStore.prototype = {
|
2016-10-10 03:43:44 +02:00
|
|
|
get: function(key){
|
2017-04-20 03:09:25 +02:00
|
|
|
var entry = findFrozen(this, key);
|
2016-10-10 03:43:44 +02:00
|
|
|
if(entry)return entry[1];
|
|
|
|
},
|
|
|
|
has: function(key){
|
2017-04-20 03:09:25 +02:00
|
|
|
return !!findFrozen(this, key);
|
2016-10-10 03:43:44 +02:00
|
|
|
},
|
|
|
|
set: function(key, value){
|
2017-04-20 03:09:25 +02:00
|
|
|
var entry = findFrozen(this, key);
|
2016-10-10 03:43:44 +02:00
|
|
|
if(entry)entry[1] = value;
|
|
|
|
else this.a.push([key, value]);
|
|
|
|
},
|
|
|
|
'delete': function(key){
|
|
|
|
var index = arrayFindIndex(this.a, function(it){
|
|
|
|
return it[0] === key;
|
|
|
|
});
|
|
|
|
if(~index)this.a.splice(index, 1);
|
|
|
|
return !!~index;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
getConstructor: function(wrapper, NAME, IS_MAP, ADDER){
|
|
|
|
var C = wrapper(function(that, iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
strictNew(that, C, NAME);
|
2016-10-10 03:43:44 +02:00
|
|
|
that._i = id++; // collection id
|
2017-04-20 03:09:25 +02:00
|
|
|
that._l = undefined; // leak store for frozen objects
|
2016-10-10 03:43:44 +02:00
|
|
|
if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);
|
|
|
|
});
|
|
|
|
redefineAll(C.prototype, {
|
|
|
|
// 23.3.3.2 WeakMap.prototype.delete(key)
|
|
|
|
// 23.4.3.3 WeakSet.prototype.delete(value)
|
|
|
|
'delete': function(key){
|
|
|
|
if(!isObject(key))return false;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(!isExtensible(key))return frozenStore(this)['delete'](key);
|
|
|
|
return $has(key, WEAK) && $has(key[WEAK], this._i) && delete key[WEAK][this._i];
|
|
|
|
},
|
|
|
|
// 23.3.3.4 WeakMap.prototype.has(key)
|
|
|
|
// 23.4.3.4 WeakSet.prototype.has(value)
|
|
|
|
has: function has(key){
|
|
|
|
if(!isObject(key))return false;
|
|
|
|
if(!isExtensible(key))return frozenStore(this).has(key);
|
|
|
|
return $has(key, WEAK) && $has(key[WEAK], this._i);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
return C;
|
|
|
|
},
|
|
|
|
def: function(that, key, value){
|
|
|
|
if(!isExtensible(anObject(key))){
|
|
|
|
frozenStore(that).set(key, value);
|
|
|
|
} else {
|
|
|
|
$has(key, WEAK) || hide(key, WEAK, {});
|
|
|
|
key[WEAK][that._i] = value;
|
|
|
|
} return that;
|
|
|
|
},
|
|
|
|
frozenStore: frozenStore,
|
|
|
|
WEAK: WEAK
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 137 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var weak = __webpack_require__(136);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 23.4 WeakSet Objects
|
|
|
|
__webpack_require__(133)('WeakSet', function(get){
|
|
|
|
return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
|
|
}, {
|
|
|
|
// 23.4.3.1 WeakSet.prototype.add(value)
|
|
|
|
add: function add(value){
|
|
|
|
return weak.def(this, value, true);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
}, weak, false, true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 138 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, _apply = Function.apply
|
|
|
|
, anObject = __webpack_require__(17);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
apply: function apply(target, thisArgument, argumentsList){
|
|
|
|
return _apply.call(target, thisArgument, anObject(argumentsList));
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 139 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, aFunction = __webpack_require__(7)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, bind = Function.bind || __webpack_require__(5).Function.prototype.bind;
|
|
|
|
|
|
|
|
// MS Edge supports only 2 arguments
|
|
|
|
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
|
|
|
|
$export($export.S + $export.F * __webpack_require__(9)(function(){
|
|
|
|
function F(){}
|
|
|
|
return !(Reflect.construct(function(){}, [], F) instanceof F);
|
|
|
|
}), 'Reflect', {
|
|
|
|
construct: function construct(Target, args /*, newTarget*/){
|
|
|
|
aFunction(Target);
|
|
|
|
anObject(args);
|
|
|
|
var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
|
|
|
|
if(Target == newTarget){
|
|
|
|
// w/o altered newTarget, optimization for 0-4 arguments
|
|
|
|
switch(args.length){
|
|
|
|
case 0: return new Target;
|
|
|
|
case 1: return new Target(args[0]);
|
|
|
|
case 2: return new Target(args[0], args[1]);
|
|
|
|
case 3: return new Target(args[0], args[1], args[2]);
|
|
|
|
case 4: return new Target(args[0], args[1], args[2], args[3]);
|
|
|
|
}
|
|
|
|
// w/o altered newTarget, lot of arguments case
|
|
|
|
var $args = [null];
|
|
|
|
$args.push.apply($args, args);
|
|
|
|
return new (bind.apply(Target, $args));
|
|
|
|
}
|
|
|
|
// with altered newTarget, not support built-in constructors
|
|
|
|
var proto = newTarget.prototype
|
|
|
|
, instance = $.create(isObject(proto) ? proto : Object.prototype)
|
|
|
|
, result = Function.apply.call(Target, instance, args);
|
|
|
|
return isObject(result) ? result : instance;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 140 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, anObject = __webpack_require__(17);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// MS Edge has broken Reflect.defineProperty - throwing instead of returning false
|
|
|
|
$export($export.S + $export.F * __webpack_require__(9)(function(){
|
|
|
|
Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});
|
|
|
|
}), 'Reflect', {
|
|
|
|
defineProperty: function defineProperty(target, propertyKey, attributes){
|
|
|
|
anObject(target);
|
|
|
|
try {
|
|
|
|
$.setDesc(target, propertyKey, attributes);
|
|
|
|
return true;
|
|
|
|
} catch(e){
|
|
|
|
return false;
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 141 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.4 Reflect.deleteProperty(target, propertyKey)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, getDesc = __webpack_require__(2).getDesc
|
|
|
|
, anObject = __webpack_require__(17);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
deleteProperty: function deleteProperty(target, propertyKey){
|
|
|
|
var desc = getDesc(anObject(target), propertyKey);
|
|
|
|
return desc && !desc.configurable ? false : delete target[propertyKey];
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 142 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.5 Reflect.enumerate(target)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, anObject = __webpack_require__(17);
|
|
|
|
var Enumerate = function(iterated){
|
|
|
|
this._t = anObject(iterated); // target
|
|
|
|
this._i = 0; // next index
|
|
|
|
var keys = this._k = [] // keys
|
|
|
|
, key;
|
|
|
|
for(key in iterated)keys.push(key);
|
|
|
|
};
|
|
|
|
__webpack_require__(105)(Enumerate, 'Object', function(){
|
|
|
|
var that = this
|
|
|
|
, keys = that._k
|
|
|
|
, key;
|
|
|
|
do {
|
|
|
|
if(that._i >= keys.length)return {value: undefined, done: true};
|
|
|
|
} while(!((key = keys[that._i++]) in that._t));
|
|
|
|
return {value: key, done: false};
|
|
|
|
});
|
|
|
|
|
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
enumerate: function enumerate(target){
|
|
|
|
return new Enumerate(target);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 143 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.6 Reflect.get(target, propertyKey [, receiver])
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, anObject = __webpack_require__(17);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
function get(target, propertyKey/*, receiver*/){
|
|
|
|
var receiver = arguments.length < 3 ? target : arguments[2]
|
|
|
|
, desc, proto;
|
|
|
|
if(anObject(target) === receiver)return target[propertyKey];
|
|
|
|
if(desc = $.getDesc(target, propertyKey))return has(desc, 'value')
|
|
|
|
? desc.value
|
|
|
|
: desc.get !== undefined
|
|
|
|
? desc.get.call(receiver)
|
|
|
|
: undefined;
|
|
|
|
if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {get: get});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 144 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, anObject = __webpack_require__(17);
|
|
|
|
|
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){
|
|
|
|
return $.getDesc(anObject(target), propertyKey);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 145 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.8 Reflect.getPrototypeOf(target)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, getProto = __webpack_require__(2).getProto
|
|
|
|
, anObject = __webpack_require__(17);
|
|
|
|
|
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
getPrototypeOf: function getPrototypeOf(target){
|
|
|
|
return getProto(anObject(target));
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 146 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.9 Reflect.has(target, propertyKey)
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
has: function has(target, propertyKey){
|
|
|
|
return propertyKey in target;
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 147 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.10 Reflect.isExtensible(target)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, $isExtensible = Object.isExtensible;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
isExtensible: function isExtensible(target){
|
|
|
|
anObject(target);
|
|
|
|
return $isExtensible ? $isExtensible(target) : true;
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 148 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.11 Reflect.ownKeys(target)
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {ownKeys: __webpack_require__(149)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 149 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// all object keys, includes non-enumerable and symbols
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, Reflect = __webpack_require__(4).Reflect;
|
|
|
|
module.exports = Reflect && Reflect.ownKeys || function ownKeys(it){
|
|
|
|
var keys = $.getNames(anObject(it))
|
|
|
|
, getSymbols = $.getSymbols;
|
|
|
|
return getSymbols ? keys.concat(getSymbols(it)) : keys;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 150 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.12 Reflect.preventExtensions(target)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, $preventExtensions = Object.preventExtensions;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Reflect', {
|
|
|
|
preventExtensions: function preventExtensions(target){
|
|
|
|
anObject(target);
|
|
|
|
try {
|
|
|
|
if($preventExtensions)$preventExtensions(target);
|
|
|
|
return true;
|
|
|
|
} catch(e){
|
|
|
|
return false;
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 151 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, createDesc = __webpack_require__(10)
|
|
|
|
, anObject = __webpack_require__(17)
|
|
|
|
, isObject = __webpack_require__(13);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
function set(target, propertyKey, V/*, receiver*/){
|
|
|
|
var receiver = arguments.length < 4 ? target : arguments[3]
|
|
|
|
, ownDesc = $.getDesc(anObject(target), propertyKey)
|
|
|
|
, existingDescriptor, proto;
|
|
|
|
if(!ownDesc){
|
|
|
|
if(isObject(proto = $.getProto(target))){
|
|
|
|
return set(proto, propertyKey, V, receiver);
|
|
|
|
}
|
|
|
|
ownDesc = createDesc(0);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
if(has(ownDesc, 'value')){
|
|
|
|
if(ownDesc.writable === false || !isObject(receiver))return false;
|
|
|
|
existingDescriptor = $.getDesc(receiver, propertyKey) || createDesc(0);
|
|
|
|
existingDescriptor.value = V;
|
|
|
|
$.setDesc(receiver, propertyKey, existingDescriptor);
|
|
|
|
return true;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
|
|
|
|
}
|
|
|
|
|
|
|
|
$export($export.S, 'Reflect', {set: set});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 152 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// 26.1.14 Reflect.setPrototypeOf(target, proto)
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, setProto = __webpack_require__(45);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
if(setProto)$export($export.S, 'Reflect', {
|
|
|
|
setPrototypeOf: function setPrototypeOf(target, proto){
|
|
|
|
setProto.check(target, proto);
|
|
|
|
try {
|
|
|
|
setProto.set(target, proto);
|
|
|
|
return true;
|
|
|
|
} catch(e){
|
|
|
|
return false;
|
|
|
|
}
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 153 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $includes = __webpack_require__(31)(true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Array', {
|
|
|
|
// https://github.com/domenic/Array.prototype.includes
|
|
|
|
includes: function includes(el /*, fromIndex = 0 */){
|
|
|
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(114)('includes');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 154 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $at = __webpack_require__(93)(true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'String', {
|
|
|
|
at: function at(pos){
|
|
|
|
return $at(this, pos);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
2017-04-20 03:09:25 +02:00
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 155 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $pad = __webpack_require__(156);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'String', {
|
|
|
|
padLeft: function padLeft(maxLength /*, fillString = ' ' */){
|
|
|
|
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 156 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/ljharb/proposal-string-pad-left-right
|
|
|
|
var toLength = __webpack_require__(24)
|
|
|
|
, repeat = __webpack_require__(100)
|
|
|
|
, defined = __webpack_require__(19);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(that, maxLength, fillString, left){
|
|
|
|
var S = String(defined(that))
|
|
|
|
, stringLength = S.length
|
|
|
|
, fillStr = fillString === undefined ? ' ' : String(fillString)
|
|
|
|
, intMaxLength = toLength(maxLength);
|
|
|
|
if(intMaxLength <= stringLength)return S;
|
|
|
|
if(fillStr == '')fillStr = ' ';
|
|
|
|
var fillLen = intMaxLength - stringLength
|
|
|
|
, stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
|
|
|
|
if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);
|
|
|
|
return left ? stringFiller + S : S + stringFiller;
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 157 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $pad = __webpack_require__(156);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'String', {
|
|
|
|
padRight: function padRight(maxLength /*, fillString = ' ' */){
|
|
|
|
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 158 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
|
|
|
|
__webpack_require__(91)('trimLeft', function($trim){
|
|
|
|
return function trimLeft(){
|
|
|
|
return $trim(this, 1);
|
|
|
|
};
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 159 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
'use strict';
|
|
|
|
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
|
|
|
|
__webpack_require__(91)('trimRight', function($trim){
|
|
|
|
return function trimRight(){
|
|
|
|
return $trim(this, 2);
|
|
|
|
};
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 160 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/benjamingr/RexExp.escape
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $re = __webpack_require__(161)(/[\\^$*+?.()|[\]{}]/g, '\\$&');
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 161 */
|
|
|
|
/***/ function(module, exports) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = function(regExp, replace){
|
|
|
|
var replacer = replace === Object(replace) ? function(part){
|
|
|
|
return replace[part];
|
|
|
|
} : replace;
|
|
|
|
return function(it){
|
|
|
|
return String(it).replace(regExp, replacer);
|
|
|
|
};
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 162 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://gist.github.com/WebReflection/9353781
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, ownKeys = __webpack_require__(149)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, createDesc = __webpack_require__(10);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Object', {
|
|
|
|
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){
|
|
|
|
var O = toIObject(object)
|
|
|
|
, setDesc = $.setDesc
|
|
|
|
, getDesc = $.getDesc
|
|
|
|
, keys = ownKeys(O)
|
|
|
|
, result = {}
|
|
|
|
, i = 0
|
|
|
|
, key, D;
|
|
|
|
while(keys.length > i){
|
|
|
|
D = getDesc(O, key = keys[i++]);
|
|
|
|
if(key in result)setDesc(result, key, createDesc(0, D));
|
|
|
|
else result[key] = D;
|
|
|
|
} return result;
|
|
|
|
}
|
|
|
|
});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 163 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// http://goo.gl/XkBrjD
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $values = __webpack_require__(164)(false);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Object', {
|
|
|
|
values: function values(it){
|
|
|
|
return $values(it);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 164 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, isEnum = $.isEnum;
|
|
|
|
module.exports = function(isEntries){
|
|
|
|
return function(it){
|
|
|
|
var O = toIObject(it)
|
|
|
|
, keys = $.getKeys(O)
|
|
|
|
, length = keys.length
|
|
|
|
, i = 0
|
|
|
|
, result = []
|
|
|
|
, key;
|
|
|
|
while(length > i)if(isEnum.call(O, key = keys[i++])){
|
|
|
|
result.push(isEntries ? [key, O[key]] : O[key]);
|
|
|
|
} return result;
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
};
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 165 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// http://goo.gl/XkBrjD
|
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $entries = __webpack_require__(164)(true);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S, 'Object', {
|
|
|
|
entries: function entries(it){
|
|
|
|
return $entries(it);
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 166 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Map', {toJSON: __webpack_require__(167)('Map')});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 167 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
|
|
|
var forOf = __webpack_require__(126)
|
|
|
|
, classof = __webpack_require__(110);
|
|
|
|
module.exports = function(NAME){
|
|
|
|
return function toJSON(){
|
|
|
|
if(classof(this) != NAME)throw TypeError(NAME + "#toJSON isn't generic");
|
|
|
|
var arr = [];
|
|
|
|
forOf(this, false, arr.push, arr);
|
|
|
|
return arr;
|
|
|
|
};
|
|
|
|
};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 168 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
// https://github.com/DavidBruant/Map-Set.prototype.toJSON
|
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P, 'Set', {toJSON: __webpack_require__(167)('Set')});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 169 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, $task = __webpack_require__(129);
|
2016-10-10 03:43:44 +02:00
|
|
|
$export($export.G + $export.B, {
|
|
|
|
setImmediate: $task.set,
|
|
|
|
clearImmediate: $task.clear
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 170 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(113);
|
|
|
|
var Iterators = __webpack_require__(104);
|
|
|
|
Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 171 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// ie9- setTimeout & setInterval additional parameters fix
|
2017-04-20 03:09:25 +02:00
|
|
|
var global = __webpack_require__(4)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, invoke = __webpack_require__(16)
|
|
|
|
, partial = __webpack_require__(172)
|
2016-10-10 03:43:44 +02:00
|
|
|
, navigator = global.navigator
|
|
|
|
, MSIE = !!navigator && /MSIE .\./.test(navigator.userAgent); // <- dirty ie9- check
|
|
|
|
var wrap = function(set){
|
|
|
|
return MSIE ? function(fn, time /*, ...args */){
|
|
|
|
return set(invoke(
|
|
|
|
partial,
|
|
|
|
[].slice.call(arguments, 2),
|
|
|
|
typeof fn == 'function' ? fn : Function(fn)
|
|
|
|
), time);
|
|
|
|
} : set;
|
|
|
|
};
|
|
|
|
$export($export.G + $export.B + $export.F * MSIE, {
|
|
|
|
setTimeout: wrap(global.setTimeout),
|
|
|
|
setInterval: wrap(global.setInterval)
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 172 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var path = __webpack_require__(173)
|
|
|
|
, invoke = __webpack_require__(16)
|
|
|
|
, aFunction = __webpack_require__(7);
|
2016-10-10 03:43:44 +02:00
|
|
|
module.exports = function(/* ...pargs */){
|
|
|
|
var fn = aFunction(this)
|
|
|
|
, length = arguments.length
|
|
|
|
, pargs = Array(length)
|
|
|
|
, i = 0
|
|
|
|
, _ = path._
|
|
|
|
, holder = false;
|
|
|
|
while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;
|
|
|
|
return function(/* ...args */){
|
2017-04-20 03:09:25 +02:00
|
|
|
var that = this
|
|
|
|
, $$ = arguments
|
|
|
|
, $$len = $$.length
|
2016-10-10 03:43:44 +02:00
|
|
|
, j = 0, k = 0, args;
|
2017-04-20 03:09:25 +02:00
|
|
|
if(!holder && !$$len)return invoke(fn, pargs, that);
|
2016-10-10 03:43:44 +02:00
|
|
|
args = pargs.slice();
|
2017-04-20 03:09:25 +02:00
|
|
|
if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];
|
|
|
|
while($$len > k)args.push($$[k++]);
|
2016-10-10 03:43:44 +02:00
|
|
|
return invoke(fn, args, that);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 173 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
module.exports = __webpack_require__(5);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 174 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, ctx = __webpack_require__(6)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, createDesc = __webpack_require__(10)
|
|
|
|
, assign = __webpack_require__(41)
|
|
|
|
, keyOf = __webpack_require__(36)
|
|
|
|
, aFunction = __webpack_require__(7)
|
|
|
|
, forOf = __webpack_require__(126)
|
|
|
|
, isIterable = __webpack_require__(175)
|
|
|
|
, $iterCreate = __webpack_require__(105)
|
|
|
|
, step = __webpack_require__(115)
|
|
|
|
, isObject = __webpack_require__(13)
|
|
|
|
, toIObject = __webpack_require__(20)
|
|
|
|
, DESCRIPTORS = __webpack_require__(8)
|
|
|
|
, has = __webpack_require__(14)
|
|
|
|
, getKeys = $.getKeys;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// 0 -> Dict.forEach
|
|
|
|
// 1 -> Dict.map
|
|
|
|
// 2 -> Dict.filter
|
|
|
|
// 3 -> Dict.some
|
|
|
|
// 4 -> Dict.every
|
|
|
|
// 5 -> Dict.find
|
|
|
|
// 6 -> Dict.findKey
|
|
|
|
// 7 -> Dict.mapPairs
|
|
|
|
var createDictMethod = function(TYPE){
|
|
|
|
var IS_MAP = TYPE == 1
|
|
|
|
, IS_EVERY = TYPE == 4;
|
|
|
|
return function(object, callbackfn, that /* = undefined */){
|
|
|
|
var f = ctx(callbackfn, that, 3)
|
|
|
|
, O = toIObject(object)
|
|
|
|
, result = IS_MAP || TYPE == 7 || TYPE == 2
|
|
|
|
? new (typeof this == 'function' ? this : Dict) : undefined
|
|
|
|
, key, val, res;
|
|
|
|
for(key in O)if(has(O, key)){
|
|
|
|
val = O[key];
|
|
|
|
res = f(val, key, object);
|
|
|
|
if(TYPE){
|
|
|
|
if(IS_MAP)result[key] = res; // map
|
|
|
|
else if(res)switch(TYPE){
|
|
|
|
case 2: result[key] = val; break; // filter
|
|
|
|
case 3: return true; // some
|
|
|
|
case 5: return val; // find
|
|
|
|
case 6: return key; // findKey
|
|
|
|
case 7: result[res[0]] = res[1]; // mapPairs
|
|
|
|
} else if(IS_EVERY)return false; // every
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return TYPE == 3 || IS_EVERY ? IS_EVERY : result;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var findKey = createDictMethod(6);
|
|
|
|
|
|
|
|
var createDictIter = function(kind){
|
|
|
|
return function(it){
|
|
|
|
return new DictIterator(it, kind);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
var DictIterator = function(iterated, kind){
|
|
|
|
this._t = toIObject(iterated); // target
|
|
|
|
this._a = getKeys(iterated); // keys
|
|
|
|
this._i = 0; // next index
|
|
|
|
this._k = kind; // kind
|
|
|
|
};
|
|
|
|
$iterCreate(DictIterator, 'Dict', function(){
|
|
|
|
var that = this
|
|
|
|
, O = that._t
|
|
|
|
, keys = that._a
|
|
|
|
, kind = that._k
|
|
|
|
, key;
|
|
|
|
do {
|
|
|
|
if(that._i >= keys.length){
|
|
|
|
that._t = undefined;
|
|
|
|
return step(1);
|
|
|
|
}
|
|
|
|
} while(!has(O, key = keys[that._i++]));
|
|
|
|
if(kind == 'keys' )return step(0, key);
|
|
|
|
if(kind == 'values')return step(0, O[key]);
|
|
|
|
return step(0, [key, O[key]]);
|
|
|
|
});
|
|
|
|
|
|
|
|
function Dict(iterable){
|
2017-04-20 03:09:25 +02:00
|
|
|
var dict = $.create(null);
|
2016-10-10 03:43:44 +02:00
|
|
|
if(iterable != undefined){
|
|
|
|
if(isIterable(iterable)){
|
|
|
|
forOf(iterable, true, function(key, value){
|
|
|
|
dict[key] = value;
|
|
|
|
});
|
|
|
|
} else assign(dict, iterable);
|
|
|
|
}
|
|
|
|
return dict;
|
|
|
|
}
|
|
|
|
Dict.prototype = null;
|
|
|
|
|
|
|
|
function reduce(object, mapfn, init){
|
|
|
|
aFunction(mapfn);
|
|
|
|
var O = toIObject(object)
|
|
|
|
, keys = getKeys(O)
|
|
|
|
, length = keys.length
|
|
|
|
, i = 0
|
|
|
|
, memo, key;
|
|
|
|
if(arguments.length < 3){
|
|
|
|
if(!length)throw TypeError('Reduce of empty object with no initial value');
|
|
|
|
memo = O[keys[i++]];
|
|
|
|
} else memo = Object(init);
|
|
|
|
while(length > i)if(has(O, key = keys[i++])){
|
|
|
|
memo = mapfn(memo, O[key], key, object);
|
|
|
|
}
|
|
|
|
return memo;
|
|
|
|
}
|
|
|
|
|
|
|
|
function includes(object, el){
|
|
|
|
return (el == el ? keyOf(object, el) : findKey(object, function(it){
|
|
|
|
return it != it;
|
|
|
|
})) !== undefined;
|
|
|
|
}
|
|
|
|
|
|
|
|
function get(object, key){
|
|
|
|
if(has(object, key))return object[key];
|
|
|
|
}
|
|
|
|
function set(object, key, value){
|
2017-04-20 03:09:25 +02:00
|
|
|
if(DESCRIPTORS && key in Object)$.setDesc(object, key, createDesc(0, value));
|
2016-10-10 03:43:44 +02:00
|
|
|
else object[key] = value;
|
|
|
|
return object;
|
|
|
|
}
|
|
|
|
|
|
|
|
function isDict(it){
|
2017-04-20 03:09:25 +02:00
|
|
|
return isObject(it) && $.getProto(it) === Dict.prototype;
|
2016-10-10 03:43:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
$export($export.G + $export.F, {Dict: Dict});
|
|
|
|
|
|
|
|
$export($export.S, 'Dict', {
|
|
|
|
keys: createDictIter('keys'),
|
|
|
|
values: createDictIter('values'),
|
|
|
|
entries: createDictIter('entries'),
|
|
|
|
forEach: createDictMethod(0),
|
|
|
|
map: createDictMethod(1),
|
|
|
|
filter: createDictMethod(2),
|
|
|
|
some: createDictMethod(3),
|
|
|
|
every: createDictMethod(4),
|
|
|
|
find: createDictMethod(5),
|
|
|
|
findKey: findKey,
|
|
|
|
mapPairs: createDictMethod(7),
|
|
|
|
reduce: reduce,
|
|
|
|
keyOf: keyOf,
|
|
|
|
includes: includes,
|
|
|
|
has: has,
|
|
|
|
get: get,
|
|
|
|
set: set,
|
|
|
|
isDict: isDict
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 175 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var classof = __webpack_require__(110)
|
|
|
|
, ITERATOR = __webpack_require__(29)('iterator')
|
|
|
|
, Iterators = __webpack_require__(104);
|
|
|
|
module.exports = __webpack_require__(5).isIterable = function(it){
|
2016-10-10 03:43:44 +02:00
|
|
|
var O = Object(it);
|
|
|
|
return O[ITERATOR] !== undefined
|
|
|
|
|| '@@iterator' in O
|
|
|
|
|| Iterators.hasOwnProperty(classof(O));
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 176 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var anObject = __webpack_require__(17)
|
|
|
|
, get = __webpack_require__(109);
|
|
|
|
module.exports = __webpack_require__(5).getIterator = function(it){
|
2016-10-10 03:43:44 +02:00
|
|
|
var iterFn = get(it);
|
|
|
|
if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');
|
|
|
|
return anObject(iterFn.call(it));
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 177 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var global = __webpack_require__(4)
|
|
|
|
, core = __webpack_require__(5)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, partial = __webpack_require__(172);
|
2016-10-10 03:43:44 +02:00
|
|
|
// https://esdiscuss.org/topic/promise-returning-delay-function
|
|
|
|
$export($export.G + $export.F, {
|
|
|
|
delay: function delay(time){
|
|
|
|
return new (core.Promise || global.Promise)(function(resolve){
|
|
|
|
setTimeout(partial.call(resolve, true), time);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 178 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var path = __webpack_require__(173)
|
|
|
|
, $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
// Placeholder
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(5)._ = path._ = path._ || {};
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.P + $export.F, 'Function', {part: __webpack_require__(172)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 179 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S + $export.F, 'Object', {isObject: __webpack_require__(13)});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 180 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
$export($export.S + $export.F, 'Object', {classof: __webpack_require__(110)});
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 181 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, define = __webpack_require__(182);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S + $export.F, 'Object', {define: define});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 182 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, ownKeys = __webpack_require__(149)
|
|
|
|
, toIObject = __webpack_require__(20);
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
module.exports = function define(target, mixin){
|
|
|
|
var keys = ownKeys(toIObject(mixin))
|
|
|
|
, length = keys.length
|
|
|
|
, i = 0, key;
|
2017-04-20 03:09:25 +02:00
|
|
|
while(length > i)$.setDesc(target, key = keys[i++], $.getDesc(mixin, key));
|
2016-10-10 03:43:44 +02:00
|
|
|
return target;
|
|
|
|
};
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 183 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3)
|
|
|
|
, define = __webpack_require__(182)
|
|
|
|
, create = __webpack_require__(2).create;
|
2016-10-10 03:43:44 +02:00
|
|
|
|
|
|
|
$export($export.S + $export.F, 'Object', {
|
|
|
|
make: function(proto, mixin){
|
|
|
|
return define(create(proto), mixin);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 184 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
__webpack_require__(103)(Number, 'Number', function(iterated){
|
2016-10-10 03:43:44 +02:00
|
|
|
this._l = +iterated;
|
|
|
|
this._i = 0;
|
|
|
|
}, function(){
|
|
|
|
var i = this._i++
|
|
|
|
, done = !(i < this._l);
|
|
|
|
return {done: done, value: done ? undefined : i};
|
|
|
|
});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 185 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
|
|
|
var $re = __webpack_require__(161)(/[&<>"']/g, {
|
2016-10-10 03:43:44 +02:00
|
|
|
'&': '&',
|
|
|
|
'<': '<',
|
|
|
|
'>': '>',
|
|
|
|
'"': '"',
|
|
|
|
"'": '''
|
|
|
|
});
|
|
|
|
|
|
|
|
$export($export.P + $export.F, 'String', {escapeHTML: function escapeHTML(){ return $re(this); }});
|
|
|
|
|
|
|
|
/***/ },
|
2017-04-20 03:09:25 +02:00
|
|
|
/* 186 */
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
'use strict';
|
2017-04-20 03:09:25 +02:00
|
|
|
var $export = __webpack_require__(3);
|
|
|
|
var $re = __webpack_require__(161)(/&(?:amp|lt|gt|quot|apos);/g, {
|
2016-10-10 03:43:44 +02:00
|
|
|
'&': '&',
|
|
|
|
'<': '<',
|
|
|
|
'>': '>',
|
|
|
|
'"': '"',
|
|
|
|
''': "'"
|
|
|
|
});
|
|
|
|
|
|
|
|
$export($export.P + $export.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }});
|
|
|
|
|
2017-04-20 03:09:25 +02:00
|
|
|
/***/ },
|
|
|
|
/* 187 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, global = __webpack_require__(4)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, log = {}
|
|
|
|
, enabled = true;
|
|
|
|
// Methods from https://github.com/DeveloperToolsWG/console-object/blob/master/api.md
|
|
|
|
$.each.call((
|
|
|
|
'assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,' +
|
|
|
|
'info,isIndependentlyComposed,log,markTimeline,profile,profileEnd,table,' +
|
|
|
|
'time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn'
|
|
|
|
).split(','), function(key){
|
|
|
|
log[key] = function(){
|
|
|
|
var $console = global.console;
|
|
|
|
if(enabled && $console && $console[key]){
|
|
|
|
return Function.apply.call($console[key], $console, arguments);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
|
|
|
$export($export.G + $export.F, {log: __webpack_require__(41)(log.log, log, {
|
|
|
|
enable: function(){
|
|
|
|
enabled = true;
|
|
|
|
},
|
|
|
|
disable: function(){
|
|
|
|
enabled = false;
|
|
|
|
}
|
|
|
|
})});
|
|
|
|
|
|
|
|
/***/ },
|
|
|
|
/* 188 */
|
|
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
|
|
|
|
// JavaScript 1.6 / Strawman array statics shim
|
|
|
|
var $ = __webpack_require__(2)
|
|
|
|
, $export = __webpack_require__(3)
|
|
|
|
, $ctx = __webpack_require__(6)
|
|
|
|
, $Array = __webpack_require__(5).Array || Array
|
|
|
|
, statics = {};
|
|
|
|
var setStatics = function(keys, length){
|
|
|
|
$.each.call(keys.split(','), function(key){
|
|
|
|
if(length == undefined && key in $Array)statics[key] = $Array[key];
|
|
|
|
else if(key in [])statics[key] = $ctx(Function.call, [][key], length);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
setStatics('pop,reverse,shift,keys,values,entries', 1);
|
|
|
|
setStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);
|
|
|
|
setStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +
|
|
|
|
'reduce,reduceRight,copyWithin,fill');
|
|
|
|
$export($export.S, 'Array', statics);
|
|
|
|
|
2016-10-10 03:43:44 +02:00
|
|
|
/***/ }
|
|
|
|
/******/ ]);
|
|
|
|
// CommonJS export
|
|
|
|
if(typeof module != 'undefined' && module.exports)module.exports = __e;
|
|
|
|
// RequireJS export
|
|
|
|
else if(typeof define == 'function' && define.amd)define(function(){return __e});
|
|
|
|
// Export to global object
|
|
|
|
else __g.core = __e;
|
|
|
|
}(1, 1);
|