@hebcal/rest-api 3.8.1 → 3.8.5

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/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v3.8.1 */
1
+ /*! @hebcal/rest-api v3.8.5 */
2
2
  var hebcal__rest_api = (function (exports, core, leyn) {
3
3
  'use strict';
4
4
 
@@ -11,14 +11,12 @@ if (k !== 'default') {
11
11
  var d = Object.getOwnPropertyDescriptor(e, k);
12
12
  Object.defineProperty(n, k, d.get ? d : {
13
13
  enumerable: true,
14
- get: function () {
15
- return e[k];
16
- }
14
+ get: function () { return e[k]; }
17
15
  });
18
16
  }
19
17
  });
20
18
  }
21
- n['default'] = e;
19
+ n["default"] = e;
22
20
  return Object.freeze(n);
23
21
  }
24
22
 
@@ -31,7 +29,7 @@ var check = function (it) {
31
29
  };
32
30
 
33
31
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
34
- var global$b =
32
+ var global$q =
35
33
  // eslint-disable-next-line es/no-global-this -- safe
36
34
  check(typeof globalThis == 'object' && globalThis) ||
37
35
  check(typeof window == 'object' && window) ||
@@ -59,6 +57,12 @@ var descriptors = !fails$7(function () {
59
57
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
60
58
  });
61
59
 
60
+ var call$5 = Function.prototype.call;
61
+
62
+ var functionCall = call$5.bind ? call$5.bind(call$5) : function () {
63
+ return call$5.apply(call$5, arguments);
64
+ };
65
+
62
66
  var objectPropertyIsEnumerable = {};
63
67
 
64
68
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
@@ -84,30 +88,53 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
84
88
  };
85
89
  };
86
90
 
87
- var toString$2 = {}.toString;
91
+ var FunctionPrototype$1 = Function.prototype;
92
+ var bind = FunctionPrototype$1.bind;
93
+ var call$4 = FunctionPrototype$1.call;
94
+ var callBind = bind && bind.bind(call$4);
88
95
 
89
- var classofRaw = function (it) {
90
- return toString$2.call(it).slice(8, -1);
96
+ var functionUncurryThis = bind ? function (fn) {
97
+ return fn && callBind(call$4, fn);
98
+ } : function (fn) {
99
+ return fn && function () {
100
+ return call$4.apply(fn, arguments);
101
+ };
91
102
  };
92
103
 
104
+ var uncurryThis$9 = functionUncurryThis;
105
+
106
+ var toString$3 = uncurryThis$9({}.toString);
107
+ var stringSlice$1 = uncurryThis$9(''.slice);
108
+
109
+ var classofRaw$1 = function (it) {
110
+ return stringSlice$1(toString$3(it), 8, -1);
111
+ };
112
+
113
+ var global$p = global$q;
114
+ var uncurryThis$8 = functionUncurryThis;
93
115
  var fails$6 = fails$8;
94
- var classof = classofRaw;
116
+ var classof$2 = classofRaw$1;
95
117
 
96
- var split = ''.split;
118
+ var Object$4 = global$p.Object;
119
+ var split = uncurryThis$8(''.split);
97
120
 
98
121
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
99
122
  var indexedObject = fails$6(function () {
100
123
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
101
124
  // eslint-disable-next-line no-prototype-builtins -- safe
102
- return !Object('z').propertyIsEnumerable(0);
125
+ return !Object$4('z').propertyIsEnumerable(0);
103
126
  }) ? function (it) {
104
- return classof(it) == 'String' ? split.call(it, '') : Object(it);
105
- } : Object;
127
+ return classof$2(it) == 'String' ? split(it, '') : Object$4(it);
128
+ } : Object$4;
129
+
130
+ var global$o = global$q;
131
+
132
+ var TypeError$7 = global$o.TypeError;
106
133
 
107
134
  // `RequireObjectCoercible` abstract operation
108
135
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
109
136
  var requireObjectCoercible$2 = function (it) {
110
- if (it == undefined) throw TypeError("Can't call method on " + it);
137
+ if (it == undefined) throw TypeError$7("Can't call method on " + it);
111
138
  return it;
112
139
  };
113
140
 
@@ -115,49 +142,68 @@ var requireObjectCoercible$2 = function (it) {
115
142
  var IndexedObject = indexedObject;
116
143
  var requireObjectCoercible$1 = requireObjectCoercible$2;
117
144
 
118
- var toIndexedObject$3 = function (it) {
145
+ var toIndexedObject$4 = function (it) {
119
146
  return IndexedObject(requireObjectCoercible$1(it));
120
147
  };
121
148
 
149
+ // `IsCallable` abstract operation
150
+ // https://tc39.es/ecma262/#sec-iscallable
151
+ var isCallable$a = function (argument) {
152
+ return typeof argument == 'function';
153
+ };
154
+
155
+ var isCallable$9 = isCallable$a;
156
+
122
157
  var isObject$5 = function (it) {
123
- return typeof it === 'object' ? it !== null : typeof it === 'function';
158
+ return typeof it == 'object' ? it !== null : isCallable$9(it);
124
159
  };
125
160
 
126
- var global$a = global$b;
161
+ var global$n = global$q;
162
+ var isCallable$8 = isCallable$a;
127
163
 
128
- var aFunction = function (variable) {
129
- return typeof variable == 'function' ? variable : undefined;
164
+ var aFunction = function (argument) {
165
+ return isCallable$8(argument) ? argument : undefined;
130
166
  };
131
167
 
132
168
  var getBuiltIn$4 = function (namespace, method) {
133
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
169
+ return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
134
170
  };
135
171
 
172
+ var uncurryThis$7 = functionUncurryThis;
173
+
174
+ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
175
+
136
176
  var getBuiltIn$3 = getBuiltIn$4;
137
177
 
138
178
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
139
179
 
140
- var global$9 = global$b;
180
+ var global$m = global$q;
141
181
  var userAgent = engineUserAgent;
142
182
 
143
- var process = global$9.process;
144
- var Deno = global$9.Deno;
183
+ var process = global$m.process;
184
+ var Deno = global$m.Deno;
145
185
  var versions = process && process.versions || Deno && Deno.version;
146
186
  var v8 = versions && versions.v8;
147
187
  var match, version;
148
188
 
149
189
  if (v8) {
150
190
  match = v8.split('.');
151
- version = match[0] < 4 ? 1 : match[0] + match[1];
152
- } else if (userAgent) {
191
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
192
+ // but their correct versions are not interesting for us
193
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
194
+ }
195
+
196
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
197
+ // so check `userAgent` even if `.v8` exists, but 0
198
+ if (!version && userAgent) {
153
199
  match = userAgent.match(/Edge\/(\d+)/);
154
200
  if (!match || match[1] >= 74) {
155
201
  match = userAgent.match(/Chrome\/(\d+)/);
156
- if (match) version = match[1];
202
+ if (match) version = +match[1];
157
203
  }
158
204
  }
159
205
 
160
- var engineV8Version = version && +version;
206
+ var engineV8Version = version;
161
207
 
162
208
  /* eslint-disable es/no-symbol -- required for testing */
163
209
 
@@ -182,46 +228,91 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
182
228
  && !Symbol.sham
183
229
  && typeof Symbol.iterator == 'symbol';
184
230
 
231
+ var global$l = global$q;
185
232
  var getBuiltIn$2 = getBuiltIn$4;
233
+ var isCallable$7 = isCallable$a;
234
+ var isPrototypeOf = objectIsPrototypeOf;
186
235
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
187
236
 
188
- var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
237
+ var Object$3 = global$l.Object;
238
+
239
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
189
240
  return typeof it == 'symbol';
190
241
  } : function (it) {
191
242
  var $Symbol = getBuiltIn$2('Symbol');
192
- return typeof $Symbol == 'function' && Object(it) instanceof $Symbol;
243
+ return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
244
+ };
245
+
246
+ var global$k = global$q;
247
+
248
+ var String$3 = global$k.String;
249
+
250
+ var tryToString$1 = function (argument) {
251
+ try {
252
+ return String$3(argument);
253
+ } catch (error) {
254
+ return 'Object';
255
+ }
193
256
  };
194
257
 
258
+ var global$j = global$q;
259
+ var isCallable$6 = isCallable$a;
260
+ var tryToString = tryToString$1;
261
+
262
+ var TypeError$6 = global$j.TypeError;
263
+
264
+ // `Assert: IsCallable(argument) is true`
265
+ var aCallable$1 = function (argument) {
266
+ if (isCallable$6(argument)) return argument;
267
+ throw TypeError$6(tryToString(argument) + ' is not a function');
268
+ };
269
+
270
+ var aCallable = aCallable$1;
271
+
272
+ // `GetMethod` abstract operation
273
+ // https://tc39.es/ecma262/#sec-getmethod
274
+ var getMethod$1 = function (V, P) {
275
+ var func = V[P];
276
+ return func == null ? undefined : aCallable(func);
277
+ };
278
+
279
+ var global$i = global$q;
280
+ var call$3 = functionCall;
281
+ var isCallable$5 = isCallable$a;
195
282
  var isObject$4 = isObject$5;
196
283
 
284
+ var TypeError$5 = global$i.TypeError;
285
+
197
286
  // `OrdinaryToPrimitive` abstract operation
198
287
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
199
288
  var ordinaryToPrimitive$1 = function (input, pref) {
200
289
  var fn, val;
201
- if (pref === 'string' && typeof (fn = input.toString) == 'function' && !isObject$4(val = fn.call(input))) return val;
202
- if (typeof (fn = input.valueOf) == 'function' && !isObject$4(val = fn.call(input))) return val;
203
- if (pref !== 'string' && typeof (fn = input.toString) == 'function' && !isObject$4(val = fn.call(input))) return val;
204
- throw TypeError("Can't convert object to primitive value");
290
+ if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
291
+ if (isCallable$5(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
292
+ if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
293
+ throw TypeError$5("Can't convert object to primitive value");
205
294
  };
206
295
 
207
296
  var shared$4 = {exports: {}};
208
297
 
209
- var global$8 = global$b;
298
+ var global$h = global$q;
299
+
300
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
301
+ var defineProperty = Object.defineProperty;
210
302
 
211
303
  var setGlobal$3 = function (key, value) {
212
304
  try {
213
- // eslint-disable-next-line es/no-object-defineproperty -- safe
214
- Object.defineProperty(global$8, key, { value: value, configurable: true, writable: true });
305
+ defineProperty(global$h, key, { value: value, configurable: true, writable: true });
215
306
  } catch (error) {
216
- global$8[key] = value;
307
+ global$h[key] = value;
217
308
  } return value;
218
309
  };
219
310
 
220
- var global$7 = global$b;
311
+ var global$g = global$q;
221
312
  var setGlobal$2 = setGlobal$3;
222
313
 
223
314
  var SHARED = '__core-js_shared__';
224
- var store$3 = global$7[SHARED] || setGlobal$2(SHARED, {});
315
+ var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
225
316
 
226
317
  var sharedStore = store$3;
227
318
 
@@ -230,117 +321,135 @@ var store$2 = sharedStore;
230
321
  (shared$4.exports = function (key, value) {
231
322
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
232
323
  })('versions', []).push({
233
- version: '3.16.0',
324
+ version: '3.19.0',
234
325
  mode: 'global',
235
326
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
236
327
  });
237
328
 
329
+ var global$f = global$q;
238
330
  var requireObjectCoercible = requireObjectCoercible$2;
239
331
 
332
+ var Object$2 = global$f.Object;
333
+
240
334
  // `ToObject` abstract operation
241
335
  // https://tc39.es/ecma262/#sec-toobject
242
336
  var toObject$1 = function (argument) {
243
- return Object(requireObjectCoercible(argument));
337
+ return Object$2(requireObjectCoercible(argument));
244
338
  };
245
339
 
340
+ var uncurryThis$6 = functionUncurryThis;
246
341
  var toObject = toObject$1;
247
342
 
248
- var hasOwnProperty = {}.hasOwnProperty;
343
+ var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
249
344
 
250
- var has$6 = Object.hasOwn || function hasOwn(it, key) {
251
- return hasOwnProperty.call(toObject(it), key);
345
+ // `HasOwnProperty` abstract operation
346
+ // https://tc39.es/ecma262/#sec-hasownproperty
347
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
348
+ return hasOwnProperty(toObject(it), key);
252
349
  };
253
350
 
351
+ var uncurryThis$5 = functionUncurryThis;
352
+
254
353
  var id = 0;
255
354
  var postfix = Math.random();
355
+ var toString$2 = uncurryThis$5(1.0.toString);
256
356
 
257
357
  var uid$2 = function (key) {
258
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
358
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
259
359
  };
260
360
 
261
- var global$6 = global$b;
361
+ var global$e = global$q;
262
362
  var shared$3 = shared$4.exports;
263
- var has$5 = has$6;
363
+ var hasOwn$6 = hasOwnProperty_1;
264
364
  var uid$1 = uid$2;
265
365
  var NATIVE_SYMBOL = nativeSymbol;
266
366
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
267
367
 
268
368
  var WellKnownSymbolsStore = shared$3('wks');
269
- var Symbol$1 = global$6.Symbol;
369
+ var Symbol$1 = global$e.Symbol;
370
+ var symbolFor = Symbol$1 && Symbol$1['for'];
270
371
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
271
372
 
272
- var wellKnownSymbol$1 = function (name) {
273
- if (!has$5(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
274
- if (NATIVE_SYMBOL && has$5(Symbol$1, name)) {
373
+ var wellKnownSymbol$3 = function (name) {
374
+ if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
375
+ var description = 'Symbol.' + name;
376
+ if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
275
377
  WellKnownSymbolsStore[name] = Symbol$1[name];
378
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
379
+ WellKnownSymbolsStore[name] = symbolFor(description);
276
380
  } else {
277
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
381
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
278
382
  }
279
383
  } return WellKnownSymbolsStore[name];
280
384
  };
281
385
 
386
+ var global$d = global$q;
387
+ var call$2 = functionCall;
282
388
  var isObject$3 = isObject$5;
283
- var isSymbol$2 = isSymbol$3;
389
+ var isSymbol$1 = isSymbol$2;
390
+ var getMethod = getMethod$1;
284
391
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
285
- var wellKnownSymbol = wellKnownSymbol$1;
392
+ var wellKnownSymbol$2 = wellKnownSymbol$3;
286
393
 
287
- var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
394
+ var TypeError$4 = global$d.TypeError;
395
+ var TO_PRIMITIVE = wellKnownSymbol$2('toPrimitive');
288
396
 
289
397
  // `ToPrimitive` abstract operation
290
398
  // https://tc39.es/ecma262/#sec-toprimitive
291
399
  var toPrimitive$1 = function (input, pref) {
292
- if (!isObject$3(input) || isSymbol$2(input)) return input;
293
- var exoticToPrim = input[TO_PRIMITIVE];
400
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
401
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
294
402
  var result;
295
- if (exoticToPrim !== undefined) {
403
+ if (exoticToPrim) {
296
404
  if (pref === undefined) pref = 'default';
297
- result = exoticToPrim.call(input, pref);
298
- if (!isObject$3(result) || isSymbol$2(result)) return result;
299
- throw TypeError("Can't convert object to primitive value");
405
+ result = call$2(exoticToPrim, input, pref);
406
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
407
+ throw TypeError$4("Can't convert object to primitive value");
300
408
  }
301
409
  if (pref === undefined) pref = 'number';
302
410
  return ordinaryToPrimitive(input, pref);
303
411
  };
304
412
 
305
413
  var toPrimitive = toPrimitive$1;
306
- var isSymbol$1 = isSymbol$3;
414
+ var isSymbol = isSymbol$2;
307
415
 
308
416
  // `ToPropertyKey` abstract operation
309
417
  // https://tc39.es/ecma262/#sec-topropertykey
310
418
  var toPropertyKey$2 = function (argument) {
311
419
  var key = toPrimitive(argument, 'string');
312
- return isSymbol$1(key) ? key : String(key);
420
+ return isSymbol(key) ? key : key + '';
313
421
  };
314
422
 
315
- var global$5 = global$b;
423
+ var global$c = global$q;
316
424
  var isObject$2 = isObject$5;
317
425
 
318
- var document$1 = global$5.document;
426
+ var document$1 = global$c.document;
319
427
  // typeof document.createElement is 'object' in old IE
320
- var EXISTS = isObject$2(document$1) && isObject$2(document$1.createElement);
428
+ var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
321
429
 
322
430
  var documentCreateElement$1 = function (it) {
323
- return EXISTS ? document$1.createElement(it) : {};
431
+ return EXISTS$1 ? document$1.createElement(it) : {};
324
432
  };
325
433
 
326
- var DESCRIPTORS$4 = descriptors;
434
+ var DESCRIPTORS$5 = descriptors;
327
435
  var fails$4 = fails$8;
328
436
  var createElement = documentCreateElement$1;
329
437
 
330
438
  // Thank's IE8 for his funny defineProperty
331
- var ie8DomDefine = !DESCRIPTORS$4 && !fails$4(function () {
439
+ var ie8DomDefine = !DESCRIPTORS$5 && !fails$4(function () {
332
440
  // eslint-disable-next-line es/no-object-defineproperty -- requied for testing
333
441
  return Object.defineProperty(createElement('div'), 'a', {
334
442
  get: function () { return 7; }
335
443
  }).a != 7;
336
444
  });
337
445
 
338
- var DESCRIPTORS$3 = descriptors;
446
+ var DESCRIPTORS$4 = descriptors;
447
+ var call$1 = functionCall;
339
448
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
340
449
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
341
- var toIndexedObject$2 = toIndexedObject$3;
450
+ var toIndexedObject$3 = toIndexedObject$4;
342
451
  var toPropertyKey$1 = toPropertyKey$2;
343
- var has$4 = has$6;
452
+ var hasOwn$5 = hasOwnProperty_1;
344
453
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
345
454
 
346
455
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -348,52 +457,58 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
348
457
 
349
458
  // `Object.getOwnPropertyDescriptor` method
350
459
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
351
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$3 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
352
- O = toIndexedObject$2(O);
460
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
461
+ O = toIndexedObject$3(O);
353
462
  P = toPropertyKey$1(P);
354
463
  if (IE8_DOM_DEFINE$1) try {
355
464
  return $getOwnPropertyDescriptor(O, P);
356
465
  } catch (error) { /* empty */ }
357
- if (has$4(O, P)) return createPropertyDescriptor$1(!propertyIsEnumerableModule.f.call(O, P), O[P]);
466
+ if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule.f, O, P), O[P]);
358
467
  };
359
468
 
360
469
  var objectDefineProperty = {};
361
470
 
471
+ var global$b = global$q;
362
472
  var isObject$1 = isObject$5;
363
473
 
364
- var anObject$5 = function (it) {
365
- if (!isObject$1(it)) {
366
- throw TypeError(String(it) + ' is not an object');
367
- } return it;
474
+ var String$2 = global$b.String;
475
+ var TypeError$3 = global$b.TypeError;
476
+
477
+ // `Assert: Type(argument) is Object`
478
+ var anObject$5 = function (argument) {
479
+ if (isObject$1(argument)) return argument;
480
+ throw TypeError$3(String$2(argument) + ' is not an object');
368
481
  };
369
482
 
370
- var DESCRIPTORS$2 = descriptors;
483
+ var global$a = global$q;
484
+ var DESCRIPTORS$3 = descriptors;
371
485
  var IE8_DOM_DEFINE = ie8DomDefine;
372
486
  var anObject$4 = anObject$5;
373
487
  var toPropertyKey = toPropertyKey$2;
374
488
 
489
+ var TypeError$2 = global$a.TypeError;
375
490
  // eslint-disable-next-line es/no-object-defineproperty -- safe
376
491
  var $defineProperty = Object.defineProperty;
377
492
 
378
493
  // `Object.defineProperty` method
379
494
  // https://tc39.es/ecma262/#sec-object.defineproperty
380
- objectDefineProperty.f = DESCRIPTORS$2 ? $defineProperty : function defineProperty(O, P, Attributes) {
495
+ objectDefineProperty.f = DESCRIPTORS$3 ? $defineProperty : function defineProperty(O, P, Attributes) {
381
496
  anObject$4(O);
382
497
  P = toPropertyKey(P);
383
498
  anObject$4(Attributes);
384
499
  if (IE8_DOM_DEFINE) try {
385
500
  return $defineProperty(O, P, Attributes);
386
501
  } catch (error) { /* empty */ }
387
- if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported');
502
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
388
503
  if ('value' in Attributes) O[P] = Attributes.value;
389
504
  return O;
390
505
  };
391
506
 
392
- var DESCRIPTORS$1 = descriptors;
507
+ var DESCRIPTORS$2 = descriptors;
393
508
  var definePropertyModule$2 = objectDefineProperty;
394
509
  var createPropertyDescriptor = createPropertyDescriptor$2;
395
510
 
396
- var createNonEnumerableProperty$3 = DESCRIPTORS$1 ? function (object, key, value) {
511
+ var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
397
512
  return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
398
513
  } : function (object, key, value) {
399
514
  object[key] = value;
@@ -402,25 +517,28 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$1 ? function (object, key, value
402
517
 
403
518
  var redefine$1 = {exports: {}};
404
519
 
520
+ var uncurryThis$4 = functionUncurryThis;
521
+ var isCallable$4 = isCallable$a;
405
522
  var store$1 = sharedStore;
406
523
 
407
- var functionToString = Function.toString;
524
+ var functionToString = uncurryThis$4(Function.toString);
408
525
 
409
526
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
410
- if (typeof store$1.inspectSource != 'function') {
527
+ if (!isCallable$4(store$1.inspectSource)) {
411
528
  store$1.inspectSource = function (it) {
412
- return functionToString.call(it);
529
+ return functionToString(it);
413
530
  };
414
531
  }
415
532
 
416
533
  var inspectSource$2 = store$1.inspectSource;
417
534
 
418
- var global$4 = global$b;
535
+ var global$9 = global$q;
536
+ var isCallable$3 = isCallable$a;
419
537
  var inspectSource$1 = inspectSource$2;
420
538
 
421
- var WeakMap$1 = global$4.WeakMap;
539
+ var WeakMap$1 = global$9.WeakMap;
422
540
 
423
- var nativeWeakMap = typeof WeakMap$1 === 'function' && /native code/.test(inspectSource$1(WeakMap$1));
541
+ var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
424
542
 
425
543
  var shared$2 = shared$4.exports;
426
544
  var uid = uid$2;
@@ -434,79 +552,101 @@ var sharedKey$2 = function (key) {
434
552
  var hiddenKeys$4 = {};
435
553
 
436
554
  var NATIVE_WEAK_MAP = nativeWeakMap;
437
- var global$3 = global$b;
555
+ var global$8 = global$q;
556
+ var uncurryThis$3 = functionUncurryThis;
438
557
  var isObject = isObject$5;
439
558
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
440
- var objectHas = has$6;
559
+ var hasOwn$4 = hasOwnProperty_1;
441
560
  var shared$1 = sharedStore;
442
561
  var sharedKey$1 = sharedKey$2;
443
562
  var hiddenKeys$3 = hiddenKeys$4;
444
563
 
445
564
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
446
- var WeakMap = global$3.WeakMap;
447
- var set, get, has$3;
565
+ var TypeError$1 = global$8.TypeError;
566
+ var WeakMap = global$8.WeakMap;
567
+ var set, get, has;
448
568
 
449
569
  var enforce = function (it) {
450
- return has$3(it) ? get(it) : set(it, {});
570
+ return has(it) ? get(it) : set(it, {});
451
571
  };
452
572
 
453
573
  var getterFor = function (TYPE) {
454
574
  return function (it) {
455
575
  var state;
456
576
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
457
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
577
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
458
578
  } return state;
459
579
  };
460
580
  };
461
581
 
462
582
  if (NATIVE_WEAK_MAP || shared$1.state) {
463
583
  var store = shared$1.state || (shared$1.state = new WeakMap());
464
- var wmget = store.get;
465
- var wmhas = store.has;
466
- var wmset = store.set;
584
+ var wmget = uncurryThis$3(store.get);
585
+ var wmhas = uncurryThis$3(store.has);
586
+ var wmset = uncurryThis$3(store.set);
467
587
  set = function (it, metadata) {
468
- if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
588
+ if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
469
589
  metadata.facade = it;
470
- wmset.call(store, it, metadata);
590
+ wmset(store, it, metadata);
471
591
  return metadata;
472
592
  };
473
593
  get = function (it) {
474
- return wmget.call(store, it) || {};
594
+ return wmget(store, it) || {};
475
595
  };
476
- has$3 = function (it) {
477
- return wmhas.call(store, it);
596
+ has = function (it) {
597
+ return wmhas(store, it);
478
598
  };
479
599
  } else {
480
600
  var STATE = sharedKey$1('state');
481
601
  hiddenKeys$3[STATE] = true;
482
602
  set = function (it, metadata) {
483
- if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
603
+ if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
484
604
  metadata.facade = it;
485
605
  createNonEnumerableProperty$2(it, STATE, metadata);
486
606
  return metadata;
487
607
  };
488
608
  get = function (it) {
489
- return objectHas(it, STATE) ? it[STATE] : {};
609
+ return hasOwn$4(it, STATE) ? it[STATE] : {};
490
610
  };
491
- has$3 = function (it) {
492
- return objectHas(it, STATE);
611
+ has = function (it) {
612
+ return hasOwn$4(it, STATE);
493
613
  };
494
614
  }
495
615
 
496
616
  var internalState = {
497
617
  set: set,
498
618
  get: get,
499
- has: has$3,
619
+ has: has,
500
620
  enforce: enforce,
501
621
  getterFor: getterFor
502
622
  };
503
623
 
504
- var global$2 = global$b;
624
+ var DESCRIPTORS$1 = descriptors;
625
+ var hasOwn$3 = hasOwnProperty_1;
626
+
627
+ var FunctionPrototype = Function.prototype;
628
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
629
+ var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
630
+
631
+ var EXISTS = hasOwn$3(FunctionPrototype, 'name');
632
+ // additional protection from minified / mangled / dropped function names
633
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
634
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
635
+
636
+ var functionName = {
637
+ EXISTS: EXISTS,
638
+ PROPER: PROPER,
639
+ CONFIGURABLE: CONFIGURABLE
640
+ };
641
+
642
+ var global$7 = global$q;
643
+ var isCallable$2 = isCallable$a;
644
+ var hasOwn$2 = hasOwnProperty_1;
505
645
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
506
- var has$2 = has$6;
507
646
  var setGlobal$1 = setGlobal$3;
508
647
  var inspectSource = inspectSource$2;
509
648
  var InternalStateModule = internalState;
649
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
510
650
 
511
651
  var getInternalState$1 = InternalStateModule.get;
512
652
  var enforceInternalState = InternalStateModule.enforce;
@@ -516,17 +656,21 @@ var TEMPLATE = String(String).split('String');
516
656
  var unsafe = options ? !!options.unsafe : false;
517
657
  var simple = options ? !!options.enumerable : false;
518
658
  var noTargetGet = options ? !!options.noTargetGet : false;
659
+ var name = options && options.name !== undefined ? options.name : key;
519
660
  var state;
520
- if (typeof value == 'function') {
521
- if (typeof key == 'string' && !has$2(value, 'name')) {
522
- createNonEnumerableProperty$1(value, 'name', key);
661
+ if (isCallable$2(value)) {
662
+ if (String(name).slice(0, 7) === 'Symbol(') {
663
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
664
+ }
665
+ if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
666
+ createNonEnumerableProperty$1(value, 'name', name);
523
667
  }
524
668
  state = enforceInternalState(value);
525
669
  if (!state.source) {
526
- state.source = TEMPLATE.join(typeof key == 'string' ? key : '');
670
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
527
671
  }
528
672
  }
529
- if (O === global$2) {
673
+ if (O === global$7) {
530
674
  if (simple) O[key] = value;
531
675
  else setGlobal$1(key, value);
532
676
  return;
@@ -539,7 +683,7 @@ var TEMPLATE = String(String).split('String');
539
683
  else createNonEnumerableProperty$1(O, key, value);
540
684
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
541
685
  })(Function.prototype, 'toString', function toString() {
542
- return typeof this == 'function' && getInternalState$1(this).source || inspectSource(this);
686
+ return isCallable$2(this) && getInternalState$1(this).source || inspectSource(this);
543
687
  });
544
688
 
545
689
  var objectGetOwnPropertyNames = {};
@@ -547,44 +691,54 @@ var objectGetOwnPropertyNames = {};
547
691
  var ceil = Math.ceil;
548
692
  var floor = Math.floor;
549
693
 
550
- // `ToInteger` abstract operation
551
- // https://tc39.es/ecma262/#sec-tointeger
552
- var toInteger$2 = function (argument) {
553
- return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument);
694
+ // `ToIntegerOrInfinity` abstract operation
695
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
696
+ var toIntegerOrInfinity$2 = function (argument) {
697
+ var number = +argument;
698
+ // eslint-disable-next-line no-self-compare -- safe
699
+ return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
554
700
  };
555
701
 
556
- var toInteger$1 = toInteger$2;
702
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
557
703
 
704
+ var max = Math.max;
558
705
  var min$1 = Math.min;
559
706
 
560
- // `ToLength` abstract operation
561
- // https://tc39.es/ecma262/#sec-tolength
562
- var toLength$1 = function (argument) {
563
- return argument > 0 ? min$1(toInteger$1(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
707
+ // Helper for a popular repeating case of the spec:
708
+ // Let integer be ? ToInteger(index).
709
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
710
+ var toAbsoluteIndex$1 = function (index, length) {
711
+ var integer = toIntegerOrInfinity$1(index);
712
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
564
713
  };
565
714
 
566
- var toInteger = toInteger$2;
715
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
567
716
 
568
- var max = Math.max;
569
717
  var min = Math.min;
570
718
 
571
- // Helper for a popular repeating case of the spec:
572
- // Let integer be ? ToInteger(index).
573
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
574
- var toAbsoluteIndex$1 = function (index, length) {
575
- var integer = toInteger(index);
576
- return integer < 0 ? max(integer + length, 0) : min(integer, length);
719
+ // `ToLength` abstract operation
720
+ // https://tc39.es/ecma262/#sec-tolength
721
+ var toLength$1 = function (argument) {
722
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
577
723
  };
578
724
 
579
- var toIndexedObject$1 = toIndexedObject$3;
580
725
  var toLength = toLength$1;
726
+
727
+ // `LengthOfArrayLike` abstract operation
728
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
729
+ var lengthOfArrayLike$1 = function (obj) {
730
+ return toLength(obj.length);
731
+ };
732
+
733
+ var toIndexedObject$2 = toIndexedObject$4;
581
734
  var toAbsoluteIndex = toAbsoluteIndex$1;
735
+ var lengthOfArrayLike = lengthOfArrayLike$1;
582
736
 
583
737
  // `Array.prototype.{ indexOf, includes }` methods implementation
584
738
  var createMethod = function (IS_INCLUDES) {
585
739
  return function ($this, el, fromIndex) {
586
- var O = toIndexedObject$1($this);
587
- var length = toLength(O.length);
740
+ var O = toIndexedObject$2($this);
741
+ var length = lengthOfArrayLike(O);
588
742
  var index = toAbsoluteIndex(fromIndex, length);
589
743
  var value;
590
744
  // Array#includes uses SameValueZero equality algorithm
@@ -609,20 +763,23 @@ var arrayIncludes = {
609
763
  indexOf: createMethod(false)
610
764
  };
611
765
 
612
- var has$1 = has$6;
613
- var toIndexedObject = toIndexedObject$3;
614
- var indexOf = arrayIncludes.indexOf;
766
+ var uncurryThis$2 = functionUncurryThis;
767
+ var hasOwn$1 = hasOwnProperty_1;
768
+ var toIndexedObject$1 = toIndexedObject$4;
769
+ var indexOf$1 = arrayIncludes.indexOf;
615
770
  var hiddenKeys$2 = hiddenKeys$4;
616
771
 
772
+ var push = uncurryThis$2([].push);
773
+
617
774
  var objectKeysInternal = function (object, names) {
618
- var O = toIndexedObject(object);
775
+ var O = toIndexedObject$1(object);
619
776
  var i = 0;
620
777
  var result = [];
621
778
  var key;
622
- for (key in O) !has$1(hiddenKeys$2, key) && has$1(O, key) && result.push(key);
779
+ for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
623
780
  // Don't enum bug & hidden keys
624
- while (names.length > i) if (has$1(O, key = names[i++])) {
625
- ~indexOf(result, key) || result.push(key);
781
+ while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
782
+ ~indexOf$1(result, key) || push(result, key);
626
783
  }
627
784
  return result;
628
785
  };
@@ -656,18 +813,21 @@ var objectGetOwnPropertySymbols = {};
656
813
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
657
814
 
658
815
  var getBuiltIn$1 = getBuiltIn$4;
816
+ var uncurryThis$1 = functionUncurryThis;
659
817
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
660
818
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
661
819
  var anObject$3 = anObject$5;
662
820
 
821
+ var concat = uncurryThis$1([].concat);
822
+
663
823
  // all object keys, includes non-enumerable and symbols
664
824
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
665
825
  var keys = getOwnPropertyNamesModule.f(anObject$3(it));
666
826
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
667
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
827
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
668
828
  };
669
829
 
670
- var has = has$6;
830
+ var hasOwn = hasOwnProperty_1;
671
831
  var ownKeys = ownKeys$1;
672
832
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
673
833
  var definePropertyModule$1 = objectDefineProperty;
@@ -678,11 +838,12 @@ var copyConstructorProperties$1 = function (target, source) {
678
838
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
679
839
  for (var i = 0; i < keys.length; i++) {
680
840
  var key = keys[i];
681
- if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
841
+ if (!hasOwn(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key));
682
842
  }
683
843
  };
684
844
 
685
845
  var fails$3 = fails$8;
846
+ var isCallable$1 = isCallable$a;
686
847
 
687
848
  var replacement = /#|\.prototype\./;
688
849
 
@@ -690,7 +851,7 @@ var isForced$1 = function (feature, detection) {
690
851
  var value = data[normalize(feature)];
691
852
  return value == POLYFILL ? true
692
853
  : value == NATIVE ? false
693
- : typeof detection == 'function' ? fails$3(detection)
854
+ : isCallable$1(detection) ? fails$3(detection)
694
855
  : !!detection;
695
856
  };
696
857
 
@@ -704,7 +865,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
704
865
 
705
866
  var isForced_1 = isForced$1;
706
867
 
707
- var global$1 = global$b;
868
+ var global$6 = global$q;
708
869
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
709
870
  var createNonEnumerableProperty = createNonEnumerableProperty$3;
710
871
  var redefine = redefine$1.exports;
@@ -725,6 +886,7 @@ var isForced = isForced_1;
725
886
  options.sham - add a flag to not completely full polyfills
726
887
  options.enumerable - export as enumerable property
727
888
  options.noTargetGet - prevent calling a getter on target
889
+ options.name - the .name of the function if it does not match the key
728
890
  */
729
891
  var _export = function (options, source) {
730
892
  var TARGET = options.target;
@@ -732,11 +894,11 @@ var _export = function (options, source) {
732
894
  var STATIC = options.stat;
733
895
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
734
896
  if (GLOBAL) {
735
- target = global$1;
897
+ target = global$6;
736
898
  } else if (STATIC) {
737
- target = global$1[TARGET] || setGlobal(TARGET, {});
899
+ target = global$6[TARGET] || setGlobal(TARGET, {});
738
900
  } else {
739
- target = (global$1[TARGET] || {}).prototype;
901
+ target = (global$6[TARGET] || {}).prototype;
740
902
  }
741
903
  if (target) for (key in source) {
742
904
  sourceProperty = source[key];
@@ -747,7 +909,7 @@ var _export = function (options, source) {
747
909
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
748
910
  // contained in target
749
911
  if (!FORCED && targetProperty !== undefined) {
750
- if (typeof sourceProperty === typeof targetProperty) continue;
912
+ if (typeof sourceProperty == typeof targetProperty) continue;
751
913
  copyConstructorProperties(sourceProperty, targetProperty);
752
914
  }
753
915
  // add a flag to not completely full polyfills
@@ -759,11 +921,54 @@ var _export = function (options, source) {
759
921
  }
760
922
  };
761
923
 
762
- var isSymbol = isSymbol$3;
924
+ var wellKnownSymbol$1 = wellKnownSymbol$3;
925
+
926
+ var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
927
+ var test = {};
928
+
929
+ test[TO_STRING_TAG$1] = 'z';
930
+
931
+ var toStringTagSupport = String(test) === '[object z]';
932
+
933
+ var global$5 = global$q;
934
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
935
+ var isCallable = isCallable$a;
936
+ var classofRaw = classofRaw$1;
937
+ var wellKnownSymbol = wellKnownSymbol$3;
938
+
939
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
940
+ var Object$1 = global$5.Object;
941
+
942
+ // ES3 wrong here
943
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
944
+
945
+ // fallback for IE11 Script Access Denied error
946
+ var tryGet = function (it, key) {
947
+ try {
948
+ return it[key];
949
+ } catch (error) { /* empty */ }
950
+ };
951
+
952
+ // getting tag from ES6+ `Object.prototype.toString`
953
+ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
954
+ var O, tag, result;
955
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
956
+ // @@toStringTag case
957
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
958
+ // builtinTag case
959
+ : CORRECT_ARGUMENTS ? classofRaw(O)
960
+ // ES3 arguments fallback
961
+ : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
962
+ };
963
+
964
+ var global$4 = global$q;
965
+ var classof = classof$1;
966
+
967
+ var String$1 = global$4.String;
763
968
 
764
969
  var toString$1 = function (argument) {
765
- if (isSymbol(argument)) throw TypeError('Cannot convert a Symbol value to a string');
766
- return String(argument);
970
+ if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
971
+ return String$1(argument);
767
972
  };
768
973
 
769
974
  var anObject$2 = anObject$5;
@@ -785,21 +990,20 @@ var regexpFlags$1 = function () {
785
990
  var regexpStickyHelpers = {};
786
991
 
787
992
  var fails$2 = fails$8;
993
+ var global$3 = global$q;
788
994
 
789
- // babel-minify transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError,
790
- var RE = function (s, f) {
791
- return RegExp(s, f);
792
- };
995
+ // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
996
+ var $RegExp$2 = global$3.RegExp;
793
997
 
794
998
  regexpStickyHelpers.UNSUPPORTED_Y = fails$2(function () {
795
- var re = RE('a', 'y');
999
+ var re = $RegExp$2('a', 'y');
796
1000
  re.lastIndex = 2;
797
1001
  return re.exec('abcd') != null;
798
1002
  });
799
1003
 
800
1004
  regexpStickyHelpers.BROKEN_CARET = fails$2(function () {
801
1005
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
802
- var re = RE('^r', 'gy');
1006
+ var re = $RegExp$2('^r', 'gy');
803
1007
  re.lastIndex = 2;
804
1008
  return re.exec('str') != null;
805
1009
  });
@@ -817,6 +1021,7 @@ var objectKeys$1 = Object.keys || function keys(O) {
817
1021
  var DESCRIPTORS = descriptors;
818
1022
  var definePropertyModule = objectDefineProperty;
819
1023
  var anObject$1 = anObject$5;
1024
+ var toIndexedObject = toIndexedObject$4;
820
1025
  var objectKeys = objectKeys$1;
821
1026
 
822
1027
  // `Object.defineProperties` method
@@ -824,11 +1029,12 @@ var objectKeys = objectKeys$1;
824
1029
  // eslint-disable-next-line es/no-object-defineproperties -- safe
825
1030
  var objectDefineProperties = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
826
1031
  anObject$1(O);
1032
+ var props = toIndexedObject(Properties);
827
1033
  var keys = objectKeys(Properties);
828
1034
  var length = keys.length;
829
1035
  var index = 0;
830
1036
  var key;
831
- while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
1037
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
832
1038
  return O;
833
1039
  };
834
1040
 
@@ -873,17 +1079,15 @@ var NullProtoObjectViaIFrame = function () {
873
1079
  var iframe = documentCreateElement('iframe');
874
1080
  var JS = 'java' + SCRIPT + ':';
875
1081
  var iframeDocument;
876
- if (iframe.style) {
877
- iframe.style.display = 'none';
878
- html.appendChild(iframe);
879
- // https://github.com/zloirock/core-js/issues/475
880
- iframe.src = String(JS);
881
- iframeDocument = iframe.contentWindow.document;
882
- iframeDocument.open();
883
- iframeDocument.write(scriptTag('document.F=Object'));
884
- iframeDocument.close();
885
- return iframeDocument.F;
886
- }
1082
+ iframe.style.display = 'none';
1083
+ html.appendChild(iframe);
1084
+ // https://github.com/zloirock/core-js/issues/475
1085
+ iframe.src = String(JS);
1086
+ iframeDocument = iframe.contentWindow.document;
1087
+ iframeDocument.open();
1088
+ iframeDocument.write(scriptTag('document.F=Object'));
1089
+ iframeDocument.close();
1090
+ return iframeDocument.F;
887
1091
  };
888
1092
 
889
1093
  // Check for document.domain and active x support
@@ -896,10 +1100,11 @@ var NullProtoObject = function () {
896
1100
  try {
897
1101
  activeXDocument = new ActiveXObject('htmlfile');
898
1102
  } catch (error) { /* ignore */ }
899
- NullProtoObject = document.domain && activeXDocument ?
900
- NullProtoObjectViaActiveX(activeXDocument) : // old IE
901
- NullProtoObjectViaIFrame() ||
902
- NullProtoObjectViaActiveX(activeXDocument); // WSH
1103
+ NullProtoObject = typeof document != 'undefined'
1104
+ ? document.domain && activeXDocument
1105
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1106
+ : NullProtoObjectViaIFrame()
1107
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
903
1108
  var length = enumBugKeys.length;
904
1109
  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
905
1110
  return NullProtoObject();
@@ -922,24 +1127,32 @@ var objectCreate = Object.create || function create(O, Properties) {
922
1127
  };
923
1128
 
924
1129
  var fails$1 = fails$8;
1130
+ var global$2 = global$q;
1131
+
1132
+ // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1133
+ var $RegExp$1 = global$2.RegExp;
925
1134
 
926
1135
  var regexpUnsupportedDotAll = fails$1(function () {
927
- // babel-minify transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
928
- var re = RegExp('.', (typeof '').charAt(0));
1136
+ var re = $RegExp$1('.', 's');
929
1137
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
930
1138
  });
931
1139
 
932
1140
  var fails = fails$8;
1141
+ var global$1 = global$q;
1142
+
1143
+ // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1144
+ var $RegExp = global$1.RegExp;
933
1145
 
934
1146
  var regexpUnsupportedNcg = fails(function () {
935
- // babel-minify transpiles RegExp('.', 'g') -> /./g and it causes SyntaxError
936
- var re = RegExp('(?<a>b)', (typeof '').charAt(5));
1147
+ var re = $RegExp('(?<a>b)', 'g');
937
1148
  return re.exec('b').groups.a !== 'b' ||
938
1149
  'b'.replace(re, '$<a>c') !== 'bc';
939
1150
  });
940
1151
 
941
- /* eslint-disable regexp/no-assertion-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1152
+ /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
942
1153
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1154
+ var call = functionCall;
1155
+ var uncurryThis = functionUncurryThis;
943
1156
  var toString = toString$1;
944
1157
  var regexpFlags = regexpFlags$1;
945
1158
  var stickyHelpers = regexpStickyHelpers;
@@ -949,16 +1162,19 @@ var getInternalState = internalState.get;
949
1162
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
950
1163
  var UNSUPPORTED_NCG = regexpUnsupportedNcg;
951
1164
 
952
- var nativeExec = RegExp.prototype.exec;
953
1165
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
954
-
1166
+ var nativeExec = RegExp.prototype.exec;
955
1167
  var patchedExec = nativeExec;
1168
+ var charAt = uncurryThis(''.charAt);
1169
+ var indexOf = uncurryThis(''.indexOf);
1170
+ var replace = uncurryThis(''.replace);
1171
+ var stringSlice = uncurryThis(''.slice);
956
1172
 
957
1173
  var UPDATES_LAST_INDEX_WRONG = (function () {
958
1174
  var re1 = /a/;
959
1175
  var re2 = /b*/g;
960
- nativeExec.call(re1, 'a');
961
- nativeExec.call(re2, 'a');
1176
+ call(nativeExec, re1, 'a');
1177
+ call(nativeExec, re2, 'a');
962
1178
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
963
1179
  })();
964
1180
 
@@ -980,27 +1196,27 @@ if (PATCH) {
980
1196
 
981
1197
  if (raw) {
982
1198
  raw.lastIndex = re.lastIndex;
983
- result = patchedExec.call(raw, str);
1199
+ result = call(patchedExec, raw, str);
984
1200
  re.lastIndex = raw.lastIndex;
985
1201
  return result;
986
1202
  }
987
1203
 
988
1204
  var groups = state.groups;
989
1205
  var sticky = UNSUPPORTED_Y && re.sticky;
990
- var flags = regexpFlags.call(re);
1206
+ var flags = call(regexpFlags, re);
991
1207
  var source = re.source;
992
1208
  var charsAdded = 0;
993
1209
  var strCopy = str;
994
1210
 
995
1211
  if (sticky) {
996
- flags = flags.replace('y', '');
997
- if (flags.indexOf('g') === -1) {
1212
+ flags = replace(flags, 'y', '');
1213
+ if (indexOf(flags, 'g') === -1) {
998
1214
  flags += 'g';
999
1215
  }
1000
1216
 
1001
- strCopy = str.slice(re.lastIndex);
1217
+ strCopy = stringSlice(str, re.lastIndex);
1002
1218
  // Support anchored sticky behavior.
1003
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\n')) {
1219
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
1004
1220
  source = '(?: ' + source + ')';
1005
1221
  strCopy = ' ' + strCopy;
1006
1222
  charsAdded++;
@@ -1015,12 +1231,12 @@ if (PATCH) {
1015
1231
  }
1016
1232
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1017
1233
 
1018
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1234
+ match = call(nativeExec, sticky ? reCopy : re, strCopy);
1019
1235
 
1020
1236
  if (sticky) {
1021
1237
  if (match) {
1022
- match.input = match.input.slice(charsAdded);
1023
- match[0] = match[0].slice(charsAdded);
1238
+ match.input = stringSlice(match.input, charsAdded);
1239
+ match[0] = stringSlice(match[0], charsAdded);
1024
1240
  match.index = re.lastIndex;
1025
1241
  re.lastIndex += match[0].length;
1026
1242
  } else re.lastIndex = 0;
@@ -1030,7 +1246,7 @@ if (PATCH) {
1030
1246
  if (NPCG_INCLUDED && match && match.length > 1) {
1031
1247
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1032
1248
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1033
- nativeReplace.call(match[0], reCopy, function () {
1249
+ call(nativeReplace, match[0], reCopy, function () {
1034
1250
  for (i = 1; i < arguments.length - 2; i++) {
1035
1251
  if (arguments[i] === undefined) match[i] = undefined;
1036
1252
  }
@@ -1060,7 +1276,7 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
1060
1276
  exec: exec
1061
1277
  });
1062
1278
 
1063
- var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Note that Hebcal displays modern holidays like Yom HaAtzma'ut according to the Israeli schedule. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Note that Hebcal displays modern holidays like Yom HaZikaron according to the Israeli schedule. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
1279
+ var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Note that Hebcal displays modern holidays like Yom HaAtzma'ut according to the Israeli schedule. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Note that Hebcal displays modern holidays like Yom HaZikaron according to the Israeli schedule. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
1064
1280
 
1065
1281
  /**
1066
1282
  * Helper function to transform a string to make it more usable in a URL or filename.
@@ -1231,6 +1447,7 @@ function getEventCategories(ev) {
1231
1447
  case 'Lag BaOmer':
1232
1448
  case 'Leil Selichot':
1233
1449
  case 'Pesach Sheni':
1450
+ case 'Erev Purim':
1234
1451
  case 'Purim Katan':
1235
1452
  case 'Shushan Purim':
1236
1453
  case 'Tu B\'Av':
@@ -1238,6 +1455,9 @@ function getEventCategories(ev) {
1238
1455
  case 'Rosh Hashana LaBehemot':
1239
1456
  return ['holiday', 'minor'];
1240
1457
 
1458
+ case 'Erev Tish\'a B\'Av':
1459
+ return ['holiday', 'fast', 'major'];
1460
+
1241
1461
  default:
1242
1462
  return ['holiday', 'major'];
1243
1463
  }
@@ -1514,6 +1734,7 @@ function eventsToClassicApi(events, options) {
1514
1734
  result.items = events.map(ev => eventToClassicApiObject(ev, options, leyning));
1515
1735
  return result;
1516
1736
  }
1737
+ const BRIEF_FLAGS$1 = core.flags.DAF_YOMI | core.flags.HEBREW_DATE;
1517
1738
  /**
1518
1739
  * Converts a Hebcal event to a classic Hebcal.com JSON API object
1519
1740
  * @param {Event} ev
@@ -1530,7 +1751,8 @@ function eventToClassicApiObject(ev, options) {
1530
1751
  const tzid = typeof options.location === 'object' ? options.location.getTzid() : 'UTC';
1531
1752
  const date = timed ? core.Zmanim.formatISOWithTimeZone(tzid, ev.eventTime) : toISOString(dt);
1532
1753
  const categories = getEventCategories(ev);
1533
- let title = timed ? ev.renderBrief() : ev.render();
1754
+ const mask = ev.getFlags();
1755
+ let title = timed || mask & BRIEF_FLAGS$1 ? ev.renderBrief(options.locale) : ev.render(options.locale);
1534
1756
  const desc = ev.getDesc();
1535
1757
  const candles = desc === 'Havdalah' || desc === 'Candle lighting';
1536
1758
 
@@ -1549,7 +1771,7 @@ function eventToClassicApiObject(ev, options) {
1549
1771
  result.subcat = categories[1];
1550
1772
  }
1551
1773
 
1552
- if (categories[0] == 'holiday' && ev.getFlags() & core.flags.CHAG) {
1774
+ if (categories[0] === 'holiday' && mask & core.flags.CHAG) {
1553
1775
  result.yomtov = true;
1554
1776
  }
1555
1777
 
@@ -1566,7 +1788,7 @@ function eventToClassicApiObject(ev, options) {
1566
1788
  if (!candles) {
1567
1789
  if (leyning) {
1568
1790
  const il = options.il;
1569
- const isParsha = ev.getFlags() == core.flags.PARSHA_HASHAVUA;
1791
+ const isParsha = mask === core.flags.PARSHA_HASHAVUA;
1570
1792
  const reading = isParsha ? leyn__namespace.getLeyningForParshaHaShavua(ev, il) : leyn__namespace.getLeyningForHoliday(ev, il);
1571
1793
 
1572
1794
  if (reading) {
@@ -1598,7 +1820,7 @@ function eventToClassicApiObject(ev, options) {
1598
1820
  if (memo) {
1599
1821
  result.memo = memo;
1600
1822
  } else if (typeof ev.linkedEvent !== 'undefined') {
1601
- result.memo = ev.linkedEvent.render();
1823
+ result.memo = ev.linkedEvent.render(options.locale);
1602
1824
  }
1603
1825
 
1604
1826
  return result;
@@ -1795,6 +2017,7 @@ function eventToRssItem(ev, evPubDate, lastBuildDate, dayFormat, location, mainU
1795
2017
  return "<item>\n<title>".concat(subj, "</title>\n<link>").concat(link, "</link>\n<guid isPermaLink=\"false\">").concat(guid, "</guid>\n<description>").concat(description, "</description>\n<category>").concat(cat0, "</category>\n<pubDate>").concat(pubDate, "</pubDate>\n").concat(geoTags, "</item>\n");
1796
2018
  }
1797
2019
 
2020
+ const BRIEF_FLAGS = core.flags.DAF_YOMI | core.flags.HEBREW_DATE;
1798
2021
  /**
1799
2022
  * Converts a Hebcal event to a FullCalendar.io object
1800
2023
  * @param {Event} ev
@@ -1805,13 +2028,14 @@ function eventToRssItem(ev, evPubDate, lastBuildDate, dayFormat, location, mainU
1805
2028
 
1806
2029
  function eventToFullCalendar(ev, tzid, il) {
1807
2030
  const classes = getEventCategories(ev);
2031
+ const mask = ev.getFlags();
1808
2032
 
1809
- if (classes[0] == 'holiday' && ev.getFlags() & core.flags.CHAG) {
2033
+ if (classes[0] == 'holiday' && mask & core.flags.CHAG) {
1810
2034
  classes.push('yomtov');
1811
2035
  }
1812
2036
 
1813
2037
  const timed = Boolean(ev.eventTime);
1814
- const title = timed || ev.getFlags() & core.flags.DAF_YOMI ? ev.renderBrief() : ev.render();
2038
+ const title = timed || mask & BRIEF_FLAGS ? ev.renderBrief() : ev.render();
1815
2039
  const start = timed ? core.Zmanim.formatISOWithTimeZone(tzid, ev.eventTime) : toISOString(ev.getDate().greg());
1816
2040
  const result = {
1817
2041
  title,
@@ -1819,15 +2043,9 @@ function eventToFullCalendar(ev, tzid, il) {
1819
2043
  allDay: !timed,
1820
2044
  className: classes.join(' ')
1821
2045
  };
1822
- let hebrew = ev.renderBrief('he');
2046
+ const hebrew = ev.renderBrief('he');
1823
2047
 
1824
2048
  if (hebrew) {
1825
- const colon = hebrew.indexOf(':');
1826
-
1827
- if (colon != -1 && ev.getFlags() & core.flags.DAF_YOMI) {
1828
- hebrew = hebrew.substring(colon + 1);
1829
- }
1830
-
1831
2049
  result.hebrew = core.Locale.hebrewStripNikkud(hebrew);
1832
2050
  }
1833
2051
 
@@ -1841,7 +2059,7 @@ function eventToFullCalendar(ev, tzid, il) {
1841
2059
  const candles = desc === 'Havdalah' || desc === 'Candle lighting';
1842
2060
 
1843
2061
  if (!candles) {
1844
- const memo = ev.getFlags() & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
2062
+ const memo = mask & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
1845
2063
 
1846
2064
  if (memo) {
1847
2065
  result.description = memo;
@@ -1880,4 +2098,4 @@ Object.defineProperty(exports, '__esModule', { value: true });
1880
2098
 
1881
2099
  return exports;
1882
2100
 
1883
- }({}, hebcal, hebcal__leyning));
2101
+ })({}, hebcal, hebcal__leyning);