@hebcal/rest-api 4.5.2 → 4.5.4
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/README.md +40 -3
- package/dist/bundle.js +31 -8
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +2 -2
- package/dist/fullcalendar.min.js +2 -2
- package/dist/index.js +23 -3
- package/dist/index.mjs +23 -3
- package/package.json +10 -10
- package/rest-api.d.ts +18 -1
package/README.md
CHANGED
|
@@ -32,8 +32,9 @@ console.log(JSON.stringify(csv));
|
|
|
32
32
|
## Functions
|
|
33
33
|
|
|
34
34
|
<dl>
|
|
35
|
-
<dt><a href="#locationToPlainObj">locationToPlainObj(location)</a> ⇒ <code>
|
|
36
|
-
<dd
|
|
35
|
+
<dt><a href="#locationToPlainObj">locationToPlainObj(location)</a> ⇒ <code><a href="#LocationPlainObj">LocationPlainObj</a></code></dt>
|
|
36
|
+
<dd><p>Converts a @hebcal/core <code>Location</code> to a plain JS object.</p>
|
|
37
|
+
</dd>
|
|
37
38
|
<dt><a href="#makeAnchor">makeAnchor(s)</a> ⇒ <code>string</code></dt>
|
|
38
39
|
<dd><p>Helper function to transform a string to make it more usable in a URL or filename.
|
|
39
40
|
Converts to lowercase and replaces non-word characters with hyphen ('-').</p>
|
|
@@ -89,9 +90,19 @@ Converts to lowercase and replaces non-word characters with hyphen ('-')
|
|
|
89
90
|
</dd>
|
|
90
91
|
</dl>
|
|
91
92
|
|
|
93
|
+
## Typedefs
|
|
94
|
+
|
|
95
|
+
<dl>
|
|
96
|
+
<dt><a href="#LocationPlainObj">LocationPlainObj</a> : <code>Object</code></dt>
|
|
97
|
+
<dd><p>Location information</p>
|
|
98
|
+
</dd>
|
|
99
|
+
</dl>
|
|
100
|
+
|
|
92
101
|
<a name="locationToPlainObj"></a>
|
|
93
102
|
|
|
94
|
-
## locationToPlainObj(location) ⇒ <code>
|
|
103
|
+
## locationToPlainObj(location) ⇒ [<code>LocationPlainObj</code>](#LocationPlainObj)
|
|
104
|
+
Converts a @hebcal/core `Location` to a plain JS object.
|
|
105
|
+
|
|
95
106
|
**Kind**: global function
|
|
96
107
|
|
|
97
108
|
| Param | Type |
|
|
@@ -324,3 +335,29 @@ Converts a Hebcal event to a FullCalendar.io object
|
|
|
324
335
|
| ev | <code>Event</code> | |
|
|
325
336
|
| tzid | <code>string</code> | timeZone identifier |
|
|
326
337
|
| il | <code>boolean</code> | true if Israel |
|
|
338
|
+
|
|
339
|
+
<a name="LocationPlainObj"></a>
|
|
340
|
+
|
|
341
|
+
## LocationPlainObj : <code>Object</code>
|
|
342
|
+
Location information
|
|
343
|
+
|
|
344
|
+
**Kind**: global typedef
|
|
345
|
+
**Properties**
|
|
346
|
+
|
|
347
|
+
| Name | Type |
|
|
348
|
+
| --- | --- |
|
|
349
|
+
| title | <code>string</code> |
|
|
350
|
+
| city | <code>string</code> |
|
|
351
|
+
| tzid | <code>string</code> |
|
|
352
|
+
| latitude | <code>number</code> |
|
|
353
|
+
| longitude | <code>number</code> |
|
|
354
|
+
| cc | <code>string</code> |
|
|
355
|
+
| country | <code>string</code> |
|
|
356
|
+
| admin1 | <code>string</code> |
|
|
357
|
+
| asciiname | <code>string</code> |
|
|
358
|
+
| geo | <code>string</code> |
|
|
359
|
+
| zip | <code>string</code> |
|
|
360
|
+
| state | <code>string</code> |
|
|
361
|
+
| stateName | <code>string</code> |
|
|
362
|
+
| geonameid | <code>number</code> |
|
|
363
|
+
|
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyning, triennial) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -337,10 +337,10 @@ var store$2 = sharedStore;
|
|
|
337
337
|
(shared$4.exports = function (key, value) {
|
|
338
338
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
339
339
|
})('versions', []).push({
|
|
340
|
-
version: '3.32.
|
|
340
|
+
version: '3.32.2',
|
|
341
341
|
mode: 'global',
|
|
342
342
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
343
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.32.
|
|
343
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE',
|
|
344
344
|
source: 'https://github.com/zloirock/core-js'
|
|
345
345
|
});
|
|
346
346
|
|
|
@@ -1632,12 +1632,15 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1632
1632
|
|
|
1633
1633
|
var getIterationMethod = function (KIND) {
|
|
1634
1634
|
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1635
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1635
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1636
|
+
|
|
1636
1637
|
switch (KIND) {
|
|
1637
1638
|
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1638
1639
|
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1639
1640
|
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1640
|
-
}
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
return function () { return new IteratorConstructor(this); };
|
|
1641
1644
|
};
|
|
1642
1645
|
|
|
1643
1646
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
@@ -2365,7 +2368,7 @@ var encode = function (input) {
|
|
|
2365
2368
|
var q = delta;
|
|
2366
2369
|
var k = base;
|
|
2367
2370
|
while (true) {
|
|
2368
|
-
var t = k <= bias ? tMin :
|
|
2371
|
+
var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
|
|
2369
2372
|
if (q < t) break;
|
|
2370
2373
|
var qMinusT = q - t;
|
|
2371
2374
|
var baseMinusT = base - t;
|
|
@@ -4033,13 +4036,33 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
4033
4036
|
}, { unsafe: true });
|
|
4034
4037
|
}
|
|
4035
4038
|
|
|
4036
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
4039
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
4037
4040
|
|
|
4038
4041
|
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};
|
|
4039
4042
|
|
|
4040
4043
|
/**
|
|
4044
|
+
* Location information
|
|
4045
|
+
* @typedef {Object} LocationPlainObj
|
|
4046
|
+
* @property {string} title
|
|
4047
|
+
* @property {string} city
|
|
4048
|
+
* @property {string} tzid
|
|
4049
|
+
* @property {number} latitude
|
|
4050
|
+
* @property {number} longitude
|
|
4051
|
+
* @property {string} cc
|
|
4052
|
+
* @property {string} country
|
|
4053
|
+
* @property {string} admin1
|
|
4054
|
+
* @property {string} asciiname
|
|
4055
|
+
* @property {string} geo
|
|
4056
|
+
* @property {string} zip
|
|
4057
|
+
* @property {string} state
|
|
4058
|
+
* @property {string} stateName
|
|
4059
|
+
* @property {number} geonameid
|
|
4060
|
+
*/
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* Converts a @hebcal/core `Location` to a plain JS object.
|
|
4041
4064
|
* @param {Location} location
|
|
4042
|
-
* @return {
|
|
4065
|
+
* @return {LocationPlainObj}
|
|
4043
4066
|
*/
|
|
4044
4067
|
function locationToPlainObj(location) {
|
|
4045
4068
|
if (typeof location === 'object' && location !== null && typeof location.name === 'string') {
|
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math===Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||a||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,T=A.call,R=w&&A.bind.bind(T,T),H=w?R:function(e){return function(){return T.apply(e,arguments)}},C=H,P=C({}.toString),I=C("".slice),k=function(e){return I(P(e),8,-1)},M=h,L=k,O=Object,E=H("".split),B=M((function(){return!O("z").propertyIsEnumerable(0)}))?function(e){return"String"===L(e)?E(e,""):O(e)}:O,D=function(e){return null==e},U=D,F=TypeError,x=function(e){if(U(e))throw F("Can't call method on "+e);return e},N=B,j=x,G=function(e){return N(j(e))},Y="object"==typeof document&&document.all,_={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},z=_.all,K=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=_.all,q=_.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e,t){return arguments.length<2?(r=V[e],Z(r)?r:void 0):V[e]&&V[e][t];var r},Q=H({}.isPrototypeOf),X=i,ee="undefined"!=typeof navigator&&String(navigator.userAgent)||"",te=X.process,re=X.Deno,ne=te&&te.versions||re&&re.version,ae=ne&&ne.v8;ae&&(v=(b=ae.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&ee&&(!(b=ee.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=ee.match(/Chrome\/(\d+)/))&&(v=+b[1]);var oe=v,ie=h,se=i.String,he=!!Object.getOwnPropertySymbols&&!ie((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=$,ue=K,fe=Q,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,Te=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,He=K,Ce=q,Pe=TypeError,Ie={exports:{}},ke=i,Me=Object.defineProperty,Le=function(e,t){try{Me(ke,e,{value:t,configurable:!0,writable:!0})}catch(r){ke[e]=t}return t},Oe=Le,Ee="__core-js_shared__",Be=i[Ee]||Oe(Ee,{}),De=Be;(Ie.exports=function(e,t){return De[e]||(De[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=Ie.exports,Fe=x,xe=Object,Ne=function(e){return xe(Fe(e))},je=Ne,Ge=H({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Ge(je(e),t)},_e=H,ze=0,Ke=Math.random(),Je=_e(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Ue,Ve=Ye,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=Te,st=function(e,t){var r,n;if("string"===t&&He(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(He(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&He(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Pe("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!==Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Tt=G,Rt=ft,Ht=Ye,Ct=bt,Pt=Object.getOwnPropertyDescriptor;s.f=vt?Pt:function(e,t){if(e=Tt(e),t=Rt(t),Ct)try{return Pt(e,t)}catch(e){}if(Ht(e,t))return At(!St(wt.f,e,t),e[t])};var It={},kt=c&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=q,Lt=String,Ot=TypeError,Et=function(e){if(Mt(e))return e;throw Ot(Lt(e)+" is not an object")},Bt=c,Dt=bt,Ut=kt,Ft=Et,xt=ft,Nt=TypeError,jt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",_t="configurable",zt="writable";It.f=Bt?Ut?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r[zt]){var n=Gt(e,t);n&&n[zt]&&(e[t]=r.value,r={configurable:_t in r?r[_t]:n[_t],enumerable:Yt in r?r[Yt]:n[Yt],writable:!1})}return jt(e,t,r)}:jt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Dt)try{return jt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Nt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=It,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=c,Zt=Ye,$t=Function.prototype,Qt=Vt&&Object.getOwnPropertyDescriptor,Xt=Zt($t,"name"),er={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!Vt||Vt&&Qt($t,"name").configurable)},tr=K,rr=Be,nr=H(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,hr=K,cr=i.WeakMap,lr=hr(cr)&&/native code/.test(String(cr)),ur=We,fr=Ue("keys"),dr=function(e){return fr[e]||(fr[e]=ur(e))},mr={},gr=lr,pr=i,yr=q,br=Wt,vr=Ye,Sr=Be,wr=dr,Ar=mr,Tr="Object already initialized",Rr=pr.TypeError,Hr=pr.WeakMap;if(gr||Sr.state){var Cr=Sr.state||(Sr.state=new Hr);Cr.get=Cr.get,Cr.has=Cr.has,Cr.set=Cr.set,ar=function(e,t){if(Cr.has(e))throw Rr(Tr);return t.facade=e,Cr.set(e,t),t},or=function(e){return Cr.get(e)||{}},ir=function(e){return Cr.has(e)}}else{var Pr=wr("state");Ar[Pr]=!0,ar=function(e,t){if(vr(e,Pr))throw Rr(Tr);return t.facade=e,br(e,Pr,t),t},or=function(e){return vr(e,Pr)?e[Pr]:{}},ir=function(e){return vr(e,Pr)}}var Ir={set:ar,get:or,has:ir,enforce:function(e){return ir(e)?or(e):ar(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=or(t)).type!==e)throw Rr("Incompatible receiver, "+e+" required");return r}}},kr=H,Mr=h,Lr=K,Or=Ye,Er=c,Br=er.CONFIGURABLE,Dr=sr,Ur=Ir.enforce,Fr=Ir.get,xr=String,Nr=Object.defineProperty,jr=kr("".slice),Gr=kr("".replace),Yr=kr([].join),_r=Er&&!Mr((function(){return 8!==Nr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Kr=qt.exports=function(e,t,r){"Symbol("===jr(xr(t),0,7)&&(t="["+Gr(xr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Or(e,"name")||Br&&e.name!==t)&&(Er?Nr(e,"name",{value:t,configurable:!0}):e.name=t),_r&&r&&Or(r,"arity")&&e.length!==r.arity&&Nr(e,"length",{value:r.arity});try{r&&Or(r,"constructor")&&r.constructor?Er&&Nr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Or(n,"source")||(n.source=Yr(zr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Lr(this)&&Fr(this).source||Dr(this)}),"toString");var Jr=qt.exports,Wr=K,qr=It,Vr=Jr,Zr=Le,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=G,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ye,vn=G,Sn=yn.indexOf,wn=mr,An=H([].push),Tn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Tn,Cn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Cn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var In=$,kn=Qr,Mn=Pn,Ln=Et,On=H([].concat),En=In("Reflect","ownKeys")||function(e){var t=kn.f(Ln(e)),r=Mn.f;return r?On(t,r(e)):t},Bn=Ye,Dn=En,Un=s,Fn=It,xn=h,Nn=K,jn=/#|\.prototype\./,Gn=function(e,t){var r=_n[Yn(e)];return r===Kn||r!==zn&&(Nn(t)?xn(t):!!t)},Yn=Gn.normalize=function(e){return String(e).replace(jn,".").toLowerCase()},_n=Gn.data={},zn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Jn=Gn,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Le,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=k,oa=rt("toStringTag"),ia=Object,sa="Arguments"===aa(function(){return arguments}()),ha=ra?aa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ia(e),oa))?r:sa?aa(t):"Object"===(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=Et,da=function(){var e=fa(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Tn,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ta=c,Ra=kt,Ha=It,Ca=Et,Pa=G,Ia=Aa;va.f=Ta&&!Ra?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Pa(t),a=Ia(t),o=a.length,i=0;o>i;)Ha.f(e,r=a[i++],n[r]);return e};var ka,Ma=$("document","documentElement"),La=Et,Oa=va,Ea=Rn,Ba=mr,Da=Ma,Ua=pt,Fa="prototype",xa="script",Na=dr("IE_PROTO"),ja=function(){},Ga=function(e){return"<"+xa+">"+e+"</"+xa+">"},Ya=function(e){e.write(Ga("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{ka=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;_a="undefined"!=typeof document?document.domain&&ka?Ya(ka):(t=Ua("iframe"),r="java"+xa+":",t.style.display="none",Da.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ga("document.F=Object")),e.close(),e.F):Ya(ka);for(var n=Ea.length;n--;)delete _a[Fa][Ea[n]];return _a()};Ba[Na]=!0;var za,Ka,Ja=Object.create||function(e,t){var r;return null!==e?(ja[Fa]=La(e),r=new ja,ja[Fa]=null,r[Na]=e):r=_a(),void 0===t?r:Oa.f(r,t)},Wa=h,qa=i.RegExp,Va=Wa((function(){var e=qa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Za=h,$a=i.RegExp,Qa=Za((function(){var e=$a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xa=d,eo=H,to=ua,ro=da,no=ba,ao=Ja,oo=Ir.get,io=Va,so=Qa,ho=Ue("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=eo("".charAt),fo=eo("".indexOf),mo=eo("".replace),go=eo("".slice),po=(Ka=/b*/g,Xa(co,za=/a/,"a"),Xa(co,Ka,"a"),0!==za.lastIndex||0!==Ka.lastIndex),yo=no.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=to(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Xa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,m=Xa(ro,h),g=h.source,p=0,y=l;if(d&&(m=mo(m,"y",""),-1===fo(m,"g")&&(m+="g"),y=go(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),bo&&(r=new RegExp("^"+g+"$(?!\\s)",m)),po&&(n=h.lastIndex),a=Xa(co,d?r:h,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Xa(ho,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=pt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=rt,To=Ja,Ro=It.f,Ho=Ao("unscopables"),Co=Array.prototype;void 0===Co[Ho]&&Ro(Co,Ho,{configurable:!0,value:To(null)});var Po,Io,ko,Mo={},Lo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=Ye,Eo=K,Bo=Ne,Do=Lo,Uo=dr("IE_PROTO"),Fo=Object,xo=Fo.prototype,No=Do?Fo.getPrototypeOf:function(e){var t=Bo(e);if(Oo(t,Uo))return t[Uo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Fo?xo:null},jo=h,Go=K,Yo=q,_o=No,zo=$r,Ko=rt("iterator"),Jo=!1;[].keys&&("next"in(ko=[].keys())?(Io=_o(_o(ko)))!==Object.prototype&&(Po=Io):Jo=!0);var Wo=!Yo(Po)||jo((function(){var e={};return Po[Ko].call(e)!==e}));Wo&&(Po={}),Go(Po[Ko])||zo(Po,Ko,(function(){return this}));var qo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Jo},Vo=It.f,Zo=Ye,$o=rt("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ja,ti=S,ri=Qo,ni=Mo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=H,si=Se,hi=K,ci=String,li=TypeError,ui=function(e,t,r){try{return ii(si(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},fi=Et,di=function(e){if("object"==typeof e||hi(e))return e;throw li("Can't set "+ci(e)+" as a prototype")},mi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return fi(r),di(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,pi=d,yi=K,bi=oi,vi=No,Si=mi,wi=Qo,Ai=Wt,Ti=$r,Ri=Mo,Hi=er.PROPER,Ci=er.CONFIGURABLE,Pi=qo.IteratorPrototype,Ii=qo.BUGGY_SAFARI_ITERATORS,ki=rt("iterator"),Mi="keys",Li="values",Oi="entries",Ei=function(){return this},Bi=function(e,t,r,n,a,o,i){bi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ii&&e in d)return d[e];switch(e){case Mi:case Li:case Oi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[ki]||d["@@iterator"]||a&&d[a],g=!Ii&&m||l(a),p="Array"===t&&d.entries||m;if(p&&(s=vi(p.call(new e)))!==Object.prototype&&s.next&&(vi(s)!==Pi&&(Si?Si(s,Pi):yi(s[ki])||Ti(s,ki,Ei)),wi(s,u,!0)),Hi&&a===Li&&m&&m.name!==Li&&(Ci?Ai(d,"name",Li):(f=!0,g=function(){return pi(m,this)})),a)if(h={values:l(Li),keys:o?g:l(Mi),entries:l(Oi)},i)for(c in h)(Ii||f||!(c in d))&&Ti(d,c,h[c]);else gi({target:t,proto:!0,forced:Ii||f},h);return d[ki]!==g&&Ti(d,ki,g,{name:a}),Ri[t]=g,h},Di=function(e,t){return{value:e,done:t}},Ui=G,Fi=function(e){Co[Ho][e]=!0},xi=Mo,Ni=Ir,ji=It.f,Gi=Bi,Yi=Di,_i=c,zi="Array Iterator",Ki=Ni.set,Ji=Ni.getterFor(zi),Wi=Gi(Array,"Array",(function(e,t){Ki(this,{type:zi,target:Ui(e),index:0,kind:t})}),(function(){var e=Ji(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,Yi(void 0,!0);switch(r){case"keys":return Yi(n,!1);case"values":return Yi(t[n],!1)}return Yi([n,t[n]],!1)}),"values"),qi=xi.Arguments=xi.Array;if(Fi("keys"),Fi("values"),Fi("entries"),_i&&"values"!==qi.name)try{ji(qi,"name",{value:"values"})}catch(e){}var Vi=i,Zi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$i=wo,Qi=Wi,Xi=Wt,es=rt,ts=es("iterator"),rs=es("toStringTag"),ns=Qi.values,as=function(e,t){if(e){if(e[ts]!==ns)try{Xi(e,ts,ns)}catch(t){e[ts]=ns}if(e[rs]||Xi(e,rs,t),Zi[t])for(var r in Qi)if(e[r]!==Qi[r])try{Xi(e,r,Qi[r])}catch(t){e[r]=Qi[r]}}};for(var os in Zi)as(Vi[os]&&Vi[os].prototype,os);as($i,"DOMTokenList");var is=H,ss=rn,hs=ua,cs=x,ls=is("".charAt),us=is("".charCodeAt),fs=is("".slice),ds=function(e){return function(t,r){var n,a,o=hs(cs(t)),i=ss(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=us(o,i))<55296||n>56319||i+1===s||(a=us(o,i+1))<56320||a>57343?e?ls(o,i):n:e?fs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ms={codeAt:ds(!1),charAt:ds(!0)},gs=ms.charAt,ps=ua,ys=Ir,bs=Bi,vs=Di,Ss="String Iterator",ws=ys.set,As=ys.getterFor(Ss);bs(String,"String",(function(e){ws(this,{type:Ss,string:ps(e),index:0})}),(function(){var e,t=As(this),r=t.string,n=t.index;return n>=r.length?vs(void 0,!0):(e=gs(r,n),t.index+=e.length,vs(e,!1))}));var Ts=h,Rs=c,Hs=rt("iterator"),Cs=!Ts((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Rs||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Hs]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Ps=k,Is=H,ks=function(e){if("Function"===Ps(e))return Is(e)},Ms=Se,Ls=l,Os=ks(ks.bind),Es=function(e,t){return Ms(e),void 0===t?e:Ls?Os(e,t):function(){return e.apply(t,arguments)}},Bs=Jr,Ds=It,Us=function(e,t,r){return r.get&&Bs(r.get,t,{getter:!0}),r.set&&Bs(r.set,t,{setter:!0}),Ds.f(e,t,r)},Fs=Q,xs=TypeError,Ns=function(e,t){if(Fs(t,e))return e;throw xs("Incorrect invocation")},js=c,Gs=H,Ys=d,_s=h,zs=Aa,Ks=Pn,Js=m,Ws=Ne,qs=B,Vs=Object.assign,Zs=Object.defineProperty,$s=Gs([].concat),Qs=!Vs||_s((function(){if(js&&1!==Vs({b:1},Vs(Zs({},"a",{enumerable:!0,get:function(){Zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==Vs({},e)[r]||zs(Vs({},t)).join("")!==n}))?function(e,t){for(var r=Ws(e),n=arguments.length,a=1,o=Ks.f,i=Js.f;n>a;)for(var s,h=qs(arguments[a++]),c=o?$s(zs(h),o(h)):zs(h),l=c.length,u=0;l>u;)s=c[u++],js&&!Ys(i,h,s)||(r[s]=h[s]);return r}:Vs,Xs=d,eh=Et,th=Te,rh=Et,nh=function(e,t,r){var n,a;eh(e);try{if(!(n=th(e,"return"))){if("throw"===t)throw r;return r}n=Xs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return eh(n),r},ah=Mo,oh=rt("iterator"),ih=Array.prototype,sh=H,hh=h,ch=K,lh=ha,uh=sr,fh=function(){},dh=[],mh=$("Reflect","construct"),gh=/^\s*(?:class|function)\b/,ph=sh(gh.exec),yh=!gh.exec(fh),bh=function(e){if(!ch(e))return!1;try{return mh(fh,dh,e),!0}catch(e){return!1}},vh=function(e){if(!ch(e))return!1;switch(lh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yh||!!ph(gh,uh(e))}catch(e){return!0}};vh.sham=!0;var Sh=!mh||hh((function(){var e;return bh(bh.call)||!bh(Object)||!bh((function(){e=!0}))||e}))?vh:bh,wh=ft,Ah=It,Th=S,Rh=function(e,t,r){var n=wh(t);n in e?Ah.f(e,n,Th(0,r)):e[n]=r},Hh=ha,Ch=Te,Ph=D,Ih=Mo,kh=rt("iterator"),Mh=function(e){if(!Ph(e))return Ch(e,kh)||Ch(e,"@@iterator")||Ih[Hh(e)]},Lh=d,Oh=Se,Eh=Et,Bh=pe,Dh=Mh,Uh=TypeError,Fh=function(e,t){var r=arguments.length<2?Dh(e):t;if(Oh(r))return Eh(Lh(r,e));throw Uh(Bh(e)+" is not iterable")},xh=Es,Nh=d,jh=Ne,Gh=function(e,t,r,n){try{return n?t(rh(r)[0],r[1]):t(r)}catch(t){nh(e,"throw",t)}},Yh=function(e){return void 0!==e&&(ah.Array===e||ih[oh]===e)},_h=Sh,zh=fn,Kh=Rh,Jh=Fh,Wh=Mh,qh=Array,Vh=sn,Zh=fn,$h=Rh,Qh=Array,Xh=Math.max,ec=function(e,t,r){for(var n=Zh(e),a=Vh(t,n),o=Vh(void 0===r?n:r,n),i=Qh(Xh(o-a,0)),s=0;a<o;a++,s++)$h(i,s,e[a]);return i.length=s,i},tc=H,rc=2147483647,nc=/[^\0-\u007E]/,ac=/[.\u3002\uFF0E\uFF61]/g,oc="Overflow: input needs wider integers to process",ic=RangeError,sc=tc(ac.exec),hc=Math.floor,cc=String.fromCharCode,lc=tc("".charCodeAt),uc=tc([].join),fc=tc([].push),dc=tc("".replace),mc=tc("".split),gc=tc("".toLowerCase),pc=function(e){return e+22+75*(e<26)},yc=function(e,t,r){var n=0;for(e=r?hc(e/700):e>>1,e+=hc(e/t);e>455;)e=hc(e/35),n+=36;return hc(n+36*e/(e+38))},bc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=lc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=lc(e,r++);56320==(64512&o)?fc(t,((1023&a)<<10)+(1023&o)+65536):(fc(t,a),r--)}else fc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&fc(t,cc(n));var h=t.length,c=h;for(h&&fc(t,"-");c<a;){var l=rc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>hc((rc-i)/u))throw ic(oc);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>rc)throw ic(oc);if(n===o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;fc(t,cc(pc(m+g%p))),f=hc(g/p),d+=36}fc(t,cc(pc(f))),s=yc(i,u,c===h),i=0,c++}}i++,o++}return uc(t,"")},vc=TypeError,Sc=function(e,t){if(e<t)throw vc("Not enough arguments");return e},wc=$r,Ac=ec,Tc=Math.floor,Rc=function(e,t){var r=e.length,n=Tc(r/2);return r<8?Hc(e,t):Cc(e,Rc(Ac(e,0,n),t),Rc(Ac(e,n),t),t)},Hc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Cc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Pc=ea,Ic=i,kc=d,Mc=H,Lc=c,Oc=Cs,Ec=$r,Bc=Us,Dc=function(e,t,r){for(var n in t)wc(e,n,t[n],r);return e},Uc=Qo,Fc=oi,xc=Ir,Nc=Ns,jc=K,Gc=Ye,Yc=Es,_c=ha,zc=Et,Kc=q,Jc=ua,Wc=Ja,qc=S,Vc=Fh,Zc=Mh,$c=Sc,Qc=Rc,Xc=rt("iterator"),el="URLSearchParams",tl=el+"Iterator",rl=xc.set,nl=xc.getterFor(el),al=xc.getterFor(tl),ol=Object.getOwnPropertyDescriptor,il=function(e){if(!Lc)return Ic[e];var t=ol(Ic,e);return t&&t.value},sl=il("fetch"),hl=il("Request"),cl=il("Headers"),ll=hl&&hl.prototype,ul=cl&&cl.prototype,fl=Ic.RegExp,dl=Ic.TypeError,ml=Ic.decodeURIComponent,gl=Ic.encodeURIComponent,pl=Mc("".charAt),yl=Mc([].join),bl=Mc([].push),vl=Mc("".replace),Sl=Mc([].shift),wl=Mc([].splice),Al=Mc("".split),Tl=Mc("".slice),Rl=/\+/g,Hl=Array(4),Cl=function(e){return Hl[e-1]||(Hl[e-1]=fl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Pl=function(e){try{return ml(e)}catch(t){return e}},Il=function(e){var t=vl(e,Rl," "),r=4;try{return ml(t)}catch(e){for(;r;)t=vl(t,Cl(r--),Pl);return t}},kl=/[!'()~]|%20/g,Ml={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ll=function(e){return Ml[e]},Ol=function(e){return vl(gl(e),kl,Ll)},El=Fc((function(e,t){rl(this,{type:tl,iterator:Vc(nl(e).entries),kind:t})}),"Iterator",(function(){var e=al(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Bl=function(e){this.entries=[],this.url=null,void 0!==e&&(Kc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===pl(e,0)?Tl(e,1):e:Jc(e)))};Bl.prototype={type:el,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Zc(e);if(h)for(r=(t=Vc(e,h)).next;!(n=kc(r,t)).done;){if(o=(a=Vc(zc(n.value))).next,(i=kc(o,a)).done||(s=kc(o,a)).done||!kc(o,a).done)throw dl("Expected sequence with length 2");bl(this.entries,{key:Jc(i.value),value:Jc(s.value)})}else for(var c in e)Gc(e,c)&&bl(this.entries,{key:c,value:Jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=Al(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=Al(t,"="),bl(this.entries,{key:Il(Sl(r)),value:Il(yl(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],bl(r,Ol(e.key)+"="+Ol(e.value));return yl(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Dl=function(){Nc(this,Ul);var e=rl(this,new Bl(arguments.length>0?arguments[0]:void 0));Lc||(this.size=e.entries.length)},Ul=Dl.prototype;if(Dc(Ul,{append:function(e,t){var r=nl(this);$c(arguments.length,2),bl(r.entries,{key:Jc(e),value:Jc(t)}),Lc||this.length++,r.updateURL()},delete:function(e){for(var t=nl(this),r=$c(arguments.length,1),n=t.entries,a=Jc(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Jc(o),s=0;s<n.length;){var h=n[s];if(h.key!==a||void 0!==i&&h.value!==i)s++;else if(wl(n,s,1),void 0!==i)break}Lc||(this.size=n.length),t.updateURL()},get:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&bl(n,t[a].value);return n},has:function(e){for(var t=nl(this).entries,r=$c(arguments.length,1),n=Jc(e),a=r<2?void 0:arguments[1],o=void 0===a?a:Jc(a),i=0;i<t.length;){var s=t[i++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r=nl(this);$c(arguments.length,1);for(var n,a=r.entries,o=!1,i=Jc(e),s=Jc(t),h=0;h<a.length;h++)(n=a[h]).key===i&&(o?wl(a,h--,1):(o=!0,n.value=s));o||bl(a,{key:i,value:s}),Lc||(this.size=a.length),r.updateURL()},sort:function(){var e=nl(this);Qc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=nl(this).entries,n=Yc(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new El(this,"keys")},values:function(){return new El(this,"values")},entries:function(){return new El(this,"entries")}},{enumerable:!0}),Ec(Ul,Xc,Ul.entries,{name:"entries"}),Ec(Ul,"toString",(function(){return nl(this).serialize()}),{enumerable:!0}),Lc&&Bc(Ul,"size",{get:function(){return nl(this).entries.length},configurable:!0,enumerable:!0}),Uc(Dl,el),Pc({global:!0,constructor:!0,forced:!Oc},{URLSearchParams:Dl}),!Oc&&jc(cl)){var Fl=Mc(ul.has),xl=Mc(ul.set),Nl=function(e){if(Kc(e)){var t,r=e.body;if(_c(r)===el)return t=e.headers?new cl(e.headers):new cl,Fl(t,"content-type")||xl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Wc(e,{body:qc(0,Jc(r)),headers:qc(0,t)})}return e};if(jc(sl)&&Pc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return sl(e,arguments.length>1?Nl(arguments[1]):{})}}),jc(hl)){var jl=function(e){return Nc(this,ll),new hl(e,arguments.length>1?Nl(arguments[1]):{})};ll.constructor=jl,jl.prototype=ll,Pc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:jl})}}var Gl,Yl=ea,_l=c,zl=Cs,Kl=i,Jl=Es,Wl=H,ql=$r,Vl=Us,Zl=Ns,$l=Ye,Ql=Qs,Xl=function(e){var t=jh(e),r=_h(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=xh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Wh(t),d=0;if(!f||this===qh&&Yh(f))for(i=zh(t),s=r?new this(i):qh(i);i>d;d++)u=o?a(t[d],d):t[d],Kh(s,d,u);else for(l=(c=Jh(t,f)).next,s=r?new this:[];!(h=Nh(l,c)).done;d++)u=o?Gh(c,a,[h.value,d],!0):h.value,Kh(s,d,u);return s.length=d,s},eu=ec,tu=ms.codeAt,ru=function(e){var t,r,n=[],a=mc(dc(gc(e),ac,"."),".");for(t=0;t<a.length;t++)r=a[t],fc(n,sc(nc,r)?"xn--"+bc(r):r);return uc(n,".")},nu=ua,au=Qo,ou=Sc,iu={URLSearchParams:Dl,getState:nl},su=Ir,hu=su.set,cu=su.getterFor("URL"),lu=iu.URLSearchParams,uu=iu.getState,fu=Kl.URL,du=Kl.TypeError,mu=Kl.parseInt,gu=Math.floor,pu=Math.pow,yu=Wl("".charAt),bu=Wl(/./.exec),vu=Wl([].join),Su=Wl(1..toString),wu=Wl([].pop),Au=Wl([].push),Tu=Wl("".replace),Ru=Wl([].shift),Hu=Wl("".split),Cu=Wl("".slice),Pu=Wl("".toLowerCase),Iu=Wl([].unshift),ku="Invalid scheme",Mu="Invalid host",Lu="Invalid port",Ou=/[a-z]/i,Eu=/[\d+-.a-z]/i,Bu=/\d/,Du=/^0x/i,Uu=/^[0-7]+$/,Fu=/^\d+$/,xu=/^[\da-f]+$/i,Nu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ju=/[\0\t\n\r #/:<>?@[\\\]^|]/,Gu=/^[\u0000-\u0020]+/,Yu=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,_u=/[\t\n\r]/g,zu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Iu(t,e%256),e=gu(e/256);return vu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=Su(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ku={},Ju=Ql({},Ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Wu=Ql({},Ju,{"#":1,"?":1,"{":1,"}":1}),qu=Ql({},Wu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Vu=function(e,t){var r=tu(e,0);return r>32&&r<127&&!$l(t,e)?e:encodeURIComponent(e)},Zu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$u=function(e,t){var r;return 2===e.length&&bu(Ou,yu(e,0))&&(":"===(r=yu(e,1))||!t&&"|"===r)},Qu=function(e){var t;return e.length>1&&$u(Cu(e,0,2))&&(2===e.length||"/"===(t=yu(e,2))||"\\"===t||"?"===t||"#"===t)},Xu=function(e){return"."===e||"%2e"===Pu(e)},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf={},gf={},pf={},yf={},bf={},vf={},Sf={},wf={},Af=function(e,t,r){var n,a,o,i=nu(e);if(t){if(a=this.parse(i))throw du(a);this.searchParams=null}else{if(void 0!==r&&(n=new Af(r,!0)),a=this.parse(i,null,n))throw du(a);(o=uu(new lu)).bindURL(this),this.searchParams=o}};Af.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||ef,l=0,u="",f=!1,d=!1,m=!1;for(e=nu(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=Tu(e,Gu,""),e=Tu(e,Yu,"$1")),e=Tu(e,_u,""),n=Xl(e);l<=n.length;){switch(a=n[l],c){case ef:if(!a||!bu(Ou,a)){if(t)return ku;c=rf;continue}u+=Pu(a),c=tf;break;case tf:if(a&&(bu(Eu,a)||"+"===a||"-"===a||"."===a))u+=Pu(a);else{if(":"!==a){if(t)return ku;u="",c=rf,l=0;continue}if(t&&(h.isSpecial()!==$l(Zu,u)||"file"===u&&(h.includesCredentials()||null!==h.port)||"file"===h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Zu[h.scheme]===h.port&&(h.port=null));u="","file"===h.scheme?c=mf:h.isSpecial()&&r&&r.scheme===h.scheme?c=nf:h.isSpecial()?c=hf:"/"===n[l+1]?(c=af,l++):(h.cannotBeABaseURL=!0,Au(h.path,""),c=vf)}break;case rf:if(!r||r.cannotBeABaseURL&&"#"!==a)return ku;if(r.cannotBeABaseURL&&"#"===a){h.scheme=r.scheme,h.path=eu(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=wf;break}c="file"===r.scheme?mf:of;continue;case nf:if("/"!==a||"/"!==n[l+1]){c=of;continue}c=cf,l++;break;case af:if("/"===a){c=lf;break}c=bf;continue;case of:if(h.scheme=r.scheme,a===Gl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query;else if("/"===a||"\\"===a&&h.isSpecial())c=sf;else if("?"===a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query="",c=Sf;else{if("#"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.path.length--,c=bf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf}break;case sf:if(!h.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=bf;continue}c=lf}else c=cf;break;case hf:if(c=cf,"/"!==a||"/"!==yu(u,l+1))continue;l++;break;case cf:if("/"!==a&&"\\"!==a){c=lf;continue}break;case lf:if("@"===a){f&&(u="%40"+u),f=!0,o=Xl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!==p||m){var y=Vu(p,qu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(f&&""===u)return"Invalid authority";l-=Xl(u).length+1,u="",c=uf}else u+=a;break;case uf:case ff:if(t&&"file"===h.scheme){c=pf;continue}if(":"!==a||d){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(h.isSpecial()&&""===u)return Mu;if(t&&""===u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=yf,t)return;continue}"["===a?d=!0:"]"===a&&(d=!1),u+=a}else{if(""===u)return Mu;if(i=h.parseHost(u))return i;if(u="",c=df,t===ff)return}break;case df:if(!bu(Bu,a)){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()||t){if(""!==u){var b=mu(u,10);if(b>65535)return Lu;h.port=h.isSpecial()&&b===Zu[h.scheme]?null:b,u=""}if(t)return;c=yf;continue}return Lu}u+=a;break;case mf:if(h.scheme="file","/"===a||"\\"===a)c=gf;else{if(!r||"file"!==r.scheme){c=bf;continue}switch(a){case Gl:h.host=r.host,h.path=eu(r.path),h.query=r.query;break;case"?":h.host=r.host,h.path=eu(r.path),h.query="",c=Sf;break;case"#":h.host=r.host,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf;break;default:Qu(vu(eu(n,l),""))||(h.host=r.host,h.path=eu(r.path),h.shortenPath()),c=bf;continue}}break;case gf:if("/"===a||"\\"===a){c=pf;break}r&&"file"===r.scheme&&!Qu(vu(eu(n,l),""))&&($u(r.path[0],!0)?Au(h.path,r.path[0]):h.host=r.host),c=bf;continue;case pf:if(a===Gl||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&$u(u))c=bf;else if(""===u){if(h.host="",t)return;c=yf}else{if(i=h.parseHost(u))return i;if("localhost"===h.host&&(h.host=""),t)return;u="",c=yf}continue}u+=a;break;case yf:if(h.isSpecial()){if(c=bf,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==Gl&&(c=bf,"/"!==a))continue}else h.fragment="",c=wf;else h.query="",c=Sf;break;case bf:if(a===Gl||"/"===a||"\\"===a&&h.isSpecial()||!t&&("?"===a||"#"===a)){if(".."===(s=Pu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,"")):Xu(u)?"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,""):("file"===h.scheme&&!h.path.length&&$u(u)&&(h.host&&(h.host=""),u=yu(u,0)+":"),Au(h.path,u)),u="","file"===h.scheme&&(a===Gl||"?"===a||"#"===a))for(;h.path.length>1&&""===h.path[0];)Ru(h.path);"?"===a?(h.query="",c=Sf):"#"===a&&(h.fragment="",c=wf)}else u+=Vu(a,Wu);break;case vf:"?"===a?(h.query="",c=Sf):"#"===a?(h.fragment="",c=wf):a!==Gl&&(h.path[0]+=Vu(a,Ku));break;case Sf:t||"#"!==a?a!==Gl&&("'"===a&&h.isSpecial()?h.query+="%27":h.query+="#"===a?"%23":Vu(a,Ku)):(h.fragment="",c=wf);break;case wf:a!==Gl&&(h.fragment+=Vu(a,Ju))}l++}},parseHost:function(e){var t,r,n;if("["===yu(e,0)){if("]"!==yu(e,e.length-1))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return yu(e,u)};if(":"===f()){if(":"!==yu(e,1))return;u+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&bu(xu,f());)t=16*t+mu(f(),16),u++,r++;if("."===f()){if(0===r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."===f()&&n<4))return;u++}if(!bu(Bu,f()))return;for(;bu(Bu,f());){if(o=mu(f(),10),null===a)a=o;else{if(0===a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!==c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!==c)return;return h}(Cu(e,1,-1)),!t)return Mu;this.host=t}else if(this.isSpecial()){if(e=ru(e),bu(Nu,e))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=Hu(e,".");if(h.length&&""===h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(a=h[n]))return e;if(o=10,a.length>1&&"0"===yu(a,0)&&(o=bu(Du,a)?16:8,a=Cu(a,8===o?1:2)),""===a)i=0;else{if(!bu(10===o?Fu:8===o?Uu:xu,a))return e;i=mu(a,o)}Au(r,i)}for(n=0;n<t;n++)if(i=r[n],n===t-1){if(i>=pu(256,5-t))return null}else if(i>255)return null;for(s=wu(r),n=0;n<r.length;n++)s+=r[n]*pu(256,3-n);return s}(e),null===t)return Mu;this.host=t}else{if(bu(ju,e))return Mu;for(t="",r=Xl(e),n=0;n<r.length;n++)t+=Vu(r[n],Ku);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return $l(Zu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&$u(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=zu(a),null!==o&&(c+=":"+o)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+vu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw du(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Tf(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+zu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(nu(e)+":",ef)},getUsername:function(){return this.username},setUsername:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Vu(t[r],qu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Vu(t[r],qu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?zu(e):zu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,uf)},getHostname:function(){var e=this.host;return null===e?"":zu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ff)},getPort:function(){var e=this.port;return null===e?"":nu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=nu(e))?this.port=null:this.parse(e,df))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+vu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,yf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=nu(e))?this.query=null:("?"===yu(e,0)&&(e=Cu(e,1)),this.query="",this.parse(e,Sf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=nu(e))?("#"===yu(e,0)&&(e=Cu(e,1)),this.fragment="",this.parse(e,wf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Tf=function(e){var t=Zl(this,Rf),r=ou(arguments.length,1)>1?arguments[1]:void 0,n=hu(t,new Af(e,!1,r));_l||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Rf=Tf.prototype,Hf=function(e,t){return{get:function(){return cu(this)[e]()},set:t&&function(e){return cu(this)[t](e)},configurable:!0,enumerable:!0}};if(_l&&(Vl(Rf,"href",Hf("serialize","setHref")),Vl(Rf,"origin",Hf("getOrigin")),Vl(Rf,"protocol",Hf("getProtocol","setProtocol")),Vl(Rf,"username",Hf("getUsername","setUsername")),Vl(Rf,"password",Hf("getPassword","setPassword")),Vl(Rf,"host",Hf("getHost","setHost")),Vl(Rf,"hostname",Hf("getHostname","setHostname")),Vl(Rf,"port",Hf("getPort","setPort")),Vl(Rf,"pathname",Hf("getPathname","setPathname")),Vl(Rf,"search",Hf("getSearch","setSearch")),Vl(Rf,"searchParams",Hf("getSearchParams")),Vl(Rf,"hash",Hf("getHash","setHash"))),ql(Rf,"toJSON",(function(){return cu(this).serialize()}),{enumerable:!0}),ql(Rf,"toString",(function(){return cu(this).serialize()}),{enumerable:!0}),fu){var Cf=fu.createObjectURL,Pf=fu.revokeObjectURL;Cf&&ql(Tf,"createObjectURL",Jl(Cf,fu)),Pf&&ql(Tf,"revokeObjectURL",Jl(Pf,fu))}au(Tf,"URL"),Yl({global:!0,constructor:!0,forced:!zl,sham:!_l},{URL:Tf});var If,kf=q,Mf=k,Lf=rt("match"),Of=function(e){var t;return kf(e)&&(void 0!==(t=e[Lf])?!!t:"RegExp"===Mf(e))},Ef=TypeError,Bf=rt("match"),Df=ea,Uf=ks,Ff=s.f,xf=ln,Nf=ua,jf=function(e){if(Of(e))throw Ef("The method doesn't accept regular expressions");return e},Gf=x,Yf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Bf]=!1,"/./"[e](t)}catch(e){}}return!1},_f=Uf("".startsWith),zf=Uf("".slice),Kf=Math.min,Jf=Yf("startsWith");Df({target:"String",proto:!0,forced:!!(Jf||(If=Ff(String.prototype,"startsWith"),!If||If.writable))&&!Jf},{startsWith:function(e){var t=Nf(Gf(this));jf(e);var r=xf(Kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Nf(e);return _f?_f(t,n,r):zf(t,r,r+n.length)===n}});var Wf=d,qf=Ye,Vf=Q,Zf=da,$f=RegExp.prototype,Qf=er.PROPER,Xf=$r,ed=Et,td=ua,rd=h,nd=function(e){var t=e.flags;return void 0!==t||"flags"in $f||qf(e,"flags")||!Vf($f,e)?t:Wf(Zf,e)},ad="toString",od=RegExp.prototype[ad],id=rd((function(){return"/a/b"!==od.call({source:"a",flags:"b"})})),sd=Qf&&od.name!==ad;(id||sd)&&Xf(RegExp.prototype,ad,(function(){var e=ed(this);return"/"+td(e.source)+"/"+td(nd(e))}),{unsafe:!0});var hd={"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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"},cd={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"};function ld(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:cd[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function ud(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function fd(e){return e<10?"0"+e:""+e}function dd(e){return e<0?"-00"+dd(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function md(e){return dd(e.getFullYear())+"-"+fd(e.getMonth()+1)+"-"+fd(e.getDate())}function gd(e){const t=e.getDesc();return"Purim"===t||"Erev Purim"===t?["holiday","major"]:e.getCategories()}function pd(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function yd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(hd[e.getDesc()]||hd[e.basename()]||"").normalize();if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const bd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function vd(e,n){const a=e.getFlags();if(a&bd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);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 Sd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=vd(e,r);if(t)return t}catch(e){}return e.memo||hd[e.basename()]}function wd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function Ad(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const Td='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Rd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function Hd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=Ad(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=Rd[gd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||yd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function Cd(e){return md(e.getDate().greg())}function Pd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):md(h),u=gd(e),f=e.getFlags();let d=Ad(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=function(e){const t={};e.summary&&(t.torah=e.summary);e.haftara&&(t.haftarah=e.haftara);e.sephardic&&(t.haftarah_sephardic=e.sephardic);e.fullkriyah&&Id(t,e.fullkriyah);e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara));return t}(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=Id({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=wd(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),f&t.flags.MOLAD){const r=e.molad;p.molad={hy:r.year,hm:t.HDate.getMonthName(r.month,r.year),dow:r.dow,hour:r.hour,minutes:r.minutes,chalakim:r.chalakim},delete p.hebrew}if(a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||hd[e.basename()];return"string"==typeof b&&0!==b.length?p.memo=b.normalize():void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function Id(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}const kd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Md(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=ud(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=wd(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=wd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=gd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=Sd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=wd,e.countryNames=cd,e.eventToClassicApiObject=Pd,e.eventToCsv=Hd,e.eventToFullCalendar=function(e,r,n){const a=gd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Ad(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):md(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=wd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=Sd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Md,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:pd(e,t),date:(new Date).toISOString()};return n.location=ld(t.location),e.length&&(n.range={start:Cd(e[0]),end:Cd(e[e.length-1])}),n.items=e.map((e=>Pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[Td].concat(e.map((e=>Hd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||pd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=wd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||kd[t.locale]||t.locale||"en-US";let m='<?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(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{m+=Md(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=pd,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+ud(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=gd,e.getHolidayDescription=yd,e.holidayDescription=hd,e.locationToPlainObj=ld,e.makeAnchor=ud,e.makeMemo=Sd,e.makeTorahMemoText=vd,e.pad2=fd,e.pad4=dd,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Ad,e.toISOString=md,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math===Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||a||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,R=A.call,T=w&&A.bind.bind(R,R),H=w?T:function(e){return function(){return R.apply(e,arguments)}},C=H,P=C({}.toString),I=C("".slice),k=function(e){return I(P(e),8,-1)},M=h,L=k,O=Object,E=H("".split),B=M((function(){return!O("z").propertyIsEnumerable(0)}))?function(e){return"String"===L(e)?E(e,""):O(e)}:O,D=function(e){return null==e},U=D,F=TypeError,x=function(e){if(U(e))throw F("Can't call method on "+e);return e},N=B,j=x,G=function(e){return N(j(e))},Y="object"==typeof document&&document.all,_={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},z=_.all,K=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=_.all,q=_.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e,t){return arguments.length<2?(r=V[e],Z(r)?r:void 0):V[e]&&V[e][t];var r},Q=H({}.isPrototypeOf),X=i,ee="undefined"!=typeof navigator&&String(navigator.userAgent)||"",te=X.process,re=X.Deno,ne=te&&te.versions||re&&re.version,ae=ne&&ne.v8;ae&&(v=(b=ae.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&ee&&(!(b=ee.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=ee.match(/Chrome\/(\d+)/))&&(v=+b[1]);var oe=v,ie=h,se=i.String,he=!!Object.getOwnPropertySymbols&&!ie((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=$,ue=K,fe=Q,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,Re=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Te=d,He=K,Ce=q,Pe=TypeError,Ie={exports:{}},ke=i,Me=Object.defineProperty,Le=function(e,t){try{Me(ke,e,{value:t,configurable:!0,writable:!0})}catch(r){ke[e]=t}return t},Oe=Le,Ee="__core-js_shared__",Be=i[Ee]||Oe(Ee,{}),De=Be;(Ie.exports=function(e,t){return De[e]||(De[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=Ie.exports,Fe=x,xe=Object,Ne=function(e){return xe(Fe(e))},je=Ne,Ge=H({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Ge(je(e),t)},_e=H,ze=0,Ke=Math.random(),Je=_e(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Ue,Ve=Ye,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=Re,st=function(e,t){var r,n;if("string"===t&&He(r=e.toString)&&!Ce(n=Te(r,e)))return n;if(He(r=e.valueOf)&&!Ce(n=Te(r,e)))return n;if("string"!==t&&He(r=e.toString)&&!Ce(n=Te(r,e)))return n;throw Pe("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!==Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Rt=G,Tt=ft,Ht=Ye,Ct=bt,Pt=Object.getOwnPropertyDescriptor;s.f=vt?Pt:function(e,t){if(e=Rt(e),t=Tt(t),Ct)try{return Pt(e,t)}catch(e){}if(Ht(e,t))return At(!St(wt.f,e,t),e[t])};var It={},kt=c&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=q,Lt=String,Ot=TypeError,Et=function(e){if(Mt(e))return e;throw Ot(Lt(e)+" is not an object")},Bt=c,Dt=bt,Ut=kt,Ft=Et,xt=ft,Nt=TypeError,jt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",_t="configurable",zt="writable";It.f=Bt?Ut?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r[zt]){var n=Gt(e,t);n&&n[zt]&&(e[t]=r.value,r={configurable:_t in r?r[_t]:n[_t],enumerable:Yt in r?r[Yt]:n[Yt],writable:!1})}return jt(e,t,r)}:jt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Dt)try{return jt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Nt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=It,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=c,Zt=Ye,$t=Function.prototype,Qt=Vt&&Object.getOwnPropertyDescriptor,Xt=Zt($t,"name"),er={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!Vt||Vt&&Qt($t,"name").configurable)},tr=K,rr=Be,nr=H(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,hr=K,cr=i.WeakMap,lr=hr(cr)&&/native code/.test(String(cr)),ur=We,fr=Ue("keys"),dr=function(e){return fr[e]||(fr[e]=ur(e))},mr={},gr=lr,pr=i,yr=q,br=Wt,vr=Ye,Sr=Be,wr=dr,Ar=mr,Rr="Object already initialized",Tr=pr.TypeError,Hr=pr.WeakMap;if(gr||Sr.state){var Cr=Sr.state||(Sr.state=new Hr);Cr.get=Cr.get,Cr.has=Cr.has,Cr.set=Cr.set,ar=function(e,t){if(Cr.has(e))throw Tr(Rr);return t.facade=e,Cr.set(e,t),t},or=function(e){return Cr.get(e)||{}},ir=function(e){return Cr.has(e)}}else{var Pr=wr("state");Ar[Pr]=!0,ar=function(e,t){if(vr(e,Pr))throw Tr(Rr);return t.facade=e,br(e,Pr,t),t},or=function(e){return vr(e,Pr)?e[Pr]:{}},ir=function(e){return vr(e,Pr)}}var Ir={set:ar,get:or,has:ir,enforce:function(e){return ir(e)?or(e):ar(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=or(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},kr=H,Mr=h,Lr=K,Or=Ye,Er=c,Br=er.CONFIGURABLE,Dr=sr,Ur=Ir.enforce,Fr=Ir.get,xr=String,Nr=Object.defineProperty,jr=kr("".slice),Gr=kr("".replace),Yr=kr([].join),_r=Er&&!Mr((function(){return 8!==Nr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Kr=qt.exports=function(e,t,r){"Symbol("===jr(xr(t),0,7)&&(t="["+Gr(xr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Or(e,"name")||Br&&e.name!==t)&&(Er?Nr(e,"name",{value:t,configurable:!0}):e.name=t),_r&&r&&Or(r,"arity")&&e.length!==r.arity&&Nr(e,"length",{value:r.arity});try{r&&Or(r,"constructor")&&r.constructor?Er&&Nr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Or(n,"source")||(n.source=Yr(zr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Lr(this)&&Fr(this).source||Dr(this)}),"toString");var Jr=qt.exports,Wr=K,qr=It,Vr=Jr,Zr=Le,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=G,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ye,vn=G,Sn=yn.indexOf,wn=mr,An=H([].push),Rn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Tn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Rn,Cn=Tn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Cn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var In=$,kn=Qr,Mn=Pn,Ln=Et,On=H([].concat),En=In("Reflect","ownKeys")||function(e){var t=kn.f(Ln(e)),r=Mn.f;return r?On(t,r(e)):t},Bn=Ye,Dn=En,Un=s,Fn=It,xn=h,Nn=K,jn=/#|\.prototype\./,Gn=function(e,t){var r=_n[Yn(e)];return r===Kn||r!==zn&&(Nn(t)?xn(t):!!t)},Yn=Gn.normalize=function(e){return String(e).replace(jn,".").toLowerCase()},_n=Gn.data={},zn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Jn=Gn,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Le,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=k,oa=rt("toStringTag"),ia=Object,sa="Arguments"===aa(function(){return arguments}()),ha=ra?aa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ia(e),oa))?r:sa?aa(t):"Object"===(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=Et,da=function(){var e=fa(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Rn,wa=Tn,Aa=Object.keys||function(e){return Sa(e,wa)},Ra=c,Ta=kt,Ha=It,Ca=Et,Pa=G,Ia=Aa;va.f=Ra&&!Ta?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Pa(t),a=Ia(t),o=a.length,i=0;o>i;)Ha.f(e,r=a[i++],n[r]);return e};var ka,Ma=$("document","documentElement"),La=Et,Oa=va,Ea=Tn,Ba=mr,Da=Ma,Ua=pt,Fa="prototype",xa="script",Na=dr("IE_PROTO"),ja=function(){},Ga=function(e){return"<"+xa+">"+e+"</"+xa+">"},Ya=function(e){e.write(Ga("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{ka=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;_a="undefined"!=typeof document?document.domain&&ka?Ya(ka):(t=Ua("iframe"),r="java"+xa+":",t.style.display="none",Da.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ga("document.F=Object")),e.close(),e.F):Ya(ka);for(var n=Ea.length;n--;)delete _a[Fa][Ea[n]];return _a()};Ba[Na]=!0;var za,Ka,Ja=Object.create||function(e,t){var r;return null!==e?(ja[Fa]=La(e),r=new ja,ja[Fa]=null,r[Na]=e):r=_a(),void 0===t?r:Oa.f(r,t)},Wa=h,qa=i.RegExp,Va=Wa((function(){var e=qa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Za=h,$a=i.RegExp,Qa=Za((function(){var e=$a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xa=d,eo=H,to=ua,ro=da,no=ba,ao=Ja,oo=Ir.get,io=Va,so=Qa,ho=Ue("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=eo("".charAt),fo=eo("".indexOf),mo=eo("".replace),go=eo("".slice),po=(Ka=/b*/g,Xa(co,za=/a/,"a"),Xa(co,Ka,"a"),0!==za.lastIndex||0!==Ka.lastIndex),yo=no.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=to(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Xa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,m=Xa(ro,h),g=h.source,p=0,y=l;if(d&&(m=mo(m,"y",""),-1===fo(m,"g")&&(m+="g"),y=go(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),bo&&(r=new RegExp("^"+g+"$(?!\\s)",m)),po&&(n=h.lastIndex),a=Xa(co,d?r:h,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Xa(ho,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=pt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=rt,Ro=Ja,To=It.f,Ho=Ao("unscopables"),Co=Array.prototype;void 0===Co[Ho]&&To(Co,Ho,{configurable:!0,value:Ro(null)});var Po,Io,ko,Mo={},Lo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=Ye,Eo=K,Bo=Ne,Do=Lo,Uo=dr("IE_PROTO"),Fo=Object,xo=Fo.prototype,No=Do?Fo.getPrototypeOf:function(e){var t=Bo(e);if(Oo(t,Uo))return t[Uo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Fo?xo:null},jo=h,Go=K,Yo=q,_o=No,zo=$r,Ko=rt("iterator"),Jo=!1;[].keys&&("next"in(ko=[].keys())?(Io=_o(_o(ko)))!==Object.prototype&&(Po=Io):Jo=!0);var Wo=!Yo(Po)||jo((function(){var e={};return Po[Ko].call(e)!==e}));Wo&&(Po={}),Go(Po[Ko])||zo(Po,Ko,(function(){return this}));var qo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Jo},Vo=It.f,Zo=Ye,$o=rt("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ja,ti=S,ri=Qo,ni=Mo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=H,si=Se,hi=K,ci=String,li=TypeError,ui=function(e,t,r){try{return ii(si(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},fi=Et,di=function(e){if("object"==typeof e||hi(e))return e;throw li("Can't set "+ci(e)+" as a prototype")},mi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return fi(r),di(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,pi=d,yi=K,bi=oi,vi=No,Si=mi,wi=Qo,Ai=Wt,Ri=$r,Ti=Mo,Hi=er.PROPER,Ci=er.CONFIGURABLE,Pi=qo.IteratorPrototype,Ii=qo.BUGGY_SAFARI_ITERATORS,ki=rt("iterator"),Mi="keys",Li="values",Oi="entries",Ei=function(){return this},Bi=function(e,t,r,n,a,o,i){bi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ii&&e&&e in d)return d[e];switch(e){case Mi:case Li:case Oi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[ki]||d["@@iterator"]||a&&d[a],g=!Ii&&m||l(a),p="Array"===t&&d.entries||m;if(p&&(s=vi(p.call(new e)))!==Object.prototype&&s.next&&(vi(s)!==Pi&&(Si?Si(s,Pi):yi(s[ki])||Ri(s,ki,Ei)),wi(s,u,!0)),Hi&&a===Li&&m&&m.name!==Li&&(Ci?Ai(d,"name",Li):(f=!0,g=function(){return pi(m,this)})),a)if(h={values:l(Li),keys:o?g:l(Mi),entries:l(Oi)},i)for(c in h)(Ii||f||!(c in d))&&Ri(d,c,h[c]);else gi({target:t,proto:!0,forced:Ii||f},h);return d[ki]!==g&&Ri(d,ki,g,{name:a}),Ti[t]=g,h},Di=function(e,t){return{value:e,done:t}},Ui=G,Fi=function(e){Co[Ho][e]=!0},xi=Mo,Ni=Ir,ji=It.f,Gi=Bi,Yi=Di,_i=c,zi="Array Iterator",Ki=Ni.set,Ji=Ni.getterFor(zi),Wi=Gi(Array,"Array",(function(e,t){Ki(this,{type:zi,target:Ui(e),index:0,kind:t})}),(function(){var e=Ji(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,Yi(void 0,!0);switch(r){case"keys":return Yi(n,!1);case"values":return Yi(t[n],!1)}return Yi([n,t[n]],!1)}),"values"),qi=xi.Arguments=xi.Array;if(Fi("keys"),Fi("values"),Fi("entries"),_i&&"values"!==qi.name)try{ji(qi,"name",{value:"values"})}catch(e){}var Vi=i,Zi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},$i=wo,Qi=Wi,Xi=Wt,es=rt,ts=es("iterator"),rs=es("toStringTag"),ns=Qi.values,as=function(e,t){if(e){if(e[ts]!==ns)try{Xi(e,ts,ns)}catch(t){e[ts]=ns}if(e[rs]||Xi(e,rs,t),Zi[t])for(var r in Qi)if(e[r]!==Qi[r])try{Xi(e,r,Qi[r])}catch(t){e[r]=Qi[r]}}};for(var os in Zi)as(Vi[os]&&Vi[os].prototype,os);as($i,"DOMTokenList");var is=H,ss=rn,hs=ua,cs=x,ls=is("".charAt),us=is("".charCodeAt),fs=is("".slice),ds=function(e){return function(t,r){var n,a,o=hs(cs(t)),i=ss(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=us(o,i))<55296||n>56319||i+1===s||(a=us(o,i+1))<56320||a>57343?e?ls(o,i):n:e?fs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ms={codeAt:ds(!1),charAt:ds(!0)},gs=ms.charAt,ps=ua,ys=Ir,bs=Bi,vs=Di,Ss="String Iterator",ws=ys.set,As=ys.getterFor(Ss);bs(String,"String",(function(e){ws(this,{type:Ss,string:ps(e),index:0})}),(function(){var e,t=As(this),r=t.string,n=t.index;return n>=r.length?vs(void 0,!0):(e=gs(r,n),t.index+=e.length,vs(e,!1))}));var Rs=h,Ts=c,Hs=rt("iterator"),Cs=!Rs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Ts||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Hs]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})),Ps=k,Is=H,ks=function(e){if("Function"===Ps(e))return Is(e)},Ms=Se,Ls=l,Os=ks(ks.bind),Es=function(e,t){return Ms(e),void 0===t?e:Ls?Os(e,t):function(){return e.apply(t,arguments)}},Bs=Jr,Ds=It,Us=function(e,t,r){return r.get&&Bs(r.get,t,{getter:!0}),r.set&&Bs(r.set,t,{setter:!0}),Ds.f(e,t,r)},Fs=Q,xs=TypeError,Ns=function(e,t){if(Fs(t,e))return e;throw xs("Incorrect invocation")},js=c,Gs=H,Ys=d,_s=h,zs=Aa,Ks=Pn,Js=m,Ws=Ne,qs=B,Vs=Object.assign,Zs=Object.defineProperty,$s=Gs([].concat),Qs=!Vs||_s((function(){if(js&&1!==Vs({b:1},Vs(Zs({},"a",{enumerable:!0,get:function(){Zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==Vs({},e)[r]||zs(Vs({},t)).join("")!==n}))?function(e,t){for(var r=Ws(e),n=arguments.length,a=1,o=Ks.f,i=Js.f;n>a;)for(var s,h=qs(arguments[a++]),c=o?$s(zs(h),o(h)):zs(h),l=c.length,u=0;l>u;)s=c[u++],js&&!Ys(i,h,s)||(r[s]=h[s]);return r}:Vs,Xs=d,eh=Et,th=Re,rh=Et,nh=function(e,t,r){var n,a;eh(e);try{if(!(n=th(e,"return"))){if("throw"===t)throw r;return r}n=Xs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return eh(n),r},ah=Mo,oh=rt("iterator"),ih=Array.prototype,sh=H,hh=h,ch=K,lh=ha,uh=sr,fh=function(){},dh=[],mh=$("Reflect","construct"),gh=/^\s*(?:class|function)\b/,ph=sh(gh.exec),yh=!gh.exec(fh),bh=function(e){if(!ch(e))return!1;try{return mh(fh,dh,e),!0}catch(e){return!1}},vh=function(e){if(!ch(e))return!1;switch(lh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yh||!!ph(gh,uh(e))}catch(e){return!0}};vh.sham=!0;var Sh=!mh||hh((function(){var e;return bh(bh.call)||!bh(Object)||!bh((function(){e=!0}))||e}))?vh:bh,wh=ft,Ah=It,Rh=S,Th=function(e,t,r){var n=wh(t);n in e?Ah.f(e,n,Rh(0,r)):e[n]=r},Hh=ha,Ch=Re,Ph=D,Ih=Mo,kh=rt("iterator"),Mh=function(e){if(!Ph(e))return Ch(e,kh)||Ch(e,"@@iterator")||Ih[Hh(e)]},Lh=d,Oh=Se,Eh=Et,Bh=pe,Dh=Mh,Uh=TypeError,Fh=function(e,t){var r=arguments.length<2?Dh(e):t;if(Oh(r))return Eh(Lh(r,e));throw Uh(Bh(e)+" is not iterable")},xh=Es,Nh=d,jh=Ne,Gh=function(e,t,r,n){try{return n?t(rh(r)[0],r[1]):t(r)}catch(t){nh(e,"throw",t)}},Yh=function(e){return void 0!==e&&(ah.Array===e||ih[oh]===e)},_h=Sh,zh=fn,Kh=Th,Jh=Fh,Wh=Mh,qh=Array,Vh=sn,Zh=fn,$h=Th,Qh=Array,Xh=Math.max,ec=function(e,t,r){for(var n=Zh(e),a=Vh(t,n),o=Vh(void 0===r?n:r,n),i=Qh(Xh(o-a,0)),s=0;a<o;a++,s++)$h(i,s,e[a]);return i.length=s,i},tc=H,rc=2147483647,nc=/[^\0-\u007E]/,ac=/[.\u3002\uFF0E\uFF61]/g,oc="Overflow: input needs wider integers to process",ic=RangeError,sc=tc(ac.exec),hc=Math.floor,cc=String.fromCharCode,lc=tc("".charCodeAt),uc=tc([].join),fc=tc([].push),dc=tc("".replace),mc=tc("".split),gc=tc("".toLowerCase),pc=function(e){return e+22+75*(e<26)},yc=function(e,t,r){var n=0;for(e=r?hc(e/700):e>>1,e+=hc(e/t);e>455;)e=hc(e/35),n+=36;return hc(n+36*e/(e+38))},bc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=lc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=lc(e,r++);56320==(64512&o)?fc(t,((1023&a)<<10)+(1023&o)+65536):(fc(t,a),r--)}else fc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&fc(t,cc(n));var h=t.length,c=h;for(h&&fc(t,"-");c<a;){var l=rc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>hc((rc-i)/u))throw ic(oc);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>rc)throw ic(oc);if(n===o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;fc(t,cc(pc(m+g%p))),f=hc(g/p),d+=36}fc(t,cc(pc(f))),s=yc(i,u,c===h),i=0,c++}}i++,o++}return uc(t,"")},vc=TypeError,Sc=function(e,t){if(e<t)throw vc("Not enough arguments");return e},wc=$r,Ac=ec,Rc=Math.floor,Tc=function(e,t){var r=e.length,n=Rc(r/2);return r<8?Hc(e,t):Cc(e,Tc(Ac(e,0,n),t),Tc(Ac(e,n),t),t)},Hc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Cc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Pc=ea,Ic=i,kc=d,Mc=H,Lc=c,Oc=Cs,Ec=$r,Bc=Us,Dc=function(e,t,r){for(var n in t)wc(e,n,t[n],r);return e},Uc=Qo,Fc=oi,xc=Ir,Nc=Ns,jc=K,Gc=Ye,Yc=Es,_c=ha,zc=Et,Kc=q,Jc=ua,Wc=Ja,qc=S,Vc=Fh,Zc=Mh,$c=Sc,Qc=Tc,Xc=rt("iterator"),el="URLSearchParams",tl=el+"Iterator",rl=xc.set,nl=xc.getterFor(el),al=xc.getterFor(tl),ol=Object.getOwnPropertyDescriptor,il=function(e){if(!Lc)return Ic[e];var t=ol(Ic,e);return t&&t.value},sl=il("fetch"),hl=il("Request"),cl=il("Headers"),ll=hl&&hl.prototype,ul=cl&&cl.prototype,fl=Ic.RegExp,dl=Ic.TypeError,ml=Ic.decodeURIComponent,gl=Ic.encodeURIComponent,pl=Mc("".charAt),yl=Mc([].join),bl=Mc([].push),vl=Mc("".replace),Sl=Mc([].shift),wl=Mc([].splice),Al=Mc("".split),Rl=Mc("".slice),Tl=/\+/g,Hl=Array(4),Cl=function(e){return Hl[e-1]||(Hl[e-1]=fl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Pl=function(e){try{return ml(e)}catch(t){return e}},Il=function(e){var t=vl(e,Tl," "),r=4;try{return ml(t)}catch(e){for(;r;)t=vl(t,Cl(r--),Pl);return t}},kl=/[!'()~]|%20/g,Ml={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ll=function(e){return Ml[e]},Ol=function(e){return vl(gl(e),kl,Ll)},El=Fc((function(e,t){rl(this,{type:tl,iterator:Vc(nl(e).entries),kind:t})}),"Iterator",(function(){var e=al(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Bl=function(e){this.entries=[],this.url=null,void 0!==e&&(Kc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===pl(e,0)?Rl(e,1):e:Jc(e)))};Bl.prototype={type:el,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Zc(e);if(h)for(r=(t=Vc(e,h)).next;!(n=kc(r,t)).done;){if(o=(a=Vc(zc(n.value))).next,(i=kc(o,a)).done||(s=kc(o,a)).done||!kc(o,a).done)throw dl("Expected sequence with length 2");bl(this.entries,{key:Jc(i.value),value:Jc(s.value)})}else for(var c in e)Gc(e,c)&&bl(this.entries,{key:c,value:Jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=Al(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=Al(t,"="),bl(this.entries,{key:Il(Sl(r)),value:Il(yl(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],bl(r,Ol(e.key)+"="+Ol(e.value));return yl(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Dl=function(){Nc(this,Ul);var e=rl(this,new Bl(arguments.length>0?arguments[0]:void 0));Lc||(this.size=e.entries.length)},Ul=Dl.prototype;if(Dc(Ul,{append:function(e,t){var r=nl(this);$c(arguments.length,2),bl(r.entries,{key:Jc(e),value:Jc(t)}),Lc||this.length++,r.updateURL()},delete:function(e){for(var t=nl(this),r=$c(arguments.length,1),n=t.entries,a=Jc(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Jc(o),s=0;s<n.length;){var h=n[s];if(h.key!==a||void 0!==i&&h.value!==i)s++;else if(wl(n,s,1),void 0!==i)break}Lc||(this.size=n.length),t.updateURL()},get:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&bl(n,t[a].value);return n},has:function(e){for(var t=nl(this).entries,r=$c(arguments.length,1),n=Jc(e),a=r<2?void 0:arguments[1],o=void 0===a?a:Jc(a),i=0;i<t.length;){var s=t[i++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r=nl(this);$c(arguments.length,1);for(var n,a=r.entries,o=!1,i=Jc(e),s=Jc(t),h=0;h<a.length;h++)(n=a[h]).key===i&&(o?wl(a,h--,1):(o=!0,n.value=s));o||bl(a,{key:i,value:s}),Lc||(this.size=a.length),r.updateURL()},sort:function(){var e=nl(this);Qc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=nl(this).entries,n=Yc(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new El(this,"keys")},values:function(){return new El(this,"values")},entries:function(){return new El(this,"entries")}},{enumerable:!0}),Ec(Ul,Xc,Ul.entries,{name:"entries"}),Ec(Ul,"toString",(function(){return nl(this).serialize()}),{enumerable:!0}),Lc&&Bc(Ul,"size",{get:function(){return nl(this).entries.length},configurable:!0,enumerable:!0}),Uc(Dl,el),Pc({global:!0,constructor:!0,forced:!Oc},{URLSearchParams:Dl}),!Oc&&jc(cl)){var Fl=Mc(ul.has),xl=Mc(ul.set),Nl=function(e){if(Kc(e)){var t,r=e.body;if(_c(r)===el)return t=e.headers?new cl(e.headers):new cl,Fl(t,"content-type")||xl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Wc(e,{body:qc(0,Jc(r)),headers:qc(0,t)})}return e};if(jc(sl)&&Pc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return sl(e,arguments.length>1?Nl(arguments[1]):{})}}),jc(hl)){var jl=function(e){return Nc(this,ll),new hl(e,arguments.length>1?Nl(arguments[1]):{})};ll.constructor=jl,jl.prototype=ll,Pc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:jl})}}var Gl,Yl=ea,_l=c,zl=Cs,Kl=i,Jl=Es,Wl=H,ql=$r,Vl=Us,Zl=Ns,$l=Ye,Ql=Qs,Xl=function(e){var t=jh(e),r=_h(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=xh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Wh(t),d=0;if(!f||this===qh&&Yh(f))for(i=zh(t),s=r?new this(i):qh(i);i>d;d++)u=o?a(t[d],d):t[d],Kh(s,d,u);else for(l=(c=Jh(t,f)).next,s=r?new this:[];!(h=Nh(l,c)).done;d++)u=o?Gh(c,a,[h.value,d],!0):h.value,Kh(s,d,u);return s.length=d,s},eu=ec,tu=ms.codeAt,ru=function(e){var t,r,n=[],a=mc(dc(gc(e),ac,"."),".");for(t=0;t<a.length;t++)r=a[t],fc(n,sc(nc,r)?"xn--"+bc(r):r);return uc(n,".")},nu=ua,au=Qo,ou=Sc,iu={URLSearchParams:Dl,getState:nl},su=Ir,hu=su.set,cu=su.getterFor("URL"),lu=iu.URLSearchParams,uu=iu.getState,fu=Kl.URL,du=Kl.TypeError,mu=Kl.parseInt,gu=Math.floor,pu=Math.pow,yu=Wl("".charAt),bu=Wl(/./.exec),vu=Wl([].join),Su=Wl(1..toString),wu=Wl([].pop),Au=Wl([].push),Ru=Wl("".replace),Tu=Wl([].shift),Hu=Wl("".split),Cu=Wl("".slice),Pu=Wl("".toLowerCase),Iu=Wl([].unshift),ku="Invalid scheme",Mu="Invalid host",Lu="Invalid port",Ou=/[a-z]/i,Eu=/[\d+-.a-z]/i,Bu=/\d/,Du=/^0x/i,Uu=/^[0-7]+$/,Fu=/^\d+$/,xu=/^[\da-f]+$/i,Nu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ju=/[\0\t\n\r #/:<>?@[\\\]^|]/,Gu=/^[\u0000-\u0020]+/,Yu=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,_u=/[\t\n\r]/g,zu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Iu(t,e%256),e=gu(e/256);return vu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=Su(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ku={},Ju=Ql({},Ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Wu=Ql({},Ju,{"#":1,"?":1,"{":1,"}":1}),qu=Ql({},Wu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Vu=function(e,t){var r=tu(e,0);return r>32&&r<127&&!$l(t,e)?e:encodeURIComponent(e)},Zu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$u=function(e,t){var r;return 2===e.length&&bu(Ou,yu(e,0))&&(":"===(r=yu(e,1))||!t&&"|"===r)},Qu=function(e){var t;return e.length>1&&$u(Cu(e,0,2))&&(2===e.length||"/"===(t=yu(e,2))||"\\"===t||"?"===t||"#"===t)},Xu=function(e){return"."===e||"%2e"===Pu(e)},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf={},gf={},pf={},yf={},bf={},vf={},Sf={},wf={},Af=function(e,t,r){var n,a,o,i=nu(e);if(t){if(a=this.parse(i))throw du(a);this.searchParams=null}else{if(void 0!==r&&(n=new Af(r,!0)),a=this.parse(i,null,n))throw du(a);(o=uu(new lu)).bindURL(this),this.searchParams=o}};Af.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||ef,l=0,u="",f=!1,d=!1,m=!1;for(e=nu(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=Ru(e,Gu,""),e=Ru(e,Yu,"$1")),e=Ru(e,_u,""),n=Xl(e);l<=n.length;){switch(a=n[l],c){case ef:if(!a||!bu(Ou,a)){if(t)return ku;c=rf;continue}u+=Pu(a),c=tf;break;case tf:if(a&&(bu(Eu,a)||"+"===a||"-"===a||"."===a))u+=Pu(a);else{if(":"!==a){if(t)return ku;u="",c=rf,l=0;continue}if(t&&(h.isSpecial()!==$l(Zu,u)||"file"===u&&(h.includesCredentials()||null!==h.port)||"file"===h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Zu[h.scheme]===h.port&&(h.port=null));u="","file"===h.scheme?c=mf:h.isSpecial()&&r&&r.scheme===h.scheme?c=nf:h.isSpecial()?c=hf:"/"===n[l+1]?(c=af,l++):(h.cannotBeABaseURL=!0,Au(h.path,""),c=vf)}break;case rf:if(!r||r.cannotBeABaseURL&&"#"!==a)return ku;if(r.cannotBeABaseURL&&"#"===a){h.scheme=r.scheme,h.path=eu(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=wf;break}c="file"===r.scheme?mf:of;continue;case nf:if("/"!==a||"/"!==n[l+1]){c=of;continue}c=cf,l++;break;case af:if("/"===a){c=lf;break}c=bf;continue;case of:if(h.scheme=r.scheme,a===Gl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query;else if("/"===a||"\\"===a&&h.isSpecial())c=sf;else if("?"===a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query="",c=Sf;else{if("#"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.path.length--,c=bf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf}break;case sf:if(!h.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=bf;continue}c=lf}else c=cf;break;case hf:if(c=cf,"/"!==a||"/"!==yu(u,l+1))continue;l++;break;case cf:if("/"!==a&&"\\"!==a){c=lf;continue}break;case lf:if("@"===a){f&&(u="%40"+u),f=!0,o=Xl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!==p||m){var y=Vu(p,qu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(f&&""===u)return"Invalid authority";l-=Xl(u).length+1,u="",c=uf}else u+=a;break;case uf:case ff:if(t&&"file"===h.scheme){c=pf;continue}if(":"!==a||d){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(h.isSpecial()&&""===u)return Mu;if(t&&""===u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=yf,t)return;continue}"["===a?d=!0:"]"===a&&(d=!1),u+=a}else{if(""===u)return Mu;if(i=h.parseHost(u))return i;if(u="",c=df,t===ff)return}break;case df:if(!bu(Bu,a)){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()||t){if(""!==u){var b=mu(u,10);if(b>65535)return Lu;h.port=h.isSpecial()&&b===Zu[h.scheme]?null:b,u=""}if(t)return;c=yf;continue}return Lu}u+=a;break;case mf:if(h.scheme="file","/"===a||"\\"===a)c=gf;else{if(!r||"file"!==r.scheme){c=bf;continue}switch(a){case Gl:h.host=r.host,h.path=eu(r.path),h.query=r.query;break;case"?":h.host=r.host,h.path=eu(r.path),h.query="",c=Sf;break;case"#":h.host=r.host,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf;break;default:Qu(vu(eu(n,l),""))||(h.host=r.host,h.path=eu(r.path),h.shortenPath()),c=bf;continue}}break;case gf:if("/"===a||"\\"===a){c=pf;break}r&&"file"===r.scheme&&!Qu(vu(eu(n,l),""))&&($u(r.path[0],!0)?Au(h.path,r.path[0]):h.host=r.host),c=bf;continue;case pf:if(a===Gl||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&$u(u))c=bf;else if(""===u){if(h.host="",t)return;c=yf}else{if(i=h.parseHost(u))return i;if("localhost"===h.host&&(h.host=""),t)return;u="",c=yf}continue}u+=a;break;case yf:if(h.isSpecial()){if(c=bf,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==Gl&&(c=bf,"/"!==a))continue}else h.fragment="",c=wf;else h.query="",c=Sf;break;case bf:if(a===Gl||"/"===a||"\\"===a&&h.isSpecial()||!t&&("?"===a||"#"===a)){if(".."===(s=Pu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,"")):Xu(u)?"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,""):("file"===h.scheme&&!h.path.length&&$u(u)&&(h.host&&(h.host=""),u=yu(u,0)+":"),Au(h.path,u)),u="","file"===h.scheme&&(a===Gl||"?"===a||"#"===a))for(;h.path.length>1&&""===h.path[0];)Tu(h.path);"?"===a?(h.query="",c=Sf):"#"===a&&(h.fragment="",c=wf)}else u+=Vu(a,Wu);break;case vf:"?"===a?(h.query="",c=Sf):"#"===a?(h.fragment="",c=wf):a!==Gl&&(h.path[0]+=Vu(a,Ku));break;case Sf:t||"#"!==a?a!==Gl&&("'"===a&&h.isSpecial()?h.query+="%27":h.query+="#"===a?"%23":Vu(a,Ku)):(h.fragment="",c=wf);break;case wf:a!==Gl&&(h.fragment+=Vu(a,Ju))}l++}},parseHost:function(e){var t,r,n;if("["===yu(e,0)){if("]"!==yu(e,e.length-1))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return yu(e,u)};if(":"===f()){if(":"!==yu(e,1))return;u+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&bu(xu,f());)t=16*t+mu(f(),16),u++,r++;if("."===f()){if(0===r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."===f()&&n<4))return;u++}if(!bu(Bu,f()))return;for(;bu(Bu,f());){if(o=mu(f(),10),null===a)a=o;else{if(0===a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!==n||c++}if(4!==n)return;break}if(":"===f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!==c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!==c)return;return h}(Cu(e,1,-1)),!t)return Mu;this.host=t}else if(this.isSpecial()){if(e=ru(e),bu(Nu,e))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=Hu(e,".");if(h.length&&""===h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""===(a=h[n]))return e;if(o=10,a.length>1&&"0"===yu(a,0)&&(o=bu(Du,a)?16:8,a=Cu(a,8===o?1:2)),""===a)i=0;else{if(!bu(10===o?Fu:8===o?Uu:xu,a))return e;i=mu(a,o)}Au(r,i)}for(n=0;n<t;n++)if(i=r[n],n===t-1){if(i>=pu(256,5-t))return null}else if(i>255)return null;for(s=wu(r),n=0;n<r.length;n++)s+=r[n]*pu(256,3-n);return s}(e),null===t)return Mu;this.host=t}else{if(bu(ju,e))return Mu;for(t="",r=Xl(e),n=0;n<r.length;n++)t+=Vu(r[n],Ku);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return $l(Zu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&$u(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=zu(a),null!==o&&(c+=":"+o)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+vu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw du(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Rf(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+zu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(nu(e)+":",ef)},getUsername:function(){return this.username},setUsername:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Vu(t[r],qu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Vu(t[r],qu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?zu(e):zu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,uf)},getHostname:function(){var e=this.host;return null===e?"":zu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ff)},getPort:function(){var e=this.port;return null===e?"":nu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=nu(e))?this.port=null:this.parse(e,df))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+vu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,yf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=nu(e))?this.query=null:("?"===yu(e,0)&&(e=Cu(e,1)),this.query="",this.parse(e,Sf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=nu(e))?("#"===yu(e,0)&&(e=Cu(e,1)),this.fragment="",this.parse(e,wf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Rf=function(e){var t=Zl(this,Tf),r=ou(arguments.length,1)>1?arguments[1]:void 0,n=hu(t,new Af(e,!1,r));_l||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Tf=Rf.prototype,Hf=function(e,t){return{get:function(){return cu(this)[e]()},set:t&&function(e){return cu(this)[t](e)},configurable:!0,enumerable:!0}};if(_l&&(Vl(Tf,"href",Hf("serialize","setHref")),Vl(Tf,"origin",Hf("getOrigin")),Vl(Tf,"protocol",Hf("getProtocol","setProtocol")),Vl(Tf,"username",Hf("getUsername","setUsername")),Vl(Tf,"password",Hf("getPassword","setPassword")),Vl(Tf,"host",Hf("getHost","setHost")),Vl(Tf,"hostname",Hf("getHostname","setHostname")),Vl(Tf,"port",Hf("getPort","setPort")),Vl(Tf,"pathname",Hf("getPathname","setPathname")),Vl(Tf,"search",Hf("getSearch","setSearch")),Vl(Tf,"searchParams",Hf("getSearchParams")),Vl(Tf,"hash",Hf("getHash","setHash"))),ql(Tf,"toJSON",(function(){return cu(this).serialize()}),{enumerable:!0}),ql(Tf,"toString",(function(){return cu(this).serialize()}),{enumerable:!0}),fu){var Cf=fu.createObjectURL,Pf=fu.revokeObjectURL;Cf&&ql(Rf,"createObjectURL",Jl(Cf,fu)),Pf&&ql(Rf,"revokeObjectURL",Jl(Pf,fu))}au(Rf,"URL"),Yl({global:!0,constructor:!0,forced:!zl,sham:!_l},{URL:Rf});var If,kf=q,Mf=k,Lf=rt("match"),Of=function(e){var t;return kf(e)&&(void 0!==(t=e[Lf])?!!t:"RegExp"===Mf(e))},Ef=TypeError,Bf=rt("match"),Df=ea,Uf=ks,Ff=s.f,xf=ln,Nf=ua,jf=function(e){if(Of(e))throw Ef("The method doesn't accept regular expressions");return e},Gf=x,Yf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Bf]=!1,"/./"[e](t)}catch(e){}}return!1},_f=Uf("".startsWith),zf=Uf("".slice),Kf=Math.min,Jf=Yf("startsWith");Df({target:"String",proto:!0,forced:!!(Jf||(If=Ff(String.prototype,"startsWith"),!If||If.writable))&&!Jf},{startsWith:function(e){var t=Nf(Gf(this));jf(e);var r=xf(Kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Nf(e);return _f?_f(t,n,r):zf(t,r,r+n.length)===n}});var Wf=d,qf=Ye,Vf=Q,Zf=da,$f=RegExp.prototype,Qf=er.PROPER,Xf=$r,ed=Et,td=ua,rd=h,nd=function(e){var t=e.flags;return void 0!==t||"flags"in $f||qf(e,"flags")||!Vf($f,e)?t:Wf(Zf,e)},ad="toString",od=RegExp.prototype[ad],id=rd((function(){return"/a/b"!==od.call({source:"a",flags:"b"})})),sd=Qf&&od.name!==ad;(id||sd)&&Xf(RegExp.prototype,ad,(function(){var e=ed(this);return"/"+td(e.source)+"/"+td(nd(e))}),{unsafe:!0});var hd={"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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"},cd={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"};function ld(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:cd[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function ud(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function fd(e){return e<10?"0"+e:""+e}function dd(e){return e<0?"-00"+dd(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function md(e){return dd(e.getFullYear())+"-"+fd(e.getMonth()+1)+"-"+fd(e.getDate())}function gd(e){const t=e.getDesc();return"Purim"===t||"Erev Purim"===t?["holiday","major"]:e.getCategories()}function pd(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function yd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(hd[e.getDesc()]||hd[e.basename()]||"").normalize();if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const bd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function vd(e,n){const a=e.getFlags();if(a&bd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);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 Sd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=vd(e,r);if(t)return t}catch(e){}return e.memo||hd[e.basename()]}function wd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function Ad(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const Rd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Td={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function Hd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=Ad(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=Td[gd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||yd(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function Cd(e){return md(e.getDate().greg())}function Pd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):md(h),u=gd(e),f=e.getFlags();let d=Ad(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=function(e){const t={};e.summary&&(t.torah=e.summary);e.haftara&&(t.haftarah=e.haftara);e.sephardic&&(t.haftarah_sephardic=e.sephardic);e.fullkriyah&&Id(t,e.fullkriyah);e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara));return t}(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=Id({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=wd(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),f&t.flags.MOLAD){const r=e.molad;p.molad={hy:r.year,hm:t.HDate.getMonthName(r.month,r.year),dow:r.dow,hour:r.hour,minutes:r.minutes,chalakim:r.chalakim},delete p.hebrew}if(a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||hd[e.basename()];return"string"==typeof b&&0!==b.length?p.memo=b.normalize():void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function Id(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}const kd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Md(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=ud(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=wd(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=wd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=gd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=Sd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=wd,e.countryNames=cd,e.eventToClassicApiObject=Pd,e.eventToCsv=Hd,e.eventToFullCalendar=function(e,r,n){const a=gd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Ad(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):md(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=wd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=Sd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Md,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:pd(e,t),date:(new Date).toISOString()};return n.location=ld(t.location),e.length&&(n.range={start:Cd(e[0]),end:Cd(e[e.length-1])}),n.items=e.map((e=>Pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[Rd].concat(e.map((e=>Hd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||pd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=wd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||kd[t.locale]||t.locale||"en-US";let m='<?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(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{m+=Md(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=pd,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+ud(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=gd,e.getHolidayDescription=yd,e.holidayDescription=hd,e.locationToPlainObj=ld,e.makeAnchor=ud,e.makeMemo=Sd,e.makeTorahMemoText=vd,e.pad2=fd,e.pad4=dd,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Ad,e.toISOString=md,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
package/dist/fullcalendar.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
2
|
var hebcalFullCalendar = (function (exports, core, leyning) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
5
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @param {number} number
|
package/dist/fullcalendar.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
2
|
-
var hebcalFullCalendar=function(e,a,o){"use strict";var t={"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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};function r(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function n(e){return h(e.getFullYear())+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())}var s=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function i(e,r){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,t){var r=e.getFlags();if(r&s)return"";if(void 0!==e.eventTime)return"";var h=r&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,t):o.getLeyningForHoliday(e,t),n="";return h&&(h.summary||h.haftara)&&(h.summary&&(n+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(n+="\n"),h.haftara&&(n+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(n+=" | "+h.reason.haftara))),h&&h.sephardic&&(n+="\nHaftarah for Sephardim: "+h.sephardic),n}(e,r);if(h)return h}catch(e){}return e.memo||t[e.basename()]}return e.eventToFullCalendar=function(e,o,t){var r=function(e){var a=e.getDesc();return"Purim"===a||"Erev Purim"===a?["holiday","major"]:e.getCategories()}(e),h=e.getFlags();"holiday"==r[0]&&h&a.flags.CHAG&&r.push("yomtov");var s=Boolean(e.eventTime),d={title:function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),start:s?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):n(e.getDate().greg()),allDay:!s,className:r.join(" ")},l=e.renderBrief("he");l&&(d.hebrew=a.Locale.hebrewStripNikkud(l));var m=e.url();m&&(d.url=function(e,a,o,t,r){var h=new URL(e),n="www.hebcal.com"===h.host;if(n){a&&h.searchParams.set("i","on");var s=h.pathname,i=s.startsWith("/holidays/"),d=s.startsWith("/sedrot/"),l=s.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+s.substring(10):d?"/s/"+s.substring(8):"/o/"+s.substring(6),r&&(r.startsWith("ical-")||r.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),t&&h.searchParams.set("um",t)),r&&h.searchParams.set("uc",r),h.toString()}return(o=n?o:"hebcal.com")&&h.searchParams.set("utm_source",o),t&&h.searchParams.set("utm_medium",t),r&&h.searchParams.set("utm_campaign",r),h.toString()}(m,t,"js","fc"));var f=e.getDesc();if(!("Havdalah"===f||"Candle lighting"===f)){var c=i(e,t);c?d.description=c:void 0!==e.linkedEvent&&(d.description=e.linkedEvent.render())}return d},e}({},hebcal,hebcal__leyning);
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
|
+
var hebcalFullCalendar=function(e,a,o){"use strict";var t={"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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};function r(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function n(e){return h(e.getFullYear())+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())}var s=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function i(e,r){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,t){var r=e.getFlags();if(r&s)return"";if(void 0!==e.eventTime)return"";var h=r&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,t):o.getLeyningForHoliday(e,t),n="";return h&&(h.summary||h.haftara)&&(h.summary&&(n+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(n+="\n"),h.haftara&&(n+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(n+=" | "+h.reason.haftara))),h&&h.sephardic&&(n+="\nHaftarah for Sephardim: "+h.sephardic),n}(e,r);if(h)return h}catch(e){}return e.memo||t[e.basename()]}return e.eventToFullCalendar=function(e,o,t){var r=function(e){var a=e.getDesc();return"Purim"===a||"Erev Purim"===a?["holiday","major"]:e.getCategories()}(e),h=e.getFlags();"holiday"==r[0]&&h&a.flags.CHAG&&r.push("yomtov");var s=Boolean(e.eventTime),d={title:function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),start:s?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):n(e.getDate().greg()),allDay:!s,className:r.join(" ")},l=e.renderBrief("he");l&&(d.hebrew=a.Locale.hebrewStripNikkud(l));var m=e.url();m&&(d.url=function(e,a,o,t,r){var h=new URL(e),n="www.hebcal.com"===h.host;if(n){a&&h.searchParams.set("i","on");var s=h.pathname,i=s.startsWith("/holidays/"),d=s.startsWith("/sedrot/"),l=s.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+s.substring(10):d?"/s/"+s.substring(8):"/o/"+s.substring(6),r&&(r.startsWith("ical-")||r.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),t&&h.searchParams.set("um",t)),r&&h.searchParams.set("uc",r),h.toString()}return(o=n?o:"hebcal.com")&&h.searchParams.set("utm_source",o),t&&h.searchParams.set("utm_medium",t),r&&h.searchParams.set("utm_campaign",r),h.toString()}(m,t,"js","fc"));var f=e.getDesc();if(!("Havdalah"===f||"Candle lighting"===f)){var c=i(e,t);c?d.description=c:void 0!==e.linkedEvent&&(d.description=e.linkedEvent.render())}return d},e}({},hebcal,hebcal__leyning);
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var core = require('@hebcal/core');
|
|
5
5
|
var leyning = require('@hebcal/leyning');
|
|
6
6
|
var triennial = require('@hebcal/triennial');
|
|
7
7
|
|
|
8
|
-
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
8
|
+
var Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";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. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
9
9
|
|
|
10
10
|
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};
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
+
* Location information
|
|
14
|
+
* @typedef {Object} LocationPlainObj
|
|
15
|
+
* @property {string} title
|
|
16
|
+
* @property {string} city
|
|
17
|
+
* @property {string} tzid
|
|
18
|
+
* @property {number} latitude
|
|
19
|
+
* @property {number} longitude
|
|
20
|
+
* @property {string} cc
|
|
21
|
+
* @property {string} country
|
|
22
|
+
* @property {string} admin1
|
|
23
|
+
* @property {string} asciiname
|
|
24
|
+
* @property {string} geo
|
|
25
|
+
* @property {string} zip
|
|
26
|
+
* @property {string} state
|
|
27
|
+
* @property {string} stateName
|
|
28
|
+
* @property {number} geonameid
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Converts a @hebcal/core `Location` to a plain JS object.
|
|
13
33
|
* @param {Location} location
|
|
14
|
-
* @return {
|
|
34
|
+
* @return {LocationPlainObj}
|
|
15
35
|
*/
|
|
16
36
|
function locationToPlainObj(location) {
|
|
17
37
|
if (typeof location === 'object' && location !== null && typeof location.name === 'string') {
|
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.4 */
|
|
2
2
|
import { flags, HDate, HebrewCalendar, Zmanim, Locale, gematriya } from '@hebcal/core';
|
|
3
3
|
import { getLeyningForParshaHaShavua, getLeyningForHoliday, formatAliyahWithBook } from '@hebcal/leyning';
|
|
4
4
|
import { getTriennialForParshaHaShavua } from '@hebcal/triennial';
|
|
5
5
|
|
|
6
|
-
const Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";const 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";const 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";const Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";const Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";const Sukkot="Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","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. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
6
|
+
const Chanukah="Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)";const 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";const 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";const Shavuot="Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai";const Sigd="Ethiopian Jewish holiday occurring 50 days after Yom Kippur";const Sukkot="Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)";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","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:Chanukah,"Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","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. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","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 of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","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 before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:Shavuot,"Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","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. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",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. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","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. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","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"};
|
|
7
7
|
|
|
8
8
|
const AD="Andorra";const AE="United Arab Emirates";const AF="Afghanistan";const AI="Anguilla";const AL="Albania";const AM="Armenia";const AO="Angola";const AR="Argentina";const AS="American Samoa";const AT="Austria";const AU="Australia";const AW="Aruba";const AZ="Azerbaijan";const BA="Bosnia and Herzegovina";const BB="Barbados";const BD="Bangladesh";const BE="Belgium";const BF="Burkina Faso";const BG="Bulgaria";const BH="Bahrain";const BI="Burundi";const BJ="Benin";const BM="Bermuda";const BN="Brunei";const BO="Bolivia";const BR="Brazil";const BS="Bahamas";const BT="Bhutan";const BW="Botswana";const BY="Belarus";const BZ="Belize";const CA="Canada";const CD="Democratic Republic of the Congo";const CF="Central African Republic";const CG="Republic of the Congo";const CH="Switzerland";const CI="Ivory Coast";const CK="Cook Islands";const CL="Chile";const CM="Cameroon";const CN="China";const CO="Colombia";const CR="Costa Rica";const CU="Cuba";const CV="Cape Verde";const CW="Curacao";const CY="Cyprus";const CZ="Czech Republic";const DE="Germany";const DK="Denmark";const DM="Dominica";const DO="Dominican Republic";const DZ="Algeria";const EC="Ecuador";const EE="Estonia";const EG="Egypt";const ER="Eritrea";const ES="Spain";const ET="Ethiopia";const FI="Finland";const FJ="Fiji";const FK="Falkland Islands";const FO="Faroe Islands";const FR="France";const GA="Gabon";const GB="United Kingdom";const GE="Georgia";const GH="Ghana";const GI="Gibraltar";const GL="Greenland";const GM="Gambia";const GN="Guinea";const GQ="Equatorial Guinea";const GR="Greece";const GT="Guatemala";const GW="Guinea-Bissau";const GY="Guyana";const HK="Hong Kong";const HN="Honduras";const HR="Croatia";const HT="Haiti";const HU="Hungary";const ID="Indonesia";const IE="Ireland";const IL="Israel";const IM="Isle of Man";const IN="India";const IQ="Iraq";const IR="Iran";const IS="Iceland";const IT="Italy";const JM="Jamaica";const JO="Jordan";const JP="Japan";const KE="Kenya";const KG="Kyrgyzstan";const KH="Cambodia";const KM="Comoros";const KN="Saint Kitts and Nevis";const KP="North Korea";const KR="South Korea";const KW="Kuwait";const KY="Cayman Islands";const KZ="Kazakhstan";const LA="Laos";const LB="Lebanon";const LC="Saint Lucia";const LI="Liechtenstein";const LR="Liberia";const LS="Lesotho";const LT="Lithuania";const LU="Luxembourg";const LV="Latvia";const LY="Libya";const MA="Morocco";const MD="Moldova";const ME="Montenegro";const MG="Madagascar";const MK="Macedonia";const ML="Mali";const MM="Myanmar";const MN="Mongolia";const MP="Northern Mariana Islands";const MR="Mauritania";const MS="Montserrat";const MT="Malta";const MU="Mauritius";const MW="Malawi";const MX="Mexico";const MY="Malaysia";const MZ="Mozambique";const NA="Namibia";const NC="New Caledonia";const NE="Niger";const NG="Nigeria";const NI="Nicaragua";const NL="Netherlands";const NO="Norway";const NP="Nepal";const NU="Niue";const NZ="New Zealand";const OM="Oman";const PA="Panama";const PE="Peru";const PF="French Polynesia";const PG="Papua New Guinea";const PH="Philippines";const PK="Pakistan";const PL="Poland";const PR="Puerto Rico";const PT="Portugal";const PY="Paraguay";const QA="Qatar";const RO="Romania";const RS="Serbia";const RU="Russia";const RW="Rwanda";const SA="Saudi Arabia";const SB="Solomon Islands";const SC="Seychelles";const SD="Sudan";const SE="Sweden";const SG="Singapore";const SH="Saint Helena";const SI="Slovenia";const SK="Slovakia";const SL="Sierra Leone";const SN="Senegal";const SO="Somalia";const SR="Suriname";const ST="Sao Tome and Principe";const SV="El Salvador";const SY="Syria";const SZ="Swaziland";const TC="Turks and Caicos Islands";const TD="Chad";const TG="Togo";const TH="Thailand";const TJ="Tajikistan";const TM="Turkmenistan";const TN="Tunisia";const TR="Turkey";const TV="Tuvalu";const TW="Taiwan";const TZ="Tanzania";const UA="Ukraine";const UG="Uganda";const US="United States";const UY="Uruguay";const UZ="Uzbekistan";const VC="Saint Vincent and the Grenadines";const VE="Venezuela";const VG="British Virgin Islands";const VN="Vietnam";const WS="Samoa";const YE="Yemen";const YT="Mayotte";const ZA="South Africa";const ZM="Zambia";const 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};
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
+
* Location information
|
|
12
|
+
* @typedef {Object} LocationPlainObj
|
|
13
|
+
* @property {string} title
|
|
14
|
+
* @property {string} city
|
|
15
|
+
* @property {string} tzid
|
|
16
|
+
* @property {number} latitude
|
|
17
|
+
* @property {number} longitude
|
|
18
|
+
* @property {string} cc
|
|
19
|
+
* @property {string} country
|
|
20
|
+
* @property {string} admin1
|
|
21
|
+
* @property {string} asciiname
|
|
22
|
+
* @property {string} geo
|
|
23
|
+
* @property {string} zip
|
|
24
|
+
* @property {string} state
|
|
25
|
+
* @property {string} stateName
|
|
26
|
+
* @property {number} geonameid
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Converts a @hebcal/core `Location` to a plain JS object.
|
|
11
31
|
* @param {Location} location
|
|
12
|
-
* @return {
|
|
32
|
+
* @return {LocationPlainObj}
|
|
13
33
|
*/
|
|
14
34
|
function locationToPlainObj(location) {
|
|
15
35
|
if (typeof location === 'object' && location !== null && typeof location.name === 'string') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/rest-api",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.4",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"url": "https://github.com/hebcal/hebcal-rest-api/issues"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@hebcal/core": "^4.3.
|
|
32
|
-
"@hebcal/leyning": "^7.4.
|
|
33
|
-
"@hebcal/triennial": "^1.
|
|
31
|
+
"@hebcal/core": "^4.3.4",
|
|
32
|
+
"@hebcal/leyning": "^7.4.4",
|
|
33
|
+
"@hebcal/triennial": "^1.4.0"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rollup -c",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@babel/core": "^7.
|
|
50
|
-
"@babel/preset-env": "^7.22.
|
|
51
|
-
"@babel/register": "^7.22.
|
|
49
|
+
"@babel/core": "^7.23.0",
|
|
50
|
+
"@babel/preset-env": "^7.22.20",
|
|
51
|
+
"@babel/register": "^7.22.15",
|
|
52
52
|
"@hebcal/learning": "^1.5.1",
|
|
53
53
|
"@rollup/plugin-babel": "^6.0.3",
|
|
54
54
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
57
57
|
"@rollup/plugin-terser": "^0.4.3",
|
|
58
58
|
"ava": "^5.3.1",
|
|
59
|
-
"core-js": "^3.32.
|
|
60
|
-
"eslint": "^8.
|
|
59
|
+
"core-js": "^3.32.2",
|
|
60
|
+
"eslint": "^8.50.0",
|
|
61
61
|
"eslint-config-google": "^0.14.0",
|
|
62
62
|
"jsdoc": "^4.0.2",
|
|
63
63
|
"jsdoc-to-markdown": "^8.0.0",
|
|
64
|
-
"rollup": "^3.
|
|
64
|
+
"rollup": "^3.29.3"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/rest-api.d.ts
CHANGED
|
@@ -68,7 +68,24 @@ declare module '@hebcal/rest-api' {
|
|
|
68
68
|
*/
|
|
69
69
|
export function getHolidayDescription(ev: Event, firstSentence?: boolean): string;
|
|
70
70
|
|
|
71
|
-
export
|
|
71
|
+
export type LocationPlainObj = {
|
|
72
|
+
title: string;
|
|
73
|
+
city: string;
|
|
74
|
+
tzid: string;
|
|
75
|
+
latitude: number;
|
|
76
|
+
longitude: number;
|
|
77
|
+
cc: string;
|
|
78
|
+
country: string;
|
|
79
|
+
admin1?: string;
|
|
80
|
+
asciiname?: string;
|
|
81
|
+
geo?: string;
|
|
82
|
+
zip?: string;
|
|
83
|
+
state?: string;
|
|
84
|
+
stateName?: string;
|
|
85
|
+
geonameid?: number;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export function locationToPlainObj(location: Location): LocationPlainObj;
|
|
72
89
|
|
|
73
90
|
export interface StringMap {
|
|
74
91
|
[key: string]: string;
|