@hebcal/rest-api 4.3.11 → 4.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v4.3.11 */
1
+ /*! @hebcal/rest-api v4.3.12 */
2
2
  var hebcal__rest_api = (function (exports, core, leyning, triennial) {
3
3
  'use strict';
4
4
 
@@ -4262,6 +4262,26 @@ function makeTorahMemoText(ev, il) {
4262
4262
  return memo;
4263
4263
  }
4264
4264
 
4265
+ /**
4266
+ * @private
4267
+ * @param {Event} ev
4268
+ * @param {boolean} il
4269
+ * @return {string}
4270
+ */
4271
+ function makeMemo(ev, il) {
4272
+ if (ev.getFlags() & core.flags.PARSHA_HASHAVUA) {
4273
+ try {
4274
+ const memo = makeTorahMemoText(ev, il);
4275
+ if (memo) {
4276
+ return memo;
4277
+ }
4278
+ } catch (err) {
4279
+ // fallthru
4280
+ }
4281
+ }
4282
+ return ev.memo || holidayDescription[ev.basename()];
4283
+ }
4284
+
4265
4285
  /**
4266
4286
  * Appends utm_source and utm_medium parameters to a URL
4267
4287
  * @param {string} url
@@ -4728,7 +4748,7 @@ function eventToRssItem2(ev, options) {
4728
4748
  subj = subj.substring(0, colon) + ': ' + time;
4729
4749
  }
4730
4750
  } else {
4731
- memo = ev.getFlags() & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
4751
+ memo = makeMemo(ev, il);
4732
4752
  }
4733
4753
  const dayFormat = options.dayFormat;
4734
4754
  const description = memo || dayFormat.format(evDate);
@@ -4769,7 +4789,7 @@ function eventToFullCalendar(ev, tzid, il) {
4769
4789
  const desc = ev.getDesc();
4770
4790
  const candles = desc === 'Havdalah' || desc === 'Candle lighting';
4771
4791
  if (!candles) {
4772
- const memo = mask & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
4792
+ const memo = makeMemo(ev, il);
4773
4793
  if (memo) {
4774
4794
  result.description = memo;
4775
4795
  } else if (typeof ev.linkedEvent !== 'undefined') {
@@ -4795,6 +4815,7 @@ exports.getHolidayDescription = getHolidayDescription;
4795
4815
  exports.holidayDescription = holidayDescription;
4796
4816
  exports.locationToPlainObj = locationToPlainObj;
4797
4817
  exports.makeAnchor = makeAnchor;
4818
+ exports.makeMemo = makeMemo;
4798
4819
  exports.makeTorahMemoText = makeTorahMemoText;
4799
4820
  exports.pad2 = pad2;
4800
4821
  exports.pad4 = pad4;
@@ -1,2 +1,2 @@
1
- /*! @hebcal/rest-api v4.3.11 */
2
- var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},g={},m={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!m.call({1:2},1);g.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:m;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,H=A.call,R=w&&A.bind.bind(H,H),T=w?R:function(e){return function(){return H.apply(e,arguments)}},C=T,P=C({}.toString),I=C("".slice),M=function(e){return I(P(e),8,-1)},O=h,E=M,L=Object,k=T("".split),B=O((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?k(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},x=B,j=N,_=function(e){return x(j(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te=Q("navigator","userAgent")||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,ge=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},me=String,pe=function(e){try{return me(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,He=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,Te=K,Ce=q,Pe=TypeError,Ie={},Me={get exports(){return Ie},set exports(e){Ie=e}},Oe=i,Ee=Object.defineProperty,Le=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},ke=Le,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,xe=function(e){return Ne(Fe(e))},je=xe,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(je(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=i,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=Ie("wks"),et=qe.Symbol,tt=et&&et.for,rt=Qe?et:et&&et.withoutSetter||Ze,nt=function(e){if(!Ve(Xe,e)||!$e&&"string"!=typeof Xe[e]){var t="Symbol."+e;$e&&Ve(et,e)?Xe[e]=et[e]:Xe[e]=Qe&&tt?tt(t):rt(t)}return Xe[e]},at=d,ot=q,it=ge,st=He,ht=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw Pe("Can't convert object to primitive value")},ct=TypeError,lt=nt("toPrimitive"),ut=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,lt);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw ct("Can't convert object to primitive value")}return void 0===t&&(t="number"),ht(e,t)},ft=ge,dt=function(e){var t=ut(e,"string");return ft(t)?t:t+""},gt=q,mt=i.document,pt=gt(mt)&&gt(mt.createElement),yt=function(e){return pt?mt.createElement(e):{}},bt=yt,vt=!c&&!h((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),St=c,wt=d,At=g,Ht=S,Rt=_,Tt=dt,Ct=Ge,Pt=vt,It=Object.getOwnPropertyDescriptor;s.f=St?It:function(e,t){if(e=Rt(e),t=Tt(t),Pt)try{return It(e,t)}catch(e){}if(Ct(e,t))return Ht(!wt(At.f,e,t),e[t])};var Mt={},Ot=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Et=q,Lt=String,kt=TypeError,Bt=function(e){if(Et(e))return e;throw kt(Lt(e)+" is not an object")},Dt=c,Ut=vt,Ft=Ot,Nt=Bt,xt=dt,jt=TypeError,_t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",zt="configurable",Kt="writable";Mt.f=Dt?Ft?function(e,t,r){if(Nt(e),t=xt(t),Nt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r.writable){var n=Gt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:zt in r?r.configurable:n.configurable,enumerable:Yt in r?r.enumerable:n.enumerable,writable:!1})}return _t(e,t,r)}:_t:function(e,t,r){if(Nt(e),t=xt(t),Nt(r),Ut)try{return _t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=Mt,Wt=S,qt=c?function(e,t,r){return Jt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},Vt={},Zt={get exports(){return Vt},set exports(e){Vt=e}},$t=c,Qt=Ge,Xt=Function.prototype,er=$t&&Object.getOwnPropertyDescriptor,tr=Qt(Xt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!$t||$t&&er(Xt,"name").configurable)},nr=K,ar=De,or=T(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,hr,cr=ar.inspectSource,lr=K,ur=i.WeakMap,fr=lr(ur)&&/native code/.test(String(ur)),dr=We,gr=Ie("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=fr,br=i,vr=q,Sr=qt,wr=Ge,Ar=De,Hr=mr,Rr=pr,Tr="Object already initialized",Cr=br.TypeError,Pr=br.WeakMap;if(yr||Ar.state){var Ir=Ar.state||(Ar.state=new Pr);Ir.get=Ir.get,Ir.has=Ir.has,Ir.set=Ir.set,ir=function(e,t){if(Ir.has(e))throw Cr(Tr);return t.facade=e,Ir.set(e,t),t},sr=function(e){return Ir.get(e)||{}},hr=function(e){return Ir.has(e)}}else{var Mr=Hr("state");Rr[Mr]=!0,ir=function(e,t){if(wr(e,Mr))throw Cr(Tr);return t.facade=e,Sr(e,Mr,t),t},sr=function(e){return wr(e,Mr)?e[Mr]:{}},hr=function(e){return wr(e,Mr)}}var Or={set:ir,get:sr,has:hr,enforce:function(e){return hr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!vr(t)||(r=sr(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Er=h,Lr=K,kr=Ge,Br=c,Dr=rr.CONFIGURABLE,Ur=cr,Fr=Or.enforce,Nr=Or.get,xr=Object.defineProperty,jr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),_r=String(String).split("String"),Gr=Zt.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!kr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),jr&&r&&kr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&kr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return kr(n,"source")||(n.source=_r.join("string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Nr(this).source||Ur(this)}),"toString");var Yr=K,zr=Mt,Kr=Vt,Jr=Le,Wr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Yr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:zr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},qr={},Vr=Math.ceil,Zr=Math.floor,$r=Math.trunc||function(e){var t=+e;return(t>0?Zr:Vr)(t)},Qr=function(e){var t=+e;return t!=t||0===t?0:$r(t)},Xr=Qr,en=Math.max,tn=Math.min,rn=function(e,t){var r=Xr(e);return r<0?en(r+t,0):tn(r,t)},nn=Qr,an=Math.min,on=function(e){return e>0?an(nn(e),9007199254740991):0},sn=on,hn=function(e){return sn(e.length)},cn=_,ln=rn,un=hn,fn=function(e){return function(t,r,n){var a,o=cn(t),i=un(o),s=ln(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},dn={includes:fn(!0),indexOf:fn(!1)},gn=Ge,mn=_,pn=dn.indexOf,yn=pr,bn=T([].push),vn=function(e,t){var r,n=mn(e),a=0,o=[];for(r in n)!gn(yn,r)&&gn(n,r)&&bn(o,r);for(;t.length>a;)gn(n,r=t[a++])&&(~pn(o,r)||bn(o,r));return o},Sn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wn=vn,An=Sn.concat("length","prototype");qr.f=Object.getOwnPropertyNames||function(e){return wn(e,An)};var Hn={};Hn.f=Object.getOwnPropertySymbols;var Rn=Q,Tn=qr,Cn=Hn,Pn=Bt,In=T([].concat),Mn=Rn("Reflect","ownKeys")||function(e){var t=Tn.f(Pn(e)),r=Cn.f;return r?In(t,r(e)):t},On=Ge,En=Mn,Ln=s,kn=Mt,Bn=h,Dn=K,Un=/#|\.prototype\./,Fn=function(e,t){var r=xn[Nn(e)];return r==_n||r!=jn&&(Dn(t)?Bn(t):!!t)},Nn=Fn.normalize=function(e){return String(e).replace(Un,".").toLowerCase()},xn=Fn.data={},jn=Fn.NATIVE="N",_n=Fn.POLYFILL="P",Gn=Fn,Yn=i,zn=s.f,Kn=qt,Jn=Wr,Wn=Le,qn=function(e,t,r){for(var n=En(t),a=kn.f,o=Ln.f,i=0;i<n.length;i++){var s=n[i];On(e,s)||r&&On(r,s)||a(e,s,o(t,s))}},Vn=Gn,Zn=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Yn:c?Yn[s]||Wn(s,{}):(Yn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=zn(r,n))&&i.value:r[n],!Vn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;qn(o,a)}(e.sham||a&&a.sham)&&Kn(o,"sham",!0),Jn(r,n,o,e)}},$n={};$n[nt("toStringTag")]="z";var Qn="[object z]"===String($n),Xn=K,ea=M,ta=nt("toStringTag"),ra=Object,na="Arguments"==ea(function(){return arguments}()),aa=Qn?ea:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ra(e),ta))?r:na?ea(t):"Object"==(n=ea(t))&&Xn(t.callee)?"Arguments":n},oa=aa,ia=String,sa=function(e){if("Symbol"===oa(e))throw TypeError("Cannot convert a Symbol value to a string");return ia(e)},ha=Bt,ca=function(){var e=ha(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},la=h,ua=i.RegExp,fa=la((function(){var e=ua("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),da=fa||la((function(){return!ua("a","y").sticky})),ga={BROKEN_CARET:fa||la((function(){var e=ua("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:da,UNSUPPORTED_Y:fa},ma={},pa=vn,ya=Sn,ba=Object.keys||function(e){return pa(e,ya)},va=c,Sa=Ot,wa=Mt,Aa=Bt,Ha=_,Ra=ba;ma.f=va&&!Sa?Object.defineProperties:function(e,t){Aa(e);for(var r,n=Ha(t),a=Ra(t),o=a.length,i=0;o>i;)wa.f(e,r=a[i++],n[r]);return e};var Ta,Ca=Q("document","documentElement"),Pa=Bt,Ia=ma,Ma=Sn,Oa=pr,Ea=Ca,La=yt,ka=mr("IE_PROTO"),Ba=function(){},Da=function(e){return"<script>"+e+"</"+"script>"},Ua=function(e){e.write(Da("")),e.close();var t=e.parentWindow.Object;return e=null,t},Fa=function(){try{Ta=new ActiveXObject("htmlfile")}catch(e){}var e,t;Fa="undefined"!=typeof document?document.domain&&Ta?Ua(Ta):((t=La("iframe")).style.display="none",Ea.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Da("document.F=Object")),e.close(),e.F):Ua(Ta);for(var r=Ma.length;r--;)delete Fa.prototype[Ma[r]];return Fa()};Oa[ka]=!0;var Na,xa,ja=Object.create||function(e,t){var r;return null!==e?(Ba.prototype=Pa(e),r=new Ba,Ba.prototype=null,r[ka]=e):r=Fa(),void 0===t?r:Ia.f(r,t)},_a=h,Ga=i.RegExp,Ya=_a((function(){var e=Ga(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),za=h,Ka=i.RegExp,Ja=za((function(){var e=Ka("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Wa=d,qa=T,Va=sa,Za=ca,$a=ga,Qa=ja,Xa=Or.get,eo=Ya,to=Ja,ro=Ie("native-string-replace",String.prototype.replace),no=RegExp.prototype.exec,ao=no,oo=qa("".charAt),io=qa("".indexOf),so=qa("".replace),ho=qa("".slice),co=(xa=/b*/g,Wa(no,Na=/a/,"a"),Wa(no,xa,"a"),0!==Na.lastIndex||0!==xa.lastIndex),lo=$a.BROKEN_CARET,uo=void 0!==/()??/.exec("")[1];(co||uo||lo||eo||to)&&(ao=function(e){var t,r,n,a,o,i,s,h=this,c=Xa(h),l=Va(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Wa(ao,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=lo&&h.sticky,g=Wa(Za,h),m=h.source,p=0,y=l;if(d&&(g=so(g,"y",""),-1===io(g,"g")&&(g+="g"),y=ho(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==oo(l,h.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),uo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),co&&(n=h.lastIndex),a=Wa(no,d?r:h,y),d?a?(a.input=ho(a.input,p),a[0]=ho(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:co&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),uo&&a&&a.length>1&&Wa(ro,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=Qa(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Zn({target:"RegExp",proto:!0,forced:/./.exec!==ao},{exec:ao});var fo=yt("span").classList,go=fo&&fo.constructor&&fo.constructor.prototype,mo=go===Object.prototype?void 0:go,po=nt,yo=ja,bo=Mt.f,vo=po("unscopables"),So=Array.prototype;null==So[vo]&&bo(So,vo,{configurable:!0,value:yo(null)});var wo,Ao,Ho,Ro={},To=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Co=Ge,Po=K,Io=xe,Mo=To,Oo=mr("IE_PROTO"),Eo=Object,Lo=Eo.prototype,ko=Mo?Eo.getPrototypeOf:function(e){var t=Io(e);if(Co(t,Oo))return t[Oo];var r=t.constructor;return Po(r)&&t instanceof r?r.prototype:t instanceof Eo?Lo:null},Bo=h,Do=K,Uo=q,Fo=ko,No=Wr,xo=nt("iterator"),jo=!1;[].keys&&("next"in(Ho=[].keys())?(Ao=Fo(Fo(Ho)))!==Object.prototype&&(wo=Ao):jo=!0);var _o=!Uo(wo)||Bo((function(){var e={};return wo[xo].call(e)!==e}));_o&&(wo={}),Do(wo[xo])||No(wo,xo,(function(){return this}));var Go={IteratorPrototype:wo,BUGGY_SAFARI_ITERATORS:jo},Yo=Mt.f,zo=Ge,Ko=nt("toStringTag"),Jo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!zo(e,Ko)&&Yo(e,Ko,{configurable:!0,value:t})},Wo=Go.IteratorPrototype,qo=ja,Vo=S,Zo=Jo,$o=Ro,Qo=function(){return this},Xo=function(e,t,r,n){var a=t+" Iterator";return e.prototype=qo(Wo,{next:Vo(+!n,r)}),Zo(e,a,!1),$o[a]=Qo,e},ei=K,ti=String,ri=TypeError,ni=T,ai=Bt,oi=function(e){if("object"==typeof e||ei(e))return e;throw ri("Can't set "+ti(e)+" as a prototype")},ii=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ni(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ai(r),oi(n),t?e(r,n):r.__proto__=n,r}}():void 0),si=Zn,hi=d,ci=K,li=Xo,ui=ko,fi=ii,di=Jo,gi=qt,mi=Wr,pi=Ro,yi=rr.PROPER,bi=rr.CONFIGURABLE,vi=Go.IteratorPrototype,Si=Go.BUGGY_SAFARI_ITERATORS,wi=nt("iterator"),Ai="keys",Hi="values",Ri="entries",Ti=function(){return this},Ci=function(e,t,r,n,a,o,i){li(r,t,n);var s,h,c,l=function(e){if(e===a&&m)return m;if(!Si&&e in d)return d[e];switch(e){case Ai:case Hi:case Ri:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,g=d[wi]||d["@@iterator"]||a&&d[a],m=!Si&&g||l(a),p="Array"==t&&d.entries||g;if(p&&(s=ui(p.call(new e)))!==Object.prototype&&s.next&&(ui(s)!==vi&&(fi?fi(s,vi):ci(s[wi])||mi(s,wi,Ti)),di(s,u,!0)),yi&&a==Hi&&g&&g.name!==Hi&&(bi?gi(d,"name",Hi):(f=!0,m=function(){return hi(g,this)})),a)if(h={values:l(Hi),keys:o?m:l(Ai),entries:l(Ri)},i)for(c in h)(Si||f||!(c in d))&&mi(d,c,h[c]);else si({target:t,proto:!0,forced:Si||f},h);return d[wi]!==m&&mi(d,wi,m,{name:a}),pi[t]=m,h},Pi=function(e,t){return{value:e,done:t}},Ii=_,Mi=function(e){So[vo][e]=!0},Oi=Ro,Ei=Or,Li=Mt.f,ki=Ci,Bi=Pi,Di=c,Ui="Array Iterator",Fi=Ei.set,Ni=Ei.getterFor(Ui),xi=ki(Array,"Array",(function(e,t){Fi(this,{type:Ui,target:Ii(e),index:0,kind:t})}),(function(){var e=Ni(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Bi(void 0,!0)):Bi("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),ji=Oi.Arguments=Oi.Array;if(Mi("keys"),Mi("values"),Mi("entries"),Di&&"values"!==ji.name)try{Li(ji,"name",{value:"values"})}catch(e){}var _i=i,Gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Yi=mo,zi=xi,Ki=qt,Ji=nt,Wi=Ji("iterator"),qi=Ji("toStringTag"),Vi=zi.values,Zi=function(e,t){if(e){if(e[Wi]!==Vi)try{Ki(e,Wi,Vi)}catch(t){e[Wi]=Vi}if(e[qi]||Ki(e,qi,t),Gi[t])for(var r in zi)if(e[r]!==zi[r])try{Ki(e,r,zi[r])}catch(t){e[r]=zi[r]}}};for(var $i in Gi)Zi(_i[$i]&&_i[$i].prototype,$i);Zi(Yi,"DOMTokenList");var Qi=T,Xi=Qr,es=sa,ts=N,rs=Qi("".charAt),ns=Qi("".charCodeAt),as=Qi("".slice),os=function(e){return function(t,r){var n,a,o=es(ts(t)),i=Xi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ns(o,i))<55296||n>56319||i+1===s||(a=ns(o,i+1))<56320||a>57343?e?rs(o,i):n:e?as(o,i,i+2):a-56320+(n-55296<<10)+65536}},is={codeAt:os(!1),charAt:os(!0)},ss=is.charAt,hs=sa,cs=Or,ls=Ci,us=Pi,fs="String Iterator",ds=cs.set,gs=cs.getterFor(fs);ls(String,"String",(function(e){ds(this,{type:fs,string:hs(e),index:0})}),(function(){var e,t=gs(this),r=t.string,n=t.index;return n>=r.length?us(void 0,!0):(e=ss(r,n),t.index+=e.length,us(e,!1))}));var ms=h,ps=nt("iterator"),ys=!ms((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ps]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),bs=M,vs=T,Ss=function(e){if("Function"===bs(e))return vs(e)},ws=Se,As=l,Hs=Ss(Ss.bind),Rs=function(e,t){return ws(e),void 0===t?e:As?Hs(e,t):function(){return e.apply(t,arguments)}},Ts=Vt,Cs=Mt,Ps=X,Is=TypeError,Ms=function(e,t){if(Ps(t,e))return e;throw Is("Incorrect invocation")},Os=c,Es=T,Ls=d,ks=h,Bs=ba,Ds=Hn,Us=g,Fs=xe,Ns=B,xs=Object.assign,js=Object.defineProperty,_s=Es([].concat),Gs=!xs||ks((function(){if(Os&&1!==xs({b:1},xs(js({},"a",{enumerable:!0,get:function(){js(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=xs({},e)[r]||Bs(xs({},t)).join("")!=n}))?function(e,t){for(var r=Fs(e),n=arguments.length,a=1,o=Ds.f,i=Us.f;n>a;)for(var s,h=Ns(arguments[a++]),c=o?_s(Bs(h),o(h)):Bs(h),l=c.length,u=0;l>u;)s=c[u++],Os&&!Ls(i,h,s)||(r[s]=h[s]);return r}:xs,Ys=d,zs=Bt,Ks=He,Js=Bt,Ws=function(e,t,r){var n,a;zs(e);try{if(!(n=Ks(e,"return"))){if("throw"===t)throw r;return r}n=Ys(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return zs(n),r},qs=Ro,Vs=nt("iterator"),Zs=Array.prototype,$s=T,Qs=h,Xs=K,eh=aa,th=cr,rh=function(){},nh=[],ah=Q("Reflect","construct"),oh=/^\s*(?:class|function)\b/,ih=$s(oh.exec),sh=!oh.exec(rh),hh=function(e){if(!Xs(e))return!1;try{return ah(rh,nh,e),!0}catch(e){return!1}},ch=function(e){if(!Xs(e))return!1;switch(eh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return sh||!!ih(oh,th(e))}catch(e){return!0}};ch.sham=!0;var lh=!ah||Qs((function(){var e;return hh(hh.call)||!hh(Object)||!hh((function(){e=!0}))||e}))?ch:hh,uh=dt,fh=Mt,dh=S,gh=function(e,t,r){var n=uh(t);n in e?fh.f(e,n,dh(0,r)):e[n]=r},mh=aa,ph=He,yh=D,bh=Ro,vh=nt("iterator"),Sh=function(e){if(!yh(e))return ph(e,vh)||ph(e,"@@iterator")||bh[mh(e)]},wh=d,Ah=Se,Hh=Bt,Rh=pe,Th=Sh,Ch=TypeError,Ph=function(e,t){var r=arguments.length<2?Th(e):t;if(Ah(r))return Hh(wh(r,e));throw Ch(Rh(e)+" is not iterable")},Ih=Rs,Mh=d,Oh=xe,Eh=function(e,t,r,n){try{return n?t(Js(r)[0],r[1]):t(r)}catch(t){Ws(e,"throw",t)}},Lh=function(e){return void 0!==e&&(qs.Array===e||Zs[Vs]===e)},kh=lh,Bh=hn,Dh=gh,Uh=Ph,Fh=Sh,Nh=Array,xh=rn,jh=hn,_h=gh,Gh=Array,Yh=Math.max,zh=function(e,t,r){for(var n=jh(e),a=xh(t,n),o=xh(void 0===r?n:r,n),i=Gh(Yh(o-a,0)),s=0;a<o;a++,s++)_h(i,s,e[a]);return i.length=s,i},Kh=T,Jh=2147483647,Wh=/[^\0-\u007E]/,qh=/[.\u3002\uFF0E\uFF61]/g,Vh="Overflow: input needs wider integers to process",Zh=RangeError,$h=Kh(qh.exec),Qh=Math.floor,Xh=String.fromCharCode,ec=Kh("".charCodeAt),tc=Kh([].join),rc=Kh([].push),nc=Kh("".replace),ac=Kh("".split),oc=Kh("".toLowerCase),ic=function(e){return e+22+75*(e<26)},sc=function(e,t,r){var n=0;for(e=r?Qh(e/700):e>>1,e+=Qh(e/t);e>455;)e=Qh(e/35),n+=36;return Qh(n+36*e/(e+38))},hc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=ec(e,r++);if(a>=55296&&a<=56319&&r<n){var o=ec(e,r++);56320==(64512&o)?rc(t,((1023&a)<<10)+(1023&o)+65536):(rc(t,a),r--)}else rc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&rc(t,Xh(n));var h=t.length,c=h;for(h&&rc(t,"-");c<a;){var l=Jh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>Qh((Jh-i)/u))throw Zh(Vh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Jh)throw Zh(Vh);if(n==o){for(var f=i,d=36;;){var g=d<=s?1:d>=s+26?26:d-s;if(f<g)break;var m=f-g,p=36-g;rc(t,Xh(ic(g+m%p))),f=Qh(m/p),d+=36}rc(t,Xh(ic(f))),s=sc(i,u,c==h),i=0,c++}}i++,o++}return tc(t,"")},cc=TypeError,lc=function(e,t){if(e<t)throw cc("Not enough arguments");return e},uc=Wr,fc=zh,dc=Math.floor,gc=function(e,t){var r=e.length,n=dc(r/2);return r<8?mc(e,t):pc(e,gc(fc(e,0,n),t),gc(fc(e,n),t),t)},mc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},pc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},yc=Zn,bc=i,vc=d,Sc=T,wc=c,Ac=ys,Hc=Wr,Rc=function(e,t,r){for(var n in t)uc(e,n,t[n],r);return e},Tc=Jo,Cc=Xo,Pc=Or,Ic=Ms,Mc=K,Oc=Ge,Ec=Rs,Lc=aa,kc=Bt,Bc=q,Dc=sa,Uc=ja,Fc=S,Nc=Ph,xc=Sh,jc=lc,_c=gc,Gc=nt("iterator"),Yc="URLSearchParams",zc="URLSearchParamsIterator",Kc=Pc.set,Jc=Pc.getterFor(Yc),Wc=Pc.getterFor(zc),qc=Object.getOwnPropertyDescriptor,Vc=function(e){if(!wc)return bc[e];var t=qc(bc,e);return t&&t.value},Zc=Vc("fetch"),$c=Vc("Request"),Qc=Vc("Headers"),Xc=$c&&$c.prototype,el=Qc&&Qc.prototype,tl=bc.RegExp,rl=bc.TypeError,nl=bc.decodeURIComponent,al=bc.encodeURIComponent,ol=Sc("".charAt),il=Sc([].join),sl=Sc([].push),hl=Sc("".replace),cl=Sc([].shift),ll=Sc([].splice),ul=Sc("".split),fl=Sc("".slice),dl=/\+/g,gl=Array(4),ml=function(e){return gl[e-1]||(gl[e-1]=tl("((?:%[\\da-f]{2}){"+e+"})","gi"))},pl=function(e){try{return nl(e)}catch(t){return e}},yl=function(e){var t=hl(e,dl," "),r=4;try{return nl(t)}catch(e){for(;r;)t=hl(t,ml(r--),pl);return t}},bl=/[!'()~]|%20/g,vl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Sl=function(e){return vl[e]},wl=function(e){return hl(al(e),bl,Sl)},Al=Cc((function(e,t){Kc(this,{type:zc,iterator:Nc(Jc(e).entries),kind:t})}),"Iterator",(function(){var e=Wc(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Hl=function(e){this.entries=[],this.url=null,void 0!==e&&(Bc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===ol(e,0)?fl(e,1):e:Dc(e)))};Hl.prototype={type:Yc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=xc(e);if(h)for(r=(t=Nc(e,h)).next;!(n=vc(r,t)).done;){if(o=(a=Nc(kc(n.value))).next,(i=vc(o,a)).done||(s=vc(o,a)).done||!vc(o,a).done)throw rl("Expected sequence with length 2");sl(this.entries,{key:Dc(i.value),value:Dc(s.value)})}else for(var c in e)Oc(e,c)&&sl(this.entries,{key:c,value:Dc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=ul(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=ul(t,"="),sl(this.entries,{key:yl(cl(r)),value:yl(il(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],sl(r,wl(e.key)+"="+wl(e.value));return il(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Rl=function(){Ic(this,Tl);var e=arguments.length>0?arguments[0]:void 0;Kc(this,new Hl(e))},Tl=Rl.prototype;if(Rc(Tl,{append:function(e,t){jc(arguments.length,2);var r=Jc(this);sl(r.entries,{key:Dc(e),value:Dc(t)}),r.updateURL()},delete:function(e){jc(arguments.length,1);for(var t=Jc(this),r=t.entries,n=Dc(e),a=0;a<r.length;)r[a].key===n?ll(r,a,1):a++;t.updateURL()},get:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&sl(n,t[a].value);return n},has:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){jc(arguments.length,1);for(var r,n=Jc(this),a=n.entries,o=!1,i=Dc(e),s=Dc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?ll(a,h--,1):(o=!0,r.value=s));o||sl(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Jc(this);_c(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Jc(this).entries,n=Ec(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Al(this,"keys")},values:function(){return new Al(this,"values")},entries:function(){return new Al(this,"entries")}},{enumerable:!0}),Hc(Tl,Gc,Tl.entries,{name:"entries"}),Hc(Tl,"toString",(function(){return Jc(this).serialize()}),{enumerable:!0}),Tc(Rl,Yc),yc({global:!0,constructor:!0,forced:!Ac},{URLSearchParams:Rl}),!Ac&&Mc(Qc)){var Cl=Sc(el.has),Pl=Sc(el.set),Il=function(e){if(Bc(e)){var t,r=e.body;if(Lc(r)===Yc)return t=e.headers?new Qc(e.headers):new Qc,Cl(t,"content-type")||Pl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Uc(e,{body:Fc(0,Dc(r)),headers:Fc(0,t)})}return e};if(Mc(Zc)&&yc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Zc(e,arguments.length>1?Il(arguments[1]):{})}}),Mc($c)){var Ml=function(e){return Ic(this,Xc),new $c(e,arguments.length>1?Il(arguments[1]):{})};Xc.constructor=Ml,Ml.prototype=Xc,yc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ml})}}var Ol,El=Zn,Ll=c,kl=ys,Bl=i,Dl=Rs,Ul=T,Fl=Wr,Nl=function(e,t,r){return r.get&&Ts(r.get,t,{getter:!0}),r.set&&Ts(r.set,t,{setter:!0}),Cs.f(e,t,r)},xl=Ms,jl=Ge,_l=Gs,Gl=function(e){var t=Oh(e),r=kh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Ih(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Fh(t),d=0;if(!f||this===Nh&&Lh(f))for(i=Bh(t),s=r?new this(i):Nh(i);i>d;d++)u=o?a(t[d],d):t[d],Dh(s,d,u);else for(l=(c=Uh(t,f)).next,s=r?new this:[];!(h=Mh(l,c)).done;d++)u=o?Eh(c,a,[h.value,d],!0):h.value,Dh(s,d,u);return s.length=d,s},Yl=zh,zl=is.codeAt,Kl=function(e){var t,r,n=[],a=ac(nc(oc(e),qh,"."),".");for(t=0;t<a.length;t++)r=a[t],rc(n,$h(Wh,r)?"xn--"+hc(r):r);return tc(n,".")},Jl=sa,Wl=Jo,ql=lc,Vl={URLSearchParams:Rl,getState:Jc},Zl=Or,$l=Zl.set,Ql=Zl.getterFor("URL"),Xl=Vl.URLSearchParams,eu=Vl.getState,tu=Bl.URL,ru=Bl.TypeError,nu=Bl.parseInt,au=Math.floor,ou=Math.pow,iu=Ul("".charAt),su=Ul(/./.exec),hu=Ul([].join),cu=Ul(1..toString),lu=Ul([].pop),uu=Ul([].push),fu=Ul("".replace),du=Ul([].shift),gu=Ul("".split),mu=Ul("".slice),pu=Ul("".toLowerCase),yu=Ul([].unshift),bu="Invalid scheme",vu="Invalid host",Su="Invalid port",wu=/[a-z]/i,Au=/[\d+-.a-z]/i,Hu=/\d/,Ru=/^0x/i,Tu=/^[0-7]+$/,Cu=/^\d+$/,Pu=/^[\da-f]+$/i,Iu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Mu=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ou=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Eu=/[\t\n\r]/g,Lu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)yu(t,e%256),e=au(e/256);return hu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=cu(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ku={},Bu=_l({},ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Du=_l({},Bu,{"#":1,"?":1,"{":1,"}":1}),Uu=_l({},Du,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fu=function(e,t){var r=zl(e,0);return r>32&&r<127&&!jl(t,e)?e:encodeURIComponent(e)},Nu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},xu=function(e,t){var r;return 2==e.length&&su(wu,iu(e,0))&&(":"==(r=iu(e,1))||!t&&"|"==r)},ju=function(e){var t;return e.length>1&&xu(mu(e,0,2))&&(2==e.length||"/"===(t=iu(e,2))||"\\"===t||"?"===t||"#"===t)},_u=function(e){return"."===e||"%2e"===pu(e)},Gu={},Yu={},zu={},Ku={},Ju={},Wu={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf=function(e,t,r){var n,a,o,i=Jl(e);if(t){if(a=this.parse(i))throw ru(a);this.searchParams=null}else{if(void 0!==r&&(n=new lf(r,!0)),a=this.parse(i,null,n))throw ru(a);(o=eu(new Xl)).bindURL(this),this.searchParams=o}};lf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Gu,l=0,u="",f=!1,d=!1,g=!1;for(e=Jl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=fu(e,Ou,"")),e=fu(e,Eu,""),n=Gl(e);l<=n.length;){switch(a=n[l],c){case Gu:if(!a||!su(wu,a)){if(t)return bu;c=zu;continue}u+=pu(a),c=Yu;break;case Yu:if(a&&(su(Au,a)||"+"==a||"-"==a||"."==a))u+=pu(a);else{if(":"!=a){if(t)return bu;u="",c=zu,l=0;continue}if(t&&(h.isSpecial()!=jl(Nu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Nu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=tf:h.isSpecial()&&r&&r.scheme==h.scheme?c=Ku:h.isSpecial()?c=Vu:"/"==n[l+1]?(c=Ju,l++):(h.cannotBeABaseURL=!0,uu(h.path,""),c=sf)}break;case zu:if(!r||r.cannotBeABaseURL&&"#"!=a)return bu;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Yl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=cf;break}c="file"==r.scheme?tf:Wu;continue;case Ku:if("/"!=a||"/"!=n[l+1]){c=Wu;continue}c=Zu,l++;break;case Ju:if("/"==a){c=$u;break}c=of;continue;case Wu:if(h.scheme=r.scheme,a==Ol)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=qu;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.path.length--,c=of;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}break;case qu:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=of;continue}c=$u}else c=Zu;break;case Vu:if(c=Zu,"/"!=a||"/"!=iu(u,l+1))continue;l++;break;case Zu:if("/"!=a&&"\\"!=a){c=$u;continue}break;case $u:if("@"==a){f&&(u="%40"+u),f=!0,o=Gl(u);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Fu(p,Uu);g?h.password+=y:h.username+=y}else g=!0}u=""}else if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Gl(u).length+1,u="",c=Qu}else u+=a;break;case Qu:case Xu:if(t&&"file"==h.scheme){c=nf;continue}if(":"!=a||d){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return vu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=af,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return vu;if(i=h.parseHost(u))return i;if(u="",c=ef,t==Xu)return}break;case ef:if(!su(Hu,a)){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=nu(u,10);if(b>65535)return Su;h.port=h.isSpecial()&&b===Nu[h.scheme]?null:b,u=""}if(t)return;c=af;continue}return Su}u+=a;break;case tf:if(h.scheme="file","/"==a||"\\"==a)c=rf;else{if(!r||"file"!=r.scheme){c=of;continue}if(a==Ol)h.host=r.host,h.path=Yl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){ju(hu(Yl(n,l),""))||(h.host=r.host,h.path=Yl(r.path),h.shortenPath()),c=of;continue}h.host=r.host,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}}break;case rf:if("/"==a||"\\"==a){c=nf;break}r&&"file"==r.scheme&&!ju(hu(Yl(n,l),""))&&(xu(r.path[0],!0)?uu(h.path,r.path[0]):h.host=r.host),c=of;continue;case nf:if(a==Ol||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&xu(u))c=of;else if(""==u){if(h.host="",t)return;c=af}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=af}continue}u+=a;break;case af:if(h.isSpecial()){if(c=of,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Ol&&(c=of,"/"!=a))continue}else h.fragment="",c=cf;else h.query="",c=hf;break;case of:if(a==Ol||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=pu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,"")):_u(u)?"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,""):("file"==h.scheme&&!h.path.length&&xu(u)&&(h.host&&(h.host=""),u=iu(u,0)+":"),uu(h.path,u)),u="","file"==h.scheme&&(a==Ol||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)du(h.path);"?"==a?(h.query="",c=hf):"#"==a&&(h.fragment="",c=cf)}else u+=Fu(a,Du);break;case sf:"?"==a?(h.query="",c=hf):"#"==a?(h.fragment="",c=cf):a!=Ol&&(h.path[0]+=Fu(a,ku));break;case hf:t||"#"!=a?a!=Ol&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Fu(a,ku)):(h.fragment="",c=cf);break;case cf:a!=Ol&&(h.fragment+=Fu(a,Bu))}l++}},parseHost:function(e){var t,r,n;if("["==iu(e,0)){if("]"!=iu(e,e.length-1))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return iu(e,u)};if(":"==f()){if(":"!=iu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&su(Pu,f());)t=16*t+nu(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!su(Hu,f()))return;for(;su(Hu,f());){if(o=nu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(mu(e,1,-1)),!t)return vu;this.host=t}else if(this.isSpecial()){if(e=Kl(e),su(Iu,e))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=gu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==iu(a,0)&&(o=su(Ru,a)?16:8,a=mu(a,8==o?1:2)),""===a)i=0;else{if(!su(10==o?Cu:8==o?Tu:Pu,a))return e;i=nu(a,o)}uu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=ou(256,5-t))return null}else if(i>255)return null;for(s=lu(r),n=0;n<r.length;n++)s+=r[n]*ou(256,3-n);return s}(e),null===t)return vu;this.host=t}else{if(su(Mu,e))return vu;for(t="",r=Gl(e),n=0;n<r.length;n++)t+=Fu(r[n],ku);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return jl(Nu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&xu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Lu(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+hu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw ru(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new uf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Lu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Jl(e)+":",Gu)},getUsername:function(){return this.username},setUsername:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Fu(t[r],Uu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Fu(t[r],Uu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Lu(e):Lu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Qu)},getHostname:function(){var e=this.host;return null===e?"":Lu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Xu)},getPort:function(){var e=this.port;return null===e?"":Jl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Jl(e))?this.port=null:this.parse(e,ef))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+hu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,af))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Jl(e))?this.query=null:("?"==iu(e,0)&&(e=mu(e,1)),this.query="",this.parse(e,hf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Jl(e))?("#"==iu(e,0)&&(e=mu(e,1)),this.fragment="",this.parse(e,cf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var uf=function(e){var t=xl(this,ff),r=ql(arguments.length,1)>1?arguments[1]:void 0,n=$l(t,new lf(e,!1,r));Ll||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ff=uf.prototype,df=function(e,t){return{get:function(){return Ql(this)[e]()},set:t&&function(e){return Ql(this)[t](e)},configurable:!0,enumerable:!0}};if(Ll&&(Nl(ff,"href",df("serialize","setHref")),Nl(ff,"origin",df("getOrigin")),Nl(ff,"protocol",df("getProtocol","setProtocol")),Nl(ff,"username",df("getUsername","setUsername")),Nl(ff,"password",df("getPassword","setPassword")),Nl(ff,"host",df("getHost","setHost")),Nl(ff,"hostname",df("getHostname","setHostname")),Nl(ff,"port",df("getPort","setPort")),Nl(ff,"pathname",df("getPathname","setPathname")),Nl(ff,"search",df("getSearch","setSearch")),Nl(ff,"searchParams",df("getSearchParams")),Nl(ff,"hash",df("getHash","setHash"))),Fl(ff,"toJSON",(function(){return Ql(this).serialize()}),{enumerable:!0}),Fl(ff,"toString",(function(){return Ql(this).serialize()}),{enumerable:!0}),tu){var gf=tu.createObjectURL,mf=tu.revokeObjectURL;gf&&Fl(uf,"createObjectURL",Dl(gf,tu)),mf&&Fl(uf,"revokeObjectURL",Dl(mf,tu))}Wl(uf,"URL"),El({global:!0,constructor:!0,forced:!kl,sham:!Ll},{URL:uf});var pf,yf=q,bf=M,vf=nt("match"),Sf=function(e){var t;return yf(e)&&(void 0!==(t=e[vf])?!!t:"RegExp"==bf(e))},wf=TypeError,Af=nt("match"),Hf=Zn,Rf=Ss,Tf=s.f,Cf=on,Pf=sa,If=function(e){if(Sf(e))throw wf("The method doesn't accept regular expressions");return e},Mf=N,Of=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Af]=!1,"/./"[e](t)}catch(e){}}return!1},Ef=Rf("".startsWith),Lf=Rf("".slice),kf=Math.min,Bf=Of("startsWith");Hf({target:"String",proto:!0,forced:!!(Bf||(pf=Tf(String.prototype,"startsWith"),!pf||pf.writable))&&!Bf},{startsWith:function(e){var t=Pf(Mf(this));If(e);var r=Cf(kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Pf(e);return Ef?Ef(t,n,r):Lf(t,r,r+n.length)===n}});var Df=d,Uf=Ge,Ff=X,Nf=ca,xf=RegExp.prototype,jf=rr.PROPER,_f=Wr,Gf=Bt,Yf=sa,zf=h,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in xf||Uf(e,"flags")||!Ff(xf,e)?t:Df(Nf,e)},Jf="toString",Wf=RegExp.prototype.toString,qf=zf((function(){return"/a/b"!=Wf.call({source:"a",flags:"b"})})),Vf=jf&&Wf.name!=Jf;(qf||Vf)&&_f(RegExp.prototype,Jf,(function(){var e=Gf(this);return"/"+Yf(e.source)+"/"+Yf(Kf(e))}),{unsafe:!0});var Zf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},$f={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function Qf(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:$f[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Xf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ed(e){return e<10?"0"+e:""+e}function td(e){return e<0?"-00"+td(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function rd(e){return td(e.getFullYear())+"-"+ed(e.getMonth()+1)+"-"+ed(e.getDate())}const nd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function ad(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<nd.length;e++){const t=nd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function od(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function id(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Zf[e.getDesc()]||Zf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const sd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function hd(e,n){const a=e.getFlags();if(a&sd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function cd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function ld(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const ud='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',fd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function dd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=ld(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else{const t=fd[ad(e)[0]];"string"==typeof t&&(g=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||id(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function gd(e){return rd(e.getDate().greg())}function md(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):rd(h),u=ad(e),f=e.getFlags();let d=ld(e)?e.renderBrief(a.locale):e.render(a.locale);const g=e.getDesc(),m="Havdalah"===g||"Candle lighting"===g;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=g&&(p.title_orig=g);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!m){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=yd(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=pd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=cd(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||Zf[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function pd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function yd(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&pd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const bd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function vd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=Xf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=cd(m,r,o,i).replace(/&/g,"&amp;"),h="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(u),t=cd(e,r,o,i).replace(/&/g,"&amp;");h=e.replace(/&/g,"&amp;")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],g=ad(e)[0],m=e.getDesc();let p;if("Havdalah"===m||"Candle lighting"===m){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=e.getFlags()&t.flags.PARSHA_HASHAVUA?hd(e,s):e.memo||Zf[e.basename()];const y=r.dayFormat,b=p||y.format(a),v="candles"==g?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=cd,e.countryNames=$f,e.eventToClassicApiObject=md,e.eventToCsv=dd,e.eventToFullCalendar=function(e,r,n){const a=ad(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:ld(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):rd(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=cd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const r=o&t.flags.PARSHA_HASHAVUA?hd(e,n):e.memo||Zf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=vd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:od(e,t),date:(new Date).toISOString()};return n.location=Qf(t.location),e.length&&(n.range={start:gd(e[0]),end:gd(e[e.length-1])}),n.items=e.map((e=>md(e,t,r))),n},e.eventsToCsv=function(e,t){return[ud].concat(e.map((e=>dd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||od(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=cd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&amp;"),f=t.selfUrl.replace(/&/g,"&amp;"),d=t.lang||bd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=vd(e,t)})),g+="</channel>\n</rss>\n",g},e.getCalendarTitle=od,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+Xf(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=ad,e.getHolidayDescription=id,e.holidayDescription=Zf,e.locationToPlainObj=Qf,e.makeAnchor=Xf,e.makeTorahMemoText=hd,e.pad2=ed,e.pad4=td,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=ld,e.toISOString=rd,e}({},hebcal,hebcal__leyning,hebcal__triennial);
1
+ /*! @hebcal/rest-api v4.3.12 */
2
+ var hebcal__rest_api=function(e,t,r,n){"use strict";var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},o=function(e){return e&&e.Math==Math&&e},i=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof a&&a)||function(){return this}()||Function("return this")(),s={},h=function(e){try{return!!e()}catch(e){return!0}},c=!h((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),l=!h((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),u=l,f=Function.prototype.call,d=u?f.bind(f):function(){return f.apply(f,arguments)},g={},m={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!m.call({1:2},1);g.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:m;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,R=A.call,H=w&&A.bind.bind(R,R),T=w?H:function(e){return function(){return R.apply(e,arguments)}},C=T,P=C({}.toString),I=C("".slice),M=function(e){return I(P(e),8,-1)},O=h,E=M,L=Object,k=T("".split),B=O((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"==E(e)?k(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,N=function(e){if(U(e))throw F("Can't call method on "+e);return e},x=B,j=N,_=function(e){return x(j(e))},G="object"==typeof document&&document.all,Y={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},z=Y.all,K=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=Y.all,q=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===W}:function(e){return"object"==typeof e?null!==e:J(e)},V=i,Z=K,$=function(e){return Z(e)?e:void 0},Q=function(e,t){return arguments.length<2?$(V[e]):V[e]&&V[e][t]},X=T({}.isPrototypeOf),ee=i,te=Q("navigator","userAgent")||"",re=ee.process,ne=ee.Deno,ae=re&&re.versions||ne&&ne.version,oe=ae&&ae.v8;oe&&(v=(b=oe.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&te&&(!(b=te.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=te.match(/Chrome\/(\d+)/))&&(v=+b[1]);var ie=v,se=h,he=!!Object.getOwnPropertySymbols&&!se((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ie&&ie<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=Q,ue=K,fe=X,de=Object,ge=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},me=String,pe=function(e){try{return me(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw ve(be(e)+" is not a function")},we=Se,Ae=D,Re=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},He=d,Te=K,Ce=q,Pe=TypeError,Ie={},Me={get exports(){return Ie},set exports(e){Ie=e}},Oe=i,Ee=Object.defineProperty,Le=function(e,t){try{Ee(Oe,e,{value:t,configurable:!0,writable:!0})}catch(r){Oe[e]=t}return t},ke=Le,Be="__core-js_shared__",De=i[Be]||ke(Be,{}),Ue=De;(Me.exports=function(e,t){return Ue[e]||(Ue[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Fe=N,Ne=Object,xe=function(e){return Ne(Fe(e))},je=xe,_e=T({}.hasOwnProperty),Ge=Object.hasOwn||function(e,t){return _e(je(e),t)},Ye=T,ze=0,Ke=Math.random(),Je=Ye(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=i,Ve=Ge,Ze=We,$e=he,Qe=ce,Xe=Ie("wks"),et=qe.Symbol,tt=et&&et.for,rt=Qe?et:et&&et.withoutSetter||Ze,nt=function(e){if(!Ve(Xe,e)||!$e&&"string"!=typeof Xe[e]){var t="Symbol."+e;$e&&Ve(et,e)?Xe[e]=et[e]:Xe[e]=Qe&&tt?tt(t):rt(t)}return Xe[e]},at=d,ot=q,it=ge,st=Re,ht=function(e,t){var r,n;if("string"===t&&Te(r=e.toString)&&!Ce(n=He(r,e)))return n;if(Te(r=e.valueOf)&&!Ce(n=He(r,e)))return n;if("string"!==t&&Te(r=e.toString)&&!Ce(n=He(r,e)))return n;throw Pe("Can't convert object to primitive value")},ct=TypeError,lt=nt("toPrimitive"),ut=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,lt);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw ct("Can't convert object to primitive value")}return void 0===t&&(t="number"),ht(e,t)},ft=ge,dt=function(e){var t=ut(e,"string");return ft(t)?t:t+""},gt=q,mt=i.document,pt=gt(mt)&&gt(mt.createElement),yt=function(e){return pt?mt.createElement(e):{}},bt=yt,vt=!c&&!h((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),St=c,wt=d,At=g,Rt=S,Ht=_,Tt=dt,Ct=Ge,Pt=vt,It=Object.getOwnPropertyDescriptor;s.f=St?It:function(e,t){if(e=Ht(e),t=Tt(t),Pt)try{return It(e,t)}catch(e){}if(Ct(e,t))return Rt(!wt(At.f,e,t),e[t])};var Mt={},Ot=c&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Et=q,Lt=String,kt=TypeError,Bt=function(e){if(Et(e))return e;throw kt(Lt(e)+" is not an object")},Dt=c,Ut=vt,Ft=Ot,Nt=Bt,xt=dt,jt=TypeError,_t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",zt="configurable",Kt="writable";Mt.f=Dt?Ft?function(e,t,r){if(Nt(e),t=xt(t),Nt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r.writable){var n=Gt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:zt in r?r.configurable:n.configurable,enumerable:Yt in r?r.enumerable:n.enumerable,writable:!1})}return _t(e,t,r)}:_t:function(e,t,r){if(Nt(e),t=xt(t),Nt(r),Ut)try{return _t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=Mt,Wt=S,qt=c?function(e,t,r){return Jt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},Vt={},Zt={get exports(){return Vt},set exports(e){Vt=e}},$t=c,Qt=Ge,Xt=Function.prototype,er=$t&&Object.getOwnPropertyDescriptor,tr=Qt(Xt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!$t||$t&&er(Xt,"name").configurable)},nr=K,ar=De,or=T(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,hr,cr=ar.inspectSource,lr=K,ur=i.WeakMap,fr=lr(ur)&&/native code/.test(String(ur)),dr=We,gr=Ie("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=fr,br=i,vr=q,Sr=qt,wr=Ge,Ar=De,Rr=mr,Hr=pr,Tr="Object already initialized",Cr=br.TypeError,Pr=br.WeakMap;if(yr||Ar.state){var Ir=Ar.state||(Ar.state=new Pr);Ir.get=Ir.get,Ir.has=Ir.has,Ir.set=Ir.set,ir=function(e,t){if(Ir.has(e))throw Cr(Tr);return t.facade=e,Ir.set(e,t),t},sr=function(e){return Ir.get(e)||{}},hr=function(e){return Ir.has(e)}}else{var Mr=Rr("state");Hr[Mr]=!0,ir=function(e,t){if(wr(e,Mr))throw Cr(Tr);return t.facade=e,Sr(e,Mr,t),t},sr=function(e){return wr(e,Mr)?e[Mr]:{}},hr=function(e){return wr(e,Mr)}}var Or={set:ir,get:sr,has:hr,enforce:function(e){return hr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!vr(t)||(r=sr(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Er=h,Lr=K,kr=Ge,Br=c,Dr=rr.CONFIGURABLE,Ur=cr,Fr=Or.enforce,Nr=Or.get,xr=Object.defineProperty,jr=Br&&!Er((function(){return 8!==xr((function(){}),"length",{value:8}).length})),_r=String(String).split("String"),Gr=Zt.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!kr(e,"name")||Dr&&e.name!==t)&&(Br?xr(e,"name",{value:t,configurable:!0}):e.name=t),jr&&r&&kr(r,"arity")&&e.length!==r.arity&&xr(e,"length",{value:r.arity});try{r&&kr(r,"constructor")&&r.constructor?Br&&xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Fr(e);return kr(n,"source")||(n.source=_r.join("string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Nr(this).source||Ur(this)}),"toString");var Yr=K,zr=Mt,Kr=Vt,Jr=Le,Wr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Yr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:zr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},qr={},Vr=Math.ceil,Zr=Math.floor,$r=Math.trunc||function(e){var t=+e;return(t>0?Zr:Vr)(t)},Qr=function(e){var t=+e;return t!=t||0===t?0:$r(t)},Xr=Qr,en=Math.max,tn=Math.min,rn=function(e,t){var r=Xr(e);return r<0?en(r+t,0):tn(r,t)},nn=Qr,an=Math.min,on=function(e){return e>0?an(nn(e),9007199254740991):0},sn=on,hn=function(e){return sn(e.length)},cn=_,ln=rn,un=hn,fn=function(e){return function(t,r,n){var a,o=cn(t),i=un(o),s=ln(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},dn={includes:fn(!0),indexOf:fn(!1)},gn=Ge,mn=_,pn=dn.indexOf,yn=pr,bn=T([].push),vn=function(e,t){var r,n=mn(e),a=0,o=[];for(r in n)!gn(yn,r)&&gn(n,r)&&bn(o,r);for(;t.length>a;)gn(n,r=t[a++])&&(~pn(o,r)||bn(o,r));return o},Sn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wn=vn,An=Sn.concat("length","prototype");qr.f=Object.getOwnPropertyNames||function(e){return wn(e,An)};var Rn={};Rn.f=Object.getOwnPropertySymbols;var Hn=Q,Tn=qr,Cn=Rn,Pn=Bt,In=T([].concat),Mn=Hn("Reflect","ownKeys")||function(e){var t=Tn.f(Pn(e)),r=Cn.f;return r?In(t,r(e)):t},On=Ge,En=Mn,Ln=s,kn=Mt,Bn=h,Dn=K,Un=/#|\.prototype\./,Fn=function(e,t){var r=xn[Nn(e)];return r==_n||r!=jn&&(Dn(t)?Bn(t):!!t)},Nn=Fn.normalize=function(e){return String(e).replace(Un,".").toLowerCase()},xn=Fn.data={},jn=Fn.NATIVE="N",_n=Fn.POLYFILL="P",Gn=Fn,Yn=i,zn=s.f,Kn=qt,Jn=Wr,Wn=Le,qn=function(e,t,r){for(var n=En(t),a=kn.f,o=Ln.f,i=0;i<n.length;i++){var s=n[i];On(e,s)||r&&On(r,s)||a(e,s,o(t,s))}},Vn=Gn,Zn=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Yn:c?Yn[s]||Wn(s,{}):(Yn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=zn(r,n))&&i.value:r[n],!Vn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;qn(o,a)}(e.sham||a&&a.sham)&&Kn(o,"sham",!0),Jn(r,n,o,e)}},$n={};$n[nt("toStringTag")]="z";var Qn="[object z]"===String($n),Xn=K,ea=M,ta=nt("toStringTag"),ra=Object,na="Arguments"==ea(function(){return arguments}()),aa=Qn?ea:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=ra(e),ta))?r:na?ea(t):"Object"==(n=ea(t))&&Xn(t.callee)?"Arguments":n},oa=aa,ia=String,sa=function(e){if("Symbol"===oa(e))throw TypeError("Cannot convert a Symbol value to a string");return ia(e)},ha=Bt,ca=function(){var e=ha(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},la=h,ua=i.RegExp,fa=la((function(){var e=ua("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),da=fa||la((function(){return!ua("a","y").sticky})),ga={BROKEN_CARET:fa||la((function(){var e=ua("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:da,UNSUPPORTED_Y:fa},ma={},pa=vn,ya=Sn,ba=Object.keys||function(e){return pa(e,ya)},va=c,Sa=Ot,wa=Mt,Aa=Bt,Ra=_,Ha=ba;ma.f=va&&!Sa?Object.defineProperties:function(e,t){Aa(e);for(var r,n=Ra(t),a=Ha(t),o=a.length,i=0;o>i;)wa.f(e,r=a[i++],n[r]);return e};var Ta,Ca=Q("document","documentElement"),Pa=Bt,Ia=ma,Ma=Sn,Oa=pr,Ea=Ca,La=yt,ka=mr("IE_PROTO"),Ba=function(){},Da=function(e){return"<script>"+e+"</"+"script>"},Ua=function(e){e.write(Da("")),e.close();var t=e.parentWindow.Object;return e=null,t},Fa=function(){try{Ta=new ActiveXObject("htmlfile")}catch(e){}var e,t;Fa="undefined"!=typeof document?document.domain&&Ta?Ua(Ta):((t=La("iframe")).style.display="none",Ea.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Da("document.F=Object")),e.close(),e.F):Ua(Ta);for(var r=Ma.length;r--;)delete Fa.prototype[Ma[r]];return Fa()};Oa[ka]=!0;var Na,xa,ja=Object.create||function(e,t){var r;return null!==e?(Ba.prototype=Pa(e),r=new Ba,Ba.prototype=null,r[ka]=e):r=Fa(),void 0===t?r:Ia.f(r,t)},_a=h,Ga=i.RegExp,Ya=_a((function(){var e=Ga(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),za=h,Ka=i.RegExp,Ja=za((function(){var e=Ka("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Wa=d,qa=T,Va=sa,Za=ca,$a=ga,Qa=ja,Xa=Or.get,eo=Ya,to=Ja,ro=Ie("native-string-replace",String.prototype.replace),no=RegExp.prototype.exec,ao=no,oo=qa("".charAt),io=qa("".indexOf),so=qa("".replace),ho=qa("".slice),co=(xa=/b*/g,Wa(no,Na=/a/,"a"),Wa(no,xa,"a"),0!==Na.lastIndex||0!==xa.lastIndex),lo=$a.BROKEN_CARET,uo=void 0!==/()??/.exec("")[1];(co||uo||lo||eo||to)&&(ao=function(e){var t,r,n,a,o,i,s,h=this,c=Xa(h),l=Va(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Wa(ao,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=lo&&h.sticky,g=Wa(Za,h),m=h.source,p=0,y=l;if(d&&(g=so(g,"y",""),-1===io(g,"g")&&(g+="g"),y=ho(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==oo(l,h.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),uo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),co&&(n=h.lastIndex),a=Wa(no,d?r:h,y),d?a?(a.input=ho(a.input,p),a[0]=ho(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:co&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),uo&&a&&a.length>1&&Wa(ro,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&f)for(a.groups=i=Qa(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});Zn({target:"RegExp",proto:!0,forced:/./.exec!==ao},{exec:ao});var fo=yt("span").classList,go=fo&&fo.constructor&&fo.constructor.prototype,mo=go===Object.prototype?void 0:go,po=nt,yo=ja,bo=Mt.f,vo=po("unscopables"),So=Array.prototype;null==So[vo]&&bo(So,vo,{configurable:!0,value:yo(null)});var wo,Ao,Ro,Ho={},To=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Co=Ge,Po=K,Io=xe,Mo=To,Oo=mr("IE_PROTO"),Eo=Object,Lo=Eo.prototype,ko=Mo?Eo.getPrototypeOf:function(e){var t=Io(e);if(Co(t,Oo))return t[Oo];var r=t.constructor;return Po(r)&&t instanceof r?r.prototype:t instanceof Eo?Lo:null},Bo=h,Do=K,Uo=q,Fo=ko,No=Wr,xo=nt("iterator"),jo=!1;[].keys&&("next"in(Ro=[].keys())?(Ao=Fo(Fo(Ro)))!==Object.prototype&&(wo=Ao):jo=!0);var _o=!Uo(wo)||Bo((function(){var e={};return wo[xo].call(e)!==e}));_o&&(wo={}),Do(wo[xo])||No(wo,xo,(function(){return this}));var Go={IteratorPrototype:wo,BUGGY_SAFARI_ITERATORS:jo},Yo=Mt.f,zo=Ge,Ko=nt("toStringTag"),Jo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!zo(e,Ko)&&Yo(e,Ko,{configurable:!0,value:t})},Wo=Go.IteratorPrototype,qo=ja,Vo=S,Zo=Jo,$o=Ho,Qo=function(){return this},Xo=function(e,t,r,n){var a=t+" Iterator";return e.prototype=qo(Wo,{next:Vo(+!n,r)}),Zo(e,a,!1),$o[a]=Qo,e},ei=K,ti=String,ri=TypeError,ni=T,ai=Bt,oi=function(e){if("object"==typeof e||ei(e))return e;throw ri("Can't set "+ti(e)+" as a prototype")},ii=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ni(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ai(r),oi(n),t?e(r,n):r.__proto__=n,r}}():void 0),si=Zn,hi=d,ci=K,li=Xo,ui=ko,fi=ii,di=Jo,gi=qt,mi=Wr,pi=Ho,yi=rr.PROPER,bi=rr.CONFIGURABLE,vi=Go.IteratorPrototype,Si=Go.BUGGY_SAFARI_ITERATORS,wi=nt("iterator"),Ai="keys",Ri="values",Hi="entries",Ti=function(){return this},Ci=function(e,t,r,n,a,o,i){li(r,t,n);var s,h,c,l=function(e){if(e===a&&m)return m;if(!Si&&e in d)return d[e];switch(e){case Ai:case Ri:case Hi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,g=d[wi]||d["@@iterator"]||a&&d[a],m=!Si&&g||l(a),p="Array"==t&&d.entries||g;if(p&&(s=ui(p.call(new e)))!==Object.prototype&&s.next&&(ui(s)!==vi&&(fi?fi(s,vi):ci(s[wi])||mi(s,wi,Ti)),di(s,u,!0)),yi&&a==Ri&&g&&g.name!==Ri&&(bi?gi(d,"name",Ri):(f=!0,m=function(){return hi(g,this)})),a)if(h={values:l(Ri),keys:o?m:l(Ai),entries:l(Hi)},i)for(c in h)(Si||f||!(c in d))&&mi(d,c,h[c]);else si({target:t,proto:!0,forced:Si||f},h);return d[wi]!==m&&mi(d,wi,m,{name:a}),pi[t]=m,h},Pi=function(e,t){return{value:e,done:t}},Ii=_,Mi=function(e){So[vo][e]=!0},Oi=Ho,Ei=Or,Li=Mt.f,ki=Ci,Bi=Pi,Di=c,Ui="Array Iterator",Fi=Ei.set,Ni=Ei.getterFor(Ui),xi=ki(Array,"Array",(function(e,t){Fi(this,{type:Ui,target:Ii(e),index:0,kind:t})}),(function(){var e=Ni(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,Bi(void 0,!0)):Bi("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),ji=Oi.Arguments=Oi.Array;if(Mi("keys"),Mi("values"),Mi("entries"),Di&&"values"!==ji.name)try{Li(ji,"name",{value:"values"})}catch(e){}var _i=i,Gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Yi=mo,zi=xi,Ki=qt,Ji=nt,Wi=Ji("iterator"),qi=Ji("toStringTag"),Vi=zi.values,Zi=function(e,t){if(e){if(e[Wi]!==Vi)try{Ki(e,Wi,Vi)}catch(t){e[Wi]=Vi}if(e[qi]||Ki(e,qi,t),Gi[t])for(var r in zi)if(e[r]!==zi[r])try{Ki(e,r,zi[r])}catch(t){e[r]=zi[r]}}};for(var $i in Gi)Zi(_i[$i]&&_i[$i].prototype,$i);Zi(Yi,"DOMTokenList");var Qi=T,Xi=Qr,es=sa,ts=N,rs=Qi("".charAt),ns=Qi("".charCodeAt),as=Qi("".slice),os=function(e){return function(t,r){var n,a,o=es(ts(t)),i=Xi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ns(o,i))<55296||n>56319||i+1===s||(a=ns(o,i+1))<56320||a>57343?e?rs(o,i):n:e?as(o,i,i+2):a-56320+(n-55296<<10)+65536}},is={codeAt:os(!1),charAt:os(!0)},ss=is.charAt,hs=sa,cs=Or,ls=Ci,us=Pi,fs="String Iterator",ds=cs.set,gs=cs.getterFor(fs);ls(String,"String",(function(e){ds(this,{type:fs,string:hs(e),index:0})}),(function(){var e,t=gs(this),r=t.string,n=t.index;return n>=r.length?us(void 0,!0):(e=ss(r,n),t.index+=e.length,us(e,!1))}));var ms=h,ps=nt("iterator"),ys=!ms((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[ps]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),bs=M,vs=T,Ss=function(e){if("Function"===bs(e))return vs(e)},ws=Se,As=l,Rs=Ss(Ss.bind),Hs=function(e,t){return ws(e),void 0===t?e:As?Rs(e,t):function(){return e.apply(t,arguments)}},Ts=Vt,Cs=Mt,Ps=X,Is=TypeError,Ms=function(e,t){if(Ps(t,e))return e;throw Is("Incorrect invocation")},Os=c,Es=T,Ls=d,ks=h,Bs=ba,Ds=Rn,Us=g,Fs=xe,Ns=B,xs=Object.assign,js=Object.defineProperty,_s=Es([].concat),Gs=!xs||ks((function(){if(Os&&1!==xs({b:1},xs(js({},"a",{enumerable:!0,get:function(){js(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=xs({},e)[r]||Bs(xs({},t)).join("")!=n}))?function(e,t){for(var r=Fs(e),n=arguments.length,a=1,o=Ds.f,i=Us.f;n>a;)for(var s,h=Ns(arguments[a++]),c=o?_s(Bs(h),o(h)):Bs(h),l=c.length,u=0;l>u;)s=c[u++],Os&&!Ls(i,h,s)||(r[s]=h[s]);return r}:xs,Ys=d,zs=Bt,Ks=Re,Js=Bt,Ws=function(e,t,r){var n,a;zs(e);try{if(!(n=Ks(e,"return"))){if("throw"===t)throw r;return r}n=Ys(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return zs(n),r},qs=Ho,Vs=nt("iterator"),Zs=Array.prototype,$s=T,Qs=h,Xs=K,eh=aa,th=cr,rh=function(){},nh=[],ah=Q("Reflect","construct"),oh=/^\s*(?:class|function)\b/,ih=$s(oh.exec),sh=!oh.exec(rh),hh=function(e){if(!Xs(e))return!1;try{return ah(rh,nh,e),!0}catch(e){return!1}},ch=function(e){if(!Xs(e))return!1;switch(eh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return sh||!!ih(oh,th(e))}catch(e){return!0}};ch.sham=!0;var lh=!ah||Qs((function(){var e;return hh(hh.call)||!hh(Object)||!hh((function(){e=!0}))||e}))?ch:hh,uh=dt,fh=Mt,dh=S,gh=function(e,t,r){var n=uh(t);n in e?fh.f(e,n,dh(0,r)):e[n]=r},mh=aa,ph=Re,yh=D,bh=Ho,vh=nt("iterator"),Sh=function(e){if(!yh(e))return ph(e,vh)||ph(e,"@@iterator")||bh[mh(e)]},wh=d,Ah=Se,Rh=Bt,Hh=pe,Th=Sh,Ch=TypeError,Ph=function(e,t){var r=arguments.length<2?Th(e):t;if(Ah(r))return Rh(wh(r,e));throw Ch(Hh(e)+" is not iterable")},Ih=Hs,Mh=d,Oh=xe,Eh=function(e,t,r,n){try{return n?t(Js(r)[0],r[1]):t(r)}catch(t){Ws(e,"throw",t)}},Lh=function(e){return void 0!==e&&(qs.Array===e||Zs[Vs]===e)},kh=lh,Bh=hn,Dh=gh,Uh=Ph,Fh=Sh,Nh=Array,xh=rn,jh=hn,_h=gh,Gh=Array,Yh=Math.max,zh=function(e,t,r){for(var n=jh(e),a=xh(t,n),o=xh(void 0===r?n:r,n),i=Gh(Yh(o-a,0)),s=0;a<o;a++,s++)_h(i,s,e[a]);return i.length=s,i},Kh=T,Jh=2147483647,Wh=/[^\0-\u007E]/,qh=/[.\u3002\uFF0E\uFF61]/g,Vh="Overflow: input needs wider integers to process",Zh=RangeError,$h=Kh(qh.exec),Qh=Math.floor,Xh=String.fromCharCode,ec=Kh("".charCodeAt),tc=Kh([].join),rc=Kh([].push),nc=Kh("".replace),ac=Kh("".split),oc=Kh("".toLowerCase),ic=function(e){return e+22+75*(e<26)},sc=function(e,t,r){var n=0;for(e=r?Qh(e/700):e>>1,e+=Qh(e/t);e>455;)e=Qh(e/35),n+=36;return Qh(n+36*e/(e+38))},hc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=ec(e,r++);if(a>=55296&&a<=56319&&r<n){var o=ec(e,r++);56320==(64512&o)?rc(t,((1023&a)<<10)+(1023&o)+65536):(rc(t,a),r--)}else rc(t,a)}return t}(e);var r,n,a=e.length,o=128,i=0,s=72;for(r=0;r<e.length;r++)(n=e[r])<128&&rc(t,Xh(n));var h=t.length,c=h;for(h&&rc(t,"-");c<a;){var l=Jh;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>Qh((Jh-i)/u))throw Zh(Vh);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Jh)throw Zh(Vh);if(n==o){for(var f=i,d=36;;){var g=d<=s?1:d>=s+26?26:d-s;if(f<g)break;var m=f-g,p=36-g;rc(t,Xh(ic(g+m%p))),f=Qh(m/p),d+=36}rc(t,Xh(ic(f))),s=sc(i,u,c==h),i=0,c++}}i++,o++}return tc(t,"")},cc=TypeError,lc=function(e,t){if(e<t)throw cc("Not enough arguments");return e},uc=Wr,fc=zh,dc=Math.floor,gc=function(e,t){var r=e.length,n=dc(r/2);return r<8?mc(e,t):pc(e,gc(fc(e,0,n),t),gc(fc(e,n),t),t)},mc=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},pc=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},yc=Zn,bc=i,vc=d,Sc=T,wc=c,Ac=ys,Rc=Wr,Hc=function(e,t,r){for(var n in t)uc(e,n,t[n],r);return e},Tc=Jo,Cc=Xo,Pc=Or,Ic=Ms,Mc=K,Oc=Ge,Ec=Hs,Lc=aa,kc=Bt,Bc=q,Dc=sa,Uc=ja,Fc=S,Nc=Ph,xc=Sh,jc=lc,_c=gc,Gc=nt("iterator"),Yc="URLSearchParams",zc="URLSearchParamsIterator",Kc=Pc.set,Jc=Pc.getterFor(Yc),Wc=Pc.getterFor(zc),qc=Object.getOwnPropertyDescriptor,Vc=function(e){if(!wc)return bc[e];var t=qc(bc,e);return t&&t.value},Zc=Vc("fetch"),$c=Vc("Request"),Qc=Vc("Headers"),Xc=$c&&$c.prototype,el=Qc&&Qc.prototype,tl=bc.RegExp,rl=bc.TypeError,nl=bc.decodeURIComponent,al=bc.encodeURIComponent,ol=Sc("".charAt),il=Sc([].join),sl=Sc([].push),hl=Sc("".replace),cl=Sc([].shift),ll=Sc([].splice),ul=Sc("".split),fl=Sc("".slice),dl=/\+/g,gl=Array(4),ml=function(e){return gl[e-1]||(gl[e-1]=tl("((?:%[\\da-f]{2}){"+e+"})","gi"))},pl=function(e){try{return nl(e)}catch(t){return e}},yl=function(e){var t=hl(e,dl," "),r=4;try{return nl(t)}catch(e){for(;r;)t=hl(t,ml(r--),pl);return t}},bl=/[!'()~]|%20/g,vl={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Sl=function(e){return vl[e]},wl=function(e){return hl(al(e),bl,Sl)},Al=Cc((function(e,t){Kc(this,{type:zc,iterator:Nc(Jc(e).entries),kind:t})}),"Iterator",(function(){var e=Wc(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),Rl=function(e){this.entries=[],this.url=null,void 0!==e&&(Bc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===ol(e,0)?fl(e,1):e:Dc(e)))};Rl.prototype={type:Yc,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=xc(e);if(h)for(r=(t=Nc(e,h)).next;!(n=vc(r,t)).done;){if(o=(a=Nc(kc(n.value))).next,(i=vc(o,a)).done||(s=vc(o,a)).done||!vc(o,a).done)throw rl("Expected sequence with length 2");sl(this.entries,{key:Dc(i.value),value:Dc(s.value)})}else for(var c in e)Oc(e,c)&&sl(this.entries,{key:c,value:Dc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=ul(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=ul(t,"="),sl(this.entries,{key:yl(cl(r)),value:yl(il(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],sl(r,wl(e.key)+"="+wl(e.value));return il(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Hl=function(){Ic(this,Tl);var e=arguments.length>0?arguments[0]:void 0;Kc(this,new Rl(e))},Tl=Hl.prototype;if(Hc(Tl,{append:function(e,t){jc(arguments.length,2);var r=Jc(this);sl(r.entries,{key:Dc(e),value:Dc(t)}),r.updateURL()},delete:function(e){jc(arguments.length,1);for(var t=Jc(this),r=t.entries,n=Dc(e),a=0;a<r.length;)r[a].key===n?ll(r,a,1):a++;t.updateURL()},get:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&sl(n,t[a].value);return n},has:function(e){jc(arguments.length,1);for(var t=Jc(this).entries,r=Dc(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){jc(arguments.length,1);for(var r,n=Jc(this),a=n.entries,o=!1,i=Dc(e),s=Dc(t),h=0;h<a.length;h++)(r=a[h]).key===i&&(o?ll(a,h--,1):(o=!0,r.value=s));o||sl(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Jc(this);_c(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Jc(this).entries,n=Ec(e,arguments.length>1?arguments[1]:void 0),a=0;a<r.length;)n((t=r[a++]).value,t.key,this)},keys:function(){return new Al(this,"keys")},values:function(){return new Al(this,"values")},entries:function(){return new Al(this,"entries")}},{enumerable:!0}),Rc(Tl,Gc,Tl.entries,{name:"entries"}),Rc(Tl,"toString",(function(){return Jc(this).serialize()}),{enumerable:!0}),Tc(Hl,Yc),yc({global:!0,constructor:!0,forced:!Ac},{URLSearchParams:Hl}),!Ac&&Mc(Qc)){var Cl=Sc(el.has),Pl=Sc(el.set),Il=function(e){if(Bc(e)){var t,r=e.body;if(Lc(r)===Yc)return t=e.headers?new Qc(e.headers):new Qc,Cl(t,"content-type")||Pl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Uc(e,{body:Fc(0,Dc(r)),headers:Fc(0,t)})}return e};if(Mc(Zc)&&yc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Zc(e,arguments.length>1?Il(arguments[1]):{})}}),Mc($c)){var Ml=function(e){return Ic(this,Xc),new $c(e,arguments.length>1?Il(arguments[1]):{})};Xc.constructor=Ml,Ml.prototype=Xc,yc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ml})}}var Ol,El=Zn,Ll=c,kl=ys,Bl=i,Dl=Hs,Ul=T,Fl=Wr,Nl=function(e,t,r){return r.get&&Ts(r.get,t,{getter:!0}),r.set&&Ts(r.set,t,{setter:!0}),Cs.f(e,t,r)},xl=Ms,jl=Ge,_l=Gs,Gl=function(e){var t=Oh(e),r=kh(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Ih(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Fh(t),d=0;if(!f||this===Nh&&Lh(f))for(i=Bh(t),s=r?new this(i):Nh(i);i>d;d++)u=o?a(t[d],d):t[d],Dh(s,d,u);else for(l=(c=Uh(t,f)).next,s=r?new this:[];!(h=Mh(l,c)).done;d++)u=o?Eh(c,a,[h.value,d],!0):h.value,Dh(s,d,u);return s.length=d,s},Yl=zh,zl=is.codeAt,Kl=function(e){var t,r,n=[],a=ac(nc(oc(e),qh,"."),".");for(t=0;t<a.length;t++)r=a[t],rc(n,$h(Wh,r)?"xn--"+hc(r):r);return tc(n,".")},Jl=sa,Wl=Jo,ql=lc,Vl={URLSearchParams:Hl,getState:Jc},Zl=Or,$l=Zl.set,Ql=Zl.getterFor("URL"),Xl=Vl.URLSearchParams,eu=Vl.getState,tu=Bl.URL,ru=Bl.TypeError,nu=Bl.parseInt,au=Math.floor,ou=Math.pow,iu=Ul("".charAt),su=Ul(/./.exec),hu=Ul([].join),cu=Ul(1..toString),lu=Ul([].pop),uu=Ul([].push),fu=Ul("".replace),du=Ul([].shift),gu=Ul("".split),mu=Ul("".slice),pu=Ul("".toLowerCase),yu=Ul([].unshift),bu="Invalid scheme",vu="Invalid host",Su="Invalid port",wu=/[a-z]/i,Au=/[\d+-.a-z]/i,Ru=/\d/,Hu=/^0x/i,Tu=/^[0-7]+$/,Cu=/^\d+$/,Pu=/^[\da-f]+$/i,Iu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Mu=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ou=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Eu=/[\t\n\r]/g,Lu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)yu(t,e%256),e=au(e/256);return hu(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,a=0,o=0;o<8;o++)0!==e[o]?(a>r&&(t=n,r=a),n=null,a=0):(null===n&&(n=o),++a);return a>r&&(t=n,r=a),t}(e),r=0;r<8;r++)a&&0===e[r]||(a&&(a=!1),n===r?(t+=r?":":"::",a=!0):(t+=cu(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ku={},Bu=_l({},ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Du=_l({},Bu,{"#":1,"?":1,"{":1,"}":1}),Uu=_l({},Du,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fu=function(e,t){var r=zl(e,0);return r>32&&r<127&&!jl(t,e)?e:encodeURIComponent(e)},Nu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},xu=function(e,t){var r;return 2==e.length&&su(wu,iu(e,0))&&(":"==(r=iu(e,1))||!t&&"|"==r)},ju=function(e){var t;return e.length>1&&xu(mu(e,0,2))&&(2==e.length||"/"===(t=iu(e,2))||"\\"===t||"?"===t||"#"===t)},_u=function(e){return"."===e||"%2e"===pu(e)},Gu={},Yu={},zu={},Ku={},Ju={},Wu={},qu={},Vu={},Zu={},$u={},Qu={},Xu={},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf=function(e,t,r){var n,a,o,i=Jl(e);if(t){if(a=this.parse(i))throw ru(a);this.searchParams=null}else{if(void 0!==r&&(n=new lf(r,!0)),a=this.parse(i,null,n))throw ru(a);(o=eu(new Xl)).bindURL(this),this.searchParams=o}};lf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||Gu,l=0,u="",f=!1,d=!1,g=!1;for(e=Jl(e),t||(h.scheme="",h.username="",h.password="",h.host=null,h.port=null,h.path=[],h.query=null,h.fragment=null,h.cannotBeABaseURL=!1,e=fu(e,Ou,"")),e=fu(e,Eu,""),n=Gl(e);l<=n.length;){switch(a=n[l],c){case Gu:if(!a||!su(wu,a)){if(t)return bu;c=zu;continue}u+=pu(a),c=Yu;break;case Yu:if(a&&(su(Au,a)||"+"==a||"-"==a||"."==a))u+=pu(a);else{if(":"!=a){if(t)return bu;u="",c=zu,l=0;continue}if(t&&(h.isSpecial()!=jl(Nu,u)||"file"==u&&(h.includesCredentials()||null!==h.port)||"file"==h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Nu[h.scheme]==h.port&&(h.port=null));u="","file"==h.scheme?c=tf:h.isSpecial()&&r&&r.scheme==h.scheme?c=Ku:h.isSpecial()?c=Vu:"/"==n[l+1]?(c=Ju,l++):(h.cannotBeABaseURL=!0,uu(h.path,""),c=sf)}break;case zu:if(!r||r.cannotBeABaseURL&&"#"!=a)return bu;if(r.cannotBeABaseURL&&"#"==a){h.scheme=r.scheme,h.path=Yl(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=cf;break}c="file"==r.scheme?tf:Wu;continue;case Ku:if("/"!=a||"/"!=n[l+1]){c=Wu;continue}c=Zu,l++;break;case Ju:if("/"==a){c=$u;break}c=of;continue;case Wu:if(h.scheme=r.scheme,a==Ol)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query;else if("/"==a||"\\"==a&&h.isSpecial())c=qu;else if("?"==a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.path.length--,c=of;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}break;case qu:if(!h.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=of;continue}c=$u}else c=Zu;break;case Vu:if(c=Zu,"/"!=a||"/"!=iu(u,l+1))continue;l++;break;case Zu:if("/"!=a&&"\\"!=a){c=$u;continue}break;case $u:if("@"==a){f&&(u="%40"+u),f=!0,o=Gl(u);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Fu(p,Uu);g?h.password+=y:h.username+=y}else g=!0}u=""}else if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(f&&""==u)return"Invalid authority";l-=Gl(u).length+1,u="",c=Qu}else u+=a;break;case Qu:case Xu:if(t&&"file"==h.scheme){c=nf;continue}if(":"!=a||d){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()){if(h.isSpecial()&&""==u)return vu;if(t&&""==u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=af,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),u+=a}else{if(""==u)return vu;if(i=h.parseHost(u))return i;if(u="",c=ef,t==Xu)return}break;case ef:if(!su(Ru,a)){if(a==Ol||"/"==a||"?"==a||"#"==a||"\\"==a&&h.isSpecial()||t){if(""!=u){var b=nu(u,10);if(b>65535)return Su;h.port=h.isSpecial()&&b===Nu[h.scheme]?null:b,u=""}if(t)return;c=af;continue}return Su}u+=a;break;case tf:if(h.scheme="file","/"==a||"\\"==a)c=rf;else{if(!r||"file"!=r.scheme){c=of;continue}if(a==Ol)h.host=r.host,h.path=Yl(r.path),h.query=r.query;else if("?"==a)h.host=r.host,h.path=Yl(r.path),h.query="",c=hf;else{if("#"!=a){ju(hu(Yl(n,l),""))||(h.host=r.host,h.path=Yl(r.path),h.shortenPath()),c=of;continue}h.host=r.host,h.path=Yl(r.path),h.query=r.query,h.fragment="",c=cf}}break;case rf:if("/"==a||"\\"==a){c=nf;break}r&&"file"==r.scheme&&!ju(hu(Yl(n,l),""))&&(xu(r.path[0],!0)?uu(h.path,r.path[0]):h.host=r.host),c=of;continue;case nf:if(a==Ol||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&xu(u))c=of;else if(""==u){if(h.host="",t)return;c=af}else{if(i=h.parseHost(u))return i;if("localhost"==h.host&&(h.host=""),t)return;u="",c=af}continue}u+=a;break;case af:if(h.isSpecial()){if(c=of,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Ol&&(c=of,"/"!=a))continue}else h.fragment="",c=cf;else h.query="",c=hf;break;case of:if(a==Ol||"/"==a||"\\"==a&&h.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=pu(s=u))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(h.shortenPath(),"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,"")):_u(u)?"/"==a||"\\"==a&&h.isSpecial()||uu(h.path,""):("file"==h.scheme&&!h.path.length&&xu(u)&&(h.host&&(h.host=""),u=iu(u,0)+":"),uu(h.path,u)),u="","file"==h.scheme&&(a==Ol||"?"==a||"#"==a))for(;h.path.length>1&&""===h.path[0];)du(h.path);"?"==a?(h.query="",c=hf):"#"==a&&(h.fragment="",c=cf)}else u+=Fu(a,Du);break;case sf:"?"==a?(h.query="",c=hf):"#"==a?(h.fragment="",c=cf):a!=Ol&&(h.path[0]+=Fu(a,ku));break;case hf:t||"#"!=a?a!=Ol&&("'"==a&&h.isSpecial()?h.query+="%27":h.query+="#"==a?"%23":Fu(a,ku)):(h.fragment="",c=cf);break;case cf:a!=Ol&&(h.fragment+=Fu(a,Bu))}l++}},parseHost:function(e){var t,r,n;if("["==iu(e,0)){if("]"!=iu(e,e.length-1))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=[0,0,0,0,0,0,0,0],c=0,l=null,u=0,f=function(){return iu(e,u)};if(":"==f()){if(":"!=iu(e,1))return;u+=2,l=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=r=0;r<4&&su(Pu,f());)t=16*t+nu(f(),16),u++,r++;if("."==f()){if(0==r)return;if(u-=r,c>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;u++}if(!su(Ru,f()))return;for(;su(Ru,f());){if(o=nu(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;u++}h[c]=256*h[c]+a,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==f()){if(u++,!f())return}else if(f())return;h[c++]=t}else{if(null!==l)return;u++,l=++c}}if(null!==l)for(i=c-l,c=7;0!=c&&i>0;)s=h[c],h[c--]=h[l+i-1],h[l+--i]=s;else if(8!=c)return;return h}(mu(e,1,-1)),!t)return vu;this.host=t}else if(this.isSpecial()){if(e=Kl(e),su(Iu,e))return vu;if(t=function(e){var t,r,n,a,o,i,s,h=gu(e,".");if(h.length&&""==h[h.length-1]&&h.length--,(t=h.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=h[n]))return e;if(o=10,a.length>1&&"0"==iu(a,0)&&(o=su(Hu,a)?16:8,a=mu(a,8==o?1:2)),""===a)i=0;else{if(!su(10==o?Cu:8==o?Tu:Pu,a))return e;i=nu(a,o)}uu(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=ou(256,5-t))return null}else if(i>255)return null;for(s=lu(r),n=0;n<r.length;n++)s+=r[n]*ou(256,3-n);return s}(e),null===t)return vu;this.host=t}else{if(su(Mu,e))return vu;for(t="",r=Gl(e),n=0;n<r.length;n++)t+=Fu(r[n],ku);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return jl(Nu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&xu(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,a=e.host,o=e.port,i=e.path,s=e.query,h=e.fragment,c=t+":";return null!==a?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=Lu(a),null!==o&&(c+=":"+o)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+hu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw ru(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new uf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Lu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Jl(e)+":",Gu)},getUsername:function(){return this.username},setUsername:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Fu(t[r],Uu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Gl(Jl(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Fu(t[r],Uu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Lu(e):Lu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Qu)},getHostname:function(){var e=this.host;return null===e?"":Lu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Xu)},getPort:function(){var e=this.port;return null===e?"":Jl(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Jl(e))?this.port=null:this.parse(e,ef))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+hu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,af))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Jl(e))?this.query=null:("?"==iu(e,0)&&(e=mu(e,1)),this.query="",this.parse(e,hf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Jl(e))?("#"==iu(e,0)&&(e=mu(e,1)),this.fragment="",this.parse(e,cf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var uf=function(e){var t=xl(this,ff),r=ql(arguments.length,1)>1?arguments[1]:void 0,n=$l(t,new lf(e,!1,r));Ll||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ff=uf.prototype,df=function(e,t){return{get:function(){return Ql(this)[e]()},set:t&&function(e){return Ql(this)[t](e)},configurable:!0,enumerable:!0}};if(Ll&&(Nl(ff,"href",df("serialize","setHref")),Nl(ff,"origin",df("getOrigin")),Nl(ff,"protocol",df("getProtocol","setProtocol")),Nl(ff,"username",df("getUsername","setUsername")),Nl(ff,"password",df("getPassword","setPassword")),Nl(ff,"host",df("getHost","setHost")),Nl(ff,"hostname",df("getHostname","setHostname")),Nl(ff,"port",df("getPort","setPort")),Nl(ff,"pathname",df("getPathname","setPathname")),Nl(ff,"search",df("getSearch","setSearch")),Nl(ff,"searchParams",df("getSearchParams")),Nl(ff,"hash",df("getHash","setHash"))),Fl(ff,"toJSON",(function(){return Ql(this).serialize()}),{enumerable:!0}),Fl(ff,"toString",(function(){return Ql(this).serialize()}),{enumerable:!0}),tu){var gf=tu.createObjectURL,mf=tu.revokeObjectURL;gf&&Fl(uf,"createObjectURL",Dl(gf,tu)),mf&&Fl(uf,"revokeObjectURL",Dl(mf,tu))}Wl(uf,"URL"),El({global:!0,constructor:!0,forced:!kl,sham:!Ll},{URL:uf});var pf,yf=q,bf=M,vf=nt("match"),Sf=function(e){var t;return yf(e)&&(void 0!==(t=e[vf])?!!t:"RegExp"==bf(e))},wf=TypeError,Af=nt("match"),Rf=Zn,Hf=Ss,Tf=s.f,Cf=on,Pf=sa,If=function(e){if(Sf(e))throw wf("The method doesn't accept regular expressions");return e},Mf=N,Of=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Af]=!1,"/./"[e](t)}catch(e){}}return!1},Ef=Hf("".startsWith),Lf=Hf("".slice),kf=Math.min,Bf=Of("startsWith");Rf({target:"String",proto:!0,forced:!!(Bf||(pf=Tf(String.prototype,"startsWith"),!pf||pf.writable))&&!Bf},{startsWith:function(e){var t=Pf(Mf(this));If(e);var r=Cf(kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Pf(e);return Ef?Ef(t,n,r):Lf(t,r,r+n.length)===n}});var Df=d,Uf=Ge,Ff=X,Nf=ca,xf=RegExp.prototype,jf=rr.PROPER,_f=Wr,Gf=Bt,Yf=sa,zf=h,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in xf||Uf(e,"flags")||!Ff(xf,e)?t:Df(Nf,e)},Jf="toString",Wf=RegExp.prototype.toString,qf=zf((function(){return"/a/b"!=Wf.call({source:"a",flags:"b"})})),Vf=jf&&Wf.name!=Jf;(qf||Vf)&&_f(RegExp.prototype,Jf,(function(){var e=Gf(this);return"/"+Yf(e.source)+"/"+Yf(Kf(e))}),{unsafe:!0});var Zf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},$f={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function Qf(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:$f[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Xf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ed(e){return e<10?"0"+e:""+e}function td(e){return e<0?"-00"+td(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function rd(e){return td(e.getFullYear())+"-"+ed(e.getMonth()+1)+"-"+ed(e.getDate())}const nd=[[t.flags.MAJOR_FAST,"holiday","major","fast"],[t.flags.CHANUKAH_CANDLES,"holiday","major"],[t.flags.DAF_YOMI,"dafyomi"],[t.flags.HEBREW_DATE,"hebdate"],[t.flags.MINOR_FAST,"holiday","fast"],[t.flags.MINOR_HOLIDAY,"holiday","minor"],[t.flags.MISHNA_YOMI,"mishnayomi"],[t.flags.YERUSHALMI_YOMI,"yerushalmi"],[t.flags.MODERN_HOLIDAY,"holiday","modern"],[t.flags.MOLAD,"molad"],[t.flags.OMER_COUNT,"omer"],[t.flags.PARSHA_HASHAVUA,"parashat"],[t.flags.ROSH_CHODESH,"roshchodesh"],[t.flags.SHABBAT_MEVARCHIM,"mevarchim"],[t.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[t.flags.USER_EVENT,"user"]];function ad(e){const t=e.getDesc();switch(t){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];const r=e.getFlags();for(let e=0;e<nd.length;e++){const t=nd[e];if(r&t[0])return t.slice(1)}switch(t){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}function od(e,t){let r="Hebcal";const n=t.location;if(t.yahrzeit)r+=" Yahrzeits and Anniversaries";else if(n&&n.name){const e=n.name.indexOf(",");r+=" "+(-1==e?n.name:n.name.substring(0,e))}else t.il?r+=" Israel":r+=" Diaspora";if("1"==t.subscribe)return r;if(t.year&&(t.isHebrewYear||0==e.length))r+=" "+t.year;else if(e.length){const t=e[0].getDate().greg(),n=e[e.length-1].getDate().greg();if(t.getFullYear()!=n.getFullYear())r+=" "+t.getFullYear()+"-"+n.getFullYear();else if(t.getMonth()==n.getMonth()){r+=" "+new Intl.DateTimeFormat("en-US",{month:"long"}).format(t)+" "+t.getFullYear()}else r+=" "+t.getFullYear()}return r}function id(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Zf[e.getDesc()]||Zf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const sd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function hd(e,n){const a=e.getFlags();if(a&sd)return"";if(void 0!==e.eventTime)return"";const o=a&t.flags.PARSHA_HASHAVUA?r.getLeyningForParshaHaShavua(e,n):r.getLeyningForHoliday(e,n);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function cd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=hd(e,r);if(t)return t}catch(e){}return e.memo||Zf[e.basename()]}function ld(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),h=e.startsWith("/omer/");if(i||s||h)return o.host="hebcal.com",o.pathname=i?"/h/"+e.substring(10):s?"/s/"+e.substring(8):"/o/"+e.substring(6),a&&(a.startsWith("ical-")||a.startsWith("pdf-"))||(r&&o.searchParams.set("us",r),n&&o.searchParams.set("um",n)),a&&o.searchParams.set("uc",a),o.toString()}return(r=i?r:"hebcal.com")&&o.searchParams.set("utm_source",r),n&&o.searchParams.set("utm_medium",n),a&&o.searchParams.set("utm_campaign",a),o.toString()}function ud(e){if(void 0!==e.eventTime)return!0;const r=e.getFlags();if(r&t.flags.HEBREW_DATE){return 1!==e.getDate().getDate()}return!!(r&(t.flags.DAF_YOMI|t.flags.YERUSHALMI_YOMI))||(!!(r&t.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(r&t.flags.SHABBAT_MEVARCHIM))}const fd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',dd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function gd(e,r){const n=e.getDate().greg(),a=n.getDate(),o=n.getMonth()+1,i=String(n.getFullYear()).padStart(4,"0"),s=r.euro?'"'.concat(a,"/").concat(o,"/").concat(i,'"'):'"'.concat(o,"/").concat(a,"/").concat(i,'"');let h="",c="",l="",u='"true"';const f=Boolean(e.eventTime);let d=ud(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);c=h='"'.concat(n,'"'),l=s,u='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else{const t=dd[ad(e)[0]];"string"==typeof t&&(g=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||id(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''").replace(/\n/g," / "),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function md(e){return rd(e.getDate().greg())}function pd(e,a){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=Boolean(e.eventTime),s=e.getDate(),h=s.greg(),c="object"==typeof a.location?a.location.getTzid():"UTC",l=i?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):rd(h),u=ad(e),f=e.getFlags();let d=ud(e)?e.renderBrief(a.locale):e.render(a.locale);const g=e.getDesc(),m="Havdalah"===g||"Candle lighting"===g;if(m){d+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a)}const p={title:d,date:l};i||(p.hdate=s.toString()),p.category=u[0],u.length>1&&(p.subcat=u[1]),"holiday"===u[0]&&f&t.flags.CHAG&&(p.yomtov=!0),d!=g&&(p.title_orig=g);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!m){if(o){const o=a.il,i=f===t.flags.PARSHA_HASHAVUA,h=i?r.getLeyningForParshaHaShavua(e,o):r.getLeyningForHoliday(e,o);if(h){p.leyning=bd(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=yd({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=ld(i,a.il,e,t,r)}}if(f&t.flags.OMER_COUNT&&(p.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}}),a.heDateParts&&!i||f&t.flags.HEBREW_DATE){const e=s.getFullYear(),r=s.getMonthName(),n=s.getDate();p.heDateParts={y:t.gematriya(e),m:t.Locale.gettext(r,"he-x-NoNikud"),d:t.gematriya(n)}}const b=e.memo||Zf[e.basename()];return b?p.memo=b:void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function yd(e,t){return Object.keys(t).forEach((n=>{const a=t[n];if(void 0!==a){e["M"==n?"maftir":n]=r.formatAliyahWithBook(a)}})),e}function bd(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&yd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const vd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Sd(e,r){let n=e.render();const a=e.getDate().greg(),o=function(e,t,r,n){if(t){const t=e.eventTime;return t?t.toUTCString():r.toUTCString().replace(/ \S+ GMT$/," 00:00:00 GMT")}return n}(e,r.evPubDate,a,r.lastBuildDate),i=r.location,s=!!i&&i.getIsrael(),h=i?i.getTzid():"UTC",c=r&&r.utmSource||"shabbat1c",l=r&&r.utmMedium||"rss",u=function(e,r,n,a,o,i){let s,h;const c=e.eventTime||e.getDate().greg(),l=t.Zmanim.formatISOWithTimeZone(n,c),u=l.substring(0,l.indexOf("T")),f=u.replace(/-/g,""),d=Xf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=ld(m,r,o,i).replace(/&/g,"&amp;"),h="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(u),t=ld(e,r,o,i).replace(/&/g,"&amp;");h=e.replace(/&/g,"&amp;")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],g=ad(e)[0],m=e.getDesc();let p;if("Havdalah"===m||"Candle lighting"===m){const r=n.indexOf(": ");if(-1!=r){const a={location:i,il:s,locale:t.Locale.getLocaleName()},o=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",a);n=n.substring(0,r)+": "+o}}else p=cd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==g?"<geo:lat>".concat(i.getLatitude(),"</geo:lat>\n<geo:long>").concat(i.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(n,"</title>\n<link>").concat(f,'</link>\n<guid isPermaLink="false">').concat(d,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(g,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=ld,e.countryNames=$f,e.eventToClassicApiObject=pd,e.eventToCsv=gd,e.eventToFullCalendar=function(e,r,n){const a=ad(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:ud(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):rd(e.getDate().greg()),allDay:!i,className:a.join(" ")},h=e.renderBrief("he");h&&(s.hebrew=t.Locale.hebrewStripNikkud(h));const c=e.url();c&&(s.url=ld(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=cd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Sd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:od(e,t),date:(new Date).toISOString()};return n.location=Qf(t.location),e.length&&(n.range={start:md(e[0]),end:md(e[e.length-1])}),n.items=e.map((e=>pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[fd].concat(e.map((e=>gd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss2=function(e,t){t.dayFormat=new Intl.DateTimeFormat("en-US",{weekday:"long",day:"2-digit",month:"long",year:"numeric"});const r=t.location,n=t.mainUrl,a=t.buildDate=t.buildDate||new Date,o=a.getFullYear(),i=t.lastBuildDate=a.toUTCString(),s=t.title||od(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=ld(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&amp;"),f=t.selfUrl.replace(/&/g,"&amp;"),d=t.lang||vd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(u,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(h,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=Sd(e,t)})),g+="</channel>\n</rss>\n",g},e.getCalendarTitle=od,e.getDownloadFilename=function(e){let r="hebcal";if(e.year)r+="_"+e.year,e.isHebrewYear&&(r+="h"),e.month&&(r+="_"+e.month);else if("object"==typeof e.start&&"object"==typeof e.end){const n=new t.HDate(e.start),a=new t.HDate(e.end),o=n.greg().getFullYear(),i=a.greg().getFullYear();r+=o===i?"_"+o:"_"+o+"_"+i}if("object"==typeof e.location){const t=e.location,n=t.zip||t.asciiname||t.getShortName();n&&(r+="_"+Xf(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=ad,e.getHolidayDescription=id,e.holidayDescription=Zf,e.locationToPlainObj=Qf,e.makeAnchor=Xf,e.makeMemo=cd,e.makeTorahMemoText=hd,e.pad2=ed,e.pad4=td,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=ud,e.toISOString=rd,e}({},hebcal,hebcal__leyning,hebcal__triennial);
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v4.3.11 */
1
+ /*! @hebcal/rest-api v4.3.12 */
2
2
  var hebcalFullCalendar = (function (exports, core, leyning) {
3
3
  'use strict';
4
4
 
@@ -126,6 +126,26 @@ function makeTorahMemoText(ev, il) {
126
126
  return memo;
127
127
  }
128
128
 
129
+ /**
130
+ * @private
131
+ * @param {Event} ev
132
+ * @param {boolean} il
133
+ * @return {string}
134
+ */
135
+ function makeMemo(ev, il) {
136
+ if (ev.getFlags() & core.flags.PARSHA_HASHAVUA) {
137
+ try {
138
+ var memo = makeTorahMemoText(ev, il);
139
+ if (memo) {
140
+ return memo;
141
+ }
142
+ } catch (err) {
143
+ // fallthru
144
+ }
145
+ }
146
+ return ev.memo || holidayDescription[ev.basename()];
147
+ }
148
+
129
149
  /**
130
150
  * Appends utm_source and utm_medium parameters to a URL
131
151
  * @param {string} url
@@ -238,7 +258,7 @@ function eventToFullCalendar(ev, tzid, il) {
238
258
  var desc = ev.getDesc();
239
259
  var candles = desc === 'Havdalah' || desc === 'Candle lighting';
240
260
  if (!candles) {
241
- var memo = mask & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
261
+ var memo = makeMemo(ev, il);
242
262
  if (memo) {
243
263
  result.description = memo;
244
264
  } else if (typeof ev.linkedEvent !== 'undefined') {
@@ -1,2 +1,2 @@
1
- /*! @hebcal/rest-api v4.3.11 */
2
- var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;return e.eventToFullCalendar=function(e,t,h){var d=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),l=e.getFlags();"holiday"==d[0]&&l&a.flags.CHAG&&d.push("yomtov");var m=Boolean(e.eventTime),f=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),c={title:f,start:m?a.Zmanim.formatISOWithTimeZone(t,e.eventTime):s(e.getDate().greg()),allDay:!m,className:d.join(" ")},b=e.renderBrief("he");b&&(c.hebrew=a.Locale.hebrewStripNikkud(b));var y=e.url();y&&(c.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(y,h,"js","fc"));var u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){var g=l&a.flags.PARSHA_HASHAVUA?function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,h):e.memo||r[e.basename()];g?c.description=g:void 0!==e.linkedEvent&&(c.description=e.linkedEvent.render())}return c},e}({},hebcal,hebcal__leyning);
1
+ /*! @hebcal/rest-api v4.3.12 */
2
+ var hebcalFullCalendar=function(e,a,o){"use strict";var r={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Family Day":"Yom HaMishpacha, a day to honor the family unit, as a whole, and its centrality to our lives","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function t(e){return e<10?"0"+e:""+e}function h(e){return e<0?"-00"+h(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function s(e){return h(e.getFullYear())+"-"+t(e.getMonth()+1)+"-"+t(e.getDate())}var n=[[a.flags.MAJOR_FAST,"holiday","major","fast"],[a.flags.CHANUKAH_CANDLES,"holiday","major"],[a.flags.DAF_YOMI,"dafyomi"],[a.flags.HEBREW_DATE,"hebdate"],[a.flags.MINOR_FAST,"holiday","fast"],[a.flags.MINOR_HOLIDAY,"holiday","minor"],[a.flags.MISHNA_YOMI,"mishnayomi"],[a.flags.YERUSHALMI_YOMI,"yerushalmi"],[a.flags.MODERN_HOLIDAY,"holiday","modern"],[a.flags.MOLAD,"molad"],[a.flags.OMER_COUNT,"omer"],[a.flags.PARSHA_HASHAVUA,"parashat"],[a.flags.ROSH_CHODESH,"roshchodesh"],[a.flags.SHABBAT_MEVARCHIM,"mevarchim"],[a.flags.SPECIAL_SHABBAT,"holiday","shabbat"],[a.flags.USER_EVENT,"user"]];var i=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function d(e,t){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,r){var t=e.getFlags();if(t&i)return"";if(void 0!==e.eventTime)return"";var h=t&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,r):o.getLeyningForHoliday(e,r),s="";return h&&(h.summary||h.haftara)&&(h.summary&&(s+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(s+="\n"),h.haftara&&(s+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(s+=" | "+h.reason.haftara))),h&&h.sephardic&&(s+="\nHaftarah for Sephardim: "+h.sephardic),s}(e,t);if(h)return h}catch(e){}return e.memo||r[e.basename()]}return e.eventToFullCalendar=function(e,o,r){var t=function(e){var a=e.getDesc();switch(a){case"Candle lighting":return["candles"];case"Havdalah":return["havdalah"];case"Fast begins":case"Fast ends":return["zmanim","fast"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];for(var o=e.getFlags(),r=0;r<n.length;r++){var t=n[r];if(o&t[0])return t.slice(1)}switch(a){case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];default:return["holiday","major"]}}(e),h=e.getFlags();"holiday"==t[0]&&h&a.flags.CHAG&&t.push("yomtov");var i=Boolean(e.eventTime),l=function(e){if(void 0!==e.eventTime)return!0;var o=e.getFlags();return o&a.flags.HEBREW_DATE?1!==e.getDate().getDate():!!(o&(a.flags.DAF_YOMI|a.flags.YERUSHALMI_YOMI))||!!(o&a.flags.MINOR_FAST&&"Yom Kippur Katan"===e.getDesc().substring(0,16))||!!(o&a.flags.SHABBAT_MEVARCHIM)}(e)?e.renderBrief():e.render(),m={title:l,start:i?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):s(e.getDate().greg()),allDay:!i,className:t.join(" ")},f=e.renderBrief("he");f&&(m.hebrew=a.Locale.hebrewStripNikkud(f));var c=e.url();c&&(m.url=function(e,a,o,r,t){var h=new URL(e),s="www.hebcal.com"===h.host;if(s){a&&h.searchParams.set("i","on");var n=h.pathname,i=n.startsWith("/holidays/"),d=n.startsWith("/sedrot/"),l=n.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+n.substring(10):d?"/s/"+n.substring(8):"/o/"+n.substring(6),t&&(t.startsWith("ical-")||t.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),r&&h.searchParams.set("um",r)),t&&h.searchParams.set("uc",t),h.toString()}return(o=s?o:"hebcal.com")&&h.searchParams.set("utm_source",o),r&&h.searchParams.set("utm_medium",r),t&&h.searchParams.set("utm_campaign",t),h.toString()}(c,r,"js","fc"));var b=e.getDesc();if(!("Havdalah"===b||"Candle lighting"===b)){var y=d(e,r);y?m.description=y:void 0!==e.linkedEvent&&(m.description=e.linkedEvent.render())}return m},e}({},hebcal,hebcal__leyning);
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v4.3.11 */
1
+ /*! @hebcal/rest-api v4.3.12 */
2
2
  'use strict';
3
3
 
4
4
  var core = require('@hebcal/core');
@@ -275,6 +275,26 @@ function makeTorahMemoText(ev, il) {
275
275
  return memo;
276
276
  }
277
277
 
278
+ /**
279
+ * @private
280
+ * @param {Event} ev
281
+ * @param {boolean} il
282
+ * @return {string}
283
+ */
284
+ function makeMemo(ev, il) {
285
+ if (ev.getFlags() & core.flags.PARSHA_HASHAVUA) {
286
+ try {
287
+ const memo = makeTorahMemoText(ev, il);
288
+ if (memo) {
289
+ return memo;
290
+ }
291
+ } catch (err) {
292
+ // fallthru
293
+ }
294
+ }
295
+ return ev.memo || holidayDescription[ev.basename()];
296
+ }
297
+
278
298
  /**
279
299
  * Appends utm_source and utm_medium parameters to a URL
280
300
  * @param {string} url
@@ -749,7 +769,7 @@ function eventToRssItem2(ev, options) {
749
769
  subj = subj.substring(0, colon) + ': ' + time;
750
770
  }
751
771
  } else {
752
- memo = ev.getFlags() & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
772
+ memo = makeMemo(ev, il);
753
773
  }
754
774
  const dayFormat = options.dayFormat;
755
775
  const description = memo || dayFormat.format(evDate);
@@ -798,7 +818,7 @@ function eventToFullCalendar(ev, tzid, il) {
798
818
  const desc = ev.getDesc();
799
819
  const candles = desc === 'Havdalah' || desc === 'Candle lighting';
800
820
  if (!candles) {
801
- const memo = mask & core.flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
821
+ const memo = makeMemo(ev, il);
802
822
  if (memo) {
803
823
  result.description = memo;
804
824
  } else if (typeof ev.linkedEvent !== 'undefined') {
@@ -824,6 +844,7 @@ exports.getHolidayDescription = getHolidayDescription;
824
844
  exports.holidayDescription = holidayDescription;
825
845
  exports.locationToPlainObj = locationToPlainObj;
826
846
  exports.makeAnchor = makeAnchor;
847
+ exports.makeMemo = makeMemo;
827
848
  exports.makeTorahMemoText = makeTorahMemoText;
828
849
  exports.pad2 = pad2;
829
850
  exports.pad4 = pad4;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/rest-api v4.3.11 */
1
+ /*! @hebcal/rest-api v4.3.12 */
2
2
  import { flags, HDate, HebrewCalendar, Zmanim, Locale, gematriya } from '@hebcal/core';
3
3
  import { getLeyningForParshaHaShavua, getLeyningForHoliday, formatAliyahWithBook } from '@hebcal/leyning';
4
4
  import { getTriennialForParshaHaShavua } from '@hebcal/triennial';
@@ -273,6 +273,26 @@ function makeTorahMemoText(ev, il) {
273
273
  return memo;
274
274
  }
275
275
 
276
+ /**
277
+ * @private
278
+ * @param {Event} ev
279
+ * @param {boolean} il
280
+ * @return {string}
281
+ */
282
+ function makeMemo(ev, il) {
283
+ if (ev.getFlags() & flags.PARSHA_HASHAVUA) {
284
+ try {
285
+ const memo = makeTorahMemoText(ev, il);
286
+ if (memo) {
287
+ return memo;
288
+ }
289
+ } catch (err) {
290
+ // fallthru
291
+ }
292
+ }
293
+ return ev.memo || holidayDescription[ev.basename()];
294
+ }
295
+
276
296
  /**
277
297
  * Appends utm_source and utm_medium parameters to a URL
278
298
  * @param {string} url
@@ -747,7 +767,7 @@ function eventToRssItem2(ev, options) {
747
767
  subj = subj.substring(0, colon) + ': ' + time;
748
768
  }
749
769
  } else {
750
- memo = ev.getFlags() & flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
770
+ memo = makeMemo(ev, il);
751
771
  }
752
772
  const dayFormat = options.dayFormat;
753
773
  const description = memo || dayFormat.format(evDate);
@@ -796,7 +816,7 @@ function eventToFullCalendar(ev, tzid, il) {
796
816
  const desc = ev.getDesc();
797
817
  const candles = desc === 'Havdalah' || desc === 'Candle lighting';
798
818
  if (!candles) {
799
- const memo = mask & flags.PARSHA_HASHAVUA ? makeTorahMemoText(ev, il) : ev.memo || holidayDescription[ev.basename()];
819
+ const memo = makeMemo(ev, il);
800
820
  if (memo) {
801
821
  result.description = memo;
802
822
  } else if (typeof ev.linkedEvent !== 'undefined') {
@@ -806,4 +826,4 @@ function eventToFullCalendar(ev, tzid, il) {
806
826
  return result;
807
827
  }
808
828
 
809
- export { appendIsraelAndTracking, countryNames, eventToClassicApiObject, eventToCsv, eventToFullCalendar, eventToRssItem2, eventsToClassicApi, eventsToCsv, eventsToRss2, getCalendarTitle, getDownloadFilename, getEventCategories, getHolidayDescription, holidayDescription, locationToPlainObj, makeAnchor, makeTorahMemoText, pad2, pad4, renderTitleWithoutTime, shouldRenderBrief, toISOString };
829
+ export { appendIsraelAndTracking, countryNames, eventToClassicApiObject, eventToCsv, eventToFullCalendar, eventToRssItem2, eventsToClassicApi, eventsToCsv, eventsToRss2, getCalendarTitle, getDownloadFilename, getEventCategories, getHolidayDescription, holidayDescription, locationToPlainObj, makeAnchor, makeMemo, makeTorahMemoText, pad2, pad4, renderTitleWithoutTime, shouldRenderBrief, toISOString };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/rest-api",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "hebcal"
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@hebcal/core": "^3.47.1",
29
- "@hebcal/leyning": "^6.2.4",
30
- "@hebcal/triennial": "^1.0.4"
29
+ "@hebcal/leyning": "^7.0.0",
30
+ "@hebcal/triennial": "^1.1.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rollup -c",
@@ -38,30 +38,23 @@
38
38
  },
39
39
  "license": "BSD-2-Clause",
40
40
  "ava": {
41
- "files": [
42
- "src/**/*.spec.js"
43
- ],
44
- "require": [
45
- "@babel/register"
46
- ],
47
- "inherit": true,
48
- "verbose": true
41
+ "require": ["@babel/register"]
49
42
  },
50
43
  "devDependencies": {
51
44
  "@babel/core": "^7.20.5",
52
45
  "@babel/preset-env": "^7.20.2",
53
46
  "@babel/register": "^7.18.9",
54
47
  "@rollup/plugin-babel": "^6.0.3",
55
- "@rollup/plugin-commonjs": "^23.0.5",
56
- "@rollup/plugin-json": "^5.0.2",
48
+ "@rollup/plugin-commonjs": "^23.0.7",
49
+ "@rollup/plugin-json": "^6.0.0",
57
50
  "@rollup/plugin-node-resolve": "^15.0.1",
58
51
  "@rollup/plugin-terser": "^0.2.0",
59
52
  "ava": "^5.1.0",
60
53
  "core-js": "^3.26.1",
61
- "eslint": "^8.29.0",
54
+ "eslint": "^8.30.0",
62
55
  "eslint-config-google": "^0.14.0",
63
56
  "jsdoc": "^4.0.0",
64
57
  "jsdoc-to-markdown": "^8.0.0",
65
- "rollup": "^3.7.4"
58
+ "rollup": "^3.7.5"
66
59
  }
67
60
  }