@hebcal/rest-api 3.17.0 → 3.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +129 -119
- package/dist/bundle.min.js +2 -2
- package/dist/index.js +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +6 -6
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
1
|
+
/*! @hebcal/rest-api v3.18.0 */
|
|
2
2
|
var hebcal__rest_api = (function (exports, core, leyn) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -29,7 +29,7 @@ var check = function (it) {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
32
|
-
var global$
|
|
32
|
+
var global$B =
|
|
33
33
|
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
34
34
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
35
35
|
check(typeof window == 'object' && window) ||
|
|
@@ -123,12 +123,12 @@ var classofRaw$1 = function (it) {
|
|
|
123
123
|
return stringSlice$5(toString$6(it), 8, -1);
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
var global$
|
|
126
|
+
var global$A = global$B;
|
|
127
127
|
var uncurryThis$h = functionUncurryThis;
|
|
128
128
|
var fails$e = fails$h;
|
|
129
129
|
var classof$6 = classofRaw$1;
|
|
130
130
|
|
|
131
|
-
var Object$5 = global$
|
|
131
|
+
var Object$5 = global$A.Object;
|
|
132
132
|
var split$3 = uncurryThis$h(''.split);
|
|
133
133
|
|
|
134
134
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
@@ -140,9 +140,9 @@ var indexedObject = fails$e(function () {
|
|
|
140
140
|
return classof$6(it) == 'String' ? split$3(it, '') : Object$5(it);
|
|
141
141
|
} : Object$5;
|
|
142
142
|
|
|
143
|
-
var global$
|
|
143
|
+
var global$z = global$B;
|
|
144
144
|
|
|
145
|
-
var TypeError$e = global$
|
|
145
|
+
var TypeError$e = global$z.TypeError;
|
|
146
146
|
|
|
147
147
|
// `RequireObjectCoercible` abstract operation
|
|
148
148
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
@@ -171,7 +171,7 @@ var isObject$7 = function (it) {
|
|
|
171
171
|
return typeof it == 'object' ? it !== null : isCallable$g(it);
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var global$
|
|
174
|
+
var global$y = global$B;
|
|
175
175
|
var isCallable$f = isCallable$h;
|
|
176
176
|
|
|
177
177
|
var aFunction = function (argument) {
|
|
@@ -179,7 +179,7 @@ var aFunction = function (argument) {
|
|
|
179
179
|
};
|
|
180
180
|
|
|
181
181
|
var getBuiltIn$5 = function (namespace, method) {
|
|
182
|
-
return arguments.length < 2 ? aFunction(global$
|
|
182
|
+
return arguments.length < 2 ? aFunction(global$y[namespace]) : global$y[namespace] && global$y[namespace][method];
|
|
183
183
|
};
|
|
184
184
|
|
|
185
185
|
var uncurryThis$g = functionUncurryThis;
|
|
@@ -190,11 +190,11 @@ var getBuiltIn$4 = getBuiltIn$5;
|
|
|
190
190
|
|
|
191
191
|
var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
|
|
192
192
|
|
|
193
|
-
var global$
|
|
193
|
+
var global$x = global$B;
|
|
194
194
|
var userAgent = engineUserAgent;
|
|
195
195
|
|
|
196
|
-
var process = global$
|
|
197
|
-
var Deno = global$
|
|
196
|
+
var process = global$x.process;
|
|
197
|
+
var Deno = global$x.Deno;
|
|
198
198
|
var versions = process && process.versions || Deno && Deno.version;
|
|
199
199
|
var v8 = versions && versions.v8;
|
|
200
200
|
var match, version;
|
|
@@ -241,13 +241,13 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
241
241
|
&& !Symbol.sham
|
|
242
242
|
&& typeof Symbol.iterator == 'symbol';
|
|
243
243
|
|
|
244
|
-
var global$
|
|
244
|
+
var global$w = global$B;
|
|
245
245
|
var getBuiltIn$3 = getBuiltIn$5;
|
|
246
246
|
var isCallable$e = isCallable$h;
|
|
247
247
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
248
248
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
249
249
|
|
|
250
|
-
var Object$4 = global$
|
|
250
|
+
var Object$4 = global$w.Object;
|
|
251
251
|
|
|
252
252
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
253
253
|
return typeof it == 'symbol';
|
|
@@ -256,9 +256,9 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
256
256
|
return isCallable$e($Symbol) && isPrototypeOf$2($Symbol.prototype, Object$4(it));
|
|
257
257
|
};
|
|
258
258
|
|
|
259
|
-
var global$
|
|
259
|
+
var global$v = global$B;
|
|
260
260
|
|
|
261
|
-
var String$4 = global$
|
|
261
|
+
var String$4 = global$v.String;
|
|
262
262
|
|
|
263
263
|
var tryToString$2 = function (argument) {
|
|
264
264
|
try {
|
|
@@ -268,11 +268,11 @@ var tryToString$2 = function (argument) {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
var global$
|
|
271
|
+
var global$u = global$B;
|
|
272
272
|
var isCallable$d = isCallable$h;
|
|
273
273
|
var tryToString$1 = tryToString$2;
|
|
274
274
|
|
|
275
|
-
var TypeError$d = global$
|
|
275
|
+
var TypeError$d = global$u.TypeError;
|
|
276
276
|
|
|
277
277
|
// `Assert: IsCallable(argument) is true`
|
|
278
278
|
var aCallable$3 = function (argument) {
|
|
@@ -289,12 +289,12 @@ var getMethod$3 = function (V, P) {
|
|
|
289
289
|
return func == null ? undefined : aCallable$2(func);
|
|
290
290
|
};
|
|
291
291
|
|
|
292
|
-
var global$
|
|
292
|
+
var global$t = global$B;
|
|
293
293
|
var call$a = functionCall;
|
|
294
294
|
var isCallable$c = isCallable$h;
|
|
295
295
|
var isObject$6 = isObject$7;
|
|
296
296
|
|
|
297
|
-
var TypeError$c = global$
|
|
297
|
+
var TypeError$c = global$t.TypeError;
|
|
298
298
|
|
|
299
299
|
// `OrdinaryToPrimitive` abstract operation
|
|
300
300
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -310,24 +310,24 @@ var shared$4 = {exports: {}};
|
|
|
310
310
|
|
|
311
311
|
var isPure = false;
|
|
312
312
|
|
|
313
|
-
var global$
|
|
313
|
+
var global$s = global$B;
|
|
314
314
|
|
|
315
315
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
316
|
-
var defineProperty$
|
|
316
|
+
var defineProperty$6 = Object.defineProperty;
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var defineGlobalProperty$3 = function (key, value) {
|
|
319
319
|
try {
|
|
320
|
-
defineProperty$
|
|
320
|
+
defineProperty$6(global$s, key, { value: value, configurable: true, writable: true });
|
|
321
321
|
} catch (error) {
|
|
322
|
-
global$
|
|
322
|
+
global$s[key] = value;
|
|
323
323
|
} return value;
|
|
324
324
|
};
|
|
325
325
|
|
|
326
|
-
var global$
|
|
327
|
-
var
|
|
326
|
+
var global$r = global$B;
|
|
327
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
328
328
|
|
|
329
329
|
var SHARED = '__core-js_shared__';
|
|
330
|
-
var store$3 = global$
|
|
330
|
+
var store$3 = global$r[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
331
331
|
|
|
332
332
|
var sharedStore = store$3;
|
|
333
333
|
|
|
@@ -336,17 +336,17 @@ var store$2 = sharedStore;
|
|
|
336
336
|
(shared$4.exports = function (key, value) {
|
|
337
337
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
338
338
|
})('versions', []).push({
|
|
339
|
-
version: '3.22.
|
|
339
|
+
version: '3.22.7',
|
|
340
340
|
mode: 'global',
|
|
341
341
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
342
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
342
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE',
|
|
343
343
|
source: 'https://github.com/zloirock/core-js'
|
|
344
344
|
});
|
|
345
345
|
|
|
346
|
-
var global$
|
|
346
|
+
var global$q = global$B;
|
|
347
347
|
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
348
348
|
|
|
349
|
-
var Object$3 = global$
|
|
349
|
+
var Object$3 = global$q.Object;
|
|
350
350
|
|
|
351
351
|
// `ToObject` abstract operation
|
|
352
352
|
// https://tc39.es/ecma262/#sec-toobject
|
|
@@ -376,7 +376,7 @@ var uid$2 = function (key) {
|
|
|
376
376
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
var global$
|
|
379
|
+
var global$p = global$B;
|
|
380
380
|
var shared$3 = shared$4.exports;
|
|
381
381
|
var hasOwn$b = hasOwnProperty_1;
|
|
382
382
|
var uid$1 = uid$2;
|
|
@@ -384,7 +384,7 @@ var NATIVE_SYMBOL = nativeSymbol;
|
|
|
384
384
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
385
385
|
|
|
386
386
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
387
|
-
var Symbol$1 = global$
|
|
387
|
+
var Symbol$1 = global$p.Symbol;
|
|
388
388
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
389
389
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
390
390
|
|
|
@@ -401,7 +401,7 @@ var wellKnownSymbol$e = function (name) {
|
|
|
401
401
|
} return WellKnownSymbolsStore[name];
|
|
402
402
|
};
|
|
403
403
|
|
|
404
|
-
var global$
|
|
404
|
+
var global$o = global$B;
|
|
405
405
|
var call$9 = functionCall;
|
|
406
406
|
var isObject$5 = isObject$7;
|
|
407
407
|
var isSymbol$1 = isSymbol$2;
|
|
@@ -409,7 +409,7 @@ var getMethod$2 = getMethod$3;
|
|
|
409
409
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
410
410
|
var wellKnownSymbol$d = wellKnownSymbol$e;
|
|
411
411
|
|
|
412
|
-
var TypeError$b = global$
|
|
412
|
+
var TypeError$b = global$o.TypeError;
|
|
413
413
|
var TO_PRIMITIVE = wellKnownSymbol$d('toPrimitive');
|
|
414
414
|
|
|
415
415
|
// `ToPrimitive` abstract operation
|
|
@@ -438,10 +438,10 @@ var toPropertyKey$3 = function (argument) {
|
|
|
438
438
|
return isSymbol(key) ? key : key + '';
|
|
439
439
|
};
|
|
440
440
|
|
|
441
|
-
var global$
|
|
441
|
+
var global$n = global$B;
|
|
442
442
|
var isObject$4 = isObject$7;
|
|
443
443
|
|
|
444
|
-
var document$1 = global$
|
|
444
|
+
var document$1 = global$n.document;
|
|
445
445
|
// typeof document.createElement is 'object' in old IE
|
|
446
446
|
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
447
447
|
|
|
@@ -499,11 +499,11 @@ var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$b(function () {
|
|
|
499
499
|
}).prototype != 42;
|
|
500
500
|
});
|
|
501
501
|
|
|
502
|
-
var global$
|
|
502
|
+
var global$m = global$B;
|
|
503
503
|
var isObject$3 = isObject$7;
|
|
504
504
|
|
|
505
|
-
var String$3 = global$
|
|
506
|
-
var TypeError$a = global$
|
|
505
|
+
var String$3 = global$m.String;
|
|
506
|
+
var TypeError$a = global$m.TypeError;
|
|
507
507
|
|
|
508
508
|
// `Assert: Type(argument) is Object`
|
|
509
509
|
var anObject$b = function (argument) {
|
|
@@ -511,14 +511,14 @@ var anObject$b = function (argument) {
|
|
|
511
511
|
throw TypeError$a(String$3(argument) + ' is not an object');
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
-
var global$
|
|
514
|
+
var global$l = global$B;
|
|
515
515
|
var DESCRIPTORS$8 = descriptors;
|
|
516
516
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
517
517
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
518
518
|
var anObject$a = anObject$b;
|
|
519
519
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
520
520
|
|
|
521
|
-
var TypeError$9 = global$
|
|
521
|
+
var TypeError$9 = global$l.TypeError;
|
|
522
522
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
523
523
|
var $defineProperty = Object.defineProperty;
|
|
524
524
|
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
@@ -557,11 +557,11 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
557
557
|
};
|
|
558
558
|
|
|
559
559
|
var DESCRIPTORS$7 = descriptors;
|
|
560
|
-
var definePropertyModule$
|
|
560
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
561
561
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
562
562
|
|
|
563
563
|
var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
564
|
-
return definePropertyModule$
|
|
564
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
|
|
565
565
|
} : function (object, key, value) {
|
|
566
566
|
object[key] = value;
|
|
567
567
|
return object;
|
|
@@ -602,11 +602,11 @@ if (!isCallable$b(store$1.inspectSource)) {
|
|
|
602
602
|
|
|
603
603
|
var inspectSource$3 = store$1.inspectSource;
|
|
604
604
|
|
|
605
|
-
var global$
|
|
605
|
+
var global$k = global$B;
|
|
606
606
|
var isCallable$a = isCallable$h;
|
|
607
607
|
var inspectSource$2 = inspectSource$3;
|
|
608
608
|
|
|
609
|
-
var WeakMap$1 = global$
|
|
609
|
+
var WeakMap$1 = global$k.WeakMap;
|
|
610
610
|
|
|
611
611
|
var nativeWeakMap = isCallable$a(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
612
612
|
|
|
@@ -622,7 +622,7 @@ var sharedKey$3 = function (key) {
|
|
|
622
622
|
var hiddenKeys$4 = {};
|
|
623
623
|
|
|
624
624
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
625
|
-
var global$
|
|
625
|
+
var global$j = global$B;
|
|
626
626
|
var uncurryThis$c = functionUncurryThis;
|
|
627
627
|
var isObject$2 = isObject$7;
|
|
628
628
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
@@ -632,8 +632,8 @@ var sharedKey$2 = sharedKey$3;
|
|
|
632
632
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
633
633
|
|
|
634
634
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
635
|
-
var TypeError$8 = global$
|
|
636
|
-
var WeakMap = global$
|
|
635
|
+
var TypeError$8 = global$j.TypeError;
|
|
636
|
+
var WeakMap = global$j.WeakMap;
|
|
637
637
|
var set, get, has;
|
|
638
638
|
|
|
639
639
|
var enforce = function (it) {
|
|
@@ -702,10 +702,10 @@ var InternalStateModule$4 = internalState;
|
|
|
702
702
|
var enforceInternalState = InternalStateModule$4.enforce;
|
|
703
703
|
var getInternalState$3 = InternalStateModule$4.get;
|
|
704
704
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
705
|
-
var defineProperty$
|
|
705
|
+
var defineProperty$5 = Object.defineProperty;
|
|
706
706
|
|
|
707
707
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$a(function () {
|
|
708
|
-
return defineProperty$
|
|
708
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
709
709
|
});
|
|
710
710
|
|
|
711
711
|
var TEMPLATE = String(String).split('String');
|
|
@@ -717,16 +717,17 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
717
717
|
if (options && options.getter) name = 'get ' + name;
|
|
718
718
|
if (options && options.setter) name = 'set ' + name;
|
|
719
719
|
if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
720
|
-
defineProperty$
|
|
720
|
+
defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
721
721
|
}
|
|
722
722
|
if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {
|
|
723
|
-
defineProperty$
|
|
723
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
724
724
|
}
|
|
725
|
-
|
|
726
|
-
if (
|
|
727
|
-
defineProperty$
|
|
728
|
-
|
|
729
|
-
|
|
725
|
+
try {
|
|
726
|
+
if (options && hasOwn$7(options, 'constructor') && options.constructor) {
|
|
727
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
728
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
729
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
730
|
+
} catch (error) { /* empty */ }
|
|
730
731
|
var state = enforceInternalState(value);
|
|
731
732
|
if (!hasOwn$7(state, 'source')) {
|
|
732
733
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
@@ -739,30 +740,25 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
|
739
740
|
return isCallable$9(this) && getInternalState$3(this).source || inspectSource$1(this);
|
|
740
741
|
}, 'toString');
|
|
741
742
|
|
|
742
|
-
var global$j = global$C;
|
|
743
743
|
var isCallable$8 = isCallable$h;
|
|
744
744
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
745
745
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
746
|
-
var
|
|
746
|
+
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
747
747
|
|
|
748
748
|
var defineBuiltIn$7 = function (O, key, value, options) {
|
|
749
|
-
|
|
750
|
-
var simple = options
|
|
751
|
-
var
|
|
752
|
-
var name = options && options.name !== undefined ? options.name : key;
|
|
749
|
+
if (!options) options = {};
|
|
750
|
+
var simple = options.enumerable;
|
|
751
|
+
var name = options.name !== undefined ? options.name : key;
|
|
753
752
|
if (isCallable$8(value)) makeBuiltIn$1(value, name, options);
|
|
754
|
-
if (
|
|
753
|
+
if (options.global) {
|
|
755
754
|
if (simple) O[key] = value;
|
|
756
|
-
else
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
}
|
|
763
|
-
if (simple) O[key] = value;
|
|
764
|
-
else createNonEnumerableProperty$3(O, key, value);
|
|
765
|
-
return O;
|
|
755
|
+
else defineGlobalProperty$1(key, value);
|
|
756
|
+
} else {
|
|
757
|
+
if (!options.unsafe) delete O[key];
|
|
758
|
+
else if (O[key]) simple = true;
|
|
759
|
+
if (simple) O[key] = value;
|
|
760
|
+
else createNonEnumerableProperty$3(O, key, value);
|
|
761
|
+
} return O;
|
|
766
762
|
};
|
|
767
763
|
|
|
768
764
|
var objectGetOwnPropertyNames = {};
|
|
@@ -770,12 +766,22 @@ var objectGetOwnPropertyNames = {};
|
|
|
770
766
|
var ceil = Math.ceil;
|
|
771
767
|
var floor$3 = Math.floor;
|
|
772
768
|
|
|
769
|
+
// `Math.trunc` method
|
|
770
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
771
|
+
// eslint-disable-next-line es-x/no-math-trunc -- safe
|
|
772
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
773
|
+
var n = +x;
|
|
774
|
+
return (n > 0 ? floor$3 : ceil)(n);
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
var trunc = mathTrunc;
|
|
778
|
+
|
|
773
779
|
// `ToIntegerOrInfinity` abstract operation
|
|
774
780
|
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
775
781
|
var toIntegerOrInfinity$3 = function (argument) {
|
|
776
782
|
var number = +argument;
|
|
777
|
-
// eslint-disable-next-line no-self-compare --
|
|
778
|
-
return number !== number || number === 0 ? 0 : (number
|
|
783
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
784
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
779
785
|
};
|
|
780
786
|
|
|
781
787
|
var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
|
|
@@ -909,11 +915,11 @@ var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
|
909
915
|
var hasOwn$5 = hasOwnProperty_1;
|
|
910
916
|
var ownKeys = ownKeys$1;
|
|
911
917
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
912
|
-
var definePropertyModule$
|
|
918
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
913
919
|
|
|
914
920
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
915
921
|
var keys = ownKeys(source);
|
|
916
|
-
var defineProperty = definePropertyModule$
|
|
922
|
+
var defineProperty = definePropertyModule$2.f;
|
|
917
923
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
918
924
|
for (var i = 0; i < keys.length; i++) {
|
|
919
925
|
var key = keys[i];
|
|
@@ -946,28 +952,28 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
946
952
|
|
|
947
953
|
var isForced_1 = isForced$1;
|
|
948
954
|
|
|
949
|
-
var global$i = global$
|
|
955
|
+
var global$i = global$B;
|
|
950
956
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
951
957
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
952
958
|
var defineBuiltIn$6 = defineBuiltIn$7;
|
|
953
|
-
var
|
|
959
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
|
954
960
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
955
961
|
var isForced = isForced_1;
|
|
956
962
|
|
|
957
963
|
/*
|
|
958
|
-
options.target
|
|
959
|
-
options.global
|
|
960
|
-
options.stat
|
|
961
|
-
options.proto
|
|
962
|
-
options.real
|
|
963
|
-
options.forced
|
|
964
|
-
options.bind
|
|
965
|
-
options.wrap
|
|
966
|
-
options.unsafe
|
|
967
|
-
options.sham
|
|
968
|
-
options.enumerable
|
|
969
|
-
options.
|
|
970
|
-
options.name
|
|
964
|
+
options.target - name of the target object
|
|
965
|
+
options.global - target is the global object
|
|
966
|
+
options.stat - export as static methods of target
|
|
967
|
+
options.proto - export as prototype methods of target
|
|
968
|
+
options.real - real prototype method for the `pure` version
|
|
969
|
+
options.forced - export even if the native feature is available
|
|
970
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
971
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
972
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
973
|
+
options.sham - add a flag to not completely full polyfills
|
|
974
|
+
options.enumerable - export as enumerable property
|
|
975
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
976
|
+
options.name - the .name of the function if it does not match the key
|
|
971
977
|
*/
|
|
972
978
|
var _export = function (options, source) {
|
|
973
979
|
var TARGET = options.target;
|
|
@@ -977,13 +983,13 @@ var _export = function (options, source) {
|
|
|
977
983
|
if (GLOBAL) {
|
|
978
984
|
target = global$i;
|
|
979
985
|
} else if (STATIC) {
|
|
980
|
-
target = global$i[TARGET] ||
|
|
986
|
+
target = global$i[TARGET] || defineGlobalProperty(TARGET, {});
|
|
981
987
|
} else {
|
|
982
988
|
target = (global$i[TARGET] || {}).prototype;
|
|
983
989
|
}
|
|
984
990
|
if (target) for (key in source) {
|
|
985
991
|
sourceProperty = source[key];
|
|
986
|
-
if (options.
|
|
992
|
+
if (options.dontCallGetSet) {
|
|
987
993
|
descriptor = getOwnPropertyDescriptor$2(target, key);
|
|
988
994
|
targetProperty = descriptor && descriptor.value;
|
|
989
995
|
} else targetProperty = target[key];
|
|
@@ -1010,7 +1016,7 @@ test[TO_STRING_TAG$3] = 'z';
|
|
|
1010
1016
|
|
|
1011
1017
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1012
1018
|
|
|
1013
|
-
var global$h = global$
|
|
1019
|
+
var global$h = global$B;
|
|
1014
1020
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1015
1021
|
var isCallable$6 = isCallable$h;
|
|
1016
1022
|
var classofRaw = classofRaw$1;
|
|
@@ -1041,7 +1047,7 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
1041
1047
|
: (result = classofRaw(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
1042
1048
|
};
|
|
1043
1049
|
|
|
1044
|
-
var global$g = global$
|
|
1050
|
+
var global$g = global$B;
|
|
1045
1051
|
var classof$4 = classof$5;
|
|
1046
1052
|
|
|
1047
1053
|
var String$2 = global$g.String;
|
|
@@ -1069,7 +1075,7 @@ var regexpFlags$1 = function () {
|
|
|
1069
1075
|
};
|
|
1070
1076
|
|
|
1071
1077
|
var fails$8 = fails$h;
|
|
1072
|
-
var global$f = global$
|
|
1078
|
+
var global$f = global$B;
|
|
1073
1079
|
|
|
1074
1080
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1075
1081
|
var $RegExp$2 = global$f.RegExp;
|
|
@@ -1113,7 +1119,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1113
1119
|
|
|
1114
1120
|
var DESCRIPTORS$4 = descriptors;
|
|
1115
1121
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1116
|
-
var definePropertyModule$
|
|
1122
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1117
1123
|
var anObject$7 = anObject$b;
|
|
1118
1124
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1119
1125
|
var objectKeys$1 = objectKeys$2;
|
|
@@ -1128,7 +1134,7 @@ objectDefineProperties.f = DESCRIPTORS$4 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
1128
1134
|
var length = keys.length;
|
|
1129
1135
|
var index = 0;
|
|
1130
1136
|
var key;
|
|
1131
|
-
while (length > index) definePropertyModule$
|
|
1137
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1132
1138
|
return O;
|
|
1133
1139
|
};
|
|
1134
1140
|
|
|
@@ -1222,7 +1228,7 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1222
1228
|
};
|
|
1223
1229
|
|
|
1224
1230
|
var fails$7 = fails$h;
|
|
1225
|
-
var global$e = global$
|
|
1231
|
+
var global$e = global$B;
|
|
1226
1232
|
|
|
1227
1233
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1228
1234
|
var $RegExp$1 = global$e.RegExp;
|
|
@@ -1233,7 +1239,7 @@ var regexpUnsupportedDotAll = fails$7(function () {
|
|
|
1233
1239
|
});
|
|
1234
1240
|
|
|
1235
1241
|
var fails$6 = fails$h;
|
|
1236
|
-
var global$d = global$
|
|
1242
|
+
var global$d = global$B;
|
|
1237
1243
|
|
|
1238
1244
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1239
1245
|
var $RegExp = global$d.RegExp;
|
|
@@ -1416,7 +1422,7 @@ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undef
|
|
|
1416
1422
|
|
|
1417
1423
|
var wellKnownSymbol$a = wellKnownSymbol$e;
|
|
1418
1424
|
var create$2 = objectCreate;
|
|
1419
|
-
var
|
|
1425
|
+
var defineProperty$4 = objectDefineProperty.f;
|
|
1420
1426
|
|
|
1421
1427
|
var UNSCOPABLES = wellKnownSymbol$a('unscopables');
|
|
1422
1428
|
var ArrayPrototype$1 = Array.prototype;
|
|
@@ -1424,7 +1430,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
|
1424
1430
|
// Array.prototype[@@unscopables]
|
|
1425
1431
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1426
1432
|
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
1427
|
-
|
|
1433
|
+
defineProperty$4(ArrayPrototype$1, UNSCOPABLES, {
|
|
1428
1434
|
configurable: true,
|
|
1429
1435
|
value: create$2(null)
|
|
1430
1436
|
});
|
|
@@ -1446,7 +1452,7 @@ var correctPrototypeGetter = !fails$5(function () {
|
|
|
1446
1452
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1447
1453
|
});
|
|
1448
1454
|
|
|
1449
|
-
var global$c = global$
|
|
1455
|
+
var global$c = global$B;
|
|
1450
1456
|
var hasOwn$4 = hasOwnProperty_1;
|
|
1451
1457
|
var isCallable$5 = isCallable$h;
|
|
1452
1458
|
var toObject$2 = toObject$4;
|
|
@@ -1542,7 +1548,7 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
|
|
|
1542
1548
|
return IteratorConstructor;
|
|
1543
1549
|
};
|
|
1544
1550
|
|
|
1545
|
-
var global$b = global$
|
|
1551
|
+
var global$b = global$B;
|
|
1546
1552
|
var isCallable$3 = isCallable$h;
|
|
1547
1553
|
|
|
1548
1554
|
var String$1 = global$b.String;
|
|
@@ -1739,7 +1745,7 @@ if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
|
1739
1745
|
defineProperty$2(values, 'name', { value: 'values' });
|
|
1740
1746
|
} catch (error) { /* empty */ }
|
|
1741
1747
|
|
|
1742
|
-
var global$a = global$
|
|
1748
|
+
var global$a = global$B;
|
|
1743
1749
|
var DOMIterables = domIterables;
|
|
1744
1750
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1745
1751
|
var ArrayIteratorMethods = es_array_iterator;
|
|
@@ -1903,7 +1909,7 @@ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
|
1903
1909
|
return defineProperty$1.f(target, name, descriptor);
|
|
1904
1910
|
};
|
|
1905
1911
|
|
|
1906
|
-
var global$9 = global$
|
|
1912
|
+
var global$9 = global$B;
|
|
1907
1913
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
1908
1914
|
|
|
1909
1915
|
var TypeError$6 = global$9.TypeError;
|
|
@@ -2093,7 +2099,7 @@ var getIteratorMethod$3 = function (it) {
|
|
|
2093
2099
|
|| Iterators[classof$2(it)];
|
|
2094
2100
|
};
|
|
2095
2101
|
|
|
2096
|
-
var global$8 = global$
|
|
2102
|
+
var global$8 = global$B;
|
|
2097
2103
|
var call$3 = functionCall;
|
|
2098
2104
|
var aCallable = aCallable$3;
|
|
2099
2105
|
var anObject$2 = anObject$b;
|
|
@@ -2108,7 +2114,7 @@ var getIterator$2 = function (argument, usingIterator) {
|
|
|
2108
2114
|
throw TypeError$5(tryToString(argument) + ' is not iterable');
|
|
2109
2115
|
};
|
|
2110
2116
|
|
|
2111
|
-
var global$7 = global$
|
|
2117
|
+
var global$7 = global$B;
|
|
2112
2118
|
var bind$2 = functionBindContext;
|
|
2113
2119
|
var call$2 = functionCall;
|
|
2114
2120
|
var toObject = toObject$4;
|
|
@@ -2155,7 +2161,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
2155
2161
|
return result;
|
|
2156
2162
|
};
|
|
2157
2163
|
|
|
2158
|
-
var global$6 = global$
|
|
2164
|
+
var global$6 = global$B;
|
|
2159
2165
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2160
2166
|
var lengthOfArrayLike = lengthOfArrayLike$3;
|
|
2161
2167
|
var createProperty = createProperty$2;
|
|
@@ -2174,7 +2180,7 @@ var arraySliceSimple = function (O, start, end) {
|
|
|
2174
2180
|
};
|
|
2175
2181
|
|
|
2176
2182
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
2177
|
-
var global$5 = global$
|
|
2183
|
+
var global$5 = global$B;
|
|
2178
2184
|
var uncurryThis$3 = functionUncurryThis;
|
|
2179
2185
|
|
|
2180
2186
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -2355,7 +2361,7 @@ var stringPunycodeToAscii = function (input) {
|
|
|
2355
2361
|
return join$2(encoded, '.');
|
|
2356
2362
|
};
|
|
2357
2363
|
|
|
2358
|
-
var global$4 = global$
|
|
2364
|
+
var global$4 = global$B;
|
|
2359
2365
|
|
|
2360
2366
|
var TypeError$4 = global$4.TypeError;
|
|
2361
2367
|
|
|
@@ -2419,7 +2425,7 @@ var arraySort$1 = mergeSort;
|
|
|
2419
2425
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
2420
2426
|
|
|
2421
2427
|
var $$2 = _export;
|
|
2422
|
-
var global$3 = global$
|
|
2428
|
+
var global$3 = global$B;
|
|
2423
2429
|
var call$1 = functionCall;
|
|
2424
2430
|
var uncurryThis$2 = functionUncurryThis;
|
|
2425
2431
|
var DESCRIPTORS$1 = descriptors;
|
|
@@ -2781,7 +2787,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
2781
2787
|
};
|
|
2782
2788
|
|
|
2783
2789
|
if (isCallable(nativeFetch)) {
|
|
2784
|
-
$$2({ global: true, enumerable: true,
|
|
2790
|
+
$$2({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
|
|
2785
2791
|
fetch: function fetch(input /* , init */) {
|
|
2786
2792
|
return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
|
|
2787
2793
|
}
|
|
@@ -2797,7 +2803,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
|
|
|
2797
2803
|
RequestPrototype.constructor = RequestConstructor;
|
|
2798
2804
|
RequestConstructor.prototype = RequestPrototype;
|
|
2799
2805
|
|
|
2800
|
-
$$2({ global: true, constructor: true,
|
|
2806
|
+
$$2({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
|
|
2801
2807
|
Request: RequestConstructor
|
|
2802
2808
|
});
|
|
2803
2809
|
}
|
|
@@ -2813,7 +2819,7 @@ var web_urlSearchParams_constructor = {
|
|
|
2813
2819
|
var $$1 = _export;
|
|
2814
2820
|
var DESCRIPTORS = descriptors;
|
|
2815
2821
|
var USE_NATIVE_URL = nativeUrl;
|
|
2816
|
-
var global$2 = global$
|
|
2822
|
+
var global$2 = global$B;
|
|
2817
2823
|
var bind = functionBindContext;
|
|
2818
2824
|
var uncurryThis$1 = functionUncurryThis;
|
|
2819
2825
|
var defineBuiltIn$1 = defineBuiltIn$7;
|
|
@@ -3863,7 +3869,7 @@ var isRegexp = function (it) {
|
|
|
3863
3869
|
return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
|
|
3864
3870
|
};
|
|
3865
3871
|
|
|
3866
|
-
var global$1 = global$
|
|
3872
|
+
var global$1 = global$B;
|
|
3867
3873
|
var isRegExp = isRegexp;
|
|
3868
3874
|
|
|
3869
3875
|
var TypeError$1 = global$1.TypeError;
|
|
@@ -4627,6 +4633,10 @@ function eventToClassicApiObject(ev, options) {
|
|
|
4627
4633
|
result.memo = ev.linkedEvent.render(options.locale);
|
|
4628
4634
|
}
|
|
4629
4635
|
|
|
4636
|
+
if (options.includeEvent) {
|
|
4637
|
+
result.ev = ev;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4630
4640
|
return result;
|
|
4631
4641
|
}
|
|
4632
4642
|
/**
|
package/dist/bundle.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
2
|
-
var hebcal__rest_api=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c={},h=function(e){try{return!!e()}catch(e){return!0}},u=!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")})),f=l,d=Function.prototype.call,g=f?d.bind(d):function(){return d.apply(d,arguments)},m={},p={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b=y&&!p.call({1:2},1);m.f=b?function(e){var t=y(this,e);return!!t&&t.enumerable}:p;var v,S,w=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=l,R=Function.prototype,T=R.bind,H=R.call,P=A&&T.bind(H,H),C=A?function(e){return e&&P(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},I=C,O=I({}.toString),E=I("".slice),L=function(e){return E(O(e),8,-1)},k=C,M=h,B=L,U=s.Object,D=k("".split),F=M((function(){return!U("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?D(e,""):U(e)}:U,x=s.TypeError,j=function(e){if(null==e)throw x("Can't call method on "+e);return e},N=F,G=j,_=function(e){return N(G(e))},z=function(e){return"function"==typeof e},Y=z,K=function(e){return"object"==typeof e?null!==e:Y(e)},W=s,J=z,q=function(e){return J(e)?e:void 0},V=function(e,t){return arguments.length<2?q(W[e]):W[e]&&W[e][t]},Z=C({}.isPrototypeOf),$=s,Q=V("navigator","userAgent")||"",X=$.process,ee=$.Deno,te=X&&X.versions||ee&&ee.version,re=te&&te.v8;re&&(S=(v=re.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!S&&Q&&(!(v=Q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=Q.match(/Chrome\/(\d+)/))&&(S=+v[1]);var ne=S,ae=h,oe=!!Object.getOwnPropertySymbols&&!ae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ie=oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=V,ce=z,he=Z,ue=ie,le=s.Object,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return ce(t)&&he(t.prototype,le(e))},de=s.String,ge=function(e){try{return de(e)}catch(e){return"Object"}},me=z,pe=ge,ye=s.TypeError,be=function(e){if(me(e))return e;throw ye(pe(e)+" is not a function")},ve=be,Se=function(e,t){var r=e[t];return null==r?void 0:ve(r)},we=g,Ae=z,Re=K,Te=s.TypeError,He={exports:{}},Pe=s,Ce=Object.defineProperty,Ie=function(e,t){try{Ce(Pe,e,{value:t,configurable:!0,writable:!0})}catch(r){Pe[e]=t}return t},Oe=Ie,Ee="__core-js_shared__",Le=s[Ee]||Oe(Ee,{}),ke=Le;(He.exports=function(e,t){return ke[e]||(ke[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.5",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE",source:"https://github.com/zloirock/core-js"});var Me=j,Be=s.Object,Ue=function(e){return Be(Me(e))},De=Ue,Fe=C({}.hasOwnProperty),xe=Object.hasOwn||function(e,t){return Fe(De(e),t)},je=C,Ne=0,Ge=Math.random(),_e=je(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+_e(++Ne+Ge,36)},Ye=s,Ke=He.exports,We=xe,Je=ze,qe=oe,Ve=ie,Ze=Ke("wks"),$e=Ye.Symbol,Qe=$e&&$e.for,Xe=Ve?$e:$e&&$e.withoutSetter||Je,et=function(e){if(!We(Ze,e)||!qe&&"string"!=typeof Ze[e]){var t="Symbol."+e;qe&&We($e,e)?Ze[e]=$e[e]:Ze[e]=Ve&&Qe?Qe(t):Xe(t)}return Ze[e]},tt=g,rt=K,nt=fe,at=Se,ot=function(e,t){var r,n;if("string"===t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;if(Ae(r=e.valueOf)&&!Re(n=we(r,e)))return n;if("string"!==t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;throw Te("Can't convert object to primitive value")},it=et,st=s.TypeError,ct=it("toPrimitive"),ht=function(e,t){if(!rt(e)||nt(e))return e;var r,n=at(e,ct);if(n){if(void 0===t&&(t="default"),r=tt(n,e,t),!rt(r)||nt(r))return r;throw st("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(e,t)},ut=fe,lt=function(e){var t=ht(e,"string");return ut(t)?t:t+""},ft=K,dt=s.document,gt=ft(dt)&&ft(dt.createElement),mt=function(e){return gt?dt.createElement(e):{}},pt=mt,yt=!u&&!h((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),bt=u,vt=g,St=m,wt=w,At=_,Rt=lt,Tt=xe,Ht=yt,Pt=Object.getOwnPropertyDescriptor;c.f=bt?Pt:function(e,t){if(e=At(e),t=Rt(t),Ht)try{return Pt(e,t)}catch(e){}if(Tt(e,t))return wt(!vt(St.f,e,t),e[t])};var Ct={},It=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=s,Et=K,Lt=Ot.String,kt=Ot.TypeError,Mt=function(e){if(Et(e))return e;throw kt(Lt(e)+" is not an object")},Bt=u,Ut=yt,Dt=It,Ft=Mt,xt=lt,jt=s.TypeError,Nt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,_t="enumerable",zt="configurable",Yt="writable";Ct.f=Bt?Dt?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Yt in r&&!r.writable){var n=Gt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:zt in r?r.configurable:n.configurable,enumerable:_t in r?r.enumerable:n.enumerable,writable:!1})}return Nt(e,t,r)}:Nt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Ut)try{return Nt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=Ct,Wt=w,Jt=u?function(e,t,r){return Kt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=u,Zt=xe,$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=z,rr=Le,nr=C(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,cr=z,hr=sr,ur=s.WeakMap,lr=cr(ur)&&/native code/.test(hr(ur)),fr=He.exports,dr=ze,gr=fr("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=lr,br=s,vr=C,Sr=K,wr=Jt,Ar=xe,Rr=Le,Tr=mr,Hr=pr,Pr="Object already initialized",Cr=br.TypeError,Ir=br.WeakMap;if(yr||Rr.state){var Or=Rr.state||(Rr.state=new Ir),Er=vr(Or.get),Lr=vr(Or.has),kr=vr(Or.set);ar=function(e,t){if(Lr(Or,e))throw new Cr(Pr);return t.facade=e,kr(Or,e,t),t},or=function(e){return Er(Or,e)||{}},ir=function(e){return Lr(Or,e)}}else{var Mr=Tr("state");Hr[Mr]=!0,ar=function(e,t){if(Ar(e,Mr))throw new Cr(Pr);return t.facade=e,wr(e,Mr,t),t},or=function(e){return Ar(e,Mr)?e[Mr]:{}},ir=function(e){return Ar(e,Mr)}}var Br={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(!Sr(t)||(r=or(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Ur=h,Dr=z,Fr=xe,xr=u,jr=er.CONFIGURABLE,Nr=sr,Gr=Br.enforce,_r=Br.get,zr=Object.defineProperty,Yr=xr&&!Ur((function(){return 8!==zr((function(){}),"length",{value:8}).length})),Kr=String(String).split("String"),Wr=qt.exports=function(e,t,r){if("Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Fr(e,"name")||jr&&e.name!==t)&&zr(e,"name",{value:t,configurable:!0}),Yr&&r&&Fr(r,"arity")&&e.length!==r.arity&&zr(e,"length",{value:r.arity}),r&&Fr(r,"constructor")&&r.constructor){if(xr)try{zr(e,"prototype",{writable:!1})}catch(e){}}else e.prototype=void 0;var n=Gr(e);return Fr(n,"source")||(n.source=Kr.join("string"==typeof t?t:"")),e};Function.prototype.toString=Wr((function(){return Dr(this)&&_r(this).source||Nr(this)}),"toString");var Jr=s,qr=z,Vr=Jt,Zr=qt.exports,$r=Ie,Qr=function(e,t,r,n){var a=!!n&&!!n.unsafe,o=!!n&&!!n.enumerable,i=!!n&&!!n.noTargetGet,s=n&&void 0!==n.name?n.name:t;return qr(r)&&Zr(r,s,n),e===Jr?(o?e[t]=r:$r(t,r),e):(a?!i&&e[t]&&(o=!0):delete e[t],o?e[t]=r:Vr(e,t,r),e)},Xr={},en=Math.ceil,tn=Math.floor,rn=function(e){var t=+e;return t!=t||0===t?0:(t>0?tn:en)(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)},cn=rn,hn=Math.min,un=function(e){return e>0?hn(cn(e),9007199254740991):0},ln=un,fn=function(e){return ln(e.length)},dn=_,gn=sn,mn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=mn(o),s=gn(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=xe,vn=_,Sn=yn.indexOf,wn=pr,An=C([].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,Pn=Tn.concat("length","prototype");Xr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Pn)};var Cn={};Cn.f=Object.getOwnPropertySymbols;var In=V,On=Xr,En=Cn,Ln=Mt,kn=C([].concat),Mn=In("Reflect","ownKeys")||function(e){var t=On.f(Ln(e)),r=En.f;return r?kn(t,r(e)):t},Bn=xe,Un=Mn,Dn=c,Fn=Ct,xn=h,jn=z,Nn=/#|\.prototype\./,Gn=function(e,t){var r=zn[_n(e)];return r==Kn||r!=Yn&&(jn(t)?xn(t):!!t)},_n=Gn.normalize=function(e){return String(e).replace(Nn,".").toLowerCase()},zn=Gn.data={},Yn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Wn=Gn,Jn=s,qn=c.f,Vn=Jt,Zn=Qr,$n=Ie,Qn=function(e,t,r){for(var n=Un(t),a=Fn.f,o=Dn.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=Wn,ea=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,h=e.stat;if(r=c?Jn:h?Jn[s]||$n(s,{}):(Jn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=qn(r,n))&&i.value:r[n],!Xn(c?n:s+(h?".":"#")+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[et("toStringTag")]="z";var ra=s,na="[object z]"===String(ta),aa=z,oa=L,ia=et("toStringTag"),sa=ra.Object,ca="Arguments"==oa(function(){return arguments}()),ha=na?oa: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=sa(e),ia))?r:ca?oa(t):"Object"==(n=oa(t))&&aa(t.callee)?"Arguments":n},ua=ha,la=s.String,fa=function(e){if("Symbol"===ua(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},da=Mt,ga=function(){var e=da(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.sticky&&(t+="y"),t},ma=h,pa=s.RegExp,ya=ma((function(){var e=pa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ba=ya||ma((function(){return!pa("a","y").sticky})),va={BROKEN_CARET:ya||ma((function(){var e=pa("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ba,UNSUPPORTED_Y:ya},Sa={},wa=Rn,Aa=Tn,Ra=Object.keys||function(e){return wa(e,Aa)},Ta=u,Ha=It,Pa=Ct,Ca=Mt,Ia=_,Oa=Ra;Sa.f=Ta&&!Ha?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Ia(t),a=Oa(t),o=a.length,i=0;o>i;)Pa.f(e,r=a[i++],n[r]);return e};var Ea,La=V("document","documentElement"),ka=Mt,Ma=Sa,Ba=Tn,Ua=pr,Da=La,Fa=mt,xa=mr("IE_PROTO"),ja=function(){},Na=function(e){return"<script>"+e+"</"+"script>"},Ga=function(e){e.write(Na("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{Ea=new ActiveXObject("htmlfile")}catch(e){}var e,t;_a="undefined"!=typeof document?document.domain&&Ea?Ga(Ea):((t=Fa("iframe")).style.display="none",Da.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Na("document.F=Object")),e.close(),e.F):Ga(Ea);for(var r=Ba.length;r--;)delete _a.prototype[Ba[r]];return _a()};Ua[xa]=!0;var za,Ya,Ka=Object.create||function(e,t){var r;return null!==e?(ja.prototype=ka(e),r=new ja,ja.prototype=null,r[xa]=e):r=_a(),void 0===t?r:Ma.f(r,t)},Wa=h,Ja=s.RegExp,qa=Wa((function(){var e=Ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Va=h,Za=s.RegExp,$a=Va((function(){var e=Za("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Qa=g,Xa=C,eo=fa,to=ga,ro=va,no=He.exports,ao=Ka,oo=Br.get,io=qa,so=$a,co=no("native-string-replace",String.prototype.replace),ho=RegExp.prototype.exec,uo=ho,lo=Xa("".charAt),fo=Xa("".indexOf),go=Xa("".replace),mo=Xa("".slice),po=(Ya=/b*/g,Qa(ho,za=/a/,"a"),Qa(ho,Ya,"a"),0!==za.lastIndex||0!==Ya.lastIndex),yo=ro.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(uo=function(e){var t,r,n,a,o,i,s,c=this,h=oo(c),u=eo(e),l=h.raw;if(l)return l.lastIndex=c.lastIndex,t=Qa(uo,l,u),c.lastIndex=l.lastIndex,t;var f=h.groups,d=yo&&c.sticky,g=Qa(to,c),m=c.source,p=0,y=u;if(d&&(g=go(g,"y",""),-1===fo(g,"g")&&(g+="g"),y=mo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==lo(u,c.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),bo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),po&&(n=c.lastIndex),a=Qa(ho,d?r:c,y),d?a?(a.input=mo(a.input,p),a[0]=mo(a[0],p),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:po&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Qa(co,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!==uo},{exec:uo});var vo=mt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=Ka,Ro=Ct,To=et("unscopables"),Ho=Array.prototype;null==Ho[To]&&Ro.f(Ho,To,{configurable:!0,value:Ao(null)});var Po,Co,Io,Oo={},Eo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Lo=s,ko=xe,Mo=z,Bo=Ue,Uo=Eo,Do=mr("IE_PROTO"),Fo=Lo.Object,xo=Fo.prototype,jo=Uo?Fo.getPrototypeOf:function(e){var t=Bo(e);if(ko(t,Do))return t[Do];var r=t.constructor;return Mo(r)&&t instanceof r?r.prototype:t instanceof Fo?xo:null},No=h,Go=z,_o=jo,zo=Qr,Yo=et("iterator"),Ko=!1;[].keys&&("next"in(Io=[].keys())?(Co=_o(_o(Io)))!==Object.prototype&&(Po=Co):Ko=!0);var Wo=null==Po||No((function(){var e={};return Po[Yo].call(e)!==e}));Wo&&(Po={}),Go(Po[Yo])||zo(Po,Yo,(function(){return this}));var Jo={IteratorPrototype:Po,BUGGY_SAFARI_ITERATORS:Ko},qo=Ct.f,Vo=xe,Zo=et("toStringTag"),$o=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Vo(e,Zo)&&qo(e,Zo,{configurable:!0,value:t})},Qo=Jo.IteratorPrototype,Xo=Ka,ei=w,ti=$o,ri=Oo,ni=function(){return this},ai=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Xo(Qo,{next:ei(+!n,r)}),ti(e,a,!1),ri[a]=ni,e},oi=s,ii=z,si=oi.String,ci=oi.TypeError,hi=C,ui=Mt,li=function(e){if("object"==typeof e||ii(e))return e;throw ci("Can't set "+si(e)+" as a prototype")},fi=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=hi(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return ui(r),li(n),t?e(r,n):r.__proto__=n,r}}():void 0),di=ea,gi=g,mi=z,pi=ai,yi=jo,bi=fi,vi=$o,Si=Jt,wi=Qr,Ai=Oo,Ri=er.PROPER,Ti=er.CONFIGURABLE,Hi=Jo.IteratorPrototype,Pi=Jo.BUGGY_SAFARI_ITERATORS,Ci=et("iterator"),Ii="keys",Oi="values",Ei="entries",Li=function(){return this},ki=function(e,t,r,n,a,o,i){pi(r,t,n);var s,c,h,u=function(e){if(e===a&&m)return m;if(!Pi&&e in d)return d[e];switch(e){case Ii:case Oi:case Ei:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,g=d[Ci]||d["@@iterator"]||a&&d[a],m=!Pi&&g||u(a),p="Array"==t&&d.entries||g;if(p&&(s=yi(p.call(new e)))!==Object.prototype&&s.next&&(yi(s)!==Hi&&(bi?bi(s,Hi):mi(s[Ci])||wi(s,Ci,Li)),vi(s,l,!0)),Ri&&a==Oi&&g&&g.name!==Oi&&(Ti?Si(d,"name",Oi):(f=!0,m=function(){return gi(g,this)})),a)if(c={values:u(Oi),keys:o?m:u(Ii),entries:u(Ei)},i)for(h in c)(Pi||f||!(h in d))&&wi(d,h,c[h]);else di({target:t,proto:!0,forced:Pi||f},c);return d[Ci]!==m&&wi(d,Ci,m,{name:a}),Ai[t]=m,c},Mi=_,Bi=function(e){Ho[To][e]=!0},Ui=Oo,Di=Br,Fi=Ct.f,xi=ki,ji=u,Ni="Array Iterator",Gi=Di.set,_i=Di.getterFor(Ni),zi=xi(Array,"Array",(function(e,t){Gi(this,{type:Ni,target:Mi(e),index:0,kind:t})}),(function(){var e=_i(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),Yi=Ui.Arguments=Ui.Array;if(Bi("keys"),Bi("values"),Bi("entries"),ji&&"values"!==Yi.name)try{Fi(Yi,"name",{value:"values"})}catch(e){}var Ki=s,Wi={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},Ji=wo,qi=zi,Vi=Jt,Zi=et,$i=Zi("iterator"),Qi=Zi("toStringTag"),Xi=qi.values,es=function(e,t){if(e){if(e[$i]!==Xi)try{Vi(e,$i,Xi)}catch(t){e[$i]=Xi}if(e[Qi]||Vi(e,Qi,t),Wi[t])for(var r in qi)if(e[r]!==qi[r])try{Vi(e,r,qi[r])}catch(t){e[r]=qi[r]}}};for(var ts in Wi)es(Ki[ts]&&Ki[ts].prototype,ts);es(Ji,"DOMTokenList");var rs=C,ns=rn,as=fa,os=j,is=rs("".charAt),ss=rs("".charCodeAt),cs=rs("".slice),hs=function(e){return function(t,r){var n,a,o=as(os(t)),i=ns(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ss(o,i))<55296||n>56319||i+1===s||(a=ss(o,i+1))<56320||a>57343?e?is(o,i):n:e?cs(o,i,i+2):a-56320+(n-55296<<10)+65536}},us={codeAt:hs(!1),charAt:hs(!0)},ls=us.charAt,fs=fa,ds=Br,gs=ki,ms="String Iterator",ps=ds.set,ys=ds.getterFor(ms);gs(String,"String",(function(e){ps(this,{type:ms,string:fs(e),index:0})}),(function(){var e,t=ys(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=ls(r,n),t.index+=e.length,{value:e,done:!1})}));var bs=h,vs=et("iterator"),Ss=!bs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[vs]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),ws=be,As=l,Rs=C(C.bind),Ts=function(e,t){return ws(e),void 0===t?e:As?Rs(e,t):function(){return e.apply(t,arguments)}},Hs=qt.exports,Ps=Ct,Cs=Z,Is=s.TypeError,Os=function(e,t){if(Cs(t,e))return e;throw Is("Incorrect invocation")},Es=u,Ls=C,ks=g,Ms=h,Bs=Ra,Us=Cn,Ds=m,Fs=Ue,xs=F,js=Object.assign,Ns=Object.defineProperty,Gs=Ls([].concat),_s=!js||Ms((function(){if(Es&&1!==js({b:1},js(Ns({},"a",{enumerable:!0,get:function(){Ns(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=js({},e)[r]||Bs(js({},t)).join("")!=n}))?function(e,t){for(var r=Fs(e),n=arguments.length,a=1,o=Us.f,i=Ds.f;n>a;)for(var s,c=xs(arguments[a++]),h=o?Gs(Bs(c),o(c)):Bs(c),u=h.length,l=0;u>l;)s=h[l++],Es&&!ks(i,c,s)||(r[s]=c[s]);return r}:js,zs=g,Ys=Mt,Ks=Se,Ws=Mt,Js=function(e,t,r){var n,a;Ys(e);try{if(!(n=Ks(e,"return"))){if("throw"===t)throw r;return r}n=zs(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return Ys(n),r},qs=Oo,Vs=et("iterator"),Zs=Array.prototype,$s=C,Qs=h,Xs=z,ec=ha,tc=sr,rc=function(){},nc=[],ac=V("Reflect","construct"),oc=/^\s*(?:class|function)\b/,ic=$s(oc.exec),sc=!oc.exec(rc),cc=function(e){if(!Xs(e))return!1;try{return ac(rc,nc,e),!0}catch(e){return!1}},hc=function(e){if(!Xs(e))return!1;switch(ec(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return sc||!!ic(oc,tc(e))}catch(e){return!0}};hc.sham=!0;var uc=!ac||Qs((function(){var e;return cc(cc.call)||!cc(Object)||!cc((function(){e=!0}))||e}))?hc:cc,lc=lt,fc=Ct,dc=w,gc=function(e,t,r){var n=lc(t);n in e?fc.f(e,n,dc(0,r)):e[n]=r},mc=ha,pc=Se,yc=Oo,bc=et("iterator"),vc=function(e){if(null!=e)return pc(e,bc)||pc(e,"@@iterator")||yc[mc(e)]},Sc=g,wc=be,Ac=Mt,Rc=ge,Tc=vc,Hc=s.TypeError,Pc=function(e,t){var r=arguments.length<2?Tc(e):t;if(wc(r))return Ac(Sc(r,e));throw Hc(Rc(e)+" is not iterable")},Cc=Ts,Ic=g,Oc=Ue,Ec=function(e,t,r,n){try{return n?t(Ws(r)[0],r[1]):t(r)}catch(t){Js(e,"throw",t)}},Lc=function(e){return void 0!==e&&(qs.Array===e||Zs[Vs]===e)},kc=uc,Mc=fn,Bc=gc,Uc=Pc,Dc=vc,Fc=s.Array,xc=sn,jc=fn,Nc=gc,Gc=s.Array,_c=Math.max,zc=function(e,t,r){for(var n=jc(e),a=xc(t,n),o=xc(void 0===r?n:r,n),i=Gc(_c(o-a,0)),s=0;a<o;a++,s++)Nc(i,s,e[a]);return i.length=s,i},Yc=C,Kc=2147483647,Wc=/[^\0-\u007E]/,Jc=/[.\u3002\uFF0E\uFF61]/g,qc="Overflow: input needs wider integers to process",Vc=s.RangeError,Zc=Yc(Jc.exec),$c=Math.floor,Qc=String.fromCharCode,Xc=Yc("".charCodeAt),eh=Yc([].join),th=Yc([].push),rh=Yc("".replace),nh=Yc("".split),ah=Yc("".toLowerCase),oh=function(e){return e+22+75*(e<26)},ih=function(e,t,r){var n=0;for(e=r?$c(e/700):e>>1,e+=$c(e/t);e>455;)e=$c(e/35),n+=36;return $c(n+36*e/(e+38))},sh=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=Xc(e,r++);if(a>=55296&&a<=56319&&r<n){var o=Xc(e,r++);56320==(64512&o)?th(t,((1023&a)<<10)+(1023&o)+65536):(th(t,a),r--)}else th(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&&th(t,Qc(n));var c=t.length,h=c;for(c&&th(t,"-");h<a;){var u=Kc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<u&&(u=n);var l=h+1;if(u-o>$c((Kc-i)/l))throw Vc(qc);for(i+=(u-o)*l,o=u,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Kc)throw Vc(qc);if(n==o){for(var f=i,d=36;;){var g=d<=s?1:d>=s+26?26:d-s;if(f<g)break;var m=f-g,p=36-g;th(t,Qc(oh(g+m%p))),f=$c(m/p),d+=36}th(t,Qc(oh(f))),s=ih(i,l,h==c),i=0,h++}}i++,o++}return eh(t,"")},ch=s.TypeError,hh=function(e,t){if(e<t)throw ch("Not enough arguments");return e},uh=Qr,lh=zc,fh=Math.floor,dh=function(e,t){var r=e.length,n=fh(r/2);return r<8?gh(e,t):mh(e,dh(lh(e,0,n),t),dh(lh(e,n),t),t)},gh=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},mh=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},ph=ea,yh=s,bh=g,vh=C,Sh=u,wh=Ss,Ah=Qr,Rh=function(e,t,r){for(var n in t)uh(e,n,t[n],r);return e},Th=$o,Hh=ai,Ph=Br,Ch=Os,Ih=z,Oh=xe,Eh=Ts,Lh=ha,kh=Mt,Mh=K,Bh=fa,Uh=Ka,Dh=w,Fh=Pc,xh=vc,jh=hh,Nh=dh,Gh=et("iterator"),_h="URLSearchParams",zh="URLSearchParamsIterator",Yh=Ph.set,Kh=Ph.getterFor(_h),Wh=Ph.getterFor(zh),Jh=Object.getOwnPropertyDescriptor,qh=function(e){if(!Sh)return yh[e];var t=Jh(yh,e);return t&&t.value},Vh=qh("fetch"),Zh=qh("Request"),$h=qh("Headers"),Qh=Zh&&Zh.prototype,Xh=$h&&$h.prototype,eu=yh.RegExp,tu=yh.TypeError,ru=yh.decodeURIComponent,nu=yh.encodeURIComponent,au=vh("".charAt),ou=vh([].join),iu=vh([].push),su=vh("".replace),cu=vh([].shift),hu=vh([].splice),uu=vh("".split),lu=vh("".slice),fu=/\+/g,du=Array(4),gu=function(e){return du[e-1]||(du[e-1]=eu("((?:%[\\da-f]{2}){"+e+"})","gi"))},mu=function(e){try{return ru(e)}catch(t){return e}},pu=function(e){var t=su(e,fu," "),r=4;try{return ru(t)}catch(e){for(;r;)t=su(t,gu(r--),mu);return t}},yu=/[!'()~]|%20/g,bu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},vu=function(e){return bu[e]},Su=function(e){return su(nu(e),yu,vu)},wu=Hh((function(e,t){Yh(this,{type:zh,iterator:Fh(Kh(e).entries),kind:t})}),"Iterator",(function(){var e=Wh(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),Au=function(e){this.entries=[],this.url=null,void 0!==e&&(Mh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===au(e,0)?lu(e,1):e:Bh(e)))};Au.prototype={type:_h,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,c=xh(e);if(c)for(r=(t=Fh(e,c)).next;!(n=bh(r,t)).done;){if(o=(a=Fh(kh(n.value))).next,(i=bh(o,a)).done||(s=bh(o,a)).done||!bh(o,a).done)throw tu("Expected sequence with length 2");iu(this.entries,{key:Bh(i.value),value:Bh(s.value)})}else for(var h in e)Oh(e,h)&&iu(this.entries,{key:h,value:Bh(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=uu(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=uu(t,"="),iu(this.entries,{key:pu(cu(r)),value:pu(ou(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],iu(r,Su(e.key)+"="+Su(e.value));return ou(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Ru=function(){Ch(this,Tu);var e=arguments.length>0?arguments[0]:void 0;Yh(this,new Au(e))},Tu=Ru.prototype;if(Rh(Tu,{append:function(e,t){jh(arguments.length,2);var r=Kh(this);iu(r.entries,{key:Bh(e),value:Bh(t)}),r.updateURL()},delete:function(e){jh(arguments.length,1);for(var t=Kh(this),r=t.entries,n=Bh(e),a=0;a<r.length;)r[a].key===n?hu(r,a,1):a++;t.updateURL()},get:function(e){jh(arguments.length,1);for(var t=Kh(this).entries,r=Bh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){jh(arguments.length,1);for(var t=Kh(this).entries,r=Bh(e),n=[],a=0;a<t.length;a++)t[a].key===r&&iu(n,t[a].value);return n},has:function(e){jh(arguments.length,1);for(var t=Kh(this).entries,r=Bh(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){jh(arguments.length,1);for(var r,n=Kh(this),a=n.entries,o=!1,i=Bh(e),s=Bh(t),c=0;c<a.length;c++)(r=a[c]).key===i&&(o?hu(a,c--,1):(o=!0,r.value=s));o||iu(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Kh(this);Nh(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Kh(this).entries,n=Eh(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 wu(this,"keys")},values:function(){return new wu(this,"values")},entries:function(){return new wu(this,"entries")}},{enumerable:!0}),Ah(Tu,Gh,Tu.entries,{name:"entries"}),Ah(Tu,"toString",(function(){return Kh(this).serialize()}),{enumerable:!0}),Th(Ru,_h),ph({global:!0,constructor:!0,forced:!wh},{URLSearchParams:Ru}),!wh&&Ih($h)){var Hu=vh(Xh.has),Pu=vh(Xh.set),Cu=function(e){if(Mh(e)){var t,r=e.body;if(Lh(r)===_h)return t=e.headers?new $h(e.headers):new $h,Hu(t,"content-type")||Pu(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Uh(e,{body:Dh(0,Bh(r)),headers:Dh(0,t)})}return e};if(Ih(Vh)&&ph({global:!0,enumerable:!0,noTargetGet:!0,forced:!0},{fetch:function(e){return Vh(e,arguments.length>1?Cu(arguments[1]):{})}}),Ih(Zh)){var Iu=function(e){return Ch(this,Qh),new Zh(e,arguments.length>1?Cu(arguments[1]):{})};Qh.constructor=Iu,Iu.prototype=Qh,ph({global:!0,constructor:!0,noTargetGet:!0,forced:!0},{Request:Iu})}}var Ou,Eu=ea,Lu=u,ku=Ss,Mu=s,Bu=Ts,Uu=C,Du=Qr,Fu=function(e,t,r){return r.get&&Hs(r.get,t,{getter:!0}),r.set&&Hs(r.set,t,{setter:!0}),Ps.f(e,t,r)},xu=Os,ju=xe,Nu=_s,Gu=function(e){var t=Oc(e),r=kc(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Cc(a,n>2?arguments[2]:void 0));var i,s,c,h,u,l,f=Dc(t),d=0;if(!f||this==Fc&&Lc(f))for(i=Mc(t),s=r?new this(i):Fc(i);i>d;d++)l=o?a(t[d],d):t[d],Bc(s,d,l);else for(u=(h=Uc(t,f)).next,s=r?new this:[];!(c=Ic(u,h)).done;d++)l=o?Ec(h,a,[c.value,d],!0):c.value,Bc(s,d,l);return s.length=d,s},_u=zc,zu=us.codeAt,Yu=function(e){var t,r,n=[],a=nh(rh(ah(e),Jc,"."),".");for(t=0;t<a.length;t++)r=a[t],th(n,Zc(Wc,r)?"xn--"+sh(r):r);return eh(n,".")},Ku=fa,Wu=$o,Ju=hh,qu={URLSearchParams:Ru,getState:Kh},Vu=Br,Zu=Vu.set,$u=Vu.getterFor("URL"),Qu=qu.URLSearchParams,Xu=qu.getState,el=Mu.URL,tl=Mu.TypeError,rl=Mu.parseInt,nl=Math.floor,al=Math.pow,ol=Uu("".charAt),il=Uu(/./.exec),sl=Uu([].join),cl=Uu(1..toString),hl=Uu([].pop),ul=Uu([].push),ll=Uu("".replace),fl=Uu([].shift),dl=Uu("".split),gl=Uu("".slice),ml=Uu("".toLowerCase),pl=Uu([].unshift),yl="Invalid scheme",bl="Invalid host",vl="Invalid port",Sl=/[a-z]/i,wl=/[\d+-.a-z]/i,Al=/\d/,Rl=/^0x/i,Tl=/^[0-7]+$/,Hl=/^\d+$/,Pl=/^[\da-f]+$/i,Cl=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Il=/[\0\t\n\r #/:<>?@[\\\]^|]/,Ol=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,El=/[\t\n\r]/g,Ll=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)pl(t,e%256),e=nl(e/256);return sl(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+=cl(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},kl={},Ml=Nu({},kl,{" ":1,'"':1,"<":1,">":1,"`":1}),Bl=Nu({},Ml,{"#":1,"?":1,"{":1,"}":1}),Ul=Nu({},Bl,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Dl=function(e,t){var r=zu(e,0);return r>32&&r<127&&!ju(t,e)?e:encodeURIComponent(e)},Fl={ftp:21,file:null,http:80,https:443,ws:80,wss:443},xl=function(e,t){var r;return 2==e.length&&il(Sl,ol(e,0))&&(":"==(r=ol(e,1))||!t&&"|"==r)},jl=function(e){var t;return e.length>1&&xl(gl(e,0,2))&&(2==e.length||"/"===(t=ol(e,2))||"\\"===t||"?"===t||"#"===t)},Nl=function(e){return"."===e||"%2e"===ml(e)},Gl={},_l={},zl={},Yl={},Kl={},Wl={},Jl={},ql={},Vl={},Zl={},$l={},Ql={},Xl={},ef={},tf={},rf={},nf={},af={},of={},sf={},cf={},hf=function(e,t,r){var n,a,o,i=Ku(e);if(t){if(a=this.parse(i))throw tl(a);this.searchParams=null}else{if(void 0!==r&&(n=new hf(r,!0)),a=this.parse(i,null,n))throw tl(a);(o=Xu(new Qu)).bindURL(this),this.searchParams=o}};hf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,c=this,h=t||Gl,u=0,l="",f=!1,d=!1,g=!1;for(e=Ku(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=ll(e,Ol,"")),e=ll(e,El,""),n=Gu(e);u<=n.length;){switch(a=n[u],h){case Gl:if(!a||!il(Sl,a)){if(t)return yl;h=zl;continue}l+=ml(a),h=_l;break;case _l:if(a&&(il(wl,a)||"+"==a||"-"==a||"."==a))l+=ml(a);else{if(":"!=a){if(t)return yl;l="",h=zl,u=0;continue}if(t&&(c.isSpecial()!=ju(Fl,l)||"file"==l&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&Fl[c.scheme]==c.port&&(c.port=null));l="","file"==c.scheme?h=ef:c.isSpecial()&&r&&r.scheme==c.scheme?h=Yl:c.isSpecial()?h=ql:"/"==n[u+1]?(h=Kl,u++):(c.cannotBeABaseURL=!0,ul(c.path,""),h=of)}break;case zl:if(!r||r.cannotBeABaseURL&&"#"!=a)return yl;if(r.cannotBeABaseURL&&"#"==a){c.scheme=r.scheme,c.path=_u(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,h=cf;break}h="file"==r.scheme?ef:Wl;continue;case Yl:if("/"!=a||"/"!=n[u+1]){h=Wl;continue}h=Vl,u++;break;case Kl:if("/"==a){h=Zl;break}h=af;continue;case Wl:if(c.scheme=r.scheme,a==Ou)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=_u(r.path),c.query=r.query;else if("/"==a||"\\"==a&&c.isSpecial())h=Jl;else if("?"==a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=_u(r.path),c.query="",h=sf;else{if("#"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=_u(r.path),c.path.length--,h=af;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=_u(r.path),c.query=r.query,c.fragment="",h=cf}break;case Jl:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,h=af;continue}h=Zl}else h=Vl;break;case ql:if(h=Vl,"/"!=a||"/"!=ol(l,u+1))continue;u++;break;case Vl:if("/"!=a&&"\\"!=a){h=Zl;continue}break;case Zl:if("@"==a){f&&(l="%40"+l),f=!0,o=Gu(l);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Dl(p,Ul);g?c.password+=y:c.username+=y}else g=!0}l=""}else if(a==Ou||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(f&&""==l)return"Invalid authority";u-=Gu(l).length+1,l="",h=$l}else l+=a;break;case $l:case Ql:if(t&&"file"==c.scheme){h=rf;continue}if(":"!=a||d){if(a==Ou||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==l)return bl;if(t&&""==l&&(c.includesCredentials()||null!==c.port))return;if(i=c.parseHost(l))return i;if(l="",h=nf,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),l+=a}else{if(""==l)return bl;if(i=c.parseHost(l))return i;if(l="",h=Xl,t==Ql)return}break;case Xl:if(!il(Al,a)){if(a==Ou||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||t){if(""!=l){var b=rl(l,10);if(b>65535)return vl;c.port=c.isSpecial()&&b===Fl[c.scheme]?null:b,l=""}if(t)return;h=nf;continue}return vl}l+=a;break;case ef:if(c.scheme="file","/"==a||"\\"==a)h=tf;else{if(!r||"file"!=r.scheme){h=af;continue}if(a==Ou)c.host=r.host,c.path=_u(r.path),c.query=r.query;else if("?"==a)c.host=r.host,c.path=_u(r.path),c.query="",h=sf;else{if("#"!=a){jl(sl(_u(n,u),""))||(c.host=r.host,c.path=_u(r.path),c.shortenPath()),h=af;continue}c.host=r.host,c.path=_u(r.path),c.query=r.query,c.fragment="",h=cf}}break;case tf:if("/"==a||"\\"==a){h=rf;break}r&&"file"==r.scheme&&!jl(sl(_u(n,u),""))&&(xl(r.path[0],!0)?ul(c.path,r.path[0]):c.host=r.host),h=af;continue;case rf:if(a==Ou||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&xl(l))h=af;else if(""==l){if(c.host="",t)return;h=nf}else{if(i=c.parseHost(l))return i;if("localhost"==c.host&&(c.host=""),t)return;l="",h=nf}continue}l+=a;break;case nf:if(c.isSpecial()){if(h=af,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Ou&&(h=af,"/"!=a))continue}else c.fragment="",h=cf;else c.query="",h=sf;break;case af:if(a==Ou||"/"==a||"\\"==a&&c.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=ml(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||ul(c.path,"")):Nl(l)?"/"==a||"\\"==a&&c.isSpecial()||ul(c.path,""):("file"==c.scheme&&!c.path.length&&xl(l)&&(c.host&&(c.host=""),l=ol(l,0)+":"),ul(c.path,l)),l="","file"==c.scheme&&(a==Ou||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)fl(c.path);"?"==a?(c.query="",h=sf):"#"==a&&(c.fragment="",h=cf)}else l+=Dl(a,Bl);break;case of:"?"==a?(c.query="",h=sf):"#"==a?(c.fragment="",h=cf):a!=Ou&&(c.path[0]+=Dl(a,kl));break;case sf:t||"#"!=a?a!=Ou&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":Dl(a,kl)):(c.fragment="",h=cf);break;case cf:a!=Ou&&(c.fragment+=Dl(a,Ml))}u++}},parseHost:function(e){var t,r,n;if("["==ol(e,0)){if("]"!=ol(e,e.length-1))return bl;if(t=function(e){var t,r,n,a,o,i,s,c=[0,0,0,0,0,0,0,0],h=0,u=null,l=0,f=function(){return ol(e,l)};if(":"==f()){if(":"!=ol(e,1))return;l+=2,u=++h}for(;f();){if(8==h)return;if(":"!=f()){for(t=r=0;r<4&&il(Pl,f());)t=16*t+rl(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!il(Al,f()))return;for(;il(Al,f());){if(o=rl(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;l++}c[h]=256*c[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;c[h++]=t}else{if(null!==u)return;l++,u=++h}}if(null!==u)for(i=h-u,h=7;0!=h&&i>0;)s=c[h],c[h--]=c[u+i-1],c[u+--i]=s;else if(8!=h)return;return c}(gl(e,1,-1)),!t)return bl;this.host=t}else if(this.isSpecial()){if(e=Yu(e),il(Cl,e))return bl;if(t=function(e){var t,r,n,a,o,i,s,c=dl(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=c[n]))return e;if(o=10,a.length>1&&"0"==ol(a,0)&&(o=il(Rl,a)?16:8,a=gl(a,8==o?1:2)),""===a)i=0;else{if(!il(10==o?Hl:8==o?Tl:Pl,a))return e;i=rl(a,o)}ul(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=al(256,5-t))return null}else if(i>255)return null;for(s=hl(r),n=0;n<r.length;n++)s+=r[n]*al(256,3-n);return s}(e),null===t)return bl;this.host=t}else{if(il(Il,e))return bl;for(t="",r=Gu(e),n=0;n<r.length;n++)t+=Dl(r[n],kl);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return ju(Fl,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&xl(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,c=e.fragment,h=t+":";return null!==a?(h+="//",e.includesCredentials()&&(h+=r+(n?":"+n:"")+"@"),h+=Ll(a),null!==o&&(h+=":"+o)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?i[0]:i.length?"/"+sl(i,"/"):"",null!==s&&(h+="?"+s),null!==c&&(h+="#"+c),h},setHref:function(e){var t=this.parse(e);if(t)throw tl(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new uf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+Ll(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Ku(e)+":",Gl)},getUsername:function(){return this.username},setUsername:function(e){var t=Gu(Ku(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Dl(t[r],Ul)}},getPassword:function(){return this.password},setPassword:function(e){var t=Gu(Ku(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Dl(t[r],Ul)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?Ll(e):Ll(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,$l)},getHostname:function(){var e=this.host;return null===e?"":Ll(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Ql)},getPort:function(){var e=this.port;return null===e?"":Ku(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Ku(e))?this.port=null:this.parse(e,Xl))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+sl(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,nf))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Ku(e))?this.query=null:("?"==ol(e,0)&&(e=gl(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=Ku(e))?("#"==ol(e,0)&&(e=gl(e,1)),this.fragment="",this.parse(e,cf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var uf=function(e){var t=xu(this,lf),r=Ju(arguments.length,1)>1?arguments[1]:void 0,n=Zu(t,new hf(e,!1,r));Lu||(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())},lf=uf.prototype,ff=function(e,t){return{get:function(){return $u(this)[e]()},set:t&&function(e){return $u(this)[t](e)},configurable:!0,enumerable:!0}};if(Lu&&(Fu(lf,"href",ff("serialize","setHref")),Fu(lf,"origin",ff("getOrigin")),Fu(lf,"protocol",ff("getProtocol","setProtocol")),Fu(lf,"username",ff("getUsername","setUsername")),Fu(lf,"password",ff("getPassword","setPassword")),Fu(lf,"host",ff("getHost","setHost")),Fu(lf,"hostname",ff("getHostname","setHostname")),Fu(lf,"port",ff("getPort","setPort")),Fu(lf,"pathname",ff("getPathname","setPathname")),Fu(lf,"search",ff("getSearch","setSearch")),Fu(lf,"searchParams",ff("getSearchParams")),Fu(lf,"hash",ff("getHash","setHash"))),Du(lf,"toJSON",(function(){return $u(this).serialize()}),{enumerable:!0}),Du(lf,"toString",(function(){return $u(this).serialize()}),{enumerable:!0}),el){var df=el.createObjectURL,gf=el.revokeObjectURL;df&&Du(uf,"createObjectURL",Bu(df,el)),gf&&Du(uf,"revokeObjectURL",Bu(gf,el))}Wu(uf,"URL"),Eu({global:!0,constructor:!0,forced:!ku,sham:!Lu},{URL:uf});var mf,pf=K,yf=L,bf=et("match"),vf=function(e){var t;return pf(e)&&(void 0!==(t=e[bf])?!!t:"RegExp"==yf(e))},Sf=s.TypeError,wf=et("match"),Af=ea,Rf=C,Tf=c.f,Hf=un,Pf=fa,Cf=function(e){if(vf(e))throw Sf("The method doesn't accept regular expressions");return e},If=j,Of=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[wf]=!1,"/./"[e](t)}catch(e){}}return!1},Ef=Rf("".startsWith),Lf=Rf("".slice),kf=Math.min,Mf=Of("startsWith");Af({target:"String",proto:!0,forced:!!(Mf||(mf=Tf(String.prototype,"startsWith"),!mf||mf.writable))&&!Mf},{startsWith:function(e){var t=Pf(If(this));Cf(e);var r=Hf(kf(arguments.length>1?arguments[1]:void 0,t.length)),n=Pf(e);return Ef?Ef(t,n,r):Lf(t,r,r+n.length)===n}});var Bf=g,Uf=xe,Df=Z,Ff=ga,xf=RegExp.prototype,jf=er.PROPER,Nf=Qr,Gf=Mt,_f=fa,zf=h,Yf=function(e){var t=e.flags;return void 0!==t||"flags"in xf||Uf(e,"flags")||!Df(xf,e)?t:Bf(Ff,e)},Kf="toString",Wf=RegExp.prototype.toString,Jf=zf((function(){return"/a/b"!=Wf.call({source:"a",flags:"b"})})),qf=jf&&Wf.name!=Kf;(Jf||qf)&&Nf(RegExp.prototype,Kf,(function(){var e=Gf(this);return"/"+_f(e.source)+"/"+_f(Yf(e))}),{unsafe:!0});var Vf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},Zf={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 $f(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:Zf[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Qf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function Xf(e){return e<10?"0"+e:String(e)}function ed(e){return e<0?"-00"+ed(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function td(e){return ed(e.getFullYear())+"-"+Xf(e.getMonth()+1)+"-"+Xf(e.getDate())}function rd(e){const r=e.getDesc();if("Fast begins"===r||"Fast ends"===r)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"];case t.flags.MISHNA_YOMI:return["mishnayomi"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(r){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];case"Erev Tish'a B'Av":return["holiday","fast","major"];default:return["holiday","major"]}}function nd(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 ad(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Vf[e.getDesc()]||Vf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const od=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function id(e,r){const n=e.getFlags();if(n&od)return"";const o=n&t.flags.PARSHA_HASHAVUA?a.getLeyningForParshaHaShavua(e,r):a.getLeyningForHoliday(e,r);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,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/"),c=e.startsWith("/omer/");if(i||s||c)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 cd(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)}const hd='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',ud={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function ld(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 c="",h="",u="",l='"true"';const f=Boolean(e.eventTime);let d=cd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);h=c='"'.concat(n,'"'),u=s,l='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&r.location&&r.location.name){const e=r.location.name,t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else if(m&t.flags.DAF_YOMI){const e=d.indexOf(": ");-1!=e&&(g=d.substring(0,e),d=d.substring(e+2))}else{const t=ud[rd(e)[0]];t&&(g=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||ad(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''"),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(c,",").concat(u,",").concat(h,",").concat(l,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function fd(e){return td(e.getDate().greg())}function dd(e,r){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),c="object"==typeof r.location?r.location.getTzid():"UTC",h=o?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):td(s),u=rd(e),l=e.getFlags();let f=cd(e)?e.renderBrief(r.locale):e.render(r.locale);const d=e.getDesc(),g="Havdalah"===d||"Candle lighting"===d;if(g){f+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",r)}const m={title:f,date:h};o||(m.hdate=i.toString()),m.category=u[0],u.length>1&&(m.subcat=u[1]),"holiday"===u[0]&&l&t.flags.CHAG&&(m.yomtov=!0),f!=d&&(m.title_orig=d);const p=e.renderBrief("he");if(p&&(m.hebrew=t.Locale.hebrewStripNikkud(p)),!g){if(n){const n=r.il,o=l===t.flags.PARSHA_HASHAVUA,s=o?a.getLeyningForParshaHaShavua(e,n):a.getLeyningForHoliday(e,n);if(s){m.leyning=md(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=a.getTriennialForParshaHaShavua(e);t&&(m.leyning.triennial=gd({},t))}}}const o=e.url();if(o){const e=r.utmSource||"js",t=r.utmMedium||"api",n=r.utmCampaign;m.link=sd(o,r.il,e,t,n)}}l&t.flags.OMER_COUNT&&(m.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}});const y=e.memo||Vf[e.basename()];return y?m.memo=y:void 0!==e.linkedEvent&&(m.memo=e.linkedEvent.render(r.locale)),m}function gd(e,t){return Object.keys(t).forEach((r=>{const n=t[r];if(void 0!==n){e["M"==r?"maftir":r]=a.formatAliyahWithBook(n)}})),e}function md(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&gd(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const pd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function yd(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||nd(e,t),c=t.description||s,h=t.utmSource||"shabbat1c",u=t.utmMedium||"rss",l=sd(n,r&&r.getIsrael(),h,u,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||pd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(l,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(c,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=bd(e,t)})),g+="</channel>\n</rss>\n",g}function bd(e,t){return vd(e,t.evPubDate,t.lastBuildDate,t.dayFormat,t.location,t.mainUrl,t)}function vd(e,r,n,a,o,i,s){let c=e.render();const h=e.getDate().greg(),u=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,h,n),l=!!o&&o.getIsrael(),f=function(e,r,n,a,o,i){let s,c;const h=e.eventTime||e.getDate().greg(),u=t.Zmanim.formatISOWithTimeZone(n,h),l=u.substring(0,u.indexOf("T")),f=l.replace(/-/g,""),d=Qf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=sd(m,r,o,i).replace(/&/g,"&"),c="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(l),t=sd(e,r,o,i).replace(/&/g,"&");c=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,c]}(e,l,o?o.getTzid():"UTC",i,s&&s.utmSource||"shabbat1c",s&&s.utmMedium||"rss"),d=f[0],g=f[1],m=rd(e)[0],p=e.getDesc();let y;if("Havdalah"===p||"Candle lighting"===p){const r=c.indexOf(": ");if(-1!=r){const n={location:o,il:l,locale:t.Locale.getLocaleName()},a=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);c=c.substring(0,r)+": "+a}}else y=e.getFlags()&t.flags.PARSHA_HASHAVUA?id(e,l):e.memo||Vf[e.basename()];const b=y||a.format(h),v="candles"==m?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(c,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(g,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(u,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=sd,e.countryNames=Zf,e.eventToClassicApiObject=dd,e.eventToCsv=ld,e.eventToFullCalendar=function(e,r,n){const a=rd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:cd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):td(e.getDate().greg()),allDay:!i,className:a.join(" ")},c=e.renderBrief("he");c&&(s.hebrew=t.Locale.hebrewStripNikkud(c));const h=e.url();h&&(s.url=sd(h,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const r=o&t.flags.PARSHA_HASHAVUA?id(e,n):e.memo||Vf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=vd,e.eventToRssItem2=bd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:nd(e,t),date:(new Date).toISOString()};return n.location=$f(t.location),e.length&&(n.range={start:fd(e[0]),end:fd(e[e.length-1])}),n.items=e.map((e=>dd(e,t,r))),n},e.eventsToCsv=function(e,t){return[hd].concat(e.map((e=>ld(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,r,n,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=r.getName(),c={location:r,mainUrl:n,selfUrl:a,lang:o,evPubDate:i,title:t.Locale.gettext("Shabbat")+" Times for ".concat(s),description:"Weekly Shabbat candle lighting times for ".concat(s),utmSource:"shabbat1c",utmMedium:"rss"};return yd(e,c)},e.eventsToRss2=yd,e.getCalendarTitle=nd,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+Qf(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=rd,e.getHolidayDescription=ad,e.holidayDescription=Vf,e.locationToPlainObj=$f,e.makeAnchor=Qf,e.makeTorahMemoText=id,e.pad2=Xf,e.pad4=ed,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=cd,e.timeZoneOffsetStr=function(e,r){return t.Zmanim.timeZoneOffset(e,r)},e.toISOString=td,e.toISOStringWithTimezone=function(e,r,n){const a=td(e);return r?a+"T"+r+":00"+t.Zmanim.timeZoneOffset(n,e):a},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
|
|
1
|
+
/*! @hebcal/rest-api v3.18.0 */
|
|
2
|
+
var hebcal__rest_api=function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=n(hebcal__leyning),o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},i=function(e){return e&&e.Math==Math&&e},s=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof o&&o)||function(){return this}()||Function("return this")(),c={},h=function(e){try{return!!e()}catch(e){return!0}},u=!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")})),f=l,d=Function.prototype.call,g=f?d.bind(d):function(){return d.apply(d,arguments)},m={},p={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,b=y&&!p.call({1:2},1);m.f=b?function(e){var t=y(this,e);return!!t&&t.enumerable}:p;var v,S,w=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=l,R=Function.prototype,T=R.bind,H=R.call,P=A&&T.bind(H,H),C=A?function(e){return e&&P(e)}:function(e){return e&&function(){return H.apply(e,arguments)}},I=C,O=I({}.toString),E=I("".slice),L=function(e){return E(O(e),8,-1)},k=C,M=h,B=L,U=s.Object,D=k("".split),F=M((function(){return!U("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?D(e,""):U(e)}:U,x=s.TypeError,j=function(e){if(null==e)throw x("Can't call method on "+e);return e},N=F,G=j,_=function(e){return N(G(e))},z=function(e){return"function"==typeof e},Y=z,K=function(e){return"object"==typeof e?null!==e:Y(e)},W=s,J=z,q=function(e){return J(e)?e:void 0},V=function(e,t){return arguments.length<2?q(W[e]):W[e]&&W[e][t]},Z=C({}.isPrototypeOf),$=s,Q=V("navigator","userAgent")||"",X=$.process,ee=$.Deno,te=X&&X.versions||ee&&ee.version,re=te&&te.v8;re&&(S=(v=re.split("."))[0]>0&&v[0]<4?1:+(v[0]+v[1])),!S&&Q&&(!(v=Q.match(/Edge\/(\d+)/))||v[1]>=74)&&(v=Q.match(/Chrome\/(\d+)/))&&(S=+v[1]);var ne=S,ae=h,oe=!!Object.getOwnPropertySymbols&&!ae((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ne&&ne<41})),ie=oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=V,ce=z,he=Z,ue=ie,le=s.Object,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return ce(t)&&he(t.prototype,le(e))},de=s.String,ge=function(e){try{return de(e)}catch(e){return"Object"}},me=z,pe=ge,ye=s.TypeError,be=function(e){if(me(e))return e;throw ye(pe(e)+" is not a function")},ve=be,Se=function(e,t){var r=e[t];return null==r?void 0:ve(r)},we=g,Ae=z,Re=K,Te=s.TypeError,He={exports:{}},Pe=s,Ce=Object.defineProperty,Ie=function(e,t){try{Ce(Pe,e,{value:t,configurable:!0,writable:!0})}catch(r){Pe[e]=t}return t},Oe=Ie,Ee="__core-js_shared__",Le=s[Ee]||Oe(Ee,{}),ke=Le;(He.exports=function(e,t){return ke[e]||(ke[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.7",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE",source:"https://github.com/zloirock/core-js"});var Me=j,Be=s.Object,Ue=function(e){return Be(Me(e))},De=Ue,Fe=C({}.hasOwnProperty),xe=Object.hasOwn||function(e,t){return Fe(De(e),t)},je=C,Ne=0,Ge=Math.random(),_e=je(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+_e(++Ne+Ge,36)},Ye=s,Ke=He.exports,We=xe,Je=ze,qe=oe,Ve=ie,Ze=Ke("wks"),$e=Ye.Symbol,Qe=$e&&$e.for,Xe=Ve?$e:$e&&$e.withoutSetter||Je,et=function(e){if(!We(Ze,e)||!qe&&"string"!=typeof Ze[e]){var t="Symbol."+e;qe&&We($e,e)?Ze[e]=$e[e]:Ze[e]=Ve&&Qe?Qe(t):Xe(t)}return Ze[e]},tt=g,rt=K,nt=fe,at=Se,ot=function(e,t){var r,n;if("string"===t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;if(Ae(r=e.valueOf)&&!Re(n=we(r,e)))return n;if("string"!==t&&Ae(r=e.toString)&&!Re(n=we(r,e)))return n;throw Te("Can't convert object to primitive value")},it=et,st=s.TypeError,ct=it("toPrimitive"),ht=function(e,t){if(!rt(e)||nt(e))return e;var r,n=at(e,ct);if(n){if(void 0===t&&(t="default"),r=tt(n,e,t),!rt(r)||nt(r))return r;throw st("Can't convert object to primitive value")}return void 0===t&&(t="number"),ot(e,t)},ut=fe,lt=function(e){var t=ht(e,"string");return ut(t)?t:t+""},ft=K,dt=s.document,gt=ft(dt)&&ft(dt.createElement),mt=function(e){return gt?dt.createElement(e):{}},pt=mt,yt=!u&&!h((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),bt=u,vt=g,St=m,wt=w,At=_,Rt=lt,Tt=xe,Ht=yt,Pt=Object.getOwnPropertyDescriptor;c.f=bt?Pt:function(e,t){if(e=At(e),t=Rt(t),Ht)try{return Pt(e,t)}catch(e){}if(Tt(e,t))return wt(!vt(St.f,e,t),e[t])};var Ct={},It=u&&h((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ot=s,Et=K,Lt=Ot.String,kt=Ot.TypeError,Mt=function(e){if(Et(e))return e;throw kt(Lt(e)+" is not an object")},Bt=u,Ut=yt,Dt=It,Ft=Mt,xt=lt,jt=s.TypeError,Nt=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,_t="enumerable",zt="configurable",Yt="writable";Ct.f=Bt?Dt?function(e,t,r){if(Ft(e),t=xt(t),Ft(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Yt in r&&!r.writable){var n=Gt(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:zt in r?r.configurable:n.configurable,enumerable:_t in r?r.enumerable:n.enumerable,writable:!1})}return Nt(e,t,r)}:Nt:function(e,t,r){if(Ft(e),t=xt(t),Ft(r),Ut)try{return Nt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw jt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Kt=Ct,Wt=w,Jt=u?function(e,t,r){return Kt.f(e,t,Wt(1,r))}:function(e,t,r){return e[t]=r,e},qt={exports:{}},Vt=u,Zt=xe,$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=z,rr=Le,nr=C(Function.toString);tr(rr.inspectSource)||(rr.inspectSource=function(e){return nr(e)});var ar,or,ir,sr=rr.inspectSource,cr=z,hr=sr,ur=s.WeakMap,lr=cr(ur)&&/native code/.test(hr(ur)),fr=He.exports,dr=ze,gr=fr("keys"),mr=function(e){return gr[e]||(gr[e]=dr(e))},pr={},yr=lr,br=s,vr=C,Sr=K,wr=Jt,Ar=xe,Rr=Le,Tr=mr,Hr=pr,Pr="Object already initialized",Cr=br.TypeError,Ir=br.WeakMap;if(yr||Rr.state){var Or=Rr.state||(Rr.state=new Ir),Er=vr(Or.get),Lr=vr(Or.has),kr=vr(Or.set);ar=function(e,t){if(Lr(Or,e))throw new Cr(Pr);return t.facade=e,kr(Or,e,t),t},or=function(e){return Er(Or,e)||{}},ir=function(e){return Lr(Or,e)}}else{var Mr=Tr("state");Hr[Mr]=!0,ar=function(e,t){if(Ar(e,Mr))throw new Cr(Pr);return t.facade=e,wr(e,Mr,t),t},or=function(e){return Ar(e,Mr)?e[Mr]:{}},ir=function(e){return Ar(e,Mr)}}var Br={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(!Sr(t)||(r=or(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Ur=h,Dr=z,Fr=xe,xr=u,jr=er.CONFIGURABLE,Nr=sr,Gr=Br.enforce,_r=Br.get,zr=Object.defineProperty,Yr=xr&&!Ur((function(){return 8!==zr((function(){}),"length",{value:8}).length})),Kr=String(String).split("String"),Wr=qt.exports=function(e,t,r){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Fr(e,"name")||jr&&e.name!==t)&&zr(e,"name",{value:t,configurable:!0}),Yr&&r&&Fr(r,"arity")&&e.length!==r.arity&&zr(e,"length",{value:r.arity});try{r&&Fr(r,"constructor")&&r.constructor?xr&&zr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Gr(e);return Fr(n,"source")||(n.source=Kr.join("string"==typeof t?t:"")),e};Function.prototype.toString=Wr((function(){return Dr(this)&&_r(this).source||Nr(this)}),"toString");var Jr=z,qr=Jt,Vr=qt.exports,Zr=Ie,$r=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;return Jr(r)&&Vr(r,o,n),n.global?a?e[t]=r:Zr(t,r):(n.unsafe?e[t]&&(a=!0):delete e[t],a?e[t]=r:qr(e,t,r)),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)},cn=rn,hn=Math.min,un=function(e){return e>0?hn(cn(e),9007199254740991):0},ln=un,fn=function(e){return ln(e.length)},dn=_,gn=sn,mn=fn,pn=function(e){return function(t,r,n){var a,o=dn(t),i=mn(o),s=gn(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=xe,vn=_,Sn=yn.indexOf,wn=pr,An=C([].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,Pn=Tn.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return Hn(e,Pn)};var Cn={};Cn.f=Object.getOwnPropertySymbols;var In=V,On=Qr,En=Cn,Ln=Mt,kn=C([].concat),Mn=In("Reflect","ownKeys")||function(e){var t=On.f(Ln(e)),r=En.f;return r?kn(t,r(e)):t},Bn=xe,Un=Mn,Dn=c,Fn=Ct,xn=h,jn=z,Nn=/#|\.prototype\./,Gn=function(e,t){var r=zn[_n(e)];return r==Kn||r!=Yn&&(jn(t)?xn(t):!!t)},_n=Gn.normalize=function(e){return String(e).replace(Nn,".").toLowerCase()},zn=Gn.data={},Yn=Gn.NATIVE="N",Kn=Gn.POLYFILL="P",Wn=Gn,Jn=s,qn=c.f,Vn=Jt,Zn=$r,$n=Ie,Qn=function(e,t,r){for(var n=Un(t),a=Fn.f,o=Dn.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=Wn,ea=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,h=e.stat;if(r=c?Jn:h?Jn[s]||$n(s,{}):(Jn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=qn(r,n))&&i.value:r[n],!Xn(c?n:s+(h?".":"#")+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[et("toStringTag")]="z";var ra=s,na="[object z]"===String(ta),aa=z,oa=L,ia=et("toStringTag"),sa=ra.Object,ca="Arguments"==oa(function(){return arguments}()),ha=na?oa: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=sa(e),ia))?r:ca?oa(t):"Object"==(n=oa(t))&&aa(t.callee)?"Arguments":n},ua=ha,la=s.String,fa=function(e){if("Symbol"===ua(e))throw TypeError("Cannot convert a Symbol value to a string");return la(e)},da=Mt,ga=function(){var e=da(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.sticky&&(t+="y"),t},ma=h,pa=s.RegExp,ya=ma((function(){var e=pa("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ba=ya||ma((function(){return!pa("a","y").sticky})),va={BROKEN_CARET:ya||ma((function(){var e=pa("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ba,UNSUPPORTED_Y:ya},Sa={},wa=Rn,Aa=Tn,Ra=Object.keys||function(e){return wa(e,Aa)},Ta=u,Ha=It,Pa=Ct,Ca=Mt,Ia=_,Oa=Ra;Sa.f=Ta&&!Ha?Object.defineProperties:function(e,t){Ca(e);for(var r,n=Ia(t),a=Oa(t),o=a.length,i=0;o>i;)Pa.f(e,r=a[i++],n[r]);return e};var Ea,La=V("document","documentElement"),ka=Mt,Ma=Sa,Ba=Tn,Ua=pr,Da=La,Fa=mt,xa=mr("IE_PROTO"),ja=function(){},Na=function(e){return"<script>"+e+"</"+"script>"},Ga=function(e){e.write(Na("")),e.close();var t=e.parentWindow.Object;return e=null,t},_a=function(){try{Ea=new ActiveXObject("htmlfile")}catch(e){}var e,t;_a="undefined"!=typeof document?document.domain&&Ea?Ga(Ea):((t=Fa("iframe")).style.display="none",Da.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Na("document.F=Object")),e.close(),e.F):Ga(Ea);for(var r=Ba.length;r--;)delete _a.prototype[Ba[r]];return _a()};Ua[xa]=!0;var za,Ya,Ka=Object.create||function(e,t){var r;return null!==e?(ja.prototype=ka(e),r=new ja,ja.prototype=null,r[xa]=e):r=_a(),void 0===t?r:Ma.f(r,t)},Wa=h,Ja=s.RegExp,qa=Wa((function(){var e=Ja(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),Va=h,Za=s.RegExp,$a=Va((function(){var e=Za("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Qa=g,Xa=C,eo=fa,to=ga,ro=va,no=He.exports,ao=Ka,oo=Br.get,io=qa,so=$a,co=no("native-string-replace",String.prototype.replace),ho=RegExp.prototype.exec,uo=ho,lo=Xa("".charAt),fo=Xa("".indexOf),go=Xa("".replace),mo=Xa("".slice),po=(Ya=/b*/g,Qa(ho,za=/a/,"a"),Qa(ho,Ya,"a"),0!==za.lastIndex||0!==Ya.lastIndex),yo=ro.BROKEN_CARET,bo=void 0!==/()??/.exec("")[1];(po||bo||yo||io||so)&&(uo=function(e){var t,r,n,a,o,i,s,c=this,h=oo(c),u=eo(e),l=h.raw;if(l)return l.lastIndex=c.lastIndex,t=Qa(uo,l,u),c.lastIndex=l.lastIndex,t;var f=h.groups,d=yo&&c.sticky,g=Qa(to,c),m=c.source,p=0,y=u;if(d&&(g=go(g,"y",""),-1===fo(g,"g")&&(g+="g"),y=mo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==lo(u,c.lastIndex-1))&&(m="(?: "+m+")",y=" "+y,p++),r=new RegExp("^(?:"+m+")",g)),bo&&(r=new RegExp("^"+m+"$(?!\\s)",g)),po&&(n=c.lastIndex),a=Qa(ho,d?r:c,y),d?a?(a.input=mo(a.input,p),a[0]=mo(a[0],p),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:po&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),bo&&a&&a.length>1&&Qa(co,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!==uo},{exec:uo});var vo=mt("span").classList,So=vo&&vo.constructor&&vo.constructor.prototype,wo=So===Object.prototype?void 0:So,Ao=et,Ro=Ka,To=Ct.f,Ho=Ao("unscopables"),Po=Array.prototype;null==Po[Ho]&&To(Po,Ho,{configurable:!0,value:Ro(null)});var Co,Io,Oo,Eo={},Lo=!h((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),ko=s,Mo=xe,Bo=z,Uo=Ue,Do=Lo,Fo=mr("IE_PROTO"),xo=ko.Object,jo=xo.prototype,No=Do?xo.getPrototypeOf:function(e){var t=Uo(e);if(Mo(t,Fo))return t[Fo];var r=t.constructor;return Bo(r)&&t instanceof r?r.prototype:t instanceof xo?jo:null},Go=h,_o=z,zo=No,Yo=$r,Ko=et("iterator"),Wo=!1;[].keys&&("next"in(Oo=[].keys())?(Io=zo(zo(Oo)))!==Object.prototype&&(Co=Io):Wo=!0);var Jo=null==Co||Go((function(){var e={};return Co[Ko].call(e)!==e}));Jo&&(Co={}),_o(Co[Ko])||Yo(Co,Ko,(function(){return this}));var qo={IteratorPrototype:Co,BUGGY_SAFARI_ITERATORS:Wo},Vo=Ct.f,Zo=xe,$o=et("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=Ka,ti=w,ri=Qo,ni=Eo,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=s,si=z,ci=ii.String,hi=ii.TypeError,ui=C,li=Mt,fi=function(e){if("object"==typeof e||si(e))return e;throw hi("Can't set "+ci(e)+" as a prototype")},di=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=ui(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return li(r),fi(n),t?e(r,n):r.__proto__=n,r}}():void 0),gi=ea,mi=g,pi=z,yi=oi,bi=No,vi=di,Si=Qo,wi=Jt,Ai=$r,Ri=Eo,Ti=er.PROPER,Hi=er.CONFIGURABLE,Pi=qo.IteratorPrototype,Ci=qo.BUGGY_SAFARI_ITERATORS,Ii=et("iterator"),Oi="keys",Ei="values",Li="entries",ki=function(){return this},Mi=function(e,t,r,n,a,o,i){yi(r,t,n);var s,c,h,u=function(e){if(e===a&&m)return m;if(!Ci&&e in d)return d[e];switch(e){case Oi:case Ei:case Li:return function(){return new r(this,e)}}return function(){return new r(this)}},l=t+" Iterator",f=!1,d=e.prototype,g=d[Ii]||d["@@iterator"]||a&&d[a],m=!Ci&&g||u(a),p="Array"==t&&d.entries||g;if(p&&(s=bi(p.call(new e)))!==Object.prototype&&s.next&&(bi(s)!==Pi&&(vi?vi(s,Pi):pi(s[Ii])||Ai(s,Ii,ki)),Si(s,l,!0)),Ti&&a==Ei&&g&&g.name!==Ei&&(Hi?wi(d,"name",Ei):(f=!0,m=function(){return mi(g,this)})),a)if(c={values:u(Ei),keys:o?m:u(Oi),entries:u(Li)},i)for(h in c)(Ci||f||!(h in d))&&Ai(d,h,c[h]);else gi({target:t,proto:!0,forced:Ci||f},c);return d[Ii]!==m&&Ai(d,Ii,m,{name:a}),Ri[t]=m,c},Bi=_,Ui=function(e){Po[Ho][e]=!0},Di=Eo,Fi=Br,xi=Ct.f,ji=Mi,Ni=u,Gi="Array Iterator",_i=Fi.set,zi=Fi.getterFor(Gi),Yi=ji(Array,"Array",(function(e,t){_i(this,{type:Gi,target:Bi(e),index:0,kind:t})}),(function(){var e=zi(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),Ki=Di.Arguments=Di.Array;if(Ui("keys"),Ui("values"),Ui("entries"),Ni&&"values"!==Ki.name)try{xi(Ki,"name",{value:"values"})}catch(e){}var Wi=s,Ji={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},qi=wo,Vi=Yi,Zi=Jt,$i=et,Qi=$i("iterator"),Xi=$i("toStringTag"),es=Vi.values,ts=function(e,t){if(e){if(e[Qi]!==es)try{Zi(e,Qi,es)}catch(t){e[Qi]=es}if(e[Xi]||Zi(e,Xi,t),Ji[t])for(var r in Vi)if(e[r]!==Vi[r])try{Zi(e,r,Vi[r])}catch(t){e[r]=Vi[r]}}};for(var rs in Ji)ts(Wi[rs]&&Wi[rs].prototype,rs);ts(qi,"DOMTokenList");var ns=C,as=rn,os=fa,is=j,ss=ns("".charAt),cs=ns("".charCodeAt),hs=ns("".slice),us=function(e){return function(t,r){var n,a,o=os(is(t)),i=as(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=cs(o,i))<55296||n>56319||i+1===s||(a=cs(o,i+1))<56320||a>57343?e?ss(o,i):n:e?hs(o,i,i+2):a-56320+(n-55296<<10)+65536}},ls={codeAt:us(!1),charAt:us(!0)},fs=ls.charAt,ds=fa,gs=Br,ms=Mi,ps="String Iterator",ys=gs.set,bs=gs.getterFor(ps);ms(String,"String",(function(e){ys(this,{type:ps,string:ds(e),index:0})}),(function(){var e,t=bs(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=fs(r,n),t.index+=e.length,{value:e,done:!1})}));var vs=h,Ss=et("iterator"),ws=!vs((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[Ss]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host})),As=be,Rs=l,Ts=C(C.bind),Hs=function(e,t){return As(e),void 0===t?e:Rs?Ts(e,t):function(){return e.apply(t,arguments)}},Ps=qt.exports,Cs=Ct,Is=Z,Os=s.TypeError,Es=function(e,t){if(Is(t,e))return e;throw Os("Incorrect invocation")},Ls=u,ks=C,Ms=g,Bs=h,Us=Ra,Ds=Cn,Fs=m,xs=Ue,js=F,Ns=Object.assign,Gs=Object.defineProperty,_s=ks([].concat),zs=!Ns||Bs((function(){if(Ls&&1!==Ns({b:1},Ns(Gs({},"a",{enumerable:!0,get:function(){Gs(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Ns({},e)[r]||Us(Ns({},t)).join("")!=n}))?function(e,t){for(var r=xs(e),n=arguments.length,a=1,o=Ds.f,i=Fs.f;n>a;)for(var s,c=js(arguments[a++]),h=o?_s(Us(c),o(c)):Us(c),u=h.length,l=0;u>l;)s=h[l++],Ls&&!Ms(i,c,s)||(r[s]=c[s]);return r}:Ns,Ys=g,Ks=Mt,Ws=Se,Js=Mt,qs=function(e,t,r){var n,a;Ks(e);try{if(!(n=Ws(e,"return"))){if("throw"===t)throw r;return r}n=Ys(n,e)}catch(e){a=!0,n=e}if("throw"===t)throw r;if(a)throw n;return Ks(n),r},Vs=Eo,Zs=et("iterator"),$s=Array.prototype,Qs=C,Xs=h,ec=z,tc=ha,rc=sr,nc=function(){},ac=[],oc=V("Reflect","construct"),ic=/^\s*(?:class|function)\b/,sc=Qs(ic.exec),cc=!ic.exec(nc),hc=function(e){if(!ec(e))return!1;try{return oc(nc,ac,e),!0}catch(e){return!1}},uc=function(e){if(!ec(e))return!1;switch(tc(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cc||!!sc(ic,rc(e))}catch(e){return!0}};uc.sham=!0;var lc=!oc||Xs((function(){var e;return hc(hc.call)||!hc(Object)||!hc((function(){e=!0}))||e}))?uc:hc,fc=lt,dc=Ct,gc=w,mc=function(e,t,r){var n=fc(t);n in e?dc.f(e,n,gc(0,r)):e[n]=r},pc=ha,yc=Se,bc=Eo,vc=et("iterator"),Sc=function(e){if(null!=e)return yc(e,vc)||yc(e,"@@iterator")||bc[pc(e)]},wc=g,Ac=be,Rc=Mt,Tc=ge,Hc=Sc,Pc=s.TypeError,Cc=function(e,t){var r=arguments.length<2?Hc(e):t;if(Ac(r))return Rc(wc(r,e));throw Pc(Tc(e)+" is not iterable")},Ic=Hs,Oc=g,Ec=Ue,Lc=function(e,t,r,n){try{return n?t(Js(r)[0],r[1]):t(r)}catch(t){qs(e,"throw",t)}},kc=function(e){return void 0!==e&&(Vs.Array===e||$s[Zs]===e)},Mc=lc,Bc=fn,Uc=mc,Dc=Cc,Fc=Sc,xc=s.Array,jc=sn,Nc=fn,Gc=mc,_c=s.Array,zc=Math.max,Yc=function(e,t,r){for(var n=Nc(e),a=jc(t,n),o=jc(void 0===r?n:r,n),i=_c(zc(o-a,0)),s=0;a<o;a++,s++)Gc(i,s,e[a]);return i.length=s,i},Kc=C,Wc=2147483647,Jc=/[^\0-\u007E]/,qc=/[.\u3002\uFF0E\uFF61]/g,Vc="Overflow: input needs wider integers to process",Zc=s.RangeError,$c=Kc(qc.exec),Qc=Math.floor,Xc=String.fromCharCode,eh=Kc("".charCodeAt),th=Kc([].join),rh=Kc([].push),nh=Kc("".replace),ah=Kc("".split),oh=Kc("".toLowerCase),ih=function(e){return e+22+75*(e<26)},sh=function(e,t,r){var n=0;for(e=r?Qc(e/700):e>>1,e+=Qc(e/t);e>455;)e=Qc(e/35),n+=36;return Qc(n+36*e/(e+38))},ch=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var a=eh(e,r++);if(a>=55296&&a<=56319&&r<n){var o=eh(e,r++);56320==(64512&o)?rh(t,((1023&a)<<10)+(1023&o)+65536):(rh(t,a),r--)}else rh(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&&rh(t,Xc(n));var c=t.length,h=c;for(c&&rh(t,"-");h<a;){var u=Wc;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<u&&(u=n);var l=h+1;if(u-o>Qc((Wc-i)/l))throw Zc(Vc);for(i+=(u-o)*l,o=u,r=0;r<e.length;r++){if((n=e[r])<o&&++i>Wc)throw Zc(Vc);if(n==o){for(var f=i,d=36;;){var g=d<=s?1:d>=s+26?26:d-s;if(f<g)break;var m=f-g,p=36-g;rh(t,Xc(ih(g+m%p))),f=Qc(m/p),d+=36}rh(t,Xc(ih(f))),s=sh(i,l,h==c),i=0,h++}}i++,o++}return th(t,"")},hh=s.TypeError,uh=function(e,t){if(e<t)throw hh("Not enough arguments");return e},lh=$r,fh=Yc,dh=Math.floor,gh=function(e,t){var r=e.length,n=dh(r/2);return r<8?mh(e,t):ph(e,gh(fh(e,0,n),t),gh(fh(e,n),t),t)},mh=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},ph=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},yh=ea,bh=s,vh=g,Sh=C,wh=u,Ah=ws,Rh=$r,Th=function(e,t,r){for(var n in t)lh(e,n,t[n],r);return e},Hh=Qo,Ph=oi,Ch=Br,Ih=Es,Oh=z,Eh=xe,Lh=Hs,kh=ha,Mh=Mt,Bh=K,Uh=fa,Dh=Ka,Fh=w,xh=Cc,jh=Sc,Nh=uh,Gh=gh,_h=et("iterator"),zh="URLSearchParams",Yh="URLSearchParamsIterator",Kh=Ch.set,Wh=Ch.getterFor(zh),Jh=Ch.getterFor(Yh),qh=Object.getOwnPropertyDescriptor,Vh=function(e){if(!wh)return bh[e];var t=qh(bh,e);return t&&t.value},Zh=Vh("fetch"),$h=Vh("Request"),Qh=Vh("Headers"),Xh=$h&&$h.prototype,eu=Qh&&Qh.prototype,tu=bh.RegExp,ru=bh.TypeError,nu=bh.decodeURIComponent,au=bh.encodeURIComponent,ou=Sh("".charAt),iu=Sh([].join),su=Sh([].push),cu=Sh("".replace),hu=Sh([].shift),uu=Sh([].splice),lu=Sh("".split),fu=Sh("".slice),du=/\+/g,gu=Array(4),mu=function(e){return gu[e-1]||(gu[e-1]=tu("((?:%[\\da-f]{2}){"+e+"})","gi"))},pu=function(e){try{return nu(e)}catch(t){return e}},yu=function(e){var t=cu(e,du," "),r=4;try{return nu(t)}catch(e){for(;r;)t=cu(t,mu(r--),pu);return t}},bu=/[!'()~]|%20/g,vu={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Su=function(e){return vu[e]},wu=function(e){return cu(au(e),bu,Su)},Au=Ph((function(e,t){Kh(this,{type:Yh,iterator:xh(Wh(e).entries),kind:t})}),"Iterator",(function(){var e=Jh(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),Ru=function(e){this.entries=[],this.url=null,void 0!==e&&(Bh(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===ou(e,0)?fu(e,1):e:Uh(e)))};Ru.prototype={type:zh,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,a,o,i,s,c=jh(e);if(c)for(r=(t=xh(e,c)).next;!(n=vh(r,t)).done;){if(o=(a=xh(Mh(n.value))).next,(i=vh(o,a)).done||(s=vh(o,a)).done||!vh(o,a).done)throw ru("Expected sequence with length 2");su(this.entries,{key:Uh(i.value),value:Uh(s.value)})}else for(var h in e)Eh(e,h)&&su(this.entries,{key:h,value:Uh(e[h])})},parseQuery:function(e){if(e)for(var t,r,n=lu(e,"&"),a=0;a<n.length;)(t=n[a++]).length&&(r=lu(t,"="),su(this.entries,{key:yu(hu(r)),value:yu(iu(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],su(r,wu(e.key)+"="+wu(e.value));return iu(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Tu=function(){Ih(this,Hu);var e=arguments.length>0?arguments[0]:void 0;Kh(this,new Ru(e))},Hu=Tu.prototype;if(Th(Hu,{append:function(e,t){Nh(arguments.length,2);var r=Wh(this);su(r.entries,{key:Uh(e),value:Uh(t)}),r.updateURL()},delete:function(e){Nh(arguments.length,1);for(var t=Wh(this),r=t.entries,n=Uh(e),a=0;a<r.length;)r[a].key===n?uu(r,a,1):a++;t.updateURL()},get:function(e){Nh(arguments.length,1);for(var t=Wh(this).entries,r=Uh(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){Nh(arguments.length,1);for(var t=Wh(this).entries,r=Uh(e),n=[],a=0;a<t.length;a++)t[a].key===r&&su(n,t[a].value);return n},has:function(e){Nh(arguments.length,1);for(var t=Wh(this).entries,r=Uh(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){Nh(arguments.length,1);for(var r,n=Wh(this),a=n.entries,o=!1,i=Uh(e),s=Uh(t),c=0;c<a.length;c++)(r=a[c]).key===i&&(o?uu(a,c--,1):(o=!0,r.value=s));o||su(a,{key:i,value:s}),n.updateURL()},sort:function(){var e=Wh(this);Gh(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=Wh(this).entries,n=Lh(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 Au(this,"keys")},values:function(){return new Au(this,"values")},entries:function(){return new Au(this,"entries")}},{enumerable:!0}),Rh(Hu,_h,Hu.entries,{name:"entries"}),Rh(Hu,"toString",(function(){return Wh(this).serialize()}),{enumerable:!0}),Hh(Tu,zh),yh({global:!0,constructor:!0,forced:!Ah},{URLSearchParams:Tu}),!Ah&&Oh(Qh)){var Pu=Sh(eu.has),Cu=Sh(eu.set),Iu=function(e){if(Bh(e)){var t,r=e.body;if(kh(r)===zh)return t=e.headers?new Qh(e.headers):new Qh,Pu(t,"content-type")||Cu(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),Dh(e,{body:Fh(0,Uh(r)),headers:Fh(0,t)})}return e};if(Oh(Zh)&&yh({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return Zh(e,arguments.length>1?Iu(arguments[1]):{})}}),Oh($h)){var Ou=function(e){return Ih(this,Xh),new $h(e,arguments.length>1?Iu(arguments[1]):{})};Xh.constructor=Ou,Ou.prototype=Xh,yh({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ou})}}var Eu,Lu=ea,ku=u,Mu=ws,Bu=s,Uu=Hs,Du=C,Fu=$r,xu=function(e,t,r){return r.get&&Ps(r.get,t,{getter:!0}),r.set&&Ps(r.set,t,{setter:!0}),Cs.f(e,t,r)},ju=Es,Nu=xe,Gu=zs,_u=function(e){var t=Ec(e),r=Mc(this),n=arguments.length,a=n>1?arguments[1]:void 0,o=void 0!==a;o&&(a=Ic(a,n>2?arguments[2]:void 0));var i,s,c,h,u,l,f=Fc(t),d=0;if(!f||this==xc&&kc(f))for(i=Bc(t),s=r?new this(i):xc(i);i>d;d++)l=o?a(t[d],d):t[d],Uc(s,d,l);else for(u=(h=Dc(t,f)).next,s=r?new this:[];!(c=Oc(u,h)).done;d++)l=o?Lc(h,a,[c.value,d],!0):c.value,Uc(s,d,l);return s.length=d,s},zu=Yc,Yu=ls.codeAt,Ku=function(e){var t,r,n=[],a=ah(nh(oh(e),qc,"."),".");for(t=0;t<a.length;t++)r=a[t],rh(n,$c(Jc,r)?"xn--"+ch(r):r);return th(n,".")},Wu=fa,Ju=Qo,qu=uh,Vu={URLSearchParams:Tu,getState:Wh},Zu=Br,$u=Zu.set,Qu=Zu.getterFor("URL"),Xu=Vu.URLSearchParams,el=Vu.getState,tl=Bu.URL,rl=Bu.TypeError,nl=Bu.parseInt,al=Math.floor,ol=Math.pow,il=Du("".charAt),sl=Du(/./.exec),cl=Du([].join),hl=Du(1..toString),ul=Du([].pop),ll=Du([].push),fl=Du("".replace),dl=Du([].shift),gl=Du("".split),ml=Du("".slice),pl=Du("".toLowerCase),yl=Du([].unshift),bl="Invalid scheme",vl="Invalid host",Sl="Invalid port",wl=/[a-z]/i,Al=/[\d+-.a-z]/i,Rl=/\d/,Tl=/^0x/i,Hl=/^[0-7]+$/,Pl=/^\d+$/,Cl=/^[\da-f]+$/i,Il=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Ol=/[\0\t\n\r #/:<>?@[\\\]^|]/,El=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,Ll=/[\t\n\r]/g,kl=function(e){var t,r,n,a;if("number"==typeof e){for(t=[],r=0;r<4;r++)yl(t,e%256),e=al(e/256);return cl(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+=hl(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},Ml={},Bl=Gu({},Ml,{" ":1,'"':1,"<":1,">":1,"`":1}),Ul=Gu({},Bl,{"#":1,"?":1,"{":1,"}":1}),Dl=Gu({},Ul,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Fl=function(e,t){var r=Yu(e,0);return r>32&&r<127&&!Nu(t,e)?e:encodeURIComponent(e)},xl={ftp:21,file:null,http:80,https:443,ws:80,wss:443},jl=function(e,t){var r;return 2==e.length&&sl(wl,il(e,0))&&(":"==(r=il(e,1))||!t&&"|"==r)},Nl=function(e){var t;return e.length>1&&jl(ml(e,0,2))&&(2==e.length||"/"===(t=il(e,2))||"\\"===t||"?"===t||"#"===t)},Gl=function(e){return"."===e||"%2e"===pl(e)},_l={},zl={},Yl={},Kl={},Wl={},Jl={},ql={},Vl={},Zl={},$l={},Ql={},Xl={},ef={},tf={},rf={},nf={},af={},of={},sf={},cf={},hf={},uf=function(e,t,r){var n,a,o,i=Wu(e);if(t){if(a=this.parse(i))throw rl(a);this.searchParams=null}else{if(void 0!==r&&(n=new uf(r,!0)),a=this.parse(i,null,n))throw rl(a);(o=el(new Xu)).bindURL(this),this.searchParams=o}};uf.prototype={type:"URL",parse:function(e,t,r){var n,a,o,i,s,c=this,h=t||_l,u=0,l="",f=!1,d=!1,g=!1;for(e=Wu(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=fl(e,El,"")),e=fl(e,Ll,""),n=_u(e);u<=n.length;){switch(a=n[u],h){case _l:if(!a||!sl(wl,a)){if(t)return bl;h=Yl;continue}l+=pl(a),h=zl;break;case zl:if(a&&(sl(Al,a)||"+"==a||"-"==a||"."==a))l+=pl(a);else{if(":"!=a){if(t)return bl;l="",h=Yl,u=0;continue}if(t&&(c.isSpecial()!=Nu(xl,l)||"file"==l&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=l,t)return void(c.isSpecial()&&xl[c.scheme]==c.port&&(c.port=null));l="","file"==c.scheme?h=tf:c.isSpecial()&&r&&r.scheme==c.scheme?h=Kl:c.isSpecial()?h=Vl:"/"==n[u+1]?(h=Wl,u++):(c.cannotBeABaseURL=!0,ll(c.path,""),h=sf)}break;case Yl:if(!r||r.cannotBeABaseURL&&"#"!=a)return bl;if(r.cannotBeABaseURL&&"#"==a){c.scheme=r.scheme,c.path=zu(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,h=hf;break}h="file"==r.scheme?tf:Jl;continue;case Kl:if("/"!=a||"/"!=n[u+1]){h=Jl;continue}h=Zl,u++;break;case Wl:if("/"==a){h=$l;break}h=of;continue;case Jl:if(c.scheme=r.scheme,a==Eu)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=zu(r.path),c.query=r.query;else if("/"==a||"\\"==a&&c.isSpecial())h=ql;else if("?"==a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=zu(r.path),c.query="",h=cf;else{if("#"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=zu(r.path),c.path.length--,h=of;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=zu(r.path),c.query=r.query,c.fragment="",h=hf}break;case ql:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,h=of;continue}h=$l}else h=Zl;break;case Vl:if(h=Zl,"/"!=a||"/"!=il(l,u+1))continue;u++;break;case Zl:if("/"!=a&&"\\"!=a){h=$l;continue}break;case $l:if("@"==a){f&&(l="%40"+l),f=!0,o=_u(l);for(var m=0;m<o.length;m++){var p=o[m];if(":"!=p||g){var y=Fl(p,Dl);g?c.password+=y:c.username+=y}else g=!0}l=""}else if(a==Eu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(f&&""==l)return"Invalid authority";u-=_u(l).length+1,l="",h=Ql}else l+=a;break;case Ql:case Xl:if(t&&"file"==c.scheme){h=nf;continue}if(":"!=a||d){if(a==Eu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==l)return vl;if(t&&""==l&&(c.includesCredentials()||null!==c.port))return;if(i=c.parseHost(l))return i;if(l="",h=af,t)return;continue}"["==a?d=!0:"]"==a&&(d=!1),l+=a}else{if(""==l)return vl;if(i=c.parseHost(l))return i;if(l="",h=ef,t==Xl)return}break;case ef:if(!sl(Rl,a)){if(a==Eu||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||t){if(""!=l){var b=nl(l,10);if(b>65535)return Sl;c.port=c.isSpecial()&&b===xl[c.scheme]?null:b,l=""}if(t)return;h=af;continue}return Sl}l+=a;break;case tf:if(c.scheme="file","/"==a||"\\"==a)h=rf;else{if(!r||"file"!=r.scheme){h=of;continue}if(a==Eu)c.host=r.host,c.path=zu(r.path),c.query=r.query;else if("?"==a)c.host=r.host,c.path=zu(r.path),c.query="",h=cf;else{if("#"!=a){Nl(cl(zu(n,u),""))||(c.host=r.host,c.path=zu(r.path),c.shortenPath()),h=of;continue}c.host=r.host,c.path=zu(r.path),c.query=r.query,c.fragment="",h=hf}}break;case rf:if("/"==a||"\\"==a){h=nf;break}r&&"file"==r.scheme&&!Nl(cl(zu(n,u),""))&&(jl(r.path[0],!0)?ll(c.path,r.path[0]):c.host=r.host),h=of;continue;case nf:if(a==Eu||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&jl(l))h=of;else if(""==l){if(c.host="",t)return;h=af}else{if(i=c.parseHost(l))return i;if("localhost"==c.host&&(c.host=""),t)return;l="",h=af}continue}l+=a;break;case af:if(c.isSpecial()){if(h=of,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=Eu&&(h=of,"/"!=a))continue}else c.fragment="",h=hf;else c.query="",h=cf;break;case of:if(a==Eu||"/"==a||"\\"==a&&c.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(s=pl(s=l))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||ll(c.path,"")):Gl(l)?"/"==a||"\\"==a&&c.isSpecial()||ll(c.path,""):("file"==c.scheme&&!c.path.length&&jl(l)&&(c.host&&(c.host=""),l=il(l,0)+":"),ll(c.path,l)),l="","file"==c.scheme&&(a==Eu||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)dl(c.path);"?"==a?(c.query="",h=cf):"#"==a&&(c.fragment="",h=hf)}else l+=Fl(a,Ul);break;case sf:"?"==a?(c.query="",h=cf):"#"==a?(c.fragment="",h=hf):a!=Eu&&(c.path[0]+=Fl(a,Ml));break;case cf:t||"#"!=a?a!=Eu&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":Fl(a,Ml)):(c.fragment="",h=hf);break;case hf:a!=Eu&&(c.fragment+=Fl(a,Bl))}u++}},parseHost:function(e){var t,r,n;if("["==il(e,0)){if("]"!=il(e,e.length-1))return vl;if(t=function(e){var t,r,n,a,o,i,s,c=[0,0,0,0,0,0,0,0],h=0,u=null,l=0,f=function(){return il(e,l)};if(":"==f()){if(":"!=il(e,1))return;l+=2,u=++h}for(;f();){if(8==h)return;if(":"!=f()){for(t=r=0;r<4&&sl(Cl,f());)t=16*t+nl(f(),16),l++,r++;if("."==f()){if(0==r)return;if(l-=r,h>6)return;for(n=0;f();){if(a=null,n>0){if(!("."==f()&&n<4))return;l++}if(!sl(Rl,f()))return;for(;sl(Rl,f());){if(o=nl(f(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;l++}c[h]=256*c[h]+a,2!=++n&&4!=n||h++}if(4!=n)return;break}if(":"==f()){if(l++,!f())return}else if(f())return;c[h++]=t}else{if(null!==u)return;l++,u=++h}}if(null!==u)for(i=h-u,h=7;0!=h&&i>0;)s=c[h],c[h--]=c[u+i-1],c[u+--i]=s;else if(8!=h)return;return c}(ml(e,1,-1)),!t)return vl;this.host=t}else if(this.isSpecial()){if(e=Ku(e),sl(Il,e))return vl;if(t=function(e){var t,r,n,a,o,i,s,c=gl(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(a=c[n]))return e;if(o=10,a.length>1&&"0"==il(a,0)&&(o=sl(Tl,a)?16:8,a=ml(a,8==o?1:2)),""===a)i=0;else{if(!sl(10==o?Pl:8==o?Hl:Cl,a))return e;i=nl(a,o)}ll(r,i)}for(n=0;n<t;n++)if(i=r[n],n==t-1){if(i>=ol(256,5-t))return null}else if(i>255)return null;for(s=ul(r),n=0;n<r.length;n++)s+=r[n]*ol(256,3-n);return s}(e),null===t)return vl;this.host=t}else{if(sl(Ol,e))return vl;for(t="",r=_u(e),n=0;n<r.length;n++)t+=Fl(r[n],Ml);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return Nu(xl,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&jl(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,c=e.fragment,h=t+":";return null!==a?(h+="//",e.includesCredentials()&&(h+=r+(n?":"+n:"")+"@"),h+=kl(a),null!==o&&(h+=":"+o)):"file"==t&&(h+="//"),h+=e.cannotBeABaseURL?i[0]:i.length?"/"+cl(i,"/"):"",null!==s&&(h+="?"+s),null!==c&&(h+="#"+c),h},setHref:function(e){var t=this.parse(e);if(t)throw rl(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new lf(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+kl(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(Wu(e)+":",_l)},getUsername:function(){return this.username},setUsername:function(e){var t=_u(Wu(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=Fl(t[r],Dl)}},getPassword:function(){return this.password},setPassword:function(e){var t=_u(Wu(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=Fl(t[r],Dl)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?kl(e):kl(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ql)},getHostname:function(){var e=this.host;return null===e?"":kl(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Xl)},getPort:function(){var e=this.port;return null===e?"":Wu(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=Wu(e))?this.port=null:this.parse(e,ef))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+cl(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,af))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=Wu(e))?this.query=null:("?"==il(e,0)&&(e=ml(e,1)),this.query="",this.parse(e,cf)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=Wu(e))?("#"==il(e,0)&&(e=ml(e,1)),this.fragment="",this.parse(e,hf)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var lf=function(e){var t=ju(this,ff),r=qu(arguments.length,1)>1?arguments[1]:void 0,n=$u(t,new uf(e,!1,r));ku||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},ff=lf.prototype,df=function(e,t){return{get:function(){return Qu(this)[e]()},set:t&&function(e){return Qu(this)[t](e)},configurable:!0,enumerable:!0}};if(ku&&(xu(ff,"href",df("serialize","setHref")),xu(ff,"origin",df("getOrigin")),xu(ff,"protocol",df("getProtocol","setProtocol")),xu(ff,"username",df("getUsername","setUsername")),xu(ff,"password",df("getPassword","setPassword")),xu(ff,"host",df("getHost","setHost")),xu(ff,"hostname",df("getHostname","setHostname")),xu(ff,"port",df("getPort","setPort")),xu(ff,"pathname",df("getPathname","setPathname")),xu(ff,"search",df("getSearch","setSearch")),xu(ff,"searchParams",df("getSearchParams")),xu(ff,"hash",df("getHash","setHash"))),Fu(ff,"toJSON",(function(){return Qu(this).serialize()}),{enumerable:!0}),Fu(ff,"toString",(function(){return Qu(this).serialize()}),{enumerable:!0}),tl){var gf=tl.createObjectURL,mf=tl.revokeObjectURL;gf&&Fu(lf,"createObjectURL",Uu(gf,tl)),mf&&Fu(lf,"revokeObjectURL",Uu(mf,tl))}Ju(lf,"URL"),Lu({global:!0,constructor:!0,forced:!Mu,sham:!ku},{URL:lf});var pf,yf=K,bf=L,vf=et("match"),Sf=function(e){var t;return yf(e)&&(void 0!==(t=e[vf])?!!t:"RegExp"==bf(e))},wf=s.TypeError,Af=et("match"),Rf=ea,Tf=C,Hf=c.f,Pf=un,Cf=fa,If=function(e){if(Sf(e))throw wf("The method doesn't accept regular expressions");return e},Of=j,Ef=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Af]=!1,"/./"[e](t)}catch(e){}}return!1},Lf=Tf("".startsWith),kf=Tf("".slice),Mf=Math.min,Bf=Ef("startsWith");Rf({target:"String",proto:!0,forced:!!(Bf||(pf=Hf(String.prototype,"startsWith"),!pf||pf.writable))&&!Bf},{startsWith:function(e){var t=Cf(Of(this));If(e);var r=Pf(Mf(arguments.length>1?arguments[1]:void 0,t.length)),n=Cf(e);return Lf?Lf(t,n,r):kf(t,r,r+n.length)===n}});var Uf=g,Df=xe,Ff=Z,xf=ga,jf=RegExp.prototype,Nf=er.PROPER,Gf=$r,_f=Mt,zf=fa,Yf=h,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in jf||Df(e,"flags")||!Ff(jf,e)?t:Uf(xf,e)},Wf="toString",Jf=RegExp.prototype.toString,qf=Yf((function(){return"/a/b"!=Jf.call({source:"a",flags:"b"})})),Vf=Nf&&Jf.name!=Wf;(qf||Vf)&&Gf(RegExp.prototype,Wf,(function(){var e=_f(this);return"/"+zf(e.source)+"/"+zf(Kf(e))}),{unsafe:!0});var Zf={"Asara B'Tevet":"Fast commemorating the siege of Jerusalem",Chanukah:"Hanukkah, the Jewish festival of rededication. Also known as the Festival of Lights","Days of the Omer":"7 weeks from the second night of Pesach to the day before Shavuot","Lag BaOmer":"33rd day of counting the Omer","Leil Selichot":"Prayers for forgiveness in preparation for the High Holidays","Pesach Sheni":"Second Passover, one month after Passover",Pesach:"Passover, the Feast of Unleavened Bread. Also called Chag HaMatzot (the Festival of Matzah), it commemorates the Exodus and freedom of the Israelites from ancient Egypt","Purim Katan":"Minor Purim celebration during Adar I on leap years",Purim:"Celebration of Jewish deliverance as told by Megilat Esther. It commemorates a time when the Jewish people living in Persia were saved from extermination","Rosh Chodesh Nisan":"Start of month of Nisan on the Hebrew calendar. נִיסָן (transliterated Nisan or Nissan) is the 1st month of the Hebrew year, has 30 days, and corresponds to March or April on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Iyyar":"Start of month of Iyyar on the Hebrew calendar. אִיָיר (transliterated Iyyar or Iyar) is the 2nd month of the Hebrew year, has 29 days, and corresponds to April or May on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sivan":"Start of month of Sivan on the Hebrew calendar. Sivan (סִיוָן) is the 3rd month of the Hebrew year, has 30 days, and corresponds to May or June on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tamuz":"Start of month of Tamuz on the Hebrew calendar. תַּמּוּז (transliterated Tamuz or Tammuz) is the 4th month of the Hebrew year, has 29 days, and corresponds to June or July on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Av":"Start of month of Av on the Hebrew calendar. Av (אָב) is the 5th month of the Hebrew year, has 30 days, and corresponds to July or August on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Elul":"Start of month of Elul on the Hebrew calendar. Elul (אֱלוּל) is the 6th month of the Hebrew year, has 29 days, and corresponds to August or September on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Cheshvan":"Start of month of Cheshvan on the Hebrew calendar. חֶשְׁוָן (transliterated Cheshvan or Heshvan) is the 8th month of the Hebrew year, has 29 or 30 days, and corresponds to October or November on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Kislev":"Start of month of Kislev on the Hebrew calendar. Kislev (כִּסְלֵו) is the 9th month of the Hebrew year, has 30 or 29 days, and corresponds to November or December on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Tevet":"Start of month of Tevet on the Hebrew calendar. Tevet (טֵבֵת) is the 10th month of the Hebrew year, has 29 days, and corresponds to December or January on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Sh'vat":"Start of month of Sh'vat on the Hebrew calendar. שְׁבָט (transliterated Sh'vat or Shevat) is the 11th month of the Hebrew year, has 30 days, and corresponds to January or February on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar":"Start of month of Adar on the Hebrew calendar. Adar (אַדָר) is the 12th month of the Hebrew year, has 29 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar I":"Start of month of Adar I (on leap years) on the Hebrew calendar. Adar I (אַדָר א׳) is the 12th month of the Hebrew year, occurs only on leap years, has 30 days, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon","Rosh Chodesh Adar II":'Start of month of Adar II (on leap years) on the Hebrew calendar. Adar II (אַדָר ב׳), sometimes "Adar Bet" or "Adar Sheni", is the 13th month of the Hebrew year, has 29 days, occurs only on leap years, and corresponds to February or March on the Gregorian calendar. רֹאשׁ חוֹדֶשׁ, transliterated Rosh Chodesh or Rosh Hodesh, is a minor holiday that occurs at the beginning of every month in the Hebrew calendar. It is marked by the birth of a new moon',"Rosh Hashana":"The Jewish New Year. Also spelled Rosh Hashanah","Rosh Hashana LaBehemot":"New Year for Tithing Animals","Shabbat Chazon":"Shabbat before Tish'a B'Av (Shabbat of Prophecy/Shabbat of Vision)","Shabbat HaChodesh":"Shabbat before Rosh Chodesh Nissan","Shabbat HaGadol":"Shabbat before Pesach","Shabbat Machar Chodesh":"When Shabbat falls the day before Rosh Chodesh","Shabbat Nachamu":"Shabbat after Tish'a B'Av (Shabbat of Consolation). The first of seven Shabbatot leading up to Rosh Hashanah. Named after the Haftarah (from Isaiah 40) which begins with the verse נַחֲמוּ נַחֲמוּ, עַמִּי (\"Comfort, oh comfort my people\")","Shabbat Parah":"Shabbat of the Red Heifer","Shabbat Rosh Chodesh":"When Shabbat falls on Rosh Chodesh","Shabbat Shekalim":"Shabbat before Rosh Chodesh Adar","Shabbat Shirah":"Shabbat of Song","Shabbat Shuva":"Shabbat that falls between Rosh Hashanah and Yom Kippur (Shabbat of Returning)","Shabbat Zachor":"Shabbat before Purim",Shavuot:"Festival of Weeks. Commemorates the giving of the Torah at Mount Sinai","Shmini Atzeret":"Eighth Day of Assembly","Shushan Purim":"Purim celebrated in Jerusalem and walled cities",Sigd:"Ethiopian Jewish holiday occurring 50 days after Yom Kippur","Simchat Torah":"Day of Celebrating the Torah",Sukkot:"Feast of Booths","Ta'anit Bechorot":"Fast of the First Born","Ta'anit Esther":"Fast of Esther","Tish'a B'Av":"The Ninth of Av. Fast commemorating the destruction of the two Temples","Tu B'Av":"Minor Jewish holiday of love. Observed on the 15th day of the Hebrew month of Av","Tu BiShvat":"New Year for Trees","Tzom Gedaliah":"Fast of the Seventh Month. Commemorates the assassination of the Jewish governor of Judah","Tzom Tammuz":"Fast commemorating breaching of the walls of Jerusalem before the destruction of the Second Temple","Yom HaAliyah":"Recognizes Aliyah, immigration to the Jewish State of Israel","Yom HaAliyah School Observance":"Aliyah Day observed in Israeli schools","Yom HaAtzma'ut":"Israeli Independence Day. Commemorates the declaration of independence of Israel in 1948. Although Yom HaAtzma'ut is normally observed on the 5th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaZikaron, which always precedes it) would conflict with Shabbat","Yom HaShoah":"Holocaust Memorial Day","Yom HaZikaron":"Israeli Memorial Day. Remembers those who died in the War of Independence and other wars in Israel. The full name of the holiday is Yom HaZikaron LeHalalei Ma'arakhot Yisrael ul'Nifge'ei Pe'ulot HaEivah (Hebrew: יוֹם הזִּכָּרוֹן לְחַלְלֵי מַעֲרָכוֹת יִשְׂרָאֵל וּלְנִפְגְעֵי פְּעֻלּוֹת הָאֵיבָה), Memorial Day for the Fallen Soldiers of the Wars of Israel and Victims of Actions of Terrorism. Although Yom Hazikaron is normally observed on the 4th of Iyyar, it may be moved earlier or postponed if observance of the holiday (or Yom HaAtzma'ut, which always follows it) would conflict with Shabbat","Yom Kippur":"Day of Atonement","Yom Yerushalayim":"Jerusalem Day. Commemorates the re-unification of Jerusalem in 1967"},$f={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Democratic Republic of the Congo",CF:"Central African Republic",CG:"Republic of the Congo",CH:"Switzerland",CI:"Ivory Coast",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FO:"Faroe Islands",FR:"France",GA:"Gabon",GB:"United Kingdom",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MD:"Moldova",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MP:"Northern Mariana Islands",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PR:"Puerto Rico",PT:"Portugal",PY:"Paraguay",QA:"Qatar",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"Sao Tome and Principe",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TM:"Turkmenistan",TN:"Tunisia",TR:"Turkey",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"Saint Vincent and the Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe"};function Qf(e){if("object"==typeof e&&null!==e&&"string"==typeof e.name){const t={title:e.getName(),city:e.getShortName(),tzid:e.getTzid(),latitude:e.getLatitude(),longitude:e.getLongitude(),cc:e.getCountryCode(),country:$f[e.getCountryCode()]};return["admin1","asciiname","geo","zip","state","stateName","geonameid"].forEach((r=>{e[r]&&(t[r]=e[r])})),t}return{geo:"none"}}function Xf(e){return e.toLowerCase().replace(/'/g,"").replace(/[^\w]/g,"-").replace(/-+/g,"-").replace(/^-/g,"").replace(/-$/g,"")}function ed(e){return e<10?"0"+e:String(e)}function td(e){return e<0?"-00"+td(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function rd(e){return td(e.getFullYear())+"-"+ed(e.getMonth()+1)+"-"+ed(e.getDate())}function nd(e){const r=e.getDesc();if("Fast begins"===r||"Fast ends"===r)return["zmanim","fast"];switch(e.getFlags()){case t.flags.OMER_COUNT:return["omer"];case t.flags.HEBREW_DATE:return["hebdate"];case t.flags.PARSHA_HASHAVUA:return["parashat"];case t.flags.DAF_YOMI:return["dafyomi"];case t.flags.ROSH_CHODESH:return["roshchodesh"];case t.flags.SPECIAL_SHABBAT:return["holiday","shabbat"];case t.flags.MINOR_FAST:return["holiday","fast"];case t.flags.MAJOR_FAST:return["holiday","fast","major"];case t.flags.MODERN_HOLIDAY:return["holiday","modern"];case t.flags.SHABBAT_MEVARCHIM:return["mevarchim"];case t.flags.MOLAD:return["molad"];case t.flags.USER_EVENT:return["user"];case t.flags.MINOR_HOLIDAY:return["holiday","minor"];case t.flags.MISHNA_YOMI:return["mishnayomi"]}if(e.cholHaMoedDay)return["holiday","major","cholhamoed"];switch(r){case"Havdalah":return["havdalah"];case"Candle lighting":return["candles"];case"Lag BaOmer":case"Leil Selichot":case"Pesach Sheni":case"Erev Purim":case"Purim Katan":case"Shushan Purim":case"Tu B'Av":case"Tu BiShvat":case"Rosh Hashana LaBehemot":return["holiday","minor"];case"Erev Tish'a B'Av":return["holiday","fast","major"];default:return["holiday","major"]}}function ad(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 od(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=Zf[e.getDesc()]||Zf[e.basename()]||"";if(t&&r){const e=r.indexOf(".");if(-1!=e)return r.substring(0,e)}return r}const id=t.flags.DAF_YOMI|t.flags.OMER_COUNT|t.flags.SHABBAT_MEVARCHIM|t.flags.MOLAD|t.flags.USER_EVENT|t.flags.HEBREW_DATE;function sd(e,r){const n=e.getFlags();if(n&id)return"";const o=n&t.flags.PARSHA_HASHAVUA?a.getLeyningForParshaHaShavua(e,r):a.getLeyningForHoliday(e,r);let i="";return o&&(o.summary||o.haftara)&&(o.summary&&(i+="Torah: ".concat(o.summary)),o.summary&&o.haftara&&(i+="\n"),o.haftara&&(i+="Haftarah: "+o.haftara,o.reason&&o.reason.haftara&&(i+=" | "+o.reason.haftara))),o&&o.sephardic&&(i+="\nHaftarah for Sephardim: "+o.sephardic),i}function cd(e,t,r,n,a){const o=new URL(e),i="www.hebcal.com"===o.host;if(i){t&&o.searchParams.set("i","on");const e=o.pathname,i=e.startsWith("/holidays/"),s=e.startsWith("/sedrot/"),c=e.startsWith("/omer/");if(i||s||c)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 hd(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)}const ud='"Subject","Start Date","Start Time","End Date","End Time","All day event","Description","Show time as","Location"',ld={dafyomi:"Daf Yomi",hebdate:"Hebrew Date",holiday:"Jewish Holidays",mevarchim:null,molad:null,omer:null,parashat:"Torah Reading",roshchodesh:"Jewish Holidays",user:"Personal"};function fd(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 c="",h="",u="",l='"true"';const f=Boolean(e.eventTime);let d=hd(e)?e.renderBrief(r.locale):e.render(r.locale);if(e.eventTime){const n=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr," PM",r);h=c='"'.concat(n,'"'),u=s,l='"false"'}let g="Jewish Holidays";const m=e.getFlags();if(f&&r.location&&r.location.name){const e=r.location.name,t=e.indexOf(",");g=-1===t?e:e.substring(0,t)}else if(m&t.flags.DAF_YOMI){const e=d.indexOf(": ");-1!=e&&(g=d.substring(0,e),d=d.substring(e+2))}else{const t=ld[nd(e)[0]];t&&(g=t)}if(d=d.replace(/,/g,"").replace(/"/g,"''"),r.appendHebrewToSubject){const t=e.renderBrief("he");t&&(d+=" / ".concat(t))}let p=e.memo||od(e,!0);p||void 0===e.linkedEvent||(p=e.linkedEvent.render(r.locale));const y=p.replace(/,/g,";").replace(/"/g,"''"),b=f||m&t.flags.CHAG?4:3;return'"'.concat(d,'",').concat(s,",").concat(c,",").concat(u,",").concat(h,",").concat(l,',"').concat(y,'","').concat(b,'","').concat(g,'"')}function dd(e){return rd(e.getDate().greg())}function gd(e,r){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o=Boolean(e.eventTime),i=e.getDate(),s=i.greg(),c="object"==typeof r.location?r.location.getTzid():"UTC",h=o?t.Zmanim.formatISOWithTimeZone(c,e.eventTime):rd(s),u=nd(e),l=e.getFlags();let f=hd(e)?e.renderBrief(r.locale):e.render(r.locale);const d=e.getDesc(),g="Havdalah"===d||"Candle lighting"===d;if(g){f+=": "+t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",r)}const m={title:f,date:h};o||(m.hdate=i.toString()),m.category=u[0],u.length>1&&(m.subcat=u[1]),"holiday"===u[0]&&l&t.flags.CHAG&&(m.yomtov=!0),f!=d&&(m.title_orig=d);const p=e.renderBrief("he");if(p&&(m.hebrew=t.Locale.hebrewStripNikkud(p)),!g){if(n){const n=r.il,o=l===t.flags.PARSHA_HASHAVUA,s=o?a.getLeyningForParshaHaShavua(e,n):a.getLeyningForHoliday(e,n);if(s){m.leyning=pd(s);const t=i.getFullYear();if(o&&!n&&t>=5745&&t<=5830){const t=a.getTriennialForParshaHaShavua(e);t&&(m.leyning.triennial=md({},t))}}}const o=e.url();if(o){const e=r.utmSource||"js",t=r.utmMedium||"api",n=r.utmCampaign;m.link=cd(o,r.il,e,t,n)}}l&t.flags.OMER_COUNT&&(m.omer={count:{he:e.getTodayIs("he"),en:e.getTodayIs("en")},sefira:{he:e.sefira("he"),translit:e.sefira("translit"),en:e.sefira("en")}});const y=e.memo||Zf[e.basename()];return y?m.memo=y:void 0!==e.linkedEvent&&(m.memo=e.linkedEvent.render(r.locale)),r.includeEvent&&(m.ev=e),m}function md(e,t){return Object.keys(t).forEach((r=>{const n=t[r];if(void 0!==n){e["M"==r?"maftir":r]=a.formatAliyahWithBook(n)}})),e}function pd(e){const t={};return e.summary&&(t.torah=e.summary),e.haftara&&(t.haftarah=e.haftara),e.sephardic&&(t.haftarah_sephardic=e.sephardic),e.fullkriyah&&md(t,e.fullkriyah),e.reason&&(["7","8","M"].forEach((r=>{if(e.reason[r]){t["M"==r?"maftir":r]+=" | "+e.reason[r]}})),e.reason.haftara&&(t.haftarah+=" | "+e.reason.haftara)),t}const yd={s:"en",a:"en","he-x-NoNikud":"he",h:"he",ah:"en",sh:"en"};function bd(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||ad(e,t),c=t.description||s,h=t.utmSource||"shabbat1c",u=t.utmMedium||"rss",l=cd(n,r&&r.getIsrael(),h,u,t.utmCampaign).replace(/&/g,"&"),f=t.selfUrl.replace(/&/g,"&"),d=t.lang||yd[t.locale]||t.locale||"en-US";let g='<?xml version="1.0" encoding="UTF-8"?>\n<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:atom="http://www.w3.org/2005/Atom">\n<channel>\n<title>'.concat(s,"</title>\n<link>").concat(l,'</link>\n<atom:link href="').concat(f,'" rel="self" type="application/rss+xml" />\n<description>').concat(c,"</description>\n<language>").concat(d,"</language>\n<copyright>Copyright (c) ").concat(o," Michael J. Radwin. All rights reserved.</copyright>\n<lastBuildDate>").concat(i,"</lastBuildDate>\n");return e.forEach((e=>{g+=vd(e,t)})),g+="</channel>\n</rss>\n",g}function vd(e,t){return Sd(e,t.evPubDate,t.lastBuildDate,t.dayFormat,t.location,t.mainUrl,t)}function Sd(e,r,n,a,o,i,s){let c=e.render();const h=e.getDate().greg(),u=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,h,n),l=!!o&&o.getIsrael(),f=function(e,r,n,a,o,i){let s,c;const h=e.eventTime||e.getDate().greg(),u=t.Zmanim.formatISOWithTimeZone(n,h),l=u.substring(0,u.indexOf("T")),f=l.replace(/-/g,""),d=Xf(e.getDesc()),g="".concat(f,"-").concat(d),m=e.url();if(m)s=cd(m,r,o,i).replace(/&/g,"&"),c="".concat(m,"#").concat(g);else{const e="".concat(a,"&dt=").concat(l),t=cd(e,r,o,i).replace(/&/g,"&");c=e.replace(/&/g,"&")+"#".concat(g),s="".concat(t,"#").concat(g)}return[s,c]}(e,l,o?o.getTzid():"UTC",i,s&&s.utmSource||"shabbat1c",s&&s.utmMedium||"rss"),d=f[0],g=f[1],m=nd(e)[0],p=e.getDesc();let y;if("Havdalah"===p||"Candle lighting"===p){const r=c.indexOf(": ");if(-1!=r){const n={location:o,il:l,locale:t.Locale.getLocaleName()},a=t.HebrewCalendar.reformatTimeStr(e.eventTimeStr,"pm",n);c=c.substring(0,r)+": "+a}}else y=e.getFlags()&t.flags.PARSHA_HASHAVUA?sd(e,l):e.memo||Zf[e.basename()];const b=y||a.format(h),v="candles"==m?"<geo:lat>".concat(o.getLatitude(),"</geo:lat>\n<geo:long>").concat(o.getLongitude(),"</geo:long>\n"):"";return"<item>\n<title>".concat(c,"</title>\n<link>").concat(d,'</link>\n<guid isPermaLink="false">').concat(g,"</guid>\n<description>").concat(b,"</description>\n<category>").concat(m,"</category>\n<pubDate>").concat(u,"</pubDate>\n").concat(v,"</item>\n")}return e.appendIsraelAndTracking=cd,e.countryNames=$f,e.eventToClassicApiObject=gd,e.eventToCsv=fd,e.eventToFullCalendar=function(e,r,n){const a=nd(e),o=e.getFlags();"holiday"==a[0]&&o&t.flags.CHAG&&a.push("yomtov");const i=Boolean(e.eventTime),s={title:hd(e)?e.renderBrief():e.render(),start:i?t.Zmanim.formatISOWithTimeZone(r,e.eventTime):rd(e.getDate().greg()),allDay:!i,className:a.join(" ")},c=e.renderBrief("he");c&&(s.hebrew=t.Locale.hebrewStripNikkud(c));const h=e.url();h&&(s.url=cd(h,n,"js","fc"));const u=e.getDesc();if(!("Havdalah"===u||"Candle lighting"===u)){const r=o&t.flags.PARSHA_HASHAVUA?sd(e,n):e.memo||Zf[e.basename()];r?s.description=r:void 0!==e.linkedEvent&&(s.description=e.linkedEvent.render())}return s},e.eventToRssItem=Sd,e.eventToRssItem2=vd,e.eventsToClassicApi=function(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const n={title:ad(e,t),date:(new Date).toISOString()};return n.location=Qf(t.location),e.length&&(n.range={start:dd(e[0]),end:dd(e[e.length-1])}),n.items=e.map((e=>gd(e,t,r))),n},e.eventsToCsv=function(e,t){return[ud].concat(e.map((e=>fd(e,t)))).join("\r\n")+"\r\n"},e.eventsToRss=function(e,r,n,a){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"en-US",i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const s=r.getName(),c={location:r,mainUrl:n,selfUrl:a,lang:o,evPubDate:i,title:t.Locale.gettext("Shabbat")+" Times for ".concat(s),description:"Weekly Shabbat candle lighting times for ".concat(s),utmSource:"shabbat1c",utmMedium:"rss"};return bd(e,c)},e.eventsToRss2=bd,e.getCalendarTitle=ad,e.getDownloadFilename=function(e){let t="hebcal_"+e.year;if(e.isHebrewYear&&(t+="h"),e.month&&(t+="_"+e.month),e.location){t+="_"+Xf(e.location.zip||e.location.asciiname||e.location.getShortName()).replace(/[-]/g,"_")}return t},e.getEventCategories=nd,e.getHolidayDescription=od,e.holidayDescription=Zf,e.locationToPlainObj=Qf,e.makeAnchor=Xf,e.makeTorahMemoText=sd,e.pad2=ed,e.pad4=td,e.renderTitleWithoutTime=function(e){return void 0===e.eventTime?e.render():e.renderBrief()},e.shouldRenderBrief=hd,e.timeZoneOffsetStr=function(e,r){return t.Zmanim.timeZoneOffset(e,r)},e.toISOString=rd,e.toISOStringWithTimezone=function(e,r,n){const a=rd(e);return r?a+"T"+r+":00"+t.Zmanim.timeZoneOffset(n,e):a},Object.defineProperty(e,"__esModule",{value:!0}),e}({},hebcal);
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
1
|
+
/*! @hebcal/rest-api v3.18.0 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -686,6 +686,10 @@ function eventToClassicApiObject(ev, options, leyning = true) {
|
|
|
686
686
|
result.memo = ev.linkedEvent.render(options.locale);
|
|
687
687
|
}
|
|
688
688
|
|
|
689
|
+
if (options.includeEvent) {
|
|
690
|
+
result.ev = ev;
|
|
691
|
+
}
|
|
692
|
+
|
|
689
693
|
return result;
|
|
690
694
|
}
|
|
691
695
|
/**
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/rest-api v3.
|
|
1
|
+
/*! @hebcal/rest-api v3.18.0 */
|
|
2
2
|
import { flags, Zmanim, HebrewCalendar, Locale } from '@hebcal/core';
|
|
3
3
|
import * as leyn from '@hebcal/leyning';
|
|
4
4
|
|
|
@@ -662,6 +662,10 @@ function eventToClassicApiObject(ev, options, leyning = true) {
|
|
|
662
662
|
result.memo = ev.linkedEvent.render(options.locale);
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
+
if (options.includeEvent) {
|
|
666
|
+
result.ev = ev;
|
|
667
|
+
}
|
|
668
|
+
|
|
665
669
|
return result;
|
|
666
670
|
}
|
|
667
671
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/rest-api",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -43,20 +43,20 @@
|
|
|
43
43
|
"verbose": true
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@babel/core": "^7.
|
|
47
|
-
"@babel/preset-env": "^7.
|
|
46
|
+
"@babel/core": "^7.18.2",
|
|
47
|
+
"@babel/preset-env": "^7.18.2",
|
|
48
48
|
"@babel/register": "^7.17.7",
|
|
49
49
|
"@rollup/plugin-babel": "^5.3.1",
|
|
50
50
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
51
51
|
"@rollup/plugin-json": "^4.1.0",
|
|
52
52
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
53
53
|
"ava": "^4.2.0",
|
|
54
|
-
"core-js": "^3.22.
|
|
55
|
-
"eslint": "^8.
|
|
54
|
+
"core-js": "^3.22.7",
|
|
55
|
+
"eslint": "^8.16.0",
|
|
56
56
|
"eslint-config-google": "^0.14.0",
|
|
57
57
|
"jsdoc": "^3.6.10",
|
|
58
58
|
"jsdoc-to-markdown": "^7.1.1",
|
|
59
|
-
"rollup": "^2.
|
|
59
|
+
"rollup": "^2.75.3",
|
|
60
60
|
"rollup-plugin-terser": "^7.0.2"
|
|
61
61
|
}
|
|
62
62
|
}
|