@hebcal/rest-api 4.5.4 → 4.5.5
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 +28 -27
- package/dist/bundle.min.js +2 -2
- package/dist/fullcalendar.js +1 -1
- package/dist/fullcalendar.min.js +1 -1
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +3 -3
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.5 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyning, triennial) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -129,7 +129,7 @@ var $TypeError$a = TypeError;
|
|
|
129
129
|
// `RequireObjectCoercible` abstract operation
|
|
130
130
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
131
131
|
var requireObjectCoercible$4 = function (it) {
|
|
132
|
-
if (isNullOrUndefined$2(it)) throw $TypeError$a("Can't call method on " + it);
|
|
132
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
|
|
133
133
|
return it;
|
|
134
134
|
};
|
|
135
135
|
|
|
@@ -278,7 +278,7 @@ var $TypeError$9 = TypeError;
|
|
|
278
278
|
// `Assert: IsCallable(argument) is true`
|
|
279
279
|
var aCallable$4 = function (argument) {
|
|
280
280
|
if (isCallable$d(argument)) return argument;
|
|
281
|
-
throw $TypeError$9(tryToString$1(argument) + ' is not a function');
|
|
281
|
+
throw new $TypeError$9(tryToString$1(argument) + ' is not a function');
|
|
282
282
|
};
|
|
283
283
|
|
|
284
284
|
var aCallable$3 = aCallable$4;
|
|
@@ -304,7 +304,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
|
304
304
|
if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
305
305
|
if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$a(fn, input))) return val;
|
|
306
306
|
if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
307
|
-
throw $TypeError$8("Can't convert object to primitive value");
|
|
307
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
var shared$4 = {exports: {}};
|
|
@@ -337,10 +337,10 @@ var store$2 = sharedStore;
|
|
|
337
337
|
(shared$4.exports = function (key, value) {
|
|
338
338
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
339
339
|
})('versions', []).push({
|
|
340
|
-
version: '3.
|
|
340
|
+
version: '3.33.0',
|
|
341
341
|
mode: 'global',
|
|
342
342
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
343
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
343
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE',
|
|
344
344
|
source: 'https://github.com/zloirock/core-js'
|
|
345
345
|
});
|
|
346
346
|
|
|
@@ -417,7 +417,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
417
417
|
if (pref === undefined) pref = 'default';
|
|
418
418
|
result = call$9(exoticToPrim, input, pref);
|
|
419
419
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
420
|
-
throw $TypeError$7("Can't convert object to primitive value");
|
|
420
|
+
throw new $TypeError$7("Can't convert object to primitive value");
|
|
421
421
|
}
|
|
422
422
|
if (pref === undefined) pref = 'number';
|
|
423
423
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -502,7 +502,7 @@ var $TypeError$6 = TypeError;
|
|
|
502
502
|
// `Assert: Type(argument) is Object`
|
|
503
503
|
var anObject$b = function (argument) {
|
|
504
504
|
if (isObject$4(argument)) return argument;
|
|
505
|
-
throw $TypeError$6($String$3(argument) + ' is not an object');
|
|
505
|
+
throw new $TypeError$6($String$3(argument) + ' is not an object');
|
|
506
506
|
};
|
|
507
507
|
|
|
508
508
|
var DESCRIPTORS$9 = descriptors;
|
|
@@ -544,7 +544,7 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
544
544
|
if (IE8_DOM_DEFINE) try {
|
|
545
545
|
return $defineProperty(O, P, Attributes);
|
|
546
546
|
} catch (error) { /* empty */ }
|
|
547
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$5('Accessors not supported');
|
|
547
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
548
548
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
549
549
|
return O;
|
|
550
550
|
};
|
|
@@ -635,7 +635,7 @@ var getterFor = function (TYPE) {
|
|
|
635
635
|
return function (it) {
|
|
636
636
|
var state;
|
|
637
637
|
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
|
638
|
-
throw TypeError$3('Incompatible receiver, ' + TYPE + ' required');
|
|
638
|
+
throw new TypeError$3('Incompatible receiver, ' + TYPE + ' required');
|
|
639
639
|
} return state;
|
|
640
640
|
};
|
|
641
641
|
};
|
|
@@ -648,7 +648,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
648
648
|
store.set = store.set;
|
|
649
649
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
650
650
|
set = function (it, metadata) {
|
|
651
|
-
if (store.has(it)) throw TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
651
|
+
if (store.has(it)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
652
652
|
metadata.facade = it;
|
|
653
653
|
store.set(it, metadata);
|
|
654
654
|
return metadata;
|
|
@@ -663,7 +663,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
663
663
|
var STATE = sharedKey$2('state');
|
|
664
664
|
hiddenKeys$3[STATE] = true;
|
|
665
665
|
set = function (it, metadata) {
|
|
666
|
-
if (hasOwn$8(it, STATE)) throw TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
666
|
+
if (hasOwn$8(it, STATE)) throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
667
667
|
metadata.facade = it;
|
|
668
668
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
669
669
|
return metadata;
|
|
@@ -1059,7 +1059,7 @@ var classof$4 = classof$5;
|
|
|
1059
1059
|
var $String$1 = String;
|
|
1060
1060
|
|
|
1061
1061
|
var toString$4 = function (argument) {
|
|
1062
|
-
if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1062
|
+
if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1063
1063
|
return $String$1(argument);
|
|
1064
1064
|
};
|
|
1065
1065
|
|
|
@@ -1241,7 +1241,7 @@ var $RegExp$1 = global$5.RegExp;
|
|
|
1241
1241
|
|
|
1242
1242
|
var regexpUnsupportedDotAll = fails$7(function () {
|
|
1243
1243
|
var re = $RegExp$1('.', 's');
|
|
1244
|
-
return !(re.dotAll && re.
|
|
1244
|
+
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1245
1245
|
});
|
|
1246
1246
|
|
|
1247
1247
|
var fails$6 = fails$h;
|
|
@@ -1572,7 +1572,7 @@ var $TypeError$4 = TypeError;
|
|
|
1572
1572
|
|
|
1573
1573
|
var aPossiblePrototype$1 = function (argument) {
|
|
1574
1574
|
if (typeof argument == 'object' || isCallable$3(argument)) return argument;
|
|
1575
|
-
throw $TypeError$4("Can't set " + $String(argument) + ' as a prototype');
|
|
1575
|
+
throw new $TypeError$4("Can't set " + $String(argument) + ' as a prototype');
|
|
1576
1576
|
};
|
|
1577
1577
|
|
|
1578
1578
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1958,7 +1958,7 @@ var $TypeError$3 = TypeError;
|
|
|
1958
1958
|
|
|
1959
1959
|
var anInstance$2 = function (it, Prototype) {
|
|
1960
1960
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
1961
|
-
throw $TypeError$3('Incorrect invocation');
|
|
1961
|
+
throw new $TypeError$3('Incorrect invocation');
|
|
1962
1962
|
};
|
|
1963
1963
|
|
|
1964
1964
|
var DESCRIPTORS$2 = descriptors;
|
|
@@ -2077,7 +2077,7 @@ var empty = [];
|
|
|
2077
2077
|
var construct = getBuiltIn('Reflect', 'construct');
|
|
2078
2078
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2079
2079
|
var exec$2 = uncurryThis$4(constructorRegExp.exec);
|
|
2080
|
-
var INCORRECT_TO_STRING = !constructorRegExp.
|
|
2080
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2081
2081
|
|
|
2082
2082
|
var isConstructorModern = function isConstructor(argument) {
|
|
2083
2083
|
if (!isCallable$1(argument)) return false;
|
|
@@ -2153,7 +2153,7 @@ var $TypeError$2 = TypeError;
|
|
|
2153
2153
|
var getIterator$2 = function (argument, usingIterator) {
|
|
2154
2154
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
|
|
2155
2155
|
if (aCallable(iteratorMethod)) return anObject$2(call$3(iteratorMethod, argument));
|
|
2156
|
-
throw $TypeError$2(tryToString(argument) + ' is not iterable');
|
|
2156
|
+
throw new $TypeError$2(tryToString(argument) + ' is not iterable');
|
|
2157
2157
|
};
|
|
2158
2158
|
|
|
2159
2159
|
var bind$2 = functionBindContext;
|
|
@@ -2352,7 +2352,7 @@ var encode = function (input) {
|
|
|
2352
2352
|
// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
|
|
2353
2353
|
var handledCPCountPlusOne = handledCPCount + 1;
|
|
2354
2354
|
if (m - n > floor$2((maxInt - delta) / handledCPCountPlusOne)) {
|
|
2355
|
-
throw $RangeError(OVERFLOW_ERROR);
|
|
2355
|
+
throw new $RangeError(OVERFLOW_ERROR);
|
|
2356
2356
|
}
|
|
2357
2357
|
|
|
2358
2358
|
delta += (m - n) * handledCPCountPlusOne;
|
|
@@ -2361,7 +2361,7 @@ var encode = function (input) {
|
|
|
2361
2361
|
for (i = 0; i < input.length; i++) {
|
|
2362
2362
|
currentValue = input[i];
|
|
2363
2363
|
if (currentValue < n && ++delta > maxInt) {
|
|
2364
|
-
throw $RangeError(OVERFLOW_ERROR);
|
|
2364
|
+
throw new $RangeError(OVERFLOW_ERROR);
|
|
2365
2365
|
}
|
|
2366
2366
|
if (currentValue === n) {
|
|
2367
2367
|
// Represent delta as a generalized variable-length integer.
|
|
@@ -2404,7 +2404,7 @@ var stringPunycodeToAscii = function (input) {
|
|
|
2404
2404
|
var $TypeError$1 = TypeError;
|
|
2405
2405
|
|
|
2406
2406
|
var validateArgumentsLength$2 = function (passed, required) {
|
|
2407
|
-
if (passed < required) throw $TypeError$1('Not enough arguments');
|
|
2407
|
+
if (passed < required) throw new $TypeError$1('Not enough arguments');
|
|
2408
2408
|
return passed;
|
|
2409
2409
|
};
|
|
2410
2410
|
|
|
@@ -2617,7 +2617,7 @@ URLSearchParamsState.prototype = {
|
|
|
2617
2617
|
(first = call$1(entryNext, entryIterator)).done ||
|
|
2618
2618
|
(second = call$1(entryNext, entryIterator)).done ||
|
|
2619
2619
|
!call$1(entryNext, entryIterator).done
|
|
2620
|
-
) throw TypeError$2('Expected sequence with length 2');
|
|
2620
|
+
) throw new TypeError$2('Expected sequence with length 2');
|
|
2621
2621
|
push$1(this.entries, { key: $toString$2(first.value), value: $toString$2(second.value) });
|
|
2622
2622
|
}
|
|
2623
2623
|
} else for (var key in object) if (hasOwn$2(object, key)) {
|
|
@@ -3196,12 +3196,12 @@ var URLState = function (url, isBase, base) {
|
|
|
3196
3196
|
var baseState, failure, searchParams;
|
|
3197
3197
|
if (isBase) {
|
|
3198
3198
|
failure = this.parse(urlString);
|
|
3199
|
-
if (failure) throw TypeError$1(failure);
|
|
3199
|
+
if (failure) throw new TypeError$1(failure);
|
|
3200
3200
|
this.searchParams = null;
|
|
3201
3201
|
} else {
|
|
3202
3202
|
if (base !== undefined) baseState = new URLState(base, true);
|
|
3203
3203
|
failure = this.parse(urlString, null, baseState);
|
|
3204
|
-
if (failure) throw TypeError$1(failure);
|
|
3204
|
+
if (failure) throw new TypeError$1(failure);
|
|
3205
3205
|
searchParams = getInternalSearchParamsState(new URLSearchParams$1());
|
|
3206
3206
|
searchParams.bindURL(this);
|
|
3207
3207
|
this.searchParams = searchParams;
|
|
@@ -3690,7 +3690,7 @@ URLState.prototype = {
|
|
|
3690
3690
|
// https://url.spec.whatwg.org/#dom-url-href
|
|
3691
3691
|
setHref: function (href) {
|
|
3692
3692
|
var failure = this.parse(href);
|
|
3693
|
-
if (failure) throw TypeError$1(failure);
|
|
3693
|
+
if (failure) throw new TypeError$1(failure);
|
|
3694
3694
|
this.searchParams.update();
|
|
3695
3695
|
},
|
|
3696
3696
|
// https://url.spec.whatwg.org/#dom-url-origin
|
|
@@ -3942,7 +3942,7 @@ var $TypeError = TypeError;
|
|
|
3942
3942
|
|
|
3943
3943
|
var notARegexp = function (it) {
|
|
3944
3944
|
if (isRegExp(it)) {
|
|
3945
|
-
throw $TypeError("The method doesn't accept regular expressions");
|
|
3945
|
+
throw new $TypeError("The method doesn't accept regular expressions");
|
|
3946
3946
|
} return it;
|
|
3947
3947
|
};
|
|
3948
3948
|
|
|
@@ -4794,7 +4794,8 @@ function eventToRssItem2(ev, options) {
|
|
|
4794
4794
|
memo = makeMemo(ev, il);
|
|
4795
4795
|
}
|
|
4796
4796
|
const dayFormat = options.dayFormat;
|
|
4797
|
-
const
|
|
4797
|
+
const description0 = memo || dayFormat.format(evDate);
|
|
4798
|
+
const description = description0.indexOf('<') === -1 ? description0 : "<![CDATA[".concat(description0, "]]>");
|
|
4798
4799
|
const geoTags = cat0 == 'candles' ? "<geo:lat>".concat(location.getLatitude(), "</geo:lat>\n<geo:long>").concat(location.getLongitude(), "</geo:long>\n") : '';
|
|
4799
4800
|
return "<item>\n<title>".concat(subj, "</title>\n<link>").concat(link, "</link>\n<guid isPermaLink=\"false\">").concat(guid, "</guid>\n<description>").concat(description, "</description>\n<category>").concat(cat0, "</category>\n<pubDate>").concat(pubDate, "</pubDate>\n").concat(geoTags, "</item>\n");
|
|
4800
4801
|
}
|
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
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}()||a||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)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;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,T=w&&A.bind.bind(R,R),H=w?T:function(e){return function(){return R.apply(e,arguments)}},C=H,P=C({}.toString),I=C("".slice),k=function(e){return I(P(e),8,-1)},M=h,L=k,O=Object,E=H("".split),B=M((function(){return!O("z").propertyIsEnumerable(0)}))?function(e){return"String"===L(e)?E(e,""):O(e)}:O,D=function(e){return null==e},U=D,F=TypeError,x=function(e){if(U(e))throw F("Can't call method on "+e);return e},N=B,j=x,G=function(e){return N(j(e))},Y="object"==typeof document&&document.all,_={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},z=_.all,K=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=_.all,q=_.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,t){return arguments.length<2?(r=V[e],Z(r)?r:void 0):V[e]&&V[e][t];var r},Q=H({}.isPrototypeOf),X=i,ee="undefined"!=typeof navigator&&String(navigator.userAgent)||"",te=X.process,re=X.Deno,ne=te&&te.versions||re&&re.version,ae=ne&&ne.v8;ae&&(v=(b=ae.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&ee&&(!(b=ee.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=ee.match(/Chrome\/(\d+)/))&&(v=+b[1]);var oe=v,ie=h,se=i.String,he=!!Object.getOwnPropertySymbols&&!ie((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=$,ue=K,fe=Q,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(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)},Te=d,He=K,Ce=q,Pe=TypeError,Ie={exports:{}},ke=i,Me=Object.defineProperty,Le=function(e,t){try{Me(ke,e,{value:t,configurable:!0,writable:!0})}catch(r){ke[e]=t}return t},Oe=Le,Ee="__core-js_shared__",Be=i[Ee]||Oe(Ee,{}),De=Be;(Ie.exports=function(e,t){return De[e]||(De[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.32.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=Ie.exports,Fe=x,xe=Object,Ne=function(e){return xe(Fe(e))},je=Ne,Ge=H({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Ge(je(e),t)},_e=H,ze=0,Ke=Math.random(),Je=_e(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Ue,Ve=Ye,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=Re,st=function(e,t){var r,n;if("string"===t&&He(r=e.toString)&&!Ce(n=Te(r,e)))return n;if(He(r=e.valueOf)&&!Ce(n=Te(r,e)))return n;if("string"!==t&&He(r=e.toString)&&!Ce(n=Te(r,e)))return n;throw Pe("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!==Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Rt=G,Tt=ft,Ht=Ye,Ct=bt,Pt=Object.getOwnPropertyDescriptor;s.f=vt?Pt:function(e,t){if(e=Rt(e),t=Tt(t),Ct)try{return Pt(e,t)}catch(e){}if(Ht(e,t))return At(!St(wt.f,e,t),e[t])};var It={},kt=c&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=q,Lt=String,Ot=TypeError,Et=function(e){if(Mt(e))return e;throw Ot(Lt(e)+" is not an object")},Bt=c,Dt=bt,Ut=kt,Ft=Et,xt=ft,Nt=TypeError,jt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",_t="configurable",zt="writable";It.f=Bt?Ut?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r[zt]){var n=Gt(e,t);n&&n[zt]&&(e[t]=r.value,r={configurable:_t in r?r[_t]:n[_t],enumerable:Yt in r?r[Yt]:n[Yt],writable:!1})}return jt(e,t,r)}:jt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Dt)try{return jt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Nt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=It,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=c,Zt=Ye,$t=Function.prototype,Qt=Vt&&Object.getOwnPropertyDescriptor,Xt=Zt($t,"name"),er={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!Vt||Vt&&Qt($t,"name").configurable)},tr=K,rr=Be,nr=H(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,hr=K,cr=i.WeakMap,lr=hr(cr)&&/native code/.test(String(cr)),ur=We,fr=Ue("keys"),dr=function(e){return fr[e]||(fr[e]=ur(e))},mr={},gr=lr,pr=i,yr=q,br=Wt,vr=Ye,Sr=Be,wr=dr,Ar=mr,Rr="Object already initialized",Tr=pr.TypeError,Hr=pr.WeakMap;if(gr||Sr.state){var Cr=Sr.state||(Sr.state=new Hr);Cr.get=Cr.get,Cr.has=Cr.has,Cr.set=Cr.set,ar=function(e,t){if(Cr.has(e))throw Tr(Rr);return t.facade=e,Cr.set(e,t),t},or=function(e){return Cr.get(e)||{}},ir=function(e){return Cr.has(e)}}else{var Pr=wr("state");Ar[Pr]=!0,ar=function(e,t){if(vr(e,Pr))throw Tr(Rr);return t.facade=e,br(e,Pr,t),t},or=function(e){return vr(e,Pr)?e[Pr]:{}},ir=function(e){return vr(e,Pr)}}var Ir={set:ar,get:or,has:ir,enforce:function(e){return ir(e)?or(e):ar(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=or(t)).type!==e)throw Tr("Incompatible receiver, "+e+" required");return r}}},kr=H,Mr=h,Lr=K,Or=Ye,Er=c,Br=er.CONFIGURABLE,Dr=sr,Ur=Ir.enforce,Fr=Ir.get,xr=String,Nr=Object.defineProperty,jr=kr("".slice),Gr=kr("".replace),Yr=kr([].join),_r=Er&&!Mr((function(){return 8!==Nr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Kr=qt.exports=function(e,t,r){"Symbol("===jr(xr(t),0,7)&&(t="["+Gr(xr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Or(e,"name")||Br&&e.name!==t)&&(Er?Nr(e,"name",{value:t,configurable:!0}):e.name=t),_r&&r&&Or(r,"arity")&&e.length!==r.arity&&Nr(e,"length",{value:r.arity});try{r&&Or(r,"constructor")&&r.constructor?Er&&Nr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Or(n,"source")||(n.source=Yr(zr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Lr(this)&&Fr(this).source||Dr(this)}),"toString");var Jr=qt.exports,Wr=K,qr=It,Vr=Jr,Zr=Le,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=G,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(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}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ye,vn=G,Sn=yn.indexOf,wn=mr,An=H([].push),Rn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Tn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Rn,Cn=Tn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Cn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var In=$,kn=Qr,Mn=Pn,Ln=Et,On=H([].concat),En=In("Reflect","ownKeys")||function(e){var t=kn.f(Ln(e)),r=Mn.f;return r?On(t,r(e)):t},Bn=Ye,Dn=En,Un=s,Fn=It,xn=h,Nn=K,jn=/#|\.prototype\./,Gn=function(e,t){var r=_n[Yn(e)];return r===Kn||r!==zn&&(Nn(t)?xn(t):!!t)},Yn=Gn.normalize=function(e){return String(e).replace(jn,".").toLowerCase()},_n=Gn.data={},zn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Jn=Gn,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Le,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=k,oa=rt("toStringTag"),ia=Object,sa="Arguments"===aa(function(){return arguments}()),ha=ra?aa: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=ia(e),oa))?r:sa?aa(t):"Object"===(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=Et,da=function(){var e=fa(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},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Rn,wa=Tn,Aa=Object.keys||function(e){return Sa(e,wa)},Ra=c,Ta=kt,Ha=It,Ca=Et,Pa=G,Ia=Aa;va.f=Ra&&!Ta?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Pa(t),a=Ia(t),o=a.length,i=0;o>i;)Ha.f(e,r=a[i++],n[r]);return e};var ka,Ma=$("document","documentElement"),La=Et,Oa=va,Ea=Tn,Ba=mr,Da=Ma,Ua=pt,Fa="prototype",xa="script",Na=dr("IE_PROTO"),ja=function(){},Ga=function(e){return"<"+xa+">"+e+"</"+xa+">"},Ya=function(e){e.write(Ga("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{ka=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;_a="undefined"!=typeof document?document.domain&&ka?Ya(ka):(t=Ua("iframe"),r="java"+xa+":",t.style.display="none",Da.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ga("document.F=Object")),e.close(),e.F):Ya(ka);for(var n=Ea.length;n--;)delete _a[Fa][Ea[n]];return _a()};Ba[Na]=!0;var za,Ka,Ja=Object.create||function(e,t){var r;return null!==e?(ja[Fa]=La(e),r=new ja,ja[Fa]=null,r[Na]=e):r=_a(),void 0===t?r:Oa.f(r,t)},Wa=h,qa=i.RegExp,Va=Wa((function(){var e=qa(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Za=h,$a=i.RegExp,Qa=Za((function(){var e=$a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xa=d,eo=H,to=ua,ro=da,no=ba,ao=Ja,oo=Ir.get,io=Va,so=Qa,ho=Ue("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=eo("".charAt),fo=eo("".indexOf),mo=eo("".replace),go=eo("".slice),po=(Ka=/b*/g,Xa(co,za=/a/,"a"),Xa(co,Ka,"a"),0!==za.lastIndex||0!==Ka.lastIndex),yo=no.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=to(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Xa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,m=Xa(ro,h),g=h.source,p=0,y=l;if(d&&(m=mo(m,"y",""),-1===fo(m,"g")&&(m+="g"),y=go(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),bo&&(r=new RegExp("^"+g+"$(?!\\s)",m)),po&&(n=h.lastIndex),a=Xa(co,d?r:h,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Xa(ho,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=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=pt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=rt,Ro=Ja,To=It.f,Ho=Ao("unscopables"),Co=Array.prototype;void 0===Co[Ho]&&To(Co,Ho,{configurable:!0,value:Ro(null)});var Po,Io,ko,Mo={},Lo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Oo=Ye,Eo=K,Bo=Ne,Do=Lo,Uo=dr("IE_PROTO"),Fo=Object,xo=Fo.prototype,No=Do?Fo.getPrototypeOf:function(e){var t=Bo(e);if(Oo(t,Uo))return t[Uo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Fo?xo:null},jo=h,Go=K,Yo=q,_o=No,zo=$r,Ko=rt("iterator"),Jo=!1;[].keys&&("next"in(ko=[].keys())?(Io=_o(_o(ko)))!==Object.prototype&&(Po=Io):Jo=!0);var Wo=!Yo(Po)||jo((function(){var e={};return Po[Ko].call(e)!==e}));Wo&&(Po={}),Go(Po[Ko])||zo(Po,Ko,(function(){return this}));var qo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Jo},Vo=It.f,Zo=Ye,$o=rt("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ja,ti=S,ri=Qo,ni=Mo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=H,si=Se,hi=K,ci=String,li=TypeError,ui=function(e,t,r){try{return ii(si(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},fi=Et,di=function(e){if("object"==typeof e||hi(e))return e;throw li("Can't set "+ci(e)+" as a prototype")},mi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return fi(r),di(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,pi=d,yi=K,bi=oi,vi=No,Si=mi,wi=Qo,Ai=Wt,Ri=$r,Ti=Mo,Hi=er.PROPER,Ci=er.CONFIGURABLE,Pi=qo.IteratorPrototype,Ii=qo.BUGGY_SAFARI_ITERATORS,ki=rt("iterator"),Mi="keys",Li="values",Oi="entries",Ei=function(){return this},Bi=function(e,t,r,n,a,o,i){bi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ii&&e&&e in d)return d[e];switch(e){case Mi:case Li:case Oi:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[ki]||d["@@iterator"]||a&&d[a],g=!Ii&&m||l(a),p="Array"===t&&d.entries||m;if(p&&(s=vi(p.call(new e)))!==Object.prototype&&s.next&&(vi(s)!==Pi&&(Si?Si(s,Pi):yi(s[ki])||Ri(s,ki,Ei)),wi(s,u,!0)),Hi&&a===Li&&m&&m.name!==Li&&(Ci?Ai(d,"name",Li):(f=!0,g=function(){return pi(m,this)})),a)if(h={values:l(Li),keys:o?g:l(Mi),entries:l(Oi)},i)for(c in h)(Ii||f||!(c in d))&&Ri(d,c,h[c]);else gi({target:t,proto:!0,forced:Ii||f},h);return d[ki]!==g&&Ri(d,ki,g,{name:a}),Ti[t]=g,h},Di=function(e,t){return{value:e,done:t}},Ui=G,Fi=function(e){Co[Ho][e]=!0},xi=Mo,Ni=Ir,ji=It.f,Gi=Bi,Yi=Di,_i=c,zi="Array Iterator",Ki=Ni.set,Ji=Ni.getterFor(zi),Wi=Gi(Array,"Array",(function(e,t){Ki(this,{type:zi,target:Ui(e),index:0,kind:t})}),(function(){var e=Ji(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,Yi(void 0,!0);switch(r){case"keys":return Yi(n,!1);case"values":return Yi(t[n],!1)}return Yi([n,t[n]],!1)}),"values"),qi=xi.Arguments=xi.Array;if(Fi("keys"),Fi("values"),Fi("entries"),_i&&"values"!==qi.name)try{ji(qi,"name",{value:"values"})}catch(e){}var Vi=i,Zi={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},$i=wo,Qi=Wi,Xi=Wt,es=rt,ts=es("iterator"),rs=es("toStringTag"),ns=Qi.values,as=function(e,t){if(e){if(e[ts]!==ns)try{Xi(e,ts,ns)}catch(t){e[ts]=ns}if(e[rs]||Xi(e,rs,t),Zi[t])for(var r in Qi)if(e[r]!==Qi[r])try{Xi(e,r,Qi[r])}catch(t){e[r]=Qi[r]}}};for(var os in Zi)as(Vi[os]&&Vi[os].prototype,os);as($i,"DOMTokenList");var is=H,ss=rn,hs=ua,cs=x,ls=is("".charAt),us=is("".charCodeAt),fs=is("".slice),ds=function(e){return function(t,r){var n,a,o=hs(cs(t)),i=ss(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=us(o,i))<55296||n>56319||i+1===s||(a=us(o,i+1))<56320||a>57343?e?ls(o,i):n:e?fs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ms={codeAt:ds(!1),charAt:ds(!0)},gs=ms.charAt,ps=ua,ys=Ir,bs=Bi,vs=Di,Ss="String Iterator",ws=ys.set,As=ys.getterFor(Ss);bs(String,"String",(function(e){ws(this,{type:Ss,string:ps(e),index:0})}),(function(){var e,t=As(this),r=t.string,n=t.index;return n>=r.length?vs(void 0,!0):(e=gs(r,n),t.index+=e.length,vs(e,!1))}));var Rs=h,Ts=c,Hs=rt("iterator"),Cs=!Rs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Ts||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Hs]||"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"!==n||"x"!==new URL("http://x",void 0).host})),Ps=k,Is=H,ks=function(e){if("Function"===Ps(e))return Is(e)},Ms=Se,Ls=l,Os=ks(ks.bind),Es=function(e,t){return Ms(e),void 0===t?e:Ls?Os(e,t):function(){return e.apply(t,arguments)}},Bs=Jr,Ds=It,Us=function(e,t,r){return r.get&&Bs(r.get,t,{getter:!0}),r.set&&Bs(r.set,t,{setter:!0}),Ds.f(e,t,r)},Fs=Q,xs=TypeError,Ns=function(e,t){if(Fs(t,e))return e;throw xs("Incorrect invocation")},js=c,Gs=H,Ys=d,_s=h,zs=Aa,Ks=Pn,Js=m,Ws=Ne,qs=B,Vs=Object.assign,Zs=Object.defineProperty,$s=Gs([].concat),Qs=!Vs||_s((function(){if(js&&1!==Vs({b:1},Vs(Zs({},"a",{enumerable:!0,get:function(){Zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==Vs({},e)[r]||zs(Vs({},t)).join("")!==n}))?function(e,t){for(var r=Ws(e),n=arguments.length,a=1,o=Ks.f,i=Js.f;n>a;)for(var s,h=qs(arguments[a++]),c=o?$s(zs(h),o(h)):zs(h),l=c.length,u=0;l>u;)s=c[u++],js&&!Ys(i,h,s)||(r[s]=h[s]);return r}:Vs,Xs=d,eh=Et,th=Re,rh=Et,nh=function(e,t,r){var n,a;eh(e);try{if(!(n=th(e,"return"))){if("throw"===t)throw r;return r}n=Xs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return eh(n),r},ah=Mo,oh=rt("iterator"),ih=Array.prototype,sh=H,hh=h,ch=K,lh=ha,uh=sr,fh=function(){},dh=[],mh=$("Reflect","construct"),gh=/^\s*(?:class|function)\b/,ph=sh(gh.exec),yh=!gh.exec(fh),bh=function(e){if(!ch(e))return!1;try{return mh(fh,dh,e),!0}catch(e){return!1}},vh=function(e){if(!ch(e))return!1;switch(lh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yh||!!ph(gh,uh(e))}catch(e){return!0}};vh.sham=!0;var Sh=!mh||hh((function(){var e;return bh(bh.call)||!bh(Object)||!bh((function(){e=!0}))||e}))?vh:bh,wh=ft,Ah=It,Rh=S,Th=function(e,t,r){var n=wh(t);n in e?Ah.f(e,n,Rh(0,r)):e[n]=r},Hh=ha,Ch=Re,Ph=D,Ih=Mo,kh=rt("iterator"),Mh=function(e){if(!Ph(e))return Ch(e,kh)||Ch(e,"@@iterator")||Ih[Hh(e)]},Lh=d,Oh=Se,Eh=Et,Bh=pe,Dh=Mh,Uh=TypeError,Fh=function(e,t){var r=arguments.length<2?Dh(e):t;if(Oh(r))return Eh(Lh(r,e));throw Uh(Bh(e)+" is not iterable")},xh=Es,Nh=d,jh=Ne,Gh=function(e,t,r,n){try{return n?t(rh(r)[0],r[1]):t(r)}catch(t){nh(e,"throw",t)}},Yh=function(e){return void 0!==e&&(ah.Array===e||ih[oh]===e)},_h=Sh,zh=fn,Kh=Th,Jh=Fh,Wh=Mh,qh=Array,Vh=sn,Zh=fn,$h=Th,Qh=Array,Xh=Math.max,ec=function(e,t,r){for(var n=Zh(e),a=Vh(t,n),o=Vh(void 0===r?n:r,n),i=Qh(Xh(o-a,0)),s=0;a<o;a++,s++)$h(i,s,e[a]);return i.length=s,i},tc=H,rc=2147483647,nc=/[^\0-\u007E]/,ac=/[.\u3002\uFF0E\uFF61]/g,oc="Overflow: input needs wider integers to process",ic=RangeError,sc=tc(ac.exec),hc=Math.floor,cc=String.fromCharCode,lc=tc("".charCodeAt),uc=tc([].join),fc=tc([].push),dc=tc("".replace),mc=tc("".split),gc=tc("".toLowerCase),pc=function(e){return e+22+75*(e<26)},yc=function(e,t,r){var n=0;for(e=r?hc(e/700):e>>1,e+=hc(e/t);e>455;)e=hc(e/35),n+=36;return hc(n+36*e/(e+38))},bc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=lc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=lc(e,r++);56320==(64512&o)?fc(t,((1023&a)<<10)+(1023&o)+65536):(fc(t,a),r--)}else fc(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&&fc(t,cc(n));var h=t.length,c=h;for(h&&fc(t,"-");c<a;){var l=rc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>hc((rc-i)/u))throw ic(oc);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>rc)throw ic(oc);if(n===o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;fc(t,cc(pc(m+g%p))),f=hc(g/p),d+=36}fc(t,cc(pc(f))),s=yc(i,u,c===h),i=0,c++}}i++,o++}return uc(t,"")},vc=TypeError,Sc=function(e,t){if(e<t)throw vc("Not enough arguments");return e},wc=$r,Ac=ec,Rc=Math.floor,Tc=function(e,t){var r=e.length,n=Rc(r/2);return r<8?Hc(e,t):Cc(e,Tc(Ac(e,0,n),t),Tc(Ac(e,n),t),t)},Hc=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},Cc=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},Pc=ea,Ic=i,kc=d,Mc=H,Lc=c,Oc=Cs,Ec=$r,Bc=Us,Dc=function(e,t,r){for(var n in t)wc(e,n,t[n],r);return e},Uc=Qo,Fc=oi,xc=Ir,Nc=Ns,jc=K,Gc=Ye,Yc=Es,_c=ha,zc=Et,Kc=q,Jc=ua,Wc=Ja,qc=S,Vc=Fh,Zc=Mh,$c=Sc,Qc=Tc,Xc=rt("iterator"),el="URLSearchParams",tl=el+"Iterator",rl=xc.set,nl=xc.getterFor(el),al=xc.getterFor(tl),ol=Object.getOwnPropertyDescriptor,il=function(e){if(!Lc)return Ic[e];var t=ol(Ic,e);return t&&t.value},sl=il("fetch"),hl=il("Request"),cl=il("Headers"),ll=hl&&hl.prototype,ul=cl&&cl.prototype,fl=Ic.RegExp,dl=Ic.TypeError,ml=Ic.decodeURIComponent,gl=Ic.encodeURIComponent,pl=Mc("".charAt),yl=Mc([].join),bl=Mc([].push),vl=Mc("".replace),Sl=Mc([].shift),wl=Mc([].splice),Al=Mc("".split),Rl=Mc("".slice),Tl=/\+/g,Hl=Array(4),Cl=function(e){return Hl[e-1]||(Hl[e-1]=fl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Pl=function(e){try{return ml(e)}catch(t){return e}},Il=function(e){var t=vl(e,Tl," "),r=4;try{return ml(t)}catch(e){for(;r;)t=vl(t,Cl(r--),Pl);return t}},kl=/[!'()~]|%20/g,Ml={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ll=function(e){return Ml[e]},Ol=function(e){return vl(gl(e),kl,Ll)},El=Fc((function(e,t){rl(this,{type:tl,iterator:Vc(nl(e).entries),kind:t})}),"Iterator",(function(){var e=al(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),Bl=function(e){this.entries=[],this.url=null,void 0!==e&&(Kc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===pl(e,0)?Rl(e,1):e:Jc(e)))};Bl.prototype={type:el,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Zc(e);if(h)for(r=(t=Vc(e,h)).next;!(n=kc(r,t)).done;){if(o=(a=Vc(zc(n.value))).next,(i=kc(o,a)).done||(s=kc(o,a)).done||!kc(o,a).done)throw dl("Expected sequence with length 2");bl(this.entries,{key:Jc(i.value),value:Jc(s.value)})}else for(var c in e)Gc(e,c)&&bl(this.entries,{key:c,value:Jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=Al(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=Al(t,"="),bl(this.entries,{key:Il(Sl(r)),value:Il(yl(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],bl(r,Ol(e.key)+"="+Ol(e.value));return yl(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Dl=function(){Nc(this,Ul);var e=rl(this,new Bl(arguments.length>0?arguments[0]:void 0));Lc||(this.size=e.entries.length)},Ul=Dl.prototype;if(Dc(Ul,{append:function(e,t){var r=nl(this);$c(arguments.length,2),bl(r.entries,{key:Jc(e),value:Jc(t)}),Lc||this.length++,r.updateURL()},delete:function(e){for(var t=nl(this),r=$c(arguments.length,1),n=t.entries,a=Jc(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Jc(o),s=0;s<n.length;){var h=n[s];if(h.key!==a||void 0!==i&&h.value!==i)s++;else if(wl(n,s,1),void 0!==i)break}Lc||(this.size=n.length),t.updateURL()},get:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&bl(n,t[a].value);return n},has:function(e){for(var t=nl(this).entries,r=$c(arguments.length,1),n=Jc(e),a=r<2?void 0:arguments[1],o=void 0===a?a:Jc(a),i=0;i<t.length;){var s=t[i++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r=nl(this);$c(arguments.length,1);for(var n,a=r.entries,o=!1,i=Jc(e),s=Jc(t),h=0;h<a.length;h++)(n=a[h]).key===i&&(o?wl(a,h--,1):(o=!0,n.value=s));o||bl(a,{key:i,value:s}),Lc||(this.size=a.length),r.updateURL()},sort:function(){var e=nl(this);Qc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=nl(this).entries,n=Yc(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 El(this,"keys")},values:function(){return new El(this,"values")},entries:function(){return new El(this,"entries")}},{enumerable:!0}),Ec(Ul,Xc,Ul.entries,{name:"entries"}),Ec(Ul,"toString",(function(){return nl(this).serialize()}),{enumerable:!0}),Lc&&Bc(Ul,"size",{get:function(){return nl(this).entries.length},configurable:!0,enumerable:!0}),Uc(Dl,el),Pc({global:!0,constructor:!0,forced:!Oc},{URLSearchParams:Dl}),!Oc&&jc(cl)){var Fl=Mc(ul.has),xl=Mc(ul.set),Nl=function(e){if(Kc(e)){var t,r=e.body;if(_c(r)===el)return t=e.headers?new cl(e.headers):new cl,Fl(t,"content-type")||xl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Wc(e,{body:qc(0,Jc(r)),headers:qc(0,t)})}return e};if(jc(sl)&&Pc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return sl(e,arguments.length>1?Nl(arguments[1]):{})}}),jc(hl)){var jl=function(e){return Nc(this,ll),new hl(e,arguments.length>1?Nl(arguments[1]):{})};ll.constructor=jl,jl.prototype=ll,Pc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:jl})}}var Gl,Yl=ea,_l=c,zl=Cs,Kl=i,Jl=Es,Wl=H,ql=$r,Vl=Us,Zl=Ns,$l=Ye,Ql=Qs,Xl=function(e){var t=jh(e),r=_h(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=xh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Wh(t),d=0;if(!f||this===qh&&Yh(f))for(i=zh(t),s=r?new this(i):qh(i);i>d;d++)u=o?a(t[d],d):t[d],Kh(s,d,u);else for(l=(c=Jh(t,f)).next,s=r?new this:[];!(h=Nh(l,c)).done;d++)u=o?Gh(c,a,[h.value,d],!0):h.value,Kh(s,d,u);return s.length=d,s},eu=ec,tu=ms.codeAt,ru=function(e){var t,r,n=[],a=mc(dc(gc(e),ac,"."),".");for(t=0;t<a.length;t++)r=a[t],fc(n,sc(nc,r)?"xn--"+bc(r):r);return uc(n,".")},nu=ua,au=Qo,ou=Sc,iu={URLSearchParams:Dl,getState:nl},su=Ir,hu=su.set,cu=su.getterFor("URL"),lu=iu.URLSearchParams,uu=iu.getState,fu=Kl.URL,du=Kl.TypeError,mu=Kl.parseInt,gu=Math.floor,pu=Math.pow,yu=Wl("".charAt),bu=Wl(/./.exec),vu=Wl([].join),Su=Wl(1..toString),wu=Wl([].pop),Au=Wl([].push),Ru=Wl("".replace),Tu=Wl([].shift),Hu=Wl("".split),Cu=Wl("".slice),Pu=Wl("".toLowerCase),Iu=Wl([].unshift),ku="Invalid scheme",Mu="Invalid host",Lu="Invalid port",Ou=/[a-z]/i,Eu=/[\d+-.a-z]/i,Bu=/\d/,Du=/^0x/i,Uu=/^[0-7]+$/,Fu=/^\d+$/,xu=/^[\da-f]+$/i,Nu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ju=/[\0\t\n\r #/:<>?@[\\\]^|]/,Gu=/^[\u0000-\u0020]+/,Yu=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,_u=/[\t\n\r]/g,zu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Iu(t,e%256),e=gu(e/256);return vu(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+=Su(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ku={},Ju=Ql({},Ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Wu=Ql({},Ju,{"#":1,"?":1,"{":1,"}":1}),qu=Ql({},Wu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Vu=function(e,t){var r=tu(e,0);return r>32&&r<127&&!$l(t,e)?e:encodeURIComponent(e)},Zu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$u=function(e,t){var r;return 2===e.length&&bu(Ou,yu(e,0))&&(":"===(r=yu(e,1))||!t&&"|"===r)},Qu=function(e){var t;return e.length>1&&$u(Cu(e,0,2))&&(2===e.length||"/"===(t=yu(e,2))||"\\"===t||"?"===t||"#"===t)},Xu=function(e){return"."===e||"%2e"===Pu(e)},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf={},gf={},pf={},yf={},bf={},vf={},Sf={},wf={},Af=function(e,t,r){var n,a,o,i=nu(e);if(t){if(a=this.parse(i))throw du(a);this.searchParams=null}else{if(void 0!==r&&(n=new Af(r,!0)),a=this.parse(i,null,n))throw du(a);(o=uu(new lu)).bindURL(this),this.searchParams=o}};Af.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||ef,l=0,u="",f=!1,d=!1,m=!1;for(e=nu(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=Ru(e,Gu,""),e=Ru(e,Yu,"$1")),e=Ru(e,_u,""),n=Xl(e);l<=n.length;){switch(a=n[l],c){case ef:if(!a||!bu(Ou,a)){if(t)return ku;c=rf;continue}u+=Pu(a),c=tf;break;case tf:if(a&&(bu(Eu,a)||"+"===a||"-"===a||"."===a))u+=Pu(a);else{if(":"!==a){if(t)return ku;u="",c=rf,l=0;continue}if(t&&(h.isSpecial()!==$l(Zu,u)||"file"===u&&(h.includesCredentials()||null!==h.port)||"file"===h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Zu[h.scheme]===h.port&&(h.port=null));u="","file"===h.scheme?c=mf:h.isSpecial()&&r&&r.scheme===h.scheme?c=nf:h.isSpecial()?c=hf:"/"===n[l+1]?(c=af,l++):(h.cannotBeABaseURL=!0,Au(h.path,""),c=vf)}break;case rf:if(!r||r.cannotBeABaseURL&&"#"!==a)return ku;if(r.cannotBeABaseURL&&"#"===a){h.scheme=r.scheme,h.path=eu(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=wf;break}c="file"===r.scheme?mf:of;continue;case nf:if("/"!==a||"/"!==n[l+1]){c=of;continue}c=cf,l++;break;case af:if("/"===a){c=lf;break}c=bf;continue;case of:if(h.scheme=r.scheme,a===Gl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query;else if("/"===a||"\\"===a&&h.isSpecial())c=sf;else if("?"===a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query="",c=Sf;else{if("#"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.path.length--,c=bf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf}break;case sf:if(!h.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=bf;continue}c=lf}else c=cf;break;case hf:if(c=cf,"/"!==a||"/"!==yu(u,l+1))continue;l++;break;case cf:if("/"!==a&&"\\"!==a){c=lf;continue}break;case lf:if("@"===a){f&&(u="%40"+u),f=!0,o=Xl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!==p||m){var y=Vu(p,qu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(f&&""===u)return"Invalid authority";l-=Xl(u).length+1,u="",c=uf}else u+=a;break;case uf:case ff:if(t&&"file"===h.scheme){c=pf;continue}if(":"!==a||d){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(h.isSpecial()&&""===u)return Mu;if(t&&""===u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=yf,t)return;continue}"["===a?d=!0:"]"===a&&(d=!1),u+=a}else{if(""===u)return Mu;if(i=h.parseHost(u))return i;if(u="",c=df,t===ff)return}break;case df:if(!bu(Bu,a)){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()||t){if(""!==u){var b=mu(u,10);if(b>65535)return Lu;h.port=h.isSpecial()&&b===Zu[h.scheme]?null:b,u=""}if(t)return;c=yf;continue}return Lu}u+=a;break;case mf:if(h.scheme="file","/"===a||"\\"===a)c=gf;else{if(!r||"file"!==r.scheme){c=bf;continue}switch(a){case Gl:h.host=r.host,h.path=eu(r.path),h.query=r.query;break;case"?":h.host=r.host,h.path=eu(r.path),h.query="",c=Sf;break;case"#":h.host=r.host,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf;break;default:Qu(vu(eu(n,l),""))||(h.host=r.host,h.path=eu(r.path),h.shortenPath()),c=bf;continue}}break;case gf:if("/"===a||"\\"===a){c=pf;break}r&&"file"===r.scheme&&!Qu(vu(eu(n,l),""))&&($u(r.path[0],!0)?Au(h.path,r.path[0]):h.host=r.host),c=bf;continue;case pf:if(a===Gl||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&$u(u))c=bf;else if(""===u){if(h.host="",t)return;c=yf}else{if(i=h.parseHost(u))return i;if("localhost"===h.host&&(h.host=""),t)return;u="",c=yf}continue}u+=a;break;case yf:if(h.isSpecial()){if(c=bf,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==Gl&&(c=bf,"/"!==a))continue}else h.fragment="",c=wf;else h.query="",c=Sf;break;case bf:if(a===Gl||"/"===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()||Au(h.path,"")):Xu(u)?"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,""):("file"===h.scheme&&!h.path.length&&$u(u)&&(h.host&&(h.host=""),u=yu(u,0)+":"),Au(h.path,u)),u="","file"===h.scheme&&(a===Gl||"?"===a||"#"===a))for(;h.path.length>1&&""===h.path[0];)Tu(h.path);"?"===a?(h.query="",c=Sf):"#"===a&&(h.fragment="",c=wf)}else u+=Vu(a,Wu);break;case vf:"?"===a?(h.query="",c=Sf):"#"===a?(h.fragment="",c=wf):a!==Gl&&(h.path[0]+=Vu(a,Ku));break;case Sf:t||"#"!==a?a!==Gl&&("'"===a&&h.isSpecial()?h.query+="%27":h.query+="#"===a?"%23":Vu(a,Ku)):(h.fragment="",c=wf);break;case wf:a!==Gl&&(h.fragment+=Vu(a,Ju))}l++}},parseHost:function(e){var t,r,n;if("["===yu(e,0)){if("]"!==yu(e,e.length-1))return Mu;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 yu(e,u)};if(":"===f()){if(":"!==yu(e,1))return;u+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&bu(xu,f());)t=16*t+mu(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(!bu(Bu,f()))return;for(;bu(Bu,f());){if(o=mu(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}(Cu(e,1,-1)),!t)return Mu;this.host=t}else if(this.isSpecial()){if(e=ru(e),bu(Nu,e))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=Hu(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"===yu(a,0)&&(o=bu(Du,a)?16:8,a=Cu(a,8===o?1:2)),""===a)i=0;else{if(!bu(10===o?Fu:8===o?Uu:xu,a))return e;i=mu(a,o)}Au(r,i)}for(n=0;n<t;n++)if(i=r[n],n===t-1){if(i>=pu(256,5-t))return null}else if(i>255)return null;for(s=wu(r),n=0;n<r.length;n++)s+=r[n]*pu(256,3-n);return s}(e),null===t)return Mu;this.host=t}else{if(bu(ju,e))return Mu;for(t="",r=Xl(e),n=0;n<r.length;n++)t+=Vu(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 $l(Zu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&$u(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+=zu(a),null!==o&&(c+=":"+o)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+vu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw du(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Rf(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+zu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(nu(e)+":",ef)},getUsername:function(){return this.username},setUsername:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Vu(t[r],qu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Vu(t[r],qu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?zu(e):zu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,uf)},getHostname:function(){var e=this.host;return null===e?"":zu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ff)},getPort:function(){var e=this.port;return null===e?"":nu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=nu(e))?this.port=null:this.parse(e,df))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+vu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,yf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=nu(e))?this.query=null:("?"===yu(e,0)&&(e=Cu(e,1)),this.query="",this.parse(e,Sf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=nu(e))?("#"===yu(e,0)&&(e=Cu(e,1)),this.fragment="",this.parse(e,wf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Rf=function(e){var t=Zl(this,Tf),r=ou(arguments.length,1)>1?arguments[1]:void 0,n=hu(t,new Af(e,!1,r));_l||(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())},Tf=Rf.prototype,Hf=function(e,t){return{get:function(){return cu(this)[e]()},set:t&&function(e){return cu(this)[t](e)},configurable:!0,enumerable:!0}};if(_l&&(Vl(Tf,"href",Hf("serialize","setHref")),Vl(Tf,"origin",Hf("getOrigin")),Vl(Tf,"protocol",Hf("getProtocol","setProtocol")),Vl(Tf,"username",Hf("getUsername","setUsername")),Vl(Tf,"password",Hf("getPassword","setPassword")),Vl(Tf,"host",Hf("getHost","setHost")),Vl(Tf,"hostname",Hf("getHostname","setHostname")),Vl(Tf,"port",Hf("getPort","setPort")),Vl(Tf,"pathname",Hf("getPathname","setPathname")),Vl(Tf,"search",Hf("getSearch","setSearch")),Vl(Tf,"searchParams",Hf("getSearchParams")),Vl(Tf,"hash",Hf("getHash","setHash"))),ql(Tf,"toJSON",(function(){return cu(this).serialize()}),{enumerable:!0}),ql(Tf,"toString",(function(){return cu(this).serialize()}),{enumerable:!0}),fu){var Cf=fu.createObjectURL,Pf=fu.revokeObjectURL;Cf&&ql(Rf,"createObjectURL",Jl(Cf,fu)),Pf&&ql(Rf,"revokeObjectURL",Jl(Pf,fu))}au(Rf,"URL"),Yl({global:!0,constructor:!0,forced:!zl,sham:!_l},{URL:Rf});var If,kf=q,Mf=k,Lf=rt("match"),Of=function(e){var t;return kf(e)&&(void 0!==(t=e[Lf])?!!t:"RegExp"===Mf(e))},Ef=TypeError,Bf=rt("match"),Df=ea,Uf=ks,Ff=s.f,xf=ln,Nf=ua,jf=function(e){if(Of(e))throw Ef("The method doesn't accept regular expressions");return e},Gf=x,Yf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Bf]=!1,"/./"[e](t)}catch(e){}}return!1},_f=Uf("".startsWith),zf=Uf("".slice),Kf=Math.min,Jf=Yf("startsWith");Df({target:"String",proto:!0,forced:!!(Jf||(If=Ff(String.prototype,"startsWith"),!If||If.writable))&&!Jf},{startsWith:function(e){var t=Nf(Gf(this));jf(e);var r=xf(Kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Nf(e);return _f?_f(t,n,r):zf(t,r,r+n.length)===n}});var Wf=d,qf=Ye,Vf=Q,Zf=da,$f=RegExp.prototype,Qf=er.PROPER,Xf=$r,ed=Et,td=ua,rd=h,nd=function(e){var t=e.flags;return void 0!==t||"flags"in $f||qf(e,"flags")||!Vf($f,e)?t:Wf(Zf,e)},ad="toString",od=RegExp.prototype[ad],id=rd((function(){return"/a/b"!==od.call({source:"a",flags:"b"})})),sd=Qf&&od.name!==ad;(id||sd)&&Xf(RegExp.prototype,ad,(function(){var e=ed(this);return"/"+td(e.source)+"/"+td(nd(e))}),{unsafe:!0});var hd={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer. Shabbat before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},cd={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 ld(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:cd[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function ud(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function fd(e){return e<10?"0"+e:""+e}function dd(e){return e<0?"-00"+dd(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function md(e){return dd(e.getFullYear())+"-"+fd(e.getMonth()+1)+"-"+fd(e.getDate())}function gd(e){const t=e.getDesc();return"Purim"===t||"Erev Purim"===t?["holiday","major"]:e.getCategories()}function pd(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 yd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(hd[e.getDesc()]||hd[e.basename()]||"").normalize();if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const bd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function vd(e,n){const a=e.getFlags();if(a&bd)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 Sd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=vd(e,r);if(t)return t}catch(e){}return e.memo||hd[e.basename()]}function wd(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 Ad(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 Rd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Td={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function Hd(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=Ad(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 m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=Td[gd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||yd(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||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function Cd(e){return md(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):md(h),u=gd(e),f=e.getFlags();let d=Ad(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){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!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){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=function(e){const t={};e.summary&&(t.torah=e.summary);e.haftara&&(t.haftarah=e.haftara);e.sephardic&&(t.haftarah_sephardic=e.sephardic);e.fullkriyah&&Id(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));return t}(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=Id({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=wd(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")}}),f&t.flags.MOLAD){const r=e.molad;p.molad={hy:r.year,hm:t.HDate.getMonthName(r.month,r.year),dow:r.dow,hour:r.hour,minutes:r.minutes,chalakim:r.chalakim},delete p.hebrew}if(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||hd[e.basename()];return"string"==typeof b&&0!==b.length?p.memo=b.normalize():void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function Id(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}const kd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Md(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=ud(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=wd(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=wd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=gd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){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=Sd(e,s);const y=r.dayFormat,b=p||y.format(a),v="candles"==m?"<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(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=wd,e.countryNames=cd,e.eventToClassicApiObject=Pd,e.eventToCsv=Hd,e.eventToFullCalendar=function(e,r,n){const a=gd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Ad(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):md(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=wd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=Sd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Md,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:pd(e,t),date:(new Date).toISOString()};return n.location=ld(t.location),e.length&&(n.range={start:Cd(e[0]),end:Cd(e[e.length-1])}),n.items=e.map((e=>Pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[Rd].concat(e.map((e=>Hd(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||pd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=wd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||kd[t.locale]||t.locale||"en-US";let m='<?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=>{m+=Md(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=pd,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+="_"+ud(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=gd,e.getHolidayDescription=yd,e.holidayDescription=hd,e.locationToPlainObj=ld,e.makeAnchor=ud,e.makeMemo=Sd,e.makeTorahMemoText=vd,e.pad2=fd,e.pad4=dd,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Ad,e.toISOString=md,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
|
1
|
+
/*! @hebcal/rest-api v4.5.5 */
|
|
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}()||a||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)},m={},g={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!g.call({1:2},1);m.f=y?function(e){var t=p(this,e);return!!t&&t.enumerable}:g;var b,v,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l,A=Function.prototype,T=A.call,R=w&&A.bind.bind(T,T),H=w?R:function(e){return function(){return T.apply(e,arguments)}},C=H,P=C({}.toString),I=C("".slice),k=function(e){return I(P(e),8,-1)},M=h,O=k,L=Object,E=H("".split),B=M((function(){return!L("z").propertyIsEnumerable(0)}))?function(e){return"String"===O(e)?E(e,""):L(e)}:L,D=function(e){return null==e},U=D,F=TypeError,x=function(e){if(U(e))throw new F("Can't call method on "+e);return e},N=B,j=x,G=function(e){return N(j(e))},Y="object"==typeof document&&document.all,_={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},z=_.all,K=_.IS_HTMLDDA?function(e){return"function"==typeof e||e===z}:function(e){return"function"==typeof e},J=K,W=_.all,q=_.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,t){return arguments.length<2?(r=V[e],Z(r)?r:void 0):V[e]&&V[e][t];var r},Q=H({}.isPrototypeOf),X=i,ee="undefined"!=typeof navigator&&String(navigator.userAgent)||"",te=X.process,re=X.Deno,ne=te&&te.versions||re&&re.version,ae=ne&&ne.v8;ae&&(v=(b=ae.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&ee&&(!(b=ee.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=ee.match(/Chrome\/(\d+)/))&&(v=+b[1]);var oe=v,ie=h,se=i.String,he=!!Object.getOwnPropertySymbols&&!ie((function(){var e=Symbol("symbol detection");return!se(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),ce=he&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,le=$,ue=K,fe=Q,de=Object,me=ce?function(e){return"symbol"==typeof e}:function(e){var t=le("Symbol");return ue(t)&&fe(t.prototype,de(e))},ge=String,pe=function(e){try{return ge(e)}catch(e){return"Object"}},ye=K,be=pe,ve=TypeError,Se=function(e){if(ye(e))return e;throw new ve(be(e)+" is not a function")},we=Se,Ae=D,Te=function(e,t){var r=e[t];return Ae(r)?void 0:we(r)},Re=d,He=K,Ce=q,Pe=TypeError,Ie={exports:{}},ke=i,Me=Object.defineProperty,Oe=function(e,t){try{Me(ke,e,{value:t,configurable:!0,writable:!0})}catch(r){ke[e]=t}return t},Le=Oe,Ee="__core-js_shared__",Be=i[Ee]||Le(Ee,{}),De=Be;(Ie.exports=function(e,t){return De[e]||(De[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=Ie.exports,Fe=x,xe=Object,Ne=function(e){return xe(Fe(e))},je=Ne,Ge=H({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Ge(je(e),t)},_e=H,ze=0,Ke=Math.random(),Je=_e(1..toString),We=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Je(++ze+Ke,36)},qe=Ue,Ve=Ye,Ze=We,$e=he,Qe=ce,Xe=i.Symbol,et=qe("wks"),tt=Qe?Xe.for||Xe:Xe&&Xe.withoutSetter||Ze,rt=function(e){return Ve(et,e)||(et[e]=$e&&Ve(Xe,e)?Xe[e]:tt("Symbol."+e)),et[e]},nt=d,at=q,ot=me,it=Te,st=function(e,t){var r,n;if("string"===t&&He(r=e.toString)&&!Ce(n=Re(r,e)))return n;if(He(r=e.valueOf)&&!Ce(n=Re(r,e)))return n;if("string"!==t&&He(r=e.toString)&&!Ce(n=Re(r,e)))return n;throw new Pe("Can't convert object to primitive value")},ht=TypeError,ct=rt("toPrimitive"),lt=function(e,t){if(!at(e)||ot(e))return e;var r,n=it(e,ct);if(n){if(void 0===t&&(t="default"),r=nt(n,e,t),!at(r)||ot(r))return r;throw new ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),st(e,t)},ut=me,ft=function(e){var t=lt(e,"string");return ut(t)?t:t+""},dt=q,mt=i.document,gt=dt(mt)&&dt(mt.createElement),pt=function(e){return gt?mt.createElement(e):{}},yt=pt,bt=!c&&!h((function(){return 7!==Object.defineProperty(yt("div"),"a",{get:function(){return 7}}).a})),vt=c,St=d,wt=m,At=S,Tt=G,Rt=ft,Ht=Ye,Ct=bt,Pt=Object.getOwnPropertyDescriptor;s.f=vt?Pt:function(e,t){if(e=Tt(e),t=Rt(t),Ct)try{return Pt(e,t)}catch(e){}if(Ht(e,t))return At(!St(wt.f,e,t),e[t])};var It={},kt=c&&h((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Mt=q,Ot=String,Lt=TypeError,Et=function(e){if(Mt(e))return e;throw new Lt(Ot(e)+" is not an object")},Bt=c,Dt=bt,Ut=kt,Ft=Et,xt=ft,Nt=TypeError,jt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Yt="enumerable",_t="configurable",zt="writable";It.f=Bt?Ut?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&zt in r&&!r[zt]){var n=Gt(e,t);n&&n[zt]&&(e[t]=r.value,r={configurable:_t in r?r[_t]:n[_t],enumerable:Yt in r?r[Yt]:n[Yt],writable:!1})}return jt(e,t,r)}:jt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Dt)try{return jt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new Nt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=It,Jt=S,Wt=c?function(e,t,r){return Kt.f(e,t,Jt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=c,Zt=Ye,$t=Function.prototype,Qt=Vt&&Object.getOwnPropertyDescriptor,Xt=Zt($t,"name"),er={EXISTS:Xt,PROPER:Xt&&"something"===function(){}.name,CONFIGURABLE:Xt&&(!Vt||Vt&&Qt($t,"name").configurable)},tr=K,rr=Be,nr=H(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,hr=K,cr=i.WeakMap,lr=hr(cr)&&/native code/.test(String(cr)),ur=We,fr=Ue("keys"),dr=function(e){return fr[e]||(fr[e]=ur(e))},mr={},gr=lr,pr=i,yr=q,br=Wt,vr=Ye,Sr=Be,wr=dr,Ar=mr,Tr="Object already initialized",Rr=pr.TypeError,Hr=pr.WeakMap;if(gr||Sr.state){var Cr=Sr.state||(Sr.state=new Hr);Cr.get=Cr.get,Cr.has=Cr.has,Cr.set=Cr.set,ar=function(e,t){if(Cr.has(e))throw new Rr(Tr);return t.facade=e,Cr.set(e,t),t},or=function(e){return Cr.get(e)||{}},ir=function(e){return Cr.has(e)}}else{var Pr=wr("state");Ar[Pr]=!0,ar=function(e,t){if(vr(e,Pr))throw new Rr(Tr);return t.facade=e,br(e,Pr,t),t},or=function(e){return vr(e,Pr)?e[Pr]:{}},ir=function(e){return vr(e,Pr)}}var Ir={set:ar,get:or,has:ir,enforce:function(e){return ir(e)?or(e):ar(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=or(t)).type!==e)throw new Rr("Incompatible receiver, "+e+" required");return r}}},kr=H,Mr=h,Or=K,Lr=Ye,Er=c,Br=er.CONFIGURABLE,Dr=sr,Ur=Ir.enforce,Fr=Ir.get,xr=String,Nr=Object.defineProperty,jr=kr("".slice),Gr=kr("".replace),Yr=kr([].join),_r=Er&&!Mr((function(){return 8!==Nr((function(){}),"length",{value:8}).length})),zr=String(String).split("String"),Kr=qt.exports=function(e,t,r){"Symbol("===jr(xr(t),0,7)&&(t="["+Gr(xr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Lr(e,"name")||Br&&e.name!==t)&&(Er?Nr(e,"name",{value:t,configurable:!0}):e.name=t),_r&&r&&Lr(r,"arity")&&e.length!==r.arity&&Nr(e,"length",{value:r.arity});try{r&&Lr(r,"constructor")&&r.constructor?Er&&Nr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Lr(n,"source")||(n.source=Yr(zr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Or(this)&&Fr(this).source||Dr(this)}),"toString");var Jr=qt.exports,Wr=K,qr=It,Vr=Jr,Zr=Oe,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Wr(r)&&Vr(r,o,n),n.global)a?e[t]=r:Zr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:qr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},Xr=Math.ceil,en=Math.floor,tn=Math.trunc||function(e){var t=+e;return(t>0?en:Xr)(t)},rn=function(e){var t=+e;return t!=t||0===t?0:tn(t)},nn=rn,an=Math.max,on=Math.min,sn=function(e,t){var r=nn(e);return r<0?an(r+t,0):on(r,t)},hn=rn,cn=Math.min,ln=function(e){return e>0?cn(hn(e),9007199254740991):0},un=ln,fn=function(e){return un(e.length)},dn=G,mn=sn,gn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=gn(o),s=mn(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}},yn={includes:pn(!0),indexOf:pn(!1)},bn=Ye,vn=G,Sn=yn.indexOf,wn=mr,An=H([].push),Tn=function(e,t){var r,n=vn(e),a=0,o=[];for(r in n)!bn(wn,r)&&bn(n,r)&&An(o,r);for(;t.length>a;)bn(n,r=t[a++])&&(~Sn(o,r)||An(o,r));return o},Rn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Hn=Tn,Cn=Rn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Cn)};var Pn={};Pn.f=Object.getOwnPropertySymbols;var In=$,kn=Qr,Mn=Pn,On=Et,Ln=H([].concat),En=In("Reflect","ownKeys")||function(e){var t=kn.f(On(e)),r=Mn.f;return r?Ln(t,r(e)):t},Bn=Ye,Dn=En,Un=s,Fn=It,xn=h,Nn=K,jn=/#|\.prototype\./,Gn=function(e,t){var r=_n[Yn(e)];return r===Kn||r!==zn&&(Nn(t)?xn(t):!!t)},Yn=Gn.normalize=function(e){return String(e).replace(jn,".").toLowerCase()},_n=Gn.data={},zn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Jn=Gn,Wn=i,qn=s.f,Vn=Wt,Zn=$r,$n=Oe,Qn=function(e,t,r){for(var n=Dn(t),a=Fn.f,o=Un.f,i=0;i<n.length;i++){var s=n[i];Bn(e,s)||r&&Bn(r,s)||a(e,s,o(t,s))}},Xn=Jn,ea=function(e,t){var r,n,a,o,i,s=e.target,h=e.global,c=e.stat;if(r=h?Wn:c?Wn[s]||$n(s,{}):(Wn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(h?n:s+(c?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Qn(o,a)}(e.sham||a&&a.sham)&&Vn(o,"sham",!0),Zn(r,n,o,e)}},ta={};ta[rt("toStringTag")]="z";var ra="[object z]"===String(ta),na=K,aa=k,oa=rt("toStringTag"),ia=Object,sa="Arguments"===aa(function(){return arguments}()),ha=ra?aa: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=ia(e),oa))?r:sa?aa(t):"Object"===(n=aa(t))&&na(t.callee)?"Arguments":n},ca=ha,la=String,ua=function(e){if("Symbol"===ca(e))throw new TypeError("Cannot convert a Symbol value to a string");return la(e)},fa=Et,da=function(){var e=fa(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},ma=h,ga=i.RegExp,pa=ma((function(){var e=ga("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),ya=pa||ma((function(){return!ga("a","y").sticky})),ba={BROKEN_CARET:pa||ma((function(){var e=ga("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:pa},va={},Sa=Tn,wa=Rn,Aa=Object.keys||function(e){return Sa(e,wa)},Ta=c,Ra=kt,Ha=It,Ca=Et,Pa=G,Ia=Aa;va.f=Ta&&!Ra?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Pa(t),a=Ia(t),o=a.length,i=0;o>i;)Ha.f(e,r=a[i++],n[r]);return e};var ka,Ma=$("document","documentElement"),Oa=Et,La=va,Ea=Rn,Ba=mr,Da=Ma,Ua=pt,Fa="prototype",xa="script",Na=dr("IE_PROTO"),ja=function(){},Ga=function(e){return"<"+xa+">"+e+"</"+xa+">"},Ya=function(e){e.write(Ga("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{ka=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;_a="undefined"!=typeof document?document.domain&&ka?Ya(ka):(t=Ua("iframe"),r="java"+xa+":",t.style.display="none",Da.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ga("document.F=Object")),e.close(),e.F):Ya(ka);for(var n=Ea.length;n--;)delete _a[Fa][Ea[n]];return _a()};Ba[Na]=!0;var za,Ka,Ja=Object.create||function(e,t){var r;return null!==e?(ja[Fa]=Oa(e),r=new ja,ja[Fa]=null,r[Na]=e):r=_a(),void 0===t?r:La.f(r,t)},Wa=h,qa=i.RegExp,Va=Wa((function(){var e=qa(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Za=h,$a=i.RegExp,Qa=Za((function(){var e=$a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xa=d,eo=H,to=ua,ro=da,no=ba,ao=Ja,oo=Ir.get,io=Va,so=Qa,ho=Ue("native-string-replace",String.prototype.replace),co=RegExp.prototype.exec,lo=co,uo=eo("".charAt),fo=eo("".indexOf),mo=eo("".replace),go=eo("".slice),po=(Ka=/b*/g,Xa(co,za=/a/,"a"),Xa(co,Ka,"a"),0!==za.lastIndex||0!==Ka.lastIndex),yo=no.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(lo=function(e){var t,r,n,a,o,i,s,h=this,c=oo(h),l=to(e),u=c.raw;if(u)return u.lastIndex=h.lastIndex,t=Xa(lo,u,l),h.lastIndex=u.lastIndex,t;var f=c.groups,d=yo&&h.sticky,m=Xa(ro,h),g=h.source,p=0,y=l;if(d&&(m=mo(m,"y",""),-1===fo(m,"g")&&(m+="g"),y=go(l,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==uo(l,h.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),r=new RegExp("^(?:"+g+")",m)),bo&&(r=new RegExp("^"+g+"$(?!\\s)",m)),po&&(n=h.lastIndex),a=Xa(co,d?r:h,y),d?a?(a.input=go(a.input,p),a[0]=go(a[0],p),a.index=h.lastIndex,h.lastIndex+=a[0].length):h.lastIndex=0:po&&a&&(h.lastIndex=h.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Xa(ho,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=ao(null),o=0;o<f.length;o++)i[(s=f[o])[0]]=a[s[1]];return a});ea({target:"RegExp",proto:!0,forced:/./.exec!==lo},{exec:lo});var vo=pt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=rt,To=Ja,Ro=It.f,Ho=Ao("unscopables"),Co=Array.prototype;void 0===Co[Ho]&&Ro(Co,Ho,{configurable:!0,value:To(null)});var Po,Io,ko,Mo={},Oo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lo=Ye,Eo=K,Bo=Ne,Do=Oo,Uo=dr("IE_PROTO"),Fo=Object,xo=Fo.prototype,No=Do?Fo.getPrototypeOf:function(e){var t=Bo(e);if(Lo(t,Uo))return t[Uo];var r=t.constructor;return Eo(r)&&t instanceof r?r.prototype:t instanceof Fo?xo:null},jo=h,Go=K,Yo=q,_o=No,zo=$r,Ko=rt("iterator"),Jo=!1;[].keys&&("next"in(ko=[].keys())?(Io=_o(_o(ko)))!==Object.prototype&&(Po=Io):Jo=!0);var Wo=!Yo(Po)||jo((function(){var e={};return Po[Ko].call(e)!==e}));Wo&&(Po={}),Go(Po[Ko])||zo(Po,Ko,(function(){return this}));var qo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Jo},Vo=It.f,Zo=Ye,$o=rt("toStringTag"),Qo=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Zo(e,$o)&&Vo(e,$o,{configurable:!0,value:t})},Xo=qo.IteratorPrototype,ei=Ja,ti=S,ri=Qo,ni=Mo,ai=function(){return this},oi=function(e,t,r,n){var a=t+" Iterator";return e.prototype=ei(Xo,{next:ti(+!n,r)}),ri(e,a,!1),ni[a]=ai,e},ii=H,si=Se,hi=K,ci=String,li=TypeError,ui=function(e,t,r){try{return ii(si(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},fi=Et,di=function(e){if("object"==typeof e||hi(e))return e;throw new li("Can't set "+ci(e)+" as a prototype")},mi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return fi(r),di(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,pi=d,yi=K,bi=oi,vi=No,Si=mi,wi=Qo,Ai=Wt,Ti=$r,Ri=Mo,Hi=er.PROPER,Ci=er.CONFIGURABLE,Pi=qo.IteratorPrototype,Ii=qo.BUGGY_SAFARI_ITERATORS,ki=rt("iterator"),Mi="keys",Oi="values",Li="entries",Ei=function(){return this},Bi=function(e,t,r,n,a,o,i){bi(r,t,n);var s,h,c,l=function(e){if(e===a&&g)return g;if(!Ii&&e&&e in d)return d[e];switch(e){case Mi:case Oi:case Li:return function(){return new r(this,e)}}return function(){return new r(this)}},u=t+" Iterator",f=!1,d=e.prototype,m=d[ki]||d["@@iterator"]||a&&d[a],g=!Ii&&m||l(a),p="Array"===t&&d.entries||m;if(p&&(s=vi(p.call(new e)))!==Object.prototype&&s.next&&(vi(s)!==Pi&&(Si?Si(s,Pi):yi(s[ki])||Ti(s,ki,Ei)),wi(s,u,!0)),Hi&&a===Oi&&m&&m.name!==Oi&&(Ci?Ai(d,"name",Oi):(f=!0,g=function(){return pi(m,this)})),a)if(h={values:l(Oi),keys:o?g:l(Mi),entries:l(Li)},i)for(c in h)(Ii||f||!(c in d))&&Ti(d,c,h[c]);else gi({target:t,proto:!0,forced:Ii||f},h);return d[ki]!==g&&Ti(d,ki,g,{name:a}),Ri[t]=g,h},Di=function(e,t){return{value:e,done:t}},Ui=G,Fi=function(e){Co[Ho][e]=!0},xi=Mo,Ni=Ir,ji=It.f,Gi=Bi,Yi=Di,_i=c,zi="Array Iterator",Ki=Ni.set,Ji=Ni.getterFor(zi),Wi=Gi(Array,"Array",(function(e,t){Ki(this,{type:zi,target:Ui(e),index:0,kind:t})}),(function(){var e=Ji(this),t=e.target,r=e.kind,n=e.index++;if(!t||n>=t.length)return e.target=void 0,Yi(void 0,!0);switch(r){case"keys":return Yi(n,!1);case"values":return Yi(t[n],!1)}return Yi([n,t[n]],!1)}),"values"),qi=xi.Arguments=xi.Array;if(Fi("keys"),Fi("values"),Fi("entries"),_i&&"values"!==qi.name)try{ji(qi,"name",{value:"values"})}catch(e){}var Vi=i,Zi={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},$i=wo,Qi=Wi,Xi=Wt,es=rt,ts=es("iterator"),rs=es("toStringTag"),ns=Qi.values,as=function(e,t){if(e){if(e[ts]!==ns)try{Xi(e,ts,ns)}catch(t){e[ts]=ns}if(e[rs]||Xi(e,rs,t),Zi[t])for(var r in Qi)if(e[r]!==Qi[r])try{Xi(e,r,Qi[r])}catch(t){e[r]=Qi[r]}}};for(var os in Zi)as(Vi[os]&&Vi[os].prototype,os);as($i,"DOMTokenList");var is=H,ss=rn,hs=ua,cs=x,ls=is("".charAt),us=is("".charCodeAt),fs=is("".slice),ds=function(e){return function(t,r){var n,a,o=hs(cs(t)),i=ss(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=us(o,i))<55296||n>56319||i+1===s||(a=us(o,i+1))<56320||a>57343?e?ls(o,i):n:e?fs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ms={codeAt:ds(!1),charAt:ds(!0)},gs=ms.charAt,ps=ua,ys=Ir,bs=Bi,vs=Di,Ss="String Iterator",ws=ys.set,As=ys.getterFor(Ss);bs(String,"String",(function(e){ws(this,{type:Ss,string:ps(e),index:0})}),(function(){var e,t=As(this),r=t.string,n=t.index;return n>=r.length?vs(void 0,!0):(e=gs(r,n),t.index+=e.length,vs(e,!1))}));var Ts=h,Rs=c,Hs=rt("iterator"),Cs=!Ts((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),!t.size&&!Rs||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Hs]||"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"!==n||"x"!==new URL("http://x",void 0).host})),Ps=k,Is=H,ks=function(e){if("Function"===Ps(e))return Is(e)},Ms=Se,Os=l,Ls=ks(ks.bind),Es=function(e,t){return Ms(e),void 0===t?e:Os?Ls(e,t):function(){return e.apply(t,arguments)}},Bs=Jr,Ds=It,Us=function(e,t,r){return r.get&&Bs(r.get,t,{getter:!0}),r.set&&Bs(r.set,t,{setter:!0}),Ds.f(e,t,r)},Fs=Q,xs=TypeError,Ns=function(e,t){if(Fs(t,e))return e;throw new xs("Incorrect invocation")},js=c,Gs=H,Ys=d,_s=h,zs=Aa,Ks=Pn,Js=m,Ws=Ne,qs=B,Vs=Object.assign,Zs=Object.defineProperty,$s=Gs([].concat),Qs=!Vs||_s((function(){if(js&&1!==Vs({b:1},Vs(Zs({},"a",{enumerable:!0,get:function(){Zs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!==Vs({},e)[r]||zs(Vs({},t)).join("")!==n}))?function(e,t){for(var r=Ws(e),n=arguments.length,a=1,o=Ks.f,i=Js.f;n>a;)for(var s,h=qs(arguments[a++]),c=o?$s(zs(h),o(h)):zs(h),l=c.length,u=0;l>u;)s=c[u++],js&&!Ys(i,h,s)||(r[s]=h[s]);return r}:Vs,Xs=d,eh=Et,th=Te,rh=Et,nh=function(e,t,r){var n,a;eh(e);try{if(!(n=th(e,"return"))){if("throw"===t)throw r;return r}n=Xs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return eh(n),r},ah=Mo,oh=rt("iterator"),ih=Array.prototype,sh=H,hh=h,ch=K,lh=ha,uh=sr,fh=function(){},dh=[],mh=$("Reflect","construct"),gh=/^\s*(?:class|function)\b/,ph=sh(gh.exec),yh=!gh.test(fh),bh=function(e){if(!ch(e))return!1;try{return mh(fh,dh,e),!0}catch(e){return!1}},vh=function(e){if(!ch(e))return!1;switch(lh(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return yh||!!ph(gh,uh(e))}catch(e){return!0}};vh.sham=!0;var Sh=!mh||hh((function(){var e;return bh(bh.call)||!bh(Object)||!bh((function(){e=!0}))||e}))?vh:bh,wh=ft,Ah=It,Th=S,Rh=function(e,t,r){var n=wh(t);n in e?Ah.f(e,n,Th(0,r)):e[n]=r},Hh=ha,Ch=Te,Ph=D,Ih=Mo,kh=rt("iterator"),Mh=function(e){if(!Ph(e))return Ch(e,kh)||Ch(e,"@@iterator")||Ih[Hh(e)]},Oh=d,Lh=Se,Eh=Et,Bh=pe,Dh=Mh,Uh=TypeError,Fh=function(e,t){var r=arguments.length<2?Dh(e):t;if(Lh(r))return Eh(Oh(r,e));throw new Uh(Bh(e)+" is not iterable")},xh=Es,Nh=d,jh=Ne,Gh=function(e,t,r,n){try{return n?t(rh(r)[0],r[1]):t(r)}catch(t){nh(e,"throw",t)}},Yh=function(e){return void 0!==e&&(ah.Array===e||ih[oh]===e)},_h=Sh,zh=fn,Kh=Rh,Jh=Fh,Wh=Mh,qh=Array,Vh=sn,Zh=fn,$h=Rh,Qh=Array,Xh=Math.max,ec=function(e,t,r){for(var n=Zh(e),a=Vh(t,n),o=Vh(void 0===r?n:r,n),i=Qh(Xh(o-a,0)),s=0;a<o;a++,s++)$h(i,s,e[a]);return i.length=s,i},tc=H,rc=2147483647,nc=/[^\0-\u007E]/,ac=/[.\u3002\uFF0E\uFF61]/g,oc="Overflow: input needs wider integers to process",ic=RangeError,sc=tc(ac.exec),hc=Math.floor,cc=String.fromCharCode,lc=tc("".charCodeAt),uc=tc([].join),fc=tc([].push),dc=tc("".replace),mc=tc("".split),gc=tc("".toLowerCase),pc=function(e){return e+22+75*(e<26)},yc=function(e,t,r){var n=0;for(e=r?hc(e/700):e>>1,e+=hc(e/t);e>455;)e=hc(e/35),n+=36;return hc(n+36*e/(e+38))},bc=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=lc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=lc(e,r++);56320==(64512&o)?fc(t,((1023&a)<<10)+(1023&o)+65536):(fc(t,a),r--)}else fc(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&&fc(t,cc(n));var h=t.length,c=h;for(h&&fc(t,"-");c<a;){var l=rc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<l&&(l=n);var u=c+1;if(l-o>hc((rc-i)/u))throw new ic(oc);for(i+=(l-o)*u,o=l,r=0;r<e.length;r++){if((n=e[r])<o&&++i>rc)throw new ic(oc);if(n===o){for(var f=i,d=36;;){var m=d<=s?1:d>=s+26?26:d-s;if(f<m)break;var g=f-m,p=36-m;fc(t,cc(pc(m+g%p))),f=hc(g/p),d+=36}fc(t,cc(pc(f))),s=yc(i,u,c===h),i=0,c++}}i++,o++}return uc(t,"")},vc=TypeError,Sc=function(e,t){if(e<t)throw new vc("Not enough arguments");return e},wc=$r,Ac=ec,Tc=Math.floor,Rc=function(e,t){var r=e.length,n=Tc(r/2);return r<8?Hc(e,t):Cc(e,Rc(Ac(e,0,n),t),Rc(Ac(e,n),t),t)},Hc=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},Cc=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},Pc=ea,Ic=i,kc=d,Mc=H,Oc=c,Lc=Cs,Ec=$r,Bc=Us,Dc=function(e,t,r){for(var n in t)wc(e,n,t[n],r);return e},Uc=Qo,Fc=oi,xc=Ir,Nc=Ns,jc=K,Gc=Ye,Yc=Es,_c=ha,zc=Et,Kc=q,Jc=ua,Wc=Ja,qc=S,Vc=Fh,Zc=Mh,$c=Sc,Qc=Rc,Xc=rt("iterator"),el="URLSearchParams",tl=el+"Iterator",rl=xc.set,nl=xc.getterFor(el),al=xc.getterFor(tl),ol=Object.getOwnPropertyDescriptor,il=function(e){if(!Oc)return Ic[e];var t=ol(Ic,e);return t&&t.value},sl=il("fetch"),hl=il("Request"),cl=il("Headers"),ll=hl&&hl.prototype,ul=cl&&cl.prototype,fl=Ic.RegExp,dl=Ic.TypeError,ml=Ic.decodeURIComponent,gl=Ic.encodeURIComponent,pl=Mc("".charAt),yl=Mc([].join),bl=Mc([].push),vl=Mc("".replace),Sl=Mc([].shift),wl=Mc([].splice),Al=Mc("".split),Tl=Mc("".slice),Rl=/\+/g,Hl=Array(4),Cl=function(e){return Hl[e-1]||(Hl[e-1]=fl("((?:%[\\da-f]{2}){"+e+"})","gi"))},Pl=function(e){try{return ml(e)}catch(t){return e}},Il=function(e){var t=vl(e,Rl," "),r=4;try{return ml(t)}catch(e){for(;r;)t=vl(t,Cl(r--),Pl);return t}},kl=/[!'()~]|%20/g,Ml={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ol=function(e){return Ml[e]},Ll=function(e){return vl(gl(e),kl,Ol)},El=Fc((function(e,t){rl(this,{type:tl,iterator:Vc(nl(e).entries),kind:t})}),"Iterator",(function(){var e=al(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),Bl=function(e){this.entries=[],this.url=null,void 0!==e&&(Kc(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===pl(e,0)?Tl(e,1):e:Jc(e)))};Bl.prototype={type:el,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,h=Zc(e);if(h)for(r=(t=Vc(e,h)).next;!(n=kc(r,t)).done;){if(o=(a=Vc(zc(n.value))).next,(i=kc(o,a)).done||(s=kc(o,a)).done||!kc(o,a).done)throw new dl("Expected sequence with length 2");bl(this.entries,{key:Jc(i.value),value:Jc(s.value)})}else for(var c in e)Gc(e,c)&&bl(this.entries,{key:c,value:Jc(e[c])})},parseQuery:function(e){if(e)for(var t,r,n=Al(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=Al(t,"="),bl(this.entries,{key:Il(Sl(r)),value:Il(yl(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],bl(r,Ll(e.key)+"="+Ll(e.value));return yl(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Dl=function(){Nc(this,Ul);var e=rl(this,new Bl(arguments.length>0?arguments[0]:void 0));Oc||(this.size=e.entries.length)},Ul=Dl.prototype;if(Dc(Ul,{append:function(e,t){var r=nl(this);$c(arguments.length,2),bl(r.entries,{key:Jc(e),value:Jc(t)}),Oc||this.length++,r.updateURL()},delete:function(e){for(var t=nl(this),r=$c(arguments.length,1),n=t.entries,a=Jc(e),o=r<2?void 0:arguments[1],i=void 0===o?o:Jc(o),s=0;s<n.length;){var h=n[s];if(h.key!==a||void 0!==i&&h.value!==i)s++;else if(wl(n,s,1),void 0!==i)break}Oc||(this.size=n.length),t.updateURL()},get:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=nl(this).entries;$c(arguments.length,1);for(var r=Jc(e),n=[],a=0;a<t.length;a++)t[a].key===r&&bl(n,t[a].value);return n},has:function(e){for(var t=nl(this).entries,r=$c(arguments.length,1),n=Jc(e),a=r<2?void 0:arguments[1],o=void 0===a?a:Jc(a),i=0;i<t.length;){var s=t[i++];if(s.key===n&&(void 0===o||s.value===o))return!0}return!1},set:function(e,t){var r=nl(this);$c(arguments.length,1);for(var n,a=r.entries,o=!1,i=Jc(e),s=Jc(t),h=0;h<a.length;h++)(n=a[h]).key===i&&(o?wl(a,h--,1):(o=!0,n.value=s));o||bl(a,{key:i,value:s}),Oc||(this.size=a.length),r.updateURL()},sort:function(){var e=nl(this);Qc(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=nl(this).entries,n=Yc(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 El(this,"keys")},values:function(){return new El(this,"values")},entries:function(){return new El(this,"entries")}},{enumerable:!0}),Ec(Ul,Xc,Ul.entries,{name:"entries"}),Ec(Ul,"toString",(function(){return nl(this).serialize()}),{enumerable:!0}),Oc&&Bc(Ul,"size",{get:function(){return nl(this).entries.length},configurable:!0,enumerable:!0}),Uc(Dl,el),Pc({global:!0,constructor:!0,forced:!Lc},{URLSearchParams:Dl}),!Lc&&jc(cl)){var Fl=Mc(ul.has),xl=Mc(ul.set),Nl=function(e){if(Kc(e)){var t,r=e.body;if(_c(r)===el)return t=e.headers?new cl(e.headers):new cl,Fl(t,"content-type")||xl(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Wc(e,{body:qc(0,Jc(r)),headers:qc(0,t)})}return e};if(jc(sl)&&Pc({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return sl(e,arguments.length>1?Nl(arguments[1]):{})}}),jc(hl)){var jl=function(e){return Nc(this,ll),new hl(e,arguments.length>1?Nl(arguments[1]):{})};ll.constructor=jl,jl.prototype=ll,Pc({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:jl})}}var Gl,Yl=ea,_l=c,zl=Cs,Kl=i,Jl=Es,Wl=H,ql=$r,Vl=Us,Zl=Ns,$l=Ye,Ql=Qs,Xl=function(e){var t=jh(e),r=_h(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=xh(a,n>2?arguments[2]:void 0));var i,s,h,c,l,u,f=Wh(t),d=0;if(!f||this===qh&&Yh(f))for(i=zh(t),s=r?new this(i):qh(i);i>d;d++)u=o?a(t[d],d):t[d],Kh(s,d,u);else for(l=(c=Jh(t,f)).next,s=r?new this:[];!(h=Nh(l,c)).done;d++)u=o?Gh(c,a,[h.value,d],!0):h.value,Kh(s,d,u);return s.length=d,s},eu=ec,tu=ms.codeAt,ru=function(e){var t,r,n=[],a=mc(dc(gc(e),ac,"."),".");for(t=0;t<a.length;t++)r=a[t],fc(n,sc(nc,r)?"xn--"+bc(r):r);return uc(n,".")},nu=ua,au=Qo,ou=Sc,iu={URLSearchParams:Dl,getState:nl},su=Ir,hu=su.set,cu=su.getterFor("URL"),lu=iu.URLSearchParams,uu=iu.getState,fu=Kl.URL,du=Kl.TypeError,mu=Kl.parseInt,gu=Math.floor,pu=Math.pow,yu=Wl("".charAt),bu=Wl(/./.exec),vu=Wl([].join),Su=Wl(1..toString),wu=Wl([].pop),Au=Wl([].push),Tu=Wl("".replace),Ru=Wl([].shift),Hu=Wl("".split),Cu=Wl("".slice),Pu=Wl("".toLowerCase),Iu=Wl([].unshift),ku="Invalid scheme",Mu="Invalid host",Ou="Invalid port",Lu=/[a-z]/i,Eu=/[\d+-.a-z]/i,Bu=/\d/,Du=/^0x/i,Uu=/^[0-7]+$/,Fu=/^\d+$/,xu=/^[\da-f]+$/i,Nu=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ju=/[\0\t\n\r #/:<>?@[\\\]^|]/,Gu=/^[\u0000-\u0020]+/,Yu=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,_u=/[\t\n\r]/g,zu=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)Iu(t,e%256),e=gu(e/256);return vu(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+=Su(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ku={},Ju=Ql({},Ku,{" ":1,'"':1,"<":1,">":1,"`":1}),Wu=Ql({},Ju,{"#":1,"?":1,"{":1,"}":1}),qu=Ql({},Wu,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Vu=function(e,t){var r=tu(e,0);return r>32&&r<127&&!$l(t,e)?e:encodeURIComponent(e)},Zu={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$u=function(e,t){var r;return 2===e.length&&bu(Lu,yu(e,0))&&(":"===(r=yu(e,1))||!t&&"|"===r)},Qu=function(e){var t;return e.length>1&&$u(Cu(e,0,2))&&(2===e.length||"/"===(t=yu(e,2))||"\\"===t||"?"===t||"#"===t)},Xu=function(e){return"."===e||"%2e"===Pu(e)},ef={},tf={},rf={},nf={},af={},of={},sf={},hf={},cf={},lf={},uf={},ff={},df={},mf={},gf={},pf={},yf={},bf={},vf={},Sf={},wf={},Af=function(e,t,r){var n,a,o,i=nu(e);if(t){if(a=this.parse(i))throw new du(a);this.searchParams=null}else{if(void 0!==r&&(n=new Af(r,!0)),a=this.parse(i,null,n))throw new du(a);(o=uu(new lu)).bindURL(this),this.searchParams=o}};Af.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,h=this,c=t||ef,l=0,u="",f=!1,d=!1,m=!1;for(e=nu(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=Tu(e,Gu,""),e=Tu(e,Yu,"$1")),e=Tu(e,_u,""),n=Xl(e);l<=n.length;){switch(a=n[l],c){case ef:if(!a||!bu(Lu,a)){if(t)return ku;c=rf;continue}u+=Pu(a),c=tf;break;case tf:if(a&&(bu(Eu,a)||"+"===a||"-"===a||"."===a))u+=Pu(a);else{if(":"!==a){if(t)return ku;u="",c=rf,l=0;continue}if(t&&(h.isSpecial()!==$l(Zu,u)||"file"===u&&(h.includesCredentials()||null!==h.port)||"file"===h.scheme&&!h.host))return;if(h.scheme=u,t)return void(h.isSpecial()&&Zu[h.scheme]===h.port&&(h.port=null));u="","file"===h.scheme?c=mf:h.isSpecial()&&r&&r.scheme===h.scheme?c=nf:h.isSpecial()?c=hf:"/"===n[l+1]?(c=af,l++):(h.cannotBeABaseURL=!0,Au(h.path,""),c=vf)}break;case rf:if(!r||r.cannotBeABaseURL&&"#"!==a)return ku;if(r.cannotBeABaseURL&&"#"===a){h.scheme=r.scheme,h.path=eu(r.path),h.query=r.query,h.fragment="",h.cannotBeABaseURL=!0,c=wf;break}c="file"===r.scheme?mf:of;continue;case nf:if("/"!==a||"/"!==n[l+1]){c=of;continue}c=cf,l++;break;case af:if("/"===a){c=lf;break}c=bf;continue;case of:if(h.scheme=r.scheme,a===Gl)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query;else if("/"===a||"\\"===a&&h.isSpecial())c=sf;else if("?"===a)h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query="",c=Sf;else{if("#"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.path.length--,c=bf;continue}h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf}break;case sf:if(!h.isSpecial()||"/"!==a&&"\\"!==a){if("/"!==a){h.username=r.username,h.password=r.password,h.host=r.host,h.port=r.port,c=bf;continue}c=lf}else c=cf;break;case hf:if(c=cf,"/"!==a||"/"!==yu(u,l+1))continue;l++;break;case cf:if("/"!==a&&"\\"!==a){c=lf;continue}break;case lf:if("@"===a){f&&(u="%40"+u),f=!0,o=Xl(u);for(var g=0;g<o.length;g++){var p=o[g];if(":"!==p||m){var y=Vu(p,qu);m?h.password+=y:h.username+=y}else m=!0}u=""}else if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(f&&""===u)return"Invalid authority";l-=Xl(u).length+1,u="",c=uf}else u+=a;break;case uf:case ff:if(t&&"file"===h.scheme){c=pf;continue}if(":"!==a||d){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()){if(h.isSpecial()&&""===u)return Mu;if(t&&""===u&&(h.includesCredentials()||null!==h.port))return;if(i=h.parseHost(u))return i;if(u="",c=yf,t)return;continue}"["===a?d=!0:"]"===a&&(d=!1),u+=a}else{if(""===u)return Mu;if(i=h.parseHost(u))return i;if(u="",c=df,t===ff)return}break;case df:if(!bu(Bu,a)){if(a===Gl||"/"===a||"?"===a||"#"===a||"\\"===a&&h.isSpecial()||t){if(""!==u){var b=mu(u,10);if(b>65535)return Ou;h.port=h.isSpecial()&&b===Zu[h.scheme]?null:b,u=""}if(t)return;c=yf;continue}return Ou}u+=a;break;case mf:if(h.scheme="file","/"===a||"\\"===a)c=gf;else{if(!r||"file"!==r.scheme){c=bf;continue}switch(a){case Gl:h.host=r.host,h.path=eu(r.path),h.query=r.query;break;case"?":h.host=r.host,h.path=eu(r.path),h.query="",c=Sf;break;case"#":h.host=r.host,h.path=eu(r.path),h.query=r.query,h.fragment="",c=wf;break;default:Qu(vu(eu(n,l),""))||(h.host=r.host,h.path=eu(r.path),h.shortenPath()),c=bf;continue}}break;case gf:if("/"===a||"\\"===a){c=pf;break}r&&"file"===r.scheme&&!Qu(vu(eu(n,l),""))&&($u(r.path[0],!0)?Au(h.path,r.path[0]):h.host=r.host),c=bf;continue;case pf:if(a===Gl||"/"===a||"\\"===a||"?"===a||"#"===a){if(!t&&$u(u))c=bf;else if(""===u){if(h.host="",t)return;c=yf}else{if(i=h.parseHost(u))return i;if("localhost"===h.host&&(h.host=""),t)return;u="",c=yf}continue}u+=a;break;case yf:if(h.isSpecial()){if(c=bf,"/"!==a&&"\\"!==a)continue}else if(t||"?"!==a)if(t||"#"!==a){if(a!==Gl&&(c=bf,"/"!==a))continue}else h.fragment="",c=wf;else h.query="",c=Sf;break;case bf:if(a===Gl||"/"===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()||Au(h.path,"")):Xu(u)?"/"===a||"\\"===a&&h.isSpecial()||Au(h.path,""):("file"===h.scheme&&!h.path.length&&$u(u)&&(h.host&&(h.host=""),u=yu(u,0)+":"),Au(h.path,u)),u="","file"===h.scheme&&(a===Gl||"?"===a||"#"===a))for(;h.path.length>1&&""===h.path[0];)Ru(h.path);"?"===a?(h.query="",c=Sf):"#"===a&&(h.fragment="",c=wf)}else u+=Vu(a,Wu);break;case vf:"?"===a?(h.query="",c=Sf):"#"===a?(h.fragment="",c=wf):a!==Gl&&(h.path[0]+=Vu(a,Ku));break;case Sf:t||"#"!==a?a!==Gl&&("'"===a&&h.isSpecial()?h.query+="%27":h.query+="#"===a?"%23":Vu(a,Ku)):(h.fragment="",c=wf);break;case wf:a!==Gl&&(h.fragment+=Vu(a,Ju))}l++}},parseHost:function(e){var t,r,n;if("["===yu(e,0)){if("]"!==yu(e,e.length-1))return Mu;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 yu(e,u)};if(":"===f()){if(":"!==yu(e,1))return;u+=2,l=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=r=0;r<4&&bu(xu,f());)t=16*t+mu(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(!bu(Bu,f()))return;for(;bu(Bu,f());){if(o=mu(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}(Cu(e,1,-1)),!t)return Mu;this.host=t}else if(this.isSpecial()){if(e=ru(e),bu(Nu,e))return Mu;if(t=function(e){var t,r,n,a,o,i,s,h=Hu(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"===yu(a,0)&&(o=bu(Du,a)?16:8,a=Cu(a,8===o?1:2)),""===a)i=0;else{if(!bu(10===o?Fu:8===o?Uu:xu,a))return e;i=mu(a,o)}Au(r,i)}for(n=0;n<t;n++)if(i=r[n],n===t-1){if(i>=pu(256,5-t))return null}else if(i>255)return null;for(s=wu(r),n=0;n<r.length;n++)s+=r[n]*pu(256,3-n);return s}(e),null===t)return Mu;this.host=t}else{if(bu(ju,e))return Mu;for(t="",r=Xl(e),n=0;n<r.length;n++)t+=Vu(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 $l(Zu,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&$u(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+=zu(a),null!==o&&(c+=":"+o)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+vu(i,"/"):"",null!==s&&(c+="?"+s),null!==h&&(c+="#"+h),c},setHref:function(e){var t=this.parse(e);if(t)throw new du(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Tf(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+zu(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(nu(e)+":",ef)},getUsername:function(){return this.username},setUsername:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Vu(t[r],qu)}},getPassword:function(){return this.password},setPassword:function(e){var t=Xl(nu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Vu(t[r],qu)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?zu(e):zu(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,uf)},getHostname:function(){var e=this.host;return null===e?"":zu(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,ff)},getPort:function(){var e=this.port;return null===e?"":nu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=nu(e))?this.port=null:this.parse(e,df))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+vu(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,yf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=nu(e))?this.query=null:("?"===yu(e,0)&&(e=Cu(e,1)),this.query="",this.parse(e,Sf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=nu(e))?("#"===yu(e,0)&&(e=Cu(e,1)),this.fragment="",this.parse(e,wf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Tf=function(e){var t=Zl(this,Rf),r=ou(arguments.length,1)>1?arguments[1]:void 0,n=hu(t,new Af(e,!1,r));_l||(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())},Rf=Tf.prototype,Hf=function(e,t){return{get:function(){return cu(this)[e]()},set:t&&function(e){return cu(this)[t](e)},configurable:!0,enumerable:!0}};if(_l&&(Vl(Rf,"href",Hf("serialize","setHref")),Vl(Rf,"origin",Hf("getOrigin")),Vl(Rf,"protocol",Hf("getProtocol","setProtocol")),Vl(Rf,"username",Hf("getUsername","setUsername")),Vl(Rf,"password",Hf("getPassword","setPassword")),Vl(Rf,"host",Hf("getHost","setHost")),Vl(Rf,"hostname",Hf("getHostname","setHostname")),Vl(Rf,"port",Hf("getPort","setPort")),Vl(Rf,"pathname",Hf("getPathname","setPathname")),Vl(Rf,"search",Hf("getSearch","setSearch")),Vl(Rf,"searchParams",Hf("getSearchParams")),Vl(Rf,"hash",Hf("getHash","setHash"))),ql(Rf,"toJSON",(function(){return cu(this).serialize()}),{enumerable:!0}),ql(Rf,"toString",(function(){return cu(this).serialize()}),{enumerable:!0}),fu){var Cf=fu.createObjectURL,Pf=fu.revokeObjectURL;Cf&&ql(Tf,"createObjectURL",Jl(Cf,fu)),Pf&&ql(Tf,"revokeObjectURL",Jl(Pf,fu))}au(Tf,"URL"),Yl({global:!0,constructor:!0,forced:!zl,sham:!_l},{URL:Tf});var If,kf=q,Mf=k,Of=rt("match"),Lf=function(e){var t;return kf(e)&&(void 0!==(t=e[Of])?!!t:"RegExp"===Mf(e))},Ef=TypeError,Bf=rt("match"),Df=ea,Uf=ks,Ff=s.f,xf=ln,Nf=ua,jf=function(e){if(Lf(e))throw new Ef("The method doesn't accept regular expressions");return e},Gf=x,Yf=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Bf]=!1,"/./"[e](t)}catch(e){}}return!1},_f=Uf("".startsWith),zf=Uf("".slice),Kf=Math.min,Jf=Yf("startsWith");Df({target:"String",proto:!0,forced:!!(Jf||(If=Ff(String.prototype,"startsWith"),!If||If.writable))&&!Jf},{startsWith:function(e){var t=Nf(Gf(this));jf(e);var r=xf(Kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Nf(e);return _f?_f(t,n,r):zf(t,r,r+n.length)===n}});var Wf=d,qf=Ye,Vf=Q,Zf=da,$f=RegExp.prototype,Qf=er.PROPER,Xf=$r,ed=Et,td=ua,rd=h,nd=function(e){var t=e.flags;return void 0!==t||"flags"in $f||qf(e,"flags")||!Vf($f,e)?t:Wf(Zf,e)},ad="toString",od=RegExp.prototype[ad],id=rd((function(){return"/a/b"!==od.call({source:"a",flags:"b"})})),sd=Qf&&od.name!==ad;(id||sd)&&Xf(RegExp.prototype,ad,(function(){var e=ed(this);return"/"+td(e.source)+"/"+td(nd(e))}),{unsafe:!0});var hd={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer. Shabbat before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},cd={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 ld(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:cd[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function ud(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function fd(e){return e<10?"0"+e:""+e}function dd(e){return e<0?"-00"+dd(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:""+e}function md(e){return dd(e.getFullYear())+"-"+fd(e.getMonth()+1)+"-"+fd(e.getDate())}function gd(e){const t=e.getDesc();return"Purim"===t||"Erev Purim"===t?["holiday","major"]:e.getCategories()}function pd(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 yd(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(hd[e.getDesc()]||hd[e.basename()]||"").normalize();if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const bd=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.NACH_YOMI|t.flags.HEBREW_DATE|t.flags.YERUSHALMI_YOMI;function vd(e,n){const a=e.getFlags();if(a&bd)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 Sd(e,r){if(e.getFlags()&t.flags.PARSHA_HASHAVUA)try{const t=vd(e,r);if(t)return t}catch(e){}return e.memo||hd[e.basename()]}function wd(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 Ad(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 Td='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',Rd={dafyomi:"Daf Yomi",mishnayomi:"Mishna Yomi",nachyomi:"Nach Yomi",yerushalmi:"Yerushalmi Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:"",molad:"",omer:"",parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal",zmanim:""};function Hd(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=Ad(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 m="Jewish Holidays";const g=e.getFlags();if(f&&"object"==typeof r.location){const e=r.location.getShortName(),t=e.indexOf(",");m=-1===t?e:e.substring(0,t)}else{const t=Rd[gd(e)[0]];"string"==typeof t&&(m=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||yd(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||g&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(h,",").concat(l,",").concat(c,",").concat(u,',"').concat(y,'","').concat(b,'","').concat(m,'"')}function Cd(e){return md(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):md(h),u=gd(e),f=e.getFlags();let d=Ad(e)?e.renderBrief(a.locale):e.render(a.locale);const m=e.getDesc(),g="Havdalah"===m||"Candle lighting"===m;if(g){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!=m&&(p.title_orig=m);const y=e.renderBrief("he");if(y&&(p.hebrew=t.Locale.hebrewStripNikkud(y)),!g){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=function(e){const t={};e.summary&&(t.torah=e.summary);e.haftara&&(t.haftarah=e.haftara);e.sephardic&&(t.haftarah_sephardic=e.sephardic);e.fullkriyah&&Id(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));return t}(h);const t=s.getFullYear();if(i&&!o&&t>=5745){const t=n.getTriennialForParshaHaShavua(e);t&&(p.leyning.triennial=Id({},t.aliyot))}}}const i=e.url();if(i){const e=a.utmSource||"js",t=a.utmMedium||"api",r=a.utmCampaign;p.link=wd(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")}}),f&t.flags.MOLAD){const r=e.molad;p.molad={hy:r.year,hm:t.HDate.getMonthName(r.month,r.year),dow:r.dow,hour:r.hour,minutes:r.minutes,chalakim:r.chalakim},delete p.hebrew}if(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||hd[e.basename()];return"string"==typeof b&&0!==b.length?p.memo=b.normalize():void 0!==e.linkedEvent&&(p.memo=e.linkedEvent.render(a.locale)),a.includeEvent&&(p.ev=e),p}function Id(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}const kd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function Md(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=ud(e.getDesc()),m="".concat(f,"-").concat(d),g=e.url();if(g)s=wd(g,r,o,i).replace(/&/g,"&"),h="".concat(g,"#").concat(m);else{const e="".concat(a,"&dt=").concat(u),t=wd(e,r,o,i).replace(/&/g,"&");h=e.replace(/&/g,"&")+"#".concat(m),s="".concat(t,"#").concat(m)}return[s,h]}(e,s,h,r.mainUrl,c,l),f=u[0],d=u[1],m=gd(e)[0],g=e.getDesc();let p;if("Havdalah"===g||"Candle lighting"===g){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=Sd(e,s);const y=r.dayFormat,b=p||y.format(a),v=-1===b.indexOf("<")?b:"<![CDATA[".concat(b,"]]>"),S="candles"==m?"<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(v,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(o,"</pubDate>\n").concat(S,"</item>\n")}return e.appendIsraelAndTracking=wd,e.countryNames=cd,e.eventToClassicApiObject=Pd,e.eventToCsv=Hd,e.eventToFullCalendar=function(e,r,n){const a=gd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:Ad(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):md(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=wd(c,n,"js","fc"));const l=e.getDesc();if(!("Havdalah"===l||"Candle lighting"===l)){const t=Sd(e,n);t?s.description=t:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem2=Md,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:pd(e,t),date:(new Date).toISOString()};return n.location=ld(t.location),e.length&&(n.range={start:Cd(e[0]),end:Cd(e[e.length-1])}),n.items=e.map((e=>Pd(e,t,r))),n},e.eventsToCsv=function(e,t){return[Td].concat(e.map((e=>Hd(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||pd(e,t),h=t.description||s,c=t.utmSource||"shabbat1c",l=t.utmMedium||"rss",u=wd(n,r&&r.getIsrael(),c,l,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||kd[t.locale]||t.locale||"en-US";let m='<?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=>{m+=Md(e,t)})),m+="</channel>\n</rss>\n",m},e.getCalendarTitle=pd,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+="_"+ud(n).replace(/[-]/g,"_"))}return r},e.getEventCategories=gd,e.getHolidayDescription=yd,e.holidayDescription=hd,e.locationToPlainObj=ld,e.makeAnchor=ud,e.makeMemo=Sd,e.makeTorahMemoText=vd,e.pad2=fd,e.pad4=dd,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=Ad,e.toISOString=md,e}({},hebcal,hebcal__leyning,hebcal__triennial);
|
package/dist/fullcalendar.js
CHANGED
package/dist/fullcalendar.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.5 */
|
|
2
2
|
var hebcalFullCalendar=function(e,a,o){"use strict";var t={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem","Ben-Gurion Day":"Commemorates the life and vision of Israel's first Prime Minister David Ben-Gurion","Birkat Hachamah":"A rare Jewish blessing recited once every 28 years thanking G-d for creating the sun","Chag HaBanot":"North African Chanukah festival of daughters. Called Eid al-Banat in Arabic, the holiday was most preserved in Tunisia",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights, the eight-day festival is observed by lighting the candles of a hanukkiah (menorah)","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot. Also called Sefirat HaOmer, it is a practice that consists of a verbal counting of each of the forty-nine days between the two holidays","Family Day":"Yom HaMishpacha, a day to honor the family unit","Herzl Day":"Commemorates the life and vision of Zionist leader Theodor Herzl","Jabotinsky Day":"Commemorates the life and vision of Zionist leader Ze'ev Jabotinsky","Lag BaOmer":"33rd day of counting the Omer. The holiday is a temporary break from the semi-mourning period the counting of the Omer. Practices include lighting bonfires, getting haircuts, and Jewish weddings","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Purim Meshulash":"Triple Purim, spanning 3 days in Jerusalem and walled cities. It occurs when the 15th of Adar coincides with Shabbat","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat of Prophecy/Shabbat of Vision. Shabbat before Tish'a B'Av","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan. Read in preparation for Passover","Shabbat HaGadol":"Shabbat before Pesach (The Great Shabbat)","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer. Shabbat before Shabbat HaChodesh, in preparation for Passover","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar. Read in preparation for Purim","Shabbat Shirah":"Shabbat of Song. Shabbat that includes Parashat Beshalach","Shabbat Shuva":"Shabbat of Returning. Shabbat that occurs during the Ten Days of Repentance between Rosh Hashanah and Yom Kippur","Shabbat Zachor":"Shabbat of Remembrance. Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly. Immediately following Sukkot, it is observed as a separate holiday in the Diaspora and is combined with Simchat Torah in Israel","Shushan Purim":"Purim celebrated in Jerusalem and walled cities","Shushan Purim Katan":"Minor Purim celebration during Adar I on leap years in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah. Celebration marking the conclusion of the annual cycle of public Torah readings, and the beginning of a new cycle",Sukkot:"Feast of Booths. Also called the Feast of Tabernacles, the seven-day holiday is one of the Three Pilgrimage Festivals (Hebrew: שלוש רגלים, shalosh regalim)","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees. Tu BiShvat is one of four “New Years” mentioned in the Mishnah","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yitzhak Rabin Memorial Day":"Commemorates the life of Israeli Prime Minister Yitzhak Rabin","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement. The holiest day of the year in Judaism, traditionally observed with a 25-hour period of fasting and intensive prayer","Yom Kippur Katan":"Minor day of atonement occurring monthly on the day preceeding each Rosh Chodesh","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"};function r(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 n(e){return h(e.getFullYear())+"-"+r(e.getMonth()+1)+"-"+r(e.getDate())}var s=a.flags.DAF_YOMI|a.flags.OMER_COUNT|a.flags.SHABBAT_MEVARCHIM|a.flags.MOLAD|a.flags.USER_EVENT|a.flags.NACH_YOMI|a.flags.HEBREW_DATE|a.flags.YERUSHALMI_YOMI;function i(e,r){if(e.getFlags()&a.flags.PARSHA_HASHAVUA)try{var h=function(e,t){var r=e.getFlags();if(r&s)return"";if(void 0!==e.eventTime)return"";var h=r&a.flags.PARSHA_HASHAVUA?o.getLeyningForParshaHaShavua(e,t):o.getLeyningForHoliday(e,t),n="";return h&&(h.summary||h.haftara)&&(h.summary&&(n+="Torah: ".concat(h.summary)),h.summary&&h.haftara&&(n+="\n"),h.haftara&&(n+="Haftarah: "+h.haftara,h.reason&&h.reason.haftara&&(n+=" | "+h.reason.haftara))),h&&h.sephardic&&(n+="\nHaftarah for Sephardim: "+h.sephardic),n}(e,r);if(h)return h}catch(e){}return e.memo||t[e.basename()]}return e.eventToFullCalendar=function(e,o,t){var r=function(e){var a=e.getDesc();return"Purim"===a||"Erev Purim"===a?["holiday","major"]:e.getCategories()}(e),h=e.getFlags();"holiday"==r[0]&&h&a.flags.CHAG&&r.push("yomtov");var s=Boolean(e.eventTime),d={title: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(),start:s?a.Zmanim.formatISOWithTimeZone(o,e.eventTime):n(e.getDate().greg()),allDay:!s,className:r.join(" ")},l=e.renderBrief("he");l&&(d.hebrew=a.Locale.hebrewStripNikkud(l));var m=e.url();m&&(d.url=function(e,a,o,t,r){var h=new URL(e),n="www.hebcal.com"===h.host;if(n){a&&h.searchParams.set("i","on");var s=h.pathname,i=s.startsWith("/holidays/"),d=s.startsWith("/sedrot/"),l=s.startsWith("/omer/");if(i||d||l)return h.host="hebcal.com",h.pathname=i?"/h/"+s.substring(10):d?"/s/"+s.substring(8):"/o/"+s.substring(6),r&&(r.startsWith("ical-")||r.startsWith("pdf-"))||(o&&h.searchParams.set("us",o),t&&h.searchParams.set("um",t)),r&&h.searchParams.set("uc",r),h.toString()}return(o=n?o:"hebcal.com")&&h.searchParams.set("utm_source",o),t&&h.searchParams.set("utm_medium",t),r&&h.searchParams.set("utm_campaign",r),h.toString()}(m,t,"js","fc"));var f=e.getDesc();if(!("Havdalah"===f||"Candle lighting"===f)){var c=i(e,t);c?d.description=c:void 0!==e.linkedEvent&&(d.description=e.linkedEvent.render())}return d},e}({},hebcal,hebcal__leyning);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.5 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var core = require('@hebcal/core');
|
|
@@ -770,7 +770,8 @@ function eventToRssItem2(ev, options) {
|
|
|
770
770
|
memo = makeMemo(ev, il);
|
|
771
771
|
}
|
|
772
772
|
const dayFormat = options.dayFormat;
|
|
773
|
-
const
|
|
773
|
+
const description0 = memo || dayFormat.format(evDate);
|
|
774
|
+
const description = description0.indexOf('<') === -1 ? description0 : `<![CDATA[${description0}]]>`;
|
|
774
775
|
const geoTags = cat0 == 'candles' ? `<geo:lat>${location.getLatitude()}</geo:lat>\n<geo:long>${location.getLongitude()}</geo:long>\n` : '';
|
|
775
776
|
return `<item>
|
|
776
777
|
<title>${subj}</title>
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v4.5.
|
|
1
|
+
/*! @hebcal/rest-api v4.5.5 */
|
|
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';
|
|
@@ -768,7 +768,8 @@ function eventToRssItem2(ev, options) {
|
|
|
768
768
|
memo = makeMemo(ev, il);
|
|
769
769
|
}
|
|
770
770
|
const dayFormat = options.dayFormat;
|
|
771
|
-
const
|
|
771
|
+
const description0 = memo || dayFormat.format(evDate);
|
|
772
|
+
const description = description0.indexOf('<') === -1 ? description0 : `<![CDATA[${description0}]]>`;
|
|
772
773
|
const geoTags = cat0 == 'candles' ? `<geo:lat>${location.getLatitude()}</geo:lat>\n<geo:long>${location.getLongitude()}</geo:long>\n` : '';
|
|
773
774
|
return `<item>
|
|
774
775
|
<title>${subj}</title>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/rest-api",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.5",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
57
57
|
"@rollup/plugin-terser": "^0.4.3",
|
|
58
58
|
"ava": "^5.3.1",
|
|
59
|
-
"core-js": "^3.
|
|
59
|
+
"core-js": "^3.33.0",
|
|
60
60
|
"eslint": "^8.50.0",
|
|
61
61
|
"eslint-config-google": "^0.14.0",
|
|
62
62
|
"jsdoc": "^4.0.2",
|
|
63
63
|
"jsdoc-to-markdown": "^8.0.0",
|
|
64
|
-
"rollup": "^3.29.
|
|
64
|
+
"rollup": "^3.29.4"
|
|
65
65
|
}
|
|
66
66
|
}
|