@xysfe/admin-menu 2.5.5 → 2.5.7

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.
@@ -261,17 +261,6 @@ module.exports = !!$Map && /** @type {Exclude<import('.'), false>} */ function g
261
261
  /* unused harmony reexport * */
262
262
 
263
263
 
264
- /***/ }),
265
-
266
- /***/ "03da":
267
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
268
-
269
- "use strict";
270
- /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_651c378c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6c79");
271
- /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_651c378c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_651c378c_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
272
- /* unused harmony reexport * */
273
-
274
-
275
264
  /***/ }),
276
265
 
277
266
  /***/ "0418":
@@ -1479,6 +1468,195 @@ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign },
1479
1468
  });
1480
1469
 
1481
1470
 
1471
+ /***/ }),
1472
+
1473
+ /***/ "1604":
1474
+ /***/ (function(module, exports, __webpack_require__) {
1475
+
1476
+ "use strict";
1477
+
1478
+ // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
1479
+ var uncurryThis = __webpack_require__("d74d");
1480
+
1481
+ var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
1482
+ var base = 36;
1483
+ var tMin = 1;
1484
+ var tMax = 26;
1485
+ var skew = 38;
1486
+ var damp = 700;
1487
+ var initialBias = 72;
1488
+ var initialN = 128; // 0x80
1489
+ var delimiter = '-'; // '\x2D'
1490
+ var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars
1491
+ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
1492
+ var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
1493
+ var baseMinusTMin = base - tMin;
1494
+
1495
+ var $RangeError = RangeError;
1496
+ var exec = uncurryThis(regexSeparators.exec);
1497
+ var floor = Math.floor;
1498
+ var fromCharCode = String.fromCharCode;
1499
+ var charCodeAt = uncurryThis(''.charCodeAt);
1500
+ var join = uncurryThis([].join);
1501
+ var push = uncurryThis([].push);
1502
+ var replace = uncurryThis(''.replace);
1503
+ var split = uncurryThis(''.split);
1504
+ var toLowerCase = uncurryThis(''.toLowerCase);
1505
+
1506
+ /**
1507
+ * Creates an array containing the numeric code points of each Unicode
1508
+ * character in the string. While JavaScript uses UCS-2 internally,
1509
+ * this function will convert a pair of surrogate halves (each of which
1510
+ * UCS-2 exposes as separate characters) into a single code point,
1511
+ * matching UTF-16.
1512
+ */
1513
+ var ucs2decode = function (string) {
1514
+ var output = [];
1515
+ var counter = 0;
1516
+ var length = string.length;
1517
+ while (counter < length) {
1518
+ var value = charCodeAt(string, counter++);
1519
+ if (value >= 0xD800 && value <= 0xDBFF && counter < length) {
1520
+ // It's a high surrogate, and there is a next character.
1521
+ var extra = charCodeAt(string, counter++);
1522
+ if ((extra & 0xFC00) === 0xDC00) { // Low surrogate.
1523
+ push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);
1524
+ } else {
1525
+ // It's an unmatched surrogate; only append this code unit, in case the
1526
+ // next code unit is the high surrogate of a surrogate pair.
1527
+ push(output, value);
1528
+ counter--;
1529
+ }
1530
+ } else {
1531
+ push(output, value);
1532
+ }
1533
+ }
1534
+ return output;
1535
+ };
1536
+
1537
+ /**
1538
+ * Converts a digit/integer into a basic code point.
1539
+ */
1540
+ var digitToBasic = function (digit) {
1541
+ // 0..25 map to ASCII a..z or A..Z
1542
+ // 26..35 map to ASCII 0..9
1543
+ return digit + 22 + 75 * (digit < 26);
1544
+ };
1545
+
1546
+ /**
1547
+ * Bias adaptation function as per section 3.4 of RFC 3492.
1548
+ * https://tools.ietf.org/html/rfc3492#section-3.4
1549
+ */
1550
+ var adapt = function (delta, numPoints, firstTime) {
1551
+ var k = 0;
1552
+ delta = firstTime ? floor(delta / damp) : delta >> 1;
1553
+ delta += floor(delta / numPoints);
1554
+ while (delta > baseMinusTMin * tMax >> 1) {
1555
+ delta = floor(delta / baseMinusTMin);
1556
+ k += base;
1557
+ }
1558
+ return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
1559
+ };
1560
+
1561
+ /**
1562
+ * Converts a string of Unicode symbols (e.g. a domain name label) to a
1563
+ * Punycode string of ASCII-only symbols.
1564
+ */
1565
+ var encode = function (input) {
1566
+ var output = [];
1567
+
1568
+ // Convert the input in UCS-2 to an array of Unicode code points.
1569
+ input = ucs2decode(input);
1570
+
1571
+ // Cache the length.
1572
+ var inputLength = input.length;
1573
+
1574
+ // Initialize the state.
1575
+ var n = initialN;
1576
+ var delta = 0;
1577
+ var bias = initialBias;
1578
+ var i, currentValue;
1579
+
1580
+ // Handle the basic code points.
1581
+ for (i = 0; i < input.length; i++) {
1582
+ currentValue = input[i];
1583
+ if (currentValue < 0x80) {
1584
+ push(output, fromCharCode(currentValue));
1585
+ }
1586
+ }
1587
+
1588
+ var basicLength = output.length; // number of basic code points.
1589
+ var handledCPCount = basicLength; // number of code points that have been handled;
1590
+
1591
+ // Finish the basic string with a delimiter unless it's empty.
1592
+ if (basicLength) {
1593
+ push(output, delimiter);
1594
+ }
1595
+
1596
+ // Main encoding loop:
1597
+ while (handledCPCount < inputLength) {
1598
+ // All non-basic code points < n have been handled already. Find the next larger one:
1599
+ var m = maxInt;
1600
+ for (i = 0; i < input.length; i++) {
1601
+ currentValue = input[i];
1602
+ if (currentValue >= n && currentValue < m) {
1603
+ m = currentValue;
1604
+ }
1605
+ }
1606
+
1607
+ // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
1608
+ var handledCPCountPlusOne = handledCPCount + 1;
1609
+ if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {
1610
+ throw new $RangeError(OVERFLOW_ERROR);
1611
+ }
1612
+
1613
+ delta += (m - n) * handledCPCountPlusOne;
1614
+ n = m;
1615
+
1616
+ for (i = 0; i < input.length; i++) {
1617
+ currentValue = input[i];
1618
+ if (currentValue < n && ++delta > maxInt) {
1619
+ throw new $RangeError(OVERFLOW_ERROR);
1620
+ }
1621
+ if (currentValue === n) {
1622
+ // Represent delta as a generalized variable-length integer.
1623
+ var q = delta;
1624
+ var k = base;
1625
+ while (true) {
1626
+ var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
1627
+ if (q < t) break;
1628
+ var qMinusT = q - t;
1629
+ var baseMinusT = base - t;
1630
+ push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));
1631
+ q = floor(qMinusT / baseMinusT);
1632
+ k += base;
1633
+ }
1634
+
1635
+ push(output, fromCharCode(digitToBasic(q)));
1636
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
1637
+ delta = 0;
1638
+ handledCPCount++;
1639
+ }
1640
+ }
1641
+
1642
+ delta++;
1643
+ n++;
1644
+ }
1645
+ return join(output, '');
1646
+ };
1647
+
1648
+ module.exports = function (input) {
1649
+ var encoded = [];
1650
+ var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.');
1651
+ var i, label;
1652
+ for (i = 0; i < labels.length; i++) {
1653
+ label = labels[i];
1654
+ push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);
1655
+ }
1656
+ return join(encoded, '.');
1657
+ };
1658
+
1659
+
1482
1660
  /***/ }),
1483
1661
 
1484
1662
  /***/ "1664":
@@ -1519,6 +1697,1065 @@ module.exports = function (R, S) {
1519
1697
  };
1520
1698
 
1521
1699
 
1700
+ /***/ }),
1701
+
1702
+ /***/ "186b":
1703
+ /***/ (function(module, exports, __webpack_require__) {
1704
+
1705
+ "use strict";
1706
+
1707
+ // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
1708
+ __webpack_require__("0c4e");
1709
+ var $ = __webpack_require__("9ee3");
1710
+ var DESCRIPTORS = __webpack_require__("6d80");
1711
+ var USE_NATIVE_URL = __webpack_require__("94fa");
1712
+ var globalThis = __webpack_require__("b7a1");
1713
+ var bind = __webpack_require__("3b5c");
1714
+ var uncurryThis = __webpack_require__("d74d");
1715
+ var defineBuiltIn = __webpack_require__("78e5");
1716
+ var defineBuiltInAccessor = __webpack_require__("4edf");
1717
+ var anInstance = __webpack_require__("f824");
1718
+ var hasOwn = __webpack_require__("45a0");
1719
+ var assign = __webpack_require__("dfc8");
1720
+ var arrayFrom = __webpack_require__("dc77");
1721
+ var arraySlice = __webpack_require__("9228");
1722
+ var codeAt = __webpack_require__("a600").codeAt;
1723
+ var toASCII = __webpack_require__("1604");
1724
+ var $toString = __webpack_require__("9dad");
1725
+ var setToStringTag = __webpack_require__("49ff");
1726
+ var validateArgumentsLength = __webpack_require__("1346");
1727
+ var URLSearchParamsModule = __webpack_require__("392f");
1728
+ var InternalStateModule = __webpack_require__("a262");
1729
+
1730
+ var setInternalState = InternalStateModule.set;
1731
+ var getInternalURLState = InternalStateModule.getterFor('URL');
1732
+ var URLSearchParams = URLSearchParamsModule.URLSearchParams;
1733
+ var getInternalSearchParamsState = URLSearchParamsModule.getState;
1734
+
1735
+ var NativeURL = globalThis.URL;
1736
+ var TypeError = globalThis.TypeError;
1737
+ var parseInt = globalThis.parseInt;
1738
+ var floor = Math.floor;
1739
+ var pow = Math.pow;
1740
+ var charAt = uncurryThis(''.charAt);
1741
+ var exec = uncurryThis(/./.exec);
1742
+ var join = uncurryThis([].join);
1743
+ var numberToString = uncurryThis(1.1.toString);
1744
+ var pop = uncurryThis([].pop);
1745
+ var push = uncurryThis([].push);
1746
+ var replace = uncurryThis(''.replace);
1747
+ var shift = uncurryThis([].shift);
1748
+ var split = uncurryThis(''.split);
1749
+ var stringSlice = uncurryThis(''.slice);
1750
+ var toLowerCase = uncurryThis(''.toLowerCase);
1751
+ var unshift = uncurryThis([].unshift);
1752
+
1753
+ var INVALID_AUTHORITY = 'Invalid authority';
1754
+ var INVALID_SCHEME = 'Invalid scheme';
1755
+ var INVALID_HOST = 'Invalid host';
1756
+ var INVALID_PORT = 'Invalid port';
1757
+
1758
+ var ALPHA = /[a-z]/i;
1759
+ // eslint-disable-next-line regexp/no-obscure-range -- safe
1760
+ var ALPHANUMERIC = /[\d+-.a-z]/i;
1761
+ var DIGIT = /\d/;
1762
+ var HEX_START = /^0x/i;
1763
+ var OCT = /^[0-7]+$/;
1764
+ var DEC = /^\d+$/;
1765
+ var HEX = /^[\da-f]+$/i;
1766
+ /* eslint-disable regexp/no-control-character -- safe */
1767
+ var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
1768
+ var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
1769
+ var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/;
1770
+ var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/;
1771
+ var TAB_AND_NEW_LINE = /[\t\n\r]/g;
1772
+ /* eslint-enable regexp/no-control-character -- safe */
1773
+ // eslint-disable-next-line no-unassigned-vars -- expected `undefined` value
1774
+ var EOF;
1775
+
1776
+ // https://url.spec.whatwg.org/#ipv4-number-parser
1777
+ var parseIPv4 = function (input) {
1778
+ var parts = split(input, '.');
1779
+ var partsLength, numbers, index, part, radix, number, ipv4;
1780
+ if (parts.length && parts[parts.length - 1] === '') {
1781
+ parts.length--;
1782
+ }
1783
+ partsLength = parts.length;
1784
+ if (partsLength > 4) return input;
1785
+ numbers = [];
1786
+ for (index = 0; index < partsLength; index++) {
1787
+ part = parts[index];
1788
+ if (part === '') return input;
1789
+ radix = 10;
1790
+ if (part.length > 1 && charAt(part, 0) === '0') {
1791
+ radix = exec(HEX_START, part) ? 16 : 8;
1792
+ part = stringSlice(part, radix === 8 ? 1 : 2);
1793
+ }
1794
+ if (part === '') {
1795
+ number = 0;
1796
+ } else {
1797
+ if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return input;
1798
+ number = parseInt(part, radix);
1799
+ }
1800
+ push(numbers, number);
1801
+ }
1802
+ for (index = 0; index < partsLength; index++) {
1803
+ number = numbers[index];
1804
+ if (index === partsLength - 1) {
1805
+ if (number >= pow(256, 5 - partsLength)) return null;
1806
+ } else if (number > 255) return null;
1807
+ }
1808
+ ipv4 = pop(numbers);
1809
+ for (index = 0; index < numbers.length; index++) {
1810
+ ipv4 += numbers[index] * pow(256, 3 - index);
1811
+ }
1812
+ return ipv4;
1813
+ };
1814
+
1815
+ // https://url.spec.whatwg.org/#concept-ipv6-parser
1816
+ // eslint-disable-next-line max-statements -- TODO
1817
+ var parseIPv6 = function (input) {
1818
+ var address = [0, 0, 0, 0, 0, 0, 0, 0];
1819
+ var pieceIndex = 0;
1820
+ var compress = null;
1821
+ var pointer = 0;
1822
+ var value, length, numbersSeen, ipv4Piece, number, swaps, swap;
1823
+
1824
+ var chr = function () {
1825
+ return charAt(input, pointer);
1826
+ };
1827
+
1828
+ if (chr() === ':') {
1829
+ if (charAt(input, 1) !== ':') return;
1830
+ pointer += 2;
1831
+ pieceIndex++;
1832
+ compress = pieceIndex;
1833
+ }
1834
+ while (chr()) {
1835
+ if (pieceIndex === 8) return;
1836
+ if (chr() === ':') {
1837
+ if (compress !== null) return;
1838
+ pointer++;
1839
+ pieceIndex++;
1840
+ compress = pieceIndex;
1841
+ continue;
1842
+ }
1843
+ value = length = 0;
1844
+ while (length < 4 && exec(HEX, chr())) {
1845
+ value = value * 16 + parseInt(chr(), 16);
1846
+ pointer++;
1847
+ length++;
1848
+ }
1849
+ if (chr() === '.') {
1850
+ if (length === 0) return;
1851
+ pointer -= length;
1852
+ if (pieceIndex > 6) return;
1853
+ numbersSeen = 0;
1854
+ while (chr()) {
1855
+ ipv4Piece = null;
1856
+ if (numbersSeen > 0) {
1857
+ if (chr() === '.' && numbersSeen < 4) pointer++;
1858
+ else return;
1859
+ }
1860
+ if (!exec(DIGIT, chr())) return;
1861
+ while (exec(DIGIT, chr())) {
1862
+ number = parseInt(chr(), 10);
1863
+ if (ipv4Piece === null) ipv4Piece = number;
1864
+ else if (ipv4Piece === 0) return;
1865
+ else ipv4Piece = ipv4Piece * 10 + number;
1866
+ if (ipv4Piece > 255) return;
1867
+ pointer++;
1868
+ }
1869
+ address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;
1870
+ numbersSeen++;
1871
+ if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++;
1872
+ }
1873
+ if (numbersSeen !== 4) return;
1874
+ break;
1875
+ } else if (chr() === ':') {
1876
+ pointer++;
1877
+ if (!chr()) return;
1878
+ } else if (chr()) return;
1879
+ address[pieceIndex++] = value;
1880
+ }
1881
+ if (compress !== null) {
1882
+ swaps = pieceIndex - compress;
1883
+ pieceIndex = 7;
1884
+ while (pieceIndex !== 0 && swaps > 0) {
1885
+ swap = address[pieceIndex];
1886
+ address[pieceIndex--] = address[compress + swaps - 1];
1887
+ address[compress + --swaps] = swap;
1888
+ }
1889
+ } else if (pieceIndex !== 8) return;
1890
+ return address;
1891
+ };
1892
+
1893
+ var findLongestZeroSequence = function (ipv6) {
1894
+ var maxIndex = null;
1895
+ var maxLength = 1;
1896
+ var currStart = null;
1897
+ var currLength = 0;
1898
+ var index = 0;
1899
+ for (; index < 8; index++) {
1900
+ if (ipv6[index] !== 0) {
1901
+ if (currLength > maxLength) {
1902
+ maxIndex = currStart;
1903
+ maxLength = currLength;
1904
+ }
1905
+ currStart = null;
1906
+ currLength = 0;
1907
+ } else {
1908
+ if (currStart === null) currStart = index;
1909
+ ++currLength;
1910
+ }
1911
+ }
1912
+ return currLength > maxLength ? currStart : maxIndex;
1913
+ };
1914
+
1915
+ // https://url.spec.whatwg.org/#host-serializing
1916
+ var serializeHost = function (host) {
1917
+ var result, index, compress, ignore0;
1918
+
1919
+ // ipv4
1920
+ if (typeof host == 'number') {
1921
+ result = [];
1922
+ for (index = 0; index < 4; index++) {
1923
+ unshift(result, host % 256);
1924
+ host = floor(host / 256);
1925
+ }
1926
+ return join(result, '.');
1927
+ }
1928
+
1929
+ // ipv6
1930
+ if (typeof host == 'object') {
1931
+ result = '';
1932
+ compress = findLongestZeroSequence(host);
1933
+ for (index = 0; index < 8; index++) {
1934
+ if (ignore0 && host[index] === 0) continue;
1935
+ if (ignore0) ignore0 = false;
1936
+ if (compress === index) {
1937
+ result += index ? ':' : '::';
1938
+ ignore0 = true;
1939
+ } else {
1940
+ result += numberToString(host[index], 16);
1941
+ if (index < 7) result += ':';
1942
+ }
1943
+ }
1944
+ return '[' + result + ']';
1945
+ }
1946
+
1947
+ return host;
1948
+ };
1949
+
1950
+ var C0ControlPercentEncodeSet = {};
1951
+ var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {
1952
+ ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1
1953
+ });
1954
+ var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {
1955
+ '#': 1, '?': 1, '{': 1, '}': 1
1956
+ });
1957
+ var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {
1958
+ '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1
1959
+ });
1960
+
1961
+ var percentEncode = function (chr, set) {
1962
+ var code = codeAt(chr, 0);
1963
+ return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);
1964
+ };
1965
+
1966
+ // https://url.spec.whatwg.org/#special-scheme
1967
+ var specialSchemes = {
1968
+ ftp: 21,
1969
+ file: null,
1970
+ http: 80,
1971
+ https: 443,
1972
+ ws: 80,
1973
+ wss: 443
1974
+ };
1975
+
1976
+ // https://url.spec.whatwg.org/#windows-drive-letter
1977
+ var isWindowsDriveLetter = function (string, normalized) {
1978
+ var second;
1979
+ return string.length === 2 && exec(ALPHA, charAt(string, 0))
1980
+ && ((second = charAt(string, 1)) === ':' || (!normalized && second === '|'));
1981
+ };
1982
+
1983
+ // https://url.spec.whatwg.org/#start-with-a-windows-drive-letter
1984
+ var startsWithWindowsDriveLetter = function (string) {
1985
+ var third;
1986
+ return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (
1987
+ string.length === 2 ||
1988
+ ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#')
1989
+ );
1990
+ };
1991
+
1992
+ // https://url.spec.whatwg.org/#single-dot-path-segment
1993
+ var isSingleDot = function (segment) {
1994
+ return segment === '.' || toLowerCase(segment) === '%2e';
1995
+ };
1996
+
1997
+ // https://url.spec.whatwg.org/#double-dot-path-segment
1998
+ var isDoubleDot = function (segment) {
1999
+ segment = toLowerCase(segment);
2000
+ return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';
2001
+ };
2002
+
2003
+ // States:
2004
+ var SCHEME_START = {};
2005
+ var SCHEME = {};
2006
+ var NO_SCHEME = {};
2007
+ var SPECIAL_RELATIVE_OR_AUTHORITY = {};
2008
+ var PATH_OR_AUTHORITY = {};
2009
+ var RELATIVE = {};
2010
+ var RELATIVE_SLASH = {};
2011
+ var SPECIAL_AUTHORITY_SLASHES = {};
2012
+ var SPECIAL_AUTHORITY_IGNORE_SLASHES = {};
2013
+ var AUTHORITY = {};
2014
+ var HOST = {};
2015
+ var HOSTNAME = {};
2016
+ var PORT = {};
2017
+ var FILE = {};
2018
+ var FILE_SLASH = {};
2019
+ var FILE_HOST = {};
2020
+ var PATH_START = {};
2021
+ var PATH = {};
2022
+ var CANNOT_BE_A_BASE_URL_PATH = {};
2023
+ var QUERY = {};
2024
+ var FRAGMENT = {};
2025
+
2026
+ var URLState = function (url, isBase, base) {
2027
+ var urlString = $toString(url);
2028
+ var baseState, failure, searchParams;
2029
+ if (isBase) {
2030
+ failure = this.parse(urlString);
2031
+ if (failure) throw new TypeError(failure);
2032
+ this.searchParams = null;
2033
+ } else {
2034
+ if (base !== undefined) baseState = new URLState(base, true);
2035
+ failure = this.parse(urlString, null, baseState);
2036
+ if (failure) throw new TypeError(failure);
2037
+ searchParams = getInternalSearchParamsState(new URLSearchParams());
2038
+ searchParams.bindURL(this);
2039
+ this.searchParams = searchParams;
2040
+ }
2041
+ };
2042
+
2043
+ URLState.prototype = {
2044
+ type: 'URL',
2045
+ // https://url.spec.whatwg.org/#url-parsing
2046
+ // eslint-disable-next-line max-statements -- TODO
2047
+ parse: function (input, stateOverride, base) {
2048
+ var url = this;
2049
+ var state = stateOverride || SCHEME_START;
2050
+ var pointer = 0;
2051
+ var buffer = '';
2052
+ var seenAt = false;
2053
+ var seenBracket = false;
2054
+ var seenPasswordToken = false;
2055
+ var codePoints, chr, bufferCodePoints, failure;
2056
+
2057
+ input = $toString(input);
2058
+
2059
+ if (!stateOverride) {
2060
+ url.scheme = '';
2061
+ url.username = '';
2062
+ url.password = '';
2063
+ url.host = null;
2064
+ url.port = null;
2065
+ url.path = [];
2066
+ url.query = null;
2067
+ url.fragment = null;
2068
+ url.cannotBeABaseURL = false;
2069
+ input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');
2070
+ input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');
2071
+ }
2072
+
2073
+ input = replace(input, TAB_AND_NEW_LINE, '');
2074
+
2075
+ codePoints = arrayFrom(input);
2076
+
2077
+ while (pointer <= codePoints.length) {
2078
+ chr = codePoints[pointer];
2079
+ switch (state) {
2080
+ case SCHEME_START:
2081
+ if (chr && exec(ALPHA, chr)) {
2082
+ buffer += toLowerCase(chr);
2083
+ state = SCHEME;
2084
+ } else if (!stateOverride) {
2085
+ state = NO_SCHEME;
2086
+ continue;
2087
+ } else return INVALID_SCHEME;
2088
+ break;
2089
+
2090
+ case SCHEME:
2091
+ if (chr && (exec(ALPHANUMERIC, chr) || chr === '+' || chr === '-' || chr === '.')) {
2092
+ buffer += toLowerCase(chr);
2093
+ } else if (chr === ':') {
2094
+ if (stateOverride && (
2095
+ (url.isSpecial() !== hasOwn(specialSchemes, buffer)) ||
2096
+ (buffer === 'file' && (url.includesCredentials() || url.port !== null)) ||
2097
+ (url.scheme === 'file' && !url.host)
2098
+ )) return;
2099
+ url.scheme = buffer;
2100
+ if (stateOverride) {
2101
+ if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null;
2102
+ return;
2103
+ }
2104
+ buffer = '';
2105
+ if (url.scheme === 'file') {
2106
+ state = FILE;
2107
+ } else if (url.isSpecial() && base && base.scheme === url.scheme) {
2108
+ state = SPECIAL_RELATIVE_OR_AUTHORITY;
2109
+ } else if (url.isSpecial()) {
2110
+ state = SPECIAL_AUTHORITY_SLASHES;
2111
+ } else if (codePoints[pointer + 1] === '/') {
2112
+ state = PATH_OR_AUTHORITY;
2113
+ pointer++;
2114
+ } else {
2115
+ url.cannotBeABaseURL = true;
2116
+ push(url.path, '');
2117
+ state = CANNOT_BE_A_BASE_URL_PATH;
2118
+ }
2119
+ } else if (!stateOverride) {
2120
+ buffer = '';
2121
+ state = NO_SCHEME;
2122
+ pointer = 0;
2123
+ continue;
2124
+ } else return INVALID_SCHEME;
2125
+ break;
2126
+
2127
+ case NO_SCHEME:
2128
+ if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME;
2129
+ if (base.cannotBeABaseURL && chr === '#') {
2130
+ url.scheme = base.scheme;
2131
+ url.path = arraySlice(base.path);
2132
+ url.query = base.query;
2133
+ url.fragment = '';
2134
+ url.cannotBeABaseURL = true;
2135
+ state = FRAGMENT;
2136
+ break;
2137
+ }
2138
+ state = base.scheme === 'file' ? FILE : RELATIVE;
2139
+ continue;
2140
+
2141
+ case SPECIAL_RELATIVE_OR_AUTHORITY:
2142
+ if (chr === '/' && codePoints[pointer + 1] === '/') {
2143
+ state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
2144
+ pointer++;
2145
+ } else {
2146
+ state = RELATIVE;
2147
+ continue;
2148
+ } break;
2149
+
2150
+ case PATH_OR_AUTHORITY:
2151
+ if (chr === '/') {
2152
+ state = AUTHORITY;
2153
+ break;
2154
+ } else {
2155
+ state = PATH;
2156
+ continue;
2157
+ }
2158
+
2159
+ case RELATIVE:
2160
+ url.scheme = base.scheme;
2161
+ if (chr === EOF) {
2162
+ url.username = base.username;
2163
+ url.password = base.password;
2164
+ url.host = base.host;
2165
+ url.port = base.port;
2166
+ url.path = arraySlice(base.path);
2167
+ url.query = base.query;
2168
+ } else if (chr === '/' || (chr === '\\' && url.isSpecial())) {
2169
+ state = RELATIVE_SLASH;
2170
+ } else if (chr === '?') {
2171
+ url.username = base.username;
2172
+ url.password = base.password;
2173
+ url.host = base.host;
2174
+ url.port = base.port;
2175
+ url.path = arraySlice(base.path);
2176
+ url.query = '';
2177
+ state = QUERY;
2178
+ } else if (chr === '#') {
2179
+ url.username = base.username;
2180
+ url.password = base.password;
2181
+ url.host = base.host;
2182
+ url.port = base.port;
2183
+ url.path = arraySlice(base.path);
2184
+ url.query = base.query;
2185
+ url.fragment = '';
2186
+ state = FRAGMENT;
2187
+ } else {
2188
+ url.username = base.username;
2189
+ url.password = base.password;
2190
+ url.host = base.host;
2191
+ url.port = base.port;
2192
+ url.path = arraySlice(base.path);
2193
+ url.path.length--;
2194
+ state = PATH;
2195
+ continue;
2196
+ } break;
2197
+
2198
+ case RELATIVE_SLASH:
2199
+ if (url.isSpecial() && (chr === '/' || chr === '\\')) {
2200
+ state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
2201
+ } else if (chr === '/') {
2202
+ state = AUTHORITY;
2203
+ } else {
2204
+ url.username = base.username;
2205
+ url.password = base.password;
2206
+ url.host = base.host;
2207
+ url.port = base.port;
2208
+ state = PATH;
2209
+ continue;
2210
+ } break;
2211
+
2212
+ case SPECIAL_AUTHORITY_SLASHES:
2213
+ state = SPECIAL_AUTHORITY_IGNORE_SLASHES;
2214
+ if (chr !== '/' || charAt(buffer, pointer + 1) !== '/') continue;
2215
+ pointer++;
2216
+ break;
2217
+
2218
+ case SPECIAL_AUTHORITY_IGNORE_SLASHES:
2219
+ if (chr !== '/' && chr !== '\\') {
2220
+ state = AUTHORITY;
2221
+ continue;
2222
+ } break;
2223
+
2224
+ case AUTHORITY:
2225
+ if (chr === '@') {
2226
+ if (seenAt) buffer = '%40' + buffer;
2227
+ seenAt = true;
2228
+ bufferCodePoints = arrayFrom(buffer);
2229
+ for (var i = 0; i < bufferCodePoints.length; i++) {
2230
+ var codePoint = bufferCodePoints[i];
2231
+ if (codePoint === ':' && !seenPasswordToken) {
2232
+ seenPasswordToken = true;
2233
+ continue;
2234
+ }
2235
+ var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);
2236
+ if (seenPasswordToken) url.password += encodedCodePoints;
2237
+ else url.username += encodedCodePoints;
2238
+ }
2239
+ buffer = '';
2240
+ } else if (
2241
+ chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
2242
+ (chr === '\\' && url.isSpecial())
2243
+ ) {
2244
+ if (seenAt && buffer === '') return INVALID_AUTHORITY;
2245
+ pointer -= arrayFrom(buffer).length + 1;
2246
+ buffer = '';
2247
+ state = HOST;
2248
+ } else buffer += chr;
2249
+ break;
2250
+
2251
+ case HOST:
2252
+ case HOSTNAME:
2253
+ if (stateOverride && url.scheme === 'file') {
2254
+ state = FILE_HOST;
2255
+ continue;
2256
+ } else if (chr === ':' && !seenBracket) {
2257
+ if (buffer === '') return INVALID_HOST;
2258
+ failure = url.parseHost(buffer);
2259
+ if (failure) return failure;
2260
+ buffer = '';
2261
+ state = PORT;
2262
+ if (stateOverride === HOSTNAME) return;
2263
+ } else if (
2264
+ chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
2265
+ (chr === '\\' && url.isSpecial())
2266
+ ) {
2267
+ if (url.isSpecial() && buffer === '') return INVALID_HOST;
2268
+ if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return;
2269
+ failure = url.parseHost(buffer);
2270
+ if (failure) return failure;
2271
+ buffer = '';
2272
+ state = PATH_START;
2273
+ if (stateOverride) return;
2274
+ continue;
2275
+ } else {
2276
+ if (chr === '[') seenBracket = true;
2277
+ else if (chr === ']') seenBracket = false;
2278
+ buffer += chr;
2279
+ } break;
2280
+
2281
+ case PORT:
2282
+ if (exec(DIGIT, chr)) {
2283
+ buffer += chr;
2284
+ } else if (
2285
+ chr === EOF || chr === '/' || chr === '?' || chr === '#' ||
2286
+ (chr === '\\' && url.isSpecial()) ||
2287
+ stateOverride
2288
+ ) {
2289
+ if (buffer !== '') {
2290
+ var port = parseInt(buffer, 10);
2291
+ if (port > 0xFFFF) return INVALID_PORT;
2292
+ url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port;
2293
+ buffer = '';
2294
+ }
2295
+ if (stateOverride) return;
2296
+ state = PATH_START;
2297
+ continue;
2298
+ } else return INVALID_PORT;
2299
+ break;
2300
+
2301
+ case FILE:
2302
+ url.scheme = 'file';
2303
+ if (chr === '/' || chr === '\\') state = FILE_SLASH;
2304
+ else if (base && base.scheme === 'file') {
2305
+ switch (chr) {
2306
+ case EOF:
2307
+ url.host = base.host;
2308
+ url.path = arraySlice(base.path);
2309
+ url.query = base.query;
2310
+ break;
2311
+ case '?':
2312
+ url.host = base.host;
2313
+ url.path = arraySlice(base.path);
2314
+ url.query = '';
2315
+ state = QUERY;
2316
+ break;
2317
+ case '#':
2318
+ url.host = base.host;
2319
+ url.path = arraySlice(base.path);
2320
+ url.query = base.query;
2321
+ url.fragment = '';
2322
+ state = FRAGMENT;
2323
+ break;
2324
+ default:
2325
+ if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
2326
+ url.host = base.host;
2327
+ url.path = arraySlice(base.path);
2328
+ url.shortenPath();
2329
+ }
2330
+ state = PATH;
2331
+ continue;
2332
+ }
2333
+ } else {
2334
+ state = PATH;
2335
+ continue;
2336
+ } break;
2337
+
2338
+ case FILE_SLASH:
2339
+ if (chr === '/' || chr === '\\') {
2340
+ state = FILE_HOST;
2341
+ break;
2342
+ }
2343
+ if (base && base.scheme === 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {
2344
+ if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);
2345
+ else url.host = base.host;
2346
+ }
2347
+ state = PATH;
2348
+ continue;
2349
+
2350
+ case FILE_HOST:
2351
+ if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') {
2352
+ if (!stateOverride && isWindowsDriveLetter(buffer)) {
2353
+ state = PATH;
2354
+ } else if (buffer === '') {
2355
+ url.host = '';
2356
+ if (stateOverride) return;
2357
+ state = PATH_START;
2358
+ } else {
2359
+ failure = url.parseHost(buffer);
2360
+ if (failure) return failure;
2361
+ if (url.host === 'localhost') url.host = '';
2362
+ if (stateOverride) return;
2363
+ buffer = '';
2364
+ state = PATH_START;
2365
+ } continue;
2366
+ } else buffer += chr;
2367
+ break;
2368
+
2369
+ case PATH_START:
2370
+ if (url.isSpecial()) {
2371
+ state = PATH;
2372
+ if (chr !== '/' && chr !== '\\') continue;
2373
+ } else if (!stateOverride && chr === '?') {
2374
+ url.query = '';
2375
+ state = QUERY;
2376
+ } else if (!stateOverride && chr === '#') {
2377
+ url.fragment = '';
2378
+ state = FRAGMENT;
2379
+ } else if (chr !== EOF) {
2380
+ state = PATH;
2381
+ if (chr !== '/') continue;
2382
+ } break;
2383
+
2384
+ case PATH:
2385
+ if (
2386
+ chr === EOF || chr === '/' ||
2387
+ (chr === '\\' && url.isSpecial()) ||
2388
+ (!stateOverride && (chr === '?' || chr === '#'))
2389
+ ) {
2390
+ if (isDoubleDot(buffer)) {
2391
+ url.shortenPath();
2392
+ if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
2393
+ push(url.path, '');
2394
+ }
2395
+ } else if (isSingleDot(buffer)) {
2396
+ if (chr !== '/' && !(chr === '\\' && url.isSpecial())) {
2397
+ push(url.path, '');
2398
+ }
2399
+ } else {
2400
+ if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {
2401
+ if (url.host) url.host = '';
2402
+ buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter
2403
+ }
2404
+ push(url.path, buffer);
2405
+ }
2406
+ buffer = '';
2407
+ if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) {
2408
+ while (url.path.length > 1 && url.path[0] === '') {
2409
+ shift(url.path);
2410
+ }
2411
+ }
2412
+ if (chr === '?') {
2413
+ url.query = '';
2414
+ state = QUERY;
2415
+ } else if (chr === '#') {
2416
+ url.fragment = '';
2417
+ state = FRAGMENT;
2418
+ }
2419
+ } else {
2420
+ buffer += percentEncode(chr, pathPercentEncodeSet);
2421
+ } break;
2422
+
2423
+ case CANNOT_BE_A_BASE_URL_PATH:
2424
+ if (chr === '?') {
2425
+ url.query = '';
2426
+ state = QUERY;
2427
+ } else if (chr === '#') {
2428
+ url.fragment = '';
2429
+ state = FRAGMENT;
2430
+ } else if (chr !== EOF) {
2431
+ url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);
2432
+ } break;
2433
+
2434
+ case QUERY:
2435
+ if (!stateOverride && chr === '#') {
2436
+ url.fragment = '';
2437
+ state = FRAGMENT;
2438
+ } else if (chr !== EOF) {
2439
+ if (chr === "'" && url.isSpecial()) url.query += '%27';
2440
+ else if (chr === '#') url.query += '%23';
2441
+ else url.query += percentEncode(chr, C0ControlPercentEncodeSet);
2442
+ } break;
2443
+
2444
+ case FRAGMENT:
2445
+ if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);
2446
+ break;
2447
+ }
2448
+
2449
+ pointer++;
2450
+ }
2451
+ },
2452
+ // https://url.spec.whatwg.org/#host-parsing
2453
+ parseHost: function (input) {
2454
+ var result, codePoints, index;
2455
+ if (charAt(input, 0) === '[') {
2456
+ if (charAt(input, input.length - 1) !== ']') return INVALID_HOST;
2457
+ result = parseIPv6(stringSlice(input, 1, -1));
2458
+ if (!result) return INVALID_HOST;
2459
+ this.host = result;
2460
+ // opaque host
2461
+ } else if (!this.isSpecial()) {
2462
+ if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;
2463
+ result = '';
2464
+ codePoints = arrayFrom(input);
2465
+ for (index = 0; index < codePoints.length; index++) {
2466
+ result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);
2467
+ }
2468
+ this.host = result;
2469
+ } else {
2470
+ input = toASCII(input);
2471
+ if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;
2472
+ result = parseIPv4(input);
2473
+ if (result === null) return INVALID_HOST;
2474
+ this.host = result;
2475
+ }
2476
+ },
2477
+ // https://url.spec.whatwg.org/#cannot-have-a-username-password-port
2478
+ cannotHaveUsernamePasswordPort: function () {
2479
+ return !this.host || this.cannotBeABaseURL || this.scheme === 'file';
2480
+ },
2481
+ // https://url.spec.whatwg.org/#include-credentials
2482
+ includesCredentials: function () {
2483
+ return this.username !== '' || this.password !== '';
2484
+ },
2485
+ // https://url.spec.whatwg.org/#is-special
2486
+ isSpecial: function () {
2487
+ return hasOwn(specialSchemes, this.scheme);
2488
+ },
2489
+ // https://url.spec.whatwg.org/#shorten-a-urls-path
2490
+ shortenPath: function () {
2491
+ var path = this.path;
2492
+ var pathSize = path.length;
2493
+ if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) {
2494
+ path.length--;
2495
+ }
2496
+ },
2497
+ // https://url.spec.whatwg.org/#concept-url-serializer
2498
+ serialize: function () {
2499
+ var url = this;
2500
+ var scheme = url.scheme;
2501
+ var username = url.username;
2502
+ var password = url.password;
2503
+ var host = url.host;
2504
+ var port = url.port;
2505
+ var path = url.path;
2506
+ var query = url.query;
2507
+ var fragment = url.fragment;
2508
+ var output = scheme + ':';
2509
+ if (host !== null) {
2510
+ output += '//';
2511
+ if (url.includesCredentials()) {
2512
+ output += username + (password ? ':' + password : '') + '@';
2513
+ }
2514
+ output += serializeHost(host);
2515
+ if (port !== null) output += ':' + port;
2516
+ } else if (scheme === 'file') output += '//';
2517
+ output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
2518
+ if (query !== null) output += '?' + query;
2519
+ if (fragment !== null) output += '#' + fragment;
2520
+ return output;
2521
+ },
2522
+ // https://url.spec.whatwg.org/#dom-url-href
2523
+ setHref: function (href) {
2524
+ var failure = this.parse(href);
2525
+ if (failure) throw new TypeError(failure);
2526
+ this.searchParams.update();
2527
+ },
2528
+ // https://url.spec.whatwg.org/#dom-url-origin
2529
+ getOrigin: function () {
2530
+ var scheme = this.scheme;
2531
+ var port = this.port;
2532
+ if (scheme === 'blob') try {
2533
+ return new URLConstructor(scheme.path[0]).origin;
2534
+ } catch (error) {
2535
+ return 'null';
2536
+ }
2537
+ if (scheme === 'file' || !this.isSpecial()) return 'null';
2538
+ return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');
2539
+ },
2540
+ // https://url.spec.whatwg.org/#dom-url-protocol
2541
+ getProtocol: function () {
2542
+ return this.scheme + ':';
2543
+ },
2544
+ setProtocol: function (protocol) {
2545
+ this.parse($toString(protocol) + ':', SCHEME_START);
2546
+ },
2547
+ // https://url.spec.whatwg.org/#dom-url-username
2548
+ getUsername: function () {
2549
+ return this.username;
2550
+ },
2551
+ setUsername: function (username) {
2552
+ var codePoints = arrayFrom($toString(username));
2553
+ if (this.cannotHaveUsernamePasswordPort()) return;
2554
+ this.username = '';
2555
+ for (var i = 0; i < codePoints.length; i++) {
2556
+ this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);
2557
+ }
2558
+ },
2559
+ // https://url.spec.whatwg.org/#dom-url-password
2560
+ getPassword: function () {
2561
+ return this.password;
2562
+ },
2563
+ setPassword: function (password) {
2564
+ var codePoints = arrayFrom($toString(password));
2565
+ if (this.cannotHaveUsernamePasswordPort()) return;
2566
+ this.password = '';
2567
+ for (var i = 0; i < codePoints.length; i++) {
2568
+ this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);
2569
+ }
2570
+ },
2571
+ // https://url.spec.whatwg.org/#dom-url-host
2572
+ getHost: function () {
2573
+ var host = this.host;
2574
+ var port = this.port;
2575
+ return host === null ? ''
2576
+ : port === null ? serializeHost(host)
2577
+ : serializeHost(host) + ':' + port;
2578
+ },
2579
+ setHost: function (host) {
2580
+ if (this.cannotBeABaseURL) return;
2581
+ this.parse(host, HOST);
2582
+ },
2583
+ // https://url.spec.whatwg.org/#dom-url-hostname
2584
+ getHostname: function () {
2585
+ var host = this.host;
2586
+ return host === null ? '' : serializeHost(host);
2587
+ },
2588
+ setHostname: function (hostname) {
2589
+ if (this.cannotBeABaseURL) return;
2590
+ this.parse(hostname, HOSTNAME);
2591
+ },
2592
+ // https://url.spec.whatwg.org/#dom-url-port
2593
+ getPort: function () {
2594
+ var port = this.port;
2595
+ return port === null ? '' : $toString(port);
2596
+ },
2597
+ setPort: function (port) {
2598
+ if (this.cannotHaveUsernamePasswordPort()) return;
2599
+ port = $toString(port);
2600
+ if (port === '') this.port = null;
2601
+ else this.parse(port, PORT);
2602
+ },
2603
+ // https://url.spec.whatwg.org/#dom-url-pathname
2604
+ getPathname: function () {
2605
+ var path = this.path;
2606
+ return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';
2607
+ },
2608
+ setPathname: function (pathname) {
2609
+ if (this.cannotBeABaseURL) return;
2610
+ this.path = [];
2611
+ this.parse(pathname, PATH_START);
2612
+ },
2613
+ // https://url.spec.whatwg.org/#dom-url-search
2614
+ getSearch: function () {
2615
+ var query = this.query;
2616
+ return query ? '?' + query : '';
2617
+ },
2618
+ setSearch: function (search) {
2619
+ search = $toString(search);
2620
+ if (search === '') {
2621
+ this.query = null;
2622
+ } else {
2623
+ if (charAt(search, 0) === '?') search = stringSlice(search, 1);
2624
+ this.query = '';
2625
+ this.parse(search, QUERY);
2626
+ }
2627
+ this.searchParams.update();
2628
+ },
2629
+ // https://url.spec.whatwg.org/#dom-url-searchparams
2630
+ getSearchParams: function () {
2631
+ return this.searchParams.facade;
2632
+ },
2633
+ // https://url.spec.whatwg.org/#dom-url-hash
2634
+ getHash: function () {
2635
+ var fragment = this.fragment;
2636
+ return fragment ? '#' + fragment : '';
2637
+ },
2638
+ setHash: function (hash) {
2639
+ hash = $toString(hash);
2640
+ if (hash === '') {
2641
+ this.fragment = null;
2642
+ return;
2643
+ }
2644
+ if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1);
2645
+ this.fragment = '';
2646
+ this.parse(hash, FRAGMENT);
2647
+ },
2648
+ update: function () {
2649
+ this.query = this.searchParams.serialize() || null;
2650
+ }
2651
+ };
2652
+
2653
+ // `URL` constructor
2654
+ // https://url.spec.whatwg.org/#url-class
2655
+ var URLConstructor = function URL(url /* , base */) {
2656
+ var that = anInstance(this, URLPrototype);
2657
+ var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
2658
+ var state = setInternalState(that, new URLState(url, false, base));
2659
+ if (!DESCRIPTORS) {
2660
+ that.href = state.serialize();
2661
+ that.origin = state.getOrigin();
2662
+ that.protocol = state.getProtocol();
2663
+ that.username = state.getUsername();
2664
+ that.password = state.getPassword();
2665
+ that.host = state.getHost();
2666
+ that.hostname = state.getHostname();
2667
+ that.port = state.getPort();
2668
+ that.pathname = state.getPathname();
2669
+ that.search = state.getSearch();
2670
+ that.searchParams = state.getSearchParams();
2671
+ that.hash = state.getHash();
2672
+ }
2673
+ };
2674
+
2675
+ var URLPrototype = URLConstructor.prototype;
2676
+
2677
+ var accessorDescriptor = function (getter, setter) {
2678
+ return {
2679
+ get: function () {
2680
+ return getInternalURLState(this)[getter]();
2681
+ },
2682
+ set: setter && function (value) {
2683
+ return getInternalURLState(this)[setter](value);
2684
+ },
2685
+ configurable: true,
2686
+ enumerable: true
2687
+ };
2688
+ };
2689
+
2690
+ if (DESCRIPTORS) {
2691
+ // `URL.prototype.href` accessors pair
2692
+ // https://url.spec.whatwg.org/#dom-url-href
2693
+ defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));
2694
+ // `URL.prototype.origin` getter
2695
+ // https://url.spec.whatwg.org/#dom-url-origin
2696
+ defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));
2697
+ // `URL.prototype.protocol` accessors pair
2698
+ // https://url.spec.whatwg.org/#dom-url-protocol
2699
+ defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));
2700
+ // `URL.prototype.username` accessors pair
2701
+ // https://url.spec.whatwg.org/#dom-url-username
2702
+ defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));
2703
+ // `URL.prototype.password` accessors pair
2704
+ // https://url.spec.whatwg.org/#dom-url-password
2705
+ defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));
2706
+ // `URL.prototype.host` accessors pair
2707
+ // https://url.spec.whatwg.org/#dom-url-host
2708
+ defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));
2709
+ // `URL.prototype.hostname` accessors pair
2710
+ // https://url.spec.whatwg.org/#dom-url-hostname
2711
+ defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));
2712
+ // `URL.prototype.port` accessors pair
2713
+ // https://url.spec.whatwg.org/#dom-url-port
2714
+ defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));
2715
+ // `URL.prototype.pathname` accessors pair
2716
+ // https://url.spec.whatwg.org/#dom-url-pathname
2717
+ defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));
2718
+ // `URL.prototype.search` accessors pair
2719
+ // https://url.spec.whatwg.org/#dom-url-search
2720
+ defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));
2721
+ // `URL.prototype.searchParams` getter
2722
+ // https://url.spec.whatwg.org/#dom-url-searchparams
2723
+ defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));
2724
+ // `URL.prototype.hash` accessors pair
2725
+ // https://url.spec.whatwg.org/#dom-url-hash
2726
+ defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));
2727
+ }
2728
+
2729
+ // `URL.prototype.toJSON` method
2730
+ // https://url.spec.whatwg.org/#dom-url-tojson
2731
+ defineBuiltIn(URLPrototype, 'toJSON', function toJSON() {
2732
+ return getInternalURLState(this).serialize();
2733
+ }, { enumerable: true });
2734
+
2735
+ // `URL.prototype.toString` method
2736
+ // https://url.spec.whatwg.org/#URL-stringification-behavior
2737
+ defineBuiltIn(URLPrototype, 'toString', function toString() {
2738
+ return getInternalURLState(this).serialize();
2739
+ }, { enumerable: true });
2740
+
2741
+ if (NativeURL) {
2742
+ var nativeCreateObjectURL = NativeURL.createObjectURL;
2743
+ var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
2744
+ // `URL.createObjectURL` method
2745
+ // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
2746
+ if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));
2747
+ // `URL.revokeObjectURL` method
2748
+ // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
2749
+ if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));
2750
+ }
2751
+
2752
+ setToStringTag(URLConstructor, 'URL');
2753
+
2754
+ $({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, {
2755
+ URL: URLConstructor
2756
+ });
2757
+
2758
+
1522
2759
  /***/ }),
1523
2760
 
1524
2761
  /***/ "1a0f":
@@ -2179,6 +3416,17 @@ if (!version && userAgent) {
2179
3416
  module.exports = version;
2180
3417
 
2181
3418
 
3419
+ /***/ }),
3420
+
3421
+ /***/ "21ed":
3422
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3423
+
3424
+ "use strict";
3425
+ /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_6131c8da_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c119");
3426
+ /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_6131c8da_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuItem_vue_vue_type_style_index_0_id_6131c8da_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
3427
+ /* unused harmony reexport * */
3428
+
3429
+
2182
3430
  /***/ }),
2183
3431
 
2184
3432
  /***/ "2283":
@@ -2225,6 +3473,22 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
2225
3473
  });
2226
3474
 
2227
3475
 
3476
+ /***/ }),
3477
+
3478
+ /***/ "2324":
3479
+ /***/ (function(module, exports, __webpack_require__) {
3480
+
3481
+ // style-loader: Adds some css to the DOM by adding a <style> tag
3482
+
3483
+ // load the styles
3484
+ var content = __webpack_require__("eda4");
3485
+ if(content.__esModule) content = content.default;
3486
+ if(typeof content === 'string') content = [[module.i, content, '']];
3487
+ if(content.locals) module.exports = content.locals;
3488
+ // add the styles to the DOM
3489
+ var add = __webpack_require__("c69b").default
3490
+ var update = add("69fa4546", content, true, {"sourceMap":false,"shadowMode":false});
3491
+
2228
3492
  /***/ }),
2229
3493
 
2230
3494
  /***/ "2365":
@@ -2267,6 +3531,46 @@ module.exports = function isDisjointFrom(other) {
2267
3531
  };
2268
3532
 
2269
3533
 
3534
+ /***/ }),
3535
+
3536
+ /***/ "23af":
3537
+ /***/ (function(module, exports, __webpack_require__) {
3538
+
3539
+ "use strict";
3540
+
3541
+ var $ = __webpack_require__("9ee3");
3542
+ var uncurryThis = __webpack_require__("d74d");
3543
+ var toAbsoluteIndex = __webpack_require__("c6dd");
3544
+
3545
+ var $RangeError = RangeError;
3546
+ var fromCharCode = String.fromCharCode;
3547
+ // eslint-disable-next-line es/no-string-fromcodepoint -- required for testing
3548
+ var $fromCodePoint = String.fromCodePoint;
3549
+ var join = uncurryThis([].join);
3550
+
3551
+ // length should be 1, old FF problem
3552
+ var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1;
3553
+
3554
+ // `String.fromCodePoint` method
3555
+ // https://tc39.es/ecma262/#sec-string.fromcodepoint
3556
+ $({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, {
3557
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
3558
+ fromCodePoint: function fromCodePoint(x) {
3559
+ var elements = [];
3560
+ var length = arguments.length;
3561
+ var i = 0;
3562
+ var code;
3563
+ while (length > i) {
3564
+ code = +arguments[i++];
3565
+ if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point');
3566
+ elements[i] = code < 0x10000
3567
+ ? fromCharCode(code)
3568
+ : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);
3569
+ } return join(elements, '');
3570
+ }
3571
+ });
3572
+
3573
+
2270
3574
  /***/ }),
2271
3575
 
2272
3576
  /***/ "241f":
@@ -4302,6 +5606,42 @@ $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }
4302
5606
  });
4303
5607
 
4304
5608
 
5609
+ /***/ }),
5610
+
5611
+ /***/ "3615":
5612
+ /***/ (function(module, exports, __webpack_require__) {
5613
+
5614
+ "use strict";
5615
+
5616
+ var defineBuiltIn = __webpack_require__("78e5");
5617
+ var uncurryThis = __webpack_require__("d74d");
5618
+ var toString = __webpack_require__("9dad");
5619
+ var validateArgumentsLength = __webpack_require__("1346");
5620
+
5621
+ var $URLSearchParams = URLSearchParams;
5622
+ var URLSearchParamsPrototype = $URLSearchParams.prototype;
5623
+ var getAll = uncurryThis(URLSearchParamsPrototype.getAll);
5624
+ var $has = uncurryThis(URLSearchParamsPrototype.has);
5625
+ var params = new $URLSearchParams('a=1');
5626
+
5627
+ // `undefined` case is a Chromium 117 bug
5628
+ // https://bugs.chromium.org/p/v8/issues/detail?id=14222
5629
+ if (params.has('a', 2) || !params.has('a', undefined)) {
5630
+ defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) {
5631
+ var length = arguments.length;
5632
+ var $value = length < 2 ? undefined : arguments[1];
5633
+ if (length && $value === undefined) return $has(this, name);
5634
+ var values = getAll(this, name); // also validates `this`
5635
+ validateArgumentsLength(length, 1);
5636
+ var value = toString($value);
5637
+ var index = 0;
5638
+ while (index < values.length) {
5639
+ if (values[index++] === value) return true;
5640
+ } return false;
5641
+ }, { enumerable: true, unsafe: true });
5642
+ }
5643
+
5644
+
4305
5645
  /***/ }),
4306
5646
 
4307
5647
  /***/ "3700":
@@ -4428,78 +5768,583 @@ if (!isCallable(IteratorPrototype[ITERATOR])) {
4428
5768
  });
4429
5769
  }
4430
5770
 
4431
- module.exports = {
4432
- IteratorPrototype: IteratorPrototype,
4433
- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
4434
- };
5771
+ module.exports = {
5772
+ IteratorPrototype: IteratorPrototype,
5773
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
5774
+ };
5775
+
5776
+
5777
+ /***/ }),
5778
+
5779
+ /***/ "390f":
5780
+ /***/ (function(module, exports, __webpack_require__) {
5781
+
5782
+ "use strict";
5783
+
5784
+ var DESCRIPTORS = __webpack_require__("6d80");
5785
+ var IE8_DOM_DEFINE = __webpack_require__("b26e");
5786
+ var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("6535");
5787
+ var anObject = __webpack_require__("1c13");
5788
+ var toPropertyKey = __webpack_require__("a2f3");
5789
+
5790
+ var $TypeError = TypeError;
5791
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
5792
+ var $defineProperty = Object.defineProperty;
5793
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
5794
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
5795
+ var ENUMERABLE = 'enumerable';
5796
+ var CONFIGURABLE = 'configurable';
5797
+ var WRITABLE = 'writable';
5798
+
5799
+ // `Object.defineProperty` method
5800
+ // https://tc39.es/ecma262/#sec-object.defineproperty
5801
+ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
5802
+ anObject(O);
5803
+ P = toPropertyKey(P);
5804
+ anObject(Attributes);
5805
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
5806
+ var current = $getOwnPropertyDescriptor(O, P);
5807
+ if (current && current[WRITABLE]) {
5808
+ O[P] = Attributes.value;
5809
+ Attributes = {
5810
+ configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
5811
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
5812
+ writable: false
5813
+ };
5814
+ }
5815
+ } return $defineProperty(O, P, Attributes);
5816
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
5817
+ anObject(O);
5818
+ P = toPropertyKey(P);
5819
+ anObject(Attributes);
5820
+ if (IE8_DOM_DEFINE) try {
5821
+ return $defineProperty(O, P, Attributes);
5822
+ } catch (error) { /* empty */ }
5823
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
5824
+ if ('value' in Attributes) O[P] = Attributes.value;
5825
+ return O;
5826
+ };
5827
+
5828
+
5829
+ /***/ }),
5830
+
5831
+ /***/ "392f":
5832
+ /***/ (function(module, exports, __webpack_require__) {
5833
+
5834
+ "use strict";
5835
+
5836
+ // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
5837
+ __webpack_require__("3d22");
5838
+ __webpack_require__("23af");
5839
+ var $ = __webpack_require__("9ee3");
5840
+ var globalThis = __webpack_require__("b7a1");
5841
+ var safeGetBuiltIn = __webpack_require__("00eb");
5842
+ var getBuiltIn = __webpack_require__("c87d");
5843
+ var call = __webpack_require__("3e61");
5844
+ var uncurryThis = __webpack_require__("d74d");
5845
+ var DESCRIPTORS = __webpack_require__("6d80");
5846
+ var USE_NATIVE_URL = __webpack_require__("94fa");
5847
+ var defineBuiltIn = __webpack_require__("78e5");
5848
+ var defineBuiltInAccessor = __webpack_require__("4edf");
5849
+ var defineBuiltIns = __webpack_require__("aee1");
5850
+ var setToStringTag = __webpack_require__("49ff");
5851
+ var createIteratorConstructor = __webpack_require__("7877");
5852
+ var InternalStateModule = __webpack_require__("a262");
5853
+ var anInstance = __webpack_require__("f824");
5854
+ var isCallable = __webpack_require__("2985");
5855
+ var hasOwn = __webpack_require__("45a0");
5856
+ var bind = __webpack_require__("3b5c");
5857
+ var classof = __webpack_require__("f81e");
5858
+ var anObject = __webpack_require__("1c13");
5859
+ var isObject = __webpack_require__("09ef");
5860
+ var $toString = __webpack_require__("9dad");
5861
+ var create = __webpack_require__("5abc");
5862
+ var createPropertyDescriptor = __webpack_require__("7865");
5863
+ var getIterator = __webpack_require__("d855");
5864
+ var getIteratorMethod = __webpack_require__("ca00");
5865
+ var createIterResultObject = __webpack_require__("3e25");
5866
+ var validateArgumentsLength = __webpack_require__("1346");
5867
+ var wellKnownSymbol = __webpack_require__("dabc");
5868
+ var arraySort = __webpack_require__("7cd4");
5869
+
5870
+ var ITERATOR = wellKnownSymbol('iterator');
5871
+ var URL_SEARCH_PARAMS = 'URLSearchParams';
5872
+ var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';
5873
+ var setInternalState = InternalStateModule.set;
5874
+ var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);
5875
+ var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);
5876
+
5877
+ var nativeFetch = safeGetBuiltIn('fetch');
5878
+ var NativeRequest = safeGetBuiltIn('Request');
5879
+ var Headers = safeGetBuiltIn('Headers');
5880
+ var RequestPrototype = NativeRequest && NativeRequest.prototype;
5881
+ var HeadersPrototype = Headers && Headers.prototype;
5882
+ var TypeError = globalThis.TypeError;
5883
+ var encodeURIComponent = globalThis.encodeURIComponent;
5884
+ var fromCharCode = String.fromCharCode;
5885
+ var fromCodePoint = getBuiltIn('String', 'fromCodePoint');
5886
+ var $parseInt = parseInt;
5887
+ var charAt = uncurryThis(''.charAt);
5888
+ var join = uncurryThis([].join);
5889
+ var push = uncurryThis([].push);
5890
+ var replace = uncurryThis(''.replace);
5891
+ var shift = uncurryThis([].shift);
5892
+ var splice = uncurryThis([].splice);
5893
+ var split = uncurryThis(''.split);
5894
+ var stringSlice = uncurryThis(''.slice);
5895
+ var exec = uncurryThis(/./.exec);
5896
+
5897
+ var plus = /\+/g;
5898
+ var FALLBACK_REPLACER = '\uFFFD';
5899
+ var VALID_HEX = /^[0-9a-f]+$/i;
5900
+
5901
+ var parseHexOctet = function (string, start) {
5902
+ var substr = stringSlice(string, start, start + 2);
5903
+ if (!exec(VALID_HEX, substr)) return NaN;
5904
+
5905
+ return $parseInt(substr, 16);
5906
+ };
5907
+
5908
+ var getLeadingOnes = function (octet) {
5909
+ var count = 0;
5910
+ for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) {
5911
+ count++;
5912
+ }
5913
+ return count;
5914
+ };
5915
+
5916
+ var utf8Decode = function (octets) {
5917
+ var codePoint = null;
5918
+
5919
+ switch (octets.length) {
5920
+ case 1:
5921
+ codePoint = octets[0];
5922
+ break;
5923
+ case 2:
5924
+ codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F);
5925
+ break;
5926
+ case 3:
5927
+ codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F);
5928
+ break;
5929
+ case 4:
5930
+ codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F);
5931
+ break;
5932
+ }
5933
+
5934
+ return codePoint > 0x10FFFF ? null : codePoint;
5935
+ };
5936
+
5937
+ var decode = function (input) {
5938
+ input = replace(input, plus, ' ');
5939
+ var length = input.length;
5940
+ var result = '';
5941
+ var i = 0;
5942
+
5943
+ while (i < length) {
5944
+ var decodedChar = charAt(input, i);
5945
+
5946
+ if (decodedChar === '%') {
5947
+ if (charAt(input, i + 1) === '%' || i + 3 > length) {
5948
+ result += '%';
5949
+ i++;
5950
+ continue;
5951
+ }
5952
+
5953
+ var octet = parseHexOctet(input, i + 1);
5954
+
5955
+ // eslint-disable-next-line no-self-compare -- NaN check
5956
+ if (octet !== octet) {
5957
+ result += decodedChar;
5958
+ i++;
5959
+ continue;
5960
+ }
5961
+
5962
+ i += 2;
5963
+ var byteSequenceLength = getLeadingOnes(octet);
5964
+
5965
+ if (byteSequenceLength === 0) {
5966
+ decodedChar = fromCharCode(octet);
5967
+ } else {
5968
+ if (byteSequenceLength === 1 || byteSequenceLength > 4) {
5969
+ result += FALLBACK_REPLACER;
5970
+ i++;
5971
+ continue;
5972
+ }
5973
+
5974
+ var octets = [octet];
5975
+ var sequenceIndex = 1;
5976
+
5977
+ while (sequenceIndex < byteSequenceLength) {
5978
+ i++;
5979
+ if (i + 3 > length || charAt(input, i) !== '%') break;
5980
+
5981
+ var nextByte = parseHexOctet(input, i + 1);
5982
+
5983
+ // eslint-disable-next-line no-self-compare -- NaN check
5984
+ if (nextByte !== nextByte) {
5985
+ i += 3;
5986
+ break;
5987
+ }
5988
+ if (nextByte > 191 || nextByte < 128) break;
5989
+
5990
+ push(octets, nextByte);
5991
+ i += 2;
5992
+ sequenceIndex++;
5993
+ }
5994
+
5995
+ if (octets.length !== byteSequenceLength) {
5996
+ result += FALLBACK_REPLACER;
5997
+ continue;
5998
+ }
5999
+
6000
+ var codePoint = utf8Decode(octets);
6001
+ if (codePoint === null) {
6002
+ result += FALLBACK_REPLACER;
6003
+ } else {
6004
+ decodedChar = fromCodePoint(codePoint);
6005
+ }
6006
+ }
6007
+ }
6008
+
6009
+ result += decodedChar;
6010
+ i++;
6011
+ }
6012
+
6013
+ return result;
6014
+ };
6015
+
6016
+ var find = /[!'()~]|%20/g;
6017
+
6018
+ var replacements = {
6019
+ '!': '%21',
6020
+ "'": '%27',
6021
+ '(': '%28',
6022
+ ')': '%29',
6023
+ '~': '%7E',
6024
+ '%20': '+'
6025
+ };
6026
+
6027
+ var replacer = function (match) {
6028
+ return replacements[match];
6029
+ };
6030
+
6031
+ var serialize = function (it) {
6032
+ return replace(encodeURIComponent(it), find, replacer);
6033
+ };
6034
+
6035
+ var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {
6036
+ setInternalState(this, {
6037
+ type: URL_SEARCH_PARAMS_ITERATOR,
6038
+ target: getInternalParamsState(params).entries,
6039
+ index: 0,
6040
+ kind: kind
6041
+ });
6042
+ }, URL_SEARCH_PARAMS, function next() {
6043
+ var state = getInternalIteratorState(this);
6044
+ var target = state.target;
6045
+ var index = state.index++;
6046
+ if (!target || index >= target.length) {
6047
+ state.target = null;
6048
+ return createIterResultObject(undefined, true);
6049
+ }
6050
+ var entry = target[index];
6051
+ switch (state.kind) {
6052
+ case 'keys': return createIterResultObject(entry.key, false);
6053
+ case 'values': return createIterResultObject(entry.value, false);
6054
+ } return createIterResultObject([entry.key, entry.value], false);
6055
+ }, true);
6056
+
6057
+ var URLSearchParamsState = function (init) {
6058
+ this.entries = [];
6059
+ this.url = null;
6060
+
6061
+ if (init !== undefined) {
6062
+ if (isObject(init)) this.parseObject(init);
6063
+ else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));
6064
+ }
6065
+ };
6066
+
6067
+ URLSearchParamsState.prototype = {
6068
+ type: URL_SEARCH_PARAMS,
6069
+ bindURL: function (url) {
6070
+ this.url = url;
6071
+ this.update();
6072
+ },
6073
+ parseObject: function (object) {
6074
+ var entries = this.entries;
6075
+ var iteratorMethod = getIteratorMethod(object);
6076
+ var iterator, next, step, entryIterator, entryNext, first, second;
6077
+
6078
+ if (iteratorMethod) {
6079
+ iterator = getIterator(object, iteratorMethod);
6080
+ next = iterator.next;
6081
+ while (!(step = call(next, iterator)).done) {
6082
+ entryIterator = getIterator(anObject(step.value));
6083
+ entryNext = entryIterator.next;
6084
+ if (
6085
+ (first = call(entryNext, entryIterator)).done ||
6086
+ (second = call(entryNext, entryIterator)).done ||
6087
+ !call(entryNext, entryIterator).done
6088
+ ) throw new TypeError('Expected sequence with length 2');
6089
+ push(entries, { key: $toString(first.value), value: $toString(second.value) });
6090
+ }
6091
+ } else for (var key in object) if (hasOwn(object, key)) {
6092
+ push(entries, { key: key, value: $toString(object[key]) });
6093
+ }
6094
+ },
6095
+ parseQuery: function (query) {
6096
+ if (query) {
6097
+ var entries = this.entries;
6098
+ var attributes = split(query, '&');
6099
+ var index = 0;
6100
+ var attribute, entry;
6101
+ while (index < attributes.length) {
6102
+ attribute = attributes[index++];
6103
+ if (attribute.length) {
6104
+ entry = split(attribute, '=');
6105
+ push(entries, {
6106
+ key: decode(shift(entry)),
6107
+ value: decode(join(entry, '='))
6108
+ });
6109
+ }
6110
+ }
6111
+ }
6112
+ },
6113
+ serialize: function () {
6114
+ var entries = this.entries;
6115
+ var result = [];
6116
+ var index = 0;
6117
+ var entry;
6118
+ while (index < entries.length) {
6119
+ entry = entries[index++];
6120
+ push(result, serialize(entry.key) + '=' + serialize(entry.value));
6121
+ } return join(result, '&');
6122
+ },
6123
+ update: function () {
6124
+ this.entries.length = 0;
6125
+ this.parseQuery(this.url.query);
6126
+ },
6127
+ updateURL: function () {
6128
+ if (this.url) this.url.update();
6129
+ }
6130
+ };
6131
+
6132
+ // `URLSearchParams` constructor
6133
+ // https://url.spec.whatwg.org/#interface-urlsearchparams
6134
+ var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
6135
+ anInstance(this, URLSearchParamsPrototype);
6136
+ var init = arguments.length > 0 ? arguments[0] : undefined;
6137
+ var state = setInternalState(this, new URLSearchParamsState(init));
6138
+ if (!DESCRIPTORS) this.size = state.entries.length;
6139
+ };
6140
+
6141
+ var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
6142
+
6143
+ defineBuiltIns(URLSearchParamsPrototype, {
6144
+ // `URLSearchParams.prototype.append` method
6145
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-append
6146
+ append: function append(name, value) {
6147
+ var state = getInternalParamsState(this);
6148
+ validateArgumentsLength(arguments.length, 2);
6149
+ push(state.entries, { key: $toString(name), value: $toString(value) });
6150
+ if (!DESCRIPTORS) this.size++;
6151
+ state.updateURL();
6152
+ },
6153
+ // `URLSearchParams.prototype.delete` method
6154
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-delete
6155
+ 'delete': function (name /* , value */) {
6156
+ var state = getInternalParamsState(this);
6157
+ var length = validateArgumentsLength(arguments.length, 1);
6158
+ var entries = state.entries;
6159
+ var key = $toString(name);
6160
+ var $value = length < 2 ? undefined : arguments[1];
6161
+ var value = $value === undefined ? $value : $toString($value);
6162
+ var index = 0;
6163
+ while (index < entries.length) {
6164
+ var entry = entries[index];
6165
+ if (entry.key === key && (value === undefined || entry.value === value)) {
6166
+ splice(entries, index, 1);
6167
+ if (value !== undefined) break;
6168
+ } else index++;
6169
+ }
6170
+ if (!DESCRIPTORS) this.size = entries.length;
6171
+ state.updateURL();
6172
+ },
6173
+ // `URLSearchParams.prototype.get` method
6174
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-get
6175
+ get: function get(name) {
6176
+ var entries = getInternalParamsState(this).entries;
6177
+ validateArgumentsLength(arguments.length, 1);
6178
+ var key = $toString(name);
6179
+ var index = 0;
6180
+ for (; index < entries.length; index++) {
6181
+ if (entries[index].key === key) return entries[index].value;
6182
+ }
6183
+ return null;
6184
+ },
6185
+ // `URLSearchParams.prototype.getAll` method
6186
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-getall
6187
+ getAll: function getAll(name) {
6188
+ var entries = getInternalParamsState(this).entries;
6189
+ validateArgumentsLength(arguments.length, 1);
6190
+ var key = $toString(name);
6191
+ var result = [];
6192
+ var index = 0;
6193
+ for (; index < entries.length; index++) {
6194
+ if (entries[index].key === key) push(result, entries[index].value);
6195
+ }
6196
+ return result;
6197
+ },
6198
+ // `URLSearchParams.prototype.has` method
6199
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-has
6200
+ has: function has(name /* , value */) {
6201
+ var entries = getInternalParamsState(this).entries;
6202
+ var length = validateArgumentsLength(arguments.length, 1);
6203
+ var key = $toString(name);
6204
+ var $value = length < 2 ? undefined : arguments[1];
6205
+ var value = $value === undefined ? $value : $toString($value);
6206
+ var index = 0;
6207
+ while (index < entries.length) {
6208
+ var entry = entries[index++];
6209
+ if (entry.key === key && (value === undefined || entry.value === value)) return true;
6210
+ }
6211
+ return false;
6212
+ },
6213
+ // `URLSearchParams.prototype.set` method
6214
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-set
6215
+ set: function set(name, value) {
6216
+ var state = getInternalParamsState(this);
6217
+ validateArgumentsLength(arguments.length, 1);
6218
+ var entries = state.entries;
6219
+ var found = false;
6220
+ var key = $toString(name);
6221
+ var val = $toString(value);
6222
+ var index = 0;
6223
+ var entry;
6224
+ for (; index < entries.length; index++) {
6225
+ entry = entries[index];
6226
+ if (entry.key === key) {
6227
+ if (found) splice(entries, index--, 1);
6228
+ else {
6229
+ found = true;
6230
+ entry.value = val;
6231
+ }
6232
+ }
6233
+ }
6234
+ if (!found) push(entries, { key: key, value: val });
6235
+ if (!DESCRIPTORS) this.size = entries.length;
6236
+ state.updateURL();
6237
+ },
6238
+ // `URLSearchParams.prototype.sort` method
6239
+ // https://url.spec.whatwg.org/#dom-urlsearchparams-sort
6240
+ sort: function sort() {
6241
+ var state = getInternalParamsState(this);
6242
+ arraySort(state.entries, function (a, b) {
6243
+ return a.key > b.key ? 1 : -1;
6244
+ });
6245
+ state.updateURL();
6246
+ },
6247
+ // `URLSearchParams.prototype.forEach` method
6248
+ forEach: function forEach(callback /* , thisArg */) {
6249
+ var entries = getInternalParamsState(this).entries;
6250
+ var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);
6251
+ var index = 0;
6252
+ var entry;
6253
+ while (index < entries.length) {
6254
+ entry = entries[index++];
6255
+ boundFunction(entry.value, entry.key, this);
6256
+ }
6257
+ },
6258
+ // `URLSearchParams.prototype.keys` method
6259
+ keys: function keys() {
6260
+ return new URLSearchParamsIterator(this, 'keys');
6261
+ },
6262
+ // `URLSearchParams.prototype.values` method
6263
+ values: function values() {
6264
+ return new URLSearchParamsIterator(this, 'values');
6265
+ },
6266
+ // `URLSearchParams.prototype.entries` method
6267
+ entries: function entries() {
6268
+ return new URLSearchParamsIterator(this, 'entries');
6269
+ }
6270
+ }, { enumerable: true });
6271
+
6272
+ // `URLSearchParams.prototype[@@iterator]` method
6273
+ defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' });
6274
+
6275
+ // `URLSearchParams.prototype.toString` method
6276
+ // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior
6277
+ defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {
6278
+ return getInternalParamsState(this).serialize();
6279
+ }, { enumerable: true });
6280
+
6281
+ // `URLSearchParams.prototype.size` getter
6282
+ // https://github.com/whatwg/url/pull/734
6283
+ if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
6284
+ get: function size() {
6285
+ return getInternalParamsState(this).entries.length;
6286
+ },
6287
+ configurable: true,
6288
+ enumerable: true
6289
+ });
6290
+
6291
+ setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
4435
6292
 
6293
+ $({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
6294
+ URLSearchParams: URLSearchParamsConstructor
6295
+ });
4436
6296
 
4437
- /***/ }),
6297
+ // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
6298
+ if (!USE_NATIVE_URL && isCallable(Headers)) {
6299
+ var headersHas = uncurryThis(HeadersPrototype.has);
6300
+ var headersSet = uncurryThis(HeadersPrototype.set);
6301
+
6302
+ var wrapRequestOptions = function (init) {
6303
+ if (isObject(init)) {
6304
+ var body = init.body;
6305
+ var headers;
6306
+ if (classof(body) === URL_SEARCH_PARAMS) {
6307
+ headers = init.headers ? new Headers(init.headers) : new Headers();
6308
+ if (!headersHas(headers, 'content-type')) {
6309
+ headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');
6310
+ }
6311
+ return create(init, {
6312
+ body: createPropertyDescriptor(0, $toString(body)),
6313
+ headers: createPropertyDescriptor(0, headers)
6314
+ });
6315
+ }
6316
+ } return init;
6317
+ };
4438
6318
 
4439
- /***/ "390f":
4440
- /***/ (function(module, exports, __webpack_require__) {
6319
+ if (isCallable(nativeFetch)) {
6320
+ $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
6321
+ fetch: function fetch(input /* , init */) {
6322
+ return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
6323
+ }
6324
+ });
6325
+ }
4441
6326
 
4442
- "use strict";
6327
+ if (isCallable(NativeRequest)) {
6328
+ var RequestConstructor = function Request(input /* , init */) {
6329
+ anInstance(this, RequestPrototype);
6330
+ return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
6331
+ };
4443
6332
 
4444
- var DESCRIPTORS = __webpack_require__("6d80");
4445
- var IE8_DOM_DEFINE = __webpack_require__("b26e");
4446
- var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__("6535");
4447
- var anObject = __webpack_require__("1c13");
4448
- var toPropertyKey = __webpack_require__("a2f3");
6333
+ RequestPrototype.constructor = RequestConstructor;
6334
+ RequestConstructor.prototype = RequestPrototype;
4449
6335
 
4450
- var $TypeError = TypeError;
4451
- // eslint-disable-next-line es/no-object-defineproperty -- safe
4452
- var $defineProperty = Object.defineProperty;
4453
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4454
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
4455
- var ENUMERABLE = 'enumerable';
4456
- var CONFIGURABLE = 'configurable';
4457
- var WRITABLE = 'writable';
6336
+ $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
6337
+ Request: RequestConstructor
6338
+ });
6339
+ }
6340
+ }
4458
6341
 
4459
- // `Object.defineProperty` method
4460
- // https://tc39.es/ecma262/#sec-object.defineproperty
4461
- exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
4462
- anObject(O);
4463
- P = toPropertyKey(P);
4464
- anObject(Attributes);
4465
- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
4466
- var current = $getOwnPropertyDescriptor(O, P);
4467
- if (current && current[WRITABLE]) {
4468
- O[P] = Attributes.value;
4469
- Attributes = {
4470
- configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
4471
- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
4472
- writable: false
4473
- };
4474
- }
4475
- } return $defineProperty(O, P, Attributes);
4476
- } : $defineProperty : function defineProperty(O, P, Attributes) {
4477
- anObject(O);
4478
- P = toPropertyKey(P);
4479
- anObject(Attributes);
4480
- if (IE8_DOM_DEFINE) try {
4481
- return $defineProperty(O, P, Attributes);
4482
- } catch (error) { /* empty */ }
4483
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');
4484
- if ('value' in Attributes) O[P] = Attributes.value;
4485
- return O;
6342
+ module.exports = {
6343
+ URLSearchParams: URLSearchParamsConstructor,
6344
+ getState: getInternalParamsState
4486
6345
  };
4487
6346
 
4488
6347
 
4489
- /***/ }),
4490
-
4491
- /***/ "394a":
4492
- /***/ (function(module, exports, __webpack_require__) {
4493
-
4494
- // Imports
4495
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("ee2b");
4496
- exports = ___CSS_LOADER_API_IMPORT___(false);
4497
- // Module
4498
- exports.push([module.i, ".menu-wrapper .el-menu-item[data-v-651c378c]{position:relative}.menu-wrapper .el-menu-item .item-content[data-v-651c378c]{text-decoration:none;color:inherit;position:absolute;width:100%;height:100%;z-index:1;left:0;top:0;padding:inherit}.search-menu[data-v-651c378c]{color:red}", ""]);
4499
- // Exports
4500
- module.exports = exports;
4501
-
4502
-
4503
6348
  /***/ }),
4504
6349
 
4505
6350
  /***/ "3978":
@@ -4953,20 +6798,6 @@ if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {
4953
6798
  } catch (error) { /* empty */ }
4954
6799
 
4955
6800
 
4956
- /***/ }),
4957
-
4958
- /***/ "3d43":
4959
- /***/ (function(module, exports, __webpack_require__) {
4960
-
4961
- // Imports
4962
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("ee2b");
4963
- exports = ___CSS_LOADER_API_IMPORT___(false);
4964
- // Module
4965
- exports.push([module.i, ".is-select-menu>a{position:relative;color:#ffd04b!important}.is-select-menu:after{content:\"\";position:absolute;display:block;width:65%;height:3px;border-radius:10px;background:#ffd04b;bottom:0}", ""]);
4966
- // Exports
4967
- module.exports = exports;
4968
-
4969
-
4970
6801
  /***/ }),
4971
6802
 
4972
6803
  /***/ "3d53":
@@ -6441,17 +8272,6 @@ var ENVIRONMENT = __webpack_require__("66a0");
6441
8272
  module.exports = ENVIRONMENT === 'NODE';
6442
8273
 
6443
8274
 
6444
- /***/ }),
6445
-
6446
- /***/ "4a81":
6447
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6448
-
6449
- "use strict";
6450
- /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_2c11ecbe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("98b8");
6451
- /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_2c11ecbe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_2c11ecbe_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
6452
- /* unused harmony reexport * */
6453
-
6454
-
6455
8275
  /***/ }),
6456
8276
 
6457
8277
  /***/ "4b7b":
@@ -10619,6 +12439,25 @@ module.exports = __webpack_require__("2cd1");
10619
12439
  module.exports = false;
10620
12440
 
10621
12441
 
12442
+ /***/ }),
12443
+
12444
+ /***/ "628e":
12445
+ /***/ (function(module, exports, __webpack_require__) {
12446
+
12447
+ "use strict";
12448
+
12449
+ var $ = __webpack_require__("9ee3");
12450
+ var call = __webpack_require__("3e61");
12451
+
12452
+ // `URL.prototype.toJSON` method
12453
+ // https://url.spec.whatwg.org/#dom-url-tojson
12454
+ $({ target: 'URL', proto: true, enumerable: true }, {
12455
+ toJSON: function toJSON() {
12456
+ return call(URL.prototype.toString, this);
12457
+ }
12458
+ });
12459
+
12460
+
10622
12461
  /***/ }),
10623
12462
 
10624
12463
  /***/ "62d3":
@@ -12059,6 +13898,17 @@ module.exports = function (argument) {
12059
13898
  };
12060
13899
 
12061
13900
 
13901
+ /***/ }),
13902
+
13903
+ /***/ "6a88":
13904
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
13905
+
13906
+ "use strict";
13907
+ /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_047e9c1e_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2324");
13908
+ /* harmony import */ var _node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_047e9c1e_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_pnpm_vue_style_loader_4_1_3_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_pnpm_css_loader_3_6_0_webpack_4_47_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_pnpm_postcss_loader_3_0_0_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_pnpm_sass_loader_8_0_2_sass_1_57_1_webpack_4_47_0_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_pnpm_cache_loader_4_1_0_webpack_4_47_0_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_pnpm_vue_loader_15_11_1_vue_com_c18e9a749cc21ff970a79c65ca01237d_node_modules_vue_loader_lib_index_js_vue_loader_options_Menu_vue_vue_type_style_index_0_id_047e9c1e_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
13909
+ /* unused harmony reexport * */
13910
+
13911
+
12062
13912
  /***/ }),
12063
13913
 
12064
13914
  /***/ "6b2b":
@@ -12331,22 +14181,6 @@ exports.PopupManager = _popupManager2.default;
12331
14181
 
12332
14182
  /***/ }),
12333
14183
 
12334
- /***/ "6c79":
12335
- /***/ (function(module, exports, __webpack_require__) {
12336
-
12337
- // style-loader: Adds some css to the DOM by adding a <style> tag
12338
-
12339
- // load the styles
12340
- var content = __webpack_require__("394a");
12341
- if(content.__esModule) content = content.default;
12342
- if(typeof content === 'string') content = [[module.i, content, '']];
12343
- if(content.locals) module.exports = content.locals;
12344
- // add the styles to the DOM
12345
- var add = __webpack_require__("c69b").default
12346
- var update = add("37cf4338", content, true, {"sourceMap":false,"shadowMode":false});
12347
-
12348
- /***/ }),
12349
-
12350
14184
  /***/ "6d80":
12351
14185
  /***/ (function(module, exports, __webpack_require__) {
12352
14186
 
@@ -12516,6 +14350,35 @@ module.exports = function (object, key, value) {
12516
14350
  };
12517
14351
 
12518
14352
 
14353
+ /***/ }),
14354
+
14355
+ /***/ "6fef":
14356
+ /***/ (function(module, exports, __webpack_require__) {
14357
+
14358
+ "use strict";
14359
+
14360
+ var DESCRIPTORS = __webpack_require__("6d80");
14361
+ var uncurryThis = __webpack_require__("d74d");
14362
+ var defineBuiltInAccessor = __webpack_require__("4edf");
14363
+
14364
+ var URLSearchParamsPrototype = URLSearchParams.prototype;
14365
+ var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
14366
+
14367
+ // `URLSearchParams.prototype.size` getter
14368
+ // https://github.com/whatwg/url/pull/734
14369
+ if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) {
14370
+ defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
14371
+ get: function size() {
14372
+ var count = 0;
14373
+ forEach(this, function () { count++; });
14374
+ return count;
14375
+ },
14376
+ configurable: true,
14377
+ enumerable: true
14378
+ });
14379
+ }
14380
+
14381
+
12519
14382
  /***/ }),
12520
14383
 
12521
14384
  /***/ "70e7":
@@ -13256,8 +15119,8 @@ var Breadcrumb_component = normalizeComponent(
13256
15119
  )
13257
15120
 
13258
15121
  /* harmony default export */ var Breadcrumb = (Breadcrumb_component.exports);
13259
- // CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ee55318-vue-loader-template"}!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.28.5_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib??vue-loader-options!./src/components/Menu.vue?vue&type=template&id=2c11ecbe
13260
- var Menuvue_type_template_id_2c11ecbe_render = function render() {
15122
+ // CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ee55318-vue-loader-template"}!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.28.5_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib??vue-loader-options!./src/components/Menu.vue?vue&type=template&id=047e9c1e
15123
+ var Menuvue_type_template_id_047e9c1e_render = function render() {
13261
15124
  var _vm = this,
13262
15125
  _c = _vm._self._c;
13263
15126
  return _c('div', {
@@ -13307,16 +15170,158 @@ var Menuvue_type_template_id_2c11ecbe_render = function render() {
13307
15170
  });
13308
15171
  }), 1)], 1)], 1);
13309
15172
  };
13310
- var Menuvue_type_template_id_2c11ecbe_staticRenderFns = [];
15173
+ var Menuvue_type_template_id_047e9c1e_staticRenderFns = [];
13311
15174
 
13312
- // CONCATENATED MODULE: ./src/components/Menu.vue?vue&type=template&id=2c11ecbe
15175
+ // CONCATENATED MODULE: ./src/components/Menu.vue?vue&type=template&id=047e9c1e
13313
15176
 
13314
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.join.js
13315
- var es_array_join = __webpack_require__("e884");
15177
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
15178
+ function _arrayWithHoles(r) {
15179
+ if (Array.isArray(r)) return r;
15180
+ }
15181
+
15182
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.js
15183
+ var es_symbol = __webpack_require__("9ea1");
15184
+
15185
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.description.js
15186
+ var es_symbol_description = __webpack_require__("29c1");
15187
+
15188
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.iterator.js
15189
+ var es_symbol_iterator = __webpack_require__("1a0f");
15190
+
15191
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.string.iterator.js
15192
+ var es_string_iterator = __webpack_require__("0c4e");
15193
+
15194
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.dom-collections.iterator.js
15195
+ var web_dom_collections_iterator = __webpack_require__("3b40");
15196
+
15197
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
15198
+
15199
+
15200
+
15201
+
15202
+
15203
+
15204
+
15205
+
15206
+ function _iterableToArrayLimit(r, l) {
15207
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
15208
+ if (null != t) {
15209
+ var e,
15210
+ n,
15211
+ i,
15212
+ u,
15213
+ a = [],
15214
+ f = !0,
15215
+ o = !1;
15216
+ try {
15217
+ if (i = (t = t.call(r)).next, 0 === l) {
15218
+ if (Object(t) !== t) return;
15219
+ f = !1;
15220
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
15221
+ } catch (r) {
15222
+ o = !0, n = r;
15223
+ } finally {
15224
+ try {
15225
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
15226
+ } finally {
15227
+ if (o) throw n;
15228
+ }
15229
+ }
15230
+ return a;
15231
+ }
15232
+ }
15233
+
15234
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.from.js
15235
+ var es_array_from = __webpack_require__("2bc8");
13316
15236
 
13317
15237
  // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.slice.js
13318
15238
  var es_array_slice = __webpack_require__("e40a");
13319
15239
 
15240
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.exec.js
15241
+ var es_regexp_exec = __webpack_require__("c166");
15242
+
15243
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.test.js
15244
+ var es_regexp_test = __webpack_require__("28b9");
15245
+
15246
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.to-string.js
15247
+ var es_regexp_to_string = __webpack_require__("64dd");
15248
+
15249
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
15250
+ function _arrayLikeToArray(r, a) {
15251
+ (null == a || a > r.length) && (a = r.length);
15252
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
15253
+ return n;
15254
+ }
15255
+
15256
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
15257
+
15258
+
15259
+
15260
+
15261
+
15262
+
15263
+
15264
+
15265
+
15266
+ function _unsupportedIterableToArray(r, a) {
15267
+ if (r) {
15268
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
15269
+ var t = {}.toString.call(r).slice(8, -1);
15270
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
15271
+ }
15272
+ }
15273
+
15274
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
15275
+
15276
+ function _nonIterableRest() {
15277
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15278
+ }
15279
+
15280
+ // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
15281
+
15282
+
15283
+
15284
+
15285
+ function _slicedToArray(r, e) {
15286
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
15287
+ }
15288
+
15289
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.concat.js
15290
+ var es_array_concat = __webpack_require__("dfbe");
15291
+
15292
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.join.js
15293
+ var es_array_join = __webpack_require__("e884");
15294
+
15295
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.iterator.for-each.js
15296
+ var es_iterator_for_each = __webpack_require__("2029");
15297
+
15298
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.iterator.some.js
15299
+ var es_iterator_some = __webpack_require__("cb0a");
15300
+
15301
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.string.search.js
15302
+ var es_string_search = __webpack_require__("2283");
15303
+
15304
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.dom-collections.for-each.js
15305
+ var web_dom_collections_for_each = __webpack_require__("3185");
15306
+
15307
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url.js
15308
+ var web_url = __webpack_require__("c1be");
15309
+
15310
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url.to-json.js
15311
+ var web_url_to_json = __webpack_require__("628e");
15312
+
15313
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url-search-params.js
15314
+ var web_url_search_params = __webpack_require__("e7b2");
15315
+
15316
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url-search-params.delete.js
15317
+ var web_url_search_params_delete = __webpack_require__("cbea");
15318
+
15319
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url-search-params.has.js
15320
+ var web_url_search_params_has = __webpack_require__("3615");
15321
+
15322
+ // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.url-search-params.size.js
15323
+ var web_url_search_params_size = __webpack_require__("6fef");
15324
+
13320
15325
  // EXTERNAL MODULE: ./node_modules/.pnpm/element-ui@2.15.14_vue@2.7.16/node_modules/element-ui/lib/menu.js
13321
15326
  var menu = __webpack_require__("6a26");
13322
15327
  var menu_default = /*#__PURE__*/__webpack_require__.n(menu);
@@ -13327,13 +15332,10 @@ var theme_chalk_menu = __webpack_require__("104b");
13327
15332
  // EXTERNAL MODULE: ./package.json
13328
15333
  var package_0 = __webpack_require__("9224");
13329
15334
 
13330
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.concat.js
13331
- var es_array_concat = __webpack_require__("dfbe");
13332
-
13333
- // CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ee55318-vue-loader-template"}!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.28.5_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib??vue-loader-options!./src/components/MenuItem.vue?vue&type=template&id=651c378c&scoped=true
15335
+ // CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ee55318-vue-loader-template"}!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.28.5_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib??vue-loader-options!./src/components/MenuItem.vue?vue&type=template&id=6131c8da&scoped=true
13334
15336
 
13335
15337
 
13336
- var MenuItemvue_type_template_id_651c378c_scoped_true_render = function render() {
15338
+ var MenuItemvue_type_template_id_6131c8da_scoped_true_render = function render() {
13337
15339
  var _vm = this,
13338
15340
  _c = _vm._self._c;
13339
15341
  return _vm.item && _vm.item.submenu && _vm.item.submenu.length ? _c('div', {
@@ -13413,9 +15415,9 @@ var MenuItemvue_type_template_id_651c378c_scoped_true_render = function render()
13413
15415
  slot: "title"
13414
15416
  }, [_vm._v(_vm._s(_vm.item.name))])])], 1);
13415
15417
  };
13416
- var MenuItemvue_type_template_id_651c378c_scoped_true_staticRenderFns = [];
15418
+ var MenuItemvue_type_template_id_6131c8da_scoped_true_staticRenderFns = [];
13417
15419
 
13418
- // CONCATENATED MODULE: ./src/components/MenuItem.vue?vue&type=template&id=651c378c&scoped=true
15420
+ // CONCATENATED MODULE: ./src/components/MenuItem.vue?vue&type=template&id=6131c8da&scoped=true
13419
15421
 
13420
15422
  // EXTERNAL MODULE: ./node_modules/.pnpm/element-ui@2.15.14_vue@2.7.16/node_modules/element-ui/lib/submenu.js
13421
15423
  var submenu = __webpack_require__("5677");
@@ -13442,6 +15444,7 @@ var path_browserify_default = /*#__PURE__*/__webpack_require__.n(path_browserify
13442
15444
 
13443
15445
 
13444
15446
 
15447
+
13445
15448
  var NAMESPACE = 'admin-menu-v2';
13446
15449
  /* harmony default export */ var MenuItemvue_type_script_lang_js = ({
13447
15450
  name: 'menu-item',
@@ -13476,10 +15479,15 @@ var NAMESPACE = 'admin-menu-v2';
13476
15479
  },
13477
15480
  resolvePath: function resolvePath() {
13478
15481
  var url = path_browserify_default.a.resolve.apply(path_browserify_default.a, arguments);
13479
- return url.split('/').map(function (name) {
15482
+ // 分离 query 参数,只对 path 部分做首字母小写处理
15483
+ var _url$split = url.split('?'),
15484
+ _url$split2 = _slicedToArray(_url$split, 2),
15485
+ pathPart = _url$split2[0],
15486
+ queryPart = _url$split2[1];
15487
+ var normalizedPath = pathPart.split('/').map(function (name) {
13480
15488
  return name.slice(0, 1).toLowerCase() + name.slice(1);
13481
- }) // 首字母小写
13482
- .join('/');
15489
+ }).join('/');
15490
+ return queryPart ? "".concat(normalizedPath, "?").concat(queryPart) : normalizedPath;
13483
15491
  },
13484
15492
  handleItemClick: function handleItemClick(item) {
13485
15493
  this.jumpTo(item, false);
@@ -13534,8 +15542,8 @@ var NAMESPACE = 'admin-menu-v2';
13534
15542
  });
13535
15543
  // CONCATENATED MODULE: ./src/components/MenuItem.vue?vue&type=script&lang=js
13536
15544
  /* harmony default export */ var components_MenuItemvue_type_script_lang_js = (MenuItemvue_type_script_lang_js);
13537
- // EXTERNAL MODULE: ./src/components/MenuItem.vue?vue&type=style&index=0&id=651c378c&prod&scoped=true&lang=scss
13538
- var MenuItemvue_type_style_index_0_id_651c378c_prod_scoped_true_lang_scss = __webpack_require__("03da");
15545
+ // EXTERNAL MODULE: ./src/components/MenuItem.vue?vue&type=style&index=0&id=6131c8da&prod&scoped=true&lang=scss
15546
+ var MenuItemvue_type_style_index_0_id_6131c8da_prod_scoped_true_lang_scss = __webpack_require__("21ed");
13539
15547
 
13540
15548
  // CONCATENATED MODULE: ./src/components/MenuItem.vue
13541
15549
 
@@ -13548,11 +15556,11 @@ var MenuItemvue_type_style_index_0_id_651c378c_prod_scoped_true_lang_scss = __we
13548
15556
 
13549
15557
  var MenuItem_component = normalizeComponent(
13550
15558
  components_MenuItemvue_type_script_lang_js,
13551
- MenuItemvue_type_template_id_651c378c_scoped_true_render,
13552
- MenuItemvue_type_template_id_651c378c_scoped_true_staticRenderFns,
15559
+ MenuItemvue_type_template_id_6131c8da_scoped_true_render,
15560
+ MenuItemvue_type_template_id_6131c8da_scoped_true_staticRenderFns,
13553
15561
  false,
13554
15562
  null,
13555
- "651c378c",
15563
+ "6131c8da",
13556
15564
  null
13557
15565
 
13558
15566
  )
@@ -13632,12 +15640,6 @@ var Logo_component = normalizeComponent(
13632
15640
  )
13633
15641
 
13634
15642
  /* harmony default export */ var Logo = (Logo_component.exports);
13635
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.exec.js
13636
- var es_regexp_exec = __webpack_require__("c166");
13637
-
13638
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.string.search.js
13639
- var es_string_search = __webpack_require__("2283");
13640
-
13641
15643
  // CONCATENATED MODULE: ./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ee55318-vue-loader-template"}!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/.pnpm/babel-loader@8.4.1_@babel+core@7.28.5_webpack@4.47.0/node_modules/babel-loader/lib!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/.pnpm/cache-loader@4.1.0_webpack@4.47.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/.pnpm/vue-loader@15.11.1_@vue+com_c18e9a749cc21ff970a79c65ca01237d/node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchBar.vue?vue&type=template&id=7c4c84b7&scoped=true
13642
15644
 
13643
15645
 
@@ -13732,37 +15734,12 @@ var SearchBarvue_type_template_id_7c4c84b7_scoped_true_staticRenderFns = [];
13732
15734
 
13733
15735
  // CONCATENATED MODULE: ./src/components/SearchBar.vue?vue&type=template&id=7c4c84b7&scoped=true
13734
15736
 
13735
- // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
13736
- function _arrayLikeToArray(r, a) {
13737
- (null == a || a > r.length) && (a = r.length);
13738
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
13739
- return n;
13740
- }
13741
-
13742
15737
  // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
13743
15738
 
13744
15739
  function _arrayWithoutHoles(r) {
13745
15740
  if (Array.isArray(r)) return _arrayLikeToArray(r);
13746
15741
  }
13747
15742
 
13748
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.js
13749
- var es_symbol = __webpack_require__("9ea1");
13750
-
13751
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.description.js
13752
- var es_symbol_description = __webpack_require__("29c1");
13753
-
13754
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.symbol.iterator.js
13755
- var es_symbol_iterator = __webpack_require__("1a0f");
13756
-
13757
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.array.from.js
13758
- var es_array_from = __webpack_require__("2bc8");
13759
-
13760
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.string.iterator.js
13761
- var es_string_iterator = __webpack_require__("0c4e");
13762
-
13763
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.dom-collections.iterator.js
13764
- var web_dom_collections_iterator = __webpack_require__("3b40");
13765
-
13766
15743
  // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/iterableToArray.js
13767
15744
 
13768
15745
 
@@ -13775,30 +15752,6 @@ function _iterableToArray(r) {
13775
15752
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
13776
15753
  }
13777
15754
 
13778
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.test.js
13779
- var es_regexp_test = __webpack_require__("28b9");
13780
-
13781
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.regexp.to-string.js
13782
- var es_regexp_to_string = __webpack_require__("64dd");
13783
-
13784
- // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
13785
-
13786
-
13787
-
13788
-
13789
-
13790
-
13791
-
13792
-
13793
-
13794
- function _unsupportedIterableToArray(r, a) {
13795
- if (r) {
13796
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
13797
- var t = {}.toString.call(r).slice(8, -1);
13798
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
13799
- }
13800
- }
13801
-
13802
15755
  // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
13803
15756
 
13804
15757
  function _nonIterableSpread() {
@@ -13814,9 +15767,6 @@ function _toConsumableArray(r) {
13814
15767
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
13815
15768
  }
13816
15769
 
13817
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.iterator.for-each.js
13818
- var es_iterator_for_each = __webpack_require__("2029");
13819
-
13820
15770
  // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.object.get-own-property-descriptor.js
13821
15771
  var es_object_get_own_property_descriptor = __webpack_require__("76e9");
13822
15772
 
@@ -13826,9 +15776,6 @@ var es_object_get_own_property_descriptors = __webpack_require__("d91f");
13826
15776
  // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/es.object.keys.js
13827
15777
  var es_object_keys = __webpack_require__("4ed3");
13828
15778
 
13829
- // EXTERNAL MODULE: ./node_modules/.pnpm/core-js@3.47.0/node_modules/core-js/modules/web.dom-collections.for-each.js
13830
- var web_dom_collections_for_each = __webpack_require__("3185");
13831
-
13832
15779
  // CONCATENATED MODULE: ./node_modules/.pnpm/@babel+runtime@7.28.4/node_modules/@babel/runtime/helpers/esm/typeof.js
13833
15780
 
13834
15781
 
@@ -14342,6 +16289,23 @@ var SearchBar_component = normalizeComponent(
14342
16289
 
14343
16290
 
14344
16291
 
16292
+
16293
+
16294
+
16295
+
16296
+
16297
+
16298
+
16299
+
16300
+
16301
+
16302
+
16303
+
16304
+
16305
+
16306
+
16307
+
16308
+
14345
16309
 
14346
16310
 
14347
16311
 
@@ -14367,10 +16331,6 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14367
16331
  return [];
14368
16332
  }
14369
16333
  },
14370
- env: {
14371
- type: Number,
14372
- default: 1
14373
- },
14374
16334
  logoUrl: {
14375
16335
  type: String,
14376
16336
  default: ''
@@ -14390,6 +16350,21 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14390
16350
  computed: {
14391
16351
  defaultActive: function defaultActive() {
14392
16352
  return this.toLowerFirst(window.location.pathname);
16353
+ },
16354
+ // 扁平化菜单树,获取所有叶子菜单(缓存)
16355
+ flattenedMenuList: function flattenedMenuList() {
16356
+ var result = [];
16357
+ var _traverse = function traverse(menus) {
16358
+ menus.forEach(function (menu) {
16359
+ if (menu.submenu && menu.submenu.length) {
16360
+ _traverse(menu.submenu);
16361
+ } else {
16362
+ result.push(menu);
16363
+ }
16364
+ });
16365
+ };
16366
+ _traverse(this.menuList);
16367
+ return result;
14393
16368
  }
14394
16369
  },
14395
16370
  mounted: function mounted() {
@@ -14398,18 +16373,36 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14398
16373
  methods: {
14399
16374
  initDefaultActive: function initDefaultActive() {
14400
16375
  var _this = this;
14401
- this.defaultActiveStr = this.defaultActive;
16376
+ var currentPath = this.defaultActive;
16377
+ var currentFullPath = this.toLowerFirst(window.location.pathname + window.location.search);
16378
+
16379
+ // 优先尝试完整 URL 精确匹配,失败后降级到 path 匹配
16380
+ if (this.hasExactFullPathMatch(currentFullPath)) {
16381
+ this.defaultActiveStr = currentFullPath;
16382
+ } else if (this.hasPathMatch(currentPath)) {
16383
+ this.defaultActiveStr = currentPath;
16384
+ } else {
16385
+ this.defaultActiveStr = currentPath;
16386
+ }
14402
16387
  var checkActive = function checkActive() {
14403
16388
  var elMenu = _this.$refs.AdminMenu;
14404
- return elMenu.defaultActive && elMenu.activeIndex && elMenu.defaultActive === elMenu.activeIndex;
16389
+ return elMenu && elMenu.defaultActive && elMenu.activeIndex && elMenu.defaultActive === elMenu.activeIndex;
14405
16390
  };
14406
16391
  var tryMatchHash = function tryMatchHash() {
14407
16392
  var _window$location = window.location,
14408
16393
  pathname = _window$location.pathname,
14409
- hash = _window$location.hash;
14410
- var path = pathname + hash;
14411
- var finalPath = path.split('?')[0]; // hash值后面可能会带有查询参数?xxx=xxx,这里不需要查询参数
14412
- _this.defaultActiveStr = finalPath;
16394
+ hash = _window$location.hash,
16395
+ search = _window$location.search;
16396
+ var hashFullPath = _this.toLowerFirst(pathname + hash + search);
16397
+ var hashPath = _this.toLowerFirst((pathname + hash).split('?')[0]);
16398
+
16399
+ // 优先尝试完整 URL 精确匹配
16400
+ if (_this.hasExactFullPathMatch(hashFullPath)) {
16401
+ _this.defaultActiveStr = hashFullPath;
16402
+ } else if (_this.hasPathMatch(hashPath)) {
16403
+ _this.defaultActiveStr = hashPath;
16404
+ }
16405
+ return checkActive();
14413
16406
  };
14414
16407
  var fallbackToLastMenu = function fallbackToLastMenu() {
14415
16408
  // eslint-disable-next-line no-console
@@ -14421,25 +16414,26 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14421
16414
  };
14422
16415
  var rememberCurrentActiveMenu = function rememberCurrentActiveMenu() {
14423
16416
  var elMenu = _this.$refs.AdminMenu;
14424
- window.sessionStorage.setItem("".concat(Menuvue_type_script_lang_js_NAMESPACE, ":last-active-menu"), elMenu.activeIndex);
16417
+ if (elMenu && elMenu.activeIndex) {
16418
+ window.sessionStorage.setItem("".concat(Menuvue_type_script_lang_js_NAMESPACE, ":last-active-menu"), elMenu.activeIndex);
16419
+ }
14425
16420
  };
14426
-
14427
- // 判断是否使用新版侧边栏,测试用
14428
- // if (!window.localStorage.getItem('useNewSidebar')) return
14429
- setTimeout(function () {
14430
- if (!checkActive()) {
14431
- // 如果没有命中window.location.pathname,尝试是否可以命中window.location.pathname + hash
14432
- tryMatchHash();
14433
-
14434
- // 最后没有匹配中,锁定到上一次的菜单项
16421
+ this.$nextTick(function () {
16422
+ _this.$nextTick(function () {
14435
16423
  if (!checkActive()) {
14436
- fallbackToLastMenu();
16424
+ // 如果没有命中window.location.pathname,尝试是否可以命中window.location.pathname + hash
16425
+ tryMatchHash();
16426
+
16427
+ // 最后没有匹配中,锁定到上一次的菜单项
16428
+ if (!checkActive()) {
16429
+ fallbackToLastMenu();
16430
+ }
16431
+ } else {
16432
+ // 记住当前激活的菜单
16433
+ rememberCurrentActiveMenu();
14437
16434
  }
14438
- } else {
14439
- // 记住当前激活的菜单
14440
- rememberCurrentActiveMenu();
14441
- }
14442
- }, 800);
16435
+ });
16436
+ });
14443
16437
  },
14444
16438
  toLowerFirst: function toLowerFirst(val) {
14445
16439
  if (typeof val === 'string') {
@@ -14449,36 +16443,87 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14449
16443
  }
14450
16444
  return '';
14451
16445
  },
16446
+ // 解析菜单 URL 的完整路径(path + query)用于精确比较
16447
+ resolveMenuFullPath: function resolveMenuFullPath(url) {
16448
+ if (!url) return '';
16449
+ var normalized = url;
16450
+ if (/^(https?:)?\/\//.test(normalized)) {
16451
+ try {
16452
+ var parsed = new URL(normalized, window.location.origin);
16453
+ if (parsed.origin !== window.location.origin) return '';
16454
+ normalized = parsed.pathname + parsed.search;
16455
+ } catch (e) {
16456
+ return '';
16457
+ }
16458
+ } else if (normalized[0] !== '/') {
16459
+ normalized = '/' + normalized;
16460
+ }
16461
+ var _normalized$split = normalized.split('?'),
16462
+ _normalized$split2 = _slicedToArray(_normalized$split, 2),
16463
+ pathPart = _normalized$split2[0],
16464
+ queryPart = _normalized$split2[1];
16465
+ var normalizedPath = this.toLowerFirst(pathPart);
16466
+ return queryPart ? "".concat(normalizedPath, "?").concat(queryPart) : normalizedPath;
16467
+ },
16468
+ // 解析菜单 URL 的 path 部分(用于比较)
16469
+ resolveMenuPath: function resolveMenuPath(url) {
16470
+ if (!url) return '';
16471
+ var _url$split = url.split('?'),
16472
+ _url$split2 = _slicedToArray(_url$split, 1),
16473
+ pathPart = _url$split2[0];
16474
+ return this.toLowerFirst(pathPart);
16475
+ },
16476
+ // 检查是否有菜单完整匹配 targetFullPath
16477
+ hasExactFullPathMatch: function hasExactFullPathMatch(targetFullPath) {
16478
+ var _this2 = this;
16479
+ return this.flattenedMenuList.some(function (menu) {
16480
+ return _this2.resolveMenuFullPath(menu.url) === targetFullPath;
16481
+ });
16482
+ },
16483
+ // 检查是否有菜单 path 匹配(不含 query)
16484
+ hasPathMatch: function hasPathMatch(targetPath) {
16485
+ var _this3 = this;
16486
+ return this.flattenedMenuList.some(function (menu) {
16487
+ return _this3.resolveMenuPath(menu.url) === targetPath;
16488
+ });
16489
+ },
14452
16490
  openSubMenu: function openSubMenu(searchMenu) {
14453
16491
  if (this.currentSelectMenu) {
14454
- document.getElementsByClassName("search-item-".concat(this.currentSelectMenu))[0].classList.remove('is-select-menu');
16492
+ var prevEl = document.querySelector(".search-item-".concat(this.currentSelectMenu));
16493
+ if (prevEl) {
16494
+ prevEl.classList.remove('is-select-menu');
16495
+ }
14455
16496
  }
14456
16497
  this.currentSelectMenu = searchMenu.permit;
14457
- // 如果是有父级菜单才去打开
14458
- this.showActiveMenu(searchMenu.permit);
16498
+ // 先打开父菜单,再滚动到目标元素
14459
16499
  if (searchMenu.parentIndex) {
14460
16500
  this.$refs.AdminMenu.open(searchMenu.parentIndex);
14461
16501
  }
16502
+ this.showActiveMenu(searchMenu.permit);
14462
16503
  this.$nextTick(function () {
14463
- document.querySelector(".search-item-".concat(searchMenu.permit)).classList.add('is-select-menu');
16504
+ var curEl = document.querySelector(".search-item-".concat(searchMenu.permit));
16505
+ if (curEl) {
16506
+ curEl.classList.add('is-select-menu');
16507
+ }
14464
16508
  });
14465
16509
  },
14466
16510
  showActiveMenu: function showActiveMenu(id) {
14467
- var _this2 = this;
16511
+ var _this4 = this;
14468
16512
  var container = document.querySelector('.scrollbar-wrapper.el-scrollbar__wrap');
14469
16513
  var el = document.querySelector(".el-menu-item.search-item-".concat(id));
14470
- var hasScroll = false;
14471
- var _method = function method() {
14472
- if (!hasScroll) {
14473
- _this2.scrollIntoView(container, el);
14474
- hasScroll = true;
14475
- } else {
14476
- container.addEventListener('transitionend', _method);
14477
- }
16514
+ if (!container) return;
16515
+ var scrolled = false;
16516
+ var _doScroll = function doScroll() {
16517
+ if (scrolled) return;
16518
+ scrolled = true;
16519
+ _this4.scrollIntoView(container, el);
16520
+ container.removeEventListener('transitionend', _doScroll);
14478
16521
  };
14479
- container.addEventListener('transitionend', _method);
16522
+ container.addEventListener('transitionend', _doScroll);
16523
+ setTimeout(_doScroll, 100);
14480
16524
  },
14481
16525
  scrollIntoView: function scrollIntoView(container, selected) {
16526
+ if (!container) return;
14482
16527
  if (!selected) {
14483
16528
  container.scrollTop = 0;
14484
16529
  return;
@@ -14503,8 +16548,8 @@ var Menuvue_type_script_lang_js_NAMESPACE = 'admin-menu-v2';
14503
16548
  });
14504
16549
  // CONCATENATED MODULE: ./src/components/Menu.vue?vue&type=script&lang=js
14505
16550
  /* harmony default export */ var components_Menuvue_type_script_lang_js = (Menuvue_type_script_lang_js);
14506
- // EXTERNAL MODULE: ./src/components/Menu.vue?vue&type=style&index=0&id=2c11ecbe&prod&lang=scss
14507
- var Menuvue_type_style_index_0_id_2c11ecbe_prod_lang_scss = __webpack_require__("4a81");
16551
+ // EXTERNAL MODULE: ./src/components/Menu.vue?vue&type=style&index=0&id=047e9c1e&prod&lang=scss
16552
+ var Menuvue_type_style_index_0_id_047e9c1e_prod_lang_scss = __webpack_require__("6a88");
14508
16553
 
14509
16554
  // CONCATENATED MODULE: ./src/components/Menu.vue
14510
16555
 
@@ -14517,8 +16562,8 @@ var Menuvue_type_style_index_0_id_2c11ecbe_prod_lang_scss = __webpack_require__(
14517
16562
 
14518
16563
  var Menu_component = normalizeComponent(
14519
16564
  components_Menuvue_type_script_lang_js,
14520
- Menuvue_type_template_id_2c11ecbe_render,
14521
- Menuvue_type_template_id_2c11ecbe_staticRenderFns,
16565
+ Menuvue_type_template_id_047e9c1e_render,
16566
+ Menuvue_type_template_id_047e9c1e_staticRenderFns,
14522
16567
  false,
14523
16568
  null,
14524
16569
  null,
@@ -16711,7 +18756,7 @@ module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
16711
18756
  /***/ "9224":
16712
18757
  /***/ (function(module) {
16713
18758
 
16714
- module.exports = JSON.parse("{\"a\":\"2.5.5\"}");
18759
+ module.exports = JSON.parse("{\"a\":\"2.5.7\"}");
16715
18760
 
16716
18761
  /***/ }),
16717
18762
 
@@ -16884,6 +18929,56 @@ CancelToken.source = function source() {
16884
18929
  module.exports = CancelToken;
16885
18930
 
16886
18931
 
18932
+ /***/ }),
18933
+
18934
+ /***/ "94fa":
18935
+ /***/ (function(module, exports, __webpack_require__) {
18936
+
18937
+ "use strict";
18938
+
18939
+ var fails = __webpack_require__("78e6");
18940
+ var wellKnownSymbol = __webpack_require__("dabc");
18941
+ var DESCRIPTORS = __webpack_require__("6d80");
18942
+ var IS_PURE = __webpack_require__("6149");
18943
+
18944
+ var ITERATOR = wellKnownSymbol('iterator');
18945
+
18946
+ module.exports = !fails(function () {
18947
+ // eslint-disable-next-line unicorn/relative-url-style -- required for testing
18948
+ var url = new URL('b?a=1&b=2&c=3', 'https://a');
18949
+ var params = url.searchParams;
18950
+ var params2 = new URLSearchParams('a=1&a=2&b=3');
18951
+ var result = '';
18952
+ url.pathname = 'c%20d';
18953
+ params.forEach(function (value, key) {
18954
+ params['delete']('b');
18955
+ result += key + value;
18956
+ });
18957
+ params2['delete']('a', 2);
18958
+ // `undefined` case is a Chromium 117 bug
18959
+ // https://bugs.chromium.org/p/v8/issues/detail?id=14222
18960
+ params2['delete']('b', undefined);
18961
+ return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b')))
18962
+ || (!params.size && (IS_PURE || !DESCRIPTORS))
18963
+ || !params.sort
18964
+ || url.href !== 'https://a/c%20d?a=1&c=3'
18965
+ || params.get('c') !== '3'
18966
+ || String(new URLSearchParams('?a=1')) !== 'a=1'
18967
+ || !params[ITERATOR]
18968
+ // throws in Edge
18969
+ || new URL('https://a@b').username !== 'a'
18970
+ || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
18971
+ // not punycoded in Edge
18972
+ || new URL('https://тест').host !== 'xn--e1aybc'
18973
+ // not escaped in Chrome 62-
18974
+ || new URL('https://a#б').hash !== '#%D0%B1'
18975
+ // fails in Chrome 66-
18976
+ || result !== 'a1c3'
18977
+ // throws in Safari
18978
+ || new URL('https://x', undefined).host !== 'x';
18979
+ });
18980
+
18981
+
16887
18982
  /***/ }),
16888
18983
 
16889
18984
  /***/ "955c":
@@ -17383,22 +19478,6 @@ if (PATCH) {
17383
19478
  module.exports = patchedExec;
17384
19479
 
17385
19480
 
17386
- /***/ }),
17387
-
17388
- /***/ "98b8":
17389
- /***/ (function(module, exports, __webpack_require__) {
17390
-
17391
- // style-loader: Adds some css to the DOM by adding a <style> tag
17392
-
17393
- // load the styles
17394
- var content = __webpack_require__("3d43");
17395
- if(content.__esModule) content = content.default;
17396
- if(typeof content === 'string') content = [[module.i, content, '']];
17397
- if(content.locals) module.exports = content.locals;
17398
- // add the styles to the DOM
17399
- var add = __webpack_require__("c69b").default
17400
- var update = add("1a39aedf", content, true, {"sourceMap":false,"shadowMode":false});
17401
-
17402
19481
  /***/ }),
17403
19482
 
17404
19483
  /***/ "998b":
@@ -19304,6 +21383,22 @@ exports.default = function (target) {
19304
21383
 
19305
21384
  /***/ }),
19306
21385
 
21386
+ /***/ "c119":
21387
+ /***/ (function(module, exports, __webpack_require__) {
21388
+
21389
+ // style-loader: Adds some css to the DOM by adding a <style> tag
21390
+
21391
+ // load the styles
21392
+ var content = __webpack_require__("ca3e");
21393
+ if(content.__esModule) content = content.default;
21394
+ if(typeof content === 'string') content = [[module.i, content, '']];
21395
+ if(content.locals) module.exports = content.locals;
21396
+ // add the styles to the DOM
21397
+ var add = __webpack_require__("c69b").default
21398
+ var update = add("090cd23a", content, true, {"sourceMap":false,"shadowMode":false});
21399
+
21400
+ /***/ }),
21401
+
19307
21402
  /***/ "c154":
19308
21403
  /***/ (function(module, exports, __webpack_require__) {
19309
21404
 
@@ -19331,6 +21426,17 @@ $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
19331
21426
  });
19332
21427
 
19333
21428
 
21429
+ /***/ }),
21430
+
21431
+ /***/ "c1be":
21432
+ /***/ (function(module, exports, __webpack_require__) {
21433
+
21434
+ "use strict";
21435
+
21436
+ // TODO: Remove this module from `core-js@4` since it's replaced to module below
21437
+ __webpack_require__("186b");
21438
+
21439
+
19334
21440
  /***/ }),
19335
21441
 
19336
21442
  /***/ "c234":
@@ -20182,6 +22288,20 @@ module.exports = function (it) {
20182
22288
  };
20183
22289
 
20184
22290
 
22291
+ /***/ }),
22292
+
22293
+ /***/ "ca3e":
22294
+ /***/ (function(module, exports, __webpack_require__) {
22295
+
22296
+ // Imports
22297
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("ee2b");
22298
+ exports = ___CSS_LOADER_API_IMPORT___(false);
22299
+ // Module
22300
+ exports.push([module.i, ".menu-wrapper .el-menu-item[data-v-6131c8da]{position:relative}.menu-wrapper .el-menu-item .item-content[data-v-6131c8da]{text-decoration:none;color:inherit;position:absolute;width:100%;height:100%;z-index:1;left:0;top:0;padding:inherit}.search-menu[data-v-6131c8da]{color:red}", ""]);
22301
+ // Exports
22302
+ module.exports = exports;
22303
+
22304
+
20185
22305
  /***/ }),
20186
22306
 
20187
22307
  /***/ "ca73":
@@ -20511,6 +22631,46 @@ var substr = 'ab'.substr(-1) === 'b'
20511
22631
 
20512
22632
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("0418")))
20513
22633
 
22634
+ /***/ }),
22635
+
22636
+ /***/ "cb0a":
22637
+ /***/ (function(module, exports, __webpack_require__) {
22638
+
22639
+ "use strict";
22640
+
22641
+ var $ = __webpack_require__("9ee3");
22642
+ var call = __webpack_require__("3e61");
22643
+ var iterate = __webpack_require__("da56");
22644
+ var aCallable = __webpack_require__("f590");
22645
+ var anObject = __webpack_require__("1c13");
22646
+ var getIteratorDirect = __webpack_require__("a511");
22647
+ var iteratorClose = __webpack_require__("a1b4");
22648
+ var iteratorHelperWithoutClosingOnEarlyError = __webpack_require__("2a09");
22649
+
22650
+ var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
22651
+
22652
+ // `Iterator.prototype.some` method
22653
+ // https://tc39.es/ecma262/#sec-iterator.prototype.some
22654
+ $({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
22655
+ some: function some(predicate) {
22656
+ anObject(this);
22657
+ try {
22658
+ aCallable(predicate);
22659
+ } catch (error) {
22660
+ iteratorClose(this, 'throw', error);
22661
+ }
22662
+
22663
+ if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
22664
+
22665
+ var record = getIteratorDirect(this);
22666
+ var counter = 0;
22667
+ return iterate(record, function (value, stop) {
22668
+ if (predicate(value, counter++)) return stop();
22669
+ }, { IS_RECORD: true, INTERRUPTED: true }).stopped;
22670
+ }
22671
+ });
22672
+
22673
+
20514
22674
  /***/ }),
20515
22675
 
20516
22676
  /***/ "cba3":
@@ -20530,6 +22690,63 @@ defineWellKnownSymbol('toPrimitive');
20530
22690
  defineSymbolToPrimitive();
20531
22691
 
20532
22692
 
22693
+ /***/ }),
22694
+
22695
+ /***/ "cbea":
22696
+ /***/ (function(module, exports, __webpack_require__) {
22697
+
22698
+ "use strict";
22699
+
22700
+ var defineBuiltIn = __webpack_require__("78e5");
22701
+ var uncurryThis = __webpack_require__("d74d");
22702
+ var toString = __webpack_require__("9dad");
22703
+ var validateArgumentsLength = __webpack_require__("1346");
22704
+
22705
+ var $URLSearchParams = URLSearchParams;
22706
+ var URLSearchParamsPrototype = $URLSearchParams.prototype;
22707
+ var append = uncurryThis(URLSearchParamsPrototype.append);
22708
+ var $delete = uncurryThis(URLSearchParamsPrototype['delete']);
22709
+ var forEach = uncurryThis(URLSearchParamsPrototype.forEach);
22710
+ var push = uncurryThis([].push);
22711
+ var params = new $URLSearchParams('a=1&a=2&b=3');
22712
+
22713
+ params['delete']('a', 1);
22714
+ // `undefined` case is a Chromium 117 bug
22715
+ // https://bugs.chromium.org/p/v8/issues/detail?id=14222
22716
+ params['delete']('b', undefined);
22717
+
22718
+ if (params + '' !== 'a=2') {
22719
+ defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) {
22720
+ var length = arguments.length;
22721
+ var $value = length < 2 ? undefined : arguments[1];
22722
+ if (length && $value === undefined) return $delete(this, name);
22723
+ var entries = [];
22724
+ forEach(this, function (v, k) { // also validates `this`
22725
+ push(entries, { key: k, value: v });
22726
+ });
22727
+ validateArgumentsLength(length, 1);
22728
+ var key = toString(name);
22729
+ var value = toString($value);
22730
+ var index = 0;
22731
+ var dindex = 0;
22732
+ var found = false;
22733
+ var entriesLength = entries.length;
22734
+ var entry;
22735
+ while (index < entriesLength) {
22736
+ entry = entries[index++];
22737
+ if (found || entry.key === key) {
22738
+ found = true;
22739
+ $delete(this, entry.key);
22740
+ } else dindex++;
22741
+ }
22742
+ while (dindex < entriesLength) {
22743
+ entry = entries[dindex++];
22744
+ if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value);
22745
+ }
22746
+ }, { enumerable: true, unsafe: true });
22747
+ }
22748
+
22749
+
20533
22750
  /***/ }),
20534
22751
 
20535
22752
  /***/ "cc6e":
@@ -23043,6 +25260,17 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23043
25260
  }() : undefined);
23044
25261
 
23045
25262
 
25263
+ /***/ }),
25264
+
25265
+ /***/ "e7b2":
25266
+ /***/ (function(module, exports, __webpack_require__) {
25267
+
25268
+ "use strict";
25269
+
25270
+ // TODO: Remove this module from `core-js@4` since it's replaced to module below
25271
+ __webpack_require__("392f");
25272
+
25273
+
23046
25274
  /***/ }),
23047
25275
 
23048
25276
  /***/ "e7d4":
@@ -23276,6 +25504,20 @@ module.exports = fails(function () {
23276
25504
  });
23277
25505
 
23278
25506
 
25507
+ /***/ }),
25508
+
25509
+ /***/ "eda4":
25510
+ /***/ (function(module, exports, __webpack_require__) {
25511
+
25512
+ // Imports
25513
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("ee2b");
25514
+ exports = ___CSS_LOADER_API_IMPORT___(false);
25515
+ // Module
25516
+ exports.push([module.i, ".is-select-menu>a{position:relative;color:#ffd04b!important}.is-select-menu:after{content:\"\";position:absolute;display:block;width:65%;height:3px;border-radius:10px;background:#ffd04b;bottom:0}", ""]);
25517
+ // Exports
25518
+ module.exports = exports;
25519
+
25520
+
23279
25521
  /***/ }),
23280
25522
 
23281
25523
  /***/ "ee2b":