@danielgindi/dom-utils 1.0.5 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.cjs.js CHANGED
@@ -1,53 +1,353 @@
1
1
  /*!
2
- * @danielgindi/dom-utils 1.0.5
2
+ * @danielgindi/dom-utils 1.0.8
3
3
  * git://github.com/danielgindi/dom-utils.git
4
4
  */
5
5
  'use strict';
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- var REACT_ELEMENT_TYPE;
9
+ function createMetadataMethodsForProperty(metadataMap, kind, property, decoratorFinishedRef) {
10
+ return {
11
+ getMetadata: function (key) {
12
+ assertNotFinished(decoratorFinishedRef, "getMetadata"), assertMetadataKey(key);
13
+ var metadataForKey = metadataMap[key];
14
+ if (void 0 !== metadataForKey) if (1 === kind) {
15
+ var pub = metadataForKey.public;
16
+ if (void 0 !== pub) return pub[property];
17
+ } else if (2 === kind) {
18
+ var priv = metadataForKey.private;
19
+ if (void 0 !== priv) return priv.get(property);
20
+ } else if (Object.hasOwnProperty.call(metadataForKey, "constructor")) return metadataForKey.constructor;
21
+ },
22
+ setMetadata: function (key, value) {
23
+ assertNotFinished(decoratorFinishedRef, "setMetadata"), assertMetadataKey(key);
24
+ var metadataForKey = metadataMap[key];
25
+
26
+ if (void 0 === metadataForKey && (metadataForKey = metadataMap[key] = {}), 1 === kind) {
27
+ var pub = metadataForKey.public;
28
+ void 0 === pub && (pub = metadataForKey.public = {}), pub[property] = value;
29
+ } else if (2 === kind) {
30
+ var priv = metadataForKey.priv;
31
+ void 0 === priv && (priv = metadataForKey.private = new Map()), priv.set(property, value);
32
+ } else metadataForKey.constructor = value;
33
+ }
34
+ };
35
+ }
10
36
 
11
- function _jsx(type, props, key, children) {
12
- if (!REACT_ELEMENT_TYPE) {
13
- REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol["for"] && Symbol["for"]("react.element") || 0xeac7;
37
+ function convertMetadataMapToFinal(obj, metadataMap) {
38
+ var parentMetadataMap = obj[Symbol.metadata || Symbol.for("Symbol.metadata")],
39
+ metadataKeys = Object.getOwnPropertySymbols(metadataMap);
40
+
41
+ if (0 !== metadataKeys.length) {
42
+ for (var i = 0; i < metadataKeys.length; i++) {
43
+ var key = metadataKeys[i],
44
+ metaForKey = metadataMap[key],
45
+ parentMetaForKey = parentMetadataMap ? parentMetadataMap[key] : null,
46
+ pub = metaForKey.public,
47
+ parentPub = parentMetaForKey ? parentMetaForKey.public : null;
48
+ pub && parentPub && Object.setPrototypeOf(pub, parentPub);
49
+ var priv = metaForKey.private;
50
+
51
+ if (priv) {
52
+ var privArr = Array.from(priv.values()),
53
+ parentPriv = parentMetaForKey ? parentMetaForKey.private : null;
54
+ parentPriv && (privArr = privArr.concat(parentPriv)), metaForKey.private = privArr;
55
+ }
56
+
57
+ parentMetaForKey && Object.setPrototypeOf(metaForKey, parentMetaForKey);
58
+ }
59
+
60
+ parentMetadataMap && Object.setPrototypeOf(metadataMap, parentMetadataMap), obj[Symbol.metadata || Symbol.for("Symbol.metadata")] = metadataMap;
61
+ }
62
+ }
63
+
64
+ function createAddInitializerMethod(initializers, decoratorFinishedRef) {
65
+ return function (initializer) {
66
+ assertNotFinished(decoratorFinishedRef, "addInitializer"), assertCallable(initializer, "An initializer"), initializers.push(initializer);
67
+ };
68
+ }
69
+
70
+ function memberDec(dec, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value) {
71
+ var kindStr;
72
+
73
+ switch (kind) {
74
+ case 1:
75
+ kindStr = "accessor";
76
+ break;
77
+
78
+ case 2:
79
+ kindStr = "method";
80
+ break;
81
+
82
+ case 3:
83
+ kindStr = "getter";
84
+ break;
85
+
86
+ case 4:
87
+ kindStr = "setter";
88
+ break;
89
+
90
+ default:
91
+ kindStr = "field";
14
92
  }
15
93
 
16
- var defaultProps = type && type.defaultProps;
17
- var childrenLength = arguments.length - 3;
94
+ var metadataKind,
95
+ metadataName,
96
+ ctx = {
97
+ kind: kindStr,
98
+ name: isPrivate ? "#" + name : name,
99
+ isStatic: isStatic,
100
+ isPrivate: isPrivate
101
+ },
102
+ decoratorFinishedRef = {
103
+ v: !1
104
+ };
105
+
106
+ if (0 !== kind && (ctx.addInitializer = createAddInitializerMethod(initializers, decoratorFinishedRef)), isPrivate) {
107
+ metadataKind = 2, metadataName = Symbol(name);
108
+ var access = {};
109
+ 0 === kind ? (access.get = desc.get, access.set = desc.set) : 2 === kind ? access.get = function () {
110
+ return desc.value;
111
+ } : (1 !== kind && 3 !== kind || (access.get = function () {
112
+ return desc.get.call(this);
113
+ }), 1 !== kind && 4 !== kind || (access.set = function (v) {
114
+ desc.set.call(this, v);
115
+ })), ctx.access = access;
116
+ } else metadataKind = 1, metadataName = name;
18
117
 
19
- if (!props && childrenLength !== 0) {
20
- props = {
21
- children: void 0
22
- };
118
+ try {
119
+ return dec(value, Object.assign(ctx, createMetadataMethodsForProperty(metadataMap, metadataKind, metadataName, decoratorFinishedRef)));
120
+ } finally {
121
+ decoratorFinishedRef.v = !0;
122
+ }
123
+ }
124
+
125
+ function assertNotFinished(decoratorFinishedRef, fnName) {
126
+ if (decoratorFinishedRef.v) throw new Error("attempted to call " + fnName + " after decoration was finished");
127
+ }
128
+
129
+ function assertMetadataKey(key) {
130
+ if ("symbol" != typeof key) throw new TypeError("Metadata keys must be symbols, received: " + key);
131
+ }
132
+
133
+ function assertCallable(fn, hint) {
134
+ if ("function" != typeof fn) throw new TypeError(hint + " must be a function");
135
+ }
136
+
137
+ function assertValidReturnValue(kind, value) {
138
+ var type = typeof value;
139
+
140
+ if (1 === kind) {
141
+ if ("object" !== type || null === value) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
142
+ void 0 !== value.get && assertCallable(value.get, "accessor.get"), void 0 !== value.set && assertCallable(value.set, "accessor.set"), void 0 !== value.init && assertCallable(value.init, "accessor.init"), void 0 !== value.initializer && assertCallable(value.initializer, "accessor.initializer");
143
+ } else if ("function" !== type) {
144
+ var hint;
145
+ throw hint = 0 === kind ? "field" : 10 === kind ? "class" : "method", new TypeError(hint + " decorators must return a function or void 0");
146
+ }
147
+ }
148
+
149
+ function getInit(desc) {
150
+ var initializer;
151
+ return null == (initializer = desc.init) && (initializer = desc.initializer) && "undefined" != typeof console && console.warn(".initializer has been renamed to .init as of March 2022"), initializer;
152
+ }
153
+
154
+ function applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers) {
155
+ var desc,
156
+ initializer,
157
+ value,
158
+ newValue,
159
+ get,
160
+ set,
161
+ decs = decInfo[0];
162
+ if (isPrivate ? desc = 0 === kind || 1 === kind ? {
163
+ get: decInfo[3],
164
+ set: decInfo[4]
165
+ } : 3 === kind ? {
166
+ get: decInfo[3]
167
+ } : 4 === kind ? {
168
+ set: decInfo[3]
169
+ } : {
170
+ value: decInfo[3]
171
+ } : 0 !== kind && (desc = Object.getOwnPropertyDescriptor(base, name)), 1 === kind ? value = {
172
+ get: desc.get,
173
+ set: desc.set
174
+ } : 2 === kind ? value = desc.value : 3 === kind ? value = desc.get : 4 === kind && (value = desc.set), "function" == typeof decs) void 0 !== (newValue = memberDec(decs, name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value)) && (assertValidReturnValue(kind, newValue), 0 === kind ? initializer = newValue : 1 === kind ? (initializer = getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = {
175
+ get: get,
176
+ set: set
177
+ }) : value = newValue);else for (var i = decs.length - 1; i >= 0; i--) {
178
+ var newInit;
179
+ if (void 0 !== (newValue = memberDec(decs[i], name, desc, metadataMap, initializers, kind, isStatic, isPrivate, value))) assertValidReturnValue(kind, newValue), 0 === kind ? newInit = newValue : 1 === kind ? (newInit = getInit(newValue), get = newValue.get || value.get, set = newValue.set || value.set, value = {
180
+ get: get,
181
+ set: set
182
+ }) : value = newValue, void 0 !== newInit && (void 0 === initializer ? initializer = newInit : "function" == typeof initializer ? initializer = [initializer, newInit] : initializer.push(newInit));
23
183
  }
24
184
 
25
- if (childrenLength === 1) {
26
- props.children = children;
27
- } else if (childrenLength > 1) {
28
- var childArray = new Array(childrenLength);
185
+ if (0 === kind || 1 === kind) {
186
+ if (void 0 === initializer) initializer = function (instance, init) {
187
+ return init;
188
+ };else if ("function" != typeof initializer) {
189
+ var ownInitializers = initializer;
29
190
 
30
- for (var i = 0; i < childrenLength; i++) {
31
- childArray[i] = arguments[i + 3];
191
+ initializer = function (instance, init) {
192
+ for (var value = init, i = 0; i < ownInitializers.length; i++) value = ownInitializers[i].call(instance, value);
193
+
194
+ return value;
195
+ };
196
+ } else {
197
+ var originalInitializer = initializer;
198
+
199
+ initializer = function (instance, init) {
200
+ return originalInitializer.call(instance, init);
201
+ };
32
202
  }
203
+ ret.push(initializer);
204
+ }
33
205
 
34
- props.children = childArray;
206
+ 0 !== kind && (1 === kind ? (desc.get = value.get, desc.set = value.set) : 2 === kind ? desc.value = value : 3 === kind ? desc.get = value : 4 === kind && (desc.set = value), isPrivate ? 1 === kind ? (ret.push(function (instance, args) {
207
+ return value.get.call(instance, args);
208
+ }), ret.push(function (instance, args) {
209
+ return value.set.call(instance, args);
210
+ })) : 2 === kind ? ret.push(value) : ret.push(function (instance, args) {
211
+ return value.call(instance, args);
212
+ }) : Object.defineProperty(base, name, desc));
213
+ }
214
+
215
+ function applyMemberDecs(ret, Class, protoMetadataMap, staticMetadataMap, decInfos) {
216
+ for (var protoInitializers, staticInitializers, existingProtoNonFields = new Map(), existingStaticNonFields = new Map(), i = 0; i < decInfos.length; i++) {
217
+ var decInfo = decInfos[i];
218
+
219
+ if (Array.isArray(decInfo)) {
220
+ var base,
221
+ metadataMap,
222
+ initializers,
223
+ kind = decInfo[1],
224
+ name = decInfo[2],
225
+ isPrivate = decInfo.length > 3,
226
+ isStatic = kind >= 5;
227
+
228
+ if (isStatic ? (base = Class, metadataMap = staticMetadataMap, 0 !== (kind -= 5) && (initializers = staticInitializers = staticInitializers || [])) : (base = Class.prototype, metadataMap = protoMetadataMap, 0 !== kind && (initializers = protoInitializers = protoInitializers || [])), 0 !== kind && !isPrivate) {
229
+ var existingNonFields = isStatic ? existingStaticNonFields : existingProtoNonFields,
230
+ existingKind = existingNonFields.get(name) || 0;
231
+ if (!0 === existingKind || 3 === existingKind && 4 !== kind || 4 === existingKind && 3 !== kind) throw new Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + name);
232
+ !existingKind && kind > 2 ? existingNonFields.set(name, kind) : existingNonFields.set(name, !0);
233
+ }
234
+
235
+ applyMemberDec(ret, base, decInfo, name, kind, isStatic, isPrivate, metadataMap, initializers);
236
+ }
35
237
  }
36
238
 
37
- if (props && defaultProps) {
38
- for (var propName in defaultProps) {
39
- if (props[propName] === void 0) {
40
- props[propName] = defaultProps[propName];
239
+ pushInitializers(ret, protoInitializers), pushInitializers(ret, staticInitializers);
240
+ }
241
+
242
+ function pushInitializers(ret, initializers) {
243
+ initializers && ret.push(function (instance) {
244
+ for (var i = 0; i < initializers.length; i++) initializers[i].call(instance);
245
+
246
+ return instance;
247
+ });
248
+ }
249
+
250
+ function applyClassDecs(ret, targetClass, metadataMap, classDecs) {
251
+ if (classDecs.length > 0) {
252
+ for (var initializers = [], newClass = targetClass, name = targetClass.name, i = classDecs.length - 1; i >= 0; i--) {
253
+ var decoratorFinishedRef = {
254
+ v: !1
255
+ };
256
+
257
+ try {
258
+ var ctx = Object.assign({
259
+ kind: "class",
260
+ name: name,
261
+ addInitializer: createAddInitializerMethod(initializers, decoratorFinishedRef)
262
+ }, createMetadataMethodsForProperty(metadataMap, 0, name, decoratorFinishedRef)),
263
+ nextNewClass = classDecs[i](newClass, ctx);
264
+ } finally {
265
+ decoratorFinishedRef.v = !0;
41
266
  }
267
+
268
+ void 0 !== nextNewClass && (assertValidReturnValue(10, nextNewClass), newClass = nextNewClass);
42
269
  }
43
- } else if (!props) {
44
- props = defaultProps || {};
270
+
271
+ ret.push(newClass, function () {
272
+ for (var i = 0; i < initializers.length; i++) initializers[i].call(newClass);
273
+ });
45
274
  }
275
+ }
276
+
277
+ function _applyDecs(targetClass, memberDecs, classDecs) {
278
+ var ret = [],
279
+ staticMetadataMap = {},
280
+ protoMetadataMap = {};
281
+ return applyMemberDecs(ret, targetClass, protoMetadataMap, staticMetadataMap, memberDecs), convertMetadataMapToFinal(targetClass.prototype, protoMetadataMap), applyClassDecs(ret, targetClass, staticMetadataMap, classDecs), convertMetadataMapToFinal(targetClass, staticMetadataMap), ret;
282
+ }
46
283
 
284
+ function _asyncIterator(iterable) {
285
+ var method,
286
+ async,
287
+ sync,
288
+ retry = 2;
289
+
290
+ for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) {
291
+ if (async && null != (method = iterable[async])) return method.call(iterable);
292
+ if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable));
293
+ async = "@@asyncIterator", sync = "@@iterator";
294
+ }
295
+
296
+ throw new TypeError("Object is not async iterable");
297
+ }
298
+
299
+ function AsyncFromSyncIterator(s) {
300
+ function AsyncFromSyncIteratorContinuation(r) {
301
+ if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object."));
302
+ var done = r.done;
303
+ return Promise.resolve(r.value).then(function (value) {
304
+ return {
305
+ value: value,
306
+ done: done
307
+ };
308
+ });
309
+ }
310
+
311
+ return AsyncFromSyncIterator = function (s) {
312
+ this.s = s, this.n = s.next;
313
+ }, AsyncFromSyncIterator.prototype = {
314
+ s: null,
315
+ n: null,
316
+ next: function () {
317
+ return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments));
318
+ },
319
+ return: function (value) {
320
+ var ret = this.s.return;
321
+ return void 0 === ret ? Promise.resolve({
322
+ value: value,
323
+ done: !0
324
+ }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments));
325
+ },
326
+ throw: function (value) {
327
+ var thr = this.s.return;
328
+ return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments));
329
+ }
330
+ }, new AsyncFromSyncIterator(s);
331
+ }
332
+
333
+ var REACT_ELEMENT_TYPE;
334
+
335
+ function _jsx(type, props, key, children) {
336
+ REACT_ELEMENT_TYPE || (REACT_ELEMENT_TYPE = "function" == typeof Symbol && Symbol.for && Symbol.for("react.element") || 60103);
337
+ var defaultProps = type && type.defaultProps,
338
+ childrenLength = arguments.length - 3;
339
+ if (props || 0 === childrenLength || (props = {
340
+ children: void 0
341
+ }), 1 === childrenLength) props.children = children;else if (childrenLength > 1) {
342
+ for (var childArray = new Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 3];
343
+
344
+ props.children = childArray;
345
+ }
346
+ if (props && defaultProps) for (var propName in defaultProps) void 0 === props[propName] && (props[propName] = defaultProps[propName]);else props || (props = defaultProps || {});
47
347
  return {
48
348
  $$typeof: REACT_ELEMENT_TYPE,
49
349
  type: type,
50
- key: key === undefined ? null : "" + key,
350
+ key: void 0 === key ? null : "" + key,
51
351
  ref: null,
52
352
  props: props,
53
353
  _owner: null
@@ -59,14 +359,9 @@ function ownKeys$2(object, enumerableOnly) {
59
359
 
60
360
  if (Object.getOwnPropertySymbols) {
61
361
  var symbols = Object.getOwnPropertySymbols(object);
62
-
63
- if (enumerableOnly) {
64
- symbols = symbols.filter(function (sym) {
65
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
66
- });
67
- }
68
-
69
- keys.push.apply(keys, symbols);
362
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
363
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
364
+ })), keys.push.apply(keys, symbols);
70
365
  }
71
366
 
72
367
  return keys;
@@ -74,19 +369,12 @@ function ownKeys$2(object, enumerableOnly) {
74
369
 
75
370
  function _objectSpread2(target) {
76
371
  for (var i = 1; i < arguments.length; i++) {
77
- var source = arguments[i] != null ? arguments[i] : {};
78
-
79
- if (i % 2) {
80
- ownKeys$2(Object(source), true).forEach(function (key) {
81
- _defineProperty(target, key, source[key]);
82
- });
83
- } else if (Object.getOwnPropertyDescriptors) {
84
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
85
- } else {
86
- ownKeys$2(Object(source)).forEach(function (key) {
87
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
88
- });
89
- }
372
+ var source = null != arguments[i] ? arguments[i] : {};
373
+ i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) {
374
+ _defineProperty(target, key, source[key]);
375
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) {
376
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
377
+ });
90
378
  }
91
379
 
92
380
  return target;
@@ -95,94 +383,59 @@ function _objectSpread2(target) {
95
383
  function _typeof(obj) {
96
384
  "@babel/helpers - typeof";
97
385
 
98
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
99
- _typeof = function (obj) {
100
- return typeof obj;
101
- };
102
- } else {
103
- _typeof = function (obj) {
104
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
105
- };
106
- }
107
-
108
- return _typeof(obj);
386
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
387
+ return typeof obj;
388
+ } : function (obj) {
389
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
390
+ }, _typeof(obj);
109
391
  }
110
392
 
111
393
  function _wrapRegExp() {
112
394
  _wrapRegExp = function (re, groups) {
113
- return new BabelRegExp(re, undefined, groups);
395
+ return new BabelRegExp(re, void 0, groups);
114
396
  };
115
397
 
116
- var _super = RegExp.prototype;
117
-
118
- var _groups = new WeakMap();
398
+ var _super = RegExp.prototype,
399
+ _groups = new WeakMap();
119
400
 
120
401
  function BabelRegExp(re, flags, groups) {
121
402
  var _this = new RegExp(re, flags);
122
403
 
123
- _groups.set(_this, groups || _groups.get(re));
124
-
125
- return _setPrototypeOf(_this, BabelRegExp.prototype);
404
+ return _groups.set(_this, groups || _groups.get(re)), _setPrototypeOf(_this, BabelRegExp.prototype);
126
405
  }
127
406
 
128
- _inherits(BabelRegExp, RegExp);
407
+ function buildGroups(result, re) {
408
+ var g = _groups.get(re);
129
409
 
130
- BabelRegExp.prototype.exec = function (str) {
131
- var result = _super.exec.call(this, str);
410
+ return Object.keys(g).reduce(function (groups, name) {
411
+ return groups[name] = result[g[name]], groups;
412
+ }, Object.create(null));
413
+ }
132
414
 
133
- if (result) result.groups = buildGroups(result, this);
134
- return result;
135
- };
415
+ return _inherits(BabelRegExp, RegExp), BabelRegExp.prototype.exec = function (str) {
416
+ var result = _super.exec.call(this, str);
136
417
 
137
- BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
138
- if (typeof substitution === "string") {
418
+ return result && (result.groups = buildGroups(result, this)), result;
419
+ }, BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {
420
+ if ("string" == typeof substitution) {
139
421
  var groups = _groups.get(this);
140
422
 
141
423
  return _super[Symbol.replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
142
424
  return "$" + groups[name];
143
425
  }));
144
- } else if (typeof substitution === "function") {
426
+ }
427
+
428
+ if ("function" == typeof substitution) {
145
429
  var _this = this;
146
430
 
147
431
  return _super[Symbol.replace].call(this, str, function () {
148
432
  var args = arguments;
149
-
150
- if (typeof args[args.length - 1] !== "object") {
151
- args = [].slice.call(args);
152
- args.push(buildGroups(args, _this));
153
- }
154
-
155
- return substitution.apply(this, args);
433
+ return "object" != typeof args[args.length - 1] && (args = [].slice.call(args)).push(buildGroups(args, _this)), substitution.apply(this, args);
156
434
  });
157
- } else {
158
- return _super[Symbol.replace].call(this, str, substitution);
159
435
  }
160
- };
161
-
162
- function buildGroups(result, re) {
163
- var g = _groups.get(re);
164
436
 
165
- return Object.keys(g).reduce(function (groups, name) {
166
- groups[name] = result[g[name]];
167
- return groups;
168
- }, Object.create(null));
169
- }
170
-
171
- return _wrapRegExp.apply(this, arguments);
172
- }
173
-
174
- function _asyncIterator(iterable) {
175
- var method;
176
-
177
- if (typeof Symbol !== "undefined") {
178
- if (Symbol.asyncIterator) method = iterable[Symbol.asyncIterator];
179
- if (method == null && Symbol.iterator) method = iterable[Symbol.iterator];
180
- }
181
-
182
- if (method == null) method = iterable["@@asyncIterator"];
183
- if (method == null) method = iterable["@@iterator"];
184
- if (method == null) throw new TypeError("Object is not async iterable");
185
- return method.call(iterable);
437
+ return _super[Symbol.replace].call(this, str, substitution);
438
+ }, _wrapRegExp.apply(this, arguments);
186
439
  }
187
440
 
188
441
  function _AwaitValue(value) {
@@ -404,6 +657,9 @@ function _defineProperties(target, props) {
404
657
  function _createClass(Constructor, protoProps, staticProps) {
405
658
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
406
659
  if (staticProps) _defineProperties(Constructor, staticProps);
660
+ Object.defineProperty(Constructor, "prototype", {
661
+ writable: false
662
+ });
407
663
  return Constructor;
408
664
  }
409
665
 
@@ -509,6 +765,9 @@ function _inherits(subClass, superClass) {
509
765
  configurable: true
510
766
  }
511
767
  });
768
+ Object.defineProperty(subClass, "prototype", {
769
+ writable: false
770
+ });
512
771
  if (superClass) _setPrototypeOf(subClass, superClass);
513
772
  }
514
773
 
@@ -759,7 +1018,7 @@ function _superPropBase(object, property) {
759
1018
  return object;
760
1019
  }
761
1020
 
762
- function _get(target, property, receiver) {
1021
+ function _get() {
763
1022
  if (typeof Reflect !== "undefined" && Reflect.get) {
764
1023
  _get = Reflect.get;
765
1024
  } else {
@@ -770,14 +1029,14 @@ function _get(target, property, receiver) {
770
1029
  var desc = Object.getOwnPropertyDescriptor(base, property);
771
1030
 
772
1031
  if (desc.get) {
773
- return desc.get.call(receiver);
1032
+ return desc.get.call(arguments.length < 3 ? target : receiver);
774
1033
  }
775
1034
 
776
1035
  return desc.value;
777
1036
  };
778
1037
  }
779
1038
 
780
- return _get(target, property, receiver || target);
1039
+ return _get.apply(this, arguments);
781
1040
  }
782
1041
 
783
1042
  function set$1(target, property, value, receiver) {
@@ -1686,6 +1945,10 @@ function _classPrivateMethodSet() {
1686
1945
  throw new TypeError("attempted to reassign private method");
1687
1946
  }
1688
1947
 
1948
+ function _identity(x) {
1949
+ return x;
1950
+ }
1951
+
1689
1952
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
1690
1953
 
1691
1954
  function getDefaultExportFromCjs (x) {
@@ -1719,14 +1982,14 @@ function commonjsRequire (path) {
1719
1982
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1720
1983
  }
1721
1984
 
1722
- var es_object_entries = {};
1985
+ var es_parseFloat = {};
1723
1986
 
1724
1987
  var check = function (it) {
1725
1988
  return it && it.Math == Math && it;
1726
1989
  };
1727
1990
 
1728
1991
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1729
- var global$e =
1992
+ var global$w =
1730
1993
  // eslint-disable-next-line es/no-global-this -- safe
1731
1994
  check(typeof globalThis == 'object' && globalThis) ||
1732
1995
  check(typeof window == 'object' && window) ||
@@ -1738,7 +2001,7 @@ var global$e =
1738
2001
 
1739
2002
  var objectGetOwnPropertyDescriptor = {};
1740
2003
 
1741
- var fails$f = function (exec) {
2004
+ var fails$i = function (exec) {
1742
2005
  try {
1743
2006
  return !!exec();
1744
2007
  } catch (error) {
@@ -1746,32 +2009,48 @@ var fails$f = function (exec) {
1746
2009
  }
1747
2010
  };
1748
2011
 
1749
- var fails$e = fails$f;
2012
+ var fails$h = fails$i;
1750
2013
 
1751
2014
  // Detect IE8's incomplete defineProperty implementation
1752
- var descriptors = !fails$e(function () {
2015
+ var descriptors = !fails$h(function () {
1753
2016
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1754
2017
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
1755
2018
  });
1756
2019
 
2020
+ var fails$g = fails$i;
2021
+
2022
+ var functionBindNative = !fails$g(function () {
2023
+ var test = (function () { /* empty */ }).bind();
2024
+ // eslint-disable-next-line no-prototype-builtins -- safe
2025
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
2026
+ });
2027
+
2028
+ var NATIVE_BIND$3 = functionBindNative;
2029
+
2030
+ var call$b = Function.prototype.call;
2031
+
2032
+ var functionCall = NATIVE_BIND$3 ? call$b.bind(call$b) : function () {
2033
+ return call$b.apply(call$b, arguments);
2034
+ };
2035
+
1757
2036
  var objectPropertyIsEnumerable = {};
1758
2037
 
1759
2038
  'use strict';
1760
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
2039
+ var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
1761
2040
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1762
2041
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
1763
2042
 
1764
2043
  // Nashorn ~ JDK8 bug
1765
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
2044
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
1766
2045
 
1767
2046
  // `Object.prototype.propertyIsEnumerable` method implementation
1768
2047
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
1769
- var f$4 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
2048
+ var f$5 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
1770
2049
  var descriptor = getOwnPropertyDescriptor$2(this, V);
1771
2050
  return !!descriptor && descriptor.enumerable;
1772
- } : $propertyIsEnumerable;
2051
+ } : $propertyIsEnumerable$1;
1773
2052
 
1774
- var createPropertyDescriptor$2 = function (bitmap, value) {
2053
+ var createPropertyDescriptor$3 = function (bitmap, value) {
1775
2054
  return {
1776
2055
  enumerable: !(bitmap & 1),
1777
2056
  configurable: !(bitmap & 2),
@@ -1780,30 +2059,55 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
1780
2059
  };
1781
2060
  };
1782
2061
 
1783
- var toString$8 = {}.toString;
2062
+ var NATIVE_BIND$2 = functionBindNative;
2063
+
2064
+ var FunctionPrototype$3 = Function.prototype;
2065
+ var bind$2 = FunctionPrototype$3.bind;
2066
+ var call$a = FunctionPrototype$3.call;
2067
+ var uncurryThis$o = NATIVE_BIND$2 && bind$2.bind(call$a, call$a);
2068
+
2069
+ var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
2070
+ return fn && uncurryThis$o(fn);
2071
+ } : function (fn) {
2072
+ return fn && function () {
2073
+ return call$a.apply(fn, arguments);
2074
+ };
2075
+ };
2076
+
2077
+ var uncurryThis$n = functionUncurryThis;
2078
+
2079
+ var toString$b = uncurryThis$n({}.toString);
2080
+ var stringSlice$5 = uncurryThis$n(''.slice);
1784
2081
 
1785
2082
  var classofRaw$1 = function (it) {
1786
- return toString$8.call(it).slice(8, -1);
2083
+ return stringSlice$5(toString$b(it), 8, -1);
1787
2084
  };
1788
2085
 
1789
- var fails$d = fails$f;
1790
- var classof$6 = classofRaw$1;
2086
+ var global$v = global$w;
2087
+ var uncurryThis$m = functionUncurryThis;
2088
+ var fails$f = fails$i;
2089
+ var classof$7 = classofRaw$1;
1791
2090
 
1792
- var split = ''.split;
2091
+ var Object$4 = global$v.Object;
2092
+ var split = uncurryThis$m(''.split);
1793
2093
 
1794
2094
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1795
- var indexedObject = fails$d(function () {
2095
+ var indexedObject = fails$f(function () {
1796
2096
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
1797
2097
  // eslint-disable-next-line no-prototype-builtins -- safe
1798
- return !Object('z').propertyIsEnumerable(0);
2098
+ return !Object$4('z').propertyIsEnumerable(0);
1799
2099
  }) ? function (it) {
1800
- return classof$6(it) == 'String' ? split.call(it, '') : Object(it);
1801
- } : Object;
2100
+ return classof$7(it) == 'String' ? split(it, '') : Object$4(it);
2101
+ } : Object$4;
2102
+
2103
+ var global$u = global$w;
2104
+
2105
+ var TypeError$a = global$u.TypeError;
1802
2106
 
1803
2107
  // `RequireObjectCoercible` abstract operation
1804
2108
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
1805
2109
  var requireObjectCoercible$8 = function (it) {
1806
- if (it == undefined) throw TypeError("Can't call method on " + it);
2110
+ if (it == undefined) throw TypeError$a("Can't call method on " + it);
1807
2111
  return it;
1808
2112
  };
1809
2113
 
@@ -1811,23 +2115,23 @@ var requireObjectCoercible$8 = function (it) {
1811
2115
  var IndexedObject$2 = indexedObject;
1812
2116
  var requireObjectCoercible$7 = requireObjectCoercible$8;
1813
2117
 
1814
- var toIndexedObject$4 = function (it) {
2118
+ var toIndexedObject$5 = function (it) {
1815
2119
  return IndexedObject$2(requireObjectCoercible$7(it));
1816
2120
  };
1817
2121
 
1818
2122
  // `IsCallable` abstract operation
1819
2123
  // https://tc39.es/ecma262/#sec-iscallable
1820
2124
  var isCallable$d = function (argument) {
1821
- return typeof argument === 'function';
2125
+ return typeof argument == 'function';
1822
2126
  };
1823
2127
 
1824
2128
  var isCallable$c = isCallable$d;
1825
2129
 
1826
2130
  var isObject$7 = function (it) {
1827
- return typeof it === 'object' ? it !== null : isCallable$c(it);
2131
+ return typeof it == 'object' ? it !== null : isCallable$c(it);
1828
2132
  };
1829
2133
 
1830
- var global$d = global$e;
2134
+ var global$t = global$w;
1831
2135
  var isCallable$b = isCallable$d;
1832
2136
 
1833
2137
  var aFunction = function (argument) {
@@ -1835,42 +2139,52 @@ var aFunction = function (argument) {
1835
2139
  };
1836
2140
 
1837
2141
  var getBuiltIn$5 = function (namespace, method) {
1838
- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
2142
+ return arguments.length < 2 ? aFunction(global$t[namespace]) : global$t[namespace] && global$t[namespace][method];
1839
2143
  };
1840
2144
 
2145
+ var uncurryThis$l = functionUncurryThis;
2146
+
2147
+ var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
2148
+
1841
2149
  var getBuiltIn$4 = getBuiltIn$5;
1842
2150
 
1843
2151
  var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
1844
2152
 
1845
- var global$c = global$e;
2153
+ var global$s = global$w;
1846
2154
  var userAgent = engineUserAgent;
1847
2155
 
1848
- var process = global$c.process;
1849
- var Deno = global$c.Deno;
2156
+ var process = global$s.process;
2157
+ var Deno = global$s.Deno;
1850
2158
  var versions = process && process.versions || Deno && Deno.version;
1851
2159
  var v8 = versions && versions.v8;
1852
2160
  var match, version;
1853
2161
 
1854
2162
  if (v8) {
1855
2163
  match = v8.split('.');
1856
- version = match[0] < 4 ? 1 : match[0] + match[1];
1857
- } else if (userAgent) {
2164
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
2165
+ // but their correct versions are not interesting for us
2166
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
2167
+ }
2168
+
2169
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
2170
+ // so check `userAgent` even if `.v8` exists, but 0
2171
+ if (!version && userAgent) {
1858
2172
  match = userAgent.match(/Edge\/(\d+)/);
1859
2173
  if (!match || match[1] >= 74) {
1860
2174
  match = userAgent.match(/Chrome\/(\d+)/);
1861
- if (match) version = match[1];
2175
+ if (match) version = +match[1];
1862
2176
  }
1863
2177
  }
1864
2178
 
1865
- var engineV8Version = version && +version;
2179
+ var engineV8Version = version;
1866
2180
 
1867
2181
  /* eslint-disable es/no-symbol -- required for testing */
1868
2182
 
1869
2183
  var V8_VERSION$1 = engineV8Version;
1870
- var fails$c = fails$f;
2184
+ var fails$e = fails$i;
1871
2185
 
1872
2186
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
1873
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$c(function () {
2187
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$e(function () {
1874
2188
  var symbol = Symbol();
1875
2189
  // Chrome 38 Symbol has incorrect toString conversion
1876
2190
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -1887,32 +2201,43 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
1887
2201
  && !Symbol.sham
1888
2202
  && typeof Symbol.iterator == 'symbol';
1889
2203
 
1890
- var isCallable$a = isCallable$d;
2204
+ var global$r = global$w;
1891
2205
  var getBuiltIn$3 = getBuiltIn$5;
2206
+ var isCallable$a = isCallable$d;
2207
+ var isPrototypeOf = objectIsPrototypeOf;
1892
2208
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
1893
2209
 
2210
+ var Object$3 = global$r.Object;
2211
+
1894
2212
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
1895
2213
  return typeof it == 'symbol';
1896
2214
  } : function (it) {
1897
2215
  var $Symbol = getBuiltIn$3('Symbol');
1898
- return isCallable$a($Symbol) && Object(it) instanceof $Symbol;
2216
+ return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
1899
2217
  };
1900
2218
 
2219
+ var global$q = global$w;
2220
+
2221
+ var String$3 = global$q.String;
2222
+
1901
2223
  var tryToString$2 = function (argument) {
1902
2224
  try {
1903
- return String(argument);
2225
+ return String$3(argument);
1904
2226
  } catch (error) {
1905
2227
  return 'Object';
1906
2228
  }
1907
2229
  };
1908
2230
 
2231
+ var global$p = global$w;
1909
2232
  var isCallable$9 = isCallable$d;
1910
2233
  var tryToString$1 = tryToString$2;
1911
2234
 
2235
+ var TypeError$9 = global$p.TypeError;
2236
+
1912
2237
  // `Assert: IsCallable(argument) is true`
1913
2238
  var aCallable$2 = function (argument) {
1914
2239
  if (isCallable$9(argument)) return argument;
1915
- throw TypeError(tryToString$1(argument) + ' is not a function');
2240
+ throw TypeError$9(tryToString$1(argument) + ' is not a function');
1916
2241
  };
1917
2242
 
1918
2243
  var aCallable$1 = aCallable$2;
@@ -1924,39 +2249,45 @@ var getMethod$4 = function (V, P) {
1924
2249
  return func == null ? undefined : aCallable$1(func);
1925
2250
  };
1926
2251
 
2252
+ var global$o = global$w;
2253
+ var call$9 = functionCall;
1927
2254
  var isCallable$8 = isCallable$d;
1928
2255
  var isObject$6 = isObject$7;
1929
2256
 
2257
+ var TypeError$8 = global$o.TypeError;
2258
+
1930
2259
  // `OrdinaryToPrimitive` abstract operation
1931
2260
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1932
2261
  var ordinaryToPrimitive$1 = function (input, pref) {
1933
2262
  var fn, val;
1934
- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = fn.call(input))) return val;
1935
- if (isCallable$8(fn = input.valueOf) && !isObject$6(val = fn.call(input))) return val;
1936
- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = fn.call(input))) return val;
1937
- throw TypeError("Can't convert object to primitive value");
2263
+ if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$9(fn, input))) return val;
2264
+ if (isCallable$8(fn = input.valueOf) && !isObject$6(val = call$9(fn, input))) return val;
2265
+ if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$9(fn, input))) return val;
2266
+ throw TypeError$8("Can't convert object to primitive value");
1938
2267
  };
1939
2268
 
1940
2269
  var shared$5 = {exports: {}};
1941
2270
 
1942
2271
  var isPure = false;
1943
2272
 
1944
- var global$b = global$e;
2273
+ var global$n = global$w;
2274
+
2275
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2276
+ var defineProperty$2 = Object.defineProperty;
1945
2277
 
1946
2278
  var setGlobal$3 = function (key, value) {
1947
2279
  try {
1948
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1949
- Object.defineProperty(global$b, key, { value: value, configurable: true, writable: true });
2280
+ defineProperty$2(global$n, key, { value: value, configurable: true, writable: true });
1950
2281
  } catch (error) {
1951
- global$b[key] = value;
2282
+ global$n[key] = value;
1952
2283
  } return value;
1953
2284
  };
1954
2285
 
1955
- var global$a = global$e;
2286
+ var global$m = global$w;
1956
2287
  var setGlobal$2 = setGlobal$3;
1957
2288
 
1958
2289
  var SHARED = '__core-js_shared__';
1959
- var store$3 = global$a[SHARED] || setGlobal$2(SHARED, {});
2290
+ var store$3 = global$m[SHARED] || setGlobal$2(SHARED, {});
1960
2291
 
1961
2292
  var sharedStore = store$3;
1962
2293
 
@@ -1966,39 +2297,48 @@ var store$2 = sharedStore;
1966
2297
  (shared$5.exports = function (key, value) {
1967
2298
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
1968
2299
  })('versions', []).push({
1969
- version: '3.18.2',
2300
+ version: '3.21.1',
1970
2301
  mode: IS_PURE$1 ? 'pure' : 'global',
1971
- copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
2302
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
2303
+ license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
2304
+ source: 'https://github.com/zloirock/core-js'
1972
2305
  });
1973
2306
 
1974
2307
  var shared$4 = shared$5.exports;
1975
2308
 
2309
+ var global$l = global$w;
1976
2310
  var requireObjectCoercible$6 = requireObjectCoercible$8;
1977
2311
 
2312
+ var Object$2 = global$l.Object;
2313
+
1978
2314
  // `ToObject` abstract operation
1979
2315
  // https://tc39.es/ecma262/#sec-toobject
1980
2316
  var toObject$4 = function (argument) {
1981
- return Object(requireObjectCoercible$6(argument));
2317
+ return Object$2(requireObjectCoercible$6(argument));
1982
2318
  };
1983
2319
 
2320
+ var uncurryThis$k = functionUncurryThis;
1984
2321
  var toObject$3 = toObject$4;
1985
2322
 
1986
- var hasOwnProperty = {}.hasOwnProperty;
2323
+ var hasOwnProperty = uncurryThis$k({}.hasOwnProperty);
1987
2324
 
1988
2325
  // `HasOwnProperty` abstract operation
1989
2326
  // https://tc39.es/ecma262/#sec-hasownproperty
1990
2327
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1991
- return hasOwnProperty.call(toObject$3(it), key);
2328
+ return hasOwnProperty(toObject$3(it), key);
1992
2329
  };
1993
2330
 
2331
+ var uncurryThis$j = functionUncurryThis;
2332
+
1994
2333
  var id = 0;
1995
2334
  var postfix = Math.random();
2335
+ var toString$a = uncurryThis$j(1.0.toString);
1996
2336
 
1997
2337
  var uid$2 = function (key) {
1998
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
2338
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id + postfix, 36);
1999
2339
  };
2000
2340
 
2001
- var global$9 = global$e;
2341
+ var global$k = global$w;
2002
2342
  var shared$3 = shared$5.exports;
2003
2343
  var hasOwn$6 = hasOwnProperty_1;
2004
2344
  var uid$1 = uid$2;
@@ -2006,25 +2346,32 @@ var NATIVE_SYMBOL = nativeSymbol;
2006
2346
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
2007
2347
 
2008
2348
  var WellKnownSymbolsStore = shared$3('wks');
2009
- var Symbol$1 = global$9.Symbol;
2010
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
2349
+ var Symbol$2 = global$k.Symbol;
2350
+ var symbolFor = Symbol$2 && Symbol$2['for'];
2351
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
2011
2352
 
2012
2353
  var wellKnownSymbol$a = function (name) {
2013
2354
  if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
2014
- if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
2015
- WellKnownSymbolsStore[name] = Symbol$1[name];
2355
+ var description = 'Symbol.' + name;
2356
+ if (NATIVE_SYMBOL && hasOwn$6(Symbol$2, name)) {
2357
+ WellKnownSymbolsStore[name] = Symbol$2[name];
2358
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
2359
+ WellKnownSymbolsStore[name] = symbolFor(description);
2016
2360
  } else {
2017
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
2361
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
2018
2362
  }
2019
2363
  } return WellKnownSymbolsStore[name];
2020
2364
  };
2021
2365
 
2366
+ var global$j = global$w;
2367
+ var call$8 = functionCall;
2022
2368
  var isObject$5 = isObject$7;
2023
2369
  var isSymbol$1 = isSymbol$2;
2024
2370
  var getMethod$3 = getMethod$4;
2025
2371
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
2026
2372
  var wellKnownSymbol$9 = wellKnownSymbol$a;
2027
2373
 
2374
+ var TypeError$7 = global$j.TypeError;
2028
2375
  var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
2029
2376
 
2030
2377
  // `ToPrimitive` abstract operation
@@ -2035,9 +2382,9 @@ var toPrimitive$1 = function (input, pref) {
2035
2382
  var result;
2036
2383
  if (exoticToPrim) {
2037
2384
  if (pref === undefined) pref = 'default';
2038
- result = exoticToPrim.call(input, pref);
2385
+ result = call$8(exoticToPrim, input, pref);
2039
2386
  if (!isObject$5(result) || isSymbol$1(result)) return result;
2040
- throw TypeError("Can't convert object to primitive value");
2387
+ throw TypeError$7("Can't convert object to primitive value");
2041
2388
  }
2042
2389
  if (pref === undefined) pref = 'number';
2043
2390
  return ordinaryToPrimitive(input, pref);
@@ -2048,15 +2395,15 @@ var isSymbol = isSymbol$2;
2048
2395
 
2049
2396
  // `ToPropertyKey` abstract operation
2050
2397
  // https://tc39.es/ecma262/#sec-topropertykey
2051
- var toPropertyKey$2 = function (argument) {
2398
+ var toPropertyKey$3 = function (argument) {
2052
2399
  var key = toPrimitive(argument, 'string');
2053
- return isSymbol(key) ? key : String(key);
2400
+ return isSymbol(key) ? key : key + '';
2054
2401
  };
2055
2402
 
2056
- var global$8 = global$e;
2403
+ var global$i = global$w;
2057
2404
  var isObject$4 = isObject$7;
2058
2405
 
2059
- var document$1 = global$8.document;
2406
+ var document$1 = global$i.document;
2060
2407
  // typeof document.createElement is 'object' in old IE
2061
2408
  var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
2062
2409
 
@@ -2064,104 +2411,146 @@ var documentCreateElement$1 = function (it) {
2064
2411
  return EXISTS$1 ? document$1.createElement(it) : {};
2065
2412
  };
2066
2413
 
2067
- var DESCRIPTORS$8 = descriptors;
2068
- var fails$b = fails$f;
2414
+ var DESCRIPTORS$9 = descriptors;
2415
+ var fails$d = fails$i;
2069
2416
  var createElement$1 = documentCreateElement$1;
2070
2417
 
2071
- // Thank's IE8 for his funny defineProperty
2072
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$b(function () {
2073
- // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
2418
+ // Thanks to IE8 for its funny defineProperty
2419
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () {
2420
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2074
2421
  return Object.defineProperty(createElement$1('div'), 'a', {
2075
2422
  get: function () { return 7; }
2076
2423
  }).a != 7;
2077
2424
  });
2078
2425
 
2079
- var DESCRIPTORS$7 = descriptors;
2426
+ var DESCRIPTORS$8 = descriptors;
2427
+ var call$7 = functionCall;
2080
2428
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
2081
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
2082
- var toIndexedObject$3 = toIndexedObject$4;
2083
- var toPropertyKey$1 = toPropertyKey$2;
2429
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
2430
+ var toIndexedObject$4 = toIndexedObject$5;
2431
+ var toPropertyKey$2 = toPropertyKey$3;
2084
2432
  var hasOwn$5 = hasOwnProperty_1;
2085
2433
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
2086
2434
 
2087
2435
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2088
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2436
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2089
2437
 
2090
2438
  // `Object.getOwnPropertyDescriptor` method
2091
2439
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
2092
- var f$3 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
2093
- O = toIndexedObject$3(O);
2094
- P = toPropertyKey$1(P);
2440
+ var f$4 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
2441
+ O = toIndexedObject$4(O);
2442
+ P = toPropertyKey$2(P);
2095
2443
  if (IE8_DOM_DEFINE$1) try {
2096
- return $getOwnPropertyDescriptor(O, P);
2444
+ return $getOwnPropertyDescriptor$1(O, P);
2097
2445
  } catch (error) { /* empty */ }
2098
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!propertyIsEnumerableModule$1.f.call(O, P), O[P]);
2446
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]);
2099
2447
  };
2100
2448
 
2101
2449
  var objectDefineProperty = {};
2102
2450
 
2451
+ var DESCRIPTORS$7 = descriptors;
2452
+ var fails$c = fails$i;
2453
+
2454
+ // V8 ~ Chrome 36-
2455
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
2456
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () {
2457
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2458
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
2459
+ value: 42,
2460
+ writable: false
2461
+ }).prototype != 42;
2462
+ });
2463
+
2464
+ var global$h = global$w;
2103
2465
  var isObject$3 = isObject$7;
2104
2466
 
2467
+ var String$2 = global$h.String;
2468
+ var TypeError$6 = global$h.TypeError;
2469
+
2105
2470
  // `Assert: Type(argument) is Object`
2106
2471
  var anObject$a = function (argument) {
2107
2472
  if (isObject$3(argument)) return argument;
2108
- throw TypeError(String(argument) + ' is not an object');
2473
+ throw TypeError$6(String$2(argument) + ' is not an object');
2109
2474
  };
2110
2475
 
2476
+ var global$g = global$w;
2111
2477
  var DESCRIPTORS$6 = descriptors;
2112
2478
  var IE8_DOM_DEFINE = ie8DomDefine;
2479
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
2113
2480
  var anObject$9 = anObject$a;
2114
- var toPropertyKey = toPropertyKey$2;
2481
+ var toPropertyKey$1 = toPropertyKey$3;
2115
2482
 
2483
+ var TypeError$5 = global$g.TypeError;
2116
2484
  // eslint-disable-next-line es/no-object-defineproperty -- safe
2117
2485
  var $defineProperty = Object.defineProperty;
2486
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2487
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2488
+ var ENUMERABLE = 'enumerable';
2489
+ var CONFIGURABLE$1 = 'configurable';
2490
+ var WRITABLE = 'writable';
2118
2491
 
2119
2492
  // `Object.defineProperty` method
2120
2493
  // https://tc39.es/ecma262/#sec-object.defineproperty
2121
- var f$2 = objectDefineProperty.f = DESCRIPTORS$6 ? $defineProperty : function defineProperty(O, P, Attributes) {
2494
+ var f$3 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
2122
2495
  anObject$9(O);
2123
- P = toPropertyKey(P);
2496
+ P = toPropertyKey$1(P);
2497
+ anObject$9(Attributes);
2498
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
2499
+ var current = $getOwnPropertyDescriptor(O, P);
2500
+ if (current && current[WRITABLE]) {
2501
+ O[P] = Attributes.value;
2502
+ Attributes = {
2503
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
2504
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
2505
+ writable: false
2506
+ };
2507
+ }
2508
+ } return $defineProperty(O, P, Attributes);
2509
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
2510
+ anObject$9(O);
2511
+ P = toPropertyKey$1(P);
2124
2512
  anObject$9(Attributes);
2125
2513
  if (IE8_DOM_DEFINE) try {
2126
2514
  return $defineProperty(O, P, Attributes);
2127
2515
  } catch (error) { /* empty */ }
2128
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
2516
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported');
2129
2517
  if ('value' in Attributes) O[P] = Attributes.value;
2130
2518
  return O;
2131
2519
  };
2132
2520
 
2133
2521
  var DESCRIPTORS$5 = descriptors;
2134
- var definePropertyModule$2 = objectDefineProperty;
2135
- var createPropertyDescriptor = createPropertyDescriptor$2;
2522
+ var definePropertyModule$3 = objectDefineProperty;
2523
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
2136
2524
 
2137
2525
  var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
2138
- return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
2526
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
2139
2527
  } : function (object, key, value) {
2140
2528
  object[key] = value;
2141
2529
  return object;
2142
2530
  };
2143
2531
 
2144
- var redefine$3 = {exports: {}};
2532
+ var redefine$4 = {exports: {}};
2145
2533
 
2534
+ var uncurryThis$i = functionUncurryThis;
2146
2535
  var isCallable$7 = isCallable$d;
2147
2536
  var store$1 = sharedStore;
2148
2537
 
2149
- var functionToString = Function.toString;
2538
+ var functionToString$1 = uncurryThis$i(Function.toString);
2150
2539
 
2151
2540
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
2152
2541
  if (!isCallable$7(store$1.inspectSource)) {
2153
2542
  store$1.inspectSource = function (it) {
2154
- return functionToString.call(it);
2543
+ return functionToString$1(it);
2155
2544
  };
2156
2545
  }
2157
2546
 
2158
2547
  var inspectSource$3 = store$1.inspectSource;
2159
2548
 
2160
- var global$7 = global$e;
2549
+ var global$f = global$w;
2161
2550
  var isCallable$6 = isCallable$d;
2162
2551
  var inspectSource$2 = inspectSource$3;
2163
2552
 
2164
- var WeakMap$2 = global$7.WeakMap;
2553
+ var WeakMap$2 = global$f.WeakMap;
2165
2554
 
2166
2555
  var nativeWeakMap = isCallable$6(WeakMap$2) && /native code/.test(inspectSource$2(WeakMap$2));
2167
2556
 
@@ -2177,7 +2566,8 @@ var sharedKey$2 = function (key) {
2177
2566
  var hiddenKeys$4 = {};
2178
2567
 
2179
2568
  var NATIVE_WEAK_MAP = nativeWeakMap;
2180
- var global$6 = global$e;
2569
+ var global$e = global$w;
2570
+ var uncurryThis$h = functionUncurryThis;
2181
2571
  var isObject$2 = isObject$7;
2182
2572
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
2183
2573
  var hasOwn$4 = hasOwnProperty_1;
@@ -2186,7 +2576,8 @@ var sharedKey$1 = sharedKey$2;
2186
2576
  var hiddenKeys$3 = hiddenKeys$4;
2187
2577
 
2188
2578
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
2189
- var WeakMap$1 = global$6.WeakMap;
2579
+ var TypeError$4 = global$e.TypeError;
2580
+ var WeakMap$1 = global$e.WeakMap;
2190
2581
  var set, get, has;
2191
2582
 
2192
2583
  var enforce = function (it) {
@@ -2197,33 +2588,33 @@ var getterFor = function (TYPE) {
2197
2588
  return function (it) {
2198
2589
  var state;
2199
2590
  if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
2200
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
2591
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
2201
2592
  } return state;
2202
2593
  };
2203
2594
  };
2204
2595
 
2205
2596
  if (NATIVE_WEAK_MAP || shared$1.state) {
2206
2597
  var store = shared$1.state || (shared$1.state = new WeakMap$1());
2207
- var wmget = store.get;
2208
- var wmhas = store.has;
2209
- var wmset = store.set;
2598
+ var wmget = uncurryThis$h(store.get);
2599
+ var wmhas = uncurryThis$h(store.has);
2600
+ var wmset = uncurryThis$h(store.set);
2210
2601
  set = function (it, metadata) {
2211
- if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2602
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
2212
2603
  metadata.facade = it;
2213
- wmset.call(store, it, metadata);
2604
+ wmset(store, it, metadata);
2214
2605
  return metadata;
2215
2606
  };
2216
2607
  get = function (it) {
2217
- return wmget.call(store, it) || {};
2608
+ return wmget(store, it) || {};
2218
2609
  };
2219
2610
  has = function (it) {
2220
- return wmhas.call(store, it);
2611
+ return wmhas(store, it);
2221
2612
  };
2222
2613
  } else {
2223
2614
  var STATE = sharedKey$1('state');
2224
2615
  hiddenKeys$3[STATE] = true;
2225
2616
  set = function (it, metadata) {
2226
- if (hasOwn$4(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
2617
+ if (hasOwn$4(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
2227
2618
  metadata.facade = it;
2228
2619
  createNonEnumerableProperty$3(it, STATE, metadata);
2229
2620
  return metadata;
@@ -2247,14 +2638,14 @@ var internalState = {
2247
2638
  var DESCRIPTORS$4 = descriptors;
2248
2639
  var hasOwn$3 = hasOwnProperty_1;
2249
2640
 
2250
- var FunctionPrototype$1 = Function.prototype;
2641
+ var FunctionPrototype$2 = Function.prototype;
2251
2642
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2252
2643
  var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
2253
2644
 
2254
- var EXISTS = hasOwn$3(FunctionPrototype$1, 'name');
2645
+ var EXISTS = hasOwn$3(FunctionPrototype$2, 'name');
2255
2646
  // additional protection from minified / mangled / dropped function names
2256
2647
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
2257
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
2648
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$2, 'name').configurable));
2258
2649
 
2259
2650
  var functionName = {
2260
2651
  EXISTS: EXISTS,
@@ -2262,7 +2653,7 @@ var functionName = {
2262
2653
  CONFIGURABLE: CONFIGURABLE
2263
2654
  };
2264
2655
 
2265
- var global$5 = global$e;
2656
+ var global$d = global$w;
2266
2657
  var isCallable$5 = isCallable$d;
2267
2658
  var hasOwn$2 = hasOwnProperty_1;
2268
2659
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
@@ -2275,7 +2666,7 @@ var getInternalState$1 = InternalStateModule.get;
2275
2666
  var enforceInternalState = InternalStateModule.enforce;
2276
2667
  var TEMPLATE = String(String).split('String');
2277
2668
 
2278
- (redefine$3.exports = function (O, key, value, options) {
2669
+ (redefine$4.exports = function (O, key, value, options) {
2279
2670
  var unsafe = options ? !!options.unsafe : false;
2280
2671
  var simple = options ? !!options.enumerable : false;
2281
2672
  var noTargetGet = options ? !!options.noTargetGet : false;
@@ -2293,7 +2684,7 @@ var TEMPLATE = String(String).split('String');
2293
2684
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
2294
2685
  }
2295
2686
  }
2296
- if (O === global$5) {
2687
+ if (O === global$d) {
2297
2688
  if (simple) O[key] = value;
2298
2689
  else setGlobal$1(key, value);
2299
2690
  return;
@@ -2309,7 +2700,7 @@ var TEMPLATE = String(String).split('String');
2309
2700
  return isCallable$5(this) && getInternalState$1(this).source || inspectSource$1(this);
2310
2701
  });
2311
2702
 
2312
- var redefine$2 = redefine$3.exports;
2703
+ var redefine$3 = redefine$4.exports;
2313
2704
 
2314
2705
  var objectGetOwnPropertyNames = {};
2315
2706
 
@@ -2326,15 +2717,15 @@ var toIntegerOrInfinity$4 = function (argument) {
2326
2717
 
2327
2718
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
2328
2719
 
2329
- var max$1 = Math.max;
2720
+ var max$2 = Math.max;
2330
2721
  var min$4 = Math.min;
2331
2722
 
2332
2723
  // Helper for a popular repeating case of the spec:
2333
2724
  // Let integer be ? ToInteger(index).
2334
2725
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
2335
- var toAbsoluteIndex$1 = function (index, length) {
2726
+ var toAbsoluteIndex$2 = function (index, length) {
2336
2727
  var integer = toIntegerOrInfinity$3(index);
2337
- return integer < 0 ? max$1(integer + length, 0) : min$4(integer, length);
2728
+ return integer < 0 ? max$2(integer + length, 0) : min$4(integer, length);
2338
2729
  };
2339
2730
 
2340
2731
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
@@ -2351,20 +2742,20 @@ var toLength$4 = toLength$5;
2351
2742
 
2352
2743
  // `LengthOfArrayLike` abstract operation
2353
2744
  // https://tc39.es/ecma262/#sec-lengthofarraylike
2354
- var lengthOfArrayLike$2 = function (obj) {
2745
+ var lengthOfArrayLike$3 = function (obj) {
2355
2746
  return toLength$4(obj.length);
2356
2747
  };
2357
2748
 
2358
- var toIndexedObject$2 = toIndexedObject$4;
2359
- var toAbsoluteIndex = toAbsoluteIndex$1;
2360
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
2749
+ var toIndexedObject$3 = toIndexedObject$5;
2750
+ var toAbsoluteIndex$1 = toAbsoluteIndex$2;
2751
+ var lengthOfArrayLike$2 = lengthOfArrayLike$3;
2361
2752
 
2362
2753
  // `Array.prototype.{ indexOf, includes }` methods implementation
2363
2754
  var createMethod$4 = function (IS_INCLUDES) {
2364
2755
  return function ($this, el, fromIndex) {
2365
- var O = toIndexedObject$2($this);
2366
- var length = lengthOfArrayLike$1(O);
2367
- var index = toAbsoluteIndex(fromIndex, length);
2756
+ var O = toIndexedObject$3($this);
2757
+ var length = lengthOfArrayLike$2(O);
2758
+ var index = toAbsoluteIndex$1(fromIndex, length);
2368
2759
  var value;
2369
2760
  // Array#includes uses SameValueZero equality algorithm
2370
2761
  // eslint-disable-next-line no-self-compare -- NaN check
@@ -2388,20 +2779,23 @@ var arrayIncludes = {
2388
2779
  indexOf: createMethod$4(false)
2389
2780
  };
2390
2781
 
2782
+ var uncurryThis$g = functionUncurryThis;
2391
2783
  var hasOwn$1 = hasOwnProperty_1;
2392
- var toIndexedObject$1 = toIndexedObject$4;
2393
- var indexOf = arrayIncludes.indexOf;
2784
+ var toIndexedObject$2 = toIndexedObject$5;
2785
+ var indexOf$1 = arrayIncludes.indexOf;
2394
2786
  var hiddenKeys$2 = hiddenKeys$4;
2395
2787
 
2788
+ var push$4 = uncurryThis$g([].push);
2789
+
2396
2790
  var objectKeysInternal = function (object, names) {
2397
- var O = toIndexedObject$1(object);
2791
+ var O = toIndexedObject$2(object);
2398
2792
  var i = 0;
2399
2793
  var result = [];
2400
2794
  var key;
2401
- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && result.push(key);
2795
+ for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$4(result, key);
2402
2796
  // Don't enum bug & hidden keys
2403
2797
  while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
2404
- ~indexOf(result, key) || result.push(key);
2798
+ ~indexOf$1(result, key) || push$4(result, key);
2405
2799
  }
2406
2800
  return result;
2407
2801
  };
@@ -2425,43 +2819,48 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
2425
2819
  // `Object.getOwnPropertyNames` method
2426
2820
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
2427
2821
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
2428
- var f$1 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
2822
+ var f$2 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
2429
2823
  return internalObjectKeys$1(O, hiddenKeys$1);
2430
2824
  };
2431
2825
 
2432
2826
  var objectGetOwnPropertySymbols = {};
2433
2827
 
2434
2828
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
2435
- var f = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
2829
+ var f$1 = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
2436
2830
 
2437
2831
  var getBuiltIn$2 = getBuiltIn$5;
2832
+ var uncurryThis$f = functionUncurryThis;
2438
2833
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
2439
2834
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
2440
2835
  var anObject$8 = anObject$a;
2441
2836
 
2837
+ var concat$2 = uncurryThis$f([].concat);
2838
+
2442
2839
  // all object keys, includes non-enumerable and symbols
2443
2840
  var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
2444
2841
  var keys = getOwnPropertyNamesModule.f(anObject$8(it));
2445
2842
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
2446
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
2843
+ return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
2447
2844
  };
2448
2845
 
2449
2846
  var hasOwn = hasOwnProperty_1;
2450
2847
  var ownKeys = ownKeys$1;
2451
2848
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
2452
- var definePropertyModule$1 = objectDefineProperty;
2849
+ var definePropertyModule$2 = objectDefineProperty;
2453
2850
 
2454
- var copyConstructorProperties$1 = function (target, source) {
2851
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
2455
2852
  var keys = ownKeys(source);
2456
- var defineProperty = definePropertyModule$1.f;
2853
+ var defineProperty = definePropertyModule$2.f;
2457
2854
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
2458
2855
  for (var i = 0; i < keys.length; i++) {
2459
2856
  var key = keys[i];
2460
- if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2857
+ if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
2858
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
2859
+ }
2461
2860
  }
2462
2861
  };
2463
2862
 
2464
- var fails$a = fails$f;
2863
+ var fails$b = fails$i;
2465
2864
  var isCallable$4 = isCallable$d;
2466
2865
 
2467
2866
  var replacement = /#|\.prototype\./;
@@ -2470,7 +2869,7 @@ var isForced$1 = function (feature, detection) {
2470
2869
  var value = data[normalize(feature)];
2471
2870
  return value == POLYFILL ? true
2472
2871
  : value == NATIVE ? false
2473
- : isCallable$4(detection) ? fails$a(detection)
2872
+ : isCallable$4(detection) ? fails$b(detection)
2474
2873
  : !!detection;
2475
2874
  };
2476
2875
 
@@ -2484,10 +2883,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
2484
2883
 
2485
2884
  var isForced_1 = isForced$1;
2486
2885
 
2487
- var global$4 = global$e;
2886
+ var global$c = global$w;
2488
2887
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2489
2888
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
2490
- var redefine$1 = redefine$3.exports;
2889
+ var redefine$2 = redefine$4.exports;
2491
2890
  var setGlobal = setGlobal$3;
2492
2891
  var copyConstructorProperties = copyConstructorProperties$1;
2493
2892
  var isForced = isForced_1;
@@ -2513,11 +2912,11 @@ var _export = function (options, source) {
2513
2912
  var STATIC = options.stat;
2514
2913
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2515
2914
  if (GLOBAL) {
2516
- target = global$4;
2915
+ target = global$c;
2517
2916
  } else if (STATIC) {
2518
- target = global$4[TARGET] || setGlobal(TARGET, {});
2917
+ target = global$c[TARGET] || setGlobal(TARGET, {});
2519
2918
  } else {
2520
- target = (global$4[TARGET] || {}).prototype;
2919
+ target = (global$c[TARGET] || {}).prototype;
2521
2920
  }
2522
2921
  if (target) for (key in source) {
2523
2922
  sourceProperty = source[key];
@@ -2528,7 +2927,7 @@ var _export = function (options, source) {
2528
2927
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
2529
2928
  // contained in target
2530
2929
  if (!FORCED && targetProperty !== undefined) {
2531
- if (typeof sourceProperty === typeof targetProperty) continue;
2930
+ if (typeof sourceProperty == typeof targetProperty) continue;
2532
2931
  copyConstructorProperties(sourceProperty, targetProperty);
2533
2932
  }
2534
2933
  // add a flag to not completely full polyfills
@@ -2536,10 +2935,130 @@ var _export = function (options, source) {
2536
2935
  createNonEnumerableProperty$1(sourceProperty, 'sham', true);
2537
2936
  }
2538
2937
  // extend global
2539
- redefine$1(target, key, sourceProperty, options);
2938
+ redefine$2(target, key, sourceProperty, options);
2540
2939
  }
2541
2940
  };
2542
2941
 
2942
+ var wellKnownSymbol$8 = wellKnownSymbol$a;
2943
+
2944
+ var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
2945
+ var test = {};
2946
+
2947
+ test[TO_STRING_TAG$1] = 'z';
2948
+
2949
+ var toStringTagSupport = String(test) === '[object z]';
2950
+
2951
+ var global$b = global$w;
2952
+ var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
2953
+ var isCallable$3 = isCallable$d;
2954
+ var classofRaw = classofRaw$1;
2955
+ var wellKnownSymbol$7 = wellKnownSymbol$a;
2956
+
2957
+ var TO_STRING_TAG = wellKnownSymbol$7('toStringTag');
2958
+ var Object$1 = global$b.Object;
2959
+
2960
+ // ES3 wrong here
2961
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2962
+
2963
+ // fallback for IE11 Script Access Denied error
2964
+ var tryGet = function (it, key) {
2965
+ try {
2966
+ return it[key];
2967
+ } catch (error) { /* empty */ }
2968
+ };
2969
+
2970
+ // getting tag from ES6+ `Object.prototype.toString`
2971
+ var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2972
+ var O, tag, result;
2973
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
2974
+ // @@toStringTag case
2975
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2976
+ // builtinTag case
2977
+ : CORRECT_ARGUMENTS ? classofRaw(O)
2978
+ // ES3 arguments fallback
2979
+ : (result = classofRaw(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;
2980
+ };
2981
+
2982
+ var global$a = global$w;
2983
+ var classof$5 = classof$6;
2984
+
2985
+ var String$1 = global$a.String;
2986
+
2987
+ var toString$9 = function (argument) {
2988
+ if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2989
+ return String$1(argument);
2990
+ };
2991
+
2992
+ // a string of all valid unicode whitespaces
2993
+ var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
2994
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
2995
+
2996
+ var uncurryThis$e = functionUncurryThis;
2997
+ var requireObjectCoercible$5 = requireObjectCoercible$8;
2998
+ var toString$8 = toString$9;
2999
+ var whitespaces$2 = whitespaces$3;
3000
+
3001
+ var replace$2 = uncurryThis$e(''.replace);
3002
+ var whitespace = '[' + whitespaces$2 + ']';
3003
+ var ltrim = RegExp('^' + whitespace + whitespace + '*');
3004
+ var rtrim = RegExp(whitespace + whitespace + '*$');
3005
+
3006
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
3007
+ var createMethod$3 = function (TYPE) {
3008
+ return function ($this) {
3009
+ var string = toString$8(requireObjectCoercible$5($this));
3010
+ if (TYPE & 1) string = replace$2(string, ltrim, '');
3011
+ if (TYPE & 2) string = replace$2(string, rtrim, '');
3012
+ return string;
3013
+ };
3014
+ };
3015
+
3016
+ var stringTrim = {
3017
+ // `String.prototype.{ trimLeft, trimStart }` methods
3018
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
3019
+ start: createMethod$3(1),
3020
+ // `String.prototype.{ trimRight, trimEnd }` methods
3021
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
3022
+ end: createMethod$3(2),
3023
+ // `String.prototype.trim` method
3024
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
3025
+ trim: createMethod$3(3)
3026
+ };
3027
+
3028
+ var global$9 = global$w;
3029
+ var fails$a = fails$i;
3030
+ var uncurryThis$d = functionUncurryThis;
3031
+ var toString$7 = toString$9;
3032
+ var trim = stringTrim.trim;
3033
+ var whitespaces$1 = whitespaces$3;
3034
+
3035
+ var charAt$4 = uncurryThis$d(''.charAt);
3036
+ var n$ParseFloat = global$9.parseFloat;
3037
+ var Symbol$1 = global$9.Symbol;
3038
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
3039
+ var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
3040
+ // MS Edge 18- broken with boxed symbols
3041
+ || (ITERATOR && !fails$a(function () { n$ParseFloat(Object(ITERATOR)); }));
3042
+
3043
+ // `parseFloat` method
3044
+ // https://tc39.es/ecma262/#sec-parsefloat-string
3045
+ var numberParseFloat = FORCED ? function parseFloat(string) {
3046
+ var trimmedString = trim(toString$7(string));
3047
+ var result = n$ParseFloat(trimmedString);
3048
+ return result === 0 && charAt$4(trimmedString, 0) == '-' ? -0 : result;
3049
+ } : n$ParseFloat;
3050
+
3051
+ var $$8 = _export;
3052
+ var $parseFloat = numberParseFloat;
3053
+
3054
+ // `parseFloat` method
3055
+ // https://tc39.es/ecma262/#sec-parsefloat-string
3056
+ $$8({ global: true, forced: parseFloat != $parseFloat }, {
3057
+ parseFloat: $parseFloat
3058
+ });
3059
+
3060
+ var es_object_entries = {};
3061
+
2543
3062
  var internalObjectKeys = objectKeysInternal;
2544
3063
  var enumBugKeys$1 = enumBugKeys$3;
2545
3064
 
@@ -2551,14 +3070,18 @@ var objectKeys$3 = Object.keys || function keys(O) {
2551
3070
  };
2552
3071
 
2553
3072
  var DESCRIPTORS$3 = descriptors;
3073
+ var uncurryThis$c = functionUncurryThis;
2554
3074
  var objectKeys$2 = objectKeys$3;
2555
- var toIndexedObject = toIndexedObject$4;
2556
- var propertyIsEnumerable = objectPropertyIsEnumerable.f;
3075
+ var toIndexedObject$1 = toIndexedObject$5;
3076
+ var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
3077
+
3078
+ var propertyIsEnumerable = uncurryThis$c($propertyIsEnumerable);
3079
+ var push$3 = uncurryThis$c([].push);
2557
3080
 
2558
3081
  // `Object.{ entries, values }` methods implementation
2559
- var createMethod$3 = function (TO_ENTRIES) {
3082
+ var createMethod$2 = function (TO_ENTRIES) {
2560
3083
  return function (it) {
2561
- var O = toIndexedObject(it);
3084
+ var O = toIndexedObject$1(it);
2562
3085
  var keys = objectKeys$2(O);
2563
3086
  var length = keys.length;
2564
3087
  var i = 0;
@@ -2566,8 +3089,8 @@ var createMethod$3 = function (TO_ENTRIES) {
2566
3089
  var key;
2567
3090
  while (length > i) {
2568
3091
  key = keys[i++];
2569
- if (!DESCRIPTORS$3 || propertyIsEnumerable.call(O, key)) {
2570
- result.push(TO_ENTRIES ? [key, O[key]] : O[key]);
3092
+ if (!DESCRIPTORS$3 || propertyIsEnumerable(O, key)) {
3093
+ push$3(result, TO_ENTRIES ? [key, O[key]] : O[key]);
2571
3094
  }
2572
3095
  }
2573
3096
  return result;
@@ -2577,10 +3100,10 @@ var createMethod$3 = function (TO_ENTRIES) {
2577
3100
  var objectToArray = {
2578
3101
  // `Object.entries` method
2579
3102
  // https://tc39.es/ecma262/#sec-object.entries
2580
- entries: createMethod$3(true),
3103
+ entries: createMethod$2(true),
2581
3104
  // `Object.values` method
2582
3105
  // https://tc39.es/ecma262/#sec-object.values
2583
- values: createMethod$3(false)
3106
+ values: createMethod$2(false)
2584
3107
  };
2585
3108
 
2586
3109
  var $$7 = _export;
@@ -2596,52 +3119,8 @@ $$7({ target: 'Object', stat: true }, {
2596
3119
 
2597
3120
  var es_string_endsWith = {};
2598
3121
 
2599
- var wellKnownSymbol$8 = wellKnownSymbol$a;
2600
-
2601
- var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');
2602
- var test = {};
2603
-
2604
- test[TO_STRING_TAG$1] = 'z';
2605
-
2606
- var toStringTagSupport = String(test) === '[object z]';
2607
-
2608
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2609
- var isCallable$3 = isCallable$d;
2610
- var classofRaw = classofRaw$1;
2611
- var wellKnownSymbol$7 = wellKnownSymbol$a;
2612
-
2613
- var TO_STRING_TAG = wellKnownSymbol$7('toStringTag');
2614
- // ES3 wrong here
2615
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
2616
-
2617
- // fallback for IE11 Script Access Denied error
2618
- var tryGet = function (it, key) {
2619
- try {
2620
- return it[key];
2621
- } catch (error) { /* empty */ }
2622
- };
2623
-
2624
- // getting tag from ES6+ `Object.prototype.toString`
2625
- var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
2626
- var O, tag, result;
2627
- return it === undefined ? 'Undefined' : it === null ? 'Null'
2628
- // @@toStringTag case
2629
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
2630
- // builtinTag case
2631
- : CORRECT_ARGUMENTS ? classofRaw(O)
2632
- // ES3 arguments fallback
2633
- : (result = classofRaw(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;
2634
- };
2635
-
2636
- var classof$4 = classof$5;
2637
-
2638
- var toString$7 = function (argument) {
2639
- if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2640
- return String(argument);
2641
- };
2642
-
2643
3122
  var isObject$1 = isObject$7;
2644
- var classof$3 = classofRaw$1;
3123
+ var classof$4 = classofRaw$1;
2645
3124
  var wellKnownSymbol$6 = wellKnownSymbol$a;
2646
3125
 
2647
3126
  var MATCH$1 = wellKnownSymbol$6('match');
@@ -2650,14 +3129,17 @@ var MATCH$1 = wellKnownSymbol$6('match');
2650
3129
  // https://tc39.es/ecma262/#sec-isregexp
2651
3130
  var isRegexp = function (it) {
2652
3131
  var isRegExp;
2653
- return isObject$1(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) == 'RegExp');
3132
+ return isObject$1(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$4(it) == 'RegExp');
2654
3133
  };
2655
3134
 
3135
+ var global$8 = global$w;
2656
3136
  var isRegExp$1 = isRegexp;
2657
3137
 
3138
+ var TypeError$3 = global$8.TypeError;
3139
+
2658
3140
  var notARegexp = function (it) {
2659
3141
  if (isRegExp$1(it)) {
2660
- throw TypeError("The method doesn't accept regular expressions");
3142
+ throw TypeError$3("The method doesn't accept regular expressions");
2661
3143
  } return it;
2662
3144
  };
2663
3145
 
@@ -2679,16 +3161,18 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
2679
3161
 
2680
3162
  'use strict';
2681
3163
  var $$6 = _export;
3164
+ var uncurryThis$b = functionUncurryThis;
2682
3165
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
2683
3166
  var toLength$3 = toLength$5;
2684
- var toString$6 = toString$7;
3167
+ var toString$6 = toString$9;
2685
3168
  var notARegExp = notARegexp;
2686
- var requireObjectCoercible$5 = requireObjectCoercible$8;
3169
+ var requireObjectCoercible$4 = requireObjectCoercible$8;
2687
3170
  var correctIsRegExpLogic = correctIsRegexpLogic;
2688
3171
  var IS_PURE = isPure;
2689
3172
 
2690
3173
  // eslint-disable-next-line es/no-string-prototype-endswith -- safe
2691
- var $endsWith = ''.endsWith;
3174
+ var un$EndsWith = uncurryThis$b(''.endsWith);
3175
+ var slice = uncurryThis$b(''.slice);
2692
3176
  var min$2 = Math.min;
2693
3177
 
2694
3178
  var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
@@ -2702,15 +3186,15 @@ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
2702
3186
  // https://tc39.es/ecma262/#sec-string.prototype.endswith
2703
3187
  $$6({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
2704
3188
  endsWith: function endsWith(searchString /* , endPosition = @length */) {
2705
- var that = toString$6(requireObjectCoercible$5(this));
3189
+ var that = toString$6(requireObjectCoercible$4(this));
2706
3190
  notARegExp(searchString);
2707
3191
  var endPosition = arguments.length > 1 ? arguments[1] : undefined;
2708
3192
  var len = that.length;
2709
3193
  var end = endPosition === undefined ? len : min$2(toLength$3(endPosition), len);
2710
3194
  var search = toString$6(searchString);
2711
- return $endsWith
2712
- ? $endsWith.call(that, search, end)
2713
- : that.slice(end - search.length, end) === search;
3195
+ return un$EndsWith
3196
+ ? un$EndsWith(that, search, end)
3197
+ : slice(that, end - search.length, end) === search;
2714
3198
  }
2715
3199
  });
2716
3200
 
@@ -2733,42 +3217,57 @@ var regexpFlags$1 = function () {
2733
3217
  return result;
2734
3218
  };
2735
3219
 
2736
- var regexpStickyHelpers = {};
2737
-
2738
- var fails$9 = fails$f;
2739
- var global$3 = global$e;
3220
+ var fails$9 = fails$i;
3221
+ var global$7 = global$w;
2740
3222
 
2741
3223
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2742
- var $RegExp$2 = global$3.RegExp;
3224
+ var $RegExp$2 = global$7.RegExp;
2743
3225
 
2744
- var UNSUPPORTED_Y$2 = regexpStickyHelpers.UNSUPPORTED_Y = fails$9(function () {
3226
+ var UNSUPPORTED_Y$2 = fails$9(function () {
2745
3227
  var re = $RegExp$2('a', 'y');
2746
3228
  re.lastIndex = 2;
2747
3229
  return re.exec('abcd') != null;
2748
3230
  });
2749
3231
 
2750
- var BROKEN_CARET = regexpStickyHelpers.BROKEN_CARET = fails$9(function () {
3232
+ // UC Browser bug
3233
+ // https://github.com/zloirock/core-js/issues/1008
3234
+ var MISSED_STICKY = UNSUPPORTED_Y$2 || fails$9(function () {
3235
+ return !$RegExp$2('a', 'y').sticky;
3236
+ });
3237
+
3238
+ var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$9(function () {
2751
3239
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
2752
3240
  var re = $RegExp$2('^r', 'gy');
2753
3241
  re.lastIndex = 2;
2754
3242
  return re.exec('str') != null;
2755
3243
  });
2756
3244
 
3245
+ var regexpStickyHelpers = {
3246
+ BROKEN_CARET: BROKEN_CARET,
3247
+ MISSED_STICKY: MISSED_STICKY,
3248
+ UNSUPPORTED_Y: UNSUPPORTED_Y$2
3249
+ };
3250
+
3251
+ var objectDefineProperties = {};
3252
+
2757
3253
  var DESCRIPTORS$2 = descriptors;
2758
- var definePropertyModule = objectDefineProperty;
3254
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
3255
+ var definePropertyModule$1 = objectDefineProperty;
2759
3256
  var anObject$6 = anObject$a;
3257
+ var toIndexedObject = toIndexedObject$5;
2760
3258
  var objectKeys$1 = objectKeys$3;
2761
3259
 
2762
3260
  // `Object.defineProperties` method
2763
3261
  // https://tc39.es/ecma262/#sec-object.defineproperties
2764
3262
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2765
- var objectDefineProperties = DESCRIPTORS$2 ? Object.defineProperties : function defineProperties(O, Properties) {
3263
+ var f = objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2766
3264
  anObject$6(O);
3265
+ var props = toIndexedObject(Properties);
2767
3266
  var keys = objectKeys$1(Properties);
2768
3267
  var length = keys.length;
2769
3268
  var index = 0;
2770
3269
  var key;
2771
- while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
3270
+ while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
2772
3271
  return O;
2773
3272
  };
2774
3273
 
@@ -2779,7 +3278,7 @@ var html$1 = getBuiltIn$1('document', 'documentElement');
2779
3278
  /* global ActiveXObject -- old IE, WSH */
2780
3279
 
2781
3280
  var anObject$5 = anObject$a;
2782
- var defineProperties = objectDefineProperties;
3281
+ var definePropertiesModule = objectDefineProperties;
2783
3282
  var enumBugKeys = enumBugKeys$3;
2784
3283
  var hiddenKeys = hiddenKeys$4;
2785
3284
  var html = html$1;
@@ -2857,25 +3356,25 @@ var objectCreate = Object.create || function create(O, Properties) {
2857
3356
  // add "__proto__" for Object.getPrototypeOf polyfill
2858
3357
  result[IE_PROTO] = O;
2859
3358
  } else result = NullProtoObject();
2860
- return Properties === undefined ? result : defineProperties(result, Properties);
3359
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
2861
3360
  };
2862
3361
 
2863
- var fails$8 = fails$f;
2864
- var global$2 = global$e;
3362
+ var fails$8 = fails$i;
3363
+ var global$6 = global$w;
2865
3364
 
2866
3365
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
2867
- var $RegExp$1 = global$2.RegExp;
3366
+ var $RegExp$1 = global$6.RegExp;
2868
3367
 
2869
3368
  var regexpUnsupportedDotAll = fails$8(function () {
2870
3369
  var re = $RegExp$1('.', 's');
2871
3370
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
2872
3371
  });
2873
3372
 
2874
- var fails$7 = fails$f;
2875
- var global$1 = global$e;
3373
+ var fails$7 = fails$i;
3374
+ var global$5 = global$w;
2876
3375
 
2877
3376
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2878
- var $RegExp = global$1.RegExp;
3377
+ var $RegExp = global$5.RegExp;
2879
3378
 
2880
3379
  var regexpUnsupportedNcg = fails$7(function () {
2881
3380
  var re = $RegExp('(?<a>b)', 'g');
@@ -2886,7 +3385,9 @@ var regexpUnsupportedNcg = fails$7(function () {
2886
3385
  'use strict';
2887
3386
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2888
3387
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2889
- var toString$5 = toString$7;
3388
+ var call$6 = functionCall;
3389
+ var uncurryThis$a = functionUncurryThis;
3390
+ var toString$5 = toString$9;
2890
3391
  var regexpFlags = regexpFlags$1;
2891
3392
  var stickyHelpers$1 = regexpStickyHelpers;
2892
3393
  var shared = shared$5.exports;
@@ -2895,20 +3396,23 @@ var getInternalState = internalState.get;
2895
3396
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
2896
3397
  var UNSUPPORTED_NCG = regexpUnsupportedNcg;
2897
3398
 
2898
- var nativeExec = RegExp.prototype.exec;
2899
3399
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2900
-
3400
+ var nativeExec = RegExp.prototype.exec;
2901
3401
  var patchedExec = nativeExec;
3402
+ var charAt$3 = uncurryThis$a(''.charAt);
3403
+ var indexOf = uncurryThis$a(''.indexOf);
3404
+ var replace$1 = uncurryThis$a(''.replace);
3405
+ var stringSlice$4 = uncurryThis$a(''.slice);
2902
3406
 
2903
3407
  var UPDATES_LAST_INDEX_WRONG = (function () {
2904
3408
  var re1 = /a/;
2905
3409
  var re2 = /b*/g;
2906
- nativeExec.call(re1, 'a');
2907
- nativeExec.call(re2, 'a');
3410
+ call$6(nativeExec, re1, 'a');
3411
+ call$6(nativeExec, re2, 'a');
2908
3412
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
2909
3413
  })();
2910
3414
 
2911
- var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y || stickyHelpers$1.BROKEN_CARET;
3415
+ var UNSUPPORTED_Y$1 = stickyHelpers$1.BROKEN_CARET;
2912
3416
 
2913
3417
  // nonparticipating capturing group, copied from es5-shim's String#split patch.
2914
3418
  var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
@@ -2916,7 +3420,6 @@ var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
2916
3420
  var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
2917
3421
 
2918
3422
  if (PATCH) {
2919
- // eslint-disable-next-line max-statements -- TODO
2920
3423
  patchedExec = function exec(string) {
2921
3424
  var re = this;
2922
3425
  var state = getInternalState(re);
@@ -2926,27 +3429,27 @@ if (PATCH) {
2926
3429
 
2927
3430
  if (raw) {
2928
3431
  raw.lastIndex = re.lastIndex;
2929
- result = patchedExec.call(raw, str);
3432
+ result = call$6(patchedExec, raw, str);
2930
3433
  re.lastIndex = raw.lastIndex;
2931
3434
  return result;
2932
3435
  }
2933
3436
 
2934
3437
  var groups = state.groups;
2935
3438
  var sticky = UNSUPPORTED_Y$1 && re.sticky;
2936
- var flags = regexpFlags.call(re);
3439
+ var flags = call$6(regexpFlags, re);
2937
3440
  var source = re.source;
2938
3441
  var charsAdded = 0;
2939
3442
  var strCopy = str;
2940
3443
 
2941
3444
  if (sticky) {
2942
- flags = flags.replace('y', '');
2943
- if (flags.indexOf('g') === -1) {
3445
+ flags = replace$1(flags, 'y', '');
3446
+ if (indexOf(flags, 'g') === -1) {
2944
3447
  flags += 'g';
2945
3448
  }
2946
3449
 
2947
- strCopy = str.slice(re.lastIndex);
3450
+ strCopy = stringSlice$4(str, re.lastIndex);
2948
3451
  // Support anchored sticky behavior.
2949
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\n')) {
3452
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
2950
3453
  source = '(?: ' + source + ')';
2951
3454
  strCopy = ' ' + strCopy;
2952
3455
  charsAdded++;
@@ -2961,12 +3464,12 @@ if (PATCH) {
2961
3464
  }
2962
3465
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
2963
3466
 
2964
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
3467
+ match = call$6(nativeExec, sticky ? reCopy : re, strCopy);
2965
3468
 
2966
3469
  if (sticky) {
2967
3470
  if (match) {
2968
- match.input = match.input.slice(charsAdded);
2969
- match[0] = match[0].slice(charsAdded);
3471
+ match.input = stringSlice$4(match.input, charsAdded);
3472
+ match[0] = stringSlice$4(match[0], charsAdded);
2970
3473
  match.index = re.lastIndex;
2971
3474
  re.lastIndex += match[0].length;
2972
3475
  } else re.lastIndex = 0;
@@ -2976,7 +3479,7 @@ if (PATCH) {
2976
3479
  if (NPCG_INCLUDED && match && match.length > 1) {
2977
3480
  // Fix browsers whose `exec` methods don't consistently return `undefined`
2978
3481
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
2979
- nativeReplace.call(match[0], reCopy, function () {
3482
+ call$6(nativeReplace, match[0], reCopy, function () {
2980
3483
  for (i = 1; i < arguments.length - 2; i++) {
2981
3484
  if (arguments[i] === undefined) match[i] = undefined;
2982
3485
  }
@@ -2999,22 +3502,34 @@ var regexpExec$3 = patchedExec;
2999
3502
 
3000
3503
  'use strict';
3001
3504
  var $$5 = _export;
3002
- var exec$1 = regexpExec$3;
3505
+ var exec$2 = regexpExec$3;
3003
3506
 
3004
3507
  // `RegExp.prototype.exec` method
3005
3508
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
3006
- $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
3007
- exec: exec$1
3509
+ $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec$2 }, {
3510
+ exec: exec$2
3008
3511
  });
3009
3512
 
3010
3513
  var es_string_split = {};
3011
3514
 
3515
+ var NATIVE_BIND$1 = functionBindNative;
3516
+
3517
+ var FunctionPrototype$1 = Function.prototype;
3518
+ var apply$2 = FunctionPrototype$1.apply;
3519
+ var call$5 = FunctionPrototype$1.call;
3520
+
3521
+ // eslint-disable-next-line es/no-reflect -- safe
3522
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$5.bind(apply$2) : function () {
3523
+ return call$5.apply(apply$2, arguments);
3524
+ });
3525
+
3012
3526
  'use strict';
3013
3527
  // TODO: Remove from `core-js@4` since it's moved to entry points
3014
3528
 
3015
- var redefine = redefine$3.exports;
3529
+ var uncurryThis$9 = functionUncurryThis;
3530
+ var redefine$1 = redefine$4.exports;
3016
3531
  var regexpExec$2 = regexpExec$3;
3017
- var fails$6 = fails$f;
3532
+ var fails$6 = fails$i;
3018
3533
  var wellKnownSymbol$4 = wellKnownSymbol$a;
3019
3534
  var createNonEnumerableProperty = createNonEnumerableProperty$4;
3020
3535
 
@@ -3060,60 +3575,72 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
3060
3575
  !DELEGATES_TO_EXEC ||
3061
3576
  FORCED
3062
3577
  ) {
3063
- var nativeRegExpMethod = /./[SYMBOL];
3578
+ var uncurriedNativeRegExpMethod = uncurryThis$9(/./[SYMBOL]);
3064
3579
  var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
3580
+ var uncurriedNativeMethod = uncurryThis$9(nativeMethod);
3065
3581
  var $exec = regexp.exec;
3066
3582
  if ($exec === regexpExec$2 || $exec === RegExpPrototype.exec) {
3067
3583
  if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
3068
3584
  // The native String method already delegates to @@method (this
3069
3585
  // polyfilled function), leasing to infinite recursion.
3070
3586
  // We avoid it by directly calling the native @@method method.
3071
- return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
3587
+ return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
3072
3588
  }
3073
- return { done: true, value: nativeMethod.call(str, regexp, arg2) };
3589
+ return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
3074
3590
  }
3075
3591
  return { done: false };
3076
3592
  });
3077
3593
 
3078
- redefine(String.prototype, KEY, methods[0]);
3079
- redefine(RegExpPrototype, SYMBOL, methods[1]);
3594
+ redefine$1(String.prototype, KEY, methods[0]);
3595
+ redefine$1(RegExpPrototype, SYMBOL, methods[1]);
3080
3596
  }
3081
3597
 
3082
3598
  if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
3083
3599
  };
3084
3600
 
3085
- var fails$5 = fails$f;
3601
+ var uncurryThis$8 = functionUncurryThis;
3602
+ var fails$5 = fails$i;
3086
3603
  var isCallable$2 = isCallable$d;
3087
- var classof$2 = classof$5;
3604
+ var classof$3 = classof$6;
3088
3605
  var getBuiltIn = getBuiltIn$5;
3089
3606
  var inspectSource = inspectSource$3;
3090
3607
 
3608
+ var noop = function () { /* empty */ };
3091
3609
  var empty = [];
3092
3610
  var construct = getBuiltIn('Reflect', 'construct');
3093
3611
  var constructorRegExp = /^\s*(?:class|function)\b/;
3094
- var exec = constructorRegExp.exec;
3095
- var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ });
3612
+ var exec$1 = uncurryThis$8(constructorRegExp.exec);
3613
+ var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
3096
3614
 
3097
- var isConstructorModern = function (argument) {
3615
+ var isConstructorModern = function isConstructor(argument) {
3098
3616
  if (!isCallable$2(argument)) return false;
3099
3617
  try {
3100
- construct(Object, empty, argument);
3618
+ construct(noop, empty, argument);
3101
3619
  return true;
3102
3620
  } catch (error) {
3103
3621
  return false;
3104
3622
  }
3105
3623
  };
3106
3624
 
3107
- var isConstructorLegacy = function (argument) {
3625
+ var isConstructorLegacy = function isConstructor(argument) {
3108
3626
  if (!isCallable$2(argument)) return false;
3109
- switch (classof$2(argument)) {
3627
+ switch (classof$3(argument)) {
3110
3628
  case 'AsyncFunction':
3111
3629
  case 'GeneratorFunction':
3112
3630
  case 'AsyncGeneratorFunction': return false;
3631
+ }
3632
+ try {
3113
3633
  // we can't check .prototype since constructors produced by .bind haven't it
3114
- } return INCORRECT_TO_STRING || !!exec.call(constructorRegExp, inspectSource(argument));
3634
+ // `Function#toString` throws on some built-it function in some legacy engines
3635
+ // (for example, `DOMQuad` and similar in FF41-)
3636
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
3637
+ } catch (error) {
3638
+ return true;
3639
+ }
3115
3640
  };
3116
3641
 
3642
+ isConstructorLegacy.sham = true;
3643
+
3117
3644
  // `IsConstructor` abstract operation
3118
3645
  // https://tc39.es/ecma262/#sec-isconstructor
3119
3646
  var isConstructor$2 = !construct || fails$5(function () {
@@ -3124,13 +3651,16 @@ var isConstructor$2 = !construct || fails$5(function () {
3124
3651
  || called;
3125
3652
  }) ? isConstructorLegacy : isConstructorModern;
3126
3653
 
3654
+ var global$4 = global$w;
3127
3655
  var isConstructor$1 = isConstructor$2;
3128
3656
  var tryToString = tryToString$2;
3129
3657
 
3658
+ var TypeError$2 = global$4.TypeError;
3659
+
3130
3660
  // `Assert: IsConstructor(argument) is true`
3131
3661
  var aConstructor$1 = function (argument) {
3132
3662
  if (isConstructor$1(argument)) return argument;
3133
- throw TypeError(tryToString(argument) + ' is not a constructor');
3663
+ throw TypeError$2(tryToString(argument) + ' is not a constructor');
3134
3664
  };
3135
3665
 
3136
3666
  var anObject$4 = anObject$a;
@@ -3147,80 +3677,129 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
3147
3677
  return C === undefined || (S = anObject$4(C)[SPECIES$2]) == undefined ? defaultConstructor : aConstructor(S);
3148
3678
  };
3149
3679
 
3680
+ var uncurryThis$7 = functionUncurryThis;
3150
3681
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
3151
- var toString$4 = toString$7;
3152
- var requireObjectCoercible$4 = requireObjectCoercible$8;
3682
+ var toString$4 = toString$9;
3683
+ var requireObjectCoercible$3 = requireObjectCoercible$8;
3684
+
3685
+ var charAt$2 = uncurryThis$7(''.charAt);
3686
+ var charCodeAt = uncurryThis$7(''.charCodeAt);
3687
+ var stringSlice$3 = uncurryThis$7(''.slice);
3153
3688
 
3154
- var createMethod$2 = function (CONVERT_TO_STRING) {
3689
+ var createMethod$1 = function (CONVERT_TO_STRING) {
3155
3690
  return function ($this, pos) {
3156
- var S = toString$4(requireObjectCoercible$4($this));
3691
+ var S = toString$4(requireObjectCoercible$3($this));
3157
3692
  var position = toIntegerOrInfinity$1(pos);
3158
3693
  var size = S.length;
3159
3694
  var first, second;
3160
3695
  if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
3161
- first = S.charCodeAt(position);
3696
+ first = charCodeAt(S, position);
3162
3697
  return first < 0xD800 || first > 0xDBFF || position + 1 === size
3163
- || (second = S.charCodeAt(position + 1)) < 0xDC00 || second > 0xDFFF
3164
- ? CONVERT_TO_STRING ? S.charAt(position) : first
3165
- : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
3698
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
3699
+ ? CONVERT_TO_STRING
3700
+ ? charAt$2(S, position)
3701
+ : first
3702
+ : CONVERT_TO_STRING
3703
+ ? stringSlice$3(S, position, position + 2)
3704
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
3166
3705
  };
3167
3706
  };
3168
3707
 
3169
3708
  var stringMultibyte = {
3170
3709
  // `String.prototype.codePointAt` method
3171
3710
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
3172
- codeAt: createMethod$2(false),
3711
+ codeAt: createMethod$1(false),
3173
3712
  // `String.prototype.at` method
3174
3713
  // https://github.com/mathiasbynens/String.prototype.at
3175
- charAt: createMethod$2(true)
3714
+ charAt: createMethod$1(true)
3176
3715
  };
3177
3716
 
3178
3717
  'use strict';
3179
- var charAt = stringMultibyte.charAt;
3718
+ var charAt$1 = stringMultibyte.charAt;
3180
3719
 
3181
3720
  // `AdvanceStringIndex` abstract operation
3182
3721
  // https://tc39.es/ecma262/#sec-advancestringindex
3183
3722
  var advanceStringIndex$3 = function (S, index, unicode) {
3184
- return index + (unicode ? charAt(S, index).length : 1);
3723
+ return index + (unicode ? charAt$1(S, index).length : 1);
3724
+ };
3725
+
3726
+ 'use strict';
3727
+ var toPropertyKey = toPropertyKey$3;
3728
+ var definePropertyModule = objectDefineProperty;
3729
+ var createPropertyDescriptor = createPropertyDescriptor$3;
3730
+
3731
+ var createProperty$1 = function (object, key, value) {
3732
+ var propertyKey = toPropertyKey(key);
3733
+ if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));
3734
+ else object[propertyKey] = value;
3735
+ };
3736
+
3737
+ var global$3 = global$w;
3738
+ var toAbsoluteIndex = toAbsoluteIndex$2;
3739
+ var lengthOfArrayLike$1 = lengthOfArrayLike$3;
3740
+ var createProperty = createProperty$1;
3741
+
3742
+ var Array$2 = global$3.Array;
3743
+ var max$1 = Math.max;
3744
+
3745
+ var arraySliceSimple = function (O, start, end) {
3746
+ var length = lengthOfArrayLike$1(O);
3747
+ var k = toAbsoluteIndex(start, length);
3748
+ var fin = toAbsoluteIndex(end === undefined ? length : end, length);
3749
+ var result = Array$2(max$1(fin - k, 0));
3750
+ for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);
3751
+ result.length = n;
3752
+ return result;
3185
3753
  };
3186
3754
 
3755
+ var global$2 = global$w;
3756
+ var call$4 = functionCall;
3187
3757
  var anObject$3 = anObject$a;
3188
3758
  var isCallable$1 = isCallable$d;
3189
- var classof$1 = classofRaw$1;
3759
+ var classof$2 = classofRaw$1;
3190
3760
  var regexpExec$1 = regexpExec$3;
3191
3761
 
3762
+ var TypeError$1 = global$2.TypeError;
3763
+
3192
3764
  // `RegExpExec` abstract operation
3193
3765
  // https://tc39.es/ecma262/#sec-regexpexec
3194
3766
  var regexpExecAbstract = function (R, S) {
3195
3767
  var exec = R.exec;
3196
3768
  if (isCallable$1(exec)) {
3197
- var result = exec.call(R, S);
3769
+ var result = call$4(exec, R, S);
3198
3770
  if (result !== null) anObject$3(result);
3199
3771
  return result;
3200
3772
  }
3201
- if (classof$1(R) === 'RegExp') return regexpExec$1.call(R, S);
3202
- throw TypeError('RegExp#exec called on incompatible receiver');
3773
+ if (classof$2(R) === 'RegExp') return call$4(regexpExec$1, R, S);
3774
+ throw TypeError$1('RegExp#exec called on incompatible receiver');
3203
3775
  };
3204
3776
 
3205
3777
  'use strict';
3778
+ var apply$1 = functionApply;
3779
+ var call$3 = functionCall;
3780
+ var uncurryThis$6 = functionUncurryThis;
3206
3781
  var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;
3207
3782
  var isRegExp = isRegexp;
3208
3783
  var anObject$2 = anObject$a;
3209
- var requireObjectCoercible$3 = requireObjectCoercible$8;
3784
+ var requireObjectCoercible$2 = requireObjectCoercible$8;
3210
3785
  var speciesConstructor = speciesConstructor$1;
3211
3786
  var advanceStringIndex$2 = advanceStringIndex$3;
3212
3787
  var toLength$2 = toLength$5;
3213
- var toString$3 = toString$7;
3788
+ var toString$3 = toString$9;
3214
3789
  var getMethod$2 = getMethod$4;
3790
+ var arraySlice = arraySliceSimple;
3215
3791
  var callRegExpExec = regexpExecAbstract;
3216
3792
  var regexpExec = regexpExec$3;
3217
3793
  var stickyHelpers = regexpStickyHelpers;
3218
- var fails$4 = fails$f;
3794
+ var fails$4 = fails$i;
3219
3795
 
3220
3796
  var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
3221
- var arrayPush = [].push;
3222
- var min$1 = Math.min;
3223
3797
  var MAX_UINT32 = 0xFFFFFFFF;
3798
+ var min$1 = Math.min;
3799
+ var $push = [].push;
3800
+ var exec = uncurryThis$6(/./.exec);
3801
+ var push$2 = uncurryThis$6($push);
3802
+ var stringSlice$2 = uncurryThis$6(''.slice);
3224
3803
 
3225
3804
  // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
3226
3805
  // Weex JS has frozen built-in prototypes, so use try / catch wrapper
@@ -3248,13 +3827,13 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3248
3827
  ) {
3249
3828
  // based on es5-shim implementation, need to rework it
3250
3829
  internalSplit = function (separator, limit) {
3251
- var string = toString$3(requireObjectCoercible$3(this));
3830
+ var string = toString$3(requireObjectCoercible$2(this));
3252
3831
  var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
3253
3832
  if (lim === 0) return [];
3254
3833
  if (separator === undefined) return [string];
3255
3834
  // If `separator` is not a regex, use native split
3256
3835
  if (!isRegExp(separator)) {
3257
- return nativeSplit.call(string, separator, lim);
3836
+ return call$3(nativeSplit, string, separator, lim);
3258
3837
  }
3259
3838
  var output = [];
3260
3839
  var flags = (separator.ignoreCase ? 'i' : '') +
@@ -3265,11 +3844,11 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3265
3844
  // Make `global` and avoid `lastIndex` issues by working with a copy
3266
3845
  var separatorCopy = new RegExp(separator.source, flags + 'g');
3267
3846
  var match, lastIndex, lastLength;
3268
- while (match = regexpExec.call(separatorCopy, string)) {
3847
+ while (match = call$3(regexpExec, separatorCopy, string)) {
3269
3848
  lastIndex = separatorCopy.lastIndex;
3270
3849
  if (lastIndex > lastLastIndex) {
3271
- output.push(string.slice(lastLastIndex, match.index));
3272
- if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));
3850
+ push$2(output, stringSlice$2(string, lastLastIndex, match.index));
3851
+ if (match.length > 1 && match.index < string.length) apply$1($push, output, arraySlice(match, 1));
3273
3852
  lastLength = match[0].length;
3274
3853
  lastLastIndex = lastIndex;
3275
3854
  if (output.length >= lim) break;
@@ -3277,14 +3856,14 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3277
3856
  if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop
3278
3857
  }
3279
3858
  if (lastLastIndex === string.length) {
3280
- if (lastLength || !separatorCopy.test('')) output.push('');
3281
- } else output.push(string.slice(lastLastIndex));
3282
- return output.length > lim ? output.slice(0, lim) : output;
3859
+ if (lastLength || !exec(separatorCopy, '')) push$2(output, '');
3860
+ } else push$2(output, stringSlice$2(string, lastLastIndex));
3861
+ return output.length > lim ? arraySlice(output, 0, lim) : output;
3283
3862
  };
3284
3863
  // Chakra, V8
3285
3864
  } else if ('0'.split(undefined, 0).length) {
3286
3865
  internalSplit = function (separator, limit) {
3287
- return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);
3866
+ return separator === undefined && limit === 0 ? [] : call$3(nativeSplit, this, separator, limit);
3288
3867
  };
3289
3868
  } else internalSplit = nativeSplit;
3290
3869
 
@@ -3292,11 +3871,11 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3292
3871
  // `String.prototype.split` method
3293
3872
  // https://tc39.es/ecma262/#sec-string.prototype.split
3294
3873
  function split(separator, limit) {
3295
- var O = requireObjectCoercible$3(this);
3874
+ var O = requireObjectCoercible$2(this);
3296
3875
  var splitter = separator == undefined ? undefined : getMethod$2(separator, SPLIT);
3297
3876
  return splitter
3298
- ? splitter.call(separator, O, limit)
3299
- : internalSplit.call(toString$3(O), separator, limit);
3877
+ ? call$3(splitter, separator, O, limit)
3878
+ : call$3(internalSplit, toString$3(O), separator, limit);
3300
3879
  },
3301
3880
  // `RegExp.prototype[@@split]` method
3302
3881
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@split
@@ -3329,7 +3908,7 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3329
3908
  var A = [];
3330
3909
  while (q < S.length) {
3331
3910
  splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;
3332
- var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S);
3911
+ var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice$2(S, q) : S);
3333
3912
  var e;
3334
3913
  if (
3335
3914
  z === null ||
@@ -3337,16 +3916,16 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3337
3916
  ) {
3338
3917
  q = advanceStringIndex$2(S, q, unicodeMatching);
3339
3918
  } else {
3340
- A.push(S.slice(p, q));
3919
+ push$2(A, stringSlice$2(S, p, q));
3341
3920
  if (A.length === lim) return A;
3342
3921
  for (var i = 1; i <= z.length - 1; i++) {
3343
- A.push(z[i]);
3922
+ push$2(A, z[i]);
3344
3923
  if (A.length === lim) return A;
3345
3924
  }
3346
3925
  q = p = e;
3347
3926
  }
3348
3927
  }
3349
- A.push(S.slice(p));
3928
+ push$2(A, stringSlice$2(S, p));
3350
3929
  return A;
3351
3930
  }
3352
3931
  ];
@@ -3354,46 +3933,37 @@ fixRegExpWellKnownSymbolLogic$2('split', function (SPLIT, nativeSplit, maybeCall
3354
3933
 
3355
3934
  var es_array_map = {};
3356
3935
 
3936
+ var uncurryThis$5 = functionUncurryThis;
3357
3937
  var aCallable = aCallable$2;
3938
+ var NATIVE_BIND = functionBindNative;
3939
+
3940
+ var bind$1 = uncurryThis$5(uncurryThis$5.bind);
3358
3941
 
3359
3942
  // optional / simple context binding
3360
- var functionBindContext = function (fn, that, length) {
3943
+ var functionBindContext = function (fn, that) {
3361
3944
  aCallable(fn);
3362
- if (that === undefined) return fn;
3363
- switch (length) {
3364
- case 0: return function () {
3365
- return fn.call(that);
3366
- };
3367
- case 1: return function (a) {
3368
- return fn.call(that, a);
3369
- };
3370
- case 2: return function (a, b) {
3371
- return fn.call(that, a, b);
3372
- };
3373
- case 3: return function (a, b, c) {
3374
- return fn.call(that, a, b, c);
3375
- };
3376
- }
3377
- return function (/* ...args */) {
3945
+ return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
3378
3946
  return fn.apply(that, arguments);
3379
3947
  };
3380
3948
  };
3381
3949
 
3382
- var classof = classofRaw$1;
3950
+ var classof$1 = classofRaw$1;
3383
3951
 
3384
3952
  // `IsArray` abstract operation
3385
3953
  // https://tc39.es/ecma262/#sec-isarray
3386
3954
  // eslint-disable-next-line es/no-array-isarray -- safe
3387
3955
  var isArray$1 = Array.isArray || function isArray(argument) {
3388
- return classof(argument) == 'Array';
3956
+ return classof$1(argument) == 'Array';
3389
3957
  };
3390
3958
 
3959
+ var global$1 = global$w;
3391
3960
  var isArray = isArray$1;
3392
3961
  var isConstructor = isConstructor$2;
3393
3962
  var isObject = isObject$7;
3394
3963
  var wellKnownSymbol$2 = wellKnownSymbol$a;
3395
3964
 
3396
3965
  var SPECIES$1 = wellKnownSymbol$2('species');
3966
+ var Array$1 = global$1.Array;
3397
3967
 
3398
3968
  // a part of `ArraySpeciesCreate` abstract operation
3399
3969
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -3402,12 +3972,12 @@ var arraySpeciesConstructor$1 = function (originalArray) {
3402
3972
  if (isArray(originalArray)) {
3403
3973
  C = originalArray.constructor;
3404
3974
  // cross-realm fallback
3405
- if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined;
3975
+ if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
3406
3976
  else if (isObject(C)) {
3407
3977
  C = C[SPECIES$1];
3408
3978
  if (C === null) C = undefined;
3409
3979
  }
3410
- } return C === undefined ? Array : C;
3980
+ } return C === undefined ? Array$1 : C;
3411
3981
  };
3412
3982
 
3413
3983
  var arraySpeciesConstructor = arraySpeciesConstructor$1;
@@ -3419,15 +3989,16 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
3419
3989
  };
3420
3990
 
3421
3991
  var bind = functionBindContext;
3992
+ var uncurryThis$4 = functionUncurryThis;
3422
3993
  var IndexedObject$1 = indexedObject;
3423
3994
  var toObject$2 = toObject$4;
3424
- var lengthOfArrayLike = lengthOfArrayLike$2;
3995
+ var lengthOfArrayLike = lengthOfArrayLike$3;
3425
3996
  var arraySpeciesCreate = arraySpeciesCreate$1;
3426
3997
 
3427
- var push = [].push;
3998
+ var push$1 = uncurryThis$4([].push);
3428
3999
 
3429
4000
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
3430
- var createMethod$1 = function (TYPE) {
4001
+ var createMethod = function (TYPE) {
3431
4002
  var IS_MAP = TYPE == 1;
3432
4003
  var IS_FILTER = TYPE == 2;
3433
4004
  var IS_SOME = TYPE == 3;
@@ -3438,7 +4009,7 @@ var createMethod$1 = function (TYPE) {
3438
4009
  return function ($this, callbackfn, that, specificCreate) {
3439
4010
  var O = toObject$2($this);
3440
4011
  var self = IndexedObject$1(O);
3441
- var boundFunction = bind(callbackfn, that, 3);
4012
+ var boundFunction = bind(callbackfn, that);
3442
4013
  var length = lengthOfArrayLike(self);
3443
4014
  var index = 0;
3444
4015
  var create = specificCreate || arraySpeciesCreate;
@@ -3453,10 +4024,10 @@ var createMethod$1 = function (TYPE) {
3453
4024
  case 3: return true; // some
3454
4025
  case 5: return value; // find
3455
4026
  case 6: return index; // findIndex
3456
- case 2: push.call(target, value); // filter
4027
+ case 2: push$1(target, value); // filter
3457
4028
  } else switch (TYPE) {
3458
4029
  case 4: return false; // every
3459
- case 7: push.call(target, value); // filterReject
4030
+ case 7: push$1(target, value); // filterReject
3460
4031
  }
3461
4032
  }
3462
4033
  }
@@ -3467,31 +4038,31 @@ var createMethod$1 = function (TYPE) {
3467
4038
  var arrayIteration = {
3468
4039
  // `Array.prototype.forEach` method
3469
4040
  // https://tc39.es/ecma262/#sec-array.prototype.foreach
3470
- forEach: createMethod$1(0),
4041
+ forEach: createMethod(0),
3471
4042
  // `Array.prototype.map` method
3472
4043
  // https://tc39.es/ecma262/#sec-array.prototype.map
3473
- map: createMethod$1(1),
4044
+ map: createMethod(1),
3474
4045
  // `Array.prototype.filter` method
3475
4046
  // https://tc39.es/ecma262/#sec-array.prototype.filter
3476
- filter: createMethod$1(2),
4047
+ filter: createMethod(2),
3477
4048
  // `Array.prototype.some` method
3478
4049
  // https://tc39.es/ecma262/#sec-array.prototype.some
3479
- some: createMethod$1(3),
4050
+ some: createMethod(3),
3480
4051
  // `Array.prototype.every` method
3481
4052
  // https://tc39.es/ecma262/#sec-array.prototype.every
3482
- every: createMethod$1(4),
4053
+ every: createMethod(4),
3483
4054
  // `Array.prototype.find` method
3484
4055
  // https://tc39.es/ecma262/#sec-array.prototype.find
3485
- find: createMethod$1(5),
4056
+ find: createMethod(5),
3486
4057
  // `Array.prototype.findIndex` method
3487
4058
  // https://tc39.es/ecma262/#sec-array.prototype.findIndex
3488
- findIndex: createMethod$1(6),
4059
+ findIndex: createMethod(6),
3489
4060
  // `Array.prototype.filterReject` method
3490
4061
  // https://github.com/tc39/proposal-array-filtering
3491
- filterReject: createMethod$1(7)
4062
+ filterReject: createMethod(7)
3492
4063
  };
3493
4064
 
3494
- var fails$3 = fails$f;
4065
+ var fails$3 = fails$i;
3495
4066
  var wellKnownSymbol$1 = wellKnownSymbol$a;
3496
4067
  var V8_VERSION = engineV8Version;
3497
4068
 
@@ -3545,17 +4116,40 @@ $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3545
4116
  }
3546
4117
  });
3547
4118
 
4119
+ var es_object_toString = {};
4120
+
4121
+ 'use strict';
4122
+ var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
4123
+ var classof = classof$6;
4124
+
4125
+ // `Object.prototype.toString` method implementation
4126
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
4127
+ var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
4128
+ return '[object ' + classof(this) + ']';
4129
+ };
4130
+
4131
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
4132
+ var redefine = redefine$4.exports;
4133
+ var toString$2 = objectToString;
4134
+
4135
+ // `Object.prototype.toString` method
4136
+ // https://tc39.es/ecma262/#sec-object.prototype.tostring
4137
+ if (!TO_STRING_TAG_SUPPORT) {
4138
+ redefine(Object.prototype, 'toString', toString$2, { unsafe: true });
4139
+ }
4140
+
3548
4141
  var es_string_match = {};
3549
4142
 
3550
4143
  'use strict';
4144
+ var call$2 = functionCall;
3551
4145
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
3552
4146
  var anObject$1 = anObject$a;
3553
4147
  var toLength$1 = toLength$5;
3554
- var toString$2 = toString$7;
3555
- var requireObjectCoercible$2 = requireObjectCoercible$8;
4148
+ var toString$1 = toString$9;
4149
+ var requireObjectCoercible$1 = requireObjectCoercible$8;
3556
4150
  var getMethod$1 = getMethod$4;
3557
4151
  var advanceStringIndex$1 = advanceStringIndex$3;
3558
- var regExpExec$1 = regexpExecAbstract;
4152
+ var regExpExec$2 = regexpExecAbstract;
3559
4153
 
3560
4154
  // @@match logic
3561
4155
  fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCallNative) {
@@ -3563,28 +4157,28 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
3563
4157
  // `String.prototype.match` method
3564
4158
  // https://tc39.es/ecma262/#sec-string.prototype.match
3565
4159
  function match(regexp) {
3566
- var O = requireObjectCoercible$2(this);
4160
+ var O = requireObjectCoercible$1(this);
3567
4161
  var matcher = regexp == undefined ? undefined : getMethod$1(regexp, MATCH);
3568
- return matcher ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](toString$2(O));
4162
+ return matcher ? call$2(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$1(O));
3569
4163
  },
3570
4164
  // `RegExp.prototype[@@match]` method
3571
4165
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@match
3572
4166
  function (string) {
3573
4167
  var rx = anObject$1(this);
3574
- var S = toString$2(string);
4168
+ var S = toString$1(string);
3575
4169
  var res = maybeCallNative(nativeMatch, rx, S);
3576
4170
 
3577
4171
  if (res.done) return res.value;
3578
4172
 
3579
- if (!rx.global) return regExpExec$1(rx, S);
4173
+ if (!rx.global) return regExpExec$2(rx, S);
3580
4174
 
3581
4175
  var fullUnicode = rx.unicode;
3582
4176
  rx.lastIndex = 0;
3583
4177
  var A = [];
3584
4178
  var n = 0;
3585
4179
  var result;
3586
- while ((result = regExpExec$1(rx, S)) !== null) {
3587
- var matchStr = toString$2(result[0]);
4180
+ while ((result = regExpExec$2(rx, S)) !== null) {
4181
+ var matchStr = toString$1(result[0]);
3588
4182
  A[n] = matchStr;
3589
4183
  if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$1(rx.lastIndex), fullUnicode);
3590
4184
  n++;
@@ -3596,43 +4190,9 @@ fixRegExpWellKnownSymbolLogic$1('match', function (MATCH, nativeMatch, maybeCall
3596
4190
 
3597
4191
  var es_string_trim = {};
3598
4192
 
3599
- // a string of all valid unicode whitespaces
3600
- var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3601
- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3602
-
3603
- var requireObjectCoercible$1 = requireObjectCoercible$8;
3604
- var toString$1 = toString$7;
3605
- var whitespaces$1 = whitespaces$2;
3606
-
3607
- var whitespace = '[' + whitespaces$1 + ']';
3608
- var ltrim = RegExp('^' + whitespace + whitespace + '*');
3609
- var rtrim = RegExp(whitespace + whitespace + '*$');
3610
-
3611
- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
3612
- var createMethod = function (TYPE) {
3613
- return function ($this) {
3614
- var string = toString$1(requireObjectCoercible$1($this));
3615
- if (TYPE & 1) string = string.replace(ltrim, '');
3616
- if (TYPE & 2) string = string.replace(rtrim, '');
3617
- return string;
3618
- };
3619
- };
3620
-
3621
- var stringTrim = {
3622
- // `String.prototype.{ trimLeft, trimStart }` methods
3623
- // https://tc39.es/ecma262/#sec-string.prototype.trimstart
3624
- start: createMethod(1),
3625
- // `String.prototype.{ trimRight, trimEnd }` methods
3626
- // https://tc39.es/ecma262/#sec-string.prototype.trimend
3627
- end: createMethod(2),
3628
- // `String.prototype.trim` method
3629
- // https://tc39.es/ecma262/#sec-string.prototype.trim
3630
- trim: createMethod(3)
3631
- };
3632
-
3633
4193
  var PROPER_FUNCTION_NAME = functionName.PROPER;
3634
- var fails$2 = fails$f;
3635
- var whitespaces = whitespaces$2;
4194
+ var fails$2 = fails$i;
4195
+ var whitespaces = whitespaces$3;
3636
4196
 
3637
4197
  var non = '\u200B\u0085\u180E';
3638
4198
 
@@ -4034,6 +4594,11 @@ var isTimeString = function isTimeString(value) {
4034
4594
  return /^-?(0?\.)?\d+m?s$/.test(value);
4035
4595
  };
4036
4596
 
4597
+ /**
4598
+ *
4599
+ * @param {string} transition
4600
+ * @return {{duration: number, delay: number, name: string, timingFunction: string?}}
4601
+ */
4037
4602
  var parseSingleTransition = function parseSingleTransition(transition) {
4038
4603
  var parts = transition.split(/\s+/),
4039
4604
  name = parts[0],
@@ -4057,8 +4622,14 @@ var parseSingleTransition = function parseSingleTransition(transition) {
4057
4622
 
4058
4623
  };
4059
4624
 
4060
- var parseTransition = function parseTransition(transition) {
4061
- return transition.match(/([^,()]|\([^)]*\))+/g).map(function (value) {return value.trim();}).filter(function (value) {return value.length > 0;}).map(parseSingleTransition);
4625
+ /**
4626
+ *
4627
+ * @param {string} transition
4628
+ * @return {{duration: number, delay: number, name: string, timingFunction: string?}[]}
4629
+ */
4630
+ var parseTransition = function parseTransition(transition) {var _transition$match;
4631
+ if (!transition) return [];
4632
+ return ((_transition$match = transition.match(/([^,()]|\([^)]*\))+/g)) !== null && _transition$match !== void 0 ? _transition$match : []).map(function (value) {return value.trim();}).filter(function (value) {return value.length > 0;}).map(parseSingleTransition);
4062
4633
  };
4063
4634
 
4064
4635
  var Css = /*#__PURE__*/Object.freeze({
@@ -4117,7 +4688,7 @@ var setElementAttrs = function setElementAttrs(el, attrs) {
4117
4688
  el.innerHTML = String(value);else
4118
4689
  if (key === 'css' && 'style' in el)
4119
4690
  setCssProps(el, value);else
4120
- if (key === 'readOnly' || key === 'tabIndex' || key === 'textContent')
4691
+ if (key in el && key !== 'style')
4121
4692
  el[key] = value;else
4122
4693
  el.setAttribute(key, String(value));
4123
4694
  }
@@ -4194,21 +4765,32 @@ var next = function next(el, selector) {
4194
4765
  return null;
4195
4766
  };
4196
4767
 
4768
+ var unwrapChildren = function unwrapChildren(el) {
4769
+ var parent = el.parentNode;
4770
+ while (el.firstChild) {
4771
+ parent.insertBefore(el.firstChild, el);}
4772
+ parent.removeChild(el);
4773
+ };
4774
+
4197
4775
  var Dom = /*#__PURE__*/Object.freeze({
4198
4776
  __proto__: null,
4199
4777
  createElement: createElement,
4200
4778
  setElementAttrs: setElementAttrs,
4201
4779
  closestUntil: closestUntil,
4202
4780
  prev: prev,
4203
- next: next
4781
+ next: next,
4782
+ unwrapChildren: unwrapChildren
4204
4783
  });
4205
4784
 
4206
4785
  var es_string_replace = {};
4207
4786
 
4787
+ var uncurryThis$3 = functionUncurryThis;
4208
4788
  var toObject$1 = toObject$4;
4209
4789
 
4210
4790
  var floor = Math.floor;
4211
- var replace = ''.replace;
4791
+ var charAt = uncurryThis$3(''.charAt);
4792
+ var replace = uncurryThis$3(''.replace);
4793
+ var stringSlice$1 = uncurryThis$3(''.slice);
4212
4794
  var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
4213
4795
  var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
4214
4796
 
@@ -4222,15 +4804,15 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4222
4804
  namedCaptures = toObject$1(namedCaptures);
4223
4805
  symbols = SUBSTITUTION_SYMBOLS;
4224
4806
  }
4225
- return replace.call(replacement, symbols, function (match, ch) {
4807
+ return replace(replacement, symbols, function (match, ch) {
4226
4808
  var capture;
4227
- switch (ch.charAt(0)) {
4809
+ switch (charAt(ch, 0)) {
4228
4810
  case '$': return '$';
4229
4811
  case '&': return matched;
4230
- case '`': return str.slice(0, position);
4231
- case "'": return str.slice(tailPos);
4812
+ case '`': return stringSlice$1(str, 0, position);
4813
+ case "'": return stringSlice$1(str, tailPos);
4232
4814
  case '<':
4233
- capture = namedCaptures[ch.slice(1, -1)];
4815
+ capture = namedCaptures[stringSlice$1(ch, 1, -1)];
4234
4816
  break;
4235
4817
  default: // \d\d?
4236
4818
  var n = +ch;
@@ -4238,7 +4820,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4238
4820
  if (n > m) {
4239
4821
  var f = floor(n / 10);
4240
4822
  if (f === 0) return match;
4241
- if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
4823
+ if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
4242
4824
  return match;
4243
4825
  }
4244
4826
  capture = captures[n - 1];
@@ -4248,23 +4830,30 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
4248
4830
  };
4249
4831
 
4250
4832
  'use strict';
4833
+ var apply = functionApply;
4834
+ var call$1 = functionCall;
4835
+ var uncurryThis$2 = functionUncurryThis;
4251
4836
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
4252
- var fails$1 = fails$f;
4837
+ var fails$1 = fails$i;
4253
4838
  var anObject = anObject$a;
4254
4839
  var isCallable = isCallable$d;
4255
4840
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
4256
4841
  var toLength = toLength$5;
4257
- var toString = toString$7;
4842
+ var toString = toString$9;
4258
4843
  var requireObjectCoercible = requireObjectCoercible$8;
4259
4844
  var advanceStringIndex = advanceStringIndex$3;
4260
4845
  var getMethod = getMethod$4;
4261
4846
  var getSubstitution = getSubstitution$1;
4262
- var regExpExec = regexpExecAbstract;
4847
+ var regExpExec$1 = regexpExecAbstract;
4263
4848
  var wellKnownSymbol = wellKnownSymbol$a;
4264
4849
 
4265
4850
  var REPLACE = wellKnownSymbol('replace');
4266
4851
  var max = Math.max;
4267
4852
  var min = Math.min;
4853
+ var concat$1 = uncurryThis$2([].concat);
4854
+ var push = uncurryThis$2([].push);
4855
+ var stringIndexOf = uncurryThis$2(''.indexOf);
4856
+ var stringSlice = uncurryThis$2(''.slice);
4268
4857
 
4269
4858
  var maybeToString = function (it) {
4270
4859
  return it === undefined ? it : String(it);
@@ -4307,8 +4896,8 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4307
4896
  var O = requireObjectCoercible(this);
4308
4897
  var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);
4309
4898
  return replacer
4310
- ? replacer.call(searchValue, O, replaceValue)
4311
- : nativeReplace.call(toString(O), searchValue, replaceValue);
4899
+ ? call$1(replacer, searchValue, O, replaceValue)
4900
+ : call$1(nativeReplace, toString(O), searchValue, replaceValue);
4312
4901
  },
4313
4902
  // `RegExp.prototype[@@replace]` method
4314
4903
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
@@ -4317,9 +4906,9 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4317
4906
  var S = toString(string);
4318
4907
 
4319
4908
  if (
4320
- typeof replaceValue === 'string' &&
4321
- replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 &&
4322
- replaceValue.indexOf('$<') === -1
4909
+ typeof replaceValue == 'string' &&
4910
+ stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
4911
+ stringIndexOf(replaceValue, '$<') === -1
4323
4912
  ) {
4324
4913
  var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
4325
4914
  if (res.done) return res.value;
@@ -4335,10 +4924,10 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4335
4924
  }
4336
4925
  var results = [];
4337
4926
  while (true) {
4338
- var result = regExpExec(rx, S);
4927
+ var result = regExpExec$1(rx, S);
4339
4928
  if (result === null) break;
4340
4929
 
4341
- results.push(result);
4930
+ push(results, result);
4342
4931
  if (!global) break;
4343
4932
 
4344
4933
  var matchStr = toString(result[0]);
@@ -4358,21 +4947,21 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
4358
4947
  // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
4359
4948
  // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
4360
4949
  // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
4361
- for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
4950
+ for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
4362
4951
  var namedCaptures = result.groups;
4363
4952
  if (functionalReplace) {
4364
- var replacerArgs = [matched].concat(captures, position, S);
4365
- if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
4366
- var replacement = toString(replaceValue.apply(undefined, replacerArgs));
4953
+ var replacerArgs = concat$1([matched], captures, position, S);
4954
+ if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
4955
+ var replacement = toString(apply(replaceValue, undefined, replacerArgs));
4367
4956
  } else {
4368
4957
  replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
4369
4958
  }
4370
4959
  if (position >= nextSourcePosition) {
4371
- accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
4960
+ accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;
4372
4961
  nextSourcePosition = position + matched.length;
4373
4962
  }
4374
4963
  }
4375
- return accumulatedResult + S.slice(nextSourcePosition);
4964
+ return accumulatedResult + stringSlice(S, nextSourcePosition);
4376
4965
  }
4377
4966
  ];
4378
4967
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
@@ -4656,11 +5245,13 @@ var es_function_name = {};
4656
5245
 
4657
5246
  var DESCRIPTORS$1 = descriptors;
4658
5247
  var FUNCTION_NAME_EXISTS = functionName.EXISTS;
5248
+ var uncurryThis$1 = functionUncurryThis;
4659
5249
  var defineProperty$1 = objectDefineProperty.f;
4660
5250
 
4661
5251
  var FunctionPrototype = Function.prototype;
4662
- var FunctionPrototypeToString = FunctionPrototype.toString;
4663
- var nameRE = /^\s*function ([^ (]*)/;
5252
+ var functionToString = uncurryThis$1(FunctionPrototype.toString);
5253
+ var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
5254
+ var regExpExec = uncurryThis$1(nameRE.exec);
4664
5255
  var NAME = 'name';
4665
5256
 
4666
5257
  // Function instances `.name` property
@@ -4670,7 +5261,7 @@ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
4670
5261
  configurable: true,
4671
5262
  get: function () {
4672
5263
  try {
4673
- return FunctionPrototypeToString.call(this).match(nameRE)[1];
5264
+ return regExpExec(nameRE, functionToString(this))[1];
4674
5265
  } catch (error) {
4675
5266
  return '';
4676
5267
  }
@@ -4872,7 +5463,9 @@ var es_object_assign = {};
4872
5463
 
4873
5464
  'use strict';
4874
5465
  var DESCRIPTORS = descriptors;
4875
- var fails = fails$f;
5466
+ var uncurryThis = functionUncurryThis;
5467
+ var call = functionCall;
5468
+ var fails = fails$i;
4876
5469
  var objectKeys = objectKeys$3;
4877
5470
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
4878
5471
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -4883,6 +5476,7 @@ var IndexedObject = indexedObject;
4883
5476
  var $assign = Object.assign;
4884
5477
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
4885
5478
  var defineProperty = Object.defineProperty;
5479
+ var concat = uncurryThis([].concat);
4886
5480
 
4887
5481
  // `Object.assign` method
4888
5482
  // https://tc39.es/ecma262/#sec-object.assign
@@ -4914,13 +5508,13 @@ var objectAssign = !$assign || fails(function () {
4914
5508
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
4915
5509
  while (argumentsLength > index) {
4916
5510
  var S = IndexedObject(arguments[index++]);
4917
- var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S);
5511
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
4918
5512
  var length = keys.length;
4919
5513
  var j = 0;
4920
5514
  var key;
4921
5515
  while (length > j) {
4922
5516
  key = keys[j++];
4923
- if (!DESCRIPTORS || propertyIsEnumerable.call(S, key)) T[key] = S[key];
5517
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
4924
5518
  }
4925
5519
  } return T;
4926
5520
  } : $assign;
@@ -4958,7 +5552,11 @@ var detectRtlScrollType = function detectRtlScrollType() {
4958
5552
  type = 'default';
4959
5553
  } else {
4960
5554
  definer.scrollLeft = 1;
4961
- if (definer.scrollLeft === 0) {
5555
+
5556
+ // bug: on some machines, chrome will have a positive delta of less than 1.
5557
+ // a full scroll will still be in the negative direction.
5558
+ // let's use Math.floor() to account for that bug.
5559
+ if (Math.floor(definer.scrollLeft) === 0) {
4962
5560
  type = 'negative';
4963
5561
  }
4964
5562
  }