@rotki/eslint-config 4.2.1 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.d.ts +206 -155
  2. package/dist/index.js +430 -423
  3. package/package.json +12 -12
package/dist/index.js CHANGED
@@ -3589,7 +3589,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3589
3589
  return Array.isArray(m$3) || m$3 instanceof Set || m$3 instanceof d$2 ? m$3 : new d$2(m$3);
3590
3590
  }
3591
3591
  function* _$1(m$3) {
3592
- const n$3 = e$2(m$3).map(g$2), i$3 = n$3.map((m$4) => m$4[Symbol.iterator]()), a$3 = [];
3592
+ const n$3 = e$2(m$3).map(g$2), i$3 = n$3.map(((m$4) => m$4[Symbol.iterator]())), a$3 = [];
3593
3593
  for (const m$4 of i$3) {
3594
3594
  const n$4 = m$4.next();
3595
3595
  if (n$4.done) return;
@@ -3630,7 +3630,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3630
3630
  case "Concatenation": throw new Error("A concatenation cannot be parent of a concatenation.");
3631
3631
  default: throw h$2(n$3);
3632
3632
  }
3633
- m$3.elements.forEach((n$4) => v$2(n$4, m$3));
3633
+ m$3.elements.forEach(((n$4) => v$2(n$4, m$3)));
3634
3634
  break;
3635
3635
  case "Alternation":
3636
3636
  case "Assertion":
@@ -3639,11 +3639,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3639
3639
  case "Unknown":
3640
3640
  if (null === n$3) throw new Error(`The parent of a(n) ${m$3.type} cannot be null.`);
3641
3641
  if ("Concatenation" !== n$3.type) throw new Error(`A(n) ${n$3.type} cannot be parent of a(n) ${m$3.type}.`);
3642
- m$3.parent = n$3, "CharacterClass" !== m$3.type && "Unknown" !== m$3.type && m$3.alternatives.forEach((n$4) => v$2(n$4, m$3));
3642
+ m$3.parent = n$3, "CharacterClass" !== m$3.type && "Unknown" !== m$3.type && m$3.alternatives.forEach(((n$4) => v$2(n$4, m$3)));
3643
3643
  break;
3644
3644
  case "Expression":
3645
3645
  if (null !== n$3) throw new Error(`The parent of an expression has to be null and cannot be a(n) ${n$3.type}.`);
3646
- m$3.parent = null, m$3.alternatives.forEach((n$4) => v$2(n$4, m$3));
3646
+ m$3.parent = null, m$3.alternatives.forEach(((n$4) => v$2(n$4, m$3)));
3647
3647
  break;
3648
3648
  default: throw h$2(m$3);
3649
3649
  }
@@ -3669,13 +3669,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3669
3669
  }
3670
3670
  switch (m$3.type) {
3671
3671
  case "Concatenation":
3672
- m$3.elements.forEach((m$4) => S$2(m$4, n$3, i$3));
3672
+ m$3.elements.forEach(((m$4) => S$2(m$4, n$3, i$3)));
3673
3673
  break;
3674
3674
  case "Alternation":
3675
3675
  case "Assertion":
3676
3676
  case "Expression":
3677
3677
  case "Quantifier":
3678
- m$3.alternatives.forEach((m$4) => S$2(m$4, n$3, i$3));
3678
+ m$3.alternatives.forEach(((m$4) => S$2(m$4, n$3, i$3)));
3679
3679
  break;
3680
3680
  case "CharacterClass":
3681
3681
  case "Unknown": break;
@@ -3749,13 +3749,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3749
3749
  function N$1({ transformer: m$3, ast: n$3, maxCharacter: i$3, events: a$3 }) {
3750
3750
  let x$3, e$3 = !1;
3751
3751
  const t$3 = m$3 instanceof k$1 ? m$3.transformers : [m$3], r$3 = {
3752
- onAlternation: t$3.filter((m$4) => m$4.onAlternation),
3753
- onAssertion: t$3.filter((m$4) => m$4.onAssertion),
3754
- onCharacterClass: t$3.filter((m$4) => m$4.onCharacterClass),
3755
- onConcatenation: t$3.filter((m$4) => m$4.onConcatenation),
3756
- onExpression: t$3.filter((m$4) => m$4.onExpression),
3757
- onQuantifier: t$3.filter((m$4) => m$4.onQuantifier),
3758
- onUnknown: t$3.filter((m$4) => m$4.onUnknown)
3752
+ onAlternation: t$3.filter(((m$4) => m$4.onAlternation)),
3753
+ onAssertion: t$3.filter(((m$4) => m$4.onAssertion)),
3754
+ onCharacterClass: t$3.filter(((m$4) => m$4.onCharacterClass)),
3755
+ onConcatenation: t$3.filter(((m$4) => m$4.onConcatenation)),
3756
+ onExpression: t$3.filter(((m$4) => m$4.onExpression)),
3757
+ onQuantifier: t$3.filter(((m$4) => m$4.onQuantifier)),
3758
+ onUnknown: t$3.filter(((m$4) => m$4.onUnknown))
3759
3759
  };
3760
3760
  if (null == a$3 ? void 0 : a$3.onChange) {
3761
3761
  let m$4 = !1;
@@ -3980,7 +3980,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
3980
3980
  i$3.push(m$4);
3981
3981
  }
3982
3982
  var a$3;
3983
- return (a$3 = i$3).sort((m$4, n$4) => m$4.min - n$4.min), F$1(a$3), new I$1(this.maximum, i$3);
3983
+ return (a$3 = i$3).sort(((m$4, n$4) => m$4.min - n$4.min)), F$1(a$3), new I$1(this.maximum, i$3);
3984
3984
  }
3985
3985
  intersect(m$3) {
3986
3986
  let n$3;
@@ -4142,7 +4142,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4142
4142
  var V$1 = class {
4143
4143
  constructor(m$3) {
4144
4144
  this.sets = function(m$4) {
4145
- const n$3 = [...t$2(m$4)].filter((m$5) => !m$5.isEmpty).sort((m$5, n$4) => m$5.compare(n$4)).filter((m$5, n$4, i$4) => 0 === n$4 || !m$5.equals(i$4[n$4 - 1]));
4145
+ const n$3 = [...t$2(m$4)].filter(((m$5) => !m$5.isEmpty)).sort(((m$5, n$4) => m$5.compare(n$4))).filter(((m$5, n$4, i$4) => 0 === n$4 || !m$5.equals(i$4[n$4 - 1])));
4146
4146
  if (0 === n$3.length) return n$3;
4147
4147
  if (1 === n$3.length) return n$3;
4148
4148
  const i$3 = n$3[0].maximum, a$3 = [];
@@ -4155,7 +4155,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4155
4155
  const { min: n$5, max: i$4 } = a$3[m$5];
4156
4156
  e$3.add(n$5), e$3.add(i$4 + 1);
4157
4157
  }
4158
- const r$3 = [...e$3].sort((m$5, n$4) => m$5 - n$4), s$3 = /* @__PURE__ */ new Map();
4158
+ const r$3 = [...e$3].sort(((m$5, n$4) => m$5 - n$4)), s$3 = /* @__PURE__ */ new Map();
4159
4159
  for (let m$5 = 1, i$4 = r$3.length; m$5 < i$4; m$5++) {
4160
4160
  const i$5 = r$3[m$5 - 1];
4161
4161
  if (x$3.has(i$5)) {
@@ -4371,26 +4371,26 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4371
4371
  copy(m$3) {
4372
4372
  if (!m$3) {
4373
4373
  const m$4 = new W$1();
4374
- return m$4._array = this._array.map((m$5) => ({
4374
+ return m$4._array = this._array.map(((m$5) => ({
4375
4375
  range: m$5.range,
4376
4376
  value: m$5.value
4377
- })), m$4;
4377
+ }))), m$4;
4378
4378
  }
4379
4379
  const n$3 = new W$1();
4380
- return n$3._array = this._array.map((n$4) => ({
4380
+ return n$3._array = this._array.map(((n$4) => ({
4381
4381
  range: n$4.range,
4382
4382
  value: m$3(n$4.value)
4383
- })), i$2(n$3._array, (m$4, n$4) => !n$4 || n$4.range.max + 1 !== m$4.range.min || n$4.value !== m$4.value || (n$4.range = {
4383
+ }))), i$2(n$3._array, ((m$4, n$4) => !n$4 || n$4.range.max + 1 !== m$4.range.min || n$4.value !== m$4.value || (n$4.range = {
4384
4384
  min: n$4.range.min,
4385
4385
  max: m$4.range.max
4386
- }, !1)), n$3;
4386
+ }, !1))), n$3;
4387
4387
  }
4388
4388
  map(m$3) {
4389
4389
  for (const n$3 of this._array) n$3.value = m$3(n$3.value, n$3.range, this);
4390
- i$2(this._array, (m$4, n$3) => !n$3 || n$3.range.max + 1 !== m$4.range.min || n$3.value !== m$4.value || (n$3.range = {
4390
+ i$2(this._array, ((m$4, n$3) => !n$3 || n$3.range.max + 1 !== m$4.range.min || n$3.value !== m$4.value || (n$3.range = {
4391
4391
  min: n$3.range.min,
4392
4392
  max: m$4.range.max
4393
- }, !1));
4393
+ }, !1)));
4394
4394
  }
4395
4395
  mapRange(m$3, n$3) {
4396
4396
  const i$3 = [];
@@ -4436,7 +4436,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4436
4436
  this._array = i$3;
4437
4437
  }
4438
4438
  filter(m$3) {
4439
- i$2(this._array, (n$3) => m$3(n$3.value, n$3.range, this));
4439
+ i$2(this._array, ((n$3) => m$3(n$3.value, n$3.range, this)));
4440
4440
  }
4441
4441
  invert(m$3) {
4442
4442
  const n$3 = /* @__PURE__ */ new Map();
@@ -4465,7 +4465,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4465
4465
  }
4466
4466
  };
4467
4467
  function Q$1(n$3, i$3, a$3, x$3) {
4468
- const e$3 = m$2((m$3) => I$1.fromCharacters(x$3, [m$3]));
4468
+ const e$3 = m$2(((m$3) => I$1.fromCharacters(x$3, [m$3])));
4469
4469
  for (const m$3 of a$3) {
4470
4470
  let a$4 = n$3.initial;
4471
4471
  for (const t$3 of m$3) {
@@ -4494,10 +4494,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4494
4494
  }
4495
4495
  for (const m$4 of n$4) m$4.isFinal = !0;
4496
4496
  }
4497
- return l$2(a$3, (n$4, i$4) => {
4497
+ return l$2(a$3, ((n$4, i$4) => {
4498
4498
  n$4.isFinal && m$3.makeFinal(n$4.builderNode);
4499
4499
  for (const { to: a$4, via: x$3 } of n$4.out) i$4.push(a$4), m$3.linkNodes(n$4.builderNode, a$4.builderNode, x$3);
4500
- }), {
4500
+ })), {
4501
4501
  initial: m$3.initial,
4502
4502
  stableOut: !0,
4503
4503
  getOut: (m$4) => m$4,
@@ -4556,7 +4556,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4556
4556
  }
4557
4557
  function X$1(m$3, n$3) {
4558
4558
  const i$3 = m$3.getOut;
4559
- return K$1(m$3, (m$4) => n$3(i$3(m$4)));
4559
+ return K$1(m$3, ((m$4) => n$3(i$3(m$4))));
4560
4560
  }
4561
4561
  function Y$1(m$3, n$3) {
4562
4562
  const i$3 = m$3.getOut;
@@ -4580,10 +4580,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4580
4580
  function im(m$3) {
4581
4581
  return m$3.stableOut ? m$3 : function(m$4) {
4582
4582
  const n$3 = /* @__PURE__ */ new Map(), i$3 = m$4.getOut;
4583
- return K$1(m$4, (m$5) => {
4583
+ return K$1(m$4, ((m$5) => {
4584
4584
  let a$3 = n$3.get(m$5);
4585
4585
  return void 0 === a$3 && (a$3 = i$3(m$5), n$3.set(m$5, a$3)), a$3;
4586
- }, !0);
4586
+ }), !0);
4587
4587
  }(m$3);
4588
4588
  }
4589
4589
  function am(m$3) {
@@ -4623,8 +4623,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4623
4623
  for (const n$5 of m$4) i$4.set(n$5, /* @__PURE__ */ new Set());
4624
4624
  for (const a$4 of m$4) for (const m$5 of n$4(a$4)) i$4.get(m$5).add(a$4);
4625
4625
  return i$4;
4626
- }(n$3, m$3.getOut), x$3 = new Set(o$2(i$3, (m$4) => a$3.get(m$4)));
4627
- return !em(mm(m$3, (m$4) => x$3.has(m$4)));
4626
+ }(n$3, m$3.getOut), x$3 = new Set(o$2(i$3, ((m$4) => a$3.get(m$4))));
4627
+ return !em(mm(m$3, ((m$4) => x$3.has(m$4))));
4628
4628
  }
4629
4629
  function rm(m$3, n$3) {
4630
4630
  const { initial: i$3, getOut: a$3, isFinal: x$3 } = m$3;
@@ -4674,9 +4674,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4674
4674
  if (void 0 === a$5) {
4675
4675
  let x$4 = function(m$5) {
4676
4676
  let n$5 = 65535 & m$5.maximum;
4677
- return m$5.ranges.forEach(({ min: m$6, max: i$6 }) => {
4677
+ return m$5.ranges.forEach((({ min: m$6, max: i$6 }) => {
4678
4678
  n$5 = 65535 & (31 * n$5 + m$6 ^ 31 * i$6);
4679
- }), n$5;
4679
+ })), n$5;
4680
4680
  }(i$5);
4681
4681
  for (;;) {
4682
4682
  const e$4 = m$4[x$4];
@@ -4733,10 +4733,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4733
4733
  const { charSets: a$3, ids: x$3 } = function(m$4) {
4734
4734
  const n$4 = /* @__PURE__ */ new Set(), i$3 = /* @__PURE__ */ new Map();
4735
4735
  let a$4 = 0;
4736
- return l$2(m$4.initial, (x$4, e$4) => {
4736
+ return l$2(m$4.initial, ((x$4, e$4) => {
4737
4737
  i$3.set(x$4, a$4), a$4++;
4738
4738
  for (const [i$4, a$5] of m$4.getOut(x$4)) n$4.add(a$5), e$4.push(i$4);
4739
- }), {
4739
+ })), {
4740
4740
  charSets: n$4,
4741
4741
  ids: i$3
4742
4742
  };
@@ -4750,10 +4750,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4750
4750
  const o$4 = [];
4751
4751
  for (const m$4 of a$4) for (const [i$3, a$5] of n$3.getOut(m$4)) a$5.has(e$4) && o$4.push(i$3);
4752
4752
  return 0 === o$4.length ? void 0 : function(a$5) {
4753
- a$5.sort((m$4, n$4) => x$3.get(m$4) - x$3.get(n$4)), i$2(a$5, (m$4, n$4) => m$4 !== n$4);
4753
+ a$5.sort(((m$4, n$4) => x$3.get(m$4) - x$3.get(n$4))), i$2(a$5, ((m$4, n$4) => m$4 !== n$4));
4754
4754
  const e$5 = s$3(a$5);
4755
4755
  let o$5 = t$3.get(e$5);
4756
- return void 0 === o$5 && (o$5 = m$3.createNode(), a$5.some((m$4) => n$3.isFinal(m$4)) && m$3.makeFinal(o$5), t$3.set(e$5, o$5), r$3.set(o$5, a$5)), o$5;
4756
+ return void 0 === o$5 && (o$5 = m$3.createNode(), a$5.some(((m$4) => n$3.isFinal(m$4))) && m$3.makeFinal(o$5), t$3.set(e$5, o$5), r$3.set(o$5, a$5)), o$5;
4757
4757
  }(o$4);
4758
4758
  }
4759
4759
  return t$3.set(s$3([n$3.initial]), m$3.initial), r$3.set(m$3.initial, [n$3.initial]), n$3.isFinal(n$3.initial) && m$3.makeFinal(m$3.initial), {
@@ -4823,7 +4823,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4823
4823
  }
4824
4824
  s$3 = m$5;
4825
4825
  }
4826
- return r$3.forEach((m$5) => e$3.set(m$5, !1)), !1;
4826
+ return r$3.forEach(((m$5) => e$3.set(m$5, !1))), !1;
4827
4827
  }
4828
4828
  return {
4829
4829
  initial: i$3,
@@ -4843,15 +4843,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4843
4843
  const n$4 = [];
4844
4844
  for (let e$3 = 0, t$3 = x$3.length; e$3 < t$3; e$3++) {
4845
4845
  const t$4 = x$3[e$3];
4846
- null === (a$3 = i$3.get(t$4)) || void 0 === a$3 || a$3.forEach((i$4) => {
4846
+ null === (a$3 = i$3.get(t$4)) || void 0 === a$3 || a$3.forEach(((i$4) => {
4847
4847
  m$3.has(i$4) || (m$3.set(i$4, !0), n$4.push(i$4));
4848
- });
4848
+ }));
4849
4849
  }
4850
4850
  x$3 = n$4;
4851
4851
  }
4852
4852
  }
4853
4853
  function dm(m$3) {
4854
- const n$3 = im(X$1(m$3, e$2)), i$3 = [...am(Y$1(n$3, ([m$4]) => m$4))], a$3 = new Map(i$3.map((m$4, n$4) => [m$4, n$4]));
4854
+ const n$3 = im(X$1(m$3, e$2)), i$3 = [...am(Y$1(n$3, (([m$4]) => m$4)))], a$3 = new Map(i$3.map(((m$4, n$4) => [m$4, n$4])));
4855
4855
  return {
4856
4856
  stableIter: n$3,
4857
4857
  states: i$3,
@@ -4874,7 +4874,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4874
4874
  function o$3(m$4) {
4875
4875
  if (/^[a-zA-Z_]\w*$/.test(m$4)) s$3 += m$4;
4876
4876
  else {
4877
- let n$4 = m$4.replace(/[\\"]/g, (m$5) => "\\" + m$5);
4877
+ let n$4 = m$4.replace(/[\\"]/g, ((m$5) => "\\" + m$5));
4878
4878
  "\\" === n$4[n$4.length - 1] && (n$4 += " "), s$3 += "\"" + n$4 + "\"";
4879
4879
  }
4880
4880
  }
@@ -4904,15 +4904,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4904
4904
  if (void 0 === n$4) continue;
4905
4905
  s$3 += " ", o$3(m$4), s$3 += "=", l$3(n$4), s$3 += ";\n";
4906
4906
  }
4907
- return s$3 += "\n // nodes\n", s$3 += " null [shape=point];\n", t$3.forEach((m$4, n$4) => {
4907
+ return s$3 += "\n // nodes\n", s$3 += " null [shape=point];\n", t$3.forEach(((m$4, n$4) => {
4908
4908
  s$3 += " ", h$3(n$4), s$3 += " ", c$3(x$3(m$4, r$3)), s$3 += ";\n";
4909
- }), s$3 += "\n // edges\n", s$3 += " null -> n0;\n", t$3.forEach((m$4, n$4) => {
4910
- e$3.getOut(m$4).forEach(([a$4, x$4], e$4) => {
4909
+ })), s$3 += "\n // edges\n", s$3 += " null -> n0;\n", t$3.forEach(((m$4, n$4) => {
4910
+ e$3.getOut(m$4).forEach((([a$4, x$4], e$4) => {
4911
4911
  s$3 += " ", h$3(n$4), s$3 += " -> ", function(m$5) {
4912
4912
  s$3 += "n" + r$3.getId(m$5);
4913
4913
  }(a$4), s$3 += " ", c$3(i$3(x$4, e$4, m$4, a$4, r$3)), s$3 += ";\n";
4914
- });
4915
- }), s$3 += "}", s$3;
4914
+ }));
4915
+ })), s$3 += "}", s$3;
4916
4916
  }
4917
4917
  const _m = (m$3, n$3) => ({
4918
4918
  label: String(n$3.getId(m$3)),
@@ -4935,18 +4935,18 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
4935
4935
  function o$3(m$4) {
4936
4936
  r$3 += "n" + m$4;
4937
4937
  }
4938
- return r$3 += "flowchart LR\n", r$3 += "%% nodes\n", r$3 += " null(( ))\n", e$3.forEach((m$4, n$4) => {
4938
+ return r$3 += "flowchart LR\n", r$3 += "%% nodes\n", r$3 += " null(( ))\n", e$3.forEach(((m$4, n$4) => {
4939
4939
  r$3 += " ", o$3(n$4), function(m$5) {
4940
4940
  r$3 += m$5.shape[0], s$3(m$5.label), r$3 += m$5.shape[1];
4941
4941
  }(a$3(m$4, t$3)), r$3 += "\n";
4942
- }), r$3 += "\n%% edges\n", r$3 += " null -.-> n0\n", e$3.forEach((m$4, n$4) => {
4943
- x$3.getOut(m$4).forEach(([a$4, x$4], e$4) => {
4942
+ })), r$3 += "\n%% edges\n", r$3 += " null -.-> n0\n", e$3.forEach(((m$4, n$4) => {
4943
+ x$3.getOut(m$4).forEach((([a$4, x$4], e$4) => {
4944
4944
  var l$3, c$3;
4945
4945
  r$3 += " ", o$3(n$4), r$3 += " ", l$3 = i$3(x$4, e$4, m$4, a$4, t$3), r$3 += "-".repeat((null !== (c$3 = l$3.length) && void 0 !== c$3 ? c$3 : 1) + 1) + ">", void 0 !== l$3.label && (r$3 += "|", s$3(l$3.label), r$3 += "|"), r$3 += " ", function(m$5) {
4946
4946
  r$3 += "n" + t$3.getId(m$5);
4947
4947
  }(a$4), r$3 += "\n";
4948
- });
4949
- }), r$3.trim();
4948
+ }));
4949
+ })), r$3.trim();
4950
4950
  }
4951
4951
  const ym = (m$3, n$3) => ({
4952
4952
  label: String(n$3.getId(m$3)),
@@ -5014,8 +5014,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5014
5014
  case "Alternation":
5015
5015
  case "Expression":
5016
5016
  case "Assertion":
5017
- case "Quantifier": return m$3.alternatives.some((m$4) => Nm(m$4, n$3, i$3));
5018
- case "Concatenation": return m$3.elements.some((m$4) => Nm(m$4, n$3, i$3));
5017
+ case "Quantifier": return m$3.alternatives.some(((m$4) => Nm(m$4, n$3, i$3)));
5018
+ case "Concatenation": return m$3.elements.some(((m$4) => Nm(m$4, n$3, i$3)));
5019
5019
  }
5020
5020
  return !1;
5021
5021
  }
@@ -5147,14 +5147,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5147
5147
  return "ltr" === m$3 || "ahead" === m$3 ? "rtl" : "ltr";
5148
5148
  }
5149
5149
  function Um(m$3, n$3, i$3) {
5150
- if (Array.isArray(m$3)) return Rm(m$3.map((m$4) => Um(m$4, n$3, i$3)), i$3);
5150
+ if (Array.isArray(m$3)) return Rm(m$3.map(((m$4) => Um(m$4, n$3, i$3))), i$3);
5151
5151
  switch (m$3.type) {
5152
5152
  case "Alternation":
5153
5153
  case "Expression": return Um(m$3.alternatives, n$3, i$3);
5154
5154
  case "Assertion":
5155
5155
  if (Tm(m$3.kind) === n$3) {
5156
5156
  if (m$3.negate) {
5157
- if (Nm(m$3, (n$4) => n$4 !== m$3 && "Assertion" === n$4.type)) return a$3();
5157
+ if (Nm(m$3, ((n$4) => n$4 !== m$3 && "Assertion" === n$4.type))) return a$3();
5158
5158
  const e$3 = Um(m$3.alternatives, n$3, i$3), t$3 = Mm(m$3.alternatives);
5159
5159
  return e$3.empty || !t$3 ? {
5160
5160
  char: I$1.empty(i$3),
@@ -5296,16 +5296,16 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5296
5296
  const p$3 = n$4 = null !== (e$4 = null === (x$4 = a$3.enter) || void 0 === x$4 ? void 0 : x$4.call(a$3, m$4, n$4, i$4)) && void 0 !== e$4 ? e$4 : n$4;
5297
5297
  if (null === (s$3 = null === (r$3 = a$3.continueInto) || void 0 === r$3 ? void 0 : r$3.call(a$3, m$4, n$4, i$4)) || void 0 === s$3 || s$3) switch (m$4.type) {
5298
5298
  case "Alternation":
5299
- n$4 = a$3.join(m$4.alternatives.map((m$5) => t$3(m$5, a$3.fork(n$4, i$4), i$4)), i$4);
5299
+ n$4 = a$3.join(m$4.alternatives.map(((m$5) => t$3(m$5, a$3.fork(n$4, i$4), i$4))), i$4);
5300
5300
  break;
5301
5301
  case "Assertion": {
5302
- const x$5 = Tm(m$4.kind), e$5 = a$3.join(m$4.alternatives.map((m$5) => t$3(m$5, a$3.fork(n$4, i$4), x$5)), x$5);
5302
+ const x$5 = Tm(m$4.kind), e$5 = a$3.join(m$4.alternatives.map(((m$5) => t$3(m$5, a$3.fork(n$4, i$4), x$5))), x$5);
5303
5303
  n$4 = null !== (l$3 = null === (o$3 = a$3.endPath) || void 0 === o$3 ? void 0 : o$3.call(a$3, n$4, x$5, "assertion")) && void 0 !== l$3 ? l$3 : n$4, n$4 = null !== (h$3 = null === (c$3 = a$3.assert) || void 0 === c$3 ? void 0 : c$3.call(a$3, n$4, i$4, e$5, x$5)) && void 0 !== h$3 ? h$3 : n$4;
5304
5304
  break;
5305
5305
  }
5306
5306
  case "Quantifier": if (0 === m$4.max);
5307
5307
  else {
5308
- const x$5 = m$4.alternatives.map((m$5) => t$3(m$5, a$3.fork(n$4, i$4), i$4));
5308
+ const x$5 = m$4.alternatives.map(((m$5) => t$3(m$5, a$3.fork(n$4, i$4), i$4)));
5309
5309
  0 === m$4.min && x$5.push(n$4), n$4 = a$3.join(x$5, i$4);
5310
5310
  }
5311
5311
  }
@@ -5439,14 +5439,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5439
5439
  case "Alternation": return {
5440
5440
  type: "Alternation",
5441
5441
  source: Zm(n$3.source),
5442
- alternatives: n$3.alternatives.map((m$5) => Xm(m$5))
5442
+ alternatives: n$3.alternatives.map(((m$5) => Xm(m$5)))
5443
5443
  };
5444
5444
  case "Assertion": return {
5445
5445
  type: "Assertion",
5446
5446
  kind: n$3.kind,
5447
5447
  negate: n$3.negate,
5448
5448
  source: Zm(n$3.source),
5449
- alternatives: n$3.alternatives.map((m$5) => Xm(m$5))
5449
+ alternatives: n$3.alternatives.map(((m$5) => Xm(m$5)))
5450
5450
  };
5451
5451
  case "CharacterClass": return {
5452
5452
  type: "CharacterClass",
@@ -5456,12 +5456,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5456
5456
  case "Concatenation": return {
5457
5457
  type: "Concatenation",
5458
5458
  source: Zm(n$3.source),
5459
- elements: n$3.elements.map((m$5) => Xm(m$5))
5459
+ elements: n$3.elements.map(((m$5) => Xm(m$5)))
5460
5460
  };
5461
5461
  case "Expression": return {
5462
5462
  type: "Expression",
5463
5463
  source: Zm(n$3.source),
5464
- alternatives: n$3.alternatives.map((m$5) => Xm(m$5))
5464
+ alternatives: n$3.alternatives.map(((m$5) => Xm(m$5)))
5465
5465
  };
5466
5466
  case "Quantifier": return {
5467
5467
  type: "Quantifier",
@@ -5469,7 +5469,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5469
5469
  min: n$3.min,
5470
5470
  max: n$3.max,
5471
5471
  source: Zm(n$3.source),
5472
- alternatives: n$3.alternatives.map((m$5) => Xm(m$5))
5472
+ alternatives: n$3.alternatives.map(((m$5) => Xm(m$5)))
5473
5473
  };
5474
5474
  case "Unknown": return {
5475
5475
  type: "Unknown",
@@ -5487,8 +5487,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5487
5487
  case "Alternation":
5488
5488
  case "Assertion":
5489
5489
  case "Expression":
5490
- case "Quantifier": return m$3.alternatives.reduce((m$4, n$3) => m$4 + Ym(n$3), 1);
5491
- case "Concatenation": return m$3.elements.reduce((m$4, n$3) => m$4 + Ym(n$3), 1);
5490
+ case "Quantifier": return m$3.alternatives.reduce(((m$4, n$3) => m$4 + Ym(n$3)), 1);
5491
+ case "Concatenation": return m$3.elements.reduce(((m$4, n$3) => m$4 + Ym(n$3)), 1);
5492
5492
  default: return h$2(m$3);
5493
5493
  }
5494
5494
  }
@@ -5499,8 +5499,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5499
5499
  case "Alternation":
5500
5500
  case "Assertion":
5501
5501
  case "Expression":
5502
- case "Quantifier": return m$3.alternatives.reduce((m$4, n$3) => Math.max(m$4, mn(n$3)), 0) + 1;
5503
- case "Concatenation": return m$3.elements.reduce((m$4, n$3) => Math.max(m$4, mn(n$3)), 0) + 1;
5502
+ case "Quantifier": return m$3.alternatives.reduce(((m$4, n$3) => Math.max(m$4, mn(n$3))), 0) + 1;
5503
+ case "Concatenation": return m$3.elements.reduce(((m$4, n$3) => Math.max(m$4, mn(n$3))), 0) + 1;
5504
5504
  default: return h$2(m$3);
5505
5505
  }
5506
5506
  }
@@ -5570,7 +5570,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5570
5570
  const s$3 = Um(m$4.alternatives, x$3, e$3);
5571
5571
  if (s$3.empty) return 2;
5572
5572
  if (n$3.isDisjointWith(s$3.char)) return i$3;
5573
- if (!Nm(m$4, (n$4) => n$4 !== m$4 && "Assertion" === n$4.type)) {
5573
+ if (!Nm(m$4, ((n$4) => n$4 !== m$4 && "Assertion" === n$4.type))) {
5574
5574
  const i$4 = Mm(m$4.alternatives);
5575
5575
  if (i$4 && 1 === i$4.max && s$3.exact && n$3.isSubsetOf(s$3.char)) return r$4;
5576
5576
  }
@@ -5590,7 +5590,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5590
5590
  default: h$2(m$4);
5591
5591
  }
5592
5592
  }
5593
- return i$2(m$3.alternatives, (m$4) => {
5593
+ return i$2(m$3.alternatives, ((m$4) => {
5594
5594
  const n$4 = "ltr" === x$3 ? 1 : -1;
5595
5595
  for (let i$3 = "ltr" === x$3 ? 0 : -1; en(m$4.elements, i$3); i$3 += n$4) {
5596
5596
  const a$4 = an(m$4.elements, i$3), x$4 = r$3(a$4);
@@ -5605,7 +5605,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5605
5605
  }
5606
5606
  }
5607
5607
  return !0;
5608
- }), t$3;
5608
+ })), t$3;
5609
5609
  }
5610
5610
  function hn(m$3, n$3) {
5611
5611
  return "rtl" === m$3 && n$3.reverse(), n$3;
@@ -5624,7 +5624,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5624
5624
  const m$4 = a$4.elements[0];
5625
5625
  "CharacterClass" === m$4.type && (n$3.characters = n$3.characters.without(m$4.characters), i$3.signalMutation(), x$3.add(a$4));
5626
5626
  }
5627
- if (x$3.size > 0) return m$3.alternatives = m$3.alternatives.filter((m$4) => !x$3.has(m$4)), i$3.signalMutation(), hn(Tm(m$3.kind), [m$3, n$3]);
5627
+ if (x$3.size > 0) return m$3.alternatives = m$3.alternatives.filter(((m$4) => !x$3.has(m$4))), i$3.signalMutation(), hn(Tm(m$3.kind), [m$3, n$3]);
5628
5628
  for (const x$4 of m$3.alternatives) {
5629
5629
  const { elements: e$3 } = x$4, t$3 = tn(a$3), r$3 = nn(e$3, t$3);
5630
5630
  if (r$3 && dn(r$3)) {
@@ -5634,7 +5634,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5634
5634
  type: "Assertion",
5635
5635
  negate: m$3.negate,
5636
5636
  kind: m$3.kind,
5637
- alternatives: m$3.alternatives.filter((m$4) => m$4 !== x$4).map(Xm),
5637
+ alternatives: m$3.alternatives.filter(((m$4) => m$4 !== x$4)).map(Xm),
5638
5638
  source: Zm(m$3.source)
5639
5639
  }];
5640
5640
  if (s$3.isSupersetOf(n$3.characters)) return hn(a$3, [
@@ -5710,7 +5710,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5710
5710
  const r$3 = gn(m$3, t$3 + e$3, e$3);
5711
5711
  if (void 0 === r$3) continue;
5712
5712
  let s$3 = pn(x$4, _n(r$3), i$3);
5713
- void 0 === s$3 ? Om(x$4) && (i$3.signalMutation(), m$3.splice(t$3, 1), t$3 -= e$3) : (i$3.signalMutation(), m$3.splice(t$3, 1), t$3 -= e$3, s$3 = s$3.filter((m$4) => "Assertion" !== m$4.type || !Om(m$4)), "Quantifier" === r$3.type && (r$3.min--, r$3.max--, un(a$3, s$3, r$3)), m$3.splice(m$3.indexOf(r$3), 1, ...s$3));
5713
+ void 0 === s$3 ? Om(x$4) && (i$3.signalMutation(), m$3.splice(t$3, 1), t$3 -= e$3) : (i$3.signalMutation(), m$3.splice(t$3, 1), t$3 -= e$3, s$3 = s$3.filter(((m$4) => "Assertion" !== m$4.type || !Om(m$4))), "Quantifier" === r$3.type && (r$3.min--, r$3.max--, un(a$3, s$3, r$3)), m$3.splice(m$3.indexOf(r$3), 1, ...s$3));
5714
5714
  }
5715
5715
  }
5716
5716
  function yn(m$3, n$3, i$3) {
@@ -5816,7 +5816,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5816
5816
  f$3 = wn(u$3), a$3.signalMutation(), xn(m$3, h$3, f$3);
5817
5817
  }
5818
5818
  const p$3 = "CharacterClass" === (o$3 = c$3).type ? o$3.characters : o$3.alternatives[0].elements[0].characters, d$3 = /* @__PURE__ */ new Map();
5819
- if (i$2(f$3.alternatives, (m$4) => {
5819
+ if (i$2(f$3.alternatives, ((m$4) => {
5820
5820
  const n$5 = s$3(m$4);
5821
5821
  if (void 0 !== n$5) {
5822
5822
  const i$3 = Cn(n$5);
@@ -5827,7 +5827,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5827
5827
  return d$3.set(m$4, p$3), !0;
5828
5828
  }
5829
5829
  return !0;
5830
- }), d$3.size > 0) {
5830
+ })), d$3.size > 0) {
5831
5831
  a$3.signalMutation();
5832
5832
  for (const m$4 of f$3.alternatives) un(e$3, m$4.elements, {
5833
5833
  type: "CharacterClass",
@@ -5868,7 +5868,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5868
5868
  const m$4 = Vm(Um(s$3.alternatives, x$3, a$3.maxCharacter));
5869
5869
  m$4.edge || (h$3 = m$4.char, u$3 = !0);
5870
5870
  }
5871
- i$2(c$3.alternatives, (m$4) => {
5871
+ i$2(c$3.alternatives, ((m$4) => {
5872
5872
  if (h$3) {
5873
5873
  const n$4 = Um(m$4, x$3, a$3.maxCharacter);
5874
5874
  if (!n$4.empty) {
@@ -5877,7 +5877,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5877
5877
  }
5878
5878
  }
5879
5879
  return fn(x$3, m$4.elements, Xm(s$3)), !0;
5880
- });
5880
+ }));
5881
5881
  }
5882
5882
  }
5883
5883
  function On(m$3, n$3, i$3) {
@@ -5930,7 +5930,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5930
5930
  const n$4 = rn(Dm(x$3));
5931
5931
  for (let e$4 = tn(Dm(x$3)); en(m$3.elements, e$4); e$4 += n$4) {
5932
5932
  const n$5 = an(m$3.elements, e$4);
5933
- if ("Assertion" === n$5.type && n$5.kind === i$3 && (sn(n$5) || 1 === (a$4 = n$5).alternatives.length && a$4.alternatives[0].elements.length >= 2 && a$4.alternatives[0].elements.every((m$4) => "CharacterClass" === m$4.type))) return n$5;
5933
+ if ("Assertion" === n$5.type && n$5.kind === i$3 && (sn(n$5) || 1 === (a$4 = n$5).alternatives.length && a$4.alternatives[0].elements.length >= 2 && a$4.alternatives[0].elements.every(((m$4) => "CharacterClass" === m$4.type)))) return n$5;
5934
5934
  if (!Sm(n$5)) break;
5935
5935
  }
5936
5936
  var a$4;
@@ -5938,7 +5938,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5938
5938
  type: "Alternation",
5939
5939
  alternatives: [m$3],
5940
5940
  source: Zm(m$3.source)
5941
- }, r$3 = m$2((m$3) => {
5941
+ }, r$3 = m$2(((m$3) => {
5942
5942
  const n$4 = [];
5943
5943
  for (const i$4 of m$3.elements) {
5944
5944
  if ("CharacterClass" !== i$4.type) break;
@@ -5952,7 +5952,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5952
5952
  chars: n$4,
5953
5953
  after: Vm(Um(m$3, "ltr", a$3.maxCharacter))
5954
5954
  };
5955
- }), s$3 = m$2((m$3) => {
5955
+ })), s$3 = m$2(((m$3) => {
5956
5956
  const n$4 = [];
5957
5957
  for (let i$4 = 0; i$4 < m$3.elements.length; i$4++) {
5958
5958
  const a$4 = m$3.elements[m$3.elements.length - i$4 - 1];
@@ -5967,7 +5967,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5967
5967
  chars: n$4,
5968
5968
  after: Vm(Um(m$3, "rtl", a$3.maxCharacter))
5969
5969
  };
5970
- }), o$3 = (m$3, n$4) => {
5970
+ })), o$3 = (m$3, n$4) => {
5971
5971
  const i$4 = Math.min(m$3.chars.length, n$4.chars.length);
5972
5972
  for (let a$5 = 0; a$5 < i$4; a$5++) if (m$3.chars[a$5].isDisjointWith(n$4.chars[a$5])) return !0;
5973
5973
  let a$4, x$4;
@@ -5982,13 +5982,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
5982
5982
  } : n$4.after, l$3(a$4, x$4);
5983
5983
  }, l$3 = (m$3, n$4) => !(m$3.edge && n$4.edge) && m$3.char.isDisjointWith(n$4.char), c$3 = (m$3, n$4) => {
5984
5984
  const i$4 = Mm(m$3);
5985
- return n$4.every((n$5) => {
5985
+ return n$4.every(((n$5) => {
5986
5986
  if (i$4 && i$4.min === i$4.max) {
5987
5987
  const m$4 = Mm(n$5);
5988
5988
  if (m$4 && m$4.min === m$4.max && i$4.min === m$4.min) return !0;
5989
5989
  }
5990
5990
  return o$3(r$3(m$3), r$3(n$5)) && o$3(s$3(m$3), s$3(n$5));
5991
- });
5991
+ }));
5992
5992
  };
5993
5993
  for (let m$3 = 0; m$3 < n$3.length; m$3++) {
5994
5994
  const i$4 = n$3[m$3];
@@ -6015,7 +6015,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6015
6015
  const m$4 = Xm(i$4);
6016
6016
  m$4.max = m$4.min, m$4.lazy = !1, l$4.push(m$4), i$4.min = 0;
6017
6017
  }
6018
- const f$3 = i$4.alternatives.filter((m$4) => m$4 !== r$4), p$3 = r$4;
6018
+ const f$3 = i$4.alternatives.filter(((m$4) => m$4 !== r$4)), p$3 = r$4;
6019
6019
  p$3.elements.splice(p$3.elements.indexOf(o$4), 1);
6020
6020
  const d$3 = {
6021
6021
  type: "Concatenation",
@@ -6193,15 +6193,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6193
6193
  if (m$4.alternatives.length < 2) return;
6194
6194
  const { prefix: t$3, suffix: r$3 } = function(m$5) {
6195
6195
  let n$4 = 0, i$3 = 0;
6196
- const a$5 = x$2(m$5.alternatives, (m$6) => m$6.elements.length).elements;
6196
+ const a$5 = x$2(m$5.alternatives, ((m$6) => m$6.elements.length)).elements;
6197
6197
  for (let i$4 = 0; i$4 < a$5.length; i$4++) {
6198
6198
  const x$3 = a$5[i$4];
6199
- if (!m$5.alternatives.every((m$6) => Hm(x$3, m$6.elements[i$4]))) break;
6199
+ if (!m$5.alternatives.every(((m$6) => Hm(x$3, m$6.elements[i$4])))) break;
6200
6200
  n$4++;
6201
6201
  }
6202
6202
  for (let x$3 = 0; x$3 < a$5.length - n$4; x$3++) {
6203
6203
  const n$5 = a$5[a$5.length - 1 - x$3];
6204
- if (!m$5.alternatives.every((m$6) => Hm(n$5, m$6.elements[m$6.elements.length - 1 - x$3]))) break;
6204
+ if (!m$5.alternatives.every(((m$6) => Hm(n$5, m$6.elements[m$6.elements.length - 1 - x$3])))) break;
6205
6205
  i$3++;
6206
6206
  }
6207
6207
  return {
@@ -6239,7 +6239,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6239
6239
  const o$3 = /* @__PURE__ */ new Set();
6240
6240
  let l$3 = !1;
6241
6241
  if (a$5) for (const n$5 of s$4.alternatives) {
6242
- const i$3 = m$5.alternatives.find((m$6) => Hm(n$5, m$6));
6242
+ const i$3 = m$5.alternatives.find(((m$6) => Hm(n$5, m$6)));
6243
6243
  if (!i$3) break;
6244
6244
  o$3.add(i$3);
6245
6245
  }
@@ -6262,7 +6262,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6262
6262
  }
6263
6263
  }
6264
6264
  if (o$3.size !== s$4.alternatives.length) continue;
6265
- o$3.has(r$4), n$4.signalMutation(), i$2(m$5.alternatives, (m$6) => !o$3.has(m$6));
6265
+ o$3.has(r$4), n$4.signalMutation(), i$2(m$5.alternatives, ((m$6) => !o$3.has(m$6)));
6266
6266
  const c$3 = {
6267
6267
  type: "Quantifier",
6268
6268
  lazy: l$3,
@@ -6270,12 +6270,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6270
6270
  max: 1,
6271
6271
  alternatives: [{
6272
6272
  type: "Concatenation",
6273
- elements: r$4.elements.filter((m$6) => m$6 !== s$4),
6273
+ elements: r$4.elements.filter(((m$6) => m$6 !== s$4)),
6274
6274
  source: Zm(r$4.source)
6275
6275
  }],
6276
6276
  source: Zm(r$4.source)
6277
6277
  };
6278
- i$2(r$4.elements, (m$6) => m$6 === s$4), "ltr" === x$4 ? r$4.elements.push(c$3) : r$4.elements.unshift(c$3);
6278
+ i$2(r$4.elements, ((m$6) => m$6 === s$4)), "ltr" === x$4 ? r$4.elements.push(c$3) : r$4.elements.unshift(c$3);
6279
6279
  }
6280
6280
  }
6281
6281
  m$5.alternatives.length < 3 || (x$3("ltr"), x$3("rtl"));
@@ -6385,12 +6385,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6385
6385
  function Gn(m$3) {
6386
6386
  const { ignoreAmbiguity: n$3 = !1, ignoreOrder: a$3 = !1 } = null != m$3 ? m$3 : {};
6387
6387
  function x$3(m$4, x$4, e$3) {
6388
- "rtl" === x$4 && m$4.reverse(), i$2(m$4, (m$5, n$4) => !n$4 || "Quantifier" !== n$4.type || !$m(n$4, m$5) || (n$4.min++, n$4.max++, e$3.signalMutation(), !1));
6388
+ "rtl" === x$4 && m$4.reverse(), i$2(m$4, ((m$5, n$4) => !n$4 || "Quantifier" !== n$4.type || !$m(n$4, m$5) || (n$4.min++, n$4.max++, e$3.signalMutation(), !1)));
6389
6389
  for (let n$4 = 0; n$4 < m$4.length; n$4++) {
6390
6390
  const i$3 = m$4[n$4];
6391
6391
  if ("Quantifier" === i$3.type && 1 === i$3.alternatives.length) {
6392
6392
  const a$4 = i$3.alternatives[0];
6393
- a$4.elements.length >= 2 && n$4 + 1 + a$4.elements.length <= m$4.length && a$4.elements.every((i$4, e$4) => ("rtl" === x$4 && (e$4 = a$4.elements.length - 1 - e$4), Hm(i$4, m$4[n$4 + 1 + e$4]))) && (e$3.signalMutation(), i$3.min++, i$3.max++, m$4.splice(n$4 + 1, a$4.elements.length), n$4--);
6393
+ a$4.elements.length >= 2 && n$4 + 1 + a$4.elements.length <= m$4.length && a$4.elements.every(((i$4, e$4) => ("rtl" === x$4 && (e$4 = a$4.elements.length - 1 - e$4), Hm(i$4, m$4[n$4 + 1 + e$4])))) && (e$3.signalMutation(), i$3.min++, i$3.max++, m$4.splice(n$4 + 1, a$4.elements.length), n$4--);
6394
6394
  }
6395
6395
  }
6396
6396
  if (n$3) for (let n$4 = 1; n$4 < m$4.length; n$4++) {
@@ -6403,7 +6403,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6403
6403
  name: "mergeWithQuantifier",
6404
6404
  onConcatenation(m$4, e$3) {
6405
6405
  const t$3 = m$4.elements, { signalMutation: r$3 } = e$3;
6406
- x$3(t$3, "ltr", e$3), x$3(t$3, "rtl", e$3), i$2(t$3, (m$5, i$3) => {
6406
+ x$3(t$3, "ltr", e$3), x$3(t$3, "rtl", e$3), i$2(t$3, ((m$5, i$3) => {
6407
6407
  if (i$3 && "Quantifier" === i$3.type && "Quantifier" === m$5.type) {
6408
6408
  const x$4 = i$3.min === i$3.max, e$4 = m$5.min === m$5.max;
6409
6409
  if (!n$3 && !x$4 && !e$4) return !0;
@@ -6411,21 +6411,21 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6411
6411
  if (Hm(i$3.alternatives, m$5.alternatives)) return i$3.min += m$5.min, i$3.max += m$5.max, r$3(), !1;
6412
6412
  }
6413
6413
  return !0;
6414
- });
6414
+ }));
6415
6415
  }
6416
6416
  };
6417
6417
  }
6418
6418
  function Rn(m$3, { signalMutation: n$3 }) {
6419
6419
  if (m$3.alternatives.length < 2) return;
6420
6420
  let a$3 = !1, x$3 = !0;
6421
- i$2(m$3.alternatives, (m$4) => {
6421
+ i$2(m$3.alternatives, ((m$4) => {
6422
6422
  if (wm(m$4)) return n$3(), a$3 = !0, !1;
6423
6423
  if (1 === m$4.elements.length) {
6424
6424
  const i$3 = m$4.elements[0];
6425
6425
  if ("Quantifier" === i$3.type && 0 === i$3.min && i$3.max > 0) return n$3(), a$3 = !0, i$3.min = 1, 1 === i$3.max && 1 === i$3.alternatives.length && (m$4.elements = i$3.alternatives[0].elements), !0;
6426
6426
  }
6427
6427
  return km(m$4) && (x$3 = !1), !0;
6428
- }), a$3 && x$3 && function(m$4, n$4) {
6428
+ })), a$3 && x$3 && function(m$4, n$4) {
6429
6429
  if (0 === m$4.length) return void m$4.push({
6430
6430
  type: "Concatenation",
6431
6431
  elements: [],
@@ -6588,12 +6588,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6588
6588
  function Kn(m$3) {
6589
6589
  switch (m$3.type) {
6590
6590
  case "Alternation":
6591
- case "Expression": return m$3.alternatives.every((m$4) => Kn(m$4));
6591
+ case "Expression": return m$3.alternatives.every(((m$4) => Kn(m$4)));
6592
6592
  case "Assertion":
6593
6593
  case "Unknown": return !1;
6594
6594
  case "CharacterClass": return m$3.characters.isEmpty;
6595
6595
  case "Concatenation": return 1 === m$3.elements.length && Kn(m$3.elements[0]);
6596
- case "Quantifier": return m$3.min > 0 && m$3.alternatives.every((m$4) => Kn(m$4));
6596
+ case "Quantifier": return m$3.min > 0 && m$3.alternatives.every(((m$4) => Kn(m$4)));
6597
6597
  default: h$2(m$3);
6598
6598
  }
6599
6599
  }
@@ -6601,7 +6601,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6601
6601
  let i$3 = null;
6602
6602
  for (let a$3 = 0; a$3 < m$3.elements.length && !i$3; a$3++) {
6603
6603
  const x$3 = m$3.elements[a$3];
6604
- "Quantifier" === x$3.type ? x$3.alternatives.every((m$4) => Kn(m$4)) && (0 === x$3.min ? (m$3.elements.splice(a$3, 1), n$3(), a$3--) : i$3 = x$3) : Kn(x$3) && (i$3 = x$3);
6604
+ "Quantifier" === x$3.type ? x$3.alternatives.every(((m$4) => Kn(m$4))) && (0 === x$3.min ? (m$3.elements.splice(a$3, 1), n$3(), a$3--) : i$3 = x$3) : Kn(x$3) && (i$3 = x$3);
6605
6605
  }
6606
6606
  i$3 && m$3.elements.length > 1 && (m$3.elements = [i$3], n$3());
6607
6607
  }
@@ -6629,7 +6629,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6629
6629
  const t$3 = Um(m$3.alternatives, e$3, i$3.maxCharacter);
6630
6630
  if (t$3.empty) return 2;
6631
6631
  if (n$3.char.isDisjointWith(t$3.char)) return x$3;
6632
- if (!Nm(m$3, (n$4) => n$4 !== m$3 && "Assertion" === n$4.type)) {
6632
+ if (!Nm(m$3, ((n$4) => n$4 !== m$3 && "Assertion" === n$4.type))) {
6633
6633
  const i$4 = Mm(m$3.alternatives);
6634
6634
  if (i$4 && 1 === i$4.max && t$3.exact && n$3.char.isSubsetOf(t$3.char)) return a$3;
6635
6635
  }
@@ -6751,11 +6751,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6751
6751
  m$5.alternatives.forEach(e$3);
6752
6752
  })(m$4, n$3), function(m$5, n$4) {
6753
6753
  if (2 !== m$5.alternatives.length) return;
6754
- const i$3 = m$5.alternatives.findIndex((m$6) => 1 === m$6.elements.length && "CharacterClass" === m$6.elements[0].type), a$3 = m$5.alternatives.findIndex((n$5) => {
6754
+ const i$3 = m$5.alternatives.findIndex(((m$6) => 1 === m$6.elements.length && "CharacterClass" === m$6.elements[0].type)), a$3 = m$5.alternatives.findIndex(((n$5) => {
6755
6755
  if (1 !== n$5.elements.length) return !1;
6756
6756
  const i$4 = n$5.elements[0];
6757
6757
  return "Assertion" === i$4.type && i$4.kind === m$5.kind && i$4.negate && sn(i$4) && i$4.alternatives[0].elements[0].characters.isAll;
6758
- });
6758
+ }));
6759
6759
  if (-1 === i$3 || -1 === a$3) return;
6760
6760
  n$4.signalMutation(), m$5.alternatives.splice(a$3, 1), sn(m$5);
6761
6761
  const x$3 = m$5.alternatives[0].elements[0];
@@ -6782,7 +6782,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6782
6782
  onAlternationLeave: x$3,
6783
6783
  onAssertionLeave: x$3,
6784
6784
  onConcatenationLeave(m$5) {
6785
- ai(m$5, (m$6) => ii(i$3, m$6, n$3), n$3), x$3();
6785
+ ai(m$5, ((m$6) => ii(i$3, m$6, n$3)), n$3), x$3();
6786
6786
  },
6787
6787
  onExpressionLeave: x$3,
6788
6788
  onQuantifierLeave: x$3
@@ -6791,7 +6791,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6791
6791
  };
6792
6792
  }
6793
6793
  function ri(m$3, n$3) {
6794
- i$2(m$3.alternatives, (m$4) => !m$4.elements.some((m$5) => "Assertion" === m$5.type) || (n$3.signalMutation(), !1));
6794
+ i$2(m$3.alternatives, ((m$4) => !m$4.elements.some(((m$5) => "Assertion" === m$5.type)) || (n$3.signalMutation(), !1)));
6795
6795
  }
6796
6796
  function si(m$3, n$3) {
6797
6797
  return m$3.kind !== n$3.kind ? "ahead" === m$3.kind ? 1 : -1 : 0;
@@ -6825,7 +6825,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6825
6825
  const { alternatives: e$3 } = m$4;
6826
6826
  if (e$3.length < 2) return;
6827
6827
  let t$3, r$3 = !0;
6828
- i$2(e$3, (m$5) => {
6828
+ i$2(e$3, ((m$5) => {
6829
6829
  if (1 === (i$3 = m$5).elements.length && "CharacterClass" === i$3.elements[0].type) {
6830
6830
  const i$4 = m$5.elements[0];
6831
6831
  if (void 0 === t$3 || !r$3 && n$3) return t$3 = i$4, !0;
@@ -6837,7 +6837,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6837
6837
  }
6838
6838
  return r$3 = !1, !0;
6839
6839
  var i$3;
6840
- });
6840
+ }));
6841
6841
  }
6842
6842
  return {
6843
6843
  name: "unionCharacters",
@@ -6873,7 +6873,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
6873
6873
  return "empty-word" === (null !== (n$3 = null == m$3 ? void 0 : m$3.replacement) && void 0 !== n$3 ? n$3 : "empty-set") ? {
6874
6874
  name: "replaceAssertions",
6875
6875
  onConcatenation(m$4, { signalMutation: n$4 }) {
6876
- i$2(m$4.elements, (m$5) => "Assertion" !== m$5.type || (n$4(), !1));
6876
+ i$2(m$4.elements, ((m$5) => "Assertion" !== m$5.type || (n$4(), !1)));
6877
6877
  }
6878
6878
  } : {
6879
6879
  name: "replaceAssertions",
@@ -7017,10 +7017,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7017
7017
  }
7018
7018
  copy(m$3) {
7019
7019
  switch (m$3.type) {
7020
- case "Alternation": return this.alter(m$3.alternatives.map((m$4) => this.copy(m$4)));
7021
- case "Concatenation": return this.concat(m$3.elements.map((m$4) => this.copy(m$4)));
7020
+ case "Alternation": return this.alter(m$3.alternatives.map(((m$4) => this.copy(m$4))));
7021
+ case "Concatenation": return this.concat(m$3.elements.map(((m$4) => this.copy(m$4))));
7022
7022
  case "CharacterClass": return this.char(m$3.characters);
7023
- case "Quantifier": return this.quant(m$3.alternatives.map((m$4) => this.copy(m$4)), m$3.min, m$3.max);
7023
+ case "Quantifier": return this.quant(m$3.alternatives.map(((m$4) => this.copy(m$4))), m$3.min, m$3.max);
7024
7024
  case "Assertion": throw new Error("Assertions should not have been part of the created regex.");
7025
7025
  case "Unknown": throw new Error("Unknowns should not have been part of the created regex.");
7026
7026
  default: throw h$2(m$3);
@@ -7029,7 +7029,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7029
7029
  };
7030
7030
  function Ci(m$3, n$3, i$3) {
7031
7031
  const a$3 = m$3.initial, e$3 = r$2(m$3.finals), t$3 = /* @__PURE__ */ new Set();
7032
- s$2(a$3, (m$4) => (m$4 !== a$3 && m$4 !== e$3 && t$3.add(m$4), m$4.out.keys()));
7032
+ s$2(a$3, ((m$4) => (m$4 !== a$3 && m$4 !== e$3 && t$3.add(m$4), m$4.out.keys())));
7033
7033
  const o$3 = {
7034
7034
  maxCharacter: i$3,
7035
7035
  signalMutation: () => {}
@@ -7132,12 +7132,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7132
7132
  function _$2(m$4) {
7133
7133
  for (; m$4.size > 0;) {
7134
7134
  const n$4 = /* @__PURE__ */ new Set();
7135
- m$4.forEach((m$5) => {
7135
+ m$4.forEach(((m$5) => {
7136
7136
  if (!t$3.has(m$5)) return;
7137
7137
  d$3(m$5);
7138
7138
  const i$4 = g$3(m$5);
7139
- i$4 && i$4.forEach((m$6) => n$4.add(m$6));
7140
- }), m$4 = n$4;
7139
+ i$4 && i$4.forEach(((m$6) => n$4.add(m$6)));
7140
+ })), m$4 = n$4;
7141
7141
  }
7142
7142
  }
7143
7143
  function C$3(i$4) {
@@ -7146,33 +7146,33 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7146
7146
  const x$3 = m$3.unlinkNodes(i$4, i$4);
7147
7147
  if (x$3) {
7148
7148
  const m$4 = f$3(x$3);
7149
- i$4.in.forEach((a$5, x$4) => {
7150
- i$4.out.forEach((i$5, e$4) => {
7149
+ i$4.in.forEach(((a$5, x$4) => {
7150
+ i$4.out.forEach(((i$5, e$4) => {
7151
7151
  l$3(x$4, e$4, h$3(n$3.copy(a$5), h$3(n$3.copy(m$4), n$3.copy(i$5))));
7152
- });
7153
- });
7154
- } else i$4.in.forEach((m$4, a$5) => {
7155
- i$4.out.forEach((i$5, x$4) => {
7152
+ }));
7153
+ }));
7154
+ } else i$4.in.forEach(((m$4, a$5) => {
7155
+ i$4.out.forEach(((i$5, x$4) => {
7156
7156
  l$3(a$5, x$4, h$3(n$3.copy(m$4), n$3.copy(i$5)));
7157
- });
7158
- });
7159
- return i$4.in.forEach((n$4, a$5) => {
7157
+ }));
7158
+ }));
7159
+ return i$4.in.forEach(((n$4, a$5) => {
7160
7160
  m$3.unlinkNodes(a$5, i$4);
7161
- }), i$4.out.forEach((n$4, a$5) => {
7161
+ })), i$4.out.forEach(((n$4, a$5) => {
7162
7162
  m$3.unlinkNodes(i$4, a$5);
7163
- }), t$3.delete(i$4), a$4;
7163
+ })), t$3.delete(i$4), a$4;
7164
7164
  }
7165
- for (_$2(t$3); t$3.size > 0;) _$2(C$3(x$2(t$3, (m$4) => m$4.out.has(m$4) ? (m$4.in.size - 1) * (m$4.out.size - 1) * 3 : m$4.in.size * m$4.out.size * 2)));
7165
+ for (_$2(t$3); t$3.size > 0;) _$2(C$3(x$2(t$3, ((m$4) => m$4.out.has(m$4) ? (m$4.in.size - 1) * (m$4.out.size - 1) * 3 : m$4.in.size * m$4.out.size * 2))));
7166
7166
  }
7167
7167
  function vi(n$3, i$3) {
7168
7168
  const a$3 = new _i(i$3), x$3 = function(n$4, i$4) {
7169
7169
  const a$4 = new gi(), x$4 = a$4.createNode();
7170
7170
  a$4.linkNodes(a$4.initial, x$4, i$4.emptyConcat());
7171
- const e$4 = m$2(() => a$4.createNode());
7171
+ const e$4 = m$2((() => a$4.createNode()));
7172
7172
  let t$4;
7173
- if (e$4.cache.set(n$4.initial, x$4), s$2(n$4.initial, (m$3) => {
7173
+ if (e$4.cache.set(n$4.initial, x$4), s$2(n$4.initial, ((m$3) => {
7174
7174
  n$4.isFinal(m$3) && a$4.finals.add(e$4(m$3));
7175
- const x$5 = [...n$4.getOut(m$3)].sort(([, m$4], [, n$5]) => {
7175
+ const x$5 = [...n$4.getOut(m$3)].sort((([, m$4], [, n$5]) => {
7176
7176
  if (null === m$4) return null === n$5 ? 0 : -1;
7177
7177
  if (null === n$5) return 1;
7178
7178
  const i$5 = Number(m$4.isEmpty) - Number(n$5.isEmpty);
@@ -7183,30 +7183,30 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7183
7183
  if (a$6.max !== x$6.max) return a$6.max - x$6.max;
7184
7184
  }
7185
7185
  return m$4.ranges.length - n$5.ranges.length;
7186
- });
7187
- return x$5.forEach(([n$5, x$6]) => {
7186
+ }));
7187
+ return x$5.forEach((([n$5, x$6]) => {
7188
7188
  if (null === x$6) a$4.linkNodes(e$4(m$3), e$4(n$5), i$4.emptyConcat());
7189
7189
  else {
7190
7190
  if (void 0 === t$4) t$4 = x$6.maximum;
7191
7191
  else if (x$6.maximum !== t$4) throw new Error("All character sets have to have to same maximum.");
7192
7192
  a$4.linkNodes(e$4(m$3), e$4(n$5), i$4.char(x$6));
7193
7193
  }
7194
- }), x$5.map((m$4) => m$4[0]);
7195
- }), 0 === a$4.finals.size) return null;
7194
+ })), x$5.map(((m$4) => m$4[0]));
7195
+ })), 0 === a$4.finals.size) return null;
7196
7196
  const r$4 = a$4.createNode();
7197
- a$4.finals.forEach((m$3) => {
7197
+ a$4.finals.forEach(((m$3) => {
7198
7198
  a$4.linkNodes(m$3, r$4, i$4.emptyConcat());
7199
- }), a$4.finals.clear(), a$4.finals.add(r$4);
7199
+ })), a$4.finals.clear(), a$4.finals.add(r$4);
7200
7200
  const o$4 = /* @__PURE__ */ new Set();
7201
- s$2(r$4, (m$3) => (o$4.add(m$3), m$3.in.keys()));
7201
+ s$2(r$4, ((m$3) => (o$4.add(m$3), m$3.in.keys())));
7202
7202
  const l$3 = /* @__PURE__ */ new Set();
7203
- return s$2(a$4.initial, (m$3) => (o$4.has(m$3) || l$3.add(m$3), m$3.out.keys())), l$3.forEach((m$3) => {
7204
- m$3.out.forEach((n$5, i$5) => {
7203
+ return s$2(a$4.initial, ((m$3) => (o$4.has(m$3) || l$3.add(m$3), m$3.out.keys()))), l$3.forEach(((m$3) => {
7204
+ m$3.out.forEach(((n$5, i$5) => {
7205
7205
  a$4.unlinkNodes(m$3, i$5);
7206
- }), m$3.in.forEach((n$5, i$5) => {
7206
+ })), m$3.in.forEach(((n$5, i$5) => {
7207
7207
  a$4.unlinkNodes(i$5, m$3);
7208
- });
7209
- }), {
7208
+ }));
7209
+ })), {
7210
7210
  nodeList: a$4,
7211
7211
  maxCharacter: null != t$4 ? t$4 : 0
7212
7212
  };
@@ -7229,21 +7229,21 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7229
7229
  return E$2(di, a$3, { maxPasses: null == n$3 ? void 0 : n$3.maxOptimizationPasses });
7230
7230
  }
7231
7231
  function Si(m$3, n$3 = String, i$3 = !1) {
7232
- const a$3 = im(X$1(m$3, (m$4) => {
7233
- const a$4 = e$2(m$4).map(([m$5, i$4]) => [m$5, n$3(i$4)]);
7234
- return i$3 || a$4.sort(([, m$5], [, n$4]) => m$5.localeCompare(n$4)), a$4;
7235
- })), x$3 = [...am(Y$1(a$3, ([m$4]) => m$4))], t$3 = new Map(x$3.map((m$4, n$4) => [m$4, n$4])), r$3 = (m$4) => t$3.get(m$4), s$3 = (m$4) => {
7232
+ const a$3 = im(X$1(m$3, ((m$4) => {
7233
+ const a$4 = e$2(m$4).map((([m$5, i$4]) => [m$5, n$3(i$4)]));
7234
+ return i$3 || a$4.sort((([, m$5], [, n$4]) => m$5.localeCompare(n$4))), a$4;
7235
+ }))), x$3 = [...am(Y$1(a$3, (([m$4]) => m$4)))], t$3 = new Map(x$3.map(((m$4, n$4) => [m$4, n$4]))), r$3 = (m$4) => t$3.get(m$4), s$3 = (m$4) => {
7236
7236
  const n$4 = r$3(m$4);
7237
7237
  return a$3.isFinal(m$4) ? `[${n$4}]` : `(${n$4})`;
7238
7238
  };
7239
- return x$3.map((m$4) => {
7239
+ return x$3.map(((m$4) => {
7240
7240
  const n$4 = s$3(m$4), x$4 = a$3.getOut(m$4);
7241
- if (i$3 || x$4.sort(([m$5], [n$5]) => r$3(m$5) - r$3(n$5)), 0 === x$4.length) return `${n$4} -> none`;
7241
+ if (i$3 || x$4.sort((([m$5], [n$5]) => r$3(m$5) - r$3(n$5))), 0 === x$4.length) return `${n$4} -> none`;
7242
7242
  {
7243
7243
  const m$5 = " ".repeat(n$4.length);
7244
- return x$4.map(([i$4, a$4], x$5) => `${x$5 ? m$5 : n$4} -> ${s$3(i$4)} : ${a$4}`).join("\n");
7244
+ return x$4.map((([i$4, a$4], x$5) => `${x$5 ? m$5 : n$4} -> ${s$3(i$4)} : ${a$4}`)).join("\n");
7245
7245
  }
7246
- }).join("\n\n");
7246
+ })).join("\n\n");
7247
7247
  }
7248
7248
  function wi(m$3) {
7249
7249
  const n$3 = [];
@@ -7251,7 +7251,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7251
7251
  return n$3.reverse();
7252
7252
  }
7253
7253
  function* ki(m$3) {
7254
- const { initial: n$3, getOut: i$3, isFinal: a$3 } = im(fm(m$3, (m$4) => m$4[0]));
7254
+ const { initial: n$3, getOut: i$3, isFinal: a$3 } = im(fm(m$3, ((m$4) => m$4[0])));
7255
7255
  let x$3 = [{
7256
7256
  state: n$3,
7257
7257
  parent: null,
@@ -7299,7 +7299,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7299
7299
  forEach: nm,
7300
7300
  count: function(m$3) {
7301
7301
  let n$3 = 0;
7302
- return nm(m$3, () => n$3++), n$3;
7302
+ return nm(m$3, (() => n$3++)), n$3;
7303
7303
  },
7304
7304
  ensureStableOut: im,
7305
7305
  iterateStates: am,
@@ -7308,11 +7308,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7308
7308
  languageIsFinite: tm,
7309
7309
  makeInitialFinal: function(m$3) {
7310
7310
  const { initial: n$3, isFinal: i$3 } = m$3;
7311
- return Z$1(m$3, (m$4) => m$4 === n$3 || i$3(m$4));
7311
+ return Z$1(m$3, ((m$4) => m$4 === n$3 || i$3(m$4)));
7312
7312
  },
7313
7313
  makeInitialNonFinal: function(m$3) {
7314
7314
  const { initial: n$3, isFinal: i$3 } = m$3;
7315
- return Z$1(m$3, (m$4) => m$4 !== n$3 && i$3(m$4));
7315
+ return Z$1(m$3, ((m$4) => m$4 !== n$3 && i$3(m$4)));
7316
7316
  },
7317
7317
  shortestAcceptingPath: rm,
7318
7318
  makeDeterministic: lm,
@@ -7324,25 +7324,25 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7324
7324
  toString: Si,
7325
7325
  iterateWordSets: ki,
7326
7326
  shortestWordSet: function(m$3) {
7327
- const n$3 = rm(m$3, (m$4) => m$4[0]);
7328
- return void 0 === n$3 ? void 0 : n$3.map((m$4) => m$4[1]);
7327
+ const n$3 = rm(m$3, ((m$4) => m$4[0]));
7328
+ return void 0 === n$3 ? void 0 : n$3.map(((m$4) => m$4[1]));
7329
7329
  },
7330
7330
  approximateRejectingWordSet: function(m$3, n$3) {
7331
7331
  if (n$3.isEmpty) return;
7332
- const { initial: i$3, getOut: a$3, isFinal: x$3 } = im(fm(m$3, (m$4) => m$4[0])), e$3 = [];
7332
+ const { initial: i$3, getOut: a$3, isFinal: x$3 } = im(fm(m$3, ((m$4) => m$4[0]))), e$3 = [];
7333
7333
  let t$3 = [i$3];
7334
7334
  const r$3 = /* @__PURE__ */ new Map(), s$3 = /* @__PURE__ */ new Set();
7335
7335
  for (let m$4 = 0; m$4 <= r$3.size; m$4++) {
7336
- if (!t$3.some((m$6) => x$3(m$6))) return e$3;
7336
+ if (!t$3.some(((m$6) => x$3(m$6)))) return e$3;
7337
7337
  const m$5 = /* @__PURE__ */ new Set(), i$4 = [];
7338
7338
  for (const n$4 of t$3) for (const [x$4, e$4] of a$3(n$4)) m$5.add(x$4), i$4.push(e$4);
7339
7339
  const o$3 = Ei(i$4, n$3);
7340
7340
  if (void 0 !== o$3) return e$3.push(o$3), e$3;
7341
7341
  e$3.push(n$3);
7342
- const l$3 = [...m$5], c$3 = l$3.map((m$6) => {
7342
+ const l$3 = [...m$5], c$3 = l$3.map(((m$6) => {
7343
7343
  let n$4 = r$3.get(m$6);
7344
7344
  return void 0 === n$4 && (n$4 = r$3.size, r$3.set(m$6, n$4)), n$4;
7345
- }).sort((m$6, n$4) => m$6 - n$4).join(" ");
7345
+ })).sort(((m$6, n$4) => m$6 - n$4)).join(" ");
7346
7346
  if (s$3.has(c$3)) return;
7347
7347
  s$3.add(c$3), t$3 = l$3;
7348
7348
  }
@@ -7416,7 +7416,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7416
7416
  }
7417
7417
  return n$3.length > 0 ? (n$3.reverse(), n$3.length === m$3.length ? [n$3] : (m$3 = m$3.slice(0, m$3.length - n$3.length), function* () {
7418
7418
  for (const i$3 of Ai(m$3)) i$3.push(...n$3), yield i$3;
7419
- }())) : p$2(m$3.map((m$4) => m$4.characters()));
7419
+ }())) : p$2(m$3.map(((m$4) => m$4.characters())));
7420
7420
  }
7421
7421
  function* Ii(m$3) {
7422
7422
  for (const n$3 of m$3) yield* Ai(n$3);
@@ -7480,7 +7480,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7480
7480
  initial: this.initial,
7481
7481
  getOut: (m$4) => {
7482
7482
  const n$3 = /* @__PURE__ */ new Set();
7483
- return m$4.out.forEach((m$5) => n$3.add(m$5)), n$3;
7483
+ return m$4.out.forEach(((m$5) => n$3.add(m$5))), n$3;
7484
7484
  },
7485
7485
  isFinal: (n$3) => m$3.has(n$3)
7486
7486
  };
@@ -7498,15 +7498,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7498
7498
  let n$3 = [this.initial];
7499
7499
  for (; n$3.length > 0;) {
7500
7500
  const i$3 = [];
7501
- for (const a$3 of n$3) m$3.has(a$3) || (m$3.add(a$3), yield a$3, a$3.out.forEach((m$4) => i$3.push(m$4)));
7501
+ for (const a$3 of n$3) m$3.has(a$3) || (m$3.add(a$3), yield a$3, a$3.out.forEach(((m$4) => i$3.push(m$4))));
7502
7502
  n$3 = i$3;
7503
7503
  }
7504
7504
  }
7505
7505
  countNodes() {
7506
7506
  let m$3 = 0;
7507
- return l$2(this.initial, (n$3, i$3) => {
7507
+ return l$2(this.initial, ((n$3, i$3) => {
7508
7508
  m$3++, i$3.push(...n$3.out.values());
7509
- }), m$3;
7509
+ })), m$3;
7510
7510
  }
7511
7511
  test(m$3) {
7512
7512
  let n$3 = this.initial;
@@ -7524,7 +7524,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7524
7524
  return Ii(this.wordSets());
7525
7525
  }
7526
7526
  toString() {
7527
- return Si(this.transitionIterator(), (m$3) => m$3.toUnicodeString());
7527
+ return Si(this.transitionIterator(), ((m$3) => m$3.toUnicodeString()));
7528
7528
  }
7529
7529
  toRegex(m$3) {
7530
7530
  return yi(this.transitionIterator(), m$3);
@@ -7558,35 +7558,35 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7558
7558
  }
7559
7559
  removeUnreachable() {
7560
7560
  if (0 === this.finals.size) return void this.initial.out.clear();
7561
- const n$3 = m$2(() => /* @__PURE__ */ new Set()), i$3 = [];
7562
- l$2(this.initial, (m$3, a$4) => {
7563
- i$3.push(m$3), n$3(m$3), m$3.out.forEach((i$4) => {
7561
+ const n$3 = m$2((() => /* @__PURE__ */ new Set())), i$3 = [];
7562
+ l$2(this.initial, ((m$3, a$4) => {
7563
+ i$3.push(m$3), n$3(m$3), m$3.out.forEach(((i$4) => {
7564
7564
  a$4.push(i$4), n$3(i$4).add(m$3);
7565
- });
7566
- }), n$3.cache.has(this.initial);
7565
+ }));
7566
+ })), n$3.cache.has(this.initial);
7567
7567
  const a$3 = [];
7568
7568
  for (const m$3 of this.finals) n$3.cache.has(m$3) || a$3.push(m$3);
7569
- if (a$3.forEach((m$3) => this.finals.delete(m$3)), 0 === this.finals.size) return void this.initial.out.clear();
7569
+ if (a$3.forEach(((m$3) => this.finals.delete(m$3))), 0 === this.finals.size) return void this.initial.out.clear();
7570
7570
  const x$3 = /* @__PURE__ */ new Set();
7571
- if (c$2(this.finals, (m$3, i$4) => {
7571
+ if (c$2(this.finals, ((m$3, i$4) => {
7572
7572
  x$3.add(m$3), i$4.push(...n$3(m$3));
7573
- }), x$3.size < i$3.length) for (const m$3 of i$3) m$3.out.filter((m$4) => x$3.has(m$4));
7573
+ })), x$3.size < i$3.length) for (const m$3 of i$3) m$3.out.filter(((m$4) => x$3.has(m$4)));
7574
7574
  }
7575
7575
  minimize() {
7576
7576
  if (this.removeUnreachable(), this.initial.out.isEmpty) return;
7577
7577
  const m$3 = function(m$4, n$4) {
7578
7578
  if (0 === m$4.finals.size) throw new Error("Cannot find equivalence classes for a DFA without final states.");
7579
7579
  const i$4 = [], a$4 = /* @__PURE__ */ new Set(), x$4 = /* @__PURE__ */ new Map(), e$3 = [];
7580
- l$2(m$4.initial, (m$5, t$4) => {
7580
+ l$2(m$4.initial, ((m$5, t$4) => {
7581
7581
  x$4.set(m$5, x$4.size), i$4.push(m$5);
7582
7582
  const r$4 = m$5.out.invert(n$4);
7583
- e$3.push(r$4), r$4.forEach((m$6) => a$4.add(m$6)), t$4.push(...r$4.keys());
7584
- });
7583
+ e$3.push(r$4), r$4.forEach(((m$6) => a$4.add(m$6))), t$4.push(...r$4.keys());
7584
+ }));
7585
7585
  const t$3 = new V$1(a$4), r$3 = [], s$3 = [], o$3 = [];
7586
- for (let m$5 = 0; m$5 < i$4.length; m$5++) e$3[m$5].forEach((n$5, i$5) => {
7586
+ for (let m$5 = 0; m$5 < i$4.length; m$5++) e$3[m$5].forEach(((n$5, i$5) => {
7587
7587
  const a$5 = x$4.get(i$5);
7588
7588
  for (const i$6 of t$3.split(n$5)) r$3.push(m$5), s$3.push(i$6), o$3.push(a$5);
7589
- });
7589
+ }));
7590
7590
  const c$3 = [];
7591
7591
  for (const n$5 of m$4.finals) c$3.push(x$4.get(n$5));
7592
7592
  const h$3 = new Di(i$4.length, c$3, r$3, s$3, o$3).getBlockPartition(), u$3 = [];
@@ -7610,22 +7610,22 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7610
7610
  };
7611
7611
  for (const m$4 of i$3) m$4.out.map(a$3);
7612
7612
  const x$3 = [...this.finals].map(a$3);
7613
- this.finals.clear(), x$3.forEach((m$4) => this.finals.add(m$4));
7613
+ this.finals.clear(), x$3.forEach(((m$4) => this.finals.add(m$4)));
7614
7614
  }
7615
7615
  complement(m$3 = Li.nodeFactory) {
7616
7616
  const n$3 = {
7617
7617
  min: 0,
7618
7618
  max: this.maxCharacter
7619
7619
  }, i$3 = m$3.createNode();
7620
- i$3.link(i$3, I$1.all(this.maxCharacter)), l$2(this.initial, (m$4, a$4) => {
7621
- a$4.push(...m$4.out.values()), m$4.out.mapRange(n$3, (m$5) => null != m$5 ? m$5 : i$3);
7622
- });
7620
+ i$3.link(i$3, I$1.all(this.maxCharacter)), l$2(this.initial, ((m$4, a$4) => {
7621
+ a$4.push(...m$4.out.values()), m$4.out.mapRange(n$3, ((m$5) => null != m$5 ? m$5 : i$3));
7622
+ }));
7623
7623
  const a$3 = function(m$4, n$4) {
7624
7624
  const i$4 = /* @__PURE__ */ new Set();
7625
7625
  for (const a$4 of m$4) n$4.has(a$4) || i$4.add(a$4);
7626
7626
  return i$4;
7627
7627
  }(this.nodes(), this.finals);
7628
- this.finals.clear(), a$3.forEach((m$4) => this.finals.add(m$4)), this.removeUnreachable();
7628
+ this.finals.clear(), a$3.forEach(((m$4) => this.finals.add(m$4))), this.removeUnreachable();
7629
7629
  }
7630
7630
  prefixes() {
7631
7631
  if (this.removeUnreachable(), !this.isEmpty) for (const m$3 of this.nodes()) this.finals.add(m$3);
@@ -7650,7 +7650,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7650
7650
  static fromIntersection(m$3, n$3, i$3 = new Li.LimitedNodeFactory()) {
7651
7651
  if (cm.assert(m$3, n$3, "TransitionIterable"), m$3 instanceof Li && n$3 instanceof Li) {
7652
7652
  const a$3 = new Li.Builder(i$3);
7653
- return nm(X$1(sm(a$3, m$3.transitionIterator(), n$3.transitionIterator()), (m$4) => m$4.out.values())), Li.fromBuilder(a$3, m$3);
7653
+ return nm(X$1(sm(a$3, m$3.transitionIterator(), n$3.transitionIterator()), ((m$4) => m$4.out.values()))), Li.fromBuilder(a$3, m$3);
7654
7654
  }
7655
7655
  {
7656
7656
  const a$3 = sm(new um(), m$3.transitionIterator(), n$3.transitionIterator());
@@ -7659,7 +7659,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7659
7659
  }
7660
7660
  static fromWords(m$3, n$3, i$3 = new Li.LimitedNodeFactory()) {
7661
7661
  const { maxCharacter: a$3 } = n$3, x$3 = new Li.Builder(i$3);
7662
- return Q$1(x$3, (m$4, n$4) => m$4.out.get(n$4), m$3, a$3), Li.fromBuilder(x$3, n$3);
7662
+ return Q$1(x$3, ((m$4, n$4) => m$4.out.get(n$4)), m$3, a$3), Li.fromBuilder(x$3, n$3);
7663
7663
  }
7664
7664
  static fromWordSets(m$3, n$3, i$3 = new Li.LimitedNodeFactory()) {
7665
7665
  const { maxCharacter: a$3 } = n$3, x$3 = new Li.Builder(i$3);
@@ -7674,20 +7674,20 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7674
7674
  }
7675
7675
  static fromTransitionIterator(m$3, n$3, i$3 = new Li.LimitedNodeFactory()) {
7676
7676
  const a$3 = new Li.Builder(i$3);
7677
- return nm(X$1(lm(a$3, m$3), (m$4) => m$4.out.values())), Li.fromBuilder(a$3, n$3);
7677
+ return nm(X$1(lm(a$3, m$3), ((m$4) => m$4.out.values()))), Li.fromBuilder(a$3, n$3);
7678
7678
  }
7679
7679
  static fromBuilder(m$3, n$3) {
7680
7680
  return new Li(m$3.initial, m$3.finals, n$3.maxCharacter);
7681
7681
  }
7682
7682
  };
7683
7683
  function Pi(n$3, i$3) {
7684
- const a$3 = i$3.createNode(), x$3 = /* @__PURE__ */ new Set(), e$3 = m$2(() => i$3.createNode());
7685
- return e$3.cache.set(n$3.initial, a$3), l$2(n$3.initial, (m$3, n$4) => {
7684
+ const a$3 = i$3.createNode(), x$3 = /* @__PURE__ */ new Set(), e$3 = m$2((() => i$3.createNode()));
7685
+ return e$3.cache.set(n$3.initial, a$3), l$2(n$3.initial, ((m$3, n$4) => {
7686
7686
  const i$4 = e$3(m$3);
7687
- m$3.out.forEach((m$4, a$4) => {
7687
+ m$3.out.forEach(((m$4, a$4) => {
7688
7688
  n$4.push(m$4), i$4.out.setRange(a$4, e$3(m$4));
7689
- });
7690
- }), n$3.finals.forEach((m$3) => x$3.add(e$3(m$3))), {
7689
+ }));
7690
+ })), n$3.finals.forEach(((m$3) => x$3.add(e$3(m$3)))), {
7691
7691
  initial: a$3,
7692
7692
  finals: x$3
7693
7693
  };
@@ -7701,7 +7701,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7701
7701
  this.out.setCharSet(n$4, m$4);
7702
7702
  }
7703
7703
  unlink(m$4) {
7704
- this.out.filter((n$4) => n$4 !== m$4);
7704
+ this.out.filter(((n$4) => n$4 !== m$4));
7705
7705
  }
7706
7706
  unlinkAll() {
7707
7707
  this.out.clear();
@@ -7777,7 +7777,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7777
7777
  const i$4 = n$3.location[m$4];
7778
7778
  i$4 >= a$3 && (n$3.elements[i$4] = n$3.elements[a$3], n$3.location[n$3.elements[i$4]] = i$4, n$3.elements[a$3] = m$4, n$3.location[m$4] = a$3++);
7779
7779
  }
7780
- m$3.marked[0] = this.finals.length, m$3.touched.push(0), n$3.split(), i$3.elements.sort((m$4, n$4) => this.chars[m$4] - this.chars[n$4]), i$3.setCount = m$3.marked[0] = 0;
7780
+ m$3.marked[0] = this.finals.length, m$3.touched.push(0), n$3.split(), i$3.elements.sort(((m$4, n$4) => this.chars[m$4] - this.chars[n$4])), i$3.setCount = m$3.marked[0] = 0;
7781
7781
  let x$3 = this.chars[i$3.elements[0]];
7782
7782
  for (let n$4 = 0; n$4 < this.transitionCount; n$4++) {
7783
7783
  const a$4 = i$3.elements[n$4];
@@ -7820,7 +7820,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7820
7820
  initial: m$4,
7821
7821
  getOut: (m$5) => {
7822
7822
  const n$4 = /* @__PURE__ */ new Set();
7823
- return m$5.resolveEpsilon("out", (m$6, i$3) => n$4.add(i$3)), n$4;
7823
+ return m$5.resolveEpsilon("out", ((m$6, i$3) => n$4.add(i$3))), n$4;
7824
7824
  },
7825
7825
  isFinal: (m$5) => n$3.has(m$5)
7826
7826
  };
@@ -7841,10 +7841,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7841
7841
  initial: m$3,
7842
7842
  getOut: (m$4) => {
7843
7843
  const n$4 = /* @__PURE__ */ new Map();
7844
- return m$4.resolveEpsilon("out", (m$5, i$3) => {
7844
+ return m$4.resolveEpsilon("out", ((m$5, i$3) => {
7845
7845
  let a$3 = n$4.get(i$3);
7846
7846
  a$3 = void 0 === a$3 ? m$5 : a$3.union(m$5), n$4.set(i$3, a$3);
7847
- }), n$4;
7847
+ })), n$4;
7848
7848
  },
7849
7849
  isFinal: (m$4) => n$3.has(m$4)
7850
7850
  };
@@ -7858,9 +7858,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7858
7858
  }
7859
7859
  countNodes() {
7860
7860
  let m$3 = 0;
7861
- return l$2(this.initial, (n$3, i$3) => {
7861
+ return l$2(this.initial, ((n$3, i$3) => {
7862
7862
  m$3++, i$3.push(...n$3.out.keys());
7863
- }), m$3;
7863
+ })), m$3;
7864
7864
  }
7865
7865
  copy(m$3 = Ui.nodeFactory) {
7866
7866
  const { initial: n$3, final: i$3 } = Ri(m$3, this);
@@ -7871,15 +7871,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7871
7871
  const i$3 = /* @__PURE__ */ new Set();
7872
7872
  for (const a$4 of m$3) {
7873
7873
  const m$4 = [];
7874
- i$3.clear(), c$2(n$3, (n$4, x$3) => {
7875
- n$4.out.forEach((n$5, e$3) => {
7874
+ i$3.clear(), c$2(n$3, ((n$4, x$3) => {
7875
+ n$4.out.forEach(((n$5, e$3) => {
7876
7876
  null === n$5 ? x$3.push(e$3) : n$5.has(a$4) && !i$3.has(e$3) && (m$4.push(e$3), i$3.add(e$3));
7877
- });
7878
- }), n$3 = m$4;
7877
+ }));
7878
+ })), n$3 = m$4;
7879
7879
  }
7880
7880
  if (i$3.has(this.final)) return !0;
7881
7881
  const a$3 = this.final.reachableViaEpsilon("in");
7882
- return n$3.some((m$4) => a$3.has(m$4));
7882
+ return n$3.some(((m$4) => a$3.has(m$4)));
7883
7883
  }
7884
7884
  wordSets() {
7885
7885
  return ki(this.transitionIterator());
@@ -7893,7 +7893,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7893
7893
  getOut: (m$3) => m$3.out,
7894
7894
  stableOut: !0,
7895
7895
  isFinal: (m$3) => m$3 === this.final
7896
- }, (m$3) => null === m$3 ? "ε" : m$3.toUnicodeString(), !0);
7896
+ }, ((m$3) => null === m$3 ? "ε" : m$3.toUnicodeString()), !0);
7897
7897
  }
7898
7898
  toRegex(m$3) {
7899
7899
  return yi({
@@ -7962,7 +7962,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7962
7962
  if (!n$3.has(this.final)) return;
7963
7963
  if (2 === n$3.size) return void this.initial.unlink(this.final);
7964
7964
  const i$3 = [];
7965
- this.initial.resolveEpsilon("out", (m$4, n$4) => i$3.push([m$4, n$4])), this.initial.unlinkAllOut();
7965
+ this.initial.resolveEpsilon("out", ((m$4, n$4) => i$3.push([m$4, n$4]))), this.initial.unlinkAllOut();
7966
7966
  for (const [n$4, a$3] of i$3) if (this.initial.out.has(a$3)) {
7967
7967
  const i$4 = m$3.createNode();
7968
7968
  this.initial.link(i$4, n$4), i$4.link(a$3, null);
@@ -7973,18 +7973,18 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
7973
7973
  (function(m$3) {
7974
7974
  if (0 === m$3.final.in.size || 0 === m$3.initial.out.size) return void zi(m$3);
7975
7975
  const n$3 = /* @__PURE__ */ new Set();
7976
- l$2(m$3.initial, (m$4, i$4) => {
7976
+ l$2(m$3.initial, ((m$4, i$4) => {
7977
7977
  n$3.add(m$4), i$4.push(...m$4.out.keys());
7978
- });
7978
+ }));
7979
7979
  const i$3 = /* @__PURE__ */ new Set();
7980
- if (l$2(m$3.final, (m$4, a$3) => {
7980
+ if (l$2(m$3.final, ((m$4, a$3) => {
7981
7981
  n$3.has(m$4) && (i$3.add(m$4), a$3.push(...m$4.in.keys()));
7982
- }), 0 === i$3.size || !i$3.has(m$3.initial)) return void zi(m$3);
7983
- for (const m$4 of i$3) m$4.out.forEach((m$5, n$4) => {
7982
+ })), 0 === i$3.size || !i$3.has(m$3.initial)) return void zi(m$3);
7983
+ for (const m$4 of i$3) m$4.out.forEach(((m$5, n$4) => {
7984
7984
  i$3.has(n$4) || n$4.unlinkAll();
7985
- }), m$4.in.forEach((m$5, n$4) => {
7985
+ })), m$4.in.forEach(((m$5, n$4) => {
7986
7986
  i$3.has(n$4) || n$4.unlinkAll();
7987
- });
7987
+ }));
7988
7988
  })(this);
7989
7989
  }
7990
7990
  prefixes(m$3 = new Ui.LimitedNodeFactory()) {
@@ -8028,9 +8028,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8028
8028
  }
8029
8029
  static fromWords(m$3, n$3, i$3 = new Ui.LimitedNodeFactory()) {
8030
8030
  const { maxCharacter: a$3 } = n$3, x$3 = new Ui.Builder(i$3);
8031
- return Q$1(x$3, (m$4, n$4) => {
8031
+ return Q$1(x$3, ((m$4, n$4) => {
8032
8032
  for (const [i$4, a$4] of m$4.out) if (null !== a$4 && a$4.has(n$4)) return i$4;
8033
- }, m$3, a$3), Ui.fromBuilder(x$3, n$3);
8033
+ }), m$3, a$3), Ui.fromBuilder(x$3, n$3);
8034
8034
  }
8035
8035
  static fromWordSets(m$3, n$3, i$3 = new Ui.LimitedNodeFactory()) {
8036
8036
  const { maxCharacter: a$3 } = n$3, x$3 = new Ui.Builder(i$3);
@@ -8042,15 +8042,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8042
8042
  static fromTransitionIterator(n$3, i$3, a$3 = new Ui.LimitedNodeFactory()) {
8043
8043
  const { maxCharacter: x$3 } = i$3, e$3 = new Ui.Builder(a$3), t$3 = a$3.createNode();
8044
8044
  e$3.initial.link(t$3, null);
8045
- const r$3 = m$2(() => a$3.createNode());
8046
- return r$3.cache.set(n$3.initial, t$3), l$2(n$3.initial, (m$3, i$4) => {
8045
+ const r$3 = m$2((() => a$3.createNode()));
8046
+ return r$3.cache.set(n$3.initial, t$3), l$2(n$3.initial, ((m$3, i$4) => {
8047
8047
  const a$4 = r$3(m$3);
8048
8048
  n$3.isFinal(m$3) && e$3.makeFinal(a$4);
8049
- n$3.getOut(m$3).forEach((m$4, n$4) => {
8049
+ n$3.getOut(m$3).forEach(((m$4, n$4) => {
8050
8050
  if (m$4.maximum !== x$3) throw new Error("Some character sets do not conform to the given maximum.");
8051
8051
  i$4.push(n$4), a$4.link(r$3(n$4), m$4);
8052
- });
8053
- }), Ui.fromBuilder(e$3, i$3);
8052
+ }));
8053
+ })), Ui.fromBuilder(e$3, i$3);
8054
8054
  }
8055
8055
  static fromBuilder(m$3, n$3) {
8056
8056
  return new Ui(m$3.initial, m$3.final, n$3.maxCharacter);
@@ -8083,14 +8083,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8083
8083
  }
8084
8084
  function Gi(n$3, i$3) {
8085
8085
  return i$3 instanceof Ui ? Ri(n$3, i$3) : function(n$4, i$4) {
8086
- const a$3 = n$4.createNode(), x$3 = n$4.createNode(), e$3 = m$2(() => n$4.createNode());
8087
- e$3.cache.set(i$4.initial, a$3), l$2(i$4.initial, (m$3, n$5) => {
8086
+ const a$3 = n$4.createNode(), x$3 = n$4.createNode(), e$3 = m$2((() => n$4.createNode()));
8087
+ e$3.cache.set(i$4.initial, a$3), l$2(i$4.initial, ((m$3, n$5) => {
8088
8088
  const a$4 = e$3(m$3);
8089
8089
  i$4.isFinal(m$3) && a$4.link(x$3, null);
8090
- i$4.getOut(m$3).forEach((m$4, i$5) => {
8090
+ i$4.getOut(m$3).forEach(((m$4, i$5) => {
8091
8091
  n$5.push(i$5), a$4.link(e$3(i$5), m$4);
8092
- });
8093
- });
8092
+ }));
8093
+ }));
8094
8094
  const t$3 = {
8095
8095
  initial: a$3,
8096
8096
  final: x$3
@@ -8099,13 +8099,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8099
8099
  }(n$3, i$3.transitionIterator());
8100
8100
  }
8101
8101
  function Ri(n$3, i$3) {
8102
- const a$3 = n$3.createNode(), x$3 = n$3.createNode(), e$3 = m$2(() => n$3.createNode());
8103
- e$3.cache.set(i$3.initial, a$3), e$3.cache.set(i$3.final, x$3), l$2(i$3.initial, (m$3, n$4) => {
8102
+ const a$3 = n$3.createNode(), x$3 = n$3.createNode(), e$3 = m$2((() => n$3.createNode()));
8103
+ e$3.cache.set(i$3.initial, a$3), e$3.cache.set(i$3.final, x$3), l$2(i$3.initial, ((m$3, n$4) => {
8104
8104
  const i$4 = e$3(m$3);
8105
- m$3.out.forEach((m$4, a$4) => {
8105
+ m$3.out.forEach(((m$4, a$4) => {
8106
8106
  n$4.push(a$4), i$4.link(e$3(a$4), m$4);
8107
- });
8108
- });
8107
+ }));
8108
+ }));
8109
8109
  const t$3 = {
8110
8110
  initial: a$3,
8111
8111
  final: x$3
@@ -8209,14 +8209,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8209
8209
  this.unlinkAllIn(), this.unlinkAllOut();
8210
8210
  }
8211
8211
  unlinkAllOut() {
8212
- this.out.forEach((m$4, n$4) => {
8212
+ this.out.forEach(((m$4, n$4) => {
8213
8213
  n$4.in.delete(this);
8214
- }), this.out.clear();
8214
+ })), this.out.clear();
8215
8215
  }
8216
8216
  unlinkAllIn() {
8217
- this.in.forEach((m$4, n$4) => {
8217
+ this.in.forEach(((m$4, n$4) => {
8218
8218
  n$4.out.delete(this);
8219
- }), this.in.clear();
8219
+ })), this.in.clear();
8220
8220
  }
8221
8221
  resolveEpsilon(m$4, n$4) {
8222
8222
  const i$3 = [...this[m$4]].reverse(), a$3 = new Set([this]);
@@ -8230,11 +8230,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8230
8230
  }
8231
8231
  reachableViaEpsilon(m$4) {
8232
8232
  const n$4 = /* @__PURE__ */ new Set();
8233
- return l$2(this, (i$3, a$3) => {
8234
- n$4.add(i$3), i$3[m$4].forEach((m$5, n$5) => {
8233
+ return l$2(this, ((i$3, a$3) => {
8234
+ n$4.add(i$3), i$3[m$4].forEach(((m$5, n$5) => {
8235
8235
  null === m$5 && a$3.push(n$5);
8236
- });
8237
- }), n$4;
8236
+ }));
8237
+ })), n$4;
8238
8238
  }
8239
8239
  }
8240
8240
  m$3.Node = n$3, m$3.nodeFactory = { createNode: () => new n$3() };
@@ -8402,9 +8402,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8402
8402
  }
8403
8403
  countNodes() {
8404
8404
  let m$3 = 0;
8405
- return l$2(this.initial, (n$3, i$3) => {
8405
+ return l$2(this.initial, ((n$3, i$3) => {
8406
8406
  m$3++, i$3.push(...n$3.out.keys());
8407
- }), m$3;
8407
+ })), m$3;
8408
8408
  }
8409
8409
  copy(m$3 = new aa.LimitedNodeFactory()) {
8410
8410
  const n$3 = ea(m$3, this.transitionIterator());
@@ -8416,12 +8416,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8416
8416
  for (const a$3 of m$3) {
8417
8417
  const m$4 = [];
8418
8418
  i$3.clear();
8419
- for (const x$3 of n$3) x$3.out.forEach((n$4, x$4) => {
8419
+ for (const x$3 of n$3) x$3.out.forEach(((n$4, x$4) => {
8420
8420
  n$4.has(a$3) && !i$3.has(x$4) && (m$4.push(x$4), i$3.add(x$4));
8421
- });
8421
+ }));
8422
8422
  n$3 = m$4;
8423
8423
  }
8424
- return n$3.some((m$4) => this.finals.has(m$4));
8424
+ return n$3.some(((m$4) => this.finals.has(m$4)));
8425
8425
  }
8426
8426
  wordSets() {
8427
8427
  return ki(this.transitionIterator());
@@ -8430,7 +8430,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8430
8430
  return Ii(this.wordSets());
8431
8431
  }
8432
8432
  toString() {
8433
- return Si(this.transitionIterator(), (m$3) => m$3.toUnicodeString());
8433
+ return Si(this.transitionIterator(), ((m$3) => m$3.toUnicodeString()));
8434
8434
  }
8435
8435
  toRegex(m$3) {
8436
8436
  return yi(this.transitionIterator(), m$3);
@@ -8479,9 +8479,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8479
8479
  if (this.removeUnreachable(), this.normalize(), !this.isEmpty) {
8480
8480
  for (const m$3 of this.nodes()) if (m$3 !== this.initial) {
8481
8481
  let n$3;
8482
- m$3.in.forEach((m$4) => {
8482
+ m$3.in.forEach(((m$4) => {
8483
8483
  n$3 = void 0 === n$3 ? m$4 : n$3.union(m$4);
8484
- }), this.initial.link(m$3, n$3);
8484
+ })), this.initial.link(m$3, n$3);
8485
8485
  }
8486
8486
  this.finals.add(this.initial);
8487
8487
  }
@@ -8500,17 +8500,17 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8500
8500
  n$4.out = n$4.in, n$4.in = i$4;
8501
8501
  }
8502
8502
  const e$3 = m$3.createNode();
8503
- i$3.in.forEach((m$4, n$4) => {
8503
+ i$3.in.forEach(((m$4, n$4) => {
8504
8504
  n$4.unlink(i$3), n$4.link(e$3, m$4);
8505
- });
8505
+ }));
8506
8506
  const t$3 = new Set([e$3]);
8507
8507
  a$3.has(i$3) && (a$3.delete(i$3), t$3.add(i$3));
8508
- for (const m$4 of a$3) m$4.out.forEach((m$5, n$4) => {
8508
+ for (const m$4 of a$3) m$4.out.forEach(((m$5, n$4) => {
8509
8509
  i$3.link(n$4, m$5);
8510
- }), 0 === m$4.in.size && m$4.out.forEach((n$4, i$4) => {
8510
+ })), 0 === m$4.in.size && m$4.out.forEach(((n$4, i$4) => {
8511
8511
  m$4.unlink(i$4);
8512
- });
8513
- a$3.clear(), t$3.forEach((m$4) => a$3.add(m$4));
8512
+ }));
8513
+ a$3.clear(), t$3.forEach(((m$4) => a$3.add(m$4)));
8514
8514
  }(aa.nodeFactory, this);
8515
8515
  }
8516
8516
  static empty(m$3, n$3 = aa.nodeFactory) {
@@ -8533,7 +8533,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8533
8533
  static fromIntersection(m$3, n$3, i$3 = new aa.LimitedNodeFactory()) {
8534
8534
  cm.assert(m$3, n$3, "TransitionIterable");
8535
8535
  const a$3 = new aa.Builder(i$3);
8536
- return nm(X$1(sm(a$3, m$3.transitionIterator(), n$3.transitionIterator()), (m$4) => m$4.out.keys())), da(a$3), pa(i$3, a$3), oa(a$3), aa.fromBuilder(a$3, m$3);
8536
+ return nm(X$1(sm(a$3, m$3.transitionIterator(), n$3.transitionIterator()), ((m$4) => m$4.out.keys()))), da(a$3), pa(i$3, a$3), oa(a$3), aa.fromBuilder(a$3, m$3);
8537
8537
  }
8538
8538
  static fromRegex(m$3, n$3, i$3 = {}, a$3 = new aa.LimitedNodeFactory()) {
8539
8539
  const { initial: x$3, finals: e$3 } = function(m$4, n$4, i$4, a$4) {
@@ -8578,7 +8578,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8578
8578
  if (d$3(i$5), i$5.isEmpty) fa(n$5);
8579
8579
  else {
8580
8580
  const m$6 = a$4.createNode();
8581
- n$5.finals.forEach((n$6) => n$6.link(m$6, i$5)), n$5.finals.clear(), n$5.finals.add(m$6);
8581
+ n$5.finals.forEach(((n$6) => n$6.link(m$6, i$5))), n$5.finals.clear(), n$5.finals.add(m$6);
8582
8582
  }
8583
8583
  break;
8584
8584
  }
@@ -8634,9 +8634,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8634
8634
  }
8635
8635
  static fromWords(m$3, n$3, i$3 = new aa.LimitedNodeFactory()) {
8636
8636
  const { maxCharacter: a$3 } = n$3, x$3 = new aa.Builder(i$3);
8637
- return Q$1(x$3, (m$4, n$4) => {
8637
+ return Q$1(x$3, ((m$4, n$4) => {
8638
8638
  for (const [i$4, a$4] of m$4.out) if (a$4.has(n$4)) return i$4;
8639
- }, m$3, a$3), oa(x$3), la(x$3), aa.fromBuilder(x$3, n$3);
8639
+ }), m$3, a$3), oa(x$3), la(x$3), aa.fromBuilder(x$3, n$3);
8640
8640
  }
8641
8641
  static fromWordSets(m$3, n$3, i$3 = new aa.LimitedNodeFactory()) {
8642
8642
  const { maxCharacter: a$3 } = n$3, x$3 = new aa.Builder(i$3);
@@ -8646,15 +8646,15 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8646
8646
  return aa.fromTransitionIterator(m$3.transitionIterator(), m$3, n$3);
8647
8647
  }
8648
8648
  static fromTransitionIterator(n$3, i$3, a$3 = new aa.LimitedNodeFactory()) {
8649
- const { maxCharacter: x$3 } = i$3, e$3 = a$3.createNode(), t$3 = /* @__PURE__ */ new Set(), r$3 = m$2(() => a$3.createNode());
8650
- return r$3.cache.set(n$3.initial, e$3), l$2(n$3.initial, (m$3, i$4) => {
8649
+ const { maxCharacter: x$3 } = i$3, e$3 = a$3.createNode(), t$3 = /* @__PURE__ */ new Set(), r$3 = m$2((() => a$3.createNode()));
8650
+ return r$3.cache.set(n$3.initial, e$3), l$2(n$3.initial, ((m$3, i$4) => {
8651
8651
  const a$4 = r$3(m$3);
8652
8652
  n$3.isFinal(m$3) && t$3.add(a$4);
8653
- n$3.getOut(m$3).forEach((m$4, n$4) => {
8653
+ n$3.getOut(m$3).forEach(((m$4, n$4) => {
8654
8654
  if (m$4.maximum !== x$3) throw new Error("Some character sets do not conform to the given maximum.");
8655
8655
  i$4.push(n$4), a$4.link(r$3(n$4), m$4);
8656
- });
8657
- }), new aa(e$3, t$3, x$3);
8656
+ }));
8657
+ })), new aa(e$3, t$3, x$3);
8658
8658
  }
8659
8659
  static fromBuilder(m$3, n$3) {
8660
8660
  return new aa(m$3.initial, m$3.finals, n$3.maxCharacter);
@@ -8668,13 +8668,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8668
8668
  });
8669
8669
  }
8670
8670
  function ea(n$3, i$3) {
8671
- const a$3 = n$3.createNode(), x$3 = /* @__PURE__ */ new Set(), e$3 = m$2(() => n$3.createNode());
8672
- e$3.cache.set(i$3.initial, a$3), l$2(i$3.initial, (m$3, n$4) => {
8671
+ const a$3 = n$3.createNode(), x$3 = /* @__PURE__ */ new Set(), e$3 = m$2((() => n$3.createNode()));
8672
+ e$3.cache.set(i$3.initial, a$3), l$2(i$3.initial, ((m$3, n$4) => {
8673
8673
  const a$4 = e$3(m$3);
8674
8674
  i$3.isFinal(m$3) && x$3.add(a$4);
8675
8675
  const t$4 = i$3.getOut(m$3);
8676
8676
  for (const [m$4, i$4] of t$4) n$4.push(m$4), a$4.link(e$3(m$4), i$4);
8677
- });
8677
+ }));
8678
8678
  const t$3 = {
8679
8679
  initial: a$3,
8680
8680
  finals: x$3
@@ -8687,9 +8687,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8687
8687
  const i$3 = [...n$3.initial.out];
8688
8688
  for (const n$4 of m$3.finals) for (const [m$4, a$3] of i$3) n$4.link(m$4, a$3);
8689
8689
  for (const [m$4] of i$3) n$3.initial.unlink(m$4);
8690
- n$3.finals.has(n$3.initial) || m$3.finals.clear(), n$3.finals.forEach((i$4) => {
8690
+ n$3.finals.has(n$3.initial) || m$3.finals.clear(), n$3.finals.forEach(((i$4) => {
8691
8691
  i$4 !== n$3.initial && m$3.finals.add(i$4);
8692
- });
8692
+ }));
8693
8693
  }
8694
8694
  function ra(m$3, n$3) {
8695
8695
  if (0 === m$3.finals.size) return;
@@ -8698,16 +8698,16 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8698
8698
  for (const m$4 of n$3.finals) for (const [n$4, a$3] of i$3) m$4.link(n$4, a$3);
8699
8699
  for (const [n$4] of i$3) m$3.initial.unlink(n$4);
8700
8700
  for (const [i$4, a$3] of n$3.initial.out) m$3.initial.link(i$4, a$3), n$3.initial.unlink(i$4);
8701
- m$3.finals.has(m$3.initial) && (m$3.finals.delete(m$3.initial), n$3.finals.forEach((i$4) => {
8701
+ m$3.finals.has(m$3.initial) && (m$3.finals.delete(m$3.initial), n$3.finals.forEach(((i$4) => {
8702
8702
  i$4 === n$3.initial ? m$3.finals.add(m$3.initial) : m$3.finals.add(i$4);
8703
- }));
8703
+ })));
8704
8704
  }
8705
8705
  function sa(m$3, n$3) {
8706
- n$3.finals.forEach((i$3) => {
8706
+ n$3.finals.forEach(((i$3) => {
8707
8707
  m$3.finals.add(i$3 === n$3.initial ? m$3.initial : i$3);
8708
- }), n$3.initial.out.forEach((n$4, i$3) => {
8708
+ })), n$3.initial.out.forEach(((n$4, i$3) => {
8709
8709
  m$3.initial.link(i$3, n$4);
8710
- }), n$3.initial.unlinkAllOut(), oa(m$3), function(m$4) {
8710
+ })), n$3.initial.unlinkAllOut(), oa(m$3), function(m$4) {
8711
8711
  const n$4 = [m$4.initial];
8712
8712
  for (; n$4.length > 0;) {
8713
8713
  const i$3 = n$4.pop();
@@ -8734,9 +8734,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8734
8734
  for (const i$3 of m$3.finals) i$3 !== m$3.initial && 0 === i$3.out.size && n$3.push(i$3);
8735
8735
  if (n$3.length > 1) {
8736
8736
  const i$3 = n$3.pop();
8737
- for (const a$3 of n$3) m$3.finals.delete(a$3), a$3.in.forEach((m$4, n$4) => {
8737
+ for (const a$3 of n$3) m$3.finals.delete(a$3), a$3.in.forEach(((m$4, n$4) => {
8738
8738
  n$4.out.delete(a$3), n$4.link(i$3, m$4);
8739
- });
8739
+ }));
8740
8740
  }
8741
8741
  }
8742
8742
  function la(m$3) {
@@ -8766,8 +8766,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8766
8766
  const a$3 = new Set(n$3.finals);
8767
8767
  n$3.finals.delete(n$3.initial);
8768
8768
  const x$3 = xa(m$3, n$3);
8769
- for (let e$3 = i$3; e$3 > 2; e$3--) ta(n$3, xa(m$3, x$3)), n$3.finals.forEach((m$4) => a$3.add(m$4));
8770
- ta(n$3, x$3), n$3.finals.forEach((m$4) => a$3.add(m$4)), n$3.finals.clear(), a$3.forEach((m$4) => n$3.finals.add(m$4));
8769
+ for (let e$3 = i$3; e$3 > 2; e$3--) ta(n$3, xa(m$3, x$3)), n$3.finals.forEach(((m$4) => a$3.add(m$4)));
8770
+ ta(n$3, x$3), n$3.finals.forEach(((m$4) => a$3.add(m$4))), n$3.finals.clear(), a$3.forEach(((m$4) => n$3.finals.add(m$4)));
8771
8771
  } else {
8772
8772
  const a$3 = xa(m$3, n$3);
8773
8773
  for (let x$3 = i$3; x$3 > 2; x$3--) ta(n$3, xa(m$3, a$3));
@@ -8775,9 +8775,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8775
8775
  }
8776
8776
  }
8777
8777
  function ha(m$3) {
8778
- for (const n$3 of m$3.finals) n$3 !== m$3.initial && m$3.initial.out.forEach((m$4, i$3) => {
8778
+ for (const n$3 of m$3.finals) n$3 !== m$3.initial && m$3.initial.out.forEach(((m$4, i$3) => {
8779
8779
  n$3.link(i$3, m$4);
8780
- });
8780
+ }));
8781
8781
  }
8782
8782
  function ua(m$3, n$3, i$3, a$3) {
8783
8783
  if (0 === a$3) return fa(n$3), void n$3.finals.add(n$3.initial);
@@ -8811,27 +8811,27 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8811
8811
  function pa(m$3, n$3) {
8812
8812
  if (0 === n$3.initial.in.size) return;
8813
8813
  const i$3 = m$3.createNode();
8814
- n$3.initial.out.forEach((m$4, a$3) => {
8814
+ n$3.initial.out.forEach(((m$4, a$3) => {
8815
8815
  i$3.link(a$3 === n$3.initial ? i$3 : a$3, m$4);
8816
- }), n$3.initial.in.forEach((m$4, n$4) => {
8816
+ })), n$3.initial.in.forEach(((m$4, n$4) => {
8817
8817
  n$4.link(i$3, m$4);
8818
- }), n$3.initial.unlinkAllIn(), n$3.finals.has(n$3.initial) && n$3.finals.add(i$3);
8818
+ })), n$3.initial.unlinkAllIn(), n$3.finals.has(n$3.initial) && n$3.finals.add(i$3);
8819
8819
  }
8820
8820
  function da(m$3) {
8821
8821
  if (0 === m$3.finals.size) return void fa(m$3);
8822
8822
  const n$3 = /* @__PURE__ */ new Set();
8823
- l$2(m$3.initial, (m$4, i$4) => {
8823
+ l$2(m$3.initial, ((m$4, i$4) => {
8824
8824
  n$3.add(m$4), i$4.push(...m$4.out.keys());
8825
- });
8825
+ }));
8826
8826
  const i$3 = /* @__PURE__ */ new Set();
8827
- if (c$2(m$3.finals, (m$4, a$3) => {
8827
+ if (c$2(m$3.finals, ((m$4, a$3) => {
8828
8828
  n$3.has(m$4) && (i$3.add(m$4), a$3.push(...m$4.in.keys()));
8829
- }), 0 !== i$3.size && i$3.has(m$3.initial)) {
8830
- for (const m$4 of i$3) m$4.out.forEach((m$5, n$4) => {
8829
+ })), 0 !== i$3.size && i$3.has(m$3.initial)) {
8830
+ for (const m$4 of i$3) m$4.out.forEach(((m$5, n$4) => {
8831
8831
  i$3.has(n$4) || n$4.unlinkAll();
8832
- }), m$4.in.forEach((m$5, n$4) => {
8832
+ })), m$4.in.forEach(((m$5, n$4) => {
8833
8833
  i$3.has(n$4) || n$4.unlinkAll();
8834
- });
8834
+ }));
8835
8835
  for (const n$4 of [...m$3.finals]) i$3.has(n$4) || m$3.finals.delete(n$4);
8836
8836
  } else fa(m$3);
8837
8837
  }
@@ -8855,14 +8855,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
8855
8855
  this.unlinkAllIn(), this.unlinkAllOut();
8856
8856
  }
8857
8857
  unlinkAllOut() {
8858
- this.out.forEach((m$4, n$4) => {
8858
+ this.out.forEach(((m$4, n$4) => {
8859
8859
  n$4.in.delete(this);
8860
- }), this.out.clear();
8860
+ })), this.out.clear();
8861
8861
  }
8862
8862
  unlinkAllIn() {
8863
- this.in.forEach((m$4, n$4) => {
8863
+ this.in.forEach(((m$4, n$4) => {
8864
8864
  n$4.out.delete(this);
8865
- }), this.in.clear();
8865
+ })), this.in.clear();
8866
8866
  }
8867
8867
  }
8868
8868
  m$3.Node = n$3, m$3.nodeFactory = { createNode: () => new n$3() };
@@ -9977,7 +9977,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
9977
9977
  for (let n$4 = 0, i$5 = m$5.length; n$4 < i$5; n$4++) x$3.add(m$5[n$4]);
9978
9978
  }
9979
9979
  const e$3 = [...x$3];
9980
- return e$3.sort((m$4, n$4) => m$4 - n$4), m$3.union(I$1.fromCharacters(m$3.maximum, e$3));
9980
+ return e$3.sort(((m$4, n$4) => m$4 - n$4)), m$3.union(I$1.fromCharacters(m$3.maximum, e$3));
9981
9981
  }
9982
9982
  function Pc(m$3) {
9983
9983
  return m$3.unicode || m$3.unicodeSets ? m$3.ignoreCase ? Mc : Jc : m$3.ignoreCase ? Ic : Ac;
@@ -10035,12 +10035,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10035
10035
  var m$3;
10036
10036
  return null !== (m$3 = this._cachedWordSets) && void 0 !== m$3 ? m$3 : this._cachedWordSets = function(m$4, n$3) {
10037
10037
  if (0 === m$4.length) return [];
10038
- return m$4.map((m$5) => m$5.map((m$6) => n$3.toCharSet(m$6)));
10038
+ return m$4.map(((m$5) => m$5.map(((m$6) => n$3.toCharSet(m$6)))));
10039
10039
  }(this.words, this._caseFolding);
10040
10040
  }
10041
10041
  get trie() {
10042
10042
  var m$3;
10043
- return null !== (m$3 = this._cachedTrie) && void 0 !== m$3 ? m$3 : this._cachedTrie = Rc.fromWords(this.words, this._caseFolding, () => this.wordSets);
10043
+ return null !== (m$3 = this._cachedTrie) && void 0 !== m$3 ? m$3 : this._cachedTrie = Rc.fromWords(this.words, this._caseFolding, (() => this.wordSets));
10044
10044
  }
10045
10045
  constructor(m$3, n$3) {
10046
10046
  this.words = m$3, this._caseFolding = n$3;
@@ -10155,11 +10155,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10155
10155
  const m$3 = [];
10156
10156
  for (const n$3 of this.words) if (1 === n$3.length) m$3.push(n$3[0]);
10157
10157
  else if (n$3.length > 1) break;
10158
- if (0 !== m$3.length) return m$3.map((m$4) => this._caseFolding.toCharSet(m$4)).reduce((m$4, n$3) => m$4.union(n$3));
10158
+ if (0 !== m$3.length) return m$3.map(((m$4) => this._caseFolding.toCharSet(m$4))).reduce(((m$4, n$3) => m$4.union(n$3)));
10159
10159
  }
10160
10160
  withoutSingleCharacters() {
10161
10161
  if (!this.hasSingleCharacter) return this;
10162
- const m$3 = this.words.filter((m$4) => 1 !== m$4.length);
10162
+ const m$3 = this.words.filter(((m$4) => 1 !== m$4.length));
10163
10163
  return 0 === m$3.length ? Uc.empty : new Uc(m$3, this._caseFolding);
10164
10164
  }
10165
10165
  withoutEmptyWord() {
@@ -10176,7 +10176,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10176
10176
  }
10177
10177
  };
10178
10178
  function Bc(m$3) {
10179
- m$3.length <= 1 || (m$3.sort(jc), i$2(m$3, (m$4, n$3) => !n$3 || 0 !== jc(m$4, n$3)));
10179
+ m$3.length <= 1 || (m$3.sort(jc), i$2(m$3, ((m$4, n$3) => !n$3 || 0 !== jc(m$4, n$3))));
10180
10180
  }
10181
10181
  function jc(m$3, n$3) {
10182
10182
  if (m$3.length !== n$3.length) return m$3.length - n$3.length;
@@ -10207,11 +10207,11 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10207
10207
  if (0 === m$3.length) return Rc.empty;
10208
10208
  let a$3;
10209
10209
  if (n$3.canonicalize) {
10210
- const m$4 = i$3(), n$4 = zc(m$4, (m$5) => m$5.maximum);
10210
+ const m$4 = i$3(), n$4 = zc(m$4, ((m$5) => m$5.maximum));
10211
10211
  if (void 0 === n$4) return Rc.emptyString;
10212
10212
  a$3 = Li.fromWordSets(m$4, { maxCharacter: n$4 });
10213
10213
  } else {
10214
- const i$4 = zc(m$3, (m$4) => n$3.toCharSet(m$4).maximum);
10214
+ const i$4 = zc(m$3, ((m$4) => n$3.toCharSet(m$4).maximum));
10215
10215
  if (void 0 === i$4) return Rc.emptyString;
10216
10216
  a$3 = Li.fromWords(m$3, { maxCharacter: i$4 });
10217
10217
  }
@@ -10286,14 +10286,14 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10286
10286
  if (m$4.accept.isEmpty && !m$4.chars.isEmpty) return [[m$4.chars]];
10287
10287
  const n$3 = Array.from(m$4.accept.wordSets);
10288
10288
  m$4.chars.isEmpty || n$3.push([m$4.chars]);
10289
- return n$3.sort((m$5, n$4) => {
10289
+ return n$3.sort(((m$5, n$4) => {
10290
10290
  if (m$5.length !== n$4.length) return n$4.length - m$5.length;
10291
10291
  for (let i$3 = 0; i$3 < m$5.length; i$3++) {
10292
10292
  const a$3 = m$5[i$3].compare(n$4[i$3]);
10293
10293
  if (0 !== a$3) return a$3;
10294
10294
  }
10295
10295
  return 0;
10296
- }), n$3;
10296
+ })), n$3;
10297
10297
  }(this);
10298
10298
  }
10299
10299
  constructor(m$3, n$3) {
@@ -10322,7 +10322,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10322
10322
  const n$3 = m$3[0];
10323
10323
  return n$3 instanceof Wc ? new Wc(this.chars.union(n$3.chars), this.accept.union(n$3.accept)) : new Wc(this.chars.union(n$3), this.accept);
10324
10324
  }
10325
- return new Wc(this.chars.union(...m$3.map((m$4) => m$4 instanceof Wc ? m$4.chars : m$4)), this.accept.union(...m$3.map((m$4) => m$4 instanceof Wc ? m$4.accept : Uc.empty)));
10325
+ return new Wc(this.chars.union(...m$3.map(((m$4) => m$4 instanceof Wc ? m$4.chars : m$4))), this.accept.union(...m$3.map(((m$4) => m$4 instanceof Wc ? m$4.accept : Uc.empty))));
10326
10326
  }
10327
10327
  intersect(m$3) {
10328
10328
  return m$3 instanceof Wc ? new Wc(this.chars.intersect(m$3.chars), this.accept.intersect(m$3.accept)) : new Wc(this.chars.intersect(m$3), Uc.empty);
@@ -10529,7 +10529,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10529
10529
  max: r$3
10530
10530
  }));
10531
10531
  }
10532
- n$3.sort((m$4, n$4) => ch(m$4.low, n$4.low));
10532
+ n$3.sort(((m$4, n$4) => ch(m$4.low, n$4.low)));
10533
10533
  const x$3 = [];
10534
10534
  for (const { high: m$4, low: i$4 } of n$3) {
10535
10535
  const n$4 = x$3[x$3.length - 1];
@@ -10540,8 +10540,8 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10540
10540
  }
10541
10541
  const e$3 = [];
10542
10542
  i$3.length > 0 && e$3.push([I$1.empty(65535).union(i$3), rh]);
10543
- for (const { high: m$4, low: n$4 } of x$3) m$4.sort((m$5, n$5) => m$5 - n$5), e$3.push([I$1.fromCharacters(65535, m$4), I$1.empty(65535).union(n$4)]);
10544
- return e$3.sort((m$4, n$4) => m$4[0].ranges[0].min - n$4[0].ranges[0].min), e$3;
10543
+ for (const { high: m$4, low: n$4 } of x$3) m$4.sort(((m$5, n$5) => m$5 - n$5)), e$3.push([I$1.fromCharacters(65535, m$4), I$1.empty(65535).union(n$4)]);
10544
+ return e$3.sort(((m$4, n$4) => m$4[0].ranges[0].min - n$4[0].ranges[0].min)), e$3;
10545
10545
  }
10546
10546
  function oh(m$3) {
10547
10547
  return Math.floor((m$3 - 65536) / 1024) + 55296;
@@ -10638,7 +10638,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10638
10638
  } else i$3 = "(?:" + fh(m$3.alternatives, n$3) + ")";
10639
10639
  return 0 === m$3.min && m$3.max === Infinity ? i$3 += "*" : 1 === m$3.min && m$3.max === Infinity ? i$3 += "+" : 0 === m$3.min && 1 === m$3.max ? i$3 += "?" : m$3.max === Infinity ? i$3 += `{${m$3.min},}` : m$3.min === m$3.max ? i$3 += `{${m$3.min}}` : i$3 += `{${m$3.min},${m$3.max}}`, m$3.lazy && (i$3 += "?"), i$3;
10640
10640
  }
10641
- case "Unknown": return "[]Unknown:" + m$3.id.replace(/[\\/|[\](){}+*?^$.]/g, (m$4) => "\\" + m$4).replace(/[\0-\x1F]/g, (m$4) => "\\x" + m$4.charCodeAt(0).toString(16).padStart(2, "0")) + "[]";
10641
+ case "Unknown": return "[]Unknown:" + m$3.id.replace(/[\\/|[\](){}+*?^$.]/g, ((m$4) => "\\" + m$4)).replace(/[\0-\x1F]/g, ((m$4) => "\\x" + m$4.charCodeAt(0).toString(16).padStart(2, "0"))) + "[]";
10642
10642
  default: throw h$2(m$3);
10643
10643
  }
10644
10644
  }
@@ -10717,7 +10717,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10717
10717
  function wh(m$3) {
10718
10718
  return 0 === m$3 ? "\\0" : m$3 < 16 ? "\\x0" + m$3.toString(16) : m$3 < 256 ? "\\x" + m$3.toString(16) : m$3 < 4096 ? "\\u0" + m$3.toString(16) : m$3 < 65536 ? "\\u" + m$3.toString(16) : "\\u{" + m$3.toString(16) + "}";
10719
10719
  }
10720
- const kh = new Set([..."\\]-^"].map((m$3) => m$3.charCodeAt(0)));
10720
+ const kh = new Set([..."\\]-^"].map(((m$3) => m$3.charCodeAt(0))));
10721
10721
  function Eh(m$3) {
10722
10722
  if (kh.has(m$3)) return "\\" + String.fromCharCode(m$3);
10723
10723
  const n$3 = Sh.get(m$3);
@@ -10736,9 +10736,9 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10736
10736
  min: 97,
10737
10737
  max: 122
10738
10738
  }
10739
- ], Nh = Math.min(...Oh.map((m$3) => m$3.min)), bh = Math.max(...Oh.map((m$3) => m$3.max));
10739
+ ], Nh = Math.min(...Oh.map(((m$3) => m$3.min))), bh = Math.max(...Oh.map(((m$3) => m$3.max)));
10740
10740
  function Ah(m$3) {
10741
- return Nh <= m$3.min && m$3.max <= bh && Oh.some(({ min: n$3, max: i$3 }) => n$3 <= m$3.min && m$3.max <= i$3) ? String.fromCharCode(m$3.min) + "-" + String.fromCharCode(m$3.max) : wh(m$3.min) + "-" + wh(m$3.max);
10741
+ return Nh <= m$3.min && m$3.max <= bh && Oh.some((({ min: n$3, max: i$3 }) => n$3 <= m$3.min && m$3.max <= i$3)) ? String.fromCharCode(m$3.min) + "-" + String.fromCharCode(m$3.max) : wh(m$3.min) + "-" + wh(m$3.max);
10742
10742
  }
10743
10743
  function Ih(m$3) {
10744
10744
  if (m$3.min === m$3.max) return Eh(m$3.min);
@@ -10750,7 +10750,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10750
10750
  }
10751
10751
  return Ah(m$3);
10752
10752
  }
10753
- const Jh = new Set([..."()[]{}*+?|\\.^$/"].map((m$3) => m$3.charCodeAt(0)));
10753
+ const Jh = new Set([..."()[]{}*+?|\\.^$/"].map(((m$3) => m$3.charCodeAt(0))));
10754
10754
  function Mh(m$3) {
10755
10755
  if (Jh.has(m$3)) return "\\" + String.fromCharCode(m$3);
10756
10756
  const n$3 = Sh.get(m$3);
@@ -10828,7 +10828,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
10828
10828
  }
10829
10829
  function zh(m$3) {
10830
10830
  let n$3 = 0;
10831
- return m$3.split(" ").map((m$4) => n$3 += 0 | parseInt(m$4, 36));
10831
+ return m$3.split(" ").map(((m$4) => n$3 += 0 | parseInt(m$4, 36)));
10832
10832
  }
10833
10833
  var Vh = class {
10834
10834
  constructor(m$3, n$3, i$3, a$3, x$3, e$3, t$3) {
@@ -11829,7 +11829,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
11829
11829
  onPatternLeave(m$3, n$3) {
11830
11830
  this._node.end = n$3, this._node.raw = this.source.slice(m$3, n$3);
11831
11831
  for (const m$4 of this._backreferences) {
11832
- const n$4 = m$4.ref, i$3 = "number" == typeof n$4 ? this._capturingGroups[n$4 - 1] : this._capturingGroups.find((m$5) => m$5.name === n$4);
11832
+ const n$4 = m$4.ref, i$3 = "number" == typeof n$4 ? this._capturingGroups[n$4 - 1] : this._capturingGroups.find(((m$5) => m$5.name === n$4));
11833
11833
  m$4.resolved = i$3, i$3.references.push(m$4);
11834
11834
  }
11835
11835
  }
@@ -12308,12 +12308,12 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12308
12308
  switch (m$3.type) {
12309
12309
  case "Alternative":
12310
12310
  case "StringAlternative":
12311
- case "CharacterClass": return m$3.elements.some((m$4) => Eu(m$4, n$3));
12312
- case "Assertion": return ("lookahead" === m$3.kind || "lookbehind" === m$3.kind) && m$3.alternatives.some((m$4) => Eu(m$4, n$3));
12311
+ case "CharacterClass": return m$3.elements.some(((m$4) => Eu(m$4, n$3)));
12312
+ case "Assertion": return ("lookahead" === m$3.kind || "lookbehind" === m$3.kind) && m$3.alternatives.some(((m$4) => Eu(m$4, n$3)));
12313
12313
  case "CapturingGroup":
12314
12314
  case "Group":
12315
12315
  case "Pattern":
12316
- case "ClassStringDisjunction": return m$3.alternatives.some((m$4) => Eu(m$4, n$3));
12316
+ case "ClassStringDisjunction": return m$3.alternatives.some(((m$4) => Eu(m$4, n$3)));
12317
12317
  case "ExpressionCharacterClass": return Eu(m$3.expression, n$3);
12318
12318
  case "CharacterClassRange": return Eu(m$3.min, n$3) || Eu(m$3.max, n$3);
12319
12319
  case "ClassIntersection":
@@ -12405,7 +12405,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12405
12405
  }
12406
12406
  case "ClassStringDisjunction": {
12407
12407
  const i$3 = Pc(n$3), a$3 = [], x$3 = [];
12408
- for (const n$4 of m$3.alternatives) 1 === n$4.elements.length ? x$3.push(n$4.elements[0].value) : a$3.push(n$4.elements.map((m$4) => m$4.value));
12408
+ for (const n$4 of m$3.alternatives) 1 === n$4.elements.length ? x$3.push(n$4.elements[0].value) : a$3.push(n$4.elements.map(((m$4) => m$4.value)));
12409
12409
  let e$3 = 0 === x$3.length ? i$3.empty : mh(x$3, n$3);
12410
12410
  return i$3.ignoreCase && (e$3 = i$3.withCaseVaryingCharacters(e$3)), Wc.from(e$3, Uc.from(a$3, i$3.charCaseFolding));
12411
12411
  }
@@ -12413,7 +12413,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12413
12413
  const i$3 = Pc(n$3), a$3 = i$3.charCaseFolding;
12414
12414
  if (1 === m$3.elements.length) return Wc.fromChars(a$3.toCharSet(m$3.elements[0].value));
12415
12415
  {
12416
- const n$4 = Uc.fromWord(m$3.elements.map((m$4) => m$4.value), a$3);
12416
+ const n$4 = Uc.fromWord(m$3.elements.map(((m$4) => m$4.value)), a$3);
12417
12417
  return Wc.from(i$3.empty, n$4);
12418
12418
  }
12419
12419
  }
@@ -12429,7 +12429,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12429
12429
  }], n$3);
12430
12430
  case "CharacterSet": return mh([m$3], n$3);
12431
12431
  case "CharacterClass": {
12432
- const i$3 = mh(m$3.elements.map((m$4) => {
12432
+ const i$3 = mh(m$3.elements.map(((m$4) => {
12433
12433
  switch (m$4.type) {
12434
12434
  case "Character": return m$4.value;
12435
12435
  case "CharacterClassRange": return {
@@ -12439,7 +12439,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12439
12439
  case "CharacterSet": return m$4;
12440
12440
  default: throw h$2(m$4, "Unsupported element");
12441
12441
  }
12442
- }), n$3);
12442
+ })), n$3);
12443
12443
  return m$3.negate ? i$3.negate() : i$3;
12444
12444
  }
12445
12445
  default: return h$2(m$3);
@@ -12771,13 +12771,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12771
12771
  let n$3 = this._backRefCanReachGroupCache.get(m$3);
12772
12772
  return void 0 === n$3 && (n$3 = function(m$4) {
12773
12773
  const n$4 = m$4.resolved;
12774
- return !Ou(m$4, (m$5) => m$5 === n$4) && function n$5(i$3) {
12774
+ return !Ou(m$4, ((m$5) => m$5 === n$4)) && function n$5(i$3) {
12775
12775
  const a$3 = i$3.parent;
12776
12776
  switch (a$3.type) {
12777
12777
  case "Alternative": {
12778
12778
  const x$3 = a$3.elements.indexOf(i$3);
12779
12779
  let e$3;
12780
- if (e$3 = "ltr" === Nu(i$3) ? a$3.elements.slice(x$3 + 1) : a$3.elements.slice(0, x$3), e$3.some((n$6) => Eu(n$6, (n$7) => n$7 === m$4))) return !0;
12780
+ if (e$3 = "ltr" === Nu(i$3) ? a$3.elements.slice(x$3 + 1) : a$3.elements.slice(0, x$3), e$3.some(((n$6) => Eu(n$6, ((n$7) => n$7 === m$4))))) return !0;
12781
12781
  const t$3 = a$3.parent;
12782
12782
  return "Pattern" !== t$3.type && n$5(t$3);
12783
12783
  }
@@ -12791,13 +12791,13 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12791
12791
  let n$3 = this._backRefAlwaysAfterGroupCache.get(m$3);
12792
12792
  return void 0 === n$3 && (n$3 = function(m$4) {
12793
12793
  const n$4 = m$4.resolved;
12794
- return !Ou(m$4, (m$5) => m$5 === n$4) && function n$5(i$3) {
12794
+ return !Ou(m$4, ((m$5) => m$5 === n$4)) && function n$5(i$3) {
12795
12795
  const a$3 = i$3.parent;
12796
12796
  switch (a$3.type) {
12797
12797
  case "Alternative": {
12798
12798
  const x$3 = a$3.elements.indexOf(i$3);
12799
12799
  let e$3;
12800
- if (e$3 = "ltr" === Nu(i$3) ? a$3.elements.slice(x$3 + 1) : a$3.elements.slice(0, x$3), e$3.some((n$6) => Eu(n$6, (n$7) => n$7 === m$4))) return !0;
12800
+ if (e$3 = "ltr" === Nu(i$3) ? a$3.elements.slice(x$3 + 1) : a$3.elements.slice(0, x$3), e$3.some(((n$6) => Eu(n$6, ((n$7) => n$7 === m$4))))) return !0;
12801
12801
  const t$3 = a$3.parent;
12802
12802
  return "Pattern" !== t$3.type && !(t$3.alternatives.length > 1) && n$5(t$3);
12803
12803
  }
@@ -12848,10 +12848,10 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12848
12848
  return i$3;
12849
12849
  }
12850
12850
  _getResolvableGroupReferences(m$3) {
12851
- return this._getGroupReferences(m$3).filter((m$4) => this._backRefCanReachGroup(m$4) && this._backRefAlwaysAfterGroup(m$4));
12851
+ return this._getGroupReferences(m$3).filter(((m$4) => this._backRefCanReachGroup(m$4) && this._backRefAlwaysAfterGroup(m$4)));
12852
12852
  }
12853
12853
  _getResolvableGroupReferencesUnder(m$3, n$3) {
12854
- return this._getResolvableGroupReferences(m$3).filter((m$4) => Ou(m$4, (m$5) => m$5 === n$3));
12854
+ return this._getResolvableGroupReferences(m$3).filter(((m$4) => Ou(m$4, ((m$5) => m$5 === n$3))));
12855
12855
  }
12856
12856
  };
12857
12857
  var Lu = class {
@@ -12941,7 +12941,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
12941
12941
  }
12942
12942
  function Uu(m$3) {
12943
12943
  let n$3 = !1;
12944
- m$3.alternatives = m$3.alternatives.filter((m$4) => 0 !== m$4.elements.length || !n$3 && (n$3 = !0, !0));
12944
+ m$3.alternatives = m$3.alternatives.filter(((m$4) => 0 !== m$4.elements.length || !n$3 && (n$3 = !0, !0)));
12945
12945
  }
12946
12946
  function Bu(m$3, n$3) {
12947
12947
  return function* (m$4, n$4) {
@@ -13130,7 +13130,7 @@ var require_refa$1 = __commonJS({ "node_modules/.pnpm/refa@0.12.1/node_modules/r
13130
13130
  }, exports.getIntersectionIterator = na, exports.getIntersectionWordSets = ia, exports.getIntersectionWords = function(m$3, n$3, i$3 = 1e4) {
13131
13131
  return Ii(ia(m$3, n$3, i$3));
13132
13132
  }, exports.isDisjointWith = function(m$3, n$3, i$3 = 1e4) {
13133
- return !xm(X$1(na(m$3, n$3, i$3), (m$4) => m$4.keys()));
13133
+ return !xm(X$1(na(m$3, n$3, i$3), ((m$4) => m$4.keys())));
13134
13134
  }, exports.setParent = C$2, exports.setSource = y$2, exports.transform = E$2, exports.visitAst = w$2;
13135
13135
  } });
13136
13136
 
@@ -13265,7 +13265,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13265
13265
  };
13266
13266
  function h$1(e$3, r$3) {
13267
13267
  if (!t$1.JS.isFlags(r$3)) throw new Error("Invalid flags.");
13268
- return a$1(e$3) ? 0 === e$3.length ? exports.Chars.empty(r$3) : 1 === e$3.length ? p$1(e$3[0], r$3) : exports.Chars.empty(r$3).union(...e$3.map((e$4) => p$1(e$4, r$3))) : p$1(e$3, r$3);
13268
+ return a$1(e$3) ? 0 === e$3.length ? exports.Chars.empty(r$3) : 1 === e$3.length ? p$1(e$3[0], r$3) : exports.Chars.empty(r$3).union(...e$3.map(((e$4) => p$1(e$4, r$3)))) : p$1(e$3, r$3);
13269
13269
  }
13270
13270
  function p$1(e$3, r$3) {
13271
13271
  if (r$3 instanceof l$1) {
@@ -13276,7 +13276,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13276
13276
  }
13277
13277
  function f$1(e$3, r$3) {
13278
13278
  if (!t$1.JS.isFlags(r$3)) throw new Error("Invalid flags.");
13279
- return a$1(e$3) ? 0 === e$3.length ? t$1.JS.UnicodeSet.empty(exports.Chars.maxChar(r$3)) : 1 === e$3.length ? C$1(e$3[0], r$3) : t$1.JS.UnicodeSet.empty(exports.Chars.maxChar(r$3)).union(...e$3.map((e$4) => C$1(e$4, r$3))) : C$1(e$3, r$3);
13279
+ return a$1(e$3) ? 0 === e$3.length ? t$1.JS.UnicodeSet.empty(exports.Chars.maxChar(r$3)) : 1 === e$3.length ? C$1(e$3[0], r$3) : t$1.JS.UnicodeSet.empty(exports.Chars.maxChar(r$3)).union(...e$3.map(((e$4) => C$1(e$4, r$3)))) : C$1(e$3, r$3);
13280
13280
  }
13281
13281
  function C$1(e$3, r$3) {
13282
13282
  if (r$3 instanceof l$1) {
@@ -13292,7 +13292,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13292
13292
  case "StringAlternative": return !1;
13293
13293
  case "CharacterClassRange": return 0 === e$3.min.value && e$3.max.value === exports.Chars.maxChar(t$3);
13294
13294
  case "CharacterSet": return "property" === e$3.kind ? !e$3.strings && h$1(e$3, t$3).isAll : "any" === e$3.kind && !!t$3.dotAll;
13295
- case "CharacterClass": return e$3.negate ? e$3.elements.every((e$4) => d$1(e$4, t$3)) : 0 !== e$3.elements.length && (1 === e$3.elements.length ? m$1(e$3.elements[0], t$3) : f$1(e$3, t$3).chars.isAll);
13295
+ case "CharacterClass": return e$3.negate ? e$3.elements.every(((e$4) => d$1(e$4, t$3))) : 0 !== e$3.elements.length && (1 === e$3.elements.length ? m$1(e$3.elements[0], t$3) : f$1(e$3, t$3).chars.isAll);
13296
13296
  case "ExpressionCharacterClass": return m$1(e$3.expression, t$3);
13297
13297
  case "ClassIntersection": return m$1(e$3.left, t$3) && m$1(e$3.right, t$3);
13298
13298
  case "ClassSubtraction": return f$1(e$3, t$3).chars.isAll;
@@ -13306,7 +13306,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13306
13306
  case "ClassStringDisjunction":
13307
13307
  case "StringAlternative": return !1;
13308
13308
  case "CharacterSet": return "property" === e$3.kind && !e$3.strings && h$1(e$3, t$3).isEmpty;
13309
- case "CharacterClass": return e$3.negate ? 0 !== e$3.elements.length && (1 === e$3.elements.length ? m$1(e$3.elements[0], t$3) : f$1(e$3, t$3).isEmpty) : e$3.elements.every((e$4) => d$1(e$4, t$3));
13309
+ case "CharacterClass": return e$3.negate ? 0 !== e$3.elements.length && (1 === e$3.elements.length ? m$1(e$3.elements[0], t$3) : f$1(e$3, t$3).isEmpty) : e$3.elements.every(((e$4) => d$1(e$4, t$3)));
13310
13310
  case "ExpressionCharacterClass": return d$1(e$3.expression, t$3);
13311
13311
  case "ClassIntersection":
13312
13312
  case "ClassSubtraction": return f$1(e$3, t$3).isEmpty;
@@ -13318,14 +13318,14 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13318
13318
  case "Character":
13319
13319
  case "CharacterSet":
13320
13320
  case "CharacterClassRange": return !1;
13321
- case "CharacterClass": return e$3.unicodeSets && !e$3.negate && e$3.elements.length > 0 && e$3.elements.every((e$4) => g$1(e$4, t$3));
13321
+ case "CharacterClass": return e$3.unicodeSets && !e$3.negate && e$3.elements.length > 0 && e$3.elements.every(((e$4) => g$1(e$4, t$3)));
13322
13322
  case "ExpressionCharacterClass": return !e$3.negate && g$1(e$3.expression, t$3);
13323
13323
  case "ClassIntersection":
13324
13324
  case "ClassSubtraction": {
13325
13325
  const r$3 = f$1(e$3, t$3).getLengthRange();
13326
13326
  return void 0 !== r$3 && 0 === r$3.min && 0 === r$3.max;
13327
13327
  }
13328
- case "ClassStringDisjunction": return e$3.alternatives.every((e$4) => g$1(e$4, t$3));
13328
+ case "ClassStringDisjunction": return e$3.alternatives.every(((e$4) => g$1(e$4, t$3)));
13329
13329
  case "StringAlternative": return 0 === e$3.elements.length;
13330
13330
  default: throw n$1(e$3);
13331
13331
  }
@@ -13351,11 +13351,11 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13351
13351
  return a$1(e$3) ? e$3.some(t$3) : t$3(e$3);
13352
13352
  }
13353
13353
  function v$1(e$3, t$3) {
13354
- return y$1(e$3, (e$4) => w$1(e$4, t$3));
13354
+ return y$1(e$3, ((e$4) => w$1(e$4, t$3)));
13355
13355
  }
13356
13356
  function w$1(e$3, t$3) {
13357
13357
  switch (e$3.type) {
13358
- case "Alternative": return e$3.elements.every((e$4) => w$1(e$4, t$3));
13358
+ case "Alternative": return e$3.elements.every(((e$4) => w$1(e$4, t$3)));
13359
13359
  case "Assertion": return !0;
13360
13360
  case "Character":
13361
13361
  case "CharacterSet":
@@ -13369,7 +13369,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13369
13369
  case "Quantifier": return 0 === e$3.max || w$1(e$3.element, t$3);
13370
13370
  case "Backreference": return I(e$3, t$3);
13371
13371
  case "CapturingGroup":
13372
- case "Group": return e$3.alternatives.length > 0 && e$3.alternatives.every((e$4) => w$1(e$4, t$3));
13372
+ case "Group": return e$3.alternatives.length > 0 && e$3.alternatives.every(((e$4) => w$1(e$4, t$3)));
13373
13373
  default: throw n$1(e$3);
13374
13374
  }
13375
13375
  }
@@ -13392,7 +13392,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13392
13392
  }
13393
13393
  function A$1(e$3, t$3) {
13394
13394
  switch (e$3.type) {
13395
- case "Alternative": return e$3.elements.every((e$4) => A$1(e$4, t$3));
13395
+ case "Alternative": return e$3.elements.every(((e$4) => A$1(e$4, t$3)));
13396
13396
  case "Assertion": return !1;
13397
13397
  case "Backreference": return I(e$3, t$3);
13398
13398
  case "Character":
@@ -13405,13 +13405,13 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13405
13405
  case "ClassStringDisjunction":
13406
13406
  case "StringAlternative": return g$1(e$3, t$3);
13407
13407
  case "CapturingGroup":
13408
- case "Group": return e$3.alternatives.length > 0 && e$3.alternatives.every((e$4) => A$1(e$4, t$3));
13408
+ case "Group": return e$3.alternatives.length > 0 && e$3.alternatives.every(((e$4) => A$1(e$4, t$3)));
13409
13409
  case "Quantifier": return 0 === e$3.max || A$1(e$3.element, t$3);
13410
13410
  default: throw n$1(e$3);
13411
13411
  }
13412
13412
  }
13413
13413
  function E$1(e$3, t$3, r$3) {
13414
- return !!I(e$3, r$3) || !!F(e$3.resolved, (e$4) => e$4 === t$3) && (!B(e$3) || k(e$3.resolved, t$3, r$3));
13414
+ return !!I(e$3, r$3) || !!F(e$3.resolved, ((e$4) => e$4 === t$3)) && (!B(e$3) || k(e$3.resolved, t$3, r$3));
13415
13415
  }
13416
13416
  function F(e$3, t$3) {
13417
13417
  return "function" == typeof t$3 ? function(e$4, t$4) {
@@ -13431,7 +13431,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13431
13431
  }(e$3, t$3);
13432
13432
  }
13433
13433
  function b$1(e$3, t$3, r$3) {
13434
- return "function" == typeof t$3 ? _(e$3, t$3, r$3) : r$3 ? _(e$3, (e$4) => e$4 === t$3, r$3) : e$3 === t$3 || F(t$3, e$3);
13434
+ return "function" == typeof t$3 ? _(e$3, t$3, r$3) : r$3 ? _(e$3, ((e$4) => e$4 === t$3), r$3) : e$3 === t$3 || F(t$3, e$3);
13435
13435
  }
13436
13436
  function _(e$3, t$3, r$3) {
13437
13437
  if (t$3(e$3)) return !0;
@@ -13439,12 +13439,12 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13439
13439
  switch (e$3.type) {
13440
13440
  case "Alternative":
13441
13441
  case "CharacterClass":
13442
- case "StringAlternative": return e$3.elements.some((e$4) => _(e$4, t$3, r$3));
13443
- case "Assertion": return ("lookahead" === e$3.kind || "lookbehind" === e$3.kind) && e$3.alternatives.some((e$4) => _(e$4, t$3, r$3));
13442
+ case "StringAlternative": return e$3.elements.some(((e$4) => _(e$4, t$3, r$3)));
13443
+ case "Assertion": return ("lookahead" === e$3.kind || "lookbehind" === e$3.kind) && e$3.alternatives.some(((e$4) => _(e$4, t$3, r$3)));
13444
13444
  case "CapturingGroup":
13445
13445
  case "ClassStringDisjunction":
13446
13446
  case "Group":
13447
- case "Pattern": return e$3.alternatives.some((e$4) => _(e$4, t$3, r$3));
13447
+ case "Pattern": return e$3.alternatives.some(((e$4) => _(e$4, t$3, r$3)));
13448
13448
  case "ClassIntersection":
13449
13449
  case "ClassSubtraction": return _(e$3.left, t$3, r$3) || _(e$3.right, t$3, r$3);
13450
13450
  case "ExpressionCharacterClass": return _(e$3.expression, t$3, r$3);
@@ -13474,7 +13474,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13474
13474
  }
13475
13475
  function G(e$3) {
13476
13476
  let t$3;
13477
- return F(e$3, (e$4) => "Assertion" === e$4.type && (t$3 = e$4, !0)), void 0 === t$3 || "lookahead" === t$3.kind ? "ltr" : "rtl";
13477
+ return F(e$3, ((e$4) => "Assertion" === e$4.type && (t$3 = e$4, !0))), void 0 === t$3 || "lookahead" === t$3.kind ? "ltr" : "rtl";
13478
13478
  }
13479
13479
  function R(e$3) {
13480
13480
  return "ltr" === e$3 ? "rtl" : "ltr";
@@ -13494,7 +13494,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13494
13494
  case "Alternative": {
13495
13495
  const n$4 = r$4.elements.indexOf(t$4);
13496
13496
  let a$3;
13497
- if (a$3 = "ltr" === G(t$4) ? r$4.elements.slice(n$4 + 1) : r$4.elements.slice(0, n$4), a$3.some((e$5) => s$3.has(e$5))) return !0;
13497
+ if (a$3 = "ltr" === G(t$4) ? r$4.elements.slice(n$4 + 1) : r$4.elements.slice(0, n$4), a$3.some(((e$5) => s$3.has(e$5)))) return !0;
13498
13498
  const o$3 = r$4.parent;
13499
13499
  return "Pattern" !== o$3.type && ("Assertion" !== o$3.type || !o$3.negate) && e$4(o$3);
13500
13500
  }
@@ -13514,7 +13514,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13514
13514
  case "Alternative": {
13515
13515
  const s$3 = r$4.elements.indexOf(t$4);
13516
13516
  let a$3;
13517
- if (a$3 = "ltr" === G(t$4) ? r$4.elements.slice(s$3 + 1) : r$4.elements.slice(0, s$3), a$3.some((e$5) => n$3.has(e$5))) return !0;
13517
+ if (a$3 = "ltr" === G(t$4) ? r$4.elements.slice(s$3 + 1) : r$4.elements.slice(0, s$3), a$3.some(((e$5) => n$3.has(e$5)))) return !0;
13518
13518
  const o$3 = r$4.parent;
13519
13519
  return "Pattern" !== o$3.type && ("Assertion" !== o$3.type || !o$3.negate) && !(o$3.alternatives.length > 1) && e$4(o$3);
13520
13520
  }
@@ -13607,7 +13607,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13607
13607
  }
13608
13608
  function T(e$3, t$3) {
13609
13609
  if (0 === e$3.length) throw new RangeError("Expected the alternatives array to have at least one alternative.");
13610
- return e$3.some((e$4) => z(e$4, t$3));
13610
+ return e$3.some(((e$4) => z(e$4, t$3)));
13611
13611
  }
13612
13612
  function z(e$3, t$3) {
13613
13613
  switch (e$3.type) {
@@ -13620,7 +13620,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13620
13620
  case "ClassIntersection":
13621
13621
  case "ClassSubtraction": return f$1(e$3, t$3).hasEmptyWord;
13622
13622
  case "Quantifier": return 0 === e$3.min || z(e$3.element, t$3);
13623
- case "Alternative": return e$3.elements.every((e$4) => z(e$4, t$3));
13623
+ case "Alternative": return e$3.elements.every(((e$4) => z(e$4, t$3)));
13624
13624
  case "StringAlternative": return 0 === e$3.elements.length;
13625
13625
  case "CapturingGroup":
13626
13626
  case "Group":
@@ -13736,13 +13736,13 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13736
13736
  if (null === (a$4 = null === (n$3 = s$3.continueInto) || void 0 === n$3 ? void 0 : n$3.call(s$3, e$4, t$4, r$4)) || void 0 === a$4 || a$4) switch (e$4.type) {
13737
13737
  case "Assertion":
13738
13738
  if ("lookahead" === e$4.kind || "lookbehind" === e$4.kind) {
13739
- const n$4 = j(e$4.kind), a$5 = s$3.join(e$4.alternatives.map((e$5) => c$3(e$5, X(s$3, t$4, r$4), n$4)), n$4);
13739
+ const n$4 = j(e$4.kind), a$5 = s$3.join(e$4.alternatives.map(((e$5) => c$3(e$5, X(s$3, t$4, r$4), n$4))), n$4);
13740
13740
  t$4 = l$3(t$4, n$4, "assertion"), s$3.assert && (t$4 = s$3.assert(t$4, r$4, a$5, n$4));
13741
13741
  }
13742
13742
  break;
13743
13743
  case "Group":
13744
13744
  case "CapturingGroup":
13745
- t$4 = s$3.join(e$4.alternatives.map((e$5) => c$3(e$5, X(s$3, t$4, r$4), r$4)), r$4);
13745
+ t$4 = s$3.join(e$4.alternatives.map(((e$5) => c$3(e$5, X(s$3, t$4, r$4), r$4))), r$4);
13746
13746
  break;
13747
13747
  case "Quantifier": 0 === e$4.max || (t$4 = 0 === e$4.min ? s$3.join([t$4, o$3(e$4.element, X(s$3, t$4, r$4), r$4)], r$4) : o$3(e$4.element, t$4, r$4));
13748
13748
  }
@@ -13939,7 +13939,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13939
13939
  this._currentWordBoundaries = [], e$3 instanceof l$1 ? (this._ltrCache = e$3.getFirstConsumedCharLTR, this._rtlCache = e$3.getFirstConsumedCharRTL) : (this._ltrCache = /* @__PURE__ */ new WeakMap(), this._rtlCache = /* @__PURE__ */ new WeakMap());
13940
13940
  }
13941
13941
  isCurrentWordBoundary(e$3) {
13942
- return this._currentWordBoundaries.some((t$3) => t$3 === e$3);
13942
+ return this._currentWordBoundaries.some(((t$3) => t$3 === e$3));
13943
13943
  }
13944
13944
  pushWordBoundary(e$3) {
13945
13945
  this._currentWordBoundaries.push(e$3);
@@ -13959,7 +13959,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13959
13959
  return a$1(e$3) ? ne(e$3, t$3, r$3, n$3) : se(e$3, t$3, r$3, n$3);
13960
13960
  }
13961
13961
  function ne(e$3, t$3, r$3, n$3) {
13962
- return exports.FirstConsumedChars.union(e$3.map((e$4) => se(e$4, t$3, r$3, n$3)), r$3);
13962
+ return exports.FirstConsumedChars.union(e$3.map(((e$4) => se(e$4, t$3, r$3, n$3))), r$3);
13963
13963
  }
13964
13964
  function se(e$3, t$3, r$3, s$3) {
13965
13965
  let a$3 = s$3.getCached(e$3, t$3);
@@ -13982,7 +13982,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
13982
13982
  case "lookbehind":
13983
13983
  if (j(e$5.kind) === t$5) {
13984
13984
  if (e$5.negate) {
13985
- if (b$1(e$5, (t$6) => t$6 !== e$5 && "Assertion" === t$6.type)) return a$4();
13985
+ if (b$1(e$5, ((t$6) => t$6 !== e$5 && "Assertion" === t$6.type))) return a$4();
13986
13986
  const n$3 = ne(e$5.alternatives, t$5, r$5, s$5), o$4 = P(e$5.alternatives, r$5);
13987
13987
  return n$3.empty || !o$4 ? {
13988
13988
  char: exports.Chars.empty(r$5),
@@ -14100,8 +14100,8 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14100
14100
  }, {
14101
14101
  join(e$4) {
14102
14102
  const t$4 = /* @__PURE__ */ new Set();
14103
- return e$4.forEach((e$5) => e$5.contributors.forEach((e$6) => t$4.add(e$6))), {
14104
- char: exports.FirstConsumedChars.union(e$4.map((e$5) => e$5.char), r$3),
14103
+ return e$4.forEach(((e$5) => e$5.contributors.forEach(((e$6) => t$4.add(e$6))))), {
14104
+ char: exports.FirstConsumedChars.union(e$4.map(((e$5) => e$5.char)), r$3),
14105
14105
  contributors: [...t$4]
14106
14106
  };
14107
14107
  },
@@ -14184,7 +14184,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14184
14184
  }
14185
14185
  case "CapturingGroup":
14186
14186
  case "Group": return function(e$4, t$4, r$4, n$3) {
14187
- const s$4 = e$4.alternatives.map((e$5) => fe(e$5, t$4, r$4, n$3));
14187
+ const s$4 = e$4.alternatives.map(((e$5) => fe(e$5, t$4, r$4, n$3)));
14188
14188
  return me(e$4, s$4, t$4, r$4, n$3);
14189
14189
  }(e$3, t$3, r$3, s$3);
14190
14190
  case "Quantifier": return function(e$4, t$4, r$4, n$3) {
@@ -14240,7 +14240,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14240
14240
  if (l$3) {
14241
14241
  if (o$3 = !1, !ye(e$3, n$3, r$3, s$3)) break;
14242
14242
  u$3.push(ce(e$3, r$3, s$3).char);
14243
- } else if (!n$3.looseGroups && (o$3 && u$3.some((e$4) => !e$4.equals(u$3[0])) && c$3++, c$3 >= 2 && (o$3 = !1, !n$3.includeAfter))) break;
14243
+ } else if (!n$3.looseGroups && (o$3 && u$3.some(((e$4) => !e$4.equals(u$3[0]))) && c$3++, c$3 >= 2 && (o$3 = !1, !n$3.includeAfter))) break;
14244
14244
  const h$3 = u$3[0].union(...u$3.slice(1));
14245
14245
  a$3.push(h$3);
14246
14246
  }
@@ -14281,10 +14281,10 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14281
14281
  }
14282
14282
  function ve(e$3, t$3, r$3) {
14283
14283
  return s$1(e$3), "unknown" === t$3 ? function(e$4, t$4) {
14284
- const r$4 = ke(e$4, "ltr", t$4), n$3 = ke(e$4, "rtl", t$4), s$3 = Ae([...r$4, ...n$3], (e$5) => e$5), a$3 = [];
14284
+ const r$4 = ke(e$4, "ltr", t$4), n$3 = ke(e$4, "rtl", t$4), s$3 = Ae([...r$4, ...n$3], ((e$5) => e$5)), a$3 = [];
14285
14285
  for (const e$5 of s$3) {
14286
14286
  const t$5 = /* @__PURE__ */ new Set();
14287
- for (const r$5 of e$5) r$5.forEach((e$6) => t$5.add(e$6));
14287
+ for (const r$5 of e$5) r$5.forEach(((e$6) => t$5.add(e$6)));
14288
14288
  a$3.push([...t$5]);
14289
14289
  }
14290
14290
  return a$3;
@@ -14301,24 +14301,24 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14301
14301
  return void 0 === n$4 && (n$4 = e$4(r$4), t$3.cache.set(r$4, n$4)), n$4;
14302
14302
  }
14303
14303
  return t$3.cache = /* @__PURE__ */ new Map(), t$3;
14304
- }((e$4) => {
14304
+ }(((e$4) => {
14305
14305
  let t$3 = le(e$4, r$3, n$3, we), s$4 = 0;
14306
14306
  for (let e$5 = t$3.length - 1; e$5 >= 0 && t$3[e$5].isAll; e$5--) s$4++;
14307
14307
  return s$4 > 0 && (t$3 = t$3.slice(0, t$3.length - s$4)), t$3;
14308
- }), a$3 = /* @__PURE__ */ new Set();
14309
- for (const t$3 of e$3) s$3(t$3).forEach((e$4) => a$3.add(e$4));
14308
+ })), a$3 = /* @__PURE__ */ new Set();
14309
+ for (const t$3 of e$3) s$3(t$3).forEach(((e$4) => a$3.add(e$4)));
14310
14310
  const o$3 = new t$1.CharBase(a$3), c$3 = [];
14311
14311
  for (const t$3 of e$3) c$3.push({
14312
- characters: s$3(t$3).map((e$4) => o$3.split(e$4)),
14312
+ characters: s$3(t$3).map(((e$4) => o$3.split(e$4))),
14313
14313
  alternative: t$3
14314
14314
  });
14315
14315
  return function e$4(t$3, r$4) {
14316
14316
  if (t$3.length < 2) return [t$3];
14317
14317
  for (const e$5 of t$3) if (r$4 >= e$5.characters.length) return [t$3];
14318
- const n$4 = Ae(t$3, (e$5) => e$5.characters[r$4]), s$4 = [];
14318
+ const n$4 = Ae(t$3, ((e$5) => e$5.characters[r$4])), s$4 = [];
14319
14319
  for (const t$4 of n$4) s$4.push(...e$4(t$4, r$4 + 1));
14320
14320
  return s$4;
14321
- }(c$3, 0).map((e$4) => e$4.map((e$5) => e$5.alternative));
14321
+ }(c$3, 0).map(((e$4) => e$4.map(((e$5) => e$5.alternative))));
14322
14322
  }
14323
14323
  function Ae(e$3, t$3) {
14324
14324
  if (e$3.length < 2) return [e$3];
@@ -14338,7 +14338,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14338
14338
  function Ee(e$3, t$3) {
14339
14339
  const r$3 = [];
14340
14340
  let n$3 = !0;
14341
- b$1(e$3, (e$4) => {
14341
+ b$1(e$3, ((e$4) => {
14342
14342
  if ("Character" === e$4.type || "CharacterClass" === e$4.type || "CharacterSet" === e$4.type || "ExpressionCharacterClass" === e$4.type) {
14343
14343
  const s$3 = f$1(e$4, t$3);
14344
14344
  if (r$3.push(s$3.chars), !s$3.accept.isEmpty) {
@@ -14352,7 +14352,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14352
14352
  r$3.push(s$3.chars), n$3 = n$3 && s$3.exact && s$3.chars.size < 2;
14353
14353
  }
14354
14354
  return !1;
14355
- }, (e$4) => "CharacterClass" !== e$4.type && "ExpressionCharacterClass" !== e$4.type && ("Assertion" !== e$4.type || (n$3 = !1, !1)));
14355
+ }), ((e$4) => "CharacterClass" !== e$4.type && "ExpressionCharacterClass" !== e$4.type && ("Assertion" !== e$4.type || (n$3 = !1, !1))));
14356
14356
  return {
14357
14357
  chars: exports.Chars.empty(t$3).union(...r$3),
14358
14358
  exact: n$3
@@ -14364,10 +14364,10 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14364
14364
  let n$4 = 0, s$4 = 0;
14365
14365
  for (const r$5 of t$4) W(r$5) && (e$4.has(r$5) ? n$4++ : s$4++);
14366
14366
  if (n$4 > 1 || 1 === n$4 && 0 !== s$4) return !1;
14367
- if (0 !== s$4) return r$4.every((t$5) => !t$5.some(W) || t$5.every((t$6) => !e$4.has(t$6)));
14368
- if (0 !== n$4) return r$4.every((e$5) => e$5.length < 2 || !e$5.some(W));
14367
+ if (0 !== s$4) return r$4.every(((t$5) => !t$5.some(W) || t$5.every(((t$6) => !e$4.has(t$6)))));
14368
+ if (0 !== n$4) return r$4.every(((e$5) => e$5.length < 2 || !e$5.some(W)));
14369
14369
  return !0;
14370
- }(e$3, t$3, a$3)) && a$3.every((t$4) => t$4.length < 2 || !!t$4.every((t$5) => !e$3.has(t$5)) || function(e$4, t$5) {
14370
+ }(e$3, t$3, a$3)) && a$3.every(((t$4) => t$4.length < 2 || !!t$4.every(((t$5) => !e$3.has(t$5))) || function(e$4, t$5) {
14371
14371
  const r$4 = P(e$4, t$5);
14372
14372
  return Boolean(r$4 && r$4.min === r$4.max);
14373
14373
  }(t$4, n$3) || function(e$4, t$5, r$4) {
@@ -14378,14 +14378,14 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14378
14378
  right: n$5.prefix,
14379
14379
  rest: n$5.rest
14380
14380
  };
14381
- }(e$4.map((e$5) => e$5.elements), r$4), s$4 = [];
14381
+ }(e$4.map(((e$5) => e$5.elements)), r$4), s$4 = [];
14382
14382
  for (const e$5 of n$4.rest) s$4.push(...e$5);
14383
- const a$4 = exports.Chars.empty(r$4).union(...s$4.map((e$5) => Ee(e$5, r$4).chars)), o$3 = "ltr" === t$5 ? n$4.right : n$4.left;
14384
- if (o$3.some((e$5) => e$5.isDisjointWith(a$4))) return !0;
14383
+ const a$4 = exports.Chars.empty(r$4).union(...s$4.map(((e$5) => Ee(e$5, r$4).chars))), o$3 = "ltr" === t$5 ? n$4.right : n$4.left;
14384
+ if (o$3.some(((e$5) => e$5.isDisjointWith(a$4)))) return !0;
14385
14385
  const c$3 = e$4[0].parent;
14386
14386
  if ("Pattern" === c$3.type || "Assertion" === c$3.type) return !1;
14387
14387
  return ce(c$3, t$5, r$4).char.isDisjointWith(a$4);
14388
- }(t$4, r$3, n$3));
14388
+ }(t$4, r$3, n$3)));
14389
14389
  }
14390
14390
  function be(e$3, t$3, r$3) {
14391
14391
  const n$3 = function(e$4, t$4, r$4) {
@@ -14421,10 +14421,10 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14421
14421
  rest: e$3
14422
14422
  } : {
14423
14423
  prefix: n$3,
14424
- rest: e$3.map((e$4) => {
14424
+ rest: e$3.map(((e$4) => {
14425
14425
  const r$4 = "ltr" === t$3 ? n$3.length : 0, s$3 = "ltr" === t$3 ? e$4.length : e$4.length - n$3.length;
14426
14426
  return e$4.slice(r$4, s$3);
14427
- })
14427
+ }))
14428
14428
  };
14429
14429
  }
14430
14430
  exports.canReorder = function(e$3, t$3, r$3 = {}) {
@@ -14482,16 +14482,16 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14482
14482
  case "Character":
14483
14483
  case "CharacterClassRange": return !1;
14484
14484
  case "CharacterSet": return "property" === t$3.kind && t$3.strings;
14485
- case "CharacterClass": return !(t$3.negate || !t$3.unicodeSets) && t$3.elements.some((t$4) => e$3(t$4, r$3));
14485
+ case "CharacterClass": return !(t$3.negate || !t$3.unicodeSets) && t$3.elements.some(((t$4) => e$3(t$4, r$3)));
14486
14486
  case "ExpressionCharacterClass": return e$3(t$3.expression, r$3);
14487
14487
  case "ClassIntersection":
14488
14488
  case "ClassSubtraction": return !f$1(t$3, r$3).accept.isEmpty;
14489
- case "ClassStringDisjunction": return t$3.alternatives.some((t$4) => e$3(t$4, r$3));
14489
+ case "ClassStringDisjunction": return t$3.alternatives.some(((t$4) => e$3(t$4, r$3)));
14490
14490
  case "StringAlternative": return 1 !== t$3.elements.length;
14491
14491
  default: return n$1(t$3);
14492
14492
  }
14493
14493
  }, exports.invertMatchingDirection = R, exports.isEmpty = function(e$3, t$3) {
14494
- return y$1(e$3, (e$4) => A$1(e$4, t$3));
14494
+ return y$1(e$3, ((e$4) => A$1(e$4, t$3)));
14495
14495
  }, exports.isEmptyBackreference = I, exports.isLengthRangeMinZero = q, exports.isPotentiallyEmpty = function(e$3, t$3) {
14496
14496
  if (!a$1(e$3)) switch (e$3.type) {
14497
14497
  case "Character":
@@ -14504,7 +14504,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14504
14504
  case "ClassStringDisjunction":
14505
14505
  case "StringAlternative": return x$1(e$3);
14506
14506
  }
14507
- return S$1(e$3, (e$4) => function(e$5, t$4) {
14507
+ return S$1(e$3, ((e$4) => function(e$5, t$4) {
14508
14508
  return r$3(e$5);
14509
14509
  function r$3(s$3) {
14510
14510
  switch (s$3.type) {
@@ -14521,7 +14521,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14521
14521
  default: throw n$1(s$3);
14522
14522
  }
14523
14523
  }
14524
- }(e$4, t$3));
14524
+ }(e$4, t$3)));
14525
14525
  }, exports.isPotentiallyZeroLength = function(e$3, t$3) {
14526
14526
  if (!a$1(e$3)) switch (e$3.type) {
14527
14527
  case "Character":
@@ -14534,7 +14534,7 @@ var require_regexp_ast_analysis = __commonJS({ "node_modules/.pnpm/regexp-ast-an
14534
14534
  case "ClassStringDisjunction":
14535
14535
  case "StringAlternative": return x$1(e$3);
14536
14536
  }
14537
- return S$1(e$3, (e$4) => k(e$4, e$4, t$3));
14537
+ return S$1(e$3, ((e$4) => k(e$4, e$4, t$3)));
14538
14538
  }, exports.isStrictBackreference = B, exports.isZeroLength = v$1, exports.matchesAllCharacters = m$1, exports.matchesNoCharacters = d$1, exports.structurallyEqual = K, exports.toCache = u$1, exports.toCharSet = h$1, exports.toUnicodeSet = f$1;
14539
14539
  } });
14540
14540
 
@@ -18941,9 +18941,9 @@ var require_regexp_ast = __commonJS({ "node_modules/.pnpm/eslint-plugin-regexp@2
18941
18941
  } });
18942
18942
 
18943
18943
  //#endregion
18944
- //#region node_modules/.pnpm/tsdown@0.12.9_typescript@5.8.2/node_modules/tsdown/esm-shims.js
18944
+ //#region node_modules/.pnpm/tsdown@0.13.0_typescript@5.8.3/node_modules/tsdown/esm-shims.js
18945
18945
  var getFilename, getDirname, __dirname, __filename;
18946
- var init_esm_shims = __esm({ "node_modules/.pnpm/tsdown@0.12.9_typescript@5.8.2/node_modules/tsdown/esm-shims.js"() {
18946
+ var init_esm_shims = __esm({ "node_modules/.pnpm/tsdown@0.13.0_typescript@5.8.3/node_modules/tsdown/esm-shims.js"() {
18947
18947
  getFilename = () => fileURLToPath(import.meta.url);
18948
18948
  getDirname = () => path.dirname(getFilename());
18949
18949
  __dirname = /* @__PURE__ */ getDirname();
@@ -18951,8 +18951,8 @@ var init_esm_shims = __esm({ "node_modules/.pnpm/tsdown@0.12.9_typescript@5.8.2/
18951
18951
  } });
18952
18952
 
18953
18953
  //#endregion
18954
- //#region node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/typescript.js
18955
- var require_typescript = __commonJS({ "node_modules/.pnpm/typescript@5.8.2/node_modules/typescript/lib/typescript.js"(exports, module) {
18954
+ //#region node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/typescript.js
18955
+ var require_typescript = __commonJS({ "node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/typescript.js"(exports, module) {
18956
18956
  init_esm_shims();
18957
18957
  /*! *****************************************************************************
18958
18958
  Copyright (c) Microsoft Corporation. All rights reserved.
@@ -21240,7 +21240,7 @@ var require_typescript = __commonJS({ "node_modules/.pnpm/typescript@5.8.2/node_
21240
21240
  });
21241
21241
  module$1.exports = __toCommonJS(typescript_exports);
21242
21242
  var versionMajorMinor = "5.8";
21243
- var version = "5.8.2";
21243
+ var version = "5.8.3";
21244
21244
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
21245
21245
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
21246
21246
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -67918,10 +67918,11 @@ ${lanes.join("\n")}
67918
67918
  serializeExistingTypeNode(context, typeNode, addUndefined) {
67919
67919
  return serializeExistingTypeNode(context, typeNode, !!addUndefined);
67920
67920
  },
67921
- serializeReturnTypeForSignature(syntacticContext, signatureDeclaration) {
67921
+ serializeReturnTypeForSignature(syntacticContext, signatureDeclaration, symbol) {
67922
67922
  const context = syntacticContext;
67923
67923
  const signature = getSignatureFromDeclaration(signatureDeclaration);
67924
- const returnType = context.enclosingSymbolTypes.get(getSymbolId(getSymbolOfDeclaration(signatureDeclaration))) ?? instantiateType(getReturnTypeOfSignature(signature), context.mapper);
67924
+ symbol ?? (symbol = getSymbolOfDeclaration(signatureDeclaration));
67925
+ const returnType = context.enclosingSymbolTypes.get(getSymbolId(symbol)) ?? instantiateType(getReturnTypeOfSignature(signature), context.mapper);
67925
67926
  return serializeInferredReturnTypeForSignature(context, signature, returnType);
67926
67927
  },
67927
67928
  serializeTypeOfExpression(syntacticContext, expr) {
@@ -67934,7 +67935,7 @@ ${lanes.join("\n")}
67934
67935
  const context = syntacticContext;
67935
67936
  symbol ?? (symbol = getSymbolOfDeclaration(declaration));
67936
67937
  let type = (_a$2 = context.enclosingSymbolTypes) == null ? void 0 : _a$2.get(getSymbolId(symbol));
67937
- if (type === void 0) type = symbol && !(symbol.flags & 133120) ? instantiateType(getWidenedLiteralType(getTypeOfSymbol(symbol)), context.mapper) : errorType;
67938
+ if (type === void 0) type = symbol.flags & 98304 && declaration.kind === 178 ? instantiateType(getWriteTypeOfSymbol(symbol), context.mapper) : symbol && !(symbol.flags & 133120) ? instantiateType(getWidenedLiteralType(getTypeOfSymbol(symbol)), context.mapper) : errorType;
67938
67939
  const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration);
67939
67940
  if (addUndefinedForParameter) type = getOptionalType(type);
67940
67941
  return serializeInferredTypeForDeclaration(symbol, context, type);
@@ -67981,6 +67982,7 @@ ${lanes.join("\n")}
67981
67982
  const context = syntacticContext;
67982
67983
  if (context.bundled || context.enclosingFile !== getSourceFileOfNode(lit)) {
67983
67984
  let name = lit.text;
67985
+ const originalName = name;
67984
67986
  const nodeSymbol = getNodeLinks(parent2).resolvedSymbol;
67985
67987
  const meaning = parent2.isTypeOf ? 111551 : 788968;
67986
67988
  const parentSymbol = nodeSymbol && isSymbolAccessible(nodeSymbol, context.enclosingDeclaration, meaning, false).accessibility === 0 && lookupSymbolChain(nodeSymbol, context, meaning, true)[0];
@@ -67993,7 +67995,7 @@ ${lanes.join("\n")}
67993
67995
  context.encounteredError = true;
67994
67996
  if (context.tracker.reportLikelyUnsafeImportRequiredError) context.tracker.reportLikelyUnsafeImportRequiredError(name);
67995
67997
  }
67996
- return name;
67998
+ if (name !== originalName) return name;
67997
67999
  }
67998
68000
  },
67999
68001
  canReuseTypeNode(context, typeNode) {
@@ -68717,12 +68719,13 @@ ${lanes.join("\n")}
68717
68719
  if (propertySymbol.flags & 98304) {
68718
68720
  const writeType = getWriteTypeOfSymbol(propertySymbol);
68719
68721
  if (propertyType !== writeType && !isErrorType(propertyType) && !isErrorType(writeType)) {
68722
+ const symbolMapper = getSymbolLinks(propertySymbol).mapper;
68720
68723
  const getterDeclaration = getDeclarationOfKind(propertySymbol, 177);
68721
68724
  const getterSignature = getSignatureFromDeclaration(getterDeclaration);
68722
- typeElements.push(setCommentRange2(context, signatureToSignatureDeclarationHelper(getterSignature, 177, context, { name: propertyName }), getterDeclaration));
68725
+ typeElements.push(setCommentRange2(context, signatureToSignatureDeclarationHelper(symbolMapper ? instantiateSignature(getterSignature, symbolMapper) : getterSignature, 177, context, { name: propertyName }), getterDeclaration));
68723
68726
  const setterDeclaration = getDeclarationOfKind(propertySymbol, 178);
68724
68727
  const setterSignature = getSignatureFromDeclaration(setterDeclaration);
68725
- typeElements.push(setCommentRange2(context, signatureToSignatureDeclarationHelper(setterSignature, 178, context, { name: propertyName }), setterDeclaration));
68728
+ typeElements.push(setCommentRange2(context, signatureToSignatureDeclarationHelper(symbolMapper ? instantiateSignature(setterSignature, symbolMapper) : setterSignature, 178, context, { name: propertyName }), setterDeclaration));
68726
68729
  return;
68727
68730
  }
68728
68731
  }
@@ -69477,12 +69480,10 @@ ${lanes.join("\n")}
69477
69480
  const addUndefinedForParameter = declaration && (isParameter(declaration) || isJSDocParameterTag(declaration)) && requiresAddingImplicitUndefined(declaration, context.enclosingDeclaration);
69478
69481
  const decl = declaration ?? symbol.valueDeclaration ?? getDeclarationWithTypeAnnotation(symbol) ?? ((_a$2 = symbol.declarations) == null ? void 0 : _a$2[0]);
69479
69482
  if (decl) {
69483
+ const restore = addSymbolTypeToContext(context, symbol, type);
69480
69484
  if (isAccessor(decl)) result = syntacticNodeBuilder.serializeTypeOfAccessor(decl, symbol, context);
69481
- else if (hasInferredType(decl) && !nodeIsSynthesized(decl) && !(getObjectFlags(type) & 196608)) {
69482
- const restore = addSymbolTypeToContext(context, symbol, type);
69483
- result = syntacticNodeBuilder.serializeTypeOfDeclaration(decl, symbol, context);
69484
- restore();
69485
- }
69485
+ else if (hasInferredType(decl) && !nodeIsSynthesized(decl) && !(getObjectFlags(type) & 196608)) result = syntacticNodeBuilder.serializeTypeOfDeclaration(decl, symbol, context);
69486
+ restore();
69486
69487
  }
69487
69488
  if (!result) {
69488
69489
  if (addUndefinedForParameter) type = getOptionalType(type);
@@ -69589,8 +69590,7 @@ ${lanes.join("\n")}
69589
69590
  return setTextRange2(context, setEmitFlags(name, 16777216), node2);
69590
69591
  }
69591
69592
  const updated = visitEachChild(node2, (c$3) => attachSymbolToLeftmostIdentifier(c$3), void 0);
69592
- if (updated !== node2) setTextRange2(context, updated, node2);
69593
- return updated;
69593
+ return setTextRange2(context, updated, node2);
69594
69594
  }
69595
69595
  }
69596
69596
  function serializeTypeName(context, node$1, isTypeOf, typeArguments) {
@@ -85815,6 +85815,11 @@ ${lanes.join("\n")}
85815
85815
  if (node$1.kind === 216) {
85816
85816
  const file = getSourceFileOfNode(node$1);
85817
85817
  if (file && fileExtensionIsOneOf(file.fileName, [".cts", ".mts"])) grammarErrorOnNode(node$1, Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead);
85818
+ if (compilerOptions.erasableSyntaxOnly) {
85819
+ const start = skipTrivia(file.text, node$1.pos);
85820
+ const end = node$1.expression.pos;
85821
+ diagnostics.add(createFileDiagnostic(file, start, end - start, Diagnostics.This_syntax_is_not_allowed_when_erasableSyntaxOnly_is_enabled));
85822
+ }
85818
85823
  }
85819
85824
  return checkAssertionWorker(node$1, checkMode);
85820
85825
  }
@@ -121236,7 +121241,9 @@ ${lanes.join("\n")}
121236
121241
  return node$1;
121237
121242
  }
121238
121243
  if (!resolver.canReuseTypeNode(context, node$1)) return resolver.serializeExistingTypeNode(context, node$1);
121239
- return factory.updateImportTypeNode(node$1, factory.updateLiteralTypeNode(node$1.argument, rewriteModuleSpecifier2(node$1, node$1.argument.literal)), visitNode(node$1.attributes, visitExistingNodeTreeSymbols, isImportAttributes), visitNode(node$1.qualifier, visitExistingNodeTreeSymbols, isEntityName), visitNodes2(node$1.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), node$1.isTypeOf);
121244
+ const specifier = rewriteModuleSpecifier2(node$1, node$1.argument.literal);
121245
+ const literal = specifier === node$1.argument.literal ? reuseNode(context, node$1.argument.literal) : specifier;
121246
+ return factory.updateImportTypeNode(node$1, literal === node$1.argument.literal ? reuseNode(context, node$1.argument) : factory.createLiteralTypeNode(literal), visitNode(node$1.attributes, visitExistingNodeTreeSymbols, isImportAttributes), visitNode(node$1.qualifier, visitExistingNodeTreeSymbols, isEntityName), visitNodes2(node$1.typeArguments, visitExistingNodeTreeSymbols, isTypeNode), node$1.isTypeOf);
121240
121247
  }
121241
121248
  if (isNamedDeclaration(node$1) && node$1.name.kind === 167 && !resolver.hasLateBindableName(node$1)) {
121242
121249
  if (!hasDynamicName(node$1)) return visitEachChild2(node$1, visitExistingNodeTreeSymbols);
@@ -121346,8 +121353,7 @@ ${lanes.join("\n")}
121346
121353
  }
121347
121354
  function rewriteModuleSpecifier2(parent2, lit) {
121348
121355
  const newName = resolver.getModuleSpecifierOverride(context, parent2, lit);
121349
- if (newName) return setOriginalNode(factory.createStringLiteral(newName), lit);
121350
- return visitNode(lit, visitExistingNodeTreeSymbols, isStringLiteral$1);
121356
+ return newName ? setOriginalNode(factory.createStringLiteral(newName), lit) : lit;
121351
121357
  }
121352
121358
  }
121353
121359
  }
@@ -121447,7 +121453,7 @@ ${lanes.join("\n")}
121447
121453
  const accessorDeclarations = resolver.getAllAccessorDeclarations(node$1);
121448
121454
  const accessorType = getTypeAnnotationFromAllAccessorDeclarations(node$1, accessorDeclarations);
121449
121455
  if (accessorType && !isTypePredicateNode(accessorType)) return withNewScope(context, node$1, () => serializeTypeAnnotationOfDeclaration(accessorType, context, node$1, symbol) ?? inferTypeOfDeclaration(node$1, symbol, context));
121450
- if (accessorDeclarations.getAccessor) return withNewScope(context, accessorDeclarations.getAccessor, () => createReturnFromSignature(accessorDeclarations.getAccessor, void 0, context));
121456
+ if (accessorDeclarations.getAccessor) return withNewScope(context, accessorDeclarations.getAccessor, () => createReturnFromSignature(accessorDeclarations.getAccessor, symbol, context));
121451
121457
  return void 0;
121452
121458
  }
121453
121459
  function typeFromVariable(node$1, symbol, context) {
@@ -121505,10 +121511,10 @@ ${lanes.join("\n")}
121505
121511
  if (context.noInferenceFallback === true) return factory.createKeywordTypeNode(133);
121506
121512
  return resolver.serializeTypeOfExpression(context, node$1) ?? factory.createKeywordTypeNode(133);
121507
121513
  }
121508
- function inferReturnTypeOfSignatureSignature(node$1, context, reportFallback) {
121514
+ function inferReturnTypeOfSignatureSignature(node$1, context, symbol, reportFallback) {
121509
121515
  if (reportFallback) context.tracker.reportInferenceFallback(node$1);
121510
121516
  if (context.noInferenceFallback === true) return factory.createKeywordTypeNode(133);
121511
- return resolver.serializeReturnTypeForSignature(context, node$1) ?? factory.createKeywordTypeNode(133);
121517
+ return resolver.serializeReturnTypeForSignature(context, node$1, symbol) ?? factory.createKeywordTypeNode(133);
121512
121518
  }
121513
121519
  function inferAccessorType(node$1, allAccessors, context, symbol, reportFallback = true) {
121514
121520
  if (node$1.kind === 177) return createReturnFromSignature(node$1, symbol, context, reportFallback);
@@ -121698,7 +121704,8 @@ ${lanes.join("\n")}
121698
121704
  function reuseTypeParameters(typeParameters, context) {
121699
121705
  return typeParameters == null ? void 0 : typeParameters.map((tp) => {
121700
121706
  var _a$2;
121701
- return factory.updateTypeParameterDeclaration(tp, (_a$2 = tp.modifiers) == null ? void 0 : _a$2.map((m$3) => reuseNode(context, m$3)), reuseNode(context, tp.name), serializeExistingTypeNodeWithFallback(tp.constraint, context), serializeExistingTypeNodeWithFallback(tp.default, context));
121707
+ const { node: tpName } = resolver.trackExistingEntityName(context, tp.name);
121708
+ return factory.updateTypeParameterDeclaration(tp, (_a$2 = tp.modifiers) == null ? void 0 : _a$2.map((m$3) => reuseNode(context, m$3)), tpName, serializeExistingTypeNodeWithFallback(tp.constraint, context), serializeExistingTypeNodeWithFallback(tp.default, context));
121702
121709
  });
121703
121710
  }
121704
121711
  function typeFromObjectLiteralMethod(method, name, context, isConstContext) {
@@ -121759,7 +121766,7 @@ ${lanes.join("\n")}
121759
121766
  const returnTypeNode = isJSDocConstructSignature(fn$1) ? getEffectiveTypeAnnotationNode(fn$1.parameters[0]) : getEffectiveReturnTypeNode(fn$1);
121760
121767
  if (returnTypeNode) returnType = syntacticResult(serializeTypeAnnotationOfDeclaration(returnTypeNode, context, fn$1, symbol));
121761
121768
  else if (isValueSignatureDeclaration(fn$1)) returnType = typeFromSingleReturnExpression(fn$1, context);
121762
- return returnType.type !== void 0 ? returnType.type : inferReturnTypeOfSignatureSignature(fn$1, context, reportFallback && returnType.reportFallback && !returnTypeNode);
121769
+ return returnType.type !== void 0 ? returnType.type : inferReturnTypeOfSignatureSignature(fn$1, context, symbol, reportFallback && returnType.reportFallback && !returnTypeNode);
121763
121770
  }
121764
121771
  function typeFromSingleReturnExpression(declaration, context) {
121765
121772
  let candidateExpr;
@@ -144386,7 +144393,7 @@ ${newComment.split("\n").map((c$3) => ` * ${c$3}`).join("\n")}
144386
144393
  const isValidAccess = isNamespaceName ? (symbol2) => {
144387
144394
  var _a$2;
144388
144395
  return !!(symbol2.flags & 1920) && !((_a$2 = symbol2.declarations) == null ? void 0 : _a$2.every((d$3) => d$3.parent === node$1.parent));
144389
- } : isRhsOfImportDeclaration ? (symbol2) => isValidTypeAccess(symbol2) || isValidValueAccess(symbol2) : isTypeLocation || insideJsDocTagTypeExpression ? isValidTypeAccess : isValidValueAccess;
144396
+ } : isRhsOfImportDeclaration ? ((symbol2) => isValidTypeAccess(symbol2) || isValidValueAccess(symbol2)) : isTypeLocation || insideJsDocTagTypeExpression ? isValidTypeAccess : isValidValueAccess;
144390
144397
  for (const exportedSymbol of exportedSymbols) if (isValidAccess(exportedSymbol)) symbols.push(exportedSymbol);
144391
144398
  if (!isTypeLocation && !insideJsDocTagTypeExpression && symbol.declarations && symbol.declarations.some((d$3) => d$3.kind !== 307 && d$3.kind !== 267 && d$3.kind !== 266)) {
144392
144399
  let type = typeChecker.getTypeOfSymbolAtLocation(symbol, node$1).getNonOptionalType();
@@ -171034,9 +171041,9 @@ var require_object = __commonJS({ "node_modules/.pnpm/eslint-plugin-regexp@2.9.0
171034
171041
  var TypeObject = class {
171035
171042
  constructor(propertiesGenerator) {
171036
171043
  this.type = "Object";
171037
- this.propertiesGenerator = propertiesGenerator !== null && propertiesGenerator !== void 0 ? propertiesGenerator : () => {
171044
+ this.propertiesGenerator = propertiesGenerator !== null && propertiesGenerator !== void 0 ? propertiesGenerator : (() => {
171038
171045
  return [][Symbol.iterator]();
171039
- };
171046
+ });
171040
171047
  }
171041
171048
  *allProperties() {
171042
171049
  const set = /* @__PURE__ */ new Set();
@@ -176963,7 +176970,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
176963
176970
  };
176964
176971
  }
176965
176972
  function m(r$3, a$3) {
176966
- if (Array.isArray(r$3)) return o(r$3.map((e$3) => m(e$3, a$3)), a$3);
176973
+ if (Array.isArray(r$3)) return o(r$3.map(((e$3) => m(e$3, a$3))), a$3);
176967
176974
  switch (r$3.type) {
176968
176975
  case "Alternative": return c(function* () {
176969
176976
  for (const e$3 of r$3.elements) yield m(e$3, a$3);
@@ -177026,7 +177033,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177026
177033
  consume: t$3.chars,
177027
177034
  assert: r$4
177028
177035
  };
177029
- return t$3.isEmpty || t$3.accept.isEmpty ? a$4 : u([a$4, ...t$3.accept.wordSets.map((e$3) => {
177036
+ return t$3.isEmpty || t$3.accept.isEmpty ? a$4 : u([a$4, ...t$3.accept.wordSets.map(((e$3) => {
177030
177037
  if (0 === e$3.length) return {
177031
177038
  consume: r$4,
177032
177039
  assert: n$3
@@ -177037,7 +177044,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177037
177044
  consume: t$4,
177038
177045
  assert: r$4
177039
177046
  };
177040
- })], e.CharSet.empty(t$3.chars.maximum));
177047
+ }))], e.CharSet.empty(t$3.chars.maximum));
177041
177048
  }(t.toUnicodeSet(r$3, a$3));
177042
177049
  case "Quantifier": return 0 === r$3.max ? {
177043
177050
  consume: t.Chars.empty(a$3),
@@ -177067,7 +177074,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177067
177074
  function f(e$3, r$3, a$3, s$3, i$3) {
177068
177075
  return 1 === t.followPaths(e$3, "enter", 0, {
177069
177076
  fork: (e$4) => e$4,
177070
- join: (e$4) => e$4.every((e$5) => 2 === e$5) ? 2 : e$4.some((e$5) => 1 === e$5) ? 1 : 0,
177077
+ join: (e$4) => e$4.every(((e$5) => 2 === e$5)) ? 2 : e$4.some(((e$5) => 1 === e$5)) ? 1 : 0,
177071
177078
  assert: (e$4, t$3, r$4) => 1 === r$4 ? r$4 : e$4,
177072
177079
  continueAfter: (t$3, r$4) => t$3 !== e$3 && 0 === r$4,
177073
177080
  continueInto: (e$4, t$3) => 0 === t$3,
@@ -177117,7 +177124,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177117
177124
  return 0 === t$3 ? "" : 1 === t$3 ? e$3.raw : e$3.raw + `{${t$3}}`;
177118
177125
  }
177119
177126
  function C(e$3) {
177120
- return t.hasSomeDescendant(e$3, (e$4) => "CapturingGroup" === e$4.type);
177127
+ return t.hasSomeDescendant(e$3, ((e$4) => "CapturingGroup" === e$4.type));
177121
177128
  }
177122
177129
  var w = class {
177123
177130
  constructor(e$3) {
@@ -177302,7 +177309,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177302
177309
  };
177303
177310
  }
177304
177311
  function A(e$3, r$3) {
177305
- return t.hasSomeAncestor(r$3, (t$3) => t$3 === e$3);
177312
+ return t.hasSomeAncestor(r$3, ((t$3) => t$3 === e$3));
177306
177313
  }
177307
177314
  const b = new r.RegExpParser();
177308
177315
  exports.analyse = function(e$3, a$3) {
@@ -177385,7 +177392,7 @@ var require_scslre = __commonJS({ "node_modules/.pnpm/scslre@0.3.0/node_modules/
177385
177392
  let n$3 = t$3.get(r$3);
177386
177393
  return void 0 === n$3 && (n$3 = e$4(r$3), t$3.set(r$3, n$3)), n$3;
177387
177394
  };
177388
- }((e$4) => m(e$4, i$3)), j$2 = {
177395
+ }(((e$4) => m(e$4, i$3))), j$2 = {
177389
177396
  fork: (e$4) => e$4,
177390
177397
  join: (e$4) => o(e$4, i$3),
177391
177398
  continueAfter: (e$4, t$3) => !(t$3.assert.isEmpty && t$3.consume.isEmpty) && d$3.reports.length < u$3,
@@ -185271,7 +185278,7 @@ async function vue(options = {}) {
185271
185278
  //#endregion
185272
185279
  //#region src/configs/vue-i18n.ts
185273
185280
  async function vueI18n(options = {}) {
185274
- const { files = [GLOB_TS, GLOB_VUE], ignores: ignores$1 = [], isInEditor = false, localesDirectory = "locales", noRawTextIgnores = {
185281
+ const { enableNoUnusedKeys = "never", files = [GLOB_TS, GLOB_VUE], ignores: ignores$1 = [], isInEditor = false, localesDirectory = "locales", noRawTextIgnores = {
185275
185282
  nodes: [
185276
185283
  "md-icon",
185277
185284
  "v-icon",
@@ -185325,11 +185332,11 @@ async function vueI18n(options = {}) {
185325
185332
  ignorePattern: noRawTextIgnores.pattern,
185326
185333
  ignoreText: noRawTextIgnores.text
185327
185334
  }],
185328
- "@intlify/vue-i18n/no-unused-keys": ["error", {
185335
+ ...enableNoUnusedKeys === "always" || enableNoUnusedKeys === "ci" && process$1.env.CI ? { "@intlify/vue-i18n/no-unused-keys": ["error", {
185329
185336
  extensions: [".ts", ".vue"],
185330
185337
  ignores: ignores$1,
185331
185338
  src: path.join(".", src)
185332
- }],
185339
+ }] } : {},
185333
185340
  ...overrides
185334
185341
  },
185335
185342
  settings: { "vue-i18n": {