@dereekb/date 12.7.0 → 13.0.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.esm.js CHANGED
@@ -1,2083 +1,22 @@
1
- import { MS_IN_HOUR, MS_IN_MINUTE, MINUTES_IN_DAY, isISO8601DateString, filterMaybeArrayValues, asArray, dayOfWeek, sortNumbersAscendingFunction, MS_IN_SECOND, SORT_VALUE_LESS_THAN, SORT_VALUE_GREATER_THAN, SORT_VALUE_EQUAL, copyArray, compareFnOrder, groupValues, daysOfWeekArray, MS_IN_DAY, minutesToFractionalHours, safeCompareEquality, DATE_NOW_VALUE, mapIdentityFunction, UTC_TIMEZONE_STRING, isSameNonNullValue, isConsideredUtcTimezoneString, cachedGetter, parseISO8601DayStringToUTCDate, replaceStringsFunction, repeatString, isEqualDate, startOfDayForUTCDateInUTC, sortAscendingIndexNumberRefFunction, range, pushArrayItemsIntoArray, sumOfIntegersBetween, makeValuesGroupMap, lastValue, asGetter, indexRangeCheckFunction, mergeFilterFunctions, isDate as isDate$2, HOURS_IN_DAY, getNextDay, enabledDaysFromDaysOfWeek, daysOfWeekFromEnabledDays, firstValueFromIterable, forEachInIterable, addToSet, iterablesAreSetEquivalent, invertFilter, HashSet, roundNumberUpToStep, protectedFactory, TimeAM, isLogicalDateStringCode as isLogicalDateStringCode$1, dateFromLogicalDate as dateFromLogicalDate$1, dateFromDateOrTimeMillisecondsNumber, flattenArray, splitJoinRemainder } from '@dereekb/util';
2
- export { dateFromDateOrTimeMillisecondsNumber, dateFromDateOrTimeNumber, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate } from '@dereekb/util';
3
- import { isDate as isDate$1, startOfMinute, isValid, parseISO, min as min$2, max as max$2, isAfter as isAfter$1, isBefore as isBefore$1, isEqual, isSameDay, isPast, addDays, set as set$1, differenceInDays, startOfMonth, endOfWeek, startOfWeek, endOfMonth, addHours, addMinutes, addMilliseconds, startOfDay, addMonths, addWeeks, endOfDay, endOfHour, startOfHour, endOfMinute, differenceInMinutes, millisecondsToHours, millisecondsToMinutes, differenceInHours, formatDistanceStrict, formatDistance, format as format$1, formatDistanceToNow, parse, getMinutes, getSeconds, getMilliseconds, differenceInMilliseconds, getWeek, getYear, setWeek, getDay, addSeconds } from 'date-fns';
1
+ import 'core-js/modules/es.iterator.constructor.js';
2
+ import 'core-js/modules/es.iterator.filter.js';
3
+ import 'core-js/modules/es.iterator.for-each.js';
4
+ import { MS_IN_HOUR, MS_IN_MINUTE, MINUTES_IN_DAY, isISO8601DateString, filterMaybeArrayValues, asArray, dayOfWeek, sortNumbersAscendingFunction, MS_IN_SECOND, SORT_VALUE_LESS_THAN, SORT_VALUE_GREATER_THAN, SORT_VALUE_EQUAL, copyArray, compareFnOrder, MS_IN_DAY, daysOfWeekArray, groupValues, minutesToFractionalHours, safeCompareEquality, DATE_NOW_VALUE, mapIdentityFunction, UTC_TIMEZONE_STRING, cachedGetter, parseISO8601DayStringToUTCDate, isSameNonNullValue, isConsideredUtcTimezoneString, replaceStringsFunction, repeatString, isEqualDate, startOfDayForUTCDateInUTC, range, pushArrayItemsIntoArray, sumOfIntegersBetween, makeValuesGroupMap, lastValue, sortAscendingIndexNumberRefFunction, indexRangeCheckFunction, asGetter, mergeFilterFunctions, isDate as isDate$2, HOURS_IN_DAY, getNextDay, iterablesAreSetEquivalent, daysOfWeekFromEnabledDays, forEachInIterable, enabledDaysFromDaysOfWeek, addToSet, invertFilter, firstValueFromIterable, HashSet, roundNumberUpToStep, protectedFactory, TimeAM, isLogicalDateStringCode as isLogicalDateStringCode$1, dateFromLogicalDate as dateFromLogicalDate$1, flattenArray, splitJoinRemainder } from '@dereekb/util';
5
+ export { dateFromDateOrTimeMillisecondsNumber, unixDateTimeSecondsNumberForNow, unixDateTimeSecondsNumberFromDate, unixDateTimeSecondsNumberFromDateOrTimeNumber, unixDateTimeSecondsNumberToDate } from '@dereekb/util';
6
+ import { isEqual, isSameDay, isDate as isDate$1, startOfMinute, isValid, parseISO, min, max, isAfter as isAfter$1, isBefore as isBefore$1, set, addMilliseconds, startOfMonth, endOfWeek, startOfWeek, endOfMonth, addDays, addHours, addMinutes, differenceInDays, startOfDay, addMonths, addWeeks, endOfDay, endOfHour, startOfHour, endOfMinute, differenceInMinutes, differenceInHours, millisecondsToHours, millisecondsToMinutes, formatDistanceStrict, formatDistance, formatDistanceToNow, format as format$1, parse, getMinutes, getSeconds, getMilliseconds, differenceInMilliseconds, setWeek, getWeek, getYear, getDay, isPast, addSeconds } from 'date-fns';
7
+ import 'core-js/modules/es.iterator.map.js';
8
+ import 'core-js/modules/es.set.difference.v2.js';
9
+ import 'core-js/modules/es.set.symmetric-difference.v2.js';
10
+ import 'core-js/modules/es.set.union.v2.js';
4
11
  import { Expose, Type, Exclude } from 'class-transformer';
5
12
  import { IsDate, IsEnum, IsOptional, IsNumber, Min, registerDecorator, buildMessage, IsString, Matches, IsArray, IsBoolean } from 'class-validator';
6
13
  import { toZonedTime, format, formatInTimeZone } from 'date-fns-tz';
7
14
  import { timeZonesNames } from '@vvo/tzdb';
8
- import { interval, startWith, map as map$1, distinctUntilChanged, filter, switchMap, takeWhile, skipWhile } from 'rxjs';
15
+ import 'core-js/modules/es.iterator.find.js';
16
+ import 'core-js/modules/es.json.stringify.js';
17
+ import { interval, startWith, map, distinctUntilChanged } from 'rxjs';
9
18
  import { RRule } from 'rrule';
10
19
 
11
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
-
13
- var check = function (it) {
14
- return it && it.Math === Math && it;
15
- };
16
-
17
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
18
- var global$b =
19
- // eslint-disable-next-line es/no-global-this -- safe
20
- check(typeof globalThis == 'object' && globalThis) ||
21
- check(typeof window == 'object' && window) ||
22
- // eslint-disable-next-line no-restricted-globals -- safe
23
- check(typeof self == 'object' && self) ||
24
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
25
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
- // eslint-disable-next-line no-new-func -- fallback
27
- (function () { return this; })() || Function('return this')();
28
-
29
- var objectGetOwnPropertyDescriptor = {};
30
-
31
- var fails$c = function (exec) {
32
- try {
33
- return !!exec();
34
- } catch (error) {
35
- return true;
36
- }
37
- };
38
-
39
- var fails$b = fails$c;
40
-
41
- // Detect IE8's incomplete defineProperty implementation
42
- var descriptors = !fails$b(function () {
43
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
44
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
45
- });
46
-
47
- var fails$a = fails$c;
48
-
49
- var functionBindNative = !fails$a(function () {
50
- // eslint-disable-next-line es/no-function-prototype-bind -- safe
51
- var test = (function () { /* empty */ }).bind();
52
- // eslint-disable-next-line no-prototype-builtins -- safe
53
- return typeof test != 'function' || test.hasOwnProperty('prototype');
54
- });
55
-
56
- var NATIVE_BIND$2 = functionBindNative;
57
-
58
- var call$c = Function.prototype.call;
59
-
60
- var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
61
- return call$c.apply(call$c, arguments);
62
- };
63
-
64
- var objectPropertyIsEnumerable = {};
65
-
66
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
67
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
68
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
69
-
70
- // Nashorn ~ JDK8 bug
71
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
72
-
73
- // `Object.prototype.propertyIsEnumerable` method implementation
74
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
75
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
76
- var descriptor = getOwnPropertyDescriptor$1(this, V);
77
- return !!descriptor && descriptor.enumerable;
78
- } : $propertyIsEnumerable;
79
-
80
- var createPropertyDescriptor$3 = function (bitmap, value) {
81
- return {
82
- enumerable: !(bitmap & 1),
83
- configurable: !(bitmap & 2),
84
- writable: !(bitmap & 4),
85
- value: value
86
- };
87
- };
88
-
89
- var NATIVE_BIND$1 = functionBindNative;
90
-
91
- var FunctionPrototype$1 = Function.prototype;
92
- var call$b = FunctionPrototype$1.call;
93
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$b, call$b);
94
-
95
- var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
96
- return function () {
97
- return call$b.apply(fn, arguments);
98
- };
99
- };
100
-
101
- var uncurryThis$d = functionUncurryThis;
102
-
103
- var toString$1 = uncurryThis$d({}.toString);
104
- var stringSlice$1 = uncurryThis$d(''.slice);
105
-
106
- var classofRaw$2 = function (it) {
107
- return stringSlice$1(toString$1(it), 8, -1);
108
- };
109
-
110
- var uncurryThis$c = functionUncurryThis;
111
- var fails$9 = fails$c;
112
- var classof$2 = classofRaw$2;
113
-
114
- var $Object$4 = Object;
115
- var split = uncurryThis$c(''.split);
116
-
117
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
118
- var indexedObject = fails$9(function () {
119
- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
120
- // eslint-disable-next-line no-prototype-builtins -- safe
121
- return !$Object$4('z').propertyIsEnumerable(0);
122
- }) ? function (it) {
123
- return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
124
- } : $Object$4;
125
-
126
- // we can't use just `it == null` since of `document.all` special case
127
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
128
- var isNullOrUndefined$3 = function (it) {
129
- return it === null || it === undefined;
130
- };
131
-
132
- var isNullOrUndefined$2 = isNullOrUndefined$3;
133
-
134
- var $TypeError$a = TypeError;
135
-
136
- // `RequireObjectCoercible` abstract operation
137
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
138
- var requireObjectCoercible$2 = function (it) {
139
- if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
140
- return it;
141
- };
142
-
143
- // toObject with fallback for non-array-like ES3 strings
144
- var IndexedObject = indexedObject;
145
- var requireObjectCoercible$1 = requireObjectCoercible$2;
146
-
147
- var toIndexedObject$4 = function (it) {
148
- return IndexedObject(requireObjectCoercible$1(it));
149
- };
150
-
151
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
152
- var documentAll = typeof document == 'object' && document.all;
153
-
154
- // `IsCallable` abstract operation
155
- // https://tc39.es/ecma262/#sec-iscallable
156
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
157
- var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
158
- return typeof argument == 'function' || argument === documentAll;
159
- } : function (argument) {
160
- return typeof argument == 'function';
161
- };
162
-
163
- var isCallable$d = isCallable$e;
164
-
165
- var isObject$6 = function (it) {
166
- return typeof it == 'object' ? it !== null : isCallable$d(it);
167
- };
168
-
169
- var global$a = global$b;
170
- var isCallable$c = isCallable$e;
171
-
172
- var aFunction = function (argument) {
173
- return isCallable$c(argument) ? argument : undefined;
174
- };
175
-
176
- var getBuiltIn$4 = function (namespace, method) {
177
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
178
- };
179
-
180
- var uncurryThis$b = functionUncurryThis;
181
-
182
- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
183
-
184
- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
185
-
186
- var global$9 = global$b;
187
- var userAgent = engineUserAgent;
188
-
189
- var process = global$9.process;
190
- var Deno = global$9.Deno;
191
- var versions = process && process.versions || Deno && Deno.version;
192
- var v8 = versions && versions.v8;
193
- var match, version;
194
-
195
- if (v8) {
196
- match = v8.split('.');
197
- // in old Chrome, versions of V8 isn't V8 = Chrome / 10
198
- // but their correct versions are not interesting for us
199
- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
200
- }
201
-
202
- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
203
- // so check `userAgent` even if `.v8` exists, but 0
204
- if (!version && userAgent) {
205
- match = userAgent.match(/Edge\/(\d+)/);
206
- if (!match || match[1] >= 74) {
207
- match = userAgent.match(/Chrome\/(\d+)/);
208
- if (match) version = +match[1];
209
- }
210
- }
211
-
212
- var engineV8Version = version;
213
-
214
- /* eslint-disable es/no-symbol -- required for testing */
215
- var V8_VERSION = engineV8Version;
216
- var fails$8 = fails$c;
217
- var global$8 = global$b;
218
-
219
- var $String$3 = global$8.String;
220
-
221
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
222
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
223
- var symbol = Symbol('symbol detection');
224
- // Chrome 38 Symbol has incorrect toString conversion
225
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
226
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
227
- // of course, fail.
228
- return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
229
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
230
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
231
- });
232
-
233
- /* eslint-disable es/no-symbol -- required for testing */
234
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
235
-
236
- var useSymbolAsUid = NATIVE_SYMBOL$1
237
- && !Symbol.sham
238
- && typeof Symbol.iterator == 'symbol';
239
-
240
- var getBuiltIn$3 = getBuiltIn$4;
241
- var isCallable$b = isCallable$e;
242
- var isPrototypeOf$2 = objectIsPrototypeOf;
243
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
244
-
245
- var $Object$3 = Object;
246
-
247
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
248
- return typeof it == 'symbol';
249
- } : function (it) {
250
- var $Symbol = getBuiltIn$3('Symbol');
251
- return isCallable$b($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
252
- };
253
-
254
- var $String$2 = String;
255
-
256
- var tryToString$3 = function (argument) {
257
- try {
258
- return $String$2(argument);
259
- } catch (error) {
260
- return 'Object';
261
- }
262
- };
263
-
264
- var isCallable$a = isCallable$e;
265
- var tryToString$2 = tryToString$3;
266
-
267
- var $TypeError$9 = TypeError;
268
-
269
- // `Assert: IsCallable(argument) is true`
270
- var aCallable$9 = function (argument) {
271
- if (isCallable$a(argument)) return argument;
272
- throw new $TypeError$9(tryToString$2(argument) + ' is not a function');
273
- };
274
-
275
- var aCallable$8 = aCallable$9;
276
- var isNullOrUndefined$1 = isNullOrUndefined$3;
277
-
278
- // `GetMethod` abstract operation
279
- // https://tc39.es/ecma262/#sec-getmethod
280
- var getMethod$4 = function (V, P) {
281
- var func = V[P];
282
- return isNullOrUndefined$1(func) ? undefined : aCallable$8(func);
283
- };
284
-
285
- var call$a = functionCall;
286
- var isCallable$9 = isCallable$e;
287
- var isObject$5 = isObject$6;
288
-
289
- var $TypeError$8 = TypeError;
290
-
291
- // `OrdinaryToPrimitive` abstract operation
292
- // https://tc39.es/ecma262/#sec-ordinarytoprimitive
293
- var ordinaryToPrimitive$1 = function (input, pref) {
294
- var fn, val;
295
- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
296
- if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$a(fn, input))) return val;
297
- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$a(fn, input))) return val;
298
- throw new $TypeError$8("Can't convert object to primitive value");
299
- };
300
-
301
- var sharedStore = {exports: {}};
302
-
303
- var isPure = false;
304
-
305
- var global$7 = global$b;
306
-
307
- // eslint-disable-next-line es/no-object-defineproperty -- safe
308
- var defineProperty$2 = Object.defineProperty;
309
-
310
- var defineGlobalProperty$3 = function (key, value) {
311
- try {
312
- defineProperty$2(global$7, key, { value: value, configurable: true, writable: true });
313
- } catch (error) {
314
- global$7[key] = value;
315
- } return value;
316
- };
317
-
318
- var globalThis$1 = global$b;
319
- var defineGlobalProperty$2 = defineGlobalProperty$3;
320
-
321
- var SHARED = '__core-js_shared__';
322
- var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
323
-
324
- (store$3.versions || (store$3.versions = [])).push({
325
- version: '3.36.1',
326
- mode: 'global',
327
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
328
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
329
- source: 'https://github.com/zloirock/core-js'
330
- });
331
-
332
- var sharedStoreExports = sharedStore.exports;
333
-
334
- var store$2 = sharedStoreExports;
335
-
336
- var shared$3 = function (key, value) {
337
- return store$2[key] || (store$2[key] = value || {});
338
- };
339
-
340
- var requireObjectCoercible = requireObjectCoercible$2;
341
-
342
- var $Object$2 = Object;
343
-
344
- // `ToObject` abstract operation
345
- // https://tc39.es/ecma262/#sec-toobject
346
- var toObject$2 = function (argument) {
347
- return $Object$2(requireObjectCoercible(argument));
348
- };
349
-
350
- var uncurryThis$a = functionUncurryThis;
351
- var toObject$1 = toObject$2;
352
-
353
- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
354
-
355
- // `HasOwnProperty` abstract operation
356
- // https://tc39.es/ecma262/#sec-hasownproperty
357
- // eslint-disable-next-line es/no-object-hasown -- safe
358
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
359
- return hasOwnProperty(toObject$1(it), key);
360
- };
361
-
362
- var uncurryThis$9 = functionUncurryThis;
363
-
364
- var id = 0;
365
- var postfix = Math.random();
366
- var toString = uncurryThis$9(1.0.toString);
367
-
368
- var uid$2 = function (key) {
369
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
370
- };
371
-
372
- var global$6 = global$b;
373
- var shared$2 = shared$3;
374
- var hasOwn$8 = hasOwnProperty_1;
375
- var uid$1 = uid$2;
376
- var NATIVE_SYMBOL = symbolConstructorDetection;
377
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
378
-
379
- var Symbol$1 = global$6.Symbol;
380
- var WellKnownSymbolsStore = shared$2('wks');
381
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
382
-
383
- var wellKnownSymbol$8 = function (name) {
384
- if (!hasOwn$8(WellKnownSymbolsStore, name)) {
385
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
386
- ? Symbol$1[name]
387
- : createWellKnownSymbol('Symbol.' + name);
388
- } return WellKnownSymbolsStore[name];
389
- };
390
-
391
- var call$9 = functionCall;
392
- var isObject$4 = isObject$6;
393
- var isSymbol$1 = isSymbol$2;
394
- var getMethod$3 = getMethod$4;
395
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
396
- var wellKnownSymbol$7 = wellKnownSymbol$8;
397
-
398
- var $TypeError$7 = TypeError;
399
- var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
400
-
401
- // `ToPrimitive` abstract operation
402
- // https://tc39.es/ecma262/#sec-toprimitive
403
- var toPrimitive$1 = function (input, pref) {
404
- if (!isObject$4(input) || isSymbol$1(input)) return input;
405
- var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
406
- var result;
407
- if (exoticToPrim) {
408
- if (pref === undefined) pref = 'default';
409
- result = call$9(exoticToPrim, input, pref);
410
- if (!isObject$4(result) || isSymbol$1(result)) return result;
411
- throw new $TypeError$7("Can't convert object to primitive value");
412
- }
413
- if (pref === undefined) pref = 'number';
414
- return ordinaryToPrimitive(input, pref);
415
- };
416
-
417
- var toPrimitive = toPrimitive$1;
418
- var isSymbol = isSymbol$2;
419
-
420
- // `ToPropertyKey` abstract operation
421
- // https://tc39.es/ecma262/#sec-topropertykey
422
- var toPropertyKey$2 = function (argument) {
423
- var key = toPrimitive(argument, 'string');
424
- return isSymbol(key) ? key : key + '';
425
- };
426
-
427
- var global$5 = global$b;
428
- var isObject$3 = isObject$6;
429
-
430
- var document$1 = global$5.document;
431
- // typeof document.createElement is 'object' in old IE
432
- var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
433
-
434
- var documentCreateElement$1 = function (it) {
435
- return EXISTS$1 ? document$1.createElement(it) : {};
436
- };
437
-
438
- var DESCRIPTORS$9 = descriptors;
439
- var fails$7 = fails$c;
440
- var createElement = documentCreateElement$1;
441
-
442
- // Thanks to IE8 for its funny defineProperty
443
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$7(function () {
444
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
445
- return Object.defineProperty(createElement('div'), 'a', {
446
- get: function () { return 7; }
447
- }).a !== 7;
448
- });
449
-
450
- var DESCRIPTORS$8 = descriptors;
451
- var call$8 = functionCall;
452
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
453
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
454
- var toIndexedObject$3 = toIndexedObject$4;
455
- var toPropertyKey$1 = toPropertyKey$2;
456
- var hasOwn$7 = hasOwnProperty_1;
457
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
458
-
459
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
460
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
461
-
462
- // `Object.getOwnPropertyDescriptor` method
463
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
464
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
465
- O = toIndexedObject$3(O);
466
- P = toPropertyKey$1(P);
467
- if (IE8_DOM_DEFINE$1) try {
468
- return $getOwnPropertyDescriptor$1(O, P);
469
- } catch (error) { /* empty */ }
470
- if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule.f, O, P), O[P]);
471
- };
472
-
473
- var objectDefineProperty = {};
474
-
475
- var DESCRIPTORS$7 = descriptors;
476
- var fails$6 = fails$c;
477
-
478
- // V8 ~ Chrome 36-
479
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
480
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
481
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
482
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
483
- value: 42,
484
- writable: false
485
- }).prototype !== 42;
486
- });
487
-
488
- var isObject$2 = isObject$6;
489
-
490
- var $String$1 = String;
491
- var $TypeError$6 = TypeError;
492
-
493
- // `Assert: Type(argument) is Object`
494
- var anObject$e = function (argument) {
495
- if (isObject$2(argument)) return argument;
496
- throw new $TypeError$6($String$1(argument) + ' is not an object');
497
- };
498
-
499
- var DESCRIPTORS$6 = descriptors;
500
- var IE8_DOM_DEFINE = ie8DomDefine;
501
- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
502
- var anObject$d = anObject$e;
503
- var toPropertyKey = toPropertyKey$2;
504
-
505
- var $TypeError$5 = TypeError;
506
- // eslint-disable-next-line es/no-object-defineproperty -- safe
507
- var $defineProperty = Object.defineProperty;
508
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
509
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
510
- var ENUMERABLE = 'enumerable';
511
- var CONFIGURABLE$1 = 'configurable';
512
- var WRITABLE = 'writable';
513
-
514
- // `Object.defineProperty` method
515
- // https://tc39.es/ecma262/#sec-object.defineproperty
516
- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
517
- anObject$d(O);
518
- P = toPropertyKey(P);
519
- anObject$d(Attributes);
520
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
521
- var current = $getOwnPropertyDescriptor(O, P);
522
- if (current && current[WRITABLE]) {
523
- O[P] = Attributes.value;
524
- Attributes = {
525
- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
526
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
527
- writable: false
528
- };
529
- }
530
- } return $defineProperty(O, P, Attributes);
531
- } : $defineProperty : function defineProperty(O, P, Attributes) {
532
- anObject$d(O);
533
- P = toPropertyKey(P);
534
- anObject$d(Attributes);
535
- if (IE8_DOM_DEFINE) try {
536
- return $defineProperty(O, P, Attributes);
537
- } catch (error) { /* empty */ }
538
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
539
- if ('value' in Attributes) O[P] = Attributes.value;
540
- return O;
541
- };
542
-
543
- var DESCRIPTORS$5 = descriptors;
544
- var definePropertyModule$4 = objectDefineProperty;
545
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
546
-
547
- var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
548
- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
549
- } : function (object, key, value) {
550
- object[key] = value;
551
- return object;
552
- };
553
-
554
- var makeBuiltIn$3 = {exports: {}};
555
-
556
- var DESCRIPTORS$4 = descriptors;
557
- var hasOwn$6 = hasOwnProperty_1;
558
-
559
- var FunctionPrototype = Function.prototype;
560
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
561
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
562
-
563
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
564
- // additional protection from minified / mangled / dropped function names
565
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
566
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
567
-
568
- var functionName = {
569
- EXISTS: EXISTS,
570
- PROPER: PROPER,
571
- CONFIGURABLE: CONFIGURABLE
572
- };
573
-
574
- var uncurryThis$8 = functionUncurryThis;
575
- var isCallable$8 = isCallable$e;
576
- var store$1 = sharedStoreExports;
577
-
578
- var functionToString = uncurryThis$8(Function.toString);
579
-
580
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
581
- if (!isCallable$8(store$1.inspectSource)) {
582
- store$1.inspectSource = function (it) {
583
- return functionToString(it);
584
- };
585
- }
586
-
587
- var inspectSource$1 = store$1.inspectSource;
588
-
589
- var global$4 = global$b;
590
- var isCallable$7 = isCallable$e;
591
-
592
- var WeakMap$1 = global$4.WeakMap;
593
-
594
- var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));
595
-
596
- var shared$1 = shared$3;
597
- var uid = uid$2;
598
-
599
- var keys$1 = shared$1('keys');
600
-
601
- var sharedKey$3 = function (key) {
602
- return keys$1[key] || (keys$1[key] = uid(key));
603
- };
604
-
605
- var hiddenKeys$4 = {};
606
-
607
- var NATIVE_WEAK_MAP = weakMapBasicDetection;
608
- var global$3 = global$b;
609
- var isObject$1 = isObject$6;
610
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
611
- var hasOwn$5 = hasOwnProperty_1;
612
- var shared = sharedStoreExports;
613
- var sharedKey$2 = sharedKey$3;
614
- var hiddenKeys$3 = hiddenKeys$4;
615
-
616
- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
617
- var TypeError$1 = global$3.TypeError;
618
- var WeakMap = global$3.WeakMap;
619
- var set, get, has$6;
620
-
621
- var enforce = function (it) {
622
- return has$6(it) ? get(it) : set(it, {});
623
- };
624
-
625
- var getterFor = function (TYPE) {
626
- return function (it) {
627
- var state;
628
- if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
629
- throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
630
- } return state;
631
- };
632
- };
633
-
634
- if (NATIVE_WEAK_MAP || shared.state) {
635
- var store = shared.state || (shared.state = new WeakMap());
636
- /* eslint-disable no-self-assign -- prototype methods protection */
637
- store.get = store.get;
638
- store.has = store.has;
639
- store.set = store.set;
640
- /* eslint-enable no-self-assign -- prototype methods protection */
641
- set = function (it, metadata) {
642
- if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
643
- metadata.facade = it;
644
- store.set(it, metadata);
645
- return metadata;
646
- };
647
- get = function (it) {
648
- return store.get(it) || {};
649
- };
650
- has$6 = function (it) {
651
- return store.has(it);
652
- };
653
- } else {
654
- var STATE = sharedKey$2('state');
655
- hiddenKeys$3[STATE] = true;
656
- set = function (it, metadata) {
657
- if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
658
- metadata.facade = it;
659
- createNonEnumerableProperty$2(it, STATE, metadata);
660
- return metadata;
661
- };
662
- get = function (it) {
663
- return hasOwn$5(it, STATE) ? it[STATE] : {};
664
- };
665
- has$6 = function (it) {
666
- return hasOwn$5(it, STATE);
667
- };
668
- }
669
-
670
- var internalState = {
671
- set: set,
672
- get: get,
673
- has: has$6,
674
- enforce: enforce,
675
- getterFor: getterFor
676
- };
677
-
678
- var uncurryThis$7 = functionUncurryThis;
679
- var fails$5 = fails$c;
680
- var isCallable$6 = isCallable$e;
681
- var hasOwn$4 = hasOwnProperty_1;
682
- var DESCRIPTORS$3 = descriptors;
683
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
684
- var inspectSource = inspectSource$1;
685
- var InternalStateModule$1 = internalState;
686
-
687
- var enforceInternalState = InternalStateModule$1.enforce;
688
- var getInternalState = InternalStateModule$1.get;
689
- var $String = String;
690
- // eslint-disable-next-line es/no-object-defineproperty -- safe
691
- var defineProperty$1 = Object.defineProperty;
692
- var stringSlice = uncurryThis$7(''.slice);
693
- var replace = uncurryThis$7(''.replace);
694
- var join = uncurryThis$7([].join);
695
-
696
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$5(function () {
697
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
698
- });
699
-
700
- var TEMPLATE = String(String).split('String');
701
-
702
- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
703
- if (stringSlice($String(name), 0, 7) === 'Symbol(') {
704
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
705
- }
706
- if (options && options.getter) name = 'get ' + name;
707
- if (options && options.setter) name = 'set ' + name;
708
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
709
- if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
710
- else value.name = name;
711
- }
712
- if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
713
- defineProperty$1(value, 'length', { value: options.arity });
714
- }
715
- try {
716
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
717
- if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
718
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
719
- } else if (value.prototype) value.prototype = undefined;
720
- } catch (error) { /* empty */ }
721
- var state = enforceInternalState(value);
722
- if (!hasOwn$4(state, 'source')) {
723
- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
724
- } return value;
725
- };
726
-
727
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
728
- // eslint-disable-next-line no-extend-native -- required
729
- Function.prototype.toString = makeBuiltIn$2(function toString() {
730
- return isCallable$6(this) && getInternalState(this).source || inspectSource(this);
731
- }, 'toString');
732
-
733
- var makeBuiltInExports = makeBuiltIn$3.exports;
734
-
735
- var isCallable$5 = isCallable$e;
736
- var definePropertyModule$3 = objectDefineProperty;
737
- var makeBuiltIn$1 = makeBuiltInExports;
738
- var defineGlobalProperty$1 = defineGlobalProperty$3;
739
-
740
- var defineBuiltIn$3 = function (O, key, value, options) {
741
- if (!options) options = {};
742
- var simple = options.enumerable;
743
- var name = options.name !== undefined ? options.name : key;
744
- if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
745
- if (options.global) {
746
- if (simple) O[key] = value;
747
- else defineGlobalProperty$1(key, value);
748
- } else {
749
- try {
750
- if (!options.unsafe) delete O[key];
751
- else if (O[key]) simple = true;
752
- } catch (error) { /* empty */ }
753
- if (simple) O[key] = value;
754
- else definePropertyModule$3.f(O, key, {
755
- value: value,
756
- enumerable: false,
757
- configurable: !options.nonConfigurable,
758
- writable: !options.nonWritable
759
- });
760
- } return O;
761
- };
762
-
763
- var objectGetOwnPropertyNames = {};
764
-
765
- var ceil = Math.ceil;
766
- var floor = Math.floor;
767
-
768
- // `Math.trunc` method
769
- // https://tc39.es/ecma262/#sec-math.trunc
770
- // eslint-disable-next-line es/no-math-trunc -- safe
771
- var mathTrunc = Math.trunc || function trunc(x) {
772
- var n = +x;
773
- return (n > 0 ? floor : ceil)(n);
774
- };
775
-
776
- var trunc = mathTrunc;
777
-
778
- // `ToIntegerOrInfinity` abstract operation
779
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
780
- var toIntegerOrInfinity$3 = function (argument) {
781
- var number = +argument;
782
- // eslint-disable-next-line no-self-compare -- NaN check
783
- return number !== number || number === 0 ? 0 : trunc(number);
784
- };
785
-
786
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
787
-
788
- var max$1 = Math.max;
789
- var min$1 = Math.min;
790
-
791
- // Helper for a popular repeating case of the spec:
792
- // Let integer be ? ToInteger(index).
793
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
794
- var toAbsoluteIndex$1 = function (index, length) {
795
- var integer = toIntegerOrInfinity$2(index);
796
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
797
- };
798
-
799
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
800
-
801
- var min = Math.min;
802
-
803
- // `ToLength` abstract operation
804
- // https://tc39.es/ecma262/#sec-tolength
805
- var toLength$1 = function (argument) {
806
- var len = toIntegerOrInfinity$1(argument);
807
- return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
808
- };
809
-
810
- var toLength = toLength$1;
811
-
812
- // `LengthOfArrayLike` abstract operation
813
- // https://tc39.es/ecma262/#sec-lengthofarraylike
814
- var lengthOfArrayLike$2 = function (obj) {
815
- return toLength(obj.length);
816
- };
817
-
818
- var toIndexedObject$2 = toIndexedObject$4;
819
- var toAbsoluteIndex = toAbsoluteIndex$1;
820
- var lengthOfArrayLike$1 = lengthOfArrayLike$2;
821
-
822
- // `Array.prototype.{ indexOf, includes }` methods implementation
823
- var createMethod = function (IS_INCLUDES) {
824
- return function ($this, el, fromIndex) {
825
- var O = toIndexedObject$2($this);
826
- var length = lengthOfArrayLike$1(O);
827
- if (length === 0) return !IS_INCLUDES && -1;
828
- var index = toAbsoluteIndex(fromIndex, length);
829
- var value;
830
- // Array#includes uses SameValueZero equality algorithm
831
- // eslint-disable-next-line no-self-compare -- NaN check
832
- if (IS_INCLUDES && el !== el) while (length > index) {
833
- value = O[index++];
834
- // eslint-disable-next-line no-self-compare -- NaN check
835
- if (value !== value) return true;
836
- // Array#indexOf ignores holes, Array#includes - not
837
- } else for (;length > index; index++) {
838
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
839
- } return !IS_INCLUDES && -1;
840
- };
841
- };
842
-
843
- var arrayIncludes = {
844
- // `Array.prototype.includes` method
845
- // https://tc39.es/ecma262/#sec-array.prototype.includes
846
- includes: createMethod(true),
847
- // `Array.prototype.indexOf` method
848
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
849
- indexOf: createMethod(false)
850
- };
851
-
852
- var uncurryThis$6 = functionUncurryThis;
853
- var hasOwn$3 = hasOwnProperty_1;
854
- var toIndexedObject$1 = toIndexedObject$4;
855
- var indexOf = arrayIncludes.indexOf;
856
- var hiddenKeys$2 = hiddenKeys$4;
857
-
858
- var push = uncurryThis$6([].push);
859
-
860
- var objectKeysInternal = function (object, names) {
861
- var O = toIndexedObject$1(object);
862
- var i = 0;
863
- var result = [];
864
- var key;
865
- for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
866
- // Don't enum bug & hidden keys
867
- while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
868
- ~indexOf(result, key) || push(result, key);
869
- }
870
- return result;
871
- };
872
-
873
- // IE8- don't enum bug keys
874
- var enumBugKeys$3 = [
875
- 'constructor',
876
- 'hasOwnProperty',
877
- 'isPrototypeOf',
878
- 'propertyIsEnumerable',
879
- 'toLocaleString',
880
- 'toString',
881
- 'valueOf'
882
- ];
883
-
884
- var internalObjectKeys$1 = objectKeysInternal;
885
- var enumBugKeys$2 = enumBugKeys$3;
886
-
887
- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
888
-
889
- // `Object.getOwnPropertyNames` method
890
- // https://tc39.es/ecma262/#sec-object.getownpropertynames
891
- // eslint-disable-next-line es/no-object-getownpropertynames -- safe
892
- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
893
- return internalObjectKeys$1(O, hiddenKeys$1);
894
- };
895
-
896
- var objectGetOwnPropertySymbols = {};
897
-
898
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
899
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
900
-
901
- var getBuiltIn$2 = getBuiltIn$4;
902
- var uncurryThis$5 = functionUncurryThis;
903
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
904
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
905
- var anObject$c = anObject$e;
906
-
907
- var concat = uncurryThis$5([].concat);
908
-
909
- // all object keys, includes non-enumerable and symbols
910
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
911
- var keys = getOwnPropertyNamesModule.f(anObject$c(it));
912
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
913
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
914
- };
915
-
916
- var hasOwn$2 = hasOwnProperty_1;
917
- var ownKeys = ownKeys$1;
918
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
919
- var definePropertyModule$2 = objectDefineProperty;
920
-
921
- var copyConstructorProperties$1 = function (target, source, exceptions) {
922
- var keys = ownKeys(source);
923
- var defineProperty = definePropertyModule$2.f;
924
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
925
- for (var i = 0; i < keys.length; i++) {
926
- var key = keys[i];
927
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
928
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
929
- }
930
- }
931
- };
932
-
933
- var fails$4 = fails$c;
934
- var isCallable$4 = isCallable$e;
935
-
936
- var replacement = /#|\.prototype\./;
937
-
938
- var isForced$1 = function (feature, detection) {
939
- var value = data[normalize(feature)];
940
- return value === POLYFILL ? true
941
- : value === NATIVE ? false
942
- : isCallable$4(detection) ? fails$4(detection)
943
- : !!detection;
944
- };
945
-
946
- var normalize = isForced$1.normalize = function (string) {
947
- return String(string).replace(replacement, '.').toLowerCase();
948
- };
949
-
950
- var data = isForced$1.data = {};
951
- var NATIVE = isForced$1.NATIVE = 'N';
952
- var POLYFILL = isForced$1.POLYFILL = 'P';
953
-
954
- var isForced_1 = isForced$1;
955
-
956
- var global$2 = global$b;
957
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
958
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
959
- var defineBuiltIn$2 = defineBuiltIn$3;
960
- var defineGlobalProperty = defineGlobalProperty$3;
961
- var copyConstructorProperties = copyConstructorProperties$1;
962
- var isForced = isForced_1;
963
-
964
- /*
965
- options.target - name of the target object
966
- options.global - target is the global object
967
- options.stat - export as static methods of target
968
- options.proto - export as prototype methods of target
969
- options.real - real prototype method for the `pure` version
970
- options.forced - export even if the native feature is available
971
- options.bind - bind methods to the target, required for the `pure` version
972
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
973
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
974
- options.sham - add a flag to not completely full polyfills
975
- options.enumerable - export as enumerable property
976
- options.dontCallGetSet - prevent calling a getter on target
977
- options.name - the .name of the function if it does not match the key
978
- */
979
- var _export = function (options, source) {
980
- var TARGET = options.target;
981
- var GLOBAL = options.global;
982
- var STATIC = options.stat;
983
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
984
- if (GLOBAL) {
985
- target = global$2;
986
- } else if (STATIC) {
987
- target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
988
- } else {
989
- target = global$2[TARGET] && global$2[TARGET].prototype;
990
- }
991
- if (target) for (key in source) {
992
- sourceProperty = source[key];
993
- if (options.dontCallGetSet) {
994
- descriptor = getOwnPropertyDescriptor(target, key);
995
- targetProperty = descriptor && descriptor.value;
996
- } else targetProperty = target[key];
997
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
998
- // contained in target
999
- if (!FORCED && targetProperty !== undefined) {
1000
- if (typeof sourceProperty == typeof targetProperty) continue;
1001
- copyConstructorProperties(sourceProperty, targetProperty);
1002
- }
1003
- // add a flag to not completely full polyfills
1004
- if (options.sham || (targetProperty && targetProperty.sham)) {
1005
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1006
- }
1007
- defineBuiltIn$2(target, key, sourceProperty, options);
1008
- }
1009
- };
1010
-
1011
- var isPrototypeOf$1 = objectIsPrototypeOf;
1012
-
1013
- var $TypeError$4 = TypeError;
1014
-
1015
- var anInstance$1 = function (it, Prototype) {
1016
- if (isPrototypeOf$1(Prototype, it)) return it;
1017
- throw new $TypeError$4('Incorrect invocation');
1018
- };
1019
-
1020
- var fails$3 = fails$c;
1021
-
1022
- var correctPrototypeGetter = !fails$3(function () {
1023
- function F() { /* empty */ }
1024
- F.prototype.constructor = null;
1025
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1026
- return Object.getPrototypeOf(new F()) !== F.prototype;
1027
- });
1028
-
1029
- var hasOwn$1 = hasOwnProperty_1;
1030
- var isCallable$3 = isCallable$e;
1031
- var toObject = toObject$2;
1032
- var sharedKey$1 = sharedKey$3;
1033
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1034
-
1035
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1036
- var $Object$1 = Object;
1037
- var ObjectPrototype = $Object$1.prototype;
1038
-
1039
- // `Object.getPrototypeOf` method
1040
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1041
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1042
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1043
- var object = toObject(O);
1044
- if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
1045
- var constructor = object.constructor;
1046
- if (isCallable$3(constructor) && object instanceof constructor) {
1047
- return constructor.prototype;
1048
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1049
- };
1050
-
1051
- var makeBuiltIn = makeBuiltInExports;
1052
- var defineProperty = objectDefineProperty;
1053
-
1054
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1055
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1056
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1057
- return defineProperty.f(target, name, descriptor);
1058
- };
1059
-
1060
- var DESCRIPTORS$2 = descriptors;
1061
- var definePropertyModule$1 = objectDefineProperty;
1062
- var createPropertyDescriptor = createPropertyDescriptor$3;
1063
-
1064
- var createProperty$1 = function (object, key, value) {
1065
- if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
1066
- else object[key] = value;
1067
- };
1068
-
1069
- var objectDefineProperties = {};
1070
-
1071
- var internalObjectKeys = objectKeysInternal;
1072
- var enumBugKeys$1 = enumBugKeys$3;
1073
-
1074
- // `Object.keys` method
1075
- // https://tc39.es/ecma262/#sec-object.keys
1076
- // eslint-disable-next-line es/no-object-keys -- safe
1077
- var objectKeys$1 = Object.keys || function keys(O) {
1078
- return internalObjectKeys(O, enumBugKeys$1);
1079
- };
1080
-
1081
- var DESCRIPTORS$1 = descriptors;
1082
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1083
- var definePropertyModule = objectDefineProperty;
1084
- var anObject$b = anObject$e;
1085
- var toIndexedObject = toIndexedObject$4;
1086
- var objectKeys = objectKeys$1;
1087
-
1088
- // `Object.defineProperties` method
1089
- // https://tc39.es/ecma262/#sec-object.defineproperties
1090
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1091
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1092
- anObject$b(O);
1093
- var props = toIndexedObject(Properties);
1094
- var keys = objectKeys(Properties);
1095
- var length = keys.length;
1096
- var index = 0;
1097
- var key;
1098
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1099
- return O;
1100
- };
1101
-
1102
- var getBuiltIn$1 = getBuiltIn$4;
1103
-
1104
- var html$1 = getBuiltIn$1('document', 'documentElement');
1105
-
1106
- /* global ActiveXObject -- old IE, WSH */
1107
- var anObject$a = anObject$e;
1108
- var definePropertiesModule = objectDefineProperties;
1109
- var enumBugKeys = enumBugKeys$3;
1110
- var hiddenKeys = hiddenKeys$4;
1111
- var html = html$1;
1112
- var documentCreateElement = documentCreateElement$1;
1113
- var sharedKey = sharedKey$3;
1114
-
1115
- var GT = '>';
1116
- var LT = '<';
1117
- var PROTOTYPE = 'prototype';
1118
- var SCRIPT = 'script';
1119
- var IE_PROTO = sharedKey('IE_PROTO');
1120
-
1121
- var EmptyConstructor = function () { /* empty */ };
1122
-
1123
- var scriptTag = function (content) {
1124
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1125
- };
1126
-
1127
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1128
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1129
- activeXDocument.write(scriptTag(''));
1130
- activeXDocument.close();
1131
- var temp = activeXDocument.parentWindow.Object;
1132
- activeXDocument = null; // avoid memory leak
1133
- return temp;
1134
- };
1135
-
1136
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1137
- var NullProtoObjectViaIFrame = function () {
1138
- // Thrash, waste and sodomy: IE GC bug
1139
- var iframe = documentCreateElement('iframe');
1140
- var JS = 'java' + SCRIPT + ':';
1141
- var iframeDocument;
1142
- iframe.style.display = 'none';
1143
- html.appendChild(iframe);
1144
- // https://github.com/zloirock/core-js/issues/475
1145
- iframe.src = String(JS);
1146
- iframeDocument = iframe.contentWindow.document;
1147
- iframeDocument.open();
1148
- iframeDocument.write(scriptTag('document.F=Object'));
1149
- iframeDocument.close();
1150
- return iframeDocument.F;
1151
- };
1152
-
1153
- // Check for document.domain and active x support
1154
- // No need to use active x approach when document.domain is not set
1155
- // see https://github.com/es-shims/es5-shim/issues/150
1156
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1157
- // avoid IE GC bug
1158
- var activeXDocument;
1159
- var NullProtoObject = function () {
1160
- try {
1161
- activeXDocument = new ActiveXObject('htmlfile');
1162
- } catch (error) { /* ignore */ }
1163
- NullProtoObject = typeof document != 'undefined'
1164
- ? document.domain && activeXDocument
1165
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1166
- : NullProtoObjectViaIFrame()
1167
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1168
- var length = enumBugKeys.length;
1169
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1170
- return NullProtoObject();
1171
- };
1172
-
1173
- hiddenKeys[IE_PROTO] = true;
1174
-
1175
- // `Object.create` method
1176
- // https://tc39.es/ecma262/#sec-object.create
1177
- // eslint-disable-next-line es/no-object-create -- safe
1178
- var objectCreate = Object.create || function create(O, Properties) {
1179
- var result;
1180
- if (O !== null) {
1181
- EmptyConstructor[PROTOTYPE] = anObject$a(O);
1182
- result = new EmptyConstructor();
1183
- EmptyConstructor[PROTOTYPE] = null;
1184
- // add "__proto__" for Object.getPrototypeOf polyfill
1185
- result[IE_PROTO] = O;
1186
- } else result = NullProtoObject();
1187
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1188
- };
1189
-
1190
- var fails$2 = fails$c;
1191
- var isCallable$2 = isCallable$e;
1192
- var isObject = isObject$6;
1193
- var getPrototypeOf$1 = objectGetPrototypeOf;
1194
- var defineBuiltIn$1 = defineBuiltIn$3;
1195
- var wellKnownSymbol$6 = wellKnownSymbol$8;
1196
-
1197
- var ITERATOR$3 = wellKnownSymbol$6('iterator');
1198
- var BUGGY_SAFARI_ITERATORS = false;
1199
-
1200
- // `%IteratorPrototype%` object
1201
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1202
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1203
-
1204
- /* eslint-disable es/no-array-prototype-keys -- safe */
1205
- if ([].keys) {
1206
- arrayIterator = [].keys();
1207
- // Safari 8 has buggy iterators w/o `next`
1208
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1209
- else {
1210
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1211
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1212
- }
1213
- }
1214
-
1215
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$2(function () {
1216
- var test = {};
1217
- // FF44- legacy iterators case
1218
- return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
1219
- });
1220
-
1221
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1222
-
1223
- // `%IteratorPrototype%[@@iterator]()` method
1224
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1225
- if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
1226
- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
1227
- return this;
1228
- });
1229
- }
1230
-
1231
- var iteratorsCore = {
1232
- IteratorPrototype: IteratorPrototype$2,
1233
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1234
- };
1235
-
1236
- var $$b = _export;
1237
- var global$1 = global$b;
1238
- var anInstance = anInstance$1;
1239
- var anObject$9 = anObject$e;
1240
- var isCallable$1 = isCallable$e;
1241
- var getPrototypeOf = objectGetPrototypeOf;
1242
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
1243
- var createProperty = createProperty$1;
1244
- var fails$1 = fails$c;
1245
- var hasOwn = hasOwnProperty_1;
1246
- var wellKnownSymbol$5 = wellKnownSymbol$8;
1247
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1248
- var DESCRIPTORS = descriptors;
1249
-
1250
- var CONSTRUCTOR = 'constructor';
1251
- var ITERATOR$2 = 'Iterator';
1252
- var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
1253
-
1254
- var $TypeError$3 = TypeError;
1255
- var NativeIterator = global$1[ITERATOR$2];
1256
-
1257
- // FF56- have non-standard global helper `Iterator`
1258
- var FORCED = !isCallable$1(NativeIterator)
1259
- || NativeIterator.prototype !== IteratorPrototype$1
1260
- // FF44- non-standard `Iterator` passes previous tests
1261
- || !fails$1(function () { NativeIterator({}); });
1262
-
1263
- var IteratorConstructor = function Iterator() {
1264
- anInstance(this, IteratorPrototype$1);
1265
- if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
1266
- };
1267
-
1268
- var defineIteratorPrototypeAccessor = function (key, value) {
1269
- if (DESCRIPTORS) {
1270
- defineBuiltInAccessor(IteratorPrototype$1, key, {
1271
- configurable: true,
1272
- get: function () {
1273
- return value;
1274
- },
1275
- set: function (replacement) {
1276
- anObject$9(this);
1277
- if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
1278
- if (hasOwn(this, key)) this[key] = replacement;
1279
- else createProperty(this, key, replacement);
1280
- }
1281
- });
1282
- } else IteratorPrototype$1[key] = value;
1283
- };
1284
-
1285
- if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
1286
-
1287
- if (FORCED || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
1288
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1289
- }
1290
-
1291
- IteratorConstructor.prototype = IteratorPrototype$1;
1292
-
1293
- // `Iterator` constructor
1294
- // https://github.com/tc39/proposal-iterator-helpers
1295
- $$b({ global: true, constructor: true, forced: FORCED }, {
1296
- Iterator: IteratorConstructor
1297
- });
1298
-
1299
- // `GetIteratorDirect(obj)` abstract operation
1300
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
1301
- var getIteratorDirect$5 = function (obj) {
1302
- return {
1303
- iterator: obj,
1304
- next: obj.next,
1305
- done: false
1306
- };
1307
- };
1308
-
1309
- var defineBuiltIn = defineBuiltIn$3;
1310
-
1311
- var defineBuiltIns$1 = function (target, src, options) {
1312
- for (var key in src) defineBuiltIn(target, key, src[key], options);
1313
- return target;
1314
- };
1315
-
1316
- // `CreateIterResultObject` abstract operation
1317
- // https://tc39.es/ecma262/#sec-createiterresultobject
1318
- var createIterResultObject$1 = function (value, done) {
1319
- return { value: value, done: done };
1320
- };
1321
-
1322
- var call$7 = functionCall;
1323
- var anObject$8 = anObject$e;
1324
- var getMethod$2 = getMethod$4;
1325
-
1326
- var iteratorClose$5 = function (iterator, kind, value) {
1327
- var innerResult, innerError;
1328
- anObject$8(iterator);
1329
- try {
1330
- innerResult = getMethod$2(iterator, 'return');
1331
- if (!innerResult) {
1332
- if (kind === 'throw') throw value;
1333
- return value;
1334
- }
1335
- innerResult = call$7(innerResult, iterator);
1336
- } catch (error) {
1337
- innerError = true;
1338
- innerResult = error;
1339
- }
1340
- if (kind === 'throw') throw value;
1341
- if (innerError) throw innerResult;
1342
- anObject$8(innerResult);
1343
- return value;
1344
- };
1345
-
1346
- var call$6 = functionCall;
1347
- var create = objectCreate;
1348
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
1349
- var defineBuiltIns = defineBuiltIns$1;
1350
- var wellKnownSymbol$4 = wellKnownSymbol$8;
1351
- var InternalStateModule = internalState;
1352
- var getMethod$1 = getMethod$4;
1353
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
1354
- var createIterResultObject = createIterResultObject$1;
1355
- var iteratorClose$4 = iteratorClose$5;
1356
-
1357
- var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
1358
- var ITERATOR_HELPER = 'IteratorHelper';
1359
- var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
1360
- var setInternalState = InternalStateModule.set;
1361
-
1362
- var createIteratorProxyPrototype = function (IS_ITERATOR) {
1363
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1364
-
1365
- return defineBuiltIns(create(IteratorPrototype), {
1366
- next: function next() {
1367
- var state = getInternalState(this);
1368
- // for simplification:
1369
- // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
1370
- // for `%IteratorHelperPrototype%.next` - just a value
1371
- if (IS_ITERATOR) return state.nextHandler();
1372
- try {
1373
- var result = state.done ? undefined : state.nextHandler();
1374
- return createIterResultObject(result, state.done);
1375
- } catch (error) {
1376
- state.done = true;
1377
- throw error;
1378
- }
1379
- },
1380
- 'return': function () {
1381
- var state = getInternalState(this);
1382
- var iterator = state.iterator;
1383
- state.done = true;
1384
- if (IS_ITERATOR) {
1385
- var returnMethod = getMethod$1(iterator, 'return');
1386
- return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
1387
- }
1388
- if (state.inner) try {
1389
- iteratorClose$4(state.inner.iterator, 'normal');
1390
- } catch (error) {
1391
- return iteratorClose$4(iterator, 'throw', error);
1392
- }
1393
- iteratorClose$4(iterator, 'normal');
1394
- return createIterResultObject(undefined, true);
1395
- }
1396
- });
1397
- };
1398
-
1399
- var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1400
- var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1401
-
1402
- createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG$2, 'Iterator Helper');
1403
-
1404
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
1405
- var IteratorProxy = function Iterator(record, state) {
1406
- if (state) {
1407
- state.iterator = record.iterator;
1408
- state.next = record.next;
1409
- } else state = record;
1410
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1411
- state.nextHandler = nextHandler;
1412
- state.counter = 0;
1413
- state.done = false;
1414
- setInternalState(this, state);
1415
- };
1416
-
1417
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1418
-
1419
- return IteratorProxy;
1420
- };
1421
-
1422
- var anObject$7 = anObject$e;
1423
- var iteratorClose$3 = iteratorClose$5;
1424
-
1425
- // call something on iterator step with safe closing on error
1426
- var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
1427
- try {
1428
- return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
1429
- } catch (error) {
1430
- iteratorClose$3(iterator, 'throw', error);
1431
- }
1432
- };
1433
-
1434
- var $$a = _export;
1435
- var call$5 = functionCall;
1436
- var aCallable$7 = aCallable$9;
1437
- var anObject$6 = anObject$e;
1438
- var getIteratorDirect$4 = getIteratorDirect$5;
1439
- var createIteratorProxy$1 = iteratorCreateProxy;
1440
- var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
1441
- var IS_PURE$1 = isPure;
1442
-
1443
- var IteratorProxy$1 = createIteratorProxy$1(function () {
1444
- var iterator = this.iterator;
1445
- var predicate = this.predicate;
1446
- var next = this.next;
1447
- var result, done, value;
1448
- while (true) {
1449
- result = anObject$6(call$5(next, iterator));
1450
- done = this.done = !!result.done;
1451
- if (done) return;
1452
- value = result.value;
1453
- if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
1454
- }
1455
- });
1456
-
1457
- // `Iterator.prototype.filter` method
1458
- // https://github.com/tc39/proposal-iterator-helpers
1459
- $$a({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
1460
- filter: function filter(predicate) {
1461
- anObject$6(this);
1462
- aCallable$7(predicate);
1463
- return new IteratorProxy$1(getIteratorDirect$4(this), {
1464
- predicate: predicate
1465
- });
1466
- }
1467
- });
1468
-
1469
- var classofRaw$1 = classofRaw$2;
1470
- var uncurryThis$4 = functionUncurryThis;
1471
-
1472
- var functionUncurryThisClause = function (fn) {
1473
- // Nashorn bug:
1474
- // https://github.com/zloirock/core-js/issues/1128
1475
- // https://github.com/zloirock/core-js/issues/1130
1476
- if (classofRaw$1(fn) === 'Function') return uncurryThis$4(fn);
1477
- };
1478
-
1479
- var uncurryThis$3 = functionUncurryThisClause;
1480
- var aCallable$6 = aCallable$9;
1481
- var NATIVE_BIND = functionBindNative;
1482
-
1483
- var bind$1 = uncurryThis$3(uncurryThis$3.bind);
1484
-
1485
- // optional / simple context binding
1486
- var functionBindContext = function (fn, that) {
1487
- aCallable$6(fn);
1488
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1489
- return fn.apply(that, arguments);
1490
- };
1491
- };
1492
-
1493
- var iterators = {};
1494
-
1495
- var wellKnownSymbol$3 = wellKnownSymbol$8;
1496
- var Iterators$1 = iterators;
1497
-
1498
- var ITERATOR$1 = wellKnownSymbol$3('iterator');
1499
- var ArrayPrototype = Array.prototype;
1500
-
1501
- // check on default Array iterator
1502
- var isArrayIteratorMethod$1 = function (it) {
1503
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
1504
- };
1505
-
1506
- var wellKnownSymbol$2 = wellKnownSymbol$8;
1507
-
1508
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1509
- var test = {};
1510
-
1511
- test[TO_STRING_TAG$1] = 'z';
1512
-
1513
- var toStringTagSupport = String(test) === '[object z]';
1514
-
1515
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1516
- var isCallable = isCallable$e;
1517
- var classofRaw = classofRaw$2;
1518
- var wellKnownSymbol$1 = wellKnownSymbol$8;
1519
-
1520
- var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
1521
- var $Object = Object;
1522
-
1523
- // ES3 wrong here
1524
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
1525
-
1526
- // fallback for IE11 Script Access Denied error
1527
- var tryGet = function (it, key) {
1528
- try {
1529
- return it[key];
1530
- } catch (error) { /* empty */ }
1531
- };
1532
-
1533
- // getting tag from ES6+ `Object.prototype.toString`
1534
- var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1535
- var O, tag, result;
1536
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1537
- // @@toStringTag case
1538
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1539
- // builtinTag case
1540
- : CORRECT_ARGUMENTS ? classofRaw(O)
1541
- // ES3 arguments fallback
1542
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1543
- };
1544
-
1545
- var classof = classof$1;
1546
- var getMethod = getMethod$4;
1547
- var isNullOrUndefined = isNullOrUndefined$3;
1548
- var Iterators = iterators;
1549
- var wellKnownSymbol = wellKnownSymbol$8;
1550
-
1551
- var ITERATOR = wellKnownSymbol('iterator');
1552
-
1553
- var getIteratorMethod$2 = function (it) {
1554
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
1555
- || getMethod(it, '@@iterator')
1556
- || Iterators[classof(it)];
1557
- };
1558
-
1559
- var call$4 = functionCall;
1560
- var aCallable$5 = aCallable$9;
1561
- var anObject$5 = anObject$e;
1562
- var tryToString$1 = tryToString$3;
1563
- var getIteratorMethod$1 = getIteratorMethod$2;
1564
-
1565
- var $TypeError$2 = TypeError;
1566
-
1567
- var getIterator$1 = function (argument, usingIterator) {
1568
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
1569
- if (aCallable$5(iteratorMethod)) return anObject$5(call$4(iteratorMethod, argument));
1570
- throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
1571
- };
1572
-
1573
- var bind = functionBindContext;
1574
- var call$3 = functionCall;
1575
- var anObject$4 = anObject$e;
1576
- var tryToString = tryToString$3;
1577
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
1578
- var lengthOfArrayLike = lengthOfArrayLike$2;
1579
- var isPrototypeOf = objectIsPrototypeOf;
1580
- var getIterator = getIterator$1;
1581
- var getIteratorMethod = getIteratorMethod$2;
1582
- var iteratorClose$2 = iteratorClose$5;
1583
-
1584
- var $TypeError$1 = TypeError;
1585
-
1586
- var Result = function (stopped, result) {
1587
- this.stopped = stopped;
1588
- this.result = result;
1589
- };
1590
-
1591
- var ResultPrototype = Result.prototype;
1592
-
1593
- var iterate$4 = function (iterable, unboundFunction, options) {
1594
- var that = options && options.that;
1595
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1596
- var IS_RECORD = !!(options && options.IS_RECORD);
1597
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1598
- var INTERRUPTED = !!(options && options.INTERRUPTED);
1599
- var fn = bind(unboundFunction, that);
1600
- var iterator, iterFn, index, length, result, next, step;
1601
-
1602
- var stop = function (condition) {
1603
- if (iterator) iteratorClose$2(iterator, 'normal', condition);
1604
- return new Result(true, condition);
1605
- };
1606
-
1607
- var callFn = function (value) {
1608
- if (AS_ENTRIES) {
1609
- anObject$4(value);
1610
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1611
- } return INTERRUPTED ? fn(value, stop) : fn(value);
1612
- };
1613
-
1614
- if (IS_RECORD) {
1615
- iterator = iterable.iterator;
1616
- } else if (IS_ITERATOR) {
1617
- iterator = iterable;
1618
- } else {
1619
- iterFn = getIteratorMethod(iterable);
1620
- if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
1621
- // optimisation for array iterators
1622
- if (isArrayIteratorMethod(iterFn)) {
1623
- for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
1624
- result = callFn(iterable[index]);
1625
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
1626
- } return new Result(false);
1627
- }
1628
- iterator = getIterator(iterable, iterFn);
1629
- }
1630
-
1631
- next = IS_RECORD ? iterable.next : iterator.next;
1632
- while (!(step = call$3(next, iterator)).done) {
1633
- try {
1634
- result = callFn(step.value);
1635
- } catch (error) {
1636
- iteratorClose$2(iterator, 'throw', error);
1637
- }
1638
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1639
- } return new Result(false);
1640
- };
1641
-
1642
- var $$9 = _export;
1643
- var iterate$3 = iterate$4;
1644
- var aCallable$4 = aCallable$9;
1645
- var anObject$3 = anObject$e;
1646
- var getIteratorDirect$3 = getIteratorDirect$5;
1647
-
1648
- // `Iterator.prototype.forEach` method
1649
- // https://github.com/tc39/proposal-iterator-helpers
1650
- $$9({ target: 'Iterator', proto: true, real: true }, {
1651
- forEach: function forEach(fn) {
1652
- anObject$3(this);
1653
- aCallable$4(fn);
1654
- var record = getIteratorDirect$3(this);
1655
- var counter = 0;
1656
- iterate$3(record, function (value) {
1657
- fn(value, counter++);
1658
- }, { IS_RECORD: true });
1659
- }
1660
- });
1661
-
1662
- var call$2 = functionCall;
1663
- var aCallable$3 = aCallable$9;
1664
- var anObject$2 = anObject$e;
1665
- var getIteratorDirect$2 = getIteratorDirect$5;
1666
- var createIteratorProxy = iteratorCreateProxy;
1667
- var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
1668
-
1669
- var IteratorProxy = createIteratorProxy(function () {
1670
- var iterator = this.iterator;
1671
- var result = anObject$2(call$2(this.next, iterator));
1672
- var done = this.done = !!result.done;
1673
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1674
- });
1675
-
1676
- // `Iterator.prototype.map` method
1677
- // https://github.com/tc39/proposal-iterator-helpers
1678
- var iteratorMap = function map(mapper) {
1679
- anObject$2(this);
1680
- aCallable$3(mapper);
1681
- return new IteratorProxy(getIteratorDirect$2(this), {
1682
- mapper: mapper
1683
- });
1684
- };
1685
-
1686
- var $$8 = _export;
1687
- var map = iteratorMap;
1688
- var IS_PURE = isPure;
1689
-
1690
- // `Iterator.prototype.map` method
1691
- // https://github.com/tc39/proposal-iterator-helpers
1692
- $$8({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
1693
- map: map
1694
- });
1695
-
1696
- var uncurryThis$2 = functionUncurryThis;
1697
-
1698
- // eslint-disable-next-line es/no-set -- safe
1699
- var SetPrototype$1 = Set.prototype;
1700
-
1701
- var setHelpers = {
1702
- // eslint-disable-next-line es/no-set -- safe
1703
- Set: Set,
1704
- add: uncurryThis$2(SetPrototype$1.add),
1705
- has: uncurryThis$2(SetPrototype$1.has),
1706
- remove: uncurryThis$2(SetPrototype$1['delete']),
1707
- proto: SetPrototype$1
1708
- };
1709
-
1710
- var has$5 = setHelpers.has;
1711
-
1712
- // Perform ? RequireInternalSlot(M, [[SetData]])
1713
- var aSet$7 = function (it) {
1714
- has$5(it);
1715
- return it;
1716
- };
1717
-
1718
- var call$1 = functionCall;
1719
-
1720
- var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
1721
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
1722
- var next = record.next;
1723
- var step, result;
1724
- while (!(step = call$1(next, iterator)).done) {
1725
- result = fn(step.value);
1726
- if (result !== undefined) return result;
1727
- }
1728
- };
1729
-
1730
- var uncurryThis$1 = functionUncurryThis;
1731
- var iterateSimple$6 = iterateSimple$7;
1732
- var SetHelpers$5 = setHelpers;
1733
-
1734
- var Set$3 = SetHelpers$5.Set;
1735
- var SetPrototype = SetHelpers$5.proto;
1736
- var forEach = uncurryThis$1(SetPrototype.forEach);
1737
- var keys = uncurryThis$1(SetPrototype.keys);
1738
- var next = keys(new Set$3()).next;
1739
-
1740
- var setIterate = function (set, fn, interruptible) {
1741
- return interruptible ? iterateSimple$6({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
1742
- };
1743
-
1744
- var SetHelpers$4 = setHelpers;
1745
- var iterate$2 = setIterate;
1746
-
1747
- var Set$2 = SetHelpers$4.Set;
1748
- var add$3 = SetHelpers$4.add;
1749
-
1750
- var setClone = function (set) {
1751
- var result = new Set$2();
1752
- iterate$2(set, function (it) {
1753
- add$3(result, it);
1754
- });
1755
- return result;
1756
- };
1757
-
1758
- var uncurryThis = functionUncurryThis;
1759
- var aCallable$2 = aCallable$9;
1760
-
1761
- var functionUncurryThisAccessor = function (object, key, method) {
1762
- try {
1763
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1764
- return uncurryThis(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
1765
- } catch (error) { /* empty */ }
1766
- };
1767
-
1768
- var uncurryThisAccessor = functionUncurryThisAccessor;
1769
- var SetHelpers$3 = setHelpers;
1770
-
1771
- var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function (set) {
1772
- return set.size;
1773
- };
1774
-
1775
- var aCallable$1 = aCallable$9;
1776
- var anObject$1 = anObject$e;
1777
- var call = functionCall;
1778
- var toIntegerOrInfinity = toIntegerOrInfinity$3;
1779
- var getIteratorDirect$1 = getIteratorDirect$5;
1780
-
1781
- var INVALID_SIZE = 'Invalid size';
1782
- var $RangeError = RangeError;
1783
- var $TypeError = TypeError;
1784
- var max = Math.max;
1785
-
1786
- var SetRecord = function (set, intSize) {
1787
- this.set = set;
1788
- this.size = max(intSize, 0);
1789
- this.has = aCallable$1(set.has);
1790
- this.keys = aCallable$1(set.keys);
1791
- };
1792
-
1793
- SetRecord.prototype = {
1794
- getIterator: function () {
1795
- return getIteratorDirect$1(anObject$1(call(this.keys, this.set)));
1796
- },
1797
- includes: function (it) {
1798
- return call(this.has, this.set, it);
1799
- }
1800
- };
1801
-
1802
- // `GetSetRecord` abstract operation
1803
- // https://tc39.es/proposal-set-methods/#sec-getsetrecord
1804
- var getSetRecord$7 = function (obj) {
1805
- anObject$1(obj);
1806
- var numSize = +obj.size;
1807
- // NOTE: If size is undefined, then numSize will be NaN
1808
- // eslint-disable-next-line no-self-compare -- NaN check
1809
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
1810
- var intSize = toIntegerOrInfinity(numSize);
1811
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
1812
- return new SetRecord(obj, intSize);
1813
- };
1814
-
1815
- var aSet$6 = aSet$7;
1816
- var SetHelpers$2 = setHelpers;
1817
- var clone$2 = setClone;
1818
- var size$4 = setSize;
1819
- var getSetRecord$6 = getSetRecord$7;
1820
- var iterateSet$2 = setIterate;
1821
- var iterateSimple$5 = iterateSimple$7;
1822
-
1823
- var has$4 = SetHelpers$2.has;
1824
- var remove$1 = SetHelpers$2.remove;
1825
-
1826
- // `Set.prototype.difference` method
1827
- // https://github.com/tc39/proposal-set-methods
1828
- var setDifference = function difference(other) {
1829
- var O = aSet$6(this);
1830
- var otherRec = getSetRecord$6(other);
1831
- var result = clone$2(O);
1832
- if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
1833
- if (otherRec.includes(e)) remove$1(result, e);
1834
- });
1835
- else iterateSimple$5(otherRec.getIterator(), function (e) {
1836
- if (has$4(O, e)) remove$1(result, e);
1837
- });
1838
- return result;
1839
- };
1840
-
1841
- var getBuiltIn = getBuiltIn$4;
1842
-
1843
- var createSetLike = function (size) {
1844
- return {
1845
- size: size,
1846
- has: function () {
1847
- return false;
1848
- },
1849
- keys: function () {
1850
- return {
1851
- next: function () {
1852
- return { done: true };
1853
- }
1854
- };
1855
- }
1856
- };
1857
- };
1858
-
1859
- var setMethodAcceptSetLike$7 = function (name) {
1860
- var Set = getBuiltIn('Set');
1861
- try {
1862
- new Set()[name](createSetLike(0));
1863
- try {
1864
- // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
1865
- // https://github.com/tc39/proposal-set-methods/pull/88
1866
- new Set()[name](createSetLike(-1));
1867
- return false;
1868
- } catch (error2) {
1869
- return true;
1870
- }
1871
- } catch (error) {
1872
- return false;
1873
- }
1874
- };
1875
-
1876
- var $$7 = _export;
1877
- var difference = setDifference;
1878
- var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
1879
-
1880
- // `Set.prototype.difference` method
1881
- // https://github.com/tc39/proposal-set-methods
1882
- $$7({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
1883
- difference: difference
1884
- });
1885
-
1886
- var aSet$5 = aSet$7;
1887
- var SetHelpers$1 = setHelpers;
1888
- var size$3 = setSize;
1889
- var getSetRecord$5 = getSetRecord$7;
1890
- var iterateSet$1 = setIterate;
1891
- var iterateSimple$4 = iterateSimple$7;
1892
-
1893
- var Set$1 = SetHelpers$1.Set;
1894
- var add$2 = SetHelpers$1.add;
1895
- var has$3 = SetHelpers$1.has;
1896
-
1897
- // `Set.prototype.intersection` method
1898
- // https://github.com/tc39/proposal-set-methods
1899
- var setIntersection = function intersection(other) {
1900
- var O = aSet$5(this);
1901
- var otherRec = getSetRecord$5(other);
1902
- var result = new Set$1();
1903
-
1904
- if (size$3(O) > otherRec.size) {
1905
- iterateSimple$4(otherRec.getIterator(), function (e) {
1906
- if (has$3(O, e)) add$2(result, e);
1907
- });
1908
- } else {
1909
- iterateSet$1(O, function (e) {
1910
- if (otherRec.includes(e)) add$2(result, e);
1911
- });
1912
- }
1913
-
1914
- return result;
1915
- };
1916
-
1917
- var $$6 = _export;
1918
- var fails = fails$c;
1919
- var intersection = setIntersection;
1920
- var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
1921
-
1922
- var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails(function () {
1923
- // eslint-disable-next-line es/no-array-from, es/no-set -- testing
1924
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
1925
- });
1926
-
1927
- // `Set.prototype.intersection` method
1928
- // https://github.com/tc39/proposal-set-methods
1929
- $$6({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
1930
- intersection: intersection
1931
- });
1932
-
1933
- var aSet$4 = aSet$7;
1934
- var has$2 = setHelpers.has;
1935
- var size$2 = setSize;
1936
- var getSetRecord$4 = getSetRecord$7;
1937
- var iterateSet = setIterate;
1938
- var iterateSimple$3 = iterateSimple$7;
1939
- var iteratorClose$1 = iteratorClose$5;
1940
-
1941
- // `Set.prototype.isDisjointFrom` method
1942
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
1943
- var setIsDisjointFrom = function isDisjointFrom(other) {
1944
- var O = aSet$4(this);
1945
- var otherRec = getSetRecord$4(other);
1946
- if (size$2(O) <= otherRec.size) return iterateSet(O, function (e) {
1947
- if (otherRec.includes(e)) return false;
1948
- }, true) !== false;
1949
- var iterator = otherRec.getIterator();
1950
- return iterateSimple$3(iterator, function (e) {
1951
- if (has$2(O, e)) return iteratorClose$1(iterator, 'normal', false);
1952
- }) !== false;
1953
- };
1954
-
1955
- var $$5 = _export;
1956
- var isDisjointFrom = setIsDisjointFrom;
1957
- var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
1958
-
1959
- // `Set.prototype.isDisjointFrom` method
1960
- // https://github.com/tc39/proposal-set-methods
1961
- $$5({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
1962
- isDisjointFrom: isDisjointFrom
1963
- });
1964
-
1965
- var aSet$3 = aSet$7;
1966
- var size$1 = setSize;
1967
- var iterate$1 = setIterate;
1968
- var getSetRecord$3 = getSetRecord$7;
1969
-
1970
- // `Set.prototype.isSubsetOf` method
1971
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
1972
- var setIsSubsetOf = function isSubsetOf(other) {
1973
- var O = aSet$3(this);
1974
- var otherRec = getSetRecord$3(other);
1975
- if (size$1(O) > otherRec.size) return false;
1976
- return iterate$1(O, function (e) {
1977
- if (!otherRec.includes(e)) return false;
1978
- }, true) !== false;
1979
- };
1980
-
1981
- var $$4 = _export;
1982
- var isSubsetOf = setIsSubsetOf;
1983
- var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
1984
-
1985
- // `Set.prototype.isSubsetOf` method
1986
- // https://github.com/tc39/proposal-set-methods
1987
- $$4({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
1988
- isSubsetOf: isSubsetOf
1989
- });
1990
-
1991
- var aSet$2 = aSet$7;
1992
- var has$1 = setHelpers.has;
1993
- var size = setSize;
1994
- var getSetRecord$2 = getSetRecord$7;
1995
- var iterateSimple$2 = iterateSimple$7;
1996
- var iteratorClose = iteratorClose$5;
1997
-
1998
- // `Set.prototype.isSupersetOf` method
1999
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
2000
- var setIsSupersetOf = function isSupersetOf(other) {
2001
- var O = aSet$2(this);
2002
- var otherRec = getSetRecord$2(other);
2003
- if (size(O) < otherRec.size) return false;
2004
- var iterator = otherRec.getIterator();
2005
- return iterateSimple$2(iterator, function (e) {
2006
- if (!has$1(O, e)) return iteratorClose(iterator, 'normal', false);
2007
- }) !== false;
2008
- };
2009
-
2010
- var $$3 = _export;
2011
- var isSupersetOf = setIsSupersetOf;
2012
- var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
2013
-
2014
- // `Set.prototype.isSupersetOf` method
2015
- // https://github.com/tc39/proposal-set-methods
2016
- $$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
2017
- isSupersetOf: isSupersetOf
2018
- });
2019
-
2020
- var aSet$1 = aSet$7;
2021
- var SetHelpers = setHelpers;
2022
- var clone$1 = setClone;
2023
- var getSetRecord$1 = getSetRecord$7;
2024
- var iterateSimple$1 = iterateSimple$7;
2025
-
2026
- var add$1 = SetHelpers.add;
2027
- var has = SetHelpers.has;
2028
- var remove = SetHelpers.remove;
2029
-
2030
- // `Set.prototype.symmetricDifference` method
2031
- // https://github.com/tc39/proposal-set-methods
2032
- var setSymmetricDifference = function symmetricDifference(other) {
2033
- var O = aSet$1(this);
2034
- var keysIter = getSetRecord$1(other).getIterator();
2035
- var result = clone$1(O);
2036
- iterateSimple$1(keysIter, function (e) {
2037
- if (has(O, e)) remove(result, e);
2038
- else add$1(result, e);
2039
- });
2040
- return result;
2041
- };
2042
-
2043
- var $$2 = _export;
2044
- var symmetricDifference = setSymmetricDifference;
2045
- var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
2046
-
2047
- // `Set.prototype.symmetricDifference` method
2048
- // https://github.com/tc39/proposal-set-methods
2049
- $$2({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
2050
- symmetricDifference: symmetricDifference
2051
- });
2052
-
2053
- var aSet = aSet$7;
2054
- var add = setHelpers.add;
2055
- var clone = setClone;
2056
- var getSetRecord = getSetRecord$7;
2057
- var iterateSimple = iterateSimple$7;
2058
-
2059
- // `Set.prototype.union` method
2060
- // https://github.com/tc39/proposal-set-methods
2061
- var setUnion = function union(other) {
2062
- var O = aSet(this);
2063
- var keysIter = getSetRecord(other).getIterator();
2064
- var result = clone(O);
2065
- iterateSimple(keysIter, function (it) {
2066
- add(result, it);
2067
- });
2068
- return result;
2069
- };
2070
-
2071
- var $$1 = _export;
2072
- var union = setUnion;
2073
- var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
2074
-
2075
- // `Set.prototype.union` method
2076
- // https://github.com/tc39/proposal-set-methods
2077
- $$1({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
2078
- union: union
2079
- });
2080
-
2081
20
  const MAX_FUTURE_DATE = new Date(Date.UTC(9999, 0));
2082
21
  /**
2083
22
  * Returns true if the input is a date.
@@ -2157,11 +96,11 @@ function parseJsDateString(input) {
2157
96
  }
2158
97
  function earliestDate(dates, defaultDate = undefined) {
2159
98
  const filtered = filterMaybeArrayValues(dates);
2160
- return filtered.length > 0 ? min$2(filtered) : defaultDate;
99
+ return filtered.length > 0 ? min(filtered) : defaultDate;
2161
100
  }
2162
101
  function latestDate(dates, defaultDate = undefined) {
2163
102
  const filtered = filterMaybeArrayValues(dates);
2164
- return filtered.length > 0 ? max$2(filtered) : defaultDate;
103
+ return filtered.length > 0 ? max(filtered) : defaultDate;
2165
104
  }
2166
105
  function isAfter(a, b, defaultValue = undefined) {
2167
106
  return a && b ? isAfter$1(a, b) : defaultValue;
@@ -2187,50 +126,6 @@ function isSameDateDay(a, b, defaultValue = null) {
2187
126
  function utcDayForDate(date) {
2188
127
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
2189
128
  }
2190
- /**
2191
- * Takes the next occuring time of the input date's hours/minutes.
2192
- *
2193
- * For example, if it is currently 9PM:
2194
- * - if 10PM on any day is passed then 9PM the next day will be returned.
2195
- * - if 11PM on any day is passed, 11PM today will be returned.
2196
- *
2197
- * @deprecated Fails in the rare case where it is the first two hours of a day in a daylight savings zone when daylight savings changes.
2198
- */
2199
- function takeNextUpcomingTime(date, roundDownToMinute) {
2200
- date = copyHoursAndMinutesFromDateToToday(date, roundDownToMinute);
2201
- if (isPast(date)) {
2202
- date = addDays(date, 1);
2203
- }
2204
- return date;
2205
- }
2206
- /**
2207
- * Creates a new date and copies the hours/minutes from the previous date and applies them to a date for today.
2208
- *
2209
- * @deprecated Fails in the rare case where it is the first two hours of a day in a daylight savings zone when daylight savings changes.
2210
- */
2211
- function copyHoursAndMinutesFromDateToToday(fromDate, roundDownToMinute) {
2212
- return copyHoursAndMinutesFromDate(new Date(), fromDate, roundDownToMinute);
2213
- }
2214
- /**
2215
- * Copies the hours/minutes from now to the target date.
2216
- *
2217
- * @deprecated Fails in the rare case where it is the first two hours of a day in a daylight savings zone when daylight savings changes.
2218
- */
2219
- function copyHoursAndMinutesFromNow(target, roundDownToMinute) {
2220
- return copyHoursAndMinutesFromDate(target, new Date(), roundDownToMinute);
2221
- }
2222
- /**
2223
- * Creates a new date and copies the hours/minutes from the input date to the target date.
2224
- *
2225
- * @deprecated Fails in the rare case where it is the first two hours of a day in a daylight savings zone when daylight savings changes.
2226
- */
2227
- function copyHoursAndMinutesFromDate(target, fromDate, roundDownToMinute) {
2228
- return copyHoursAndMinutesToDate({
2229
- hours: fromDate.getHours(),
2230
- minutes: fromDate.getMinutes(),
2231
- roundDownToMinute
2232
- }, target);
2233
- }
2234
129
  /**
2235
130
  * Creates a new date using UTC and copies the hours/minutes from the input date using the UTC values to the target date.
2236
131
  */
@@ -2248,7 +143,7 @@ function copyHoursAndMinutesToDate({
2248
143
  removeSeconds,
2249
144
  roundDownToMinute = true
2250
145
  }, target) {
2251
- return set$1(target ?? new Date(), {
146
+ return set(target ?? new Date(), {
2252
147
  hours,
2253
148
  ...(minutes != null ? {
2254
149
  minutes
@@ -2328,11 +223,11 @@ function reduceDatesFunction(reduceDates) {
2328
223
  /**
2329
224
  * Finds the minimum date in the input. If no dates are input, returns undefined.
2330
225
  */
2331
- const findMinDate = reduceDatesFunction(min$2);
226
+ const findMinDate = reduceDatesFunction(min);
2332
227
  /**
2333
228
  * Finds the maximum date in the input. If no dates are input, returns undefined.
2334
229
  */
2335
- const findMaxDate = reduceDatesFunction(max$2);
230
+ const findMaxDate = reduceDatesFunction(max);
2336
231
  /**
2337
232
  * Reads the unique days of the week from the given dates, until all the unique dates are returned.
2338
233
  *
@@ -4138,19 +2033,6 @@ function parseISO8601DayStringToDate(dayString) {
4138
2033
  const result = parse(dayString, format, new Date());
4139
2034
  return startOfDay(result);
4140
2035
  }
4141
- // MARK: Compat
4142
- /**
4143
- * @deprecated use toISO8601DayStringForSystem instead for clarity. Will be removed in the future.
4144
- */
4145
- const toISO8601DayString = toISO8601DayStringForSystem;
4146
- /**
4147
- * @deprecated use formatToISO8601DayStringForSystem instead for clarity. Will be removed in the future.
4148
- */
4149
- const formatToISO8601DayString = formatToISO8601DayStringForSystem;
4150
- /**
4151
- * @deprecated use formatToMonthDaySlashDate instead for clarity. Will be removed in the future.
4152
- */
4153
- const dateShortDateStringFormat = monthDaySlashDateStringFormat;
4154
2036
 
4155
2037
  /**
4156
2038
  * Returns true if the index is a non-negative integer.
@@ -4797,26 +2679,6 @@ function isValidFullDateCellTiming(timing) {
4797
2679
  return isValid;
4798
2680
  }
4799
2681
 
4800
- var $ = _export;
4801
- var iterate = iterate$4;
4802
- var aCallable = aCallable$9;
4803
- var anObject = anObject$e;
4804
- var getIteratorDirect = getIteratorDirect$5;
4805
-
4806
- // `Iterator.prototype.find` method
4807
- // https://github.com/tc39/proposal-iterator-helpers
4808
- $({ target: 'Iterator', proto: true, real: true }, {
4809
- find: function find(predicate) {
4810
- anObject(this);
4811
- aCallable(predicate);
4812
- var record = getIteratorDirect(this);
4813
- var counter = 0;
4814
- return iterate(record, function (value, stop) {
4815
- if (predicate(value, counter++)) return stop(value);
4816
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
4817
- }
4818
- });
4819
-
4820
2682
  class DateCellRange extends DateCell {
4821
2683
  constructor(template) {
4822
2684
  super(template);
@@ -6402,8 +4264,8 @@ function yearWeekCodeForDateRangeFactory(factory = yearWeekCodeFactory()) {
6402
4264
  const weeks = [];
6403
4265
  let current = startOfWeek(start);
6404
4266
  while (!isAfter$1(current, end)) {
6405
- const week = factory(current);
6406
- weeks.push(week);
4267
+ // use yearWeekCodePairFromDate directly since current is already in target timezone form after systemDateToTargetDate
4268
+ weeks.push(yearWeekCodeFromPair(yearWeekCodePairFromDate(current)));
6407
4269
  current = addWeeks(current, 1);
6408
4270
  }
6409
4271
  // TODO: Add test for {"start":"2023-09-24T03:21:24.127Z","end":"2023-09-30T04:59:59.999Z"}
@@ -6891,7 +4753,9 @@ function dateCellScheduleDateRange(input) {
6891
4753
  start = normalInstance.startOfDayInTargetTimezone(startInSystemTimezone); // ensure the start of the day is set/matches the timezone.
6892
4754
  } else {
6893
4755
  if (inputStartsAt != null) {
6894
- start = normalInstance.startOfDayInTargetTimezone(inputStartsAt);
4756
+ // use ISO day string path to avoid system-timezone-dependent startOfDay; matches dateCellTiming behavior
4757
+ const startsAtInTarget = normalInstance.baseDateToTargetDate(inputStartsAt);
4758
+ start = normalInstance.startOfDayInTargetTimezone(formatToISO8601DayStringForUTC(startsAtInTarget));
6895
4759
  } else if (inputEnd != null) {
6896
4760
  start = normalInstance.startOfDayInTargetTimezone(inputEnd); // start on the same day as the end date
6897
4761
  } else {
@@ -7449,7 +5313,7 @@ function roundDateTimeDown(date, round) {
7449
5313
  minutes: 0
7450
5314
  };
7451
5315
  }
7452
- return set$1(date, rounding);
5316
+ return set(date, rounding);
7453
5317
  }
7454
5318
  /**
7455
5319
  * Rounds the current number of minutes on the date to the nearest step.
@@ -7464,11 +5328,11 @@ function roundToMinuteSteps(date, step) {
7464
5328
  if (roundedValue !== minute) {
7465
5329
  if (roundedValue === 60) {
7466
5330
  // Round the hour up.
7467
- date = addHours(set$1(date, {
5331
+ date = addHours(set(date, {
7468
5332
  minutes: 0
7469
5333
  }), 1);
7470
5334
  } else {
7471
- date = set$1(date, {
5335
+ date = set(date, {
7472
5336
  minutes: roundedValue
7473
5337
  });
7474
5338
  }
@@ -7493,7 +5357,7 @@ function dateInterval(config) {
7493
5357
  }
7494
5358
  const intervalPeriod = period ?? MS_IN_SECOND;
7495
5359
  const factory = inputFactory ? inputFactory : protectedFactory(logicalDateStringCodeDateFactory(logicalDate));
7496
- let obs = interval(intervalPeriod, scheduler).pipe(startWith(-1), map$1(factory));
5360
+ let obs = interval(intervalPeriod, scheduler).pipe(startWith(-1), map(factory));
7497
5361
  if (emitAll !== true) {
7498
5362
  obs = obs.pipe(distinctUntilChanged(isSameDate));
7499
5363
  }
@@ -7613,7 +5477,17 @@ class LimitDateTimeInstance {
7613
5477
  const dateRange = this.dateRange();
7614
5478
  result = clampDateToDateRange(date, dateRange);
7615
5479
  if (this._config.takeNextUpcomingTime) {
7616
- result = takeNextUpcomingTime(result, this._config.roundDownToMinute ?? false);
5480
+ // Inline implementation of deprecated takeNextUpcomingTime
5481
+ // Copy hours/minutes from result to today, then add a day if it's in the past
5482
+ const roundDownToMinute = this._config.roundDownToMinute ?? false;
5483
+ result = copyHoursAndMinutesToDate({
5484
+ hours: result.getHours(),
5485
+ minutes: result.getMinutes(),
5486
+ roundDownToMinute
5487
+ }, new Date());
5488
+ if (isPast(result)) {
5489
+ result = addDays(result, 1);
5490
+ }
7617
5491
  } else if (this._config.roundDownToMinute) {
7618
5492
  result = roundDownToMinute(result);
7619
5493
  }
@@ -8116,138 +5990,6 @@ function limitDateTime(config) {
8116
5990
  return new LimitDateTimeInstance(config);
8117
5991
  }
8118
5992
 
8119
- // MARK: Compat
8120
- /**
8121
- * Returns true if any of the input items have expired.
8122
- *
8123
- * If the list is empty, returns false.
8124
- *
8125
- * @deprecated Use ExpirationDetails and checkAtleastOneNotExpired() instead.
8126
- */
8127
- function atleastOneNotExpired(expires) {
8128
- for (const expire of expires) {
8129
- if (!hasExpired(expire)) {
8130
- return true;
8131
- }
8132
- }
8133
- return false;
8134
- }
8135
- /**
8136
- * Returns true if any of the input items has expired.
8137
- *
8138
- * If the list is empty, returns the second argument, or true by default.
8139
- *
8140
- * @deprecated Use ExpirationDetails and checkAnyHaveExpired() instead.
8141
- */
8142
- function anyHaveExpired(expires, expireIfEmpty = true) {
8143
- if (expires.length === 0) {
8144
- return expireIfEmpty;
8145
- }
8146
- for (const expire of expires) {
8147
- if (hasExpired(expire)) {
8148
- return true;
8149
- }
8150
- }
8151
- return false;
8152
- }
8153
- /**
8154
- * Convenience function for checking if the input time has expired.
8155
- *
8156
- * @param timeNumber
8157
- * @param expiresIn
8158
- * @returns
8159
- *
8160
- * @deprecated Use isThrottled() or expirationDetails({ expiresFromDate: time, expiresIn }).hasExpired() instead.
8161
- */
8162
- function timeHasExpired(time, expiresIn) {
8163
- return hasExpired(toExpires(time, expiresIn));
8164
- }
8165
- /**
8166
- * Creates an Expires object from the input date or time number.
8167
- *
8168
- * @deprecated Use ExpirationDetails instead.
8169
- *
8170
- * @param timeNumber Number to convert to a date.
8171
- * @param expiresIn If the input number is the initial date, and not the expiration date, this is used to find the expiresAt time.
8172
- */
8173
- function toExpires(time, expiresIn) {
8174
- let expiresAt = dateFromDateOrTimeMillisecondsNumber(time);
8175
- if (expiresAt && expiresIn != null) {
8176
- expiresAt = addMilliseconds(expiresAt, expiresIn);
8177
- }
8178
- return {
8179
- expiresAt
8180
- };
8181
- }
8182
- /**
8183
- * Checks whether or not the item has expired. If no expiration date is set, it is considered expired.
8184
- *
8185
- * @deprecated Use ExpirationDetails instead.
8186
- */
8187
- function hasExpired(expires) {
8188
- const expiresAt = getExpiration(expires);
8189
- return isPast(expiresAt);
8190
- }
8191
- /**
8192
- * Returns the expiration date, or a date 1 minute in the past if not defined.
8193
- *
8194
- * @deprecated Use ExpirationDetails instead.
8195
- */
8196
- function getExpiration(expires) {
8197
- return expires?.expiresAt ?? addMinutes(new Date(), -1);
8198
- }
8199
-
8200
- // TODO: Deprecate and move to @dereekb/rxjs
8201
- /**
8202
- * Creates a new Expires object at the current time on emission that will expire in the set amount of time.
8203
- *
8204
- * @param expiresIn
8205
- * @returns
8206
- */
8207
- function toExpiration(expiresIn) {
8208
- return map$1(() => toExpires(new Date(), expiresIn));
8209
- }
8210
- /**
8211
- * Filters further emissions once the input is expired.
8212
- */
8213
- function skipExpired() {
8214
- return filter(expires => !hasExpired(expires));
8215
- }
8216
- /**
8217
- * Skips the input date or timenumber until expiration occurs.
8218
- */
8219
- function skipUntilExpiration(expiresIn) {
8220
- return filter(x => timeHasExpired(x, expiresIn));
8221
- }
8222
- /**
8223
- * Skips the input date or timenumber after expiration occurs.
8224
- */
8225
- function skipAfterExpiration(expiresIn) {
8226
- return filter(x => !timeHasExpired(x, expiresIn));
8227
- }
8228
- /**
8229
- * Skips emissions until time since the last emission from the watch observable has elapsed.
8230
- */
8231
- function skipUntilTimeElapsedAfterLastEmission(watch, takeFor) {
8232
- return observable => {
8233
- return watch.pipe(switchMap(() => {
8234
- const expires = toExpires(new Date(), takeFor);
8235
- return observable.pipe(takeWhile(() => !hasExpired(expires)));
8236
- }));
8237
- };
8238
- }
8239
- /**
8240
- * Takes emissions until time since the last emission from the watch observable has elapsed.
8241
- */
8242
- function takeAfterTimeElapsedSinceLastEmission(watch, skipFor) {
8243
- return observable => {
8244
- return watch.pipe(switchMap(() => {
8245
- const expires = toExpires(new Date(), skipFor);
8246
- return observable.pipe(skipWhile(() => !hasExpired(expires)));
8247
- }));
8248
- };
8249
- }
8250
-
8251
5993
  function makeDateQueryForOccuringFilter(find) {
8252
5994
  const result = {};
8253
5995
  result.timezone = find.timezone;
@@ -8951,4 +6693,4 @@ class ModelRecurrenceInfoUtility {
8951
6693
  }
8952
6694
  }
8953
6695
 
8954
- export { AnyIterResult, CalendarDate, CalendarDateType, DATE_CELL_SCHEDULE_ENCODED_WEEK_REGEX, DATE_TODAY_END_VALUE, DATE_TODAY_START_VALUE, DATE_WEEK_END_VALUE, DATE_WEEK_START_VALUE, DEFAULT_EXPAND_DAYS_FOR_DATE_RANGE_MAX_EXPANSION_SIZE, DEFAULT_FULL_DATE_SCHEDULE_RANGE_DURATION, DEFAULT_ITERATE_DAYS_IN_DATE_RANGE_MAX_ITERATIONS, DEFAULT_LAST_ITER_RESULT_MAX_ITERATIONS_ALLOWED, DateCell, DateCellRange, DateCellSchedule, DateCellScheduleDayCode, DateCellTiming, DateDurationSpan, DateRRule, DateRRuleInstance, DateRRuleParseUtility, DateRRuleUtility, DateRange, DateRangeParams, DateRangeType, DateSet, DateTimeMinuteInstance, DateTimeUtilityInstance, DateTimezoneUtcNormalInstance, IsKnownTimezone, IsValidDateCellRange, IsValidDateCellRangeSeries, IsValidDateCellTiming, IterateDaysInDateRangeFunctionBailError, LastIterResult, LimitDateTimeInstance, MAX_FUTURE_DATE, ModelRecurrenceInfo, ModelRecurrenceInfoUtility, NextIterResult, RRuleStringSplitter, SYSTEM_DATE_TIMEZONE_UTC_NORMAL_INSTANCE, UNKNOWN_YEAR_WEEK_CODE, UTC_DATE_TIMEZONE_UTC_NORMAL_INSTANCE, allIndexesInDateCellRange, allIndexesInDateCellRanges, allIndexesInDateCellRangesToArray, allKnownTimezoneStrings, allTimezoneInfos, allTimezoneStrings, anyHaveExpired, atleastOneNotExpired, baseDateToTargetDate, calculateAllConversions, calculateExpectedDateCellTimingDuration, calculateExpectedDateCellTimingDurationPair, calculateTimezoneOffset, calendarDate, calendarDateFactory, calendarDateForDateDurationSpan, changeDateCellScheduleDateRangeToTimezone, changeDateCellScheduleDateRangeToTimezoneFunction, clampDateFunction, clampDateRangeFunction, clampDateRangeToDateRange, clampDateToDateRange, copyDateCellScheduleDateFilterConfig, copyHoursAndMinutesFromDate, copyHoursAndMinutesFromDateToToday, copyHoursAndMinutesFromDateWithTimezoneNormal, copyHoursAndMinutesFromNow, copyHoursAndMinutesFromNowWithTimezoneNormal, copyHoursAndMinutesFromUTCDate, copyHoursAndMinutesToDate, copyHoursAndMinutesToToday, dateCell, dateCellDayOfWeekFactory, dateCellDayTimingInfoFactory, dateCellDurationSpanHasEndedFilterFunction, dateCellDurationSpanHasNotEndedFilterFunction, dateCellDurationSpanHasNotStartedFilterFunction, dateCellDurationSpanHasStartedFilterFunction, dateCellEndIndex, dateCellIndexRange, dateCellIndexRangeToDateCellRange, dateCellIndexYearWeekCodeFactory, dateCellIndexYearWeekCodeGroupFactory, dateCellIndexsForDateCellScheduleDayCodes, dateCellRange, dateCellRangeBlocksCount, dateCellRangeBlocksCountInfo, dateCellRangeHasRange, dateCellRangeIncludedByRangeFunction, dateCellRangeOfTiming, dateCellRangeOfTimingFactory, dateCellRangeOverlapsRange, dateCellRangeOverlapsRangeFunction, dateCellRangeToDateCellIndexRange, dateCellRangeWithRange, dateCellRangeWithRangeFromIndex, dateCellRangesFullyCoverDateCellRangeFunction, dateCellScheduleDateCellTimingFilter, dateCellScheduleDateFilter, dateCellScheduleDateRange, dateCellScheduleDayCodeFactory, dateCellScheduleDayCodesAreSetsEquivalent, dateCellScheduleDayCodesFromEnabledDays, dateCellScheduleDayCodesSetFromDaysOfWeek, dateCellScheduleEncodedWeek, dateCellTiming, dateCellTimingCompletedTimeRange, dateCellTimingDateFactory, dateCellTimingDateRange, dateCellTimingEndDateFactory, dateCellTimingEndIndex, dateCellTimingEventRange, dateCellTimingExpansionFactory, dateCellTimingFinalStartsAtEvent, dateCellTimingFromDateCellTimingStartsAtEndRange, dateCellTimingLatestCompletedIndex, dateCellTimingRelativeIndexArrayFactory, dateCellTimingRelativeIndexFactory, dateCellTimingStart, dateCellTimingStartDateFactory, dateCellTimingStartPair, dateCellTimingStartsAtDateFactory, dateCellTimingStartsAtForStartOfDay, dateCellTimingTimezoneNormalInstance, dateDurationSpanEndDate, dateFromLogicalDate, dateInterval, dateMonthDayStringFormat, dateOrDateRangeToDateRange, dateOrDayStringRangeToDateRange, dateOrDayStringRangeToISO8601DayStringRange, dateRange, dateRangeDaysCount, dateRangeFromStartAndEndOfDay, dateRangeOverlapsDateRange, dateRangeOverlapsDateRangeFunction, dateRangeRelativeState, dateRelativeStateForDateCellRangeComparedToIndex, dateShortDateAndTimeStringFormat, dateShortDateStringFormat, dateTimeInstance, dateTimeInstanceUtc, dateTimeMinuteDecisionFunction, dateTimeMinuteWholeDayDecisionFunction, dateTimeStringFormat, dateTimezoneUtcNormal, daysToMinutes, durationSpanDateRelativeState, durationSpanFromDateRange, durationSpanToDateRange, earliestDate, enabledDaysFromDateCellScheduleDayCodes, endItreateDaysInDateRangeEarly, expandDateCellCollection, expandDateCellRange, expandDateCellSchedule, expandDateCellScheduleDayCodes, expandDateCellScheduleDayCodesToDayCodesSet, expandDateCellScheduleDayCodesToDayOfWeekSet, expandDateCellScheduleFactory, expandDateCellScheduleRange, expandDateCellScheduleRangeToDateCellRanges, expandDateCellTiming, expandDaysForDateRange, expandDaysForDateRangeFunction, expandUniqueDateCellsFunction, filterDateCellsInDateCellRange, findMaxDate, findMinDate, findNextDateInDateCellScheduleFilter, fitDateRangeToDayPeriod, fitDateRangeToDayPeriodFunction, fitUTCDateRangeToDayPeriod, forEachDayInDateRange, formatDateDistance, formatDateRange, formatDateRangeDistance, formatDateRangeDistanceFunction, formatDateRangeFunction, formatStartedEndedDistanceString, formatToDateString, formatToDayRangeString, formatToDayTimeRangeString, formatToISO8601DateString, formatToISO8601DayString, formatToISO8601DayStringForSystem, formatToISO8601DayStringForUTC, formatToMonthDaySlashDate, formatToMonthDayString, formatToShortDateAndTimeString, formatToShortDateString, formatToTimeAndDurationString, formatToTimeRangeString, formatToTimeString, fractionalHoursInDurationSpan, fullDateCellScheduleRange, fullDateCellTiming, fullDateCellTimingTimezonePair, fullWeekDateCellScheduleDayCodes, getCurrentSystemOffsetInHours, getCurrentSystemOffsetInMinutes, getCurrentSystemOffsetInMs, getDateCellTimingFirstEventDateRange, getDateCellTimingHoursInEvent, getDaysOfWeekInDateRange, getExpiration, getGreatestDateCellIndexInDateCellRanges, getLeastAndGreatestDateCellIndexInDateCellRanges, getLeastDateCellIndexInDateCellRanges, getNextDateCellTimingIndex, getRelativeDateForDateCellTiming, getRelativeIndexForDateCellTiming, getTimeAM, getTimezoneAbbreviation, getTimezoneLongName, groupDateRangesByDateRelativeState, groupToDateCellRanges, groupUniqueDateCells, guessCurrentTimezone, hasExpired, hoursToMs, inverseDateTimezoneUtcNormalInstanceTransformType, isAfter, isBefore, isDate, isDateCellRange, isDateCellSchedule, isDateCellScheduleDateRange, isDateCellScheduleEncodedWeek, isDateCellScheduleStartOfDayDateRange, isDateCellTiming, isDateCellTimingRelativeIndexFactory, isDateCellWithinDateCellRange, isDateCellWithinDateCellRangeFunction, isDateInDateRange, isDateInDateRangeFunction, isDateRange, isDateRangeInDateRange, isDateRangeInDateRangeFunction, isDateRangeStart, isDateWithinDateCellRangeFunction, isEmptyDateCellScheduleEncodedWeek, isEndOfDayInUTC, isFullDateCellScheduleDateRange, isFullDateCellTiming, isFullDateRange, isInfiniteDateRange, isKnownTimezone, isLogicalDateStringCode, isMaxFutureDate, isPartialDateRange, isSameDate, isSameDateCellSchedule, isSameDateCellScheduleDateRange, isSameDateCellScheduleEventRange, isSameDateCellTiming, isSameDateCellTimingEventStartsAtEndRange, isSameDateDay, isSameDateDayRange, isSameDateHoursAndMinutes, isSameDateRange, isSameDateTimezoneConversionConfig, isSameDurationSpan, isSameFullDateCellScheduleDateRange, isSameFullDateCellTiming, isStartOfDayForSystem, isStartOfDayInUTC, isValidDateCellIndex, isValidDateCellRange, isValidDateCellRangeSeries, isValidDateCellTiming, isValidDateCellTimingInfo, isValidDateCellTimingStartDate, isValidDateFromTimestringResult, isValidDateTimezoneConversionConfig, isValidFullDateCellTiming, isValidFullDateCellTimingInfo, iterateDaysInDateRange, iterateDaysInDateRangeFunction, latestDate, latestMinute, limitDateTime, limitDateTimeInstance, logicalDateStringCodeDateFactory, makeDateQueryForDateItemRangeFilter, makeDateQueryForDateStartsEndsFilter, makeDateQueryForOccuringFilter, makeDaysAndTimeFiltersFunction, makeMongoDBLikeDateQueryBuilder, maxFutureDate, mergeMongoDBLikeRangeFilters, minutesToMs, modifyDateCellToFitRange, modifyDateCellsToFitRange, modifyDateCellsToFitRangeFunction, monthDaySlashDateStringFormat, msToMinutes, msToSeconds, nowInterval, parseISO8601DayStringToDate, parseJsDateString, parseReadableTimeString, rawDateCellScheduleDayCodes, readDaysOfWeek, readDaysOfWeekNames, readableTimeStringToDate, reduceDatesFunction, requireCurrentTimezone, roundDateDownTo, roundDateTimeDown, roundDateTimeDownToSteps, roundDateTo, roundDateToDate, roundDateToUnixDateTimeNumber, roundDownToHour, roundDownToMinute, roundToMinuteSteps, safeFormatToISO8601DateString, safeToJsDate, searchTimezoneInfos, setOnDateWithTimezoneNormalFunction, shiftDateCellTimingToSystemTimezone, shiftDateCellTimingToTimezone, shiftDateCellTimingToTimezoneFunction, shiftDateCellTimingToUTCTimezone, simplifyDateCellScheduleDayCodes, skipAfterExpiration, skipExpired, skipUntilExpiration, skipUntilTimeElapsedAfterLastEmission, sortByDateFunction, sortByISO8601DateStringFunction, sortByISO8601DateStrings, sortDateCellRangeAndSizeFunction, sortDateCellRanges, sortDateRangeStartAscendingCompareFunction, startOfDayInTimezoneDayStringFactory, startOfDayInTimezoneFromISO8601DayString, startOfWeekForYearWeekCode, systemBaseDateToNormalDate, systemBaseDateToNormalDateOffset, systemDateTimezoneUtcNormal, systemExperiencesDaylightSavings, systemNormalDateToBaseDate, systemNormalDateToBaseDateOffset, takeAfterTimeElapsedSinceLastEmission, takeNextUpcomingTime, targetDateToBaseDate, timeHasExpired, timezoneInfoForSystem, timezoneStringToSearchableString, timezoneStringToTimezoneInfo, toExpiration, toExpires, toISO8601DayString, toISO8601DayStringForSystem, toISO8601DayStringForUTC, toISODateString, toJsDate, toJsDayDate, toLocalReadableTimeString, toReadableTimeString, transformDateInTimezoneNormalFunction, transformDateRangeDatesFunction, transformDateRangeInTimezoneNormalFunction, transformDateRangeToTimezoneFunction, transformDateRangeWithStartOfDay, updateDateCellTimingToSystemTimezone, updateDateCellTimingToTimezone, updateDateCellTimingToTimezoneFunction, updateDateCellTimingToUTCTimezone, updateDateCellTimingWithDateCellTimingEvent, utcDayForDate, weekdayDateCellScheduleDayCodes, weekendDateCellScheduleDayCodes, yearWeekCode, yearWeekCodeDateFactory, yearWeekCodeDateTimezoneInstance, yearWeekCodeFactory, yearWeekCodeForCalendarMonth, yearWeekCodeForCalendarMonthFactory, yearWeekCodeForDateRange, yearWeekCodeForDateRangeFactory, yearWeekCodeForDateRangeInTimezone, yearWeekCodeFromDate, yearWeekCodeFromPair, yearWeekCodeGroupFactory, yearWeekCodeIndex, yearWeekCodePair, yearWeekCodePairFromDate };
6696
+ export { AnyIterResult, CalendarDate, CalendarDateType, DATE_CELL_SCHEDULE_ENCODED_WEEK_REGEX, DATE_TODAY_END_VALUE, DATE_TODAY_START_VALUE, DATE_WEEK_END_VALUE, DATE_WEEK_START_VALUE, DEFAULT_EXPAND_DAYS_FOR_DATE_RANGE_MAX_EXPANSION_SIZE, DEFAULT_FULL_DATE_SCHEDULE_RANGE_DURATION, DEFAULT_ITERATE_DAYS_IN_DATE_RANGE_MAX_ITERATIONS, DEFAULT_LAST_ITER_RESULT_MAX_ITERATIONS_ALLOWED, DateCell, DateCellRange, DateCellSchedule, DateCellScheduleDayCode, DateCellTiming, DateDurationSpan, DateRRule, DateRRuleInstance, DateRRuleParseUtility, DateRRuleUtility, DateRange, DateRangeParams, DateRangeType, DateSet, DateTimeMinuteInstance, DateTimeUtilityInstance, DateTimezoneUtcNormalInstance, IsKnownTimezone, IsValidDateCellRange, IsValidDateCellRangeSeries, IsValidDateCellTiming, IterateDaysInDateRangeFunctionBailError, LastIterResult, LimitDateTimeInstance, MAX_FUTURE_DATE, ModelRecurrenceInfo, ModelRecurrenceInfoUtility, NextIterResult, RRuleStringSplitter, SYSTEM_DATE_TIMEZONE_UTC_NORMAL_INSTANCE, UNKNOWN_YEAR_WEEK_CODE, UTC_DATE_TIMEZONE_UTC_NORMAL_INSTANCE, allIndexesInDateCellRange, allIndexesInDateCellRanges, allIndexesInDateCellRangesToArray, allKnownTimezoneStrings, allTimezoneInfos, allTimezoneStrings, baseDateToTargetDate, calculateAllConversions, calculateExpectedDateCellTimingDuration, calculateExpectedDateCellTimingDurationPair, calculateTimezoneOffset, calendarDate, calendarDateFactory, calendarDateForDateDurationSpan, changeDateCellScheduleDateRangeToTimezone, changeDateCellScheduleDateRangeToTimezoneFunction, clampDateFunction, clampDateRangeFunction, clampDateRangeToDateRange, clampDateToDateRange, copyDateCellScheduleDateFilterConfig, copyHoursAndMinutesFromDateWithTimezoneNormal, copyHoursAndMinutesFromNowWithTimezoneNormal, copyHoursAndMinutesFromUTCDate, copyHoursAndMinutesToDate, copyHoursAndMinutesToToday, dateCell, dateCellDayOfWeekFactory, dateCellDayTimingInfoFactory, dateCellDurationSpanHasEndedFilterFunction, dateCellDurationSpanHasNotEndedFilterFunction, dateCellDurationSpanHasNotStartedFilterFunction, dateCellDurationSpanHasStartedFilterFunction, dateCellEndIndex, dateCellIndexRange, dateCellIndexRangeToDateCellRange, dateCellIndexYearWeekCodeFactory, dateCellIndexYearWeekCodeGroupFactory, dateCellIndexsForDateCellScheduleDayCodes, dateCellRange, dateCellRangeBlocksCount, dateCellRangeBlocksCountInfo, dateCellRangeHasRange, dateCellRangeIncludedByRangeFunction, dateCellRangeOfTiming, dateCellRangeOfTimingFactory, dateCellRangeOverlapsRange, dateCellRangeOverlapsRangeFunction, dateCellRangeToDateCellIndexRange, dateCellRangeWithRange, dateCellRangeWithRangeFromIndex, dateCellRangesFullyCoverDateCellRangeFunction, dateCellScheduleDateCellTimingFilter, dateCellScheduleDateFilter, dateCellScheduleDateRange, dateCellScheduleDayCodeFactory, dateCellScheduleDayCodesAreSetsEquivalent, dateCellScheduleDayCodesFromEnabledDays, dateCellScheduleDayCodesSetFromDaysOfWeek, dateCellScheduleEncodedWeek, dateCellTiming, dateCellTimingCompletedTimeRange, dateCellTimingDateFactory, dateCellTimingDateRange, dateCellTimingEndDateFactory, dateCellTimingEndIndex, dateCellTimingEventRange, dateCellTimingExpansionFactory, dateCellTimingFinalStartsAtEvent, dateCellTimingFromDateCellTimingStartsAtEndRange, dateCellTimingLatestCompletedIndex, dateCellTimingRelativeIndexArrayFactory, dateCellTimingRelativeIndexFactory, dateCellTimingStart, dateCellTimingStartDateFactory, dateCellTimingStartPair, dateCellTimingStartsAtDateFactory, dateCellTimingStartsAtForStartOfDay, dateCellTimingTimezoneNormalInstance, dateDurationSpanEndDate, dateFromLogicalDate, dateInterval, dateMonthDayStringFormat, dateOrDateRangeToDateRange, dateOrDayStringRangeToDateRange, dateOrDayStringRangeToISO8601DayStringRange, dateRange, dateRangeDaysCount, dateRangeFromStartAndEndOfDay, dateRangeOverlapsDateRange, dateRangeOverlapsDateRangeFunction, dateRangeRelativeState, dateRelativeStateForDateCellRangeComparedToIndex, dateShortDateAndTimeStringFormat, dateTimeInstance, dateTimeInstanceUtc, dateTimeMinuteDecisionFunction, dateTimeMinuteWholeDayDecisionFunction, dateTimeStringFormat, dateTimezoneUtcNormal, daysToMinutes, durationSpanDateRelativeState, durationSpanFromDateRange, durationSpanToDateRange, earliestDate, enabledDaysFromDateCellScheduleDayCodes, endItreateDaysInDateRangeEarly, expandDateCellCollection, expandDateCellRange, expandDateCellSchedule, expandDateCellScheduleDayCodes, expandDateCellScheduleDayCodesToDayCodesSet, expandDateCellScheduleDayCodesToDayOfWeekSet, expandDateCellScheduleFactory, expandDateCellScheduleRange, expandDateCellScheduleRangeToDateCellRanges, expandDateCellTiming, expandDaysForDateRange, expandDaysForDateRangeFunction, expandUniqueDateCellsFunction, filterDateCellsInDateCellRange, findMaxDate, findMinDate, findNextDateInDateCellScheduleFilter, fitDateRangeToDayPeriod, fitDateRangeToDayPeriodFunction, fitUTCDateRangeToDayPeriod, forEachDayInDateRange, formatDateDistance, formatDateRange, formatDateRangeDistance, formatDateRangeDistanceFunction, formatDateRangeFunction, formatStartedEndedDistanceString, formatToDateString, formatToDayRangeString, formatToDayTimeRangeString, formatToISO8601DateString, formatToISO8601DayStringForSystem, formatToISO8601DayStringForUTC, formatToMonthDaySlashDate, formatToMonthDayString, formatToShortDateAndTimeString, formatToShortDateString, formatToTimeAndDurationString, formatToTimeRangeString, formatToTimeString, fractionalHoursInDurationSpan, fullDateCellScheduleRange, fullDateCellTiming, fullDateCellTimingTimezonePair, fullWeekDateCellScheduleDayCodes, getCurrentSystemOffsetInHours, getCurrentSystemOffsetInMinutes, getCurrentSystemOffsetInMs, getDateCellTimingFirstEventDateRange, getDateCellTimingHoursInEvent, getDaysOfWeekInDateRange, getGreatestDateCellIndexInDateCellRanges, getLeastAndGreatestDateCellIndexInDateCellRanges, getLeastDateCellIndexInDateCellRanges, getNextDateCellTimingIndex, getRelativeDateForDateCellTiming, getRelativeIndexForDateCellTiming, getTimeAM, getTimezoneAbbreviation, getTimezoneLongName, groupDateRangesByDateRelativeState, groupToDateCellRanges, groupUniqueDateCells, guessCurrentTimezone, hoursToMs, inverseDateTimezoneUtcNormalInstanceTransformType, isAfter, isBefore, isDate, isDateCellRange, isDateCellSchedule, isDateCellScheduleDateRange, isDateCellScheduleEncodedWeek, isDateCellScheduleStartOfDayDateRange, isDateCellTiming, isDateCellTimingRelativeIndexFactory, isDateCellWithinDateCellRange, isDateCellWithinDateCellRangeFunction, isDateInDateRange, isDateInDateRangeFunction, isDateRange, isDateRangeInDateRange, isDateRangeInDateRangeFunction, isDateRangeStart, isDateWithinDateCellRangeFunction, isEmptyDateCellScheduleEncodedWeek, isEndOfDayInUTC, isFullDateCellScheduleDateRange, isFullDateCellTiming, isFullDateRange, isInfiniteDateRange, isKnownTimezone, isLogicalDateStringCode, isMaxFutureDate, isPartialDateRange, isSameDate, isSameDateCellSchedule, isSameDateCellScheduleDateRange, isSameDateCellScheduleEventRange, isSameDateCellTiming, isSameDateCellTimingEventStartsAtEndRange, isSameDateDay, isSameDateDayRange, isSameDateHoursAndMinutes, isSameDateRange, isSameDateTimezoneConversionConfig, isSameDurationSpan, isSameFullDateCellScheduleDateRange, isSameFullDateCellTiming, isStartOfDayForSystem, isStartOfDayInUTC, isValidDateCellIndex, isValidDateCellRange, isValidDateCellRangeSeries, isValidDateCellTiming, isValidDateCellTimingInfo, isValidDateCellTimingStartDate, isValidDateFromTimestringResult, isValidDateTimezoneConversionConfig, isValidFullDateCellTiming, isValidFullDateCellTimingInfo, iterateDaysInDateRange, iterateDaysInDateRangeFunction, latestDate, latestMinute, limitDateTime, limitDateTimeInstance, logicalDateStringCodeDateFactory, makeDateQueryForDateItemRangeFilter, makeDateQueryForDateStartsEndsFilter, makeDateQueryForOccuringFilter, makeDaysAndTimeFiltersFunction, makeMongoDBLikeDateQueryBuilder, maxFutureDate, mergeMongoDBLikeRangeFilters, minutesToMs, modifyDateCellToFitRange, modifyDateCellsToFitRange, modifyDateCellsToFitRangeFunction, monthDaySlashDateStringFormat, msToMinutes, msToSeconds, nowInterval, parseISO8601DayStringToDate, parseJsDateString, parseReadableTimeString, rawDateCellScheduleDayCodes, readDaysOfWeek, readDaysOfWeekNames, readableTimeStringToDate, reduceDatesFunction, requireCurrentTimezone, roundDateDownTo, roundDateTimeDown, roundDateTimeDownToSteps, roundDateTo, roundDateToDate, roundDateToUnixDateTimeNumber, roundDownToHour, roundDownToMinute, roundToMinuteSteps, safeFormatToISO8601DateString, safeToJsDate, searchTimezoneInfos, setOnDateWithTimezoneNormalFunction, shiftDateCellTimingToSystemTimezone, shiftDateCellTimingToTimezone, shiftDateCellTimingToTimezoneFunction, shiftDateCellTimingToUTCTimezone, simplifyDateCellScheduleDayCodes, sortByDateFunction, sortByISO8601DateStringFunction, sortByISO8601DateStrings, sortDateCellRangeAndSizeFunction, sortDateCellRanges, sortDateRangeStartAscendingCompareFunction, startOfDayInTimezoneDayStringFactory, startOfDayInTimezoneFromISO8601DayString, startOfWeekForYearWeekCode, systemBaseDateToNormalDate, systemBaseDateToNormalDateOffset, systemDateTimezoneUtcNormal, systemExperiencesDaylightSavings, systemNormalDateToBaseDate, systemNormalDateToBaseDateOffset, targetDateToBaseDate, timezoneInfoForSystem, timezoneStringToSearchableString, timezoneStringToTimezoneInfo, toISO8601DayStringForSystem, toISO8601DayStringForUTC, toISODateString, toJsDate, toJsDayDate, toLocalReadableTimeString, toReadableTimeString, transformDateInTimezoneNormalFunction, transformDateRangeDatesFunction, transformDateRangeInTimezoneNormalFunction, transformDateRangeToTimezoneFunction, transformDateRangeWithStartOfDay, updateDateCellTimingToSystemTimezone, updateDateCellTimingToTimezone, updateDateCellTimingToTimezoneFunction, updateDateCellTimingToUTCTimezone, updateDateCellTimingWithDateCellTimingEvent, utcDayForDate, weekdayDateCellScheduleDayCodes, weekendDateCellScheduleDayCodes, yearWeekCode, yearWeekCodeDateFactory, yearWeekCodeDateTimezoneInstance, yearWeekCodeFactory, yearWeekCodeForCalendarMonth, yearWeekCodeForCalendarMonthFactory, yearWeekCodeForDateRange, yearWeekCodeForDateRangeFactory, yearWeekCodeForDateRangeInTimezone, yearWeekCodeFromDate, yearWeekCodeFromPair, yearWeekCodeGroupFactory, yearWeekCodeIndex, yearWeekCodePair, yearWeekCodePairFromDate };