@trackunit/iris-app-runtime-core 0.2.6 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -27,26 +27,24 @@ function __awaiter(thisArg, _arguments, P, generator) {
27
27
  });
28
28
  }
29
29
 
30
- const hostConnector = connectToParent({
31
- // Methods child is exposing to parent.
32
- methods: {}
33
- });
34
- const getHostConnector = () => {
35
- return hostConnector.promise;
36
- };
30
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
37
31
 
38
- const AssetRuntime = {
39
- getAssetInfo: () => __awaiter(void 0, void 0, void 0, function* () {
40
- const api = yield getHostConnector();
41
- return api.getAssetInfo();
42
- }),
43
- gotoAssetHome: assetId => __awaiter(void 0, void 0, void 0, function* () {
44
- const api = yield getHostConnector();
45
- return api.gotoAssetHome(assetId);
46
- })
32
+ var check = function (it) {
33
+ return it && it.Math == Math && it;
47
34
  };
48
35
 
49
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
36
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
37
+ var global$d =
38
+ // eslint-disable-next-line es/no-global-this -- safe
39
+ check(typeof globalThis == 'object' && globalThis) ||
40
+ check(typeof window == 'object' && window) ||
41
+ // eslint-disable-next-line no-restricted-globals -- safe
42
+ check(typeof self == 'object' && self) ||
43
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
44
+ // eslint-disable-next-line no-new-func -- fallback
45
+ (function () { return this; })() || Function('return this')();
46
+
47
+ var objectGetOwnPropertyDescriptor = {};
50
48
 
51
49
  var fails$e = function (exec) {
52
50
  try {
@@ -58,7 +56,15 @@ var fails$e = function (exec) {
58
56
 
59
57
  var fails$d = fails$e;
60
58
 
61
- var functionBindNative = !fails$d(function () {
59
+ // Detect IE8's incomplete defineProperty implementation
60
+ var descriptors = !fails$d(function () {
61
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
62
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
63
+ });
64
+
65
+ var fails$c = fails$e;
66
+
67
+ var functionBindNative = !fails$c(function () {
62
68
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
63
69
  var test = (function () { /* empty */ }).bind();
64
70
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -67,13 +73,46 @@ var functionBindNative = !fails$d(function () {
67
73
 
68
74
  var NATIVE_BIND$1 = functionBindNative;
69
75
 
76
+ var call$6 = Function.prototype.call;
77
+
78
+ var functionCall = NATIVE_BIND$1 ? call$6.bind(call$6) : function () {
79
+ return call$6.apply(call$6, arguments);
80
+ };
81
+
82
+ var objectPropertyIsEnumerable = {};
83
+
84
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
85
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
86
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
87
+
88
+ // Nashorn ~ JDK8 bug
89
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
90
+
91
+ // `Object.prototype.propertyIsEnumerable` method implementation
92
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
93
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
94
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
95
+ return !!descriptor && descriptor.enumerable;
96
+ } : $propertyIsEnumerable;
97
+
98
+ var createPropertyDescriptor$3 = function (bitmap, value) {
99
+ return {
100
+ enumerable: !(bitmap & 1),
101
+ configurable: !(bitmap & 2),
102
+ writable: !(bitmap & 4),
103
+ value: value
104
+ };
105
+ };
106
+
107
+ var NATIVE_BIND = functionBindNative;
108
+
70
109
  var FunctionPrototype$1 = Function.prototype;
71
- var call$6 = FunctionPrototype$1.call;
72
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$6, call$6);
110
+ var call$5 = FunctionPrototype$1.call;
111
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
73
112
 
74
113
  var functionUncurryThisRaw = function (fn) {
75
- return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
76
- return call$6.apply(fn, arguments);
114
+ return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
115
+ return call$5.apply(fn, arguments);
77
116
  };
78
117
  };
79
118
 
@@ -97,14 +136,14 @@ var functionUncurryThis = function (fn) {
97
136
  };
98
137
 
99
138
  var uncurryThis$b = functionUncurryThis;
100
- var fails$c = fails$e;
139
+ var fails$b = fails$e;
101
140
  var classof$2 = classofRaw$2;
102
141
 
103
142
  var $Object$4 = Object;
104
143
  var split = uncurryThis$b(''.split);
105
144
 
106
145
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
107
- var indexedObject = fails$c(function () {
146
+ var indexedObject = fails$b(function () {
108
147
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
109
148
  // eslint-disable-next-line no-prototype-builtins -- safe
110
149
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -137,88 +176,6 @@ var toIndexedObject$5 = function (it) {
137
176
  return IndexedObject$1(requireObjectCoercible$2(it));
138
177
  };
139
178
 
140
- var check = function (it) {
141
- return it && it.Math == Math && it;
142
- };
143
-
144
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
145
- var global$d =
146
- // eslint-disable-next-line es/no-global-this -- safe
147
- check(typeof globalThis == 'object' && globalThis) ||
148
- check(typeof window == 'object' && window) ||
149
- // eslint-disable-next-line no-restricted-globals -- safe
150
- check(typeof self == 'object' && self) ||
151
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
152
- // eslint-disable-next-line no-new-func -- fallback
153
- (function () { return this; })() || Function('return this')();
154
-
155
- var shared$3 = {exports: {}};
156
-
157
- var global$c = global$d;
158
-
159
- // eslint-disable-next-line es/no-object-defineproperty -- safe
160
- var defineProperty$5 = Object.defineProperty;
161
-
162
- var defineGlobalProperty$3 = function (key, value) {
163
- try {
164
- defineProperty$5(global$c, key, { value: value, configurable: true, writable: true });
165
- } catch (error) {
166
- global$c[key] = value;
167
- } return value;
168
- };
169
-
170
- var global$b = global$d;
171
- var defineGlobalProperty$2 = defineGlobalProperty$3;
172
-
173
- var SHARED = '__core-js_shared__';
174
- var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
175
-
176
- var sharedStore = store$3;
177
-
178
- var store$2 = sharedStore;
179
-
180
- (shared$3.exports = function (key, value) {
181
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
182
- })('versions', []).push({
183
- version: '3.25.5',
184
- mode: 'global',
185
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
186
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
187
- source: 'https://github.com/zloirock/core-js'
188
- });
189
-
190
- var requireObjectCoercible$1 = requireObjectCoercible$3;
191
-
192
- var $Object$3 = Object;
193
-
194
- // `ToObject` abstract operation
195
- // https://tc39.es/ecma262/#sec-toobject
196
- var toObject$3 = function (argument) {
197
- return $Object$3(requireObjectCoercible$1(argument));
198
- };
199
-
200
- var uncurryThis$a = functionUncurryThis;
201
- var toObject$2 = toObject$3;
202
-
203
- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
204
-
205
- // `HasOwnProperty` abstract operation
206
- // https://tc39.es/ecma262/#sec-hasownproperty
207
- // eslint-disable-next-line es/no-object-hasown -- safe
208
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
209
- return hasOwnProperty(toObject$2(it), key);
210
- };
211
-
212
- var uncurryThis$9 = functionUncurryThis;
213
-
214
- var id = 0;
215
- var postfix = Math.random();
216
- var toString$4 = uncurryThis$9(1.0.toString);
217
-
218
- var uid$2 = function (key) {
219
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
220
- };
221
-
222
179
  var documentAll$2 = typeof document == 'object' && document.all;
223
180
 
224
181
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -241,26 +198,41 @@ var isCallable$f = $documentAll$1.IS_HTMLDDA ? function (argument) {
241
198
  return typeof argument == 'function';
242
199
  };
243
200
 
244
- var global$a = global$d;
245
201
  var isCallable$e = isCallable$f;
202
+ var $documentAll = documentAll_1;
203
+
204
+ var documentAll = $documentAll.all;
205
+
206
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
207
+ return typeof it == 'object' ? it !== null : isCallable$e(it) || it === documentAll;
208
+ } : function (it) {
209
+ return typeof it == 'object' ? it !== null : isCallable$e(it);
210
+ };
211
+
212
+ var global$c = global$d;
213
+ var isCallable$d = isCallable$f;
246
214
 
247
215
  var aFunction = function (argument) {
248
- return isCallable$e(argument) ? argument : undefined;
216
+ return isCallable$d(argument) ? argument : undefined;
249
217
  };
250
218
 
251
219
  var getBuiltIn$4 = function (namespace, method) {
252
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
220
+ return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
253
221
  };
254
222
 
223
+ var uncurryThis$a = functionUncurryThis;
224
+
225
+ var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
226
+
255
227
  var getBuiltIn$3 = getBuiltIn$4;
256
228
 
257
229
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
258
230
 
259
- var global$9 = global$d;
231
+ var global$b = global$d;
260
232
  var userAgent = engineUserAgent;
261
233
 
262
- var process = global$9.process;
263
- var Deno = global$9.Deno;
234
+ var process = global$b.process;
235
+ var Deno = global$b.Deno;
264
236
  var versions = process && process.versions || Deno && Deno.version;
265
237
  var v8 = versions && versions.v8;
266
238
  var match, version;
@@ -287,10 +259,10 @@ var engineV8Version = version;
287
259
  /* eslint-disable es/no-symbol -- required for testing */
288
260
 
289
261
  var V8_VERSION = engineV8Version;
290
- var fails$b = fails$e;
262
+ var fails$a = fails$e;
291
263
 
292
264
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
293
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
265
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
294
266
  var symbol = Symbol();
295
267
  // Chrome 38 Symbol has incorrect toString conversion
296
268
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -307,195 +279,180 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
307
279
  && !Symbol.sham
308
280
  && typeof Symbol.iterator == 'symbol';
309
281
 
310
- var global$8 = global$d;
311
- var shared$2 = shared$3.exports;
312
- var hasOwn$8 = hasOwnProperty_1;
313
- var uid$1 = uid$2;
314
- var NATIVE_SYMBOL = symbolConstructorDetection;
282
+ var getBuiltIn$2 = getBuiltIn$4;
283
+ var isCallable$c = isCallable$f;
284
+ var isPrototypeOf = objectIsPrototypeOf;
315
285
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
316
286
 
317
- var WellKnownSymbolsStore = shared$2('wks');
318
- var Symbol$3 = global$8.Symbol;
319
- var symbolFor = Symbol$3 && Symbol$3['for'];
320
- var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
287
+ var $Object$3 = Object;
321
288
 
322
- var wellKnownSymbol$8 = function (name) {
323
- if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
324
- var description = 'Symbol.' + name;
325
- if (NATIVE_SYMBOL && hasOwn$8(Symbol$3, name)) {
326
- WellKnownSymbolsStore[name] = Symbol$3[name];
327
- } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
328
- WellKnownSymbolsStore[name] = symbolFor(description);
329
- } else {
330
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
331
- }
332
- } return WellKnownSymbolsStore[name];
289
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
290
+ return typeof it == 'symbol';
291
+ } : function (it) {
292
+ var $Symbol = getBuiltIn$2('Symbol');
293
+ return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
333
294
  };
334
295
 
335
- var isCallable$d = isCallable$f;
336
- var $documentAll = documentAll_1;
337
-
338
- var documentAll = $documentAll.all;
296
+ var $String$3 = String;
339
297
 
340
- var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
341
- return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;
342
- } : function (it) {
343
- return typeof it == 'object' ? it !== null : isCallable$d(it);
298
+ var tryToString$1 = function (argument) {
299
+ try {
300
+ return $String$3(argument);
301
+ } catch (error) {
302
+ return 'Object';
303
+ }
344
304
  };
345
305
 
346
- var isObject$5 = isObject$6;
306
+ var isCallable$b = isCallable$f;
307
+ var tryToString = tryToString$1;
347
308
 
348
- var $String$3 = String;
349
309
  var $TypeError$5 = TypeError;
350
310
 
351
- // `Assert: Type(argument) is Object`
352
- var anObject$5 = function (argument) {
353
- if (isObject$5(argument)) return argument;
354
- throw $TypeError$5($String$3(argument) + ' is not an object');
311
+ // `Assert: IsCallable(argument) is true`
312
+ var aCallable$1 = function (argument) {
313
+ if (isCallable$b(argument)) return argument;
314
+ throw $TypeError$5(tryToString(argument) + ' is not a function');
355
315
  };
356
316
 
357
- var objectDefineProperties = {};
317
+ var aCallable = aCallable$1;
318
+ var isNullOrUndefined = isNullOrUndefined$2;
358
319
 
359
- var fails$a = fails$e;
320
+ // `GetMethod` abstract operation
321
+ // https://tc39.es/ecma262/#sec-getmethod
322
+ var getMethod$1 = function (V, P) {
323
+ var func = V[P];
324
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
325
+ };
360
326
 
361
- // Detect IE8's incomplete defineProperty implementation
362
- var descriptors = !fails$a(function () {
363
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
364
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
365
- });
327
+ var call$4 = functionCall;
328
+ var isCallable$a = isCallable$f;
329
+ var isObject$5 = isObject$6;
366
330
 
367
- var DESCRIPTORS$9 = descriptors;
368
- var fails$9 = fails$e;
331
+ var $TypeError$4 = TypeError;
369
332
 
370
- // V8 ~ Chrome 36-
371
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
372
- var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
373
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
374
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
375
- value: 42,
376
- writable: false
377
- }).prototype != 42;
378
- });
333
+ // `OrdinaryToPrimitive` abstract operation
334
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
335
+ var ordinaryToPrimitive$1 = function (input, pref) {
336
+ var fn, val;
337
+ if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
338
+ if (isCallable$a(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
339
+ if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
340
+ throw $TypeError$4("Can't convert object to primitive value");
341
+ };
379
342
 
380
- var objectDefineProperty = {};
343
+ var shared$3 = {exports: {}};
381
344
 
382
- var global$7 = global$d;
383
- var isObject$4 = isObject$6;
345
+ var global$a = global$d;
384
346
 
385
- var document$1 = global$7.document;
386
- // typeof document.createElement is 'object' in old IE
387
- var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
347
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
348
+ var defineProperty$5 = Object.defineProperty;
388
349
 
389
- var documentCreateElement$2 = function (it) {
390
- return EXISTS$1 ? document$1.createElement(it) : {};
350
+ var defineGlobalProperty$3 = function (key, value) {
351
+ try {
352
+ defineProperty$5(global$a, key, { value: value, configurable: true, writable: true });
353
+ } catch (error) {
354
+ global$a[key] = value;
355
+ } return value;
391
356
  };
392
357
 
393
- var DESCRIPTORS$8 = descriptors;
394
- var fails$8 = fails$e;
395
- var createElement = documentCreateElement$2;
396
-
397
- // Thanks to IE8 for its funny defineProperty
398
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(function () {
399
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
400
- return Object.defineProperty(createElement('div'), 'a', {
401
- get: function () { return 7; }
402
- }).a != 7;
403
- });
404
-
405
- var NATIVE_BIND = functionBindNative;
358
+ var global$9 = global$d;
359
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
406
360
 
407
- var call$5 = Function.prototype.call;
361
+ var SHARED = '__core-js_shared__';
362
+ var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
408
363
 
409
- var functionCall = NATIVE_BIND ? call$5.bind(call$5) : function () {
410
- return call$5.apply(call$5, arguments);
411
- };
364
+ var sharedStore = store$3;
412
365
 
413
- var uncurryThis$8 = functionUncurryThis;
366
+ var store$2 = sharedStore;
414
367
 
415
- var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
368
+ (shared$3.exports = function (key, value) {
369
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
370
+ })('versions', []).push({
371
+ version: '3.25.5',
372
+ mode: 'global',
373
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
374
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
375
+ source: 'https://github.com/zloirock/core-js'
376
+ });
416
377
 
417
- var getBuiltIn$2 = getBuiltIn$4;
418
- var isCallable$c = isCallable$f;
419
- var isPrototypeOf = objectIsPrototypeOf;
420
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
378
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
421
379
 
422
380
  var $Object$2 = Object;
423
381
 
424
- var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
425
- return typeof it == 'symbol';
426
- } : function (it) {
427
- var $Symbol = getBuiltIn$2('Symbol');
428
- return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
429
- };
430
-
431
- var $String$2 = String;
432
-
433
- var tryToString$1 = function (argument) {
434
- try {
435
- return $String$2(argument);
436
- } catch (error) {
437
- return 'Object';
438
- }
382
+ // `ToObject` abstract operation
383
+ // https://tc39.es/ecma262/#sec-toobject
384
+ var toObject$3 = function (argument) {
385
+ return $Object$2(requireObjectCoercible$1(argument));
439
386
  };
440
387
 
441
- var isCallable$b = isCallable$f;
442
- var tryToString = tryToString$1;
388
+ var uncurryThis$9 = functionUncurryThis;
389
+ var toObject$2 = toObject$3;
443
390
 
444
- var $TypeError$4 = TypeError;
391
+ var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
445
392
 
446
- // `Assert: IsCallable(argument) is true`
447
- var aCallable$1 = function (argument) {
448
- if (isCallable$b(argument)) return argument;
449
- throw $TypeError$4(tryToString(argument) + ' is not a function');
393
+ // `HasOwnProperty` abstract operation
394
+ // https://tc39.es/ecma262/#sec-hasownproperty
395
+ // eslint-disable-next-line es/no-object-hasown -- safe
396
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
397
+ return hasOwnProperty(toObject$2(it), key);
450
398
  };
451
399
 
452
- var aCallable = aCallable$1;
453
- var isNullOrUndefined = isNullOrUndefined$2;
400
+ var uncurryThis$8 = functionUncurryThis;
454
401
 
455
- // `GetMethod` abstract operation
456
- // https://tc39.es/ecma262/#sec-getmethod
457
- var getMethod$1 = function (V, P) {
458
- var func = V[P];
459
- return isNullOrUndefined(func) ? undefined : aCallable(func);
402
+ var id = 0;
403
+ var postfix = Math.random();
404
+ var toString$4 = uncurryThis$8(1.0.toString);
405
+
406
+ var uid$2 = function (key) {
407
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
460
408
  };
461
409
 
462
- var call$4 = functionCall;
463
- var isCallable$a = isCallable$f;
464
- var isObject$3 = isObject$6;
410
+ var global$8 = global$d;
411
+ var shared$2 = shared$3.exports;
412
+ var hasOwn$8 = hasOwnProperty_1;
413
+ var uid$1 = uid$2;
414
+ var NATIVE_SYMBOL = symbolConstructorDetection;
415
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
465
416
 
466
- var $TypeError$3 = TypeError;
417
+ var WellKnownSymbolsStore = shared$2('wks');
418
+ var Symbol$3 = global$8.Symbol;
419
+ var symbolFor = Symbol$3 && Symbol$3['for'];
420
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
467
421
 
468
- // `OrdinaryToPrimitive` abstract operation
469
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
470
- var ordinaryToPrimitive$1 = function (input, pref) {
471
- var fn, val;
472
- if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$3(val = call$4(fn, input))) return val;
473
- if (isCallable$a(fn = input.valueOf) && !isObject$3(val = call$4(fn, input))) return val;
474
- if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$3(val = call$4(fn, input))) return val;
475
- throw $TypeError$3("Can't convert object to primitive value");
422
+ var wellKnownSymbol$8 = function (name) {
423
+ if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
424
+ var description = 'Symbol.' + name;
425
+ if (NATIVE_SYMBOL && hasOwn$8(Symbol$3, name)) {
426
+ WellKnownSymbolsStore[name] = Symbol$3[name];
427
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
428
+ WellKnownSymbolsStore[name] = symbolFor(description);
429
+ } else {
430
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
431
+ }
432
+ } return WellKnownSymbolsStore[name];
476
433
  };
477
434
 
478
435
  var call$3 = functionCall;
479
- var isObject$2 = isObject$6;
436
+ var isObject$4 = isObject$6;
480
437
  var isSymbol$1 = isSymbol$2;
481
438
  var getMethod = getMethod$1;
482
439
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
483
440
  var wellKnownSymbol$7 = wellKnownSymbol$8;
484
441
 
485
- var $TypeError$2 = TypeError;
442
+ var $TypeError$3 = TypeError;
486
443
  var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
487
444
 
488
445
  // `ToPrimitive` abstract operation
489
446
  // https://tc39.es/ecma262/#sec-toprimitive
490
447
  var toPrimitive$1 = function (input, pref) {
491
- if (!isObject$2(input) || isSymbol$1(input)) return input;
448
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
492
449
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
493
450
  var result;
494
451
  if (exoticToPrim) {
495
452
  if (pref === undefined) pref = 'default';
496
453
  result = call$3(exoticToPrim, input, pref);
497
- if (!isObject$2(result) || isSymbol$1(result)) return result;
498
- throw $TypeError$2("Can't convert object to primitive value");
454
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
455
+ throw $TypeError$3("Can't convert object to primitive value");
499
456
  }
500
457
  if (pref === undefined) pref = 'number';
501
458
  return ordinaryToPrimitive(input, pref);
@@ -511,29 +468,101 @@ var toPropertyKey$2 = function (argument) {
511
468
  return isSymbol(key) ? key : key + '';
512
469
  };
513
470
 
514
- var DESCRIPTORS$7 = descriptors;
471
+ var global$7 = global$d;
472
+ var isObject$3 = isObject$6;
473
+
474
+ var document$1 = global$7.document;
475
+ // typeof document.createElement is 'object' in old IE
476
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
477
+
478
+ var documentCreateElement$2 = function (it) {
479
+ return EXISTS$1 ? document$1.createElement(it) : {};
480
+ };
481
+
482
+ var DESCRIPTORS$9 = descriptors;
483
+ var fails$9 = fails$e;
484
+ var createElement = documentCreateElement$2;
485
+
486
+ // Thanks to IE8 for its funny defineProperty
487
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
488
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
489
+ return Object.defineProperty(createElement('div'), 'a', {
490
+ get: function () { return 7; }
491
+ }).a != 7;
492
+ });
493
+
494
+ var DESCRIPTORS$8 = descriptors;
495
+ var call$2 = functionCall;
496
+ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
497
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
498
+ var toIndexedObject$4 = toIndexedObject$5;
499
+ var toPropertyKey$1 = toPropertyKey$2;
500
+ var hasOwn$7 = hasOwnProperty_1;
515
501
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
502
+
503
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
504
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
505
+
506
+ // `Object.getOwnPropertyDescriptor` method
507
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
508
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
509
+ O = toIndexedObject$4(O);
510
+ P = toPropertyKey$1(P);
511
+ if (IE8_DOM_DEFINE$1) try {
512
+ return $getOwnPropertyDescriptor$1(O, P);
513
+ } catch (error) { /* empty */ }
514
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
515
+ };
516
+
517
+ var objectDefineProperty = {};
518
+
519
+ var DESCRIPTORS$7 = descriptors;
520
+ var fails$8 = fails$e;
521
+
522
+ // V8 ~ Chrome 36-
523
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
524
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
525
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
526
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
527
+ value: 42,
528
+ writable: false
529
+ }).prototype != 42;
530
+ });
531
+
532
+ var isObject$2 = isObject$6;
533
+
534
+ var $String$2 = String;
535
+ var $TypeError$2 = TypeError;
536
+
537
+ // `Assert: Type(argument) is Object`
538
+ var anObject$5 = function (argument) {
539
+ if (isObject$2(argument)) return argument;
540
+ throw $TypeError$2($String$2(argument) + ' is not an object');
541
+ };
542
+
543
+ var DESCRIPTORS$6 = descriptors;
544
+ var IE8_DOM_DEFINE = ie8DomDefine;
516
545
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
517
546
  var anObject$4 = anObject$5;
518
- var toPropertyKey$1 = toPropertyKey$2;
547
+ var toPropertyKey = toPropertyKey$2;
519
548
 
520
549
  var $TypeError$1 = TypeError;
521
550
  // eslint-disable-next-line es/no-object-defineproperty -- safe
522
551
  var $defineProperty = Object.defineProperty;
523
552
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
524
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
553
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
525
554
  var ENUMERABLE = 'enumerable';
526
555
  var CONFIGURABLE$1 = 'configurable';
527
556
  var WRITABLE = 'writable';
528
557
 
529
558
  // `Object.defineProperty` method
530
559
  // https://tc39.es/ecma262/#sec-object.defineproperty
531
- objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
560
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
532
561
  anObject$4(O);
533
- P = toPropertyKey$1(P);
562
+ P = toPropertyKey(P);
534
563
  anObject$4(Attributes);
535
564
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
536
- var current = $getOwnPropertyDescriptor$1(O, P);
565
+ var current = $getOwnPropertyDescriptor(O, P);
537
566
  if (current && current[WRITABLE]) {
538
567
  O[P] = Attributes.value;
539
568
  Attributes = {
@@ -545,9 +574,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
545
574
  } return $defineProperty(O, P, Attributes);
546
575
  } : $defineProperty : function defineProperty(O, P, Attributes) {
547
576
  anObject$4(O);
548
- P = toPropertyKey$1(P);
577
+ P = toPropertyKey(P);
549
578
  anObject$4(Attributes);
550
- if (IE8_DOM_DEFINE$1) try {
579
+ if (IE8_DOM_DEFINE) try {
551
580
  return $defineProperty(O, P, Attributes);
552
581
  } catch (error) { /* empty */ }
553
582
  if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
@@ -555,159 +584,58 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
555
584
  return O;
556
585
  };
557
586
 
558
- var ceil = Math.ceil;
559
- var floor = Math.floor;
587
+ var DESCRIPTORS$5 = descriptors;
588
+ var definePropertyModule$3 = objectDefineProperty;
589
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
560
590
 
561
- // `Math.trunc` method
562
- // https://tc39.es/ecma262/#sec-math.trunc
563
- // eslint-disable-next-line es/no-math-trunc -- safe
564
- var mathTrunc = Math.trunc || function trunc(x) {
565
- var n = +x;
566
- return (n > 0 ? floor : ceil)(n);
591
+ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
592
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
593
+ } : function (object, key, value) {
594
+ object[key] = value;
595
+ return object;
567
596
  };
568
597
 
569
- var trunc = mathTrunc;
598
+ var makeBuiltIn$2 = {exports: {}};
570
599
 
571
- // `ToIntegerOrInfinity` abstract operation
572
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
573
- var toIntegerOrInfinity$2 = function (argument) {
574
- var number = +argument;
575
- // eslint-disable-next-line no-self-compare -- NaN check
576
- return number !== number || number === 0 ? 0 : trunc(number);
577
- };
600
+ var DESCRIPTORS$4 = descriptors;
601
+ var hasOwn$6 = hasOwnProperty_1;
578
602
 
579
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
603
+ var FunctionPrototype = Function.prototype;
604
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
605
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
580
606
 
581
- var max = Math.max;
582
- var min$1 = Math.min;
607
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
608
+ // additional protection from minified / mangled / dropped function names
609
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
610
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
583
611
 
584
- // Helper for a popular repeating case of the spec:
585
- // Let integer be ? ToInteger(index).
586
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
587
- var toAbsoluteIndex$1 = function (index, length) {
588
- var integer = toIntegerOrInfinity$1(index);
589
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
612
+ var functionName = {
613
+ EXISTS: EXISTS,
614
+ PROPER: PROPER,
615
+ CONFIGURABLE: CONFIGURABLE
590
616
  };
591
617
 
592
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
618
+ var uncurryThis$7 = functionUncurryThis;
619
+ var isCallable$9 = isCallable$f;
620
+ var store$1 = sharedStore;
593
621
 
594
- var min = Math.min;
622
+ var functionToString = uncurryThis$7(Function.toString);
595
623
 
596
- // `ToLength` abstract operation
597
- // https://tc39.es/ecma262/#sec-tolength
598
- var toLength$1 = function (argument) {
599
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
600
- };
624
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
625
+ if (!isCallable$9(store$1.inspectSource)) {
626
+ store$1.inspectSource = function (it) {
627
+ return functionToString(it);
628
+ };
629
+ }
601
630
 
602
- var toLength = toLength$1;
631
+ var inspectSource$1 = store$1.inspectSource;
603
632
 
604
- // `LengthOfArrayLike` abstract operation
605
- // https://tc39.es/ecma262/#sec-lengthofarraylike
606
- var lengthOfArrayLike$1 = function (obj) {
607
- return toLength(obj.length);
608
- };
633
+ var global$6 = global$d;
634
+ var isCallable$8 = isCallable$f;
609
635
 
610
- var toIndexedObject$4 = toIndexedObject$5;
611
- var toAbsoluteIndex = toAbsoluteIndex$1;
612
- var lengthOfArrayLike = lengthOfArrayLike$1;
636
+ var WeakMap$1 = global$6.WeakMap;
613
637
 
614
- // `Array.prototype.{ indexOf, includes }` methods implementation
615
- var createMethod$1 = function (IS_INCLUDES) {
616
- return function ($this, el, fromIndex) {
617
- var O = toIndexedObject$4($this);
618
- var length = lengthOfArrayLike(O);
619
- var index = toAbsoluteIndex(fromIndex, length);
620
- var value;
621
- // Array#includes uses SameValueZero equality algorithm
622
- // eslint-disable-next-line no-self-compare -- NaN check
623
- if (IS_INCLUDES && el != el) while (length > index) {
624
- value = O[index++];
625
- // eslint-disable-next-line no-self-compare -- NaN check
626
- if (value != value) return true;
627
- // Array#indexOf ignores holes, Array#includes - not
628
- } else for (;length > index; index++) {
629
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
630
- } return !IS_INCLUDES && -1;
631
- };
632
- };
633
-
634
- var arrayIncludes = {
635
- // `Array.prototype.includes` method
636
- // https://tc39.es/ecma262/#sec-array.prototype.includes
637
- includes: createMethod$1(true),
638
- // `Array.prototype.indexOf` method
639
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
640
- indexOf: createMethod$1(false)
641
- };
642
-
643
- var hiddenKeys$4 = {};
644
-
645
- var uncurryThis$7 = functionUncurryThis;
646
- var hasOwn$7 = hasOwnProperty_1;
647
- var toIndexedObject$3 = toIndexedObject$5;
648
- var indexOf = arrayIncludes.indexOf;
649
- var hiddenKeys$3 = hiddenKeys$4;
650
-
651
- var push = uncurryThis$7([].push);
652
-
653
- var objectKeysInternal = function (object, names) {
654
- var O = toIndexedObject$3(object);
655
- var i = 0;
656
- var result = [];
657
- var key;
658
- for (key in O) !hasOwn$7(hiddenKeys$3, key) && hasOwn$7(O, key) && push(result, key);
659
- // Don't enum bug & hidden keys
660
- while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
661
- ~indexOf(result, key) || push(result, key);
662
- }
663
- return result;
664
- };
665
-
666
- // IE8- don't enum bug keys
667
- var enumBugKeys$3 = [
668
- 'constructor',
669
- 'hasOwnProperty',
670
- 'isPrototypeOf',
671
- 'propertyIsEnumerable',
672
- 'toLocaleString',
673
- 'toString',
674
- 'valueOf'
675
- ];
676
-
677
- var internalObjectKeys$1 = objectKeysInternal;
678
- var enumBugKeys$2 = enumBugKeys$3;
679
-
680
- // `Object.keys` method
681
- // https://tc39.es/ecma262/#sec-object.keys
682
- // eslint-disable-next-line es/no-object-keys -- safe
683
- var objectKeys$2 = Object.keys || function keys(O) {
684
- return internalObjectKeys$1(O, enumBugKeys$2);
685
- };
686
-
687
- var DESCRIPTORS$6 = descriptors;
688
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
689
- var definePropertyModule$3 = objectDefineProperty;
690
- var anObject$3 = anObject$5;
691
- var toIndexedObject$2 = toIndexedObject$5;
692
- var objectKeys$1 = objectKeys$2;
693
-
694
- // `Object.defineProperties` method
695
- // https://tc39.es/ecma262/#sec-object.defineproperties
696
- // eslint-disable-next-line es/no-object-defineproperties -- safe
697
- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
698
- anObject$3(O);
699
- var props = toIndexedObject$2(Properties);
700
- var keys = objectKeys$1(Properties);
701
- var length = keys.length;
702
- var index = 0;
703
- var key;
704
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
705
- return O;
706
- };
707
-
708
- var getBuiltIn$1 = getBuiltIn$4;
709
-
710
- var html$1 = getBuiltIn$1('document', 'documentElement');
638
+ var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
711
639
 
712
640
  var shared$1 = shared$3.exports;
713
641
  var uid = uid$2;
@@ -718,149 +646,16 @@ var sharedKey$3 = function (key) {
718
646
  return keys[key] || (keys[key] = uid(key));
719
647
  };
720
648
 
721
- /* global ActiveXObject -- old IE, WSH */
722
-
723
- var anObject$2 = anObject$5;
724
- var definePropertiesModule = objectDefineProperties;
725
- var enumBugKeys$1 = enumBugKeys$3;
726
- var hiddenKeys$2 = hiddenKeys$4;
727
- var html = html$1;
728
- var documentCreateElement$1 = documentCreateElement$2;
729
- var sharedKey$2 = sharedKey$3;
730
-
731
- var GT = '>';
732
- var LT = '<';
733
- var PROTOTYPE = 'prototype';
734
- var SCRIPT = 'script';
735
- var IE_PROTO$1 = sharedKey$2('IE_PROTO');
736
-
737
- var EmptyConstructor = function () { /* empty */ };
738
-
739
- var scriptTag = function (content) {
740
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
741
- };
742
-
743
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
744
- var NullProtoObjectViaActiveX = function (activeXDocument) {
745
- activeXDocument.write(scriptTag(''));
746
- activeXDocument.close();
747
- var temp = activeXDocument.parentWindow.Object;
748
- activeXDocument = null; // avoid memory leak
749
- return temp;
750
- };
751
-
752
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
753
- var NullProtoObjectViaIFrame = function () {
754
- // Thrash, waste and sodomy: IE GC bug
755
- var iframe = documentCreateElement$1('iframe');
756
- var JS = 'java' + SCRIPT + ':';
757
- var iframeDocument;
758
- iframe.style.display = 'none';
759
- html.appendChild(iframe);
760
- // https://github.com/zloirock/core-js/issues/475
761
- iframe.src = String(JS);
762
- iframeDocument = iframe.contentWindow.document;
763
- iframeDocument.open();
764
- iframeDocument.write(scriptTag('document.F=Object'));
765
- iframeDocument.close();
766
- return iframeDocument.F;
767
- };
768
-
769
- // Check for document.domain and active x support
770
- // No need to use active x approach when document.domain is not set
771
- // see https://github.com/es-shims/es5-shim/issues/150
772
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
773
- // avoid IE GC bug
774
- var activeXDocument;
775
- var NullProtoObject = function () {
776
- try {
777
- activeXDocument = new ActiveXObject('htmlfile');
778
- } catch (error) { /* ignore */ }
779
- NullProtoObject = typeof document != 'undefined'
780
- ? document.domain && activeXDocument
781
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
782
- : NullProtoObjectViaIFrame()
783
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
784
- var length = enumBugKeys$1.length;
785
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
786
- return NullProtoObject();
787
- };
788
-
789
- hiddenKeys$2[IE_PROTO$1] = true;
790
-
791
- // `Object.create` method
792
- // https://tc39.es/ecma262/#sec-object.create
793
- // eslint-disable-next-line es/no-object-create -- safe
794
- var objectCreate = Object.create || function create(O, Properties) {
795
- var result;
796
- if (O !== null) {
797
- EmptyConstructor[PROTOTYPE] = anObject$2(O);
798
- result = new EmptyConstructor();
799
- EmptyConstructor[PROTOTYPE] = null;
800
- // add "__proto__" for Object.getPrototypeOf polyfill
801
- result[IE_PROTO$1] = O;
802
- } else result = NullProtoObject();
803
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
804
- };
805
-
806
- var wellKnownSymbol$6 = wellKnownSymbol$8;
807
- var create$1 = objectCreate;
808
- var defineProperty$4 = objectDefineProperty.f;
809
-
810
- var UNSCOPABLES = wellKnownSymbol$6('unscopables');
811
- var ArrayPrototype = Array.prototype;
812
-
813
- // Array.prototype[@@unscopables]
814
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
815
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
816
- defineProperty$4(ArrayPrototype, UNSCOPABLES, {
817
- configurable: true,
818
- value: create$1(null)
819
- });
820
- }
821
-
822
- // add a key to Array.prototype[@@unscopables]
823
- var addToUnscopables$1 = function (key) {
824
- ArrayPrototype[UNSCOPABLES][key] = true;
825
- };
826
-
827
- var iterators = {};
828
-
829
- var global$6 = global$d;
830
- var isCallable$9 = isCallable$f;
831
-
832
- var WeakMap$1 = global$6.WeakMap;
833
-
834
- var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
835
-
836
- var createPropertyDescriptor$3 = function (bitmap, value) {
837
- return {
838
- enumerable: !(bitmap & 1),
839
- configurable: !(bitmap & 2),
840
- writable: !(bitmap & 4),
841
- value: value
842
- };
843
- };
844
-
845
- var DESCRIPTORS$5 = descriptors;
846
- var definePropertyModule$2 = objectDefineProperty;
847
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
848
-
849
- var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
850
- return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
851
- } : function (object, key, value) {
852
- object[key] = value;
853
- return object;
854
- };
649
+ var hiddenKeys$4 = {};
855
650
 
856
651
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
857
652
  var global$5 = global$d;
858
653
  var isObject$1 = isObject$6;
859
654
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
860
- var hasOwn$6 = hasOwnProperty_1;
655
+ var hasOwn$5 = hasOwnProperty_1;
861
656
  var shared = sharedStore;
862
- var sharedKey$1 = sharedKey$3;
863
- var hiddenKeys$1 = hiddenKeys$4;
657
+ var sharedKey$2 = sharedKey$3;
658
+ var hiddenKeys$3 = hiddenKeys$4;
864
659
 
865
660
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
866
661
  var TypeError$1 = global$5.TypeError;
@@ -881,38 +676,38 @@ var getterFor = function (TYPE) {
881
676
  };
882
677
 
883
678
  if (NATIVE_WEAK_MAP || shared.state) {
884
- var store$1 = shared.state || (shared.state = new WeakMap());
679
+ var store = shared.state || (shared.state = new WeakMap());
885
680
  /* eslint-disable no-self-assign -- prototype methods protection */
886
- store$1.get = store$1.get;
887
- store$1.has = store$1.has;
888
- store$1.set = store$1.set;
681
+ store.get = store.get;
682
+ store.has = store.has;
683
+ store.set = store.set;
889
684
  /* eslint-enable no-self-assign -- prototype methods protection */
890
685
  set = function (it, metadata) {
891
- if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
686
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
892
687
  metadata.facade = it;
893
- store$1.set(it, metadata);
688
+ store.set(it, metadata);
894
689
  return metadata;
895
690
  };
896
691
  get = function (it) {
897
- return store$1.get(it) || {};
692
+ return store.get(it) || {};
898
693
  };
899
694
  has = function (it) {
900
- return store$1.has(it);
695
+ return store.has(it);
901
696
  };
902
697
  } else {
903
- var STATE = sharedKey$1('state');
904
- hiddenKeys$1[STATE] = true;
698
+ var STATE = sharedKey$2('state');
699
+ hiddenKeys$3[STATE] = true;
905
700
  set = function (it, metadata) {
906
- if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
701
+ if (hasOwn$5(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
907
702
  metadata.facade = it;
908
703
  createNonEnumerableProperty$3(it, STATE, metadata);
909
704
  return metadata;
910
705
  };
911
706
  get = function (it) {
912
- return hasOwn$6(it, STATE) ? it[STATE] : {};
707
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
913
708
  };
914
709
  has = function (it) {
915
- return hasOwn$6(it, STATE);
710
+ return hasOwn$5(it, STATE);
916
711
  };
917
712
  }
918
713
 
@@ -924,125 +719,49 @@ var internalState = {
924
719
  getterFor: getterFor
925
720
  };
926
721
 
927
- var objectGetOwnPropertyDescriptor = {};
722
+ var fails$7 = fails$e;
723
+ var isCallable$7 = isCallable$f;
724
+ var hasOwn$4 = hasOwnProperty_1;
725
+ var DESCRIPTORS$3 = descriptors;
726
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
727
+ var inspectSource = inspectSource$1;
728
+ var InternalStateModule$1 = internalState;
928
729
 
929
- var objectPropertyIsEnumerable = {};
730
+ var enforceInternalState = InternalStateModule$1.enforce;
731
+ var getInternalState$1 = InternalStateModule$1.get;
732
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
733
+ var defineProperty$4 = Object.defineProperty;
930
734
 
931
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
932
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
933
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
735
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
736
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
737
+ });
934
738
 
935
- // Nashorn ~ JDK8 bug
936
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
739
+ var TEMPLATE = String(String).split('String');
937
740
 
938
- // `Object.prototype.propertyIsEnumerable` method implementation
939
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
940
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
941
- var descriptor = getOwnPropertyDescriptor$1(this, V);
942
- return !!descriptor && descriptor.enumerable;
943
- } : $propertyIsEnumerable;
944
-
945
- var DESCRIPTORS$4 = descriptors;
946
- var call$2 = functionCall;
947
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
948
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
949
- var toIndexedObject$1 = toIndexedObject$5;
950
- var toPropertyKey = toPropertyKey$2;
951
- var hasOwn$5 = hasOwnProperty_1;
952
- var IE8_DOM_DEFINE = ie8DomDefine;
953
-
954
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
955
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
956
-
957
- // `Object.getOwnPropertyDescriptor` method
958
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
959
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
960
- O = toIndexedObject$1(O);
961
- P = toPropertyKey(P);
962
- if (IE8_DOM_DEFINE) try {
963
- return $getOwnPropertyDescriptor(O, P);
964
- } catch (error) { /* empty */ }
965
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
966
- };
967
-
968
- var makeBuiltIn$2 = {exports: {}};
969
-
970
- var DESCRIPTORS$3 = descriptors;
971
- var hasOwn$4 = hasOwnProperty_1;
972
-
973
- var FunctionPrototype = Function.prototype;
974
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
975
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
976
-
977
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
978
- // additional protection from minified / mangled / dropped function names
979
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
980
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
981
-
982
- var functionName = {
983
- EXISTS: EXISTS,
984
- PROPER: PROPER,
985
- CONFIGURABLE: CONFIGURABLE
986
- };
987
-
988
- var uncurryThis$6 = functionUncurryThis;
989
- var isCallable$8 = isCallable$f;
990
- var store = sharedStore;
991
-
992
- var functionToString = uncurryThis$6(Function.toString);
993
-
994
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
995
- if (!isCallable$8(store.inspectSource)) {
996
- store.inspectSource = function (it) {
997
- return functionToString(it);
998
- };
999
- }
1000
-
1001
- var inspectSource$1 = store.inspectSource;
1002
-
1003
- var fails$7 = fails$e;
1004
- var isCallable$7 = isCallable$f;
1005
- var hasOwn$3 = hasOwnProperty_1;
1006
- var DESCRIPTORS$2 = descriptors;
1007
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
1008
- var inspectSource = inspectSource$1;
1009
- var InternalStateModule$1 = internalState;
1010
-
1011
- var enforceInternalState = InternalStateModule$1.enforce;
1012
- var getInternalState$1 = InternalStateModule$1.get;
1013
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1014
- var defineProperty$3 = Object.defineProperty;
1015
-
1016
- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {
1017
- return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1018
- });
1019
-
1020
- var TEMPLATE = String(String).split('String');
1021
-
1022
- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
1023
- if (String(name).slice(0, 7) === 'Symbol(') {
1024
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
1025
- }
1026
- if (options && options.getter) name = 'get ' + name;
1027
- if (options && options.setter) name = 'set ' + name;
1028
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
1029
- if (DESCRIPTORS$2) defineProperty$3(value, 'name', { value: name, configurable: true });
1030
- else value.name = name;
1031
- }
1032
- if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
1033
- defineProperty$3(value, 'length', { value: options.arity });
1034
- }
1035
- try {
1036
- if (options && hasOwn$3(options, 'constructor') && options.constructor) {
1037
- if (DESCRIPTORS$2) defineProperty$3(value, 'prototype', { writable: false });
1038
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
1039
- } else if (value.prototype) value.prototype = undefined;
1040
- } catch (error) { /* empty */ }
1041
- var state = enforceInternalState(value);
1042
- if (!hasOwn$3(state, 'source')) {
1043
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1044
- } return value;
1045
- };
741
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
742
+ if (String(name).slice(0, 7) === 'Symbol(') {
743
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
744
+ }
745
+ if (options && options.getter) name = 'get ' + name;
746
+ if (options && options.setter) name = 'set ' + name;
747
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
748
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
749
+ else value.name = name;
750
+ }
751
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
752
+ defineProperty$4(value, 'length', { value: options.arity });
753
+ }
754
+ try {
755
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
756
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
757
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
758
+ } else if (value.prototype) value.prototype = undefined;
759
+ } catch (error) { /* empty */ }
760
+ var state = enforceInternalState(value);
761
+ if (!hasOwn$4(state, 'source')) {
762
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
763
+ } return value;
764
+ };
1046
765
 
1047
766
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1048
767
  // eslint-disable-next-line no-extend-native -- required
@@ -1051,7 +770,7 @@ Function.prototype.toString = makeBuiltIn$1(function toString() {
1051
770
  }, 'toString');
1052
771
 
1053
772
  var isCallable$6 = isCallable$f;
1054
- var definePropertyModule$1 = objectDefineProperty;
773
+ var definePropertyModule$2 = objectDefineProperty;
1055
774
  var makeBuiltIn = makeBuiltIn$2.exports;
1056
775
  var defineGlobalProperty$1 = defineGlobalProperty$3;
1057
776
 
@@ -1069,7 +788,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
1069
788
  else if (O[key]) simple = true;
1070
789
  } catch (error) { /* empty */ }
1071
790
  if (simple) O[key] = value;
1072
- else definePropertyModule$1.f(O, key, {
791
+ else definePropertyModule$2.f(O, key, {
1073
792
  value: value,
1074
793
  enumerable: false,
1075
794
  configurable: !options.nonConfigurable,
@@ -1080,16 +799,133 @@ var defineBuiltIn$3 = function (O, key, value, options) {
1080
799
 
1081
800
  var objectGetOwnPropertyNames = {};
1082
801
 
1083
- var internalObjectKeys = objectKeysInternal;
1084
- var enumBugKeys = enumBugKeys$3;
802
+ var ceil = Math.ceil;
803
+ var floor = Math.floor;
804
+
805
+ // `Math.trunc` method
806
+ // https://tc39.es/ecma262/#sec-math.trunc
807
+ // eslint-disable-next-line es/no-math-trunc -- safe
808
+ var mathTrunc = Math.trunc || function trunc(x) {
809
+ var n = +x;
810
+ return (n > 0 ? floor : ceil)(n);
811
+ };
812
+
813
+ var trunc = mathTrunc;
814
+
815
+ // `ToIntegerOrInfinity` abstract operation
816
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
817
+ var toIntegerOrInfinity$2 = function (argument) {
818
+ var number = +argument;
819
+ // eslint-disable-next-line no-self-compare -- NaN check
820
+ return number !== number || number === 0 ? 0 : trunc(number);
821
+ };
822
+
823
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
824
+
825
+ var max = Math.max;
826
+ var min$1 = Math.min;
827
+
828
+ // Helper for a popular repeating case of the spec:
829
+ // Let integer be ? ToInteger(index).
830
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
831
+ var toAbsoluteIndex$1 = function (index, length) {
832
+ var integer = toIntegerOrInfinity$1(index);
833
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
834
+ };
835
+
836
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
837
+
838
+ var min = Math.min;
839
+
840
+ // `ToLength` abstract operation
841
+ // https://tc39.es/ecma262/#sec-tolength
842
+ var toLength$1 = function (argument) {
843
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
844
+ };
845
+
846
+ var toLength = toLength$1;
847
+
848
+ // `LengthOfArrayLike` abstract operation
849
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
850
+ var lengthOfArrayLike$1 = function (obj) {
851
+ return toLength(obj.length);
852
+ };
853
+
854
+ var toIndexedObject$3 = toIndexedObject$5;
855
+ var toAbsoluteIndex = toAbsoluteIndex$1;
856
+ var lengthOfArrayLike = lengthOfArrayLike$1;
857
+
858
+ // `Array.prototype.{ indexOf, includes }` methods implementation
859
+ var createMethod$1 = function (IS_INCLUDES) {
860
+ return function ($this, el, fromIndex) {
861
+ var O = toIndexedObject$3($this);
862
+ var length = lengthOfArrayLike(O);
863
+ var index = toAbsoluteIndex(fromIndex, length);
864
+ var value;
865
+ // Array#includes uses SameValueZero equality algorithm
866
+ // eslint-disable-next-line no-self-compare -- NaN check
867
+ if (IS_INCLUDES && el != el) while (length > index) {
868
+ value = O[index++];
869
+ // eslint-disable-next-line no-self-compare -- NaN check
870
+ if (value != value) return true;
871
+ // Array#indexOf ignores holes, Array#includes - not
872
+ } else for (;length > index; index++) {
873
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
874
+ } return !IS_INCLUDES && -1;
875
+ };
876
+ };
1085
877
 
1086
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
878
+ var arrayIncludes = {
879
+ // `Array.prototype.includes` method
880
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
881
+ includes: createMethod$1(true),
882
+ // `Array.prototype.indexOf` method
883
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
884
+ indexOf: createMethod$1(false)
885
+ };
886
+
887
+ var uncurryThis$6 = functionUncurryThis;
888
+ var hasOwn$3 = hasOwnProperty_1;
889
+ var toIndexedObject$2 = toIndexedObject$5;
890
+ var indexOf = arrayIncludes.indexOf;
891
+ var hiddenKeys$2 = hiddenKeys$4;
892
+
893
+ var push = uncurryThis$6([].push);
894
+
895
+ var objectKeysInternal = function (object, names) {
896
+ var O = toIndexedObject$2(object);
897
+ var i = 0;
898
+ var result = [];
899
+ var key;
900
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
901
+ // Don't enum bug & hidden keys
902
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
903
+ ~indexOf(result, key) || push(result, key);
904
+ }
905
+ return result;
906
+ };
907
+
908
+ // IE8- don't enum bug keys
909
+ var enumBugKeys$3 = [
910
+ 'constructor',
911
+ 'hasOwnProperty',
912
+ 'isPrototypeOf',
913
+ 'propertyIsEnumerable',
914
+ 'toLocaleString',
915
+ 'toString',
916
+ 'valueOf'
917
+ ];
918
+
919
+ var internalObjectKeys$1 = objectKeysInternal;
920
+ var enumBugKeys$2 = enumBugKeys$3;
921
+
922
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1087
923
 
1088
924
  // `Object.getOwnPropertyNames` method
1089
925
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
1090
926
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1091
927
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1092
- return internalObjectKeys(O, hiddenKeys);
928
+ return internalObjectKeys$1(O, hiddenKeys$1);
1093
929
  };
1094
930
 
1095
931
  var objectGetOwnPropertySymbols = {};
@@ -1097,119 +933,365 @@ var objectGetOwnPropertySymbols = {};
1097
933
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1098
934
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1099
935
 
1100
- var getBuiltIn = getBuiltIn$4;
936
+ var getBuiltIn$1 = getBuiltIn$4;
1101
937
  var uncurryThis$5 = functionUncurryThis;
1102
938
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1103
939
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1104
- var anObject$1 = anObject$5;
940
+ var anObject$3 = anObject$5;
1105
941
 
1106
942
  var concat$1 = uncurryThis$5([].concat);
1107
943
 
1108
- // all object keys, includes non-enumerable and symbols
1109
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1110
- var keys = getOwnPropertyNamesModule.f(anObject$1(it));
1111
- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1112
- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1113
- };
944
+ // all object keys, includes non-enumerable and symbols
945
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
946
+ var keys = getOwnPropertyNamesModule.f(anObject$3(it));
947
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
948
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
949
+ };
950
+
951
+ var hasOwn$2 = hasOwnProperty_1;
952
+ var ownKeys = ownKeys$1;
953
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
954
+ var definePropertyModule$1 = objectDefineProperty;
955
+
956
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
957
+ var keys = ownKeys(source);
958
+ var defineProperty = definePropertyModule$1.f;
959
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
960
+ for (var i = 0; i < keys.length; i++) {
961
+ var key = keys[i];
962
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
963
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
964
+ }
965
+ }
966
+ };
967
+
968
+ var fails$6 = fails$e;
969
+ var isCallable$5 = isCallable$f;
970
+
971
+ var replacement = /#|\.prototype\./;
972
+
973
+ var isForced$1 = function (feature, detection) {
974
+ var value = data[normalize(feature)];
975
+ return value == POLYFILL ? true
976
+ : value == NATIVE ? false
977
+ : isCallable$5(detection) ? fails$6(detection)
978
+ : !!detection;
979
+ };
980
+
981
+ var normalize = isForced$1.normalize = function (string) {
982
+ return String(string).replace(replacement, '.').toLowerCase();
983
+ };
984
+
985
+ var data = isForced$1.data = {};
986
+ var NATIVE = isForced$1.NATIVE = 'N';
987
+ var POLYFILL = isForced$1.POLYFILL = 'P';
988
+
989
+ var isForced_1 = isForced$1;
990
+
991
+ var global$4 = global$d;
992
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
993
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
994
+ var defineBuiltIn$2 = defineBuiltIn$3;
995
+ var defineGlobalProperty = defineGlobalProperty$3;
996
+ var copyConstructorProperties = copyConstructorProperties$1;
997
+ var isForced = isForced_1;
998
+
999
+ /*
1000
+ options.target - name of the target object
1001
+ options.global - target is the global object
1002
+ options.stat - export as static methods of target
1003
+ options.proto - export as prototype methods of target
1004
+ options.real - real prototype method for the `pure` version
1005
+ options.forced - export even if the native feature is available
1006
+ options.bind - bind methods to the target, required for the `pure` version
1007
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1008
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1009
+ options.sham - add a flag to not completely full polyfills
1010
+ options.enumerable - export as enumerable property
1011
+ options.dontCallGetSet - prevent calling a getter on target
1012
+ options.name - the .name of the function if it does not match the key
1013
+ */
1014
+ var _export = function (options, source) {
1015
+ var TARGET = options.target;
1016
+ var GLOBAL = options.global;
1017
+ var STATIC = options.stat;
1018
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1019
+ if (GLOBAL) {
1020
+ target = global$4;
1021
+ } else if (STATIC) {
1022
+ target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
1023
+ } else {
1024
+ target = (global$4[TARGET] || {}).prototype;
1025
+ }
1026
+ if (target) for (key in source) {
1027
+ sourceProperty = source[key];
1028
+ if (options.dontCallGetSet) {
1029
+ descriptor = getOwnPropertyDescriptor(target, key);
1030
+ targetProperty = descriptor && descriptor.value;
1031
+ } else targetProperty = target[key];
1032
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1033
+ // contained in target
1034
+ if (!FORCED && targetProperty !== undefined) {
1035
+ if (typeof sourceProperty == typeof targetProperty) continue;
1036
+ copyConstructorProperties(sourceProperty, targetProperty);
1037
+ }
1038
+ // add a flag to not completely full polyfills
1039
+ if (options.sham || (targetProperty && targetProperty.sham)) {
1040
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1041
+ }
1042
+ defineBuiltIn$2(target, key, sourceProperty, options);
1043
+ }
1044
+ };
1045
+
1046
+ var internalObjectKeys = objectKeysInternal;
1047
+ var enumBugKeys$1 = enumBugKeys$3;
1048
+
1049
+ // `Object.keys` method
1050
+ // https://tc39.es/ecma262/#sec-object.keys
1051
+ // eslint-disable-next-line es/no-object-keys -- safe
1052
+ var objectKeys$2 = Object.keys || function keys(O) {
1053
+ return internalObjectKeys(O, enumBugKeys$1);
1054
+ };
1055
+
1056
+ var DESCRIPTORS$2 = descriptors;
1057
+ var uncurryThis$4 = functionUncurryThis;
1058
+ var call$1 = functionCall;
1059
+ var fails$5 = fails$e;
1060
+ var objectKeys$1 = objectKeys$2;
1061
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1062
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1063
+ var toObject$1 = toObject$3;
1064
+ var IndexedObject = indexedObject;
1065
+
1066
+ // eslint-disable-next-line es/no-object-assign -- safe
1067
+ var $assign = Object.assign;
1068
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1069
+ var defineProperty$3 = Object.defineProperty;
1070
+ var concat = uncurryThis$4([].concat);
1071
+
1072
+ // `Object.assign` method
1073
+ // https://tc39.es/ecma262/#sec-object.assign
1074
+ var objectAssign = !$assign || fails$5(function () {
1075
+ // should have correct order of operations (Edge bug)
1076
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1077
+ enumerable: true,
1078
+ get: function () {
1079
+ defineProperty$3(this, 'b', {
1080
+ value: 3,
1081
+ enumerable: false
1082
+ });
1083
+ }
1084
+ }), { b: 2 })).b !== 1) return true;
1085
+ // should work with symbols and should have deterministic property order (V8 bug)
1086
+ var A = {};
1087
+ var B = {};
1088
+ // eslint-disable-next-line es/no-symbol -- safe
1089
+ var symbol = Symbol();
1090
+ var alphabet = 'abcdefghijklmnopqrst';
1091
+ A[symbol] = 7;
1092
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1093
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1094
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1095
+ var T = toObject$1(target);
1096
+ var argumentsLength = arguments.length;
1097
+ var index = 1;
1098
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1099
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
1100
+ while (argumentsLength > index) {
1101
+ var S = IndexedObject(arguments[index++]);
1102
+ var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1103
+ var length = keys.length;
1104
+ var j = 0;
1105
+ var key;
1106
+ while (length > j) {
1107
+ key = keys[j++];
1108
+ if (!DESCRIPTORS$2 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
1109
+ }
1110
+ } return T;
1111
+ } : $assign;
1112
+
1113
+ var $$4 = _export;
1114
+ var assign = objectAssign;
1115
+
1116
+ // `Object.assign` method
1117
+ // https://tc39.es/ecma262/#sec-object.assign
1118
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1119
+ $$4({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1120
+ assign: assign
1121
+ });
1122
+
1123
+ const setupHostConnector = subscribedMethods => {
1124
+ const methods = Object.assign({
1125
+ onGlobalSelectionChanged: () => {},
1126
+ onTokenChanged: () => {},
1127
+ onAssetSortingStateChanged: () => {}
1128
+ }, subscribedMethods);
1129
+ const connection = connectToParent({
1130
+ methods
1131
+ });
1132
+ connectToParent({
1133
+ methods
1134
+ }).promise.catch(err => {
1135
+ // TODO consider how to handle this catch
1136
+ // eslint-disable-next-line no-console
1137
+ console.log(err);
1138
+ });
1139
+ return connection;
1140
+ };
1141
+ const hostConnector = setupHostConnector({});
1142
+ const getHostConnector = () => {
1143
+ return hostConnector.promise;
1144
+ };
1145
+
1146
+ const AssetRuntime = {
1147
+ getAssetInfo: () => __awaiter(void 0, void 0, void 0, function* () {
1148
+ const api = yield getHostConnector();
1149
+ return api.getAssetInfo();
1150
+ }),
1151
+ gotoAssetHome: assetId => __awaiter(void 0, void 0, void 0, function* () {
1152
+ const api = yield getHostConnector();
1153
+ return api.gotoAssetHome(assetId);
1154
+ })
1155
+ };
1156
+
1157
+ var objectDefineProperties = {};
1158
+
1159
+ var DESCRIPTORS$1 = descriptors;
1160
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1161
+ var definePropertyModule = objectDefineProperty;
1162
+ var anObject$2 = anObject$5;
1163
+ var toIndexedObject$1 = toIndexedObject$5;
1164
+ var objectKeys = objectKeys$2;
1165
+
1166
+ // `Object.defineProperties` method
1167
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1168
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1169
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1170
+ anObject$2(O);
1171
+ var props = toIndexedObject$1(Properties);
1172
+ var keys = objectKeys(Properties);
1173
+ var length = keys.length;
1174
+ var index = 0;
1175
+ var key;
1176
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1177
+ return O;
1178
+ };
1179
+
1180
+ var getBuiltIn = getBuiltIn$4;
1181
+
1182
+ var html$1 = getBuiltIn('document', 'documentElement');
1183
+
1184
+ /* global ActiveXObject -- old IE, WSH */
1185
+
1186
+ var anObject$1 = anObject$5;
1187
+ var definePropertiesModule = objectDefineProperties;
1188
+ var enumBugKeys = enumBugKeys$3;
1189
+ var hiddenKeys = hiddenKeys$4;
1190
+ var html = html$1;
1191
+ var documentCreateElement$1 = documentCreateElement$2;
1192
+ var sharedKey$1 = sharedKey$3;
1193
+
1194
+ var GT = '>';
1195
+ var LT = '<';
1196
+ var PROTOTYPE = 'prototype';
1197
+ var SCRIPT = 'script';
1198
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1114
1199
 
1115
- var hasOwn$2 = hasOwnProperty_1;
1116
- var ownKeys = ownKeys$1;
1117
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1118
- var definePropertyModule = objectDefineProperty;
1200
+ var EmptyConstructor = function () { /* empty */ };
1119
1201
 
1120
- var copyConstructorProperties$1 = function (target, source, exceptions) {
1121
- var keys = ownKeys(source);
1122
- var defineProperty = definePropertyModule.f;
1123
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1124
- for (var i = 0; i < keys.length; i++) {
1125
- var key = keys[i];
1126
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1127
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1128
- }
1129
- }
1202
+ var scriptTag = function (content) {
1203
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1130
1204
  };
1131
1205
 
1132
- var fails$6 = fails$e;
1133
- var isCallable$5 = isCallable$f;
1206
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1207
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1208
+ activeXDocument.write(scriptTag(''));
1209
+ activeXDocument.close();
1210
+ var temp = activeXDocument.parentWindow.Object;
1211
+ activeXDocument = null; // avoid memory leak
1212
+ return temp;
1213
+ };
1134
1214
 
1135
- var replacement = /#|\.prototype\./;
1215
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1216
+ var NullProtoObjectViaIFrame = function () {
1217
+ // Thrash, waste and sodomy: IE GC bug
1218
+ var iframe = documentCreateElement$1('iframe');
1219
+ var JS = 'java' + SCRIPT + ':';
1220
+ var iframeDocument;
1221
+ iframe.style.display = 'none';
1222
+ html.appendChild(iframe);
1223
+ // https://github.com/zloirock/core-js/issues/475
1224
+ iframe.src = String(JS);
1225
+ iframeDocument = iframe.contentWindow.document;
1226
+ iframeDocument.open();
1227
+ iframeDocument.write(scriptTag('document.F=Object'));
1228
+ iframeDocument.close();
1229
+ return iframeDocument.F;
1230
+ };
1136
1231
 
1137
- var isForced$1 = function (feature, detection) {
1138
- var value = data[normalize(feature)];
1139
- return value == POLYFILL ? true
1140
- : value == NATIVE ? false
1141
- : isCallable$5(detection) ? fails$6(detection)
1142
- : !!detection;
1232
+ // Check for document.domain and active x support
1233
+ // No need to use active x approach when document.domain is not set
1234
+ // see https://github.com/es-shims/es5-shim/issues/150
1235
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1236
+ // avoid IE GC bug
1237
+ var activeXDocument;
1238
+ var NullProtoObject = function () {
1239
+ try {
1240
+ activeXDocument = new ActiveXObject('htmlfile');
1241
+ } catch (error) { /* ignore */ }
1242
+ NullProtoObject = typeof document != 'undefined'
1243
+ ? document.domain && activeXDocument
1244
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1245
+ : NullProtoObjectViaIFrame()
1246
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1247
+ var length = enumBugKeys.length;
1248
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1249
+ return NullProtoObject();
1143
1250
  };
1144
1251
 
1145
- var normalize = isForced$1.normalize = function (string) {
1146
- return String(string).replace(replacement, '.').toLowerCase();
1252
+ hiddenKeys[IE_PROTO$1] = true;
1253
+
1254
+ // `Object.create` method
1255
+ // https://tc39.es/ecma262/#sec-object.create
1256
+ // eslint-disable-next-line es/no-object-create -- safe
1257
+ var objectCreate = Object.create || function create(O, Properties) {
1258
+ var result;
1259
+ if (O !== null) {
1260
+ EmptyConstructor[PROTOTYPE] = anObject$1(O);
1261
+ result = new EmptyConstructor();
1262
+ EmptyConstructor[PROTOTYPE] = null;
1263
+ // add "__proto__" for Object.getPrototypeOf polyfill
1264
+ result[IE_PROTO$1] = O;
1265
+ } else result = NullProtoObject();
1266
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1147
1267
  };
1148
1268
 
1149
- var data = isForced$1.data = {};
1150
- var NATIVE = isForced$1.NATIVE = 'N';
1151
- var POLYFILL = isForced$1.POLYFILL = 'P';
1269
+ var wellKnownSymbol$6 = wellKnownSymbol$8;
1270
+ var create$1 = objectCreate;
1271
+ var defineProperty$2 = objectDefineProperty.f;
1152
1272
 
1153
- var isForced_1 = isForced$1;
1273
+ var UNSCOPABLES = wellKnownSymbol$6('unscopables');
1274
+ var ArrayPrototype = Array.prototype;
1154
1275
 
1155
- var global$4 = global$d;
1156
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1157
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
1158
- var defineBuiltIn$2 = defineBuiltIn$3;
1159
- var defineGlobalProperty = defineGlobalProperty$3;
1160
- var copyConstructorProperties = copyConstructorProperties$1;
1161
- var isForced = isForced_1;
1276
+ // Array.prototype[@@unscopables]
1277
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1278
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1279
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1280
+ configurable: true,
1281
+ value: create$1(null)
1282
+ });
1283
+ }
1162
1284
 
1163
- /*
1164
- options.target - name of the target object
1165
- options.global - target is the global object
1166
- options.stat - export as static methods of target
1167
- options.proto - export as prototype methods of target
1168
- options.real - real prototype method for the `pure` version
1169
- options.forced - export even if the native feature is available
1170
- options.bind - bind methods to the target, required for the `pure` version
1171
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1172
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1173
- options.sham - add a flag to not completely full polyfills
1174
- options.enumerable - export as enumerable property
1175
- options.dontCallGetSet - prevent calling a getter on target
1176
- options.name - the .name of the function if it does not match the key
1177
- */
1178
- var _export = function (options, source) {
1179
- var TARGET = options.target;
1180
- var GLOBAL = options.global;
1181
- var STATIC = options.stat;
1182
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1183
- if (GLOBAL) {
1184
- target = global$4;
1185
- } else if (STATIC) {
1186
- target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
1187
- } else {
1188
- target = (global$4[TARGET] || {}).prototype;
1189
- }
1190
- if (target) for (key in source) {
1191
- sourceProperty = source[key];
1192
- if (options.dontCallGetSet) {
1193
- descriptor = getOwnPropertyDescriptor(target, key);
1194
- targetProperty = descriptor && descriptor.value;
1195
- } else targetProperty = target[key];
1196
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1197
- // contained in target
1198
- if (!FORCED && targetProperty !== undefined) {
1199
- if (typeof sourceProperty == typeof targetProperty) continue;
1200
- copyConstructorProperties(sourceProperty, targetProperty);
1201
- }
1202
- // add a flag to not completely full polyfills
1203
- if (options.sham || (targetProperty && targetProperty.sham)) {
1204
- createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1205
- }
1206
- defineBuiltIn$2(target, key, sourceProperty, options);
1207
- }
1285
+ // add a key to Array.prototype[@@unscopables]
1286
+ var addToUnscopables$1 = function (key) {
1287
+ ArrayPrototype[UNSCOPABLES][key] = true;
1208
1288
  };
1209
1289
 
1210
- var fails$5 = fails$e;
1290
+ var iterators = {};
1211
1291
 
1212
- var correctPrototypeGetter = !fails$5(function () {
1292
+ var fails$4 = fails$e;
1293
+
1294
+ var correctPrototypeGetter = !fails$4(function () {
1213
1295
  function F() { /* empty */ }
1214
1296
  F.prototype.constructor = null;
1215
1297
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1218,7 +1300,7 @@ var correctPrototypeGetter = !fails$5(function () {
1218
1300
 
1219
1301
  var hasOwn$1 = hasOwnProperty_1;
1220
1302
  var isCallable$4 = isCallable$f;
1221
- var toObject$1 = toObject$3;
1303
+ var toObject = toObject$3;
1222
1304
  var sharedKey = sharedKey$3;
1223
1305
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1224
1306
 
@@ -1230,7 +1312,7 @@ var ObjectPrototype = $Object$1.prototype;
1230
1312
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1231
1313
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1232
1314
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1233
- var object = toObject$1(O);
1315
+ var object = toObject(O);
1234
1316
  if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1235
1317
  var constructor = object.constructor;
1236
1318
  if (isCallable$4(constructor) && object instanceof constructor) {
@@ -1238,7 +1320,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1238
1320
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1239
1321
  };
1240
1322
 
1241
- var fails$4 = fails$e;
1323
+ var fails$3 = fails$e;
1242
1324
  var isCallable$3 = isCallable$f;
1243
1325
  var isObject = isObject$6;
1244
1326
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1263,7 +1345,7 @@ if ([].keys) {
1263
1345
  }
1264
1346
  }
1265
1347
 
1266
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$4(function () {
1348
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$3(function () {
1267
1349
  var test = {};
1268
1350
  // FF44- legacy iterators case
1269
1351
  return IteratorPrototype$2[ITERATOR$4].call(test) !== test;
@@ -1284,7 +1366,7 @@ var iteratorsCore = {
1284
1366
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1285
1367
  };
1286
1368
 
1287
- var defineProperty$2 = objectDefineProperty.f;
1369
+ var defineProperty$1 = objectDefineProperty.f;
1288
1370
  var hasOwn = hasOwnProperty_1;
1289
1371
  var wellKnownSymbol$4 = wellKnownSymbol$8;
1290
1372
 
@@ -1293,7 +1375,7 @@ var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
1293
1375
  var setToStringTag$2 = function (target, TAG, STATIC) {
1294
1376
  if (target && !STATIC) target = target.prototype;
1295
1377
  if (target && !hasOwn(target, TO_STRING_TAG$3)) {
1296
- defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1378
+ defineProperty$1(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1297
1379
  }
1298
1380
  };
1299
1381
 
@@ -1325,7 +1407,7 @@ var aPossiblePrototype$1 = function (argument) {
1325
1407
 
1326
1408
  /* eslint-disable no-proto -- safe */
1327
1409
 
1328
- var uncurryThis$4 = functionUncurryThis;
1410
+ var uncurryThis$3 = functionUncurryThis;
1329
1411
  var anObject = anObject$5;
1330
1412
  var aPossiblePrototype = aPossiblePrototype$1;
1331
1413
 
@@ -1339,7 +1421,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1339
1421
  var setter;
1340
1422
  try {
1341
1423
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1342
- setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1424
+ setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1343
1425
  setter(test, []);
1344
1426
  CORRECT_SETTER = test instanceof Array;
1345
1427
  } catch (error) { /* empty */ }
@@ -1352,8 +1434,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1352
1434
  };
1353
1435
  }() : undefined);
1354
1436
 
1355
- var $$4 = _export;
1356
- var call$1 = functionCall;
1437
+ var $$3 = _export;
1438
+ var call = functionCall;
1357
1439
  var FunctionName = functionName;
1358
1440
  var isCallable$1 = isCallable$f;
1359
1441
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1422,7 +1504,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1422
1504
  createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1423
1505
  } else {
1424
1506
  INCORRECT_VALUES_NAME = true;
1425
- defaultIterator = function values() { return call$1(nativeIterator, this); };
1507
+ defaultIterator = function values() { return call(nativeIterator, this); };
1426
1508
  }
1427
1509
  }
1428
1510
 
@@ -1437,7 +1519,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1437
1519
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1438
1520
  defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1439
1521
  }
1440
- } else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1522
+ } else $$3({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1441
1523
  }
1442
1524
 
1443
1525
  // define iterator
@@ -1459,10 +1541,10 @@ var toIndexedObject = toIndexedObject$5;
1459
1541
  var addToUnscopables = addToUnscopables$1;
1460
1542
  var Iterators = iterators;
1461
1543
  var InternalStateModule = internalState;
1462
- var defineProperty$1 = objectDefineProperty.f;
1544
+ var defineProperty = objectDefineProperty.f;
1463
1545
  var defineIterator = iteratorDefine;
1464
1546
  var createIterResultObject = createIterResultObject$1;
1465
- var DESCRIPTORS$1 = descriptors;
1547
+ var DESCRIPTORS = descriptors;
1466
1548
 
1467
1549
  var ARRAY_ITERATOR = 'Array Iterator';
1468
1550
  var setInternalState = InternalStateModule.set;
@@ -1512,8 +1594,8 @@ addToUnscopables('values');
1512
1594
  addToUnscopables('entries');
1513
1595
 
1514
1596
  // V8 ~ Chrome 45- bug
1515
- if (DESCRIPTORS$1 && values.name !== 'values') try {
1516
- defineProperty$1(values, 'name', { value: 'values' });
1597
+ if (DESCRIPTORS && values.name !== 'values') try {
1598
+ defineProperty(values, 'name', { value: 'values' });
1517
1599
  } catch (error) { /* empty */ }
1518
1600
 
1519
1601
  // iterable DOM collections
@@ -1673,12 +1755,12 @@ var toString$3 = function (argument) {
1673
1755
  var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1674
1756
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1675
1757
 
1676
- var uncurryThis$3 = functionUncurryThis;
1758
+ var uncurryThis$2 = functionUncurryThis;
1677
1759
  var requireObjectCoercible = requireObjectCoercible$3;
1678
1760
  var toString$2 = toString$3;
1679
1761
  var whitespaces$3 = whitespaces$4;
1680
1762
 
1681
- var replace = uncurryThis$3(''.replace);
1763
+ var replace = uncurryThis$2(''.replace);
1682
1764
  var whitespace = '[' + whitespaces$3 + ']';
1683
1765
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
1684
1766
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -1706,8 +1788,8 @@ var stringTrim = {
1706
1788
  };
1707
1789
 
1708
1790
  var global$2 = global$d;
1709
- var fails$3 = fails$e;
1710
- var uncurryThis$2 = functionUncurryThis;
1791
+ var fails$2 = fails$e;
1792
+ var uncurryThis$1 = functionUncurryThis;
1711
1793
  var toString$1 = toString$3;
1712
1794
  var trim$1 = stringTrim.trim;
1713
1795
  var whitespaces$2 = whitespaces$4;
@@ -1716,10 +1798,10 @@ var $parseInt$1 = global$2.parseInt;
1716
1798
  var Symbol$2 = global$2.Symbol;
1717
1799
  var ITERATOR$1 = Symbol$2 && Symbol$2.iterator;
1718
1800
  var hex = /^[+-]?0x/i;
1719
- var exec = uncurryThis$2(hex.exec);
1801
+ var exec = uncurryThis$1(hex.exec);
1720
1802
  var FORCED$1 = $parseInt$1(whitespaces$2 + '08') !== 8 || $parseInt$1(whitespaces$2 + '0x16') !== 22
1721
1803
  // MS Edge 18- broken with boxed symbols
1722
- || (ITERATOR$1 && !fails$3(function () { $parseInt$1(Object(ITERATOR$1)); }));
1804
+ || (ITERATOR$1 && !fails$2(function () { $parseInt$1(Object(ITERATOR$1)); }));
1723
1805
 
1724
1806
  // `parseInt` method
1725
1807
  // https://tc39.es/ecma262/#sec-parseint-string-radix
@@ -1728,29 +1810,29 @@ var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
1728
1810
  return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
1729
1811
  } : $parseInt$1;
1730
1812
 
1731
- var $$3 = _export;
1813
+ var $$2 = _export;
1732
1814
  var $parseInt = numberParseInt;
1733
1815
 
1734
1816
  // `parseInt` method
1735
1817
  // https://tc39.es/ecma262/#sec-parseint-string-radix
1736
- $$3({ global: true, forced: parseInt != $parseInt }, {
1818
+ $$2({ global: true, forced: parseInt != $parseInt }, {
1737
1819
  parseInt: $parseInt
1738
1820
  });
1739
1821
 
1740
1822
  var global$1 = global$d;
1741
- var fails$2 = fails$e;
1742
- var uncurryThis$1 = functionUncurryThis;
1823
+ var fails$1 = fails$e;
1824
+ var uncurryThis = functionUncurryThis;
1743
1825
  var toString = toString$3;
1744
1826
  var trim = stringTrim.trim;
1745
1827
  var whitespaces$1 = whitespaces$4;
1746
1828
 
1747
- var charAt = uncurryThis$1(''.charAt);
1829
+ var charAt = uncurryThis(''.charAt);
1748
1830
  var $parseFloat$1 = global$1.parseFloat;
1749
1831
  var Symbol$1 = global$1.Symbol;
1750
1832
  var ITERATOR = Symbol$1 && Symbol$1.iterator;
1751
1833
  var FORCED = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity
1752
1834
  // MS Edge 18- broken with boxed symbols
1753
- || (ITERATOR && !fails$2(function () { $parseFloat$1(Object(ITERATOR)); }));
1835
+ || (ITERATOR && !fails$1(function () { $parseFloat$1(Object(ITERATOR)); }));
1754
1836
 
1755
1837
  // `parseFloat` method
1756
1838
  // https://tc39.es/ecma262/#sec-parsefloat-string
@@ -1760,17 +1842,17 @@ var numberParseFloat = FORCED ? function parseFloat(string) {
1760
1842
  return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
1761
1843
  } : $parseFloat$1;
1762
1844
 
1763
- var $$2 = _export;
1845
+ var $$1 = _export;
1764
1846
  var $parseFloat = numberParseFloat;
1765
1847
 
1766
1848
  // `parseFloat` method
1767
1849
  // https://tc39.es/ecma262/#sec-parsefloat-string
1768
- $$2({ global: true, forced: parseFloat != $parseFloat }, {
1850
+ $$1({ global: true, forced: parseFloat != $parseFloat }, {
1769
1851
  parseFloat: $parseFloat
1770
1852
  });
1771
1853
 
1772
1854
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1773
- var fails$1 = fails$e;
1855
+ var fails = fails$e;
1774
1856
  var whitespaces = whitespaces$4;
1775
1857
 
1776
1858
  var non = '\u200B\u0085\u180E';
@@ -1778,20 +1860,20 @@ var non = '\u200B\u0085\u180E';
1778
1860
  // check that a method works with the correct list
1779
1861
  // of whitespaces and has a correct name
1780
1862
  var stringTrimForced = function (METHOD_NAME) {
1781
- return fails$1(function () {
1863
+ return fails(function () {
1782
1864
  return !!whitespaces[METHOD_NAME]()
1783
1865
  || non[METHOD_NAME]() !== non
1784
1866
  || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
1785
1867
  });
1786
1868
  };
1787
1869
 
1788
- var $$1 = _export;
1870
+ var $ = _export;
1789
1871
  var $trim = stringTrim.trim;
1790
1872
  var forcedStringTrimMethod = stringTrimForced;
1791
1873
 
1792
1874
  // `String.prototype.trim` method
1793
1875
  // https://tc39.es/ecma262/#sec-string.prototype.trim
1794
- $$1({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
1876
+ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
1795
1877
  trim: function trim() {
1796
1878
  return $trim(this);
1797
1879
  }
@@ -1966,73 +2048,6 @@ const RestRuntime = {
1966
2048
 
1967
2049
  };
1968
2050
 
1969
- var DESCRIPTORS = descriptors;
1970
- var uncurryThis = functionUncurryThis;
1971
- var call = functionCall;
1972
- var fails = fails$e;
1973
- var objectKeys = objectKeys$2;
1974
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1975
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1976
- var toObject = toObject$3;
1977
- var IndexedObject = indexedObject;
1978
-
1979
- // eslint-disable-next-line es/no-object-assign -- safe
1980
- var $assign = Object.assign;
1981
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1982
- var defineProperty = Object.defineProperty;
1983
- var concat = uncurryThis([].concat);
1984
-
1985
- // `Object.assign` method
1986
- // https://tc39.es/ecma262/#sec-object.assign
1987
- var objectAssign = !$assign || fails(function () {
1988
- // should have correct order of operations (Edge bug)
1989
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1990
- enumerable: true,
1991
- get: function () {
1992
- defineProperty(this, 'b', {
1993
- value: 3,
1994
- enumerable: false
1995
- });
1996
- }
1997
- }), { b: 2 })).b !== 1) return true;
1998
- // should work with symbols and should have deterministic property order (V8 bug)
1999
- var A = {};
2000
- var B = {};
2001
- // eslint-disable-next-line es/no-symbol -- safe
2002
- var symbol = Symbol();
2003
- var alphabet = 'abcdefghijklmnopqrst';
2004
- A[symbol] = 7;
2005
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
2006
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
2007
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
2008
- var T = toObject(target);
2009
- var argumentsLength = arguments.length;
2010
- var index = 1;
2011
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
2012
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
2013
- while (argumentsLength > index) {
2014
- var S = IndexedObject(arguments[index++]);
2015
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
2016
- var length = keys.length;
2017
- var j = 0;
2018
- var key;
2019
- while (length > j) {
2020
- key = keys[j++];
2021
- if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
2022
- }
2023
- } return T;
2024
- } : $assign;
2025
-
2026
- var $ = _export;
2027
- var assign = objectAssign;
2028
-
2029
- // `Object.assign` method
2030
- // https://tc39.es/ecma262/#sec-object.assign
2031
- // eslint-disable-next-line es/no-object-assign -- required for testing
2032
- $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
2033
- assign: assign
2034
- });
2035
-
2036
2051
  const ToastRuntime = {
2037
2052
  addToast(toast) {
2038
2053
  var _a, _b;
@@ -2074,4 +2089,4 @@ const UserSubscriptionRuntime = {
2074
2089
  })
2075
2090
  };
2076
2091
 
2077
- export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };
2092
+ export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, getHostConnector, setupHostConnector };