@danielgindi/selectbox 1.0.135 → 1.0.137

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/lib.umd.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.135
2
+ * @danielgindi/selectbox 1.0.137
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  (function (global, factory) {
@@ -55,7 +55,7 @@
55
55
  };
56
56
 
57
57
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
58
- var global$e =
58
+ var global$f =
59
59
  // eslint-disable-next-line es/no-global-this -- safe
60
60
  check(typeof globalThis == 'object' && globalThis) ||
61
61
  check(typeof window == 'object' && window) ||
@@ -66,7 +66,7 @@
66
66
  // eslint-disable-next-line no-new-func -- fallback
67
67
  (function () { return this; })() || Function('return this')();
68
68
 
69
- var global$f = /*@__PURE__*/getDefaultExportFromCjs(global$e);
69
+ var global$g = /*@__PURE__*/getDefaultExportFromCjs(global$f);
70
70
 
71
71
  'use strict';
72
72
  // iterable DOM collections
@@ -125,19 +125,19 @@
125
125
  'use strict';
126
126
  var isCallable$f = isCallable$g;
127
127
 
128
- var isObject$8 = function (it) {
128
+ var isObject$7 = function (it) {
129
129
  return typeof it == 'object' ? it !== null : isCallable$f(it);
130
130
  };
131
131
 
132
- var isObject$9 = /*@__PURE__*/getDefaultExportFromCjs(isObject$8);
132
+ var isObject$8 = /*@__PURE__*/getDefaultExportFromCjs(isObject$7);
133
133
 
134
134
  'use strict';
135
- var global$d = global$e;
136
- var isObject$7 = isObject$8;
135
+ var global$e = global$f;
136
+ var isObject$6 = isObject$7;
137
137
 
138
- var document$1 = global$d.document;
138
+ var document$1 = global$e.document;
139
139
  // typeof document.createElement is 'object' in old IE
140
- var EXISTS$1 = isObject$7(document$1) && isObject$7(document$1.createElement);
140
+ var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
141
141
 
142
142
  var documentCreateElement$2 = function (it) {
143
143
  return EXISTS$1 ? document$1.createElement(it) : {};
@@ -241,25 +241,25 @@
241
241
 
242
242
  // `RequireObjectCoercible` abstract operation
243
243
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
244
- var requireObjectCoercible$5 = function (it) {
244
+ var requireObjectCoercible$4 = function (it) {
245
245
  if (isNullOrUndefined$2(it)) throw new $TypeError$7("Can't call method on " + it);
246
246
  return it;
247
247
  };
248
248
 
249
- var requireObjectCoercible$6 = /*@__PURE__*/getDefaultExportFromCjs(requireObjectCoercible$5);
249
+ var requireObjectCoercible$5 = /*@__PURE__*/getDefaultExportFromCjs(requireObjectCoercible$4);
250
250
 
251
251
  'use strict';
252
252
  // toObject with fallback for non-array-like ES3 strings
253
253
  var IndexedObject = indexedObject;
254
- var requireObjectCoercible$4 = requireObjectCoercible$5;
254
+ var requireObjectCoercible$3 = requireObjectCoercible$4;
255
255
 
256
256
  var toIndexedObject$5 = function (it) {
257
- return IndexedObject(requireObjectCoercible$4(it));
257
+ return IndexedObject(requireObjectCoercible$3(it));
258
258
  };
259
259
 
260
260
  var toIndexedObject$6 = /*@__PURE__*/getDefaultExportFromCjs(toIndexedObject$5);
261
261
 
262
- var sharedStore$2 = {exports: {}};
262
+ var shared$6 = {exports: {}};
263
263
 
264
264
  'use strict';
265
265
  var isPure = false;
@@ -267,60 +267,60 @@
267
267
  var isPure$1 = /*@__PURE__*/getDefaultExportFromCjs(isPure);
268
268
 
269
269
  'use strict';
270
- var global$c = global$e;
270
+ var global$d = global$f;
271
271
 
272
272
  // eslint-disable-next-line es/no-object-defineproperty -- safe
273
273
  var defineProperty$4 = Object.defineProperty;
274
274
 
275
275
  var defineGlobalProperty$3 = function (key, value) {
276
276
  try {
277
- defineProperty$4(global$c, key, { value: value, configurable: true, writable: true });
277
+ defineProperty$4(global$d, key, { value: value, configurable: true, writable: true });
278
278
  } catch (error) {
279
- global$c[key] = value;
279
+ global$d[key] = value;
280
280
  } return value;
281
281
  };
282
282
 
283
283
  var defineGlobalProperty$4 = /*@__PURE__*/getDefaultExportFromCjs(defineGlobalProperty$3);
284
284
 
285
- var sharedStore = sharedStore$2.exports;
286
-
287
285
  'use strict';
288
- var IS_PURE$3 = isPure;
289
- var globalThis$1 = global$e;
286
+ var global$c = global$f;
290
287
  var defineGlobalProperty$2 = defineGlobalProperty$3;
291
288
 
292
289
  var SHARED = '__core-js_shared__';
293
- var store$3 = sharedStore$2.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
290
+ var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
294
291
 
295
- (store$3.versions || (store$3.versions = [])).push({
296
- version: '3.36.1',
297
- mode: IS_PURE$3 ? 'pure' : 'global',
298
- copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
299
- license: 'https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE',
300
- source: 'https://github.com/zloirock/core-js'
301
- });
292
+ var sharedStore = store$3;
293
+
294
+ var sharedStore$1 = /*@__PURE__*/getDefaultExportFromCjs(sharedStore);
302
295
 
303
- var sharedStoreExports = sharedStore$2.exports;
304
- var sharedStore$1 = /*@__PURE__*/getDefaultExportFromCjs(sharedStoreExports);
296
+ var shared$4 = shared$6.exports;
305
297
 
306
298
  'use strict';
307
- var store$2 = sharedStoreExports;
299
+ var IS_PURE$3 = isPure;
300
+ var store$2 = sharedStore;
308
301
 
309
- var shared$4 = function (key, value) {
310
- return store$2[key] || (store$2[key] = value || {});
311
- };
302
+ (shared$6.exports = function (key, value) {
303
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
304
+ })('versions', []).push({
305
+ version: '3.35.1',
306
+ mode: IS_PURE$3 ? 'pure' : 'global',
307
+ copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
308
+ license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
309
+ source: 'https://github.com/zloirock/core-js'
310
+ });
312
311
 
313
- var shared$5 = /*@__PURE__*/getDefaultExportFromCjs(shared$4);
312
+ var sharedExports = shared$6.exports;
313
+ var shared$5 = /*@__PURE__*/getDefaultExportFromCjs(sharedExports);
314
314
 
315
315
  'use strict';
316
- var requireObjectCoercible$3 = requireObjectCoercible$5;
316
+ var requireObjectCoercible$2 = requireObjectCoercible$4;
317
317
 
318
318
  var $Object$3 = Object;
319
319
 
320
320
  // `ToObject` abstract operation
321
321
  // https://tc39.es/ecma262/#sec-toobject
322
322
  var toObject$3 = function (argument) {
323
- return $Object$3(requireObjectCoercible$3(argument));
323
+ return $Object$3(requireObjectCoercible$2(argument));
324
324
  };
325
325
 
326
326
  var toObject$4 = /*@__PURE__*/getDefaultExportFromCjs(toObject$3);
@@ -359,7 +359,7 @@
359
359
  var engineUserAgent$1 = /*@__PURE__*/getDefaultExportFromCjs(engineUserAgent);
360
360
 
361
361
  'use strict';
362
- var global$b = global$e;
362
+ var global$b = global$f;
363
363
  var userAgent = engineUserAgent;
364
364
 
365
365
  var process = global$b.process;
@@ -393,7 +393,7 @@
393
393
  /* eslint-disable es/no-symbol -- required for testing */
394
394
  var V8_VERSION = engineV8Version;
395
395
  var fails$c = fails$f;
396
- var global$a = global$e;
396
+ var global$a = global$f;
397
397
 
398
398
  var $String$5 = global$a.String;
399
399
 
@@ -422,8 +422,8 @@
422
422
  var useSymbolAsUid$1 = /*@__PURE__*/getDefaultExportFromCjs(useSymbolAsUid);
423
423
 
424
424
  'use strict';
425
- var global$9 = global$e;
426
- var shared$3 = shared$4;
425
+ var global$9 = global$f;
426
+ var shared$3 = sharedExports;
427
427
  var hasOwn$8 = hasOwnProperty_1;
428
428
  var uid$1 = uid$2;
429
429
  var NATIVE_SYMBOL = symbolConstructorDetection;
@@ -444,18 +444,18 @@
444
444
  var wellKnownSymbol$b = /*@__PURE__*/getDefaultExportFromCjs(wellKnownSymbol$a);
445
445
 
446
446
  'use strict';
447
- var isObject$6 = isObject$8;
447
+ var isObject$5 = isObject$7;
448
448
 
449
449
  var $String$4 = String;
450
450
  var $TypeError$6 = TypeError;
451
451
 
452
452
  // `Assert: Type(argument) is Object`
453
- var anObject$7 = function (argument) {
454
- if (isObject$6(argument)) return argument;
453
+ var anObject$8 = function (argument) {
454
+ if (isObject$5(argument)) return argument;
455
455
  throw new $TypeError$6($String$4(argument) + ' is not an object');
456
456
  };
457
457
 
458
- var anObject$8 = /*@__PURE__*/getDefaultExportFromCjs(anObject$7);
458
+ var anObject$9 = /*@__PURE__*/getDefaultExportFromCjs(anObject$8);
459
459
 
460
460
  var objectDefineProperties = {};
461
461
 
@@ -515,7 +515,7 @@
515
515
  var functionCall$1 = /*@__PURE__*/getDefaultExportFromCjs(functionCall);
516
516
 
517
517
  'use strict';
518
- var global$8 = global$e;
518
+ var global$8 = global$f;
519
519
  var isCallable$e = isCallable$g;
520
520
 
521
521
  var aFunction = function (argument) {
@@ -595,7 +595,7 @@
595
595
  'use strict';
596
596
  var call$8 = functionCall;
597
597
  var isCallable$b = isCallable$g;
598
- var isObject$5 = isObject$8;
598
+ var isObject$4 = isObject$7;
599
599
 
600
600
  var $TypeError$4 = TypeError;
601
601
 
@@ -603,9 +603,9 @@
603
603
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
604
604
  var ordinaryToPrimitive$1 = function (input, pref) {
605
605
  var fn, val;
606
- if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
607
- if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$8(fn, input))) return val;
608
- if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
606
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$4(val = call$8(fn, input))) return val;
607
+ if (isCallable$b(fn = input.valueOf) && !isObject$4(val = call$8(fn, input))) return val;
608
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$4(val = call$8(fn, input))) return val;
609
609
  throw new $TypeError$4("Can't convert object to primitive value");
610
610
  };
611
611
 
@@ -613,7 +613,7 @@
613
613
 
614
614
  'use strict';
615
615
  var call$7 = functionCall;
616
- var isObject$4 = isObject$8;
616
+ var isObject$3 = isObject$7;
617
617
  var isSymbol$1 = isSymbol$2;
618
618
  var getMethod$1 = getMethod$2;
619
619
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
@@ -625,13 +625,13 @@
625
625
  // `ToPrimitive` abstract operation
626
626
  // https://tc39.es/ecma262/#sec-toprimitive
627
627
  var toPrimitive$1 = function (input, pref) {
628
- if (!isObject$4(input) || isSymbol$1(input)) return input;
628
+ if (!isObject$3(input) || isSymbol$1(input)) return input;
629
629
  var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
630
630
  var result;
631
631
  if (exoticToPrim) {
632
632
  if (pref === undefined) pref = 'default';
633
633
  result = call$7(exoticToPrim, input, pref);
634
- if (!isObject$4(result) || isSymbol$1(result)) return result;
634
+ if (!isObject$3(result) || isSymbol$1(result)) return result;
635
635
  throw new $TypeError$3("Can't convert object to primitive value");
636
636
  }
637
637
  if (pref === undefined) pref = 'number';
@@ -657,7 +657,7 @@
657
657
  var DESCRIPTORS$6 = descriptors;
658
658
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
659
659
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
660
- var anObject$6 = anObject$7;
660
+ var anObject$7 = anObject$8;
661
661
  var toPropertyKey$1 = toPropertyKey$2;
662
662
 
663
663
  var $TypeError$2 = TypeError;
@@ -672,9 +672,9 @@
672
672
  // `Object.defineProperty` method
673
673
  // https://tc39.es/ecma262/#sec-object.defineproperty
674
674
  var f$5 = objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
675
- anObject$6(O);
675
+ anObject$7(O);
676
676
  P = toPropertyKey$1(P);
677
- anObject$6(Attributes);
677
+ anObject$7(Attributes);
678
678
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
679
679
  var current = $getOwnPropertyDescriptor$1(O, P);
680
680
  if (current && current[WRITABLE]) {
@@ -687,9 +687,9 @@
687
687
  }
688
688
  } return $defineProperty(O, P, Attributes);
689
689
  } : $defineProperty : function defineProperty(O, P, Attributes) {
690
- anObject$6(O);
690
+ anObject$7(O);
691
691
  P = toPropertyKey$1(P);
692
- anObject$6(Attributes);
692
+ anObject$7(Attributes);
693
693
  if (IE8_DOM_DEFINE$1) try {
694
694
  return $defineProperty(O, P, Attributes);
695
695
  } catch (error) { /* empty */ }
@@ -776,7 +776,6 @@
776
776
  return function ($this, el, fromIndex) {
777
777
  var O = toIndexedObject$4($this);
778
778
  var length = lengthOfArrayLike(O);
779
- if (length === 0) return !IS_INCLUDES && -1;
780
779
  var index = toAbsoluteIndex(fromIndex, length);
781
780
  var value;
782
781
  // Array#includes uses SameValueZero equality algorithm
@@ -863,7 +862,7 @@
863
862
  var DESCRIPTORS$5 = descriptors;
864
863
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
865
864
  var definePropertyModule$3 = objectDefineProperty;
866
- var anObject$5 = anObject$7;
865
+ var anObject$6 = anObject$8;
867
866
  var toIndexedObject$2 = toIndexedObject$5;
868
867
  var objectKeys = objectKeys$1;
869
868
 
@@ -871,7 +870,7 @@
871
870
  // https://tc39.es/ecma262/#sec-object.defineproperties
872
871
  // eslint-disable-next-line es/no-object-defineproperties -- safe
873
872
  var f$4 = objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
874
- anObject$5(O);
873
+ anObject$6(O);
875
874
  var props = toIndexedObject$2(Properties);
876
875
  var keys = objectKeys(Properties);
877
876
  var length = keys.length;
@@ -889,7 +888,7 @@
889
888
  var html$2 = /*@__PURE__*/getDefaultExportFromCjs(html$1);
890
889
 
891
890
  'use strict';
892
- var shared$2 = shared$4;
891
+ var shared$2 = sharedExports;
893
892
  var uid = uid$2;
894
893
 
895
894
  var keys = shared$2('keys');
@@ -902,7 +901,7 @@
902
901
 
903
902
  'use strict';
904
903
  /* global ActiveXObject -- old IE, WSH */
905
- var anObject$4 = anObject$7;
904
+ var anObject$5 = anObject$8;
906
905
  var definePropertiesModule = objectDefineProperties;
907
906
  var enumBugKeys$1 = enumBugKeys$3;
908
907
  var hiddenKeys$2 = hiddenKeys$4;
@@ -976,7 +975,7 @@
976
975
  var objectCreate = Object.create || function create(O, Properties) {
977
976
  var result;
978
977
  if (O !== null) {
979
- EmptyConstructor[PROTOTYPE] = anObject$4(O);
978
+ EmptyConstructor[PROTOTYPE] = anObject$5(O);
980
979
  result = new EmptyConstructor();
981
980
  EmptyConstructor[PROTOTYPE] = null;
982
981
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1017,7 +1016,7 @@
1017
1016
  var iterators$1 = /*@__PURE__*/getDefaultExportFromCjs(iterators);
1018
1017
 
1019
1018
  'use strict';
1020
- var global$7 = global$e;
1019
+ var global$7 = global$f;
1021
1020
  var isCallable$a = isCallable$g;
1022
1021
 
1023
1022
  var WeakMap$1 = global$7.WeakMap;
@@ -1054,11 +1053,11 @@
1054
1053
 
1055
1054
  'use strict';
1056
1055
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
1057
- var global$6 = global$e;
1058
- var isObject$3 = isObject$8;
1056
+ var global$6 = global$f;
1057
+ var isObject$2 = isObject$7;
1059
1058
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
1060
1059
  var hasOwn$6 = hasOwnProperty_1;
1061
- var shared$1 = sharedStoreExports;
1060
+ var shared$1 = sharedStore;
1062
1061
  var sharedKey$1 = sharedKey$3;
1063
1062
  var hiddenKeys$1 = hiddenKeys$4;
1064
1063
 
@@ -1074,7 +1073,7 @@
1074
1073
  var getterFor = function (TYPE) {
1075
1074
  return function (it) {
1076
1075
  var state;
1077
- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
1076
+ if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
1078
1077
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
1079
1078
  } return state;
1080
1079
  };
@@ -1195,7 +1194,7 @@
1195
1194
  'use strict';
1196
1195
  var uncurryThis$7 = functionUncurryThis;
1197
1196
  var isCallable$9 = isCallable$g;
1198
- var store = sharedStoreExports;
1197
+ var store = sharedStore;
1199
1198
 
1200
1199
  var functionToString = uncurryThis$7(Function.toString);
1201
1200
 
@@ -1328,13 +1327,13 @@
1328
1327
  var uncurryThis$5 = functionUncurryThis;
1329
1328
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1330
1329
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1331
- var anObject$3 = anObject$7;
1330
+ var anObject$4 = anObject$8;
1332
1331
 
1333
1332
  var concat$1 = uncurryThis$5([].concat);
1334
1333
 
1335
1334
  // all object keys, includes non-enumerable and symbols
1336
1335
  var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1337
- var keys = getOwnPropertyNamesModule.f(anObject$3(it));
1336
+ var keys = getOwnPropertyNamesModule.f(anObject$4(it));
1338
1337
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1339
1338
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1340
1339
  };
@@ -1388,7 +1387,7 @@
1388
1387
  var isForced$2 = /*@__PURE__*/getDefaultExportFromCjs(isForced_1);
1389
1388
 
1390
1389
  'use strict';
1391
- var global$5 = global$e;
1390
+ var global$5 = global$f;
1392
1391
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1393
1392
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1394
1393
  var defineBuiltIn$3 = defineBuiltIn$4;
@@ -1485,7 +1484,7 @@
1485
1484
  'use strict';
1486
1485
  var fails$5 = fails$f;
1487
1486
  var isCallable$4 = isCallable$g;
1488
- var isObject$2 = isObject$8;
1487
+ var isObject$1 = isObject$7;
1489
1488
  var create$2 = objectCreate;
1490
1489
  var getPrototypeOf$1 = objectGetPrototypeOf;
1491
1490
  var defineBuiltIn$2 = defineBuiltIn$4;
@@ -1510,7 +1509,7 @@
1510
1509
  }
1511
1510
  }
1512
1511
 
1513
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$5(function () {
1512
+ var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails$5(function () {
1514
1513
  var test = {};
1515
1514
  // FF44- legacy iterators case
1516
1515
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1583,10 +1582,10 @@
1583
1582
  var functionUncurryThisAccessor$1 = /*@__PURE__*/getDefaultExportFromCjs(functionUncurryThisAccessor);
1584
1583
 
1585
1584
  'use strict';
1586
- var isObject$1 = isObject$8;
1585
+ var isObject = isObject$7;
1587
1586
 
1588
1587
  var isPossiblePrototype$1 = function (argument) {
1589
- return isObject$1(argument) || argument === null;
1588
+ return isObject(argument) || argument === null;
1590
1589
  };
1591
1590
 
1592
1591
  var isPossiblePrototype$2 = /*@__PURE__*/getDefaultExportFromCjs(isPossiblePrototype$1);
@@ -1607,8 +1606,7 @@
1607
1606
  'use strict';
1608
1607
  /* eslint-disable no-proto -- safe */
1609
1608
  var uncurryThisAccessor = functionUncurryThisAccessor;
1610
- var isObject = isObject$8;
1611
- var requireObjectCoercible$2 = requireObjectCoercible$5;
1609
+ var anObject$3 = anObject$8;
1612
1610
  var aPossiblePrototype = aPossiblePrototype$1;
1613
1611
 
1614
1612
  // `Object.setPrototypeOf` method
@@ -1625,9 +1623,8 @@
1625
1623
  CORRECT_SETTER = test instanceof Array;
1626
1624
  } catch (error) { /* empty */ }
1627
1625
  return function setPrototypeOf(O, proto) {
1628
- requireObjectCoercible$2(O);
1626
+ anObject$3(O);
1629
1627
  aPossiblePrototype(proto);
1630
- if (!isObject(O)) return O;
1631
1628
  if (CORRECT_SETTER) setter(O, proto);
1632
1629
  else O.__proto__ = proto;
1633
1630
  return O;
@@ -1816,7 +1813,7 @@
1816
1813
  var es_array_iterator$1 = /*@__PURE__*/getDefaultExportFromCjs(es_array_iterator);
1817
1814
 
1818
1815
  'use strict';
1819
- var global$4 = global$e;
1816
+ var global$4 = global$f;
1820
1817
  var DOMIterables = domIterables;
1821
1818
  var DOMTokenListPrototype = domTokenListPrototype;
1822
1819
  var ArrayIteratorMethods = es_array_iterator;
@@ -1929,7 +1926,7 @@
1929
1926
  var toString$4 = /*@__PURE__*/getDefaultExportFromCjs(toString$3);
1930
1927
 
1931
1928
  'use strict';
1932
- var anObject$2 = anObject$7;
1929
+ var anObject$2 = anObject$8;
1933
1930
 
1934
1931
  // `RegExp.prototype.flags` getter implementation
1935
1932
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
@@ -1951,7 +1948,7 @@
1951
1948
 
1952
1949
  'use strict';
1953
1950
  var fails$4 = fails$f;
1954
- var global$3 = global$e;
1951
+ var global$3 = global$f;
1955
1952
 
1956
1953
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1957
1954
  var $RegExp$2 = global$3.RegExp;
@@ -1985,7 +1982,7 @@
1985
1982
 
1986
1983
  'use strict';
1987
1984
  var fails$3 = fails$f;
1988
- var global$2 = global$e;
1985
+ var global$2 = global$f;
1989
1986
 
1990
1987
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1991
1988
  var $RegExp$1 = global$2.RegExp;
@@ -1999,7 +1996,7 @@
1999
1996
 
2000
1997
  'use strict';
2001
1998
  var fails$2 = fails$f;
2002
- var global$1 = global$e;
1999
+ var global$1 = global$f;
2003
2000
 
2004
2001
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2005
2002
  var $RegExp = global$1.RegExp;
@@ -2020,7 +2017,7 @@
2020
2017
  var toString$2 = toString$3;
2021
2018
  var regexpFlags = regexpFlags$1;
2022
2019
  var stickyHelpers = regexpStickyHelpers;
2023
- var shared = shared$4;
2020
+ var shared = sharedExports;
2024
2021
  var create = objectCreate;
2025
2022
  var getInternalState = internalState.get;
2026
2023
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
@@ -2225,7 +2222,7 @@
2225
2222
  var uncurryThis$2 = functionUncurryThis;
2226
2223
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
2227
2224
  var toString$1 = toString$3;
2228
- var requireObjectCoercible$1 = requireObjectCoercible$5;
2225
+ var requireObjectCoercible$1 = requireObjectCoercible$4;
2229
2226
 
2230
2227
  var charAt$2 = uncurryThis$2(''.charAt);
2231
2228
  var charCodeAt = uncurryThis$2(''.charCodeAt);
@@ -2323,7 +2320,7 @@
2323
2320
 
2324
2321
  'use strict';
2325
2322
  var call$1 = functionCall;
2326
- var anObject$1 = anObject$7;
2323
+ var anObject$1 = anObject$8;
2327
2324
  var isCallable$1 = isCallable$g;
2328
2325
  var classof = classofRaw$1;
2329
2326
  var regexpExec = regexpExec$2;
@@ -2351,13 +2348,13 @@
2351
2348
  var uncurryThis = functionUncurryThis;
2352
2349
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2353
2350
  var fails = fails$f;
2354
- var anObject = anObject$7;
2351
+ var anObject = anObject$8;
2355
2352
  var isCallable = isCallable$g;
2356
2353
  var isNullOrUndefined = isNullOrUndefined$3;
2357
2354
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
2358
2355
  var toLength = toLength$2;
2359
2356
  var toString = toString$3;
2360
- var requireObjectCoercible = requireObjectCoercible$5;
2357
+ var requireObjectCoercible = requireObjectCoercible$4;
2361
2358
  var advanceStringIndex = advanceStringIndex$1;
2362
2359
  var getMethod = getMethod$2;
2363
2360
  var getSubstitution = getSubstitution$1;
@@ -4752,6 +4749,11 @@
4752
4749
  }
4753
4750
  }
4754
4751
 
4752
+ if (!hasChecked && !hasUnchecked) {
4753
+ // No items to check or uncheck, keep current state
4754
+ return this;
4755
+ }
4756
+
4755
4757
  let shouldCheckGroup = hasChecked && !hasUnchecked;
4756
4758
  if (!!groupItem._checked !== shouldCheckGroup) {
4757
4759
  // Update state