n8n-editor-ui 1.123.48 → 1.123.49

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.
@@ -1436,553 +1436,145 @@
1436
1436
  INTERRUPTED: true
1437
1437
  }).result;
1438
1438
  } });
1439
- var require_get_iterator_flattenable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1440
- var call$12 = require_function_call();
1441
- var anObject$10 = require_an_object();
1442
- var getIteratorDirect$8 = require_get_iterator_direct();
1443
- var getIteratorMethod = require_get_iterator_method();
1444
- module.exports = function(obj, stringHandling) {
1445
- if (!stringHandling || typeof obj !== "string") anObject$10(obj);
1446
- var method = getIteratorMethod(obj);
1447
- return getIteratorDirect$8(anObject$10(method !== void 0 ? call$12(method, obj) : obj));
1448
- };
1449
- }));
1450
1439
  var $$20 = require_export();
1451
- var call$11 = require_function_call();
1440
+ var call$12 = require_function_call();
1452
1441
  var aCallable$6 = require_a_callable();
1453
- var anObject$9 = require_an_object();
1454
- var getIteratorDirect$7 = require_get_iterator_direct();
1455
- var getIteratorFlattenable = require_get_iterator_flattenable();
1442
+ var anObject$10 = require_an_object();
1443
+ var getIteratorDirect$8 = require_get_iterator_direct();
1456
1444
  var createIteratorProxy$2 = require_iterator_create_proxy();
1445
+ var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
1457
1446
  var iteratorClose$5 = require_iterator_close();
1458
- var IS_PURE$6 = require_is_pure();
1459
1447
  var iteratorHelperThrowsOnInvalidIterator$2 = require_iterator_helper_throws_on_invalid_iterator();
1460
1448
  var iteratorHelperWithoutClosingOnEarlyError$3 = require_iterator_helper_without_closing_on_early_error();
1461
- var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE$6 && !iteratorHelperThrowsOnInvalidIterator$2("flatMap", function() {});
1462
- var flatMapWithoutClosingOnEarlyError = !IS_PURE$6 && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError$3("flatMap", TypeError);
1463
- var FORCED$2 = IS_PURE$6 || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError;
1449
+ var IS_PURE$6 = require_is_pure();
1450
+ var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE$6 && !iteratorHelperThrowsOnInvalidIterator$2("map", function() {});
1451
+ var mapWithoutClosingOnEarlyError = !IS_PURE$6 && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError$3("map", TypeError);
1452
+ var FORCED$2 = IS_PURE$6 || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
1464
1453
  var IteratorProxy$2 = createIteratorProxy$2(function() {
1465
1454
  var iterator = this.iterator;
1466
- var mapper = this.mapper;
1467
- var result, inner;
1468
- while (true) {
1469
- if (inner = this.inner) try {
1470
- result = anObject$9(call$11(inner.next, inner.iterator));
1471
- if (!result.done) return result.value;
1472
- this.inner = null;
1473
- } catch (error) {
1474
- iteratorClose$5(iterator, "throw", error);
1475
- }
1476
- result = anObject$9(call$11(this.next, iterator));
1477
- if (this.done = !!result.done) return;
1478
- try {
1479
- this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
1480
- } catch (error) {
1481
- iteratorClose$5(iterator, "throw", error);
1482
- }
1483
- }
1455
+ var result = anObject$10(call$12(this.next, iterator));
1456
+ if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1484
1457
  });
1485
1458
  $$20({
1486
1459
  target: "Iterator",
1487
1460
  proto: true,
1488
1461
  real: true,
1489
1462
  forced: FORCED$2
1490
- }, { flatMap: function flatMap(mapper) {
1491
- anObject$9(this);
1463
+ }, { map: function map(mapper) {
1464
+ anObject$10(this);
1492
1465
  try {
1493
1466
  aCallable$6(mapper);
1494
1467
  } catch (error) {
1495
1468
  iteratorClose$5(this, "throw", error);
1496
1469
  }
1497
- if (flatMapWithoutClosingOnEarlyError) return call$11(flatMapWithoutClosingOnEarlyError, this, mapper);
1498
- return new IteratorProxy$2(getIteratorDirect$7(this), {
1499
- mapper,
1500
- inner: null
1501
- });
1470
+ if (mapWithoutClosingOnEarlyError) return call$12(mapWithoutClosingOnEarlyError, this, mapper);
1471
+ return new IteratorProxy$2(getIteratorDirect$8(this), { mapper });
1502
1472
  } });
1503
1473
  var $$19 = require_export();
1504
- var call$10 = require_function_call();
1474
+ var call$11 = require_function_call();
1475
+ var iterate$5 = require_iterate();
1505
1476
  var aCallable$5 = require_a_callable();
1506
- var anObject$8 = require_an_object();
1507
- var getIteratorDirect$6 = require_get_iterator_direct();
1508
- var createIteratorProxy$1 = require_iterator_create_proxy();
1509
- var callWithSafeIterationClosing = require_call_with_safe_iteration_closing();
1477
+ var anObject$9 = require_an_object();
1478
+ var getIteratorDirect$7 = require_get_iterator_direct();
1510
1479
  var iteratorClose$4 = require_iterator_close();
1511
- var iteratorHelperThrowsOnInvalidIterator$1 = require_iterator_helper_throws_on_invalid_iterator();
1512
- var iteratorHelperWithoutClosingOnEarlyError$2 = require_iterator_helper_without_closing_on_early_error();
1513
- var IS_PURE$5 = require_is_pure();
1514
- var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE$5 && !iteratorHelperThrowsOnInvalidIterator$1("map", function() {});
1515
- var mapWithoutClosingOnEarlyError = !IS_PURE$5 && !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError$2("map", TypeError);
1516
- var FORCED$1 = IS_PURE$5 || MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
1517
- var IteratorProxy$1 = createIteratorProxy$1(function() {
1518
- var iterator = this.iterator;
1519
- var result = anObject$8(call$10(this.next, iterator));
1520
- if (!(this.done = !!result.done)) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1521
- });
1522
- $$19({
1523
- target: "Iterator",
1524
- proto: true,
1525
- real: true,
1526
- forced: FORCED$1
1527
- }, { map: function map(mapper) {
1528
- anObject$8(this);
1529
- try {
1530
- aCallable$5(mapper);
1531
- } catch (error) {
1532
- iteratorClose$4(this, "throw", error);
1533
- }
1534
- if (mapWithoutClosingOnEarlyError) return call$10(mapWithoutClosingOnEarlyError, this, mapper);
1535
- return new IteratorProxy$1(getIteratorDirect$6(this), { mapper });
1536
- } });
1537
- var require_function_apply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1538
- var NATIVE_BIND = require_function_bind_native();
1539
- var FunctionPrototype = Function.prototype;
1540
- var apply$3 = FunctionPrototype.apply;
1541
- var call$9 = FunctionPrototype.call;
1542
- module.exports = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND ? call$9.bind(apply$3) : function() {
1543
- return call$9.apply(apply$3, arguments);
1544
- });
1545
- }));
1546
- var $$18 = require_export();
1547
- var iterate$5 = require_iterate();
1548
- var aCallable$4 = require_a_callable();
1549
- var anObject$7 = require_an_object();
1550
- var getIteratorDirect$5 = require_get_iterator_direct();
1551
- var iteratorClose$3 = require_iterator_close();
1552
- var iteratorHelperWithoutClosingOnEarlyError$1 = require_iterator_helper_without_closing_on_early_error();
1553
- var apply$2 = require_function_apply();
1554
- var fails$9 = require_fails();
1555
- var $TypeError$9 = TypeError;
1556
- var FAILS_ON_INITIAL_UNDEFINED = fails$9(function() {
1557
- [].keys().reduce(function() {}, void 0);
1558
- });
1559
- var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError$1("reduce", $TypeError$9);
1560
- $$18({
1561
- target: "Iterator",
1562
- proto: true,
1563
- real: true,
1564
- forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError
1565
- }, { reduce: function reduce(reducer) {
1566
- anObject$7(this);
1567
- try {
1568
- aCallable$4(reducer);
1569
- } catch (error) {
1570
- iteratorClose$3(this, "throw", error);
1571
- }
1572
- var noInitial = arguments.length < 2;
1573
- var accumulator = noInitial ? void 0 : arguments[1];
1574
- if (reduceWithoutClosingOnEarlyError) return apply$2(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
1575
- var record = getIteratorDirect$5(this);
1576
- var counter$1 = 0;
1577
- iterate$5(record, function(value) {
1578
- if (noInitial) {
1579
- noInitial = false;
1580
- accumulator = value;
1581
- } else accumulator = reducer(accumulator, value, counter$1);
1582
- counter$1++;
1583
- }, { IS_RECORD: true });
1584
- if (noInitial) throw new $TypeError$9("Reduce of empty iterator with no initial value");
1585
- return accumulator;
1586
- } });
1587
- var $$17 = require_export();
1588
- var call$8 = require_function_call();
1589
- var iterate$4 = require_iterate();
1590
- var aCallable$3 = require_a_callable();
1591
- var anObject$6 = require_an_object();
1592
- var getIteratorDirect$4 = require_get_iterator_direct();
1593
- var iteratorClose$2 = require_iterator_close();
1594
1480
  var someWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("some", TypeError);
1595
- $$17({
1481
+ $$19({
1596
1482
  target: "Iterator",
1597
1483
  proto: true,
1598
1484
  real: true,
1599
1485
  forced: someWithoutClosingOnEarlyError
1600
1486
  }, { some: function some(predicate) {
1601
- anObject$6(this);
1487
+ anObject$9(this);
1602
1488
  try {
1603
- aCallable$3(predicate);
1489
+ aCallable$5(predicate);
1604
1490
  } catch (error) {
1605
- iteratorClose$2(this, "throw", error);
1491
+ iteratorClose$4(this, "throw", error);
1606
1492
  }
1607
- if (someWithoutClosingOnEarlyError) return call$8(someWithoutClosingOnEarlyError, this, predicate);
1608
- var record = getIteratorDirect$4(this);
1493
+ if (someWithoutClosingOnEarlyError) return call$11(someWithoutClosingOnEarlyError, this, predicate);
1494
+ var record = getIteratorDirect$7(this);
1609
1495
  var counter$1 = 0;
1610
- return iterate$4(record, function(value, stop) {
1496
+ return iterate$5(record, function(value, stop) {
1611
1497
  if (predicate(value, counter$1++)) return stop();
1612
1498
  }, {
1613
1499
  IS_RECORD: true,
1614
1500
  INTERRUPTED: true
1615
1501
  }).stopped;
1616
1502
  } });
1617
- var require_set_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1618
- var uncurryThis$14 = require_function_uncurry_this();
1619
- var SetPrototype$1 = Set.prototype;
1620
- module.exports = {
1621
- Set,
1622
- add: uncurryThis$14(SetPrototype$1.add),
1623
- has: uncurryThis$14(SetPrototype$1.has),
1624
- remove: uncurryThis$14(SetPrototype$1["delete"]),
1625
- proto: SetPrototype$1
1626
- };
1627
- }));
1628
- var require_a_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1629
- var has$2 = require_set_helpers().has;
1630
- module.exports = function(it) {
1631
- has$2(it);
1632
- return it;
1633
- };
1634
- }));
1635
- var require_iterate_simple = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1636
- var call$7 = require_function_call();
1637
- module.exports = function(record, fn, ITERATOR_INSTEAD_OF_RECORD) {
1638
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
1639
- var next$1 = record.next;
1640
- var step, result;
1641
- while (!(step = call$7(next$1, iterator)).done) {
1642
- result = fn(step.value);
1643
- if (result !== void 0) return result;
1644
- }
1645
- };
1646
- }));
1647
- var require_set_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1648
- var uncurryThis$13 = require_function_uncurry_this();
1649
- var iterateSimple$3 = require_iterate_simple();
1650
- var SetHelpers$5 = require_set_helpers();
1651
- var Set$3 = SetHelpers$5.Set;
1652
- var SetPrototype = SetHelpers$5.proto;
1653
- var forEach = uncurryThis$13(SetPrototype.forEach);
1654
- var keys = uncurryThis$13(SetPrototype.keys);
1655
- var next = keys(new Set$3()).next;
1656
- module.exports = function(set$2, fn, interruptible) {
1657
- return interruptible ? iterateSimple$3({
1658
- iterator: keys(set$2),
1659
- next
1660
- }, fn) : forEach(set$2, fn);
1661
- };
1662
- }));
1663
- var require_set_clone = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1664
- var SetHelpers$4 = require_set_helpers();
1665
- var iterate$3 = require_set_iterate();
1666
- var Set$2 = SetHelpers$4.Set;
1667
- var add$2 = SetHelpers$4.add;
1668
- module.exports = function(set$2) {
1669
- var result = new Set$2();
1670
- iterate$3(set$2, function(it) {
1671
- add$2(result, it);
1672
- });
1673
- return result;
1674
- };
1675
- }));
1676
- var require_function_uncurry_this_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1677
- var uncurryThis$12 = require_function_uncurry_this();
1678
- var aCallable$2 = require_a_callable();
1679
- module.exports = function(object, key$1, method) {
1680
- try {
1681
- return uncurryThis$12(aCallable$2(Object.getOwnPropertyDescriptor(object, key$1)[method]));
1682
- } catch (error) {}
1503
+ var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1504
+ var classof$8 = require_classof_raw();
1505
+ module.exports = Array.isArray || function isArray$1(argument) {
1506
+ return classof$8(argument) === "Array";
1683
1507
  };
1684
1508
  }));
1685
- var require_set_size = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1686
- module.exports = require_function_uncurry_this_accessor()(require_set_helpers().proto, "size", "get") || function(set$2) {
1687
- return set$2.size;
1509
+ var require_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1510
+ var classof$7 = require_classof();
1511
+ var $String$2 = String;
1512
+ module.exports = function(argument) {
1513
+ if (classof$7(argument) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
1514
+ return $String$2(argument);
1688
1515
  };
1689
1516
  }));
1690
- var require_get_set_record = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1691
- var aCallable$1 = require_a_callable();
1692
- var anObject$5 = require_an_object();
1693
- var call$6 = require_function_call();
1694
- var toIntegerOrInfinity$3 = require_to_integer_or_infinity();
1695
- var getIteratorDirect$3 = require_get_iterator_direct();
1696
- var INVALID_SIZE = "Invalid size";
1697
- var $RangeError$3 = RangeError;
1698
- var $TypeError$8 = TypeError;
1699
- var max = Math.max;
1700
- var SetRecord = function(set$2, intSize) {
1701
- this.set = set$2;
1702
- this.size = max(intSize, 0);
1703
- this.has = aCallable$1(set$2.has);
1704
- this.keys = aCallable$1(set$2.keys);
1517
+ var require_parse_json_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1518
+ var uncurryThis$14 = require_function_uncurry_this();
1519
+ var hasOwn$10 = require_has_own_property();
1520
+ var $SyntaxError = SyntaxError;
1521
+ var $parseInt = parseInt;
1522
+ var fromCharCode = String.fromCharCode;
1523
+ var at$2 = uncurryThis$14("".charAt);
1524
+ var slice$1 = uncurryThis$14("".slice);
1525
+ var exec$3 = uncurryThis$14(/./.exec);
1526
+ var codePoints = {
1527
+ "\\\"": "\"",
1528
+ "\\\\": "\\",
1529
+ "\\/": "/",
1530
+ "\\b": "\b",
1531
+ "\\f": "\f",
1532
+ "\\n": "\n",
1533
+ "\\r": "\r",
1534
+ "\\t": " "
1705
1535
  };
1706
- SetRecord.prototype = {
1707
- getIterator: function() {
1708
- return getIteratorDirect$3(anObject$5(call$6(this.keys, this.set)));
1709
- },
1710
- includes: function(it) {
1711
- return call$6(this.has, this.set, it);
1536
+ var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
1537
+ var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
1538
+ module.exports = function(source, i) {
1539
+ var unterminated = true;
1540
+ var value = "";
1541
+ while (i < source.length) {
1542
+ var chr = at$2(source, i);
1543
+ if (chr === "\\") {
1544
+ var twoChars = slice$1(source, i, i + 2);
1545
+ if (hasOwn$10(codePoints, twoChars)) {
1546
+ value += codePoints[twoChars];
1547
+ i += 2;
1548
+ } else if (twoChars === "\\u") {
1549
+ i += 2;
1550
+ var fourHexDigits = slice$1(source, i, i + 4);
1551
+ if (!exec$3(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError("Bad Unicode escape at: " + i);
1552
+ value += fromCharCode($parseInt(fourHexDigits, 16));
1553
+ i += 4;
1554
+ } else throw new $SyntaxError("Unknown escape sequence: \"" + twoChars + "\"");
1555
+ } else if (chr === "\"") {
1556
+ unterminated = false;
1557
+ i++;
1558
+ break;
1559
+ } else {
1560
+ if (exec$3(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError("Bad control character in string literal at: " + i);
1561
+ value += chr;
1562
+ i++;
1563
+ }
1712
1564
  }
1713
- };
1714
- module.exports = function(obj) {
1715
- anObject$5(obj);
1716
- var numSize = +obj.size;
1717
- if (numSize !== numSize) throw new $TypeError$8(INVALID_SIZE);
1718
- var intSize = toIntegerOrInfinity$3(numSize);
1719
- if (intSize < 0) throw new $RangeError$3(INVALID_SIZE);
1720
- return new SetRecord(obj, intSize);
1565
+ if (unterminated) throw new $SyntaxError("Unterminated string at: " + i);
1566
+ return {
1567
+ value,
1568
+ end: i
1569
+ };
1721
1570
  };
1722
1571
  }));
1723
- var require_set_difference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1724
- var aSet$2 = require_a_set();
1725
- var SetHelpers$2 = require_set_helpers();
1726
- var clone$2 = require_set_clone();
1727
- var size = require_set_size();
1728
- var getSetRecord$2 = require_get_set_record();
1729
- var iterateSet = require_set_iterate();
1730
- var iterateSimple$2 = require_iterate_simple();
1731
- var has$1 = SetHelpers$2.has;
1732
- var remove$1 = SetHelpers$2.remove;
1733
- module.exports = function difference$1(other) {
1734
- var O = aSet$2(this);
1735
- var otherRec = getSetRecord$2(other);
1736
- var result = clone$2(O);
1737
- if (size(O) <= otherRec.size) iterateSet(O, function(e) {
1738
- if (otherRec.includes(e)) remove$1(result, e);
1739
- });
1740
- else iterateSimple$2(otherRec.getIterator(), function(e) {
1741
- if (has$1(result, e)) remove$1(result, e);
1742
- });
1743
- return result;
1744
- };
1745
- }));
1746
- var require_set_method_accept_set_like = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1747
- var getBuiltIn$5 = require_get_built_in();
1748
- var createSetLike = function(size$1) {
1749
- return {
1750
- size: size$1,
1751
- has: function() {
1752
- return false;
1753
- },
1754
- keys: function() {
1755
- return { next: function() {
1756
- return { done: true };
1757
- } };
1758
- }
1759
- };
1760
- };
1761
- var createSetLikeWithInfinitySize = function(size$1) {
1762
- return {
1763
- size: size$1,
1764
- has: function() {
1765
- return true;
1766
- },
1767
- keys: function() {
1768
- throw new Error("e");
1769
- }
1770
- };
1771
- };
1772
- module.exports = function(name, callback) {
1773
- var Set$4 = getBuiltIn$5("Set");
1774
- try {
1775
- new Set$4()[name](createSetLike(0));
1776
- try {
1777
- new Set$4()[name](createSetLike(-1));
1778
- return false;
1779
- } catch (error2) {
1780
- if (!callback) return true;
1781
- try {
1782
- new Set$4()[name](createSetLikeWithInfinitySize(-Infinity));
1783
- return false;
1784
- } catch (error) {
1785
- var set$2 = new Set$4();
1786
- set$2.add(1);
1787
- set$2.add(2);
1788
- return callback(set$2[name](createSetLikeWithInfinitySize(Infinity)));
1789
- }
1790
- }
1791
- } catch (error) {
1792
- return false;
1793
- }
1794
- };
1795
- }));
1796
- var $$16 = require_export();
1797
- var difference = require_set_difference();
1798
- var fails$8 = require_fails();
1799
- $$16({
1800
- target: "Set",
1801
- proto: true,
1802
- real: true,
1803
- forced: !require_set_method_accept_set_like()("difference", function(result) {
1804
- return result.size === 0;
1805
- }) || fails$8(function() {
1806
- var setLike = {
1807
- size: 1,
1808
- has: function() {
1809
- return true;
1810
- },
1811
- keys: function() {
1812
- var index = 0;
1813
- return { next: function() {
1814
- var done = index++ > 1;
1815
- if (baseSet.has(1)) baseSet.clear();
1816
- return {
1817
- done,
1818
- value: 2
1819
- };
1820
- } };
1821
- }
1822
- };
1823
- var baseSet = new Set([
1824
- 1,
1825
- 2,
1826
- 3,
1827
- 4
1828
- ]);
1829
- return baseSet.difference(setLike).size !== 3;
1830
- })
1831
- }, { difference });
1832
- var require_set_symmetric_difference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1833
- var aSet$1 = require_a_set();
1834
- var SetHelpers$1 = require_set_helpers();
1835
- var clone$1 = require_set_clone();
1836
- var getSetRecord$1 = require_get_set_record();
1837
- var iterateSimple$1 = require_iterate_simple();
1838
- var add$1 = SetHelpers$1.add;
1839
- var has = SetHelpers$1.has;
1840
- var remove = SetHelpers$1.remove;
1841
- module.exports = function symmetricDifference$1(other) {
1842
- var O = aSet$1(this);
1843
- var keysIter = getSetRecord$1(other).getIterator();
1844
- var result = clone$1(O);
1845
- iterateSimple$1(keysIter, function(e) {
1846
- if (has(O, e)) remove(result, e);
1847
- else add$1(result, e);
1848
- });
1849
- return result;
1850
- };
1851
- }));
1852
- var require_set_method_get_keys_before_cloning_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1853
- module.exports = function(METHOD_NAME) {
1854
- try {
1855
- var baseSet = /* @__PURE__ */ new Set();
1856
- var result = baseSet[METHOD_NAME]({
1857
- size: 0,
1858
- has: function() {
1859
- return true;
1860
- },
1861
- keys: function() {
1862
- return Object.defineProperty({}, "next", { get: function() {
1863
- baseSet.clear();
1864
- baseSet.add(4);
1865
- return function() {
1866
- return { done: true };
1867
- };
1868
- } });
1869
- }
1870
- });
1871
- return result.size === 1 && result.values().next().value === 4;
1872
- } catch (error) {
1873
- return false;
1874
- }
1875
- };
1876
- }));
1877
- var $$15 = require_export();
1878
- var symmetricDifference = require_set_symmetric_difference();
1879
- var setMethodGetKeysBeforeCloning$1 = require_set_method_get_keys_before_cloning_detection();
1880
- $$15({
1881
- target: "Set",
1882
- proto: true,
1883
- real: true,
1884
- forced: !require_set_method_accept_set_like()("symmetricDifference") || !setMethodGetKeysBeforeCloning$1("symmetricDifference")
1885
- }, { symmetricDifference });
1886
- var require_set_union = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1887
- var aSet = require_a_set();
1888
- var add = require_set_helpers().add;
1889
- var clone = require_set_clone();
1890
- var getSetRecord = require_get_set_record();
1891
- var iterateSimple = require_iterate_simple();
1892
- module.exports = function union$1(other) {
1893
- var O = aSet(this);
1894
- var keysIter = getSetRecord(other).getIterator();
1895
- var result = clone(O);
1896
- iterateSimple(keysIter, function(it) {
1897
- add(result, it);
1898
- });
1899
- return result;
1900
- };
1901
- }));
1902
- var $$14 = require_export();
1903
- var union = require_set_union();
1904
- var setMethodGetKeysBeforeCloning = require_set_method_get_keys_before_cloning_detection();
1905
- $$14({
1906
- target: "Set",
1907
- proto: true,
1908
- real: true,
1909
- forced: !require_set_method_accept_set_like()("union") || !setMethodGetKeysBeforeCloning("union")
1910
- }, { union });
1911
- var require_is_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1912
- var classof$8 = require_classof_raw();
1913
- module.exports = Array.isArray || function isArray$1(argument) {
1914
- return classof$8(argument) === "Array";
1915
- };
1916
- }));
1917
- var require_to_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1918
- var classof$7 = require_classof();
1919
- var $String$2 = String;
1920
- module.exports = function(argument) {
1921
- if (classof$7(argument) === "Symbol") throw new TypeError("Cannot convert a Symbol value to a string");
1922
- return $String$2(argument);
1923
- };
1924
- }));
1925
- var require_parse_json_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1926
- var uncurryThis$11 = require_function_uncurry_this();
1927
- var hasOwn$10 = require_has_own_property();
1928
- var $SyntaxError = SyntaxError;
1929
- var $parseInt = parseInt;
1930
- var fromCharCode = String.fromCharCode;
1931
- var at$2 = uncurryThis$11("".charAt);
1932
- var slice$1 = uncurryThis$11("".slice);
1933
- var exec$3 = uncurryThis$11(/./.exec);
1934
- var codePoints = {
1935
- "\\\"": "\"",
1936
- "\\\\": "\\",
1937
- "\\/": "/",
1938
- "\\b": "\b",
1939
- "\\f": "\f",
1940
- "\\n": "\n",
1941
- "\\r": "\r",
1942
- "\\t": " "
1943
- };
1944
- var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i;
1945
- var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/;
1946
- module.exports = function(source, i) {
1947
- var unterminated = true;
1948
- var value = "";
1949
- while (i < source.length) {
1950
- var chr = at$2(source, i);
1951
- if (chr === "\\") {
1952
- var twoChars = slice$1(source, i, i + 2);
1953
- if (hasOwn$10(codePoints, twoChars)) {
1954
- value += codePoints[twoChars];
1955
- i += 2;
1956
- } else if (twoChars === "\\u") {
1957
- i += 2;
1958
- var fourHexDigits = slice$1(source, i, i + 4);
1959
- if (!exec$3(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError("Bad Unicode escape at: " + i);
1960
- value += fromCharCode($parseInt(fourHexDigits, 16));
1961
- i += 4;
1962
- } else throw new $SyntaxError("Unknown escape sequence: \"" + twoChars + "\"");
1963
- } else if (chr === "\"") {
1964
- unterminated = false;
1965
- i++;
1966
- break;
1967
- } else {
1968
- if (exec$3(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError("Bad control character in string literal at: " + i);
1969
- value += chr;
1970
- i++;
1971
- }
1972
- }
1973
- if (unterminated) throw new $SyntaxError("Unterminated string at: " + i);
1974
- return {
1975
- value,
1976
- end: i
1977
- };
1978
- };
1979
- }));
1980
- var $$13 = require_export();
1572
+ var $$18 = require_export();
1981
1573
  var DESCRIPTORS$2 = require_descriptors();
1982
1574
  var globalThis$26 = require_global_this();
1983
- var getBuiltIn$4 = require_get_built_in();
1984
- var uncurryThis$10 = require_function_uncurry_this();
1985
- var call$5 = require_function_call();
1575
+ var getBuiltIn$5 = require_get_built_in();
1576
+ var uncurryThis$13 = require_function_uncurry_this();
1577
+ var call$10 = require_function_call();
1986
1578
  var isCallable$7 = require_is_callable();
1987
1579
  var isObject$6 = require_is_object();
1988
1580
  var isArray = require_is_array();
@@ -1990,19 +1582,19 @@
1990
1582
  var toString$1 = require_to_string();
1991
1583
  var lengthOfArrayLike$4 = require_length_of_array_like();
1992
1584
  var createProperty$1 = require_create_property();
1993
- var fails$7 = require_fails();
1585
+ var fails$9 = require_fails();
1994
1586
  var parseJSONString = require_parse_json_string();
1995
1587
  var NATIVE_SYMBOL = require_symbol_constructor_detection();
1996
1588
  var JSON$1 = globalThis$26.JSON;
1997
1589
  var Number = globalThis$26.Number;
1998
1590
  var SyntaxError$3 = globalThis$26.SyntaxError;
1999
1591
  var nativeParse = JSON$1 && JSON$1.parse;
2000
- var enumerableOwnProperties = getBuiltIn$4("Object", "keys");
1592
+ var enumerableOwnProperties = getBuiltIn$5("Object", "keys");
2001
1593
  var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
2002
- var at$1 = uncurryThis$10("".charAt);
2003
- var slice = uncurryThis$10("".slice);
2004
- var exec$2 = uncurryThis$10(/./.exec);
2005
- var push$3 = uncurryThis$10([].push);
1594
+ var at$1 = uncurryThis$13("".charAt);
1595
+ var slice = uncurryThis$13("".slice);
1596
+ var exec$2 = uncurryThis$13(/./.exec);
1597
+ var push$3 = uncurryThis$13([].push);
2006
1598
  var IS_DIGIT = /^\d$/;
2007
1599
  var IS_NON_ZERO_DIGIT = /^[1-9]$/;
2008
1600
  var IS_NUMBER_START = /^[\d-]$/;
@@ -2039,7 +1631,7 @@
2039
1631
  }
2040
1632
  }
2041
1633
  }
2042
- return call$5(reviver, holder, name, val, context);
1634
+ return call$10(reviver, holder, name, val, context);
2043
1635
  };
2044
1636
  var internalizeProperty = function(object, key$1, value) {
2045
1637
  if (DESCRIPTORS$2) {
@@ -2182,7 +1774,7 @@
2182
1774
  throw new SyntaxError$3("Unexpected character: \"" + chr + "\" at: " + i);
2183
1775
  }
2184
1776
  };
2185
- var NO_SOURCE_SUPPORT = fails$7(function() {
1777
+ var NO_SOURCE_SUPPORT = fails$9(function() {
2186
1778
  var unsafeInt = "9007199254740993";
2187
1779
  var source;
2188
1780
  nativeParse(unsafeInt, function(key$1, value, context) {
@@ -2190,758 +1782,571 @@
2190
1782
  });
2191
1783
  return source !== unsafeInt;
2192
1784
  });
2193
- var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails$7(function() {
1785
+ var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails$9(function() {
2194
1786
  return 1 / nativeParse("-0 ") !== -Infinity;
2195
1787
  });
2196
- $$13({
1788
+ $$18({
2197
1789
  target: "JSON",
2198
1790
  stat: true,
2199
1791
  forced: NO_SOURCE_SUPPORT
2200
1792
  }, { parse: function parse(text, reviver) {
2201
1793
  return PROPER_BASE_PARSE && !isCallable$7(reviver) ? nativeParse(text) : $parse(text, reviver);
2202
1794
  } });
2203
- var $$12 = require_export();
2204
- var call$4 = require_function_call();
2205
- var iterate$2 = require_iterate();
2206
- var aCallable = require_a_callable();
2207
- var anObject$4 = require_an_object();
2208
- var getIteratorDirect$2 = require_get_iterator_direct();
2209
- var iteratorClose$1 = require_iterator_close();
2210
- var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError);
2211
- $$12({
1795
+ var $$17 = require_export();
1796
+ var call$9 = require_function_call();
1797
+ var iterate$4 = require_iterate();
1798
+ var aCallable$4 = require_a_callable();
1799
+ var anObject$8 = require_an_object();
1800
+ var getIteratorDirect$6 = require_get_iterator_direct();
1801
+ var iteratorClose$3 = require_iterator_close();
1802
+ var forEachWithoutClosingOnEarlyError = require_iterator_helper_without_closing_on_early_error()("forEach", TypeError);
1803
+ $$17({
2212
1804
  target: "Iterator",
2213
1805
  proto: true,
2214
1806
  real: true,
2215
1807
  forced: forEachWithoutClosingOnEarlyError
2216
1808
  }, { forEach: function forEach$1(fn) {
2217
- anObject$4(this);
1809
+ anObject$8(this);
2218
1810
  try {
2219
- aCallable(fn);
1811
+ aCallable$4(fn);
2220
1812
  } catch (error) {
2221
- iteratorClose$1(this, "throw", error);
1813
+ iteratorClose$3(this, "throw", error);
2222
1814
  }
2223
- if (forEachWithoutClosingOnEarlyError) return call$4(forEachWithoutClosingOnEarlyError, this, fn);
2224
- var record = getIteratorDirect$2(this);
1815
+ if (forEachWithoutClosingOnEarlyError) return call$9(forEachWithoutClosingOnEarlyError, this, fn);
1816
+ var record = getIteratorDirect$6(this);
2225
1817
  var counter$1 = 0;
2226
- iterate$2(record, function(value) {
1818
+ iterate$4(record, function(value) {
2227
1819
  fn(value, counter$1++);
2228
1820
  }, { IS_RECORD: true });
2229
1821
  } });
2230
- var require_array_from_constructor_and_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2231
- var lengthOfArrayLike$3 = require_length_of_array_like();
2232
- module.exports = function(Constructor$1, list, $length) {
2233
- var index = 0;
2234
- var length = arguments.length > 2 ? $length : lengthOfArrayLike$3(list);
2235
- var result = new Constructor$1(length);
2236
- while (length > index) result[index] = list[index++];
2237
- return result;
1822
+ var require_get_iterator_flattenable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1823
+ var call$8 = require_function_call();
1824
+ var anObject$7 = require_an_object();
1825
+ var getIteratorDirect$5 = require_get_iterator_direct();
1826
+ var getIteratorMethod = require_get_iterator_method();
1827
+ module.exports = function(obj, stringHandling) {
1828
+ if (!stringHandling || typeof obj !== "string") anObject$7(obj);
1829
+ var method = getIteratorMethod(obj);
1830
+ return getIteratorDirect$5(anObject$7(method !== void 0 ? call$8(method, obj) : obj));
2238
1831
  };
2239
1832
  }));
2240
- var require_array_group = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2241
- var bind$1 = require_function_bind_context();
2242
- var uncurryThis$9 = require_function_uncurry_this();
2243
- var IndexedObject = require_indexed_object();
2244
- var toObject = require_to_object();
2245
- var toPropertyKey = require_to_property_key();
2246
- var lengthOfArrayLike$2 = require_length_of_array_like();
2247
- var objectCreate = require_object_create();
2248
- var arrayFromConstructorAndList = require_array_from_constructor_and_list();
2249
- var $Array = Array;
2250
- var push$2 = uncurryThis$9([].push);
2251
- module.exports = function($this, callbackfn, that, specificConstructor) {
2252
- var O = toObject($this);
2253
- var self$1 = IndexedObject(O);
2254
- var boundFunction = bind$1(callbackfn, that);
2255
- var target = objectCreate(null);
2256
- var length = lengthOfArrayLike$2(self$1);
2257
- var index = 0;
2258
- var Constructor$1, key$1, value;
2259
- for (; length > index; index++) {
2260
- value = self$1[index];
2261
- key$1 = toPropertyKey(boundFunction(value, index, O));
2262
- if (key$1 in target) push$2(target[key$1], value);
2263
- else target[key$1] = [value];
1833
+ var $$16 = require_export();
1834
+ var call$7 = require_function_call();
1835
+ var aCallable$3 = require_a_callable();
1836
+ var anObject$6 = require_an_object();
1837
+ var getIteratorDirect$4 = require_get_iterator_direct();
1838
+ var getIteratorFlattenable = require_get_iterator_flattenable();
1839
+ var createIteratorProxy$1 = require_iterator_create_proxy();
1840
+ var iteratorClose$2 = require_iterator_close();
1841
+ var IS_PURE$5 = require_is_pure();
1842
+ var iteratorHelperThrowsOnInvalidIterator$1 = require_iterator_helper_throws_on_invalid_iterator();
1843
+ var iteratorHelperWithoutClosingOnEarlyError$2 = require_iterator_helper_without_closing_on_early_error();
1844
+ var FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !IS_PURE$5 && !iteratorHelperThrowsOnInvalidIterator$1("flatMap", function() {});
1845
+ var flatMapWithoutClosingOnEarlyError = !IS_PURE$5 && !FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR && iteratorHelperWithoutClosingOnEarlyError$2("flatMap", TypeError);
1846
+ var FORCED$1 = IS_PURE$5 || FLAT_MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || flatMapWithoutClosingOnEarlyError;
1847
+ var IteratorProxy$1 = createIteratorProxy$1(function() {
1848
+ var iterator = this.iterator;
1849
+ var mapper = this.mapper;
1850
+ var result, inner;
1851
+ while (true) {
1852
+ if (inner = this.inner) try {
1853
+ result = anObject$6(call$7(inner.next, inner.iterator));
1854
+ if (!result.done) return result.value;
1855
+ this.inner = null;
1856
+ } catch (error) {
1857
+ iteratorClose$2(iterator, "throw", error);
2264
1858
  }
2265
- if (specificConstructor) {
2266
- Constructor$1 = specificConstructor(O);
2267
- if (Constructor$1 !== $Array) for (key$1 in target) target[key$1] = arrayFromConstructorAndList(Constructor$1, target[key$1]);
1859
+ result = anObject$6(call$7(this.next, iterator));
1860
+ if (this.done = !!result.done) return;
1861
+ try {
1862
+ this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false);
1863
+ } catch (error) {
1864
+ iteratorClose$2(iterator, "throw", error);
2268
1865
  }
2269
- return target;
2270
- };
2271
- }));
2272
- var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2273
- var wellKnownSymbol$6 = require_well_known_symbol();
2274
- var create$2 = require_object_create();
2275
- var defineProperty$4 = require_object_define_property().f;
2276
- var UNSCOPABLES = wellKnownSymbol$6("unscopables");
2277
- var ArrayPrototype = Array.prototype;
2278
- if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty$4(ArrayPrototype, UNSCOPABLES, {
2279
- configurable: true,
2280
- value: create$2(null)
1866
+ }
1867
+ });
1868
+ $$16({
1869
+ target: "Iterator",
1870
+ proto: true,
1871
+ real: true,
1872
+ forced: FORCED$1
1873
+ }, { flatMap: function flatMap(mapper) {
1874
+ anObject$6(this);
1875
+ try {
1876
+ aCallable$3(mapper);
1877
+ } catch (error) {
1878
+ iteratorClose$2(this, "throw", error);
1879
+ }
1880
+ if (flatMapWithoutClosingOnEarlyError) return call$7(flatMapWithoutClosingOnEarlyError, this, mapper);
1881
+ return new IteratorProxy$1(getIteratorDirect$4(this), {
1882
+ mapper,
1883
+ inner: null
1884
+ });
1885
+ } });
1886
+ var require_function_apply = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1887
+ var NATIVE_BIND = require_function_bind_native();
1888
+ var FunctionPrototype = Function.prototype;
1889
+ var apply$3 = FunctionPrototype.apply;
1890
+ var call$6 = FunctionPrototype.call;
1891
+ module.exports = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND ? call$6.bind(apply$3) : function() {
1892
+ return call$6.apply(apply$3, arguments);
2281
1893
  });
2282
- module.exports = function(key$1) {
2283
- ArrayPrototype[UNSCOPABLES][key$1] = true;
2284
- };
2285
1894
  }));
2286
- var $$11 = require_export();
2287
- var $group = require_array_group();
2288
- var addToUnscopables = require_add_to_unscopables();
2289
- $$11({
2290
- target: "Array",
2291
- proto: true
2292
- }, { group: function group(callbackfn) {
2293
- var thisArg = arguments.length > 1 ? arguments[1] : void 0;
2294
- return $group(this, callbackfn, thisArg);
1895
+ var $$15 = require_export();
1896
+ var iterate$3 = require_iterate();
1897
+ var aCallable$2 = require_a_callable();
1898
+ var anObject$5 = require_an_object();
1899
+ var getIteratorDirect$3 = require_get_iterator_direct();
1900
+ var iteratorClose$1 = require_iterator_close();
1901
+ var iteratorHelperWithoutClosingOnEarlyError$1 = require_iterator_helper_without_closing_on_early_error();
1902
+ var apply$2 = require_function_apply();
1903
+ var fails$8 = require_fails();
1904
+ var $TypeError$9 = TypeError;
1905
+ var FAILS_ON_INITIAL_UNDEFINED = fails$8(function() {
1906
+ [].keys().reduce(function() {}, void 0);
1907
+ });
1908
+ var reduceWithoutClosingOnEarlyError = !FAILS_ON_INITIAL_UNDEFINED && iteratorHelperWithoutClosingOnEarlyError$1("reduce", $TypeError$9);
1909
+ $$15({
1910
+ target: "Iterator",
1911
+ proto: true,
1912
+ real: true,
1913
+ forced: FAILS_ON_INITIAL_UNDEFINED || reduceWithoutClosingOnEarlyError
1914
+ }, { reduce: function reduce(reducer) {
1915
+ anObject$5(this);
1916
+ try {
1917
+ aCallable$2(reducer);
1918
+ } catch (error) {
1919
+ iteratorClose$1(this, "throw", error);
1920
+ }
1921
+ var noInitial = arguments.length < 2;
1922
+ var accumulator = noInitial ? void 0 : arguments[1];
1923
+ if (reduceWithoutClosingOnEarlyError) return apply$2(reduceWithoutClosingOnEarlyError, this, noInitial ? [reducer] : [reducer, accumulator]);
1924
+ var record = getIteratorDirect$3(this);
1925
+ var counter$1 = 0;
1926
+ iterate$3(record, function(value) {
1927
+ if (noInitial) {
1928
+ noInitial = false;
1929
+ accumulator = value;
1930
+ } else accumulator = reducer(accumulator, value, counter$1);
1931
+ counter$1++;
1932
+ }, { IS_RECORD: true });
1933
+ if (noInitial) throw new $TypeError$9("Reduce of empty iterator with no initial value");
1934
+ return accumulator;
2295
1935
  } });
2296
- addToUnscopables("group");
2297
- var require_array_with = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2298
- var lengthOfArrayLike$1 = require_length_of_array_like();
2299
- var toIntegerOrInfinity$2 = require_to_integer_or_infinity();
2300
- var $RangeError$2 = RangeError;
2301
- module.exports = function(O, C, index, value) {
2302
- var len = lengthOfArrayLike$1(O);
2303
- var relativeIndex = toIntegerOrInfinity$2(index);
2304
- var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
2305
- if (actualIndex >= len || actualIndex < 0) throw new $RangeError$2("Incorrect index");
2306
- var A = new C(len);
2307
- var k = 0;
2308
- for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
2309
- return A;
1936
+ var require_set_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1937
+ var uncurryThis$12 = require_function_uncurry_this();
1938
+ var SetPrototype$1 = Set.prototype;
1939
+ module.exports = {
1940
+ Set,
1941
+ add: uncurryThis$12(SetPrototype$1.add),
1942
+ has: uncurryThis$12(SetPrototype$1.has),
1943
+ remove: uncurryThis$12(SetPrototype$1["delete"]),
1944
+ proto: SetPrototype$1
2310
1945
  };
2311
1946
  }));
2312
- var require_array_buffer_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2313
- module.exports = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined";
1947
+ var require_a_set = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1948
+ var has$2 = require_set_helpers().has;
1949
+ module.exports = function(it) {
1950
+ has$2(it);
1951
+ return it;
1952
+ };
2314
1953
  }));
2315
- var require_is_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2316
- var isObject$5 = require_is_object();
2317
- module.exports = function(argument) {
2318
- return isObject$5(argument) || argument === null;
1954
+ var require_iterate_simple = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1955
+ var call$5 = require_function_call();
1956
+ module.exports = function(record, fn, ITERATOR_INSTEAD_OF_RECORD) {
1957
+ var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
1958
+ var next$1 = record.next;
1959
+ var step, result;
1960
+ while (!(step = call$5(next$1, iterator)).done) {
1961
+ result = fn(step.value);
1962
+ if (result !== void 0) return result;
1963
+ }
2319
1964
  };
2320
1965
  }));
2321
- var require_a_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2322
- var isPossiblePrototype = require_is_possible_prototype();
2323
- var $String$1 = String;
2324
- var $TypeError$7 = TypeError;
2325
- module.exports = function(argument) {
2326
- if (isPossiblePrototype(argument)) return argument;
2327
- throw new $TypeError$7("Can't set " + $String$1(argument) + " as a prototype");
1966
+ var require_set_iterate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1967
+ var uncurryThis$11 = require_function_uncurry_this();
1968
+ var iterateSimple$3 = require_iterate_simple();
1969
+ var SetHelpers$5 = require_set_helpers();
1970
+ var Set$3 = SetHelpers$5.Set;
1971
+ var SetPrototype = SetHelpers$5.proto;
1972
+ var forEach = uncurryThis$11(SetPrototype.forEach);
1973
+ var keys = uncurryThis$11(SetPrototype.keys);
1974
+ var next = keys(new Set$3()).next;
1975
+ module.exports = function(set$2, fn, interruptible) {
1976
+ return interruptible ? iterateSimple$3({
1977
+ iterator: keys(set$2),
1978
+ next
1979
+ }, fn) : forEach(set$2, fn);
2328
1980
  };
2329
1981
  }));
2330
- var require_object_set_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2331
- var uncurryThisAccessor$1 = require_function_uncurry_this_accessor();
2332
- var isObject$4 = require_is_object();
2333
- var requireObjectCoercible = require_require_object_coercible();
2334
- var aPossiblePrototype = require_a_possible_prototype();
2335
- module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
2336
- var CORRECT_SETTER = false;
2337
- var test$1 = {};
2338
- var setter;
1982
+ var require_set_clone = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1983
+ var SetHelpers$4 = require_set_helpers();
1984
+ var iterate$2 = require_set_iterate();
1985
+ var Set$2 = SetHelpers$4.Set;
1986
+ var add$2 = SetHelpers$4.add;
1987
+ module.exports = function(set$2) {
1988
+ var result = new Set$2();
1989
+ iterate$2(set$2, function(it) {
1990
+ add$2(result, it);
1991
+ });
1992
+ return result;
1993
+ };
1994
+ }));
1995
+ var require_function_uncurry_this_accessor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1996
+ var uncurryThis$10 = require_function_uncurry_this();
1997
+ var aCallable$1 = require_a_callable();
1998
+ module.exports = function(object, key$1, method) {
2339
1999
  try {
2340
- setter = uncurryThisAccessor$1(Object.prototype, "__proto__", "set");
2341
- setter(test$1, []);
2342
- CORRECT_SETTER = test$1 instanceof Array;
2000
+ return uncurryThis$10(aCallable$1(Object.getOwnPropertyDescriptor(object, key$1)[method]));
2343
2001
  } catch (error) {}
2344
- return function setPrototypeOf$3(O, proto) {
2345
- requireObjectCoercible(O);
2346
- aPossiblePrototype(proto);
2347
- if (!isObject$4(O)) return O;
2348
- if (CORRECT_SETTER) setter(O, proto);
2349
- else O.__proto__ = proto;
2350
- return O;
2351
- };
2352
- }() : void 0);
2002
+ };
2353
2003
  }));
2354
- var require_array_buffer_view_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2355
- var NATIVE_ARRAY_BUFFER$1 = require_array_buffer_basic_detection();
2356
- var DESCRIPTORS$1 = require_descriptors();
2357
- var globalThis$25 = require_global_this();
2358
- var isCallable$6 = require_is_callable();
2359
- var isObject$3 = require_is_object();
2360
- var hasOwn$8 = require_has_own_property();
2361
- var classof$6 = require_classof();
2362
- var tryToString = require_try_to_string();
2363
- var createNonEnumerableProperty$3 = require_create_non_enumerable_property();
2364
- var defineBuiltIn$3 = require_define_built_in();
2365
- var defineBuiltInAccessor = require_define_built_in_accessor();
2366
- var isPrototypeOf$2 = require_object_is_prototype_of();
2367
- var getPrototypeOf$2 = require_object_get_prototype_of();
2368
- var setPrototypeOf$2 = require_object_set_prototype_of();
2369
- var wellKnownSymbol$5 = require_well_known_symbol();
2370
- var uid$1 = require_uid();
2371
- var InternalStateModule = require_internal_state();
2372
- var enforceInternalState = InternalStateModule.enforce;
2373
- var getInternalState = InternalStateModule.get;
2374
- var Int8Array$1 = globalThis$25.Int8Array;
2375
- var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype;
2376
- var Uint8ClampedArray = globalThis$25.Uint8ClampedArray;
2377
- var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
2378
- var TypedArray = Int8Array$1 && getPrototypeOf$2(Int8Array$1);
2379
- var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf$2(Int8ArrayPrototype);
2380
- var ObjectPrototype = Object.prototype;
2381
- var TypeError$4 = globalThis$25.TypeError;
2382
- var TO_STRING_TAG$1 = wellKnownSymbol$5("toStringTag");
2383
- var TYPED_ARRAY_TAG = uid$1("TYPED_ARRAY_TAG");
2384
- var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor";
2385
- var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$2 && classof$6(globalThis$25.opera) !== "Opera";
2386
- var TYPED_ARRAY_TAG_REQUIRED = false;
2387
- var NAME, Constructor, Prototype;
2388
- var TypedArrayConstructorsList = {
2389
- Int8Array: 1,
2390
- Uint8Array: 1,
2391
- Uint8ClampedArray: 1,
2392
- Int16Array: 2,
2393
- Uint16Array: 2,
2394
- Int32Array: 4,
2395
- Uint32Array: 4,
2396
- Float32Array: 4,
2397
- Float64Array: 8
2004
+ var require_set_size = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2005
+ module.exports = require_function_uncurry_this_accessor()(require_set_helpers().proto, "size", "get") || function(set$2) {
2006
+ return set$2.size;
2398
2007
  };
2399
- var BigIntArrayConstructorsList = {
2400
- BigInt64Array: 8,
2401
- BigUint64Array: 8
2008
+ }));
2009
+ var require_get_set_record = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2010
+ var aCallable = require_a_callable();
2011
+ var anObject$4 = require_an_object();
2012
+ var call$4 = require_function_call();
2013
+ var toIntegerOrInfinity$3 = require_to_integer_or_infinity();
2014
+ var getIteratorDirect$2 = require_get_iterator_direct();
2015
+ var INVALID_SIZE = "Invalid size";
2016
+ var $RangeError$3 = RangeError;
2017
+ var $TypeError$8 = TypeError;
2018
+ var max = Math.max;
2019
+ var SetRecord = function(set$2, intSize) {
2020
+ this.set = set$2;
2021
+ this.size = max(intSize, 0);
2022
+ this.has = aCallable(set$2.has);
2023
+ this.keys = aCallable(set$2.keys);
2402
2024
  };
2403
- var isView = function isView$1(it) {
2404
- if (!isObject$3(it)) return false;
2405
- var klass = classof$6(it);
2406
- return klass === "DataView" || hasOwn$8(TypedArrayConstructorsList, klass) || hasOwn$8(BigIntArrayConstructorsList, klass);
2025
+ SetRecord.prototype = {
2026
+ getIterator: function() {
2027
+ return getIteratorDirect$2(anObject$4(call$4(this.keys, this.set)));
2028
+ },
2029
+ includes: function(it) {
2030
+ return call$4(this.has, this.set, it);
2031
+ }
2407
2032
  };
2408
- var getTypedArrayConstructor$1 = function(it) {
2409
- var proto = getPrototypeOf$2(it);
2410
- if (!isObject$3(proto)) return;
2411
- var state = getInternalState(proto);
2412
- return state && hasOwn$8(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$1(proto);
2033
+ module.exports = function(obj) {
2034
+ anObject$4(obj);
2035
+ var numSize = +obj.size;
2036
+ if (numSize !== numSize) throw new $TypeError$8(INVALID_SIZE);
2037
+ var intSize = toIntegerOrInfinity$3(numSize);
2038
+ if (intSize < 0) throw new $RangeError$3(INVALID_SIZE);
2039
+ return new SetRecord(obj, intSize);
2413
2040
  };
2414
- var isTypedArray = function(it) {
2415
- if (!isObject$3(it)) return false;
2416
- var klass = classof$6(it);
2417
- return hasOwn$8(TypedArrayConstructorsList, klass) || hasOwn$8(BigIntArrayConstructorsList, klass);
2041
+ }));
2042
+ var require_set_difference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2043
+ var aSet$2 = require_a_set();
2044
+ var SetHelpers$2 = require_set_helpers();
2045
+ var clone$2 = require_set_clone();
2046
+ var size = require_set_size();
2047
+ var getSetRecord$2 = require_get_set_record();
2048
+ var iterateSet = require_set_iterate();
2049
+ var iterateSimple$2 = require_iterate_simple();
2050
+ var has$1 = SetHelpers$2.has;
2051
+ var remove$1 = SetHelpers$2.remove;
2052
+ module.exports = function difference$1(other) {
2053
+ var O = aSet$2(this);
2054
+ var otherRec = getSetRecord$2(other);
2055
+ var result = clone$2(O);
2056
+ if (size(O) <= otherRec.size) iterateSet(O, function(e) {
2057
+ if (otherRec.includes(e)) remove$1(result, e);
2058
+ });
2059
+ else iterateSimple$2(otherRec.getIterator(), function(e) {
2060
+ if (has$1(result, e)) remove$1(result, e);
2061
+ });
2062
+ return result;
2418
2063
  };
2419
- var aTypedArray$1 = function(it) {
2420
- if (isTypedArray(it)) return it;
2421
- throw new TypeError$4("Target is not a typed array");
2064
+ }));
2065
+ var require_set_method_accept_set_like = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2066
+ var getBuiltIn$4 = require_get_built_in();
2067
+ var createSetLike = function(size$1) {
2068
+ return {
2069
+ size: size$1,
2070
+ has: function() {
2071
+ return false;
2072
+ },
2073
+ keys: function() {
2074
+ return { next: function() {
2075
+ return { done: true };
2076
+ } };
2077
+ }
2078
+ };
2422
2079
  };
2423
- var aTypedArrayConstructor = function(C) {
2424
- if (isCallable$6(C) && (!setPrototypeOf$2 || isPrototypeOf$2(TypedArray, C))) return C;
2425
- throw new TypeError$4(tryToString(C) + " is not a typed array constructor");
2080
+ var createSetLikeWithInfinitySize = function(size$1) {
2081
+ return {
2082
+ size: size$1,
2083
+ has: function() {
2084
+ return true;
2085
+ },
2086
+ keys: function() {
2087
+ throw new Error("e");
2088
+ }
2089
+ };
2426
2090
  };
2427
- var exportTypedArrayMethod$1 = function(KEY, property, forced, options) {
2428
- if (!DESCRIPTORS$1) return;
2429
- if (forced) for (var ARRAY in TypedArrayConstructorsList) {
2430
- var TypedArrayConstructor = globalThis$25[ARRAY];
2431
- if (TypedArrayConstructor && hasOwn$8(TypedArrayConstructor.prototype, KEY)) try {
2432
- delete TypedArrayConstructor.prototype[KEY];
2433
- } catch (error) {
2091
+ module.exports = function(name, callback) {
2092
+ var Set$4 = getBuiltIn$4("Set");
2093
+ try {
2094
+ new Set$4()[name](createSetLike(0));
2095
+ try {
2096
+ new Set$4()[name](createSetLike(-1));
2097
+ return false;
2098
+ } catch (error2) {
2099
+ if (!callback) return true;
2434
2100
  try {
2435
- TypedArrayConstructor.prototype[KEY] = property;
2436
- } catch (error2) {}
2101
+ new Set$4()[name](createSetLikeWithInfinitySize(-Infinity));
2102
+ return false;
2103
+ } catch (error) {
2104
+ var set$2 = new Set$4();
2105
+ set$2.add(1);
2106
+ set$2.add(2);
2107
+ return callback(set$2[name](createSetLikeWithInfinitySize(Infinity)));
2108
+ }
2437
2109
  }
2110
+ } catch (error) {
2111
+ return false;
2438
2112
  }
2439
- if (!TypedArrayPrototype[KEY] || forced) defineBuiltIn$3(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
2440
2113
  };
2441
- var exportTypedArrayStaticMethod = function(KEY, property, forced) {
2442
- var ARRAY, TypedArrayConstructor;
2443
- if (!DESCRIPTORS$1) return;
2444
- if (setPrototypeOf$2) {
2445
- if (forced) for (ARRAY in TypedArrayConstructorsList) {
2446
- TypedArrayConstructor = globalThis$25[ARRAY];
2447
- if (TypedArrayConstructor && hasOwn$8(TypedArrayConstructor, KEY)) try {
2448
- delete TypedArrayConstructor[KEY];
2449
- } catch (error) {}
2114
+ }));
2115
+ var $$14 = require_export();
2116
+ var difference = require_set_difference();
2117
+ var fails$7 = require_fails();
2118
+ $$14({
2119
+ target: "Set",
2120
+ proto: true,
2121
+ real: true,
2122
+ forced: !require_set_method_accept_set_like()("difference", function(result) {
2123
+ return result.size === 0;
2124
+ }) || fails$7(function() {
2125
+ var setLike = {
2126
+ size: 1,
2127
+ has: function() {
2128
+ return true;
2129
+ },
2130
+ keys: function() {
2131
+ var index = 0;
2132
+ return { next: function() {
2133
+ var done = index++ > 1;
2134
+ if (baseSet.has(1)) baseSet.clear();
2135
+ return {
2136
+ done,
2137
+ value: 2
2138
+ };
2139
+ } };
2450
2140
  }
2451
- if (!TypedArray[KEY] || forced) try {
2452
- return defineBuiltIn$3(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
2453
- } catch (error) {}
2454
- else return;
2455
- }
2456
- for (ARRAY in TypedArrayConstructorsList) {
2457
- TypedArrayConstructor = globalThis$25[ARRAY];
2458
- if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) defineBuiltIn$3(TypedArrayConstructor, KEY, property);
2459
- }
2460
- };
2461
- for (NAME in TypedArrayConstructorsList) {
2462
- Constructor = globalThis$25[NAME];
2463
- Prototype = Constructor && Constructor.prototype;
2464
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
2465
- else NATIVE_ARRAY_BUFFER_VIEWS = false;
2466
- }
2467
- for (NAME in BigIntArrayConstructorsList) {
2468
- Constructor = globalThis$25[NAME];
2469
- Prototype = Constructor && Constructor.prototype;
2470
- if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
2471
- }
2472
- if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable$6(TypedArray) || TypedArray === Function.prototype) {
2473
- TypedArray = function TypedArray$1() {
2474
- throw new TypeError$4("Incorrect invocation");
2475
2141
  };
2476
- if (NATIVE_ARRAY_BUFFER_VIEWS) {
2477
- for (NAME in TypedArrayConstructorsList) if (globalThis$25[NAME]) setPrototypeOf$2(globalThis$25[NAME], TypedArray);
2478
- }
2479
- }
2480
- if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
2481
- TypedArrayPrototype = TypedArray.prototype;
2482
- if (NATIVE_ARRAY_BUFFER_VIEWS) {
2483
- for (NAME in TypedArrayConstructorsList) if (globalThis$25[NAME]) setPrototypeOf$2(globalThis$25[NAME].prototype, TypedArrayPrototype);
2484
- }
2485
- }
2486
- if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf$2(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) setPrototypeOf$2(Uint8ClampedArrayPrototype, TypedArrayPrototype);
2487
- if (DESCRIPTORS$1 && !hasOwn$8(TypedArrayPrototype, TO_STRING_TAG$1)) {
2488
- TYPED_ARRAY_TAG_REQUIRED = true;
2489
- defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$1, {
2490
- configurable: true,
2491
- get: function() {
2492
- return isObject$3(this) ? this[TYPED_ARRAY_TAG] : void 0;
2493
- }
2142
+ var baseSet = new Set([
2143
+ 1,
2144
+ 2,
2145
+ 3,
2146
+ 4
2147
+ ]);
2148
+ return baseSet.difference(setLike).size !== 3;
2149
+ })
2150
+ }, { difference });
2151
+ var require_set_symmetric_difference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2152
+ var aSet$1 = require_a_set();
2153
+ var SetHelpers$1 = require_set_helpers();
2154
+ var clone$1 = require_set_clone();
2155
+ var getSetRecord$1 = require_get_set_record();
2156
+ var iterateSimple$1 = require_iterate_simple();
2157
+ var add$1 = SetHelpers$1.add;
2158
+ var has = SetHelpers$1.has;
2159
+ var remove = SetHelpers$1.remove;
2160
+ module.exports = function symmetricDifference$1(other) {
2161
+ var O = aSet$1(this);
2162
+ var keysIter = getSetRecord$1(other).getIterator();
2163
+ var result = clone$1(O);
2164
+ iterateSimple$1(keysIter, function(e) {
2165
+ if (has(O, e)) remove(result, e);
2166
+ else add$1(result, e);
2494
2167
  });
2495
- for (NAME in TypedArrayConstructorsList) if (globalThis$25[NAME]) createNonEnumerableProperty$3(globalThis$25[NAME], TYPED_ARRAY_TAG, NAME);
2496
- }
2497
- module.exports = {
2498
- NATIVE_ARRAY_BUFFER_VIEWS,
2499
- TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
2500
- aTypedArray: aTypedArray$1,
2501
- aTypedArrayConstructor,
2502
- exportTypedArrayMethod: exportTypedArrayMethod$1,
2503
- exportTypedArrayStaticMethod,
2504
- getTypedArrayConstructor: getTypedArrayConstructor$1,
2505
- isView,
2506
- isTypedArray,
2507
- TypedArray,
2508
- TypedArrayPrototype
2168
+ return result;
2509
2169
  };
2510
2170
  }));
2511
- var require_is_big_int_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2512
- var classof$5 = require_classof();
2513
- module.exports = function(it) {
2514
- var klass = classof$5(it);
2515
- return klass === "BigInt64Array" || klass === "BigUint64Array";
2171
+ var require_set_method_get_keys_before_cloning_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2172
+ module.exports = function(METHOD_NAME) {
2173
+ try {
2174
+ var baseSet = /* @__PURE__ */ new Set();
2175
+ var result = baseSet[METHOD_NAME]({
2176
+ size: 0,
2177
+ has: function() {
2178
+ return true;
2179
+ },
2180
+ keys: function() {
2181
+ return Object.defineProperty({}, "next", { get: function() {
2182
+ baseSet.clear();
2183
+ baseSet.add(4);
2184
+ return function() {
2185
+ return { done: true };
2186
+ };
2187
+ } });
2188
+ }
2189
+ });
2190
+ return result.size === 1 && result.values().next().value === 4;
2191
+ } catch (error) {
2192
+ return false;
2193
+ }
2516
2194
  };
2517
2195
  }));
2518
- var require_to_big_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2519
- var toPrimitive = require_to_primitive();
2520
- var $TypeError$6 = TypeError;
2521
- module.exports = function(argument) {
2522
- var prim = toPrimitive(argument, "number");
2523
- if (typeof prim == "number") throw new $TypeError$6("Can't convert number to bigint");
2524
- return BigInt(prim);
2525
- };
2526
- }));
2527
- var arrayWith = require_array_with();
2528
- var ArrayBufferViewCore = require_array_buffer_view_core();
2529
- var isBigIntArray = require_is_big_int_array();
2530
- var toIntegerOrInfinity$1 = require_to_integer_or_infinity();
2531
- var toBigInt = require_to_big_int();
2532
- var aTypedArray = ArrayBufferViewCore.aTypedArray;
2533
- var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
2534
- var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
2535
- var PROPER_ORDER = function() {
2536
- try {
2537
- new Int8Array(1)["with"](2, { valueOf: function() {
2538
- throw 8;
2539
- } });
2540
- } catch (error) {
2541
- return error === 8;
2542
- }
2543
- }();
2544
- var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function() {
2545
- try {
2546
- new Int8Array(1)["with"](-.5, 1);
2547
- } catch (error) {
2548
- return true;
2549
- }
2550
- }();
2551
- exportTypedArrayMethod("with", { "with": function(index, value) {
2552
- var O = aTypedArray(this);
2553
- var relativeIndex = toIntegerOrInfinity$1(index);
2554
- var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;
2555
- return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);
2556
- } }["with"], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
2557
- var require_an_object_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2558
- var isObject$2 = require_is_object();
2559
- var $String = String;
2560
- var $TypeError$5 = TypeError;
2561
- module.exports = function(argument) {
2562
- if (argument === void 0 || isObject$2(argument)) return argument;
2563
- throw new $TypeError$5($String(argument) + " is not an object or undefined");
2196
+ var $$13 = require_export();
2197
+ var symmetricDifference = require_set_symmetric_difference();
2198
+ var setMethodGetKeysBeforeCloning$1 = require_set_method_get_keys_before_cloning_detection();
2199
+ $$13({
2200
+ target: "Set",
2201
+ proto: true,
2202
+ real: true,
2203
+ forced: !require_set_method_accept_set_like()("symmetricDifference") || !setMethodGetKeysBeforeCloning$1("symmetricDifference")
2204
+ }, { symmetricDifference });
2205
+ var require_set_union = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2206
+ var aSet = require_a_set();
2207
+ var add = require_set_helpers().add;
2208
+ var clone = require_set_clone();
2209
+ var getSetRecord = require_get_set_record();
2210
+ var iterateSimple = require_iterate_simple();
2211
+ module.exports = function union$1(other) {
2212
+ var O = aSet(this);
2213
+ var keysIter = getSetRecord(other).getIterator();
2214
+ var result = clone(O);
2215
+ iterateSimple(keysIter, function(it) {
2216
+ add(result, it);
2217
+ });
2218
+ return result;
2564
2219
  };
2565
2220
  }));
2566
- var require_a_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2567
- var $TypeError$4 = TypeError;
2568
- module.exports = function(argument) {
2569
- if (typeof argument == "string") return argument;
2570
- throw new $TypeError$4("Argument is not a string");
2221
+ var $$12 = require_export();
2222
+ var union = require_set_union();
2223
+ var setMethodGetKeysBeforeCloning = require_set_method_get_keys_before_cloning_detection();
2224
+ $$12({
2225
+ target: "Set",
2226
+ proto: true,
2227
+ real: true,
2228
+ forced: !require_set_method_accept_set_like()("union") || !setMethodGetKeysBeforeCloning("union")
2229
+ }, { union });
2230
+ var require_array_from_constructor_and_list = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2231
+ var lengthOfArrayLike$3 = require_length_of_array_like();
2232
+ module.exports = function(Constructor$1, list, $length) {
2233
+ var index = 0;
2234
+ var length = arguments.length > 2 ? $length : lengthOfArrayLike$3(list);
2235
+ var result = new Constructor$1(length);
2236
+ while (length > index) result[index] = list[index++];
2237
+ return result;
2571
2238
  };
2572
2239
  }));
2573
- var require_base64_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2574
- var commonAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
2575
- var base64Alphabet$2 = commonAlphabet + "+/";
2576
- var base64UrlAlphabet$2 = commonAlphabet + "-_";
2577
- var inverse = function(characters) {
2578
- var result = {};
2240
+ var require_array_group = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2241
+ var bind$1 = require_function_bind_context();
2242
+ var uncurryThis$9 = require_function_uncurry_this();
2243
+ var IndexedObject = require_indexed_object();
2244
+ var toObject = require_to_object();
2245
+ var toPropertyKey = require_to_property_key();
2246
+ var lengthOfArrayLike$2 = require_length_of_array_like();
2247
+ var objectCreate = require_object_create();
2248
+ var arrayFromConstructorAndList = require_array_from_constructor_and_list();
2249
+ var $Array = Array;
2250
+ var push$2 = uncurryThis$9([].push);
2251
+ module.exports = function($this, callbackfn, that, specificConstructor) {
2252
+ var O = toObject($this);
2253
+ var self$1 = IndexedObject(O);
2254
+ var boundFunction = bind$1(callbackfn, that);
2255
+ var target = objectCreate(null);
2256
+ var length = lengthOfArrayLike$2(self$1);
2579
2257
  var index = 0;
2580
- for (; index < 64; index++) result[characters.charAt(index)] = index;
2581
- return result;
2258
+ var Constructor$1, key$1, value;
2259
+ for (; length > index; index++) {
2260
+ value = self$1[index];
2261
+ key$1 = toPropertyKey(boundFunction(value, index, O));
2262
+ if (key$1 in target) push$2(target[key$1], value);
2263
+ else target[key$1] = [value];
2264
+ }
2265
+ if (specificConstructor) {
2266
+ Constructor$1 = specificConstructor(O);
2267
+ if (Constructor$1 !== $Array) for (key$1 in target) target[key$1] = arrayFromConstructorAndList(Constructor$1, target[key$1]);
2268
+ }
2269
+ return target;
2582
2270
  };
2583
- module.exports = {
2584
- i2c: base64Alphabet$2,
2585
- c2i: inverse(base64Alphabet$2),
2586
- i2cUrl: base64UrlAlphabet$2,
2587
- c2iUrl: inverse(base64UrlAlphabet$2)
2271
+ }));
2272
+ var require_add_to_unscopables = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2273
+ var wellKnownSymbol$6 = require_well_known_symbol();
2274
+ var create$2 = require_object_create();
2275
+ var defineProperty$4 = require_object_define_property().f;
2276
+ var UNSCOPABLES = wellKnownSymbol$6("unscopables");
2277
+ var ArrayPrototype = Array.prototype;
2278
+ if (ArrayPrototype[UNSCOPABLES] === void 0) defineProperty$4(ArrayPrototype, UNSCOPABLES, {
2279
+ configurable: true,
2280
+ value: create$2(null)
2281
+ });
2282
+ module.exports = function(key$1) {
2283
+ ArrayPrototype[UNSCOPABLES][key$1] = true;
2588
2284
  };
2589
2285
  }));
2590
- var require_get_alphabet_option = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2591
- var $TypeError$3 = TypeError;
2592
- module.exports = function(options) {
2593
- var alphabet = options && options.alphabet;
2594
- if (alphabet === void 0 || alphabet === "base64" || alphabet === "base64url") return alphabet || "base64";
2595
- throw new $TypeError$3("Incorrect `alphabet` option");
2286
+ var $$11 = require_export();
2287
+ var $group = require_array_group();
2288
+ var addToUnscopables = require_add_to_unscopables();
2289
+ $$11({
2290
+ target: "Array",
2291
+ proto: true
2292
+ }, { group: function group(callbackfn) {
2293
+ var thisArg = arguments.length > 1 ? arguments[1] : void 0;
2294
+ return $group(this, callbackfn, thisArg);
2295
+ } });
2296
+ addToUnscopables("group");
2297
+ var require_is_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2298
+ var isObject$5 = require_is_object();
2299
+ module.exports = function(argument) {
2300
+ return isObject$5(argument) || argument === null;
2596
2301
  };
2597
2302
  }));
2598
- var require_array_buffer_byte_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2599
- var globalThis$24 = require_global_this();
2600
- var uncurryThisAccessor = require_function_uncurry_this_accessor();
2601
- var classof$4 = require_classof_raw();
2602
- var ArrayBuffer$1 = globalThis$24.ArrayBuffer;
2603
- var TypeError$3 = globalThis$24.TypeError;
2604
- module.exports = ArrayBuffer$1 && uncurryThisAccessor(ArrayBuffer$1.prototype, "byteLength", "get") || function(O) {
2605
- if (classof$4(O) !== "ArrayBuffer") throw new TypeError$3("ArrayBuffer expected");
2606
- return O.byteLength;
2303
+ var require_a_possible_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2304
+ var isPossiblePrototype = require_is_possible_prototype();
2305
+ var $String$1 = String;
2306
+ var $TypeError$7 = TypeError;
2307
+ module.exports = function(argument) {
2308
+ if (isPossiblePrototype(argument)) return argument;
2309
+ throw new $TypeError$7("Can't set " + $String$1(argument) + " as a prototype");
2607
2310
  };
2608
2311
  }));
2609
- var require_array_buffer_is_detached = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2610
- var globalThis$23 = require_global_this();
2611
- var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection();
2612
- var arrayBufferByteLength = require_array_buffer_byte_length();
2613
- var DataView$1 = globalThis$23.DataView;
2614
- module.exports = function(O) {
2615
- if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
2312
+ var require_object_set_prototype_of = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2313
+ var uncurryThisAccessor$1 = require_function_uncurry_this_accessor();
2314
+ var isObject$4 = require_is_object();
2315
+ var requireObjectCoercible = require_require_object_coercible();
2316
+ var aPossiblePrototype = require_a_possible_prototype();
2317
+ module.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() {
2318
+ var CORRECT_SETTER = false;
2319
+ var test$1 = {};
2320
+ var setter;
2616
2321
  try {
2617
- new DataView$1(O);
2618
- return false;
2619
- } catch (error) {
2620
- return true;
2621
- }
2622
- };
2322
+ setter = uncurryThisAccessor$1(Object.prototype, "__proto__", "set");
2323
+ setter(test$1, []);
2324
+ CORRECT_SETTER = test$1 instanceof Array;
2325
+ } catch (error) {}
2326
+ return function setPrototypeOf$3(O, proto) {
2327
+ requireObjectCoercible(O);
2328
+ aPossiblePrototype(proto);
2329
+ if (!isObject$4(O)) return O;
2330
+ if (CORRECT_SETTER) setter(O, proto);
2331
+ else O.__proto__ = proto;
2332
+ return O;
2333
+ };
2334
+ }() : void 0);
2623
2335
  }));
2624
- var require_array_buffer_not_detached = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2625
- var isDetached = require_array_buffer_is_detached();
2626
- var $TypeError$2 = TypeError;
2627
- module.exports = function(it) {
2628
- if (isDetached(it)) throw new $TypeError$2("ArrayBuffer is detached");
2629
- return it;
2336
+ var require_inherit_if_required = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2337
+ var isCallable$6 = require_is_callable();
2338
+ var isObject$3 = require_is_object();
2339
+ var setPrototypeOf$2 = require_object_set_prototype_of();
2340
+ module.exports = function($this, dummy, Wrapper) {
2341
+ var NewTarget, NewTargetPrototype;
2342
+ if (setPrototypeOf$2 && isCallable$6(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject$3(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf$2($this, NewTargetPrototype);
2343
+ return $this;
2630
2344
  };
2631
2345
  }));
2632
- var require_uint8_from_base64 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2633
- var globalThis$22 = require_global_this();
2634
- var uncurryThis$8 = require_function_uncurry_this();
2635
- var anObjectOrUndefined$1 = require_an_object_or_undefined();
2636
- var aString$1 = require_a_string();
2637
- var hasOwn$7 = require_has_own_property();
2638
- var base64Map$1 = require_base64_map();
2639
- var getAlphabetOption$1 = require_get_alphabet_option();
2640
- var notDetached$3 = require_array_buffer_not_detached();
2641
- var base64Alphabet$1 = base64Map$1.c2i;
2642
- var base64UrlAlphabet$1 = base64Map$1.c2iUrl;
2643
- var SyntaxError$2 = globalThis$22.SyntaxError;
2644
- var TypeError$2 = globalThis$22.TypeError;
2645
- var at = uncurryThis$8("".charAt);
2646
- var skipAsciiWhitespace = function(string, index) {
2647
- var length = string.length;
2648
- for (; index < length; index++) {
2649
- var chr = at(string, index);
2650
- if (chr !== " " && chr !== " " && chr !== "\n" && chr !== "\f" && chr !== "\r") break;
2651
- }
2652
- return index;
2653
- };
2654
- var decodeBase64Chunk = function(chunk, alphabet, throwOnExtraBits) {
2655
- var chunkLength = chunk.length;
2656
- if (chunkLength < 4) chunk += chunkLength === 2 ? "AA" : "A";
2657
- var triplet = (alphabet[at(chunk, 0)] << 18) + (alphabet[at(chunk, 1)] << 12) + (alphabet[at(chunk, 2)] << 6) + alphabet[at(chunk, 3)];
2658
- var chunkBytes = [
2659
- triplet >> 16 & 255,
2660
- triplet >> 8 & 255,
2661
- triplet & 255
2662
- ];
2663
- if (chunkLength === 2) {
2664
- if (throwOnExtraBits && chunkBytes[1] !== 0) throw new SyntaxError$2("Extra bits");
2665
- return [chunkBytes[0]];
2666
- }
2667
- if (chunkLength === 3) {
2668
- if (throwOnExtraBits && chunkBytes[2] !== 0) throw new SyntaxError$2("Extra bits");
2669
- return [chunkBytes[0], chunkBytes[1]];
2670
- }
2671
- return chunkBytes;
2672
- };
2673
- var writeBytes = function(bytes, elements, written) {
2674
- var elementsLength = elements.length;
2675
- for (var index = 0; index < elementsLength; index++) bytes[written + index] = elements[index];
2676
- return written + elementsLength;
2677
- };
2678
- module.exports = function(string, options, into, maxLength) {
2679
- aString$1(string);
2680
- anObjectOrUndefined$1(options);
2681
- var alphabet = getAlphabetOption$1(options) === "base64" ? base64Alphabet$1 : base64UrlAlphabet$1;
2682
- var lastChunkHandling = options ? options.lastChunkHandling : void 0;
2683
- if (lastChunkHandling === void 0) lastChunkHandling = "loose";
2684
- if (lastChunkHandling !== "loose" && lastChunkHandling !== "strict" && lastChunkHandling !== "stop-before-partial") throw new TypeError$2("Incorrect `lastChunkHandling` option");
2685
- if (into) notDetached$3(into.buffer);
2686
- var stringLength = string.length;
2687
- var bytes = into || [];
2688
- var written = 0;
2689
- var read = 0;
2690
- var chunk = "";
2691
- var index = 0;
2692
- if (maxLength) while (true) {
2693
- index = skipAsciiWhitespace(string, index);
2694
- if (index === stringLength) {
2695
- if (chunk.length > 0) {
2696
- if (lastChunkHandling === "stop-before-partial") break;
2697
- if (lastChunkHandling === "loose") {
2698
- if (chunk.length === 1) throw new SyntaxError$2("Malformed padding: exactly one additional character");
2699
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
2700
- } else throw new SyntaxError$2("Missing padding");
2701
- }
2702
- read = stringLength;
2703
- break;
2704
- }
2705
- var chr = at(string, index);
2706
- ++index;
2707
- if (chr === "=") {
2708
- if (chunk.length < 2) throw new SyntaxError$2("Padding is too early");
2709
- index = skipAsciiWhitespace(string, index);
2710
- if (chunk.length === 2) {
2711
- if (index === stringLength) {
2712
- if (lastChunkHandling === "stop-before-partial") break;
2713
- throw new SyntaxError$2("Malformed padding: only one =");
2714
- }
2715
- if (at(string, index) === "=") {
2716
- ++index;
2717
- index = skipAsciiWhitespace(string, index);
2718
- }
2719
- }
2720
- if (index < stringLength) throw new SyntaxError$2("Unexpected character after padding");
2721
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === "strict"), written);
2722
- read = stringLength;
2723
- break;
2724
- }
2725
- if (!hasOwn$7(alphabet, chr)) throw new SyntaxError$2("Unexpected character");
2726
- var remainingBytes = maxLength - written;
2727
- if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) break;
2728
- chunk += chr;
2729
- if (chunk.length === 4) {
2730
- written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
2731
- chunk = "";
2732
- read = index;
2733
- if (written === maxLength) break;
2734
- }
2735
- }
2736
- return {
2737
- bytes,
2738
- read,
2739
- written
2740
- };
2741
- };
2742
- }));
2743
- var require_an_uint8_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2744
- var classof$3 = require_classof();
2745
- var $TypeError$1 = TypeError;
2746
- module.exports = function(argument) {
2747
- if (classof$3(argument) === "Uint8Array") return argument;
2748
- throw new $TypeError$1("Argument is not an Uint8Array");
2749
- };
2750
- }));
2751
- (/* @__PURE__ */ __commonJSMin((() => {
2752
- var $$10 = require_export();
2753
- var globalThis$21 = require_global_this();
2754
- var $fromBase64 = require_uint8_from_base64();
2755
- var anUint8Array$3 = require_an_uint8_array();
2756
- var Uint8Array$4 = globalThis$21.Uint8Array;
2757
- var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2 = !Uint8Array$4 || !Uint8Array$4.prototype.setFromBase64 || !function() {
2758
- var target = new Uint8Array$4([
2759
- 255,
2760
- 255,
2761
- 255,
2762
- 255,
2763
- 255
2764
- ]);
2765
- try {
2766
- target.setFromBase64("", null);
2767
- return;
2768
- } catch (error) {}
2769
- try {
2770
- target.setFromBase64("a");
2771
- return;
2772
- } catch (error) {}
2773
- try {
2774
- target.setFromBase64("MjYyZg===");
2775
- } catch (error) {
2776
- return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
2777
- }
2778
- }();
2779
- if (Uint8Array$4) $$10({
2780
- target: "Uint8Array",
2781
- proto: true,
2782
- forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2
2783
- }, { setFromBase64: function setFromBase64(string) {
2784
- anUint8Array$3(this);
2785
- var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : void 0, this, this.length);
2786
- return {
2787
- read: result.read,
2788
- written: result.written
2789
- };
2790
- } });
2791
- })))();
2792
- var require_uint8_from_hex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2793
- var globalThis$20 = require_global_this();
2794
- var uncurryThis$7 = require_function_uncurry_this();
2795
- var Uint8Array$3 = globalThis$20.Uint8Array;
2796
- var SyntaxError$1 = globalThis$20.SyntaxError;
2797
- var parseInt$1 = globalThis$20.parseInt;
2798
- var min = Math.min;
2799
- var NOT_HEX = /[^\da-f]/i;
2800
- var exec$1 = uncurryThis$7(NOT_HEX.exec);
2801
- var stringSlice = uncurryThis$7("".slice);
2802
- module.exports = function(string, into) {
2803
- var stringLength = string.length;
2804
- if (stringLength % 2 !== 0) throw new SyntaxError$1("String should be an even number of characters");
2805
- var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
2806
- var bytes = into || new Uint8Array$3(maxLength);
2807
- var read = 0;
2808
- var written = 0;
2809
- while (written < maxLength) {
2810
- var hexits = stringSlice(string, read, read += 2);
2811
- if (exec$1(NOT_HEX, hexits)) throw new SyntaxError$1("String should only contain hex characters");
2812
- bytes[written++] = parseInt$1(hexits, 16);
2813
- }
2814
- return {
2815
- bytes,
2816
- read
2817
- };
2818
- };
2819
- }));
2820
- (/* @__PURE__ */ __commonJSMin((() => {
2821
- var $$9 = require_export();
2822
- var globalThis$19 = require_global_this();
2823
- var aString = require_a_string();
2824
- var anUint8Array$2 = require_an_uint8_array();
2825
- var notDetached$2 = require_array_buffer_not_detached();
2826
- var $fromHex = require_uint8_from_hex();
2827
- if (globalThis$19.Uint8Array) $$9({
2828
- target: "Uint8Array",
2829
- proto: true
2830
- }, { setFromHex: function setFromHex(string) {
2831
- anUint8Array$2(this);
2832
- aString(string);
2833
- notDetached$2(this.buffer);
2834
- var read = $fromHex(string, this).read;
2835
- return {
2836
- read,
2837
- written: read / 2
2838
- };
2839
- } });
2840
- })))();
2841
- (/* @__PURE__ */ __commonJSMin((() => {
2842
- var $$8 = require_export();
2843
- var globalThis$18 = require_global_this();
2844
- var uncurryThis$6 = require_function_uncurry_this();
2845
- var anObjectOrUndefined = require_an_object_or_undefined();
2846
- var anUint8Array$1 = require_an_uint8_array();
2847
- var notDetached$1 = require_array_buffer_not_detached();
2848
- var base64Map = require_base64_map();
2849
- var getAlphabetOption = require_get_alphabet_option();
2850
- var base64Alphabet = base64Map.i2c;
2851
- var base64UrlAlphabet = base64Map.i2cUrl;
2852
- var charAt = uncurryThis$6("".charAt);
2853
- var Uint8Array$2 = globalThis$18.Uint8Array;
2854
- var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1 = !Uint8Array$2 || !Uint8Array$2.prototype.toBase64 || !function() {
2855
- try {
2856
- new Uint8Array$2().toBase64(null);
2857
- } catch (error) {
2858
- return true;
2859
- }
2860
- }();
2861
- if (Uint8Array$2) $$8({
2862
- target: "Uint8Array",
2863
- proto: true,
2864
- forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1
2865
- }, { toBase64: function toBase64() {
2866
- var array = anUint8Array$1(this);
2867
- var options = arguments.length ? anObjectOrUndefined(arguments[0]) : void 0;
2868
- var alphabet = getAlphabetOption(options) === "base64" ? base64Alphabet : base64UrlAlphabet;
2869
- var omitPadding = !!options && !!options.omitPadding;
2870
- notDetached$1(this.buffer);
2871
- var result = "";
2872
- var i = 0;
2873
- var length = array.length;
2874
- var triplet;
2875
- var at$3 = function(shift) {
2876
- return charAt(alphabet, triplet >> 6 * shift & 63);
2877
- };
2878
- for (; i + 2 < length; i += 3) {
2879
- triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
2880
- result += at$3(3) + at$3(2) + at$3(1) + at$3(0);
2881
- }
2882
- if (i + 2 === length) {
2883
- triplet = (array[i] << 16) + (array[i + 1] << 8);
2884
- result += at$3(3) + at$3(2) + at$3(1) + (omitPadding ? "" : "=");
2885
- } else if (i + 1 === length) {
2886
- triplet = array[i] << 16;
2887
- result += at$3(3) + at$3(2) + (omitPadding ? "" : "==");
2888
- }
2889
- return result;
2890
- } });
2891
- })))();
2892
- (/* @__PURE__ */ __commonJSMin((() => {
2893
- var $$7 = require_export();
2894
- var globalThis$17 = require_global_this();
2895
- var uncurryThis$5 = require_function_uncurry_this();
2896
- var anUint8Array = require_an_uint8_array();
2897
- var notDetached = require_array_buffer_not_detached();
2898
- var numberToString = uncurryThis$5(1.1.toString);
2899
- var Uint8Array$1 = globalThis$17.Uint8Array;
2900
- var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array$1 || !Uint8Array$1.prototype.toHex || !(function() {
2901
- try {
2902
- return new Uint8Array$1([
2903
- 255,
2904
- 255,
2905
- 255,
2906
- 255,
2907
- 255,
2908
- 255,
2909
- 255,
2910
- 255
2911
- ]).toHex() === "ffffffffffffffff";
2912
- } catch (error) {
2913
- return false;
2914
- }
2915
- })();
2916
- if (Uint8Array$1) $$7({
2917
- target: "Uint8Array",
2918
- proto: true,
2919
- forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS
2920
- }, { toHex: function toHex() {
2921
- anUint8Array(this);
2922
- notDetached(this.buffer);
2923
- var result = "";
2924
- for (var i = 0, length = this.length; i < length; i++) {
2925
- var hex = numberToString(this[i], 16);
2926
- result += hex.length === 1 ? "0" + hex : hex;
2927
- }
2928
- return result;
2929
- } });
2930
- })))();
2931
- var require_inherit_if_required = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2932
- var isCallable$5 = require_is_callable();
2933
- var isObject$1 = require_is_object();
2934
- var setPrototypeOf$1 = require_object_set_prototype_of();
2935
- module.exports = function($this, dummy, Wrapper) {
2936
- var NewTarget, NewTargetPrototype;
2937
- if (setPrototypeOf$1 && isCallable$5(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject$1(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf$1($this, NewTargetPrototype);
2938
- return $this;
2939
- };
2940
- }));
2941
- var require_normalize_string_argument = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2942
- var toString = require_to_string();
2943
- module.exports = function(argument, $default) {
2944
- return argument === void 0 ? arguments.length < 2 ? "" : $default : toString(argument);
2346
+ var require_normalize_string_argument = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2347
+ var toString = require_to_string();
2348
+ module.exports = function(argument, $default) {
2349
+ return argument === void 0 ? arguments.length < 2 ? "" : $default : toString(argument);
2945
2350
  };
2946
2351
  }));
2947
2352
  var require_dom_exception_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -3074,9 +2479,9 @@
3074
2479
  };
3075
2480
  }));
3076
2481
  var require_error_stack_clear = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3077
- var uncurryThis$4 = require_function_uncurry_this();
2482
+ var uncurryThis$8 = require_function_uncurry_this();
3078
2483
  var $Error$1 = Error;
3079
- var replace = uncurryThis$4("".replace);
2484
+ var replace = uncurryThis$8("".replace);
3080
2485
  var TEST = (function(arg) {
3081
2486
  return String(new $Error$1(arg).stack);
3082
2487
  })("zxcasd");
@@ -3087,18 +2492,18 @@
3087
2492
  return stack;
3088
2493
  };
3089
2494
  }));
3090
- var $$6 = require_export();
3091
- var globalThis$16 = require_global_this();
2495
+ var $$10 = require_export();
2496
+ var globalThis$25 = require_global_this();
3092
2497
  var getBuiltIn$3 = require_get_built_in();
3093
2498
  var createPropertyDescriptor$2 = require_create_property_descriptor();
3094
2499
  var defineProperty$3 = require_object_define_property().f;
3095
- var hasOwn$6 = require_has_own_property();
2500
+ var hasOwn$8 = require_has_own_property();
3096
2501
  var anInstance = require_an_instance();
3097
2502
  var inheritIfRequired = require_inherit_if_required();
3098
2503
  var normalizeStringArgument$1 = require_normalize_string_argument();
3099
2504
  var DOMExceptionConstants = require_dom_exception_constants();
3100
2505
  var clearErrorStack$1 = require_error_stack_clear();
3101
- var DESCRIPTORS = require_descriptors();
2506
+ var DESCRIPTORS$1 = require_descriptors();
3102
2507
  var IS_PURE$4 = require_is_pure();
3103
2508
  var DOM_EXCEPTION = "DOMException";
3104
2509
  var Error$2 = getBuiltIn$3("Error");
@@ -3117,10 +2522,10 @@
3117
2522
  var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;
3118
2523
  var ERROR_HAS_STACK = "stack" in new Error$2(DOM_EXCEPTION);
3119
2524
  var DOM_EXCEPTION_HAS_STACK = "stack" in new NativeDOMException(1, 2);
3120
- var descriptor$2 = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(globalThis$16, DOM_EXCEPTION);
2525
+ var descriptor$2 = NativeDOMException && DESCRIPTORS$1 && Object.getOwnPropertyDescriptor(globalThis$25, DOM_EXCEPTION);
3121
2526
  var BUGGY_DESCRIPTOR = !!descriptor$2 && !(descriptor$2.writable && descriptor$2.configurable);
3122
2527
  var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;
3123
- $$6({
2528
+ $$10({
3124
2529
  global: true,
3125
2530
  constructor: true,
3126
2531
  forced: IS_PURE$4 || FORCED_CONSTRUCTOR
@@ -3129,26 +2534,26 @@
3129
2534
  var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;
3130
2535
  if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {
3131
2536
  if (!IS_PURE$4) defineProperty$3(PolyfilledDOMExceptionPrototype, "constructor", createPropertyDescriptor$2(1, PolyfilledDOMException));
3132
- for (var key in DOMExceptionConstants) if (hasOwn$6(DOMExceptionConstants, key)) {
2537
+ for (var key in DOMExceptionConstants) if (hasOwn$8(DOMExceptionConstants, key)) {
3133
2538
  var constant = DOMExceptionConstants[key];
3134
2539
  var constantName = constant.s;
3135
- if (!hasOwn$6(PolyfilledDOMException, constantName)) defineProperty$3(PolyfilledDOMException, constantName, createPropertyDescriptor$2(6, constant.c));
2540
+ if (!hasOwn$8(PolyfilledDOMException, constantName)) defineProperty$3(PolyfilledDOMException, constantName, createPropertyDescriptor$2(6, constant.c));
3136
2541
  }
3137
2542
  }
3138
2543
  var require_is_constructor = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3139
- var uncurryThis$3 = require_function_uncurry_this();
2544
+ var uncurryThis$7 = require_function_uncurry_this();
3140
2545
  var fails$6 = require_fails();
3141
- var isCallable$4 = require_is_callable();
3142
- var classof$2 = require_classof();
2546
+ var isCallable$5 = require_is_callable();
2547
+ var classof$6 = require_classof();
3143
2548
  var getBuiltIn$2 = require_get_built_in();
3144
2549
  var inspectSource = require_inspect_source();
3145
2550
  var noop = function() {};
3146
2551
  var construct = getBuiltIn$2("Reflect", "construct");
3147
2552
  var constructorRegExp = /^\s*(?:class|function)\b/;
3148
- var exec = uncurryThis$3(constructorRegExp.exec);
2553
+ var exec$1 = uncurryThis$7(constructorRegExp.exec);
3149
2554
  var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
3150
2555
  var isConstructorModern = function isConstructor$1(argument) {
3151
- if (!isCallable$4(argument)) return false;
2556
+ if (!isCallable$5(argument)) return false;
3152
2557
  try {
3153
2558
  construct(noop, [], argument);
3154
2559
  return true;
@@ -3157,14 +2562,14 @@
3157
2562
  }
3158
2563
  };
3159
2564
  var isConstructorLegacy = function isConstructor$1(argument) {
3160
- if (!isCallable$4(argument)) return false;
3161
- switch (classof$2(argument)) {
2565
+ if (!isCallable$5(argument)) return false;
2566
+ switch (classof$6(argument)) {
3162
2567
  case "AsyncFunction":
3163
2568
  case "GeneratorFunction":
3164
2569
  case "AsyncGeneratorFunction": return false;
3165
2570
  }
3166
2571
  try {
3167
- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
2572
+ return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));
3168
2573
  } catch (error) {
3169
2574
  return true;
3170
2575
  }
@@ -3178,16 +2583,16 @@
3178
2583
  }) ? isConstructorLegacy : isConstructorModern;
3179
2584
  }));
3180
2585
  var require_validate_arguments_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3181
- var $TypeError = TypeError;
2586
+ var $TypeError$6 = TypeError;
3182
2587
  module.exports = function(passed, required) {
3183
- if (passed < required) throw new $TypeError("Not enough arguments");
2588
+ if (passed < required) throw new $TypeError$6("Not enough arguments");
3184
2589
  return passed;
3185
2590
  };
3186
2591
  }));
3187
2592
  var require_regexp_flags_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3188
- var globalThis$15 = require_global_this();
2593
+ var globalThis$24 = require_global_this();
3189
2594
  var fails$5 = require_fails();
3190
- var RegExp$1 = globalThis$15.RegExp;
2595
+ var RegExp$1 = globalThis$24.RegExp;
3191
2596
  module.exports = { correct: !fails$5(function() {
3192
2597
  var INDICES_SUPPORT = true;
3193
2598
  try {
@@ -3234,33 +2639,33 @@
3234
2639
  }));
3235
2640
  var require_regexp_get_flags = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3236
2641
  var call$3 = require_function_call();
3237
- var hasOwn$5 = require_has_own_property();
3238
- var isPrototypeOf$1 = require_object_is_prototype_of();
2642
+ var hasOwn$7 = require_has_own_property();
2643
+ var isPrototypeOf$2 = require_object_is_prototype_of();
3239
2644
  var regExpFlagsDetection = require_regexp_flags_detection();
3240
2645
  var regExpFlagsGetterImplementation = require_regexp_flags();
3241
2646
  var RegExpPrototype = RegExp.prototype;
3242
2647
  module.exports = regExpFlagsDetection.correct ? function(it) {
3243
2648
  return it.flags;
3244
2649
  } : function(it) {
3245
- return !regExpFlagsDetection.correct && isPrototypeOf$1(RegExpPrototype, it) && !hasOwn$5(it, "flags") ? call$3(regExpFlagsGetterImplementation, it) : it.flags;
2650
+ return !regExpFlagsDetection.correct && isPrototypeOf$2(RegExpPrototype, it) && !hasOwn$7(it, "flags") ? call$3(regExpFlagsGetterImplementation, it) : it.flags;
3246
2651
  };
3247
2652
  }));
3248
2653
  var require_map_helpers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3249
- var uncurryThis$2 = require_function_uncurry_this();
2654
+ var uncurryThis$6 = require_function_uncurry_this();
3250
2655
  var MapPrototype = Map.prototype;
3251
2656
  module.exports = {
3252
2657
  Map,
3253
- set: uncurryThis$2(MapPrototype.set),
3254
- get: uncurryThis$2(MapPrototype.get),
3255
- has: uncurryThis$2(MapPrototype.has),
3256
- remove: uncurryThis$2(MapPrototype["delete"]),
2658
+ set: uncurryThis$6(MapPrototype.set),
2659
+ get: uncurryThis$6(MapPrototype.get),
2660
+ has: uncurryThis$6(MapPrototype.has),
2661
+ remove: uncurryThis$6(MapPrototype["delete"]),
3257
2662
  proto: MapPrototype
3258
2663
  };
3259
2664
  }));
3260
2665
  var require_environment = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3261
- var globalThis$14 = require_global_this();
2666
+ var globalThis$23 = require_global_this();
3262
2667
  var userAgent$1 = require_environment_user_agent();
3263
- var classof$1 = require_classof_raw();
2668
+ var classof$5 = require_classof_raw();
3264
2669
  var userAgentStartsWith = function(string) {
3265
2670
  return userAgent$1.slice(0, string.length) === string;
3266
2671
  };
@@ -3269,10 +2674,10 @@
3269
2674
  if (userAgentStartsWith("Cloudflare-Workers")) return "CLOUDFLARE";
3270
2675
  if (userAgentStartsWith("Deno/")) return "DENO";
3271
2676
  if (userAgentStartsWith("Node.js/")) return "NODE";
3272
- if (globalThis$14.Bun && typeof Bun.version == "string") return "BUN";
3273
- if (globalThis$14.Deno && typeof Deno.version == "object") return "DENO";
3274
- if (classof$1(globalThis$14.process) === "process") return "NODE";
3275
- if (globalThis$14.window && globalThis$14.document) return "BROWSER";
2677
+ if (globalThis$23.Bun && typeof Bun.version == "string") return "BUN";
2678
+ if (globalThis$23.Deno && typeof Deno.version == "object") return "DENO";
2679
+ if (classof$5(globalThis$23.process) === "process") return "NODE";
2680
+ if (globalThis$23.window && globalThis$23.document) return "BROWSER";
3276
2681
  return "REST";
3277
2682
  })();
3278
2683
  }));
@@ -3280,12 +2685,12 @@
3280
2685
  module.exports = require_environment() === "NODE";
3281
2686
  }));
3282
2687
  var require_get_built_in_node_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3283
- var globalThis$13 = require_global_this();
2688
+ var globalThis$22 = require_global_this();
3284
2689
  var IS_NODE$1 = require_environment_is_node();
3285
2690
  module.exports = function(name) {
3286
2691
  if (IS_NODE$1) {
3287
2692
  try {
3288
- return globalThis$13.process.getBuiltinModule(name);
2693
+ return globalThis$22.process.getBuiltinModule(name);
3289
2694
  } catch (error) {}
3290
2695
  try {
3291
2696
  return Function("return require(\"" + name + "\")")();
@@ -3294,11 +2699,11 @@
3294
2699
  };
3295
2700
  }));
3296
2701
  var require_structured_clone_proper_transfer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3297
- var globalThis$12 = require_global_this();
2702
+ var globalThis$21 = require_global_this();
3298
2703
  var fails$4 = require_fails();
3299
2704
  var V8 = require_environment_v8_version();
3300
2705
  var ENVIRONMENT$1 = require_environment();
3301
- var structuredClone$1 = globalThis$12.structuredClone;
2706
+ var structuredClone$1 = globalThis$21.structuredClone;
3302
2707
  module.exports = !!structuredClone$1 && !fails$4(function() {
3303
2708
  if (ENVIRONMENT$1 === "DENO" && V8 > 92 || ENVIRONMENT$1 === "NODE" && V8 > 94 || ENVIRONMENT$1 === "BROWSER" && V8 > 97) return false;
3304
2709
  var buffer$1 = /* @__PURE__ */ new ArrayBuffer(8);
@@ -3307,12 +2712,12 @@
3307
2712
  });
3308
2713
  }));
3309
2714
  var require_detach_transferable = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3310
- var globalThis$11 = require_global_this();
2715
+ var globalThis$20 = require_global_this();
3311
2716
  var getBuiltInNodeModule = require_get_built_in_node_module();
3312
2717
  var PROPER_STRUCTURED_CLONE_TRANSFER$1 = require_structured_clone_proper_transfer();
3313
- var structuredClone = globalThis$11.structuredClone;
3314
- var $ArrayBuffer = globalThis$11.ArrayBuffer;
3315
- var $MessageChannel = globalThis$11.MessageChannel;
2718
+ var structuredClone = globalThis$20.structuredClone;
2719
+ var $ArrayBuffer = globalThis$20.ArrayBuffer;
2720
+ var $MessageChannel = globalThis$20.MessageChannel;
3316
2721
  var detach = false;
3317
2722
  var WorkerThreads, channel$1, buffer, $detach;
3318
2723
  if (PROPER_STRUCTURED_CLONE_TRANSFER$1) detach = function(transferable) {
@@ -3348,24 +2753,24 @@
3348
2753
  });
3349
2754
  }));
3350
2755
  var IS_PURE$3 = require_is_pure();
3351
- var $$5 = require_export();
3352
- var globalThis$10 = require_global_this();
2756
+ var $$9 = require_export();
2757
+ var globalThis$19 = require_global_this();
3353
2758
  var getBuiltIn$1 = require_get_built_in();
3354
- var uncurryThis$1 = require_function_uncurry_this();
2759
+ var uncurryThis$5 = require_function_uncurry_this();
3355
2760
  var fails$2 = require_fails();
3356
- var uid = require_uid();
3357
- var isCallable$3 = require_is_callable();
2761
+ var uid$1 = require_uid();
2762
+ var isCallable$4 = require_is_callable();
3358
2763
  var isConstructor = require_is_constructor();
3359
2764
  var isNullOrUndefined = require_is_null_or_undefined();
3360
- var isObject = require_is_object();
2765
+ var isObject$2 = require_is_object();
3361
2766
  var isSymbol = require_is_symbol();
3362
2767
  var iterate$1 = require_iterate();
3363
2768
  var anObject$2 = require_an_object();
3364
- var classof = require_classof();
3365
- var hasOwn$4 = require_has_own_property();
2769
+ var classof$4 = require_classof();
2770
+ var hasOwn$6 = require_has_own_property();
3366
2771
  var createProperty = require_create_property();
3367
- var createNonEnumerableProperty$2 = require_create_non_enumerable_property();
3368
- var lengthOfArrayLike = require_length_of_array_like();
2772
+ var createNonEnumerableProperty$3 = require_create_non_enumerable_property();
2773
+ var lengthOfArrayLike$1 = require_length_of_array_like();
3369
2774
  var validateArgumentsLength$2 = require_validate_arguments_length();
3370
2775
  var getRegExpFlags = require_regexp_get_flags();
3371
2776
  var MapHelpers = require_map_helpers();
@@ -3374,12 +2779,12 @@
3374
2779
  var detachTransferable = require_detach_transferable();
3375
2780
  var ERROR_STACK_INSTALLABLE$1 = require_error_stack_installable();
3376
2781
  var PROPER_STRUCTURED_CLONE_TRANSFER = require_structured_clone_proper_transfer();
3377
- var Object$1 = globalThis$10.Object;
3378
- var Array$1 = globalThis$10.Array;
3379
- var Date = globalThis$10.Date;
3380
- var Error$1 = globalThis$10.Error;
3381
- var TypeError$1 = globalThis$10.TypeError;
3382
- var PerformanceMark = globalThis$10.PerformanceMark;
2782
+ var Object$1 = globalThis$19.Object;
2783
+ var Array$1 = globalThis$19.Array;
2784
+ var Date = globalThis$19.Date;
2785
+ var Error$1 = globalThis$19.Error;
2786
+ var TypeError$4 = globalThis$19.TypeError;
2787
+ var PerformanceMark = globalThis$19.PerformanceMark;
3383
2788
  var DOMException = getBuiltIn$1("DOMException");
3384
2789
  var Map$1 = MapHelpers.Map;
3385
2790
  var mapHas = MapHelpers.has;
@@ -3389,20 +2794,20 @@
3389
2794
  var setAdd = SetHelpers.add;
3390
2795
  var setHas = SetHelpers.has;
3391
2796
  var objectKeys = getBuiltIn$1("Object", "keys");
3392
- var push$1 = uncurryThis$1([].push);
3393
- var thisBooleanValue = uncurryThis$1(true.valueOf);
3394
- var thisNumberValue = uncurryThis$1(1.1.valueOf);
3395
- var thisStringValue = uncurryThis$1("".valueOf);
3396
- var thisTimeValue = uncurryThis$1(Date.prototype.getTime);
3397
- var PERFORMANCE_MARK = uid("structuredClone");
2797
+ var push$1 = uncurryThis$5([].push);
2798
+ var thisBooleanValue = uncurryThis$5(true.valueOf);
2799
+ var thisNumberValue = uncurryThis$5(1.1.valueOf);
2800
+ var thisStringValue = uncurryThis$5("".valueOf);
2801
+ var thisTimeValue = uncurryThis$5(Date.prototype.getTime);
2802
+ var PERFORMANCE_MARK = uid$1("structuredClone");
3398
2803
  var DATA_CLONE_ERROR = "DataCloneError";
3399
2804
  var TRANSFERRING = "Transferring";
3400
2805
  var checkBasicSemantic = function(structuredCloneImplementation) {
3401
2806
  return !fails$2(function() {
3402
- var set1 = new globalThis$10.Set([7]);
2807
+ var set1 = new globalThis$19.Set([7]);
3403
2808
  var set2 = structuredCloneImplementation(set1);
3404
2809
  var number = structuredCloneImplementation(Object$1(7));
3405
- return set2 === set1 || !set2.has(7) || !isObject(number) || +number !== 7;
2810
+ return set2 === set1 || !set2.has(7) || !isObject$2(number) || +number !== 7;
3406
2811
  }) && structuredCloneImplementation;
3407
2812
  };
3408
2813
  var checkErrorsCloning = function(structuredCloneImplementation, $Error$2) {
@@ -3417,11 +2822,11 @@
3417
2822
  };
3418
2823
  var checkNewErrorsCloningSemantic = function(structuredCloneImplementation) {
3419
2824
  return !fails$2(function() {
3420
- var test$1 = structuredCloneImplementation(new globalThis$10.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
2825
+ var test$1 = structuredCloneImplementation(new globalThis$19.AggregateError([1], PERFORMANCE_MARK, { cause: 3 }));
3421
2826
  return test$1.name !== "AggregateError" || test$1.errors[0] !== 1 || test$1.message !== PERFORMANCE_MARK || test$1.cause !== 3;
3422
2827
  });
3423
2828
  };
3424
- var nativeStructuredClone = globalThis$10.structuredClone;
2829
+ var nativeStructuredClone = globalThis$19.structuredClone;
3425
2830
  var FORCED_REPLACEMENT = IS_PURE$3 || !checkErrorsCloning(nativeStructuredClone, Error$1) || !checkErrorsCloning(nativeStructuredClone, DOMException) || !checkNewErrorsCloningSemantic(nativeStructuredClone);
3426
2831
  var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function(value) {
3427
2832
  return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail;
@@ -3440,25 +2845,25 @@
3440
2845
  var createDataTransfer = function() {
3441
2846
  var dataTransfer;
3442
2847
  try {
3443
- dataTransfer = new globalThis$10.DataTransfer();
2848
+ dataTransfer = new globalThis$19.DataTransfer();
3444
2849
  } catch (error) {
3445
2850
  try {
3446
- dataTransfer = new globalThis$10.ClipboardEvent("").clipboardData;
2851
+ dataTransfer = new globalThis$19.ClipboardEvent("").clipboardData;
3447
2852
  } catch (error2) {}
3448
2853
  }
3449
2854
  return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null;
3450
2855
  };
3451
2856
  var cloneBuffer = function(value, map, $type) {
3452
2857
  if (mapHas(map, value)) return mapGet(map, value);
3453
- var type = $type || classof(value);
2858
+ var type = $type || classof$4(value);
3454
2859
  var clone$3, length, options, source, target, i;
3455
2860
  if (type === "SharedArrayBuffer") if (nativeRestrictedStructuredClone) clone$3 = nativeRestrictedStructuredClone(value);
3456
2861
  else clone$3 = value;
3457
2862
  else {
3458
- var DataView$2 = globalThis$10.DataView;
3459
- if (!DataView$2 && !isCallable$3(value.slice)) throwUnpolyfillable("ArrayBuffer");
2863
+ var DataView$2 = globalThis$19.DataView;
2864
+ if (!DataView$2 && !isCallable$4(value.slice)) throwUnpolyfillable("ArrayBuffer");
3460
2865
  try {
3461
- if (isCallable$3(value.slice) && !value.resizable) clone$3 = value.slice(0);
2866
+ if (isCallable$4(value.slice) && !value.resizable) clone$3 = value.slice(0);
3462
2867
  else {
3463
2868
  length = value.byteLength;
3464
2869
  options = "maxByteLength" in value ? { maxByteLength: value.maxByteLength } : void 0;
@@ -3475,21 +2880,21 @@
3475
2880
  return clone$3;
3476
2881
  };
3477
2882
  var cloneView = function(value, type, offset, length, map) {
3478
- var C = globalThis$10[type];
3479
- if (!isObject(C)) throwUnpolyfillable(type);
2883
+ var C = globalThis$19[type];
2884
+ if (!isObject$2(C)) throwUnpolyfillable(type);
3480
2885
  return new C(cloneBuffer(value.buffer, map), offset, length);
3481
2886
  };
3482
2887
  var structuredCloneInternal = function(value, map) {
3483
2888
  if (isSymbol(value)) throwUncloneable("Symbol");
3484
- if (!isObject(value)) return value;
2889
+ if (!isObject$2(value)) return value;
3485
2890
  if (map) {
3486
2891
  if (mapHas(map, value)) return mapGet(map, value);
3487
2892
  } else map = new Map$1();
3488
- var type = classof(value);
2893
+ var type = classof$4(value);
3489
2894
  var C, name, cloned, dataTransfer, i, length, keys$2, key$1;
3490
2895
  switch (type) {
3491
2896
  case "Array":
3492
- cloned = Array$1(lengthOfArrayLike(value));
2897
+ cloned = Array$1(lengthOfArrayLike$1(value));
3493
2898
  break;
3494
2899
  case "Object":
3495
2900
  cloned = {};
@@ -3559,7 +2964,7 @@
3559
2964
  case "File":
3560
2965
  if (nativeRestrictedStructuredClone) try {
3561
2966
  cloned = nativeRestrictedStructuredClone(value);
3562
- if (classof(cloned) !== type) cloned = void 0;
2967
+ if (classof$4(cloned) !== type) cloned = void 0;
3563
2968
  } catch (error) {}
3564
2969
  if (!cloned) try {
3565
2970
  cloned = new File([value], value.name, value);
@@ -3569,7 +2974,7 @@
3569
2974
  case "FileList":
3570
2975
  dataTransfer = createDataTransfer();
3571
2976
  if (dataTransfer) {
3572
- for (i = 0, length = lengthOfArrayLike(value); i < length; i++) dataTransfer.items.add(structuredCloneInternal(value[i], map));
2977
+ for (i = 0, length = lengthOfArrayLike$1(value); i < length; i++) dataTransfer.items.add(structuredCloneInternal(value[i], map));
3573
2978
  cloned = dataTransfer.files;
3574
2979
  } else cloned = tryNativeRestrictedStructuredClone(value, type);
3575
2980
  break;
@@ -3606,7 +3011,7 @@
3606
3011
  break;
3607
3012
  case "DOMPoint":
3608
3013
  case "DOMPointReadOnly":
3609
- C = globalThis$10[type];
3014
+ C = globalThis$19[type];
3610
3015
  try {
3611
3016
  cloned = C.fromPoint ? C.fromPoint(value) : new C(value.x, value.y, value.z, value.w);
3612
3017
  } catch (error) {
@@ -3615,7 +3020,7 @@
3615
3020
  break;
3616
3021
  case "DOMRect":
3617
3022
  case "DOMRectReadOnly":
3618
- C = globalThis$10[type];
3023
+ C = globalThis$19[type];
3619
3024
  try {
3620
3025
  cloned = C.fromRect ? C.fromRect(value) : new C(value.x, value.y, value.width, value.height);
3621
3026
  } catch (error) {
@@ -3624,7 +3029,7 @@
3624
3029
  break;
3625
3030
  case "DOMMatrix":
3626
3031
  case "DOMMatrixReadOnly":
3627
- C = globalThis$10[type];
3032
+ C = globalThis$19[type];
3628
3033
  try {
3629
3034
  cloned = C.fromMatrix ? C.fromMatrix(value) : new C(value);
3630
3035
  } catch (error) {
@@ -3633,7 +3038,7 @@
3633
3038
  break;
3634
3039
  case "AudioData":
3635
3040
  case "VideoFrame":
3636
- if (!isCallable$3(value.clone)) throwUnpolyfillable(type);
3041
+ if (!isCallable$4(value.clone)) throwUnpolyfillable(type);
3637
3042
  try {
3638
3043
  cloned = value.clone();
3639
3044
  } catch (error) {
@@ -3652,117 +3057,729 @@
3652
3057
  case "WebAssembly.Module": throwUnpolyfillable(type);
3653
3058
  default: throwUncloneable(type);
3654
3059
  }
3655
- }
3656
- mapSet(map, value, cloned);
3657
- switch (type) {
3658
- case "Array":
3659
- case "Object":
3660
- keys$2 = objectKeys(value);
3661
- for (i = 0, length = lengthOfArrayLike(keys$2); i < length; i++) {
3662
- key$1 = keys$2[i];
3663
- createProperty(cloned, key$1, structuredCloneInternal(value[key$1], map));
3664
- }
3665
- break;
3666
- case "Map":
3667
- value.forEach(function(v, k) {
3668
- mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));
3669
- });
3670
- break;
3671
- case "Set":
3672
- value.forEach(function(v) {
3673
- setAdd(cloned, structuredCloneInternal(v, map));
3674
- });
3675
- break;
3676
- case "Error":
3677
- createNonEnumerableProperty$2(cloned, "message", structuredCloneInternal(value.message, map));
3678
- if (hasOwn$4(value, "cause")) createNonEnumerableProperty$2(cloned, "cause", structuredCloneInternal(value.cause, map));
3679
- if (name === "AggregateError") cloned.errors = structuredCloneInternal(value.errors, map);
3680
- else if (name === "SuppressedError") {
3681
- cloned.error = structuredCloneInternal(value.error, map);
3682
- cloned.suppressed = structuredCloneInternal(value.suppressed, map);
3683
- }
3684
- case "DOMException": if (ERROR_STACK_INSTALLABLE$1) createNonEnumerableProperty$2(cloned, "stack", structuredCloneInternal(value.stack, map));
3685
- }
3686
- return cloned;
3687
- };
3688
- var tryToTransfer = function(rawTransfer, map) {
3689
- if (!isObject(rawTransfer)) throw new TypeError$1("Transfer option cannot be converted to a sequence");
3690
- var transfer = [];
3691
- iterate$1(rawTransfer, function(value$1) {
3692
- push$1(transfer, anObject$2(value$1));
3693
- });
3694
- var i = 0;
3695
- var length = lengthOfArrayLike(transfer);
3696
- var buffers = new Set$1();
3697
- var value, type, C, transferred, canvas, context;
3698
- while (i < length) {
3699
- value = transfer[i++];
3700
- type = classof(value);
3701
- if (type === "ArrayBuffer" ? setHas(buffers, value) : mapHas(map, value)) throw new DOMException("Duplicate transferable", DATA_CLONE_ERROR);
3702
- if (type === "ArrayBuffer") {
3703
- setAdd(buffers, value);
3704
- continue;
3060
+ }
3061
+ mapSet(map, value, cloned);
3062
+ switch (type) {
3063
+ case "Array":
3064
+ case "Object":
3065
+ keys$2 = objectKeys(value);
3066
+ for (i = 0, length = lengthOfArrayLike$1(keys$2); i < length; i++) {
3067
+ key$1 = keys$2[i];
3068
+ createProperty(cloned, key$1, structuredCloneInternal(value[key$1], map));
3069
+ }
3070
+ break;
3071
+ case "Map":
3072
+ value.forEach(function(v, k) {
3073
+ mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));
3074
+ });
3075
+ break;
3076
+ case "Set":
3077
+ value.forEach(function(v) {
3078
+ setAdd(cloned, structuredCloneInternal(v, map));
3079
+ });
3080
+ break;
3081
+ case "Error":
3082
+ createNonEnumerableProperty$3(cloned, "message", structuredCloneInternal(value.message, map));
3083
+ if (hasOwn$6(value, "cause")) createNonEnumerableProperty$3(cloned, "cause", structuredCloneInternal(value.cause, map));
3084
+ if (name === "AggregateError") cloned.errors = structuredCloneInternal(value.errors, map);
3085
+ else if (name === "SuppressedError") {
3086
+ cloned.error = structuredCloneInternal(value.error, map);
3087
+ cloned.suppressed = structuredCloneInternal(value.suppressed, map);
3088
+ }
3089
+ case "DOMException": if (ERROR_STACK_INSTALLABLE$1) createNonEnumerableProperty$3(cloned, "stack", structuredCloneInternal(value.stack, map));
3090
+ }
3091
+ return cloned;
3092
+ };
3093
+ var tryToTransfer = function(rawTransfer, map) {
3094
+ if (!isObject$2(rawTransfer)) throw new TypeError$4("Transfer option cannot be converted to a sequence");
3095
+ var transfer = [];
3096
+ iterate$1(rawTransfer, function(value$1) {
3097
+ push$1(transfer, anObject$2(value$1));
3098
+ });
3099
+ var i = 0;
3100
+ var length = lengthOfArrayLike$1(transfer);
3101
+ var buffers = new Set$1();
3102
+ var value, type, C, transferred, canvas, context;
3103
+ while (i < length) {
3104
+ value = transfer[i++];
3105
+ type = classof$4(value);
3106
+ if (type === "ArrayBuffer" ? setHas(buffers, value) : mapHas(map, value)) throw new DOMException("Duplicate transferable", DATA_CLONE_ERROR);
3107
+ if (type === "ArrayBuffer") {
3108
+ setAdd(buffers, value);
3109
+ continue;
3110
+ }
3111
+ if (PROPER_STRUCTURED_CLONE_TRANSFER) transferred = nativeStructuredClone(value, { transfer: [value] });
3112
+ else switch (type) {
3113
+ case "ImageBitmap":
3114
+ C = globalThis$19.OffscreenCanvas;
3115
+ if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);
3116
+ try {
3117
+ canvas = new C(value.width, value.height);
3118
+ context = canvas.getContext("bitmaprenderer");
3119
+ context.transferFromImageBitmap(value);
3120
+ transferred = canvas.transferToImageBitmap();
3121
+ } catch (error) {}
3122
+ break;
3123
+ case "AudioData":
3124
+ case "VideoFrame":
3125
+ if (!isCallable$4(value.clone) || !isCallable$4(value.close)) throwUnpolyfillable(type, TRANSFERRING);
3126
+ try {
3127
+ transferred = value.clone();
3128
+ value.close();
3129
+ } catch (error) {}
3130
+ break;
3131
+ case "MediaSourceHandle":
3132
+ case "MessagePort":
3133
+ case "MIDIAccess":
3134
+ case "OffscreenCanvas":
3135
+ case "ReadableStream":
3136
+ case "RTCDataChannel":
3137
+ case "TransformStream":
3138
+ case "WebTransportReceiveStream":
3139
+ case "WebTransportSendStream":
3140
+ case "WritableStream": throwUnpolyfillable(type, TRANSFERRING);
3141
+ }
3142
+ if (transferred === void 0) throw new DOMException("This object cannot be transferred: " + type, DATA_CLONE_ERROR);
3143
+ mapSet(map, value, transferred);
3144
+ }
3145
+ return buffers;
3146
+ };
3147
+ var detachBuffers = function(buffers) {
3148
+ setIterate(buffers, function(buffer$1) {
3149
+ if (PROPER_STRUCTURED_CLONE_TRANSFER) nativeRestrictedStructuredClone(buffer$1, { transfer: [buffer$1] });
3150
+ else if (isCallable$4(buffer$1.transfer)) buffer$1.transfer();
3151
+ else if (detachTransferable) detachTransferable(buffer$1);
3152
+ else throwUnpolyfillable("ArrayBuffer", TRANSFERRING);
3153
+ });
3154
+ };
3155
+ $$9({
3156
+ global: true,
3157
+ enumerable: true,
3158
+ sham: !PROPER_STRUCTURED_CLONE_TRANSFER,
3159
+ forced: FORCED_REPLACEMENT
3160
+ }, { structuredClone: function structuredClone$2(value) {
3161
+ var options = validateArgumentsLength$2(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject$2(arguments[1]) : void 0;
3162
+ var transfer = options ? options.transfer : void 0;
3163
+ var map, buffers;
3164
+ if (transfer !== void 0) {
3165
+ map = new Map$1();
3166
+ buffers = tryToTransfer(transfer, map);
3167
+ }
3168
+ var clone$3 = structuredCloneInternal(value, map);
3169
+ if (buffers) detachBuffers(buffers);
3170
+ return clone$3;
3171
+ } });
3172
+ var require_array_with = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3173
+ var lengthOfArrayLike = require_length_of_array_like();
3174
+ var toIntegerOrInfinity$2 = require_to_integer_or_infinity();
3175
+ var $RangeError$2 = RangeError;
3176
+ module.exports = function(O, C, index, value) {
3177
+ var len = lengthOfArrayLike(O);
3178
+ var relativeIndex = toIntegerOrInfinity$2(index);
3179
+ var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;
3180
+ if (actualIndex >= len || actualIndex < 0) throw new $RangeError$2("Incorrect index");
3181
+ var A = new C(len);
3182
+ var k = 0;
3183
+ for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];
3184
+ return A;
3185
+ };
3186
+ }));
3187
+ var require_array_buffer_basic_detection = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3188
+ module.exports = typeof ArrayBuffer != "undefined" && typeof DataView != "undefined";
3189
+ }));
3190
+ var require_array_buffer_view_core = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3191
+ var NATIVE_ARRAY_BUFFER$1 = require_array_buffer_basic_detection();
3192
+ var DESCRIPTORS = require_descriptors();
3193
+ var globalThis$18 = require_global_this();
3194
+ var isCallable$3 = require_is_callable();
3195
+ var isObject$1 = require_is_object();
3196
+ var hasOwn$5 = require_has_own_property();
3197
+ var classof$3 = require_classof();
3198
+ var tryToString = require_try_to_string();
3199
+ var createNonEnumerableProperty$2 = require_create_non_enumerable_property();
3200
+ var defineBuiltIn$3 = require_define_built_in();
3201
+ var defineBuiltInAccessor = require_define_built_in_accessor();
3202
+ var isPrototypeOf$1 = require_object_is_prototype_of();
3203
+ var getPrototypeOf$2 = require_object_get_prototype_of();
3204
+ var setPrototypeOf$1 = require_object_set_prototype_of();
3205
+ var wellKnownSymbol$5 = require_well_known_symbol();
3206
+ var uid = require_uid();
3207
+ var InternalStateModule = require_internal_state();
3208
+ var enforceInternalState = InternalStateModule.enforce;
3209
+ var getInternalState = InternalStateModule.get;
3210
+ var Int8Array$1 = globalThis$18.Int8Array;
3211
+ var Int8ArrayPrototype = Int8Array$1 && Int8Array$1.prototype;
3212
+ var Uint8ClampedArray = globalThis$18.Uint8ClampedArray;
3213
+ var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;
3214
+ var TypedArray = Int8Array$1 && getPrototypeOf$2(Int8Array$1);
3215
+ var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf$2(Int8ArrayPrototype);
3216
+ var ObjectPrototype = Object.prototype;
3217
+ var TypeError$3 = globalThis$18.TypeError;
3218
+ var TO_STRING_TAG$1 = wellKnownSymbol$5("toStringTag");
3219
+ var TYPED_ARRAY_TAG = uid("TYPED_ARRAY_TAG");
3220
+ var TYPED_ARRAY_CONSTRUCTOR = "TypedArrayConstructor";
3221
+ var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$1 && classof$3(globalThis$18.opera) !== "Opera";
3222
+ var TYPED_ARRAY_TAG_REQUIRED = false;
3223
+ var NAME, Constructor, Prototype;
3224
+ var TypedArrayConstructorsList = {
3225
+ Int8Array: 1,
3226
+ Uint8Array: 1,
3227
+ Uint8ClampedArray: 1,
3228
+ Int16Array: 2,
3229
+ Uint16Array: 2,
3230
+ Int32Array: 4,
3231
+ Uint32Array: 4,
3232
+ Float32Array: 4,
3233
+ Float64Array: 8
3234
+ };
3235
+ var BigIntArrayConstructorsList = {
3236
+ BigInt64Array: 8,
3237
+ BigUint64Array: 8
3238
+ };
3239
+ var isView = function isView$1(it) {
3240
+ if (!isObject$1(it)) return false;
3241
+ var klass = classof$3(it);
3242
+ return klass === "DataView" || hasOwn$5(TypedArrayConstructorsList, klass) || hasOwn$5(BigIntArrayConstructorsList, klass);
3243
+ };
3244
+ var getTypedArrayConstructor$1 = function(it) {
3245
+ var proto = getPrototypeOf$2(it);
3246
+ if (!isObject$1(proto)) return;
3247
+ var state = getInternalState(proto);
3248
+ return state && hasOwn$5(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor$1(proto);
3249
+ };
3250
+ var isTypedArray = function(it) {
3251
+ if (!isObject$1(it)) return false;
3252
+ var klass = classof$3(it);
3253
+ return hasOwn$5(TypedArrayConstructorsList, klass) || hasOwn$5(BigIntArrayConstructorsList, klass);
3254
+ };
3255
+ var aTypedArray$1 = function(it) {
3256
+ if (isTypedArray(it)) return it;
3257
+ throw new TypeError$3("Target is not a typed array");
3258
+ };
3259
+ var aTypedArrayConstructor = function(C) {
3260
+ if (isCallable$3(C) && (!setPrototypeOf$1 || isPrototypeOf$1(TypedArray, C))) return C;
3261
+ throw new TypeError$3(tryToString(C) + " is not a typed array constructor");
3262
+ };
3263
+ var exportTypedArrayMethod$1 = function(KEY, property, forced, options) {
3264
+ if (!DESCRIPTORS) return;
3265
+ if (forced) for (var ARRAY in TypedArrayConstructorsList) {
3266
+ var TypedArrayConstructor = globalThis$18[ARRAY];
3267
+ if (TypedArrayConstructor && hasOwn$5(TypedArrayConstructor.prototype, KEY)) try {
3268
+ delete TypedArrayConstructor.prototype[KEY];
3269
+ } catch (error) {
3270
+ try {
3271
+ TypedArrayConstructor.prototype[KEY] = property;
3272
+ } catch (error2) {}
3273
+ }
3274
+ }
3275
+ if (!TypedArrayPrototype[KEY] || forced) defineBuiltIn$3(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);
3276
+ };
3277
+ var exportTypedArrayStaticMethod = function(KEY, property, forced) {
3278
+ var ARRAY, TypedArrayConstructor;
3279
+ if (!DESCRIPTORS) return;
3280
+ if (setPrototypeOf$1) {
3281
+ if (forced) for (ARRAY in TypedArrayConstructorsList) {
3282
+ TypedArrayConstructor = globalThis$18[ARRAY];
3283
+ if (TypedArrayConstructor && hasOwn$5(TypedArrayConstructor, KEY)) try {
3284
+ delete TypedArrayConstructor[KEY];
3285
+ } catch (error) {}
3286
+ }
3287
+ if (!TypedArray[KEY] || forced) try {
3288
+ return defineBuiltIn$3(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);
3289
+ } catch (error) {}
3290
+ else return;
3291
+ }
3292
+ for (ARRAY in TypedArrayConstructorsList) {
3293
+ TypedArrayConstructor = globalThis$18[ARRAY];
3294
+ if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) defineBuiltIn$3(TypedArrayConstructor, KEY, property);
3295
+ }
3296
+ };
3297
+ for (NAME in TypedArrayConstructorsList) {
3298
+ Constructor = globalThis$18[NAME];
3299
+ Prototype = Constructor && Constructor.prototype;
3300
+ if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
3301
+ else NATIVE_ARRAY_BUFFER_VIEWS = false;
3302
+ }
3303
+ for (NAME in BigIntArrayConstructorsList) {
3304
+ Constructor = globalThis$18[NAME];
3305
+ Prototype = Constructor && Constructor.prototype;
3306
+ if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;
3307
+ }
3308
+ if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable$3(TypedArray) || TypedArray === Function.prototype) {
3309
+ TypedArray = function TypedArray$1() {
3310
+ throw new TypeError$3("Incorrect invocation");
3311
+ };
3312
+ if (NATIVE_ARRAY_BUFFER_VIEWS) {
3313
+ for (NAME in TypedArrayConstructorsList) if (globalThis$18[NAME]) setPrototypeOf$1(globalThis$18[NAME], TypedArray);
3314
+ }
3315
+ }
3316
+ if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {
3317
+ TypedArrayPrototype = TypedArray.prototype;
3318
+ if (NATIVE_ARRAY_BUFFER_VIEWS) {
3319
+ for (NAME in TypedArrayConstructorsList) if (globalThis$18[NAME]) setPrototypeOf$1(globalThis$18[NAME].prototype, TypedArrayPrototype);
3320
+ }
3321
+ }
3322
+ if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf$2(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) setPrototypeOf$1(Uint8ClampedArrayPrototype, TypedArrayPrototype);
3323
+ if (DESCRIPTORS && !hasOwn$5(TypedArrayPrototype, TO_STRING_TAG$1)) {
3324
+ TYPED_ARRAY_TAG_REQUIRED = true;
3325
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$1, {
3326
+ configurable: true,
3327
+ get: function() {
3328
+ return isObject$1(this) ? this[TYPED_ARRAY_TAG] : void 0;
3329
+ }
3330
+ });
3331
+ for (NAME in TypedArrayConstructorsList) if (globalThis$18[NAME]) createNonEnumerableProperty$2(globalThis$18[NAME], TYPED_ARRAY_TAG, NAME);
3332
+ }
3333
+ module.exports = {
3334
+ NATIVE_ARRAY_BUFFER_VIEWS,
3335
+ TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,
3336
+ aTypedArray: aTypedArray$1,
3337
+ aTypedArrayConstructor,
3338
+ exportTypedArrayMethod: exportTypedArrayMethod$1,
3339
+ exportTypedArrayStaticMethod,
3340
+ getTypedArrayConstructor: getTypedArrayConstructor$1,
3341
+ isView,
3342
+ isTypedArray,
3343
+ TypedArray,
3344
+ TypedArrayPrototype
3345
+ };
3346
+ }));
3347
+ var require_is_big_int_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3348
+ var classof$2 = require_classof();
3349
+ module.exports = function(it) {
3350
+ var klass = classof$2(it);
3351
+ return klass === "BigInt64Array" || klass === "BigUint64Array";
3352
+ };
3353
+ }));
3354
+ var require_to_big_int = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3355
+ var toPrimitive = require_to_primitive();
3356
+ var $TypeError$5 = TypeError;
3357
+ module.exports = function(argument) {
3358
+ var prim = toPrimitive(argument, "number");
3359
+ if (typeof prim == "number") throw new $TypeError$5("Can't convert number to bigint");
3360
+ return BigInt(prim);
3361
+ };
3362
+ }));
3363
+ var arrayWith = require_array_with();
3364
+ var ArrayBufferViewCore = require_array_buffer_view_core();
3365
+ var isBigIntArray = require_is_big_int_array();
3366
+ var toIntegerOrInfinity$1 = require_to_integer_or_infinity();
3367
+ var toBigInt = require_to_big_int();
3368
+ var aTypedArray = ArrayBufferViewCore.aTypedArray;
3369
+ var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
3370
+ var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;
3371
+ var PROPER_ORDER = function() {
3372
+ try {
3373
+ new Int8Array(1)["with"](2, { valueOf: function() {
3374
+ throw 8;
3375
+ } });
3376
+ } catch (error) {
3377
+ return error === 8;
3378
+ }
3379
+ }();
3380
+ var THROW_ON_NEGATIVE_FRACTIONAL_INDEX = PROPER_ORDER && function() {
3381
+ try {
3382
+ new Int8Array(1)["with"](-.5, 1);
3383
+ } catch (error) {
3384
+ return true;
3385
+ }
3386
+ }();
3387
+ exportTypedArrayMethod("with", { "with": function(index, value) {
3388
+ var O = aTypedArray(this);
3389
+ var relativeIndex = toIntegerOrInfinity$1(index);
3390
+ var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;
3391
+ return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);
3392
+ } }["with"], !PROPER_ORDER || THROW_ON_NEGATIVE_FRACTIONAL_INDEX);
3393
+ var require_an_object_or_undefined = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3394
+ var isObject = require_is_object();
3395
+ var $String = String;
3396
+ var $TypeError$4 = TypeError;
3397
+ module.exports = function(argument) {
3398
+ if (argument === void 0 || isObject(argument)) return argument;
3399
+ throw new $TypeError$4($String(argument) + " is not an object or undefined");
3400
+ };
3401
+ }));
3402
+ var require_a_string = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3403
+ var $TypeError$3 = TypeError;
3404
+ module.exports = function(argument) {
3405
+ if (typeof argument == "string") return argument;
3406
+ throw new $TypeError$3("Argument is not a string");
3407
+ };
3408
+ }));
3409
+ var require_base64_map = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3410
+ var commonAlphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
3411
+ var base64Alphabet$2 = commonAlphabet + "+/";
3412
+ var base64UrlAlphabet$2 = commonAlphabet + "-_";
3413
+ var inverse = function(characters) {
3414
+ var result = {};
3415
+ var index = 0;
3416
+ for (; index < 64; index++) result[characters.charAt(index)] = index;
3417
+ return result;
3418
+ };
3419
+ module.exports = {
3420
+ i2c: base64Alphabet$2,
3421
+ c2i: inverse(base64Alphabet$2),
3422
+ i2cUrl: base64UrlAlphabet$2,
3423
+ c2iUrl: inverse(base64UrlAlphabet$2)
3424
+ };
3425
+ }));
3426
+ var require_get_alphabet_option = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3427
+ var $TypeError$2 = TypeError;
3428
+ module.exports = function(options) {
3429
+ var alphabet = options && options.alphabet;
3430
+ if (alphabet === void 0 || alphabet === "base64" || alphabet === "base64url") return alphabet || "base64";
3431
+ throw new $TypeError$2("Incorrect `alphabet` option");
3432
+ };
3433
+ }));
3434
+ var require_array_buffer_byte_length = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3435
+ var globalThis$17 = require_global_this();
3436
+ var uncurryThisAccessor = require_function_uncurry_this_accessor();
3437
+ var classof$1 = require_classof_raw();
3438
+ var ArrayBuffer$1 = globalThis$17.ArrayBuffer;
3439
+ var TypeError$2 = globalThis$17.TypeError;
3440
+ module.exports = ArrayBuffer$1 && uncurryThisAccessor(ArrayBuffer$1.prototype, "byteLength", "get") || function(O) {
3441
+ if (classof$1(O) !== "ArrayBuffer") throw new TypeError$2("ArrayBuffer expected");
3442
+ return O.byteLength;
3443
+ };
3444
+ }));
3445
+ var require_array_buffer_is_detached = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3446
+ var globalThis$16 = require_global_this();
3447
+ var NATIVE_ARRAY_BUFFER = require_array_buffer_basic_detection();
3448
+ var arrayBufferByteLength = require_array_buffer_byte_length();
3449
+ var DataView$1 = globalThis$16.DataView;
3450
+ module.exports = function(O) {
3451
+ if (!NATIVE_ARRAY_BUFFER || arrayBufferByteLength(O) !== 0) return false;
3452
+ try {
3453
+ new DataView$1(O);
3454
+ return false;
3455
+ } catch (error) {
3456
+ return true;
3457
+ }
3458
+ };
3459
+ }));
3460
+ var require_array_buffer_not_detached = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3461
+ var isDetached = require_array_buffer_is_detached();
3462
+ var $TypeError$1 = TypeError;
3463
+ module.exports = function(it) {
3464
+ if (isDetached(it)) throw new $TypeError$1("ArrayBuffer is detached");
3465
+ return it;
3466
+ };
3467
+ }));
3468
+ var require_uint8_from_base64 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3469
+ var globalThis$15 = require_global_this();
3470
+ var uncurryThis$4 = require_function_uncurry_this();
3471
+ var anObjectOrUndefined$1 = require_an_object_or_undefined();
3472
+ var aString$1 = require_a_string();
3473
+ var hasOwn$4 = require_has_own_property();
3474
+ var base64Map$1 = require_base64_map();
3475
+ var getAlphabetOption$1 = require_get_alphabet_option();
3476
+ var notDetached$3 = require_array_buffer_not_detached();
3477
+ var base64Alphabet$1 = base64Map$1.c2i;
3478
+ var base64UrlAlphabet$1 = base64Map$1.c2iUrl;
3479
+ var SyntaxError$2 = globalThis$15.SyntaxError;
3480
+ var TypeError$1 = globalThis$15.TypeError;
3481
+ var at = uncurryThis$4("".charAt);
3482
+ var skipAsciiWhitespace = function(string, index) {
3483
+ var length = string.length;
3484
+ for (; index < length; index++) {
3485
+ var chr = at(string, index);
3486
+ if (chr !== " " && chr !== " " && chr !== "\n" && chr !== "\f" && chr !== "\r") break;
3487
+ }
3488
+ return index;
3489
+ };
3490
+ var decodeBase64Chunk = function(chunk, alphabet, throwOnExtraBits) {
3491
+ var chunkLength = chunk.length;
3492
+ if (chunkLength < 4) chunk += chunkLength === 2 ? "AA" : "A";
3493
+ var triplet = (alphabet[at(chunk, 0)] << 18) + (alphabet[at(chunk, 1)] << 12) + (alphabet[at(chunk, 2)] << 6) + alphabet[at(chunk, 3)];
3494
+ var chunkBytes = [
3495
+ triplet >> 16 & 255,
3496
+ triplet >> 8 & 255,
3497
+ triplet & 255
3498
+ ];
3499
+ if (chunkLength === 2) {
3500
+ if (throwOnExtraBits && chunkBytes[1] !== 0) throw new SyntaxError$2("Extra bits");
3501
+ return [chunkBytes[0]];
3502
+ }
3503
+ if (chunkLength === 3) {
3504
+ if (throwOnExtraBits && chunkBytes[2] !== 0) throw new SyntaxError$2("Extra bits");
3505
+ return [chunkBytes[0], chunkBytes[1]];
3506
+ }
3507
+ return chunkBytes;
3508
+ };
3509
+ var writeBytes = function(bytes, elements, written) {
3510
+ var elementsLength = elements.length;
3511
+ for (var index = 0; index < elementsLength; index++) bytes[written + index] = elements[index];
3512
+ return written + elementsLength;
3513
+ };
3514
+ module.exports = function(string, options, into, maxLength) {
3515
+ aString$1(string);
3516
+ anObjectOrUndefined$1(options);
3517
+ var alphabet = getAlphabetOption$1(options) === "base64" ? base64Alphabet$1 : base64UrlAlphabet$1;
3518
+ var lastChunkHandling = options ? options.lastChunkHandling : void 0;
3519
+ if (lastChunkHandling === void 0) lastChunkHandling = "loose";
3520
+ if (lastChunkHandling !== "loose" && lastChunkHandling !== "strict" && lastChunkHandling !== "stop-before-partial") throw new TypeError$1("Incorrect `lastChunkHandling` option");
3521
+ if (into) notDetached$3(into.buffer);
3522
+ var stringLength = string.length;
3523
+ var bytes = into || [];
3524
+ var written = 0;
3525
+ var read = 0;
3526
+ var chunk = "";
3527
+ var index = 0;
3528
+ if (maxLength) while (true) {
3529
+ index = skipAsciiWhitespace(string, index);
3530
+ if (index === stringLength) {
3531
+ if (chunk.length > 0) {
3532
+ if (lastChunkHandling === "stop-before-partial") break;
3533
+ if (lastChunkHandling === "loose") {
3534
+ if (chunk.length === 1) throw new SyntaxError$2("Malformed padding: exactly one additional character");
3535
+ written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
3536
+ } else throw new SyntaxError$2("Missing padding");
3537
+ }
3538
+ read = stringLength;
3539
+ break;
3540
+ }
3541
+ var chr = at(string, index);
3542
+ ++index;
3543
+ if (chr === "=") {
3544
+ if (chunk.length < 2) throw new SyntaxError$2("Padding is too early");
3545
+ index = skipAsciiWhitespace(string, index);
3546
+ if (chunk.length === 2) {
3547
+ if (index === stringLength) {
3548
+ if (lastChunkHandling === "stop-before-partial") break;
3549
+ throw new SyntaxError$2("Malformed padding: only one =");
3550
+ }
3551
+ if (at(string, index) === "=") {
3552
+ ++index;
3553
+ index = skipAsciiWhitespace(string, index);
3554
+ }
3555
+ }
3556
+ if (index < stringLength) throw new SyntaxError$2("Unexpected character after padding");
3557
+ written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, lastChunkHandling === "strict"), written);
3558
+ read = stringLength;
3559
+ break;
3560
+ }
3561
+ if (!hasOwn$4(alphabet, chr)) throw new SyntaxError$2("Unexpected character");
3562
+ var remainingBytes = maxLength - written;
3563
+ if (remainingBytes === 1 && chunk.length === 2 || remainingBytes === 2 && chunk.length === 3) break;
3564
+ chunk += chr;
3565
+ if (chunk.length === 4) {
3566
+ written = writeBytes(bytes, decodeBase64Chunk(chunk, alphabet, false), written);
3567
+ chunk = "";
3568
+ read = index;
3569
+ if (written === maxLength) break;
3570
+ }
3571
+ }
3572
+ return {
3573
+ bytes,
3574
+ read,
3575
+ written
3576
+ };
3577
+ };
3578
+ }));
3579
+ var require_an_uint8_array = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3580
+ var classof = require_classof();
3581
+ var $TypeError = TypeError;
3582
+ module.exports = function(argument) {
3583
+ if (classof(argument) === "Uint8Array") return argument;
3584
+ throw new $TypeError("Argument is not an Uint8Array");
3585
+ };
3586
+ }));
3587
+ (/* @__PURE__ */ __commonJSMin((() => {
3588
+ var $$8 = require_export();
3589
+ var globalThis$14 = require_global_this();
3590
+ var $fromBase64 = require_uint8_from_base64();
3591
+ var anUint8Array$3 = require_an_uint8_array();
3592
+ var Uint8Array$4 = globalThis$14.Uint8Array;
3593
+ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2 = !Uint8Array$4 || !Uint8Array$4.prototype.setFromBase64 || !function() {
3594
+ var target = new Uint8Array$4([
3595
+ 255,
3596
+ 255,
3597
+ 255,
3598
+ 255,
3599
+ 255
3600
+ ]);
3601
+ try {
3602
+ target.setFromBase64("", null);
3603
+ return;
3604
+ } catch (error) {}
3605
+ try {
3606
+ target.setFromBase64("a");
3607
+ return;
3608
+ } catch (error) {}
3609
+ try {
3610
+ target.setFromBase64("MjYyZg===");
3611
+ } catch (error) {
3612
+ return target[0] === 50 && target[1] === 54 && target[2] === 50 && target[3] === 255 && target[4] === 255;
3613
+ }
3614
+ }();
3615
+ if (Uint8Array$4) $$8({
3616
+ target: "Uint8Array",
3617
+ proto: true,
3618
+ forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$2
3619
+ }, { setFromBase64: function setFromBase64(string) {
3620
+ anUint8Array$3(this);
3621
+ var result = $fromBase64(string, arguments.length > 1 ? arguments[1] : void 0, this, this.length);
3622
+ return {
3623
+ read: result.read,
3624
+ written: result.written
3625
+ };
3626
+ } });
3627
+ })))();
3628
+ var require_uint8_from_hex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3629
+ var globalThis$13 = require_global_this();
3630
+ var uncurryThis$3 = require_function_uncurry_this();
3631
+ var Uint8Array$3 = globalThis$13.Uint8Array;
3632
+ var SyntaxError$1 = globalThis$13.SyntaxError;
3633
+ var parseInt$1 = globalThis$13.parseInt;
3634
+ var min = Math.min;
3635
+ var NOT_HEX = /[^\da-f]/i;
3636
+ var exec = uncurryThis$3(NOT_HEX.exec);
3637
+ var stringSlice = uncurryThis$3("".slice);
3638
+ module.exports = function(string, into) {
3639
+ var stringLength = string.length;
3640
+ if (stringLength % 2 !== 0) throw new SyntaxError$1("String should be an even number of characters");
3641
+ var maxLength = into ? min(into.length, stringLength / 2) : stringLength / 2;
3642
+ var bytes = into || new Uint8Array$3(maxLength);
3643
+ var read = 0;
3644
+ var written = 0;
3645
+ while (written < maxLength) {
3646
+ var hexits = stringSlice(string, read, read += 2);
3647
+ if (exec(NOT_HEX, hexits)) throw new SyntaxError$1("String should only contain hex characters");
3648
+ bytes[written++] = parseInt$1(hexits, 16);
3649
+ }
3650
+ return {
3651
+ bytes,
3652
+ read
3653
+ };
3654
+ };
3655
+ }));
3656
+ (/* @__PURE__ */ __commonJSMin((() => {
3657
+ var $$7 = require_export();
3658
+ var globalThis$12 = require_global_this();
3659
+ var aString = require_a_string();
3660
+ var anUint8Array$2 = require_an_uint8_array();
3661
+ var notDetached$2 = require_array_buffer_not_detached();
3662
+ var $fromHex = require_uint8_from_hex();
3663
+ if (globalThis$12.Uint8Array) $$7({
3664
+ target: "Uint8Array",
3665
+ proto: true
3666
+ }, { setFromHex: function setFromHex(string) {
3667
+ anUint8Array$2(this);
3668
+ aString(string);
3669
+ notDetached$2(this.buffer);
3670
+ var read = $fromHex(string, this).read;
3671
+ return {
3672
+ read,
3673
+ written: read / 2
3674
+ };
3675
+ } });
3676
+ })))();
3677
+ (/* @__PURE__ */ __commonJSMin((() => {
3678
+ var $$6 = require_export();
3679
+ var globalThis$11 = require_global_this();
3680
+ var uncurryThis$2 = require_function_uncurry_this();
3681
+ var anObjectOrUndefined = require_an_object_or_undefined();
3682
+ var anUint8Array$1 = require_an_uint8_array();
3683
+ var notDetached$1 = require_array_buffer_not_detached();
3684
+ var base64Map = require_base64_map();
3685
+ var getAlphabetOption = require_get_alphabet_option();
3686
+ var base64Alphabet = base64Map.i2c;
3687
+ var base64UrlAlphabet = base64Map.i2cUrl;
3688
+ var charAt = uncurryThis$2("".charAt);
3689
+ var Uint8Array$2 = globalThis$11.Uint8Array;
3690
+ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1 = !Uint8Array$2 || !Uint8Array$2.prototype.toBase64 || !function() {
3691
+ try {
3692
+ new Uint8Array$2().toBase64(null);
3693
+ } catch (error) {
3694
+ return true;
3705
3695
  }
3706
- if (PROPER_STRUCTURED_CLONE_TRANSFER) transferred = nativeStructuredClone(value, { transfer: [value] });
3707
- else switch (type) {
3708
- case "ImageBitmap":
3709
- C = globalThis$10.OffscreenCanvas;
3710
- if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);
3711
- try {
3712
- canvas = new C(value.width, value.height);
3713
- context = canvas.getContext("bitmaprenderer");
3714
- context.transferFromImageBitmap(value);
3715
- transferred = canvas.transferToImageBitmap();
3716
- } catch (error) {}
3717
- break;
3718
- case "AudioData":
3719
- case "VideoFrame":
3720
- if (!isCallable$3(value.clone) || !isCallable$3(value.close)) throwUnpolyfillable(type, TRANSFERRING);
3721
- try {
3722
- transferred = value.clone();
3723
- value.close();
3724
- } catch (error) {}
3725
- break;
3726
- case "MediaSourceHandle":
3727
- case "MessagePort":
3728
- case "MIDIAccess":
3729
- case "OffscreenCanvas":
3730
- case "ReadableStream":
3731
- case "RTCDataChannel":
3732
- case "TransformStream":
3733
- case "WebTransportReceiveStream":
3734
- case "WebTransportSendStream":
3735
- case "WritableStream": throwUnpolyfillable(type, TRANSFERRING);
3696
+ }();
3697
+ if (Uint8Array$2) $$6({
3698
+ target: "Uint8Array",
3699
+ proto: true,
3700
+ forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS$1
3701
+ }, { toBase64: function toBase64() {
3702
+ var array = anUint8Array$1(this);
3703
+ var options = arguments.length ? anObjectOrUndefined(arguments[0]) : void 0;
3704
+ var alphabet = getAlphabetOption(options) === "base64" ? base64Alphabet : base64UrlAlphabet;
3705
+ var omitPadding = !!options && !!options.omitPadding;
3706
+ notDetached$1(this.buffer);
3707
+ var result = "";
3708
+ var i = 0;
3709
+ var length = array.length;
3710
+ var triplet;
3711
+ var at$3 = function(shift) {
3712
+ return charAt(alphabet, triplet >> 6 * shift & 63);
3713
+ };
3714
+ for (; i + 2 < length; i += 3) {
3715
+ triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2];
3716
+ result += at$3(3) + at$3(2) + at$3(1) + at$3(0);
3736
3717
  }
3737
- if (transferred === void 0) throw new DOMException("This object cannot be transferred: " + type, DATA_CLONE_ERROR);
3738
- mapSet(map, value, transferred);
3739
- }
3740
- return buffers;
3741
- };
3742
- var detachBuffers = function(buffers) {
3743
- setIterate(buffers, function(buffer$1) {
3744
- if (PROPER_STRUCTURED_CLONE_TRANSFER) nativeRestrictedStructuredClone(buffer$1, { transfer: [buffer$1] });
3745
- else if (isCallable$3(buffer$1.transfer)) buffer$1.transfer();
3746
- else if (detachTransferable) detachTransferable(buffer$1);
3747
- else throwUnpolyfillable("ArrayBuffer", TRANSFERRING);
3718
+ if (i + 2 === length) {
3719
+ triplet = (array[i] << 16) + (array[i + 1] << 8);
3720
+ result += at$3(3) + at$3(2) + at$3(1) + (omitPadding ? "" : "=");
3721
+ } else if (i + 1 === length) {
3722
+ triplet = array[i] << 16;
3723
+ result += at$3(3) + at$3(2) + (omitPadding ? "" : "==");
3724
+ }
3725
+ return result;
3726
+ } });
3727
+ })))();
3728
+ (/* @__PURE__ */ __commonJSMin((() => {
3729
+ var $$5 = require_export();
3730
+ var globalThis$10 = require_global_this();
3731
+ var uncurryThis$1 = require_function_uncurry_this();
3732
+ var anUint8Array = require_an_uint8_array();
3733
+ var notDetached = require_array_buffer_not_detached();
3734
+ var numberToString = uncurryThis$1(1.1.toString);
3735
+ var Uint8Array$1 = globalThis$10.Uint8Array;
3736
+ var INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS = !Uint8Array$1 || !Uint8Array$1.prototype.toHex || !(function() {
3737
+ try {
3738
+ return new Uint8Array$1([
3739
+ 255,
3740
+ 255,
3741
+ 255,
3742
+ 255,
3743
+ 255,
3744
+ 255,
3745
+ 255,
3746
+ 255
3747
+ ]).toHex() === "ffffffffffffffff";
3748
+ } catch (error) {
3749
+ return false;
3750
+ }
3751
+ })();
3752
+ if (Uint8Array$1) $$5({
3753
+ target: "Uint8Array",
3754
+ proto: true,
3755
+ forced: INCORRECT_BEHAVIOR_OR_DOESNT_EXISTS
3756
+ }, { toHex: function toHex() {
3757
+ anUint8Array(this);
3758
+ notDetached(this.buffer);
3759
+ var result = "";
3760
+ for (var i = 0, length = this.length; i < length; i++) {
3761
+ var hex = numberToString(this[i], 16);
3762
+ result += hex.length === 1 ? "0" + hex : hex;
3763
+ }
3764
+ return result;
3765
+ } });
3766
+ })))();
3767
+ var $$4 = require_export();
3768
+ var anObject$1 = require_an_object();
3769
+ var iterate = require_iterate();
3770
+ var getIteratorDirect$1 = require_get_iterator_direct();
3771
+ var push = [].push;
3772
+ $$4({
3773
+ target: "Iterator",
3774
+ proto: true,
3775
+ real: true
3776
+ }, { toArray: function toArray() {
3777
+ var result = [];
3778
+ iterate(getIteratorDirect$1(anObject$1(this)), push, {
3779
+ that: result,
3780
+ IS_RECORD: true
3748
3781
  });
3749
- };
3750
- $$5({
3751
- global: true,
3752
- enumerable: true,
3753
- sham: !PROPER_STRUCTURED_CLONE_TRANSFER,
3754
- forced: FORCED_REPLACEMENT
3755
- }, { structuredClone: function structuredClone$2(value) {
3756
- var options = validateArgumentsLength$2(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject$2(arguments[1]) : void 0;
3757
- var transfer = options ? options.transfer : void 0;
3758
- var map, buffers;
3759
- if (transfer !== void 0) {
3760
- map = new Map$1();
3761
- buffers = tryToTransfer(transfer, map);
3762
- }
3763
- var clone$3 = structuredCloneInternal(value, map);
3764
- if (buffers) detachBuffers(buffers);
3765
- return clone$3;
3782
+ return result;
3766
3783
  } });
3767
3784
  var require_path = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3768
3785
  module.exports = require_global_this();
@@ -3820,7 +3837,7 @@
3820
3837
  else createNonEnumerableProperty$1(error, "stack", clearErrorStack(stack, dropEntries));
3821
3838
  };
3822
3839
  }));
3823
- var $$4 = require_export();
3840
+ var $$3 = require_export();
3824
3841
  var globalThis$6 = require_global_this();
3825
3842
  var isPrototypeOf = require_object_is_prototype_of();
3826
3843
  var getPrototypeOf$1 = require_object_get_prototype_of();
@@ -3864,7 +3881,7 @@
3864
3881
  name: createPropertyDescriptor(1, "SuppressedError")
3865
3882
  });
3866
3883
  if (PATCH && !IS_PURE$2) SuppressedErrorPrototype.constructor = $SuppressedError;
3867
- $$4({
3884
+ $$3({
3868
3885
  global: true,
3869
3886
  constructor: true,
3870
3887
  arity: 3,
@@ -3881,23 +3898,6 @@
3881
3898
  var $return = getMethod$1(this, "return");
3882
3899
  if ($return) call$2($return, this);
3883
3900
  });
3884
- var $$3 = require_export();
3885
- var anObject$1 = require_an_object();
3886
- var iterate = require_iterate();
3887
- var getIteratorDirect$1 = require_get_iterator_direct();
3888
- var push = [].push;
3889
- $$3({
3890
- target: "Iterator",
3891
- proto: true,
3892
- real: true
3893
- }, { toArray: function toArray() {
3894
- var result = [];
3895
- iterate(getIteratorDirect$1(anObject$1(this)), push, {
3896
- that: result,
3897
- IS_RECORD: true
3898
- });
3899
- return result;
3900
- } });
3901
3901
  var require_async_iterator_prototype = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3902
3902
  var globalThis$5 = require_global_this();
3903
3903
  var shared = require_shared_store();