@hebcal/core 3.37.2 → 3.38.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.
@@ -1,2 +1,2 @@
1
- /*! @hebcal/core v3.37.2 */
2
- var hebcal=function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function h(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=u(e);if(t){var r=u(this).constructor;a=Reflect.construct(n,arguments,r)}else a=n.apply(this,arguments);return h(this,a)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function f(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==a.return||a.return()}finally{if(u)throw o}}}}var v=[[0,31,28,31,30,31,30,31,31,30,31,30,31],[0,31,29,31,30,31,30,31,31,30,31,30,31]];function d(e,t){return e-t*Math.floor(e/t)}function m(e,t){return Math.floor(e/t)}var y=function(){function e(){a(this,e)}return r(e,null,[{key:"isLeapYear",value:function(e){return!(e%4||!(e%100)&&e%400)}},{key:"daysInMonth",value:function(e,t){return v[+this.isLeapYear(t)][e]}},{key:"isDate",value:function(e){return"object"===t(e)&&Date.prototype===e.__proto__}},{key:"dayOfYear",value:function(e){if(!this.isDate(e))throw new TypeError("Argument to greg.dayOfYear not a Date");var t=e.getDate()+31*e.getMonth();return e.getMonth()>1&&(t-=Math.floor((4*(e.getMonth()+1)+23)/10),this.isLeapYear(e.getFullYear())&&t++),t}},{key:"greg2abs",value:function(e){if(!this.isDate(e))throw new TypeError("Argument to greg.greg2abs not a Date");var t=e.getFullYear()-1;return this.dayOfYear(e)+365*t+(Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))}},{key:"yearFromFixed",value:function(e){var t=e-1,a=m(t,146097),n=d(t,146097),r=m(n,36524),o=d(n,36524),i=m(o,1461),u=m(d(o,1461),365),s=400*a+100*r+4*i+u;return 4!=r&&4!=u?s+1:s}},{key:"toFixed",value:function(e,t,a){var n=e-1;return 0+365*n+m(n,4)-m(n,100)+m(n,400)+m(367*t-362,12)+Math.floor(t<=2?0:this.isLeapYear(e)?-1:-2)+a}},{key:"abs2greg",value:function(e){if("number"!=typeof e)throw new TypeError("Argument to greg.abs2greg not a Number");e=Math.trunc(e);var t=this.yearFromFixed(e),a=m(12*(e-this.toFixed(t,1,1)+(e<this.toFixed(t,3,1)?0:this.isLeapYear(t)?1:2))+373,367),n=e-this.toFixed(t,a,1)+1,r=new Date(t,a-1,n);return t<100&&t>=0&&r.setFullYear(t),r}}]),e}();o(y,"monthNames",["","January","February","March","April","May","June","July","August","September","October","November","December"]);function g(e){switch(e){case 1:return"א";case 2:return"ב";case 3:return"ג";case 4:return"ד";case 5:return"ה";case 6:return"ו";case 7:return"ז";case 8:return"ח";case 9:return"ט";case 10:return"י";case 20:return"כ";case 30:return"ל";case 40:return"מ";case 50:return"נ";case 60:return"ס";case 70:return"ע";case 80:return"פ";case 90:return"צ";case 100:return"ק";case 200:return"ר";case 300:return"ש";case 400:return"ת";default:return"*INVALID*"}}function k(e){for(var t=[];e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}var a=100,n=void 0;for(n=400;n>e;n-=a)n===a&&(a/=10);t.push(n),e-=n}return t}function b(e){var t=parseInt(e,10);if(!t)throw new TypeError("invalid parameter to gematriya ".concat(e));var a="",n=Math.floor(t/1e3);if(n>0&&5!==n){for(var r=k(n),o=0;o<r.length;o++)a+=g(r[o]);a+="׳"}var i=k(t%1e3);if(1==i.length)return a+g(i[0])+"׳";for(var u=0;u<i.length;u++)u+1===i.length&&(a+="״"),a+=g(i[u]);return a}var S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},p=function(e){return e&&e.Math==Math&&e},w=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof S&&S)||function(){return this}()||Function("return this")(),M={},A=function(e){try{return!!e()}catch(e){return!0}},I=!A((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),D=!A((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),C=D,T=Function.prototype.call,E=C?T.bind(T):function(){return T.apply(T,arguments)},H={},O={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,L=N&&!O.call({1:2},1);H.f=L?function(e){var t=N(this,e);return!!t&&t.enumerable}:O;var Y,B,P=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},j=D,_=Function.prototype,R=_.bind,z=_.call,V=j&&R.bind(z,z),F=j?function(e){return e&&V(e)}:function(e){return e&&function(){return z.apply(e,arguments)}},x=F,K=x({}.toString),U=x("".slice),G=function(e){return U(K(e),8,-1)},Z=F,W=A,J=G,$=w.Object,q=Z("".split),X=W((function(){return!$("z").propertyIsEnumerable(0)}))?function(e){return"String"==J(e)?q(e,""):$(e)}:$,Q=w.TypeError,ee=function(e){if(null==e)throw Q("Can't call method on "+e);return e},te=X,ae=ee,ne=function(e){return te(ae(e))},re=function(e){return"function"==typeof e},oe=re,ie=function(e){return"object"==typeof e?null!==e:oe(e)},ue=w,se=re,he=function(e){return se(e)?e:void 0},ce=function(e,t){return arguments.length<2?he(ue[e]):ue[e]&&ue[e][t]},le=F({}.isPrototypeOf),fe=ce("navigator","userAgent")||"",ve=w,de=fe,me=ve.process,ye=ve.Deno,ge=me&&me.versions||ye&&ye.version,ke=ge&&ge.v8;ke&&(B=(Y=ke.split("."))[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!B&&de&&(!(Y=de.match(/Edge\/(\d+)/))||Y[1]>=74)&&(Y=de.match(/Chrome\/(\d+)/))&&(B=+Y[1]);var be=B,Se=be,pe=A,we=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})),Me=we&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ae=ce,Ie=re,De=le,Ce=Me,Te=w.Object,Ee=Ce?function(e){return"symbol"==typeof e}:function(e){var t=Ae("Symbol");return Ie(t)&&De(t.prototype,Te(e))},He=w.String,Oe=function(e){try{return He(e)}catch(e){return"Object"}},Ne=re,Le=Oe,Ye=w.TypeError,Be=function(e){if(Ne(e))return e;throw Ye(Le(e)+" is not a function")},Pe=Be,je=function(e,t){var a=e[t];return null==a?void 0:Pe(a)},_e=E,Re=re,ze=ie,Ve=w.TypeError,Fe={exports:{}},xe=w,Ke=Object.defineProperty,Ue=function(e,t){try{Ke(xe,e,{value:t,configurable:!0,writable:!0})}catch(a){xe[e]=t}return t},Ge=Ue,Ze="__core-js_shared__",We=w[Ze]||Ge(Ze,{}),Je=We;(Fe.exports=function(e,t){return Je[e]||(Je[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var $e=ee,qe=w.Object,Xe=function(e){return qe($e(e))},Qe=Xe,et=F({}.hasOwnProperty),tt=Object.hasOwn||function(e,t){return et(Qe(e),t)},at=F,nt=0,rt=Math.random(),ot=at(1..toString),it=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ot(++nt+rt,36)},ut=w,st=Fe.exports,ht=tt,ct=it,lt=we,ft=Me,vt=st("wks"),dt=ut.Symbol,mt=dt&&dt.for,yt=ft?dt:dt&&dt.withoutSetter||ct,gt=function(e){if(!ht(vt,e)||!lt&&"string"!=typeof vt[e]){var t="Symbol."+e;lt&&ht(dt,e)?vt[e]=dt[e]:vt[e]=ft&&mt?mt(t):yt(t)}return vt[e]},kt=E,bt=ie,St=Ee,pt=je,wt=function(e,t){var a,n;if("string"===t&&Re(a=e.toString)&&!ze(n=_e(a,e)))return n;if(Re(a=e.valueOf)&&!ze(n=_e(a,e)))return n;if("string"!==t&&Re(a=e.toString)&&!ze(n=_e(a,e)))return n;throw Ve("Can't convert object to primitive value")},Mt=gt,At=w.TypeError,It=Mt("toPrimitive"),Dt=function(e,t){if(!bt(e)||St(e))return e;var a,n=pt(e,It);if(n){if(void 0===t&&(t="default"),a=kt(n,e,t),!bt(a)||St(a))return a;throw At("Can't convert object to primitive value")}return void 0===t&&(t="number"),wt(e,t)},Ct=Ee,Tt=function(e){var t=Dt(e,"string");return Ct(t)?t:t+""},Et=ie,Ht=w.document,Ot=Et(Ht)&&Et(Ht.createElement),Nt=function(e){return Ot?Ht.createElement(e):{}},Lt=!I&&!A((function(){return 7!=Object.defineProperty(Nt("div"),"a",{get:function(){return 7}}).a})),Yt=I,Bt=E,Pt=H,jt=P,_t=ne,Rt=Tt,zt=tt,Vt=Lt,Ft=Object.getOwnPropertyDescriptor;M.f=Yt?Ft:function(e,t){if(e=_t(e),t=Rt(t),Vt)try{return Ft(e,t)}catch(e){}if(zt(e,t))return jt(!Bt(Pt.f,e,t),e[t])};var xt={},Kt=I&&A((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ut=w,Gt=ie,Zt=Ut.String,Wt=Ut.TypeError,Jt=function(e){if(Gt(e))return e;throw Wt(Zt(e)+" is not an object")},$t=I,qt=Lt,Xt=Kt,Qt=Jt,ea=Tt,ta=w.TypeError,aa=Object.defineProperty,na=Object.getOwnPropertyDescriptor,ra="enumerable",oa="configurable",ia="writable";xt.f=$t?Xt?function(e,t,a){if(Qt(e),t=ea(t),Qt(a),"function"==typeof e&&"prototype"===t&&"value"in a&&ia in a&&!a.writable){var n=na(e,t);n&&n.writable&&(e[t]=a.value,a={configurable:oa in a?a.configurable:n.configurable,enumerable:ra in a?a.enumerable:n.enumerable,writable:!1})}return aa(e,t,a)}:aa:function(e,t,a){if(Qt(e),t=ea(t),Qt(a),qt)try{return aa(e,t,a)}catch(e){}if("get"in a||"set"in a)throw ta("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var ua=xt,sa=P,ha=I?function(e,t,a){return ua.f(e,t,sa(1,a))}:function(e,t,a){return e[t]=a,e},ca={exports:{}},la=I,fa=tt,va=Function.prototype,da=la&&Object.getOwnPropertyDescriptor,ma=fa(va,"name"),ya={EXISTS:ma,PROPER:ma&&"something"===function(){}.name,CONFIGURABLE:ma&&(!la||la&&da(va,"name").configurable)},ga=re,ka=We,ba=F(Function.toString);ga(ka.inspectSource)||(ka.inspectSource=function(e){return ba(e)});var Sa,pa,wa,Ma=ka.inspectSource,Aa=re,Ia=Ma,Da=w.WeakMap,Ca=Aa(Da)&&/native code/.test(Ia(Da)),Ta=Fe.exports,Ea=it,Ha=Ta("keys"),Oa={},Na=Ca,La=w,Ya=F,Ba=ie,Pa=ha,ja=tt,_a=We,Ra=function(e){return Ha[e]||(Ha[e]=Ea(e))},za=Oa,Va="Object already initialized",Fa=La.TypeError,xa=La.WeakMap;if(Na||_a.state){var Ka=_a.state||(_a.state=new xa),Ua=Ya(Ka.get),Ga=Ya(Ka.has),Za=Ya(Ka.set);Sa=function(e,t){if(Ga(Ka,e))throw new Fa(Va);return t.facade=e,Za(Ka,e,t),t},pa=function(e){return Ua(Ka,e)||{}},wa=function(e){return Ga(Ka,e)}}else{var Wa=Ra("state");za[Wa]=!0,Sa=function(e,t){if(ja(e,Wa))throw new Fa(Va);return t.facade=e,Pa(e,Wa,t),t},pa=function(e){return ja(e,Wa)?e[Wa]:{}},wa=function(e){return ja(e,Wa)}}var Ja={set:Sa,get:pa,has:wa,enforce:function(e){return wa(e)?pa(e):Sa(e,{})},getterFor:function(e){return function(t){var a;if(!Ba(t)||(a=pa(t)).type!==e)throw Fa("Incompatible receiver, "+e+" required");return a}}},$a=A,qa=re,Xa=tt,Qa=I,en=ya.CONFIGURABLE,tn=Ma,an=Ja.enforce,nn=Ja.get,rn=Object.defineProperty,on=Qa&&!$a((function(){return 8!==rn((function(){}),"length",{value:8}).length})),un=String(String).split("String"),sn=ca.exports=function(e,t,a){if("Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(t="get "+t),a&&a.setter&&(t="set "+t),(!Xa(e,"name")||en&&e.name!==t)&&rn(e,"name",{value:t,configurable:!0}),on&&a&&Xa(a,"arity")&&e.length!==a.arity&&rn(e,"length",{value:a.arity}),a&&Xa(a,"constructor")&&a.constructor){if(Qa)try{rn(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;var n=an(e);return Xa(n,"source")||(n.source=un.join("string"==typeof t?t:"")),e};Function.prototype.toString=sn((function(){return qa(this)&&nn(this).source||tn(this)}),"toString");var hn=w,cn=re,ln=ha,fn=ca.exports,vn=Ue,dn={},mn=Math.ceil,yn=Math.floor,gn=function(e){var t=+e;return t!=t||0===t?0:(t>0?yn:mn)(t)},kn=gn,bn=Math.max,Sn=Math.min,pn=function(e,t){var a=kn(e);return a<0?bn(a+t,0):Sn(a,t)},wn=gn,Mn=Math.min,An=function(e){return e>0?Mn(wn(e),9007199254740991):0},In=function(e){return An(e.length)},Dn=ne,Cn=pn,Tn=In,En=function(e){return function(t,a,n){var r,o=Dn(t),i=Tn(o),u=Cn(n,i);if(e&&a!=a){for(;i>u;)if((r=o[u++])!=r)return!0}else for(;i>u;u++)if((e||u in o)&&o[u]===a)return e||u||0;return!e&&-1}},Hn={includes:En(!0),indexOf:En(!1)},On=tt,Nn=ne,Ln=Hn.indexOf,Yn=Oa,Bn=F([].push),Pn=function(e,t){var a,n=Nn(e),r=0,o=[];for(a in n)!On(Yn,a)&&On(n,a)&&Bn(o,a);for(;t.length>r;)On(n,a=t[r++])&&(~Ln(o,a)||Bn(o,a));return o},jn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");dn.f=Object.getOwnPropertyNames||function(e){return Pn(e,jn)};var _n={};_n.f=Object.getOwnPropertySymbols;var Rn=ce,zn=dn,Vn=_n,Fn=Jt,xn=F([].concat),Kn=Rn("Reflect","ownKeys")||function(e){var t=zn.f(Fn(e)),a=Vn.f;return a?xn(t,a(e)):t},Un=tt,Gn=Kn,Zn=M,Wn=xt,Jn=A,$n=re,qn=/#|\.prototype\./,Xn=function(e,t){var a=er[Qn(e)];return a==ar||a!=tr&&($n(t)?Jn(t):!!t)},Qn=Xn.normalize=function(e){return String(e).replace(qn,".").toLowerCase()},er=Xn.data={},tr=Xn.NATIVE="N",ar=Xn.POLYFILL="P",nr=Xn,rr=w,or=M.f,ir=ha,ur=function(e,t,a,n){var r=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,i=!!n&&!!n.noTargetGet,u=n&&void 0!==n.name?n.name:t;return cn(a)&&fn(a,u,n),e===hn?(o?e[t]=a:vn(t,a),e):(r?!i&&e[t]&&(o=!0):delete e[t],o?e[t]=a:ln(e,t,a),e)},sr=Ue,hr=function(e,t,a){for(var n=Gn(t),r=Wn.f,o=Zn.f,i=0;i<n.length;i++){var u=n[i];Un(e,u)||a&&Un(a,u)||r(e,u,o(t,u))}},cr=nr,lr=function(e,t){var a,n,r,o,i,u=e.target,s=e.global,h=e.stat;if(a=s?rr:h?rr[u]||sr(u,{}):(rr[u]||{}).prototype)for(n in t){if(o=t[n],r=e.noTargetGet?(i=or(a,n))&&i.value:a[n],!cr(s?n:u+(h?".":"#")+n,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;hr(o,r)}(e.sham||r&&r.sham)&&ir(o,"sham",!0),ur(a,n,o,e)}},fr={};fr[gt("toStringTag")]="z";var vr=w,dr="[object z]"===String(fr),mr=re,yr=G,gr=gt("toStringTag"),kr=vr.Object,br="Arguments"==yr(function(){return arguments}()),Sr=dr?yr:function(e){var t,a,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=kr(e),gr))?a:br?yr(t):"Object"==(n=yr(t))&&mr(t.callee)?"Arguments":n},pr=Sr,wr=w.String,Mr=function(e){if("Symbol"===pr(e))throw TypeError("Cannot convert a Symbol value to a string");return wr(e)},Ar=Tt,Ir=xt,Dr=P,Cr=function(e,t,a){var n=Ar(t);n in e?Ir.f(e,n,Dr(0,a)):e[n]=a},Tr=pn,Er=In,Hr=Cr,Or=w.Array,Nr=Math.max,Lr=function(e,t,a){for(var n=Er(e),r=Tr(t,n),o=Tr(void 0===a?n:a,n),i=Or(Nr(o-r,0)),u=0;r<o;r++,u++)Hr(i,u,e[r]);return i.length=u,i},Yr=Math.floor,Br=function(e,t){var a=e.length,n=Yr(a/2);return a<8?Pr(e,t):jr(e,Br(Lr(e,0,n),t),Br(Lr(e,n),t),t)},Pr=function(e,t){for(var a,n,r=e.length,o=1;o<r;){for(n=o,a=e[o];n&&t(e[n-1],a)>0;)e[n]=e[--n];n!==o++&&(e[n]=a)}return e},jr=function(e,t,a,n){for(var r=t.length,o=a.length,i=0,u=0;i<r||u<o;)e[i+u]=i<r&&u<o?n(t[i],a[u])<=0?t[i++]:a[u++]:i<r?t[i++]:a[u++];return e},_r=Br,Rr=A,zr=fe.match(/firefox\/(\d+)/i),Vr=!!zr&&+zr[1],Fr=/MSIE|Trident/.test(fe),xr=fe.match(/AppleWebKit\/(\d+)\./),Kr=!!xr&&+xr[1],Ur=lr,Gr=F,Zr=Be,Wr=Xe,Jr=In,$r=Mr,qr=A,Xr=_r,Qr=function(e,t){var a=[][e];return!!a&&Rr((function(){a.call(null,t||function(){return 1},1)}))},eo=Vr,to=Fr,ao=be,no=Kr,ro=[],oo=Gr(ro.sort),io=Gr(ro.push),uo=qr((function(){ro.sort(void 0)})),so=qr((function(){ro.sort(null)})),ho=Qr("sort"),co=!qr((function(){if(ao)return ao<70;if(!(eo&&eo>3)){if(to)return!0;if(no)return no<603;var e,t,a,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0;n<47;n++)ro.push({k:t+n,v:a})}for(ro.sort((function(e,t){return t.v-e.v})),n=0;n<ro.length;n++)t=ro[n].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));Ur({target:"Array",proto:!0,forced:uo||!so||!ho||!co},{sort:function(e){void 0!==e&&Zr(e);var t=Wr(this);if(co)return void 0===e?oo(t):oo(t,e);var a,n,r=[],o=Jr(t);for(n=0;n<o;n++)n in t&&io(r,t[n]);for(Xr(r,function(e){return function(t,a){return void 0===a?-1:void 0===t?1:void 0!==e?+e(t,a)||0:$r(t)>$r(a)?1:-1}}(e)),a=r.length,n=0;n<a;)t[n]=r[n++];for(;n<o;)delete t[n++];return t}});var lo={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},fo={h:"he",a:"ashkenazi",s:"en","":"en"},vo=function(){function e(){a(this,e)}return r(e,null,[{key:"lookupTranslation",value:function(e,t){var a=t&&t.toLowerCase(),n=("string"==typeof t&&this.locales[a]||this.activeLocale)[e];if(n&&n.length&&n[0].length)return n[0]}},{key:"gettext",value:function(e,t){var a=this.lookupTranslation(e,t);return void 0===a?e:a}},{key:"addLocale",value:function(e,a){if("object"!==t(a.contexts)||"object"!==t(a.contexts[""]))throw new TypeError("Locale '".concat(e,"' invalid compact format"));this.locales[e.toLowerCase()]=a.contexts[""]}},{key:"useLocale",value:function(e){var t=e.toLowerCase(),a=this.locales[t];if(!a)throw new RangeError("Locale '".concat(e,"' not found"));return this.activeName=fo[t]||t,this.activeLocale=a,this.activeLocale}},{key:"getLocaleName",value:function(){return this.activeName}},{key:"getLocaleNames",value:function(){return Object.keys(this.locales).sort()}},{key:"ordinal",value:function(e,t){var a=t&&t.toLowerCase()||this.activeName;if(!a)return this.getEnOrdinal(e);switch(a){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+"."}}},{key:"getEnOrdinal",value:function(e){var t=["th","st","nd","rd"],a=e%100;return e+(t[(a-20)%10]||t[a]||t[0])}},{key:"hebrewStripNikkud",value:function(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}]),e}();o(vo,"locales",Object.create(null)),o(vo,"activeLocale",null),o(vo,"activeName",null),vo.addLocale("en",lo),vo.addLocale("s",lo),vo.addLocale("",lo),vo.useLocale("en");var mo={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},yo=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],go=[yo.concat(["Adar","Nisan"]),yo.concat(["Adar I","Adar II","Nisan"])];function ko(e){throw new TypeError(e)}var bo=Object.create(null),So=-1373428,po="day",wo="week",Mo="month",Ao="year",Io={d:po,w:wo,M:Mo,y:Ao},Do={day:po,week:wo,month:Mo,year:Ao},Co=function(){function e(t,n,r){if(a(this,e),2==arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3==arguments.length){if(this.day=this.month=1,this.year=+r,isNaN(this.year))throw new TypeError("HDate called with bad year argument: ".concat(r));if(this.setMonth(n),this.setDate(+t),isNaN(this.day))throw new TypeError("HDate called with bad day argument: ".concat(t))}else{void 0===t&&(t=new Date);var o="number"!=typeof t||isNaN(t)?y.isDate(t)?y.greg2abs(t):e.isHDate(t)?{dd:t.day,mm:t.month,yy:t.year}:ko("HDate called with bad argument: ".concat(t)):t,i="number"==typeof o,u=i?e.abs2hebrew(o):o;this.day=u.dd,this.month=u.mm,this.year=u.yy,i&&(this.abs0=o)}}return r(e,[{key:"getFullYear",value:function(){return this.year}},{key:"isLeapYear",value:function(){return e.isLeapYear(this.year)}},{key:"getMonth",value:function(){return this.month}},{key:"getTishreiMonth",value:function(){var t=e.monthsInYear(this.getFullYear());return(this.getMonth()+t-6)%t||t}},{key:"daysInMonth",value:function(){return e.daysInMonth(this.getMonth(),this.getFullYear())}},{key:"getDate",value:function(){return this.day}},{key:"getDay",value:function(){return d(this.abs(),7)}},{key:"setFullYear",value:function(e){return this.year=e,To(this),this}},{key:"setMonth",value:function(t){return this.month=e.monthNum(t),To(this),this}},{key:"setDate",value:function(e){return this.day=e,To(this),this}},{key:"greg",value:function(){return y.abs2greg(this.abs())}},{key:"abs",value:function(){return"number"!=typeof this.abs0&&(this.abs0=e.hebrew2abs(this.year,this.month,this.day)),this.abs0}},{key:"getMonthName",value:function(){return e.getMonthName(this.getMonth(),this.getFullYear())}},{key:"render",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t||vo.getLocaleName(),r=this.getDate(),o=vo.gettext(this.getMonthName(),n),i=vo.ordinal(r,n),u=e.getDayOfTranslation(n),s="".concat(i).concat(u," ").concat(o);if(a){var h=this.getFullYear();return"".concat(s,", ").concat(h)}return s}},{key:"renderGematriya",value:function(){var e=this.getDate(),t=vo.gettext(this.getMonthName(),"he"),a=this.getFullYear();return b(e)+" "+t+" "+b(a)}},{key:"before",value:function(e){return Ho(e,this,-1)}},{key:"onOrBefore",value:function(e){return Ho(e,this,0)}},{key:"nearest",value:function(e){return Ho(e,this,3)}},{key:"onOrAfter",value:function(e){return Ho(e,this,6)}},{key:"after",value:function(e){return Ho(e,this,7)}},{key:"next",value:function(){return new e(this.abs()+1)}},{key:"prev",value:function(){return new e(this.abs()-1)}},{key:"add",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(t=parseInt(t,10)))return new e(this);if((a=e.standardizeUnits(a))===po)return new e(this.abs()+t);if(a===wo)return new e(this.abs()+7*t);if(a===Ao)return new e(this.getDate(),this.getMonth(),this.getFullYear()+t);if(a===Mo){var n=new e(this),r=t>0?1:-1;t=Math.abs(t);for(var o=0;o<t;o++)n=new e(n.abs()+r*n.daysInMonth());return n}}},{key:"subtract",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}},{key:"deltaDays",value:function(t){if(!e.isHDate(t))throw new TypeError("Bad argument: ".concat(t));return this.abs()-t.abs()}},{key:"isSameDate",value:function(t){return!!e.isHDate(t)&&(this.year==t.year&&this.month==t.month&&this.day==t.day)}},{key:"toString",value:function(){var e=this.getDate(),t=this.getFullYear(),a=this.getMonthName();return"".concat(e," ").concat(a," ").concat(t)}}],[{key:"hebrew2abs",value:function(t,a,n){var r=n;if(a<7){for(var o=7;o<=e.monthsInYear(t);o++)r+=e.daysInMonth(o,t);for(var i=1;i<a;i++)r+=e.daysInMonth(i,t)}else for(var u=7;u<a;u++)r+=e.daysInMonth(u,t);return So+e.elapsedDays(t)+r-1}},{key:"newYear",value:function(t){return So+e.elapsedDays(t)+e.newYearDelay(t)}},{key:"newYearDelay",value:function(t){var a=e.elapsedDays(t);return e.elapsedDays(t+1)-a==356?2:a-e.elapsedDays(t-1)==382?1:0}},{key:"abs2hebrew",value:function(t){if("number"!=typeof t||isNaN(t))throw new TypeError("invalid parameter to abs2hebrew ".concat(t));t=Math.trunc(t);for(var a=Math.floor((t-So)/365.24682220597794);e.newYear(a)<=t;)++a;--a;for(var n=t<e.hebrew2abs(a,1,1)?7:1;t>e.hebrew2abs(a,n,e.daysInMonth(n,a));)++n;return{yy:a,mm:n,dd:1+t-e.hebrew2abs(a,n,1)}}},{key:"getDayOfTranslation",value:function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}var t=vo.lookupTranslation("of",e);return t?" "+t:"ashkenazi"===e.substring(0,9)?" of":""}},{key:"standardizeUnits",value:function(e){var t=Io[e]||String(e||"").toLowerCase().replace(/s$/,"");return Do[t]||ko("Invalid units '".concat(e,"'"))}},{key:"isLeapYear",value:function(e){return(1+7*e)%19<7}},{key:"monthsInYear",value:function(t){return 12+e.isLeapYear(t)}},{key:"daysInMonth",value:function(t,a){return 2==t||4==t||6==t||10==t||13==t||12==t&&!e.isLeapYear(a)||8==t&&!e.longCheshvan(a)||9==t&&e.shortKislev(a)?29:30}},{key:"getMonthName",value:function(t,a){if("number"!=typeof t||t<1||t>14)throw new TypeError("bad month argument ".concat(t));return go[+e.isLeapYear(a)][t]}},{key:"monthNum",value:function(t){return"number"==typeof t?t:t.charCodeAt(0)>=48&&t.charCodeAt(0)<=57?parseInt(t,10):e.monthFromName(t)}},{key:"elapsedDays",value:function(t){return bo[t]=bo[t]||e.elapsedDays0(t)}},{key:"elapsedDays0",value:function(t){var a=t-1,n=235*Math.floor(a/19)+a%19*12+Math.floor((a%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,u=1+29*n+Math.floor(o/24),s=u+(i>=19440||2==u%7&&i>=9924&&!e.isLeapYear(t)||1==u%7&&i>=16789&&e.isLeapYear(a));return s+(s%7==0||s%7==3||s%7==5)}},{key:"daysInYear",value:function(t){return e.elapsedDays(t+1)-e.elapsedDays(t)}},{key:"longCheshvan",value:function(t){return e.daysInYear(t)%10==5}},{key:"shortKislev",value:function(t){return e.daysInYear(t)%10==3}},{key:"monthFromName",value:function(e){if("number"==typeof e)return e;var t=e.toLowerCase();switch(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}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("Unable to parse month name: ".concat(e))}},{key:"dayOnOrBefore",value:function(e,t){return t-(t-e)%7}},{key:"isHDate",value:function(e){return null!==e&&"object"===t(e)&&"number"==typeof e.year&&"number"==typeof e.month&&"number"==typeof e.day&&"function"==typeof e.greg&&"function"==typeof e.abs}}]),e}();function To(e){Eo(e),function(e){e.day<1&&(7==e.month&&(e.year-=1),e.day+=Co.daysInMonth(e.month,e.year),e.month-=1,To(e));e.day>Co.daysInMonth(e.month,e.year)&&(6==e.month&&(e.year+=1),e.day-=Co.daysInMonth(e.month,e.year),e.month+=1,To(e));Eo(e)}(e)}function Eo(e){13!=e.month||e.isLeapYear()?e.month<1?(e.month+=Co.monthsInYear(e.year),e.year-=1,To(e)):e.month>Co.monthsInYear(e.year)&&(e.month-=Co.monthsInYear(e.year),e.year+=1,To(e)):(e.month-=1,To(e)),delete e.abs0}function Ho(e,t,a){return new Co(Co.dayOnOrBefore(e,t.abs()+a))}var Oo={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},No=function(){function e(n,r,o,i){var u=this;a(this,e),this.date=n,this.desc=r,this.mask=+o,"object"===t(i)&&null!==i&&Object.keys(i).forEach((function(e){return u[e]=i[e]}))}return r(e,[{key:"getDate",value:function(){return this.date}},{key:"getDesc",value:function(){return this.desc}},{key:"getFlags",value:function(){return this.mask}},{key:"render",value:function(e){return vo.gettext(this.desc,e)}},{key:"renderBrief",value:function(e){return this.render(e)}},{key:"getEmoji",value:function(){return this.emoji||null}},{key:"basename",value:function(){return this.getDesc()}},{key:"url",value:function(){}},{key:"observedInIsrael",value:function(){return!(8&this.mask)}},{key:"observedInDiaspora",value:function(){return!(16&this.mask)}},{key:"getAttrs",value:function(){return this}},{key:"clone",value:function(){var e=new this.constructor;for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e}}]),e}(),Lo=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"],Yo=function(e){i(n,e);var t=c(n);function n(e){return a(this,n),t.call(this,e,e.toString(),Oo.HEBREW_DATE)}return r(n,[{key:"render",value:function(e){var t=e&&e.toLowerCase()||vo.getLocaleName(),a=this.getDate();switch(t){case"h":case"he":case"he-x-nonikud":var n=a.getDate(),r=vo.gettext(a.getMonthName(),t),o=a.getFullYear();return b(n)+" "+r+" "+b(o);default:return a.render(t,!0)}}},{key:"renderBrief",value:function(e){var t=e&&e.toLowerCase()||vo.getLocaleName(),a=this.getDate();if(a.getMonth()===mo.TISHREI&&1===a.getDate())return this.render(t);switch(t){case"h":case"he":case"he-x-nonikud":var n=a.getDate(),r=vo.gettext(a.getMonthName(),t);return b(n)+" "+r;default:return a.render(t,!1)}}}],[{key:"renderHebrew",value:function(e,t,a){return b(e)+" "+t+" "+b(a)}}]),n}(No),Bo=function(){function e(t,n,r){a(this,e),this.date=t,this.latitude=n,this.longitude=r,this.julianDate=function(e){var t=e.getFullYear(),a=e.getMonth()+1,n=e.getDate();a<3&&(t--,a+=12);var r=Math.floor(t/100),o=2-r+Math.floor(r/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(a+1))+n+o-1524.5}(t)}return r(e,[{key:"solarNoon",get:function(){return function(e,t,a){var n=Uo(jo(e-t/360)),r=jo(e+(720-4*t-n)/1440);n=Uo(r);var o=720-4*t-n;for(;o<0;)o+=1440;for(;o>=1440;)o-=1440;return Po(a,o)}(this.julianDate,this.longitude,this.date)}},{key:"timeAtAngle",value:function(e,t){return function(e,t,a,n,r,o){var i=Go(e,t,a,r,o),u=Go(e,t,a+i/1440,r,o);return function(e){for(var t=!1,a="".concat(e),n=0;n<a.length;n++){var r=a.charAt(n);if(0!==n||"-"!==r&&"+"!==r)if("."!==r||t){if(r<"0"||r>"9")return!1}else t=!0}return!0}(u)?Po(n,u):new Date(NaN)}(t,e,this.julianDate,this.date,this.latitude,this.longitude)}}]),e}();function Po(e,t){var a=60*(t-Math.floor(t));return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),0,t,a))}function jo(e){return(e-2451545)/36525}function _o(e){return 180*e/Math.PI}function Ro(e){return Math.PI*e/180}function zo(e){for(var t=280.46646+e*(36000.76983+3032e-7*e);t>360;)t-=360;for(;t<0;)t+=360;return t}function Vo(e){return 357.52911+e*(35999.05029-1537e-7*e)}function Fo(e){var t=zo(e),a=function(e){var t=Ro(Vo(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)}(e);return t+a}function xo(e){var t=function(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}(e),a=125.04-1934.136*e;return t+.00256*Math.cos(Ro(a))}function Ko(e){var t=xo(e),a=function(e){var t=125.04-1934.136*e;return Fo(e)-.00569-.00478*Math.sin(Ro(t))}(e),n=Math.sin(Ro(t))*Math.sin(Ro(a));return _o(Math.asin(n))}function Uo(e){var t=xo(e),a=zo(e),n=function(e){return.016708634-e*(42037e-9+1.267e-7*e)}(e),r=Vo(e),o=Math.tan(Ro(t)/2);o*=o;var i=Math.sin(2*Ro(a)),u=Math.sin(Ro(r));return 4*_o(o*i-2*n*u+4*n*o*u*Math.cos(2*Ro(a))-.5*o*o*Math.sin(4*Ro(a))-1.25*n*n*Math.sin(2*Ro(r)))}function Go(e,t,a,n,r){var o=jo(a),i=Uo(o),u=function(e,t,a){var n=Ro(t),r=Ro(a),o=Math.cos(Ro(90+e))/(Math.cos(n)*Math.cos(r))-Math.tan(n)*Math.tan(r);return Math.acos(o)}(t,n,Ko(o));return e||(u=-u),720-4*(r+_o(u))-i}var Zo=.833,Wo=.3,Jo=6,$o=12,qo=18,Xo=-6,Qo=function(){function e(t,n,r){a(this,e),this.date=t,this.lat=n,this.longitude=r,this.sun=new Bo(t,n,r)}return r(e,[{key:"solarNoon",get:function(){return this.sun.solarNoon}},{key:"sunrise",get:function(){return this.sun.timeAtAngle(Zo,!0)}},{key:"sunset",get:function(){return this.sun.timeAtAngle(Zo)}},{key:"sunriseEnd",get:function(){return this.sun.timeAtAngle(Wo,!0)}},{key:"sunsetStart",get:function(){return this.sun.timeAtAngle(Wo,!1)}},{key:"civilDawn",get:function(){return this.sun.timeAtAngle(Jo,!0)}},{key:"dawn",get:function(){return this.civilDawn}},{key:"civilDusk",get:function(){return this.sun.timeAtAngle(Jo,!1)}},{key:"dusk",get:function(){return this.civilDusk}},{key:"nauticalDawn",get:function(){return this.sun.timeAtAngle($o,!0)}},{key:"nauticalDusk",get:function(){return this.sun.timeAtAngle($o,!1)}},{key:"nightStart",get:function(){return this.astronomicalDusk}},{key:"astronomicalDusk",get:function(){return this.sun.timeAtAngle(qo,!1)}},{key:"astronomicalDawn",get:function(){return this.sun.timeAtAngle(qo,!0)}},{key:"nightEnd",get:function(){return this.astronomicalDawn}},{key:"goldenHourStart",get:function(){return this.sun.timeAtAngle(Xo,!1)}},{key:"goldenHourEnd",get:function(){return this.sun.timeAtAngle(Xo,!0)}}]),e}(),ei={};var ti=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ai(e,t){var a=function(e){var t=ei[e];if(t)return t;var a=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 ei[e]=a,a}(e).format(t),n=ti.exec(a),r=n[4];return"24"==r&&(r="00"),n[3]=ni(n[3]),"".concat(n[3],"-").concat(n[1],"-").concat(n[2],"T").concat(r,":").concat(n[5],":").concat(n[6],"Z")}function ni(e){return e<0?"-00"+ni(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function ri(e){return e<10?"0"+e:String(e)}var oi=function(){function e(t,n,r){if(a(this,e),"number"!=typeof n)throw new TypeError("Invalid latitude");if("number"!=typeof r)throw new TypeError("Invalid longitude");if(n<-90||n>90)throw new RangeError("Latitude ".concat(n," out of range [-90,90]"));if(r<-180||r>180)throw new RangeError("Longitude ".concat(r," out of range [-180,180]"));var o=y.isDate(t)?t:Co.isHDate(t)?t.greg():function(e){throw new TypeError(e)}("invalid date: ".concat(t));this.date=o,this.solarCalc=new Qo(this.date,n,r),this.sun=this.solarCalc.sun,this.latitude=n,this.longitude=r}return r(e,[{key:"suntime",value:function(){return{solarNoon:this.solarCalc.solarNoon,sunrise:this.sunrise(),sunset:this.sunset(),sunriseEnd:this.solarCalc.sunriseEnd,sunsetStart:this.solarCalc.sunsetStart,dawn:this.dawn(),dusk:this.dusk(),nauticalDawn:this.solarCalc.nauticalDawn,nauticalDusk:this.solarCalc.nauticalDusk,nightEnd:this.solarCalc.nightEnd,night:this.solarCalc.nightStart,goldenHourEnd:this.solarCalc.goldenHourEnd,goldenHour:this.solarCalc.goldenHourStart,alotHaShachar:this.alotHaShachar(),misheyakir:this.misheyakir(),misheyakirMachmir:this.misheyakirMachmir(),tzeit:this.tzeit()}}},{key:"sunrise",value:function(){return this.sun.timeAtAngle(.833333,!0)}},{key:"sunset",value:function(){return this.sun.timeAtAngle(.833333,!1)}},{key:"dawn",value:function(){return this.solarCalc.dawn}},{key:"dusk",value:function(){return this.solarCalc.dusk}},{key:"hour",value:function(){return(this.sunset()-this.sunrise())/12}},{key:"hourMins",value:function(){return this.hour()/6e4}},{key:"gregEve",value:function(){var t=new Date(this.date);return t.setDate(t.getDate()-1),new e(t,this.latitude,this.longitude).sunset()}},{key:"nightHour",value:function(){return(this.sunrise()-this.gregEve())/12}},{key:"nightHourMins",value:function(){return this.nightHour()/6e4}},{key:"hourOffset",value:function(e){return new Date(this.sunrise().getTime()+this.hour()*e)}},{key:"chatzot",value:function(){return this.hourOffset(6)}},{key:"chatzotNight",value:function(){return new Date(this.sunrise().getTime()-6*this.nightHour())}},{key:"alotHaShachar",value:function(){return this.sun.timeAtAngle(16.1,!0)}},{key:"misheyakir",value:function(){return this.sun.timeAtAngle(11.5,!0)}},{key:"misheyakirMachmir",value:function(){return this.sun.timeAtAngle(10.2,!0)}},{key:"sofZmanShma",value:function(){return this.hourOffset(3)}},{key:"sofZmanTfilla",value:function(){return this.hourOffset(4)}},{key:"sofZmanShmaMGA",value:function(){var e=this.sunriseOffset(-72),t=(this.sunsetOffset(72)-e)/12;return new Date(e.getTime()+3*t)}},{key:"sofZmanTfillaMGA",value:function(){var e=this.sunriseOffset(-72),t=(this.sunsetOffset(72)-e)/12;return new Date(e.getTime()+4*t)}},{key:"minchaGedola",value:function(){return this.hourOffset(6.5)}},{key:"minchaKetana",value:function(){return this.hourOffset(9.5)}},{key:"plagHaMincha",value:function(){return this.hourOffset(10.75)}},{key:"tzeit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8.5;return this.sun.timeAtAngle(e,!1)}},{key:"neitzHaChama",value:function(){return this.sunrise()}},{key:"shkiah",value:function(){return this.sunset()}},{key:"sunriseOffset",value:function(e){var t=this.sunrise();return isNaN(t.getTime())?t:(e>0&&t.getSeconds()>=30&&e++,t.setSeconds(0,0),new Date(t.getTime()+60*e*1e3))}},{key:"sunsetOffset",value:function(e){var t=this.sunset();return isNaN(t.getTime())?t:(e>0&&t.getSeconds()>=30&&e++,t.setSeconds(0,0),new Date(t.getTime()+60*e*1e3))}},{key:"sunsetOffsetTime",value:function(t,a){var n=this.sunsetOffset(t);return isNaN(n.getTime())?[void 0,void 0]:[n,e.formatTime(n,a)]}},{key:"tzeitTime",value:function(t,a){var n=this.tzeit(t);if(isNaN(n.getTime()))return[void 0,void 0];var r=e.roundTime(n);return[r,e.formatTime(r,a)]}}],[{key:"formatTime",value:function(e,t){var a=t.format(e),n=a.split(":");return"24"===n[0]?"00:"+n[1]:a}},{key:"roundTime",value:function(e){var t=e.getTime();if(isNaN(t))return e;var a=e.getMilliseconds(),n=e.getSeconds();if(0===n&&0===a)return e;var r=1e3*n+a;return new Date(t+(r>=3e4?6e4-r:-1*r))}},{key:"timeZoneOffset",value:function(e,t){var a=function(e,t){var a=ai("UTC",t),n=ai(e,t),r=new Date(a).getTime()-new Date(n).getTime();return Math.ceil(r/1e3/60)}(e,t),n=Math.abs(a),r=n%60;return(a<0?"+":"-")+ri(Math.floor(n/60))+":"+ri(r)}},{key:"formatISOWithTimeZone",value:function(t,a){return isNaN(a.getTime())?null:ai(t,a).substring(0,19)+e.timeZoneOffset(t,a)}}]),e}(),ii=Object.create(null),ui={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"},si=Object.create(null);var hi=function(){function e(t,n,r,o,i,u,s){a(this,e);var h="number"==typeof t?t:parseFloat(t);if(isNaN(h)||h<-90||h>90)throw new RangeError("Latitude ".concat(t," out of range [-90,90]"));var c="number"==typeof n?n:parseFloat(n);if(isNaN(c)||c<-180||c>180)throw new RangeError("Longitude ".concat(n," out of range [-180,180]"));this.latitude=h,this.longitude=c,this.il=Boolean(r),this.tzid=o,this.name=i,this.cc=u,this.geoid=s}return r(e,[{key:"getLatitude",value:function(){return this.latitude}},{key:"getLongitude",value:function(){return this.longitude}},{key:"getIsrael",value:function(){return this.il}},{key:"getName",value:function(){return this.name}},{key:"getShortName",value:function(){var e=this.name;if(!e)return e;var 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)}},{key:"getCountryCode",value:function(){return this.cc}},{key:"getTzid",value:function(){return this.tzid}},{key:"getTimeFormatter",value:function(){return function(e){var t=si[e];if(t)return t;var a=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return si[e]=a,a}(this.tzid)}},{key:"getGeoId",value:function(){return this.geoid}},{key:"sunset",value:function(e){return new oi(e,this.getLatitude(),this.getLongitude()).sunset()}},{key:"tzeit",value:function(e,t){return new oi(e,this.getLatitude(),this.getLongitude()).tzeit(t)}},{key:"toString",value:function(){return JSON.stringify(this)}}],[{key:"lookup",value:function(e){return ii[e.toLowerCase()]}},{key:"legacyTzToTzid",value:function(e,t){if(e=+e,"none"==t)return 0==e?"UTC":"Etc/GMT".concat(e>0?"+":"").concat(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 ui[String(-1*e)]}},{key:"getUsaTzid",value:function(e,t,a){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==a?"America/Denver":"America/Phoenix":ui[t]}},{key:"geonameCityDescr",value:function(e,t,a){"United States"==a&&(a="USA"),"United Kingdom"==a&&(a="UK");var n=e;return"Israel"!=a&&t&&0!=t.indexOf(e)&&(n+=", "+t),a&&(n+=", "+a),n}},{key:"addLocation",value:function(e,t){var a=e.toLowerCase();return!ii[a]&&(ii[a]=t,!0)}}]),e}();[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem"],["Atlanta","US",33.749,-84.38798,"America/New_York"],["Austin","US",30.26715,-97.74306,"America/Chicago"],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad"],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem"],["Berlin","DE",52.52437,13.41053,"Europe/Berlin"],["Baltimore","US",39.29038,-76.61219,"America/New_York"],["Bogota","CO",4.60971,-74.08175,"America/Bogota"],["Boston","US",42.35843,-71.05977,"America/New_York"],["Budapest","HU",47.49801,19.03991,"Europe/Budapest"],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires"],["Buffalo","US",42.88645,-78.87837,"America/New_York"],["Chicago","US",41.85003,-87.65005,"America/Chicago"],["Cincinnati","US",39.162,-84.45689,"America/New_York"],["Cleveland","US",41.4995,-81.69541,"America/New_York"],["Dallas","US",32.78306,-96.80667,"America/Chicago"],["Denver","US",39.73915,-104.9847,"America/Denver"],["Detroit","US",42.33143,-83.04575,"America/Detroit"],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem"],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar"],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem"],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu"],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki"],["Houston","US",29.76328,-95.36327,"America/Chicago"],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem"],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg"],["Kiev","UA",50.45466,30.5238,"Europe/Kiev"],["La Paz","BO",-16.5,-68.15,"America/La_Paz"],["Livingston","US",40.79593,-74.31487,"America/New_York"],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles"],["London","GB",51.50853,-.12574,"Europe/London"],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles"],["Marseilles","FR",43.29695,5.38107,"Europe/Paris"],["Miami","US",25.77427,-80.19366,"America/New_York"],["Minneapolis","US",44.97997,-93.26384,"America/Chicago"],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne"],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City"],["Montreal","CA",45.50884,-73.58781,"America/Toronto"],["Moscow","RU",55.75222,37.61556,"Europe/Moscow"],["New York","US",40.71427,-74.00597,"America/New_York"],["Omaha","US",41.25861,-95.93779,"America/Chicago"],["Ottawa","CA",45.41117,-75.69812,"America/Toronto"],["Panama City","PA",8.9936,-79.51973,"America/Panama"],["Paris","FR",48.85341,2.3488,"Europe/Paris"],["Pawtucket","US",41.87871,-71.38256,"America/New_York"],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem"],["Philadelphia","US",39.95233,-75.16379,"America/New_York"],["Phoenix","US",33.44838,-112.07404,"America/Phoenix"],["Pittsburgh","US",40.44062,-79.99589,"America/New_York"],["Providence","US",41.82399,-71.41283,"America/New_York"],["Portland","US",45.52345,-122.67621,"America/Los_Angeles"],["Saint Louis","US",38.62727,-90.19789,"America/Chicago"],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow"],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles"],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles"],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo"],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles"],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney"],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem"],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem"],["Toronto","CA",43.70011,-79.4163,"America/Toronto"],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver"],["White Plains","US",41.03399,-73.76291,"America/New_York"],["Washington DC","US",38.89511,-77.03637,"America/New_York"],["Worcester","US",42.26259,-71.80229,"America/New_York"]].forEach((function(e){var t=new hi(e[2],e[3],"IL"==e[1],e[4],e[0],e[1]);hi.addLocation(t.getName(),t)}));var ci=5,li=6;function fi(e,t,a,n,r){var o=!1,i=a==li,u=e?e.getFlags():Oo.LIGHT_CANDLES;void 0!==e?a!=ci&&(u&(Oo.LIGHT_CANDLES_TZEIS|Oo.CHANUKAH_CANDLES)?i=!0:u&Oo.YOM_TOV_ENDS&&(o=!0,i=!0)):a==li&&(o=!0,u=Oo.LIGHT_CANDLES_TZEIS);var s=i?r.havdalahMins:r.candleLightingMins,h=new oi(t,n.getLatitude(),n.getLongitude()),c=s?h.sunsetOffset(s):h.tzeit(r.havdalahDeg);return isNaN(c.getTime())?null:o?new di(t,u,c,n,r.havdalahMins,e):new mi(t,u,c,n,e)}var vi=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u,s){var h;a(this,n),(h=t.call(this,e,r,o)).eventTime=oi.roundTime(i),h.location=u;var c=u.getTimeFormatter();return h.eventTimeStr=oi.formatTime(h.eventTime,c),void 0!==s&&(h.linkedEvent=s),h}return r(n,[{key:"render",value:function(e){return vo.gettext(this.getDesc(),e)+": "+this.eventTimeStr}},{key:"renderBrief",value:function(e){return vo.gettext(this.getDesc(),e)}}]),n}(No),di=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u,s){var h;return a(this,n),h=t.call(this,e,"Havdalah",r,o,i,s),u&&(h.havdalahMins=u),h}return r(n,[{key:"render",value:function(e){return this.renderBrief(e)+": "+this.eventTimeStr}},{key:"renderBrief",value:function(e){var t=vo.gettext(this.getDesc(),e);if(this.havdalahMins){var a=vo.gettext("min",e);t+=" (".concat(this.havdalahMins," ").concat(a,")")}return t}},{key:"getEmoji",value:function(){return"✨"}}]),n}(vi),mi=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u){return a(this,n),t.call(this,e,"Candle lighting",r,o,i,u)}return r(n,[{key:"getEmoji",value:function(){return"🕯️"}}]),n}(vi);function yi(e,t,a,n,r){return isNaN(t.getTime())?null:new vi(e,a,n.getFlags(),t,r,n)}var gi=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ki=function(){function e(t,n){a(this,e);var r=n-7;r<0&&(r+=Co.monthsInYear(t));var o=235*Math.floor((t-1)/19)+(t-1)%19*12+Math.floor(((t-1)%19*7+1)/19)+r,i=204+Math.floor(o%1080*793),u=5+12*o+793*Math.floor(o/1080)+Math.floor(i/1080)-6,s=(i%1080+u%24*1080)%1080,h=(1+29*o+Math.floor(u/24))%7;this.year=t,this.month=n,this.dow=h,this.hour=u%24,this.minutes=Math.floor(s/18),this.chalakim=s%18}return r(e,[{key:"getYear",value:function(){return this.year}},{key:"getMonth",value:function(){return this.month}},{key:"getMonthName",value:function(){return Co.getMonthName(this.month,this.year)}},{key:"getDow",value:function(){return this.dow}},{key:"getHour",value:function(){return this.hour}},{key:"getMinutes",value:function(){return this.minutes}},{key:"getChalakim",value:function(){return this.chalakim}}]),e}(),bi=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;a(this,n);var u=new ki(r,o),s=u.getMonthName();return(i=t.call(this,e,"Molad ".concat(s," ").concat(r),Oo.MOLAD)).molad=u,i}return r(n,[{key:"render",value:function(e){var t=this.molad,a=t.getMonthName(),n=gi[t.getDow()],r=t.getMinutes(),o=t.getHour(),i=t.getChalakim();return"Molad ".concat(a,": ").concat(n,", ").concat(r," minutes and ").concat(i," chalakim after ").concat(o,":00")}}]),n}(No),Si=lr,pi=F,wi=pn,Mi=w.RangeError,Ai=String.fromCharCode,Ii=String.fromCodePoint,Di=pi([].join);Si({target:"String",stat:!0,arity:1,forced:!!Ii&&1!=Ii.length},{fromCodePoint:function(e){for(var t,a=[],n=arguments.length,r=0;n>r;){if(t=+arguments[r++],wi(t,1114111)!==t)throw Mi(t+" is not a valid code point");a[r]=t<65536?Ai(t):Ai(55296+((t-=65536)>>10),t%1024+56320)}return Di(a,"")}});var Ci="\t\n\v\f\r                 \u2028\u2029\ufeff",Ti=ee,Ei=Mr,Hi=F("".replace),Oi="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Ni=RegExp("^"+Oi+Oi+"*"),Li=RegExp(Oi+Oi+"*$"),Yi=function(e){return function(t){var a=Ei(Ti(t));return 1&e&&(a=Hi(a,Ni,"")),2&e&&(a=Hi(a,Li,"")),a}},Bi={start:Yi(1),end:Yi(2),trim:Yi(3)},Pi=ya.PROPER,ji=A,_i=Ci,Ri=Bi.trim;lr({target:"String",proto:!0,forced:function(e){return ji((function(){return!!_i[e]()||"​…᠎"!=="​…᠎"[e]()||Pi&&_i[e].name!==e}))}("trim")},{trim:function(){return Ri(this)}});var zi=[null,"Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"],Vi=[null,"Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"],Fi=function(e){i(n,e);var t=c(n);function n(e,r){var o;if(a(this,n),o=t.call(this,e,"Omer ".concat(r),Oo.OMER_COUNT,{omer:r}),r<1||r>49)throw new RangeError("Invalid Omer day ".concat(r));return o.weekNumber=Math.floor((r-1)/7)+1,o.daysWithinWeeks=r%7||7,o}return r(n,[{key:"sefira",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=zi[this.weekNumber],a=zi[this.daysWithinWeeks];switch(e){case"he":var n=vo.gettext(t,"he"),r=vo.gettext(a,"he"),o=2===this.weekNumber||6===this.weekNumber?"שֶׁבִּ":"שֶׁבְּ";return"".concat(r," ").concat(o).concat(n).normalize();case"translit":var i=Vi[this.weekNumber],u=Vi[this.daysWithinWeeks],s=2===this.weekNumber||6===this.weekNumber?"shebi":"sheb'";return"".concat(u," ").concat(s).concat(i);default:return"".concat(a," within ").concat(t)}}},{key:"render",value:function(e){var t=this.omer;return("he"==e?b(t):vo.ordinal(t,e))+" "+vo.gettext("day of the Omer",e)}},{key:"renderBrief",value:function(e){return vo.gettext("Omer",e)+" "+vo.gettext("day",e)+" "+this.omer}},{key:"getEmoji",value:function(){if("string"==typeof this.emoji)return this.emoji;var e=this.omer;return e<=20?String.fromCodePoint(9312+e-1):e<=35?String.fromCodePoint(12881+e-21):String.fromCodePoint(12977+e-36)}},{key:"getWeeks",value:function(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}},{key:"getDaysWithinWeeks",value:function(){return this.daysWithinWeeks}},{key:"getTodayIs",value:function(e){if("he"===e||"he"===e)return function(e){var t=Math.floor(e/10),a=e%10,n="הַיוֹם ";10<e&&e<20?n+=Ki[a]+" עָשָׂר":e>9&&(n+=Ki[a],a&&(n+=" וְ"));e>2?((e>20||10===e||20===e)&&(n+=xi[t]),n+=e<11?Ki[a]+" "+"יָמִים ":" יוֹם "):n+=1===e?Zi+" ":Ui+" ";if(e>6){n=n.trim(),n+=", שְׁהֵם ";var r=Math.floor(e/7),o=e%7;n+=r>2?Ki[r]+" "+Gi+" ":1==r?"שָׁבוּעַ "+Ki[1]+" ":"שְׁנֵי שָׁבוּעוֹת ",o&&(n+="וְ",n+=o>2?Ki[o]+" "+"יָמִים ":1==o?Zi+" ":Ui+" ")}return(n+="לָעוֹמֶר").normalize()}(this.omer);var t=1===this.omer?"day":"days",a="Today is ".concat(this.omer," ").concat(t);if(this.weekNumber>1||7===this.omer){var n=7===this.daysWithinWeeks,r=n?this.weekNumber:this.weekNumber-1,o=1===r?"week":"weeks";if(a+=", which is ".concat(r," ").concat(o),!n){var i=1===this.daysWithinWeeks?"day":"days";a+=" and ".concat(this.daysWithinWeeks," ").concat(i)}}return a+" of the Omer"}},{key:"url",value:function(){return"https://www.hebcal.com/omer/".concat(this.getDate().getFullYear(),"/").concat(this.omer)}}]),n}(No),xi=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],Ki=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָׁה","שִׁשָׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],Ui="שְׁנֵי יָמִים",Gi="שָׁבוּעוֹת",Zi="יוֹם "+Ki[1];var Wi=new Date(1923,8,11),Ji=y.greg2abs(Wi),$i=y.greg2abs(new Date(1975,5,24)),qi=[["Berachot",64],["Shabbat",157],["Eruvin",105],["Pesachim",121],["Shekalim",22],["Yoma",88],["Sukkah",56],["Beitzah",40],["Rosh Hashana",35],["Taanit",31],["Megillah",32],["Moed Katan",29],["Chagigah",27],["Yevamot",122],["Ketubot",112],["Nedarim",91],["Nazir",66],["Sotah",49],["Gitin",90],["Kiddushin",82],["Baba Kamma",119],["Baba Metzia",119],["Baba Batra",176],["Sanhedrin",113],["Makkot",24],["Shevuot",49],["Avodah Zarah",76],["Horayot",14],["Zevachim",120],["Menachot",110],["Chullin",142],["Bechorot",61],["Arachin",34],["Temurah",34],["Keritot",28],["Meilah",22],["Kinnim",4],["Tamid",9],["Midot",5],["Niddah",73]].map((function(e){return{name:e[0],blatt:e[1]}}));var Xi=function(){function e(t){a(this,e);var n,r,o="number"!=typeof t||isNaN(t)?y.isDate(t)?y.greg2abs(t):Co.isHDate(t)?t.abs():function(e){throw new TypeError(e)}("non-date given to dafyomi: ".concat(t)):t;if(o<Ji)throw new RangeError("Date ".concat(t," too early; Daf Yomi cycle began on ").concat(Wi));o>=$i?(n=8+(o-$i)/2711,r=(o-$i)%2711):(n=1+(o-Ji)/2702,r=(o-Ji)%2702);var i=0,u=0,s=-1;qi[4].blatt=n<=7?13:22;for(var h=0;h<40;){if(s++,r<(i=i+qi[h].blatt-1)){switch(u=qi[h].blatt+1-(i-r),s){case 36:u+=21;break;case 37:u+=24;break;case 38:u+=32}h=41}h++}this.name=qi[s].name,this.blatt=u}return r(e,[{key:"getBlatt",value:function(){return this.blatt}},{key:"getName",value:function(){return this.name}},{key:"render",value:function(e){return vo.gettext(this.name,e)+" "+this.blatt}}]),e}(),Qi={Berachot:"Berakhot","Rosh Hashana":"Rosh Hashanah",Gitin:"Gittin","Baba Kamma":"Bava Kamma","Baba Metzia":"Bava Metzia","Baba Batra":"Bava Batra",Bechorot:"Bekhorot",Arachin:"Arakhin",Midot:"Middot",Shekalim:"Jerusalem_Talmud_Shekalim"},eu=function(e){i(n,e);var t=c(n);function n(e){a(this,n);var r=new Xi(e.greg());return t.call(this,e,r.render(),Oo.DAF_YOMI,{daf:r})}return r(n,[{key:"render",value:function(e){return vo.gettext("Daf Yomi",e)+": "+this.daf.render(e)}},{key:"renderBrief",value:function(e){return this.daf.render(e)}},{key:"url",value:function(){var e=this.daf,t=e.getName(),a=e.getBlatt();if("Kinnim"==t||"Midot"==t)return"https://www.dafyomi.org/index.php?masechta=meilah&daf=".concat(a,"a");var n=(Qi[t]||t).replace(/ /g,"_");return"https://www.sefaria.org/".concat(n,".").concat(a,"a?lang=bi")}}]),n}(No),tu=Be,au=D,nu=F(F.bind),ru=E,ou=Jt,iu=je,uu=Jt,su=function(e,t,a){var n,r;ou(e);try{if(!(n=iu(e,"return"))){if("throw"===t)throw a;return a}n=ru(n,e)}catch(e){r=!0,n=e}if("throw"===t)throw a;if(r)throw n;return ou(n),a},hu={},cu=hu,lu=gt("iterator"),fu=Array.prototype,vu=F,du=A,mu=re,yu=Sr,gu=Ma,ku=function(){},bu=[],Su=ce("Reflect","construct"),pu=/^\s*(?:class|function)\b/,wu=vu(pu.exec),Mu=!pu.exec(ku),Au=function(e){if(!mu(e))return!1;try{return Su(ku,bu,e),!0}catch(e){return!1}},Iu=function(e){if(!mu(e))return!1;switch(yu(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Mu||!!wu(pu,gu(e))}catch(e){return!0}};Iu.sham=!0;var Du=!Su||du((function(){var e;return Au(Au.call)||!Au(Object)||!Au((function(){e=!0}))||e}))?Iu:Au,Cu=Sr,Tu=je,Eu=hu,Hu=gt("iterator"),Ou=function(e){if(null!=e)return Tu(e,Hu)||Tu(e,"@@iterator")||Eu[Cu(e)]},Nu=E,Lu=Be,Yu=Jt,Bu=Oe,Pu=Ou,ju=w.TypeError,_u=function(e,t){return tu(e),void 0===t?e:au?nu(e,t):function(){return e.apply(t,arguments)}},Ru=E,zu=Xe,Vu=function(e,t,a,n){try{return n?t(uu(a)[0],a[1]):t(a)}catch(t){su(e,"throw",t)}},Fu=function(e){return void 0!==e&&(cu.Array===e||fu[lu]===e)},xu=Du,Ku=In,Uu=Cr,Gu=function(e,t){var a=arguments.length<2?Pu(e):t;if(Lu(a))return Yu(Nu(a,e));throw ju(Bu(e)+" is not iterable")},Zu=Ou,Wu=w.Array,Ju=gt("iterator"),$u=!1;try{var qu=0,Xu={next:function(){return{done:!!qu++}},return:function(){$u=!0}};Xu[Ju]=function(){return this},Array.from(Xu,(function(){throw 2}))}catch(e){}var Qu=function(e){var t=zu(e),a=xu(this),n=arguments.length,r=n>1?arguments[1]:void 0,o=void 0!==r;o&&(r=_u(r,n>2?arguments[2]:void 0));var i,u,s,h,c,l,f=Zu(t),v=0;if(!f||this==Wu&&Fu(f))for(i=Ku(t),u=a?new this(i):Wu(i);i>v;v++)l=o?r(t[v],v):t[v],Uu(u,v,l);else for(c=(h=Gu(t,f)).next,u=a?new this:[];!(s=Ru(c,h)).done;v++)l=o?Vu(h,r,[s.value,v],!0):s.value,Uu(u,v,l);return u.length=v,u},es=function(e,t){if(!t&&!$u)return!1;var a=!1;try{var n={};n[Ju]=function(){return{next:function(){return{done:a=!0}}}},e(n)}catch(e){}return a};lr({target:"Array",stat:!0,forced:!es((function(e){Array.from(e)}))},{from:Qu});for(var ts=function(){function e(t,n){a(this,e),t=+t;var r=Co.longCheshvan(t),o=Co.shortKislev(t),i=this.type=r&&!o?2:!r&&o?0:1;this.year=t;var u=new Co(1,mo.TISHREI,t),s=u.abs(),h=this.roshHashanaDay=u.getDay()+1;this.firstSaturday=Co.dayOnOrBefore(6,s+6);var c=this.leap=+Co.isLeapYear(t);this.il=Boolean(n);var l="".concat(c).concat(h).concat(i);if(Ss[l])this.key=l,this.theSedraArray=Ss[l];else{var f=this.key=l+ +this.il;this.theSedraArray=Ss[f]}if(!this.theSedraArray)throw new Error("improper sedra year type ".concat(this.key," calculated for ").concat(t))}return r(e,[{key:"get",value:function(e){return this.lookup(e).parsha}},{key:"getString",value:function(e,t){var a=this.get(e),n=t||vo.getLocaleName(),r=vo.gettext(a[0],n);2==a.length&&(r+=("he"==n?"־":"-")+vo.gettext(a[1],n));return vo.gettext("Parashat",n)+" "+r}},{key:"isParsha",value:function(e){return!this.lookup(e).chag}},{key:"find",value:function(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: ".concat(e));var t=this.theSedraArray.indexOf(e);return-1===t?null:new Co(this.firstSaturday+7*t)}if("string"==typeof e){var a=ns[e];if("number"==typeof a)return this.find(a);if(-1!==e.indexOf("-"))return this.find(e.split("-"));var n=this.theSedraArray.indexOf(e);return-1===n?null:new Co(this.firstSaturday+7*n)}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]){var r=e[0],o=e[1],i=ns[r];if(ns[o]===i+1)return this.find(-i);throw new RangeError("Unrecognized parsha name: ".concat(r,"-").concat(o))}throw new TypeError("Invalid parsha argument: ".concat(e))}},{key:"getSedraArray",value:function(){return this.theSedraArray}},{key:"getFirstSaturday",value:function(){return this.firstSaturday}},{key:"getYear",value:function(){return this.year}},{key:"lookup",value:function(t){var a="number"==typeof t?t:Co.isHDate(t)?t.abs():function(e){throw new TypeError(e)}("Bad date argument: ".concat(t)),n=Co.dayOnOrBefore(6,a+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o)return new e(this.year+1,this.il).lookup(n);if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[as[o]],chag:!1};var i=is(o);return{parsha:[as[i],as[i+1]],chag:!1}}}]),e}(),as=["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"],ns={},rs=0;rs<as.length;rs++){var os=as[rs];ns[os]=rs}function is(e){return-e}var us="Rosh Hashana",ss="Yom Kippur",hs="Sukkot",cs="Sukkot Shabbat Chol ha-Moed",ls="Shmini Atzeret",fs=cs,vs="Pesach",ds="Pesach I",ms="Pesach Shabbat Chol ha-Moed",ys="Pesach VII",gs="Pesach VIII",ks="Shavuot";function bs(e,t){return Array.from({length:t-e+1},(function(t,a){return a+e}))}var Ss={"020":[51,52].concat(fs,bs(0,20),is(21),23,24,vs,25,is(26),is(28),30,is(31),bs(33,40),is(41),bs(43,49),is(50)),"0220":[51,52].concat(fs,bs(0,20),is(21),23,24,vs,25,is(26),is(28),30,is(31),33,ks,bs(34,37),is(38),40,is(41),bs(43,49),is(50)),"0510":[52].concat(ss,fs,bs(0,20),is(21),23,24,ds,gs,25,is(26),is(28),30,is(31),bs(33,40),is(41),bs(43,50)),"0511":[52].concat(ss,fs,bs(0,20),is(21),23,24,vs,25,is(26),is(28),bs(30,40),is(41),bs(43,50)),"052":[52].concat(ss,cs,bs(0,24),ys,25,is(26),is(28),30,is(31),bs(33,40),is(41),bs(43,50)),"070":[].concat(us,52,hs,ls,bs(0,20),is(21),23,24,ys,25,is(26),is(28),30,is(31),bs(33,40),is(41),bs(43,50)),"072":[].concat(us,52,hs,ls,bs(0,20),is(21),23,24,ms,25,is(26),is(28),30,is(31),bs(33,40),is(41),bs(43,49),is(50)),1200:[51,52].concat(cs,bs(0,27),ms,bs(28,33),ks,bs(34,37),is(38),40,is(41),bs(43,49),is(50)),1201:[51,52].concat(cs,bs(0,27),ms,bs(28,40),is(41),bs(43,49),is(50)),1220:[51,52].concat(cs,bs(0,27),ds,gs,bs(28,40),is(41),bs(43,50)),1221:[51,52].concat(cs,bs(0,27),vs,bs(28,50)),150:[52].concat(ss,cs,bs(0,28),ys,bs(29,50)),152:[52].concat(ss,cs,bs(0,28),ms,bs(29,49),is(50)),170:[].concat(us,52,hs,ls,bs(0,27),ms,bs(28,40),is(41),bs(43,49),is(50)),1720:[].concat(us,52,hs,ls,bs(0,27),ms,bs(28,33),ks,bs(34,37),is(38),40,is(41),bs(43,49),is(50))};Ss["0221"]=Ss["020"],Ss["0310"]=Ss["0220"],Ss["0311"]=Ss["020"],Ss[1310]=Ss[1220],Ss[1311]=Ss[1221],Ss[1721]=Ss[170];var ps=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;if(a(this,n),!Array.isArray(r)||0===r.length||r.length>2)throw new TypeError("Bad parsha argument");var u="Parashat "+r.join("-");return(i=t.call(this,e,u,Oo.PARSHA_HASHAVUA)).parsha=r,i.il=Boolean(o),i}return r(n,[{key:"render",value:function(e){var t=e||vo.getLocaleName(),a=this.parsha,n=vo.gettext(a[0],e);2==a.length&&(n+=("he"==t?"־":"-")+vo.gettext(a[1],e));return(vo.gettext("Parashat",e)+" "+n).normalize()}},{key:"basename",value:function(){return this.parsha.join("-")}},{key:"url",value:function(){if(!(this.getDate().greg().getFullYear()<100)){var e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}}},{key:"urlDateSuffix",value:function(){var e=this.getDate().greg().toISOString();return e.substring(0,e.indexOf("T")).replace(/-/g,"")}}]),n}(No),ws=function(e){i(n,e);var t=c(n);function n(e,r,o,i){return a(this,n),t.call(this,e,r,o,i)}return r(n,[{key:"basename",value:function(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}},{key:"url",value:function(){if(!(this.getDate().greg().getFullYear()<100)){var e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&Oo.IL_ONLY?e+"?i=on":e}}},{key:"urlDateSuffix",value:function(){return this.getDate().greg().getFullYear()}},{key:"getEmoji",value:function(){return this.emoji?this.emoji:this.getFlags()&Oo.SPECIAL_SHABBAT?"🕍":"✡️"}}]),n}(No),Ms="Rosh Chodesh",As=function(e){i(n,e);var t=c(n);function n(e,r){return a(this,n),t.call(this,e,"".concat(Ms," ").concat(r),Oo.ROSH_CHODESH)}return r(n,[{key:"render",value:function(e){var t=this.getDesc().substring(Ms.length+1);return vo.gettext(Ms,e)+" "+vo.gettext(t,e)}},{key:"basename",value:function(){return this.getDesc()}},{key:"getEmoji",value:function(){return this.emoji||"🌒"}}]),n}(ws),Is=function(e){i(n,e);var t=c(n);function n(e,r,o,i){return a(this,n),t.call(this,e,r,o,i)}return r(n,[{key:"urlDateSuffix",value:function(){var e=this.getDate().greg().toISOString();return e.substring(0,e.indexOf("T")).replace(/-/g,"")}}]),n}(ws),Ds="Shabbat Mevarchim Chodesh",Cs=function(e){i(n,e);var t=c(n);function n(e,r){var o;a(this,n),(o=t.call(this,e,"".concat(Ds," ").concat(r),Oo.SHABBAT_MEVARCHIM)).monthName=r;var i=e.getFullYear(),u=e.getMonth(),s=u==Co.monthsInYear(i)?mo.NISAN:u+1,h=new bi(e,i,s);return o.memo=h.render(),o}return r(n,[{key:"render",value:function(e){return vo.gettext(Ds,e)+" "+vo.gettext(this.monthName,e)}}]),n}(No),Ts=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;return a(this,n),(i=t.call(this,e,"Rosh Hashana ".concat(r),o,{emoji:"🍏🍯"})).hyear=r,i}return r(n,[{key:"render",value:function(e){return vo.gettext("Rosh Hashana",e)+" "+this.hyear}}]),n}(ws),Es=mo.NISAN,Hs=mo.IYYAR,Os=mo.SIVAN,Ns=mo.TAMUZ,Ls=mo.AV,Ys=mo.ELUL,Bs=mo.TISHREI,Ps=mo.CHESHVAN,js=mo.KISLEV,_s=mo.TEVET,Rs=mo.SHVAT,zs=mo.ADAR_I,Vs=mo.ADAR_II,Fs=Oo.CHAG,xs=Oo.LIGHT_CANDLES,Ks=Oo.YOM_TOV_ENDS,Us=Oo.CHUL_ONLY,Gs=Oo.IL_ONLY,Zs=Oo.LIGHT_CANDLES_TZEIS,Ws=Oo.CHANUKAH_CANDLES,Js=Oo.MINOR_FAST,$s=Oo.SPECIAL_SHABBAT,qs=Oo.MODERN_HOLIDAY,Xs=Oo.MAJOR_FAST,Qs=Oo.MINOR_HOLIDAY,eh=Oo.EREV,th=Oo.CHOL_HAMOED,ah=function(){function e(){a(this,e)}return r(e,[{key:"has",value:function(e){return void 0!==this[e]}},{key:"get",value:function(e){return this[e]}},{key:"set",value:function(e,t){this[e]=t}},{key:"keys",value:function(){return Object.keys(this)}}]),e}(),nh=new ah;function rh(e,t){var a="".concat(e,"-").concat(t?1:0),n=nh.get(a);return n||(n=new ts(e,t),nh.set(a,n)),n}var oh={emoji:"🇮🇱"},ih="🕎",uh="🫓",sh={emoji:"⛰️🌸"},hh="🌿🍋",ch=Object.create(null);function lh(e){if("number"!=typeof e)throw new TypeError("bad Hebrew year: ".concat(e));if(e<1||e>32658)throw new RangeError("Hebrew year ".concat(e," out of range 1-32658"));var t=ch[e];if(t)return t;var a=new Co(1,Bs,e),n=new Co(15,Es,e),r=new ah;function o(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];t.forEach((function(e){var t=e.date.toString();r.has(t)?r.get(t).push(e):r.set(t,[e])}))}function i(e,t){t.forEach((function(t){o(new ws(new Co(t[0],t[1],e),t[2],t[3],t[4]))}))}o(new Ts(a,e,Fs|Zs)),i(e,[[2,Bs,"Rosh Hashana II",Fs|Ks,{emoji:"🍏🍯"}],[3+(4==a.getDay()),Bs,"Tzom Gedaliah",Js],[9,Bs,"Erev Yom Kippur",eh|xs]]),o(new ws(new Co(Co.dayOnOrBefore(6,7+a.abs())),"Shabbat Shuva",$s)),i(e,[[10,Bs,"Yom Kippur",Fs|Ks|Xs],[14,Bs,"Erev Sukkot",eh|xs|Us,{emoji:hh}],[15,Bs,"Sukkot I",Fs|Zs|Us,{emoji:hh}],[16,Bs,"Sukkot II",Fs|Ks|Us,{emoji:hh}],[17,Bs,"Sukkot III (CH''M)",Us|th,{cholHaMoedDay:1,emoji:hh}],[18,Bs,"Sukkot IV (CH''M)",Us|th,{cholHaMoedDay:2,emoji:hh}],[19,Bs,"Sukkot V (CH''M)",Us|th,{cholHaMoedDay:3,emoji:hh}],[20,Bs,"Sukkot VI (CH''M)",Us|th,{cholHaMoedDay:4,emoji:hh}],[14,Bs,"Erev Sukkot",eh|xs|Gs,{emoji:hh}],[15,Bs,"Sukkot I",Fs|Ks|Gs,{emoji:hh}],[16,Bs,"Sukkot II (CH''M)",Gs|th,{cholHaMoedDay:1,emoji:hh}],[17,Bs,"Sukkot III (CH''M)",Gs|th,{cholHaMoedDay:2,emoji:hh}],[18,Bs,"Sukkot IV (CH''M)",Gs|th,{cholHaMoedDay:3,emoji:hh}],[19,Bs,"Sukkot V (CH''M)",Gs|th,{cholHaMoedDay:4,emoji:hh}],[20,Bs,"Sukkot VI (CH''M)",Gs|th,{cholHaMoedDay:5,emoji:hh}],[21,Bs,"Sukkot VII (Hoshana Raba)",xs|th,{cholHaMoedDay:-1,emoji:hh}],[22,Bs,"Shmini Atzeret",Fs|Zs|Us],[22,Bs,"Shmini Atzeret",Fs|Ks|Gs],[23,Bs,"Simchat Torah",Fs|Ks|Us]]),o(new ws(new Co(24,js,e),"Chanukah: 1 Candle",eh|Qs|Ws,{emoji:ih+Lo[1]}));for(var u=2;u<=8;u++){var s=new Co(23+u,js,e);o(new ws(s,"Chanukah: ".concat(u," Candles"),Qs|Ws,{chanukahDay:u-1,emoji:ih+Lo[u]}))}o(new ws(new Co(32,js,e),"Chanukah: 8th Day",Qs,{chanukahDay:8,emoji:ih})),o(new Is(new Co(10,_s,e),"Asara B'Tevet",Js),new ws(new Co(15,Rs,e),"Tu BiShvat",Qs,{emoji:"🌳"}));var h,c=n.abs();if(o(new ws(new Co(Co.dayOnOrBefore(6,c-43)),"Shabbat Shekalim",$s),new ws(new Co(Co.dayOnOrBefore(6,c-30)),"Shabbat Zachor",$s),new ws(new Co(c-(2==n.getDay()?33:31)),"Ta'anit Esther",Js)),i(e,[[13,Vs,"Erev Purim",eh|Qs,{emoji:"🎭️📜"}],[14,Vs,"Purim",Qs,{emoji:"🎭️📜"}]]),o(new ws(new Co(c-(0==n.getDay()?28:29)),"Shushan Purim",Qs,{emoji:"🎭️📜"}),new ws(new Co(Co.dayOnOrBefore(6,c-14)-7),"Shabbat Parah",$s),new ws(new Co(Co.dayOnOrBefore(6,c-14)),"Shabbat HaChodesh",$s),new ws(new Co(Co.dayOnOrBefore(6,c-1)),"Shabbat HaGadol",$s),new ws(6==n.prev().getDay()?n.onOrBefore(4):new Co(14,Es,e),"Ta'anit Bechorot",Js)),i(e,[[14,Es,"Erev Pesach",eh|xs|Gs,{emoji:"🫓🍷"}],[15,Es,"Pesach I",Fs|Ks|Gs,{emoji:uh}],[16,Es,"Pesach II (CH''M)",Gs|th,{cholHaMoedDay:1,emoji:uh}],[17,Es,"Pesach III (CH''M)",Gs|th,{cholHaMoedDay:2,emoji:uh}],[18,Es,"Pesach IV (CH''M)",Gs|th,{cholHaMoedDay:3,emoji:uh}],[19,Es,"Pesach V (CH''M)",Gs|th,{cholHaMoedDay:4,emoji:uh}],[20,Es,"Pesach VI (CH''M)",xs|Gs|th,{cholHaMoedDay:5,emoji:uh}],[21,Es,"Pesach VII",Fs|Ks|Gs,{emoji:uh}],[14,Es,"Erev Pesach",eh|xs|Us,{emoji:"🫓🍷"}],[15,Es,"Pesach I",Fs|Zs|Us,{emoji:"🫓🍷"}],[16,Es,"Pesach II",Fs|Ks|Us,{emoji:uh}],[17,Es,"Pesach III (CH''M)",Us|th,{cholHaMoedDay:1,emoji:uh}],[18,Es,"Pesach IV (CH''M)",Us|th,{cholHaMoedDay:2,emoji:uh}],[19,Es,"Pesach V (CH''M)",Us|th,{cholHaMoedDay:3,emoji:uh}],[20,Es,"Pesach VI (CH''M)",xs|Us|th,{cholHaMoedDay:4,emoji:uh}],[21,Es,"Pesach VII",Fs|Zs|Us,{emoji:uh}],[22,Es,"Pesach VIII",Fs|Ks|Us,{emoji:uh}],[14,Hs,"Pesach Sheni",Qs],[18,Hs,"Lag BaOmer",Qs,{emoji:"🔥"}],[5,Os,"Erev Shavuot",eh|xs|Gs,sh],[6,Os,"Shavuot",Fs|Ks|Gs,sh],[5,Os,"Erev Shavuot",eh|xs|Us,sh],[6,Os,"Shavuot I",Fs|Zs|Us,sh],[7,Os,"Shavuot II",Fs|Ks|Us,sh],[15,Ls,"Tu B'Av",Qs,{emoji:"❤️"}],[1,Ys,"Rosh Hashana LaBehemot",Qs,{emoji:"🐑"}]]),o(new ws(new Co(Co.dayOnOrBefore(6,new Co(1,Bs,e+1).abs()-4)),"Leil Selichot",Qs,{emoji:"🕍"})),o(new ws(new Co(29,Ys,e),"Erev Rosh Hashana",eh|xs,{emoji:"🍏🍯"})),Co.isLeapYear(e)&&o(new ws(new Co(14,zs,e),"Purim Katan",Qs,{emoji:"🎭️"})),e>=5711){var l=new Co(27,Es,e);5==l.getDay()?l=new Co(26,Es,e):0==l.getDay()&&(l=new Co(28,Es,e)),o(new ws(l,"Yom HaShoah",qs))}e>=5708&&(h=0==n.getDay()?2:6==n.getDay()?3:e<5764?4:2==n.getDay()?5:4,o(new ws(new Co(h,Hs,e),"Yom HaZikaron",qs,oh),new ws(new Co(h+1,Hs,e),"Yom HaAtzma'ut",qs,oh)));e>=5727&&o(new ws(new Co(28,Hs,e),"Yom Yerushalayim",qs,oh)),e>=5769&&o(new ws(new Co(29,Ps,e),"Sigd",qs)),e>=5777&&o(new ws(new Co(7,Ps,e),"Yom HaAliyah School Observance",qs,oh),new ws(new Co(10,Es,e),"Yom HaAliyah",qs,oh));var f,v=new Co(17,Ns,e);6==v.getDay()&&(v=new Co(18,Ns,e),f={observed:!0}),o(new ws(v,"Tzom Tammuz",Js,f));var d,m=new Co(9,Ls,e),y="Tish'a B'Av";6==m.getDay()&&(m=m.next(),d={observed:!0},y+=" (observed)");var g=m.abs();o(new ws(new Co(Co.dayOnOrBefore(6,g)),"Shabbat Chazon",$s),new ws(m.prev(),"Erev Tish'a B'Av",eh|Xs,d),new ws(m,y,Xs,d),new ws(new Co(Co.dayOnOrBefore(6,g+7)),"Shabbat Nachamu",$s));for(var k=Co.monthsInYear(e),b=1;b<=k;b++){var S=Co.getMonthName(b,e);if(30==(b==Es?Co.daysInMonth(Co.monthsInYear(e-1),e-1):Co.daysInMonth(b-1,e))?(o(new As(new Co(1,b,e),S)),o(new As(new Co(30,b-1,e),S))):b!==Bs&&o(new As(new Co(1,b,e),S)),b!=Ys){var p=Co.getMonthName(b+1,e);o(new Cs(new Co(29,b,e).onOrBefore(6),p))}}var w=rh(e,!1).find(15);return o(new ws(w,"Shabbat Shirah",$s)),ch[e]=r,r}var fh=[{k:"Berakhot",v:[5,8,6,7,5,8,5,8,5]},{k:"Peah",v:[6,8,8,11,8,11,8,9]},{k:"Demai",v:[4,5,6,7,11,12,8]},{k:"Kilayim",v:[9,11,7,9,8,9,8,6,10]},{k:"Sheviit",v:[8,10,10,10,9,6,7,11,9,9]},{k:"Terumot",v:[10,6,9,13,9,6,7,12,7,12,10]},{k:"Maasrot",v:[8,8,10,6,8]},{k:"Maaser Sheni",v:[7,10,13,12,15]},{k:"Challah",v:[9,8,10,11]},{k:"Orlah",v:[9,17,9]},{k:"Bikkurim",v:[11,11,12,5]},{k:"Shabbat",v:[11,7,6,2,4,10,4,7,7,6,6,6,7,4,3,8,8,3,6,5,3,6,5,5]},{k:"Eruvin",v:[10,6,9,11,9,10,11,11,4,15]},{k:"Pesachim",v:[7,8,8,9,10,6,13,8,11,9]},{k:"Shekalim",v:[7,5,4,9,6,6,7,8]},{k:"Yoma",v:[8,7,11,6,7,8,5,9]},{k:"Sukkah",v:[11,9,15,10,8]},{k:"Beitzah",v:[10,10,8,7,7]},{k:"Rosh Hashanah",v:[9,9,8,9]},{k:"Taanit",v:[7,10,9,8]},{k:"Megillah",v:[11,6,6,10]},{k:"Moed Katan",v:[10,5,9]},{k:"Chagigah",v:[8,7,8]},{k:"Yevamot",v:[4,10,10,13,6,6,6,6,6,9,7,6,13,9,10,7]},{k:"Ketubot",v:[10,10,9,12,9,7,10,8,9,6,6,4,11]},{k:"Nedarim",v:[4,5,11,8,6,10,9,7,10,8,12]},{k:"Nazir",v:[7,10,7,7,7,11,4,2,5]},{k:"Sotah",v:[9,6,8,5,5,4,8,7,15]},{k:"Gittin",v:[6,7,8,9,9,7,9,10,10]},{k:"Kiddushin",v:[10,10,13,14]},{k:"Bava Kamma",v:[4,6,11,9,7,6,7,7,12,10]},{k:"Bava Metzia",v:[8,11,12,12,11,8,11,9,13,6]},{k:"Bava Batra",v:[6,14,8,9,11,8,4,8,10,8]},{k:"Sanhedrin",v:[6,5,8,5,5,6,11,7,6,6,6]},{k:"Makkot",v:[10,8,16]},{k:"Shevuot",v:[7,5,11,13,5,7,8,6]},{k:"Eduyot",v:[14,10,12,12,7,3,9,7]},{k:"Avodah Zarah",v:[9,7,10,12,12]},{k:"Avot",v:[18,16,18,22,23,11]},{k:"Horayot",v:[5,7,8]},{k:"Zevachim",v:[4,5,6,6,8,7,6,12,7,8,8,6,8,10]},{k:"Menachot",v:[4,5,7,5,9,7,6,7,9,9,9,5,11]},{k:"Chullin",v:[7,10,7,7,5,7,6,6,8,4,2,5]},{k:"Bekhorot",v:[7,9,4,10,6,12,7,10,8]},{k:"Arakhin",v:[4,6,5,4,6,5,5,7,8]},{k:"Temurah",v:[6,3,5,4,6,5,6]},{k:"Keritot",v:[7,6,10,3,8,9]},{k:"Meilah",v:[4,9,8,6,5,6]},{k:"Tamid",v:[4,5,9,3,6,3,4]},{k:"Middot",v:[9,6,8,7,4]},{k:"Kinnim",v:[4,5,6]},{k:"Kelim",v:[9,8,8,4,11,4,6,11,8,8,9,8,8,8,6,8,17,9,10,7,3,10,5,17,9,9,12,10,8,4]},{k:"Oholot",v:[8,7,7,3,7,7,6,6,16,7,9,8,6,7,10,5,5,10]},{k:"Negaim",v:[6,5,8,11,5,8,5,10,3,10,12,7,12,13]},{k:"Parah",v:[4,5,11,4,9,5,12,11,9,6,9,11]},{k:"Tahorot",v:[9,8,8,13,9,10,9,9,9,8]},{k:"Mikvaot",v:[8,10,4,5,6,11,7,5,7,8]},{k:"Niddah",v:[7,7,7,7,9,14,5,4,11,8]},{k:"Makhshirin",v:[6,11,8,10,11,8]},{k:"Zavim",v:[6,4,3,7,12]},{k:"Tevul Yom",v:[5,8,6,7]},{k:"Yadayim",v:[5,4,5,8]},{k:"Oktzin",v:[6,10,12]}],vh=new Date(1947,4,20),dh=y.greg2abs(vh),mh=2096;var yh=function(){function e(){a(this,e);var t,n=Array(4192),r=0,o=f(fh);try{for(o.s();!(t=o.n()).done;)for(var i=t.value,u=i.v,s=1;s<=u.length;s++)for(var h=u[s-1],c=1;c<=h;c++)n[r++]={k:i.k,v:"".concat(s,":").concat(c)}}catch(e){o.e(e)}finally{o.f()}for(var l=Array(mh),v=0;v<mh;v++){var d=2*v;l[v]=[n[d],n[d+1]]}this.days=l}return r(e,[{key:"lookup",value:function(e){var t="number"!=typeof e||isNaN(e)?y.isDate(e)?y.greg2abs(e):Co.isHDate(e)?e.abs():function(e){throw new TypeError(e)}("Invalid date: ".concat(e)):e;if(t<dh){var a=e.toISOString().substring(0,10);throw new RangeError("Date ".concat(a," too early; Mishna Yomi cycle began on 1947-05-20"))}var n=(t-dh)%mh;return this.days[n]}}]),e}();function gh(e,t){var a=e[0].k,n=e[0].v,r=vo.gettext(a,t)+" "+n,o=e[1].k,i=e[1].v;if(a!==o)return r+"-"+vo.gettext(o,t)+" "+i;var u=n.split(":"),s=i.split(":");return u[0]===s[0]?r+"-"+s[1]:r+"-"+i}var kh=function(e){i(n,e);var t=c(n);function n(e,r){return a(this,n),t.call(this,e,gh(r,null),Oo.MISHNA_YOMI,{mishnaYomi:r})}return r(n,[{key:"render",value:function(e){return gh(this.mishnaYomi,e)}},{key:"url",value:function(){var e=this.mishnaYomi,t=e[0].k,a="Avot"===t?"Pirkei":"Mishnah",n=t.replace(/ /g,"_"),r="https://www.sefaria.org/".concat(a,"_").concat(n),o=e[0].v;if(t!==e[1].k){var i=o.replace(":",".");return"".concat(r,".").concat(i,"?lang=bi")}var u=e[1].v,s=o.split(":"),h=u.split(":"),c=s.join("."),l=s[0]===h[0]?h[1]:h.join(".");return"".concat(r,".").concat(c,"-").concat(l,"?lang=bi")}}]),n}(No),bh=mo.NISAN,Sh=mo.CHESHVAN,ph=mo.KISLEV,wh=mo.TEVET,Mh=mo.SHVAT,Ah=mo.ADAR_I,Ih=mo.ADAR_II;var Dh="3.37.2",Ch={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"},contexts:{"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"]}}};vo.addLocale("ashkenazi",Ch),vo.addLocale("a",Ch);var Th={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"he_IL"},contexts:{"":{Berachot:["ברכות"],Shabbat:["שַׁבָּת"],Eruvin:["עירובין"],Pesachim:["פסחים"],Shekalim:["שקלים"],Yoma:["יומא"],Sukkah:["סוכה"],Beitzah:["ביצה"],Taanit:["תענית"],Megillah:["מגילה"],"Moed Katan":["מועד קטן"],Chagigah:["חגיגה"],Yevamot:["יבמות"],Ketubot:["כתובות"],Nedarim:["נדרים"],Nazir:["נזיר"],Sotah:["סוטה"],Gitin:["גיטין"],Kiddushin:["קידושין"],"Baba Kamma":["בבא קמא"],"Baba Metzia":["בבא מציעא"],"Baba Batra":["בבא בתרא"],Sanhedrin:["סנהדרין"],Makkot:["מכות"],Shevuot:["שבועות"],"Avodah Zarah":["עבודה זרה"],Horayot:["הוריות"],Zevachim:["זבחים"],Menachot:["מנחות"],Chullin:["חולין"],Bechorot:["בכורות"],Arachin:["ערכין"],Temurah:["תמורה"],Keritot:["כריתות"],Meilah:["מעילה"],Kinnim:["קינים"],Tamid:["תמיד"],Midot:["מדות"],Niddah:["נדה"],"Daf Yomi: %s %d":["דף יומי: %s %d"],"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 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":["שַׁבָּת שִׁירָה"],chatzotNight:["חֲצוֹת הַלַיְלָה"],alotHaShachar:["עֲלוֹת הַשַּׁחַר"],misheyakir:["משיכיר - זמן ציצית ותפילין"],misheyakirMachmir:["משיכיר - זמן ציצית ותפילין"],neitzHaChama:["הַנֵץ הַחַמָּה"],sofZmanShma:["סוֹף זְמַן קְרִיאַת שְׁמַע גר״א"],sofZmanTfilla:["סוֹף זְמַן תְּפִלָּה גר״א"],chatzot:["חֲצוֹת הַיּוֹם"],minchaGedola:["מִנְחָה גְּדוֹלָה"],minchaKetana:["מִנְחָה קְטַנָּה"],plagHaMincha:["פְּלַג הַמִּנְחָה"],shkiah:["שְׁקִיעָה"],"Nightfall - End of ordained fasts":["לַיְלָה - גמר תעניות דרבנן"],tzeit:["צֵאת כוכבים"],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":["חֲנוּכָּה יוֹם ח׳"],Berakhot:["ברכות"],Peah:["פאה"],Demai:["דמאי"],Kilayim:["כלאים"],Sheviit:["שביעית"],Terumot:["תרומות"],Maasrot:["מעשרות"],"Maaser Sheni":["מעשר שני"],Challah:["חלה"],Orlah:["ערלה"],Bikkurim:["ביכורים"],"Rosh Hashanah":["ראש השנה"],Gittin:["גיטין"],"Bava Kamma":["בבא קמא"],"Bava Metzia":["בבא מציעא"],"Bava Batra":["בבא בתרא"],Eduyot:["עדיות"],Avot:["אבות"],Bekhorot:["בכורות"],Arakhin:["ערכין"],Middot:["מדות"],Kelim:["כלים"],Oholot:["אהלות"],Negaim:["נגעים"],Parah:["פרה"],Tahorot:["טהרות"],Mikvaot:["מקואות"],Makhshirin:["מכשירין"],Zavim:["זבים"],"Tevul Yom":["טבול יום"],Yadayim:["ידים"],Oktzin:["עוקצים"]}}};vo.addLocale("he",Th),vo.addLocale("h",Th);var Eh=Th.contexts[""],Hh={};Object.keys(Eh).forEach((function(e){Hh[e]=[vo.hebrewStripNikkud(Eh[e][0])]}));var Oh="he-x-NoNikud",Nh={headers:{"plural-forms":"nplurals=2; plural=(n!=1);",language:Oh},contexts:{"":Hh}};vo.addLocale(Oh,Nh);var Lh=mo.NISAN,Yh=mo.SIVAN,Bh=mo.ELUL,Ph=mo.TISHREI,jh=Oo.LIGHT_CANDLES,_h=Oo.YOM_TOV_ENDS,Rh=Oo.CHUL_ONLY,zh=Oo.IL_ONLY,Vh=Oo.LIGHT_CANDLES_TZEIS,Fh=Oo.CHANUKAH_CANDLES,xh=Oo.MINOR_FAST,Kh=Oo.SPECIAL_SHABBAT,Uh=Oo.MODERN_HOLIDAY,Gh=Oo.MAJOR_FAST,Zh=Oo.ROSH_CHODESH,Wh=Oo.PARSHA_HASHAVUA,Jh=Oo.DAF_YOMI,$h=Oo.OMER_COUNT,qh=Oo.SHABBAT_MEVARCHIM,Xh=Oo.MINOR_HOLIDAY,Qh=Oo.EREV,ec=Oo.CHOL_HAMOED,tc=Object.create(null),ac={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,dafyomi:1,mishnaYomi:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,userMask:1};function nc(e){Object.keys(e).forEach((function(e){void 0!==ac[e]||tc[e]||(console.warn("Ignoring unrecognized HebrewCalendar option: ".concat(e)),tc[e]=!0)}))}function rc(e,t){return Object.keys(t).forEach((function(a){return e[a]=t[a]})),e}function oc(e){if(e.candlelighting){if(void 0===e.location||!e.location instanceof hi)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");var t=parseInt(e.candleLightingMins,10)||18;e.location&&e.location.getIsrael()&&"Jerusalem"===e.location.getShortName()&&18===Math.abs(t)&&(t=40),e.candleLightingMins=-1*Math.abs(t),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5}}function ic(e){if("number"==typeof e)return e;if(y.isDate(e))return y.greg2abs(e);if(Co.isHDate(e))return e.abs();throw new TypeError("Invalid date type: ".concat(e))}function uc(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[ic(e.start),ic(e.end)];var t=Boolean(e.isHebrewYear),a=void 0!==e.year?parseInt(e.year,10):t?(new Co).getFullYear():(new Date).getFullYear();if(isNaN(a))throw new RangeError("Invalid year ".concat(e.year));if(t&&a<1)throw new RangeError("Invalid Hebrew year ".concat(a));if(0==a)throw new RangeError("Invalid Gregorian year ".concat(a));var n=NaN;e.month&&(n=t?Co.monthNum(e.month):e.month);var r=parseInt(e.numYears,10)||1;if(t){var o=new Co(1,n||Ph,a),i=o.abs(),u=e.month?i+o.daysInMonth():new Co(1,Ph,a+r).abs()-1;return n||i--,[i,u]}var s=e.month?n-1:0,h=new Date(a,s,1);a<100&&h.setFullYear(a);var c,l=y.greg2abs(h);if(e.month)c=l+y.daysInMonth(n,a)-1;else{var f=a+r,v=new Date(f,0,1);f<100&&v.setFullYear(f),c=y.greg2abs(v)-1}return[l,c]}function sc(e){if("number"==typeof e.mask){var t=e.mask;return t&Zh&&delete e.noRoshChodesh,t&Uh&&delete e.noModern,t&xh&&delete e.noMinorFast,t&Kh&&delete e.noSpecialShabbat,t&Wh&&(e.sedrot=!0),t&Jh&&(e.dafyomi=!0),t&$h&&(e.omer=!0),t&qh&&(e.shabbatMevarchim=!0),t&Oo.MISHNA_YOMI&&(e.mishnaYomi=!0),e.userMask=!0,t}var a=e.il||e.location&&e.location.il||!1,n=0;return e.noHolidays||(n|=Zh|_h|xh|Kh|Uh|Gh|Xh|Qh|ec|jh|Vh|Fh),e.candlelighting&&(n|=jh|Vh),e.noRoshChodesh&&(n&=~Zh),e.noModern&&(n&=~Uh),e.noMinorFast&&(n&=~xh),e.noSpecialShabbat&&(n&=~Kh,n&=~qh),n|=a?zh:Rh,e.sedrot&&(n|=Wh),e.dafyomi&&(n|=Jh),e.mishnaYomi&&(n|=Oo.MISHNA_YOMI),e.omer&&(n|=$h),e.shabbatMevarchim&&(n|=qh),n}var hc=jh|Vh|Fh|_h,cc=new hi(0,0,!1,"UTC"),lc={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 fc(e){return e.observedInIsrael()}function vc(e){return e.observedInDiaspora()}var dc=function(){function e(){a(this,e)}return r(e,null,[{key:"calendar",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};oc(t=rc({},t));var a=t.location=t.location||cc,n=t.il=t.il||a.il||!1;if(t.mask=sc(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError("Invalid options.locale: ".concat(t.locale));var r=t.ashkenazi?"ashkenazi":t.locale,o=vo.useLocale(r);if(!o)throw new TypeError("Locale '".concat(r,"' not found; did you forget to import @hebcal/locales?"))}else vo.useLocale("en");var i,u,s,h,c=[],l=-1,f=uc(t);nc(t);var v,d=f[0],m=f[1],g=y.abs2greg(d);g.getFullYear()<100&&(t.candlelighting=!1),t.mishnaYomi&&(v=new yh);for(var k=function(r){var o=new Co(r),f=o.getFullYear();f!=l&&(l=f,u=e.getHolidaysForYear(l),t.sedrot&&l>=3762&&(i=rh(l,n)),t.omer&&(s=Co.hebrew2abs(l,Lh,16),h=Co.hebrew2abs(l,Yh,5)));var d=c.length,m=o.getDay(),y=void 0;if((u.get(o.toString())||[]).forEach((function(e){y=mc(c,e,t,y,m)})),t.sedrot&&6==m&&f>=3762){var g=i.lookup(r);g.chag||c.push(new ps(o,g.parsha,n))}if(t.dafyomi&&f>=5684&&c.push(new eu(o)),t.mishnaYomi&&r>=dh){var k=v.lookup(r);c.push(new kh(o,k))}if(t.omer&&r>=s&&r<=h){var b=new Fi(o,r-s+1);if(t.candlelighting){var S=new oi(o.prev(),a.getLatitude(),a.getLongitude()).tzeit(7.0833);isNaN(S.getTime())||(b.alarm=S)}c.push(b)}var p=o.getMonth();if(t.molad&&6==m&&p!=Bh&&o.getDate()>=23&&o.getDate()<=29){var w=p==Co.monthsInYear(f)?Lh:p+1;c.push(new bi(o,f,w))}if(y||!t.candlelighting||5!=m&&6!=m||(y=fi(void 0,o,m,a,t),5===m&&y&&i&&(y.memo=i.getString(r))),y instanceof di&&(0===t.havdalahMins||0===t.havdalahDeg)&&(y=null),y&&c.push(y),t.addHebrewDates||t.addHebrewDatesForEvents&&d!=c.length){var M=new Yo(o);d==c.length?c.push(M):c.splice(d,0,M)}},b=d;b<=m;b++)k(b);return c}},{key:"getBirthdayOrAnniversary",value:function(e,t){return function(e,t){var a=Co.isHDate(t)?t:new Co(t),n=a.getFullYear();if(!(e<=n)){var r=Co.isLeapYear(n),o=a.getMonth(),i=a.getDate();return o==Ah&&!r||o==Ih&&r?o=Co.monthsInYear(e):o!=Sh||30!=i||Co.longCheshvan(e)?o==ph&&30==i&&Co.shortKislev(e)?(o=wh,i=1):o==Ah&&30==i&&r&&!Co.isLeapYear(e)&&(o=bh,i=1):(o=ph,i=1),new Co(i,o,e)}}(e,t)}},{key:"getYahrzeit",value:function(e,t){return function(e,t){var a=Co.isHDate(t)?t:new Co(t),n={yy:a.getFullYear(),mm:a.getMonth(),dd:a.getDate()};if(!(e<=n.yy))return n.mm!=Sh||30!=n.dd||Co.longCheshvan(n.yy+1)?n.mm==ph&&30==n.dd&&Co.shortKislev(n.yy+1)?n=Co.abs2hebrew(Co.hebrew2abs(e,wh,1)-1):n.mm==Ih?n.mm=Co.monthsInYear(e):n.mm!=Ah||30!=n.dd||Co.isLeapYear(e)||(n.dd=30,n.mm=Mh):n=Co.abs2hebrew(Co.hebrew2abs(e,ph,1)-1),n.mm!=Sh||30!=n.dd||Co.longCheshvan(e)?n.mm==ph&&30==n.dd&&Co.shortKislev(e)&&(n.mm=wh,n.dd=1):(n.mm=ph,n.dd=1),new Co(n.dd,n.mm,e)}(e,t)}},{key:"getHolidaysForYear",value:function(e){return lh(e)}},{key:"getHolidaysForYearArray",value:function(e,t){for(var a=lh(e),n=Co.hebrew2abs(e,Ph,1),r=Co.hebrew2abs(e+1,Ph,1)-1,o=[],i=t?fc:vc,u=n;u<=r;u++){var s=new Co(u),h=a.get(s.toString());if(h){var c=h.filter(i);o=o.concat(c)}}return o}},{key:"getHolidaysOnDate",value:function(e,t){var a=Co.isHDate(e)?e:new Co(e),n=lh(a.getFullYear()).get(a.toString());if(void 0===t||void 0===n)return n;var r=t?fc:vc;return n.filter(r)}},{key:"reformatTimeStr",value:function(e,t,a){if("string"!=typeof e)throw new TypeError("Bad timeStr: ".concat(e));var n=a.location&&a.location.cc||(a.il?"IL":"US");if(void 0===lc[n])return e;var r=e.split(":"),o=parseInt(r[0],10);return o<12&&t?t=t.replace("p","a").replace("P","A"):o>12&&(o%=12),"".concat(o,":").concat(r[1]).concat(t)}},{key:"version",value:function(){return Dh}},{key:"getSedra",value:function(e,t){return rh(e,t)}}]),e}();function mc(e,t,a,n,r){var o=t.getFlags(),i=a.il,u=i&&t.observedInIsrael()||!i&&t.observedInDiaspora(),s=a.mask;if(u&&(o&s||!o&&!a.userMask)){var h=a.location;if(a.candlelighting&&o&hc){var c=t.getDate();if(n=fi(t,c,r,h,a),o&Fh&&n&&!a.noHolidays){var l=5===r||6===r?n:function(e,t,a){var n=new oi(t.greg(),a.getLatitude(),a.getLongitude());return yi(t,n.dusk(),e.getDesc(),e,a)}(t,c,h),f={eventTime:l.eventTime,eventTimeStr:l.eventTimeStr,location:h};t.chanukahDay&&(f.chanukahDay=t.chanukahDay),t.emoji&&(f.emoji=t.emoji),t=new ws(t.getDate(),t.getDesc(),o,f),n=void 0}}a.noHolidays||(a.candlelighting&&o&(xh|Gh)&&(t=function(e,t){var a=e.getDesc();if("Yom Kippur"===a)return e;var n=(e=e.clone()).getDate(),r=n.greg(),o=new oi(r,t.getLatitude(),t.getLongitude());if("Erev Tish'a B'Av"===a){var i=o.sunset();e.startEvent=yi(n,i,"Fast begins",e,t)}else if("Tish'a B'Av"===a.substring(0,11))e.endEvent=yi(n,o.tzeit(7.083),"Fast ends",e,t);else{var u=o.alotHaShachar();e.startEvent=yi(n,u,"Fast begins",e,t),5===r.getDay()||14===n.getDate()&&n.getMonth()===mo.NISAN||(e.endEvent=yi(n,o.tzeit(7.083),"Fast ends",e,t))}return e}(t,h)),t.startEvent&&e.push(t.startEvent),e.push(t),t.endEvent&&e.push(t.endEvent))}return n}return e.AsaraBTevetEvent=Is,e.CandleLightingEvent=mi,e.DafYomi=Xi,e.DafYomiEvent=eu,e.Event=No,e.HDate=Co,e.HavdalahEvent=di,e.HebrewCalendar=dc,e.HebrewDateEvent=Yo,e.HolidayEvent=ws,e.Locale=vo,e.Location=hi,e.MevarchimChodeshEvent=Cs,e.MishnaYomiEvent=kh,e.MishnaYomiIndex=yh,e.Molad=ki,e.MoladEvent=bi,e.OmerEvent=Fi,e.ParshaEvent=ps,e.RoshChodeshEvent=As,e.RoshHashanaEvent=Ts,e.Sedra=ts,e.TimedEvent=vi,e.Zmanim=oi,e.flags=Oo,e.gematriya=b,e.greg=y,e.months=mo,e.parshiot=as,e.version=Dh,Object.defineProperty(e,"__esModule",{value:!0}),e}({});
1
+ /*! @hebcal/core v3.38.0 */
2
+ var hebcal=function(e){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function h(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,n=u(e);if(t){var r=u(this).constructor;a=Reflect.construct(n,arguments,r)}else a=n.apply(this,arguments);return h(this,a)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function f(e,t){var a="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){a&&(e=a);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==a.return||a.return()}finally{if(u)throw o}}}}var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=function(e){return e&&e.Math==Math&&e},m=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof v&&v)||function(){return this}()||Function("return this")(),y={},g=function(e){try{return!!e()}catch(e){return!0}},k=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),b=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),S=b,w=Function.prototype.call,p=S?w.bind(w):function(){return w.apply(w,arguments)},A={},M={}.propertyIsEnumerable,I=Object.getOwnPropertyDescriptor,D=I&&!M.call({1:2},1);A.f=D?function(e){var t=I(this,e);return!!t&&t.enumerable}:M;var T,E,C=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},H=b,O=Function.prototype,N=O.bind,L=O.call,B=H&&N.bind(L,L),P=H?function(e){return e&&B(e)}:function(e){return e&&function(){return L.apply(e,arguments)}},Y=P,_=Y({}.toString),R=Y("".slice),j=function(e){return R(_(e),8,-1)},z=P,V=g,F=j,x=m.Object,U=z("".split),K=V((function(){return!x("z").propertyIsEnumerable(0)}))?function(e){return"String"==F(e)?U(e,""):x(e)}:x,G=m.TypeError,Z=function(e){if(null==e)throw G("Can't call method on "+e);return e},W=K,J=Z,$=function(e){return W(J(e))},q=function(e){return"function"==typeof e},X=q,Q=function(e){return"object"==typeof e?null!==e:X(e)},ee=m,te=q,ae=function(e){return te(e)?e:void 0},ne=function(e,t){return arguments.length<2?ae(ee[e]):ee[e]&&ee[e][t]},re=P({}.isPrototypeOf),oe=ne("navigator","userAgent")||"",ie=m,ue=oe,se=ie.process,he=ie.Deno,ce=se&&se.versions||he&&he.version,le=ce&&ce.v8;le&&(E=(T=le.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&ue&&(!(T=ue.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=ue.match(/Chrome\/(\d+)/))&&(E=+T[1]);var fe=E,ve=fe,de=g,me=!!Object.getOwnPropertySymbols&&!de((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ve&&ve<41})),ye=me&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ge=ne,ke=q,be=re,Se=ye,we=m.Object,pe=Se?function(e){return"symbol"==typeof e}:function(e){var t=ge("Symbol");return ke(t)&&be(t.prototype,we(e))},Ae=m.String,Me=function(e){try{return Ae(e)}catch(e){return"Object"}},Ie=q,De=Me,Te=m.TypeError,Ee=function(e){if(Ie(e))return e;throw Te(De(e)+" is not a function")},Ce=Ee,He=function(e,t){var a=e[t];return null==a?void 0:Ce(a)},Oe=p,Ne=q,Le=Q,Be=m.TypeError,Pe={exports:{}},Ye=m,_e=Object.defineProperty,Re=function(e,t){try{_e(Ye,e,{value:t,configurable:!0,writable:!0})}catch(a){Ye[e]=t}return t},je=Re,ze="__core-js_shared__",Ve=m[ze]||je(ze,{}),Fe=Ve;(Pe.exports=function(e,t){return Fe[e]||(Fe[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var xe=Z,Ue=m.Object,Ke=function(e){return Ue(xe(e))},Ge=Ke,Ze=P({}.hasOwnProperty),We=Object.hasOwn||function(e,t){return Ze(Ge(e),t)},Je=P,$e=0,qe=Math.random(),Xe=Je(1..toString),Qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Xe(++$e+qe,36)},et=m,tt=Pe.exports,at=We,nt=Qe,rt=me,ot=ye,it=tt("wks"),ut=et.Symbol,st=ut&&ut.for,ht=ot?ut:ut&&ut.withoutSetter||nt,ct=function(e){if(!at(it,e)||!rt&&"string"!=typeof it[e]){var t="Symbol."+e;rt&&at(ut,e)?it[e]=ut[e]:it[e]=ot&&st?st(t):ht(t)}return it[e]},lt=p,ft=Q,vt=pe,dt=He,mt=function(e,t){var a,n;if("string"===t&&Ne(a=e.toString)&&!Le(n=Oe(a,e)))return n;if(Ne(a=e.valueOf)&&!Le(n=Oe(a,e)))return n;if("string"!==t&&Ne(a=e.toString)&&!Le(n=Oe(a,e)))return n;throw Be("Can't convert object to primitive value")},yt=ct,gt=m.TypeError,kt=yt("toPrimitive"),bt=function(e,t){if(!ft(e)||vt(e))return e;var a,n=dt(e,kt);if(n){if(void 0===t&&(t="default"),a=lt(n,e,t),!ft(a)||vt(a))return a;throw gt("Can't convert object to primitive value")}return void 0===t&&(t="number"),mt(e,t)},St=pe,wt=function(e){var t=bt(e,"string");return St(t)?t:t+""},pt=Q,At=m.document,Mt=pt(At)&&pt(At.createElement),It=function(e){return Mt?At.createElement(e):{}},Dt=!k&&!g((function(){return 7!=Object.defineProperty(It("div"),"a",{get:function(){return 7}}).a})),Tt=k,Et=p,Ct=A,Ht=C,Ot=$,Nt=wt,Lt=We,Bt=Dt,Pt=Object.getOwnPropertyDescriptor;y.f=Tt?Pt:function(e,t){if(e=Ot(e),t=Nt(t),Bt)try{return Pt(e,t)}catch(e){}if(Lt(e,t))return Ht(!Et(Ct.f,e,t),e[t])};var Yt={},_t=k&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=m,jt=Q,zt=Rt.String,Vt=Rt.TypeError,Ft=function(e){if(jt(e))return e;throw Vt(zt(e)+" is not an object")},xt=k,Ut=Dt,Kt=_t,Gt=Ft,Zt=wt,Wt=m.TypeError,Jt=Object.defineProperty,$t=Object.getOwnPropertyDescriptor,qt="enumerable",Xt="configurable",Qt="writable";Yt.f=xt?Kt?function(e,t,a){if(Gt(e),t=Zt(t),Gt(a),"function"==typeof e&&"prototype"===t&&"value"in a&&Qt in a&&!a.writable){var n=$t(e,t);n&&n.writable&&(e[t]=a.value,a={configurable:Xt in a?a.configurable:n.configurable,enumerable:qt in a?a.enumerable:n.enumerable,writable:!1})}return Jt(e,t,a)}:Jt:function(e,t,a){if(Gt(e),t=Zt(t),Gt(a),Ut)try{return Jt(e,t,a)}catch(e){}if("get"in a||"set"in a)throw Wt("Accessors not supported");return"value"in a&&(e[t]=a.value),e};var ea=Yt,ta=C,aa=k?function(e,t,a){return ea.f(e,t,ta(1,a))}:function(e,t,a){return e[t]=a,e},na={exports:{}},ra=k,oa=We,ia=Function.prototype,ua=ra&&Object.getOwnPropertyDescriptor,sa=oa(ia,"name"),ha={EXISTS:sa,PROPER:sa&&"something"===function(){}.name,CONFIGURABLE:sa&&(!ra||ra&&ua(ia,"name").configurable)},ca=q,la=Ve,fa=P(Function.toString);ca(la.inspectSource)||(la.inspectSource=function(e){return fa(e)});var va,da,ma,ya=la.inspectSource,ga=q,ka=ya,ba=m.WeakMap,Sa=ga(ba)&&/native code/.test(ka(ba)),wa=Pe.exports,pa=Qe,Aa=wa("keys"),Ma={},Ia=Sa,Da=m,Ta=P,Ea=Q,Ca=aa,Ha=We,Oa=Ve,Na=function(e){return Aa[e]||(Aa[e]=pa(e))},La=Ma,Ba="Object already initialized",Pa=Da.TypeError,Ya=Da.WeakMap;if(Ia||Oa.state){var _a=Oa.state||(Oa.state=new Ya),Ra=Ta(_a.get),ja=Ta(_a.has),za=Ta(_a.set);va=function(e,t){if(ja(_a,e))throw new Pa(Ba);return t.facade=e,za(_a,e,t),t},da=function(e){return Ra(_a,e)||{}},ma=function(e){return ja(_a,e)}}else{var Va=Na("state");La[Va]=!0,va=function(e,t){if(Ha(e,Va))throw new Pa(Ba);return t.facade=e,Ca(e,Va,t),t},da=function(e){return Ha(e,Va)?e[Va]:{}},ma=function(e){return Ha(e,Va)}}var Fa={set:va,get:da,has:ma,enforce:function(e){return ma(e)?da(e):va(e,{})},getterFor:function(e){return function(t){var a;if(!Ea(t)||(a=da(t)).type!==e)throw Pa("Incompatible receiver, "+e+" required");return a}}},xa=g,Ua=q,Ka=We,Ga=k,Za=ha.CONFIGURABLE,Wa=ya,Ja=Fa.enforce,$a=Fa.get,qa=Object.defineProperty,Xa=Ga&&!xa((function(){return 8!==qa((function(){}),"length",{value:8}).length})),Qa=String(String).split("String"),en=na.exports=function(e,t,a){if("Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(t="get "+t),a&&a.setter&&(t="set "+t),(!Ka(e,"name")||Za&&e.name!==t)&&qa(e,"name",{value:t,configurable:!0}),Xa&&a&&Ka(a,"arity")&&e.length!==a.arity&&qa(e,"length",{value:a.arity}),a&&Ka(a,"constructor")&&a.constructor){if(Ga)try{qa(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;var n=Ja(e);return Ka(n,"source")||(n.source=Qa.join("string"==typeof t?t:"")),e};Function.prototype.toString=en((function(){return Ua(this)&&$a(this).source||Wa(this)}),"toString");var tn=m,an=q,nn=aa,rn=na.exports,on=Re,un={},sn=Math.ceil,hn=Math.floor,cn=function(e){var t=+e;return t!=t||0===t?0:(t>0?hn:sn)(t)},ln=cn,fn=Math.max,vn=Math.min,dn=function(e,t){var a=ln(e);return a<0?fn(a+t,0):vn(a,t)},mn=cn,yn=Math.min,gn=function(e){return e>0?yn(mn(e),9007199254740991):0},kn=function(e){return gn(e.length)},bn=$,Sn=dn,wn=kn,pn=function(e){return function(t,a,n){var r,o=bn(t),i=wn(o),u=Sn(n,i);if(e&&a!=a){for(;i>u;)if((r=o[u++])!=r)return!0}else for(;i>u;u++)if((e||u in o)&&o[u]===a)return e||u||0;return!e&&-1}},An={includes:pn(!0),indexOf:pn(!1)},Mn=We,In=$,Dn=An.indexOf,Tn=Ma,En=P([].push),Cn=function(e,t){var a,n=In(e),r=0,o=[];for(a in n)!Mn(Tn,a)&&Mn(n,a)&&En(o,a);for(;t.length>r;)Mn(n,a=t[r++])&&(~Dn(o,a)||En(o,a));return o},Hn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");un.f=Object.getOwnPropertyNames||function(e){return Cn(e,Hn)};var On={};On.f=Object.getOwnPropertySymbols;var Nn=ne,Ln=un,Bn=On,Pn=Ft,Yn=P([].concat),_n=Nn("Reflect","ownKeys")||function(e){var t=Ln.f(Pn(e)),a=Bn.f;return a?Yn(t,a(e)):t},Rn=We,jn=_n,zn=y,Vn=Yt,Fn=g,xn=q,Un=/#|\.prototype\./,Kn=function(e,t){var a=Zn[Gn(e)];return a==Jn||a!=Wn&&(xn(t)?Fn(t):!!t)},Gn=Kn.normalize=function(e){return String(e).replace(Un,".").toLowerCase()},Zn=Kn.data={},Wn=Kn.NATIVE="N",Jn=Kn.POLYFILL="P",$n=Kn,qn=m,Xn=y.f,Qn=aa,er=function(e,t,a,n){var r=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,i=!!n&&!!n.noTargetGet,u=n&&void 0!==n.name?n.name:t;return an(a)&&rn(a,u,n),e===tn?(o?e[t]=a:on(t,a),e):(r?!i&&e[t]&&(o=!0):delete e[t],o?e[t]=a:nn(e,t,a),e)},tr=Re,ar=function(e,t,a){for(var n=jn(t),r=Vn.f,o=zn.f,i=0;i<n.length;i++){var u=n[i];Rn(e,u)||a&&Rn(a,u)||r(e,u,o(t,u))}},nr=$n,rr=function(e,t){var a,n,r,o,i,u=e.target,s=e.global,h=e.stat;if(a=s?qn:h?qn[u]||tr(u,{}):(qn[u]||{}).prototype)for(n in t){if(o=t[n],r=e.noTargetGet?(i=Xn(a,n))&&i.value:a[n],!nr(s?n:u+(h?".":"#")+n,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;ar(o,r)}(e.sham||r&&r.sham)&&Qn(o,"sham",!0),er(a,n,o,e)}},or=j,ir=Array.isArray||function(e){return"Array"==or(e)},ur={};ur[ct("toStringTag")]="z";var sr=m,hr="[object z]"===String(ur),cr=q,lr=j,fr=ct("toStringTag"),vr=sr.Object,dr="Arguments"==lr(function(){return arguments}()),mr=hr?lr:function(e){var t,a,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(a=function(e,t){try{return e[t]}catch(e){}}(t=vr(e),fr))?a:dr?lr(t):"Object"==(n=lr(t))&&cr(t.callee)?"Arguments":n},yr=P,gr=g,kr=q,br=mr,Sr=ya,wr=function(){},pr=[],Ar=ne("Reflect","construct"),Mr=/^\s*(?:class|function)\b/,Ir=yr(Mr.exec),Dr=!Mr.exec(wr),Tr=function(e){if(!kr(e))return!1;try{return Ar(wr,pr,e),!0}catch(e){return!1}},Er=function(e){if(!kr(e))return!1;switch(br(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Dr||!!Ir(Mr,Sr(e))}catch(e){return!0}};Er.sham=!0;var Cr=!Ar||gr((function(){var e;return Tr(Tr.call)||!Tr(Object)||!Tr((function(){e=!0}))||e}))?Er:Tr,Hr=wt,Or=Yt,Nr=C,Lr=function(e,t,a){var n=Hr(t);n in e?Or.f(e,n,Nr(0,a)):e[n]=a},Br=g,Pr=fe,Yr=ct("species"),_r=P([].slice),Rr=rr,jr=m,zr=ir,Vr=Cr,Fr=Q,xr=dn,Ur=kn,Kr=$,Gr=Lr,Zr=ct,Wr=_r,Jr=function(e){return Pr>=51||!Br((function(){var t=[];return(t.constructor={})[Yr]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}("slice"),$r=Zr("species"),qr=jr.Array,Xr=Math.max;Rr({target:"Array",proto:!0,forced:!Jr},{slice:function(e,t){var a,n,r,o=Kr(this),i=Ur(o),u=xr(e,i),s=xr(void 0===t?i:t,i);if(zr(o)&&(a=o.constructor,(Vr(a)&&(a===qr||zr(a.prototype))||Fr(a)&&null===(a=a[$r]))&&(a=void 0),a===qr||void 0===a))return Wr(o,u,s);for(n=new(void 0===a?qr:a)(Xr(s-u,0)),r=0;u<s;u++,r++)u in o&&Gr(n,r,o[u]);return n.length=r,n}});var Qr=[0,31,28,31,30,31,30,31,31,30,31,30,31],eo=[Qr,Qr.slice()];function to(e,t){return e-t*Math.floor(e/t)}function ao(e,t){return Math.floor(e/t)}function no(e){return!(e%4||!(e%100)&&e%400)}function ro(e){return"object"===t(e)&&Date.prototype===e.__proto__}function oo(e){if(!ro(e))throw new TypeError("Argument to greg.dayOfYear not a Date");var t=e.getDate()+31*e.getMonth();return e.getMonth()>1&&(t-=Math.floor((4*(e.getMonth()+1)+23)/10),no(e.getFullYear())&&t++),t}function io(e,t,a){var n=e-1;return 0+365*n+ao(n,4)-ao(n,100)+ao(n,400)+ao(367*t-362,12)+Math.floor(t<=2?0:no(e)?-1:-2)+a}function uo(e){if("number"!=typeof e)throw new TypeError("Argument to greg.abs2greg not a Number");var t=function(e){var t=e-1,a=ao(t,146097),n=to(t,146097),r=ao(n,36524),o=to(n,36524),i=ao(o,1461),u=ao(to(o,1461),365),s=400*a+100*r+4*i+u;return 4!=r&&4!=u?s+1:s}(e=Math.trunc(e)),a=ao(12*(e-io(t,1,1)+(e<io(t,3,1)?0:no(t)?1:2))+373,367),n=e-io(t,a,1)+1,r=new Date(t,a-1,n);return t<100&&t>=0&&r.setFullYear(t),r}eo[1][2]=29;var so=function(){function e(){a(this,e)}return r(e,null,[{key:"isLeapYear",value:function(e){return no(e)}},{key:"daysInMonth",value:function(e,t){return function(e,t){return eo[+no(t)][e]}(e,t)}},{key:"isDate",value:function(e){return ro(e)}},{key:"dayOfYear",value:function(e){return oo(e)}},{key:"greg2abs",value:function(e){return function(e){if(!ro(e))throw new TypeError("Argument to greg.greg2abs not a Date");var t=e.getFullYear()-1;return oo(e)+365*t+(Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))}(e)}},{key:"abs2greg",value:function(e){return uo(e)}}]),e}();o(so,"monthNames",["","January","February","March","April","May","June","July","August","September","October","November","December"]);function ho(e){switch(e){case 1:return"א";case 2:return"ב";case 3:return"ג";case 4:return"ד";case 5:return"ה";case 6:return"ו";case 7:return"ז";case 8:return"ח";case 9:return"ט";case 10:return"י";case 20:return"כ";case 30:return"ל";case 40:return"מ";case 50:return"נ";case 60:return"ס";case 70:return"ע";case 80:return"פ";case 90:return"צ";case 100:return"ק";case 200:return"ר";case 300:return"ש";case 400:return"ת";default:return"*INVALID*"}}function co(e){for(var t=[];e>0;){if(15===e||16===e){t.push(9),t.push(e-9);break}var a=100,n=void 0;for(n=400;n>e;n-=a)n===a&&(a/=10);t.push(n),e-=n}return t}function lo(e){var t=parseInt(e,10);if(!t)throw new TypeError("invalid parameter to gematriya ".concat(e));var a="",n=Math.floor(t/1e3);if(n>0&&5!==n){for(var r=co(n),o=0;o<r.length;o++)a+=ho(r[o]);a+="׳"}var i=co(t%1e3);if(1==i.length)return a+ho(i[0])+"׳";for(var u=0;u<i.length;u++)u+1===i.length&&(a+="״"),a+=ho(i[u]);return a}var fo=mr,vo=m.String,mo=function(e){if("Symbol"===fo(e))throw TypeError("Cannot convert a Symbol value to a string");return vo(e)},yo=dn,go=kn,ko=Lr,bo=m.Array,So=Math.max,wo=function(e,t,a){for(var n=go(e),r=yo(t,n),o=yo(void 0===a?n:a,n),i=bo(So(o-r,0)),u=0;r<o;r++,u++)ko(i,u,e[r]);return i.length=u,i},po=Math.floor,Ao=function(e,t){var a=e.length,n=po(a/2);return a<8?Mo(e,t):Io(e,Ao(wo(e,0,n),t),Ao(wo(e,n),t),t)},Mo=function(e,t){for(var a,n,r=e.length,o=1;o<r;){for(n=o,a=e[o];n&&t(e[n-1],a)>0;)e[n]=e[--n];n!==o++&&(e[n]=a)}return e},Io=function(e,t,a,n){for(var r=t.length,o=a.length,i=0,u=0;i<r||u<o;)e[i+u]=i<r&&u<o?n(t[i],a[u])<=0?t[i++]:a[u++]:i<r?t[i++]:a[u++];return e},Do=Ao,To=g,Eo=oe.match(/firefox\/(\d+)/i),Co=!!Eo&&+Eo[1],Ho=/MSIE|Trident/.test(oe),Oo=oe.match(/AppleWebKit\/(\d+)\./),No=!!Oo&&+Oo[1],Lo=rr,Bo=P,Po=Ee,Yo=Ke,_o=kn,Ro=mo,jo=g,zo=Do,Vo=function(e,t){var a=[][e];return!!a&&To((function(){a.call(null,t||function(){return 1},1)}))},Fo=Co,xo=Ho,Uo=fe,Ko=No,Go=[],Zo=Bo(Go.sort),Wo=Bo(Go.push),Jo=jo((function(){Go.sort(void 0)})),$o=jo((function(){Go.sort(null)})),qo=Vo("sort"),Xo=!jo((function(){if(Uo)return Uo<70;if(!(Fo&&Fo>3)){if(xo)return!0;if(Ko)return Ko<603;var e,t,a,n,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:a=3;break;case 68:case 71:a=4;break;default:a=2}for(n=0;n<47;n++)Go.push({k:t+n,v:a})}for(Go.sort((function(e,t){return t.v-e.v})),n=0;n<Go.length;n++)t=Go[n].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));Lo({target:"Array",proto:!0,forced:Jo||!$o||!qo||!Xo},{sort:function(e){void 0!==e&&Po(e);var t=Yo(this);if(Xo)return void 0===e?Zo(t):Zo(t,e);var a,n,r=[],o=_o(t);for(n=0;n<o;n++)n in t&&Wo(r,t[n]);for(zo(r,function(e){return function(t,a){return void 0===a?-1:void 0===t?1:void 0!==e?+e(t,a)||0:Ro(t)>Ro(a)?1:-1}}(e)),a=r.length,n=0;n<a;)t[n]=r[n++];for(;n<o;)delete t[n++];return t}});var Qo={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},ei={h:"he",a:"ashkenazi",s:"en","":"en"},ti=function(){function e(){a(this,e)}return r(e,null,[{key:"lookupTranslation",value:function(e,t){var a=t&&t.toLowerCase(),n=("string"==typeof t&&this.locales[a]||this.activeLocale)[e];if(n&&n.length&&n[0].length)return n[0]}},{key:"gettext",value:function(e,t){var a=this.lookupTranslation(e,t);return void 0===a?e:a}},{key:"addLocale",value:function(e,a){if("object"!==t(a.contexts)||"object"!==t(a.contexts[""]))throw new TypeError("Locale '".concat(e,"' invalid compact format"));this.locales[e.toLowerCase()]=a.contexts[""]}},{key:"useLocale",value:function(e){var t=e.toLowerCase(),a=this.locales[t];if(!a)throw new RangeError("Locale '".concat(e,"' not found"));return this.activeName=ei[t]||t,this.activeLocale=a,this.activeLocale}},{key:"getLocaleName",value:function(){return this.activeName}},{key:"getLocaleNames",value:function(){return Object.keys(this.locales).sort()}},{key:"ordinal",value:function(e,t){var a=t&&t.toLowerCase()||this.activeName;if(!a)return this.getEnOrdinal(e);switch(a){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+"."}}},{key:"getEnOrdinal",value:function(e){var t=["th","st","nd","rd"],a=e%100;return e+(t[(a-20)%10]||t[a]||t[0])}},{key:"hebrewStripNikkud",value:function(e){return e.replace(/[\u0590-\u05bd]/g,"").replace(/[\u05bf-\u05c7]/g,"")}}]),e}();o(ti,"locales",Object.create(null)),o(ti,"activeLocale",null),o(ti,"activeName",null),ti.addLocale("en",Qo),ti.addLocale("s",Qo),ti.addLocale("",Qo),ti.useLocale("en");var ai={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},ni=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],ri=[ni.concat(["Adar","Nisan"]),ni.concat(["Adar I","Adar II","Nisan"])],oi=Object.create(null),ii=-1373428;function ui(e,t,a){var n=a;if(t<7){for(var r=7;r<=li(e);r++)n+=fi(r,e);for(var o=1;o<t;o++)n+=fi(o,e)}else for(var i=7;i<t;i++)n+=fi(i,e);return ii+di(e)+n-1}function si(e){return ii+di(e)+function(e){var t=di(e);return di(e+1)-t==356?2:t-di(e-1)==382?1:0}(e)}function hi(e){if("number"!=typeof e||isNaN(e))throw new TypeError("invalid parameter to abs2hebrew ".concat(e));e=Math.trunc(e);for(var t=Math.floor((e-ii)/365.24682220597794);si(t)<=e;)++t;for(var a=e<ui(--t,1,1)?7:1;e>ui(t,a,fi(a,t));)++a;return{yy:t,mm:a,dd:1+e-ui(t,a,1)}}function ci(e){return(1+7*e)%19<7}function li(e){return 12+ci(e)}function fi(e,t){switch(e){case 2:case 4:case 6:case 10:case 13:return 29}return 12===e&&!ci(t)||8===e&&!yi(t)||9===e&&gi(t)?29:30}function vi(e,t){if("number"!=typeof e||e<1||e>14)throw new TypeError("bad month argument ".concat(e));return ri[+ci(t)][e]}function di(e){var t=oi[e]=oi[e]||function(e){var t=e-1,a=235*Math.floor(t/19)+t%19*12+Math.floor((t%19*7+1)/19),n=204+a%1080*793,r=5+12*a+793*Math.floor(a/1080)+Math.floor(n/1080),o=n%1080+r%24*1080,i=1+29*a+Math.floor(r/24),u=i+(o>=19440||2==i%7&&o>=9924&&!ci(e)||1==i%7&&o>=16789&&ci(t));return u+(u%7==0||u%7==3||u%7==5)}(e);return t}function mi(e){return di(e+1)-di(e)}function yi(e){return mi(e)%10==5}function gi(e){return mi(e)%10==3}function ki(e){throw new TypeError(e)}var bi="day",Si="week",wi="month",pi="year",Ai={d:bi,w:Si,M:wi,y:pi},Mi={day:bi,week:Si,month:wi,year:pi},Ii=function(){function e(t,n,r){if(a(this,e),2==arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3==arguments.length){if(this.day=this.month=1,this.year=+r,isNaN(this.year))throw new TypeError("HDate called with bad year argument: ".concat(r));if(this.setMonth(n),this.setDate(+t),isNaN(this.day))throw new TypeError("HDate called with bad day argument: ".concat(t))}else{void 0===t&&(t=new Date);var o="number"!=typeof t||isNaN(t)?so.isDate(t)?so.greg2abs(t):e.isHDate(t)?{dd:t.day,mm:t.month,yy:t.year}:ki("HDate called with bad argument: ".concat(t)):t,i="number"==typeof o,u=i?hi(o):o;this.day=u.dd,this.month=u.mm,this.year=u.yy,i&&(this.abs0=o)}}return r(e,[{key:"getFullYear",value:function(){return this.year}},{key:"isLeapYear",value:function(){return ci(this.year)}},{key:"getMonth",value:function(){return this.month}},{key:"getTishreiMonth",value:function(){var e=li(this.getFullYear());return(this.getMonth()+e-6)%e||e}},{key:"daysInMonth",value:function(){return fi(this.getMonth(),this.getFullYear())}},{key:"getDate",value:function(){return this.day}},{key:"getDay",value:function(){return to(this.abs(),7)}},{key:"setFullYear",value:function(e){return this.year=e,Di(this),this}},{key:"setMonth",value:function(t){return this.month=e.monthNum(t),Di(this),this}},{key:"setDate",value:function(e){return this.day=e,Di(this),this}},{key:"greg",value:function(){return so.abs2greg(this.abs())}},{key:"abs",value:function(){return"number"!=typeof this.abs0&&(this.abs0=ui(this.year,this.month,this.day)),this.abs0}},{key:"getMonthName",value:function(){return vi(this.getMonth(),this.getFullYear())}},{key:"render",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t||ti.getLocaleName(),r=this.getDate(),o=ti.gettext(this.getMonthName(),n),i=ti.ordinal(r,n),u=e.getDayOfTranslation(n),s="".concat(i).concat(u," ").concat(o);if(a){var h=this.getFullYear();return"".concat(s,", ").concat(h)}return s}},{key:"renderGematriya",value:function(){var e=this.getDate(),t=ti.gettext(this.getMonthName(),"he"),a=this.getFullYear();return lo(e)+" "+t+" "+lo(a)}},{key:"before",value:function(e){return Ei(e,this,-1)}},{key:"onOrBefore",value:function(e){return Ei(e,this,0)}},{key:"nearest",value:function(e){return Ei(e,this,3)}},{key:"onOrAfter",value:function(e){return Ei(e,this,6)}},{key:"after",value:function(e){return Ei(e,this,7)}},{key:"next",value:function(){return new e(this.abs()+1)}},{key:"prev",value:function(){return new e(this.abs()-1)}},{key:"add",value:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";if(!(t=parseInt(t,10)))return new e(this);if((a=e.standardizeUnits(a))===bi)return new e(this.abs()+t);if(a===Si)return new e(this.abs()+7*t);if(a===pi)return new e(this.getDate(),this.getMonth(),this.getFullYear()+t);if(a===wi){var n=new e(this),r=t>0?1:-1;t=Math.abs(t);for(var o=0;o<t;o++)n=new e(n.abs()+r*n.daysInMonth());return n}}},{key:"subtract",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return this.add(-1*e,t)}},{key:"deltaDays",value:function(t){if(!e.isHDate(t))throw new TypeError("Bad argument: ".concat(t));return this.abs()-t.abs()}},{key:"isSameDate",value:function(t){return!!e.isHDate(t)&&(this.year==t.year&&this.month==t.month&&this.day==t.day)}},{key:"toString",value:function(){var e=this.getDate(),t=this.getFullYear(),a=this.getMonthName();return"".concat(e," ").concat(a," ").concat(t)}}],[{key:"hebrew2abs",value:function(e,t,a){return ui(e,t,a)}},{key:"abs2hebrew",value:function(e){return hi(e)}},{key:"getDayOfTranslation",value:function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}var t=ti.lookupTranslation("of",e);return t?" "+t:"ashkenazi"===e.substring(0,9)?" of":""}},{key:"standardizeUnits",value:function(e){var t=Ai[e]||String(e||"").toLowerCase().replace(/s$/,"");return Mi[t]||ki("Invalid units '".concat(e,"'"))}},{key:"isLeapYear",value:function(e){return ci(e)}},{key:"monthsInYear",value:function(e){return li(e)}},{key:"daysInMonth",value:function(e,t){return fi(e,t)}},{key:"getMonthName",value:function(e,t){return vi(e,t)}},{key:"monthNum",value:function(t){return"number"==typeof t?t:t.charCodeAt(0)>=48&&t.charCodeAt(0)<=57?parseInt(t,10):e.monthFromName(t)}},{key:"daysInYear",value:function(e){return mi(e)}},{key:"longCheshvan",value:function(e){return yi(e)}},{key:"shortKislev",value:function(e){return gi(e)}},{key:"monthFromName",value:function(e){if("number"==typeof e)return e;var t=e.toLowerCase();switch(t[0]){case"n":case"נ":if("o"==t[1])break;return ai.NISAN;case"i":return ai.IYYAR;case"e":return ai.ELUL;case"c":case"ח":return ai.CHESHVAN;case"k":case"כ":return ai.KISLEV;case"s":switch(t[1]){case"i":return ai.SIVAN;case"h":return ai.SHVAT}case"t":switch(t[1]){case"a":return ai.TAMUZ;case"i":return ai.TISHREI;case"e":return ai.TEVET}break;case"a":switch(t[1]){case"v":return ai.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?ai.ADAR_I:ai.ADAR_II}break;case"ס":return ai.SIVAN;case"ט":return ai.TEVET;case"ש":return ai.SHVAT;case"א":switch(t[1]){case"ב":return ai.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?ai.ADAR_I:ai.ADAR_II;case"י":return ai.IYYAR;case"ל":return ai.ELUL}break;case"ת":switch(t[1]){case"מ":return ai.TAMUZ;case"ש":return ai.TISHREI}}throw new RangeError("Unable to parse month name: ".concat(e))}},{key:"dayOnOrBefore",value:function(e,t){return t-(t-e)%7}},{key:"isHDate",value:function(e){return null!==e&&"object"===t(e)&&"number"==typeof e.year&&"number"==typeof e.month&&"number"==typeof e.day&&"function"==typeof e.greg&&"function"==typeof e.abs}}]),e}();function Di(e){Ti(e),function(e){e.day<1&&(e.month==ai.TISHREI&&(e.year-=1),e.day+=fi(e.month,e.year),e.month-=1,Di(e));e.day>fi(e.month,e.year)&&(e.month===ai.ELUL&&(e.year+=1),e.day-=fi(e.month,e.year),e.month+=1,Di(e));Ti(e)}(e)}function Ti(e){e.month!==ai.ADAR_II||e.isLeapYear()?e.month<1?(e.month+=li(e.year),e.year-=1,Di(e)):e.month>li(e.year)&&(e.month-=li(e.year),e.year+=1,Di(e)):(e.month-=1,Di(e)),delete e.abs0}function Ei(e,t,a){return new Ii(Ii.dayOnOrBefore(e,t.abs()+a))}var Ci={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},Hi=function(){function e(n,r,o,i){var u=this;a(this,e),this.date=n,this.desc=r,this.mask=+o,"object"===t(i)&&null!==i&&Object.keys(i).forEach((function(e){return u[e]=i[e]}))}return r(e,[{key:"getDate",value:function(){return this.date}},{key:"getDesc",value:function(){return this.desc}},{key:"getFlags",value:function(){return this.mask}},{key:"render",value:function(e){return ti.gettext(this.desc,e)}},{key:"renderBrief",value:function(e){return this.render(e)}},{key:"getEmoji",value:function(){return this.emoji||null}},{key:"basename",value:function(){return this.getDesc()}},{key:"url",value:function(){}},{key:"observedInIsrael",value:function(){return!(8&this.mask)}},{key:"observedInDiaspora",value:function(){return!(16&this.mask)}},{key:"getAttrs",value:function(){return this}},{key:"clone",value:function(){var e=new this.constructor;for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e}}]),e}(),Oi=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"],Ni=function(e){i(n,e);var t=c(n);function n(e){return a(this,n),t.call(this,e,e.toString(),Ci.HEBREW_DATE)}return r(n,[{key:"render",value:function(e){var t=e&&e.toLowerCase()||ti.getLocaleName(),a=this.getDate();switch(t){case"h":case"he":case"he-x-nonikud":var n=a.getDate(),r=ti.gettext(a.getMonthName(),t),o=a.getFullYear();return lo(n)+" "+r+" "+lo(o);default:return a.render(t,!0)}}},{key:"renderBrief",value:function(e){var t=e&&e.toLowerCase()||ti.getLocaleName(),a=this.getDate();if(a.getMonth()===ai.TISHREI&&1===a.getDate())return this.render(t);switch(t){case"h":case"he":case"he-x-nonikud":var n=a.getDate(),r=ti.gettext(a.getMonthName(),t);return lo(n)+" "+r;default:return a.render(t,!1)}}}],[{key:"renderHebrew",value:function(e,t,a){return lo(e)+" "+t+" "+lo(a)}}]),n}(Hi),Li=function(){function e(t,n,r){a(this,e),this.date=t,this.latitude=n,this.longitude=r,this.julianDate=function(e){var t=e.getFullYear(),a=e.getMonth()+1,n=e.getDate();a<3&&(t--,a+=12);var r=Math.floor(t/100),o=2-r+Math.floor(r/4);return Math.floor(365.25*(t+4716))+Math.floor(30.6001*(a+1))+n+o-1524.5}(t)}return r(e,[{key:"solarNoon",get:function(){return function(e,t,a){var n=xi(Pi(e-t/360)),r=Pi(e+(720-4*t-n)/1440);n=xi(r);var o=720-4*t-n;for(;o<0;)o+=1440;for(;o>=1440;)o-=1440;return Bi(a,o)}(this.julianDate,this.longitude,this.date)}},{key:"timeAtAngle",value:function(e,t){return function(e,t,a,n,r,o){var i=Ui(e,t,a,r,o),u=Ui(e,t,a+i/1440,r,o);return function(e){for(var t=!1,a="".concat(e),n=0;n<a.length;n++){var r=a.charAt(n);if(0!==n||"-"!==r&&"+"!==r)if("."!==r||t){if(r<"0"||r>"9")return!1}else t=!0}return!0}(u)?Bi(n,u):new Date(NaN)}(t,e,this.julianDate,this.date,this.latitude,this.longitude)}}]),e}();function Bi(e,t){var a=60*(t-Math.floor(t));return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),0,t,a))}function Pi(e){return(e-2451545)/36525}function Yi(e){return 180*e/Math.PI}function _i(e){return Math.PI*e/180}function Ri(e){for(var t=280.46646+e*(36000.76983+3032e-7*e);t>360;)t-=360;for(;t<0;)t+=360;return t}function ji(e){return 357.52911+e*(35999.05029-1537e-7*e)}function zi(e){var t=Ri(e),a=function(e){var t=_i(ji(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)}(e);return t+a}function Vi(e){var t=function(e){return 23+(26+(21.448-e*(46.815+e*(59e-5-.001813*e)))/60)/60}(e),a=125.04-1934.136*e;return t+.00256*Math.cos(_i(a))}function Fi(e){var t=Vi(e),a=function(e){var t=125.04-1934.136*e;return zi(e)-.00569-.00478*Math.sin(_i(t))}(e),n=Math.sin(_i(t))*Math.sin(_i(a));return Yi(Math.asin(n))}function xi(e){var t=Vi(e),a=Ri(e),n=function(e){return.016708634-e*(42037e-9+1.267e-7*e)}(e),r=ji(e),o=Math.tan(_i(t)/2);o*=o;var i=Math.sin(2*_i(a)),u=Math.sin(_i(r));return 4*Yi(o*i-2*n*u+4*n*o*u*Math.cos(2*_i(a))-.5*o*o*Math.sin(4*_i(a))-1.25*n*n*Math.sin(2*_i(r)))}function Ui(e,t,a,n,r){var o=Pi(a),i=xi(o),u=function(e,t,a){var n=_i(t),r=_i(a),o=Math.cos(_i(90+e))/(Math.cos(n)*Math.cos(r))-Math.tan(n)*Math.tan(r);return Math.acos(o)}(t,n,Fi(o));return e||(u=-u),720-4*(r+Yi(u))-i}var Ki=.833,Gi=.3,Zi=6,Wi=12,Ji=18,$i=-6,qi=function(){function e(t,n,r){a(this,e),this.date=t,this.lat=n,this.longitude=r,this.sun=new Li(t,n,r)}return r(e,[{key:"solarNoon",get:function(){return this.sun.solarNoon}},{key:"sunrise",get:function(){return this.sun.timeAtAngle(Ki,!0)}},{key:"sunset",get:function(){return this.sun.timeAtAngle(Ki)}},{key:"sunriseEnd",get:function(){return this.sun.timeAtAngle(Gi,!0)}},{key:"sunsetStart",get:function(){return this.sun.timeAtAngle(Gi,!1)}},{key:"civilDawn",get:function(){return this.sun.timeAtAngle(Zi,!0)}},{key:"dawn",get:function(){return this.civilDawn}},{key:"civilDusk",get:function(){return this.sun.timeAtAngle(Zi,!1)}},{key:"dusk",get:function(){return this.civilDusk}},{key:"nauticalDawn",get:function(){return this.sun.timeAtAngle(Wi,!0)}},{key:"nauticalDusk",get:function(){return this.sun.timeAtAngle(Wi,!1)}},{key:"nightStart",get:function(){return this.astronomicalDusk}},{key:"astronomicalDusk",get:function(){return this.sun.timeAtAngle(Ji,!1)}},{key:"astronomicalDawn",get:function(){return this.sun.timeAtAngle(Ji,!0)}},{key:"nightEnd",get:function(){return this.astronomicalDawn}},{key:"goldenHourStart",get:function(){return this.sun.timeAtAngle($i,!1)}},{key:"goldenHourEnd",get:function(){return this.sun.timeAtAngle($i,!0)}}]),e}(),Xi={};var Qi=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function eu(e,t){var a=function(e){var t=Xi[e];if(t)return t;var a=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 Xi[e]=a,a}(e).format(t),n=Qi.exec(a),r=n[4];return"24"==r&&(r="00"),n[3]=tu(n[3]),"".concat(n[3],"-").concat(n[1],"-").concat(n[2],"T").concat(r,":").concat(n[5],":").concat(n[6],"Z")}function tu(e){return e<0?"-00"+tu(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function au(e){return e<10?"0"+e:String(e)}var nu=function(){function e(t,n,r){if(a(this,e),"number"!=typeof n)throw new TypeError("Invalid latitude");if("number"!=typeof r)throw new TypeError("Invalid longitude");if(n<-90||n>90)throw new RangeError("Latitude ".concat(n," out of range [-90,90]"));if(r<-180||r>180)throw new RangeError("Longitude ".concat(r," out of range [-180,180]"));var o=so.isDate(t)?t:Ii.isHDate(t)?t.greg():function(e){throw new TypeError(e)}("invalid date: ".concat(t));this.date=o,this.solarCalc=new qi(this.date,n,r),this.sun=this.solarCalc.sun,this.latitude=n,this.longitude=r}return r(e,[{key:"suntime",value:function(){return{solarNoon:this.solarCalc.solarNoon,sunrise:this.sunrise(),sunset:this.sunset(),sunriseEnd:this.solarCalc.sunriseEnd,sunsetStart:this.solarCalc.sunsetStart,dawn:this.dawn(),dusk:this.dusk(),nauticalDawn:this.solarCalc.nauticalDawn,nauticalDusk:this.solarCalc.nauticalDusk,nightEnd:this.solarCalc.nightEnd,night:this.solarCalc.nightStart,goldenHourEnd:this.solarCalc.goldenHourEnd,goldenHour:this.solarCalc.goldenHourStart,alotHaShachar:this.alotHaShachar(),misheyakir:this.misheyakir(),misheyakirMachmir:this.misheyakirMachmir(),tzeit:this.tzeit()}}},{key:"sunrise",value:function(){return this.sun.timeAtAngle(.833333,!0)}},{key:"sunset",value:function(){return this.sun.timeAtAngle(.833333,!1)}},{key:"dawn",value:function(){return this.solarCalc.dawn}},{key:"dusk",value:function(){return this.solarCalc.dusk}},{key:"hour",value:function(){return(this.sunset()-this.sunrise())/12}},{key:"hourMins",value:function(){return this.hour()/6e4}},{key:"gregEve",value:function(){var t=new Date(this.date);return t.setDate(t.getDate()-1),new e(t,this.latitude,this.longitude).sunset()}},{key:"nightHour",value:function(){return(this.sunrise()-this.gregEve())/12}},{key:"nightHourMins",value:function(){return this.nightHour()/6e4}},{key:"hourOffset",value:function(e){return new Date(this.sunrise().getTime()+this.hour()*e)}},{key:"chatzot",value:function(){return this.hourOffset(6)}},{key:"chatzotNight",value:function(){return new Date(this.sunrise().getTime()-6*this.nightHour())}},{key:"alotHaShachar",value:function(){return this.sun.timeAtAngle(16.1,!0)}},{key:"misheyakir",value:function(){return this.sun.timeAtAngle(11.5,!0)}},{key:"misheyakirMachmir",value:function(){return this.sun.timeAtAngle(10.2,!0)}},{key:"sofZmanShma",value:function(){return this.hourOffset(3)}},{key:"sofZmanTfilla",value:function(){return this.hourOffset(4)}},{key:"sofZmanShmaMGA",value:function(){var e=this.sunriseOffset(-72),t=(this.sunsetOffset(72)-e)/12;return new Date(e.getTime()+3*t)}},{key:"sofZmanTfillaMGA",value:function(){var e=this.sunriseOffset(-72),t=(this.sunsetOffset(72)-e)/12;return new Date(e.getTime()+4*t)}},{key:"minchaGedola",value:function(){return this.hourOffset(6.5)}},{key:"minchaKetana",value:function(){return this.hourOffset(9.5)}},{key:"plagHaMincha",value:function(){return this.hourOffset(10.75)}},{key:"tzeit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8.5;return this.sun.timeAtAngle(e,!1)}},{key:"neitzHaChama",value:function(){return this.sunrise()}},{key:"shkiah",value:function(){return this.sunset()}},{key:"sunriseOffset",value:function(e){var t=this.sunrise();return isNaN(t.getTime())?t:(e>0&&t.getSeconds()>=30&&e++,t.setSeconds(0,0),new Date(t.getTime()+60*e*1e3))}},{key:"sunsetOffset",value:function(e){var t=this.sunset();return isNaN(t.getTime())?t:(e>0&&t.getSeconds()>=30&&e++,t.setSeconds(0,0),new Date(t.getTime()+60*e*1e3))}},{key:"sunsetOffsetTime",value:function(t,a){var n=this.sunsetOffset(t);return isNaN(n.getTime())?[void 0,void 0]:[n,e.formatTime(n,a)]}},{key:"tzeitTime",value:function(t,a){var n=this.tzeit(t);if(isNaN(n.getTime()))return[void 0,void 0];var r=e.roundTime(n);return[r,e.formatTime(r,a)]}}],[{key:"formatTime",value:function(e,t){var a=t.format(e),n=a.split(":");return"24"===n[0]?"00:"+n[1]:a}},{key:"roundTime",value:function(e){var t=e.getTime();if(isNaN(t))return e;var a=e.getMilliseconds(),n=e.getSeconds();if(0===n&&0===a)return e;var r=1e3*n+a;return new Date(t+(r>=3e4?6e4-r:-1*r))}},{key:"timeZoneOffset",value:function(e,t){var a=function(e,t){var a=eu("UTC",t),n=eu(e,t),r=new Date(a).getTime()-new Date(n).getTime();return Math.ceil(r/1e3/60)}(e,t),n=Math.abs(a),r=n%60;return(a<0?"+":"-")+au(Math.floor(n/60))+":"+au(r)}},{key:"formatISOWithTimeZone",value:function(t,a){return isNaN(a.getTime())?null:eu(t,a).substring(0,19)+e.timeZoneOffset(t,a)}}]),e}(),ru=Object.create(null),ou={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"},iu=Object.create(null);var uu=function(){function e(t,n,r,o,i,u,s){a(this,e);var h="number"==typeof t?t:parseFloat(t);if(isNaN(h)||h<-90||h>90)throw new RangeError("Latitude ".concat(t," out of range [-90,90]"));var c="number"==typeof n?n:parseFloat(n);if(isNaN(c)||c<-180||c>180)throw new RangeError("Longitude ".concat(n," out of range [-180,180]"));this.latitude=h,this.longitude=c,this.il=Boolean(r),this.tzid=o,this.name=i,this.cc=u,this.geoid=s}return r(e,[{key:"getLatitude",value:function(){return this.latitude}},{key:"getLongitude",value:function(){return this.longitude}},{key:"getIsrael",value:function(){return this.il}},{key:"getName",value:function(){return this.name}},{key:"getShortName",value:function(){var e=this.name;if(!e)return e;var 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)}},{key:"getCountryCode",value:function(){return this.cc}},{key:"getTzid",value:function(){return this.tzid}},{key:"getTimeFormatter",value:function(){return function(e){var t=iu[e];if(t)return t;var a=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return iu[e]=a,a}(this.tzid)}},{key:"getGeoId",value:function(){return this.geoid}},{key:"sunset",value:function(e){return new nu(e,this.getLatitude(),this.getLongitude()).sunset()}},{key:"tzeit",value:function(e,t){return new nu(e,this.getLatitude(),this.getLongitude()).tzeit(t)}},{key:"toString",value:function(){return JSON.stringify(this)}}],[{key:"lookup",value:function(e){return ru[e.toLowerCase()]}},{key:"legacyTzToTzid",value:function(e,t){if(e=+e,"none"==t)return 0==e?"UTC":"Etc/GMT".concat(e>0?"+":"").concat(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 ou[String(-1*e)]}},{key:"getUsaTzid",value:function(e,t,a){return 10==t&&"AK"==e?"America/Adak":7==t&&"AZ"==e?"Y"==a?"America/Denver":"America/Phoenix":ou[t]}},{key:"geonameCityDescr",value:function(e,t,a){"United States"==a&&(a="USA"),"United Kingdom"==a&&(a="UK");var n=e;return"Israel"!=a&&t&&0!=t.indexOf(e)&&(n+=", "+t),a&&(n+=", "+a),n}},{key:"addLocation",value:function(e,t){var a=e.toLowerCase();return!ru[a]&&(ru[a]=t,!0)}}]),e}();[["Ashdod","IL",31.79213,34.64966,"Asia/Jerusalem"],["Atlanta","US",33.749,-84.38798,"America/New_York"],["Austin","US",30.26715,-97.74306,"America/Chicago"],["Baghdad","IQ",33.34058,44.40088,"Asia/Baghdad"],["Beer Sheva","IL",31.25181,34.7913,"Asia/Jerusalem"],["Berlin","DE",52.52437,13.41053,"Europe/Berlin"],["Baltimore","US",39.29038,-76.61219,"America/New_York"],["Bogota","CO",4.60971,-74.08175,"America/Bogota"],["Boston","US",42.35843,-71.05977,"America/New_York"],["Budapest","HU",47.49801,19.03991,"Europe/Budapest"],["Buenos Aires","AR",-34.61315,-58.37723,"America/Argentina/Buenos_Aires"],["Buffalo","US",42.88645,-78.87837,"America/New_York"],["Chicago","US",41.85003,-87.65005,"America/Chicago"],["Cincinnati","US",39.162,-84.45689,"America/New_York"],["Cleveland","US",41.4995,-81.69541,"America/New_York"],["Dallas","US",32.78306,-96.80667,"America/Chicago"],["Denver","US",39.73915,-104.9847,"America/Denver"],["Detroit","US",42.33143,-83.04575,"America/Detroit"],["Eilat","IL",29.55805,34.94821,"Asia/Jerusalem"],["Gibraltar","GI",36.14474,-5.35257,"Europe/Gibraltar"],["Haifa","IL",32.81841,34.9885,"Asia/Jerusalem"],["Hawaii","US",21.30694,-157.85833,"Pacific/Honolulu"],["Helsinki","FI",60.16952,24.93545,"Europe/Helsinki"],["Houston","US",29.76328,-95.36327,"America/Chicago"],["Jerusalem","IL",31.76904,35.21633,"Asia/Jerusalem"],["Johannesburg","ZA",-26.20227,28.04363,"Africa/Johannesburg"],["Kiev","UA",50.45466,30.5238,"Europe/Kiev"],["La Paz","BO",-16.5,-68.15,"America/La_Paz"],["Livingston","US",40.79593,-74.31487,"America/New_York"],["Las Vegas","US",36.17497,-115.13722,"America/Los_Angeles"],["London","GB",51.50853,-.12574,"Europe/London"],["Los Angeles","US",34.05223,-118.24368,"America/Los_Angeles"],["Marseilles","FR",43.29695,5.38107,"Europe/Paris"],["Miami","US",25.77427,-80.19366,"America/New_York"],["Minneapolis","US",44.97997,-93.26384,"America/Chicago"],["Melbourne","AU",-37.814,144.96332,"Australia/Melbourne"],["Mexico City","MX",19.42847,-99.12766,"America/Mexico_City"],["Montreal","CA",45.50884,-73.58781,"America/Toronto"],["Moscow","RU",55.75222,37.61556,"Europe/Moscow"],["New York","US",40.71427,-74.00597,"America/New_York"],["Omaha","US",41.25861,-95.93779,"America/Chicago"],["Ottawa","CA",45.41117,-75.69812,"America/Toronto"],["Panama City","PA",8.9936,-79.51973,"America/Panama"],["Paris","FR",48.85341,2.3488,"Europe/Paris"],["Pawtucket","US",41.87871,-71.38256,"America/New_York"],["Petach Tikvah","IL",32.08707,34.88747,"Asia/Jerusalem"],["Philadelphia","US",39.95233,-75.16379,"America/New_York"],["Phoenix","US",33.44838,-112.07404,"America/Phoenix"],["Pittsburgh","US",40.44062,-79.99589,"America/New_York"],["Providence","US",41.82399,-71.41283,"America/New_York"],["Portland","US",45.52345,-122.67621,"America/Los_Angeles"],["Saint Louis","US",38.62727,-90.19789,"America/Chicago"],["Saint Petersburg","RU",59.93863,30.31413,"Europe/Moscow"],["San Diego","US",32.71533,-117.15726,"America/Los_Angeles"],["San Francisco","US",37.77493,-122.41942,"America/Los_Angeles"],["Sao Paulo","BR",-23.5475,-46.63611,"America/Sao_Paulo"],["Seattle","US",47.60621,-122.33207,"America/Los_Angeles"],["Sydney","AU",-33.86785,151.20732,"Australia/Sydney"],["Tel Aviv","IL",32.08088,34.78057,"Asia/Jerusalem"],["Tiberias","IL",32.79221,35.53124,"Asia/Jerusalem"],["Toronto","CA",43.70011,-79.4163,"America/Toronto"],["Vancouver","CA",49.24966,-123.11934,"America/Vancouver"],["White Plains","US",41.03399,-73.76291,"America/New_York"],["Washington DC","US",38.89511,-77.03637,"America/New_York"],["Worcester","US",42.26259,-71.80229,"America/New_York"]].forEach((function(e){var t=new uu(e[2],e[3],"IL"==e[1],e[4],e[0],e[1]);uu.addLocation(t.getName(),t)}));var su=5,hu=6;function cu(e,t,a,n,r){var o=!1,i=a==hu,u=e?e.getFlags():Ci.LIGHT_CANDLES;void 0!==e?a!=su&&(u&(Ci.LIGHT_CANDLES_TZEIS|Ci.CHANUKAH_CANDLES)?i=!0:u&Ci.YOM_TOV_ENDS&&(o=!0,i=!0)):a==hu&&(o=!0,u=Ci.LIGHT_CANDLES_TZEIS);var s=i?r.havdalahMins:r.candleLightingMins,h=new nu(t,n.getLatitude(),n.getLongitude()),c=s?h.sunsetOffset(s):h.tzeit(r.havdalahDeg);return isNaN(c.getTime())?null:o?new fu(t,u,c,n,r.havdalahMins,e):new vu(t,u,c,n,e)}var lu=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u,s){var h;a(this,n),(h=t.call(this,e,r,o)).eventTime=nu.roundTime(i),h.location=u;var c=u.getTimeFormatter();return h.eventTimeStr=nu.formatTime(h.eventTime,c),void 0!==s&&(h.linkedEvent=s),h}return r(n,[{key:"render",value:function(e){return ti.gettext(this.getDesc(),e)+": "+this.eventTimeStr}},{key:"renderBrief",value:function(e){return ti.gettext(this.getDesc(),e)}}]),n}(Hi),fu=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u,s){var h;return a(this,n),h=t.call(this,e,"Havdalah",r,o,i,s),u&&(h.havdalahMins=u),h}return r(n,[{key:"render",value:function(e){return this.renderBrief(e)+": "+this.eventTimeStr}},{key:"renderBrief",value:function(e){var t=ti.gettext(this.getDesc(),e);if(this.havdalahMins){var a=ti.gettext("min",e);t+=" (".concat(this.havdalahMins," ").concat(a,")")}return t}},{key:"getEmoji",value:function(){return"✨"}}]),n}(lu),vu=function(e){i(n,e);var t=c(n);function n(e,r,o,i,u){return a(this,n),t.call(this,e,"Candle lighting",r,o,i,u)}return r(n,[{key:"getEmoji",value:function(){return"🕯️"}}]),n}(lu);function du(e,t,a,n,r){return isNaN(t.getTime())?null:new lu(e,a,n.getFlags(),t,r,n)}var mu=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],yu=function(){function e(t,n){a(this,e);var r=n-7;r<0&&(r+=Ii.monthsInYear(t));var o=235*Math.floor((t-1)/19)+(t-1)%19*12+Math.floor(((t-1)%19*7+1)/19)+r,i=204+Math.floor(o%1080*793),u=5+12*o+793*Math.floor(o/1080)+Math.floor(i/1080)-6,s=(i%1080+u%24*1080)%1080,h=(1+29*o+Math.floor(u/24))%7;this.year=t,this.month=n,this.dow=h,this.hour=u%24,this.minutes=Math.floor(s/18),this.chalakim=s%18}return r(e,[{key:"getYear",value:function(){return this.year}},{key:"getMonth",value:function(){return this.month}},{key:"getMonthName",value:function(){return Ii.getMonthName(this.month,this.year)}},{key:"getDow",value:function(){return this.dow}},{key:"getHour",value:function(){return this.hour}},{key:"getMinutes",value:function(){return this.minutes}},{key:"getChalakim",value:function(){return this.chalakim}}]),e}(),gu=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;a(this,n);var u=new yu(r,o),s=u.getMonthName();return(i=t.call(this,e,"Molad ".concat(s," ").concat(r),Ci.MOLAD)).molad=u,i}return r(n,[{key:"render",value:function(e){var t=this.molad,a=t.getMonthName(),n=mu[t.getDow()],r=t.getMinutes(),o=t.getHour(),i=t.getChalakim();return"Molad ".concat(a,": ").concat(n,", ").concat(r," minutes and ").concat(i," chalakim after ").concat(o,":00")}}]),n}(Hi),ku=rr,bu=P,Su=dn,wu=m.RangeError,pu=String.fromCharCode,Au=String.fromCodePoint,Mu=bu([].join);ku({target:"String",stat:!0,arity:1,forced:!!Au&&1!=Au.length},{fromCodePoint:function(e){for(var t,a=[],n=arguments.length,r=0;n>r;){if(t=+arguments[r++],Su(t,1114111)!==t)throw wu(t+" is not a valid code point");a[r]=t<65536?pu(t):pu(55296+((t-=65536)>>10),t%1024+56320)}return Mu(a,"")}});var Iu="\t\n\v\f\r                 \u2028\u2029\ufeff",Du=Z,Tu=mo,Eu=P("".replace),Cu="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Hu=RegExp("^"+Cu+Cu+"*"),Ou=RegExp(Cu+Cu+"*$"),Nu=function(e){return function(t){var a=Tu(Du(t));return 1&e&&(a=Eu(a,Hu,"")),2&e&&(a=Eu(a,Ou,"")),a}},Lu={start:Nu(1),end:Nu(2),trim:Nu(3)},Bu=ha.PROPER,Pu=g,Yu=Iu,_u=Lu.trim;rr({target:"String",proto:!0,forced:function(e){return Pu((function(){return!!Yu[e]()||"​…᠎"!=="​…᠎"[e]()||Bu&&Yu[e].name!==e}))}("trim")},{trim:function(){return _u(this)}});var Ru=[null,"Lovingkindness","Might","Beauty","Eternity","Splendor","Foundation","Majesty"],ju=[null,"Chesed","Gevurah","Tiferet","Netzach","Hod","Yesod","Malkhut"],zu=function(e){i(n,e);var t=c(n);function n(e,r){var o;if(a(this,n),o=t.call(this,e,"Omer ".concat(r),Ci.OMER_COUNT,{omer:r}),r<1||r>49)throw new RangeError("Invalid Omer day ".concat(r));return o.weekNumber=Math.floor((r-1)/7)+1,o.daysWithinWeeks=r%7||7,o}return r(n,[{key:"sefira",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=Ru[this.weekNumber],a=Ru[this.daysWithinWeeks];switch(e){case"he":var n=ti.gettext(t,"he"),r=ti.gettext(a,"he"),o=2===this.weekNumber||6===this.weekNumber?"שֶׁבִּ":"שֶׁבְּ";return"".concat(r," ").concat(o).concat(n).normalize();case"translit":var i=ju[this.weekNumber],u=ju[this.daysWithinWeeks],s=2===this.weekNumber||6===this.weekNumber?"shebi":"sheb'";return"".concat(u," ").concat(s).concat(i);default:return"".concat(a," within ").concat(t)}}},{key:"render",value:function(e){var t=this.omer;return("he"==e?lo(t):ti.ordinal(t,e))+" "+ti.gettext("day of the Omer",e)}},{key:"renderBrief",value:function(e){return ti.gettext("Omer",e)+" "+ti.gettext("day",e)+" "+this.omer}},{key:"getEmoji",value:function(){if("string"==typeof this.emoji)return this.emoji;var e=this.omer;return e<=20?String.fromCodePoint(9312+e-1):e<=35?String.fromCodePoint(12881+e-21):String.fromCodePoint(12977+e-36)}},{key:"getWeeks",value:function(){return 7===this.daysWithinWeeks?this.weekNumber:this.weekNumber-1}},{key:"getDaysWithinWeeks",value:function(){return this.daysWithinWeeks}},{key:"getTodayIs",value:function(e){if("he"===e||"he"===e)return function(e){var t=Math.floor(e/10),a=e%10,n="הַיוֹם ";10<e&&e<20?n+=Fu[a]+" עָשָׂר":e>9&&(n+=Fu[a],a&&(n+=" וְ"));e>2?((e>20||10===e||20===e)&&(n+=Vu[t]),n+=e<11?Fu[a]+" "+"יָמִים ":" יוֹם "):n+=1===e?Ku+" ":xu+" ";if(e>6){n=n.trim(),n+=", שְׁהֵם ";var r=Math.floor(e/7),o=e%7;n+=r>2?Fu[r]+" "+Uu+" ":1==r?"שָׁבוּעַ "+Fu[1]+" ":"שְׁנֵי שָׁבוּעוֹת ",o&&(n+="וְ",n+=o>2?Fu[o]+" "+"יָמִים ":1==o?Ku+" ":xu+" ")}return(n+="לָעוֹמֶר").normalize()}(this.omer);var t=1===this.omer?"day":"days",a="Today is ".concat(this.omer," ").concat(t);if(this.weekNumber>1||7===this.omer){var n=7===this.daysWithinWeeks,r=n?this.weekNumber:this.weekNumber-1,o=1===r?"week":"weeks";if(a+=", which is ".concat(r," ").concat(o),!n){var i=1===this.daysWithinWeeks?"day":"days";a+=" and ".concat(this.daysWithinWeeks," ").concat(i)}}return a+" of the Omer"}},{key:"url",value:function(){return"https://www.hebcal.com/omer/".concat(this.getDate().getFullYear(),"/").concat(this.omer)}}]),n}(Hi),Vu=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],Fu=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָׁה","שִׁשָׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],xu="שְׁנֵי יָמִים",Uu="שָׁבוּעוֹת",Ku="יוֹם "+Fu[1];var Gu=new Date(1923,8,11),Zu=so.greg2abs(Gu),Wu=so.greg2abs(new Date(1975,5,24)),Ju=[["Berachot",64],["Shabbat",157],["Eruvin",105],["Pesachim",121],["Shekalim",22],["Yoma",88],["Sukkah",56],["Beitzah",40],["Rosh Hashana",35],["Taanit",31],["Megillah",32],["Moed Katan",29],["Chagigah",27],["Yevamot",122],["Ketubot",112],["Nedarim",91],["Nazir",66],["Sotah",49],["Gitin",90],["Kiddushin",82],["Baba Kamma",119],["Baba Metzia",119],["Baba Batra",176],["Sanhedrin",113],["Makkot",24],["Shevuot",49],["Avodah Zarah",76],["Horayot",14],["Zevachim",120],["Menachot",110],["Chullin",142],["Bechorot",61],["Arachin",34],["Temurah",34],["Keritot",28],["Meilah",22],["Kinnim",4],["Tamid",9],["Midot",5],["Niddah",73]].map((function(e){return{name:e[0],blatt:e[1]}}));var $u=function(){function e(t){a(this,e);var n,r,o="number"!=typeof t||isNaN(t)?so.isDate(t)?so.greg2abs(t):Ii.isHDate(t)?t.abs():function(e){throw new TypeError(e)}("non-date given to dafyomi: ".concat(t)):t;if(o<Zu)throw new RangeError("Date ".concat(t," too early; Daf Yomi cycle began on ").concat(Gu));o>=Wu?(n=8+(o-Wu)/2711,r=(o-Wu)%2711):(n=1+(o-Zu)/2702,r=(o-Zu)%2702);var i=0,u=0,s=-1;Ju[4].blatt=n<=7?13:22;for(var h=0;h<40;){if(s++,r<(i=i+Ju[h].blatt-1)){switch(u=Ju[h].blatt+1-(i-r),s){case 36:u+=21;break;case 37:u+=24;break;case 38:u+=32}h=41}h++}this.name=Ju[s].name,this.blatt=u}return r(e,[{key:"getBlatt",value:function(){return this.blatt}},{key:"getName",value:function(){return this.name}},{key:"render",value:function(e){return ti.gettext(this.name,e)+" "+this.blatt}}]),e}(),qu={Berachot:"Berakhot","Rosh Hashana":"Rosh Hashanah",Gitin:"Gittin","Baba Kamma":"Bava Kamma","Baba Metzia":"Bava Metzia","Baba Batra":"Bava Batra",Bechorot:"Bekhorot",Arachin:"Arakhin",Midot:"Middot",Shekalim:"Jerusalem_Talmud_Shekalim"},Xu=function(e){i(n,e);var t=c(n);function n(e){a(this,n);var r=new $u(e.greg());return t.call(this,e,r.render(),Ci.DAF_YOMI,{daf:r})}return r(n,[{key:"render",value:function(e){return ti.gettext("Daf Yomi",e)+": "+this.daf.render(e)}},{key:"renderBrief",value:function(e){return this.daf.render(e)}},{key:"url",value:function(){var e=this.daf,t=e.getName(),a=e.getBlatt();if("Kinnim"==t||"Midot"==t)return"https://www.dafyomi.org/index.php?masechta=meilah&daf=".concat(a,"a");var n=(qu[t]||t).replace(/ /g,"_");return"https://www.sefaria.org/".concat(n,".").concat(a,"a?lang=bi")}}]),n}(Hi),Qu=Ee,es=b,ts=P(P.bind),as=p,ns=Ft,rs=He,os=Ft,is=function(e,t,a){var n,r;ns(e);try{if(!(n=rs(e,"return"))){if("throw"===t)throw a;return a}n=as(n,e)}catch(e){r=!0,n=e}if("throw"===t)throw a;if(r)throw n;return ns(n),a},us={},ss=us,hs=ct("iterator"),cs=Array.prototype,ls=mr,fs=He,vs=us,ds=ct("iterator"),ms=function(e){if(null!=e)return fs(e,ds)||fs(e,"@@iterator")||vs[ls(e)]},ys=p,gs=Ee,ks=Ft,bs=Me,Ss=ms,ws=m.TypeError,ps=function(e,t){return Qu(e),void 0===t?e:es?ts(e,t):function(){return e.apply(t,arguments)}},As=p,Ms=Ke,Is=function(e,t,a,n){try{return n?t(os(a)[0],a[1]):t(a)}catch(t){is(e,"throw",t)}},Ds=function(e){return void 0!==e&&(ss.Array===e||cs[hs]===e)},Ts=Cr,Es=kn,Cs=Lr,Hs=function(e,t){var a=arguments.length<2?Ss(e):t;if(gs(a))return ks(ys(a,e));throw ws(bs(e)+" is not iterable")},Os=ms,Ns=m.Array,Ls=ct("iterator"),Bs=!1;try{var Ps=0,Ys={next:function(){return{done:!!Ps++}},return:function(){Bs=!0}};Ys[Ls]=function(){return this},Array.from(Ys,(function(){throw 2}))}catch(e){}var _s=function(e){var t=Ms(e),a=Ts(this),n=arguments.length,r=n>1?arguments[1]:void 0,o=void 0!==r;o&&(r=ps(r,n>2?arguments[2]:void 0));var i,u,s,h,c,l,f=Os(t),v=0;if(!f||this==Ns&&Ds(f))for(i=Es(t),u=a?new this(i):Ns(i);i>v;v++)l=o?r(t[v],v):t[v],Cs(u,v,l);else for(c=(h=Hs(t,f)).next,u=a?new this:[];!(s=As(c,h)).done;v++)l=o?Is(h,r,[s.value,v],!0):s.value,Cs(u,v,l);return u.length=v,u},Rs=function(e,t){if(!t&&!Bs)return!1;var a=!1;try{var n={};n[Ls]=function(){return{next:function(){return{done:a=!0}}}},e(n)}catch(e){}return a};rr({target:"Array",stat:!0,forced:!Rs((function(e){Array.from(e)}))},{from:_s});for(var js=function(){function e(t,n){a(this,e),t=+t;var r=Ii.longCheshvan(t),o=Ii.shortKislev(t),i=this.type=r&&!o?2:!r&&o?0:1;this.year=t;var u=new Ii(1,ai.TISHREI,t),s=u.abs(),h=this.roshHashanaDay=u.getDay()+1;this.firstSaturday=Ii.dayOnOrBefore(6,s+6);var c=this.leap=+Ii.isLeapYear(t);this.il=Boolean(n);var l="".concat(c).concat(h).concat(i);if(rh[l])this.key=l,this.theSedraArray=rh[l];else{var f=this.key=l+ +this.il;this.theSedraArray=rh[f]}if(!this.theSedraArray)throw new Error("improper sedra year type ".concat(this.key," calculated for ").concat(t))}return r(e,[{key:"get",value:function(e){return this.lookup(e).parsha}},{key:"getString",value:function(e,t){var a=this.get(e),n=t||ti.getLocaleName(),r=ti.gettext(a[0],n);2==a.length&&(r+=("he"==n?"־":"-")+ti.gettext(a[1],n));return ti.gettext("Parashat",n)+" "+r}},{key:"isParsha",value:function(e){return!this.lookup(e).chag}},{key:"find",value:function(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: ".concat(e));var t=this.theSedraArray.indexOf(e);return-1===t?null:new Ii(this.firstSaturday+7*t)}if("string"==typeof e){var a=Vs[e];if("number"==typeof a)return this.find(a);if(-1!==e.indexOf("-"))return this.find(e.split("-"));var n=this.theSedraArray.indexOf(e);return-1===n?null:new Ii(this.firstSaturday+7*n)}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]){var r=e[0],o=e[1],i=Vs[r];if(Vs[o]===i+1)return this.find(-i);throw new RangeError("Unrecognized parsha name: ".concat(r,"-").concat(o))}throw new TypeError("Invalid parsha argument: ".concat(e))}},{key:"getSedraArray",value:function(){return this.theSedraArray}},{key:"getFirstSaturday",value:function(){return this.firstSaturday}},{key:"getYear",value:function(){return this.year}},{key:"lookup",value:function(t){var a="number"==typeof t?t:Ii.isHDate(t)?t.abs():function(e){throw new TypeError(e)}("Bad date argument: ".concat(t)),n=Ii.dayOnOrBefore(6,a+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o)return new e(this.year+1,this.il).lookup(n);if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[zs[o]],chag:!1};var i=Us(o);return{parsha:[zs[i],zs[i+1]],chag:!1}}}]),e}(),zs=["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"],Vs={},Fs=0;Fs<zs.length;Fs++){var xs=zs[Fs];Vs[xs]=Fs}function Us(e){return-e}var Ks="Rosh Hashana",Gs="Yom Kippur",Zs="Sukkot",Ws="Sukkot Shabbat Chol ha-Moed",Js="Shmini Atzeret",$s=Ws,qs="Pesach",Xs="Pesach I",Qs="Pesach Shabbat Chol ha-Moed",eh="Pesach VII",th="Pesach VIII",ah="Shavuot";function nh(e,t){return Array.from({length:t-e+1},(function(t,a){return a+e}))}var rh={"020":[51,52].concat($s,nh(0,20),Us(21),23,24,qs,25,Us(26),Us(28),30,Us(31),nh(33,40),Us(41),nh(43,49),Us(50)),"0220":[51,52].concat($s,nh(0,20),Us(21),23,24,qs,25,Us(26),Us(28),30,Us(31),33,ah,nh(34,37),Us(38),40,Us(41),nh(43,49),Us(50)),"0510":[52].concat(Gs,$s,nh(0,20),Us(21),23,24,Xs,th,25,Us(26),Us(28),30,Us(31),nh(33,40),Us(41),nh(43,50)),"0511":[52].concat(Gs,$s,nh(0,20),Us(21),23,24,qs,25,Us(26),Us(28),nh(30,40),Us(41),nh(43,50)),"052":[52].concat(Gs,Ws,nh(0,24),eh,25,Us(26),Us(28),30,Us(31),nh(33,40),Us(41),nh(43,50)),"070":[].concat(Ks,52,Zs,Js,nh(0,20),Us(21),23,24,eh,25,Us(26),Us(28),30,Us(31),nh(33,40),Us(41),nh(43,50)),"072":[].concat(Ks,52,Zs,Js,nh(0,20),Us(21),23,24,Qs,25,Us(26),Us(28),30,Us(31),nh(33,40),Us(41),nh(43,49),Us(50)),1200:[51,52].concat(Ws,nh(0,27),Qs,nh(28,33),ah,nh(34,37),Us(38),40,Us(41),nh(43,49),Us(50)),1201:[51,52].concat(Ws,nh(0,27),Qs,nh(28,40),Us(41),nh(43,49),Us(50)),1220:[51,52].concat(Ws,nh(0,27),Xs,th,nh(28,40),Us(41),nh(43,50)),1221:[51,52].concat(Ws,nh(0,27),qs,nh(28,50)),150:[52].concat(Gs,Ws,nh(0,28),eh,nh(29,50)),152:[52].concat(Gs,Ws,nh(0,28),Qs,nh(29,49),Us(50)),170:[].concat(Ks,52,Zs,Js,nh(0,27),Qs,nh(28,40),Us(41),nh(43,49),Us(50)),1720:[].concat(Ks,52,Zs,Js,nh(0,27),Qs,nh(28,33),ah,nh(34,37),Us(38),40,Us(41),nh(43,49),Us(50))};rh["0221"]=rh["020"],rh["0310"]=rh["0220"],rh["0311"]=rh["020"],rh[1310]=rh[1220],rh[1311]=rh[1221],rh[1721]=rh[170];var oh=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;if(a(this,n),!Array.isArray(r)||0===r.length||r.length>2)throw new TypeError("Bad parsha argument");var u="Parashat "+r.join("-");return(i=t.call(this,e,u,Ci.PARSHA_HASHAVUA)).parsha=r,i.il=Boolean(o),i}return r(n,[{key:"render",value:function(e){var t=e||ti.getLocaleName(),a=this.parsha,n=ti.gettext(a[0],e);2==a.length&&(n+=("he"==t?"־":"-")+ti.gettext(a[1],e));return(ti.gettext("Parashat",e)+" "+n).normalize()}},{key:"basename",value:function(){return this.parsha.join("-")}},{key:"url",value:function(){if(!(this.getDate().greg().getFullYear()<100)){var e=this.urlDateSuffix(),t="https://www.hebcal.com/sedrot/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+e;return this.il?t+"?i=on":t}}},{key:"urlDateSuffix",value:function(){var e=this.getDate().greg().toISOString();return e.substring(0,e.indexOf("T")).replace(/-/g,"")}}]),n}(Hi),ih=function(e){i(n,e);var t=c(n);function n(e,r,o,i){return a(this,n),t.call(this,e,r,o,i)}return r(n,[{key:"basename",value:function(){return this.getDesc().replace(/ \d{4}$/,"").replace(/ \(CH''M\)$/,"").replace(/ \(observed\)$/,"").replace(/ \(Hoshana Raba\)$/,"").replace(/ [IV]+$/,"").replace(/: \d Candles?$/,"").replace(/: 8th Day$/,"").replace(/^Erev /,"")}},{key:"url",value:function(){if(!(this.getDate().greg().getFullYear()<100)){var e="https://www.hebcal.com/holidays/"+this.basename().toLowerCase().replace(/'/g,"").replace(/ /g,"-")+"-"+this.urlDateSuffix();return this.getFlags()&Ci.IL_ONLY?e+"?i=on":e}}},{key:"urlDateSuffix",value:function(){return this.getDate().greg().getFullYear()}},{key:"getEmoji",value:function(){return this.emoji?this.emoji:this.getFlags()&Ci.SPECIAL_SHABBAT?"🕍":"✡️"}}]),n}(Hi),uh="Rosh Chodesh",sh=function(e){i(n,e);var t=c(n);function n(e,r){return a(this,n),t.call(this,e,"".concat(uh," ").concat(r),Ci.ROSH_CHODESH)}return r(n,[{key:"render",value:function(e){var t=this.getDesc().substring(uh.length+1);return ti.gettext(uh,e)+" "+ti.gettext(t,e)}},{key:"basename",value:function(){return this.getDesc()}},{key:"getEmoji",value:function(){return this.emoji||"🌒"}}]),n}(ih),hh=function(e){i(n,e);var t=c(n);function n(e,r,o,i){return a(this,n),t.call(this,e,r,o,i)}return r(n,[{key:"urlDateSuffix",value:function(){var e=this.getDate().greg().toISOString();return e.substring(0,e.indexOf("T")).replace(/-/g,"")}}]),n}(ih),ch="Shabbat Mevarchim Chodesh",lh=function(e){i(n,e);var t=c(n);function n(e,r){var o;a(this,n),(o=t.call(this,e,"".concat(ch," ").concat(r),Ci.SHABBAT_MEVARCHIM)).monthName=r;var i=e.getFullYear(),u=e.getMonth(),s=u==Ii.monthsInYear(i)?ai.NISAN:u+1,h=new gu(e,i,s);return o.memo=h.render(),o}return r(n,[{key:"render",value:function(e){return ti.gettext(ch,e)+" "+ti.gettext(this.monthName,e)}}]),n}(Hi),fh=function(e){i(n,e);var t=c(n);function n(e,r,o){var i;return a(this,n),(i=t.call(this,e,"Rosh Hashana ".concat(r),o,{emoji:"🍏🍯"})).hyear=r,i}return r(n,[{key:"render",value:function(e){return ti.gettext("Rosh Hashana",e)+" "+this.hyear}}]),n}(ih),vh=ai.NISAN,dh=ai.IYYAR,mh=ai.SIVAN,yh=ai.TAMUZ,gh=ai.AV,kh=ai.ELUL,bh=ai.TISHREI,Sh=ai.CHESHVAN,wh=ai.KISLEV,ph=ai.TEVET,Ah=ai.SHVAT,Mh=ai.ADAR_I,Ih=ai.ADAR_II,Dh=Ci.CHAG,Th=Ci.LIGHT_CANDLES,Eh=Ci.YOM_TOV_ENDS,Ch=Ci.CHUL_ONLY,Hh=Ci.IL_ONLY,Oh=Ci.LIGHT_CANDLES_TZEIS,Nh=Ci.CHANUKAH_CANDLES,Lh=Ci.MINOR_FAST,Bh=Ci.SPECIAL_SHABBAT,Ph=Ci.MODERN_HOLIDAY,Yh=Ci.MAJOR_FAST,_h=Ci.MINOR_HOLIDAY,Rh=Ci.EREV,jh=Ci.CHOL_HAMOED,zh=function(){function e(){a(this,e)}return r(e,[{key:"has",value:function(e){return void 0!==this[e]}},{key:"get",value:function(e){return this[e]}},{key:"set",value:function(e,t){this[e]=t}},{key:"keys",value:function(){return Object.keys(this)}}]),e}(),Vh=new zh;function Fh(e,t){var a="".concat(e,"-").concat(t?1:0),n=Vh.get(a);return n||(n=new js(e,t),Vh.set(a,n)),n}var xh={emoji:"🇮🇱"},Uh="🕎",Kh="🫓",Gh={emoji:"⛰️🌸"},Zh="🌿🍋",Wh=Object.create(null);function Jh(e){if("number"!=typeof e)throw new TypeError("bad Hebrew year: ".concat(e));if(e<1||e>32658)throw new RangeError("Hebrew year ".concat(e," out of range 1-32658"));var t=Wh[e];if(t)return t;var a=new Ii(1,bh,e),n=new Ii(15,vh,e),r=new zh;function o(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];t.forEach((function(e){var t=e.date.toString();r.has(t)?r.get(t).push(e):r.set(t,[e])}))}function i(e,t){t.forEach((function(t){o(new ih(new Ii(t[0],t[1],e),t[2],t[3],t[4]))}))}o(new fh(a,e,Dh|Oh)),i(e,[[2,bh,"Rosh Hashana II",Dh|Eh,{emoji:"🍏🍯"}],[3+(4==a.getDay()),bh,"Tzom Gedaliah",Lh],[9,bh,"Erev Yom Kippur",Rh|Th]]),o(new ih(new Ii(Ii.dayOnOrBefore(6,7+a.abs())),"Shabbat Shuva",Bh)),i(e,[[10,bh,"Yom Kippur",Dh|Eh|Yh],[14,bh,"Erev Sukkot",Rh|Th|Ch,{emoji:Zh}],[15,bh,"Sukkot I",Dh|Oh|Ch,{emoji:Zh}],[16,bh,"Sukkot II",Dh|Eh|Ch,{emoji:Zh}],[17,bh,"Sukkot III (CH''M)",Ch|jh,{cholHaMoedDay:1,emoji:Zh}],[18,bh,"Sukkot IV (CH''M)",Ch|jh,{cholHaMoedDay:2,emoji:Zh}],[19,bh,"Sukkot V (CH''M)",Ch|jh,{cholHaMoedDay:3,emoji:Zh}],[20,bh,"Sukkot VI (CH''M)",Ch|jh,{cholHaMoedDay:4,emoji:Zh}],[14,bh,"Erev Sukkot",Rh|Th|Hh,{emoji:Zh}],[15,bh,"Sukkot I",Dh|Eh|Hh,{emoji:Zh}],[16,bh,"Sukkot II (CH''M)",Hh|jh,{cholHaMoedDay:1,emoji:Zh}],[17,bh,"Sukkot III (CH''M)",Hh|jh,{cholHaMoedDay:2,emoji:Zh}],[18,bh,"Sukkot IV (CH''M)",Hh|jh,{cholHaMoedDay:3,emoji:Zh}],[19,bh,"Sukkot V (CH''M)",Hh|jh,{cholHaMoedDay:4,emoji:Zh}],[20,bh,"Sukkot VI (CH''M)",Hh|jh,{cholHaMoedDay:5,emoji:Zh}],[21,bh,"Sukkot VII (Hoshana Raba)",Th|jh,{cholHaMoedDay:-1,emoji:Zh}],[22,bh,"Shmini Atzeret",Dh|Oh|Ch],[22,bh,"Shmini Atzeret",Dh|Eh|Hh],[23,bh,"Simchat Torah",Dh|Eh|Ch]]),o(new ih(new Ii(24,wh,e),"Chanukah: 1 Candle",Rh|_h|Nh,{emoji:Uh+Oi[1]}));for(var u=2;u<=8;u++){var s=new Ii(23+u,wh,e);o(new ih(s,"Chanukah: ".concat(u," Candles"),_h|Nh,{chanukahDay:u-1,emoji:Uh+Oi[u]}))}o(new ih(new Ii(32,wh,e),"Chanukah: 8th Day",_h,{chanukahDay:8,emoji:Uh})),o(new hh(new Ii(10,ph,e),"Asara B'Tevet",Lh),new ih(new Ii(15,Ah,e),"Tu BiShvat",_h,{emoji:"🌳"}));var h,c=n.abs();if(o(new ih(new Ii(Ii.dayOnOrBefore(6,c-43)),"Shabbat Shekalim",Bh),new ih(new Ii(Ii.dayOnOrBefore(6,c-30)),"Shabbat Zachor",Bh),new ih(new Ii(c-(2==n.getDay()?33:31)),"Ta'anit Esther",Lh)),i(e,[[13,Ih,"Erev Purim",Rh|_h,{emoji:"🎭️📜"}],[14,Ih,"Purim",_h,{emoji:"🎭️📜"}]]),o(new ih(new Ii(c-(0==n.getDay()?28:29)),"Shushan Purim",_h,{emoji:"🎭️📜"}),new ih(new Ii(Ii.dayOnOrBefore(6,c-14)-7),"Shabbat Parah",Bh),new ih(new Ii(Ii.dayOnOrBefore(6,c-14)),"Shabbat HaChodesh",Bh),new ih(new Ii(Ii.dayOnOrBefore(6,c-1)),"Shabbat HaGadol",Bh),new ih(6==n.prev().getDay()?n.onOrBefore(4):new Ii(14,vh,e),"Ta'anit Bechorot",Lh)),i(e,[[14,vh,"Erev Pesach",Rh|Th|Hh,{emoji:"🫓🍷"}],[15,vh,"Pesach I",Dh|Eh|Hh,{emoji:Kh}],[16,vh,"Pesach II (CH''M)",Hh|jh,{cholHaMoedDay:1,emoji:Kh}],[17,vh,"Pesach III (CH''M)",Hh|jh,{cholHaMoedDay:2,emoji:Kh}],[18,vh,"Pesach IV (CH''M)",Hh|jh,{cholHaMoedDay:3,emoji:Kh}],[19,vh,"Pesach V (CH''M)",Hh|jh,{cholHaMoedDay:4,emoji:Kh}],[20,vh,"Pesach VI (CH''M)",Th|Hh|jh,{cholHaMoedDay:5,emoji:Kh}],[21,vh,"Pesach VII",Dh|Eh|Hh,{emoji:Kh}],[14,vh,"Erev Pesach",Rh|Th|Ch,{emoji:"🫓🍷"}],[15,vh,"Pesach I",Dh|Oh|Ch,{emoji:"🫓🍷"}],[16,vh,"Pesach II",Dh|Eh|Ch,{emoji:Kh}],[17,vh,"Pesach III (CH''M)",Ch|jh,{cholHaMoedDay:1,emoji:Kh}],[18,vh,"Pesach IV (CH''M)",Ch|jh,{cholHaMoedDay:2,emoji:Kh}],[19,vh,"Pesach V (CH''M)",Ch|jh,{cholHaMoedDay:3,emoji:Kh}],[20,vh,"Pesach VI (CH''M)",Th|Ch|jh,{cholHaMoedDay:4,emoji:Kh}],[21,vh,"Pesach VII",Dh|Oh|Ch,{emoji:Kh}],[22,vh,"Pesach VIII",Dh|Eh|Ch,{emoji:Kh}],[14,dh,"Pesach Sheni",_h],[18,dh,"Lag BaOmer",_h,{emoji:"🔥"}],[5,mh,"Erev Shavuot",Rh|Th|Hh,Gh],[6,mh,"Shavuot",Dh|Eh|Hh,Gh],[5,mh,"Erev Shavuot",Rh|Th|Ch,Gh],[6,mh,"Shavuot I",Dh|Oh|Ch,Gh],[7,mh,"Shavuot II",Dh|Eh|Ch,Gh],[15,gh,"Tu B'Av",_h,{emoji:"❤️"}],[1,kh,"Rosh Hashana LaBehemot",_h,{emoji:"🐑"}]]),o(new ih(new Ii(Ii.dayOnOrBefore(6,new Ii(1,bh,e+1).abs()-4)),"Leil Selichot",_h,{emoji:"🕍"})),o(new ih(new Ii(29,kh,e),"Erev Rosh Hashana",Rh|Th,{emoji:"🍏🍯"})),Ii.isLeapYear(e)&&o(new ih(new Ii(14,Mh,e),"Purim Katan",_h,{emoji:"🎭️"})),e>=5711){var l=new Ii(27,vh,e);5==l.getDay()?l=new Ii(26,vh,e):0==l.getDay()&&(l=new Ii(28,vh,e)),o(new ih(l,"Yom HaShoah",Ph))}e>=5708&&(h=0==n.getDay()?2:6==n.getDay()?3:e<5764?4:2==n.getDay()?5:4,o(new ih(new Ii(h,dh,e),"Yom HaZikaron",Ph,xh),new ih(new Ii(h+1,dh,e),"Yom HaAtzma'ut",Ph,xh)));e>=5727&&o(new ih(new Ii(28,dh,e),"Yom Yerushalayim",Ph,xh)),e>=5769&&o(new ih(new Ii(29,Sh,e),"Sigd",Ph)),e>=5777&&o(new ih(new Ii(7,Sh,e),"Yom HaAliyah School Observance",Ph,xh),new ih(new Ii(10,vh,e),"Yom HaAliyah",Ph,xh));var f,v=new Ii(17,yh,e);6==v.getDay()&&(v=new Ii(18,yh,e),f={observed:!0}),o(new ih(v,"Tzom Tammuz",Lh,f));var d,m=new Ii(9,gh,e),y="Tish'a B'Av";6==m.getDay()&&(m=m.next(),d={observed:!0},y+=" (observed)");var g=m.abs();o(new ih(new Ii(Ii.dayOnOrBefore(6,g)),"Shabbat Chazon",Bh),new ih(m.prev(),"Erev Tish'a B'Av",Rh|Yh,d),new ih(m,y,Yh,d),new ih(new Ii(Ii.dayOnOrBefore(6,g+7)),"Shabbat Nachamu",Bh));for(var k=Ii.monthsInYear(e),b=1;b<=k;b++){var S=Ii.getMonthName(b,e);if(30==(b==vh?Ii.daysInMonth(Ii.monthsInYear(e-1),e-1):Ii.daysInMonth(b-1,e))?(o(new sh(new Ii(1,b,e),S)),o(new sh(new Ii(30,b-1,e),S))):b!==bh&&o(new sh(new Ii(1,b,e),S)),b!=kh){var w=Ii.getMonthName(b+1,e);o(new lh(new Ii(29,b,e).onOrBefore(6),w))}}var p=Fh(e,!1).find(15);return o(new ih(p,"Shabbat Shirah",Bh)),Wh[e]=r,r}var $h=[{k:"Berakhot",v:[5,8,6,7,5,8,5,8,5]},{k:"Peah",v:[6,8,8,11,8,11,8,9]},{k:"Demai",v:[4,5,6,7,11,12,8]},{k:"Kilayim",v:[9,11,7,9,8,9,8,6,10]},{k:"Sheviit",v:[8,10,10,10,9,6,7,11,9,9]},{k:"Terumot",v:[10,6,9,13,9,6,7,12,7,12,10]},{k:"Maasrot",v:[8,8,10,6,8]},{k:"Maaser Sheni",v:[7,10,13,12,15]},{k:"Challah",v:[9,8,10,11]},{k:"Orlah",v:[9,17,9]},{k:"Bikkurim",v:[11,11,12,5]},{k:"Shabbat",v:[11,7,6,2,4,10,4,7,7,6,6,6,7,4,3,8,8,3,6,5,3,6,5,5]},{k:"Eruvin",v:[10,6,9,11,9,10,11,11,4,15]},{k:"Pesachim",v:[7,8,8,9,10,6,13,8,11,9]},{k:"Shekalim",v:[7,5,4,9,6,6,7,8]},{k:"Yoma",v:[8,7,11,6,7,8,5,9]},{k:"Sukkah",v:[11,9,15,10,8]},{k:"Beitzah",v:[10,10,8,7,7]},{k:"Rosh Hashanah",v:[9,9,8,9]},{k:"Taanit",v:[7,10,9,8]},{k:"Megillah",v:[11,6,6,10]},{k:"Moed Katan",v:[10,5,9]},{k:"Chagigah",v:[8,7,8]},{k:"Yevamot",v:[4,10,10,13,6,6,6,6,6,9,7,6,13,9,10,7]},{k:"Ketubot",v:[10,10,9,12,9,7,10,8,9,6,6,4,11]},{k:"Nedarim",v:[4,5,11,8,6,10,9,7,10,8,12]},{k:"Nazir",v:[7,10,7,7,7,11,4,2,5]},{k:"Sotah",v:[9,6,8,5,5,4,8,7,15]},{k:"Gittin",v:[6,7,8,9,9,7,9,10,10]},{k:"Kiddushin",v:[10,10,13,14]},{k:"Bava Kamma",v:[4,6,11,9,7,6,7,7,12,10]},{k:"Bava Metzia",v:[8,11,12,12,11,8,11,9,13,6]},{k:"Bava Batra",v:[6,14,8,9,11,8,4,8,10,8]},{k:"Sanhedrin",v:[6,5,8,5,5,6,11,7,6,6,6]},{k:"Makkot",v:[10,8,16]},{k:"Shevuot",v:[7,5,11,13,5,7,8,6]},{k:"Eduyot",v:[14,10,12,12,7,3,9,7]},{k:"Avodah Zarah",v:[9,7,10,12,12]},{k:"Avot",v:[18,16,18,22,23,11]},{k:"Horayot",v:[5,7,8]},{k:"Zevachim",v:[4,5,6,6,8,7,6,12,7,8,8,6,8,10]},{k:"Menachot",v:[4,5,7,5,9,7,6,7,9,9,9,5,11]},{k:"Chullin",v:[7,10,7,7,5,7,6,6,8,4,2,5]},{k:"Bekhorot",v:[7,9,4,10,6,12,7,10,8]},{k:"Arakhin",v:[4,6,5,4,6,5,5,7,8]},{k:"Temurah",v:[6,3,5,4,6,5,6]},{k:"Keritot",v:[7,6,10,3,8,9]},{k:"Meilah",v:[4,9,8,6,5,6]},{k:"Tamid",v:[4,5,9,3,6,3,4]},{k:"Middot",v:[9,6,8,7,4]},{k:"Kinnim",v:[4,5,6]},{k:"Kelim",v:[9,8,8,4,11,4,6,11,8,8,9,8,8,8,6,8,17,9,10,7,3,10,5,17,9,9,12,10,8,4]},{k:"Oholot",v:[8,7,7,3,7,7,6,6,16,7,9,8,6,7,10,5,5,10]},{k:"Negaim",v:[6,5,8,11,5,8,5,10,3,10,12,7,12,13]},{k:"Parah",v:[4,5,11,4,9,5,12,11,9,6,9,11]},{k:"Tahorot",v:[9,8,8,13,9,10,9,9,9,8]},{k:"Mikvaot",v:[8,10,4,5,6,11,7,5,7,8]},{k:"Niddah",v:[7,7,7,7,9,14,5,4,11,8]},{k:"Makhshirin",v:[6,11,8,10,11,8]},{k:"Zavim",v:[6,4,3,7,12]},{k:"Tevul Yom",v:[5,8,6,7]},{k:"Yadayim",v:[5,4,5,8]},{k:"Oktzin",v:[6,10,12]}],qh=new Date(1947,4,20),Xh=so.greg2abs(qh),Qh=2096;var ec=function(){function e(){a(this,e);var t,n=Array(4192),r=0,o=f($h);try{for(o.s();!(t=o.n()).done;)for(var i=t.value,u=i.v,s=1;s<=u.length;s++)for(var h=u[s-1],c=1;c<=h;c++)n[r++]={k:i.k,v:"".concat(s,":").concat(c)}}catch(e){o.e(e)}finally{o.f()}for(var l=Array(Qh),v=0;v<Qh;v++){var d=2*v;l[v]=[n[d],n[d+1]]}this.days=l}return r(e,[{key:"lookup",value:function(e){var t="number"!=typeof e||isNaN(e)?so.isDate(e)?so.greg2abs(e):Ii.isHDate(e)?e.abs():function(e){throw new TypeError(e)}("Invalid date: ".concat(e)):e;if(t<Xh){var a=e.toISOString().substring(0,10);throw new RangeError("Date ".concat(a," too early; Mishna Yomi cycle began on 1947-05-20"))}var n=(t-Xh)%Qh;return this.days[n]}}]),e}();function tc(e,t){var a=e[0].k,n=e[0].v,r=ti.gettext(a,t)+" "+n,o=e[1].k,i=e[1].v;if(a!==o)return r+"-"+ti.gettext(o,t)+" "+i;var u=n.split(":"),s=i.split(":");return u[0]===s[0]?r+"-"+s[1]:r+"-"+i}var ac=function(e){i(n,e);var t=c(n);function n(e,r){return a(this,n),t.call(this,e,tc(r,null),Ci.MISHNA_YOMI,{mishnaYomi:r})}return r(n,[{key:"render",value:function(e){return tc(this.mishnaYomi,e)}},{key:"url",value:function(){var e=this.mishnaYomi,t=e[0].k,a="Avot"===t?"Pirkei":"Mishnah",n=t.replace(/ /g,"_"),r="https://www.sefaria.org/".concat(a,"_").concat(n),o=e[0].v;if(t!==e[1].k){var i=o.replace(":",".");return"".concat(r,".").concat(i,"?lang=bi")}var u=e[1].v,s=o.split(":"),h=u.split(":"),c=s.join("."),l=s[0]===h[0]?h[1]:h.join(".");return"".concat(r,".").concat(c,"-").concat(l,"?lang=bi")}}]),n}(Hi),nc=ai.NISAN,rc=ai.CHESHVAN,oc=ai.KISLEV,ic=ai.TEVET,uc=ai.SHVAT,sc=ai.ADAR_I,hc=ai.ADAR_II;var cc="3.38.0",lc={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"},contexts:{"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"]}}};ti.addLocale("ashkenazi",lc),ti.addLocale("a",lc);var fc={headers:{"plural-forms":"nplurals=2; plural=(n > 1);",language:"he_IL"},contexts:{"":{Berachot:["ברכות"],Shabbat:["שַׁבָּת"],Eruvin:["עירובין"],Pesachim:["פסחים"],Shekalim:["שקלים"],Yoma:["יומא"],Sukkah:["סוכה"],Beitzah:["ביצה"],Taanit:["תענית"],Megillah:["מגילה"],"Moed Katan":["מועד קטן"],Chagigah:["חגיגה"],Yevamot:["יבמות"],Ketubot:["כתובות"],Nedarim:["נדרים"],Nazir:["נזיר"],Sotah:["סוטה"],Gitin:["גיטין"],Kiddushin:["קידושין"],"Baba Kamma":["בבא קמא"],"Baba Metzia":["בבא מציעא"],"Baba Batra":["בבא בתרא"],Sanhedrin:["סנהדרין"],Makkot:["מכות"],Shevuot:["שבועות"],"Avodah Zarah":["עבודה זרה"],Horayot:["הוריות"],Zevachim:["זבחים"],Menachot:["מנחות"],Chullin:["חולין"],Bechorot:["בכורות"],Arachin:["ערכין"],Temurah:["תמורה"],Keritot:["כריתות"],Meilah:["מעילה"],Kinnim:["קינים"],Tamid:["תמיד"],Midot:["מדות"],Niddah:["נדה"],"Daf Yomi: %s %d":["דף יומי: %s %d"],"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 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":["שַׁבָּת שִׁירָה"],chatzotNight:["חֲצוֹת הַלַיְלָה"],alotHaShachar:["עֲלוֹת הַשַּׁחַר"],misheyakir:["משיכיר - זמן ציצית ותפילין"],misheyakirMachmir:["משיכיר - זמן ציצית ותפילין"],neitzHaChama:["הַנֵץ הַחַמָּה"],sofZmanShma:["סוֹף זְמַן קְרִיאַת שְׁמַע גר״א"],sofZmanTfilla:["סוֹף זְמַן תְּפִלָּה גר״א"],chatzot:["חֲצוֹת הַיּוֹם"],minchaGedola:["מִנְחָה גְּדוֹלָה"],minchaKetana:["מִנְחָה קְטַנָּה"],plagHaMincha:["פְּלַג הַמִּנְחָה"],shkiah:["שְׁקִיעָה"],"Nightfall - End of ordained fasts":["לַיְלָה - גמר תעניות דרבנן"],tzeit:["צֵאת כוכבים"],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":["חֲנוּכָּה יוֹם ח׳"],Berakhot:["ברכות"],Peah:["פאה"],Demai:["דמאי"],Kilayim:["כלאים"],Sheviit:["שביעית"],Terumot:["תרומות"],Maasrot:["מעשרות"],"Maaser Sheni":["מעשר שני"],Challah:["חלה"],Orlah:["ערלה"],Bikkurim:["ביכורים"],"Rosh Hashanah":["ראש השנה"],Gittin:["גיטין"],"Bava Kamma":["בבא קמא"],"Bava Metzia":["בבא מציעא"],"Bava Batra":["בבא בתרא"],Eduyot:["עדיות"],Avot:["אבות"],Bekhorot:["בכורות"],Arakhin:["ערכין"],Middot:["מדות"],Kelim:["כלים"],Oholot:["אהלות"],Negaim:["נגעים"],Parah:["פרה"],Tahorot:["טהרות"],Mikvaot:["מקואות"],Makhshirin:["מכשירין"],Zavim:["זבים"],"Tevul Yom":["טבול יום"],Yadayim:["ידים"],Oktzin:["עוקצים"]}}};ti.addLocale("he",fc),ti.addLocale("h",fc);var vc=fc.contexts[""],dc={};Object.keys(vc).forEach((function(e){dc[e]=[ti.hebrewStripNikkud(vc[e][0])]}));var mc="he-x-NoNikud",yc={headers:{"plural-forms":"nplurals=2; plural=(n!=1);",language:mc},contexts:{"":dc}};ti.addLocale(mc,yc);var gc=ai.NISAN,kc=ai.SIVAN,bc=ai.ELUL,Sc=ai.TISHREI,wc=Ci.LIGHT_CANDLES,pc=Ci.YOM_TOV_ENDS,Ac=Ci.CHUL_ONLY,Mc=Ci.IL_ONLY,Ic=Ci.LIGHT_CANDLES_TZEIS,Dc=Ci.CHANUKAH_CANDLES,Tc=Ci.MINOR_FAST,Ec=Ci.SPECIAL_SHABBAT,Cc=Ci.MODERN_HOLIDAY,Hc=Ci.MAJOR_FAST,Oc=Ci.ROSH_CHODESH,Nc=Ci.PARSHA_HASHAVUA,Lc=Ci.DAF_YOMI,Bc=Ci.OMER_COUNT,Pc=Ci.SHABBAT_MEVARCHIM,Yc=Ci.MINOR_HOLIDAY,_c=Ci.EREV,Rc=Ci.CHOL_HAMOED,jc=Object.create(null),zc={location:1,year:1,isHebrewYear:1,month:1,numYears:1,start:1,end:1,candlelighting:1,candleLightingMins:1,havdalahMins:1,havdalahDeg:1,sedrot:1,il:1,noMinorFast:1,noModern:1,shabbatMevarchim:1,noRoshChodesh:1,noSpecialShabbat:1,noHolidays:1,dafyomi:1,mishnaYomi:1,omer:1,molad:1,ashkenazi:1,locale:1,addHebrewDates:1,addHebrewDatesForEvents:1,appendHebrewToSubject:1,mask:1,userMask:1};function Vc(e){Object.keys(e).forEach((function(e){void 0!==zc[e]||jc[e]||(console.warn("Ignoring unrecognized HebrewCalendar option: ".concat(e)),jc[e]=!0)}))}function Fc(e,t){return Object.keys(t).forEach((function(a){return e[a]=t[a]})),e}function xc(e){if(e.candlelighting){if(void 0===e.location||!e.location instanceof uu)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");var t=parseInt(e.candleLightingMins,10)||18;e.location&&e.location.getIsrael()&&"Jerusalem"===e.location.getShortName()&&18===Math.abs(t)&&(t=40),e.candleLightingMins=-1*Math.abs(t),"number"==typeof e.havdalahMins?e.havdalahMins=Math.abs(e.havdalahMins):"number"==typeof e.havdalahDeg?e.havdalahDeg=Math.abs(e.havdalahDeg):e.havdalahDeg=8.5}}function Uc(e){if("number"==typeof e)return e;if(so.isDate(e))return so.greg2abs(e);if(Ii.isHDate(e))return e.abs();throw new TypeError("Invalid date type: ".concat(e))}function Kc(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[Uc(e.start),Uc(e.end)];var t=Boolean(e.isHebrewYear),a=void 0!==e.year?parseInt(e.year,10):t?(new Ii).getFullYear():(new Date).getFullYear();if(isNaN(a))throw new RangeError("Invalid year ".concat(e.year));if(t&&a<1)throw new RangeError("Invalid Hebrew year ".concat(a));if(0==a)throw new RangeError("Invalid Gregorian year ".concat(a));var n=NaN;e.month&&(n=t?Ii.monthNum(e.month):e.month);var r=parseInt(e.numYears,10)||1;if(t){var o=new Ii(1,n||Sc,a),i=o.abs(),u=e.month?i+o.daysInMonth():new Ii(1,Sc,a+r).abs()-1;return n||i--,[i,u]}var s=e.month?n-1:0,h=new Date(a,s,1);a<100&&h.setFullYear(a);var c,l=so.greg2abs(h);if(e.month)c=l+so.daysInMonth(n,a)-1;else{var f=a+r,v=new Date(f,0,1);f<100&&v.setFullYear(f),c=so.greg2abs(v)-1}return[l,c]}function Gc(e){if("number"==typeof e.mask){var t=e.mask;return t&Oc&&delete e.noRoshChodesh,t&Cc&&delete e.noModern,t&Tc&&delete e.noMinorFast,t&Ec&&delete e.noSpecialShabbat,t&Nc&&(e.sedrot=!0),t&Lc&&(e.dafyomi=!0),t&Bc&&(e.omer=!0),t&Pc&&(e.shabbatMevarchim=!0),t&Ci.MISHNA_YOMI&&(e.mishnaYomi=!0),e.userMask=!0,t}var a=e.il||e.location&&e.location.il||!1,n=0;return e.noHolidays||(n|=Oc|pc|Tc|Ec|Cc|Hc|Yc|_c|Rc|wc|Ic|Dc),e.candlelighting&&(n|=wc|Ic),e.noRoshChodesh&&(n&=~Oc),e.noModern&&(n&=~Cc),e.noMinorFast&&(n&=~Tc),e.noSpecialShabbat&&(n&=~Ec,n&=~Pc),n|=a?Mc:Ac,e.sedrot&&(n|=Nc),e.dafyomi&&(n|=Lc),e.mishnaYomi&&(n|=Ci.MISHNA_YOMI),e.omer&&(n|=Bc),e.shabbatMevarchim&&(n|=Pc),n}var Zc=wc|Ic|Dc|pc,Wc=new uu(0,0,!1,"UTC"),Jc={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 $c(e){return e.observedInIsrael()}function qc(e){return e.observedInDiaspora()}var Xc=function(){function e(){a(this,e)}return r(e,null,[{key:"calendar",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};xc(t=Fc({},t));var a=t.location=t.location||Wc,n=t.il=t.il||a.il||!1;if(t.mask=Gc(t),t.ashkenazi||t.locale){if(t.locale&&"string"!=typeof t.locale)throw new TypeError("Invalid options.locale: ".concat(t.locale));var r=t.ashkenazi?"ashkenazi":t.locale,o=ti.useLocale(r);if(!o)throw new TypeError("Locale '".concat(r,"' not found; did you forget to import @hebcal/locales?"))}else ti.useLocale("en");var i,u,s,h,c=[],l=-1,f=Kc(t);Vc(t);var v,d=f[0],m=f[1],y=so.abs2greg(d);y.getFullYear()<100&&(t.candlelighting=!1),t.mishnaYomi&&(v=new ec);for(var g=function(r){var o=new Ii(r),f=o.getFullYear();f!=l&&(l=f,u=e.getHolidaysForYear(l),t.sedrot&&l>=3762&&(i=Fh(l,n)),t.omer&&(s=Ii.hebrew2abs(l,gc,16),h=Ii.hebrew2abs(l,kc,5)));var d=c.length,m=o.getDay(),y=void 0;if((u.get(o.toString())||[]).forEach((function(e){y=Qc(c,e,t,y,m)})),t.sedrot&&6==m&&f>=3762){var g=i.lookup(r);g.chag||c.push(new oh(o,g.parsha,n))}if(t.dafyomi&&f>=5684&&c.push(new Xu(o)),t.mishnaYomi&&r>=Xh){var k=v.lookup(r);c.push(new ac(o,k))}if(t.omer&&r>=s&&r<=h){var b=new zu(o,r-s+1);if(t.candlelighting){var S=new nu(o.prev(),a.getLatitude(),a.getLongitude()).tzeit(7.0833);isNaN(S.getTime())||(b.alarm=S)}c.push(b)}var w=o.getMonth();if(t.molad&&6==m&&w!=bc&&o.getDate()>=23&&o.getDate()<=29){var p=w==Ii.monthsInYear(f)?gc:w+1;c.push(new gu(o,f,p))}if(y||!t.candlelighting||5!=m&&6!=m||(y=cu(void 0,o,m,a,t),5===m&&y&&i&&(y.memo=i.getString(r))),y instanceof fu&&(0===t.havdalahMins||0===t.havdalahDeg)&&(y=null),y&&c.push(y),t.addHebrewDates||t.addHebrewDatesForEvents&&d!=c.length){var A=new Ni(o);d==c.length?c.push(A):c.splice(d,0,A)}},k=d;k<=m;k++)g(k);return c}},{key:"getBirthdayOrAnniversary",value:function(e,t){return function(e,t){var a=Ii.isHDate(t)?t:new Ii(t),n=a.getFullYear();if(!(e<=n)){var r=ci(n),o=a.getMonth(),i=a.getDate();return o==sc&&!r||o==hc&&r?o=li(e):o!=rc||30!=i||yi(e)?o==oc&&30==i&&gi(e)?(o=ic,i=1):o==sc&&30==i&&r&&!ci(e)&&(o=nc,i=1):(o=oc,i=1),new Ii(i,o,e)}}(e,t)}},{key:"getYahrzeit",value:function(e,t){return function(e,t){var a=Ii.isHDate(t)?t:new Ii(t),n={yy:a.getFullYear(),mm:a.getMonth(),dd:a.getDate()};if(!(e<=n.yy))return n.mm!=rc||30!=n.dd||yi(n.yy+1)?n.mm==oc&&30==n.dd&&gi(n.yy+1)?n=hi(ui(e,ic,1)-1):n.mm==hc?n.mm=li(e):n.mm!=sc||30!=n.dd||ci(e)||(n.dd=30,n.mm=uc):n=hi(ui(e,oc,1)-1),n.mm!=rc||30!=n.dd||yi(e)?n.mm==oc&&30==n.dd&&gi(e)&&(n.mm=ic,n.dd=1):(n.mm=oc,n.dd=1),new Ii(n.dd,n.mm,e)}(e,t)}},{key:"getHolidaysForYear",value:function(e){return Jh(e)}},{key:"getHolidaysForYearArray",value:function(e,t){for(var a=Jh(e),n=Ii.hebrew2abs(e,Sc,1),r=Ii.hebrew2abs(e+1,Sc,1)-1,o=[],i=t?$c:qc,u=n;u<=r;u++){var s=new Ii(u),h=a.get(s.toString());if(h){var c=h.filter(i);o=o.concat(c)}}return o}},{key:"getHolidaysOnDate",value:function(e,t){var a=Ii.isHDate(e)?e:new Ii(e),n=Jh(a.getFullYear()).get(a.toString());if(void 0===t||void 0===n)return n;var r=t?$c:qc;return n.filter(r)}},{key:"reformatTimeStr",value:function(e,t,a){if("string"!=typeof e)throw new TypeError("Bad timeStr: ".concat(e));var n=a.location&&a.location.cc||(a.il?"IL":"US");if(void 0===Jc[n])return e;var r=e.split(":"),o=parseInt(r[0],10);return o<12&&t?t=t.replace("p","a").replace("P","A"):o>12&&(o%=12),"".concat(o,":").concat(r[1]).concat(t)}},{key:"version",value:function(){return cc}},{key:"getSedra",value:function(e,t){return Fh(e,t)}}]),e}();function Qc(e,t,a,n,r){var o=t.getFlags(),i=a.il,u=i&&t.observedInIsrael()||!i&&t.observedInDiaspora(),s=a.mask;if(u&&(o&s||!o&&!a.userMask)){var h=a.location;if(a.candlelighting&&o&Zc){var c=t.getDate();if(n=cu(t,c,r,h,a),o&Dc&&n&&!a.noHolidays){var l=5===r||6===r?n:function(e,t,a){var n=new nu(t.greg(),a.getLatitude(),a.getLongitude());return du(t,n.dusk(),e.getDesc(),e,a)}(t,c,h),f={eventTime:l.eventTime,eventTimeStr:l.eventTimeStr,location:h};t.chanukahDay&&(f.chanukahDay=t.chanukahDay),t.emoji&&(f.emoji=t.emoji),t=new ih(t.getDate(),t.getDesc(),o,f),n=void 0}}a.noHolidays||(a.candlelighting&&o&(Tc|Hc)&&(t=function(e,t){var a=e.getDesc();if("Yom Kippur"===a)return e;var n=(e=e.clone()).getDate(),r=n.greg(),o=new nu(r,t.getLatitude(),t.getLongitude());if("Erev Tish'a B'Av"===a){var i=o.sunset();e.startEvent=du(n,i,"Fast begins",e,t)}else if("Tish'a B'Av"===a.substring(0,11))e.endEvent=du(n,o.tzeit(7.083),"Fast ends",e,t);else{var u=o.alotHaShachar();e.startEvent=du(n,u,"Fast begins",e,t),5===r.getDay()||14===n.getDate()&&n.getMonth()===ai.NISAN||(e.endEvent=du(n,o.tzeit(7.083),"Fast ends",e,t))}return e}(t,h)),t.startEvent&&e.push(t.startEvent),e.push(t),t.endEvent&&e.push(t.endEvent))}return n}return e.AsaraBTevetEvent=hh,e.CandleLightingEvent=vu,e.DafYomi=$u,e.DafYomiEvent=Xu,e.Event=Hi,e.HDate=Ii,e.HavdalahEvent=fu,e.HebrewCalendar=Xc,e.HebrewDateEvent=Ni,e.HolidayEvent=ih,e.Locale=ti,e.Location=uu,e.MevarchimChodeshEvent=lh,e.MishnaYomiEvent=ac,e.MishnaYomiIndex=ec,e.Molad=yu,e.MoladEvent=gu,e.OmerEvent=zu,e.ParshaEvent=oh,e.RoshChodeshEvent=sh,e.RoshHashanaEvent=fh,e.Sedra=js,e.TimedEvent=lu,e.Zmanim=nu,e.flags=Ci,e.gematriya=lo,e.greg=so,e.months=ai,e.parshiot=zs,e.version=cc,Object.defineProperty(e,"__esModule",{value:!0}),e}({});