@silvermine/videojs-chromecast
Version:
video.js plugin for casting to chromecast
1,172 lines (1,164 loc) • 245 kB
JavaScript
/*! @silvermine/videojs-chromecast 2023-11-07 v1.4.1-14-g08060f4 */
(function() {
function r(e, n, t) {
function o(i, f) {
if (!n[i]) {
if (!e[i]) {
var c = "function" == typeof require && require;
if (!f && c) return c(i, !0);
if (u) return u(i, !0);
var a = new Error("Cannot find module '" + i + "'");
throw a.code = "MODULE_NOT_FOUND", a;
}
var p = n[i] = {
exports: {}
};
e[i][0].call(p.exports, function(r) {
var n = e[i][1][r];
return o(n || r);
}, p, p.exports, r, e, n, t);
}
return n[i].exports;
}
for (var u = "function" == typeof require && require, i = 0; i < t.length; i++) o(t[i]);
return o;
}
return r;
})()({
1: [ function(require, module, exports) {
module.exports = function(it) {
if (typeof it != "function") {
throw TypeError(String(it) + " is not a function");
}
return it;
};
}, {} ],
2: [ function(require, module, exports) {
var isObject = require("../internals/is-object");
module.exports = function(it) {
if (!isObject(it)) {
throw TypeError(String(it) + " is not an object");
}
return it;
};
}, {
"../internals/is-object": 36
} ],
3: [ function(require, module, exports) {
var toIndexedObject = require("../internals/to-indexed-object");
var toLength = require("../internals/to-length");
var toAbsoluteIndex = require("../internals/to-absolute-index");
var createMethod = function(IS_INCLUDES) {
return function($this, el, fromIndex) {
var O = toIndexedObject($this);
var length = toLength(O.length);
var index = toAbsoluteIndex(fromIndex, length);
var 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) && O[index] === el) return IS_INCLUDES || index || 0;
}
return !IS_INCLUDES && -1;
};
};
module.exports = {
includes: createMethod(true),
indexOf: createMethod(false)
};
}, {
"../internals/to-absolute-index": 60,
"../internals/to-indexed-object": 61,
"../internals/to-length": 63
} ],
4: [ function(require, module, exports) {
var bind = require("../internals/function-bind-context");
var IndexedObject = require("../internals/indexed-object");
var toObject = require("../internals/to-object");
var toLength = require("../internals/to-length");
var arraySpeciesCreate = require("../internals/array-species-create");
var push = [].push;
var createMethod = function(TYPE) {
var IS_MAP = TYPE == 1;
var IS_FILTER = TYPE == 2;
var IS_SOME = TYPE == 3;
var IS_EVERY = TYPE == 4;
var IS_FIND_INDEX = TYPE == 6;
var IS_FILTER_OUT = TYPE == 7;
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
return function($this, callbackfn, that, specificCreate) {
var O = toObject($this);
var self = IndexedObject(O);
var boundFunction = bind(callbackfn, that, 3);
var length = toLength(self.length);
var index = 0;
var create = specificCreate || arraySpeciesCreate;
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_OUT ? create($this, 0) : undefined;
var value, result;
for (;length > index; index++) if (NO_HOLES || index in self) {
value = self[index];
result = boundFunction(value, index, O);
if (TYPE) {
if (IS_MAP) target[index] = result; else if (result) switch (TYPE) {
case 3:
return true;
case 5:
return value;
case 6:
return index;
case 2:
push.call(target, value);
} else switch (TYPE) {
case 4:
return false;
case 7:
push.call(target, value);
}
}
}
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
};
};
module.exports = {
forEach: createMethod(0),
map: createMethod(1),
filter: createMethod(2),
some: createMethod(3),
every: createMethod(4),
find: createMethod(5),
findIndex: createMethod(6),
filterOut: createMethod(7)
};
}, {
"../internals/array-species-create": 6,
"../internals/function-bind-context": 23,
"../internals/indexed-object": 31,
"../internals/to-length": 63,
"../internals/to-object": 64
} ],
5: [ function(require, module, exports) {
var fails = require("../internals/fails");
var wellKnownSymbol = require("../internals/well-known-symbol");
var V8_VERSION = require("../internals/engine-v8-version");
var SPECIES = wellKnownSymbol("species");
module.exports = function(METHOD_NAME) {
return V8_VERSION >= 51 || !fails(function() {
var array = [];
var constructor = array.constructor = {};
constructor[SPECIES] = function() {
return {
foo: 1
};
};
return array[METHOD_NAME](Boolean).foo !== 1;
});
};
}, {
"../internals/engine-v8-version": 19,
"../internals/fails": 22,
"../internals/well-known-symbol": 70
} ],
6: [ function(require, module, exports) {
var isObject = require("../internals/is-object");
var isArray = require("../internals/is-array");
var wellKnownSymbol = require("../internals/well-known-symbol");
var SPECIES = wellKnownSymbol("species");
module.exports = function(originalArray, length) {
var C;
if (isArray(originalArray)) {
C = originalArray.constructor;
if (typeof C == "function" && (C === Array || isArray(C.prototype))) C = undefined; else if (isObject(C)) {
C = C[SPECIES];
if (C === null) C = undefined;
}
}
return new (C === undefined ? Array : C)(length === 0 ? 0 : length);
};
}, {
"../internals/is-array": 34,
"../internals/is-object": 36,
"../internals/well-known-symbol": 70
} ],
7: [ function(require, module, exports) {
var toString = {}.toString;
module.exports = function(it) {
return toString.call(it).slice(8, -1);
};
}, {} ],
8: [ function(require, module, exports) {
var TO_STRING_TAG_SUPPORT = require("../internals/to-string-tag-support");
var classofRaw = require("../internals/classof-raw");
var wellKnownSymbol = require("../internals/well-known-symbol");
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
var CORRECT_ARGUMENTS = classofRaw(function() {
return arguments;
}()) == "Arguments";
var tryGet = function(it, key) {
try {
return it[key];
} catch (error) {}
};
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function(it) {
var O, tag, result;
return it === undefined ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) == "Object" && typeof O.callee == "function" ? "Arguments" : result;
};
}, {
"../internals/classof-raw": 7,
"../internals/to-string-tag-support": 66,
"../internals/well-known-symbol": 70
} ],
9: [ function(require, module, exports) {
var has = require("../internals/has");
var ownKeys = require("../internals/own-keys");
var getOwnPropertyDescriptorModule = require("../internals/object-get-own-property-descriptor");
var definePropertyModule = require("../internals/object-define-property");
module.exports = function(target, source) {
var keys = ownKeys(source);
var defineProperty = definePropertyModule.f;
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
}
};
}, {
"../internals/has": 27,
"../internals/object-define-property": 42,
"../internals/object-get-own-property-descriptor": 43,
"../internals/own-keys": 51
} ],
10: [ function(require, module, exports) {
var DESCRIPTORS = require("../internals/descriptors");
var definePropertyModule = require("../internals/object-define-property");
var createPropertyDescriptor = require("../internals/create-property-descriptor");
module.exports = DESCRIPTORS ? function(object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function(object, key, value) {
object[key] = value;
return object;
};
}, {
"../internals/create-property-descriptor": 11,
"../internals/descriptors": 15,
"../internals/object-define-property": 42
} ],
11: [ function(require, module, exports) {
module.exports = function(bitmap, value) {
return {
enumerable: !(bitmap & 1),
configurable: !(bitmap & 2),
writable: !(bitmap & 4),
value: value
};
};
}, {} ],
12: [ function(require, module, exports) {
"use strict";
var toPrimitive = require("../internals/to-primitive");
var definePropertyModule = require("../internals/object-define-property");
var createPropertyDescriptor = require("../internals/create-property-descriptor");
module.exports = function(object, key, value) {
var propertyKey = toPrimitive(key);
if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); else object[propertyKey] = value;
};
}, {
"../internals/create-property-descriptor": 11,
"../internals/object-define-property": 42,
"../internals/to-primitive": 65
} ],
13: [ function(require, module, exports) {
"use strict";
var anObject = require("../internals/an-object");
var toPrimitive = require("../internals/to-primitive");
module.exports = function(hint) {
if (hint !== "string" && hint !== "number" && hint !== "default") {
throw TypeError("Incorrect hint");
}
return toPrimitive(anObject(this), hint !== "number");
};
}, {
"../internals/an-object": 2,
"../internals/to-primitive": 65
} ],
14: [ function(require, module, exports) {
var path = require("../internals/path");
var has = require("../internals/has");
var wrappedWellKnownSymbolModule = require("../internals/well-known-symbol-wrapped");
var defineProperty = require("../internals/object-define-property").f;
module.exports = function(NAME) {
var Symbol = path.Symbol || (path.Symbol = {});
if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, {
value: wrappedWellKnownSymbolModule.f(NAME)
});
};
}, {
"../internals/has": 27,
"../internals/object-define-property": 42,
"../internals/path": 52,
"../internals/well-known-symbol-wrapped": 69
} ],
15: [ function(require, module, exports) {
var fails = require("../internals/fails");
module.exports = !fails(function() {
return Object.defineProperty({}, 1, {
get: function() {
return 7;
}
})[1] != 7;
});
}, {
"../internals/fails": 22
} ],
16: [ function(require, module, exports) {
var global = require("../internals/global");
var isObject = require("../internals/is-object");
var document = global.document;
var EXISTS = isObject(document) && isObject(document.createElement);
module.exports = function(it) {
return EXISTS ? document.createElement(it) : {};
};
}, {
"../internals/global": 26,
"../internals/is-object": 36
} ],
17: [ function(require, module, exports) {
var classof = require("../internals/classof-raw");
var global = require("../internals/global");
module.exports = classof(global.process) == "process";
}, {
"../internals/classof-raw": 7,
"../internals/global": 26
} ],
18: [ function(require, module, exports) {
var getBuiltIn = require("../internals/get-built-in");
module.exports = getBuiltIn("navigator", "userAgent") || "";
}, {
"../internals/get-built-in": 25
} ],
19: [ function(require, module, exports) {
var global = require("../internals/global");
var userAgent = require("../internals/engine-user-agent");
var process = global.process;
var versions = process && process.versions;
var v8 = versions && versions.v8;
var match, version;
if (v8) {
match = v8.split(".");
version = match[0] + match[1];
} else if (userAgent) {
match = userAgent.match(/Edge\/(\d+)/);
if (!match || match[1] >= 74) {
match = userAgent.match(/Chrome\/(\d+)/);
if (match) version = match[1];
}
}
module.exports = version && +version;
}, {
"../internals/engine-user-agent": 18,
"../internals/global": 26
} ],
20: [ function(require, module, exports) {
module.exports = [ "constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf" ];
}, {} ],
21: [ function(require, module, exports) {
var global = require("../internals/global");
var getOwnPropertyDescriptor = require("../internals/object-get-own-property-descriptor").f;
var createNonEnumerableProperty = require("../internals/create-non-enumerable-property");
var redefine = require("../internals/redefine");
var setGlobal = require("../internals/set-global");
var copyConstructorProperties = require("../internals/copy-constructor-properties");
var isForced = require("../internals/is-forced");
module.exports = function(options, source) {
var TARGET = options.target;
var GLOBAL = options.global;
var STATIC = options.stat;
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
if (GLOBAL) {
target = global;
} else if (STATIC) {
target = global[TARGET] || setGlobal(TARGET, {});
} else {
target = (global[TARGET] || {}).prototype;
}
if (target) for (key in source) {
sourceProperty = source[key];
if (options.noTargetGet) {
descriptor = getOwnPropertyDescriptor(target, key);
targetProperty = descriptor && descriptor.value;
} else targetProperty = target[key];
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
if (!FORCED && targetProperty !== undefined) {
if (typeof sourceProperty === typeof targetProperty) continue;
copyConstructorProperties(sourceProperty, targetProperty);
}
if (options.sham || targetProperty && targetProperty.sham) {
createNonEnumerableProperty(sourceProperty, "sham", true);
}
redefine(target, key, sourceProperty, options);
}
};
}, {
"../internals/copy-constructor-properties": 9,
"../internals/create-non-enumerable-property": 10,
"../internals/global": 26,
"../internals/is-forced": 35,
"../internals/object-get-own-property-descriptor": 43,
"../internals/redefine": 53,
"../internals/set-global": 55
} ],
22: [ function(require, module, exports) {
module.exports = function(exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};
}, {} ],
23: [ function(require, module, exports) {
var aFunction = require("../internals/a-function");
module.exports = function(fn, that, length) {
aFunction(fn);
if (that === undefined) return fn;
switch (length) {
case 0:
return function() {
return fn.call(that);
};
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);
};
};
}, {
"../internals/a-function": 1
} ],
24: [ function(require, module, exports) {
"use strict";
var aFunction = require("../internals/a-function");
var isObject = require("../internals/is-object");
var slice = [].slice;
var factories = {};
var construct = function(C, argsLength, args) {
if (!(argsLength in factories)) {
for (var list = [], i = 0; i < argsLength; i++) list[i] = "a[" + i + "]";
factories[argsLength] = Function("C,a", "return new C(" + list.join(",") + ")");
}
return factories[argsLength](C, args);
};
module.exports = Function.bind || function bind(that) {
var fn = aFunction(this);
var partArgs = slice.call(arguments, 1);
var boundFunction = function bound() {
var args = partArgs.concat(slice.call(arguments));
return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);
};
if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;
return boundFunction;
};
}, {
"../internals/a-function": 1,
"../internals/is-object": 36
} ],
25: [ function(require, module, exports) {
var path = require("../internals/path");
var global = require("../internals/global");
var aFunction = function(variable) {
return typeof variable == "function" ? variable : undefined;
};
module.exports = function(namespace, method) {
return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];
};
}, {
"../internals/global": 26,
"../internals/path": 52
} ],
26: [ function(require, module, exports) {
(function(global) {
(function() {
var check = function(it) {
return it && it.Math == Math && it;
};
module.exports = check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || check(typeof self == "object" && self) || check(typeof global == "object" && global) || function() {
return this;
}() || Function("return this")();
}).call(this);
}).call(this, typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {});
}, {} ],
27: [ function(require, module, exports) {
var toObject = require("../internals/to-object");
var hasOwnProperty = {}.hasOwnProperty;
module.exports = function hasOwn(it, key) {
return hasOwnProperty.call(toObject(it), key);
};
}, {
"../internals/to-object": 64
} ],
28: [ function(require, module, exports) {
module.exports = {};
}, {} ],
29: [ function(require, module, exports) {
var getBuiltIn = require("../internals/get-built-in");
module.exports = getBuiltIn("document", "documentElement");
}, {
"../internals/get-built-in": 25
} ],
30: [ function(require, module, exports) {
var DESCRIPTORS = require("../internals/descriptors");
var fails = require("../internals/fails");
var createElement = require("../internals/document-create-element");
module.exports = !DESCRIPTORS && !fails(function() {
return Object.defineProperty(createElement("div"), "a", {
get: function() {
return 7;
}
}).a != 7;
});
}, {
"../internals/descriptors": 15,
"../internals/document-create-element": 16,
"../internals/fails": 22
} ],
31: [ function(require, module, exports) {
var fails = require("../internals/fails");
var classof = require("../internals/classof-raw");
var split = "".split;
module.exports = fails(function() {
return !Object("z").propertyIsEnumerable(0);
}) ? function(it) {
return classof(it) == "String" ? split.call(it, "") : Object(it);
} : Object;
}, {
"../internals/classof-raw": 7,
"../internals/fails": 22
} ],
32: [ function(require, module, exports) {
var store = require("../internals/shared-store");
var functionToString = Function.toString;
if (typeof store.inspectSource != "function") {
store.inspectSource = function(it) {
return functionToString.call(it);
};
}
module.exports = store.inspectSource;
}, {
"../internals/shared-store": 58
} ],
33: [ function(require, module, exports) {
var NATIVE_WEAK_MAP = require("../internals/native-weak-map");
var global = require("../internals/global");
var isObject = require("../internals/is-object");
var createNonEnumerableProperty = require("../internals/create-non-enumerable-property");
var objectHas = require("../internals/has");
var shared = require("../internals/shared-store");
var sharedKey = require("../internals/shared-key");
var hiddenKeys = require("../internals/hidden-keys");
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
var WeakMap = global.WeakMap;
var set, get, has;
var enforce = function(it) {
return has(it) ? get(it) : set(it, {});
};
var getterFor = function(TYPE) {
return function(it) {
var state;
if (!isObject(it) || (state = get(it)).type !== TYPE) {
throw TypeError("Incompatible receiver, " + TYPE + " required");
}
return state;
};
};
if (NATIVE_WEAK_MAP) {
var store = shared.state || (shared.state = new WeakMap());
var wmget = store.get;
var wmhas = store.has;
var wmset = store.set;
set = function(it, metadata) {
if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
wmset.call(store, it, metadata);
return metadata;
};
get = function(it) {
return wmget.call(store, it) || {};
};
has = function(it) {
return wmhas.call(store, it);
};
} else {
var STATE = sharedKey("state");
hiddenKeys[STATE] = true;
set = function(it, metadata) {
if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
metadata.facade = it;
createNonEnumerableProperty(it, STATE, metadata);
return metadata;
};
get = function(it) {
return objectHas(it, STATE) ? it[STATE] : {};
};
has = function(it) {
return objectHas(it, STATE);
};
}
module.exports = {
set: set,
get: get,
has: has,
enforce: enforce,
getterFor: getterFor
};
}, {
"../internals/create-non-enumerable-property": 10,
"../internals/global": 26,
"../internals/has": 27,
"../internals/hidden-keys": 28,
"../internals/is-object": 36,
"../internals/native-weak-map": 39,
"../internals/shared-key": 57,
"../internals/shared-store": 58
} ],
34: [ function(require, module, exports) {
var classof = require("../internals/classof-raw");
module.exports = Array.isArray || function isArray(arg) {
return classof(arg) == "Array";
};
}, {
"../internals/classof-raw": 7
} ],
35: [ function(require, module, exports) {
var fails = require("../internals/fails");
var replacement = /#|\.prototype\./;
var isForced = function(feature, detection) {
var value = data[normalize(feature)];
return value == POLYFILL ? true : value == NATIVE ? false : typeof detection == "function" ? fails(detection) : !!detection;
};
var normalize = isForced.normalize = function(string) {
return String(string).replace(replacement, ".").toLowerCase();
};
var data = isForced.data = {};
var NATIVE = isForced.NATIVE = "N";
var POLYFILL = isForced.POLYFILL = "P";
module.exports = isForced;
}, {
"../internals/fails": 22
} ],
36: [ function(require, module, exports) {
module.exports = function(it) {
return typeof it === "object" ? it !== null : typeof it === "function";
};
}, {} ],
37: [ function(require, module, exports) {
module.exports = false;
}, {} ],
38: [ function(require, module, exports) {
var IS_NODE = require("../internals/engine-is-node");
var V8_VERSION = require("../internals/engine-v8-version");
var fails = require("../internals/fails");
module.exports = !!Object.getOwnPropertySymbols && !fails(function() {
return !Symbol.sham && (IS_NODE ? V8_VERSION === 38 : V8_VERSION > 37 && V8_VERSION < 41);
});
}, {
"../internals/engine-is-node": 17,
"../internals/engine-v8-version": 19,
"../internals/fails": 22
} ],
39: [ function(require, module, exports) {
var global = require("../internals/global");
var inspectSource = require("../internals/inspect-source");
var WeakMap = global.WeakMap;
module.exports = typeof WeakMap === "function" && /native code/.test(inspectSource(WeakMap));
}, {
"../internals/global": 26,
"../internals/inspect-source": 32
} ],
40: [ function(require, module, exports) {
var anObject = require("../internals/an-object");
var defineProperties = require("../internals/object-define-properties");
var enumBugKeys = require("../internals/enum-bug-keys");
var hiddenKeys = require("../internals/hidden-keys");
var html = require("../internals/html");
var documentCreateElement = require("../internals/document-create-element");
var sharedKey = require("../internals/shared-key");
var GT = ">";
var LT = "<";
var PROTOTYPE = "prototype";
var SCRIPT = "script";
var IE_PROTO = sharedKey("IE_PROTO");
var EmptyConstructor = function() {};
var scriptTag = function(content) {
return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
};
var NullProtoObjectViaActiveX = function(activeXDocument) {
activeXDocument.write(scriptTag(""));
activeXDocument.close();
var temp = activeXDocument.parentWindow.Object;
activeXDocument = null;
return temp;
};
var NullProtoObjectViaIFrame = function() {
var iframe = documentCreateElement("iframe");
var JS = "java" + SCRIPT + ":";
var iframeDocument;
iframe.style.display = "none";
html.appendChild(iframe);
iframe.src = String(JS);
iframeDocument = iframe.contentWindow.document;
iframeDocument.open();
iframeDocument.write(scriptTag("document.F=Object"));
iframeDocument.close();
return iframeDocument.F;
};
var activeXDocument;
var NullProtoObject = function() {
try {
activeXDocument = document.domain && new ActiveXObject("htmlfile");
} catch (error) {}
NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame();
var length = enumBugKeys.length;
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
return NullProtoObject();
};
hiddenKeys[IE_PROTO] = true;
module.exports = Object.create || function create(O, Properties) {
var result;
if (O !== null) {
EmptyConstructor[PROTOTYPE] = anObject(O);
result = new EmptyConstructor();
EmptyConstructor[PROTOTYPE] = null;
result[IE_PROTO] = O;
} else result = NullProtoObject();
return Properties === undefined ? result : defineProperties(result, Properties);
};
}, {
"../internals/an-object": 2,
"../internals/document-create-element": 16,
"../internals/enum-bug-keys": 20,
"../internals/hidden-keys": 28,
"../internals/html": 29,
"../internals/object-define-properties": 41,
"../internals/shared-key": 57
} ],
41: [ function(require, module, exports) {
var DESCRIPTORS = require("../internals/descriptors");
var definePropertyModule = require("../internals/object-define-property");
var anObject = require("../internals/an-object");
var objectKeys = require("../internals/object-keys");
module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
anObject(O);
var keys = objectKeys(Properties);
var length = keys.length;
var index = 0;
var key;
while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
return O;
};
}, {
"../internals/an-object": 2,
"../internals/descriptors": 15,
"../internals/object-define-property": 42,
"../internals/object-keys": 48
} ],
42: [ function(require, module, exports) {
var DESCRIPTORS = require("../internals/descriptors");
var IE8_DOM_DEFINE = require("../internals/ie8-dom-define");
var anObject = require("../internals/an-object");
var toPrimitive = require("../internals/to-primitive");
var $defineProperty = Object.defineProperty;
exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) {
anObject(O);
P = toPrimitive(P, true);
anObject(Attributes);
if (IE8_DOM_DEFINE) try {
return $defineProperty(O, P, Attributes);
} catch (error) {}
if ("get" in Attributes || "set" in Attributes) throw TypeError("Accessors not supported");
if ("value" in Attributes) O[P] = Attributes.value;
return O;
};
}, {
"../internals/an-object": 2,
"../internals/descriptors": 15,
"../internals/ie8-dom-define": 30,
"../internals/to-primitive": 65
} ],
43: [ function(require, module, exports) {
var DESCRIPTORS = require("../internals/descriptors");
var propertyIsEnumerableModule = require("../internals/object-property-is-enumerable");
var createPropertyDescriptor = require("../internals/create-property-descriptor");
var toIndexedObject = require("../internals/to-indexed-object");
var toPrimitive = require("../internals/to-primitive");
var has = require("../internals/has");
var IE8_DOM_DEFINE = require("../internals/ie8-dom-define");
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
O = toIndexedObject(O);
P = toPrimitive(P, true);
if (IE8_DOM_DEFINE) try {
return $getOwnPropertyDescriptor(O, P);
} catch (error) {}
if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]);
};
}, {
"../internals/create-property-descriptor": 11,
"../internals/descriptors": 15,
"../internals/has": 27,
"../internals/ie8-dom-define": 30,
"../internals/object-property-is-enumerable": 49,
"../internals/to-indexed-object": 61,
"../internals/to-primitive": 65
} ],
44: [ function(require, module, exports) {
var toIndexedObject = require("../internals/to-indexed-object");
var $getOwnPropertyNames = require("../internals/object-get-own-property-names").f;
var toString = {}.toString;
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
var getWindowNames = function(it) {
try {
return $getOwnPropertyNames(it);
} catch (error) {
return windowNames.slice();
}
};
module.exports.f = function getOwnPropertyNames(it) {
return windowNames && toString.call(it) == "[object Window]" ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it));
};
}, {
"../internals/object-get-own-property-names": 45,
"../internals/to-indexed-object": 61
} ],
45: [ function(require, module, exports) {
var internalObjectKeys = require("../internals/object-keys-internal");
var enumBugKeys = require("../internals/enum-bug-keys");
var hiddenKeys = enumBugKeys.concat("length", "prototype");
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
return internalObjectKeys(O, hiddenKeys);
};
}, {
"../internals/enum-bug-keys": 20,
"../internals/object-keys-internal": 47
} ],
46: [ function(require, module, exports) {
exports.f = Object.getOwnPropertySymbols;
}, {} ],
47: [ function(require, module, exports) {
var has = require("../internals/has");
var toIndexedObject = require("../internals/to-indexed-object");
var indexOf = require("../internals/array-includes").indexOf;
var hiddenKeys = require("../internals/hidden-keys");
module.exports = function(object, names) {
var O = toIndexedObject(object);
var i = 0;
var result = [];
var key;
for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key);
while (names.length > i) if (has(O, key = names[i++])) {
~indexOf(result, key) || result.push(key);
}
return result;
};
}, {
"../internals/array-includes": 3,
"../internals/has": 27,
"../internals/hidden-keys": 28,
"../internals/to-indexed-object": 61
} ],
48: [ function(require, module, exports) {
var internalObjectKeys = require("../internals/object-keys-internal");
var enumBugKeys = require("../internals/enum-bug-keys");
module.exports = Object.keys || function keys(O) {
return internalObjectKeys(O, enumBugKeys);
};
}, {
"../internals/enum-bug-keys": 20,
"../internals/object-keys-internal": 47
} ],
49: [ function(require, module, exports) {
"use strict";
var $propertyIsEnumerable = {}.propertyIsEnumerable;
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({
1: 2
}, 1);
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
var descriptor = getOwnPropertyDescriptor(this, V);
return !!descriptor && descriptor.enumerable;
} : $propertyIsEnumerable;
}, {} ],
50: [ function(require, module, exports) {
"use strict";
var TO_STRING_TAG_SUPPORT = require("../internals/to-string-tag-support");
var classof = require("../internals/classof");
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
return "[object " + classof(this) + "]";
};
}, {
"../internals/classof": 8,
"../internals/to-string-tag-support": 66
} ],
51: [ function(require, module, exports) {
var getBuiltIn = require("../internals/get-built-in");
var getOwnPropertyNamesModule = require("../internals/object-get-own-property-names");
var getOwnPropertySymbolsModule = require("../internals/object-get-own-property-symbols");
var anObject = require("../internals/an-object");
module.exports = getBuiltIn("Reflect", "ownKeys") || function ownKeys(it) {
var keys = getOwnPropertyNamesModule.f(anObject(it));
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
};
}, {
"../internals/an-object": 2,
"../internals/get-built-in": 25,
"../internals/object-get-own-property-names": 45,
"../internals/object-get-own-property-symbols": 46
} ],
52: [ function(require, module, exports) {
var global = require("../internals/global");
module.exports = global;
}, {
"../internals/global": 26
} ],
53: [ function(require, module, exports) {
var global = require("../internals/global");
var createNonEnumerableProperty = require("../internals/create-non-enumerable-property");
var has = require("../internals/has");
var setGlobal = require("../internals/set-global");
var inspectSource = require("../internals/inspect-source");
var InternalStateModule = require("../internals/internal-state");
var getInternalState = InternalStateModule.get;
var enforceInternalState = InternalStateModule.enforce;
var TEMPLATE = String(String).split("String");
(module.exports = function(O, key, value, options) {
var unsafe = options ? !!options.unsafe : false;
var simple = options ? !!options.enumerable : false;
var noTargetGet = options ? !!options.noTargetGet : false;
var state;
if (typeof value == "function") {
if (typeof key == "string" && !has(value, "name")) {
createNonEnumerableProperty(value, "name", key);
}
state = enforceInternalState(value);
if (!state.source) {
state.source = TEMPLATE.join(typeof key == "string" ? key : "");
}
}
if (O === global) {
if (simple) O[key] = value; else setGlobal(key, value);
return;
} else if (!unsafe) {
delete O[key];
} else if (!noTargetGet && O[key]) {
simple = true;
}
if (simple) O[key] = value; else createNonEnumerableProperty(O, key, value);
})(Function.prototype, "toString", function toString() {
return typeof this == "function" && getInternalState(this).source || inspectSource(this);
});
}, {
"../internals/create-non-enumerable-property": 10,
"../internals/global": 26,
"../internals/has": 27,
"../internals/inspect-source": 32,
"../internals/internal-state": 33,
"../internals/set-global": 55
} ],
54: [ function(require, module, exports) {
module.exports = function(it) {
if (it == undefined) throw TypeError("Can't call method on " + it);
return it;
};
}, {} ],
55: [ function(require, module, exports) {
var global = require("../internals/global");
var createNonEnumerableProperty = require("../internals/create-non-enumerable-property");
module.exports = function(key, value) {
try {
createNonEnumerableProperty(global, key, value);
} catch (error) {
global[key] = value;
}
return value;
};
}, {
"../internals/create-non-enumerable-property": 10,
"../internals/global": 26
} ],
56: [ function(require, module, exports) {
var defineProperty = require("../internals/object-define-property").f;
var has = require("../internals/has");
var wellKnownSymbol = require("../internals/well-known-symbol");
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
module.exports = function(it, TAG, STATIC) {
if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) {
defineProperty(it, TO_STRING_TAG, {
configurable: true,
value: TAG
});
}
};
}, {
"../internals/has": 27,
"../internals/object-define-property": 42,
"../internals/well-known-symbol": 70
} ],
57: [ function(require, module, exports) {
var shared = require("../internals/shared");
var uid = require("../internals/uid");
var keys = shared("keys");
module.exports = function(key) {
return keys[key] || (keys[key] = uid(key));
};
}, {
"../internals/shared": 59,
"../internals/uid": 67
} ],
58: [ function(require, module, exports) {
var global = require("../internals/global");
var setGlobal = require("../internals/set-global");
var SHARED = "__core-js_shared__";
var store = global[SHARED] || setGlobal(SHARED, {});
module.exports = store;
}, {
"../internals/global": 26,
"../internals/set-global": 55
} ],
59: [ function(require, module, exports) {
var IS_PURE = require("../internals/is-pure");
var store = require("../internals/shared-store");
(module.exports = function(key, value) {
return store[key] || (store[key] = value !== undefined ? value : {});
})("versions", []).push({
version: "3.11.0",
mode: IS_PURE ? "pure" : "global",
copyright: "© 2021 Denis Pushkarev (zloirock.ru)"
});
}, {
"../internals/is-pure": 37,
"../internals/shared-store": 58
} ],
60: [ function(require, module, exports) {
var toInteger = require("../internals/to-integer");
var max = Math.max;
var min = Math.min;
module.exports = function(index, length) {
var integer = toInteger(index);
return integer < 0 ? max(integer + length, 0) : min(integer, length);
};
}, {
"../internals/to-integer": 62
} ],
61: [ function(require, module, exports) {
var IndexedObject = require("../internals/indexed-object");
var requireObjectCoercible = require("../internals/require-object-coercible");
module.exports = function(it) {
return IndexedObject(requireObjectCoercible(it));
};
}, {
"../internals/indexed-object": 31,
"../internals/require-object-coercible": 54
} ],
62: [ function(require, module, exports) {
var ceil = Math.ceil;
var floor = Math.floor;
module.exports = function(argument) {
return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
};
}, {} ],
63: [ function(require, module, exports) {
var toInteger = require("../internals/to-integer");
var min = Math.min;
module.exports = function(argument) {
return argument > 0 ? min(toInteger(argument), 9007199254740991) : 0;
};
}, {
"../internals/to-integer": 62
} ],
64: [ function(require, module, exports) {
var requireObjectCoercible = require("../internals/require-object-coercible");
module.exports = function(argument) {
return Object(requireObjectCoercible(argument));
};
}, {
"../internals/require-object-coercible": 54
} ],
65: [ function(require, module, exports) {
var isObject = require("../internals/is-object");
module.exports = function(input, PREFERRED_STRING) {
if (!isObject(input)) return input;
var fn, val;
if (PREFERRED_STRING && typeof (fn = input.toString) == "function" && !isObject(val = fn.call(input))) return val;
if (typeof (fn = input.valueOf) == "function" && !isObject(val = fn.call(input))) return val;
if (!PREFERRED_STRING && typeof (fn = input.toString) == "function" && !isObject(val = fn.call(input))) return val;
throw TypeError("Can't convert object to primitive value");
};
}, {
"../internals/is-object": 36
} ],
66: [ function(require, module, exports) {
var wellKnownSymbol = require("../internals/well-known-symbol");
var TO_STRING_TAG = wellKnownSymbol("toStringTag");
var test = {};
test[TO_STRING_TAG] = "z";
module.exports = String(test) === "[object z]";
}, {
"../internals/well-known-symbol": 70
} ],
67: [ function(require, module, exports) {
var id = 0;
var postfix = Math.random();
module.exports = function(key) {
return "Symbol(" + String(key === undefined ? "" : key) + ")_" + (++id + postfix).toString(36);
};
}, {} ],
68: [ function(require, module, exports) {
var NATIVE_SYMBOL = require("../internals/native-symbol");
module.exports = NATIVE_SYMBOL && !Symbol.sham && typeof Symbol.iterator == "symbol";
}, {
"../internals/native-symbol": 38
} ],
69: [ function(require, module, exports) {
var wellKnownSymbol = require("../internals/well-known-symbol");
exports.f = wellKnownSymbol;
}, {
"../internals/well-known-symbol": 70
} ],
70: [ function(require, module, exports) {
var global = require("../internals/global");
var shared = require("../internals/shared");
var has = require("../internals/has");
var uid = require("../internals/uid");
var NATIVE_SYMBOL = require("../internals/native-symbol");
var USE_SYMBOL_AS_UID = require("../internals/use-symbol-as-uid");
var WellKnownSymbolsStore = shared("wks");
var Symbol = global.Symbol;
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid;
module.exports = function(name) {
if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == "string")) {
if (NATIVE_SYMBOL && has(Symbol, name)) {
WellKnownSymbolsStore[name] = Symbol[name];
} else {
WellKnownSymbolsStore[name] = createWellKnownSymbol("Symbol." + name);
}
}
return WellKnownSymbolsStore[name];
};
}, {
"../internals/global": 26,
"../internals/has": 27,
"../internals/native-symbol": 38,
"../internals/shared": 59,
"../internals/uid": 67,
"../internals/use