@dereekb/date 12.6.21 → 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,2169 +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$e = function (exec) {
32
- try {
33
- return !!exec();
34
- } catch (error) {
35
- return true;
36
- }
37
- };
38
-
39
- var fails$d = fails$e;
40
-
41
- // Detect IE8's incomplete defineProperty implementation
42
- var descriptors = !fails$d(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$c = fails$e;
48
-
49
- var functionBindNative = !fails$c(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$2 = Object.getOwnPropertyDescriptor;
69
-
70
- // Nashorn ~ JDK8 bug
71
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$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$2(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$e = functionUncurryThis;
102
-
103
- var toString$3 = uncurryThis$e({}.toString);
104
- var stringSlice$1 = uncurryThis$e(''.slice);
105
-
106
- var classofRaw$2 = function (it) {
107
- return stringSlice$1(toString$3(it), 8, -1);
108
- };
109
-
110
- var uncurryThis$d = functionUncurryThis;
111
- var fails$b = fails$e;
112
- var classof$4 = classofRaw$2;
113
-
114
- var $Object$4 = Object;
115
- var split = uncurryThis$d(''.split);
116
-
117
- // fallback for non-array-like ES3 and non-enumerable old V8 strings
118
- var indexedObject = fails$b(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$4(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$c = TypeError;
135
-
136
- // `RequireObjectCoercible` abstract operation
137
- // https://tc39.es/ecma262/#sec-requireobjectcoercible
138
- var requireObjectCoercible$3 = function (it) {
139
- if (isNullOrUndefined$2(it)) throw new $TypeError$c("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$2 = requireObjectCoercible$3;
146
-
147
- var toIndexedObject$4 = function (it) {
148
- return IndexedObject(requireObjectCoercible$2(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$c = functionUncurryThis;
181
-
182
- var objectIsPrototypeOf = uncurryThis$c({}.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$a = fails$e;
217
- var global$8 = global$b;
218
-
219
- var $String$4 = global$8.String;
220
-
221
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
222
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(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$4(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$3 = String;
255
-
256
- var tryToString$3 = function (argument) {
257
- try {
258
- return $String$3(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$b = 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$b(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$a = 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$a("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$3 = Object.defineProperty;
309
-
310
- var defineGlobalProperty$3 = function (key, value) {
311
- try {
312
- defineProperty$3(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$1 = requireObjectCoercible$3;
341
-
342
- var $Object$2 = Object;
343
-
344
- // `ToObject` abstract operation
345
- // https://tc39.es/ecma262/#sec-toobject
346
- var toObject$4 = function (argument) {
347
- return $Object$2(requireObjectCoercible$1(argument));
348
- };
349
-
350
- var uncurryThis$b = functionUncurryThis;
351
- var toObject$3 = toObject$4;
352
-
353
- var hasOwnProperty = uncurryThis$b({}.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$3(it), key);
360
- };
361
-
362
- var uncurryThis$a = functionUncurryThis;
363
-
364
- var id = 0;
365
- var postfix = Math.random();
366
- var toString$2 = uncurryThis$a(1.0.toString);
367
-
368
- var uid$2 = function (key) {
369
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++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$9 = 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$8 = wellKnownSymbol$9;
397
-
398
- var $TypeError$9 = TypeError;
399
- var TO_PRIMITIVE = wellKnownSymbol$8('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$9("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$a = descriptors;
439
- var fails$9 = fails$e;
440
- var createElement = documentCreateElement$1;
441
-
442
- // Thanks to IE8 for its funny defineProperty
443
- var ie8DomDefine = !DESCRIPTORS$a && !fails$9(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$9 = 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$9 ? $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$8 = descriptors;
476
- var fails$8 = fails$e;
477
-
478
- // V8 ~ Chrome 36-
479
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
480
- var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$8(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$2 = String;
491
- var $TypeError$8 = 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$8($String$2(argument) + ' is not an object');
497
- };
498
-
499
- var DESCRIPTORS$7 = 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$7 = 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$7 ? 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$7('Accessors not supported');
539
- if ('value' in Attributes) O[P] = Attributes.value;
540
- return O;
541
- };
542
-
543
- var DESCRIPTORS$6 = descriptors;
544
- var definePropertyModule$4 = objectDefineProperty;
545
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
546
-
547
- var createNonEnumerableProperty$3 = DESCRIPTORS$6 ? 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$5 = 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$5 && 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$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
567
-
568
- var functionName = {
569
- EXISTS: EXISTS,
570
- PROPER: PROPER,
571
- CONFIGURABLE: CONFIGURABLE
572
- };
573
-
574
- var uncurryThis$9 = functionUncurryThis;
575
- var isCallable$8 = isCallable$e;
576
- var store$1 = sharedStoreExports;
577
-
578
- var functionToString = uncurryThis$9(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$8 = functionUncurryThis;
679
- var fails$7 = fails$e;
680
- var isCallable$6 = isCallable$e;
681
- var hasOwn$4 = hasOwnProperty_1;
682
- var DESCRIPTORS$4 = 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$1 = String;
690
- // eslint-disable-next-line es/no-object-defineproperty -- safe
691
- var defineProperty$2 = Object.defineProperty;
692
- var stringSlice = uncurryThis$8(''.slice);
693
- var replace = uncurryThis$8(''.replace);
694
- var join = uncurryThis$8([].join);
695
-
696
- var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$7(function () {
697
- return defineProperty$2(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$1(name), 0, 7) === 'Symbol(') {
704
- name = '[' + replace($String$1(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$4) defineProperty$2(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$2(value, 'length', { value: options.arity });
714
- }
715
- try {
716
- if (options && hasOwn$4(options, 'constructor') && options.constructor) {
717
- if (DESCRIPTORS$4) defineProperty$2(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$5 = 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$4 = toIntegerOrInfinity$5;
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$4(index);
796
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
797
- };
798
-
799
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;
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$3(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$4 = function (obj) {
815
- return toLength(obj.length);
816
- };
817
-
818
- var toIndexedObject$2 = toIndexedObject$4;
819
- var toAbsoluteIndex = toAbsoluteIndex$1;
820
- var lengthOfArrayLike$3 = lengthOfArrayLike$4;
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$3(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$7 = 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$7([].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$6 = functionUncurryThis;
903
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
904
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
905
- var anObject$c = anObject$e;
906
-
907
- var concat = uncurryThis$6([].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$6 = fails$e;
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$6(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$1 = 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$1(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 classof$3 = classofRaw$2;
1012
-
1013
- // `IsArray` abstract operation
1014
- // https://tc39.es/ecma262/#sec-isarray
1015
- // eslint-disable-next-line es/no-array-isarray -- safe
1016
- var isArray$1 = Array.isArray || function isArray(argument) {
1017
- return classof$3(argument) === 'Array';
1018
- };
1019
-
1020
- var DESCRIPTORS$3 = descriptors;
1021
- var isArray = isArray$1;
1022
-
1023
- var $TypeError$6 = TypeError;
1024
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1025
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1026
-
1027
- // Safari < 13 does not throw an error in this case
1028
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$3 && !function () {
1029
- // makes no sense without proper strict mode support
1030
- if (this !== undefined) return true;
1031
- try {
1032
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1033
- Object.defineProperty([], 'length', { writable: false }).length = 1;
1034
- } catch (error) {
1035
- return error instanceof TypeError;
1036
- }
1037
- }();
1038
-
1039
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
1040
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
1041
- throw new $TypeError$6('Cannot set read only .length');
1042
- } return O.length = length;
1043
- } : function (O, length) {
1044
- return O.length = length;
1045
- };
1046
-
1047
- var $TypeError$5 = TypeError;
1048
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
1049
-
1050
- var doesNotExceedSafeInteger$1 = function (it) {
1051
- if (it > MAX_SAFE_INTEGER) throw $TypeError$5('Maximum allowed index exceeded');
1052
- return it;
1053
- };
1054
-
1055
- var $$e = _export;
1056
- var toObject$2 = toObject$4;
1057
- var lengthOfArrayLike$2 = lengthOfArrayLike$4;
1058
- var setArrayLength = arraySetLength;
1059
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
1060
- var fails$5 = fails$e;
1061
-
1062
- var INCORRECT_TO_LENGTH = fails$5(function () {
1063
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
1064
- });
1065
-
1066
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
1067
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
1068
- var properErrorOnNonWritableLength = function () {
1069
- try {
1070
- // eslint-disable-next-line es/no-object-defineproperty -- safe
1071
- Object.defineProperty([], 'length', { writable: false }).push();
1072
- } catch (error) {
1073
- return error instanceof TypeError;
1074
- }
1075
- };
1076
-
1077
- var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
1078
-
1079
- // `Array.prototype.push` method
1080
- // https://tc39.es/ecma262/#sec-array.prototype.push
1081
- $$e({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
1082
- // eslint-disable-next-line no-unused-vars -- required for `.length`
1083
- push: function push(item) {
1084
- var O = toObject$2(this);
1085
- var len = lengthOfArrayLike$2(O);
1086
- var argCount = arguments.length;
1087
- doesNotExceedSafeInteger(len + argCount);
1088
- for (var i = 0; i < argCount; i++) {
1089
- O[len] = arguments[i];
1090
- len++;
1091
- }
1092
- setArrayLength(O, len);
1093
- return len;
1094
- }
1095
- });
1096
-
1097
- var isPrototypeOf$1 = objectIsPrototypeOf;
1098
-
1099
- var $TypeError$4 = TypeError;
1100
-
1101
- var anInstance$1 = function (it, Prototype) {
1102
- if (isPrototypeOf$1(Prototype, it)) return it;
1103
- throw new $TypeError$4('Incorrect invocation');
1104
- };
1105
-
1106
- var fails$4 = fails$e;
1107
-
1108
- var correctPrototypeGetter = !fails$4(function () {
1109
- function F() { /* empty */ }
1110
- F.prototype.constructor = null;
1111
- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1112
- return Object.getPrototypeOf(new F()) !== F.prototype;
1113
- });
1114
-
1115
- var hasOwn$1 = hasOwnProperty_1;
1116
- var isCallable$3 = isCallable$e;
1117
- var toObject$1 = toObject$4;
1118
- var sharedKey$1 = sharedKey$3;
1119
- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1120
-
1121
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1122
- var $Object$1 = Object;
1123
- var ObjectPrototype = $Object$1.prototype;
1124
-
1125
- // `Object.getPrototypeOf` method
1126
- // https://tc39.es/ecma262/#sec-object.getprototypeof
1127
- // eslint-disable-next-line es/no-object-getprototypeof -- safe
1128
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1129
- var object = toObject$1(O);
1130
- if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
1131
- var constructor = object.constructor;
1132
- if (isCallable$3(constructor) && object instanceof constructor) {
1133
- return constructor.prototype;
1134
- } return object instanceof $Object$1 ? ObjectPrototype : null;
1135
- };
1136
-
1137
- var makeBuiltIn = makeBuiltInExports;
1138
- var defineProperty$1 = objectDefineProperty;
1139
-
1140
- var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1141
- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1142
- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1143
- return defineProperty$1.f(target, name, descriptor);
1144
- };
1145
-
1146
- var DESCRIPTORS$2 = descriptors;
1147
- var definePropertyModule$1 = objectDefineProperty;
1148
- var createPropertyDescriptor = createPropertyDescriptor$3;
1149
-
1150
- var createProperty$1 = function (object, key, value) {
1151
- if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
1152
- else object[key] = value;
1153
- };
1154
-
1155
- var objectDefineProperties = {};
1156
-
1157
- var internalObjectKeys = objectKeysInternal;
1158
- var enumBugKeys$1 = enumBugKeys$3;
1159
-
1160
- // `Object.keys` method
1161
- // https://tc39.es/ecma262/#sec-object.keys
1162
- // eslint-disable-next-line es/no-object-keys -- safe
1163
- var objectKeys$1 = Object.keys || function keys(O) {
1164
- return internalObjectKeys(O, enumBugKeys$1);
1165
- };
1166
-
1167
- var DESCRIPTORS$1 = descriptors;
1168
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1169
- var definePropertyModule = objectDefineProperty;
1170
- var anObject$b = anObject$e;
1171
- var toIndexedObject = toIndexedObject$4;
1172
- var objectKeys = objectKeys$1;
1173
-
1174
- // `Object.defineProperties` method
1175
- // https://tc39.es/ecma262/#sec-object.defineproperties
1176
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1177
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1178
- anObject$b(O);
1179
- var props = toIndexedObject(Properties);
1180
- var keys = objectKeys(Properties);
1181
- var length = keys.length;
1182
- var index = 0;
1183
- var key;
1184
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1185
- return O;
1186
- };
1187
-
1188
- var getBuiltIn$1 = getBuiltIn$4;
1189
-
1190
- var html$1 = getBuiltIn$1('document', 'documentElement');
1191
-
1192
- /* global ActiveXObject -- old IE, WSH */
1193
- var anObject$a = anObject$e;
1194
- var definePropertiesModule = objectDefineProperties;
1195
- var enumBugKeys = enumBugKeys$3;
1196
- var hiddenKeys = hiddenKeys$4;
1197
- var html = html$1;
1198
- var documentCreateElement = documentCreateElement$1;
1199
- var sharedKey = sharedKey$3;
1200
-
1201
- var GT = '>';
1202
- var LT = '<';
1203
- var PROTOTYPE = 'prototype';
1204
- var SCRIPT = 'script';
1205
- var IE_PROTO = sharedKey('IE_PROTO');
1206
-
1207
- var EmptyConstructor = function () { /* empty */ };
1208
-
1209
- var scriptTag = function (content) {
1210
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1211
- };
1212
-
1213
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1214
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1215
- activeXDocument.write(scriptTag(''));
1216
- activeXDocument.close();
1217
- var temp = activeXDocument.parentWindow.Object;
1218
- activeXDocument = null; // avoid memory leak
1219
- return temp;
1220
- };
1221
-
1222
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1223
- var NullProtoObjectViaIFrame = function () {
1224
- // Thrash, waste and sodomy: IE GC bug
1225
- var iframe = documentCreateElement('iframe');
1226
- var JS = 'java' + SCRIPT + ':';
1227
- var iframeDocument;
1228
- iframe.style.display = 'none';
1229
- html.appendChild(iframe);
1230
- // https://github.com/zloirock/core-js/issues/475
1231
- iframe.src = String(JS);
1232
- iframeDocument = iframe.contentWindow.document;
1233
- iframeDocument.open();
1234
- iframeDocument.write(scriptTag('document.F=Object'));
1235
- iframeDocument.close();
1236
- return iframeDocument.F;
1237
- };
1238
-
1239
- // Check for document.domain and active x support
1240
- // No need to use active x approach when document.domain is not set
1241
- // see https://github.com/es-shims/es5-shim/issues/150
1242
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1243
- // avoid IE GC bug
1244
- var activeXDocument;
1245
- var NullProtoObject = function () {
1246
- try {
1247
- activeXDocument = new ActiveXObject('htmlfile');
1248
- } catch (error) { /* ignore */ }
1249
- NullProtoObject = typeof document != 'undefined'
1250
- ? document.domain && activeXDocument
1251
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1252
- : NullProtoObjectViaIFrame()
1253
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1254
- var length = enumBugKeys.length;
1255
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1256
- return NullProtoObject();
1257
- };
1258
-
1259
- hiddenKeys[IE_PROTO] = true;
1260
-
1261
- // `Object.create` method
1262
- // https://tc39.es/ecma262/#sec-object.create
1263
- // eslint-disable-next-line es/no-object-create -- safe
1264
- var objectCreate = Object.create || function create(O, Properties) {
1265
- var result;
1266
- if (O !== null) {
1267
- EmptyConstructor[PROTOTYPE] = anObject$a(O);
1268
- result = new EmptyConstructor();
1269
- EmptyConstructor[PROTOTYPE] = null;
1270
- // add "__proto__" for Object.getPrototypeOf polyfill
1271
- result[IE_PROTO] = O;
1272
- } else result = NullProtoObject();
1273
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1274
- };
1275
-
1276
- var fails$3 = fails$e;
1277
- var isCallable$2 = isCallable$e;
1278
- var isObject = isObject$6;
1279
- var getPrototypeOf$1 = objectGetPrototypeOf;
1280
- var defineBuiltIn$1 = defineBuiltIn$3;
1281
- var wellKnownSymbol$7 = wellKnownSymbol$9;
1282
-
1283
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
1284
- var BUGGY_SAFARI_ITERATORS = false;
1285
-
1286
- // `%IteratorPrototype%` object
1287
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1288
- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1289
-
1290
- /* eslint-disable es/no-array-prototype-keys -- safe */
1291
- if ([].keys) {
1292
- arrayIterator = [].keys();
1293
- // Safari 8 has buggy iterators w/o `next`
1294
- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;
1295
- else {
1296
- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
1297
- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
1298
- }
1299
- }
1300
-
1301
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$3(function () {
1302
- var test = {};
1303
- // FF44- legacy iterators case
1304
- return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
1305
- });
1306
-
1307
- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1308
-
1309
- // `%IteratorPrototype%[@@iterator]()` method
1310
- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1311
- if (!isCallable$2(IteratorPrototype$2[ITERATOR$3])) {
1312
- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$3, function () {
1313
- return this;
1314
- });
1315
- }
1316
-
1317
- var iteratorsCore = {
1318
- IteratorPrototype: IteratorPrototype$2,
1319
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
1320
- };
1321
-
1322
- var $$d = _export;
1323
- var global$1 = global$b;
1324
- var anInstance = anInstance$1;
1325
- var anObject$9 = anObject$e;
1326
- var isCallable$1 = isCallable$e;
1327
- var getPrototypeOf = objectGetPrototypeOf;
1328
- var defineBuiltInAccessor = defineBuiltInAccessor$1;
1329
- var createProperty = createProperty$1;
1330
- var fails$2 = fails$e;
1331
- var hasOwn = hasOwnProperty_1;
1332
- var wellKnownSymbol$6 = wellKnownSymbol$9;
1333
- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1334
- var DESCRIPTORS = descriptors;
1335
-
1336
- var CONSTRUCTOR = 'constructor';
1337
- var ITERATOR$2 = 'Iterator';
1338
- var TO_STRING_TAG$3 = wellKnownSymbol$6('toStringTag');
1339
-
1340
- var $TypeError$3 = TypeError;
1341
- var NativeIterator = global$1[ITERATOR$2];
1342
-
1343
- // FF56- have non-standard global helper `Iterator`
1344
- var FORCED$1 = !isCallable$1(NativeIterator)
1345
- || NativeIterator.prototype !== IteratorPrototype$1
1346
- // FF44- non-standard `Iterator` passes previous tests
1347
- || !fails$2(function () { NativeIterator({}); });
1348
-
1349
- var IteratorConstructor = function Iterator() {
1350
- anInstance(this, IteratorPrototype$1);
1351
- if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$3('Abstract class Iterator not directly constructable');
1352
- };
1353
-
1354
- var defineIteratorPrototypeAccessor = function (key, value) {
1355
- if (DESCRIPTORS) {
1356
- defineBuiltInAccessor(IteratorPrototype$1, key, {
1357
- configurable: true,
1358
- get: function () {
1359
- return value;
1360
- },
1361
- set: function (replacement) {
1362
- anObject$9(this);
1363
- if (this === IteratorPrototype$1) throw new $TypeError$3("You can't redefine this property");
1364
- if (hasOwn(this, key)) this[key] = replacement;
1365
- else createProperty(this, key, replacement);
1366
- }
1367
- });
1368
- } else IteratorPrototype$1[key] = value;
1369
- };
1370
-
1371
- if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$3)) defineIteratorPrototypeAccessor(TO_STRING_TAG$3, ITERATOR$2);
1372
-
1373
- if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
1374
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1375
- }
1376
-
1377
- IteratorConstructor.prototype = IteratorPrototype$1;
1378
-
1379
- // `Iterator` constructor
1380
- // https://github.com/tc39/proposal-iterator-helpers
1381
- $$d({ global: true, constructor: true, forced: FORCED$1 }, {
1382
- Iterator: IteratorConstructor
1383
- });
1384
-
1385
- // `GetIteratorDirect(obj)` abstract operation
1386
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
1387
- var getIteratorDirect$5 = function (obj) {
1388
- return {
1389
- iterator: obj,
1390
- next: obj.next,
1391
- done: false
1392
- };
1393
- };
1394
-
1395
- var defineBuiltIn = defineBuiltIn$3;
1396
-
1397
- var defineBuiltIns$1 = function (target, src, options) {
1398
- for (var key in src) defineBuiltIn(target, key, src[key], options);
1399
- return target;
1400
- };
1401
-
1402
- // `CreateIterResultObject` abstract operation
1403
- // https://tc39.es/ecma262/#sec-createiterresultobject
1404
- var createIterResultObject$1 = function (value, done) {
1405
- return { value: value, done: done };
1406
- };
1407
-
1408
- var call$7 = functionCall;
1409
- var anObject$8 = anObject$e;
1410
- var getMethod$2 = getMethod$4;
1411
-
1412
- var iteratorClose$5 = function (iterator, kind, value) {
1413
- var innerResult, innerError;
1414
- anObject$8(iterator);
1415
- try {
1416
- innerResult = getMethod$2(iterator, 'return');
1417
- if (!innerResult) {
1418
- if (kind === 'throw') throw value;
1419
- return value;
1420
- }
1421
- innerResult = call$7(innerResult, iterator);
1422
- } catch (error) {
1423
- innerError = true;
1424
- innerResult = error;
1425
- }
1426
- if (kind === 'throw') throw value;
1427
- if (innerError) throw innerResult;
1428
- anObject$8(innerResult);
1429
- return value;
1430
- };
1431
-
1432
- var call$6 = functionCall;
1433
- var create$1 = objectCreate;
1434
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
1435
- var defineBuiltIns = defineBuiltIns$1;
1436
- var wellKnownSymbol$5 = wellKnownSymbol$9;
1437
- var InternalStateModule = internalState;
1438
- var getMethod$1 = getMethod$4;
1439
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
1440
- var createIterResultObject = createIterResultObject$1;
1441
- var iteratorClose$4 = iteratorClose$5;
1442
-
1443
- var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag');
1444
- var ITERATOR_HELPER = 'IteratorHelper';
1445
- var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
1446
- var setInternalState = InternalStateModule.set;
1447
-
1448
- var createIteratorProxyPrototype = function (IS_ITERATOR) {
1449
- var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1450
-
1451
- return defineBuiltIns(create$1(IteratorPrototype), {
1452
- next: function next() {
1453
- var state = getInternalState(this);
1454
- // for simplification:
1455
- // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
1456
- // for `%IteratorHelperPrototype%.next` - just a value
1457
- if (IS_ITERATOR) return state.nextHandler();
1458
- try {
1459
- var result = state.done ? undefined : state.nextHandler();
1460
- return createIterResultObject(result, state.done);
1461
- } catch (error) {
1462
- state.done = true;
1463
- throw error;
1464
- }
1465
- },
1466
- 'return': function () {
1467
- var state = getInternalState(this);
1468
- var iterator = state.iterator;
1469
- state.done = true;
1470
- if (IS_ITERATOR) {
1471
- var returnMethod = getMethod$1(iterator, 'return');
1472
- return returnMethod ? call$6(returnMethod, iterator) : createIterResultObject(undefined, true);
1473
- }
1474
- if (state.inner) try {
1475
- iteratorClose$4(state.inner.iterator, 'normal');
1476
- } catch (error) {
1477
- return iteratorClose$4(iterator, 'throw', error);
1478
- }
1479
- iteratorClose$4(iterator, 'normal');
1480
- return createIterResultObject(undefined, true);
1481
- }
1482
- });
1483
- };
1484
-
1485
- var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1486
- var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1487
-
1488
- createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG$2, 'Iterator Helper');
1489
-
1490
- var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
1491
- var IteratorProxy = function Iterator(record, state) {
1492
- if (state) {
1493
- state.iterator = record.iterator;
1494
- state.next = record.next;
1495
- } else state = record;
1496
- state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1497
- state.nextHandler = nextHandler;
1498
- state.counter = 0;
1499
- state.done = false;
1500
- setInternalState(this, state);
1501
- };
1502
-
1503
- IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1504
-
1505
- return IteratorProxy;
1506
- };
1507
-
1508
- var anObject$7 = anObject$e;
1509
- var iteratorClose$3 = iteratorClose$5;
1510
-
1511
- // call something on iterator step with safe closing on error
1512
- var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
1513
- try {
1514
- return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
1515
- } catch (error) {
1516
- iteratorClose$3(iterator, 'throw', error);
1517
- }
1518
- };
1519
-
1520
- var $$c = _export;
1521
- var call$5 = functionCall;
1522
- var aCallable$7 = aCallable$9;
1523
- var anObject$6 = anObject$e;
1524
- var getIteratorDirect$4 = getIteratorDirect$5;
1525
- var createIteratorProxy$1 = iteratorCreateProxy;
1526
- var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
1527
- var IS_PURE$1 = isPure;
1528
-
1529
- var IteratorProxy$1 = createIteratorProxy$1(function () {
1530
- var iterator = this.iterator;
1531
- var predicate = this.predicate;
1532
- var next = this.next;
1533
- var result, done, value;
1534
- while (true) {
1535
- result = anObject$6(call$5(next, iterator));
1536
- done = this.done = !!result.done;
1537
- if (done) return;
1538
- value = result.value;
1539
- if (callWithSafeIterationClosing$1(iterator, predicate, [value, this.counter++], true)) return value;
1540
- }
1541
- });
1542
-
1543
- // `Iterator.prototype.filter` method
1544
- // https://github.com/tc39/proposal-iterator-helpers
1545
- $$c({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
1546
- filter: function filter(predicate) {
1547
- anObject$6(this);
1548
- aCallable$7(predicate);
1549
- return new IteratorProxy$1(getIteratorDirect$4(this), {
1550
- predicate: predicate
1551
- });
1552
- }
1553
- });
1554
-
1555
- var classofRaw$1 = classofRaw$2;
1556
- var uncurryThis$5 = functionUncurryThis;
1557
-
1558
- var functionUncurryThisClause = function (fn) {
1559
- // Nashorn bug:
1560
- // https://github.com/zloirock/core-js/issues/1128
1561
- // https://github.com/zloirock/core-js/issues/1130
1562
- if (classofRaw$1(fn) === 'Function') return uncurryThis$5(fn);
1563
- };
1564
-
1565
- var uncurryThis$4 = functionUncurryThisClause;
1566
- var aCallable$6 = aCallable$9;
1567
- var NATIVE_BIND = functionBindNative;
1568
-
1569
- var bind$1 = uncurryThis$4(uncurryThis$4.bind);
1570
-
1571
- // optional / simple context binding
1572
- var functionBindContext = function (fn, that) {
1573
- aCallable$6(fn);
1574
- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
1575
- return fn.apply(that, arguments);
1576
- };
1577
- };
1578
-
1579
- var iterators = {};
1580
-
1581
- var wellKnownSymbol$4 = wellKnownSymbol$9;
1582
- var Iterators$1 = iterators;
1583
-
1584
- var ITERATOR$1 = wellKnownSymbol$4('iterator');
1585
- var ArrayPrototype$1 = Array.prototype;
1586
-
1587
- // check on default Array iterator
1588
- var isArrayIteratorMethod$1 = function (it) {
1589
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype$1[ITERATOR$1] === it);
1590
- };
1591
-
1592
- var wellKnownSymbol$3 = wellKnownSymbol$9;
1593
-
1594
- var TO_STRING_TAG$1 = wellKnownSymbol$3('toStringTag');
1595
- var test = {};
1596
-
1597
- test[TO_STRING_TAG$1] = 'z';
1598
-
1599
- var toStringTagSupport = String(test) === '[object z]';
1600
-
1601
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1602
- var isCallable = isCallable$e;
1603
- var classofRaw = classofRaw$2;
1604
- var wellKnownSymbol$2 = wellKnownSymbol$9;
1605
-
1606
- var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
1607
- var $Object = Object;
1608
-
1609
- // ES3 wrong here
1610
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
1611
-
1612
- // fallback for IE11 Script Access Denied error
1613
- var tryGet = function (it, key) {
1614
- try {
1615
- return it[key];
1616
- } catch (error) { /* empty */ }
1617
- };
1618
-
1619
- // getting tag from ES6+ `Object.prototype.toString`
1620
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1621
- var O, tag, result;
1622
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1623
- // @@toStringTag case
1624
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1625
- // builtinTag case
1626
- : CORRECT_ARGUMENTS ? classofRaw(O)
1627
- // ES3 arguments fallback
1628
- : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
1629
- };
1630
-
1631
- var classof$1 = classof$2;
1632
- var getMethod = getMethod$4;
1633
- var isNullOrUndefined = isNullOrUndefined$3;
1634
- var Iterators = iterators;
1635
- var wellKnownSymbol$1 = wellKnownSymbol$9;
1636
-
1637
- var ITERATOR = wellKnownSymbol$1('iterator');
1638
-
1639
- var getIteratorMethod$2 = function (it) {
1640
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
1641
- || getMethod(it, '@@iterator')
1642
- || Iterators[classof$1(it)];
1643
- };
1644
-
1645
- var call$4 = functionCall;
1646
- var aCallable$5 = aCallable$9;
1647
- var anObject$5 = anObject$e;
1648
- var tryToString$1 = tryToString$3;
1649
- var getIteratorMethod$1 = getIteratorMethod$2;
1650
-
1651
- var $TypeError$2 = TypeError;
1652
-
1653
- var getIterator$1 = function (argument, usingIterator) {
1654
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
1655
- if (aCallable$5(iteratorMethod)) return anObject$5(call$4(iteratorMethod, argument));
1656
- throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
1657
- };
1658
-
1659
- var bind = functionBindContext;
1660
- var call$3 = functionCall;
1661
- var anObject$4 = anObject$e;
1662
- var tryToString = tryToString$3;
1663
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
1664
- var lengthOfArrayLike$1 = lengthOfArrayLike$4;
1665
- var isPrototypeOf = objectIsPrototypeOf;
1666
- var getIterator = getIterator$1;
1667
- var getIteratorMethod = getIteratorMethod$2;
1668
- var iteratorClose$2 = iteratorClose$5;
1669
-
1670
- var $TypeError$1 = TypeError;
1671
-
1672
- var Result = function (stopped, result) {
1673
- this.stopped = stopped;
1674
- this.result = result;
1675
- };
1676
-
1677
- var ResultPrototype = Result.prototype;
1678
-
1679
- var iterate$4 = function (iterable, unboundFunction, options) {
1680
- var that = options && options.that;
1681
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
1682
- var IS_RECORD = !!(options && options.IS_RECORD);
1683
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
1684
- var INTERRUPTED = !!(options && options.INTERRUPTED);
1685
- var fn = bind(unboundFunction, that);
1686
- var iterator, iterFn, index, length, result, next, step;
1687
-
1688
- var stop = function (condition) {
1689
- if (iterator) iteratorClose$2(iterator, 'normal', condition);
1690
- return new Result(true, condition);
1691
- };
1692
-
1693
- var callFn = function (value) {
1694
- if (AS_ENTRIES) {
1695
- anObject$4(value);
1696
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
1697
- } return INTERRUPTED ? fn(value, stop) : fn(value);
1698
- };
1699
-
1700
- if (IS_RECORD) {
1701
- iterator = iterable.iterator;
1702
- } else if (IS_ITERATOR) {
1703
- iterator = iterable;
1704
- } else {
1705
- iterFn = getIteratorMethod(iterable);
1706
- if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
1707
- // optimisation for array iterators
1708
- if (isArrayIteratorMethod(iterFn)) {
1709
- for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
1710
- result = callFn(iterable[index]);
1711
- if (result && isPrototypeOf(ResultPrototype, result)) return result;
1712
- } return new Result(false);
1713
- }
1714
- iterator = getIterator(iterable, iterFn);
1715
- }
1716
-
1717
- next = IS_RECORD ? iterable.next : iterator.next;
1718
- while (!(step = call$3(next, iterator)).done) {
1719
- try {
1720
- result = callFn(step.value);
1721
- } catch (error) {
1722
- iteratorClose$2(iterator, 'throw', error);
1723
- }
1724
- if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
1725
- } return new Result(false);
1726
- };
1727
-
1728
- var $$b = _export;
1729
- var iterate$3 = iterate$4;
1730
- var aCallable$4 = aCallable$9;
1731
- var anObject$3 = anObject$e;
1732
- var getIteratorDirect$3 = getIteratorDirect$5;
1733
-
1734
- // `Iterator.prototype.forEach` method
1735
- // https://github.com/tc39/proposal-iterator-helpers
1736
- $$b({ target: 'Iterator', proto: true, real: true }, {
1737
- forEach: function forEach(fn) {
1738
- anObject$3(this);
1739
- aCallable$4(fn);
1740
- var record = getIteratorDirect$3(this);
1741
- var counter = 0;
1742
- iterate$3(record, function (value) {
1743
- fn(value, counter++);
1744
- }, { IS_RECORD: true });
1745
- }
1746
- });
1747
-
1748
- var call$2 = functionCall;
1749
- var aCallable$3 = aCallable$9;
1750
- var anObject$2 = anObject$e;
1751
- var getIteratorDirect$2 = getIteratorDirect$5;
1752
- var createIteratorProxy = iteratorCreateProxy;
1753
- var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
1754
-
1755
- var IteratorProxy = createIteratorProxy(function () {
1756
- var iterator = this.iterator;
1757
- var result = anObject$2(call$2(this.next, iterator));
1758
- var done = this.done = !!result.done;
1759
- if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1760
- });
1761
-
1762
- // `Iterator.prototype.map` method
1763
- // https://github.com/tc39/proposal-iterator-helpers
1764
- var iteratorMap = function map(mapper) {
1765
- anObject$2(this);
1766
- aCallable$3(mapper);
1767
- return new IteratorProxy(getIteratorDirect$2(this), {
1768
- mapper: mapper
1769
- });
1770
- };
1771
-
1772
- var $$a = _export;
1773
- var map = iteratorMap;
1774
- var IS_PURE = isPure;
1775
-
1776
- // `Iterator.prototype.map` method
1777
- // https://github.com/tc39/proposal-iterator-helpers
1778
- $$a({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
1779
- map: map
1780
- });
1781
-
1782
- var uncurryThis$3 = functionUncurryThis;
1783
-
1784
- // eslint-disable-next-line es/no-set -- safe
1785
- var SetPrototype$1 = Set.prototype;
1786
-
1787
- var setHelpers = {
1788
- // eslint-disable-next-line es/no-set -- safe
1789
- Set: Set,
1790
- add: uncurryThis$3(SetPrototype$1.add),
1791
- has: uncurryThis$3(SetPrototype$1.has),
1792
- remove: uncurryThis$3(SetPrototype$1['delete']),
1793
- proto: SetPrototype$1
1794
- };
1795
-
1796
- var has$5 = setHelpers.has;
1797
-
1798
- // Perform ? RequireInternalSlot(M, [[SetData]])
1799
- var aSet$7 = function (it) {
1800
- has$5(it);
1801
- return it;
1802
- };
1803
-
1804
- var call$1 = functionCall;
1805
-
1806
- var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
1807
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
1808
- var next = record.next;
1809
- var step, result;
1810
- while (!(step = call$1(next, iterator)).done) {
1811
- result = fn(step.value);
1812
- if (result !== undefined) return result;
1813
- }
1814
- };
1815
-
1816
- var uncurryThis$2 = functionUncurryThis;
1817
- var iterateSimple$6 = iterateSimple$7;
1818
- var SetHelpers$5 = setHelpers;
1819
-
1820
- var Set$3 = SetHelpers$5.Set;
1821
- var SetPrototype = SetHelpers$5.proto;
1822
- var forEach = uncurryThis$2(SetPrototype.forEach);
1823
- var keys = uncurryThis$2(SetPrototype.keys);
1824
- var next = keys(new Set$3()).next;
1825
-
1826
- var setIterate = function (set, fn, interruptible) {
1827
- return interruptible ? iterateSimple$6({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
1828
- };
1829
-
1830
- var SetHelpers$4 = setHelpers;
1831
- var iterate$2 = setIterate;
1832
-
1833
- var Set$2 = SetHelpers$4.Set;
1834
- var add$3 = SetHelpers$4.add;
1835
-
1836
- var setClone = function (set) {
1837
- var result = new Set$2();
1838
- iterate$2(set, function (it) {
1839
- add$3(result, it);
1840
- });
1841
- return result;
1842
- };
1843
-
1844
- var uncurryThis$1 = functionUncurryThis;
1845
- var aCallable$2 = aCallable$9;
1846
-
1847
- var functionUncurryThisAccessor = function (object, key, method) {
1848
- try {
1849
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1850
- return uncurryThis$1(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
1851
- } catch (error) { /* empty */ }
1852
- };
1853
-
1854
- var uncurryThisAccessor = functionUncurryThisAccessor;
1855
- var SetHelpers$3 = setHelpers;
1856
-
1857
- var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function (set) {
1858
- return set.size;
1859
- };
1860
-
1861
- var aCallable$1 = aCallable$9;
1862
- var anObject$1 = anObject$e;
1863
- var call = functionCall;
1864
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;
1865
- var getIteratorDirect$1 = getIteratorDirect$5;
1866
-
1867
- var INVALID_SIZE = 'Invalid size';
1868
- var $RangeError = RangeError;
1869
- var $TypeError = TypeError;
1870
- var max = Math.max;
1871
-
1872
- var SetRecord = function (set, intSize) {
1873
- this.set = set;
1874
- this.size = max(intSize, 0);
1875
- this.has = aCallable$1(set.has);
1876
- this.keys = aCallable$1(set.keys);
1877
- };
1878
-
1879
- SetRecord.prototype = {
1880
- getIterator: function () {
1881
- return getIteratorDirect$1(anObject$1(call(this.keys, this.set)));
1882
- },
1883
- includes: function (it) {
1884
- return call(this.has, this.set, it);
1885
- }
1886
- };
1887
-
1888
- // `GetSetRecord` abstract operation
1889
- // https://tc39.es/proposal-set-methods/#sec-getsetrecord
1890
- var getSetRecord$7 = function (obj) {
1891
- anObject$1(obj);
1892
- var numSize = +obj.size;
1893
- // NOTE: If size is undefined, then numSize will be NaN
1894
- // eslint-disable-next-line no-self-compare -- NaN check
1895
- if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
1896
- var intSize = toIntegerOrInfinity$2(numSize);
1897
- if (intSize < 0) throw new $RangeError(INVALID_SIZE);
1898
- return new SetRecord(obj, intSize);
1899
- };
1900
-
1901
- var aSet$6 = aSet$7;
1902
- var SetHelpers$2 = setHelpers;
1903
- var clone$2 = setClone;
1904
- var size$4 = setSize;
1905
- var getSetRecord$6 = getSetRecord$7;
1906
- var iterateSet$2 = setIterate;
1907
- var iterateSimple$5 = iterateSimple$7;
1908
-
1909
- var has$4 = SetHelpers$2.has;
1910
- var remove$1 = SetHelpers$2.remove;
1911
-
1912
- // `Set.prototype.difference` method
1913
- // https://github.com/tc39/proposal-set-methods
1914
- var setDifference = function difference(other) {
1915
- var O = aSet$6(this);
1916
- var otherRec = getSetRecord$6(other);
1917
- var result = clone$2(O);
1918
- if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
1919
- if (otherRec.includes(e)) remove$1(result, e);
1920
- });
1921
- else iterateSimple$5(otherRec.getIterator(), function (e) {
1922
- if (has$4(O, e)) remove$1(result, e);
1923
- });
1924
- return result;
1925
- };
1926
-
1927
- var getBuiltIn = getBuiltIn$4;
1928
-
1929
- var createSetLike = function (size) {
1930
- return {
1931
- size: size,
1932
- has: function () {
1933
- return false;
1934
- },
1935
- keys: function () {
1936
- return {
1937
- next: function () {
1938
- return { done: true };
1939
- }
1940
- };
1941
- }
1942
- };
1943
- };
1944
-
1945
- var setMethodAcceptSetLike$7 = function (name) {
1946
- var Set = getBuiltIn('Set');
1947
- try {
1948
- new Set()[name](createSetLike(0));
1949
- try {
1950
- // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
1951
- // https://github.com/tc39/proposal-set-methods/pull/88
1952
- new Set()[name](createSetLike(-1));
1953
- return false;
1954
- } catch (error2) {
1955
- return true;
1956
- }
1957
- } catch (error) {
1958
- return false;
1959
- }
1960
- };
1961
-
1962
- var $$9 = _export;
1963
- var difference = setDifference;
1964
- var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
1965
-
1966
- // `Set.prototype.difference` method
1967
- // https://github.com/tc39/proposal-set-methods
1968
- $$9({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
1969
- difference: difference
1970
- });
1971
-
1972
- var aSet$5 = aSet$7;
1973
- var SetHelpers$1 = setHelpers;
1974
- var size$3 = setSize;
1975
- var getSetRecord$5 = getSetRecord$7;
1976
- var iterateSet$1 = setIterate;
1977
- var iterateSimple$4 = iterateSimple$7;
1978
-
1979
- var Set$1 = SetHelpers$1.Set;
1980
- var add$2 = SetHelpers$1.add;
1981
- var has$3 = SetHelpers$1.has;
1982
-
1983
- // `Set.prototype.intersection` method
1984
- // https://github.com/tc39/proposal-set-methods
1985
- var setIntersection = function intersection(other) {
1986
- var O = aSet$5(this);
1987
- var otherRec = getSetRecord$5(other);
1988
- var result = new Set$1();
1989
-
1990
- if (size$3(O) > otherRec.size) {
1991
- iterateSimple$4(otherRec.getIterator(), function (e) {
1992
- if (has$3(O, e)) add$2(result, e);
1993
- });
1994
- } else {
1995
- iterateSet$1(O, function (e) {
1996
- if (otherRec.includes(e)) add$2(result, e);
1997
- });
1998
- }
1999
-
2000
- return result;
2001
- };
2002
-
2003
- var $$8 = _export;
2004
- var fails$1 = fails$e;
2005
- var intersection = setIntersection;
2006
- var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2007
-
2008
- var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$1(function () {
2009
- // eslint-disable-next-line es/no-array-from, es/no-set -- testing
2010
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
2011
- });
2012
-
2013
- // `Set.prototype.intersection` method
2014
- // https://github.com/tc39/proposal-set-methods
2015
- $$8({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
2016
- intersection: intersection
2017
- });
2018
-
2019
- var aSet$4 = aSet$7;
2020
- var has$2 = setHelpers.has;
2021
- var size$2 = setSize;
2022
- var getSetRecord$4 = getSetRecord$7;
2023
- var iterateSet = setIterate;
2024
- var iterateSimple$3 = iterateSimple$7;
2025
- var iteratorClose$1 = iteratorClose$5;
2026
-
2027
- // `Set.prototype.isDisjointFrom` method
2028
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
2029
- var setIsDisjointFrom = function isDisjointFrom(other) {
2030
- var O = aSet$4(this);
2031
- var otherRec = getSetRecord$4(other);
2032
- if (size$2(O) <= otherRec.size) return iterateSet(O, function (e) {
2033
- if (otherRec.includes(e)) return false;
2034
- }, true) !== false;
2035
- var iterator = otherRec.getIterator();
2036
- return iterateSimple$3(iterator, function (e) {
2037
- if (has$2(O, e)) return iteratorClose$1(iterator, 'normal', false);
2038
- }) !== false;
2039
- };
2040
-
2041
- var $$7 = _export;
2042
- var isDisjointFrom = setIsDisjointFrom;
2043
- var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
2044
-
2045
- // `Set.prototype.isDisjointFrom` method
2046
- // https://github.com/tc39/proposal-set-methods
2047
- $$7({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
2048
- isDisjointFrom: isDisjointFrom
2049
- });
2050
-
2051
- var aSet$3 = aSet$7;
2052
- var size$1 = setSize;
2053
- var iterate$1 = setIterate;
2054
- var getSetRecord$3 = getSetRecord$7;
2055
-
2056
- // `Set.prototype.isSubsetOf` method
2057
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
2058
- var setIsSubsetOf = function isSubsetOf(other) {
2059
- var O = aSet$3(this);
2060
- var otherRec = getSetRecord$3(other);
2061
- if (size$1(O) > otherRec.size) return false;
2062
- return iterate$1(O, function (e) {
2063
- if (!otherRec.includes(e)) return false;
2064
- }, true) !== false;
2065
- };
2066
-
2067
- var $$6 = _export;
2068
- var isSubsetOf = setIsSubsetOf;
2069
- var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
2070
-
2071
- // `Set.prototype.isSubsetOf` method
2072
- // https://github.com/tc39/proposal-set-methods
2073
- $$6({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
2074
- isSubsetOf: isSubsetOf
2075
- });
2076
-
2077
- var aSet$2 = aSet$7;
2078
- var has$1 = setHelpers.has;
2079
- var size = setSize;
2080
- var getSetRecord$2 = getSetRecord$7;
2081
- var iterateSimple$2 = iterateSimple$7;
2082
- var iteratorClose = iteratorClose$5;
2083
-
2084
- // `Set.prototype.isSupersetOf` method
2085
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
2086
- var setIsSupersetOf = function isSupersetOf(other) {
2087
- var O = aSet$2(this);
2088
- var otherRec = getSetRecord$2(other);
2089
- if (size(O) < otherRec.size) return false;
2090
- var iterator = otherRec.getIterator();
2091
- return iterateSimple$2(iterator, function (e) {
2092
- if (!has$1(O, e)) return iteratorClose(iterator, 'normal', false);
2093
- }) !== false;
2094
- };
2095
-
2096
- var $$5 = _export;
2097
- var isSupersetOf = setIsSupersetOf;
2098
- var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
2099
-
2100
- // `Set.prototype.isSupersetOf` method
2101
- // https://github.com/tc39/proposal-set-methods
2102
- $$5({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
2103
- isSupersetOf: isSupersetOf
2104
- });
2105
-
2106
- var aSet$1 = aSet$7;
2107
- var SetHelpers = setHelpers;
2108
- var clone$1 = setClone;
2109
- var getSetRecord$1 = getSetRecord$7;
2110
- var iterateSimple$1 = iterateSimple$7;
2111
-
2112
- var add$1 = SetHelpers.add;
2113
- var has = SetHelpers.has;
2114
- var remove = SetHelpers.remove;
2115
-
2116
- // `Set.prototype.symmetricDifference` method
2117
- // https://github.com/tc39/proposal-set-methods
2118
- var setSymmetricDifference = function symmetricDifference(other) {
2119
- var O = aSet$1(this);
2120
- var keysIter = getSetRecord$1(other).getIterator();
2121
- var result = clone$1(O);
2122
- iterateSimple$1(keysIter, function (e) {
2123
- if (has(O, e)) remove(result, e);
2124
- else add$1(result, e);
2125
- });
2126
- return result;
2127
- };
2128
-
2129
- var $$4 = _export;
2130
- var symmetricDifference = setSymmetricDifference;
2131
- var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
2132
-
2133
- // `Set.prototype.symmetricDifference` method
2134
- // https://github.com/tc39/proposal-set-methods
2135
- $$4({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
2136
- symmetricDifference: symmetricDifference
2137
- });
2138
-
2139
- var aSet = aSet$7;
2140
- var add = setHelpers.add;
2141
- var clone = setClone;
2142
- var getSetRecord = getSetRecord$7;
2143
- var iterateSimple = iterateSimple$7;
2144
-
2145
- // `Set.prototype.union` method
2146
- // https://github.com/tc39/proposal-set-methods
2147
- var setUnion = function union(other) {
2148
- var O = aSet(this);
2149
- var keysIter = getSetRecord(other).getIterator();
2150
- var result = clone(O);
2151
- iterateSimple(keysIter, function (it) {
2152
- add(result, it);
2153
- });
2154
- return result;
2155
- };
2156
-
2157
- var $$3 = _export;
2158
- var union = setUnion;
2159
- var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
2160
-
2161
- // `Set.prototype.union` method
2162
- // https://github.com/tc39/proposal-set-methods
2163
- $$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
2164
- union: union
2165
- });
2166
-
2167
20
  const MAX_FUTURE_DATE = new Date(Date.UTC(9999, 0));
2168
21
  /**
2169
22
  * Returns true if the input is a date.
@@ -2243,11 +96,11 @@ function parseJsDateString(input) {
2243
96
  }
2244
97
  function earliestDate(dates, defaultDate = undefined) {
2245
98
  const filtered = filterMaybeArrayValues(dates);
2246
- return filtered.length > 0 ? min$2(filtered) : defaultDate;
99
+ return filtered.length > 0 ? min(filtered) : defaultDate;
2247
100
  }
2248
101
  function latestDate(dates, defaultDate = undefined) {
2249
102
  const filtered = filterMaybeArrayValues(dates);
2250
- return filtered.length > 0 ? max$2(filtered) : defaultDate;
103
+ return filtered.length > 0 ? max(filtered) : defaultDate;
2251
104
  }
2252
105
  function isAfter(a, b, defaultValue = undefined) {
2253
106
  return a && b ? isAfter$1(a, b) : defaultValue;
@@ -2273,50 +126,6 @@ function isSameDateDay(a, b, defaultValue = null) {
2273
126
  function utcDayForDate(date) {
2274
127
  return new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate()));
2275
128
  }
2276
- /**
2277
- * Takes the next occuring time of the input date's hours/minutes.
2278
- *
2279
- * For example, if it is currently 9PM:
2280
- * - if 10PM on any day is passed then 9PM the next day will be returned.
2281
- * - if 11PM on any day is passed, 11PM today will be returned.
2282
- *
2283
- * @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.
2284
- */
2285
- function takeNextUpcomingTime(date, roundDownToMinute) {
2286
- date = copyHoursAndMinutesFromDateToToday(date, roundDownToMinute);
2287
- if (isPast(date)) {
2288
- date = addDays(date, 1);
2289
- }
2290
- return date;
2291
- }
2292
- /**
2293
- * Creates a new date and copies the hours/minutes from the previous date and applies them to a date for today.
2294
- *
2295
- * @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.
2296
- */
2297
- function copyHoursAndMinutesFromDateToToday(fromDate, roundDownToMinute) {
2298
- return copyHoursAndMinutesFromDate(new Date(), fromDate, roundDownToMinute);
2299
- }
2300
- /**
2301
- * Copies the hours/minutes from now to the target date.
2302
- *
2303
- * @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.
2304
- */
2305
- function copyHoursAndMinutesFromNow(target, roundDownToMinute) {
2306
- return copyHoursAndMinutesFromDate(target, new Date(), roundDownToMinute);
2307
- }
2308
- /**
2309
- * Creates a new date and copies the hours/minutes from the input date to the target date.
2310
- *
2311
- * @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.
2312
- */
2313
- function copyHoursAndMinutesFromDate(target, fromDate, roundDownToMinute) {
2314
- return copyHoursAndMinutesToDate({
2315
- hours: fromDate.getHours(),
2316
- minutes: fromDate.getMinutes(),
2317
- roundDownToMinute
2318
- }, target);
2319
- }
2320
129
  /**
2321
130
  * Creates a new date using UTC and copies the hours/minutes from the input date using the UTC values to the target date.
2322
131
  */
@@ -2334,7 +143,7 @@ function copyHoursAndMinutesToDate({
2334
143
  removeSeconds,
2335
144
  roundDownToMinute = true
2336
145
  }, target) {
2337
- return set$1(target ?? new Date(), {
146
+ return set(target ?? new Date(), {
2338
147
  hours,
2339
148
  ...(minutes != null ? {
2340
149
  minutes
@@ -2414,11 +223,11 @@ function reduceDatesFunction(reduceDates) {
2414
223
  /**
2415
224
  * Finds the minimum date in the input. If no dates are input, returns undefined.
2416
225
  */
2417
- const findMinDate = reduceDatesFunction(min$2);
226
+ const findMinDate = reduceDatesFunction(min);
2418
227
  /**
2419
228
  * Finds the maximum date in the input. If no dates are input, returns undefined.
2420
229
  */
2421
- const findMaxDate = reduceDatesFunction(max$2);
230
+ const findMaxDate = reduceDatesFunction(max);
2422
231
  /**
2423
232
  * Reads the unique days of the week from the given dates, until all the unique dates are returned.
2424
233
  *
@@ -4224,19 +2033,6 @@ function parseISO8601DayStringToDate(dayString) {
4224
2033
  const result = parse(dayString, format, new Date());
4225
2034
  return startOfDay(result);
4226
2035
  }
4227
- // MARK: Compat
4228
- /**
4229
- * @deprecated use toISO8601DayStringForSystem instead for clarity. Will be removed in the future.
4230
- */
4231
- const toISO8601DayString = toISO8601DayStringForSystem;
4232
- /**
4233
- * @deprecated use formatToISO8601DayStringForSystem instead for clarity. Will be removed in the future.
4234
- */
4235
- const formatToISO8601DayString = formatToISO8601DayStringForSystem;
4236
- /**
4237
- * @deprecated use formatToMonthDaySlashDate instead for clarity. Will be removed in the future.
4238
- */
4239
- const dateShortDateStringFormat = monthDaySlashDateStringFormat;
4240
2036
 
4241
2037
  /**
4242
2038
  * Returns true if the index is a non-negative integer.
@@ -4883,26 +2679,6 @@ function isValidFullDateCellTiming(timing) {
4883
2679
  return isValid;
4884
2680
  }
4885
2681
 
4886
- var $$2 = _export;
4887
- var iterate = iterate$4;
4888
- var aCallable = aCallable$9;
4889
- var anObject = anObject$e;
4890
- var getIteratorDirect = getIteratorDirect$5;
4891
-
4892
- // `Iterator.prototype.find` method
4893
- // https://github.com/tc39/proposal-iterator-helpers
4894
- $$2({ target: 'Iterator', proto: true, real: true }, {
4895
- find: function find(predicate) {
4896
- anObject(this);
4897
- aCallable(predicate);
4898
- var record = getIteratorDirect(this);
4899
- var counter = 0;
4900
- return iterate(record, function (value, stop) {
4901
- if (predicate(value, counter++)) return stop(value);
4902
- }, { IS_RECORD: true, INTERRUPTED: true }).result;
4903
- }
4904
- });
4905
-
4906
2682
  class DateCellRange extends DateCell {
4907
2683
  constructor(template) {
4908
2684
  super(template);
@@ -6488,8 +4264,8 @@ function yearWeekCodeForDateRangeFactory(factory = yearWeekCodeFactory()) {
6488
4264
  const weeks = [];
6489
4265
  let current = startOfWeek(start);
6490
4266
  while (!isAfter$1(current, end)) {
6491
- const week = factory(current);
6492
- weeks.push(week);
4267
+ // use yearWeekCodePairFromDate directly since current is already in target timezone form after systemDateToTargetDate
4268
+ weeks.push(yearWeekCodeFromPair(yearWeekCodePairFromDate(current)));
6493
4269
  current = addWeeks(current, 1);
6494
4270
  }
6495
4271
  // TODO: Add test for {"start":"2023-09-24T03:21:24.127Z","end":"2023-09-30T04:59:59.999Z"}
@@ -6977,7 +4753,9 @@ function dateCellScheduleDateRange(input) {
6977
4753
  start = normalInstance.startOfDayInTargetTimezone(startInSystemTimezone); // ensure the start of the day is set/matches the timezone.
6978
4754
  } else {
6979
4755
  if (inputStartsAt != null) {
6980
- 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));
6981
4759
  } else if (inputEnd != null) {
6982
4760
  start = normalInstance.startOfDayInTargetTimezone(inputEnd); // start on the same day as the end date
6983
4761
  } else {
@@ -7535,7 +5313,7 @@ function roundDateTimeDown(date, round) {
7535
5313
  minutes: 0
7536
5314
  };
7537
5315
  }
7538
- return set$1(date, rounding);
5316
+ return set(date, rounding);
7539
5317
  }
7540
5318
  /**
7541
5319
  * Rounds the current number of minutes on the date to the nearest step.
@@ -7550,11 +5328,11 @@ function roundToMinuteSteps(date, step) {
7550
5328
  if (roundedValue !== minute) {
7551
5329
  if (roundedValue === 60) {
7552
5330
  // Round the hour up.
7553
- date = addHours(set$1(date, {
5331
+ date = addHours(set(date, {
7554
5332
  minutes: 0
7555
5333
  }), 1);
7556
5334
  } else {
7557
- date = set$1(date, {
5335
+ date = set(date, {
7558
5336
  minutes: roundedValue
7559
5337
  });
7560
5338
  }
@@ -7579,7 +5357,7 @@ function dateInterval(config) {
7579
5357
  }
7580
5358
  const intervalPeriod = period ?? MS_IN_SECOND;
7581
5359
  const factory = inputFactory ? inputFactory : protectedFactory(logicalDateStringCodeDateFactory(logicalDate));
7582
- let obs = interval(intervalPeriod, scheduler).pipe(startWith(-1), map$1(factory));
5360
+ let obs = interval(intervalPeriod, scheduler).pipe(startWith(-1), map(factory));
7583
5361
  if (emitAll !== true) {
7584
5362
  obs = obs.pipe(distinctUntilChanged(isSameDate));
7585
5363
  }
@@ -7699,7 +5477,17 @@ class LimitDateTimeInstance {
7699
5477
  const dateRange = this.dateRange();
7700
5478
  result = clampDateToDateRange(date, dateRange);
7701
5479
  if (this._config.takeNextUpcomingTime) {
7702
- 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
+ }
7703
5491
  } else if (this._config.roundDownToMinute) {
7704
5492
  result = roundDownToMinute(result);
7705
5493
  }
@@ -8202,214 +5990,6 @@ function limitDateTime(config) {
8202
5990
  return new LimitDateTimeInstance(config);
8203
5991
  }
8204
5992
 
8205
- // MARK: Compat
8206
- /**
8207
- * Returns true if any of the input items have expired.
8208
- *
8209
- * If the list is empty, returns false.
8210
- *
8211
- * @deprecated Use ExpirationDetails and checkAtleastOneNotExpired() instead.
8212
- */
8213
- function atleastOneNotExpired(expires) {
8214
- for (const expire of expires) {
8215
- if (!hasExpired(expire)) {
8216
- return true;
8217
- }
8218
- }
8219
- return false;
8220
- }
8221
- /**
8222
- * Returns true if any of the input items has expired.
8223
- *
8224
- * If the list is empty, returns the second argument, or true by default.
8225
- *
8226
- * @deprecated Use ExpirationDetails and checkAnyHaveExpired() instead.
8227
- */
8228
- function anyHaveExpired(expires, expireIfEmpty = true) {
8229
- if (expires.length === 0) {
8230
- return expireIfEmpty;
8231
- }
8232
- for (const expire of expires) {
8233
- if (hasExpired(expire)) {
8234
- return true;
8235
- }
8236
- }
8237
- return false;
8238
- }
8239
- /**
8240
- * Convenience function for checking if the input time has expired.
8241
- *
8242
- * @param timeNumber
8243
- * @param expiresIn
8244
- * @returns
8245
- *
8246
- * @deprecated Use isThrottled() or expirationDetails({ expiresFromDate: time, expiresIn }).hasExpired() instead.
8247
- */
8248
- function timeHasExpired(time, expiresIn) {
8249
- return hasExpired(toExpires(time, expiresIn));
8250
- }
8251
- /**
8252
- * Creates an Expires object from the input date or time number.
8253
- *
8254
- * @deprecated Use ExpirationDetails instead.
8255
- *
8256
- * @param timeNumber Number to convert to a date.
8257
- * @param expiresIn If the input number is the initial date, and not the expiration date, this is used to find the expiresAt time.
8258
- */
8259
- function toExpires(time, expiresIn) {
8260
- let expiresAt = dateFromDateOrTimeMillisecondsNumber(time);
8261
- if (expiresAt && expiresIn != null) {
8262
- expiresAt = addMilliseconds(expiresAt, expiresIn);
8263
- }
8264
- return {
8265
- expiresAt
8266
- };
8267
- }
8268
- /**
8269
- * Checks whether or not the item has expired. If no expiration date is set, it is considered expired.
8270
- *
8271
- * @deprecated Use ExpirationDetails instead.
8272
- */
8273
- function hasExpired(expires) {
8274
- const expiresAt = getExpiration(expires);
8275
- return isPast(expiresAt);
8276
- }
8277
- /**
8278
- * Returns the expiration date, or a date 1 minute in the past if not defined.
8279
- *
8280
- * @deprecated Use ExpirationDetails instead.
8281
- */
8282
- function getExpiration(expires) {
8283
- return expires?.expiresAt ?? addMinutes(new Date(), -1);
8284
- }
8285
-
8286
- // TODO: Deprecate and move to @dereekb/rxjs
8287
- /**
8288
- * Creates a new Expires object at the current time on emission that will expire in the set amount of time.
8289
- *
8290
- * @param expiresIn
8291
- * @returns
8292
- */
8293
- function toExpiration(expiresIn) {
8294
- return map$1(() => toExpires(new Date(), expiresIn));
8295
- }
8296
- /**
8297
- * Filters further emissions once the input is expired.
8298
- */
8299
- function skipExpired() {
8300
- return filter(expires => !hasExpired(expires));
8301
- }
8302
- /**
8303
- * Skips the input date or timenumber until expiration occurs.
8304
- */
8305
- function skipUntilExpiration(expiresIn) {
8306
- return filter(x => timeHasExpired(x, expiresIn));
8307
- }
8308
- /**
8309
- * Skips the input date or timenumber after expiration occurs.
8310
- */
8311
- function skipAfterExpiration(expiresIn) {
8312
- return filter(x => !timeHasExpired(x, expiresIn));
8313
- }
8314
- /**
8315
- * Skips emissions until time since the last emission from the watch observable has elapsed.
8316
- */
8317
- function skipUntilTimeElapsedAfterLastEmission(watch, takeFor) {
8318
- return observable => {
8319
- return watch.pipe(switchMap(() => {
8320
- const expires = toExpires(new Date(), takeFor);
8321
- return observable.pipe(takeWhile(() => !hasExpired(expires)));
8322
- }));
8323
- };
8324
- }
8325
- /**
8326
- * Takes emissions until time since the last emission from the watch observable has elapsed.
8327
- */
8328
- function takeAfterTimeElapsedSinceLastEmission(watch, skipFor) {
8329
- return observable => {
8330
- return watch.pipe(switchMap(() => {
8331
- const expires = toExpires(new Date(), skipFor);
8332
- return observable.pipe(skipWhile(() => !hasExpired(expires)));
8333
- }));
8334
- };
8335
- }
8336
-
8337
- var wellKnownSymbol = wellKnownSymbol$9;
8338
- var create = objectCreate;
8339
- var defineProperty = objectDefineProperty.f;
8340
-
8341
- var UNSCOPABLES = wellKnownSymbol('unscopables');
8342
- var ArrayPrototype = Array.prototype;
8343
-
8344
- // Array.prototype[@@unscopables]
8345
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
8346
- if (ArrayPrototype[UNSCOPABLES] === undefined) {
8347
- defineProperty(ArrayPrototype, UNSCOPABLES, {
8348
- configurable: true,
8349
- value: create(null)
8350
- });
8351
- }
8352
-
8353
- // add a key to Array.prototype[@@unscopables]
8354
- var addToUnscopables$1 = function (key) {
8355
- ArrayPrototype[UNSCOPABLES][key] = true;
8356
- };
8357
-
8358
- var $$1 = _export;
8359
- var toObject = toObject$4;
8360
- var lengthOfArrayLike = lengthOfArrayLike$4;
8361
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;
8362
- var addToUnscopables = addToUnscopables$1;
8363
-
8364
- // `Array.prototype.at` method
8365
- // https://tc39.es/ecma262/#sec-array.prototype.at
8366
- $$1({ target: 'Array', proto: true }, {
8367
- at: function at(index) {
8368
- var O = toObject(this);
8369
- var len = lengthOfArrayLike(O);
8370
- var relativeIndex = toIntegerOrInfinity$1(index);
8371
- var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
8372
- return (k < 0 || k >= len) ? undefined : O[k];
8373
- }
8374
- });
8375
-
8376
- addToUnscopables('at');
8377
-
8378
- var classof = classof$2;
8379
-
8380
- var $String = String;
8381
-
8382
- var toString$1 = function (argument) {
8383
- if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
8384
- return $String(argument);
8385
- };
8386
-
8387
- var $ = _export;
8388
- var uncurryThis = functionUncurryThis;
8389
- var requireObjectCoercible = requireObjectCoercible$3;
8390
- var toIntegerOrInfinity = toIntegerOrInfinity$5;
8391
- var toString = toString$1;
8392
- var fails = fails$e;
8393
-
8394
- var charAt = uncurryThis(''.charAt);
8395
-
8396
- var FORCED = fails(function () {
8397
- // eslint-disable-next-line es/no-array-string-prototype-at -- safe
8398
- return '𠮷'.at(-2) !== '\uD842';
8399
- });
8400
-
8401
- // `String.prototype.at` method
8402
- // https://tc39.es/ecma262/#sec-string.prototype.at
8403
- $({ target: 'String', proto: true, forced: FORCED }, {
8404
- at: function at(index) {
8405
- var S = toString(requireObjectCoercible(this));
8406
- var len = S.length;
8407
- var relativeIndex = toIntegerOrInfinity(index);
8408
- var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;
8409
- return (k < 0 || k >= len) ? undefined : charAt(S, k);
8410
- }
8411
- });
8412
-
8413
5993
  function makeDateQueryForOccuringFilter(find) {
8414
5994
  const result = {};
8415
5995
  result.timezone = find.timezone;
@@ -9113,4 +6693,4 @@ class ModelRecurrenceInfoUtility {
9113
6693
  }
9114
6694
  }
9115
6695
 
9116
- 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 };