@asgard-js/react 0.0.37 → 0.0.38-canary.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -107,7 +107,7 @@ function TV(e) {
107
107
  if (!i)
108
108
  throw new Error("Custom channel id is required");
109
109
  const [l, u] = Cn(null), [c, f] = Cn(n ?? !0), [d, h] = Cn(!1), [p, m] = Cn(!1), [g, y] = Cn(null), b = Ht(
110
- async (w) => {
110
+ async (E) => {
111
111
  const _ = new _V({
112
112
  messages: new Map(
113
113
  o == null ? void 0 : o.map((M) => [M.messageId, M])
@@ -124,7 +124,7 @@ function TV(e) {
124
124
  m(M.isConnecting), y(M.conversation);
125
125
  }
126
126
  },
127
- w,
127
+ E,
128
128
  {
129
129
  onSseCompleted() {
130
130
  h(!1);
@@ -143,9 +143,9 @@ function TV(e) {
143
143
  },
144
144
  [t, i, a, o, s]
145
145
  ), v = Ht(() => {
146
- u((w) => (w == null || w.close(), null)), f(!1), h(!1), m(!1), y(null);
147
- }, []), E = Ht(
148
- (w) => l == null ? void 0 : l.sendMessage({ ...w, customMessageId: a }),
146
+ u((E) => (E == null || E.close(), null)), f(!1), h(!1), m(!1), y(null);
147
+ }, []), w = Ht(
148
+ (E) => l == null ? void 0 : l.sendMessage({ ...E, customMessageId: a }),
149
149
  [l, a]
150
150
  );
151
151
  return ln(() => {
@@ -156,7 +156,7 @@ function TV(e) {
156
156
  isResetting: d,
157
157
  isConnecting: p,
158
158
  conversation: g,
159
- sendMessage: E,
159
+ sendMessage: w,
160
160
  resetChannel: b,
161
161
  closeChannel: v
162
162
  }),
@@ -165,7 +165,7 @@ function TV(e) {
165
165
  d,
166
166
  p,
167
167
  g,
168
- E,
168
+ w,
169
169
  b,
170
170
  v
171
171
  ]
@@ -2287,28 +2287,28 @@ function nX(e) {
2287
2287
  return s;
2288
2288
  function s(v) {
2289
2289
  if (r < n.length) {
2290
- const E = n[r];
2291
- return t.containerState = E[1], e.attempt(E[0].continuation, l, u)(v);
2290
+ const w = n[r];
2291
+ return t.containerState = w[1], e.attempt(w[0].continuation, l, u)(v);
2292
2292
  }
2293
2293
  return u(v);
2294
2294
  }
2295
2295
  function l(v) {
2296
2296
  if (r++, t.containerState._closeFlow) {
2297
2297
  t.containerState._closeFlow = void 0, i && b();
2298
- const E = t.events.length;
2299
- let w = E, _;
2300
- for (; w--; )
2301
- if (t.events[w][0] === "exit" && t.events[w][1].type === "chunkFlow") {
2302
- _ = t.events[w][1].end;
2298
+ const w = t.events.length;
2299
+ let E = w, _;
2300
+ for (; E--; )
2301
+ if (t.events[E][0] === "exit" && t.events[E][1].type === "chunkFlow") {
2302
+ _ = t.events[E][1].end;
2303
2303
  break;
2304
2304
  }
2305
2305
  y(r);
2306
- let S = E;
2306
+ let S = w;
2307
2307
  for (; S < t.events.length; )
2308
2308
  t.events[S][1].end = {
2309
2309
  ..._
2310
2310
  }, S++;
2311
- return mi(t.events, w + 1, 0, t.events.slice(E)), t.events.length = S, u(v);
2311
+ return mi(t.events, E + 1, 0, t.events.slice(w)), t.events.length = S, u(v);
2312
2312
  }
2313
2313
  return s(v);
2314
2314
  }
@@ -2352,9 +2352,9 @@ function nX(e) {
2352
2352
  }
2353
2353
  return Fe(v) ? (e.consume(v), g(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(v), m);
2354
2354
  }
2355
- function g(v, E) {
2356
- const w = t.sliceStream(v);
2357
- if (E && w.push(null), v.previous = a, a && (a.next = v), a = v, i.defineSkip(v.start), i.write(w), t.parser.lazy[v.start.line]) {
2355
+ function g(v, w) {
2356
+ const E = t.sliceStream(v);
2357
+ if (w && E.push(null), v.previous = a, a && (a.next = v), a = v, i.defineSkip(v.start), i.write(E), t.parser.lazy[v.start.line]) {
2358
2358
  let _ = i.events.length;
2359
2359
  for (; _--; )
2360
2360
  if (
@@ -2382,10 +2382,10 @@ function nX(e) {
2382
2382
  }
2383
2383
  }
2384
2384
  function y(v) {
2385
- let E = n.length;
2386
- for (; E-- > v; ) {
2387
- const w = n[E];
2388
- t.containerState = w[1], w[0].exit.call(t, e);
2385
+ let w = n.length;
2386
+ for (; w-- > v; ) {
2387
+ const E = n[w];
2388
+ t.containerState = E[1], E[0].exit.call(t, e);
2389
2389
  }
2390
2390
  n.length = v;
2391
2391
  }
@@ -2626,7 +2626,7 @@ const bk = {
2626
2626
  function pX(e, t, n) {
2627
2627
  const r = this, i = {
2628
2628
  partial: !0,
2629
- tokenize: w
2629
+ tokenize: E
2630
2630
  };
2631
2631
  let a = 0, o = 0, s;
2632
2632
  return l;
@@ -2641,7 +2641,7 @@ function pX(e, t, n) {
2641
2641
  return _ === s ? (o++, e.consume(_), c) : o < 3 ? n(_) : (e.exit("codeFencedFenceSequence"), ot(_) ? it(e, f, "whitespace")(_) : f(_));
2642
2642
  }
2643
2643
  function f(_) {
2644
- return _ === null || Fe(_) ? (e.exit("codeFencedFence"), r.interrupt ? t(_) : e.check(bk, m, E)(_)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2644
+ return _ === null || Fe(_) ? (e.exit("codeFencedFence"), r.interrupt ? t(_) : e.check(bk, m, w)(_)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
2645
2645
  contentType: "string"
2646
2646
  }), d(_));
2647
2647
  }
@@ -2657,7 +2657,7 @@ function pX(e, t, n) {
2657
2657
  return _ === null || Fe(_) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(_)) : _ === 96 && _ === s ? n(_) : (e.consume(_), p);
2658
2658
  }
2659
2659
  function m(_) {
2660
- return e.attempt(i, E, g)(_);
2660
+ return e.attempt(i, w, g)(_);
2661
2661
  }
2662
2662
  function g(_) {
2663
2663
  return e.enter("lineEnding"), e.consume(_), e.exit("lineEnding"), y;
@@ -2666,15 +2666,15 @@ function pX(e, t, n) {
2666
2666
  return a > 0 && ot(_) ? it(e, b, "linePrefix", a + 1)(_) : b(_);
2667
2667
  }
2668
2668
  function b(_) {
2669
- return _ === null || Fe(_) ? e.check(bk, m, E)(_) : (e.enter("codeFlowValue"), v(_));
2669
+ return _ === null || Fe(_) ? e.check(bk, m, w)(_) : (e.enter("codeFlowValue"), v(_));
2670
2670
  }
2671
2671
  function v(_) {
2672
2672
  return _ === null || Fe(_) ? (e.exit("codeFlowValue"), b(_)) : (e.consume(_), v);
2673
2673
  }
2674
- function E(_) {
2674
+ function w(_) {
2675
2675
  return e.exit("codeFenced"), t(_);
2676
2676
  }
2677
- function w(_, S, M) {
2677
+ function E(_, S, M) {
2678
2678
  let N = 0;
2679
2679
  return T;
2680
2680
  function T(R) {
@@ -3371,13 +3371,13 @@ function jX(e, t, n) {
3371
3371
  return ot(F) ? (e.consume(F), b) : T(F);
3372
3372
  }
3373
3373
  function v(F) {
3374
- return F === 47 ? (e.consume(F), T) : F === 58 || F === 95 || Er(F) ? (e.consume(F), E) : ot(F) ? (e.consume(F), v) : T(F);
3375
- }
3376
- function E(F) {
3377
- return F === 45 || F === 46 || F === 58 || F === 95 || tr(F) ? (e.consume(F), E) : w(F);
3374
+ return F === 47 ? (e.consume(F), T) : F === 58 || F === 95 || Er(F) ? (e.consume(F), w) : ot(F) ? (e.consume(F), v) : T(F);
3378
3375
  }
3379
3376
  function w(F) {
3380
- return F === 61 ? (e.consume(F), _) : ot(F) ? (e.consume(F), w) : v(F);
3377
+ return F === 45 || F === 46 || F === 58 || F === 95 || tr(F) ? (e.consume(F), w) : E(F);
3378
+ }
3379
+ function E(F) {
3380
+ return F === 61 ? (e.consume(F), _) : ot(F) ? (e.consume(F), E) : v(F);
3381
3381
  }
3382
3382
  function _(F) {
3383
3383
  return F === null || F === 60 || F === 61 || F === 62 || F === 96 ? n(F) : F === 34 || F === 39 ? (e.consume(F), l = F, S) : ot(F) ? (e.consume(F), _) : M(F);
@@ -3386,7 +3386,7 @@ function jX(e, t, n) {
3386
3386
  return F === l ? (e.consume(F), l = null, N) : F === null || Fe(F) ? n(F) : (e.consume(F), S);
3387
3387
  }
3388
3388
  function M(F) {
3389
- return F === null || F === 34 || F === 39 || F === 47 || F === 60 || F === 61 || F === 62 || F === 96 || Rt(F) ? w(F) : (e.consume(F), M);
3389
+ return F === null || F === 34 || F === 39 || F === 47 || F === 60 || F === 61 || F === 62 || F === 96 || Rt(F) ? E(F) : (e.consume(F), M);
3390
3390
  }
3391
3391
  function N(F) {
3392
3392
  return F === 47 || F === 62 || ot(F) ? v(F) : n(F);
@@ -3463,7 +3463,7 @@ function YX(e, t, n) {
3463
3463
  return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(A), l;
3464
3464
  }
3465
3465
  function l(A) {
3466
- return A === 33 ? (e.consume(A), u) : A === 47 ? (e.consume(A), w) : A === 63 ? (e.consume(A), v) : Er(A) ? (e.consume(A), M) : n(A);
3466
+ return A === 33 ? (e.consume(A), u) : A === 47 ? (e.consume(A), E) : A === 63 ? (e.consume(A), v) : Er(A) ? (e.consume(A), M) : n(A);
3467
3467
  }
3468
3468
  function u(A) {
3469
3469
  return A === 45 ? (e.consume(A), c) : A === 91 ? (e.consume(A), a = 0, p) : Er(A) ? (e.consume(A), b) : n(A);
@@ -3497,12 +3497,12 @@ function YX(e, t, n) {
3497
3497
  return A === null || A === 62 ? $(A) : Fe(A) ? (o = b, U(A)) : (e.consume(A), b);
3498
3498
  }
3499
3499
  function v(A) {
3500
- return A === null ? n(A) : A === 63 ? (e.consume(A), E) : Fe(A) ? (o = v, U(A)) : (e.consume(A), v);
3500
+ return A === null ? n(A) : A === 63 ? (e.consume(A), w) : Fe(A) ? (o = v, U(A)) : (e.consume(A), v);
3501
3501
  }
3502
- function E(A) {
3502
+ function w(A) {
3503
3503
  return A === 62 ? $(A) : v(A);
3504
3504
  }
3505
- function w(A) {
3505
+ function E(A) {
3506
3506
  return Er(A) ? (e.consume(A), _) : n(A);
3507
3507
  }
3508
3508
  function _(A) {
@@ -4079,11 +4079,11 @@ function FK(e, t, n) {
4079
4079
  const i = {}, a = [];
4080
4080
  let o = [], s = [];
4081
4081
  const l = {
4082
- attempt: S(w),
4082
+ attempt: S(E),
4083
4083
  check: S(_),
4084
4084
  consume: b,
4085
4085
  enter: v,
4086
- exit: E,
4086
+ exit: w,
4087
4087
  interrupt: S(_, {
4088
4088
  interrupt: !0
4089
4089
  })
@@ -4153,11 +4153,11 @@ function FK(e, t, n) {
4153
4153
  const B = z || {};
4154
4154
  return B.type = O, B.start = p(), u.events.push(["enter", B, u]), s.push(B), B;
4155
4155
  }
4156
- function E(O) {
4156
+ function w(O) {
4157
4157
  const z = s.pop();
4158
4158
  return z.end = p(), u.events.push(["exit", z, u]), z;
4159
4159
  }
4160
- function w(O, z) {
4160
+ function E(O, z) {
4161
4161
  M(O, z.from);
4162
4162
  }
4163
4163
  function _(O, z) {
@@ -4414,7 +4414,7 @@ function WK(e) {
4414
4414
  },
4415
4415
  exit: {
4416
4416
  atxHeading: l(),
4417
- atxHeadingSequence: w,
4417
+ atxHeadingSequence: E,
4418
4418
  autolink: l(),
4419
4419
  autolinkEmail: ne,
4420
4420
  autolinkProtocol: Ce,
@@ -4434,7 +4434,7 @@ function WK(e) {
4434
4434
  codeTextData: T,
4435
4435
  data: T,
4436
4436
  definition: l(),
4437
- definitionDestinationString: E,
4437
+ definitionDestinationString: w,
4438
4438
  definitionLabelString: b,
4439
4439
  definitionTitleString: v,
4440
4440
  emphasis: l(),
@@ -4640,11 +4640,11 @@ function WK(e) {
4640
4640
  const j = this.resume(), K = this.stack[this.stack.length - 1];
4641
4641
  K.title = j;
4642
4642
  }
4643
- function E() {
4643
+ function w() {
4644
4644
  const j = this.resume(), K = this.stack[this.stack.length - 1];
4645
4645
  K.url = j;
4646
4646
  }
4647
- function w(j) {
4647
+ function E(j) {
4648
4648
  const K = this.stack[this.stack.length - 1];
4649
4649
  if (!K.depth) {
4650
4650
  const be = this.sliceSerialize(j).length;
@@ -7112,16 +7112,16 @@ function gQ(e, t, n) {
7112
7112
  d.lastIndex = 0;
7113
7113
  let v = d.exec(u.value);
7114
7114
  for (; v; ) {
7115
- const E = v.index, w = {
7115
+ const w = v.index, E = {
7116
7116
  index: v.index,
7117
7117
  input: v.input,
7118
7118
  stack: [...c, u]
7119
7119
  };
7120
- let _ = h(...v, w);
7121
- if (typeof _ == "string" && (_ = _.length > 0 ? { type: "text", value: _ } : void 0), _ === !1 ? d.lastIndex = E + 1 : (p !== E && b.push({
7120
+ let _ = h(...v, E);
7121
+ if (typeof _ == "string" && (_ = _.length > 0 ? { type: "text", value: _ } : void 0), _ === !1 ? d.lastIndex = w + 1 : (p !== w && b.push({
7122
7122
  type: "text",
7123
- value: u.value.slice(p, E)
7124
- }), Array.isArray(_) ? b.push(..._) : _ && b.push(_), p = E + v[0].length, y = !0), !d.global)
7123
+ value: u.value.slice(p, w)
7124
+ }), Array.isArray(_) ? b.push(..._) : _ && b.push(_), p = w + v[0].length, y = !0), !d.global)
7125
7125
  break;
7126
7126
  v = d.exec(u.value);
7127
7127
  }
@@ -7454,14 +7454,14 @@ function ZQ(e, t) {
7454
7454
  const y = [];
7455
7455
  for (; ++f < u; ) {
7456
7456
  const b = m[f] || "";
7457
- let v = "", E = "";
7457
+ let v = "", w = "";
7458
7458
  if (n.alignDelimiters !== !1) {
7459
- const w = l[f] - (g[f] || 0), _ = a[f];
7460
- _ === 114 ? v = " ".repeat(w) : _ === 99 ? w % 2 ? (v = " ".repeat(w / 2 + 0.5), E = " ".repeat(w / 2 - 0.5)) : (v = " ".repeat(w / 2), E = v) : E = " ".repeat(w);
7459
+ const E = l[f] - (g[f] || 0), _ = a[f];
7460
+ _ === 114 ? v = " ".repeat(E) : _ === 99 ? E % 2 ? (v = " ".repeat(E / 2 + 0.5), w = " ".repeat(E / 2 - 0.5)) : (v = " ".repeat(E / 2), w = v) : w = " ".repeat(E);
7461
7461
  }
7462
7462
  n.delimiterStart !== !1 && !f && y.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
7463
7463
  // empty: there will be a closing space.
7464
- !(n.alignDelimiters === !1 && b === "") && (n.delimiterStart !== !1 || f) && y.push(" "), n.alignDelimiters !== !1 && y.push(v), y.push(b), n.alignDelimiters !== !1 && y.push(E), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || f !== u - 1) && y.push("|");
7464
+ !(n.alignDelimiters === !1 && b === "") && (n.delimiterStart !== !1 || f) && y.push(" "), n.alignDelimiters !== !1 && y.push(v), y.push(b), n.alignDelimiters !== !1 && y.push(w), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || f !== u - 1) && y.push("|");
7465
7465
  }
7466
7466
  p.push(
7467
7467
  n.delimiterEnd === !1 ? y.join("").replace(/ +$/, "") : y.join("")
@@ -8841,27 +8841,27 @@ function pee(e, t, n) {
8841
8841
  return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(T) : (e.enter("tableDelimiterRow"), o = !1, ot(T) ? it(e, p, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(T) : p(T));
8842
8842
  }
8843
8843
  function p(T) {
8844
- return T === 45 || T === 58 ? g(T) : T === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(T), e.exit("tableCellDivider"), m) : w(T);
8844
+ return T === 45 || T === 58 ? g(T) : T === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(T), e.exit("tableCellDivider"), m) : E(T);
8845
8845
  }
8846
8846
  function m(T) {
8847
8847
  return ot(T) ? it(e, g, "whitespace")(T) : g(T);
8848
8848
  }
8849
8849
  function g(T) {
8850
- return T === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), y) : T === 45 ? (a += 1, y(T)) : T === null || Fe(T) ? E(T) : w(T);
8850
+ return T === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), y) : T === 45 ? (a += 1, y(T)) : T === null || Fe(T) ? w(T) : E(T);
8851
8851
  }
8852
8852
  function y(T) {
8853
- return T === 45 ? (e.enter("tableDelimiterFiller"), b(T)) : w(T);
8853
+ return T === 45 ? (e.enter("tableDelimiterFiller"), b(T)) : E(T);
8854
8854
  }
8855
8855
  function b(T) {
8856
8856
  return T === 45 ? (e.consume(T), b) : T === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(T), e.exit("tableDelimiterMarker"), v) : (e.exit("tableDelimiterFiller"), v(T));
8857
8857
  }
8858
8858
  function v(T) {
8859
- return ot(T) ? it(e, E, "whitespace")(T) : E(T);
8860
- }
8861
- function E(T) {
8862
- return T === 124 ? p(T) : T === null || Fe(T) ? !o || i !== a ? w(T) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(T)) : w(T);
8859
+ return ot(T) ? it(e, w, "whitespace")(T) : w(T);
8863
8860
  }
8864
8861
  function w(T) {
8862
+ return T === 124 ? p(T) : T === null || Fe(T) ? !o || i !== a ? E(T) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(T)) : E(T);
8863
+ }
8864
+ function E(T) {
8865
8865
  return n(T);
8866
8866
  }
8867
8867
  function _(T) {
@@ -9176,17 +9176,17 @@ function Aee(e, t, n) {
9176
9176
  function g(b) {
9177
9177
  return e.exit("mathFlow"), t(b);
9178
9178
  }
9179
- function y(b, v, E) {
9180
- let w = 0;
9179
+ function y(b, v, w) {
9180
+ let E = 0;
9181
9181
  return it(b, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
9182
9182
  function _(N) {
9183
9183
  return b.enter("mathFlowFence"), b.enter("mathFlowFenceSequence"), S(N);
9184
9184
  }
9185
9185
  function S(N) {
9186
- return N === 36 ? (w++, b.consume(N), S) : w < o ? E(N) : (b.exit("mathFlowFenceSequence"), it(b, M, "whitespace")(N));
9186
+ return N === 36 ? (E++, b.consume(N), S) : E < o ? w(N) : (b.exit("mathFlowFenceSequence"), it(b, M, "whitespace")(N));
9187
9187
  }
9188
9188
  function M(N) {
9189
- return N === null || Fe(N) ? (b.exit("mathFlowFence"), v(N)) : E(N);
9189
+ return N === null || Fe(N) ? (b.exit("mathFlowFence"), v(N)) : w(N);
9190
9190
  }
9191
9191
  }
9192
9192
  }
@@ -13734,18 +13734,18 @@ var nm = [
13734
13734
  }
13735
13735
  f = Math.min(f, h), d = Math.max(d, h);
13736
13736
  }
13737
- var E = zr(["vlist"], c);
13738
- E.style.height = ve(d);
13739
- var w;
13737
+ var w = zr(["vlist"], c);
13738
+ w.style.height = ve(d);
13739
+ var E;
13740
13740
  if (f < 0) {
13741
13741
  var _ = zr([], []), S = zr(["vlist"], [_]);
13742
13742
  S.style.height = ve(-f);
13743
13743
  var M = zr(["vlist-s"], [new Pi("​")]);
13744
- w = [zr(["vlist-r"], [E, M]), zr(["vlist-r"], [S])];
13744
+ E = [zr(["vlist-r"], [w, M]), zr(["vlist-r"], [S])];
13745
13745
  } else
13746
- w = [zr(["vlist-r"], [E])];
13747
- var N = zr(["vlist-t"], w);
13748
- return w.length === 2 && N.classes.push("vlist-t2"), N.height = d, N.depth = -f, N;
13746
+ E = [zr(["vlist-r"], [w])];
13747
+ var N = zr(["vlist-t"], E);
13748
+ return E.length === 2 && N.classes.push("vlist-t2"), N.height = d, N.depth = -f, N;
13749
13749
  }, Cte = (e, t) => {
13750
13750
  var n = zr(["mspace"], [], t), r = Kt(e, t);
13751
13751
  return n.style.marginRight = ve(r), n;
@@ -14474,7 +14474,7 @@ var $R = function(t) {
14474
14474
  height: h
14475
14475
  };
14476
14476
  } else {
14477
- var y = [], b = Ute[l], [v, E, w] = b, _ = w / 1e3, S = v.length, M, N;
14477
+ var y = [], b = Ute[l], [v, w, E] = b, _ = E / 1e3, S = v.length, M, N;
14478
14478
  if (S === 1) {
14479
14479
  var T = b[3];
14480
14480
  M = ["hide-tail"], N = [T];
@@ -14489,20 +14489,20 @@ var $R = function(t) {
14489
14489
  var z = new sl(v[O]), B = new us([z], {
14490
14490
  width: "400em",
14491
14491
  height: ve(_),
14492
- viewBox: "0 0 " + s + " " + w,
14492
+ viewBox: "0 0 " + s + " " + E,
14493
14493
  preserveAspectRatio: N[O] + " slice"
14494
14494
  }), I = Y.makeSvgSpan([M[O]], [B], n);
14495
14495
  if (S === 1)
14496
14496
  return {
14497
14497
  span: I,
14498
- minWidth: E,
14498
+ minWidth: w,
14499
14499
  height: _
14500
14500
  };
14501
14501
  I.style.height = ve(_), y.push(I);
14502
14502
  }
14503
14503
  return {
14504
14504
  span: Y.makeSpan(["stretchy"], y, n),
14505
- minWidth: E,
14505
+ minWidth: w,
14506
14506
  height: _
14507
14507
  };
14508
14508
  }
@@ -15417,12 +15417,12 @@ var hd = function(t, n, r) {
15417
15417
  s = u = c = t, l = null;
15418
15418
  var h = "Size1-Regular";
15419
15419
  t === "\\uparrow" ? u = c = "⏐" : t === "\\Uparrow" ? u = c = "‖" : t === "\\downarrow" ? s = u = "⏐" : t === "\\Downarrow" ? s = u = "‖" : t === "\\updownarrow" ? (s = "\\uparrow", u = "⏐", c = "\\downarrow") : t === "\\Updownarrow" ? (s = "\\Uparrow", u = "‖", c = "\\Downarrow") : Pe.contains(ene, t) ? (u = "∣", f = "vert", d = 333) : Pe.contains(tne, t) ? (u = "∥", f = "doublevert", d = 556) : t === "[" || t === "\\lbrack" ? (s = "⎡", u = "⎢", c = "⎣", h = "Size4-Regular", f = "lbrack", d = 667) : t === "]" || t === "\\rbrack" ? (s = "⎤", u = "⎥", c = "⎦", h = "Size4-Regular", f = "rbrack", d = 667) : t === "\\lfloor" || t === "⌊" ? (u = s = "⎢", c = "⎣", h = "Size4-Regular", f = "lfloor", d = 667) : t === "\\lceil" || t === "⌈" ? (s = "⎡", u = c = "⎢", h = "Size4-Regular", f = "lceil", d = 667) : t === "\\rfloor" || t === "⌋" ? (u = s = "⎥", c = "⎦", h = "Size4-Regular", f = "rfloor", d = 667) : t === "\\rceil" || t === "⌉" ? (s = "⎤", u = c = "⎥", h = "Size4-Regular", f = "rceil", d = 667) : t === "(" || t === "\\lparen" ? (s = "⎛", u = "⎜", c = "⎝", h = "Size4-Regular", f = "lparen", d = 875) : t === ")" || t === "\\rparen" ? (s = "⎞", u = "⎟", c = "⎠", h = "Size4-Regular", f = "rparen", d = 875) : t === "\\{" || t === "\\lbrace" ? (s = "⎧", l = "⎨", c = "⎩", u = "⎪", h = "Size4-Regular") : t === "\\}" || t === "\\rbrace" ? (s = "⎫", l = "⎬", c = "⎭", u = "⎪", h = "Size4-Regular") : t === "\\lgroup" || t === "⟮" ? (s = "⎧", c = "⎩", u = "⎪", h = "Size4-Regular") : t === "\\rgroup" || t === "⟯" ? (s = "⎫", c = "⎭", u = "⎪", h = "Size4-Regular") : t === "\\lmoustache" || t === "⎰" ? (s = "⎧", c = "⎭", u = "⎪", h = "Size4-Regular") : (t === "\\rmoustache" || t === "⎱") && (s = "⎫", c = "⎩", u = "⎪", h = "Size4-Regular");
15420
- var p = hd(s, h, a), m = p.height + p.depth, g = hd(u, h, a), y = g.height + g.depth, b = hd(c, h, a), v = b.height + b.depth, E = 0, w = 1;
15420
+ var p = hd(s, h, a), m = p.height + p.depth, g = hd(u, h, a), y = g.height + g.depth, b = hd(c, h, a), v = b.height + b.depth, w = 0, E = 1;
15421
15421
  if (l !== null) {
15422
15422
  var _ = hd(l, h, a);
15423
- E = _.height + _.depth, w = 2;
15423
+ w = _.height + _.depth, E = 2;
15424
15424
  }
15425
- var S = m + v + E, M = Math.max(0, Math.ceil((n - S) / (w * y))), N = S + M * w * y, T = i.fontMetrics().axisHeight;
15425
+ var S = m + v + w, M = Math.max(0, Math.ceil((n - S) / (E * y))), N = S + M * E * y, T = i.fontMetrics().axisHeight;
15426
15426
  r && (T *= i.sizeMultiplier);
15427
15427
  var O = N / 2 - T, z = [];
15428
15428
  if (f.length > 0) {
@@ -15440,7 +15440,7 @@ var hd = function(t, n, r) {
15440
15440
  var V = N - m - v + 2 * r3;
15441
15441
  z.push(L4(u, V, i));
15442
15442
  } else {
15443
- var X = (N - m - v - E) / 2 + 2 * r3;
15443
+ var X = (N - m - v - w) / 2 + 2 * r3;
15444
15444
  z.push(L4(u, X, i)), z.push(om), z.push(I4(l, h, a)), z.push(om), z.push(L4(u, X, i));
15445
15445
  }
15446
15446
  z.push(om), z.push(I4(s, h, a));
@@ -16078,21 +16078,21 @@ function Sl(e, t, n) {
16078
16078
  function v() {
16079
16079
  l && e.gullet.macros.set("\\@eqnsw", "1", !0);
16080
16080
  }
16081
- function E() {
16081
+ function w() {
16082
16082
  b && (e.gullet.macros.get("\\df@tag") ? (b.push(e.subparse([new Ii("\\df@tag")])), e.gullet.macros.set("\\df@tag", void 0, !0)) : b.push(!!l && e.gullet.macros.get("\\@eqnsw") === "1"));
16083
16083
  }
16084
16084
  for (v(), y.push(pS(e)); ; ) {
16085
- var w = e.parseExpression(!1, u ? "\\end" : "\\\\");
16086
- e.gullet.endGroup(), e.gullet.beginGroup(), w = {
16085
+ var E = e.parseExpression(!1, u ? "\\end" : "\\\\");
16086
+ e.gullet.endGroup(), e.gullet.beginGroup(), E = {
16087
16087
  type: "ordgroup",
16088
16088
  mode: e.mode,
16089
- body: w
16090
- }, n && (w = {
16089
+ body: E
16090
+ }, n && (E = {
16091
16091
  type: "styling",
16092
16092
  mode: e.mode,
16093
16093
  style: n,
16094
- body: [w]
16095
- }), p.push(w);
16094
+ body: [E]
16095
+ }), p.push(E);
16096
16096
  var _ = e.fetch().text;
16097
16097
  if (_ === "&") {
16098
16098
  if (f && p.length === f) {
@@ -16102,12 +16102,12 @@ function Sl(e, t, n) {
16102
16102
  }
16103
16103
  e.consume();
16104
16104
  } else if (_ === "\\end") {
16105
- E(), p.length === 1 && w.type === "styling" && w.body[0].body.length === 0 && (m.length > 1 || !c) && m.pop(), y.length < m.length + 1 && y.push([]);
16105
+ w(), p.length === 1 && E.type === "styling" && E.body[0].body.length === 0 && (m.length > 1 || !c) && m.pop(), y.length < m.length + 1 && y.push([]);
16106
16106
  break;
16107
16107
  } else if (_ === "\\\\") {
16108
16108
  e.consume();
16109
16109
  var S = void 0;
16110
- e.gullet.future().text !== " " && (S = e.parseSizeGroup(!0)), g.push(S ? S.value : null), E(), y.push(pS(e)), p = [], m.push(p), v();
16110
+ e.gullet.future().text !== " " && (S = e.parseSizeGroup(!0)), g.push(S ? S.value : null), w(), y.push(pS(e)), p = [], m.push(p), v();
16111
16111
  } else
16112
16112
  throw new de("Expected & or \\\\ or \\cr or \\end", e.nextToken);
16113
16113
  }
@@ -16144,23 +16144,23 @@ var go = function(t, n) {
16144
16144
  number: 3,
16145
16145
  unit: "ex"
16146
16146
  }, n) : 12 * f, m = 3 * f, g = t.arraystretch * p, y = 0.7 * g, b = 0.3 * g, v = 0;
16147
- function E(Re) {
16147
+ function w(Re) {
16148
16148
  for (var ki = 0; ki < Re.length; ++ki)
16149
16149
  ki > 0 && (v += 0.25), u.push({
16150
16150
  pos: v,
16151
16151
  isDashed: Re[ki]
16152
16152
  });
16153
16153
  }
16154
- for (E(o[0]), r = 0; r < t.body.length; ++r) {
16155
- var w = t.body[r], _ = y, S = b;
16156
- s < w.length && (s = w.length);
16157
- var M = new Array(w.length);
16158
- for (i = 0; i < w.length; ++i) {
16159
- var N = ft(w[i], n);
16154
+ for (w(o[0]), r = 0; r < t.body.length; ++r) {
16155
+ var E = t.body[r], _ = y, S = b;
16156
+ s < E.length && (s = E.length);
16157
+ var M = new Array(E.length);
16158
+ for (i = 0; i < E.length; ++i) {
16159
+ var N = ft(E[i], n);
16160
16160
  S < N.depth && (S = N.depth), _ < N.height && (_ = N.height), M[i] = N;
16161
16161
  }
16162
16162
  var T = t.rowGaps[r], O = 0;
16163
- T && (O = Kt(T, n), O > 0 && (O += b, S < O && (S = O), O = 0)), t.addJot && (S += m), M.height = _, M.depth = S, v += _, M.pos = v, v += S + O, l[r] = M, E(o[r + 1]);
16163
+ T && (O = Kt(T, n), O > 0 && (O += b, S < O && (S = O), O = 0)), t.addJot && (S += m), M.height = _, M.depth = S, v += _, M.pos = v, v += S + O, l[r] = M, w(o[r + 1]);
16164
16164
  }
16165
16165
  var z = v / 2 + n.fontMetrics().axisHeight, B = t.cols || [], I = [], R, $, U = [];
16166
16166
  if (t.tags && t.tags.some((Re) => Re))
@@ -16260,9 +16260,9 @@ var go = function(t, n) {
16260
16260
  c.setAttribute("columnalign", h.trim()), /[sd]/.test(m) && c.setAttribute("columnlines", m.trim());
16261
16261
  }
16262
16262
  if (t.colSeparationType === "align") {
16263
- for (var E = t.cols || [], w = "", _ = 1; _ < E.length; _++)
16264
- w += _ % 2 ? "0em " : "1em ";
16265
- c.setAttribute("columnspacing", w.trim());
16263
+ for (var w = t.cols || [], E = "", _ = 1; _ < w.length; _++)
16264
+ E += _ % 2 ? "0em " : "1em ";
16265
+ c.setAttribute("columnspacing", E.trim());
16266
16266
  } else t.colSeparationType === "alignat" || t.colSeparationType === "gather" ? c.setAttribute("columnspacing", "0em") : t.colSeparationType === "small" ? c.setAttribute("columnspacing", "0.2778em") : t.colSeparationType === "CD" ? c.setAttribute("columnspacing", "0.5em") : c.setAttribute("columnspacing", "1em");
16267
16267
  var S = "", M = t.hLinesBeforeRow;
16268
16268
  d += M[0].length > 0 ? "left " : "", d += M[M.length - 1].length > 0 ? "right " : "";
@@ -16294,15 +16294,15 @@ var go = function(t, n) {
16294
16294
  var h = !l;
16295
16295
  o.body.forEach(function(y) {
16296
16296
  for (var b = 1; b < y.length; b += 2) {
16297
- var v = Je(y[b], "styling"), E = Je(v.body[0], "ordgroup");
16298
- E.body.unshift(u);
16297
+ var v = Je(y[b], "styling"), w = Je(v.body[0], "ordgroup");
16298
+ w.body.unshift(u);
16299
16299
  }
16300
16300
  if (h)
16301
16301
  l < y.length && (l = y.length);
16302
16302
  else {
16303
- var w = y.length / 2;
16304
- if (s < w)
16305
- throw new de("Too many math in a row: " + ("expected " + s + ", but got " + w), y[0]);
16303
+ var E = y.length / 2;
16304
+ if (s < E)
16305
+ throw new de("Too many math in a row: " + ("expected " + s + ", but got " + E), y[0]);
16306
16306
  }
16307
16307
  });
16308
16308
  for (var p = 0; p < l; ++p) {
@@ -16775,10 +16775,10 @@ var n$ = (e, t) => {
16775
16775
  }, t);
16776
16776
  }
16777
16777
  a = t.havingStyle(n), g.height *= a.sizeMultiplier / t.sizeMultiplier, g.depth *= a.sizeMultiplier / t.sizeMultiplier;
16778
- var E;
16779
- n.size === je.DISPLAY.size ? E = t.fontMetrics().delim1 : n.size === je.SCRIPTSCRIPT.size ? E = t.havingStyle(je.SCRIPT).fontMetrics().delim2 : E = t.fontMetrics().delim2;
16780
- var w, _;
16781
- return e.leftDelim == null ? w = uh(t, ["mopen"]) : w = es.customSizedDelim(e.leftDelim, E, !0, t.havingStyle(n), e.mode, ["mopen"]), e.continued ? _ = Y.makeSpan([]) : e.rightDelim == null ? _ = uh(t, ["mclose"]) : _ = es.customSizedDelim(e.rightDelim, E, !0, t.havingStyle(n), e.mode, ["mclose"]), Y.makeSpan(["mord"].concat(a.sizingClasses(t)), [w, Y.makeSpan(["mfrac"], [g]), _], t);
16778
+ var w;
16779
+ n.size === je.DISPLAY.size ? w = t.fontMetrics().delim1 : n.size === je.SCRIPTSCRIPT.size ? w = t.havingStyle(je.SCRIPT).fontMetrics().delim2 : w = t.fontMetrics().delim2;
16780
+ var E, _;
16781
+ return e.leftDelim == null ? E = uh(t, ["mopen"]) : E = es.customSizedDelim(e.leftDelim, w, !0, t.havingStyle(n), e.mode, ["mopen"]), e.continued ? _ = Y.makeSpan([]) : e.rightDelim == null ? _ = uh(t, ["mclose"]) : _ = es.customSizedDelim(e.rightDelim, w, !0, t.havingStyle(n), e.mode, ["mclose"]), Y.makeSpan(["mord"].concat(a.sizingClasses(t)), [E, Y.makeSpan(["mfrac"], [g]), _], t);
16782
16782
  }, u7 = (e, t) => {
16783
16783
  var n = new ue.MathNode("mfrac", [$t(e.numer, t), $t(e.denom, t)]);
16784
16784
  if (!e.hasBarLine)
@@ -18388,10 +18388,10 @@ tc({
18388
18388
  var v = e.base && e.base.type === "op" && e.base.name && (e.base.name === "\\oiint" || e.base.name === "\\oiiint");
18389
18389
  (o instanceof Pi || v) && (b = ve(-o.italic));
18390
18390
  }
18391
- var E;
18391
+ var w;
18392
18392
  if (s && l) {
18393
18393
  c = Math.max(c, m, s.depth + 0.25 * u.xHeight), f = Math.max(f, u.sub2);
18394
- var w = u.defaultRuleThickness, _ = 4 * w;
18394
+ var E = u.defaultRuleThickness, _ = 4 * E;
18395
18395
  if (c - s.depth - (l.height - f) < _) {
18396
18396
  f = _ - (c - s.depth) + l.height;
18397
18397
  var S = 0.8 * u.xHeight - (c - s.depth);
@@ -18409,7 +18409,7 @@ tc({
18409
18409
  shift: -c,
18410
18410
  marginRight: y
18411
18411
  }];
18412
- E = Y.makeVList({
18412
+ w = Y.makeVList({
18413
18413
  positionType: "individualShift",
18414
18414
  children: M
18415
18415
  }, t);
@@ -18421,13 +18421,13 @@ tc({
18421
18421
  marginLeft: b,
18422
18422
  marginRight: y
18423
18423
  }];
18424
- E = Y.makeVList({
18424
+ w = Y.makeVList({
18425
18425
  positionType: "shift",
18426
18426
  positionData: f,
18427
18427
  children: N
18428
18428
  }, t);
18429
18429
  } else if (s)
18430
- c = Math.max(c, m, s.depth + 0.25 * u.xHeight), E = Y.makeVList({
18430
+ c = Math.max(c, m, s.depth + 0.25 * u.xHeight), w = Y.makeVList({
18431
18431
  positionType: "shift",
18432
18432
  positionData: -c,
18433
18433
  children: [{
@@ -18439,7 +18439,7 @@ tc({
18439
18439
  else
18440
18440
  throw new Error("supsub must have either sup or sub.");
18441
18441
  var T = e3(o, "right") || "mord";
18442
- return Y.makeSpan([T], [o, Y.makeSpan(["msupsub"], [E])], t);
18442
+ return Y.makeSpan([T], [o, Y.makeSpan(["msupsub"], [w])], t);
18443
18443
  },
18444
18444
  mathmlBuilder(e, t) {
18445
18445
  var n = !1, r, i;
@@ -21574,7 +21574,7 @@ function Gne(e) {
21574
21574
  "visit",
21575
21575
  "vprintf",
21576
21576
  "vsprintf"
21577
- ], E = {
21577
+ ], w = {
21578
21578
  type: m,
21579
21579
  keyword: p,
21580
21580
  literal: [
@@ -21586,7 +21586,7 @@ function Gne(e) {
21586
21586
  ],
21587
21587
  built_in: ["_Pragma"],
21588
21588
  _type_hints: g
21589
- }, w = {
21589
+ }, E = {
21590
21590
  className: "function.dispatch",
21591
21591
  relevance: 0,
21592
21592
  keywords: {
@@ -21604,7 +21604,7 @@ function Gne(e) {
21604
21604
  t.lookahead(/(<[^<>]+>|)\s*\(/)
21605
21605
  )
21606
21606
  }, _ = [
21607
- w,
21607
+ E,
21608
21608
  f,
21609
21609
  s,
21610
21610
  n,
@@ -21629,12 +21629,12 @@ function Gne(e) {
21629
21629
  end: /;/
21630
21630
  }
21631
21631
  ],
21632
- keywords: E,
21632
+ keywords: w,
21633
21633
  contains: _.concat([
21634
21634
  {
21635
21635
  begin: /\(/,
21636
21636
  end: /\)/,
21637
- keywords: E,
21637
+ keywords: w,
21638
21638
  contains: _.concat(["self"]),
21639
21639
  relevance: 0
21640
21640
  }
@@ -21646,13 +21646,13 @@ function Gne(e) {
21646
21646
  returnBegin: !0,
21647
21647
  end: /[{;=]/,
21648
21648
  excludeEnd: !0,
21649
- keywords: E,
21649
+ keywords: w,
21650
21650
  illegal: /[^\w\s\*&:<>.]/,
21651
21651
  contains: [
21652
21652
  {
21653
21653
  // to prevent it from being confused as the function title
21654
21654
  begin: r,
21655
- keywords: E,
21655
+ keywords: w,
21656
21656
  relevance: 0
21657
21657
  },
21658
21658
  {
@@ -21686,7 +21686,7 @@ function Gne(e) {
21686
21686
  className: "params",
21687
21687
  begin: /\(/,
21688
21688
  end: /\)/,
21689
- keywords: E,
21689
+ keywords: w,
21690
21690
  relevance: 0,
21691
21691
  contains: [
21692
21692
  n,
@@ -21698,7 +21698,7 @@ function Gne(e) {
21698
21698
  {
21699
21699
  begin: /\(/,
21700
21700
  end: /\)/,
21701
- keywords: E,
21701
+ keywords: w,
21702
21702
  relevance: 0,
21703
21703
  contains: [
21704
21704
  "self",
@@ -21728,13 +21728,13 @@ function Gne(e) {
21728
21728
  "hxx",
21729
21729
  "cxx"
21730
21730
  ],
21731
- keywords: E,
21731
+ keywords: w,
21732
21732
  illegal: "</",
21733
21733
  classNameAliases: { "function.dispatch": "built_in" },
21734
21734
  contains: [].concat(
21735
21735
  S,
21736
21736
  M,
21737
- w,
21737
+ E,
21738
21738
  _,
21739
21739
  [
21740
21740
  f,
@@ -21742,7 +21742,7 @@ function Gne(e) {
21742
21742
  // containers: ie, `vector <int> rooms (9);`
21743
21743
  begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
21744
21744
  end: ">",
21745
- keywords: E,
21745
+ keywords: w,
21746
21746
  contains: [
21747
21747
  "self",
21748
21748
  s
@@ -21750,7 +21750,7 @@ function Gne(e) {
21750
21750
  },
21751
21751
  {
21752
21752
  begin: e.IDENT_RE + "::",
21753
- keywords: E
21753
+ keywords: w
21754
21754
  },
21755
21755
  {
21756
21756
  match: [
@@ -22311,7 +22311,7 @@ function Yne(e) {
22311
22311
  "typeset",
22312
22312
  "ulimit",
22313
22313
  "unalias"
22314
- ], E = [
22314
+ ], w = [
22315
22315
  "autoload",
22316
22316
  "bg",
22317
22317
  "bindkey",
@@ -22380,7 +22380,7 @@ function Yne(e) {
22380
22380
  "zsocket",
22381
22381
  "zstyle",
22382
22382
  "ztcp"
22383
- ], w = [
22383
+ ], E = [
22384
22384
  "chcon",
22385
22385
  "chgrp",
22386
22386
  "chown",
@@ -22501,8 +22501,8 @@ function Yne(e) {
22501
22501
  // Shell modifiers
22502
22502
  "set",
22503
22503
  "shopt",
22504
- ...E,
22505
- ...w
22504
+ ...w,
22505
+ ...E
22506
22506
  ]
22507
22507
  },
22508
22508
  contains: [
@@ -23121,7 +23121,7 @@ function Kne(e) {
23121
23121
  "visit",
23122
23122
  "vprintf",
23123
23123
  "vsprintf"
23124
- ], E = {
23124
+ ], w = {
23125
23125
  type: m,
23126
23126
  keyword: p,
23127
23127
  literal: [
@@ -23133,7 +23133,7 @@ function Kne(e) {
23133
23133
  ],
23134
23134
  built_in: ["_Pragma"],
23135
23135
  _type_hints: g
23136
- }, w = {
23136
+ }, E = {
23137
23137
  className: "function.dispatch",
23138
23138
  relevance: 0,
23139
23139
  keywords: {
@@ -23151,7 +23151,7 @@ function Kne(e) {
23151
23151
  t.lookahead(/(<[^<>]+>|)\s*\(/)
23152
23152
  )
23153
23153
  }, _ = [
23154
- w,
23154
+ E,
23155
23155
  f,
23156
23156
  s,
23157
23157
  n,
@@ -23176,12 +23176,12 @@ function Kne(e) {
23176
23176
  end: /;/
23177
23177
  }
23178
23178
  ],
23179
- keywords: E,
23179
+ keywords: w,
23180
23180
  contains: _.concat([
23181
23181
  {
23182
23182
  begin: /\(/,
23183
23183
  end: /\)/,
23184
- keywords: E,
23184
+ keywords: w,
23185
23185
  contains: _.concat(["self"]),
23186
23186
  relevance: 0
23187
23187
  }
@@ -23193,13 +23193,13 @@ function Kne(e) {
23193
23193
  returnBegin: !0,
23194
23194
  end: /[{;=]/,
23195
23195
  excludeEnd: !0,
23196
- keywords: E,
23196
+ keywords: w,
23197
23197
  illegal: /[^\w\s\*&:<>.]/,
23198
23198
  contains: [
23199
23199
  {
23200
23200
  // to prevent it from being confused as the function title
23201
23201
  begin: r,
23202
- keywords: E,
23202
+ keywords: w,
23203
23203
  relevance: 0
23204
23204
  },
23205
23205
  {
@@ -23233,7 +23233,7 @@ function Kne(e) {
23233
23233
  className: "params",
23234
23234
  begin: /\(/,
23235
23235
  end: /\)/,
23236
- keywords: E,
23236
+ keywords: w,
23237
23237
  relevance: 0,
23238
23238
  contains: [
23239
23239
  n,
@@ -23245,7 +23245,7 @@ function Kne(e) {
23245
23245
  {
23246
23246
  begin: /\(/,
23247
23247
  end: /\)/,
23248
- keywords: E,
23248
+ keywords: w,
23249
23249
  relevance: 0,
23250
23250
  contains: [
23251
23251
  "self",
@@ -23275,13 +23275,13 @@ function Kne(e) {
23275
23275
  "hxx",
23276
23276
  "cxx"
23277
23277
  ],
23278
- keywords: E,
23278
+ keywords: w,
23279
23279
  illegal: "</",
23280
23280
  classNameAliases: { "function.dispatch": "built_in" },
23281
23281
  contains: [].concat(
23282
23282
  S,
23283
23283
  M,
23284
- w,
23284
+ E,
23285
23285
  _,
23286
23286
  [
23287
23287
  f,
@@ -23289,7 +23289,7 @@ function Kne(e) {
23289
23289
  // containers: ie, `vector <int> rooms (9);`
23290
23290
  begin: "\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",
23291
23291
  end: ">",
23292
- keywords: E,
23292
+ keywords: w,
23293
23293
  contains: [
23294
23294
  "self",
23295
23295
  s
@@ -23297,7 +23297,7 @@ function Kne(e) {
23297
23297
  },
23298
23298
  {
23299
23299
  begin: e.IDENT_RE + "::",
23300
- keywords: E
23300
+ keywords: w
23301
23301
  },
23302
23302
  {
23303
23303
  match: [
@@ -23544,7 +23544,7 @@ function Zne(e) {
23544
23544
  { beginKeywords: "in out" },
23545
23545
  s
23546
23546
  ]
23547
- }, v = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", E = {
23547
+ }, v = e.IDENT_RE + "(<" + e.IDENT_RE + "(\\s*,\\s*" + e.IDENT_RE + ")*>)?(\\[\\])?", w = {
23548
23548
  // prevents expressions like `@class` from incorrect flagging
23549
23549
  // `class` as a keyword
23550
23550
  begin: "@" + e.IDENT_RE,
@@ -23690,7 +23690,7 @@ function Zne(e) {
23690
23690
  e.C_BLOCK_COMMENT_MODE
23691
23691
  ]
23692
23692
  },
23693
- E
23693
+ w
23694
23694
  ]
23695
23695
  };
23696
23696
  }
@@ -25549,13 +25549,13 @@ function gre(e) {
25549
25549
  "self"
25550
25550
  ].concat(v)
25551
25551
  });
25552
- const E = [].concat(b, d.contains), w = E.concat([
25552
+ const w = [].concat(b, d.contains), E = w.concat([
25553
25553
  // eat recursive parens in sub expressions
25554
25554
  {
25555
25555
  begin: /(\s*)\(/,
25556
25556
  end: /\)/,
25557
25557
  keywords: s,
25558
- contains: ["self"].concat(E)
25558
+ contains: ["self"].concat(w)
25559
25559
  }
25560
25560
  ]), _ = {
25561
25561
  className: "params",
@@ -25566,7 +25566,7 @@ function gre(e) {
25566
25566
  excludeBegin: !0,
25567
25567
  excludeEnd: !0,
25568
25568
  keywords: s,
25569
- contains: w
25569
+ contains: E
25570
25570
  }, S = {
25571
25571
  variants: [
25572
25572
  // class Car extends vehicle
@@ -25727,7 +25727,7 @@ function gre(e) {
25727
25727
  aliases: ["js", "jsx", "mjs", "cjs"],
25728
25728
  keywords: s,
25729
25729
  // this will be extended by TypeScript
25730
- exports: { PARAMS_CONTAINS: w, CLASS_REFERENCE: M },
25730
+ exports: { PARAMS_CONTAINS: E, CLASS_REFERENCE: M },
25731
25731
  illegal: /#(?![$_A-z])/,
25732
25732
  contains: [
25733
25733
  e.SHEBANG({
@@ -25788,7 +25788,7 @@ function gre(e) {
25788
25788
  excludeBegin: !0,
25789
25789
  excludeEnd: !0,
25790
25790
  keywords: s,
25791
- contains: w
25791
+ contains: E
25792
25792
  }
25793
25793
  ]
25794
25794
  }
@@ -26954,11 +26954,11 @@ function Cre(e) {
26954
26954
  className: "string",
26955
26955
  begin: "~?" + v + ".*?" + v
26956
26956
  };
26957
- }, u = function(v, E, w) {
26957
+ }, u = function(v, w, E) {
26958
26958
  return {
26959
26959
  className: v,
26960
- begin: E,
26961
- relevance: w
26960
+ begin: w,
26961
+ relevance: E
26962
26962
  };
26963
26963
  }, c = {
26964
26964
  $pattern: /[a-z-]+/,
@@ -28442,7 +28442,7 @@ function Rre(e) {
28442
28442
  "self",
28443
28443
  "static",
28444
28444
  "stdClass"
28445
- ], E = {
28445
+ ], w = {
28446
28446
  keyword: y,
28447
28447
  literal: ((I) => {
28448
28448
  const R = [];
@@ -28451,13 +28451,13 @@ function Rre(e) {
28451
28451
  }), R;
28452
28452
  })(g),
28453
28453
  built_in: b
28454
- }, w = (I) => I.map((R) => R.replace(/\|\d+$/, "")), _ = { variants: [
28454
+ }, E = (I) => I.map((R) => R.replace(/\|\d+$/, "")), _ = { variants: [
28455
28455
  {
28456
28456
  match: [
28457
28457
  /new/,
28458
28458
  t.concat(h, "+"),
28459
28459
  // to prevent built ins from being confused as the class constructor call
28460
- t.concat("(?!", w(b).join("\\b|"), "\\b)"),
28460
+ t.concat("(?!", E(b).join("\\b|"), "\\b)"),
28461
28461
  i
28462
28462
  ],
28463
28463
  scope: {
@@ -28525,7 +28525,7 @@ function Rre(e) {
28525
28525
  relevance: 0,
28526
28526
  begin: /\(/,
28527
28527
  end: /\)/,
28528
- keywords: E,
28528
+ keywords: w,
28529
28529
  contains: [
28530
28530
  N,
28531
28531
  o,
@@ -28540,7 +28540,7 @@ function Rre(e) {
28540
28540
  match: [
28541
28541
  /\b/,
28542
28542
  // to prevent keywords from being confused as the function title
28543
- t.concat("(?!fn\\b|function\\b|", w(y).join("\\b|"), "|", w(b).join("\\b|"), "\\b)"),
28543
+ t.concat("(?!fn\\b|function\\b|", E(y).join("\\b|"), "|", E(b).join("\\b|"), "\\b)"),
28544
28544
  r,
28545
28545
  t.concat(h, "*"),
28546
28546
  t.lookahead(/(?=\()/)
@@ -28602,7 +28602,7 @@ function Rre(e) {
28602
28602
  };
28603
28603
  return {
28604
28604
  case_insensitive: !1,
28605
- keywords: E,
28605
+ keywords: w,
28606
28606
  contains: [
28607
28607
  B,
28608
28608
  e.HASH_COMMENT_MODE,
@@ -28673,7 +28673,7 @@ function Rre(e) {
28673
28673
  end: "\\)",
28674
28674
  excludeBegin: !0,
28675
28675
  excludeEnd: !0,
28676
- keywords: E,
28676
+ keywords: w,
28677
28677
  contains: [
28678
28678
  "self",
28679
28679
  B,
@@ -31578,7 +31578,7 @@ function Zre(e) {
31578
31578
  ], h = c, p = [
31579
31579
  ...u,
31580
31580
  ...l
31581
- ].filter((w) => !c.includes(w)), m = {
31581
+ ].filter((E) => !c.includes(E)), m = {
31582
31582
  scope: "variable",
31583
31583
  match: /@[a-z0-9][a-z0-9_]*/
31584
31584
  }, g = {
@@ -31590,10 +31590,10 @@ function Zre(e) {
31590
31590
  relevance: 0,
31591
31591
  keywords: { built_in: h }
31592
31592
  };
31593
- function b(w) {
31593
+ function b(E) {
31594
31594
  return t.concat(
31595
31595
  /\b/,
31596
- t.either(...w.map((_) => _.replace(/\s+/, "\\s+"))),
31596
+ t.either(...E.map((_) => _.replace(/\s+/, "\\s+"))),
31597
31597
  /\b/
31598
31598
  );
31599
31599
  }
@@ -31602,12 +31602,12 @@ function Zre(e) {
31602
31602
  match: b(d),
31603
31603
  relevance: 0
31604
31604
  };
31605
- function E(w, {
31605
+ function w(E, {
31606
31606
  exceptions: _,
31607
31607
  when: S
31608
31608
  } = {}) {
31609
31609
  const M = S;
31610
- return _ = _ || [], w.map((N) => N.match(/\|\d+$/) || _.includes(N) ? N : M(N) ? `${N}|0` : N);
31610
+ return _ = _ || [], E.map((N) => N.match(/\|\d+$/) || _.includes(N) ? N : M(N) ? `${N}|0` : N);
31611
31611
  }
31612
31612
  return {
31613
31613
  name: "SQL",
@@ -31616,7 +31616,7 @@ function Zre(e) {
31616
31616
  illegal: /[{}]|<\//,
31617
31617
  keywords: {
31618
31618
  $pattern: /\b[\w\.]+/,
31619
- keyword: E(p, { when: (w) => w.length < 3 }),
31619
+ keyword: w(p, { when: (E) => E.length < 3 }),
31620
31620
  literal: a,
31621
31621
  type: s,
31622
31622
  built_in: f
@@ -32051,13 +32051,13 @@ function aie(e) {
32051
32051
  // binary-literal
32052
32052
  { match: /\b0b([01]_*)+\b/ }
32053
32053
  ]
32054
- }, E = (Be = "") => ({
32054
+ }, w = (Be = "") => ({
32055
32055
  className: "subst",
32056
32056
  variants: [
32057
32057
  { match: At(/\\/, Be, /[0\\tnr"']/) },
32058
32058
  { match: At(/\\/, Be, /u\{[0-9a-fA-F]{1,8}\}/) }
32059
32059
  ]
32060
- }), w = (Be = "") => ({
32060
+ }), E = (Be = "") => ({
32061
32061
  className: "subst",
32062
32062
  match: At(/\\/, Be, /[\t ]*(?:[\r\n]|\r\n)/)
32063
32063
  }), _ = (Be = "") => ({
@@ -32069,15 +32069,15 @@ function aie(e) {
32069
32069
  begin: At(Be, /"""/),
32070
32070
  end: At(/"""/, Be),
32071
32071
  contains: [
32072
- E(Be),
32073
32072
  w(Be),
32073
+ E(Be),
32074
32074
  _(Be)
32075
32075
  ]
32076
32076
  }), M = (Be = "") => ({
32077
32077
  begin: At(Be, /"/),
32078
32078
  end: At(/"/, Be),
32079
32079
  contains: [
32080
- E(Be),
32080
+ w(Be),
32081
32081
  _(Be)
32082
32082
  ]
32083
32083
  }), N = {
@@ -32762,13 +32762,13 @@ function oie(e) {
32762
32762
  "self"
32763
32763
  ].concat(v)
32764
32764
  });
32765
- const E = [].concat(b, d.contains), w = E.concat([
32765
+ const w = [].concat(b, d.contains), E = w.concat([
32766
32766
  // eat recursive parens in sub expressions
32767
32767
  {
32768
32768
  begin: /(\s*)\(/,
32769
32769
  end: /\)/,
32770
32770
  keywords: s,
32771
- contains: ["self"].concat(E)
32771
+ contains: ["self"].concat(w)
32772
32772
  }
32773
32773
  ]), _ = {
32774
32774
  className: "params",
@@ -32779,7 +32779,7 @@ function oie(e) {
32779
32779
  excludeBegin: !0,
32780
32780
  excludeEnd: !0,
32781
32781
  keywords: s,
32782
- contains: w
32782
+ contains: E
32783
32783
  }, S = {
32784
32784
  variants: [
32785
32785
  // class Car extends vehicle
@@ -32940,7 +32940,7 @@ function oie(e) {
32940
32940
  aliases: ["js", "jsx", "mjs", "cjs"],
32941
32941
  keywords: s,
32942
32942
  // this will be extended by TypeScript
32943
- exports: { PARAMS_CONTAINS: w, CLASS_REFERENCE: M },
32943
+ exports: { PARAMS_CONTAINS: E, CLASS_REFERENCE: M },
32944
32944
  illegal: /#(?![$_A-z])/,
32945
32945
  contains: [
32946
32946
  e.SHEBANG({
@@ -33001,7 +33001,7 @@ function oie(e) {
33001
33001
  excludeBegin: !0,
33002
33002
  excludeEnd: !0,
33003
33003
  keywords: s,
33004
- contains: w
33004
+ contains: E
33005
33005
  }
33006
33006
  ]
33007
33007
  }
@@ -34793,15 +34793,15 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
34793
34793
  s = YS(s, $);
34794
34794
  }
34795
34795
  const y = () => {
34796
- E(), Tc("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
34796
+ w(), Tc("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
34797
34797
  };
34798
34798
  function b() {
34799
- E(), Tc("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
34799
+ w(), Tc("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
34800
34800
  }
34801
34801
  let v = !1;
34802
- function E() {
34802
+ function w() {
34803
34803
  function $() {
34804
- E();
34804
+ w();
34805
34805
  }
34806
34806
  if (document.readyState === "loading") {
34807
34807
  v || window.addEventListener("DOMContentLoaded", $, !1), v = !0;
@@ -34809,7 +34809,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
34809
34809
  }
34810
34810
  document.querySelectorAll(s.cssSelector).forEach(m);
34811
34811
  }
34812
- function w($, U) {
34812
+ function E($, U) {
34813
34813
  let q = null;
34814
34814
  try {
34815
34815
  q = U(e);
@@ -34872,14 +34872,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), A = $, W = U), q ===
34872
34872
  Object.assign(e, {
34873
34873
  highlight: c,
34874
34874
  highlightAuto: h,
34875
- highlightAll: E,
34875
+ highlightAll: w,
34876
34876
  highlightElement: m,
34877
34877
  // TODO: Remove with v12 API
34878
34878
  highlightBlock: R,
34879
34879
  configure: g,
34880
34880
  initHighlighting: y,
34881
34881
  initHighlightingOnLoad: b,
34882
- registerLanguage: w,
34882
+ registerLanguage: E,
34883
34883
  unregisterLanguage: _,
34884
34884
  listLanguages: S,
34885
34885
  getLanguage: M,
@@ -35606,7 +35606,7 @@ function eF(e, t = 100) {
35606
35606
  if (v)
35607
35607
  m.push(v);
35608
35608
  else {
35609
- const E = /* @__PURE__ */ re(
35609
+ const w = /* @__PURE__ */ re(
35610
35610
  cQ,
35611
35611
  {
35612
35612
  remarkPlugins: [Eee, Rne],
@@ -35616,7 +35616,7 @@ function eF(e, t = 100) {
35616
35616
  },
35617
35617
  b
35618
35618
  );
35619
- Hae(o.current), o.current.set(b, E), m.push(E);
35619
+ Hae(o.current), o.current.set(b, w), m.push(w);
35620
35620
  }
35621
35621
  }
35622
35622
  const g = p.map((y) => s(y.raw)).join(`
@@ -35792,7 +35792,7 @@ function Jae(e) {
35792
35792
  data: { annotations: r }
35793
35793
  } = nF(), i = Ht(
35794
35794
  function() {
35795
- var u, c, f, d, h, p, m, g, y, b, v, E, w, _, S, M, N, T, O, z, B, I, R, $, U, q, W, A, V, X, F, ae, ie, ye, Te, Ce, ne, fe;
35795
+ var u, c, f, d, h, p, m, g, y, b, v, w, E, _, S, M, N, T, O, z, B, I, R, $, U, q, W, A, V, X, F, ae, ie, ye, Te, Ce, ne, fe;
35796
35796
  const s = ((u = r == null ? void 0 : r.embedConfig) == null ? void 0 : u.theme) ?? {
35797
35797
  chatbot: {},
35798
35798
  botMessage: {},
@@ -35833,12 +35833,12 @@ function Jae(e) {
35833
35833
  backgroundColor: (v = s.chatbot) == null ? void 0 : v.backgroundColor
35834
35834
  },
35835
35835
  "::placeholder": {
35836
- color: (E = s.chatbot) == null ? void 0 : E.inactiveColor
35836
+ color: (w = s.chatbot) == null ? void 0 : w.inactiveColor
35837
35837
  }
35838
35838
  },
35839
35839
  submitButton: {
35840
35840
  style: {
35841
- color: (_ = (w = s.chatbot) == null ? void 0 : w.primaryComponent) == null ? void 0 : _.secondaryColor
35841
+ color: (_ = (E = s.chatbot) == null ? void 0 : E.primaryComponent) == null ? void 0 : _.secondaryColor
35842
35842
  }
35843
35843
  },
35844
35844
  speechInputButton: {
@@ -35921,7 +35921,8 @@ const aF = Fy({
35921
35921
  isConnecting: !1,
35922
35922
  messages: null,
35923
35923
  messageBoxBottomRef: { current: null },
35924
- botTypingPlaceholder: void 0
35924
+ botTypingPlaceholder: void 0,
35925
+ inputPlaceholder: void 0
35925
35926
  });
35926
35927
  function eoe(e) {
35927
35928
  const {
@@ -35930,52 +35931,55 @@ function eoe(e) {
35930
35931
  parentRef: r,
35931
35932
  config: i,
35932
35933
  botTypingPlaceholder: a,
35933
- customChannelId: o,
35934
- initMessages: s,
35935
- onSseMessage: l
35936
- } = e, u = ro(null), c = CV({ config: i }), {
35937
- isOpen: f,
35938
- isResetting: d,
35939
- isConnecting: h,
35940
- conversation: p,
35941
- sendMessage: m,
35942
- resetChannel: g,
35943
- closeChannel: y
35934
+ inputPlaceholder: o,
35935
+ customChannelId: s,
35936
+ initMessages: l,
35937
+ onSseMessage: u
35938
+ } = e, c = ro(null), f = CV({ config: i }), {
35939
+ isOpen: d,
35940
+ isResetting: h,
35941
+ isConnecting: p,
35942
+ conversation: m,
35943
+ sendMessage: g,
35944
+ resetChannel: y,
35945
+ closeChannel: b
35944
35946
  } = TV({
35945
- client: c,
35946
- customChannelId: o,
35947
- initMessages: s,
35948
- onSseMessage: l
35949
- }), b = cn(
35947
+ client: f,
35948
+ customChannelId: s,
35949
+ initMessages: l,
35950
+ onSseMessage: u
35951
+ }), v = cn(
35950
35952
  () => ({
35951
35953
  avatar: t,
35952
- client: c,
35953
- isOpen: f,
35954
- isResetting: d,
35955
- isConnecting: h,
35956
- messages: (p == null ? void 0 : p.messages) ?? null,
35957
- sendMessage: m,
35958
- resetChannel: g,
35959
- closeChannel: y,
35954
+ client: f,
35955
+ isOpen: d,
35956
+ isResetting: h,
35957
+ isConnecting: p,
35958
+ messages: (m == null ? void 0 : m.messages) ?? null,
35959
+ sendMessage: g,
35960
+ resetChannel: y,
35961
+ closeChannel: b,
35960
35962
  botTypingPlaceholder: a,
35961
- messageBoxBottomRef: u
35963
+ inputPlaceholder: o,
35964
+ messageBoxBottomRef: c
35962
35965
  }),
35963
35966
  [
35964
35967
  t,
35965
- c,
35966
35968
  f,
35967
35969
  d,
35968
35970
  h,
35969
- p == null ? void 0 : p.messages,
35970
- m,
35971
+ p,
35972
+ m == null ? void 0 : m.messages,
35971
35973
  g,
35972
35974
  y,
35973
- a
35975
+ b,
35976
+ a,
35977
+ o
35974
35978
  ]
35975
35979
  );
35976
35980
  return vV(r, () => ({
35977
- serviceContext: b
35978
- })), /* @__PURE__ */ re(aF.Provider, { value: b, children: n });
35981
+ serviceContext: v
35982
+ })), /* @__PURE__ */ re(aF.Provider, { value: v, children: n });
35979
35983
  }
35980
35984
  function Yi() {
35981
35985
  return Iy(aF);
@@ -36016,7 +36020,7 @@ function nn() {
36016
36020
  return r;
36017
36021
  }
36018
36022
  function loe(e) {
36019
- var m, g, y, b, v, E;
36023
+ var m, g, y, b, v, w;
36020
36024
  const {
36021
36025
  title: t,
36022
36026
  onReset: n,
@@ -36032,13 +36036,13 @@ function loe(e) {
36032
36036
  }),
36033
36037
  [o]
36034
36038
  ), h = Ht(
36035
- (w) => {
36036
- u || (w.stopPropagation(), n == null || n(), c == null || c());
36039
+ (E) => {
36040
+ u || (E.stopPropagation(), n == null || n(), c == null || c());
36037
36041
  },
36038
36042
  [u, n, c]
36039
36043
  ), p = Ht(
36040
- (w) => {
36041
- u || (w.stopPropagation(), r == null || r(), a || f == null || f());
36044
+ (E) => {
36045
+ u || (E.stopPropagation(), r == null || r(), a || f == null || f());
36042
36046
  },
36043
36047
  [u, r, f, a]
36044
36048
  );
@@ -36056,7 +36060,7 @@ function loe(e) {
36056
36060
  "div",
36057
36061
  {
36058
36062
  className: pm.chatbot_header__extra,
36059
- style: (E = (v = o == null ? void 0 : o.header) == null ? void 0 : v.actionButton) == null ? void 0 : E.style,
36063
+ style: (w = (v = o == null ? void 0 : o.header) == null ? void 0 : v.actionButton) == null ? void 0 : w.style,
36060
36064
  children: [
36061
36065
  i,
36062
36066
  /* @__PURE__ */ re("div", { onClick: h, children: /* @__PURE__ */ re(soe, {}) }),
@@ -36560,27 +36564,27 @@ function Ioe() {
36560
36564
  if (sA) return bt;
36561
36565
  sA = 1;
36562
36566
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, g = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, b = e ? Symbol.for("react.scope") : 60119;
36563
- function v(w) {
36564
- if (typeof w == "object" && w !== null) {
36565
- var _ = w.$$typeof;
36567
+ function v(E) {
36568
+ if (typeof E == "object" && E !== null) {
36569
+ var _ = E.$$typeof;
36566
36570
  switch (_) {
36567
36571
  case t:
36568
- switch (w = w.type, w) {
36572
+ switch (E = E.type, E) {
36569
36573
  case l:
36570
36574
  case u:
36571
36575
  case r:
36572
36576
  case a:
36573
36577
  case i:
36574
36578
  case f:
36575
- return w;
36579
+ return E;
36576
36580
  default:
36577
- switch (w = w && w.$$typeof, w) {
36581
+ switch (E = E && E.$$typeof, E) {
36578
36582
  case s:
36579
36583
  case c:
36580
36584
  case p:
36581
36585
  case h:
36582
36586
  case o:
36583
- return w;
36587
+ return E;
36584
36588
  default:
36585
36589
  return _;
36586
36590
  }
@@ -36590,35 +36594,35 @@ function Ioe() {
36590
36594
  }
36591
36595
  }
36592
36596
  }
36593
- function E(w) {
36594
- return v(w) === u;
36595
- }
36596
- return bt.AsyncMode = l, bt.ConcurrentMode = u, bt.ContextConsumer = s, bt.ContextProvider = o, bt.Element = t, bt.ForwardRef = c, bt.Fragment = r, bt.Lazy = p, bt.Memo = h, bt.Portal = n, bt.Profiler = a, bt.StrictMode = i, bt.Suspense = f, bt.isAsyncMode = function(w) {
36597
- return E(w) || v(w) === l;
36598
- }, bt.isConcurrentMode = E, bt.isContextConsumer = function(w) {
36599
- return v(w) === s;
36600
- }, bt.isContextProvider = function(w) {
36601
- return v(w) === o;
36602
- }, bt.isElement = function(w) {
36603
- return typeof w == "object" && w !== null && w.$$typeof === t;
36604
- }, bt.isForwardRef = function(w) {
36605
- return v(w) === c;
36606
- }, bt.isFragment = function(w) {
36607
- return v(w) === r;
36608
- }, bt.isLazy = function(w) {
36609
- return v(w) === p;
36610
- }, bt.isMemo = function(w) {
36611
- return v(w) === h;
36612
- }, bt.isPortal = function(w) {
36613
- return v(w) === n;
36614
- }, bt.isProfiler = function(w) {
36615
- return v(w) === a;
36616
- }, bt.isStrictMode = function(w) {
36617
- return v(w) === i;
36618
- }, bt.isSuspense = function(w) {
36619
- return v(w) === f;
36620
- }, bt.isValidElementType = function(w) {
36621
- return typeof w == "string" || typeof w == "function" || w === r || w === u || w === a || w === i || w === f || w === d || typeof w == "object" && w !== null && (w.$$typeof === p || w.$$typeof === h || w.$$typeof === o || w.$$typeof === s || w.$$typeof === c || w.$$typeof === g || w.$$typeof === y || w.$$typeof === b || w.$$typeof === m);
36597
+ function w(E) {
36598
+ return v(E) === u;
36599
+ }
36600
+ return bt.AsyncMode = l, bt.ConcurrentMode = u, bt.ContextConsumer = s, bt.ContextProvider = o, bt.Element = t, bt.ForwardRef = c, bt.Fragment = r, bt.Lazy = p, bt.Memo = h, bt.Portal = n, bt.Profiler = a, bt.StrictMode = i, bt.Suspense = f, bt.isAsyncMode = function(E) {
36601
+ return w(E) || v(E) === l;
36602
+ }, bt.isConcurrentMode = w, bt.isContextConsumer = function(E) {
36603
+ return v(E) === s;
36604
+ }, bt.isContextProvider = function(E) {
36605
+ return v(E) === o;
36606
+ }, bt.isElement = function(E) {
36607
+ return typeof E == "object" && E !== null && E.$$typeof === t;
36608
+ }, bt.isForwardRef = function(E) {
36609
+ return v(E) === c;
36610
+ }, bt.isFragment = function(E) {
36611
+ return v(E) === r;
36612
+ }, bt.isLazy = function(E) {
36613
+ return v(E) === p;
36614
+ }, bt.isMemo = function(E) {
36615
+ return v(E) === h;
36616
+ }, bt.isPortal = function(E) {
36617
+ return v(E) === n;
36618
+ }, bt.isProfiler = function(E) {
36619
+ return v(E) === a;
36620
+ }, bt.isStrictMode = function(E) {
36621
+ return v(E) === i;
36622
+ }, bt.isSuspense = function(E) {
36623
+ return v(E) === f;
36624
+ }, bt.isValidElementType = function(E) {
36625
+ return typeof E == "string" || typeof E == "function" || E === r || E === u || E === a || E === i || E === f || E === d || typeof E == "object" && E !== null && (E.$$typeof === p || E.$$typeof === h || E.$$typeof === o || E.$$typeof === s || E.$$typeof === c || E.$$typeof === g || E.$$typeof === y || E.$$typeof === b || E.$$typeof === m);
36622
36626
  }, bt.typeOf = v, bt;
36623
36627
  }
36624
36628
  var vt = {};
@@ -36638,7 +36642,7 @@ function Loe() {
36638
36642
  return typeof G == "string" || typeof G == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
36639
36643
  G === r || G === u || G === a || G === i || G === f || G === d || typeof G == "object" && G !== null && (G.$$typeof === p || G.$$typeof === h || G.$$typeof === o || G.$$typeof === s || G.$$typeof === c || G.$$typeof === g || G.$$typeof === y || G.$$typeof === b || G.$$typeof === m);
36640
36644
  }
36641
- function E(G) {
36645
+ function w(G) {
36642
36646
  if (typeof G == "object" && G !== null) {
36643
36647
  var et = G.$$typeof;
36644
36648
  switch (et) {
@@ -36670,47 +36674,47 @@ function Loe() {
36670
36674
  }
36671
36675
  }
36672
36676
  }
36673
- var w = l, _ = u, S = s, M = o, N = t, T = c, O = r, z = p, B = h, I = n, R = a, $ = i, U = f, q = !1;
36677
+ var E = l, _ = u, S = s, M = o, N = t, T = c, O = r, z = p, B = h, I = n, R = a, $ = i, U = f, q = !1;
36674
36678
  function W(G) {
36675
- return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(G) || E(G) === l;
36679
+ return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), A(G) || w(G) === l;
36676
36680
  }
36677
36681
  function A(G) {
36678
- return E(G) === u;
36682
+ return w(G) === u;
36679
36683
  }
36680
36684
  function V(G) {
36681
- return E(G) === s;
36685
+ return w(G) === s;
36682
36686
  }
36683
36687
  function X(G) {
36684
- return E(G) === o;
36688
+ return w(G) === o;
36685
36689
  }
36686
36690
  function F(G) {
36687
36691
  return typeof G == "object" && G !== null && G.$$typeof === t;
36688
36692
  }
36689
36693
  function ae(G) {
36690
- return E(G) === c;
36694
+ return w(G) === c;
36691
36695
  }
36692
36696
  function ie(G) {
36693
- return E(G) === r;
36697
+ return w(G) === r;
36694
36698
  }
36695
36699
  function ye(G) {
36696
- return E(G) === p;
36700
+ return w(G) === p;
36697
36701
  }
36698
36702
  function Te(G) {
36699
- return E(G) === h;
36703
+ return w(G) === h;
36700
36704
  }
36701
36705
  function Ce(G) {
36702
- return E(G) === n;
36706
+ return w(G) === n;
36703
36707
  }
36704
36708
  function ne(G) {
36705
- return E(G) === a;
36709
+ return w(G) === a;
36706
36710
  }
36707
36711
  function fe(G) {
36708
- return E(G) === i;
36712
+ return w(G) === i;
36709
36713
  }
36710
36714
  function Ne(G) {
36711
- return E(G) === f;
36715
+ return w(G) === f;
36712
36716
  }
36713
- vt.AsyncMode = w, vt.ConcurrentMode = _, vt.ContextConsumer = S, vt.ContextProvider = M, vt.Element = N, vt.ForwardRef = T, vt.Fragment = O, vt.Lazy = z, vt.Memo = B, vt.Portal = I, vt.Profiler = R, vt.StrictMode = $, vt.Suspense = U, vt.isAsyncMode = W, vt.isConcurrentMode = A, vt.isContextConsumer = V, vt.isContextProvider = X, vt.isElement = F, vt.isForwardRef = ae, vt.isFragment = ie, vt.isLazy = ye, vt.isMemo = Te, vt.isPortal = Ce, vt.isProfiler = ne, vt.isStrictMode = fe, vt.isSuspense = Ne, vt.isValidElementType = v, vt.typeOf = E;
36717
+ vt.AsyncMode = E, vt.ConcurrentMode = _, vt.ContextConsumer = S, vt.ContextProvider = M, vt.Element = N, vt.ForwardRef = T, vt.Fragment = O, vt.Lazy = z, vt.Memo = B, vt.Portal = I, vt.Profiler = R, vt.StrictMode = $, vt.Suspense = U, vt.isAsyncMode = W, vt.isConcurrentMode = A, vt.isContextConsumer = V, vt.isContextProvider = X, vt.isElement = F, vt.isForwardRef = ae, vt.isFragment = ie, vt.isLazy = ye, vt.isMemo = Te, vt.isPortal = Ce, vt.isProfiler = ne, vt.isStrictMode = fe, vt.isSuspense = Ne, vt.isValidElementType = v, vt.typeOf = w;
36714
36718
  }()), vt;
36715
36719
  }
36716
36720
  var uA;
@@ -36863,8 +36867,8 @@ function Boe() {
36863
36867
  symbol: y("symbol"),
36864
36868
  any: b(),
36865
36869
  arrayOf: v,
36866
- element: E(),
36867
- elementType: w(),
36870
+ element: w(),
36871
+ elementType: E(),
36868
36872
  instanceOf: _,
36869
36873
  node: T(),
36870
36874
  objectOf: M,
@@ -36938,7 +36942,7 @@ function Boe() {
36938
36942
  }
36939
36943
  return g(V);
36940
36944
  }
36941
- function E() {
36945
+ function w() {
36942
36946
  function A(V, X, F, ae, ie) {
36943
36947
  var ye = V[X];
36944
36948
  if (!s(ye)) {
@@ -36949,7 +36953,7 @@ function Boe() {
36949
36953
  }
36950
36954
  return g(A);
36951
36955
  }
36952
- function w() {
36956
+ function E() {
36953
36957
  function A(V, X, F, ae, ie) {
36954
36958
  var ye = V[X];
36955
36959
  if (!e.isValidElementType(ye)) {
@@ -37647,14 +37651,14 @@ var ose = /("(?:[^\\"]|\\.)*")|[:,]/g, sse = function(t, n) {
37647
37651
  void 0,
37648
37652
  n.indent === void 0 ? 2 : n.indent
37649
37653
  ).slice(2, -3), i = r === "" ? 1 / 0 : n.maxLength === void 0 ? 80 : n.maxLength, a = n.replacer, function o(s, l, u) {
37650
- var c, f, d, h, p, m, g, y, b, v, E, w;
37651
- if (s && typeof s.toJSON == "function" && (s = s.toJSON()), E = JSON.stringify(s, a), E === void 0)
37652
- return E;
37653
- if (g = i - l.length - u, E.length <= g && (b = E.replace(ose, function(_, S) {
37654
+ var c, f, d, h, p, m, g, y, b, v, w, E;
37655
+ if (s && typeof s.toJSON == "function" && (s = s.toJSON()), w = JSON.stringify(s, a), w === void 0)
37656
+ return w;
37657
+ if (g = i - l.length - u, w.length <= g && (b = w.replace(ose, function(_, S) {
37654
37658
  return S || _ + " ";
37655
37659
  }), b.length <= g))
37656
37660
  return b;
37657
- if (a != null && (s = JSON.parse(E), a = void 0), typeof s == "object" && s !== null) {
37661
+ if (a != null && (s = JSON.parse(w), a = void 0), typeof s == "object" && s !== null) {
37658
37662
  if (y = l + r, d = [], f = 0, Array.isArray(s))
37659
37663
  for (v = "[", c = "]", g = s.length; f < g; f++)
37660
37664
  d.push(
@@ -37662,11 +37666,11 @@ var ose = /("(?:[^\\"]|\\.)*")|[:,]/g, sse = function(t, n) {
37662
37666
  );
37663
37667
  else
37664
37668
  for (v = "{", c = "}", m = Object.keys(s), g = m.length; f < g; f++)
37665
- h = m[f], p = JSON.stringify(h) + ": ", w = o(
37669
+ h = m[f], p = JSON.stringify(h) + ": ", E = o(
37666
37670
  s[h],
37667
37671
  y,
37668
37672
  p.length + (f === g - 1 ? 0 : 1)
37669
- ), w !== void 0 && d.push(p + w);
37673
+ ), E !== void 0 && d.push(p + E);
37670
37674
  if (d.length > 0)
37671
37675
  return [v, r + d.join(`,
37672
37676
  ` + y), c].join(
@@ -37674,7 +37678,7 @@ var ose = /("(?:[^\\"]|\\.)*")|[:,]/g, sse = function(t, n) {
37674
37678
  ` + l
37675
37679
  );
37676
37680
  }
37677
- return E;
37681
+ return w;
37678
37682
  }(t, "", 0);
37679
37683
  };
37680
37684
  const tv = /* @__PURE__ */ t0(sse);
@@ -37720,8 +37724,8 @@ var t2 = hse;
37720
37724
  g = g.split(`${y}*`).join(`${y}{0,${b}}`).split(`${y}+`).join(`${y}{1,${b}}`);
37721
37725
  return g;
37722
37726
  }, m = (g, y, b) => {
37723
- const v = p(y), E = f++;
37724
- a(g, E, y), c[g] = E, l[E] = y, u[E] = v, o[E] = new RegExp(y, b ? "g" : void 0), s[E] = new RegExp(v, b ? "g" : void 0);
37727
+ const v = p(y), w = f++;
37728
+ a(g, w, y), c[g] = w, l[w] = y, u[w] = v, o[w] = new RegExp(y, b ? "g" : void 0), s[w] = new RegExp(v, b ? "g" : void 0);
37725
37729
  };
37726
37730
  m("NUMERICIDENTIFIER", "0|[1-9]\\d*"), m("NUMERICIDENTIFIERLOOSE", "\\d+"), m("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${d}*`), m("MAINVERSION", `(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`), m("MAINVERSIONLOOSE", `(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASEIDENTIFIER", `(?:${l[c.NONNUMERICIDENTIFIER]}|${l[c.NUMERICIDENTIFIER]})`), m("PRERELEASEIDENTIFIERLOOSE", `(?:${l[c.NONNUMERICIDENTIFIER]}|${l[c.NUMERICIDENTIFIERLOOSE]})`), m("PRERELEASE", `(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`), m("PRERELEASELOOSE", `(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`), m("BUILDIDENTIFIER", `${d}+`), m("BUILD", `(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`), m("FULLPLAIN", `v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`), m("FULL", `^${l[c.FULLPLAIN]}$`), m("LOOSEPLAIN", `[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`), m("LOOSE", `^${l[c.LOOSEPLAIN]}$`), m("GTLT", "((?:<|>)?=?)"), m("XRANGEIDENTIFIERLOOSE", `${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), m("XRANGEIDENTIFIER", `${l[c.NUMERICIDENTIFIER]}|x|X|\\*`), m("XRANGEPLAIN", `[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`), m("XRANGEPLAINLOOSE", `[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`), m("XRANGE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`), m("XRANGELOOSE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`), m("COERCEPLAIN", `(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`), m("COERCE", `${l[c.COERCEPLAIN]}(?:$|[^\\d])`), m("COERCEFULL", l[c.COERCEPLAIN] + `(?:${l[c.PRERELEASE]})?(?:${l[c.BUILD]})?(?:$|[^\\d])`), m("COERCERTL", l[c.COERCE], !0), m("COERCERTLFULL", l[c.COERCEFULL], !0), m("LONETILDE", "(?:~>?)"), m("TILDETRIM", `(\\s*)${l[c.LONETILDE]}\\s+`, !0), t.tildeTrimReplace = "$1~", m("TILDE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`), m("TILDELOOSE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`), m("LONECARET", "(?:\\^)"), m("CARETTRIM", `(\\s*)${l[c.LONECARET]}\\s+`, !0), t.caretTrimReplace = "$1^", m("CARET", `^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`), m("CARETLOOSE", `^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`), m("COMPARATORLOOSE", `^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`), m("COMPARATOR", `^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`), m("COMPARATORTRIM", `(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`, !0), t.comparatorTrimReplace = "$1$2$3", m("HYPHENRANGE", `^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`), m("HYPHENRANGELOOSE", `^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`), m("STAR", "(<|>)?=?\\s*\\*"), m("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), m("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
37727
37731
  })(m3, m3.exports);
@@ -38143,7 +38147,7 @@ function ka() {
38143
38147
  for (; $ && U.length; )
38144
38148
  $ = U.every((W) => q.intersects(W, R)), q = U.pop();
38145
38149
  return $;
38146
- }, b = (I, R) => (o("comp", I, R), I = _(I, R), o("caret", I), I = E(I, R), o("tildes", I), I = M(I, R), o("xrange", I), I = T(I, R), o("stars", I), I), v = (I) => !I || I.toLowerCase() === "x" || I === "*", E = (I, R) => I.trim().split(/\s+/).map(($) => w($, R)).join(" "), w = (I, R) => {
38150
+ }, b = (I, R) => (o("comp", I, R), I = _(I, R), o("caret", I), I = w(I, R), o("tildes", I), I = M(I, R), o("xrange", I), I = T(I, R), o("stars", I), I), v = (I) => !I || I.toLowerCase() === "x" || I === "*", w = (I, R) => I.trim().split(/\s+/).map(($) => E($, R)).join(" "), E = (I, R) => {
38147
38151
  const $ = R.loose ? l[u.TILDELOOSE] : l[u.TILDE];
38148
38152
  return I.replace($, (U, q, W, A, V) => {
38149
38153
  o("tilde", I, U, q, W, A, V);
@@ -38950,7 +38954,7 @@ function dce(e) {
38950
38954
  function i(f, d) {
38951
38955
  var h = [], p = f.length, m = 0, g = 0, y, b = p <= 0, v = !1;
38952
38956
  f.charCodeAt(p - 1) === q0 && --p, f.charCodeAt(p - 1) === uv && --p;
38953
- function E() {
38957
+ function w() {
38954
38958
  if (b) return sv;
38955
38959
  if (v) return v = !1, PA;
38956
38960
  var _, S = m, M;
@@ -38967,9 +38971,9 @@ function dce(e) {
38967
38971
  }
38968
38972
  return b = !0, f.slice(S, p);
38969
38973
  }
38970
- for (; (y = E()) !== sv; ) {
38971
- for (var w = []; y !== PA && y !== sv; ) w.push(y), y = E();
38972
- d && (w = d(w, g++)) == null || h.push(w);
38974
+ for (; (y = w()) !== sv; ) {
38975
+ for (var E = []; y !== PA && y !== sv; ) E.push(y), y = w();
38976
+ d && (E = d(E, g++)) == null || h.push(E);
38973
38977
  }
38974
38978
  return h;
38975
38979
  }
@@ -39573,18 +39577,18 @@ function oI(e) {
39573
39577
  var t = e.grouping === void 0 || e.thousands === void 0 ? WA : zce(GA.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? WA : Pce(GA.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", l = e.nan === void 0 ? "NaN" : e.nan + "";
39574
39578
  function u(f) {
39575
39579
  f = Nu(f);
39576
- var d = f.fill, h = f.align, p = f.sign, m = f.symbol, g = f.zero, y = f.width, b = f.comma, v = f.precision, E = f.trim, w = f.type;
39577
- w === "n" ? (b = !0, w = "g") : jA[w] || (v === void 0 && (v = 12), E = !0, w = "g"), (g || d === "0" && h === "=") && (g = !0, d = "0", h = "=");
39578
- var _ = m === "$" ? n : m === "#" && /[boxX]/.test(w) ? "0" + w.toLowerCase() : "", S = m === "$" ? r : /[%p]/.test(w) ? o : "", M = jA[w], N = /[defgprs%]/.test(w);
39579
- v = v === void 0 ? 6 : /[gprs]/.test(w) ? Math.max(1, Math.min(21, v)) : Math.max(0, Math.min(20, v));
39580
+ var d = f.fill, h = f.align, p = f.sign, m = f.symbol, g = f.zero, y = f.width, b = f.comma, v = f.precision, w = f.trim, E = f.type;
39581
+ E === "n" ? (b = !0, E = "g") : jA[E] || (v === void 0 && (v = 12), w = !0, E = "g"), (g || d === "0" && h === "=") && (g = !0, d = "0", h = "=");
39582
+ var _ = m === "$" ? n : m === "#" && /[boxX]/.test(E) ? "0" + E.toLowerCase() : "", S = m === "$" ? r : /[%p]/.test(E) ? o : "", M = jA[E], N = /[defgprs%]/.test(E);
39583
+ v = v === void 0 ? 6 : /[gprs]/.test(E) ? Math.max(1, Math.min(21, v)) : Math.max(0, Math.min(20, v));
39580
39584
  function T(O) {
39581
39585
  var z = _, B = S, I, R, $;
39582
- if (w === "c")
39586
+ if (E === "c")
39583
39587
  B = M(O) + B, O = "";
39584
39588
  else {
39585
39589
  O = +O;
39586
39590
  var U = O < 0 || 1 / O < 0;
39587
- if (O = isNaN(O) ? l : M(Math.abs(O), v), E && (O = Uce(O)), U && +O == 0 && p !== "+" && (U = !1), z = (U ? p === "(" ? p : s : p === "-" || p === "(" ? "" : p) + z, B = (w === "s" ? VA[8 + aI / 3] : "") + B + (U && p === "(" ? ")" : ""), N) {
39591
+ if (O = isNaN(O) ? l : M(Math.abs(O), v), w && (O = Uce(O)), U && +O == 0 && p !== "+" && (U = !1), z = (U ? p === "(" ? p : s : p === "-" || p === "(" ? "" : p) + z, B = (E === "s" ? VA[8 + aI / 3] : "") + B + (U && p === "(" ? ")" : ""), N) {
39588
39592
  for (I = -1, R = O.length; ++I < R; )
39589
39593
  if ($ = O.charCodeAt(I), 48 > $ || $ > 57) {
39590
39594
  B = ($ === 46 ? i + O.slice(I + 1) : O.slice(I)) + B, O = O.slice(0, I);
@@ -40078,7 +40082,7 @@ function DI(e) {
40078
40082
  Y: Yfe,
40079
40083
  Z: Kfe,
40080
40084
  "%": iC
40081
- }, E = {
40085
+ }, w = {
40082
40086
  a: F,
40083
40087
  A: ae,
40084
40088
  b: ie,
@@ -40111,7 +40115,7 @@ function DI(e) {
40111
40115
  Y: f0e,
40112
40116
  Z: h0e,
40113
40117
  "%": iC
40114
- }, w = {
40118
+ }, E = {
40115
40119
  a: T,
40116
40120
  A: O,
40117
40121
  b: z,
@@ -40145,7 +40149,7 @@ function DI(e) {
40145
40149
  Z: _fe,
40146
40150
  "%": Dfe
40147
40151
  };
40148
- v.x = _(n, v), v.X = _(r, v), v.c = _(t, v), E.x = _(n, E), E.X = _(r, E), E.c = _(t, E);
40152
+ v.x = _(n, v), v.X = _(r, v), v.c = _(t, v), w.x = _(n, w), w.X = _(r, w), w.c = _(t, w);
40149
40153
  function _(ne, fe) {
40150
40154
  return function(Ne) {
40151
40155
  var G = [], et = -1, Ve = 0, nt = ne.length, Be, Ft, Re;
@@ -40171,7 +40175,7 @@ function DI(e) {
40171
40175
  for (var et = 0, Ve = fe.length, nt = Ne.length, Be, Ft; et < Ve; ) {
40172
40176
  if (G >= nt) return -1;
40173
40177
  if (Be = fe.charCodeAt(et++), Be === 37) {
40174
- if (Be = fe.charAt(et++), Ft = w[Be in ZA ? fe.charAt(et++) : Be], !Ft || (G = Ft(ne, Ne, G)) < 0) return -1;
40178
+ if (Be = fe.charAt(et++), Ft = E[Be in ZA ? fe.charAt(et++) : Be], !Ft || (G = Ft(ne, Ne, G)) < 0) return -1;
40175
40179
  } else if (Be != Ne.charCodeAt(G++))
40176
40180
  return -1;
40177
40181
  }
@@ -40256,7 +40260,7 @@ function DI(e) {
40256
40260
  }, fe;
40257
40261
  },
40258
40262
  utcFormat: function(ne) {
40259
- var fe = _(ne += "", E);
40263
+ var fe = _(ne += "", w);
40260
40264
  return fe.toString = function() {
40261
40265
  return ne;
40262
40266
  }, fe;
@@ -40604,7 +40608,7 @@ function fg(e) {
40604
40608
  function sC(e, t, n) {
40605
40609
  n = n || {}, Ee(n) || ee(`Invalid time multi-format specifier: ${n}`);
40606
40610
  const r = t(Hi), i = t(xi), a = t(vi), o = t(Yr), s = t(xn), l = t(ar), u = t(Vr), c = t(Wn), f = e(n[ya] || ".%L"), d = e(n[Hi] || ":%S"), h = e(n[xi] || "%I:%M"), p = e(n[vi] || "%I %p"), m = e(n[Yr] || n[er] || "%a %d"), g = e(n[xn] || "%b %d"), y = e(n[ar] || "%B"), b = e(n[Vr] || "%B"), v = e(n[Wn] || "%Y");
40607
- return (E) => (r(E) < E ? f : i(E) < E ? d : a(E) < E ? h : o(E) < E ? p : l(E) < E ? s(E) < E ? m : g : c(E) < E ? u(E) < E ? y : b : v)(E);
40611
+ return (w) => (r(w) < w ? f : i(w) < w ? d : a(w) < w ? h : o(w) < w ? p : l(w) < w ? s(w) < w ? m : g : c(w) < w ? u(w) < w ? y : b : v)(w);
40608
40612
  }
40609
40613
  function UI(e) {
40610
40614
  const t = wd(e.format), n = wd(e.utcFormat);
@@ -40895,8 +40899,8 @@ function sc() {
40895
40899
  m = e[f], g = Le(m), u[g] ? u[g] = 1 : s.add.push(yt(e[f]));
40896
40900
  for (f = 0, d = l.length; f < d; ++f)
40897
40901
  m = l[f], u[Le(m)] < 0 && s.rem.push(m);
40898
- function y(b, v, E) {
40899
- E ? b[v] = E(b) : s.encode = v, o || (c[Le(b)] = b);
40902
+ function y(b, v, w) {
40903
+ w ? b[v] = w(b) : s.encode = v, o || (c[Le(b)] = b);
40900
40904
  }
40901
40905
  for (f = 0, d = n.length; f < d; ++f)
40902
40906
  h = n[f], m = h.tuple, p = h.field, g = u[Le(m)], g > 0 && (y(m, p, h.value), s.modifies(p));
@@ -42273,9 +42277,9 @@ function Ew(e, t, n) {
42273
42277
  let l = 0, u = 0, c = 0, f = 0, d = 0, h, p, m, g;
42274
42278
  for (h = 0; h < s; )
42275
42279
  p = r[h], m = i[h++], g = p * p, l += (g - l) / h, u += (g * p - u) / h, c += (g * g - c) / h, f += (p * m - f) / h, d += (g * m - d) / h;
42276
- const y = c - l * l, b = l * y - u * u, v = (d * l - f * u) / b, E = (f * y - d * u) / b, w = -v * l, _ = (S) => (S = S - a, v * S * S + E * S + w + o);
42280
+ const y = c - l * l, b = l * y - u * u, v = (d * l - f * u) / b, w = (f * y - d * u) / b, E = -v * l, _ = (S) => (S = S - a, v * S * S + w * S + E + o);
42277
42281
  return {
42278
- coef: [w - E * a + v * a * a + o, E - 2 * v * a, v],
42282
+ coef: [E - w * a + v * a * a + o, w - 2 * v * a, v],
42279
42283
  predict: _,
42280
42284
  rSquared: y0(e, t, n, o, _)
42281
42285
  };
@@ -42299,9 +42303,9 @@ function gL(e, t, n, r) {
42299
42303
  c.push(u);
42300
42304
  const y = Sde(c), b = (v) => {
42301
42305
  v -= o;
42302
- let E = s + y[0] + y[1] * v + y[2] * v * v;
42303
- for (d = 3; d < f; ++d) E += y[d] * Math.pow(v, d);
42304
- return E;
42306
+ let w = s + y[0] + y[1] * v + y[2] * v * v;
42307
+ for (d = 3; d < f; ++d) w += y[d] * Math.pow(v, d);
42308
+ return w;
42305
42309
  };
42306
42310
  return {
42307
42311
  coef: kde(f, y, -o, s),
@@ -42343,14 +42347,14 @@ function yL(e, t, n, r) {
42343
42347
  for (let h = -1; ++h <= gC; ) {
42344
42348
  const p = [0, u - 1];
42345
42349
  for (let g = 0; g < l; ++g) {
42346
- const y = i[g], b = p[0], v = p[1], E = y - i[b] > i[v] - y ? b : v;
42347
- let w = 0, _ = 0, S = 0, M = 0, N = 0;
42348
- const T = 1 / Math.abs(i[E] - y || 1);
42350
+ const y = i[g], b = p[0], v = p[1], w = y - i[b] > i[v] - y ? b : v;
42351
+ let E = 0, _ = 0, S = 0, M = 0, N = 0;
42352
+ const T = 1 / Math.abs(i[w] - y || 1);
42349
42353
  for (let B = b; B <= v; ++B) {
42350
42354
  const I = i[B], R = a[B], $ = Ade(Math.abs(y - I) * T) * d[B], U = I * $;
42351
- w += $, _ += U, S += R * $, M += R * U, N += I * U;
42355
+ E += $, _ += U, S += R * $, M += R * U, N += I * U;
42352
42356
  }
42353
- const [O, z] = np(_ / w, S / w, M / w, N / w);
42357
+ const [O, z] = np(_ / E, S / E, M / E, N / E);
42354
42358
  c[g] = O + z * y, f[g] = Math.abs(a[g] - c[g]), Cde(i, g + 1, p);
42355
42359
  }
42356
42360
  if (h === gC)
@@ -42794,10 +42798,10 @@ ge(fl, Z, {
42794
42798
  init(e) {
42795
42799
  const t = this._inputs = [], n = this._outputs = [], r = {};
42796
42800
  function i(b) {
42797
- const v = we(ir(b)), E = v.length;
42798
- let w = 0, _;
42799
- for (; w < E; ++w)
42800
- r[_ = v[w]] || (r[_] = 1, t.push(_));
42801
+ const v = we(ir(b)), w = v.length;
42802
+ let E = 0, _;
42803
+ for (; E < w; ++E)
42804
+ r[_ = v[E]] || (r[_] = 1, t.push(_));
42801
42805
  }
42802
42806
  this._dims = we(e.groupby), this._dnames = this._dims.map((b) => {
42803
42807
  const v = rn(b);
@@ -43662,14 +43666,14 @@ function Jde(e) {
43662
43666
  }
43663
43667
  ge(Lw, Z, {
43664
43668
  transform(e, t) {
43665
- var n = t.fork(t.ALL), r = Qde(e), i = Jde(e), a = rn(e.field), o = rn(e.key), s = (e.groupby || []).map(rn), l = ehe(t.source, e.groupby, e.key, e.keyvals), u = [], c = this.value, f = l.domain.length, d, h, p, m, g, y, b, v, E, w;
43669
+ var n = t.fork(t.ALL), r = Qde(e), i = Jde(e), a = rn(e.field), o = rn(e.key), s = (e.groupby || []).map(rn), l = ehe(t.source, e.groupby, e.key, e.keyvals), u = [], c = this.value, f = l.domain.length, d, h, p, m, g, y, b, v, w, E;
43666
43670
  for (g = 0, v = l.length; g < v; ++g)
43667
43671
  for (d = l[g], p = d.values, h = NaN, b = 0; b < f; ++b)
43668
43672
  if (d[b] == null) {
43669
- for (m = l.domain[b], w = {
43673
+ for (m = l.domain[b], E = {
43670
43674
  _impute: !0
43671
- }, y = 0, E = p.length; y < E; ++y) w[s[y]] = p[y];
43672
- w[o] = m, w[a] = Number.isNaN(h) ? h = r(d, i) : h, u.push(yt(w));
43675
+ }, y = 0, w = p.length; y < w; ++y) E[s[y]] = p[y];
43676
+ E[o] = m, E[a] = Number.isNaN(h) ? h = r(d, i) : h, u.push(yt(E));
43673
43677
  }
43674
43678
  return u.length && (n.add = n.materialize(n.ADD).add.concat(u)), c.length && (n.rem = n.materialize(n.REM).rem.concat(c)), this.value = u, n;
43675
43679
  }
@@ -44412,17 +44416,17 @@ function HL(e) {
44412
44416
  we(ir(p)).forEach((m) => l[m] = 1);
44413
44417
  }
44414
44418
  h(e.sort), t.forEach((p, m) => {
44415
- const g = n[m], y = r[m], b = i[m] || null, v = rn(g), E = bL(p, v, a[m]);
44416
- if (h(g), o.push(E), Se(yh, p))
44417
- s.push(che(p, g, y, E));
44419
+ const g = n[m], y = r[m], b = i[m] || null, v = rn(g), w = bL(p, v, a[m]);
44420
+ if (h(g), o.push(w), Se(yh, p))
44421
+ s.push(che(p, g, y, w));
44418
44422
  else {
44419
44423
  if (g == null && p !== "count" && ee("Null aggregate field specified."), p === "count") {
44420
- c.push(E);
44424
+ c.push(w);
44421
44425
  return;
44422
44426
  }
44423
44427
  d = !1;
44424
- let w = u[v];
44425
- w || (w = u[v] = [], w.field = g, f.push(w)), w.push(vL(p, b, E));
44428
+ let E = u[v];
44429
+ E || (E = u[v] = [], E.field = g, f.push(E)), E.push(vL(p, b, w));
44426
44430
  }
44427
44431
  }), (c.length || f.length) && (this.cell = hhe(f, c, d)), this.inputs = Object.keys(l);
44428
44432
  }
@@ -44662,8 +44666,8 @@ let Yw = class {
44662
44666
  else if (d > iu) if (!(Math.abs(f * l - u * c) > iu) || !a)
44663
44667
  this._append`L${this._x1 = t},${this._y1 = n}`;
44664
44668
  else {
44665
- let h = r - o, p = i - s, m = l * l + u * u, g = h * h + p * p, y = Math.sqrt(m), b = Math.sqrt(d), v = a * Math.tan((D3 - Math.acos((m + d - g) / (2 * y * b))) / 2), E = v / b, w = v / y;
44666
- Math.abs(E - 1) > iu && this._append`L${t + E * c},${n + E * f}`, this._append`A${a},${a},0,0,${+(f * h > c * p)},${this._x1 = t + w * l},${this._y1 = n + w * u}`;
44669
+ let h = r - o, p = i - s, m = l * l + u * u, g = h * h + p * p, y = Math.sqrt(m), b = Math.sqrt(d), v = a * Math.tan((D3 - Math.acos((m + d - g) / (2 * y * b))) / 2), w = v / b, E = v / y;
44670
+ Math.abs(w - 1) > iu && this._append`L${t + w * c},${n + w * f}`, this._append`A${a},${a},0,0,${+(f * h > c * p)},${this._x1 = t + E * l},${this._y1 = n + E * u}`;
44667
44671
  }
44668
44672
  }
44669
44673
  arc(t, n, r, i, a, o) {
@@ -44717,14 +44721,14 @@ function Che(e, t, n, r, i, a, o, s) {
44717
44721
  return d = (c * (t - a) - f * (e - i)) / d, [e + d * l, t + d * u];
44718
44722
  }
44719
44723
  function Cm(e, t, n, r, i, a, o) {
44720
- var s = e - n, l = t - r, u = (o ? a : -a) / du(s * s + l * l), c = u * l, f = -u * s, d = e + c, h = t + f, p = n + c, m = r + f, g = (d + p) / 2, y = (h + m) / 2, b = p - d, v = m - h, E = b * b + v * v, w = i - a, _ = d * m - p * h, S = (v < 0 ? -1 : 1) * du(bhe(0, w * w * E - _ * _)), M = (_ * v - b * S) / E, N = (-_ * b - v * S) / E, T = (_ * v + b * S) / E, O = (-_ * b + v * S) / E, z = M - g, B = N - y, I = T - g, R = O - y;
44724
+ var s = e - n, l = t - r, u = (o ? a : -a) / du(s * s + l * l), c = u * l, f = -u * s, d = e + c, h = t + f, p = n + c, m = r + f, g = (d + p) / 2, y = (h + m) / 2, b = p - d, v = m - h, w = b * b + v * v, E = i - a, _ = d * m - p * h, S = (v < 0 ? -1 : 1) * du(bhe(0, E * E * w - _ * _)), M = (_ * v - b * S) / w, N = (-_ * b - v * S) / w, T = (_ * v + b * S) / w, O = (-_ * b + v * S) / w, z = M - g, B = N - y, I = T - g, R = O - y;
44721
44725
  return z * z + B * B > I * I + R * R && (M = T, N = O), {
44722
44726
  cx: M,
44723
44727
  cy: N,
44724
44728
  x01: -c,
44725
44729
  y01: -f,
44726
- x11: M * (i / w - 1),
44727
- y11: N * (i / w - 1)
44730
+ x11: M * (i / E - 1),
44731
+ y11: N * (i / E - 1)
44728
44732
  };
44729
44733
  }
44730
44734
  function The() {
@@ -44735,14 +44739,14 @@ function The() {
44735
44739
  else if (g > WL - Zn)
44736
44740
  s.moveTo(h * Wl(p), h * $a(p)), s.arc(0, 0, h, p, m, !y), d > Zn && (s.moveTo(d * Wl(m), d * $a(m)), s.arc(0, 0, d, m, p, y));
44737
44741
  else {
44738
- var b = p, v = m, E = p, w = m, _ = g, S = g, M = o.apply(this, arguments) / 2, N = M > Zn && (r ? +r.apply(this, arguments) : du(d * d + h * h)), T = vv(xC(h - d) / 2, +n.apply(this, arguments)), O = T, z = T, B, I;
44742
+ var b = p, v = m, w = p, E = m, _ = g, S = g, M = o.apply(this, arguments) / 2, N = M > Zn && (r ? +r.apply(this, arguments) : du(d * d + h * h)), T = vv(xC(h - d) / 2, +n.apply(this, arguments)), O = T, z = T, B, I;
44739
44743
  if (N > Zn) {
44740
44744
  var R = wC(N / d * $a(M)), $ = wC(N / h * $a(M));
44741
- (_ -= R * 2) > Zn ? (R *= y ? 1 : -1, E += R, w -= R) : (_ = 0, E = w = (p + m) / 2), (S -= $ * 2) > Zn ? ($ *= y ? 1 : -1, b += $, v -= $) : (S = 0, b = v = (p + m) / 2);
44745
+ (_ -= R * 2) > Zn ? (R *= y ? 1 : -1, w += R, E -= R) : (_ = 0, w = E = (p + m) / 2), (S -= $ * 2) > Zn ? ($ *= y ? 1 : -1, b += $, v -= $) : (S = 0, b = v = (p + m) / 2);
44742
44746
  }
44743
- var U = h * Wl(b), q = h * $a(b), W = d * Wl(w), A = d * $a(w);
44747
+ var U = h * Wl(b), q = h * $a(b), W = d * Wl(E), A = d * $a(E);
44744
44748
  if (T > Zn) {
44745
- var V = h * Wl(v), X = h * $a(v), F = d * Wl(E), ae = d * $a(E), ie;
44749
+ var V = h * Wl(v), X = h * $a(v), F = d * Wl(w), ae = d * $a(w), ie;
44746
44750
  if (g < Sf)
44747
44751
  if (ie = Che(U, q, F, ae, V, X, W, A)) {
44748
44752
  var ye = U - ie[0], Te = q - ie[1], Ce = V - ie[0], ne = X - ie[1], fe = 1 / $a(vhe((ye * Ce + Te * ne) / (du(ye * ye + Te * Te) * du(Ce * Ce + ne * ne))) / 2), Ne = du(ie[0] * ie[0] + ie[1] * ie[1]);
@@ -44750,7 +44754,7 @@ function The() {
44750
44754
  } else
44751
44755
  O = z = 0;
44752
44756
  }
44753
- S > Zn ? z > Zn ? (B = Cm(F, ae, U, q, h, z, y), I = Cm(V, X, W, A, h, z, y), s.moveTo(B.cx + B.x01, B.cy + B.y01), z < T ? s.arc(B.cx, B.cy, z, Xn(B.y01, B.x01), Xn(I.y01, I.x01), !y) : (s.arc(B.cx, B.cy, z, Xn(B.y01, B.x01), Xn(B.y11, B.x11), !y), s.arc(0, 0, h, Xn(B.cy + B.y11, B.cx + B.x11), Xn(I.cy + I.y11, I.cx + I.x11), !y), s.arc(I.cx, I.cy, z, Xn(I.y11, I.x11), Xn(I.y01, I.x01), !y))) : (s.moveTo(U, q), s.arc(0, 0, h, b, v, !y)) : s.moveTo(U, q), !(d > Zn) || !(_ > Zn) ? s.lineTo(W, A) : O > Zn ? (B = Cm(W, A, V, X, d, -O, y), I = Cm(U, q, F, ae, d, -O, y), s.lineTo(B.cx + B.x01, B.cy + B.y01), O < T ? s.arc(B.cx, B.cy, O, Xn(B.y01, B.x01), Xn(I.y01, I.x01), !y) : (s.arc(B.cx, B.cy, O, Xn(B.y01, B.x01), Xn(B.y11, B.x11), !y), s.arc(0, 0, d, Xn(B.cy + B.y11, B.cx + B.x11), Xn(I.cy + I.y11, I.cx + I.x11), y), s.arc(I.cx, I.cy, O, Xn(I.y11, I.x11), Xn(I.y01, I.x01), !y))) : s.arc(0, 0, d, w, E, y);
44757
+ S > Zn ? z > Zn ? (B = Cm(F, ae, U, q, h, z, y), I = Cm(V, X, W, A, h, z, y), s.moveTo(B.cx + B.x01, B.cy + B.y01), z < T ? s.arc(B.cx, B.cy, z, Xn(B.y01, B.x01), Xn(I.y01, I.x01), !y) : (s.arc(B.cx, B.cy, z, Xn(B.y01, B.x01), Xn(B.y11, B.x11), !y), s.arc(0, 0, h, Xn(B.cy + B.y11, B.cx + B.x11), Xn(I.cy + I.y11, I.cx + I.x11), !y), s.arc(I.cx, I.cy, z, Xn(I.y11, I.x11), Xn(I.y01, I.x01), !y))) : (s.moveTo(U, q), s.arc(0, 0, h, b, v, !y)) : s.moveTo(U, q), !(d > Zn) || !(_ > Zn) ? s.lineTo(W, A) : O > Zn ? (B = Cm(W, A, V, X, d, -O, y), I = Cm(U, q, F, ae, d, -O, y), s.lineTo(B.cx + B.x01, B.cy + B.y01), O < T ? s.arc(B.cx, B.cy, O, Xn(B.y01, B.x01), Xn(I.y01, I.x01), !y) : (s.arc(B.cx, B.cy, O, Xn(B.y01, B.x01), Xn(B.y11, B.x11), !y), s.arc(0, 0, d, Xn(B.cy + B.y11, B.cx + B.x11), Xn(I.cy + I.y11, I.cx + I.x11), y), s.arc(I.cx, I.cy, O, Xn(I.y11, I.x11), Xn(I.y01, I.x01), !y))) : s.arc(0, 0, d, E, w, y);
44754
44758
  }
44755
44759
  if (s.closePath(), c) return s = null, c + "" || null;
44756
44760
  }
@@ -44841,17 +44845,17 @@ function QL(e, t, n) {
44841
44845
  var r = null, i = xt(!0), a = null, o = Xw, s = null, l = A2(u);
44842
44846
  e = typeof e == "function" ? e : e === void 0 ? XL : xt(+e), t = typeof t == "function" ? t : xt(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? KL : xt(+n);
44843
44847
  function u(f) {
44844
- var d, h, p, m = (f = VL(f)).length, g, y = !1, b, v = new Array(m), E = new Array(m);
44848
+ var d, h, p, m = (f = VL(f)).length, g, y = !1, b, v = new Array(m), w = new Array(m);
44845
44849
  for (a == null && (s = o(b = l())), d = 0; d <= m; ++d) {
44846
44850
  if (!(d < m && i(g = f[d], d, f)) === y)
44847
44851
  if (y = !y)
44848
44852
  h = d, s.areaStart(), s.lineStart();
44849
44853
  else {
44850
44854
  for (s.lineEnd(), s.lineStart(), p = d - 1; p >= h; --p)
44851
- s.point(v[p], E[p]);
44855
+ s.point(v[p], w[p]);
44852
44856
  s.lineEnd(), s.areaEnd();
44853
44857
  }
44854
- y && (v[d] = +e(g, d, f), E[d] = +t(g, d, f), s.point(r ? +r(g, d, f) : v[d], n ? +n(g, d, f) : E[d]));
44858
+ y && (v[d] = +e(g, d, f), w[d] = +t(g, d, f), s.point(r ? +r(g, d, f) : v[d], n ? +n(g, d, f) : w[d]));
44855
44859
  }
44856
44860
  if (b) return s = null, b + "" || null;
44857
44861
  }
@@ -46281,13 +46285,13 @@ const kpe = function e(t, n, r) {
46281
46285
  ];
46282
46286
  };
46283
46287
  else {
46284
- var b = Math.sqrt(m), v = (d * d - u * u + r * m) / (2 * u * n * b), E = (d * d - u * u - r * m) / (2 * d * n * b), w = Math.log(Math.sqrt(v * v + 1) - v), _ = Math.log(Math.sqrt(E * E + 1) - E);
46285
- y = (_ - w) / t, g = function(S) {
46286
- var M = S * y, N = zC(w), T = u / (n * b) * (N * _pe(t * M + w) - Epe(w));
46288
+ var b = Math.sqrt(m), v = (d * d - u * u + r * m) / (2 * u * n * b), w = (d * d - u * u - r * m) / (2 * d * n * b), E = Math.log(Math.sqrt(v * v + 1) - v), _ = Math.log(Math.sqrt(w * w + 1) - w);
46289
+ y = (_ - E) / t, g = function(S) {
46290
+ var M = S * y, N = zC(E), T = u / (n * b) * (N * _pe(t * M + E) - Epe(E));
46287
46291
  return [
46288
46292
  s + T * h,
46289
46293
  l + T * p,
46290
- u * N / zC(t * M + w)
46294
+ u * N / zC(t * M + E)
46291
46295
  ];
46292
46296
  };
46293
46297
  }
@@ -46731,9 +46735,9 @@ function Vpe(e) {
46731
46735
  return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
46732
46736
  }
46733
46737
  function c8(e, t, n, r, i, a, o, s, l, u) {
46734
- var c = Fz(), f = c.invert, d = c.domain, h = u(".%L"), p = u(":%S"), m = u("%I:%M"), g = u("%I %p"), y = u("%a %d"), b = u("%b %d"), v = u("%B"), E = u("%Y");
46735
- function w(_) {
46736
- return (l(_) < _ ? h : s(_) < _ ? p : o(_) < _ ? m : a(_) < _ ? g : r(_) < _ ? i(_) < _ ? y : b : n(_) < _ ? v : E)(_);
46738
+ var c = Fz(), f = c.invert, d = c.domain, h = u(".%L"), p = u(":%S"), m = u("%I:%M"), g = u("%I %p"), y = u("%a %d"), b = u("%b %d"), v = u("%B"), w = u("%Y");
46739
+ function E(_) {
46740
+ return (l(_) < _ ? h : s(_) < _ ? p : o(_) < _ ? m : a(_) < _ ? g : r(_) < _ ? i(_) < _ ? y : b : n(_) < _ ? v : w)(_);
46737
46741
  }
46738
46742
  return c.invert = function(_) {
46739
46743
  return new Date(f(_));
@@ -46743,7 +46747,7 @@ function c8(e, t, n, r, i, a, o, s, l, u) {
46743
46747
  var S = d();
46744
46748
  return e(S[0], S[S.length - 1], _ ?? 10);
46745
46749
  }, c.tickFormat = function(_, S) {
46746
- return S == null ? w : u(S);
46750
+ return S == null ? E : u(S);
46747
46751
  }, c.nice = function(_) {
46748
46752
  var S = d();
46749
46753
  return (!_ || typeof _.range != "function") && (_ = t(S[0], S[S.length - 1], _ ?? 10)), _ ? d(Pz(S, _)) : c;
@@ -47409,12 +47413,12 @@ function Hme(e, t, n, r, i, a, o, s, l) {
47409
47413
  const h = d * (s - e) * 0.5 + f * (l - t) * 0.5, p = d * (l - t) * 0.5 - f * (s - e) * 0.5;
47410
47414
  let m = h * h / (n * n) + p * p / (r * r);
47411
47415
  m > 1 && (m = Math.sqrt(m), n *= m, r *= m);
47412
- const g = d / n, y = f / n, b = -f / r, v = d / r, E = g * s + y * l, w = b * s + v * l, _ = g * e + y * t, S = b * e + v * t;
47413
- let N = 1 / ((_ - E) * (_ - E) + (S - w) * (S - w)) - 0.25;
47416
+ const g = d / n, y = f / n, b = -f / r, v = d / r, w = g * s + y * l, E = b * s + v * l, _ = g * e + y * t, S = b * e + v * t;
47417
+ let N = 1 / ((_ - w) * (_ - w) + (S - E) * (S - E)) - 0.25;
47414
47418
  N < 0 && (N = 0);
47415
47419
  let T = Math.sqrt(N);
47416
47420
  a == i && (T = -T);
47417
- const O = 0.5 * (E + _) - T * (S - w), z = 0.5 * (w + S) + T * (_ - E), B = Math.atan2(w - z, E - O);
47421
+ const O = 0.5 * (w + _) - T * (S - E), z = 0.5 * (E + S) + T * (_ - w), B = Math.atan2(E - z, w - O);
47418
47422
  let R = Math.atan2(S - z, _ - O) - B;
47419
47423
  R < 0 && a === 1 ? R += ja : R > 0 && a === 0 && (R -= ja);
47420
47424
  const $ = Math.ceil(Math.abs(R / (lu + 1e-3))), U = [];
@@ -47429,8 +47433,8 @@ function jme(e) {
47429
47433
  if (Tv[t])
47430
47434
  return Tv[t];
47431
47435
  var n = e[0], r = e[1], i = e[2], a = e[3], o = e[4], s = e[5], l = e[6], u = e[7];
47432
- const c = u * o, f = -l * s, d = l * o, h = u * s, p = Math.cos(i), m = Math.sin(i), g = Math.cos(a), y = Math.sin(a), b = 0.5 * (a - i), v = Math.sin(b * 0.5), E = 8 / 3 * v * v / Math.sin(b), w = n + p - E * m, _ = r + m + E * p, S = n + g, M = r + y, N = S + E * y, T = M - E * g;
47433
- return Tv[t] = [c * w + f * _, d * w + h * _, c * N + f * T, d * N + h * T, c * S + f * M, d * S + h * M];
47436
+ const c = u * o, f = -l * s, d = l * o, h = u * s, p = Math.cos(i), m = Math.sin(i), g = Math.cos(a), y = Math.sin(a), b = 0.5 * (a - i), v = Math.sin(b * 0.5), w = 8 / 3 * v * v / Math.sin(b), E = n + p - w * m, _ = r + m + w * p, S = n + g, M = r + y, N = S + w * y, T = M - w * g;
47437
+ return Tv[t] = [c * E + f * _, d * E + h * _, c * N + f * T, d * N + h * T, c * S + f * M, d * S + h * M];
47434
47438
  }
47435
47439
  const Si = ["l", 0, 0, 0, 0, 0, 0, 0];
47436
47440
  function Wme(e, t, n) {
@@ -47659,12 +47663,12 @@ function Dm(e, t, n) {
47659
47663
  function EP() {
47660
47664
  var e = Vme, t = Yme, n = Xme, r = Kme, i = Io(0), a = i, o = i, s = i, l = null;
47661
47665
  function u(c, f, d) {
47662
- var h, p = f ?? +e.call(this, c), m = d ?? +t.call(this, c), g = +n.call(this, c), y = +r.call(this, c), b = Math.min(g, y) / 2, v = Dm(+i.call(this, c), 0, b), E = Dm(+a.call(this, c), 0, b), w = Dm(+o.call(this, c), 0, b), _ = Dm(+s.call(this, c), 0, b);
47663
- if (l || (l = h = S2()), v <= 0 && E <= 0 && w <= 0 && _ <= 0)
47666
+ var h, p = f ?? +e.call(this, c), m = d ?? +t.call(this, c), g = +n.call(this, c), y = +r.call(this, c), b = Math.min(g, y) / 2, v = Dm(+i.call(this, c), 0, b), w = Dm(+a.call(this, c), 0, b), E = Dm(+o.call(this, c), 0, b), _ = Dm(+s.call(this, c), 0, b);
47667
+ if (l || (l = h = S2()), v <= 0 && w <= 0 && E <= 0 && _ <= 0)
47664
47668
  l.rect(p, m, g, y);
47665
47669
  else {
47666
47670
  var S = p + g, M = m + y;
47667
- l.moveTo(p + v, m), l.lineTo(S - E, m), l.bezierCurveTo(S - Os * E, m, S, m + Os * E, S, m + E), l.lineTo(S, M - _), l.bezierCurveTo(S, M - Os * _, S - Os * _, M, S - _, M), l.lineTo(p + w, M), l.bezierCurveTo(p + Os * w, M, p, M - Os * w, p, M - w), l.lineTo(p, m + v), l.bezierCurveTo(p, m + Os * v, p + Os * v, m, p + v, m), l.closePath();
47671
+ l.moveTo(p + v, m), l.lineTo(S - w, m), l.bezierCurveTo(S - Os * w, m, S, m + Os * w, S, m + w), l.lineTo(S, M - _), l.bezierCurveTo(S, M - Os * _, S - Os * _, M, S - _, M), l.lineTo(p + E, M), l.bezierCurveTo(p + Os * E, M, p, M - Os * E, p, M - E), l.lineTo(p, m + v), l.bezierCurveTo(p, m + Os * v, p + Os * v, m, p + v, m), l.closePath();
47668
47672
  }
47669
47673
  if (h)
47670
47674
  return l = null, h + "" || null;
@@ -47690,8 +47694,8 @@ function _P() {
47690
47694
  if (a) {
47691
47695
  var m = s - d, g = f - o;
47692
47696
  if (m || g) {
47693
- var y = Math.hypot(m, g), b = (m /= y) * l, v = (g /= y) * l, E = Math.atan2(g, m);
47694
- i.moveTo(o - b, s - v), i.lineTo(f - m * p, d - g * p), i.arc(f, d, p, E - Math.PI, E), i.lineTo(o + b, s + v), i.arc(o, s, l, E, E + Math.PI);
47697
+ var y = Math.hypot(m, g), b = (m /= y) * l, v = (g /= y) * l, w = Math.atan2(g, m);
47698
+ i.moveTo(o - b, s - v), i.lineTo(f - m * p, d - g * p), i.arc(f, d, p, w - Math.PI, w), i.lineTo(o + b, s + v), i.arc(o, s, l, w, w + Math.PI);
47695
47699
  } else
47696
47700
  i.arc(f, d, p, 0, ja);
47697
47701
  i.closePath();
@@ -50163,19 +50167,19 @@ function Tye(e) {
50163
50167
  ];
50164
50168
  }
50165
50169
  function Mye(e, t, n, r) {
50166
- var i = t.items[0], a = i.datum, o = i.translate != null ? i.translate : 0.5, s = i.orient, l = Tye(a), u = i.range, c = i.offset, f = i.position, d = i.minExtent, h = i.maxExtent, p = a.title && i.items[l[2]].items[0], m = i.titlePadding, g = i.bounds, y = p && B8(p), b = 0, v = 0, E, w;
50167
- switch (Qn.clear().union(g), g.clear(), (E = l[0]) > -1 && g.union(i.items[E].bounds), (E = l[1]) > -1 && g.union(i.items[E].bounds), s) {
50170
+ var i = t.items[0], a = i.datum, o = i.translate != null ? i.translate : 0.5, s = i.orient, l = Tye(a), u = i.range, c = i.offset, f = i.position, d = i.minExtent, h = i.maxExtent, p = a.title && i.items[l[2]].items[0], m = i.titlePadding, g = i.bounds, y = p && B8(p), b = 0, v = 0, w, E;
50171
+ switch (Qn.clear().union(g), g.clear(), (w = l[0]) > -1 && g.union(i.items[w].bounds), (w = l[1]) > -1 && g.union(i.items[w].bounds), s) {
50168
50172
  case Rf:
50169
- b = f || 0, v = -c, w = Math.max(d, Math.min(h, -g.y1)), g.add(0, -w).add(u, 0), p && $m(e, p, w, m, y, 0, -1, g);
50173
+ b = f || 0, v = -c, E = Math.max(d, Math.min(h, -g.y1)), g.add(0, -E).add(u, 0), p && $m(e, p, E, m, y, 0, -1, g);
50170
50174
  break;
50171
50175
  case la:
50172
- b = -c, v = f || 0, w = Math.max(d, Math.min(h, -g.x1)), g.add(-w, 0).add(0, u), p && $m(e, p, w, m, y, 1, -1, g);
50176
+ b = -c, v = f || 0, E = Math.max(d, Math.min(h, -g.x1)), g.add(-E, 0).add(0, u), p && $m(e, p, E, m, y, 1, -1, g);
50173
50177
  break;
50174
50178
  case ua:
50175
- b = n + c, v = f || 0, w = Math.max(d, Math.min(h, g.x2)), g.add(0, 0).add(w, u), p && $m(e, p, w, m, y, 1, 1, g);
50179
+ b = n + c, v = f || 0, E = Math.max(d, Math.min(h, g.x2)), g.add(0, 0).add(E, u), p && $m(e, p, E, m, y, 1, 1, g);
50176
50180
  break;
50177
50181
  case yl:
50178
- b = f || 0, v = r + c, w = Math.max(d, Math.min(h, g.y2)), g.add(0, 0).add(u, w), p && $m(e, p, w, m, 0, 0, 1, g);
50182
+ b = f || 0, v = r + c, E = Math.max(d, Math.min(h, g.y2)), g.add(0, 0).add(u, E), p && $m(e, p, E, m, 0, 0, 1, g);
50179
50183
  break;
50180
50184
  default:
50181
50185
  b = i.x, v = i.y;
@@ -50248,11 +50252,11 @@ function CT(e) {
50248
50252
  return e < 0 ? Math.ceil(-e) : 0;
50249
50253
  }
50250
50254
  function IB(e, t, n) {
50251
- var r = !n.nodirty, i = n.bounds === rE ? Dye : Oye, a = Qn.set(0, 0, 0, 0), o = qt(n.align, Xs), s = qt(n.align, Ks), l = qt(n.padding, Xs), u = qt(n.padding, Ks), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), y = Array(f), b = 0, v = Array(d), E = Array(d), w = Array(d), _, S, M, N, T, O, z, B, I, R, $;
50255
+ var r = !n.nodirty, i = n.bounds === rE ? Dye : Oye, a = Qn.set(0, 0, 0, 0), o = qt(n.align, Xs), s = qt(n.align, Ks), l = qt(n.padding, Xs), u = qt(n.padding, Ks), c = n.columns || t.length, f = c <= 0 ? 1 : Math.ceil(t.length / c), d = t.length, h = Array(d), p = Array(c), m = 0, g = Array(d), y = Array(f), b = 0, v = Array(d), w = Array(d), E = Array(d), _, S, M, N, T, O, z, B, I, R, $;
50252
50256
  for (S = 0; S < c; ++S) p[S] = 0;
50253
50257
  for (S = 0; S < f; ++S) y[S] = 0;
50254
50258
  for (S = 0; S < d; ++S)
50255
- O = t[S], T = w[S] = i(O), O.x = O.x || 0, v[S] = 0, O.y = O.y || 0, E[S] = 0, M = S % c, N = ~~(S / c), m = Math.max(m, z = Math.ceil(T.x2)), b = Math.max(b, B = Math.ceil(T.y2)), p[M] = Math.max(p[M], z), y[N] = Math.max(y[N], B), h[S] = l + CT(T.x1), g[S] = u + CT(T.y1), r && e.dirty(t[S]);
50259
+ O = t[S], T = E[S] = i(O), O.x = O.x || 0, v[S] = 0, O.y = O.y || 0, w[S] = 0, M = S % c, N = ~~(S / c), m = Math.max(m, z = Math.ceil(T.x2)), b = Math.max(b, B = Math.ceil(T.y2)), p[M] = Math.max(p[M], z), y[N] = Math.max(y[N], B), h[S] = l + CT(T.x1), g[S] = u + CT(T.y1), r && e.dirty(t[S]);
50256
50260
  for (S = 0; S < d; ++S)
50257
50261
  S % c === 0 && (h[S] = 0), S < c && (g[S] = 0);
50258
50262
  if (o === e5)
@@ -50291,15 +50295,15 @@ function IB(e, t, n) {
50291
50295
  I = h[S] + (S % c ? I : 0), v[S] += I - t[S].x;
50292
50296
  for (M = 0; M < c; ++M)
50293
50297
  for (R = 0, S = M; S < d; S += c)
50294
- R += g[S], E[S] += R - t[S].y;
50298
+ R += g[S], w[S] += R - t[S].y;
50295
50299
  if (o && qt(n.center, Xs) && f > 1)
50296
50300
  for (S = 0; S < d; ++S)
50297
- T = o === Om ? m : p[S % c], I = T - w[S].x2 - t[S].x - v[S], I > 0 && (v[S] += I / 2);
50301
+ T = o === Om ? m : p[S % c], I = T - E[S].x2 - t[S].x - v[S], I > 0 && (v[S] += I / 2);
50298
50302
  if (s && qt(n.center, Ks) && c !== 1)
50299
50303
  for (S = 0; S < d; ++S)
50300
- T = s === Om ? b : y[~~(S / c)], R = T - w[S].y2 - t[S].y - E[S], R > 0 && (E[S] += R / 2);
50304
+ T = s === Om ? b : y[~~(S / c)], R = T - E[S].y2 - t[S].y - w[S], R > 0 && (w[S] += R / 2);
50301
50305
  for (S = 0; S < d; ++S)
50302
- a.union(w[S].translate(v[S], E[S]));
50306
+ a.union(E[S].translate(v[S], w[S]));
50303
50307
  switch (I = qt(n.anchor, gye), R = qt(n.anchor, yye), qt(n.anchor, Xs)) {
50304
50308
  case br:
50305
50309
  I -= a.width();
@@ -50317,7 +50321,7 @@ function IB(e, t, n) {
50317
50321
  for (I = Math.round(I), R = Math.round(R), a.clear(), S = 0; S < d; ++S)
50318
50322
  t[S].mark.bounds.clear();
50319
50323
  for (S = 0; S < d; ++S)
50320
- O = t[S], O.x += v[S] += I, O.y += E[S] += R, a.union(O.mark.bounds.union(O.bounds.translate(v[S], E[S]))), r && e.dirty(O);
50324
+ O = t[S], O.x += v[S] += I, O.y += w[S] += R, a.union(O.mark.bounds.union(O.bounds.translate(v[S], w[S]))), r && e.dirty(O);
50321
50325
  return a;
50322
50326
  }
50323
50327
  function Rye(e, t, n) {
@@ -50332,16 +50336,16 @@ function Fye(e, t) {
50332
50336
  return e.bounds[t];
50333
50337
  }
50334
50338
  function Fm(e, t, n, r, i, a, o, s, l, u, c, f, d, h) {
50335
- var p = n.length, m = 0, g = 0, y, b, v, E, w, _, S, M, N;
50339
+ var p = n.length, m = 0, g = 0, y, b, v, w, E, _, S, M, N;
50336
50340
  if (!p) return m;
50337
50341
  for (y = c; y < p; y += f)
50338
50342
  n[y] && (m = o(m, l(n[y], u)));
50339
50343
  if (!t.length) return m;
50340
- for (t.length > i && (e.warn("Grid headers exceed limit: " + i), t = t.slice(0, i)), m += a, b = 0, E = t.length; b < E; ++b)
50344
+ for (t.length > i && (e.warn("Grid headers exceed limit: " + i), t = t.slice(0, i)), m += a, b = 0, w = t.length; b < w; ++b)
50341
50345
  e.dirty(t[b]), t[b].mark.bounds.clear();
50342
- for (y = c, b = 0, E = t.length; b < E; ++b, y += f) {
50343
- for (_ = t[b], w = _.mark.bounds, v = y; v >= 0 && (S = n[v]) == null; v -= d) ;
50344
- s ? (M = h == null ? S.x : Math.round(S.bounds.x1 + h * S.bounds.width()), N = m) : (M = m, N = h == null ? S.y : Math.round(S.bounds.y1 + h * S.bounds.height())), w.union(_.bounds.translate(M - (_.x || 0), N - (_.y || 0))), _.x = M, _.y = N, e.dirty(_), g = o(g, w[u]);
50346
+ for (y = c, b = 0, w = t.length; b < w; ++b, y += f) {
50347
+ for (_ = t[b], E = _.mark.bounds, v = y; v >= 0 && (S = n[v]) == null; v -= d) ;
50348
+ s ? (M = h == null ? S.x : Math.round(S.bounds.x1 + h * S.bounds.width()), N = m) : (M = m, N = h == null ? S.y : Math.round(S.bounds.y1 + h * S.bounds.height())), E.union(_.bounds.translate(M - (_.x || 0), N - (_.y || 0))), _.x = M, _.y = N, e.dirty(_), g = o(g, E[u]);
50345
50349
  }
50346
50350
  return g;
50347
50351
  }
@@ -51406,9 +51410,9 @@ function q2e(e, t) {
51406
51410
  i === 1 ? r = tn + He : i === -1 && (r = -tn - He);
51407
51411
  for (var u = 0, c = e.length; u < c; ++u)
51408
51412
  if (d = (f = e[u]).length)
51409
- for (var f, d, h = f[d - 1], p = Iv(h), m = h[1] / 2 + Ig, g = ze(m), y = Ue(m), b = 0; b < d; ++b, p = E, g = _, y = S, h = v) {
51410
- var v = f[b], E = Iv(v), w = v[1] / 2 + Ig, _ = ze(w), S = Ue(w), M = E - p, N = M >= 0 ? 1 : -1, T = N * M, O = T > rt, z = g * _;
51411
- if (l.add(Wi(z * N * ze(T), y * S + z * Ue(T))), o += O ? M + N * Mr : M, O ^ p >= n ^ E >= n) {
51413
+ for (var f, d, h = f[d - 1], p = Iv(h), m = h[1] / 2 + Ig, g = ze(m), y = Ue(m), b = 0; b < d; ++b, p = w, g = _, y = S, h = v) {
51414
+ var v = f[b], w = Iv(v), E = v[1] / 2 + Ig, _ = ze(E), S = Ue(E), M = w - p, N = M >= 0 ? 1 : -1, T = N * M, O = T > rt, z = g * _;
51415
+ if (l.add(Wi(z * N * ze(T), y * S + z * Ue(T))), o += O ? M + N * Mr : M, O ^ p >= n ^ w >= n) {
51412
51416
  var B = $f(Fu(h), Fu(v));
51413
51417
  qg(B);
51414
51418
  var I = $f(a, B);
@@ -51430,18 +51434,18 @@ function hU(e, t, n, r) {
51430
51434
  },
51431
51435
  polygonEnd: function() {
51432
51436
  d.point = h, d.lineStart = m, d.lineEnd = g, c = rI(c);
51433
- var E = q2e(u, r);
51434
- c.length ? (l || (i.polygonStart(), l = !0), dU(c, j2e, E, n, i)) : E && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), c = u = null;
51437
+ var w = q2e(u, r);
51438
+ c.length ? (l || (i.polygonStart(), l = !0), dU(c, j2e, w, n, i)) : w && (l || (i.polygonStart(), l = !0), i.lineStart(), n(null, null, 1, i), i.lineEnd()), l && (i.polygonEnd(), l = !1), c = u = null;
51435
51439
  },
51436
51440
  sphere: function() {
51437
51441
  i.polygonStart(), i.lineStart(), n(null, null, 1, i), i.lineEnd(), i.polygonEnd();
51438
51442
  }
51439
51443
  };
51440
- function h(E, w) {
51441
- e(E, w) && i.point(E, w);
51444
+ function h(w, E) {
51445
+ e(w, E) && i.point(w, E);
51442
51446
  }
51443
- function p(E, w) {
51444
- a.point(E, w);
51447
+ function p(w, E) {
51448
+ a.point(w, E);
51445
51449
  }
51446
51450
  function m() {
51447
51451
  d.point = p, a.lineStart();
@@ -51449,24 +51453,24 @@ function hU(e, t, n, r) {
51449
51453
  function g() {
51450
51454
  d.point = h, a.lineEnd();
51451
51455
  }
51452
- function y(E, w) {
51453
- f.push([E, w]), s.point(E, w);
51456
+ function y(w, E) {
51457
+ f.push([w, E]), s.point(w, E);
51454
51458
  }
51455
51459
  function b() {
51456
51460
  s.lineStart(), f = [];
51457
51461
  }
51458
51462
  function v() {
51459
51463
  y(f[0][0], f[0][1]), s.lineEnd();
51460
- var E = s.clean(), w = o.result(), _, S = w.length, M, N, T;
51464
+ var w = s.clean(), E = o.result(), _, S = E.length, M, N, T;
51461
51465
  if (f.pop(), u.push(f), f = null, !!S) {
51462
- if (E & 1) {
51463
- if (N = w[0], (M = N.length - 1) > 0) {
51466
+ if (w & 1) {
51467
+ if (N = E[0], (M = N.length - 1) > 0) {
51464
51468
  for (l || (i.polygonStart(), l = !0), i.lineStart(), _ = 0; _ < M; ++_) i.point((T = N[_])[0], T[1]);
51465
51469
  i.lineEnd();
51466
51470
  }
51467
51471
  return;
51468
51472
  }
51469
- S > 1 && E & 2 && w.push(w.pop().concat(w.shift())), c.push(w.filter(H2e));
51473
+ S > 1 && w & 2 && E.push(E.pop().concat(E.shift())), c.push(E.filter(H2e));
51470
51474
  }
51471
51475
  }
51472
51476
  return d;
@@ -51533,14 +51537,14 @@ function Y2e(e) {
51533
51537
  p = h = !1, m = 1;
51534
51538
  },
51535
51539
  point: function(g, y) {
51536
- var b = [g, y], v, E = o(g, y), w = r ? E ? 0 : u(g, y) : E ? u(g + (g < 0 ? rt : -rt), y) : 0;
51537
- if (!f && (p = h = E) && c.lineStart(), E !== h && (v = l(f, b), (!v || A1(f, v) || A1(b, v)) && (b[2] = 1)), E !== h)
51538
- m = 0, E ? (c.lineStart(), v = l(b, f), c.point(v[0], v[1])) : (v = l(f, b), c.point(v[0], v[1], 2), c.lineEnd()), f = v;
51539
- else if (i && f && r ^ E) {
51540
+ var b = [g, y], v, w = o(g, y), E = r ? w ? 0 : u(g, y) : w ? u(g + (g < 0 ? rt : -rt), y) : 0;
51541
+ if (!f && (p = h = w) && c.lineStart(), w !== h && (v = l(f, b), (!v || A1(f, v) || A1(b, v)) && (b[2] = 1)), w !== h)
51542
+ m = 0, w ? (c.lineStart(), v = l(b, f), c.point(v[0], v[1])) : (v = l(f, b), c.point(v[0], v[1], 2), c.lineEnd()), f = v;
51543
+ else if (i && f && r ^ w) {
51540
51544
  var _;
51541
- !(w & d) && (_ = l(b, f, !0)) && (m = 0, r ? (c.lineStart(), c.point(_[0][0], _[0][1]), c.point(_[1][0], _[1][1]), c.lineEnd()) : (c.point(_[1][0], _[1][1]), c.lineEnd(), c.lineStart(), c.point(_[0][0], _[0][1], 3)));
51545
+ !(E & d) && (_ = l(b, f, !0)) && (m = 0, r ? (c.lineStart(), c.point(_[0][0], _[0][1]), c.point(_[1][0], _[1][1]), c.lineEnd()) : (c.point(_[1][0], _[1][1]), c.lineEnd(), c.lineStart(), c.point(_[0][0], _[0][1], 3)));
51542
51546
  }
51543
- E && (!f || !A1(f, b)) && c.point(b[0], b[1]), f = b, h = E, d = w;
51547
+ w && (!f || !A1(f, b)) && c.point(b[0], b[1]), f = b, h = w, d = E;
51544
51548
  },
51545
51549
  lineEnd: function() {
51546
51550
  h && c.lineEnd(), f = null;
@@ -51555,7 +51559,7 @@ function Y2e(e) {
51555
51559
  function l(c, f, d) {
51556
51560
  var h = Fu(c), p = Fu(f), m = [1, 0, 0], g = $f(h, p), y = Lm(g, g), b = g[0], v = y - b * b;
51557
51561
  if (!v) return !d && c;
51558
- var E = t * y / v, w = -t * b / v, _ = $f(m, g), S = zm(m, E), M = zm(g, w);
51562
+ var w = t * y / v, E = -t * b / v, _ = $f(m, g), S = zm(m, w), M = zm(g, E);
51559
51563
  Fv(S, M);
51560
51564
  var N = _, T = Lm(S, N), O = Lm(N, N), z = T * T - O * (Lm(S, S) - 1);
51561
51565
  if (!(z < 0)) {
@@ -51641,7 +51645,7 @@ function pU(e, t, n, r) {
51641
51645
  return f !== d ? f - d : f === 0 ? c[1] - u[1] : f === 1 ? u[0] - c[0] : f === 2 ? u[1] - c[1] : c[0] - u[0];
51642
51646
  }
51643
51647
  return function(u) {
51644
- var c = u, f = fU(), d, h, p, m, g, y, b, v, E, w, _, S = {
51648
+ var c = u, f = fU(), d, h, p, m, g, y, b, v, w, E, _, S = {
51645
51649
  point: M,
51646
51650
  lineStart: z,
51647
51651
  lineEnd: B,
@@ -51665,21 +51669,21 @@ function pU(e, t, n, r) {
51665
51669
  ($ || U) && (u.polygonStart(), $ && (u.lineStart(), a(null, null, 1, u), u.lineEnd()), U && dU(d, s, R, a, u), u.polygonEnd()), c = u, d = h = p = null;
51666
51670
  }
51667
51671
  function z() {
51668
- S.point = I, h && h.push(p = []), w = !0, E = !1, b = v = NaN;
51672
+ S.point = I, h && h.push(p = []), E = !0, w = !1, b = v = NaN;
51669
51673
  }
51670
51674
  function B() {
51671
- d && (I(m, g), y && E && f.rejoin(), d.push(f.result())), S.point = M, E && c.lineEnd();
51675
+ d && (I(m, g), y && w && f.rejoin(), d.push(f.result())), S.point = M, w && c.lineEnd();
51672
51676
  }
51673
51677
  function I(R, $) {
51674
51678
  var U = i(R, $);
51675
- if (h && p.push([R, $]), w)
51676
- m = R, g = $, y = U, w = !1, U && (c.lineStart(), c.point(R, $));
51677
- else if (U && E) c.point(R, $);
51679
+ if (h && p.push([R, $]), E)
51680
+ m = R, g = $, y = U, E = !1, U && (c.lineStart(), c.point(R, $));
51681
+ else if (U && w) c.point(R, $);
51678
51682
  else {
51679
51683
  var q = [b = Math.max(Um, Math.min(Bm, b)), v = Math.max(Um, Math.min(Bm, v))], W = [R = Math.max(Um, Math.min(Bm, R)), $ = Math.max(Um, Math.min(Bm, $))];
51680
- X2e(q, W, e, t, n, r) ? (E || (c.lineStart(), c.point(q[0], q[1])), c.point(W[0], W[1]), U || c.lineEnd(), _ = !1) : U && (c.lineStart(), c.point(R, $), _ = !1);
51684
+ X2e(q, W, e, t, n, r) ? (w || (c.lineStart(), c.point(q[0], q[1])), c.point(W[0], W[1]), U || c.lineEnd(), _ = !1) : U && (c.lineStart(), c.point(R, $), _ = !1);
51681
51685
  }
51682
- b = R, v = $, E = U;
51686
+ b = R, v = $, w = U;
51683
51687
  }
51684
51688
  return S;
51685
51689
  };
@@ -52058,17 +52062,17 @@ function cbe(e, t) {
52058
52062
  function n(r, i, a, o, s, l, u, c, f, d, h, p, m, g) {
52059
52063
  var y = u - r, b = c - i, v = y * y + b * b;
52060
52064
  if (v > 4 * t && m--) {
52061
- var E = o + d, w = s + h, _ = l + p, S = Nr(E * E + w * w + _ * _), M = Xr(_ /= S), N = lt(lt(_) - 1) < He || lt(a - f) < He ? (a + f) / 2 : Wi(w, E), T = e(N, M), O = T[0], z = T[1], B = O - r, I = z - i, R = b * B - y * I;
52062
- (R * R / v > t || lt((y * B + b * I) / v - 0.5) > 0.3 || o * d + s * h + l * p < lbe) && (n(r, i, a, o, s, l, O, z, N, E /= S, w /= S, _, m, g), g.point(O, z), n(O, z, N, E, w, _, u, c, f, d, h, p, m, g));
52065
+ var w = o + d, E = s + h, _ = l + p, S = Nr(w * w + E * E + _ * _), M = Xr(_ /= S), N = lt(lt(_) - 1) < He || lt(a - f) < He ? (a + f) / 2 : Wi(E, w), T = e(N, M), O = T[0], z = T[1], B = O - r, I = z - i, R = b * B - y * I;
52066
+ (R * R / v > t || lt((y * B + b * I) / v - 0.5) > 0.3 || o * d + s * h + l * p < lbe) && (n(r, i, a, o, s, l, O, z, N, w /= S, E /= S, _, m, g), g.point(O, z), n(O, z, N, w, E, _, u, c, f, d, h, p, m, g));
52063
52067
  }
52064
52068
  }
52065
52069
  return function(r) {
52066
52070
  var i, a, o, s, l, u, c, f, d, h, p, m, g = {
52067
52071
  point: y,
52068
52072
  lineStart: b,
52069
- lineEnd: E,
52073
+ lineEnd: w,
52070
52074
  polygonStart: function() {
52071
- r.polygonStart(), g.lineStart = w;
52075
+ r.polygonStart(), g.lineStart = E;
52072
52076
  },
52073
52077
  polygonEnd: function() {
52074
52078
  r.polygonEnd(), g.lineStart = b;
@@ -52084,17 +52088,17 @@ function cbe(e, t) {
52084
52088
  var T = Fu([M, N]), O = e(M, N);
52085
52089
  n(f, d, c, h, p, m, f = O[0], d = O[1], c = M, h = T[0], p = T[1], m = T[2], eM, r), r.point(f, d);
52086
52090
  }
52087
- function E() {
52091
+ function w() {
52088
52092
  g.point = y, r.lineEnd();
52089
52093
  }
52090
- function w() {
52094
+ function E() {
52091
52095
  b(), g.point = _, g.lineEnd = S;
52092
52096
  }
52093
52097
  function _(M, N) {
52094
52098
  v(i = M, N), a = f, o = d, s = h, l = p, u = m, g.point = v;
52095
52099
  }
52096
52100
  function S() {
52097
- n(f, d, c, h, p, m, a, o, i, s, l, u, eM, r), g.lineEnd = E, E();
52101
+ n(f, d, c, h, p, m, a, o, i, s, l, u, eM, r), g.lineEnd = w, w();
52098
52102
  }
52099
52103
  return g;
52100
52104
  };
@@ -52136,7 +52140,7 @@ function Eo(e) {
52136
52140
  })();
52137
52141
  }
52138
52142
  function CU(e) {
52139
- var t, n = 150, r = 480, i = 250, a = 0, o = 0, s = 0, l = 0, u = 0, c, f = 0, d = 1, h = 1, p = null, m = WT, g = null, y, b, v, E = kh, w = 0.5, _, S, M, N, T;
52143
+ var t, n = 150, r = 480, i = 250, a = 0, o = 0, s = 0, l = 0, u = 0, c, f = 0, d = 1, h = 1, p = null, m = WT, g = null, y, b, v, w = kh, E = 0.5, _, S, M, N, T;
52140
52144
  function O(R) {
52141
52145
  return M(R[0] * tt, R[1] * tt);
52142
52146
  }
@@ -52144,15 +52148,15 @@ function CU(e) {
52144
52148
  return R = M.invert(R[0], R[1]), R && [R[0] * on, R[1] * on];
52145
52149
  }
52146
52150
  O.stream = function(R) {
52147
- return N && T === R ? N : N = fbe(dbe(c)(m(_(E(T = R)))));
52151
+ return N && T === R ? N : N = fbe(dbe(c)(m(_(w(T = R)))));
52148
52152
  }, O.preclip = function(R) {
52149
52153
  return arguments.length ? (m = R, p = void 0, I()) : m;
52150
52154
  }, O.postclip = function(R) {
52151
- return arguments.length ? (E = R, g = y = b = v = null, I()) : E;
52155
+ return arguments.length ? (w = R, g = y = b = v = null, I()) : w;
52152
52156
  }, O.clipAngle = function(R) {
52153
52157
  return arguments.length ? (m = +R ? Y2e(p = R * tt) : (p = null, WT), I()) : p * on;
52154
52158
  }, O.clipExtent = function(R) {
52155
- return arguments.length ? (E = R == null ? (g = y = b = v = null, kh) : pU(g = +R[0][0], y = +R[0][1], b = +R[1][0], v = +R[1][1]), I()) : g == null ? null : [[g, y], [b, v]];
52159
+ return arguments.length ? (w = R == null ? (g = y = b = v = null, kh) : pU(g = +R[0][0], y = +R[0][1], b = +R[1][0], v = +R[1][1]), I()) : g == null ? null : [[g, y], [b, v]];
52156
52160
  }, O.scale = function(R) {
52157
52161
  return arguments.length ? (n = +R, B()) : n;
52158
52162
  }, O.translate = function(R) {
@@ -52168,7 +52172,7 @@ function CU(e) {
52168
52172
  }, O.reflectY = function(R) {
52169
52173
  return arguments.length ? (h = R ? -1 : 1, B()) : h < 0;
52170
52174
  }, O.precision = function(R) {
52171
- return arguments.length ? (_ = tM(S, w = R * R), I()) : Nr(w);
52175
+ return arguments.length ? (_ = tM(S, E = R * R), I()) : Nr(E);
52172
52176
  }, O.fitExtent = function(R, $) {
52173
52177
  return Q2(O, R, $);
52174
52178
  }, O.fitSize = function(R, $) {
@@ -52180,7 +52184,7 @@ function CU(e) {
52180
52184
  };
52181
52185
  function B() {
52182
52186
  var R = nM(n, 0, 0, d, h, f).apply(null, t(a, o)), $ = nM(n, r - R[0], i - R[1], d, h, f);
52183
- return c = cU(s, l, u), S = d5(t, $), M = d5(c, S), _ = tM(S, w), I();
52187
+ return c = cU(s, l, u), S = d5(t, $), M = d5(c, S), _ = tM(S, E), I();
52184
52188
  }
52185
52189
  function I() {
52186
52190
  return N = T = null, O;
@@ -52413,53 +52417,53 @@ function Tbe() {
52413
52417
  }
52414
52418
  function Mbe() {
52415
52419
  var e = 1, t = 0, n = 0, r = 1, i = 1, a = 0, o, s, l = null, u, c, f, d = 1, h = 1, p = Z2({
52416
- point: function(E, w) {
52417
- var _ = v([E, w]);
52420
+ point: function(w, E) {
52421
+ var _ = v([w, E]);
52418
52422
  this.stream.point(_[0], _[1]);
52419
52423
  }
52420
52424
  }), m = kh, g, y;
52421
52425
  function b() {
52422
52426
  return d = e * r, h = e * i, g = y = null, v;
52423
52427
  }
52424
- function v(E) {
52425
- var w = E[0] * d, _ = E[1] * h;
52428
+ function v(w) {
52429
+ var E = w[0] * d, _ = w[1] * h;
52426
52430
  if (a) {
52427
- var S = _ * o - w * s;
52428
- w = w * o + _ * s, _ = S;
52431
+ var S = _ * o - E * s;
52432
+ E = E * o + _ * s, _ = S;
52429
52433
  }
52430
- return [w + t, _ + n];
52434
+ return [E + t, _ + n];
52431
52435
  }
52432
- return v.invert = function(E) {
52433
- var w = E[0] - t, _ = E[1] - n;
52436
+ return v.invert = function(w) {
52437
+ var E = w[0] - t, _ = w[1] - n;
52434
52438
  if (a) {
52435
- var S = _ * o + w * s;
52436
- w = w * o - _ * s, _ = S;
52437
- }
52438
- return [w / d, _ / h];
52439
- }, v.stream = function(E) {
52440
- return g && y === E ? g : g = p(m(y = E));
52441
- }, v.postclip = function(E) {
52442
- return arguments.length ? (m = E, l = u = c = f = null, b()) : m;
52443
- }, v.clipExtent = function(E) {
52444
- return arguments.length ? (m = E == null ? (l = u = c = f = null, kh) : pU(l = +E[0][0], u = +E[0][1], c = +E[1][0], f = +E[1][1]), b()) : l == null ? null : [[l, u], [c, f]];
52445
- }, v.scale = function(E) {
52446
- return arguments.length ? (e = +E, b()) : e;
52447
- }, v.translate = function(E) {
52448
- return arguments.length ? (t = +E[0], n = +E[1], b()) : [t, n];
52449
- }, v.angle = function(E) {
52450
- return arguments.length ? (a = E % 360 * tt, s = ze(a), o = Ue(a), b()) : a * on;
52451
- }, v.reflectX = function(E) {
52452
- return arguments.length ? (r = E ? -1 : 1, b()) : r < 0;
52453
- }, v.reflectY = function(E) {
52454
- return arguments.length ? (i = E ? -1 : 1, b()) : i < 0;
52455
- }, v.fitExtent = function(E, w) {
52456
- return Q2(v, E, w);
52457
- }, v.fitSize = function(E, w) {
52458
- return fE(v, E, w);
52459
- }, v.fitWidth = function(E, w) {
52460
- return dE(v, E, w);
52461
- }, v.fitHeight = function(E, w) {
52462
- return hE(v, E, w);
52439
+ var S = _ * o + E * s;
52440
+ E = E * o - _ * s, _ = S;
52441
+ }
52442
+ return [E / d, _ / h];
52443
+ }, v.stream = function(w) {
52444
+ return g && y === w ? g : g = p(m(y = w));
52445
+ }, v.postclip = function(w) {
52446
+ return arguments.length ? (m = w, l = u = c = f = null, b()) : m;
52447
+ }, v.clipExtent = function(w) {
52448
+ return arguments.length ? (m = w == null ? (l = u = c = f = null, kh) : pU(l = +w[0][0], u = +w[0][1], c = +w[1][0], f = +w[1][1]), b()) : l == null ? null : [[l, u], [c, f]];
52449
+ }, v.scale = function(w) {
52450
+ return arguments.length ? (e = +w, b()) : e;
52451
+ }, v.translate = function(w) {
52452
+ return arguments.length ? (t = +w[0], n = +w[1], b()) : [t, n];
52453
+ }, v.angle = function(w) {
52454
+ return arguments.length ? (a = w % 360 * tt, s = ze(a), o = Ue(a), b()) : a * on;
52455
+ }, v.reflectX = function(w) {
52456
+ return arguments.length ? (r = w ? -1 : 1, b()) : r < 0;
52457
+ }, v.reflectY = function(w) {
52458
+ return arguments.length ? (i = w ? -1 : 1, b()) : i < 0;
52459
+ }, v.fitExtent = function(w, E) {
52460
+ return Q2(v, w, E);
52461
+ }, v.fitSize = function(w, E) {
52462
+ return fE(v, w, E);
52463
+ }, v.fitWidth = function(w, E) {
52464
+ return dE(v, w, E);
52465
+ }, v.fitHeight = function(w, E) {
52466
+ return hE(v, w, E);
52463
52467
  }, v;
52464
52468
  }
52465
52469
  function FU(e, t) {
@@ -52640,8 +52644,8 @@ function UU() {
52640
52644
  for (h = -1, y = l[p * e] >= u, Lo[y << 2].forEach(v); ++h < e - 1; )
52641
52645
  b = y, y = l[p * e + h + 1] >= u, Lo[y << 2 | b << 3].forEach(v);
52642
52646
  Lo[y << 3].forEach(v);
52643
- function v(E) {
52644
- var w = [E[0][0] + h, E[0][1] + p], _ = [E[1][0] + h, E[1][1] + p], S = o(w), M = o(_), N, T;
52647
+ function v(w) {
52648
+ var E = [w[0][0] + h, w[0][1] + p], _ = [w[1][0] + h, w[1][1] + p], S = o(E), M = o(_), N, T;
52645
52649
  (N = d[S]) ? (T = f[M]) ? (delete d[N.end], delete f[T.start], N === T ? (N.ring.push(_), c(N.ring)) : f[N.start] = d[T.end] = {
52646
52650
  start: N.start,
52647
52651
  end: T.end,
@@ -52650,10 +52654,10 @@ function UU() {
52650
52654
  start: T.start,
52651
52655
  end: N.end,
52652
52656
  ring: T.ring.concat(N.ring)
52653
- }) : (delete f[N.start], N.ring.unshift(w), f[N.start = S] = N) : f[S] = d[M] = {
52657
+ }) : (delete f[N.start], N.ring.unshift(E), f[N.start = S] = N) : f[S] = d[M] = {
52654
52658
  start: S,
52655
52659
  end: M,
52656
- ring: [w, _]
52660
+ ring: [E, _]
52657
52661
  };
52658
52662
  }
52659
52663
  }
@@ -52809,12 +52813,12 @@ function jU() {
52809
52813
  function s(l, u) {
52810
52814
  const c = aM(r[0], l, e) >> o, f = aM(r[1], l, t) >> o, d = c ? c + 2 : 0, h = f ? f + 2 : 0, p = 2 * d + (i >> o), m = 2 * h + (a >> o), g = new Float32Array(p * m), y = new Float32Array(p * m);
52811
52815
  let b = g;
52812
- l.forEach((E) => {
52813
- const w = d + (+e(E) >> o), _ = h + (+t(E) >> o);
52814
- w >= 0 && w < p && _ >= 0 && _ < m && (g[w + _ * p] += +n(E));
52816
+ l.forEach((w) => {
52817
+ const E = d + (+e(w) >> o), _ = h + (+t(w) >> o);
52818
+ E >= 0 && E < p && _ >= 0 && _ < m && (g[E + _ * p] += +n(w));
52815
52819
  }), c > 0 && f > 0 ? (Ic(p, m, g, y, c), Lc(p, m, y, g, f), Ic(p, m, g, y, c), Lc(p, m, y, g, f), Ic(p, m, g, y, c), Lc(p, m, y, g, f)) : c > 0 ? (Ic(p, m, g, y, c), Ic(p, m, y, g, c), Ic(p, m, g, y, c), b = y) : f > 0 && (Lc(p, m, g, y, f), Lc(p, m, y, g, f), Lc(p, m, g, y, f), b = y);
52816
52820
  const v = u ? Math.pow(2, -2 * o) : 1 / iI(b);
52817
- for (let E = 0, w = p * m; E < w; ++E) b[E] *= v;
52821
+ for (let w = 0, E = p * m; w < E; ++w) b[w] *= v;
52818
52822
  return {
52819
52823
  values: b,
52820
52824
  scale: 1 << o,
@@ -53267,8 +53271,8 @@ function a4e(e, t, n, r) {
53267
53271
  t.$y = g - s;
53268
53272
  for (let b = o, v = g * i; b < l; ++b, y += 4) {
53269
53273
  t.$x = b - o, t.$value = f(b + v);
53270
- const E = n(t);
53271
- m[y + 0] = E.r, m[y + 1] = E.g, m[y + 2] = E.b, m[y + 3] = ~~(255 * r(t));
53274
+ const w = n(t);
53275
+ m[y + 0] = w.r, m[y + 1] = w.g, m[y + 2] = w.b, m[y + 3] = ~~(255 * r(t));
53272
53276
  }
53273
53277
  }
53274
53278
  return h.putImageData(p, 0, 0), d;
@@ -53419,10 +53423,10 @@ function y4e(e, t, n) {
53419
53423
  new _r(h[0], o, s, g, y)
53420
53424
  ), (m = (t >= y) << 1 | e >= g) && (p = d[d.length - 1], d[d.length - 1] = d[d.length - 1 - m], d[d.length - 1 - m] = p);
53421
53425
  } else {
53422
- var b = e - +this._x.call(null, h.data), v = t - +this._y.call(null, h.data), E = b * b + v * v;
53423
- if (E < n) {
53424
- var w = Math.sqrt(n = E);
53425
- i = e - w, a = t - w, c = e + w, f = t + w, r = h.data;
53426
+ var b = e - +this._x.call(null, h.data), v = t - +this._y.call(null, h.data), w = b * b + v * v;
53427
+ if (w < n) {
53428
+ var E = Math.sqrt(n = w);
53429
+ i = e - E, a = t - E, c = e + E, f = t + E, r = h.data;
53426
53430
  }
53427
53431
  }
53428
53432
  return r;
@@ -53545,7 +53549,7 @@ function N4e(e) {
53545
53549
  for (var u, c = t.length, f, d, h, p, m, g, y = 0; y < a; ++y)
53546
53550
  for (f = AE(t, T4e, M4e).visitAfter(s), u = 0; u < c; ++u)
53547
53551
  d = t[u], m = n[d.index], g = m * m, h = d.x + d.vx, p = d.y + d.vy, f.visit(b);
53548
- function b(v, E, w, _, S) {
53552
+ function b(v, w, E, _, S) {
53549
53553
  var M = v.data, N = v.r, T = m + N;
53550
53554
  if (M) {
53551
53555
  if (M.index > d.index) {
@@ -53554,7 +53558,7 @@ function N4e(e) {
53554
53558
  }
53555
53559
  return;
53556
53560
  }
53557
- return E > h + T || _ < h - T || w > p + T || S < p - T;
53561
+ return w > h + T || _ < h - T || E > p + T || S < p - T;
53558
53562
  }
53559
53563
  }
53560
53564
  function s(u) {
@@ -53594,16 +53598,16 @@ function O4e(e) {
53594
53598
  }
53595
53599
  function d(g) {
53596
53600
  for (var y = 0, b = e.length; y < c; ++y)
53597
- for (var v = 0, E, w, _, S, M, N, T; v < b; ++v)
53598
- E = e[v], w = E.source, _ = E.target, S = _.x + _.vx - w.x - w.vx || Zs(u), M = _.y + _.vy - w.y - w.vy || Zs(u), N = Math.sqrt(S * S + M * M), N = (N - a[v]) / N * g * r[v], S *= N, M *= N, _.vx -= S * (T = l[v]), _.vy -= M * T, w.vx += S * (T = 1 - T), w.vy += M * T;
53601
+ for (var v = 0, w, E, _, S, M, N, T; v < b; ++v)
53602
+ w = e[v], E = w.source, _ = w.target, S = _.x + _.vx - E.x - E.vx || Zs(u), M = _.y + _.vy - E.y - E.vy || Zs(u), N = Math.sqrt(S * S + M * M), N = (N - a[v]) / N * g * r[v], S *= N, M *= N, _.vx -= S * (T = l[v]), _.vy -= M * T, E.vx += S * (T = 1 - T), E.vy += M * T;
53599
53603
  }
53600
53604
  function h() {
53601
53605
  if (o) {
53602
- var g, y = o.length, b = e.length, v = new Map(o.map((w, _) => [t(w, _, o), w])), E;
53606
+ var g, y = o.length, b = e.length, v = new Map(o.map((E, _) => [t(E, _, o), E])), w;
53603
53607
  for (g = 0, s = new Array(y); g < b; ++g)
53604
- E = e[g], E.index = g, typeof E.source != "object" && (E.source = lM(v, E.source)), typeof E.target != "object" && (E.target = lM(v, E.target)), s[E.source.index] = (s[E.source.index] || 0) + 1, s[E.target.index] = (s[E.target.index] || 0) + 1;
53608
+ w = e[g], w.index = g, typeof w.source != "object" && (w.source = lM(v, w.source)), typeof w.target != "object" && (w.target = lM(v, w.target)), s[w.source.index] = (s[w.source.index] || 0) + 1, s[w.target.index] = (s[w.target.index] || 0) + 1;
53605
53609
  for (g = 0, l = new Array(b); g < b; ++g)
53606
- E = e[g], l[g] = s[E.source.index] / (s[E.source.index] + s[E.target.index]);
53610
+ w = e[g], l[g] = s[w.source.index] / (s[w.source.index] + s[w.target.index]);
53607
53611
  r = new Array(b), p(), a = new Array(b), m();
53608
53612
  }
53609
53613
  }
@@ -53778,8 +53782,8 @@ function Y4e(e) {
53778
53782
  var g, y = e.length, b;
53779
53783
  m === void 0 && (m = 1);
53780
53784
  for (var v = 0; v < m; ++v)
53781
- for (n += (a - n) * i, s.forEach(function(E) {
53782
- E(n);
53785
+ for (n += (a - n) * i, s.forEach(function(w) {
53786
+ w(n);
53783
53787
  }), g = 0; g < y; ++g)
53784
53788
  b = e[g], b.fx == null ? b.x += b.vx *= o : (b.x = b.fx, b.vx = 0), b.fy == null ? b.y += b.vy *= o : (b.y = b.fy, b.vy = 0);
53785
53789
  return t;
@@ -53829,9 +53833,9 @@ function Y4e(e) {
53829
53833
  return arguments.length > 1 ? (g == null ? s.delete(m) : s.set(m, p(g)), t) : s.get(m);
53830
53834
  },
53831
53835
  find: function(m, g, y) {
53832
- var b = 0, v = e.length, E, w, _, S, M;
53836
+ var b = 0, v = e.length, w, E, _, S, M;
53833
53837
  for (y == null ? y = 1 / 0 : y *= y, b = 0; b < v; ++b)
53834
- S = e[b], E = m - S.x, w = g - S.y, _ = E * E + w * w, _ < y && (M = S, y = _);
53838
+ S = e[b], w = m - S.x, E = g - S.y, _ = w * w + E * E, _ < y && (M = S, y = _);
53835
53839
  return M;
53836
53840
  },
53837
53841
  on: function(m, g) {
@@ -53852,10 +53856,10 @@ function X4e() {
53852
53856
  }
53853
53857
  }
53854
53858
  function f(h) {
53855
- var p = 0, m, g, y = 0, b, v, E;
53859
+ var p = 0, m, g, y = 0, b, v, w;
53856
53860
  if (h.length) {
53857
- for (b = v = E = 0; E < 4; ++E)
53858
- (m = h[E]) && (g = Math.abs(m.value)) && (p += m.value, y += g, b += g * m.x, v += g * m.y);
53861
+ for (b = v = w = 0; w < 4; ++w)
53862
+ (m = h[w]) && (g = Math.abs(m.value)) && (p += m.value, y += g, b += g * m.x, v += g * m.y);
53859
53863
  h.x = b / y, h.y = v / y;
53860
53864
  } else {
53861
53865
  m = h, m.x = m.data.x, m.y = m.data.y;
@@ -53867,13 +53871,13 @@ function X4e() {
53867
53871
  }
53868
53872
  function d(h, p, m, g) {
53869
53873
  if (!h.value) return !0;
53870
- var y = h.x - t.x, b = h.y - t.y, v = g - p, E = y * y + b * b;
53871
- if (v * v / l < E)
53872
- return E < s && (y === 0 && (y = Zs(n), E += y * y), b === 0 && (b = Zs(n), E += b * b), E < o && (E = Math.sqrt(o * E)), t.vx += y * h.value * r / E, t.vy += b * h.value * r / E), !0;
53873
- if (h.length || E >= s) return;
53874
- (h.data !== t || h.next) && (y === 0 && (y = Zs(n), E += y * y), b === 0 && (b = Zs(n), E += b * b), E < o && (E = Math.sqrt(o * E)));
53874
+ var y = h.x - t.x, b = h.y - t.y, v = g - p, w = y * y + b * b;
53875
+ if (v * v / l < w)
53876
+ return w < s && (y === 0 && (y = Zs(n), w += y * y), b === 0 && (b = Zs(n), w += b * b), w < o && (w = Math.sqrt(o * w)), t.vx += y * h.value * r / w, t.vy += b * h.value * r / w), !0;
53877
+ if (h.length || w >= s) return;
53878
+ (h.data !== t || h.next) && (y === 0 && (y = Zs(n), w += y * y), b === 0 && (b = Zs(n), w += b * b), w < o && (w = Math.sqrt(o * w)));
53875
53879
  do
53876
- h.data !== t && (v = a[h.data.index] * r / E, t.vx += y * v, t.vy += b * v);
53880
+ h.data !== t && (v = a[h.data.index] * r / w, t.vx += y * v, t.vy += b * v);
53877
53881
  while (h = h.next);
53878
53882
  }
53879
53883
  return u.initialize = function(h, p) {
@@ -54418,7 +54422,7 @@ function Dd(e, t) {
54418
54422
  };
54419
54423
  }
54420
54424
  function iq(e, t, n) {
54421
- var r = e.x, i = e.y, a = e.r, o = t.x, s = t.y, l = t.r, u = n.x, c = n.y, f = n.r, d = r - o, h = r - u, p = i - s, m = i - c, g = l - a, y = f - a, b = r * r + i * i - a * a, v = b - o * o - s * s + l * l, E = b - u * u - c * c + f * f, w = h * p - d * m, _ = (p * E - m * v) / (w * 2) - r, S = (m * g - p * y) / w, M = (h * v - d * E) / (w * 2) - i, N = (d * y - h * g) / w, T = S * S + N * N - 1, O = 2 * (a + _ * S + M * N), z = _ * _ + M * M - a * a, B = -(Math.abs(T) > 1e-6 ? (O + Math.sqrt(O * O - 4 * T * z)) / (2 * T) : z / O);
54425
+ var r = e.x, i = e.y, a = e.r, o = t.x, s = t.y, l = t.r, u = n.x, c = n.y, f = n.r, d = r - o, h = r - u, p = i - s, m = i - c, g = l - a, y = f - a, b = r * r + i * i - a * a, v = b - o * o - s * s + l * l, w = b - u * u - c * c + f * f, E = h * p - d * m, _ = (p * w - m * v) / (E * 2) - r, S = (m * g - p * y) / E, M = (h * v - d * w) / (E * 2) - i, N = (d * y - h * g) / E, T = S * S + N * N - 1, O = 2 * (a + _ * S + M * N), z = _ * _ + M * M - a * a, B = -(Math.abs(T) > 1e-6 ? (O + Math.sqrt(O * O - 4 * T * z)) / (2 * T) : z / O);
54422
54426
  return {
54423
54427
  x: r + _ + S * B,
54424
54428
  y: i + M + N * B,
@@ -54549,10 +54553,10 @@ function xM() {
54549
54553
  function r(i) {
54550
54554
  var a = Array.from(i), o = e, s = t, l, u, c, f, d, h, p, m, g = /* @__PURE__ */ new Map();
54551
54555
  if (n != null) {
54552
- const y = a.map((E, w) => Yve(n(E, w, i))), b = y.map(wM), v = new Set(y).add("");
54553
- for (const E of b)
54554
- v.has(E) || (v.add(E), y.push(E), b.push(wM(E)), a.push(qv));
54555
- o = (E, w) => y[w], s = (E, w) => b[w];
54556
+ const y = a.map((w, E) => Yve(n(w, E, i))), b = y.map(wM), v = new Set(y).add("");
54557
+ for (const w of b)
54558
+ v.has(w) || (v.add(w), y.push(w), b.push(wM(w)), a.push(qv));
54559
+ o = (w, E) => y[E], s = (w, E) => b[E];
54556
54560
  }
54557
54561
  for (c = 0, l = a.length; c < l; ++c)
54558
54562
  u = a[c], h = a[c] = new Lf(u), (p = o(u, c, i)) != null && (p += "") && (m = h.id = p, g.set(m, g.has(m) ? vM : h)), (p = s(u, c, i)) != null && (p += "") && (h.parent = p);
@@ -54668,8 +54672,8 @@ function exe() {
54668
54672
  }
54669
54673
  function s(u, c, f) {
54670
54674
  if (c) {
54671
- for (var d = u, h = u, p = c, m = d.parent.children[0], g = d.m, y = h.m, b = p.m, v = m.m, E; p = jv(p), d = Hv(d), p && d; )
54672
- m = Hv(m), h = jv(h), h.a = u, E = p.z + b - d.z - g + e(p._, d._), E > 0 && (Kve(Qve(p, u, f), u, E), g += E, y += E), b += p.m, g += d.m, v += m.m, y += h.m;
54675
+ for (var d = u, h = u, p = c, m = d.parent.children[0], g = d.m, y = h.m, b = p.m, v = m.m, w; p = jv(p), d = Hv(d), p && d; )
54676
+ m = Hv(m), h = jv(h), h.a = u, w = p.z + b - d.z - g + e(p._, d._), w > 0 && (Kve(Qve(p, u, f), u, w), g += w, y += w), b += p.m, g += d.m, v += m.m, y += h.m;
54673
54677
  p && !jv(h) && (h.t = p, h.m += b - y), d && !Hv(m) && (m.t = d, m.m += g - v, f = u);
54674
54678
  }
54675
54679
  return f;
@@ -54691,17 +54695,17 @@ function tb(e, t, n, r, i) {
54691
54695
  }
54692
54696
  var oq = (1 + Math.sqrt(5)) / 2;
54693
54697
  function sq(e, t, n, r, i, a) {
54694
- for (var o = [], s = t.children, l, u, c = 0, f = 0, d = s.length, h, p, m = t.value, g, y, b, v, E, w, _; c < d; ) {
54698
+ for (var o = [], s = t.children, l, u, c = 0, f = 0, d = s.length, h, p, m = t.value, g, y, b, v, w, E, _; c < d; ) {
54695
54699
  h = i - n, p = a - r;
54696
54700
  do
54697
54701
  g = s[f++].value;
54698
54702
  while (!g && f < d);
54699
- for (y = b = g, w = Math.max(p / h, h / p) / (m * e), _ = g * g * w, E = Math.max(b / _, _ / y); f < d; ++f) {
54700
- if (g += u = s[f].value, u < y && (y = u), u > b && (b = u), _ = g * g * w, v = Math.max(b / _, _ / y), v > E) {
54703
+ for (y = b = g, E = Math.max(p / h, h / p) / (m * e), _ = g * g * E, w = Math.max(b / _, _ / y); f < d; ++f) {
54704
+ if (g += u = s[f].value, u < y && (y = u), u > b && (b = u), _ = g * g * E, v = Math.max(b / _, _ / y), v > w) {
54701
54705
  g -= u;
54702
54706
  break;
54703
54707
  }
54704
- E = v;
54708
+ w = v;
54705
54709
  }
54706
54710
  o.push(l = { value: g, dice: h < p, children: s.slice(c, f) }), l.dice ? _p(l, n, r, i, m ? r += p * g / m : a) : tb(l, n, r, m ? n += h * g / m : i, a), m -= g, c = f;
54707
54711
  }
@@ -54757,18 +54761,18 @@ function nxe(e, t, n, r, i) {
54757
54761
  b.x0 = p, b.y0 = m, b.x1 = g, b.y1 = y;
54758
54762
  return;
54759
54763
  }
54760
- for (var v = u[f], E = h / 2 + v, w = f + 1, _ = d - 1; w < _; ) {
54761
- var S = w + _ >>> 1;
54762
- u[S] < E ? w = S + 1 : _ = S;
54764
+ for (var v = u[f], w = h / 2 + v, E = f + 1, _ = d - 1; E < _; ) {
54765
+ var S = E + _ >>> 1;
54766
+ u[S] < w ? E = S + 1 : _ = S;
54763
54767
  }
54764
- E - u[w - 1] < u[w] - E && f + 1 < w && --w;
54765
- var M = u[w] - v, N = h - M;
54768
+ w - u[E - 1] < u[E] - w && f + 1 < E && --E;
54769
+ var M = u[E] - v, N = h - M;
54766
54770
  if (g - p > y - m) {
54767
54771
  var T = h ? (p * N + g * M) / h : g;
54768
- c(f, w, M, p, m, T, y), c(w, d, N, T, m, g, y);
54772
+ c(f, E, M, p, m, T, y), c(E, d, N, T, m, g, y);
54769
54773
  } else {
54770
54774
  var O = h ? (m * N + y * M) / h : y;
54771
- c(f, w, M, p, m, g, O), c(w, d, N, p, O, g, y);
54775
+ c(f, E, M, p, m, g, O), c(E, d, N, p, O, g, y);
54772
54776
  }
54773
54777
  }
54774
54778
  }
@@ -55189,10 +55193,10 @@ function dxe(e, t, n, r, i) {
55189
55193
  const a = e.width, o = e.height, s = r || i, l = rl(a, o).getContext("2d"), u = rl(a, o).getContext("2d"), c = s && rl(a, o).getContext("2d");
55190
55194
  n.forEach((M) => N1(l, M, !1)), N1(u, t, !1), s && N1(c, t, !0);
55191
55195
  const f = Gv(l, a, o), d = Gv(u, a, o), h = s && Gv(c, a, o), p = e.bitmap(), m = s && e.bitmap();
55192
- let g, y, b, v, E, w, _, S;
55196
+ let g, y, b, v, w, E, _, S;
55193
55197
  for (y = 0; y < o; ++y)
55194
55198
  for (g = 0; g < a; ++g)
55195
- E = y * a + g, w = f[E] & Wv, S = d[E] & Wv, _ = s && h[E] & Wv, (w || _ || S) && (b = e(g), v = e(y), !i && (w || S) && p.set(b, v), s && (w || _) && m.set(b, v));
55199
+ w = y * a + g, E = f[w] & Wv, S = d[w] & Wv, _ = s && h[w] & Wv, (E || _ || S) && (b = e(g), v = e(y), !i && (E || S) && p.set(b, v), s && (E || _) && m.set(b, v));
55196
55200
  return [p, m];
55197
55201
  }
55198
55202
  function Gv(e, t, n) {
@@ -55311,15 +55315,15 @@ function yxe(e, t, n, r) {
55311
55315
  }
55312
55316
  return function(u) {
55313
55317
  const c = u.datum.datum.items[r].items, f = c.length, d = u.datum.fontSize, h = gi.width(u.datum, u.datum.text);
55314
- let p = n ? d : 0, m = !1, g = !1, y = 0, b, v, E, w, _, S, M, N, T, O, z, B, I, R, $, U, q;
55318
+ let p = n ? d : 0, m = !1, g = !1, y = 0, b, v, w, E, _, S, M, N, T, O, z, B, I, R, $, U, q;
55315
55319
  for (let W = 0; W < f; ++W) {
55316
- for (b = c[W].x, E = c[W].y, v = c[W].x2 === void 0 ? b : c[W].x2, w = c[W].y2 === void 0 ? E : c[W].y2, b > v && (q = b, b = v, v = q), E > w && (q = E, E = w, w = q), T = e(b), z = e(v), O = ~~((T + z) / 2), B = e(E), R = e(w), I = ~~((B + R) / 2), M = O; M >= T; --M)
55320
+ for (b = c[W].x, w = c[W].y, v = c[W].x2 === void 0 ? b : c[W].x2, E = c[W].y2 === void 0 ? w : c[W].y2, b > v && (q = b, b = v, v = q), w > E && (q = w, w = E, E = q), T = e(b), z = e(v), O = ~~((T + z) / 2), B = e(w), R = e(E), I = ~~((B + R) / 2), M = O; M >= T; --M)
55317
55321
  for (N = I; N >= B; --N)
55318
55322
  U = l(M, N, p, h, d), U && ([u.x, u.y, p, m] = U);
55319
55323
  for (M = O; M <= z; ++M)
55320
55324
  for (N = I; N <= R; ++N)
55321
55325
  U = l(M, N, p, h, d), U && ([u.x, u.y, p, m] = U);
55322
- !m && !n && ($ = Math.abs(v - b + w - E), _ = (b + v) / 2, S = (E + w) / 2, $ >= y && !cy(_, S, h, d, i, a) && !Qs(e, _, S, d, h, d, o, null) && (y = $, u.x = _, u.y = S, g = !0));
55326
+ !m && !n && ($ = Math.abs(v - b + E - w), _ = (b + v) / 2, S = (w + E) / 2, $ >= y && !cy(_, S, h, d, i, a) && !Qs(e, _, S, d, h, d, o, null) && (y = $, u.x = _, u.y = S, g = !0));
55323
55327
  }
55324
55328
  return m || g ? (_ = h / 2, S = d / 2, o.setRange(e(u.x - _), e(u.y - S), e(u.x + _), e(u.y + S)), u.align = "center", u.baseline = "middle", !0) : !1;
55325
55329
  };
@@ -55329,9 +55333,9 @@ function xxe(e, t, n, r) {
55329
55333
  const i = e.width, a = e.height, o = t[0], s = t[1], l = e.bitmap();
55330
55334
  return function(u) {
55331
55335
  const c = u.datum.datum.items[r].items, f = c.length, d = u.datum.fontSize, h = gi.width(u.datum, u.datum.text), p = [];
55332
- let m = n ? d : 0, g = !1, y = !1, b = 0, v, E, w, _, S, M, N, T, O, z, B, I;
55336
+ let m = n ? d : 0, g = !1, y = !1, b = 0, v, w, E, _, S, M, N, T, O, z, B, I;
55333
55337
  for (let R = 0; R < f; ++R) {
55334
- for (v = c[R].x, w = c[R].y, E = c[R].x2 === void 0 ? v : c[R].x2, _ = c[R].y2 === void 0 ? w : c[R].y2, p.push([e((v + E) / 2), e((w + _) / 2)]); p.length; )
55338
+ for (v = c[R].x, E = c[R].y, w = c[R].x2 === void 0 ? v : c[R].x2, _ = c[R].y2 === void 0 ? E : c[R].y2, p.push([e((v + w) / 2), e((E + _) / 2)]); p.length; )
55335
55339
  if ([N, T] = p.pop(), !(o.get(N, T) || s.get(N, T) || l.get(N, T))) {
55336
55340
  l.set(N, T);
55337
55341
  for (let $ = 0; $ < 4; ++$)
@@ -55342,7 +55346,7 @@ function xxe(e, t, n, r) {
55342
55346
  O > m && (u.x = S, u.y = M, m = O, g = !0);
55343
55347
  }
55344
55348
  }
55345
- !g && !n && (I = Math.abs(E - v + _ - w), S = (v + E) / 2, M = (w + _) / 2, I >= b && !cy(S, M, h, d, i, a) && !Qs(e, S, M, d, h, d, o, null) && (b = I, u.x = S, u.y = M, y = !0));
55349
+ !g && !n && (I = Math.abs(w - v + _ - E), S = (v + w) / 2, M = (E + _) / 2, I >= b && !cy(S, M, h, d, i, a) && !Qs(e, S, M, d, h, d, o, null) && (b = I, u.x = S, u.y = M, y = !0));
55346
55350
  }
55347
55351
  return g || y ? (S = h / 2, M = d / 2, o.setRange(e(u.x - S), e(u.y - M), e(u.x + S), e(u.y + M)), u.align = "center", u.baseline = "middle", !0) : !1;
55348
55352
  };
@@ -55354,15 +55358,15 @@ function _xe(e, t, n, r) {
55354
55358
  const c = u.boundary, f = u.datum.fontSize;
55355
55359
  if (c[2] < 0 || c[5] < 0 || c[0] > i || c[3] > a)
55356
55360
  return !1;
55357
- let d = u.textWidth ?? 0, h, p, m, g, y, b, v, E, w, _, S, M, N, T, O;
55361
+ let d = u.textWidth ?? 0, h, p, m, g, y, b, v, w, E, _, S, M, N, T, O;
55358
55362
  for (let z = 0; z < l; ++z) {
55359
- if (h = (n[z] & 3) - 1, p = (n[z] >>> 2 & 3) - 1, m = h === 0 && p === 0 || r[z] < 0, g = h && p ? Math.SQRT1_2 : 1, y = r[z] < 0 ? -1 : 1, b = c[1 + h] + r[z] * h * g, S = c[4 + p] + y * f * p / 2 + r[z] * p * g, E = S - f / 2, w = S + f / 2, M = e(b), T = e(E), O = e(w), !d)
55360
- if (kM(M, M, T, O, o, s, b, b, E, w, c, m))
55363
+ if (h = (n[z] & 3) - 1, p = (n[z] >>> 2 & 3) - 1, m = h === 0 && p === 0 || r[z] < 0, g = h && p ? Math.SQRT1_2 : 1, y = r[z] < 0 ? -1 : 1, b = c[1 + h] + r[z] * h * g, S = c[4 + p] + y * f * p / 2 + r[z] * p * g, w = S - f / 2, E = S + f / 2, M = e(b), T = e(w), O = e(E), !d)
55364
+ if (kM(M, M, T, O, o, s, b, b, w, E, c, m))
55361
55365
  d = gi.width(u.datum, u.datum.text);
55362
55366
  else
55363
55367
  continue;
55364
- if (_ = b + y * d * h / 2, b = _ - d / 2, v = _ + d / 2, M = e(b), N = e(v), kM(M, N, T, O, o, s, b, v, E, w, c, m))
55365
- return u.x = h ? h * y < 0 ? v : b : _, u.y = p ? p * y < 0 ? w : E : S, u.align = wxe[h * y + 1], u.baseline = Exe[p * y + 1], o.setRange(M, T, N, O), !0;
55368
+ if (_ = b + y * d * h / 2, b = _ - d / 2, v = _ + d / 2, M = e(b), N = e(v), kM(M, N, T, O, o, s, b, v, w, E, c, m))
55369
+ return u.x = h ? h * y < 0 ? v : b : _, u.y = p ? p * y < 0 ? E : w : S, u.align = wxe[h * y + 1], u.baseline = Exe[p * y + 1], o.setRange(M, T, N, O), !0;
55366
55370
  }
55367
55371
  return !1;
55368
55372
  };
@@ -55388,10 +55392,10 @@ const Vv = 0, Yv = 4, Xv = 8, Kv = 0, Zv = 1, Qv = 2, kxe = {
55388
55392
  function Axe(e, t, n, r, i, a, o, s, l, u, c) {
55389
55393
  if (!e.length) return e;
55390
55394
  const f = Math.max(r.length, i.length), d = Cxe(r, f), h = Txe(i, f), p = Mxe(e[0].datum), m = p === "group" && e[0].datum.items[l].marktype, g = m === "area", y = Nxe(p, m, s, l), b = u === null || u === 1 / 0, v = g && c === "naive";
55391
- let E = -1, w = -1;
55395
+ let w = -1, E = -1;
55392
55396
  const _ = e.map((T) => {
55393
55397
  const O = b ? gi.width(T, T.text) : void 0;
55394
- return E = Math.max(E, O), w = Math.max(w, T.fontSize), {
55398
+ return w = Math.max(w, O), E = Math.max(E, T.fontSize), {
55395
55399
  datum: T,
55396
55400
  opacity: 0,
55397
55401
  x: void 0,
@@ -55402,7 +55406,7 @@ function Axe(e, t, n, r, i, a, o, s, l, u, c) {
55402
55406
  textWidth: O
55403
55407
  };
55404
55408
  });
55405
- u = u === null || u === 1 / 0 ? Math.max(E, w) + Math.max(...r) : u;
55409
+ u = u === null || u === 1 / 0 ? Math.max(w, E) + Math.max(...r) : u;
55406
55410
  const S = mxe(t[0], t[1], u);
55407
55411
  let M;
55408
55412
  if (!v) {
@@ -55659,8 +55663,8 @@ ge(BE, Z, {
55659
55663
  }
55660
55664
  const g = d || io(h, e.x), y = (b) => {
55661
55665
  const v = {};
55662
- for (let E = 0; E < a.length; ++E)
55663
- v[a[E]] = h.dims[E];
55666
+ for (let w = 0; w < a.length; ++w)
55667
+ v[a[w]] = h.dims[w];
55664
55668
  v[u[0]] = b[0], v[u[1]] = b[1], f.push(yt(v));
55665
55669
  };
55666
55670
  o === "linear" || o === "constant" ? g.forEach((b) => y([b, m.predict(b)])) : _2(m.predict, g, 25, 200).forEach(y);
@@ -55697,16 +55701,16 @@ function kp(e) {
55697
55701
  }
55698
55702
  const Ixe = (3 + 16 * rs) * rs, Lxe = (2 + 12 * rs) * rs, zxe = (9 + 64 * rs) * rs * rs, zc = kp(4), SM = kp(8), AM = kp(12), CM = kp(16), mr = kp(4);
55699
55703
  function Pxe(e, t, n, r, i, a, o) {
55700
- let s, l, u, c, f, d, h, p, m, g, y, b, v, E, w, _, S, M;
55704
+ let s, l, u, c, f, d, h, p, m, g, y, b, v, w, E, _, S, M;
55701
55705
  const N = e - i, T = n - i, O = t - a, z = r - a;
55702
- E = N * z, d = Kn * N, h = d - (d - N), p = N - h, d = Kn * z, m = d - (d - z), g = z - m, w = p * g - (E - h * m - p * m - h * g), _ = O * T, d = Kn * O, h = d - (d - O), p = O - h, d = Kn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = w - S, f = w - y, zc[0] = w - (y + f) + (f - S), b = E + y, f = b - E, v = E - (b - f) + (y - f), y = v - _, f = v - y, zc[1] = v - (y + f) + (f - _), M = b + y, f = M - b, zc[2] = b - (M - f) + (y - f), zc[3] = M;
55706
+ w = N * z, d = Kn * N, h = d - (d - N), p = N - h, d = Kn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = O * T, d = Kn * O, h = d - (d - O), p = O - h, d = Kn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, zc[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, zc[1] = v - (y + f) + (f - _), M = b + y, f = M - b, zc[2] = b - (M - f) + (y - f), zc[3] = M;
55703
55707
  let B = Fxe(4, zc), I = Lxe * o;
55704
55708
  if (B >= I || -B >= I || (f = e - N, s = e - (N + f) + (f - i), f = n - T, u = n - (T + f) + (f - i), f = t - O, l = t - (O + f) + (f - a), f = r - z, c = r - (z + f) + (f - a), s === 0 && l === 0 && u === 0 && c === 0) || (I = zxe * o + $xe * Math.abs(B), B += N * c + z * s - (O * u + T * l), B >= I || -B >= I)) return B;
55705
- E = s * z, d = Kn * s, h = d - (d - s), p = s - h, d = Kn * z, m = d - (d - z), g = z - m, w = p * g - (E - h * m - p * m - h * g), _ = l * T, d = Kn * l, h = d - (d - l), p = l - h, d = Kn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = w - S, f = w - y, mr[0] = w - (y + f) + (f - S), b = E + y, f = b - E, v = E - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55709
+ w = s * z, d = Kn * s, h = d - (d - s), p = s - h, d = Kn * z, m = d - (d - z), g = z - m, E = p * g - (w - h * m - p * m - h * g), _ = l * T, d = Kn * l, h = d - (d - l), p = l - h, d = Kn * T, m = d - (d - T), g = T - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, mr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55706
55710
  const R = Jv(4, zc, 4, mr, SM);
55707
- E = N * c, d = Kn * N, h = d - (d - N), p = N - h, d = Kn * c, m = d - (d - c), g = c - m, w = p * g - (E - h * m - p * m - h * g), _ = O * u, d = Kn * O, h = d - (d - O), p = O - h, d = Kn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = w - S, f = w - y, mr[0] = w - (y + f) + (f - S), b = E + y, f = b - E, v = E - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55711
+ w = N * c, d = Kn * N, h = d - (d - N), p = N - h, d = Kn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = O * u, d = Kn * O, h = d - (d - O), p = O - h, d = Kn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, mr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55708
55712
  const $ = Jv(R, SM, 4, mr, AM);
55709
- E = s * c, d = Kn * s, h = d - (d - s), p = s - h, d = Kn * c, m = d - (d - c), g = c - m, w = p * g - (E - h * m - p * m - h * g), _ = l * u, d = Kn * l, h = d - (d - l), p = l - h, d = Kn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = w - S, f = w - y, mr[0] = w - (y + f) + (f - S), b = E + y, f = b - E, v = E - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55713
+ w = s * c, d = Kn * s, h = d - (d - s), p = s - h, d = Kn * c, m = d - (d - c), g = c - m, E = p * g - (w - h * m - p * m - h * g), _ = l * u, d = Kn * l, h = d - (d - l), p = l - h, d = Kn * u, m = d - (d - u), g = u - m, S = p * g - (_ - h * m - p * m - h * g), y = E - S, f = E - y, mr[0] = E - (y + f) + (f - S), b = w + y, f = b - w, v = w - (b - f) + (y - f), y = v - _, f = v - y, mr[1] = v - (y + f) + (f - _), M = b + y, f = M - b, mr[2] = b - (M - f) + (y - f), mr[3] = M;
55710
55714
  const U = Jv($, AM, 4, mr, CM);
55711
55715
  return CM[U - 1];
55712
55716
  }
@@ -55750,14 +55754,14 @@ class fy {
55750
55754
  const O = ex(g, y, t[2 * N], t[2 * N + 1]);
55751
55755
  O < T && O > 0 && (p = N, T = O);
55752
55756
  }
55753
- let b = t[2 * p], v = t[2 * p + 1], E = 1 / 0;
55757
+ let b = t[2 * p], v = t[2 * p + 1], w = 1 / 0;
55754
55758
  for (let N = 0; N < o; N++) {
55755
55759
  if (N === h || N === p) continue;
55756
55760
  const T = qxe(g, y, b, v, t[2 * N], t[2 * N + 1]);
55757
- T < E && (m = N, E = T);
55761
+ T < w && (m = N, w = T);
55758
55762
  }
55759
- let w = t[2 * m], _ = t[2 * m + 1];
55760
- if (E === 1 / 0) {
55763
+ let E = t[2 * m], _ = t[2 * m + 1];
55764
+ if (w === 1 / 0) {
55761
55765
  for (let O = 0; O < o; O++)
55762
55766
  this._dists[O] = t[2 * O] - t[0] || t[2 * O + 1] - t[1];
55763
55767
  tf(this._ids, this._dists, 0, o - 1);
@@ -55770,17 +55774,17 @@ class fy {
55770
55774
  this.hull = N.subarray(0, T), this.triangles = new Uint32Array(0), this.halfedges = new Uint32Array(0);
55771
55775
  return;
55772
55776
  }
55773
- if (Wm(g, y, b, v, w, _) < 0) {
55777
+ if (Wm(g, y, b, v, E, _) < 0) {
55774
55778
  const N = p, T = b, O = v;
55775
- p = m, b = w, v = _, m = N, w = T, _ = O;
55779
+ p = m, b = E, v = _, m = N, E = T, _ = O;
55776
55780
  }
55777
- const S = Hxe(g, y, b, v, w, _);
55781
+ const S = Hxe(g, y, b, v, E, _);
55778
55782
  this._cx = S.x, this._cy = S.y;
55779
55783
  for (let N = 0; N < o; N++)
55780
55784
  this._dists[N] = ex(t[2 * N], t[2 * N + 1], S.x, S.y);
55781
55785
  tf(this._ids, this._dists, 0, o - 1), this._hullStart = h;
55782
55786
  let M = 3;
55783
- r[h] = n[m] = p, r[p] = n[h] = m, r[m] = n[p] = h, i[h] = 0, i[p] = 1, i[m] = 2, a.fill(-1), a[this._hashKey(g, y)] = h, a[this._hashKey(b, v)] = p, a[this._hashKey(w, _)] = m, this.trianglesLen = 0, this._addTriangle(h, p, m, -1, -1, -1);
55787
+ r[h] = n[m] = p, r[p] = n[h] = m, r[m] = n[p] = h, i[h] = 0, i[p] = 1, i[m] = 2, a.fill(-1), a[this._hashKey(g, y)] = h, a[this._hashKey(b, v)] = p, a[this._hashKey(E, _)] = m, this.trianglesLen = 0, this._addTriangle(h, p, m, -1, -1, -1);
55784
55788
  for (let N = 0, T, O; N < this._ids.length; N++) {
55785
55789
  const z = this._ids[N], B = t[2 * z], I = t[2 * z + 1];
55786
55790
  if (N > 0 && Math.abs(B - T) <= TM && Math.abs(I - O) <= TM || (T = B, O = I, z === h || z === p || z === m)) continue;
@@ -55979,7 +55983,7 @@ let Gxe = class {
55979
55983
  let a, o;
55980
55984
  const s = this.circumcenters = this._circumcenters.subarray(0, r.length / 3 * 2);
55981
55985
  for (let m = 0, g = 0, y = r.length, b, v; m < y; m += 3, g += 2) {
55982
- const E = r[m] * 2, w = r[m + 1] * 2, _ = r[m + 2] * 2, S = t[E], M = t[E + 1], N = t[w], T = t[w + 1], O = t[_], z = t[_ + 1], B = N - S, I = T - M, R = O - S, $ = z - M, U = (B * $ - I * R) * 2;
55986
+ const w = r[m] * 2, E = r[m + 1] * 2, _ = r[m + 2] * 2, S = t[w], M = t[w + 1], N = t[E], T = t[E + 1], O = t[_], z = t[_ + 1], B = N - S, I = T - M, R = O - S, $ = z - M, U = (B * $ - I * R) * 2;
55983
55987
  if (Math.abs(U) < 1e-9) {
55984
55988
  if (a === void 0) {
55985
55989
  a = o = 0;
@@ -56416,7 +56420,7 @@ var tx = Math.PI / 180, Od = 64, D1 = 2048;
56416
56420
  function i3e() {
56417
56421
  var e = [256, 256], t, n, r, i, a, o, s, l = fq, u = [], c = Math.random, f = {};
56418
56422
  f.layout = function() {
56419
- for (var p = d(rl()), m = c3e((e[0] >> 5) * e[1]), g = null, y = u.length, b = -1, v = [], E = u.map((_) => ({
56423
+ for (var p = d(rl()), m = c3e((e[0] >> 5) * e[1]), g = null, y = u.length, b = -1, v = [], w = u.map((_) => ({
56420
56424
  text: t(_),
56421
56425
  font: n(_),
56422
56426
  style: i(_),
@@ -56434,14 +56438,14 @@ function i3e() {
56434
56438
  sprite: null,
56435
56439
  datum: _
56436
56440
  })).sort((_, S) => S.size - _.size); ++b < y; ) {
56437
- var w = E[b];
56438
- w.x = e[0] * (c() + 0.5) >> 1, w.y = e[1] * (c() + 0.5) >> 1, a3e(p, w, E, b), w.hasText && h(m, w, g) && (v.push(w), g ? s3e(g, w) : g = [{
56439
- x: w.x + w.x0,
56440
- y: w.y + w.y0
56441
+ var E = w[b];
56442
+ E.x = e[0] * (c() + 0.5) >> 1, E.y = e[1] * (c() + 0.5) >> 1, a3e(p, E, w, b), E.hasText && h(m, E, g) && (v.push(E), g ? s3e(g, E) : g = [{
56443
+ x: E.x + E.x0,
56444
+ y: E.y + E.y0
56441
56445
  }, {
56442
- x: w.x + w.x1,
56443
- y: w.y + w.y1
56444
- }], w.x -= e[0] >> 1, w.y -= e[1] >> 1);
56446
+ x: E.x + E.x1,
56447
+ y: E.y + E.y1
56448
+ }], E.x -= e[0] >> 1, E.y -= e[1] >> 1);
56445
56449
  }
56446
56450
  return v;
56447
56451
  };
@@ -56456,7 +56460,7 @@ function i3e() {
56456
56460
  };
56457
56461
  }
56458
56462
  function h(p, m, g) {
56459
- for (var y = m.x, b = m.y, v = Math.hypot(e[0], e[1]), E = l(e), w = c() < 0.5 ? 1 : -1, _ = -w, S, M, N; (S = E(_ += w)) && (M = ~~S[0], N = ~~S[1], !(Math.min(Math.abs(M), Math.abs(N)) >= v)); )
56463
+ for (var y = m.x, b = m.y, v = Math.hypot(e[0], e[1]), w = l(e), E = c() < 0.5 ? 1 : -1, _ = -E, S, M, N; (S = w(_ += E)) && (M = ~~S[0], N = ~~S[1], !(Math.min(Math.abs(M), Math.abs(N)) >= v)); )
56460
56464
  if (m.x = y + M, m.y = b + N, !(m.x + m.x0 < 0 || m.y + m.y0 < 0 || m.x + m.x1 > e[0] || m.y + m.y1 > e[1]) && (!g || !o3e(m, p, e[0])) && (!g || l3e(m, g))) {
56461
56465
  for (var T = m.sprite, O = m.width >> 5, z = e[0] >> 5, B = m.x - (O << 4), I = B & 127, R = 32 - I, $ = m.y1 - m.y0, U = (m.y + m.y0) * z + (B >> 5), q, W = 0; W < $; W++) {
56462
56466
  q = 0;
@@ -56499,14 +56503,14 @@ function a3e(e, t, n, r) {
56499
56503
  var o = 0, s = 0, l = 0, u = n.length, c, f, d, h, p;
56500
56504
  for (--r; ++r < u; ) {
56501
56505
  if (t = n[r], i.save(), i.font = t.style + " " + t.weight + " " + ~~((t.size + 1) / a) + "px " + t.font, c = i.measureText(t.text + "m").width * a, d = t.size << 1, t.rotate) {
56502
- var m = Math.sin(t.rotate * tx), g = Math.cos(t.rotate * tx), y = c * g, b = c * m, v = d * g, E = d * m;
56503
- c = Math.max(Math.abs(y + E), Math.abs(y - E)) + 31 >> 5 << 5, d = ~~Math.max(Math.abs(b + v), Math.abs(b - v));
56506
+ var m = Math.sin(t.rotate * tx), g = Math.cos(t.rotate * tx), y = c * g, b = c * m, v = d * g, w = d * m;
56507
+ c = Math.max(Math.abs(y + w), Math.abs(y - w)) + 31 >> 5 << 5, d = ~~Math.max(Math.abs(b + v), Math.abs(b - v));
56504
56508
  } else
56505
56509
  c = c + 31 >> 5 << 5;
56506
56510
  if (d > l && (l = d), o + c >= Od << 5 && (o = 0, s += l, l = 0), s + d >= D1) break;
56507
56511
  i.translate((o + (c >> 1)) / a, (s + (d >> 1)) / a), t.rotate && i.rotate(t.rotate * tx), i.fillText(t.text, 0, 0), t.padding && (i.lineWidth = 2 * t.padding, i.strokeText(t.text, 0, 0)), i.restore(), t.width = c, t.height = d, t.xoff = o, t.yoff = s, t.x1 = c >> 1, t.y1 = d >> 1, t.x0 = -t.x1, t.y0 = -t.y1, t.hasText = !0, o += c;
56508
56512
  }
56509
- for (var w = i.getImageData(0, 0, (Od << 5) / a, D1 / a).data, _ = []; --r >= 0; )
56513
+ for (var E = i.getImageData(0, 0, (Od << 5) / a, D1 / a).data, _ = []; --r >= 0; )
56510
56514
  if (t = n[r], !!t.hasText) {
56511
56515
  for (c = t.width, f = c >> 5, d = t.y1 - t.y0, h = 0; h < d * f; h++) _[h] = 0;
56512
56516
  if (o = t.xoff, o == null) return;
@@ -56514,7 +56518,7 @@ function a3e(e, t, n, r) {
56514
56518
  var S = 0, M = -1;
56515
56519
  for (p = 0; p < d; p++) {
56516
56520
  for (h = 0; h < c; h++) {
56517
- var N = f * p + (h >> 5), T = w[(s + p) * (Od << 5) + (o + h) << 2] ? 1 << 31 - h % 32 : 0;
56521
+ var N = f * p + (h >> 5), T = E[(s + p) * (Od << 5) + (o + h) << 2] ? 1 << 31 - h % 32 : 0;
56518
56522
  _[N] |= T, S |= T;
56519
56523
  }
56520
56524
  S ? M = p : (t.y0++, d--, p--, s++);
@@ -56831,14 +56835,14 @@ ge(jE, Z, {
56831
56835
  },
56832
56836
  reinit(e, t) {
56833
56837
  const n = t.materialize().fork(), r = e.fields, i = e.query, a = this._indices, o = this._dims, s = this.value, l = s.curr(), u = s.prev(), c = s.all(), f = n.rem = n.add, d = n.mod, h = i.length, p = {};
56834
- let m, g, y, b, v, E, w, _, S;
56838
+ let m, g, y, b, v, w, E, _, S;
56835
56839
  if (u.set(l), t.rem.length && (v = this.remove(e, t, n)), t.add.length && s.add(t.add), t.mod.length)
56836
- for (E = {}, b = t.mod, w = 0, _ = b.length; w < _; ++w)
56837
- E[b[w]._index] = 1;
56838
- for (w = 0; w < h; ++w)
56839
- S = r[w], (!o[w] || e.modified("fields", w) || t.modified(S.fields)) && (y = S.fname, (m = p[y]) || (a[y] = g = DM(), p[y] = m = g.insert(S, t.source, 0)), o[w] = NM(g, w, i[w]).onAdd(m, l));
56840
- for (w = 0, _ = s.data().length; w < _; ++w)
56841
- v[w] || (u[w] !== l[w] ? f.push(w) : E[w] && l[w] !== c && d.push(w));
56840
+ for (w = {}, b = t.mod, E = 0, _ = b.length; E < _; ++E)
56841
+ w[b[E]._index] = 1;
56842
+ for (E = 0; E < h; ++E)
56843
+ S = r[E], (!o[E] || e.modified("fields", E) || t.modified(S.fields)) && (y = S.fname, (m = p[y]) || (a[y] = g = DM(), p[y] = m = g.insert(S, t.source, 0)), o[E] = NM(g, E, i[E]).onAdd(m, l));
56844
+ for (E = 0, _ = s.data().length; E < _; ++E)
56845
+ v[E] || (u[E] !== l[E] ? f.push(E) : w[E] && l[E] !== c && d.push(E));
56842
56846
  return s.mask = (1 << h) - 1, n;
56843
56847
  },
56844
56848
  eval(e, t) {
@@ -57856,10 +57860,10 @@ function G5e(e, t) {
57856
57860
  }, t));
57857
57861
  }
57858
57862
  function V5e(e, t, n, r) {
57859
- for (var i = this.context.data[e], a = i ? i.values.value : [], o = {}, s = {}, l = {}, u, c, f, d, h, p, m, g, y, b, v = a.length, E = 0, w, _; E < v; ++E)
57860
- if (u = a[E], d = u.unit, c = u.fields, f = u.values, c && f) {
57861
- for (w = 0, _ = c.length; w < _; ++w)
57862
- h = c[w], m = o[h.field] || (o[h.field] = {}), g = m[d] || (m[d] = []), l[h.field] = y = h.type.charAt(0), b = ax[`${y}_union`], m[d] = b(g, we(f[w]));
57863
+ for (var i = this.context.data[e], a = i ? i.values.value : [], o = {}, s = {}, l = {}, u, c, f, d, h, p, m, g, y, b, v = a.length, w = 0, E, _; w < v; ++w)
57864
+ if (u = a[w], d = u.unit, c = u.fields, f = u.values, c && f) {
57865
+ for (E = 0, _ = c.length; E < _; ++E)
57866
+ h = c[E], m = o[h.field] || (o[h.field] = {}), g = m[d] || (m[d] = []), l[h.field] = y = h.type.charAt(0), b = ax[`${y}_union`], m[d] = b(g, we(f[E]));
57863
57867
  n && (g = s[d] || (s[d] = []), g.push(we(f).reduce((S, M, N) => (S[c[N].field] = M, S), {})));
57864
57868
  } else
57865
57869
  h = Ha, p = Dh(u), m = o[h] || (o[h] = {}), g = m[d] || (m[d] = []), g.push(p), n && (g = s[d] || (s[d] = []), g.push({
@@ -60128,7 +60132,7 @@ function xEe(e, t, n, r, i) {
60128
60132
  }, d = `(${i}) ? datum.${rEe} : datum.${K5}`, h = u ? Dn(u) : {
60129
60133
  field: K5
60130
60134
  }, p = `datum.${Y5}`, m = `max(1, ${i})`;
60131
- let g, y, b, v, E;
60135
+ let g, y, b, v, w;
60132
60136
  h.mult = 0.5, g = {
60133
60137
  enter: y = {
60134
60138
  opacity: ct,
@@ -60148,9 +60152,9 @@ function xEe(e, t, n, r, i) {
60148
60152
  opacity: ct
60149
60153
  }
60150
60154
  };
60151
- let w = null, _ = null;
60152
- e.fill || (w = t.symbolBaseFillColor, _ = t.symbolBaseStrokeColor), Vn(g, {
60153
- fill: a("symbolFillColor", w),
60155
+ let E = null, _ = null;
60156
+ e.fill || (E = t.symbolBaseFillColor, _ = t.symbolBaseStrokeColor), Vn(g, {
60157
+ fill: a("symbolFillColor", E),
60154
60158
  shape: a("symbolType"),
60155
60159
  size: a("symbolSize"),
60156
60160
  stroke: a("symbolStrokeColor", _),
@@ -60235,9 +60239,9 @@ function xEe(e, t, n, r, i) {
60235
60239
  signal: null
60236
60240
  }
60237
60241
  }
60238
- }, a.isVertical(!0) ? (v = `ceil(item.mark.items.length / ${m})`, b.row.signal = `${p}%${v}`, b.column.signal = `floor(${p} / ${v})`, E = {
60242
+ }, a.isVertical(!0) ? (v = `ceil(item.mark.items.length / ${m})`, b.row.signal = `${p}%${v}`, b.column.signal = `floor(${p} / ${v})`, w = {
60239
60243
  field: ["row", p]
60240
- }) : (b.row.signal = `floor(${p} / ${m})`, b.column.signal = `${p} % ${m}`, E = {
60244
+ }) : (b.row.signal = `floor(${p} / ${m})`, b.column.signal = `${p} % ${m}`, w = {
60241
60245
  field: p
60242
60246
  }), b.column.signal = `(${i})?${b.column.signal}:${p}`, r = {
60243
60247
  facet: {
@@ -60252,7 +60256,7 @@ function xEe(e, t, n, r, i) {
60252
60256
  marks: [S, N],
60253
60257
  name: l,
60254
60258
  interactive: s,
60255
- sort: E
60259
+ sort: w
60256
60260
  });
60257
60261
  }
60258
60262
  function wEe(e, t) {
@@ -60577,12 +60581,12 @@ function yb(e, t) {
60577
60581
  pulse: d || b
60578
60582
  }));
60579
60583
  h = Ie(v), r && (p && (s = t.operators, s.pop(), o && s.pop()), t.pushState(b, d || h, g), i ? BEe(e, t, m) : p ? UEe(e, t, m) : t.parse(e), t.popState(), p && (o && s.push(o), s.push(v))), a && (h = qEe(a, h, t));
60580
- const E = t.add(mH({
60584
+ const w = t.add(mH({
60581
60585
  pulse: h
60582
- })), w = t.add(fc({
60583
- pulse: Ie(E)
60586
+ })), E = t.add(fc({
60587
+ pulse: Ie(w)
60584
60588
  }, void 0, t.parent()));
60585
- e.name != null && (f = e.name, t.addData(f, new Uu(t, u, E, w)), e.on && e.on.forEach((_) => {
60589
+ e.name != null && (f = e.name, t.addData(f, new Uu(t, u, w, E)), e.on && e.on.forEach((_) => {
60586
60590
  (_.insert || _.remove || _.toggle) && ee("Marks only support modify triggers."), TH(_, t, f);
60587
60591
  }));
60588
60592
  }
@@ -61118,33 +61122,33 @@ function g9e(e, t, n, r, i, a) {
61118
61122
  value: "center"
61119
61123
  }, r9e(s, "left", "right")), v = On(s, NH(s, "bottom", "top"), p ? fx(l, c, '"top"', '"bottom"', '"middle"') : {
61120
61124
  value: "middle"
61121
- }), E = fx(l, c, `-(${f})`, f, 0);
61125
+ }), w = fx(l, c, `-(${f})`, f, 0);
61122
61126
  p = p && f;
61123
- const w = {
61127
+ const E = {
61124
61128
  opacity: ct,
61125
61129
  x: On(s, y, g),
61126
61130
  y: pa(s, y, g)
61127
61131
  }, _ = {
61128
- enter: w,
61132
+ enter: E,
61129
61133
  update: m = {
61130
61134
  opacity: zi,
61131
61135
  text: {
61132
61136
  field: f9
61133
61137
  },
61134
- x: w.x,
61135
- y: w.y,
61138
+ x: E.x,
61139
+ y: E.y,
61136
61140
  align: b,
61137
61141
  baseline: v
61138
61142
  },
61139
61143
  exit: {
61140
61144
  opacity: ct,
61141
- x: w.x,
61142
- y: w.y
61145
+ x: E.x,
61146
+ y: E.y
61143
61147
  }
61144
61148
  };
61145
61149
  Vn(_, {
61146
- dx: !d && p ? On(s, E) : null,
61147
- dy: !h && p ? pa(s, E) : null
61150
+ dx: !d && p ? On(s, w) : null,
61151
+ dy: !h && p ? pa(s, w) : null
61148
61152
  }), Vn(_, {
61149
61153
  angle: o("labelAngle"),
61150
61154
  fill: o("labelColor"),
@@ -65650,7 +65654,7 @@ function mW(e, { config: t }) {
65650
65654
  s,
65651
65655
  // TODO: https://github.com/vega/vega-lite/issues/6245
65652
65656
  t
65653
- ), c = s.invalid, f = pW(l), { bins: d, timeUnits: h, transform: p, continuousAxisChannelDef: m, continuousAxis: g, groupby: y, aggregate: b, encodingWithoutContinuousAxis: v, ticksOrient: E, boxOrient: w, customTooltipWithoutAggregatedField: _ } = vAe(e, l, t), S = S0(m.field), { color: M, size: N, ...T } = v, O = (Re) => p_(s, g, m, Re, t.boxplot), z = O(T), B = O(v), I = (Ee(t.boxplot.box) ? t.boxplot.box.color : t.mark.color) || "#4c78a8", R = O({
65657
+ ), c = s.invalid, f = pW(l), { bins: d, timeUnits: h, transform: p, continuousAxisChannelDef: m, continuousAxis: g, groupby: y, aggregate: b, encodingWithoutContinuousAxis: v, ticksOrient: w, boxOrient: E, customTooltipWithoutAggregatedField: _ } = vAe(e, l, t), S = S0(m.field), { color: M, size: N, ...T } = v, O = (Re) => p_(s, g, m, Re, t.boxplot), z = O(T), B = O(v), I = (Ee(t.boxplot.box) ? t.boxplot.box.color : t.mark.color) || "#4c78a8", R = O({
65654
65658
  ...T,
65655
65659
  ...N ? { size: N } : {},
65656
65660
  color: {
@@ -65665,7 +65669,7 @@ function mW(e, { config: t }) {
65665
65669
  { fieldPrefix: "mid_box_", titlePrefix: "Median" },
65666
65670
  { fieldPrefix: "lower_box_", titlePrefix: "Q1" },
65667
65671
  { fieldPrefix: f === "min-max" ? "lower_whisker_" : "min_", titlePrefix: "Min" }
65668
- ], m, v), U = { type: "tick", color: "black", opacity: 1, orient: E, invalid: c, aria: !1 }, q = f === "min-max" ? $ : (
65672
+ ], m, v), U = { type: "tick", color: "black", opacity: 1, orient: w, invalid: c, aria: !1 }, q = f === "min-max" ? $ : (
65669
65673
  // for tukey / k-IQR, just show upper/lower-whisker
65670
65674
  a6([
65671
65675
  { fieldPrefix: "upper_whisker_", titlePrefix: "Upper Whisker" },
@@ -65705,7 +65709,7 @@ function mW(e, { config: t }) {
65705
65709
  mark: {
65706
65710
  type: "bar",
65707
65711
  ...u ? { size: u } : {},
65708
- orient: w,
65712
+ orient: E,
65709
65713
  invalid: c,
65710
65714
  ariaRoleDescription: "box"
65711
65715
  },
@@ -65720,7 +65724,7 @@ function mW(e, { config: t }) {
65720
65724
  invalid: c,
65721
65725
  ...Ee(t.boxplot.median) && t.boxplot.median.color ? { color: t.boxplot.median.color } : {},
65722
65726
  ...u ? { size: u } : {},
65723
- orient: E,
65727
+ orient: w,
65724
65728
  aria: !1
65725
65729
  },
65726
65730
  positionPrefix: "mid_box",
@@ -65851,7 +65855,7 @@ function vAe(e, t, n) {
65851
65855
  calculate: `max(${wt(`lower_box_${s}`)} - ${wt(`iqr_${s}`)} * ${t}, ${wt(`min_${s}`)})`,
65852
65856
  as: `lower_whisker_${s}`
65853
65857
  }
65854
- ], { [a]: f, ...d } = e.encoding, { customTooltipWithoutAggregatedField: h, filteredEncoding: p } = gAe(d), { bins: m, timeUnits: g, aggregate: y, groupby: b, encoding: v } = uW(p, n), E = r === "vertical" ? "horizontal" : "vertical", w = r, _ = [
65858
+ ], { [a]: f, ...d } = e.encoding, { customTooltipWithoutAggregatedField: h, filteredEncoding: p } = gAe(d), { bins: m, timeUnits: g, aggregate: y, groupby: b, encoding: v } = uW(p, n), w = r === "vertical" ? "horizontal" : "vertical", E = r, _ = [
65855
65859
  ...m,
65856
65860
  ...g,
65857
65861
  {
@@ -65869,8 +65873,8 @@ function vAe(e, t, n) {
65869
65873
  continuousAxisChannelDef: i,
65870
65874
  continuousAxis: a,
65871
65875
  encodingWithoutContinuousAxis: v,
65872
- ticksOrient: E,
65873
- boxOrient: w,
65876
+ ticksOrient: w,
65877
+ boxOrient: E,
65874
65878
  customTooltipWithoutAggregatedField: h
65875
65879
  };
65876
65880
  }
@@ -65975,7 +65979,7 @@ function SAe(e) {
65975
65979
  function bW(e, t, n) {
65976
65980
  const { mark: r, encoding: i, params: a, projection: o, ...s } = e, l = fo(r) ? r : { type: r };
65977
65981
  a && ce(uj(t));
65978
- const { orient: u, inputType: c } = EAe(e, t), { continuousAxisChannelDef: f, continuousAxisChannelDef2: d, continuousAxisChannelDefError: h, continuousAxisChannelDefError2: p, continuousAxis: m } = dW(e, u, t), { errorBarSpecificAggregate: g, postAggregateCalculates: y, tooltipSummary: b, tooltipTitleWithFieldName: v } = AAe(l, f, d, h, p, c, t, n), { [m]: E, [m === "x" ? "x2" : "y2"]: w, [m === "x" ? "xError" : "yError"]: _, [m === "x" ? "xError2" : "yError2"]: S, ...M } = i, { bins: N, timeUnits: T, aggregate: O, groupby: z, encoding: B } = uW(M, n), I = [...O, ...g], R = c !== "raw" ? [] : z, $ = a6(b, f, B, v);
65982
+ const { orient: u, inputType: c } = EAe(e, t), { continuousAxisChannelDef: f, continuousAxisChannelDef2: d, continuousAxisChannelDefError: h, continuousAxisChannelDefError2: p, continuousAxis: m } = dW(e, u, t), { errorBarSpecificAggregate: g, postAggregateCalculates: y, tooltipSummary: b, tooltipTitleWithFieldName: v } = AAe(l, f, d, h, p, c, t, n), { [m]: w, [m === "x" ? "x2" : "y2"]: E, [m === "x" ? "xError" : "yError"]: _, [m === "x" ? "xError2" : "yError2"]: S, ...M } = i, { bins: N, timeUnits: T, aggregate: O, groupby: z, encoding: B } = uW(M, n), I = [...O, ...g], R = c !== "raw" ? [] : z, $ = a6(b, f, B, v);
65979
65983
  return {
65980
65984
  transform: [
65981
65985
  ...s.transform ?? [],
@@ -66820,14 +66824,14 @@ function NW(e, t) {
66820
66824
  const h = h_e.reduce((y, b) => {
66821
66825
  if (b !== "tooltip" && Su(t, b)) {
66822
66826
  const v = t[b];
66823
- for (const E of we(v)) {
66824
- const w = wa(E);
66825
- if (w.aggregate)
66827
+ for (const w of we(v)) {
66828
+ const E = wa(w);
66829
+ if (E.aggregate)
66826
66830
  continue;
66827
- const _ = xe(w, {});
66831
+ const _ = xe(E, {});
66828
66832
  // if fielddef is a repeat, just include it in the stack by
66829
66833
  (!_ || // otherwise, the field must be different from the groupBy fields.
66830
- !u.has(_)) && y.push({ channel: b, fieldDef: w });
66834
+ !u.has(_)) && y.push({ channel: b, fieldDef: E });
66831
66835
  }
66832
66836
  }
66833
66837
  return y;
@@ -68258,7 +68262,7 @@ const pf = "_brush", KW = "_scale_trigger", sd = "geo_interval_init_tick", ZW =
68258
68262
  signals: (e, t, n) => {
68259
68263
  const r = t.name, i = r + ys, a = Gn(t.project.hasChannel).filter((s) => s.channel === Wt || s.channel === Ln), o = t.init ? t.init[0] : null;
68260
68264
  if (n.push(...a.reduce((s, l) => s.concat(lTe(e, t, l, o && o[l.index])), [])), e.hasProjection) {
68261
- const s = me(e.projectionName()), l = e.projectionName() + oTe, { x: u, y: c } = t.project.hasChannel, f = u && u.signals.visual, d = c && c.signals.visual, h = u ? o && o[u.index] : `${l}[0]`, p = c ? o && o[c.index] : `${l}[1]`, m = (w) => e.getSizeSignalRef(w).signal, g = `[[${f ? f + "[0]" : "0"}, ${d ? d + "[0]" : "0"}],[${f ? f + "[1]" : m("width")}, ${d ? d + "[1]" : m("height")}]]`;
68265
+ const s = me(e.projectionName()), l = e.projectionName() + oTe, { x: u, y: c } = t.project.hasChannel, f = u && u.signals.visual, d = c && c.signals.visual, h = u ? o && o[u.index] : `${l}[0]`, p = c ? o && o[c.index] : `${l}[1]`, m = (E) => e.getSizeSignalRef(E).signal, g = `[[${f ? f + "[0]" : "0"}, ${d ? d + "[0]" : "0"}],[${f ? f + "[1]" : m("width")}, ${d ? d + "[1]" : m("height")}]]`;
68262
68266
  o && (n.unshift({
68263
68267
  name: r + ZW,
68264
68268
  init: `[scale(${s}, [${u ? h[0] : h}, ${c ? p[0] : p}]), scale(${s}, [${u ? h[1] : h}, ${c ? p[1] : p}])]`
@@ -68266,13 +68270,13 @@ const pf = "_brush", KW = "_scale_trigger", sd = "geo_interval_init_tick", ZW =
68266
68270
  name: l,
68267
68271
  update: `invert(${s}, [${m("width")}/2, ${m("height")}/2])`
68268
68272
  })));
68269
- const y = `intersect(${g}, {markname: ${me(e.getName("marks"))}}, unit.mark)`, b = `{unit: ${Au(e)}}`, v = `vlSelectionTuples(${y}, ${b})`, E = a.map((w) => w.signals.visual);
68273
+ const y = `intersect(${g}, {markname: ${me(e.getName("marks"))}}, unit.mark)`, b = `{unit: ${Au(e)}}`, v = `vlSelectionTuples(${y}, ${b})`, w = a.map((E) => E.signals.visual);
68270
68274
  return n.concat({
68271
68275
  name: i,
68272
68276
  on: [
68273
68277
  {
68274
68278
  events: [
68275
- ...E.length ? [{ signal: E.join(" || ") }] : [],
68279
+ ...w.length ? [{ signal: w.join(" || ") }] : [],
68276
68280
  ...o ? [{ signal: sd }] : []
68277
68281
  ],
68278
68282
  update: v
@@ -68486,8 +68490,8 @@ function JW(e, t, n, { reactiveGeom: r } = {}) {
68486
68490
  if (dn(f)) {
68487
68491
  const y = f === "x" ? "x2" : "y2", b = wa(e[y]);
68488
68492
  if (zn(h.bin) && b) {
68489
- const v = xe(h, { expr: o }), E = xe(b, { expr: o }), { format: w, formatType: _ } = Sy(h);
68490
- g = Lp(v, E, w, _, i), a.add(y);
68493
+ const v = xe(h, { expr: o }), w = xe(b, { expr: o }), { format: E, formatType: _ } = Sy(h);
68494
+ g = Lp(v, w, E, _, i), a.add(y);
68491
68495
  }
68492
68496
  }
68493
68497
  if ((dn(f) || f === Ki || f === Ma) && t && t.fieldChannel === f && t.offset === "normalize") {
@@ -68899,7 +68903,7 @@ function vTe(e, t, n) {
68899
68903
  g = g || {
68900
68904
  [c]: bTe(c, h || l, p || u, a, b, !!e, r.type)
68901
68905
  };
68902
- const v = ((T = u || p) == null ? void 0 : T.get("type")) === "band" && Vu(b) && !y ? "top" : "middle", E = tG(t, r, a, v), w = E === "xc" || E === "yc", { offset: _, offsetType: S } = Xf({ channel: t, markDef: r, encoding: i, model: n, bandPosition: w ? 0.5 : 0 }), M = i_({
68906
+ const v = ((T = u || p) == null ? void 0 : T.get("type")) === "band" && Vu(b) && !y ? "top" : "middle", w = tG(t, r, a, v), E = w === "xc" || w === "yc", { offset: _, offsetType: S } = Xf({ channel: t, markDef: r, encoding: i, model: n, bandPosition: E ? 0.5 : 0 }), M = i_({
68903
68907
  channel: t,
68904
68908
  channelDef: e,
68905
68909
  markDef: r,
@@ -68909,14 +68913,14 @@ function vTe(e, t, n) {
68909
68913
  stack: o,
68910
68914
  offset: _,
68911
68915
  defaultRef: C_({ model: n, defaultPos: "mid", channel: t, scaleName: l, scale: u }),
68912
- bandPosition: w ? S === "encoding" ? 0 : 0.5 : $e(b) ? { signal: `(1-${b})/2` } : Vu(b) ? (1 - b.band) / 2 : 0
68916
+ bandPosition: E ? S === "encoding" ? 0 : 0.5 : $e(b) ? { signal: `(1-${b})/2` } : Vu(b) ? (1 - b.band) / 2 : 0
68913
68917
  });
68914
68918
  if (c)
68915
- return { [E]: M, ...g };
68919
+ return { [w]: M, ...g };
68916
68920
  {
68917
68921
  const O = xl(f), z = g[c], B = _ ? { ...z, offset: _ } : z;
68918
68922
  return {
68919
- [E]: M,
68923
+ [w]: M,
68920
68924
  // posRef might be an array that wraps position invalid test
68921
68925
  [O]: te(M) ? [M[0], { ...M[1], offset: B }] : {
68922
68926
  ...M,
@@ -68939,7 +68943,7 @@ function uD(e, t, n, r, i, a, o) {
68939
68943
  }
68940
68944
  function xTe({ fieldDef: e, fieldDef2: t, channel: n, model: r }) {
68941
68945
  var T;
68942
- const { config: i, markDef: a, encoding: o } = r, s = r.getScaleComponent(n), l = r.scaleName(n), u = s ? s.get("type") : void 0, c = s.get("reverse"), f = Vj({ channel: n, fieldDef: e, markDef: a, config: i, scaleType: u }), d = (T = r.component.axes[n]) == null ? void 0 : T[0], h = (d == null ? void 0 : d.get("translate")) ?? 0.5, p = dn(n) ? Ct("binSpacing", a, i) ?? 0 : 0, m = To(n), g = xl(n), y = xl(m), b = co("minBandSize", a, i), { offset: v } = Xf({ channel: n, markDef: a, encoding: o, model: r, bandPosition: 0 }), { offset: E } = Xf({ channel: m, markDef: a, encoding: o, model: r, bandPosition: 0 }), w = HSe({ fieldDef: e, scaleName: l }), _ = uD(n, p, c, h, v, b, w), S = uD(m, p, c, h, E ?? v, b, w), M = $e(f) ? { signal: `(1-${f.signal})/2` } : Vu(f) ? (1 - f.band) / 2 : 0.5, N = wl({ fieldDef: e, fieldDef2: t, markDef: a, config: i });
68946
+ const { config: i, markDef: a, encoding: o } = r, s = r.getScaleComponent(n), l = r.scaleName(n), u = s ? s.get("type") : void 0, c = s.get("reverse"), f = Vj({ channel: n, fieldDef: e, markDef: a, config: i, scaleType: u }), d = (T = r.component.axes[n]) == null ? void 0 : T[0], h = (d == null ? void 0 : d.get("translate")) ?? 0.5, p = dn(n) ? Ct("binSpacing", a, i) ?? 0 : 0, m = To(n), g = xl(n), y = xl(m), b = co("minBandSize", a, i), { offset: v } = Xf({ channel: n, markDef: a, encoding: o, model: r, bandPosition: 0 }), { offset: w } = Xf({ channel: m, markDef: a, encoding: o, model: r, bandPosition: 0 }), E = HSe({ fieldDef: e, scaleName: l }), _ = uD(n, p, c, h, v, b, E), S = uD(m, p, c, h, w ?? v, b, E), M = $e(f) ? { signal: `(1-${f.signal})/2` } : Vu(f) ? (1 - f.band) / 2 : 0.5, N = wl({ fieldDef: e, fieldDef2: t, markDef: a, config: i });
68943
68947
  if (zt(e.bin) || e.timeUnit) {
68944
68948
  const O = e.timeUnit && N !== 0.5;
68945
68949
  return {
@@ -69234,10 +69238,10 @@ const sG = "_translate_anchor", lG = "_translate_delta", STe = {
69234
69238
  }
69235
69239
  };
69236
69240
  function hD(e, t, n, r, i) {
69237
- const a = t.name, o = a + sG, s = a + lG, l = n.channel, u = ss.defined(t), c = i.find((w) => w.name === n.signals[u ? "data" : "visual"]), f = e.getSizeSignalRef(r).signal, d = e.getScaleComponent(l), h = d && d.get("type"), p = d && d.get("reverse"), m = u ? l === Wt ? p ? "" : "-" : p ? "-" : "" : "", g = `${o}.extent_${l}`, y = `${m}${s}.${l} / ${u ? `${f}` : `span(${g})`}`, b = !u || !d ? "panLinear" : h === "log" ? "panLog" : h === "symlog" ? "panSymlog" : h === "pow" ? "panPow" : "panLinear", v = u ? h === "pow" ? `, ${d.get("exponent") ?? 1}` : h === "symlog" ? `, ${d.get("constant") ?? 1}` : "" : "", E = `${b}(${g}, ${y}${v})`;
69241
+ const a = t.name, o = a + sG, s = a + lG, l = n.channel, u = ss.defined(t), c = i.find((E) => E.name === n.signals[u ? "data" : "visual"]), f = e.getSizeSignalRef(r).signal, d = e.getScaleComponent(l), h = d && d.get("type"), p = d && d.get("reverse"), m = u ? l === Wt ? p ? "" : "-" : p ? "-" : "" : "", g = `${o}.extent_${l}`, y = `${m}${s}.${l} / ${u ? `${f}` : `span(${g})`}`, b = !u || !d ? "panLinear" : h === "log" ? "panLog" : h === "symlog" ? "panSymlog" : h === "pow" ? "panPow" : "panLinear", v = u ? h === "pow" ? `, ${d.get("exponent") ?? 1}` : h === "symlog" ? `, ${d.get("constant") ?? 1}` : "" : "", w = `${b}(${g}, ${y}${v})`;
69238
69242
  c.on.push({
69239
69243
  events: { signal: s },
69240
- update: u ? E : `clampRange(${E}, 0, ${f})`
69244
+ update: u ? w : `clampRange(${w}, 0, ${f})`
69241
69245
  });
69242
69246
  }
69243
69247
  const uG = "_zoom_anchor", cG = "_zoom_delta", ATe = {
@@ -70119,9 +70123,9 @@ function Fd(e, t, n, r = { header: !1 }) {
70119
70123
  if (m && m !== t && m !== "both")
70120
70124
  delete c[p];
70121
70125
  else if (qp(g)) {
70122
- const { condition: y, ...b } = g, v = we(y), E = qN[p];
70123
- if (E) {
70124
- const { vgProp: w, part: _ } = E, S = [
70126
+ const { condition: y, ...b } = g, v = we(y), w = qN[p];
70127
+ if (w) {
70128
+ const { vgProp: E, part: _ } = w, S = [
70125
70129
  ...v.map((M) => {
70126
70130
  const { test: N, ...T } = M;
70127
70131
  return {
@@ -70131,15 +70135,15 @@ function Fd(e, t, n, r = { header: !1 }) {
70131
70135
  }),
70132
70136
  b
70133
70137
  ];
70134
- Ax(c, _, w, S), delete c[p];
70135
- } else if (E === null) {
70136
- const w = {
70138
+ Ax(c, _, E, S), delete c[p];
70139
+ } else if (w === null) {
70140
+ const E = {
70137
70141
  signal: v.map((_) => {
70138
70142
  const { test: S, ...M } = _;
70139
70143
  return `${Oy(null, S)} ? ${AN(M)} : `;
70140
70144
  }).join("") + AN(b)
70141
70145
  };
70142
- c[p] = w;
70146
+ c[p] = E;
70143
70147
  }
70144
70148
  } else if ($e(g)) {
70145
70149
  const y = qN[p];
@@ -70987,7 +70991,7 @@ function _Ne(e, t, n, r) {
70987
70991
  return e === (n || {})[t];
70988
70992
  }
70989
70993
  function kNe(e, t) {
70990
- var E;
70994
+ var w;
70991
70995
  let n = e.legend(t);
70992
70996
  const { markDef: r, encoding: i, config: a } = e, o = a.legend, s = new lNe({}, ENe(e, t));
70993
70997
  kTe(e, t, s);
@@ -70995,7 +70999,7 @@ function kNe(e, t) {
70995
70999
  if (s.set("disable", l, n !== void 0), l)
70996
71000
  return s;
70997
71001
  n = n || {};
70998
- const u = e.getScaleComponent(t).get("type"), c = wn(i[t]), f = he(c) ? (E = $n(c.timeUnit)) == null ? void 0 : E.unit : void 0, d = n.orient || a.legend.orient || "right", h = mNe({ legend: n, channel: t, timeUnit: f, scaleType: u }), p = yNe({ legend: n, legendType: h, orient: d, legendConfig: o }), m = {
71002
+ const u = e.getScaleComponent(t).get("type"), c = wn(i[t]), f = he(c) ? (w = $n(c.timeUnit)) == null ? void 0 : w.unit : void 0, d = n.orient || a.legend.orient || "right", h = mNe({ legend: n, channel: t, timeUnit: f, scaleType: u }), p = yNe({ legend: n, legendType: h, orient: d, legendConfig: o }), m = {
70999
71003
  legend: n,
71000
71004
  channel: t,
71001
71005
  model: e,
@@ -71009,20 +71013,20 @@ function kNe(e, t) {
71009
71013
  legendType: h,
71010
71014
  direction: p
71011
71015
  };
71012
- for (const w of $G) {
71013
- if (h === "gradient" && w.startsWith("symbol") || h === "symbol" && w.startsWith("gradient"))
71016
+ for (const E of $G) {
71017
+ if (h === "gradient" && E.startsWith("symbol") || h === "symbol" && E.startsWith("gradient"))
71014
71018
  continue;
71015
- const _ = w in AD ? AD[w](m) : n[w];
71019
+ const _ = E in AD ? AD[E](m) : n[E];
71016
71020
  if (_ !== void 0) {
71017
- const S = _Ne(_, w, n, e.fieldDef(t));
71018
- (S || a.legend[w] === void 0) && s.set(w, _, S);
71021
+ const S = _Ne(_, E, n, e.fieldDef(t));
71022
+ (S || a.legend[E] === void 0) && s.set(E, _, S);
71019
71023
  }
71020
71024
  }
71021
71025
  const g = (n == null ? void 0 : n.encoding) ?? {}, y = s.get("selections"), b = {}, v = { fieldOrDatumDef: c, model: e, channel: t, legendCmpt: s, legendType: h };
71022
- for (const w of ["labels", "legend", "title", "symbols", "gradient", "entries"]) {
71023
- const _ = OG(g[w] ?? {}, e), S = w in SD ? SD[w](_, v) : _;
71024
- S !== void 0 && !Tt(S) && (b[w] = {
71025
- ...y != null && y.length && he(c) ? { name: `${jt(c.field)}_legend_${w}` } : {},
71026
+ for (const E of ["labels", "legend", "title", "symbols", "gradient", "entries"]) {
71027
+ const _ = OG(g[E] ?? {}, e), S = E in SD ? SD[E](_, v) : _;
71028
+ S !== void 0 && !Tt(S) && (b[E] = {
71029
+ ...y != null && y.length && he(c) ? { name: `${jt(c.field)}_legend_${E}` } : {},
71026
71030
  ...y != null && y.length ? { interactive: !!y } : {},
71027
71031
  update: S
71028
71032
  });
@@ -74659,11 +74663,11 @@ function f4(e) {
74659
74663
  }
74660
74664
  let f, d;
74661
74665
  if (Xt(e)) {
74662
- const { markDef: y, mark: b, config: v } = e, E = Ct("invalid", y, v), { marks: w, scales: _ } = d = HW({
74663
- invalid: E,
74666
+ const { markDef: y, mark: b, config: v } = e, w = Ct("invalid", y, v), { marks: E, scales: _ } = d = HW({
74667
+ invalid: w,
74664
74668
  isPath: Bl(b)
74665
74669
  });
74666
- w !== _ && _ === "include-invalid-values" && (f = t = n1(Zt.PreFilterInvalid, e, t)), w === "exclude-invalid-values" && (t = Jf.make(t, e, d) ?? t);
74670
+ E !== _ && _ === "include-invalid-values" && (f = t = n1(Zt.PreFilterInvalid, e, t)), E === "exclude-invalid-values" && (t = Jf.make(t, e, d) ?? t);
74667
74671
  }
74668
74672
  const h = t = n1(Zt.Main, e, t);
74669
74673
  let p;
@@ -74983,12 +74987,12 @@ function cOe(e, t) {
74983
74987
  config: o
74984
74988
  };
74985
74989
  for (const v of sV) {
74986
- const E = v in _D ? _D[v](p) : HN(v) ? n[v] : void 0, w = E !== void 0, _ = lOe(E, v, n, t, e);
74987
- if (w && _)
74988
- r.set(v, E, _);
74990
+ const w = v in _D ? _D[v](p) : HN(v) ? n[v] : void 0, E = w !== void 0, _ = lOe(w, v, n, t, e);
74991
+ if (E && _)
74992
+ r.set(v, w, _);
74989
74993
  else {
74990
74994
  const { configValue: S = void 0, configFrom: M = void 0 } = HN(v) && v !== "values" ? y6(v, o.style, n.style, u) : {}, N = S !== void 0;
74991
- w && !N ? r.set(v, E, _) : (
74995
+ E && !N ? r.set(v, w, _) : (
74992
74996
  // Cases need implicit values
74993
74997
  // 1. Axis config that aren't available in Vega
74994
74998
  (M !== "vgAxisConfig" || // 2. Certain properties are always included (see `propsToAlwaysIncludeConfig`'s declaration for more details)
@@ -74997,11 +75001,11 @@ function cOe(e, t) {
74997
75001
  );
74998
75002
  }
74999
75003
  }
75000
- const m = n.encoding ?? {}, g = rW.reduce((v, E) => {
75001
- if (!r.hasAxisPart(E))
75004
+ const m = n.encoding ?? {}, g = rW.reduce((v, w) => {
75005
+ if (!r.hasAxisPart(w))
75002
75006
  return v;
75003
- const w = OG(m[E] ?? {}, t), _ = E === "labels" ? nOe(t, e, w) : w;
75004
- return _ !== void 0 && !Tt(_) && (v[E] = { update: _ }), v;
75007
+ const E = OG(m[w] ?? {}, t), _ = w === "labels" ? nOe(t, e, E) : E;
75008
+ return _ !== void 0 && !Tt(_) && (v[w] = { update: _ }), v;
75005
75009
  }, {});
75006
75010
  return Tt(g) || r.set("encode", g, !!n.encoding || n.labelAngle !== void 0), r;
75007
75011
  }
@@ -77043,21 +77047,21 @@ function c$e(e, t, n = {}, r) {
77043
77047
  b.classList.add("vega-embed"), f && b.classList.add("has-actions"), b.innerHTML = "";
77044
77048
  const v = n.patch;
77045
77049
  v && (v instanceof Function ? y = v(y) : y = Jy(y, v, !0, !1).newDocument), n.formatLocale && qs.formatLocale(n.formatLocale), n.timeFormatLocale && qs.timeFormatLocale(n.timeFormatLocale);
77046
- const E = qs.parse(y, g === "vega-lite" ? {} : c), w = new qs.View(E, {
77050
+ const w = qs.parse(y, g === "vega-lite" ? {} : c), E = new qs.View(w, {
77047
77051
  loader: r,
77048
77052
  logLevel: p,
77049
77053
  renderer: h
77050
77054
  });
77051
77055
  if (n.tooltip !== !1) {
77052
77056
  let N;
77053
- o$e(n.tooltip) ? N = n.tooltip : N = new QRe(n.tooltip === !0 ? {} : n.tooltip).call, w.tooltip(N);
77057
+ o$e(n.tooltip) ? N = n.tooltip : N = new QRe(n.tooltip === !0 ? {} : n.tooltip).call, E.tooltip(N);
77054
77058
  }
77055
77059
  let { hover: _ } = n;
77056
77060
  if (_ === void 0 && (_ = g === "vega"), _) {
77057
77061
  const { hoverSet: N, updateSet: T } = typeof _ == "boolean" ? {} : _;
77058
- w.hover(N, T);
77062
+ E.hover(N, T);
77059
77063
  }
77060
- n && (n.width != null && w.width(n.width), n.height != null && w.height(n.height), n.padding != null && w.padding(n.padding)), yield w.initialize(e).runAsync();
77064
+ n && (n.width != null && E.width(n.width), n.height != null && E.height(n.height), n.padding != null && E.padding(n.padding)), yield E.initialize(e).runAsync();
77061
77065
  let S;
77062
77066
  if (f !== !1) {
77063
77067
  let N = b;
@@ -77077,7 +77081,7 @@ function c$e(e, t, n = {}, r) {
77077
77081
  B.text = z, B.href = "#", B.target = "_blank", B.download = `${m}.${O}`, B.addEventListener("mousedown", function(I) {
77078
77082
  return tg(this, void 0, void 0, function* () {
77079
77083
  I.preventDefault();
77080
- const R = yield w.toImageURL(O, n.scaleFactor);
77084
+ const R = yield E.toImageURL(O, n.scaleFactor);
77081
77085
  this.href = R;
77082
77086
  });
77083
77087
  }), T.append(B);
@@ -77110,9 +77114,9 @@ function c$e(e, t, n = {}, r) {
77110
77114
  }
77111
77115
  }
77112
77116
  function M() {
77113
- S && document.removeEventListener("click", S), w.finalize();
77117
+ S && document.removeEventListener("click", S), E.finalize();
77114
77118
  }
77115
- return { view: w, spec: t, vgSpec: y, finalize: M };
77119
+ return { view: E, spec: t, vgSpec: y, finalize: M };
77116
77120
  });
77117
77121
  }
77118
77122
  function f$e(e) {
@@ -77605,83 +77609,85 @@ function H$e(e) {
77605
77609
  );
77606
77610
  }
77607
77611
  function j$e() {
77608
- var h, p, m, g, y, b, v, E;
77609
- const { sendMessage: e, isConnecting: t } = Yi(), { chatbot: n } = ti(), [r, i] = Cn(""), [a, o] = Cn(!1), s = ro(null), l = cn(
77610
- () => t || !r.trim(),
77611
- [t, r]
77612
- ), u = cn(
77612
+ var p, m, g, y, b, v, w, E;
77613
+ const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = Yi();
77614
+ console.log("ChatbotFooter inputPlaceholder:", n);
77615
+ const { chatbot: r } = ti(), [i, a] = Cn(""), [o, s] = Cn(!1), l = ro(null), u = cn(
77616
+ () => t || !i.trim(),
77617
+ [t, i]
77618
+ ), c = cn(
77613
77619
  () => ({
77614
- maxWidth: (n == null ? void 0 : n.contentMaxWidth) ?? "1200px",
77615
- borderTopColor: n == null ? void 0 : n.borderColor
77620
+ maxWidth: (r == null ? void 0 : r.contentMaxWidth) ?? "1200px",
77621
+ borderTopColor: r == null ? void 0 : r.borderColor
77616
77622
  }),
77617
- [n]
77618
- ), c = Ht(
77619
- (w) => {
77620
- const _ = w.target, S = _.value;
77621
- _.style.height = "36px", S && (_.style.height = `${_.scrollHeight}px`), i(w.target.value);
77623
+ [r]
77624
+ ), f = Ht(
77625
+ (_) => {
77626
+ const S = _.target, M = S.value;
77627
+ S.style.height = "36px", M && (S.style.height = `${S.scrollHeight}px`), a(_.target.value);
77622
77628
  },
77623
77629
  []
77624
- ), f = Ht(() => {
77625
- !a && !t && (e == null || e({ text: r }), i(""), s.current && (s.current.style.height = "36px"));
77626
- }, [a, t, e, r]), d = Ht(
77627
- (w) => {
77628
- if (w.key === "Enter" && !a && !t && r.trim()) {
77629
- e == null || e({ text: r }), i("");
77630
- const _ = w.target;
77631
- _.style.height = "36px";
77630
+ ), d = Ht(() => {
77631
+ !o && !t && (e == null || e({ text: i }), a(""), l.current && (l.current.style.height = "36px"));
77632
+ }, [o, t, e, i]), h = Ht(
77633
+ (_) => {
77634
+ if (_.key === "Enter" && !o && !t && i.trim()) {
77635
+ e == null || e({ text: i }), a("");
77636
+ const S = _.target;
77637
+ S.style.height = "36px";
77632
77638
  }
77633
77639
  },
77634
- [a, t, e, r]
77640
+ [o, t, e, i]
77635
77641
  );
77636
77642
  return ln(() => {
77637
- var w, _, S;
77638
- s.current && s.current.style.setProperty(
77643
+ var _, S, M;
77644
+ l.current && l.current.style.setProperty(
77639
77645
  "--asg-color-text-placeholder",
77640
- ((S = (_ = (w = n.footer) == null ? void 0 : w.textArea) == null ? void 0 : _["::placeholder"]) == null ? void 0 : S.color) ?? "var(--asg-color-text-placeholder)"
77646
+ ((M = (S = (_ = r.footer) == null ? void 0 : _.textArea) == null ? void 0 : S["::placeholder"]) == null ? void 0 : M.color) ?? "var(--asg-color-text-placeholder)"
77641
77647
  );
77642
- }, [(h = n.footer) == null ? void 0 : h.textArea]), /* @__PURE__ */ re(
77648
+ }, [(p = r.footer) == null ? void 0 : p.textArea]), /* @__PURE__ */ re(
77643
77649
  "div",
77644
77650
  {
77645
77651
  className: nn("asgard-chatbot-footer", tu.chatbot_footer),
77646
- style: (p = n.footer) == null ? void 0 : p.style,
77647
- children: /* @__PURE__ */ Dt("div", { className: tu.chatbot_footer__content, style: u, children: [
77652
+ style: (m = r.footer) == null ? void 0 : m.style,
77653
+ children: /* @__PURE__ */ Dt("div", { className: tu.chatbot_footer__content, style: c, children: [
77648
77654
  /* @__PURE__ */ re(
77649
77655
  "textarea",
77650
77656
  {
77651
- ref: s,
77657
+ ref: l,
77652
77658
  className: tu.chatbot_textarea,
77653
- style: (g = (m = n.footer) == null ? void 0 : m.textArea) == null ? void 0 : g.style,
77659
+ style: (y = (g = r.footer) == null ? void 0 : g.textArea) == null ? void 0 : y.style,
77654
77660
  disabled: t,
77655
77661
  cols: 40,
77656
- value: r,
77657
- placeholder: "Enter message",
77658
- onChange: c,
77659
- onKeyDown: d,
77660
- onCompositionStart: () => o(!0),
77661
- onCompositionEnd: () => o(!1)
77662
+ value: i,
77663
+ placeholder: n || "Enter message",
77664
+ onChange: f,
77665
+ onKeyDown: h,
77666
+ onCompositionStart: () => s(!0),
77667
+ onCompositionEnd: () => s(!1)
77662
77668
  }
77663
77669
  ),
77664
- r ? /* @__PURE__ */ re(
77670
+ i ? /* @__PURE__ */ re(
77665
77671
  "button",
77666
77672
  {
77667
77673
  className: nn(
77668
77674
  tu.chatbot_submit_button,
77669
- l && tu.chatbot_submit_button__disabled
77675
+ u && tu.chatbot_submit_button__disabled
77670
77676
  ),
77671
- style: (b = (y = n.footer) == null ? void 0 : y.submitButton) == null ? void 0 : b.style,
77672
- disabled: l,
77673
- onClick: f,
77677
+ style: (v = (b = r.footer) == null ? void 0 : b.submitButton) == null ? void 0 : v.style,
77678
+ disabled: u,
77679
+ onClick: d,
77674
77680
  children: /* @__PURE__ */ re(B$e, {})
77675
77681
  }
77676
77682
  ) : /* @__PURE__ */ re(
77677
77683
  H$e,
77678
77684
  {
77679
- setValue: i,
77685
+ setValue: a,
77680
77686
  className: nn(
77681
77687
  tu.chatbot_submit_button,
77682
77688
  t && tu.chatbot_submit_button__disabled
77683
77689
  ),
77684
- style: (E = (v = n.footer) == null ? void 0 : v.speechInputButton) == null ? void 0 : E.style
77690
+ style: (E = (w = r.footer) == null ? void 0 : w.speechInputButton) == null ? void 0 : E.style
77685
77691
  }
77686
77692
  )
77687
77693
  ] })
@@ -77760,26 +77766,27 @@ const PFe = wV(function(t, n) {
77760
77766
  fullScreen: c = !1,
77761
77767
  avatar: f,
77762
77768
  botTypingPlaceholder: d,
77763
- enableLoadConfigFromService: h = !1,
77764
- maintainConnectionWhenClosed: p = !1,
77765
- asyncInitializers: m = {},
77766
- loadingComponent: g,
77767
- onReset: y,
77768
- onClose: b,
77769
- onTemplateBtnClick: v,
77769
+ inputPlaceholder: h,
77770
+ enableLoadConfigFromService: p = !1,
77771
+ maintainConnectionWhenClosed: m = !1,
77772
+ asyncInitializers: g = {},
77773
+ loadingComponent: y,
77774
+ onReset: b,
77775
+ onClose: v,
77776
+ onTemplateBtnClick: w,
77770
77777
  onErrorClick: E,
77771
- errorMessageRenderer: w,
77772
- className: _,
77773
- style: S,
77774
- defaultLinkTarget: M
77778
+ errorMessageRenderer: _,
77779
+ className: S,
77780
+ style: M,
77781
+ defaultLinkTarget: N
77775
77782
  } = t;
77776
77783
  return /* @__PURE__ */ re(
77777
77784
  Qae,
77778
77785
  {
77779
- enabled: h,
77786
+ enabled: p,
77780
77787
  config: o,
77781
- asyncInitializers: m,
77782
- loadingComponent: g,
77788
+ asyncInitializers: g,
77789
+ loadingComponent: y,
77783
77790
  children: /* @__PURE__ */ re(Jae, { theme: a, children: /* @__PURE__ */ re(
77784
77791
  eoe,
77785
77792
  {
@@ -77790,30 +77797,31 @@ const PFe = wV(function(t, n) {
77790
77797
  initMessages: l,
77791
77798
  onSseMessage: u,
77792
77799
  botTypingPlaceholder: d,
77800
+ inputPlaceholder: h,
77793
77801
  children: /* @__PURE__ */ Dt(
77794
77802
  K$e,
77795
77803
  {
77796
77804
  fullScreen: c,
77797
- className: _,
77798
- style: S,
77805
+ className: S,
77806
+ style: M,
77799
77807
  children: [
77800
77808
  /* @__PURE__ */ re(
77801
77809
  loe,
77802
77810
  {
77803
77811
  title: r,
77804
- onReset: y,
77805
- onClose: b,
77812
+ onReset: b,
77813
+ onClose: v,
77806
77814
  customActions: i,
77807
- maintainConnectionWhenClosed: p
77815
+ maintainConnectionWhenClosed: m
77808
77816
  }
77809
77817
  ),
77810
77818
  /* @__PURE__ */ re(
77811
77819
  zae,
77812
77820
  {
77813
77821
  onErrorClick: E,
77814
- errorMessageRenderer: w,
77815
- onTemplateBtnClick: v,
77816
- defaultLinkTarget: M,
77822
+ errorMessageRenderer: _,
77823
+ onTemplateBtnClick: w,
77824
+ defaultLinkTarget: N,
77817
77825
  children: /* @__PURE__ */ re($$e, {})
77818
77826
  }
77819
77827
  ),