@hebcal/core 5.3.12 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +251 -173
- package/dist/DailyLearning.d.ts +22 -0
- package/dist/HebrewDateEvent.d.ts +14 -0
- package/dist/ParshaEvent.d.ts +19 -0
- package/dist/ashkenazi.po.d.ts +68 -0
- package/dist/bundle.js +11621 -11437
- package/dist/bundle.min.js +2 -2
- package/dist/candles.d.ts +74 -0
- package/dist/dateFormat.d.ts +33 -0
- package/dist/event.d.ts +144 -0
- package/dist/hallel.d.ts +7 -0
- package/dist/hdate.d.ts +395 -0
- package/dist/he.po.d.ts +306 -0
- package/dist/hebcal.d.ts +451 -0
- package/dist/holidays.d.ts +65 -0
- package/dist/index.cjs +1837 -1947
- package/dist/index.d.ts +18 -0
- package/dist/index.mjs +1838 -1948
- package/dist/locale-ashkenazi.d.ts +1 -0
- package/dist/locale-he.d.ts +1 -0
- package/dist/locale.d.ts +80 -0
- package/dist/location.d.ts +85 -0
- package/dist/modern.d.ts +20 -0
- package/dist/molad.d.ts +65 -0
- package/dist/omer.d.ts +26 -0
- package/dist/pkgVersion.d.ts +1 -0
- package/dist/reformatTimeStr.d.ts +8 -0
- package/dist/sedra.d.ts +8 -0
- package/dist/staticHolidays.d.ts +212 -0
- package/dist/staticHols.d.ts +175 -0
- package/dist/tachanun.d.ts +8 -0
- package/dist/throwTypeError.d.ts +5 -0
- package/dist/zmanim.d.ts +321 -0
- package/package.json +17 -14
- package/hebcal.d.ts +0 -1361
- package/po/ashkenazi.po +0 -195
- package/po/he.min.po +0 -50
- package/po/he.po +0 -931
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/core v5.
|
|
2
|
-
var hebcal=function(e){"use strict";const t=[0,31,28,31,30,31,30,31,31,30,31,30,31],n=[t,t.slice()];function r(e,t){return e-t*Math.floor(e/t)}function o(e,t){return Math.floor(e/t)}n[1][2]=29,e.greg=void 0,function(e){function t(e){return!(e%4||!(e%100)&&e%400)}function a(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function i(e,n,r){const a=e-1;return 365*a+o(a,4)-o(a,100)+o(a,400)+o(367*n-362,12)+(n<=2?0:t(e)?-1:-2)+r}e.isLeapYear=t,e.daysInMonth=function(e,r){return n[+t(r)][e]},e.isDate=a,e.greg2abs=function(e){if(!a(e))throw new TypeError(`Argument not a Date: ${e}`);return i(e.getFullYear(),e.getMonth()+1,e.getDate())},e.abs2greg=function(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const n=function(e){const t=e-1,n=o(t,146097),a=r(t,146097),i=o(a,36524),s=r(a,36524),c=o(s,1461),u=o(r(s,1461),365),h=400*n+100*i+4*c+u;return 4!==i&&4!==u?h+1:h}(e=Math.trunc(e)),a=o(12*(e-i(n,1,1)+(e<i(n,3,1)?0:t(n)?1:2))+373,367),s=e-i(n,a,1)+1,c=new Date(n,a-1,s);return n<100&&n>=0&&c.setFullYear(n),c}}(e.greg||(e.greg={}));const a=1,i=2,s=4,c=6,u=7,h=8,l=9,f=10,d=12,g=13,m={NISAN:1,IYYAR:2,SIVAN:3,TAMUZ:4,AV:5,ELUL:6,TISHREI:7,CHESHVAN:8,KISLEV:9,TEVET:10,SHVAT:11,ADAR_I:12,ADAR_II:13},y=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],S=[y.concat(["Adar","Nisan"]),y.concat(["Adar I","Adar II","Nisan"])],p=new Map,w=-1373428,v=365.24682220597794;function A(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function b(e,t,n){if(A(e,"year"),A(t,"month"),A(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<u){for(let t=u;t<=E(e);t++)r+=O(t,e);for(let n=a;n<t;n++)r+=O(n,e)}else for(let n=u;n<t;n++)r+=O(n,e);return w+D(e)+r-1}function I(e){return w+D(e)}function M(e){if(A(e,"abs"),(e=Math.trunc(e))<=w)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-w)/v);for(;I(t)<=e;)++t;--t;let n=e<b(t,1,1)?7:1;for(;e>b(t,n,O(n,t));)++n;return{yy:t,mm:n,dd:1+e-b(t,n,1)}}function T(e){return(1+7*e)%19<7}function E(e){return+T(e)+12}function O(e,t){switch(e){case i:case s:case c:case f:case g:return 29}return e===d&&!T(t)||e===h&&!N(t)||e===l&&k(t)?29:30}function C(e,t){if(A(e,"month"),A(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return S[+T(t)][e]}function D(e){const t=p.get(e);if("number"==typeof t)return t;const n=function(e){const t=e-1,n=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),r=204+n%1080*793,o=5+12*n+793*Math.floor(n/1080)+Math.floor(r/1080),a=r%1080+o%24*1080,i=1+29*n+Math.floor(o/24);let s=i;(a>=19440||2==i%7&&a>=9924&&!T(e)||1==i%7&&a>=16789&&T(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return p.set(e,n),n}function H(e){return D(e+1)-D(e)}function N(e){return H(e)%10==5}function k(e){return H(e)%10==3}const _=m.NISAN,L=m.CHESHVAN,R=m.KISLEV,Y=m.TEVET,P=m.SHVAT,j=m.ADAR_I,B=m.ADAR_II;function F(t){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(t))return t;if("number"==typeof t)return M(t);if(e.greg.isDate(t)){return M(e.greg.greg2abs(t))}throw new TypeError(`Argument not a Date: ${t}`)}const U={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},Z=new Map,x=new Map;for(const[e,t]of Object.entries(U))Z.set(e,t),x.set(t,e);function $(e){const t=[];for(;e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}let n,r=100;for(n=400;n>e;n-=r)n===r&&(r/=10);t.push(n),e-=n}return t}function V(e){const t=parseInt(e,10);if(!t)throw new TypeError(`invalid parameter to gematriya ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=$(r);for(const t of e)n+=x.get(t);n+="׳"}const o=$(t%1e3);if(1===o.length)return n+x.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=x.get(o[e]);return n}function z(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*z(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=Z.get(n);"number"==typeof e&&(t+=e)}return t}const K={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"]},he:{infix:"שֶׁבְּ",infix26:"שֶׁבִּ",words:["","חֶֽסֶד","גְבוּרָה","תִּפאֶרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַּלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"]}};function J(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function G(e){return[Math.floor((e-1)/7)+1,e%7||7]}function W(e,t){return J(e),"en"===t?function(e){const[t,n]=G(e),r=1===e?"day":"days";let o=`Today is ${e} ${r}`;if(t>1||7===e){const e=7===n,r=e?t:t-1;if(o+=`, which is ${r} ${1===r?"week":"weeks"}`,!e){o+=` and ${n} ${1===n?"day":"days"}`}}return o+" of the Omer"}(e):"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+ae:12===e?r+="שְׁנֵים "+ae:12<e&&e<20?r+=X[n]+" "+ae:e>9&&(r+=X[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=q[t]),r+=e<11?X[n]+" "+ee+" ":" "+re+" "):r+=1===e?oe+" ":te+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?X[t]+" "+ne+" ":1===t?"שָׁבֽוּעַ "+X[1]+" ":Q+" "+ne+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?X[n]+" "+ee+" ":1===n?oe+" ":te+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):void 0}const q=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],X=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Q="שְׁנֵי",ee="יָמִים",te=Q+" "+ee,ne="שָׁבוּעוֹת",re="יוֹם",oe=re+" "+X[1],ae="עָשָׂר";const ie={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},se={h:"he",a:"ashkenazi",s:"en","":"en"},ce=new Map;let ue=null,he=null;class le{static lookupTranslation(e,t){const n=null==t?void 0:t.toLowerCase(),r=("string"==typeof t&&ce.get(n)||ue)[e];if(null!=r&&r.length&&r[0].length)return r[0]}static gettext(e,t){const n=this.lookupTranslation(e,t);return void 0===n?e:n}static addLocale(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);ce.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=e.toLowerCase(),o=ce.get(r);if(!o)throw new TypeError(`Unknown locale: ${e}`);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id: ${t}`);const a=Array.isArray(n);if(a){const e=n[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${n}`)}else if("string"!=typeof n)throw new TypeError(`Invalid translation: ${n}`);o[t]=a?n:[n]}static addTranslations(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const n=e.toLowerCase(),r=ce.get(n);if(!r)throw new TypeError(`Unknown locale: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);const o=t.contexts[""];Object.assign(r,o)}static useLocale(e){const t=e.toLowerCase(),n=ce.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return he=se[t]||t,ue=n,ue}static getLocaleName(){return he}static getLocaleNames(){return Array.from(ce.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||he;if(!n)return this.getEnOrdinal(e);switch(n){case"en":case"s":case"a":case"ashkenazi":case"ashkenazi_litvish":case"ashkenazi_poylish":case"ashkenazi_standard":return this.getEnOrdinal(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e);default:return e+"."}}static getEnOrdinal(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}static hebrewStripNikkud(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}function fe(e){throw new TypeError(e)}le.addLocale("en",ie),le.addLocale("s",ie),le.addLocale("",ie),le.useLocale("en");const de="day",ge="week",me="month",ye="year",Se={d:de,w:ge,M:me,y:ye},pe={day:de,week:ge,month:me,year:ye};class we{constructor(t,n,r){if(2==arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3==arguments.length){if(this.dd=this.mm=1,r=parseInt(r,10),isNaN(r))throw new TypeError(`HDate called with bad year argument: ${r}`);if(this.yy=r,this.setMonth(n),t=parseInt(t,10),isNaN(t))throw new TypeError(`HDate called with bad day argument: ${t}`);this.setDate(t)}else{null==t&&(t=new Date);const n="number"!=typeof t||isNaN(t)?e.greg.isDate(t)?e.greg.greg2abs(t):"number"==typeof t.yy&&"number"==typeof t.mm&&"number"==typeof t.dd?t:fe(`HDate called with bad argument: ${t}`):t,r="number"==typeof n,o=r?M(n):n;this.dd=o.dd,this.mm=o.mm,this.yy=o.yy,r&&(this.rd=n)}}getFullYear(){return this.yy}isLeapYear(){return T(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=E(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return O(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}setMonth(e){return this.mm=we.monthNum(e),ve(this),this}setDate(e){return this.dd=e,ve(this),this}greg(){return e.greg.abs2greg(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=b(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return b(e,t,n)}getMonthName(){return C(this.getMonth(),this.getFullYear())}render(){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null)||le.getLocaleName(),n=this.getDate(),r=le.gettext(this.getMonthName(),t).replace(/'/g,"’"),o=`${le.ordinal(n,t)}${we.getDayOfTranslation(t)} ${r}`;if(e){return`${o}, ${this.getFullYear()}`}return o}static getDayOfTranslation(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=le.lookupTranslation("of",e);return t?" "+t:e.startsWith("ashkenazi")?" of":""}renderGematriya(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=le.gettext(this.getMonthName(),n),o=this.getFullYear();return V(t)+" "+r+" "+V(o)}before(e){return be(e,this,-1)}onOrBefore(e){return be(e,this,0)}nearest(e){return be(e,this,3)}onOrAfter(e){return be(e,this,6)}after(e){return be(e,this,7)}next(){return new we(this.abs()+1)}prev(){return new we(this.abs()-1)}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(e=parseInt(e,10)))return new we(this);if(t=we.standardizeUnits(t),t===de)return new we(this.abs()+e);if(t===ge)return new we(this.abs()+7*e);if(t===ye)return new we(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===me){let t=new we(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new we(t.abs()+n*t.daysInMonth());return t}}static standardizeUnits(e){const t=Se[e]||String(e||"").toLowerCase().replace(/s$/,"");return pe[t]||fe(`Invalid units '${e}'`)}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){if(!we.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!we.isHDate(e)&&(this.yy==e.yy&&this.mm==e.mm&&this.dd==e.dd)}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return T(e)}static monthsInYear(e){return E(e)}static daysInMonth(e,t){return O(e,t)}static getMonthName(e,t){return C(e,t)}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):we.monthFromName(e)}static daysInYear(e){return H(e)}static longCheshvan(e){return N(e)}static shortKislev(e){return k(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 t=e.trim().toLowerCase();switch("ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return m.NISAN;case"i":return m.IYYAR;case"e":return m.ELUL;case"c":case"ח":return m.CHESHVAN;case"k":case"כ":return m.KISLEV;case"s":switch(t[1]){case"i":return m.SIVAN;case"h":return m.SHVAT}break;case"t":switch(t[1]){case"a":return m.TAMUZ;case"i":return m.TISHREI;case"e":return m.TEVET}break;case"a":switch(t[1]){case"v":return m.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II}break;case"ס":return m.SIVAN;case"ט":return m.TEVET;case"ש":return m.SHVAT;case"א":switch(t[1]){case"ב":return m.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II;case"י":return m.IYYAR;case"ל":return m.ELUL}break;case"ת":switch(t[1]){case"מ":return m.TAMUZ;case"ש":return m.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(le.hebrewStripNikkud(e))}static dayOnOrBefore(e,t){return t-(t-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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;const n=e.split(" ").filter((e=>0!==e.length)),r=n.length;if(3!==r&&4!==r)throw new RangeError(`Unable to parse gematriya string: "${e}"`);const o=z(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=we.monthFromName(a);let s=z(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new we(o,i,s)}}function ve(e){Ae(e),function(e){e.dd<1&&(e.mm==m.TISHREI&&(e.yy-=1),e.dd+=O(e.mm,e.yy),e.mm-=1,ve(e));e.dd>O(e.mm,e.yy)&&(e.mm===m.ELUL&&(e.yy+=1),e.dd-=O(e.mm,e.yy),e.mm===E(e.yy)?e.mm=1:e.mm+=1,ve(e));Ae(e)}(e)}function Ae(e){e.mm!==m.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=E(e.yy),e.yy-=1,ve(e)):e.mm>E(e.yy)&&(e.mm-=E(e.yy),e.yy+=1,ve(e)):(e.mm-=1,ve(e)),delete e.rd}function be(e,t,n){return new we(we.dayOnOrBefore(e,t.abs()+n))}const Ie={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864},Me=[[Ie.MAJOR_FAST,"holiday","major","fast"],[Ie.CHANUKAH_CANDLES,"holiday","major"],[Ie.HEBREW_DATE,"hebdate"],[Ie.MINOR_FAST,"holiday","fast"],[Ie.MINOR_HOLIDAY,"holiday","minor"],[Ie.MODERN_HOLIDAY,"holiday","modern"],[Ie.MOLAD,"molad"],[Ie.OMER_COUNT,"omer"],[Ie.PARSHA_HASHAVUA,"parashat"],[Ie.ROSH_CHODESH,"roshchodesh"],[Ie.SHABBAT_MEVARCHIM,"mevarchim"],[Ie.SPECIAL_SHABBAT,"holiday","shabbat"],[Ie.USER_EVENT,"user"]];class Te{constructor(e,t,n,r){if(!we.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!==r&&Object.assign(this,r)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return le.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&Ie.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&Ie.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new this.constructor(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e}getCategories(){const e=this.getFlags();for(const t of Me)if(e&t[0])return t.slice(1);return["unknown"]}}class Ee extends Te{constructor(e){super(e,e.toString(),Ie.HEBREW_DATE)}render(e){const t=(null==e?void 0:e.toLowerCase())||le.getLocaleName(),n=this.getDate();switch(t){case"h":case"he":return n.renderGematriya(!1);case"he-x-nonikud":return n.renderGematriya(!0);default:return n.render(t,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=le.gettext(t.getMonthName(),e);return V(n)+" "+r}renderBrief(e){const t=(null==e?void 0:e.toLowerCase())||le.getLocaleName(),n=this.getDate();if(n.getMonth()===m.TISHREI&&1===n.getDate())return this.render(t);switch(t){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(t);default:return n.render(t,!1)}}}var Oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ce=function(e){return e&&e.Math===Math&&e},De=Ce("object"==typeof globalThis&&globalThis)||Ce("object"==typeof window&&window)||Ce("object"==typeof self&&self)||Ce("object"==typeof Oe&&Oe)||Ce("object"==typeof Oe&&Oe)||function(){return this}()||Function("return this")(),He={},Ne=function(e){try{return!!e()}catch(e){return!0}},ke=!Ne((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),_e=!Ne((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Le=_e,Re=Function.prototype.call,Ye=Le?Re.bind(Re):function(){return Re.apply(Re,arguments)},Pe={},je={}.propertyIsEnumerable,Be=Object.getOwnPropertyDescriptor,Fe=Be&&!je.call({1:2},1);Pe.f=Fe?function(e){var t=Be(this,e);return!!t&&t.enumerable}:je;var Ue,Ze,xe=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},$e=_e,Ve=Function.prototype,ze=Ve.call,Ke=$e&&Ve.bind.bind(ze,ze),Je=$e?Ke:function(e){return function(){return ze.apply(e,arguments)}},Ge=Je,We=Ge({}.toString),qe=Ge("".slice),Xe=Ne,Qe=function(e){return qe(We(e),8,-1)},et=Object,tt=Je("".split),nt=Xe((function(){return!et("z").propertyIsEnumerable(0)}))?function(e){return"String"===Qe(e)?tt(e,""):et(e)}:et,rt=function(e){return null==e},ot=rt,at=TypeError,it=function(e){if(ot(e))throw new at("Can't call method on "+e);return e},st=nt,ct=it,ut=function(e){return st(ct(e))},ht="object"==typeof document&&document.all,lt=void 0===ht&&void 0!==ht?function(e){return"function"==typeof e||e===ht}:function(e){return"function"==typeof e},ft=lt,dt=function(e){return"object"==typeof e?null!==e:ft(e)},gt=De,mt=lt,yt=function(e,t){return arguments.length<2?(n=gt[e],mt(n)?n:void 0):gt[e]&>[e][t];var n},St=Je({}.isPrototypeOf),pt=De,wt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vt=pt.process,At=pt.Deno,bt=vt&&vt.versions||At&&At.version,It=bt&&bt.v8;It&&(Ze=(Ue=It.split("."))[0]>0&&Ue[0]<4?1:+(Ue[0]+Ue[1])),!Ze&&wt&&(!(Ue=wt.match(/Edge\/(\d+)/))||Ue[1]>=74)&&(Ue=wt.match(/Chrome\/(\d+)/))&&(Ze=+Ue[1]);var Mt=Ze,Tt=Ne,Et=De.String,Ot=!!Object.getOwnPropertySymbols&&!Tt((function(){var e=Symbol("symbol detection");return!Et(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Mt&&Mt<41})),Ct=Ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Dt=yt,Ht=lt,Nt=St,kt=Object,_t=Ct?function(e){return"symbol"==typeof e}:function(e){var t=Dt("Symbol");return Ht(t)&&Nt(t.prototype,kt(e))},Lt=String,Rt=lt,Yt=function(e){try{return Lt(e)}catch(e){return"Object"}},Pt=TypeError,jt=function(e){if(Rt(e))return e;throw new Pt(Yt(e)+" is not a function")},Bt=rt,Ft=Ye,Ut=lt,Zt=dt,xt=TypeError,$t={exports:{}},Vt=De,zt=Object.defineProperty,Kt=function(e,t){try{zt(Vt,e,{value:t,configurable:!0,writable:!0})}catch(n){Vt[e]=t}return t},Jt=De,Gt=Kt,Wt="__core-js_shared__",qt=$t.exports=Jt[Wt]||Gt(Wt,{});(qt.versions||(qt.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Xt=$t.exports,Qt=Xt,en=function(e,t){return Qt[e]||(Qt[e]=t||{})},tn=it,nn=Object,rn=function(e){return nn(tn(e))},on=Je({}.hasOwnProperty),an=Object.hasOwn||function(e,t){return on(rn(e),t)},sn=Je,cn=0,un=Math.random(),hn=sn(1..toString),ln=function(e){return"Symbol("+(void 0===e?"":e)+")_"+hn(++cn+un,36)},fn=en,dn=an,gn=ln,mn=Ot,yn=Ct,Sn=De.Symbol,pn=fn("wks"),wn=yn?Sn.for||Sn:Sn&&Sn.withoutSetter||gn,vn=function(e){return dn(pn,e)||(pn[e]=mn&&dn(Sn,e)?Sn[e]:wn("Symbol."+e)),pn[e]},An=Ye,bn=dt,In=_t,Mn=function(e,t){var n=e[t];return Bt(n)?void 0:jt(n)},Tn=function(e,t){var n,r;if("string"===t&&Ut(n=e.toString)&&!Zt(r=Ft(n,e)))return r;if(Ut(n=e.valueOf)&&!Zt(r=Ft(n,e)))return r;if("string"!==t&&Ut(n=e.toString)&&!Zt(r=Ft(n,e)))return r;throw new xt("Can't convert object to primitive value")},En=TypeError,On=vn("toPrimitive"),Cn=function(e,t){if(!bn(e)||In(e))return e;var n,r=Mn(e,On);if(r){if(void 0===t&&(t="default"),n=An(r,e,t),!bn(n)||In(n))return n;throw new En("Can't convert object to primitive value")}return void 0===t&&(t="number"),Tn(e,t)},Dn=_t,Hn=function(e){var t=Cn(e,"string");return Dn(t)?t:t+""},Nn=dt,kn=De.document,_n=Nn(kn)&&Nn(kn.createElement),Ln=function(e){return _n?kn.createElement(e):{}},Rn=Ln,Yn=!ke&&!Ne((function(){return 7!==Object.defineProperty(Rn("div"),"a",{get:function(){return 7}}).a})),Pn=ke,jn=Ye,Bn=Pe,Fn=xe,Un=ut,Zn=Hn,xn=an,$n=Yn,Vn=Object.getOwnPropertyDescriptor;He.f=Pn?Vn:function(e,t){if(e=Un(e),t=Zn(t),$n)try{return Vn(e,t)}catch(e){}if(xn(e,t))return Fn(!jn(Bn.f,e,t),e[t])};var zn={},Kn=ke&&Ne((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Jn=dt,Gn=String,Wn=TypeError,qn=function(e){if(Jn(e))return e;throw new Wn(Gn(e)+" is not an object")},Xn=ke,Qn=Yn,er=Kn,tr=qn,nr=Hn,rr=TypeError,or=Object.defineProperty,ar=Object.getOwnPropertyDescriptor,ir="enumerable",sr="configurable",cr="writable";zn.f=Xn?er?function(e,t,n){if(tr(e),t=nr(t),tr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&cr in n&&!n[cr]){var r=ar(e,t);r&&r[cr]&&(e[t]=n.value,n={configurable:sr in n?n[sr]:r[sr],enumerable:ir in n?n[ir]:r[ir],writable:!1})}return or(e,t,n)}:or:function(e,t,n){if(tr(e),t=nr(t),tr(n),Qn)try{return or(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new rr("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var ur=zn,hr=xe,lr=ke?function(e,t,n){return ur.f(e,t,hr(1,n))}:function(e,t,n){return e[t]=n,e},fr={exports:{}},dr=ke,gr=an,mr=Function.prototype,yr=dr&&Object.getOwnPropertyDescriptor,Sr=gr(mr,"name"),pr={EXISTS:Sr,PROPER:Sr&&"something"===function(){}.name,CONFIGURABLE:Sr&&(!dr||dr&&yr(mr,"name").configurable)},wr=lt,vr=Xt,Ar=Je(Function.toString);wr(vr.inspectSource)||(vr.inspectSource=function(e){return Ar(e)});var br,Ir,Mr,Tr=vr.inspectSource,Er=lt,Or=De.WeakMap,Cr=Er(Or)&&/native code/.test(String(Or)),Dr=ln,Hr=en("keys"),Nr=function(e){return Hr[e]||(Hr[e]=Dr(e))},kr={},_r=Cr,Lr=De,Rr=dt,Yr=lr,Pr=an,jr=Xt,Br=Nr,Fr=kr,Ur="Object already initialized",Zr=Lr.TypeError,xr=Lr.WeakMap;if(_r||jr.state){var $r=jr.state||(jr.state=new xr);$r.get=$r.get,$r.has=$r.has,$r.set=$r.set,br=function(e,t){if($r.has(e))throw new Zr(Ur);return t.facade=e,$r.set(e,t),t},Ir=function(e){return $r.get(e)||{}},Mr=function(e){return $r.has(e)}}else{var Vr=Br("state");Fr[Vr]=!0,br=function(e,t){if(Pr(e,Vr))throw new Zr(Ur);return t.facade=e,Yr(e,Vr,t),t},Ir=function(e){return Pr(e,Vr)?e[Vr]:{}},Mr=function(e){return Pr(e,Vr)}}var zr={set:br,get:Ir,has:Mr,enforce:function(e){return Mr(e)?Ir(e):br(e,{})},getterFor:function(e){return function(t){var n;if(!Rr(t)||(n=Ir(t)).type!==e)throw new Zr("Incompatible receiver, "+e+" required");return n}}},Kr=Je,Jr=Ne,Gr=lt,Wr=an,qr=ke,Xr=pr.CONFIGURABLE,Qr=Tr,eo=zr.enforce,to=zr.get,no=String,ro=Object.defineProperty,oo=Kr("".slice),ao=Kr("".replace),io=Kr([].join),so=qr&&!Jr((function(){return 8!==ro((function(){}),"length",{value:8}).length})),co=String(String).split("String"),uo=fr.exports=function(e,t,n){"Symbol("===oo(no(t),0,7)&&(t="["+ao(no(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!Wr(e,"name")||Xr&&e.name!==t)&&(qr?ro(e,"name",{value:t,configurable:!0}):e.name=t),so&&n&&Wr(n,"arity")&&e.length!==n.arity&&ro(e,"length",{value:n.arity});try{n&&Wr(n,"constructor")&&n.constructor?qr&&ro(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=eo(e);return Wr(r,"source")||(r.source=io(co,"string"==typeof t?t:"")),e};Function.prototype.toString=uo((function(){return Gr(this)&&to(this).source||Qr(this)}),"toString");var ho=fr.exports,lo=lt,fo=zn,go=ho,mo=Kt,yo={},So=Math.ceil,po=Math.floor,wo=Math.trunc||function(e){var t=+e;return(t>0?po:So)(t)},vo=wo,Ao=function(e){var t=+e;return t!=t||0===t?0:vo(t)},bo=Ao,Io=Math.max,Mo=Math.min,To=Ao,Eo=Math.min,Oo=function(e){var t=To(e);return t>0?Eo(t,9007199254740991):0},Co=ut,Do=function(e,t){var n=bo(e);return n<0?Io(n+t,0):Mo(n,t)},Ho=function(e){return Oo(e.length)},No=function(e){return function(t,n,r){var o=Co(t),a=Ho(o);if(0===a)return!e&&-1;var i,s=Do(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},ko={includes:No(!0),indexOf:No(!1)},_o=an,Lo=ut,Ro=ko.indexOf,Yo=kr,Po=Je([].push),jo=function(e,t){var n,r=Lo(e),o=0,a=[];for(n in r)!_o(Yo,n)&&_o(r,n)&&Po(a,n);for(;t.length>o;)_o(r,n=t[o++])&&(~Ro(a,n)||Po(a,n));return a},Bo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fo=jo,Uo=Bo.concat("length","prototype");yo.f=Object.getOwnPropertyNames||function(e){return Fo(e,Uo)};var Zo={};Zo.f=Object.getOwnPropertySymbols;var xo=yt,$o=yo,Vo=Zo,zo=qn,Ko=Je([].concat),Jo=xo("Reflect","ownKeys")||function(e){var t=$o.f(zo(e)),n=Vo.f;return n?Ko(t,n(e)):t},Go=an,Wo=Jo,qo=He,Xo=zn,Qo=Ne,ea=lt,ta=/#|\.prototype\./,na=function(e,t){var n=oa[ra(e)];return n===ia||n!==aa&&(ea(t)?Qo(t):!!t)},ra=na.normalize=function(e){return String(e).replace(ta,".").toLowerCase()},oa=na.data={},aa=na.NATIVE="N",ia=na.POLYFILL="P",sa=na,ca=De,ua=He.f,ha=lr,la=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(lo(n)&&go(n,a,r),r.global)o?e[t]=n:mo(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:fo.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},fa=Kt,da=function(e,t,n){for(var r=Wo(t),o=Xo.f,a=qo.f,i=0;i<r.length;i++){var s=r[i];Go(e,s)||n&&Go(n,s)||o(e,s,a(t,s))}},ga=sa,ma={},ya=jo,Sa=Bo,pa=Object.keys||function(e){return ya(e,Sa)},wa=ke,va=Kn,Aa=zn,ba=qn,Ia=ut,Ma=pa;ma.f=wa&&!va?Object.defineProperties:function(e,t){ba(e);for(var n,r=Ia(t),o=Ma(t),a=o.length,i=0;a>i;)Aa.f(e,n=o[i++],r[n]);return e};var Ta,Ea=yt("document","documentElement"),Oa=qn,Ca=ma,Da=Bo,Ha=kr,Na=Ea,ka=Ln,_a="prototype",La="script",Ra=Nr("IE_PROTO"),Ya=function(){},Pa=function(e){return"<"+La+">"+e+"</"+La+">"},ja=function(e){e.write(Pa("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ba=function(){try{Ta=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;Ba="undefined"!=typeof document?document.domain&&Ta?ja(Ta):(t=ka("iframe"),n="java"+La+":",t.style.display="none",Na.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Pa("document.F=Object")),e.close(),e.F):ja(Ta);for(var r=Da.length;r--;)delete Ba[_a][Da[r]];return Ba()};Ha[Ra]=!0;var Fa=Object.create||function(e,t){var n;return null!==e?(Ya[_a]=Oa(e),n=new Ya,Ya[_a]=null,n[Ra]=e):n=Ba(),void 0===t?n:Ca.f(n,t)},Ua=vn,Za=Fa,xa=zn.f,$a=Ua("unscopables"),Va=Array.prototype;void 0===Va[$a]&&xa(Va,$a,{configurable:!0,value:Za(null)});var za=ko.includes,Ka=function(e){Va[$a][e]=!0};function Ja(e,t,n,r,o){return Ga(t,Wa(e,t),n,r,o)}function Ga(e,t,n,r,o,a){const i=Si(t,n,r);if(o&&t!==i)throw new RangeError(Ml(e,t,n,r,a));return i}function Wa(e,t){const n=e[t];if(void 0===n)throw new TypeError(El(t));return n}function qa(e){return null!==e&&/object|function/.test(typeof e)}function Xa(e){const t=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Map);return function(n){if(t.has(n))return t.get(n);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];const i=e(n,...o);return t.set(n,i),i}}function Qa(e){return ei({name:e},1)}function ei(e,t){return oi((e=>({value:e,configurable:1,writable:!t})),e)}function ti(e){return oi((e=>({get:e,configurable:1})),e)}function ni(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function ri(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function oi(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function ai(e,t,n){const r={};for(let o=0;o<t.length;o++){const a=t[o];r[a]=e(a,o,n)}return r}function ii(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function si(e,t){const n={};for(const r of e)n[r]=t[r];return n}function ci(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function ui(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function hi(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function li(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function fi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e(...n,...r)}}function di(e){return e[0].toUpperCase()+e.substring(1)}function gi(e){return e.slice().sort()}function mi(e,t){return String(t).padStart(e,"0")}function yi(e,t){return Math.sign(e-t)}function Si(e,t,n){return Math.min(Math.max(e,t),n)}function pi(e,t){return[Math.floor(e/t),wi(e,t)]}function wi(e,t){return(e%t+t)%t}function vi(e,t){return[Ai(e,t),bi(e,t)]}function Ai(e,t){return Math.trunc(e/t)||0}function bi(e,t){return e%t||0}function Ii(e){return.5===Math.abs(e%1)}function Mi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=bf[a],s=Af/i,[c,u]=vi(t,s);r+=u*i,o+=c}const[a,i]=vi(r,Af);return[o+a,i]}function Ti(e,t,n){const r={};for(let o=t;o>=0;o--){const t=bf[o];r[n[o]]=Ai(e,t),e=bi(e,t)}return r}function Ei(e){if(void 0!==e)return Ci(e)}function Oi(e){return Li(Ci(e))}function Ci(e){return _i(Gf(e))}function Di(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function Hi(e,t){if(null==t)throw new RangeError(El(e));return t}function Ni(e){if(!qa(e))throw new TypeError(Il);return e}function ki(e,t){if(typeof t!==e)throw new TypeError(Tl(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function _i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Sl(t,e));return e||0}function Li(e){if(e<=0)throw new RangeError(pl(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function Ri(e){if("symbol"==typeof e)throw new TypeError(bl);return String(e)}function Yi(e,t){return qa(e)?String(e):Kf(e,t)}function Pi(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Al(e));return e}function ji(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(vl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(wl(t,e));return e}function Bi(e,t){return Math.trunc(ji(e,t))||0}function Fi(e,t){return _i(ji(e,t),t)}function Ui(e,t){return Li(Bi(e,t),t)}function Zi(e,t){let[n,r]=vi(t,Af),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Af),[o,r]}function xi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Zi(e[0]+t[0]*n,e[1]+t[1]*n)}function $i(e,t){return Zi(e[0],e[1]+t)}function Vi(e,t){return xi(t,e,-1)}function zi(e,t){return yi(e[0],t[0])||yi(e[1],t[1])}function Ki(e,t,n){return-1===zi(e,t)||1===zi(e,n)}function Ji(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Af/t);return[Number(e/n),Number(e%n)*t]}function Gi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Af/t,[r,o]=vi(e,n);return[r,o*t]}function Wi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Af/t;return BigInt(n)*BigInt(a)+BigInt(o)}function qi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const[r,o]=e,[a,i]=vi(o,t);return r*(Af/t)+(a+(n?i/t:0))}function Xi(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pi;const[r,o]=e,[a,i]=n(o,t);return[r*(Af/t)+a,i]}function Qi(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function es(e){return Ja(e,"isoYear",Ad,vd,1),e.isoYear===Ad?Ja(e,"isoMonth",4,12,1):e.isoYear===vd&&Ja(e,"isoMonth",1,9,1),e}function ts(e){return ns({...e,...fd,isoHour:12}),e}function ns(e){const t=Ja(e,"isoYear",Ad,vd,1),n=t===Ad?1:t===vd?-1:0;return n&&rs(us({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function rs(e){if(!e||Ki(e,wd,pd))throw new RangeError(ql);return e}function os(e){return Mi(e,5,id)[1]}function as(e){const[t,n]=pi(e,Af);return[Ti(n,5,id),t]}function is(e){return ss(e)[0]}function ss(e){return Xi(e,pf)}function cs(e){return fs(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function us(e){const t=cs(e);if(void 0!==t){const[n,r]=vi(t,gf);return[n,r*Sf+(e.isoMicrosecond||0)*yf+(e.isoNanosecond||0)]}}function hs(e,t){const[n,r]=as(os(e)-t);return rs(us({...e,isoDay:e.isoDay+r,...n}))}function ls(){return fs(...arguments)/mf}function fs(){const[e,t]=ds(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*gf}function ds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===Ad?1:e===vd?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function gs(e,t){let[n,r]=$i(e,t);r<0&&(r+=Af,n-=1);const[o,a]=pi(r,Sf),[i,s]=pi(a,yf);return ms(n*gf+o,i,s)}function ms(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Math.ceil(Math.max(0,Math.abs(e)-Sd)/gf)*Math.sign(e),o=new Date(e-r*gf);return ri(cd,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function ys(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Ss(){return Md}function ps(e,t){switch(t){case 2:return vs(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function ws(e){return vs(e)?366:365}function vs(e){return e%4==0&&(e%100!=0||e%400==0)}function As(e){const[t,n]=ds(e.isoYear,e.isoMonth,e.isoDay);return wi(t.getUTCDay()-n,7)||7}function bs(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function Is(e){const t=cs(e);if(t<Td)return bs(e);const n=Qi(_g(xf),t),{era:r,eraYear:o}=Ah(n,xf);return[r,o]}function Ms(e){return Ts(e),Cs(e,1),e}function Ts(e){return Os(e,1),e}function Es(e){return hi(sd,e,Os(e))}function Os(e,t){const{isoYear:n}=e,r=Ja(e,"isoMonth",1,Ss(),t);return{isoYear:n,isoMonth:r,isoDay:Ja(e,"isoDay",1,ps(n,r),t)}}function Cs(e,t){return ri(id,[Ja(e,"isoHour",0,23,t),Ja(e,"isoMinute",0,59,t),Ja(e,"isoSecond",0,59,t),Ja(e,"isoMillisecond",0,999,t),Ja(e,"isoMicrosecond",0,999,t),Ja(e,"isoNanosecond",0,999,t)])}function Ds(e){return void 0===e?0:xd(Ni(e))}function Hs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=Us(e);const n=$d(e),r=Vd(e,t);return[xd(e),r,n]}function Ns(e){return $d(Us(e))}function ks(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=Us(t);let i=Ud(t,r,o),s=js(t),c=Gd(t,a);const u=Fd(t,r,o,1);return null==i?i=Math.max(n,u):Ks(i,u),s=Bs(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function _s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=js(e=Zs(e,Od));const o=Gd(e,7);let a=Fd(e,t);return a=Hi(Od,a),r=Bs(r,a,void 0,n),[a,r,o]}function Ls(e){return zd(Us(e))}function Rs(e,t){return Ys(Us(e),t)}function Ys(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=Fs(e);return[Gd(e,4),...Ps(Fd(e,t),n)]}function Ps(e,t){return null!=e?[bf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function js(e){const t=e[Dd];return void 0===t?1:Bi(t,Dd)}function Bs(e,t,n,r){const o=r?Af:bf[t+1];if(o){const n=bf[t];if(o%((e=Ga(Dd,e,1,o/n-(r?0:1),1))*n))throw new RangeError(Tl(Dd,e))}else e=Ga(Dd,e,1,n?10**9:1,1);return e}function Fs(e){let t=e[Hd];if(void 0!==t){if("number"!=typeof t){if("auto"===Ri(t))return;throw new RangeError(Tl(Hd,t))}t=Ga(Hd,Math.floor(t),0,9,1)}return t}function Us(e){return void 0===e?{}:Ni(e)}function Zs(e,t){return"string"==typeof e?{[t]:e}:Ni(e)}function xs(e){if(void 0!==e){if(qa(e))return Object.assign(Object.create(null),e);throw new TypeError(Il)}}function $s(e,t){return e&&Object.assign(Object.create(null),e,{overflow:_d[t]})}function Vs(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,a=t[e];if(void 0===a)return o?r:void 0;if(a=Ri(a),"auto"===a)return o?r:null;let i=ff[a];if(void 0===i&&(i=nd[a]),void 0===i)throw new RangeError(Hl(e,a,ff));return Ga(e,i,r,n,1,df),i}function zs(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=n[e];if(void 0===o)return r;const a=Ri(o),i=t[a];if(void 0===i)throw new RangeError(Hl(e,a,t));return i}function Ks(e,t){if(t>e)throw new RangeError(rf)}function Js(e){return{branding:ng,epochNanoseconds:e}}function Gs(e,t,n){return{branding:tg,calendar:n,timeZone:t,epochNanoseconds:e}}function Ws(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Qd,calendar:t,...si(ld,e)}}function qs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Xd,calendar:t,...si(ud,e)}}function Xs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Wd,calendar:t,...si(ud,e)}}function Qs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:qd,calendar:t,...si(ud,e)}}function ec(e){return{branding:eg,...si(hd,e)}}function tc(e){return{branding:rg,sign:pu(e),...si(Xf,e)}}function nc(e){return Xi(e.epochNanoseconds,Sf)[0]}function rc(e){return e.epochNanoseconds}function oc(e){return"string"==typeof e?e:Kf(e.id)}function ac(e,t){return e===t||oc(e)===oc(t)}function ic(e,t,n,r,o,a){const i={...rd,[qf[t]]:n},s=a(r,e),c=a(s,i);return[o(s),o(c)]}function sc(e,t,n){const r=qi(Vi(t,n));if(!r)throw new RangeError(Zl);return qi(Vi(t,e))/r}function cc(e,t,n,r){return uc(e,fc(t,n),r)}function uc(e,t,n){const[r,o]=hc(e,t,n);return ns({...su(e,o),...r})}function hc(e,t,n){return as(wc(os(e),t,n))}function lc(e){return wc(e,wf,7)}function fc(e,t){return bf[e]*t}function dc(e){const t=gc(e);return[t,su(t,1)]}function gc(e){return dd(6,e)}function mc(e,t,n){const r=Math.min(Tu(e),6);return bu(pc(Au(e,r),t,n),r)}function yc(e,t,n,r,o,a,i,s,c){if(0===r&&1===o)return e;const u=r>6?Ic:fu(i)&&r<6?bc:Ac;let[h,l,f]=u(e,t,n,r,o,a,i,s,c);return f&&(h=((e,t,n,r,o,a,i)=>{const s=pu(e);for(let c=r+1;c<=n;c++){if(7===c&&7!==n)continue;const r=ad(c,e);r[qf[c]]+=s;const u=qi(Vi(a(i(o,r)),t));if(u&&Math.sign(u)!==s)break;e=r}return e})(h,l,n,Math.max(6,r),i,s,c)),h}function Sc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Af)(e);return[wc(t,n,r),0]}return pc(e,fc(t,n),r,o)}function pc(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Af,o-=1);const[i,s]=pi(wc(a,t,n),Af);return Zi(o+i,s)}function wc(e,t,n){return vc(e/t,n)*t}function vc(e,t){return og[t](e)}function Ac(e,t,n,r,o,a){const i=pu(e),s=Au(e),c=Sc(s,r,o,a),u=Vi(s,c),h=Math.sign(c[0]-s[0])===i,l=bu(c,Math.min(n,6));return[{...e,...l},xi(t,u),h]}function bc(e,t,n,r,o,a,i,s,c){const u=pu(e);let[h,l]=Au(e,5);const f=fc(r,o);let d=wc(l,f,a);const[g,m]=ic({...e,...od},6,u,i,s,c),y=d-qi(Vi(g,m));y&&Math.sign(y)!==u?t=$i(g,d):(h+=u,d=wc(y,f,a),t=$i(m,d));const S=Iu(d);return[{...e,...S,days:e.days+h},t,Boolean(h)]}function Ic(e,t,n,r,o,a,i,s,c){const u=pu(e),h=qf[r],l=ad(r,e),f=Ai(e[h],o)*o;l[h]=f;const[d,g]=ic(l,r,o*u,i,s,c),m=f+sc(t,d,g)*u*o,y=wc(m,o,a),S=Math.sign(y-m)===u;return l[h]=y,[l,S?g:d,S]}function Mc(e,t,n,r){const[o,a,i,s]=(e=>{const t=Ys(e=Us(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=pc(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return Lc(gs(n,i),a)+(e?Bc(lc(i)):"Z")})(c,t(c?e(o):ag),n.epochNanoseconds,a,i,s)}function Tc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=Us(e);const t=zd(e),n=Fs(e),r=Jd(e),o=Gd(e,4),a=Fd(e,4);return[t,Kd(e),r,o,...Ps(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=pc(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return Lc(gs(r,h),u)+Bc(lc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+oc(e)+"]":"")(n,a)+Fc(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function Ec(e,t){const[n,r,o,a]=(e=>(e=Us(e),[zd(e),...Ys(e)]))(t);return i=e.calendar,s=n,c=a,Lc(uc(e,o,r),c)+Fc(i,s);var i,s,c}function Oc(e,t){return n=e.calendar,r=e,o=Ls(t),Rc(r)+Fc(n,o);var n,r,o}function Cc(e,t){return kc(e.calendar,Yc,e,Ls(t))}function Dc(e,t){return kc(e.calendar,Pc,e,Ls(t))}function Hc(e,t){const[n,r,o]=Rs(t);return a=o,jc(hc(e,r,n)[0],a);var a}function Nc(e,t){const[n,r,o]=Rs(t,3);return r>1&&(e={...e,...mc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Su(e):e,{hours:o,minutes:a}=r,[i,s]=Xi(Au(r,3),pf,vi);vu(i);const c=Zc(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+_c({Y:$c(r.years),M:$c(r.months),W:$c(r.weeks),D:$c(r.days)})+(o||a||i||u?"T"+_c({H:$c(o),M:$c(a),S:$c(i,u)+c}):"")})(e,o)}function kc(e,t,n,r){const o=oc(e),a=r>1||0===r&&o!==Uf;return 1===r?o===Uf?t(n):Rc(n):a?Rc(n)+Uc(o,2===r):t(n)}function _c(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function Lc(e,t){return Rc(e)+"T"+jc(e,t)}function Rc(e){return Yc(e)+"-"+lf(e.isoDay)}function Yc(e){const{isoYear:t}=e;return(t<0||t>9999?xc(t)+mi(6,Math.abs(t)):mi(4,t))+"-"+lf(e.isoMonth)}function Pc(e){return lf(e.isoMonth)+"-"+lf(e.isoDay)}function jc(e,t){const n=[lf(e.isoHour),lf(e.isoMinute)];return-1!==t&&n.push(lf(e.isoSecond)+((e,t,n,r)=>Zc(e*Sf+t*yf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function Bc(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=pi(Math.abs(e),vf),[r,o]=pi(n,wf),[a,i]=pi(o,pf);return xc(e)+lf(t)+":"+lf(r)+(a||i?":"+lf(a)+Zc(i):"")}function Fc(e,t){if(1!==t){const n=oc(e);if(t>1||0===t&&n!==Uf)return Uc(n,2===t)}return""}function Uc(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function Zc(e,t){let n=mi(9,e);return n=void 0===t?n.replace(ug,""):n.slice(0,t),n?"."+n:""}function xc(e){return e<0?"-":"+"}function $c(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function Vc(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=gs(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function zc(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;if(void 0!==n&&1===r&&(1===r||i))return hs(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=us(t);r&&(n=lc(n));for(const t of e){let e=qi(Vi(t,o));if(r&&(e=lc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(Gl)}return i?us(t):Kc(e,t,o,s)}function Kc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.getPossibleInstantsFor(t);if(1===r.length)return r[0];if(1===n)throw new RangeError(Wl);if(r.length)return r[3===n?1:0];const o=us(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor($i(t,-Af));return Gc(e.getOffsetNanosecondsFor($i(t,Af))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(gs(o,i)))[2===n?0:r.length-1]}function Jc(e){if(Math.abs(e)>=Af)throw new RangeError(Kl);return e}function Gc(e){if(e>Af)throw new RangeError(Jl);return e}function Wc(e,t,n){return Js(rs(xi(t.epochNanoseconds,(e=>{if(Mu(e))throw new RangeError(tf);return Au(e,5)})(e?Su(n):n))))}function qc(e,t,n,r,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Object.create(null);const i=t(r.timeZone),s=e(r.calendar);return{...r,...nu(s,i,r,n?Su(o):o,a)}}function Xc(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return Ws(ru(e(a),n,t?Su(r):r,o),a)}function Qc(e,t,n,r,o){const{calendar:a}=n;return qs(ou(e(a),n,t?Su(r):r,o),a)}function eu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const a=n.calendar,i=e(a);let s=au(i,n);t&&(r=yu(r)),r.sign<0&&(s=i.dateAdd(s,{...rd,months:1}),s=su(s,-1));const c=i.dateAdd(s,r,o);return Xs(au(i,c),a)}function tu(e,t,n){return ec(iu(t,e?Su(n):n)[0])}function nu(e,t,n,r,o){const a=Au(r,5);let i=n.epochNanoseconds;if(Mu(r)){const s=hg(n,t);i=xi(Kc(t,{...ou(e,s,{...r,...od},o),...si(id,s)}),a)}else i=xi(i,a),Ds(o);return{epochNanoseconds:rs(i)}}function ru(e,t,n,r){const[o,a]=iu(t,n);return ns({...ou(e,t,{...n,...od,days:n.days+a},r),...o})}function ou(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);Ds(r);const o=n.days+Au(n,5)[0];return o?ts(su(t,o)):t}function au(e,t){return su(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function iu(e,t){const[n,r]=Au(t,5),[o,a]=as(os(e)+r);return[o,n+a]}function su(e,t){return t?{...e,...ms(cs(e)+t*gf)}:e}function cu(e,t,n){const r=e(n.calendar);return fu(n)?[n,r,t(n.timeZone)]:[{...n,...fd},r]}function uu(e){return e?rc:us}function hu(e,t){return t?fi(nu,e,t):fi(ru,e)}function lu(e,t){return t?fi(ch,e,t):fi(uh,e)}function fu(e){return e&&e.epochNanoseconds}function du(e,t){return e<=6-(fu(t)?1:0)}function gu(e,t,n,r,o,a){const i=o(n,e);return[a(n,i,t),r(i)]}function mu(e,t,n,r,o,a,i){const s=e(Us(i).relativeTo),c=Math.max(Tu(o),Tu(a));if(du(c,s))return tc(wu(((e,t,n,r)=>{const o=xi(Au(e),Au(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(ql);return{...rd,...bu(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(ef);r&&(a=Su(a));const[u,h,l]=cu(t,n,s),f=hu(h,l),d=lu(h,l),g=f(u,o);return tc(d(u,f(g,a),c))}function yu(e){return tc(Su(e))}function Su(e){const t={};for(const n of qf)t[n]=-1*e[n]||0;return t}function pu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:qf,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(Ql);n=t}}return n}function wu(e){for(const t of td)Ga(t,e[t],-lg,lg,1);return vu(qi(Au(e),pf)),e}function vu(e){if(!Number.isSafeInteger(e))throw new RangeError(Xl)}function Au(e){return Mi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,qf)}function bu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=Ti(r,t,qf);if(o[qf[t]]+=n*(Af/bf[t]),!Number.isFinite(o[qf[t]]))throw new RangeError(ql);return o}function Iu(e){return Ti(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,qf)}function Mu(e){return Boolean(pu(e,ed))}function Tu(e){let t=9;for(;t>0&&!e[qf[t]];t--);return t}function Eu(e,t){return[e,t]}function Ou(e){const t=Math.floor(e/ig)*ig;return[t,t+ig]}function Cu(e){const t=ju(e);if(void 0===t)throw new RangeError(of(e));return t}function Du(e){const t=Ru(Kf(e));if(!t||t.O)throw new RangeError(of(e));return qs(t.I?ku(t):_u(t))}function Hu(e){if(e.calendar!==Uf)throw new RangeError(af(e.calendar))}function Nu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=zu(e.timeZone),a=fg(o);return Gs(zc(a,Ms(e),t,n,r,!a.R,e.O),o,Hh(e.calendar))}function ku(e){return Lu(ns(Ms(e)))}function _u(e){return Lu(ts(Ts(e)))}function Lu(e){return{...e,calendar:Hh(e.calendar)}}function Ru(e){const t=Tg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:Bu(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...Fu(e.slice(5)),...Uu(e[16]),I:Boolean(e[6]),O:n,offset:n?void 0:t}})(t):void 0}function Yu(e){const t=Ig.exec(e);return t?(e=>({isoYear:Bu(e),isoMonth:parseInt(e[4]),isoDay:1,...Uu(e[5])}))(t):void 0}function Pu(e){const t=Mg.exec(e);return t?(e=>({isoYear:Id,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...Uu(e[3])}))(t):void 0}function ju(e,t){const n=Og.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(af(n));return Jc((Vu(e[2])*vf+Vu(e[3])*wf+Vu(e[4])*pf+Zu(e[5]||""))*$u(e[1]))})(n,t):void 0}function Bu(e){const t=$u(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(af(-0));return t*n}function Fu(e){const t=Vu(e[3]);return{...as(Zu(e[4]||""))[0],isoHour:Vu(e[1]),isoMinute:Vu(e[2]),isoSecond:60===t?59:t}}function Uu(e){let t,n;const r=[];if(e.replace(Cg,((e,o,a)=>{const i=Boolean(o),[s,c]=a.split("=").reverse();if(c){if("u-ca"===c)r.push(s),t||(t=i);else if(i||/[A-Z]/.test(c))throw new RangeError(af(e))}else{if(n)throw new RangeError(af(e));n=s}return""})),r.length>1&&t)throw new RangeError(af(e));return{timeZone:n,calendar:r[0]||Uf}}function Zu(e){return parseInt(e.padEnd(9,"0"))}function xu(e){return new RegExp(`^${e}$`,"i")}function $u(e){return e&&"+"!==e?-1:1}function Vu(e){return void 0===e?0:parseInt(e)}function zu(e){const t=Ju(e);return"number"==typeof t?Bc(t):t?(e=>{if(Ng.test(e))throw new RangeError(zl);return e.toLowerCase().split("/").map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?di(e).replace(/island|noronha|murdo|rivadavia|urville/,di):e)))).join("/")})(e):ag}function Ku(e){const t=Ju(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:ag}function Ju(e){const t=ju(e=e.toUpperCase(),1);return void 0!==t?t:e!==ag?Hg(e):void 0}function Gu(e,t){return zi(e.epochNanoseconds,t.epochNanoseconds)}function Wu(e,t){return zi(e.epochNanoseconds,t.epochNanoseconds)}function qu(e,t){return Xu(e,t)||Qu(e,t)}function Xu(e,t){return yi(cs(e),cs(t))}function Qu(e,t){return yi(os(e),os(t))}function eh(e,t){if(e===t)return 1;const n=oc(e),r=oc(t);if(n===r)return 1;try{return Ku(n)===Ku(r)}catch(e){}}function th(e,t,n,r){const o=ks(e,xs(r),3,5),a=fh(t.epochNanoseconds,n.epochNanoseconds,...o);return tc(e?Su(a):a)}function nh(e,t,n,r,o,a){const i=Sh(r.calendar,o.calendar),s=xs(a),[c,u,h,l]=ks(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=zi(d,f);let m;if(g)if(c<6)m=fh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!eh(e,t))throw new RangeError(Vl);return e})(r.timeZone,o.timeZone)),a=e(i);m=hh(a,n,r,o,g,c,s),m=yc(m,d,c,u,h,l,r,rc,fi(nu,a,n))}else m=rd;return tc(n?Su(m):m)}function rh(e,t,n,r,o){const a=Sh(n.calendar,r.calendar),i=xs(o),[s,c,u,h]=ks(t,i,6),l=us(n),f=us(r),d=zi(f,l);let g;if(d)if(s<=6)g=fh(l,f,s,c,u,h);else{const t=e(a);g=lh(t,n,r,d,s,i),g=yc(g,f,s,c,u,h,n,us,fi(ru,t))}else g=rd;return tc(t?Su(g):g)}function oh(e,t,n,r,o){const a=Sh(n.calendar,r.calendar),i=xs(o);return ih(t,(()=>e(a)),n,r,...ks(t,i,6,9,6),i)}function ah(e,t,n,r,o){const a=Sh(n.calendar,r.calendar),i=xs(o),s=ks(t,i,9,9,8),c=e(a);return ih(t,(()=>c),au(c,n),au(c,r),...s,i)}function ih(e,t,n,r,o,a,i,s,c){const u=us(n),h=us(r);let l;if(zi(h,u))if(6===o)l=fh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=yc(l,h,o,a,i,s,n,us,fi(ou,e)))}else l=rd;return tc(e?Su(l):l)}function sh(e,t,n,r){const o=xs(r),[a,i,s,c]=ks(e,o,5,5),u=wc(yh(t,n),fc(i,s),c),h={...rd,...Iu(u,a)};return tc(e?Su(h):h)}function ch(e,t,n,r,o,a){const i=zi(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?dh(n.epochNanoseconds,r.epochNanoseconds,o):hh(e,t,n,r,i,o,a):rd}function uh(e,t,n,r,o){const a=us(t),i=us(n),s=zi(i,a);return s?r<=6?dh(a,i,r):lh(e,t,n,s,r,o):rd}function hh(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...su(s,u++*-r),...i},f=Kc(e,l),zi(c,f)===-r}const a=hg(t,e),i=si(id,a),s=hg(n,e),c=n.epochNanoseconds;let u=0;const h=yh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(Zl);const d=qi(Vi(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...rd,days:gh(h,l)}):e.dateUntil(s,c,a,i),...Iu(u)}}function lh(e,t,n,r,o,a){let i=t,s=yh(t,n);return Math.sign(s)===-r&&(i=su(t,r),s+=Af*r),{...e.dateUntil(i,n,o,a),...Iu(s)}}function fh(e,t,n,r,o,a){return{...rd,...bu(Sc(Vi(e,t),r,o,a),n)}}function dh(e,t,n){return{...rd,...bu(Vi(e,t),n)}}function gh(e,t){return mh(cs(e),cs(t))}function mh(e,t){return Math.trunc((t-e)/gf)}function yh(e,t){return os(t)-os(e)}function Sh(e,t){if(!ac(e,t))throw new RangeError(xl);return e}function ph(e){function t(e){return((e,t)=>({...Ah(e,t),o:e.month,day:parseInt(e.day)}))(Qi(n,e),r)}const n=_g(e),r=Nh(e);return{id:e,h:wh(t),l:vh(t)}}function wh(e){return Xa((t=>{const n=cs(t);return e(n)}),WeakMap)}function vh(e){const t=e(0).year-bd;return Xa((n=>{let r,o=fs(n-t);const a=[],i=[];do{o+=400*gf}while((r=e(o)).year<=n);do{o+=(1-r.day)*gf,r.year===n&&(a.push(o),i.push(r.o)),o-=gf}while((r=e(o)).year>=n);return{i:a.reverse(),u:uf(i.reverse())}}))}function Ah(e,t){let n,r,o=bh(e);if(e.era){const i=$f[t];void 0!==i&&(a=(a=e.era).normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),n=Vf[a]||a,r=o,o=jh(r,i[n]||0))}var a;return{era:n,eraYear:r,year:o}}function bh(e){return parseInt(e.relatedYear||e.year)}function Ih(e){const{year:t,o:n,day:r}=this.h(e),{u:o}=this.l(t);return[t,o[n]+1,r]}function Mh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.l(e).i[t-1]+(n-1)*gf}function Th(e){const t=Dh(this,e),n=Dh(this,e-1),r=t.length;if(r>n.length){const e=Fh(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Eh(e){return mh(Mh.call(this,e),Mh.call(this,e+1))}function Oh(e,t){const{i:n}=this.l(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.l(e+1).i),mh(n[t-1],o[r-1])}function Ch(e){return this.l(e).i.length}function Dh(e,t){return Object.keys(e.l(t).u)}function Hh(e){if((e=e.toLowerCase())!==Uf&&e!==Zf&&Nh(e)!==Nh(_g(e).resolvedOptions().calendar))throw new RangeError($l(e));return e}function Nh(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function kh(e){return this.m(e)[0]}function _h(e){return this.m(e)[1]}function Lh(e){const[t]=this.v(e);return mh(this.p(t),cs(e))+1}function Rh(e){const t=Lg.exec(e);if(!t)throw new RangeError(Pl(e));return[parseInt(t[1]),Boolean(t[2])]}function Yh(e,t,n){return e+(t||n&&e>=n?1:0)}function Ph(e,t){return e-(t&&e>=t?1:0)}function jh(e,t){return(t+e)*(Math.sign(t)||1)||0}function Bh(e){return $f[Uh(e)]}function Fh(e){return zf[Uh(e)]}function Uh(e){return Nh(e.id||Uf)}function Zh(e,t,n,r){const o=zh(n,r,Pf,[],Cf);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=Jh(o),i=e(o.timeZone);return{epochNanoseconds:zc(t(i),{...r,...a},void 0!==o.offset?Cu(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...fd}}function xh(e,t,n){const r=zh(e,t,Pf,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function $h(e,t,n,r){const o=zh(e,t,Rf,r);return e.yearMonthFromFields(o,n)}function Vh(e,t,n,r){const o=zh(e,n,Pf,arguments.length>4&&void 0!==arguments[4]?arguments[4]:[]);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Id),e.monthDayFromFields(o,r)}function zh(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return Kh(t,[...e.fields(n),...o].sort(),r)}function Kh(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!n;const o={};let a,i=0;for(const r of t){if(r===a)throw new RangeError(Cl(r));if("constructor"===r||"__proto__"===r)throw new RangeError(Ol(r));let t=e[r];if(void 0!==t)i=1,jg[r]&&(t=jg[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(El(r));o[r]=Ff[r]}a=r}if(r&&!i)throw new TypeError(Dl(t));return o}function Jh(e,t){return Cs(Bg({...Ff,...e}),t)}function Gh(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];const i=[...e.fields(r),...o].sort();let s=Kh(t,i,a);const c=Kh(n,i);return s=e.mergeFields(s,c),Kh(s,i,[])}function Wh(e,t){const n=zh(e,t,Bf);return e.monthDayFromFields(n)}function qh(e,t,n){const r=zh(e,t,Yf);return e.yearMonthFromFields(r,n)}function Xh(e,t,n,r,o){t=si(n=e.fields(n),t),r=Kh(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=Kh(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function Qh(e,t){let{era:n,eraYear:r,year:o}=t;const a=Bh(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(_l);if(!a)throw new RangeError(kl);const e=a[n];if(void 0===e)throw new RangeError(Rl(n));const t=jh(r,e);if(void 0!==o&&o!==t)throw new RangeError(Ll);o=t}else if(void 0===o)throw new TypeError(Yl(a));return o}function el(e,t,n,r){let{month:o,monthCode:a}=t;if(void 0!==a){const t=((e,t,n,r)=>{const o=e.P(n),[a,i]=Rh(t);let s=Yh(a,i,o);if(i){const t=Fh(e);if(void 0===t)throw new RangeError(Ul);if(t>0){if(s>t)throw new RangeError(Ul);if(void 0===o){if(1===r)throw new RangeError(Ul);s--}}else{if(s!==-t)throw new RangeError(Ul);if(void 0===o&&1===r)throw new RangeError(Ul)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(jl);o=t,r=1}else if(void 0===o)throw new TypeError(Bl);return Ga("month",o,1,e.j(n),r)}function tl(e,t,n,r,o){return Ja(t,"day",1,e.N(r,n),o)}function nl(e,t,n,r){let o=0;const a=[];for(const e of n)void 0!==t[e]?o=1:a.push(e);if(Object.assign(e,t),o)for(const t of r||a)delete e[t]}function rl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Uf;return Gs(e.epochNanoseconds,t,n)}function ol(e,t){return Ws(hg(t,e))}function al(e,t){return qs(hg(t,e))}function il(e,t){return ec(hg(t,e))}function sl(e,t){return{...e,calendar:t}}function cl(e,t){if(e===t)return e;const n=oc(e),r=oc(t);if(n===r||n===Uf)return t;if(r===Uf)return e;throw new RangeError(xl)}function ul(e,t){return n=>n===Uf?e:n===Zf||n===xf?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),kg(n))}function hl(e,t,n){const r=new Set(n);return o=>(((e,t)=>{for(const n of t)if(n in e)return 1;return 0})(o=ci(r,o),e)||Object.assign(o,t),n&&(o.timeZone=ag,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function ll(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:fl;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:gm;for(var i=arguments.length,s=new Array(i>2?i-2:0),c=2;c<i;c++)s[c-2]=arguments[c];const u=t(r&&r(...s),o,a,n),h=u.resolvedOptions();return[u,...dl(e,h,s)]}}function fl(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(cf);n.timeZone=e}return new gd(t,n)}function dl(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==Uf)&&e!==t)throw new RangeError(xl)})(oc(e.calendar),t.calendar,o),r(e,t))))}function gl(e){const t=ml();return gs(t,e.getOffsetNanosecondsFor(t))}function ml(){return Gi(Date.now(),Sf)}function yl(){return bm||(bm=(new gd).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?ca:u?ca[s]||fa(s,{}):ca[s]&&ca[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=ua(n,r))&&i.value:n[r],!ga(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;da(a,o)}(e.sham||o&&o.sham)&&ha(a,"sham",!0),la(n,r,a,e)}})({target:"Array",proto:!0,forced:Ne((function(){return!Array(1).includes()}))},{includes:function(e){return za(this,e,arguments.length>1?arguments[1]:void 0)}}),Ka("includes");const Sl=(e,t)=>`Non-integer ${e}: ${t}`,pl=(e,t)=>`Non-positive ${e}: ${t}`,wl=(e,t)=>`Non-finite ${e}: ${t}`,vl=e=>`Cannot convert bigint to ${e}`,Al=e=>`Invalid bigint: ${e}`,bl="Cannot convert Symbol to string",Il="Invalid object",Ml=(e,t,n,r,o)=>o?Ml(e,o[t],o[n],o[r]):Tl(e,t)+`; must be between ${n}-${r}`,Tl=(e,t)=>`Invalid ${e}: ${t}`,El=e=>`Missing ${e}`,Ol=e=>`Invalid field ${e}`,Cl=e=>`Duplicate field ${e}`,Dl=e=>"No valid fields: "+e.join(),Hl=(e,t,n)=>Tl(e,t)+"; must be "+Object.keys(n).join(),Nl="Invalid calling context",kl="Forbidden era/eraYear",_l="Mismatching era/eraYear",Ll="Mismatching year/eraYear",Rl=e=>`Invalid era: ${e}`,Yl=e=>"Missing year"+(e?"/era/eraYear":""),Pl=e=>`Invalid monthCode: ${e}`,jl="Mismatching month/monthCode",Bl="Missing month/monthCode",Fl="Cannot guess year",Ul="Invalid leap month",Zl="Invalid protocol results",xl="Mismatching Calendars",$l=e=>`Invalid Calendar: ${e}`,Vl="Mismatching TimeZones",zl="Forbidden ICU TimeZone",Kl="Out-of-bounds offset",Jl="Out-of-bounds TimeZone gap",Gl="Invalid TimeZone offset",Wl="Ambiguous offset",ql="Out-of-bounds date",Xl="Out-of-bounds duration",Ql="Cannot mix duration signs",ef="Missing relativeTo",tf="Cannot use large units",nf="Required smallestUnit or largestUnit",rf="smallestUnit > largestUnit",of=e=>`Cannot parse: ${e}`,af=e=>`Invalid substring: ${e}`,sf=e=>`Cannot format ${e}`,cf="Cannot specify TimeZone",uf=fi(ai,((e,t)=>t)),hf=fi(ai,((e,t,n)=>n)),lf=fi(mi,2),ff={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},df=Object.keys(ff),gf=864e5,mf=1e3,yf=1e3,Sf=1e6,pf=1e9,wf=6e10,vf=36e11,Af=864e11,bf=[1,yf,Sf,pf,wf,vf,Af],If=df.slice(0,6),Mf=gi(If),Tf=["offset"],Ef=["timeZone"],Of=If.concat(Tf),Cf=Of.concat(Ef),Df=["era","eraYear"],Hf=Df.concat(["year"]),Nf=["year"],kf=["monthCode"],_f=["month"].concat(kf),Lf=["day"],Rf=_f.concat(Nf),Yf=kf.concat(Nf),Pf=Lf.concat(Rf),jf=Lf.concat(_f),Bf=Lf.concat(kf),Ff=hf(If,0),Uf="iso8601",Zf="gregory",xf="japanese",$f={[Zf]:{bce:-1,ce:0},[xf]:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Vf={bc:"bce",ad:"ce"},zf={chinese:13,dangi:13,hebrew:-6},Kf=fi(ki,"string"),Jf=fi(ki,"boolean"),Gf=fi(ki,"number"),Wf=fi(ki,"function"),qf=df.map((e=>e+"s")),Xf=gi(qf),Qf=qf.slice(0,6),ed=qf.slice(6),td=ed.slice(1),nd=uf(qf),rd=hf(qf,0),od=hf(Qf,0),ad=fi(li,qf),id=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],sd=["isoDay","isoMonth","isoYear"],cd=id.concat(sd),ud=gi(sd),hd=gi(id),ld=gi(cd),fd=hf(hd,0),dd=fi(li,cd),gd=Intl.DateTimeFormat,md="en-GB",yd=1e8,Sd=yd*gf,pd=[yd,0],wd=[-yd,0],vd=275760,Ad=-271821,bd=1970,Id=1972,Md=12,Td=fs(1868,9,8),Ed=Xa(Is,WeakMap),Od="smallestUnit",Cd="unit",Dd="roundingIncrement",Hd="fractionalSecondDigits",Nd="relativeTo",kd={constrain:0,reject:1},_d=Object.keys(kd),Ld={compatible:0,reject:1,earlier:2,later:3},Rd={reject:0,use:1,prefer:2,ignore:3},Yd={auto:0,never:1,critical:2,always:3},Pd={auto:0,never:1,critical:2},jd={auto:0,never:1},Bd={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},Fd=fi(Vs,Od),Ud=fi(Vs,"largestUnit"),Zd=fi(Vs,Cd),xd=fi(zs,"overflow",kd),$d=fi(zs,"disambiguation",Ld),Vd=fi(zs,"offset",Rd),zd=fi(zs,"calendarName",Yd),Kd=fi(zs,"timeZoneName",Pd),Jd=fi(zs,"offset",jd),Gd=fi(zs,"roundingMode",Bd),Wd="PlainYearMonth",qd="PlainMonthDay",Xd="PlainDate",Qd="PlainDateTime",eg="PlainTime",tg="ZonedDateTime",ng="Instant",rg="Duration",og=[Math.floor,e=>Ii(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Ii(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Ii(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Ii(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],ag="UTC",ig=5184e3,sg=ls(1847),cg=ls((new Date).getUTCFullYear()+10),ug=/0+$/,hg=Xa(Vc,WeakMap),lg=2**32-1,fg=Xa((e=>{const t=Ju(e);return"object"==typeof t?new gg(t):new dg(t||0)}));class dg{constructor(e){this.R=e}getOffsetNanosecondsFor(){return this.R}getPossibleInstantsFor(e){return[hs(e,this.R)]}B(){}}class gg{constructor(e){this.q=(e=>{function t(e){const t=Si(e,a,i),[s,c]=Ou(t),u=r(s),h=r(c);return u===h?u:n(o(s,c),u,h,e)}function n(t,n,r,o){let a,i;for(;(void 0===o||void 0===(a=o<t[0]?n:o>=t[1]?r:void 0))&&(i=t[1]-t[0]);){const n=t[0]+Math.floor(i/2);e(n)===r?t[1]=n:t[0]=n+1}return a}const r=Xa(e),o=Xa(Eu);let a=sg,i=cg;return{J(e){const n=t(e-86400),r=t(e+86400),o=e-n,a=e-r;if(n===r)return[o];const i=t(o);return i===t(a)?[e-i]:n>r?[o,a]:[]},_:t,B(e,t){const s=Si(e,a,i);let[c,u]=Ou(s);const h=ig*t,l=t<0?()=>u>a||(a=s,0):()=>c<i||(i=s,0);for(;l();){const a=r(c),i=r(u);if(a!==i){const r=o(c,u);n(r,a,i);const s=r[0];if((yi(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=Qi(e,t*mf);return ls(bh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.q._(is(e))*pf}getPossibleInstantsFor(e){const[t,n]=[ls((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Sf+r.isoMicrosecond*yf+r.isoNanosecond];var r;return this.q.J(t).map((e=>rs($i(Gi(e,pf),n))))}B(e,t){const[n,r]=ss(e),o=this.q.B(n+(t>0||r?1:0),t);if(void 0!==o)return Gi(o,pf)}}const mg="([+−-])",yg="(?:[.,](\\d{1,9}))?",Sg=`(?:(?:${mg}(\\d{6}))|(\\d{4}))-?(\\d{2})`,pg="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+yg+")?)?",wg=mg+pg,vg=Sg+"-?(\\d{2})(?:[T ]"+pg+"(Z|"+wg+")?)?",Ag="\\[(!?)([^\\]]*)\\]",bg=`((?:${Ag}){0,9})`,Ig=xu(Sg+bg),Mg=xu("(?:--)?(\\d{2})-?(\\d{2})"+bg),Tg=xu(vg+bg),Eg=xu("T?"+pg+"(?:"+wg+")?"+bg),Og=xu(wg),Cg=new RegExp(Ag,"g"),Dg=xu(`${mg}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${yg}H)?(?:(\\d+)${yg}M)?(?:(\\d+)${yg}S)?)?`),Hg=Xa((e=>new gd(md,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Ng=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,kg=Xa(ph),_g=Xa((e=>new gd(md,{calendar:e,timeZone:ag,era:"short",year:"numeric",month:"short",day:"numeric"}))),Lg=/^M(\d{2})(L?)$/,Rg={era:Yi,eraYear:Bi,year:Bi,month:Ui,monthCode:Yi,day:Ui},Yg=hf(If,Bi),Pg=hf(qf,Fi),jg=Object.assign({},Rg,Yg,Pg,{offset:Yi}),Bg=fi(ii,If,id),Fg={dateAdd(e,t,n){const r=Ds(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Au(t,5)[0],a||i)o=((e,t,n,r,o)=>{let[a,i,s]=e.v(t);if(n){const[t,r]=e.$(a,i);a+=n,i=Yh(t,r,e.P(a)),i=Ga("month",i,1,e.j(a),o)}return r&&([a,i]=e.G(a,i,r)),s=Ga("day",s,1,e.N(a,i),o),e.p(a,i,s)})(this,e,a,i,r);else{if(!s&&!c)return e;o=cs(e)}return o+=(7*s+c)*gf,ts(ms(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=gh({...e,...fd},{...t,...fd});return 7===n&&([r,o]=vi(o,7)),{...rd,weeks:r,days:o}}const r=this.v(e),o=this.v(t);let[a,i,s]=((e,t,n,r,o,a,i)=>{let s=o-t,c=a-n,u=i-r;if(s||c){const h=Math.sign(s||c);let l=e.N(o,a),f=0;if(Math.sign(u)===-h){const r=l;[o,a]=e.G(o,a,-h),s=o-t,c=a-n,l=e.N(o,a),f=h<0?-r:l}if(u=i-Math.min(r,l)+f,s){const[r,i]=e.$(t,n),[u,l]=e.$(o,a);if(c=u-r||Number(l)-Number(i),Math.sign(c)===-h){const n=h<0&&-e.j(o);s=(o-=h)-t,c=a-Yh(r,i,e.P(o))+(n||e.j(o))}}}return[s,c,u]})(this,...r,...o);return 8===n&&(i+=this.V(a,r[0]),a=0),{...rd,years:a,months:i,days:s}},dateFromFields(e,t){const n=Ds(t),r=Qh(this,e),o=el(this,e,r,n),a=tl(this,e,o,r,n);return qs(ts(this.L(r,o,a)),this.id||Uf)},yearMonthFromFields(e,t){const n=Ds(t),r=Qh(this,e),o=el(this,e,r,n);return Xs(es(this.L(r,o,1)),this.id||Uf)},monthDayFromFields(e,t){const n=Ds(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=Rh(o),l=Wa(e,"day");const t=this.k(s,c,l);if(!t)throw new RangeError(Fl);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(jl);r&&(h=Ga("month",h,1,Md,1),l=Ga("day",l,1,ps(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Id:Qh(this,e),h=el(this,e,u,n),l=tl(this,e,h,u,n);const t=this.P(u);c=h===t,s=Ph(h,t);const o=this.k(s,c,l);if(!o)throw new RangeError(Fl);[u,h]=o}return Qs(ts(this.L(u,h,l)),this.id||Uf)},fields(e){return Bh(this)&&e.includes("year")?[...e,...Df]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return nl(n,t,_f),Bh(this)&&(nl(n,t,Hf),this.id===xf&&nl(n,t,jf,Df)),n},inLeapYear(e){const[t]=this.v(e);return this.K(t)},monthsInYear(e){const[t]=this.v(e);return this.j(t)},daysInMonth(e){const[t,n]=this.v(e);return this.N(t,n)},daysInYear(e){const[t]=this.v(e);return this.X(t)},dayOfYear:Lh,era(e){return this.nn(e)[0]},eraYear(e){return this.nn(e)[1]},monthCode(e){const[t,n]=this.v(e),[r,o]=this.$(t,n);return((e,t)=>"M"+lf(e)+(t?"L":""))(r,o)},dayOfWeek:As,daysInWeek:()=>7},Ug={dayOfYear:Lh,v:ys,p:fs},Zg=Object.assign({},Ug,{weekOfYear:kh,yearOfWeek:_h,m(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=ws(f+e),r=e||1,o=t(wi(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=As(e),a=this.dayOfYear(e),i=wi(o-1,7),s=a-1,c=wi(i-s,7),u=t(c);let h,l=Math.floor((s-u)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),xg={dayOfYear:Lh,v:Ih,p:Mh,weekOfYear:kh,yearOfWeek:_h,m:()=>[]},$g=ul(Object.assign({},Fg,Zg,{v:ys,nn(e){return this.id===Zf?bs(e):this.id===xf?Ed(e):[]},$:(e,t)=>[t,0],k(e,t){if(!t)return[Id,e]},K:vs,P(){},j:Ss,V:e=>e*Md,N:ps,X:ws,L:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),p:fs,G:(e,t,n)=>(e+=Ai(n,Md),(t+=bi(n,Md))<1?(e--,t+=Md):t>Md&&(e++,t-=Md),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},Fg,xg,{v:Ih,nn(e){const t=this.h(e);return[t.era,t.eraYear]},$(e,t){const n=Th.call(this,e);return[Ph(t,n),n===t]},k(e,t,n){let[r,o,a]=Ih.call(this,{isoYear:Id,isoMonth:Md,isoDay:31});const i=Th.call(this,r),s=o===i;1===(yi(e,Ph(o,i))||yi(Number(t),Number(s))||yi(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=Th.call(this,a),s=Yh(e,t,i);if(t===(s===i)&&n<=Oh.call(this,a,s))return[a,s]}},K(e){const t=Eh.call(this,e);return t>Eh.call(this,e-1)&&t>Eh.call(this,e+1)},P:Th,j:Ch,V(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let a=0;for(let e=t;e!==n;e+=r)a+=Ch.call(this,e+o);return a},N:Oh,X:Eh,L(e,t,n){return ms(Mh.call(this,e,t,n))},p:Mh,G(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(ql);if(n<0)for(;t<1;)t+=Ch.call(this,--e);else{let n;for(;t>(n=Ch.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.h(e).year},month(e){const{year:t,o:n}=this.h(e),{u:r}=this.l(t);return r[n]+1},day(e){return this.h(e).day}})),Vg="numeric",zg=["timeZoneName"],Kg={month:Vg,day:Vg},Jg={year:Vg,month:Vg},Gg=Object.assign({},Jg,{day:Vg}),Wg={hour:Vg,minute:Vg,second:Vg},qg=Object.assign({},Gg,Wg),Xg=Object.assign({},qg,{timeZoneName:"short"}),Qg=Object.keys(Jg),em=Object.keys(Kg),tm=Object.keys(Gg),nm=Object.keys(Wg),rm=["dateStyle"],om=Qg.concat(rm),am=em.concat(rm),im=tm.concat(rm,["weekday"]),sm=nm.concat(["dayPeriod","timeStyle"]),cm=im.concat(sm),um=cm.concat(zg),hm=zg.concat(sm),lm=zg.concat(im),fm=zg.concat(["day","weekday"],sm),dm=zg.concat(["year","weekday"],sm),gm={},mm=[hl(cm,qg),nc],ym=[hl(um,Xg),nc,0,(e,t)=>{const n=oc(e.timeZone);if(t&&oc(t.timeZone)!==n)throw new RangeError(Vl);return n}],Sm=[hl(cm,qg,zg),cs],pm=[hl(im,Gg,hm),cs],wm=[hl(sm,Wg,lm),e=>os(e)/Sf],vm=[hl(om,Jg,fm),cs,1],Am=[hl(am,Kg,dm),cs,1];let bm;function Im(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError(Nl);py(this,t(...arguments))}function i(e,t){return Object.defineProperties((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,s(this),...n)}),Qa(t))}function s(t){const n=Sy(t);if(!n||n.branding!==e)throw new TypeError(Nl);return n}return Object.defineProperties(a.prototype,{...ti(oi(i,n)),...ei(oi(i,r)),...ni("Temporal."+e)}),Object.defineProperties(a,{...ei(o),...Qa(e)}),[a,e=>{const t=Object.create(a.prototype);return py(t,e),t},s]}function Mm(e){return e=e.concat("id").sort(),t=>{if(!function(e,t){for(const n of t)if(!(n in e))return 0;return 1}(t,e))throw new TypeError("Invalid protocol");return t}}function Tm(e){if(Sy(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Em(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{F:o}=e;const a=Sy(n)||{},{branding:i}=a,s=i===Xd||t.includes(i)?a:Zm(n);return o[r](s)};return n}function Om(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?$g(r):(o=r,Object.assign(Object.create(My),{C:o})))[n](e);var r,o};return t}function Cm(){throw new TypeError("Cannot use valueOf")}function Dm(e){let{calendar:t}=e;return"string"==typeof t?new bS(t):t}function Hm(e,t){if(t=xs(t),qa(e)){const n=Sy(e);if(n&&n.branding===qd)return Ds(t),n;const r=Jm(e);return Vh(hS(r||Uf),!r,e,t)}const n=function(e,t){const n=Pu(Kf(t));if(n)return Hu(n),Qs(Ts(n));const r=Du(t),{calendar:o}=r,a=e(o),[i,s,c]=a.v(r),[u,h]=a.$(i,s),[l,f]=a.k(u,h,c);return Qs(ts(a.L(l,f,c)),o)}($g,e);return Ds(t),n}function Nm(e,t,n){return Jc(Ci(t.call(e,Ry(Js(n)))))}function km(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ky;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=fi(t[o],e,Wf(e[o]));return r}function _m(e,t){return"string"==typeof e?fg(e):km(e,t)}function Lm(e){return _m(e,_y)}function Rm(e){if(qa(e)){const t=Sy(e);if(t)switch(t.branding){case ng:return t;case tg:return Js(t.epochNanoseconds)}}return function(e){const t=Ru(e=Yi(e));if(!t)throw new RangeError(of(e));let n;if(t.O)n=0;else{if(!t.offset)throw new RangeError(of(e));n=Cu(t.offset)}return t.timeZone&&ju(t.timeZone,1),Js(hs(Ms(t),n))}(e)}function Ym(e,t,n){const r=t.B(Rm(n).epochNanoseconds,e);return r?Ry(Js(r)):null}function Pm(e){return qa(e)?(Sy(e)||{}).timeZone||By(e):(e=>zu(function(e){const t=Ru(e);return t&&(t.timeZone||t.O&&ag||t.offset)||e}(Kf(e))))(e)}function jm(e,t){if(qa(e)){const n=Sy(e)||{};switch(n.branding){case eg:return Ds(t),n;case Qd:return Ds(t),ec(n);case tg:return Ds(t),il(Lm,n)}return function(e,t){const n=Ds(t);return ec(Jh(Kh(e,Mf,[],1),n))}(e,t)}return Ds(t),function(e){let t,n=(e=>{const t=Eg.exec(e);return t?(Uu(t[10]),Fu(t)):void 0})(Kf(e));if(!n){if(n=Ru(e),!n)throw new RangeError(of(e));if(!n.I)throw new RangeError(of(e));if(n.O)throw new RangeError(af("Z"));Hu(n)}if((t=Yu(e))&&Es(t))throw new RangeError(of(e));if((t=Pu(e))&&Es(t))throw new RangeError(of(e));return ec(Cs(n,1))}(e)}function Bm(e){return void 0===e?void 0:jm(e)}function Fm(e,t){if(t=xs(t),qa(e)){const n=Sy(e);return n&&n.branding===Wd?(Ds(t),n):$h(cS(Km(e)),e,t)}const n=function(e,t){const n=Yu(Kf(t));if(n)return Hu(n),Xs(es(Ts(n)));const r=Du(t);return Xs(au(e(r.calendar),r))}($g,e);return Ds(t),n}function Um(e,t){if(t=xs(t),qa(e)){const n=Sy(e)||{};switch(n.branding){case Qd:return Ds(t),n;case Xd:return Ds(t),Ws({...n,...fd});case tg:return Ds(t),ol(Lm,n)}return function(e,t,n){const r=zh(e,t,Pf,[],If),o=Ds(n);return Ws(ns({...e.dateFromFields(r,$s(n,o)),...Jh(r,o)}))}(uS(Km(e)),e,t)}const n=function(e){const t=Ru(Kf(e));if(!t||t.O)throw new RangeError(of(e));return Ws(ku(t))}(e);return Ds(t),n}function Zm(e,t){if(t=xs(t),qa(e)){const n=Sy(e)||{};switch(n.branding){case Xd:return Ds(t),n;case Qd:return Ds(t),qs(n);case tg:return Ds(t),al(Lm,n)}return xh(uS(Km(e)),e,t)}const n=Du(e);return Ds(t),n}function xm(e,t,n){return Oi(t.call(e,Jy(qs(n,e))))}function $m(e){return t=>"string"==typeof t?$g(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=fi(t[o],e,e[o]);return r})(t,e)}function Vm(e){if(qa(e)){const t=Sy(e);return t&&t.branding===rg?t:function(e){const t=Kh(e,Xf);return tc(wu({...rd,...t}))}(e)}return function(e){const t=(e=>{const t=Dg.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=pi(o,bf[a])),void 0!==e){if(r)throw new RangeError(af(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(af(e));return t})(e),n=1,t&&(o=Zu(t)*(bf[a]/pf),r=1)}return i+s}let n=0,r=0,o=0,a={...ri(qf,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Ti(o,2,qf)};if(!n)throw new RangeError(Dl(qf));return $u(e[1])<0&&(a=Su(a)),a})(t):void 0})(Kf(e));if(!t)throw new RangeError(of(e));return tc(wu(t))}(e)}function zm(e){if(void 0!==e){if(qa(e)){const t=Sy(e)||{};switch(t.branding){case tg:case Xd:return t;case Qd:return qs(t)}const n=Km(e);return{...Zh(Pm,_m,uS(n),e),calendar:n}}return function(e){const t=Ru(Kf(e));if(!t)throw new RangeError(of(e));if(t.timeZone)return Nu(t,t.offset?Cu(t.offset):void 0);if(t.O)throw new RangeError(of(e));return _u(t)}(e)}}function Km(e){return Jm(e)||Uf}function Jm(e){const{calendar:t}=e;if(void 0!==t)return Gm(t)}function Gm(e){return qa(e)?(Sy(e)||{}).calendar||IS(e):(e=>Hh(function(e){const t=Ru(e)||Yu(e)||Pu(e);return t?t.calendar:e}(Kf(e))))(e)}function Wm(e,t){if(t=xs(t),qa(e)){const n=Sy(e);if(n&&n.branding===tg)return Hs(t),n;const r=Km(e);return function(e,t,n,r,o,a){const i=zh(n,o,Pf,Ef,Cf),s=e(i.timeZone),[c,u,h]=Hs(a),l=n.dateFromFields(i,$s(a,c)),f=Jh(i,c);return Gs(zc(t(s),{...l,...f},void 0!==i.offset?Cu(i.offset):void 0,u,h),s,r)}(Pm,_m,uS(r),r,e,t)}return function(e,t){const n=Ru(Kf(e));if(!n||!n.timeZone)throw new RangeError(of(e));const{offset:r}=n,o=r?Cu(r):void 0,[,a,i]=Hs(t);return Nu(n,o,a,i)}(e,t)}function qm(e){return oi((e=>t=>e(Xm(t))),e)}function Xm(e){return hg(e,Lm)}function Qm(){const e=gd.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(gd),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);DS.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new gd(e,t),r=n.resolvedOptions(),o=r.locale,a=si(Object.keys(t),r),i=Xa(ny),s=function(){let e;for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];const c=r.map(((t,n)=>{const r=Sy(t),o=(r||{}).branding;if(n&&e&&e!==o)throw new TypeError("Mismatching types for formatting");return e=o,r}));return e?i(e)(o,a,...c):[n,...r]};return s.U=n,s}(e,t))};for(const e in t){const n=t[e],o=e.startsWith("format")&&ey(e);"function"==typeof n.value?n.value="constructor"===e?r:o||ty(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function ey(e){return function(){const t=DS.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function ty(e){return function(){return DS.get(this).U[e](...arguments)}}function ny(e){const t=ry[e];if(!t)throw new TypeError(sf(e));return ll(t,Xa(fl))}const ry={Instant:mm,PlainDateTime:Sm,PlainDate:pm,PlainTime:wm,PlainYearMonth:vm,PlainMonthDay:Am},oy=ll(mm),ay=ll(ym),iy=ll(Sm),sy=ll(pm),cy=ll(wm),uy=ll(vm),hy=ll(Am),ly={era:function(e){if(void 0!==e)return Kf(e)},eraYear:Ei,year:Ci,month:Oi,daysInMonth:Oi,daysInYear:Oi,inLeapYear:Jf,monthsInYear:Oi},fy={monthCode:Kf},dy={day:Oi},gy={dayOfWeek:Oi,dayOfYear:Oi,weekOfYear:function(e){if(void 0!==e)return Oi(e)},yearOfWeek:Ei,daysInWeek:Oi},my=Object.assign({},ly,fy,dy,gy),yy=new WeakMap,Sy=yy.get.bind(yy),py=yy.set.bind(yy),wy={...Em(ly,[Wd]),...Em(gy,[]),...Em(fy,[Wd,qd]),...Em(dy,[qd])},vy=Om(my),Ay=Om({...ly,...fy}),by=Om({...fy,...dy}),Iy={calendarId:e=>oc(e.calendar)},My=oi(((e,t)=>function(n){const{C:r}=this;return e(r[t](Jy(qs(n,r))))}),my),Ty=ai((e=>t=>t[e]),qf.concat("sign")),Ey=ai(((e,t)=>e=>e[id[t]]),If),Oy={epochSeconds:function(e){return is(e.epochNanoseconds)},epochMilliseconds:nc,epochMicroseconds:function(e){return Wi(e.epochNanoseconds,yf)},epochNanoseconds:function(e){return Wi(e.epochNanoseconds)}},Cy=fi(ci,new Set(["branding"])),[Dy,Hy,Ny]=Im(qd,fi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Uf,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Id;const a=Bi(t),i=Bi(n),s=e(r);return Qs(ts(Ts({isoYear:Bi(o),isoMonth:a,isoDay:i})),s)}),Gm),{...Iy,...by},{getISOFields:Cy,getCalendar:Dm,with(e,t,n){return Hy(function(e,t,n,r,o){const a=xs(o);return((e,t,n,r)=>{const o=Gh(e,t,n,Pf);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(dS,e,this,Tm(t),n))},equals:(e,t)=>function(e,t){return!Xu(e,t)&&ac(e.calendar,t.calendar)}(e,Hm(t)),toPlainDate(e,t){return Jy(function(e,t,n,r){return((e,t,n)=>Xh(e,t,Bf,Ni(n),Nf))(e(t.calendar),n,r)}(fS,e,this,t))},toLocaleString(e,t,n){const[r,o]=hy(t,n,e);return r.format(o)},toString:Dc,toJSON:e=>Dc(e),valueOf:Cm},{from:(e,t)=>Hy(Hm(e,t))}),ky={getOffsetNanosecondsFor:Nm,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,zy(Ws(n,Uf)))].map((e=>Yy(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(zi),Gc(qi(Vi(r[0],r[o-1])))),r}},_y={getOffsetNanosecondsFor:Nm},[Ly,Ry,Yy]=Im(ng,(function(e){return Js(rs(Ji(Pi(e))))}),Oy,{add:(e,t)=>Ry(Wc(0,e,Vm(t))),subtract:(e,t)=>Ry(Wc(1,e,Vm(t))),until:(e,t,n)=>wS(th(0,e,Rm(t),n)),since:(e,t,n)=>wS(th(1,e,Rm(t),n)),round:(e,t)=>Ry(function(e,t){const[n,r,o]=_s(t,5,1);return Js(Sc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!Gu(e,t)}(e,Rm(t)),toZonedDateTime(e,t){const n=Ni(t);return TS(rl(e,Pm(n.timeZone),Gm(n.calendar)))},toZonedDateTimeISO:(e,t)=>TS(rl(e,Pm(t))),toLocaleString(e,t,n){const[r,o]=oy(t,n,e);return r.format(o)},toString:(e,t)=>Mc(Pm,Lm,e,t),toJSON:e=>Mc(Pm,Lm,e),valueOf:Cm},{from:e=>Ry(Rm(e)),fromEpochSeconds:e=>Ry(function(e){return Js(rs(Gi(e,pf)))}(e)),fromEpochMilliseconds:e=>Ry(function(e){return Js(rs(Gi(e,Sf)))}(e)),fromEpochMicroseconds:e=>Ry(function(e){return Js(rs(Ji(Pi(e),yf)))}(e)),fromEpochNanoseconds:e=>Ry(function(e){return Js(rs(Ji(Pi(e))))}(e)),compare:(e,t)=>Gu(Rm(e),Rm(t))}),[Py,jy]=Im("TimeZone",(e=>{const t=function(e){return zu(Kf(e))}(e);return{branding:"TimeZone",id:t,F:fg(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{F:n}=e;return n.getPossibleInstantsFor(Um(t)).map((e=>Ry(Js(e))))},getOffsetNanosecondsFor:(e,t)=>{let{F:n}=e;return n.getOffsetNanosecondsFor(Rm(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=Rm(t).epochNanoseconds;return Bc(km(this,_y).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Uf;const r=Rm(t).epochNanoseconds,o=km(this,_y).getOffsetNanosecondsFor(r);return zy(Ws(gs(r,o),Gm(n)))},getInstantFor(e,t,n){const r=Um(t),o=Ns(n),a=km(this);return Ry(Js(Kc(a,r,o)))},getNextTransition:(e,t)=>{let{F:n}=e;return Ym(1,n,t)},getPreviousTransition:(e,t)=>{let{F:n}=e;return Ym(-1,n,t)},equals(e,t){return!!eh(this,Pm(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=Pm(e);return"string"==typeof t?new Py(t):t}}),By=Mm(Object.keys(ky)),[Fy,Uy]=Im(eg,(function(){return ec(Cs(oi(Bi,ri(id,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0])),1))}),Ey,{getISOFields:Cy,with(e,t,n){return Uy(function(e,t,n){return ec(((e,t,n)=>{const r=Ds(n);return Jh({...si(Mf,e),...Kh(t,Mf)},r)})(e,t,n))}(this,Tm(t),n))},add:(e,t)=>Uy(tu(0,e,Vm(t))),subtract:(e,t)=>Uy(tu(1,e,Vm(t))),until:(e,t,n)=>wS(sh(0,e,jm(t),n)),since:(e,t,n)=>wS(sh(1,e,jm(t),n)),round:(e,t)=>Uy(function(e,t){const[n,r,o]=_s(t,5);var a;return ec((a=o,hc(e,fc(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!Qu(e,t)}(e,jm(t)),toZonedDateTime:(e,t)=>TS(function(e,t,n,r,o){const a=Ni(o),i=t(a.plainDate),s=e(a.timeZone);return Gs(Kc(n(s),{...i,...r}),s,i.calendar)}(Pm,Zm,_m,e,t)),toPlainDateTime:(e,t)=>zy(function(e,t){return Ws(ns({...e,...t}))}(e,Zm(t))),toLocaleString(e,t,n){const[r,o]=cy(t,n,e);return r.format(o)},toString:Hc,toJSON:e=>Hc(e),valueOf:Cm},{from:(e,t)=>Uy(jm(e,t)),compare:(e,t)=>Qu(jm(e),jm(t))}),[Zy,xy,$y]=Im(Wd,fi((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Uf,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=Bi(t),i=Bi(n),s=e(r);return Xs(es(Ts({isoYear:a,isoMonth:i,isoDay:Bi(o)})),s)}),Gm),{...Iy,...Ay},{getISOFields:Cy,getCalendar:Dm,with(e,t,n){return xy(function(e,t,n,r,o){const a=xs(o);return Xs(((e,t,n,r)=>{const o=Gh(e,t,n,Rf);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(lS,e,this,Tm(t),n))},add:(e,t,n)=>xy(eu(yS,0,e,Vm(t),n)),subtract:(e,t,n)=>xy(eu(yS,1,e,Vm(t),n)),until:(e,t,n)=>wS(ah(SS,0,e,Fm(t),n)),since:(e,t,n)=>wS(ah(SS,1,e,Fm(t),n)),equals:(e,t)=>function(e,t){return!Xu(e,t)&&ac(e.calendar,t.calendar)}(e,Fm(t)),toPlainDate(e,t){return Jy(function(e,t,n,r){return((e,t,n)=>Xh(e,t,Yf,Ni(n),Lf))(e(t.calendar),n,r)}(fS,e,this,t))},toLocaleString(e,t,n){const[r,o]=uy(t,n,e);return r.format(o)},toString:Cc,toJSON:e=>Cc(e),valueOf:Cm},{from:(e,t)=>xy(Fm(e,t)),compare:(e,t)=>Xu(Fm(e),Fm(t))}),[Vy,zy]=Im(Qd,fi((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:Uf;return Ws(ns(Ms(oi(Bi,ri(cd,[t,n,r,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0])))),e(o))}),Gm),{...Iy,...vy,...Ey},{getISOFields:Cy,getCalendar:Dm,with(e,t,n){return zy(function(e,t,n,r,o){const a=xs(o);return Ws(((e,t,n,r)=>{const o=Gh(e,t,n,Pf,If),a=Ds(r);return ns({...e.dateFromFields(o,$s(r,a)),...Jh(o,a)})})(e(t.calendar),n,r,a))}(fS,e,this,Tm(t),n))},withCalendar:(e,t)=>zy(sl(e,Gm(t))),withPlainDate:(e,t)=>zy(function(e,t){return Ws({...e,...t},cl(e.calendar,t.calendar))}(e,Zm(t))),withPlainTime:(e,t)=>zy(function(e){return Ws({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:fd})}(e,Bm(t))),add:(e,t,n)=>zy(Xc(gS,0,e,Vm(t),n)),subtract:(e,t,n)=>zy(Xc(gS,1,e,Vm(t),n)),until:(e,t,n)=>wS(rh(mS,0,e,Um(t),n)),since:(e,t,n)=>wS(rh(mS,1,e,Um(t),n)),round:(e,t)=>zy(function(e,t){return Ws(cc(e,..._s(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!qu(e,t)&&ac(e.calendar,t.calendar)}(e,Um(t)),toZonedDateTime:(e,t,n)=>TS(function(e,t,n,r){const o=((e,t,n,r)=>{const o=Ns(r);return Kc(e(t),n,o)})(e,n,t,r);return Gs(rs(o),n,t.calendar)}(_m,e,Pm(t),n)),toPlainDate:e=>Jy(qs(e)),toPlainTime:e=>Uy(ec(e)),toPlainYearMonth(e){return xy(function(e,t,n){const r=e(t.calendar);return Xs({...t,...qh(r,n)})}(cS,e,this))},toPlainMonthDay(e){return Hy(function(e,t,n){return Wh(e(t.calendar),n)}(hS,e,this))},toLocaleString(e,t,n){const[r,o]=iy(t,n,e);return r.format(o)},toString:Ec,toJSON:e=>Ec(e),valueOf:Cm},{from:(e,t)=>zy(Um(e,t)),compare:(e,t)=>qu(Um(e),Um(t))}),[Ky,Jy,Gy]=Im(Xd,fi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Uf;return qs(ts(Ts(oi(Bi,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),Gm),{...Iy,...vy},{getISOFields:Cy,getCalendar:Dm,with(e,t,n){return Jy(function(e,t,n,r,o){const a=xs(o);return((e,t,n,r)=>{const o=Gh(e,t,n,Pf);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(fS,e,this,Tm(t),n))},withCalendar:(e,t)=>Jy(sl(e,Gm(t))),add:(e,t,n)=>Jy(Qc(gS,0,e,Vm(t),n)),subtract:(e,t,n)=>Jy(Qc(gS,1,e,Vm(t),n)),until:(e,t,n)=>wS(oh(mS,0,e,Zm(t),n)),since:(e,t,n)=>wS(oh(mS,1,e,Zm(t),n)),equals:(e,t)=>function(e,t){return!Xu(e,t)&&ac(e.calendar,t.calendar)}(e,Zm(t)),toZonedDateTime(e,t){const n=!qa(t)||t instanceof Py?{timeZone:t}:t;return TS(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):fd;return Gs(Kc(n(a),{...r,...s}),a,r.calendar)}(Pm,jm,_m,e,n))},toPlainDateTime:(e,t)=>zy(function(e){return Ws(ns({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:fd}))}(e,Bm(t))),toPlainYearMonth(e){return xy(function(e,t,n){return qh(e(t.calendar),n)}(cS,e,this))},toPlainMonthDay(e){return Hy(function(e,t,n){return Wh(e(t.calendar),n)}(hS,e,this))},toLocaleString(e,t,n){const[r,o]=sy(t,n,e);return r.format(o)},toString:Oc,toJSON:e=>Oc(e),valueOf:Cm},{from:(e,t)=>Jy(Zm(e,t)),compare:(e,t)=>Xu(Zm(e),Zm(t))}),Wy={fields:(e,t,n)=>[...t.call(e,n)]},qy=Object.assign({dateFromFields:(e,t,n,r)=>Gy(t.call(e,Object.assign(Object.create(null),n),r))},Wy),Xy=Object.assign({yearMonthFromFields:(e,t,n,r)=>$y(t.call(e,Object.assign(Object.create(null),n),r))},Wy),Qy=Object.assign({monthDayFromFields:(e,t,n,r)=>Ny(t.call(e,Object.assign(Object.create(null),n),r))},Wy),eS={mergeFields:(e,t,n,r)=>Ni(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},tS=Object.assign({},qy,eS),nS=Object.assign({},Xy,eS),rS=Object.assign({},Qy,eS),oS={dateAdd:(e,t,n,r,o)=>Gy(t.call(e,Jy(qs(n,e)),wS(tc(r)),o))},aS=Object.assign({},oS,{dateUntil:(e,t,n,r,o,a)=>vS(t.call(e,Jy(qs(n,e)),Jy(qs(r,e)),Object.assign(Object.create(null),a,{largestUnit:df[o]})))}),iS=Object.assign({},oS,{day:xm}),sS=Object.assign({},aS,{day:xm}),cS=$m(Xy),uS=$m(qy),hS=$m(Qy),lS=$m(nS),fS=$m(tS),dS=$m(rS),gS=$m(oS),mS=$m(aS),yS=$m(iS),SS=$m(sS),[pS,wS,vS]=Im(rg,(function(){return tc(wu(oi(Fi,ri(qf,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0]))))}),{...Ty,blank:function(e){return!e.sign}},{with:(e,t)=>wS(function(e,t){return tc((n=e,r=t,wu({...n,...Kh(r,Xf)})));var n,r}(e,t)),negated:e=>wS(yu(e)),abs:e=>wS(function(e){return-1===e.sign?yu(e):e}(e)),add:(e,t,n)=>wS(mu(zm,mS,_m,0,e,Vm(t),n)),subtract:(e,t,n)=>wS(mu(zm,mS,_m,1,e,Vm(t),n)),round:(e,t)=>wS(function(e,t,n,r,o){const a=Tu(r),[i,s,c,u,h]=((e,t,n)=>{e=Zs(e,Od);let r=Ud(e);const o=n(e[Nd]);let a=js(e);const i=Gd(e,7);let s=Fd(e);if(void 0===r&&void 0===s)throw new RangeError(nf);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),Ks(r,s),a=Bs(a,s,1),[r,s,a,i,o]})(o,a,e);if(du(Math.max(a,i),h))return tc(wu(((e,t,n,r,o)=>{const a=Sc(Au(e),n,r,o);return{...rd,...bu(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(ef);const[l,f,d]=cu(t,n,h),g=uu(d),m=hu(f,d),y=lu(f,d);let S=0;r.weeks&&7===s&&(S=r.weeks,r={...r,weeks:0});let[p,w]=gu(r,i,l,g,m,y);const v=r.sign,A=pu(p);if(v&&A&&v!==A)throw new RangeError(Zl);return A&&(p=yc(p,w,i,s,c,u,l,g,m)),p.weeks+=S,tc(p)}(zm,mS,_m,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=Tu(r),[i,s]=((e,t)=>{const n=t((e=Zs(e,Cd))[Nd]);let r=Zd(e);return r=Hi(Cd,r),[r,n]})(o,e);if(du(Math.max(i,a),s))return((e,t)=>qi(Au(e),bf[t],1))(r,i);if(!s)throw new RangeError(ef);const[c,u,h]=cu(t,n,s),l=uu(h),f=hu(u,h);return((e,t,n,r,o,a)=>{const i=pu(e),[s,c]=ic(ad(n,e),n,i,r,o,a),u=sc(t,s,c);return e[qf[n]]+u*i})(...gu(r,i,c,l,f,lu(u,h)),i,c,l,f)}(zm,mS,_m,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):Nc(e)},toString:Nc,toJSON:e=>Nc(e),valueOf:Cm},{from:e=>wS(Vm(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(Us(a).relativeTo),s=Math.max(Tu(r),Tu(o));if(hi(qf,r,o))return 0;if(du(s,i))return zi(Au(r),Au(o));if(!i)throw new RangeError(ef);const[c,u,h]=cu(t,n,i),l=uu(h),f=hu(u,h);return zi(l(f(c,r)),l(f(c,o)))}(zm,gS,_m,Vm(e),Vm(t),n)}),AS={toString:e=>e.id,toJSON:e=>e.id,...wy,dateAdd:(e,t,n,r)=>{let{id:o,F:a}=e;return Jy(qs(a.dateAdd(Zm(t),Vm(n),r),o))},dateUntil:(e,t,n,r)=>{let{F:o}=e;return wS(tc(o.dateUntil(Zm(t),Zm(n),function(e){return e=Us(e),Ud(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,F:o}=e;return Jy(xh(o,t,n,function(e){return e===Uf?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,F:o}=e;return xy($h(o,t,n,function(e){return e===Uf?Nf:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,F:o}=e;return Hy(Vh(o,0,t,n,function(e){return e===Uf?Lf:[]}(r)))},fields(e,t){let{F:n}=e;const r=new Set(Pf),o=[];for(const e of t){if(Kf(e),!r.has(e))throw new RangeError(Ol(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{F:r}=e;return r.mergeFields(ui(Di(t)),ui(Di(n)))}},[bS]=Im("Calendar",(e=>{const t=function(e){return Hh(Kf(e))}(e);return{branding:"Calendar",id:t,F:$g(t)}}),{id:e=>e.id},AS,{from(e){const t=Gm(e);return"string"==typeof t?new bS(t):t}}),IS=Mm(Object.keys(AS).slice(4)),[MS,TS]=Im(tg,fi((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Uf;return Gs(rs(Ji(Pi(n))),t(r),e(o))}),Gm,Pm),{...Oy,...Iy,...qm(vy),...qm(Ey),offset:e=>Bc(Xm(e).offsetNanoseconds),offsetNanoseconds:e=>Xm(e).offsetNanoseconds,timeZoneId:e=>oc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=hg(t,n),[o,a]=dc(r),i=qi(Vi(Kc(n,o),Kc(n,a)),vf,1);if(i<=0)throw new RangeError(Zl);return i}(_m,e)},{getISOFields:e=>function(e,t){const n=hg(t,e);return{calendar:t.calendar,...si(ld,n),offset:Bc(n.offsetNanoseconds),timeZone:t.timeZone}}(Lm,e),getCalendar:Dm,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new Py(t):t},with(e,t,n){return TS(function(e,t,n,r,o,a){const i=xs(a),{calendar:s,timeZone:c}=n;return Gs(((e,t,n,r,o)=>{const a=Gh(e,n,r,Pf,Of,Tf),[i,s,c]=Hs(o,2);return zc(t,{...e.dateFromFields(a,$s(o,i)),...Jh(a,i)},Cu(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(fS,_m,e,this,Tm(t),n))},withCalendar:(e,t)=>TS(sl(e,Gm(t))),withTimeZone:(e,t)=>TS(function(e,t){return{...e,timeZone:t}}(e,Pm(t))),withPlainDate:(e,t)=>TS(function(e,t,n){const r=t.timeZone,o=e(r),a={...hg(t,o),...n},i=cl(t.calendar,n.calendar);return Gs(zc(o,a,a.offsetNanoseconds,2),r,i)}(_m,e,Zm(t))),withPlainTime:(e,t)=>TS(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:fd;const r=t.timeZone,o=e(r),a={...hg(t,o),...n};return Gs(zc(o,a,a.offsetNanoseconds,2),r,t.calendar)}(_m,e,Bm(t))),add:(e,t,n)=>TS(qc(gS,_m,0,e,Vm(t),n)),subtract:(e,t,n)=>TS(qc(gS,_m,1,e,Vm(t),n)),until:(e,t,n)=>wS(tc(nh(mS,_m,0,e,Wm(t),n))),since:(e,t,n)=>wS(tc(nh(mS,_m,1,e,Wm(t),n))),round:(e,t)=>TS(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=_s(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=hg(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=Kc(t,a),u=Kc(t,i);if(Ki(s,c,u))throw new RangeError(Zl);return vc(sc(s,c,u),r)?u:c})(dc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=zc(u,cc(gs(r,e),i,s,c),e,2,0,1)}return Gs(r,o,a)}(_m,e,t)),startOfDay:e=>TS(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>Kc(t,e(hg(n,t))))(gc,e(n),t);return Gs(o,n,r)}(_m,e)),equals:(e,t)=>function(e,t){return!Wu(e,t)&&!!eh(e.timeZone,t.timeZone)&&ac(e.calendar,t.calendar)}(e,Wm(t)),toInstant:e=>Ry(function(e){return Js(e.epochNanoseconds)}(e)),toPlainDateTime:e=>zy(ol(Lm,e)),toPlainDate:e=>Jy(al(Lm,e)),toPlainTime:e=>Uy(il(Lm,e)),toPlainYearMonth(e){return xy(function(e,t,n){return qh(e(t.calendar),n)}(cS,e,this))},toPlainMonthDay(e){return Hy(function(e,t,n){return Wh(e(t.calendar),n)}(hS,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=ay(t,n,e);return r.format(o)},toString:(e,t)=>Tc(Lm,e,t),toJSON:e=>Tc(Lm,e),valueOf:Cm},{from:(e,t)=>TS(Wm(e,t)),compare:(e,t)=>Wu(Wm(e),Wm(t))}),ES=Object.defineProperties({},{...ni("Temporal.Now"),...ei({timeZoneId:()=>yl(),instant:()=>Ry(Js(ml())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yl();return TS(Gs(ml(),Pm(t),Gm(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yl();return TS(Gs(ml(),Pm(e),Uf))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yl();return zy(Ws(gl(Lm(Pm(t))),Gm(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yl();return zy(Ws(gl(Lm(Pm(e))),Uf))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yl();return Jy(qs(gl(Lm(Pm(t))),Gm(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yl();return Jy(qs(gl(Lm(Pm(e))),Uf))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yl();return Uy(ec(gl(Lm(Pm(e)))))}})}),OS=Object.defineProperties({},{...ni("Temporal"),...ei({PlainYearMonth:Zy,PlainMonthDay:Dy,PlainDate:Ky,PlainTime:Fy,PlainDateTime:Vy,ZonedDateTime:MS,Instant:Ly,Calendar:bS,TimeZone:Py,Duration:pS,Now:ES})}),CS=Qm(),DS=new WeakMap;function HS(e){return e*Math.PI/180}function NS(e){return 180*e/Math.PI}Object.create(Intl),ei({DateTimeFormat:CS});class kS{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){this.timeZoneId=e}}const _S=6356.9;class LS{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(LS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(LS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(LS.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(LS.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(LS.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(LS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(LS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(LS.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(LS.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(LS.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return NS(Math.acos(_S/(_S+e/1e3)))}adjustZenith(e,t){let n=e;return e===LS.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=LS.getSunriseUTC(LS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=LS.getSunsetUTC(LS.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getTemporalHour(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();const n=this.getTemporalHour(e,t);return LS.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const a=Math.trunc(n*=60);n-=a;const i=Math.trunc(n*=60);n-=i;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new OS.PlainTime(o,a,i,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),a=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+a-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-LS.JULIAN_DAY_JAN_1_2000)/LS.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*LS.JULIAN_DAYS_PER_CENTURY+LS.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=HS(LS.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return LS.getSunGeometricMeanLongitude(e)+LS.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return LS.getSunTrueLongitude(e)-.00569-.00478*Math.sin(HS(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return LS.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(HS(t))}static getSunDeclination(e){const t=LS.getObliquityCorrection(e),n=LS.getSunApparentLongitude(e),r=Math.sin(HS(t))*Math.sin(HS(n));return NS(Math.asin(r))}static getEquationOfTime(e){const t=LS.getObliquityCorrection(e),n=LS.getSunGeometricMeanLongitude(e),r=LS.getEarthOrbitEccentricity(e),o=LS.getSunGeometricMeanAnomaly(e);let a=Math.tan(HS(t)/2);a*=a;const i=Math.sin(2*HS(n)),s=Math.sin(HS(o));return 4*NS(a*i-2*r*s+4*r*a*s*Math.cos(2*HS(n))-.5*a*a*Math.sin(4*HS(n))-1.25*r*r*Math.sin(2*HS(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=HS(e),o=HS(t);return Math.acos(Math.cos(HS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=HS(e),o=HS(t);return-Math.acos(Math.cos(HS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=LS.getJulianDay(e.toPlainDate()),o=LS.getJulianCenturiesFromJulianDay(r),a=LS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=HS(n-i),c=HS(LS.getSunDeclination(o)),u=HS(t);return NS(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=LS.getJulianDay(e.toPlainDate()),o=LS.getJulianCenturiesFromJulianDay(r),a=LS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=HS(n-i),c=HS(LS.getSunDeclination(o)),u=HS(t);return NS(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(u)-Math.tan(c)*Math.cos(u))))+180}static getSunriseUTC(e,t,n,r){const o=LS.getJulianCenturiesFromJulianDay(e),a=LS.getSolarNoonUTC(o,n),i=LS.getJulianCenturiesFromJulianDay(e+a/1440);let s=LS.getEquationOfTime(i),c=LS.getSunDeclination(i),u=LS.getSunHourAngleAtSunrise(t,c,r),h=n-NS(u),l=4*h,f=720+l-s;const d=LS.getJulianCenturiesFromJulianDay(LS.getJulianDayFromJulianCenturies(o)+f/1440);return s=LS.getEquationOfTime(d),c=LS.getSunDeclination(d),u=LS.getSunHourAngleAtSunrise(t,c,r),h=n-NS(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=LS.getJulianCenturiesFromJulianDay(LS.getJulianDayFromJulianCenturies(e)+t/360);let r=LS.getEquationOfTime(n);const o=720+4*t-r,a=LS.getJulianCenturiesFromJulianDay(LS.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=LS.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=LS.getJulianCenturiesFromJulianDay(e),a=LS.getSolarNoonUTC(o,n),i=LS.getJulianCenturiesFromJulianDay(e+a/1440);let s=LS.getEquationOfTime(i),c=LS.getSunDeclination(i),u=LS.getSunHourAngleAtSunset(t,c,r),h=n-NS(u),l=4*h,f=720+l-s;const d=LS.getJulianCenturiesFromJulianDay(LS.getJulianDayFromJulianCenturies(o)+f/1440);return s=LS.getEquationOfTime(d),c=LS.getSunDeclination(d),u=LS.getSunHourAngleAtSunset(t,c,r),h=n-NS(u),l=4*h,f=720+l-s,f}}LS.GEOMETRIC_ZENITH=90,LS.CIVIL_ZENITH=96,LS.NAUTICAL_ZENITH=102,LS.ASTRONOMICAL_ZENITH=108,LS.JULIAN_DAY_JAN_1_2000=2451545,LS.JULIAN_DAYS_PER_CENTURY=36525;const RS=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],YS=new Map,PS={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},jS=new Map;class BS extends kS{constructor(e,t,n,r,o,a,i,s){const c="number"==typeof e?e:parseFloat(e);if(isNaN(c)||c<-90||c>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const u="number"==typeof t?t:parseFloat(t);if(isNaN(u)||u<-180||u>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);super(o,c,u,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=a,this.geoid=i}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=jS.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return jS.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return YS.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"==t){if(0==e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2==e&&"israel"==t)return"Asia/Jerusalem";if("eu"==t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"==t)return PS[String(-1*e)]}static getUsaTzid(e,t,n){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==n?"America/Denver":"America/Phoenix":PS[t]}static addLocation(e,t){const n=e.toLowerCase();return!YS.has(n)&&(YS.set(n,t),!0)}}for(const e of RS){const t=new BS(e[2],e[3],"IL"==e[1],e[4],e[0],e[1],void 0,e[5]);BS.addLocation(t.getName(),t)}const FS=new Map;const US=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ZS(e,t){const n=function(e){const t=FS.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:e});return FS.set(e,n),n}(e).format(t),r=US.exec(n);let o=r[4];return"24"==o&&(o="00"),r[3]=xS(r[3]),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function xS(e){return e<0?"-00"+xS(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function $S(e){return e<10?"0"+e:String(e)}function VS(e){return xS(e.getFullYear())+"-"+$S(e.getMonth()+1)+"-"+$S(e.getDate())}function zS(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,ei({Temporal:OS})),Object.defineProperties(Intl,ei({DateTimeFormat:CS})),Object.defineProperties(Date.prototype,ei({toTemporalInstant:function(){return Ry(Js(Gi(this.valueOf(),Sf)))}}));class KS{constructor(t,n,r){const o=e.greg.isDate(n)?n:we.isHDate(n)?n.greg():fe(`invalid date: ${n}`);this.date=o,this.gloc=t;const a=Temporal.PlainDate.from({year:o.getFullYear(),month:o.getMonth()+1,day:o.getDate()});this.noaa=new LS(t,a),this.useElevation=Boolean(r)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return zS(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return zS(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return zS(this.noaa.getSeaLevelSunrise())}sunset(){return zS(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return zS(this.noaa.getSeaLevelSunset())}dawn(){return zS(this.noaa.getBeginCivilTwilight())}dusk(){return zS(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new KS(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise()-this.gregEve())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return zS(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return zS(LS.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(){const e=this.sunriseOffset(-72,!1,!0);return[e,(this.sunsetOffset(72,!1,!0)-e)/12]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0);return[t,(this.timeAtAngle(e,!1)-t)/12]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72();return new Date(e.getTime()+3*t)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1);return new Date(e.getTime()+3*t)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8);return new Date(e.getTime()+3*t)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72();return new Date(e.getTime()+4*t)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1);return new Date(e.getTime()+4*t)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8);return new Date(e.getTime()+4*t)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8.5;return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=ZS("UTC",t),r=ZS(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+$S(Math.floor(r/60))+":"+$S(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?null:ZS(e,t).substring(0,19)+KS.timeZoneOffset(e,t)}sunriseOffset(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?this.seaLevelSunrise():this.sunrise();return isNaN(n.getTime())?n:(t&&(e>0&&n.getSeconds()>=30&&e++,n.setSeconds(0,0)),new Date(n.getTime()+60*e*1e3))}sunsetOffset(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?this.seaLevelSunset():this.sunset();return isNaN(n.getTime())?n:(t&&(e>0&&n.getSeconds()>=30&&e++,n.setSeconds(0,0)),new Date(n.getTime()+60*e*1e3))}}const JS={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function GS(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null==n||null===(r=n.location)||void 0===r?void 0:r.cc)||(null!=n&&n.il?"IL":"US"),a=null==n?void 0:n.hour12;if(void 0!==a&&!a)return e;if(!a&&void 0===JS[o])return e;const i=e.split(":");let s=parseInt(i[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${i[1]}${t}`}function WS(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():Ie.LIGHT_CANDLES;void 0!==e?r||(s&(Ie.LIGHT_CANDLES_TZEIS|Ie.CHANUKAH_CANDLES)?i=!0:s&Ie.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=Ie.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=new KS(u,t,n.useElevation),l=c?h.sunsetOffset(c,!0):h.tzeit(n.havdalahDeg);return isNaN(l.getTime())?null:a?new XS(t,s,l,u,n.havdalahMins,e,n):new QS(t,s,l,u,e,n)}class qS extends Te{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=KS.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=KS.formatTime(this.eventTime,s);const c=Object.assign({location:o},i);this.fmtTime=GS(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return le.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return le.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}}}class XS extends qS{constructor(e,t,n,r,o,a,i){super(e,"Havdalah",t,n,r,a,i),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=le.gettext(this.getDesc(),e);if(this.havdalahMins){const n=le.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}class QS extends qS{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}function ep(e,t,n,r,o){if(isNaN(t.getTime()))return null;const a=o.location;return new qS(e,n,r.getFlags(),t,a,r,o)}const tp=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],np=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],rp="בַּלַּ֥יְלָה";class op{constructor(e,t){let n=t-7;n<0&&(n+=we.monthsInYear(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),a=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,i=(o%1080+a%24*1080)%1080,s=(1+29*r+Math.floor(a/24))%7;this.year=e,this.month=t,this.dow=s,this.hour=a%24,this.minutes=Math.floor(i/18),this.chalakim=i%18}getYear(){return this.year}getMonth(){return this.month}getMonthName(){return we.getMonthName(this.month,this.year)}getDow(){return this.dow}getHour(){return this.hour}getMinutes(){return this.minutes}getChalakim(){return this.chalakim}render(e,t){"string"==typeof(e=e||le.getLocaleName())&&(e=e.toLowerCase());const n="he"===e||"he-x-nonikud"===e||"h"===e,r=le.gettext(this.getMonthName(),e),o=(n?np:tp)[this.getDow()],a=this.getMinutes(),i=this.getHour(),s=this.getChalakim(),c=le.gettext("Molad",e),u=le.lookupTranslation("min",e)||"minutes",h=le.gettext("chalakim",e);if(n){const t=`${c} ${r} יִהְיֶה בַּיּוֹם ${o} בשָׁבוּעַ, בְּשָׁעָה ${i} ${i<5?rp:i<12?"בַּבֹּקֶר":i<17?"בַּצׇּהֳרַיִים":i<21?"בָּעֶרֶב":rp}, ו-${a} ${u} ו-${s} ${h}`;return"he-x-nonikud"===e?le.hebrewStripNikkud(t):t}const l=GS(`${i}:00`,"pm",t);return`${c} ${r.replace(/'/g,"’")}: ${o}, ${a} ${u} and ${s} ${h} after ${l}`}}class ap extends Te{constructor(e,t,n,r){const o=new op(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,Ie.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class ip extends Te{constructor(e,t){if(super(e,`Omer ${t}`,Ie.OMER_COUNT),t<1||t>49)throw new RangeError(`Invalid Omer day ${t}`);this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return"he"!==e&&"translit"!==e&&(e="en"),function(e,t){J(e);const[n,r]=G(e),o=K[t],a=o.words[n];return(o.words[r]+" "+(2===n||6===n?o.infix26:o.infix)+a).normalize()}(this.omer,e)}render(e){"string"==typeof(e=e||le.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?V(n):le.ordinal(n,e))+" "+le.gettext("day of the Omer",e)}renderBrief(e){return le.gettext("Omer",e)+" "+le.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:(J(e=this.omer),e<=20?String.fromCodePoint(9312+e-1):e<=35?String.fromCodePoint(12881+e-21):String.fromCodePoint(12977+e-36));var e}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){if("string"==typeof(e=e||le.getLocaleName())&&(e=e.toLowerCase()),"he"===e)return W(this.omer,"he");if("he-x-nonikud"===e){const e=W(this.omer,"he");return le.hebrewStripNikkud(e)}return W(this.omer,"en")}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class sp extends Map{#e=0;#t=new Map;#n=new Map;#r;#o;#a;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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.#r=e.maxSize,this.#o=e.maxAge||Number.POSITIVE_INFINITY,this.#a=e.onEviction}get __oldCache(){return this.#n}#i(e){if("function"==typeof this.#a)for(const[t,n]of e)this.#a(t,n.value)}#s(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.#a&&this.#a(e,t.value),this.delete(e))}#c(e,t){if(!1===this.#s(e,t))return t.value}#u(e,t){return t.expiry?this.#c(e,t):t.value}#h(e,t){const n=t.get(e);return this.#u(e,n)}#l(e,t){this.#t.set(e,t),this.#e++,this.#e>=this.#r&&(this.#e=0,this.#i(this.#n),this.#n=this.#t,this.#t=new Map)}#f(e,t){this.#n.delete(e),this.#l(e,t)}*#d(){for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield e)}}for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield e)}}get(e){if(this.#t.has(e)){const t=this.#t.get(e);return this.#u(e,t)}if(this.#n.has(e)){const t=this.#n.get(e);if(!1===this.#s(e,t))return this.#f(e,t),t.value}}set(e,t){let{maxAge:n=this.#o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.#t.has(e)?this.#t.set(e,{value:t,expiry:r}):this.#l(e,{value:t,expiry:r}),this}has(e){return this.#t.has(e)?!this.#s(e,this.#t.get(e)):!!this.#n.has(e)&&!this.#s(e,this.#n.get(e))}peek(e){return this.#t.has(e)?this.#h(e,this.#t):this.#n.has(e)?this.#h(e,this.#n):void 0}delete(e){const t=this.#t.delete(e);return t&&this.#e--,this.#n.delete(e)||t}clear(){this.#t.clear(),this.#n.clear(),this.#e=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this.#d()],n=t.length-e;n<0?(this.#t=new Map(t),this.#n=new Map,this.#e=t.length):(n>0&&this.#i(t.slice(0,n)),this.#n=new Map(t.slice(n)),this.#t=new Map,this.#e=0),this.#r=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield[t,n.value])}for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.#t];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this.#s(r,o)&&(yield[r,o.value])}e=[...this.#n];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.#t.has(r)){!1===this.#s(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this.#d())yield[e,t.value]}get size(){if(!this.#e)return this.#n.size;let e=0;for(const t of this.#n.keys())this.#t.has(t)||e++;return Math.min(this.#e+e,this.#r)}get maxSize(){return this.#r}entries(){return this.entriesAscending()}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}class cp{constructor(e,t){e=+e;const n=we.longCheshvan(e),r=we.shortKislev(e),o=this.type=n&&!r?2:!n&&r?0:1;this.year=e;const a=new we(1,m.TISHREI,e),i=a.abs(),s=this.roshHashanaDay=a.getDay()+1;this.firstSaturday=we.dayOnOrBefore(6,i+6);const c=this.leap=+we.isLeapYear(e);this.il=Boolean(t);const u=`${c}${s}${o}`;if(Tp[u])this.key=u,this.theSedraArray=Tp[u];else{const e=this.key=u+ +this.il;this.theSedraArray=Tp[e]}if(!this.theSedraArray)throw new Error(`improper sedra year type ${this.key} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,t){const n=this.get(e),r=t||le.getLocaleName();let o=le.gettext(n[0],r);if(2==n.length){o+=("he"==r?"־":"-")+le.gettext(n[1],r)}return o=o.replace(/'/g,"’"),le.gettext("Parashat",r)+" "+o}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>53||e<0&&!function(e){switch(e){case-21:case-26:case-28:case-31:case-38:case-41:case-50:return!0}return!1}(e))throw new RangeError(`Invalid parsha number: ${e}`);const t=this.theSedraArray.indexOf(e);return-1===t?null:new we(this.firstSaturday+7*t)}if("string"==typeof e){const t=hp.get(e);if("number"==typeof t)return this.find(t);if(-1!==e.indexOf("-"))return this.find(e.split("-"));{const t=this.theSedraArray.indexOf(e);return-1===t?null:new we(this.firstSaturday+7*t)}}if(Array.isArray(e)&&1===e.length&&"string"==typeof e[0])return this.find(e[0]);if(Array.isArray(e)&&2===e.length&&"string"==typeof e[0]&&"string"==typeof e[1]){const t=e[0],n=e[1],r=hp.get(t);if(hp.get(n)===r+1)return this.find(-r);throw new RangeError(`Unrecognized parsha name: ${t}-${n}`)}throw new TypeError(`Invalid parsha argument: ${e}`)}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:we.isHDate(e)?e.abs():function(e){throw new TypeError(e)}(`Bad date argument: ${e}`),n=we.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Op(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[up[o]],chag:!1,num:o+1};const a=lp(o);return{parsha:[up[a],up[a+1]],chag:!1,num:[a+1,a+2]}}}const up=["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"],hp=new Map;for(let e=0;e<up.length;e++){const t=up[e];hp.set(t,e)}function lp(e){return-e}const fp="Rosh Hashana",dp="Yom Kippur",gp="Sukkot",mp="Sukkot Shabbat Chol ha-Moed",yp="Shmini Atzeret",Sp=mp,pp="Pesach",wp="Pesach I",vp="Pesach Shabbat Chol ha-Moed",Ap="Pesach VII",bp="Pesach VIII",Ip="Shavuot";function Mp(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Tp={"020":[51,52].concat(Sp,Mp(0,20),lp(21),23,24,pp,25,lp(26),lp(28),30,lp(31),Mp(33,40),lp(41),Mp(43,49),lp(50)),"0220":[51,52].concat(Sp,Mp(0,20),lp(21),23,24,pp,25,lp(26),lp(28),30,lp(31),33,Ip,Mp(34,37),lp(38),40,lp(41),Mp(43,49),lp(50)),"0510":[52].concat(dp,Sp,Mp(0,20),lp(21),23,24,wp,bp,25,lp(26),lp(28),30,lp(31),Mp(33,40),lp(41),Mp(43,50)),"0511":[52].concat(dp,Sp,Mp(0,20),lp(21),23,24,pp,25,lp(26),lp(28),Mp(30,40),lp(41),Mp(43,50)),"052":[52].concat(dp,mp,Mp(0,24),Ap,25,lp(26),lp(28),30,lp(31),Mp(33,40),lp(41),Mp(43,50)),"070":[].concat(fp,52,gp,yp,Mp(0,20),lp(21),23,24,Ap,25,lp(26),lp(28),30,lp(31),Mp(33,40),lp(41),Mp(43,50)),"072":[].concat(fp,52,gp,yp,Mp(0,20),lp(21),23,24,vp,25,lp(26),lp(28),30,lp(31),Mp(33,40),lp(41),Mp(43,49),lp(50)),1200:[51,52].concat(mp,Mp(0,27),vp,Mp(28,33),Ip,Mp(34,37),lp(38),40,lp(41),Mp(43,49),lp(50)),1201:[51,52].concat(mp,Mp(0,27),vp,Mp(28,40),lp(41),Mp(43,49),lp(50)),1220:[51,52].concat(mp,Mp(0,27),wp,bp,Mp(28,40),lp(41),Mp(43,50)),1221:[51,52].concat(mp,Mp(0,27),pp,Mp(28,50)),150:[52].concat(dp,mp,Mp(0,28),Ap,Mp(29,50)),152:[52].concat(dp,mp,Mp(0,28),vp,Mp(29,49),lp(50)),170:[].concat(fp,52,gp,yp,Mp(0,27),vp,Mp(28,40),lp(41),Mp(43,49),lp(50)),1720:[].concat(fp,52,gp,yp,Mp(0,27),vp,Mp(28,33),Ip,Mp(34,37),lp(38),40,lp(41),Mp(43,49),lp(50))};Tp["0221"]=Tp["020"],Tp["0310"]=Tp["0220"],Tp["0311"]=Tp["020"],Tp[1310]=Tp[1220],Tp[1311]=Tp[1221],Tp[1721]=Tp[170];const Ep=new sp({maxSize:400});function Op(e,t){const n=`${e}-${t?1:0}`;let r=Ep.get(n);return r||(r=new cp(e,t),Ep.set(n,r)),r}class Cp extends Te{constructor(e,t,n,r){if(!Array.isArray(t)||0===t.length||t.length>2)throw new TypeError("Bad parsha argument");super(e,"Parashat "+t.join("-"),Ie.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=e||le.getLocaleName(),n=this.parsha;let r=le.gettext(n[0],e);if(2==n.length){r+=("he"==t?"־":"-")+le.gettext(n[1],e)}r=r.replace(/'/g,"’");return(le.gettext("Parashat",e)+" "+r).normalize()}basename(){return this.parsha.join("-")}url(){if(this.getDate().greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}urlDateSuffix(){return VS(this.getDate().greg()).replace(/-/g,"")}}var Dp=ho,Hp=zn,Np=qn,kp=ke,_p=function(e,t,n){return n.get&&Dp(n.get,t,{getter:!0}),n.set&&Dp(n.set,t,{setter:!0}),Hp.f(e,t,n)},Lp=function(){var e=Np(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Rp=Ne,Yp=De.RegExp,Pp=Yp.prototype,jp=kp&&Rp((function(){var e=!0;try{Yp(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(a.hasIndices="d"),a)o(i,a[i]);return Object.getOwnPropertyDescriptor(Pp,"flags").get.call(t)!==r||n!==r}));jp&&_p(Pp,"flags",{configurable:!0,get:Lp});const Bp=0,Fp=2,Up=5,Zp=6,xp=m.NISAN,$p=m.IYYAR;function Vp(e){if(e<5708)return null;let t;const n=new we(15,xp,e).getDay();return t=n===Bp?2:n===Zp?3:e<5764?4:n===Fp?5:4,new we(t,$p,e)}const zp=m.NISAN,Kp=m.IYYAR,Jp=m.SIVAN,Gp=m.TAMUZ,Wp=m.AV,qp=m.ELUL,Xp=m.TISHREI,Qp=m.CHESHVAN,ew=m.KISLEV,tw=m.SHVAT,nw=m.ADAR_II,rw=Ie.CHAG,ow=Ie.LIGHT_CANDLES,aw=Ie.YOM_TOV_ENDS,iw=Ie.CHUL_ONLY,sw=Ie.IL_ONLY,cw=Ie.LIGHT_CANDLES_TZEIS,uw=Ie.CHANUKAH_CANDLES,hw=Ie.MAJOR_FAST,lw=Ie.MINOR_HOLIDAY,fw=Ie.EREV,dw=Ie.CHOL_HAMOED,gw="🫓",mw="🌿🍋",yw="Rosh Hashana II",Sw="Erev Yom Kippur",pw="Yom Kippur",ww="Erev Sukkot",vw="Sukkot I",Aw="Sukkot II",bw="Sukkot III (CH''M)",Iw="Sukkot IV (CH''M)",Mw="Sukkot V (CH''M)",Tw="Sukkot VI (CH''M)",Ew="Shmini Atzeret",Ow="Simchat Torah",Cw="Sukkot II (CH''M)",Dw="Sukkot VII (Hoshana Raba)",Hw="Chanukah: 1 Candle",Nw="Tu BiShvat",kw="Erev Purim",_w="Purim",Lw="Shushan Purim",Rw="Erev Pesach",Yw="Pesach I",Pw="Pesach II",jw="Pesach II (CH''M)",Bw="Pesach III (CH''M)",Fw="Pesach IV (CH''M)",Uw="Pesach V (CH''M)",Zw="Pesach VI (CH''M)",xw="Pesach VII",$w="Pesach VIII",Vw="Pesach Sheni",zw="Lag BaOmer",Kw="Erev Shavuot",Jw="Shavuot",Gw="Shavuot I",Ww="Shavuot II",qw="Tu B'Av",Xw="Rosh Hashana LaBehemot",Qw="Erev Rosh Hashana",ev="Yom Yerushalayim",tv="Ben-Gurion Day",nv="Family Day",rv="Yitzhak Rabin Memorial Day",ov="Herzl Day",av="Jabotinsky Day",iv="Sigd",sv="Yom HaAliyah",cv="Yom HaAliyah School Observance",uv="Hebrew Language Day",hv={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:tv,CHANUKAH_1_CANDLE:Hw,EREV_PESACH:Rw,EREV_PURIM:kw,EREV_ROSH_HASHANA:Qw,EREV_SHAVUOT:Kw,EREV_SUKKOT:ww,EREV_YOM_KIPPUR:Sw,FAMILY_DAY:nv,HEBREW_LANGUAGE_DAY:uv,HERZL_DAY:ov,JABOTINSKY_DAY:av,LAG_BAOMER:zw,PESACH_I:Yw,PESACH_II:Pw,PESACH_III_CHM:Bw,PESACH_II_CHM:jw,PESACH_IV_CHM:Fw,PESACH_SHENI:Vw,PESACH_VII:xw,PESACH_VIII:$w,PESACH_VI_CHM:Zw,PESACH_V_CHM:Uw,PURIM:_w,ROSH_HASHANA_II:yw,ROSH_HASHANA_LABEHEMOT:Xw,SHAVUOT:Jw,SHAVUOT_I:Gw,SHAVUOT_II:Ww,SHMINI_ATZERET:Ew,SHUSHAN_PURIM:Lw,SIGD:iv,SIMCHAT_TORAH:Ow,SUKKOT_I:vw,SUKKOT_II:Aw,SUKKOT_III_CHM:bw,SUKKOT_II_CHM:Cw,SUKKOT_IV_CHM:Iw,SUKKOT_VII_HOSHANA_RABA:Dw,SUKKOT_VI_CHM:Tw,SUKKOT_V_CHM:Mw,TU_BAV:qw,TU_BISHVAT:Nw,YITZHAK_RABIN_MEMORIAL_DAY:rv,YOM_HAALIYAH:sv,YOM_HAALIYAH_SCHOOL_OBSERVANCE:cv,YOM_KIPPUR:pw,YOM_YERUSHALAYIM:ev},lv=[{mm:Xp,dd:2,desc:yw,flags:rw|aw,emoji:"🍏🍯"},{mm:Xp,dd:9,desc:Sw,flags:fw|ow},{mm:Xp,dd:10,desc:pw,flags:rw|hw|aw},{mm:Xp,dd:14,desc:ww,flags:iw|fw|ow,emoji:mw},{mm:Xp,dd:15,desc:vw,flags:iw|rw|cw,emoji:mw},{mm:Xp,dd:16,desc:Aw,flags:iw|rw|aw,emoji:mw},{mm:Xp,dd:17,desc:bw,flags:iw|dw,chmDay:1,emoji:mw},{mm:Xp,dd:18,desc:Iw,flags:iw|dw,chmDay:2,emoji:mw},{mm:Xp,dd:19,desc:Mw,flags:iw|dw,chmDay:3,emoji:mw},{mm:Xp,dd:20,desc:Tw,flags:iw|dw,chmDay:4,emoji:mw},{mm:Xp,dd:22,desc:Ew,flags:iw|rw|cw},{mm:Xp,dd:23,desc:Ow,flags:iw|rw|aw},{mm:Xp,dd:14,desc:ww,flags:sw|fw|ow,emoji:mw},{mm:Xp,dd:15,desc:vw,flags:sw|rw|aw,emoji:mw},{mm:Xp,dd:16,desc:Cw,flags:sw|dw,chmDay:1,emoji:mw},{mm:Xp,dd:17,desc:bw,flags:sw|dw,chmDay:2,emoji:mw},{mm:Xp,dd:18,desc:Iw,flags:sw|dw,chmDay:3,emoji:mw},{mm:Xp,dd:19,desc:Mw,flags:sw|dw,chmDay:4,emoji:mw},{mm:Xp,dd:20,desc:Tw,flags:sw|dw,chmDay:5,emoji:mw},{mm:Xp,dd:22,desc:Ew,flags:sw|rw|aw},{mm:Xp,dd:21,desc:Dw,flags:ow|dw,chmDay:-1,emoji:mw},{mm:ew,dd:24,desc:Hw,flags:fw|lw|uw,emoji:"🕎1️⃣"},{mm:tw,dd:15,desc:Nw,flags:lw,emoji:"🌳"},{mm:nw,dd:13,desc:kw,flags:fw|lw,emoji:"🎭️📜"},{mm:nw,dd:14,desc:_w,flags:lw,emoji:"🎭️📜"},{mm:nw,dd:15,desc:Lw,flags:lw,emoji:"🎭️📜"},{mm:zp,dd:14,desc:Rw,flags:sw|fw|ow,emoji:"🫓🍷"},{mm:zp,dd:15,desc:Yw,flags:sw|rw|aw,emoji:gw},{mm:zp,dd:16,desc:jw,flags:sw|dw,chmDay:1,emoji:gw},{mm:zp,dd:17,desc:Bw,flags:sw|dw,chmDay:2,emoji:gw},{mm:zp,dd:18,desc:Fw,flags:sw|dw,chmDay:3,emoji:gw},{mm:zp,dd:19,desc:Uw,flags:sw|dw,chmDay:4,emoji:gw},{mm:zp,dd:20,desc:Zw,flags:sw|dw|ow,chmDay:5,emoji:gw},{mm:zp,dd:21,desc:xw,flags:sw|rw|aw,emoji:gw},{mm:zp,dd:14,desc:Rw,flags:iw|fw|ow,emoji:"🫓🍷"},{mm:zp,dd:15,desc:Yw,flags:iw|rw|cw,emoji:"🫓🍷"},{mm:zp,dd:16,desc:Pw,flags:iw|rw|aw,emoji:gw},{mm:zp,dd:17,desc:Bw,flags:iw|dw,chmDay:1,emoji:gw},{mm:zp,dd:18,desc:Fw,flags:iw|dw,chmDay:2,emoji:gw},{mm:zp,dd:19,desc:Uw,flags:iw|dw,chmDay:3,emoji:gw},{mm:zp,dd:20,desc:Zw,flags:iw|dw|ow,chmDay:4,emoji:gw},{mm:zp,dd:21,desc:xw,flags:iw|rw|cw,emoji:gw},{mm:zp,dd:22,desc:$w,flags:iw|rw|aw,emoji:gw},{mm:Kp,dd:14,desc:Vw,flags:lw},{mm:Kp,dd:18,desc:zw,flags:lw,emoji:"🔥"},{mm:Jp,dd:5,desc:Kw,flags:fw|ow,emoji:"⛰️🌸"},{mm:Jp,dd:6,desc:Jw,flags:sw|rw|aw,emoji:"⛰️🌸"},{mm:Jp,dd:6,desc:Gw,flags:iw|rw|cw,emoji:"⛰️🌸"},{mm:Jp,dd:7,desc:Ww,flags:iw|rw|aw,emoji:"⛰️🌸"},{mm:Wp,dd:15,desc:qw,flags:lw,emoji:"❤️"},{mm:qp,dd:1,desc:Xw,flags:lw,emoji:"🐑"},{mm:qp,dd:29,desc:Qw,flags:fw|ow,emoji:"🍏🍯"}],fv=[{firstYear:5727,mm:Kp,dd:28,desc:ev,chul:!0},{firstYear:5737,mm:ew,dd:6,desc:tv,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:tw,dd:30,desc:nv},{firstYear:5758,mm:Qp,dd:12,desc:rv,friSatMovetoThu:!0},{firstYear:5764,mm:Kp,dd:10,desc:ov,satPostponeToSun:!0},{firstYear:5765,mm:Gp,dd:29,desc:av,satPostponeToSun:!0},{firstYear:5769,mm:Qp,dd:29,desc:iv,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:zp,dd:10,desc:sv,chul:!0},{firstYear:5777,mm:Qp,dd:7,desc:cv},{firstYear:5773,mm:m.TEVET,dd:21,desc:uv,friSatMovetoThu:!0}],dv=Ie.CHAG,gv=Ie.IL_ONLY,mv=Ie.LIGHT_CANDLES_TZEIS,yv=Ie.CHANUKAH_CANDLES,Sv=Ie.MINOR_FAST,pv=Ie.SPECIAL_SHABBAT,wv=Ie.MODERN_HOLIDAY,vv=Ie.MAJOR_FAST,Av=Ie.MINOR_HOLIDAY,bv=Ie.EREV;class Iv extends Te{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()&gv?e+"?i=on":e}urlDateSuffix(){return this.getDate().greg().getFullYear()}getEmoji(){return this.emoji?this.emoji:this.getFlags()&pv?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;const t=this.getDesc(),{LAG_BAOMER:n,LEIL_SELICHOT:r,PESACH_SHENI:o,EREV_PURIM:a,PURIM_KATAN:i,SHUSHAN_PURIM:s,TU_BAV:c,TU_BISHVAT:u,ROSH_HASHANA_LABEHEMOT:h}=hv;return[n,r,o,a,i,s,c,u,h].includes(t)?["holiday","minor"]:["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}}const Mv="Rosh Chodesh";class Tv extends Iv{constructor(e,t){super(e,`${Mv} ${t}`,Ie.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=le.gettext(t,e).replace(/'/g,"’");return le.gettext(Mv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}class Ev extends Iv{urlDateSuffix(){return VS(this.getDate().greg()).replace(/-/g,"")}}const Ov="Shabbat Mevarchim Chodesh";class Cv extends Te{constructor(e,t,n){if(super(e,`${Ov} ${t}`,Ie.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n==we.monthsInYear(t)?kv:n+1,o=new op(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=le.gettext(this.monthName,e).replace(/'/g,"’");return le.gettext(Ov,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}class Dv extends Iv{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return le.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const Hv="Yom Kippur Katan";class Nv extends Iv{constructor(e,t){super(e,`${Hv} ${t}`,Sv|Ie.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=le.gettext(this.nextMonthName,e).replace(/'/g,"’");return le.gettext(Hv,e)+" "+t}renderBrief(e){return le.gettext(Hv,e)}url(){}}const kv=m.NISAN,_v=m.TAMUZ,Lv=m.AV,Rv=m.TISHREI,Yv=m.KISLEV,Pv=m.TEVET,jv=m.ADAR_I,Bv=m.ADAR_II,Fv={emoji:"🇮🇱"},Uv=new sp({maxSize:400}),Zv=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function xv(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 t=Uv.get(e);if(t)return t;const n=new we(1,Rv,e),r=new we(15,kv,e),o=new Map;function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(const e of t){const t=e.date.toString(),n=o.get(t);"object"==typeof n?n[0].getFlags()&bv?n.unshift(e):n.push(e):o.set(t,[e])}}for(const t of lv){const n=new we(t.dd,t.mm,e),r=new Iv(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new Dv(n,e,dv|mv)),a(new Iv(new we(3+(4==n.getDay()),Rv,e),hv.TZOM_GEDALIAH,Sv)),a(new Iv(new we(we.dayOnOrBefore(6,7+n.abs())),hv.SHABBAT_SHUVA,pv));const i=we.shortKislev(e)?new we(1,Pv,e):new we(30,Yv,e);a(new Iv(i,hv.CHAG_HABANOT,Av));for(let t=2;t<=8;t++){const n=new we(23+t,Yv,e);a(new Iv(n,`Chanukah: ${t} Candles`,Av|yv,{chanukahDay:t-1,emoji:"🕎"+Zv[t]}))}a(new Iv(new we(32,Yv,e),hv.CHANUKAH_8TH_DAY,Av,{chanukahDay:8,emoji:"🕎"})),a(new Ev(new we(10,Pv,e),hv.ASARA_BTEVET,Sv));const s=r.abs();a(new Iv(new we(we.dayOnOrBefore(6,s-43)),hv.SHABBAT_SHEKALIM,pv),new Iv(new we(we.dayOnOrBefore(6,s-30)),hv.SHABBAT_ZACHOR,pv),new Iv(new we(s-(2==r.getDay()?33:31)),hv.TAANIT_ESTHER,Sv));const c=we.dayOnOrBefore(6,s-14);a(new Iv(new we(c-7),hv.SHABBAT_PARAH,pv),new Iv(new we(c),hv.SHABBAT_HACHODESH,pv),new Iv(new we(we.dayOnOrBefore(6,s-1)),hv.SHABBAT_HAGADOL,pv),new Iv(6==r.prev().getDay()?r.onOrBefore(4):new we(14,kv,e),hv.TAANIT_BECHOROT,Sv)),a(new Iv(new we(we.dayOnOrBefore(6,new we(1,Rv,e+1).abs()-4)),hv.LEIL_SELICHOT,Av,{emoji:"🕍"})),0==r.getDay()&&a(new Iv(new we(16,Bv,e),hv.PURIM_MESHULASH,Av)),we.isLeapYear(e)&&(a(new Iv(new we(14,jv,e),hv.PURIM_KATAN,Av,{emoji:"🎭️"})),a(new Iv(new we(15,jv,e),hv.SHUSHAN_PURIM_KATAN,Av,{emoji:"🎭️"})));const u=function(e){if(e<5711)return null;let t=new we(27,xp,e);return t.getDay()===Up?t=new we(26,xp,e):t.getDay()===Bp&&(t=new we(28,xp,e)),t}(e);u&&a(new Iv(u,hv.YOM_HASHOAH,wv));const h=Vp(e);h&&a(new Iv(h,hv.YOM_HAZIKARON,wv,Fv),new Iv(h.next(),hv.YOM_HAATZMA_UT,wv,Fv));for(const t of fv)if(e>=t.firstYear){let n=new we(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new we(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?wv:wv|gv,i=new Iv(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let l,f=new we(17,_v,e);6==f.getDay()&&(f=new we(18,_v,e),l={observed:!0}),a(new Iv(f,hv.TZOM_TAMMUZ,Sv,l));let d,g=new we(9,Lv,e),y=hv.TISHA_BAV;6==g.getDay()&&(g=g.next(),d={observed:!0},y+=" (observed)");const S=g.abs();a(new Iv(new we(we.dayOnOrBefore(6,S)),hv.SHABBAT_CHAZON,pv),new Iv(g.prev(),hv.EREV_TISHA_BAV,bv|vv,d),new Iv(g,y,vv,d),new Iv(new we(we.dayOnOrBefore(6,S+7)),hv.SHABBAT_NACHAMU,pv));const p=we.monthsInYear(e);for(let t=1;t<=p;t++){const n=we.getMonthName(t,e);30==(t==kv?we.daysInMonth(we.monthsInYear(e-1),e-1):we.daysInMonth(t-1,e))?(a(new Tv(new we(1,t,e),n)),a(new Tv(new we(30,t-1,e),n))):t!==Rv&&a(new Tv(new we(1,t,e),n))}for(let t=m.IYYAR;t<=p;t++){const n=t+1;if(n===Rv||n===m.CHESHVAN||n===Pv)continue;let r=new we(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=we.getMonthName(n,e);a(new Nv(r,i))}const w=Op(e,!1).find(15);a(new Iv(w,hv.SHABBAT_SHIRAH,pv));const v=function(e){const t=we.isLeapYear(e),n=t?Bv:kv,r=t?20:1,o=we.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(v){const e=new we(v);a(new Iv(e,hv.BIRKAT_HACHAMAH,Av,{emoji:"☀️"}))}return Uv.set(e,o),o}const $v=new Map;class Vv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);$v.set(e,t)}static lookup(e,t){const n=$v.get(e);return"function"==typeof n?n(t):null}}const zv="5.3.12";var Kv={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"],Tevet:["Teves"],"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"]}}};le.addLocale("ashkenazi",Kv),le.addLocale("a",Kv);var Jv={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":["רֹאשׁ חוֹדֶשׁ"],Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבָּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבָּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבָּת הַגָּדוֹל"],"Shabbat Machar Chodesh":["שַׁבָּת מָחָר חוֹדֶשׁ"],"Shabbat Nachamu":["שַׁבָּת נַחֲמוּ"],"Shabbat Parah":["שַׁבָּת פּרה"],"Shabbat Rosh Chodesh":["שַׁבָּת רֹאשׁ חוֹדֶשׁ"],"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":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Pesach I (on Shabbat)":["פֶּסַח יוֹם א׳ (בְּשַׁבָּת)"],"Pesach Chol ha-Moed Day 1":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם א׳"],"Pesach Chol ha-Moed Day 2":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳"],"Pesach Chol ha-Moed Day 3":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳"],"Pesach Chol ha-Moed Day 4":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ד׳"],"Pesach Chol ha-Moed Day 5":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ה׳"],"Pesach Shabbat Chol ha-Moed":["פֶּסַח שַׁבָּת חוֹל הַמּוֹעֵד"],"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)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"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:["יוֹם"],"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 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":["דִברֵי הַיָמִים שֵׁנִי"],"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)":["צוֹם תָּמוּז מִנחָה"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"],"Pirkei Avot":["פִּרְקֵי אָבוֹת"]}}};le.addLocale("he",Jv),le.addLocale("h",Jv);const Gv=Jv.contexts[""],Wv={};for(const[e,t]of Object.entries(Gv))Wv[e]=[le.hebrewStripNikkud(t[0])];const qv={headers:Jv.headers,contexts:{"":Wv}};function Xv(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}le.addLocale("he-x-NoNikud",qv);const Qv={shacharit:!1,mincha:!1,allCongs:!1};function eA(e,t){return tA(e,t,!0)}function tA(e,t,n){const r=function(e,t){const n=we.isLeapYear(e),r=12+n;let o=new we(9,m.AV,e);6===o.getDay()&&(o=o.next());let a=new we(15,m.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[].concat(Xv(1,r).map((t=>new we(1,t,e))),Xv(1,r).filter((t=>30===we.daysInMonth(t,e))).map((t=>new we(30,t,e))),new we(2,m.TISHREI,e),Xv(1,we.daysInMonth(m.NISAN,e)).map((t=>new we(t,m.NISAN,e))),new we(18,m.IYYAR,e),Xv(1,8-(t?1:0)).map((t=>new we(t,m.SIVAN,e))),o,new we(15,m.AV,e),new we(29,m.ELUL,e),Xv(9,24-(t?1:0)).map((t=>new we(t,m.TISHREI,e))),Xv(25,33).map((t=>new we(t,m.KISLEV,e))),new we(15,m.SHVAT,e),new we(14,m.ADAR_II,e),a,n?new we(14,m.ADAR_I,e):[]),s=[].concat(Xv(1,13).map((t=>new we(t,m.SIVAN,e))),Xv(20,31).map((t=>new we(t,m.TISHREI,e))),new we(14,m.IYYAR,e),e>=5708?Vp(e).next():[],e>=5727?new we(28,m.IYYAR,e):[]),c=[].concat(new we(29,m.ELUL,e-1),new we(9,m.TISHREI,e),new we(14,m.IYYAR,e));return{none:i.map((e=>e.abs())).sort(((e,t)=>e-t)),some:s.map((e=>e.abs())).sort(((e,t)=>e-t)),yesPrev:c.map((e=>e.abs())).sort(((e,t)=>e-t))}}(e.getFullYear(),t),o=e.abs();if(r.none.indexOf(o)>-1)return Qv;const a=e.getDay(),i={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(i.allCongs=!0),6!==a&&(i.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=tA(new we(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:Qv}const nA=m.NISAN,rA=m.SIVAN,oA=m.ELUL,aA=m.TISHREI,iA=Ie.LIGHT_CANDLES,sA=Ie.YOM_TOV_ENDS,cA=Ie.CHUL_ONLY,uA=Ie.IL_ONLY,hA=Ie.LIGHT_CANDLES_TZEIS,lA=Ie.CHANUKAH_CANDLES,fA=Ie.MINOR_FAST,dA=Ie.SPECIAL_SHABBAT,gA=Ie.MODERN_HOLIDAY,mA=Ie.MAJOR_FAST,yA=Ie.ROSH_CHODESH,SA=Ie.PARSHA_HASHAVUA,pA=Ie.DAF_YOMI,wA=Ie.MISHNA_YOMI,vA=Ie.NACH_YOMI,AA=Ie.YERUSHALMI_YOMI,bA=Ie.OMER_COUNT,IA=Ie.SHABBAT_MEVARCHIM,MA=Ie.MINOR_HOLIDAY,TA=Ie.EREV,EA=Ie.CHOL_HAMOED,OA=Ie.YOM_KIPPUR_KATAN,CA=new Set,DA={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,userMask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1};const HA={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},NA={281184:40,294801:30,293067:30};function kA(t){if("number"==typeof t)return t;if(e.greg.isDate(t))return e.greg.greg2abs(t);if(we.isHDate(t))return t.abs();throw new TypeError(`Invalid date type: ${t}`)}function _A(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask;t&yA&&delete e.noRoshChodesh;t&gA&&delete e.noModern;t&fA&&delete e.noMinorFast;t&dA&&delete e.noSpecialShabbat;t&SA&&(e.sedrot=!0);t&(pA|wA|vA|AA)&&(e.dailyLearning=e.dailyLearning||{},t&pA&&(e.dailyLearning.dafYomi=!0),t&wA&&(e.dailyLearning.mishnaYomi=!0),t&vA&&(e.dailyLearning.nachYomi=!0),t&AA&&(e.dailyLearning.yerushalmi=1));t&bA&&(e.omer=!0);t&IA&&(e.shabbatMevarchim=!0);t&OA&&(e.yomKippurKatan=!0);return e.userMask=!0,t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.il)||!1;let r=0;if(e.noHolidays||(r|=yA|sA|fA|dA|gA|mA|MA|TA|EA|iA|hA|lA),e.candlelighting&&(r|=iA|hA|sA),e.noRoshChodesh&&(r&=~yA),e.noModern&&(r&=~gA),e.noMinorFast&&(r&=~fA),e.noSpecialShabbat&&(r&=~dA,r&=~IA),r|=n?uA:cA,e.sedrot&&(r|=SA),e.omer&&(r|=bA),e.shabbatMevarchim&&(r|=IA),e.yomKippurKatan&&(r|=OA),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=pA),t.mishnaYomi&&(r|=wA),t.nachYomi&&(r|=vA),t.yerushalmi&&(r|=AA)}return r}const LA=iA|hA|lA|sA,RA=new BS(0,0,!1,"UTC");function YA(e){return e.observedInIsrael()}function PA(e){return e.observedInDiaspora()}class jA{static calendar(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t=Object.assign({},t),function(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof BS))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");let n=parseInt(e.candleLightingMins,10)||18;if(t.getIsrael()&&18===Math.abs(n)){const e=t.getGeoId(),r=NA[e];"number"==typeof r&&(n=r);const o=HA[t.getShortName()];"number"==typeof o&&(n=o)}e.candleLightingMins=-1*Math.abs(n),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5,"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=7.0833333)}(t);const n=t.location=t.location||RA,r=t.il=t.il||n.il||!1;if(t.mask=_A(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError(`Invalid options.locale: ${t.locale}`);const e=t.ashkenazi?"ashkenazi":t.locale;if(!le.useLocale(e))throw new TypeError(`Locale '${e}' not found; did you forget to import @hebcal/locales?`)}else le.useLocale("en");const o=[];let a,i,s,c,u=-1;const h=function(t){if(t.start&&!t.end||t.end&&!t.start)throw new TypeError("Both options.start and options.end are required");if(t.start&&t.end)return[kA(t.start),kA(t.end)];const n=Boolean(t.isHebrewYear),r=void 0!==t.year?parseInt(t.year,10):n?(new we).getFullYear():(new Date).getFullYear();if(isNaN(r))throw new RangeError(`Invalid year ${t.year}`);if(n&&r<1)throw new RangeError(`Invalid Hebrew year ${r}`);let o=NaN;t.month&&(o=n?we.monthNum(t.month):t.month);const a=parseInt(t.numYears,10)||1;if(n){const e=new we(1,o||aA,r);let n=e.abs();const i=t.month?n+e.daysInMonth():new we(1,aA,r+a).abs()-1;return!o&&r>1&&n--,[n,i]}{const n=t.month?o-1:0,i=new Date(r,n,1);r<100&&i.setFullYear(r);const s=e.greg.greg2abs(i);let c;if(t.month)c=s+e.greg.daysInMonth(o,r)-1;else{const t=r+a,n=new Date(t,0,1);t<100&&n.setFullYear(t),c=e.greg.greg2abs(n)-1}return[s,c]}}(t);!function(e){for(const t of Object.keys(e))void 0!==DA[t]||CA.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),CA.add(t))}(t);const l=h[0],f=h[1];e.greg.abs2greg(l).getFullYear()<100&&(t.candlelighting=!1);for(let e=l;e<=f;e++){const h=new we(e),l=h.getFullYear();l!=u&&(u=l,i=xv(u),t.sedrot&&(a=Op(u,r)),t.omer&&(s=we.hebrew2abs(u,nA,16),c=we.hebrew2abs(u,rA,5)));const f=o.length,d=h.getDay(),g=5===d,m=6===d;let y;const S=i.get(h.toString())||[];for(const e of S)y=BA(y,o,e,t,g,m);if(t.sedrot&&m){const t=a.lookup(e);t.chag||o.push(new Cp(h,t.parsha,r,t.num))}const p=t.dailyLearning;if("object"==typeof p)for(const[e,t]of Object.entries(p))if(t){const n="yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e,r=Vv.lookup(n,h);r&&o.push(r)}if(t.omer&&e>=s&&e<=c){const r=new ip(h,e-s+1);if(t.candlelighting){const e=new KS(n,h.prev()).tzeit(7.0833);isNaN(e.getTime())||(r.alarm=e)}o.push(r)}const w=h.getMonth(),v=h.getDate();if(m&&(t.molad||t.shabbatMevarchim)&&w!=oA&&v>=23&&v<=29){const e=w==we.monthsInYear(l)?nA:w+1;if(t.molad&&o.push(new ap(h,l,e,t)),t.shabbatMevarchim){const n=we.getMonthName(e,l),r=new op(l,e).render(t.locale||"en",t);o.push(new Cv(h,n,r))}}if(!y&&t.candlelighting&&(g||m)&&(y=WS(void 0,h,t,g,m),g&&y&&a&&(y.memo=a.getString(e,t.locale))),y instanceof XS&&(0===t.havdalahMins||0===t.havdalahDeg)&&(y=null),y&&o.push(y),t.addHebrewDates||t.addHebrewDatesForEvents&&f!=o.length){const e=new Ee(h);f==o.length?o.push(e):o.splice(f,0,e)}}return o}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=F(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=T(r);let a=n.mm,i=n.dd;return a===j&&!o||a===B&&o?a=E(e):a!==L||30!==i||N(e)?a===R&&30===i&&k(e)?(a=Y,i=1):a===j&&30===i&&o&&!T(e)&&(a=_,i=1):(a=R,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new we(n)}static getYahrzeit(e,t){const n=function(e,t){let n=F(t);if(!(e<=n.yy))return n.mm!==L||30!==n.dd||N(n.yy+1)?n.mm===R&&30===n.dd&&k(n.yy+1)?n=M(b(e,Y,1)-1):n.mm===B?n.mm=E(e):n.mm!==j||30!==n.dd||T(e)||(n.dd=30,n.mm=P):n=M(b(e,R,1)-1),n.mm!==L||30!==n.dd||N(e)?n.mm===R&&30===n.dd&&k(e)&&(n.mm=Y,n.dd=1):(n.mm=R,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new we(n)}static getHolidaysForYear(e){return xv(e)}static getHolidaysForYearArray(e,t){const n=xv(e),r=we.hebrew2abs(e,aA,1),o=we.hebrew2abs(e+1,aA,1)-1;let a=[];const i=t?YA:PA;for(let e=r;e<=o;e++){const t=new we(e),r=n.get(t.toString());if(r){const e=r.filter(i);a=a.concat(e)}}return a}static getHolidaysOnDate(e,t){const n=we.isHDate(e)?e:new we(e),r=n.toString(),o=xv(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?YA:PA;return o.filter(a)}static reformatTimeStr(e,t,n){return GS(e,t,n)}static version(){return zv}static getSedra(e,t){return Op(e,t)}static hallel(e,t){return function(e,t){const n=e.filter((e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===m.NISAN&&(15===o||16===o)&&e.getFlags()&Ie.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t})).map((e=>e.getDate().abs())),r=t.abs();return n.includes(r)?2:e.filter((e=>{const t=e.getDesc();return e.getFlags()&Ie.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(jA.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return eA(e,t)}}function BA(e,t,n,r,o,a){const i=r.il;if(!n.observedIn(i))return e;const s=n.getFlags();if(!r.yomKippurKatan&&s&OA||r.noModern&&s&gA)return e;const c=r.location,u=Boolean(s&mA),h=Boolean(s&fA);if(r.candlelighting&&(u||h)&&(n=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)return e;const r=(e=e.clone()).getDate(),o=r.greg(),a=t.location,i=t.fastEndDeg,s=new KS(a,o,t.useElevation);if("Erev Tish'a B'Av"===n){const n=s.sunset();e.startEvent=ep(r,n,"Fast begins",e,t)}else if(n.startsWith("Tish'a B'Av"))e.endEvent=ep(r,s.tzeit(i),"Fast ends",e,t);else{const n=s.alotHaShachar();e.startEvent=ep(r,n,"Fast begins",e,t),5===o.getDay()||14===r.getDate()&&r.getMonth()===m.NISAN||(e.endEvent=ep(r,s.tzeit(i),"Fast ends",e,t))}return e}(n,r),n.startEvent&&(u||h&&!r.noMinorFast)&&t.push(n.startEvent)),s&r.mask||!s&&!r.userMask){if(r.candlelighting&&s&LA){const t=n.getDate();if(e=WS(n,t,r,o,a),s&lA&&e&&!r.noHolidays){const i=o||a?e:function(e,t,n){const r=n.location,o=new KS(r,t.greg(),n.useElevation);return ep(t,o.beinHaShmashos(),e.getDesc(),e,n)}(n,t,r),u={eventTime:i.eventTime,eventTimeStr:i.eventTimeStr,location:c};n.chanukahDay&&(u.chanukahDay=n.chanukahDay),n.emoji&&(u.emoji=n.emoji),n=new Iv(t,n.getDesc(),s,u),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&s&OA)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}return e.AsaraBTevetEvent=Ev,e.CandleLightingEvent=QS,e.DailyLearning=Vv,e.Event=Te,e.GeoLocation=kS,e.HDate=we,e.HavdalahEvent=XS,e.HebrewCalendar=jA,e.HebrewDateEvent=Ee,e.HolidayEvent=Iv,e.Locale=le,e.Location=BS,e.MevarchimChodeshEvent=Cv,e.Molad=op,e.MoladEvent=ap,e.NOAACalculator=LS,e.OmerEvent=ip,e.ParshaEvent=Cp,e.RoshChodeshEvent=Tv,e.RoshHashanaEvent=Dv,e.Sedra=cp,e.TimedEvent=qS,e.Zmanim=KS,e.flags=Ie,e.gematriya=V,e.gematriyaStrToNum=z,e.holidayDesc=hv,e.months=m,e.parshiot=up,e.version=zv,e}({});
|
|
1
|
+
/*! @hebcal/core v5.4.0 */
|
|
2
|
+
var hebcal=function(e){"use strict";const t=[0,31,28,31,30,31,30,31,31,30,31,30,31],n=[t,t.slice()];function r(e,t){return e-t*Math.floor(e/t)}function o(e,t){return Math.floor(e/t)}n[1][2]=29,e.greg=void 0,function(e){function t(e){return!(e%4||!(e%100)&&e%400)}function a(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function i(e,n,r){const a=e-1;return 365*a+o(a,4)-o(a,100)+o(a,400)+o(367*n-362,12)+(n<=2?0:t(e)?-1:-2)+r}e.isLeapYear=t,e.daysInMonth=function(e,r){return n[+t(r)][e]},e.isDate=a,e.greg2abs=function(e){if(!a(e))throw new TypeError(`Argument not a Date: ${e}`);return i(e.getFullYear(),e.getMonth()+1,e.getDate())},e.abs2greg=function(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const n=function(e){const t=e-1,n=o(t,146097),a=r(t,146097),i=o(a,36524),s=r(a,36524),c=o(s,1461),u=o(r(s,1461),365),h=400*n+100*i+4*c+u;return 4!==i&&4!==u?h+1:h}(e=Math.trunc(e)),a=o(12*(e-i(n,1,1)+(e<i(n,3,1)?0:t(n)?1:2))+373,367),s=e-i(n,a,1)+1,c=new Date(n,a-1,s);return n<100&&n>=0&&c.setFullYear(n),c}}(e.greg||(e.greg={}));const a=1,i=2,s=4,c=6,u=7,h=8,l=9,f=10,d=12,g=13,m={NISAN:1,IYYAR:2,SIVAN:3,TAMUZ:4,AV:5,ELUL:6,TISHREI:7,CHESHVAN:8,KISLEV:9,TEVET:10,SHVAT:11,ADAR_I:12,ADAR_II:13},S=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],y=[S.concat(["Adar","Nisan"]),S.concat(["Adar I","Adar II","Nisan"])],A=new Map,p=-1373428,v=365.24682220597794;function w(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function I(e,t,n){if(w(e,"year"),w(t,"month"),w(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<u){for(let t=u;t<=E(e);t++)r+=H(t,e);for(let n=a;n<t;n++)r+=H(n,e)}else for(let n=u;n<t;n++)r+=H(n,e);return p+O(e)+r-1}function b(e){return p+O(e)}function T(e){if(w(e,"abs"),(e=Math.trunc(e))<=p)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-p)/v);for(;b(t)<=e;)++t;--t;let n=e<I(t,1,1)?7:1;for(;e>I(t,n,H(n,t));)++n;return{yy:t,mm:n,dd:1+e-I(t,n,1)}}function M(e){return(1+7*e)%19<7}function E(e){return+M(e)+12}function H(e,t){switch(e){case i:case s:case c:case f:case g:return 29}return e===d&&!M(t)||e===h&&!N(t)||e===l&&_(t)?29:30}function C(e,t){if(w(e,"month"),w(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return y[+M(t)][e]}function O(e){const t=A.get(e);if("number"==typeof t)return t;const n=function(e){const t=e-1,n=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),r=204+n%1080*793,o=5+12*n+793*Math.floor(n/1080)+Math.floor(r/1080),a=r%1080+o%24*1080,i=1+29*n+Math.floor(o/24);let s=i;(a>=19440||2==i%7&&a>=9924&&!M(e)||1==i%7&&a>=16789&&M(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return A.set(e,n),n}function D(e){return O(e+1)-O(e)}function N(e){return D(e)%10==5}function _(e){return D(e)%10==3}const k=m.NISAN,R=m.CHESHVAN,L=m.KISLEV,P=m.TEVET,Y=m.SHVAT,B=m.ADAR_I,U=m.ADAR_II;function j(t){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(t))return t;if("number"==typeof t)return T(t);if(e.greg.isDate(t)){return T(e.greg.greg2abs(t))}throw new TypeError(`Argument not a Date: ${t}`)}const F={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},V=new Map,Z=new Map;for(const[e,t]of Object.entries(F))V.set(e,t),Z.set(t,e);function x(e){const t=[];for(;e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}let n,r=100;for(n=400;n>e;n-=r)n===r&&(r/=10);t.push(n),e-=n}return t}function $(e){const t=parseInt(e,10);if(!t)throw new TypeError(`invalid parameter to gematriya ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=x(r);for(const t of e)n+=Z.get(t);n+="׳"}const o=x(t%1e3);if(1===o.length)return n+Z.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=Z.get(o[e]);return n}function K(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*K(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=V.get(n);"number"==typeof e&&(t+=e)}return t}const z={en:{infix:"within ",infix26:"within ",words:["","Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"]},he:{infix:"שֶׁבְּ",infix26:"שֶׁבִּ",words:["","חֶֽסֶד","גְבוּרָה","תִּפאֶרֶת","נֶּֽצַח","הוֹד","יְּסוֹד","מַּלְכוּת"]},translit:{infix:"sheb'",infix26:"shebi",words:["","Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"]}};function G(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function J(e){return[Math.floor((e-1)/7)+1,e%7||7]}function W(e,t){return G(e),"en"===t?function(e){const[t,n]=J(e),r=1===e?"day":"days";let o=`Today is ${e} ${r}`;if(t>1||7===e){const e=7===n,r=e?t:t-1;if(o+=`, which is ${r} ${1===r?"week":"weeks"}`,!e){o+=` and ${n} ${1===n?"day":"days"}`}}return o+" of the Omer"}(e):"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+ae:12===e?r+="שְׁנֵים "+ae:12<e&&e<20?r+=X[n]+" "+ae:e>9&&(r+=X[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=q[t]),r+=e<11?X[n]+" "+ee+" ":" "+re+" "):r+=1===e?oe+" ":te+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?X[t]+" "+ne+" ":1===t?"שָׁבֽוּעַ "+X[1]+" ":Q+" "+ne+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?X[n]+" "+ee+" ":1===n?oe+" ":te+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):void 0}const q=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],X=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Q="שְׁנֵי",ee="יָמִים",te=Q+" "+ee,ne="שָׁבוּעוֹת",re="יוֹם",oe=re+" "+X[1],ae="עָשָׂר";const ie=new Map;const se=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ce(e,t){const n=function(e){const t=ie.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1,timeZone:e});return ie.set(e,n),n}(e).format(t),r=se.exec(n);if(null===r)throw new Error(`Unable to parse formatted string: ${n}`);let o=r[4];return"24"===o&&(o="00"),r[3]=ue(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function ue(e){return e<0?"-00"+ue(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function he(e){return e<10?"0"+e:String(e)}function le(e){return ue(e.getFullYear())+"-"+he(e.getMonth()+1)+"-"+he(e.getDate())}var fe={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"],Tevet:["Teves"],"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"]}}},de={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":["רֹאשׁ חוֹדֶשׁ"],Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבָּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבָּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבָּת הַגָּדוֹל"],"Shabbat Machar Chodesh":["שַׁבָּת מָחָר חוֹדֶשׁ"],"Shabbat Nachamu":["שַׁבָּת נַחֲמוּ"],"Shabbat Parah":["שַׁבָּת פּרה"],"Shabbat Rosh Chodesh":["שַׁבָּת רֹאשׁ חוֹדֶשׁ"],"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":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Pesach I (on Shabbat)":["פֶּסַח יוֹם א׳ (בְּשַׁבָּת)"],"Pesach Chol ha-Moed Day 1":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם א׳"],"Pesach Chol ha-Moed Day 2":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ב׳"],"Pesach Chol ha-Moed Day 3":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ג׳"],"Pesach Chol ha-Moed Day 4":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ד׳"],"Pesach Chol ha-Moed Day 5":["פֶּסַח חוֹל הַמּוֹעֵד יוֹם ה׳"],"Pesach Shabbat Chol ha-Moed":["פֶּסַח שַׁבָּת חוֹל הַמּוֹעֵד"],"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)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"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:["יוֹם"],"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 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":["דִברֵי הַיָמִים שֵׁנִי"],"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)":["צוֹם תָּמוּז מִנחָה"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"],"Pirkei Avot":["פִּרְקֵי אָבוֹת"]}}};const ge={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},me={h:"he",a:"ashkenazi",s:"en","":"en"},Se=new Map;let ye,Ae;class pe{static lookupTranslation(e,t){const n=("string"==typeof t&&Se.get(t.toLowerCase())||ye)[e];if((null==n?void 0:n.length)&&n[0].length)return n[0]}static gettext(e,t){const n=this.lookupTranslation(e,t);return void 0===n?e:n}static addLocale(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);Se.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=Se.get(e.toLowerCase());if(!r)throw new TypeError(`Unknown locale: ${e}`);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id: ${t}`);const o=Array.isArray(n);if(o){const e=n[0];if("string"!=typeof e||0===e.length)throw new TypeError(`Invalid translation array: ${n}`)}else if("string"!=typeof n)throw new TypeError(`Invalid translation: ${n}`);r[t]=o?n:[n]}static addTranslations(e,t){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const n=Se.get(e.toLowerCase());if(!n)throw new TypeError(`Unknown locale: ${e}`);if("object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);const r=t.contexts[""];Object.assign(n,r)}static useLocale(e){const t=e.toLowerCase(),n=Se.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return Ae=me[t]||t,ye=n,ye}static getLocaleName(){return Ae}static getLocaleNames(){return Array.from(Se.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||Ae;if(!n)return this.getEnOrdinal(e);switch(n){case"en":case"s":case"a":case"ashkenazi":case"ashkenazi_litvish":case"ashkenazi_poylish":case"ashkenazi_standard":return this.getEnOrdinal(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e);default:return e+"."}}static getEnOrdinal(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}static hebrewStripNikkud(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}pe.addLocale("en",ge),pe.addLocale("s",ge),pe.addLocale("",ge),pe.useLocale("en"),pe.addLocale("ashkenazi",fe),pe.addLocale("a",fe),pe.addLocale("he",de),pe.addLocale("h",de);const ve=de.contexts[""],we={};for(const[e,t]of Object.entries(ve))we[e]=[pe.hebrewStripNikkud(t[0])];const Ie={headers:de.headers,contexts:{"":we}};pe.addLocale("he-x-NoNikud",Ie);const be="day",Te="week",Me="month",Ee="year";class He{constructor(t,n,r){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 e="string"==typeof r?parseInt(r,10):r;if(isNaN(e))throw new TypeError(`HDate called with bad year argument: ${r}`);this.yy=e,function(e,t){e.mm=He.monthNum(t),Ce(e)}(this,n);const i="string"==typeof t?parseInt(t,10):t;if(isNaN(i))throw new TypeError(`HDate called with bad day argument: ${t}`);a=i,(o=this).dd=a,Ce(o)}else{null==t&&(t=new Date);const n="number"!=typeof t||isNaN(t)?e.greg.isDate(t)?e.greg.greg2abs(t):void 0!==t.yy?t:null:t;if(null===n)throw new TypeError(`HDate called with bad argument: ${t}`);const r="number"==typeof n,o=r?T(n):n;this.yy=o.yy,this.mm=o.mm,this.dd=o.dd,r&&(this.rd=n)}var o,a}getFullYear(){return this.yy}isLeapYear(){return M(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=E(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return H(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return e.greg.abs2greg(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=I(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return I(e,t,n)}getMonthName(){return C(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||pe.getLocaleName(),r=this.getDate(),o=pe.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=pe.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=pe.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${a}${i} ${o}`;if(t){return`${s}, ${this.getFullYear()}`}return s}renderGematriya(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.getDate(),n=e?"he-x-NoNikud":"he",r=pe.gettext(this.getMonthName(),n),o=this.getFullYear();return $(t)+" "+r+" "+$(o)}before(e){return De(e,this,-1)}onOrBefore(e){return De(e,this,0)}nearest(e){return De(e,this,3)}onOrAfter(e){return De(e,this,6)}after(e){return De(e,this,7)}next(){return new He(this.abs()+1)}prev(){return new He(this.abs()-1)}add(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(e="string"==typeof e?parseInt(e,10):e))return new He(this);if(t=function(e){switch(e){case"d":return be;case"w":return Te;case"M":return Me;case"y":return Ee}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case be:case Te:case Me:case Ee:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===be)return new He(this.abs()+e);if(t===Te)return new He(this.abs()+7*e);if(t===Ee)return new He(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===Me){let t=new He(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new He(t.abs()+n*t.daysInMonth());return t}throw new TypeError(`Invalid units '${t}'`)}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){if(!He.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!He.isHDate(e)&&(this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd)}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return M(e)}static monthsInYear(e){return E(e)}static daysInMonth(e,t){return H(e,t)}static getMonthName(e,t){return C(e,t)}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):He.monthFromName(e)}static daysInYear(e){return D(e)}static longCheshvan(e){return N(e)}static shortKislev(e){return _(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 t=e.trim().toLowerCase();switch("ב"===t[0]&&(t=t.substring(1)),t[0]){case"n":case"נ":if("o"===t[1])break;return m.NISAN;case"i":return m.IYYAR;case"e":return m.ELUL;case"c":case"ח":return m.CHESHVAN;case"k":case"כ":return m.KISLEV;case"s":switch(t[1]){case"i":return m.SIVAN;case"h":return m.SHVAT}break;case"t":switch(t[1]){case"a":return m.TAMUZ;case"i":return m.TISHREI;case"e":return m.TEVET}break;case"a":switch(t[1]){case"v":return m.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II}break;case"ס":return m.SIVAN;case"ט":return m.TEVET;case"ש":return m.SHVAT;case"א":switch(t[1]){case"ב":return m.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?m.ADAR_I:m.ADAR_II;case"י":return m.IYYAR;case"ל":return m.ELUL}break;case"ת":switch(t[1]){case"מ":return m.TAMUZ;case"ש":return m.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(pe.hebrewStripNikkud(e))}static dayOnOrBefore(e,t){return t-(t-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){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3;const n=e.split(" ").filter((e=>0!==e.length)),r=n.length;if(3!==r&&4!==r)throw new RangeError(`Unable to parse gematriya string: "${e}"`);const o=K(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=He.monthFromName(a);let s=K(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new He(o,i,s)}}function Ce(e){Oe(e),function(e){e.dd<1&&(e.mm===m.TISHREI&&(e.yy-=1),e.dd+=H(e.mm,e.yy),e.mm-=1,Ce(e));e.dd>H(e.mm,e.yy)&&(e.mm===m.ELUL&&(e.yy+=1),e.dd-=H(e.mm,e.yy),e.mm===E(e.yy)?e.mm=1:e.mm+=1,Ce(e));Oe(e)}(e)}function Oe(e){e.mm!==m.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=E(e.yy),e.yy-=1,Ce(e)):e.mm>E(e.yy)&&(e.mm-=E(e.yy),e.yy+=1,Ce(e)):(e.mm-=1,Ce(e)),delete e.rd}function De(e,t,n){return new He(He.dayOnOrBefore(e,t.abs()+n))}class Ne{constructor(e,t){e=+e;const n=He.longCheshvan(e),r=He.shortKislev(e),o=n&&!r?2:!n&&r?0:1;this.year=e;const a=new He(1,m.TISHREI,e),i=a.abs(),s=a.getDay()+1;this.firstSaturday=He.dayOnOrBefore(6,i+6);const c=+He.isLeapYear(e);this.il=Boolean(t);let u=`${c}${s}${o}`;if(Je[u]||(u+=+this.il),this.theSedraArray=Je[u],!this.theSedraArray)throw new Error(`improper sedra year type ${u} calculated for ${e}`)}get(e){return this.lookup(e).parsha}getString(e,t){const n=this.get(e),r=t||pe.getLocaleName();let o=pe.gettext(n[0],r);if(2==n.length){o+=("he"==r?"־":"-")+pe.gettext(n[1],r)}return o=o.replace(/'/g,"’"),pe.gettext("Parashat",r)+" "+o}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>53||e<0&&!function(e){switch(e){case-21:case-26:case-28:case-31:case-38:case-41:case-50:return!0}return!1}(e))throw new RangeError(`Invalid parsha number: ${e}`);const t=this.theSedraArray.indexOf(e);return-1===t?null:new He(this.firstSaturday+7*t)}if("string"==typeof e){const t=ke.get(e);if("number"==typeof t)return this.find(t);if(-1!==e.indexOf("-"))return this.find(e.split("-"));{const t=this.theSedraArray.indexOf(e);return-1===t?null:new He(this.firstSaturday+7*t)}}if(Array.isArray(e)&&1===e.length&&"string"==typeof e[0])return this.find(e[0]);if(Array.isArray(e)&&2===e.length&&"string"==typeof e[0]&&"string"==typeof e[1]){const t=e[0],n=e[1],r=ke.get(t);if(ke.get(n)===r+1)return this.find(-r);throw new RangeError(`Unrecognized parsha name: ${t}-${n}`)}throw new TypeError(`Invalid parsha argument: ${e}`)}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:He.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=He.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return new Ne(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[_e[o]],chag:!1,num:o+1};const a=Re(o);return{parsha:[_e[a],_e[a+1]],chag:!1,num:[a+1,a+2]}}}const _e=["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"],ke=new Map;for(let e=0;e<_e.length;e++){const t=_e[e];ke.set(t,e)}function Re(e){return-e}const Le="Rosh Hashana",Pe="Yom Kippur",Ye="Sukkot",Be="Sukkot Shabbat Chol ha-Moed",Ue="Shmini Atzeret",je=Be,Fe="Pesach",Ve="Pesach I",Ze="Pesach Shabbat Chol ha-Moed",xe="Pesach VII",$e="Pesach VIII",Ke="Shavuot";function ze(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Ge=[],Je={"020":Ge.concat(51,52,je,ze(0,20),Re(21),23,24,Fe,25,Re(26),Re(28),30,Re(31),ze(33,40),Re(41),ze(43,49),Re(50)),"0220":Ge.concat(51,52,je,ze(0,20),Re(21),23,24,Fe,25,Re(26),Re(28),30,Re(31),33,Ke,ze(34,37),Re(38),40,Re(41),ze(43,49),Re(50)),"0510":Ge.concat(52,Pe,je,ze(0,20),Re(21),23,24,Ve,$e,25,Re(26),Re(28),30,Re(31),ze(33,40),Re(41),ze(43,50)),"0511":Ge.concat(52,Pe,je,ze(0,20),Re(21),23,24,Fe,25,Re(26),Re(28),ze(30,40),Re(41),ze(43,50)),"052":Ge.concat(52,Pe,Be,ze(0,24),xe,25,Re(26),Re(28),30,Re(31),ze(33,40),Re(41),ze(43,50)),"070":Ge.concat(Le,52,Ye,Ue,ze(0,20),Re(21),23,24,xe,25,Re(26),Re(28),30,Re(31),ze(33,40),Re(41),ze(43,50)),"072":Ge.concat(Le,52,Ye,Ue,ze(0,20),Re(21),23,24,Ze,25,Re(26),Re(28),30,Re(31),ze(33,40),Re(41),ze(43,49),Re(50)),1200:Ge.concat(51,52,Be,ze(0,27),Ze,ze(28,33),Ke,ze(34,37),Re(38),40,Re(41),ze(43,49),Re(50)),1201:Ge.concat(51,52,Be,ze(0,27),Ze,ze(28,40),Re(41),ze(43,49),Re(50)),1220:Ge.concat(51,52,Be,ze(0,27),Ve,$e,ze(28,40),Re(41),ze(43,50)),1221:Ge.concat(51,52,Be,ze(0,27),Fe,ze(28,50)),150:Ge.concat(52,Pe,Be,ze(0,28),xe,ze(29,50)),152:Ge.concat(52,Pe,Be,ze(0,28),Ze,ze(29,49),Re(50)),170:Ge.concat(Le,52,Ye,Ue,ze(0,27),Ze,ze(28,40),Re(41),ze(43,49),Re(50)),1720:Ge.concat(Le,52,Ye,Ue,ze(0,27),Ze,ze(28,33),Ke,ze(34,37),Re(38),40,Re(41),ze(43,49),Re(50))};Je["0221"]=Je["020"],Je["0310"]=Je["0220"],Je["0311"]=Je["020"],Je[1310]=Je[1220],Je[1311]=Je[1221],Je[1721]=Je[170];const We={CHAG:1,LIGHT_CANDLES:2,YOM_TOV_ENDS:4,CHUL_ONLY:8,IL_ONLY:16,LIGHT_CANDLES_TZEIS:32,CHANUKAH_CANDLES:64,ROSH_CHODESH:128,MINOR_FAST:256,SPECIAL_SHABBAT:512,PARSHA_HASHAVUA:1024,DAF_YOMI:2048,OMER_COUNT:4096,MODERN_HOLIDAY:8192,MAJOR_FAST:16384,SHABBAT_MEVARCHIM:32768,MOLAD:65536,USER_EVENT:131072,HEBREW_DATE:262144,MINOR_HOLIDAY:524288,EREV:1048576,CHOL_HAMOED:2097152,MISHNA_YOMI:4194304,YOM_KIPPUR_KATAN:8388608,YERUSHALMI_YOMI:16777216,NACH_YOMI:33554432,DAILY_LEARNING:67108864},qe=[[We.MAJOR_FAST,"holiday","major","fast"],[We.CHANUKAH_CANDLES,"holiday","major"],[We.HEBREW_DATE,"hebdate"],[We.MINOR_FAST,"holiday","fast"],[We.MINOR_HOLIDAY,"holiday","minor"],[We.MODERN_HOLIDAY,"holiday","modern"],[We.MOLAD,"molad"],[We.OMER_COUNT,"omer"],[We.PARSHA_HASHAVUA,"parashat"],[We.ROSH_CHODESH,"roshchodesh"],[We.SHABBAT_MEVARCHIM,"mevarchim"],[We.SPECIAL_SHABBAT,"holiday","shabbat"],[We.USER_EVENT,"user"]];class Xe{constructor(e,t,n,r){if(!He.isHDate(e))throw new TypeError(`Invalid Event date: ${e}`);if("string"!=typeof t)throw new TypeError(`Invalid Event description: ${t}`);this.date=e,this.desc=t,this.mask=+n,"object"==typeof r&&null!=r&&Object.assign(this,r)}getDate(){return this.date}getDesc(){return this.desc}getFlags(){return this.mask}render(e){return pe.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&We.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&We.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new this.constructor(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e}getCategories(){const e=this.getFlags();for(const t of qe)if(e&t[0])return t.slice(1);return["unknown"]}}class Qe extends Xe{constructor(e){super(e,e.toString(),We.HEBREW_DATE)}render(e){const t=(null==e?void 0:e.toLowerCase())||pe.getLocaleName(),n=this.getDate();switch(t){case"h":case"he":return n.renderGematriya(!1);case"he-x-nonikud":return n.renderGematriya(!0);default:return n.render(t,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=pe.gettext(t.getMonthName(),e);return $(n)+" "+r}renderBrief(e){const t=(null==e?void 0:e.toLowerCase())||pe.getLocaleName(),n=this.getDate();if(n.getMonth()===m.TISHREI&&1===n.getDate())return this.render(t);switch(t){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(t);default:return n.render(t,!1)}}}var et="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},tt=function(e){return e&&e.Math===Math&&e},nt=tt("object"==typeof globalThis&&globalThis)||tt("object"==typeof window&&window)||tt("object"==typeof self&&self)||tt("object"==typeof et&&et)||tt("object"==typeof et&&et)||function(){return this}()||Function("return this")(),rt={},ot=function(e){try{return!!e()}catch(e){return!0}},at=!ot((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),it=!ot((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),st=it,ct=Function.prototype.call,ut=st?ct.bind(ct):function(){return ct.apply(ct,arguments)},ht={},lt={}.propertyIsEnumerable,ft=Object.getOwnPropertyDescriptor,dt=ft&&!lt.call({1:2},1);ht.f=dt?function(e){var t=ft(this,e);return!!t&&t.enumerable}:lt;var gt,mt,St=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},yt=it,At=Function.prototype,pt=At.call,vt=yt&&At.bind.bind(pt,pt),wt=yt?vt:function(e){return function(){return pt.apply(e,arguments)}},It=wt,bt=It({}.toString),Tt=It("".slice),Mt=ot,Et=function(e){return Tt(bt(e),8,-1)},Ht=Object,Ct=wt("".split),Ot=Mt((function(){return!Ht("z").propertyIsEnumerable(0)}))?function(e){return"String"===Et(e)?Ct(e,""):Ht(e)}:Ht,Dt=function(e){return null==e},Nt=Dt,_t=TypeError,kt=function(e){if(Nt(e))throw new _t("Can't call method on "+e);return e},Rt=Ot,Lt=kt,Pt=function(e){return Rt(Lt(e))},Yt="object"==typeof document&&document.all,Bt=void 0===Yt&&void 0!==Yt?function(e){return"function"==typeof e||e===Yt}:function(e){return"function"==typeof e},Ut=Bt,jt=function(e){return"object"==typeof e?null!==e:Ut(e)},Ft=nt,Vt=Bt,Zt=function(e,t){return arguments.length<2?(n=Ft[e],Vt(n)?n:void 0):Ft[e]&&Ft[e][t];var n},xt=wt({}.isPrototypeOf),$t=nt,Kt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",zt=$t.process,Gt=$t.Deno,Jt=zt&&zt.versions||Gt&&Gt.version,Wt=Jt&&Jt.v8;Wt&&(mt=(gt=Wt.split("."))[0]>0&>[0]<4?1:+(gt[0]+gt[1])),!mt&&Kt&&(!(gt=Kt.match(/Edge\/(\d+)/))||gt[1]>=74)&&(gt=Kt.match(/Chrome\/(\d+)/))&&(mt=+gt[1]);var qt=mt,Xt=ot,Qt=nt.String,en=!!Object.getOwnPropertySymbols&&!Xt((function(){var e=Symbol("symbol detection");return!Qt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&qt&&qt<41})),tn=en&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,nn=Zt,rn=Bt,on=xt,an=Object,sn=tn?function(e){return"symbol"==typeof e}:function(e){var t=nn("Symbol");return rn(t)&&on(t.prototype,an(e))},cn=String,un=Bt,hn=function(e){try{return cn(e)}catch(e){return"Object"}},ln=TypeError,fn=function(e){if(un(e))return e;throw new ln(hn(e)+" is not a function")},dn=Dt,gn=ut,mn=Bt,Sn=jt,yn=TypeError,An={exports:{}},pn=nt,vn=Object.defineProperty,wn=function(e,t){try{vn(pn,e,{value:t,configurable:!0,writable:!0})}catch(n){pn[e]=t}return t},In=nt,bn=wn,Tn="__core-js_shared__",Mn=An.exports=In[Tn]||bn(Tn,{});(Mn.versions||(Mn.versions=[])).push({version:"3.37.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"});var En=An.exports,Hn=En,Cn=function(e,t){return Hn[e]||(Hn[e]=t||{})},On=kt,Dn=Object,Nn=function(e){return Dn(On(e))},_n=wt({}.hasOwnProperty),kn=Object.hasOwn||function(e,t){return _n(Nn(e),t)},Rn=wt,Ln=0,Pn=Math.random(),Yn=Rn(1..toString),Bn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Yn(++Ln+Pn,36)},Un=Cn,jn=kn,Fn=Bn,Vn=en,Zn=tn,xn=nt.Symbol,$n=Un("wks"),Kn=Zn?xn.for||xn:xn&&xn.withoutSetter||Fn,zn=function(e){return jn($n,e)||($n[e]=Vn&&jn(xn,e)?xn[e]:Kn("Symbol."+e)),$n[e]},Gn=ut,Jn=jt,Wn=sn,qn=function(e,t){var n=e[t];return dn(n)?void 0:fn(n)},Xn=function(e,t){var n,r;if("string"===t&&mn(n=e.toString)&&!Sn(r=gn(n,e)))return r;if(mn(n=e.valueOf)&&!Sn(r=gn(n,e)))return r;if("string"!==t&&mn(n=e.toString)&&!Sn(r=gn(n,e)))return r;throw new yn("Can't convert object to primitive value")},Qn=TypeError,er=zn("toPrimitive"),tr=function(e,t){if(!Jn(e)||Wn(e))return e;var n,r=qn(e,er);if(r){if(void 0===t&&(t="default"),n=Gn(r,e,t),!Jn(n)||Wn(n))return n;throw new Qn("Can't convert object to primitive value")}return void 0===t&&(t="number"),Xn(e,t)},nr=sn,rr=function(e){var t=tr(e,"string");return nr(t)?t:t+""},or=jt,ar=nt.document,ir=or(ar)&&or(ar.createElement),sr=function(e){return ir?ar.createElement(e):{}},cr=sr,ur=!at&&!ot((function(){return 7!==Object.defineProperty(cr("div"),"a",{get:function(){return 7}}).a})),hr=at,lr=ut,fr=ht,dr=St,gr=Pt,mr=rr,Sr=kn,yr=ur,Ar=Object.getOwnPropertyDescriptor;rt.f=hr?Ar:function(e,t){if(e=gr(e),t=mr(t),yr)try{return Ar(e,t)}catch(e){}if(Sr(e,t))return dr(!lr(fr.f,e,t),e[t])};var pr={},vr=at&&ot((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),wr=jt,Ir=String,br=TypeError,Tr=function(e){if(wr(e))return e;throw new br(Ir(e)+" is not an object")},Mr=at,Er=ur,Hr=vr,Cr=Tr,Or=rr,Dr=TypeError,Nr=Object.defineProperty,_r=Object.getOwnPropertyDescriptor,kr="enumerable",Rr="configurable",Lr="writable";pr.f=Mr?Hr?function(e,t,n){if(Cr(e),t=Or(t),Cr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Lr in n&&!n[Lr]){var r=_r(e,t);r&&r[Lr]&&(e[t]=n.value,n={configurable:Rr in n?n[Rr]:r[Rr],enumerable:kr in n?n[kr]:r[kr],writable:!1})}return Nr(e,t,n)}:Nr:function(e,t,n){if(Cr(e),t=Or(t),Cr(n),Er)try{return Nr(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new Dr("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Pr=pr,Yr=St,Br=at?function(e,t,n){return Pr.f(e,t,Yr(1,n))}:function(e,t,n){return e[t]=n,e},Ur={exports:{}},jr=at,Fr=kn,Vr=Function.prototype,Zr=jr&&Object.getOwnPropertyDescriptor,xr=Fr(Vr,"name"),$r={EXISTS:xr,PROPER:xr&&"something"===function(){}.name,CONFIGURABLE:xr&&(!jr||jr&&Zr(Vr,"name").configurable)},Kr=Bt,zr=En,Gr=wt(Function.toString);Kr(zr.inspectSource)||(zr.inspectSource=function(e){return Gr(e)});var Jr,Wr,qr,Xr=zr.inspectSource,Qr=Bt,eo=nt.WeakMap,to=Qr(eo)&&/native code/.test(String(eo)),no=Bn,ro=Cn("keys"),oo=function(e){return ro[e]||(ro[e]=no(e))},ao={},io=to,so=nt,co=jt,uo=Br,ho=kn,lo=En,fo=oo,go=ao,mo="Object already initialized",So=so.TypeError,yo=so.WeakMap;if(io||lo.state){var Ao=lo.state||(lo.state=new yo);Ao.get=Ao.get,Ao.has=Ao.has,Ao.set=Ao.set,Jr=function(e,t){if(Ao.has(e))throw new So(mo);return t.facade=e,Ao.set(e,t),t},Wr=function(e){return Ao.get(e)||{}},qr=function(e){return Ao.has(e)}}else{var po=fo("state");go[po]=!0,Jr=function(e,t){if(ho(e,po))throw new So(mo);return t.facade=e,uo(e,po,t),t},Wr=function(e){return ho(e,po)?e[po]:{}},qr=function(e){return ho(e,po)}}var vo={set:Jr,get:Wr,has:qr,enforce:function(e){return qr(e)?Wr(e):Jr(e,{})},getterFor:function(e){return function(t){var n;if(!co(t)||(n=Wr(t)).type!==e)throw new So("Incompatible receiver, "+e+" required");return n}}},wo=wt,Io=ot,bo=Bt,To=kn,Mo=at,Eo=$r.CONFIGURABLE,Ho=Xr,Co=vo.enforce,Oo=vo.get,Do=String,No=Object.defineProperty,_o=wo("".slice),ko=wo("".replace),Ro=wo([].join),Lo=Mo&&!Io((function(){return 8!==No((function(){}),"length",{value:8}).length})),Po=String(String).split("String"),Yo=Ur.exports=function(e,t,n){"Symbol("===_o(Do(t),0,7)&&(t="["+ko(Do(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!To(e,"name")||Eo&&e.name!==t)&&(Mo?No(e,"name",{value:t,configurable:!0}):e.name=t),Lo&&n&&To(n,"arity")&&e.length!==n.arity&&No(e,"length",{value:n.arity});try{n&&To(n,"constructor")&&n.constructor?Mo&&No(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=Co(e);return To(r,"source")||(r.source=Ro(Po,"string"==typeof t?t:"")),e};Function.prototype.toString=Yo((function(){return bo(this)&&Oo(this).source||Ho(this)}),"toString");var Bo=Ur.exports,Uo=Bt,jo=pr,Fo=Bo,Vo=wn,Zo={},xo=Math.ceil,$o=Math.floor,Ko=Math.trunc||function(e){var t=+e;return(t>0?$o:xo)(t)},zo=Ko,Go=function(e){var t=+e;return t!=t||0===t?0:zo(t)},Jo=Go,Wo=Math.max,qo=Math.min,Xo=Go,Qo=Math.min,ea=function(e){var t=Xo(e);return t>0?Qo(t,9007199254740991):0},ta=Pt,na=function(e,t){var n=Jo(e);return n<0?Wo(n+t,0):qo(n,t)},ra=function(e){return ea(e.length)},oa=function(e){return function(t,n,r){var o=ta(t),a=ra(o);if(0===a)return!e&&-1;var i,s=na(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},aa={includes:oa(!0),indexOf:oa(!1)},ia=kn,sa=Pt,ca=aa.indexOf,ua=ao,ha=wt([].push),la=function(e,t){var n,r=sa(e),o=0,a=[];for(n in r)!ia(ua,n)&&ia(r,n)&&ha(a,n);for(;t.length>o;)ia(r,n=t[o++])&&(~ca(a,n)||ha(a,n));return a},fa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],da=la,ga=fa.concat("length","prototype");Zo.f=Object.getOwnPropertyNames||function(e){return da(e,ga)};var ma={};ma.f=Object.getOwnPropertySymbols;var Sa=Zt,ya=Zo,Aa=ma,pa=Tr,va=wt([].concat),wa=Sa("Reflect","ownKeys")||function(e){var t=ya.f(pa(e)),n=Aa.f;return n?va(t,n(e)):t},Ia=kn,ba=wa,Ta=rt,Ma=pr,Ea=ot,Ha=Bt,Ca=/#|\.prototype\./,Oa=function(e,t){var n=Na[Da(e)];return n===ka||n!==_a&&(Ha(t)?Ea(t):!!t)},Da=Oa.normalize=function(e){return String(e).replace(Ca,".").toLowerCase()},Na=Oa.data={},_a=Oa.NATIVE="N",ka=Oa.POLYFILL="P",Ra=Oa,La=nt,Pa=rt.f,Ya=Br,Ba=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(Uo(n)&&Fo(n,a,r),r.global)o?e[t]=n:Vo(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:jo.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Ua=wn,ja=function(e,t,n){for(var r=ba(t),o=Ma.f,a=Ta.f,i=0;i<r.length;i++){var s=r[i];Ia(e,s)||n&&Ia(n,s)||o(e,s,a(t,s))}},Fa=Ra,Va={},Za=la,xa=fa,$a=Object.keys||function(e){return Za(e,xa)},Ka=at,za=vr,Ga=pr,Ja=Tr,Wa=Pt,qa=$a;Va.f=Ka&&!za?Object.defineProperties:function(e,t){Ja(e);for(var n,r=Wa(t),o=qa(t),a=o.length,i=0;a>i;)Ga.f(e,n=o[i++],r[n]);return e};var Xa,Qa=Zt("document","documentElement"),ei=Tr,ti=Va,ni=fa,ri=ao,oi=Qa,ai=sr,ii="prototype",si="script",ci=oo("IE_PROTO"),ui=function(){},hi=function(e){return"<"+si+">"+e+"</"+si+">"},li=function(e){e.write(hi("")),e.close();var t=e.parentWindow.Object;return e=null,t},fi=function(){try{Xa=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;fi="undefined"!=typeof document?document.domain&&Xa?li(Xa):(t=ai("iframe"),n="java"+si+":",t.style.display="none",oi.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(hi("document.F=Object")),e.close(),e.F):li(Xa);for(var r=ni.length;r--;)delete fi[ii][ni[r]];return fi()};ri[ci]=!0;var di=Object.create||function(e,t){var n;return null!==e?(ui[ii]=ei(e),n=new ui,ui[ii]=null,n[ci]=e):n=fi(),void 0===t?n:ti.f(n,t)},gi=zn,mi=di,Si=pr.f,yi=gi("unscopables"),Ai=Array.prototype;void 0===Ai[yi]&&Si(Ai,yi,{configurable:!0,value:mi(null)});var pi=aa.includes,vi=function(e){Ai[yi][e]=!0};function wi(e,t,n,r,o){return Ii(t,bi(e,t),n,r,o)}function Ii(e,t,n,r,o,a){const i=xi(t,n,r);if(o&&t!==i)throw new RangeError(ql(e,t,n,r,a));return i}function bi(e,t){const n=e[t];if(void 0===n)throw new TypeError(Ql(t));return n}function Ti(e){return null!==e&&/object|function/.test(typeof e)}function Mi(e){const t=new(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Map);return function(n){if(t.has(n))return t.get(n);for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];const i=e(n,...o);return t.set(n,i),i}}function Ei(e){return Hi({name:e},1)}function Hi(e,t){return Ni((e=>({value:e,configurable:1,writable:!t})),e)}function Ci(e){return Ni((e=>({get:e,configurable:1})),e)}function Oi(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function Di(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Ni(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function _i(e,t,n){const r={};for(let o=0;o<t.length;o++){const a=t[o];r[a]=e(a,o,n)}return r}function ki(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function Ri(e,t){const n={};for(const r of e)n[r]=t[r];return n}function Li(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function Pi(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function Yi(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Bi(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Ui(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return e(...n,...r)}}function ji(e){return e[0].toUpperCase()+e.substring(1)}function Fi(e){return e.slice().sort()}function Vi(e,t){return String(t).padStart(e,"0")}function Zi(e,t){return Math.sign(e-t)}function xi(e,t,n){return Math.min(Math.max(e,t),n)}function $i(e,t){return[Math.floor(e/t),Ki(e,t)]}function Ki(e,t){return(e%t+t)%t}function zi(e,t){return[Gi(e,t),Ji(e,t)]}function Gi(e,t){return Math.trunc(e/t)||0}function Ji(e,t){return e%t||0}function Wi(e){return.5===Math.abs(e%1)}function qi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Jf[a],s=Gf/i,[c,u]=zi(t,s);r+=u*i,o+=c}const[a,i]=zi(r,Gf);return[o+a,i]}function Xi(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Jf[o];r[n[o]]=Gi(e,t),e=Ji(e,t)}return r}function Qi(e){if(void 0!==e)return ts(e)}function es(e){return ss(ts(e))}function ts(e){return is(Id(e))}function ns(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function rs(e,t){if(null==t)throw new RangeError(Ql(e));return t}function os(e){if(!Ti(e))throw new TypeError(Wl);return e}function as(e,t){if(typeof t!==e)throw new TypeError(Xl(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function is(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(xl(t,e));return e||0}function ss(e){if(e<=0)throw new RangeError($l(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function cs(e){if("symbol"==typeof e)throw new TypeError(Jl);return String(e)}function us(e,t){return Ti(e)?String(e):vd(e,t)}function hs(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Gl(e));return e}function ls(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(zl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(Kl(t,e));return e}function fs(e,t){return Math.trunc(ls(e,t))||0}function ds(e,t){return is(ls(e,t),t)}function gs(e,t){return ss(fs(e,t),t)}function ms(e,t){let[n,r]=zi(t,Gf),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Gf),[o,r]}function Ss(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return ms(e[0]+t[0]*n,e[1]+t[1]*n)}function ys(e,t){return ms(e[0],e[1]+t)}function As(e,t){return Ss(t,e,-1)}function ps(e,t){return Zi(e[0],t[0])||Zi(e[1],t[1])}function vs(e,t,n){return-1===ps(e,t)||1===ps(e,n)}function ws(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Gf/t);return[Number(e/n),Number(e%n)*t]}function Is(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Gf/t,[r,o]=zi(e,n);return[r,o*t]}function bs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Gf/t;return BigInt(n)*BigInt(a)+BigInt(o)}function Ts(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;const[r,o]=e,[a,i]=zi(o,t);return r*(Gf/t)+(a+(n?i/t:0))}function Ms(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$i;const[r,o]=e,[a,i]=n(o,t);return[r*(Gf/t)+a,i]}function Es(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function Hs(e){return wi(e,"isoYear",Gd,zd,1),e.isoYear===Gd?wi(e,"isoMonth",4,12,1):e.isoYear===zd&&wi(e,"isoMonth",1,9,1),e}function Cs(e){return Os({...e,...Ud,isoHour:12}),e}function Os(e){const t=wi(e,"isoYear",Gd,zd,1),n=t===Gd?1:t===zd?-1:0;return n&&Ds(Ps({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function Ds(e){if(!e||vs(e,Kd,$d))throw new RangeError(Mf);return e}function Ns(e){return qi(e,5,kd)[1]}function _s(e){const[t,n]=$i(e,Gf);return[Xi(n,5,kd),t]}function ks(e){return Rs(e)[0]}function Rs(e){return Ms(e,$f)}function Ls(e){return Us(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function Ps(e){const t=Ls(e);if(void 0!==t){const[n,r]=zi(t,Ff);return[n,r*xf+(e.isoMicrosecond||0)*Zf+(e.isoNanosecond||0)]}}function Ys(e,t){const[n,r]=_s(Ns(e)-t);return Ds(Ps({...e,isoDay:e.isoDay+r,...n}))}function Bs(){return Us(...arguments)/Vf}function Us(){const[e,t]=js(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*Ff}function js(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===Gd?1:e===zd?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function Fs(e,t){let[n,r]=ys(e,t);r<0&&(r+=Gf,n-=1);const[o,a]=$i(r,xf),[i,s]=$i(a,Zf);return Vs(n*Ff+o,i,s)}function Vs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=Math.ceil(Math.max(0,Math.abs(e)-xd)/Ff)*Math.sign(e),o=new Date(e-r*Ff);return Di(Ld,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Zs(e){return[e.isoYear,e.isoMonth,e.isoDay]}function xs(){return qd}function $s(e,t){switch(t){case 2:return zs(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Ks(e){return zs(e)?366:365}function zs(e){return e%4==0&&(e%100!=0||e%400==0)}function Gs(e){const[t,n]=js(e.isoYear,e.isoMonth,e.isoDay);return Ki(t.getUTCDay()-n,7)||7}function Js(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function Ws(e){const t=Ls(e);if(t<Xd)return Js(e);const n=Es(im(Sd),t),{era:r,eraYear:o}=Gh(n,Sd);return[r,o]}function qs(e){return Xs(e),tc(e,1),e}function Xs(e){return ec(e,1),e}function Qs(e){return Yi(Rd,e,ec(e))}function ec(e,t){const{isoYear:n}=e,r=wi(e,"isoMonth",1,xs(),t);return{isoYear:n,isoMonth:r,isoDay:wi(e,"isoDay",1,$s(n,r),t)}}function tc(e,t){return Di(kd,[wi(e,"isoHour",0,23,t),wi(e,"isoMinute",0,59,t),wi(e,"isoSecond",0,59,t),wi(e,"isoMillisecond",0,999,t),wi(e,"isoMicrosecond",0,999,t),wi(e,"isoNanosecond",0,999,t)])}function nc(e){return void 0===e?0:Sg(os(e))}function rc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=gc(e);const n=yg(e),r=Ag(e,t);return[Sg(e),r,n]}function oc(e){return yg(gc(e))}function ac(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:9,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=gc(t);let i=gg(t,r,o),s=lc(t),c=Ig(t,a);const u=dg(t,r,o,1);return null==i?i=Math.max(n,u):vc(i,u),s=fc(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function ic(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=lc(e=mc(e,eg));const o=Ig(e,7);let a=dg(e,t);return a=rs(eg,a),r=fc(r,a,void 0,n),[a,r,o]}function sc(e){return pg(gc(e))}function cc(e,t){return uc(gc(e),t)}function uc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=dc(e);return[Ig(e,4),...hc(dg(e,t),n)]}function hc(e,t){return null!=e?[Jf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function lc(e){const t=e[ng];return void 0===t?1:fs(t,ng)}function fc(e,t,n,r){const o=r?Gf:Jf[t+1];if(o){const n=Jf[t];if(o%((e=Ii(ng,e,1,o/n-(r?0:1),1))*n))throw new RangeError(Xl(ng,e))}else e=Ii(ng,e,1,n?10**9:1,1);return e}function dc(e){let t=e[rg];if(void 0!==t){if("number"!=typeof t){if("auto"===cs(t))return;throw new RangeError(Xl(rg,t))}t=Ii(rg,Math.floor(t),0,9,1)}return t}function gc(e){return void 0===e?{}:os(e)}function mc(e,t){return"string"==typeof e?{[t]:e}:os(e)}function Sc(e){if(void 0!==e){if(Ti(e))return Object.assign(Object.create(null),e);throw new TypeError(Wl)}}function yc(e,t){return e&&Object.assign(Object.create(null),e,{overflow:ig[t]})}function Ac(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:9,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4?arguments[4]:void 0,a=t[e];if(void 0===a)return o?r:void 0;if(a=cs(a),"auto"===a)return o?r:null;let i=Uf[a];if(void 0===i&&(i=Od[a]),void 0===i)throw new RangeError(rf(e,a,Uf));return Ii(e,i,r,n,1,jf),i}function pc(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=n[e];if(void 0===o)return r;const a=cs(o),i=t[a];if(void 0===i)throw new RangeError(rf(e,a,t));return i}function vc(e,t){if(t>e)throw new RangeError(Nf)}function wc(e){return{branding:Og,epochNanoseconds:e}}function Ic(e,t,n){return{branding:Cg,calendar:n,timeZone:t,epochNanoseconds:e}}function bc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Eg,calendar:t,...Ri(Bd,e)}}function Tc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Mg,calendar:t,...Ri(Pd,e)}}function Mc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:bg,calendar:t,...Ri(Pd,e)}}function Ec(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Tg,calendar:t,...Ri(Pd,e)}}function Hc(e){return{branding:Hg,...Ri(Yd,e)}}function Cc(e){return{branding:Dg,sign:$u(e),...Ri(Md,e)}}function Oc(e){return Ms(e.epochNanoseconds,xf)[0]}function Dc(e){return e.epochNanoseconds}function Nc(e){return"string"==typeof e?e:vd(e.id)}function _c(e,t){return e===t||Nc(e)===Nc(t)}function kc(e,t,n,r,o,a){const i={...Dd,[Td[t]]:n},s=a(r,e),c=a(s,i);return[o(s),o(c)]}function Rc(e,t,n){const r=Ts(As(t,n));if(!r)throw new RangeError(Sf);return Ts(As(t,e))/r}function Lc(e,t,n,r){return Pc(e,Uc(t,n),r)}function Pc(e,t,n){const[r,o]=Yc(e,t,n);return Os({...Ru(e,o),...r})}function Yc(e,t,n){return _s(Kc(Ns(e),t,n))}function Bc(e){return Kc(e,Kf,7)}function Uc(e,t){return Jf[e]*t}function jc(e){const t=Fc(e);return[t,Ru(t,1)]}function Fc(e){return jd(6,e)}function Vc(e,t,n){const r=Math.min(Xu(e),6);return Ju($c(Gu(e,r),t,n),r)}function Zc(e,t,n,r,o,a,i,s,c){if(0===r&&1===o)return e;const u=r>6?Wc:Uu(i)&&r<6?Jc:Gc;let[h,l,f]=u(e,t,n,r,o,a,i,s,c);return f&&(h=((e,t,n,r,o,a,i)=>{const s=$u(e);for(let c=r+1;c<=n;c++){if(7===c&&7!==n)continue;const r=_d(c,e);r[Td[c]]+=s;const u=Ts(As(a(i(o,r)),t));if(u&&Math.sign(u)!==s)break;e=r}return e})(h,l,n,Math.max(6,r),i,s,c)),h}function xc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Gf)(e);return[Kc(t,n,r),0]}return $c(e,Uc(t,n),r,o)}function $c(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Gf,o-=1);const[i,s]=$i(Kc(a,t,n),Gf);return ms(o+i,s)}function Kc(e,t,n){return zc(e/t,n)*t}function zc(e,t){return Ng[t](e)}function Gc(e,t,n,r,o,a){const i=$u(e),s=Gu(e),c=xc(s,r,o,a),u=As(s,c),h=Math.sign(c[0]-s[0])===i,l=Ju(c,Math.min(n,6));return[{...e,...l},Ss(t,u),h]}function Jc(e,t,n,r,o,a,i,s,c){const u=$u(e);let[h,l]=Gu(e,5);const f=Uc(r,o);let d=Kc(l,f,a);const[g,m]=kc({...e,...Nd},6,u,i,s,c),S=d-Ts(As(g,m));S&&Math.sign(S)!==u?t=ys(g,d):(h+=u,d=Kc(S,f,a),t=ys(m,d));const y=Wu(d);return[{...e,...y,days:e.days+h},t,Boolean(h)]}function Wc(e,t,n,r,o,a,i,s,c){const u=$u(e),h=Td[r],l=_d(r,e),f=Gi(e[h],o)*o;l[h]=f;const[d,g]=kc(l,r,o*u,i,s,c),m=f+Rc(t,d,g)*u*o,S=Kc(m,o,a),y=Math.sign(S-m)===u;return l[h]=S,[l,y?g:d,y]}function qc(e,t,n,r){const[o,a,i,s]=(e=>{const t=uc(e=gc(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=$c(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return su(Fs(n,i),a)+(e?fu(Bc(i)):"Z")})(c,t(c?e(o):_g),n.epochNanoseconds,a,i,s)}function Xc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=gc(e);const t=pg(e),n=dc(e),r=wg(e),o=Ig(e,4),a=dg(e,4);return[t,vg(e),r,o,...hc(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=$c(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return su(Fs(r,h),u)+fu(Bc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+Nc(e)+"]":"")(n,a)+du(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function Qc(e,t){const[n,r,o,a]=(e=>(e=gc(e),[pg(e),...uc(e)]))(t);return i=e.calendar,s=n,c=a,su(Pc(e,o,r),c)+du(i,s);var i,s,c}function eu(e,t){return n=e.calendar,r=e,o=sc(t),cu(r)+du(n,o);var n,r,o}function tu(e,t){return au(e.calendar,uu,e,sc(t))}function nu(e,t){return au(e.calendar,hu,e,sc(t))}function ru(e,t){const[n,r,o]=cc(t);return a=o,lu(Yc(e,r,n)[0],a);var a}function ou(e,t){const[n,r,o]=cc(t,3);return r>1&&(e={...e,...Vc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?xu(e):e,{hours:o,minutes:a}=r,[i,s]=Ms(Gu(r,3),$f,zi);zu(i);const c=mu(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+iu({Y:yu(r.years),M:yu(r.months),W:yu(r.weeks),D:yu(r.days)})+(o||a||i||u?"T"+iu({H:yu(o),M:yu(a),S:yu(i,u)+c}):"")})(e,o)}function au(e,t,n,r){const o=Nc(e),a=r>1||0===r&&o!==gd;return 1===r?o===gd?t(n):cu(n):a?cu(n)+gu(o,2===r):t(n)}function iu(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function su(e,t){return cu(e)+"T"+lu(e,t)}function cu(e){return uu(e)+"-"+Bf(e.isoDay)}function uu(e){const{isoYear:t}=e;return(t<0||t>9999?Su(t)+Vi(6,Math.abs(t)):Vi(4,t))+"-"+Bf(e.isoMonth)}function hu(e){return Bf(e.isoMonth)+"-"+Bf(e.isoDay)}function lu(e,t){const n=[Bf(e.isoHour),Bf(e.isoMinute)];return-1!==t&&n.push(Bf(e.isoSecond)+((e,t,n,r)=>mu(e*xf+t*Zf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function fu(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=$i(Math.abs(e),zf),[r,o]=$i(n,Kf),[a,i]=$i(o,$f);return Su(e)+Bf(t)+":"+Bf(r)+(a||i?":"+Bf(a)+mu(i):"")}function du(e,t){if(1!==t){const n=Nc(e);if(t>1||0===t&&n!==gd)return gu(n,2===t)}return""}function gu(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function mu(e,t){let n=Vi(9,e);return n=void 0===t?n.replace(Pg,""):n.slice(0,t),n?"."+n:""}function Su(e){return e<0?"-":"+"}function yu(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function Au(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=Fs(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function pu(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0;if(void 0!==n&&1===r&&(1===r||i))return Ys(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=Ps(t);r&&(n=Bc(n));for(const t of e){let e=Ts(As(t,o));if(r&&(e=Bc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(bf)}return i?Ps(t):vu(e,t,o,s)}function vu(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.getPossibleInstantsFor(t);if(1===r.length)return r[0];if(1===n)throw new RangeError(Tf);if(r.length)return r[3===n?1:0];const o=Ps(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor(ys(t,-Gf));return Iu(e.getOffsetNanosecondsFor(ys(t,Gf))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(Fs(o,i)))[2===n?0:r.length-1]}function wu(e){if(Math.abs(e)>=Gf)throw new RangeError(wf);return e}function Iu(e){if(e>Gf)throw new RangeError(If);return e}function bu(e,t,n){return wc(Ds(Ss(t.epochNanoseconds,(e=>{if(qu(e))throw new RangeError(Of);return Gu(e,5)})(e?xu(n):n))))}function Tu(e,t,n,r,o){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Object.create(null);const i=t(r.timeZone),s=e(r.calendar);return{...r,...Ou(s,i,r,n?xu(o):o,a)}}function Mu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return bc(Du(e(a),n,t?xu(r):r,o),a)}function Eu(e,t,n,r,o){const{calendar:a}=n;return Tc(Nu(e(a),n,t?xu(r):r,o),a)}function Hu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const a=n.calendar,i=e(a);let s=_u(i,n);t&&(r=Zu(r)),r.sign<0&&(s=i.dateAdd(s,{...Dd,months:1}),s=Ru(s,-1));const c=i.dateAdd(s,r,o);return Mc(_u(i,c),a)}function Cu(e,t,n){return Hc(ku(t,e?xu(n):n)[0])}function Ou(e,t,n,r,o){const a=Gu(r,5);let i=n.epochNanoseconds;if(qu(r)){const s=Yg(n,t);i=Ss(vu(t,{...Nu(e,s,{...r,...Nd},o),...Ri(kd,s)}),a)}else i=Ss(i,a),nc(o);return{epochNanoseconds:Ds(i)}}function Du(e,t,n,r){const[o,a]=ku(t,n);return Os({...Nu(e,t,{...n,...Nd,days:n.days+a},r),...o})}function Nu(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);nc(r);const o=n.days+Gu(n,5)[0];return o?Cs(Ru(t,o)):t}function _u(e,t){return Ru(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function ku(e,t){const[n,r]=Gu(t,5),[o,a]=_s(Ns(e)+r);return[o,n+a]}function Ru(e,t){return t?{...e,...Vs(Ls(e)+t*Ff)}:e}function Lu(e,t,n){const r=e(n.calendar);return Uu(n)?[n,r,t(n.timeZone)]:[{...n,...Ud},r]}function Pu(e){return e?Dc:Ps}function Yu(e,t){return t?Ui(Ou,e,t):Ui(Du,e)}function Bu(e,t){return t?Ui(Lh,e,t):Ui(Ph,e)}function Uu(e){return e&&e.epochNanoseconds}function ju(e,t){return e<=6-(Uu(t)?1:0)}function Fu(e,t,n,r,o,a){const i=o(n,e);return[a(n,i,t),r(i)]}function Vu(e,t,n,r,o,a,i){const s=e(gc(i).relativeTo),c=Math.max(Xu(o),Xu(a));if(ju(c,s))return Cc(Ku(((e,t,n,r)=>{const o=Ss(Gu(e),Gu(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(Mf);return{...Dd,...Ju(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(Cf);r&&(a=xu(a));const[u,h,l]=Lu(t,n,s),f=Yu(h,l),d=Bu(h,l),g=f(u,o);return Cc(d(u,f(g,a),c))}function Zu(e){return Cc(xu(e))}function xu(e){const t={};for(const n of Td)t[n]=-1*e[n]||0;return t}function $u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Td,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(Hf);n=t}}return n}function Ku(e){for(const t of Cd)Ii(t,e[t],-Bg,Bg,1);return zu(Ts(Gu(e),$f)),e}function zu(e){if(!Number.isSafeInteger(e))throw new RangeError(Ef)}function Gu(e){return qi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,Td)}function Ju(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=Xi(r,t,Td);if(o[Td[t]]+=n*(Gf/Jf[t]),!Number.isFinite(o[Td[t]]))throw new RangeError(Mf);return o}function Wu(e){return Xi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,Td)}function qu(e){return Boolean($u(e,Hd))}function Xu(e){let t=9;for(;t>0&&!e[Td[t]];t--);return t}function Qu(e,t){return[e,t]}function eh(e){const t=Math.floor(e/kg)*kg;return[t,t+kg]}function th(e){const t=lh(e);if(void 0===t)throw new RangeError(_f(e));return t}function nh(e){const t=ch(vd(e));if(!t||t.O)throw new RangeError(_f(e));return Tc(t.I?ah(t):ih(t))}function rh(e){if(e.calendar!==gd)throw new RangeError(kf(e.calendar))}function oh(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=ph(e.timeZone),a=Ug(o);return Ic(pu(a,qs(e),t,n,r,!a.R,e.O),o,rl(e.calendar))}function ah(e){return sh(Os(qs(e)))}function ih(e){return sh(Cs(Xs(e)))}function sh(e){return{...e,calendar:rl(e.calendar)}}function ch(e){const t=Xg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:fh(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...dh(e.slice(5)),...gh(e[16]),I:Boolean(e[6]),O:n,offset:n?void 0:t}})(t):void 0}function uh(e){const t=Wg.exec(e);return t?(e=>({isoYear:fh(e),isoMonth:parseInt(e[4]),isoDay:1,...gh(e[5])}))(t):void 0}function hh(e){const t=qg.exec(e);return t?(e=>({isoYear:Wd,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...gh(e[3])}))(t):void 0}function lh(e,t){const n=em.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(kf(n));return wu((Ah(e[2])*zf+Ah(e[3])*Kf+Ah(e[4])*$f+mh(e[5]||""))*yh(e[1]))})(n,t):void 0}function fh(e){const t=yh(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(kf(-0));return t*n}function dh(e){const t=Ah(e[3]);return{..._s(mh(e[4]||""))[0],isoHour:Ah(e[1]),isoMinute:Ah(e[2]),isoSecond:60===t?59:t}}function gh(e){let t,n;const r=[];if(e.replace(tm,((e,o,a)=>{const i=Boolean(o),[s,c]=a.split("=").reverse();if(c){if("u-ca"===c)r.push(s),t||(t=i);else if(i||/[A-Z]/.test(c))throw new RangeError(kf(e))}else{if(n)throw new RangeError(kf(e));n=s}return""})),r.length>1&&t)throw new RangeError(kf(e));return{timeZone:n,calendar:r[0]||gd}}function mh(e){return parseInt(e.padEnd(9,"0"))}function Sh(e){return new RegExp(`^${e}$`,"i")}function yh(e){return e&&"+"!==e?-1:1}function Ah(e){return void 0===e?0:parseInt(e)}function ph(e){const t=wh(e);return"number"==typeof t?fu(t):t?(e=>{if(om.test(e))throw new RangeError(vf);return e.toLowerCase().split("/").map(((e,t)=>(e.length<=3||/\d/.test(e))&&!/etc|yap/.test(e)?e.toUpperCase():e.replace(/baja|dumont|[a-z]+/g,((e,n)=>e.length<=2&&!t||"in"===e||"chat"===e?e.toUpperCase():e.length>2||!n?ji(e).replace(/island|noronha|murdo|rivadavia|urville/,ji):e)))).join("/")})(e):_g}function vh(e){const t=wh(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:_g}function wh(e){const t=lh(e=e.toUpperCase(),1);return void 0!==t?t:e!==_g?rm(e):void 0}function Ih(e,t){return ps(e.epochNanoseconds,t.epochNanoseconds)}function bh(e,t){return ps(e.epochNanoseconds,t.epochNanoseconds)}function Th(e,t){return Mh(e,t)||Eh(e,t)}function Mh(e,t){return Zi(Ls(e),Ls(t))}function Eh(e,t){return Zi(Ns(e),Ns(t))}function Hh(e,t){if(e===t)return 1;const n=Nc(e),r=Nc(t);if(n===r)return 1;try{return vh(n)===vh(r)}catch(e){}}function Ch(e,t,n,r){const o=ac(e,Sc(r),3,5),a=Uh(t.epochNanoseconds,n.epochNanoseconds,...o);return Cc(e?xu(a):a)}function Oh(e,t,n,r,o,a){const i=xh(r.calendar,o.calendar),s=Sc(a),[c,u,h,l]=ac(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=ps(d,f);let m;if(g)if(c<6)m=Uh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!Hh(e,t))throw new RangeError(pf);return e})(r.timeZone,o.timeZone)),a=e(i);m=Yh(a,n,r,o,g,c,s),m=Zc(m,d,c,u,h,l,r,Dc,Ui(Ou,a,n))}else m=Dd;return Cc(n?xu(m):m)}function Dh(e,t,n,r,o){const a=xh(n.calendar,r.calendar),i=Sc(o),[s,c,u,h]=ac(t,i,6),l=Ps(n),f=Ps(r),d=ps(f,l);let g;if(d)if(s<=6)g=Uh(l,f,s,c,u,h);else{const t=e(a);g=Bh(t,n,r,d,s,i),g=Zc(g,f,s,c,u,h,n,Ps,Ui(Du,t))}else g=Dd;return Cc(t?xu(g):g)}function Nh(e,t,n,r,o){const a=xh(n.calendar,r.calendar),i=Sc(o);return kh(t,(()=>e(a)),n,r,...ac(t,i,6,9,6),i)}function _h(e,t,n,r,o){const a=xh(n.calendar,r.calendar),i=Sc(o),s=ac(t,i,9,9,8),c=e(a);return kh(t,(()=>c),_u(c,n),_u(c,r),...s,i)}function kh(e,t,n,r,o,a,i,s,c){const u=Ps(n),h=Ps(r);let l;if(ps(h,u))if(6===o)l=Uh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=Zc(l,h,o,a,i,s,n,Ps,Ui(Nu,e)))}else l=Dd;return Cc(e?xu(l):l)}function Rh(e,t,n,r){const o=Sc(r),[a,i,s,c]=ac(e,o,5,5),u=Kc(Zh(t,n),Uc(i,s),c),h={...Dd,...Wu(u,a)};return Cc(e?xu(h):h)}function Lh(e,t,n,r,o,a){const i=ps(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?jh(n.epochNanoseconds,r.epochNanoseconds,o):Yh(e,t,n,r,i,o,a):Dd}function Ph(e,t,n,r,o){const a=Ps(t),i=Ps(n),s=ps(i,a);return s?r<=6?jh(a,i,r):Bh(e,t,n,s,r,o):Dd}function Yh(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...Ru(s,u++*-r),...i},f=vu(e,l),ps(c,f)===-r}const a=Yg(t,e),i=Ri(kd,a),s=Yg(n,e),c=n.epochNanoseconds;let u=0;const h=Zh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(Sf);const d=Ts(As(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...Dd,days:Fh(h,l)}):e.dateUntil(s,c,a,i),...Wu(u)}}function Bh(e,t,n,r,o,a){let i=t,s=Zh(t,n);return Math.sign(s)===-r&&(i=Ru(t,r),s+=Gf*r),{...e.dateUntil(i,n,o,a),...Wu(s)}}function Uh(e,t,n,r,o,a){return{...Dd,...Ju(xc(As(e,t),r,o,a),n)}}function jh(e,t,n){return{...Dd,...Ju(As(e,t),n)}}function Fh(e,t){return Vh(Ls(e),Ls(t))}function Vh(e,t){return Math.trunc((t-e)/Ff)}function Zh(e,t){return Ns(t)-Ns(e)}function xh(e,t){if(!_c(e,t))throw new RangeError(yf);return e}function $h(e){function t(e){return((e,t)=>({...Gh(e,t),o:e.month,day:parseInt(e.day)}))(Es(n,e),r)}const n=im(e),r=ol(e);return{id:e,h:Kh(t),l:zh(t)}}function Kh(e){return Mi((t=>{const n=Ls(t);return e(n)}),WeakMap)}function zh(e){const t=e(0).year-Jd;return Mi((n=>{let r,o=Us(n-t);const a=[],i=[];do{o+=400*Ff}while((r=e(o)).year<=n);do{o+=(1-r.day)*Ff,r.year===n&&(a.push(o),i.push(r.o)),o-=Ff}while((r=e(o)).year>=n);return{i:a.reverse(),u:Pf(i.reverse())}}))}function Gh(e,t){let n,r,o=Jh(e);if(e.era){const i=yd[t];void 0!==i&&(a=(a=e.era).normalize("NFD").toLowerCase().replace(/[^a-z0-9]/g,""),n=Ad[a]||a,r=o,o=ll(r,i[n]||0))}var a;return{era:n,eraYear:r,year:o}}function Jh(e){return parseInt(e.relatedYear||e.year)}function Wh(e){const{year:t,o:n,day:r}=this.h(e),{u:o}=this.l(t);return[t,o[n]+1,r]}function qh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return this.l(e).i[t-1]+(n-1)*Ff}function Xh(e){const t=nl(this,e),n=nl(this,e-1),r=t.length;if(r>n.length){const e=dl(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Qh(e){return Vh(qh.call(this,e),qh.call(this,e+1))}function el(e,t){const{i:n}=this.l(e);let r=t+1,o=n;return r>n.length&&(r=1,o=this.l(e+1).i),Vh(n[t-1],o[r-1])}function tl(e){return this.l(e).i.length}function nl(e,t){return Object.keys(e.l(t).u)}function rl(e){if((e=e.toLowerCase())!==gd&&e!==md&&ol(e)!==ol(im(e).resolvedOptions().calendar))throw new RangeError(Af(e));return e}function ol(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function al(e){return this.m(e)[0]}function il(e){return this.m(e)[1]}function sl(e){const[t]=this.v(e);return Vh(this.p(t),Ls(e))+1}function cl(e){const t=sm.exec(e);if(!t)throw new RangeError(lf(e));return[parseInt(t[1]),Boolean(t[2])]}function ul(e,t,n){return e+(t||n&&e>=n?1:0)}function hl(e,t){return e-(t&&e>=t?1:0)}function ll(e,t){return(t+e)*(Math.sign(t)||1)||0}function fl(e){return yd[gl(e)]}function dl(e){return pd[gl(e)]}function gl(e){return ol(e.id||gd)}function ml(e,t,n,r){const o=pl(n,r,hd,[],td);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=wl(o),i=e(o.timeZone);return{epochNanoseconds:pu(t(i),{...r,...a},void 0!==o.offset?th(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...Ud}}function Sl(e,t,n){const r=pl(e,t,hd,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function yl(e,t,n,r){const o=pl(e,t,cd,r);return e.yearMonthFromFields(o,n)}function Al(e,t,n,r){const o=pl(e,n,hd,arguments.length>4&&void 0!==arguments[4]?arguments[4]:[]);return t&&void 0!==o.month&&void 0===o.monthCode&&void 0===o.year&&(o.year=Wd),e.monthDayFromFields(o,r)}function pl(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];return vl(t,[...e.fields(n),...o].sort(),r)}function vl(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!n;const o={};let a,i=0;for(const r of t){if(r===a)throw new RangeError(tf(r));if("constructor"===r||"__proto__"===r)throw new RangeError(ef(r));let t=e[r];if(void 0!==t)i=1,lm[r]&&(t=lm[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(Ql(r));o[r]=dd[r]}a=r}if(r&&!i)throw new TypeError(nf(t));return o}function wl(e,t){return tc(fm({...dd,...e}),t)}function Il(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];const i=[...e.fields(r),...o].sort();let s=vl(t,i,a);const c=vl(n,i);return s=e.mergeFields(s,c),vl(s,i,[])}function bl(e,t){const n=pl(e,t,fd);return e.monthDayFromFields(n)}function Tl(e,t,n){const r=pl(e,t,ud);return e.yearMonthFromFields(r,n)}function Ml(e,t,n,r,o){t=Ri(n=e.fields(n),t),r=vl(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=vl(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function El(e,t){let{era:n,eraYear:r,year:o}=t;const a=fl(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(sf);if(!a)throw new RangeError(af);const e=a[n];if(void 0===e)throw new RangeError(uf(n));const t=ll(r,e);if(void 0!==o&&o!==t)throw new RangeError(cf);o=t}else if(void 0===o)throw new TypeError(hf(a));return o}function Hl(e,t,n,r){let{month:o,monthCode:a}=t;if(void 0!==a){const t=((e,t,n,r)=>{const o=e.P(n),[a,i]=cl(t);let s=ul(a,i,o);if(i){const t=dl(e);if(void 0===t)throw new RangeError(mf);if(t>0){if(s>t)throw new RangeError(mf);if(void 0===o){if(1===r)throw new RangeError(mf);s--}}else{if(s!==-t)throw new RangeError(mf);if(void 0===o&&1===r)throw new RangeError(mf)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(ff);o=t,r=1}else if(void 0===o)throw new TypeError(df);return Ii("month",o,1,e.j(n),r)}function Cl(e,t,n,r,o){return wi(t,"day",1,e.N(r,n),o)}function Ol(e,t,n,r){let o=0;const a=[];for(const e of n)void 0!==t[e]?o=1:a.push(e);if(Object.assign(e,t),o)for(const t of r||a)delete e[t]}function Dl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gd;return Ic(e.epochNanoseconds,t,n)}function Nl(e,t){return bc(Yg(t,e))}function _l(e,t){return Tc(Yg(t,e))}function kl(e,t){return Hc(Yg(t,e))}function Rl(e,t){return{...e,calendar:t}}function Ll(e,t){if(e===t)return e;const n=Nc(e),r=Nc(t);if(n===r||n===gd)return t;if(r===gd)return e;throw new RangeError(yf)}function Pl(e,t){return n=>n===gd?e:n===md||n===Sd?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),am(n))}function Yl(e,t,n){const r=new Set(n);return o=>(((e,t)=>{for(const n of t)if(n in e)return 1;return 0})(o=Li(r,o),e)||Object.assign(o,t),n&&(o.timeZone=_g,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function Bl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ul;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fm;for(var i=arguments.length,s=new Array(i>2?i-2:0),c=2;c<i;c++)s[c-2]=arguments[c];const u=t(r&&r(...s),o,a,n),h=u.resolvedOptions();return[u,...jl(e,h,s)]}}function Ul(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(Lf);n.timeZone=e}return new Fd(t,n)}function jl(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==gd)&&e!==t)throw new RangeError(yf)})(Nc(e.calendar),t.calendar,o),r(e,t))))}function Fl(e){const t=Vl();return Fs(t,e.getOffsetNanosecondsFor(t))}function Vl(){return Is(Date.now(),xf)}function Zl(){return Jm||(Jm=(new Fd).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?La:u?La[s]||Ua(s,{}):La[s]&&La[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=Pa(n,r))&&i.value:n[r],!Fa(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;ja(a,o)}(e.sham||o&&o.sham)&&Ya(a,"sham",!0),Ba(n,r,a,e)}})({target:"Array",proto:!0,forced:ot((function(){return!Array(1).includes()}))},{includes:function(e){return pi(this,e,arguments.length>1?arguments[1]:void 0)}}),vi("includes");const xl=(e,t)=>`Non-integer ${e}: ${t}`,$l=(e,t)=>`Non-positive ${e}: ${t}`,Kl=(e,t)=>`Non-finite ${e}: ${t}`,zl=e=>`Cannot convert bigint to ${e}`,Gl=e=>`Invalid bigint: ${e}`,Jl="Cannot convert Symbol to string",Wl="Invalid object",ql=(e,t,n,r,o)=>o?ql(e,o[t],o[n],o[r]):Xl(e,t)+`; must be between ${n}-${r}`,Xl=(e,t)=>`Invalid ${e}: ${t}`,Ql=e=>`Missing ${e}`,ef=e=>`Invalid field ${e}`,tf=e=>`Duplicate field ${e}`,nf=e=>"No valid fields: "+e.join(),rf=(e,t,n)=>Xl(e,t)+"; must be "+Object.keys(n).join(),of="Invalid calling context",af="Forbidden era/eraYear",sf="Mismatching era/eraYear",cf="Mismatching year/eraYear",uf=e=>`Invalid era: ${e}`,hf=e=>"Missing year"+(e?"/era/eraYear":""),lf=e=>`Invalid monthCode: ${e}`,ff="Mismatching month/monthCode",df="Missing month/monthCode",gf="Cannot guess year",mf="Invalid leap month",Sf="Invalid protocol results",yf="Mismatching Calendars",Af=e=>`Invalid Calendar: ${e}`,pf="Mismatching TimeZones",vf="Forbidden ICU TimeZone",wf="Out-of-bounds offset",If="Out-of-bounds TimeZone gap",bf="Invalid TimeZone offset",Tf="Ambiguous offset",Mf="Out-of-bounds date",Ef="Out-of-bounds duration",Hf="Cannot mix duration signs",Cf="Missing relativeTo",Of="Cannot use large units",Df="Required smallestUnit or largestUnit",Nf="smallestUnit > largestUnit",_f=e=>`Cannot parse: ${e}`,kf=e=>`Invalid substring: ${e}`,Rf=e=>`Cannot format ${e}`,Lf="Cannot specify TimeZone",Pf=Ui(_i,((e,t)=>t)),Yf=Ui(_i,((e,t,n)=>n)),Bf=Ui(Vi,2),Uf={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},jf=Object.keys(Uf),Ff=864e5,Vf=1e3,Zf=1e3,xf=1e6,$f=1e9,Kf=6e10,zf=36e11,Gf=864e11,Jf=[1,Zf,xf,$f,Kf,zf,Gf],Wf=jf.slice(0,6),qf=Fi(Wf),Xf=["offset"],Qf=["timeZone"],ed=Wf.concat(Xf),td=ed.concat(Qf),nd=["era","eraYear"],rd=nd.concat(["year"]),od=["year"],ad=["monthCode"],id=["month"].concat(ad),sd=["day"],cd=id.concat(od),ud=ad.concat(od),hd=sd.concat(cd),ld=sd.concat(id),fd=sd.concat(ad),dd=Yf(Wf,0),gd="iso8601",md="gregory",Sd="japanese",yd={[md]:{bce:-1,ce:0},[Sd]:{bce:-1,ce:0,meiji:1867,taisho:1911,showa:1925,heisei:1988,reiwa:2018},ethioaa:{era0:0},ethiopic:{era0:0,era1:5500},coptic:{era0:-1,era1:0},roc:{beforeroc:-1,minguo:0},buddhist:{be:0},islamic:{ah:0},indian:{saka:0},persian:{ap:0}},Ad={bc:"bce",ad:"ce"},pd={chinese:13,dangi:13,hebrew:-6},vd=Ui(as,"string"),wd=Ui(as,"boolean"),Id=Ui(as,"number"),bd=Ui(as,"function"),Td=jf.map((e=>e+"s")),Md=Fi(Td),Ed=Td.slice(0,6),Hd=Td.slice(6),Cd=Hd.slice(1),Od=Pf(Td),Dd=Yf(Td,0),Nd=Yf(Ed,0),_d=Ui(Bi,Td),kd=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],Rd=["isoDay","isoMonth","isoYear"],Ld=kd.concat(Rd),Pd=Fi(Rd),Yd=Fi(kd),Bd=Fi(Ld),Ud=Yf(Yd,0),jd=Ui(Bi,Ld),Fd=Intl.DateTimeFormat,Vd="en-GB",Zd=1e8,xd=Zd*Ff,$d=[Zd,0],Kd=[-Zd,0],zd=275760,Gd=-271821,Jd=1970,Wd=1972,qd=12,Xd=Us(1868,9,8),Qd=Mi(Ws,WeakMap),eg="smallestUnit",tg="unit",ng="roundingIncrement",rg="fractionalSecondDigits",og="relativeTo",ag={constrain:0,reject:1},ig=Object.keys(ag),sg={compatible:0,reject:1,earlier:2,later:3},cg={reject:0,use:1,prefer:2,ignore:3},ug={auto:0,never:1,critical:2,always:3},hg={auto:0,never:1,critical:2},lg={auto:0,never:1},fg={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},dg=Ui(Ac,eg),gg=Ui(Ac,"largestUnit"),mg=Ui(Ac,tg),Sg=Ui(pc,"overflow",ag),yg=Ui(pc,"disambiguation",sg),Ag=Ui(pc,"offset",cg),pg=Ui(pc,"calendarName",ug),vg=Ui(pc,"timeZoneName",hg),wg=Ui(pc,"offset",lg),Ig=Ui(pc,"roundingMode",fg),bg="PlainYearMonth",Tg="PlainMonthDay",Mg="PlainDate",Eg="PlainDateTime",Hg="PlainTime",Cg="ZonedDateTime",Og="Instant",Dg="Duration",Ng=[Math.floor,e=>Wi(e)?Math.floor(e):Math.round(e),Math.ceil,e=>Wi(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>Wi(e)?Math.trunc(e)||0:Math.round(e),e=>e<0?Math.floor(e):Math.ceil(e),e=>Math.sign(e)*Math.round(Math.abs(e))||0,e=>Wi(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],_g="UTC",kg=5184e3,Rg=Bs(1847),Lg=Bs((new Date).getUTCFullYear()+10),Pg=/0+$/,Yg=Mi(Au,WeakMap),Bg=2**32-1,Ug=Mi((e=>{const t=wh(e);return"object"==typeof t?new Fg(t):new jg(t||0)}));class jg{constructor(e){this.R=e}getOffsetNanosecondsFor(){return this.R}getPossibleInstantsFor(e){return[Ys(e,this.R)]}B(){}}class Fg{constructor(e){this.q=(e=>{function t(e){const t=xi(e,a,i),[s,c]=eh(t),u=r(s),h=r(c);return u===h?u:n(o(s,c),u,h,e)}function n(t,n,r,o){let a,i;for(;(void 0===o||void 0===(a=o<t[0]?n:o>=t[1]?r:void 0))&&(i=t[1]-t[0]);){const n=t[0]+Math.floor(i/2);e(n)===r?t[1]=n:t[0]=n+1}return a}const r=Mi(e),o=Mi(Qu);let a=Rg,i=Lg;return{J(e){const n=t(e-86400),r=t(e+86400),o=e-n,a=e-r;if(n===r)return[o];const i=t(o);return i===t(a)?[e-i]:n>r?[o,a]:[]},_:t,B(e,t){const s=xi(e,a,i);let[c,u]=eh(s);const h=kg*t,l=t<0?()=>u>a||(a=s,0):()=>c<i||(i=s,0);for(;l();){const a=r(c),i=r(u);if(a!==i){const r=o(c,u);n(r,a,i);const s=r[0];if((Zi(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=Es(e,t*Vf);return Bs(Jh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.q._(ks(e))*$f}getPossibleInstantsFor(e){const[t,n]=[Bs((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*xf+r.isoMicrosecond*Zf+r.isoNanosecond];var r;return this.q.J(t).map((e=>Ds(ys(Is(e,$f),n))))}B(e,t){const[n,r]=Rs(e),o=this.q.B(n+(t>0||r?1:0),t);if(void 0!==o)return Is(o,$f)}}const Vg="([+−-])",Zg="(?:[.,](\\d{1,9}))?",xg=`(?:(?:${Vg}(\\d{6}))|(\\d{4}))-?(\\d{2})`,$g="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Zg+")?)?",Kg=Vg+$g,zg=xg+"-?(\\d{2})(?:[T ]"+$g+"(Z|"+Kg+")?)?",Gg="\\[(!?)([^\\]]*)\\]",Jg=`((?:${Gg}){0,9})`,Wg=Sh(xg+Jg),qg=Sh("(?:--)?(\\d{2})-?(\\d{2})"+Jg),Xg=Sh(zg+Jg),Qg=Sh("T?"+$g+"(?:"+Kg+")?"+Jg),em=Sh(Kg),tm=new RegExp(Gg,"g"),nm=Sh(`${Vg}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Zg}H)?(?:(\\d+)${Zg}M)?(?:(\\d+)${Zg}S)?)?`),rm=Mi((e=>new Fd(Vd,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),om=/^(AC|AE|AG|AR|AS|BE|BS|CA|CN|CS|CT|EA|EC|IE|IS|JS|MI|NE|NS|PL|PN|PR|PS|SS|VS)T$/,am=Mi($h),im=Mi((e=>new Fd(Vd,{calendar:e,timeZone:_g,era:"short",year:"numeric",month:"short",day:"numeric"}))),sm=/^M(\d{2})(L?)$/,cm={era:us,eraYear:fs,year:fs,month:gs,monthCode:us,day:gs},um=Yf(Wf,fs),hm=Yf(Td,ds),lm=Object.assign({},cm,um,hm,{offset:us}),fm=Ui(ki,Wf,kd),dm={dateAdd(e,t,n){const r=nc(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Gu(t,5)[0],a||i)o=((e,t,n,r,o)=>{let[a,i,s]=e.v(t);if(n){const[t,r]=e.$(a,i);a+=n,i=ul(t,r,e.P(a)),i=Ii("month",i,1,e.j(a),o)}return r&&([a,i]=e.G(a,i,r)),s=Ii("day",s,1,e.N(a,i),o),e.p(a,i,s)})(this,e,a,i,r);else{if(!s&&!c)return e;o=Ls(e)}return o+=(7*s+c)*Ff,Cs(Vs(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=Fh({...e,...Ud},{...t,...Ud});return 7===n&&([r,o]=zi(o,7)),{...Dd,weeks:r,days:o}}const r=this.v(e),o=this.v(t);let[a,i,s]=((e,t,n,r,o,a,i)=>{let s=o-t,c=a-n,u=i-r;if(s||c){const h=Math.sign(s||c);let l=e.N(o,a),f=0;if(Math.sign(u)===-h){const r=l;[o,a]=e.G(o,a,-h),s=o-t,c=a-n,l=e.N(o,a),f=h<0?-r:l}if(u=i-Math.min(r,l)+f,s){const[r,i]=e.$(t,n),[u,l]=e.$(o,a);if(c=u-r||Number(l)-Number(i),Math.sign(c)===-h){const n=h<0&&-e.j(o);s=(o-=h)-t,c=a-ul(r,i,e.P(o))+(n||e.j(o))}}}return[s,c,u]})(this,...r,...o);return 8===n&&(i+=this.V(a,r[0]),a=0),{...Dd,years:a,months:i,days:s}},dateFromFields(e,t){const n=nc(t),r=El(this,e),o=Hl(this,e,r,n),a=Cl(this,e,o,r,n);return Tc(Cs(this.L(r,o,a)),this.id||gd)},yearMonthFromFields(e,t){const n=nc(t),r=El(this,e),o=Hl(this,e,r,n);return Mc(Hs(this.L(r,o,1)),this.id||gd)},monthDayFromFields(e,t){const n=nc(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=cl(o),l=bi(e,"day");const t=this.k(s,c,l);if(!t)throw new RangeError(gf);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(ff);r&&(h=Ii("month",h,1,qd,1),l=Ii("day",l,1,$s(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Wd:El(this,e),h=Hl(this,e,u,n),l=Cl(this,e,h,u,n);const t=this.P(u);c=h===t,s=hl(h,t);const o=this.k(s,c,l);if(!o)throw new RangeError(gf);[u,h]=o}return Ec(Cs(this.L(u,h,l)),this.id||gd)},fields(e){return fl(this)&&e.includes("year")?[...e,...nd]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return Ol(n,t,id),fl(this)&&(Ol(n,t,rd),this.id===Sd&&Ol(n,t,ld,nd)),n},inLeapYear(e){const[t]=this.v(e);return this.K(t)},monthsInYear(e){const[t]=this.v(e);return this.j(t)},daysInMonth(e){const[t,n]=this.v(e);return this.N(t,n)},daysInYear(e){const[t]=this.v(e);return this.X(t)},dayOfYear:sl,era(e){return this.nn(e)[0]},eraYear(e){return this.nn(e)[1]},monthCode(e){const[t,n]=this.v(e),[r,o]=this.$(t,n);return((e,t)=>"M"+Bf(e)+(t?"L":""))(r,o)},dayOfWeek:Gs,daysInWeek:()=>7},gm={dayOfYear:sl,v:Zs,p:Us},mm=Object.assign({},gm,{weekOfYear:al,yearOfWeek:il,m(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=Ks(f+e),r=e||1,o=t(Ki(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=Gs(e),a=this.dayOfYear(e),i=Ki(o-1,7),s=a-1,c=Ki(i-s,7),u=t(c);let h,l=Math.floor((s-u)/7)+1,f=e.isoYear;return l?l>n(0)&&(l=1,f++):(l=n(-1),f--),[l,f,h]}}),Sm={dayOfYear:sl,v:Wh,p:qh,weekOfYear:al,yearOfWeek:il,m:()=>[]},ym=Pl(Object.assign({},dm,mm,{v:Zs,nn(e){return this.id===md?Js(e):this.id===Sd?Qd(e):[]},$:(e,t)=>[t,0],k(e,t){if(!t)return[Wd,e]},K:zs,P(){},j:xs,V:e=>e*qd,N:$s,X:Ks,L:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),p:Us,G:(e,t,n)=>(e+=Gi(n,qd),(t+=Ji(n,qd))<1?(e--,t+=qd):t>qd&&(e++,t-=qd),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},dm,Sm,{v:Wh,nn(e){const t=this.h(e);return[t.era,t.eraYear]},$(e,t){const n=Xh.call(this,e);return[hl(t,n),n===t]},k(e,t,n){let[r,o,a]=Wh.call(this,{isoYear:Wd,isoMonth:qd,isoDay:31});const i=Xh.call(this,r),s=o===i;1===(Zi(e,hl(o,i))||Zi(Number(t),Number(s))||Zi(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=Xh.call(this,a),s=ul(e,t,i);if(t===(s===i)&&n<=el.call(this,a,s))return[a,s]}},K(e){const t=Qh.call(this,e);return t>Qh.call(this,e-1)&&t>Qh.call(this,e+1)},P:Xh,j:tl,V(e,t){const n=t+e,r=Math.sign(e),o=r<0?-1:0;let a=0;for(let e=t;e!==n;e+=r)a+=tl.call(this,e+o);return a},N:el,X:Qh,L(e,t,n){return Vs(qh.call(this,e,t,n))},p:qh,G(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(Mf);if(n<0)for(;t<1;)t+=tl.call(this,--e);else{let n;for(;t>(n=tl.call(this,e));)t-=n,e++}}return[e,t]},year(e){return this.h(e).year},month(e){const{year:t,o:n}=this.h(e),{u:r}=this.l(t);return r[n]+1},day(e){return this.h(e).day}})),Am="numeric",pm=["timeZoneName"],vm={month:Am,day:Am},wm={year:Am,month:Am},Im=Object.assign({},wm,{day:Am}),bm={hour:Am,minute:Am,second:Am},Tm=Object.assign({},Im,bm),Mm=Object.assign({},Tm,{timeZoneName:"short"}),Em=Object.keys(wm),Hm=Object.keys(vm),Cm=Object.keys(Im),Om=Object.keys(bm),Dm=["dateStyle"],Nm=Em.concat(Dm),_m=Hm.concat(Dm),km=Cm.concat(Dm,["weekday"]),Rm=Om.concat(["dayPeriod","timeStyle"]),Lm=km.concat(Rm),Pm=Lm.concat(pm),Ym=pm.concat(Rm),Bm=pm.concat(km),Um=pm.concat(["day","weekday"],Rm),jm=pm.concat(["year","weekday"],Rm),Fm={},Vm=[Yl(Lm,Tm),Oc],Zm=[Yl(Pm,Mm),Oc,0,(e,t)=>{const n=Nc(e.timeZone);if(t&&Nc(t.timeZone)!==n)throw new RangeError(pf);return n}],xm=[Yl(Lm,Tm,pm),Ls],$m=[Yl(km,Im,Ym),Ls],Km=[Yl(Rm,bm,Bm),e=>Ns(e)/xf],zm=[Yl(Nm,wm,Um),Ls,1],Gm=[Yl(_m,vm,jm),Ls,1];let Jm;function Wm(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError(of);$S(this,t(...arguments))}function i(e,t){return Object.defineProperties((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.call(this,s(this),...n)}),Ei(t))}function s(t){const n=xS(t);if(!n||n.branding!==e)throw new TypeError(of);return n}return Object.defineProperties(a.prototype,{...Ci(Ni(i,n)),...Hi(Ni(i,r)),...Oi("Temporal."+e)}),Object.defineProperties(a,{...Hi(o),...Ei(e)}),[a,e=>{const t=Object.create(a.prototype);return $S(t,e),t},s]}function qm(e){return e=e.concat("id").sort(),t=>{if(!function(e,t){for(const n of t)if(!(n in e))return 0;return 1}(t,e))throw new TypeError("Invalid protocol");return t}}function Xm(e){if(xS(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function Qm(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{F:o}=e;const a=xS(n)||{},{branding:i}=a,s=i===Mg||t.includes(i)?a:mS(n);return o[r](s)};return n}function eS(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?ym(r):(o=r,Object.assign(Object.create(qS),{C:o})))[n](e);var r,o};return t}function tS(){throw new TypeError("Cannot use valueOf")}function nS(e){let{calendar:t}=e;return"string"==typeof t?new Jy(t):t}function rS(e,t){if(t=Sc(t),Ti(e)){const n=xS(e);if(n&&n.branding===Tg)return nc(t),n;const r=wS(e);return Al(Yy(r||gd),!r,e,t)}const n=function(e,t){const n=hh(vd(t));if(n)return rh(n),Ec(Xs(n));const r=nh(t),{calendar:o}=r,a=e(o),[i,s,c]=a.v(r),[u,h]=a.$(i,s),[l,f]=a.k(u,h,c);return Ec(Cs(a.L(l,f,c)),o)}(ym,e);return nc(t),n}function oS(e,t,n){return wu(ts(t.call(e,cy(wc(n)))))}function aS(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ay;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Ui(t[o],e,bd(e[o]));return r}function iS(e,t){return"string"==typeof e?Ug(e):aS(e,t)}function sS(e){return iS(e,iy)}function cS(e){if(Ti(e)){const t=xS(e);if(t)switch(t.branding){case Og:return t;case Cg:return wc(t.epochNanoseconds)}}return function(e){const t=ch(e=us(e));if(!t)throw new RangeError(_f(e));let n;if(t.O)n=0;else{if(!t.offset)throw new RangeError(_f(e));n=th(t.offset)}return t.timeZone&&lh(t.timeZone,1),wc(Ys(qs(t),n))}(e)}function uS(e,t,n){const r=t.B(cS(n).epochNanoseconds,e);return r?cy(wc(r)):null}function hS(e){return Ti(e)?(xS(e)||{}).timeZone||fy(e):(e=>ph(function(e){const t=ch(e);return t&&(t.timeZone||t.O&&_g||t.offset)||e}(vd(e))))(e)}function lS(e,t){if(Ti(e)){const n=xS(e)||{};switch(n.branding){case Hg:return nc(t),n;case Eg:return nc(t),Hc(n);case Cg:return nc(t),kl(sS,n)}return function(e,t){const n=nc(t);return Hc(wl(vl(e,qf,[],1),n))}(e,t)}return nc(t),function(e){let t,n=(e=>{const t=Qg.exec(e);return t?(gh(t[10]),dh(t)):void 0})(vd(e));if(!n){if(n=ch(e),!n)throw new RangeError(_f(e));if(!n.I)throw new RangeError(_f(e));if(n.O)throw new RangeError(kf("Z"));rh(n)}if((t=uh(e))&&Qs(t))throw new RangeError(_f(e));if((t=hh(e))&&Qs(t))throw new RangeError(_f(e));return Hc(tc(n,1))}(e)}function fS(e){return void 0===e?void 0:lS(e)}function dS(e,t){if(t=Sc(t),Ti(e)){const n=xS(e);return n&&n.branding===bg?(nc(t),n):yl(Ly(vS(e)),e,t)}const n=function(e,t){const n=uh(vd(t));if(n)return rh(n),Mc(Hs(Xs(n)));const r=nh(t);return Mc(_u(e(r.calendar),r))}(ym,e);return nc(t),n}function gS(e,t){if(t=Sc(t),Ti(e)){const n=xS(e)||{};switch(n.branding){case Eg:return nc(t),n;case Mg:return nc(t),bc({...n,...Ud});case Cg:return nc(t),Nl(sS,n)}return function(e,t,n){const r=pl(e,t,hd,[],Wf),o=nc(n);return bc(Os({...e.dateFromFields(r,yc(n,o)),...wl(r,o)}))}(Py(vS(e)),e,t)}const n=function(e){const t=ch(vd(e));if(!t||t.O)throw new RangeError(_f(e));return bc(ah(t))}(e);return nc(t),n}function mS(e,t){if(t=Sc(t),Ti(e)){const n=xS(e)||{};switch(n.branding){case Mg:return nc(t),n;case Eg:return nc(t),Tc(n);case Cg:return nc(t),_l(sS,n)}return Sl(Py(vS(e)),e,t)}const n=nh(e);return nc(t),n}function SS(e,t,n){return es(t.call(e,wy(Tc(n,e))))}function yS(e){return t=>"string"==typeof t?ym(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Ui(t[o],e,e[o]);return r})(t,e)}function AS(e){if(Ti(e)){const t=xS(e);return t&&t.branding===Dg?t:function(e){const t=vl(e,Md);return Cc(Ku({...Dd,...t}))}(e)}return function(e){const t=(e=>{const t=nm.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=$i(o,Jf[a])),void 0!==e){if(r)throw new RangeError(kf(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(kf(e));return t})(e),n=1,t&&(o=mh(t)*(Jf[a]/$f),r=1)}return i+s}let n=0,r=0,o=0,a={...Di(Td,[t(e[2]),t(e[3]),t(e[4]),t(e[5]),t(e[6],e[7],5),t(e[8],e[9],4),t(e[10],e[11],3)]),...Xi(o,2,Td)};if(!n)throw new RangeError(nf(Td));return yh(e[1])<0&&(a=xu(a)),a})(t):void 0})(vd(e));if(!t)throw new RangeError(_f(e));return Cc(Ku(t))}(e)}function pS(e){if(void 0!==e){if(Ti(e)){const t=xS(e)||{};switch(t.branding){case Cg:case Mg:return t;case Eg:return Tc(t)}const n=vS(e);return{...ml(hS,iS,Py(n),e),calendar:n}}return function(e){const t=ch(vd(e));if(!t)throw new RangeError(_f(e));if(t.timeZone)return oh(t,t.offset?th(t.offset):void 0);if(t.O)throw new RangeError(_f(e));return ih(t)}(e)}}function vS(e){return wS(e)||gd}function wS(e){const{calendar:t}=e;if(void 0!==t)return IS(t)}function IS(e){return Ti(e)?(xS(e)||{}).calendar||Wy(e):(e=>rl(function(e){const t=ch(e)||uh(e)||hh(e);return t?t.calendar:e}(vd(e))))(e)}function bS(e,t){if(t=Sc(t),Ti(e)){const n=xS(e);if(n&&n.branding===Cg)return rc(t),n;const r=vS(e);return function(e,t,n,r,o,a){const i=pl(n,o,hd,Qf,td),s=e(i.timeZone),[c,u,h]=rc(a),l=n.dateFromFields(i,yc(a,c)),f=wl(i,c);return Ic(pu(t(s),{...l,...f},void 0!==i.offset?th(i.offset):void 0,u,h),s,r)}(hS,iS,Py(r),r,e,t)}return function(e,t){const n=ch(vd(e));if(!n||!n.timeZone)throw new RangeError(_f(e));const{offset:r}=n,o=r?th(r):void 0,[,a,i]=rc(t);return oh(n,o,a,i)}(e,t)}function TS(e){return Ni((e=>t=>e(MS(t))),e)}function MS(e){return Yg(e,sS)}function ES(){const e=Fd.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(Fd),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);nA.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new Fd(e,t),r=n.resolvedOptions(),o=r.locale,a=Ri(Object.keys(t),r),i=Mi(OS),s=function(){let e;for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];const c=r.map(((t,n)=>{const r=xS(t),o=(r||{}).branding;if(n&&e&&e!==o)throw new TypeError("Mismatching types for formatting");return e=o,r}));return e?i(e)(o,a,...c):[n,...r]};return s.U=n,s}(e,t))};for(const e in t){const n=t[e],o=e.startsWith("format")&&HS(e);"function"==typeof n.value?n.value="constructor"===e?r:o||CS(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function HS(e){return function(){const t=nA.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function CS(e){return function(){return nA.get(this).U[e](...arguments)}}function OS(e){const t=DS[e];if(!t)throw new TypeError(Rf(e));return Bl(t,Mi(Ul))}const DS={Instant:Vm,PlainDateTime:xm,PlainDate:$m,PlainTime:Km,PlainYearMonth:zm,PlainMonthDay:Gm},NS=Bl(Vm),_S=Bl(Zm),kS=Bl(xm),RS=Bl($m),LS=Bl(Km),PS=Bl(zm),YS=Bl(Gm),BS={era:function(e){if(void 0!==e)return vd(e)},eraYear:Qi,year:ts,month:es,daysInMonth:es,daysInYear:es,inLeapYear:wd,monthsInYear:es},US={monthCode:vd},jS={day:es},FS={dayOfWeek:es,dayOfYear:es,weekOfYear:function(e){if(void 0!==e)return es(e)},yearOfWeek:Qi,daysInWeek:es},VS=Object.assign({},BS,US,jS,FS),ZS=new WeakMap,xS=ZS.get.bind(ZS),$S=ZS.set.bind(ZS),KS={...Qm(BS,[bg]),...Qm(FS,[]),...Qm(US,[bg,Tg]),...Qm(jS,[Tg])},zS=eS(VS),GS=eS({...BS,...US}),JS=eS({...US,...jS}),WS={calendarId:e=>Nc(e.calendar)},qS=Ni(((e,t)=>function(n){const{C:r}=this;return e(r[t](wy(Tc(n,r))))}),VS),XS=_i((e=>t=>t[e]),Td.concat("sign")),QS=_i(((e,t)=>e=>e[kd[t]]),Wf),ey={epochSeconds:function(e){return ks(e.epochNanoseconds)},epochMilliseconds:Oc,epochMicroseconds:function(e){return bs(e.epochNanoseconds,Zf)},epochNanoseconds:function(e){return bs(e.epochNanoseconds)}},ty=Ui(Li,new Set(["branding"])),[ny,ry,oy]=Wm(Tg,Ui((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gd,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Wd;const a=fs(t),i=fs(n),s=e(r);return Ec(Cs(Xs({isoYear:fs(o),isoMonth:a,isoDay:i})),s)}),IS),{...WS,...JS},{getISOFields:ty,getCalendar:nS,with(e,t,n){return ry(function(e,t,n,r,o){const a=Sc(o);return((e,t,n,r)=>{const o=Il(e,t,n,hd);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(jy,e,this,Xm(t),n))},equals:(e,t)=>function(e,t){return!Mh(e,t)&&_c(e.calendar,t.calendar)}(e,rS(t)),toPlainDate(e,t){return wy(function(e,t,n,r){return((e,t,n)=>Ml(e,t,fd,os(n),od))(e(t.calendar),n,r)}(Uy,e,this,t))},toLocaleString(e,t,n){const[r,o]=YS(t,n,e);return r.format(o)},toString:nu,toJSON:e=>nu(e),valueOf:tS},{from:(e,t)=>ry(rS(e,t))}),ay={getOffsetNanosecondsFor:oS,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,py(bc(n,gd)))].map((e=>uy(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(ps),Iu(Ts(As(r[0],r[o-1])))),r}},iy={getOffsetNanosecondsFor:oS},[sy,cy,uy]=Wm(Og,(function(e){return wc(Ds(ws(hs(e))))}),ey,{add:(e,t)=>cy(bu(0,e,AS(t))),subtract:(e,t)=>cy(bu(1,e,AS(t))),until:(e,t,n)=>Ky(Ch(0,e,cS(t),n)),since:(e,t,n)=>Ky(Ch(1,e,cS(t),n)),round:(e,t)=>cy(function(e,t){const[n,r,o]=ic(t,5,1);return wc(xc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!Ih(e,t)}(e,cS(t)),toZonedDateTime(e,t){const n=os(t);return Xy(Dl(e,hS(n.timeZone),IS(n.calendar)))},toZonedDateTimeISO:(e,t)=>Xy(Dl(e,hS(t))),toLocaleString(e,t,n){const[r,o]=NS(t,n,e);return r.format(o)},toString:(e,t)=>qc(hS,sS,e,t),toJSON:e=>qc(hS,sS,e),valueOf:tS},{from:e=>cy(cS(e)),fromEpochSeconds:e=>cy(function(e){return wc(Ds(Is(e,$f)))}(e)),fromEpochMilliseconds:e=>cy(function(e){return wc(Ds(Is(e,xf)))}(e)),fromEpochMicroseconds:e=>cy(function(e){return wc(Ds(ws(hs(e),Zf)))}(e)),fromEpochNanoseconds:e=>cy(function(e){return wc(Ds(ws(hs(e))))}(e)),compare:(e,t)=>Ih(cS(e),cS(t))}),[hy,ly]=Wm("TimeZone",(e=>{const t=function(e){return ph(vd(e))}(e);return{branding:"TimeZone",id:t,F:Ug(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{F:n}=e;return n.getPossibleInstantsFor(gS(t)).map((e=>cy(wc(e))))},getOffsetNanosecondsFor:(e,t)=>{let{F:n}=e;return n.getOffsetNanosecondsFor(cS(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=cS(t).epochNanoseconds;return fu(aS(this,iy).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gd;const r=cS(t).epochNanoseconds,o=aS(this,iy).getOffsetNanosecondsFor(r);return py(bc(Fs(r,o),IS(n)))},getInstantFor(e,t,n){const r=gS(t),o=oc(n),a=aS(this);return cy(wc(vu(a,r,o)))},getNextTransition:(e,t)=>{let{F:n}=e;return uS(1,n,t)},getPreviousTransition:(e,t)=>{let{F:n}=e;return uS(-1,n,t)},equals(e,t){return!!Hh(this,hS(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=hS(e);return"string"==typeof t?new hy(t):t}}),fy=qm(Object.keys(ay)),[dy,gy]=Wm(Hg,(function(){return Hc(tc(Ni(fs,Di(kd,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0])),1))}),QS,{getISOFields:ty,with(e,t,n){return gy(function(e,t,n){return Hc(((e,t,n)=>{const r=nc(n);return wl({...Ri(qf,e),...vl(t,qf)},r)})(e,t,n))}(this,Xm(t),n))},add:(e,t)=>gy(Cu(0,e,AS(t))),subtract:(e,t)=>gy(Cu(1,e,AS(t))),until:(e,t,n)=>Ky(Rh(0,e,lS(t),n)),since:(e,t,n)=>Ky(Rh(1,e,lS(t),n)),round:(e,t)=>gy(function(e,t){const[n,r,o]=ic(t,5);var a;return Hc((a=o,Yc(e,Uc(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!Eh(e,t)}(e,lS(t)),toZonedDateTime:(e,t)=>Xy(function(e,t,n,r,o){const a=os(o),i=t(a.plainDate),s=e(a.timeZone);return Ic(vu(n(s),{...i,...r}),s,i.calendar)}(hS,mS,iS,e,t)),toPlainDateTime:(e,t)=>py(function(e,t){return bc(Os({...e,...t}))}(e,mS(t))),toLocaleString(e,t,n){const[r,o]=LS(t,n,e);return r.format(o)},toString:ru,toJSON:e=>ru(e),valueOf:tS},{from:(e,t)=>gy(lS(e,t)),compare:(e,t)=>Eh(lS(e),lS(t))}),[my,Sy,yy]=Wm(bg,Ui((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gd,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=fs(t),i=fs(n),s=e(r);return Mc(Hs(Xs({isoYear:a,isoMonth:i,isoDay:fs(o)})),s)}),IS),{...WS,...GS},{getISOFields:ty,getCalendar:nS,with(e,t,n){return Sy(function(e,t,n,r,o){const a=Sc(o);return Mc(((e,t,n,r)=>{const o=Il(e,t,n,cd);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(By,e,this,Xm(t),n))},add:(e,t,n)=>Sy(Hu(Zy,0,e,AS(t),n)),subtract:(e,t,n)=>Sy(Hu(Zy,1,e,AS(t),n)),until:(e,t,n)=>Ky(_h(xy,0,e,dS(t),n)),since:(e,t,n)=>Ky(_h(xy,1,e,dS(t),n)),equals:(e,t)=>function(e,t){return!Mh(e,t)&&_c(e.calendar,t.calendar)}(e,dS(t)),toPlainDate(e,t){return wy(function(e,t,n,r){return((e,t,n)=>Ml(e,t,ud,os(n),sd))(e(t.calendar),n,r)}(Uy,e,this,t))},toLocaleString(e,t,n){const[r,o]=PS(t,n,e);return r.format(o)},toString:tu,toJSON:e=>tu(e),valueOf:tS},{from:(e,t)=>Sy(dS(e,t)),compare:(e,t)=>Mh(dS(e),dS(t))}),[Ay,py]=Wm(Eg,Ui((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:gd;return bc(Os(qs(Ni(fs,Di(Ld,[t,n,r,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0])))),e(o))}),IS),{...WS,...zS,...QS},{getISOFields:ty,getCalendar:nS,with(e,t,n){return py(function(e,t,n,r,o){const a=Sc(o);return bc(((e,t,n,r)=>{const o=Il(e,t,n,hd,Wf),a=nc(r);return Os({...e.dateFromFields(o,yc(r,a)),...wl(o,a)})})(e(t.calendar),n,r,a))}(Uy,e,this,Xm(t),n))},withCalendar:(e,t)=>py(Rl(e,IS(t))),withPlainDate:(e,t)=>py(function(e,t){return bc({...e,...t},Ll(e.calendar,t.calendar))}(e,mS(t))),withPlainTime:(e,t)=>py(function(e){return bc({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ud})}(e,fS(t))),add:(e,t,n)=>py(Mu(Fy,0,e,AS(t),n)),subtract:(e,t,n)=>py(Mu(Fy,1,e,AS(t),n)),until:(e,t,n)=>Ky(Dh(Vy,0,e,gS(t),n)),since:(e,t,n)=>Ky(Dh(Vy,1,e,gS(t),n)),round:(e,t)=>py(function(e,t){return bc(Lc(e,...ic(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!Th(e,t)&&_c(e.calendar,t.calendar)}(e,gS(t)),toZonedDateTime:(e,t,n)=>Xy(function(e,t,n,r){const o=((e,t,n,r)=>{const o=oc(r);return vu(e(t),n,o)})(e,n,t,r);return Ic(Ds(o),n,t.calendar)}(iS,e,hS(t),n)),toPlainDate:e=>wy(Tc(e)),toPlainTime:e=>gy(Hc(e)),toPlainYearMonth(e){return Sy(function(e,t,n){const r=e(t.calendar);return Mc({...t,...Tl(r,n)})}(Ly,e,this))},toPlainMonthDay(e){return ry(function(e,t,n){return bl(e(t.calendar),n)}(Yy,e,this))},toLocaleString(e,t,n){const[r,o]=kS(t,n,e);return r.format(o)},toString:Qc,toJSON:e=>Qc(e),valueOf:tS},{from:(e,t)=>py(gS(e,t)),compare:(e,t)=>Th(gS(e),gS(t))}),[vy,wy,Iy]=Wm(Mg,Ui((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:gd;return Tc(Cs(Xs(Ni(fs,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),IS),{...WS,...zS},{getISOFields:ty,getCalendar:nS,with(e,t,n){return wy(function(e,t,n,r,o){const a=Sc(o);return((e,t,n,r)=>{const o=Il(e,t,n,hd);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(Uy,e,this,Xm(t),n))},withCalendar:(e,t)=>wy(Rl(e,IS(t))),add:(e,t,n)=>wy(Eu(Fy,0,e,AS(t),n)),subtract:(e,t,n)=>wy(Eu(Fy,1,e,AS(t),n)),until:(e,t,n)=>Ky(Nh(Vy,0,e,mS(t),n)),since:(e,t,n)=>Ky(Nh(Vy,1,e,mS(t),n)),equals:(e,t)=>function(e,t){return!Mh(e,t)&&_c(e.calendar,t.calendar)}(e,mS(t)),toZonedDateTime(e,t){const n=!Ti(t)||t instanceof hy?{timeZone:t}:t;return Xy(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):Ud;return Ic(vu(n(a),{...r,...s}),a,r.calendar)}(hS,lS,iS,e,n))},toPlainDateTime:(e,t)=>py(function(e){return bc(Os({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ud}))}(e,fS(t))),toPlainYearMonth(e){return Sy(function(e,t,n){return Tl(e(t.calendar),n)}(Ly,e,this))},toPlainMonthDay(e){return ry(function(e,t,n){return bl(e(t.calendar),n)}(Yy,e,this))},toLocaleString(e,t,n){const[r,o]=RS(t,n,e);return r.format(o)},toString:eu,toJSON:e=>eu(e),valueOf:tS},{from:(e,t)=>wy(mS(e,t)),compare:(e,t)=>Mh(mS(e),mS(t))}),by={fields:(e,t,n)=>[...t.call(e,n)]},Ty=Object.assign({dateFromFields:(e,t,n,r)=>Iy(t.call(e,Object.assign(Object.create(null),n),r))},by),My=Object.assign({yearMonthFromFields:(e,t,n,r)=>yy(t.call(e,Object.assign(Object.create(null),n),r))},by),Ey=Object.assign({monthDayFromFields:(e,t,n,r)=>oy(t.call(e,Object.assign(Object.create(null),n),r))},by),Hy={mergeFields:(e,t,n,r)=>os(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},Cy=Object.assign({},Ty,Hy),Oy=Object.assign({},My,Hy),Dy=Object.assign({},Ey,Hy),Ny={dateAdd:(e,t,n,r,o)=>Iy(t.call(e,wy(Tc(n,e)),Ky(Cc(r)),o))},_y=Object.assign({},Ny,{dateUntil:(e,t,n,r,o,a)=>zy(t.call(e,wy(Tc(n,e)),wy(Tc(r,e)),Object.assign(Object.create(null),a,{largestUnit:jf[o]})))}),ky=Object.assign({},Ny,{day:SS}),Ry=Object.assign({},_y,{day:SS}),Ly=yS(My),Py=yS(Ty),Yy=yS(Ey),By=yS(Oy),Uy=yS(Cy),jy=yS(Dy),Fy=yS(Ny),Vy=yS(_y),Zy=yS(ky),xy=yS(Ry),[$y,Ky,zy]=Wm(Dg,(function(){return Cc(Ku(Ni(ds,Di(Td,[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,arguments.length>9&&void 0!==arguments[9]?arguments[9]:0]))))}),{...XS,blank:function(e){return!e.sign}},{with:(e,t)=>Ky(function(e,t){return Cc((n=e,r=t,Ku({...n,...vl(r,Md)})));var n,r}(e,t)),negated:e=>Ky(Zu(e)),abs:e=>Ky(function(e){return-1===e.sign?Zu(e):e}(e)),add:(e,t,n)=>Ky(Vu(pS,Vy,iS,0,e,AS(t),n)),subtract:(e,t,n)=>Ky(Vu(pS,Vy,iS,1,e,AS(t),n)),round:(e,t)=>Ky(function(e,t,n,r,o){const a=Xu(r),[i,s,c,u,h]=((e,t,n)=>{e=mc(e,eg);let r=gg(e);const o=n(e[og]);let a=lc(e);const i=Ig(e,7);let s=dg(e);if(void 0===r&&void 0===s)throw new RangeError(Df);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),vc(r,s),a=fc(a,s,1),[r,s,a,i,o]})(o,a,e);if(ju(Math.max(a,i),h))return Cc(Ku(((e,t,n,r,o)=>{const a=xc(Gu(e),n,r,o);return{...Dd,...Ju(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(Cf);const[l,f,d]=Lu(t,n,h),g=Pu(d),m=Yu(f,d),S=Bu(f,d);let y=0;r.weeks&&7===s&&(y=r.weeks,r={...r,weeks:0});let[A,p]=Fu(r,i,l,g,m,S);const v=r.sign,w=$u(A);if(v&&w&&v!==w)throw new RangeError(Sf);return w&&(A=Zc(A,p,i,s,c,u,l,g,m)),A.weeks+=y,Cc(A)}(pS,Vy,iS,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=Xu(r),[i,s]=((e,t)=>{const n=t((e=mc(e,tg))[og]);let r=mg(e);return r=rs(tg,r),[r,n]})(o,e);if(ju(Math.max(i,a),s))return((e,t)=>Ts(Gu(e),Jf[t],1))(r,i);if(!s)throw new RangeError(Cf);const[c,u,h]=Lu(t,n,s),l=Pu(h),f=Yu(u,h);return((e,t,n,r,o,a)=>{const i=$u(e),[s,c]=kc(_d(n,e),n,i,r,o,a),u=Rc(t,s,c);return e[Td[n]]+u*i})(...Fu(r,i,c,l,f,Bu(u,h)),i,c,l,f)}(pS,Vy,iS,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):ou(e)},toString:ou,toJSON:e=>ou(e),valueOf:tS},{from:e=>Ky(AS(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(gc(a).relativeTo),s=Math.max(Xu(r),Xu(o));if(Yi(Td,r,o))return 0;if(ju(s,i))return ps(Gu(r),Gu(o));if(!i)throw new RangeError(Cf);const[c,u,h]=Lu(t,n,i),l=Pu(h),f=Yu(u,h);return ps(l(f(c,r)),l(f(c,o)))}(pS,Fy,iS,AS(e),AS(t),n)}),Gy={toString:e=>e.id,toJSON:e=>e.id,...KS,dateAdd:(e,t,n,r)=>{let{id:o,F:a}=e;return wy(Tc(a.dateAdd(mS(t),AS(n),r),o))},dateUntil:(e,t,n,r)=>{let{F:o}=e;return Ky(Cc(o.dateUntil(mS(t),mS(n),function(e){return e=gc(e),gg(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,F:o}=e;return wy(Sl(o,t,n,function(e){return e===gd?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,F:o}=e;return Sy(yl(o,t,n,function(e){return e===gd?od:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,F:o}=e;return ry(Al(o,0,t,n,function(e){return e===gd?sd:[]}(r)))},fields(e,t){let{F:n}=e;const r=new Set(hd),o=[];for(const e of t){if(vd(e),!r.has(e))throw new RangeError(ef(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{F:r}=e;return r.mergeFields(Pi(ns(t)),Pi(ns(n)))}},[Jy]=Wm("Calendar",(e=>{const t=function(e){return rl(vd(e))}(e);return{branding:"Calendar",id:t,F:ym(t)}}),{id:e=>e.id},Gy,{from(e){const t=IS(e);return"string"==typeof t?new Jy(t):t}}),Wy=qm(Object.keys(Gy).slice(4)),[qy,Xy]=Wm(Cg,Ui((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:gd;return Ic(Ds(ws(hs(n))),t(r),e(o))}),IS,hS),{...ey,...WS,...TS(zS),...TS(QS),offset:e=>fu(MS(e).offsetNanoseconds),offsetNanoseconds:e=>MS(e).offsetNanoseconds,timeZoneId:e=>Nc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=Yg(t,n),[o,a]=jc(r),i=Ts(As(vu(n,o),vu(n,a)),zf,1);if(i<=0)throw new RangeError(Sf);return i}(iS,e)},{getISOFields:e=>function(e,t){const n=Yg(t,e);return{calendar:t.calendar,...Ri(Bd,n),offset:fu(n.offsetNanoseconds),timeZone:t.timeZone}}(sS,e),getCalendar:nS,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new hy(t):t},with(e,t,n){return Xy(function(e,t,n,r,o,a){const i=Sc(a),{calendar:s,timeZone:c}=n;return Ic(((e,t,n,r,o)=>{const a=Il(e,n,r,hd,ed,Xf),[i,s,c]=rc(o,2);return pu(t,{...e.dateFromFields(a,yc(o,i)),...wl(a,i)},th(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(Uy,iS,e,this,Xm(t),n))},withCalendar:(e,t)=>Xy(Rl(e,IS(t))),withTimeZone:(e,t)=>Xy(function(e,t){return{...e,timeZone:t}}(e,hS(t))),withPlainDate:(e,t)=>Xy(function(e,t,n){const r=t.timeZone,o=e(r),a={...Yg(t,o),...n},i=Ll(t.calendar,n.calendar);return Ic(pu(o,a,a.offsetNanoseconds,2),r,i)}(iS,e,mS(t))),withPlainTime:(e,t)=>Xy(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ud;const r=t.timeZone,o=e(r),a={...Yg(t,o),...n};return Ic(pu(o,a,a.offsetNanoseconds,2),r,t.calendar)}(iS,e,fS(t))),add:(e,t,n)=>Xy(Tu(Fy,iS,0,e,AS(t),n)),subtract:(e,t,n)=>Xy(Tu(Fy,iS,1,e,AS(t),n)),until:(e,t,n)=>Ky(Cc(Oh(Vy,iS,0,e,bS(t),n))),since:(e,t,n)=>Ky(Cc(Oh(Vy,iS,1,e,bS(t),n))),round:(e,t)=>Xy(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=ic(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=Yg(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=vu(t,a),u=vu(t,i);if(vs(s,c,u))throw new RangeError(Sf);return zc(Rc(s,c,u),r)?u:c})(jc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=pu(u,Lc(Fs(r,e),i,s,c),e,2,0,1)}return Ic(r,o,a)}(iS,e,t)),startOfDay:e=>Xy(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>vu(t,e(Yg(n,t))))(Fc,e(n),t);return Ic(o,n,r)}(iS,e)),equals:(e,t)=>function(e,t){return!bh(e,t)&&!!Hh(e.timeZone,t.timeZone)&&_c(e.calendar,t.calendar)}(e,bS(t)),toInstant:e=>cy(function(e){return wc(e.epochNanoseconds)}(e)),toPlainDateTime:e=>py(Nl(sS,e)),toPlainDate:e=>wy(_l(sS,e)),toPlainTime:e=>gy(kl(sS,e)),toPlainYearMonth(e){return Sy(function(e,t,n){return Tl(e(t.calendar),n)}(Ly,e,this))},toPlainMonthDay(e){return ry(function(e,t,n){return bl(e(t.calendar),n)}(Yy,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=_S(t,n,e);return r.format(o)},toString:(e,t)=>Xc(sS,e,t),toJSON:e=>Xc(sS,e),valueOf:tS},{from:(e,t)=>Xy(bS(e,t)),compare:(e,t)=>bh(bS(e),bS(t))}),Qy=Object.defineProperties({},{...Oi("Temporal.Now"),...Hi({timeZoneId:()=>Zl(),instant:()=>cy(wc(Vl())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zl();return Xy(Ic(Vl(),hS(t),IS(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl();return Xy(Ic(Vl(),hS(e),gd))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zl();return py(bc(Fl(sS(hS(t))),IS(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl();return py(bc(Fl(sS(hS(e))),gd))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zl();return wy(Tc(Fl(sS(hS(t))),IS(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl();return wy(Tc(Fl(sS(hS(e))),gd))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl();return gy(Hc(Fl(sS(hS(e)))))}})}),eA=Object.defineProperties({},{...Oi("Temporal"),...Hi({PlainYearMonth:my,PlainMonthDay:ny,PlainDate:vy,PlainTime:dy,PlainDateTime:Ay,ZonedDateTime:qy,Instant:sy,Calendar:Jy,TimeZone:hy,Duration:$y,Now:Qy})}),tA=ES(),nA=new WeakMap;function rA(e){return e*Math.PI/180}function oA(e){return 180*e/Math.PI}Object.create(Intl),Hi({DateTimeFormat:tA});class aA{constructor(e,t,n,r,o){this.locationName=null,this.setLocationName(e),this.setLatitude(t),this.setLongitude(n),this.setElevation(r),this.setTimeZone(o)}getElevation(){return this.elevation}setElevation(e){if("number"!=typeof e)throw new TypeError("Invalid elevation");if(e<0)throw new RangeError(`elevation ${e} must be zero or positive`);this.elevation=e}setLatitude(e){if("number"!=typeof e)throw new TypeError("Invalid latitude");if(e<-90||e>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);this.latitude=e}getLatitude(){return this.latitude}setLongitude(e){if("number"!=typeof e)throw new TypeError("Invalid longitude");if(e<-180||e>180)throw new RangeError(`Longitude ${e} out of range [-180,180]`);this.longitude=e}getLongitude(){return this.longitude}getLocationName(){return this.locationName}setLocationName(e){this.locationName=e}getTimeZone(){return this.timeZoneId}setTimeZone(e){this.timeZoneId=e}}const iA=6356.9;class sA{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(sA.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(sA.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(sA.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(sA.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(sA.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(sA.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(sA.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(sA.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(sA.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(sA.ASTRONOMICAL_ZENITH)}static getTimeOffset(e,t){return null===e||isNaN(t)?null:e.add({milliseconds:t})}getSunriseOffsetByDegrees(e){const t=this.getUTCSunrise0(e);return isNaN(t)?null:this.getDateFromTime(t,!0)}getSunsetOffsetByDegrees(e){const t=this.getUTCSunset0(e);return isNaN(t)?null:this.getDateFromTime(t,!1)}getUTCSunrise0(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunrise(e){return this.getUTCSunrise(this.getAdjustedDate(),this.geoLocation,e,!1)}getUTCSunset0(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!0)}getUTCSeaLevelSunset(e){return this.getUTCSunset(this.getAdjustedDate(),this.geoLocation,e,!1)}getAdjustedDate(){return this.date}getElevationAdjustment(e){return oA(Math.acos(iA/(iA+e/1e3)))}adjustZenith(e,t){let n=e;return e===sA.GEOMETRIC_ZENITH&&(n=e+(.8333333333333333+this.getElevationAdjustment(t))),n}getUTCSunrise(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=sA.getSunriseUTC(sA.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getUTCSunset(e,t,n,r){const o=r?t.getElevation():0,a=this.adjustZenith(n,o);let i=sA.getSunsetUTC(sA.getJulianDay(e),t.getLatitude(),-t.getLongitude(),a);for(i/=60;i<0;)i+=24;for(;i>=24;)i-=24;return i}getTemporalHour(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();if(null===e||null===t)return NaN;const n=t.epochMilliseconds-e.epochMilliseconds;return Math.floor(n/12)}getSunTransit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSeaLevelSunrise(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getSeaLevelSunset();const n=this.getTemporalHour(e,t);return sA.getTimeOffset(e,6*n)}getDateFromTime(e,t){if(isNaN(e))return null;let n=e,r=this.getAdjustedDate();const o=Math.trunc(n);n-=o;const a=Math.trunc(n*=60);n-=a;const i=Math.trunc(n*=60);n-=i;const s=Math.trunc(this.geoLocation.getLongitude()/15);return t&&s+o>18?r=r.add({days:-1}):!t&&s+o<6&&(r=r.add({days:1})),r.toZonedDateTime({timeZone:"UTC",plainTime:new eA.PlainTime(o,a,i,Math.trunc(1e3*n))}).withTimeZone(this.geoLocation.getTimeZone())}static getJulianDay(e){let{year:t,month:n}=e;const{day:r}=e;n<=2&&(t-=1,n+=12);const o=Math.trunc(t/100),a=Math.trunc(2-o+o/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(n+1))+r+a-1524.5}static getJulianCenturiesFromJulianDay(e){return(e-sA.JULIAN_DAY_JAN_1_2000)/sA.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*sA.JULIAN_DAYS_PER_CENTURY+sA.JULIAN_DAY_JAN_1_2000}static getSunGeometricMeanLongitude(e){let t=280.46646+e*(36000.76983+3032e-7*e);for(;t>360;)t-=360;for(;t<0;)t+=360;return t}static getSunGeometricMeanAnomaly(e){return 357.52911+e*(35999.05029-1537e-7*e)}static getEarthOrbitEccentricity(e){return.016708634-e*(42037e-9+1.267e-7*e)}static getSunEquationOfCenter(e){const t=rA(sA.getSunGeometricMeanAnomaly(e));return Math.sin(t)*(1.914602-e*(.004817+14e-6*e))+Math.sin(t+t)*(.019993-101e-6*e)+289e-6*Math.sin(t+t+t)}static getSunTrueLongitude(e){return sA.getSunGeometricMeanLongitude(e)+sA.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return sA.getSunTrueLongitude(e)-.00569-.00478*Math.sin(rA(t))}static getMeanObliquityOfEcliptic(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}static getObliquityCorrection(e){const t=125.04-1934.136*e;return sA.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(rA(t))}static getSunDeclination(e){const t=sA.getObliquityCorrection(e),n=sA.getSunApparentLongitude(e),r=Math.sin(rA(t))*Math.sin(rA(n));return oA(Math.asin(r))}static getEquationOfTime(e){const t=sA.getObliquityCorrection(e),n=sA.getSunGeometricMeanLongitude(e),r=sA.getEarthOrbitEccentricity(e),o=sA.getSunGeometricMeanAnomaly(e);let a=Math.tan(rA(t)/2);a*=a;const i=Math.sin(2*rA(n)),s=Math.sin(rA(o));return 4*oA(a*i-2*r*s+4*r*a*s*Math.cos(2*rA(n))-.5*a*a*Math.sin(4*rA(n))-1.25*r*r*Math.sin(2*rA(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=rA(e),o=rA(t);return Math.acos(Math.cos(rA(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=rA(e),o=rA(t);return-Math.acos(Math.cos(rA(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=sA.getJulianDay(e.toPlainDate()),o=sA.getJulianCenturiesFromJulianDay(r),a=sA.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=rA(n-i),c=rA(sA.getSunDeclination(o)),u=rA(t);return oA(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=sA.getJulianDay(e.toPlainDate()),o=sA.getJulianCenturiesFromJulianDay(r),a=sA.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=rA(n-i),c=rA(sA.getSunDeclination(o)),u=rA(t);return oA(Math.atan(Math.sin(s)/(Math.cos(s)*Math.sin(u)-Math.tan(c)*Math.cos(u))))+180}static getSunriseUTC(e,t,n,r){const o=sA.getJulianCenturiesFromJulianDay(e),a=sA.getSolarNoonUTC(o,n),i=sA.getJulianCenturiesFromJulianDay(e+a/1440);let s=sA.getEquationOfTime(i),c=sA.getSunDeclination(i),u=sA.getSunHourAngleAtSunrise(t,c,r),h=n-oA(u),l=4*h,f=720+l-s;const d=sA.getJulianCenturiesFromJulianDay(sA.getJulianDayFromJulianCenturies(o)+f/1440);return s=sA.getEquationOfTime(d),c=sA.getSunDeclination(d),u=sA.getSunHourAngleAtSunrise(t,c,r),h=n-oA(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=sA.getJulianCenturiesFromJulianDay(sA.getJulianDayFromJulianCenturies(e)+t/360);let r=sA.getEquationOfTime(n);const o=720+4*t-r,a=sA.getJulianCenturiesFromJulianDay(sA.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=sA.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=sA.getJulianCenturiesFromJulianDay(e),a=sA.getSolarNoonUTC(o,n),i=sA.getJulianCenturiesFromJulianDay(e+a/1440);let s=sA.getEquationOfTime(i),c=sA.getSunDeclination(i),u=sA.getSunHourAngleAtSunset(t,c,r),h=n-oA(u),l=4*h,f=720+l-s;const d=sA.getJulianCenturiesFromJulianDay(sA.getJulianDayFromJulianCenturies(o)+f/1440);return s=sA.getEquationOfTime(d),c=sA.getSunDeclination(d),u=sA.getSunHourAngleAtSunset(t,c,r),h=n-oA(u),l=4*h,f=720+l-s,f}}sA.GEOMETRIC_ZENITH=90,sA.CIVIL_ZENITH=96,sA.NAUTICAL_ZENITH=102,sA.ASTRONOMICAL_ZENITH=108,sA.JULIAN_DAY_JAN_1_2000=2451545,sA.JULIAN_DAYS_PER_CENTURY=36525;const cA=[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem",27],["Atlanta","US",33.749,-84.38798,"America/New_York",336],["Austin","US",30.26715,-97.74306,"America/Chicago",165],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad",41],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem",285],["Berlin","DE",52.52437,13.41053,"Europe/Berlin",43],["Baltimore","US",39.29038,-76.61219,"America/New_York",35],["Bogota","CO",4.60971,-74.08175,"America/Bogota",2582],["Boston","US",42.35843,-71.05977,"America/New_York",38],["Budapest","HU",47.49801,19.03991,"Europe/Budapest",104],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires",31],["Buffalo","US",42.88645,-78.87837,"America/New_York",191],["Chicago","US",41.85003,-87.65005,"America/Chicago",180],["Cincinnati","US",39.162,-84.45689,"America/New_York",267],["Cleveland","US",41.4995,-81.69541,"America/New_York",204],["Dallas","US",32.78306,-96.80667,"America/Chicago",139],["Denver","US",39.73915,-104.9847,"America/Denver",1636],["Detroit","US",42.33143,-83.04575,"America/Detroit",192],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem",63],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar",11],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem",40],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu",18],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki",26],["Houston","US",29.76328,-95.36327,"America/Chicago",30],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem",786],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg",1767],["Kiev","UA",50.45466,30.5238,"Europe/Kiev",187],["La Paz","BO",-16.5,-68.15,"America/La_Paz",3782],["Livingston","US",40.79593,-74.31487,"America/New_York",98],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles",613],["London","GB",51.50853,-.12574,"Europe/London",25],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles",96],["Marseilles","FR",43.29695,5.38107,"Europe/Paris",28],["Miami","US",25.77427,-80.19366,"America/New_York",25],["Minneapolis","US",44.97997,-93.26384,"America/Chicago",262],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne",25],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City",2240],["Montreal","CA",45.50884,-73.58781,"America/Toronto",216],["Moscow","RU",55.75222,37.61556,"Europe/Moscow",144],["New York","US",40.71427,-74.00597,"America/New_York",57],["Omaha","US",41.25861,-95.93779,"America/Chicago",315],["Ottawa","CA",45.41117,-75.69812,"America/Toronto",71],["Panama City","PA",8.9936,-79.51973,"America/Panama",17],["Paris","FR",48.85341,2.3488,"Europe/Paris",42],["Pawtucket","US",41.87871,-71.38256,"America/New_York",0],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem",54],["Philadelphia","US",39.95233,-75.16379,"America/New_York",8],["Phoenix","US",33.44838,-112.07404,"America/Phoenix",366],["Pittsburgh","US",40.44062,-79.99589,"America/New_York",239],["Providence","US",41.82399,-71.41283,"America/New_York",0],["Portland","US",45.52345,-122.67621,"America/Los_Angeles",15],["Saint Louis","US",38.62727,-90.19789,"America/Chicago",149],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow",11],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles",20],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles",28],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo",769],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles",56],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney",58],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem",15],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem",0],["Toronto","CA",43.70011,-79.4163,"America/Toronto",175],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver",70],["White Plains","US",41.03399,-73.76291,"America/New_York",82],["Washington DC","US",38.89511,-77.03637,"America/New_York",6],["Worcester","US",42.26259,-71.80229,"America/New_York",164]],uA=new Map,hA={0:"UTC",4:"America/Puerto_Rico",5:"America/New_York",6:"America/Chicago",7:"America/Denver",8:"America/Los_Angeles",9:"America/Anchorage",10:"Pacific/Honolulu",11:"Pacific/Pago_Pago",13:"Pacific/Funafuti",14:"Pacific/Guam",15:"Pacific/Palau",16:"Pacific/Chuuk"},lA=new Map;class fA extends aA{constructor(e,t,n,r,o,a,i,s){const c="number"==typeof e?e:parseFloat(e);if(isNaN(c)||c<-90||c>90)throw new RangeError(`Latitude ${e} out of range [-90,90]`);const u="number"==typeof t?t:parseFloat(t);if(isNaN(u)||u<-180||u>180)throw new RangeError(`Longitude ${t} out of range [-180,180]`);super(o,c,u,"number"==typeof s&&s>0?s:0,r),this.il=Boolean(n),this.cc=a,this.geoid=i}getIsrael(){return this.il}getName(){return this.getLocationName()}getShortName(){const e=this.getLocationName();if(!e)return e;const t=e.indexOf(", ");if(-1===t)return e;if("US"===this.cc&&"D"===e[t+2]){if("C"===e[t+3])return e.substring(0,t+4);if("."===e[t+3]&&"C"===e[t+4])return e.substring(0,t+6)}return e.substring(0,t)}getCountryCode(){return this.cc}getTzid(){return this.getTimeZone()}getTimeFormatter(){return function(e){const t=lA.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return lA.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return uA.get(e.toLowerCase())}toString(){return JSON.stringify(this)}static legacyTzToTzid(e,t){if(e=+e,"none"==t){if(0==e)return"UTC";return`Etc/GMT${e>0?"+":""}${e}`}if(2==e&&"israel"==t)return"Asia/Jerusalem";if("eu"==t)switch(e){case-2:return"Atlantic/Cape_Verde";case-1:return"Atlantic/Azores";case 0:return"Europe/London";case 1:return"Europe/Paris";case 2:return"Europe/Athens"}else if("usa"==t)return hA[String(-1*e)]}static getUsaTzid(e,t,n){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==n?"America/Denver":"America/Phoenix":hA[t]}static addLocation(e,t){const n=e.toLowerCase();return!uA.has(n)&&(uA.set(n,t),!0)}}for(const e of cA){const t=new fA(e[2],e[3],"IL"==e[1],e[4],e[0],e[1],void 0,e[5]);fA.addLocation(t.getName(),t)}function dA(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,Hi({Temporal:eA})),Object.defineProperties(Intl,Hi({DateTimeFormat:tA})),Object.defineProperties(Date.prototype,Hi({toTemporalInstant:function(){return cy(wc(Is(this.valueOf(),xf)))}}));class gA{constructor(t,n,r){const o=e.greg.isDate(n)?n:He.isHDate(n)?n.greg():function(e){throw new TypeError(e)}(`invalid date: ${n}`);this.date=o,this.gloc=t;const a=Temporal.PlainDate.from({year:o.getFullYear(),month:o.getMonth()+1,day:o.getDate()});this.noaa=new sA(t,a),this.useElevation=Boolean(r)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return dA(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return dA(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return dA(this.noaa.getSeaLevelSunrise())}sunset(){return dA(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return dA(this.noaa.getSeaLevelSunset())}dawn(){return dA(this.noaa.getBeginCivilTwilight())}dusk(){return dA(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new gA(this.gloc,e,this.useElevation).sunset()}nightHour(){return(this.sunrise()-this.gregEve())/12}chatzot(){const e=this.noaa.getSeaLevelSunrise(),t=this.noaa.getSeaLevelSunset();return dA(this.noaa.getSunTransit(e,t))}chatzotNight(){return new Date(this.sunrise().getTime()-6*this.nightHour())}alotHaShachar(){return this.timeAtAngle(16.1,!0)}misheyakir(){return this.timeAtAngle(11.5,!0)}misheyakirMachmir(){return this.timeAtAngle(10.2,!0)}getShaahZmanisBasedZman(e){const t=this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise(),n=this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset(),r=this.noaa.getTemporalHour(t,n),o=Math.round(r*e);return dA(sA.getTimeOffset(t,o))}sofZmanShma(){return this.getShaahZmanisBasedZman(3)}sofZmanTfilla(){return this.getShaahZmanisBasedZman(4)}getTemporalHour72(){const e=this.sunriseOffset(-72,!1,!0);return[e,(this.sunsetOffset(72,!1,!0)-e)/12]}getTemporalHourByDeg(e){const t=this.timeAtAngle(e,!0);return[t,(this.timeAtAngle(e,!1)-t)/12]}sofZmanShmaMGA(){const[e,t]=this.getTemporalHour72();return new Date(e.getTime()+3*t)}sofZmanShmaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1);return new Date(e.getTime()+3*t)}sofZmanShmaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8);return new Date(e.getTime()+3*t)}sofZmanTfillaMGA(){const[e,t]=this.getTemporalHour72();return new Date(e.getTime()+4*t)}sofZmanTfillaMGA16Point1(){const[e,t]=this.getTemporalHourByDeg(16.1);return new Date(e.getTime()+4*t)}sofZmanTfillaMGA19Point8(){const[e,t]=this.getTemporalHourByDeg(19.8);return new Date(e.getTime()+4*t)}minchaGedola(){return this.getShaahZmanisBasedZman(6.5)}minchaKetana(){return this.getShaahZmanisBasedZman(9.5)}plagHaMincha(){return this.getShaahZmanisBasedZman(10.75)}tzeit(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8.5;return this.timeAtAngle(e,!1)}neitzHaChama(){return this.sunrise()}shkiah(){return this.sunset()}beinHaShmashos(){const e=this.tzeit(7.083),t=e.getTime();return isNaN(t)?e:new Date(t-81e4)}static formatTime(e,t){const n=t.format(e),r=n.split(":");return"24"===r[0]?"00:"+r[1]:n}static roundTime(e){const t=e.getTime();if(isNaN(t))return e;const n=e.getMilliseconds(),r=e.getSeconds();if(0===r&&0===n)return e;const o=1e3*r+n;return new Date(t+(o>=3e4?6e4-o:-1*o))}static timeZoneOffset(e,t){const n=function(e,t){const n=ce("UTC",t),r=ce(e,t),o=new Date(n).getTime()-new Date(r).getTime();return Math.ceil(o/1e3/60)}(e,t),r=Math.abs(n),o=r%60;return(n<0?"+":"-")+he(Math.floor(r/60))+":"+he(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?null:ce(e,t).substring(0,19)+gA.timeZoneOffset(e,t)}sunriseOffset(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?this.seaLevelSunrise():this.sunrise();return isNaN(n.getTime())?n:(t&&(e>0&&n.getSeconds()>=30&&e++,n.setSeconds(0,0)),new Date(n.getTime()+60*e*1e3))}sunsetOffset(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?this.seaLevelSunset():this.sunset();return isNaN(n.getTime())?n:(t&&(e>0&&n.getSeconds()>=30&&e++,n.setSeconds(0,0)),new Date(n.getTime()+60*e*1e3))}}const mA={US:1,CA:1,BR:1,AU:1,NZ:1,DO:1,PR:1,GR:1,IN:1,KR:1,NP:1,ZA:1};function SA(e,t,n){var r;if("string"!=typeof e)throw new TypeError(`Bad timeStr: ${e}`);const o=(null==n||null===(r=n.location)||void 0===r?void 0:r.cc)||(null!=n&&n.il?"IL":"US"),a=null==n?void 0:n.hour12;if(void 0!==a&&!a)return e;if(!a&&void 0===mA[o])return e;const i=e.split(":");let s=parseInt(i[0],10);return s<12&&t?(t=t.replace("p","a").replace("P","A"),0===s&&(s=12)):s>12?s%=12:0===s&&(s="00"),`${s}:${i[1]}${t}`}function yA(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():We.LIGHT_CANDLES;void 0!==e?r||(s&(We.LIGHT_CANDLES_TZEIS|We.CHANUKAH_CANDLES)?i=!0:s&We.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=We.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=new gA(u,t,n.useElevation),l=c?h.sunsetOffset(c,!0):h.tzeit(n.havdalahDeg);return isNaN(l.getTime())?null:a?new pA(t,s,l,u,n.havdalahMins,e,n):new vA(t,s,l,u,e,n)}class AA extends Xe{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=gA.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=gA.formatTime(this.eventTime,s);const c=Object.assign({location:o},i);this.fmtTime=SA(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return pe.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return pe.gettext(this.getDesc(),e)}getCategories(){switch(this.getDesc()){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}}}class pA extends AA{constructor(e,t,n,r,o,a,i){super(e,"Havdalah",t,n,r,a,i),o&&(this.havdalahMins=o)}render(e){return this.renderBrief(e)+": "+this.fmtTime}renderBrief(e){let t=pe.gettext(this.getDesc(),e);if(this.havdalahMins){const n=pe.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}class vA extends AA{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}function wA(e,t,n,r,o){if(isNaN(t.getTime()))return null;const a=o.location;return new AA(e,n,r.getFlags(),t,a,r,o)}const IA=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],bA=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],TA="בַּלַּ֥יְלָה";class MA{constructor(e,t){let n=t-7;n<0&&(n+=He.monthsInYear(e));const r=235*Math.floor((e-1)/19)+(e-1)%19*12+Math.floor(((e-1)%19*7+1)/19)+n,o=204+Math.floor(r%1080*793),a=5+12*r+793*Math.floor(r/1080)+Math.floor(o/1080)-6,i=(o%1080+a%24*1080)%1080,s=(1+29*r+Math.floor(a/24))%7;this.year=e,this.month=t,this.dow=s,this.hour=a%24,this.minutes=Math.floor(i/18),this.chalakim=i%18}getYear(){return this.year}getMonth(){return this.month}getMonthName(){return He.getMonthName(this.month,this.year)}getDow(){return this.dow}getHour(){return this.hour}getMinutes(){return this.minutes}getChalakim(){return this.chalakim}render(e,t){"string"==typeof(e=e||pe.getLocaleName())&&(e=e.toLowerCase());const n="he"===e||"he-x-nonikud"===e||"h"===e,r=pe.gettext(this.getMonthName(),e),o=(n?bA:IA)[this.getDow()],a=this.getMinutes(),i=this.getHour(),s=this.getChalakim(),c=pe.gettext("Molad",e),u=pe.lookupTranslation("min",e)||"minutes",h=pe.gettext("chalakim",e);if(n){const t=`${c} ${r} יִהְיֶה בַּיּוֹם ${o} בשָׁבוּעַ, בְּשָׁעָה ${i} ${i<5?TA:i<12?"בַּבֹּקֶר":i<17?"בַּצׇּהֳרַיִים":i<21?"בָּעֶרֶב":TA}, ו-${a} ${u} ו-${s} ${h}`;return"he-x-nonikud"===e?pe.hebrewStripNikkud(t):t}const l=SA(`${i}:00`,"pm",t);return`${c} ${r.replace(/'/g,"’")}: ${o}, ${a} ${u} and ${s} ${h} after ${l}`}}class EA extends Xe{constructor(e,t,n,r){const o=new MA(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,We.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class HA extends Xe{constructor(e,t){if(super(e,`Omer ${t}`,We.OMER_COUNT),t<1||t>49)throw new RangeError(`Invalid Omer day ${t}`);this.weekNumber=Math.floor((t-1)/7)+1,this.daysWithinWeeks=t%7||7,this.omer=t}sefira(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return"he"!==e&&"translit"!==e&&(e="en"),function(e,t){G(e);const[n,r]=J(e),o=z[t],a=o.words[n];return(o.words[r]+" "+(2===n||6===n?o.infix26:o.infix)+a).normalize()}(this.omer,e)}render(e){"string"==typeof(e=e||pe.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?$(n):pe.ordinal(n,e))+" "+pe.gettext("day of the Omer",e)}renderBrief(e){return pe.gettext("Omer",e)+" "+pe.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:(G(e=this.omer),e<=20?String.fromCodePoint(9312+e-1):e<=35?String.fromCodePoint(12881+e-21):String.fromCodePoint(12977+e-36));var e}getWeeks(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}getDaysWithinWeeks(){return this.daysWithinWeeks}getTodayIs(e){if("string"==typeof(e=e||pe.getLocaleName())&&(e=e.toLowerCase()),"he"===e)return W(this.omer,"he");if("he-x-nonikud"===e){const e=W(this.omer,"he");return pe.hebrewStripNikkud(e)}return W(this.omer,"en")}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class CA extends Xe{constructor(e,t,n,r){if(!Array.isArray(t)||0===t.length||t.length>2)throw new TypeError("Bad parsha argument");super(e,"Parashat "+t.join("-"),We.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=e||pe.getLocaleName(),n=this.parsha;let r=pe.gettext(n[0],e);if(2==n.length){r+=("he"==t?"־":"-")+pe.gettext(n[1],e)}r=r.replace(/'/g,"’");return(pe.gettext("Parashat",e)+" "+r).normalize()}basename(){return this.parsha.join("-")}url(){if(this.getDate().greg().getFullYear()<100)return;const e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}var OA=Bo,DA=pr,NA=Tr,_A=at,kA=function(e,t,n){return n.get&&OA(n.get,t,{getter:!0}),n.set&&OA(n.set,t,{setter:!0}),DA.f(e,t,n)},RA=function(){var e=NA(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},LA=ot,PA=nt.RegExp,YA=PA.prototype,BA=_A&&LA((function(){var e=!0;try{PA(".","d")}catch(t){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var i in e&&(a.hasIndices="d"),a)o(i,a[i]);return Object.getOwnPropertyDescriptor(YA,"flags").get.call(t)!==r||n!==r}));BA&&kA(YA,"flags",{configurable:!0,get:RA});class UA extends Map{#e=0;#t=new Map;#n=new Map;#r;#o;#a;constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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.#r=e.maxSize,this.#o=e.maxAge||Number.POSITIVE_INFINITY,this.#a=e.onEviction}get __oldCache(){return this.#n}#i(e){if("function"==typeof this.#a)for(const[t,n]of e)this.#a(t,n.value)}#s(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.#a&&this.#a(e,t.value),this.delete(e))}#c(e,t){if(!1===this.#s(e,t))return t.value}#u(e,t){return t.expiry?this.#c(e,t):t.value}#h(e,t){const n=t.get(e);return this.#u(e,n)}#l(e,t){this.#t.set(e,t),this.#e++,this.#e>=this.#r&&(this.#e=0,this.#i(this.#n),this.#n=this.#t,this.#t=new Map)}#f(e,t){this.#n.delete(e),this.#l(e,t)}*#d(){for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield e)}}for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield e)}}get(e){if(this.#t.has(e)){const t=this.#t.get(e);return this.#u(e,t)}if(this.#n.has(e)){const t=this.#n.get(e);if(!1===this.#s(e,t))return this.#f(e,t),t.value}}set(e,t){let{maxAge:n=this.#o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r="number"==typeof n&&n!==Number.POSITIVE_INFINITY?Date.now()+n:void 0;return this.#t.has(e)?this.#t.set(e,{value:t,expiry:r}):this.#l(e,{value:t,expiry:r}),this}has(e){return this.#t.has(e)?!this.#s(e,this.#t.get(e)):!!this.#n.has(e)&&!this.#s(e,this.#n.get(e))}peek(e){return this.#t.has(e)?this.#h(e,this.#t):this.#n.has(e)?this.#h(e,this.#n):void 0}delete(e){const t=this.#t.delete(e);return t&&this.#e--,this.#n.delete(e)||t}clear(){this.#t.clear(),this.#n.clear(),this.#e=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this.#d()],n=t.length-e;n<0?(this.#t=new Map(t),this.#n=new Map,this.#e=t.length):(n>0&&this.#i(t.slice(0,n)),this.#n=new Map(t.slice(n)),this.#t=new Map,this.#e=0),this.#r=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.#t){const[t,n]=e;!1===this.#s(t,n)&&(yield[t,n.value])}for(const e of this.#n){const[t,n]=e;if(!this.#t.has(t)){!1===this.#s(t,n)&&(yield[t,n.value])}}}*entriesDescending(){let e=[...this.#t];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;!1===this.#s(r,o)&&(yield[r,o.value])}e=[...this.#n];for(let t=e.length-1;t>=0;--t){const n=e[t],[r,o]=n;if(!this.#t.has(r)){!1===this.#s(r,o)&&(yield[r,o.value])}}}*entriesAscending(){for(const[e,t]of this.#d())yield[e,t.value]}get size(){if(!this.#e)return this.#n.size;let e=0;for(const t of this.#n.keys())this.#t.has(t)||e++;return Math.min(this.#e+e,this.#r)}get maxSize(){return this.#r}entries(){return this.entriesAscending()}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this;for(const[n,r]of this.entriesAscending())e.call(t,r,n,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}const jA=0,FA=2,VA=5,ZA=6,xA=m.NISAN,$A=m.IYYAR;function KA(e){if(e<5708)return null;let t;const n=new He(15,xA,e).getDay();return t=n===jA?2:n===ZA?3:e<5764?4:n===FA?5:4,new He(t,$A,e)}const zA=new UA({maxSize:400});function GA(e,t){const n=`${e}-${t?1:0}`;let r=zA.get(n);return r||(r=new Ne(e,t),zA.set(n,r)),r}const JA=m.NISAN,WA=m.IYYAR,qA=m.SIVAN,XA=m.TAMUZ,QA=m.AV,ep=m.ELUL,tp=m.TISHREI,np=m.CHESHVAN,rp=m.KISLEV,op=m.SHVAT,ap=m.ADAR_II,ip=We.CHAG,sp=We.LIGHT_CANDLES,cp=We.YOM_TOV_ENDS,up=We.CHUL_ONLY,hp=We.IL_ONLY,lp=We.LIGHT_CANDLES_TZEIS,fp=We.CHANUKAH_CANDLES,dp=We.MAJOR_FAST,gp=We.MINOR_HOLIDAY,mp=We.EREV,Sp=We.CHOL_HAMOED,yp="🫓",Ap="🌿🍋",pp="Rosh Hashana II",vp="Erev Yom Kippur",wp="Yom Kippur",Ip="Erev Sukkot",bp="Sukkot I",Tp="Sukkot II",Mp="Sukkot III (CH''M)",Ep="Sukkot IV (CH''M)",Hp="Sukkot V (CH''M)",Cp="Sukkot VI (CH''M)",Op="Shmini Atzeret",Dp="Simchat Torah",Np="Sukkot II (CH''M)",_p="Sukkot VII (Hoshana Raba)",kp="Chanukah: 1 Candle",Rp="Tu BiShvat",Lp="Erev Purim",Pp="Purim",Yp="Shushan Purim",Bp="Erev Pesach",Up="Pesach I",jp="Pesach II",Fp="Pesach II (CH''M)",Vp="Pesach III (CH''M)",Zp="Pesach IV (CH''M)",xp="Pesach V (CH''M)",$p="Pesach VI (CH''M)",Kp="Pesach VII",zp="Pesach VIII",Gp="Pesach Sheni",Jp="Lag BaOmer",Wp="Erev Shavuot",qp="Shavuot",Xp="Shavuot I",Qp="Shavuot II",ev="Tu B'Av",tv="Rosh Hashana LaBehemot",nv="Erev Rosh Hashana",rv="Yom Yerushalayim",ov="Ben-Gurion Day",av="Family Day",iv="Yitzhak Rabin Memorial Day",sv="Herzl Day",cv="Jabotinsky Day",uv="Sigd",hv="Yom HaAliyah",lv="Yom HaAliyah School Observance",fv="Hebrew Language Day",dv={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:ov,CHANUKAH_1_CANDLE:kp,EREV_PESACH:Bp,EREV_PURIM:Lp,EREV_ROSH_HASHANA:nv,EREV_SHAVUOT:Wp,EREV_SUKKOT:Ip,EREV_YOM_KIPPUR:vp,FAMILY_DAY:av,HEBREW_LANGUAGE_DAY:fv,HERZL_DAY:sv,JABOTINSKY_DAY:cv,LAG_BAOMER:Jp,PESACH_I:Up,PESACH_II:jp,PESACH_III_CHM:Vp,PESACH_II_CHM:Fp,PESACH_IV_CHM:Zp,PESACH_SHENI:Gp,PESACH_VII:Kp,PESACH_VIII:zp,PESACH_VI_CHM:$p,PESACH_V_CHM:xp,PURIM:Pp,ROSH_HASHANA_II:pp,ROSH_HASHANA_LABEHEMOT:tv,SHAVUOT:qp,SHAVUOT_I:Xp,SHAVUOT_II:Qp,SHMINI_ATZERET:Op,SHUSHAN_PURIM:Yp,SIGD:uv,SIMCHAT_TORAH:Dp,SUKKOT_I:bp,SUKKOT_II:Tp,SUKKOT_III_CHM:Mp,SUKKOT_II_CHM:Np,SUKKOT_IV_CHM:Ep,SUKKOT_VII_HOSHANA_RABA:_p,SUKKOT_VI_CHM:Cp,SUKKOT_V_CHM:Hp,TU_BAV:ev,TU_BISHVAT:Rp,YITZHAK_RABIN_MEMORIAL_DAY:iv,YOM_HAALIYAH:hv,YOM_HAALIYAH_SCHOOL_OBSERVANCE:lv,YOM_KIPPUR:wp,YOM_YERUSHALAYIM:rv},gv=[{mm:tp,dd:2,desc:pp,flags:ip|cp,emoji:"🍏🍯"},{mm:tp,dd:9,desc:vp,flags:mp|sp},{mm:tp,dd:10,desc:wp,flags:ip|dp|cp},{mm:tp,dd:14,desc:Ip,flags:up|mp|sp,emoji:Ap},{mm:tp,dd:15,desc:bp,flags:up|ip|lp,emoji:Ap},{mm:tp,dd:16,desc:Tp,flags:up|ip|cp,emoji:Ap},{mm:tp,dd:17,desc:Mp,flags:up|Sp,chmDay:1,emoji:Ap},{mm:tp,dd:18,desc:Ep,flags:up|Sp,chmDay:2,emoji:Ap},{mm:tp,dd:19,desc:Hp,flags:up|Sp,chmDay:3,emoji:Ap},{mm:tp,dd:20,desc:Cp,flags:up|Sp,chmDay:4,emoji:Ap},{mm:tp,dd:22,desc:Op,flags:up|ip|lp},{mm:tp,dd:23,desc:Dp,flags:up|ip|cp},{mm:tp,dd:14,desc:Ip,flags:hp|mp|sp,emoji:Ap},{mm:tp,dd:15,desc:bp,flags:hp|ip|cp,emoji:Ap},{mm:tp,dd:16,desc:Np,flags:hp|Sp,chmDay:1,emoji:Ap},{mm:tp,dd:17,desc:Mp,flags:hp|Sp,chmDay:2,emoji:Ap},{mm:tp,dd:18,desc:Ep,flags:hp|Sp,chmDay:3,emoji:Ap},{mm:tp,dd:19,desc:Hp,flags:hp|Sp,chmDay:4,emoji:Ap},{mm:tp,dd:20,desc:Cp,flags:hp|Sp,chmDay:5,emoji:Ap},{mm:tp,dd:22,desc:Op,flags:hp|ip|cp},{mm:tp,dd:21,desc:_p,flags:sp|Sp,chmDay:-1,emoji:Ap},{mm:rp,dd:24,desc:kp,flags:mp|gp|fp,emoji:"🕎1️⃣"},{mm:op,dd:15,desc:Rp,flags:gp,emoji:"🌳"},{mm:ap,dd:13,desc:Lp,flags:mp|gp,emoji:"🎭️📜"},{mm:ap,dd:14,desc:Pp,flags:gp,emoji:"🎭️📜"},{mm:ap,dd:15,desc:Yp,flags:gp,emoji:"🎭️📜"},{mm:JA,dd:14,desc:Bp,flags:hp|mp|sp,emoji:"🫓🍷"},{mm:JA,dd:15,desc:Up,flags:hp|ip|cp,emoji:yp},{mm:JA,dd:16,desc:Fp,flags:hp|Sp,chmDay:1,emoji:yp},{mm:JA,dd:17,desc:Vp,flags:hp|Sp,chmDay:2,emoji:yp},{mm:JA,dd:18,desc:Zp,flags:hp|Sp,chmDay:3,emoji:yp},{mm:JA,dd:19,desc:xp,flags:hp|Sp,chmDay:4,emoji:yp},{mm:JA,dd:20,desc:$p,flags:hp|Sp|sp,chmDay:5,emoji:yp},{mm:JA,dd:21,desc:Kp,flags:hp|ip|cp,emoji:yp},{mm:JA,dd:14,desc:Bp,flags:up|mp|sp,emoji:"🫓🍷"},{mm:JA,dd:15,desc:Up,flags:up|ip|lp,emoji:"🫓🍷"},{mm:JA,dd:16,desc:jp,flags:up|ip|cp,emoji:yp},{mm:JA,dd:17,desc:Vp,flags:up|Sp,chmDay:1,emoji:yp},{mm:JA,dd:18,desc:Zp,flags:up|Sp,chmDay:2,emoji:yp},{mm:JA,dd:19,desc:xp,flags:up|Sp,chmDay:3,emoji:yp},{mm:JA,dd:20,desc:$p,flags:up|Sp|sp,chmDay:4,emoji:yp},{mm:JA,dd:21,desc:Kp,flags:up|ip|lp,emoji:yp},{mm:JA,dd:22,desc:zp,flags:up|ip|cp,emoji:yp},{mm:WA,dd:14,desc:Gp,flags:gp},{mm:WA,dd:18,desc:Jp,flags:gp,emoji:"🔥"},{mm:qA,dd:5,desc:Wp,flags:mp|sp,emoji:"⛰️🌸"},{mm:qA,dd:6,desc:qp,flags:hp|ip|cp,emoji:"⛰️🌸"},{mm:qA,dd:6,desc:Xp,flags:up|ip|lp,emoji:"⛰️🌸"},{mm:qA,dd:7,desc:Qp,flags:up|ip|cp,emoji:"⛰️🌸"},{mm:QA,dd:15,desc:ev,flags:gp,emoji:"❤️"},{mm:ep,dd:1,desc:tv,flags:gp,emoji:"🐑"},{mm:ep,dd:29,desc:nv,flags:mp|sp,emoji:"🍏🍯"}],mv=[{firstYear:5727,mm:WA,dd:28,desc:rv,chul:!0},{firstYear:5737,mm:rp,dd:6,desc:ov,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:op,dd:30,desc:av},{firstYear:5758,mm:np,dd:12,desc:iv,friSatMovetoThu:!0},{firstYear:5764,mm:WA,dd:10,desc:sv,satPostponeToSun:!0},{firstYear:5765,mm:XA,dd:29,desc:cv,satPostponeToSun:!0},{firstYear:5769,mm:np,dd:29,desc:uv,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:JA,dd:10,desc:hv,chul:!0},{firstYear:5777,mm:np,dd:7,desc:lv},{firstYear:5773,mm:m.TEVET,dd:21,desc:fv,friSatMovetoThu:!0}],Sv=We.CHAG,yv=We.IL_ONLY,Av=We.LIGHT_CANDLES_TZEIS,pv=We.CHANUKAH_CANDLES,vv=We.MINOR_FAST,wv=We.SPECIAL_SHABBAT,Iv=We.MODERN_HOLIDAY,bv=We.MAJOR_FAST,Tv=We.MINOR_HOLIDAY,Mv=We.EREV;class Ev extends Xe{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()&yv?e+"?i=on":e}urlDateSuffix(){return this.getDate().greg().getFullYear()}getEmoji(){return this.emoji?this.emoji:this.getFlags()&wv?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;const t=this.getDesc(),{LAG_BAOMER:n,LEIL_SELICHOT:r,PESACH_SHENI:o,EREV_PURIM:a,PURIM_KATAN:i,SHUSHAN_PURIM:s,TU_BAV:c,TU_BISHVAT:u,ROSH_HASHANA_LABEHEMOT:h}=dv;return[n,r,o,a,i,s,c,u,h].includes(t)?["holiday","minor"]:["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}}const Hv="Rosh Chodesh";class Cv extends Ev{constructor(e,t){super(e,`${Hv} ${t}`,We.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=pe.gettext(t,e).replace(/'/g,"’");return pe.gettext(Hv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}class Ov extends Ev{urlDateSuffix(){return le(this.getDate().greg()).replace(/-/g,"")}}const Dv="Shabbat Mevarchim Chodesh";class Nv extends Xe{constructor(e,t,n){if(super(e,`${Dv} ${t}`,We.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n==He.monthsInYear(t)?Lv:n+1,o=new MA(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=pe.gettext(this.monthName,e).replace(/'/g,"’");return pe.gettext(Dv,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}class _v extends Ev{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return pe.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const kv="Yom Kippur Katan";class Rv extends Ev{constructor(e,t){super(e,`${kv} ${t}`,vv|We.YOM_KIPPUR_KATAN),this.nextMonthName=t,this.memo=`Minor Day of Atonement on the day preceeding Rosh Chodesh ${t}`}basename(){return this.getDesc()}render(e){const t=pe.gettext(this.nextMonthName,e).replace(/'/g,"’");return pe.gettext(kv,e)+" "+t}renderBrief(e){return pe.gettext(kv,e)}url(){}}const Lv=m.NISAN,Pv=m.TAMUZ,Yv=m.AV,Bv=m.TISHREI,Uv=m.KISLEV,jv=m.TEVET,Fv=m.ADAR_I,Vv=m.ADAR_II,Zv={emoji:"🇮🇱"},xv=new UA({maxSize:400}),$v=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function Kv(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 t=xv.get(e);if(t)return t;const n=new He(1,Bv,e),r=new He(15,Lv,e),o=new Map;function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(const e of t){const t=e.date.toString(),n=o.get(t);"object"==typeof n?n[0].getFlags()&Mv?n.unshift(e):n.push(e):o.set(t,[e])}}for(const t of gv){const n=new He(t.dd,t.mm,e),r=new Ev(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new _v(n,e,Sv|Av)),a(new Ev(new He(3+(4==n.getDay()),Bv,e),dv.TZOM_GEDALIAH,vv)),a(new Ev(new He(He.dayOnOrBefore(6,7+n.abs())),dv.SHABBAT_SHUVA,wv));const i=He.shortKislev(e)?new He(1,jv,e):new He(30,Uv,e);a(new Ev(i,dv.CHAG_HABANOT,Tv));for(let t=2;t<=8;t++){const n=new He(23+t,Uv,e);a(new Ev(n,`Chanukah: ${t} Candles`,Tv|pv,{chanukahDay:t-1,emoji:"🕎"+$v[t]}))}a(new Ev(new He(32,Uv,e),dv.CHANUKAH_8TH_DAY,Tv,{chanukahDay:8,emoji:"🕎"})),a(new Ov(new He(10,jv,e),dv.ASARA_BTEVET,vv));const s=r.abs();a(new Ev(new He(He.dayOnOrBefore(6,s-43)),dv.SHABBAT_SHEKALIM,wv),new Ev(new He(He.dayOnOrBefore(6,s-30)),dv.SHABBAT_ZACHOR,wv),new Ev(new He(s-(2==r.getDay()?33:31)),dv.TAANIT_ESTHER,vv));const c=He.dayOnOrBefore(6,s-14);a(new Ev(new He(c-7),dv.SHABBAT_PARAH,wv),new Ev(new He(c),dv.SHABBAT_HACHODESH,wv),new Ev(new He(He.dayOnOrBefore(6,s-1)),dv.SHABBAT_HAGADOL,wv),new Ev(6==r.prev().getDay()?r.onOrBefore(4):new He(14,Lv,e),dv.TAANIT_BECHOROT,vv)),a(new Ev(new He(He.dayOnOrBefore(6,new He(1,Bv,e+1).abs()-4)),dv.LEIL_SELICHOT,Tv,{emoji:"🕍"})),0==r.getDay()&&a(new Ev(new He(16,Vv,e),dv.PURIM_MESHULASH,Tv)),He.isLeapYear(e)&&(a(new Ev(new He(14,Fv,e),dv.PURIM_KATAN,Tv,{emoji:"🎭️"})),a(new Ev(new He(15,Fv,e),dv.SHUSHAN_PURIM_KATAN,Tv,{emoji:"🎭️"})));const u=function(e){if(e<5711)return null;let t=new He(27,xA,e);return t.getDay()===VA?t=new He(26,xA,e):t.getDay()===jA&&(t=new He(28,xA,e)),t}(e);u&&a(new Ev(u,dv.YOM_HASHOAH,Iv));const h=KA(e);h&&a(new Ev(h,dv.YOM_HAZIKARON,Iv,Zv),new Ev(h.next(),dv.YOM_HAATZMA_UT,Iv,Zv));for(const t of mv)if(e>=t.firstYear){let n=new He(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new He(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?Iv:Iv|yv,i=new Ev(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let l,f=new He(17,Pv,e);6==f.getDay()&&(f=new He(18,Pv,e),l={observed:!0}),a(new Ev(f,dv.TZOM_TAMMUZ,vv,l));let d,g=new He(9,Yv,e),S=dv.TISHA_BAV;6==g.getDay()&&(g=g.next(),d={observed:!0},S+=" (observed)");const y=g.abs();a(new Ev(new He(He.dayOnOrBefore(6,y)),dv.SHABBAT_CHAZON,wv),new Ev(g.prev(),dv.EREV_TISHA_BAV,Mv|bv,d),new Ev(g,S,bv,d),new Ev(new He(He.dayOnOrBefore(6,y+7)),dv.SHABBAT_NACHAMU,wv));const A=He.monthsInYear(e);for(let t=1;t<=A;t++){const n=He.getMonthName(t,e);30==(t==Lv?He.daysInMonth(He.monthsInYear(e-1),e-1):He.daysInMonth(t-1,e))?(a(new Cv(new He(1,t,e),n)),a(new Cv(new He(30,t-1,e),n))):t!==Bv&&a(new Cv(new He(1,t,e),n))}for(let t=m.IYYAR;t<=A;t++){const n=t+1;if(n===Bv||n===m.CHESHVAN||n===jv)continue;let r=new He(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=He.getMonthName(n,e);a(new Rv(r,i))}const p=GA(e,!1).find(15);a(new Ev(p,dv.SHABBAT_SHIRAH,wv));const v=function(e){const t=He.isLeapYear(e),n=t?Vv:Lv,r=t?20:1,o=He.hebrew2abs(e,n,r);for(let e=0;e<=40;e++){const t=o+e;if((t+1373429)%10227==172)return t}return 0}(e);if(v){const e=new He(v);a(new Ev(e,dv.BIRKAT_HACHAMAH,Tv,{emoji:"☀️"}))}return xv.set(e,o),o}const zv=new Map;class Gv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);zv.set(e,t)}static lookup(e,t,n){const r=zv.get(e);return"function"==typeof r?r(t,n):null}}const Jv="5.4.0";function Wv(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const qv={shacharit:!1,mincha:!1,allCongs:!1};function Xv(e,t){return Qv(e,t,!0)}function Qv(e,t,n){const r=function(e,t){const n=He.isLeapYear(e),r=12+n;let o=new He(9,m.AV,e);6===o.getDay()&&(o=o.next());let a=new He(15,m.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[].concat(Wv(1,r).map((t=>new He(1,t,e))),Wv(1,r).filter((t=>30===He.daysInMonth(t,e))).map((t=>new He(30,t,e))),new He(2,m.TISHREI,e),Wv(1,He.daysInMonth(m.NISAN,e)).map((t=>new He(t,m.NISAN,e))),new He(18,m.IYYAR,e),Wv(1,8-(t?1:0)).map((t=>new He(t,m.SIVAN,e))),o,new He(15,m.AV,e),new He(29,m.ELUL,e),Wv(9,24-(t?1:0)).map((t=>new He(t,m.TISHREI,e))),Wv(25,33).map((t=>new He(t,m.KISLEV,e))),new He(15,m.SHVAT,e),new He(14,m.ADAR_II,e),a,n?new He(14,m.ADAR_I,e):[]),s=[].concat(Wv(1,13).map((t=>new He(t,m.SIVAN,e))),Wv(20,31).map((t=>new He(t,m.TISHREI,e))),new He(14,m.IYYAR,e),e>=5708?KA(e).next():[],e>=5727?new He(28,m.IYYAR,e):[]),c=[].concat(new He(29,m.ELUL,e-1),new He(9,m.TISHREI,e),new He(14,m.IYYAR,e));return{none:i.map((e=>e.abs())).sort(((e,t)=>e-t)),some:s.map((e=>e.abs())).sort(((e,t)=>e-t)),yesPrev:c.map((e=>e.abs())).sort(((e,t)=>e-t))}}(e.getFullYear(),t),o=e.abs();if(r.none.indexOf(o)>-1)return qv;const a=e.getDay(),i={shacharit:!1,mincha:!1,allCongs:!1};-1===r.some.indexOf(o)&&(i.allCongs=!0),6!==a&&(i.shacharit=!0);const s=o+1;if(n&&-1===r.yesPrev.indexOf(s)){const e=Qv(new He(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:qv}const ew=m.NISAN,tw=m.SIVAN,nw=m.ELUL,rw=m.TISHREI,ow=We.LIGHT_CANDLES,aw=We.YOM_TOV_ENDS,iw=We.CHUL_ONLY,sw=We.IL_ONLY,cw=We.LIGHT_CANDLES_TZEIS,uw=We.CHANUKAH_CANDLES,hw=We.MINOR_FAST,lw=We.SPECIAL_SHABBAT,fw=We.MODERN_HOLIDAY,dw=We.MAJOR_FAST,gw=We.ROSH_CHODESH,mw=We.PARSHA_HASHAVUA,Sw=We.DAF_YOMI,yw=We.MISHNA_YOMI,Aw=We.NACH_YOMI,pw=We.YERUSHALMI_YOMI,vw=We.OMER_COUNT,ww=We.SHABBAT_MEVARCHIM,Iw=We.MINOR_HOLIDAY,bw=We.EREV,Tw=We.CHOL_HAMOED,Mw=We.YOM_KIPPUR_KATAN,Ew=new Set,Hw={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,fastEndDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,userMask:1,yomKippurKatan:1,hour12:1,dailyLearning:1,useElevation:1};const Cw={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},Ow={281184:40,294801:30,293067:30};function Dw(t){if("number"==typeof t)return t;if(e.greg.isDate(t))return e.greg.greg2abs(t);if(He.isHDate(t))return t.abs();throw new TypeError(`Invalid date type: ${t}`)}function Nw(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask;t&gw&&delete e.noRoshChodesh;t&fw&&delete e.noModern;t&hw&&delete e.noMinorFast;t&lw&&delete e.noSpecialShabbat;t&mw&&(e.sedrot=!0);t&(Sw|yw|Aw|pw)&&(e.dailyLearning=e.dailyLearning||{},t&Sw&&(e.dailyLearning.dafYomi=!0),t&yw&&(e.dailyLearning.mishnaYomi=!0),t&Aw&&(e.dailyLearning.nachYomi=!0),t&pw&&(e.dailyLearning.yerushalmi=1));t&vw&&(e.omer=!0);t&ww&&(e.shabbatMevarchim=!0);t&Mw&&(e.yomKippurKatan=!0);return e.userMask=!0,t}(e);const n=e.il||(null===(t=e.location)||void 0===t?void 0:t.il)||!1;let r=0;if(e.noHolidays||(r|=gw|aw|hw|lw|fw|dw|Iw|bw|Tw|ow|cw|uw),e.candlelighting&&(r|=ow|cw|aw),e.noRoshChodesh&&(r&=~gw),e.noModern&&(r&=~fw),e.noMinorFast&&(r&=~hw),e.noSpecialShabbat&&(r&=~lw,r&=~ww),r|=n?sw:iw,e.sedrot&&(r|=mw),e.omer&&(r|=vw),e.shabbatMevarchim&&(r|=ww),e.yomKippurKatan&&(r|=Mw),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=Sw),t.mishnaYomi&&(r|=yw),t.nachYomi&&(r|=Aw),t.yerushalmi&&(r|=pw)}return r}const _w=ow|cw|uw|aw,kw=new fA(0,0,!1,"UTC");function Rw(e){return e.observedInIsrael()}function Lw(e){return e.observedInDiaspora()}class Pw{static calendar(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t=Object.assign({},t),function(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof fA))throw new TypeError("options.candlelighting requires valid options.location");if("number"==typeof e.havdalahMins&&"number"==typeof e.havdalahDeg)throw new TypeError("options.havdalahMins and options.havdalahDeg are mutually exclusive");let n=parseInt(e.candleLightingMins,10)||18;if(t.getIsrael()&&18===Math.abs(n)){const e=t.getGeoId(),r=Ow[e];"number"==typeof r&&(n=r);const o=Cw[t.getShortName()];"number"==typeof o&&(n=o)}e.candleLightingMins=-1*Math.abs(n),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5,"number"!=typeof e.fastEndDeg&&(e.fastEndDeg=7.0833333)}(t);const n=t.location=t.location||kw,r=t.il=t.il||n.il||!1;if(t.mask=Nw(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError(`Invalid options.locale: ${t.locale}`);const e=t.ashkenazi?"ashkenazi":t.locale;if(!pe.useLocale(e))throw new TypeError(`Locale '${e}' not found; did you forget to import @hebcal/locales?`)}else pe.useLocale("en");const o=[];let a,i,s,c,u=-1;const h=function(t){if(t.start&&!t.end||t.end&&!t.start)throw new TypeError("Both options.start and options.end are required");if(t.start&&t.end)return[Dw(t.start),Dw(t.end)];const n=Boolean(t.isHebrewYear),r=void 0!==t.year?parseInt(t.year,10):n?(new He).getFullYear():(new Date).getFullYear();if(isNaN(r))throw new RangeError(`Invalid year ${t.year}`);if(n&&r<1)throw new RangeError(`Invalid Hebrew year ${r}`);let o=NaN;t.month&&(o=n?He.monthNum(t.month):t.month);const a=parseInt(t.numYears,10)||1;if(n){const e=new He(1,o||rw,r);let n=e.abs();const i=t.month?n+e.daysInMonth():new He(1,rw,r+a).abs()-1;return!o&&r>1&&n--,[n,i]}{const n=t.month?o-1:0,i=new Date(r,n,1);r<100&&i.setFullYear(r);const s=e.greg.greg2abs(i);let c;if(t.month)c=s+e.greg.daysInMonth(o,r)-1;else{const t=r+a,n=new Date(t,0,1);t<100&&n.setFullYear(t),c=e.greg.greg2abs(n)-1}return[s,c]}}(t);!function(e){for(const t of Object.keys(e))void 0!==Hw[t]||Ew.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),Ew.add(t))}(t);const l=h[0],f=h[1];e.greg.abs2greg(l).getFullYear()<100&&(t.candlelighting=!1);for(let e=l;e<=f;e++){const h=new He(e),l=h.getFullYear();l!=u&&(u=l,i=Kv(u),t.sedrot&&(a=GA(u,r)),t.omer&&(s=He.hebrew2abs(u,ew,16),c=He.hebrew2abs(u,tw,5)));const f=o.length,d=h.getDay(),g=5===d,m=6===d;let S;const y=i.get(h.toString())||[];for(const e of y)S=Bw(S,o,e,t,g,m);if(t.sedrot&&m){const t=a.lookup(e);t.chag||o.push(new CA(h,t.parsha,r,t.num))}const A=t.dailyLearning;if("object"==typeof A)for(const[e,t]of Object.entries(A))if(t){const n="yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e,a=Gv.lookup(n,h,r);a&&o.push(a)}if(t.omer&&e>=s&&e<=c){const r=new HA(h,e-s+1);if(t.candlelighting){const e=new gA(n,h.prev()).tzeit(7.0833);isNaN(e.getTime())||(r.alarm=e)}o.push(r)}const p=h.getMonth(),v=h.getDate();if(m&&(t.molad||t.shabbatMevarchim)&&p!=nw&&v>=23&&v<=29){const e=p==He.monthsInYear(l)?ew:p+1;if(t.molad&&o.push(new EA(h,l,e,t)),t.shabbatMevarchim){const n=He.getMonthName(e,l),r=new MA(l,e).render(t.locale||"en",t);o.push(new Nv(h,n,r))}}if(!S&&t.candlelighting&&(g||m)&&(S=yA(void 0,h,t,g,m),g&&S&&a&&(S.memo=a.getString(e,t.locale))),S instanceof pA&&(0===t.havdalahMins||0===t.havdalahDeg)&&(S=null),S&&o.push(S),t.addHebrewDates||t.addHebrewDatesForEvents&&f!=o.length){const e=new Qe(h);f==o.length?o.push(e):o.splice(f,0,e)}}return o}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=j(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=M(r);let a=n.mm,i=n.dd;return a===B&&!o||a===U&&o?a=E(e):a!==R||30!==i||N(e)?a===L&&30===i&&_(e)?(a=P,i=1):a===B&&30===i&&o&&!M(e)&&(a=k,i=1):(a=L,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new He(n)}static getYahrzeit(e,t){const n=function(e,t){let n=j(t);if(!(e<=n.yy))return n.mm!==R||30!==n.dd||N(n.yy+1)?n.mm===L&&30===n.dd&&_(n.yy+1)?n=T(I(e,P,1)-1):n.mm===U?n.mm=E(e):n.mm!==B||30!==n.dd||M(e)||(n.dd=30,n.mm=Y):n=T(I(e,L,1)-1),n.mm!==R||30!==n.dd||N(e)?n.mm===L&&30===n.dd&&_(e)&&(n.mm=P,n.dd=1):(n.mm=L,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new He(n)}static getHolidaysForYear(e){return Kv(e)}static getHolidaysForYearArray(e,t){const n=Kv(e),r=He.hebrew2abs(e,rw,1),o=He.hebrew2abs(e+1,rw,1)-1;let a=[];const i=t?Rw:Lw;for(let e=r;e<=o;e++){const t=new He(e),r=n.get(t.toString());if(r){const e=r.filter(i);a=a.concat(e)}}return a}static getHolidaysOnDate(e,t){const n=He.isHDate(e)?e:new He(e),r=n.toString(),o=Kv(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?Rw:Lw;return o.filter(a)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new He(e),r=n.after(5),o=n.next();return!(!Yw(r,t)||Yw(n,t)||!Yw(o,t))}static reformatTimeStr(e,t,n){return SA(e,t,n)}static version(){return Jv}static getSedra(e,t){return GA(e,t)}static hallel(e,t){return function(e,t){const n=e.filter((e=>{const t=e.getDesc(),n=e.getDate(),r=n.getMonth(),o=n.getDate();return t.startsWith("Chanukah")||t.startsWith("Shavuot")||t.startsWith("Sukkot")||r===m.NISAN&&(15===o||16===o)&&e.getFlags()&We.CHAG||"Yom HaAtzma'ut"===t||"Yom Yerushalayim"===t})).map((e=>e.getDate().abs())),r=t.abs();return n.includes(r)?2:e.filter((e=>{const t=e.getDesc();return e.getFlags()&We.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(Pw.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return Xv(e,t)}}function Yw(e,t){return 0!==Pw.getHolidaysOnDate(e,t).filter((e=>e.getFlags()&We.CHAG)).length}function Bw(e,t,n,r,o,a){const i=r.il;if(!n.observedIn(i))return e;const s=n.getFlags();if(!r.yomKippurKatan&&s&Mw||r.noModern&&s&fw)return e;const c=r.location,u=Boolean(s&dw),h=Boolean(s&hw);if(r.candlelighting&&(u||h)&&(n=function(e,t){const n=e.getDesc();if("Yom Kippur"===n)return e;const r=(e=e.clone()).getDate(),o=r.greg(),a=t.location,i=t.fastEndDeg,s=new gA(a,o,t.useElevation);if("Erev Tish'a B'Av"===n){const n=s.sunset();e.startEvent=wA(r,n,"Fast begins",e,t)}else if(n.startsWith("Tish'a B'Av"))e.endEvent=wA(r,s.tzeit(i),"Fast ends",e,t);else{const n=s.alotHaShachar();e.startEvent=wA(r,n,"Fast begins",e,t),5===o.getDay()||14===r.getDate()&&r.getMonth()===m.NISAN||(e.endEvent=wA(r,s.tzeit(i),"Fast ends",e,t))}return e}(n,r),n.startEvent&&(u||h&&!r.noMinorFast)&&t.push(n.startEvent)),s&r.mask||!s&&!r.userMask){if(r.candlelighting&&s&_w){const t=n.getDate();if(e=yA(n,t,r,o,a),s&uw&&e&&!r.noHolidays){const i=o||a?e:function(e,t,n){const r=n.location,o=new gA(r,t.greg(),n.useElevation);return wA(t,o.beinHaShmashos(),e.getDesc(),e,n)}(n,t,r),u={eventTime:i.eventTime,eventTimeStr:i.eventTimeStr,location:c};n.chanukahDay&&(u.chanukahDay=n.chanukahDay),n.emoji&&(u.emoji=n.emoji),n=new Ev(t,n.getDesc(),s,u),e=void 0}}(!r.noHolidays||r.yomKippurKatan&&s&Mw)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}var Uw;return e.HolidayDesc=void 0,(Uw=e.HolidayDesc||(e.HolidayDesc={})).ASARA_BTEVET="Asara B'Tevet",Uw.BIRKAT_HACHAMAH="Birkat Hachamah",Uw.CHAG_HABANOT="Chag HaBanot",Uw.CHANUKAH_8TH_DAY="Chanukah: 8th Day",Uw.EREV_TISHA_BAV="Erev Tish'a B'Av",Uw.LEIL_SELICHOT="Leil Selichot",Uw.PURIM_KATAN="Purim Katan",Uw.PURIM_MESHULASH="Purim Meshulash",Uw.SHABBAT_CHAZON="Shabbat Chazon",Uw.SHABBAT_HACHODESH="Shabbat HaChodesh",Uw.SHABBAT_HAGADOL="Shabbat HaGadol",Uw.SHABBAT_NACHAMU="Shabbat Nachamu",Uw.SHABBAT_PARAH="Shabbat Parah",Uw.SHABBAT_SHEKALIM="Shabbat Shekalim",Uw.SHABBAT_SHIRAH="Shabbat Shirah",Uw.SHABBAT_SHUVA="Shabbat Shuva",Uw.SHABBAT_ZACHOR="Shabbat Zachor",Uw.SHUSHAN_PURIM_KATAN="Shushan Purim Katan",Uw.TAANIT_BECHOROT="Ta'anit Bechorot",Uw.TAANIT_ESTHER="Ta'anit Esther",Uw.TISHA_BAV="Tish'a B'Av",Uw.TZOM_GEDALIAH="Tzom Gedaliah",Uw.TZOM_TAMMUZ="Tzom Tammuz",Uw.YOM_HAATZMA_UT="Yom HaAtzma'ut",Uw.YOM_HASHOAH="Yom HaShoah",Uw.YOM_HAZIKARON="Yom HaZikaron",Uw.BEN_GURION_DAY="Ben-Gurion Day",Uw.CHANUKAH_1_CANDLE="Chanukah: 1 Candle",Uw.EREV_PESACH="Erev Pesach",Uw.EREV_PURIM="Erev Purim",Uw.EREV_ROSH_HASHANA="Erev Rosh Hashana",Uw.EREV_SHAVUOT="Erev Shavuot",Uw.EREV_SUKKOT="Erev Sukkot",Uw.EREV_YOM_KIPPUR="Erev Yom Kippur",Uw.FAMILY_DAY="Family Day",Uw.HEBREW_LANGUAGE_DAY="Hebrew Language Day",Uw.HERZL_DAY="Herzl Day",Uw.JABOTINSKY_DAY="Jabotinsky Day",Uw.LAG_BAOMER="Lag BaOmer",Uw.PESACH_I="Pesach I",Uw.PESACH_II="Pesach II",Uw.PESACH_III_CHM="Pesach III (CH''M)",Uw.PESACH_II_CHM="Pesach II (CH''M)",Uw.PESACH_IV_CHM="Pesach IV (CH''M)",Uw.PESACH_SHENI="Pesach Sheni",Uw.PESACH_VII="Pesach VII",Uw.PESACH_VIII="Pesach VIII",Uw.PESACH_VI_CHM="Pesach VI (CH''M)",Uw.PESACH_V_CHM="Pesach V (CH''M)",Uw.PURIM="Purim",Uw.ROSH_HASHANA_II="Rosh Hashana II",Uw.ROSH_HASHANA_LABEHEMOT="Rosh Hashana LaBehemot",Uw.SHAVUOT="Shavuot",Uw.SHAVUOT_I="Shavuot I",Uw.SHAVUOT_II="Shavuot II",Uw.SHMINI_ATZERET="Shmini Atzeret",Uw.SHUSHAN_PURIM="Shushan Purim",Uw.SIGD="Sigd",Uw.SIMCHAT_TORAH="Simchat Torah",Uw.SUKKOT_I="Sukkot I",Uw.SUKKOT_II="Sukkot II",Uw.SUKKOT_III_CHM="Sukkot III (CH''M)",Uw.SUKKOT_II_CHM="Sukkot II (CH''M)",Uw.SUKKOT_IV_CHM="Sukkot IV (CH''M)",Uw.SUKKOT_VII_HOSHANA_RABA="Sukkot VII (Hoshana Raba)",Uw.SUKKOT_VI_CHM="Sukkot VI (CH''M)",Uw.SUKKOT_V_CHM="Sukkot V (CH''M)",Uw.TU_BAV="Tu B'Av",Uw.TU_BISHVAT="Tu BiShvat",Uw.YITZHAK_RABIN_MEMORIAL_DAY="Yitzhak Rabin Memorial Day",Uw.YOM_HAALIYAH="Yom HaAliyah",Uw.YOM_HAALIYAH_SCHOOL_OBSERVANCE="Yom HaAliyah School Observance",Uw.YOM_KIPPUR="Yom Kippur",Uw.YOM_YERUSHALAYIM="Yom Yerushalayim",e.AsaraBTevetEvent=Ov,e.CandleLightingEvent=vA,e.DailyLearning=Gv,e.Event=Xe,e.GeoLocation=aA,e.HDate=He,e.HavdalahEvent=pA,e.HebrewCalendar=Pw,e.HebrewDateEvent=Qe,e.HolidayEvent=Ev,e.Locale=pe,e.Location=fA,e.MevarchimChodeshEvent=Nv,e.Molad=MA,e.MoladEvent=EA,e.NOAACalculator=sA,e.OmerEvent=HA,e.ParshaEvent=CA,e.RoshChodeshEvent=Cv,e.RoshHashanaEvent=_v,e.Sedra=Ne,e.TimedEvent=AA,e.Zmanim=gA,e.flags=We,e.gematriya=$,e.gematriyaStrToNum=K,e.holidayDesc=dv,e.months=m,e.parshiot=_e,e.version=Jv,e}({});
|