@hebcal/core 3.48.2 → 3.48.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/core v3.48.2 */
1
+ /*! @hebcal/core v3.48.3 */
2
2
  var hebcal = (function (exports) {
3
3
  'use strict';
4
4
 
@@ -1677,7 +1677,7 @@ function num2digits(num) {
1677
1677
  * @param {number} number
1678
1678
  * @return {string}
1679
1679
  */
1680
- function gematriya$1(number) {
1680
+ function gematriya(number) {
1681
1681
  var num = parseInt(number, 10);
1682
1682
  if (!num) {
1683
1683
  throw new TypeError("invalid parameter to gematriya ".concat(number));
@@ -2706,7 +2706,7 @@ var HDate = /*#__PURE__*/function () {
2706
2706
  var d = this.getDate();
2707
2707
  var m = Locale.gettext(this.getMonthName(), 'he');
2708
2708
  var y = this.getFullYear();
2709
- return gematriya$1(d) + ' ' + m + ' ' + gematriya$1(y);
2709
+ return gematriya(d) + ' ' + m + ' ' + gematriya(y);
2710
2710
  }
2711
2711
 
2712
2712
  /**
@@ -3560,7 +3560,7 @@ var HebrewDateEvent = /*#__PURE__*/function (_Event) {
3560
3560
  var dd = hd.getDate();
3561
3561
  var mm = Locale.gettext(hd.getMonthName(), locale0);
3562
3562
  var yy = hd.getFullYear();
3563
- return gematriya$1(dd) + ' ' + mm + ' ' + gematriya$1(yy);
3563
+ return gematriya(dd) + ' ' + mm + ' ' + gematriya(yy);
3564
3564
  default:
3565
3565
  return hd.render(locale0, true);
3566
3566
  }
@@ -3591,7 +3591,7 @@ var HebrewDateEvent = /*#__PURE__*/function (_Event) {
3591
3591
  case 'he-x-nonikud':
3592
3592
  var dd = hd.getDate();
3593
3593
  var mm = Locale.gettext(hd.getMonthName(), locale0);
3594
- return gematriya$1(dd) + ' ' + mm;
3594
+ return gematriya(dd) + ' ' + mm;
3595
3595
  default:
3596
3596
  return hd.render(locale0, false);
3597
3597
  }
@@ -3607,7 +3607,7 @@ var HebrewDateEvent = /*#__PURE__*/function (_Event) {
3607
3607
  }], [{
3608
3608
  key: "renderHebrew",
3609
3609
  value: function renderHebrew(day, monthName, fullYear) {
3610
- return gematriya$1(day) + ' ' + monthName + ' ' + gematriya$1(fullYear);
3610
+ return gematriya(day) + ' ' + monthName + ' ' + gematriya(fullYear);
3611
3611
  }
3612
3612
  }]);
3613
3613
  return HebrewDateEvent;
@@ -5327,7 +5327,7 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
5327
5327
  value: function render(locale) {
5328
5328
  locale = locale || Locale.getLocaleName();
5329
5329
  var omer = this.omer;
5330
- var nth = locale == 'he' ? gematriya$1(omer) : Locale.ordinal(omer, locale);
5330
+ var nth = locale == 'he' ? gematriya(omer) : Locale.ordinal(omer, locale);
5331
5331
  return nth + ' ' + Locale.gettext('day of the Omer', locale);
5332
5332
  }
5333
5333
  /**
@@ -5591,7 +5591,7 @@ var DafYomi = /*#__PURE__*/function () {
5591
5591
  locale = locale.toLowerCase();
5592
5592
  }
5593
5593
  if (locale === 'he' || locale === 'he-x-nonikud') {
5594
- return Locale.gettext(this.name, locale) + ' דף ' + gematriya$1(this.blatt);
5594
+ return Locale.gettext(this.name, locale) + ' דף ' + gematriya(this.blatt);
5595
5595
  }
5596
5596
  return Locale.gettext(this.name, locale) + ' ' + this.blatt;
5597
5597
  }
@@ -7898,7 +7898,7 @@ var YerushalmiYomiEvent = /*#__PURE__*/function (_Event) {
7898
7898
  }
7899
7899
  var name = Locale.gettext(this.daf.name, locale);
7900
7900
  if (locale === 'he' || locale === 'he-x-nonikud') {
7901
- return name + ' דף ' + gematriya$1(this.daf.blatt);
7901
+ return name + ' דף ' + gematriya(this.daf.blatt);
7902
7902
  }
7903
7903
  return name + ' ' + this.daf.blatt;
7904
7904
  }
@@ -8018,7 +8018,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
8018
8018
  return new HDate(day, month, hyear);
8019
8019
  }
8020
8020
 
8021
- var version="3.48.2";
8021
+ var version="3.48.3";
8022
8022
 
8023
8023
  var headers$1={"plural-forms":"nplurals=2; plural=(n > 1);"};var contexts$1={"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}};var poAshkenazi = {headers:headers$1,contexts:contexts$1};
8024
8024
 
@@ -9483,7 +9483,7 @@ exports.TimedEvent = TimedEvent;
9483
9483
  exports.YerushalmiYomiEvent = YerushalmiYomiEvent;
9484
9484
  exports.Zmanim = Zmanim;
9485
9485
  exports.flags = flags;
9486
- exports.gematriya = gematriya$1;
9486
+ exports.gematriya = gematriya;
9487
9487
  exports.greg = greg;
9488
9488
  exports.months = months;
9489
9489
  exports.parshiot = parshiot;