@opengeoweb/form-fields 9.12.0 → 9.14.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/index.esm.js +124 -89
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -57,10 +57,10 @@ var functionBindNative = !fails$j(function () {
|
|
|
57
57
|
|
|
58
58
|
var NATIVE_BIND$1 = functionBindNative;
|
|
59
59
|
|
|
60
|
-
var call$
|
|
60
|
+
var call$c = Function.prototype.call;
|
|
61
61
|
|
|
62
|
-
var functionCall = NATIVE_BIND$1 ? call$
|
|
63
|
-
return call$
|
|
62
|
+
var functionCall = NATIVE_BIND$1 ? call$c.bind(call$c) : function () {
|
|
63
|
+
return call$c.apply(call$c, arguments);
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
var objectPropertyIsEnumerable = {};
|
|
@@ -91,22 +91,22 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
91
91
|
var NATIVE_BIND = functionBindNative;
|
|
92
92
|
|
|
93
93
|
var FunctionPrototype$1 = Function.prototype;
|
|
94
|
-
var call$
|
|
95
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
|
94
|
+
var call$b = FunctionPrototype$1.call;
|
|
95
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$b, call$b);
|
|
96
96
|
|
|
97
97
|
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
98
98
|
return function () {
|
|
99
|
-
return call$
|
|
99
|
+
return call$b.apply(fn, arguments);
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
|
|
103
103
|
var uncurryThis$g = functionUncurryThis;
|
|
104
104
|
|
|
105
|
-
var toString$
|
|
105
|
+
var toString$a = uncurryThis$g({}.toString);
|
|
106
106
|
var stringSlice$3 = uncurryThis$g(''.slice);
|
|
107
107
|
|
|
108
108
|
var classofRaw$1 = function (it) {
|
|
109
|
-
return stringSlice$3(toString$
|
|
109
|
+
return stringSlice$3(toString$a(it), 8, -1);
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
var uncurryThis$f = functionUncurryThis;
|
|
@@ -156,23 +156,23 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
156
156
|
// `IsCallable` abstract operation
|
|
157
157
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
158
158
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
159
|
-
var isCallable$
|
|
159
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
160
160
|
return typeof argument == 'function' || argument === documentAll;
|
|
161
161
|
} : function (argument) {
|
|
162
162
|
return typeof argument == 'function';
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
var isCallable$
|
|
165
|
+
var isCallable$f = isCallable$g;
|
|
166
166
|
|
|
167
167
|
var isObject$8 = function (it) {
|
|
168
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
168
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
var global$h = global$i;
|
|
172
|
-
var isCallable$
|
|
172
|
+
var isCallable$e = isCallable$g;
|
|
173
173
|
|
|
174
174
|
var aFunction = function (argument) {
|
|
175
|
-
return isCallable$
|
|
175
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
176
176
|
};
|
|
177
177
|
|
|
178
178
|
var getBuiltIn$3 = function (namespace, method) {
|
|
@@ -240,7 +240,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
240
240
|
&& typeof Symbol.iterator == 'symbol';
|
|
241
241
|
|
|
242
242
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
243
|
-
var isCallable$
|
|
243
|
+
var isCallable$d = isCallable$g;
|
|
244
244
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
245
245
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
246
246
|
|
|
@@ -250,7 +250,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
250
250
|
return typeof it == 'symbol';
|
|
251
251
|
} : function (it) {
|
|
252
252
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
253
|
-
return isCallable$
|
|
253
|
+
return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
|
|
254
254
|
};
|
|
255
255
|
|
|
256
256
|
var $String$4 = String;
|
|
@@ -263,14 +263,14 @@ var tryToString$1 = function (argument) {
|
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
|
|
266
|
-
var isCallable$
|
|
266
|
+
var isCallable$c = isCallable$g;
|
|
267
267
|
var tryToString = tryToString$1;
|
|
268
268
|
|
|
269
269
|
var $TypeError$8 = TypeError;
|
|
270
270
|
|
|
271
271
|
// `Assert: IsCallable(argument) is true`
|
|
272
272
|
var aCallable$3 = function (argument) {
|
|
273
|
-
if (isCallable$
|
|
273
|
+
if (isCallable$c(argument)) return argument;
|
|
274
274
|
throw new $TypeError$8(tryToString(argument) + ' is not a function');
|
|
275
275
|
};
|
|
276
276
|
|
|
@@ -284,8 +284,8 @@ var getMethod$2 = function (V, P) {
|
|
|
284
284
|
return isNullOrUndefined$1(func) ? undefined : aCallable$2(func);
|
|
285
285
|
};
|
|
286
286
|
|
|
287
|
-
var call$
|
|
288
|
-
var isCallable$
|
|
287
|
+
var call$a = functionCall;
|
|
288
|
+
var isCallable$b = isCallable$g;
|
|
289
289
|
var isObject$7 = isObject$8;
|
|
290
290
|
|
|
291
291
|
var $TypeError$7 = TypeError;
|
|
@@ -294,9 +294,9 @@ var $TypeError$7 = TypeError;
|
|
|
294
294
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
295
295
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
296
296
|
var fn, val;
|
|
297
|
-
if (pref === 'string' && isCallable$
|
|
298
|
-
if (isCallable$
|
|
299
|
-
if (pref !== 'string' && isCallable$
|
|
297
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
298
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$a(fn, input))) return val;
|
|
299
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
300
300
|
throw new $TypeError$7("Can't convert object to primitive value");
|
|
301
301
|
};
|
|
302
302
|
|
|
@@ -361,10 +361,10 @@ var uncurryThis$c = functionUncurryThis;
|
|
|
361
361
|
|
|
362
362
|
var id = 0;
|
|
363
363
|
var postfix = Math.random();
|
|
364
|
-
var toString$
|
|
364
|
+
var toString$9 = uncurryThis$c(1.0.toString);
|
|
365
365
|
|
|
366
366
|
var uid$2 = function (key) {
|
|
367
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
367
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id + postfix, 36);
|
|
368
368
|
};
|
|
369
369
|
|
|
370
370
|
var global$c = global$i;
|
|
@@ -386,7 +386,7 @@ var wellKnownSymbol$b = function (name) {
|
|
|
386
386
|
} return WellKnownSymbolsStore[name];
|
|
387
387
|
};
|
|
388
388
|
|
|
389
|
-
var call$
|
|
389
|
+
var call$9 = functionCall;
|
|
390
390
|
var isObject$6 = isObject$8;
|
|
391
391
|
var isSymbol$1 = isSymbol$2;
|
|
392
392
|
var getMethod$1 = getMethod$2;
|
|
@@ -404,7 +404,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
404
404
|
var result;
|
|
405
405
|
if (exoticToPrim) {
|
|
406
406
|
if (pref === undefined) pref = 'default';
|
|
407
|
-
result = call$
|
|
407
|
+
result = call$9(exoticToPrim, input, pref);
|
|
408
408
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
409
409
|
throw new $TypeError$6("Can't convert object to primitive value");
|
|
410
410
|
}
|
|
@@ -446,7 +446,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$g(function () {
|
|
|
446
446
|
});
|
|
447
447
|
|
|
448
448
|
var DESCRIPTORS$8 = descriptors;
|
|
449
|
-
var call$
|
|
449
|
+
var call$8 = functionCall;
|
|
450
450
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
451
451
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
452
452
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
@@ -465,7 +465,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
|
|
|
465
465
|
if (IE8_DOM_DEFINE$1) try {
|
|
466
466
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
467
467
|
} catch (error) { /* empty */ }
|
|
468
|
-
if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$
|
|
468
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
469
469
|
};
|
|
470
470
|
|
|
471
471
|
var objectDefineProperty = {};
|
|
@@ -489,7 +489,7 @@ var $String$3 = String;
|
|
|
489
489
|
var $TypeError$5 = TypeError;
|
|
490
490
|
|
|
491
491
|
// `Assert: Type(argument) is Object`
|
|
492
|
-
var anObject$
|
|
492
|
+
var anObject$a = function (argument) {
|
|
493
493
|
if (isObject$4(argument)) return argument;
|
|
494
494
|
throw new $TypeError$5($String$3(argument) + ' is not an object');
|
|
495
495
|
};
|
|
@@ -497,7 +497,7 @@ var anObject$9 = function (argument) {
|
|
|
497
497
|
var DESCRIPTORS$6 = descriptors;
|
|
498
498
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
499
499
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
500
|
-
var anObject$
|
|
500
|
+
var anObject$9 = anObject$a;
|
|
501
501
|
var toPropertyKey = toPropertyKey$2;
|
|
502
502
|
|
|
503
503
|
var $TypeError$4 = TypeError;
|
|
@@ -512,9 +512,9 @@ var WRITABLE = 'writable';
|
|
|
512
512
|
// `Object.defineProperty` method
|
|
513
513
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
514
514
|
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
515
|
-
anObject$
|
|
515
|
+
anObject$9(O);
|
|
516
516
|
P = toPropertyKey(P);
|
|
517
|
-
anObject$
|
|
517
|
+
anObject$9(Attributes);
|
|
518
518
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
519
519
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
520
520
|
if (current && current[WRITABLE]) {
|
|
@@ -527,9 +527,9 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
527
527
|
}
|
|
528
528
|
} return $defineProperty(O, P, Attributes);
|
|
529
529
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
530
|
-
anObject$
|
|
530
|
+
anObject$9(O);
|
|
531
531
|
P = toPropertyKey(P);
|
|
532
|
-
anObject$
|
|
532
|
+
anObject$9(Attributes);
|
|
533
533
|
if (IE8_DOM_DEFINE) try {
|
|
534
534
|
return $defineProperty(O, P, Attributes);
|
|
535
535
|
} catch (error) { /* empty */ }
|
|
@@ -570,13 +570,13 @@ var functionName = {
|
|
|
570
570
|
};
|
|
571
571
|
|
|
572
572
|
var uncurryThis$b = functionUncurryThis;
|
|
573
|
-
var isCallable$
|
|
573
|
+
var isCallable$a = isCallable$g;
|
|
574
574
|
var store$1 = sharedStore;
|
|
575
575
|
|
|
576
576
|
var functionToString = uncurryThis$b(Function.toString);
|
|
577
577
|
|
|
578
578
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
579
|
-
if (!isCallable$
|
|
579
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
580
580
|
store$1.inspectSource = function (it) {
|
|
581
581
|
return functionToString(it);
|
|
582
582
|
};
|
|
@@ -585,11 +585,11 @@ if (!isCallable$9(store$1.inspectSource)) {
|
|
|
585
585
|
var inspectSource$1 = store$1.inspectSource;
|
|
586
586
|
|
|
587
587
|
var global$a = global$i;
|
|
588
|
-
var isCallable$
|
|
588
|
+
var isCallable$9 = isCallable$g;
|
|
589
589
|
|
|
590
590
|
var WeakMap$1 = global$a.WeakMap;
|
|
591
591
|
|
|
592
|
-
var weakMapBasicDetection = isCallable$
|
|
592
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
593
593
|
|
|
594
594
|
var shared$2 = shared$4.exports;
|
|
595
595
|
var uid = uid$2;
|
|
@@ -675,7 +675,7 @@ var internalState = {
|
|
|
675
675
|
|
|
676
676
|
var uncurryThis$a = functionUncurryThis;
|
|
677
677
|
var fails$e = fails$l;
|
|
678
|
-
var isCallable$
|
|
678
|
+
var isCallable$8 = isCallable$g;
|
|
679
679
|
var hasOwn$5 = hasOwnProperty_1;
|
|
680
680
|
var DESCRIPTORS$3 = descriptors;
|
|
681
681
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
@@ -725,10 +725,10 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
725
725
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
726
726
|
// eslint-disable-next-line no-extend-native -- required
|
|
727
727
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
728
|
-
return isCallable$
|
|
728
|
+
return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
|
|
729
729
|
}, 'toString');
|
|
730
730
|
|
|
731
|
-
var isCallable$
|
|
731
|
+
var isCallable$7 = isCallable$g;
|
|
732
732
|
var definePropertyModule$2 = objectDefineProperty;
|
|
733
733
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
734
734
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
@@ -737,7 +737,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
|
|
|
737
737
|
if (!options) options = {};
|
|
738
738
|
var simple = options.enumerable;
|
|
739
739
|
var name = options.name !== undefined ? options.name : key;
|
|
740
|
-
if (isCallable$
|
|
740
|
+
if (isCallable$7(value)) makeBuiltIn(value, name, options);
|
|
741
741
|
if (options.global) {
|
|
742
742
|
if (simple) O[key] = value;
|
|
743
743
|
else defineGlobalProperty$1(key, value);
|
|
@@ -897,13 +897,13 @@ var getBuiltIn$1 = getBuiltIn$3;
|
|
|
897
897
|
var uncurryThis$8 = functionUncurryThis;
|
|
898
898
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
899
899
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
900
|
-
var anObject$
|
|
900
|
+
var anObject$8 = anObject$a;
|
|
901
901
|
|
|
902
902
|
var concat$1 = uncurryThis$8([].concat);
|
|
903
903
|
|
|
904
904
|
// all object keys, includes non-enumerable and symbols
|
|
905
905
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
906
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
906
|
+
var keys = getOwnPropertyNamesModule.f(anObject$8(it));
|
|
907
907
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
908
908
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
909
909
|
};
|
|
@@ -926,7 +926,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
926
926
|
};
|
|
927
927
|
|
|
928
928
|
var fails$d = fails$l;
|
|
929
|
-
var isCallable$
|
|
929
|
+
var isCallable$6 = isCallable$g;
|
|
930
930
|
|
|
931
931
|
var replacement = /#|\.prototype\./;
|
|
932
932
|
|
|
@@ -934,7 +934,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
934
934
|
var value = data[normalize(feature)];
|
|
935
935
|
return value === POLYFILL ? true
|
|
936
936
|
: value === NATIVE ? false
|
|
937
|
-
: isCallable$
|
|
937
|
+
: isCallable$6(detection) ? fails$d(detection)
|
|
938
938
|
: !!detection;
|
|
939
939
|
};
|
|
940
940
|
|
|
@@ -1015,7 +1015,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1015
1015
|
|
|
1016
1016
|
var DESCRIPTORS$2 = descriptors;
|
|
1017
1017
|
var uncurryThis$7 = functionUncurryThis;
|
|
1018
|
-
var call$
|
|
1018
|
+
var call$7 = functionCall;
|
|
1019
1019
|
var fails$c = fails$l;
|
|
1020
1020
|
var objectKeys$1 = objectKeys$2;
|
|
1021
1021
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
@@ -1065,18 +1065,18 @@ var objectAssign = !$assign || fails$c(function () {
|
|
|
1065
1065
|
var key;
|
|
1066
1066
|
while (length > j) {
|
|
1067
1067
|
key = keys[j++];
|
|
1068
|
-
if (!DESCRIPTORS$2 || call$
|
|
1068
|
+
if (!DESCRIPTORS$2 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1069
1069
|
}
|
|
1070
1070
|
} return T;
|
|
1071
1071
|
} : $assign;
|
|
1072
1072
|
|
|
1073
|
-
var $$
|
|
1073
|
+
var $$9 = _export;
|
|
1074
1074
|
var assign = objectAssign;
|
|
1075
1075
|
|
|
1076
1076
|
// `Object.assign` method
|
|
1077
1077
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1078
1078
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1079
|
-
$$
|
|
1079
|
+
$$9({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1080
1080
|
assign: assign
|
|
1081
1081
|
});
|
|
1082
1082
|
|
|
@@ -1122,7 +1122,7 @@ test[TO_STRING_TAG$2] = 'z';
|
|
|
1122
1122
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1123
1123
|
|
|
1124
1124
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1125
|
-
var isCallable$
|
|
1125
|
+
var isCallable$5 = isCallable$g;
|
|
1126
1126
|
var classofRaw = classofRaw$1;
|
|
1127
1127
|
var wellKnownSymbol$8 = wellKnownSymbol$b;
|
|
1128
1128
|
|
|
@@ -1148,14 +1148,14 @@ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
|
1148
1148
|
// builtinTag case
|
|
1149
1149
|
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1150
1150
|
// ES3 arguments fallback
|
|
1151
|
-
: (result = classofRaw(O)) === 'Object' && isCallable$
|
|
1151
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
|
|
1152
1152
|
};
|
|
1153
1153
|
|
|
1154
1154
|
var classof$3 = classof$4;
|
|
1155
1155
|
|
|
1156
1156
|
var $String$1 = String;
|
|
1157
1157
|
|
|
1158
|
-
var toString$
|
|
1158
|
+
var toString$8 = function (argument) {
|
|
1159
1159
|
if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1160
1160
|
return $String$1(argument);
|
|
1161
1161
|
};
|
|
@@ -1166,7 +1166,7 @@ var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
1166
1166
|
|
|
1167
1167
|
var uncurryThis$6 = functionUncurryThis;
|
|
1168
1168
|
var requireObjectCoercible$3 = requireObjectCoercible$6;
|
|
1169
|
-
var toString$
|
|
1169
|
+
var toString$7 = toString$8;
|
|
1170
1170
|
var whitespaces$3 = whitespaces$4;
|
|
1171
1171
|
|
|
1172
1172
|
var replace$1 = uncurryThis$6(''.replace);
|
|
@@ -1176,7 +1176,7 @@ var rtrim = RegExp('(^|[^' + whitespaces$3 + '])[' + whitespaces$3 + ']+$');
|
|
|
1176
1176
|
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
1177
1177
|
var createMethod$2 = function (TYPE) {
|
|
1178
1178
|
return function ($this) {
|
|
1179
|
-
var string = toString$
|
|
1179
|
+
var string = toString$7(requireObjectCoercible$3($this));
|
|
1180
1180
|
if (TYPE & 1) string = replace$1(string, ltrim, '');
|
|
1181
1181
|
if (TYPE & 2) string = replace$1(string, rtrim, '$1');
|
|
1182
1182
|
return string;
|
|
@@ -1198,7 +1198,7 @@ var stringTrim = {
|
|
|
1198
1198
|
var global$7 = global$i;
|
|
1199
1199
|
var fails$b = fails$l;
|
|
1200
1200
|
var uncurryThis$5 = functionUncurryThis;
|
|
1201
|
-
var toString$
|
|
1201
|
+
var toString$6 = toString$8;
|
|
1202
1202
|
var trim$1 = stringTrim.trim;
|
|
1203
1203
|
var whitespaces$2 = whitespaces$4;
|
|
1204
1204
|
|
|
@@ -1213,26 +1213,26 @@ var FORCED$2 = 1 / $parseFloat$1(whitespaces$2 + '-0') !== -Infinity
|
|
|
1213
1213
|
// `parseFloat` method
|
|
1214
1214
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
1215
1215
|
var numberParseFloat = FORCED$2 ? function parseFloat(string) {
|
|
1216
|
-
var trimmedString = trim$1(toString$
|
|
1216
|
+
var trimmedString = trim$1(toString$6(string));
|
|
1217
1217
|
var result = $parseFloat$1(trimmedString);
|
|
1218
1218
|
return result === 0 && charAt$3(trimmedString, 0) === '-' ? -0 : result;
|
|
1219
1219
|
} : $parseFloat$1;
|
|
1220
1220
|
|
|
1221
|
-
var $$
|
|
1221
|
+
var $$8 = _export;
|
|
1222
1222
|
var $parseFloat = numberParseFloat;
|
|
1223
1223
|
|
|
1224
1224
|
// `parseFloat` method
|
|
1225
1225
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
1226
|
-
$$
|
|
1226
|
+
$$8({ global: true, forced: parseFloat !== $parseFloat }, {
|
|
1227
1227
|
parseFloat: $parseFloat
|
|
1228
1228
|
});
|
|
1229
1229
|
|
|
1230
|
-
var anObject$
|
|
1230
|
+
var anObject$7 = anObject$a;
|
|
1231
1231
|
|
|
1232
1232
|
// `RegExp.prototype.flags` getter implementation
|
|
1233
1233
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1234
1234
|
var regexpFlags$1 = function () {
|
|
1235
|
-
var that = anObject$
|
|
1235
|
+
var that = anObject$7(this);
|
|
1236
1236
|
var result = '';
|
|
1237
1237
|
if (that.hasIndices) result += 'd';
|
|
1238
1238
|
if (that.global) result += 'g';
|
|
@@ -1281,7 +1281,7 @@ var objectDefineProperties = {};
|
|
|
1281
1281
|
var DESCRIPTORS$1 = descriptors;
|
|
1282
1282
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1283
1283
|
var definePropertyModule = objectDefineProperty;
|
|
1284
|
-
var anObject$
|
|
1284
|
+
var anObject$6 = anObject$a;
|
|
1285
1285
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1286
1286
|
var objectKeys = objectKeys$2;
|
|
1287
1287
|
|
|
@@ -1289,7 +1289,7 @@ var objectKeys = objectKeys$2;
|
|
|
1289
1289
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1290
1290
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1291
1291
|
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1292
|
-
anObject$
|
|
1292
|
+
anObject$6(O);
|
|
1293
1293
|
var props = toIndexedObject$1(Properties);
|
|
1294
1294
|
var keys = objectKeys(Properties);
|
|
1295
1295
|
var length = keys.length;
|
|
@@ -1304,7 +1304,7 @@ var getBuiltIn = getBuiltIn$3;
|
|
|
1304
1304
|
var html$1 = getBuiltIn('document', 'documentElement');
|
|
1305
1305
|
|
|
1306
1306
|
/* global ActiveXObject -- old IE, WSH */
|
|
1307
|
-
var anObject$
|
|
1307
|
+
var anObject$5 = anObject$a;
|
|
1308
1308
|
var definePropertiesModule = objectDefineProperties;
|
|
1309
1309
|
var enumBugKeys = enumBugKeys$3;
|
|
1310
1310
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1378,7 +1378,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1378
1378
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1379
1379
|
var result;
|
|
1380
1380
|
if (O !== null) {
|
|
1381
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1381
|
+
EmptyConstructor[PROTOTYPE] = anObject$5(O);
|
|
1382
1382
|
result = new EmptyConstructor();
|
|
1383
1383
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1384
1384
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1412,9 +1412,9 @@ var regexpUnsupportedNcg = fails$8(function () {
|
|
|
1412
1412
|
|
|
1413
1413
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1414
1414
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1415
|
-
var call$
|
|
1415
|
+
var call$6 = functionCall;
|
|
1416
1416
|
var uncurryThis$4 = functionUncurryThis;
|
|
1417
|
-
var toString$
|
|
1417
|
+
var toString$5 = toString$8;
|
|
1418
1418
|
var regexpFlags = regexpFlags$1;
|
|
1419
1419
|
var stickyHelpers = regexpStickyHelpers;
|
|
1420
1420
|
var shared = shared$4.exports;
|
|
@@ -1434,8 +1434,8 @@ var stringSlice$1 = uncurryThis$4(''.slice);
|
|
|
1434
1434
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1435
1435
|
var re1 = /a/;
|
|
1436
1436
|
var re2 = /b*/g;
|
|
1437
|
-
call$
|
|
1438
|
-
call$
|
|
1437
|
+
call$6(nativeExec, re1, 'a');
|
|
1438
|
+
call$6(nativeExec, re2, 'a');
|
|
1439
1439
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1440
1440
|
})();
|
|
1441
1441
|
|
|
@@ -1450,20 +1450,20 @@ if (PATCH) {
|
|
|
1450
1450
|
patchedExec = function exec(string) {
|
|
1451
1451
|
var re = this;
|
|
1452
1452
|
var state = getInternalState$1(re);
|
|
1453
|
-
var str = toString$
|
|
1453
|
+
var str = toString$5(string);
|
|
1454
1454
|
var raw = state.raw;
|
|
1455
1455
|
var result, reCopy, lastIndex, match, i, object, group;
|
|
1456
1456
|
|
|
1457
1457
|
if (raw) {
|
|
1458
1458
|
raw.lastIndex = re.lastIndex;
|
|
1459
|
-
result = call$
|
|
1459
|
+
result = call$6(patchedExec, raw, str);
|
|
1460
1460
|
re.lastIndex = raw.lastIndex;
|
|
1461
1461
|
return result;
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
1464
|
var groups = state.groups;
|
|
1465
1465
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1466
|
-
var flags = call$
|
|
1466
|
+
var flags = call$6(regexpFlags, re);
|
|
1467
1467
|
var source = re.source;
|
|
1468
1468
|
var charsAdded = 0;
|
|
1469
1469
|
var strCopy = str;
|
|
@@ -1491,7 +1491,7 @@ if (PATCH) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1493
1493
|
|
|
1494
|
-
match = call$
|
|
1494
|
+
match = call$6(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1495
1495
|
|
|
1496
1496
|
if (sticky) {
|
|
1497
1497
|
if (match) {
|
|
@@ -1506,7 +1506,7 @@ if (PATCH) {
|
|
|
1506
1506
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1507
1507
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1508
1508
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1509
|
-
call$
|
|
1509
|
+
call$6(nativeReplace, match[0], reCopy, function () {
|
|
1510
1510
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1511
1511
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1512
1512
|
}
|
|
@@ -1527,15 +1527,50 @@ if (PATCH) {
|
|
|
1527
1527
|
|
|
1528
1528
|
var regexpExec$2 = patchedExec;
|
|
1529
1529
|
|
|
1530
|
-
var $$
|
|
1530
|
+
var $$7 = _export;
|
|
1531
1531
|
var exec$1 = regexpExec$2;
|
|
1532
1532
|
|
|
1533
1533
|
// `RegExp.prototype.exec` method
|
|
1534
1534
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
1535
|
-
$$
|
|
1535
|
+
$$7({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
1536
1536
|
exec: exec$1
|
|
1537
1537
|
});
|
|
1538
1538
|
|
|
1539
|
+
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1540
|
+
|
|
1541
|
+
var $$6 = _export;
|
|
1542
|
+
var call$5 = functionCall;
|
|
1543
|
+
var isCallable$4 = isCallable$g;
|
|
1544
|
+
var anObject$4 = anObject$a;
|
|
1545
|
+
var toString$4 = toString$8;
|
|
1546
|
+
|
|
1547
|
+
var DELEGATES_TO_EXEC = function () {
|
|
1548
|
+
var execCalled = false;
|
|
1549
|
+
var re = /[ac]/;
|
|
1550
|
+
re.exec = function () {
|
|
1551
|
+
execCalled = true;
|
|
1552
|
+
return /./.exec.apply(this, arguments);
|
|
1553
|
+
};
|
|
1554
|
+
return re.test('abc') === true && execCalled;
|
|
1555
|
+
}();
|
|
1556
|
+
|
|
1557
|
+
var nativeTest = /./.test;
|
|
1558
|
+
|
|
1559
|
+
// `RegExp.prototype.test` method
|
|
1560
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
1561
|
+
$$6({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
1562
|
+
test: function (S) {
|
|
1563
|
+
var R = anObject$4(this);
|
|
1564
|
+
var string = toString$4(S);
|
|
1565
|
+
var exec = R.exec;
|
|
1566
|
+
if (!isCallable$4(exec)) return call$5(nativeTest, R, string);
|
|
1567
|
+
var result = call$5(exec, R, string);
|
|
1568
|
+
if (result === null) return false;
|
|
1569
|
+
anObject$4(result);
|
|
1570
|
+
return true;
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
|
|
1539
1574
|
var call$4 = functionCall;
|
|
1540
1575
|
var hasOwn$2 = hasOwnProperty_1;
|
|
1541
1576
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
@@ -1551,8 +1586,8 @@ var regexpGetFlags = function (R) {
|
|
|
1551
1586
|
|
|
1552
1587
|
var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
|
|
1553
1588
|
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
1554
|
-
var anObject$3 = anObject$
|
|
1555
|
-
var $toString = toString$
|
|
1589
|
+
var anObject$3 = anObject$a;
|
|
1590
|
+
var $toString = toString$8;
|
|
1556
1591
|
var fails$7 = fails$l;
|
|
1557
1592
|
var getRegExpFlags = regexpGetFlags;
|
|
1558
1593
|
|
|
@@ -2206,7 +2241,7 @@ var correctPrototypeGetter = !fails$3(function () {
|
|
|
2206
2241
|
});
|
|
2207
2242
|
|
|
2208
2243
|
var hasOwn$1 = hasOwnProperty_1;
|
|
2209
|
-
var isCallable$3 = isCallable$
|
|
2244
|
+
var isCallable$3 = isCallable$g;
|
|
2210
2245
|
var toObject = toObject$4;
|
|
2211
2246
|
var sharedKey = sharedKey$3;
|
|
2212
2247
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -2228,7 +2263,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
|
|
|
2228
2263
|
};
|
|
2229
2264
|
|
|
2230
2265
|
var fails$2 = fails$l;
|
|
2231
|
-
var isCallable$2 = isCallable$
|
|
2266
|
+
var isCallable$2 = isCallable$g;
|
|
2232
2267
|
var isObject$2 = isObject$8;
|
|
2233
2268
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2234
2269
|
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
@@ -2330,7 +2365,7 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
2330
2365
|
|
|
2331
2366
|
/* eslint-disable no-proto -- safe */
|
|
2332
2367
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
2333
|
-
var anObject$2 = anObject$
|
|
2368
|
+
var anObject$2 = anObject$a;
|
|
2334
2369
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2335
2370
|
|
|
2336
2371
|
// `Object.setPrototypeOf` method
|
|
@@ -2358,7 +2393,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2358
2393
|
var $$2 = _export;
|
|
2359
2394
|
var call$3 = functionCall;
|
|
2360
2395
|
var FunctionName = functionName;
|
|
2361
|
-
var isCallable$1 = isCallable$
|
|
2396
|
+
var isCallable$1 = isCallable$g;
|
|
2362
2397
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2363
2398
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
2364
2399
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
@@ -2525,7 +2560,7 @@ if (DESCRIPTORS && values.name !== 'values') try {
|
|
|
2525
2560
|
var global$2 = global$i;
|
|
2526
2561
|
var fails$1 = fails$l;
|
|
2527
2562
|
var uncurryThis$2 = functionUncurryThis;
|
|
2528
|
-
var toString$3 = toString$
|
|
2563
|
+
var toString$3 = toString$8;
|
|
2529
2564
|
var trim = stringTrim.trim;
|
|
2530
2565
|
var whitespaces = whitespaces$4;
|
|
2531
2566
|
|
|
@@ -2597,7 +2632,7 @@ var $ = _export;
|
|
|
2597
2632
|
var uncurryThis$1 = functionUncurryThis;
|
|
2598
2633
|
var notARegExp = notARegexp;
|
|
2599
2634
|
var requireObjectCoercible$2 = requireObjectCoercible$6;
|
|
2600
|
-
var toString$2 = toString$
|
|
2635
|
+
var toString$2 = toString$8;
|
|
2601
2636
|
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
2602
2637
|
|
|
2603
2638
|
var stringIndexOf = uncurryThis$1(''.indexOf);
|
|
@@ -2692,7 +2727,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2692
2727
|
|
|
2693
2728
|
var uncurryThis = functionUncurryThis;
|
|
2694
2729
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2695
|
-
var toString$1 = toString$
|
|
2730
|
+
var toString$1 = toString$8;
|
|
2696
2731
|
var requireObjectCoercible$1 = requireObjectCoercible$6;
|
|
2697
2732
|
|
|
2698
2733
|
var charAt$1 = uncurryThis(''.charAt);
|
|
@@ -2736,8 +2771,8 @@ var advanceStringIndex$1 = function (S, index, unicode) {
|
|
|
2736
2771
|
};
|
|
2737
2772
|
|
|
2738
2773
|
var call$1 = functionCall;
|
|
2739
|
-
var anObject$1 = anObject$
|
|
2740
|
-
var isCallable = isCallable$
|
|
2774
|
+
var anObject$1 = anObject$a;
|
|
2775
|
+
var isCallable = isCallable$g;
|
|
2741
2776
|
var classof = classofRaw$1;
|
|
2742
2777
|
var regexpExec = regexpExec$2;
|
|
2743
2778
|
|
|
@@ -2758,10 +2793,10 @@ var regexpExecAbstract = function (R, S) {
|
|
|
2758
2793
|
|
|
2759
2794
|
var call = functionCall;
|
|
2760
2795
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
2761
|
-
var anObject = anObject$
|
|
2796
|
+
var anObject = anObject$a;
|
|
2762
2797
|
var isNullOrUndefined = isNullOrUndefined$3;
|
|
2763
2798
|
var toLength = toLength$2;
|
|
2764
|
-
var toString = toString$
|
|
2799
|
+
var toString = toString$8;
|
|
2765
2800
|
var requireObjectCoercible = requireObjectCoercible$6;
|
|
2766
2801
|
var getMethod = getMethod$2;
|
|
2767
2802
|
var advanceStringIndex = advanceStringIndex$1;
|