@hebcal/core 5.3.12 → 5.3.13

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.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Plug-ins for daily learning calendars such as Daf Yomi, Mishna Yomi, Nach Yomi, etc.
3
+ *
4
+ * Learning schedules are provided by the `@hebcal/learning` package.
5
+ */
6
+ export class DailyLearning {
7
+ /**
8
+ * Register a new learning calendar.
9
+ * @param {string} name
10
+ * @param {Function} calendar
11
+ */
12
+ static addCalendar(name: string, calendar: Function): void;
13
+ /**
14
+ * Returns an event from daily calendar for a given date. Returns `null` if there
15
+ * is no learning from this calendar on this date.
16
+ * @param {string} name
17
+ * @param {HDate} hd
18
+ * @param {boolean} il
19
+ * @return {Event | null}
20
+ */
21
+ static lookup(name: string, hd: HDate, il: boolean): Event | null;
22
+ }
@@ -0,0 +1,14 @@
1
+ /** Daily Hebrew date ("11th of Sivan, 5780") */
2
+ export class HebrewDateEvent extends Event {
3
+ /**
4
+ * @param {HDate} date
5
+ */
6
+ constructor(date: HDate);
7
+ /**
8
+ * @private
9
+ * @param {string} locale
10
+ * @return {string}
11
+ */
12
+ private renderBriefHebrew;
13
+ }
14
+ import { Event } from './event.js';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Represents one of 54 weekly Torah portions, always on a Saturday
3
+ */
4
+ export class ParshaEvent extends Event {
5
+ /**
6
+ * @param {HDate} date
7
+ * @param {string[]} parsha - untranslated name of single or double parsha,
8
+ * such as ['Bereshit'] or ['Achrei Mot', 'Kedoshim']
9
+ * @param {boolean} il
10
+ * @param {number|number[]} num
11
+ */
12
+ constructor(date: HDate, parsha: string[], il: boolean, num: number | number[]);
13
+ parsha: string[];
14
+ il: boolean;
15
+ num: number | number[];
16
+ /** @return {string} */
17
+ urlDateSuffix(): string;
18
+ }
19
+ import { Event } from './event.js';
@@ -0,0 +1,68 @@
1
+ declare namespace _default {
2
+ let headers: {
3
+ "plural-forms": string;
4
+ };
5
+ let contexts: {
6
+ "": {
7
+ Shabbat: string[];
8
+ "Achrei Mot": string[];
9
+ Bechukotai: string[];
10
+ "Beha'alotcha": string[];
11
+ Bereshit: string[];
12
+ Chukat: string[];
13
+ "Erev Shavuot": string[];
14
+ "Erev Sukkot": string[];
15
+ "Ki Tavo": string[];
16
+ "Ki Teitzei": string[];
17
+ "Ki Tisa": string[];
18
+ Matot: string[];
19
+ "Purim Katan": string[];
20
+ "Shabbat Chazon": string[];
21
+ "Shabbat HaChodesh": string[];
22
+ "Shabbat HaGadol": string[];
23
+ "Shabbat Nachamu": string[];
24
+ "Shabbat Parah": string[];
25
+ "Shabbat Shekalim": string[];
26
+ "Shabbat Shuva": string[];
27
+ "Shabbat Zachor": string[];
28
+ Shavuot: string[];
29
+ "Shavuot I": string[];
30
+ "Shavuot II": string[];
31
+ Shemot: string[];
32
+ "Shmini Atzeret": string[];
33
+ "Simchat Torah": string[];
34
+ Sukkot: string[];
35
+ "Sukkot I": string[];
36
+ "Sukkot II": string[];
37
+ "Sukkot II (CH''M)": string[];
38
+ "Sukkot III (CH''M)": string[];
39
+ "Sukkot IV (CH''M)": string[];
40
+ "Sukkot V (CH''M)": string[];
41
+ "Sukkot VI (CH''M)": string[];
42
+ "Sukkot VII (Hoshana Raba)": string[];
43
+ "Ta'anit Bechorot": string[];
44
+ "Ta'anit Esther": string[];
45
+ Toldot: string[];
46
+ Vaetchanan: string[];
47
+ Yitro: string[];
48
+ "Vezot Haberakhah": string[];
49
+ Parashat: string[];
50
+ "Leil Selichot": string[];
51
+ "Shabbat Mevarchim Chodesh": string[];
52
+ "Shabbat Shirah": string[];
53
+ Tevet: string[];
54
+ "Asara B'Tevet": string[];
55
+ "Alot HaShachar": string[];
56
+ "Kriat Shema, sof zeman": string[];
57
+ "Tefilah, sof zeman": string[];
58
+ "Kriat Shema, sof zeman (MGA)": string[];
59
+ "Tefilah, sof zeman (MGA)": string[];
60
+ "Chatzot HaLailah": string[];
61
+ "Chatzot hayom": string[];
62
+ "Tzeit HaKochavim": string[];
63
+ "Birkat Hachamah": string[];
64
+ "Shushan Purim Katan": string[];
65
+ };
66
+ };
67
+ }
68
+ export default _default;
package/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v5.3.12 */
1
+ /*! @hebcal/core v5.3.13 */
2
2
  var hebcal = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -12169,19 +12169,20 @@ class DailyLearning {
12169
12169
  * is no learning from this calendar on this date.
12170
12170
  * @param {string} name
12171
12171
  * @param {HDate} hd
12172
- * @return {Event}
12172
+ * @param {boolean} il
12173
+ * @return {Event | null}
12173
12174
  */
12174
- static lookup(name, hd) {
12175
+ static lookup(name, hd, il) {
12175
12176
  const fn = cals.get(name);
12176
12177
  if (typeof fn === 'function') {
12177
- return fn(hd);
12178
+ return fn(hd, il);
12178
12179
  }
12179
12180
  return null;
12180
12181
  }
12181
12182
  }
12182
12183
 
12183
12184
  // DO NOT EDIT THIS AUTO-GENERATED FILE!
12184
- const version = '5.3.12';
12185
+ const version = '5.3.13';
12185
12186
 
12186
12187
  const NONE$1 = 0;
12187
12188
  const HALF = 1;
@@ -12768,6 +12769,7 @@ function tachanunYear(year, il) {
12768
12769
  You should have received a copy of the GNU General Public License
12769
12770
  along with this program. If not, see <http://www.gnu.org/licenses/>.
12770
12771
  */
12772
+
12771
12773
  const FRI = 5;
12772
12774
  const SAT = 6;
12773
12775
  const NISAN = months.NISAN;
@@ -12927,59 +12929,59 @@ function checkCandleOptions(options) {
12927
12929
  /**
12928
12930
  * Options to configure which events are returned
12929
12931
  * @typedef {Object} CalOptions
12930
- * @property {Location} location - latitude/longitude/tzid used for candle-lighting
12931
- * @property {number} year - Gregorian or Hebrew year
12932
- * @property {boolean} isHebrewYear - to interpret year as Hebrew year
12933
- * @property {number} month - Gregorian or Hebrew month (to filter results to a single month)
12934
- * @property {number} numYears - generate calendar for multiple years (default 1)
12935
- * @property {Date|HDate|number} start - use specific start date (requires end date)
12936
- * @property {Date|HDate|number} end - use specific end date (requires start date)
12937
- * @property {boolean} candlelighting - calculate candle-lighting and havdalah times
12938
- * @property {number} candleLightingMins - minutes before sundown to light candles (default 18)
12939
- * @property {number} havdalahMins - minutes after sundown for Havdalah (typical values are 42, 50, or 72).
12932
+ * @property {Location} [location] - latitude/longitude/tzid used for candle-lighting
12933
+ * @property {number} [year] - Gregorian or Hebrew year
12934
+ * @property {boolean} [isHebrewYear] - to interpret year as Hebrew year
12935
+ * @property {number} [month] - Gregorian or Hebrew month (to filter results to a single month)
12936
+ * @property {number} [numYears] - generate calendar for multiple years (default 1)
12937
+ * @property {Date|HDate|number} [start] - use specific start date (requires end date)
12938
+ * @property {Date|HDate|number} [end] - use specific end date (requires start date)
12939
+ * @property {boolean} [candlelighting] - calculate candle-lighting and havdalah times
12940
+ * @property {number} [candleLightingMins] - minutes before sundown to light candles (default 18)
12941
+ * @property {number} [havdalahMins] - minutes after sundown for Havdalah (typical values are 42, 50, or 72).
12940
12942
  * If `undefined` (the default), calculate Havdalah according to Tzeit Hakochavim -
12941
12943
  * Nightfall (the point when 3 small stars are observable in the night time sky with
12942
12944
  * the naked eye). If `0`, Havdalah times are suppressed.
12943
- * @property {number} havdalahDeg - degrees for solar depression for Havdalah.
12945
+ * @property {number} [havdalahDeg] - degrees for solar depression for Havdalah.
12944
12946
  * Default is 8.5 degrees for 3 small stars. use 7.083 degrees for 3 medium-sized stars
12945
12947
  * (observed by Dr. Baruch (Berthold) Cohn in his luach published in France in 1899).
12946
12948
  * If `0`, Havdalah times are suppressed.
12947
- * @property {number} fastEndDeg - degrees for solar depression for end of fast days.
12949
+ * @property {number} [fastEndDeg] - degrees for solar depression for end of fast days.
12948
12950
  * Default is 7.083 degrees for 3 medium-sized stars. Other commonly-used values include
12949
12951
  * 6.45 degrees, as calculated by Rabbi Yechiel Michel Tucazinsky.
12950
- * @property {boolean} useElevation - use elevation for calculations (default `false`).
12952
+ * @property {boolean} [useElevation] - use elevation for calculations (default `false`).
12951
12953
  * If `true`, use elevation to affect the calculation of all sunrise/sunset based zmanim.
12952
12954
  * Note: there are some zmanim such as degree-based zmanim that are driven by the amount
12953
12955
  * of light in the sky and are not impacted by elevation.
12954
12956
  * These zmanim intentionally do not support elevation adjustment.
12955
- * @property {boolean} sedrot - calculate parashah hashavua on Saturdays
12956
- * @property {boolean} il - Israeli holiday and sedra schedule
12957
- * @property {boolean} noMinorFast - suppress minor fasts
12958
- * @property {boolean} noModern - suppress modern holidays
12959
- * @property {boolean} noRoshChodesh - suppress Rosh Chodesh
12960
- * @property {boolean} shabbatMevarchim - add Shabbat Mevarchim
12961
- * @property {boolean} noSpecialShabbat - suppress Special Shabbat
12962
- * @property {boolean} noHolidays - suppress regular holidays
12963
- * @property {boolean} omer - include Days of the Omer
12964
- * @property {boolean} molad - include event announcing the molad
12965
- * @property {boolean} ashkenazi - use Ashkenazi transliterations for event titles (default Sephardi transliterations)
12966
- * @property {string} locale - translate event titles according to a locale
12957
+ * @property {boolean} [sedrot] - calculate parashah hashavua on Saturdays
12958
+ * @property {boolean} [il] - Israeli holiday and sedra schedule
12959
+ * @property {boolean} [noMinorFast] - suppress minor fasts
12960
+ * @property {boolean} [noModern] - suppress modern holidays
12961
+ * @property {boolean} [noRoshChodesh] - suppress Rosh Chodesh
12962
+ * @property {boolean} [shabbatMevarchim] - add Shabbat Mevarchim
12963
+ * @property {boolean} [noSpecialShabbat] - suppress Special Shabbat
12964
+ * @property {boolean} [noHolidays] - suppress regular holidays
12965
+ * @property {boolean} [omer] - include Days of the Omer
12966
+ * @property {boolean} [molad] - include event announcing the molad
12967
+ * @property {boolean} [ashkenazi] - use Ashkenazi transliterations for event titles (default Sephardi transliterations)
12968
+ * @property {string} [locale] - translate event titles according to a locale
12967
12969
  * Default value is `en`, also built-in are `he` and `ashkenazi`.
12968
12970
  * Additional locales (such as `ru` or `fr`) are provided by the
12969
12971
  * {@link https://github.com/hebcal/hebcal-locales @hebcal/locales} package
12970
- * @property {boolean} addHebrewDates - print the Hebrew date for the entire date range
12971
- * @property {boolean} addHebrewDatesForEvents - print the Hebrew date for dates with some events
12972
- * @property {number} mask - use bitmask from `flags` to filter events
12973
- * @property {boolean} yomKippurKatan - include Yom Kippur Katan (default `false`).
12972
+ * @property {boolean} [addHebrewDates] - print the Hebrew date for the entire date range
12973
+ * @property {boolean} [addHebrewDatesForEvents] - print the Hebrew date for dates with some events
12974
+ * @property {number} [mask] - use bitmask from `flags` to filter events
12975
+ * @property {boolean} [yomKippurKatan] - include Yom Kippur Katan (default `false`).
12974
12976
  * יוֹם כִּפּוּר קָטָן is a minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh.
12975
12977
  * Yom Kippur Katan is omitted in Elul (on the day before Rosh Hashanah),
12976
12978
  * Tishrei (Yom Kippur has just passed), Kislev (due to Chanukah)
12977
12979
  * and Nisan (fasting not permitted during Nisan).
12978
12980
  * When Rosh Chodesh occurs on Shabbat or Sunday, Yom Kippur Katan is observed on the preceding Thursday.
12979
12981
  * See {@link https://en.wikipedia.org/wiki/Yom_Kippur_Katan#Practices Wikipedia Yom Kippur Katan practices}
12980
- * @property {boolean} hour12 - Whether to use 12-hour time (as opposed to 24-hour time).
12982
+ * @property {boolean} [hour12] - Whether to use 12-hour time (as opposed to 24-hour time).
12981
12983
  * Possible values are `true` and `false`; the default is locale dependent.
12982
- * @property {Object<string,any>} dailyLearning - map of options to enable daily study calendars
12984
+ * @property {Object<string,any>} [dailyLearning] - map of options to enable daily study calendars
12983
12985
  * such as `dafYomi`, `mishnaYomi`, `nachYomi` with value `true`. For `yerushalmi`
12984
12986
  * the value should be a `number` for edition (`1` for Vilna, `2` for Schottenstein).
12985
12987
  */
@@ -13373,7 +13375,7 @@ class HebrewCalendar {
13373
13375
  for (const [key, val] of Object.entries(dailyLearning)) {
13374
13376
  if (val) {
13375
13377
  const name = key === 'yerushalmi' ? val === 2 ? 'yerushalmi-schottenstein' : 'yerushalmi-vilna' : key;
13376
- const learningEv = DailyLearning.lookup(name, hd);
13378
+ const learningEv = DailyLearning.lookup(name, hd, il);
13377
13379
  if (learningEv) {
13378
13380
  evts.push(learningEv);
13379
13381
  }
@@ -13700,6 +13702,293 @@ function appendHolidayAndRelated(candlesEv, events, ev, options, isFriday, isSat
13700
13702
  return candlesEv;
13701
13703
  }
13702
13704
 
13705
+ // const Nisan = months.NISAN;
13706
+ // const Iyyar = months.IYYAR;
13707
+ // const Sivan = months.SIVAN;
13708
+ // const Tamuz = months.TAMUZ;
13709
+ // const Av = months.AV;
13710
+ // const Elul = months.ELUL;
13711
+ // const Tishrei = months.TISHREI;
13712
+ // const Cheshvan = months.CHESHVAN;
13713
+ // const Kislev = months.KISLEV;
13714
+ // const Shvat = months.SHVAT;
13715
+ // const Adar2 = months.ADAR_II;
13716
+ // const CHAG = flags.CHAG;
13717
+ // const LIGHT_CANDLES = flags.LIGHT_CANDLES;
13718
+ // const YOM_TOV_ENDS = flags.YOM_TOV_ENDS;
13719
+ // const CHUL_ONLY = flags.CHUL_ONLY;
13720
+ // const IL_ONLY = flags.IL_ONLY;
13721
+ // const LIGHT_CANDLES_TZEIS = flags.LIGHT_CANDLES_TZEIS;
13722
+ // const CHANUKAH_CANDLES = flags.CHANUKAH_CANDLES;
13723
+ // const MAJOR_FAST = flags.MAJOR_FAST;
13724
+ // const MINOR_HOLIDAY = flags.MINOR_HOLIDAY;
13725
+ // const EREV = flags.EREV;
13726
+ // const CHOL_HAMOED = flags.CHOL_HAMOED;
13727
+ // const emojiPesach = '🫓';
13728
+ // const emojiSukkot = '🌿🍋';
13729
+ /**
13730
+ * Transliterated names of holidays, used by `Event.getDesc()`
13731
+ * @readonly
13732
+ * @enum {string}
13733
+ */
13734
+ exports.HolidayDesc = void 0;
13735
+ (function (HolidayDesc) {
13736
+ /** Asara B'Tevet */
13737
+ HolidayDesc["ASARA_BTEVET"] = "Asara B'Tevet";
13738
+ /** Birkat Hachamah */
13739
+ HolidayDesc["BIRKAT_HACHAMAH"] = "Birkat Hachamah";
13740
+ /** Chag HaBanot */
13741
+ HolidayDesc["CHAG_HABANOT"] = "Chag HaBanot";
13742
+ /** Chanukah: 8th Day */
13743
+ HolidayDesc["CHANUKAH_8TH_DAY"] = "Chanukah: 8th Day";
13744
+ /** Erev Tish'a B'Av */
13745
+ HolidayDesc["EREV_TISHA_BAV"] = "Erev Tish'a B'Av";
13746
+ /** Leil Selichot */
13747
+ HolidayDesc["LEIL_SELICHOT"] = "Leil Selichot";
13748
+ /** Purim Katan */
13749
+ HolidayDesc["PURIM_KATAN"] = "Purim Katan";
13750
+ /** Purim Meshulash */
13751
+ HolidayDesc["PURIM_MESHULASH"] = "Purim Meshulash";
13752
+ /** Shabbat Chazon */
13753
+ HolidayDesc["SHABBAT_CHAZON"] = "Shabbat Chazon";
13754
+ /** Shabbat HaChodesh */
13755
+ HolidayDesc["SHABBAT_HACHODESH"] = "Shabbat HaChodesh";
13756
+ /** Shabbat HaGadol */
13757
+ HolidayDesc["SHABBAT_HAGADOL"] = "Shabbat HaGadol";
13758
+ /** Shabbat Nachamu */
13759
+ HolidayDesc["SHABBAT_NACHAMU"] = "Shabbat Nachamu";
13760
+ /** Shabbat Parah */
13761
+ HolidayDesc["SHABBAT_PARAH"] = "Shabbat Parah";
13762
+ /** Shabbat Shekalim */
13763
+ HolidayDesc["SHABBAT_SHEKALIM"] = "Shabbat Shekalim";
13764
+ /** Shabbat Shirah */
13765
+ HolidayDesc["SHABBAT_SHIRAH"] = "Shabbat Shirah";
13766
+ /** Shabbat Shuva */
13767
+ HolidayDesc["SHABBAT_SHUVA"] = "Shabbat Shuva";
13768
+ /** Shabbat Zachor */
13769
+ HolidayDesc["SHABBAT_ZACHOR"] = "Shabbat Zachor";
13770
+ /** Shushan Purim Katan */
13771
+ HolidayDesc["SHUSHAN_PURIM_KATAN"] = "Shushan Purim Katan";
13772
+ /** Ta'anit Bechorot */
13773
+ HolidayDesc["TAANIT_BECHOROT"] = "Ta'anit Bechorot";
13774
+ /** Ta'anit Esther */
13775
+ HolidayDesc["TAANIT_ESTHER"] = "Ta'anit Esther";
13776
+ /** Tish'a B'Av */
13777
+ HolidayDesc["TISHA_BAV"] = "Tish'a B'Av";
13778
+ /** Tzom Gedaliah */
13779
+ HolidayDesc["TZOM_GEDALIAH"] = "Tzom Gedaliah";
13780
+ /** Tzom Tammuz */
13781
+ HolidayDesc["TZOM_TAMMUZ"] = "Tzom Tammuz";
13782
+ /** Yom HaAtzma'ut */
13783
+ HolidayDesc["YOM_HAATZMA_UT"] = "Yom HaAtzma'ut";
13784
+ /** Yom HaShoah */
13785
+ HolidayDesc["YOM_HASHOAH"] = "Yom HaShoah";
13786
+ /** Yom HaZikaron */
13787
+ HolidayDesc["YOM_HAZIKARON"] = "Yom HaZikaron";
13788
+ /** Ben-Gurion Day */
13789
+ HolidayDesc["BEN_GURION_DAY"] = "Ben-Gurion Day";
13790
+ /** Chanukah: 1 Candle */
13791
+ HolidayDesc["CHANUKAH_1_CANDLE"] = "Chanukah: 1 Candle";
13792
+ /** Erev Pesach */
13793
+ HolidayDesc["EREV_PESACH"] = "Erev Pesach";
13794
+ /** Erev Purim */
13795
+ HolidayDesc["EREV_PURIM"] = "Erev Purim";
13796
+ /** Erev Rosh Hashana */
13797
+ HolidayDesc["EREV_ROSH_HASHANA"] = "Erev Rosh Hashana";
13798
+ /** Erev Shavuot */
13799
+ HolidayDesc["EREV_SHAVUOT"] = "Erev Shavuot";
13800
+ /** Erev Sukkot */
13801
+ HolidayDesc["EREV_SUKKOT"] = "Erev Sukkot";
13802
+ /** Erev Yom Kippur */
13803
+ HolidayDesc["EREV_YOM_KIPPUR"] = "Erev Yom Kippur";
13804
+ /** Family Day */
13805
+ HolidayDesc["FAMILY_DAY"] = "Family Day";
13806
+ /** Hebrew Language Day */
13807
+ HolidayDesc["HEBREW_LANGUAGE_DAY"] = "Hebrew Language Day";
13808
+ /** Herzl Day */
13809
+ HolidayDesc["HERZL_DAY"] = "Herzl Day";
13810
+ /** Jabotinsky Day */
13811
+ HolidayDesc["JABOTINSKY_DAY"] = "Jabotinsky Day";
13812
+ /** Lag BaOmer */
13813
+ HolidayDesc["LAG_BAOMER"] = "Lag BaOmer";
13814
+ /** Pesach I */
13815
+ HolidayDesc["PESACH_I"] = "Pesach I";
13816
+ /** Pesach II */
13817
+ HolidayDesc["PESACH_II"] = "Pesach II";
13818
+ /** Pesach III (CH''M) */
13819
+ HolidayDesc["PESACH_III_CHM"] = "Pesach III (CH''M)";
13820
+ /** Pesach II (CH''M) */
13821
+ HolidayDesc["PESACH_II_CHM"] = "Pesach II (CH''M)";
13822
+ /** Pesach IV (CH''M) */
13823
+ HolidayDesc["PESACH_IV_CHM"] = "Pesach IV (CH''M)";
13824
+ /** Pesach Sheni */
13825
+ HolidayDesc["PESACH_SHENI"] = "Pesach Sheni";
13826
+ /** Pesach VII */
13827
+ HolidayDesc["PESACH_VII"] = "Pesach VII";
13828
+ /** Pesach VIII */
13829
+ HolidayDesc["PESACH_VIII"] = "Pesach VIII";
13830
+ /** Pesach VI (CH''M) */
13831
+ HolidayDesc["PESACH_VI_CHM"] = "Pesach VI (CH''M)";
13832
+ /** Pesach V (CH''M) */
13833
+ HolidayDesc["PESACH_V_CHM"] = "Pesach V (CH''M)";
13834
+ /** Purim */
13835
+ HolidayDesc["PURIM"] = "Purim";
13836
+ /** Rosh Hashana II */
13837
+ HolidayDesc["ROSH_HASHANA_II"] = "Rosh Hashana II";
13838
+ /** Rosh Hashana LaBehemot */
13839
+ HolidayDesc["ROSH_HASHANA_LABEHEMOT"] = "Rosh Hashana LaBehemot";
13840
+ /** Shavuot */
13841
+ HolidayDesc["SHAVUOT"] = "Shavuot";
13842
+ /** Shavuot I */
13843
+ HolidayDesc["SHAVUOT_I"] = "Shavuot I";
13844
+ /** Shavuot II */
13845
+ HolidayDesc["SHAVUOT_II"] = "Shavuot II";
13846
+ /** Shmini Atzeret */
13847
+ HolidayDesc["SHMINI_ATZERET"] = "Shmini Atzeret";
13848
+ /** Shushan Purim */
13849
+ HolidayDesc["SHUSHAN_PURIM"] = "Shushan Purim";
13850
+ /** Sigd */
13851
+ HolidayDesc["SIGD"] = "Sigd";
13852
+ /** Simchat Torah */
13853
+ HolidayDesc["SIMCHAT_TORAH"] = "Simchat Torah";
13854
+ /** Sukkot I */
13855
+ HolidayDesc["SUKKOT_I"] = "Sukkot I";
13856
+ /** Sukkot II */
13857
+ HolidayDesc["SUKKOT_II"] = "Sukkot II";
13858
+ /** Sukkot III (CH''M) */
13859
+ HolidayDesc["SUKKOT_III_CHM"] = "Sukkot III (CH''M)";
13860
+ /** Sukkot II (CH''M) */
13861
+ HolidayDesc["SUKKOT_II_CHM"] = "Sukkot II (CH''M)";
13862
+ /** Sukkot IV (CH''M) */
13863
+ HolidayDesc["SUKKOT_IV_CHM"] = "Sukkot IV (CH''M)";
13864
+ /** Sukkot VII (Hoshana Raba) */
13865
+ HolidayDesc["SUKKOT_VII_HOSHANA_RABA"] = "Sukkot VII (Hoshana Raba)";
13866
+ /** Sukkot VI (CH''M) */
13867
+ HolidayDesc["SUKKOT_VI_CHM"] = "Sukkot VI (CH''M)";
13868
+ /** Sukkot V (CH''M) */
13869
+ HolidayDesc["SUKKOT_V_CHM"] = "Sukkot V (CH''M)";
13870
+ /** Tu B\'Av */
13871
+ HolidayDesc["TU_BAV"] = "Tu B'Av";
13872
+ /** Tu BiShvat */
13873
+ HolidayDesc["TU_BISHVAT"] = "Tu BiShvat";
13874
+ /** Yitzhak Rabin Memorial Day */
13875
+ HolidayDesc["YITZHAK_RABIN_MEMORIAL_DAY"] = "Yitzhak Rabin Memorial Day";
13876
+ /** Yom HaAliyah */
13877
+ HolidayDesc["YOM_HAALIYAH"] = "Yom HaAliyah";
13878
+ /** Yom HaAliyah School Observance */
13879
+ HolidayDesc["YOM_HAALIYAH_SCHOOL_OBSERVANCE"] = "Yom HaAliyah School Observance";
13880
+ /** Yom Kippur */
13881
+ HolidayDesc["YOM_KIPPUR"] = "Yom Kippur";
13882
+ /** Yom Yerushalayim */
13883
+ HolidayDesc["YOM_YERUSHALAYIM"] = "Yom Yerushalayim";
13884
+ })(exports.HolidayDesc || (exports.HolidayDesc = {}));
13885
+ // export const staticHolidays: Holiday[] = [
13886
+ // {mm: Tishrei, dd: 2, desc: HolidayDesc.ROSH_HASHANA_II, flags: CHAG | YOM_TOV_ENDS, emoji: '🍏🍯'},
13887
+ // {mm: Tishrei, dd: 9, desc: HolidayDesc.EREV_YOM_KIPPUR, flags: EREV | LIGHT_CANDLES},
13888
+ // {mm: Tishrei, dd: 10, desc: HolidayDesc.YOM_KIPPUR, flags: CHAG | MAJOR_FAST | YOM_TOV_ENDS},
13889
+ // {mm: Tishrei, dd: 14, desc: HolidayDesc.EREV_SUKKOT, flags: CHUL_ONLY | EREV | LIGHT_CANDLES, emoji: emojiSukkot},
13890
+ // {mm: Tishrei, dd: 15, desc: HolidayDesc.SUKKOT_I, flags: CHUL_ONLY | CHAG | LIGHT_CANDLES_TZEIS, emoji: emojiSukkot},
13891
+ // {mm: Tishrei, dd: 16, desc: HolidayDesc.SUKKOT_II, flags: CHUL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiSukkot},
13892
+ // {mm: Tishrei, dd: 17, desc: HolidayDesc.SUKKOT_III_CHM, flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 1, emoji: emojiSukkot},
13893
+ // {mm: Tishrei, dd: 18, desc: HolidayDesc.SUKKOT_IV_CHM, flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 2, emoji: emojiSukkot},
13894
+ // {mm: Tishrei, dd: 19, desc: HolidayDesc.SUKKOT_V_CHM, flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 3, emoji: emojiSukkot},
13895
+ // {mm: Tishrei, dd: 20, desc: HolidayDesc.SUKKOT_VI_CHM, flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 4, emoji: emojiSukkot},
13896
+ // {mm: Tishrei, dd: 22, desc: HolidayDesc.SHMINI_ATZERET,
13897
+ // flags: CHUL_ONLY | CHAG | LIGHT_CANDLES_TZEIS},
13898
+ // {mm: Tishrei, dd: 23, desc: HolidayDesc.SIMCHAT_TORAH,
13899
+ // flags: CHUL_ONLY | CHAG | YOM_TOV_ENDS},
13900
+ // {mm: Tishrei, dd: 14, desc: HolidayDesc.EREV_SUKKOT, flags: IL_ONLY | EREV | LIGHT_CANDLES, emoji: emojiSukkot},
13901
+ // {mm: Tishrei, dd: 15, desc: HolidayDesc.SUKKOT_I, flags: IL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiSukkot},
13902
+ // {mm: Tishrei, dd: 16, desc: HolidayDesc.SUKKOT_II_CHM, flags: IL_ONLY | CHOL_HAMOED, chmDay: 1, emoji: emojiSukkot},
13903
+ // {mm: Tishrei, dd: 17, desc: HolidayDesc.SUKKOT_III_CHM, flags: IL_ONLY | CHOL_HAMOED, chmDay: 2, emoji: emojiSukkot},
13904
+ // {mm: Tishrei, dd: 18, desc: HolidayDesc.SUKKOT_IV_CHM, flags: IL_ONLY | CHOL_HAMOED, chmDay: 3, emoji: emojiSukkot},
13905
+ // {mm: Tishrei, dd: 19, desc: HolidayDesc.SUKKOT_V_CHM, flags: IL_ONLY | CHOL_HAMOED, chmDay: 4, emoji: emojiSukkot},
13906
+ // {mm: Tishrei, dd: 20, desc: HolidayDesc.SUKKOT_VI_CHM, flags: IL_ONLY | CHOL_HAMOED, chmDay: 5, emoji: emojiSukkot},
13907
+ // {mm: Tishrei, dd: 22, desc: HolidayDesc.SHMINI_ATZERET,
13908
+ // flags: IL_ONLY | CHAG | YOM_TOV_ENDS},
13909
+ // {mm: Tishrei, dd: 21, desc: HolidayDesc.SUKKOT_VII_HOSHANA_RABA,
13910
+ // flags: LIGHT_CANDLES | CHOL_HAMOED, chmDay: -1, emoji: emojiSukkot},
13911
+ // {mm: Kislev, dd: 24, desc: HolidayDesc.CHANUKAH_1_CANDLE,
13912
+ // flags: EREV | MINOR_HOLIDAY | CHANUKAH_CANDLES, emoji: '🕎1️⃣'},
13913
+ // {mm: Shvat, dd: 15, desc: HolidayDesc.TU_BISHVAT, flags: MINOR_HOLIDAY, emoji: '🌳'},
13914
+ // {mm: Adar2, dd: 13, desc: HolidayDesc.EREV_PURIM, flags: EREV | MINOR_HOLIDAY, emoji: '🎭️📜'},
13915
+ // {mm: Adar2, dd: 14, desc: HolidayDesc.PURIM, flags: MINOR_HOLIDAY, emoji: '🎭️📜'},
13916
+ // {mm: Adar2, dd: 15, desc: HolidayDesc.SHUSHAN_PURIM, flags: MINOR_HOLIDAY, emoji: '🎭️📜'},
13917
+ // // Pesach Israel
13918
+ // {mm: Nisan, dd: 14, desc: HolidayDesc.EREV_PESACH,
13919
+ // flags: IL_ONLY | EREV | LIGHT_CANDLES, emoji: '🫓🍷'},
13920
+ // {mm: Nisan, dd: 15, desc: HolidayDesc.PESACH_I,
13921
+ // flags: IL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiPesach},
13922
+ // {mm: Nisan, dd: 16, desc: HolidayDesc.PESACH_II_CHM,
13923
+ // flags: IL_ONLY | CHOL_HAMOED, chmDay: 1, emoji: emojiPesach},
13924
+ // {mm: Nisan, dd: 17, desc: HolidayDesc.PESACH_III_CHM,
13925
+ // flags: IL_ONLY | CHOL_HAMOED, chmDay: 2, emoji: emojiPesach},
13926
+ // {mm: Nisan, dd: 18, desc: HolidayDesc.PESACH_IV_CHM,
13927
+ // flags: IL_ONLY | CHOL_HAMOED, chmDay: 3, emoji: emojiPesach},
13928
+ // {mm: Nisan, dd: 19, desc: HolidayDesc.PESACH_V_CHM,
13929
+ // flags: IL_ONLY | CHOL_HAMOED, chmDay: 4, emoji: emojiPesach},
13930
+ // {mm: Nisan, dd: 20, desc: HolidayDesc.PESACH_VI_CHM,
13931
+ // flags: IL_ONLY | CHOL_HAMOED | LIGHT_CANDLES, chmDay: 5, emoji: emojiPesach},
13932
+ // {mm: Nisan, dd: 21, desc: HolidayDesc.PESACH_VII,
13933
+ // flags: IL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiPesach},
13934
+ // // Pesach chutz l'aretz
13935
+ // {mm: Nisan, dd: 14, desc: HolidayDesc.EREV_PESACH,
13936
+ // flags: CHUL_ONLY | EREV | LIGHT_CANDLES, emoji: '🫓🍷'},
13937
+ // {mm: Nisan, dd: 15, desc: HolidayDesc.PESACH_I,
13938
+ // flags: CHUL_ONLY | CHAG | LIGHT_CANDLES_TZEIS, emoji: '🫓🍷'},
13939
+ // {mm: Nisan, dd: 16, desc: HolidayDesc.PESACH_II,
13940
+ // flags: CHUL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiPesach},
13941
+ // {mm: Nisan, dd: 17, desc: HolidayDesc.PESACH_III_CHM,
13942
+ // flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 1, emoji: emojiPesach},
13943
+ // {mm: Nisan, dd: 18, desc: HolidayDesc.PESACH_IV_CHM,
13944
+ // flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 2, emoji: emojiPesach},
13945
+ // {mm: Nisan, dd: 19, desc: HolidayDesc.PESACH_V_CHM,
13946
+ // flags: CHUL_ONLY | CHOL_HAMOED, chmDay: 3, emoji: emojiPesach},
13947
+ // {mm: Nisan, dd: 20, desc: HolidayDesc.PESACH_VI_CHM,
13948
+ // flags: CHUL_ONLY | CHOL_HAMOED | LIGHT_CANDLES, chmDay: 4, emoji: emojiPesach},
13949
+ // {mm: Nisan, dd: 21, desc: HolidayDesc.PESACH_VII,
13950
+ // flags: CHUL_ONLY | CHAG | LIGHT_CANDLES_TZEIS, emoji: emojiPesach},
13951
+ // {mm: Nisan, dd: 22, desc: HolidayDesc.PESACH_VIII,
13952
+ // flags: CHUL_ONLY | CHAG | YOM_TOV_ENDS, emoji: emojiPesach},
13953
+ // {mm: Iyyar, dd: 14, desc: HolidayDesc.PESACH_SHENI, flags: MINOR_HOLIDAY},
13954
+ // {mm: Iyyar, dd: 18, desc: HolidayDesc.LAG_BAOMER, flags: MINOR_HOLIDAY, emoji: '🔥'},
13955
+ // {mm: Sivan, dd: 5, desc: HolidayDesc.EREV_SHAVUOT,
13956
+ // flags: EREV | LIGHT_CANDLES, emoji: '⛰️🌸'},
13957
+ // {mm: Sivan, dd: 6, desc: HolidayDesc.SHAVUOT,
13958
+ // flags: IL_ONLY | CHAG | YOM_TOV_ENDS, emoji: '⛰️🌸'},
13959
+ // {mm: Sivan, dd: 6, desc: HolidayDesc.SHAVUOT_I,
13960
+ // flags: CHUL_ONLY | CHAG | LIGHT_CANDLES_TZEIS, emoji: '⛰️🌸'},
13961
+ // {mm: Sivan, dd: 7, desc: HolidayDesc.SHAVUOT_II,
13962
+ // flags: CHUL_ONLY | CHAG | YOM_TOV_ENDS, emoji: '⛰️🌸'},
13963
+ // {mm: Av, dd: 15, desc: HolidayDesc.TU_BAV,
13964
+ // flags: MINOR_HOLIDAY, emoji: '❤️'},
13965
+ // {mm: Elul, dd: 1, desc: HolidayDesc.ROSH_HASHANA_LABEHEMOT,
13966
+ // flags: MINOR_HOLIDAY, emoji: '🐑'},
13967
+ // {mm: Elul, dd: 29, desc: HolidayDesc.EREV_ROSH_HASHANA,
13968
+ // flags: EREV | LIGHT_CANDLES, emoji: '🍏🍯'},
13969
+ // ];
13970
+ // export const staticModernHolidays: ModernHoliday[] = [
13971
+ // {firstYear: 5727, mm: Iyyar, dd: 28, desc: HolidayDesc.YOM_YERUSHALAYIM,
13972
+ // chul: true},
13973
+ // {firstYear: 5737, mm: Kislev, dd: 6, desc: HolidayDesc.BEN_GURION_DAY,
13974
+ // satPostponeToSun: true, friPostponeToSun: true},
13975
+ // {firstYear: 5750, mm: Shvat, dd: 30, desc: HolidayDesc.FAMILY_DAY},
13976
+ // {firstYear: 5758, mm: Cheshvan, dd: 12, desc: HolidayDesc.YITZHAK_RABIN_MEMORIAL_DAY,
13977
+ // friSatMovetoThu: true},
13978
+ // {firstYear: 5764, mm: Iyyar, dd: 10, desc: HolidayDesc.HERZL_DAY,
13979
+ // satPostponeToSun: true},
13980
+ // {firstYear: 5765, mm: Tamuz, dd: 29, desc: HolidayDesc.JABOTINSKY_DAY,
13981
+ // satPostponeToSun: true},
13982
+ // {firstYear: 5769, mm: Cheshvan, dd: 29, desc: HolidayDesc.SIGD,
13983
+ // chul: true, suppressEmoji: true},
13984
+ // {firstYear: 5777, mm: Nisan, dd: 10, desc: HolidayDesc.YOM_HAALIYAH,
13985
+ // chul: true},
13986
+ // {firstYear: 5777, mm: Cheshvan, dd: 7, desc: HolidayDesc.YOM_HAALIYAH_SCHOOL_OBSERVANCE},
13987
+ // // https://www.gov.il/he/departments/policies/2012_des5234
13988
+ // {firstYear: 5773, mm: months.TEVET, dd: 21, desc: HolidayDesc.HEBREW_LANGUAGE_DAY,
13989
+ // friSatMovetoThu: true},
13990
+ // ];
13991
+
13703
13992
  exports.AsaraBTevetEvent = AsaraBTevetEvent;
13704
13993
  exports.CandleLightingEvent = CandleLightingEvent;
13705
13994
  exports.DailyLearning = DailyLearning;