@hebcal/rest-api 3.8.4 → 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.4 */
1
+ /*! @hebcal/rest-api v3.8.5 */
2
2
  var hebcal__rest_api = (function (exports, core, leyn) {
3
3
  'use strict';
4
4
 
@@ -29,7 +29,7 @@ var check = function (it) {
29
29
  };
30
30
 
31
31
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
32
- var global$e =
32
+ var global$q =
33
33
  // eslint-disable-next-line es/no-global-this -- safe
34
34
  check(typeof globalThis == 'object' && globalThis) ||
35
35
  check(typeof window == 'object' && window) ||
@@ -57,6 +57,12 @@ var descriptors = !fails$7(function () {
57
57
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
58
58
  });
59
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
+
60
66
  var objectPropertyIsEnumerable = {};
61
67
 
62
68
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
@@ -82,30 +88,53 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
82
88
  };
83
89
  };
84
90
 
85
- 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);
95
+
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
+ };
102
+ };
103
+
104
+ var uncurryThis$9 = functionUncurryThis;
105
+
106
+ var toString$3 = uncurryThis$9({}.toString);
107
+ var stringSlice$1 = uncurryThis$9(''.slice);
86
108
 
87
109
  var classofRaw$1 = function (it) {
88
- return toString$2.call(it).slice(8, -1);
110
+ return stringSlice$1(toString$3(it), 8, -1);
89
111
  };
90
112
 
113
+ var global$p = global$q;
114
+ var uncurryThis$8 = functionUncurryThis;
91
115
  var fails$6 = fails$8;
92
116
  var classof$2 = classofRaw$1;
93
117
 
94
- var split = ''.split;
118
+ var Object$4 = global$p.Object;
119
+ var split = uncurryThis$8(''.split);
95
120
 
96
121
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
97
122
  var indexedObject = fails$6(function () {
98
123
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
99
124
  // eslint-disable-next-line no-prototype-builtins -- safe
100
- return !Object('z').propertyIsEnumerable(0);
125
+ return !Object$4('z').propertyIsEnumerable(0);
101
126
  }) ? function (it) {
102
- return classof$2(it) == 'String' ? split.call(it, '') : Object(it);
103
- } : 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;
104
133
 
105
134
  // `RequireObjectCoercible` abstract operation
106
135
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
107
136
  var requireObjectCoercible$2 = function (it) {
108
- if (it == undefined) throw TypeError("Can't call method on " + it);
137
+ if (it == undefined) throw TypeError$7("Can't call method on " + it);
109
138
  return it;
110
139
  };
111
140
 
@@ -113,23 +142,23 @@ var requireObjectCoercible$2 = function (it) {
113
142
  var IndexedObject = indexedObject;
114
143
  var requireObjectCoercible$1 = requireObjectCoercible$2;
115
144
 
116
- var toIndexedObject$3 = function (it) {
145
+ var toIndexedObject$4 = function (it) {
117
146
  return IndexedObject(requireObjectCoercible$1(it));
118
147
  };
119
148
 
120
149
  // `IsCallable` abstract operation
121
150
  // https://tc39.es/ecma262/#sec-iscallable
122
151
  var isCallable$a = function (argument) {
123
- return typeof argument === 'function';
152
+ return typeof argument == 'function';
124
153
  };
125
154
 
126
155
  var isCallable$9 = isCallable$a;
127
156
 
128
157
  var isObject$5 = function (it) {
129
- return typeof it === 'object' ? it !== null : isCallable$9(it);
158
+ return typeof it == 'object' ? it !== null : isCallable$9(it);
130
159
  };
131
160
 
132
- var global$d = global$e;
161
+ var global$n = global$q;
133
162
  var isCallable$8 = isCallable$a;
134
163
 
135
164
  var aFunction = function (argument) {
@@ -137,34 +166,44 @@ var aFunction = function (argument) {
137
166
  };
138
167
 
139
168
  var getBuiltIn$4 = function (namespace, method) {
140
- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
169
+ return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
141
170
  };
142
171
 
172
+ var uncurryThis$7 = functionUncurryThis;
173
+
174
+ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
175
+
143
176
  var getBuiltIn$3 = getBuiltIn$4;
144
177
 
145
178
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
146
179
 
147
- var global$c = global$e;
180
+ var global$m = global$q;
148
181
  var userAgent = engineUserAgent;
149
182
 
150
- var process = global$c.process;
151
- var Deno = global$c.Deno;
183
+ var process = global$m.process;
184
+ var Deno = global$m.Deno;
152
185
  var versions = process && process.versions || Deno && Deno.version;
153
186
  var v8 = versions && versions.v8;
154
187
  var match, version;
155
188
 
156
189
  if (v8) {
157
190
  match = v8.split('.');
158
- version = match[0] < 4 ? 1 : match[0] + match[1];
159
- } 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) {
160
199
  match = userAgent.match(/Edge\/(\d+)/);
161
200
  if (!match || match[1] >= 74) {
162
201
  match = userAgent.match(/Chrome\/(\d+)/);
163
- if (match) version = match[1];
202
+ if (match) version = +match[1];
164
203
  }
165
204
  }
166
205
 
167
- var engineV8Version = version && +version;
206
+ var engineV8Version = version;
168
207
 
169
208
  /* eslint-disable es/no-symbol -- required for testing */
170
209
 
@@ -189,32 +228,43 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
189
228
  && !Symbol.sham
190
229
  && typeof Symbol.iterator == 'symbol';
191
230
 
192
- var isCallable$7 = isCallable$a;
231
+ var global$l = global$q;
193
232
  var getBuiltIn$2 = getBuiltIn$4;
233
+ var isCallable$7 = isCallable$a;
234
+ var isPrototypeOf = objectIsPrototypeOf;
194
235
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
195
236
 
237
+ var Object$3 = global$l.Object;
238
+
196
239
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
197
240
  return typeof it == 'symbol';
198
241
  } : function (it) {
199
242
  var $Symbol = getBuiltIn$2('Symbol');
200
- return isCallable$7($Symbol) && Object(it) instanceof $Symbol;
243
+ return isCallable$7($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
201
244
  };
202
245
 
246
+ var global$k = global$q;
247
+
248
+ var String$3 = global$k.String;
249
+
203
250
  var tryToString$1 = function (argument) {
204
251
  try {
205
- return String(argument);
252
+ return String$3(argument);
206
253
  } catch (error) {
207
254
  return 'Object';
208
255
  }
209
256
  };
210
257
 
258
+ var global$j = global$q;
211
259
  var isCallable$6 = isCallable$a;
212
260
  var tryToString = tryToString$1;
213
261
 
262
+ var TypeError$6 = global$j.TypeError;
263
+
214
264
  // `Assert: IsCallable(argument) is true`
215
265
  var aCallable$1 = function (argument) {
216
266
  if (isCallable$6(argument)) return argument;
217
- throw TypeError(tryToString(argument) + ' is not a function');
267
+ throw TypeError$6(tryToString(argument) + ' is not a function');
218
268
  };
219
269
 
220
270
  var aCallable = aCallable$1;
@@ -226,37 +276,43 @@ var getMethod$1 = function (V, P) {
226
276
  return func == null ? undefined : aCallable(func);
227
277
  };
228
278
 
279
+ var global$i = global$q;
280
+ var call$3 = functionCall;
229
281
  var isCallable$5 = isCallable$a;
230
282
  var isObject$4 = isObject$5;
231
283
 
284
+ var TypeError$5 = global$i.TypeError;
285
+
232
286
  // `OrdinaryToPrimitive` abstract operation
233
287
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
234
288
  var ordinaryToPrimitive$1 = function (input, pref) {
235
289
  var fn, val;
236
- if (pref === 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = fn.call(input))) return val;
237
- if (isCallable$5(fn = input.valueOf) && !isObject$4(val = fn.call(input))) return val;
238
- if (pref !== 'string' && isCallable$5(fn = input.toString) && !isObject$4(val = fn.call(input))) return val;
239
- 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");
240
294
  };
241
295
 
242
296
  var shared$4 = {exports: {}};
243
297
 
244
- var global$b = global$e;
298
+ var global$h = global$q;
299
+
300
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
301
+ var defineProperty = Object.defineProperty;
245
302
 
246
303
  var setGlobal$3 = function (key, value) {
247
304
  try {
248
- // eslint-disable-next-line es/no-object-defineproperty -- safe
249
- Object.defineProperty(global$b, key, { value: value, configurable: true, writable: true });
305
+ defineProperty(global$h, key, { value: value, configurable: true, writable: true });
250
306
  } catch (error) {
251
- global$b[key] = value;
307
+ global$h[key] = value;
252
308
  } return value;
253
309
  };
254
310
 
255
- var global$a = global$e;
311
+ var global$g = global$q;
256
312
  var setGlobal$2 = setGlobal$3;
257
313
 
258
314
  var SHARED = '__core-js_shared__';
259
- var store$3 = global$a[SHARED] || setGlobal$2(SHARED, {});
315
+ var store$3 = global$g[SHARED] || setGlobal$2(SHARED, {});
260
316
 
261
317
  var sharedStore = store$3;
262
318
 
@@ -265,37 +321,44 @@ var store$2 = sharedStore;
265
321
  (shared$4.exports = function (key, value) {
266
322
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
267
323
  })('versions', []).push({
268
- version: '3.18.3',
324
+ version: '3.19.0',
269
325
  mode: 'global',
270
326
  copyright: '© 2021 Denis Pushkarev (zloirock.ru)'
271
327
  });
272
328
 
329
+ var global$f = global$q;
273
330
  var requireObjectCoercible = requireObjectCoercible$2;
274
331
 
332
+ var Object$2 = global$f.Object;
333
+
275
334
  // `ToObject` abstract operation
276
335
  // https://tc39.es/ecma262/#sec-toobject
277
336
  var toObject$1 = function (argument) {
278
- return Object(requireObjectCoercible(argument));
337
+ return Object$2(requireObjectCoercible(argument));
279
338
  };
280
339
 
340
+ var uncurryThis$6 = functionUncurryThis;
281
341
  var toObject = toObject$1;
282
342
 
283
- var hasOwnProperty = {}.hasOwnProperty;
343
+ var hasOwnProperty = uncurryThis$6({}.hasOwnProperty);
284
344
 
285
345
  // `HasOwnProperty` abstract operation
286
346
  // https://tc39.es/ecma262/#sec-hasownproperty
287
347
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
288
- return hasOwnProperty.call(toObject(it), key);
348
+ return hasOwnProperty(toObject(it), key);
289
349
  };
290
350
 
351
+ var uncurryThis$5 = functionUncurryThis;
352
+
291
353
  var id = 0;
292
354
  var postfix = Math.random();
355
+ var toString$2 = uncurryThis$5(1.0.toString);
293
356
 
294
357
  var uid$2 = function (key) {
295
- return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36);
358
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
296
359
  };
297
360
 
298
- var global$9 = global$e;
361
+ var global$e = global$q;
299
362
  var shared$3 = shared$4.exports;
300
363
  var hasOwn$6 = hasOwnProperty_1;
301
364
  var uid$1 = uid$2;
@@ -303,25 +366,32 @@ var NATIVE_SYMBOL = nativeSymbol;
303
366
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
304
367
 
305
368
  var WellKnownSymbolsStore = shared$3('wks');
306
- var Symbol$1 = global$9.Symbol;
369
+ var Symbol$1 = global$e.Symbol;
370
+ var symbolFor = Symbol$1 && Symbol$1['for'];
307
371
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
308
372
 
309
373
  var wellKnownSymbol$3 = function (name) {
310
374
  if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
375
+ var description = 'Symbol.' + name;
311
376
  if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
312
377
  WellKnownSymbolsStore[name] = Symbol$1[name];
378
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
379
+ WellKnownSymbolsStore[name] = symbolFor(description);
313
380
  } else {
314
- WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name);
381
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
315
382
  }
316
383
  } return WellKnownSymbolsStore[name];
317
384
  };
318
385
 
386
+ var global$d = global$q;
387
+ var call$2 = functionCall;
319
388
  var isObject$3 = isObject$5;
320
389
  var isSymbol$1 = isSymbol$2;
321
390
  var getMethod = getMethod$1;
322
391
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
323
392
  var wellKnownSymbol$2 = wellKnownSymbol$3;
324
393
 
394
+ var TypeError$4 = global$d.TypeError;
325
395
  var TO_PRIMITIVE = wellKnownSymbol$2('toPrimitive');
326
396
 
327
397
  // `ToPrimitive` abstract operation
@@ -332,9 +402,9 @@ var toPrimitive$1 = function (input, pref) {
332
402
  var result;
333
403
  if (exoticToPrim) {
334
404
  if (pref === undefined) pref = 'default';
335
- result = exoticToPrim.call(input, pref);
405
+ result = call$2(exoticToPrim, input, pref);
336
406
  if (!isObject$3(result) || isSymbol$1(result)) return result;
337
- throw TypeError("Can't convert object to primitive value");
407
+ throw TypeError$4("Can't convert object to primitive value");
338
408
  }
339
409
  if (pref === undefined) pref = 'number';
340
410
  return ordinaryToPrimitive(input, pref);
@@ -347,13 +417,13 @@ var isSymbol = isSymbol$2;
347
417
  // https://tc39.es/ecma262/#sec-topropertykey
348
418
  var toPropertyKey$2 = function (argument) {
349
419
  var key = toPrimitive(argument, 'string');
350
- return isSymbol(key) ? key : String(key);
420
+ return isSymbol(key) ? key : key + '';
351
421
  };
352
422
 
353
- var global$8 = global$e;
423
+ var global$c = global$q;
354
424
  var isObject$2 = isObject$5;
355
425
 
356
- var document$1 = global$8.document;
426
+ var document$1 = global$c.document;
357
427
  // typeof document.createElement is 'object' in old IE
358
428
  var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
359
429
 
@@ -374,9 +444,10 @@ var ie8DomDefine = !DESCRIPTORS$5 && !fails$4(function () {
374
444
  });
375
445
 
376
446
  var DESCRIPTORS$4 = descriptors;
447
+ var call$1 = functionCall;
377
448
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
378
449
  var createPropertyDescriptor$1 = createPropertyDescriptor$2;
379
- var toIndexedObject$2 = toIndexedObject$3;
450
+ var toIndexedObject$3 = toIndexedObject$4;
380
451
  var toPropertyKey$1 = toPropertyKey$2;
381
452
  var hasOwn$5 = hasOwnProperty_1;
382
453
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
@@ -387,29 +458,35 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
387
458
  // `Object.getOwnPropertyDescriptor` method
388
459
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
389
460
  objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
390
- O = toIndexedObject$2(O);
461
+ O = toIndexedObject$3(O);
391
462
  P = toPropertyKey$1(P);
392
463
  if (IE8_DOM_DEFINE$1) try {
393
464
  return $getOwnPropertyDescriptor(O, P);
394
465
  } catch (error) { /* empty */ }
395
- if (hasOwn$5(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]);
396
467
  };
397
468
 
398
469
  var objectDefineProperty = {};
399
470
 
471
+ var global$b = global$q;
400
472
  var isObject$1 = isObject$5;
401
473
 
474
+ var String$2 = global$b.String;
475
+ var TypeError$3 = global$b.TypeError;
476
+
402
477
  // `Assert: Type(argument) is Object`
403
478
  var anObject$5 = function (argument) {
404
479
  if (isObject$1(argument)) return argument;
405
- throw TypeError(String(argument) + ' is not an object');
480
+ throw TypeError$3(String$2(argument) + ' is not an object');
406
481
  };
407
482
 
483
+ var global$a = global$q;
408
484
  var DESCRIPTORS$3 = descriptors;
409
485
  var IE8_DOM_DEFINE = ie8DomDefine;
410
486
  var anObject$4 = anObject$5;
411
487
  var toPropertyKey = toPropertyKey$2;
412
488
 
489
+ var TypeError$2 = global$a.TypeError;
413
490
  // eslint-disable-next-line es/no-object-defineproperty -- safe
414
491
  var $defineProperty = Object.defineProperty;
415
492
 
@@ -422,7 +499,7 @@ objectDefineProperty.f = DESCRIPTORS$3 ? $defineProperty : function defineProper
422
499
  if (IE8_DOM_DEFINE) try {
423
500
  return $defineProperty(O, P, Attributes);
424
501
  } catch (error) { /* empty */ }
425
- 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');
426
503
  if ('value' in Attributes) O[P] = Attributes.value;
427
504
  return O;
428
505
  };
@@ -440,25 +517,26 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value
440
517
 
441
518
  var redefine$1 = {exports: {}};
442
519
 
520
+ var uncurryThis$4 = functionUncurryThis;
443
521
  var isCallable$4 = isCallable$a;
444
522
  var store$1 = sharedStore;
445
523
 
446
- var functionToString = Function.toString;
524
+ var functionToString = uncurryThis$4(Function.toString);
447
525
 
448
526
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
449
527
  if (!isCallable$4(store$1.inspectSource)) {
450
528
  store$1.inspectSource = function (it) {
451
- return functionToString.call(it);
529
+ return functionToString(it);
452
530
  };
453
531
  }
454
532
 
455
533
  var inspectSource$2 = store$1.inspectSource;
456
534
 
457
- var global$7 = global$e;
535
+ var global$9 = global$q;
458
536
  var isCallable$3 = isCallable$a;
459
537
  var inspectSource$1 = inspectSource$2;
460
538
 
461
- var WeakMap$1 = global$7.WeakMap;
539
+ var WeakMap$1 = global$9.WeakMap;
462
540
 
463
541
  var nativeWeakMap = isCallable$3(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
464
542
 
@@ -474,7 +552,8 @@ var sharedKey$2 = function (key) {
474
552
  var hiddenKeys$4 = {};
475
553
 
476
554
  var NATIVE_WEAK_MAP = nativeWeakMap;
477
- var global$6 = global$e;
555
+ var global$8 = global$q;
556
+ var uncurryThis$3 = functionUncurryThis;
478
557
  var isObject = isObject$5;
479
558
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
480
559
  var hasOwn$4 = hasOwnProperty_1;
@@ -483,7 +562,8 @@ var sharedKey$1 = sharedKey$2;
483
562
  var hiddenKeys$3 = hiddenKeys$4;
484
563
 
485
564
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
486
- var WeakMap = global$6.WeakMap;
565
+ var TypeError$1 = global$8.TypeError;
566
+ var WeakMap = global$8.WeakMap;
487
567
  var set, get, has;
488
568
 
489
569
  var enforce = function (it) {
@@ -494,33 +574,33 @@ var getterFor = function (TYPE) {
494
574
  return function (it) {
495
575
  var state;
496
576
  if (!isObject(it) || (state = get(it)).type !== TYPE) {
497
- throw TypeError('Incompatible receiver, ' + TYPE + ' required');
577
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
498
578
  } return state;
499
579
  };
500
580
  };
501
581
 
502
582
  if (NATIVE_WEAK_MAP || shared$1.state) {
503
583
  var store = shared$1.state || (shared$1.state = new WeakMap());
504
- var wmget = store.get;
505
- var wmhas = store.has;
506
- 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);
507
587
  set = function (it, metadata) {
508
- if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
588
+ if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
509
589
  metadata.facade = it;
510
- wmset.call(store, it, metadata);
590
+ wmset(store, it, metadata);
511
591
  return metadata;
512
592
  };
513
593
  get = function (it) {
514
- return wmget.call(store, it) || {};
594
+ return wmget(store, it) || {};
515
595
  };
516
596
  has = function (it) {
517
- return wmhas.call(store, it);
597
+ return wmhas(store, it);
518
598
  };
519
599
  } else {
520
600
  var STATE = sharedKey$1('state');
521
601
  hiddenKeys$3[STATE] = true;
522
602
  set = function (it, metadata) {
523
- if (hasOwn$4(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
603
+ if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
524
604
  metadata.facade = it;
525
605
  createNonEnumerableProperty$2(it, STATE, metadata);
526
606
  return metadata;
@@ -559,7 +639,7 @@ var functionName = {
559
639
  CONFIGURABLE: CONFIGURABLE
560
640
  };
561
641
 
562
- var global$5 = global$e;
642
+ var global$7 = global$q;
563
643
  var isCallable$2 = isCallable$a;
564
644
  var hasOwn$2 = hasOwnProperty_1;
565
645
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
@@ -590,7 +670,7 @@ var TEMPLATE = String(String).split('String');
590
670
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
591
671
  }
592
672
  }
593
- if (O === global$5) {
673
+ if (O === global$7) {
594
674
  if (simple) O[key] = value;
595
675
  else setGlobal$1(key, value);
596
676
  return;
@@ -650,14 +730,14 @@ var lengthOfArrayLike$1 = function (obj) {
650
730
  return toLength(obj.length);
651
731
  };
652
732
 
653
- var toIndexedObject$1 = toIndexedObject$3;
733
+ var toIndexedObject$2 = toIndexedObject$4;
654
734
  var toAbsoluteIndex = toAbsoluteIndex$1;
655
735
  var lengthOfArrayLike = lengthOfArrayLike$1;
656
736
 
657
737
  // `Array.prototype.{ indexOf, includes }` methods implementation
658
738
  var createMethod = function (IS_INCLUDES) {
659
739
  return function ($this, el, fromIndex) {
660
- var O = toIndexedObject$1($this);
740
+ var O = toIndexedObject$2($this);
661
741
  var length = lengthOfArrayLike(O);
662
742
  var index = toAbsoluteIndex(fromIndex, length);
663
743
  var value;
@@ -683,20 +763,23 @@ var arrayIncludes = {
683
763
  indexOf: createMethod(false)
684
764
  };
685
765
 
766
+ var uncurryThis$2 = functionUncurryThis;
686
767
  var hasOwn$1 = hasOwnProperty_1;
687
- var toIndexedObject = toIndexedObject$3;
688
- var indexOf = arrayIncludes.indexOf;
768
+ var toIndexedObject$1 = toIndexedObject$4;
769
+ var indexOf$1 = arrayIncludes.indexOf;
689
770
  var hiddenKeys$2 = hiddenKeys$4;
690
771
 
772
+ var push = uncurryThis$2([].push);
773
+
691
774
  var objectKeysInternal = function (object, names) {
692
- var O = toIndexedObject(object);
775
+ var O = toIndexedObject$1(object);
693
776
  var i = 0;
694
777
  var result = [];
695
778
  var key;
696
- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && result.push(key);
779
+ for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
697
780
  // Don't enum bug & hidden keys
698
781
  while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
699
- ~indexOf(result, key) || result.push(key);
782
+ ~indexOf$1(result, key) || push(result, key);
700
783
  }
701
784
  return result;
702
785
  };
@@ -730,15 +813,18 @@ var objectGetOwnPropertySymbols = {};
730
813
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
731
814
 
732
815
  var getBuiltIn$1 = getBuiltIn$4;
816
+ var uncurryThis$1 = functionUncurryThis;
733
817
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
734
818
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
735
819
  var anObject$3 = anObject$5;
736
820
 
821
+ var concat = uncurryThis$1([].concat);
822
+
737
823
  // all object keys, includes non-enumerable and symbols
738
824
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
739
825
  var keys = getOwnPropertyNamesModule.f(anObject$3(it));
740
826
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
741
- return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
827
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
742
828
  };
743
829
 
744
830
  var hasOwn = hasOwnProperty_1;
@@ -779,7 +865,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
779
865
 
780
866
  var isForced_1 = isForced$1;
781
867
 
782
- var global$4 = global$e;
868
+ var global$6 = global$q;
783
869
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
784
870
  var createNonEnumerableProperty = createNonEnumerableProperty$3;
785
871
  var redefine = redefine$1.exports;
@@ -808,11 +894,11 @@ var _export = function (options, source) {
808
894
  var STATIC = options.stat;
809
895
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
810
896
  if (GLOBAL) {
811
- target = global$4;
897
+ target = global$6;
812
898
  } else if (STATIC) {
813
- target = global$4[TARGET] || setGlobal(TARGET, {});
899
+ target = global$6[TARGET] || setGlobal(TARGET, {});
814
900
  } else {
815
- target = (global$4[TARGET] || {}).prototype;
901
+ target = (global$6[TARGET] || {}).prototype;
816
902
  }
817
903
  if (target) for (key in source) {
818
904
  sourceProperty = source[key];
@@ -823,7 +909,7 @@ var _export = function (options, source) {
823
909
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
824
910
  // contained in target
825
911
  if (!FORCED && targetProperty !== undefined) {
826
- if (typeof sourceProperty === typeof targetProperty) continue;
912
+ if (typeof sourceProperty == typeof targetProperty) continue;
827
913
  copyConstructorProperties(sourceProperty, targetProperty);
828
914
  }
829
915
  // add a flag to not completely full polyfills
@@ -844,12 +930,15 @@ test[TO_STRING_TAG$1] = 'z';
844
930
 
845
931
  var toStringTagSupport = String(test) === '[object z]';
846
932
 
933
+ var global$5 = global$q;
847
934
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
848
935
  var isCallable = isCallable$a;
849
936
  var classofRaw = classofRaw$1;
850
937
  var wellKnownSymbol = wellKnownSymbol$3;
851
938
 
852
939
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
940
+ var Object$1 = global$5.Object;
941
+
853
942
  // ES3 wrong here
854
943
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
855
944
 
@@ -865,18 +954,21 @@ var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
865
954
  var O, tag, result;
866
955
  return it === undefined ? 'Undefined' : it === null ? 'Null'
867
956
  // @@toStringTag case
868
- : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag
957
+ : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
869
958
  // builtinTag case
870
959
  : CORRECT_ARGUMENTS ? classofRaw(O)
871
960
  // ES3 arguments fallback
872
961
  : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;
873
962
  };
874
963
 
964
+ var global$4 = global$q;
875
965
  var classof = classof$1;
876
966
 
967
+ var String$1 = global$4.String;
968
+
877
969
  var toString$1 = function (argument) {
878
970
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
879
- return String(argument);
971
+ return String$1(argument);
880
972
  };
881
973
 
882
974
  var anObject$2 = anObject$5;
@@ -898,7 +990,7 @@ var regexpFlags$1 = function () {
898
990
  var regexpStickyHelpers = {};
899
991
 
900
992
  var fails$2 = fails$8;
901
- var global$3 = global$e;
993
+ var global$3 = global$q;
902
994
 
903
995
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
904
996
  var $RegExp$2 = global$3.RegExp;
@@ -929,6 +1021,7 @@ var objectKeys$1 = Object.keys || function keys(O) {
929
1021
  var DESCRIPTORS = descriptors;
930
1022
  var definePropertyModule = objectDefineProperty;
931
1023
  var anObject$1 = anObject$5;
1024
+ var toIndexedObject = toIndexedObject$4;
932
1025
  var objectKeys = objectKeys$1;
933
1026
 
934
1027
  // `Object.defineProperties` method
@@ -936,11 +1029,12 @@ var objectKeys = objectKeys$1;
936
1029
  // eslint-disable-next-line es/no-object-defineproperties -- safe
937
1030
  var objectDefineProperties = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) {
938
1031
  anObject$1(O);
1032
+ var props = toIndexedObject(Properties);
939
1033
  var keys = objectKeys(Properties);
940
1034
  var length = keys.length;
941
1035
  var index = 0;
942
1036
  var key;
943
- while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]);
1037
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
944
1038
  return O;
945
1039
  };
946
1040
 
@@ -1033,7 +1127,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1033
1127
  };
1034
1128
 
1035
1129
  var fails$1 = fails$8;
1036
- var global$2 = global$e;
1130
+ var global$2 = global$q;
1037
1131
 
1038
1132
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1039
1133
  var $RegExp$1 = global$2.RegExp;
@@ -1044,7 +1138,7 @@ var regexpUnsupportedDotAll = fails$1(function () {
1044
1138
  });
1045
1139
 
1046
1140
  var fails = fails$8;
1047
- var global$1 = global$e;
1141
+ var global$1 = global$q;
1048
1142
 
1049
1143
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1050
1144
  var $RegExp = global$1.RegExp;
@@ -1057,6 +1151,8 @@ var regexpUnsupportedNcg = fails(function () {
1057
1151
 
1058
1152
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
1059
1153
  /* eslint-disable regexp/no-useless-quantifier -- testing */
1154
+ var call = functionCall;
1155
+ var uncurryThis = functionUncurryThis;
1060
1156
  var toString = toString$1;
1061
1157
  var regexpFlags = regexpFlags$1;
1062
1158
  var stickyHelpers = regexpStickyHelpers;
@@ -1066,16 +1162,19 @@ var getInternalState = internalState.get;
1066
1162
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
1067
1163
  var UNSUPPORTED_NCG = regexpUnsupportedNcg;
1068
1164
 
1069
- var nativeExec = RegExp.prototype.exec;
1070
1165
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
1071
-
1166
+ var nativeExec = RegExp.prototype.exec;
1072
1167
  var patchedExec = nativeExec;
1168
+ var charAt = uncurryThis(''.charAt);
1169
+ var indexOf = uncurryThis(''.indexOf);
1170
+ var replace = uncurryThis(''.replace);
1171
+ var stringSlice = uncurryThis(''.slice);
1073
1172
 
1074
1173
  var UPDATES_LAST_INDEX_WRONG = (function () {
1075
1174
  var re1 = /a/;
1076
1175
  var re2 = /b*/g;
1077
- nativeExec.call(re1, 'a');
1078
- nativeExec.call(re2, 'a');
1176
+ call(nativeExec, re1, 'a');
1177
+ call(nativeExec, re2, 'a');
1079
1178
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
1080
1179
  })();
1081
1180
 
@@ -1097,27 +1196,27 @@ if (PATCH) {
1097
1196
 
1098
1197
  if (raw) {
1099
1198
  raw.lastIndex = re.lastIndex;
1100
- result = patchedExec.call(raw, str);
1199
+ result = call(patchedExec, raw, str);
1101
1200
  re.lastIndex = raw.lastIndex;
1102
1201
  return result;
1103
1202
  }
1104
1203
 
1105
1204
  var groups = state.groups;
1106
1205
  var sticky = UNSUPPORTED_Y && re.sticky;
1107
- var flags = regexpFlags.call(re);
1206
+ var flags = call(regexpFlags, re);
1108
1207
  var source = re.source;
1109
1208
  var charsAdded = 0;
1110
1209
  var strCopy = str;
1111
1210
 
1112
1211
  if (sticky) {
1113
- flags = flags.replace('y', '');
1114
- if (flags.indexOf('g') === -1) {
1212
+ flags = replace(flags, 'y', '');
1213
+ if (indexOf(flags, 'g') === -1) {
1115
1214
  flags += 'g';
1116
1215
  }
1117
1216
 
1118
- strCopy = str.slice(re.lastIndex);
1217
+ strCopy = stringSlice(str, re.lastIndex);
1119
1218
  // Support anchored sticky behavior.
1120
- 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')) {
1121
1220
  source = '(?: ' + source + ')';
1122
1221
  strCopy = ' ' + strCopy;
1123
1222
  charsAdded++;
@@ -1132,12 +1231,12 @@ if (PATCH) {
1132
1231
  }
1133
1232
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
1134
1233
 
1135
- match = nativeExec.call(sticky ? reCopy : re, strCopy);
1234
+ match = call(nativeExec, sticky ? reCopy : re, strCopy);
1136
1235
 
1137
1236
  if (sticky) {
1138
1237
  if (match) {
1139
- match.input = match.input.slice(charsAdded);
1140
- match[0] = match[0].slice(charsAdded);
1238
+ match.input = stringSlice(match.input, charsAdded);
1239
+ match[0] = stringSlice(match[0], charsAdded);
1141
1240
  match.index = re.lastIndex;
1142
1241
  re.lastIndex += match[0].length;
1143
1242
  } else re.lastIndex = 0;
@@ -1147,7 +1246,7 @@ if (PATCH) {
1147
1246
  if (NPCG_INCLUDED && match && match.length > 1) {
1148
1247
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1149
1248
  // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1150
- nativeReplace.call(match[0], reCopy, function () {
1249
+ call(nativeReplace, match[0], reCopy, function () {
1151
1250
  for (i = 1; i < arguments.length - 2; i++) {
1152
1251
  if (arguments[i] === undefined) match[i] = undefined;
1153
1252
  }
@@ -1348,6 +1447,7 @@ function getEventCategories(ev) {
1348
1447
  case 'Lag BaOmer':
1349
1448
  case 'Leil Selichot':
1350
1449
  case 'Pesach Sheni':
1450
+ case 'Erev Purim':
1351
1451
  case 'Purim Katan':
1352
1452
  case 'Shushan Purim':
1353
1453
  case 'Tu B\'Av':
@@ -1355,6 +1455,9 @@ function getEventCategories(ev) {
1355
1455
  case 'Rosh Hashana LaBehemot':
1356
1456
  return ['holiday', 'minor'];
1357
1457
 
1458
+ case 'Erev Tish\'a B\'Av':
1459
+ return ['holiday', 'fast', 'major'];
1460
+
1358
1461
  default:
1359
1462
  return ['holiday', 'major'];
1360
1463
  }
@@ -1,2 +1,2 @@
1
- /*! @hebcal/rest-api v3.8.4 */
2
- var hebcal__rest_api=function(e,t,a){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var r=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),h={},c=function(e){try{return!!e()}catch(e){return!0}},l=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u={},d={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,m=f&&!d.call({1:2},1);u.f=m?function(e){var t=f(this,e);return!!t&&t.enumerable}:d;var g,b,y=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},p={}.toString,S=function(e){return p.call(e).slice(8,-1)},v=S,w="".split,A=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},H=c((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==v(e)?w.call(e,""):Object(e)}:Object,T=A,C=function(e){return H(T(e))},I=function(e){return"function"==typeof e},R=I,O=function(e){return"object"==typeof e?null!==e:R(e)},E=s,M=I,B=function(e){return M(e)?e:void 0},D=function(e,t){return arguments.length<2?B(E[e]):E[e]&&E[e][t]},P=s,k=D("navigator","userAgent")||"",F=P.process,N=P.Deno,L=F&&F.versions||N&&N.version,x=L&&L.v8;x?b=(g=x.split("."))[0]<4?1:g[0]+g[1]:k&&(!(g=k.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=k.match(/Chrome\/(\d+)/))&&(b=g[1]);var G=b&&+b,j=c,_=!!Object.getOwnPropertySymbols&&!j((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&G&&G<41})),Y=_&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,z=I,U=D,K=Y?function(e){return"symbol"==typeof e}:function(e){var t=U("Symbol");return z(t)&&Object(e)instanceof t},J=I,Z=function(e){try{return String(e)}catch(e){return"Object"}},W=function(e){if(J(e))return e;throw TypeError(Z(e)+" is not a function")},V=I,$=O,q={exports:{}},Q=s,X=function(e,t){try{Object.defineProperty(Q,e,{value:t,configurable:!0,writable:!0})}catch(a){Q[e]=t}return t},ee=X,te="__core-js_shared__",ae=s[te]||ee(te,{}),ne=ae;(q.exports=function(e,t){return ne[e]||(ne[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var re=A,oe=function(e){return Object(re(e))},ie={}.hasOwnProperty,se=Object.hasOwn||function(e,t){return ie.call(oe(e),t)},he=0,ce=Math.random(),le=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++he+ce).toString(36)},ue=s,de=q.exports,fe=se,me=le,ge=_,be=Y,ye=de("wks"),pe=ue.Symbol,Se=be?pe:pe&&pe.withoutSetter||me,ve=function(e){return fe(ye,e)&&(ge||"string"==typeof ye[e])||(ge&&fe(pe,e)?ye[e]=pe[e]:ye[e]=Se("Symbol."+e)),ye[e]},we=O,Ae=K,He=function(e,t){var a=e[t];return null==a?void 0:W(a)},Te=function(e,t){var a,n;if("string"===t&&V(a=e.toString)&&!$(n=a.call(e)))return n;if(V(a=e.valueOf)&&!$(n=a.call(e)))return n;if("string"!==t&&V(a=e.toString)&&!$(n=a.call(e)))return n;throw TypeError("Can't convert object to primitive value")},Ce=ve("toPrimitive"),Ie=function(e,t){if(!we(e)||Ae(e))return e;var a,n=He(e,Ce);if(n){if(void 0===t&&(t="default"),a=n.call(e,t),!we(a)||Ae(a))return a;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),Te(e,t)},Re=K,Oe=function(e){var t=Ie(e,"string");return Re(t)?t:String(t)},Ee=O,Me=s.document,Be=Ee(Me)&&Ee(Me.createElement),De=function(e){return Be?Me.createElement(e):{}},Pe=De,ke=!l&&!c((function(){return 7!=Object.defineProperty(Pe("div"),"a",{get:function(){return 7}}).a})),Fe=l,Ne=u,Le=y,xe=C,Ge=Oe,je=se,_e=ke,Ye=Object.getOwnPropertyDescriptor;h.f=Fe?Ye:function(e,t){if(e=xe(e),t=Ge(t),_e)try{return Ye(e,t)}catch(e){}if(je(e,t))return Le(!Ne.f.call(e,t),e[t])};var ze={},Ue=O,Ke=function(e){if(Ue(e))return e;throw TypeError(String(e)+" is not an object")},Je=l,Ze=ke,We=Ke,Ve=Oe,$e=Object.defineProperty;ze.f=Je?$e:function(e,t,a){if(We(e),t=Ve(t),We(a),Ze)try{return $e(e,t,a)}catch(e){}if("get"in a||"set"in a)throw TypeError("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var qe=ze,Qe=y,Xe=l?function(e,t,a){return qe.f(e,t,Qe(1,a))}:function(e,t,a){return e[t]=a,e},et={exports:{}},tt=I,at=ae,nt=Function.toString;tt(at.inspectSource)||(at.inspectSource=function(e){return nt.call(e)});var rt,ot,it,st=at.inspectSource,ht=I,ct=st,lt=s.WeakMap,ut=ht(lt)&&/native code/.test(ct(lt)),dt=q.exports,ft=le,mt=dt("keys"),gt=function(e){return mt[e]||(mt[e]=ft(e))},bt={},yt=ut,pt=O,St=Xe,vt=se,wt=ae,At=gt,Ht=bt,Tt="Object already initialized",Ct=s.WeakMap;if(yt||wt.state){var It=wt.state||(wt.state=new Ct),Rt=It.get,Ot=It.has,Et=It.set;rt=function(e,t){if(Ot.call(It,e))throw new TypeError(Tt);return t.facade=e,Et.call(It,e,t),t},ot=function(e){return Rt.call(It,e)||{}},it=function(e){return Ot.call(It,e)}}else{var Mt=At("state");Ht[Mt]=!0,rt=function(e,t){if(vt(e,Mt))throw new TypeError(Tt);return t.facade=e,St(e,Mt,t),t},ot=function(e){return vt(e,Mt)?e[Mt]:{}},it=function(e){return vt(e,Mt)}}var Bt={set:rt,get:ot,has:it,enforce:function(e){return it(e)?ot(e):rt(e,{})},getterFor:function(e){return function(t){var a;if(!pt(t)||(a=ot(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return a}}},Dt=l,Pt=se,kt=Function.prototype,Ft=Dt&&Object.getOwnPropertyDescriptor,Nt=Pt(kt,"name"),Lt=Nt&&"something"===function(){}.name,xt=Nt&&(!Dt||Dt&&Ft(kt,"name").configurable),Gt=s,jt=I,_t=se,Yt=Xe,zt=X,Ut=st,Kt={EXISTS:Nt,PROPER:Lt,CONFIGURABLE:xt}.CONFIGURABLE,Jt=Bt.get,Zt=Bt.enforce,Wt=String(String).split("String");(et.exports=function(e,t,a,n){var r,o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet,h=n&&void 0!==n.name?n.name:t;jt(a)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!_t(a,"name")||Kt&&a.name!==h)&&Yt(a,"name",h),(r=Zt(a)).source||(r.source=Wt.join("string"==typeof h?h:""))),e!==Gt?(o?!s&&e[t]&&(i=!0):delete e[t],i?e[t]=a:Yt(e,t,a)):i?e[t]=a:zt(t,a)})(Function.prototype,"toString",(function(){return jt(this)&&Jt(this).source||Ut(this)}));var Vt={},$t=Math.ceil,qt=Math.floor,Qt=function(e){var t=+e;return t!=t||0===t?0:(t>0?qt:$t)(t)},Xt=Qt,ea=Math.max,ta=Math.min,aa=Qt,na=Math.min,ra=function(e){return e>0?na(aa(e),9007199254740991):0},oa=C,ia=function(e,t){var a=Xt(e);return a<0?ea(a+t,0):ta(a,t)},sa=function(e){return ra(e.length)},ha=function(e){return function(t,a,n){var r,o=oa(t),i=sa(o),s=ia(n,i);if(e&&a!=a){for(;i>s;)if((r=o[s++])!=r)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===a)return e||s||0;return!e&&-1}},ca={includes:ha(!0),indexOf:ha(!1)},la=se,ua=C,da=ca.indexOf,fa=bt,ma=function(e,t){var a,n=ua(e),r=0,o=[];for(a in n)!la(fa,a)&&la(n,a)&&o.push(a);for(;t.length>r;)la(n,a=t[r++])&&(~da(o,a)||o.push(a));return o},ga=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ba=ma,ya=ga.concat("length","prototype");Vt.f=Object.getOwnPropertyNames||function(e){return ba(e,ya)};var pa={};pa.f=Object.getOwnPropertySymbols;var Sa=Vt,va=pa,wa=Ke,Aa=D("Reflect","ownKeys")||function(e){var t=Sa.f(wa(e)),a=va.f;return a?t.concat(a(e)):t},Ha=se,Ta=Aa,Ca=h,Ia=ze,Ra=c,Oa=I,Ea=/#|\.prototype\./,Ma=function(e,t){var a=Da[Ba(e)];return a==ka||a!=Pa&&(Oa(t)?Ra(t):!!t)},Ba=Ma.normalize=function(e){return String(e).replace(Ea,".").toLowerCase()},Da=Ma.data={},Pa=Ma.NATIVE="N",ka=Ma.POLYFILL="P",Fa=Ma,Na=s,La=h.f,xa=Xe,Ga=et.exports,ja=X,_a=function(e,t){for(var a=Ta(t),n=Ia.f,r=Ca.f,o=0;o<a.length;o++){var i=a[o];Ha(e,i)||n(e,i,r(t,i))}},Ya=Fa,za={};za[ve("toStringTag")]="z";var Ua="[object z]"===String(za),Ka=I,Ja=S,Za=ve("toStringTag"),Wa="Arguments"==Ja(function(){return arguments}()),Va=Ua?Ja:function(e){var t,a,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Za))?a:Wa?Ja(t):"Object"==(n=Ja(t))&&Ka(t.callee)?"Arguments":n},$a=Ke,qa={},Qa=c,Xa=s.RegExp;qa.UNSUPPORTED_Y=Qa((function(){var e=Xa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),qa.BROKEN_CARET=Qa((function(){var e=Xa("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var en,tn=ma,an=ga,nn=Object.keys||function(e){return tn(e,an)},rn=ze,on=Ke,sn=nn,hn=l?Object.defineProperties:function(e,t){on(e);for(var a,n=sn(t),r=n.length,o=0;r>o;)rn.f(e,a=n[o++],t[a]);return e},cn=D("document","documentElement"),ln=Ke,un=hn,dn=ga,fn=bt,mn=cn,gn=De,bn=gt("IE_PROTO"),yn=function(){},pn=function(e){return"<script>"+e+"</"+"script>"},Sn=function(e){e.write(pn("")),e.close();var t=e.parentWindow.Object;return e=null,t},vn=function(){try{en=new ActiveXObject("htmlfile")}catch(e){}var e,t;vn="undefined"!=typeof document?document.domain&&en?Sn(en):((t=gn("iframe")).style.display="none",mn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(pn("document.F=Object")),e.close(),e.F):Sn(en);for(var a=dn.length;a--;)delete vn.prototype[dn[a]];return vn()};fn[bn]=!0;var wn,An,Hn=Object.create||function(e,t){var a;return null!==e?(yn.prototype=ln(e),a=new yn,yn.prototype=null,a[bn]=e):a=vn(),void 0===t?a:un(a,t)},Tn=c,Cn=s.RegExp,In=Tn((function(){var e=Cn(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Rn=c,On=s.RegExp,En=Rn((function(){var e=On("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Mn=function(e){if("Symbol"===Va(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},Bn=function(){var e=$a(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Dn=qa,Pn=q.exports,kn=Hn,Fn=Bt.get,Nn=In,Ln=En,xn=RegExp.prototype.exec,Gn=Pn("native-string-replace",String.prototype.replace),jn=xn,_n=(wn=/a/,An=/b*/g,xn.call(wn,"a"),xn.call(An,"a"),0!==wn.lastIndex||0!==An.lastIndex),Yn=Dn.UNSUPPORTED_Y||Dn.BROKEN_CARET,zn=void 0!==/()??/.exec("")[1];(_n||zn||Yn||Nn||Ln)&&(jn=function(e){var t,a,n,r,o,i,s,h=this,c=Fn(h),l=Mn(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=jn.call(u,l),h.lastIndex=u.lastIndex,t;var d=c.groups,f=Yn&&h.sticky,m=Bn.call(h),g=h.source,b=0,y=l;if(f&&(-1===(m=m.replace("y","")).indexOf("g")&&(m+="g"),y=l.slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==l.charAt(h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,b++),a=new RegExp("^(?:"+g+")",m)),zn&&(a=new RegExp("^"+g+"$(?!\\s)",m)),_n&&(n=h.lastIndex),r=xn.call(f?a:h,y),f?r?(r.input=r.input.slice(b),r[0]=r[0].slice(b),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:_n&&r&&(h.lastIndex=h.global?r.index+r[0].length:n),zn&&r&&r.length>1&&Gn.call(r[0],a,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r&&d)for(r.groups=i=kn(null),o=0;o<d.length;o++)i[(s=d[o])[0]]=r[s[1]];return r});(function(e,t){var a,n,r,o,i,s=e.target,h=e.global,c=e.stat;if(a=h?Na:c?Na[s]||ja(s,{}):(Na[s]||{}).prototype)for(n in t){if(o=t[n],r=e.noTargetGet?(i=La(a,n))&&i.value:a[n],!Ya(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;_a(o,r)}(e.sham||r&&r.sham)&&xa(o,"sham",!0),Ga(a,n,o,e)}})({target:"RegExp",proto:!0,forced:/./.exec!==jn},{exec:jn});var Un={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","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:"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","Purim Katan":"Minor Purim celebration during Adar I on leap years",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","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:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","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"};function Kn(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function Jn(e){return e<10?"0"+e:String(e)}function Zn(e){return e<0?"-00"+Zn(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function Wn(e){return Zn(e.getFullYear())+"-"+Jn(e.getMonth()+1)+"-"+Jn(e.getDate())}function Vn(e){const a=e.getDesc();if("Fast begins"===a||"Fast ends"===a)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(a){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function $n(e,t){let a="Hebcal";const n=t.location;if(t.yahrzeit)a+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");a+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?a+=" Israel":a+=" Diaspora";if(t.isHebrewYear||0==e.length)a+=" "+t.year;else{const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())a+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){a+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else a+=" "+t.getFullYear()}return a}function qn(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=Un[e.getDesc()]||Un[e.basename()]||"";if(t&&a){const e=a.indexOf(".");if(-1!=e)return a.substring(0,e)}return a}const Qn=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function Xn(e,a){const n=e.getFlags();if(n&Qn)return"";const o=n&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,a):r.getLeyningForHoliday(e,a);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function er(e,t,a,n,r){"https://www.hebcal.com"!==e.substring(0,22)?a="hebcal.com":t&&-1===e.indexOf("?")&&(e+="?i=on");const o=-1===e.indexOf("?")?"?":"&";return e+o+"utm_source=".concat(a,"&utm_medium=").concat(n)+(r?"&utm_campaign=".concat(r):"")}const tr='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',ar={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function nr(e,a){const n=e.getDate().greg(),r=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=a.euro?'"'.concat(r,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(r,"/").concat(i,'"');let h="",c="",l="",u='"true"';const d=Boolean(e.eventTime);let f=d?e.renderBrief():e.render();if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",a);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(d&&a.location&&a.location.name){const e=a.location.name,t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else if(g&t.flags.DAF_YOMI){const e=f.indexOf(": ");-1!=e&&(m=f.substring(0,e),f=f.substring(e+2))}else{const t=ar[Vn(e)[0]];t&&(m=t)}if(f=f.replace(/,/g,"").replace(/"/g,"''"),a.appendHebrewToSubject){const t=e.renderBrief("he");t&&(f+=" / ".concat(t))}let b=e.memo||qn(e,!0);b||void 0===e.linkedEvent||(b=e.linkedEvent.render());const y=b.replace(/,/g,";").replace(/"/g,"''"),p=d||g&t.flags.CHAG?4:3;return'"'.concat(f,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(p,'","').concat(m,'"')}var rr={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};const or=t.flags.DAF_YOMI|t.flags.HEBREW_DATE;function ir(e,a){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),h="object"==typeof a.location?a.location.getTzid():"UTC",c=o?t.Zmanim.formatISOWithTimeZone(h,e.eventTime):Wn(s),l=Vn(e),u=e.getFlags();let d=o||u&or?e.renderBrief(a.locale):e.render(a.locale);const f=e.getDesc(),m="Havdalah"===f||"Candle lighting"===f;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const g={title:d,date:c,category:l[0]};l.length>1&&(g.subcat=l[1]),"holiday"===l[0]&&u&t.flags.CHAG&&(g.yomtov=!0),d!=f&&(g.title_orig=f);const b=e.renderBrief("he");if(b&&(g.hebrew=t.Locale.hebrewStripNikkud(b)),!m){if(n){const n=a.il,o=u===t.flags.PARSHA_HASHAVUA,s=o?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);if(s){g.leyning=hr(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=r.getTriennialForParshaHaShavua(e);t&&(g.leyning.triennial=sr({},t))}}}const o=e.url();if(o){const e=a.utmSource||"js",t=a.utmMedium||"api",n=a.utmCampaign;g.link=er(o,a.il,e,t,n)}}const y=e.memo||Un[e.basename()];return y?g.memo=y:void 0!==e.linkedEvent&&(g.memo=e.linkedEvent.render(a.locale)),g}function sr(e,t){return Object.keys(t).forEach((a=>{const n=t[a];if(void 0!==n){e["M"==a?"maftir":a]=r.formatAliyahWithBook(n)}})),e}function hr(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&sr(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((a=>{if(e.reason[a]){t["M"==a?"maftir":a]+=" | "+e.reason[a]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}function cr(e,a,n,r,o,i){let s=e.render();const h=e.getDate().greg(),c=function(e,t,a,n){if(t){const t=e.eventTime;return t?t.toUTCString():a.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,a,h,n),l=!!o&&o.getIsrael(),u=function(e,a,n,r){let o,i;const s=e.eventTime||e.getDate().greg(),h=t.Zmanim.formatISOWithTimeZone(n,s),c=h.substring(0,h.indexOf("T")),l=c.replace(/-/g,""),u=Kn(e.getDesc()),d="".concat(l,"-").concat(u),f=e.url();if(f)o=er(f,a,"shabbat1c","rss").replace(/&/g,"&amp;"),i="".concat(f,"#").concat(d);else{const e="".concat(r,"&dt=").concat(c),t=er(e,a,"shabbat1c","rss").replace(/&/g,"&amp;");i=e.replace(/&/g,"&amp;")+"#".concat(d),o="".concat(t,"#").concat(d)}return[o,i]}(e,l,o?o.getTzid():"UTC",i),d=u[0],f=u[1],m=Vn(e)[0],g=e.getDesc();let b;if("Havdalah"===g||"Candle lighting"===g){const a=s.indexOf(": ");if(-1!=a){const n={location:o,il:l,locale:t.Locale.getLocaleName()},r=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);s=s.substring(0,a)+": "+r}}else b=e.getFlags()&t.flags.PARSHA_HASHAVUA?Xn(e,l):e.memo||Un[e.basename()];const y=b||r.format(h),p="candles"==m?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(s,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(f,"</guid>\n<description>").concat(y,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(c,"</pubDate>\n").concat(p,"</item>\n")}const lr=t.flags.DAF_YOMI|t.flags.HEBREW_DATE;return e.appendIsraelAndTracking=er,e.countryNames=rr,e.eventToClassicApiObject=ir,e.eventToCsv=nr,e.eventToFullCalendar=function(e,a,n){const r=Vn(e),o=e.getFlags();"holiday"==r[0]&&o&t.flags.CHAG&&r.push("yomtov");const i=Boolean(e.eventTime),s={title:i||o&lr?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(a,e.eventTime):Wn(e.getDate().greg()),allDay:!i,className:r.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=er(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const a=o&t.flags.PARSHA_HASHAVUA?Xn(e,n):e.memo||Un[e.basename()];a?s.description=a:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=cr,e.eventsToClassicApi=function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:$n(e,t),date:(new Date).toISOString()},r=t.location;return"object"==typeof r&&"string"==typeof r.name?(n.location={title:r.getName(),city:r.getShortName(),tzid:r.getTzid(),latitude:r.getLatitude(),longitude:r.getLongitude(),cc:r.getCountryCode(),country:rr[r.getCountryCode()]},["admin1","asciiname","geo","zip","state","geonameid"].forEach((e=>{r[e]&&(n.location[e]=r[e])}))):n.location={geo:"none"},n.items=e.map((e=>ir(e,t,a))),n},e.eventsToCsv=function(e,t){return[tr].concat(e.map((e=>nr(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,a,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=a.getName(),h=(new Date).getFullYear(),c=t.Locale.gettext("Shabbat")+" Times for "+s,l=(new Date).toUTCString(),u=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"}),d=er(n,a.getIsrael(),"shabbat1c","rss").replace(/&/g,"&amp;");r=r.replace(/&/g,"&amp;");let f='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(c,"</title>\n<link>").concat(d,'</link>\n<atom:link href="').concat(r,'" rel="self" type="application/rss+xml" />\n<description>Weekly Shabbat candle lighting times for ').concat(s,"</description>\n<language>").concat(o,"</language>\n<copyright>Copyright (c) ").concat(h," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(l,"</lastBuildDate>\n");return e.forEach((e=>{f+=cr(e,i,l,u,a,n)})),f+="</channel>\n</rss>\n",f},e.getCalendarTitle=$n,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+Kn(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=Vn,e.getHolidayDescription=qn,e.holidayDescription=Un,e.makeAnchor=Kn,e.makeTorahMemoText=Xn,e.pad2=Jn,e.pad4=Zn,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.timeZoneOffsetStr=function(e,a){return t.Zmanim.timeZoneOffset(e,a)},e.toISOString=Wn,e.toISOStringWithTimezone=function(e,a,n){const r=Wn(e);return a?r+"T"+a+":00"+t.Zmanim.timeZoneOffset(n,e):r},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
1
+ /*! @hebcal/rest-api v3.8.5 */
2
+ var hebcal__rest_api=function(e,t,a){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var r=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),h={},c=function(e){try{return!!e()}catch(e){return!0}},l=!c((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=Function.prototype.call,d=u.bind?u.bind(u):function(){return u.apply(u,arguments)},f={},m={}.propertyIsEnumerable,g=Object.getOwnPropertyDescriptor,b=g&&!m.call({1:2},1);f.f=b?function(e){var t=g(this,e);return!!t&&t.enumerable}:m;var y,p,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},v=Function.prototype,w=v.bind,A=v.call,H=w&&w.bind(A),T=w?function(e){return e&&H(A,e)}:function(e){return e&&function(){return A.apply(e,arguments)}},C=T,I=C({}.toString),R=C("".slice),O=function(e){return R(I(e),8,-1)},E=T,M=c,B=O,P=s.Object,D=E("".split),F=M((function(){return!P("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?D(e,""):P(e)}:P,k=s.TypeError,N=function(e){if(null==e)throw k("Can't call method on "+e);return e},L=F,x=N,G=function(e){return L(x(e))},j=function(e){return"function"==typeof e},_=j,Y=function(e){return"object"==typeof e?null!==e:_(e)},z=s,U=j,K=function(e){return U(e)?e:void 0},J=function(e,t){return arguments.length<2?K(z[e]):z[e]&&z[e][t]},Z=T({}.isPrototypeOf),W=s,V=J("navigator","userAgent")||"",$=W.process,q=W.Deno,Q=$&&$.versions||q&&q.version,X=Q&&Q.v8;X&&(p=(y=X.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!p&&V&&(!(y=V.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=V.match(/Chrome\/(\d+)/))&&(p=+y[1]);var ee=p,te=c,ae=!!Object.getOwnPropertySymbols&&!te((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ee&&ee<41})),ne=ae&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,re=J,oe=j,ie=Z,se=ne,he=s.Object,ce=se?function(e){return"symbol"==typeof e}:function(e){var t=re("Symbol");return oe(t)&&ie(t.prototype,he(e))},le=s.String,ue=j,de=function(e){try{return le(e)}catch(e){return"Object"}},fe=s.TypeError,me=function(e){if(ue(e))return e;throw fe(de(e)+" is not a function")},ge=d,be=j,ye=Y,pe=s.TypeError,Se={exports:{}},ve=s,we=Object.defineProperty,Ae=function(e,t){try{we(ve,e,{value:t,configurable:!0,writable:!0})}catch(a){ve[e]=t}return t},He=Ae,Te="__core-js_shared__",Ce=s[Te]||He(Te,{}),Ie=Ce;(Se.exports=function(e,t){return Ie[e]||(Ie[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.0",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var Re=N,Oe=s.Object,Ee=function(e){return Oe(Re(e))},Me=T({}.hasOwnProperty),Be=Object.hasOwn||function(e,t){return Me(Ee(e),t)},Pe=T,De=0,Fe=Math.random(),ke=Pe(1..toString),Ne=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ke(++De+Fe,36)},Le=s,xe=Se.exports,Ge=Be,je=Ne,_e=ae,Ye=ne,ze=xe("wks"),Ue=Le.Symbol,Ke=Ue&&Ue.for,Je=Ye?Ue:Ue&&Ue.withoutSetter||je,Ze=function(e){if(!Ge(ze,e)||!_e&&"string"!=typeof ze[e]){var t="Symbol."+e;_e&&Ge(Ue,e)?ze[e]=Ue[e]:ze[e]=Ye&&Ke?Ke(t):Je(t)}return ze[e]},We=d,Ve=Y,$e=ce,qe=function(e,t){var a=e[t];return null==a?void 0:me(a)},Qe=function(e,t){var a,n;if("string"===t&&be(a=e.toString)&&!ye(n=ge(a,e)))return n;if(be(a=e.valueOf)&&!ye(n=ge(a,e)))return n;if("string"!==t&&be(a=e.toString)&&!ye(n=ge(a,e)))return n;throw pe("Can't convert object to primitive value")},Xe=Ze,et=s.TypeError,tt=Xe("toPrimitive"),at=function(e,t){if(!Ve(e)||$e(e))return e;var a,n=qe(e,tt);if(n){if(void 0===t&&(t="default"),a=We(n,e,t),!Ve(a)||$e(a))return a;throw et("Can't convert object to primitive value")}return void 0===t&&(t="number"),Qe(e,t)},nt=ce,rt=function(e){var t=at(e,"string");return nt(t)?t:t+""},ot=Y,it=s.document,st=ot(it)&&ot(it.createElement),ht=function(e){return st?it.createElement(e):{}},ct=ht,lt=!l&&!c((function(){return 7!=Object.defineProperty(ct("div"),"a",{get:function(){return 7}}).a})),ut=l,dt=d,ft=f,mt=S,gt=G,bt=rt,yt=Be,pt=lt,St=Object.getOwnPropertyDescriptor;h.f=ut?St:function(e,t){if(e=gt(e),t=bt(t),pt)try{return St(e,t)}catch(e){}if(yt(e,t))return mt(!dt(ft.f,e,t),e[t])};var vt={},wt=s,At=Y,Ht=wt.String,Tt=wt.TypeError,Ct=function(e){if(At(e))return e;throw Tt(Ht(e)+" is not an object")},It=l,Rt=lt,Ot=Ct,Et=rt,Mt=s.TypeError,Bt=Object.defineProperty;vt.f=It?Bt:function(e,t,a){if(Ot(e),t=Et(t),Ot(a),Rt)try{return Bt(e,t,a)}catch(e){}if("get"in a||"set"in a)throw Mt("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var Pt=vt,Dt=S,Ft=l?function(e,t,a){return Pt.f(e,t,Dt(1,a))}:function(e,t,a){return e[t]=a,e},kt={exports:{}},Nt=j,Lt=Ce,xt=T(Function.toString);Nt(Lt.inspectSource)||(Lt.inspectSource=function(e){return xt(e)});var Gt,jt,_t,Yt=Lt.inspectSource,zt=j,Ut=Yt,Kt=s.WeakMap,Jt=zt(Kt)&&/native code/.test(Ut(Kt)),Zt=Se.exports,Wt=Ne,Vt=Zt("keys"),$t=function(e){return Vt[e]||(Vt[e]=Wt(e))},qt={},Qt=Jt,Xt=s,ea=T,ta=Y,aa=Ft,na=Be,ra=Ce,oa=$t,ia=qt,sa="Object already initialized",ha=Xt.TypeError,ca=Xt.WeakMap;if(Qt||ra.state){var la=ra.state||(ra.state=new ca),ua=ea(la.get),da=ea(la.has),fa=ea(la.set);Gt=function(e,t){if(da(la,e))throw new ha(sa);return t.facade=e,fa(la,e,t),t},jt=function(e){return ua(la,e)||{}},_t=function(e){return da(la,e)}}else{var ma=oa("state");ia[ma]=!0,Gt=function(e,t){if(na(e,ma))throw new ha(sa);return t.facade=e,aa(e,ma,t),t},jt=function(e){return na(e,ma)?e[ma]:{}},_t=function(e){return na(e,ma)}}var ga={set:Gt,get:jt,has:_t,enforce:function(e){return _t(e)?jt(e):Gt(e,{})},getterFor:function(e){return function(t){var a;if(!ta(t)||(a=jt(t)).type!==e)throw ha("Incompatible receiver, "+e+" required");return a}}},ba=l,ya=Be,pa=Function.prototype,Sa=ba&&Object.getOwnPropertyDescriptor,va=ya(pa,"name"),wa=va&&"something"===function(){}.name,Aa=va&&(!ba||ba&&Sa(pa,"name").configurable),Ha=s,Ta=j,Ca=Be,Ia=Ft,Ra=Ae,Oa=Yt,Ea={EXISTS:va,PROPER:wa,CONFIGURABLE:Aa}.CONFIGURABLE,Ma=ga.get,Ba=ga.enforce,Pa=String(String).split("String");(kt.exports=function(e,t,a,n){var r,o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,s=!!n&&!!n.noTargetGet,h=n&&void 0!==n.name?n.name:t;Ta(a)&&("Symbol("===String(h).slice(0,7)&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ca(a,"name")||Ea&&a.name!==h)&&Ia(a,"name",h),(r=Ba(a)).source||(r.source=Pa.join("string"==typeof h?h:""))),e!==Ha?(o?!s&&e[t]&&(i=!0):delete e[t],i?e[t]=a:Ia(e,t,a)):i?e[t]=a:Ra(t,a)})(Function.prototype,"toString",(function(){return Ta(this)&&Ma(this).source||Oa(this)}));var Da={},Fa=Math.ceil,ka=Math.floor,Na=function(e){var t=+e;return t!=t||0===t?0:(t>0?ka:Fa)(t)},La=Na,xa=Math.max,Ga=Math.min,ja=Na,_a=Math.min,Ya=function(e){return e>0?_a(ja(e),9007199254740991):0},za=G,Ua=function(e,t){var a=La(e);return a<0?xa(a+t,0):Ga(a,t)},Ka=function(e){return Ya(e.length)},Ja=function(e){return function(t,a,n){var r,o=za(t),i=Ka(o),s=Ua(n,i);if(e&&a!=a){for(;i>s;)if((r=o[s++])!=r)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===a)return e||s||0;return!e&&-1}},Za={includes:Ja(!0),indexOf:Ja(!1)},Wa=Be,Va=G,$a=Za.indexOf,qa=qt,Qa=T([].push),Xa=function(e,t){var a,n=Va(e),r=0,o=[];for(a in n)!Wa(qa,a)&&Wa(n,a)&&Qa(o,a);for(;t.length>r;)Wa(n,a=t[r++])&&(~$a(o,a)||Qa(o,a));return o},en=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tn=Xa,an=en.concat("length","prototype");Da.f=Object.getOwnPropertyNames||function(e){return tn(e,an)};var nn={};nn.f=Object.getOwnPropertySymbols;var rn=J,on=Da,sn=nn,hn=Ct,cn=T([].concat),ln=rn("Reflect","ownKeys")||function(e){var t=on.f(hn(e)),a=sn.f;return a?cn(t,a(e)):t},un=Be,dn=ln,fn=h,mn=vt,gn=c,bn=j,yn=/#|\.prototype\./,pn=function(e,t){var a=vn[Sn(e)];return a==An||a!=wn&&(bn(t)?gn(t):!!t)},Sn=pn.normalize=function(e){return String(e).replace(yn,".").toLowerCase()},vn=pn.data={},wn=pn.NATIVE="N",An=pn.POLYFILL="P",Hn=pn,Tn=s,Cn=h.f,In=Ft,Rn=kt.exports,On=Ae,En=function(e,t){for(var a=dn(t),n=mn.f,r=fn.f,o=0;o<a.length;o++){var i=a[o];un(e,i)||n(e,i,r(t,i))}},Mn=Hn,Bn={};Bn[Ze("toStringTag")]="z";var Pn=s,Dn="[object z]"===String(Bn),Fn=j,kn=O,Nn=Ze("toStringTag"),Ln=Pn.Object,xn="Arguments"==kn(function(){return arguments}()),Gn=Dn?kn:function(e){var t,a,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=Ln(e),Nn))?a:xn?kn(t):"Object"==(n=kn(t))&&Fn(t.callee)?"Arguments":n},jn=s.String,_n=Ct,Yn={},zn=c,Un=s.RegExp;Yn.UNSUPPORTED_Y=zn((function(){var e=Un("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Yn.BROKEN_CARET=zn((function(){var e=Un("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Kn,Jn=Xa,Zn=en,Wn=Object.keys||function(e){return Jn(e,Zn)},Vn=vt,$n=Ct,qn=G,Qn=Wn,Xn=l?Object.defineProperties:function(e,t){$n(e);for(var a,n=qn(t),r=Qn(t),o=r.length,i=0;o>i;)Vn.f(e,a=r[i++],n[a]);return e},er=J("document","documentElement"),tr=Ct,ar=Xn,nr=en,rr=qt,or=er,ir=ht,sr=$t("IE_PROTO"),hr=function(){},cr=function(e){return"<script>"+e+"</"+"script>"},lr=function(e){e.write(cr("")),e.close();var t=e.parentWindow.Object;return e=null,t},ur=function(){try{Kn=new ActiveXObject("htmlfile")}catch(e){}var e,t;ur="undefined"!=typeof document?document.domain&&Kn?lr(Kn):((t=ir("iframe")).style.display="none",or.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(cr("document.F=Object")),e.close(),e.F):lr(Kn);for(var a=nr.length;a--;)delete ur.prototype[nr[a]];return ur()};rr[sr]=!0;var dr,fr,mr=Object.create||function(e,t){var a;return null!==e?(hr.prototype=tr(e),a=new hr,hr.prototype=null,a[sr]=e):a=ur(),void 0===t?a:ar(a,t)},gr=c,br=s.RegExp,yr=gr((function(){var e=br(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),pr=c,Sr=s.RegExp,vr=pr((function(){var e=Sr("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),wr=d,Ar=T,Hr=function(e){if("Symbol"===Gn(e))throw TypeError("Cannot convert a Symbol value to a string");return jn(e)},Tr=function(){var e=_n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Cr=Yn,Ir=Se.exports,Rr=mr,Or=ga.get,Er=yr,Mr=vr,Br=Ir("native-string-replace",String.prototype.replace),Pr=RegExp.prototype.exec,Dr=Pr,Fr=Ar("".charAt),kr=Ar("".indexOf),Nr=Ar("".replace),Lr=Ar("".slice),xr=(fr=/b*/g,wr(Pr,dr=/a/,"a"),wr(Pr,fr,"a"),0!==dr.lastIndex||0!==fr.lastIndex),Gr=Cr.UNSUPPORTED_Y||Cr.BROKEN_CARET,jr=void 0!==/()??/.exec("")[1];(xr||jr||Gr||Er||Mr)&&(Dr=function(e){var t,a,n,r,o,i,s,h=this,c=Or(h),l=Hr(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=wr(Dr,u,l),h.lastIndex=u.lastIndex,t;var d=c.groups,f=Gr&&h.sticky,m=wr(Tr,h),g=h.source,b=0,y=l;if(f&&(m=Nr(m,"y",""),-1===kr(m,"g")&&(m+="g"),y=Lr(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==Fr(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,b++),a=new RegExp("^(?:"+g+")",m)),jr&&(a=new RegExp("^"+g+"$(?!\\s)",m)),xr&&(n=h.lastIndex),r=wr(Pr,f?a:h,y),f?r?(r.input=Lr(r.input,b),r[0]=Lr(r[0],b),r.index=h.lastIndex,h.lastIndex+=r[0].length):h.lastIndex=0:xr&&r&&(h.lastIndex=h.global?r.index+r[0].length:n),jr&&r&&r.length>1&&wr(Br,r[0],a,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r&&d)for(r.groups=i=Rr(null),o=0;o<d.length;o++)i[(s=d[o])[0]]=r[s[1]];return r});(function(e,t){var a,n,r,o,i,s=e.target,h=e.global,c=e.stat;if(a=h?Tn:c?Tn[s]||On(s,{}):(Tn[s]||{}).prototype)for(n in t){if(o=t[n],r=e.noTargetGet?(i=Cn(a,n))&&i.value:a[n],!Mn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;En(o,r)}(e.sham||r&&r.sham)&&In(o,"sham",!0),Rn(a,n,o,e)}})({target:"RegExp",proto:!0,forced:/./.exec!==Dr},{exec:Dr});var _r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","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:"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","Purim Katan":"Minor Purim celebration during Adar I on leap years",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","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:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","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"};function Yr(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function zr(e){return e<10?"0"+e:String(e)}function Ur(e){return e<0?"-00"+Ur(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function Kr(e){return Ur(e.getFullYear())+"-"+zr(e.getMonth()+1)+"-"+zr(e.getDate())}function Jr(e){const a=e.getDesc();if("Fast begins"===a||"Fast ends"===a)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(a){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];case"Erev Tish'a B'Av":return["holiday","fast","major"];default:return["holiday","major"]}}function Zr(e,t){let a="Hebcal";const n=t.location;if(t.yahrzeit)a+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");a+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?a+=" Israel":a+=" Diaspora";if(t.isHebrewYear||0==e.length)a+=" "+t.year;else{const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())a+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){a+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else a+=" "+t.getFullYear()}return a}function Wr(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const a=_r[e.getDesc()]||_r[e.basename()]||"";if(t&&a){const e=a.indexOf(".");if(-1!=e)return a.substring(0,e)}return a}const Vr=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function $r(e,a){const n=e.getFlags();if(n&Vr)return"";const o=n&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,a):r.getLeyningForHoliday(e,a);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function qr(e,t,a,n,r){"https://www.hebcal.com"!==e.substring(0,22)?a="hebcal.com":t&&-1===e.indexOf("?")&&(e+="?i=on");const o=-1===e.indexOf("?")?"?":"&";return e+o+"utm_source=".concat(a,"&utm_medium=").concat(n)+(r?"&utm_campaign=".concat(r):"")}const Qr='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Xr={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function eo(e,a){const n=e.getDate().greg(),r=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=a.euro?'"'.concat(r,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(r,"/").concat(i,'"');let h="",c="",l="",u='"true"';const d=Boolean(e.eventTime);let f=d?e.renderBrief():e.render();if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",a);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(d&&a.location&&a.location.name){const e=a.location.name,t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else if(g&t.flags.DAF_YOMI){const e=f.indexOf(": ");-1!=e&&(m=f.substring(0,e),f=f.substring(e+2))}else{const t=Xr[Jr(e)[0]];t&&(m=t)}if(f=f.replace(/,/g,"").replace(/"/g,"''"),a.appendHebrewToSubject){const t=e.renderBrief("he");t&&(f+=" / ".concat(t))}let b=e.memo||Wr(e,!0);b||void 0===e.linkedEvent||(b=e.linkedEvent.render());const y=b.replace(/,/g,";").replace(/"/g,"''"),p=d||g&t.flags.CHAG?4:3;return'"'.concat(f,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(p,'","').concat(m,'"')}var to={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};const ao=t.flags.DAF_YOMI|t.flags.HEBREW_DATE;function no(e,a){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),h="object"==typeof a.location?a.location.getTzid():"UTC",c=o?t.Zmanim.formatISOWithTimeZone(h,e.eventTime):Kr(s),l=Jr(e),u=e.getFlags();let d=o||u&ao?e.renderBrief(a.locale):e.render(a.locale);const f=e.getDesc(),m="Havdalah"===f||"Candle lighting"===f;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const g={title:d,date:c,category:l[0]};l.length>1&&(g.subcat=l[1]),"holiday"===l[0]&&u&t.flags.CHAG&&(g.yomtov=!0),d!=f&&(g.title_orig=f);const b=e.renderBrief("he");if(b&&(g.hebrew=t.Locale.hebrewStripNikkud(b)),!m){if(n){const n=a.il,o=u===t.flags.PARSHA_HASHAVUA,s=o?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);if(s){g.leyning=oo(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=r.getTriennialForParshaHaShavua(e);t&&(g.leyning.triennial=ro({},t))}}}const o=e.url();if(o){const e=a.utmSource||"js",t=a.utmMedium||"api",n=a.utmCampaign;g.link=qr(o,a.il,e,t,n)}}const y=e.memo||_r[e.basename()];return y?g.memo=y:void 0!==e.linkedEvent&&(g.memo=e.linkedEvent.render(a.locale)),g}function ro(e,t){return Object.keys(t).forEach((a=>{const n=t[a];if(void 0!==n){e["M"==a?"maftir":a]=r.formatAliyahWithBook(n)}})),e}function oo(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&ro(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((a=>{if(e.reason[a]){t["M"==a?"maftir":a]+=" | "+e.reason[a]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}function io(e,a,n,r,o,i){let s=e.render();const h=e.getDate().greg(),c=function(e,t,a,n){if(t){const t=e.eventTime;return t?t.toUTCString():a.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,a,h,n),l=!!o&&o.getIsrael(),u=function(e,a,n,r){let o,i;const s=e.eventTime||e.getDate().greg(),h=t.Zmanim.formatISOWithTimeZone(n,s),c=h.substring(0,h.indexOf("T")),l=c.replace(/-/g,""),u=Yr(e.getDesc()),d="".concat(l,"-").concat(u),f=e.url();if(f)o=qr(f,a,"shabbat1c","rss").replace(/&/g,"&amp;"),i="".concat(f,"#").concat(d);else{const e="".concat(r,"&dt=").concat(c),t=qr(e,a,"shabbat1c","rss").replace(/&/g,"&amp;");i=e.replace(/&/g,"&amp;")+"#".concat(d),o="".concat(t,"#").concat(d)}return[o,i]}(e,l,o?o.getTzid():"UTC",i),d=u[0],f=u[1],m=Jr(e)[0],g=e.getDesc();let b;if("Havdalah"===g||"Candle lighting"===g){const a=s.indexOf(": ");if(-1!=a){const n={location:o,il:l,locale:t.Locale.getLocaleName()},r=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);s=s.substring(0,a)+": "+r}}else b=e.getFlags()&t.flags.PARSHA_HASHAVUA?$r(e,l):e.memo||_r[e.basename()];const y=b||r.format(h),p="candles"==m?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(s,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(f,"</guid>\n<description>").concat(y,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(c,"</pubDate>\n").concat(p,"</item>\n")}const so=t.flags.DAF_YOMI|t.flags.HEBREW_DATE;return e.appendIsraelAndTracking=qr,e.countryNames=to,e.eventToClassicApiObject=no,e.eventToCsv=eo,e.eventToFullCalendar=function(e,a,n){const r=Jr(e),o=e.getFlags();"holiday"==r[0]&&o&t.flags.CHAG&&r.push("yomtov");const i=Boolean(e.eventTime),s={title:i||o&so?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(a,e.eventTime):Kr(e.getDate().greg()),allDay:!i,className:r.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=qr(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const a=o&t.flags.PARSHA_HASHAVUA?$r(e,n):e.memo||_r[e.basename()];a?s.description=a:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=io,e.eventsToClassicApi=function(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:Zr(e,t),date:(new Date).toISOString()},r=t.location;return"object"==typeof r&&"string"==typeof r.name?(n.location={title:r.getName(),city:r.getShortName(),tzid:r.getTzid(),latitude:r.getLatitude(),longitude:r.getLongitude(),cc:r.getCountryCode(),country:to[r.getCountryCode()]},["admin1","asciiname","geo","zip","state","geonameid"].forEach((e=>{r[e]&&(n.location[e]=r[e])}))):n.location={geo:"none"},n.items=e.map((e=>no(e,t,a))),n},e.eventsToCsv=function(e,t){return[Qr].concat(e.map((e=>eo(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,a,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=a.getName(),h=(new Date).getFullYear(),c=t.Locale.gettext("Shabbat")+" Times for "+s,l=(new Date).toUTCString(),u=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"}),d=qr(n,a.getIsrael(),"shabbat1c","rss").replace(/&/g,"&amp;");r=r.replace(/&/g,"&amp;");let f='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(c,"</title>\n<link>").concat(d,'</link>\n<atom:link href="').concat(r,'" rel="self" type="application/rss+xml" />\n<description>Weekly Shabbat candle lighting times for ').concat(s,"</description>\n<language>").concat(o,"</language>\n<copyright>Copyright (c) ").concat(h," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(l,"</lastBuildDate>\n");return e.forEach((e=>{f+=io(e,i,l,u,a,n)})),f+="</channel>\n</rss>\n",f},e.getCalendarTitle=Zr,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+Yr(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=Jr,e.getHolidayDescription=Wr,e.holidayDescription=_r,e.makeAnchor=Yr,e.makeTorahMemoText=$r,e.pad2=zr,e.pad4=Ur,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.timeZoneOffsetStr=function(e,a){return t.Zmanim.timeZoneOffset(e,a)},e.toISOString=Kr,e.toISOStringWithTimezone=function(e,a,n){const r=Kr(e);return a?r+"T"+a+":00"+t.Zmanim.timeZoneOffset(n,e):r},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v3.8.4 */
1
+ /*! @hebcal/rest-api v3.8.5 */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -197,6 +197,7 @@ function getEventCategories(ev) {
197
197
  case 'Lag BaOmer':
198
198
  case 'Leil Selichot':
199
199
  case 'Pesach Sheni':
200
+ case 'Erev Purim':
200
201
  case 'Purim Katan':
201
202
  case 'Shushan Purim':
202
203
  case 'Tu B\'Av':
@@ -204,6 +205,9 @@ function getEventCategories(ev) {
204
205
  case 'Rosh Hashana LaBehemot':
205
206
  return ['holiday', 'minor'];
206
207
 
208
+ case 'Erev Tish\'a B\'Av':
209
+ return ['holiday', 'fast', 'major'];
210
+
207
211
  default:
208
212
  return ['holiday', 'major'];
209
213
  }
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v3.8.4 */
1
+ /*! @hebcal/rest-api v3.8.5 */
2
2
  import { flags, Zmanim, HebrewCalendar, Locale } from '@hebcal/core';
3
3
  import * as leyn from '@hebcal/leyning';
4
4
 
@@ -173,6 +173,7 @@ function getEventCategories(ev) {
173
173
  case 'Lag BaOmer':
174
174
  case 'Leil Selichot':
175
175
  case 'Pesach Sheni':
176
+ case 'Erev Purim':
176
177
  case 'Purim Katan':
177
178
  case 'Shushan Purim':
178
179
  case 'Tu B\'Av':
@@ -180,6 +181,9 @@ function getEventCategories(ev) {
180
181
  case 'Rosh Hashana LaBehemot':
181
182
  return ['holiday', 'minor'];
182
183
 
184
+ case 'Erev Tish\'a B\'Av':
185
+ return ['holiday', 'fast', 'major'];
186
+
183
187
  default:
184
188
  return ['holiday', 'major'];
185
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/rest-api",
3
- "version": "3.8.4",
3
+ "version": "3.8.5",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "hebcal"
@@ -59,12 +59,12 @@
59
59
  "@rollup/plugin-json": "^4.1.0",
60
60
  "@rollup/plugin-node-resolve": "^13.0.6",
61
61
  "ava": "^3.15.0",
62
- "core-js": "^3.18.3",
63
- "eslint": "^8.0.1",
62
+ "core-js": "^3.19.0",
63
+ "eslint": "^8.1.0",
64
64
  "eslint-config-google": "^0.14.0",
65
65
  "jsdoc": "^3.6.7",
66
66
  "jsdoc-to-markdown": "^7.1.0",
67
- "rollup": "^2.58.0",
67
+ "rollup": "^2.58.3",
68
68
  "rollup-plugin-terser": "^7.0.2"
69
69
  }
70
70
  }