@hebcal/rest-api 6.0.0 → 6.0.1
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 +72 -5015
- package/dist/bundle.min.js +2 -46
- package/dist/fullcalendar.js +29 -4769
- package/dist/fullcalendar.min.js +2 -46
- package/dist/index.mjs +19 -287
- package/dist/{classic-rest-api.d.ts → src/classic-rest-api.d.ts} +2 -1
- package/dist/{common.d.ts → src/common.d.ts} +3 -1
- package/dist/{csv.d.ts → src/csv.d.ts} +1 -1
- package/dist/{fullcalendar.d.ts → src/fullcalendar.d.ts} +1 -1
- package/dist/{rss.d.ts → src/rss.d.ts} +1 -1
- package/package.json +12 -11
- package/dist/countryNames.json.d.ts +0 -203
- package/dist/holidays.json.d.ts +0 -70
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{makeAnchor.d.ts → src/makeAnchor.d.ts} +0 -0
- /package/dist/{shorten.d.ts → src/shorten.d.ts} +0 -0
package/dist/bundle.min.js
CHANGED
|
@@ -1,46 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v6.0.
|
|
2
|
-
var hebcal__rest_api=function(e,a,t){"use strict";
|
|
3
|
-
/*! @hebcal/hdate v0.12.0 */const o=[0,31,28,31,30,31,30,31,31,30,31,30,31],r=[o,o.slice()];function h(e,a){return e-a*Math.floor(e/a)}function n(e,a){return Math.floor(e/a)}function i(e){return!(e%4||!(e%100)&&e%400)}function s(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function l(e,a,t){const o=e-1;return 365*o+n(o,4)-n(o,100)+n(o,400)+n(367*a-362,12)+(a<=2?0:i(e)?-1:-2)+t}function c(e){if(!s(e))throw new TypeError(`Argument not a Date: ${e}`);return l(e.getFullYear(),e.getMonth()+1,e.getDate())}function u(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const a=function(e){const a=e-1,t=n(a,146097),o=h(a,146097),r=n(o,36524),i=h(o,36524),s=n(i,1461),l=n(h(i,1461),365),c=400*t+100*r+4*s+l;return 4!==r&&4!==l?c+1:c}(e=Math.trunc(e)),t=n(12*(e-l(a,1,1)+(e<l(a,3,1)?0:i(a)?1:2))+373,367),o=e-l(a,t,1)+1,r=new Date(a,t-1,o);return a<100&&a>=0&&r.setFullYear(a),r}
|
|
4
|
-
/*! @hebcal/hdate v0.12.0 */var b;r[1][2]=29,b||(b={}),b.abs2greg=u,b.daysInMonth=function(e,a){return r[+i(a)][e]},b.greg2abs=c,b.isDate=s,b.isLeapYear=i;
|
|
5
|
-
/*! @hebcal/hdate v0.12.0 */
|
|
6
|
-
const d=1,m=2,f=3,k=4,y=5,p=6,g=7,S=8,w=9,M=10,I=11,C=12,v=13,T=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],H=[T.concat(["Adar","Nisan"]),T.concat(["Adar I","Adar II","Nisan"])],D=new Map,A=-1373428;function E(e,a){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${a}' not a number: ${e}`)}function R(e,a,t){if(E(e,"year"),E(a,"month"),E(t,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let o=t;if(a<7){for(let a=7;a<=B(e);a++)o+=N(a,e);for(let t=1;t<a;t++)o+=N(t,e)}else for(let t=7;t<a;t++)o+=N(t,e);return A+K(e)+o-1}function P(e){return A+K(e)}function z(e){return(1+7*e)%19<7}function B(e){return+z(e)+12}function N(e,a){switch(e){case 2:case 4:case 6:case 10:case 13:return 29}return 12===e&&!z(a)||8===e&&!V(a)||9===e&&j(a)?29:30}function Y(e,a){if(E(e,"month"),E(a,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return H[+z(a)][e]}function K(e){const a=D.get(e);if("number"==typeof a)return a;const t=function(e){const a=e-1,t=235*Math.floor(a/19)+a%19*12+Math.floor((a%19*7+1)/19),o=204+t%1080*793,r=5+12*t+793*Math.floor(t/1080)+Math.floor(o/1080),h=o%1080+r%24*1080,n=1+29*t+Math.floor(r/24);let i=n;(h>=19440||2==n%7&&h>=9924&&!z(e)||1==n%7&&h>=16789&&z(a))&&i++;return i%7==0||i%7==3||i%7==5?i+1:i}(e);return D.set(e,t),t}function $(e){return K(e+1)-K(e)}function V(e){return $(e)%10==5}function j(e){return $(e)%10==3}
|
|
7
|
-
/*! @hebcal/hdate v0.12.0 */
|
|
8
|
-
const F={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},L=new Map,x=new Map;for(const[e,a]of Object.entries(F))L.set(e,a),x.set(a,e);function O(e){const a=[];for(;e>0;){if(15===e||16===e){a.push(9),a.push(e-9);break}let t,o=100;for(t=400;t>e;t-=o)t===o&&(o/=10);a.push(t),e-=t}return a}function J(e){const a=parseInt(e,10);if(!a||a<0)throw new TypeError(`invalid gematriya number: ${e}`);let t="";const o=Math.floor(a/1e3);if(o>0&&5!==o){const e=O(o);for(const a of e)t+=x.get(a);t+="׳"}const r=O(a%1e3);if(1===r.length)return t+x.get(r[0])+"׳";for(let e=0;e<r.length;e++)e+1===r.length&&(t+="״"),t+=x.get(r[e]);return t}function G(e){let a=0;const t=e.indexOf("׳");if(-1!==t&&t!==e.length-1){a+=1e3*G(e.substring(0,t)),e=e.substring(t)}for(const t of e){const e=L.get(t);"number"==typeof e&&(a+=e)}return a}
|
|
9
|
-
/*! @hebcal/hdate v0.12.0 */function _(e){return e<0?"-00"+_(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function Z(e){return e>=0&&e<10?"0"+e:String(e)}
|
|
10
|
-
/*! @hebcal/hdate v0.12.0 */function U(e){return _(e.getFullYear())+"-"+Z(e.getMonth()+1)+"-"+Z(e.getDate())}
|
|
11
|
-
/*! @hebcal/hdate v0.12.0 */var W={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Tevet:["Teves"]}}},q={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"]}}};
|
|
12
|
-
/*! @hebcal/hdate v0.12.0 */
|
|
13
|
-
/*! @hebcal/hdate v0.12.0 */
|
|
14
|
-
const Q={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},X={h:"he",a:"ashkenazi",s:"en","":"en"},ee=new Map;let ae,te;function oe(e){const a=["th","st","nd","rd"],t=e%100;return e+(a[(t-20)%10]||a[t]||a[0])}function re(e){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);return e.toLowerCase()}function he(e){const a=re(e),t=ee.get(a);if(!t)throw new RangeError(`Locale '${e}' not found`);return t}class ne{static lookupTranslation(e,a){const t=("string"==typeof a&&ee.get(a.toLowerCase())||ae)[e];if((null==t?void 0:t.length)&&t[0].length)return t[0]}static gettext(e,a){const t=this.lookupTranslation(e,a);return void 0===t?e:t}static addLocale(e,a){if(e=re(e),"object"!=typeof a.contexts||"object"!=typeof a.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);ee.set(e,a.contexts[""])}static addTranslation(e,a,t){const o=he(e);if("string"!=typeof a||0===a.length)throw new TypeError(`Invalid id string: ${a}`);const r=Array.isArray(t);if(r){const e=t[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${t}`)}else if("string"!=typeof t)throw new TypeError(`Invalid translation string: ${t}`);o[a]=r?t:[t]}static addTranslations(e,a){const t=he(e);if("object"!=typeof a.contexts||"object"!=typeof a.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);const o=a.contexts[""];Object.assign(t,o)}static useLocale(e){const a=re(e),t=he(a);return te=X[a]||a,ae=t,ae}static getLocaleName(){return te}static getLocaleNames(){return Array.from(ee.keys()).sort(((e,a)=>e.localeCompare(a)))}static ordinal(e,a){const t=(null==a?void 0:a.toLowerCase())||te;if(!t)return oe(e);switch(t){case"en":case"s":case"a":return oe(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e)}return t.startsWith("ashkenazi")?oe(e):e+"."}static hebrewStripNikkud(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}ne.addLocale("en",Q),ne.addLocale("s",Q),ne.addLocale("",Q),ne.useLocale("en"),ne.addLocale("ashkenazi",W),ne.addLocale("a",W),ne.addLocale("he",q),ne.addLocale("h",q);const ie=q.contexts[""],se={};for(const[e,a]of Object.entries(ie))se[e]=[ne.hebrewStripNikkud(a[0])];const le={headers:q.headers,contexts:{"":se}};ne.addLocale("he-x-NoNikud",le);const ce="day",ue="week",be="month",de="year";class me{constructor(e,a,t){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const h="string"==typeof t?parseInt(t,10):t;if(isNaN(h))throw new TypeError(`HDate called with bad year argument: ${t}`);this.yy=h,function(e,a){e.mm=me.monthNum(a),fe(e)}(this,a);const n="string"==typeof e?parseInt(e,10):e;if(isNaN(n))throw new TypeError(`HDate called with bad day argument: ${e}`);r=n,(o=this).dd=r,fe(o)}else{null==e&&(e=new Date);const a="number"!=typeof e||isNaN(e)?s(e)?c(e):void 0!==e.yy?e:null:e;if(null===a)throw new TypeError(`HDate called with bad argument: ${e}`);const t="number"==typeof a,o=t?function(e){if(E(e,"abs"),(e=Math.trunc(e))<=A)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let a=Math.floor((e-A)/365.24682220597794);for(;P(a)<=e;)++a;--a;let t=e<R(a,1,1)?7:1;for(;e>R(a,t,N(t,a));)++t;return{yy:a,mm:t,dd:1+e-R(a,t,1)}}(a):a;this.yy=o.yy,this.mm=o.mm,this.dd=o.dd,t&&(this.rd=a)}var o,r}getFullYear(){return this.yy}isLeapYear(){return z(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=B(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return N(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){return(e=this.abs())-(a=7)*Math.floor(e/a);
|
|
15
|
-
/*! @hebcal/hdate v0.12.0 */
|
|
16
|
-
var e,a}greg(){return u(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=R(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,a,t){return R(e,a,t)}getMonthName(){return Y(this.getMonth(),this.getFullYear())}render(e,a=!0){const t=e||ne.getLocaleName(),o=this.getDate(),r=ne.gettext(this.getMonthName(),t).replace(/'/g,"’"),h=ne.ordinal(o,t),n=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const a=ne.lookupTranslation("of",e);if(a)return" "+a;if(e.startsWith("ashkenazi"))return" of";return""}(t),i=`${h}${n} ${r}`;if(a){return`${i}, ${this.getFullYear()}`}return i}renderGematriya(e=!1){const a=this.getDate(),t=e?"he-x-NoNikud":"he",o=ne.gettext(this.getMonthName(),t),r=this.getFullYear();return J(a)+" "+o+" "+J(r)}before(e){return ye(e,this,-1)}onOrBefore(e){return ye(e,this,0)}nearest(e){return ye(e,this,3)}onOrAfter(e){return ye(e,this,6)}after(e){return ye(e,this,7)}next(){return new me(this.abs()+1)}prev(){return new me(this.abs()-1)}add(e,a="d"){if(!(e="string"==typeof e?parseInt(e,10):e))return new me(this);if((a=function(e){switch(e){case"d":return ce;case"w":return ue;case"M":return be;case"y":return de}const a=String(e||"").toLowerCase().replace(/s$/,"");switch(a){case ce:case ue:case be:case de:return a}throw new TypeError(`Invalid units '${e}'`)}(a))===ce)return new me(this.abs()+e);if(a===ue)return new me(this.abs()+7*e);if(a===de)return new me(this.getDate(),this.getMonth(),this.getFullYear()+e);{let a=new me(this);const t=e>0?1:-1;e=Math.abs(e);for(let o=0;o<e;o++)a=new me(a.abs()+t*a.daysInMonth());return a}}subtract(e,a="d"){return this.add(-1*e,a)}deltaDays(e){return this.abs()-e.abs()}isSameDate(e){return this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd}toString(){const e=this.getDate(),a=this.getFullYear();return`${e} ${this.getMonthName()} ${a}`}static isLeapYear(e){return z(e)}static monthsInYear(e){return B(e)}static daysInMonth(e,a){return N(e,a)}static getMonthName(e,a){return Y(e,a)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`Invalid month number: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):me.monthFromName(e)}static daysInYear(e){return $(e)}static longCheshvan(e){return V(e)}static shortKislev(e){return j(e)}static monthFromName(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}return function(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`Invalid month name: ${e}`);return e}let a=e.trim().toLowerCase();switch("ב"===a[0]&&(a=a.substring(1)),a[0]){case"n":case"נ":if("o"===a[1])break;return 1;case"i":return 2;case"e":return 6;case"c":case"ח":return 8;case"k":case"כ":return 9;case"s":switch(a[1]){case"i":return 3;case"h":return 11}break;case"t":switch(a[1]){case"a":return 4;case"i":return 7;case"e":return 10}break;case"a":switch(a[1]){case"v":return 5;case"d":return/(1|[^i]i|a|א)$/i.test(e)?12:13}break;case"ס":return 3;case"ט":return 10;case"ש":return 11;case"א":switch(a[1]){case"ב":return 5;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?12:13;case"י":return 2;case"ל":return 6}break;case"ת":switch(a[1]){case"מ":return 4;case"ש":return 7}}throw new RangeError(`Unable to parse month name: ${e}`)}(ne.hebrewStripNikkud(e))}static dayOnOrBefore(e,a){return a-(a-e)%7}static isHDate(e){return null!==e&&"object"==typeof e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd&&"function"==typeof e.greg&&"function"==typeof e.abs}static fromGematriyaString(e,a=5e3){const t=e.split(" ").filter((e=>0!==e.length)),o=t.length;if(3!==o&&4!==o)throw new RangeError(`Unable to parse gematriya string: "${e}"`);const r=G(t[0]),h=3===o?t[1]:t[1]+" "+t[2],n=me.monthFromName(h);let i=G(3===o?t[2]:t[3]);return i<1e3&&(i+=a),new me(r,n,i)}}function fe(e){ke(e),function(e){e.dd<1&&(e.mm===g&&(e.yy-=1),e.dd+=N(e.mm,e.yy),e.mm-=1,fe(e));e.dd>N(e.mm,e.yy)&&(e.mm===p&&(e.yy+=1),e.dd-=N(e.mm,e.yy),e.mm===B(e.yy)?e.mm=1:e.mm+=1,fe(e));ke(e)}(e)}function ke(e){e.mm!==v||e.isLeapYear()?e.mm<1?(e.mm+=B(e.yy),e.yy-=1,fe(e)):e.mm>B(e.yy)&&(e.mm-=B(e.yy),e.yy+=1,fe(e)):(e.mm-=1,fe(e)),delete e.rd}function ye(e,a,t){return new me(me.dayOnOrBefore(e,a.abs()+t))}
|
|
17
|
-
/*! @hebcal/core v5.7.7 */var pe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["Shabbos"],"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"],"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"],"Asara B'Tevet":["Asara B’Teves"],"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"]}}},ge={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Shabbat:["שַׁבָּת"],"Daf Yomi":["דַף יוֹמִי"],Parashat:["פָּרָשַׁת"],"Achrei Mot":["אַחֲרֵי מוֹת"],Balak:["בָּלָק"],Bamidbar:["בְּמִדְבַּר"],Bechukotai:["בְּחֻקֹּתַי"],"Beha'alotcha":["בְּהַעֲלֹתְךָ"],Behar:["בְּהַר"],Bereshit:["בְּרֵאשִׁית"],Beshalach:["בְּשַׁלַּח"],Bo:["בֹּא"],"Chayei Sara":["חַיֵּי שָֹרָה"],Chukat:["חֻקַּת"],Devarim:["דְּבָרִים"],Eikev:["עֵקֶב"],Emor:["אֱמוֹר"],"Ha'azinu":["הַאֲזִינוּ"],Kedoshim:["קְדשִׁים"],"Ki Tavo":["כִּי־תָבוֹא"],"Ki Teitzei":["כִּי־תֵצֵא"],"Ki Tisa":["כִּי תִשָּׂא"],Korach:["קוֹרַח"],"Lech-Lecha":["לֶךְ־לְךָ"],Masei:["מַסְעֵי"],Matot:["מַּטּוֹת"],Metzora:["מְּצֹרָע"],Miketz:["מִקֵּץ"],Mishpatim:["מִּשְׁפָּטִים"],Nasso:["נָשׂא"],Nitzavim:["נִצָּבִים"],Noach:["נֹחַ"],Pekudei:["פְקוּדֵי"],Pinchas:["פִּינְחָס"],"Re'eh":["רְאֵה"],"Sh'lach":["שְׁלַח־לְךָ"],Shemot:["שְׁמוֹת"],Shmini:["שְּׁמִינִי"],Shoftim:["שׁוֹפְטִים"],Tazria:["תַזְרִיעַ"],Terumah:["תְּרוּמָה"],Tetzaveh:["תְּצַוֶּה"],Toldot:["תּוֹלְדוֹת"],Tzav:["צַו"],Vaera:["וָאֵרָא"],Vaetchanan:["וָאֶתְחַנַּן"],Vayakhel:["וַיַּקְהֵל"],Vayechi:["וַיְחִי"],Vayeilech:["וַיֵּלֶךְ"],Vayera:["וַיֵּרָא"],Vayeshev:["וַיֵּשֶׁב"],Vayetzei:["וַיֵּצֵא"],Vayigash:["וַיִּגַּשׁ"],Vayikra:["וַיִּקְרָא"],Vayishlach:["וַיִּשְׁלַח"],"Vezot Haberakhah":["וְזֹאת הַבְּרָכָה"],Yitro:["יִתְרוֹ"],"Asara B'Tevet":["עֲשָׂרָה בְּטֵבֵת"],"Candle lighting":["הַדְלָקַת נֵרוֹת"],Chanukah:["חֲנוּכָּה"],"Chanukah: 1 Candle":["חֲנוּכָּה: א׳ נֵר"],"Chanukah: 2 Candles":["חֲנוּכָּה: ב׳ נֵרוֹת"],"Chanukah: 3 Candles":["חֲנוּכָּה: ג׳ נֵרוֹת"],"Chanukah: 4 Candles":["חֲנוּכָּה: ד׳ נֵרוֹת"],"Chanukah: 5 Candles":["חֲנוּכָּה: ה׳ נֵרוֹת"],"Chanukah: 6 Candles":["חֲנוּכָּה: ו׳ נֵרוֹת"],"Chanukah: 7 Candles":["חֲנוּכָּה: ז׳ נֵרוֹת"],"Chanukah: 8 Candles":["חֲנוּכָּה: ח׳ נֵרוֹת"],"Chanukah: 8th Day":["חֲנוּכָּה: יוֹם ח׳"],"Days of the Omer":["סְפִירַת הָעוֹמֶר"],Omer:["עוֹמֶר"],"day of the Omer":["בָּעוֹמֶר"],"Erev Pesach":["עֶרֶב פֶּסַח"],"Erev Purim":["עֶרֶב פּוּרִים"],"Erev Rosh Hashana":["עֶרֶב רֹאשׁ הַשָּׁנָה"],"Erev Shavuot":["עֶרֶב שָׁבוּעוֹת"],"Erev Simchat Torah":["עֶרֶב שִׂמְחַת תּוֹרָה"],"Erev Sukkot":["עֶרֶב סוּכּוֹת"],"Erev Tish'a B'Av":["עֶרֶב תִּשְׁעָה בְּאָב"],"Erev Yom Kippur":["עֶרֶב יוֹם כִּפּוּר"],Havdalah:["הַבְדָּלָה"],"Lag BaOmer":["ל״ג בָּעוֹמֶר"],"Leil Selichot":["סליחות"],Pesach:["פֶּסַח"],"Pesach I":["פֶּסַח א׳"],"Pesach II":["פֶּסַח ב׳"],"Pesach II (CH''M)":["פֶּסַח ב׳ (חוה״מ)"],"Pesach III (CH''M)":["פֶּסַח ג׳ (חוה״מ)"],"Pesach IV (CH''M)":["פֶּסַח ד׳ (חוה״מ)"],"Pesach Sheni":["פֶּסַח שני"],"Pesach V (CH''M)":["פֶּסַח ה׳ (חוה״מ)"],"Pesach VI (CH''M)":["פֶּסַח ו׳ (חוה״מ)"],"Pesach VII":["פֶּסַח ז׳"],"Pesach VIII":["פֶּסַח ח׳"],Purim:["פּוּרִים"],"Purim Katan":["פּוּרִים קָטָן"],"Rosh Chodesh %s":["רֹאשׁ חוֹדֶשׁ %s"],"Rosh Chodesh":["רֹאשׁ חוֹדֶשׁ"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבָּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבָּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבָּת הַגָּדוֹל"],"Shabbat Nachamu":["שַׁבָּת נַחֲמוּ"],"Shabbat Parah":["שַׁבָּת פּרה"],"Shabbat Shekalim":["שַׁבָּת שְׁקָלִים"],"Shabbat Shuva":["שַׁבָּת שׁוּבָה"],"Shabbat Zachor":["שַׁבָּת זָכוֹר"],Shavuot:["שָׁבוּעוֹת"],"Shavuot I":["שָׁבוּעוֹת א׳"],"Shavuot II":["שָׁבוּעוֹת ב׳"],"Shmini Atzeret":["שְׁמִינִי עֲצֶרֶת"],"Shushan Purim":["שׁוּשָׁן פּוּרִים"],Sigd:["סיגד"],"Simchat Torah":["שִׂמְחַת תּוֹרָה"],Sukkot:["סוּכּוֹת"],"Sukkot I":["סוּכּוֹת א׳"],"Sukkot II":["סוּכּוֹת ב׳"],"Sukkot II (CH''M)":["סוּכּוֹת ב׳ (חוה״מ)"],"Sukkot III (CH''M)":["סוּכּוֹת ג׳ (חוה״מ)"],"Sukkot IV (CH''M)":["סוּכּוֹת ד׳ (חוה״מ)"],"Sukkot V (CH''M)":["סוּכּוֹת ה׳ (חוה״מ)"],"Sukkot VI (CH''M)":["סוּכּוֹת ו׳ (חוה״מ)"],"Sukkot VII (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Ta'anit Bechorot":["תַּעֲנִית בְּכוֹרוֹת"],"Ta'anit Esther":["תַּעֲנִית אֶסְתֵּר"],"Tish'a B'Av":["תִּשְׁעָה בְּאָב"],"Tu B'Av":["טוּ בְּאָב"],"Tu BiShvat":["טוּ בִּשְׁבָט"],"Tu B'Shvat":["טוּ בִּשְׁבָט"],"Tzom Gedaliah":["צוֹם גְּדַלְיָה"],"Tzom Tammuz":["צוֹם תָּמוּז"],"Yom HaAtzma'ut":["יוֹם הָעַצְמָאוּת"],"Yom HaShoah":["יוֹם הַשּׁוֹאָה"],"Yom HaZikaron":["יוֹם הַזִּכָּרוֹן"],"Yom Kippur":["יוֹם כִּפּוּר"],"Yom Yerushalayim":["יוֹם יְרוּשָׁלַיִם"],"Yom HaAliyah":["יוֹם הַעֲלִיָּה"],"Yom HaAliyah School Observance":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Rosh Chodesh Adar":["רֹאשׁ חוֹדֶשׁ אַדָר"],"Rosh Chodesh Adar I":["רֹאשׁ חוֹדֶשׁ אַדָר א׳"],"Rosh Chodesh Adar II":["רֹאשׁ חוֹדֶשׁ אַדָר ב׳"],"Rosh Chodesh Av":["רֹאשׁ חוֹדֶשׁ אָב"],"Rosh Chodesh Cheshvan":["רֹאשׁ חוֹדֶשׁ חֶשְׁוָן"],"Rosh Chodesh Elul":["רֹאשׁ חוֹדֶשׁ אֱלוּל"],"Rosh Chodesh Iyyar":["רֹאשׁ חוֹדֶשׁ אִיָיר"],"Rosh Chodesh Kislev":["רֹאשׁ חוֹדֶשׁ כִּסְלֵו"],"Rosh Chodesh Nisan":["רֹאשׁ חוֹדֶשׁ נִיסָן"],"Rosh Chodesh Sh'vat":["רֹאשׁ חוֹדֶשׁ שְׁבָט"],"Rosh Chodesh Sivan":["רֹאשׁ חוֹדֶשׁ סִיוָן"],"Rosh Chodesh Tamuz":["רֹאשׁ חוֹדֶשׁ תָּמוּז"],"Rosh Chodesh Tevet":["רֹאשׁ חוֹדֶשׁ טֵבֵת"],min:["דַּקּוֹת"],"Fast begins":["תחילת הַצוֹם"],"Fast ends":["סִיּוּם הַצוֹם"],"Rosh Hashana LaBehemot":["רֹאשׁ הַשָּׁנָה לְמַעְשַׂר בְּהֵמָה"],"Tish'a B'Av (observed)":["תִּשְׁעָה בְּאָב נִדחֶה"],"Shabbat Mevarchim Chodesh":["שַׁבָּת מְבָרְכִים חוֹדֶשׁ"],"Shabbat Shirah":["שַׁבָּת שִׁירָה"],"Chatzot HaLailah":["חֲצוֹת הַלַיְלָה"],"Alot haShachar":["עֲלוֹת הַשַּׁחַר"],Misheyakir:["מִשֶּׁיַּכִּיר"],"Misheyakir Machmir":["מִשֶּׁיַּכִּיר מַחמִיר"],Dawn:["דִּימְדּוּמֵי בּוֹקֵר"],Sunrise:["הַנֵץ הַחַמָּה"],"Kriat Shema, sof zeman":["סוֹף זְמַן קְרִיאַת שְׁמַע גר״א"],"Tefilah, sof zeman":["סוֹף זְמַן תְּפִלָּה גר״א"],"Kriat Shema, sof zeman (MGA)":["סוֹף זְמַן קְרִיאַת שְׁמַע מג״א"],"Tefilah, sof zeman (MGA)":["סוֹף זְמַן תְּפִלָּה מג״א"],"Chatzot hayom":["חֲצוֹת הַיּוֹם"],"Mincha Gedolah":["מִנְחָה גְּדוֹלָה"],"Mincha Ketanah":["מִנְחָה קְטַנָּה"],"Plag HaMincha":["פְּלַג הַמִּנְחָה"],Dusk:["דִּימְדּוּמֵי עֶרֶב"],Sunset:["שְׁקִיעָה"],"Nightfall - End of ordained fasts":["לַיְלָה - גמר תעניות דרבנן"],"Tzeit HaKochavim":["צֵאת הַכּוֹכָבִים"],Lovingkindness:["חֶֽסֶד"],Might:["גְבוּרָה"],Beauty:["תִּפאֶרֶת"],Eternity:["נֶּֽצַח"],Splendor:["הוֹד"],Foundation:["יְּסוֹד"],Majesty:["מַּלְכוּת"],day:["יוֹם"],"Yom Kippur Katan":["יוֹם כִּפּוּר קָטָן"],"Family Day":["יוֹם הַמִּשׁפָּחָה"],"Yitzhak Rabin Memorial Day":["יוֹם הַזִּכָּרוֹן ליצחק רבין"],"Jabotinsky Day":["יוֹם ז׳בוטינסקי"],"Herzl Day":["יוֹם הרצל"],"Ben-Gurion Day":["יוֹם בן־גוריון"],"Hebrew Language Day":["יוֹם הַשָׂפָה הַעִברִית"],"Birkat Hachamah":["בִרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"after sunset":["לְאַחַר הַשְׁקִיעָה"],Yerushalmi:["יְרוּשַׁלְמִי"],"Chag HaBanot":["חַג הַבָּנוֹת"],Joshua:["יְהוֹשׁוּעַ"],Judges:["שׁוֹפְטִים"],"I Samuel":["שְׁמוּאֵל רִאשׁוֹן"],"II Samuel":["שְׁמוּאֵל שֵׁנִי"],"I Kings":["מְלָכִים רִאשׁוֹן"],"II Kings":["מְלָכִים שֵׁנִי"],Isaiah:["יְשַׁעְיָהוּ"],Jeremiah:["יִרְמְיָהוּ"],Ezekiel:["יְחֶזְקֵאל"],Hosea:["הוֹשֵׁעַ"],Joel:["יוֹאֵל"],Amos:["עָמוּס"],Obadiah:["עוֹבַדְיָה"],Jonah:["יוֹנָה"],Micah:["מִיכָה"],Nachum:["נַחוּם"],Habakkuk:["חֲבַקּוּק"],Zephaniah:["צְפַנְיָה"],Haggai:["חַגַּי"],Zechariah:["זְכַרְיָה"],Malachi:["מַלְאָכִי"],Psalms:["תְּהִלִּים"],Proverbs:["מִשְׁלֵי"],Job:["אִיּוֹב"],"Song of Songs":["שִׁיר הַשִּׁירִים"],Ruth:["רוּת"],Lamentations:["אֵיכָה"],Ecclesiastes:["קֹהֶלֶת"],Esther:["אֶסְתֵּר"],Daniel:["דָּנִיֵּאל"],Ezra:["עֶזְרָא"],Nehemiah:["נְחֶמְיָה"],"I Chronicles":["דִברֵי הַיָמִים רִאשׁוֹן"],"II Chronicles":["דִברֵי הַיָמִים שֵׁנִי"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"],"Pirkei Avot":["פִּרְקֵי אָבוֹת"]}}};
|
|
18
|
-
/*! @hebcal/core v5.7.7 */
|
|
19
|
-
/*! @hebcal/core v5.7.7 */
|
|
20
|
-
ne.addTranslations("he",ge),ne.addTranslations("h",ge),ne.addTranslations("ashkenazi",pe),ne.addTranslations("a",pe);const Se=ge.contexts[""],we={};for(const[e,a]of Object.entries(Se))we[e]=[ne.hebrewStripNikkud(a[0])];const Me={headers:ge.headers,contexts:{"":we}};ne.addTranslations("he-x-NoNikud",Me);
|
|
21
|
-
/*! @hebcal/core v5.7.7 */
|
|
22
|
-
const Ie=1,Ce=2,ve=4,Te=8,He=16,De=32,Ae=64,Ee=128,Re=256,Pe=512,ze=1024,Be=2048,Ne=4096,Ye=8192,Ke=16384,$e=32768,Ve=65536,je=131072,Fe=262144,Le=524288,xe=1048576,Oe=2097152,Je=4194304,Ge=8388608,_e=16777216,Ze=[[Ke,"holiday","major","fast"],[Ae,"holiday","major"],[Fe,"hebdate"],[Re,"holiday","fast"],[Le,"holiday","minor"],[Ye,"holiday","modern"],[Ve,"molad"],[Ne,"omer"],[ze,"parashat"],[Ee,"roshchodesh"],[$e,"mevarchim"],[Pe,"holiday","shabbat"],[je,"user"]];class Ue{constructor(e,a,t=0,o){if(!me.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof a)throw new TypeError(`Invalid Event description: ${a}`);this.date=e,this.desc=a,this.mask=+t,"object"==typeof o&&null!==o&&Object.assign(this,o)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return ne.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&Te)}observedInDiaspora(){return!(this.mask&He)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new Ue(this.date,this.desc,this.mask);for(const a in this)this.hasOwnProperty(a)&&Object.defineProperty(e,a,{value:this[a]});return e}getCategories(){const e=this.getFlags();for(const a of Ze){if(e&a[0])return a.slice(1)}return["unknown"]}}
|
|
23
|
-
/*! @hebcal/leyning v9.0.1 */var We={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{"Shabbat Machar Chodesh":["שַׁבָּת מָחָר חוֹדֶשׁ"],"Shabbat Rosh Chodesh":["שַׁבָּת רֹאשׁ חוֹדֶשׁ"],"Pesach I (on Shabbat)":["פֶּסַח יוֹם א׳ (בְּשַׁבָּת)"],"Pesach Chol ha-Moed Day 1":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם א׳"],"Pesach Chol ha-Moed Day 2":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳"],"Pesach Chol ha-Moed Day 2 on Sunday":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳ (בְּיוֹם רִאשׁוֹן)"],"Pesach Chol ha-Moed Day 3":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳"],"Pesach Chol ha-Moed Day 3 on Monday":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳ (בְּיוֹם שָׁנִי)"],"Pesach Chol ha-Moed Day 4":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ד׳"],"Pesach Chol ha-Moed Day 5":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ה׳"],"Pesach Shabbat Chol ha-Moed":["פֶּסַח שַׁבָּת חוֹל הַמּוֹעֵד"],"Pesach VII (on Shabbat)":["פֶּסַח ז׳ (בְּשַׁבָּת)"],"Pesach VIII (on Shabbat)":["פֶּסַח ח׳ (בְּשַׁבָּת)"],"Shavuot II (on Shabbat)":["שָׁבוּעוֹת יוֹם ב׳ (בְּשַׁבָּת)"],"Rosh Hashana I (on Shabbat)":["רֹאשׁ הַשָּׁנָה יוֹם א׳ (בְּשַׁבָּת)"],"Yom Kippur (on Shabbat)":["יוֹם כִּפּוּר (בְּשַׁבָּת)"],"Yom Kippur (Mincha, Traditional)":["יוֹם כִּפּוּר מִנחָה"],"Yom Kippur (Mincha, Alternate)":["יוֹם כִּפּוּר מִנחָה"],"Sukkot I (on Shabbat)":["סוּכּוֹת יוֹם א׳ (בְּשַׁבָּת)"],"Sukkot Chol ha-Moed Day 1":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם א׳"],"Sukkot Chol ha-Moed Day 2":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ב׳"],"Sukkot Chol ha-Moed Day 3":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ג׳"],"Sukkot Chol ha-Moed Day 4":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ד׳"],"Sukkot Chol ha-Moed Day 5":["סוּכּוֹת חוֹל הַמּוֹעֵד יוֹם ה׳"],"Sukkot Shabbat Chol ha-Moed":["סוּכּוֹת שַׁבָּת חוֹל הַמּוֹעֵד"],"Sukkot Final Day (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Shmini Atzeret (on Shabbat)":["שְׁמִינִי עֲצֶרֶת (בְּשַׁבָּת)"],"Chanukah Day 1":["חֲנוּכָּה יוֹם א׳"],"Chanukah Day 2":["חֲנוּכָּה יוֹם ב׳"],"Chanukah Day 3":["חֲנוּכָּה יוֹם ג׳"],"Chanukah Day 4":["חֲנוּכָּה יוֹם ד׳"],"Chanukah Day 5":["חֲנוּכָּה יוֹם ה׳"],"Chanukah Day 6":["חֲנוּכָּה יוֹם ו׳"],"Chanukah Day 7":["חֲנוּכָּה יוֹם ז׳"],"Chanukah Day 7 (on Rosh Chodesh)":["חֲנוּכָּה יוֹם ז׳ (רֹאשׁ חוֹדֶשׁ)"],"Chanukah Day 8":["חֲנוּכָּה יוֹם ח׳"],"Chanukah Day 1 (on Shabbat)":["חֲנוּכָּה יוֹם א׳ (בְּשַׁבָּת)"],"Chanukah Day 2 (on Shabbat)":["חֲנוּכָּה יוֹם ב׳ (בְּשַׁבָּת)"],"Chanukah Day 3 (on Shabbat)":["חֲנוּכָּה יוֹם ג׳ (בְּשַׁבָּת)"],"Chanukah Day 4 (on Shabbat)":["חֲנוּכָּה יוֹם ד׳ (בְּשַׁבָּת)"],"Chanukah Day 5 (on Shabbat)":["חֲנוּכָּה יוֹם ה׳ (בְּשַׁבָּת)"],"Chanukah Day 7 (on Shabbat)":["חֲנוּכָּה יוֹם ז׳ (בְּשַׁבָּת)"],"Chanukah Day 8 (on Shabbat)":["חֲנוּכָּה יוֹם ח׳ (בְּשַׁבָּת)"],"Shabbat Rosh Chodesh Chanukah":["שַׁבָּת רֹאשׁ חוֹדֶשׁ חֲנוּכָּה"],"Yom Kippur (Mincha)":["יוֹם כִּפּוּר מִנחָה"],"Tish'a B'Av (Mincha)":["תִּשְׁעָה בְּאָב מִנחָה"],"Asara B'Tevet (Mincha)":["עֲשָׂרָה בְּטֵבֵת מִנחָה"],"Ta'anit Bechorot (Mincha)":["תַּעֲנִית בְּכוֹרוֹת מִנחָה"],"Ta'anit Esther (Mincha)":["תַּעֲנִית אֶסְתֵּר מִנחָה"],"Tzom Gedaliah (Mincha)":["צוֹם גְּדַלְיָה מִנחָה"],"Tzom Tammuz (Mincha)":["צוֹם תָּמוּז מִנחָה"]}}};
|
|
24
|
-
/*! @hebcal/leyning v9.0.1 */ne.addTranslations("he",We),ne.addTranslations("h",We);const qe=We.contexts[""],Qe={};for(const[e,a]of Object.entries(qe))Qe[e]=[ne.hebrewStripNikkud(a[0])];const Xe={headers:We.headers,contexts:{"":Qe}};ne.addTranslations("he-x-NoNikud",Xe);var ea={Bereshit:{num:1,hebrew:"בְּרֵאשִׁית",book:1,haft:{k:"Isaiah",b:"42:5",e:"43:10"},seph:{k:"Isaiah",b:"42:5",e:"42:21"},fullkriyah:{1:["1:1","2:3"],2:["2:4","2:19"],3:["2:20","3:21"],4:["3:22","4:18"],5:["4:19","4:22"],6:["4:23","5:24"],7:["5:25","6:8"],M:["6:5","6:8"]},weekday:{1:["1:1","1:5"],2:["1:6","1:8"],3:["1:9","1:13"]}},Noach:{num:2,hebrew:"נֹחַ",book:1,haft:{k:"Isaiah",b:"54:1",e:"55:5"},seph:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{1:["6:9","6:22"],2:["7:1","7:16"],3:["7:17","8:14"],4:["8:15","9:7"],5:["9:8","9:17"],6:["9:18","10:32"],7:["11:1","11:32"],M:["11:29","11:32"]},weekday:{1:["6:9","6:16"],2:["6:17","6:19"],3:["6:20","6:22"]}},"Lech-Lecha":{num:3,hebrew:"לֶךְ־לְךָ",book:1,haft:{k:"Isaiah",b:"40:27",e:"41:16"},fullkriyah:{1:["12:1","12:13"],2:["12:14","13:4"],3:["13:5","13:18"],4:["14:1","14:20"],5:["14:21","15:6"],6:["15:7","17:6"],7:["17:7","17:27"],M:["17:24","17:27"]},weekday:{1:["12:1","12:3"],2:["12:4","12:9"],3:["12:10","12:13"]}},Vayera:{num:4,hebrew:"וַיֵּרָא",book:1,haft:{k:"II Kings",b:"4:1",e:"4:37"},seph:{k:"II Kings",b:"4:1",e:"4:23"},fullkriyah:{1:["18:1","18:14"],2:["18:15","18:33"],3:["19:1","19:20"],4:["19:21","21:4"],5:["21:5","21:21"],6:["21:22","21:34"],7:["22:1","22:24"],M:["22:20","22:24"]},weekday:{1:["18:1","18:5"],2:["18:6","18:8"],3:["18:9","18:14"]}},"Chayei Sara":{num:5,hebrew:"חַיֵּי שָֹרָה",book:1,haft:{k:"I Kings",b:"1:1",e:"1:31"},fullkriyah:{1:["23:1","23:16"],2:["23:17","24:9"],3:["24:10","24:26"],4:["24:27","24:52"],5:["24:53","24:67"],6:["25:1","25:11"],7:["25:12","25:18"],M:["25:16","25:18"]},weekday:{1:["23:1","23:7"],2:["23:8","23:12"],3:["23:13","23:16"]}},Toldot:{num:6,hebrew:"תּוֹלְדוֹת",book:1,haft:{k:"Malachi",b:"1:1",e:"2:7"},fullkriyah:{1:["25:19","26:5"],2:["26:6","26:12"],3:["26:13","26:22"],4:["26:23","26:29"],5:["26:30","27:27"],6:["27:28","28:4"],7:["28:5","28:9"],M:["28:7","28:9"]},weekday:{1:["25:19","25:22"],2:["25:23","25:26"],3:["25:27","26:5"]}},Vayetzei:{num:7,hebrew:"וַיֵּצֵא",book:1,haft:{k:"Hosea",b:"12:13",e:"14:10"},seph:{k:"Hosea",b:"11:7",e:"12:12"},fullkriyah:{1:["28:10","28:22"],2:["29:1","29:17"],3:["29:18","30:13"],4:["30:14","30:27"],5:["30:28","31:16"],6:["31:17","31:42"],7:["31:43","32:3"],M:["32:1","32:3"]},weekday:{1:["28:10","28:12"],2:["28:13","28:17"],3:["28:18","28:22"]}},Vayishlach:{num:8,hebrew:"וַיִּשְׁלַח",book:1,haft:{k:"Obadiah",b:"1:1",e:"1:21"},fullkriyah:{1:["32:4","32:13"],2:["32:14","32:30"],3:["32:31","33:5"],4:["33:6","33:20"],5:["34:1","35:11"],6:["35:12","36:19"],7:["36:20","36:43"],M:["36:40","36:43"]},weekday:{1:["32:4","32:6"],2:["32:7","32:9"],3:["32:10","32:13"]}},Vayeshev:{num:9,hebrew:"וַיֵּשֶׁב",book:1,haft:{k:"Amos",b:"2:6",e:"3:8"},fullkriyah:{1:["37:1","37:11"],2:["37:12","37:22"],3:["37:23","37:36"],4:["38:1","38:30"],5:["39:1","39:6"],6:["39:7","39:23"],7:["40:1","40:23"],M:["40:20","40:23"]},weekday:{1:["37:1","37:3"],2:["37:4","37:7"],3:["37:8","37:11"]}},Miketz:{num:10,hebrew:"מִקֵּץ",book:1,haft:{k:"I Kings",b:"3:15",e:"4:1"},fullkriyah:{1:["41:1","41:14"],2:["41:15","41:38"],3:["41:39","41:52"],4:["41:53","42:18"],5:["42:19","43:15"],6:["43:16","43:29"],7:["43:30","44:17"],M:["44:14","44:17"]},weekday:{1:["41:1","41:4"],2:["41:5","41:7"],3:["41:8","41:14"]}},Vayigash:{num:11,hebrew:"וַיִּגַּשׁ",book:1,haft:{k:"Ezekiel",b:"37:15",e:"37:28"},fullkriyah:{1:["44:18","44:30"],2:["44:31","45:7"],3:["45:8","45:18"],4:["45:19","45:27"],5:["45:28","46:27"],6:["46:28","47:10"],7:["47:11","47:27"],M:["47:25","47:27"]},weekday:{1:["44:18","44:20"],2:["44:21","44:24"],3:["44:25","44:30"]}},Vayechi:{num:12,hebrew:"וַיְחִי",book:1,haft:{k:"I Kings",b:"2:1",e:"2:12"},fullkriyah:{1:["47:28","48:9"],2:["48:10","48:16"],3:["48:17","48:22"],4:["49:1","49:18"],5:["49:19","49:26"],6:["49:27","50:20"],7:["50:21","50:26"],M:["50:23","50:26"]},weekday:{1:["47:28","47:31"],2:["48:1","48:3"],3:["48:4","48:9"]}},Shemot:{num:13,hebrew:"שְׁמוֹת",book:2,haft:[{k:"Isaiah",b:"27:6",e:"28:13"},{k:"Isaiah",b:"29:22",e:"29:23"}],seph:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{1:["1:1","1:17"],2:["1:18","2:10"],3:["2:11","2:25"],4:["3:1","3:15"],5:["3:16","4:17"],6:["4:18","4:31"],7:["5:1","6:1"],M:["5:22","6:1"]},weekday:{1:["1:1","1:7"],2:["1:8","1:12"],3:["1:13","1:17"]}},Vaera:{num:14,hebrew:"וָאֵרָא",book:2,haft:{k:"Ezekiel",b:"28:25",e:"29:21"},fullkriyah:{1:["6:2","6:13"],2:["6:14","6:28"],3:["6:29","7:7"],4:["7:8","8:6"],5:["8:7","8:18"],6:["8:19","9:16"],7:["9:17","9:35"],M:["9:33","9:35"]},weekday:{1:["6:2","6:5"],2:["6:6","6:9"],3:["6:10","6:13"]}},Bo:{num:15,hebrew:"בֹּא",book:2,haft:{k:"Jeremiah",b:"46:13",e:"46:28"},fullkriyah:{1:["10:1","10:11"],2:["10:12","10:23"],3:["10:24","11:3"],4:["11:4","12:20"],5:["12:21","12:28"],6:["12:29","12:51"],7:["13:1","13:16"],M:["13:14","13:16"]},weekday:{1:["10:1","10:3"],2:["10:4","10:6"],3:["10:7","10:11"]}},Beshalach:{num:16,hebrew:"בְּשַׁלַּח",book:2,haft:{k:"Judges",b:"4:4",e:"5:31"},seph:{k:"Judges",b:"5:1",e:"5:31"},fullkriyah:{1:["13:17","14:8"],2:["14:9","14:14"],3:["14:15","14:25"],4:["14:26","15:26"],5:["15:27","16:10"],6:["16:11","16:36"],7:["17:1","17:16"],M:["17:14","17:16"]},weekday:{1:["13:17","13:22"],2:["14:1","14:4"],3:["14:5","14:8"]}},Yitro:{num:17,hebrew:"יִתְרוֹ",book:2,haft:[{k:"Isaiah",b:"6:1",e:"7:6"},{k:"Isaiah",b:"9:5",e:"9:6"}],seph:{k:"Isaiah",b:"6:1",e:"6:13"},fullkriyah:{1:["18:1","18:12"],2:["18:13","18:23"],3:["18:24","18:27"],4:["19:1","19:6"],5:["19:7","19:19"],6:["19:20","20:14"],7:["20:15","20:23"],M:["20:19","20:23"]},weekday:{1:["18:1","18:4"],2:["18:5","18:8"],3:["18:9","18:12"]}},Mishpatim:{num:18,hebrew:"מִּשְׁפָּטִים",book:2,haft:[{k:"Jeremiah",b:"34:8",e:"34:22"},{k:"Jeremiah",b:"33:25",e:"33:26"}],fullkriyah:{1:["21:1","21:19"],2:["21:20","22:3"],3:["22:4","22:26"],4:["22:27","23:5"],5:["23:6","23:19"],6:["23:20","23:25"],7:["23:26","24:18"],M:["24:15","24:18"]},weekday:{1:["21:1","21:6"],2:["21:7","21:11"],3:["21:12","21:19"]}},Terumah:{num:19,hebrew:"תְּרוּמָה",book:2,haft:{k:"I Kings",b:"5:26",e:"6:13"},fullkriyah:{1:["25:1","25:16"],2:["25:17","25:30"],3:["25:31","26:14"],4:["26:15","26:30"],5:["26:31","26:37"],6:["27:1","27:8"],7:["27:9","27:19"],M:["27:17","27:19"]},weekday:{1:["25:1","25:5"],2:["25:6","25:9"],3:["25:10","25:16"]}},Tetzaveh:{num:20,hebrew:"תְּצַוֶּה",book:2,haft:{k:"Ezekiel",b:"43:10",e:"43:27"},fullkriyah:{1:["27:20","28:12"],2:["28:13","28:30"],3:["28:31","28:43"],4:["29:1","29:18"],5:["29:19","29:37"],6:["29:38","29:46"],7:["30:1","30:10"],M:["30:8","30:10"]},weekday:{1:["27:20","28:5"],2:["28:6","28:9"],3:["28:10","28:12"]}},"Ki Tisa":{num:21,hebrew:"כִּי תִשָּׂא",book:2,haft:{k:"I Kings",b:"18:1",e:"18:39"},seph:{k:"I Kings",b:"18:20",e:"18:39"},fullkriyah:{1:["30:11","31:17"],2:["31:18","33:11"],3:["33:12","33:16"],4:["33:17","33:23"],5:["34:1","34:9"],6:["34:10","34:26"],7:["34:27","34:35"],M:["34:33","34:35"]},weekday:{1:["30:11","30:13"],2:["30:14","30:16"],3:["30:17","30:21"]}},Vayakhel:{num:22,hebrew:"וַיַּקְהֵל",book:2,haft:{k:"I Kings",b:"7:40",e:"7:50"},seph:{k:"I Kings",b:"7:13",e:"7:26"},fullkriyah:{1:["35:1","35:20"],2:["35:21","35:29"],3:["35:30","36:7"],4:["36:8","36:19"],5:["36:20","37:16"],6:["37:17","37:29"],7:["38:1","38:20"],M:["38:18","38:20"]},weekday:{1:["35:1","35:3"],2:["35:4","35:10"],3:["35:11","35:20"]}},Pekudei:{num:23,hebrew:"פְקוּדֵי",book:2,haft:{k:"I Kings",b:"7:51",e:"8:21"},seph:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{1:["38:21","39:1"],2:["39:2","39:21"],3:["39:22","39:32"],4:["39:33","39:43"],5:["40:1","40:16"],6:["40:17","40:27"],7:["40:28","40:38"],M:["40:34","40:38"]},weekday:{1:["38:21","38:23"],2:["38:24","38:27"],3:["38:28","39:1"]}},Vayikra:{num:24,hebrew:"וַיִּקְרָא",book:3,haft:{k:"Isaiah",b:"43:21",e:"44:23"},fullkriyah:{1:["1:1","1:13"],2:["1:14","2:6"],3:["2:7","2:16"],4:["3:1","3:17"],5:["4:1","4:26"],6:["4:27","5:10"],7:["5:11","5:26"],M:["5:24","5:26"]},weekday:{1:["1:1","1:4"],2:["1:5","1:9"],3:["1:10","1:13"]}},Tzav:{num:25,hebrew:"צַו",book:3,haft:[{k:"Jeremiah",b:"7:21",e:"8:3"},{k:"Jeremiah",b:"9:22",e:"9:23"}],fullkriyah:{1:["6:1","6:11"],2:["6:12","7:10"],3:["7:11","7:38"],4:["8:1","8:13"],5:["8:14","8:21"],6:["8:22","8:29"],7:["8:30","8:36"],M:["8:33","8:36"]},weekday:{1:["6:1","6:3"],2:["6:4","6:6"],3:["6:7","6:11"]}},Shmini:{num:26,hebrew:"שְּׁמִינִי",book:3,haft:{k:"II Samuel",b:"6:1",e:"7:17"},seph:{k:"II Samuel",b:"6:1",e:"6:19"},fullkriyah:{1:["9:1","9:16"],2:["9:17","9:23"],3:["9:24","10:11"],4:["10:12","10:15"],5:["10:16","10:20"],6:["11:1","11:32"],7:["11:33","11:47"],M:["11:45","11:47"]},weekday:{1:["9:1","9:6"],2:["9:7","9:10"],3:["9:11","9:16"]}},Tazria:{num:27,hebrew:"תַזְרִיעַ",book:3,haft:{k:"II Kings",b:"4:42",e:"5:19"},fullkriyah:{1:["12:1","13:5"],2:["13:6","13:17"],3:["13:18","13:23"],4:["13:24","13:28"],5:["13:29","13:39"],6:["13:40","13:54"],7:["13:55","13:59"],M:["13:57","13:59"]},weekday:{1:["12:1","12:4"],2:["12:5","12:8"],3:["13:1","13:5"]}},Metzora:{num:28,hebrew:"מְּצֹרָע",book:3,haft:{k:"II Kings",b:"7:3",e:"7:20"},fullkriyah:{1:["14:1","14:12"],2:["14:13","14:20"],3:["14:21","14:32"],4:["14:33","14:53"],5:["14:54","15:15"],6:["15:16","15:28"],7:["15:29","15:33"],M:["15:31","15:33"]},weekday:{1:["14:1","14:5"],2:["14:6","14:9"],3:["14:10","14:12"]}},"Achrei Mot":{num:29,hebrew:"אַחֲרֵי מוֹת",book:3,haft:{k:"Amos",b:"9:7",e:"9:15"},seph:{k:"Ezekiel",b:"22:1",e:"22:16"},fullkriyah:{1:["16:1","16:17"],2:["16:18","16:24"],3:["16:25","16:34"],4:["17:1","17:7"],5:["17:8","18:5"],6:["18:6","18:21"],7:["18:22","18:30"],M:["18:28","18:30"]},weekday:{1:["16:1","16:6"],2:["16:7","16:11"],3:["16:12","16:17"]}},Kedoshim:{num:30,hebrew:"קְדשִׁים",book:3,haft:{k:"Ezekiel",b:"22:1",e:"22:19"},seph:{k:"Ezekiel",b:"20:2",e:"20:20"},fullkriyah:{1:["19:1","19:14"],2:["19:15","19:22"],3:["19:23","19:32"],4:["19:33","19:37"],5:["20:1","20:7"],6:["20:8","20:22"],7:["20:23","20:27"],M:["20:25","20:27"]},weekday:{1:["19:1","19:4"],2:["19:5","19:10"],3:["19:11","19:14"]}},Emor:{num:31,hebrew:"אֱמוֹר",book:3,haft:{k:"Ezekiel",b:"44:15",e:"44:31"},fullkriyah:{1:["21:1","21:15"],2:["21:16","22:16"],3:["22:17","22:33"],4:["23:1","23:22"],5:["23:23","23:32"],6:["23:33","23:44"],7:["24:1","24:23"],M:["24:21","24:23"]},weekday:{1:["21:1","21:6"],2:["21:7","21:12"],3:["21:13","21:15"]}},Behar:{num:32,hebrew:"בְּהַר",book:3,haft:{k:"Jeremiah",b:"32:6",e:"32:27"},fullkriyah:{1:["25:1","25:13"],2:["25:14","25:18"],3:["25:19","25:24"],4:["25:25","25:28"],5:["25:29","25:38"],6:["25:39","25:46"],7:["25:47","26:2"],M:["25:55","26:2"]},weekday:{1:["25:1","25:3"],2:["25:4","25:7"],3:["25:8","25:13"]}},Bechukotai:{num:33,hebrew:"בְּחֻקֹּתַי",book:3,haft:{k:"Jeremiah",b:"16:19",e:"17:14"},fullkriyah:{1:["26:3","26:5"],2:["26:6","26:9"],3:["26:10","26:46"],4:["27:1","27:15"],5:["27:16","27:21"],6:["27:22","27:28"],7:["27:29","27:34"],M:["27:32","27:34"]},weekday:{1:["26:3","26:5"],2:["26:6","26:9"],3:["26:10","26:13"]}},Bamidbar:{num:34,hebrew:"בְּמִדְבַּר",book:4,haft:{k:"Hosea",b:"2:1",e:"2:22"},fullkriyah:{1:["1:1","1:19"],2:["1:20","1:54"],3:["2:1","2:34"],4:["3:1","3:13"],5:["3:14","3:39"],6:["3:40","3:51"],7:["4:1","4:20"],M:["4:17","4:20"]},weekday:{1:["1:1","1:4"],2:["1:5","1:16"],3:["1:17","1:19"]}},Nasso:{num:35,hebrew:"נָשׂא",book:4,haft:{k:"Judges",b:"13:2",e:"13:25"},fullkriyah:{1:["4:21","4:37"],2:["4:38","4:49"],3:["5:1","5:10"],4:["5:11","6:27"],5:["7:1","7:41"],6:["7:42","7:71"],7:["7:72","7:89"],M:["7:87","7:89"]},weekday:{1:["4:21","4:24"],2:["4:25","4:28"],3:["4:29","4:33"]}},"Beha'alotcha":{num:36,hebrew:"בְּהַעֲלֹתְךָ",book:4,haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{1:["8:1","8:14"],2:["8:15","8:26"],3:["9:1","9:14"],4:["9:15","10:10"],5:["10:11","10:34"],6:["10:35","11:29"],7:["11:30","12:16"],M:["12:14","12:16"]},weekday:{1:["8:1","8:4"],2:["8:5","8:9"],3:["8:10","8:14"]}},"Sh'lach":{num:37,hebrew:"שְׁלַח־לְךָ",book:4,haft:{k:"Joshua",b:"2:1",e:"2:24"},fullkriyah:{1:["13:1","13:20"],2:["13:21","14:7"],3:["14:8","14:25"],4:["14:26","15:7"],5:["15:8","15:16"],6:["15:17","15:26"],7:["15:27","15:41"],M:["15:37","15:41"]},weekday:{1:["13:1","13:3"],2:["13:4","13:16"],3:["13:17","13:20"]}},Korach:{num:38,hebrew:"קוֹרַח",book:4,haft:{k:"I Samuel",b:"11:14",e:"12:22"},fullkriyah:{1:["16:1","16:13"],2:["16:14","16:19"],3:["16:20","17:8"],4:["17:9","17:15"],5:["17:16","17:24"],6:["17:25","18:20"],7:["18:21","18:32"],M:["18:30","18:32"]},weekday:{1:["16:1","16:3"],2:["16:4","16:7"],3:["16:8","16:13"]}},Chukat:{num:39,hebrew:"חֻקַּת",book:4,haft:{k:"Judges",b:"11:1",e:"11:33"},fullkriyah:{1:["19:1","19:17"],2:["19:18","20:6"],3:["20:7","20:13"],4:["20:14","20:21"],5:["20:22","21:9"],6:["21:10","21:20"],7:["21:21","22:1"],M:["21:34","22:1"]},weekday:{1:["19:1","19:6"],2:["19:7","19:9"],3:["19:10","19:17"]}},Balak:{num:40,hebrew:"בָּלָק",book:4,haft:{k:"Micah",b:"5:6",e:"6:8"},fullkriyah:{1:["22:2","22:12"],2:["22:13","22:20"],3:["22:21","22:38"],4:["22:39","23:12"],5:["23:13","23:26"],6:["23:27","24:13"],7:["24:14","25:9"],M:["25:7","25:9"]},weekday:{1:["22:2","22:4"],2:["22:5","22:7"],3:["22:8","22:12"]}},Pinchas:{num:41,hebrew:"פִּינְחָס",book:4,haft:{k:"I Kings",b:"18:46",e:"19:21"},fullkriyah:{1:["25:10","26:4"],2:["26:5","26:51"],3:["26:52","27:5"],4:["27:6","27:23"],5:["28:1","28:15"],6:["28:16","29:11"],7:["29:12","30:1"],M:["29:35","30:1"]},weekday:{1:["25:10","25:12"],2:["25:13","25:15"],3:["25:16","26:4"]}},Matot:{num:42,hebrew:"מַּטּוֹת",book:4,haft:{k:"Jeremiah",b:"1:1",e:"2:3"},fullkriyah:{1:["30:2","30:17"],2:["31:1","31:12"],3:["31:13","31:24"],4:["31:25","31:41"],5:["31:42","31:54"],6:["32:1","32:19"],7:["32:20","32:42"],M:["32:39","32:42"]},weekday:{1:["30:2","30:9"],2:["30:10","30:13"],3:["30:14","30:17"]}},Masei:{num:43,hebrew:"מַסְעֵי",book:4,haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"}],seph:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"4:1",e:"4:2"}],fullkriyah:{1:["33:1","33:10"],2:["33:11","33:49"],3:["33:50","34:15"],4:["34:16","34:29"],5:["35:1","35:8"],6:["35:9","35:34"],7:["36:1","36:13"],M:["36:11","36:13"]},weekday:{1:["33:1","33:3"],2:["33:4","33:6"],3:["33:7","33:10"]}},Devarim:{num:44,hebrew:"דְּבָרִים",book:5,haft:{k:"Isaiah",b:"1:1",e:"1:27"},fullkriyah:{1:["1:1","1:10"],2:["1:11","1:21"],3:["1:22","1:38"],4:["1:39","2:1"],5:["2:2","2:30"],6:["2:31","3:14"],7:["3:15","3:22"],M:["3:20","3:22"]},weekday:{1:["1:1","1:3"],2:["1:4","1:7"],3:["1:8","1:11"]}},Vaetchanan:{num:45,hebrew:"וָאֶתְחַנַּן",book:5,haft:{k:"Isaiah",b:"40:1",e:"40:26"},fullkriyah:{1:["3:23","4:4"],2:["4:5","4:40"],3:["4:41","4:49"],4:["5:1","5:18"],5:["5:19","6:3"],6:["6:4","6:25"],7:["7:1","7:11"],M:["7:9","7:11"]},weekday:{1:["3:23","3:25"],2:["3:26","4:4"],3:["4:5","4:8"]}},Eikev:{num:46,hebrew:"עֵקֶב",book:5,haft:{k:"Isaiah",b:"49:14",e:"51:3"},fullkriyah:{1:["7:12","8:10"],2:["8:11","9:3"],3:["9:4","9:29"],4:["10:1","10:11"],5:["10:12","11:9"],6:["11:10","11:21"],7:["11:22","11:25"],M:["11:22","11:25"]},weekday:{1:["7:12","7:21"],2:["7:22","8:3"],3:["8:4","8:10"]}},"Re'eh":{num:47,hebrew:"רְאֵה",book:5,haft:{k:"Isaiah",b:"54:11",e:"55:5"},fullkriyah:{1:["11:26","12:10"],2:["12:11","12:28"],3:["12:29","13:19"],4:["14:1","14:21"],5:["14:22","14:29"],6:["15:1","15:18"],7:["15:19","16:17"],M:["16:13","16:17"]},weekday:{1:["11:26","11:31"],2:["11:32","12:5"],3:["12:6","12:10"]}},Shoftim:{num:48,hebrew:"שׁוֹפְטִים",book:5,haft:{k:"Isaiah",b:"51:12",e:"52:12"},fullkriyah:{1:["16:18","17:13"],2:["17:14","17:20"],3:["18:1","18:5"],4:["18:6","18:13"],5:["18:14","19:13"],6:["19:14","20:9"],7:["20:10","21:9"],M:["21:7","21:9"]},weekday:{1:["16:18","16:20"],2:["16:21","17:10"],3:["17:11","17:13"]}},"Ki Teitzei":{num:49,hebrew:"כִּי־תֵצֵא",book:5,haft:{k:"Isaiah",b:"54:1",e:"54:10"},fullkriyah:{1:["21:10","21:21"],2:["21:22","22:7"],3:["22:8","23:7"],4:["23:8","23:24"],5:["23:25","24:4"],6:["24:5","24:13"],7:["24:14","25:19"],M:["25:17","25:19"]},weekday:{1:["21:10","21:14"],2:["21:15","21:17"],3:["21:18","21:21"]}},"Ki Tavo":{num:50,hebrew:"כִּי־תָבוֹא",book:5,haft:{k:"Isaiah",b:"60:1",e:"60:22"},fullkriyah:{1:["26:1","26:11"],2:["26:12","26:15"],3:["26:16","26:19"],4:["27:1","27:10"],5:["27:11","28:6"],6:["28:7","28:69"],7:["29:1","29:8"],M:["29:6","29:8"]},weekday:{1:["26:1","26:3"],2:["26:4","26:11"],3:["26:12","26:15"]}},Nitzavim:{num:51,hebrew:"נִצָּבִים",book:5,haft:{k:"Isaiah",b:"61:10",e:"63:9"},fullkriyah:{1:["29:9","29:11"],2:["29:12","29:14"],3:["29:15","29:28"],4:["30:1","30:6"],5:["30:7","30:10"],6:["30:11","30:14"],7:["30:15","30:20"],M:["30:15","30:20"]},weekday:{1:["29:9","29:11"],2:["29:12","29:14"],3:["29:15","29:28"]}},Vayeilech:{num:52,hebrew:"וַיֵּלֶךְ",book:5,haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{1:["31:1","31:3"],2:["31:4","31:6"],3:["31:7","31:9"],4:["31:10","31:13"],5:["31:14","31:19"],6:["31:20","31:24"],7:["31:25","31:30"],M:["31:28","31:30"]},weekday:{1:["31:1","31:3"],2:["31:4","31:6"],3:["31:7","31:13"]}},"Ha'azinu":{num:53,hebrew:"הַאֲזִינוּ",book:5,haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{1:["32:1","32:6"],2:["32:7","32:12"],3:["32:13","32:18"],4:["32:19","32:28"],5:["32:29","32:39"],6:["32:40","32:43"],7:["32:44","32:52"],M:["32:48","32:52"]},weekday:{1:["32:1","32:3"],2:["32:4","32:6"],3:["32:7","32:12"]}},"Vezot Haberakhah":{num:54,hebrew:"וְזֹאת הַבְּרָכָה",book:5,haft:{k:"Joshua",b:"1:1",e:"1:18"},seph:{k:"Joshua",b:"1:1",e:"1:9"},fullkriyah:{1:["33:1","33:7"],2:["33:8","33:12"],3:["33:13","33:17"],4:["33:18","33:21"],5:["33:22","33:26"],6:["33:27","33:29"],7:["34:1","34:12"]},weekday:{1:["33:1","33:7"],2:["33:8","33:12"],3:["33:13","33:17"]}},"Vayakhel-Pekudei":{num:[22,23],combined:!0,p1:"Vayakhel",p2:"Pekudei",num1:22,num2:23,book:2,fullkriyah:{1:["35:1","35:29"],2:["35:30","37:16"],3:["37:17","37:29"],4:["38:1","39:1"],5:["39:2","39:21"],6:["39:22","39:43"],7:["40:1","40:38"],M:["40:34","40:38"]}},"Tazria-Metzora":{num:[27,28],combined:!0,p1:"Tazria",p2:"Metzora",num1:27,num2:28,book:3,fullkriyah:{1:["12:1","13:23"],2:["13:24","13:39"],3:["13:40","13:54"],4:["13:55","14:20"],5:["14:21","14:32"],6:["14:33","15:15"],7:["15:16","15:33"],M:["15:31","15:33"]}},"Achrei Mot-Kedoshim":{num:[29,30],combined:!0,p1:"Achrei Mot",p2:"Kedoshim",num1:29,num2:30,book:3,haft:{k:"Amos",b:"9:7",e:"9:15"},seph:{k:"Ezekiel",b:"20:2",e:"20:20"},fullkriyah:{1:["16:1","16:24"],2:["16:25","17:7"],3:["17:8","18:21"],4:["18:22","19:14"],5:["19:15","19:32"],6:["19:33","20:7"],7:["20:8","20:27"],M:["20:25","20:27"]}},"Behar-Bechukotai":{num:[32,33],combined:!0,p1:"Behar",p2:"Bechukotai",num1:32,num2:33,book:3,fullkriyah:{1:["25:1","25:18"],2:["25:19","25:28"],3:["25:29","25:38"],4:["25:39","26:9"],5:["26:10","26:46"],6:["27:1","27:15"],7:["27:16","27:34"],M:["27:32","27:34"]}},"Chukat-Balak":{num:[39,40],combined:!0,p1:"Chukat",p2:"Balak",num1:39,num2:40,book:4,fullkriyah:{1:["19:1","20:6"],2:["20:7","20:21"],3:["20:22","21:20"],4:["21:21","22:12"],5:["22:13","22:38"],6:["22:39","23:26"],7:["23:27","25:9"],M:["25:7","25:9"]}},"Matot-Masei":{num:[42,43],combined:!0,p1:"Matot",p2:"Masei",num1:42,num2:43,book:4,fullkriyah:{1:["30:2","31:12"],2:["31:13","31:54"],3:["32:1","32:19"],4:["32:20","33:49"],5:["33:50","34:15"],6:["34:16","35:8"],7:["35:9","36:13"],M:["36:11","36:13"]}},"Nitzavim-Vayeilech":{num:[51,52],combined:!0,p1:"Nitzavim",p2:"Vayeilech",num1:51,num2:52,book:5,fullkriyah:{1:["29:9","29:28"],2:["30:1","30:6"],3:["30:7","30:14"],4:["30:15","31:6"],5:["31:7","31:13"],6:["31:14","31:19"],7:["31:20","31:30"],M:["31:28","31:30"]}}};
|
|
25
|
-
/*! @hebcal/leyning v9.0.1 */
|
|
26
|
-
/*! @hebcal/leyning v9.0.1 */
|
|
27
|
-
const aa=["","Genesis","Exodus","Leviticus","Numbers","Deuteronomy"],ta={Genesis:[0,31,25,24,26,32,22,24,22,29,32,32,20,18,24,21,16,27,33,38,18,34,24,20,67,34,35,46,22,35,43,54,33,20,31,29,43,36,30,23,23,57,38,34,34,28,34,31,22,33,26],Exodus:[0,22,25,22,31,23,30,29,28,35,29,10,51,22,31,27,36,16,27,25,26,37,30,33,18,40,37,21,43,46,38,18,35,23,35,35,38,29,31,43,38],Leviticus:[0,17,16,17,35,26,23,38,36,24,20,47,8,59,57,33,34,16,30,37,27,24,33,44,23,55,46,34],Numbers:[0,54,34,51,49,31,27,89,26,23,36,35,16,33,45,41,35,28,32,22,29,35,41,30,25,19,65,23,31,39,17,54,42,56,29,34,13],Deuteronomy:[0,46,37,29,49,30,25,26,20,29,22,32,31,19,29,23,22,20,22,21,20,23,29,26,22,19,19,26,69,28,20,30,52,29,12],Joshua:[0,18,24,17,24,15,27,26,35,27,43,23,24,33,15,63,10,18,28,51,9,45,34,16,33],Judges:[0,36,23,31,24,31,40,25,35,57,18,40,15,25,20,20,31,13,31,30,48,25],Ruth:[0,22,23,18,22],"I Samuel":[0,28,36,21,22,12,21,17,22,27,27,15,25,23,52,35,23,58,30,24,42,16,23,28,23,43,25,12,25,11,31,13],"II Samuel":[0,27,32,39,12,25,23,29,18,13,19,27,31,39,33,37,23,29,32,44,26,22,51,39,25],"I Kings":[0,53,46,28,20,32,38,51,66,28,29,43,33,34,31,34,34,24,46,21,43,29,54],"II Kings":[0,18,25,27,44,27,33,20,29,37,36,20,22,25,29,38,20,41,37,37,21,26,20,37,20,30],Isaiah:[0,31,22,26,6,30,13,25,23,20,34,16,6,22,32,9,14,14,7,25,6,17,25,18,23,12,21,13,29,24,33,9,20,24,17,10,22,38,22,8,31,29,25,28,28,25,13,15,22,26,11,23,15,12,17,13,12,21,14,21,22,11,12,19,11,25,24],Jeremiah:[0,19,37,25,31,31,30,34,23,25,25,23,17,27,22,21,21,27,23,15,18,14,30,40,10,38,24,22,17,32,24,40,44,26,22,19,32,21,28,18,16,18,22,13,30,5,28,7,47,39,46,64,34],Lamentations:[0,22,22,66,22,22],Baruch:[0,22,35,38,37,9,72],Esther:[0,22,23,15,17,14,14,10,17,32,3],Ecclesiastes:[0,18,26,22,17,19,12,29,17,18,20,10,14],"Song of Songs":[0,17,17,11,16,16,12,14,14],Ezekiel:[0,28,10,27,17,17,14,27,18,11,22,25,28,23,23,8,63,24,32,14,44,37,31,49,27,17,21,36,26,21,26,18,32,33,31,15,38,28,23,29,49,26,20,27,31,25,24,23,35],Daniel:[0,21,49,100,34,30,29,28,27,27,21,45,13,64,42],Hosea:[0,9,25,5,19,15,11,16,14,17,15,11,15,15,10],Joel:[0,20,27,5,21],Amos:[0,15,16,15,13,27,14,17,14,15],Obadiah:[0,21],Jonah:[0,16,11,10,11],Micah:[0,16,13,12,14,14,16,20],Nachum:[0,14,14,19],Habakkuk:[0,17,20,19],Zephaniah:[0,18,15,20],Haggai:[0,15,23],Zechariah:[0,17,17,10,14,11,15,14,23,17,12,17,14,9,21],Malachi:[0,14,17,24]};function oa(e){if("string"==typeof e)return e;if(!Array.isArray(e)||0===e.length||e.length>2)throw new TypeError(`Bad parsha argument: ${e}`);let a=e[0];return 2===e.length&&(a+="-"+e[1]),a}function ra(e){if(e.v)return e.v;const a=e.b.split(":"),t=e.e.split(":"),o=parseInt(a[0],10),r=parseInt(t[0],10),h=parseInt(a[1],10),n=parseInt(t[1],10);if(o===r)e.v=n-h+1;else if("string"==typeof e.k){const a=ta[e.k];if("object"!=typeof a||!a.length)throw new ReferenceError(`Can't find numverses for ${e.k}`);let t=a[o]-h+1;for(let e=o+1;e<r;e++)t+=a[e];t+=n,e.v=t}return e.v}function ha(e,a){const t=e.b,o=e.e,r=a?e.k+" ":"";if(t===o)return`${r}${t}`;const h=t.split(":"),n=o.split(":");return`${r}${t}-${h[0]===n[0]?n[1]:o}`}
|
|
28
|
-
/*! @hebcal/leyning v9.0.1 */function na(e){return JSON.parse(JSON.stringify(e))}function ia(e){if(!e)return e;const a=na(e);return Array.isArray(a)?a.map(ra):ra(a),a}function sa(e){return Array.isArray(e)?e.reduce(((e,a)=>e+a.v),0):e.v}
|
|
29
|
-
/*! @hebcal/leyning v9.0.1 */
|
|
30
|
-
/*! @hebcal/leyning v9.0.1 */
|
|
31
|
-
const la={"Pesach I":{haft:[{k:"Joshua",b:"3:5",e:"3:7"},{k:"Joshua",b:"5:2",e:"6:1"},{k:"Joshua",b:"6:27",e:"6:27"}],seph:[{k:"Joshua",b:"5:2",e:"6:1"},{k:"Joshua",b:"6:27",e:"6:27"}],fullkriyah:{1:{p:15,k:2,b:"12:21",e:"12:24"},2:{p:15,k:2,b:"12:25",e:"12:28"},3:{p:15,k:2,b:"12:29",e:"12:36"},4:{p:15,k:2,b:"12:37",e:"12:42"},5:{p:15,k:2,b:"12:43",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach I (on Shabbat)":{haft:[{k:"Joshua",b:"3:5",e:"3:7"},{k:"Joshua",b:"5:2",e:"6:1"},{k:"Joshua",b:"6:27",e:"6:27"}],seph:[{k:"Joshua",b:"5:2",e:"6:1"},{k:"Joshua",b:"6:27",e:"6:27"}],fullkriyah:{1:{p:15,k:2,b:"12:21",e:"12:24"},2:{p:15,k:2,b:"12:25",e:"12:28"},3:{p:15,k:2,b:"12:29",e:"12:32"},4:{p:15,k:2,b:"12:33",e:"12:36"},5:{p:15,k:2,b:"12:37",e:"12:42"},6:{p:15,k:2,b:"12:43",e:"12:47"},7:{p:15,k:2,b:"12:48",e:"12:51"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II":{haft:[{k:"II Kings",b:"23:1",e:"23:9"},{k:"II Kings",b:"23:21",e:"23:25"}],fullkriyah:{1:{p:31,k:3,b:"22:26",e:"23:3"},2:{p:31,k:3,b:"23:4",e:"23:14"},3:{p:31,k:3,b:"23:15",e:"23:22"},4:{p:31,k:3,b:"23:23",e:"23:32"},5:{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"28:16",e:"28:25"}}},"Pesach II (CH''M)":{note:"Israel only - according to Vaani T'fillati Siddur Yisraeli",il:!0,fullkriyah:{1:{p:31,k:3,b:"22:26",e:"23:8"},2:{p:31,k:3,b:"23:9",e:"23:14"},3:{p:31,k:3,b:"23:15",e:"23:44"},4:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 1":{fullkriyah:{1:{p:15,k:2,b:"13:1",e:"13:4"},2:{p:15,k:2,b:"13:5",e:"13:10"},3:{p:15,k:2,b:"13:11",e:"13:16"},4:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 2":{fullkriyah:{1:{p:18,k:2,b:"22:24",e:"22:26"},2:{p:18,k:2,b:"22:27",e:"23:5"},3:{p:18,k:2,b:"23:6",e:"23:19"},4:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 3":{fullkriyah:{1:{p:21,k:2,b:"34:1",e:"34:10"},2:{p:21,k:2,b:"34:11",e:"34:17"},3:{p:21,k:2,b:"34:18",e:"34:26"},4:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Chol ha-Moed Day 4":{fullkriyah:{1:{p:36,k:4,b:"9:1",e:"9:5"},2:{p:36,k:4,b:"9:6",e:"9:8"},3:{p:36,k:4,b:"9:9",e:"9:14"},4:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach Shabbat Chol ha-Moed":{megillah:"Song of Songs",haft:{k:"Ezekiel",b:"37:1",e:"37:14"},fullkriyah:{1:{p:21,k:2,b:"33:12",e:"33:16"},2:{p:21,k:2,b:"33:17",e:"33:19"},3:{p:21,k:2,b:"33:20",e:"33:23"},4:{p:21,k:2,b:"34:1",e:"34:3"},5:{p:21,k:2,b:"34:4",e:"34:10"},6:{p:21,k:2,b:"34:11",e:"34:17"},7:{p:21,k:2,b:"34:18",e:"34:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII":{haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{1:{p:16,k:2,b:"13:17",e:"13:22"},2:{p:16,k:2,b:"14:1",e:"14:8"},3:{p:16,k:2,b:"14:9",e:"14:14"},4:{p:16,k:2,b:"14:15",e:"14:25"},5:{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VII (on Shabbat)":{megillah:"Song of Songs",haft:{k:"II Samuel",b:"22:1",e:"22:51"},fullkriyah:{1:{p:16,k:2,b:"13:17",e:"13:19"},2:{p:16,k:2,b:"13:20",e:"13:22"},3:{p:16,k:2,b:"14:1",e:"14:4"},4:{p:16,k:2,b:"14:5",e:"14:8"},5:{p:16,k:2,b:"14:9",e:"14:14"},6:{p:16,k:2,b:"14:15",e:"14:25"},7:{p:16,k:2,b:"14:26",e:"15:26"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII":{haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{1:{p:47,k:5,b:"15:19",e:"15:23"},2:{p:47,k:5,b:"16:1",e:"16:3"},3:{p:47,k:5,b:"16:4",e:"16:8"},4:{p:47,k:5,b:"16:9",e:"16:12"},5:{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach VIII (on Shabbat)":{megillah:"Song of Songs",haft:{k:"Isaiah",b:"10:32",e:"12:6"},fullkriyah:{1:{p:47,k:5,b:"14:22",e:"14:29"},2:{p:47,k:5,b:"15:1",e:"15:18"},3:{p:47,k:5,b:"15:19",e:"15:23"},4:{p:47,k:5,b:"16:1",e:"16:3"},5:{p:47,k:5,b:"16:4",e:"16:8"},6:{p:47,k:5,b:"16:9",e:"16:12"},7:{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:19",e:"28:25"}}},"Pesach III (CH''M)":{alias:!0,il:!0,key:"Pesach Chol ha-Moed Day 1"},"Pesach IV (CH''M)":{alias:!0,il:!0,key:"Pesach Chol ha-Moed Day 2"},"Pesach V (CH''M)":{alias:!0,il:!0,key:"Pesach Chol ha-Moed Day 3"},"Pesach VI (CH''M)":{alias:!0,il:!0,key:"Pesach Chol ha-Moed Day 4"},"Pesach Chol ha-Moed Day 2 on Sunday":{alias:!0,il:!1,key:"Pesach Chol ha-Moed Day 1"},"Pesach Chol ha-Moed Day 3 on Monday":{alias:!0,il:!1,key:"Pesach Chol ha-Moed Day 2"},Shavuot:{note:"Israel only",il:!0,megillah:"Ruth",haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{1:{p:17,k:2,b:"19:1",e:"19:6"},2:{p:17,k:2,b:"19:7",e:"19:13"},3:{p:17,k:2,b:"19:14",e:"19:19"},4:{p:17,k:2,b:"19:20",e:"20:14"},5:{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot I":{haft:[{k:"Ezekiel",b:"1:1",e:"1:28"},{k:"Ezekiel",b:"3:12",e:"3:12"}],fullkriyah:{1:{p:17,k:2,b:"19:1",e:"19:6"},2:{p:17,k:2,b:"19:7",e:"19:13"},3:{p:17,k:2,b:"19:14",e:"19:19"},4:{p:17,k:2,b:"19:20",e:"20:14"},5:{p:17,k:2,b:"20:15",e:"20:23"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},seph:{k:"Habakkuk",b:"2:20",e:"3:19"},fullkriyah:{1:{p:47,k:5,b:"15:19",e:"15:23"},2:{p:47,k:5,b:"16:1",e:"16:3"},3:{p:47,k:5,b:"16:4",e:"16:8"},4:{p:47,k:5,b:"16:9",e:"16:12"},5:{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Shavuot II (on Shabbat)":{megillah:"Ruth",haft:{k:"Habakkuk",b:"3:1",e:"3:19"},seph:{k:"Habakkuk",b:"2:20",e:"3:19"},fullkriyah:{1:{p:47,k:5,b:"14:22",e:"14:29"},2:{p:47,k:5,b:"15:1",e:"15:18"},3:{p:47,k:5,b:"15:19",e:"15:23"},4:{p:47,k:5,b:"16:1",e:"16:3"},5:{p:47,k:5,b:"16:4",e:"16:8"},6:{p:47,k:5,b:"16:9",e:"16:12"},7:{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"28:26",e:"28:31"}}},"Fast Day (Morning)":{fullkriyah:{1:{p:21,k:2,b:"32:11",e:"32:14"},2:{p:21,k:2,b:"34:1",e:"34:3"},3:{p:21,k:2,b:"34:4",e:"34:10"}}},"Fast Day (Afternoon)":{haft:{k:"Isaiah",b:"55:6",e:"56:8"},fullkriyah:{1:{p:21,k:2,b:"32:11",e:"32:14"},2:{p:21,k:2,b:"34:1",e:"34:3"},M:{p:21,k:2,b:"34:4",e:"34:10"}}},"Asara B'Tevet":{alias:!0,key:"Fast Day (Morning)"},"Ta'anit Esther":{alias:!0,key:"Fast Day (Morning)"},"Tzom Gedaliah":{alias:!0,key:"Fast Day (Morning)"},"Tzom Tammuz":{alias:!0,key:"Fast Day (Morning)"},"Asara B'Tevet (Mincha)":{alias:!0,key:"Fast Day (Afternoon)"},"Ta'anit Esther (Mincha)":{alias:!0,key:"Fast Day (Afternoon)"},"Tzom Gedaliah (Mincha)":{alias:!0,key:"Fast Day (Afternoon)"},"Tzom Tammuz (Mincha)":{alias:!0,key:"Fast Day (Afternoon)"},"Erev Tish'a B'Av":{megillah:"Lamentations"},"Tish'a B'Av":{haft:{k:"Jeremiah",b:"8:13",e:"9:23"},fullkriyah:{1:{p:45,k:5,b:"4:25",e:"4:29"},2:{p:45,k:5,b:"4:30",e:"4:35"},3:{p:45,k:5,b:"4:36",e:"4:40"}}},"Tish'a B'Av (Mincha)":{alias:!0,key:"Fast Day (Afternoon)"},"Rosh Hashana I":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{1:{p:4,k:1,b:"21:1",e:"21:4"},2:{p:4,k:1,b:"21:5",e:"21:12"},3:{p:4,k:1,b:"21:13",e:"21:21"},4:{p:4,k:1,b:"21:22",e:"21:27"},5:{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana I (on Shabbat)":{haft:{k:"I Samuel",b:"1:1",e:"2:10"},fullkriyah:{1:{p:4,k:1,b:"21:1",e:"21:4"},2:{p:4,k:1,b:"21:5",e:"21:8"},3:{p:4,k:1,b:"21:9",e:"21:12"},4:{p:4,k:1,b:"21:13",e:"21:17"},5:{p:4,k:1,b:"21:18",e:"21:21"},6:{p:4,k:1,b:"21:22",e:"21:27"},7:{p:4,k:1,b:"21:28",e:"21:34"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Rosh Hashana II":{haft:{k:"Jeremiah",b:"31:2",e:"31:20",note:"labeled 31:1–19 in some books"},fullkriyah:{1:{p:4,k:1,b:"22:1",e:"22:3"},2:{p:4,k:1,b:"22:4",e:"22:8"},3:{p:4,k:1,b:"22:9",e:"22:14"},4:{p:4,k:1,b:"22:15",e:"22:19"},5:{p:4,k:1,b:"22:20",e:"22:24"},M:{p:41,k:4,b:"29:1",e:"29:6"}}},"Yom Kippur":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{1:{p:29,k:3,b:"16:1",e:"16:6"},2:{p:29,k:3,b:"16:7",e:"16:11"},3:{p:29,k:3,b:"16:12",e:"16:17"},4:{p:29,k:3,b:"16:18",e:"16:24"},5:{p:29,k:3,b:"16:25",e:"16:30"},6:{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (on Shabbat)":{haft:{k:"Isaiah",b:"57:14",e:"58:14"},fullkriyah:{1:{p:29,k:3,b:"16:1",e:"16:3"},2:{p:29,k:3,b:"16:4",e:"16:6"},3:{p:29,k:3,b:"16:7",e:"16:11"},4:{p:29,k:3,b:"16:12",e:"16:17"},5:{p:29,k:3,b:"16:18",e:"16:24"},6:{p:29,k:3,b:"16:25",e:"16:30"},7:{p:29,k:3,b:"16:31",e:"16:34"},M:{p:41,k:4,b:"29:7",e:"29:11"}}},"Yom Kippur (Mincha)":{alias:!0,key:"Yom Kippur (Mincha, Traditional)"},"Yom Kippur (Mincha, Traditional)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{1:{p:29,k:3,b:"18:1",e:"18:5"},2:{p:29,k:3,b:"18:6",e:"18:21"},M:{p:29,k:3,b:"18:22",e:"18:30"}}},"Yom Kippur (Mincha, Alternate)":{haft:[{k:"Jonah",b:"1:1",e:"4:11"},{k:"Micah",b:"7:18",e:"7:20"}],fullkriyah:{1:{p:30,k:3,b:"19:1",e:"19:4"},2:{p:30,k:3,b:"19:5",e:"19:10"},M:{p:30,k:3,b:"19:11",e:"19:18"}}},"Sukkot I":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{1:{p:31,k:3,b:"22:26",e:"23:3"},2:{p:31,k:3,b:"23:4",e:"23:14"},3:{p:31,k:3,b:"23:15",e:"23:22"},4:{p:31,k:3,b:"23:23",e:"23:32"},5:{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot I (on Shabbat)":{haft:{k:"Zechariah",b:"14:1",e:"14:21"},fullkriyah:{1:{p:31,k:3,b:"22:26",e:"22:33"},2:{p:31,k:3,b:"23:1",e:"23:3"},3:{p:31,k:3,b:"23:4",e:"23:8"},4:{p:31,k:3,b:"23:9",e:"23:14"},5:{p:31,k:3,b:"23:15",e:"23:22"},6:{p:31,k:3,b:"23:23",e:"23:32"},7:{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot II":{haft:{k:"I Kings",b:"8:2",e:"8:21"},fullkriyah:{1:{p:31,k:3,b:"22:26",e:"23:3"},2:{p:31,k:3,b:"23:4",e:"23:14"},3:{p:31,k:3,b:"23:15",e:"23:22"},4:{p:31,k:3,b:"23:23",e:"23:32"},5:{p:31,k:3,b:"23:33",e:"23:44"},M:{p:41,k:4,b:"29:12",e:"29:16"}}},"Sukkot Chol ha-Moed Day 1":{fullkriyah:{1:{p:41,k:4,b:"29:17",e:"29:19"},2:{p:41,k:4,b:"29:20",e:"29:22"},3:{p:41,k:4,b:"29:23",e:"29:25"},4:{p:41,k:4,b:"29:17",e:"29:22"}}},"Sukkot Chol ha-Moed Day 2":{fullkriyah:{1:{p:41,k:4,b:"29:20",e:"29:22"},2:{p:41,k:4,b:"29:23",e:"29:25"},3:{p:41,k:4,b:"29:26",e:"29:28"},4:{p:41,k:4,b:"29:20",e:"29:25"}}},"Sukkot Chol ha-Moed Day 3":{fullkriyah:{1:{p:41,k:4,b:"29:23",e:"29:25"},2:{p:41,k:4,b:"29:26",e:"29:28"},3:{p:41,k:4,b:"29:29",e:"29:31"},4:{p:41,k:4,b:"29:23",e:"29:28"}}},"Sukkot Chol ha-Moed Day 4":{fullkriyah:{1:{p:41,k:4,b:"29:26",e:"29:28"},2:{p:41,k:4,b:"29:29",e:"29:31"},3:{p:41,k:4,b:"29:32",e:"29:34"},4:{p:41,k:4,b:"29:26",e:"29:31"}}},"Sukkot Chol ha-Moed Day 5":{fullkriyah:{1:{p:41,k:4,b:"29:29",e:"29:31"},2:{p:41,k:4,b:"29:32",e:"29:34"},3:{p:41,k:4,b:"29:35",e:"29:37"},4:{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Shabbat Chol ha-Moed":{megillah:"Ecclesiastes",haft:{k:"Ezekiel",b:"38:18",e:"39:16"},fullkriyah:{1:{p:21,k:2,b:"33:12",e:"33:16"},2:{p:21,k:2,b:"33:17",e:"33:19"},3:{p:21,k:2,b:"33:20",e:"33:23"},4:{p:21,k:2,b:"34:1",e:"34:3"},5:{p:21,k:2,b:"34:4",e:"34:10"},6:{p:21,k:2,b:"34:11",e:"34:17"},7:{p:21,k:2,b:"34:18",e:"34:26"},"M-day1":{p:41,k:4,b:"29:17",e:"29:22"},"M-day2":{p:41,k:4,b:"29:20",e:"29:25"},"M-day3":{p:41,k:4,b:"29:23",e:"29:28"},"M-day4":{p:41,k:4,b:"29:26",e:"29:31"},"M-day5":{p:41,k:4,b:"29:29",e:"29:34"}}},"Sukkot Final Day (Hoshana Raba)":{fullkriyah:{1:{p:41,k:4,b:"29:26",e:"29:28"},2:{p:41,k:4,b:"29:29",e:"29:31"},3:{p:41,k:4,b:"29:32",e:"29:34"},4:{p:41,k:4,b:"29:29",e:"29:34"}}},"Shmini Atzeret":{haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{1:{p:47,k:5,b:"14:22",e:"14:29"},2:{p:47,k:5,b:"15:1",e:"15:18"},3:{p:47,k:5,b:"15:19",e:"16:3"},4:{p:47,k:5,b:"16:4",e:"16:8"},5:{p:47,k:5,b:"16:9",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shmini Atzeret (on Shabbat)":{megillah:"Ecclesiastes",haft:{k:"I Kings",b:"8:54",e:"8:66"},fullkriyah:{1:{p:47,k:5,b:"14:22",e:"14:29"},2:{p:47,k:5,b:"15:1",e:"15:18"},3:{p:47,k:5,b:"15:19",e:"15:23"},4:{p:47,k:5,b:"16:1",e:"16:3"},5:{p:47,k:5,b:"16:4",e:"16:8"},6:{p:47,k:5,b:"16:9",e:"16:12"},7:{p:47,k:5,b:"16:13",e:"16:17"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Erev Simchat Torah":{fullkriyah:{1:{p:54,k:5,b:"33:1",e:"33:7"},2:{p:54,k:5,b:"33:8",e:"33:12"},3:{p:54,k:5,b:"33:13",e:"33:17"}}},"Simchat Torah":{haft:{k:"Joshua",b:"1:1",e:"1:18"},fullkriyah:{1:{p:54,k:5,b:"33:1",e:"33:7"},2:{p:54,k:5,b:"33:8",e:"33:12"},3:{p:54,k:5,b:"33:13",e:"33:17"},4:{p:54,k:5,b:"33:18",e:"33:21"},5:{p:54,k:5,b:"33:22",e:"33:26"},6:{p:54,k:5,b:"33:27",e:"34:12"},7:{p:1,k:1,b:"1:1",e:"2:3"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Simchat Torah (on Shabbat)":{megillah:"Ecclesiastes",haft:{k:"Joshua",b:"1:1",e:"1:18"},fullkriyah:{1:{p:54,k:5,b:"33:1",e:"33:7"},2:{p:54,k:5,b:"33:8",e:"33:12"},3:{p:54,k:5,b:"33:13",e:"33:17"},4:{p:54,k:5,b:"33:18",e:"33:21"},5:{p:54,k:5,b:"33:22",e:"33:26"},6:{p:54,k:5,b:"33:27",e:"33:29"},7:{p:54,k:5,b:"34:1",e:"34:12"},8:{p:1,k:1,b:"1:1",e:"2:3"},M:{p:41,k:4,b:"29:35",e:"30:1"}}},"Shabbat Rosh Chodesh Chanukah":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{7:{p:41,k:4,b:"28:9",e:"28:15"},M:{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 1":{fullkriyah:{1:{p:35,k:4,b:"7:1",e:"7:11"},2:{p:35,k:4,b:"7:12",e:"7:14"},3:{p:35,k:4,b:"7:15",e:"7:17"}},alt:{1:{p:35,k:4,b:"7:1",e:"7:3"},2:{p:35,k:4,b:"7:4",e:"7:11"},3:{p:35,k:4,b:"7:12",e:"7:17"}}},"Chanukah Day 1 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:1",e:"7:17"}}},"Chanukah Day 2":{fullkriyah:{1:{p:35,k:4,b:"7:18",e:"7:20"},2:{p:35,k:4,b:"7:21",e:"7:23"},3:{p:35,k:4,b:"7:24",e:"7:29"}},alt:{1:{p:35,k:4,b:"7:18",e:"7:20"},2:{p:35,k:4,b:"7:21",e:"7:23"},3:{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 2 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:18",e:"7:23"}}},"Chanukah Day 3":{fullkriyah:{1:{p:35,k:4,b:"7:24",e:"7:26"},2:{p:35,k:4,b:"7:27",e:"7:29"},3:{p:35,k:4,b:"7:30",e:"7:35"}},alt:{1:{p:35,k:4,b:"7:24",e:"7:26"},2:{p:35,k:4,b:"7:27",e:"7:29"},3:{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 3 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:24",e:"7:29"}}},"Chanukah Day 4":{fullkriyah:{1:{p:35,k:4,b:"7:30",e:"7:32"},2:{p:35,k:4,b:"7:33",e:"7:35"},3:{p:35,k:4,b:"7:36",e:"7:41"}},alt:{1:{p:35,k:4,b:"7:30",e:"7:32"},2:{p:35,k:4,b:"7:33",e:"7:35"},3:{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 4 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:30",e:"7:35"}}},"Chanukah Day 5":{fullkriyah:{1:{p:35,k:4,b:"7:36",e:"7:38"},2:{p:35,k:4,b:"7:39",e:"7:41"},3:{p:35,k:4,b:"7:42",e:"7:47"}},alt:{1:{p:35,k:4,b:"7:36",e:"7:38"},2:{p:35,k:4,b:"7:39",e:"7:41"},3:{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 5 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:36",e:"7:41"}}},"Chanukah Day 6":{fullkriyah:{1:{p:41,k:4,b:"28:1",e:"28:5"},2:{p:41,k:4,b:"28:6",e:"28:10"},3:{p:41,k:4,b:"28:11",e:"28:15"},4:{p:35,k:4,b:"7:42",e:"7:47"}}},"Chanukah Day 7":{fullkriyah:{1:{p:35,k:4,b:"7:48",e:"7:50"},2:{p:35,k:4,b:"7:51",e:"7:53"},3:{p:35,k:4,b:"7:54",e:"7:59"}},alt:{1:{p:35,k:4,b:"7:48",e:"7:50"},2:{p:35,k:4,b:"7:51",e:"7:53"},3:{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Rosh Chodesh)":{fullkriyah:{1:{p:41,k:4,b:"28:1",e:"28:5"},2:{p:41,k:4,b:"28:6",e:"28:10"},3:{p:41,k:4,b:"28:11",e:"28:15"},4:{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 7 (on Shabbat)":{haft:{k:"Zechariah",b:"2:14",e:"4:7"},fullkriyah:{M:{p:35,k:4,b:"7:48",e:"7:53"}}},"Chanukah Day 8":{fullkriyah:{1:{p:35,k:4,b:"7:54",e:"7:56"},2:{p:35,k:4,b:"7:57",e:"7:59"},3:{p:35,k:4,b:"7:60",e:"8:4"}}},"Chanukah Day 8 (on Shabbat)":{haft:{k:"I Kings",b:"7:40",e:"7:50"},fullkriyah:{M:{p:35,k:4,b:"7:54",e:"8:4"}}},"Erev Purim":{megillah:"Esther"},Purim:{megillah:"Esther",fullkriyah:{1:{p:16,k:2,b:"17:8",e:"17:10"},2:{p:16,k:2,b:"17:11",e:"17:13"},3:{p:16,k:2,b:"17:14",e:"17:16"}}},"Shushan Purim":{note:"Jerusalem & walled cities only",il:!0,megillah:"Esther",fullkriyah:{1:{p:16,k:2,b:"17:8",e:"17:10"},2:{p:16,k:2,b:"17:11",e:"17:13"},3:{p:16,k:2,b:"17:14",e:"17:16"}}},"Shushan Purim (on Shabbat)":{il:!0,note:"Jerusalem & walled cities only: special maftir Exodus 17:8-16, same Haftara as Shabbat Zachor"},"Shabbat HaChodesh":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},seph:{k:"Ezekiel",b:"45:18",e:"46:15"},fullkriyah:{M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaChodesh (on Rosh Chodesh)":{haft:{k:"Ezekiel",b:"45:16",e:"46:18"},seph:{k:"Ezekiel",b:"45:18",e:"46:15"},fullkriyah:{7:{p:41,k:4,b:"28:9",e:"28:15"},M:{p:15,k:2,b:"12:1",e:"12:20"}}},"Shabbat HaGadol":{haft:{k:"Malachi",b:"3:4",e:"3:24"}},"Shabbat Parah":{haft:{k:"Ezekiel",b:"36:16",e:"36:38"},seph:{k:"Ezekiel",b:"36:16",e:"36:36"},fullkriyah:{M:{p:39,k:4,b:"19:1",e:"19:22"}}},"Shabbat Shekalim":{haft:{k:"II Kings",b:"12:1",e:"12:17"},seph:{k:"II Kings",b:"11:17",e:"12:17"},fullkriyah:{M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shekalim (on Rosh Chodesh)":{haft:{k:"II Kings",b:"12:1",e:"12:17"},seph:{k:"II Kings",b:"11:17",e:"12:17"},fullkriyah:{7:{p:41,k:4,b:"28:9",e:"28:15"},M:{p:21,k:2,b:"30:11",e:"30:16"}}},"Shabbat Shuva (with Vayeilech)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva (with Ha'azinu)":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Joel",b:"2:15",e:"2:27"}],seph:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"}]},"Shabbat Shuva":{haft:[{k:"Hosea",b:"14:2",e:"14:10"},{k:"Micah",b:"7:18",e:"7:20"},{k:"Joel",b:"2:15",e:"2:27"}]},"Shabbat Zachor":{haft:{k:"I Samuel",b:"15:2",e:"15:34"},seph:{k:"I Samuel",b:"15:1",e:"15:34"},fullkriyah:{M:{p:49,k:5,b:"25:17",e:"25:19"}}},"Pinchas occurring after 17 Tammuz":{haft:{k:"Jeremiah",b:"1:1",e:"2:3"}},"Kedoshim following Special Shabbat":{haft:{k:"Amos",b:"9:7",e:"9:15"},seph:{k:"Ezekiel",b:"20:2",e:"20:20"}},"Masei on Shabbat Rosh Chodesh":{haft:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"3:4",e:"3:4"}],seph:[{k:"Jeremiah",b:"2:4",e:"2:28"},{k:"Jeremiah",b:"4:1",e:"4:2"},{k:"Isaiah",b:"66:1",e:"66:1"},{k:"Isaiah",b:"66:23",e:"66:23"}],fullkriyah:{M:{p:41,k:4,b:"28:9",e:"28:15"}}},"Matot-Masei on Shabbat Rosh Chodesh":{alias:!0,key:"Masei on Shabbat Rosh Chodesh"},"Ki Teitzei with 3rd Haftarah of Consolation":{haft:[{k:"Isaiah",b:"54:1",e:"54:10"},{k:"Isaiah",b:"54:11",e:"55:5"}]},"Rosh Chodesh":{fullkriyah:{1:{p:41,k:4,b:"28:1",e:"28:3"},2:{p:41,k:4,b:"28:3",e:"28:5"},3:{p:41,k:4,b:"28:6",e:"28:10"},4:{p:41,k:4,b:"28:11",e:"28:15"}}},"Rosh Chodesh Nisan":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Iyyar":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Sivan":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Tamuz":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Av":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Elul":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Tishrei":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Cheshvan":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Kislev":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Sh'vat":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Adar":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Adar I":{alias:!0,key:"Rosh Chodesh"},"Rosh Chodesh Adar II":{alias:!0,key:"Rosh Chodesh"},"Shabbat Rosh Chodesh":{haft:{k:"Isaiah",b:"66:1",e:"66:24"},fullkriyah:{M:{p:41,k:4,b:"28:9",e:"28:15"}}},"Shabbat Machar Chodesh":{haft:{k:"I Samuel",b:"20:18",e:"20:42"}}};function ca(e){return"object"==typeof la[e]}function ua(e){let a=la[e];if(void 0===a)return;if(a.alias){const t=la[a.key];if(void 0===t)throw new Error(`Leyning alias ${e} => ${a.key} not found`);a=t}const t=a.fullkriyah?na(a):a;if(t.fullkriyah)for(const e of Object.values(t.fullkriyah))"number"==typeof e.k&&(e.k=aa[e.k]);return a.note&&(t.note=a.note),t}
|
|
32
|
-
/*! @hebcal/leyning v9.0.1 */const ba=Be|Ne|$e|Ve|je|Fe|Je|Ye|_e;function da(e,a=!1){if(void 0!==e.eventTime)return;const t=e.getFlags();if(t&ba)return;const o=e.getDesc();if(t&xe&&!ca(o))return;const r=e.getDate(),h=r.getDate(),n=r.abs()%7,i=r.getMonth(),s=6===n,l=1===h||30===h,c=e.basename(),u="Pesach"===c;if(a&&u)return s?15===h||21===h?o+" (on Shabbat)":"Pesach Shabbat Chol ha-Moed":o;if(1===h&&i===g)return s?"Rosh Hashana I (on Shabbat)":"Rosh Hashana I";const b=e.cholHaMoedDay;if("number"==typeof b){if(s)return c+" Shabbat Chol ha-Moed";if("Sukkot VII (Hoshana Raba)"===o)return"Sukkot Final Day (Hoshana Raba)";if(u&&b){if(0===n&&"Pesach IV (CH''M)"===o)return"Pesach Chol ha-Moed Day 2 on Sunday";if(1===n&&"Pesach V (CH''M)"===o)return"Pesach Chol ha-Moed Day 3 on Monday"}return`${c} Chol ha-Moed Day ${b}`}const d=e.chanukahDay;if("number"==typeof d)return s&&l?"Shabbat Rosh Chodesh Chanukah":l&&7===d?"Chanukah Day 7 (on Rosh Chodesh)":s?`Chanukah Day ${d} (on Shabbat)`:`Chanukah Day ${d}`;if(l&&("Shabbat HaChodesh"===o||"Shabbat Shekalim"===o))return o+" (on Rosh Chodesh)";if(a&&"Shmini Atzeret"===o)return"Simchat Torah"+(s?" (on Shabbat)":"");if("Chag HaBanot"!==o){if(s&&"Shabbat"!==o.substring(0,7)){if(l)return"Rosh Chodesh Tevet"===o?"Shabbat Rosh Chodesh Chanukah":"Shabbat Rosh Chodesh";const e=o+" (on Shabbat)";if(ca(e))return e}if(ca(o))return o;if(s){const e=r.next().getDate();if(30===e||1===e)return"Shabbat Machar Chodesh"}if("Rosh Hashana LaBehemot"!==o)return"Rosh Chodesh Tevet"===o?s?"Shabbat Rosh Chodesh Chanukah":30===h||me.shortKislev(r.getFullYear())?"Chanukah Day 6":"Chanukah Day 7 (on Rosh Chodesh)":l?o:"Tish'a B'Av (observed)"===o?"Tish'a B'Av":void 0}}class ma extends Map{constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(const[a,t]of e)this.onEviction(a,t.value)}_deleteIfExpired(e,a){return"number"==typeof a.expiry&&a.expiry<=Date.now()&&("function"==typeof this.onEviction&&this.onEviction(e,a.value),this.delete(e))}_getOrDeleteIfExpired(e,a){if(!1===this._deleteIfExpired(e,a))return a.value}_getItemValue(e,a){return a.expiry?this._getOrDeleteIfExpired(e,a):a.value}_peek(e,a){const t=a.get(e);return this._getItemValue(e,t)}_set(e,a){this.cache.set(e,a),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,a){this.oldCache.delete(e),this._set(e,a)}*_entriesAscending(){for(const e of this.oldCache){const[a,t]=e;if(!this.cache.has(a)){!1===this._deleteIfExpired(a,t)&&(yield e)}}for(const e of this.cache){const[a,t]=e;!1===this._deleteIfExpired(a,t)&&(yield e)}}get(e){if(this.cache.has(e)){const a=this.cache.get(e);return this._getItemValue(e,a)}if(this.oldCache.has(e)){const a=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,a))return this._moveToRecent(e,a),a.value}}set(e,a,{maxAge:t=this.maxAge}={}){const o="number"==typeof t&&t!==Number.POSITIVE_INFINITY?Date.now()+t:void 0;return this.cache.has(e)?this.cache.set(e,{value:a,expiry:o}):this._set(e,{value:a,expiry:o}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const a=this.cache.delete(e);return a&&this._size--,this.oldCache.delete(e)||a}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const a=[...this._entriesAscending()],t=a.length-e;t<0?(this.cache=new Map(a),this.oldCache=new Map,this._size=a.length):(t>0&&this._emitEvictions(a.slice(0,t)),this.oldCache=new Map(a.slice(t)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[a,t]=e;!1===this._deleteIfExpired(a,t)&&(yield[a,t.value])}for(const e of this.oldCache){const[a,t]=e;if(!this.cache.has(a)){!1===this._deleteIfExpired(a,t)&&(yield[a,t.value])}}}*entriesDescending(){let e=[...this.cache];for(let a=e.length-1;a>=0;--a){const t=e[a],[o,r]=t;!1===this._deleteIfExpired(o,r)&&(yield[o,r.value])}e=[...this.oldCache];for(let a=e.length-1;a>=0;--a){const t=e[a],[o,r]=t;if(!this.cache.has(o)){!1===this._deleteIfExpired(o,r)&&(yield[o,r.value])}}}*entriesAscending(){for(const[e,a]of this._entriesAscending())yield[e,a.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const a of this.oldCache.keys())this.cache.has(a)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e,a=this){for(const[t,o]of this.entriesAscending())e.call(a,o,t,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}
|
|
33
|
-
/*! @hebcal/core v5.7.7 */const fa=d,ka=m;class ya{constructor(e,a){e=+e,this.year=e;const t=new me(1,g,e),o=t.abs(),r=t.getDay()+1;this.firstSaturday=me.dayOnOrBefore(6,o+6);const h=+me.isLeapYear(e);this.il=Boolean(a);const n=function(e){const a=me.longCheshvan(e),t=me.shortKislev(e);return a&&!t?2:!a&&t?0:1}(e);let i=`${h}${r}${n}`;if(Va[i]||(i+=+this.il),this.theSedraArray=Va[i],!this.theSedraArray)throw new Error(`improper sedra year type ${i} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,a){
|
|
34
|
-
/*! @hebcal/core v5.7.7 */
|
|
35
|
-
return function(e,a){const t=null!=a?a:ne.getLocaleName();let o=ne.gettext(e[0],t);2===e.length&&(o+=("he"===t?"־":"-")+ne.gettext(e[1],t));return o=o.replace(/'/g,"’"),(ne.gettext("Parashat",a)+" "+o).normalize()}
|
|
36
|
-
/*! @hebcal/core v5.7.7 */(this.get(e),a)}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>=pa.length||e<0&&!wa(e))throw new RangeError(`Invalid parsha number: ${e}`);return this.findInternal(e)}if("string"==typeof e){const a=ga.get(e);return"number"==typeof a?this.find(a):-1!==e.indexOf("-")?e===Ta||e===Ia?this.findInternal(e):this.find(e.split("-")):this.findInternal(e)}if(Array.isArray(e)){const a=e.length;if(1!==a&&2!==a||"string"!=typeof e[0])throw new TypeError(`Invalid parsha argument: ${JSON.stringify(e)}`);if(1===a)return this.find(e[0]);const t=e[0],o=e[1],r=ga.get(t),h=ga.get(o);if("number"!=typeof r||"number"!=typeof h||h!==r+1||!wa(-r))throw new RangeError(`Unrecognized parsha name: ${t}-${o}`);return this.find(-r)}return null}findInternal(e){const a=this.theSedraArray.indexOf(e);return-1===a?null:new me(this.firstSaturday+7*a)}findContaining(e){const a=this.find(e);if(a)return a;if("number"==typeof e){const a=-e;return wa(a)?this.find(a):this.find(a+1)}{const a=ga.get(e);if(a){const e=-a;return wa(e)?this.find(e):this.find(e+1)}{const[a]=e.split("-");return this.find(a)}}}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const a="number"==typeof e?e:me.isHDate(e)?e.abs():NaN;if(isNaN(a))throw new TypeError(`Bad date argument: ${e}`);const t=me.dayOnOrBefore(6,a+6),o=(t-this.firstSaturday)/7,r=this.theSedraArray[o];if(void 0===r){return Fa(this.year+1,this.il).lookup(t)}const h=new me(t);if("string"==typeof r)return{parsha:[r],chag:!0,hdate:h};if(r>=0)return{parsha:[pa[r]],chag:!1,num:r+1,hdate:h};const n=Ma(r);return{parsha:[pa[n],pa[n+1]],chag:!1,num:[n+1,n+2],hdate:h}}}const pa=["Bereshit","Noach","Lech-Lecha","Vayera","Chayei Sara","Toldot","Vayetzei","Vayishlach","Vayeshev","Miketz","Vayigash","Vayechi","Shemot","Vaera","Bo","Beshalach","Yitro","Mishpatim","Terumah","Tetzaveh","Ki Tisa","Vayakhel","Pekudei","Vayikra","Tzav","Shmini","Tazria","Metzora","Achrei Mot","Kedoshim","Emor","Behar","Bechukotai","Bamidbar","Nasso","Beha'alotcha","Sh'lach","Korach","Chukat","Balak","Pinchas","Matot","Masei","Devarim","Vaetchanan","Eikev","Re'eh","Shoftim","Ki Teitzei","Ki Tavo","Nitzavim","Vayeilech","Ha'azinu"],ga=new Map;for(let e=0;e<pa.length;e++){const a=pa[e];ga.set(a,e)}const Sa=[21,26,28,31,38,41,50];function wa(e){return Sa.includes(-e)}function Ma(e){return-e}const Ia="Sukkot Shabbat Chol ha-Moed",Ca="Pesach",va="Pesach I",Ta="Pesach Shabbat Chol ha-Moed",Ha="Pesach VII",Da="Pesach VIII",Aa="Shavuot";function Ea(e,a){return Array.from({length:a-e+1},((a,t)=>t+e))}const Ra=[51,52,Ia],Pa=[52,"Yom Kippur",Ia],za=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],Ba=Ea(0,20),Na=Ea(0,27),Ya=Ea(33,40),Ka=Ea(43,49),$a=Ea(43,50),Va={"020":Ra.concat(Ba,Ma(21),23,24,Ca,25,Ma(26),Ma(28),30,Ma(31),Ya,Ma(41),Ka,Ma(50)),"0220":Ra.concat(Ba,Ma(21),23,24,Ca,25,Ma(26),Ma(28),30,Ma(31),33,Aa,Ea(34,37),Ma(38),40,Ma(41),Ka,Ma(50)),"0510":Pa.concat(Ba,Ma(21),23,24,va,Da,25,Ma(26),Ma(28),30,Ma(31),Ya,Ma(41),$a),"0511":Pa.concat(Ba,Ma(21),23,24,Ca,25,Ma(26),Ma(28),Ea(30,40),Ma(41),$a),"052":Pa.concat(Ea(0,24),Ha,25,Ma(26),Ma(28),30,Ma(31),Ya,Ma(41),$a),"070":za.concat(Ba,Ma(21),23,24,Ha,25,Ma(26),Ma(28),30,Ma(31),Ya,Ma(41),$a),"072":za.concat(Ba,Ma(21),23,24,Ta,25,Ma(26),Ma(28),30,Ma(31),Ya,Ma(41),Ka,Ma(50)),1200:Ra.concat(Na,Ta,Ea(28,33),Aa,Ea(34,37),Ma(38),40,Ma(41),Ka,Ma(50)),1201:Ra.concat(Na,Ta,Ea(28,40),Ma(41),Ka,Ma(50)),1220:Ra.concat(Na,va,Da,Ea(28,40),Ma(41),$a),1221:Ra.concat(Na,Ca,Ea(28,50)),150:Pa.concat(Ea(0,28),Ha,Ea(29,50)),152:Pa.concat(Ea(0,28),Ta,Ea(29,49),Ma(50)),170:za.concat(Na,Ta,Ea(28,40),Ma(41),Ka,Ma(50)),1720:za.concat(Na,Ta,Ea(28,33),Aa,Ea(34,37),Ma(38),40,Ma(41),Ka,Ma(50))};Va["0221"]=Va["020"],Va["0310"]=Va["0220"],Va["0311"]=Va["020"],Va[1310]=Va[1220],Va[1311]=Va[1221],Va[1721]=Va[170];const ja=new ma({maxSize:400});function Fa(e,a){const t=`${e}-${a?1:0}`;let o=ja.get(t);return o||(o=new ya(e,a),ja.set(t,o)),o}
|
|
37
|
-
/*! @hebcal/core v5.7.7 */const La="🫓",xa="🌿🍋",Oa="Rosh Hashana II",Ja="Erev Yom Kippur",Ga="Yom Kippur",_a="Erev Sukkot",Za="Sukkot I",Ua="Sukkot II",Wa="Sukkot III (CH''M)",qa="Sukkot IV (CH''M)",Qa="Sukkot V (CH''M)",Xa="Sukkot VI (CH''M)",et="Shmini Atzeret",at="Simchat Torah",tt="Sukkot II (CH''M)",ot="Sukkot VII (Hoshana Raba)",rt="Chanukah: 1 Candle",ht="Tu BiShvat",nt="Erev Purim",it="Purim",st="Shushan Purim",lt="Erev Pesach",ct="Pesach I",ut="Pesach II",bt="Pesach II (CH''M)",dt="Pesach III (CH''M)",mt="Pesach IV (CH''M)",ft="Pesach V (CH''M)",kt="Pesach VI (CH''M)",yt="Pesach VII",pt="Pesach VIII",gt="Pesach Sheni",St="Lag BaOmer",wt="Erev Shavuot",Mt="Shavuot",It="Shavuot I",Ct="Shavuot II",vt="Tu B'Av",Tt="Rosh Hashana LaBehemot",Ht="Erev Rosh Hashana",Dt="Yom Yerushalayim",At="Ben-Gurion Day",Et="Family Day",Rt="Yitzhak Rabin Memorial Day",Pt="Herzl Day",zt="Jabotinsky Day",Bt="Sigd",Nt="Yom HaAliyah",Yt="Yom HaAliyah School Observance",Kt="Hebrew Language Day",$t="Asara B'Tevet",Vt="Birkat Hachamah",jt="Chag HaBanot",Ft="Chanukah: 8th Day",Lt="Erev Tish'a B'Av",xt="Leil Selichot",Ot="Purim Katan",Jt="Purim Meshulash",Gt="Shabbat Chazon",_t="Shabbat HaChodesh",Zt="Shabbat HaGadol",Ut="Shabbat Nachamu",Wt="Shabbat Parah",qt="Shabbat Shekalim",Qt="Shabbat Shirah",Xt="Shabbat Shuva",eo="Shabbat Zachor",ao="Shushan Purim Katan",to="Ta'anit Bechorot",oo="Ta'anit Esther",ro="Tish'a B'Av",ho="Tzom Gedaliah",no="Tzom Tammuz",io="Yom HaAtzma'ut",so="Yom HaShoah",lo="Yom HaZikaron",co=nt,uo=St,bo=gt,mo=Tt,fo=st,ko=vt,yo=ht,po=[{mm:g,dd:2,desc:Oa,flags:Ie|ve,emoji:"🍏🍯"},{mm:g,dd:9,desc:Ja,flags:xe|Ce},{mm:g,dd:10,desc:Ga,flags:Ie|Ke|ve},{mm:g,dd:14,desc:_a,flags:Te|xe|Ce,emoji:xa},{mm:g,dd:15,desc:Za,flags:Te|Ie|De,emoji:xa},{mm:g,dd:16,desc:Ua,flags:Te|Ie|ve,emoji:xa},{mm:g,dd:17,desc:Wa,flags:Te|Oe,chmDay:1,emoji:xa},{mm:g,dd:18,desc:qa,flags:Te|Oe,chmDay:2,emoji:xa},{mm:g,dd:19,desc:Qa,flags:Te|Oe,chmDay:3,emoji:xa},{mm:g,dd:20,desc:Xa,flags:Te|Oe,chmDay:4,emoji:xa},{mm:g,dd:22,desc:et,flags:Te|Ie|De},{mm:g,dd:23,desc:at,flags:Te|Ie|ve},{mm:g,dd:14,desc:_a,flags:He|xe|Ce,emoji:xa},{mm:g,dd:15,desc:Za,flags:He|Ie|ve,emoji:xa},{mm:g,dd:16,desc:tt,flags:He|Oe,chmDay:1,emoji:xa},{mm:g,dd:17,desc:Wa,flags:He|Oe,chmDay:2,emoji:xa},{mm:g,dd:18,desc:qa,flags:He|Oe,chmDay:3,emoji:xa},{mm:g,dd:19,desc:Qa,flags:He|Oe,chmDay:4,emoji:xa},{mm:g,dd:20,desc:Xa,flags:He|Oe,chmDay:5,emoji:xa},{mm:g,dd:22,desc:et,flags:He|Ie|ve},{mm:g,dd:21,desc:ot,flags:Ce|Oe,chmDay:-1,emoji:xa},{mm:w,dd:24,desc:rt,flags:xe|Le|Ae,emoji:"🕎1️⃣"},{mm:I,dd:15,desc:ht,flags:Le,emoji:"🌳"},{mm:v,dd:13,desc:nt,flags:xe|Le,emoji:"🎭️📜"},{mm:v,dd:14,desc:it,flags:Le,emoji:"🎭️📜"},{mm:v,dd:15,desc:st,flags:Le,emoji:"🎭️📜"},{mm:d,dd:14,desc:lt,flags:He|xe|Ce,emoji:"🫓🍷"},{mm:d,dd:15,desc:ct,flags:He|Ie|ve,emoji:La},{mm:d,dd:16,desc:bt,flags:He|Oe,chmDay:1,emoji:La},{mm:d,dd:17,desc:dt,flags:He|Oe,chmDay:2,emoji:La},{mm:d,dd:18,desc:mt,flags:He|Oe,chmDay:3,emoji:La},{mm:d,dd:19,desc:ft,flags:He|Oe,chmDay:4,emoji:La},{mm:d,dd:20,desc:kt,flags:He|Oe|Ce,chmDay:5,emoji:La},{mm:d,dd:21,desc:yt,flags:He|Ie|ve,emoji:La},{mm:d,dd:14,desc:lt,flags:Te|xe|Ce,emoji:"🫓🍷"},{mm:d,dd:15,desc:ct,flags:Te|Ie|De,emoji:"🫓🍷"},{mm:d,dd:16,desc:ut,flags:Te|Ie|ve,emoji:La},{mm:d,dd:17,desc:dt,flags:Te|Oe,chmDay:1,emoji:La},{mm:d,dd:18,desc:mt,flags:Te|Oe,chmDay:2,emoji:La},{mm:d,dd:19,desc:ft,flags:Te|Oe,chmDay:3,emoji:La},{mm:d,dd:20,desc:kt,flags:Te|Oe|Ce,chmDay:4,emoji:La},{mm:d,dd:21,desc:yt,flags:Te|Ie|De,emoji:La},{mm:d,dd:22,desc:pt,flags:Te|Ie|ve,emoji:La},{mm:m,dd:14,desc:gt,flags:Le},{mm:m,dd:18,desc:St,flags:Le,emoji:"🔥"},{mm:f,dd:5,desc:wt,flags:xe|Ce,emoji:"⛰️🌸"},{mm:f,dd:6,desc:Mt,flags:He|Ie|ve,emoji:"⛰️🌸"},{mm:f,dd:6,desc:It,flags:Te|Ie|De,emoji:"⛰️🌸"},{mm:f,dd:7,desc:Ct,flags:Te|Ie|ve,emoji:"⛰️🌸"},{mm:y,dd:15,desc:vt,flags:Le,emoji:"❤️"},{mm:p,dd:1,desc:Tt,flags:Le,emoji:"🐑"},{mm:p,dd:29,desc:Ht,flags:xe|Ce,emoji:"🍏🍯"}],go=[{firstYear:5727,mm:m,dd:28,desc:Dt,chul:!0},{firstYear:5737,mm:w,dd:6,desc:At,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:I,dd:30,desc:Et},{firstYear:5758,mm:S,dd:12,desc:Rt,friSatMovetoThu:!0},{firstYear:5764,mm:m,dd:10,desc:Pt,satPostponeToSun:!0},{firstYear:5765,mm:k,dd:29,desc:zt,satPostponeToSun:!0},{firstYear:5769,mm:S,dd:29,desc:Bt,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:d,dd:10,desc:Nt,chul:!0},{firstYear:5777,mm:S,dd:7,desc:Yt},{firstYear:5773,mm:M,dd:21,desc:Kt,friSatMovetoThu:!0}];
|
|
38
|
-
/*! @hebcal/core v5.7.7 */
|
|
39
|
-
class So extends Ue{basename(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}url(){if(this.getDate().greg().getFullYear()<100)return;const e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&He?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&Pe?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;switch(this.getDesc()){case uo:case xt:case bo:case co:case Ot:case fo:case ko:case yo:case mo:return["holiday","minor"]}return["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}clone(){const e=new So(this.date,this.desc,this.mask);for(const a in this)this.hasOwnProperty(a)&&Object.defineProperty(e,a,{value:this[a]});return e}}class wo extends So{urlDateSuffix(){return U(this.getDate().greg()).replace(/-/g,"")}}class Mo extends So{constructor(e,a,t){super(e,`Rosh Hashana ${a}`,t),this.hyear=a}render(e){return ne.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const Io="Rosh Chodesh";class Co extends So{constructor(e,a){super(e,`${Io} ${a}`,Ee)}render(e){const a=this.getDesc().substring(13),t=ne.gettext(a,e).replace(/'/g,"’");return ne.gettext(Io,e)+" "+t}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}
|
|
40
|
-
/*! @hebcal/core v5.7.7 */const vo="Yom Kippur Katan";class To extends So{constructor(e,a){super(e,`${vo} ${a}`,Re|Ge),this.nextMonthName=a,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${a}`}basename(){return this.getDesc()}render(e){const a=ne.gettext(this.nextMonthName,e).replace(/'/g,"’");return ne.gettext(vo,e)+" "+a}renderBrief(e){return ne.gettext(vo,e)}url(){}}
|
|
41
|
-
/*! @hebcal/core v5.7.7 */function Ho(e){return e.observedInIsrael()}function Do(e){return e.observedInDiaspora()}function Ao(e,a){const t=me.isHDate(e)?e:new me(e),o=t.toString(),r=function(e){if("number"!=typeof e)throw new TypeError(`bad Hebrew year: ${e}`);if(e<1||e>32658)throw new RangeError(`Hebrew year ${e} out of range 1-32658`);const a=ar.get(e);if(a)return a;const t=new me(1,Zo,e),o=new me(15,Jo,e),r=new Map;function h(...e){for(const a of e){const e=a.date.toString(),t=r.get(e);"object"==typeof t?t[0].getFlags()&Vo?t.unshift(a):t.push(a):r.set(e,[a])}}for(const a of po){const t=new me(a.dd,a.mm,e),o=new So(t,a.desc,a.flags);a.emoji&&(o.emoji=a.emoji),a.chmDay&&(o.cholHaMoedDay=a.chmDay),h(o)}h(new Mo(t,e,Eo|Po));const n=t.getDay()===Lo?4:3;h(new So(new me(n,Zo,e),ho,Bo)),h(new So(new me(me.dayOnOrBefore(Oo,7+t.abs())),Xt,No));const i=me.shortKislev(e)?new me(1,Wo,e):new me(30,Uo,e);h(new So(i,jt,$o));for(let a=2;a<=8;a++){const t=new me(23+a,Uo,e);h(new So(t,`Chanukah: ${a} Candles`,$o|zo,{chanukahDay:a-1,emoji:er+tr[a]}))}h(new So(new me(32,Uo,e),Ft,$o,{chanukahDay:8,emoji:er})),h(new wo(new me(10,Wo,e),$t,Bo));const s=o.abs();h(new So(new me(me.dayOnOrBefore(Oo,s-43)),qt,No),new So(new me(me.dayOnOrBefore(Oo,s-30)),eo,No),new So(new me(s-(o.getDay()===Fo?33:31)),oo,Bo));const l=me.dayOnOrBefore(Oo,s-14);h(new So(new me(l-7),Wt,No),new So(new me(l),_t,No),new So(new me(me.dayOnOrBefore(Oo,s-1)),Zt,No),new So(o.prev().getDay()===Oo?o.onOrBefore(Lo):new me(14,Jo,e),to,Bo)),h(new So(new me(me.dayOnOrBefore(Oo,new me(1,Zo,e+1).abs()-4)),xt,$o,{emoji:"🕍"})),o.getDay()===jo&&h(new So(new me(16,Qo,e),Jt,$o));me.isLeapYear(e)&&(h(new So(new me(14,qo,e),Ot,$o,{emoji:"🎭️"})),h(new So(new me(15,qo,e),ao,$o,{emoji:"🎭️"})));const c=function(e){if(e<5711)return null;let a=new me(27,fa,e);return 5===a.getDay()?a=new me(26,fa,e):0===a.getDay()&&(a=new me(28,fa,e)),a}(e);c&&h(new So(c,so,Yo));const u=function(e){if(e<5708)return null;let a;const t=new me(15,fa,e).getDay();return a=0===t?2:6===t?3:e<5764?4:2===t?5:4,new me(a,ka,e)}(e);u&&h(new So(u,lo,Yo,Xo),new So(u.next(),io,Yo,Xo));for(const a of go)if(e>=a.firstYear){let t=new me(a.dd,a.mm,e);const o=t.getDay();!a.friSatMovetoThu||o!==xo&&o!==Oo?a.friPostponeToSun&&o===xo?t=new me(t.abs()+2):a.satPostponeToSun&&o===Oo&&(t=t.next()):t=t.onOrBefore(Lo);const r=a.chul?Yo:Yo|Ro,n=new So(t,a.desc,r);a.suppressEmoji||(n.emoji="🇮🇱"),h(n)}let b,d=new me(17,Go,e);d.getDay()===Oo&&(d=new me(18,Go,e),b={observed:!0});h(new So(d,no,Bo,b));let f,k=new me(9,_o,e),y=ro;k.getDay()===Oo&&(k=k.next(),f={observed:!0},y+=" (observed)");const p=k.abs();h(new So(new me(me.dayOnOrBefore(Oo,p)),Gt,No),new So(k.prev(),Lt,Vo|Ko,f),new So(k,y,Ko,f),new So(new me(me.dayOnOrBefore(Oo,p+7)),Ut,No));const g=me.monthsInYear(e);for(let a=1;a<=g;a++){const t=me.getMonthName(a,e);30===(a===Jo?me.daysInMonth(me.monthsInYear(e-1),e-1):me.daysInMonth(a-1,e))?(h(new Co(new me(1,a,e),t)),h(new Co(new me(30,a-1,e),t))):a!==Zo&&h(new Co(new me(1,a,e),t))}for(let a=m;a<=g;a++){const t=a+1;if(t===Zo||t===S||t===Wo)continue;let o=new me(29,a,e);const r=o.getDay();r!==xo&&r!==Oo||(o=o.onOrBefore(Lo));const n=me.getMonthName(t,e);h(new To(o,n))}const w=Fa(e,!1).find(15);h(new So(w,Qt,No));const M=function(e){const a=me.isLeapYear(e),t=a?Qo:Jo,o=a?20:1,r=me.hebrew2abs(e,t,o);for(let e=0;e<=40;e++){const a=r+e;if((a+1373429)%10227==172)return a}return 0}
|
|
42
|
-
/*! @hebcal/leyning v9.0.1 */(e);if(M){const e=new me(M);h(new So(e,Vt,$o,{emoji:"☀️"}))}return ar.set(e,r),r}(t.getFullYear()),h=r.get(o);if(void 0===a||void 0===h)return h;const n=h.filter(function(e){return e?Ho:Do}(a));return n}const Eo=Ie,Ro=He,Po=De,zo=Ae,Bo=Re,No=Pe,Yo=Ye,Ko=Ke,$o=Le,Vo=xe,jo=0,Fo=2,Lo=4,xo=5,Oo=6,Jo=d,Go=k,_o=y,Zo=g,Uo=w,Wo=M,qo=C,Qo=v,Xo={emoji:"🇮🇱"},er="🕎",ar=new ma({maxSize:400}),tr=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function or(e,a){a[7]&&(!function(e){const a=na(e[6]),t=e[7];if(a.k!==t.k)throw new Error("Impossible to combine aliyot 6 & 7: "+JSON.stringify(e));delete e[7],e[6]={k:a.k,b:a.b,e:t.e},a.v&&t.v&&(e[6].v=a.v+t.v)}(e),e[7]=na(a[7]),ra(e[7])),a.M&&(e.M=na(a.M),ra(e.M))}
|
|
43
|
-
/*! @hebcal/leyning v9.0.1 */
|
|
44
|
-
function rr(e,a){const t=e.split(":").map((e=>+e)),o=a.split(":").map((e=>+e));return 100*t[0]+t[1]<100*o[0]+o[1]}function hr(e){const a=Object.keys(e).filter((e=>{if(1===e.length)return!0;const a=e.charCodeAt(0);return a>=48&&a<=57}));let t=e[a[0]],o=t;const r=[];for(let h=0;h<a.length;h++){const n=e[a[h]];if(h===a.length-1&&n.k===o.k&&n.e===o.e)continue;const i=+o.e.split(":")[0],s=+n.b.split(":")[0],l=s===i||s===i+1;0===h||n.k===t.k&&!rr(n.b,t.e)&&l||(r.push({k:t.k,b:t.b,e:o.e}),t=n),o=n}return r.push({k:t.k,b:t.b,e:o.e}),r}function nr(e){Array.isArray(e)||(e=[e]);let a=e[0],t=ha(a,!0);for(let o=1;o<e.length;o++){const r=e[o];r.k===a.k?t+=", ":t+=`; ${r.k} `,t+=ha(r,!1),a=r}return t}
|
|
45
|
-
/*! @hebcal/leyning v9.0.1 */const ir=ea;function sr(e){return{en:oa(e),he:e.map((e=>ne.lookupTranslation(e,"he"))).join("־")}}function lr(e){const a=ur(e),t={},o=aa[a.book];for(const[e,r]of Object.entries(a.fullkriyah)){const a={k:o,b:r[0],e:r[1]};ra(a),t[e]=a}const r=oa(e),h=a.combined?[a.p1,a.p2]:[r],n=hr(t),i=nr(n),s={name:sr(h),parsha:h,parshaNum:a.num,summary:i,fullkriyah:t,haftara:"",haft:[]};n.length>1&&(s.summaryParts=n);const l=function(e){const a=e[0];return 2===e.length&&"Achrei Mot"===a?oa(e):1===e.length||"Nitzavim"===a?a:e[1]}(h),c=ir[l].haft;if(c){const e=s.haft=ia(c);s.haftara=nr(e),s.haftaraNumV=sa(e)}const u=ir[l].seph;if(u){const e=s.seph=ia(u);s.sephardic=nr(e),s.sephardicNumV=sa(e)}return s}function cr(e,a=!1){if("object"!=typeof e||"function"!=typeof e.getFlags)throw new TypeError(`Bad event argument: ${e}`);if(e.getFlags()!==ze)throw new TypeError(`Event must be parsha hashavua: ${e.getDesc()}`);const t=e.parsha,o=lr(t),r=function(e,a,t,o){let r,h,n=!1;const i={};function s(e){const a=ua(e);if(a&&("boolean"!=typeof a.il||t===a.il)&&(a.haft&&!n&&(r=ia(a.haft),i.haftara=e,n=!0,a.seph&&(h=ia(a.seph),i.sephardic=e)),a.fullkriyah)){const t=na(o);or(t,a.fullkriyah);for(const t of Object.keys(a.fullkriyah))i[t]=e;o=t}}const l=oa(e),c=(Ao(a,t)||[]).filter((e=>!(e.getFlags()&Ee)));for(const e of c)if("Shabbat Shuva"===e.getDesc())s(`Shabbat Shuva (with ${l})`);else{const a=da(e,t);a&&s(a)}if(!r){const e=a.getDate();if("Pinchas"===l&&e>17)s("Pinchas occurring after 17 Tammuz");else if(30===e||1===e)s("Masei"===l||"Matot-Masei"===l?`${l} on Shabbat Rosh Chodesh`:"Shabbat Rosh Chodesh");else if("Ki Teitzei"===l&&14===e)s("Ki Teitzei with 3rd Haftarah of Consolation");else if("Kedoshim"!==l||26!==e&&28!==e&&6!==e){if(a.getMonth()!==y){const e=a.next().getDate();30!==e&&1!==e||s("Shabbat Machar Chodesh")}}else s("Kedoshim following Special Shabbat")}return{aliyot:o,reason:i,haft:r,seph:h}}(t,e.getDate(),a,o.fullkriyah),h=r.reason;if(r.haft){const e=o.haft=ia(r.haft);if(o.haftara=nr(e),o.haftaraNumV=sa(e),r.seph){const e=o.seph=ia(r.seph);o.sephardic=nr(e),o.sephardicNumV=sa(e)}else o.seph&&(delete o.seph,delete o.sephardic,delete o.sephardicNumV)}if(h[7]||h.M){o.fullkriyah=r.aliyot;const e=hr(o.fullkriyah);o.summary=nr(e),o.summaryParts=e}const n=Object.keys(h);if(0!==n.length){o.reason=h;for(const e of n)if("haftara"===e||"sephardic"===e){const a=o["haftara"===e?"haft":"seph"],t=Array.isArray(a)?a:[a];for(const a of t)a.reason=h[e]}else{const a=o.fullkriyah[e];"object"==typeof a&&(a.reason=h[e])}}return o}function ur(e){const a=oa(e),t=ir[a];if("object"!=typeof t)throw new TypeError(`Bad parsha argument: ${e}`);if(t.combined){const[e,o]=a.split("-");if(t.hebrew||(t.hebrew=ne.gettext(e,"he")+"־"+ne.gettext(o,"he")),!t.haft){const a="Nitzavim"===e?e:o;t.haft=ur(a).haft}}return t}
|
|
46
|
-
/*! @hebcal/leyning v9.0.1 */function br(e,a=!1){if("object"!=typeof e||"function"!=typeof e.getFlags)throw new TypeError(`Bad event argument: ${JSON.stringify(e)}`);if(void 0!==e.eventTime)return;if(e.getFlags()&ze)throw new TypeError(`Event should be a holiday: ${e.getDesc()}`);if(e.getFlags()&ba)return;const t=function(e,a,t){if("string"!=typeof e)return;const o=ua(e);if(void 0===o)return;const r=o.il;if("boolean"==typeof r&&"boolean"==typeof t&&t!==r)return;const h={name:{en:e,he:ne.lookupTranslation(e,"he")}};if(o.fullkriyah){if(h.fullkriyah=na(o.fullkriyah),"Sukkot Shabbat Chol ha-Moed"===e&&a){h.fullkriyah.M=h.fullkriyah[`M-day${a}`];for(let e=1;e<=5;e++)delete h.fullkriyah[`M-day${e}`]}if("object"==typeof h.fullkriyah[1]){const e=hr(h.fullkriyah);h.summary=nr(e),e.length>1&&(h.summaryParts=e)}Object.values(h.fullkriyah).map((e=>ra(e)))}if(o.haft){const e=h.haft=ia(o.haft);h.haftara=nr(e),h.haftaraNumV=sa(e)}if(o.seph){const e=h.seph=ia(o.seph);h.sephardic=nr(e),h.sephardicNumV=sa(e)}let n=o.megillah;if(t&&"Pesach I (on Shabbat)"===e&&(n="Song of Songs"),n){const e=ta[n],a={};for(let t=1;t<e.length;t++){const o=e[t];a[`${t}`]={k:n,b:`${t}:1`,e:`${t}:${o}`,v:o}}h.megillah=a}return o.note&&(h.note=o.note),h}(da(e,a),e.cholHaMoedDay,a);return t}function dr(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}const mr=new Map;for(let e=0;e<a.parshiot.length;e++){const t=a.parshiot[e];mr.set(dr(t),e+1)}const fr=["Vayakhel-Pekudei","Tazria-Metzora","Achrei Mot-Kedoshim","Behar-Bechukotai","Chukat-Balak","Matot-Masei","Nitzavim-Vayeilech"],kr=new Set;for(const e of fr){const a=dr(e);kr.add(a);const[t]=a.split("-"),o=mr.get(t);mr.set(a,o)}function yr(e){const t=e.pathname,o=t.lastIndexOf("-"),r=t.substring(o+1),h=t.substring(8,o);if(mr.get(h)&&8===r.length){const t=function(e){const a=e.substring(0,4),t=e.substring(4,6),o=e.substring(6,8),r=parseInt(a,10),h=parseInt(t,10),n=parseInt(o,10),i=new Date(r,h-1,n);return r<100&&i.setFullYear(r),i}(r);let o="/s/"+new a.HDate(t).getFullYear();"on"===e.searchParams.get("i")&&(o+="i",e.searchParams.delete("i"));o+="/"+mr.get(h),kr.has(h)&&(o+="d"),e.pathname=o}else e.pathname="/s/"+t.substring(8)}const pr=["elevation","admin1","asciiname","geo","zip","state","stateName","geonameid"],gr={"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","Hebrew Language Day":"Promotes the Hebrew language in Israel and around the world. Occurs on the birthday of Eliezer Ben Yehuda, the father of modern spoken Hebrew","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 Mevarchim Chodesh":"Shabbat that precedes Rosh Chodesh. The congregation blesses the forthcoming new month","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"},Sr={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 wr(e){if("object"==typeof e&&null!==e&&"function"==typeof e.getLatitude){const a=e.getCountryCode(),t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:a,country:Sr[a]};for(const a of pr){const o=e[a];o&&(t[a]=o)}return t}return{geo:"none"}}function Mr(e){const a=e.getDesc();return"Purim"===a||"Erev Purim"===a?["holiday","major"]:e.getCategories()}function Ir(e,a){let t="Hebcal";const o=function(e){const a=e.location;if(!a)return null;if(e.preferAsciiName){const e=a.asciiname;if("string"==typeof e)return e}return a.getShortName()}(a);a.yahrzeit?t+=" Yahrzeits and Anniversaries":o?t+=" "+o:a.il?t+=" Israel":t+=" Diaspora";const r=a.subscribe;if("1"===r||1===r||!0===r)return t;if(a.year&&(a.isHebrewYear||0===e.length))t+=" "+a.year;else if(e.length){const a=e[0].getDate().greg(),o=e[e.length-1].getDate().greg();if(a.getFullYear()!==o.getFullYear())t+=" "+a.getFullYear()+"-"+o.getFullYear();else if(a.getMonth()===o.getMonth()){t+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(a)+" "+a.getFullYear()}else t+=" "+a.getFullYear()}return t}function Cr(e,t=!1){const o=(e.getFlags()&a.flags.SHABBAT_MEVARCHIM?gr["Shabbat Mevarchim Chodesh"]:gr[e.getDesc()]||gr[e.basename()]||"").normalize();if(t&&o){const e=o.indexOf(".");if(-1!==e)return o.substring(0,e)}return o}const vr=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.DAILY_LEARNING|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function Tr(e,t){var o;const r=e.getFlags();if(r&vr||void 0!==e.eventTime)return"";const h=r&a.flags.PARSHA_HASHAVUA?cr(e,t):br(e,t);let n="";return h&&(h.summary||h.haftara)&&(h.summary&&(n+=`Torah: ${h.summary}`),h.summary&&h.haftara&&(n+="\n"),h.haftara&&(n+="Haftarah: "+h.haftara,(null===(o=h.reason)||void 0===o?void 0:o.haftara)&&(n+=" | "+h.reason.haftara))),(null==h?void 0:h.sephardic)&&(n+="\nHaftarah for Sephardim: "+h.sephardic),n}function Hr(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{const a=Tr(e,t);if(a)return a}catch(e){}return e.memo?e.memo:Cr(e)}function Dr(e,a,t,o,r){const h=new URL(e),n="www.hebcal.com"===h.host;if(n){a&&h.searchParams.set("i","on");const e=h.pathname,n=e.startsWith("/holidays/"),i=e.startsWith("/sedrot/"),s=e.startsWith("/omer/");if(n||i||s)return h.host="hebcal.com",n?h.pathname="/h/"+e.substring(10):i?yr(h):h.pathname="/o/"+e.substring(6),r&&(r.startsWith("ical-")||r.startsWith("pdf-"))||(t&&h.searchParams.set("us",t),o&&h.searchParams.set("um",o)),r&&h.searchParams.set("uc",r),h.toString()}return(t=n?t:"hebcal.com")&&h.searchParams.set("utm_source",t),o&&h.searchParams.set("utm_medium",o),r&&h.searchParams.set("utm_campaign",r),h.toString()}function Ar(e){if(void 0!==e.eventTime)return!0;const t=e.getFlags();if(t&a.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(t&(a.flags.DAILY_LEARNING|a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||(!!(t&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(t&a.flags.SHABBAT_MEVARCHIM))}const Er='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Rr={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 Pr(e,t){const o=e.getDate().greg(),r=o.getDate(),h=o.getMonth()+1,n=String(o.getFullYear()).padStart(4,"0"),i=t.euro?`"${r}/${h}/${n}"`:`"${h}/${r}/${n}"`;let s="",l="",c="",u='"true"';const b=e,d=Boolean(b.eventTime);let m=Ar(e)?e.renderBrief(t.locale):e.render(t.locale);if(d){l=s=`"${a.HebrewCalendar.reformatTimeStr(b.eventTimeStr," PM",t)}"`,c=i,u='"false"'}let f="Jewish Holidays";const k=e.getFlags();if(d&&"object"==typeof t.location){const e=t.location.getShortName();e&&(f=e)}else{const a=Rr[Mr(e)[0]];"string"==typeof a&&(f=a)}if(m=m.replace(/,/g,"").replace(/"/g,"''"),t.appendHebrewToSubject){const a=e.renderBrief("he");a&&(m+=` / ${a}`)}let y=e.memo||Cr(e,!0);y||void 0===b.linkedEvent||(y=b.linkedEvent.render(t.locale));return`"${m}",${i},${s},${c},${l},${u},"${y.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / ")}","${d||k&a.flags.CHAG?4:3}","${f}"`}function zr(e){return U(e.getDate().greg())}function Br(e,o,r=!0){const h=e,n=h.eventTime,i=Boolean(n),s=e.getDate(),l=s.greg(),c="object"==typeof o.location?o.location.getTzid():"UTC",u=i?a.Zmanim.formatISOWithTimeZone(c,n):U(l),b=Mr(e),d=e.getFlags();let m=Ar(e)?e.renderBrief(o.locale):e.render(o.locale);const f=e.getDesc(),k="Havdalah"===f||"Candle lighting"===f;if(k){m+=": "+a.HebrewCalendar.reformatTimeStr(h.eventTimeStr,"pm",o)}const y={title:m,date:u};i||(y.hdate=s.toString()),y.category=b[0],b.length>1&&(y.subcat=b[1]),"holiday"===b[0]&&d&a.flags.CHAG&&(y.yomtov=!0),m!==f&&(y.title_orig=f);const p=e.renderBrief("he");if(p&&(y.hebrew=a.Locale.hebrewStripNikkud(p)),!k){if(r){const r=o.il,h=d===a.flags.PARSHA_HASHAVUA,n=h?cr(e,r):br(e,r);if(n){y.leyning=function(e){const a={};e.summary&&(a.torah=e.summary);e.haftara&&(a.haftarah=e.haftara);e.sephardic&&(a.haftarah_sephardic=e.sephardic);e.fullkriyah&&Nr(a,e.fullkriyah);e.reason&&function(e,a){for(const t of["7","8","M"])if(a[t]){e["M"===t?"maftir":t]+=" | "+a[t]}a.haftara&&(e.haftarah+=" | "+a.haftara)}(a,e.reason);return a}(n);const a=s.getFullYear();if(h&&a>=5745){const a=t.getTriennialForParshaHaShavua(e,r);(null==a?void 0:a.aliyot)&&(y.leyning.triennial=Nr({},a.aliyot))}}}const h=e.url();if(h){const e=o.utmSource||"js",a=o.utmMedium||"api",t=o.utmCampaign;y.link=Dr(h,Boolean(o.il),e,a,t)}}if(d&a.flags.OMER_COUNT){const a=e;y.omer={count:{he:a.getTodayIs("he"),en:a.getTodayIs("en")},sefira:{he:a.sefira("he"),translit:a.sefira("translit"),en:a.sefira("en")}}}if(d&a.flags.MOLAD){const t=e.molad,o=t.getYear();y.molad={hy:o,hm:a.HDate.getMonthName(t.getMonth(),o),dow:t.getDow(),hour:t.getHour(),minutes:t.getMinutes(),chalakim:t.getChalakim()},delete y.hebrew}if(o.heDateParts&&!i||d&a.flags.HEBREW_DATE){const e=s.getFullYear(),t=s.getMonthName(),o=s.getDate();y.heDateParts={y:a.gematriya(e),m:a.Locale.gettext(t,"he-x-NoNikud"),d:a.gematriya(o)}}const g=e.memo||Cr(e);return"string"==typeof g&&0!==g.length?y.memo=g.normalize():void 0!==h.linkedEvent&&(y.memo=h.linkedEvent.render(o.locale)),o.includeEvent&&(y.ev=e),y}function Nr(e,a){for(const[o,r]of Object.entries(a))if(void 0!==r){e["M"===o?"maftir":o]=`${(t=r).k} ${t.b}-${t.e}`}var t;return e}const Yr={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Kr(e,t){let o=e.render();const r=e.getDate().greg(),h=function(e,a,t,o){if(a){const a=e.eventTime;return a?a.toUTCString():t.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return o}(e,t.evPubDate,r,t.lastBuildDate),n=t.location,i=!!n&&n.getIsrael(),s=n?n.getTzid():"UTC",l=t.utmSource||"shabbat1c",c=t.utmMedium||"rss",u=function(e,t,o,r,h,n){let i,s;const l=e.eventTime||e.getDate().greg(),c=a.Zmanim.formatISOWithTimeZone(o,l),u=c.substring(0,c.indexOf("T")),b=`${u.replace(/-/g,"")}-${dr(e.getDesc())}`,d=e.url();if(d)i=Dr(d,t,h,n).replace(/&/g,"&"),s=`${d}#${b}`;else{const e=`${r}&dt=${u}`,a=Dr(e,t,h,n).replace(/&/g,"&");s=e.replace(/&/g,"&")+`#${b}`,i=`${a}#${b}`}return[i,s]}(e,i,s,t.mainUrl||"",l,c),b=u[0],d=u[1],m=Mr(e)[0],f=e.getDesc();let k;if("Havdalah"===f||"Candle lighting"===f){const t=o.indexOf(": ");if(-1!==t){const r={location:n,il:i,locale:a.Locale.getLocaleName()},h=a.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",r);o=o.substring(0,t)+": "+h}}else k=Hr(e,i);const y=t.dayFormat,p=k||y.format(r);return`<item>\n<title>${o}</title>\n<link>${b}</link>\n<guid isPermaLink="false">${d}</guid>\n<description>${-1===p.indexOf("<")?p:`<![CDATA[${p}]]>`}</description>\n<category>${m}</category>\n<pubDate>${h}</pubDate>\n${"candles"===m?`<geo:lat>${n.getLatitude()}</geo:lat>\n<geo:long>${n.getLongitude()}</geo:long>\n`:""}</item>\n`}return e.appendIsraelAndTracking=Dr,e.countryNames=Sr,e.eventToClassicApiObject=Br,e.eventToCsv=Pr,e.eventToFullCalendar=function(e,t,o){const r=Mr(e),h=e.getFlags();"holiday"===r[0]&&h&a.flags.CHAG&&r.push("yomtov");const n=e,i=n.eventTime,s=Boolean(i),l={title:Ar(e)?e.renderBrief():e.render(),start:s?a.Zmanim.formatISOWithTimeZone(t,i):U(e.getDate().greg()),allDay:!s,className:r.join(" ")},c=e.renderBrief("he");c&&(l.hebrew=a.Locale.hebrewStripNikkud(c));const u=e.url();u&&(l.url=Dr(u,o,"js","fc"));const b=e.getDesc();if(!("Havdalah"===b||"Candle lighting"===b)){const a=Hr(e,o);a?l.description=a:void 0!==n.linkedEvent&&(l.description=n.linkedEvent.render())}return l},e.eventToRssItem2=Kr,e.eventsToClassicApi=function(e,t,o=!0){const r={title:Ir(e,t),date:(new Date).toISOString(),version:a.version};return r.location=wr(t.location),e.length&&(r.range={start:zr(e[0]),end:zr(e[e.length-1])}),r.items=e.map((e=>Br(e,t,o))),r},e.eventsToCsv=function(e,a){return[Er].concat(e.map((e=>Pr(e,a)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,a){a.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const t=a.location;if(!a.mainUrl||!a.selfUrl)throw new TypeError("mainUrl cannot be empty or blank");const o=a.buildDate=a.buildDate||new Date,r=o.getFullYear(),h=a.lastBuildDate=o.toUTCString(),n=a.title||Ir(e,a),i=a.description||n,s=a.utmSource||"shabbat1c",l=a.utmMedium||"rss";let c=`<?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>${n}</title>\n<link>${Dr(a.mainUrl,Boolean(null==t?void 0:t.getIsrael()),s,l,a.utmCampaign).replace(/&/g,"&")}</link>\n<atom:link href="${a.selfUrl.replace(/&/g,"&")}" rel="self" type="application/rss+xml" />\n<description>${i}</description>\n<language>${a.lang||Yr[a.locale]||a.locale||"en-US"}</language>\n<copyright>Copyright (c) ${r} Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>${h}</lastBuildDate>\n`;for(const t of e)c+=Kr(t,a);return c+="</channel>\n</rss>\n",c},e.getCalendarTitle=Ir,e.getDownloadFilename=function(e){let t="hebcal";if(e.year)t+="_"+e.year,e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const o=new a.HDate(e.start),r=new a.HDate(e.end),h=o.greg().getFullYear(),n=r.greg().getFullYear();t+=h===n?"_"+h:"_"+h+"_"+n}if("object"==typeof e.location){const a=e.location,o=a.zip||a.asciiname||a.getShortName();o&&(t+="_"+dr(o).replace(/[-]/g,"_"))}return t},e.getEventCategories=Mr,e.getHolidayDescription=Cr,e.holidayDescription=gr,e.locationToPlainObj=wr,e.makeAnchor=dr,e.makeMemo=Hr,e.makeTorahMemoText=Tr,e.pad2=Z,e.pad4=_,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Ar,e.toISOString=function(e){return U(e)},e}({},hebcal,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v6.0.1 */
|
|
2
|
+
var hebcal__rest_api=function(e,a,t,o,n,r,i,s,h,l,d){"use strict";var c={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"};var m={"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","Hebrew Language Day":"Promotes the Hebrew language in Israel and around the world. Occurs on the birthday of Eliezer Ben Yehuda, the father of modern spoken Hebrew","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 Mevarchim Chodesh":"Shabbat that precedes Rosh Chodesh. The congregation blesses the forthcoming new month","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 g(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}const f=new Map;for(let e=0;e<i.parshiot.length;e++){const a=i.parshiot[e];f.set(g(a),e+1)}const u=["Vayakhel-Pekudei","Tazria-Metzora","Achrei Mot-Kedoshim","Behar-Bechukotai","Chukat-Balak","Matot-Masei","Nitzavim-Vayeilech"],b=new Set;for(const e of u){const a=g(e);b.add(a);const[t]=a.split("-"),o=f.get(t);f.set(a,o)}function y(e){const a=e.pathname,t=a.lastIndexOf("-"),n=a.substring(t+1),r=a.substring(8,t);if(f.get(r)&&8===n.length){const a=function(e){const a=e.substring(0,4),t=e.substring(4,6),o=e.substring(6,8),n=parseInt(a,10),r=parseInt(t,10),i=parseInt(o,10),s=new Date(n,r-1,i);return n<100&&s.setFullYear(n),s}(n);let t="/s/"+new o.HDate(a).getFullYear();"on"===e.searchParams.get("i")&&(t+="i",e.searchParams.delete("i"));t+="/"+f.get(r),b.has(r)&&(t+="d"),e.pathname=t}else e.pathname="/s/"+a.substring(8)}const S=["elevation","admin1","asciiname","geo","zip","state","stateName","geonameid"],p=m,v=c;function w(e){if("object"==typeof e&&null!==e&&"function"==typeof e.getLatitude){const a=e.getCountryCode(),t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:a,country:v[a]};for(const a of S){const o=e[a];o&&(t[a]=o)}return t}return{geo:"none"}}function H(e){const a=e.getDesc();return"Purim"===a||"Erev Purim"===a?["holiday","major"]:e.getCategories()}function A(e,a){let t="Hebcal";const o=function(e){const a=e.location;if(!a)return null;if(e.preferAsciiName){const e=a.asciiname;if("string"==typeof e)return e}return a.getShortName()}(a);a.yahrzeit?t+=" Yahrzeits and Anniversaries":o?t+=" "+o:a.il?t+=" Israel":t+=" Diaspora";const n=a.subscribe;if("1"===n||1===n||!0===n)return t;if(a.year&&(a.isHebrewYear||0===e.length))t+=" "+a.year;else if(e.length){const a=e[0].getDate().greg(),o=e[e.length-1].getDate().greg();if(a.getFullYear()!==o.getFullYear())t+=" "+a.getFullYear()+"-"+o.getFullYear();else if(a.getMonth()===o.getMonth()){t+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(a)+" "+a.getFullYear()}else t+=" "+a.getFullYear()}return t}function T(e,t=!1){const o=(e.getFlags()&a.flags.SHABBAT_MEVARCHIM?p["Shabbat Mevarchim Chodesh"]:p[e.getDesc()]||p[e.basename()]||"").normalize();if(t&&o){const e=o.indexOf(".");if(-1!==e)return o.substring(0,e)}return o}const C=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.DAILY_LEARNING|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function M(e,t){var o;const i=e.getFlags();if(i&C||void 0!==e.eventTime)return"";const s=i&a.flags.PARSHA_HASHAVUA?n.getLeyningForParshaHaShavua(e,t):r.getLeyningForHoliday(e,t);let h="";return s&&(s.summary||s.haftara)&&(s.summary&&(h+=`Torah: ${s.summary}`),s.summary&&s.haftara&&(h+="\n"),s.haftara&&(h+="Haftarah: "+s.haftara,(null===(o=s.reason)||void 0===o?void 0:o.haftara)&&(h+=" | "+s.reason.haftara))),(null==s?void 0:s.sephardic)&&(h+="\nHaftarah for Sephardim: "+s.sephardic),h}function I(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{const a=M(e,t);if(a)return a}catch(e){}return e.memo?e.memo:T(e)}function R(e,a,t,o,n){const r=new URL(e),i="www.hebcal.com"===r.host;if(i){a&&r.searchParams.set("i","on");const e=r.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return r.host="hebcal.com",i?r.pathname="/h/"+e.substring(10):s?y(r):r.pathname="/o/"+e.substring(6),n&&(n.startsWith("ical-")||n.startsWith("pdf-"))||(t&&r.searchParams.set("us",t),o&&r.searchParams.set("um",o)),n&&r.searchParams.set("uc",n),r.toString()}return(t=i?t:"hebcal.com")&&r.searchParams.set("utm_source",t),o&&r.searchParams.set("utm_medium",o),n&&r.searchParams.set("utm_campaign",n),r.toString()}function D(e){if(void 0!==e.eventTime)return!0;const t=e.getFlags();if(t&a.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(t&(a.flags.DAILY_LEARNING|a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||(!!(t&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(t&a.flags.SHABBAT_MEVARCHIM))}const B='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',k={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 P(e,o){const n=e.getDate().greg(),r=n.getDate(),i=n.getMonth()+1,s=String(n.getFullYear()).padStart(4,"0"),h=o.euro?`"${r}/${i}/${s}"`:`"${i}/${r}/${s}"`;let l="",d="",c="",m='"true"';const g=e,f=Boolean(g.eventTime);let u=D(e)?e.renderBrief(o.locale):e.render(o.locale);if(f){d=l=`"${t.reformatTimeStr(g.eventTimeStr," PM",o)}"`,c=h,m='"false"'}let b="Jewish Holidays";const y=e.getFlags();if(f&&"object"==typeof o.location){const e=o.location.getShortName();e&&(b=e)}else{const a=k[H(e)[0]];"string"==typeof a&&(b=a)}if(u=u.replace(/,/g,"").replace(/"/g,"''"),o.appendHebrewToSubject){const a=e.renderBrief("he");a&&(u+=` / ${a}`)}let S=e.memo||T(e,!0);S||void 0===g.linkedEvent||(S=g.linkedEvent.render(o.locale));return`"${u}",${h},${l},${c},${d},${m},"${S.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / ")}","${f||y&a.flags.CHAG?4:3}","${b}"`}function N(e){return o.isoDateString(e.getDate().greg())}function E(e,a){const t={title:A(e,a),date:(new Date).toISOString(),version:h.version};return t.location=w(a.location),e.length&&(t.range={start:N(e[0]),end:N(e[e.length-1])}),t}function F(e,i,h=!0){const c=e,m=c.eventTime,g=Boolean(m),f=e.getDate(),u=f.greg(),b="object"==typeof i.location?i.location.getTzid():"UTC",y=g?s.Zmanim.formatISOWithTimeZone(b,m):o.isoDateString(u),S=H(e),p=e.getFlags();let v=D(e)?e.renderBrief(i.locale):e.render(i.locale);const w=e.getDesc(),A="Havdalah"===w||"Candle lighting"===w;if(A){v+=": "+t.reformatTimeStr(c.eventTimeStr,"pm",i)}const C={title:v,date:y};g||(C.hdate=f.toString()),C.category=S[0],S.length>1&&(C.subcat=S[1]),"holiday"===S[0]&&p&a.flags.CHAG&&(C.yomtov=!0),v!==w&&(C.title_orig=w);const M=e.renderBrief("he");if(M&&(C.hebrew=l.Locale.hebrewStripNikkud(M)),!A){if(h){const t=i.il,o=p===a.flags.PARSHA_HASHAVUA?n.getLeyningForParshaHaShavua(e,t):r.getLeyningForHoliday(e,t);o&&(C.leyning=function(e){const a={};e.summary&&(a.torah=e.summary);e.haftara&&(a.haftarah=e.haftara);e.sephardic&&(a.haftarah_sephardic=e.sephardic);e.fullkriyah&&function(e,a){for(const[t,o]of Object.entries(a))if(void 0!==o){e["M"===t?"maftir":t]=d.formatAliyahWithBook(o)}}(a,e.fullkriyah);e.reason&&function(e,a){for(const t of["7","8","M"])if(a[t]){e["M"===t?"maftir":t]+=" | "+a[t]}a.haftara&&(e.haftarah+=" | "+a.haftara)}(a,e.reason);return a}(o))}const t=e.url();if(t){const e=i.utmSource||"js",a=i.utmMedium||"api",o=i.utmCampaign;C.link=R(t,Boolean(i.il),e,a,o)}}if(p&a.flags.OMER_COUNT){const a=e;C.omer={count:{he:a.getTodayIs("he"),en:a.getTodayIs("en")},sefira:{he:a.sefira("he"),translit:a.sefira("translit"),en:a.sefira("en")}}}if(p&a.flags.MOLAD){const a=e.molad,t=a.getYear();C.molad={hy:t,hm:o.HDate.getMonthName(a.getMonth(),t),dow:a.getDow(),hour:a.getHour(),minutes:a.getMinutes(),chalakim:a.getChalakim()},delete C.hebrew}if(i.heDateParts&&!g||p&a.flags.HEBREW_DATE){const e=f.getFullYear(),a=f.getMonthName(),t=f.getDate();C.heDateParts={y:o.gematriya(e),m:l.Locale.gettext(a,"he-x-NoNikud"),d:o.gematriya(t)}}const I=e.memo||T(e);return"string"==typeof I&&0!==I.length?C.memo=I.normalize():void 0!==c.linkedEvent&&(C.memo=c.linkedEvent.render(i.locale)),i.includeEvent&&(C.ev=e),C}const Y={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function G(e,a){let o=e.render();const n=e.getDate().greg(),r=function(e,a,t,o){if(a){const a=e.eventTime;return a?a.toUTCString():t.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return o}(e,a.evPubDate,n,a.lastBuildDate),i=a.location,h=!!i&&i.getIsrael(),d=i?i.getTzid():"UTC",c=a.utmSource||"shabbat1c",m=a.utmMedium||"rss",f=function(e,a,t,o,n,r){let i,h;const l=e.eventTime||e.getDate().greg(),d=s.Zmanim.formatISOWithTimeZone(t,l),c=d.substring(0,d.indexOf("T")),m=`${c.replace(/-/g,"")}-${g(e.getDesc())}`,f=e.url();if(f)i=R(f,a,n,r).replace(/&/g,"&"),h=`${f}#${m}`;else{const e=`${o}&dt=${c}`,t=R(e,a,n,r).replace(/&/g,"&");h=e.replace(/&/g,"&")+`#${m}`,i=`${t}#${m}`}return[i,h]}(e,h,d,a.mainUrl||"",c,m),u=f[0],b=f[1],y=H(e)[0],S=e.getDesc();let p;if("Havdalah"===S||"Candle lighting"===S){const a=o.indexOf(": ");if(-1!==a){const n={location:i,il:h,locale:l.Locale.getLocaleName()},r=t.reformatTimeStr(e.eventTimeStr,"pm",n);o=o.substring(0,a)+": "+r}}else p=I(e,h);const v=a.dayFormat,w=p||v.format(n);return`<item>\n<title>${o}</title>\n<link>${u}</link>\n<guid isPermaLink="false">${b}</guid>\n<description>${-1===w.indexOf("<")?w:`<![CDATA[${w}]]>`}</description>\n<category>${y}</category>\n<pubDate>${r}</pubDate>\n${"candles"===y?`<geo:lat>${i.getLatitude()}</geo:lat>\n<geo:long>${i.getLongitude()}</geo:long>\n`:""}</item>\n`}return Object.defineProperty(e,"pad2",{enumerable:!0,get:function(){return o.pad2}}),Object.defineProperty(e,"pad4",{enumerable:!0,get:function(){return o.pad4}}),e.appendIsraelAndTracking=R,e.countryNames=v,e.eventToClassicApiObject=F,e.eventToCsv=P,e.eventToFullCalendar=function(e,t,n){const r=H(e),i=e.getFlags();"holiday"===r[0]&&i&a.flags.CHAG&&r.push("yomtov");const h=e,d=h.eventTime,c=Boolean(d),m={title:D(e)?e.renderBrief():e.render(),start:c?s.Zmanim.formatISOWithTimeZone(t,d):o.isoDateString(e.getDate().greg()),allDay:!c,className:r.join(" ")},g=e.renderBrief("he");g&&(m.hebrew=l.Locale.hebrewStripNikkud(g));const f=e.url();f&&(m.url=R(f,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const a=I(e,n);a?m.description=a:void 0!==h.linkedEvent&&(m.description=h.linkedEvent.render())}return m},e.eventToRssItem2=G,e.eventsToClassicApi=function(e,a,t=!0){const o=E(e,a);return o.items=e.map((e=>F(e,a,t))),o},e.eventsToClassicApiHeader=E,e.eventsToCsv=function(e,a){return[B].concat(e.map((e=>P(e,a)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,a){a.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const t=a.location;if(!a.mainUrl||!a.selfUrl)throw new TypeError("mainUrl cannot be empty or blank");const o=a.buildDate=a.buildDate||new Date,n=o.getFullYear(),r=a.lastBuildDate=o.toUTCString(),i=a.title||A(e,a),s=a.description||i,h=a.utmSource||"shabbat1c",l=a.utmMedium||"rss";let d=`<?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>${i}</title>\n<link>${R(a.mainUrl,Boolean(null==t?void 0:t.getIsrael()),h,l,a.utmCampaign).replace(/&/g,"&")}</link>\n<atom:link href="${a.selfUrl.replace(/&/g,"&")}" rel="self" type="application/rss+xml" />\n<description>${s}</description>\n<language>${a.lang||Y[a.locale]||a.locale||"en-US"}</language>\n<copyright>Copyright (c) ${n} Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>${r}</lastBuildDate>\n`;for(const t of e)d+=G(t,a);return d+="</channel>\n</rss>\n",d},e.getCalendarTitle=A,e.getDownloadFilename=function(e){let a="hebcal";if(e.year)a+="_"+e.year,e.isHebrewYear&&(a+="h"),e.month&&(a+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const t=new o.HDate(e.start),n=new o.HDate(e.end),r=t.greg().getFullYear(),i=n.greg().getFullYear();a+=r===i?"_"+r:"_"+r+"_"+i}if("object"==typeof e.location){const t=e.location,o=t.zip||t.asciiname||t.getShortName();o&&(a+="_"+g(o).replace(/[-]/g,"_"))}return a},e.getEventCategories=H,e.getHolidayDescription=T,e.holidayDescription=p,e.locationToPlainObj=w,e.makeAnchor=g,e.makeMemo=I,e.makeTorahMemoText=M,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=D,e.toISOString=function(e){return o.isoDateString(e)},e}({},hebcal,hebcal,hebcal,hebcal__leyning,hebcal__leyning,hebcal,hebcal,hebcal,hebcal,hebcal__leyning);
|