electron-angular-boilerplate
Version:
A basic electron app using AngularJS and Skeleton CSS with ES6 support
1,379 lines • 120 kB
JavaScript
/* */
"format cjs";
(function(process) {
!function(undefined) {
'use strict';
var __e = null,
__g = null;
(function(modules) {
var installedModules = {};
function __webpack_require__(moduleId) {
if (installedModules[moduleId])
return installedModules[moduleId].exports;
var module = installedModules[moduleId] = {
exports: {},
id: moduleId,
loaded: false
};
modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
module.loaded = true;
return module.exports;
}
__webpack_require__.m = modules;
__webpack_require__.c = installedModules;
__webpack_require__.p = "";
return __webpack_require__(0);
})([function(module, exports, __webpack_require__) {
__webpack_require__(1);
__webpack_require__(18);
__webpack_require__(22);
__webpack_require__(24);
__webpack_require__(26);
__webpack_require__(28);
__webpack_require__(29);
__webpack_require__(30);
__webpack_require__(31);
__webpack_require__(32);
__webpack_require__(33);
__webpack_require__(34);
__webpack_require__(35);
__webpack_require__(36);
__webpack_require__(37);
__webpack_require__(41);
__webpack_require__(42);
__webpack_require__(43);
__webpack_require__(44);
__webpack_require__(46);
__webpack_require__(47);
__webpack_require__(50);
__webpack_require__(51);
__webpack_require__(53);
__webpack_require__(55);
__webpack_require__(56);
__webpack_require__(57);
__webpack_require__(58);
__webpack_require__(59);
__webpack_require__(60);
__webpack_require__(64);
__webpack_require__(67);
__webpack_require__(68);
__webpack_require__(70);
__webpack_require__(71);
__webpack_require__(73);
__webpack_require__(74);
__webpack_require__(75);
__webpack_require__(77);
__webpack_require__(78);
__webpack_require__(79);
__webpack_require__(80);
__webpack_require__(81);
__webpack_require__(83);
__webpack_require__(84);
__webpack_require__(85);
__webpack_require__(86);
__webpack_require__(88);
__webpack_require__(89);
__webpack_require__(90);
__webpack_require__(91);
__webpack_require__(92);
__webpack_require__(93);
__webpack_require__(94);
__webpack_require__(95);
__webpack_require__(96);
__webpack_require__(97);
__webpack_require__(98);
__webpack_require__(99);
__webpack_require__(100);
__webpack_require__(101);
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
cel = __webpack_require__(4),
cof = __webpack_require__(5),
$def = __webpack_require__(9),
invoke = __webpack_require__(11),
arrayMethod = __webpack_require__(12),
IE_PROTO = __webpack_require__(8).safe('__proto__'),
assert = __webpack_require__(14),
assertObject = assert.obj,
ObjectProto = Object.prototype,
html = $.html,
A = [],
_slice = A.slice,
_join = A.join,
classof = cof.classof,
has = $.has,
defineProperty = $.setDesc,
getOwnDescriptor = $.getDesc,
defineProperties = $.setDescs,
isFunction = $.isFunction,
isObject = $.isObject,
toObject = $.toObject,
toLength = $.toLength,
toIndex = $.toIndex,
IE8_DOM_DEFINE = false,
$indexOf = __webpack_require__(15)(false),
$forEach = arrayMethod(0),
$map = arrayMethod(1),
$filter = arrayMethod(2),
$some = arrayMethod(3),
$every = arrayMethod(4);
if (!$.DESC) {
try {
IE8_DOM_DEFINE = defineProperty(cel('div'), 'x', {get: function() {
return 8;
}}).x == 8;
} catch (e) {}
$.setDesc = function(O, P, Attributes) {
if (IE8_DOM_DEFINE)
try {
return defineProperty(O, P, Attributes);
} catch (e) {}
if ('get' in Attributes || 'set' in Attributes)
throw TypeError('Accessors not supported!');
if ('value' in Attributes)
assertObject(O)[P] = Attributes.value;
return O;
};
$.getDesc = function(O, P) {
if (IE8_DOM_DEFINE)
try {
return getOwnDescriptor(O, P);
} catch (e) {}
if (has(O, P))
return $.desc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);
};
$.setDescs = defineProperties = function(O, Properties) {
assertObject(O);
var keys = $.getKeys(Properties),
length = keys.length,
i = 0,
P;
while (length > i)
$.setDesc(O, P = keys[i++], Properties[P]);
return O;
};
}
$def($def.S + $def.F * !$.DESC, 'Object', {
getOwnPropertyDescriptor: $.getDesc,
defineProperty: $.setDesc,
defineProperties: defineProperties
});
var keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' + 'toLocaleString,toString,valueOf').split(','),
keys2 = keys1.concat('length', 'prototype'),
keysLen1 = keys1.length;
var createDict = function() {
var iframe = cel('iframe'),
i = keysLen1,
gt = '>',
iframeDocument;
iframe.style.display = 'none';
html.appendChild(iframe);
iframe.src = 'javascript:';
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();
};
function createGetKeys(names, length) {
return function(object) {
var O = toObject(object),
i = 0,
result = [],
key;
for (key in O)
if (key != IE_PROTO)
has(O, key) && result.push(key);
while (length > i)
if (has(O, key = names[i++])) {
~$indexOf(result, key) || result.push(key);
}
return result;
};
}
function Empty() {}
$def($def.S, 'Object', {
getPrototypeOf: $.getProto = $.getProto || function(O) {
O = Object(assert.def(O));
if (has(O, IE_PROTO))
return O[IE_PROTO];
if (isFunction(O.constructor) && O instanceof O.constructor) {
return O.constructor.prototype;
}
return O instanceof Object ? ObjectProto : null;
},
getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),
create: $.create = $.create || function(O, Properties) {
var result;
if (O !== null) {
Empty.prototype = assertObject(O);
result = new Empty();
Empty.prototype = null;
result[IE_PROTO] = O;
} else
result = createDict();
return Properties === undefined ? result : defineProperties(result, Properties);
},
keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false),
seal: function seal(it) {
return it;
},
freeze: function freeze(it) {
return it;
},
preventExtensions: function preventExtensions(it) {
return it;
},
isSealed: function isSealed(it) {
return !isObject(it);
},
isFrozen: function isFrozen(it) {
return !isObject(it);
},
isExtensible: function isExtensible(it) {
return isObject(it);
}
});
$def($def.P, 'Function', {bind: function(that) {
var fn = assert.fn(this),
partArgs = _slice.call(arguments, 1);
function bound() {
var args = partArgs.concat(_slice.call(arguments)),
constr = this instanceof bound,
ctx = constr ? $.create(fn.prototype) : that,
result = invoke(fn, args, ctx);
return constr ? ctx : result;
}
if (fn.prototype)
bound.prototype = fn.prototype;
return bound;
}});
if (!(0 in Object('z') && 'z'[0] == 'z')) {
$.ES5Object = function(it) {
return cof(it) == 'String' ? it.split('') : Object(it);
};
}
var buggySlice = true;
try {
if (html)
_slice.call(html);
buggySlice = false;
} catch (e) {}
$def($def.P + $def.F * buggySlice, 'Array', {slice: function slice(begin, end) {
var len = toLength(this.length),
klass = cof(this);
end = end === undefined ? len : end;
if (klass == 'Array')
return _slice.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;
}});
$def($def.P + $def.F * ($.ES5Object != Object), 'Array', {join: function join() {
return _join.apply($.ES5Object(this), arguments);
}});
$def($def.S, 'Array', {isArray: function(arg) {
return cof(arg) == 'Array';
}});
function createArrayReduce(isRight) {
return function(callbackfn, memo) {
assert.fn(callbackfn);
var O = toObject(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;
assert(isRight ? index >= 0 : length > index, '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;
};
}
$def($def.P, 'Array', {
forEach: $.each = $.each || function forEach(callbackfn) {
return $forEach(this, callbackfn, arguments[1]);
},
map: function map(callbackfn) {
return $map(this, callbackfn, arguments[1]);
},
filter: function filter(callbackfn) {
return $filter(this, callbackfn, arguments[1]);
},
some: function some(callbackfn) {
return $some(this, callbackfn, arguments[1]);
},
every: function every(callbackfn) {
return $every(this, callbackfn, arguments[1]);
},
reduce: createArrayReduce(false),
reduceRight: createArrayReduce(true),
indexOf: function indexOf(el) {
return $indexOf(this, el, arguments[1]);
},
lastIndexOf: function(el, fromIndex) {
var O = toObject(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;
}
});
$def($def.P, 'String', {trim: __webpack_require__(16)(/^\s*([\s\S]*\S)?\s*$/, '$1')});
$def($def.S, 'Date', {now: function() {
return +new Date;
}});
function lz(num) {
return num > 9 ? num : '0' + num;
}
var date = new Date(-5e13 - 1),
brokenDate = !(date.toISOString && date.toISOString() == '0385-07-25T07:06:39.999Z' && __webpack_require__(17)(function() {
new Date(NaN).toISOString();
}));
$def($def.P + $def.F * brokenDate, 'Date', {toISOString: function() {
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';
}});
if (classof(function() {
return arguments;
}()) == 'Object')
cof.classof = function(it) {
var tag = classof(it);
return tag == 'Object' && isFunction(it.callee) ? 'Arguments' : tag;
};
}, function(module, exports, __webpack_require__) {
'use strict';
var global = typeof self != 'undefined' ? self : Function('return this')(),
core = {},
defineProperty = Object.defineProperty,
hasOwnProperty = {}.hasOwnProperty,
ceil = Math.ceil,
floor = Math.floor,
max = Math.max,
min = Math.min;
var DESC = !!function() {
try {
return defineProperty({}, 'a', {get: function() {
return 2;
}}).a == 2;
} catch (e) {}
}();
var hide = createDefiner(1);
function toInteger(it) {
return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
}
function desc(bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
}
function simpleSet(object, key, value) {
object[key] = value;
return object;
}
function createDefiner(bitmap) {
return DESC ? function(object, key, value) {
return $.setDesc(object, key, desc(bitmap, value));
} : simpleSet;
}
function isObject(it) {
return it !== null && (typeof it == 'object' || typeof it == 'function');
}
function isFunction(it) {
return typeof it == 'function';
}
function assertDefined(it) {
if (it == undefined)
throw TypeError("Can't call method on " + it);
return it;
}
var $ = module.exports = __webpack_require__(3)({
g: global,
core: core,
html: global.document && document.documentElement,
isObject: isObject,
isFunction: isFunction,
that: function() {
return this;
},
toInteger: toInteger,
toLength: function(it) {
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0;
},
toIndex: function(index, length) {
index = toInteger(index);
return index < 0 ? max(index + length, 0) : min(index, length);
},
has: function(it, key) {
return hasOwnProperty.call(it, key);
},
create: Object.create,
getProto: Object.getPrototypeOf,
DESC: DESC,
desc: desc,
getDesc: Object.getOwnPropertyDescriptor,
setDesc: defineProperty,
setDescs: Object.defineProperties,
getKeys: Object.keys,
getNames: Object.getOwnPropertyNames,
getSymbols: Object.getOwnPropertySymbols,
assertDefined: assertDefined,
ES5Object: Object,
toObject: function(it) {
return $.ES5Object(assertDefined(it));
},
hide: hide,
def: createDefiner(0),
set: global.Symbol ? simpleSet : hide,
each: [].forEach
});
if (typeof __e != 'undefined')
__e = core;
if (typeof __g != 'undefined')
__g = global;
}, function(module, exports, __webpack_require__) {
module.exports = function($) {
$.FW = true;
$.path = $.g;
return $;
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
document = $.g.document,
isObject = $.isObject,
is = isObject(document) && isObject(document.createElement);
module.exports = function(it) {
return is ? document.createElement(it) : {};
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
TAG = __webpack_require__(6)('toStringTag'),
toString = {}.toString;
function cof(it) {
return toString.call(it).slice(8, -1);
}
cof.classof = function(it) {
var O,
T;
return it == undefined ? it === undefined ? 'Undefined' : 'Null' : typeof(T = (O = Object(it))[TAG]) == 'string' ? T : cof(O);
};
cof.set = function(it, tag, stat) {
if (it && !$.has(it = stat ? it : it.prototype, TAG))
$.hide(it, TAG, tag);
};
module.exports = cof;
}, function(module, exports, __webpack_require__) {
var global = __webpack_require__(2).g,
store = __webpack_require__(7)('wks');
module.exports = function(name) {
return store[name] || (store[name] = global.Symbol && global.Symbol[name] || __webpack_require__(8).safe('Symbol.' + name));
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
SHARED = '__core-js_shared__',
store = $.g[SHARED] || ($.g[SHARED] = {});
module.exports = function(key) {
return store[key] || (store[key] = {});
};
}, function(module, exports, __webpack_require__) {
var sid = 0;
function uid(key) {
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++sid + Math.random()).toString(36));
}
uid.safe = __webpack_require__(2).g.Symbol || uid;
module.exports = uid;
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
global = $.g,
core = $.core,
isFunction = $.isFunction,
$redef = __webpack_require__(10);
function ctx(fn, that) {
return function() {
return fn.apply(that, arguments);
};
}
global.core = core;
$def.F = 1;
$def.G = 2;
$def.S = 4;
$def.P = 8;
$def.B = 16;
$def.W = 32;
function $def(type, name, source) {
var key,
own,
out,
exp,
isGlobal = type & $def.G,
isProto = type & $def.P,
target = isGlobal ? global : type & $def.S ? global[name] : (global[name] || {}).prototype,
exports = isGlobal ? core : core[name] || (core[name] = {});
if (isGlobal)
source = name;
for (key in source) {
own = !(type & $def.F) && target && key in target;
out = (own ? target : source)[key];
if (type & $def.B && own)
exp = ctx(out, global);
else
exp = isProto && isFunction(out) ? ctx(Function.call, out) : out;
if (target && !own)
$redef(target, key, out);
if (exports[key] != out)
$.hide(exports, key, exp);
if (isProto)
(exports.prototype || (exports.prototype = {}))[key] = out;
}
}
module.exports = $def;
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
tpl = String({}.hasOwnProperty),
SRC = __webpack_require__(8).safe('src'),
_toString = Function.toString;
function $redef(O, key, val, safe) {
if ($.isFunction(val)) {
var base = O[key];
$.hide(val, SRC, base ? String(base) : tpl.replace(/hasOwnProperty/, String(key)));
if (!('name' in val))
val.name = key;
}
if (O === $.g) {
O[key] = val;
} else {
if (!safe)
delete O[key];
$.hide(O, key, val);
}
}
$redef(Function.prototype, 'toString', function toString() {
return $.has(this, SRC) ? this[SRC] : _toString.call(this);
});
$.core.inspectSource = function(it) {
return _toString.call(it);
};
module.exports = $redef;
}, function(module, exports, __webpack_require__) {
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]);
case 5:
return un ? fn(args[0], args[1], args[2], args[3], args[4]) : fn.call(that, args[0], args[1], args[2], args[3], args[4]);
}
return fn.apply(that, args);
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
ctx = __webpack_require__(13);
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 = Object($.assertDefined($this)),
self = $.ES5Object(O),
f = ctx(callbackfn, that, 3),
length = $.toLength(self.length),
index = 0,
result = IS_MAP ? Array(length) : IS_FILTER ? [] : 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;
else if (res)
switch (TYPE) {
case 3:
return true;
case 5:
return val;
case 6:
return index;
case 2:
result.push(val);
}
else if (IS_EVERY)
return false;
}
}
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
};
};
}, function(module, exports, __webpack_require__) {
var assertFunction = __webpack_require__(14).fn;
module.exports = function(fn, that, length) {
assertFunction(fn);
if (~length && 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() {
return fn.apply(that, arguments);
};
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2);
function assert(condition, msg1, msg2) {
if (!condition)
throw TypeError(msg2 ? msg1 + msg2 : msg1);
}
assert.def = $.assertDefined;
assert.fn = function(it) {
if (!$.isFunction(it))
throw TypeError(it + ' is not a function!');
return it;
};
assert.obj = function(it) {
if (!$.isObject(it))
throw TypeError(it + ' is not an object!');
return it;
};
assert.inst = function(it, Constructor, name) {
if (!(it instanceof Constructor))
throw TypeError(name + ": use the 'new' operator!");
return it;
};
module.exports = assert;
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2);
module.exports = function(IS_INCLUDES) {
return function($this, el, fromIndex) {
var O = $.toObject($this),
length = $.toLength(O.length),
index = $.toIndex(fromIndex, length),
value;
if (IS_INCLUDES && el != el)
while (length > index) {
value = O[index++];
if (value != value)
return true;
}
else
for (; length > index; index++)
if (IS_INCLUDES || index in O) {
if (O[index] === el)
return IS_INCLUDES || index;
}
return !IS_INCLUDES && -1;
};
};
}, function(module, exports, __webpack_require__) {
'use strict';
module.exports = function(regExp, replace, isStatic) {
var replacer = replace === Object(replace) ? function(part) {
return replace[part];
} : replace;
return function(it) {
return String(isStatic ? it : this).replace(regExp, replacer);
};
};
}, function(module, exports, __webpack_require__) {
module.exports = function(exec) {
try {
exec();
return false;
} catch (e) {
return true;
}
};
}, function(module, exports, __webpack_require__) {
'use strict';
var $ = __webpack_require__(2),
setTag = __webpack_require__(5).set,
uid = __webpack_require__(8),
shared = __webpack_require__(7),
$def = __webpack_require__(9),
$redef = __webpack_require__(10),
keyOf = __webpack_require__(19),
enumKeys = __webpack_require__(20),
assertObject = __webpack_require__(14).obj,
ObjectProto = Object.prototype,
DESC = $.DESC,
has = $.has,
$create = $.create,
getDesc = $.getDesc,
setDesc = $.setDesc,
desc = $.desc,
$names = __webpack_require__(21),
getNames = $names.get,
toObject = $.toObject,
$Symbol = $.g.Symbol,
setter = false,
TAG = uid('tag'),
HIDDEN = uid('hidden'),
_propertyIsEnumerable = {}.propertyIsEnumerable,
SymbolRegistry = shared('symbol-registry'),
AllSymbols = shared('symbols'),
useNative = $.isFunction($Symbol);
var setSymbolDesc = DESC ? function() {
try {
return $create(setDesc({}, HIDDEN, {get: function() {
return setDesc(this, HIDDEN, {value: false})[HIDDEN];
}}))[HIDDEN] || setDesc;
} catch (e) {
return 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;
function wrap(tag) {
var sym = AllSymbols[tag] = $.set($create($Symbol.prototype), TAG, tag);
DESC && setter && setSymbolDesc(ObjectProto, tag, {
configurable: true,
set: function(value) {
if (has(this, HIDDEN) && has(this[HIDDEN], tag))
this[HIDDEN][tag] = false;
setSymbolDesc(this, tag, desc(1, value));
}
});
return sym;
}
function defineProperty(it, key, D) {
if (D && has(AllSymbols, key)) {
if (!D.enumerable) {
if (!has(it, HIDDEN))
setDesc(it, HIDDEN, desc(1, {}));
it[HIDDEN][key] = true;
} else {
if (has(it, HIDDEN) && it[HIDDEN][key])
it[HIDDEN][key] = false;
D = $create(D, {enumerable: desc(0, false)});
}
return setSymbolDesc(it, key, D);
}
return setDesc(it, key, D);
}
function defineProperties(it, P) {
assertObject(it);
var keys = enumKeys(P = toObject(P)),
i = 0,
l = keys.length,
key;
while (l > i)
defineProperty(it, key = keys[i++], P[key]);
return it;
}
function create(it, P) {
return P === undefined ? $create(it) : defineProperties($create(it), P);
}
function propertyIsEnumerable(key) {
var E = _propertyIsEnumerable.call(this, key);
return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
}
function getOwnPropertyDescriptor(it, key) {
var D = getDesc(it = toObject(it), key);
if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))
D.enumerable = true;
return D;
}
function getOwnPropertyNames(it) {
var names = getNames(toObject(it)),
result = [],
i = 0,
key;
while (names.length > i)
if (!has(AllSymbols, key = names[i++]) && key != HIDDEN)
result.push(key);
return result;
}
function getOwnPropertySymbols(it) {
var names = getNames(toObject(it)),
result = [],
i = 0,
key;
while (names.length > i)
if (has(AllSymbols, key = names[i++]))
result.push(AllSymbols[key]);
return result;
}
if (!useNative) {
$Symbol = function Symbol() {
if (this instanceof $Symbol)
throw TypeError('Symbol is not a constructor');
return wrap(uid(arguments[0]));
};
$redef($Symbol.prototype, 'toString', function() {
return this[TAG];
});
$.create = create;
$.setDesc = defineProperty;
$.getDesc = getOwnPropertyDescriptor;
$.setDescs = defineProperties;
$.getNames = $names.get = getOwnPropertyNames;
$.getSymbols = getOwnPropertySymbols;
if ($.DESC && $.FW)
$redef(ObjectProto, 'propertyIsEnumerable', propertyIsEnumerable, true);
}
var symbolStatics = {
'for': function(key) {
return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key);
},
keyFor: function keyFor(key) {
return keyOf(SymbolRegistry, key);
},
useSetter: function() {
setter = true;
},
useSimple: function() {
setter = false;
}
};
$.each.call(('hasInstance,isConcatSpreadable,iterator,match,replace,search,' + 'species,split,toPrimitive,toStringTag,unscopables').split(','), function(it) {
var sym = __webpack_require__(6)(it);
symbolStatics[it] = useNative ? sym : wrap(sym);
});
setter = true;
$def($def.G + $def.W, {Symbol: $Symbol});
$def($def.S, 'Symbol', symbolStatics);
$def($def.S + $def.F * !useNative, 'Object', {
create: create,
defineProperty: defineProperty,
defineProperties: defineProperties,
getOwnPropertyDescriptor: getOwnPropertyDescriptor,
getOwnPropertyNames: getOwnPropertyNames,
getOwnPropertySymbols: getOwnPropertySymbols
});
setTag($Symbol, 'Symbol');
setTag(Math, 'Math', true);
setTag($.g.JSON, 'JSON', true);
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2);
module.exports = function(object, el) {
var O = $.toObject(object),
keys = $.getKeys(O),
length = keys.length,
index = 0,
key;
while (length > index)
if (O[key = keys[index++]] === el)
return key;
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2);
module.exports = function(it) {
var keys = $.getKeys(it),
getDesc = $.getDesc,
getSymbols = $.getSymbols;
if (getSymbols)
$.each.call(getSymbols(it), function(key) {
if (getDesc(it, key).enumerable)
keys.push(key);
});
return keys;
};
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
toString = {}.toString,
getNames = $.getNames;
var windowNames = typeof window == 'object' && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
function getWindowNames(it) {
try {
return getNames(it);
} catch (e) {
return windowNames.slice();
}
}
module.exports.get = function getOwnPropertyNames(it) {
if (windowNames && toString.call(it) == '[object Window]')
return getWindowNames(it);
return getNames($.toObject(it));
};
}, function(module, exports, __webpack_require__) {
var $def = __webpack_require__(9);
$def($def.S, 'Object', {assign: __webpack_require__(23)});
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
enumKeys = __webpack_require__(20);
module.exports = Object.assign || function assign(target, source) {
var T = Object($.assertDefined(target)),
l = arguments.length,
i = 1;
while (l > i) {
var S = $.ES5Object(arguments[i++]),
keys = enumKeys(S),
length = keys.length,
j = 0,
key;
while (length > j)
T[key = keys[j++]] = S[key];
}
return T;
};
}, function(module, exports, __webpack_require__) {
var $def = __webpack_require__(9);
$def($def.S, 'Object', {is: __webpack_require__(25)});
}, function(module, exports, __webpack_require__) {
module.exports = Object.is || function is(x, y) {
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
};
}, function(module, exports, __webpack_require__) {
var $def = __webpack_require__(9);
$def($def.S, 'Object', {setPrototypeOf: __webpack_require__(27).set});
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
assert = __webpack_require__(14);
function check(O, proto) {
assert.obj(O);
assert(proto === null || $.isObject(proto), proto, ": can't set as prototype!");
}
module.exports = {
set: Object.setPrototypeOf || ('__proto__' in {} ? function(buggy, set) {
try {
set = __webpack_require__(13)(Function.call, $.getDesc(Object.prototype, '__proto__').set, 2);
set({}, []);
} catch (e) {
buggy = true;
}
return function setPrototypeOf(O, proto) {
check(O, proto);
if (buggy)
O.__proto__ = proto;
else
set(O, proto);
return O;
};
}() : undefined),
check: check
};
}, function(module, exports, __webpack_require__) {
'use strict';
var cof = __webpack_require__(5),
tmp = {};
tmp[__webpack_require__(6)('toStringTag')] = 'z';
if (__webpack_require__(2).FW && cof(tmp) != 'z') {
__webpack_require__(10)(Object.prototype, 'toString', function toString() {
return '[object ' + cof.classof(this) + ']';
}, true);
}
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
$def = __webpack_require__(9),
isObject = $.isObject,
toObject = $.toObject;
$.each.call(('freeze,seal,preventExtensions,isFrozen,isSealed,isExtensible,' + 'getOwnPropertyDescriptor,getPrototypeOf,keys,getOwnPropertyNames').split(','), function(KEY, ID) {
var fn = ($.core.Object || {})[KEY] || Object[KEY],
forced = 0,
method = {};
method[KEY] = ID == 0 ? function freeze(it) {
return isObject(it) ? fn(it) : it;
} : ID == 1 ? function seal(it) {
return isObject(it) ? fn(it) : it;
} : ID == 2 ? function preventExtensions(it) {
return isObject(it) ? fn(it) : it;
} : ID == 3 ? function isFrozen(it) {
return isObject(it) ? fn(it) : true;
} : ID == 4 ? function isSealed(it) {
return isObject(it) ? fn(it) : true;
} : ID == 5 ? function isExtensible(it) {
return isObject(it) ? fn(it) : false;
} : ID == 6 ? function getOwnPropertyDescriptor(it, key) {
return fn(toObject(it), key);
} : ID == 7 ? function getPrototypeOf(it) {
return fn(Object($.assertDefined(it)));
} : ID == 8 ? function keys(it) {
return fn(toObject(it));
} : __webpack_require__(21).get;
try {
fn('z');
} catch (e) {
forced = 1;
}
$def($def.S + $def.F * forced, 'Object', method);
});
}, function(module, exports, __webpack_require__) {
'use strict';
var $ = __webpack_require__(2),
NAME = 'name',
setDesc = $.setDesc,
FunctionProto = Function.prototype;
NAME in FunctionProto || $.FW && $.DESC && setDesc(FunctionProto, NAME, {
configurable: true,
get: function() {
var match = String(this).match(/^\s*function ([^ (]*)/),
name = match ? match[1] : '';
$.has(this, NAME) || setDesc(this, NAME, $.desc(5, name));
return name;
},
set: function(value) {
$.has(this, NAME) || setDesc(this, NAME, $.desc(0, value));
}
});
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
HAS_INSTANCE = __webpack_require__(6)('hasInstance'),
FunctionProto = Function.prototype;
if (!(HAS_INSTANCE in FunctionProto))
$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O) {
if (!$.isFunction(this) || !$.isObject(O))
return false;
if (!$.isObject(this.prototype))
return O instanceof this;
while (O = $.getProto(O))
if (this.prototype === O)
return true;
return false;
}});
}, function(module, exports, __webpack_require__) {
'use strict';
var $ = __webpack_require__(2),
isObject = $.isObject,
isFunction = $.isFunction,
NUMBER = 'Number',
$Number = $.g[NUMBER],
Base = $Number,
proto = $Number.prototype;
function toPrimitive(it) {
var fn,
val;
if (isFunction(fn = it.valueOf) && !isObject(val = fn.call(it)))
return val;
if (isFunction(fn = it.toString) && !isObject(val = fn.call(it)))
return val;
throw TypeError("Can't convert object to number");
}
function toNumber(it) {
if (isObject(it))
it = toPrimitive(it);
if (typeof it == 'string' && it.length > 2 && it.charCodeAt(0) == 48) {
var binary = false;
switch (it.charCodeAt(1)) {
case 66:
case 98:
binary = true;
case 79:
case 111:
return parseInt(it.slice(2), binary ? 2 : 8);
}
}
return +it;
}
if ($.FW && !($Number('0o1') && $Number('0b1'))) {
$Number = function Number(it) {
return this instanceof $Number ? new Base(toNumber(it)) : toNumber(it);
};
$.each.call($.DESC ? $.getNames(Base) : ('MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger').split(','), function(key) {
if ($.has(Base, key) && !$.has($Number, key)) {
$.setDesc($Number, key, $.getDesc(Base, key));
}
});
$Number.prototype = proto;
proto.constructor = $Number;
__webpack_require__(10)($.g, NUMBER, $Number);
}
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
$def = __webpack_require__(9),
abs = Math.abs,
floor = Math.floor,
_isFinite = $.g.isFinite,
MAX_SAFE_INTEGER = 0x1fffffffffffff;
function isInteger(it) {
return !$.isObject(it) && _isFinite(it) && floor(it) === it;
}
$def($def.S, 'Number', {
EPSILON: Math.pow(2, -52),
isFinite: function isFinite(it) {
return typeof it == 'number' && _isFinite(it);
},
isInteger: isInteger,
isNaN: function isNaN(number) {
return number != number;
},
isSafeInteger: function isSafeInteger(number) {
return isInteger(number) && abs(number) <= MAX_SAFE_INTEGER;
},
MAX_SAFE_INTEGER: MAX_SAFE_INTEGER,
MIN_SAFE_INTEGER: -MAX_SAFE_INTEGER,
parseFloat: parseFloat,
parseInt: parseInt
});
}, function(module, exports, __webpack_require__) {
var Infinity = 1 / 0,
$def = __webpack_require__(9),
E = Math.E,
pow = Math.pow,
abs = Math.abs,
exp = Math.exp,
log = Math.log,
sqrt = Math.sqrt,
ceil = Math.ceil,
floor = Math.floor,
EPSILON = pow(2, -52),
EPSILON32 = pow(2, -23),
MAX32 = pow(2, 127) * (2 - EPSILON32),
MIN32 = pow(2, -126);
function roundTiesToEven(n) {
return n + 1 / EPSILON - 1 / EPSILON;
}
function sign(x) {
return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
}
function asinh(x) {
return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));
}
function expm1(x) {
return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1;
}
$def($def.S, 'Math', {
acosh: function acosh(x) {
return (x = +x) < 1 ? NaN : isFinite(x) ? log(x / E + sqrt(x + 1) * sqrt(x - 1) / E) + 1 : x;
},
asinh: asinh,
atanh: function atanh(x) {
return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;
},
cbrt: function cbrt(x) {
return sign(x = +x) * pow(abs(x), 1 / 3);
},
clz32: function clz32(x) {
return (x >>>= 0) ? 31 - floor(log(x + 0.5) * Math.LOG2E) : 32;
},
cosh: function cosh(x) {
return (exp(x = +x) + exp(-x)) / 2;
},
expm1: expm1,
fround: function fround(x) {
var $abs = 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;
},
hypot: function hypot(value1, value2) {
var sum = 0,
i = 0,
len = arguments.length,
larg = 0,
arg,
div;
while (i < len) {
arg = abs(arguments[i++]);
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 * sqrt(sum);
},
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);
},
log1p: function log1p(x) {
return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x);
},
log10: function log10(x) {
return log(x) / Math.LN10;
},
log2: function log2(x) {
return log(x) / Math.LN2;
},
sign: sign,
sinh: function sinh(x) {
return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);
},
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));
},
trunc: function trunc(it) {
return (it > 0 ? floor : ceil)(it);
}
});
}, function(module, exports, __webpack_require__) {
var $def = __webpack_require__(9),
toIndex = __webpack_require__(2).toIndex,
fromCharCode = String.fromCharCode,
$fromCodePoint = String.fromCodePoint;
$def($def.S + $def.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {fromCodePoint: function fromCodePoint(x) {
var res = [],
len = arguments.length,
i = 0,
code;
while (len > i) {
code = +arguments[i++];
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('');
}});
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2),
$def = __webpack_require__(9);
$def($def.S, 'String', {raw: function raw(callSite) {
var tpl = $.toObject(callSite.raw),
len = $.toLength(tpl.length),
sln = arguments.length,
res = [],
i = 0;
while (len > i) {
res.push(String(tpl[i++]));
if (i < sln)
res.push(String(arguments[i]));
}
return res.join('');
}});
}, function(module, exports, __webpack_require__) {
var set = __webpack_require__(2).set,
$at = __webpack_require__(38)(true),
ITER = __webpack_require__(8).safe('iter'),
$iter = __webpack_require__(39),
step = $iter.step;
__webpack_require__(40)(String, 'String', function(iterated) {
set(this, ITER, {
o: String(iterated),
i: 0
});
}, function() {
var iter = this[ITER],
O = iter.o,
index = iter.i,
point;
if (index >= O.length)
return step(1);
point = $at(O, index);
iter.i += point.length;
return step(0, point);
});
}, function(module, exports, __webpack_require__) {
var $ = __webpack_require__(2);
module.exports = function(TO_STRING) {
return function(that, pos) {
var s = String($.assertDefined(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;
};
};
}, function(module, exports, __webpack_require__) {
'use strict';
var $ = __webpack_require__(2),
cof = __webpack_require__(5),
classof = cof.classof,
assert = __webpack_require__(14),
assertObject = assert.obj,
SYMBOL_ITERATOR = __webpack_require__(6)('iterator'),
FF_ITERATOR = '@@iterator',
Iterators = __webpack_require__(7)('iterators'),
IteratorPrototype = {};
setIterator(IteratorPrototype, $.that);
function setIterator(O, value) {
$.hide(O, SYMBOL_ITERATOR, value);
if (FF_ITERATOR in [])
$.hide(O, FF_ITERATOR, value);
}
module.exports = {
BUGGY: 'keys' in [] && !('next' in [].keys()),
Iterators: Iterators,
step: function(done, value) {
return {
value: value,
done: !!done
};
},
is: function(it) {
var O = Object(it),
Symbol = $.g.Symbol;
return (Symbol && Symbol.iterator || FF_ITERATOR) in O || SYMBOL_ITERATOR in O || $.has(Iterators, classof(O));
},
get: function(it) {
var Symbol = $.g.Symbol,
getIter;
if (it != undefined) {
getIter = it[Symbol && Symbol.iterator || FF_ITERATOR] || it[SYMBOL_ITERATOR] || Iterators[classof(it)];
}
assert($.isFunction(getIter), it, ' is not iterable!');
return assertObject(getIter.call(it));
},
set: setIterator,
create: function(Constructor, NAME, next, proto) {
Constructor.prototype = $.cr