@opengeoweb/snackbar 9.30.0 → 9.32.0

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.
Files changed (2) hide show
  1. package/index.esm.js +1510 -344
  2. package/package.json +4 -3
package/index.esm.js CHANGED
@@ -33,7 +33,7 @@ var check = function (it) {
33
33
  };
34
34
 
35
35
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
36
- var global$a =
36
+ var globalThis_1 =
37
37
  // eslint-disable-next-line es/no-global-this -- safe
38
38
  check(typeof globalThis == 'object' && globalThis) ||
39
39
  check(typeof window == 'object' && window) ||
@@ -46,7 +46,7 @@ var global$a =
46
46
 
47
47
  var objectGetOwnPropertyDescriptor = {};
48
48
 
49
- var fails$a = function (exec) {
49
+ var fails$c = function (exec) {
50
50
  try {
51
51
  return !!exec();
52
52
  } catch (error) {
@@ -54,44 +54,44 @@ var fails$a = function (exec) {
54
54
  }
55
55
  };
56
56
 
57
- var fails$9 = fails$a;
57
+ var fails$b = fails$c;
58
58
 
59
59
  // Detect IE8's incomplete defineProperty implementation
60
- var descriptors = !fails$9(function () {
60
+ var descriptors = !fails$b(function () {
61
61
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
62
62
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
63
63
  });
64
64
 
65
- var fails$8 = fails$a;
65
+ var fails$a = fails$c;
66
66
 
67
- var functionBindNative = !fails$8(function () {
67
+ var functionBindNative = !fails$a(function () {
68
68
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
69
69
  var test = (function () { /* empty */ }).bind();
70
70
  // eslint-disable-next-line no-prototype-builtins -- safe
71
71
  return typeof test != 'function' || test.hasOwnProperty('prototype');
72
72
  });
73
73
 
74
- var NATIVE_BIND$1 = functionBindNative;
74
+ var NATIVE_BIND$3 = functionBindNative;
75
75
 
76
- var call$6 = Function.prototype.call;
76
+ var call$d = Function.prototype.call;
77
77
 
78
- var functionCall = NATIVE_BIND$1 ? call$6.bind(call$6) : function () {
79
- return call$6.apply(call$6, arguments);
78
+ var functionCall = NATIVE_BIND$3 ? call$d.bind(call$d) : function () {
79
+ return call$d.apply(call$d, arguments);
80
80
  };
81
81
 
82
82
  var objectPropertyIsEnumerable = {};
83
83
 
84
84
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
85
85
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
86
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
86
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
87
87
 
88
88
  // Nashorn ~ JDK8 bug
89
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
89
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
90
90
 
91
91
  // `Object.prototype.propertyIsEnumerable` method implementation
92
92
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
93
93
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
94
- var descriptor = getOwnPropertyDescriptor$1(this, V);
94
+ var descriptor = getOwnPropertyDescriptor$2(this, V);
95
95
  return !!descriptor && descriptor.enumerable;
96
96
  } : $propertyIsEnumerable;
97
97
 
@@ -104,66 +104,66 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
104
104
  };
105
105
  };
106
106
 
107
- var NATIVE_BIND = functionBindNative;
107
+ var NATIVE_BIND$2 = functionBindNative;
108
108
 
109
- var FunctionPrototype$1 = Function.prototype;
110
- var call$5 = FunctionPrototype$1.call;
111
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
109
+ var FunctionPrototype$2 = Function.prototype;
110
+ var call$c = FunctionPrototype$2.call;
111
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$c, call$c);
112
112
 
113
- var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
113
+ var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
114
114
  return function () {
115
- return call$5.apply(fn, arguments);
115
+ return call$c.apply(fn, arguments);
116
116
  };
117
117
  };
118
118
 
119
- var uncurryThis$9 = functionUncurryThis;
119
+ var uncurryThis$e = functionUncurryThis;
120
120
 
121
- var toString$2 = uncurryThis$9({}.toString);
122
- var stringSlice$1 = uncurryThis$9(''.slice);
121
+ var toString$2 = uncurryThis$e({}.toString);
122
+ var stringSlice$1 = uncurryThis$e(''.slice);
123
123
 
124
- var classofRaw$1 = function (it) {
124
+ var classofRaw$2 = function (it) {
125
125
  return stringSlice$1(toString$2(it), 8, -1);
126
126
  };
127
127
 
128
- var uncurryThis$8 = functionUncurryThis;
129
- var fails$7 = fails$a;
130
- var classof$2 = classofRaw$1;
128
+ var uncurryThis$d = functionUncurryThis;
129
+ var fails$9 = fails$c;
130
+ var classof$5 = classofRaw$2;
131
131
 
132
132
  var $Object$3 = Object;
133
- var split = uncurryThis$8(''.split);
133
+ var split = uncurryThis$d(''.split);
134
134
 
135
135
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
136
- var indexedObject = fails$7(function () {
136
+ var indexedObject = fails$9(function () {
137
137
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
138
138
  // eslint-disable-next-line no-prototype-builtins -- safe
139
139
  return !$Object$3('z').propertyIsEnumerable(0);
140
140
  }) ? function (it) {
141
- return classof$2(it) === 'String' ? split(it, '') : $Object$3(it);
141
+ return classof$5(it) === 'String' ? split(it, '') : $Object$3(it);
142
142
  } : $Object$3;
143
143
 
144
144
  // we can't use just `it == null` since of `document.all` special case
145
145
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
146
- var isNullOrUndefined$2 = function (it) {
146
+ var isNullOrUndefined$4 = function (it) {
147
147
  return it === null || it === undefined;
148
148
  };
149
149
 
150
- var isNullOrUndefined$1 = isNullOrUndefined$2;
150
+ var isNullOrUndefined$3 = isNullOrUndefined$4;
151
151
 
152
- var $TypeError$5 = TypeError;
152
+ var $TypeError$c = TypeError;
153
153
 
154
154
  // `RequireObjectCoercible` abstract operation
155
155
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
156
- var requireObjectCoercible$2 = function (it) {
157
- if (isNullOrUndefined$1(it)) throw new $TypeError$5("Can't call method on " + it);
156
+ var requireObjectCoercible$3 = function (it) {
157
+ if (isNullOrUndefined$3(it)) throw new $TypeError$c("Can't call method on " + it);
158
158
  return it;
159
159
  };
160
160
 
161
161
  // toObject with fallback for non-array-like ES3 strings
162
162
  var IndexedObject$1 = indexedObject;
163
- var requireObjectCoercible$1 = requireObjectCoercible$2;
163
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
164
164
 
165
165
  var toIndexedObject$3 = function (it) {
166
- return IndexedObject$1(requireObjectCoercible$1(it));
166
+ return IndexedObject$1(requireObjectCoercible$2(it));
167
167
  };
168
168
 
169
169
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -172,41 +172,46 @@ var documentAll = typeof document == 'object' && document.all;
172
172
  // `IsCallable` abstract operation
173
173
  // https://tc39.es/ecma262/#sec-iscallable
174
174
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
175
- var isCallable$b = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
175
+ var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
176
176
  return typeof argument == 'function' || argument === documentAll;
177
177
  } : function (argument) {
178
178
  return typeof argument == 'function';
179
179
  };
180
180
 
181
- var isCallable$a = isCallable$b;
181
+ var isCallable$f = isCallable$g;
182
182
 
183
- var isObject$5 = function (it) {
184
- return typeof it == 'object' ? it !== null : isCallable$a(it);
183
+ var isObject$9 = function (it) {
184
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
185
185
  };
186
186
 
187
- var global$9 = global$a;
188
- var isCallable$9 = isCallable$b;
187
+ var globalThis$i = globalThis_1;
188
+ var isCallable$e = isCallable$g;
189
189
 
190
190
  var aFunction = function (argument) {
191
- return isCallable$9(argument) ? argument : undefined;
191
+ return isCallable$e(argument) ? argument : undefined;
192
192
  };
193
193
 
194
- var getBuiltIn$2 = function (namespace, method) {
195
- return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
194
+ var getBuiltIn$7 = function (namespace, method) {
195
+ return arguments.length < 2 ? aFunction(globalThis$i[namespace]) : globalThis$i[namespace] && globalThis$i[namespace][method];
196
196
  };
197
197
 
198
- var uncurryThis$7 = functionUncurryThis;
198
+ var uncurryThis$c = functionUncurryThis;
199
199
 
200
- var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
200
+ var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
201
201
 
202
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
202
+ var globalThis$h = globalThis_1;
203
203
 
204
- var global$8 = global$a;
205
- var userAgent = engineUserAgent;
204
+ var navigator = globalThis$h.navigator;
205
+ var userAgent$5 = navigator && navigator.userAgent;
206
206
 
207
- var process = global$8.process;
208
- var Deno = global$8.Deno;
209
- var versions = process && process.versions || Deno && Deno.version;
207
+ var environmentUserAgent = userAgent$5 ? String(userAgent$5) : '';
208
+
209
+ var globalThis$g = globalThis_1;
210
+ var userAgent$4 = environmentUserAgent;
211
+
212
+ var process$3 = globalThis$g.process;
213
+ var Deno$1 = globalThis$g.Deno;
214
+ var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
210
215
  var v8 = versions && versions.v8;
211
216
  var match, version;
212
217
 
@@ -219,45 +224,45 @@ if (v8) {
219
224
 
220
225
  // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
221
226
  // so check `userAgent` even if `.v8` exists, but 0
222
- if (!version && userAgent) {
223
- match = userAgent.match(/Edge\/(\d+)/);
227
+ if (!version && userAgent$4) {
228
+ match = userAgent$4.match(/Edge\/(\d+)/);
224
229
  if (!match || match[1] >= 74) {
225
- match = userAgent.match(/Chrome\/(\d+)/);
230
+ match = userAgent$4.match(/Chrome\/(\d+)/);
226
231
  if (match) version = +match[1];
227
232
  }
228
233
  }
229
234
 
230
- var engineV8Version = version;
235
+ var environmentV8Version = version;
231
236
 
232
237
  /* eslint-disable es/no-symbol -- required for testing */
233
- var V8_VERSION = engineV8Version;
234
- var fails$6 = fails$a;
235
- var global$7 = global$a;
238
+ var V8_VERSION$1 = environmentV8Version;
239
+ var fails$8 = fails$c;
240
+ var globalThis$f = globalThis_1;
236
241
 
237
- var $String$4 = global$7.String;
242
+ var $String$5 = globalThis$f.String;
238
243
 
239
244
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
240
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$6(function () {
245
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
241
246
  var symbol = Symbol('symbol detection');
242
247
  // Chrome 38 Symbol has incorrect toString conversion
243
248
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
244
249
  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
245
250
  // of course, fail.
246
- return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
251
+ return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
247
252
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
248
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
253
+ !Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
249
254
  });
250
255
 
251
256
  /* eslint-disable es/no-symbol -- required for testing */
252
257
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
253
258
 
254
- var useSymbolAsUid = NATIVE_SYMBOL$1
255
- && !Symbol.sham
256
- && typeof Symbol.iterator == 'symbol';
259
+ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
260
+ !Symbol.sham &&
261
+ typeof Symbol.iterator == 'symbol';
257
262
 
258
- var getBuiltIn$1 = getBuiltIn$2;
259
- var isCallable$8 = isCallable$b;
260
- var isPrototypeOf$1 = objectIsPrototypeOf;
263
+ var getBuiltIn$6 = getBuiltIn$7;
264
+ var isCallable$d = isCallable$g;
265
+ var isPrototypeOf$3 = objectIsPrototypeOf;
261
266
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
262
267
 
263
268
  var $Object$2 = Object;
@@ -265,83 +270,83 @@ var $Object$2 = Object;
265
270
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
266
271
  return typeof it == 'symbol';
267
272
  } : function (it) {
268
- var $Symbol = getBuiltIn$1('Symbol');
269
- return isCallable$8($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
273
+ var $Symbol = getBuiltIn$6('Symbol');
274
+ return isCallable$d($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
270
275
  };
271
276
 
272
- var $String$3 = String;
277
+ var $String$4 = String;
273
278
 
274
- var tryToString$1 = function (argument) {
279
+ var tryToString$4 = function (argument) {
275
280
  try {
276
- return $String$3(argument);
281
+ return $String$4(argument);
277
282
  } catch (error) {
278
283
  return 'Object';
279
284
  }
280
285
  };
281
286
 
282
- var isCallable$7 = isCallable$b;
283
- var tryToString = tryToString$1;
287
+ var isCallable$c = isCallable$g;
288
+ var tryToString$3 = tryToString$4;
284
289
 
285
- var $TypeError$4 = TypeError;
290
+ var $TypeError$b = TypeError;
286
291
 
287
292
  // `Assert: IsCallable(argument) is true`
288
- var aCallable$1 = function (argument) {
289
- if (isCallable$7(argument)) return argument;
290
- throw new $TypeError$4(tryToString(argument) + ' is not a function');
293
+ var aCallable$8 = function (argument) {
294
+ if (isCallable$c(argument)) return argument;
295
+ throw new $TypeError$b(tryToString$3(argument) + ' is not a function');
291
296
  };
292
297
 
293
- var aCallable = aCallable$1;
294
- var isNullOrUndefined = isNullOrUndefined$2;
298
+ var aCallable$7 = aCallable$8;
299
+ var isNullOrUndefined$2 = isNullOrUndefined$4;
295
300
 
296
301
  // `GetMethod` abstract operation
297
302
  // https://tc39.es/ecma262/#sec-getmethod
298
- var getMethod$1 = function (V, P) {
303
+ var getMethod$3 = function (V, P) {
299
304
  var func = V[P];
300
- return isNullOrUndefined(func) ? undefined : aCallable(func);
305
+ return isNullOrUndefined$2(func) ? undefined : aCallable$7(func);
301
306
  };
302
307
 
303
- var call$4 = functionCall;
304
- var isCallable$6 = isCallable$b;
305
- var isObject$4 = isObject$5;
308
+ var call$b = functionCall;
309
+ var isCallable$b = isCallable$g;
310
+ var isObject$8 = isObject$9;
306
311
 
307
- var $TypeError$3 = TypeError;
312
+ var $TypeError$a = TypeError;
308
313
 
309
314
  // `OrdinaryToPrimitive` abstract operation
310
315
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
311
316
  var ordinaryToPrimitive$1 = function (input, pref) {
312
317
  var fn, val;
313
- if (pref === 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
314
- if (isCallable$6(fn = input.valueOf) && !isObject$4(val = call$4(fn, input))) return val;
315
- if (pref !== 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
316
- throw new $TypeError$3("Can't convert object to primitive value");
318
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$8(val = call$b(fn, input))) return val;
319
+ if (isCallable$b(fn = input.valueOf) && !isObject$8(val = call$b(fn, input))) return val;
320
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$8(val = call$b(fn, input))) return val;
321
+ throw new $TypeError$a("Can't convert object to primitive value");
317
322
  };
318
323
 
319
324
  var sharedStore = {exports: {}};
320
325
 
321
- var global$6 = global$a;
326
+ var globalThis$e = globalThis_1;
322
327
 
323
328
  // eslint-disable-next-line es/no-object-defineproperty -- safe
324
- var defineProperty$2 = Object.defineProperty;
329
+ var defineProperty$4 = Object.defineProperty;
325
330
 
326
331
  var defineGlobalProperty$3 = function (key, value) {
327
332
  try {
328
- defineProperty$2(global$6, key, { value: value, configurable: true, writable: true });
333
+ defineProperty$4(globalThis$e, key, { value: value, configurable: true, writable: true });
329
334
  } catch (error) {
330
- global$6[key] = value;
335
+ globalThis$e[key] = value;
331
336
  } return value;
332
337
  };
333
338
 
334
- var globalThis$1 = global$a;
339
+ var globalThis$d = globalThis_1;
335
340
  var defineGlobalProperty$2 = defineGlobalProperty$3;
336
341
 
337
342
  var SHARED = '__core-js_shared__';
338
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
343
+ var store$3 = sharedStore.exports = globalThis$d[SHARED] || defineGlobalProperty$2(SHARED, {});
339
344
 
340
345
  (store$3.versions || (store$3.versions = [])).push({
341
- version: '3.37.1',
346
+ version: '3.39.0',
342
347
  mode: 'global',
343
348
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
344
- license: 'https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE',
349
+ license: 'https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE',
345
350
  source: 'https://github.com/zloirock/core-js'
346
351
  });
347
352
 
@@ -353,20 +358,20 @@ var shared$3 = function (key, value) {
353
358
  return store$2[key] || (store$2[key] = value || {});
354
359
  };
355
360
 
356
- var requireObjectCoercible = requireObjectCoercible$2;
361
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
357
362
 
358
363
  var $Object$1 = Object;
359
364
 
360
365
  // `ToObject` abstract operation
361
366
  // https://tc39.es/ecma262/#sec-toobject
362
367
  var toObject$2 = function (argument) {
363
- return $Object$1(requireObjectCoercible(argument));
368
+ return $Object$1(requireObjectCoercible$1(argument));
364
369
  };
365
370
 
366
- var uncurryThis$6 = functionUncurryThis;
371
+ var uncurryThis$b = functionUncurryThis;
367
372
  var toObject$1 = toObject$2;
368
373
 
369
- var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
374
+ var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
370
375
 
371
376
  // `HasOwnProperty` abstract operation
372
377
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -375,56 +380,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
375
380
  return hasOwnProperty(toObject$1(it), key);
376
381
  };
377
382
 
378
- var uncurryThis$5 = functionUncurryThis;
383
+ var uncurryThis$a = functionUncurryThis;
379
384
 
380
385
  var id = 0;
381
386
  var postfix = Math.random();
382
- var toString$1 = uncurryThis$5(1.0.toString);
387
+ var toString$1 = uncurryThis$a(1.0.toString);
383
388
 
384
389
  var uid$2 = function (key) {
385
390
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
386
391
  };
387
392
 
388
- var global$5 = global$a;
393
+ var globalThis$c = globalThis_1;
389
394
  var shared$2 = shared$3;
390
- var hasOwn$7 = hasOwnProperty_1;
395
+ var hasOwn$9 = hasOwnProperty_1;
391
396
  var uid$1 = uid$2;
392
397
  var NATIVE_SYMBOL = symbolConstructorDetection;
393
398
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
394
399
 
395
- var Symbol$1 = global$5.Symbol;
400
+ var Symbol$1 = globalThis$c.Symbol;
396
401
  var WellKnownSymbolsStore = shared$2('wks');
397
402
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
398
403
 
399
- var wellKnownSymbol$3 = function (name) {
400
- if (!hasOwn$7(WellKnownSymbolsStore, name)) {
401
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)
404
+ var wellKnownSymbol$a = function (name) {
405
+ if (!hasOwn$9(WellKnownSymbolsStore, name)) {
406
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
402
407
  ? Symbol$1[name]
403
408
  : createWellKnownSymbol('Symbol.' + name);
404
409
  } return WellKnownSymbolsStore[name];
405
410
  };
406
411
 
407
- var call$3 = functionCall;
408
- var isObject$3 = isObject$5;
412
+ var call$a = functionCall;
413
+ var isObject$7 = isObject$9;
409
414
  var isSymbol$1 = isSymbol$2;
410
- var getMethod = getMethod$1;
415
+ var getMethod$2 = getMethod$3;
411
416
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
412
- var wellKnownSymbol$2 = wellKnownSymbol$3;
417
+ var wellKnownSymbol$9 = wellKnownSymbol$a;
413
418
 
414
- var $TypeError$2 = TypeError;
415
- var TO_PRIMITIVE = wellKnownSymbol$2('toPrimitive');
419
+ var $TypeError$9 = TypeError;
420
+ var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
416
421
 
417
422
  // `ToPrimitive` abstract operation
418
423
  // https://tc39.es/ecma262/#sec-toprimitive
419
424
  var toPrimitive$1 = function (input, pref) {
420
- if (!isObject$3(input) || isSymbol$1(input)) return input;
421
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
425
+ if (!isObject$7(input) || isSymbol$1(input)) return input;
426
+ var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
422
427
  var result;
423
428
  if (exoticToPrim) {
424
429
  if (pref === undefined) pref = 'default';
425
- result = call$3(exoticToPrim, input, pref);
426
- if (!isObject$3(result) || isSymbol$1(result)) return result;
427
- throw new $TypeError$2("Can't convert object to primitive value");
430
+ result = call$a(exoticToPrim, input, pref);
431
+ if (!isObject$7(result) || isSymbol$1(result)) return result;
432
+ throw new $TypeError$9("Can't convert object to primitive value");
428
433
  }
429
434
  if (pref === undefined) pref = 'number';
430
435
  return ordinaryToPrimitive(input, pref);
@@ -440,36 +445,36 @@ var toPropertyKey$2 = function (argument) {
440
445
  return isSymbol(key) ? key : key + '';
441
446
  };
442
447
 
443
- var global$4 = global$a;
444
- var isObject$2 = isObject$5;
448
+ var globalThis$b = globalThis_1;
449
+ var isObject$6 = isObject$9;
445
450
 
446
- var document$1 = global$4.document;
451
+ var document$3 = globalThis$b.document;
447
452
  // typeof document.createElement is 'object' in old IE
448
- var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
453
+ var EXISTS$1 = isObject$6(document$3) && isObject$6(document$3.createElement);
449
454
 
450
455
  var documentCreateElement = function (it) {
451
- return EXISTS$1 ? document$1.createElement(it) : {};
456
+ return EXISTS$1 ? document$3.createElement(it) : {};
452
457
  };
453
458
 
454
- var DESCRIPTORS$7 = descriptors;
455
- var fails$5 = fails$a;
456
- var createElement = documentCreateElement;
459
+ var DESCRIPTORS$9 = descriptors;
460
+ var fails$7 = fails$c;
461
+ var createElement$1 = documentCreateElement;
457
462
 
458
463
  // Thanks to IE8 for its funny defineProperty
459
- var ie8DomDefine = !DESCRIPTORS$7 && !fails$5(function () {
464
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () {
460
465
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
461
- return Object.defineProperty(createElement('div'), 'a', {
466
+ return Object.defineProperty(createElement$1('div'), 'a', {
462
467
  get: function () { return 7; }
463
468
  }).a !== 7;
464
469
  });
465
470
 
466
- var DESCRIPTORS$6 = descriptors;
467
- var call$2 = functionCall;
471
+ var DESCRIPTORS$8 = descriptors;
472
+ var call$9 = functionCall;
468
473
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
469
474
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
470
475
  var toIndexedObject$2 = toIndexedObject$3;
471
476
  var toPropertyKey$1 = toPropertyKey$2;
472
- var hasOwn$6 = hasOwnProperty_1;
477
+ var hasOwn$8 = hasOwnProperty_1;
473
478
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
474
479
 
475
480
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -477,23 +482,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
477
482
 
478
483
  // `Object.getOwnPropertyDescriptor` method
479
484
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
480
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
485
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
481
486
  O = toIndexedObject$2(O);
482
487
  P = toPropertyKey$1(P);
483
488
  if (IE8_DOM_DEFINE$1) try {
484
489
  return $getOwnPropertyDescriptor$1(O, P);
485
490
  } catch (error) { /* empty */ }
486
- if (hasOwn$6(O, P)) return createPropertyDescriptor$1(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
491
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call$9(propertyIsEnumerableModule$1.f, O, P), O[P]);
487
492
  };
488
493
 
489
494
  var objectDefineProperty = {};
490
495
 
491
- var DESCRIPTORS$5 = descriptors;
492
- var fails$4 = fails$a;
496
+ var DESCRIPTORS$7 = descriptors;
497
+ var fails$6 = fails$c;
493
498
 
494
499
  // V8 ~ Chrome 36-
495
500
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
496
- var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$4(function () {
501
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
497
502
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
498
503
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
499
504
  value: 42,
@@ -501,24 +506,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$4(function () {
501
506
  }).prototype !== 42;
502
507
  });
503
508
 
504
- var isObject$1 = isObject$5;
509
+ var isObject$5 = isObject$9;
505
510
 
506
- var $String$2 = String;
507
- var $TypeError$1 = TypeError;
511
+ var $String$3 = String;
512
+ var $TypeError$8 = TypeError;
508
513
 
509
514
  // `Assert: Type(argument) is Object`
510
- var anObject$4 = function (argument) {
511
- if (isObject$1(argument)) return argument;
512
- throw new $TypeError$1($String$2(argument) + ' is not an object');
515
+ var anObject$9 = function (argument) {
516
+ if (isObject$5(argument)) return argument;
517
+ throw new $TypeError$8($String$3(argument) + ' is not an object');
513
518
  };
514
519
 
515
- var DESCRIPTORS$4 = descriptors;
520
+ var DESCRIPTORS$6 = descriptors;
516
521
  var IE8_DOM_DEFINE = ie8DomDefine;
517
522
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
518
- var anObject$3 = anObject$4;
523
+ var anObject$8 = anObject$9;
519
524
  var toPropertyKey = toPropertyKey$2;
520
525
 
521
- var $TypeError = TypeError;
526
+ var $TypeError$7 = TypeError;
522
527
  // eslint-disable-next-line es/no-object-defineproperty -- safe
523
528
  var $defineProperty = Object.defineProperty;
524
529
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -529,10 +534,10 @@ var WRITABLE = 'writable';
529
534
 
530
535
  // `Object.defineProperty` method
531
536
  // https://tc39.es/ecma262/#sec-object.defineproperty
532
- objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
533
- anObject$3(O);
537
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
538
+ anObject$8(O);
534
539
  P = toPropertyKey(P);
535
- anObject$3(Attributes);
540
+ anObject$8(Attributes);
536
541
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
537
542
  var current = $getOwnPropertyDescriptor(O, P);
538
543
  if (current && current[WRITABLE]) {
@@ -545,41 +550,41 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
545
550
  }
546
551
  } return $defineProperty(O, P, Attributes);
547
552
  } : $defineProperty : function defineProperty(O, P, Attributes) {
548
- anObject$3(O);
553
+ anObject$8(O);
549
554
  P = toPropertyKey(P);
550
- anObject$3(Attributes);
555
+ anObject$8(Attributes);
551
556
  if (IE8_DOM_DEFINE) try {
552
557
  return $defineProperty(O, P, Attributes);
553
558
  } catch (error) { /* empty */ }
554
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
559
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$7('Accessors not supported');
555
560
  if ('value' in Attributes) O[P] = Attributes.value;
556
561
  return O;
557
562
  };
558
563
 
559
- var DESCRIPTORS$3 = descriptors;
564
+ var DESCRIPTORS$5 = descriptors;
560
565
  var definePropertyModule$2 = objectDefineProperty;
561
566
  var createPropertyDescriptor = createPropertyDescriptor$2;
562
567
 
563
- var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
568
+ var createNonEnumerableProperty$2 = DESCRIPTORS$5 ? function (object, key, value) {
564
569
  return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
565
570
  } : function (object, key, value) {
566
571
  object[key] = value;
567
572
  return object;
568
573
  };
569
574
 
570
- var makeBuiltIn$2 = {exports: {}};
575
+ var makeBuiltIn$3 = {exports: {}};
571
576
 
572
- var DESCRIPTORS$2 = descriptors;
573
- var hasOwn$5 = hasOwnProperty_1;
577
+ var DESCRIPTORS$4 = descriptors;
578
+ var hasOwn$7 = hasOwnProperty_1;
574
579
 
575
- var FunctionPrototype = Function.prototype;
580
+ var FunctionPrototype$1 = Function.prototype;
576
581
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
577
- var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
582
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
578
583
 
579
- var EXISTS = hasOwn$5(FunctionPrototype, 'name');
584
+ var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
580
585
  // additional protection from minified / mangled / dropped function names
581
586
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
582
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
587
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
583
588
 
584
589
  var functionName = {
585
590
  EXISTS: EXISTS,
@@ -587,27 +592,27 @@ var functionName = {
587
592
  CONFIGURABLE: CONFIGURABLE
588
593
  };
589
594
 
590
- var uncurryThis$4 = functionUncurryThis;
591
- var isCallable$5 = isCallable$b;
595
+ var uncurryThis$9 = functionUncurryThis;
596
+ var isCallable$a = isCallable$g;
592
597
  var store$1 = sharedStoreExports;
593
598
 
594
- var functionToString = uncurryThis$4(Function.toString);
599
+ var functionToString = uncurryThis$9(Function.toString);
595
600
 
596
601
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
597
- if (!isCallable$5(store$1.inspectSource)) {
602
+ if (!isCallable$a(store$1.inspectSource)) {
598
603
  store$1.inspectSource = function (it) {
599
604
  return functionToString(it);
600
605
  };
601
606
  }
602
607
 
603
- var inspectSource$1 = store$1.inspectSource;
608
+ var inspectSource$3 = store$1.inspectSource;
604
609
 
605
- var global$3 = global$a;
606
- var isCallable$4 = isCallable$b;
610
+ var globalThis$a = globalThis_1;
611
+ var isCallable$9 = isCallable$g;
607
612
 
608
- var WeakMap$1 = global$3.WeakMap;
613
+ var WeakMap$1 = globalThis$a.WeakMap;
609
614
 
610
- var weakMapBasicDetection = isCallable$4(WeakMap$1) && /native code/.test(String(WeakMap$1));
615
+ var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
611
616
 
612
617
  var shared$1 = shared$3;
613
618
  var uid = uid$2;
@@ -621,28 +626,28 @@ var sharedKey$1 = function (key) {
621
626
  var hiddenKeys$3 = {};
622
627
 
623
628
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
624
- var global$2 = global$a;
625
- var isObject = isObject$5;
629
+ var globalThis$9 = globalThis_1;
630
+ var isObject$4 = isObject$9;
626
631
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
627
- var hasOwn$4 = hasOwnProperty_1;
632
+ var hasOwn$6 = hasOwnProperty_1;
628
633
  var shared = sharedStoreExports;
629
634
  var sharedKey = sharedKey$1;
630
635
  var hiddenKeys$2 = hiddenKeys$3;
631
636
 
632
637
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
633
- var TypeError$1 = global$2.TypeError;
634
- var WeakMap = global$2.WeakMap;
635
- var set, get, has;
638
+ var TypeError$2 = globalThis$9.TypeError;
639
+ var WeakMap = globalThis$9.WeakMap;
640
+ var set$1, get, has;
636
641
 
637
642
  var enforce = function (it) {
638
- return has(it) ? get(it) : set(it, {});
643
+ return has(it) ? get(it) : set$1(it, {});
639
644
  };
640
645
 
641
646
  var getterFor = function (TYPE) {
642
647
  return function (it) {
643
648
  var state;
644
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
645
- throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
649
+ if (!isObject$4(it) || (state = get(it)).type !== TYPE) {
650
+ throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
646
651
  } return state;
647
652
  };
648
653
  };
@@ -654,8 +659,8 @@ if (NATIVE_WEAK_MAP || shared.state) {
654
659
  store.has = store.has;
655
660
  store.set = store.set;
656
661
  /* eslint-enable no-self-assign -- prototype methods protection */
657
- set = function (it, metadata) {
658
- if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
662
+ set$1 = function (it, metadata) {
663
+ if (store.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
659
664
  metadata.facade = it;
660
665
  store.set(it, metadata);
661
666
  return metadata;
@@ -669,95 +674,95 @@ if (NATIVE_WEAK_MAP || shared.state) {
669
674
  } else {
670
675
  var STATE = sharedKey('state');
671
676
  hiddenKeys$2[STATE] = true;
672
- set = function (it, metadata) {
673
- if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
677
+ set$1 = function (it, metadata) {
678
+ if (hasOwn$6(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
674
679
  metadata.facade = it;
675
680
  createNonEnumerableProperty$1(it, STATE, metadata);
676
681
  return metadata;
677
682
  };
678
683
  get = function (it) {
679
- return hasOwn$4(it, STATE) ? it[STATE] : {};
684
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
680
685
  };
681
686
  has = function (it) {
682
- return hasOwn$4(it, STATE);
687
+ return hasOwn$6(it, STATE);
683
688
  };
684
689
  }
685
690
 
686
691
  var internalState = {
687
- set: set,
692
+ set: set$1,
688
693
  get: get,
689
694
  has: has,
690
695
  enforce: enforce,
691
696
  getterFor: getterFor
692
697
  };
693
698
 
694
- var uncurryThis$3 = functionUncurryThis;
695
- var fails$3 = fails$a;
696
- var isCallable$3 = isCallable$b;
697
- var hasOwn$3 = hasOwnProperty_1;
698
- var DESCRIPTORS$1 = descriptors;
699
+ var uncurryThis$8 = functionUncurryThis;
700
+ var fails$5 = fails$c;
701
+ var isCallable$8 = isCallable$g;
702
+ var hasOwn$5 = hasOwnProperty_1;
703
+ var DESCRIPTORS$3 = descriptors;
699
704
  var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
700
- var inspectSource = inspectSource$1;
701
- var InternalStateModule = internalState;
705
+ var inspectSource$2 = inspectSource$3;
706
+ var InternalStateModule$1 = internalState;
702
707
 
703
- var enforceInternalState = InternalStateModule.enforce;
704
- var getInternalState = InternalStateModule.get;
705
- var $String$1 = String;
708
+ var enforceInternalState = InternalStateModule$1.enforce;
709
+ var getInternalState = InternalStateModule$1.get;
710
+ var $String$2 = String;
706
711
  // eslint-disable-next-line es/no-object-defineproperty -- safe
707
- var defineProperty$1 = Object.defineProperty;
708
- var stringSlice = uncurryThis$3(''.slice);
709
- var replace = uncurryThis$3(''.replace);
710
- var join = uncurryThis$3([].join);
712
+ var defineProperty$3 = Object.defineProperty;
713
+ var stringSlice = uncurryThis$8(''.slice);
714
+ var replace = uncurryThis$8(''.replace);
715
+ var join = uncurryThis$8([].join);
711
716
 
712
- var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$3(function () {
713
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
717
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () {
718
+ return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
714
719
  });
715
720
 
716
721
  var TEMPLATE = String(String).split('String');
717
722
 
718
- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
719
- if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
720
- name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
723
+ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
724
+ if (stringSlice($String$2(name), 0, 7) === 'Symbol(') {
725
+ name = '[' + replace($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
721
726
  }
722
727
  if (options && options.getter) name = 'get ' + name;
723
728
  if (options && options.setter) name = 'set ' + name;
724
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
725
- if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
729
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
730
+ if (DESCRIPTORS$3) defineProperty$3(value, 'name', { value: name, configurable: true });
726
731
  else value.name = name;
727
732
  }
728
- if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
729
- defineProperty$1(value, 'length', { value: options.arity });
733
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
734
+ defineProperty$3(value, 'length', { value: options.arity });
730
735
  }
731
736
  try {
732
- if (options && hasOwn$3(options, 'constructor') && options.constructor) {
733
- if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
737
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
738
+ if (DESCRIPTORS$3) defineProperty$3(value, 'prototype', { writable: false });
734
739
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
735
740
  } else if (value.prototype) value.prototype = undefined;
736
741
  } catch (error) { /* empty */ }
737
742
  var state = enforceInternalState(value);
738
- if (!hasOwn$3(state, 'source')) {
743
+ if (!hasOwn$5(state, 'source')) {
739
744
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
740
745
  } return value;
741
746
  };
742
747
 
743
748
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
744
749
  // eslint-disable-next-line no-extend-native -- required
745
- Function.prototype.toString = makeBuiltIn$1(function toString() {
746
- return isCallable$3(this) && getInternalState(this).source || inspectSource(this);
750
+ Function.prototype.toString = makeBuiltIn$2(function toString() {
751
+ return isCallable$8(this) && getInternalState(this).source || inspectSource$2(this);
747
752
  }, 'toString');
748
753
 
749
- var makeBuiltInExports = makeBuiltIn$2.exports;
754
+ var makeBuiltInExports = makeBuiltIn$3.exports;
750
755
 
751
- var isCallable$2 = isCallable$b;
756
+ var isCallable$7 = isCallable$g;
752
757
  var definePropertyModule$1 = objectDefineProperty;
753
- var makeBuiltIn = makeBuiltInExports;
758
+ var makeBuiltIn$1 = makeBuiltInExports;
754
759
  var defineGlobalProperty$1 = defineGlobalProperty$3;
755
760
 
756
- var defineBuiltIn$2 = function (O, key, value, options) {
761
+ var defineBuiltIn$4 = function (O, key, value, options) {
757
762
  if (!options) options = {};
758
763
  var simple = options.enumerable;
759
764
  var name = options.name !== undefined ? options.name : key;
760
- if (isCallable$2(value)) makeBuiltIn(value, name, options);
765
+ if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
761
766
  if (options.global) {
762
767
  if (simple) O[key] = value;
763
768
  else defineGlobalProperty$1(key, value);
@@ -827,19 +832,19 @@ var toLength = toLength$1;
827
832
 
828
833
  // `LengthOfArrayLike` abstract operation
829
834
  // https://tc39.es/ecma262/#sec-lengthofarraylike
830
- var lengthOfArrayLike$1 = function (obj) {
835
+ var lengthOfArrayLike$2 = function (obj) {
831
836
  return toLength(obj.length);
832
837
  };
833
838
 
834
839
  var toIndexedObject$1 = toIndexedObject$3;
835
840
  var toAbsoluteIndex = toAbsoluteIndex$1;
836
- var lengthOfArrayLike = lengthOfArrayLike$1;
841
+ var lengthOfArrayLike$1 = lengthOfArrayLike$2;
837
842
 
838
843
  // `Array.prototype.{ indexOf, includes }` methods implementation
839
844
  var createMethod = function (IS_INCLUDES) {
840
845
  return function ($this, el, fromIndex) {
841
846
  var O = toIndexedObject$1($this);
842
- var length = lengthOfArrayLike(O);
847
+ var length = lengthOfArrayLike$1(O);
843
848
  if (length === 0) return !IS_INCLUDES && -1;
844
849
  var index = toAbsoluteIndex(fromIndex, length);
845
850
  var value;
@@ -865,22 +870,22 @@ var arrayIncludes = {
865
870
  indexOf: createMethod(false)
866
871
  };
867
872
 
868
- var uncurryThis$2 = functionUncurryThis;
869
- var hasOwn$2 = hasOwnProperty_1;
873
+ var uncurryThis$7 = functionUncurryThis;
874
+ var hasOwn$4 = hasOwnProperty_1;
870
875
  var toIndexedObject = toIndexedObject$3;
871
876
  var indexOf = arrayIncludes.indexOf;
872
877
  var hiddenKeys$1 = hiddenKeys$3;
873
878
 
874
- var push = uncurryThis$2([].push);
879
+ var push = uncurryThis$7([].push);
875
880
 
876
881
  var objectKeysInternal = function (object, names) {
877
882
  var O = toIndexedObject(object);
878
883
  var i = 0;
879
884
  var result = [];
880
885
  var key;
881
- for (key in O) !hasOwn$2(hiddenKeys$1, key) && hasOwn$2(O, key) && push(result, key);
886
+ for (key in O) !hasOwn$4(hiddenKeys$1, key) && hasOwn$4(O, key) && push(result, key);
882
887
  // Don't enum bug & hidden keys
883
- while (names.length > i) if (hasOwn$2(O, key = names[i++])) {
888
+ while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
884
889
  ~indexOf(result, key) || push(result, key);
885
890
  }
886
891
  return result;
@@ -914,22 +919,22 @@ var objectGetOwnPropertySymbols = {};
914
919
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
915
920
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
916
921
 
917
- var getBuiltIn = getBuiltIn$2;
918
- var uncurryThis$1 = functionUncurryThis;
922
+ var getBuiltIn$5 = getBuiltIn$7;
923
+ var uncurryThis$6 = functionUncurryThis;
919
924
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
920
925
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
921
- var anObject$2 = anObject$4;
926
+ var anObject$7 = anObject$9;
922
927
 
923
- var concat$1 = uncurryThis$1([].concat);
928
+ var concat$1 = uncurryThis$6([].concat);
924
929
 
925
930
  // all object keys, includes non-enumerable and symbols
926
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
927
- var keys = getOwnPropertyNamesModule.f(anObject$2(it));
931
+ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
932
+ var keys = getOwnPropertyNamesModule.f(anObject$7(it));
928
933
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
929
934
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
930
935
  };
931
936
 
932
- var hasOwn$1 = hasOwnProperty_1;
937
+ var hasOwn$3 = hasOwnProperty_1;
933
938
  var ownKeys = ownKeys$1;
934
939
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
935
940
  var definePropertyModule = objectDefineProperty;
@@ -940,42 +945,42 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
940
945
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
941
946
  for (var i = 0; i < keys.length; i++) {
942
947
  var key = keys[i];
943
- if (!hasOwn$1(target, key) && !(exceptions && hasOwn$1(exceptions, key))) {
948
+ if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
944
949
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
945
950
  }
946
951
  }
947
952
  };
948
953
 
949
- var fails$2 = fails$a;
950
- var isCallable$1 = isCallable$b;
954
+ var fails$4 = fails$c;
955
+ var isCallable$6 = isCallable$g;
951
956
 
952
957
  var replacement = /#|\.prototype\./;
953
958
 
954
- var isForced$1 = function (feature, detection) {
959
+ var isForced$2 = function (feature, detection) {
955
960
  var value = data[normalize(feature)];
956
961
  return value === POLYFILL ? true
957
962
  : value === NATIVE ? false
958
- : isCallable$1(detection) ? fails$2(detection)
963
+ : isCallable$6(detection) ? fails$4(detection)
959
964
  : !!detection;
960
965
  };
961
966
 
962
- var normalize = isForced$1.normalize = function (string) {
967
+ var normalize = isForced$2.normalize = function (string) {
963
968
  return String(string).replace(replacement, '.').toLowerCase();
964
969
  };
965
970
 
966
- var data = isForced$1.data = {};
967
- var NATIVE = isForced$1.NATIVE = 'N';
968
- var POLYFILL = isForced$1.POLYFILL = 'P';
971
+ var data = isForced$2.data = {};
972
+ var NATIVE = isForced$2.NATIVE = 'N';
973
+ var POLYFILL = isForced$2.POLYFILL = 'P';
969
974
 
970
- var isForced_1 = isForced$1;
975
+ var isForced_1 = isForced$2;
971
976
 
972
- var global$1 = global$a;
973
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
977
+ var globalThis$8 = globalThis_1;
978
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
974
979
  var createNonEnumerableProperty = createNonEnumerableProperty$2;
975
- var defineBuiltIn$1 = defineBuiltIn$2;
980
+ var defineBuiltIn$3 = defineBuiltIn$4;
976
981
  var defineGlobalProperty = defineGlobalProperty$3;
977
982
  var copyConstructorProperties = copyConstructorProperties$1;
978
- var isForced = isForced_1;
983
+ var isForced$1 = isForced_1;
979
984
 
980
985
  /*
981
986
  options.target - name of the target object
@@ -998,19 +1003,19 @@ var _export = function (options, source) {
998
1003
  var STATIC = options.stat;
999
1004
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1000
1005
  if (GLOBAL) {
1001
- target = global$1;
1006
+ target = globalThis$8;
1002
1007
  } else if (STATIC) {
1003
- target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
1008
+ target = globalThis$8[TARGET] || defineGlobalProperty(TARGET, {});
1004
1009
  } else {
1005
- target = global$1[TARGET] && global$1[TARGET].prototype;
1010
+ target = globalThis$8[TARGET] && globalThis$8[TARGET].prototype;
1006
1011
  }
1007
1012
  if (target) for (key in source) {
1008
1013
  sourceProperty = source[key];
1009
1014
  if (options.dontCallGetSet) {
1010
- descriptor = getOwnPropertyDescriptor(target, key);
1015
+ descriptor = getOwnPropertyDescriptor$1(target, key);
1011
1016
  targetProperty = descriptor && descriptor.value;
1012
1017
  } else targetProperty = target[key];
1013
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1018
+ FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1014
1019
  // contained in target
1015
1020
  if (!FORCED && targetProperty !== undefined) {
1016
1021
  if (typeof sourceProperty == typeof targetProperty) continue;
@@ -1020,7 +1025,7 @@ var _export = function (options, source) {
1020
1025
  if (options.sham || (targetProperty && targetProperty.sham)) {
1021
1026
  createNonEnumerableProperty(sourceProperty, 'sham', true);
1022
1027
  }
1023
- defineBuiltIn$1(target, key, sourceProperty, options);
1028
+ defineBuiltIn$3(target, key, sourceProperty, options);
1024
1029
  }
1025
1030
  };
1026
1031
 
@@ -1034,10 +1039,10 @@ var objectKeys$1 = Object.keys || function keys(O) {
1034
1039
  return internalObjectKeys(O, enumBugKeys);
1035
1040
  };
1036
1041
 
1037
- var DESCRIPTORS = descriptors;
1038
- var uncurryThis = functionUncurryThis;
1039
- var call$1 = functionCall;
1040
- var fails$1 = fails$a;
1042
+ var DESCRIPTORS$2 = descriptors;
1043
+ var uncurryThis$5 = functionUncurryThis;
1044
+ var call$8 = functionCall;
1045
+ var fails$3 = fails$c;
1041
1046
  var objectKeys = objectKeys$1;
1042
1047
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1043
1048
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1047,17 +1052,17 @@ var IndexedObject = indexedObject;
1047
1052
  // eslint-disable-next-line es/no-object-assign -- safe
1048
1053
  var $assign = Object.assign;
1049
1054
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1050
- var defineProperty = Object.defineProperty;
1051
- var concat = uncurryThis([].concat);
1055
+ var defineProperty$2 = Object.defineProperty;
1056
+ var concat = uncurryThis$5([].concat);
1052
1057
 
1053
1058
  // `Object.assign` method
1054
1059
  // https://tc39.es/ecma262/#sec-object.assign
1055
- var objectAssign = !$assign || fails$1(function () {
1060
+ var objectAssign = !$assign || fails$3(function () {
1056
1061
  // should have correct order of operations (Edge bug)
1057
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1062
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1058
1063
  enumerable: true,
1059
1064
  get: function () {
1060
- defineProperty(this, 'b', {
1065
+ defineProperty$2(this, 'b', {
1061
1066
  value: 3,
1062
1067
  enumerable: false
1063
1068
  });
@@ -1086,64 +1091,30 @@ var objectAssign = !$assign || fails$1(function () {
1086
1091
  var key;
1087
1092
  while (length > j) {
1088
1093
  key = keys[j++];
1089
- if (!DESCRIPTORS || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
1094
+ if (!DESCRIPTORS$2 || call$8(propertyIsEnumerable, S, key)) T[key] = S[key];
1090
1095
  }
1091
1096
  } return T;
1092
1097
  } : $assign;
1093
1098
 
1094
- var $ = _export;
1099
+ var $$6 = _export;
1095
1100
  var assign = objectAssign;
1096
1101
 
1097
1102
  // `Object.assign` method
1098
1103
  // https://tc39.es/ecma262/#sec-object.assign
1099
1104
  // eslint-disable-next-line es/no-object-assign -- required for testing
1100
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1105
+ $$6({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1101
1106
  assign: assign
1102
1107
  });
1103
1108
 
1104
- /******************************************************************************
1105
- Copyright (c) Microsoft Corporation.
1106
-
1107
- Permission to use, copy, modify, and/or distribute this software for any
1108
- purpose with or without fee is hereby granted.
1109
-
1110
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1111
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1112
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1113
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1114
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1115
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1116
- PERFORMANCE OF THIS SOFTWARE.
1117
- ***************************************************************************** */
1118
- /* global Reflect, Promise, SuppressedError, Symbol */
1119
-
1120
-
1121
- function __rest(s, e) {
1122
- var t = {};
1123
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1124
- t[p] = s[p];
1125
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
1126
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1127
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1128
- t[p[i]] = s[p[i]];
1129
- }
1130
- return t;
1131
- }
1132
-
1133
- function __awaiter(thisArg, _arguments, P, generator) {
1134
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
1135
- return new (P || (P = Promise))(function (resolve, reject) {
1136
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
1137
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
1138
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
1139
- step((generator = generator.apply(thisArg, _arguments || [])).next());
1140
- });
1141
- }
1142
-
1143
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1144
- var e = new Error(message);
1145
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1146
- };
1109
+ function _objectWithoutPropertiesLoose(r, e) {
1110
+ if (null == r) return {};
1111
+ var t = {};
1112
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
1113
+ if (e.indexOf(n) >= 0) continue;
1114
+ t[n] = r[n];
1115
+ }
1116
+ return t;
1117
+ }
1147
1118
 
1148
1119
  /* *
1149
1120
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1248,8 +1219,8 @@ const getSnackbarStore = store => {
1248
1219
  const {
1249
1220
  selectAll: getCurrentSnackbarMessages
1250
1221
  } = snackbarAdapter.getSelectors(state => {
1251
- var _a;
1252
- return (_a = state === null || state === void 0 ? void 0 : state.snackbar) !== null && _a !== void 0 ? _a : {
1222
+ var _state$snackbar;
1223
+ return (_state$snackbar = state == null ? void 0 : state.snackbar) != null ? _state$snackbar : {
1253
1224
  entities: {},
1254
1225
  ids: []
1255
1226
  };
@@ -1293,9 +1264,138 @@ var types = /*#__PURE__*/Object.freeze({
1293
1264
  get SnackbarMessageType () { return SnackbarMessageType; }
1294
1265
  });
1295
1266
 
1296
- var wellKnownSymbol$1 = wellKnownSymbol$3;
1267
+ /* global Bun, Deno -- detection */
1268
+ var globalThis$7 = globalThis_1;
1269
+ var userAgent$3 = environmentUserAgent;
1270
+ var classof$4 = classofRaw$2;
1271
+
1272
+ var userAgentStartsWith = function (string) {
1273
+ return userAgent$3.slice(0, string.length) === string;
1274
+ };
1275
+
1276
+ var environment = (function () {
1277
+ if (userAgentStartsWith('Bun/')) return 'BUN';
1278
+ if (userAgentStartsWith('Cloudflare-Workers')) return 'CLOUDFLARE';
1279
+ if (userAgentStartsWith('Deno/')) return 'DENO';
1280
+ if (userAgentStartsWith('Node.js/')) return 'NODE';
1281
+ if (globalThis$7.Bun && typeof Bun.version == 'string') return 'BUN';
1282
+ if (globalThis$7.Deno && typeof Deno.version == 'object') return 'DENO';
1283
+ if (classof$4(globalThis$7.process) === 'process') return 'NODE';
1284
+ if (globalThis$7.window && globalThis$7.document) return 'BROWSER';
1285
+ return 'REST';
1286
+ })();
1287
+
1288
+ var ENVIRONMENT$1 = environment;
1289
+
1290
+ var environmentIsNode = ENVIRONMENT$1 === 'NODE';
1291
+
1292
+ var uncurryThis$4 = functionUncurryThis;
1293
+ var aCallable$6 = aCallable$8;
1294
+
1295
+ var functionUncurryThisAccessor = function (object, key, method) {
1296
+ try {
1297
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1298
+ return uncurryThis$4(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
1299
+ } catch (error) { /* empty */ }
1300
+ };
1301
+
1302
+ var isObject$3 = isObject$9;
1303
+
1304
+ var isPossiblePrototype$1 = function (argument) {
1305
+ return isObject$3(argument) || argument === null;
1306
+ };
1307
+
1308
+ var isPossiblePrototype = isPossiblePrototype$1;
1309
+
1310
+ var $String$1 = String;
1311
+ var $TypeError$6 = TypeError;
1312
+
1313
+ var aPossiblePrototype$1 = function (argument) {
1314
+ if (isPossiblePrototype(argument)) return argument;
1315
+ throw new $TypeError$6("Can't set " + $String$1(argument) + ' as a prototype');
1316
+ };
1317
+
1318
+ /* eslint-disable no-proto -- safe */
1319
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1320
+ var isObject$2 = isObject$9;
1321
+ var requireObjectCoercible = requireObjectCoercible$3;
1322
+ var aPossiblePrototype = aPossiblePrototype$1;
1323
+
1324
+ // `Object.setPrototypeOf` method
1325
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1326
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1327
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1328
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1329
+ var CORRECT_SETTER = false;
1330
+ var test = {};
1331
+ var setter;
1332
+ try {
1333
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1334
+ setter(test, []);
1335
+ CORRECT_SETTER = test instanceof Array;
1336
+ } catch (error) { /* empty */ }
1337
+ return function setPrototypeOf(O, proto) {
1338
+ requireObjectCoercible(O);
1339
+ aPossiblePrototype(proto);
1340
+ if (!isObject$2(O)) return O;
1341
+ if (CORRECT_SETTER) setter(O, proto);
1342
+ else O.__proto__ = proto;
1343
+ return O;
1344
+ };
1345
+ }() : undefined);
1346
+
1347
+ var defineProperty$1 = objectDefineProperty.f;
1348
+ var hasOwn$2 = hasOwnProperty_1;
1349
+ var wellKnownSymbol$8 = wellKnownSymbol$a;
1350
+
1351
+ var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1352
+
1353
+ var setToStringTag$1 = function (target, TAG, STATIC) {
1354
+ if (target && !STATIC) target = target.prototype;
1355
+ if (target && !hasOwn$2(target, TO_STRING_TAG$2)) {
1356
+ defineProperty$1(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1357
+ }
1358
+ };
1359
+
1360
+ var makeBuiltIn = makeBuiltInExports;
1361
+ var defineProperty = objectDefineProperty;
1362
+
1363
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1364
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1365
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1366
+ return defineProperty.f(target, name, descriptor);
1367
+ };
1368
+
1369
+ var getBuiltIn$4 = getBuiltIn$7;
1370
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
1371
+ var wellKnownSymbol$7 = wellKnownSymbol$a;
1372
+ var DESCRIPTORS$1 = descriptors;
1373
+
1374
+ var SPECIES$2 = wellKnownSymbol$7('species');
1375
+
1376
+ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
1377
+ var Constructor = getBuiltIn$4(CONSTRUCTOR_NAME);
1378
+
1379
+ if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) {
1380
+ defineBuiltInAccessor(Constructor, SPECIES$2, {
1381
+ configurable: true,
1382
+ get: function () { return this; }
1383
+ });
1384
+ }
1385
+ };
1386
+
1387
+ var isPrototypeOf$2 = objectIsPrototypeOf;
1388
+
1389
+ var $TypeError$5 = TypeError;
1390
+
1391
+ var anInstance$1 = function (it, Prototype) {
1392
+ if (isPrototypeOf$2(Prototype, it)) return it;
1393
+ throw new $TypeError$5('Incorrect invocation');
1394
+ };
1395
+
1396
+ var wellKnownSymbol$6 = wellKnownSymbol$a;
1297
1397
 
1298
- var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
1398
+ var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
1299
1399
  var test = {};
1300
1400
 
1301
1401
  test[TO_STRING_TAG$1] = 'z';
@@ -1303,15 +1403,15 @@ test[TO_STRING_TAG$1] = 'z';
1303
1403
  var toStringTagSupport = String(test) === '[object z]';
1304
1404
 
1305
1405
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1306
- var isCallable = isCallable$b;
1307
- var classofRaw = classofRaw$1;
1308
- var wellKnownSymbol = wellKnownSymbol$3;
1406
+ var isCallable$5 = isCallable$g;
1407
+ var classofRaw$1 = classofRaw$2;
1408
+ var wellKnownSymbol$5 = wellKnownSymbol$a;
1309
1409
 
1310
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1410
+ var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
1311
1411
  var $Object = Object;
1312
1412
 
1313
1413
  // ES3 wrong here
1314
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
1414
+ var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
1315
1415
 
1316
1416
  // fallback for IE11 Script Access Denied error
1317
1417
  var tryGet = function (it, key) {
@@ -1321,18 +1421,1084 @@ var tryGet = function (it, key) {
1321
1421
  };
1322
1422
 
1323
1423
  // getting tag from ES6+ `Object.prototype.toString`
1324
- var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1424
+ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1325
1425
  var O, tag, result;
1326
1426
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1327
1427
  // @@toStringTag case
1328
1428
  : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1329
1429
  // builtinTag case
1330
- : CORRECT_ARGUMENTS ? classofRaw(O)
1430
+ : CORRECT_ARGUMENTS ? classofRaw$1(O)
1331
1431
  // ES3 arguments fallback
1332
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1432
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
1333
1433
  };
1334
1434
 
1335
- var classof = classof$1;
1435
+ var uncurryThis$3 = functionUncurryThis;
1436
+ var fails$2 = fails$c;
1437
+ var isCallable$4 = isCallable$g;
1438
+ var classof$2 = classof$3;
1439
+ var getBuiltIn$3 = getBuiltIn$7;
1440
+ var inspectSource$1 = inspectSource$3;
1441
+
1442
+ var noop = function () { /* empty */ };
1443
+ var construct = getBuiltIn$3('Reflect', 'construct');
1444
+ var constructorRegExp = /^\s*(?:class|function)\b/;
1445
+ var exec = uncurryThis$3(constructorRegExp.exec);
1446
+ var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
1447
+
1448
+ var isConstructorModern = function isConstructor(argument) {
1449
+ if (!isCallable$4(argument)) return false;
1450
+ try {
1451
+ construct(noop, [], argument);
1452
+ return true;
1453
+ } catch (error) {
1454
+ return false;
1455
+ }
1456
+ };
1457
+
1458
+ var isConstructorLegacy = function isConstructor(argument) {
1459
+ if (!isCallable$4(argument)) return false;
1460
+ switch (classof$2(argument)) {
1461
+ case 'AsyncFunction':
1462
+ case 'GeneratorFunction':
1463
+ case 'AsyncGeneratorFunction': return false;
1464
+ }
1465
+ try {
1466
+ // we can't check .prototype since constructors produced by .bind haven't it
1467
+ // `Function#toString` throws on some built-it function in some legacy engines
1468
+ // (for example, `DOMQuad` and similar in FF41-)
1469
+ return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource$1(argument));
1470
+ } catch (error) {
1471
+ return true;
1472
+ }
1473
+ };
1474
+
1475
+ isConstructorLegacy.sham = true;
1476
+
1477
+ // `IsConstructor` abstract operation
1478
+ // https://tc39.es/ecma262/#sec-isconstructor
1479
+ var isConstructor$1 = !construct || fails$2(function () {
1480
+ var called;
1481
+ return isConstructorModern(isConstructorModern.call)
1482
+ || !isConstructorModern(Object)
1483
+ || !isConstructorModern(function () { called = true; })
1484
+ || called;
1485
+ }) ? isConstructorLegacy : isConstructorModern;
1486
+
1487
+ var isConstructor = isConstructor$1;
1488
+ var tryToString$2 = tryToString$4;
1489
+
1490
+ var $TypeError$4 = TypeError;
1491
+
1492
+ // `Assert: IsConstructor(argument) is true`
1493
+ var aConstructor$1 = function (argument) {
1494
+ if (isConstructor(argument)) return argument;
1495
+ throw new $TypeError$4(tryToString$2(argument) + ' is not a constructor');
1496
+ };
1497
+
1498
+ var anObject$6 = anObject$9;
1499
+ var aConstructor = aConstructor$1;
1500
+ var isNullOrUndefined$1 = isNullOrUndefined$4;
1501
+ var wellKnownSymbol$4 = wellKnownSymbol$a;
1502
+
1503
+ var SPECIES$1 = wellKnownSymbol$4('species');
1504
+
1505
+ // `SpeciesConstructor` abstract operation
1506
+ // https://tc39.es/ecma262/#sec-speciesconstructor
1507
+ var speciesConstructor$1 = function (O, defaultConstructor) {
1508
+ var C = anObject$6(O).constructor;
1509
+ var S;
1510
+ return C === undefined || isNullOrUndefined$1(S = anObject$6(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
1511
+ };
1512
+
1513
+ var NATIVE_BIND$1 = functionBindNative;
1514
+
1515
+ var FunctionPrototype = Function.prototype;
1516
+ var apply$1 = FunctionPrototype.apply;
1517
+ var call$7 = FunctionPrototype.call;
1518
+
1519
+ // eslint-disable-next-line es/no-reflect -- safe
1520
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$1) : function () {
1521
+ return call$7.apply(apply$1, arguments);
1522
+ });
1523
+
1524
+ var classofRaw = classofRaw$2;
1525
+ var uncurryThis$2 = functionUncurryThis;
1526
+
1527
+ var functionUncurryThisClause = function (fn) {
1528
+ // Nashorn bug:
1529
+ // https://github.com/zloirock/core-js/issues/1128
1530
+ // https://github.com/zloirock/core-js/issues/1130
1531
+ if (classofRaw(fn) === 'Function') return uncurryThis$2(fn);
1532
+ };
1533
+
1534
+ var uncurryThis$1 = functionUncurryThisClause;
1535
+ var aCallable$5 = aCallable$8;
1536
+ var NATIVE_BIND = functionBindNative;
1537
+
1538
+ var bind$4 = uncurryThis$1(uncurryThis$1.bind);
1539
+
1540
+ // optional / simple context binding
1541
+ var functionBindContext = function (fn, that) {
1542
+ aCallable$5(fn);
1543
+ return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
1544
+ return fn.apply(that, arguments);
1545
+ };
1546
+ };
1547
+
1548
+ var getBuiltIn$2 = getBuiltIn$7;
1549
+
1550
+ var html$1 = getBuiltIn$2('document', 'documentElement');
1551
+
1552
+ var uncurryThis = functionUncurryThis;
1553
+
1554
+ var arraySlice$1 = uncurryThis([].slice);
1555
+
1556
+ var $TypeError$3 = TypeError;
1557
+
1558
+ var validateArgumentsLength$1 = function (passed, required) {
1559
+ if (passed < required) throw new $TypeError$3('Not enough arguments');
1560
+ return passed;
1561
+ };
1562
+
1563
+ var userAgent$2 = environmentUserAgent;
1564
+
1565
+ // eslint-disable-next-line redos/no-vulnerable -- safe
1566
+ var environmentIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
1567
+
1568
+ var globalThis$6 = globalThis_1;
1569
+ var apply = functionApply;
1570
+ var bind$3 = functionBindContext;
1571
+ var isCallable$3 = isCallable$g;
1572
+ var hasOwn$1 = hasOwnProperty_1;
1573
+ var fails$1 = fails$c;
1574
+ var html = html$1;
1575
+ var arraySlice = arraySlice$1;
1576
+ var createElement = documentCreateElement;
1577
+ var validateArgumentsLength = validateArgumentsLength$1;
1578
+ var IS_IOS$1 = environmentIsIos;
1579
+ var IS_NODE$2 = environmentIsNode;
1580
+
1581
+ var set = globalThis$6.setImmediate;
1582
+ var clear = globalThis$6.clearImmediate;
1583
+ var process$2 = globalThis$6.process;
1584
+ var Dispatch = globalThis$6.Dispatch;
1585
+ var Function$1 = globalThis$6.Function;
1586
+ var MessageChannel = globalThis$6.MessageChannel;
1587
+ var String$1 = globalThis$6.String;
1588
+ var counter = 0;
1589
+ var queue$2 = {};
1590
+ var ONREADYSTATECHANGE = 'onreadystatechange';
1591
+ var $location, defer, channel, port;
1592
+
1593
+ fails$1(function () {
1594
+ // Deno throws a ReferenceError on `location` access without `--location` flag
1595
+ $location = globalThis$6.location;
1596
+ });
1597
+
1598
+ var run = function (id) {
1599
+ if (hasOwn$1(queue$2, id)) {
1600
+ var fn = queue$2[id];
1601
+ delete queue$2[id];
1602
+ fn();
1603
+ }
1604
+ };
1605
+
1606
+ var runner = function (id) {
1607
+ return function () {
1608
+ run(id);
1609
+ };
1610
+ };
1611
+
1612
+ var eventListener = function (event) {
1613
+ run(event.data);
1614
+ };
1615
+
1616
+ var globalPostMessageDefer = function (id) {
1617
+ // old engines have not location.origin
1618
+ globalThis$6.postMessage(String$1(id), $location.protocol + '//' + $location.host);
1619
+ };
1620
+
1621
+ // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
1622
+ if (!set || !clear) {
1623
+ set = function setImmediate(handler) {
1624
+ validateArgumentsLength(arguments.length, 1);
1625
+ var fn = isCallable$3(handler) ? handler : Function$1(handler);
1626
+ var args = arraySlice(arguments, 1);
1627
+ queue$2[++counter] = function () {
1628
+ apply(fn, undefined, args);
1629
+ };
1630
+ defer(counter);
1631
+ return counter;
1632
+ };
1633
+ clear = function clearImmediate(id) {
1634
+ delete queue$2[id];
1635
+ };
1636
+ // Node.js 0.8-
1637
+ if (IS_NODE$2) {
1638
+ defer = function (id) {
1639
+ process$2.nextTick(runner(id));
1640
+ };
1641
+ // Sphere (JS game engine) Dispatch API
1642
+ } else if (Dispatch && Dispatch.now) {
1643
+ defer = function (id) {
1644
+ Dispatch.now(runner(id));
1645
+ };
1646
+ // Browsers with MessageChannel, includes WebWorkers
1647
+ // except iOS - https://github.com/zloirock/core-js/issues/624
1648
+ } else if (MessageChannel && !IS_IOS$1) {
1649
+ channel = new MessageChannel();
1650
+ port = channel.port2;
1651
+ channel.port1.onmessage = eventListener;
1652
+ defer = bind$3(port.postMessage, port);
1653
+ // Browsers with postMessage, skip WebWorkers
1654
+ // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
1655
+ } else if (
1656
+ globalThis$6.addEventListener &&
1657
+ isCallable$3(globalThis$6.postMessage) &&
1658
+ !globalThis$6.importScripts &&
1659
+ $location && $location.protocol !== 'file:' &&
1660
+ !fails$1(globalPostMessageDefer)
1661
+ ) {
1662
+ defer = globalPostMessageDefer;
1663
+ globalThis$6.addEventListener('message', eventListener, false);
1664
+ // IE8-
1665
+ } else if (ONREADYSTATECHANGE in createElement('script')) {
1666
+ defer = function (id) {
1667
+ html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
1668
+ html.removeChild(this);
1669
+ run(id);
1670
+ };
1671
+ };
1672
+ // Rest old browsers
1673
+ } else {
1674
+ defer = function (id) {
1675
+ setTimeout(runner(id), 0);
1676
+ };
1677
+ }
1678
+ }
1679
+
1680
+ var task$1 = {
1681
+ set: set,
1682
+ clear: clear
1683
+ };
1684
+
1685
+ var globalThis$5 = globalThis_1;
1686
+ var DESCRIPTORS = descriptors;
1687
+
1688
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1689
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1690
+
1691
+ // Avoid NodeJS experimental warning
1692
+ var safeGetBuiltIn$1 = function (name) {
1693
+ if (!DESCRIPTORS) return globalThis$5[name];
1694
+ var descriptor = getOwnPropertyDescriptor(globalThis$5, name);
1695
+ return descriptor && descriptor.value;
1696
+ };
1697
+
1698
+ var Queue$2 = function () {
1699
+ this.head = null;
1700
+ this.tail = null;
1701
+ };
1702
+
1703
+ Queue$2.prototype = {
1704
+ add: function (item) {
1705
+ var entry = { item: item, next: null };
1706
+ var tail = this.tail;
1707
+ if (tail) tail.next = entry;
1708
+ else this.head = entry;
1709
+ this.tail = entry;
1710
+ },
1711
+ get: function () {
1712
+ var entry = this.head;
1713
+ if (entry) {
1714
+ var next = this.head = entry.next;
1715
+ if (next === null) this.tail = null;
1716
+ return entry.item;
1717
+ }
1718
+ }
1719
+ };
1720
+
1721
+ var queue$1 = Queue$2;
1722
+
1723
+ var userAgent$1 = environmentUserAgent;
1724
+
1725
+ var environmentIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
1726
+
1727
+ var userAgent = environmentUserAgent;
1728
+
1729
+ var environmentIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
1730
+
1731
+ var globalThis$4 = globalThis_1;
1732
+ var safeGetBuiltIn = safeGetBuiltIn$1;
1733
+ var bind$2 = functionBindContext;
1734
+ var macrotask = task$1.set;
1735
+ var Queue$1 = queue$1;
1736
+ var IS_IOS = environmentIsIos;
1737
+ var IS_IOS_PEBBLE = environmentIsIosPebble;
1738
+ var IS_WEBOS_WEBKIT = environmentIsWebosWebkit;
1739
+ var IS_NODE$1 = environmentIsNode;
1740
+
1741
+ var MutationObserver = globalThis$4.MutationObserver || globalThis$4.WebKitMutationObserver;
1742
+ var document$2 = globalThis$4.document;
1743
+ var process$1 = globalThis$4.process;
1744
+ var Promise$1 = globalThis$4.Promise;
1745
+ var microtask$1 = safeGetBuiltIn('queueMicrotask');
1746
+ var notify$1, toggle, node, promise, then;
1747
+
1748
+ // modern engines have queueMicrotask method
1749
+ if (!microtask$1) {
1750
+ var queue = new Queue$1();
1751
+
1752
+ var flush = function () {
1753
+ var parent, fn;
1754
+ if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
1755
+ while (fn = queue.get()) try {
1756
+ fn();
1757
+ } catch (error) {
1758
+ if (queue.head) notify$1();
1759
+ throw error;
1760
+ }
1761
+ if (parent) parent.enter();
1762
+ };
1763
+
1764
+ // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
1765
+ // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
1766
+ if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
1767
+ toggle = true;
1768
+ node = document$2.createTextNode('');
1769
+ new MutationObserver(flush).observe(node, { characterData: true });
1770
+ notify$1 = function () {
1771
+ node.data = toggle = !toggle;
1772
+ };
1773
+ // environments with maybe non-completely correct, but existent Promise
1774
+ } else if (!IS_IOS_PEBBLE && Promise$1 && Promise$1.resolve) {
1775
+ // Promise.resolve without an argument throws an error in LG WebOS 2
1776
+ promise = Promise$1.resolve(undefined);
1777
+ // workaround of WebKit ~ iOS Safari 10.1 bug
1778
+ promise.constructor = Promise$1;
1779
+ then = bind$2(promise.then, promise);
1780
+ notify$1 = function () {
1781
+ then(flush);
1782
+ };
1783
+ // Node.js without promises
1784
+ } else if (IS_NODE$1) {
1785
+ notify$1 = function () {
1786
+ process$1.nextTick(flush);
1787
+ };
1788
+ // for other environments - macrotask based on:
1789
+ // - setImmediate
1790
+ // - MessageChannel
1791
+ // - window.postMessage
1792
+ // - onreadystatechange
1793
+ // - setTimeout
1794
+ } else {
1795
+ // `webpack` dev server bug on IE global methods - use bind(fn, global)
1796
+ macrotask = bind$2(macrotask, globalThis$4);
1797
+ notify$1 = function () {
1798
+ macrotask(flush);
1799
+ };
1800
+ }
1801
+
1802
+ microtask$1 = function (fn) {
1803
+ if (!queue.head) notify$1();
1804
+ queue.add(fn);
1805
+ };
1806
+ }
1807
+
1808
+ var microtask_1 = microtask$1;
1809
+
1810
+ var hostReportErrors$1 = function (a, b) {
1811
+ try {
1812
+ // eslint-disable-next-line no-console -- safe
1813
+ arguments.length === 1 ? console.error(a) : console.error(a, b);
1814
+ } catch (error) { /* empty */ }
1815
+ };
1816
+
1817
+ var perform$3 = function (exec) {
1818
+ try {
1819
+ return { error: false, value: exec() };
1820
+ } catch (error) {
1821
+ return { error: true, value: error };
1822
+ }
1823
+ };
1824
+
1825
+ var globalThis$3 = globalThis_1;
1826
+
1827
+ var promiseNativeConstructor = globalThis$3.Promise;
1828
+
1829
+ var globalThis$2 = globalThis_1;
1830
+ var NativePromiseConstructor$3 = promiseNativeConstructor;
1831
+ var isCallable$2 = isCallable$g;
1832
+ var isForced = isForced_1;
1833
+ var inspectSource = inspectSource$3;
1834
+ var wellKnownSymbol$3 = wellKnownSymbol$a;
1835
+ var ENVIRONMENT = environment;
1836
+ var V8_VERSION = environmentV8Version;
1837
+
1838
+ NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
1839
+ var SPECIES = wellKnownSymbol$3('species');
1840
+ var SUBCLASSING = false;
1841
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(globalThis$2.PromiseRejectionEvent);
1842
+
1843
+ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
1844
+ var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
1845
+ var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor$3);
1846
+ // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
1847
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
1848
+ // We can't detect it synchronously, so just check versions
1849
+ if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
1850
+ // We can't use @@species feature detection in V8 since it causes
1851
+ // deoptimization and performance degradation
1852
+ // https://github.com/zloirock/core-js/issues/679
1853
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
1854
+ // Detect correctness of subclassing with @@species support
1855
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
1856
+ var FakePromise = function (exec) {
1857
+ exec(function () { /* empty */ }, function () { /* empty */ });
1858
+ };
1859
+ var constructor = promise.constructor = {};
1860
+ constructor[SPECIES] = FakePromise;
1861
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
1862
+ if (!SUBCLASSING) return true;
1863
+ // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
1864
+ } return !GLOBAL_CORE_JS_PROMISE && (ENVIRONMENT === 'BROWSER' || ENVIRONMENT === 'DENO') && !NATIVE_PROMISE_REJECTION_EVENT$1;
1865
+ });
1866
+
1867
+ var promiseConstructorDetection = {
1868
+ CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
1869
+ REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
1870
+ SUBCLASSING: SUBCLASSING
1871
+ };
1872
+
1873
+ var newPromiseCapability$2 = {};
1874
+
1875
+ var aCallable$4 = aCallable$8;
1876
+
1877
+ var $TypeError$2 = TypeError;
1878
+
1879
+ var PromiseCapability = function (C) {
1880
+ var resolve, reject;
1881
+ this.promise = new C(function ($$resolve, $$reject) {
1882
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
1883
+ resolve = $$resolve;
1884
+ reject = $$reject;
1885
+ });
1886
+ this.resolve = aCallable$4(resolve);
1887
+ this.reject = aCallable$4(reject);
1888
+ };
1889
+
1890
+ // `NewPromiseCapability` abstract operation
1891
+ // https://tc39.es/ecma262/#sec-newpromisecapability
1892
+ newPromiseCapability$2.f = function (C) {
1893
+ return new PromiseCapability(C);
1894
+ };
1895
+
1896
+ var $$5 = _export;
1897
+ var IS_NODE = environmentIsNode;
1898
+ var globalThis$1 = globalThis_1;
1899
+ var call$6 = functionCall;
1900
+ var defineBuiltIn$2 = defineBuiltIn$4;
1901
+ var setPrototypeOf = objectSetPrototypeOf;
1902
+ var setToStringTag = setToStringTag$1;
1903
+ var setSpecies = setSpecies$1;
1904
+ var aCallable$3 = aCallable$8;
1905
+ var isCallable$1 = isCallable$g;
1906
+ var isObject$1 = isObject$9;
1907
+ var anInstance = anInstance$1;
1908
+ var speciesConstructor = speciesConstructor$1;
1909
+ var task = task$1.set;
1910
+ var microtask = microtask_1;
1911
+ var hostReportErrors = hostReportErrors$1;
1912
+ var perform$2 = perform$3;
1913
+ var Queue = queue$1;
1914
+ var InternalStateModule = internalState;
1915
+ var NativePromiseConstructor$2 = promiseNativeConstructor;
1916
+ var PromiseConstructorDetection = promiseConstructorDetection;
1917
+ var newPromiseCapabilityModule$3 = newPromiseCapability$2;
1918
+
1919
+ var PROMISE = 'Promise';
1920
+ var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
1921
+ var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
1922
+ var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
1923
+ var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
1924
+ var setInternalState = InternalStateModule.set;
1925
+ var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
1926
+ var PromiseConstructor = NativePromiseConstructor$2;
1927
+ var PromisePrototype = NativePromisePrototype$1;
1928
+ var TypeError$1 = globalThis$1.TypeError;
1929
+ var document$1 = globalThis$1.document;
1930
+ var process = globalThis$1.process;
1931
+ var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
1932
+ var newGenericPromiseCapability = newPromiseCapability$1;
1933
+
1934
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && globalThis$1.dispatchEvent);
1935
+ var UNHANDLED_REJECTION = 'unhandledrejection';
1936
+ var REJECTION_HANDLED = 'rejectionhandled';
1937
+ var PENDING = 0;
1938
+ var FULFILLED = 1;
1939
+ var REJECTED = 2;
1940
+ var HANDLED = 1;
1941
+ var UNHANDLED = 2;
1942
+
1943
+ var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
1944
+
1945
+ // helpers
1946
+ var isThenable = function (it) {
1947
+ var then;
1948
+ return isObject$1(it) && isCallable$1(then = it.then) ? then : false;
1949
+ };
1950
+
1951
+ var callReaction = function (reaction, state) {
1952
+ var value = state.value;
1953
+ var ok = state.state === FULFILLED;
1954
+ var handler = ok ? reaction.ok : reaction.fail;
1955
+ var resolve = reaction.resolve;
1956
+ var reject = reaction.reject;
1957
+ var domain = reaction.domain;
1958
+ var result, then, exited;
1959
+ try {
1960
+ if (handler) {
1961
+ if (!ok) {
1962
+ if (state.rejection === UNHANDLED) onHandleUnhandled(state);
1963
+ state.rejection = HANDLED;
1964
+ }
1965
+ if (handler === true) result = value;
1966
+ else {
1967
+ if (domain) domain.enter();
1968
+ result = handler(value); // can throw
1969
+ if (domain) {
1970
+ domain.exit();
1971
+ exited = true;
1972
+ }
1973
+ }
1974
+ if (result === reaction.promise) {
1975
+ reject(new TypeError$1('Promise-chain cycle'));
1976
+ } else if (then = isThenable(result)) {
1977
+ call$6(then, result, resolve, reject);
1978
+ } else resolve(result);
1979
+ } else reject(value);
1980
+ } catch (error) {
1981
+ if (domain && !exited) domain.exit();
1982
+ reject(error);
1983
+ }
1984
+ };
1985
+
1986
+ var notify = function (state, isReject) {
1987
+ if (state.notified) return;
1988
+ state.notified = true;
1989
+ microtask(function () {
1990
+ var reactions = state.reactions;
1991
+ var reaction;
1992
+ while (reaction = reactions.get()) {
1993
+ callReaction(reaction, state);
1994
+ }
1995
+ state.notified = false;
1996
+ if (isReject && !state.rejection) onUnhandled(state);
1997
+ });
1998
+ };
1999
+
2000
+ var dispatchEvent = function (name, promise, reason) {
2001
+ var event, handler;
2002
+ if (DISPATCH_EVENT) {
2003
+ event = document$1.createEvent('Event');
2004
+ event.promise = promise;
2005
+ event.reason = reason;
2006
+ event.initEvent(name, false, true);
2007
+ globalThis$1.dispatchEvent(event);
2008
+ } else event = { promise: promise, reason: reason };
2009
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = globalThis$1['on' + name])) handler(event);
2010
+ else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
2011
+ };
2012
+
2013
+ var onUnhandled = function (state) {
2014
+ call$6(task, globalThis$1, function () {
2015
+ var promise = state.facade;
2016
+ var value = state.value;
2017
+ var IS_UNHANDLED = isUnhandled(state);
2018
+ var result;
2019
+ if (IS_UNHANDLED) {
2020
+ result = perform$2(function () {
2021
+ if (IS_NODE) {
2022
+ process.emit('unhandledRejection', value, promise);
2023
+ } else dispatchEvent(UNHANDLED_REJECTION, promise, value);
2024
+ });
2025
+ // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
2026
+ state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
2027
+ if (result.error) throw result.value;
2028
+ }
2029
+ });
2030
+ };
2031
+
2032
+ var isUnhandled = function (state) {
2033
+ return state.rejection !== HANDLED && !state.parent;
2034
+ };
2035
+
2036
+ var onHandleUnhandled = function (state) {
2037
+ call$6(task, globalThis$1, function () {
2038
+ var promise = state.facade;
2039
+ if (IS_NODE) {
2040
+ process.emit('rejectionHandled', promise);
2041
+ } else dispatchEvent(REJECTION_HANDLED, promise, state.value);
2042
+ });
2043
+ };
2044
+
2045
+ var bind$1 = function (fn, state, unwrap) {
2046
+ return function (value) {
2047
+ fn(state, value, unwrap);
2048
+ };
2049
+ };
2050
+
2051
+ var internalReject = function (state, value, unwrap) {
2052
+ if (state.done) return;
2053
+ state.done = true;
2054
+ if (unwrap) state = unwrap;
2055
+ state.value = value;
2056
+ state.state = REJECTED;
2057
+ notify(state, true);
2058
+ };
2059
+
2060
+ var internalResolve = function (state, value, unwrap) {
2061
+ if (state.done) return;
2062
+ state.done = true;
2063
+ if (unwrap) state = unwrap;
2064
+ try {
2065
+ if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
2066
+ var then = isThenable(value);
2067
+ if (then) {
2068
+ microtask(function () {
2069
+ var wrapper = { done: false };
2070
+ try {
2071
+ call$6(then, value,
2072
+ bind$1(internalResolve, wrapper, state),
2073
+ bind$1(internalReject, wrapper, state)
2074
+ );
2075
+ } catch (error) {
2076
+ internalReject(wrapper, error, state);
2077
+ }
2078
+ });
2079
+ } else {
2080
+ state.value = value;
2081
+ state.state = FULFILLED;
2082
+ notify(state, false);
2083
+ }
2084
+ } catch (error) {
2085
+ internalReject({ done: false }, error, state);
2086
+ }
2087
+ };
2088
+
2089
+ // constructor polyfill
2090
+ if (FORCED_PROMISE_CONSTRUCTOR$4) {
2091
+ // 25.4.3.1 Promise(executor)
2092
+ PromiseConstructor = function Promise(executor) {
2093
+ anInstance(this, PromisePrototype);
2094
+ aCallable$3(executor);
2095
+ call$6(Internal, this);
2096
+ var state = getInternalPromiseState(this);
2097
+ try {
2098
+ executor(bind$1(internalResolve, state), bind$1(internalReject, state));
2099
+ } catch (error) {
2100
+ internalReject(state, error);
2101
+ }
2102
+ };
2103
+
2104
+ PromisePrototype = PromiseConstructor.prototype;
2105
+
2106
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
2107
+ Internal = function Promise(executor) {
2108
+ setInternalState(this, {
2109
+ type: PROMISE,
2110
+ done: false,
2111
+ notified: false,
2112
+ parent: false,
2113
+ reactions: new Queue(),
2114
+ rejection: false,
2115
+ state: PENDING,
2116
+ value: null
2117
+ });
2118
+ };
2119
+
2120
+ // `Promise.prototype.then` method
2121
+ // https://tc39.es/ecma262/#sec-promise.prototype.then
2122
+ Internal.prototype = defineBuiltIn$2(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
2123
+ var state = getInternalPromiseState(this);
2124
+ var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
2125
+ state.parent = true;
2126
+ reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
2127
+ reaction.fail = isCallable$1(onRejected) && onRejected;
2128
+ reaction.domain = IS_NODE ? process.domain : undefined;
2129
+ if (state.state === PENDING) state.reactions.add(reaction);
2130
+ else microtask(function () {
2131
+ callReaction(reaction, state);
2132
+ });
2133
+ return reaction.promise;
2134
+ });
2135
+
2136
+ OwnPromiseCapability = function () {
2137
+ var promise = new Internal();
2138
+ var state = getInternalPromiseState(promise);
2139
+ this.promise = promise;
2140
+ this.resolve = bind$1(internalResolve, state);
2141
+ this.reject = bind$1(internalReject, state);
2142
+ };
2143
+
2144
+ newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
2145
+ return C === PromiseConstructor || C === PromiseWrapper
2146
+ ? new OwnPromiseCapability(C)
2147
+ : newGenericPromiseCapability(C);
2148
+ };
2149
+
2150
+ if (isCallable$1(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
2151
+ nativeThen = NativePromisePrototype$1.then;
2152
+
2153
+ if (!NATIVE_PROMISE_SUBCLASSING) {
2154
+ // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
2155
+ defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
2156
+ var that = this;
2157
+ return new PromiseConstructor(function (resolve, reject) {
2158
+ call$6(nativeThen, that, resolve, reject);
2159
+ }).then(onFulfilled, onRejected);
2160
+ // https://github.com/zloirock/core-js/issues/640
2161
+ }, { unsafe: true });
2162
+ }
2163
+
2164
+ // make `.constructor === Promise` work for native promise-based APIs
2165
+ try {
2166
+ delete NativePromisePrototype$1.constructor;
2167
+ } catch (error) { /* empty */ }
2168
+
2169
+ // make `instanceof Promise` work for native promise-based APIs
2170
+ if (setPrototypeOf) {
2171
+ setPrototypeOf(NativePromisePrototype$1, PromisePrototype);
2172
+ }
2173
+ }
2174
+ }
2175
+
2176
+ // `Promise` constructor
2177
+ // https://tc39.es/ecma262/#sec-promise-executor
2178
+ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
2179
+ Promise: PromiseConstructor
2180
+ });
2181
+
2182
+ setToStringTag(PromiseConstructor, PROMISE, false);
2183
+ setSpecies(PROMISE);
2184
+
2185
+ var iterators = {};
2186
+
2187
+ var wellKnownSymbol$2 = wellKnownSymbol$a;
2188
+ var Iterators$1 = iterators;
2189
+
2190
+ var ITERATOR$2 = wellKnownSymbol$2('iterator');
2191
+ var ArrayPrototype = Array.prototype;
2192
+
2193
+ // check on default Array iterator
2194
+ var isArrayIteratorMethod$1 = function (it) {
2195
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
2196
+ };
2197
+
2198
+ var classof$1 = classof$3;
2199
+ var getMethod$1 = getMethod$3;
2200
+ var isNullOrUndefined = isNullOrUndefined$4;
2201
+ var Iterators = iterators;
2202
+ var wellKnownSymbol$1 = wellKnownSymbol$a;
2203
+
2204
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
2205
+
2206
+ var getIteratorMethod$2 = function (it) {
2207
+ if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$1)
2208
+ || getMethod$1(it, '@@iterator')
2209
+ || Iterators[classof$1(it)];
2210
+ };
2211
+
2212
+ var call$5 = functionCall;
2213
+ var aCallable$2 = aCallable$8;
2214
+ var anObject$5 = anObject$9;
2215
+ var tryToString$1 = tryToString$4;
2216
+ var getIteratorMethod$1 = getIteratorMethod$2;
2217
+
2218
+ var $TypeError$1 = TypeError;
2219
+
2220
+ var getIterator$1 = function (argument, usingIterator) {
2221
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
2222
+ if (aCallable$2(iteratorMethod)) return anObject$5(call$5(iteratorMethod, argument));
2223
+ throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
2224
+ };
2225
+
2226
+ var call$4 = functionCall;
2227
+ var anObject$4 = anObject$9;
2228
+ var getMethod = getMethod$3;
2229
+
2230
+ var iteratorClose$1 = function (iterator, kind, value) {
2231
+ var innerResult, innerError;
2232
+ anObject$4(iterator);
2233
+ try {
2234
+ innerResult = getMethod(iterator, 'return');
2235
+ if (!innerResult) {
2236
+ if (kind === 'throw') throw value;
2237
+ return value;
2238
+ }
2239
+ innerResult = call$4(innerResult, iterator);
2240
+ } catch (error) {
2241
+ innerError = true;
2242
+ innerResult = error;
2243
+ }
2244
+ if (kind === 'throw') throw value;
2245
+ if (innerError) throw innerResult;
2246
+ anObject$4(innerResult);
2247
+ return value;
2248
+ };
2249
+
2250
+ var bind = functionBindContext;
2251
+ var call$3 = functionCall;
2252
+ var anObject$3 = anObject$9;
2253
+ var tryToString = tryToString$4;
2254
+ var isArrayIteratorMethod = isArrayIteratorMethod$1;
2255
+ var lengthOfArrayLike = lengthOfArrayLike$2;
2256
+ var isPrototypeOf$1 = objectIsPrototypeOf;
2257
+ var getIterator = getIterator$1;
2258
+ var getIteratorMethod = getIteratorMethod$2;
2259
+ var iteratorClose = iteratorClose$1;
2260
+
2261
+ var $TypeError = TypeError;
2262
+
2263
+ var Result = function (stopped, result) {
2264
+ this.stopped = stopped;
2265
+ this.result = result;
2266
+ };
2267
+
2268
+ var ResultPrototype = Result.prototype;
2269
+
2270
+ var iterate$2 = function (iterable, unboundFunction, options) {
2271
+ var that = options && options.that;
2272
+ var AS_ENTRIES = !!(options && options.AS_ENTRIES);
2273
+ var IS_RECORD = !!(options && options.IS_RECORD);
2274
+ var IS_ITERATOR = !!(options && options.IS_ITERATOR);
2275
+ var INTERRUPTED = !!(options && options.INTERRUPTED);
2276
+ var fn = bind(unboundFunction, that);
2277
+ var iterator, iterFn, index, length, result, next, step;
2278
+
2279
+ var stop = function (condition) {
2280
+ if (iterator) iteratorClose(iterator, 'normal', condition);
2281
+ return new Result(true, condition);
2282
+ };
2283
+
2284
+ var callFn = function (value) {
2285
+ if (AS_ENTRIES) {
2286
+ anObject$3(value);
2287
+ return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
2288
+ } return INTERRUPTED ? fn(value, stop) : fn(value);
2289
+ };
2290
+
2291
+ if (IS_RECORD) {
2292
+ iterator = iterable.iterator;
2293
+ } else if (IS_ITERATOR) {
2294
+ iterator = iterable;
2295
+ } else {
2296
+ iterFn = getIteratorMethod(iterable);
2297
+ if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
2298
+ // optimisation for array iterators
2299
+ if (isArrayIteratorMethod(iterFn)) {
2300
+ for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
2301
+ result = callFn(iterable[index]);
2302
+ if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
2303
+ } return new Result(false);
2304
+ }
2305
+ iterator = getIterator(iterable, iterFn);
2306
+ }
2307
+
2308
+ next = IS_RECORD ? iterable.next : iterator.next;
2309
+ while (!(step = call$3(next, iterator)).done) {
2310
+ try {
2311
+ result = callFn(step.value);
2312
+ } catch (error) {
2313
+ iteratorClose(iterator, 'throw', error);
2314
+ }
2315
+ if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
2316
+ } return new Result(false);
2317
+ };
2318
+
2319
+ var wellKnownSymbol = wellKnownSymbol$a;
2320
+
2321
+ var ITERATOR = wellKnownSymbol('iterator');
2322
+ var SAFE_CLOSING = false;
2323
+
2324
+ try {
2325
+ var called = 0;
2326
+ var iteratorWithReturn = {
2327
+ next: function () {
2328
+ return { done: !!called++ };
2329
+ },
2330
+ 'return': function () {
2331
+ SAFE_CLOSING = true;
2332
+ }
2333
+ };
2334
+ iteratorWithReturn[ITERATOR] = function () {
2335
+ return this;
2336
+ };
2337
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
2338
+ Array.from(iteratorWithReturn, function () { throw 2; });
2339
+ } catch (error) { /* empty */ }
2340
+
2341
+ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
2342
+ try {
2343
+ if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
2344
+ } catch (error) { return false; } // workaround of old WebKit + `eval` bug
2345
+ var ITERATION_SUPPORT = false;
2346
+ try {
2347
+ var object = {};
2348
+ object[ITERATOR] = function () {
2349
+ return {
2350
+ next: function () {
2351
+ return { done: ITERATION_SUPPORT = true };
2352
+ }
2353
+ };
2354
+ };
2355
+ exec(object);
2356
+ } catch (error) { /* empty */ }
2357
+ return ITERATION_SUPPORT;
2358
+ };
2359
+
2360
+ var NativePromiseConstructor$1 = promiseNativeConstructor;
2361
+ var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
2362
+ var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
2363
+
2364
+ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function (iterable) {
2365
+ NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
2366
+ });
2367
+
2368
+ var $$4 = _export;
2369
+ var call$2 = functionCall;
2370
+ var aCallable$1 = aCallable$8;
2371
+ var newPromiseCapabilityModule$2 = newPromiseCapability$2;
2372
+ var perform$1 = perform$3;
2373
+ var iterate$1 = iterate$2;
2374
+ var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
2375
+
2376
+ // `Promise.all` method
2377
+ // https://tc39.es/ecma262/#sec-promise.all
2378
+ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
2379
+ all: function all(iterable) {
2380
+ var C = this;
2381
+ var capability = newPromiseCapabilityModule$2.f(C);
2382
+ var resolve = capability.resolve;
2383
+ var reject = capability.reject;
2384
+ var result = perform$1(function () {
2385
+ var $promiseResolve = aCallable$1(C.resolve);
2386
+ var values = [];
2387
+ var counter = 0;
2388
+ var remaining = 1;
2389
+ iterate$1(iterable, function (promise) {
2390
+ var index = counter++;
2391
+ var alreadyCalled = false;
2392
+ remaining++;
2393
+ call$2($promiseResolve, C, promise).then(function (value) {
2394
+ if (alreadyCalled) return;
2395
+ alreadyCalled = true;
2396
+ values[index] = value;
2397
+ --remaining || resolve(values);
2398
+ }, reject);
2399
+ });
2400
+ --remaining || resolve(values);
2401
+ });
2402
+ if (result.error) reject(result.value);
2403
+ return capability.promise;
2404
+ }
2405
+ });
2406
+
2407
+ var $$3 = _export;
2408
+ var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
2409
+ var NativePromiseConstructor = promiseNativeConstructor;
2410
+ var getBuiltIn$1 = getBuiltIn$7;
2411
+ var isCallable = isCallable$g;
2412
+ var defineBuiltIn$1 = defineBuiltIn$4;
2413
+
2414
+ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
2415
+
2416
+ // `Promise.prototype.catch` method
2417
+ // https://tc39.es/ecma262/#sec-promise.prototype.catch
2418
+ $$3({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
2419
+ 'catch': function (onRejected) {
2420
+ return this.then(undefined, onRejected);
2421
+ }
2422
+ });
2423
+
2424
+ // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
2425
+ if (isCallable(NativePromiseConstructor)) {
2426
+ var method = getBuiltIn$1('Promise').prototype['catch'];
2427
+ if (NativePromisePrototype['catch'] !== method) {
2428
+ defineBuiltIn$1(NativePromisePrototype, 'catch', method, { unsafe: true });
2429
+ }
2430
+ }
2431
+
2432
+ var $$2 = _export;
2433
+ var call$1 = functionCall;
2434
+ var aCallable = aCallable$8;
2435
+ var newPromiseCapabilityModule$1 = newPromiseCapability$2;
2436
+ var perform = perform$3;
2437
+ var iterate = iterate$2;
2438
+ var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
2439
+
2440
+ // `Promise.race` method
2441
+ // https://tc39.es/ecma262/#sec-promise.race
2442
+ $$2({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
2443
+ race: function race(iterable) {
2444
+ var C = this;
2445
+ var capability = newPromiseCapabilityModule$1.f(C);
2446
+ var reject = capability.reject;
2447
+ var result = perform(function () {
2448
+ var $promiseResolve = aCallable(C.resolve);
2449
+ iterate(iterable, function (promise) {
2450
+ call$1($promiseResolve, C, promise).then(capability.resolve, reject);
2451
+ });
2452
+ });
2453
+ if (result.error) reject(result.value);
2454
+ return capability.promise;
2455
+ }
2456
+ });
2457
+
2458
+ var $$1 = _export;
2459
+ var newPromiseCapabilityModule = newPromiseCapability$2;
2460
+ var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
2461
+
2462
+ // `Promise.reject` method
2463
+ // https://tc39.es/ecma262/#sec-promise.reject
2464
+ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
2465
+ reject: function reject(r) {
2466
+ var capability = newPromiseCapabilityModule.f(this);
2467
+ var capabilityReject = capability.reject;
2468
+ capabilityReject(r);
2469
+ return capability.promise;
2470
+ }
2471
+ });
2472
+
2473
+ var anObject$2 = anObject$9;
2474
+ var isObject = isObject$9;
2475
+ var newPromiseCapability = newPromiseCapability$2;
2476
+
2477
+ var promiseResolve$1 = function (C, x) {
2478
+ anObject$2(C);
2479
+ if (isObject(x) && x.constructor === C) return x;
2480
+ var promiseCapability = newPromiseCapability.f(C);
2481
+ var resolve = promiseCapability.resolve;
2482
+ resolve(x);
2483
+ return promiseCapability.promise;
2484
+ };
2485
+
2486
+ var $ = _export;
2487
+ var getBuiltIn = getBuiltIn$7;
2488
+ var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
2489
+ var promiseResolve = promiseResolve$1;
2490
+
2491
+ getBuiltIn('Promise');
2492
+
2493
+ // `Promise.resolve` method
2494
+ // https://tc39.es/ecma262/#sec-promise.resolve
2495
+ $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
2496
+ resolve: function resolve(x) {
2497
+ return promiseResolve(this, x);
2498
+ }
2499
+ });
2500
+
2501
+ var classof = classof$3;
1336
2502
 
1337
2503
  var $String = String;
1338
2504
 
@@ -1341,7 +2507,7 @@ var toString = function (argument) {
1341
2507
  return $String(argument);
1342
2508
  };
1343
2509
 
1344
- var anObject$1 = anObject$4;
2510
+ var anObject$1 = anObject$9;
1345
2511
 
1346
2512
  // `RegExp.prototype.flags` getter implementation
1347
2513
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
@@ -1373,10 +2539,10 @@ var regexpGetFlags = function (R) {
1373
2539
  };
1374
2540
 
1375
2541
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1376
- var defineBuiltIn = defineBuiltIn$2;
1377
- var anObject = anObject$4;
2542
+ var defineBuiltIn = defineBuiltIn$4;
2543
+ var anObject = anObject$9;
1378
2544
  var $toString = toString;
1379
- var fails = fails$a;
2545
+ var fails = fails$c;
1380
2546
  var getRegExpFlags = regexpGetFlags;
1381
2547
 
1382
2548
  var TO_STRING = 'toString';
@@ -1402,9 +2568,9 @@ const hideTime = 4000;
1402
2568
  const snackbarListener = createListenerMiddleware();
1403
2569
  snackbarListener.startListening({
1404
2570
  actionCreator: snackbarActions.openSnackbar,
1405
- effect: ({
2571
+ effect: async ({
1406
2572
  payload
1407
- }, listenerApi) => __awaiter(void 0, void 0, void 0, function* () {
2573
+ }, listenerApi) => {
1408
2574
  listenerApi.cancelActiveListeners();
1409
2575
  const currentSnackbarMessages = getCurrentSnackbarMessages(listenerApi.getState());
1410
2576
  // If there are currently opened snackbars we need to close these first
@@ -1420,12 +2586,12 @@ snackbarListener.startListening({
1420
2586
  }
1421
2587
  }));
1422
2588
  // If no new snackbar is triggered cancelling this listener, hide the snackbar after X seconds
1423
- yield listenerApi.delay(hideTime);
2589
+ await listenerApi.delay(hideTime);
1424
2590
  const currentSnackbarMessagesOpen = getCurrentSnackbarMessages(listenerApi.getState());
1425
2591
  if (currentSnackbarMessagesOpen.length) {
1426
2592
  listenerApi.dispatch(snackbarActions.closeSnackbar());
1427
2593
  }
1428
- })
2594
+ }
1429
2595
  });
1430
2596
 
1431
2597
  /* *
@@ -1453,21 +2619,22 @@ const snackbarModuleConfig = {
1453
2619
  middlewares: [snackbarListener.middleware]
1454
2620
  };
1455
2621
 
2622
+ const _excluded = ["children", "isOpen", "onCloseSnackbar", "id", "snackbarMessage"];
1456
2623
  const getMessageString = (t, snackbarMessage) => {
1457
2624
  if (!snackbarMessage) {
1458
2625
  return '';
1459
2626
  }
1460
2627
  return snackbarMessage.type === SnackbarMessageType.TRANSLATABLE_MESSAGE ? t(snackbarMessage.key, snackbarMessage.params) : snackbarMessage.message;
1461
2628
  };
1462
- const SnackbarWrapper = _a => {
1463
- var {
2629
+ const SnackbarWrapper = _ref => {
2630
+ let {
1464
2631
  children,
1465
2632
  isOpen,
1466
2633
  onCloseSnackbar,
1467
2634
  id,
1468
2635
  snackbarMessage
1469
- } = _a,
1470
- props = __rest(_a, ["children", "isOpen", "onCloseSnackbar", "id", "snackbarMessage"]);
2636
+ } = _ref,
2637
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
1471
2638
  const {
1472
2639
  t
1473
2640
  } = useSnackbarTranslation();
@@ -1482,7 +2649,7 @@ const SnackbarWrapper = _a => {
1482
2649
  ClickAwayListenerProps: {
1483
2650
  mouseEvent: false
1484
2651
  },
1485
- action: jsx(CustomIconButton, Object.assign({
2652
+ action: jsx(CustomIconButton, {
1486
2653
  "aria-label": t('snackbar-close'),
1487
2654
  "data-testid": "snackbarCloseButton",
1488
2655
  onClick: onCloseSnackbar,
@@ -1496,10 +2663,9 @@ const SnackbarWrapper = _a => {
1496
2663
  backgroundColor: 'geowebColors.snackbar.actionHover.rgba'
1497
2664
  }
1498
2665
  }
1499
- }
1500
- }, {
2666
+ },
1501
2667
  children: jsx(Close, {})
1502
- }))
2668
+ })
1503
2669
  }, props), id)]
1504
2670
  });
1505
2671
  };
@@ -1513,7 +2679,7 @@ const SnackbarWrapperConnect = withEggs([snackbarModuleConfig])(props => {
1513
2679
  return jsx(SnackbarWrapper, Object.assign({
1514
2680
  isOpen: !!currentSnackbarMessage,
1515
2681
  onCloseSnackbar: onCloseSnackbar,
1516
- snackbarMessage: currentSnackbarMessage === null || currentSnackbarMessage === void 0 ? void 0 : currentSnackbarMessage.message,
2682
+ snackbarMessage: currentSnackbarMessage == null ? void 0 : currentSnackbarMessage.message,
1517
2683
  id: currentSnackbarMessage ? currentSnackbarMessage.id : ''
1518
2684
  }, props));
1519
2685
  });