@ninetailed/experience.js-next 6.4.0-beta.9 → 7.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +10 -1093
- package/index.js +0 -1083
- package/package.json +5 -5
package/index.cjs
CHANGED
|
@@ -10,1089 +10,6 @@ var react = require('react');
|
|
|
10
10
|
var router = require('next/router');
|
|
11
11
|
var experience_jsShared = require('@ninetailed/experience.js-shared');
|
|
12
12
|
|
|
13
|
-
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
14
|
-
|
|
15
|
-
var check = function (it) {
|
|
16
|
-
return it && it.Math == Math && it;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
20
|
-
var global$a =
|
|
21
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
22
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
23
|
-
check(typeof window == 'object' && window) ||
|
|
24
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
25
|
-
check(typeof self == 'object' && self) ||
|
|
26
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
27
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
28
|
-
(function () { return this; })() || Function('return this')();
|
|
29
|
-
|
|
30
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
31
|
-
|
|
32
|
-
var fails$9 = function (exec) {
|
|
33
|
-
try {
|
|
34
|
-
return !!exec();
|
|
35
|
-
} catch (error) {
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
var fails$8 = fails$9;
|
|
41
|
-
|
|
42
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
43
|
-
var descriptors = !fails$8(function () {
|
|
44
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
45
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
var fails$7 = fails$9;
|
|
49
|
-
|
|
50
|
-
var functionBindNative = !fails$7(function () {
|
|
51
|
-
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
52
|
-
var test = (function () { /* empty */ }).bind();
|
|
53
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
54
|
-
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
var NATIVE_BIND$1 = functionBindNative;
|
|
58
|
-
|
|
59
|
-
var call$5 = Function.prototype.call;
|
|
60
|
-
|
|
61
|
-
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
|
62
|
-
return call$5.apply(call$5, arguments);
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
var objectPropertyIsEnumerable = {};
|
|
66
|
-
|
|
67
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
68
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
69
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
70
|
-
|
|
71
|
-
// Nashorn ~ JDK8 bug
|
|
72
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
73
|
-
|
|
74
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
75
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
76
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
77
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
78
|
-
return !!descriptor && descriptor.enumerable;
|
|
79
|
-
} : $propertyIsEnumerable;
|
|
80
|
-
|
|
81
|
-
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
82
|
-
return {
|
|
83
|
-
enumerable: !(bitmap & 1),
|
|
84
|
-
configurable: !(bitmap & 2),
|
|
85
|
-
writable: !(bitmap & 4),
|
|
86
|
-
value: value
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
var NATIVE_BIND = functionBindNative;
|
|
91
|
-
|
|
92
|
-
var FunctionPrototype$1 = Function.prototype;
|
|
93
|
-
var call$4 = FunctionPrototype$1.call;
|
|
94
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
|
|
95
|
-
|
|
96
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
97
|
-
return function () {
|
|
98
|
-
return call$4.apply(fn, arguments);
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
103
|
-
|
|
104
|
-
var toString$1 = uncurryThis$8({}.toString);
|
|
105
|
-
var stringSlice = uncurryThis$8(''.slice);
|
|
106
|
-
|
|
107
|
-
var classofRaw = function (it) {
|
|
108
|
-
return stringSlice(toString$1(it), 8, -1);
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
112
|
-
var fails$6 = fails$9;
|
|
113
|
-
var classof = classofRaw;
|
|
114
|
-
|
|
115
|
-
var $Object$2 = Object;
|
|
116
|
-
var split = uncurryThis$7(''.split);
|
|
117
|
-
|
|
118
|
-
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
119
|
-
var indexedObject = fails$6(function () {
|
|
120
|
-
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
121
|
-
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
122
|
-
return !$Object$2('z').propertyIsEnumerable(0);
|
|
123
|
-
}) ? function (it) {
|
|
124
|
-
return classof(it) == 'String' ? split(it, '') : $Object$2(it);
|
|
125
|
-
} : $Object$2;
|
|
126
|
-
|
|
127
|
-
// we can't use just `it == null` since of `document.all` special case
|
|
128
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
129
|
-
var isNullOrUndefined$2 = function (it) {
|
|
130
|
-
return it === null || it === undefined;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
134
|
-
|
|
135
|
-
var $TypeError$5 = TypeError;
|
|
136
|
-
|
|
137
|
-
// `RequireObjectCoercible` abstract operation
|
|
138
|
-
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
139
|
-
var requireObjectCoercible$2 = function (it) {
|
|
140
|
-
if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
|
|
141
|
-
return it;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
// toObject with fallback for non-array-like ES3 strings
|
|
145
|
-
var IndexedObject$1 = indexedObject;
|
|
146
|
-
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
147
|
-
|
|
148
|
-
var toIndexedObject$3 = function (it) {
|
|
149
|
-
return IndexedObject$1(requireObjectCoercible$1(it));
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
153
|
-
|
|
154
|
-
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
155
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
156
|
-
|
|
157
|
-
var documentAll_1 = {
|
|
158
|
-
all: documentAll$2,
|
|
159
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
var $documentAll$1 = documentAll_1;
|
|
163
|
-
|
|
164
|
-
var documentAll$1 = $documentAll$1.all;
|
|
165
|
-
|
|
166
|
-
// `IsCallable` abstract operation
|
|
167
|
-
// https://tc39.es/ecma262/#sec-iscallable
|
|
168
|
-
var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
169
|
-
return typeof argument == 'function' || argument === documentAll$1;
|
|
170
|
-
} : function (argument) {
|
|
171
|
-
return typeof argument == 'function';
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
var isCallable$9 = isCallable$a;
|
|
175
|
-
var $documentAll = documentAll_1;
|
|
176
|
-
|
|
177
|
-
var documentAll = $documentAll.all;
|
|
178
|
-
|
|
179
|
-
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
180
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
|
|
181
|
-
} : function (it) {
|
|
182
|
-
return typeof it == 'object' ? it !== null : isCallable$9(it);
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
var global$9 = global$a;
|
|
186
|
-
var isCallable$8 = isCallable$a;
|
|
187
|
-
|
|
188
|
-
var aFunction = function (argument) {
|
|
189
|
-
return isCallable$8(argument) ? argument : undefined;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
var getBuiltIn$3 = function (namespace, method) {
|
|
193
|
-
return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
197
|
-
|
|
198
|
-
var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
|
|
199
|
-
|
|
200
|
-
var getBuiltIn$2 = getBuiltIn$3;
|
|
201
|
-
|
|
202
|
-
var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
|
|
203
|
-
|
|
204
|
-
var global$8 = global$a;
|
|
205
|
-
var userAgent = engineUserAgent;
|
|
206
|
-
|
|
207
|
-
var process = global$8.process;
|
|
208
|
-
var Deno = global$8.Deno;
|
|
209
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
210
|
-
var v8 = versions && versions.v8;
|
|
211
|
-
var match, version;
|
|
212
|
-
|
|
213
|
-
if (v8) {
|
|
214
|
-
match = v8.split('.');
|
|
215
|
-
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
216
|
-
// but their correct versions are not interesting for us
|
|
217
|
-
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
221
|
-
// so check `userAgent` even if `.v8` exists, but 0
|
|
222
|
-
if (!version && userAgent) {
|
|
223
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
224
|
-
if (!match || match[1] >= 74) {
|
|
225
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
226
|
-
if (match) version = +match[1];
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
var engineV8Version = version;
|
|
231
|
-
|
|
232
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
233
|
-
|
|
234
|
-
var V8_VERSION = engineV8Version;
|
|
235
|
-
var fails$5 = fails$9;
|
|
236
|
-
|
|
237
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
238
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
|
239
|
-
var symbol = Symbol();
|
|
240
|
-
// Chrome 38 Symbol has incorrect toString conversion
|
|
241
|
-
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
242
|
-
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
243
|
-
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
244
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
245
|
-
});
|
|
246
|
-
|
|
247
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
248
|
-
|
|
249
|
-
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
250
|
-
|
|
251
|
-
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
252
|
-
&& !Symbol.sham
|
|
253
|
-
&& typeof Symbol.iterator == 'symbol';
|
|
254
|
-
|
|
255
|
-
var getBuiltIn$1 = getBuiltIn$3;
|
|
256
|
-
var isCallable$7 = isCallable$a;
|
|
257
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
258
|
-
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
259
|
-
|
|
260
|
-
var $Object$1 = Object;
|
|
261
|
-
|
|
262
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
263
|
-
return typeof it == 'symbol';
|
|
264
|
-
} : function (it) {
|
|
265
|
-
var $Symbol = getBuiltIn$1('Symbol');
|
|
266
|
-
return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, $Object$1(it));
|
|
267
|
-
};
|
|
268
|
-
|
|
269
|
-
var $String$1 = String;
|
|
270
|
-
|
|
271
|
-
var tryToString$1 = function (argument) {
|
|
272
|
-
try {
|
|
273
|
-
return $String$1(argument);
|
|
274
|
-
} catch (error) {
|
|
275
|
-
return 'Object';
|
|
276
|
-
}
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
var isCallable$6 = isCallable$a;
|
|
280
|
-
var tryToString = tryToString$1;
|
|
281
|
-
|
|
282
|
-
var $TypeError$4 = TypeError;
|
|
283
|
-
|
|
284
|
-
// `Assert: IsCallable(argument) is true`
|
|
285
|
-
var aCallable$1 = function (argument) {
|
|
286
|
-
if (isCallable$6(argument)) return argument;
|
|
287
|
-
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
288
|
-
};
|
|
289
|
-
|
|
290
|
-
var aCallable = aCallable$1;
|
|
291
|
-
var isNullOrUndefined = isNullOrUndefined$2;
|
|
292
|
-
|
|
293
|
-
// `GetMethod` abstract operation
|
|
294
|
-
// https://tc39.es/ecma262/#sec-getmethod
|
|
295
|
-
var getMethod$1 = function (V, P) {
|
|
296
|
-
var func = V[P];
|
|
297
|
-
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
var call$3 = functionCall;
|
|
301
|
-
var isCallable$5 = isCallable$a;
|
|
302
|
-
var isObject$4 = isObject$5;
|
|
303
|
-
|
|
304
|
-
var $TypeError$3 = TypeError;
|
|
305
|
-
|
|
306
|
-
// `OrdinaryToPrimitive` abstract operation
|
|
307
|
-
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
308
|
-
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
309
|
-
var fn, val;
|
|
310
|
-
if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
|
311
|
-
if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
|
|
312
|
-
if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
|
|
313
|
-
throw $TypeError$3("Can't convert object to primitive value");
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
var shared$3 = {exports: {}};
|
|
317
|
-
|
|
318
|
-
var global$7 = global$a;
|
|
319
|
-
|
|
320
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
321
|
-
var defineProperty$2 = Object.defineProperty;
|
|
322
|
-
|
|
323
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
324
|
-
try {
|
|
325
|
-
defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
|
|
326
|
-
} catch (error) {
|
|
327
|
-
global$7[key] = value;
|
|
328
|
-
} return value;
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
var global$6 = global$a;
|
|
332
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
333
|
-
|
|
334
|
-
var SHARED = '__core-js_shared__';
|
|
335
|
-
var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
336
|
-
|
|
337
|
-
var sharedStore = store$3;
|
|
338
|
-
|
|
339
|
-
var store$2 = sharedStore;
|
|
340
|
-
|
|
341
|
-
(shared$3.exports = function (key, value) {
|
|
342
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
343
|
-
})('versions', []).push({
|
|
344
|
-
version: '3.26.1',
|
|
345
|
-
mode: 'global',
|
|
346
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
347
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE',
|
|
348
|
-
source: 'https://github.com/zloirock/core-js'
|
|
349
|
-
});
|
|
350
|
-
|
|
351
|
-
var requireObjectCoercible = requireObjectCoercible$2;
|
|
352
|
-
|
|
353
|
-
var $Object = Object;
|
|
354
|
-
|
|
355
|
-
// `ToObject` abstract operation
|
|
356
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
357
|
-
var toObject$2 = function (argument) {
|
|
358
|
-
return $Object(requireObjectCoercible(argument));
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
362
|
-
var toObject$1 = toObject$2;
|
|
363
|
-
|
|
364
|
-
var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
|
|
365
|
-
|
|
366
|
-
// `HasOwnProperty` abstract operation
|
|
367
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
368
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
369
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
370
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
371
|
-
};
|
|
372
|
-
|
|
373
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
374
|
-
|
|
375
|
-
var id = 0;
|
|
376
|
-
var postfix = Math.random();
|
|
377
|
-
var toString = uncurryThis$4(1.0.toString);
|
|
378
|
-
|
|
379
|
-
var uid$2 = function (key) {
|
|
380
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
381
|
-
};
|
|
382
|
-
|
|
383
|
-
var global$5 = global$a;
|
|
384
|
-
var shared$2 = shared$3.exports;
|
|
385
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
386
|
-
var uid$1 = uid$2;
|
|
387
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
388
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
389
|
-
|
|
390
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
391
|
-
var Symbol$1 = global$5.Symbol;
|
|
392
|
-
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
393
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
394
|
-
|
|
395
|
-
var wellKnownSymbol$1 = function (name) {
|
|
396
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
397
|
-
var description = 'Symbol.' + name;
|
|
398
|
-
if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
|
399
|
-
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
400
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
401
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
402
|
-
} else {
|
|
403
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
404
|
-
}
|
|
405
|
-
} return WellKnownSymbolsStore[name];
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
var call$2 = functionCall;
|
|
409
|
-
var isObject$3 = isObject$5;
|
|
410
|
-
var isSymbol$1 = isSymbol$2;
|
|
411
|
-
var getMethod = getMethod$1;
|
|
412
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
413
|
-
var wellKnownSymbol = wellKnownSymbol$1;
|
|
414
|
-
|
|
415
|
-
var $TypeError$2 = TypeError;
|
|
416
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
417
|
-
|
|
418
|
-
// `ToPrimitive` abstract operation
|
|
419
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
420
|
-
var toPrimitive$1 = function (input, pref) {
|
|
421
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
422
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
423
|
-
var result;
|
|
424
|
-
if (exoticToPrim) {
|
|
425
|
-
if (pref === undefined) pref = 'default';
|
|
426
|
-
result = call$2(exoticToPrim, input, pref);
|
|
427
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
428
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
429
|
-
}
|
|
430
|
-
if (pref === undefined) pref = 'number';
|
|
431
|
-
return ordinaryToPrimitive(input, pref);
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
var toPrimitive = toPrimitive$1;
|
|
435
|
-
var isSymbol = isSymbol$2;
|
|
436
|
-
|
|
437
|
-
// `ToPropertyKey` abstract operation
|
|
438
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
439
|
-
var toPropertyKey$2 = function (argument) {
|
|
440
|
-
var key = toPrimitive(argument, 'string');
|
|
441
|
-
return isSymbol(key) ? key : key + '';
|
|
442
|
-
};
|
|
443
|
-
|
|
444
|
-
var global$4 = global$a;
|
|
445
|
-
var isObject$2 = isObject$5;
|
|
446
|
-
|
|
447
|
-
var document$1 = global$4.document;
|
|
448
|
-
// typeof document.createElement is 'object' in old IE
|
|
449
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
450
|
-
|
|
451
|
-
var documentCreateElement = function (it) {
|
|
452
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
453
|
-
};
|
|
454
|
-
|
|
455
|
-
var DESCRIPTORS$7 = descriptors;
|
|
456
|
-
var fails$4 = fails$9;
|
|
457
|
-
var createElement = documentCreateElement;
|
|
458
|
-
|
|
459
|
-
// Thanks to IE8 for its funny defineProperty
|
|
460
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$4(function () {
|
|
461
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
462
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
463
|
-
get: function () { return 7; }
|
|
464
|
-
}).a != 7;
|
|
465
|
-
});
|
|
466
|
-
|
|
467
|
-
var DESCRIPTORS$6 = descriptors;
|
|
468
|
-
var call$1 = functionCall;
|
|
469
|
-
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
470
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
471
|
-
var toIndexedObject$2 = toIndexedObject$3;
|
|
472
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
473
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
474
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
475
|
-
|
|
476
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
477
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
478
|
-
|
|
479
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
480
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
481
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
482
|
-
O = toIndexedObject$2(O);
|
|
483
|
-
P = toPropertyKey$1(P);
|
|
484
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
485
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
486
|
-
} catch (error) { /* empty */ }
|
|
487
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
488
|
-
};
|
|
489
|
-
|
|
490
|
-
var objectDefineProperty = {};
|
|
491
|
-
|
|
492
|
-
var DESCRIPTORS$5 = descriptors;
|
|
493
|
-
var fails$3 = fails$9;
|
|
494
|
-
|
|
495
|
-
// V8 ~ Chrome 36-
|
|
496
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
497
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
|
498
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
499
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
500
|
-
value: 42,
|
|
501
|
-
writable: false
|
|
502
|
-
}).prototype != 42;
|
|
503
|
-
});
|
|
504
|
-
|
|
505
|
-
var isObject$1 = isObject$5;
|
|
506
|
-
|
|
507
|
-
var $String = String;
|
|
508
|
-
var $TypeError$1 = TypeError;
|
|
509
|
-
|
|
510
|
-
// `Assert: Type(argument) is Object`
|
|
511
|
-
var anObject$2 = function (argument) {
|
|
512
|
-
if (isObject$1(argument)) return argument;
|
|
513
|
-
throw $TypeError$1($String(argument) + ' is not an object');
|
|
514
|
-
};
|
|
515
|
-
|
|
516
|
-
var DESCRIPTORS$4 = descriptors;
|
|
517
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
518
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
519
|
-
var anObject$1 = anObject$2;
|
|
520
|
-
var toPropertyKey = toPropertyKey$2;
|
|
521
|
-
|
|
522
|
-
var $TypeError = TypeError;
|
|
523
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
524
|
-
var $defineProperty = Object.defineProperty;
|
|
525
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
526
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
527
|
-
var ENUMERABLE = 'enumerable';
|
|
528
|
-
var CONFIGURABLE$1 = 'configurable';
|
|
529
|
-
var WRITABLE = 'writable';
|
|
530
|
-
|
|
531
|
-
// `Object.defineProperty` method
|
|
532
|
-
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
533
|
-
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
534
|
-
anObject$1(O);
|
|
535
|
-
P = toPropertyKey(P);
|
|
536
|
-
anObject$1(Attributes);
|
|
537
|
-
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
538
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
539
|
-
if (current && current[WRITABLE]) {
|
|
540
|
-
O[P] = Attributes.value;
|
|
541
|
-
Attributes = {
|
|
542
|
-
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
543
|
-
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
544
|
-
writable: false
|
|
545
|
-
};
|
|
546
|
-
}
|
|
547
|
-
} return $defineProperty(O, P, Attributes);
|
|
548
|
-
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
549
|
-
anObject$1(O);
|
|
550
|
-
P = toPropertyKey(P);
|
|
551
|
-
anObject$1(Attributes);
|
|
552
|
-
if (IE8_DOM_DEFINE) try {
|
|
553
|
-
return $defineProperty(O, P, Attributes);
|
|
554
|
-
} catch (error) { /* empty */ }
|
|
555
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
556
|
-
if ('value' in Attributes) O[P] = Attributes.value;
|
|
557
|
-
return O;
|
|
558
|
-
};
|
|
559
|
-
|
|
560
|
-
var DESCRIPTORS$3 = descriptors;
|
|
561
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
562
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
563
|
-
|
|
564
|
-
var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
565
|
-
return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
|
|
566
|
-
} : function (object, key, value) {
|
|
567
|
-
object[key] = value;
|
|
568
|
-
return object;
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
572
|
-
|
|
573
|
-
var DESCRIPTORS$2 = descriptors;
|
|
574
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
575
|
-
|
|
576
|
-
var FunctionPrototype = Function.prototype;
|
|
577
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
578
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
|
579
|
-
|
|
580
|
-
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
581
|
-
// additional protection from minified / mangled / dropped function names
|
|
582
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
583
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
584
|
-
|
|
585
|
-
var functionName = {
|
|
586
|
-
EXISTS: EXISTS,
|
|
587
|
-
PROPER: PROPER,
|
|
588
|
-
CONFIGURABLE: CONFIGURABLE
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
var uncurryThis$3 = functionUncurryThis;
|
|
592
|
-
var isCallable$4 = isCallable$a;
|
|
593
|
-
var store$1 = sharedStore;
|
|
594
|
-
|
|
595
|
-
var functionToString = uncurryThis$3(Function.toString);
|
|
596
|
-
|
|
597
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
598
|
-
if (!isCallable$4(store$1.inspectSource)) {
|
|
599
|
-
store$1.inspectSource = function (it) {
|
|
600
|
-
return functionToString(it);
|
|
601
|
-
};
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
var inspectSource$1 = store$1.inspectSource;
|
|
605
|
-
|
|
606
|
-
var global$3 = global$a;
|
|
607
|
-
var isCallable$3 = isCallable$a;
|
|
608
|
-
|
|
609
|
-
var WeakMap$1 = global$3.WeakMap;
|
|
610
|
-
|
|
611
|
-
var weakMapBasicDetection = isCallable$3(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
612
|
-
|
|
613
|
-
var shared$1 = shared$3.exports;
|
|
614
|
-
var uid = uid$2;
|
|
615
|
-
|
|
616
|
-
var keys = shared$1('keys');
|
|
617
|
-
|
|
618
|
-
var sharedKey$1 = function (key) {
|
|
619
|
-
return keys[key] || (keys[key] = uid(key));
|
|
620
|
-
};
|
|
621
|
-
|
|
622
|
-
var hiddenKeys$3 = {};
|
|
623
|
-
|
|
624
|
-
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
625
|
-
var global$2 = global$a;
|
|
626
|
-
var isObject = isObject$5;
|
|
627
|
-
var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
|
|
628
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
629
|
-
var shared = sharedStore;
|
|
630
|
-
var sharedKey = sharedKey$1;
|
|
631
|
-
var hiddenKeys$2 = hiddenKeys$3;
|
|
632
|
-
|
|
633
|
-
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
634
|
-
var TypeError$1 = global$2.TypeError;
|
|
635
|
-
var WeakMap = global$2.WeakMap;
|
|
636
|
-
var set, get, has;
|
|
637
|
-
|
|
638
|
-
var enforce = function (it) {
|
|
639
|
-
return has(it) ? get(it) : set(it, {});
|
|
640
|
-
};
|
|
641
|
-
|
|
642
|
-
var getterFor = function (TYPE) {
|
|
643
|
-
return function (it) {
|
|
644
|
-
var state;
|
|
645
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
646
|
-
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
647
|
-
} return state;
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
|
652
|
-
var store = shared.state || (shared.state = new WeakMap());
|
|
653
|
-
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
654
|
-
store.get = store.get;
|
|
655
|
-
store.has = store.has;
|
|
656
|
-
store.set = store.set;
|
|
657
|
-
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
658
|
-
set = function (it, metadata) {
|
|
659
|
-
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
660
|
-
metadata.facade = it;
|
|
661
|
-
store.set(it, metadata);
|
|
662
|
-
return metadata;
|
|
663
|
-
};
|
|
664
|
-
get = function (it) {
|
|
665
|
-
return store.get(it) || {};
|
|
666
|
-
};
|
|
667
|
-
has = function (it) {
|
|
668
|
-
return store.has(it);
|
|
669
|
-
};
|
|
670
|
-
} else {
|
|
671
|
-
var STATE = sharedKey('state');
|
|
672
|
-
hiddenKeys$2[STATE] = true;
|
|
673
|
-
set = function (it, metadata) {
|
|
674
|
-
if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
675
|
-
metadata.facade = it;
|
|
676
|
-
createNonEnumerableProperty$1(it, STATE, metadata);
|
|
677
|
-
return metadata;
|
|
678
|
-
};
|
|
679
|
-
get = function (it) {
|
|
680
|
-
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
681
|
-
};
|
|
682
|
-
has = function (it) {
|
|
683
|
-
return hasOwn$3(it, STATE);
|
|
684
|
-
};
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
var internalState = {
|
|
688
|
-
set: set,
|
|
689
|
-
get: get,
|
|
690
|
-
has: has,
|
|
691
|
-
enforce: enforce,
|
|
692
|
-
getterFor: getterFor
|
|
693
|
-
};
|
|
694
|
-
|
|
695
|
-
var fails$2 = fails$9;
|
|
696
|
-
var isCallable$2 = isCallable$a;
|
|
697
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
698
|
-
var DESCRIPTORS$1 = descriptors;
|
|
699
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
700
|
-
var inspectSource = inspectSource$1;
|
|
701
|
-
var InternalStateModule = internalState;
|
|
702
|
-
|
|
703
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
704
|
-
var getInternalState = InternalStateModule.get;
|
|
705
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
706
|
-
var defineProperty$1 = Object.defineProperty;
|
|
707
|
-
|
|
708
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$2(function () {
|
|
709
|
-
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
710
|
-
});
|
|
711
|
-
|
|
712
|
-
var TEMPLATE = String(String).split('String');
|
|
713
|
-
|
|
714
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
715
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
716
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
717
|
-
}
|
|
718
|
-
if (options && options.getter) name = 'get ' + name;
|
|
719
|
-
if (options && options.setter) name = 'set ' + name;
|
|
720
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
721
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
|
|
722
|
-
else value.name = name;
|
|
723
|
-
}
|
|
724
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
725
|
-
defineProperty$1(value, 'length', { value: options.arity });
|
|
726
|
-
}
|
|
727
|
-
try {
|
|
728
|
-
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
729
|
-
if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
|
|
730
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
731
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
732
|
-
} catch (error) { /* empty */ }
|
|
733
|
-
var state = enforceInternalState(value);
|
|
734
|
-
if (!hasOwn$2(state, 'source')) {
|
|
735
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
736
|
-
} return value;
|
|
737
|
-
};
|
|
738
|
-
|
|
739
|
-
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
740
|
-
// eslint-disable-next-line no-extend-native -- required
|
|
741
|
-
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
742
|
-
return isCallable$2(this) && getInternalState(this).source || inspectSource(this);
|
|
743
|
-
}, 'toString');
|
|
744
|
-
|
|
745
|
-
var isCallable$1 = isCallable$a;
|
|
746
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
747
|
-
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
748
|
-
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
749
|
-
|
|
750
|
-
var defineBuiltIn$1 = function (O, key, value, options) {
|
|
751
|
-
if (!options) options = {};
|
|
752
|
-
var simple = options.enumerable;
|
|
753
|
-
var name = options.name !== undefined ? options.name : key;
|
|
754
|
-
if (isCallable$1(value)) makeBuiltIn(value, name, options);
|
|
755
|
-
if (options.global) {
|
|
756
|
-
if (simple) O[key] = value;
|
|
757
|
-
else defineGlobalProperty$1(key, value);
|
|
758
|
-
} else {
|
|
759
|
-
try {
|
|
760
|
-
if (!options.unsafe) delete O[key];
|
|
761
|
-
else if (O[key]) simple = true;
|
|
762
|
-
} catch (error) { /* empty */ }
|
|
763
|
-
if (simple) O[key] = value;
|
|
764
|
-
else definePropertyModule$1.f(O, key, {
|
|
765
|
-
value: value,
|
|
766
|
-
enumerable: false,
|
|
767
|
-
configurable: !options.nonConfigurable,
|
|
768
|
-
writable: !options.nonWritable
|
|
769
|
-
});
|
|
770
|
-
} return O;
|
|
771
|
-
};
|
|
772
|
-
|
|
773
|
-
var objectGetOwnPropertyNames = {};
|
|
774
|
-
|
|
775
|
-
var ceil = Math.ceil;
|
|
776
|
-
var floor = Math.floor;
|
|
777
|
-
|
|
778
|
-
// `Math.trunc` method
|
|
779
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
780
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
781
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
782
|
-
var n = +x;
|
|
783
|
-
return (n > 0 ? floor : ceil)(n);
|
|
784
|
-
};
|
|
785
|
-
|
|
786
|
-
var trunc = mathTrunc;
|
|
787
|
-
|
|
788
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
789
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
790
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
791
|
-
var number = +argument;
|
|
792
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
793
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
794
|
-
};
|
|
795
|
-
|
|
796
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
797
|
-
|
|
798
|
-
var max = Math.max;
|
|
799
|
-
var min$1 = Math.min;
|
|
800
|
-
|
|
801
|
-
// Helper for a popular repeating case of the spec:
|
|
802
|
-
// Let integer be ? ToInteger(index).
|
|
803
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
804
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
805
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
806
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
807
|
-
};
|
|
808
|
-
|
|
809
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
810
|
-
|
|
811
|
-
var min = Math.min;
|
|
812
|
-
|
|
813
|
-
// `ToLength` abstract operation
|
|
814
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
815
|
-
var toLength$1 = function (argument) {
|
|
816
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
817
|
-
};
|
|
818
|
-
|
|
819
|
-
var toLength = toLength$1;
|
|
820
|
-
|
|
821
|
-
// `LengthOfArrayLike` abstract operation
|
|
822
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
823
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
824
|
-
return toLength(obj.length);
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
|
828
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
829
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
830
|
-
|
|
831
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
832
|
-
var createMethod = function (IS_INCLUDES) {
|
|
833
|
-
return function ($this, el, fromIndex) {
|
|
834
|
-
var O = toIndexedObject$1($this);
|
|
835
|
-
var length = lengthOfArrayLike(O);
|
|
836
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
837
|
-
var value;
|
|
838
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
839
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
840
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
|
841
|
-
value = O[index++];
|
|
842
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
843
|
-
if (value != value) return true;
|
|
844
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
845
|
-
} else for (;length > index; index++) {
|
|
846
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
847
|
-
} return !IS_INCLUDES && -1;
|
|
848
|
-
};
|
|
849
|
-
};
|
|
850
|
-
|
|
851
|
-
var arrayIncludes = {
|
|
852
|
-
// `Array.prototype.includes` method
|
|
853
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
854
|
-
includes: createMethod(true),
|
|
855
|
-
// `Array.prototype.indexOf` method
|
|
856
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
857
|
-
indexOf: createMethod(false)
|
|
858
|
-
};
|
|
859
|
-
|
|
860
|
-
var uncurryThis$2 = functionUncurryThis;
|
|
861
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
862
|
-
var toIndexedObject = toIndexedObject$3;
|
|
863
|
-
var indexOf = arrayIncludes.indexOf;
|
|
864
|
-
var hiddenKeys$1 = hiddenKeys$3;
|
|
865
|
-
|
|
866
|
-
var push = uncurryThis$2([].push);
|
|
867
|
-
|
|
868
|
-
var objectKeysInternal = function (object, names) {
|
|
869
|
-
var O = toIndexedObject(object);
|
|
870
|
-
var i = 0;
|
|
871
|
-
var result = [];
|
|
872
|
-
var key;
|
|
873
|
-
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
|
874
|
-
// Don't enum bug & hidden keys
|
|
875
|
-
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
876
|
-
~indexOf(result, key) || push(result, key);
|
|
877
|
-
}
|
|
878
|
-
return result;
|
|
879
|
-
};
|
|
880
|
-
|
|
881
|
-
// IE8- don't enum bug keys
|
|
882
|
-
var enumBugKeys$2 = [
|
|
883
|
-
'constructor',
|
|
884
|
-
'hasOwnProperty',
|
|
885
|
-
'isPrototypeOf',
|
|
886
|
-
'propertyIsEnumerable',
|
|
887
|
-
'toLocaleString',
|
|
888
|
-
'toString',
|
|
889
|
-
'valueOf'
|
|
890
|
-
];
|
|
891
|
-
|
|
892
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
893
|
-
var enumBugKeys$1 = enumBugKeys$2;
|
|
894
|
-
|
|
895
|
-
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
|
896
|
-
|
|
897
|
-
// `Object.getOwnPropertyNames` method
|
|
898
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
899
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
900
|
-
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
901
|
-
return internalObjectKeys$1(O, hiddenKeys);
|
|
902
|
-
};
|
|
903
|
-
|
|
904
|
-
var objectGetOwnPropertySymbols = {};
|
|
905
|
-
|
|
906
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
907
|
-
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
908
|
-
|
|
909
|
-
var getBuiltIn = getBuiltIn$3;
|
|
910
|
-
var uncurryThis$1 = functionUncurryThis;
|
|
911
|
-
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
912
|
-
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
913
|
-
var anObject = anObject$2;
|
|
914
|
-
|
|
915
|
-
var concat$1 = uncurryThis$1([].concat);
|
|
916
|
-
|
|
917
|
-
// all object keys, includes non-enumerable and symbols
|
|
918
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
919
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
920
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
921
|
-
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
922
|
-
};
|
|
923
|
-
|
|
924
|
-
var hasOwn = hasOwnProperty_1;
|
|
925
|
-
var ownKeys = ownKeys$1;
|
|
926
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
927
|
-
var definePropertyModule = objectDefineProperty;
|
|
928
|
-
|
|
929
|
-
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
930
|
-
var keys = ownKeys(source);
|
|
931
|
-
var defineProperty = definePropertyModule.f;
|
|
932
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
933
|
-
for (var i = 0; i < keys.length; i++) {
|
|
934
|
-
var key = keys[i];
|
|
935
|
-
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
936
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
};
|
|
940
|
-
|
|
941
|
-
var fails$1 = fails$9;
|
|
942
|
-
var isCallable = isCallable$a;
|
|
943
|
-
|
|
944
|
-
var replacement = /#|\.prototype\./;
|
|
945
|
-
|
|
946
|
-
var isForced$1 = function (feature, detection) {
|
|
947
|
-
var value = data[normalize(feature)];
|
|
948
|
-
return value == POLYFILL ? true
|
|
949
|
-
: value == NATIVE ? false
|
|
950
|
-
: isCallable(detection) ? fails$1(detection)
|
|
951
|
-
: !!detection;
|
|
952
|
-
};
|
|
953
|
-
|
|
954
|
-
var normalize = isForced$1.normalize = function (string) {
|
|
955
|
-
return String(string).replace(replacement, '.').toLowerCase();
|
|
956
|
-
};
|
|
957
|
-
|
|
958
|
-
var data = isForced$1.data = {};
|
|
959
|
-
var NATIVE = isForced$1.NATIVE = 'N';
|
|
960
|
-
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
961
|
-
|
|
962
|
-
var isForced_1 = isForced$1;
|
|
963
|
-
|
|
964
|
-
var global$1 = global$a;
|
|
965
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
966
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
967
|
-
var defineBuiltIn = defineBuiltIn$1;
|
|
968
|
-
var defineGlobalProperty = defineGlobalProperty$3;
|
|
969
|
-
var copyConstructorProperties = copyConstructorProperties$1;
|
|
970
|
-
var isForced = isForced_1;
|
|
971
|
-
|
|
972
|
-
/*
|
|
973
|
-
options.target - name of the target object
|
|
974
|
-
options.global - target is the global object
|
|
975
|
-
options.stat - export as static methods of target
|
|
976
|
-
options.proto - export as prototype methods of target
|
|
977
|
-
options.real - real prototype method for the `pure` version
|
|
978
|
-
options.forced - export even if the native feature is available
|
|
979
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
980
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
981
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
982
|
-
options.sham - add a flag to not completely full polyfills
|
|
983
|
-
options.enumerable - export as enumerable property
|
|
984
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
985
|
-
options.name - the .name of the function if it does not match the key
|
|
986
|
-
*/
|
|
987
|
-
var _export = function (options, source) {
|
|
988
|
-
var TARGET = options.target;
|
|
989
|
-
var GLOBAL = options.global;
|
|
990
|
-
var STATIC = options.stat;
|
|
991
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
992
|
-
if (GLOBAL) {
|
|
993
|
-
target = global$1;
|
|
994
|
-
} else if (STATIC) {
|
|
995
|
-
target = global$1[TARGET] || defineGlobalProperty(TARGET, {});
|
|
996
|
-
} else {
|
|
997
|
-
target = (global$1[TARGET] || {}).prototype;
|
|
998
|
-
}
|
|
999
|
-
if (target) for (key in source) {
|
|
1000
|
-
sourceProperty = source[key];
|
|
1001
|
-
if (options.dontCallGetSet) {
|
|
1002
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1003
|
-
targetProperty = descriptor && descriptor.value;
|
|
1004
|
-
} else targetProperty = target[key];
|
|
1005
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1006
|
-
// contained in target
|
|
1007
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
1008
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1009
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1010
|
-
}
|
|
1011
|
-
// add a flag to not completely full polyfills
|
|
1012
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1013
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1014
|
-
}
|
|
1015
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
|
|
1019
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1020
|
-
var enumBugKeys = enumBugKeys$2;
|
|
1021
|
-
|
|
1022
|
-
// `Object.keys` method
|
|
1023
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
1024
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1025
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1026
|
-
return internalObjectKeys(O, enumBugKeys);
|
|
1027
|
-
};
|
|
1028
|
-
|
|
1029
|
-
var DESCRIPTORS = descriptors;
|
|
1030
|
-
var uncurryThis = functionUncurryThis;
|
|
1031
|
-
var call = functionCall;
|
|
1032
|
-
var fails = fails$9;
|
|
1033
|
-
var objectKeys = objectKeys$1;
|
|
1034
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1035
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1036
|
-
var toObject = toObject$2;
|
|
1037
|
-
var IndexedObject = indexedObject;
|
|
1038
|
-
|
|
1039
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1040
|
-
var $assign = Object.assign;
|
|
1041
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1042
|
-
var defineProperty = Object.defineProperty;
|
|
1043
|
-
var concat = uncurryThis([].concat);
|
|
1044
|
-
|
|
1045
|
-
// `Object.assign` method
|
|
1046
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1047
|
-
var objectAssign = !$assign || fails(function () {
|
|
1048
|
-
// should have correct order of operations (Edge bug)
|
|
1049
|
-
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1050
|
-
enumerable: true,
|
|
1051
|
-
get: function () {
|
|
1052
|
-
defineProperty(this, 'b', {
|
|
1053
|
-
value: 3,
|
|
1054
|
-
enumerable: false
|
|
1055
|
-
});
|
|
1056
|
-
}
|
|
1057
|
-
}), { b: 2 })).b !== 1) return true;
|
|
1058
|
-
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1059
|
-
var A = {};
|
|
1060
|
-
var B = {};
|
|
1061
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
|
1062
|
-
var symbol = Symbol();
|
|
1063
|
-
var alphabet = 'abcdefghijklmnopqrst';
|
|
1064
|
-
A[symbol] = 7;
|
|
1065
|
-
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1066
|
-
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
|
1067
|
-
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1068
|
-
var T = toObject(target);
|
|
1069
|
-
var argumentsLength = arguments.length;
|
|
1070
|
-
var index = 1;
|
|
1071
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1072
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1073
|
-
while (argumentsLength > index) {
|
|
1074
|
-
var S = IndexedObject(arguments[index++]);
|
|
1075
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1076
|
-
var length = keys.length;
|
|
1077
|
-
var j = 0;
|
|
1078
|
-
var key;
|
|
1079
|
-
while (length > j) {
|
|
1080
|
-
key = keys[j++];
|
|
1081
|
-
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1082
|
-
}
|
|
1083
|
-
} return T;
|
|
1084
|
-
} : $assign;
|
|
1085
|
-
|
|
1086
|
-
var $ = _export;
|
|
1087
|
-
var assign = objectAssign;
|
|
1088
|
-
|
|
1089
|
-
// `Object.assign` method
|
|
1090
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1091
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1092
|
-
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1093
|
-
assign: assign
|
|
1094
|
-
});
|
|
1095
|
-
|
|
1096
13
|
/******************************************************************************
|
|
1097
14
|
Copyright (c) Microsoft Corporation.
|
|
1098
15
|
|
|
@@ -1167,19 +84,19 @@ const NinetailedProvider = _a => {
|
|
|
1167
84
|
};
|
|
1168
85
|
|
|
1169
86
|
Object.defineProperty(exports, 'decodeExperienceVariantsMap', {
|
|
1170
|
-
|
|
1171
|
-
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function () { return experience_js.decodeExperienceVariantsMap; }
|
|
1172
89
|
});
|
|
1173
90
|
exports.NinetailedProvider = NinetailedProvider;
|
|
1174
91
|
Object.keys(experience_jsReact).forEach(function (k) {
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
92
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return experience_jsReact[k]; }
|
|
95
|
+
});
|
|
1179
96
|
});
|
|
1180
97
|
Object.keys(experience_jsPluginSsr).forEach(function (k) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
98
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () { return experience_jsPluginSsr[k]; }
|
|
101
|
+
});
|
|
1185
102
|
});
|