@hebcal/core 3.36.2 → 3.37.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 +332 -153
- package/dist/bundle.min.js +2 -2
- package/dist/hdate-bundle.js +2 -2
- package/dist/hdate-bundle.min.js +2 -2
- package/dist/hdate.js +2 -2
- package/dist/hdate.mjs +2 -2
- package/dist/index.js +94 -5
- package/dist/index.mjs +94 -5
- package/package.json +11 -9
package/dist/bundle.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/core v3.
|
|
1
|
+
/*! @hebcal/core v3.37.0 */
|
|
2
2
|
var hebcal = (function (exports) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -604,7 +604,7 @@ var global$r =
|
|
|
604
604
|
|
|
605
605
|
var objectGetOwnPropertyDescriptor = {};
|
|
606
606
|
|
|
607
|
-
var fails$
|
|
607
|
+
var fails$c = function (exec) {
|
|
608
608
|
try {
|
|
609
609
|
return !!exec();
|
|
610
610
|
} catch (error) {
|
|
@@ -612,17 +612,17 @@ var fails$a = function (exec) {
|
|
|
612
612
|
}
|
|
613
613
|
};
|
|
614
614
|
|
|
615
|
-
var fails$
|
|
615
|
+
var fails$b = fails$c;
|
|
616
616
|
|
|
617
617
|
// Detect IE8's incomplete defineProperty implementation
|
|
618
|
-
var descriptors = !fails$
|
|
618
|
+
var descriptors = !fails$b(function () {
|
|
619
619
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
620
620
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
var fails$
|
|
623
|
+
var fails$a = fails$c;
|
|
624
624
|
|
|
625
|
-
var functionBindNative = !fails$
|
|
625
|
+
var functionBindNative = !fails$a(function () {
|
|
626
626
|
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
627
627
|
var test = (function () { /* empty */ }).bind();
|
|
628
628
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -667,35 +667,35 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
667
667
|
var FunctionPrototype$1 = Function.prototype;
|
|
668
668
|
var bind$2 = FunctionPrototype$1.bind;
|
|
669
669
|
var call$6 = FunctionPrototype$1.call;
|
|
670
|
-
var uncurryThis$
|
|
670
|
+
var uncurryThis$e = NATIVE_BIND$1 && bind$2.bind(call$6, call$6);
|
|
671
671
|
|
|
672
672
|
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
673
|
-
return fn && uncurryThis$
|
|
673
|
+
return fn && uncurryThis$e(fn);
|
|
674
674
|
} : function (fn) {
|
|
675
675
|
return fn && function () {
|
|
676
676
|
return call$6.apply(fn, arguments);
|
|
677
677
|
};
|
|
678
678
|
};
|
|
679
679
|
|
|
680
|
-
var uncurryThis$
|
|
680
|
+
var uncurryThis$d = functionUncurryThis;
|
|
681
681
|
|
|
682
|
-
var toString$
|
|
683
|
-
var stringSlice = uncurryThis$
|
|
682
|
+
var toString$4 = uncurryThis$d({}.toString);
|
|
683
|
+
var stringSlice = uncurryThis$d(''.slice);
|
|
684
684
|
|
|
685
685
|
var classofRaw$1 = function (it) {
|
|
686
|
-
return stringSlice(toString$
|
|
686
|
+
return stringSlice(toString$4(it), 8, -1);
|
|
687
687
|
};
|
|
688
688
|
|
|
689
689
|
var global$q = global$r;
|
|
690
|
-
var uncurryThis$
|
|
691
|
-
var fails$
|
|
690
|
+
var uncurryThis$c = functionUncurryThis;
|
|
691
|
+
var fails$9 = fails$c;
|
|
692
692
|
var classof$4 = classofRaw$1;
|
|
693
693
|
|
|
694
694
|
var Object$4 = global$q.Object;
|
|
695
|
-
var split = uncurryThis$
|
|
695
|
+
var split = uncurryThis$c(''.split);
|
|
696
696
|
|
|
697
697
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
698
|
-
var indexedObject = fails$
|
|
698
|
+
var indexedObject = fails$9(function () {
|
|
699
699
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
700
700
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
701
701
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
@@ -709,45 +709,45 @@ var TypeError$8 = global$p.TypeError;
|
|
|
709
709
|
|
|
710
710
|
// `RequireObjectCoercible` abstract operation
|
|
711
711
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
712
|
-
var requireObjectCoercible$
|
|
712
|
+
var requireObjectCoercible$3 = function (it) {
|
|
713
713
|
if (it == undefined) throw TypeError$8("Can't call method on " + it);
|
|
714
714
|
return it;
|
|
715
715
|
};
|
|
716
716
|
|
|
717
717
|
// toObject with fallback for non-array-like ES3 strings
|
|
718
718
|
var IndexedObject = indexedObject;
|
|
719
|
-
var requireObjectCoercible$
|
|
719
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
720
720
|
|
|
721
721
|
var toIndexedObject$3 = function (it) {
|
|
722
|
-
return IndexedObject(requireObjectCoercible$
|
|
722
|
+
return IndexedObject(requireObjectCoercible$2(it));
|
|
723
723
|
};
|
|
724
724
|
|
|
725
725
|
// `IsCallable` abstract operation
|
|
726
726
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
727
|
-
var isCallable$
|
|
727
|
+
var isCallable$c = function (argument) {
|
|
728
728
|
return typeof argument == 'function';
|
|
729
729
|
};
|
|
730
730
|
|
|
731
|
-
var isCallable$
|
|
731
|
+
var isCallable$b = isCallable$c;
|
|
732
732
|
|
|
733
733
|
var isObject$5 = function (it) {
|
|
734
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
734
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
|
735
735
|
};
|
|
736
736
|
|
|
737
737
|
var global$o = global$r;
|
|
738
|
-
var isCallable$
|
|
738
|
+
var isCallable$a = isCallable$c;
|
|
739
739
|
|
|
740
740
|
var aFunction = function (argument) {
|
|
741
|
-
return isCallable$
|
|
741
|
+
return isCallable$a(argument) ? argument : undefined;
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
var getBuiltIn$4 = function (namespace, method) {
|
|
745
745
|
return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
|
|
746
746
|
};
|
|
747
747
|
|
|
748
|
-
var uncurryThis$
|
|
748
|
+
var uncurryThis$b = functionUncurryThis;
|
|
749
749
|
|
|
750
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
750
|
+
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
751
751
|
|
|
752
752
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
753
753
|
|
|
@@ -784,10 +784,10 @@ var engineV8Version = version$1;
|
|
|
784
784
|
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
785
785
|
|
|
786
786
|
var V8_VERSION = engineV8Version;
|
|
787
|
-
var fails$
|
|
787
|
+
var fails$8 = fails$c;
|
|
788
788
|
|
|
789
789
|
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
790
|
-
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$
|
|
790
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$8(function () {
|
|
791
791
|
var symbol = Symbol();
|
|
792
792
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
793
793
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -806,7 +806,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
806
806
|
|
|
807
807
|
var global$m = global$r;
|
|
808
808
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
809
|
-
var isCallable$
|
|
809
|
+
var isCallable$9 = isCallable$c;
|
|
810
810
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
811
811
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
812
812
|
|
|
@@ -816,7 +816,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
816
816
|
return typeof it == 'symbol';
|
|
817
817
|
} : function (it) {
|
|
818
818
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
819
|
-
return isCallable$
|
|
819
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
820
820
|
};
|
|
821
821
|
|
|
822
822
|
var global$l = global$r;
|
|
@@ -832,14 +832,14 @@ var tryToString$2 = function (argument) {
|
|
|
832
832
|
};
|
|
833
833
|
|
|
834
834
|
var global$k = global$r;
|
|
835
|
-
var isCallable$
|
|
835
|
+
var isCallable$8 = isCallable$c;
|
|
836
836
|
var tryToString$1 = tryToString$2;
|
|
837
837
|
|
|
838
838
|
var TypeError$7 = global$k.TypeError;
|
|
839
839
|
|
|
840
840
|
// `Assert: IsCallable(argument) is true`
|
|
841
841
|
var aCallable$4 = function (argument) {
|
|
842
|
-
if (isCallable$
|
|
842
|
+
if (isCallable$8(argument)) return argument;
|
|
843
843
|
throw TypeError$7(tryToString$1(argument) + ' is not a function');
|
|
844
844
|
};
|
|
845
845
|
|
|
@@ -854,7 +854,7 @@ var getMethod$3 = function (V, P) {
|
|
|
854
854
|
|
|
855
855
|
var global$j = global$r;
|
|
856
856
|
var call$5 = functionCall;
|
|
857
|
-
var isCallable$
|
|
857
|
+
var isCallable$7 = isCallable$c;
|
|
858
858
|
var isObject$4 = isObject$5;
|
|
859
859
|
|
|
860
860
|
var TypeError$6 = global$j.TypeError;
|
|
@@ -863,9 +863,9 @@ var TypeError$6 = global$j.TypeError;
|
|
|
863
863
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
864
864
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
865
865
|
var fn, val;
|
|
866
|
-
if (pref === 'string' && isCallable$
|
|
867
|
-
if (isCallable$
|
|
868
|
-
if (pref !== 'string' && isCallable$
|
|
866
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$5(fn, input))) return val;
|
|
867
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$4(val = call$5(fn, input))) return val;
|
|
868
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$5(fn, input))) return val;
|
|
869
869
|
throw TypeError$6("Can't convert object to primitive value");
|
|
870
870
|
};
|
|
871
871
|
|
|
@@ -874,11 +874,11 @@ var shared$3 = {exports: {}};
|
|
|
874
874
|
var global$i = global$r;
|
|
875
875
|
|
|
876
876
|
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
877
|
-
var defineProperty = Object.defineProperty;
|
|
877
|
+
var defineProperty$1 = Object.defineProperty;
|
|
878
878
|
|
|
879
879
|
var setGlobal$3 = function (key, value) {
|
|
880
880
|
try {
|
|
881
|
-
defineProperty(global$i, key, { value: value, configurable: true, writable: true });
|
|
881
|
+
defineProperty$1(global$i, key, { value: value, configurable: true, writable: true });
|
|
882
882
|
} catch (error) {
|
|
883
883
|
global$i[key] = value;
|
|
884
884
|
} return value;
|
|
@@ -897,28 +897,28 @@ var store$2 = sharedStore;
|
|
|
897
897
|
(shared$3.exports = function (key, value) {
|
|
898
898
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
899
899
|
})('versions', []).push({
|
|
900
|
-
version: '3.22.
|
|
900
|
+
version: '3.22.5',
|
|
901
901
|
mode: 'global',
|
|
902
902
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
903
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.22.
|
|
903
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
|
|
904
904
|
source: 'https://github.com/zloirock/core-js'
|
|
905
905
|
});
|
|
906
906
|
|
|
907
907
|
var global$g = global$r;
|
|
908
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
908
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
909
909
|
|
|
910
910
|
var Object$2 = global$g.Object;
|
|
911
911
|
|
|
912
912
|
// `ToObject` abstract operation
|
|
913
913
|
// https://tc39.es/ecma262/#sec-toobject
|
|
914
914
|
var toObject$3 = function (argument) {
|
|
915
|
-
return Object$2(requireObjectCoercible(argument));
|
|
915
|
+
return Object$2(requireObjectCoercible$1(argument));
|
|
916
916
|
};
|
|
917
917
|
|
|
918
|
-
var uncurryThis$
|
|
918
|
+
var uncurryThis$a = functionUncurryThis;
|
|
919
919
|
var toObject$2 = toObject$3;
|
|
920
920
|
|
|
921
|
-
var hasOwnProperty = uncurryThis$
|
|
921
|
+
var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
|
|
922
922
|
|
|
923
923
|
// `HasOwnProperty` abstract operation
|
|
924
924
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -927,14 +927,14 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
927
927
|
return hasOwnProperty(toObject$2(it), key);
|
|
928
928
|
};
|
|
929
929
|
|
|
930
|
-
var uncurryThis$
|
|
930
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
931
931
|
|
|
932
932
|
var id$1 = 0;
|
|
933
933
|
var postfix = Math.random();
|
|
934
|
-
var toString$
|
|
934
|
+
var toString$3 = uncurryThis$9(1.0.toString);
|
|
935
935
|
|
|
936
936
|
var uid$2 = function (key) {
|
|
937
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
937
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id$1 + postfix, 36);
|
|
938
938
|
};
|
|
939
939
|
|
|
940
940
|
var global$f = global$r;
|
|
@@ -1010,19 +1010,19 @@ var documentCreateElement = function (it) {
|
|
|
1010
1010
|
return EXISTS$1 ? document.createElement(it) : {};
|
|
1011
1011
|
};
|
|
1012
1012
|
|
|
1013
|
-
var DESCRIPTORS$
|
|
1014
|
-
var fails$
|
|
1013
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1014
|
+
var fails$7 = fails$c;
|
|
1015
1015
|
var createElement = documentCreateElement;
|
|
1016
1016
|
|
|
1017
1017
|
// Thanks to IE8 for its funny defineProperty
|
|
1018
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
1018
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$7(function () {
|
|
1019
1019
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1020
1020
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
1021
1021
|
get: function () { return 7; }
|
|
1022
1022
|
}).a != 7;
|
|
1023
1023
|
});
|
|
1024
1024
|
|
|
1025
|
-
var DESCRIPTORS$
|
|
1025
|
+
var DESCRIPTORS$5 = descriptors;
|
|
1026
1026
|
var call$3 = functionCall;
|
|
1027
1027
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1028
1028
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
@@ -1036,7 +1036,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
1036
1036
|
|
|
1037
1037
|
// `Object.getOwnPropertyDescriptor` method
|
|
1038
1038
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
1039
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
1039
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
1040
1040
|
O = toIndexedObject$2(O);
|
|
1041
1041
|
P = toPropertyKey$2(P);
|
|
1042
1042
|
if (IE8_DOM_DEFINE$1) try {
|
|
@@ -1047,12 +1047,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor$1 :
|
|
|
1047
1047
|
|
|
1048
1048
|
var objectDefineProperty = {};
|
|
1049
1049
|
|
|
1050
|
-
var DESCRIPTORS$
|
|
1051
|
-
var fails$
|
|
1050
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1051
|
+
var fails$6 = fails$c;
|
|
1052
1052
|
|
|
1053
1053
|
// V8 ~ Chrome 36-
|
|
1054
1054
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
1055
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
1055
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$6(function () {
|
|
1056
1056
|
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1057
1057
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
1058
1058
|
value: 42,
|
|
@@ -1073,7 +1073,7 @@ var anObject$5 = function (argument) {
|
|
|
1073
1073
|
};
|
|
1074
1074
|
|
|
1075
1075
|
var global$b = global$r;
|
|
1076
|
-
var DESCRIPTORS$
|
|
1076
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1077
1077
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1078
1078
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1079
1079
|
var anObject$4 = anObject$5;
|
|
@@ -1090,7 +1090,7 @@ var WRITABLE = 'writable';
|
|
|
1090
1090
|
|
|
1091
1091
|
// `Object.defineProperty` method
|
|
1092
1092
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1093
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
1093
|
+
objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
1094
1094
|
anObject$4(O);
|
|
1095
1095
|
P = toPropertyKey$1(P);
|
|
1096
1096
|
anObject$4(Attributes);
|
|
@@ -1117,27 +1117,45 @@ objectDefineProperty.f = DESCRIPTORS$2 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
|
1117
1117
|
return O;
|
|
1118
1118
|
};
|
|
1119
1119
|
|
|
1120
|
-
var DESCRIPTORS$
|
|
1120
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1121
1121
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1122
1122
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
1123
1123
|
|
|
1124
|
-
var createNonEnumerableProperty$3 = DESCRIPTORS$
|
|
1124
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
1125
1125
|
return definePropertyModule$2.f(object, key, createPropertyDescriptor$1(1, value));
|
|
1126
1126
|
} : function (object, key, value) {
|
|
1127
1127
|
object[key] = value;
|
|
1128
1128
|
return object;
|
|
1129
1129
|
};
|
|
1130
1130
|
|
|
1131
|
-
var
|
|
1131
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
1132
1132
|
|
|
1133
|
-
var
|
|
1134
|
-
var
|
|
1133
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1134
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1135
|
+
|
|
1136
|
+
var FunctionPrototype = Function.prototype;
|
|
1137
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
1138
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
1139
|
+
|
|
1140
|
+
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
1141
|
+
// additional protection from minified / mangled / dropped function names
|
|
1142
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
1143
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1144
|
+
|
|
1145
|
+
var functionName = {
|
|
1146
|
+
EXISTS: EXISTS,
|
|
1147
|
+
PROPER: PROPER,
|
|
1148
|
+
CONFIGURABLE: CONFIGURABLE
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1152
|
+
var isCallable$6 = isCallable$c;
|
|
1135
1153
|
var store$1 = sharedStore;
|
|
1136
1154
|
|
|
1137
|
-
var functionToString = uncurryThis$
|
|
1155
|
+
var functionToString = uncurryThis$8(Function.toString);
|
|
1138
1156
|
|
|
1139
1157
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1140
|
-
if (!isCallable$
|
|
1158
|
+
if (!isCallable$6(store$1.inspectSource)) {
|
|
1141
1159
|
store$1.inspectSource = function (it) {
|
|
1142
1160
|
return functionToString(it);
|
|
1143
1161
|
};
|
|
@@ -1146,12 +1164,12 @@ if (!isCallable$5(store$1.inspectSource)) {
|
|
|
1146
1164
|
var inspectSource$3 = store$1.inspectSource;
|
|
1147
1165
|
|
|
1148
1166
|
var global$a = global$r;
|
|
1149
|
-
var isCallable$
|
|
1167
|
+
var isCallable$5 = isCallable$c;
|
|
1150
1168
|
var inspectSource$2 = inspectSource$3;
|
|
1151
1169
|
|
|
1152
1170
|
var WeakMap$1 = global$a.WeakMap;
|
|
1153
1171
|
|
|
1154
|
-
var nativeWeakMap = isCallable$
|
|
1172
|
+
var nativeWeakMap = isCallable$5(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
1155
1173
|
|
|
1156
1174
|
var shared$1 = shared$3.exports;
|
|
1157
1175
|
var uid = uid$2;
|
|
@@ -1166,10 +1184,10 @@ var hiddenKeys$3 = {};
|
|
|
1166
1184
|
|
|
1167
1185
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
1168
1186
|
var global$9 = global$r;
|
|
1169
|
-
var uncurryThis$
|
|
1187
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1170
1188
|
var isObject = isObject$5;
|
|
1171
1189
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
1172
|
-
var hasOwn$
|
|
1190
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1173
1191
|
var shared = sharedStore;
|
|
1174
1192
|
var sharedKey = sharedKey$1;
|
|
1175
1193
|
var hiddenKeys$2 = hiddenKeys$3;
|
|
@@ -1194,9 +1212,9 @@ var getterFor = function (TYPE) {
|
|
|
1194
1212
|
|
|
1195
1213
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
1196
1214
|
var store = shared.state || (shared.state = new WeakMap());
|
|
1197
|
-
var wmget = uncurryThis$
|
|
1198
|
-
var wmhas = uncurryThis$
|
|
1199
|
-
var wmset = uncurryThis$
|
|
1215
|
+
var wmget = uncurryThis$7(store.get);
|
|
1216
|
+
var wmhas = uncurryThis$7(store.has);
|
|
1217
|
+
var wmset = uncurryThis$7(store.set);
|
|
1200
1218
|
set = function (it, metadata) {
|
|
1201
1219
|
if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
1202
1220
|
metadata.facade = it;
|
|
@@ -1213,16 +1231,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
1213
1231
|
var STATE = sharedKey('state');
|
|
1214
1232
|
hiddenKeys$2[STATE] = true;
|
|
1215
1233
|
set = function (it, metadata) {
|
|
1216
|
-
if (hasOwn$
|
|
1234
|
+
if (hasOwn$3(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
1217
1235
|
metadata.facade = it;
|
|
1218
1236
|
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
1219
1237
|
return metadata;
|
|
1220
1238
|
};
|
|
1221
1239
|
get = function (it) {
|
|
1222
|
-
return hasOwn$
|
|
1240
|
+
return hasOwn$3(it, STATE) ? it[STATE] : {};
|
|
1223
1241
|
};
|
|
1224
1242
|
has = function (it) {
|
|
1225
|
-
return hasOwn$
|
|
1243
|
+
return hasOwn$3(it, STATE);
|
|
1226
1244
|
};
|
|
1227
1245
|
}
|
|
1228
1246
|
|
|
@@ -1234,59 +1252,70 @@ var internalState = {
|
|
|
1234
1252
|
getterFor: getterFor
|
|
1235
1253
|
};
|
|
1236
1254
|
|
|
1255
|
+
var fails$5 = fails$c;
|
|
1256
|
+
var isCallable$4 = isCallable$c;
|
|
1257
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1237
1258
|
var DESCRIPTORS = descriptors;
|
|
1238
|
-
var
|
|
1259
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
1260
|
+
var inspectSource$1 = inspectSource$3;
|
|
1261
|
+
var InternalStateModule = internalState;
|
|
1239
1262
|
|
|
1240
|
-
var
|
|
1241
|
-
|
|
1242
|
-
|
|
1263
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
1264
|
+
var getInternalState = InternalStateModule.get;
|
|
1265
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
1266
|
+
var defineProperty = Object.defineProperty;
|
|
1243
1267
|
|
|
1244
|
-
var
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
1268
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$5(function () {
|
|
1269
|
+
return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1270
|
+
});
|
|
1248
1271
|
|
|
1249
|
-
var
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1272
|
+
var TEMPLATE = String(String).split('String');
|
|
1273
|
+
|
|
1274
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
1275
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1276
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1277
|
+
}
|
|
1278
|
+
if (options && options.getter) name = 'get ' + name;
|
|
1279
|
+
if (options && options.setter) name = 'set ' + name;
|
|
1280
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1281
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
1282
|
+
}
|
|
1283
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
|
1284
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
1285
|
+
}
|
|
1286
|
+
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
|
1287
|
+
if (DESCRIPTORS) try {
|
|
1288
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
1289
|
+
} catch (error) { /* empty */ }
|
|
1290
|
+
} else value.prototype = undefined;
|
|
1291
|
+
var state = enforceInternalState(value);
|
|
1292
|
+
if (!hasOwn$2(state, 'source')) {
|
|
1293
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1294
|
+
} return value;
|
|
1253
1295
|
};
|
|
1254
1296
|
|
|
1297
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1298
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
1299
|
+
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
1300
|
+
return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);
|
|
1301
|
+
}, 'toString');
|
|
1302
|
+
|
|
1255
1303
|
var global$8 = global$r;
|
|
1256
|
-
var isCallable$3 = isCallable$
|
|
1257
|
-
var hasOwn$2 = hasOwnProperty_1;
|
|
1304
|
+
var isCallable$3 = isCallable$c;
|
|
1258
1305
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
1306
|
+
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
1259
1307
|
var setGlobal$1 = setGlobal$3;
|
|
1260
|
-
var inspectSource$1 = inspectSource$3;
|
|
1261
|
-
var InternalStateModule = internalState;
|
|
1262
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
1263
|
-
|
|
1264
|
-
var getInternalState = InternalStateModule.get;
|
|
1265
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
1266
|
-
var TEMPLATE = String(String).split('String');
|
|
1267
1308
|
|
|
1268
|
-
|
|
1309
|
+
var defineBuiltIn$1 = function (O, key, value, options) {
|
|
1269
1310
|
var unsafe = options ? !!options.unsafe : false;
|
|
1270
1311
|
var simple = options ? !!options.enumerable : false;
|
|
1271
1312
|
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
1272
1313
|
var name = options && options.name !== undefined ? options.name : key;
|
|
1273
|
-
|
|
1274
|
-
if (isCallable$3(value)) {
|
|
1275
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1276
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1277
|
-
}
|
|
1278
|
-
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
1279
|
-
createNonEnumerableProperty$1(value, 'name', name);
|
|
1280
|
-
}
|
|
1281
|
-
state = enforceInternalState(value);
|
|
1282
|
-
if (!state.source) {
|
|
1283
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1314
|
+
if (isCallable$3(value)) makeBuiltIn(value, name, options);
|
|
1286
1315
|
if (O === global$8) {
|
|
1287
1316
|
if (simple) O[key] = value;
|
|
1288
1317
|
else setGlobal$1(key, value);
|
|
1289
|
-
return;
|
|
1318
|
+
return O;
|
|
1290
1319
|
} else if (!unsafe) {
|
|
1291
1320
|
delete O[key];
|
|
1292
1321
|
} else if (!noTargetGet && O[key]) {
|
|
@@ -1294,10 +1323,8 @@ var TEMPLATE = String(String).split('String');
|
|
|
1294
1323
|
}
|
|
1295
1324
|
if (simple) O[key] = value;
|
|
1296
1325
|
else createNonEnumerableProperty$1(O, key, value);
|
|
1297
|
-
|
|
1298
|
-
}
|
|
1299
|
-
return isCallable$3(this) && getInternalState(this).source || inspectSource$1(this);
|
|
1300
|
-
});
|
|
1326
|
+
return O;
|
|
1327
|
+
};
|
|
1301
1328
|
|
|
1302
1329
|
var objectGetOwnPropertyNames = {};
|
|
1303
1330
|
|
|
@@ -1348,7 +1375,7 @@ var toAbsoluteIndex$2 = toAbsoluteIndex$3;
|
|
|
1348
1375
|
var lengthOfArrayLike$3 = lengthOfArrayLike$4;
|
|
1349
1376
|
|
|
1350
1377
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1351
|
-
var createMethod = function (IS_INCLUDES) {
|
|
1378
|
+
var createMethod$1 = function (IS_INCLUDES) {
|
|
1352
1379
|
return function ($this, el, fromIndex) {
|
|
1353
1380
|
var O = toIndexedObject$1($this);
|
|
1354
1381
|
var length = lengthOfArrayLike$3(O);
|
|
@@ -1370,19 +1397,19 @@ var createMethod = function (IS_INCLUDES) {
|
|
|
1370
1397
|
var arrayIncludes = {
|
|
1371
1398
|
// `Array.prototype.includes` method
|
|
1372
1399
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1373
|
-
includes: createMethod(true),
|
|
1400
|
+
includes: createMethod$1(true),
|
|
1374
1401
|
// `Array.prototype.indexOf` method
|
|
1375
1402
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1376
|
-
indexOf: createMethod(false)
|
|
1403
|
+
indexOf: createMethod$1(false)
|
|
1377
1404
|
};
|
|
1378
1405
|
|
|
1379
|
-
var uncurryThis$
|
|
1406
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
1380
1407
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1381
1408
|
var toIndexedObject = toIndexedObject$3;
|
|
1382
1409
|
var indexOf = arrayIncludes.indexOf;
|
|
1383
1410
|
var hiddenKeys$1 = hiddenKeys$3;
|
|
1384
1411
|
|
|
1385
|
-
var push$1 = uncurryThis$
|
|
1412
|
+
var push$1 = uncurryThis$6([].push);
|
|
1386
1413
|
|
|
1387
1414
|
var objectKeysInternal = function (object, names) {
|
|
1388
1415
|
var O = toIndexedObject(object);
|
|
@@ -1426,12 +1453,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1426
1453
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1427
1454
|
|
|
1428
1455
|
var getBuiltIn$1 = getBuiltIn$4;
|
|
1429
|
-
var uncurryThis$
|
|
1456
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1430
1457
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1431
1458
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1432
1459
|
var anObject$3 = anObject$5;
|
|
1433
1460
|
|
|
1434
|
-
var concat = uncurryThis$
|
|
1461
|
+
var concat = uncurryThis$5([].concat);
|
|
1435
1462
|
|
|
1436
1463
|
// all object keys, includes non-enumerable and symbols
|
|
1437
1464
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -1457,8 +1484,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
1457
1484
|
}
|
|
1458
1485
|
};
|
|
1459
1486
|
|
|
1460
|
-
var fails$
|
|
1461
|
-
var isCallable$2 = isCallable$
|
|
1487
|
+
var fails$4 = fails$c;
|
|
1488
|
+
var isCallable$2 = isCallable$c;
|
|
1462
1489
|
|
|
1463
1490
|
var replacement = /#|\.prototype\./;
|
|
1464
1491
|
|
|
@@ -1466,7 +1493,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
1466
1493
|
var value = data[normalize(feature)];
|
|
1467
1494
|
return value == POLYFILL ? true
|
|
1468
1495
|
: value == NATIVE ? false
|
|
1469
|
-
: isCallable$2(detection) ? fails$
|
|
1496
|
+
: isCallable$2(detection) ? fails$4(detection)
|
|
1470
1497
|
: !!detection;
|
|
1471
1498
|
};
|
|
1472
1499
|
|
|
@@ -1483,7 +1510,7 @@ var isForced_1 = isForced$1;
|
|
|
1483
1510
|
var global$7 = global$r;
|
|
1484
1511
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1485
1512
|
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
1486
|
-
var
|
|
1513
|
+
var defineBuiltIn = defineBuiltIn$1;
|
|
1487
1514
|
var setGlobal = setGlobal$3;
|
|
1488
1515
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1489
1516
|
var isForced = isForced_1;
|
|
@@ -1531,8 +1558,7 @@ var _export = function (options, source) {
|
|
|
1531
1558
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1532
1559
|
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1533
1560
|
}
|
|
1534
|
-
|
|
1535
|
-
redefine(target, key, sourceProperty, options);
|
|
1561
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
1536
1562
|
}
|
|
1537
1563
|
};
|
|
1538
1564
|
|
|
@@ -1547,7 +1573,7 @@ var toStringTagSupport = String(test$1) === '[object z]';
|
|
|
1547
1573
|
|
|
1548
1574
|
var global$6 = global$r;
|
|
1549
1575
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1550
|
-
var isCallable$1 = isCallable$
|
|
1576
|
+
var isCallable$1 = isCallable$c;
|
|
1551
1577
|
var classofRaw = classofRaw$1;
|
|
1552
1578
|
var wellKnownSymbol$3 = wellKnownSymbol$6;
|
|
1553
1579
|
|
|
@@ -1581,7 +1607,7 @@ var classof$2 = classof$3;
|
|
|
1581
1607
|
|
|
1582
1608
|
var String$1 = global$5.String;
|
|
1583
1609
|
|
|
1584
|
-
var toString$
|
|
1610
|
+
var toString$2 = function (argument) {
|
|
1585
1611
|
if (classof$2(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
1586
1612
|
return String$1(argument);
|
|
1587
1613
|
};
|
|
@@ -1659,11 +1685,11 @@ var merge = function (array, left, right, comparefn) {
|
|
|
1659
1685
|
|
|
1660
1686
|
var arraySort = mergeSort;
|
|
1661
1687
|
|
|
1662
|
-
var fails$
|
|
1688
|
+
var fails$3 = fails$c;
|
|
1663
1689
|
|
|
1664
1690
|
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
1665
1691
|
var method = [][METHOD_NAME];
|
|
1666
|
-
return !!method && fails$
|
|
1692
|
+
return !!method && fails$3(function () {
|
|
1667
1693
|
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1668
1694
|
method.call(null, argument || function () { return 1; }, 1);
|
|
1669
1695
|
});
|
|
@@ -1685,13 +1711,13 @@ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
|
|
|
1685
1711
|
|
|
1686
1712
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
1687
1713
|
|
|
1688
|
-
var $$
|
|
1689
|
-
var uncurryThis$
|
|
1714
|
+
var $$3 = _export;
|
|
1715
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1690
1716
|
var aCallable$2 = aCallable$4;
|
|
1691
1717
|
var toObject$1 = toObject$3;
|
|
1692
1718
|
var lengthOfArrayLike$1 = lengthOfArrayLike$4;
|
|
1693
|
-
var toString = toString$
|
|
1694
|
-
var fails$
|
|
1719
|
+
var toString$1 = toString$2;
|
|
1720
|
+
var fails$2 = fails$c;
|
|
1695
1721
|
var internalSort = arraySort;
|
|
1696
1722
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1697
1723
|
var FF = engineFfVersion;
|
|
@@ -1700,21 +1726,21 @@ var V8 = engineV8Version;
|
|
|
1700
1726
|
var WEBKIT = engineWebkitVersion;
|
|
1701
1727
|
|
|
1702
1728
|
var test = [];
|
|
1703
|
-
var un$Sort = uncurryThis$
|
|
1704
|
-
var push = uncurryThis$
|
|
1729
|
+
var un$Sort = uncurryThis$4(test.sort);
|
|
1730
|
+
var push = uncurryThis$4(test.push);
|
|
1705
1731
|
|
|
1706
1732
|
// IE8-
|
|
1707
|
-
var FAILS_ON_UNDEFINED = fails$
|
|
1733
|
+
var FAILS_ON_UNDEFINED = fails$2(function () {
|
|
1708
1734
|
test.sort(undefined);
|
|
1709
1735
|
});
|
|
1710
1736
|
// V8 bug
|
|
1711
|
-
var FAILS_ON_NULL = fails$
|
|
1737
|
+
var FAILS_ON_NULL = fails$2(function () {
|
|
1712
1738
|
test.sort(null);
|
|
1713
1739
|
});
|
|
1714
1740
|
// Old WebKit
|
|
1715
1741
|
var STRICT_METHOD = arrayMethodIsStrict('sort');
|
|
1716
1742
|
|
|
1717
|
-
var STABLE_SORT = !fails$
|
|
1743
|
+
var STABLE_SORT = !fails$2(function () {
|
|
1718
1744
|
// feature detection can be too slow, so check engines versions
|
|
1719
1745
|
if (V8) return V8 < 70;
|
|
1720
1746
|
if (FF && FF > 3) return;
|
|
@@ -1756,13 +1782,13 @@ var getSortCompare = function (comparefn) {
|
|
|
1756
1782
|
if (y === undefined) return -1;
|
|
1757
1783
|
if (x === undefined) return 1;
|
|
1758
1784
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
1759
|
-
return toString(x) > toString(y) ? 1 : -1;
|
|
1785
|
+
return toString$1(x) > toString$1(y) ? 1 : -1;
|
|
1760
1786
|
};
|
|
1761
1787
|
};
|
|
1762
1788
|
|
|
1763
1789
|
// `Array.prototype.sort` method
|
|
1764
1790
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
1765
|
-
$$
|
|
1791
|
+
$$3({ target: 'Array', proto: true, forced: FORCED }, {
|
|
1766
1792
|
sort: function sort(comparefn) {
|
|
1767
1793
|
if (comparefn !== undefined) aCallable$2(comparefn);
|
|
1768
1794
|
|
|
@@ -5254,23 +5280,23 @@ var MoladEvent = /*#__PURE__*/function (_Event) {
|
|
|
5254
5280
|
return MoladEvent;
|
|
5255
5281
|
}(Event);
|
|
5256
5282
|
|
|
5257
|
-
var $$
|
|
5283
|
+
var $$2 = _export;
|
|
5258
5284
|
var global$3 = global$r;
|
|
5259
|
-
var uncurryThis$
|
|
5285
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
5260
5286
|
var toAbsoluteIndex = toAbsoluteIndex$3;
|
|
5261
5287
|
|
|
5262
5288
|
var RangeError$1 = global$3.RangeError;
|
|
5263
5289
|
var fromCharCode = String.fromCharCode;
|
|
5264
5290
|
// eslint-disable-next-line es-x/no-string-fromcodepoint -- required for testing
|
|
5265
5291
|
var $fromCodePoint = String.fromCodePoint;
|
|
5266
|
-
var join = uncurryThis$
|
|
5292
|
+
var join = uncurryThis$3([].join);
|
|
5267
5293
|
|
|
5268
5294
|
// length should be 1, old FF problem
|
|
5269
5295
|
var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1;
|
|
5270
5296
|
|
|
5271
5297
|
// `String.fromCodePoint` method
|
|
5272
5298
|
// https://tc39.es/ecma262/#sec-string.fromcodepoint
|
|
5273
|
-
$$
|
|
5299
|
+
$$2({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
|
|
5274
5300
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
5275
5301
|
fromCodePoint: function fromCodePoint(x) {
|
|
5276
5302
|
var elements = [];
|
|
@@ -5287,6 +5313,70 @@ $$1({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, {
|
|
|
5287
5313
|
}
|
|
5288
5314
|
});
|
|
5289
5315
|
|
|
5316
|
+
// a string of all valid unicode whitespaces
|
|
5317
|
+
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
5318
|
+
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
5319
|
+
|
|
5320
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
5321
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
|
5322
|
+
var toString = toString$2;
|
|
5323
|
+
var whitespaces$1 = whitespaces$2;
|
|
5324
|
+
|
|
5325
|
+
var replace = uncurryThis$2(''.replace);
|
|
5326
|
+
var whitespace = '[' + whitespaces$1 + ']';
|
|
5327
|
+
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
5328
|
+
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
5329
|
+
|
|
5330
|
+
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
5331
|
+
var createMethod = function (TYPE) {
|
|
5332
|
+
return function ($this) {
|
|
5333
|
+
var string = toString(requireObjectCoercible($this));
|
|
5334
|
+
if (TYPE & 1) string = replace(string, ltrim, '');
|
|
5335
|
+
if (TYPE & 2) string = replace(string, rtrim, '');
|
|
5336
|
+
return string;
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5339
|
+
|
|
5340
|
+
var stringTrim = {
|
|
5341
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
5342
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
5343
|
+
start: createMethod(1),
|
|
5344
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
5345
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
5346
|
+
end: createMethod(2),
|
|
5347
|
+
// `String.prototype.trim` method
|
|
5348
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
5349
|
+
trim: createMethod(3)
|
|
5350
|
+
};
|
|
5351
|
+
|
|
5352
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
5353
|
+
var fails$1 = fails$c;
|
|
5354
|
+
var whitespaces = whitespaces$2;
|
|
5355
|
+
|
|
5356
|
+
var non = '\u200B\u0085\u180E';
|
|
5357
|
+
|
|
5358
|
+
// check that a method works with the correct list
|
|
5359
|
+
// of whitespaces and has a correct name
|
|
5360
|
+
var stringTrimForced = function (METHOD_NAME) {
|
|
5361
|
+
return fails$1(function () {
|
|
5362
|
+
return !!whitespaces[METHOD_NAME]()
|
|
5363
|
+
|| non[METHOD_NAME]() !== non
|
|
5364
|
+
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
5365
|
+
});
|
|
5366
|
+
};
|
|
5367
|
+
|
|
5368
|
+
var $$1 = _export;
|
|
5369
|
+
var $trim = stringTrim.trim;
|
|
5370
|
+
var forcedStringTrimMethod = stringTrimForced;
|
|
5371
|
+
|
|
5372
|
+
// `String.prototype.trim` method
|
|
5373
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
5374
|
+
$$1({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
5375
|
+
trim: function trim() {
|
|
5376
|
+
return $trim(this);
|
|
5377
|
+
}
|
|
5378
|
+
});
|
|
5379
|
+
|
|
5290
5380
|
var sefirot = [null, 'Lovingkindness', 'Might', 'Beauty', 'Eternity', 'Splendor', 'Foundation', 'Majesty'];
|
|
5291
5381
|
var sefirotTranslit = [null, 'Chesed', 'Gevurah', 'Tiferet', 'Netzach', 'Hod', 'Yesod', 'Malkhut'];
|
|
5292
5382
|
/** Represents a day 1-49 of counting the Omer from Pesach to Shavuot */
|
|
@@ -5414,6 +5504,10 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
|
|
|
5414
5504
|
}, {
|
|
5415
5505
|
key: "getTodayIs",
|
|
5416
5506
|
value: function getTodayIs(locale) {
|
|
5507
|
+
if (locale === 'he' || locale === 'he') {
|
|
5508
|
+
return getTodayIsHe(this.omer);
|
|
5509
|
+
}
|
|
5510
|
+
|
|
5417
5511
|
var totalDaysStr = this.omer === 1 ? 'day' : 'days';
|
|
5418
5512
|
var str = "Today is ".concat(this.omer, " ").concat(totalDaysStr);
|
|
5419
5513
|
|
|
@@ -5441,12 +5535,93 @@ var OmerEvent = /*#__PURE__*/function (_Event) {
|
|
|
5441
5535
|
}]);
|
|
5442
5536
|
|
|
5443
5537
|
return OmerEvent;
|
|
5444
|
-
}(Event);
|
|
5538
|
+
}(Event); // adapted from pip hdate package (GPL)
|
|
5539
|
+
// https://github.com/py-libhdate/py-libhdate/blob/master/hdate/date.py
|
|
5540
|
+
|
|
5541
|
+
var tens = ['', 'עֲשָׂרָה', 'עֶשְׂרִים', 'שְׁלוֹשִׁים', 'אַרְבָּעִים'];
|
|
5542
|
+
var ones = ['', 'אֶחָד', 'שְׁנַיִם', 'שְׁלוֹשָׁה', 'אַרְבָּעָה', 'חֲמִשָׁה', 'שִׁשָׁה', 'שִׁבְעָה', 'שְׁמוֹנָה', 'תִּשְׁעָה'];
|
|
5543
|
+
var shnei = 'שְׁנֵי';
|
|
5544
|
+
var yamim = 'יָמִים';
|
|
5545
|
+
var shneiYamim = shnei + ' ' + yamim;
|
|
5546
|
+
var shavuot = 'שָׁבוּעוֹת';
|
|
5547
|
+
var yom = 'יוֹם';
|
|
5548
|
+
var yomEchad = yom + ' ' + ones[1];
|
|
5549
|
+
/**
|
|
5550
|
+
* @private
|
|
5551
|
+
* @param {number} omer
|
|
5552
|
+
* @return {string}
|
|
5553
|
+
*/
|
|
5554
|
+
|
|
5555
|
+
function getTodayIsHe(omer) {
|
|
5556
|
+
var ten = Math.floor(omer / 10);
|
|
5557
|
+
var one = omer % 10;
|
|
5558
|
+
var str = 'הַיוֹם ';
|
|
5559
|
+
|
|
5560
|
+
if (10 < omer && omer < 20) {
|
|
5561
|
+
str += ones[one] + ' עָשָׂר';
|
|
5562
|
+
} else if (omer > 9) {
|
|
5563
|
+
str += ones[one];
|
|
5564
|
+
|
|
5565
|
+
if (one) {
|
|
5566
|
+
str += ' וְ';
|
|
5567
|
+
}
|
|
5568
|
+
}
|
|
5569
|
+
|
|
5570
|
+
if (omer > 2) {
|
|
5571
|
+
if (omer > 20 || omer === 10 || omer === 20) {
|
|
5572
|
+
str += tens[ten];
|
|
5573
|
+
}
|
|
5574
|
+
|
|
5575
|
+
if (omer < 11) {
|
|
5576
|
+
str += ones[one] + ' ' + yamim + ' ';
|
|
5577
|
+
} else {
|
|
5578
|
+
str += ' ' + yom + ' ';
|
|
5579
|
+
}
|
|
5580
|
+
} else if (omer === 1) {
|
|
5581
|
+
str += yomEchad + ' ';
|
|
5582
|
+
} else {
|
|
5583
|
+
// omer == 2
|
|
5584
|
+
str += shneiYamim + ' ';
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
if (omer > 6) {
|
|
5588
|
+
str = str.trim(); // remove trailing space before comma
|
|
5589
|
+
|
|
5590
|
+
str += ', שְׁהֵם ';
|
|
5591
|
+
var weeks = Math.floor(omer / 7);
|
|
5592
|
+
var days = omer % 7;
|
|
5593
|
+
|
|
5594
|
+
if (weeks > 2) {
|
|
5595
|
+
str += ones[weeks] + ' ' + shavuot + ' ';
|
|
5596
|
+
} else if (weeks == 1) {
|
|
5597
|
+
str += 'שָׁבוּעַ' + ' ' + ones[1] + ' ';
|
|
5598
|
+
} else {
|
|
5599
|
+
// weeks == 2
|
|
5600
|
+
str += shnei + ' ' + shavuot + ' ';
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
if (days) {
|
|
5604
|
+
str += 'וְ';
|
|
5605
|
+
|
|
5606
|
+
if (days > 2) {
|
|
5607
|
+
str += ones[days] + ' ' + yamim + ' ';
|
|
5608
|
+
} else if (days == 1) {
|
|
5609
|
+
str += yomEchad + ' ';
|
|
5610
|
+
} else {
|
|
5611
|
+
// days == 2
|
|
5612
|
+
str += shneiYamim + ' ';
|
|
5613
|
+
}
|
|
5614
|
+
}
|
|
5615
|
+
}
|
|
5616
|
+
|
|
5617
|
+
str += 'לָעוֹמֶר';
|
|
5618
|
+
return str;
|
|
5619
|
+
}
|
|
5445
5620
|
|
|
5446
5621
|
var osdate = new Date(1923, 8, 11);
|
|
5447
5622
|
var osday = greg.greg2abs(osdate);
|
|
5448
5623
|
var nsday = greg.greg2abs(new Date(1975, 5, 24));
|
|
5449
|
-
var shas = [['Berachot', 64], ['Shabbat', 157], ['Eruvin', 105], ['Pesachim', 121], ['Shekalim', 22], ['Yoma', 88], ['Sukkah', 56], ['Beitzah', 40], ['Rosh Hashana', 35], ['Taanit', 31], ['Megillah', 32], ['Moed Katan', 29], ['Chagigah', 27], ['Yevamot', 122], ['Ketubot', 112], ['Nedarim', 91], ['Nazir', 66], ['Sotah', 49], ['Gitin', 90], ['Kiddushin', 82], ['Baba Kamma', 119], ['Baba Metzia', 119], ['Baba Batra', 176], ['Sanhedrin', 113], ['Makkot', 24], ['Shevuot', 49], ['Avodah Zarah', 76], ['Horayot', 14], ['Zevachim', 120], ['Menachot', 110], ['Chullin', 142], ['Bechorot', 61], ['Arachin', 34], ['Temurah', 34], ['Keritot', 28], ['Meilah', 22], ['Kinnim', 4], ['Tamid',
|
|
5624
|
+
var shas = [['Berachot', 64], ['Shabbat', 157], ['Eruvin', 105], ['Pesachim', 121], ['Shekalim', 22], ['Yoma', 88], ['Sukkah', 56], ['Beitzah', 40], ['Rosh Hashana', 35], ['Taanit', 31], ['Megillah', 32], ['Moed Katan', 29], ['Chagigah', 27], ['Yevamot', 122], ['Ketubot', 112], ['Nedarim', 91], ['Nazir', 66], ['Sotah', 49], ['Gitin', 90], ['Kiddushin', 82], ['Baba Kamma', 119], ['Baba Metzia', 119], ['Baba Batra', 176], ['Sanhedrin', 113], ['Makkot', 24], ['Shevuot', 49], ['Avodah Zarah', 76], ['Horayot', 14], ['Zevachim', 120], ['Menachot', 110], ['Chullin', 142], ['Bechorot', 61], ['Arachin', 34], ['Temurah', 34], ['Keritot', 28], ['Meilah', 22], ['Kinnim', 4], ['Tamid', 9], ['Midot', 5], ['Niddah', 73]].map(function (m) {
|
|
5450
5625
|
return {
|
|
5451
5626
|
name: m[0],
|
|
5452
5627
|
blatt: m[1]
|
|
@@ -5520,7 +5695,7 @@ var DafYomi = /*#__PURE__*/function () {
|
|
|
5520
5695
|
break;
|
|
5521
5696
|
|
|
5522
5697
|
case 38:
|
|
5523
|
-
blatt = blatt +
|
|
5698
|
+
blatt = blatt + 32;
|
|
5524
5699
|
break;
|
|
5525
5700
|
} // Bailout
|
|
5526
5701
|
|
|
@@ -5712,8 +5887,8 @@ var isArrayIteratorMethod$1 = function (it) {
|
|
|
5712
5887
|
};
|
|
5713
5888
|
|
|
5714
5889
|
var uncurryThis = functionUncurryThis;
|
|
5715
|
-
var fails = fails$
|
|
5716
|
-
var isCallable = isCallable$
|
|
5890
|
+
var fails = fails$c;
|
|
5891
|
+
var isCallable = isCallable$c;
|
|
5717
5892
|
var classof$1 = classof$3;
|
|
5718
5893
|
var getBuiltIn = getBuiltIn$4;
|
|
5719
5894
|
var inspectSource = inspectSource$3;
|
|
@@ -7351,7 +7526,7 @@ function getBirthdayOrAnniversary_(hyear, gdate) {
|
|
|
7351
7526
|
return new HDate(day, month, hyear);
|
|
7352
7527
|
}
|
|
7353
7528
|
|
|
7354
|
-
var version="3.
|
|
7529
|
+
var version="3.37.0";
|
|
7355
7530
|
|
|
7356
7531
|
var headers$1={"plural-forms":"nplurals=2; plural=(n > 1);",language:"en_CA@ashkenazi"};var contexts$1={"":{Berachot:["Berachos"],Shabbat:["Shabbos"],Taanit:["Taanis"],Yevamot:["Yevamos"],Ketubot:["Kesubos"],"Baba Batra":["Baba Basra"],Makkot:["Makkos"],Shevuot:["Shevuos"],Horayot:["Horayos"],Menachot:["Menachos"],Bechorot:["Bechoros"],Keritot:["Kerisos"],Midot:["Midos"],"Achrei Mot":["Achrei Mos"],Bechukotai:["Bechukosai"],"Beha'alotcha":["Beha'aloscha"],Bereshit:["Bereshis"],Chukat:["Chukas"],"Erev Shavuot":["Erev Shavuos"],"Erev Sukkot":["Erev Sukkos"],"Ki Tavo":["Ki Savo"],"Ki Teitzei":["Ki Seitzei"],"Ki Tisa":["Ki Sisa"],Matot:["Matos"],"Purim Katan":["Purim Koton"],Tazria:["Sazria"],"Shabbat Chazon":["Shabbos Chazon"],"Shabbat HaChodesh":["Shabbos HaChodesh"],"Shabbat HaGadol":["Shabbos HaGadol"],"Shabbat Nachamu":["Shabbos Nachamu"],"Shabbat Parah":["Shabbos Parah"],"Shabbat Shekalim":["Shabbos Shekalim"],"Shabbat Shuva":["Shabbos Shuvah"],"Shabbat Zachor":["Shabbos Zachor"],Shavuot:["Shavuos"],"Shavuot I":["Shavuos I"],"Shavuot II":["Shavuos II"],Shemot:["Shemos"],"Shmini Atzeret":["Shmini Atzeres"],"Simchat Torah":["Simchas Torah"],Sukkot:["Sukkos"],"Sukkot I":["Sukkos I"],"Sukkot II":["Sukkos II"],"Sukkot II (CH''M)":["Sukkos II (CH''M)"],"Sukkot III (CH''M)":["Sukkos III (CH''M)"],"Sukkot IV (CH''M)":["Sukkos IV (CH''M)"],"Sukkot V (CH''M)":["Sukkos V (CH''M)"],"Sukkot VI (CH''M)":["Sukkos VI (CH''M)"],"Sukkot VII (Hoshana Raba)":["Sukkos VII (Hoshana Raba)"],"Ta'anit Bechorot":["Ta'anis Bechoros"],"Ta'anit Esther":["Ta'anis Esther"],Toldot:["Toldos"],Vaetchanan:["Vaeschanan"],Yitro:["Yisro"],"Vezot Haberakhah":["Vezos Haberakhah"],Parashat:["Parshas"],"Leil Selichot":["Leil Selichos"],"Shabbat Mevarchim Chodesh":["Shabbos Mevorchim Chodesh"],"Shabbat Shirah":["Shabbos Shirah"],Tevet:["Teves"],"Asara B'Tevet":["Asara B'Teves"],Berakhot:["Berakhos"],Sheviit:["Sheviis"],Terumot:["Terumos"],Maasrot:["Maasros"],Eduyot:["Eduyos"],Avot:["Avos"],Bekhorot:["Bekhoros"],Middot:["Middos"],Oholot:["Oholos"],Tahorot:["Tahoros"],Mikvaot:["Mikvaos"]}};var poAshkenazi = {headers:headers$1,contexts:contexts$1};
|
|
7357
7532
|
|
|
@@ -7964,7 +8139,11 @@ var HebrewCalendar = /*#__PURE__*/function () {
|
|
|
7964
8139
|
|
|
7965
8140
|
if (options.candlelighting) {
|
|
7966
8141
|
var zmanim = new Zmanim(hd.prev(), location.getLatitude(), location.getLongitude());
|
|
7967
|
-
|
|
8142
|
+
var tzeit = zmanim.tzeit(7.0833);
|
|
8143
|
+
|
|
8144
|
+
if (!isNaN(tzeit.getTime())) {
|
|
8145
|
+
omerEv.alarm = tzeit;
|
|
8146
|
+
}
|
|
7968
8147
|
}
|
|
7969
8148
|
|
|
7970
8149
|
evts.push(omerEv);
|