UNPKG

@hebcal/core

Version:

A perpetual Jewish Calendar API

20 lines 170 kB
/*! @hebcal/core v5.10.1, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ var hebcal=function(e){"use strict";const t="5.10.1",n=[0,31,28,31,30,31,30,31,31,30,31,30,31],r=[n,n.slice()]; /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */function o(e,t){return e-t*Math.floor(e/t)}function i(e,t){return Math.floor(e/t)}function a(e){return!(e%4||!(e%100)&&e%400)}function s(e,t){return r[+a(t)][e]}function u(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function c(e,t,n){const r=e-1;return 365*r+i(r,4)-i(r,100)+i(r,400)+i(367*t-362,12)+(t<=2?0:a(e)?-1:-2)+n}function h(e){if(!u(e))throw new TypeError(`not a Date: ${e}`);if(isNaN(e.getTime()))throw new RangeError("Invalid Date");return c(e.getFullYear(),e.getMonth()+1,e.getDate())}function l(e){if("number"!=typeof e||isNaN(e))throw new TypeError(`not a Number: ${e}`);const t=function(e){const t=e-1,n=i(t,146097),r=o(t,146097),a=i(r,36524),s=o(r,36524),u=i(s,1461),c=i(o(s,1461),365),h=400*n+100*a+4*u+c;return 4!==a&&4!==c?h+1:h}(e=Math.trunc(e)),n=i(12*(e-c(t,1,1)+(e<c(t,3,1)?0:a(t)?1:2))+373,367),r=e-c(t,n,1)+1,s=new Date(t,n-1,r);return t<100&&t>=0&&s.setFullYear(t),s} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */r[1][2]=29,e.greg=void 0,e.greg||(e.greg={}),e.greg.abs2greg=l,e.greg.daysInMonth=s,e.greg.greg2abs=h,e.greg.isDate=u,e.greg.isLeapYear=a; /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ const f={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},d="Nisan",g=["",d,"Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],m=[[...g,"Adar",d],[...g,"Adar I","Adar II",d]],y=new Map,v=-1373428;function p(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`param '${t}' not a number: ${e}`)}function w(e,t,n){if(p(e,"year"),p(t,"month"),p(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<7){for(let t=7;t<=T(e);t++)r+=E(t,e);for(let n=1;n<t;n++)r+=E(n,e)}else for(let n=7;n<t;n++)r+=E(n,e);return v+M(e)+r-1}function S(e){return v+M(e)}function A(e){if(p(e,"abs"),(e=Math.trunc(e))<=v)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-v)/365.24682220597794);for(;S(t)<=e;)++t;--t;let n=e<w(t,1,1)?7:1;for(;e>w(t,n,E(n,t));)++n;return{yy:t,mm:n,dd:1+e-w(t,n,1)}}function b(e){return(1+7*e)%19<7}function T(e){return+b(e)+12}function E(e,t){switch(e){case 2:case 4:case 6:case 10:case 13:return 29}return 12===e&&!b(t)||8===e&&!H(t)||9===e&&C(t)?29:30}function I(e,t){if(p(e,"month"),p(t,"year"),e<1||e>14)throw new TypeError(`bad monthNum: ${e}`);return m[+b(t)][e]}function M(e){const t=y.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),i=r%1080+o%24*1080,a=1+29*n+Math.floor(o/24);let s=a;(i>=19440||2==a%7&&i>=9924&&!b(e)||1==a%7&&i>=16789&&b(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return y.set(e,n),n}function N(e){return M(e+1)-M(e)}function H(e){return N(e)%10==5}function C(e){return N(e)%10==3} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ const D=f.NISAN,O=f.CHESHVAN,_=f.KISLEV,k=f.TEVET,L=f.SHVAT,R=f.ADAR_I,Y=f.ADAR_II;function B(e){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(e))return e;if(u(e)){return A(h(e))}return A(e)} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ const P={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},j={};for(const[e,t]of Object.entries(P))j[t]=e;function U(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 x(e){const t=parseInt(e,10);if(!t||t<0)throw new TypeError(`invalid number: ${e}`);let n="";const r=Math.floor(t/1e3);if(r>0&&5!==r){const e=U(r);for(const t of e)n+=j[t];n+="׳"}const o=U(t%1e3);if(1===o.length)return n+j[o[0]]+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=j[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=P[n];"number"==typeof e&&(t+=e)}return t} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ function $(e){return e<0?"-00"+$(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function F(e){return e>=0&&e<10?"0"+e:String(e)} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */const V=new Map;const z=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function K(e,t){const n=function(e){const t=V.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 V.set(e,n),n}(e).format(t),r=z.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]=$(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function G(e){return $(e.getFullYear())+"-"+F(e.getMonth()+1)+"-"+F(e.getDate())} /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */var J={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"},contexts:{"":{Tevet:["Teves"]}}},W={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"he"},contexts:{"":{Adar:["אַדָר"],"Adar I":["אַדָר א׳"],"Adar II":["אַדָר ב׳"],Av:["אָב"],Cheshvan:["חֶשְׁוָן"],Elul:["אֱלוּל"],Iyyar:["אִיָיר"],Kislev:["כִּסְלֵו"],Nisan:["נִיסָן"],"Sh'vat":["שְׁבָט"],Sivan:["סִיוָן"],Tamuz:["תַּמּוּז"],Tevet:["טֵבֵת"],Tishrei:["תִּשְׁרֵי"]}}}; /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ const q={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},X={h:"he",a:"ashkenazi",s:"en","":"en"},Q=new Map;let ee,te;function ne(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function re(e){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);return e.toLowerCase()}function oe(e){const t=re(e),n=Q.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return n}class ie{static lookupTranslation(e,t){const n=("string"==typeof t&&Q.get(t.toLowerCase())||ee)[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(e=re(e),"object"!=typeof t.contexts||"object"!=typeof t.contexts[""])throw new TypeError(`Locale '${e}' invalid compact format`);Q.set(e,t.contexts[""])}static addTranslation(e,t,n){const r=oe(e);if("string"!=typeof t||0===t.length)throw new TypeError(`Invalid id string: ${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 string: ${n}`);r[t]=o?n:[n]}static addTranslations(e,t){const n=oe(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=re(e),n=oe(t);return te=X[t]||t,ee=n,ee}static getLocaleName(){return te}static getLocaleNames(){return Array.from(Q.keys()).sort((e,t)=>e.localeCompare(t))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||te;if(!n)return ne(e);switch(n){case"en":case"s":case"a":return ne(e);case"es":return e+"º";case"h":case"he":case"he-x-nonikud":return String(e)}return n.startsWith("ashkenazi")?ne(e):e+"."}static hebrewStripNikkud(e){return e.normalize().replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}ie.addLocale("en",q),ie.addLocale("s",q),ie.addLocale("",q),ie.useLocale("en"),ie.addLocale("ashkenazi",J),ie.addLocale("a",J),ie.addLocale("he",W),ie.addLocale("h",W);const ae=W.contexts[""],se={};for(const[e,t]of Object.entries(ae))se[e]=[ie.hebrewStripNikkud(t[0])];const ue={headers:W.headers,contexts:{"":se}};ie.addLocale("he-x-NoNikud",ue);const ce="day",he="week",le="month",fe="year";class de{constructor(e,t,n){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 i="string"==typeof n?parseInt(n,10):n;if(isNaN(i))throw new TypeError(`HDate called with bad year: ${n}`);this.yy=i,function(e,t){e.mm=de.monthNum(t),ge(e)}(this,t);const a="string"==typeof e?parseInt(e,10):e;if(isNaN(a))throw new TypeError(`HDate called with bad day: ${e}`);o=a,(r=this).dd=o,ge(r)}else{null==e&&(e=new Date);const t="number"!=typeof e||isNaN(e)?u(e)?h(e):void 0!==e.yy?e:null:e;if(null===t)throw new TypeError(`HDate called with bad arg: ${e}`);const n="number"==typeof t,r=n?A(t):t;this.yy=r.yy,this.mm=r.mm,this.dd=r.dd,n&&(this.rd=t)}var r,o}getFullYear(){return this.yy}isLeapYear(){return b(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=T(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return E(this.getMonth(),this.getFullYear())}getDate(){return this.dd}getDay(){ /*! @hebcal/hdate v0.14.2, distributed under GPLv2 https://www.gnu.org/licenses/gpl-2.0.txt */ return function(e,t){return e-t*Math.floor(e/t)}(this.abs(),7)}greg(){return l(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=w(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return w(e,t,n)}getMonthName(){return I(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||ie.getLocaleName(),r=this.getDate(),o=ie.gettext(this.getMonthName(),n).replace(/'/g,"’"),i=ie.ordinal(r,n),a=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=ie.lookupTranslation("of",e);if(t)return" "+t;if(e.startsWith("ashkenazi"))return" of";return""}(n),s=`${i}${a} ${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=ie.gettext(this.getMonthName(),n),o=this.getFullYear();return x(t)+" "+r+" "+x(o)}before(e){return ye(e,this,-1)}onOrBefore(e){return ye(e,this,0)}nearest(e){return ye(e,this,3)}onOrAfter(e){return ye(e,this,6)}after(e){return ye(e,this,7)}next(){return new de(this.abs()+1)}prev(){return new de(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 de(this);if(t=function(e){switch(e){case"d":return ce;case"w":return he;case"M":return le;case"y":return fe}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case ce:case he:case le:case fe:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===ce)return new de(this.abs()+e);if(t===he)return new de(this.abs()+7*e);if(t===fe)return new de(this.getDate(),this.getMonth(),this.getFullYear()+e);{let t=new de(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new de(t.abs()+n*t.daysInMonth());return t}}subtract(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}deltaDays(e){return this.abs()-e.abs()}isSameDate(e){return this.yy===e.yy&&this.mm===e.mm&&this.dd===e.dd}toString(){const e=this.getDate(),t=this.getFullYear();return`${e} ${this.getMonthName()} ${t}`}static isLeapYear(e){return b(e)}static monthsInYear(e){return T(e)}static daysInMonth(e,t){return E(e,t)}static getMonthName(e,t){return I(e,t)}static monthNum(e){if("number"==typeof e){if(isNaN(e)||e>14)throw new RangeError(`bad monthNum: ${e}`);return e}return e.charCodeAt(0)>=48&&e.charCodeAt(0)<=57?parseInt(e,10):de.monthFromName(e)}static daysInYear(e){return N(e)}static longCheshvan(e){return H(e)}static shortKislev(e){return C(e)}static monthFromName(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`bad monthName: ${e}`);return e}return function(e){if("number"==typeof e){if(isNaN(e)||e<1||e>14)throw new RangeError(`bad monthName: ${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 1;case"i":return 2;case"e":return 6;case"c":case"ח":return 8;case"k":case"כ":return 9;case"s":switch(t[1]){case"i":return 3;case"h":return 11}break;case"t":switch(t[1]){case"a":return 4;case"i":return 7;case"e":return 10}break;case"a":switch(t[1]){case"v":return 5;case"d":return/(1|[^i]i|a|א)$/i.test(e)?12:13}break;case"ס":return 3;case"ט":return 10;case"ש":return 11;case"א":switch(t[1]){case"ב":return 5;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?12:13;case"י":return 2;case"ל":return 6}break;case"ת":switch(t[1]){case"מ":return 4;case"ש":return 7}}throw new RangeError(`bad monthName: ${e}`)}(ie.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(`cannot parse gematriya str: "${e}"`);const o=Z(n[0]),i=3===r?n[1]:n[1]+" "+n[2],a=de.monthFromName(i);let s=Z(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new de(o,a,s)}}function ge(e){me(e),function(e){e.dd<1&&(e.mm===f.TISHREI&&(e.yy-=1),e.dd+=E(e.mm,e.yy),e.mm-=1,ge(e));e.dd>E(e.mm,e.yy)&&(e.mm===f.ELUL&&(e.yy+=1),e.dd-=E(e.mm,e.yy),e.mm===T(e.yy)?e.mm=1:e.mm+=1,ge(e));me(e)}(e)}function me(e){e.mm!==f.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=T(e.yy),e.yy-=1,ge(e)):e.mm>T(e.yy)&&(e.mm-=T(e.yy),e.yy+=1,ge(e)):(e.mm-=1,ge(e)),delete e.rd}function ye(e,t,n){return new de(de.dayOnOrBefore(e,t.abs()+n))}var ve={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"},contexts:{"":{Shabbat:["Shabbos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha’aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH’’M)"],"Sukkot III (CH''M)":["Sukkos III (CH’’M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH’’M)"],"Sukkot V (CH''M)":["Sukkos V (CH’’M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH’’M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta’anis Bechoros"],"Ta'anit Esther":["Ta’anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],"Asara B'Tevet":["Asara B’Teves"],"Alot HaShachar":["Alos HaShachar"],"Kriat Shema, sof zeman":["Krias Shema, sof zman"],"Tefilah, sof zeman":["Tefilah, sof zman"],"Kriat Shema, sof zeman (MGA)":["Krias Shema, sof zman (MGA)"],"Tefilah, sof zeman (MGA)":["Tefilah, sof zman (MGA)"],"Chatzot HaLailah":["Chatzos HaLailah"],"Chatzot hayom":["Chatzos"],"Tzeit HaKochavim":["Tzeis HaKochavim"],"Birkat Hachamah":["Birkas Hachamah"],"Shushan Purim Katan":["Shushan Purim Koton"]}}},pe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"he_IL"},contexts:{"":{Shabbat:["שַׁבָּת"],Parashat:["פָּרָשַׁת"],"Achrei Mot":["אַחֲרֵי מוֹת"],Balak:["בָּלָק"],Bamidbar:["בְּמִדְבַּר"],Bechukotai:["בְּחֻקֹּתַי"],"Beha'alotcha":["בְּהַעֲלֹתְךָ"],Behar:["בְּהַר"],Bereshit:["בְּרֵאשִׁית"],Beshalach:["בְּשַׁלַּח"],Bo:["בֹּא"],"Chayei Sara":["חַיֵּי שָֹרָה"],Chukat:["חֻקַּת"],Devarim:["דְּבָרִים"],Eikev:["עֵקֶב"],Emor:["אֱמוֹר"],"Ha'azinu":["הַאֲזִינוּ"],Kedoshim:["קְדשִׁים"],"Ki Tavo":["כִּי־תָבוֹא"],"Ki Teitzei":["כִּי־תֵצֵא"],"Ki Tisa":["כִּי תִשָּׂא"],Korach:["קֹרַח"],"Lech-Lecha":["לֶךְ־לְךָ"],Masei:["מַסְעֵי"],Matot:["מַטּוֹת"],Metzora:["מְצֹרָע"],Miketz:["מִקֵּץ"],Mishpatim:["מִשְׁפָּטִים"],Nasso:["נָשׂא"],Nitzavim:["נִצָּבִים"],Noach:["נֹחַ"],Pekudei:["פְקוּדֵי"],Pinchas:["פִּינְחָס"],"Re'eh":["רְאֵה"],"Sh'lach":["שְׁלַח־לְךָ"],Shemot:["שְׁמוֹת"],Shmini:["שְּׁמִינִי"],Shoftim:["שׁוֹפְטִים"],Tazria:["תַזְרִיעַ"],Terumah:["תְּרוּמָה"],Tetzaveh:["תְּצַוֶּה"],Toldot:["תּוֹלְדוֹת"],Tzav:["צַו"],Vaera:["וָאֵרָא"],Vaetchanan:["וָאֶתְחַנַּן"],Vayakhel:["וַיַּקְהֵל"],Vayechi:["וַיְחִי"],Vayeilech:["וַיֵּלֶךְ"],Vayera:["וַיֵּרָא"],Vayeshev:["וַיֵּשֶׁב"],Vayetzei:["וַיֵּצֵא"],Vayigash:["וַיִּגַּשׁ"],Vayikra:["וַיִּקְרָא"],Vayishlach:["וַיִּשְׁלַח"],"Vezot Haberakhah":["וְזֹאת הַבְּרָכָה"],Yitro:["יִתְרוֹ"],"Asara B'Tevet":["עֲשָׂרָה בְּטֵבֵת"],"Candle lighting":["הַדְלָקַת נֵרוֹת"],Chanukah:["חֲנוּכָּה"],"Chanukah: 1 Candle":["חֲנוּכָּה: א׳ נֵר"],"Chanukah: 2 Candles":["חֲנוּכָּה: ב׳ נֵרוֹת"],"Chanukah: 3 Candles":["חֲנוּכָּה: ג׳ נֵרוֹת"],"Chanukah: 4 Candles":["חֲנוּכָּה: ד׳ נֵרוֹת"],"Chanukah: 5 Candles":["חֲנוּכָּה: ה׳ נֵרוֹת"],"Chanukah: 6 Candles":["חֲנוּכָּה: ו׳ נֵרוֹת"],"Chanukah: 7 Candles":["חֲנוּכָּה: ז׳ נֵרוֹת"],"Chanukah: 8 Candles":["חֲנוּכָּה: ח׳ נֵרוֹת"],"Chanukah: 8th Day":["חֲנוּכָּה: יוֹם ח׳"],"Days of the Omer":["סְפִירַת הָעוֹמֶר"],Omer:["עוֹמֶר"],"day of the Omer":["בָּעוֹמֶר"],"Erev Pesach":["עֶרֶב פֶּסַח"],"Erev Purim":["עֶרֶב פּוּרִים"],"Erev Rosh Hashana":["עֶרֶב רֹאשׁ הַשָּׁנָה"],"Erev Shavuot":["עֶרֶב שָׁבוּעוֹת"],"Erev Simchat Torah":["עֶרֶב שִׂמְחַת תּוֹרָה"],"Erev Sukkot":["עֶרֶב סוּכּוֹת"],"Erev Tish'a B'Av":["עֶרֶב תִּשְׁעָה בְּאָב"],"Erev Yom Kippur":["עֶרֶב יוֹם כִּפּוּר"],Havdalah:["הַבְדָּלָה"],"Lag BaOmer":["ל״ג בָּעוֹמֶר"],"Leil Selichot":["סְלִיחוֹת"],Pesach:["פֶּסַח"],"Pesach I":["פֶּסַח א׳"],"Pesach II":["פֶּסַח ב׳"],"Pesach II (CH''M)":["פֶּסַח ב׳ (חוה״מ)"],"Pesach III (CH''M)":["פֶּסַח ג׳ (חוה״מ)"],"Pesach IV (CH''M)":["פֶּסַח ד׳ (חוה״מ)"],"Pesach Sheni":["פֶּסַח שֵׁנִי"],"Pesach V (CH''M)":["פֶּסַח ה׳ (חוה״מ)"],"Pesach VI (CH''M)":["פֶּסַח ו׳ (חוה״מ)"],"Pesach VII":["פֶּסַח ז׳"],"Pesach VIII":["פֶּסַח ח׳"],Purim:["פּוּרִים"],"Purim Katan":["פּוּרִים קָטָן"],"Rosh Chodesh %s":["רֹאשׁ חוֹדֶשׁ %s"],"Rosh Chodesh":["רֹאשׁ חוֹדֶשׁ"],"Rosh Hashana":["רֹאשׁ הַשָּׁנָה"],"Rosh Hashana I":["רֹאשׁ הַשָּׁנָה א׳"],"Rosh Hashana II":["רֹאשׁ הַשָּׁנָה ב׳"],"Shabbat Chazon":["שַׁבַּת חֲזוֹן"],"Shabbat HaChodesh":["שַׁבַּת הַחֹדֶשׁ"],"Shabbat HaGadol":["שַׁבַּת הַגָּדוֹל"],"Shabbat Nachamu":["שַׁבַּת נַחֲמוּ"],"Shabbat Parah":["שַׁבַּת פָּרָה"],"Shabbat Shekalim":["שַׁבַּת שְׁקָלִים"],"Shabbat Shuva":["שַׁבַּת שׁוּבָה"],"Shabbat Zachor":["שַׁבַּת זָכוֹר"],Shavuot:["שָׁבוּעוֹת"],"Shavuot I":["שָׁבוּעוֹת א׳"],"Shavuot II":["שָׁבוּעוֹת ב׳"],"Shmini Atzeret":["שְׁמִינִי עֲצֶרֶת"],"Shushan Purim":["שׁוּשָׁן פּוּרִים"],Sigd:["חַג הַסִּיגְד"],"Simchat Torah":["שִׂמְחַת תּוֹרָה"],Sukkot:["סוּכּוֹת"],"Sukkot I":["סוּכּוֹת א׳"],"Sukkot II":["סוּכּוֹת ב׳"],"Sukkot II (CH''M)":["סוּכּוֹת ב׳ (חוה״מ)"],"Sukkot III (CH''M)":["סוּכּוֹת ג׳ (חוה״מ)"],"Sukkot IV (CH''M)":["סוּכּוֹת ד׳ (חוה״מ)"],"Sukkot V (CH''M)":["סוּכּוֹת ה׳ (חוה״מ)"],"Sukkot VI (CH''M)":["סוּכּוֹת ו׳ (חוה״מ)"],"Sukkot VII (Hoshana Raba)":["סוּכּוֹת ז׳ (הוֹשַׁעְנָא רַבָּה)"],"Ta'anit Bechorot":["תַּעֲנִית בְּכוֹרוֹת"],"Ta'anit Esther":["תַּעֲנִית אֶסְתֵּר"],"Tish'a B'Av":["תִּשְׁעָה בְּאָב"],"Tu B'Av":["ט״וּ בְּאָב"],"Tu BiShvat":["ט״וּ בִּשְׁבָט"],"Tu B'Shvat":["ט״וּ בִּשְׁבָט"],"Tzom Gedaliah":["צוֹם גְּדַלְיָה"],"Tzom Tammuz":["צוֹם י״ז בְּתַמּוּז"],"Yom HaAtzma'ut":["יוֹם הָעַצְמָאוּת"],"Yom HaShoah":["יוֹם הַשּׁוֹאָה"],"Yom HaZikaron":["יוֹם הַזִּכָּרוֹן"],"Yom Kippur":["יוֹם כִּפּוּר"],"Yom Yerushalayim":["יוֹם יְרוּשָׁלַיִם"],"Yom HaAliyah":["יוֹם הַעֲלִיָּה"],"Yom HaAliyah School Observance":["שְׁמִירָת בֵּית הַסֵפֶר לְיוֹם הַעֲלִיָּה"],"Rosh Chodesh Adar":["רֹאשׁ חוֹדֶשׁ אֲדָר"],"Rosh Chodesh Adar I":["רֹאשׁ חוֹדֶשׁ אֲדָר א׳"],"Rosh Chodesh Adar II":["רֹאשׁ חוֹדֶשׁ אֲדָר ב׳"],"Rosh Chodesh Av":["רֹאשׁ חוֹדֶשׁ אָב"],"Rosh Chodesh Cheshvan":["רֹאשׁ חוֹדֶשׁ חֶשְׁוָן"],"Rosh Chodesh Elul":["רֹאשׁ חוֹדֶשׁ אֱלוּל"],"Rosh Chodesh Iyyar":["רֹאשׁ חוֹדֶשׁ אִיָּיר"],"Rosh Chodesh Kislev":["רֹאשׁ חוֹדֶשׁ כִּסְלֵו"],"Rosh Chodesh Nisan":["רֹאשׁ חוֹדֶשׁ נִיסָן"],"Rosh Chodesh Sh'vat":["רֹאשׁ חוֹדֶשׁ שְׁבָט"],"Rosh Chodesh Sivan":["רֹאשׁ חוֹדֶשׁ סִיוָן"],"Rosh Chodesh Tamuz":["רֹאשׁ חוֹדֶשׁ תַּמּוּז"],"Rosh Chodesh Tevet":["רֹאשׁ חוֹדֶשׁ טֵבֵת"],min:["דַּקּוֹת"],"Fast begins":["תְּחִילַּת הַצוֹם"],"Fast ends":["סִיּוּם הַצוֹם"],"Rosh Hashana LaBehemot":["רֹאשׁ הַשָּׁנָה לְמַעְשַׂר בְּהֵמָה"],"Tish'a B'Av (observed)":["(תִּשְׁעָה בְּאָב (נִדְחָה"],"Shabbat Mevarchim Chodesh":["שַׁבַּת מְבָרְכִים חוֹדֶשׁ"],"Shabbat Shirah":["שַׁבַּת שִׁירָה"],Lovingkindness:["חֶסֶד"],Might:["גְּבוּרָה"],Beauty:["תִּפְאֶרֶת"],Eternity:["נֶּצַח"],Splendor:["הוֹד"],Foundation:["יְּסוֹד"],Majesty:["מַּלְכוּת"],day:["יוֹם"],"Yom Kippur Katan":["יוֹם כִּפּוּר קָטָן"],Yizkor:["יִזְכּוֹר"],"Family Day":["יוֹם הַמִּשׁפָּחָה"],"Yitzhak Rabin Memorial Day":["יוֹם הַזִּכָּרוֹן לְיִצְחָק רַבִּין"],"Jabotinsky Day":["יוֹם זַ׳בּוֹטִינְסְקִי"],"Herzl Day":["יוֹם הֵרְצְל"],"Ben-Gurion Day":["יוֹם בן־גוריון"],"Hebrew Language Day":["יוֹם הַשָׂפָה הַעִברִית"],"Birkat Hachamah":["בִּרְכַּת הַחַמָּה"],"Shushan Purim Katan":["שׁוּשָׁן פּוּרִים קָטָן"],"Purim Meshulash":["פּוּרִים מְשׁוּלָּשׁ"],"Chag HaBanot":["חַג הַבָּנוֹת"],Molad:["מוֹלָד הָלְּבָנָה"],chalakim:["חֲלָקִים"]}}};ie.addTranslations("he",pe),ie.addTranslations("h",pe),ie.addTranslations("ashkenazi",ve),ie.addTranslations("a",ve);const we=pe.contexts[""],Se={};for(const[e,t]of Object.entries(we))Se[e]=[ie.hebrewStripNikkud(t[0])];const Ae={headers:pe.headers,contexts:{"":Se}};ie.addTranslations("he-x-NoNikud",Ae),ie.addTranslations("he-x-NoNikud",{headers:{"plural-forms":"nplurals=2; plural=(n != 1);",language:"he-x-NoNikud"},contexts:{"":{Korach:["קורח"],Chukat:["חוקת"]}}});const be={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,YIZKOR:134217728},Te=[[be.MAJOR_FAST,"holiday","major","fast"],[be.CHANUKAH_CANDLES,"holiday","major"],[be.HEBREW_DATE,"hebdate"],[be.MINOR_FAST,"holiday","fast"],[be.MINOR_HOLIDAY,"holiday","minor"],[be.MODERN_HOLIDAY,"holiday","modern"],[be.MOLAD,"molad"],[be.OMER_COUNT,"omer"],[be.PARSHA_HASHAVUA,"parashat"],[be.ROSH_CHODESH,"roshchodesh"],[be.SHABBAT_MEVARCHIM,"mevarchim"],[be.SPECIAL_SHABBAT,"holiday","shabbat"],[be.USER_EVENT,"user"],[be.YIZKOR,"yizkor"]];class Ee{constructor(e,t,n=0,r){if(!de.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 ie.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&be.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&be.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new Ee(this.date,this.desc,this.mask);return Object.assign(e,this),e}getCategories(){const e=this.getFlags();for(const t of Te){if(e&t[0])return t.slice(1)}return["unknown"]}}class Ie extends Ee{constructor(e){super(e,e.toString(),be.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:ie.getLocaleName(),r=this.getDate();switch(n){case"h":case"he":return r.renderGematriya(!1);case"he-x-nonikud":return r.renderGematriya(!0);default:return r.render(n,!0)}}renderBriefHebrew(e){const t=this.getDate(),n=t.getDate(),r=ie.gettext(t.getMonthName(),e);return x(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:ie.getLocaleName(),r=this.getDate();if(r.getMonth()===f.TISHREI&&1===r.getDate())return this.render(n);switch(n){case"h":case"he":case"he-x-nonikud":return this.renderBriefHebrew(n);default:return r.render(n,!1)}}}var Me,Ne,He="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ce={};function De(){if(Ne)return Me;Ne=1;var e=function(e){return e&&e.Math===Math&&e};return Me=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof He&&He)||e("object"==typeof Me&&Me)||function(){return this}()||Function("return this")()}var Oe,_e,ke,Le,Re,Ye,Be,Pe,je={};function Ue(){return _e?Oe:(_e=1,Oe=function(e){try{return!!e()}catch(e){return!0}})}function xe(){if(Le)return ke;Le=1;var e=Ue();return ke=!e(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Ze(){if(Ye)return Re;Ye=1;var e=Ue();return Re=!e(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})}function $e(){if(Pe)return Be;Pe=1;var e=Ze(),t=Function.prototype.call;return Be=e?t.bind(t):function(){return t.apply(t,arguments)},Be}var Fe,Ve,ze,Ke,Ge,Je,We,qe,Xe,Qe,et,tt,nt,rt,ot,it,at,st,ut,ct,ht,lt,ft,dt,gt,mt,yt,vt,pt,wt,St,At,bt,Tt,Et,It,Mt,Nt,Ht,Ct,Dt,Ot={};function _t(){return ze?Ve:(ze=1,Ve=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}})}function kt(){if(Ge)return Ke;Ge=1;var e=Ze(),t=Function.prototype,n=t.call,r=e&&t.bind.bind(n,n);return Ke=e?r:function(e){return function(){return n.apply(e,arguments)}},Ke}function Lt(){if(Xe)return qe;Xe=1;var e=kt(),t=Ue(),n=function(){if(We)return Je;We=1;var e=kt(),t=e({}.toString),n=e("".slice);return Je=function(e){return n(t(e),8,-1)},Je}(),r=Object,o=e("".split);return qe=t(function(){return!r("z").propertyIsEnumerable(0)})?function(e){return"String"===n(e)?o(e,""):r(e)}:r,qe}function Rt(){return et||(et=1,Qe=function(e){return null==e}),Qe}function Yt(){if(nt)return tt;nt=1;var e=Rt(),t=TypeError;return tt=function(n){if(e(n))throw new t("Can't call method on "+n);return n},tt}function Bt(){if(ot)return rt;ot=1;var e=Lt(),t=Yt();return rt=function(n){return e(t(n))},rt}function Pt(){if(at)return it;at=1;var e="object"==typeof document&&document.all;return it=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(e){return"function"==typeof e}}function jt(){if(ut)return st;ut=1;var e=Pt();return st=function(t){return"object"==typeof t?null!==t:e(t)},st}function Ut(){if(ht)return ct;ht=1;var e=De(),t=Pt();return ct=function(n,r){return arguments.length<2?(o=e[n],t(o)?o:void 0):e[n]&&e[n][r];var o},ct}function xt(){if(yt)return mt;yt=1;var e,t,n=De(),r=function(){if(gt)return dt;gt=1;var e=De().navigator,t=e&&e.userAgent;return dt=t?String(t):""}(),o=n.process,i=n.Deno,a=o&&o.versions||i&&i.version,s=a&&a.v8;return s&&(t=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!t&&r&&(!(e=r.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/))&&(t=+e[1]),mt=t}function Zt(){if(pt)return vt;pt=1;var e=xt(),t=Ue(),n=De().String;return vt=!!Object.getOwnPropertySymbols&&!t(function(){var t=Symbol("symbol detection");return!n(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41})}function $t(){if(St)return wt;St=1;var e=Zt();return wt=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ft(){if(bt)return At;bt=1;var e=Ut(),t=Pt(),n=function(){if(ft)return lt;ft=1;var e=kt();return lt=e({}.isPrototypeOf)}(),r=$t(),o=Object;return At=r?function(e){return"symbol"==typeof e}:function(r){var i=e("Symbol");return t(i)&&n(i.prototype,o(r))},At}function Vt(){if(Et)return Tt;Et=1;var e=String;return Tt=function(t){try{return e(t)}catch(e){return"Object"}}}function zt(){if(Mt)return It;Mt=1;var e=Pt(),t=Vt(),n=TypeError;return It=function(r){if(e(r))return r;throw new n(t(r)+" is not a function")}}function Kt(){if(Ht)return Nt;Ht=1;var e=zt(),t=Rt();return Nt=function(n,r){var o=n[r];return t(o)?void 0:e(o)},Nt}function Gt(){if(Dt)return Ct;Dt=1;var e=$e(),t=Pt(),n=jt(),r=TypeError;return Ct=function(o,i){var a,s;if("string"===i&&t(a=o.toString)&&!n(s=e(a,o)))return s;if(t(a=o.valueOf)&&!n(s=e(a,o)))return s;if("string"!==i&&t(a=o.toString)&&!n(s=e(a,o)))return s;throw new r("Can't convert object to primitive value")},Ct}var Jt,Wt,qt,Xt,Qt,en,tn,nn,rn,on,an,sn,un,cn,hn,ln,fn,dn,gn,mn,yn,vn,pn,wn,Sn={exports:{}};function An(){if(Xt)return qt;Xt=1;var e=De(),t=Object.defineProperty;return qt=function(n,r){try{t(e,n,{value:r,configurable:!0,writable:!0})}catch(t){e[n]=r}return r}}function bn(){if(Qt)return Sn.exports;Qt=1;var e=Wt?Jt:(Wt=1,Jt=!1),t=De(),n=An(),r="__core-js_shared__",o=Sn.exports=t[r]||n(r,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:e?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Sn.exports}function Tn(){if(tn)return en;tn=1;var e=bn();return en=function(t,n){return e[t]||(e[t]=n||{})}}function En(){if(rn)return nn;rn=1;var e=Yt(),t=Object;return nn=function(n){return t(e(n))}}function In(){if(an)return on;an=1;var e=kt(),t=En(),n=e({}.hasOwnProperty);return on=Object.hasOwn||function(e,r){return n(t(e),r)},on}function Mn(){if(un)return sn;un=1;var e=kt(),t=0,n=Math.random(),r=e(1.1.toString);return sn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++t+n,36)}}function Nn(){if(hn)return cn;hn=1;var e=De(),t=Tn(),n=In(),r=Mn(),o=Zt(),i=$t(),a=e.Symbol,s=t("wks"),u=i?a.for||a:a&&a.withoutSetter||r;return cn=function(e){return n(s,e)||(s[e]=o&&n(a,e)?a[e]:u("Symbol."+e)),s[e]}}function Hn(){if(fn)return ln;fn=1;var e=$e(),t=jt(),n=Ft(),r=Kt(),o=Gt(),i=Nn(),a=TypeError,s=i("toPrimitive");return ln=function(i,u){if(!t(i)||n(i))return i;var c,h=r(i,s);if(h){if(void 0===u&&(u="default"),c=e(h,i,u),!t(c)||n(c))return c;throw new a("Can't convert object to primitive value")}return void 0===u&&(u="number"),o(i,u)}}function Cn(){if(gn)return dn;gn=1;var e=Hn(),t=Ft();return dn=function(n){var r=e(n,"string");return t(r)?r:r+""}}function Dn(){if(yn)return mn;yn=1;var e=De(),t=jt(),n=e.document,r=t(n)&&t(n.createElement);return mn=function(e){return r?n.createElement(e):{}},mn}function On(){if(pn)return vn;pn=1;var e=xe(),t=Ue(),n=Dn();return vn=!e&&!t(function(){return 7!==Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a})}function _n(){if(wn)return je;wn=1;var e=xe(),t=$e(),n=function(){if(Fe)return Ot;Fe=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,n=t&&!e.call({1:2},1);return Ot.f=n?function(e){var n=t(this,e);return!!n&&n.enumerable}:e,Ot}(),r=_t(),o=Bt(),i=Cn(),a=In(),s=On(),u=Object.getOwnPropertyDescriptor;return je.f=e?u:function(e,c){if(e=o(e),c=i(c),s)try{return u(e,c)}catch(e){}if(a(e,c))return r(!t(n.f,e,c),e[c])},je}var kn,Ln,Rn,Yn,Bn,Pn,jn,Un={};function xn(){if(Ln)return kn;Ln=1;var e=xe(),t=Ue();return kn=e&&t(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Zn(){if(Yn)return Rn;Yn=1;var e=jt(),t=String,n=TypeError;return Rn=function(r){if(e(r))return r;throw new n(t(r)+" is not an object")}}function $n(){if(Bn)return Un;Bn=1;var e=xe(),t=On(),n=xn(),r=Zn(),o=Cn(),i=TypeError,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,u="enumerable",c="configurable",h="writable";return Un.f=e?n?function(e,t,n){if(r(e),t=o(t),r(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var i=s(e,t);i&&i[h]&&(e[t]=n.value,n={configurable:c in n?n[c]:i[c],enumerable:u in n?n[u]:i[u],writable:!1})}return a(e,t,n)}:a:function(e,n,s){if(r(e),n=o(n),r(s),t)try{return a(e,n,s)}catch(e){}if("get"in s||"set"in s)throw new i("Accessors not supported");return"value"in s&&(e[n]=s.value),e},Un}function Fn(){if(jn)return Pn;jn=1;var e=xe(),t=$n(),n=_t();return Pn=e?function(e,r,o){return t.f(e,r,n(1,o))}:function(e,t,n){return e[t]=n,e}}var Vn,zn,Kn,Gn,Jn,Wn,qn,Xn,Qn,er,tr,nr,rr,or,ir,ar={exports:{}};function sr(){if(Gn)return Kn;Gn=1;var e=kt(),t=Pt(),n=bn(),r=e(Function.toString);return t(n.inspectSource)||(n.inspectSource=function(e){return r(e)}),Kn=n.inspectSource}function ur(){if(Xn)return qn;Xn=1;var e=Tn(),t=Mn(),n=e("keys");return qn=function(e){return n[e]||(n[e]=t(e))}}function cr(){return er?Qn:(er=1,Qn={})}function hr(){if(nr)return tr;nr=1;var e,t,n,r=function(){if(Wn)return Jn;Wn=1;var e=De(),t=Pt(),n=e.WeakMap;return Jn=t(n)&&/native code/.test(String(n))}(),o=De(),i=jt(),a=Fn(),s=In(),u=bn(),c=ur(),h=cr(),l="Object already initialized",f=o.TypeError,d=o.WeakMap;if(r||u.state){var g=u.state||(u.state=new d);g.get=g.get,g.has=g.has,g.set=g.set,e=function(e,t){if(g.has(e))throw new f(l);return t.facade=e,g.set(e,t),t},t=function(e){return g.get(e)||{}},n=function(e){return g.has(e)}}else{var m=c("state");h[m]=!0,e=function(e,t){if(s(e,m))throw new f(l);return t.facade=e,a(e,m,t),t},t=function(e){return s(e,m)?e[m]:{}},n=function(e){return s(e,m)}}return tr={set:e,get:t,has:n,enforce:function(r){return n(r)?t(r):e(r,{})},getterFor:function(e){return function(n){var r;if(!i(n)||(r=t(n)).type!==e)throw new f("Incompatible receiver, "+e+" required");return r}}},tr}function lr(){if(rr)return ar.exports;rr=1;var e=kt(),t=Ue(),n=Pt(),r=In(),o=xe(),i=function(){if(zn)return Vn;zn=1;var e=xe(),t=In(),n=Function.prototype,r=e&&Object.getOwnPropertyDescriptor,o=t(n,"name"),i=o&&"something"===function(){}.name,a=o&&(!e||e&&r(n,"name").configurable);return Vn={EXISTS:o,PROPER:i,CONFIGURABLE:a}}().CONFIGURABLE,a=sr(),s=hr(),u=s.enforce,c=s.get,h=String,l=Object.defineProperty,f=e("".slice),d=e("".replace),g=e([].join),m=o&&!t(function(){return 8!==l(function(){},"length",{value:8}).length}),y=String(String).split("String"),v=ar.exports=function(e,t,n){"Symbol("===f(h(t),0,7)&&(t="["+d(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!r(e,"name")||i&&e.name!==t)&&(o?l(e,"name",{value:t,configurable:!0}):e.name=t),m&&n&&r(n,"arity")&&e.length!==n.arity&&l(e,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?o&&l(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var a=u(e);return r(a,"source")||(a.source=g(y,"string"==typeof t?t:"")),e};return Function.prototype.toString=v(function(){return n(this)&&c(this).source||a(this)},"toString"),ar.exports}function fr(){if(ir)return or;ir=1;var e=Pt(),t=$n(),n=lr(),r=An();return or=function(o,i,a,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:i;if(e(a)&&n(a,c,s),s.global)u?o[i]=a:r(i,a);else{try{s.unsafe?o[i]&&(u=!0):delete o[i]}catch(e){}u?o[i]=a:t.f(o,i,{value:a,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return o},or}var dr,gr,mr,yr,vr,pr,wr,Sr,Ar,br,Tr,Er,Ir,Mr,Nr,Hr,Cr,Dr={};function Or(){if(yr)return mr;yr=1;var e=function(){if(gr)return dr;gr=1;var e=Math.ceil,t=Math.floor;return dr=Math.trunc||function(n){var r=+n;return(r>0?t:e)(r)},dr}();return mr=function(t){var n=+t;return n!=n||0===n?0:e(n)}}function _r(){if(pr)return vr;pr=1;var e=Or(),t=Math.max,n=Math.min;return vr=function(r,o){var i=e(r);return i<0?t(i+o,0):n(i,o)}}function kr(){if(Sr)return wr;Sr=1;var e=Or(),t=Math.min;return wr=function(n){var r=e(n);return r>0?t(r,9007199254740991):0}}function Lr(){if(br)return Ar;br=1;var e=kr();return Ar=function(t){return e(t.length)}}function Rr(){if(Er)return Tr;Er=1;var e=Bt(),t=_r(),n=Lr(),r=function(r){return function(o,i,a){var s=e(o),u=n(s);if(0===u)return!r&&-1;var c,h=t(a,u);if(r&&i!=i){for(;u>h;)if((c=s[h++])!=c)return!0}else for(;u>h;h++)if((r||h in s)&&s[h]===i)return r||h||0;return!r&&-1}};return Tr={includes:r(!0),indexOf:r(!1)}}function Yr(){if(Mr)return Ir;Mr=1;var e=kt(),t=In(),n=Bt(),r=Rr().indexOf,o=cr(),i=e([].push);return Ir=function(e,a){var s,u=n(e),c=0,h=[];for(s in u)!t(o,s)&&t(u,s)&&i(h,s);for(;a.length>c;)t(u,s=a[c++])&&(~r(h,s)||i(h,s));return h},Ir}function Br(){return Hr?Nr:(Hr=1,Nr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var Pr,jr,Ur,xr,Zr,$r,Fr,Vr,zr,Kr={};function Gr(){if(Ur)return jr;Ur=1;var e=Ut(),t=kt(),n=function(){if(Cr)return Dr;Cr=1;var e=Yr(),t=Br().concat("length","prototype");return Dr.f=Object.getOwnPropertyNames||function(n){return e(n,t)},Dr}(),r=(Pr||(Pr=1,Kr.f=Object.getOwnPropertySymbols),Kr),o=Zn(),i=t([].concat);return jr=e("Reflect","ownKeys")||function(e){var t=n.f(o(e)),a=r.f;return a?i(t,a(e)):t},jr}function Jr(){if(Zr)return xr;Zr=1;var e=In(),t=Gr(),n=_n(),r=$n();return xr=function(o,i,a){for(var s=t(i),u=r.f,c=n.f,h=0;h<s.length;h++){var l=s[h];e(o,l)||a&&e(a,l)||u(o,l,c(i,l))}},xr}function Wr(){if(zr)return Vr;zr=1;var e=De(),t=_n().f,n=Fn(),r=fr(),o=An(),i=Jr(),a=function(){if(Fr)return $r;Fr=1;var e=Ue(),t=Pt(),n=/#|\.prototype\./,r=function(n,r){var u=i[o(n)];return u===s||u!==a&&(t(r)?e(r):!!r)},o=r.normalize=function(e){return String(e).replace(n,".").toLowerCase()},i=r.data={},a=r.NATIVE="N",s=r.POLYFILL="P";return $r=r}();return Vr=function(s,u){var c,h,l,f,d,g=s.target,m=s.global,y=s.stat;if(c=m?e:y?e[g]||o(g,{}):e[g]&&e[g].prototype)for(h in u){if(f=u[h],l=s.dontCallGetSet?(d=t(c,h))&&d.value:c[h],!a(m?h:g+(y?".":"#")+h,s.forced)&&void 0!==l){if(typeof f==typeof l)continue;i(f,l)}(s.sham||l&&l.sham)&&n(f,"sham",!0),r(c,h,f,s)}}}var qr,Xr,Qr,eo,to,no,ro,oo,io,ao,so={};function uo(){if(Xr)return qr;Xr=1;var e=Yr(),t=Br();return qr=Object.keys||function(n){return e(n,t)},qr}function co(){if(to)return eo;to=1;var e=Ut();return eo=e("document","documentElement")}function ho(){if(ro)return no;ro=1;var e,t=Zn(),n=function(){if(Qr)return so;Qr=1;var e=xe(),t=xn(),n=$n(),r=Zn(),o=Bt(),i=uo();return so.f=e&&!t?Object.defineProperties:function(e,t){r(e);for(var a,s=o(t),u=i(t),c=u.length,h=0;c>h;)n.f(e,a=u[h++],s[a]);return e},so}(),r=Br(),o=cr(),i=co(),a=Dn(),s=ur(),u="prototype",c="script",h=s("IE_PROTO"),l=function(){},f=function(e){return"<"+c+">"+e+"</"+c+">"},d=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{e=new ActiveXObject("htmlfile")}catch(e){}var t,n,o;g="undefined"!=typeof document?document.domain&&e?d(e):(n=a("iframe"),o="java"+c+":",n.style.display="none",i.appendChild(n),n.src=String(o),(t=n.contentWindow.document).open(),t.write(f("document.F=Object")),t.close(),t.F):d(e);for(var s=r.length;s--;)delete g[u][r[s]];return g()};return o[h]=!0,no=Object.create||function(e,r){var o;return null!==e?(l[u]=t(e),o=new l,l[u]=null,o[h]=e):o=g(),void 0===r?o:n.f(o,r)},no}function lo(){if(io)return oo;io=1;var e=Nn(),t=ho(),n=$n().f,r=e("unscopables"),o=Array.prototype;return void 0===o[r]&&n(o,r,{configurable:!0,value:t(null)}),oo=function(e){o[r][e]=!0}}function fo(e,t,n,r,o){return go(t,((e,t)=>{const n=e[t];if(void 0===n)throw new TypeError(kc(t));return n})(e,t),n,r,o)}function go(e,t,n,r,o,i){const a=Lo(t,n,r);if(o&&t!==a)throw new RangeError(Oc(e,t,n,r,i));return a}function mo(e){return null!==e&&/object|function/.test(typeof e)}function yo(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),i=1;i<r;i++)o[i-1]=arguments[i];const a=e(n,...o);return t.set(n,a),a}}function vo(e){return po({name:e},1)}function po(e,t){return bo(e=>({value:e,configurable:1,writable:!t}),e)}function wo(e){return bo(e=>({get:e,configurable:1}),e)}function So(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function Ao(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function bo(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function To(e,t,n){const r={};for(let o=0;o<t.length;o++){const i=t[o];r[i]=e(i,o,n)}return r}function Eo(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function Io(e,t){const n=Object.create(null);for(const r of e)n[r]=t[r];return n}function Mo(e,t){for(const n of t)if(n in e)return 1;return 0}function No(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Ho(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Co(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 Do(e){return e[0].toUpperCase()+e.substring(1)}function Oo(e){return e.slice().sort()}function _o(e,t){return String(t).padStart(e,"0")}function ko(e,t){return Math.sign(e-t)}function Lo(e,t,n){return Math.min(Math.max(e,t),n)}function Ro(e,t){return[Math.floor(e/t),Yo(e,t)]}function Yo(e,t){return(e%t+t)%t}function Bo(e,t){return[Po(e,t),jo(e,t)]}function Po(e,t){return Math.trunc(e/t)||0}function jo(e,t){return e%t||0}function Uo(e){return.5===Math.abs(e%1)}function xo(e,t,n){let r=0,o=0;for(let i=0;i<=t;i++){const t=e[n[i]],a=Hh[i],s=Nh/a,[u,c]=Bo(t,s);r+=c*a,o+=u}const[i,a]=Bo(r,Nh);return[o+i,a]}function Zo(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Hh[o];r[n[o]]=Po(e,t),e=jo(e,t)}return r}function $o(e){if(void 0!==e)return Vo(e)}function Fo(e){return Wo(Vo(e))}function Vo(e){return Jo(tl(e))}function zo(e,t){if(null==t)throw new RangeError(kc(e));return t}function Ko(e){if(!mo(e))throw new TypeError(Dc);return e}function Go(e,t){if(typeof t!==e)throw new TypeError(_c(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function Jo(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Ec(t,e));return e||0}function Wo(e){if(e<=0)throw new RangeError(Ic(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function qo(e){if("symbol"==typeof e)throw new TypeError(Cc);return String(e)}function Xo(e,t){return mo(e)?String(e):Qh(e,t)}function Qo(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Hc(e));return e}function ei(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(Nc(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(Mc(t,e));return e}function ti(e,t){return Math.trunc(ei(e,t))||0}function ni(e,t){return Jo(ei(e,t),t)}function ri(e,t){return Wo(ti(e,t),t)}function oi(e,t){let[n,r]=Bo(t,Nh),o=e+n;const i=Math.sign(o);return i&&i===-Math.sign(r)&&(o-=i,r+=i*Nh),[o,r]}function ii(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return oi(e[0]+t[0]*n,e[1]+t[1]*n)}function ai(e,t){return oi(e[0],e[1]+t)}function si(e,t){return ii(t,e,-1)}function ui(e,t){return ko(e[0],t[0])||ko(e[1],t[1])}function ci(e,t,n){return-1===ui(e,t)||1===ui(e,n)}function hi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Nh/t);return[Number(e/n),Number(e%n)*t]}function li(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Nh/t,[r,o]=Bo(e,n);return[r,o*t]}function fi(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,[i,a]=Bo(o,t);return r*(Nh/t)+(i+(n?a/t:0))}function di(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ro;const[r,o]=e,[i,a]=n(o,t);return[r*(Nh/t)+i,a]}function gi(e){return fo(e,"isoYear",El,Tl,1),e.isoYear===El?fo(e,"isoMonth",4,12,1):e.isoYear===Tl&&fo(e,"isoMonth",1,9,1),e}function mi(e){return yi({...e,...vl,isoHour:12}),e}function yi(e){const t=fo(e,"isoYear",El,Tl,1),n=t===El?1:t===Tl?-1:0;return n&&vi(bi({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function vi(e){if(!e||ci(e,bl,Al))throw new RangeError(oh);return e}function pi(e){return xo(e,5,ll)[1]}function wi(e){const[t,n]=Ro(e,Nh);return[Zo(n,5,ll),t]}function Si(e){return di(e,Eh)}function Ai(e){return Ii(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function bi(e){const t=Ai(e);if(void 0!==t){const[n,r]=Bo(t,Sh);return[n,r*Th+(e.isoMicrosecond||0)*bh+(e.isoNanosecond||0)]}}function Ti(e,t){const[n,r]=wi(pi(e)-t);return vi(bi({...e,isoDay:e.isoDay+r,...n}))}function Ei(){return Ii(...arguments)/Ah}function Ii(){const[e,t]=Mi(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*Sh}function Mi(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,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0;const s=e===El?1:e===Tl?-1:0,u=new Date;return u.setUTCHours(r,o,i,a),u.setUTCFullYear(e,t-1,n+s),[u,s]}function Ni(e,t){let[n,r]=ai(e,t);r<0&&(r+=Nh,n-=1);const[o,i]=Ro(r,Th),[a,s]=Ro(i,bh);return Hi(n*Sh+o,a,s)}function Hi(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)-Sl)/Sh)*Math.sign(e),o=new Date(e-r*Sh);return Ao(dl,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Ci(e,t){if(t<-Sl)throw new RangeError(oh);const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function Di(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Oi(e,t){return[t,0]}function _i(){return Cl}function ki(e,t){switch(t){case 2:return Ri(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Li(e){return Ri(e)?366:365}function Ri(e){return e%4==0&&(e%100!=0||e%400==0)}function Yi(e){const[t,n]=Mi(e.isoYear,e.isoMonth,e.isoDay);return Yo(t.getUTCDay()-n,7)||7}function Bi(e){return this.id===Gh?(e=>{let{isoYear:t}=e;return t<1?["gregory-inverse",1-t]:["gregory",t]})(e):this.id===Jh?Ol(e):[]}function Pi(e){const t=Ai(e);if(t<Dl){const{isoYear:t}=e;return t<1?["japanese-inverse",1-t]:["japanese",t]}const n=Ci($f(Jh),t),{era:r,eraYear:o}=Zu(n,Jh);return[r,o]}function ji(e){return Ui(e),$i(e,1),e}function Ui(e){return Zi(e,1),e}function xi(e){return No(fl,e,Zi(e))}function Zi(e,t){const{isoYear:n}=e,r=fo(e,"isoMonth",1,_i(),t);return{isoYear:n,isoMonth:r,isoDay:fo(e,"isoDay",1,ki(n,r),t)}}function $i(e,t){return Ao(ll,[fo(e,"isoHour",0,23,t),fo(e,"isoMinute",0,59,t),fo(e,"isoSecond",0,59,t),fo(e,"isoMillisecond",0,999,t),fo(e,"isoMicrosecond",0,999,t),fo(e,"isoNanosecond",0,999,t)])}function Fi(e){return void 0===e?0:Wl(Ko(e))}function Vi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ta(e);const n=ql(e),r=Xl(e,t);return[Wl(e),r,n]}function zi(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,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:4;t=ta(t);let a=Gl(t,r,o),s=Xi(t),u=nf(t,i);const c=Kl(t,r,o,1);return null==a?a=Math.max(n,c):aa(a,c),s=Qi(s,c,1),e&&(u=(e=>e<4?(e+2)%4:e)(u)),[a,c,s,u]}function Ki(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=Xi(e=na(e,_l));const o=nf(e,7);let i=Kl(e,t);return i=zo(_l,i),r=Qi(r,i,void 0,n),[i,r,o]}function Gi(e){return Ql(ta(e))}function Ji(e,t){return Wi(ta(e),t)}function Wi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=ea(e);return[nf(e,4),...qi(Kl(e,t),n)]}function qi(e,t){return null!=e?[Hh[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function Xi(e){const t=e[Ll];return void 0===t?1:ti(t,Ll)}function Qi(e,t,n,r){const o=r?Nh:Hh[t+1];if(o){const n=Hh[t];if(o%((e=go(Ll,e,1,o/n-(r?0:1),1))*n))throw new RangeError(_c(Ll,e))}else e=go(Ll,e,1,n?10**9:1,1);return e}function ea(e){let t=e[Rl];if(void 0!==t){if("number"!=typeof t){if("auto"===qo(t))return;throw new RangeError(_c(Rl,t))}t=go(Rl,Math.floor(t),0,9,1)}return t}function ta(e){return void 0===e?{}:Ko(e)}function na(e,t){return"string"==typeof e?{[t]:e}:Ko(e)}function ra(e){return{overflow:jl[e]}}function oa(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,i=t[e];if(void 0===i)return o?r:void 0;if(i=qo(i),"auto"===i)return o?r:null;let a=ph[i];if(void 0===a&&(a=sl[i]),void 0===a)throw new RangeError(Bc(e,i,ph));return go(e,a,r,n,1,wh),a}function ia(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 i=qo(o),a=t[i];if(void 0===a)throw new RangeError(Bc(e,i,t));return a}function aa(e,t){if(t>e)throw new RangeError(hh)}function sa(e){return{branding:hf,epochNanoseconds:e}}function ua(e,t,n){return{branding:cf,calendar:n,timeZone:t,epochNanoseconds:e}}function ca(e){let t=arguments.length>