prettier 3.1.2 → 3.2.1

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.
@@ -381,10 +381,10 @@ var require_shared = __commonJS({
381
381
  (module2.exports = function(key, value) {
382
382
  return store[key] || (store[key] = value !== void 0 ? value : {});
383
383
  })("versions", []).push({
384
- version: "3.21.1",
384
+ version: "3.22.2",
385
385
  mode: IS_PURE ? "pure" : "global",
386
386
  copyright: "\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",
387
- license: "https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",
387
+ license: "https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",
388
388
  source: "https://github.com/zloirock/core-js"
389
389
  });
390
390
  }
@@ -1511,7 +1511,7 @@ var require_es_array_flat = __commonJS({
1511
1511
  }
1512
1512
  });
1513
1513
 
1514
- // dist/index.js
1514
+ // dist/_index.js.cjs.js
1515
1515
  var _excluded = ["cliName", "cliCategory", "cliDescription"];
1516
1516
  var _excluded2 = ["_"];
1517
1517
  var _excluded3 = ["overrides"];
@@ -1551,9 +1551,11 @@ function _objectWithoutPropertiesLoose(source, excluded) {
1551
1551
  require_es_array_flat_map();
1552
1552
  require_es_object_from_entries();
1553
1553
  require_es_array_flat();
1554
+ var __create = Object.create;
1554
1555
  var __defProp = Object.defineProperty;
1555
1556
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
1556
1557
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
1558
+ var __getProtoOf = Object.getPrototypeOf;
1557
1559
  var __hasOwnProp = Object.prototype.hasOwnProperty;
1558
1560
  var __esm = (fn, res) => function __init() {
1559
1561
  return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
@@ -1581,6 +1583,10 @@ var __copyProps = (to, from, except, desc) => {
1581
1583
  }
1582
1584
  return to;
1583
1585
  };
1586
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
1587
+ value: mod,
1588
+ enumerable: true
1589
+ }) : target, mod));
1584
1590
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", {
1585
1591
  value: true
1586
1592
  }), mod);
@@ -1808,44 +1814,18 @@ var require_array = __commonJS2({
1808
1814
  }
1809
1815
  }
1810
1816
  });
1811
- var require_escape_string_regexp = __commonJS2({
1812
- "vendors/escape-string-regexp.js"(exports2, module2) {
1813
- var __defProp2 = Object.defineProperty;
1814
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
1815
- var __getOwnPropNames22 = Object.getOwnPropertyNames;
1816
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1817
- var __export2 = (target, all) => {
1818
- for (var name in all)
1819
- __defProp2(target, name, {
1820
- get: all[name],
1821
- enumerable: true
1822
- });
1823
- };
1824
- var __copyProps2 = (to, from, except, desc) => {
1825
- if (from && typeof from === "object" || typeof from === "function") {
1826
- for (let key of __getOwnPropNames22(from))
1827
- if (!__hasOwnProp2.call(to, key) && key !== except)
1828
- __defProp2(to, key, {
1829
- get: () => from[key],
1830
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
1831
- });
1832
- }
1833
- return to;
1834
- };
1835
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", {
1836
- value: true
1837
- }), mod);
1838
- var escape_string_regexp_exports = {};
1839
- __export2(escape_string_regexp_exports, {
1840
- default: () => escapeStringRegexp
1841
- });
1842
- module2.exports = __toCommonJS2(escape_string_regexp_exports);
1843
- function escapeStringRegexp(string) {
1844
- if (typeof string !== "string") {
1845
- throw new TypeError("Expected a string");
1846
- }
1847
- return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
1848
- }
1817
+ var escape_string_regexp_exports = {};
1818
+ __export(escape_string_regexp_exports, {
1819
+ default: () => escapeStringRegexp
1820
+ });
1821
+ function escapeStringRegexp(string) {
1822
+ if (typeof string !== "string") {
1823
+ throw new TypeError("Expected a string");
1824
+ }
1825
+ return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
1826
+ }
1827
+ var init_escape_string_regexp = __esm({
1828
+ "node_modules/escape-string-regexp/index.js"() {
1849
1829
  }
1850
1830
  });
1851
1831
  var require_get_last = __commonJS2({
@@ -1889,7 +1869,7 @@ var require_re = __commonJS2({
1889
1869
  var R = 0;
1890
1870
  var createToken = (name, value, isGlobal) => {
1891
1871
  const index = R++;
1892
- debug(index, value);
1872
+ debug(name, index, value);
1893
1873
  t[name] = index;
1894
1874
  src[index] = value;
1895
1875
  re[index] = new RegExp(value, isGlobal ? "g" : void 0);
@@ -1935,8 +1915,8 @@ var require_re = __commonJS2({
1935
1915
  createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
1936
1916
  createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
1937
1917
  createToken("STAR", "(<|>)?=?\\s*\\*");
1938
- createToken("GTE0", "^\\s*>=\\s*0.0.0\\s*$");
1939
- createToken("GTE0PRE", "^\\s*>=\\s*0.0.0-0\\s*$");
1918
+ createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
1919
+ createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
1940
1920
  }
1941
1921
  });
1942
1922
  var require_parse_options = __commonJS2({
@@ -1944,9 +1924,9 @@ var require_parse_options = __commonJS2({
1944
1924
  var opts = ["includePrerelease", "loose", "rtl"];
1945
1925
  var parseOptions = (options) => !options ? {} : typeof options !== "object" ? {
1946
1926
  loose: true
1947
- } : opts.filter((k) => options[k]).reduce((options2, k) => {
1948
- options2[k] = true;
1949
- return options2;
1927
+ } : opts.filter((k) => options[k]).reduce((o, k) => {
1928
+ o[k] = true;
1929
+ return o;
1950
1930
  }, {});
1951
1931
  module2.exports = parseOptions;
1952
1932
  }
@@ -2180,7 +2160,7 @@ var require_semver = __commonJS2({
2180
2160
  }
2181
2161
  }
2182
2162
  if (identifier) {
2183
- if (this.prerelease[0] === identifier) {
2163
+ if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
2184
2164
  if (isNaN(this.prerelease[1])) {
2185
2165
  this.prerelease = [identifier, 0];
2186
2166
  }
@@ -2784,107 +2764,86 @@ var require_is_non_empty_array = __commonJS2({
2784
2764
  module2.exports = isNonEmptyArray;
2785
2765
  }
2786
2766
  });
2787
- var require_string_width = __commonJS2({
2788
- "vendors/string-width.js"(exports2, module2) {
2789
- var __create = Object.create;
2790
- var __defProp2 = Object.defineProperty;
2791
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
2792
- var __getOwnPropNames22 = Object.getOwnPropertyNames;
2793
- var __getProtoOf = Object.getPrototypeOf;
2794
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
2795
- var __commonJS22 = (cb, mod) => function __require() {
2796
- return mod || (0, cb[__getOwnPropNames22(cb)[0]])((mod = {
2797
- exports: {}
2798
- }).exports, mod), mod.exports;
2799
- };
2800
- var __export2 = (target, all) => {
2801
- for (var name in all)
2802
- __defProp2(target, name, {
2803
- get: all[name],
2804
- enumerable: true
2805
- });
2806
- };
2807
- var __copyProps2 = (to, from, except, desc) => {
2808
- if (from && typeof from === "object" || typeof from === "function") {
2809
- for (let key of __getOwnPropNames22(from))
2810
- if (!__hasOwnProp2.call(to, key) && key !== except)
2811
- __defProp2(to, key, {
2812
- get: () => from[key],
2813
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
2814
- });
2815
- }
2816
- return to;
2767
+ function ansiRegex({
2768
+ onlyFirst = false
2769
+ } = {}) {
2770
+ const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
2771
+ return new RegExp(pattern, onlyFirst ? void 0 : "g");
2772
+ }
2773
+ var init_ansi_regex = __esm({
2774
+ "node_modules/strip-ansi/node_modules/ansi-regex/index.js"() {
2775
+ }
2776
+ });
2777
+ function stripAnsi(string) {
2778
+ if (typeof string !== "string") {
2779
+ throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
2780
+ }
2781
+ return string.replace(ansiRegex(), "");
2782
+ }
2783
+ var init_strip_ansi = __esm({
2784
+ "node_modules/strip-ansi/index.js"() {
2785
+ init_ansi_regex();
2786
+ }
2787
+ });
2788
+ function isFullwidthCodePoint(codePoint) {
2789
+ if (!Number.isInteger(codePoint)) {
2790
+ return false;
2791
+ }
2792
+ return codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141);
2793
+ }
2794
+ var init_is_fullwidth_code_point = __esm({
2795
+ "node_modules/is-fullwidth-code-point/index.js"() {
2796
+ }
2797
+ });
2798
+ var require_emoji_regex = __commonJS2({
2799
+ "node_modules/emoji-regex/index.js"(exports2, module2) {
2800
+ "use strict";
2801
+ module2.exports = function() {
2802
+ return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
2817
2803
  };
2818
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps2(isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
2819
- value: mod,
2820
- enumerable: true
2821
- }) : target, mod));
2822
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", {
2823
- value: true
2824
- }), mod);
2825
- var require_emoji_regex = __commonJS22({
2826
- "node_modules/emoji-regex/index.js"(exports3, module22) {
2827
- "use strict";
2828
- module22.exports = function() {
2829
- return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
2830
- };
2831
- }
2832
- });
2833
- var string_width_exports = {};
2834
- __export2(string_width_exports, {
2835
- default: () => stringWidth
2836
- });
2837
- module2.exports = __toCommonJS2(string_width_exports);
2838
- function ansiRegex({
2839
- onlyFirst = false
2840
- } = {}) {
2841
- const pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");
2842
- return new RegExp(pattern, onlyFirst ? void 0 : "g");
2843
- }
2844
- function stripAnsi(string) {
2845
- if (typeof string !== "string") {
2846
- throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
2847
- }
2848
- return string.replace(ansiRegex(), "");
2804
+ }
2805
+ });
2806
+ var string_width_exports = {};
2807
+ __export(string_width_exports, {
2808
+ default: () => stringWidth
2809
+ });
2810
+ function stringWidth(string) {
2811
+ if (typeof string !== "string" || string.length === 0) {
2812
+ return 0;
2813
+ }
2814
+ string = stripAnsi(string);
2815
+ if (string.length === 0) {
2816
+ return 0;
2817
+ }
2818
+ string = string.replace((0, import_emoji_regex.default)(), " ");
2819
+ let width = 0;
2820
+ for (let index = 0; index < string.length; index++) {
2821
+ const codePoint = string.codePointAt(index);
2822
+ if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
2823
+ continue;
2849
2824
  }
2850
- function isFullwidthCodePoint(codePoint) {
2851
- if (!Number.isInteger(codePoint)) {
2852
- return false;
2853
- }
2854
- return codePoint >= 4352 && (codePoint <= 4447 || codePoint === 9001 || codePoint === 9002 || 11904 <= codePoint && codePoint <= 12871 && codePoint !== 12351 || 12880 <= codePoint && codePoint <= 19903 || 19968 <= codePoint && codePoint <= 42182 || 43360 <= codePoint && codePoint <= 43388 || 44032 <= codePoint && codePoint <= 55203 || 63744 <= codePoint && codePoint <= 64255 || 65040 <= codePoint && codePoint <= 65049 || 65072 <= codePoint && codePoint <= 65131 || 65281 <= codePoint && codePoint <= 65376 || 65504 <= codePoint && codePoint <= 65510 || 110592 <= codePoint && codePoint <= 110593 || 127488 <= codePoint && codePoint <= 127569 || 131072 <= codePoint && codePoint <= 262141);
2825
+ if (codePoint >= 768 && codePoint <= 879) {
2826
+ continue;
2855
2827
  }
2856
- var import_emoji_regex = __toESM(require_emoji_regex(), 1);
2857
- function stringWidth(string) {
2858
- if (typeof string !== "string" || string.length === 0) {
2859
- return 0;
2860
- }
2861
- string = stripAnsi(string);
2862
- if (string.length === 0) {
2863
- return 0;
2864
- }
2865
- string = string.replace((0, import_emoji_regex.default)(), " ");
2866
- let width = 0;
2867
- for (let index = 0; index < string.length; index++) {
2868
- const codePoint = string.codePointAt(index);
2869
- if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
2870
- continue;
2871
- }
2872
- if (codePoint >= 768 && codePoint <= 879) {
2873
- continue;
2874
- }
2875
- if (codePoint > 65535) {
2876
- index++;
2877
- }
2878
- width += isFullwidthCodePoint(codePoint) ? 2 : 1;
2879
- }
2880
- return width;
2828
+ if (codePoint > 65535) {
2829
+ index++;
2881
2830
  }
2831
+ width += isFullwidthCodePoint(codePoint) ? 2 : 1;
2832
+ }
2833
+ return width;
2834
+ }
2835
+ var import_emoji_regex;
2836
+ var init_string_width = __esm({
2837
+ "node_modules/string-width/index.js"() {
2838
+ init_strip_ansi();
2839
+ init_is_fullwidth_code_point();
2840
+ import_emoji_regex = __toESM(require_emoji_regex());
2882
2841
  }
2883
2842
  });
2884
2843
  var require_get_string_width = __commonJS2({
2885
2844
  "src/utils/get-string-width.js"(exports2, module2) {
2886
2845
  "use strict";
2887
- var stringWidth = require_string_width().default;
2846
+ var stringWidth2 = (init_string_width(), __toCommonJS(string_width_exports)).default;
2888
2847
  var notAsciiRegex = /[^\x20-\x7F]/;
2889
2848
  function getStringWidth(text) {
2890
2849
  if (!text) {
@@ -2893,7 +2852,7 @@ var require_get_string_width = __commonJS2({
2893
2852
  if (!notAsciiRegex.test(text)) {
2894
2853
  return text.length;
2895
2854
  }
2896
- return stringWidth(text);
2855
+ return stringWidth2(text);
2897
2856
  }
2898
2857
  module2.exports = getStringWidth;
2899
2858
  }
@@ -3034,8 +2993,8 @@ var require_util = __commonJS2({
3034
2993
  "src/common/util.js"(exports2, module2) {
3035
2994
  "use strict";
3036
2995
  var {
3037
- default: escapeStringRegexp
3038
- } = require_escape_string_regexp();
2996
+ default: escapeStringRegexp2
2997
+ } = (init_escape_string_regexp(), __toCommonJS(escape_string_regexp_exports));
3039
2998
  var getLast = require_get_last();
3040
2999
  var {
3041
3000
  getSupportInfo: getSupportInfo2
@@ -3200,14 +3159,14 @@ var require_util = __commonJS2({
3200
3159
  return rawNumber.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/, "$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/, "$1").replace(/^([+-])?\./, "$10.").replace(/(\.\d+?)0+(?=e|$)/, "$1").replace(/\.(?=e|$)/, "");
3201
3160
  }
3202
3161
  function getMaxContinuousCount(str, target) {
3203
- const results = str.match(new RegExp(`(${escapeStringRegexp(target)})+`, "g"));
3162
+ const results = str.match(new RegExp(`(${escapeStringRegexp2(target)})+`, "g"));
3204
3163
  if (results === null) {
3205
3164
  return 0;
3206
3165
  }
3207
3166
  return results.reduce((maxCount, result) => Math.max(maxCount, result.length / target.length), 0);
3208
3167
  }
3209
3168
  function getMinNotPresentContinuousCount(str, target) {
3210
- const matches = str.match(new RegExp(`(${escapeStringRegexp(target)})+`, "g"));
3169
+ const matches = str.match(new RegExp(`(${escapeStringRegexp2(target)})+`, "g"));
3211
3170
  if (matches === null) {
3212
3171
  return 0;
3213
3172
  }
@@ -3823,7 +3782,7 @@ var require_descriptors2 = __commonJS2({
3823
3782
  tslib_1.__exportStar(require_api(), exports2);
3824
3783
  }
3825
3784
  });
3826
- var require_escape_string_regexp2 = __commonJS2({
3785
+ var require_escape_string_regexp = __commonJS2({
3827
3786
  "node_modules/vnopts/node_modules/escape-string-regexp/index.js"(exports2, module2) {
3828
3787
  "use strict";
3829
3788
  var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
@@ -5216,7 +5175,7 @@ var require_templates = __commonJS2({
5216
5175
  var require_chalk = __commonJS2({
5217
5176
  "node_modules/vnopts/node_modules/chalk/index.js"(exports2, module2) {
5218
5177
  "use strict";
5219
- var escapeStringRegexp = require_escape_string_regexp2();
5178
+ var escapeStringRegexp2 = require_escape_string_regexp();
5220
5179
  var ansiStyles = require_ansi_styles();
5221
5180
  var stdoutColor = require_supports_color().stdout;
5222
5181
  var template = require_templates();
@@ -5249,7 +5208,7 @@ var require_chalk = __commonJS2({
5249
5208
  ansiStyles.blue.open = "\x1B[94m";
5250
5209
  }
5251
5210
  for (const key of Object.keys(ansiStyles)) {
5252
- ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), "g");
5211
+ ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g");
5253
5212
  styles[key] = {
5254
5213
  get() {
5255
5214
  const codes = ansiStyles[key];
@@ -5262,7 +5221,7 @@ var require_chalk = __commonJS2({
5262
5221
  return build.call(this, this._styles || [], true, "visible");
5263
5222
  }
5264
5223
  };
5265
- ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), "g");
5224
+ ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g");
5266
5225
  for (const model of Object.keys(ansiStyles.color.ansi)) {
5267
5226
  if (skipModels.has(model)) {
5268
5227
  continue;
@@ -5282,7 +5241,7 @@ var require_chalk = __commonJS2({
5282
5241
  }
5283
5242
  };
5284
5243
  }
5285
- ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), "g");
5244
+ ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g");
5286
5245
  for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
5287
5246
  if (skipModels.has(model)) {
5288
5247
  continue;
@@ -6226,11 +6185,11 @@ var require_options_normalizer = __commonJS2({
6226
6185
  };
6227
6186
  var hasDeprecationWarned;
6228
6187
  function normalizeOptions(options, optionInfos, {
6229
- logger,
6188
+ logger = false,
6230
6189
  isCLI = false,
6231
6190
  passThrough = false,
6232
- colorsModule,
6233
- levenshteinDistance
6191
+ colorsModule = null,
6192
+ levenshteinDistance = null
6234
6193
  } = {}) {
6235
6194
  const unknown = !passThrough ? (key, value, options2) => {
6236
6195
  const _options2$schemas = options2.schemas, {
@@ -6334,7 +6293,7 @@ var require_options_normalizer = __commonJS2({
6334
6293
  case "int":
6335
6294
  SchemaConstructor = vnopts.IntegerSchema;
6336
6295
  if (isCLI) {
6337
- parameters.preprocess = (value) => Number(value);
6296
+ parameters.preprocess = Number;
6338
6297
  }
6339
6298
  break;
6340
6299
  case "string":
@@ -6453,6 +6412,32 @@ var require_loc = __commonJS2({
6453
6412
  };
6454
6413
  }
6455
6414
  });
6415
+ var require_load_parser = __commonJS2({
6416
+ "src/main/load-parser.js"(exports2, module2) {
6417
+ "use strict";
6418
+ var path = require("path");
6419
+ var {
6420
+ ConfigError
6421
+ } = require_errors();
6422
+ var {
6423
+ locStart,
6424
+ locEnd
6425
+ } = require_loc();
6426
+ function requireParser(parser) {
6427
+ try {
6428
+ return {
6429
+ parse: require(path.resolve(process.cwd(), parser)),
6430
+ astFormat: "estree",
6431
+ locStart,
6432
+ locEnd
6433
+ };
6434
+ } catch {
6435
+ throw new ConfigError(`Couldn't resolve parser "${parser}"`);
6436
+ }
6437
+ }
6438
+ module2.exports = requireParser;
6439
+ }
6440
+ });
6456
6441
  var require_js_tokens = __commonJS2({
6457
6442
  "node_modules/js-tokens/index.js"(exports2) {
6458
6443
  Object.defineProperty(exports2, "__esModule", {
@@ -6662,7 +6647,7 @@ var require_lib3 = __commonJS2({
6662
6647
  var _keyword = require_keyword();
6663
6648
  }
6664
6649
  });
6665
- var require_escape_string_regexp3 = __commonJS2({
6650
+ var require_escape_string_regexp2 = __commonJS2({
6666
6651
  "node_modules/@babel/highlight/node_modules/escape-string-regexp/index.js"(exports2, module2) {
6667
6652
  "use strict";
6668
6653
  var matchOperatorsRe = /[|\\{}()[\]^$+*?.]/g;
@@ -6883,7 +6868,7 @@ var require_templates2 = __commonJS2({
6883
6868
  var require_chalk2 = __commonJS2({
6884
6869
  "node_modules/@babel/highlight/node_modules/chalk/index.js"(exports2, module2) {
6885
6870
  "use strict";
6886
- var escapeStringRegexp = require_escape_string_regexp3();
6871
+ var escapeStringRegexp2 = require_escape_string_regexp2();
6887
6872
  var ansiStyles = require_ansi_styles();
6888
6873
  var stdoutColor = require_supports_color2().stdout;
6889
6874
  var template = require_templates2();
@@ -6916,7 +6901,7 @@ var require_chalk2 = __commonJS2({
6916
6901
  ansiStyles.blue.open = "\x1B[94m";
6917
6902
  }
6918
6903
  for (const key of Object.keys(ansiStyles)) {
6919
- ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), "g");
6904
+ ansiStyles[key].closeRe = new RegExp(escapeStringRegexp2(ansiStyles[key].close), "g");
6920
6905
  styles[key] = {
6921
6906
  get() {
6922
6907
  const codes = ansiStyles[key];
@@ -6929,7 +6914,7 @@ var require_chalk2 = __commonJS2({
6929
6914
  return build.call(this, this._styles || [], true, "visible");
6930
6915
  }
6931
6916
  };
6932
- ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), "g");
6917
+ ansiStyles.color.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.color.close), "g");
6933
6918
  for (const model of Object.keys(ansiStyles.color.ansi)) {
6934
6919
  if (skipModels.has(model)) {
6935
6920
  continue;
@@ -6949,7 +6934,7 @@ var require_chalk2 = __commonJS2({
6949
6934
  }
6950
6935
  };
6951
6936
  }
6952
- ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), "g");
6937
+ ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp2(ansiStyles.bgColor.close), "g");
6953
6938
  for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
6954
6939
  if (skipModels.has(model)) {
6955
6940
  continue;
@@ -7289,11 +7274,11 @@ ${frame}`;
7289
7274
  var require_parser = __commonJS2({
7290
7275
  "src/main/parser.js"(exports2, module2) {
7291
7276
  "use strict";
7292
- var path = require("path");
7293
7277
  var {
7294
7278
  ConfigError
7295
7279
  } = require_errors();
7296
7280
  var jsLoc = require_loc();
7281
+ var loadParser = require_load_parser();
7297
7282
  var {
7298
7283
  locStart,
7299
7284
  locEnd
@@ -7328,19 +7313,7 @@ var require_parser = __commonJS2({
7328
7313
  if (false) {
7329
7314
  throw new ConfigError(`Couldn't resolve parser "${opts.parser}". Parsers must be explicitly added to the standalone bundle.`);
7330
7315
  }
7331
- return requireParser(opts.parser);
7332
- }
7333
- }
7334
- function requireParser(parser) {
7335
- try {
7336
- return {
7337
- parse: require(path.resolve(process.cwd(), parser)),
7338
- astFormat: "estree",
7339
- locStart,
7340
- locEnd
7341
- };
7342
- } catch {
7343
- throw new ConfigError(`Couldn't resolve parser "${parser}"`);
7316
+ return loadParser(opts.parser);
7344
7317
  }
7345
7318
  }
7346
7319
  function parse(text, opts) {
@@ -7825,7 +7798,7 @@ var require_comments = __commonJS2({
7825
7798
  ast: ast2,
7826
7799
  isLastComment
7827
7800
  } = context;
7828
- if (options2.parser === "json" || options2.parser === "json5" || options2.parser === "__js_expression" || options2.parser === "__vue_expression") {
7801
+ if (options2.parser === "json" || options2.parser === "json5" || options2.parser === "__js_expression" || options2.parser === "__vue_expression" || options2.parser === "__vue_ts_expression") {
7829
7802
  if (locStart(comment) - locStart(ast2) <= 0) {
7830
7803
  addLeadingComment(ast2, comment);
7831
7804
  continue;
@@ -14574,6 +14547,19 @@ ${error.message}`;
14574
14547
  };
14575
14548
  }
14576
14549
  });
14550
+ var require_partition = __commonJS2({
14551
+ "src/utils/partition.js"(exports2, module2) {
14552
+ "use strict";
14553
+ function partition(array, predicate) {
14554
+ const result = [[], []];
14555
+ for (const value of array) {
14556
+ result[predicate(value) ? 0 : 1].push(value);
14557
+ }
14558
+ return result;
14559
+ }
14560
+ module2.exports = partition;
14561
+ }
14562
+ });
14577
14563
  var require_homedir = __commonJS2({
14578
14564
  "node_modules/resolve/lib/homedir.js"(exports2, module2) {
14579
14565
  "use strict";
@@ -15747,190 +15733,29 @@ var require_resolve2 = __commonJS2({
15747
15733
  module2.exports = resolve;
15748
15734
  }
15749
15735
  });
15750
- var require_mem = __commonJS2({
15751
- "vendors/mem.js"(exports2, module2) {
15752
- var __create = Object.create;
15753
- var __defProp2 = Object.defineProperty;
15754
- var __defProps = Object.defineProperties;
15755
- var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
15756
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
15757
- var __getOwnPropNames22 = Object.getOwnPropertyNames;
15758
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
15759
- var __getProtoOf = Object.getPrototypeOf;
15760
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
15761
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
15762
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, {
15763
- enumerable: true,
15764
- configurable: true,
15765
- writable: true,
15766
- value
15767
- }) : obj[key] = value;
15768
- var __spreadValues = (a, b) => {
15769
- for (var prop in b || (b = {}))
15770
- if (__hasOwnProp2.call(b, prop))
15771
- __defNormalProp(a, prop, b[prop]);
15772
- if (__getOwnPropSymbols)
15773
- for (var prop of __getOwnPropSymbols(b)) {
15774
- if (__propIsEnum.call(b, prop))
15775
- __defNormalProp(a, prop, b[prop]);
15776
- }
15777
- return a;
15778
- };
15779
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
15780
- var __commonJS22 = (cb, mod) => function __require() {
15781
- return mod || (0, cb[__getOwnPropNames22(cb)[0]])((mod = {
15782
- exports: {}
15783
- }).exports, mod), mod.exports;
15784
- };
15785
- var __export2 = (target, all) => {
15786
- for (var name in all)
15787
- __defProp2(target, name, {
15788
- get: all[name],
15789
- enumerable: true
15790
- });
15791
- };
15792
- var __copyProps2 = (to, from, except, desc) => {
15793
- if (from && typeof from === "object" || typeof from === "function") {
15794
- for (let key of __getOwnPropNames22(from))
15795
- if (!__hasOwnProp2.call(to, key) && key !== except)
15796
- __defProp2(to, key, {
15797
- get: () => from[key],
15798
- enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
15799
- });
15800
- }
15801
- return to;
15802
- };
15803
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps2(isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", {
15804
- value: mod,
15805
- enumerable: true
15806
- }) : target, mod));
15807
- var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", {
15808
- value: true
15809
- }), mod);
15810
- var require_p_defer = __commonJS22({
15811
- "node_modules/p-defer/index.js"(exports3, module22) {
15812
- "use strict";
15813
- module22.exports = () => {
15814
- const ret = {};
15815
- ret.promise = new Promise((resolve, reject) => {
15816
- ret.resolve = resolve;
15817
- ret.reject = reject;
15818
- });
15819
- return ret;
15820
- };
15821
- }
15822
- });
15823
- var require_dist = __commonJS22({
15824
- "node_modules/map-age-cleaner/dist/index.js"(exports3, module22) {
15825
- "use strict";
15826
- var __awaiter2 = exports3 && exports3.__awaiter || function(thisArg, _arguments, P, generator) {
15827
- return new (P || (P = Promise))(function(resolve, reject) {
15828
- function fulfilled(value) {
15829
- try {
15830
- step(generator.next(value));
15831
- } catch (e) {
15832
- reject(e);
15833
- }
15834
- }
15835
- function rejected(value) {
15836
- try {
15837
- step(generator["throw"](value));
15838
- } catch (e) {
15839
- reject(e);
15840
- }
15841
- }
15842
- function step(result) {
15843
- result.done ? resolve(result.value) : new P(function(resolve2) {
15844
- resolve2(result.value);
15845
- }).then(fulfilled, rejected);
15846
- }
15847
- step((generator = generator.apply(thisArg, _arguments || [])).next());
15848
- });
15849
- };
15850
- var __importDefault2 = exports3 && exports3.__importDefault || function(mod) {
15851
- return mod && mod.__esModule ? mod : {
15852
- "default": mod
15853
- };
15854
- };
15855
- Object.defineProperty(exports3, "__esModule", {
15856
- value: true
15857
- });
15858
- var p_defer_1 = __importDefault2(require_p_defer());
15859
- function mapAgeCleaner2(map, property = "maxAge") {
15860
- let processingKey;
15861
- let processingTimer;
15862
- let processingDeferred;
15863
- const cleanup = () => __awaiter2(this, void 0, void 0, function* () {
15864
- if (processingKey !== void 0) {
15865
- return;
15866
- }
15867
- const setupTimer = (item) => __awaiter2(this, void 0, void 0, function* () {
15868
- processingDeferred = p_defer_1.default();
15869
- const delay = item[1][property] - Date.now();
15870
- if (delay <= 0) {
15871
- map.delete(item[0]);
15872
- processingDeferred.resolve();
15873
- return;
15874
- }
15875
- processingKey = item[0];
15876
- processingTimer = setTimeout(() => {
15877
- map.delete(item[0]);
15878
- if (processingDeferred) {
15879
- processingDeferred.resolve();
15880
- }
15881
- }, delay);
15882
- if (typeof processingTimer.unref === "function") {
15883
- processingTimer.unref();
15884
- }
15885
- return processingDeferred.promise;
15886
- });
15887
- try {
15888
- for (const entry of map) {
15889
- yield setupTimer(entry);
15890
- }
15891
- } catch (_a) {
15892
- }
15893
- processingKey = void 0;
15894
- });
15895
- const reset = () => {
15896
- processingKey = void 0;
15897
- if (processingTimer !== void 0) {
15898
- clearTimeout(processingTimer);
15899
- processingTimer = void 0;
15900
- }
15901
- if (processingDeferred !== void 0) {
15902
- processingDeferred.reject(void 0);
15903
- processingDeferred = void 0;
15904
- }
15905
- };
15906
- const originalSet = map.set.bind(map);
15907
- map.set = (key, value) => {
15908
- if (map.has(key)) {
15909
- map.delete(key);
15910
- }
15911
- const result = originalSet(key, value);
15912
- if (processingKey && processingKey === key) {
15913
- reset();
15914
- }
15915
- cleanup();
15916
- return result;
15917
- };
15918
- cleanup();
15919
- return map;
15920
- }
15921
- exports3.default = mapAgeCleaner2;
15922
- module22.exports = mapAgeCleaner2;
15923
- module22.exports.default = mapAgeCleaner2;
15924
- }
15925
- });
15926
- var dist_exports = {};
15927
- __export2(dist_exports, {
15928
- default: () => mem,
15929
- memClear: () => memClear,
15930
- memDecorator: () => memDecorator
15931
- });
15932
- module2.exports = __toCommonJS2(dist_exports);
15933
- var copyProperty = (to, from, property, ignoreNonConfigurable) => {
15736
+ function mimicFunction(to, from, {
15737
+ ignoreNonConfigurable = false
15738
+ } = {}) {
15739
+ const {
15740
+ name
15741
+ } = to;
15742
+ for (const property of Reflect.ownKeys(from)) {
15743
+ copyProperty(to, from, property, ignoreNonConfigurable);
15744
+ }
15745
+ changePrototype(to, from);
15746
+ changeToString(to, from, name);
15747
+ return to;
15748
+ }
15749
+ var copyProperty;
15750
+ var canCopyProperty;
15751
+ var changePrototype;
15752
+ var wrappedToString;
15753
+ var toStringDescriptor;
15754
+ var toStringName;
15755
+ var changeToString;
15756
+ var init_mimic_fn = __esm({
15757
+ "node_modules/mimic-fn/index.js"() {
15758
+ copyProperty = (to, from, property, ignoreNonConfigurable) => {
15934
15759
  if (property === "length" || property === "prototype") {
15935
15760
  return;
15936
15761
  }
@@ -15944,99 +15769,215 @@ var require_mem = __commonJS2({
15944
15769
  }
15945
15770
  Object.defineProperty(to, property, fromDescriptor);
15946
15771
  };
15947
- var canCopyProperty = function(toDescriptor, fromDescriptor) {
15772
+ canCopyProperty = function(toDescriptor, fromDescriptor) {
15948
15773
  return toDescriptor === void 0 || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);
15949
15774
  };
15950
- var changePrototype = (to, from) => {
15775
+ changePrototype = (to, from) => {
15951
15776
  const fromPrototype = Object.getPrototypeOf(from);
15952
15777
  if (fromPrototype === Object.getPrototypeOf(to)) {
15953
15778
  return;
15954
15779
  }
15955
15780
  Object.setPrototypeOf(to, fromPrototype);
15956
15781
  };
15957
- var wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
15782
+ wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/
15958
15783
  ${fromBody}`;
15959
- var toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
15960
- var toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
15961
- var changeToString = (to, from, name) => {
15784
+ toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, "toString");
15785
+ toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, "name");
15786
+ changeToString = (to, from, name) => {
15962
15787
  const withName = name === "" ? "" : `with ${name.trim()}() `;
15963
15788
  const newToString = wrappedToString.bind(null, withName, from.toString());
15964
15789
  Object.defineProperty(newToString, "name", toStringName);
15965
- Object.defineProperty(to, "toString", __spreadProps(__spreadValues({}, toStringDescriptor), {
15790
+ Object.defineProperty(to, "toString", Object.assign(Object.assign({}, toStringDescriptor), {}, {
15966
15791
  value: newToString
15967
15792
  }));
15968
15793
  };
15969
- function mimicFunction(to, from, {
15970
- ignoreNonConfigurable = false
15971
- } = {}) {
15972
- const {
15973
- name
15974
- } = to;
15975
- for (const property of Reflect.ownKeys(from)) {
15976
- copyProperty(to, from, property, ignoreNonConfigurable);
15977
- }
15978
- changePrototype(to, from);
15979
- changeToString(to, from, name);
15980
- return to;
15981
- }
15982
- var import_map_age_cleaner = __toESM(require_dist(), 1);
15983
- var cacheStore = /* @__PURE__ */ new WeakMap();
15984
- function mem(fn, {
15985
- cacheKey,
15986
- cache = /* @__PURE__ */ new Map(),
15987
- maxAge
15988
- } = {}) {
15989
- if (typeof maxAge === "number") {
15990
- (0, import_map_age_cleaner.default)(cache);
15991
- }
15992
- const memoized = function(...arguments_) {
15993
- const key = cacheKey ? cacheKey(arguments_) : arguments_[0];
15994
- const cacheItem = cache.get(key);
15995
- if (cacheItem) {
15996
- return cacheItem.data;
15997
- }
15998
- const result = fn.apply(this, arguments_);
15999
- cache.set(key, {
16000
- data: result,
16001
- maxAge: maxAge ? Date.now() + maxAge : Number.POSITIVE_INFINITY
16002
- });
16003
- return result;
16004
- };
16005
- mimicFunction(memoized, fn, {
16006
- ignoreNonConfigurable: true
15794
+ }
15795
+ });
15796
+ var require_p_defer = __commonJS2({
15797
+ "node_modules/p-defer/index.js"(exports2, module2) {
15798
+ "use strict";
15799
+ module2.exports = () => {
15800
+ const ret = {};
15801
+ ret.promise = new Promise((resolve, reject) => {
15802
+ ret.resolve = resolve;
15803
+ ret.reject = reject;
16007
15804
  });
16008
- cacheStore.set(memoized, cache);
16009
- return memoized;
16010
- }
16011
- function memDecorator(options = {}) {
16012
- const instanceMap = /* @__PURE__ */ new WeakMap();
16013
- return (target, propertyKey, descriptor) => {
16014
- const input = target[propertyKey];
16015
- if (typeof input !== "function") {
16016
- throw new TypeError("The decorated value must be a function");
16017
- }
16018
- delete descriptor.value;
16019
- delete descriptor.writable;
16020
- descriptor.get = function() {
16021
- if (!instanceMap.has(this)) {
16022
- const value = mem(input, options);
16023
- instanceMap.set(this, value);
16024
- return value;
15805
+ return ret;
15806
+ };
15807
+ }
15808
+ });
15809
+ var require_dist = __commonJS2({
15810
+ "node_modules/map-age-cleaner/dist/index.js"(exports2, module2) {
15811
+ "use strict";
15812
+ var __awaiter2 = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
15813
+ return new (P || (P = Promise))(function(resolve, reject) {
15814
+ function fulfilled(value) {
15815
+ try {
15816
+ step(generator.next(value));
15817
+ } catch (e) {
15818
+ reject(e);
16025
15819
  }
16026
- return instanceMap.get(this);
16027
- };
15820
+ }
15821
+ function rejected(value) {
15822
+ try {
15823
+ step(generator["throw"](value));
15824
+ } catch (e) {
15825
+ reject(e);
15826
+ }
15827
+ }
15828
+ function step(result) {
15829
+ result.done ? resolve(result.value) : new P(function(resolve2) {
15830
+ resolve2(result.value);
15831
+ }).then(fulfilled, rejected);
15832
+ }
15833
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
15834
+ });
15835
+ };
15836
+ var __importDefault2 = exports2 && exports2.__importDefault || function(mod) {
15837
+ return mod && mod.__esModule ? mod : {
15838
+ "default": mod
15839
+ };
15840
+ };
15841
+ Object.defineProperty(exports2, "__esModule", {
15842
+ value: true
15843
+ });
15844
+ var p_defer_1 = __importDefault2(require_p_defer());
15845
+ function mapAgeCleaner2(map, property = "maxAge") {
15846
+ let processingKey;
15847
+ let processingTimer;
15848
+ let processingDeferred;
15849
+ const cleanup = () => __awaiter2(this, void 0, void 0, function* () {
15850
+ if (processingKey !== void 0) {
15851
+ return;
15852
+ }
15853
+ const setupTimer = (item) => __awaiter2(this, void 0, void 0, function* () {
15854
+ processingDeferred = p_defer_1.default();
15855
+ const delay = item[1][property] - Date.now();
15856
+ if (delay <= 0) {
15857
+ map.delete(item[0]);
15858
+ processingDeferred.resolve();
15859
+ return;
15860
+ }
15861
+ processingKey = item[0];
15862
+ processingTimer = setTimeout(() => {
15863
+ map.delete(item[0]);
15864
+ if (processingDeferred) {
15865
+ processingDeferred.resolve();
15866
+ }
15867
+ }, delay);
15868
+ if (typeof processingTimer.unref === "function") {
15869
+ processingTimer.unref();
15870
+ }
15871
+ return processingDeferred.promise;
15872
+ });
15873
+ try {
15874
+ for (const entry of map) {
15875
+ yield setupTimer(entry);
15876
+ }
15877
+ } catch (_a) {
15878
+ }
15879
+ processingKey = void 0;
15880
+ });
15881
+ const reset = () => {
15882
+ processingKey = void 0;
15883
+ if (processingTimer !== void 0) {
15884
+ clearTimeout(processingTimer);
15885
+ processingTimer = void 0;
15886
+ }
15887
+ if (processingDeferred !== void 0) {
15888
+ processingDeferred.reject(void 0);
15889
+ processingDeferred = void 0;
15890
+ }
15891
+ };
15892
+ const originalSet = map.set.bind(map);
15893
+ map.set = (key, value) => {
15894
+ if (map.has(key)) {
15895
+ map.delete(key);
15896
+ }
15897
+ const result = originalSet(key, value);
15898
+ if (processingKey && processingKey === key) {
15899
+ reset();
15900
+ }
15901
+ cleanup();
15902
+ return result;
16028
15903
  };
15904
+ cleanup();
15905
+ return map;
16029
15906
  }
16030
- function memClear(fn) {
16031
- const cache = cacheStore.get(fn);
16032
- if (!cache) {
16033
- throw new TypeError("Can't clear a function that was not memoized!");
16034
- }
16035
- if (typeof cache.clear !== "function") {
16036
- throw new TypeError("The cache Map can't be cleared!");
15907
+ exports2.default = mapAgeCleaner2;
15908
+ module2.exports = mapAgeCleaner2;
15909
+ module2.exports.default = mapAgeCleaner2;
15910
+ }
15911
+ });
15912
+ var dist_exports = {};
15913
+ __export(dist_exports, {
15914
+ default: () => mem,
15915
+ memClear: () => memClear,
15916
+ memDecorator: () => memDecorator
15917
+ });
15918
+ function mem(fn, {
15919
+ cacheKey,
15920
+ cache = /* @__PURE__ */ new Map(),
15921
+ maxAge
15922
+ } = {}) {
15923
+ if (typeof maxAge === "number") {
15924
+ (0, import_map_age_cleaner.default)(cache);
15925
+ }
15926
+ const memoized = function(...arguments_) {
15927
+ const key = cacheKey ? cacheKey(arguments_) : arguments_[0];
15928
+ const cacheItem = cache.get(key);
15929
+ if (cacheItem) {
15930
+ return cacheItem.data;
15931
+ }
15932
+ const result = fn.apply(this, arguments_);
15933
+ cache.set(key, {
15934
+ data: result,
15935
+ maxAge: maxAge ? Date.now() + maxAge : Number.POSITIVE_INFINITY
15936
+ });
15937
+ return result;
15938
+ };
15939
+ mimicFunction(memoized, fn, {
15940
+ ignoreNonConfigurable: true
15941
+ });
15942
+ cacheStore.set(memoized, cache);
15943
+ return memoized;
15944
+ }
15945
+ function memDecorator(options = {}) {
15946
+ const instanceMap = /* @__PURE__ */ new WeakMap();
15947
+ return (target, propertyKey, descriptor) => {
15948
+ const input = target[propertyKey];
15949
+ if (typeof input !== "function") {
15950
+ throw new TypeError("The decorated value must be a function");
15951
+ }
15952
+ delete descriptor.value;
15953
+ delete descriptor.writable;
15954
+ descriptor.get = function() {
15955
+ if (!instanceMap.has(this)) {
15956
+ const value = mem(input, options);
15957
+ instanceMap.set(this, value);
15958
+ return value;
16037
15959
  }
16038
- cache.clear();
16039
- }
15960
+ return instanceMap.get(this);
15961
+ };
15962
+ };
15963
+ }
15964
+ function memClear(fn) {
15965
+ const cache = cacheStore.get(fn);
15966
+ if (!cache) {
15967
+ throw new TypeError("Can't clear a function that was not memoized!");
15968
+ }
15969
+ if (typeof cache.clear !== "function") {
15970
+ throw new TypeError("The cache Map can't be cleared!");
15971
+ }
15972
+ cache.clear();
15973
+ }
15974
+ var import_map_age_cleaner;
15975
+ var cacheStore;
15976
+ var init_dist = __esm({
15977
+ "node_modules/mem/dist/index.js"() {
15978
+ init_mimic_fn();
15979
+ import_map_age_cleaner = __toESM(require_dist());
15980
+ cacheStore = /* @__PURE__ */ new WeakMap();
16040
15981
  }
16041
15982
  });
16042
15983
  var require_pseudomap = __commonJS2({
@@ -16144,7 +16085,7 @@ var require_map = __commonJS2({
16144
16085
  }
16145
16086
  });
16146
16087
  var require_yallist = __commonJS2({
16147
- "node_modules/yallist/yallist.js"(exports2, module2) {
16088
+ "node_modules/editorconfig/node_modules/yallist/yallist.js"(exports2, module2) {
16148
16089
  module2.exports = Yallist;
16149
16090
  Yallist.Node = Node;
16150
16091
  Yallist.create = Yallist;
@@ -16468,7 +16409,7 @@ var require_yallist = __commonJS2({
16468
16409
  }
16469
16410
  });
16470
16411
  var require_lru_cache = __commonJS2({
16471
- "node_modules/lru-cache/index.js"(exports2, module2) {
16412
+ "node_modules/editorconfig/node_modules/lru-cache/index.js"(exports2, module2) {
16472
16413
  "use strict";
16473
16414
  module2.exports = LRUCache;
16474
16415
  var Map2 = require_map();
@@ -18206,11 +18147,11 @@ var require_resolve_config_editorconfig = __commonJS2({
18206
18147
  var editorconfig = require_src2();
18207
18148
  var editorConfigToPrettier = require_editorconfig_to_prettier();
18208
18149
  var {
18209
- default: mem,
18210
- memClear
18211
- } = require_mem();
18150
+ default: mem2,
18151
+ memClear: memClear2
18152
+ } = (init_dist(), __toCommonJS(dist_exports));
18212
18153
  var findProjectRoot = require_find_project_root();
18213
- var jsonStringifyMem = (fn) => mem(fn, {
18154
+ var jsonStringifyMem = (fn) => mem2(fn, {
18214
18155
  cacheKey: JSON.stringify
18215
18156
  });
18216
18157
  var maybeParse = (filePath, parse) => filePath && parse(filePath, {
@@ -18230,8 +18171,8 @@ var require_resolve_config_editorconfig = __commonJS2({
18230
18171
  return opts.cache ? editorconfigAsyncWithCache : editorconfigAsyncNoCache;
18231
18172
  }
18232
18173
  function clearCache() {
18233
- memClear(editorconfigSyncWithCache);
18234
- memClear(editorconfigAsyncWithCache);
18174
+ memClear2(editorconfigSyncWithCache);
18175
+ memClear2(editorconfigAsyncWithCache);
18235
18176
  }
18236
18177
  module2.exports = {
18237
18178
  getLoadFunction,
@@ -18247,13 +18188,14 @@ var require_resolve_config = __commonJS2({
18247
18188
  var thirdParty = require("./third-party.js");
18248
18189
  var loadToml = require_load_toml();
18249
18190
  var loadJson5 = require_load_json5();
18191
+ var partition = require_partition();
18250
18192
  var resolve = require_resolve2();
18251
18193
  var {
18252
- default: mem,
18253
- memClear
18254
- } = require_mem();
18194
+ default: mem2,
18195
+ memClear: memClear2
18196
+ } = (init_dist(), __toCommonJS(dist_exports));
18255
18197
  var resolveEditorConfig = require_resolve_config_editorconfig();
18256
- var getExplorerMemoized = mem((opts) => {
18198
+ var getExplorerMemoized = mem2((opts) => {
18257
18199
  const cosmiconfig = thirdParty["cosmiconfig" + (opts.sync ? "Sync" : "")];
18258
18200
  const explorer = cosmiconfig("prettier", {
18259
18201
  cache: opts.cache,
@@ -18326,7 +18268,7 @@ var require_resolve_config = __commonJS2({
18326
18268
  var resolveConfig = (filePath, opts) => _resolveConfig(filePath, opts, false);
18327
18269
  resolveConfig.sync = (filePath, opts) => _resolveConfig(filePath, opts, true);
18328
18270
  function clearCache() {
18329
- memClear(getExplorerMemoized);
18271
+ memClear2(getExplorerMemoized);
18330
18272
  resolveEditorConfig.clearCache();
18331
18273
  }
18332
18274
  async function resolveConfigFile(filePath) {
@@ -18367,15 +18309,7 @@ var require_resolve_config = __commonJS2({
18367
18309
  }
18368
18310
  function pathMatchesGlobs(filePath, patterns, excludedPatterns) {
18369
18311
  const patternList = Array.isArray(patterns) ? patterns : [patterns];
18370
- const withSlashes = [];
18371
- const withoutSlashes = [];
18372
- for (const pattern of patternList) {
18373
- if (pattern.includes("/")) {
18374
- withSlashes.push(pattern);
18375
- } else {
18376
- withoutSlashes.push(pattern);
18377
- }
18378
- }
18312
+ const [withSlashes, withoutSlashes] = partition(patternList, (pattern) => pattern.includes("/"));
18379
18313
  return micromatch.isMatch(filePath, withoutSlashes, {
18380
18314
  ignore: excludedPatterns,
18381
18315
  basename: true,
@@ -18613,7 +18547,7 @@ var require_create_ignorer = __commonJS2({
18613
18547
  "src/common/create-ignorer.js"(exports2, module2) {
18614
18548
  "use strict";
18615
18549
  var path = require("path");
18616
- var ignore = require_ignore();
18550
+ var ignore = require_ignore().default;
18617
18551
  var getFileContentOrNull = require_get_file_content_or_null();
18618
18552
  async function createIgnorer(ignorePath, withNodeModules) {
18619
18553
  const ignoreContent = ignorePath ? await getFileContentOrNull(path.resolve(ignorePath)) : null;
@@ -18771,2008 +18705,6 @@ var require_util_shared = __commonJS2({
18771
18705
  };
18772
18706
  }
18773
18707
  });
18774
- var require_listCacheClear = __commonJS2({
18775
- "node_modules/lodash/_listCacheClear.js"(exports2, module2) {
18776
- function listCacheClear() {
18777
- this.__data__ = [];
18778
- this.size = 0;
18779
- }
18780
- module2.exports = listCacheClear;
18781
- }
18782
- });
18783
- var require_eq = __commonJS2({
18784
- "node_modules/lodash/eq.js"(exports2, module2) {
18785
- function eq(value, other) {
18786
- return value === other || value !== value && other !== other;
18787
- }
18788
- module2.exports = eq;
18789
- }
18790
- });
18791
- var require_assocIndexOf = __commonJS2({
18792
- "node_modules/lodash/_assocIndexOf.js"(exports2, module2) {
18793
- var eq = require_eq();
18794
- function assocIndexOf(array, key) {
18795
- var length = array.length;
18796
- while (length--) {
18797
- if (eq(array[length][0], key)) {
18798
- return length;
18799
- }
18800
- }
18801
- return -1;
18802
- }
18803
- module2.exports = assocIndexOf;
18804
- }
18805
- });
18806
- var require_listCacheDelete = __commonJS2({
18807
- "node_modules/lodash/_listCacheDelete.js"(exports2, module2) {
18808
- var assocIndexOf = require_assocIndexOf();
18809
- var arrayProto = Array.prototype;
18810
- var splice = arrayProto.splice;
18811
- function listCacheDelete(key) {
18812
- var data = this.__data__, index = assocIndexOf(data, key);
18813
- if (index < 0) {
18814
- return false;
18815
- }
18816
- var lastIndex = data.length - 1;
18817
- if (index == lastIndex) {
18818
- data.pop();
18819
- } else {
18820
- splice.call(data, index, 1);
18821
- }
18822
- --this.size;
18823
- return true;
18824
- }
18825
- module2.exports = listCacheDelete;
18826
- }
18827
- });
18828
- var require_listCacheGet = __commonJS2({
18829
- "node_modules/lodash/_listCacheGet.js"(exports2, module2) {
18830
- var assocIndexOf = require_assocIndexOf();
18831
- function listCacheGet(key) {
18832
- var data = this.__data__, index = assocIndexOf(data, key);
18833
- return index < 0 ? void 0 : data[index][1];
18834
- }
18835
- module2.exports = listCacheGet;
18836
- }
18837
- });
18838
- var require_listCacheHas = __commonJS2({
18839
- "node_modules/lodash/_listCacheHas.js"(exports2, module2) {
18840
- var assocIndexOf = require_assocIndexOf();
18841
- function listCacheHas(key) {
18842
- return assocIndexOf(this.__data__, key) > -1;
18843
- }
18844
- module2.exports = listCacheHas;
18845
- }
18846
- });
18847
- var require_listCacheSet = __commonJS2({
18848
- "node_modules/lodash/_listCacheSet.js"(exports2, module2) {
18849
- var assocIndexOf = require_assocIndexOf();
18850
- function listCacheSet(key, value) {
18851
- var data = this.__data__, index = assocIndexOf(data, key);
18852
- if (index < 0) {
18853
- ++this.size;
18854
- data.push([key, value]);
18855
- } else {
18856
- data[index][1] = value;
18857
- }
18858
- return this;
18859
- }
18860
- module2.exports = listCacheSet;
18861
- }
18862
- });
18863
- var require_ListCache = __commonJS2({
18864
- "node_modules/lodash/_ListCache.js"(exports2, module2) {
18865
- var listCacheClear = require_listCacheClear();
18866
- var listCacheDelete = require_listCacheDelete();
18867
- var listCacheGet = require_listCacheGet();
18868
- var listCacheHas = require_listCacheHas();
18869
- var listCacheSet = require_listCacheSet();
18870
- function ListCache(entries) {
18871
- var index = -1, length = entries == null ? 0 : entries.length;
18872
- this.clear();
18873
- while (++index < length) {
18874
- var entry = entries[index];
18875
- this.set(entry[0], entry[1]);
18876
- }
18877
- }
18878
- ListCache.prototype.clear = listCacheClear;
18879
- ListCache.prototype["delete"] = listCacheDelete;
18880
- ListCache.prototype.get = listCacheGet;
18881
- ListCache.prototype.has = listCacheHas;
18882
- ListCache.prototype.set = listCacheSet;
18883
- module2.exports = ListCache;
18884
- }
18885
- });
18886
- var require_stackClear = __commonJS2({
18887
- "node_modules/lodash/_stackClear.js"(exports2, module2) {
18888
- var ListCache = require_ListCache();
18889
- function stackClear() {
18890
- this.__data__ = new ListCache();
18891
- this.size = 0;
18892
- }
18893
- module2.exports = stackClear;
18894
- }
18895
- });
18896
- var require_stackDelete = __commonJS2({
18897
- "node_modules/lodash/_stackDelete.js"(exports2, module2) {
18898
- function stackDelete(key) {
18899
- var data = this.__data__, result = data["delete"](key);
18900
- this.size = data.size;
18901
- return result;
18902
- }
18903
- module2.exports = stackDelete;
18904
- }
18905
- });
18906
- var require_stackGet = __commonJS2({
18907
- "node_modules/lodash/_stackGet.js"(exports2, module2) {
18908
- function stackGet(key) {
18909
- return this.__data__.get(key);
18910
- }
18911
- module2.exports = stackGet;
18912
- }
18913
- });
18914
- var require_stackHas = __commonJS2({
18915
- "node_modules/lodash/_stackHas.js"(exports2, module2) {
18916
- function stackHas(key) {
18917
- return this.__data__.has(key);
18918
- }
18919
- module2.exports = stackHas;
18920
- }
18921
- });
18922
- var require_freeGlobal = __commonJS2({
18923
- "node_modules/lodash/_freeGlobal.js"(exports2, module2) {
18924
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
18925
- module2.exports = freeGlobal;
18926
- }
18927
- });
18928
- var require_root = __commonJS2({
18929
- "node_modules/lodash/_root.js"(exports2, module2) {
18930
- var freeGlobal = require_freeGlobal();
18931
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
18932
- var root = freeGlobal || freeSelf || Function("return this")();
18933
- module2.exports = root;
18934
- }
18935
- });
18936
- var require_Symbol = __commonJS2({
18937
- "node_modules/lodash/_Symbol.js"(exports2, module2) {
18938
- var root = require_root();
18939
- var Symbol2 = root.Symbol;
18940
- module2.exports = Symbol2;
18941
- }
18942
- });
18943
- var require_getRawTag = __commonJS2({
18944
- "node_modules/lodash/_getRawTag.js"(exports2, module2) {
18945
- var Symbol2 = require_Symbol();
18946
- var objectProto = Object.prototype;
18947
- var hasOwnProperty = objectProto.hasOwnProperty;
18948
- var nativeObjectToString = objectProto.toString;
18949
- var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
18950
- function getRawTag(value) {
18951
- var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
18952
- try {
18953
- value[symToStringTag] = void 0;
18954
- var unmasked = true;
18955
- } catch (e) {
18956
- }
18957
- var result = nativeObjectToString.call(value);
18958
- if (unmasked) {
18959
- if (isOwn) {
18960
- value[symToStringTag] = tag;
18961
- } else {
18962
- delete value[symToStringTag];
18963
- }
18964
- }
18965
- return result;
18966
- }
18967
- module2.exports = getRawTag;
18968
- }
18969
- });
18970
- var require_objectToString = __commonJS2({
18971
- "node_modules/lodash/_objectToString.js"(exports2, module2) {
18972
- var objectProto = Object.prototype;
18973
- var nativeObjectToString = objectProto.toString;
18974
- function objectToString(value) {
18975
- return nativeObjectToString.call(value);
18976
- }
18977
- module2.exports = objectToString;
18978
- }
18979
- });
18980
- var require_baseGetTag = __commonJS2({
18981
- "node_modules/lodash/_baseGetTag.js"(exports2, module2) {
18982
- var Symbol2 = require_Symbol();
18983
- var getRawTag = require_getRawTag();
18984
- var objectToString = require_objectToString();
18985
- var nullTag = "[object Null]";
18986
- var undefinedTag = "[object Undefined]";
18987
- var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
18988
- function baseGetTag(value) {
18989
- if (value == null) {
18990
- return value === void 0 ? undefinedTag : nullTag;
18991
- }
18992
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
18993
- }
18994
- module2.exports = baseGetTag;
18995
- }
18996
- });
18997
- var require_isObject = __commonJS2({
18998
- "node_modules/lodash/isObject.js"(exports2, module2) {
18999
- function isObject(value) {
19000
- var type = typeof value;
19001
- return value != null && (type == "object" || type == "function");
19002
- }
19003
- module2.exports = isObject;
19004
- }
19005
- });
19006
- var require_isFunction = __commonJS2({
19007
- "node_modules/lodash/isFunction.js"(exports2, module2) {
19008
- var baseGetTag = require_baseGetTag();
19009
- var isObject = require_isObject();
19010
- var asyncTag = "[object AsyncFunction]";
19011
- var funcTag = "[object Function]";
19012
- var genTag = "[object GeneratorFunction]";
19013
- var proxyTag = "[object Proxy]";
19014
- function isFunction(value) {
19015
- if (!isObject(value)) {
19016
- return false;
19017
- }
19018
- var tag = baseGetTag(value);
19019
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
19020
- }
19021
- module2.exports = isFunction;
19022
- }
19023
- });
19024
- var require_coreJsData = __commonJS2({
19025
- "node_modules/lodash/_coreJsData.js"(exports2, module2) {
19026
- var root = require_root();
19027
- var coreJsData = root["__core-js_shared__"];
19028
- module2.exports = coreJsData;
19029
- }
19030
- });
19031
- var require_isMasked = __commonJS2({
19032
- "node_modules/lodash/_isMasked.js"(exports2, module2) {
19033
- var coreJsData = require_coreJsData();
19034
- var maskSrcKey = function() {
19035
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
19036
- return uid ? "Symbol(src)_1." + uid : "";
19037
- }();
19038
- function isMasked(func) {
19039
- return !!maskSrcKey && maskSrcKey in func;
19040
- }
19041
- module2.exports = isMasked;
19042
- }
19043
- });
19044
- var require_toSource = __commonJS2({
19045
- "node_modules/lodash/_toSource.js"(exports2, module2) {
19046
- var funcProto = Function.prototype;
19047
- var funcToString = funcProto.toString;
19048
- function toSource(func) {
19049
- if (func != null) {
19050
- try {
19051
- return funcToString.call(func);
19052
- } catch (e) {
19053
- }
19054
- try {
19055
- return func + "";
19056
- } catch (e) {
19057
- }
19058
- }
19059
- return "";
19060
- }
19061
- module2.exports = toSource;
19062
- }
19063
- });
19064
- var require_baseIsNative = __commonJS2({
19065
- "node_modules/lodash/_baseIsNative.js"(exports2, module2) {
19066
- var isFunction = require_isFunction();
19067
- var isMasked = require_isMasked();
19068
- var isObject = require_isObject();
19069
- var toSource = require_toSource();
19070
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
19071
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
19072
- var funcProto = Function.prototype;
19073
- var objectProto = Object.prototype;
19074
- var funcToString = funcProto.toString;
19075
- var hasOwnProperty = objectProto.hasOwnProperty;
19076
- var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
19077
- function baseIsNative(value) {
19078
- if (!isObject(value) || isMasked(value)) {
19079
- return false;
19080
- }
19081
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
19082
- return pattern.test(toSource(value));
19083
- }
19084
- module2.exports = baseIsNative;
19085
- }
19086
- });
19087
- var require_getValue = __commonJS2({
19088
- "node_modules/lodash/_getValue.js"(exports2, module2) {
19089
- function getValue(object, key) {
19090
- return object == null ? void 0 : object[key];
19091
- }
19092
- module2.exports = getValue;
19093
- }
19094
- });
19095
- var require_getNative = __commonJS2({
19096
- "node_modules/lodash/_getNative.js"(exports2, module2) {
19097
- var baseIsNative = require_baseIsNative();
19098
- var getValue = require_getValue();
19099
- function getNative(object, key) {
19100
- var value = getValue(object, key);
19101
- return baseIsNative(value) ? value : void 0;
19102
- }
19103
- module2.exports = getNative;
19104
- }
19105
- });
19106
- var require_Map = __commonJS2({
19107
- "node_modules/lodash/_Map.js"(exports2, module2) {
19108
- var getNative = require_getNative();
19109
- var root = require_root();
19110
- var Map2 = getNative(root, "Map");
19111
- module2.exports = Map2;
19112
- }
19113
- });
19114
- var require_nativeCreate = __commonJS2({
19115
- "node_modules/lodash/_nativeCreate.js"(exports2, module2) {
19116
- var getNative = require_getNative();
19117
- var nativeCreate = getNative(Object, "create");
19118
- module2.exports = nativeCreate;
19119
- }
19120
- });
19121
- var require_hashClear = __commonJS2({
19122
- "node_modules/lodash/_hashClear.js"(exports2, module2) {
19123
- var nativeCreate = require_nativeCreate();
19124
- function hashClear() {
19125
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
19126
- this.size = 0;
19127
- }
19128
- module2.exports = hashClear;
19129
- }
19130
- });
19131
- var require_hashDelete = __commonJS2({
19132
- "node_modules/lodash/_hashDelete.js"(exports2, module2) {
19133
- function hashDelete(key) {
19134
- var result = this.has(key) && delete this.__data__[key];
19135
- this.size -= result ? 1 : 0;
19136
- return result;
19137
- }
19138
- module2.exports = hashDelete;
19139
- }
19140
- });
19141
- var require_hashGet = __commonJS2({
19142
- "node_modules/lodash/_hashGet.js"(exports2, module2) {
19143
- var nativeCreate = require_nativeCreate();
19144
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
19145
- var objectProto = Object.prototype;
19146
- var hasOwnProperty = objectProto.hasOwnProperty;
19147
- function hashGet(key) {
19148
- var data = this.__data__;
19149
- if (nativeCreate) {
19150
- var result = data[key];
19151
- return result === HASH_UNDEFINED ? void 0 : result;
19152
- }
19153
- return hasOwnProperty.call(data, key) ? data[key] : void 0;
19154
- }
19155
- module2.exports = hashGet;
19156
- }
19157
- });
19158
- var require_hashHas = __commonJS2({
19159
- "node_modules/lodash/_hashHas.js"(exports2, module2) {
19160
- var nativeCreate = require_nativeCreate();
19161
- var objectProto = Object.prototype;
19162
- var hasOwnProperty = objectProto.hasOwnProperty;
19163
- function hashHas(key) {
19164
- var data = this.__data__;
19165
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
19166
- }
19167
- module2.exports = hashHas;
19168
- }
19169
- });
19170
- var require_hashSet = __commonJS2({
19171
- "node_modules/lodash/_hashSet.js"(exports2, module2) {
19172
- var nativeCreate = require_nativeCreate();
19173
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
19174
- function hashSet(key, value) {
19175
- var data = this.__data__;
19176
- this.size += this.has(key) ? 0 : 1;
19177
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
19178
- return this;
19179
- }
19180
- module2.exports = hashSet;
19181
- }
19182
- });
19183
- var require_Hash = __commonJS2({
19184
- "node_modules/lodash/_Hash.js"(exports2, module2) {
19185
- var hashClear = require_hashClear();
19186
- var hashDelete = require_hashDelete();
19187
- var hashGet = require_hashGet();
19188
- var hashHas = require_hashHas();
19189
- var hashSet = require_hashSet();
19190
- function Hash(entries) {
19191
- var index = -1, length = entries == null ? 0 : entries.length;
19192
- this.clear();
19193
- while (++index < length) {
19194
- var entry = entries[index];
19195
- this.set(entry[0], entry[1]);
19196
- }
19197
- }
19198
- Hash.prototype.clear = hashClear;
19199
- Hash.prototype["delete"] = hashDelete;
19200
- Hash.prototype.get = hashGet;
19201
- Hash.prototype.has = hashHas;
19202
- Hash.prototype.set = hashSet;
19203
- module2.exports = Hash;
19204
- }
19205
- });
19206
- var require_mapCacheClear = __commonJS2({
19207
- "node_modules/lodash/_mapCacheClear.js"(exports2, module2) {
19208
- var Hash = require_Hash();
19209
- var ListCache = require_ListCache();
19210
- var Map2 = require_Map();
19211
- function mapCacheClear() {
19212
- this.size = 0;
19213
- this.__data__ = {
19214
- "hash": new Hash(),
19215
- "map": new (Map2 || ListCache)(),
19216
- "string": new Hash()
19217
- };
19218
- }
19219
- module2.exports = mapCacheClear;
19220
- }
19221
- });
19222
- var require_isKeyable = __commonJS2({
19223
- "node_modules/lodash/_isKeyable.js"(exports2, module2) {
19224
- function isKeyable(value) {
19225
- var type = typeof value;
19226
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
19227
- }
19228
- module2.exports = isKeyable;
19229
- }
19230
- });
19231
- var require_getMapData = __commonJS2({
19232
- "node_modules/lodash/_getMapData.js"(exports2, module2) {
19233
- var isKeyable = require_isKeyable();
19234
- function getMapData(map, key) {
19235
- var data = map.__data__;
19236
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
19237
- }
19238
- module2.exports = getMapData;
19239
- }
19240
- });
19241
- var require_mapCacheDelete = __commonJS2({
19242
- "node_modules/lodash/_mapCacheDelete.js"(exports2, module2) {
19243
- var getMapData = require_getMapData();
19244
- function mapCacheDelete(key) {
19245
- var result = getMapData(this, key)["delete"](key);
19246
- this.size -= result ? 1 : 0;
19247
- return result;
19248
- }
19249
- module2.exports = mapCacheDelete;
19250
- }
19251
- });
19252
- var require_mapCacheGet = __commonJS2({
19253
- "node_modules/lodash/_mapCacheGet.js"(exports2, module2) {
19254
- var getMapData = require_getMapData();
19255
- function mapCacheGet(key) {
19256
- return getMapData(this, key).get(key);
19257
- }
19258
- module2.exports = mapCacheGet;
19259
- }
19260
- });
19261
- var require_mapCacheHas = __commonJS2({
19262
- "node_modules/lodash/_mapCacheHas.js"(exports2, module2) {
19263
- var getMapData = require_getMapData();
19264
- function mapCacheHas(key) {
19265
- return getMapData(this, key).has(key);
19266
- }
19267
- module2.exports = mapCacheHas;
19268
- }
19269
- });
19270
- var require_mapCacheSet = __commonJS2({
19271
- "node_modules/lodash/_mapCacheSet.js"(exports2, module2) {
19272
- var getMapData = require_getMapData();
19273
- function mapCacheSet(key, value) {
19274
- var data = getMapData(this, key), size = data.size;
19275
- data.set(key, value);
19276
- this.size += data.size == size ? 0 : 1;
19277
- return this;
19278
- }
19279
- module2.exports = mapCacheSet;
19280
- }
19281
- });
19282
- var require_MapCache = __commonJS2({
19283
- "node_modules/lodash/_MapCache.js"(exports2, module2) {
19284
- var mapCacheClear = require_mapCacheClear();
19285
- var mapCacheDelete = require_mapCacheDelete();
19286
- var mapCacheGet = require_mapCacheGet();
19287
- var mapCacheHas = require_mapCacheHas();
19288
- var mapCacheSet = require_mapCacheSet();
19289
- function MapCache(entries) {
19290
- var index = -1, length = entries == null ? 0 : entries.length;
19291
- this.clear();
19292
- while (++index < length) {
19293
- var entry = entries[index];
19294
- this.set(entry[0], entry[1]);
19295
- }
19296
- }
19297
- MapCache.prototype.clear = mapCacheClear;
19298
- MapCache.prototype["delete"] = mapCacheDelete;
19299
- MapCache.prototype.get = mapCacheGet;
19300
- MapCache.prototype.has = mapCacheHas;
19301
- MapCache.prototype.set = mapCacheSet;
19302
- module2.exports = MapCache;
19303
- }
19304
- });
19305
- var require_stackSet = __commonJS2({
19306
- "node_modules/lodash/_stackSet.js"(exports2, module2) {
19307
- var ListCache = require_ListCache();
19308
- var Map2 = require_Map();
19309
- var MapCache = require_MapCache();
19310
- var LARGE_ARRAY_SIZE = 200;
19311
- function stackSet(key, value) {
19312
- var data = this.__data__;
19313
- if (data instanceof ListCache) {
19314
- var pairs = data.__data__;
19315
- if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
19316
- pairs.push([key, value]);
19317
- this.size = ++data.size;
19318
- return this;
19319
- }
19320
- data = this.__data__ = new MapCache(pairs);
19321
- }
19322
- data.set(key, value);
19323
- this.size = data.size;
19324
- return this;
19325
- }
19326
- module2.exports = stackSet;
19327
- }
19328
- });
19329
- var require_Stack = __commonJS2({
19330
- "node_modules/lodash/_Stack.js"(exports2, module2) {
19331
- var ListCache = require_ListCache();
19332
- var stackClear = require_stackClear();
19333
- var stackDelete = require_stackDelete();
19334
- var stackGet = require_stackGet();
19335
- var stackHas = require_stackHas();
19336
- var stackSet = require_stackSet();
19337
- function Stack(entries) {
19338
- var data = this.__data__ = new ListCache(entries);
19339
- this.size = data.size;
19340
- }
19341
- Stack.prototype.clear = stackClear;
19342
- Stack.prototype["delete"] = stackDelete;
19343
- Stack.prototype.get = stackGet;
19344
- Stack.prototype.has = stackHas;
19345
- Stack.prototype.set = stackSet;
19346
- module2.exports = Stack;
19347
- }
19348
- });
19349
- var require_setCacheAdd = __commonJS2({
19350
- "node_modules/lodash/_setCacheAdd.js"(exports2, module2) {
19351
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
19352
- function setCacheAdd(value) {
19353
- this.__data__.set(value, HASH_UNDEFINED);
19354
- return this;
19355
- }
19356
- module2.exports = setCacheAdd;
19357
- }
19358
- });
19359
- var require_setCacheHas = __commonJS2({
19360
- "node_modules/lodash/_setCacheHas.js"(exports2, module2) {
19361
- function setCacheHas(value) {
19362
- return this.__data__.has(value);
19363
- }
19364
- module2.exports = setCacheHas;
19365
- }
19366
- });
19367
- var require_SetCache = __commonJS2({
19368
- "node_modules/lodash/_SetCache.js"(exports2, module2) {
19369
- var MapCache = require_MapCache();
19370
- var setCacheAdd = require_setCacheAdd();
19371
- var setCacheHas = require_setCacheHas();
19372
- function SetCache(values) {
19373
- var index = -1, length = values == null ? 0 : values.length;
19374
- this.__data__ = new MapCache();
19375
- while (++index < length) {
19376
- this.add(values[index]);
19377
- }
19378
- }
19379
- SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
19380
- SetCache.prototype.has = setCacheHas;
19381
- module2.exports = SetCache;
19382
- }
19383
- });
19384
- var require_arraySome = __commonJS2({
19385
- "node_modules/lodash/_arraySome.js"(exports2, module2) {
19386
- function arraySome(array, predicate) {
19387
- var index = -1, length = array == null ? 0 : array.length;
19388
- while (++index < length) {
19389
- if (predicate(array[index], index, array)) {
19390
- return true;
19391
- }
19392
- }
19393
- return false;
19394
- }
19395
- module2.exports = arraySome;
19396
- }
19397
- });
19398
- var require_cacheHas = __commonJS2({
19399
- "node_modules/lodash/_cacheHas.js"(exports2, module2) {
19400
- function cacheHas(cache, key) {
19401
- return cache.has(key);
19402
- }
19403
- module2.exports = cacheHas;
19404
- }
19405
- });
19406
- var require_equalArrays = __commonJS2({
19407
- "node_modules/lodash/_equalArrays.js"(exports2, module2) {
19408
- var SetCache = require_SetCache();
19409
- var arraySome = require_arraySome();
19410
- var cacheHas = require_cacheHas();
19411
- var COMPARE_PARTIAL_FLAG = 1;
19412
- var COMPARE_UNORDERED_FLAG = 2;
19413
- function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
19414
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
19415
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
19416
- return false;
19417
- }
19418
- var arrStacked = stack.get(array);
19419
- var othStacked = stack.get(other);
19420
- if (arrStacked && othStacked) {
19421
- return arrStacked == other && othStacked == array;
19422
- }
19423
- var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;
19424
- stack.set(array, other);
19425
- stack.set(other, array);
19426
- while (++index < arrLength) {
19427
- var arrValue = array[index], othValue = other[index];
19428
- if (customizer) {
19429
- var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
19430
- }
19431
- if (compared !== void 0) {
19432
- if (compared) {
19433
- continue;
19434
- }
19435
- result = false;
19436
- break;
19437
- }
19438
- if (seen) {
19439
- if (!arraySome(other, function(othValue2, othIndex) {
19440
- if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
19441
- return seen.push(othIndex);
19442
- }
19443
- })) {
19444
- result = false;
19445
- break;
19446
- }
19447
- } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
19448
- result = false;
19449
- break;
19450
- }
19451
- }
19452
- stack["delete"](array);
19453
- stack["delete"](other);
19454
- return result;
19455
- }
19456
- module2.exports = equalArrays;
19457
- }
19458
- });
19459
- var require_Uint8Array = __commonJS2({
19460
- "node_modules/lodash/_Uint8Array.js"(exports2, module2) {
19461
- var root = require_root();
19462
- var Uint8Array2 = root.Uint8Array;
19463
- module2.exports = Uint8Array2;
19464
- }
19465
- });
19466
- var require_mapToArray = __commonJS2({
19467
- "node_modules/lodash/_mapToArray.js"(exports2, module2) {
19468
- function mapToArray(map) {
19469
- var index = -1, result = Array(map.size);
19470
- map.forEach(function(value, key) {
19471
- result[++index] = [key, value];
19472
- });
19473
- return result;
19474
- }
19475
- module2.exports = mapToArray;
19476
- }
19477
- });
19478
- var require_setToArray = __commonJS2({
19479
- "node_modules/lodash/_setToArray.js"(exports2, module2) {
19480
- function setToArray(set) {
19481
- var index = -1, result = Array(set.size);
19482
- set.forEach(function(value) {
19483
- result[++index] = value;
19484
- });
19485
- return result;
19486
- }
19487
- module2.exports = setToArray;
19488
- }
19489
- });
19490
- var require_equalByTag = __commonJS2({
19491
- "node_modules/lodash/_equalByTag.js"(exports2, module2) {
19492
- var Symbol2 = require_Symbol();
19493
- var Uint8Array2 = require_Uint8Array();
19494
- var eq = require_eq();
19495
- var equalArrays = require_equalArrays();
19496
- var mapToArray = require_mapToArray();
19497
- var setToArray = require_setToArray();
19498
- var COMPARE_PARTIAL_FLAG = 1;
19499
- var COMPARE_UNORDERED_FLAG = 2;
19500
- var boolTag = "[object Boolean]";
19501
- var dateTag = "[object Date]";
19502
- var errorTag = "[object Error]";
19503
- var mapTag = "[object Map]";
19504
- var numberTag = "[object Number]";
19505
- var regexpTag = "[object RegExp]";
19506
- var setTag = "[object Set]";
19507
- var stringTag = "[object String]";
19508
- var symbolTag = "[object Symbol]";
19509
- var arrayBufferTag = "[object ArrayBuffer]";
19510
- var dataViewTag = "[object DataView]";
19511
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
19512
- var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
19513
- function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
19514
- switch (tag) {
19515
- case dataViewTag:
19516
- if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
19517
- return false;
19518
- }
19519
- object = object.buffer;
19520
- other = other.buffer;
19521
- case arrayBufferTag:
19522
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
19523
- return false;
19524
- }
19525
- return true;
19526
- case boolTag:
19527
- case dateTag:
19528
- case numberTag:
19529
- return eq(+object, +other);
19530
- case errorTag:
19531
- return object.name == other.name && object.message == other.message;
19532
- case regexpTag:
19533
- case stringTag:
19534
- return object == other + "";
19535
- case mapTag:
19536
- var convert = mapToArray;
19537
- case setTag:
19538
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
19539
- convert || (convert = setToArray);
19540
- if (object.size != other.size && !isPartial) {
19541
- return false;
19542
- }
19543
- var stacked = stack.get(object);
19544
- if (stacked) {
19545
- return stacked == other;
19546
- }
19547
- bitmask |= COMPARE_UNORDERED_FLAG;
19548
- stack.set(object, other);
19549
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
19550
- stack["delete"](object);
19551
- return result;
19552
- case symbolTag:
19553
- if (symbolValueOf) {
19554
- return symbolValueOf.call(object) == symbolValueOf.call(other);
19555
- }
19556
- }
19557
- return false;
19558
- }
19559
- module2.exports = equalByTag;
19560
- }
19561
- });
19562
- var require_arrayPush = __commonJS2({
19563
- "node_modules/lodash/_arrayPush.js"(exports2, module2) {
19564
- function arrayPush(array, values) {
19565
- var index = -1, length = values.length, offset = array.length;
19566
- while (++index < length) {
19567
- array[offset + index] = values[index];
19568
- }
19569
- return array;
19570
- }
19571
- module2.exports = arrayPush;
19572
- }
19573
- });
19574
- var require_isArray = __commonJS2({
19575
- "node_modules/lodash/isArray.js"(exports2, module2) {
19576
- var isArray = Array.isArray;
19577
- module2.exports = isArray;
19578
- }
19579
- });
19580
- var require_baseGetAllKeys = __commonJS2({
19581
- "node_modules/lodash/_baseGetAllKeys.js"(exports2, module2) {
19582
- var arrayPush = require_arrayPush();
19583
- var isArray = require_isArray();
19584
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
19585
- var result = keysFunc(object);
19586
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
19587
- }
19588
- module2.exports = baseGetAllKeys;
19589
- }
19590
- });
19591
- var require_arrayFilter = __commonJS2({
19592
- "node_modules/lodash/_arrayFilter.js"(exports2, module2) {
19593
- function arrayFilter(array, predicate) {
19594
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
19595
- while (++index < length) {
19596
- var value = array[index];
19597
- if (predicate(value, index, array)) {
19598
- result[resIndex++] = value;
19599
- }
19600
- }
19601
- return result;
19602
- }
19603
- module2.exports = arrayFilter;
19604
- }
19605
- });
19606
- var require_stubArray = __commonJS2({
19607
- "node_modules/lodash/stubArray.js"(exports2, module2) {
19608
- function stubArray() {
19609
- return [];
19610
- }
19611
- module2.exports = stubArray;
19612
- }
19613
- });
19614
- var require_getSymbols = __commonJS2({
19615
- "node_modules/lodash/_getSymbols.js"(exports2, module2) {
19616
- var arrayFilter = require_arrayFilter();
19617
- var stubArray = require_stubArray();
19618
- var objectProto = Object.prototype;
19619
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
19620
- var nativeGetSymbols = Object.getOwnPropertySymbols;
19621
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
19622
- if (object == null) {
19623
- return [];
19624
- }
19625
- object = Object(object);
19626
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
19627
- return propertyIsEnumerable.call(object, symbol);
19628
- });
19629
- };
19630
- module2.exports = getSymbols;
19631
- }
19632
- });
19633
- var require_baseTimes = __commonJS2({
19634
- "node_modules/lodash/_baseTimes.js"(exports2, module2) {
19635
- function baseTimes(n, iteratee) {
19636
- var index = -1, result = Array(n);
19637
- while (++index < n) {
19638
- result[index] = iteratee(index);
19639
- }
19640
- return result;
19641
- }
19642
- module2.exports = baseTimes;
19643
- }
19644
- });
19645
- var require_isObjectLike = __commonJS2({
19646
- "node_modules/lodash/isObjectLike.js"(exports2, module2) {
19647
- function isObjectLike(value) {
19648
- return value != null && typeof value == "object";
19649
- }
19650
- module2.exports = isObjectLike;
19651
- }
19652
- });
19653
- var require_baseIsArguments = __commonJS2({
19654
- "node_modules/lodash/_baseIsArguments.js"(exports2, module2) {
19655
- var baseGetTag = require_baseGetTag();
19656
- var isObjectLike = require_isObjectLike();
19657
- var argsTag = "[object Arguments]";
19658
- function baseIsArguments(value) {
19659
- return isObjectLike(value) && baseGetTag(value) == argsTag;
19660
- }
19661
- module2.exports = baseIsArguments;
19662
- }
19663
- });
19664
- var require_isArguments = __commonJS2({
19665
- "node_modules/lodash/isArguments.js"(exports2, module2) {
19666
- var baseIsArguments = require_baseIsArguments();
19667
- var isObjectLike = require_isObjectLike();
19668
- var objectProto = Object.prototype;
19669
- var hasOwnProperty = objectProto.hasOwnProperty;
19670
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
19671
- var isArguments = baseIsArguments(function() {
19672
- return arguments;
19673
- }()) ? baseIsArguments : function(value) {
19674
- return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
19675
- };
19676
- module2.exports = isArguments;
19677
- }
19678
- });
19679
- var require_stubFalse = __commonJS2({
19680
- "node_modules/lodash/stubFalse.js"(exports2, module2) {
19681
- function stubFalse() {
19682
- return false;
19683
- }
19684
- module2.exports = stubFalse;
19685
- }
19686
- });
19687
- var require_isBuffer = __commonJS2({
19688
- "node_modules/lodash/isBuffer.js"(exports2, module2) {
19689
- var root = require_root();
19690
- var stubFalse = require_stubFalse();
19691
- var freeExports = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2;
19692
- var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
19693
- var moduleExports = freeModule && freeModule.exports === freeExports;
19694
- var Buffer2 = moduleExports ? root.Buffer : void 0;
19695
- var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
19696
- var isBuffer = nativeIsBuffer || stubFalse;
19697
- module2.exports = isBuffer;
19698
- }
19699
- });
19700
- var require_isIndex = __commonJS2({
19701
- "node_modules/lodash/_isIndex.js"(exports2, module2) {
19702
- var MAX_SAFE_INTEGER = 9007199254740991;
19703
- var reIsUint = /^(?:0|[1-9]\d*)$/;
19704
- function isIndex(value, length) {
19705
- var type = typeof value;
19706
- length = length == null ? MAX_SAFE_INTEGER : length;
19707
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
19708
- }
19709
- module2.exports = isIndex;
19710
- }
19711
- });
19712
- var require_isLength = __commonJS2({
19713
- "node_modules/lodash/isLength.js"(exports2, module2) {
19714
- var MAX_SAFE_INTEGER = 9007199254740991;
19715
- function isLength(value) {
19716
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
19717
- }
19718
- module2.exports = isLength;
19719
- }
19720
- });
19721
- var require_baseIsTypedArray = __commonJS2({
19722
- "node_modules/lodash/_baseIsTypedArray.js"(exports2, module2) {
19723
- var baseGetTag = require_baseGetTag();
19724
- var isLength = require_isLength();
19725
- var isObjectLike = require_isObjectLike();
19726
- var argsTag = "[object Arguments]";
19727
- var arrayTag = "[object Array]";
19728
- var boolTag = "[object Boolean]";
19729
- var dateTag = "[object Date]";
19730
- var errorTag = "[object Error]";
19731
- var funcTag = "[object Function]";
19732
- var mapTag = "[object Map]";
19733
- var numberTag = "[object Number]";
19734
- var objectTag = "[object Object]";
19735
- var regexpTag = "[object RegExp]";
19736
- var setTag = "[object Set]";
19737
- var stringTag = "[object String]";
19738
- var weakMapTag = "[object WeakMap]";
19739
- var arrayBufferTag = "[object ArrayBuffer]";
19740
- var dataViewTag = "[object DataView]";
19741
- var float32Tag = "[object Float32Array]";
19742
- var float64Tag = "[object Float64Array]";
19743
- var int8Tag = "[object Int8Array]";
19744
- var int16Tag = "[object Int16Array]";
19745
- var int32Tag = "[object Int32Array]";
19746
- var uint8Tag = "[object Uint8Array]";
19747
- var uint8ClampedTag = "[object Uint8ClampedArray]";
19748
- var uint16Tag = "[object Uint16Array]";
19749
- var uint32Tag = "[object Uint32Array]";
19750
- var typedArrayTags = {};
19751
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
19752
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
19753
- function baseIsTypedArray(value) {
19754
- return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
19755
- }
19756
- module2.exports = baseIsTypedArray;
19757
- }
19758
- });
19759
- var require_baseUnary = __commonJS2({
19760
- "node_modules/lodash/_baseUnary.js"(exports2, module2) {
19761
- function baseUnary(func) {
19762
- return function(value) {
19763
- return func(value);
19764
- };
19765
- }
19766
- module2.exports = baseUnary;
19767
- }
19768
- });
19769
- var require_nodeUtil = __commonJS2({
19770
- "node_modules/lodash/_nodeUtil.js"(exports2, module2) {
19771
- var freeGlobal = require_freeGlobal();
19772
- var freeExports = typeof exports2 == "object" && exports2 && !exports2.nodeType && exports2;
19773
- var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2;
19774
- var moduleExports = freeModule && freeModule.exports === freeExports;
19775
- var freeProcess = moduleExports && freeGlobal.process;
19776
- var nodeUtil = function() {
19777
- try {
19778
- var types = freeModule && freeModule.require && freeModule.require("util").types;
19779
- if (types) {
19780
- return types;
19781
- }
19782
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
19783
- } catch (e) {
19784
- }
19785
- }();
19786
- module2.exports = nodeUtil;
19787
- }
19788
- });
19789
- var require_isTypedArray = __commonJS2({
19790
- "node_modules/lodash/isTypedArray.js"(exports2, module2) {
19791
- var baseIsTypedArray = require_baseIsTypedArray();
19792
- var baseUnary = require_baseUnary();
19793
- var nodeUtil = require_nodeUtil();
19794
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
19795
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
19796
- module2.exports = isTypedArray;
19797
- }
19798
- });
19799
- var require_arrayLikeKeys = __commonJS2({
19800
- "node_modules/lodash/_arrayLikeKeys.js"(exports2, module2) {
19801
- var baseTimes = require_baseTimes();
19802
- var isArguments = require_isArguments();
19803
- var isArray = require_isArray();
19804
- var isBuffer = require_isBuffer();
19805
- var isIndex = require_isIndex();
19806
- var isTypedArray = require_isTypedArray();
19807
- var objectProto = Object.prototype;
19808
- var hasOwnProperty = objectProto.hasOwnProperty;
19809
- function arrayLikeKeys(value, inherited) {
19810
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
19811
- for (var key in value) {
19812
- if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
19813
- result.push(key);
19814
- }
19815
- }
19816
- return result;
19817
- }
19818
- module2.exports = arrayLikeKeys;
19819
- }
19820
- });
19821
- var require_isPrototype = __commonJS2({
19822
- "node_modules/lodash/_isPrototype.js"(exports2, module2) {
19823
- var objectProto = Object.prototype;
19824
- function isPrototype(value) {
19825
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
19826
- return value === proto;
19827
- }
19828
- module2.exports = isPrototype;
19829
- }
19830
- });
19831
- var require_overArg = __commonJS2({
19832
- "node_modules/lodash/_overArg.js"(exports2, module2) {
19833
- function overArg(func, transform) {
19834
- return function(arg) {
19835
- return func(transform(arg));
19836
- };
19837
- }
19838
- module2.exports = overArg;
19839
- }
19840
- });
19841
- var require_nativeKeys = __commonJS2({
19842
- "node_modules/lodash/_nativeKeys.js"(exports2, module2) {
19843
- var overArg = require_overArg();
19844
- var nativeKeys = overArg(Object.keys, Object);
19845
- module2.exports = nativeKeys;
19846
- }
19847
- });
19848
- var require_baseKeys = __commonJS2({
19849
- "node_modules/lodash/_baseKeys.js"(exports2, module2) {
19850
- var isPrototype = require_isPrototype();
19851
- var nativeKeys = require_nativeKeys();
19852
- var objectProto = Object.prototype;
19853
- var hasOwnProperty = objectProto.hasOwnProperty;
19854
- function baseKeys(object) {
19855
- if (!isPrototype(object)) {
19856
- return nativeKeys(object);
19857
- }
19858
- var result = [];
19859
- for (var key in Object(object)) {
19860
- if (hasOwnProperty.call(object, key) && key != "constructor") {
19861
- result.push(key);
19862
- }
19863
- }
19864
- return result;
19865
- }
19866
- module2.exports = baseKeys;
19867
- }
19868
- });
19869
- var require_isArrayLike = __commonJS2({
19870
- "node_modules/lodash/isArrayLike.js"(exports2, module2) {
19871
- var isFunction = require_isFunction();
19872
- var isLength = require_isLength();
19873
- function isArrayLike(value) {
19874
- return value != null && isLength(value.length) && !isFunction(value);
19875
- }
19876
- module2.exports = isArrayLike;
19877
- }
19878
- });
19879
- var require_keys = __commonJS2({
19880
- "node_modules/lodash/keys.js"(exports2, module2) {
19881
- var arrayLikeKeys = require_arrayLikeKeys();
19882
- var baseKeys = require_baseKeys();
19883
- var isArrayLike = require_isArrayLike();
19884
- function keys(object) {
19885
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
19886
- }
19887
- module2.exports = keys;
19888
- }
19889
- });
19890
- var require_getAllKeys = __commonJS2({
19891
- "node_modules/lodash/_getAllKeys.js"(exports2, module2) {
19892
- var baseGetAllKeys = require_baseGetAllKeys();
19893
- var getSymbols = require_getSymbols();
19894
- var keys = require_keys();
19895
- function getAllKeys(object) {
19896
- return baseGetAllKeys(object, keys, getSymbols);
19897
- }
19898
- module2.exports = getAllKeys;
19899
- }
19900
- });
19901
- var require_equalObjects = __commonJS2({
19902
- "node_modules/lodash/_equalObjects.js"(exports2, module2) {
19903
- var getAllKeys = require_getAllKeys();
19904
- var COMPARE_PARTIAL_FLAG = 1;
19905
- var objectProto = Object.prototype;
19906
- var hasOwnProperty = objectProto.hasOwnProperty;
19907
- function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
19908
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
19909
- if (objLength != othLength && !isPartial) {
19910
- return false;
19911
- }
19912
- var index = objLength;
19913
- while (index--) {
19914
- var key = objProps[index];
19915
- if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
19916
- return false;
19917
- }
19918
- }
19919
- var objStacked = stack.get(object);
19920
- var othStacked = stack.get(other);
19921
- if (objStacked && othStacked) {
19922
- return objStacked == other && othStacked == object;
19923
- }
19924
- var result = true;
19925
- stack.set(object, other);
19926
- stack.set(other, object);
19927
- var skipCtor = isPartial;
19928
- while (++index < objLength) {
19929
- key = objProps[index];
19930
- var objValue = object[key], othValue = other[key];
19931
- if (customizer) {
19932
- var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
19933
- }
19934
- if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
19935
- result = false;
19936
- break;
19937
- }
19938
- skipCtor || (skipCtor = key == "constructor");
19939
- }
19940
- if (result && !skipCtor) {
19941
- var objCtor = object.constructor, othCtor = other.constructor;
19942
- if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
19943
- result = false;
19944
- }
19945
- }
19946
- stack["delete"](object);
19947
- stack["delete"](other);
19948
- return result;
19949
- }
19950
- module2.exports = equalObjects;
19951
- }
19952
- });
19953
- var require_DataView = __commonJS2({
19954
- "node_modules/lodash/_DataView.js"(exports2, module2) {
19955
- var getNative = require_getNative();
19956
- var root = require_root();
19957
- var DataView = getNative(root, "DataView");
19958
- module2.exports = DataView;
19959
- }
19960
- });
19961
- var require_Promise = __commonJS2({
19962
- "node_modules/lodash/_Promise.js"(exports2, module2) {
19963
- var getNative = require_getNative();
19964
- var root = require_root();
19965
- var Promise2 = getNative(root, "Promise");
19966
- module2.exports = Promise2;
19967
- }
19968
- });
19969
- var require_Set = __commonJS2({
19970
- "node_modules/lodash/_Set.js"(exports2, module2) {
19971
- var getNative = require_getNative();
19972
- var root = require_root();
19973
- var Set2 = getNative(root, "Set");
19974
- module2.exports = Set2;
19975
- }
19976
- });
19977
- var require_WeakMap = __commonJS2({
19978
- "node_modules/lodash/_WeakMap.js"(exports2, module2) {
19979
- var getNative = require_getNative();
19980
- var root = require_root();
19981
- var WeakMap2 = getNative(root, "WeakMap");
19982
- module2.exports = WeakMap2;
19983
- }
19984
- });
19985
- var require_getTag = __commonJS2({
19986
- "node_modules/lodash/_getTag.js"(exports2, module2) {
19987
- var DataView = require_DataView();
19988
- var Map2 = require_Map();
19989
- var Promise2 = require_Promise();
19990
- var Set2 = require_Set();
19991
- var WeakMap2 = require_WeakMap();
19992
- var baseGetTag = require_baseGetTag();
19993
- var toSource = require_toSource();
19994
- var mapTag = "[object Map]";
19995
- var objectTag = "[object Object]";
19996
- var promiseTag = "[object Promise]";
19997
- var setTag = "[object Set]";
19998
- var weakMapTag = "[object WeakMap]";
19999
- var dataViewTag = "[object DataView]";
20000
- var dataViewCtorString = toSource(DataView);
20001
- var mapCtorString = toSource(Map2);
20002
- var promiseCtorString = toSource(Promise2);
20003
- var setCtorString = toSource(Set2);
20004
- var weakMapCtorString = toSource(WeakMap2);
20005
- var getTag = baseGetTag;
20006
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) {
20007
- getTag = function(value) {
20008
- var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
20009
- if (ctorString) {
20010
- switch (ctorString) {
20011
- case dataViewCtorString:
20012
- return dataViewTag;
20013
- case mapCtorString:
20014
- return mapTag;
20015
- case promiseCtorString:
20016
- return promiseTag;
20017
- case setCtorString:
20018
- return setTag;
20019
- case weakMapCtorString:
20020
- return weakMapTag;
20021
- }
20022
- }
20023
- return result;
20024
- };
20025
- }
20026
- module2.exports = getTag;
20027
- }
20028
- });
20029
- var require_baseIsEqualDeep = __commonJS2({
20030
- "node_modules/lodash/_baseIsEqualDeep.js"(exports2, module2) {
20031
- var Stack = require_Stack();
20032
- var equalArrays = require_equalArrays();
20033
- var equalByTag = require_equalByTag();
20034
- var equalObjects = require_equalObjects();
20035
- var getTag = require_getTag();
20036
- var isArray = require_isArray();
20037
- var isBuffer = require_isBuffer();
20038
- var isTypedArray = require_isTypedArray();
20039
- var COMPARE_PARTIAL_FLAG = 1;
20040
- var argsTag = "[object Arguments]";
20041
- var arrayTag = "[object Array]";
20042
- var objectTag = "[object Object]";
20043
- var objectProto = Object.prototype;
20044
- var hasOwnProperty = objectProto.hasOwnProperty;
20045
- function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
20046
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
20047
- objTag = objTag == argsTag ? objectTag : objTag;
20048
- othTag = othTag == argsTag ? objectTag : othTag;
20049
- var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
20050
- if (isSameTag && isBuffer(object)) {
20051
- if (!isBuffer(other)) {
20052
- return false;
20053
- }
20054
- objIsArr = true;
20055
- objIsObj = false;
20056
- }
20057
- if (isSameTag && !objIsObj) {
20058
- stack || (stack = new Stack());
20059
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
20060
- }
20061
- if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
20062
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
20063
- if (objIsWrapped || othIsWrapped) {
20064
- var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
20065
- stack || (stack = new Stack());
20066
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
20067
- }
20068
- }
20069
- if (!isSameTag) {
20070
- return false;
20071
- }
20072
- stack || (stack = new Stack());
20073
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
20074
- }
20075
- module2.exports = baseIsEqualDeep;
20076
- }
20077
- });
20078
- var require_baseIsEqual = __commonJS2({
20079
- "node_modules/lodash/_baseIsEqual.js"(exports2, module2) {
20080
- var baseIsEqualDeep = require_baseIsEqualDeep();
20081
- var isObjectLike = require_isObjectLike();
20082
- function baseIsEqual(value, other, bitmask, customizer, stack) {
20083
- if (value === other) {
20084
- return true;
20085
- }
20086
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
20087
- return value !== value && other !== other;
20088
- }
20089
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
20090
- }
20091
- module2.exports = baseIsEqual;
20092
- }
20093
- });
20094
- var require_baseIsMatch = __commonJS2({
20095
- "node_modules/lodash/_baseIsMatch.js"(exports2, module2) {
20096
- var Stack = require_Stack();
20097
- var baseIsEqual = require_baseIsEqual();
20098
- var COMPARE_PARTIAL_FLAG = 1;
20099
- var COMPARE_UNORDERED_FLAG = 2;
20100
- function baseIsMatch(object, source, matchData, customizer) {
20101
- var index = matchData.length, length = index, noCustomizer = !customizer;
20102
- if (object == null) {
20103
- return !length;
20104
- }
20105
- object = Object(object);
20106
- while (index--) {
20107
- var data = matchData[index];
20108
- if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
20109
- return false;
20110
- }
20111
- }
20112
- while (++index < length) {
20113
- data = matchData[index];
20114
- var key = data[0], objValue = object[key], srcValue = data[1];
20115
- if (noCustomizer && data[2]) {
20116
- if (objValue === void 0 && !(key in object)) {
20117
- return false;
20118
- }
20119
- } else {
20120
- var stack = new Stack();
20121
- if (customizer) {
20122
- var result = customizer(objValue, srcValue, key, object, source, stack);
20123
- }
20124
- if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {
20125
- return false;
20126
- }
20127
- }
20128
- }
20129
- return true;
20130
- }
20131
- module2.exports = baseIsMatch;
20132
- }
20133
- });
20134
- var require_isStrictComparable = __commonJS2({
20135
- "node_modules/lodash/_isStrictComparable.js"(exports2, module2) {
20136
- var isObject = require_isObject();
20137
- function isStrictComparable(value) {
20138
- return value === value && !isObject(value);
20139
- }
20140
- module2.exports = isStrictComparable;
20141
- }
20142
- });
20143
- var require_getMatchData = __commonJS2({
20144
- "node_modules/lodash/_getMatchData.js"(exports2, module2) {
20145
- var isStrictComparable = require_isStrictComparable();
20146
- var keys = require_keys();
20147
- function getMatchData(object) {
20148
- var result = keys(object), length = result.length;
20149
- while (length--) {
20150
- var key = result[length], value = object[key];
20151
- result[length] = [key, value, isStrictComparable(value)];
20152
- }
20153
- return result;
20154
- }
20155
- module2.exports = getMatchData;
20156
- }
20157
- });
20158
- var require_matchesStrictComparable = __commonJS2({
20159
- "node_modules/lodash/_matchesStrictComparable.js"(exports2, module2) {
20160
- function matchesStrictComparable(key, srcValue) {
20161
- return function(object) {
20162
- if (object == null) {
20163
- return false;
20164
- }
20165
- return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
20166
- };
20167
- }
20168
- module2.exports = matchesStrictComparable;
20169
- }
20170
- });
20171
- var require_baseMatches = __commonJS2({
20172
- "node_modules/lodash/_baseMatches.js"(exports2, module2) {
20173
- var baseIsMatch = require_baseIsMatch();
20174
- var getMatchData = require_getMatchData();
20175
- var matchesStrictComparable = require_matchesStrictComparable();
20176
- function baseMatches(source) {
20177
- var matchData = getMatchData(source);
20178
- if (matchData.length == 1 && matchData[0][2]) {
20179
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
20180
- }
20181
- return function(object) {
20182
- return object === source || baseIsMatch(object, source, matchData);
20183
- };
20184
- }
20185
- module2.exports = baseMatches;
20186
- }
20187
- });
20188
- var require_isSymbol = __commonJS2({
20189
- "node_modules/lodash/isSymbol.js"(exports2, module2) {
20190
- var baseGetTag = require_baseGetTag();
20191
- var isObjectLike = require_isObjectLike();
20192
- var symbolTag = "[object Symbol]";
20193
- function isSymbol(value) {
20194
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
20195
- }
20196
- module2.exports = isSymbol;
20197
- }
20198
- });
20199
- var require_isKey = __commonJS2({
20200
- "node_modules/lodash/_isKey.js"(exports2, module2) {
20201
- var isArray = require_isArray();
20202
- var isSymbol = require_isSymbol();
20203
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
20204
- var reIsPlainProp = /^\w*$/;
20205
- function isKey(value, object) {
20206
- if (isArray(value)) {
20207
- return false;
20208
- }
20209
- var type = typeof value;
20210
- if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
20211
- return true;
20212
- }
20213
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
20214
- }
20215
- module2.exports = isKey;
20216
- }
20217
- });
20218
- var require_memoize = __commonJS2({
20219
- "node_modules/lodash/memoize.js"(exports2, module2) {
20220
- var MapCache = require_MapCache();
20221
- var FUNC_ERROR_TEXT = "Expected a function";
20222
- function memoize(func, resolver) {
20223
- if (typeof func != "function" || resolver != null && typeof resolver != "function") {
20224
- throw new TypeError(FUNC_ERROR_TEXT);
20225
- }
20226
- var memoized = function() {
20227
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
20228
- if (cache.has(key)) {
20229
- return cache.get(key);
20230
- }
20231
- var result = func.apply(this, args);
20232
- memoized.cache = cache.set(key, result) || cache;
20233
- return result;
20234
- };
20235
- memoized.cache = new (memoize.Cache || MapCache)();
20236
- return memoized;
20237
- }
20238
- memoize.Cache = MapCache;
20239
- module2.exports = memoize;
20240
- }
20241
- });
20242
- var require_memoizeCapped = __commonJS2({
20243
- "node_modules/lodash/_memoizeCapped.js"(exports2, module2) {
20244
- var memoize = require_memoize();
20245
- var MAX_MEMOIZE_SIZE = 500;
20246
- function memoizeCapped(func) {
20247
- var result = memoize(func, function(key) {
20248
- if (cache.size === MAX_MEMOIZE_SIZE) {
20249
- cache.clear();
20250
- }
20251
- return key;
20252
- });
20253
- var cache = result.cache;
20254
- return result;
20255
- }
20256
- module2.exports = memoizeCapped;
20257
- }
20258
- });
20259
- var require_stringToPath = __commonJS2({
20260
- "node_modules/lodash/_stringToPath.js"(exports2, module2) {
20261
- var memoizeCapped = require_memoizeCapped();
20262
- var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
20263
- var reEscapeChar = /\\(\\)?/g;
20264
- var stringToPath = memoizeCapped(function(string) {
20265
- var result = [];
20266
- if (string.charCodeAt(0) === 46) {
20267
- result.push("");
20268
- }
20269
- string.replace(rePropName, function(match, number, quote, subString) {
20270
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
20271
- });
20272
- return result;
20273
- });
20274
- module2.exports = stringToPath;
20275
- }
20276
- });
20277
- var require_arrayMap = __commonJS2({
20278
- "node_modules/lodash/_arrayMap.js"(exports2, module2) {
20279
- function arrayMap(array, iteratee) {
20280
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
20281
- while (++index < length) {
20282
- result[index] = iteratee(array[index], index, array);
20283
- }
20284
- return result;
20285
- }
20286
- module2.exports = arrayMap;
20287
- }
20288
- });
20289
- var require_baseToString = __commonJS2({
20290
- "node_modules/lodash/_baseToString.js"(exports2, module2) {
20291
- var Symbol2 = require_Symbol();
20292
- var arrayMap = require_arrayMap();
20293
- var isArray = require_isArray();
20294
- var isSymbol = require_isSymbol();
20295
- var INFINITY = 1 / 0;
20296
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
20297
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
20298
- function baseToString(value) {
20299
- if (typeof value == "string") {
20300
- return value;
20301
- }
20302
- if (isArray(value)) {
20303
- return arrayMap(value, baseToString) + "";
20304
- }
20305
- if (isSymbol(value)) {
20306
- return symbolToString ? symbolToString.call(value) : "";
20307
- }
20308
- var result = value + "";
20309
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
20310
- }
20311
- module2.exports = baseToString;
20312
- }
20313
- });
20314
- var require_toString = __commonJS2({
20315
- "node_modules/lodash/toString.js"(exports2, module2) {
20316
- var baseToString = require_baseToString();
20317
- function toString(value) {
20318
- return value == null ? "" : baseToString(value);
20319
- }
20320
- module2.exports = toString;
20321
- }
20322
- });
20323
- var require_castPath = __commonJS2({
20324
- "node_modules/lodash/_castPath.js"(exports2, module2) {
20325
- var isArray = require_isArray();
20326
- var isKey = require_isKey();
20327
- var stringToPath = require_stringToPath();
20328
- var toString = require_toString();
20329
- function castPath(value, object) {
20330
- if (isArray(value)) {
20331
- return value;
20332
- }
20333
- return isKey(value, object) ? [value] : stringToPath(toString(value));
20334
- }
20335
- module2.exports = castPath;
20336
- }
20337
- });
20338
- var require_toKey = __commonJS2({
20339
- "node_modules/lodash/_toKey.js"(exports2, module2) {
20340
- var isSymbol = require_isSymbol();
20341
- var INFINITY = 1 / 0;
20342
- function toKey(value) {
20343
- if (typeof value == "string" || isSymbol(value)) {
20344
- return value;
20345
- }
20346
- var result = value + "";
20347
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
20348
- }
20349
- module2.exports = toKey;
20350
- }
20351
- });
20352
- var require_baseGet = __commonJS2({
20353
- "node_modules/lodash/_baseGet.js"(exports2, module2) {
20354
- var castPath = require_castPath();
20355
- var toKey = require_toKey();
20356
- function baseGet(object, path) {
20357
- path = castPath(path, object);
20358
- var index = 0, length = path.length;
20359
- while (object != null && index < length) {
20360
- object = object[toKey(path[index++])];
20361
- }
20362
- return index && index == length ? object : void 0;
20363
- }
20364
- module2.exports = baseGet;
20365
- }
20366
- });
20367
- var require_get = __commonJS2({
20368
- "node_modules/lodash/get.js"(exports2, module2) {
20369
- var baseGet = require_baseGet();
20370
- function get(object, path, defaultValue) {
20371
- var result = object == null ? void 0 : baseGet(object, path);
20372
- return result === void 0 ? defaultValue : result;
20373
- }
20374
- module2.exports = get;
20375
- }
20376
- });
20377
- var require_baseHasIn = __commonJS2({
20378
- "node_modules/lodash/_baseHasIn.js"(exports2, module2) {
20379
- function baseHasIn(object, key) {
20380
- return object != null && key in Object(object);
20381
- }
20382
- module2.exports = baseHasIn;
20383
- }
20384
- });
20385
- var require_hasPath = __commonJS2({
20386
- "node_modules/lodash/_hasPath.js"(exports2, module2) {
20387
- var castPath = require_castPath();
20388
- var isArguments = require_isArguments();
20389
- var isArray = require_isArray();
20390
- var isIndex = require_isIndex();
20391
- var isLength = require_isLength();
20392
- var toKey = require_toKey();
20393
- function hasPath(object, path, hasFunc) {
20394
- path = castPath(path, object);
20395
- var index = -1, length = path.length, result = false;
20396
- while (++index < length) {
20397
- var key = toKey(path[index]);
20398
- if (!(result = object != null && hasFunc(object, key))) {
20399
- break;
20400
- }
20401
- object = object[key];
20402
- }
20403
- if (result || ++index != length) {
20404
- return result;
20405
- }
20406
- length = object == null ? 0 : object.length;
20407
- return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
20408
- }
20409
- module2.exports = hasPath;
20410
- }
20411
- });
20412
- var require_hasIn = __commonJS2({
20413
- "node_modules/lodash/hasIn.js"(exports2, module2) {
20414
- var baseHasIn = require_baseHasIn();
20415
- var hasPath = require_hasPath();
20416
- function hasIn(object, path) {
20417
- return object != null && hasPath(object, path, baseHasIn);
20418
- }
20419
- module2.exports = hasIn;
20420
- }
20421
- });
20422
- var require_baseMatchesProperty = __commonJS2({
20423
- "node_modules/lodash/_baseMatchesProperty.js"(exports2, module2) {
20424
- var baseIsEqual = require_baseIsEqual();
20425
- var get = require_get();
20426
- var hasIn = require_hasIn();
20427
- var isKey = require_isKey();
20428
- var isStrictComparable = require_isStrictComparable();
20429
- var matchesStrictComparable = require_matchesStrictComparable();
20430
- var toKey = require_toKey();
20431
- var COMPARE_PARTIAL_FLAG = 1;
20432
- var COMPARE_UNORDERED_FLAG = 2;
20433
- function baseMatchesProperty(path, srcValue) {
20434
- if (isKey(path) && isStrictComparable(srcValue)) {
20435
- return matchesStrictComparable(toKey(path), srcValue);
20436
- }
20437
- return function(object) {
20438
- var objValue = get(object, path);
20439
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
20440
- };
20441
- }
20442
- module2.exports = baseMatchesProperty;
20443
- }
20444
- });
20445
- var require_identity = __commonJS2({
20446
- "node_modules/lodash/identity.js"(exports2, module2) {
20447
- function identity(value) {
20448
- return value;
20449
- }
20450
- module2.exports = identity;
20451
- }
20452
- });
20453
- var require_baseProperty = __commonJS2({
20454
- "node_modules/lodash/_baseProperty.js"(exports2, module2) {
20455
- function baseProperty(key) {
20456
- return function(object) {
20457
- return object == null ? void 0 : object[key];
20458
- };
20459
- }
20460
- module2.exports = baseProperty;
20461
- }
20462
- });
20463
- var require_basePropertyDeep = __commonJS2({
20464
- "node_modules/lodash/_basePropertyDeep.js"(exports2, module2) {
20465
- var baseGet = require_baseGet();
20466
- function basePropertyDeep(path) {
20467
- return function(object) {
20468
- return baseGet(object, path);
20469
- };
20470
- }
20471
- module2.exports = basePropertyDeep;
20472
- }
20473
- });
20474
- var require_property = __commonJS2({
20475
- "node_modules/lodash/property.js"(exports2, module2) {
20476
- var baseProperty = require_baseProperty();
20477
- var basePropertyDeep = require_basePropertyDeep();
20478
- var isKey = require_isKey();
20479
- var toKey = require_toKey();
20480
- function property(path) {
20481
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
20482
- }
20483
- module2.exports = property;
20484
- }
20485
- });
20486
- var require_baseIteratee = __commonJS2({
20487
- "node_modules/lodash/_baseIteratee.js"(exports2, module2) {
20488
- var baseMatches = require_baseMatches();
20489
- var baseMatchesProperty = require_baseMatchesProperty();
20490
- var identity = require_identity();
20491
- var isArray = require_isArray();
20492
- var property = require_property();
20493
- function baseIteratee(value) {
20494
- if (typeof value == "function") {
20495
- return value;
20496
- }
20497
- if (value == null) {
20498
- return identity;
20499
- }
20500
- if (typeof value == "object") {
20501
- return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
20502
- }
20503
- return property(value);
20504
- }
20505
- module2.exports = baseIteratee;
20506
- }
20507
- });
20508
- var require_baseFindIndex = __commonJS2({
20509
- "node_modules/lodash/_baseFindIndex.js"(exports2, module2) {
20510
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
20511
- var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
20512
- while (fromRight ? index-- : ++index < length) {
20513
- if (predicate(array[index], index, array)) {
20514
- return index;
20515
- }
20516
- }
20517
- return -1;
20518
- }
20519
- module2.exports = baseFindIndex;
20520
- }
20521
- });
20522
- var require_baseIsNaN = __commonJS2({
20523
- "node_modules/lodash/_baseIsNaN.js"(exports2, module2) {
20524
- function baseIsNaN(value) {
20525
- return value !== value;
20526
- }
20527
- module2.exports = baseIsNaN;
20528
- }
20529
- });
20530
- var require_strictIndexOf = __commonJS2({
20531
- "node_modules/lodash/_strictIndexOf.js"(exports2, module2) {
20532
- function strictIndexOf(array, value, fromIndex) {
20533
- var index = fromIndex - 1, length = array.length;
20534
- while (++index < length) {
20535
- if (array[index] === value) {
20536
- return index;
20537
- }
20538
- }
20539
- return -1;
20540
- }
20541
- module2.exports = strictIndexOf;
20542
- }
20543
- });
20544
- var require_baseIndexOf = __commonJS2({
20545
- "node_modules/lodash/_baseIndexOf.js"(exports2, module2) {
20546
- var baseFindIndex = require_baseFindIndex();
20547
- var baseIsNaN = require_baseIsNaN();
20548
- var strictIndexOf = require_strictIndexOf();
20549
- function baseIndexOf(array, value, fromIndex) {
20550
- return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
20551
- }
20552
- module2.exports = baseIndexOf;
20553
- }
20554
- });
20555
- var require_arrayIncludes = __commonJS2({
20556
- "node_modules/lodash/_arrayIncludes.js"(exports2, module2) {
20557
- var baseIndexOf = require_baseIndexOf();
20558
- function arrayIncludes(array, value) {
20559
- var length = array == null ? 0 : array.length;
20560
- return !!length && baseIndexOf(array, value, 0) > -1;
20561
- }
20562
- module2.exports = arrayIncludes;
20563
- }
20564
- });
20565
- var require_arrayIncludesWith = __commonJS2({
20566
- "node_modules/lodash/_arrayIncludesWith.js"(exports2, module2) {
20567
- function arrayIncludesWith(array, value, comparator) {
20568
- var index = -1, length = array == null ? 0 : array.length;
20569
- while (++index < length) {
20570
- if (comparator(value, array[index])) {
20571
- return true;
20572
- }
20573
- }
20574
- return false;
20575
- }
20576
- module2.exports = arrayIncludesWith;
20577
- }
20578
- });
20579
- var require_noop = __commonJS2({
20580
- "node_modules/lodash/noop.js"(exports2, module2) {
20581
- function noop() {
20582
- }
20583
- module2.exports = noop;
20584
- }
20585
- });
20586
- var require_createSet = __commonJS2({
20587
- "node_modules/lodash/_createSet.js"(exports2, module2) {
20588
- var Set2 = require_Set();
20589
- var noop = require_noop();
20590
- var setToArray = require_setToArray();
20591
- var INFINITY = 1 / 0;
20592
- var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values) {
20593
- return new Set2(values);
20594
- };
20595
- module2.exports = createSet;
20596
- }
20597
- });
20598
- var require_baseUniq = __commonJS2({
20599
- "node_modules/lodash/_baseUniq.js"(exports2, module2) {
20600
- var SetCache = require_SetCache();
20601
- var arrayIncludes = require_arrayIncludes();
20602
- var arrayIncludesWith = require_arrayIncludesWith();
20603
- var cacheHas = require_cacheHas();
20604
- var createSet = require_createSet();
20605
- var setToArray = require_setToArray();
20606
- var LARGE_ARRAY_SIZE = 200;
20607
- function baseUniq(array, iteratee, comparator) {
20608
- var index = -1, includes = arrayIncludes, length = array.length, isCommon = true, result = [], seen = result;
20609
- if (comparator) {
20610
- isCommon = false;
20611
- includes = arrayIncludesWith;
20612
- } else if (length >= LARGE_ARRAY_SIZE) {
20613
- var set = iteratee ? null : createSet(array);
20614
- if (set) {
20615
- return setToArray(set);
20616
- }
20617
- isCommon = false;
20618
- includes = cacheHas;
20619
- seen = new SetCache();
20620
- } else {
20621
- seen = iteratee ? [] : result;
20622
- }
20623
- outer:
20624
- while (++index < length) {
20625
- var value = array[index], computed = iteratee ? iteratee(value) : value;
20626
- value = comparator || value !== 0 ? value : 0;
20627
- if (isCommon && computed === computed) {
20628
- var seenIndex = seen.length;
20629
- while (seenIndex--) {
20630
- if (seen[seenIndex] === computed) {
20631
- continue outer;
20632
- }
20633
- }
20634
- if (iteratee) {
20635
- seen.push(computed);
20636
- }
20637
- result.push(value);
20638
- } else if (!includes(seen, computed, comparator)) {
20639
- if (seen !== result) {
20640
- seen.push(computed);
20641
- }
20642
- result.push(value);
20643
- }
20644
- }
20645
- return result;
20646
- }
20647
- module2.exports = baseUniq;
20648
- }
20649
- });
20650
- var require_uniqBy = __commonJS2({
20651
- "node_modules/lodash/uniqBy.js"(exports2, module2) {
20652
- var baseIteratee = require_baseIteratee();
20653
- var baseUniq = require_baseUniq();
20654
- function uniqBy(array, iteratee) {
20655
- return array && array.length ? baseUniq(array, baseIteratee(iteratee, 2)) : [];
20656
- }
20657
- module2.exports = uniqBy;
20658
- }
20659
- });
20660
- var require_arrayAggregator = __commonJS2({
20661
- "node_modules/lodash/_arrayAggregator.js"(exports2, module2) {
20662
- function arrayAggregator(array, setter, iteratee, accumulator) {
20663
- var index = -1, length = array == null ? 0 : array.length;
20664
- while (++index < length) {
20665
- var value = array[index];
20666
- setter(accumulator, value, iteratee(value), array);
20667
- }
20668
- return accumulator;
20669
- }
20670
- module2.exports = arrayAggregator;
20671
- }
20672
- });
20673
- var require_createBaseFor = __commonJS2({
20674
- "node_modules/lodash/_createBaseFor.js"(exports2, module2) {
20675
- function createBaseFor(fromRight) {
20676
- return function(object, iteratee, keysFunc) {
20677
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
20678
- while (length--) {
20679
- var key = props[fromRight ? length : ++index];
20680
- if (iteratee(iterable[key], key, iterable) === false) {
20681
- break;
20682
- }
20683
- }
20684
- return object;
20685
- };
20686
- }
20687
- module2.exports = createBaseFor;
20688
- }
20689
- });
20690
- var require_baseFor = __commonJS2({
20691
- "node_modules/lodash/_baseFor.js"(exports2, module2) {
20692
- var createBaseFor = require_createBaseFor();
20693
- var baseFor = createBaseFor();
20694
- module2.exports = baseFor;
20695
- }
20696
- });
20697
- var require_baseForOwn = __commonJS2({
20698
- "node_modules/lodash/_baseForOwn.js"(exports2, module2) {
20699
- var baseFor = require_baseFor();
20700
- var keys = require_keys();
20701
- function baseForOwn(object, iteratee) {
20702
- return object && baseFor(object, iteratee, keys);
20703
- }
20704
- module2.exports = baseForOwn;
20705
- }
20706
- });
20707
- var require_createBaseEach = __commonJS2({
20708
- "node_modules/lodash/_createBaseEach.js"(exports2, module2) {
20709
- var isArrayLike = require_isArrayLike();
20710
- function createBaseEach(eachFunc, fromRight) {
20711
- return function(collection, iteratee) {
20712
- if (collection == null) {
20713
- return collection;
20714
- }
20715
- if (!isArrayLike(collection)) {
20716
- return eachFunc(collection, iteratee);
20717
- }
20718
- var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
20719
- while (fromRight ? index-- : ++index < length) {
20720
- if (iteratee(iterable[index], index, iterable) === false) {
20721
- break;
20722
- }
20723
- }
20724
- return collection;
20725
- };
20726
- }
20727
- module2.exports = createBaseEach;
20728
- }
20729
- });
20730
- var require_baseEach = __commonJS2({
20731
- "node_modules/lodash/_baseEach.js"(exports2, module2) {
20732
- var baseForOwn = require_baseForOwn();
20733
- var createBaseEach = require_createBaseEach();
20734
- var baseEach = createBaseEach(baseForOwn);
20735
- module2.exports = baseEach;
20736
- }
20737
- });
20738
- var require_baseAggregator = __commonJS2({
20739
- "node_modules/lodash/_baseAggregator.js"(exports2, module2) {
20740
- var baseEach = require_baseEach();
20741
- function baseAggregator(collection, setter, iteratee, accumulator) {
20742
- baseEach(collection, function(value, key, collection2) {
20743
- setter(accumulator, value, iteratee(value), collection2);
20744
- });
20745
- return accumulator;
20746
- }
20747
- module2.exports = baseAggregator;
20748
- }
20749
- });
20750
- var require_createAggregator = __commonJS2({
20751
- "node_modules/lodash/_createAggregator.js"(exports2, module2) {
20752
- var arrayAggregator = require_arrayAggregator();
20753
- var baseAggregator = require_baseAggregator();
20754
- var baseIteratee = require_baseIteratee();
20755
- var isArray = require_isArray();
20756
- function createAggregator(setter, initializer) {
20757
- return function(collection, iteratee) {
20758
- var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {};
20759
- return func(collection, setter, baseIteratee(iteratee, 2), accumulator);
20760
- };
20761
- }
20762
- module2.exports = createAggregator;
20763
- }
20764
- });
20765
- var require_partition = __commonJS2({
20766
- "node_modules/lodash/partition.js"(exports2, module2) {
20767
- var createAggregator = require_createAggregator();
20768
- var partition = createAggregator(function(result, value, key) {
20769
- result[key ? 0 : 1].push(value);
20770
- }, function() {
20771
- return [[], []];
20772
- });
20773
- module2.exports = partition;
20774
- }
20775
- });
20776
18708
  var require_array3 = __commonJS2({
20777
18709
  "node_modules/fast-glob/out/utils/array.js"(exports2) {
20778
18710
  "use strict";
@@ -23363,6 +21295,24 @@ var require_out4 = __commonJS2({
23363
21295
  module2.exports = FastGlob;
23364
21296
  }
23365
21297
  });
21298
+ var require_uniq_by_key = __commonJS2({
21299
+ "src/utils/uniq-by-key.js"(exports2, module2) {
21300
+ "use strict";
21301
+ function uniqByKey(array, key) {
21302
+ const result = [];
21303
+ const seen = /* @__PURE__ */ new Set();
21304
+ for (const element of array) {
21305
+ const value = element[key];
21306
+ if (!seen.has(value)) {
21307
+ seen.add(value);
21308
+ result.push(element);
21309
+ }
21310
+ }
21311
+ return result;
21312
+ }
21313
+ module2.exports = uniqByKey;
21314
+ }
21315
+ });
23366
21316
  var require_create_language = __commonJS2({
23367
21317
  "src/utils/create-language.js"(exports2, module2) {
23368
21318
  "use strict";
@@ -23704,12 +21654,33 @@ var require_utils6 = __commonJS2({
23704
21654
  var require_is_block_comment = __commonJS2({
23705
21655
  "src/language-js/utils/is-block-comment.js"(exports2, module2) {
23706
21656
  "use strict";
23707
- function isBlockComment(comment) {
23708
- return comment.type === "Block" || comment.type === "CommentBlock" || comment.type === "MultiLine";
23709
- }
21657
+ var BLOCK_COMMENT_TYPES = /* @__PURE__ */ new Set(["Block", "CommentBlock", "MultiLine"]);
21658
+ var isBlockComment = (comment) => BLOCK_COMMENT_TYPES.has(comment === null || comment === void 0 ? void 0 : comment.type);
23710
21659
  module2.exports = isBlockComment;
23711
21660
  }
23712
21661
  });
21662
+ var require_is_node_matches = __commonJS2({
21663
+ "src/language-js/utils/is-node-matches.js"(exports2, module2) {
21664
+ "use strict";
21665
+ function isNodeMatchesNameOrPath(node, nameOrPath) {
21666
+ const names = nameOrPath.split(".");
21667
+ for (let index = names.length - 1; index >= 0; index--) {
21668
+ const name = names[index];
21669
+ if (index === 0) {
21670
+ return node.type === "Identifier" && node.name === name;
21671
+ }
21672
+ if (node.type !== "MemberExpression" || node.optional || node.computed || node.property.type !== "Identifier" || node.property.name !== name) {
21673
+ return false;
21674
+ }
21675
+ node = node.object;
21676
+ }
21677
+ }
21678
+ function isNodeMatches(node, nameOrPaths) {
21679
+ return nameOrPaths.some((nameOrPath) => isNodeMatchesNameOrPath(node, nameOrPath));
21680
+ }
21681
+ module2.exports = isNodeMatches;
21682
+ }
21683
+ });
23713
21684
  var require_utils7 = __commonJS2({
23714
21685
  "src/language-js/utils/index.js"(exports2, module2) {
23715
21686
  "use strict";
@@ -23728,14 +21699,17 @@ var require_utils7 = __commonJS2({
23728
21699
  hasSameLocStart
23729
21700
  } = require_loc();
23730
21701
  var isBlockComment = require_is_block_comment();
21702
+ var isNodeMatches = require_is_node_matches();
23731
21703
  var NON_LINE_TERMINATING_WHITE_SPACE = "(?:(?=.)\\s)";
23732
21704
  var FLOW_SHORTHAND_ANNOTATION = new RegExp(`^${NON_LINE_TERMINATING_WHITE_SPACE}*:`);
23733
21705
  var FLOW_ANNOTATION = new RegExp(`^${NON_LINE_TERMINATING_WHITE_SPACE}*::`);
23734
21706
  function hasFlowShorthandAnnotationComment(node) {
23735
- return node.extra && node.extra.parenthesized && isNonEmptyArray(node.trailingComments) && isBlockComment(node.trailingComments[0]) && FLOW_SHORTHAND_ANNOTATION.test(node.trailingComments[0].value);
21707
+ var _node$extra, _node$trailingComment;
21708
+ return ((_node$extra = node.extra) === null || _node$extra === void 0 ? void 0 : _node$extra.parenthesized) && isBlockComment((_node$trailingComment = node.trailingComments) === null || _node$trailingComment === void 0 ? void 0 : _node$trailingComment[0]) && FLOW_SHORTHAND_ANNOTATION.test(node.trailingComments[0].value);
23736
21709
  }
23737
21710
  function hasFlowAnnotationComment(comments) {
23738
- return isNonEmptyArray(comments) && isBlockComment(comments[0]) && FLOW_ANNOTATION.test(comments[0].value);
21711
+ const firstComment = comments === null || comments === void 0 ? void 0 : comments[0];
21712
+ return isBlockComment(firstComment) && FLOW_ANNOTATION.test(firstComment.value);
23739
21713
  }
23740
21714
  function hasNode(node, fn) {
23741
21715
  if (!node || typeof node !== "object") {
@@ -23751,10 +21725,11 @@ var require_utils7 = __commonJS2({
23751
21725
  return node.type === "AssignmentExpression" || node.type === "BinaryExpression" || node.type === "LogicalExpression" || node.type === "NGPipeExpression" || node.type === "ConditionalExpression" || isCallExpression(node) || isMemberExpression(node) || node.type === "SequenceExpression" || node.type === "TaggedTemplateExpression" || node.type === "BindExpression" || node.type === "UpdateExpression" && !node.prefix || node.type === "TSAsExpression" || node.type === "TSNonNullExpression";
23752
21726
  }
23753
21727
  function getLeftSide(node) {
21728
+ var _ref2, _ref3, _ref4, _ref5, _ref6, _node$left;
23754
21729
  if (node.expressions) {
23755
21730
  return node.expressions[0];
23756
21731
  }
23757
- return node.left || node.test || node.callee || node.object || node.tag || node.argument || node.expression;
21732
+ return (_ref2 = (_ref3 = (_ref4 = (_ref5 = (_ref6 = (_node$left = node.left) !== null && _node$left !== void 0 ? _node$left : node.test) !== null && _ref6 !== void 0 ? _ref6 : node.callee) !== null && _ref5 !== void 0 ? _ref5 : node.object) !== null && _ref4 !== void 0 ? _ref4 : node.tag) !== null && _ref3 !== void 0 ? _ref3 : node.argument) !== null && _ref2 !== void 0 ? _ref2 : node.expression;
23758
21733
  }
23759
21734
  function getLeftSidePathName(path, node) {
23760
21735
  if (node.expressions) {
@@ -23783,13 +21758,12 @@ var require_utils7 = __commonJS2({
23783
21758
  }
23784
21759
  throw new Error("Unexpected node has no left side.");
23785
21760
  }
23786
- function isLineComment(comment) {
23787
- return comment.type === "Line" || comment.type === "CommentLine" || comment.type === "SingleLine" || comment.type === "HashbangComment" || comment.type === "HTMLOpen" || comment.type === "HTMLClose";
23788
- }
23789
- var exportDeclarationTypes = /* @__PURE__ */ new Set(["ExportDefaultDeclaration", "ExportDefaultSpecifier", "DeclareExportDeclaration", "ExportNamedDeclaration", "ExportAllDeclaration"]);
23790
- function isExportDeclaration(node) {
23791
- return node && exportDeclarationTypes.has(node.type);
21761
+ function createTypeCheckFunction(types) {
21762
+ types = new Set(types);
21763
+ return (node) => types.has(node === null || node === void 0 ? void 0 : node.type);
23792
21764
  }
21765
+ var isLineComment = createTypeCheckFunction(["Line", "CommentLine", "SingleLine", "HashbangComment", "HTMLOpen", "HTMLClose"]);
21766
+ var isExportDeclaration = createTypeCheckFunction(["ExportDefaultDeclaration", "ExportDefaultSpecifier", "DeclareExportDeclaration", "ExportNamedDeclaration", "ExportAllDeclaration"]);
23793
21767
  function getParentExportDeclaration(path) {
23794
21768
  const parentNode = path.getParentNode();
23795
21769
  if (path.getName() === "declaration" && isExportDeclaration(parentNode)) {
@@ -23797,9 +21771,7 @@ var require_utils7 = __commonJS2({
23797
21771
  }
23798
21772
  return null;
23799
21773
  }
23800
- function isLiteral(node) {
23801
- return node.type === "BooleanLiteral" || node.type === "DirectiveLiteral" || node.type === "Literal" || node.type === "NullLiteral" || node.type === "NumericLiteral" || node.type === "BigIntLiteral" || node.type === "DecimalLiteral" || node.type === "RegExpLiteral" || node.type === "StringLiteral" || node.type === "TemplateLiteral" || node.type === "TSTypeLiteral" || node.type === "JSXText";
23802
- }
21774
+ var isLiteral = createTypeCheckFunction(["BooleanLiteral", "DirectiveLiteral", "Literal", "NullLiteral", "NumericLiteral", "BigIntLiteral", "DecimalLiteral", "RegExpLiteral", "StringLiteral", "TemplateLiteral", "TSTypeLiteral", "JSXText"]);
23803
21775
  function isNumericLiteral(node) {
23804
21776
  return node.type === "NumericLiteral" || node.type === "Literal" && typeof node.value === "number";
23805
21777
  }
@@ -23809,24 +21781,15 @@ var require_utils7 = __commonJS2({
23809
21781
  function isStringLiteral(node) {
23810
21782
  return node.type === "StringLiteral" || node.type === "Literal" && typeof node.value === "string";
23811
21783
  }
23812
- function isObjectType(node) {
23813
- return node.type === "ObjectTypeAnnotation" || node.type === "TSTypeLiteral" || node.type === "TSMappedType";
23814
- }
23815
- function isFunctionOrArrowExpression(node) {
23816
- return node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression";
23817
- }
21784
+ var isObjectType = createTypeCheckFunction(["ObjectTypeAnnotation", "TSTypeLiteral", "TSMappedType"]);
21785
+ var isFunctionOrArrowExpression = createTypeCheckFunction(["FunctionExpression", "ArrowFunctionExpression"]);
23818
21786
  function isFunctionOrArrowExpressionWithBody(node) {
23819
21787
  return node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression" && node.body.type === "BlockStatement";
23820
21788
  }
23821
- function isTemplateLiteral(node) {
23822
- return node.type === "TemplateLiteral";
23823
- }
23824
21789
  function isAngularTestWrapper(node) {
23825
21790
  return isCallExpression(node) && node.callee.type === "Identifier" && ["async", "inject", "fakeAsync", "waitForAsync"].includes(node.callee.name);
23826
21791
  }
23827
- function isJsxNode(node) {
23828
- return node.type === "JSXElement" || node.type === "JSXFragment";
23829
- }
21792
+ var isJsxNode = createTypeCheckFunction(["JSXElement", "JSXFragment"]);
23830
21793
  function isTheOnlyJsxElementInMarkdown(options, path) {
23831
21794
  if (options.parentParser !== "markdown" && options.parentParser !== "mdx") {
23832
21795
  return false;
@@ -23850,10 +21813,7 @@ var require_utils7 = __commonJS2({
23850
21813
  function isTypeAnnotationAFunction(node) {
23851
21814
  return (node.type === "TypeAnnotation" || node.type === "TSTypeAnnotation") && node.typeAnnotation.type === "FunctionTypeAnnotation" && !node.static && !hasSameLocStart(node, node.typeAnnotation);
23852
21815
  }
23853
- var binaryishNodeTypes = /* @__PURE__ */ new Set(["BinaryExpression", "LogicalExpression", "NGPipeExpression"]);
23854
- function isBinaryish(node) {
23855
- return binaryishNodeTypes.has(node.type);
23856
- }
21816
+ var isBinaryish = createTypeCheckFunction(["BinaryExpression", "LogicalExpression", "NGPipeExpression"]);
23857
21817
  function isMemberish(node) {
23858
21818
  return isMemberExpression(node) || node.type === "BindExpression" && Boolean(node.object);
23859
21819
  }
@@ -23870,14 +21830,14 @@ var require_utils7 = __commonJS2({
23870
21830
  }
23871
21831
  return false;
23872
21832
  }
23873
- var unitTestRe = /^(?:skip|[fx]?(?:it|describe|test))$/;
23874
- function isSkipOrOnlyBlock(node) {
23875
- return isMemberExpression(node.callee) && node.callee.object.type === "Identifier" && node.callee.property.type === "Identifier" && unitTestRe.test(node.callee.object.name) && (node.callee.property.name === "only" || node.callee.property.name === "skip");
23876
- }
23877
21833
  function isUnitTestSetUp(node) {
23878
21834
  const unitTestSetUpRe = /^(?:before|after)(?:Each|All)$/;
23879
21835
  return node.callee.type === "Identifier" && unitTestSetUpRe.test(node.callee.name) && node.arguments.length === 1;
23880
21836
  }
21837
+ var testCallCalleePatterns = ["it", "it.only", "it.skip", "describe", "describe.only", "describe.skip", "test", "test.only", "test.skip", "test.step", "test.describe", "test.describe.only", "test.describe.parallel", "test.describe.parallel.only", "test.describe.serial", "test.describe.serial.only", "skip", "xit", "xdescribe", "xtest", "fit", "fdescribe", "ftest"];
21838
+ function isTestCallCallee(node) {
21839
+ return isNodeMatches(node, testCallCalleePatterns);
21840
+ }
23881
21841
  function isTestCall(node, parent) {
23882
21842
  if (node.type !== "CallExpression") {
23883
21843
  return false;
@@ -23890,7 +21850,7 @@ var require_utils7 = __commonJS2({
23890
21850
  return isAngularTestWrapper(node.arguments[0]);
23891
21851
  }
23892
21852
  } else if (node.arguments.length === 2 || node.arguments.length === 3) {
23893
- if ((node.callee.type === "Identifier" && unitTestRe.test(node.callee.name) || isSkipOrOnlyBlock(node)) && (isTemplateLiteral(node.arguments[0]) || isStringLiteral(node.arguments[0]))) {
21853
+ if ((node.arguments[0].type === "TemplateLiteral" || isStringLiteral(node.arguments[0])) && isTestCallCallee(node.callee)) {
23894
21854
  if (node.arguments[2] && !isNumericLiteral(node.arguments[2])) {
23895
21855
  return false;
23896
21856
  }
@@ -23899,12 +21859,8 @@ var require_utils7 = __commonJS2({
23899
21859
  }
23900
21860
  return false;
23901
21861
  }
23902
- function isCallExpression(node) {
23903
- return node && (node.type === "CallExpression" || node.type === "OptionalCallExpression");
23904
- }
23905
- function isMemberExpression(node) {
23906
- return node && (node.type === "MemberExpression" || node.type === "OptionalMemberExpression");
23907
- }
21862
+ var isCallExpression = createTypeCheckFunction(["CallExpression", "OptionalCallExpression"]);
21863
+ var isMemberExpression = createTypeCheckFunction(["MemberExpression", "OptionalMemberExpression"]);
23908
21864
  function isSimpleTemplateLiteral(node) {
23909
21865
  let expressionsKey = "expressions";
23910
21866
  if (node.type === "TSTemplateLiteralType") {
@@ -23941,11 +21897,8 @@ var require_utils7 = __commonJS2({
23941
21897
  });
23942
21898
  }
23943
21899
  function getTypeScriptMappedTypeModifier(tokenNode, keyword) {
23944
- if (tokenNode === "+") {
23945
- return "+" + keyword;
23946
- }
23947
- if (tokenNode === "-") {
23948
- return "-" + keyword;
21900
+ if (tokenNode === "+" || tokenNode === "-") {
21901
+ return tokenNode + keyword;
23949
21902
  }
23950
21903
  return keyword;
23951
21904
  }
@@ -24047,7 +22000,8 @@ var require_utils7 = __commonJS2({
24047
22000
  return false;
24048
22001
  }
24049
22002
  function rawText(node) {
24050
- return node.extra ? node.extra.raw : node.raw;
22003
+ var _node$extra$raw, _node$extra2;
22004
+ return (_node$extra$raw = (_node$extra2 = node.extra) === null || _node$extra2 === void 0 ? void 0 : _node$extra2.raw) !== null && _node$extra$raw !== void 0 ? _node$extra$raw : node.raw;
24051
22005
  }
24052
22006
  function identity(x) {
24053
22007
  return x;
@@ -24133,14 +22087,9 @@ var require_utils7 = __commonJS2({
24133
22087
  }
24134
22088
  return true;
24135
22089
  }
24136
- var PRECEDENCE = {};
24137
- for (const [i, tier] of [["|>"], ["??"], ["||"], ["&&"], ["|"], ["^"], ["&"], ["==", "===", "!=", "!=="], ["<", ">", "<=", ">=", "in", "instanceof"], [">>", "<<", ">>>"], ["+", "-"], ["*", "/", "%"], ["**"]].entries()) {
24138
- for (const op of tier) {
24139
- PRECEDENCE[op] = i;
24140
- }
24141
- }
24142
- function getPrecedence(op) {
24143
- return PRECEDENCE[op];
22090
+ var PRECEDENCE = new Map([["|>"], ["??"], ["||"], ["&&"], ["|"], ["^"], ["&"], ["==", "===", "!=", "!=="], ["<", ">", "<=", ">=", "in", "instanceof"], [">>", "<<", ">>>"], ["+", "-"], ["*", "/", "%"], ["**"]].flatMap((operators, index) => operators.map((operator) => [operator, index])));
22091
+ function getPrecedence(operator) {
22092
+ return PRECEDENCE.get(operator);
24144
22093
  }
24145
22094
  function getLeftMost(node) {
24146
22095
  while (node.left) {
@@ -24152,11 +22101,12 @@ var require_utils7 = __commonJS2({
24152
22101
  return Boolean(bitshiftOperators[operator]) || operator === "|" || operator === "^" || operator === "&";
24153
22102
  }
24154
22103
  function hasRestParameter(node) {
22104
+ var _getLast;
24155
22105
  if (node.rest) {
24156
22106
  return true;
24157
22107
  }
24158
22108
  const parameters = getFunctionParameters(node);
24159
- return parameters.length > 0 && getLast(parameters).type === "RestElement";
22109
+ return ((_getLast = getLast(parameters)) === null || _getLast === void 0 ? void 0 : _getLast.type) === "RestElement";
24160
22110
  }
24161
22111
  var functionParametersCache = /* @__PURE__ */ new WeakMap();
24162
22112
  function getFunctionParameters(node) {
@@ -24250,14 +22200,14 @@ var require_utils7 = __commonJS2({
24250
22200
  }
24251
22201
  };
24252
22202
  function hasComment(node, flags, fn) {
24253
- if (!node || !isNonEmptyArray(node.comments)) {
22203
+ if (!isNonEmptyArray(node === null || node === void 0 ? void 0 : node.comments)) {
24254
22204
  return false;
24255
22205
  }
24256
22206
  const test = getCommentTestFunction(flags, fn);
24257
22207
  return test ? node.comments.some(test) : true;
24258
22208
  }
24259
22209
  function getComments(node, flags, fn) {
24260
- if (!node || !Array.isArray(node.comments)) {
22210
+ if (!Array.isArray(node === null || node === void 0 ? void 0 : node.comments)) {
24261
22211
  return [];
24262
22212
  }
24263
22213
  const test = getCommentTestFunction(flags, fn);
@@ -24966,7 +22916,8 @@ var require_clean = __commonJS2({
24966
22916
  removeTemplateElementsValue(newObj.quasi);
24967
22917
  }
24968
22918
  if (ast.type === "TemplateLiteral") {
24969
- const hasLanguageComment = ast.leadingComments && ast.leadingComments.some((comment) => isBlockComment(comment) && ["GraphQL", "HTML"].some((languageName) => comment.value === ` ${languageName} `));
22919
+ var _ast$leadingComments;
22920
+ const hasLanguageComment = (_ast$leadingComments = ast.leadingComments) === null || _ast$leadingComments === void 0 ? void 0 : _ast$leadingComments.some((comment) => isBlockComment(comment) && ["GraphQL", "HTML"].some((languageName) => comment.value === ` ${languageName} `));
24970
22921
  if (hasLanguageComment || parent.type === "CallExpression" && parent.callee.name === "graphql" || !ast.leadingComments) {
24971
22922
  removeTemplateElementsValue(newObj);
24972
22923
  }
@@ -25214,10 +23165,10 @@ var require_comments2 = __commonJS2({
25214
23165
  } = require_loc();
25215
23166
  var isBlockComment = require_is_block_comment();
25216
23167
  function handleOwnLineComment(context) {
25217
- return [handleIgnoreComments, handleLastFunctionArgComments, handleMemberExpressionComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleImportSpecifierComments, handleForComments, handleUnionTypeComments, handleOnlyComments, handleImportDeclarationComments, handleAssignmentPatternComments, handleMethodNameComments, handleLabeledStatementComments, handleBreakAndContinueStatementComments].some((fn) => fn(context));
23168
+ return [handleIgnoreComments, handleLastFunctionArgComments, handleMemberExpressionComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleForComments, handleUnionTypeComments, handleOnlyComments, handleModuleSpecifiersComments, handleAssignmentPatternComments, handleMethodNameComments, handleLabeledStatementComments, handleBreakAndContinueStatementComments].some((fn) => fn(context));
25218
23169
  }
25219
23170
  function handleEndOfLineComment(context) {
25220
- return [handleClosureTypeCastComments, handleLastFunctionArgComments, handleConditionalExpressionComments, handleImportSpecifierComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleLabeledStatementComments, handleCallExpressionComments, handlePropertyComments, handleOnlyComments, handleVariableDeclaratorComments, handleBreakAndContinueStatementComments, handleSwitchDefaultCaseComments].some((fn) => fn(context));
23171
+ return [handleClosureTypeCastComments, handleLastFunctionArgComments, handleConditionalExpressionComments, handleModuleSpecifiersComments, handleIfStatementComments, handleWhileComments, handleTryStatementComments, handleClassComments, handleLabeledStatementComments, handleCallExpressionComments, handlePropertyComments, handleOnlyComments, handleVariableDeclaratorComments, handleBreakAndContinueStatementComments, handleSwitchDefaultCaseComments].some((fn) => fn(context));
25221
23172
  }
25222
23173
  function handleRemainingComment(context) {
25223
23174
  return [handleIgnoreComments, handleIfStatementComments, handleWhileComments, handleObjectPropertyAssignment, handleCommentInEmptyParens, handleMethodNameComments, handleOnlyComments, handleCommentAfterArrowParams, handleFunctionNameComments, handleTSMappedTypeComments, handleBreakAndContinueStatementComments, handleTSFunctionTrailingComments].some((fn) => fn(context));
@@ -25256,7 +23207,7 @@ var require_comments2 = __commonJS2({
25256
23207
  followingNode,
25257
23208
  text
25258
23209
  }) {
25259
- if (!enclosingNode || enclosingNode.type !== "IfStatement" || !followingNode) {
23210
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "IfStatement" || !followingNode) {
25260
23211
  return false;
25261
23212
  }
25262
23213
  const nextCharacter = getNextNonSpaceNonCommentCharacter(text, comment, locEnd);
@@ -25299,7 +23250,7 @@ var require_comments2 = __commonJS2({
25299
23250
  followingNode,
25300
23251
  text
25301
23252
  }) {
25302
- if (!enclosingNode || enclosingNode.type !== "WhileStatement" || !followingNode) {
23253
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "WhileStatement" || !followingNode) {
25303
23254
  return false;
25304
23255
  }
25305
23256
  const nextCharacter = getNextNonSpaceNonCommentCharacter(text, comment, locEnd);
@@ -25323,7 +23274,7 @@ var require_comments2 = __commonJS2({
25323
23274
  enclosingNode,
25324
23275
  followingNode
25325
23276
  }) {
25326
- if (!enclosingNode || enclosingNode.type !== "TryStatement" && enclosingNode.type !== "CatchClause" || !followingNode) {
23277
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "TryStatement" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "CatchClause" || !followingNode) {
25327
23278
  return false;
25328
23279
  }
25329
23280
  if (enclosingNode.type === "CatchClause" && precedingNode) {
@@ -25349,7 +23300,7 @@ var require_comments2 = __commonJS2({
25349
23300
  enclosingNode,
25350
23301
  followingNode
25351
23302
  }) {
25352
- if (isMemberExpression(enclosingNode) && followingNode && followingNode.type === "Identifier") {
23303
+ if (isMemberExpression(enclosingNode) && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "Identifier") {
25353
23304
  addLeadingComment(enclosingNode, comment);
25354
23305
  return true;
25355
23306
  }
@@ -25363,7 +23314,7 @@ var require_comments2 = __commonJS2({
25363
23314
  text
25364
23315
  }) {
25365
23316
  const isSameLineAsPrecedingNode = precedingNode && !hasNewlineInRange(text, locEnd(precedingNode), locStart(comment));
25366
- if ((!precedingNode || !isSameLineAsPrecedingNode) && enclosingNode && (enclosingNode.type === "ConditionalExpression" || enclosingNode.type === "TSConditionalType") && followingNode) {
23317
+ if ((!precedingNode || !isSameLineAsPrecedingNode) && ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ConditionalExpression" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSConditionalType") && followingNode) {
25367
23318
  addLeadingComment(followingNode, comment);
25368
23319
  return true;
25369
23320
  }
@@ -25380,13 +23331,14 @@ var require_comments2 = __commonJS2({
25380
23331
  }
25381
23332
  return false;
25382
23333
  }
23334
+ var classLikeNodeTypes = /* @__PURE__ */ new Set(["ClassDeclaration", "ClassExpression", "DeclareClass", "DeclareInterface", "InterfaceDeclaration", "TSInterfaceDeclaration"]);
25383
23335
  function handleClassComments({
25384
23336
  comment,
25385
23337
  precedingNode,
25386
23338
  enclosingNode,
25387
23339
  followingNode
25388
23340
  }) {
25389
- if (enclosingNode && (enclosingNode.type === "ClassDeclaration" || enclosingNode.type === "ClassExpression" || enclosingNode.type === "DeclareClass" || enclosingNode.type === "DeclareInterface" || enclosingNode.type === "InterfaceDeclaration" || enclosingNode.type === "TSInterfaceDeclaration")) {
23341
+ if (classLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
25390
23342
  if (isNonEmptyArray(enclosingNode.decorators) && !(followingNode && followingNode.type === "Decorator")) {
25391
23343
  addTrailingComment(getLast(enclosingNode.decorators), comment);
25392
23344
  return true;
@@ -25414,6 +23366,7 @@ var require_comments2 = __commonJS2({
25414
23366
  }
25415
23367
  return false;
25416
23368
  }
23369
+ var propertyLikeNodeTypes = /* @__PURE__ */ new Set(["ClassMethod", "ClassProperty", "PropertyDefinition", "TSAbstractPropertyDefinition", "TSAbstractMethodDefinition", "TSDeclareMethod", "MethodDefinition"]);
25417
23370
  function handleMethodNameComments({
25418
23371
  comment,
25419
23372
  precedingNode,
@@ -25424,12 +23377,13 @@ var require_comments2 = __commonJS2({
25424
23377
  addTrailingComment(precedingNode, comment);
25425
23378
  return true;
25426
23379
  }
25427
- if (precedingNode && enclosingNode && precedingNode.type === "Decorator" && (enclosingNode.type === "ClassMethod" || enclosingNode.type === "ClassProperty" || enclosingNode.type === "PropertyDefinition" || enclosingNode.type === "TSAbstractPropertyDefinition" || enclosingNode.type === "TSAbstractMethodDefinition" || enclosingNode.type === "TSDeclareMethod" || enclosingNode.type === "MethodDefinition")) {
23380
+ if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "Decorator" && propertyLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
25428
23381
  addTrailingComment(precedingNode, comment);
25429
23382
  return true;
25430
23383
  }
25431
23384
  return false;
25432
23385
  }
23386
+ var functionLikeNodeTypes = /* @__PURE__ */ new Set(["FunctionDeclaration", "FunctionExpression", "ClassMethod", "MethodDefinition", "ObjectMethod"]);
25433
23387
  function handleFunctionNameComments({
25434
23388
  comment,
25435
23389
  precedingNode,
@@ -25439,7 +23393,7 @@ var require_comments2 = __commonJS2({
25439
23393
  if (getNextNonSpaceNonCommentCharacter(text, comment, locEnd) !== "(") {
25440
23394
  return false;
25441
23395
  }
25442
- if (precedingNode && enclosingNode && (enclosingNode.type === "FunctionDeclaration" || enclosingNode.type === "FunctionExpression" || enclosingNode.type === "ClassMethod" || enclosingNode.type === "MethodDefinition" || enclosingNode.type === "ObjectMethod")) {
23396
+ if (precedingNode && functionLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type)) {
25443
23397
  addTrailingComment(precedingNode, comment);
25444
23398
  return true;
25445
23399
  }
@@ -25450,7 +23404,7 @@ var require_comments2 = __commonJS2({
25450
23404
  enclosingNode,
25451
23405
  text
25452
23406
  }) {
25453
- if (!(enclosingNode && enclosingNode.type === "ArrowFunctionExpression")) {
23407
+ if (!((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ArrowFunctionExpression")) {
25454
23408
  return false;
25455
23409
  }
25456
23410
  const index = getNextNonSpaceNonCommentCharacterIndex(text, comment, locEnd);
@@ -25472,7 +23426,7 @@ var require_comments2 = __commonJS2({
25472
23426
  addDanglingComment(enclosingNode, comment);
25473
23427
  return true;
25474
23428
  }
25475
- if (enclosingNode && (enclosingNode.type === "MethodDefinition" || enclosingNode.type === "TSAbstractMethodDefinition") && getFunctionParameters(enclosingNode.value).length === 0) {
23429
+ if (((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "MethodDefinition" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && getFunctionParameters(enclosingNode.value).length === 0) {
25476
23430
  addDanglingComment(enclosingNode.value, comment);
25477
23431
  return true;
25478
23432
  }
@@ -25485,15 +23439,15 @@ var require_comments2 = __commonJS2({
25485
23439
  followingNode,
25486
23440
  text
25487
23441
  }) {
25488
- if (precedingNode && precedingNode.type === "FunctionTypeParam" && enclosingNode && enclosingNode.type === "FunctionTypeAnnotation" && followingNode && followingNode.type !== "FunctionTypeParam") {
23442
+ if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "FunctionTypeParam" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "FunctionTypeAnnotation" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) !== "FunctionTypeParam") {
25489
23443
  addTrailingComment(precedingNode, comment);
25490
23444
  return true;
25491
23445
  }
25492
- if (precedingNode && (precedingNode.type === "Identifier" || precedingNode.type === "AssignmentPattern") && enclosingNode && isRealFunctionLikeNode(enclosingNode) && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ")") {
23446
+ if (((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "Identifier" || (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "AssignmentPattern") && enclosingNode && isRealFunctionLikeNode(enclosingNode) && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ")") {
25493
23447
  addTrailingComment(precedingNode, comment);
25494
23448
  return true;
25495
23449
  }
25496
- if (enclosingNode && enclosingNode.type === "FunctionDeclaration" && followingNode && followingNode.type === "BlockStatement") {
23450
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "FunctionDeclaration" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "BlockStatement") {
25497
23451
  const functionParamRightParenIndex = (() => {
25498
23452
  const parameters = getFunctionParameters(enclosingNode);
25499
23453
  if (parameters.length > 0) {
@@ -25509,21 +23463,11 @@ var require_comments2 = __commonJS2({
25509
23463
  }
25510
23464
  return false;
25511
23465
  }
25512
- function handleImportSpecifierComments({
25513
- comment,
25514
- enclosingNode
25515
- }) {
25516
- if (enclosingNode && enclosingNode.type === "ImportSpecifier") {
25517
- addLeadingComment(enclosingNode, comment);
25518
- return true;
25519
- }
25520
- return false;
25521
- }
25522
23466
  function handleLabeledStatementComments({
25523
23467
  comment,
25524
23468
  enclosingNode
25525
23469
  }) {
25526
- if (enclosingNode && enclosingNode.type === "LabeledStatement") {
23470
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "LabeledStatement") {
25527
23471
  addLeadingComment(enclosingNode, comment);
25528
23472
  return true;
25529
23473
  }
@@ -25533,7 +23477,7 @@ var require_comments2 = __commonJS2({
25533
23477
  comment,
25534
23478
  enclosingNode
25535
23479
  }) {
25536
- if (enclosingNode && (enclosingNode.type === "ContinueStatement" || enclosingNode.type === "BreakStatement") && !enclosingNode.label) {
23480
+ if (((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ContinueStatement" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "BreakStatement") && !enclosingNode.label) {
25537
23481
  addTrailingComment(enclosingNode, comment);
25538
23482
  return true;
25539
23483
  }
@@ -25556,7 +23500,7 @@ var require_comments2 = __commonJS2({
25556
23500
  enclosingNode,
25557
23501
  followingNode
25558
23502
  }) {
25559
- if (enclosingNode && (enclosingNode.type === "UnionTypeAnnotation" || enclosingNode.type === "TSUnionType")) {
23503
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "UnionTypeAnnotation" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSUnionType") {
25560
23504
  if (isPrettierIgnoreComment(comment)) {
25561
23505
  followingNode.prettierIgnore = true;
25562
23506
  comment.unignore = true;
@@ -25567,7 +23511,7 @@ var require_comments2 = __commonJS2({
25567
23511
  }
25568
23512
  return false;
25569
23513
  }
25570
- if (followingNode && (followingNode.type === "UnionTypeAnnotation" || followingNode.type === "TSUnionType") && isPrettierIgnoreComment(comment)) {
23514
+ if (((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "UnionTypeAnnotation" || (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSUnionType") && isPrettierIgnoreComment(comment)) {
25571
23515
  followingNode.types[0].prettierIgnore = true;
25572
23516
  comment.unignore = true;
25573
23517
  }
@@ -25598,7 +23542,7 @@ var require_comments2 = __commonJS2({
25598
23542
  }
25599
23543
  return true;
25600
23544
  }
25601
- if (enclosingNode && enclosingNode.type === "Program" && enclosingNode.body.length === 0 && !isNonEmptyArray(enclosingNode.directives)) {
23545
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "Program" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.body.length) === 0 && !isNonEmptyArray(enclosingNode.directives)) {
25602
23546
  if (isLastComment) {
25603
23547
  addDanglingComment(enclosingNode, comment);
25604
23548
  } else {
@@ -25606,7 +23550,7 @@ var require_comments2 = __commonJS2({
25606
23550
  }
25607
23551
  return true;
25608
23552
  }
25609
- if (followingNode && followingNode.type === "Program" && followingNode.body.length === 0 && enclosingNode && enclosingNode.type === "ModuleExpression") {
23553
+ if ((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "Program" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.body.length) === 0 && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ModuleExpression") {
25610
23554
  addDanglingComment(followingNode, comment);
25611
23555
  return true;
25612
23556
  }
@@ -25616,19 +23560,25 @@ var require_comments2 = __commonJS2({
25616
23560
  comment,
25617
23561
  enclosingNode
25618
23562
  }) {
25619
- if (enclosingNode && (enclosingNode.type === "ForInStatement" || enclosingNode.type === "ForOfStatement")) {
23563
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ForInStatement" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ForOfStatement") {
25620
23564
  addLeadingComment(enclosingNode, comment);
25621
23565
  return true;
25622
23566
  }
25623
23567
  return false;
25624
23568
  }
25625
- function handleImportDeclarationComments({
23569
+ function handleModuleSpecifiersComments({
25626
23570
  comment,
25627
23571
  precedingNode,
25628
23572
  enclosingNode,
25629
23573
  text
25630
23574
  }) {
25631
- if (precedingNode && precedingNode.type === "ImportSpecifier" && enclosingNode && enclosingNode.type === "ImportDeclaration" && hasNewline(text, locEnd(comment))) {
23575
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ImportSpecifier" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ExportSpecifier") {
23576
+ addLeadingComment(enclosingNode, comment);
23577
+ return true;
23578
+ }
23579
+ const isImportDeclaration = (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "ImportSpecifier" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ImportDeclaration";
23580
+ const isExportDeclaration = (precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "ExportSpecifier" && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "ExportNamedDeclaration";
23581
+ if ((isImportDeclaration || isExportDeclaration) && hasNewline(text, locEnd(comment))) {
25632
23582
  addTrailingComment(precedingNode, comment);
25633
23583
  return true;
25634
23584
  }
@@ -25638,18 +23588,20 @@ var require_comments2 = __commonJS2({
25638
23588
  comment,
25639
23589
  enclosingNode
25640
23590
  }) {
25641
- if (enclosingNode && enclosingNode.type === "AssignmentPattern") {
23591
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "AssignmentPattern") {
25642
23592
  addLeadingComment(enclosingNode, comment);
25643
23593
  return true;
25644
23594
  }
25645
23595
  return false;
25646
23596
  }
23597
+ var assignmentLikeNodeTypes = /* @__PURE__ */ new Set(["VariableDeclarator", "AssignmentExpression", "TypeAlias", "TSTypeAliasDeclaration"]);
23598
+ var complexExprNodeTypes = /* @__PURE__ */ new Set(["ObjectExpression", "ArrayExpression", "TemplateLiteral", "TaggedTemplateExpression", "ObjectTypeAnnotation", "TSTypeLiteral"]);
25647
23599
  function handleVariableDeclaratorComments({
25648
23600
  comment,
25649
23601
  enclosingNode,
25650
23602
  followingNode
25651
23603
  }) {
25652
- if (enclosingNode && (enclosingNode.type === "VariableDeclarator" || enclosingNode.type === "AssignmentExpression" || enclosingNode.type === "TypeAlias" || enclosingNode.type === "TSTypeAliasDeclaration") && followingNode && (followingNode.type === "ObjectExpression" || followingNode.type === "ArrayExpression" || followingNode.type === "TemplateLiteral" || followingNode.type === "TaggedTemplateExpression" || followingNode.type === "ObjectTypeAnnotation" || followingNode.type === "TSTypeLiteral" || isBlockComment(comment))) {
23604
+ if (assignmentLikeNodeTypes.has(enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) && followingNode && (complexExprNodeTypes.has(followingNode.type) || isBlockComment(comment))) {
25653
23605
  addLeadingComment(followingNode, comment);
25654
23606
  return true;
25655
23607
  }
@@ -25661,7 +23613,7 @@ var require_comments2 = __commonJS2({
25661
23613
  followingNode,
25662
23614
  text
25663
23615
  }) {
25664
- if (!followingNode && enclosingNode && (enclosingNode.type === "TSMethodSignature" || enclosingNode.type === "TSDeclareFunction" || enclosingNode.type === "TSAbstractMethodDefinition") && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ";") {
23616
+ if (!followingNode && ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSMethodSignature" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSDeclareFunction" || (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && getNextNonSpaceNonCommentCharacter(text, comment, locEnd) === ";") {
25665
23617
  addTrailingComment(enclosingNode, comment);
25666
23618
  return true;
25667
23619
  }
@@ -25672,7 +23624,7 @@ var require_comments2 = __commonJS2({
25672
23624
  enclosingNode,
25673
23625
  followingNode
25674
23626
  }) {
25675
- if (isPrettierIgnoreComment(comment) && enclosingNode && enclosingNode.type === "TSMappedType" && followingNode && followingNode.type === "TSTypeParameter" && followingNode.constraint) {
23627
+ if (isPrettierIgnoreComment(comment) && (enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) === "TSMappedType" && (followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSTypeParameter" && followingNode.constraint) {
25676
23628
  enclosingNode.prettierIgnore = true;
25677
23629
  comment.unignore = true;
25678
23630
  return true;
@@ -25684,14 +23636,14 @@ var require_comments2 = __commonJS2({
25684
23636
  enclosingNode,
25685
23637
  followingNode
25686
23638
  }) {
25687
- if (!enclosingNode || enclosingNode.type !== "TSMappedType") {
23639
+ if ((enclosingNode === null || enclosingNode === void 0 ? void 0 : enclosingNode.type) !== "TSMappedType") {
25688
23640
  return false;
25689
23641
  }
25690
- if (followingNode && followingNode.type === "TSTypeParameter" && followingNode.name) {
23642
+ if ((followingNode === null || followingNode === void 0 ? void 0 : followingNode.type) === "TSTypeParameter" && followingNode.name) {
25691
23643
  addLeadingComment(followingNode.name, comment);
25692
23644
  return true;
25693
23645
  }
25694
- if (precedingNode && precedingNode.type === "TSTypeParameter" && precedingNode.constraint) {
23646
+ if ((precedingNode === null || precedingNode === void 0 ? void 0 : precedingNode.type) === "TSTypeParameter" && precedingNode.constraint) {
25695
23647
  addTrailingComment(precedingNode.constraint, comment);
25696
23648
  return true;
25697
23649
  }
@@ -26277,6 +24229,7 @@ var require_print_preprocess = __commonJS2({
26277
24229
  case "json-stringify":
26278
24230
  case "__js_expression":
26279
24231
  case "__vue_expression":
24232
+ case "__vue_ts_expression":
26280
24233
  return Object.assign(Object.assign({}, ast), {}, {
26281
24234
  type: options.parser.startsWith("__") ? "JsExpressionRoot" : "JsonRoot",
26282
24235
  node: ast,
@@ -28260,6 +26213,10 @@ var require_type_annotation = __commonJS2({
28260
26213
  const leftDelimiter = node.type === "OptionalIndexedAccessType" && node.optional ? "?.[" : "[";
28261
26214
  return [print("objectType"), leftDelimiter, print("indexType"), "]"];
28262
26215
  }
26216
+ function printJSDocType(path, print, token) {
26217
+ const node = path.getValue();
26218
+ return [node.postfix ? "" : token, print("typeAnnotation"), node.postfix ? token : ""];
26219
+ }
28263
26220
  module2.exports = {
28264
26221
  printOpaqueType,
28265
26222
  printTypeAlias,
@@ -28268,7 +26225,8 @@ var require_type_annotation = __commonJS2({
28268
26225
  printFunctionType,
28269
26226
  printTupleType,
28270
26227
  printIndexedAccessType,
28271
- shouldHugType
26228
+ shouldHugType,
26229
+ printJSDocType
28272
26230
  };
28273
26231
  }
28274
26232
  });
@@ -28358,6 +26316,12 @@ var require_type_parameters = __commonJS2({
28358
26316
  if (node.variance) {
28359
26317
  parts.push(print("variance"));
28360
26318
  }
26319
+ if (node.in) {
26320
+ parts.push("in ");
26321
+ }
26322
+ if (node.out) {
26323
+ parts.push("out ");
26324
+ }
28361
26325
  parts.push(print("name"));
28362
26326
  if (node.bound) {
28363
26327
  parts.push(": ", print("bound"));
@@ -28377,7 +26341,7 @@ var require_type_parameters = __commonJS2({
28377
26341
  };
28378
26342
  }
28379
26343
  });
28380
- var require_property2 = __commonJS2({
26344
+ var require_property = __commonJS2({
28381
26345
  "src/language-js/print/property.js"(exports2, module2) {
28382
26346
  "use strict";
28383
26347
  var {
@@ -28495,7 +26459,7 @@ var require_function = __commonJS2({
28495
26459
  } = require_function_parameters();
28496
26460
  var {
28497
26461
  printPropertyKey
28498
- } = require_property2();
26462
+ } = require_property();
28499
26463
  var {
28500
26464
  printFunctionTypeParameters
28501
26465
  } = require_misc();
@@ -28853,7 +26817,7 @@ var require_class = __commonJS2({
28853
26817
  } = require_misc();
28854
26818
  var {
28855
26819
  printPropertyKey
28856
- } = require_property2();
26820
+ } = require_property();
28857
26821
  var {
28858
26822
  printAssignment
28859
26823
  } = require_assignment();
@@ -29505,7 +27469,7 @@ var require_flow = __commonJS2({
29505
27469
  } = require_object();
29506
27470
  var {
29507
27471
  printPropertyKey
29508
- } = require_property2();
27472
+ } = require_property();
29509
27473
  var {
29510
27474
  printOptionalToken,
29511
27475
  printTypeAnnotation,
@@ -30210,7 +28174,7 @@ var require_typescript = __commonJS2({
30210
28174
  } = require_type_parameters();
30211
28175
  var {
30212
28176
  printPropertyKey
30213
- } = require_property2();
28177
+ } = require_property();
30214
28178
  var {
30215
28179
  printFunction,
30216
28180
  printMethodInternal
@@ -30227,7 +28191,8 @@ var require_typescript = __commonJS2({
30227
28191
  printUnionType,
30228
28192
  printFunctionType,
30229
28193
  printTupleType,
30230
- printIndexedAccessType
28194
+ printIndexedAccessType,
28195
+ printJSDocType
30231
28196
  } = require_type_annotation();
30232
28197
  function printTypescript(path, options, print) {
30233
28198
  const node = path.getValue();
@@ -30337,7 +28302,7 @@ var require_typescript = __commonJS2({
30337
28302
  parts.push(print("parameter"));
30338
28303
  return parts;
30339
28304
  case "TSTypeQuery":
30340
- return ["typeof ", print("exprName")];
28305
+ return ["typeof ", print("exprName"), print("typeParameters")];
30341
28306
  case "TSIndexSignature": {
30342
28307
  const parent = path.getParentNode();
30343
28308
  const trailingComma = node.parameters.length > 1 ? ifBreak(shouldPrintComma(options) ? "," : "") : "";
@@ -30416,7 +28381,11 @@ var require_typescript = __commonJS2({
30416
28381
  }
30417
28382
  return parts;
30418
28383
  case "TSEnumMember":
30419
- parts.push(print("id"));
28384
+ if (node.computed) {
28385
+ parts.push("[", print("id"), "]");
28386
+ } else {
28387
+ parts.push(print("id"));
28388
+ }
30420
28389
  if (node.initializer) {
30421
28390
  parts.push(" = ", print("initializer"));
30422
28391
  }
@@ -30487,9 +28456,11 @@ var require_typescript = __commonJS2({
30487
28456
  case "TSJSDocUnknownType":
30488
28457
  return "?";
30489
28458
  case "TSJSDocNullableType":
30490
- return ["?", print("typeAnnotation")];
28459
+ return printJSDocType(path, print, "?");
30491
28460
  case "TSJSDocNonNullableType":
30492
- return ["!", print("typeAnnotation")];
28461
+ return printJSDocType(path, print, "!");
28462
+ case "TSInstantiationExpression":
28463
+ return [print("expression"), print("typeParameters")];
30493
28464
  default:
30494
28465
  throw new Error(`Unknown TypeScript node type: ${JSON.stringify(node.type)}.`);
30495
28466
  }
@@ -30717,7 +28688,7 @@ var require_printer_estree = __commonJS2({
30717
28688
  } = require_class();
30718
28689
  var {
30719
28690
  printProperty
30720
- } = require_property2();
28691
+ } = require_property();
30721
28692
  var {
30722
28693
  printFunction,
30723
28694
  printArrowFunction,
@@ -30838,7 +28809,7 @@ var require_printer_estree = __commonJS2({
30838
28809
  if (node.directive) {
30839
28810
  return [printDirective(node.expression, options), semi];
30840
28811
  }
30841
- if (options.parser === "__vue_event_binding") {
28812
+ if (options.parser === "__vue_event_binding" || options.parser === "__vue_ts_event_binding") {
30842
28813
  const parent = path.getParentNode();
30843
28814
  if (parent.type === "Program" && parent.body.length === 1 && parent.body[0] === node) {
30844
28815
  return [print("expression"), isVueEventBindingExpression(node.expression) ? ";" : ""];
@@ -31484,9 +29455,15 @@ var require_parsers = __commonJS2({
31484
29455
  get __vue_expression() {
31485
29456
  return require("./parser-babel.js").parsers.__vue_expression;
31486
29457
  },
29458
+ get __vue_ts_expression() {
29459
+ return require("./parser-babel.js").parsers.__vue_ts_expression;
29460
+ },
31487
29461
  get __vue_event_binding() {
31488
29462
  return require("./parser-babel.js").parsers.__vue_event_binding;
31489
29463
  },
29464
+ get __vue_ts_event_binding() {
29465
+ return require("./parser-babel.js").parsers.__vue_ts_event_binding;
29466
+ },
31490
29467
  get flow() {
31491
29468
  return require("./parser-flow.js").parsers.flow;
31492
29469
  },
@@ -31531,7 +29508,7 @@ var require_JavaScript = __commonJS2({
31531
29508
  codemirrorMimeType: "text/javascript",
31532
29509
  color: "#f1e05a",
31533
29510
  aliases: ["js", "node"],
31534
- extensions: [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".jsb", ".jscad", ".jsfl", ".jsm", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"],
29511
+ extensions: [".js", "._js", ".bones", ".cjs", ".es", ".es6", ".frag", ".gs", ".jake", ".javascript", ".jsb", ".jscad", ".jsfl", ".jslib", ".jsm", ".jspre", ".jss", ".jsx", ".mjs", ".njs", ".pac", ".sjs", ".ssjs", ".xsjs", ".xsjslib"],
31535
29512
  filenames: ["Jakefile"],
31536
29513
  interpreters: ["chakra", "d8", "gjs", "js", "node", "nodejs", "qjs", "rhino", "v8", "v8-shell"],
31537
29514
  languageId: 183
@@ -31543,10 +29520,10 @@ var require_TypeScript = __commonJS2({
31543
29520
  module2.exports = {
31544
29521
  name: "TypeScript",
31545
29522
  type: "programming",
31546
- color: "#2b7489",
29523
+ color: "#3178c6",
31547
29524
  aliases: ["ts"],
31548
29525
  interpreters: ["deno", "ts-node"],
31549
- extensions: [".ts"],
29526
+ extensions: [".ts", ".cts", ".mts"],
31550
29527
  tmScope: "source.ts",
31551
29528
  aceMode: "typescript",
31552
29529
  codemirrorMode: "javascript",
@@ -31560,6 +29537,7 @@ var require_TSX = __commonJS2({
31560
29537
  module2.exports = {
31561
29538
  name: "TSX",
31562
29539
  type: "programming",
29540
+ color: "#3178c6",
31563
29541
  group: "TypeScript",
31564
29542
  extensions: [".tsx"],
31565
29543
  tmScope: "source.tsx",
@@ -31575,12 +29553,14 @@ var require_JSON = __commonJS2({
31575
29553
  module2.exports = {
31576
29554
  name: "JSON",
31577
29555
  type: "data",
29556
+ color: "#292929",
31578
29557
  tmScope: "source.json",
31579
29558
  aceMode: "json",
31580
29559
  codemirrorMode: "javascript",
31581
29560
  codemirrorMimeType: "application/json",
31582
- extensions: [".json", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".JSON-tmLanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"],
31583
- filenames: [".arcconfig", ".htmlhintrc", ".imgbotconfig", ".tern-config", ".tern-project", ".watchmanconfig", "Pipfile.lock", "composer.lock", "mcmod.info"],
29561
+ aliases: ["geojson", "jsonl", "topojson"],
29562
+ extensions: [".json", ".4DForm", ".4DProject", ".avsc", ".geojson", ".gltf", ".har", ".ice", ".JSON-tmLanguage", ".jsonl", ".mcmeta", ".tfstate", ".tfstate.backup", ".topojson", ".webapp", ".webmanifest", ".yy", ".yyp"],
29563
+ filenames: [".arcconfig", ".auto-changelog", ".c8rc", ".htmlhintrc", ".imgbotconfig", ".nycrc", ".tern-config", ".tern-project", ".watchmanconfig", "Pipfile.lock", "composer.lock", "mcmod.info"],
31584
29564
  languageId: 174
31585
29565
  };
31586
29566
  }
@@ -31590,14 +29570,15 @@ var require_JSON_with_Comments = __commonJS2({
31590
29570
  module2.exports = {
31591
29571
  name: "JSON with Comments",
31592
29572
  type: "data",
29573
+ color: "#292929",
31593
29574
  group: "JSON",
31594
29575
  tmScope: "source.js",
31595
29576
  aceMode: "javascript",
31596
29577
  codemirrorMode: "javascript",
31597
29578
  codemirrorMimeType: "text/javascript",
31598
29579
  aliases: ["jsonc"],
31599
- extensions: [".jsonc", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"],
31600
- filenames: [".babelrc", ".eslintrc.json", ".jscsrc", ".jshintrc", ".jslintrc", "api-extractor.json", "devcontainer.json", "jsconfig.json", "language-configuration.json", "tsconfig.json", "tslint.json"],
29580
+ extensions: [".jsonc", ".code-snippets", ".sublime-build", ".sublime-commands", ".sublime-completions", ".sublime-keymap", ".sublime-macro", ".sublime-menu", ".sublime-mousemap", ".sublime-project", ".sublime-settings", ".sublime-theme", ".sublime-workspace", ".sublime_metrics", ".sublime_session"],
29581
+ filenames: [".babelrc", ".devcontainer.json", ".eslintrc.json", ".jscsrc", ".jshintrc", ".jslintrc", "api-extractor.json", "devcontainer.json", "jsconfig.json", "language-configuration.json", "tsconfig.json", "tslint.json"],
31601
29582
  languageId: 423
31602
29583
  };
31603
29584
  }
@@ -31607,6 +29588,7 @@ var require_JSON5 = __commonJS2({
31607
29588
  module2.exports = {
31608
29589
  name: "JSON5",
31609
29590
  type: "data",
29591
+ color: "#267CB9",
31610
29592
  extensions: [".json5"],
31611
29593
  tmScope: "source.js",
31612
29594
  aceMode: "javascript",
@@ -31653,11 +29635,10 @@ var require_language_js = __commonJS2({
31653
29635
  codemirrorMode: "jsx",
31654
29636
  codemirrorMimeType: "text/jsx",
31655
29637
  color: void 0
31656
- })), createLanguage(require_TypeScript(), (data) => ({
29638
+ })), createLanguage(require_TypeScript(), () => ({
31657
29639
  since: "1.4.0",
31658
29640
  parsers: ["typescript", "babel-ts"],
31659
- vscodeLanguageIds: ["typescript"],
31660
- extensions: [...data.extensions, ".mts", ".cts"]
29641
+ vscodeLanguageIds: ["typescript"]
31661
29642
  })), createLanguage(require_TSX(), () => ({
31662
29643
  since: "1.4.0",
31663
29644
  parsers: ["typescript", "babel-ts"],
@@ -31667,7 +29648,7 @@ var require_language_js = __commonJS2({
31667
29648
  since: "1.13.0",
31668
29649
  parsers: ["json-stringify"],
31669
29650
  vscodeLanguageIds: ["json"],
31670
- extensions: [],
29651
+ extensions: [".importmap"],
31671
29652
  filenames: ["package.json", "package-lock.json", "composer.json"]
31672
29653
  })), createLanguage(require_JSON(), (data) => ({
31673
29654
  since: "1.5.0",
@@ -31928,26 +29909,31 @@ var require_utils8 = __commonJS2({
31928
29909
  return counter === -1 ? null : path.getParentNode(counter);
31929
29910
  }
31930
29911
  function getPropOfDeclNode(path) {
29912
+ var _declAncestorNode$pro;
31931
29913
  const declAncestorNode = getAncestorNode(path, "css-decl");
31932
- return declAncestorNode && declAncestorNode.prop && declAncestorNode.prop.toLowerCase();
29914
+ return declAncestorNode === null || declAncestorNode === void 0 ? void 0 : (_declAncestorNode$pro = declAncestorNode.prop) === null || _declAncestorNode$pro === void 0 ? void 0 : _declAncestorNode$pro.toLowerCase();
31933
29915
  }
29916
+ var wideKeywords = /* @__PURE__ */ new Set(["initial", "inherit", "unset", "revert"]);
31934
29917
  function isWideKeywords(value) {
31935
- return ["initial", "inherit", "unset", "revert"].includes(value.toLowerCase());
29918
+ return wideKeywords.has(value.toLowerCase());
31936
29919
  }
31937
29920
  function isKeyframeAtRuleKeywords(path, value) {
31938
29921
  const atRuleAncestorNode = getAncestorNode(path, "css-atrule");
31939
- return atRuleAncestorNode && atRuleAncestorNode.name && atRuleAncestorNode.name.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(value.toLowerCase());
29922
+ return (atRuleAncestorNode === null || atRuleAncestorNode === void 0 ? void 0 : atRuleAncestorNode.name) && atRuleAncestorNode.name.toLowerCase().endsWith("keyframes") && ["from", "to"].includes(value.toLowerCase());
31940
29923
  }
31941
29924
  function maybeToLowerCase(value) {
31942
29925
  return value.includes("$") || value.includes("@") || value.includes("#") || value.startsWith("%") || value.startsWith("--") || value.startsWith(":--") || value.includes("(") && value.includes(")") ? value : value.toLowerCase();
31943
29926
  }
31944
29927
  function insideValueFunctionNode(path, functionName) {
29928
+ var _funcAncestorNode$val;
31945
29929
  const funcAncestorNode = getAncestorNode(path, "value-func");
31946
- return funcAncestorNode && funcAncestorNode.value && funcAncestorNode.value.toLowerCase() === functionName;
29930
+ return (funcAncestorNode === null || funcAncestorNode === void 0 ? void 0 : (_funcAncestorNode$val = funcAncestorNode.value) === null || _funcAncestorNode$val === void 0 ? void 0 : _funcAncestorNode$val.toLowerCase()) === functionName;
31947
29931
  }
31948
29932
  function insideICSSRuleNode(path) {
29933
+ var _ruleAncestorNode$raw;
31949
29934
  const ruleAncestorNode = getAncestorNode(path, "css-rule");
31950
- return ruleAncestorNode && ruleAncestorNode.raws && ruleAncestorNode.raws.selector && (ruleAncestorNode.raws.selector.startsWith(":import") || ruleAncestorNode.raws.selector.startsWith(":export"));
29935
+ const selector = ruleAncestorNode === null || ruleAncestorNode === void 0 ? void 0 : (_ruleAncestorNode$raw = ruleAncestorNode.raws) === null || _ruleAncestorNode$raw === void 0 ? void 0 : _ruleAncestorNode$raw.selector;
29936
+ return selector && (selector.startsWith(":import") || selector.startsWith(":export"));
31951
29937
  }
31952
29938
  function insideAtRuleNode(path, atRuleNameOrAtRuleNames) {
31953
29939
  const atRuleNames = Array.isArray(atRuleNameOrAtRuleNames) ? atRuleNameOrAtRuleNames : [atRuleNameOrAtRuleNames];
@@ -31957,26 +29943,24 @@ var require_utils8 = __commonJS2({
31957
29943
  function insideURLFunctionInImportAtRuleNode(path) {
31958
29944
  const node = path.getValue();
31959
29945
  const atRuleAncestorNode = getAncestorNode(path, "css-atrule");
31960
- return atRuleAncestorNode && atRuleAncestorNode.name === "import" && node.groups[0].value === "url" && node.groups.length === 2;
29946
+ return (atRuleAncestorNode === null || atRuleAncestorNode === void 0 ? void 0 : atRuleAncestorNode.name) === "import" && node.groups[0].value === "url" && node.groups.length === 2;
31961
29947
  }
31962
29948
  function isURLFunctionNode(node) {
31963
29949
  return node.type === "value-func" && node.value.toLowerCase() === "url";
31964
29950
  }
31965
29951
  function isLastNode(path, node) {
31966
- const parentNode = path.getParentNode();
31967
- if (!parentNode) {
31968
- return false;
31969
- }
31970
- const {
31971
- nodes
31972
- } = parentNode;
29952
+ var _path$getParentNode;
29953
+ const nodes = (_path$getParentNode = path.getParentNode()) === null || _path$getParentNode === void 0 ? void 0 : _path$getParentNode.nodes;
31973
29954
  return nodes && nodes.indexOf(node) === nodes.length - 1;
31974
29955
  }
31975
29956
  function isDetachedRulesetDeclarationNode(node) {
31976
- if (!node.selector) {
29957
+ const {
29958
+ selector
29959
+ } = node;
29960
+ if (!selector) {
31977
29961
  return false;
31978
29962
  }
31979
- return typeof node.selector === "string" && /^@.+:.*$/.test(node.selector) || node.selector.value && /^@.+:.*$/.test(node.selector.value);
29963
+ return typeof selector === "string" && /^@.+:.*$/.test(selector) || selector.value && /^@.+:.*$/.test(selector.value);
31980
29964
  }
31981
29965
  function isForKeywordNode(node) {
31982
29966
  return node.type === "value-word" && ["from", "through", "end"].includes(node.value);
@@ -32015,7 +29999,8 @@ var require_utils8 = __commonJS2({
32015
29999
  return node.type === "css-atrule" && ["if", "else", "for", "each", "while"].includes(node.name);
32016
30000
  }
32017
30001
  function isDetachedRulesetCallNode(node) {
32018
- return node.raws && node.raws.params && /^\(\s*\)$/.test(node.raws.params);
30002
+ var _node$raws;
30003
+ return ((_node$raws = node.raws) === null || _node$raws === void 0 ? void 0 : _node$raws.params) && /^\(\s*\)$/.test(node.raws.params);
32019
30004
  }
32020
30005
  function isTemplatePlaceholderNode(node) {
32021
30006
  return node.name.startsWith("prettier-placeholder");
@@ -32024,24 +30009,30 @@ var require_utils8 = __commonJS2({
32024
30009
  return node.prop.startsWith("@prettier-placeholder");
32025
30010
  }
32026
30011
  function isPostcssSimpleVarNode(currentNode, nextNode) {
32027
- return currentNode.value === "$$" && currentNode.type === "value-func" && nextNode && nextNode.type === "value-word" && !nextNode.raws.before;
30012
+ return currentNode.value === "$$" && currentNode.type === "value-func" && (nextNode === null || nextNode === void 0 ? void 0 : nextNode.type) === "value-word" && !nextNode.raws.before;
32028
30013
  }
32029
30014
  function hasComposesNode(node) {
32030
- return node.value && node.value.type === "value-root" && node.value.group && node.value.group.type === "value-value" && node.prop.toLowerCase() === "composes";
30015
+ var _node$value, _node$value$group;
30016
+ return ((_node$value = node.value) === null || _node$value === void 0 ? void 0 : _node$value.type) === "value-root" && ((_node$value$group = node.value.group) === null || _node$value$group === void 0 ? void 0 : _node$value$group.type) === "value-value" && node.prop.toLowerCase() === "composes";
32031
30017
  }
32032
30018
  function hasParensAroundNode(node) {
32033
- return node.value && node.value.group && node.value.group.group && node.value.group.group.type === "value-paren_group" && node.value.group.group.open !== null && node.value.group.group.close !== null;
30019
+ var _node$value2, _node$value2$group, _node$value2$group$gr;
30020
+ return ((_node$value2 = node.value) === null || _node$value2 === void 0 ? void 0 : (_node$value2$group = _node$value2.group) === null || _node$value2$group === void 0 ? void 0 : (_node$value2$group$gr = _node$value2$group.group) === null || _node$value2$group$gr === void 0 ? void 0 : _node$value2$group$gr.type) === "value-paren_group" && node.value.group.group.open !== null && node.value.group.group.close !== null;
32034
30021
  }
32035
30022
  function hasEmptyRawBefore(node) {
32036
- return node.raws && node.raws.before === "";
30023
+ var _node$raws2;
30024
+ return ((_node$raws2 = node.raws) === null || _node$raws2 === void 0 ? void 0 : _node$raws2.before) === "";
32037
30025
  }
32038
30026
  function isKeyValuePairNode(node) {
32039
- return node.type === "value-comma_group" && node.groups && node.groups[1] && node.groups[1].type === "value-colon";
30027
+ var _node$groups, _node$groups$;
30028
+ return node.type === "value-comma_group" && ((_node$groups = node.groups) === null || _node$groups === void 0 ? void 0 : (_node$groups$ = _node$groups[1]) === null || _node$groups$ === void 0 ? void 0 : _node$groups$.type) === "value-colon";
32040
30029
  }
32041
30030
  function isKeyValuePairInParenGroupNode(node) {
32042
- return node.type === "value-paren_group" && node.groups && node.groups[0] && isKeyValuePairNode(node.groups[0]);
30031
+ var _node$groups2;
30032
+ return node.type === "value-paren_group" && ((_node$groups2 = node.groups) === null || _node$groups2 === void 0 ? void 0 : _node$groups2[0]) && isKeyValuePairNode(node.groups[0]);
32043
30033
  }
32044
30034
  function isSCSSMapItemNode(path) {
30035
+ var _declNode$prop;
32045
30036
  const node = path.getValue();
32046
30037
  if (node.groups.length === 0) {
32047
30038
  return false;
@@ -32051,7 +30042,7 @@ var require_utils8 = __commonJS2({
32051
30042
  return false;
32052
30043
  }
32053
30044
  const declNode = getAncestorNode(path, "css-decl");
32054
- if (declNode && declNode.prop && declNode.prop.startsWith("$")) {
30045
+ if (declNode !== null && declNode !== void 0 && (_declNode$prop = declNode.prop) !== null && _declNode$prop !== void 0 && _declNode$prop.startsWith("$")) {
32055
30046
  return true;
32056
30047
  }
32057
30048
  if (isKeyValuePairInParenGroupNode(parentParentNode)) {
@@ -32078,7 +30069,7 @@ var require_utils8 = __commonJS2({
32078
30069
  return ["value-word", "value-atword"].includes(node.type);
32079
30070
  }
32080
30071
  function isColonNode(node) {
32081
- return node && node.type === "value-colon";
30072
+ return (node === null || node === void 0 ? void 0 : node.type) === "value-colon";
32082
30073
  }
32083
30074
  function isKeyInValuePairNode(node, parentNode) {
32084
30075
  if (!isKeyValuePairNode(parentNode)) {
@@ -32106,23 +30097,25 @@ var require_utils8 = __commonJS2({
32106
30097
  return /\/\//.test(text.split(/[\n\r]/).pop());
32107
30098
  }
32108
30099
  function isAtWordPlaceholderNode(node) {
32109
- return node && node.type === "value-atword" && node.value.startsWith("prettier-placeholder-");
30100
+ return (node === null || node === void 0 ? void 0 : node.type) === "value-atword" && node.value.startsWith("prettier-placeholder-");
32110
30101
  }
32111
30102
  function isConfigurationNode(node, parentNode) {
32112
- if (!node.open || node.open.value !== "(" || !node.close || node.close.value !== ")" || node.groups.some((group) => group.type !== "value-comma_group")) {
30103
+ var _node$open, _node$close;
30104
+ if (((_node$open = node.open) === null || _node$open === void 0 ? void 0 : _node$open.value) !== "(" || ((_node$close = node.close) === null || _node$close === void 0 ? void 0 : _node$close.value) !== ")" || node.groups.some((group) => group.type !== "value-comma_group")) {
32113
30105
  return false;
32114
30106
  }
32115
30107
  if (parentNode.type === "value-comma_group") {
32116
30108
  const prevIdx = parentNode.groups.indexOf(node) - 1;
32117
30109
  const maybeWithNode = parentNode.groups[prevIdx];
32118
- if (maybeWithNode && maybeWithNode.type === "value-word" && maybeWithNode.value === "with") {
30110
+ if ((maybeWithNode === null || maybeWithNode === void 0 ? void 0 : maybeWithNode.type) === "value-word" && maybeWithNode.value === "with") {
32119
30111
  return true;
32120
30112
  }
32121
30113
  }
32122
30114
  return false;
32123
30115
  }
32124
30116
  function isParenGroupNode(node) {
32125
- return node.type === "value-paren_group" && node.open && node.open.value === "(" && node.close && node.close.value === ")";
30117
+ var _node$open2, _node$close2;
30118
+ return node.type === "value-paren_group" && ((_node$open2 = node.open) === null || _node$open2 === void 0 ? void 0 : _node$open2.value) === "(" && ((_node$close2 = node.close) === null || _node$close2 === void 0 ? void 0 : _node$close2.value) === ")";
32126
30119
  }
32127
30120
  module2.exports = {
32128
30121
  getAncestorCounter,
@@ -32401,11 +30394,29 @@ var require_css_units_evaluate = __commonJS2({
32401
30394
  lh: "lh",
32402
30395
  rlh: "rlh",
32403
30396
  vw: "vw",
30397
+ svw: "svw",
30398
+ lvw: "lvw",
30399
+ dvw: "dvw",
32404
30400
  vh: "vh",
30401
+ svh: "svh",
30402
+ lvh: "lvh",
30403
+ dvh: "dvh",
32405
30404
  vi: "vi",
30405
+ svi: "svi",
30406
+ lvi: "lvi",
30407
+ dvi: "dvi",
32406
30408
  vb: "vb",
30409
+ svb: "svb",
30410
+ lvb: "lvb",
30411
+ dvb: "dvb",
32407
30412
  vmin: "vmin",
30413
+ svmin: "svmin",
30414
+ lvmin: "lvmin",
30415
+ dvmin: "dvmin",
32408
30416
  vmax: "vmax",
30417
+ svmax: "svmax",
30418
+ lvmax: "lvmax",
30419
+ dvmax: "dvmax",
32409
30420
  cm: "cm",
32410
30421
  mm: "mm",
32411
30422
  q: "Q",
@@ -33027,6 +31038,7 @@ var require_PostCSS = __commonJS2({
33027
31038
  module2.exports = {
33028
31039
  name: "PostCSS",
33029
31040
  type: "markup",
31041
+ color: "#dc3a0c",
33030
31042
  tmScope: "source.postcss",
33031
31043
  group: "CSS",
33032
31044
  extensions: [".pcss", ".postcss"],
@@ -33041,6 +31053,7 @@ var require_Less = __commonJS2({
33041
31053
  name: "Less",
33042
31054
  type: "markup",
33043
31055
  color: "#1d365d",
31056
+ aliases: ["less-css"],
33044
31057
  extensions: [".less"],
33045
31058
  tmScope: "source.css.less",
33046
31059
  aceMode: "less",
@@ -33164,11 +31177,11 @@ var require_utils9 = __commonJS2({
33164
31177
  return string.toUpperCase() === string;
33165
31178
  }
33166
31179
  function isGlimmerComponent(node) {
33167
- return isNodeOfSomeType(node, ["ElementNode"]) && typeof node.tag === "string" && node.tag[0] !== ":" && (isUppercase(node.tag[0]) || node.tag.includes("."));
31180
+ return isNodeOfSomeType(node, ["ElementNode"]) && typeof node.tag === "string" && !node.tag.startsWith(":") && (isUppercase(node.tag[0]) || node.tag.includes("."));
33168
31181
  }
33169
31182
  var voidTags = new Set(htmlVoidElements);
33170
31183
  function isVoid(node) {
33171
- return isGlimmerComponent(node) && node.children.every((node2) => isWhitespaceNode(node2)) || voidTags.has(node.tag);
31184
+ return voidTags.has(node.tag) || isGlimmerComponent(node) && node.children.every((node2) => isWhitespaceNode(node2));
33172
31185
  }
33173
31186
  function isWhitespaceNode(node) {
33174
31187
  return isNodeOfSomeType(node, ["TextNode"]) && !/\S/.test(node.chars);
@@ -33189,9 +31202,10 @@ var require_utils9 = __commonJS2({
33189
31202
  return isNodeOfSomeType(nextNode, types);
33190
31203
  }
33191
31204
  function getSiblingNode(path, offset) {
31205
+ var _path$getParentNode2, _ref7, _ref8, _parentNode$children;
33192
31206
  const node = path.getValue();
33193
- const parentNode = path.getParentNode(0) || {};
33194
- const children = parentNode.children || parentNode.body || parentNode.parts || [];
31207
+ const parentNode = (_path$getParentNode2 = path.getParentNode(0)) !== null && _path$getParentNode2 !== void 0 ? _path$getParentNode2 : {};
31208
+ const children = (_ref7 = (_ref8 = (_parentNode$children = parentNode.children) !== null && _parentNode$children !== void 0 ? _parentNode$children : parentNode.body) !== null && _ref8 !== void 0 ? _ref8 : parentNode.parts) !== null && _ref7 !== void 0 ? _ref7 : [];
33195
31209
  const index = children.indexOf(node);
33196
31210
  return index !== -1 && children[index + offset];
33197
31211
  }
@@ -33667,12 +31681,12 @@ var require_printer_glimmer = __commonJS2({
33667
31681
  return false;
33668
31682
  }
33669
31683
  function printSubExpressionPathAndParams(path, print2) {
33670
- const p = printPath(path, print2);
31684
+ const printed = printPath(path, print2);
33671
31685
  const params = printParams(path, print2);
33672
31686
  if (!params) {
33673
- return p;
31687
+ return printed;
33674
31688
  }
33675
- return indent([p, line, group(params)]);
31689
+ return indent([printed, line, group(params)]);
33676
31690
  }
33677
31691
  function printPathAndParams(path, print2) {
33678
31692
  const p = printPath(path, print2);
@@ -33857,7 +31871,14 @@ var require_printer_graphql = __commonJS2({
33857
31871
  }
33858
31872
  case "StringValue": {
33859
31873
  if (node.block) {
33860
- return ['"""', hardline, join(hardline, node.value.replace(/"""/g, "\\$&").split("\n")), hardline, '"""'];
31874
+ const lines = node.value.replace(/"""/g, "\\$&").split("\n");
31875
+ if (lines.length === 1) {
31876
+ lines[0] = lines[0].trim();
31877
+ }
31878
+ if (lines.every((line2) => line2 === "")) {
31879
+ lines.length = 0;
31880
+ }
31881
+ return join(hardline, ['"""', ...lines, '"""']);
33861
31882
  }
33862
31883
  return ['"', node.value.replace(/["\\]/g, "\\$&").replace(/\n/g, "\\n"), '"'];
33863
31884
  }
@@ -33918,6 +31939,9 @@ var require_printer_graphql = __commonJS2({
33918
31939
  case "InputObjectTypeDefinition": {
33919
31940
  return [print("description"), node.description ? hardline : "", node.kind === "InputObjectTypeExtension" ? "extend " : "", "input ", print("name"), printDirectives(path, print, node), node.fields.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "fields"))]), hardline, "}"] : ""];
33920
31941
  }
31942
+ case "SchemaExtension": {
31943
+ return ["extend schema", printDirectives(path, print, node), ...node.operationTypes.length > 0 ? [" {", indent([hardline, join(hardline, printSequence(path, options, print, "operationTypes"))]), hardline, "}"] : []];
31944
+ }
33921
31945
  case "SchemaDefinition": {
33922
31946
  return [print("description"), node.description ? hardline : "", "schema", printDirectives(path, print, node), " {", node.operationTypes.length > 0 ? indent([hardline, join(hardline, printSequence(path, options, print, "operationTypes"))]) : "", hardline, "}"];
33923
31947
  }
@@ -34001,12 +32025,16 @@ var require_printer_graphql = __commonJS2({
34001
32025
  }
34002
32026
  return parts;
34003
32027
  }
34004
- function clean() {
32028
+ function clean(node, newNode) {
32029
+ if (node.kind === "StringValue" && node.block && !node.value.includes("\n")) {
32030
+ newNode.value = newNode.value.trim();
32031
+ }
34005
32032
  }
34006
32033
  clean.ignoredProperties = /* @__PURE__ */ new Set(["loc", "comments"]);
34007
32034
  function hasPrettierIgnore(path) {
32035
+ var _node$comments;
34008
32036
  const node = path.getValue();
34009
- return node && Array.isArray(node.comments) && node.comments.some((comment) => comment.value.trim() === "prettier-ignore");
32037
+ return node === null || node === void 0 ? void 0 : (_node$comments = node.comments) === null || _node$comments === void 0 ? void 0 : _node$comments.some((comment) => comment.value.trim() === "prettier-ignore");
34010
32038
  }
34011
32039
  module2.exports = {
34012
32040
  print: genericPrint,
@@ -34231,11 +32259,11 @@ var require_utils10 = __commonJS2({
34231
32259
  }(ast, null, []);
34232
32260
  }
34233
32261
  function isAutolink(node) {
34234
- if (!node || node.type !== "link" || node.children.length !== 1) {
32262
+ if ((node === null || node === void 0 ? void 0 : node.type) !== "link" || node.children.length !== 1) {
34235
32263
  return false;
34236
32264
  }
34237
- const child = node.children[0];
34238
- return child && locStart(node) === locStart(child) && locEnd(node) === locEnd(child);
32265
+ const [child] = node.children;
32266
+ return locStart(node) === locStart(child) && locEnd(node) === locEnd(child);
34239
32267
  }
34240
32268
  module2.exports = {
34241
32269
  mapAst,
@@ -34326,7 +32354,7 @@ var require_pragma4 = __commonJS2({
34326
32354
  )[\\s\\S]*
34327
32355
  .*-->`].join("|"), "m");
34328
32356
  const matched = text.match(regex);
34329
- return matched && matched.index === 0;
32357
+ return (matched === null || matched === void 0 ? void 0 : matched.index) === 0;
34330
32358
  }
34331
32359
  module2.exports = {
34332
32360
  startWithPragma,
@@ -35026,7 +33054,7 @@ var require_printer_markdown = __commonJS2({
35026
33054
  match = comment.value.match(/^prettier-ignore(?:-(start|end))?$/);
35027
33055
  }
35028
33056
  }
35029
- return match ? match[1] ? match[1] : "next" : false;
33057
+ return match ? match[1] || "next" : false;
35030
33058
  }
35031
33059
  function shouldPrePrintHardline(node, data) {
35032
33060
  const isFirstNode = data.parts.length === 0;
@@ -35035,13 +33063,14 @@ var require_printer_markdown = __commonJS2({
35035
33063
  return !isFirstNode && !isInlineNode && !isInlineHTML;
35036
33064
  }
35037
33065
  function shouldPrePrintDoubleHardline(node, data) {
33066
+ var _data$prevNode, _data$prevNode2, _data$prevNode3;
35038
33067
  const isSequence = (data.prevNode && data.prevNode.type) === node.type;
35039
33068
  const isSiblingNode = isSequence && SIBLING_NODE_TYPES.has(node.type);
35040
33069
  const isInTightListItem = data.parentNode.type === "listItem" && !data.parentNode.loose;
35041
- const isPrevNodeLooseListItem = data.prevNode && data.prevNode.type === "listItem" && data.prevNode.loose;
33070
+ const isPrevNodeLooseListItem = ((_data$prevNode = data.prevNode) === null || _data$prevNode === void 0 ? void 0 : _data$prevNode.type) === "listItem" && data.prevNode.loose;
35042
33071
  const isPrevNodePrettierIgnore = isPrettierIgnore(data.prevNode) === "next";
35043
- const isBlockHtmlWithoutBlankLineBetweenPrevHtml = node.type === "html" && data.prevNode && data.prevNode.type === "html" && data.prevNode.position.end.line + 1 === node.position.start.line;
35044
- const isHtmlDirectAfterListItem = node.type === "html" && data.parentNode.type === "listItem" && data.prevNode && data.prevNode.type === "paragraph" && data.prevNode.position.end.line + 1 === node.position.start.line;
33072
+ const isBlockHtmlWithoutBlankLineBetweenPrevHtml = node.type === "html" && ((_data$prevNode2 = data.prevNode) === null || _data$prevNode2 === void 0 ? void 0 : _data$prevNode2.type) === "html" && data.prevNode.position.end.line + 1 === node.position.start.line;
33073
+ const isHtmlDirectAfterListItem = node.type === "html" && data.parentNode.type === "listItem" && ((_data$prevNode3 = data.prevNode) === null || _data$prevNode3 === void 0 ? void 0 : _data$prevNode3.type) === "paragraph" && data.prevNode.position.end.line + 1 === node.position.start.line;
35045
33074
  return isPrevNodeLooseListItem || !(isSiblingNode || isInTightListItem || isPrevNodePrettierIgnore || isBlockHtmlWithoutBlankLineBetweenPrevHtml || isHtmlDirectAfterListItem);
35046
33075
  }
35047
33076
  function shouldPrePrintTripleHardline(node, data) {
@@ -35133,7 +33162,7 @@ var require_Markdown = __commonJS2({
35133
33162
  codemirrorMode: "gfm",
35134
33163
  codemirrorMimeType: "text/x-gfm",
35135
33164
  wrap: true,
35136
- extensions: [".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"],
33165
+ extensions: [".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"],
35137
33166
  filenames: ["contents.lr"],
35138
33167
  tmScope: "source.gfm",
35139
33168
  languageId: 222
@@ -35178,7 +33207,7 @@ var require_clean5 = __commonJS2({
35178
33207
  var {
35179
33208
  isFrontMatterNode
35180
33209
  } = require_util();
35181
- var ignoredProperties = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "parent"]);
33210
+ var ignoredProperties = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan"]);
35182
33211
  function clean(ast, newNode) {
35183
33212
  if (ast.type === "text" || ast.type === "comment") {
35184
33213
  return null;
@@ -35502,14 +33531,14 @@ var require_utils11 = __commonJS2({
35502
33531
  if (type === "text/html") {
35503
33532
  return "html";
35504
33533
  }
35505
- if (type && (type.endsWith("json") || type.endsWith("importmap"))) {
33534
+ if (type && (type.endsWith("json") || type.endsWith("importmap")) || type === "speculationrules") {
35506
33535
  return "json";
35507
33536
  }
35508
33537
  if (type === "text/x-handlebars-template") {
35509
33538
  return "glimmer";
35510
33539
  }
35511
33540
  }
35512
- function inferStyleParser(node) {
33541
+ function inferStyleParser(node, options) {
35513
33542
  const {
35514
33543
  lang
35515
33544
  } = node.attrMap;
@@ -35522,6 +33551,9 @@ var require_utils11 = __commonJS2({
35522
33551
  if (lang === "less") {
35523
33552
  return "less";
35524
33553
  }
33554
+ if (lang === "stylus") {
33555
+ return inferParserByLanguage("stylus", options);
33556
+ }
35525
33557
  }
35526
33558
  function inferScriptParser(node, options) {
35527
33559
  if (node.name === "script" && !node.attrMap.src) {
@@ -35531,7 +33563,7 @@ var require_utils11 = __commonJS2({
35531
33563
  return _inferScriptParser(node);
35532
33564
  }
35533
33565
  if (node.name === "style") {
35534
- return inferStyleParser(node);
33566
+ return inferStyleParser(node, options);
35535
33567
  }
35536
33568
  if (options && isVueNonHtmlBlock(node, options)) {
35537
33569
  return _inferScriptParser(node) || !("src" in node.attrMap) && inferParserByLanguage(node.attrMap.lang, options);
@@ -35669,6 +33701,9 @@ var require_utils11 = __commonJS2({
35669
33701
  function getTextValueParts(node, value = node.value) {
35670
33702
  return node.parent.isWhitespaceSensitive ? node.parent.isIndentationSensitive ? replaceTextEndOfLine(value) : replaceTextEndOfLine(dedentString(htmlTrimPreserveIndentation(value)), hardline) : getDocParts(join(line, splitByHtmlWhitespace(value)));
35671
33703
  }
33704
+ function isVueScriptTag(node, options) {
33705
+ return isVueSfcBlock(node, options) && node.name === "script";
33706
+ }
35672
33707
  module2.exports = {
35673
33708
  htmlTrim,
35674
33709
  htmlTrimPreserveIndentation,
@@ -35688,8 +33723,10 @@ var require_utils11 = __commonJS2({
35688
33723
  inferScriptParser,
35689
33724
  isVueCustomBlock,
35690
33725
  isVueNonHtmlBlock,
33726
+ isVueScriptTag,
35691
33727
  isVueSlotAttribute,
35692
33728
  isVueSfcBindingsAttribute,
33729
+ isVueSfcBlock,
35693
33730
  isDanglingSpaceSensitiveNode,
35694
33731
  isIndentationSensitiveNode,
35695
33732
  isLeadingSpaceSensitiveNode,
@@ -36663,9 +34700,10 @@ var require_print_preprocess3 = __commonJS2({
36663
34700
  isIndentationSensitiveNode,
36664
34701
  isLeadingSpaceSensitiveNode,
36665
34702
  isTrailingSpaceSensitiveNode,
36666
- isWhitespaceSensitiveNode
34703
+ isWhitespaceSensitiveNode,
34704
+ isVueScriptTag
36667
34705
  } = require_utils11();
36668
- var PREPROCESS_PIPELINE = [removeIgnorableFirstLf, mergeIfConditionalStartEndCommentIntoElementOpeningTag, mergeCdataIntoText, extractInterpolation, extractWhitespaces, addCssDisplay, addIsSelfClosing, addHasHtmComponentClosingTag, addIsSpaceSensitive, mergeSimpleElementIntoText];
34706
+ var PREPROCESS_PIPELINE = [removeIgnorableFirstLf, mergeIfConditionalStartEndCommentIntoElementOpeningTag, mergeCdataIntoText, extractInterpolation, extractWhitespaces, addCssDisplay, addIsSelfClosing, addHasHtmComponentClosingTag, addIsSpaceSensitive, mergeSimpleElementIntoText, markTsScript];
36669
34707
  function preprocess(ast, options) {
36670
34708
  for (const fn of PREPROCESS_PIPELINE) {
36671
34709
  fn(ast, options);
@@ -36899,6 +34937,20 @@ var require_print_preprocess3 = __commonJS2({
36899
34937
  }
36900
34938
  });
36901
34939
  }
34940
+ function markTsScript(ast, options) {
34941
+ if (options.parser === "vue") {
34942
+ const vueScriptTag = ast.children.find((child) => isVueScriptTag(child, options));
34943
+ if (!vueScriptTag) {
34944
+ return;
34945
+ }
34946
+ const {
34947
+ lang
34948
+ } = vueScriptTag.attrMap;
34949
+ if (lang === "ts" || lang === "typescript") {
34950
+ options.__should_parse_vue_template_with_ts = true;
34951
+ }
34952
+ }
34953
+ }
36902
34954
  module2.exports = preprocess;
36903
34955
  }
36904
34956
  });
@@ -36960,7 +35012,8 @@ var require_tag = __commonJS2({
36960
35012
  getLastDescendant,
36961
35013
  isPreLikeNode,
36962
35014
  hasPrettierIgnore,
36963
- shouldPreserveContent
35015
+ shouldPreserveContent,
35016
+ isVueSfcBlock
36964
35017
  } = require_utils11();
36965
35018
  function printClosingTag(node, options) {
36966
35019
  return [node.isSelfClosing ? "" : printClosingTagStart(node, options), printClosingTagEnd(node, options)];
@@ -37053,7 +35106,8 @@ var require_tag = __commonJS2({
37053
35106
  return hasPrettierIgnoreAttribute(attribute) ? replaceTextEndOfLine(options.originalText.slice(locStart(attribute), locEnd(attribute))) : print();
37054
35107
  }, "attrs");
37055
35108
  const forceNotToBreakAttrContent = node.type === "element" && node.fullName === "script" && node.attrs.length === 1 && node.attrs[0].fullName === "src" && node.children.length === 0;
37056
- const attributeLine = options.singleAttributePerLine && node.attrs.length > 1 ? hardline : line;
35109
+ const shouldPrintAttributePerLine = options.singleAttributePerLine && node.attrs.length > 1 && !isVueSfcBlock(node, options);
35110
+ const attributeLine = shouldPrintAttributePerLine ? hardline : line;
37057
35111
  const parts = [indent([forceNotToBreakAttrContent ? " " : line, join(attributeLine, printedAttributes)])];
37058
35112
  if (node.firstChild && needsToBorrowParentOpeningTagEndMarker(node.firstChild) || node.isSelfClosing && needsToBorrowLastChildClosingTagEndMarker(node.parent) || forceNotToBreakAttrContent) {
37059
35113
  parts.push(node.isSelfClosing ? " " : "");
@@ -37541,8 +35595,9 @@ var require_embed4 = __commonJS2({
37541
35595
  const jsExpressionBindingPatterns = ["^v-"];
37542
35596
  if (isKeyMatched(vueEventBindingPatterns)) {
37543
35597
  const value = getValue();
35598
+ const parser = isVueEventBindingExpression(value) ? "__js_expression" : options.__should_parse_vue_template_with_ts ? "__vue_ts_event_binding" : "__vue_event_binding";
37544
35599
  return printMaybeHug(attributeTextToDoc(value, {
37545
- parser: isVueEventBindingExpression(value) ? "__js_expression" : "__vue_event_binding"
35600
+ parser
37546
35601
  }));
37547
35602
  }
37548
35603
  if (isKeyMatched(vueExpressionBindingPatterns)) {
@@ -37636,7 +35691,7 @@ var require_embed4 = __commonJS2({
37636
35691
  }
37637
35692
  case "text": {
37638
35693
  if (isScriptLikeTag(node.parent)) {
37639
- const parser = inferScriptParser(node.parent);
35694
+ const parser = inferScriptParser(node.parent, options);
37640
35695
  if (parser) {
37641
35696
  const value = parser === "markdown" ? dedentString(node.value.replace(/^[^\S\n]*\n/, "")) : node.value;
37642
35697
  const textToDocOptions = {
@@ -37666,7 +35721,7 @@ var require_embed4 = __commonJS2({
37666
35721
  textToDocOptions.parser = "__ng_interpolation";
37667
35722
  textToDocOptions.trailingComma = "none";
37668
35723
  } else if (options.parser === "vue") {
37669
- textToDocOptions.parser = "__vue_expression";
35724
+ textToDocOptions.parser = options.__should_parse_vue_template_with_ts ? "__vue_ts_expression" : "__vue_expression";
37670
35725
  } else {
37671
35726
  textToDocOptions.parser = "__js_expression";
37672
35727
  }
@@ -38093,7 +36148,7 @@ var require_HTML = __commonJS2({
38093
36148
  codemirrorMimeType: "text/html",
38094
36149
  color: "#e34c26",
38095
36150
  aliases: ["xhtml"],
38096
- extensions: [".html", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"],
36151
+ extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"],
38097
36152
  languageId: 146
38098
36153
  };
38099
36154
  }
@@ -38291,19 +36346,19 @@ var require_utils12 = __commonJS2({
38291
36346
  return hasLeadingComments(node) || hasMiddleComments(node) || hasIndicatorComment(node) || hasTrailingComment(node) || hasEndComments(node);
38292
36347
  }
38293
36348
  function hasLeadingComments(node) {
38294
- return node && isNonEmptyArray(node.leadingComments);
36349
+ return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.leadingComments);
38295
36350
  }
38296
36351
  function hasMiddleComments(node) {
38297
- return node && isNonEmptyArray(node.middleComments);
36352
+ return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.middleComments);
38298
36353
  }
38299
36354
  function hasIndicatorComment(node) {
38300
- return node && node.indicatorComment;
36355
+ return node === null || node === void 0 ? void 0 : node.indicatorComment;
38301
36356
  }
38302
36357
  function hasTrailingComment(node) {
38303
- return node && node.trailingComment;
36358
+ return node === null || node === void 0 ? void 0 : node.trailingComment;
38304
36359
  }
38305
36360
  function hasEndComments(node) {
38306
- return node && isNonEmptyArray(node.endComments);
36361
+ return isNonEmptyArray(node === null || node === void 0 ? void 0 : node.endComments);
38307
36362
  }
38308
36363
  function splitWithSingleSpace(text) {
38309
36364
  const parts = [];
@@ -38934,7 +36989,7 @@ var require_printer_yaml = __commonJS2({
38934
36989
  case "sequence":
38935
36990
  return join(hardline, path.map(print, "children"));
38936
36991
  case "sequenceItem":
38937
- return ["- ", alignWithSpaces(2, !node.content ? "" : print("content"))];
36992
+ return ["- ", alignWithSpaces(2, node.content ? print("content") : "")];
38938
36993
  case "mappingKey":
38939
36994
  case "mappingValue":
38940
36995
  return !node.content ? "" : print("content");
@@ -39026,7 +37081,7 @@ var require_YAML = __commonJS2({
39026
37081
  tmScope: "source.yaml",
39027
37082
  aliases: ["yml"],
39028
37083
  extensions: [".yml", ".mir", ".reek", ".rviz", ".sublime-syntax", ".syntax", ".yaml", ".yaml-tmlanguage", ".yaml.sed", ".yml.mysql"],
39029
- filenames: [".clang-format", ".clang-tidy", ".gemrc", "glide.lock", "yarn.lock"],
37084
+ filenames: [".clang-format", ".clang-tidy", ".gemrc", "CITATION.cff", "glide.lock", "yarn.lock"],
39030
37085
  aceMode: "yaml",
39031
37086
  codemirrorMode: "yaml",
39032
37087
  codemirrorMimeType: "text/x-yaml",
@@ -39068,23 +37123,23 @@ var require_load_plugins = __commonJS2({
39068
37123
  "use strict";
39069
37124
  var fs = require("fs");
39070
37125
  var path = require("path");
39071
- var uniqBy = require_uniqBy();
39072
- var partition = require_partition();
39073
37126
  var fastGlob = require_out4();
37127
+ var partition = require_partition();
37128
+ var uniqByKey = require_uniq_by_key();
39074
37129
  var internalPlugins = require_languages();
39075
37130
  var {
39076
- default: mem,
39077
- memClear
39078
- } = require_mem();
37131
+ default: mem2,
37132
+ memClear: memClear2
37133
+ } = (init_dist(), __toCommonJS(dist_exports));
39079
37134
  var thirdParty = require("./third-party.js");
39080
37135
  var resolve = require_resolve2();
39081
- var memoizedLoad = mem(load, {
37136
+ var memoizedLoad = mem2(load, {
39082
37137
  cacheKey: JSON.stringify
39083
37138
  });
39084
- var memoizedSearch = mem(findPluginsInNodeModules);
37139
+ var memoizedSearch = mem2(findPluginsInNodeModules);
39085
37140
  var clearCache = () => {
39086
- memClear(memoizedLoad);
39087
- memClear(memoizedSearch);
37141
+ memClear2(memoizedLoad);
37142
+ memClear2(memoizedSearch);
39088
37143
  };
39089
37144
  function load(plugins2, pluginSearchDirs) {
39090
37145
  if (!plugins2) {
@@ -39129,7 +37184,7 @@ var require_load_plugins = __commonJS2({
39129
37184
  })
39130
37185
  }));
39131
37186
  });
39132
- const externalPlugins = [...uniqBy([...externalManualLoadPluginInfos, ...externalAutoLoadPluginInfos], "requirePath").map((externalPluginInfo) => Object.assign({
37187
+ const externalPlugins = [...uniqByKey([...externalManualLoadPluginInfos, ...externalAutoLoadPluginInfos], "requirePath").map((externalPluginInfo) => Object.assign({
39133
37188
  name: externalPluginInfo.name
39134
37189
  }, require(externalPluginInfo.requirePath))), ...externalPluginInstances];
39135
37190
  return [...internalPlugins, ...externalPlugins];
@@ -39213,6 +37268,7 @@ module.exports = {
39213
37268
  utils: {
39214
37269
  arrayify: require_arrayify(),
39215
37270
  getLast: require_get_last(),
37271
+ partition: require_partition(),
39216
37272
  isNonEmptyArray: require_util().isNonEmptyArray
39217
37273
  }
39218
37274
  },