@hebcal/rest-api 4.3.0 → 4.3.2
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 +47 -84
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +13 -50
- package/dist/fullcalendar.min.js +2 -2
- package/dist/index.js +13 -50
- package/dist/index.mjs +13 -50
- package/package.json +9 -9
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.3.
|
|
1
|
+
/*! @hebcal/rest-api v4.3.2 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyning, triennial) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ var check = function (it) {
|
|
|
10
10
|
|
|
11
11
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
12
12
|
var global$g =
|
|
13
|
-
// eslint-disable-next-line es
|
|
13
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
14
14
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
15
15
|
check(typeof window == 'object' && window) ||
|
|
16
16
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -33,14 +33,14 @@ var fails$g = fails$h;
|
|
|
33
33
|
|
|
34
34
|
// Detect IE8's incomplete defineProperty implementation
|
|
35
35
|
var descriptors = !fails$g(function () {
|
|
36
|
-
// eslint-disable-next-line es
|
|
36
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
37
37
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
var fails$f = fails$h;
|
|
41
41
|
|
|
42
42
|
var functionBindNative = !fails$f(function () {
|
|
43
|
-
// eslint-disable-next-line es
|
|
43
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
44
44
|
var test = (function () { /* empty */ }).bind();
|
|
45
45
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
46
46
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -57,7 +57,7 @@ var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
|
|
|
57
57
|
var objectPropertyIsEnumerable = {};
|
|
58
58
|
|
|
59
59
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
60
|
-
// eslint-disable-next-line es
|
|
60
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
61
61
|
var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
|
|
62
62
|
|
|
63
63
|
// Nashorn ~ JDK8 bug
|
|
@@ -224,12 +224,12 @@ if (!version && userAgent) {
|
|
|
224
224
|
|
|
225
225
|
var engineV8Version = version;
|
|
226
226
|
|
|
227
|
-
/* eslint-disable es
|
|
227
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
228
228
|
|
|
229
229
|
var V8_VERSION = engineV8Version;
|
|
230
230
|
var fails$d = fails$h;
|
|
231
231
|
|
|
232
|
-
// eslint-disable-next-line es
|
|
232
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
233
233
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
|
|
234
234
|
var symbol = Symbol();
|
|
235
235
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -239,7 +239,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(func
|
|
|
239
239
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
240
240
|
});
|
|
241
241
|
|
|
242
|
-
/* eslint-disable es
|
|
242
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
243
243
|
|
|
244
244
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
245
245
|
|
|
@@ -314,7 +314,7 @@ var isPure = false;
|
|
|
314
314
|
|
|
315
315
|
var global$d = global$g;
|
|
316
316
|
|
|
317
|
-
// eslint-disable-next-line es
|
|
317
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
318
318
|
var defineProperty$6 = Object.defineProperty;
|
|
319
319
|
|
|
320
320
|
var defineGlobalProperty$3 = function (key, value) {
|
|
@@ -338,10 +338,10 @@ var store$2 = sharedStore;
|
|
|
338
338
|
(shared$4.exports = function (key, value) {
|
|
339
339
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
340
340
|
})('versions', []).push({
|
|
341
|
-
version: '3.25.
|
|
341
|
+
version: '3.25.3',
|
|
342
342
|
mode: 'global',
|
|
343
343
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
344
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.25.
|
|
344
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
|
|
345
345
|
source: 'https://github.com/zloirock/core-js'
|
|
346
346
|
});
|
|
347
347
|
|
|
@@ -362,7 +362,7 @@ var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
|
|
|
362
362
|
|
|
363
363
|
// `HasOwnProperty` abstract operation
|
|
364
364
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
365
|
-
// eslint-disable-next-line es
|
|
365
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
366
366
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
367
367
|
return hasOwnProperty(toObject$3(it), key);
|
|
368
368
|
};
|
|
@@ -455,7 +455,7 @@ var createElement = documentCreateElement$2;
|
|
|
455
455
|
|
|
456
456
|
// Thanks to IE8 for its funny defineProperty
|
|
457
457
|
var ie8DomDefine = !DESCRIPTORS$b && !fails$c(function () {
|
|
458
|
-
// eslint-disable-next-line es
|
|
458
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
459
459
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
460
460
|
get: function () { return 7; }
|
|
461
461
|
}).a != 7;
|
|
@@ -470,7 +470,7 @@ var toPropertyKey$2 = toPropertyKey$3;
|
|
|
470
470
|
var hasOwn$a = hasOwnProperty_1;
|
|
471
471
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
472
472
|
|
|
473
|
-
// eslint-disable-next-line es
|
|
473
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
474
474
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
475
475
|
|
|
476
476
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -492,7 +492,7 @@ var fails$b = fails$h;
|
|
|
492
492
|
// V8 ~ Chrome 36-
|
|
493
493
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
494
494
|
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$b(function () {
|
|
495
|
-
// eslint-disable-next-line es
|
|
495
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
496
496
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
497
497
|
value: 42,
|
|
498
498
|
writable: false
|
|
@@ -517,9 +517,9 @@ var anObject$a = anObject$b;
|
|
|
517
517
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
518
518
|
|
|
519
519
|
var $TypeError$5 = TypeError;
|
|
520
|
-
// eslint-disable-next-line es
|
|
520
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
521
521
|
var $defineProperty = Object.defineProperty;
|
|
522
|
-
// eslint-disable-next-line es
|
|
522
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
523
523
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
524
524
|
var ENUMERABLE = 'enumerable';
|
|
525
525
|
var CONFIGURABLE$1 = 'configurable';
|
|
@@ -571,7 +571,7 @@ var DESCRIPTORS$6 = descriptors;
|
|
|
571
571
|
var hasOwn$9 = hasOwnProperty_1;
|
|
572
572
|
|
|
573
573
|
var FunctionPrototype = Function.prototype;
|
|
574
|
-
// eslint-disable-next-line es
|
|
574
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
575
575
|
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
576
576
|
|
|
577
577
|
var EXISTS = hasOwn$9(FunctionPrototype, 'name');
|
|
@@ -698,7 +698,7 @@ var InternalStateModule$4 = internalState;
|
|
|
698
698
|
|
|
699
699
|
var enforceInternalState = InternalStateModule$4.enforce;
|
|
700
700
|
var getInternalState$3 = InternalStateModule$4.get;
|
|
701
|
-
// eslint-disable-next-line es
|
|
701
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
702
702
|
var defineProperty$5 = Object.defineProperty;
|
|
703
703
|
|
|
704
704
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$a(function () {
|
|
@@ -773,7 +773,7 @@ var floor$3 = Math.floor;
|
|
|
773
773
|
|
|
774
774
|
// `Math.trunc` method
|
|
775
775
|
// https://tc39.es/ecma262/#sec-math.trunc
|
|
776
|
-
// eslint-disable-next-line es
|
|
776
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
777
777
|
var mathTrunc = Math.trunc || function trunc(x) {
|
|
778
778
|
var n = +x;
|
|
779
779
|
return (n > 0 ? floor$3 : ceil)(n);
|
|
@@ -892,14 +892,14 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
|
892
892
|
|
|
893
893
|
// `Object.getOwnPropertyNames` method
|
|
894
894
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
895
|
-
// eslint-disable-next-line es
|
|
895
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
896
896
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
897
897
|
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
898
898
|
};
|
|
899
899
|
|
|
900
900
|
var objectGetOwnPropertySymbols = {};
|
|
901
901
|
|
|
902
|
-
// eslint-disable-next-line es
|
|
902
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
903
903
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
904
904
|
|
|
905
905
|
var getBuiltIn$2 = getBuiltIn$5;
|
|
@@ -1116,7 +1116,7 @@ var enumBugKeys$1 = enumBugKeys$3;
|
|
|
1116
1116
|
|
|
1117
1117
|
// `Object.keys` method
|
|
1118
1118
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
1119
|
-
// eslint-disable-next-line es
|
|
1119
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1120
1120
|
var objectKeys$2 = Object.keys || function keys(O) {
|
|
1121
1121
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1122
1122
|
};
|
|
@@ -1130,7 +1130,7 @@ var objectKeys$1 = objectKeys$2;
|
|
|
1130
1130
|
|
|
1131
1131
|
// `Object.defineProperties` method
|
|
1132
1132
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1133
|
-
// eslint-disable-next-line es
|
|
1133
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1134
1134
|
objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1135
1135
|
anObject$7(O);
|
|
1136
1136
|
var props = toIndexedObject$1(Properties);
|
|
@@ -1218,7 +1218,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1218
1218
|
|
|
1219
1219
|
// `Object.create` method
|
|
1220
1220
|
// https://tc39.es/ecma262/#sec-object.create
|
|
1221
|
-
// eslint-disable-next-line es
|
|
1221
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
1222
1222
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1223
1223
|
var result;
|
|
1224
1224
|
if (O !== null) {
|
|
@@ -1452,7 +1452,7 @@ var fails$5 = fails$h;
|
|
|
1452
1452
|
var correctPrototypeGetter = !fails$5(function () {
|
|
1453
1453
|
function F() { /* empty */ }
|
|
1454
1454
|
F.prototype.constructor = null;
|
|
1455
|
-
// eslint-disable-next-line es
|
|
1455
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1456
1456
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1457
1457
|
});
|
|
1458
1458
|
|
|
@@ -1468,7 +1468,7 @@ var ObjectPrototype = $Object.prototype;
|
|
|
1468
1468
|
|
|
1469
1469
|
// `Object.getPrototypeOf` method
|
|
1470
1470
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1471
|
-
// eslint-disable-next-line es
|
|
1471
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1472
1472
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1473
1473
|
var object = toObject$2(O);
|
|
1474
1474
|
if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
|
|
@@ -1492,7 +1492,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
|
1492
1492
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1493
1493
|
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1494
1494
|
|
|
1495
|
-
/* eslint-disable es
|
|
1495
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1496
1496
|
if ([].keys) {
|
|
1497
1497
|
arrayIterator = [].keys();
|
|
1498
1498
|
// Safari 8 has buggy iterators w/o `next`
|
|
@@ -1572,13 +1572,13 @@ var aPossiblePrototype = aPossiblePrototype$1;
|
|
|
1572
1572
|
// `Object.setPrototypeOf` method
|
|
1573
1573
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1574
1574
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1575
|
-
// eslint-disable-next-line es
|
|
1575
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1576
1576
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1577
1577
|
var CORRECT_SETTER = false;
|
|
1578
1578
|
var test = {};
|
|
1579
1579
|
var setter;
|
|
1580
1580
|
try {
|
|
1581
|
-
// eslint-disable-next-line es
|
|
1581
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1582
1582
|
setter = uncurryThis$8(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1583
1583
|
setter(test, []);
|
|
1584
1584
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -1940,9 +1940,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
|
1940
1940
|
var toObject$1 = toObject$4;
|
|
1941
1941
|
var IndexedObject = indexedObject;
|
|
1942
1942
|
|
|
1943
|
-
// eslint-disable-next-line es
|
|
1943
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1944
1944
|
var $assign = Object.assign;
|
|
1945
|
-
// eslint-disable-next-line es
|
|
1945
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1946
1946
|
var defineProperty = Object.defineProperty;
|
|
1947
1947
|
var concat = uncurryThis$5([].concat);
|
|
1948
1948
|
|
|
@@ -1962,7 +1962,7 @@ var objectAssign = !$assign || fails$2(function () {
|
|
|
1962
1962
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1963
1963
|
var A = {};
|
|
1964
1964
|
var B = {};
|
|
1965
|
-
// eslint-disable-next-line es
|
|
1965
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1966
1966
|
var symbol = Symbol();
|
|
1967
1967
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1968
1968
|
A[symbol] = 7;
|
|
@@ -2463,7 +2463,7 @@ var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
|
|
|
2463
2463
|
var setInternalState$1 = InternalStateModule$1.set;
|
|
2464
2464
|
var getInternalParamsState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS);
|
|
2465
2465
|
var getInternalIteratorState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR);
|
|
2466
|
-
// eslint-disable-next-line es
|
|
2466
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2467
2467
|
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
2468
2468
|
|
|
2469
2469
|
// Avoid NodeJS experimental warning
|
|
@@ -3910,7 +3910,7 @@ var notARegExp = notARegexp;
|
|
|
3910
3910
|
var requireObjectCoercible = requireObjectCoercible$4;
|
|
3911
3911
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
3912
3912
|
|
|
3913
|
-
// eslint-disable-next-line es
|
|
3913
|
+
// eslint-disable-next-line es/no-string-prototype-startswith -- safe
|
|
3914
3914
|
var nativeStartsWith = uncurryThis(''.startsWith);
|
|
3915
3915
|
var stringSlice = uncurryThis(''.slice);
|
|
3916
3916
|
var min = Math.min;
|
|
@@ -3975,7 +3975,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
3975
3975
|
}, { unsafe: true });
|
|
3976
3976
|
}
|
|
3977
3977
|
|
|
3978
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","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. 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. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. 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 Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
3978
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights";var Pesach="Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt";var Purim="Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination";var Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";var Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";var Sukkot="Feast of Booths";var holidayDescription = {"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:Pesach,"Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:Purim,"Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":"Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes \"Adar Bet\" or \"Adar Sheni\", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:Sigd,"Simchat Torah":"Day of Celebrating the Torah",Sukkot:Sukkot,"Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","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. 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. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. 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 Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};
|
|
3979
3979
|
|
|
3980
3980
|
var AD="Andorra";var AE="United Arab Emirates";var AF="Afghanistan";var AI="Anguilla";var AL="Albania";var AM="Armenia";var AO="Angola";var AR="Argentina";var AS="American Samoa";var AT="Austria";var AU="Australia";var AW="Aruba";var AZ="Azerbaijan";var BA="Bosnia and Herzegovina";var BB="Barbados";var BD="Bangladesh";var BE="Belgium";var BF="Burkina Faso";var BG="Bulgaria";var BH="Bahrain";var BI="Burundi";var BJ="Benin";var BM="Bermuda";var BN="Brunei";var BO="Bolivia";var BR="Brazil";var BS="Bahamas";var BT="Bhutan";var BW="Botswana";var BY="Belarus";var BZ="Belize";var CA="Canada";var CD="Democratic Republic of the Congo";var CF="Central African Republic";var CG="Republic of the Congo";var CH="Switzerland";var CI="Ivory Coast";var CK="Cook Islands";var CL="Chile";var CM="Cameroon";var CN="China";var CO="Colombia";var CR="Costa Rica";var CU="Cuba";var CV="Cape Verde";var CW="Curacao";var CY="Cyprus";var CZ="Czech Republic";var DE="Germany";var DK="Denmark";var DM="Dominica";var DO="Dominican Republic";var DZ="Algeria";var EC="Ecuador";var EE="Estonia";var EG="Egypt";var ER="Eritrea";var ES="Spain";var ET="Ethiopia";var FI="Finland";var FJ="Fiji";var FK="Falkland Islands";var FO="Faroe Islands";var FR="France";var GA="Gabon";var GB="United Kingdom";var GE="Georgia";var GH="Ghana";var GI="Gibraltar";var GL="Greenland";var GM="Gambia";var GN="Guinea";var GQ="Equatorial Guinea";var GR="Greece";var GT="Guatemala";var GW="Guinea-Bissau";var GY="Guyana";var HK="Hong Kong";var HN="Honduras";var HR="Croatia";var HT="Haiti";var HU="Hungary";var ID="Indonesia";var IE="Ireland";var IL="Israel";var IM="Isle of Man";var IN="India";var IQ="Iraq";var IR="Iran";var IS="Iceland";var IT="Italy";var JM="Jamaica";var JO="Jordan";var JP="Japan";var KE="Kenya";var KG="Kyrgyzstan";var KH="Cambodia";var KM="Comoros";var KN="Saint Kitts and Nevis";var KP="North Korea";var KR="South Korea";var KW="Kuwait";var KY="Cayman Islands";var KZ="Kazakhstan";var LA="Laos";var LB="Lebanon";var LC="Saint Lucia";var LI="Liechtenstein";var LR="Liberia";var LS="Lesotho";var LT="Lithuania";var LU="Luxembourg";var LV="Latvia";var LY="Libya";var MA="Morocco";var MD="Moldova";var ME="Montenegro";var MG="Madagascar";var MK="Macedonia";var ML="Mali";var MM="Myanmar";var MN="Mongolia";var MP="Northern Mariana Islands";var MR="Mauritania";var MS="Montserrat";var MT="Malta";var MU="Mauritius";var MW="Malawi";var MX="Mexico";var MY="Malaysia";var MZ="Mozambique";var NA="Namibia";var NC="New Caledonia";var NE="Niger";var NG="Nigeria";var NI="Nicaragua";var NL="Netherlands";var NO="Norway";var NP="Nepal";var NU="Niue";var NZ="New Zealand";var OM="Oman";var PA="Panama";var PE="Peru";var PF="French Polynesia";var PG="Papua New Guinea";var PH="Philippines";var PK="Pakistan";var PL="Poland";var PR="Puerto Rico";var PT="Portugal";var PY="Paraguay";var QA="Qatar";var RO="Romania";var RS="Serbia";var RU="Russia";var RW="Rwanda";var SA="Saudi Arabia";var SB="Solomon Islands";var SC="Seychelles";var SD="Sudan";var SE="Sweden";var SG="Singapore";var SH="Saint Helena";var SI="Slovenia";var SK="Slovakia";var SL="Sierra Leone";var SN="Senegal";var SO="Somalia";var SR="Suriname";var ST="Sao Tome and Principe";var SV="El Salvador";var SY="Syria";var SZ="Swaziland";var TC="Turks and Caicos Islands";var TD="Chad";var TG="Togo";var TH="Thailand";var TJ="Tajikistan";var TM="Turkmenistan";var TN="Tunisia";var TR="Turkey";var TV="Tuvalu";var TW="Taiwan";var TZ="Tanzania";var UA="Ukraine";var UG="Uganda";var US="United States";var UY="Uruguay";var UZ="Uzbekistan";var VC="Saint Vincent and the Grenadines";var VE="Venezuela";var VG="British Virgin Islands";var VN="Vietnam";var WS="Samoa";var YE="Yemen";var YT="Mayotte";var ZA="South Africa";var ZM="Zambia";var ZW="Zimbabwe";var countryNames = {AD:AD,AE:AE,AF:AF,AI:AI,AL:AL,AM:AM,AO:AO,AR:AR,AS:AS,AT:AT,AU:AU,AW:AW,AZ:AZ,BA:BA,BB:BB,BD:BD,BE:BE,BF:BF,BG:BG,BH:BH,BI:BI,BJ:BJ,BM:BM,BN:BN,BO:BO,BR:BR,BS:BS,BT:BT,BW:BW,BY:BY,BZ:BZ,CA:CA,CD:CD,CF:CF,CG:CG,CH:CH,CI:CI,CK:CK,CL:CL,CM:CM,CN:CN,CO:CO,CR:CR,CU:CU,CV:CV,CW:CW,CY:CY,CZ:CZ,DE:DE,DK:DK,DM:DM,DO:DO,DZ:DZ,EC:EC,EE:EE,EG:EG,ER:ER,ES:ES,ET:ET,FI:FI,FJ:FJ,FK:FK,FO:FO,FR:FR,GA:GA,GB:GB,GE:GE,GH:GH,GI:GI,GL:GL,GM:GM,GN:GN,GQ:GQ,GR:GR,GT:GT,GW:GW,GY:GY,HK:HK,HN:HN,HR:HR,HT:HT,HU:HU,ID:ID,IE:IE,IL:IL,IM:IM,IN:IN,IQ:IQ,IR:IR,IS:IS,IT:IT,JM:JM,JO:JO,JP:JP,KE:KE,KG:KG,KH:KH,KM:KM,KN:KN,KP:KP,KR:KR,KW:KW,KY:KY,KZ:KZ,LA:LA,LB:LB,LC:LC,LI:LI,LR:LR,LS:LS,LT:LT,LU:LU,LV:LV,LY:LY,MA:MA,MD:MD,ME:ME,MG:MG,MK:MK,ML:ML,MM:MM,MN:MN,MP:MP,MR:MR,MS:MS,MT:MT,MU:MU,MW:MW,MX:MX,MY:MY,MZ:MZ,NA:NA,NC:NC,NE:NE,NG:NG,NI:NI,NL:NL,NO:NO,NP:NP,NU:NU,NZ:NZ,OM:OM,PA:PA,PE:PE,PF:PF,PG:PG,PH:PH,PK:PK,PL:PL,PR:PR,PT:PT,PY:PY,QA:QA,RO:RO,RS:RS,RU:RU,RW:RW,SA:SA,SB:SB,SC:SC,SD:SD,SE:SE,SG:SG,SH:SH,SI:SI,SK:SK,SL:SL,SN:SN,SO:SO,SR:SR,ST:ST,SV:SV,SY:SY,SZ:SZ,TC:TC,TD:TD,TG:TG,TH:TH,TJ:TJ,TM:TM,TN:TN,TR:TR,TV:TV,TW:TW,TZ:TZ,UA:UA,UG:UG,US:US,UY:UY,UZ:UZ,VC:VC,VE:VE,VG:VG,VN:VN,WS:WS,YE:YE,YT:YT,ZA:ZA,ZM:ZM,ZW:ZW};
|
|
3981
3981
|
|
|
@@ -4100,6 +4100,8 @@ function pad4(number) {
|
|
|
4100
4100
|
function toISOString(d) {
|
|
4101
4101
|
return pad4(d.getFullYear()) + '-' + pad2(d.getMonth() + 1) + '-' + pad2(d.getDate());
|
|
4102
4102
|
}
|
|
4103
|
+
const flagToCategory = [[core.flags.MAJOR_FAST, 'holiday', 'major', 'fast'], [core.flags.CHANUKAH_CANDLES, 'holiday', 'major'], [core.flags.DAF_YOMI, 'dafyomi'], [core.flags.HEBREW_DATE, 'hebdate'], [core.flags.MINOR_FAST, 'holiday', 'fast'], [core.flags.MINOR_HOLIDAY, 'holiday', 'minor'], [core.flags.MISHNA_YOMI, 'mishnayomi'], [core.flags.MODERN_HOLIDAY, 'holiday', 'modern'], [core.flags.MOLAD, 'molad'], [core.flags.OMER_COUNT, 'omer'], [core.flags.PARSHA_HASHAVUA, 'parashat'], // backwards-compat
|
|
4104
|
+
[core.flags.ROSH_CHODESH, 'roshchodesh'], [core.flags.SHABBAT_MEVARCHIM, 'mevarchim'], [core.flags.SPECIAL_SHABBAT, 'holiday', 'shabbat'], [core.flags.USER_EVENT, 'user']];
|
|
4103
4105
|
/**
|
|
4104
4106
|
* Returns a category and subcategory name
|
|
4105
4107
|
* @param {Event} ev
|
|
@@ -4113,54 +4115,18 @@ function getEventCategories(ev) {
|
|
|
4113
4115
|
return ['zmanim', 'fast'];
|
|
4114
4116
|
}
|
|
4115
4117
|
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
case core.flags.HEBREW_DATE:
|
|
4121
|
-
return ['hebdate'];
|
|
4122
|
-
|
|
4123
|
-
case core.flags.PARSHA_HASHAVUA:
|
|
4124
|
-
return ['parashat'];
|
|
4125
|
-
// backwards-compat
|
|
4126
|
-
|
|
4127
|
-
case core.flags.DAF_YOMI:
|
|
4128
|
-
return ['dafyomi'];
|
|
4129
|
-
|
|
4130
|
-
case core.flags.ROSH_CHODESH:
|
|
4131
|
-
return ['roshchodesh'];
|
|
4132
|
-
|
|
4133
|
-
case core.flags.SPECIAL_SHABBAT:
|
|
4134
|
-
return ['holiday', 'shabbat'];
|
|
4135
|
-
|
|
4136
|
-
case core.flags.MINOR_FAST:
|
|
4137
|
-
return ['holiday', 'fast'];
|
|
4138
|
-
|
|
4139
|
-
case core.flags.MAJOR_FAST:
|
|
4140
|
-
return ['holiday', 'fast', 'major'];
|
|
4141
|
-
|
|
4142
|
-
case core.flags.MODERN_HOLIDAY:
|
|
4143
|
-
return ['holiday', 'modern'];
|
|
4144
|
-
|
|
4145
|
-
case core.flags.SHABBAT_MEVARCHIM:
|
|
4146
|
-
return ['mevarchim'];
|
|
4147
|
-
|
|
4148
|
-
case core.flags.MOLAD:
|
|
4149
|
-
return ['molad'];
|
|
4150
|
-
|
|
4151
|
-
case core.flags.USER_EVENT:
|
|
4152
|
-
return ['user'];
|
|
4118
|
+
if (ev.cholHaMoedDay) {
|
|
4119
|
+
return ['holiday', 'major', 'cholhamoed'];
|
|
4120
|
+
}
|
|
4153
4121
|
|
|
4154
|
-
|
|
4155
|
-
return ['holiday', 'minor'];
|
|
4122
|
+
const mask = ev.getFlags();
|
|
4156
4123
|
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
// fall through to string-based category
|
|
4160
|
-
}
|
|
4124
|
+
for (let i = 0; i < flagToCategory.length; i++) {
|
|
4125
|
+
const attrs = flagToCategory[i];
|
|
4161
4126
|
|
|
4162
|
-
|
|
4163
|
-
|
|
4127
|
+
if (mask & attrs[0]) {
|
|
4128
|
+
return attrs.slice(1);
|
|
4129
|
+
}
|
|
4164
4130
|
}
|
|
4165
4131
|
|
|
4166
4132
|
switch (desc) {
|
|
@@ -4181,9 +4147,6 @@ function getEventCategories(ev) {
|
|
|
4181
4147
|
case 'Rosh Hashana LaBehemot':
|
|
4182
4148
|
return ['holiday', 'minor'];
|
|
4183
4149
|
|
|
4184
|
-
case 'Erev Tish\'a B\'Av':
|
|
4185
|
-
return ['holiday', 'fast', 'major'];
|
|
4186
|
-
|
|
4187
4150
|
default:
|
|
4188
4151
|
return ['holiday', 'major'];
|
|
4189
4152
|
}
|