@malloydata/render 0.0.138-dev240404154020 → 0.0.138-dev240404193102

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.
@@ -599,6 +599,9 @@ ne.isValueDate = nxe;
599
599
  sqlTzStr(a) {
600
600
  return `"${a.queryTimezone}"`;
601
601
  }
602
+ sqlMakeUnnestKey(a, l) {
603
+ return this.concat(a, "'x'", l);
604
+ }
602
605
  }
603
606
  t.Dialect = o;
604
607
  })(Hx);
@@ -3860,7 +3863,7 @@ class A2e extends wP.Dialect {
3860
3863
  //
3861
3864
  sqlUnnestAlias(e, n, r, i, s, o) {
3862
3865
  const u = r.map((a) => this.sqlMaybeQuoteIdentifier(a.sqlOutputName));
3863
- return s ? i ? `,UNNEST(ARRAY(( SELECT AS STRUCT row_number() over() as __row_id, value FROM UNNEST(${e}) value))) as ${n}` : `,UNNEST(ARRAY((SELECT AS STRUCT value FROM unnest(${e}) value))) as ${n}` : i ? `,UNNEST(zip_with(a, SEQUENCE(1,cardinality(a)), (r,__row_id) -> (r, __row_id))) as ${n}_outer(${n},__row_id)` : `,UNNEST(${e}) as ${n}(${u.join(", ")})`;
3866
+ return s ? i ? `,UNNEST(zip(${e}, SEQUENCE(1,cardinality(${e})))) as words_0(value,__row_id_from_${n})` : `,UNNEST(transform(${e}, x -> ROW(x) )) as ${n}(value)` : i ? `,UNNEST(zip_with(a, SEQUENCE(1,cardinality(a)), (r,__row_id) -> (r, __row_id))) as ${n}_outer(${n},__row_id_from_${n})` : `,UNNEST(${e}) as ${n}(${u.join(", ")})`;
3864
3867
  }
3865
3868
  sqlSumDistinctHashedKey(e) {
3866
3869
  e = `CAST(${e} AS VARCHAR)`;
@@ -3871,7 +3874,7 @@ class A2e extends wP.Dialect {
3871
3874
  return "UUID()";
3872
3875
  }
3873
3876
  sqlFieldReference(e, n, r, i, s) {
3874
- return n === "__row_id" ? `${e}_outer.__row_id` : `${e}.${n}`;
3877
+ return n === "__row_id" ? `__row_id_from_${e}` : `${e}.${n}`;
3875
3878
  }
3876
3879
  sqlUnnestPipelineHead(e, n) {
3877
3880
  let r = n;
@@ -4000,6 +4003,9 @@ ${(0, FP.indent)(n)}
4000
4003
  concat(...e) {
4001
4004
  return e.join(" || ");
4002
4005
  }
4006
+ sqlMakeUnnestKey(e, n) {
4007
+ return `CAST(${e} as VARCHAR) || 'x' || CAST(${n} as VARCHAR)`;
4008
+ }
4003
4009
  validateTypeName(e) {
4004
4010
  return e.match(/^[A-Za-z\s(),<>0-9]*$/) !== null;
4005
4011
  }
@@ -4680,10 +4686,9 @@ class P2e extends ni {
4680
4686
  return this.parent.getPrimaryKeyField(this.fieldDef).generateExpression(e);
4681
4687
  if (this.parent.fieldDef.structSource.type === "nested") {
4682
4688
  const r = (n = this.parent.parent) === null || n === void 0 ? void 0 : n.getDistinctKey().generateExpression(e);
4683
- return this.parent.dialect.concat(
4689
+ return this.parent.dialect.sqlMakeUnnestKey(
4684
4690
  r || "",
4685
4691
  // shouldn't have to do this...
4686
- "'x'",
4687
4692
  this.parent.dialect.sqlFieldReference(this.parent.getIdentifier(), "__row_id", "string", !0, !1)
4688
4693
  );
4689
4694
  } else
@@ -28352,7 +28357,7 @@ class d extends b3e.Parser {
28352
28357
  }
28353
28358
  // @RuleVersion(0)
28354
28359
  collectionMember() {
28355
- let e = new eS(this._ctx, this.state);
28360
+ let e = new e4(this._ctx, this.state);
28356
28361
  this.enterRule(e, 238, d.RULE_collectionMember);
28357
28362
  try {
28358
28363
  switch (this.state = 1209, this._errHandler.sync(this), this.interpreter.adaptivePredict(this._input, 128, this._ctx)) {
@@ -34680,7 +34685,7 @@ class Om extends ye.ParserRuleContext {
34680
34685
  F.FieldNameListContext = Om;
34681
34686
  class k9 extends ye.ParserRuleContext {
34682
34687
  collectionMember(e) {
34683
- return e === void 0 ? this.getRuleContexts(eS) : this.getRuleContext(e, eS);
34688
+ return e === void 0 ? this.getRuleContexts(e4) : this.getRuleContext(e, e4);
34684
34689
  }
34685
34690
  COMMA(e) {
34686
34691
  return e === void 0 ? this.getTokens(d.COMMA) : this.getToken(d.COMMA, e);
@@ -34845,7 +34850,7 @@ class j9 extends ye.ParserRuleContext {
34845
34850
  }
34846
34851
  }
34847
34852
  F.RefExprContext = j9;
34848
- class eS extends ye.ParserRuleContext {
34853
+ class e4 extends ye.ParserRuleContext {
34849
34854
  taggedRef() {
34850
34855
  return this.tryGetRuleContext(0, tb);
34851
34856
  }
@@ -34875,7 +34880,7 @@ class eS extends ye.ParserRuleContext {
34875
34880
  return e.visitCollectionMember ? e.visitCollectionMember(this) : e.visitChildren(this);
34876
34881
  }
34877
34882
  }
34878
- F.CollectionMemberContext = eS;
34883
+ F.CollectionMemberContext = e4;
34879
34884
  class ql extends ye.ParserRuleContext {
34880
34885
  fieldName(e) {
34881
34886
  return e === void 0 ? this.getRuleContexts(as) : this.getRuleContext(e, as);
@@ -35671,7 +35676,7 @@ class he extends Q3e.Parser {
35671
35676
  }
35672
35677
  // @RuleVersion(0)
35673
35678
  identifier() {
35674
- let e = new tS(this._ctx, this.state);
35679
+ let e = new t4(this._ctx, this.state);
35675
35680
  this.enterRule(e, 6, he.RULE_identifier);
35676
35681
  let n;
35677
35682
  try {
@@ -35737,7 +35742,7 @@ class he extends Q3e.Parser {
35737
35742
  }
35738
35743
  // @RuleVersion(0)
35739
35744
  arrayElement() {
35740
- let e = new nS(this._ctx, this.state);
35745
+ let e = new n4(this._ctx, this.state);
35741
35746
  this.enterRule(e, 12, he.RULE_arrayElement);
35742
35747
  let n;
35743
35748
  try {
@@ -36101,7 +36106,7 @@ class sb extends _a.ParserRuleContext {
36101
36106
  }
36102
36107
  }
36103
36108
  Rt.StringContext = sb;
36104
- class tS extends _a.ParserRuleContext {
36109
+ class t4 extends _a.ParserRuleContext {
36105
36110
  BQ_STRING() {
36106
36111
  return this.tryGetToken(he.BQ_STRING, 0);
36107
36112
  }
@@ -36120,10 +36125,10 @@ class tS extends _a.ParserRuleContext {
36120
36125
  return e.visitIdentifier ? e.visitIdentifier(this) : e.visitChildren(this);
36121
36126
  }
36122
36127
  }
36123
- Rt.IdentifierContext = tS;
36128
+ Rt.IdentifierContext = t4;
36124
36129
  class ad extends _a.ParserRuleContext {
36125
36130
  identifier(e) {
36126
- return e === void 0 ? this.getRuleContexts(tS) : this.getRuleContext(e, tS);
36131
+ return e === void 0 ? this.getRuleContexts(t4) : this.getRuleContext(e, t4);
36127
36132
  }
36128
36133
  DOT(e) {
36129
36134
  return e === void 0 ? this.getTokens(he.DOT) : this.getToken(he.DOT, e);
@@ -36164,7 +36169,7 @@ class z9 extends _a.ParserRuleContext {
36164
36169
  }
36165
36170
  }
36166
36171
  Rt.EqValueContext = z9;
36167
- class nS extends _a.ParserRuleContext {
36172
+ class n4 extends _a.ParserRuleContext {
36168
36173
  string() {
36169
36174
  return this.tryGetRuleContext(0, sb);
36170
36175
  }
@@ -36189,7 +36194,7 @@ class nS extends _a.ParserRuleContext {
36189
36194
  return e.visitArrayElement ? e.visitArrayElement(this) : e.visitChildren(this);
36190
36195
  }
36191
36196
  }
36192
- Rt.ArrayElementContext = nS;
36197
+ Rt.ArrayElementContext = n4;
36193
36198
  class ob extends _a.ParserRuleContext {
36194
36199
  RF_BEG() {
36195
36200
  return this.getToken(he.RF_BEG, 0);
@@ -36218,7 +36223,7 @@ class ub extends _a.ParserRuleContext {
36218
36223
  return this.getToken(he.AR_BEG, 0);
36219
36224
  }
36220
36225
  arrayElement(e) {
36221
- return e === void 0 ? this.getRuleContexts(nS) : this.getRuleContext(e, nS);
36226
+ return e === void 0 ? this.getRuleContexts(n4) : this.getRuleContext(e, n4);
36222
36227
  }
36223
36228
  AR_END() {
36224
36229
  return this.getToken(he.AR_END, 0);
@@ -39024,7 +39029,7 @@ function JX(t, e, n, r) {
39024
39029
  evalSpace: (0, Tn.mergeEvalSpaces)(i.evalSpace, s.evalSpace)
39025
39030
  } : (e.log(`Non numeric('${i.dataType},${s.dataType}') value with '${n}'`), (0, Xh.errorFor)("numbers required"));
39026
39031
  }
39027
- function eSe(t, e, n, r) {
39032
+ function e4e(t, e, n, r) {
39028
39033
  const i = e.getExpression(t), s = r.getExpression(t), o = vy(e, i, r, s);
39029
39034
  if (o)
39030
39035
  return o;
@@ -39050,7 +39055,7 @@ function ZX(t, e, n, r) {
39050
39055
  if ((0, Qve.isComparison)(n))
39051
39056
  return Jve(t, e, n, r);
39052
39057
  if (MO(n, "+", "-"))
39053
- return eSe(t, e, n, r);
39058
+ return e4e(t, e, n, r);
39054
39059
  if (MO(n, "*", "%"))
39055
39060
  return JX(t, e, n, r);
39056
39061
  if (MO(n, "/")) {
@@ -39106,10 +39111,10 @@ function vy(t, e, n, r) {
39106
39111
  }
39107
39112
  Object.defineProperty(u1, "__esModule", { value: !0 });
39108
39113
  u1.BinaryBoolean = void 0;
39109
- const Vj = ne, tSe = _r, nSe = cn, rSe = pt, iSe = yn;
39110
- class sSe extends rSe.ExpressionDef {
39114
+ const Vj = ne, t4e = _r, n4e = cn, r4e = pt, i4e = yn;
39115
+ class s4e extends r4e.ExpressionDef {
39111
39116
  constructor(e, n, r) {
39112
- super({ left: e, right: r }), this.left = e, this.op = n, this.right = r, this.elementType = "abstract boolean binary", this.legalChildTypes = [nSe.FT.boolT];
39117
+ super({ left: e, right: r }), this.left = e, this.op = n, this.right = r, this.elementType = "abstract boolean binary", this.legalChildTypes = [n4e.FT.boolT];
39113
39118
  }
39114
39119
  getExpression(e) {
39115
39120
  const n = this.left.getExpression(e), r = this.right.getExpression(e);
@@ -39119,16 +39124,16 @@ class sSe extends rSe.ExpressionDef {
39119
39124
  dataType: "boolean",
39120
39125
  expressionType: (0, Vj.maxExpressionType)(n.expressionType, r.expressionType),
39121
39126
  evalSpace: i,
39122
- value: (0, iSe.compose)(n.value, this.op, r.value)
39127
+ value: (0, i4e.compose)(n.value, this.op, r.value)
39123
39128
  };
39124
39129
  }
39125
- return (0, tSe.errorFor)("logial required boolean");
39130
+ return (0, t4e.errorFor)("logial required boolean");
39126
39131
  }
39127
39132
  }
39128
- u1.BinaryBoolean = sSe;
39133
+ u1.BinaryBoolean = s4e;
39129
39134
  Object.defineProperty(Ey, "__esModule", { value: !0 });
39130
39135
  Ey.ExprCompare = void 0;
39131
- const Wt = cn, oSe = u1, uSe = {
39136
+ const Wt = cn, o4e = u1, u4e = {
39132
39137
  "~": [Wt.FT.stringT],
39133
39138
  "!~": [Wt.FT.stringT],
39134
39139
  "<": [Wt.FT.numberT, Wt.FT.stringT, Wt.FT.dateT, Wt.FT.timestampT],
@@ -39138,20 +39143,20 @@ const Wt = cn, oSe = u1, uSe = {
39138
39143
  ">=": [Wt.FT.numberT, Wt.FT.stringT, Wt.FT.dateT, Wt.FT.timestampT],
39139
39144
  ">": [Wt.FT.numberT, Wt.FT.stringT, Wt.FT.dateT, Wt.FT.timestampT]
39140
39145
  };
39141
- class aSe extends oSe.BinaryBoolean {
39146
+ class a4e extends o4e.BinaryBoolean {
39142
39147
  constructor(e, n, r) {
39143
- super(e, n, r), this.elementType = "a<=>b", this.legalChildTypes = uSe[n];
39148
+ super(e, n, r), this.elementType = "a<=>b", this.legalChildTypes = u4e[n];
39144
39149
  }
39145
39150
  getExpression(e) {
39146
39151
  return this.right.apply(e, this.op, this.left);
39147
39152
  }
39148
39153
  }
39149
- Ey.ExprCompare = aSe;
39154
+ Ey.ExprCompare = a4e;
39150
39155
  var Sy = {}, l1 = {};
39151
39156
  Object.defineProperty(l1, "__esModule", { value: !0 });
39152
39157
  l1.ExprTime = void 0;
39153
- const lSe = ne, cSe = yn, fSe = pt;
39154
- class K9 extends fSe.ExpressionDef {
39158
+ const l4e = ne, c4e = yn, f4e = pt;
39159
+ class K9 extends f4e.ExpressionDef {
39155
39160
  constructor(e, n, r = "scalar") {
39156
39161
  super(), this.elementType = "timestampOrDate", this.elementType = e, this.translationValue = {
39157
39162
  dataType: e,
@@ -39173,7 +39178,7 @@ class K9 extends fSe.ExpressionDef {
39173
39178
  dstType: e,
39174
39179
  expr: n.value
39175
39180
  };
39176
- (0, lSe.isTimeFieldType)(n.dataType) && (i.srcType = n.dataType), r = (0, cSe.compressExpr)([i]);
39181
+ (0, l4e.isTimeFieldType)(n.dataType) && (i.srcType = n.dataType), r = (0, c4e.compressExpr)([i]);
39177
39182
  }
39178
39183
  return new K9(e, r, n.expressionType);
39179
39184
  }
@@ -39182,8 +39187,8 @@ l1.ExprTime = K9;
39182
39187
  var Oc = {};
39183
39188
  Object.defineProperty(Oc, "__esModule", { value: !0 });
39184
39189
  Oc.Range = void 0;
39185
- const Yj = ne, xSe = _r, dSe = pt, hSe = yn;
39186
- class pSe extends dSe.ExpressionDef {
39190
+ const Yj = ne, x4e = _r, d4e = pt, h4e = yn;
39191
+ class p4e extends d4e.ExpressionDef {
39187
39192
  constructor(e, n) {
39188
39193
  super({ first: e, last: n }), this.first = e, this.last = n, this.elementType = "range";
39189
39194
  }
@@ -39196,7 +39201,7 @@ class pSe extends dSe.ExpressionDef {
39196
39201
  dataType: "boolean",
39197
39202
  expressionType: (0, Yj.maxExpressionType)(u.expressionType, a.expressionType),
39198
39203
  evalSpace: (0, Yj.mergeEvalSpaces)(u.evalSpace, a.evalSpace),
39199
- value: (0, hSe.compose)(u.value, s, a.value)
39204
+ value: (0, h4e.compose)(u.value, s, a.value)
39200
39205
  };
39201
39206
  }
39202
39207
  case ">":
@@ -39213,14 +39218,14 @@ class pSe extends dSe.ExpressionDef {
39213
39218
  requestExpression(e) {
39214
39219
  }
39215
39220
  getExpression(e) {
39216
- return this.log("A Range is not a value"), (0, xSe.errorFor)("a range is not a value");
39221
+ return this.log("A Range is not a value"), (0, x4e.errorFor)("a range is not a value");
39217
39222
  }
39218
39223
  }
39219
- Oc.Range = pSe;
39224
+ Oc.Range = p4e;
39220
39225
  Object.defineProperty(Sy, "__esModule", { value: !0 });
39221
39226
  Sy.ExprGranularTime = void 0;
39222
- const jO = ne, gSe = _r, Kj = cn, Xj = bn, mSe = pt, KE = l1, Jj = Oc;
39223
- class ySe extends mSe.ExpressionDef {
39227
+ const jO = ne, g4e = _r, Kj = cn, Xj = bn, m4e = pt, KE = l1, Jj = Oc;
39228
+ class y4e extends m4e.ExpressionDef {
39224
39229
  constructor(e, n, r) {
39225
39230
  super({ expr: e }), this.expr = e, this.units = n, this.truncate = r, this.elementType = "granularTime", this.legalChildTypes = [Kj.FT.timestampT, Kj.FT.dateT];
39226
39231
  }
@@ -39249,7 +39254,7 @@ class ySe extends mSe.ExpressionDef {
39249
39254
  return {
39250
39255
  ...r,
39251
39256
  dataType: i,
39252
- value: (0, gSe.errorFor)("granularity typecheck").value,
39257
+ value: (0, g4e.errorFor)("granularity typecheck").value,
39253
39258
  evalSpace: "constant"
39254
39259
  };
39255
39260
  }
@@ -39278,55 +39283,55 @@ class ySe extends mSe.ExpressionDef {
39278
39283
  return new Jj.Range(r, s);
39279
39284
  }
39280
39285
  }
39281
- Sy.ExprGranularTime = ySe;
39286
+ Sy.ExprGranularTime = y4e;
39282
39287
  Object.defineProperty(Eb, "__esModule", { value: !0 });
39283
39288
  Eb.Apply = void 0;
39284
- const ESe = K0, ASe = Ey, vSe = a1, Zj = Sy;
39285
- class SSe extends ASe.ExprCompare {
39289
+ const E4e = K0, A4e = Ey, v4e = a1, Zj = Sy;
39290
+ class S4e extends A4e.ExprCompare {
39286
39291
  constructor(e, n) {
39287
- super(e, ESe.Comparison.EqualTo, n), this.left = e, this.right = n, this.elementType = "apply";
39292
+ super(e, E4e.Comparison.EqualTo, n), this.left = e, this.right = n, this.elementType = "apply";
39288
39293
  }
39289
39294
  getExpression(e) {
39290
39295
  let n = this.right;
39291
39296
  if (!this.right.granular()) {
39292
39297
  const r = this.right.requestExpression(e);
39293
- r && (0, vSe.isGranularResult)(r) && (n = new Zj.ExprGranularTime(this.right, r.timeframe, !1));
39298
+ r && (0, v4e.isGranularResult)(r) && (n = new Zj.ExprGranularTime(this.right, r.timeframe, !1));
39294
39299
  }
39295
39300
  return n instanceof Zj.ExprGranularTime ? n.toRange(e).apply(e, this.op, this.left) : super.getExpression(e);
39296
39301
  }
39297
39302
  }
39298
- Eb.Apply = SSe;
39303
+ Eb.Apply = S4e;
39299
39304
  var c1 = {};
39300
39305
  Object.defineProperty(c1, "__esModule", { value: !0 });
39301
39306
  c1.BinaryNumeric = void 0;
39302
- const _Se = cn, CSe = pt;
39303
- class bSe extends CSe.ExpressionDef {
39307
+ const _4e = cn, C4e = pt;
39308
+ class b4e extends C4e.ExpressionDef {
39304
39309
  constructor(e, n, r) {
39305
- super({ left: e, right: r }), this.left = e, this.op = n, this.right = r, this.elementType = "numeric binary abstract", this.legalChildTypes = [_Se.FT.numberT];
39310
+ super({ left: e, right: r }), this.left = e, this.op = n, this.right = r, this.elementType = "numeric binary abstract", this.legalChildTypes = [_4e.FT.numberT];
39306
39311
  }
39307
39312
  getExpression(e) {
39308
39313
  return this.right.apply(e, this.op, this.left);
39309
39314
  }
39310
39315
  }
39311
- c1.BinaryNumeric = bSe;
39316
+ c1.BinaryNumeric = b4e;
39312
39317
  var Ab = {};
39313
39318
  Object.defineProperty(Ab, "__esModule", { value: !0 });
39314
39319
  Ab.Boolean = void 0;
39315
- const TSe = pt, RSe = cn;
39316
- let OSe = class extends TSe.ExpressionDef {
39320
+ const T4e = pt, R4e = cn;
39321
+ let O4e = class extends T4e.ExpressionDef {
39317
39322
  constructor(e) {
39318
39323
  super(), this.value = e, this.elementType = "boolean literal";
39319
39324
  }
39320
39325
  getExpression() {
39321
- return { ...RSe.FT.boolT, value: [this.value] };
39326
+ return { ...R4e.FT.boolT, value: [this.value] };
39322
39327
  }
39323
39328
  };
39324
- Ab.Boolean = OSe;
39329
+ Ab.Boolean = O4e;
39325
39330
  var X0 = {}, f1 = {};
39326
39331
  Object.defineProperty(f1, "__esModule", { value: !0 });
39327
39332
  f1.ExprIdReference = void 0;
39328
- const UO = ne, NSe = _r, DSe = zu, FSe = pt;
39329
- class wSe extends FSe.ExpressionDef {
39333
+ const UO = ne, N4e = _r, D4e = zu, F4e = pt;
39334
+ class w4e extends F4e.ExpressionDef {
39330
39335
  constructor(e) {
39331
39336
  super(), this.fieldReference = e, this.elementType = "ExpressionIdReference", this.has({ fieldPath: e });
39332
39337
  }
@@ -39346,11 +39351,11 @@ class wSe extends FSe.ExpressionDef {
39346
39351
  const i = [{ type: n.found.refType, path: this.fieldReference.path }], s = (0, UO.expressionIsAggregate)(r.expressionType) ? "output" : r.evalSpace;
39347
39352
  return { ...r, value: i, evalSpace: s };
39348
39353
  }
39349
- return this.log(n.error), (0, NSe.errorFor)(n.error);
39354
+ return this.log(n.error), (0, N4e.errorFor)(n.error);
39350
39355
  }
39351
39356
  apply(e, n, r) {
39352
39357
  const i = this.fieldReference.getField(e).found;
39353
- if (i instanceof DSe.SpaceParam) {
39358
+ if (i instanceof D4e.SpaceParam) {
39354
39359
  const s = i.parameter();
39355
39360
  if ((0, UO.isConditionParameter)(s)) {
39356
39361
  const o = r.getExpression(e);
@@ -39372,11 +39377,11 @@ class wSe extends FSe.ExpressionDef {
39372
39377
  return super.apply(e, n, r);
39373
39378
  }
39374
39379
  }
39375
- f1.ExprIdReference = wSe;
39380
+ f1.ExprIdReference = w4e;
39376
39381
  Object.defineProperty(X0, "__esModule", { value: !0 });
39377
39382
  X0.FunctionOrdering = X0.FunctionOrderBy = void 0;
39378
- const qO = ne, eJ = Ve, LSe = f1;
39379
- class ISe extends eJ.MalloyElement {
39383
+ const qO = ne, eJ = Ve, L4e = f1;
39384
+ class I4e extends eJ.MalloyElement {
39380
39385
  constructor(e, n) {
39381
39386
  super(), this.field = e, this.dir = n, this.elementType = "orderBy", e && this.has({ field: e });
39382
39387
  }
@@ -39384,7 +39389,7 @@ class ISe extends eJ.MalloyElement {
39384
39389
  if (!this.field)
39385
39390
  return this.log("analytic `order_by` must specify an aggregate expression or output field reference"), { e: ["error"], dir: this.dir };
39386
39391
  const n = this.field.getExpression(e);
39387
- return (0, qO.expressionIsAggregate)(n.expressionType) || ((0, qO.expressionIsScalar)(n.expressionType) ? (!(this.field instanceof LSe.ExprIdReference) || n.evalSpace === "input") && this.field.log("analytic `order_by` must be an aggregate or an output field reference") : this.field.log("analytic `order_by` must be scalar or aggregate")), { e: n.value, dir: this.dir };
39392
+ return (0, qO.expressionIsAggregate)(n.expressionType) || ((0, qO.expressionIsScalar)(n.expressionType) ? (!(this.field instanceof L4e.ExprIdReference) || n.evalSpace === "input") && this.field.log("analytic `order_by` must be an aggregate or an output field reference") : this.field.log("analytic `order_by` must be scalar or aggregate")), { e: n.value, dir: this.dir };
39388
39393
  }
39389
39394
  getAggregateOrderBy(e, n) {
39390
39395
  if (this.field) {
@@ -39394,8 +39399,8 @@ class ISe extends eJ.MalloyElement {
39394
39399
  return this.dir === void 0 ? (this.log("field or order direction must be specified"), { e: void 0, dir: "asc" }) : { e: void 0, dir: this.dir };
39395
39400
  }
39396
39401
  }
39397
- X0.FunctionOrderBy = ISe;
39398
- class $Se extends eJ.ListOf {
39402
+ X0.FunctionOrderBy = I4e;
39403
+ class $4e extends eJ.ListOf {
39399
39404
  constructor(e) {
39400
39405
  super(e), this.elementType = "function-ordering";
39401
39406
  }
@@ -39406,22 +39411,22 @@ class $Se extends eJ.ListOf {
39406
39411
  return this.list.map((r) => r.getAggregateOrderBy(e, n));
39407
39412
  }
39408
39413
  }
39409
- X0.FunctionOrdering = $Se;
39414
+ X0.FunctionOrdering = $4e;
39410
39415
  var vb = {};
39411
39416
  Object.defineProperty(vb, "__esModule", { value: !0 });
39412
39417
  vb.ExprAddSub = void 0;
39413
- const BSe = c1;
39414
- class kSe extends BSe.BinaryNumeric {
39418
+ const B4e = c1;
39419
+ class k4e extends B4e.BinaryNumeric {
39415
39420
  constructor() {
39416
39421
  super(...arguments), this.elementType = "+-";
39417
39422
  }
39418
39423
  }
39419
- vb.ExprAddSub = kSe;
39424
+ vb.ExprAddSub = k4e;
39420
39425
  var Hl = {}, gt = {}, _y = {};
39421
39426
  Object.defineProperty(_y, "__esModule", { value: !0 });
39422
39427
  _y.ReferenceField = void 0;
39423
39428
  const eU = ui;
39424
- class PSe extends eU.SpaceField {
39429
+ class P4e extends eU.SpaceField {
39425
39430
  constructor(e, n) {
39426
39431
  super(), this.fieldRef = e, this.inFS = n, this.didLookup = !1;
39427
39432
  }
@@ -39453,12 +39458,12 @@ class PSe extends eU.SpaceField {
39453
39458
  return e ? (this.memoTypeDesc = e.typeDesc(), this.memoTypeDesc) : { dataType: "error", expressionType: "scalar", evalSpace: "input" };
39454
39459
  }
39455
39460
  }
39456
- _y.ReferenceField = PSe;
39461
+ _y.ReferenceField = P4e;
39457
39462
  var Vn = {};
39458
39463
  Object.defineProperty(Vn, "__esModule", { value: !0 });
39459
39464
  Vn.typecheckGroupBy = Vn.typecheckAggregate = Vn.typecheckCalculate = Vn.typecheckDeclare = Vn.typecheckMeasure = Vn.typecheckDimension = Vn.typecheckIndex = Vn.typecheckProject = void 0;
39460
39465
  const Nn = ca;
39461
- function MSe(t, e) {
39466
+ function M4e(t, e) {
39462
39467
  if (t.dataType === "turtle" || !(0, Nn.expressionIsScalar)(t.expressionType)) {
39463
39468
  let n, r;
39464
39469
  if (t.dataType === "turtle")
@@ -39472,8 +39477,8 @@ function MSe(t, e) {
39472
39477
  e.log(`Cannot use ${r} field in a select operation, did you mean to use ${n} operation instead?`);
39473
39478
  }
39474
39479
  }
39475
- Vn.typecheckProject = MSe;
39476
- function jSe(t, e) {
39480
+ Vn.typecheckProject = M4e;
39481
+ function j4e(t, e) {
39477
39482
  if (t.dataType === "turtle" || !(0, Nn.expressionIsScalar)(t.expressionType)) {
39478
39483
  let n;
39479
39484
  if (t.dataType === "turtle")
@@ -39487,8 +39492,8 @@ function jSe(t, e) {
39487
39492
  e.log(`Cannot use ${n} field in an index operation`);
39488
39493
  }
39489
39494
  }
39490
- Vn.typecheckIndex = jSe;
39491
- function USe(t, e) {
39495
+ Vn.typecheckIndex = j4e;
39496
+ function U4e(t, e) {
39492
39497
  if (!(0, Nn.expressionIsScalar)(t.expressionType))
39493
39498
  if ((0, Nn.expressionIsAggregate)(t.expressionType))
39494
39499
  e.log("Cannot use an aggregate field in a dimension declaration, did you mean to use a measure declaration instead?");
@@ -39497,8 +39502,8 @@ function USe(t, e) {
39497
39502
  else
39498
39503
  throw new Error(`Unexpected expression type ${t.expressionType} not handled here`);
39499
39504
  }
39500
- Vn.typecheckDimension = USe;
39501
- function qSe(t, e) {
39505
+ Vn.typecheckDimension = U4e;
39506
+ function q4e(t, e) {
39502
39507
  if (!(0, Nn.expressionIsAggregate)(t.expressionType))
39503
39508
  if ((0, Nn.expressionIsScalar)(t.expressionType))
39504
39509
  e.log("Cannot use a scalar field in a measure declaration, did you mean to use a dimension declaration instead?");
@@ -39507,12 +39512,12 @@ function qSe(t, e) {
39507
39512
  else
39508
39513
  throw new Error(`Unexpected expression type ${t.expressionType} not handled here`);
39509
39514
  }
39510
- Vn.typecheckMeasure = qSe;
39511
- function zSe(t, e) {
39515
+ Vn.typecheckMeasure = q4e;
39516
+ function z4e(t, e) {
39512
39517
  t.dataType === "turtle" ? e.log("Query fields cannot be used in a declare block") : (0, Nn.expressionIsAnalytic)(t.expressionType) && e.log("Analytic expressions can not be used in a declare block");
39513
39518
  }
39514
- Vn.typecheckDeclare = zSe;
39515
- function HSe(t, e) {
39519
+ Vn.typecheckDeclare = z4e;
39520
+ function H4e(t, e) {
39516
39521
  if (t.dataType === "turtle" || !(0, Nn.expressionIsAnalytic)(t.expressionType)) {
39517
39522
  let n, r;
39518
39523
  if (t.dataType === "turtle")
@@ -39526,8 +39531,8 @@ function HSe(t, e) {
39526
39531
  e.log(`Cannot use ${r} field in a calculate operation, did you mean to use ${n} operation instead?`);
39527
39532
  }
39528
39533
  }
39529
- Vn.typecheckCalculate = HSe;
39530
- function QSe(t, e) {
39534
+ Vn.typecheckCalculate = H4e;
39535
+ function Q4e(t, e) {
39531
39536
  if (t.dataType === "turtle" || !(0, Nn.expressionIsAggregate)(t.expressionType)) {
39532
39537
  let n, r;
39533
39538
  if (t.dataType === "turtle")
@@ -39541,8 +39546,8 @@ function QSe(t, e) {
39541
39546
  e.log(`Cannot use ${r} field in an aggregate operation, did you mean to use ${n} operation instead?`);
39542
39547
  }
39543
39548
  }
39544
- Vn.typecheckAggregate = QSe;
39545
- function GSe(t, e) {
39549
+ Vn.typecheckAggregate = Q4e;
39550
+ function G4e(t, e) {
39546
39551
  if (t.dataType === "turtle" || !(0, Nn.expressionIsScalar)(t.expressionType)) {
39547
39552
  let n, r;
39548
39553
  if (t.dataType === "turtle")
@@ -39556,10 +39561,10 @@ function GSe(t, e) {
39556
39561
  e.log(`Cannot use ${r} field in a group_by operation, did you mean to use ${n} operation instead?`);
39557
39562
  }
39558
39563
  }
39559
- Vn.typecheckGroupBy = GSe;
39564
+ Vn.typecheckGroupBy = G4e;
39560
39565
  Object.defineProperty(gt, "__esModule", { value: !0 });
39561
39566
  gt.FieldReferences = gt.WildcardFieldReference = gt.ViewOrScalarFieldReference = gt.DimensionFieldReference = gt.MeasureFieldReference = gt.DeclareFieldReference = gt.ProjectFieldReference = gt.GroupByFieldReference = gt.AggregateFieldReference = gt.IndexFieldReference = gt.CalculateFieldReference = gt.PartitionByFieldReference = gt.ExpressionFieldReference = gt.AcceptExceptFieldReference = gt.FieldReference = void 0;
39562
- const WSe = _y, VSe = Hs, tJ = Ve, nJ = Xr, Nc = Vn;
39567
+ const W4e = _y, V4e = Hs, tJ = Ve, nJ = Xr, Nc = Vn;
39563
39568
  class Qs extends tJ.ListOf {
39564
39569
  constructor(e) {
39565
39570
  super(e), this.isNoteableObj = !0, this.extendNote = nJ.extendNoteMethod;
@@ -39570,7 +39575,7 @@ class Qs extends tJ.ListOf {
39570
39575
  this.log(`Output already has a field named '${n}'`);
39571
39576
  else {
39572
39577
  const r = e.isQueryFieldSpace() ? e.inputSpace() : e;
39573
- e.newEntry(n, this, new WSe.ReferenceField(this, r));
39578
+ e.newEntry(n, this, new W4e.ReferenceField(this, r));
39574
39579
  }
39575
39580
  }
39576
39581
  get refToField() {
@@ -39605,7 +39610,7 @@ class Qs extends tJ.ListOf {
39605
39610
  }
39606
39611
  }
39607
39612
  gt.FieldReference = Qs;
39608
- class YSe extends Qs {
39613
+ class Y4e extends Qs {
39609
39614
  constructor() {
39610
39615
  super(...arguments), this.elementType = "acceptExceptFieldReference";
39611
39616
  }
@@ -39613,8 +39618,8 @@ class YSe extends Qs {
39613
39618
  typecheck() {
39614
39619
  }
39615
39620
  }
39616
- gt.AcceptExceptFieldReference = YSe;
39617
- class KSe extends Qs {
39621
+ gt.AcceptExceptFieldReference = Y4e;
39622
+ class K4e extends Qs {
39618
39623
  constructor() {
39619
39624
  super(...arguments), this.elementType = "expressionFieldReference";
39620
39625
  }
@@ -39622,8 +39627,8 @@ class KSe extends Qs {
39622
39627
  typecheck() {
39623
39628
  }
39624
39629
  }
39625
- gt.ExpressionFieldReference = KSe;
39626
- class XSe extends Qs {
39630
+ gt.ExpressionFieldReference = K4e;
39631
+ class X4e extends Qs {
39627
39632
  constructor() {
39628
39633
  super(...arguments), this.elementType = "partitionByFieldReference";
39629
39634
  }
@@ -39631,8 +39636,8 @@ class XSe extends Qs {
39631
39636
  typecheck() {
39632
39637
  }
39633
39638
  }
39634
- gt.PartitionByFieldReference = XSe;
39635
- class JSe extends Qs {
39639
+ gt.PartitionByFieldReference = X4e;
39640
+ class J4e extends Qs {
39636
39641
  constructor() {
39637
39642
  super(...arguments), this.elementType = "calculateFieldReference";
39638
39643
  }
@@ -39640,7 +39645,7 @@ class JSe extends Qs {
39640
39645
  (0, Nc.typecheckCalculate)(e, this);
39641
39646
  }
39642
39647
  }
39643
- gt.CalculateFieldReference = JSe;
39648
+ gt.CalculateFieldReference = J4e;
39644
39649
  class X9 extends Qs {
39645
39650
  constructor() {
39646
39651
  super(...arguments), this.elementType = "indexFieldReference";
@@ -39657,7 +39662,7 @@ class X9 extends Qs {
39657
39662
  }
39658
39663
  }
39659
39664
  gt.IndexFieldReference = X9;
39660
- class ZSe extends Qs {
39665
+ class Z4e extends Qs {
39661
39666
  constructor() {
39662
39667
  super(...arguments), this.elementType = "aggregateFieldReference";
39663
39668
  }
@@ -39665,8 +39670,8 @@ class ZSe extends Qs {
39665
39670
  (0, Nc.typecheckAggregate)(e, this);
39666
39671
  }
39667
39672
  }
39668
- gt.AggregateFieldReference = ZSe;
39669
- class e4e extends Qs {
39673
+ gt.AggregateFieldReference = Z4e;
39674
+ class eSe extends Qs {
39670
39675
  constructor() {
39671
39676
  super(...arguments), this.elementType = "groupByFieldReference";
39672
39677
  }
@@ -39674,8 +39679,8 @@ class e4e extends Qs {
39674
39679
  (0, Nc.typecheckGroupBy)(e, this);
39675
39680
  }
39676
39681
  }
39677
- gt.GroupByFieldReference = e4e;
39678
- class t4e extends Qs {
39682
+ gt.GroupByFieldReference = eSe;
39683
+ class tSe extends Qs {
39679
39684
  constructor() {
39680
39685
  super(...arguments), this.elementType = "projectFieldReference";
39681
39686
  }
@@ -39683,8 +39688,8 @@ class t4e extends Qs {
39683
39688
  (0, Nc.typecheckProject)(e, this);
39684
39689
  }
39685
39690
  }
39686
- gt.ProjectFieldReference = t4e;
39687
- class n4e extends Qs {
39691
+ gt.ProjectFieldReference = tSe;
39692
+ class nSe extends Qs {
39688
39693
  constructor() {
39689
39694
  super(...arguments), this.elementType = "declareFieldReference";
39690
39695
  }
@@ -39692,8 +39697,8 @@ class n4e extends Qs {
39692
39697
  (0, Nc.typecheckDeclare)(e, this);
39693
39698
  }
39694
39699
  }
39695
- gt.DeclareFieldReference = n4e;
39696
- class r4e extends Qs {
39700
+ gt.DeclareFieldReference = nSe;
39701
+ class rSe extends Qs {
39697
39702
  constructor() {
39698
39703
  super(...arguments), this.elementType = "measureFieldReference";
39699
39704
  }
@@ -39701,8 +39706,8 @@ class r4e extends Qs {
39701
39706
  (0, Nc.typecheckMeasure)(e, this);
39702
39707
  }
39703
39708
  }
39704
- gt.MeasureFieldReference = r4e;
39705
- class i4e extends Qs {
39709
+ gt.MeasureFieldReference = rSe;
39710
+ class iSe extends Qs {
39706
39711
  constructor() {
39707
39712
  super(...arguments), this.elementType = "dimensionFieldReference";
39708
39713
  }
@@ -39710,16 +39715,16 @@ class i4e extends Qs {
39710
39715
  (0, Nc.typecheckDimension)(e, this);
39711
39716
  }
39712
39717
  }
39713
- gt.DimensionFieldReference = i4e;
39714
- class s4e extends Qs {
39718
+ gt.DimensionFieldReference = iSe;
39719
+ class sSe extends Qs {
39715
39720
  constructor() {
39716
39721
  super(...arguments), this.elementType = "viewOrScalarFieldReference";
39717
39722
  }
39718
39723
  typecheck(e) {
39719
39724
  }
39720
39725
  }
39721
- gt.ViewOrScalarFieldReference = s4e;
39722
- class o4e extends tJ.MalloyElement {
39726
+ gt.ViewOrScalarFieldReference = sSe;
39727
+ class oSe extends tJ.MalloyElement {
39723
39728
  constructor(e) {
39724
39729
  super(), this.joinPath = e, this.elementType = "wildcardFieldReference", this.isNoteableObj = !0, this.extendNote = nJ.extendNoteMethod, this.except = /* @__PURE__ */ new Set(), this.has({ joinPath: e });
39725
39730
  }
@@ -39730,19 +39735,19 @@ class o4e extends tJ.MalloyElement {
39730
39735
  return this.joinPath ? `${this.joinPath.refString}.*` : "*";
39731
39736
  }
39732
39737
  }
39733
- gt.WildcardFieldReference = o4e;
39734
- class u4e extends VSe.DefinitionList {
39738
+ gt.WildcardFieldReference = oSe;
39739
+ class uSe extends V4e.DefinitionList {
39735
39740
  constructor(e) {
39736
39741
  super(e), this.elementType = "fieldReferenceList";
39737
39742
  }
39738
39743
  }
39739
- gt.FieldReferences = u4e;
39744
+ gt.FieldReferences = uSe;
39740
39745
  Object.defineProperty(Hl, "__esModule", { value: !0 });
39741
39746
  Hl.ExprAggregateFunction = void 0;
39742
- const tU = ne, a4e = Yt, Xp = _r, l4e = ii, c4e = ld, f4e = cn, x4e = gt, d4e = pt, h4e = ui, p4e = f1;
39743
- class g4e extends d4e.ExpressionDef {
39747
+ const tU = ne, aSe = Yt, Xp = _r, lSe = ii, cSe = ld, fSe = cn, xSe = gt, dSe = pt, hSe = ui, pSe = f1;
39748
+ class gSe extends dSe.ExpressionDef {
39744
39749
  constructor(e, n, r) {
39745
- super(), this.func = e, this.legalChildTypes = [f4e.FT.numberT], this.elementType = e, this.explicitSource = r, n && (this.expr = n, this.has({ expr: n }));
39750
+ super(), this.func = e, this.legalChildTypes = [fSe.FT.numberT], this.elementType = e, this.explicitSource = r, n && (this.expr = n, this.has({ expr: n }));
39746
39751
  }
39747
39752
  returns(e) {
39748
39753
  return "number";
@@ -39772,8 +39777,8 @@ class g4e extends d4e.ExpressionDef {
39772
39777
  evalSpace: x.evalSpace
39773
39778
  }, u = this.source.path;
39774
39779
  const h = this.getJoinUsage(i);
39775
- (h.length === 1 || h.length > 1 && h.slice(1).every((m) => m4e(m, h[0]))) && (u = h[0].map((m) => m.name), a = h[0]);
39776
- } else if (!(f instanceof c4e.StructSpaceFieldBase))
39780
+ (h.length === 1 || h.length > 1 && h.slice(1).every((m) => mSe(m, h[0]))) && (u = h[0].map((m) => m.name), a = h[0]);
39781
+ } else if (!(f instanceof cSe.StructSpaceFieldBase))
39777
39782
  return this.log(`Aggregate source cannot be a ${x.dataType}`), (0, Xp.errorFor)(`Aggregate source cannot be a ${x.dataType}`);
39778
39783
  } else
39779
39784
  return this.log(`Reference to undefined value ${this.source.refString}`), (0, Xp.errorFor)(`Reference to undefined value ${this.source.refString}`);
@@ -39787,7 +39792,7 @@ class g4e extends d4e.ExpressionDef {
39787
39792
  if (s && !(!this.source && c.every((h) => h.length === 0)) && !this.isSymmetricFunction()) {
39788
39793
  const h = rD(a, c), p = iD(this.elementType, h), m = f ? p : "Join path is required for this calculation";
39789
39794
  if (m) {
39790
- const g = y4e(m, c, s, this.elementType);
39795
+ const g = ySe(m, c, s, this.elementType);
39791
39796
  this.log(g, p ? "error" : "warn");
39792
39797
  }
39793
39798
  }
@@ -39826,8 +39831,8 @@ class g4e extends d4e.ExpressionDef {
39826
39831
  return n;
39827
39832
  }
39828
39833
  }
39829
- Hl.ExprAggregateFunction = g4e;
39830
- function m4e(t, e) {
39834
+ Hl.ExprAggregateFunction = gSe;
39835
+ function mSe(t, e) {
39831
39836
  let n = t.length;
39832
39837
  if (n !== e.length)
39833
39838
  return !1;
@@ -39841,7 +39846,7 @@ function nD(t, e) {
39841
39846
  const o = s[0], u = s.slice(1), a = i.entry(o);
39842
39847
  if (a === void 0)
39843
39848
  throw new Error(`Invalid field lookup ${o}`);
39844
- if (a instanceof l4e.StructSpaceField && u.length > 0) {
39849
+ if (a instanceof lSe.StructSpaceField && u.length > 0) {
39845
39850
  const l = r(a.fieldSpace, u);
39846
39851
  return {
39847
39852
  ...l,
@@ -39850,7 +39855,7 @@ function nD(t, e) {
39850
39855
  ...l.relationship
39851
39856
  ]
39852
39857
  };
39853
- } else if (a instanceof h4e.SpaceField) {
39858
+ } else if (a instanceof hSe.SpaceField) {
39854
39859
  if (u.length !== 0)
39855
39860
  throw new Error(`${o} cannot contain a ${u.join(".")}`);
39856
39861
  const l = a.fieldDef();
@@ -39864,7 +39869,7 @@ function nD(t, e) {
39864
39869
  } else
39865
39870
  throw new Error("expected a field def or struct");
39866
39871
  };
39867
- return (0, a4e.exprWalk)(e, (i) => {
39872
+ return (0, aSe.exprWalk)(e, (i) => {
39868
39873
  if (typeof i != "string") {
39869
39874
  if (i.type === "field") {
39870
39875
  const s = r(t, i.path);
@@ -39908,7 +39913,7 @@ function iD(t, e) {
39908
39913
  return `Cannot compute \`${t}\` across repeated relationship \`${r.name}\``;
39909
39914
  }
39910
39915
  }
39911
- function y4e(t, e, n, r) {
39916
+ function ySe(t, e, n, r) {
39912
39917
  if (e.length === 0)
39913
39918
  return t;
39914
39919
  let i = e[0];
@@ -39924,7 +39929,7 @@ function y4e(t, e, n, r) {
39924
39929
  if (o)
39925
39930
  return "Aggregated dimensional expression contains multiple join paths; rewrite, for example `sum(first_join.field + second_join.field)` as `first_join.field.sum() + second_join.field.sum()`";
39926
39931
  {
39927
- const p = n instanceof x4e.FieldReference ? `${n.refString}.${r}()` : n instanceof p4e.ExprIdReference ? `${n.fieldReference.refString}.${r}()` : `${x}.${r}(${n.code})`, m = `${h}.${r}(${n.code})`;
39932
+ const p = n instanceof xSe.FieldReference ? `${n.refString}.${r}()` : n instanceof pSe.ExprIdReference ? `${n.fieldReference.refString}.${r}()` : `${x}.${r}(${n.code})`, m = `${h}.${r}(${n.code})`;
39928
39933
  let g = `${t}; use \`${p}\``;
39929
39934
  return f === void 0 && h !== x && (g += ` or \`${m}\` to get a result weighted with respect to \`${h}\``), g;
39930
39935
  }
@@ -39932,8 +39937,8 @@ function y4e(t, e, n, r) {
39932
39937
  var Sb = {};
39933
39938
  Object.defineProperty(Sb, "__esModule", { value: !0 });
39934
39939
  Sb.ExprAlternationTree = void 0;
39935
- const nU = ne, E4e = _r, A4e = u1, v4e = yn;
39936
- class S4e extends A4e.BinaryBoolean {
39940
+ const nU = ne, ESe = _r, ASe = u1, vSe = yn;
39941
+ class SSe extends ASe.BinaryBoolean {
39937
39942
  constructor(e, n, r) {
39938
39943
  super(e, n, r), this.elementType = "alternation", this.elementType = `${n}alternation${n}`;
39939
39944
  }
@@ -39943,21 +39948,21 @@ class S4e extends A4e.BinaryBoolean {
39943
39948
  dataType: "boolean",
39944
39949
  expressionType: (0, nU.maxExpressionType)(i.expressionType, s.expressionType),
39945
39950
  evalSpace: (0, nU.mergeEvalSpaces)(i.evalSpace, s.evalSpace),
39946
- value: (0, v4e.compose)(i.value, this.op === "&" ? "and" : "or", s.value)
39951
+ value: (0, vSe.compose)(i.value, this.op === "&" ? "and" : "or", s.value)
39947
39952
  };
39948
39953
  }
39949
39954
  requestExpression(e) {
39950
39955
  }
39951
39956
  getExpression(e) {
39952
- return this.log("Alternation tree has no value"), (0, E4e.errorFor)("no value from alternation tree");
39957
+ return this.log("Alternation tree has no value"), (0, ESe.errorFor)("no value from alternation tree");
39953
39958
  }
39954
39959
  }
39955
- Sb.ExprAlternationTree = S4e;
39960
+ Sb.ExprAlternationTree = SSe;
39956
39961
  var x1 = {};
39957
39962
  Object.defineProperty(x1, "__esModule", { value: !0 });
39958
39963
  x1.ExprAsymmetric = void 0;
39959
- const _4e = Hl;
39960
- class C4e extends _4e.ExprAggregateFunction {
39964
+ const _Se = Hl;
39965
+ class CSe extends _Se.ExprAggregateFunction {
39961
39966
  constructor(e, n, r, i) {
39962
39967
  super(e, n, i), this.func = e, this.expr = n, this.source = r, this.has({ source: r });
39963
39968
  }
@@ -39976,22 +39981,22 @@ class C4e extends _4e.ExprAggregateFunction {
39976
39981
  }
39977
39982
  }
39978
39983
  }
39979
- x1.ExprAsymmetric = C4e;
39984
+ x1.ExprAsymmetric = CSe;
39980
39985
  var _b = {};
39981
39986
  Object.defineProperty(_b, "__esModule", { value: !0 });
39982
39987
  _b.ExprAvg = void 0;
39983
- const b4e = x1;
39984
- class T4e extends b4e.ExprAsymmetric {
39988
+ const bSe = x1;
39989
+ class TSe extends bSe.ExprAsymmetric {
39985
39990
  constructor(e, n, r) {
39986
39991
  super("avg", e, n, r), this.has({ source: n });
39987
39992
  }
39988
39993
  }
39989
- _b.ExprAvg = T4e;
39994
+ _b.ExprAvg = TSe;
39990
39995
  var Cb = {};
39991
39996
  Object.defineProperty(Cb, "__esModule", { value: !0 });
39992
39997
  Cb.ExprCast = void 0;
39993
- const R4e = bn, O4e = pt, N4e = yn;
39994
- class D4e extends O4e.ExpressionDef {
39998
+ const RSe = bn, OSe = pt, NSe = yn;
39999
+ class DSe extends OSe.ExpressionDef {
39995
40000
  constructor(e, n, r = !1) {
39996
40001
  super({ expr: e }), this.expr = e, this.castType = n, this.safe = r, this.elementType = "cast";
39997
40002
  }
@@ -40008,17 +40013,17 @@ class D4e extends O4e.ExpressionDef {
40008
40013
  return {
40009
40014
  dataType: o,
40010
40015
  expressionType: s.expressionType,
40011
- value: (0, N4e.compressExpr)((0, R4e.castTo)(this.castType, s.value, s.dataType, this.safe)),
40016
+ value: (0, NSe.compressExpr)((0, RSe.castTo)(this.castType, s.value, s.dataType, this.safe)),
40012
40017
  evalSpace: s.evalSpace
40013
40018
  };
40014
40019
  }
40015
40020
  }
40016
- Cb.ExprCast = D4e;
40021
+ Cb.ExprCast = DSe;
40017
40022
  var bb = {};
40018
40023
  Object.defineProperty(bb, "__esModule", { value: !0 });
40019
40024
  bb.ExprCoalesce = void 0;
40020
- const zO = ca, rU = cn, F4e = pt;
40021
- class w4e extends F4e.ExpressionDef {
40025
+ const zO = ca, rU = cn, FSe = pt;
40026
+ class wSe extends FSe.ExpressionDef {
40022
40027
  constructor(e, n) {
40023
40028
  super({ expr: e, altExpr: n }), this.expr = e, this.altExpr = n, this.elementType = "coalesce expression", this.legalChildTypes = rU.FT.anyAtomicT;
40024
40029
  }
@@ -40033,12 +40038,12 @@ class w4e extends F4e.ExpressionDef {
40033
40038
  });
40034
40039
  }
40035
40040
  }
40036
- bb.ExprCoalesce = w4e;
40041
+ bb.ExprCoalesce = wSe;
40037
40042
  var Tb = {};
40038
40043
  Object.defineProperty(Tb, "__esModule", { value: !0 });
40039
40044
  Tb.ExprCount = void 0;
40040
- const L4e = Hl;
40041
- class I4e extends L4e.ExprAggregateFunction {
40045
+ const LSe = Hl;
40046
+ class ISe extends LSe.ExprAggregateFunction {
40042
40047
  constructor(e) {
40043
40048
  super("count"), this.source = e, this.elementType = "count", this.has({ source: e });
40044
40049
  }
@@ -40060,42 +40065,42 @@ class I4e extends L4e.ExprAggregateFunction {
40060
40065
  };
40061
40066
  }
40062
40067
  }
40063
- Tb.ExprCount = I4e;
40068
+ Tb.ExprCount = ISe;
40064
40069
  var Rb = {};
40065
40070
  Object.defineProperty(Rb, "__esModule", { value: !0 });
40066
40071
  Rb.ExprCountDistinct = void 0;
40067
- const XE = cn, $4e = Hl;
40068
- class B4e extends $4e.ExprAggregateFunction {
40072
+ const XE = cn, $Se = Hl;
40073
+ class BSe extends $Se.ExprAggregateFunction {
40069
40074
  constructor(e) {
40070
40075
  super("count_distinct", e), this.legalChildTypes = [XE.FT.numberT, XE.FT.stringT, XE.FT.dateT, XE.FT.timestampT];
40071
40076
  }
40072
40077
  }
40073
- Rb.ExprCountDistinct = B4e;
40078
+ Rb.ExprCountDistinct = BSe;
40074
40079
  var Ob = {}, Dc = {};
40075
40080
  Object.defineProperty(Dc, "__esModule", { value: !0 });
40076
40081
  Dc.Limit = void 0;
40077
- const k4e = Ve, P4e = Dn;
40078
- class M4e extends k4e.MalloyElement {
40082
+ const kSe = Ve, PSe = Dn;
40083
+ class MSe extends kSe.MalloyElement {
40079
40084
  constructor(e) {
40080
- super(), this.limit = e, this.elementType = "limit", this.queryRefinementStage = P4e.LegalRefinementStage.Tail, this.forceQueryClass = void 0;
40085
+ super(), this.limit = e, this.elementType = "limit", this.queryRefinementStage = PSe.LegalRefinementStage.Tail, this.forceQueryClass = void 0;
40081
40086
  }
40082
40087
  }
40083
- Dc.Limit = M4e;
40088
+ Dc.Limit = MSe;
40084
40089
  var d1 = {};
40085
40090
  Object.defineProperty(d1, "__esModule", { value: !0 });
40086
40091
  d1.PartitionBy = void 0;
40087
- const j4e = Ve;
40088
- class U4e extends j4e.ListOf {
40092
+ const jSe = Ve;
40093
+ class USe extends jSe.ListOf {
40089
40094
  constructor(e) {
40090
40095
  super(e), this.partitionFields = e, this.elementType = "partition_by";
40091
40096
  }
40092
40097
  }
40093
- d1.PartitionBy = U4e;
40098
+ d1.PartitionBy = USe;
40094
40099
  var Cy = {};
40095
40100
  Object.defineProperty(Cy, "__esModule", { value: !0 });
40096
40101
  Cy.ExprFunc = void 0;
40097
- const eo = ne, Ha = _r, q4e = ld, z4e = pt, iU = yn;
40098
- class H4e extends z4e.ExpressionDef {
40102
+ const eo = ne, Ha = _r, qSe = ld, zSe = pt, iU = yn;
40103
+ class HSe extends zSe.ExpressionDef {
40099
40104
  constructor(e, n, r, i, s) {
40100
40105
  super({ args: n }), this.name = e, this.args = n, this.isRaw = r, this.rawType = i, this.source = s, this.elementType = "function call()", this.has({ source: s });
40101
40106
  }
@@ -40144,7 +40149,7 @@ class H4e extends z4e.ExpressionDef {
40144
40149
  value: [{ type: "field", path: this.source.path }],
40145
40150
  evalSpace: L.evalSpace
40146
40151
  }, f = this.source.path.slice(0, -1);
40147
- else if (!(O instanceof q4e.StructSpaceFieldBase)) {
40152
+ else if (!(O instanceof qSe.StructSpaceFieldBase)) {
40148
40153
  const M = `Aggregate source cannot be a ${L.dataType}`;
40149
40154
  return this.log(M), (0, Ha.errorFor)(M);
40150
40155
  }
@@ -40156,7 +40161,7 @@ class H4e extends z4e.ExpressionDef {
40156
40161
  const x = [
40157
40162
  ...c ? [c] : [],
40158
40163
  ...a
40159
- ], h = Q4e(l, x);
40164
+ ], h = QSe(l, x);
40160
40165
  if (h === void 0)
40161
40166
  return this.log(`No matching overload for function ${this.name}(${x.map((O) => O.dataType).join(", ")})`), (0, Ha.errorFor)("no matching overload");
40162
40167
  const { overload: p, expressionTypeErrors: m, evalSpaceErrors: g, nullabilityErrors: y } = h;
@@ -40223,7 +40228,7 @@ class H4e extends z4e.ExpressionDef {
40223
40228
  if (O.length !== 1 || typeof O[0] == "string" || O[0].type !== "dialect" || O[0].function !== "stringLiteral")
40224
40229
  this.log(`Invalid string literal for \`${l.name}\``);
40225
40230
  else {
40226
- const L = O[0].literal, M = G4e(L), q = M.filter((W) => W.type === "interpolation" && W.name.includes(".")).map((W) => W.type === "interpolation" ? `\${${W.name}}` : `\${${W.value}}`);
40231
+ const L = O[0].literal, M = GSe(L), q = M.filter((W) => W.type === "interpolation" && W.name.includes(".")).map((W) => W.type === "interpolation" ? `\${${W.name}}` : `\${${W.value}}`);
40227
40232
  if (q.length > 0) {
40228
40233
  const W = q.length === 1 ? `'.' paths are not yet supported in sql interpolations, found ${q.at(0)}` : `'.' paths are not yet supported in sql interpolations, found [${q.join(", ")}]`;
40229
40234
  return this.log(W), (0, Ha.errorFor)(`${W}. See LookML \${...} documentation at https://cloud.google.com/looker/docs/reference/param-field-sql#sql_for_dimensions`);
@@ -40247,8 +40252,8 @@ class H4e extends z4e.ExpressionDef {
40247
40252
  };
40248
40253
  }
40249
40254
  }
40250
- Cy.ExprFunc = H4e;
40251
- function Q4e(t, e) {
40255
+ Cy.ExprFunc = HSe;
40256
+ function QSe(t, e) {
40252
40257
  for (const n of t.overloads) {
40253
40258
  let r = 0, i = !0, s = !1;
40254
40259
  const o = [], u = [], a = [];
@@ -40295,7 +40300,7 @@ function Q4e(t, e) {
40295
40300
  };
40296
40301
  }
40297
40302
  }
40298
- function G4e(t) {
40303
+ function GSe(t) {
40299
40304
  const e = [];
40300
40305
  let n = t;
40301
40306
  for (; n.length; ) {
@@ -40319,10 +40324,10 @@ function G4e(t) {
40319
40324
  }
40320
40325
  Object.defineProperty(Ob, "__esModule", { value: !0 });
40321
40326
  Ob.ExprProps = void 0;
40322
- const W4e = ne, V4e = _r, Y4e = cn, K4e = X0, X4e = Dc, J4e = d1, Z4e = pt, e_e = Cy;
40323
- class t_e extends Z4e.ExpressionDef {
40327
+ const WSe = ne, VSe = _r, YSe = cn, KSe = X0, XSe = Dc, JSe = d1, ZSe = pt, e_e = Cy;
40328
+ class t_e extends ZSe.ExpressionDef {
40324
40329
  constructor(e, n) {
40325
- super({ expr: e, statements: n }), this.expr = e, this.statements = n, this.elementType = "expression with props", this.legalChildTypes = Y4e.FT.anyAtomicT;
40330
+ super({ expr: e, statements: n }), this.expr = e, this.statements = n, this.elementType = "expression with props", this.legalChildTypes = YSe.FT.anyAtomicT;
40326
40331
  }
40327
40332
  getFilteredExpression(e, n, r) {
40328
40333
  if (r.length > 0) {
@@ -40331,7 +40336,7 @@ class t_e extends Z4e.ExpressionDef {
40331
40336
  const i = [];
40332
40337
  for (const s of r) {
40333
40338
  const o = s.getFilterList(e);
40334
- if (o.find((u) => (0, W4e.expressionIsCalculation)(u.expressionType)))
40339
+ if (o.find((u) => (0, WSe.expressionIsCalculation)(u.expressionType)))
40335
40340
  return s.log("Cannot filter an expresion with an aggregate or analytical computation"), n;
40336
40341
  i.push(...o);
40337
40342
  }
@@ -40344,7 +40349,7 @@ class t_e extends Z4e.ExpressionDef {
40344
40349
  filterList: i
40345
40350
  }
40346
40351
  ]
40347
- } : (this.expr.log(`Cannot filter '${n.dataType}' data`), (0, V4e.errorFor)("cannot filter type"));
40352
+ } : (this.expr.log(`Cannot filter '${n.dataType}' data`), (0, VSe.errorFor)("cannot filter type"));
40348
40353
  }
40349
40354
  return n;
40350
40355
  }
@@ -40353,7 +40358,7 @@ class t_e extends Z4e.ExpressionDef {
40353
40358
  let r;
40354
40359
  const i = [], s = [];
40355
40360
  for (const u of this.statements)
40356
- u instanceof J4e.PartitionBy ? this.expr.canSupportPartitionBy() ? n.push(u) : u.log("`partition_by` is not supported for this kind of expression") : u instanceof X4e.Limit ? r ? u.log("limit already specified") : this.expr.canSupportLimit() ? r = u : u.log("`limit` is not supported for this kind of expression") : u instanceof K4e.FunctionOrdering ? this.expr.canSupportPartitionBy() ? i.push(u) : u.log("`order_by` is not supported for this kind of expression") : s.push(u);
40361
+ u instanceof JSe.PartitionBy ? this.expr.canSupportPartitionBy() ? n.push(u) : u.log("`partition_by` is not supported for this kind of expression") : u instanceof XSe.Limit ? r ? u.log("limit already specified") : this.expr.canSupportLimit() ? r = u : u.log("`limit` is not supported for this kind of expression") : u instanceof KSe.FunctionOrdering ? this.expr.canSupportPartitionBy() ? i.push(u) : u.log("`order_by` is not supported for this kind of expression") : s.push(u);
40357
40362
  const o = this.expr instanceof e_e.ExprFunc ? this.expr.getPropsExpression(e, {
40358
40363
  partitionBys: n,
40359
40364
  limit: r,
@@ -40751,7 +40756,7 @@ var U_e = N && N.__createBinding || (Object.create ? function(t, e, n, r) {
40751
40756
  };
40752
40757
  Object.defineProperty(Qo, "__esModule", { value: !0 });
40753
40758
  Qo.ReduceFieldSpace = Qo.QuerySpace = Qo.QueryOperationSpace = void 0;
40754
- const rS = z_e(ne), QO = G0, H_e = xd, Q_e = ui, G_e = gt, W_e = e1, V_e = xy, Y_e = ii, K_e = Hb;
40759
+ const r4 = z_e(ne), QO = G0, H_e = xd, Q_e = ui, G_e = gt, W_e = e1, V_e = xy, Y_e = ii, K_e = Hb;
40755
40760
  class rJ extends W_e.RefinedSpace {
40756
40761
  constructor(e, n, r, i) {
40757
40762
  super(e.emptyStructDef()), this.queryInputSpace = e, this.nestParent = r, this.astEl = i, this.expandedWild = {}, this.exprSpace = new K_e.QueryInputSpace(e, this), n && this.addRefineFromFields(n);
@@ -40794,7 +40799,7 @@ class rJ extends W_e.RefinedSpace {
40794
40799
  e.log(`Cannot expand '${u}' in '${e.refString}' because a field with that name already exists${l ? ` (conflicts with ${l})` : ""}`);
40795
40800
  } else {
40796
40801
  const l = a.typeDesc();
40797
- rS.isAtomicFieldType(l.dataType) && rS.expressionIsScalar(l.expressionType) && (s === void 0 || !s.ignoreInProject(u)) && (o.push({ name: u, entry: a }), this.expandedWild[u] = i.concat(u));
40802
+ r4.isAtomicFieldType(l.dataType) && r4.expressionIsScalar(l.expressionType) && (s === void 0 || !s.ignoreInProject(u)) && (o.push({ name: u, entry: a }), this.expandedWild[u] = i.concat(u));
40798
40803
  }
40799
40804
  for (const u of o.sort((a, l) => a.name.localeCompare(l.name)))
40800
40805
  this.setEntry(u.name, u.entry);
@@ -40804,7 +40809,7 @@ Qo.QueryOperationSpace = rJ;
40804
40809
  class iJ extends rJ {
40805
40810
  addRefineFromFields(e) {
40806
40811
  var n;
40807
- if (rS.isQuerySegment(e))
40812
+ if (r4.isQuerySegment(e))
40808
40813
  for (const r of e.queryFields)
40809
40814
  if (r.type === "fieldref") {
40810
40815
  const i = this.exprSpace.lookup(r.path.map((s) => new H_e.FieldName(s)));
@@ -40838,7 +40843,7 @@ class iJ extends rJ {
40838
40843
  }
40839
40844
  getQuerySegment(e) {
40840
40845
  const n = this.getPipeSegment(e);
40841
- if (rS.isQuerySegment(n))
40846
+ if (r4.isQuerySegment(n))
40842
40847
  return n;
40843
40848
  throw new Error("TODO NOT POSSIBLE");
40844
40849
  }
@@ -41206,7 +41211,7 @@ function Ty(t) {
41206
41211
  function em(t) {
41207
41212
  return Ty(t) ? 366 : 365;
41208
41213
  }
41209
- function iS(t, e) {
41214
+ function i4(t, e) {
41210
41215
  const n = h5e(e - 1, 12) + 1, r = t + (e - n) / 12;
41211
41216
  return n === 2 ? Ty(r) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1];
41212
41217
  }
@@ -41222,7 +41227,7 @@ function eL(t) {
41222
41227
  );
41223
41228
  return t.year < 100 && t.year >= 0 && (e = new Date(e), e.setUTCFullYear(e.getUTCFullYear() - 1900)), +e;
41224
41229
  }
41225
- function sS(t) {
41230
+ function s4(t) {
41226
41231
  const e = (t + Math.floor(t / 4) - Math.floor(t / 100) + Math.floor(t / 400)) % 7, n = t - 1, r = (n + Math.floor(n / 4) - Math.floor(n / 100) + Math.floor(n / 400)) % 7;
41227
41232
  return e === 4 || r === 3 ? 53 : 52;
41228
41233
  }
@@ -41254,7 +41259,7 @@ function RJ(t) {
41254
41259
  throw new ro(`Invalid unit value ${t}`);
41255
41260
  return e;
41256
41261
  }
41257
- function oS(t, e) {
41262
+ function o4(t, e) {
41258
41263
  const n = {};
41259
41264
  for (const r in t)
41260
41265
  if (Jh(t, r)) {
@@ -42671,7 +42676,7 @@ class vt {
42671
42676
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
42672
42677
  );
42673
42678
  return new vt({
42674
- values: oS(e, vt.normalizeUnit),
42679
+ values: o4(e, vt.normalizeUnit),
42675
42680
  loc: pn.fromObject(n),
42676
42681
  conversionAccuracy: n.conversionAccuracy
42677
42682
  });
@@ -42994,7 +42999,7 @@ class vt {
42994
42999
  set(e) {
42995
43000
  if (!this.isValid)
42996
43001
  return this;
42997
- const n = { ...this.values, ...oS(e, vt.normalizeUnit) };
43002
+ const n = { ...this.values, ...o4(e, vt.normalizeUnit) };
42998
43003
  return Af(this, { values: n });
42999
43004
  }
43000
43005
  /**
@@ -44136,7 +44141,7 @@ function XJ(t, e) {
44136
44141
  function fD(t) {
44137
44142
  const { year: e, month: n, day: r } = t, i = KJ(e, n, r), s = YJ(e, n, r);
44138
44143
  let o = Math.floor((i - s + 10) / 7), u;
44139
- return o < 1 ? (u = e - 1, o = sS(u)) : o > sS(e) ? (u = e + 1, o = 1) : u = e, { weekYear: u, weekNumber: o, weekday: s, ...Vb(t) };
44144
+ return o < 1 ? (u = e - 1, o = s4(u)) : o > s4(e) ? (u = e + 1, o = 1) : u = e, { weekYear: u, weekNumber: o, weekday: s, ...Vb(t) };
44140
44145
  }
44141
44146
  function TU(t) {
44142
44147
  const { weekYear: e, weekNumber: n, weekday: r } = t, i = YJ(e, 1, 4), s = em(e);
@@ -44154,7 +44159,7 @@ function RU(t) {
44154
44159
  return { year: e, month: r, day: i, ...Vb(t) };
44155
44160
  }
44156
44161
  function XCe(t) {
44157
- const e = Gb(t.weekYear), n = nl(t.weekNumber, 1, sS(t.weekYear)), r = nl(t.weekday, 1, 7);
44162
+ const e = Gb(t.weekYear), n = nl(t.weekNumber, 1, s4(t.weekYear)), r = nl(t.weekday, 1, 7);
44158
44163
  return e ? n ? r ? !1 : oo("weekday", t.weekday) : oo("week", t.week) : oo("weekYear", t.weekYear);
44159
44164
  }
44160
44165
  function JCe(t) {
@@ -44162,7 +44167,7 @@ function JCe(t) {
44162
44167
  return e ? n ? !1 : oo("ordinal", t.ordinal) : oo("year", t.year);
44163
44168
  }
44164
44169
  function JJ(t) {
44165
- const e = Gb(t.year), n = nl(t.month, 1, 12), r = nl(t.day, 1, iS(t.year, t.month));
44170
+ const e = Gb(t.year), n = nl(t.month, 1, 12), r = nl(t.day, 1, i4(t.year, t.month));
44166
44171
  return e ? n ? r ? !1 : oo("day", t.day) : oo("month", t.month) : oo("year", t.year);
44167
44172
  }
44168
44173
  function ZJ(t) {
@@ -44217,7 +44222,7 @@ function DU(t, e) {
44217
44222
  ...t.c,
44218
44223
  year: r,
44219
44224
  month: i,
44220
- day: Math.min(t.c.day, iS(r, i)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
44225
+ day: Math.min(t.c.day, i4(r, i)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
44221
44226
  }, o = vt.fromObject({
44222
44227
  years: e.years - Math.trunc(e.years),
44223
44228
  quarters: e.quarters - Math.trunc(e.quarters),
@@ -44525,7 +44530,7 @@ class ot {
44525
44530
  const r = v0(n.zone, Un.defaultZone);
44526
44531
  if (!r.isValid)
44527
44532
  return ot.invalid(iA(r));
44528
- const i = Un.now(), s = At(n.specificOffset) ? r.offset(i) : n.specificOffset, o = oS(e, wU), u = !At(o.ordinal), a = !At(o.year), l = !At(o.month) || !At(o.day), c = a || l, f = o.weekYear || o.weekNumber, x = pn.fromObject(n);
44533
+ const i = Un.now(), s = At(n.specificOffset) ? r.offset(i) : n.specificOffset, o = o4(e, wU), u = !At(o.ordinal), a = !At(o.year), l = !At(o.month) || !At(o.day), c = a || l, f = o.weekYear || o.weekNumber, x = pn.fromObject(n);
44529
44534
  if ((c || u) && f)
44530
44535
  throw new Rg(
44531
44536
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -44955,7 +44960,7 @@ class ot {
44955
44960
  * @type {number}
44956
44961
  */
44957
44962
  get daysInMonth() {
44958
- return iS(this.year, this.month);
44963
+ return i4(this.year, this.month);
44959
44964
  }
44960
44965
  /**
44961
44966
  * Returns the number of days in this DateTime's year
@@ -44974,7 +44979,7 @@ class ot {
44974
44979
  * @type {number}
44975
44980
  */
44976
44981
  get weeksInWeekYear() {
44977
- return this.isValid ? sS(this.weekYear) : NaN;
44982
+ return this.isValid ? s4(this.weekYear) : NaN;
44978
44983
  }
44979
44984
  /**
44980
44985
  * Returns the resolved Intl options for this DateTime.
@@ -45064,7 +45069,7 @@ class ot {
45064
45069
  set(e) {
45065
45070
  if (!this.isValid)
45066
45071
  return this;
45067
- const n = oS(e, wU), r = !At(n.weekYear) || !At(n.weekNumber) || !At(n.weekday), i = !At(n.ordinal), s = !At(n.year), o = !At(n.month) || !At(n.day), u = s || o, a = n.weekYear || n.weekNumber;
45072
+ const n = o4(e, wU), r = !At(n.weekYear) || !At(n.weekNumber) || !At(n.weekday), i = !At(n.ordinal), s = !At(n.year), o = !At(n.month) || !At(n.day), u = s || o, a = n.weekYear || n.weekNumber;
45068
45073
  if ((u || i) && a)
45069
45074
  throw new Rg(
45070
45075
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -45072,7 +45077,7 @@ class ot {
45072
45077
  if (o && i)
45073
45078
  throw new Rg("Can't mix ordinal dates with month/day");
45074
45079
  let l;
45075
- r ? l = TU({ ...fD(this.c), ...n }) : At(n.ordinal) ? (l = { ...this.toObject(), ...n }, At(n.day) && (l.day = Math.min(iS(l.year, l.month), l.day))) : l = RU({ ...JO(this.c), ...n });
45080
+ r ? l = TU({ ...fD(this.c), ...n }) : At(n.ordinal) ? (l = { ...this.toObject(), ...n }, At(n.day) && (l.day = Math.min(i4(l.year, l.month), l.day))) : l = RU({ ...JO(this.c), ...n });
45076
45081
  const [c, f] = sv(l, this.o, this.zone);
45077
45082
  return Zp(this, { ts: c, o: f });
45078
45083
  }
@@ -48630,7 +48635,7 @@ var PRe = N && N.__createBinding || (Object.create ? function(t, e, n, r) {
48630
48635
  };
48631
48636
  Object.defineProperty(Mu, "__esModule", { value: !0 });
48632
48637
  Mu.MalloyParserErrorHandler = Mu.MalloyTranslator = Mu.MalloyChildTranslator = Mu.MalloyTranslation = void 0;
48633
- const iq = U5, URe = IC, qRe = F, mZ = jRe(nb), zRe = vT, HRe = ST, QRe = dl, f7 = _T, GRe = CT, WRe = bT, VRe = TT, YRe = RT, uS = OT, KRe = Py, yZ = zl, XRe = NT;
48638
+ const iq = U5, URe = IC, qRe = F, mZ = jRe(nb), zRe = vT, HRe = ST, QRe = dl, f7 = _T, GRe = CT, WRe = bT, VRe = TT, YRe = RT, u4 = OT, KRe = Py, yZ = zl, XRe = NT;
48634
48639
  class JRe extends URe.MalloyLexer {
48635
48640
  popMode() {
48636
48641
  return this._modeStack.isEmpty ? this._mode : super.popMode();
@@ -48774,11 +48779,11 @@ class eOe {
48774
48779
  r = { tables: o };
48775
48780
  }
48776
48781
  const s = e.root.importZone.getUndefined();
48777
- if (s && (r = { ...r, urls: s }), (0, uS.isNeedResponse)(r))
48782
+ if (s && (r = { ...r, urls: s }), (0, u4.isNeedResponse)(r))
48778
48783
  return r;
48779
48784
  for (const o of e.childTranslators.values()) {
48780
48785
  const u = o.importsAndTablesStep.step(o);
48781
- if ((0, uS.isNeedResponse)(u))
48786
+ if ((0, u4.isNeedResponse)(u))
48782
48787
  return u;
48783
48788
  }
48784
48789
  return null;
@@ -48810,7 +48815,7 @@ class tOe {
48810
48815
  return this.response = e.fatalResponse(), this.response;
48811
48816
  for (const u of e.childTranslators.values()) {
48812
48817
  const a = u.astStep.step(u);
48813
- if ((0, uS.isNeedResponse)(a))
48818
+ if ((0, u4.isNeedResponse)(a))
48814
48819
  return a;
48815
48820
  }
48816
48821
  return o.setTranslator(e), this.response = {
@@ -48922,7 +48927,7 @@ class oOe {
48922
48927
  e.compilerFlags = i.tag, this.importedAnnotations = !0;
48923
48928
  }
48924
48929
  const r = this.astStep.step(e);
48925
- if ((0, uS.isNeedResponse)(r))
48930
+ if ((0, u4.isNeedResponse)(r))
48926
48931
  return r;
48927
48932
  if (!r.ast)
48928
48933
  return this.response = r, this.response;
@@ -49955,11 +49960,11 @@ class ws extends gL {
49955
49960
  if (r.type === "string")
49956
49961
  return [i, new SL(r, this, s)];
49957
49962
  if (r.type === "number")
49958
- return [i, new aS(r, this, s)];
49963
+ return [i, new a4(r, this, s)];
49959
49964
  if (r.type === "date")
49960
49965
  return r.timeframe && ["day_of_month", "day_of_week", "day_of_year"].includes(r.timeframe) ? [
49961
49966
  i,
49962
- new aS({ ...r, type: "number" }, this, s)
49967
+ new a4({ ...r, type: "number" }, this, s)
49963
49968
  ] : [i, new mL(r, this, s)];
49964
49969
  if (r.type === "timestamp")
49965
49970
  return [i, new yL(r, this, s)];
@@ -50147,7 +50152,7 @@ class Lc extends gL {
50147
50152
  return this instanceof SL;
50148
50153
  }
50149
50154
  isNumber() {
50150
- return this instanceof aS;
50155
+ return this instanceof a4;
50151
50156
  }
50152
50157
  isDate() {
50153
50158
  return this instanceof mL;
@@ -50235,12 +50240,12 @@ class yL extends Lc {
50235
50240
  }
50236
50241
  }
50237
50242
  Ne.TimestampField = yL;
50238
- class aS extends Lc {
50243
+ class a4 extends Lc {
50239
50244
  constructor(e, n, r) {
50240
50245
  super(e, n, r), this.fieldNumberDef = e;
50241
50246
  }
50242
50247
  }
50243
- Ne.NumberField = aS;
50248
+ Ne.NumberField = a4;
50244
50249
  class EL extends Lc {
50245
50250
  constructor(e, n, r) {
50246
50251
  super(e, n, r), this.fieldBooleanDef = e;
@@ -50846,11 +50851,11 @@ class RZ extends jy {
50846
50851
  * @return The query results from running this loaded query.
50847
50852
  */
50848
50853
  async run(e) {
50849
- const n = this.runtime.connections, r = await this.getPreparedResult(), i = lS(r, e);
50854
+ const n = this.runtime.connections, r = await this.getPreparedResult(), i = l4(r, e);
50850
50855
  return ln.run({ connections: n, preparedResult: r, options: i });
50851
50856
  }
50852
50857
  async *runStream(e) {
50853
- const n = await this.getPreparedResult(), r = this.runtime.connections, i = lS(n, e), s = ln.runStream({
50858
+ const n = await this.getPreparedResult(), r = this.runtime.connections, i = l4(n, e), s = ln.runStream({
50854
50859
  connections: r,
50855
50860
  preparedResult: n,
50856
50861
  options: i
@@ -50902,7 +50907,7 @@ class RZ extends jy {
50902
50907
  }
50903
50908
  }
50904
50909
  Ne.QueryMaterializer = RZ;
50905
- function lS(t, e) {
50910
+ function l4(t, e) {
50906
50911
  return {
50907
50912
  queryAnnotation: t.annotation,
50908
50913
  modelAnnotation: t.modelAnnotation,
@@ -50916,7 +50921,7 @@ class OZ extends jy {
50916
50921
  * @return A promise to the query result data.
50917
50922
  */
50918
50923
  async run(e) {
50919
- const n = await this.getPreparedResult(), r = this.runtime.connections, i = lS(n, e);
50924
+ const n = await this.getPreparedResult(), r = this.runtime.connections, i = l4(n, e);
50920
50925
  return ln.run({
50921
50926
  connections: r,
50922
50927
  preparedResult: n,
@@ -50924,7 +50929,7 @@ class OZ extends jy {
50924
50929
  });
50925
50930
  }
50926
50931
  async *runStream(e) {
50927
- const n = await this.getPreparedResult(), r = this.runtime.connections, i = lS(n, e), s = ln.runStream({
50932
+ const n = await this.getPreparedResult(), r = this.runtime.connections, i = l4(n, e), s = ln.runStream({
50928
50933
  connections: r,
50929
50934
  preparedResult: n,
50930
50935
  options: i
@@ -52121,7 +52126,7 @@ function fDe(t, e) {
52121
52126
  }
52122
52127
  let d7;
52123
52128
  const xDe = 100;
52124
- async function cS() {
52129
+ async function c4() {
52125
52130
  const t = Date.now();
52126
52131
  if (!(d7 && t < d7 + xDe))
52127
52132
  return d7 = t, new Promise((e) => {
@@ -52242,7 +52247,7 @@ class lee {
52242
52247
  ), n;
52243
52248
  }
52244
52249
  }
52245
- const Y4 = class Y4 extends fn {
52250
+ const YS = class YS extends fn {
52246
52251
  create(e, n, r, i, s) {
52247
52252
  return new lee(e);
52248
52253
  }
@@ -52250,8 +52255,8 @@ const Y4 = class Y4 extends fn {
52250
52255
  return "json";
52251
52256
  }
52252
52257
  };
52253
- Y4.instance = new Y4();
52254
- let AD = Y4;
52258
+ YS.instance = new YS();
52259
+ let AD = YS;
52255
52260
  function pDe(t) {
52256
52261
  return `'${t.replace(/(['\\])/g, "\\$1")}'`;
52257
52262
  }
@@ -52356,7 +52361,7 @@ class Ic {
52356
52361
  return r.appendChild(this.document.createTextNode(n)), r;
52357
52362
  }
52358
52363
  }
52359
- const K4 = class K4 extends fn {
52364
+ const KS = class KS extends fn {
52360
52365
  activates(e) {
52361
52366
  return e.hasParentExplore() && !e.isExploreField();
52362
52367
  }
@@ -52366,9 +52371,9 @@ const K4 = class K4 extends fn {
52366
52371
  get rendererName() {
52367
52372
  }
52368
52373
  };
52369
- K4.instance = new K4();
52370
- let vD = K4;
52371
- function fS(t) {
52374
+ KS.instance = new KS();
52375
+ let vD = KS;
52376
+ function f4(t) {
52372
52377
  return t.tagParse().tag.has("hidden");
52373
52378
  }
52374
52379
  class OL extends IT {
@@ -52394,7 +52399,7 @@ class OL extends IT {
52394
52399
  const a = this.document.createElement("div");
52395
52400
  a.style.position = "relative";
52396
52401
  for (const f of r) {
52397
- if (fS(f))
52402
+ if (f4(f))
52398
52403
  continue;
52399
52404
  const h = await this.childRenderers[f.name].render(o.cell(f)), p = this.document.createElement("div");
52400
52405
  p.style.cssText = TDe;
@@ -52420,10 +52425,10 @@ class OL extends IT {
52420
52425
  const l = this.document.createElement("div");
52421
52426
  l.style.cssText = bDe;
52422
52427
  for (const f of i) {
52423
- if (fS(f))
52428
+ if (f4(f))
52424
52429
  continue;
52425
52430
  const x = this.childRenderers[f.name];
52426
- await cS();
52431
+ await c4();
52427
52432
  const h = await x.render(o.cell(f));
52428
52433
  if (x instanceof OL)
52429
52434
  l.appendChild(h);
@@ -52582,7 +52587,7 @@ class xee extends IT {
52582
52587
  const a = await this.childRenderers[n.name].render(o.cell(n));
52583
52588
  if (i.appendChild(a), r) {
52584
52589
  const l = this.childRenderers[r.name];
52585
- await cS();
52590
+ await c4();
52586
52591
  const c = await l.render(o.cell(r));
52587
52592
  i.appendChild(this.document.createTextNode("(")), i.appendChild(c), i.appendChild(this.document.createTextNode(")"));
52588
52593
  }
@@ -53578,7 +53583,7 @@ var dee = { exports: {} };
53578
53583
  n(e), typeof DO_NOT_EXPORT_SSF > "u" && (t.exports = e);
53579
53584
  })(dee);
53580
53585
  var ov = dee.exports;
53581
- class xS extends Ic {
53586
+ class x4 extends Ic {
53582
53587
  constructor(e, n) {
53583
53588
  super(e), this.options = n;
53584
53589
  }
@@ -53594,7 +53599,7 @@ class xS extends Ic {
53594
53599
  return e.number.value.toLocaleString();
53595
53600
  }
53596
53601
  }
53597
- const X4 = class X4 extends fn {
53602
+ const XS = class XS extends fn {
53598
53603
  constructor() {
53599
53604
  super(), this.addExtractor(
53600
53605
  (e, n) => {
@@ -53608,14 +53613,14 @@ const X4 = class X4 extends fn {
53608
53613
  return e.hasParentExplore() && e.isAtomicField() && e.type === Lt.AtomicFieldType.Number;
53609
53614
  }
53610
53615
  create(e, n, r, i, s) {
53611
- return new xS(e, s);
53616
+ return new x4(e, s);
53612
53617
  }
53613
53618
  get rendererName() {
53614
53619
  return "number";
53615
53620
  }
53616
53621
  };
53617
- X4.instance = new X4();
53618
- let SD = X4;
53622
+ XS.instance = new XS();
53623
+ let SD = XS;
53619
53624
  class yq {
53620
53625
  constructor(e, n, r) {
53621
53626
  this.parentField = e, this.values = n, this.span = r, this.key = JSON.stringify({
@@ -53682,7 +53687,7 @@ class Pm extends IT {
53682
53687
  const o = [];
53683
53688
  let u = 0;
53684
53689
  for (const p of e.field.intrinsicFields) {
53685
- if (fS(p))
53690
+ if (f4(p))
53686
53691
  continue;
53687
53692
  const m = this.childRenderers[p.name];
53688
53693
  if (m instanceof Pm && m.tagged.has("pivot")) {
@@ -53823,7 +53828,7 @@ class Pm extends IT {
53823
53828
  for (const y of o)
53824
53829
  if (y instanceof nm) {
53825
53830
  const E = this.childRenderers[y.pivotedField.parentField.name], A = p.cell(y.pivotedField.parentField);
53826
- await cS(), y.pivotedField.key !== m && (g = await E.generatePivotedCells(
53831
+ await c4(), y.pivotedField.key !== m && (g = await E.generatePivotedCells(
53827
53832
  A,
53828
53833
  n,
53829
53834
  y.userDefinedPivotDimensions
@@ -53840,7 +53845,7 @@ class Pm extends IT {
53840
53845
  n
53841
53846
  ), i++;
53842
53847
  else {
53843
- if (fS(y))
53848
+ if (f4(y))
53844
53849
  continue;
53845
53850
  const E = this.childRenderers[y.name];
53846
53851
  s[r][i] = await this.createCellAndRender(
@@ -53984,7 +53989,7 @@ class Pm extends IT {
53984
53989
  this.options.dataStyles[e.name],
53985
53990
  e.parentExplore.queryTimezone
53986
53991
  );
53987
- const o = (r.childRenderer ?? this.childRenderers[e.name]) instanceof xS, u = this.document.createElement("th");
53992
+ const o = (r.childRenderer ?? this.childRenderers[e.name]) instanceof x4, u = this.document.createElement("th");
53988
53993
  return u.style.cssText = `
53989
53994
  padding: 8px;
53990
53995
  color: var(--malloy-title-color, #505050);
@@ -53993,8 +53998,8 @@ class Pm extends IT {
53993
53998
  `, i = i.replace(/_/g, "_&#8203;"), u.innerHTML = i, u;
53994
53999
  }
53995
54000
  createCell(e, n) {
53996
- const r = e instanceof xS;
53997
- cS();
54001
+ const r = e instanceof x4;
54002
+ c4();
53998
54003
  const i = this.document.createElement("td");
53999
54004
  return i.style.cssText = `
54000
54005
  padding: ${e instanceof Pm ? "0" : "8px"};
@@ -105502,7 +105507,7 @@ const FDe = "Topology", wDe = [
105502
105507
  16
105503
105508
  ]
105504
105509
  ]
105505
- ], dS = {
105510
+ ], d4 = {
105506
105511
  type: FDe,
105507
105512
  bbox: wDe,
105508
105513
  transform: LDe,
@@ -105630,7 +105635,7 @@ function _t(t) {
105630
105635
  function Ti(t) {
105631
105636
  return t == null || t === "" ? null : +t;
105632
105637
  }
105633
- const yee = (t) => (e) => t * Math.exp(e), Eee = (t) => (e) => Math.log(t * e), Aee = (t) => (e) => Math.sign(e) * Math.log1p(Math.abs(e / t)), vee = (t) => (e) => Math.sign(e) * Math.expm1(Math.abs(e)) * t, hS = (t) => (e) => e < 0 ? -Math.pow(-e, t) : Math.pow(e, t);
105638
+ const yee = (t) => (e) => t * Math.exp(e), Eee = (t) => (e) => Math.log(t * e), Aee = (t) => (e) => Math.sign(e) * Math.log1p(Math.abs(e / t)), vee = (t) => (e) => Math.sign(e) * Math.expm1(Math.abs(e)) * t, h4 = (t) => (e) => e < 0 ? -Math.pow(-e, t) : Math.pow(e, t);
105634
105639
  function kT(t, e, n, r) {
105635
105640
  const i = n(t[0]), s = n(_t(t)), o = (s - i) * e;
105636
105641
  return [r(i - o), r(s - o)];
@@ -105643,7 +105648,7 @@ function HDe(t, e) {
105643
105648
  return kT(t, e, Eee(n), yee(n));
105644
105649
  }
105645
105650
  function QDe(t, e, n) {
105646
- return kT(t, e, hS(n), hS(1 / n));
105651
+ return kT(t, e, h4(n), h4(1 / n));
105647
105652
  }
105648
105653
  function GDe(t, e, n) {
105649
105654
  return kT(t, e, Aee(n), vee(n));
@@ -105660,7 +105665,7 @@ function _ee(t, e, n) {
105660
105665
  return PT(t, e, n, Eee(r), yee(r));
105661
105666
  }
105662
105667
  function _D(t, e, n, r) {
105663
- return PT(t, e, n, hS(r), hS(1 / r));
105668
+ return PT(t, e, n, h4(r), h4(1 / r));
105664
105669
  }
105665
105670
  function Cee(t, e, n, r) {
105666
105671
  return PT(t, e, n, Aee(r), vee(r));
@@ -106285,7 +106290,7 @@ function zt(t) {
106285
106290
  return Re(t).length === 0;
106286
106291
  }
106287
106292
  const Re = Object.keys, Ni = Object.values, Cx = Object.entries;
106288
- function pS(t) {
106293
+ function p4(t) {
106289
106294
  return t === !0 || t === !1;
106290
106295
  }
106291
106296
  function mn(t) {
@@ -106346,7 +106351,7 @@ function b8e(t) {
106346
106351
  function T8e(t) {
106347
106352
  return t.startsWith("__");
106348
106353
  }
106349
- function gS(t) {
106354
+ function g4(t) {
106350
106355
  if (t !== void 0)
106351
106356
  return (t % 360 + 360) % 360;
106352
106357
  }
@@ -107030,8 +107035,8 @@ function Bt(t, e, n, r = {}) {
107030
107035
  function Tx(t, e, n, { vgChannel: r } = {}) {
107031
107036
  return er(
107032
107037
  // style config has highest precedence
107033
- r ? mS(t, e, n.style) : void 0,
107034
- mS(t, e, n.style),
107038
+ r ? m4(t, e, n.style) : void 0,
107039
+ m4(t, e, n.style),
107035
107040
  // then mark-specific config
107036
107041
  r ? n[e.type][r] : void 0,
107037
107042
  n[e.type][t],
@@ -107042,7 +107047,7 @@ function Tx(t, e, n, { vgChannel: r } = {}) {
107042
107047
  // Need to cast for the same reason as above
107043
107048
  );
107044
107049
  }
107045
- function mS(t, e, n) {
107050
+ function m4(t, e, n) {
107046
107051
  return Zee(t, Jee(e), n);
107047
107052
  }
107048
107053
  function Zee(t, e, n) {
@@ -107278,7 +107283,7 @@ function twe(t) {
107278
107283
  function nwe(t) {
107279
107284
  return `Stacking is applied even though the aggregate function is non-summative ("${t}").`;
107280
107285
  }
107281
- function yS(t, e) {
107286
+ function y4(t, e) {
107282
107287
  return `Invalid ${t}: ${sn(e)}.`;
107283
107288
  }
107284
107289
  function rwe(t) {
@@ -107343,8 +107348,8 @@ const fte = [
107343
107348
  ], xwe = fte.map((t) => t.substr(0, 3)), xte = ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"], dwe = xte.map((t) => t.substr(0, 3));
107344
107349
  function hwe(t) {
107345
107350
  if ($L(t) && (t = +t), on(t))
107346
- return t > 4 && Te(yS("quarter", t)), t - 1;
107347
- throw new Error(yS("quarter", t));
107351
+ return t > 4 && Te(y4("quarter", t)), t - 1;
107352
+ throw new Error(y4("quarter", t));
107348
107353
  }
107349
107354
  function pwe(t) {
107350
107355
  if ($L(t) && (t = +t), on(t))
@@ -107356,7 +107361,7 @@ function pwe(t) {
107356
107361
  const r = e.substr(0, 3), i = xwe.indexOf(r);
107357
107362
  if (i !== -1)
107358
107363
  return i;
107359
- throw new Error(yS("month", t));
107364
+ throw new Error(y4("month", t));
107360
107365
  }
107361
107366
  }
107362
107367
  function gwe(t) {
@@ -107369,7 +107374,7 @@ function gwe(t) {
107369
107374
  const r = e.substr(0, 3), i = dwe.indexOf(r);
107370
107375
  if (i !== -1)
107371
107376
  return i;
107372
- throw new Error(yS("day", t));
107377
+ throw new Error(y4("day", t));
107373
107378
  }
107374
107379
  }
107375
107380
  function GL(t, e) {
@@ -107967,7 +107972,7 @@ class Pq extends Map {
107967
107972
  return super.delete(_te(this, e));
107968
107973
  }
107969
107974
  }
107970
- class ES extends Set {
107975
+ class E4 extends Set {
107971
107976
  constructor(e, n = Cte) {
107972
107977
  if (super(), Object.defineProperties(this, { _intern: { value: /* @__PURE__ */ new Map() }, _key: { value: n } }), e != null)
107973
107978
  for (const r of e)
@@ -108015,17 +108020,17 @@ function bte(t, e) {
108015
108020
  return (t == null || !(t >= t)) - (e == null || !(e >= e)) || (t < e ? -1 : t > e ? 1 : 0);
108016
108021
  }
108017
108022
  const Kwe = Math.sqrt(50), Xwe = Math.sqrt(10), Jwe = Math.sqrt(2);
108018
- function AS(t, e, n) {
108023
+ function A4(t, e, n) {
108019
108024
  const r = (e - t) / Math.max(0, n), i = Math.floor(Math.log10(r)), s = r / Math.pow(10, i), o = s >= Kwe ? 10 : s >= Xwe ? 5 : s >= Jwe ? 2 : 1;
108020
108025
  let u, a, l;
108021
- return i < 0 ? (l = Math.pow(10, -i) / o, u = Math.round(t * l), a = Math.round(e * l), u / l < t && ++u, a / l > e && --a, l = -l) : (l = Math.pow(10, i) * o, u = Math.round(t / l), a = Math.round(e / l), u * l < t && ++u, a * l > e && --a), a < u && 0.5 <= n && n < 2 ? AS(t, e, n * 2) : [u, a, l];
108026
+ return i < 0 ? (l = Math.pow(10, -i) / o, u = Math.round(t * l), a = Math.round(e * l), u / l < t && ++u, a / l > e && --a, l = -l) : (l = Math.pow(10, i) * o, u = Math.round(t / l), a = Math.round(e / l), u * l < t && ++u, a * l > e && --a), a < u && 0.5 <= n && n < 2 ? A4(t, e, n * 2) : [u, a, l];
108022
108027
  }
108023
108028
  function OD(t, e, n) {
108024
108029
  if (e = +e, t = +t, n = +n, !(n > 0))
108025
108030
  return [];
108026
108031
  if (t === e)
108027
108032
  return [t];
108028
- const r = e < t, [i, s, o] = r ? AS(e, t, n) : AS(t, e, n);
108033
+ const r = e < t, [i, s, o] = r ? A4(e, t, n) : A4(t, e, n);
108029
108034
  if (!(s >= i))
108030
108035
  return [];
108031
108036
  const u = s - i + 1, a = new Array(u);
@@ -108045,7 +108050,7 @@ function OD(t, e, n) {
108045
108050
  return a;
108046
108051
  }
108047
108052
  function ND(t, e, n) {
108048
- return e = +e, t = +t, n = +n, AS(t, e, n)[2];
108053
+ return e = +e, t = +t, n = +n, A4(t, e, n)[2];
108049
108054
  }
108050
108055
  function nc(t, e, n) {
108051
108056
  e = +e, t = +t, n = +n;
@@ -108164,7 +108169,7 @@ function Dte(t, e) {
108164
108169
  function t9e(t) {
108165
108170
  return Math.abs(t = Math.round(t)) >= 1e21 ? t.toLocaleString("en").replace(/,/g, "") : t.toString(10);
108166
108171
  }
108167
- function vS(t, e) {
108172
+ function v4(t, e) {
108168
108173
  if ((n = (t = e ? t.toExponential(e - 1) : t.toExponential()).indexOf("e")) < 0)
108169
108174
  return null;
108170
108175
  var n, r = t.slice(0, n);
@@ -108174,7 +108179,7 @@ function vS(t, e) {
108174
108179
  ];
108175
108180
  }
108176
108181
  function i2(t) {
108177
- return t = vS(Math.abs(t)), t ? t[1] : NaN;
108182
+ return t = v4(Math.abs(t)), t ? t[1] : NaN;
108178
108183
  }
108179
108184
  function n9e(t, e) {
108180
108185
  return function(n, r) {
@@ -108235,14 +108240,14 @@ function s9e(t) {
108235
108240
  }
108236
108241
  var Fte;
108237
108242
  function o9e(t, e) {
108238
- var n = vS(t, e);
108243
+ var n = v4(t, e);
108239
108244
  if (!n)
108240
108245
  return t + "";
108241
108246
  var r = n[0], i = n[1], s = i - (Fte = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
108242
- return s === o ? r : s > o ? r + new Array(s - o + 1).join("0") : s > 0 ? r.slice(0, s) + "." + r.slice(s) : "0." + new Array(1 - s).join("0") + vS(t, Math.max(0, e + s - 1))[0];
108247
+ return s === o ? r : s > o ? r + new Array(s - o + 1).join("0") : s > 0 ? r.slice(0, s) + "." + r.slice(s) : "0." + new Array(1 - s).join("0") + v4(t, Math.max(0, e + s - 1))[0];
108243
108248
  }
108244
108249
  function Mq(t, e) {
108245
- var n = vS(t, e);
108250
+ var n = v4(t, e);
108246
108251
  if (!n)
108247
108252
  return t + "";
108248
108253
  var r = n[0], i = n[1];
@@ -108440,9 +108445,9 @@ function Ad(t) {
108440
108445
  e.setDate(e.getDate() + n * 7);
108441
108446
  }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ao) / oI);
108442
108447
  }
108443
- const S1 = Ad(0), SS = Ad(1), a9e = Ad(2), l9e = Ad(3), o2 = Ad(4), c9e = Ad(5), f9e = Ad(6);
108448
+ const S1 = Ad(0), S4 = Ad(1), a9e = Ad(2), l9e = Ad(3), o2 = Ad(4), c9e = Ad(5), f9e = Ad(6);
108444
108449
  S1.range;
108445
- SS.range;
108450
+ S4.range;
108446
108451
  a9e.range;
108447
108452
  l9e.range;
108448
108453
  o2.range;
@@ -108455,9 +108460,9 @@ function vd(t) {
108455
108460
  e.setUTCDate(e.getUTCDate() + n * 7);
108456
108461
  }, (e, n) => (n - e) / oI);
108457
108462
  }
108458
- const _1 = vd(0), _S = vd(1), x9e = vd(2), d9e = vd(3), u2 = vd(4), h9e = vd(5), p9e = vd(6);
108463
+ const _1 = vd(0), _4 = vd(1), x9e = vd(2), d9e = vd(3), u2 = vd(4), h9e = vd(5), p9e = vd(6);
108459
108464
  _1.range;
108460
- _S.range;
108465
+ _4.range;
108461
108466
  x9e.range;
108462
108467
  d9e.range;
108463
108468
  u2.range;
@@ -108871,7 +108876,7 @@ function Wte(t) {
108871
108876
  if ($ && !("Z" in Q) && (Q.Z = 0), "p" in Q && (Q.H = Q.H % 12 + Q.p * 12), Q.m === void 0 && (Q.m = "q" in Q ? Q.q : 0), "V" in Q) {
108872
108877
  if (Q.V < 1 || Q.V > 53)
108873
108878
  return null;
108874
- "w" in Q || (Q.w = 1), "Z" in Q ? (z = b7(og(Q.y, 0, 1)), P = z.getUTCDay(), z = P > 4 || P === 0 ? _S.ceil(z) : _S(z), z = B0.offset(z, (Q.V - 1) * 7), Q.y = z.getUTCFullYear(), Q.m = z.getUTCMonth(), Q.d = z.getUTCDate() + (Q.w + 6) % 7) : (z = C7(og(Q.y, 0, 1)), P = z.getDay(), z = P > 4 || P === 0 ? SS.ceil(z) : SS(z), z = yl.offset(z, (Q.V - 1) * 7), Q.y = z.getFullYear(), Q.m = z.getMonth(), Q.d = z.getDate() + (Q.w + 6) % 7);
108879
+ "w" in Q || (Q.w = 1), "Z" in Q ? (z = b7(og(Q.y, 0, 1)), P = z.getUTCDay(), z = P > 4 || P === 0 ? _4.ceil(z) : _4(z), z = B0.offset(z, (Q.V - 1) * 7), Q.y = z.getUTCFullYear(), Q.m = z.getUTCMonth(), Q.d = z.getUTCDate() + (Q.w + 6) % 7) : (z = C7(og(Q.y, 0, 1)), P = z.getDay(), z = P > 4 || P === 0 ? S4.ceil(z) : S4(z), z = yl.offset(z, (Q.V - 1) * 7), Q.y = z.getFullYear(), Q.m = z.getMonth(), Q.d = z.getDate() + (Q.w + 6) % 7);
108875
108880
  } else
108876
108881
  ("W" in Q || "U" in Q) && ("w" in Q || (Q.w = "u" in Q ? Q.u % 7 : "W" in Q ? 1 : 0), P = "Z" in Q ? b7(og(Q.y, 0, 1)).getUTCDay() : C7(og(Q.y, 0, 1)).getDay(), Q.m = 0, Q.d = "W" in Q ? (Q.w + 6) % 7 + Q.W * 7 - (P + 5) % 7 : Q.w + Q.U * 7 - (P + 6) % 7);
108877
108882
  return "Z" in Q ? (Q.H += Q.Z / 100 | 0, Q.M += Q.Z % 100, b7(Q)) : C7(Q);
@@ -109120,7 +109125,7 @@ function ALe(t) {
109120
109125
  return t.getDay();
109121
109126
  }
109122
109127
  function vLe(t, e) {
109123
- return Nt(SS.count(ta(t) - 1, t), e, 2);
109128
+ return Nt(S4.count(ta(t) - 1, t), e, 2);
109124
109129
  }
109125
109130
  function SLe(t, e) {
109126
109131
  return Nt(t.getFullYear() % 100, e, 2);
@@ -109184,7 +109189,7 @@ function kLe(t) {
109184
109189
  return t.getUTCDay();
109185
109190
  }
109186
109191
  function PLe(t, e) {
109187
- return Nt(_S.count(na(t) - 1, t), e, 2);
109192
+ return Nt(_4.count(na(t) - 1, t), e, 2);
109188
109193
  }
109189
109194
  function MLe(t, e) {
109190
109195
  return Nt(t.getUTCFullYear() % 100, e, 2);
@@ -109344,17 +109349,17 @@ function VLe() {
109344
109349
  function rne(t) {
109345
109350
  return nne(Wte(t));
109346
109351
  }
109347
- function CS(t) {
109352
+ function C4(t) {
109348
109353
  return arguments.length ? MD = rne(t) : MD;
109349
109354
  }
109350
109355
  const jD = (t, e) => ct({}, t, e);
109351
109356
  function ine(t, e) {
109352
- const n = t ? tne(t) : PD(), r = e ? rne(e) : CS();
109357
+ const n = t ? tne(t) : PD(), r = e ? rne(e) : C4();
109353
109358
  return jD(n, r);
109354
109359
  }
109355
109360
  function YLe(t, e) {
109356
109361
  const n = arguments.length;
109357
- return n && n !== 2 && ve("defaultLocale expects either zero or two arguments."), n ? jD(PD(t), CS(e)) : jD(PD(), CS());
109362
+ return n && n !== 2 && ve("defaultLocale expects either zero or two arguments."), n ? jD(PD(t), C4(e)) : jD(PD(), C4());
109358
109363
  }
109359
109364
  const KLe = /^(data:|([A-Za-z]+:)?\/\/)/, XLe = /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|file|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i, JLe = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g, iz = "file://";
109360
109365
  function ZLe(t, e) {
@@ -109480,7 +109485,7 @@ function mIe(t, e, n, r) {
109480
109485
  function yIe(t, e, n, r) {
109481
109486
  if (!t.length)
109482
109487
  return;
109483
- const i = CS();
109488
+ const i = C4();
109484
109489
  n = n || i.timeParse, r = r || i.utcParse;
109485
109490
  let s = t.columns || Object.keys(t[0]), o, u, a, l, c, f;
109486
109491
  e === "auto" && (e = xIe(t, s)), s = Object.keys(e);
@@ -110015,7 +110020,7 @@ function jIe(t) {
110015
110020
  for (i = r.length; --i >= 0; )
110016
110021
  e.push(n = r[i]), n === t && ve("Cycle detected in dataflow graph.");
110017
110022
  }
110018
- const bS = {}, wu = 1, m0 = 2, Ya = 4, UIe = wu | m0, az = wu | Ya, Gd = wu | m0 | Ya, lz = 8, lg = 16, cz = 32, fz = 64;
110023
+ const b4 = {}, wu = 1, m0 = 2, Ya = 4, UIe = wu | m0, az = wu | Ya, Gd = wu | m0 | Ya, lz = 8, lg = 16, cz = 32, fz = 64;
110019
110024
  function Xf(t, e, n) {
110020
110025
  this.dataflow = t, this.stamp = e ?? -1, this.add = [], this.rem = [], this.mod = [], this.fields = null, this.encode = n || null;
110021
110026
  }
@@ -110036,7 +110041,7 @@ Xf.prototype = {
110036
110041
  /**
110037
110042
  * Sentinel value indicating pulse propagation should stop.
110038
110043
  */
110039
- StopPropagation: bS,
110044
+ StopPropagation: b4,
110040
110045
  /**
110041
110046
  * Boolean flag indicating ADD (added) tuples.
110042
110047
  */
@@ -110315,7 +110320,7 @@ async function qIe(t, e, n) {
110315
110320
  r._enqueue(u, !0);
110316
110321
  continue;
110317
110322
  }
110318
- a = u.run(r._getPulse(u, t)), a.then ? a = await a : a.async && (i.push(a.async), a = bS), a !== bS && u._targets && u._targets.forEach((c) => r._enqueue(c)), ++o;
110323
+ a = u.run(r._getPulse(u, t)), a.then ? a = await a : a.async && (i.push(a.async), a = b4), a !== b4 && u._targets && u._targets.forEach((c) => r._enqueue(c)), ++o;
110319
110324
  }
110320
110325
  } catch (c) {
110321
110326
  r._heap.clear(), l = c;
@@ -110370,7 +110375,7 @@ function WIe(t, e) {
110370
110375
  return n && _e(n) ? new xne(this, r, n.map((i) => i.pulse), e) : this._input[t.id] || VIe(this._pulse, n && n.pulse);
110371
110376
  }
110372
110377
  function VIe(t, e) {
110373
- return e && e.stamp === t.stamp ? e : (t = t.fork(), e && e !== bS && (t.source = e.source), t);
110378
+ return e && e.stamp === t.stamp ? e : (t = t.fork(), e && e !== b4 && (t.source = e.source), t);
110374
110379
  }
110375
110380
  const mI = {
110376
110381
  skip: !1,
@@ -113302,12 +113307,12 @@ function $t(t) {
113302
113307
  return t;
113303
113308
  };
113304
113309
  }
113305
- const mz = Math.abs, Ur = Math.atan2, _f = Math.cos, cBe = Math.max, D7 = Math.min, Tu = Math.sin, qf = Math.sqrt, Hr = 1e-12, l2 = Math.PI, TS = l2 / 2, ore = 2 * l2;
113310
+ const mz = Math.abs, Ur = Math.atan2, _f = Math.cos, cBe = Math.max, D7 = Math.min, Tu = Math.sin, qf = Math.sqrt, Hr = 1e-12, l2 = Math.PI, T4 = l2 / 2, ore = 2 * l2;
113306
113311
  function fBe(t) {
113307
113312
  return t > 1 ? 0 : t < -1 ? l2 : Math.acos(t);
113308
113313
  }
113309
113314
  function yz(t) {
113310
- return t >= 1 ? TS : t <= -1 ? -TS : Math.asin(t);
113315
+ return t >= 1 ? T4 : t <= -1 ? -T4 : Math.asin(t);
113311
113316
  }
113312
113317
  const qD = Math.PI, zD = 2 * qD, Df = 1e-6, xBe = zD - Df;
113313
113318
  function ure(t) {
@@ -113429,7 +113434,7 @@ function dA(t, e, n, r, i, s, o) {
113429
113434
  function ABe() {
113430
113435
  var t = hBe, e = pBe, n = $t(0), r = null, i = gBe, s = mBe, o = yBe, u = null, a = o6(l);
113431
113436
  function l() {
113432
- var c, f, x = +t.apply(this, arguments), h = +e.apply(this, arguments), p = i.apply(this, arguments) - TS, m = s.apply(this, arguments) - TS, g = mz(m - p), y = m > p;
113437
+ var c, f, x = +t.apply(this, arguments), h = +e.apply(this, arguments), p = i.apply(this, arguments) - T4, m = s.apply(this, arguments) - T4, g = mz(m - p), y = m > p;
113433
113438
  if (u || (u = c = a()), h < x && (f = h, h = x, x = f), !(h > Hr))
113434
113439
  u.moveTo(0, 0);
113435
113440
  else if (g > ore - Hr)
@@ -113611,7 +113616,7 @@ function SBe(t, e) {
113611
113616
  }
113612
113617
  function ic() {
113613
113618
  }
113614
- function RS(t, e, n) {
113619
+ function R4(t, e, n) {
113615
113620
  t._context.bezierCurveTo(
113616
113621
  (2 * t._x0 + t._x1) / 3,
113617
113622
  (2 * t._y0 + t._y1) / 3,
@@ -113637,7 +113642,7 @@ u6.prototype = {
113637
113642
  lineEnd: function() {
113638
113643
  switch (this._point) {
113639
113644
  case 3:
113640
- RS(this, this._x1, this._y1);
113645
+ R4(this, this._x1, this._y1);
113641
113646
  case 2:
113642
113647
  this._context.lineTo(this._x1, this._y1);
113643
113648
  break;
@@ -113655,7 +113660,7 @@ u6.prototype = {
113655
113660
  case 2:
113656
113661
  this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
113657
113662
  default:
113658
- RS(this, t, e);
113663
+ R4(this, t, e);
113659
113664
  break;
113660
113665
  }
113661
113666
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
@@ -113701,7 +113706,7 @@ hre.prototype = {
113701
113706
  this._point = 3, this._x4 = t, this._y4 = e, this._context.moveTo((this._x0 + 4 * this._x1 + t) / 6, (this._y0 + 4 * this._y1 + e) / 6);
113702
113707
  break;
113703
113708
  default:
113704
- RS(this, t, e);
113709
+ R4(this, t, e);
113705
113710
  break;
113706
113711
  }
113707
113712
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
@@ -113742,7 +113747,7 @@ pre.prototype = {
113742
113747
  case 3:
113743
113748
  this._point = 4;
113744
113749
  default:
113745
- RS(this, t, e);
113750
+ R4(this, t, e);
113746
113751
  break;
113747
113752
  }
113748
113753
  this._x0 = this._x1, this._x1 = t, this._y0 = this._y1, this._y1 = e;
@@ -113780,7 +113785,7 @@ const TBe = function t(e) {
113780
113785
  return t(+r);
113781
113786
  }, n;
113782
113787
  }(0.85);
113783
- function OS(t, e, n) {
113788
+ function O4(t, e, n) {
113784
113789
  t._context.bezierCurveTo(
113785
113790
  t._x1 + t._k * (t._x2 - t._x0),
113786
113791
  t._y1 + t._k * (t._y2 - t._y0),
@@ -113809,7 +113814,7 @@ KI.prototype = {
113809
113814
  this._context.lineTo(this._x2, this._y2);
113810
113815
  break;
113811
113816
  case 3:
113812
- OS(this, this._x1, this._y1);
113817
+ O4(this, this._x1, this._y1);
113813
113818
  break;
113814
113819
  }
113815
113820
  (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -113825,7 +113830,7 @@ KI.prototype = {
113825
113830
  case 2:
113826
113831
  this._point = 3;
113827
113832
  default:
113828
- OS(this, t, e);
113833
+ O4(this, t, e);
113829
113834
  break;
113830
113835
  }
113831
113836
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
@@ -113876,7 +113881,7 @@ XI.prototype = {
113876
113881
  this._point = 3, this._x5 = t, this._y5 = e;
113877
113882
  break;
113878
113883
  default:
113879
- OS(this, t, e);
113884
+ O4(this, t, e);
113880
113885
  break;
113881
113886
  }
113882
113887
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
@@ -113920,7 +113925,7 @@ JI.prototype = {
113920
113925
  case 3:
113921
113926
  this._point = 4;
113922
113927
  default:
113923
- OS(this, t, e);
113928
+ O4(this, t, e);
113924
113929
  break;
113925
113930
  }
113926
113931
  this._x0 = this._x1, this._x1 = this._x2, this._x2 = t, this._y0 = this._y1, this._y1 = this._y2, this._y2 = e;
@@ -114136,10 +114141,10 @@ function F7(t, e, n) {
114136
114141
  var r = t._x0, i = t._y0, s = t._x1, o = t._y1, u = (s - r) / 3;
114137
114142
  t._context.bezierCurveTo(r + u, i + u * e, s - u, o - u * n, s, o);
114138
114143
  }
114139
- function NS(t) {
114144
+ function N4(t) {
114140
114145
  this._context = t;
114141
114146
  }
114142
- NS.prototype = {
114147
+ N4.prototype = {
114143
114148
  areaStart: function() {
114144
114149
  this._line = 0;
114145
114150
  },
@@ -114184,8 +114189,8 @@ NS.prototype = {
114184
114189
  function vre(t) {
114185
114190
  this._context = new Sre(t);
114186
114191
  }
114187
- (vre.prototype = Object.create(NS.prototype)).point = function(t, e) {
114188
- NS.prototype.point.call(this, e, t);
114192
+ (vre.prototype = Object.create(N4.prototype)).point = function(t, e) {
114193
+ N4.prototype.point.call(this, e, t);
114189
114194
  };
114190
114195
  function Sre(t) {
114191
114196
  this._context = t;
@@ -114205,7 +114210,7 @@ Sre.prototype = {
114205
114210
  }
114206
114211
  };
114207
114212
  function IBe(t) {
114208
- return new NS(t);
114213
+ return new N4(t);
114209
114214
  }
114210
114215
  function $Be(t) {
114211
114216
  return new vre(t);
@@ -114579,7 +114584,7 @@ T1(dr, sc, tE(Hc, {
114579
114584
  return this;
114580
114585
  },
114581
114586
  clamp() {
114582
- return new dr(Jf(this.r), Jf(this.g), Jf(this.b), DS(this.opacity));
114587
+ return new dr(Jf(this.r), Jf(this.g), Jf(this.b), D4(this.opacity));
114583
114588
  },
114584
114589
  displayable() {
114585
114590
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
@@ -114598,10 +114603,10 @@ function KBe() {
114598
114603
  return `#${zf(this.r)}${zf(this.g)}${zf(this.b)}${zf((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
114599
114604
  }
114600
114605
  function Oz() {
114601
- const t = DS(this.opacity);
114606
+ const t = D4(this.opacity);
114602
114607
  return `${t === 1 ? "rgb(" : "rgba("}${Jf(this.r)}, ${Jf(this.g)}, ${Jf(this.b)}${t === 1 ? ")" : `, ${t})`}`;
114603
114608
  }
114604
- function DS(t) {
114609
+ function D4(t) {
114605
114610
  return isNaN(t) ? 1 : Math.max(0, Math.min(1, t));
114606
114611
  }
114607
114612
  function Jf(t) {
@@ -114624,13 +114629,13 @@ function Cre(t) {
114624
114629
  var e = t.r / 255, n = t.g / 255, r = t.b / 255, i = Math.min(e, n, r), s = Math.max(e, n, r), o = NaN, u = s - i, a = (s + i) / 2;
114625
114630
  return u ? (e === s ? o = (n - r) / u + (n < r) * 6 : n === s ? o = (r - e) / u + 2 : o = (e - n) / u + 4, u /= a < 0.5 ? s + i : 2 - s - i, o *= 60) : u = a > 0 && a < 1 ? 0 : o, new Mo(o, u, a, t.opacity);
114626
114631
  }
114627
- function FS(t, e, n, r) {
114632
+ function F4(t, e, n, r) {
114628
114633
  return arguments.length === 1 ? Cre(t) : new Mo(t, e, n, r ?? 1);
114629
114634
  }
114630
114635
  function Mo(t, e, n, r) {
114631
114636
  this.h = +t, this.s = +e, this.l = +n, this.opacity = +r;
114632
114637
  }
114633
- T1(Mo, FS, tE(Hc, {
114638
+ T1(Mo, F4, tE(Hc, {
114634
114639
  brighter(t) {
114635
114640
  return t = t == null ? c2 : Math.pow(c2, t), new Mo(this.h, this.s, this.l * t, this.opacity);
114636
114641
  },
@@ -114647,13 +114652,13 @@ T1(Mo, FS, tE(Hc, {
114647
114652
  );
114648
114653
  },
114649
114654
  clamp() {
114650
- return new Mo(Dz(this.h), pA(this.s), pA(this.l), DS(this.opacity));
114655
+ return new Mo(Dz(this.h), pA(this.s), pA(this.l), D4(this.opacity));
114651
114656
  },
114652
114657
  displayable() {
114653
114658
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
114654
114659
  },
114655
114660
  formatHsl() {
114656
- const t = DS(this.opacity);
114661
+ const t = D4(this.opacity);
114657
114662
  return `${t === 1 ? "hsl(" : "hsla("}${Dz(this.h)}, ${pA(this.s) * 100}%, ${pA(this.l) * 100}%${t === 1 ? ")" : `, ${t})`}`;
114658
114663
  }
114659
114664
  }));
@@ -114666,7 +114671,7 @@ function pA(t) {
114666
114671
  function w7(t, e, n) {
114667
114672
  return (t < 60 ? e + (n - e) * t / 60 : t < 180 ? n : t < 240 ? e + (n - e) * (240 - t) / 60 : e) * 255;
114668
114673
  }
114669
- const bre = Math.PI / 180, Tre = 180 / Math.PI, wS = 18, Rre = 0.96422, Ore = 1, Nre = 0.82521, Dre = 4 / 29, Eh = 6 / 29, Fre = 3 * Eh * Eh, XBe = Eh * Eh * Eh;
114674
+ const bre = Math.PI / 180, Tre = 180 / Math.PI, w4 = 18, Rre = 0.96422, Ore = 1, Nre = 0.82521, Dre = 4 / 29, Eh = 6 / 29, Fre = 3 * Eh * Eh, XBe = Eh * Eh * Eh;
114670
114675
  function wre(t) {
114671
114676
  if (t instanceof Qu)
114672
114677
  return new Qu(t.l, t.a, t.b, t.opacity);
@@ -114676,18 +114681,18 @@ function wre(t) {
114676
114681
  var e = B7(t.r), n = B7(t.g), r = B7(t.b), i = L7((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / Ore), s, o;
114677
114682
  return e === n && n === r ? s = o = i : (s = L7((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / Rre), o = L7((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Nre)), new Qu(116 * i - 16, 500 * (s - i), 200 * (i - o), t.opacity);
114678
114683
  }
114679
- function LS(t, e, n, r) {
114684
+ function L4(t, e, n, r) {
114680
114685
  return arguments.length === 1 ? wre(t) : new Qu(t, e, n, r ?? 1);
114681
114686
  }
114682
114687
  function Qu(t, e, n, r) {
114683
114688
  this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
114684
114689
  }
114685
- T1(Qu, LS, tE(Hc, {
114690
+ T1(Qu, L4, tE(Hc, {
114686
114691
  brighter(t) {
114687
- return new Qu(this.l + wS * (t ?? 1), this.a, this.b, this.opacity);
114692
+ return new Qu(this.l + w4 * (t ?? 1), this.a, this.b, this.opacity);
114688
114693
  },
114689
114694
  darker(t) {
114690
- return new Qu(this.l - wS * (t ?? 1), this.a, this.b, this.opacity);
114695
+ return new Qu(this.l - w4 * (t ?? 1), this.a, this.b, this.opacity);
114691
114696
  },
114692
114697
  rgb() {
114693
114698
  var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
@@ -114719,7 +114724,7 @@ function JBe(t) {
114719
114724
  var e = Math.atan2(t.b, t.a) * Tre;
114720
114725
  return new ll(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
114721
114726
  }
114722
- function IS(t, e, n, r) {
114727
+ function I4(t, e, n, r) {
114723
114728
  return arguments.length === 1 ? JBe(t) : new ll(t, e, n, r ?? 1);
114724
114729
  }
114725
114730
  function ll(t, e, n, r) {
@@ -114731,12 +114736,12 @@ function Lre(t) {
114731
114736
  var e = t.h * bre;
114732
114737
  return new Qu(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
114733
114738
  }
114734
- T1(ll, IS, tE(Hc, {
114739
+ T1(ll, I4, tE(Hc, {
114735
114740
  brighter(t) {
114736
- return new ll(this.h, this.c, this.l + wS * (t ?? 1), this.opacity);
114741
+ return new ll(this.h, this.c, this.l + w4 * (t ?? 1), this.opacity);
114737
114742
  },
114738
114743
  darker(t) {
114739
- return new ll(this.h, this.c, this.l - wS * (t ?? 1), this.opacity);
114744
+ return new ll(this.h, this.c, this.l - w4 * (t ?? 1), this.opacity);
114740
114745
  },
114741
114746
  rgb() {
114742
114747
  return Lre(this).rgb();
@@ -115029,7 +115034,7 @@ const gke = function t(e, n, r) {
115029
115034
  }(Math.SQRT2, 2, 4);
115030
115035
  function Wre(t) {
115031
115036
  return function(e, n) {
115032
- var r = t((e = FS(e)).h, (n = FS(n)).h), i = hr(e.s, n.s), s = hr(e.l, n.l), o = hr(e.opacity, n.opacity);
115037
+ var r = t((e = F4(e)).h, (n = F4(n)).h), i = hr(e.s, n.s), s = hr(e.l, n.l), o = hr(e.opacity, n.opacity);
115033
115038
  return function(u) {
115034
115039
  return e.h = r(u), e.s = i(u), e.l = s(u), e.opacity = o(u), e + "";
115035
115040
  };
@@ -115038,14 +115043,14 @@ function Wre(t) {
115038
115043
  const mke = Wre(f6);
115039
115044
  var yke = Wre(hr);
115040
115045
  function Eke(t, e) {
115041
- var n = hr((t = LS(t)).l, (e = LS(e)).l), r = hr(t.a, e.a), i = hr(t.b, e.b), s = hr(t.opacity, e.opacity);
115046
+ var n = hr((t = L4(t)).l, (e = L4(e)).l), r = hr(t.a, e.a), i = hr(t.b, e.b), s = hr(t.opacity, e.opacity);
115042
115047
  return function(o) {
115043
115048
  return t.l = n(o), t.a = r(o), t.b = i(o), t.opacity = s(o), t + "";
115044
115049
  };
115045
115050
  }
115046
115051
  function Vre(t) {
115047
115052
  return function(e, n) {
115048
- var r = t((e = IS(e)).h, (n = IS(n)).h), i = hr(e.c, n.c), s = hr(e.l, n.l), o = hr(e.opacity, n.opacity);
115053
+ var r = t((e = I4(e)).h, (n = I4(n)).h), i = hr(e.c, n.c), s = hr(e.l, n.l), o = hr(e.opacity, n.opacity);
115049
115054
  return function(u) {
115050
115055
  return e.h = r(u), e.c = i(u), e.l = s(u), e.opacity = o(u), e + "";
115051
115056
  };
@@ -115696,7 +115701,7 @@ function die() {
115696
115701
  return die().domain(n.domain()).range(n.range());
115697
115702
  }, n;
115698
115703
  }
115699
- const $S = /* @__PURE__ */ new Map(), hie = Symbol("vega_scale");
115704
+ const $4 = /* @__PURE__ */ new Map(), hie = Symbol("vega_scale");
115700
115705
  function pie(t) {
115701
115706
  return t[hie] = !0, t;
115702
115707
  }
@@ -115711,7 +115716,7 @@ function Jke(t, e, n) {
115711
115716
  return r.metadata = ea(ke(n)), r;
115712
115717
  }
115713
115718
  function Dt(t, e, n) {
115714
- return arguments.length > 1 ? ($S.set(t, Jke(t, e, n)), this) : gie(t) ? $S.get(t) : void 0;
115719
+ return arguments.length > 1 ? ($4.set(t, Jke(t, e, n)), this) : gie(t) ? $4.get(t) : void 0;
115715
115720
  }
115716
115721
  Dt(Hke, Zre);
115717
115722
  Dt(f2, Jre, rr);
@@ -115740,10 +115745,10 @@ Dt(p$, e$, oE);
115740
115745
  Dt(fie, y$, oE);
115741
115746
  Dt(XD, Wke, oE);
115742
115747
  function gie(t) {
115743
- return $S.has(t);
115748
+ return $4.has(t);
115744
115749
  }
115745
115750
  function Cd(t, e) {
115746
- const n = $S.get(t);
115751
+ const n = $4.get(t);
115747
115752
  return n && n.metadata[e];
115748
115753
  }
115749
115754
  function E$(t) {
@@ -115991,14 +115996,14 @@ function Fie(t, e, n) {
115991
115996
  }
115992
115997
  }
115993
115998
  let APe = 0;
115994
- const BS = "p_";
115999
+ const B4 = "p_";
115995
116000
  function _$(t) {
115996
116001
  return t && t.gradient;
115997
116002
  }
115998
116003
  function wie(t, e, n) {
115999
116004
  const r = t.gradient;
116000
- let i = t.id, s = r === "radial" ? BS : "";
116001
- return i || (i = t.id = "gradient_" + APe++, r === "radial" ? (t.x1 = Ru(t.x1, 0.5), t.y1 = Ru(t.y1, 0.5), t.r1 = Ru(t.r1, 0), t.x2 = Ru(t.x2, 0.5), t.y2 = Ru(t.y2, 0.5), t.r2 = Ru(t.r2, 0.5), s = BS) : (t.x1 = Ru(t.x1, 0), t.y1 = Ru(t.y1, 0), t.x2 = Ru(t.x2, 1), t.y2 = Ru(t.y2, 0))), e[i] = t, "url(" + (n || "") + "#" + s + i + ")";
116005
+ let i = t.id, s = r === "radial" ? B4 : "";
116006
+ return i || (i = t.id = "gradient_" + APe++, r === "radial" ? (t.x1 = Ru(t.x1, 0.5), t.y1 = Ru(t.y1, 0.5), t.r1 = Ru(t.r1, 0), t.x2 = Ru(t.x2, 0.5), t.y2 = Ru(t.y2, 0.5), t.r2 = Ru(t.r2, 0.5), s = B4) : (t.x1 = Ru(t.x1, 0), t.y1 = Ru(t.y1, 0), t.x2 = Ru(t.x2, 1), t.y2 = Ru(t.y2, 0))), e[i] = t, "url(" + (n || "") + "#" + s + i + ")";
116002
116007
  }
116003
116008
  function Ru(t, e) {
116004
116009
  return t ?? e;
@@ -116179,7 +116184,7 @@ function FPe(t, e, n) {
116179
116184
  Ks[i] = (i % 2 == 1 ? e : n) * t[i];
116180
116185
  return Ks;
116181
116186
  }
116182
- function kS(t, e, n, r, i, s) {
116187
+ function k4(t, e, n, r, i, s) {
116183
116188
  var o, u = null, a = 0, l = 0, c = 0, f = 0, x, h, p, m, g = 0, y = 0;
116184
116189
  n == null && (n = 0), r == null && (r = 0), i == null && (i = 1), s == null && (s = i), t.beginPath && t.beginPath();
116185
116190
  for (var E = 0, A = e.length; E < A; ++E) {
@@ -116364,7 +116369,7 @@ function LPe(t) {
116364
116369
  const e = C$(t);
116365
116370
  j7[t] = {
116366
116371
  draw: function(n, r) {
116367
- kS(n, e, 0, 0, Math.sqrt(r) / 2);
116372
+ k4(n, e, 0, 0, Math.sqrt(r) / 2);
116368
116373
  }
116369
116374
  };
116370
116375
  }
@@ -116765,7 +116770,7 @@ function vMe(t, e, n) {
116765
116770
  function Mie(t, e, n) {
116766
116771
  return _$(n) ? vMe(t, n, e.bounds) : n;
116767
116772
  }
116768
- function PS(t, e, n) {
116773
+ function P4(t, e, n) {
116769
116774
  return n *= e.fillOpacity == null ? 1 : e.fillOpacity, n > 0 ? (t.globalAlpha = n, t.fillStyle = Mie(t, e, e.fill), !0) : !1;
116770
116775
  }
116771
116776
  var SMe = [];
@@ -116826,7 +116831,7 @@ function CMe(t) {
116826
116831
  }
116827
116832
  function Uie(t, e, n, r) {
116828
116833
  var i = n.opacity == null ? 1 : n.opacity;
116829
- i !== 0 && (t(e, r) || (h2(e, n), n.fill && PS(e, n, i) && e.fill(), n.stroke && p2(e, n, i) && e.stroke()));
116834
+ i !== 0 && (t(e, r) || (h2(e, n), n.fill && P4(e, n, i) && e.fill(), n.stroke && p2(e, n, i) && e.stroke()));
116830
116835
  }
116831
116836
  function v6(t) {
116832
116837
  return t = t || Jo, function(e, n, r, i, s, o) {
@@ -116978,7 +116983,7 @@ const MMe = fE(Km), jMe = fE(Km, !1), UMe = fE(Km, !0);
116978
116983
  function qMe(t, e, n) {
116979
116984
  ia(e, (r) => {
116980
116985
  const i = r.x || 0, s = r.y || 0, o = r.strokeForeground, u = r.opacity == null ? 1 : r.opacity;
116981
- (r.stroke || r.fill) && u && (Km(t, r, i, s), h2(t, r), r.fill && PS(t, r, u) && t.fill(), r.stroke && !o && p2(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && zie(t, r), n && n.translate(-i, -s), ia(r, (a) => {
116986
+ (r.stroke || r.fill) && u && (Km(t, r, i, s), h2(t, r), r.fill && P4(t, r, u) && t.fill(), r.stroke && !o && p2(t, r, u) && t.stroke()), t.save(), t.translate(i, s), r.clip && zie(t, r), n && n.translate(-i, -s), ia(r, (a) => {
116982
116987
  this.draw(t, a, n);
116983
116988
  }), n && n.translate(i, s), t.restore(), o && r.stroke && u && (Km(t, r, i, s), h2(t, r), p2(t, r, u) && t.stroke());
116984
116989
  });
@@ -117087,7 +117092,7 @@ function gv(t, e) {
117087
117092
  if (n == null)
117088
117093
  return !0;
117089
117094
  var r = e.x || 0, i = e.y || 0, s = e.scaleX || 1, o = e.scaleY || 1, u = (e.angle || 0) * oc, a = e.pathCache;
117090
- (!a || a.path !== n) && ((e.pathCache = a = C$(n)).path = n), u && t.rotate && t.translate ? (t.translate(r, i), t.rotate(u), kS(t, a, 0, 0, s, o), t.rotate(-u), t.translate(-r, -i)) : kS(t, a, r, i, s, o);
117095
+ (!a || a.path !== n) && ((e.pathCache = a = C$(n)).path = n), u && t.rotate && t.translate ? (t.translate(r, i), t.rotate(u), k4(t, a, 0, 0, s, o), t.rotate(-u), t.translate(-r, -i)) : k4(t, a, r, i, s, o);
117091
117096
  }
117092
117097
  function JMe(t, e) {
117093
117098
  return gv(A6(t, e.angle), e) ? t.set(0, 0, 0, 0) : Wc(t, e, !0);
@@ -117263,9 +117268,9 @@ function pje(t, e, n) {
117263
117268
  i === 0 || r.fontSize <= 0 || r.text == null || r.text.length === 0)) {
117264
117269
  if (t.font = P$(r), t.textAlign = r.align || "left", s = b6(r), o = s.x1, u = s.y1, r.angle && (t.save(), t.translate(o, u), t.rotate(r.angle * oc), o = u = 0), o += r.dx || 0, u += (r.dy || 0) + M$(r), c = xE(r), h2(t, r), _e(c))
117265
117270
  for (l = Fx(r), a = 0; a < c.length; ++a)
117266
- f = uc(r, c[a]), r.fill && PS(t, r, i) && t.fillText(f, o, u), r.stroke && p2(t, r, i) && t.strokeText(f, o, u), u += l;
117271
+ f = uc(r, c[a]), r.fill && P4(t, r, i) && t.fillText(f, o, u), r.stroke && p2(t, r, i) && t.strokeText(f, o, u), u += l;
117267
117272
  else
117268
- f = uc(r, c), r.fill && PS(t, r, i) && t.fillText(f, o, u), r.stroke && p2(t, r, i) && t.strokeText(f, o, u);
117273
+ f = uc(r, c), r.fill && P4(t, r, i) && t.fillText(f, o, u), r.stroke && p2(t, r, i) && t.strokeText(f, o, u);
117269
117274
  r.angle && t.restore();
117270
117275
  }
117271
117276
  });
@@ -117776,11 +117781,11 @@ Jl.prototype = {
117776
117781
  return this._load("loadImage", t);
117777
117782
  }
117778
117783
  };
117779
- const Tje = "keydown", Rje = "keypress", Oje = "keyup", nse = "dragenter", mv = "dragleave", rse = "dragover", o8 = "mousedown", Nje = "mouseup", MS = "mousemove", om = "mouseout", ise = "mouseover", jS = "click", Dje = "dblclick", Fje = "wheel", sse = "mousewheel", US = "touchstart", qS = "touchmove", zS = "touchend", wje = [Tje, Rje, Oje, nse, mv, rse, o8, Nje, MS, om, ise, jS, Dje, Fje, sse, US, qS, zS], u8 = MS, Jm = om, a8 = jS;
117784
+ const Tje = "keydown", Rje = "keypress", Oje = "keyup", nse = "dragenter", mv = "dragleave", rse = "dragover", o8 = "mousedown", Nje = "mouseup", M4 = "mousemove", om = "mouseout", ise = "mouseover", j4 = "click", Dje = "dblclick", Fje = "wheel", sse = "mousewheel", U4 = "touchstart", q4 = "touchmove", z4 = "touchend", wje = [Tje, Rje, Oje, nse, mv, rse, o8, Nje, M4, om, ise, j4, Dje, Fje, sse, U4, q4, z4], u8 = M4, Jm = om, a8 = j4;
117780
117785
  function T6(t, e) {
117781
117786
  wx.call(this, t, e), this._down = null, this._touch = null, this._first = !0, this._events = {};
117782
117787
  }
117783
- const Lje = (t) => t === US || t === qS || t === zS ? [US, qS, zS] : [t];
117788
+ const Lje = (t) => t === U4 || t === q4 || t === z4 ? [U4, q4, z4] : [t];
117784
117789
  function uH(t, e) {
117785
117790
  Lje(e).forEach((n) => Ije(t, n));
117786
117791
  }
@@ -117801,7 +117806,7 @@ function lH(t) {
117801
117806
  }
117802
117807
  Fe(T6, wx, {
117803
117808
  initialize(t, e, n) {
117804
- return this._canvas = t && ese(t, "canvas"), [jS, o8, MS, om, mv].forEach((r) => uH(this, r)), wx.prototype.initialize.call(this, t, e, n);
117809
+ return this._canvas = t && ese(t, "canvas"), [j4, o8, M4, om, mv].forEach((r) => uH(this, r)), wx.prototype.initialize.call(this, t, e, n);
117805
117810
  },
117806
117811
  // return the backing canvas instance
117807
117812
  canvas() {
@@ -117817,7 +117822,7 @@ Fe(T6, wx, {
117817
117822
  DOMMouseScroll(t) {
117818
117823
  this.fire(sse, t);
117819
117824
  },
117820
- mousemove: aH(MS, ise, om),
117825
+ mousemove: aH(M4, ise, om),
117821
117826
  dragover: aH(rse, nse, mv),
117822
117827
  mouseout: lH(om),
117823
117828
  dragleave: lH(mv),
@@ -117825,16 +117830,16 @@ Fe(T6, wx, {
117825
117830
  this._down = this._active, this.fire(o8, t);
117826
117831
  },
117827
117832
  click(t) {
117828
- this._down === this._active && (this.fire(jS, t), this._down = null);
117833
+ this._down === this._active && (this.fire(j4, t), this._down = null);
117829
117834
  },
117830
117835
  touchstart(t) {
117831
- this._touch = this.pickEvent(t.changedTouches[0]), this._first && (this._active = this._touch, this._first = !1), this.fire(US, t, !0);
117836
+ this._touch = this.pickEvent(t.changedTouches[0]), this._first && (this._active = this._touch, this._first = !1), this.fire(U4, t, !0);
117832
117837
  },
117833
117838
  touchmove(t) {
117834
- this.fire(qS, t, !0);
117839
+ this.fire(q4, t, !0);
117835
117840
  },
117836
117841
  touchend(t) {
117837
- this.fire(zS, t, !0), this._touch = null;
117842
+ this.fire(z4, t, !0), this._touch = null;
117838
117843
  },
117839
117844
  // fire an event
117840
117845
  fire(t, e, n) {
@@ -118083,7 +118088,7 @@ function pse(t, e) {
118083
118088
  }
118084
118089
  return t.close();
118085
118090
  }
118086
- const HS = {
118091
+ const H4 = {
118087
118092
  fill: "fill",
118088
118093
  fillOpacity: "fill-opacity",
118089
118094
  stroke: "stroke",
@@ -118095,7 +118100,7 @@ const HS = {
118095
118100
  strokeDashOffset: "stroke-dashoffset",
118096
118101
  strokeMiterLimit: "stroke-miterlimit",
118097
118102
  opacity: "opacity"
118098
- }, QS = {
118103
+ }, Q4 = {
118099
118104
  blend: "mix-blend-mode"
118100
118105
  }, gse = {
118101
118106
  fill: "none",
@@ -118253,15 +118258,15 @@ Fe(mse, Jl, {
118253
118258
  */
118254
118259
  style(t, e) {
118255
118260
  if (e != null) {
118256
- for (const n in HS) {
118261
+ for (const n in H4) {
118257
118262
  let r = n === "font" ? C6(e) : e[n];
118258
118263
  if (r === Wr[n])
118259
118264
  continue;
118260
- const i = HS[n];
118265
+ const i = H4[n];
118261
118266
  r == null ? t.removeAttribute(i) : (_$(r) && (r = wie(r, this._defs.gradient, yse())), t.setAttribute(i, r + "")), Wr[n] = r;
118262
118267
  }
118263
- for (const n in QS)
118264
- yv(t, QS[n], e[n]);
118268
+ for (const n in Q4)
118269
+ yv(t, Q4[n], e[n]);
118265
118270
  }
118266
118271
  },
118267
118272
  /**
@@ -118298,7 +118303,7 @@ function Yje(t, e, n) {
118298
118303
  if (e.gradient === "radial") {
118299
118304
  let o = Rs(t, n++, "pattern", Kn);
118300
118305
  C0(o, {
118301
- id: BS + e.id,
118306
+ id: B4 + e.id,
118302
118307
  viewBox: "0,0,1,1",
118303
118308
  width: "100%",
118304
118309
  height: "100%",
@@ -118521,7 +118526,7 @@ Fe(Ese, Jl, {
118521
118526
  for (const i in e) {
118522
118527
  const s = e[i], o = s.stops;
118523
118528
  s.gradient === "radial" ? (t.open("pattern", {
118524
- id: BS + i,
118529
+ id: B4 + i,
118525
118530
  viewBox: "0,0,1,1",
118526
118531
  width: "100%",
118527
118532
  height: "100%",
@@ -118574,14 +118579,14 @@ function tUe(t, e, n, r, i) {
118574
118579
  if (e == null || (r === "bgrect" && n.interactive === !1 && (t["pointer-events"] = "none"), r === "bgfore" && (n.interactive === !1 && (t["pointer-events"] = "none"), t.display = "none", e.fill !== null)))
118575
118580
  return t;
118576
118581
  r === "image" && e.smooth === !1 && (s = ["image-rendering: optimizeSpeed;", "image-rendering: pixelated;"]), r === "text" && (t["font-family"] = C6(e), t["font-size"] = Xl(e) + "px", t["font-style"] = e.fontStyle, t["font-variant"] = e.fontVariant, t["font-weight"] = e.fontWeight);
118577
- for (const o in HS) {
118582
+ for (const o in H4) {
118578
118583
  let u = e[o];
118579
- const a = HS[o];
118584
+ const a = H4[o];
118580
118585
  u === "transparent" && (a === "fill" || a === "stroke") || u != null && (_$(u) && (u = wie(u, i.gradient, "")), t[a] = u);
118581
118586
  }
118582
- for (const o in QS) {
118587
+ for (const o in Q4) {
118583
118588
  const u = e[o];
118584
- u != null && (s = s || [], s.push(`${QS[o]}: ${u};`));
118589
+ u != null && (s = s || [], s.push(`${Q4[o]}: ${u};`));
118585
118590
  }
118586
118591
  return s && (t.style = s.join(" ")), t;
118587
118592
  }
@@ -119672,7 +119677,7 @@ const yqe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
119672
119677
  sortitems: Zse,
119673
119678
  stack: nB
119674
119679
  }, Symbol.toStringTag, { value: "Module" }));
119675
- var tt = 1e-6, GS = 1e-12, ht = Math.PI, On = ht / 2, WS = ht / 4, Pi = ht * 2, Ln = 180 / ht, dt = ht / 180, yt = Math.abs, N1 = Math.atan, _o = Math.atan2, nt = Math.cos, SA = Math.ceil, roe = Math.exp, h8 = Math.hypot, VS = Math.log, Q7 = Math.pow, Xe = Math.sin, lo = Math.sign || function(t) {
119680
+ var tt = 1e-6, G4 = 1e-12, ht = Math.PI, On = ht / 2, W4 = ht / 4, Pi = ht * 2, Ln = 180 / ht, dt = ht / 180, yt = Math.abs, N1 = Math.atan, _o = Math.atan2, nt = Math.cos, SA = Math.ceil, roe = Math.exp, h8 = Math.hypot, V4 = Math.log, Q7 = Math.pow, Xe = Math.sin, lo = Math.sign || function(t) {
119676
119681
  return t > 0 ? 1 : t < 0 ? -1 : 0;
119677
119682
  }, Mi = Math.sqrt, rB = Math.tan;
119678
119683
  function ioe(t) {
@@ -119683,16 +119688,16 @@ function xs(t) {
119683
119688
  }
119684
119689
  function Dr() {
119685
119690
  }
119686
- function YS(t, e) {
119691
+ function Y4(t, e) {
119687
119692
  t && DH.hasOwnProperty(t.type) && DH[t.type](t, e);
119688
119693
  }
119689
119694
  var NH = {
119690
119695
  Feature: function(t, e) {
119691
- YS(t.geometry, e);
119696
+ Y4(t.geometry, e);
119692
119697
  },
119693
119698
  FeatureCollection: function(t, e) {
119694
119699
  for (var n = t.features, r = -1, i = n.length; ++r < i; )
119695
- YS(n[r].geometry, e);
119700
+ Y4(n[r].geometry, e);
119696
119701
  }
119697
119702
  }, DH = {
119698
119703
  Sphere: function(t, e) {
@@ -119721,7 +119726,7 @@ var NH = {
119721
119726
  },
119722
119727
  GeometryCollection: function(t, e) {
119723
119728
  for (var n = t.geometries, r = -1, i = n.length; ++r < i; )
119724
- YS(n[r], e);
119729
+ Y4(n[r], e);
119725
119730
  }
119726
119731
  };
119727
119732
  function p8(t, e, n) {
@@ -119737,21 +119742,21 @@ function FH(t, e) {
119737
119742
  e.polygonEnd();
119738
119743
  }
119739
119744
  function Za(t, e) {
119740
- t && NH.hasOwnProperty(t.type) ? NH[t.type](t, e) : YS(t, e);
119745
+ t && NH.hasOwnProperty(t.type) ? NH[t.type](t, e) : Y4(t, e);
119741
119746
  }
119742
- var KS = new Di(), XS = new Di(), soe, ooe, g8, m8, y8, sa = {
119747
+ var K4 = new Di(), X4 = new Di(), soe, ooe, g8, m8, y8, sa = {
119743
119748
  point: Dr,
119744
119749
  lineStart: Dr,
119745
119750
  lineEnd: Dr,
119746
119751
  polygonStart: function() {
119747
- KS = new Di(), sa.lineStart = Eqe, sa.lineEnd = Aqe;
119752
+ K4 = new Di(), sa.lineStart = Eqe, sa.lineEnd = Aqe;
119748
119753
  },
119749
119754
  polygonEnd: function() {
119750
- var t = +KS;
119751
- XS.add(t < 0 ? Pi + t : t), this.lineStart = this.lineEnd = this.point = Dr;
119755
+ var t = +K4;
119756
+ X4.add(t < 0 ? Pi + t : t), this.lineStart = this.lineEnd = this.point = Dr;
119752
119757
  },
119753
119758
  sphere: function() {
119754
- XS.add(Pi);
119759
+ X4.add(Pi);
119755
119760
  }
119756
119761
  };
119757
119762
  function Eqe() {
@@ -119761,17 +119766,17 @@ function Aqe() {
119761
119766
  uoe(soe, ooe);
119762
119767
  }
119763
119768
  function vqe(t, e) {
119764
- sa.point = uoe, soe = t, ooe = e, t *= dt, e *= dt, g8 = t, m8 = nt(e = e / 2 + WS), y8 = Xe(e);
119769
+ sa.point = uoe, soe = t, ooe = e, t *= dt, e *= dt, g8 = t, m8 = nt(e = e / 2 + W4), y8 = Xe(e);
119765
119770
  }
119766
119771
  function uoe(t, e) {
119767
- t *= dt, e *= dt, e = e / 2 + WS;
119772
+ t *= dt, e *= dt, e = e / 2 + W4;
119768
119773
  var n = t - g8, r = n >= 0 ? 1 : -1, i = r * n, s = nt(e), o = Xe(e), u = y8 * o, a = m8 * s + u * nt(i), l = u * r * Xe(i);
119769
- KS.add(_o(l, a)), g8 = t, m8 = s, y8 = o;
119774
+ K4.add(_o(l, a)), g8 = t, m8 = s, y8 = o;
119770
119775
  }
119771
119776
  function Sqe(t) {
119772
- return XS = new Di(), Za(t, sa), XS * 2;
119777
+ return X4 = new Di(), Za(t, sa), X4 * 2;
119773
119778
  }
119774
- function JS(t) {
119779
+ function J4(t) {
119775
119780
  return [_o(t[1], t[0]), xs(t[2])];
119776
119781
  }
119777
119782
  function Lx(t) {
@@ -119790,7 +119795,7 @@ function G7(t, e) {
119790
119795
  function CA(t, e) {
119791
119796
  return [t[0] * e, t[1] * e, t[2] * e];
119792
119797
  }
119793
- function ZS(t) {
119798
+ function Z4(t) {
119794
119799
  var e = Mi(t[0] * t[0] + t[1] * t[1] + t[2] * t[2]);
119795
119800
  t[0] /= e, t[1] /= e, t[2] /= e;
119796
119801
  }
@@ -119802,7 +119807,7 @@ var dn, Zi, An, bs, Ff, aoe, loe, Ah, am, y0, Ll, Ka = {
119802
119807
  Ka.point = foe, Ka.lineStart = _qe, Ka.lineEnd = Cqe, am = new Di(), sa.polygonStart();
119803
119808
  },
119804
119809
  polygonEnd: function() {
119805
- sa.polygonEnd(), Ka.point = E8, Ka.lineStart = wH, Ka.lineEnd = LH, KS < 0 ? (dn = -(An = 180), Zi = -(bs = 90)) : am > tt ? bs = 90 : am < -tt && (Zi = -90), Ll[0] = dn, Ll[1] = An;
119810
+ sa.polygonEnd(), Ka.point = E8, Ka.lineStart = wH, Ka.lineEnd = LH, K4 < 0 ? (dn = -(An = 180), Zi = -(bs = 90)) : am > tt ? bs = 90 : am < -tt && (Zi = -90), Ll[0] = dn, Ll[1] = An;
119806
119811
  },
119807
119812
  sphere: function() {
119808
119813
  dn = -(An = 180), Zi = -(bs = 90);
@@ -119815,7 +119820,7 @@ function coe(t, e) {
119815
119820
  var n = Lx([t * dt, e * dt]);
119816
119821
  if (Ah) {
119817
119822
  var r = y2(Ah, n), i = [r[1], -r[0], 0], s = y2(i, r);
119818
- ZS(s), s = JS(s);
119823
+ Z4(s), s = J4(s);
119819
119824
  var o = t - Ff, u = o > 0 ? 1 : -1, a = s[0] * Ln * u, l, c = yt(o) > 180;
119820
119825
  c ^ (u * Ff < a && a < u * t) ? (l = s[1] * Ln, l > bs && (bs = l)) : (a = (a + 360) % 360 - 180, c ^ (u * Ff < a && a < u * t) ? (l = -s[1] * Ln, l < Zi && (Zi = l)) : (e < Zi && (Zi = e), e > bs && (bs = e))), c ? t < Ff ? Cs(dn, t) > Cs(dn, An) && (An = t) : Cs(t, An) > Cs(dn, An) && (dn = t) : An >= dn ? (t < dn && (dn = t), t > An && (An = t)) : t > Ff ? Cs(dn, t) > Cs(dn, An) && (An = t) : Cs(t, An) > Cs(dn, An) && (dn = t);
119821
119826
  } else
@@ -119861,7 +119866,7 @@ function Tqe(t) {
119861
119866
  }
119862
119867
  return y0 = Ll = null, dn === 1 / 0 || Zi === 1 / 0 ? [[NaN, NaN], [NaN, NaN]] : [[dn, Zi], [An, bs]];
119863
119868
  }
119864
- var Mg, e4, t4, n4, r4, i4, s4, o4, A8, v8, S8, xoe, doe, Ai, vi, Si, zo = {
119869
+ var Mg, eS, tS, nS, rS, iS, sS, oS, A8, v8, S8, xoe, doe, Ai, vi, Si, zo = {
119865
119870
  sphere: Dr,
119866
119871
  point: iB,
119867
119872
  lineStart: $H,
@@ -119879,7 +119884,7 @@ function iB(t, e) {
119879
119884
  dE(n * nt(t), n * Xe(t), Xe(e));
119880
119885
  }
119881
119886
  function dE(t, e, n) {
119882
- ++Mg, t4 += (t - t4) / Mg, n4 += (e - n4) / Mg, r4 += (n - r4) / Mg;
119887
+ ++Mg, tS += (t - tS) / Mg, nS += (e - nS) / Mg, rS += (n - rS) / Mg;
119883
119888
  }
119884
119889
  function $H() {
119885
119890
  zo.point = Rqe;
@@ -119892,7 +119897,7 @@ function Rqe(t, e) {
119892
119897
  function Oqe(t, e) {
119893
119898
  t *= dt, e *= dt;
119894
119899
  var n = nt(e), r = n * nt(t), i = n * Xe(t), s = Xe(e), o = _o(Mi((o = vi * s - Si * i) * o + (o = Si * r - Ai * s) * o + (o = Ai * i - vi * r) * o), Ai * r + vi * i + Si * s);
119895
- e4 += o, i4 += o * (Ai + (Ai = r)), s4 += o * (vi + (vi = i)), o4 += o * (Si + (Si = s)), dE(Ai, vi, Si);
119900
+ eS += o, iS += o * (Ai + (Ai = r)), sS += o * (vi + (vi = i)), oS += o * (Si + (Si = s)), dE(Ai, vi, Si);
119896
119901
  }
119897
119902
  function BH() {
119898
119903
  zo.point = iB;
@@ -119911,12 +119916,12 @@ function Fqe(t, e) {
119911
119916
  function hoe(t, e) {
119912
119917
  t *= dt, e *= dt;
119913
119918
  var n = nt(e), r = n * nt(t), i = n * Xe(t), s = Xe(e), o = vi * s - Si * i, u = Si * r - Ai * s, a = Ai * i - vi * r, l = h8(o, u, a), c = xs(l), f = l && -c / l;
119914
- A8.add(f * o), v8.add(f * u), S8.add(f * a), e4 += c, i4 += c * (Ai + (Ai = r)), s4 += c * (vi + (vi = i)), o4 += c * (Si + (Si = s)), dE(Ai, vi, Si);
119919
+ A8.add(f * o), v8.add(f * u), S8.add(f * a), eS += c, iS += c * (Ai + (Ai = r)), sS += c * (vi + (vi = i)), oS += c * (Si + (Si = s)), dE(Ai, vi, Si);
119915
119920
  }
119916
119921
  function wqe(t) {
119917
- Mg = e4 = t4 = n4 = r4 = i4 = s4 = o4 = 0, A8 = new Di(), v8 = new Di(), S8 = new Di(), Za(t, zo);
119922
+ Mg = eS = tS = nS = rS = iS = sS = oS = 0, A8 = new Di(), v8 = new Di(), S8 = new Di(), Za(t, zo);
119918
119923
  var e = +A8, n = +v8, r = +S8, i = h8(e, n, r);
119919
- return i < GS && (e = i4, n = s4, r = o4, e4 < tt && (e = t4, n = n4, r = r4), i = h8(e, n, r), i < GS) ? [NaN, NaN] : [_o(n, e) * Ln, xs(r / i) * Ln];
119924
+ return i < G4 && (e = iS, n = sS, r = oS, eS < tt && (e = tS, n = nS, r = rS), i = h8(e, n, r), i < G4) ? [NaN, NaN] : [_o(n, e) * Ln, xs(r / i) * Ln];
119920
119925
  }
119921
119926
  function _8(t, e) {
119922
119927
  function n(r, i) {
@@ -119973,11 +119978,11 @@ function Iqe(t, e, n, r, i, s) {
119973
119978
  var o = nt(e), u = Xe(e), a = r * n;
119974
119979
  i == null ? (i = e + r * Pi, s = e - a / 2) : (i = jH(o, i), s = jH(o, s), (r > 0 ? i < s : i > s) && (i += r * Pi));
119975
119980
  for (var l, c = i; r > 0 ? c > s : c < s; c -= a)
119976
- l = JS([o, -u * nt(c), -u * Xe(c)]), t.point(l[0], l[1]);
119981
+ l = J4([o, -u * nt(c), -u * Xe(c)]), t.point(l[0], l[1]);
119977
119982
  }
119978
119983
  }
119979
119984
  function jH(t, e) {
119980
- e = Lx(e), e[0] -= t, ZS(e);
119985
+ e = Lx(e), e[0] -= t, Z4(e);
119981
119986
  var n = ioe(-e[1]);
119982
119987
  return ((-e[2] < 0 ? -n : n) + Pi - tt) % Pi;
119983
119988
  }
@@ -120067,18 +120072,18 @@ function $qe(t, e) {
120067
120072
  i === 1 ? r = On + tt : i === -1 && (r = -On - tt);
120068
120073
  for (var l = 0, c = t.length; l < c; ++l)
120069
120074
  if (x = (f = t[l]).length)
120070
- for (var f, x, h = f[x - 1], p = W7(h), m = h[1] / 2 + WS, g = Xe(m), y = nt(m), E = 0; E < x; ++E, p = v, g = C, y = _, h = A) {
120071
- var A = f[E], v = W7(A), S = A[1] / 2 + WS, C = Xe(S), _ = nt(S), b = v - p, R = b >= 0 ? 1 : -1, O = R * b, L = O > ht, M = g * C;
120075
+ for (var f, x, h = f[x - 1], p = W7(h), m = h[1] / 2 + W4, g = Xe(m), y = nt(m), E = 0; E < x; ++E, p = v, g = C, y = _, h = A) {
120076
+ var A = f[E], v = W7(A), S = A[1] / 2 + W4, C = Xe(S), _ = nt(S), b = v - p, R = b >= 0 ? 1 : -1, O = R * b, L = O > ht, M = g * C;
120072
120077
  if (a.add(_o(M * R * Xe(O), y * _ + M * nt(O))), o += L ? b + R * Pi : b, L ^ p >= n ^ v >= n) {
120073
120078
  var q = y2(Lx(h), Lx(A));
120074
- ZS(q);
120079
+ Z4(q);
120075
120080
  var W = y2(s, q);
120076
- ZS(W);
120081
+ Z4(W);
120077
120082
  var B = (L ^ b >= 0 ? -1 : 1) * xs(W[2]);
120078
120083
  (r > B || r === B && (q[0] || q[1])) && (u += L ^ b >= 0 ? 1 : -1);
120079
120084
  }
120080
120085
  }
120081
- return (o < -tt || o < tt && a < -GS) ^ u & 1;
120086
+ return (o < -tt || o < tt && a < -G4) ^ u & 1;
120082
120087
  }
120083
120088
  function yoe(t, e, n, r) {
120084
120089
  return function(i) {
@@ -120223,14 +120228,14 @@ function Uqe(t) {
120223
120228
  var R = C, O = _A(_, R), L = _A(R, R), M = O * O - L * (_A(_, _) - 1);
120224
120229
  if (!(M < 0)) {
120225
120230
  var q = Mi(M), W = CA(R, (-O - q) / L);
120226
- if (G7(W, _), W = JS(W), !x)
120231
+ if (G7(W, _), W = J4(W), !x)
120227
120232
  return W;
120228
120233
  var B = c[0], G = f[0], te = c[1], X = f[1], de;
120229
120234
  G < B && (de = B, B = G, G = de);
120230
120235
  var be = G - B, ee = yt(be - ht) < tt, U = ee || be < tt;
120231
120236
  if (!ee && X < te && (de = te, te = X, X = de), U ? ee ? te + X > 0 ^ W[1] < (yt(W[0] - B) < tt ? te : X) : te <= W[1] && W[1] <= X : be > ht ^ (B <= W[0] && W[0] <= G)) {
120232
120237
  var T = CA(R, (-O + q) / L);
120233
- return G7(T, _), [W, JS(T)];
120238
+ return G7(T, _), [W, J4(T)];
120234
120239
  }
120235
120240
  }
120236
120241
  }
@@ -120444,21 +120449,21 @@ function Soe(t, e) {
120444
120449
  function Gqe() {
120445
120450
  Soe(Aoe, voe);
120446
120451
  }
120447
- var E2 = 1 / 0, u4 = E2, e3 = -E2, a4 = e3, l4 = {
120452
+ var E2 = 1 / 0, uS = E2, e3 = -E2, aS = e3, lS = {
120448
120453
  point: Wqe,
120449
120454
  lineStart: Dr,
120450
120455
  lineEnd: Dr,
120451
120456
  polygonStart: Dr,
120452
120457
  polygonEnd: Dr,
120453
120458
  result: function() {
120454
- var t = [[E2, u4], [e3, a4]];
120455
- return e3 = a4 = -(u4 = E2 = 1 / 0), t;
120459
+ var t = [[E2, uS], [e3, aS]];
120460
+ return e3 = aS = -(uS = E2 = 1 / 0), t;
120456
120461
  }
120457
120462
  };
120458
120463
  function Wqe(t, e) {
120459
- t < E2 && (E2 = t), t > e3 && (e3 = t), e < u4 && (u4 = e), e > a4 && (a4 = e);
120464
+ t < E2 && (E2 = t), t > e3 && (e3 = t), e < uS && (uS = e), e > aS && (aS = e);
120460
120465
  }
120461
- var O8 = 0, N8 = 0, Ug = 0, c4 = 0, f4 = 0, fh = 0, D8 = 0, F8 = 0, qg = 0, _oe, Coe, ku, Pu, so = {
120466
+ var O8 = 0, N8 = 0, Ug = 0, cS = 0, fS = 0, fh = 0, D8 = 0, F8 = 0, qg = 0, _oe, Coe, ku, Pu, so = {
120462
120467
  point: Ix,
120463
120468
  lineStart: QH,
120464
120469
  lineEnd: GH,
@@ -120469,8 +120474,8 @@ var O8 = 0, N8 = 0, Ug = 0, c4 = 0, f4 = 0, fh = 0, D8 = 0, F8 = 0, qg = 0, _oe,
120469
120474
  so.point = Ix, so.lineStart = QH, so.lineEnd = GH;
120470
120475
  },
120471
120476
  result: function() {
120472
- var t = qg ? [D8 / qg, F8 / qg] : fh ? [c4 / fh, f4 / fh] : Ug ? [O8 / Ug, N8 / Ug] : [NaN, NaN];
120473
- return O8 = N8 = Ug = c4 = f4 = fh = D8 = F8 = qg = 0, t;
120477
+ var t = qg ? [D8 / qg, F8 / qg] : fh ? [cS / fh, fS / fh] : Ug ? [O8 / Ug, N8 / Ug] : [NaN, NaN];
120478
+ return O8 = N8 = Ug = cS = fS = fh = D8 = F8 = qg = 0, t;
120474
120479
  }
120475
120480
  };
120476
120481
  function Ix(t, e) {
@@ -120484,7 +120489,7 @@ function Vqe(t, e) {
120484
120489
  }
120485
120490
  function Yqe(t, e) {
120486
120491
  var n = t - ku, r = e - Pu, i = Mi(n * n + r * r);
120487
- c4 += i * (ku + t) / 2, f4 += i * (Pu + e) / 2, fh += i, Ix(ku = t, Pu = e);
120492
+ cS += i * (ku + t) / 2, fS += i * (Pu + e) / 2, fh += i, Ix(ku = t, Pu = e);
120488
120493
  }
120489
120494
  function GH() {
120490
120495
  so.point = Ix;
@@ -120500,7 +120505,7 @@ function Jqe(t, e) {
120500
120505
  }
120501
120506
  function boe(t, e) {
120502
120507
  var n = t - ku, r = e - Pu, i = Mi(n * n + r * r);
120503
- c4 += i * (ku + t) / 2, f4 += i * (Pu + e) / 2, fh += i, i = Pu * t - ku * e, D8 += i * (ku + t), F8 += i * (Pu + e), qg += i * 3, Ix(ku = t, Pu = e);
120508
+ cS += i * (ku + t) / 2, fS += i * (Pu + e) / 2, fh += i, i = Pu * t - ku * e, D8 += i * (ku + t), F8 += i * (Pu + e), qg += i * 3, Ix(ku = t, Pu = e);
120504
120509
  }
120505
120510
  function Toe(t) {
120506
120511
  this._context = t;
@@ -120565,7 +120570,7 @@ function Zqe(t, e) {
120565
120570
  function Noe(t, e) {
120566
120571
  zg -= t, Hg -= e, w8.add(Mi(zg * zg + Hg * Hg)), zg = t, Hg = e;
120567
120572
  }
120568
- let WH, x4, VH, YH;
120573
+ let WH, xS, VH, YH;
120569
120574
  class KH {
120570
120575
  constructor(e) {
120571
120576
  this._append = e == null ? Doe : eze(e), this._radius = 4.5, this._ = "";
@@ -120596,9 +120601,9 @@ class KH {
120596
120601
  break;
120597
120602
  }
120598
120603
  default: {
120599
- if (this._append`M${e},${n}`, this._radius !== VH || this._append !== x4) {
120604
+ if (this._append`M${e},${n}`, this._radius !== VH || this._append !== xS) {
120600
120605
  const r = this._radius, i = this._;
120601
- this._ = "", this._append`m0,${r}a${r},${r} 0 1,1 0,${-2 * r}a${r},${r} 0 1,1 0,${2 * r}z`, VH = r, x4 = this._append, YH = this._, this._ = i;
120606
+ this._ = "", this._append`m0,${r}a${r},${r} 0 1,1 0,${-2 * r}a${r},${r} 0 1,1 0,${2 * r}z`, VH = r, xS = this._append, YH = this._, this._ = i;
120602
120607
  }
120603
120608
  this._ += YH;
120604
120609
  break;
@@ -120624,14 +120629,14 @@ function eze(t) {
120624
120629
  return Doe;
120625
120630
  if (e !== WH) {
120626
120631
  const n = 10 ** e;
120627
- WH = e, x4 = function(i) {
120632
+ WH = e, xS = function(i) {
120628
120633
  let s = 1;
120629
120634
  this._ += i[0];
120630
120635
  for (const o = i.length; s < o; ++s)
120631
120636
  this._ += Math.round(arguments[s] * n) / n + i[s];
120632
120637
  };
120633
120638
  }
120634
- return x4;
120639
+ return xS;
120635
120640
  }
120636
120641
  function Foe(t, e) {
120637
120642
  let n = 3, r = 4.5, i, s;
@@ -120643,7 +120648,7 @@ function Foe(t, e) {
120643
120648
  }, o.measure = function(u) {
120644
120649
  return Za(u, i(t3)), t3.result();
120645
120650
  }, o.bounds = function(u) {
120646
- return Za(u, i(l4)), l4.result();
120651
+ return Za(u, i(lS)), lS.result();
120647
120652
  }, o.centroid = function(u) {
120648
120653
  return Za(u, i(so)), so.result();
120649
120654
  }, o.projection = function(u) {
@@ -120699,7 +120704,7 @@ L8.prototype = {
120699
120704
  };
120700
120705
  function sB(t, e, n) {
120701
120706
  var r = t.clipExtent && t.clipExtent();
120702
- return t.scale(150).translate([0, 0]), r != null && t.clipExtent(null), Za(n, t.stream(l4)), e(l4.result()), r != null && t.clipExtent(r), t;
120707
+ return t.scale(150).translate([0, 0]), r != null && t.clipExtent(null), Za(n, t.stream(lS)), e(lS.result()), r != null && t.clipExtent(r), t;
120703
120708
  }
120704
120709
  function N6(t, e, n) {
120705
120710
  return sB(t, function(r) {
@@ -120898,11 +120903,11 @@ function aze(t, e) {
120898
120903
  return l * r < 0 && (c -= ht * lo(u) * lo(l)), [c / r, xs((i - (u * u + l * l) * r * r) / (2 * r))];
120899
120904
  }, o;
120900
120905
  }
120901
- function d4() {
120906
+ function dS() {
120902
120907
  return lB(aze).scale(155.424).center([0, 33.6442]);
120903
120908
  }
120904
120909
  function Loe() {
120905
- return d4().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
120910
+ return dS().parallels([29.5, 45.5]).scale(1070).translate([480, 250]).rotate([96, 0]).center([-0.6, 38.7]);
120906
120911
  }
120907
120912
  function lze(t) {
120908
120913
  var e = t.length;
@@ -120934,7 +120939,7 @@ function lze(t) {
120934
120939
  };
120935
120940
  }
120936
120941
  function cze() {
120937
- var t, e, n = Loe(), r, i = d4().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), s, o = d4().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), u, a, l = { point: function(x, h) {
120942
+ var t, e, n = Loe(), r, i = dS().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), s, o = dS().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), u, a, l = { point: function(x, h) {
120938
120943
  a = [x, h];
120939
120944
  } };
120940
120945
  function c(x) {
@@ -121006,7 +121011,7 @@ function xze() {
121006
121011
  return Ia(Boe).scale(79.4188).clipAngle(180 - 1e-3);
121007
121012
  }
121008
121013
  function D6(t, e) {
121009
- return [t, VS(rB((On + e) / 2))];
121014
+ return [t, V4(rB((On + e) / 2))];
121010
121015
  }
121011
121016
  D6.invert = function(t, e) {
121012
121017
  return [t, 2 * N1(roe(e)) - On];
@@ -121035,7 +121040,7 @@ function RA(t) {
121035
121040
  return rB((On + t) / 2);
121036
121041
  }
121037
121042
  function hze(t, e) {
121038
- var n = nt(t), r = t === e ? Xe(t) : VS(n / nt(e)) / VS(RA(e) / RA(t)), i = n * Q7(RA(t), r) / r;
121043
+ var n = nt(t), r = t === e ? Xe(t) : V4(n / nt(e)) / V4(RA(e) / RA(t)), i = n * Q7(RA(t), r) / r;
121039
121044
  if (!r)
121040
121045
  return D6;
121041
121046
  function s(o, u) {
@@ -121051,17 +121056,17 @@ function hze(t, e) {
121051
121056
  function pze() {
121052
121057
  return lB(hze).scale(109.5).parallels([30, 30]);
121053
121058
  }
121054
- function h4(t, e) {
121059
+ function hS(t, e) {
121055
121060
  return [t, e];
121056
121061
  }
121057
- h4.invert = h4;
121062
+ hS.invert = hS;
121058
121063
  function gze() {
121059
- return Ia(h4).scale(152.63);
121064
+ return Ia(hS).scale(152.63);
121060
121065
  }
121061
121066
  function mze(t, e) {
121062
121067
  var n = nt(t), r = t === e ? Xe(t) : (n - nt(e)) / (e - t), i = n / r + t;
121063
121068
  if (yt(r) < tt)
121064
- return h4;
121069
+ return hS;
121065
121070
  function s(o, u) {
121066
121071
  var a = i - u, l = r * o;
121067
121072
  return [a * Xe(l), i - a * nt(l)];
@@ -121074,20 +121079,20 @@ function mze(t, e) {
121074
121079
  function yze() {
121075
121080
  return lB(mze).scale(131.154).center([0, 13.9389]);
121076
121081
  }
121077
- var lm = 1.340264, cm = -0.081106, fm = 893e-6, xm = 3796e-6, p4 = Mi(3) / 2, Eze = 12;
121082
+ var lm = 1.340264, cm = -0.081106, fm = 893e-6, xm = 3796e-6, pS = Mi(3) / 2, Eze = 12;
121078
121083
  function Poe(t, e) {
121079
- var n = xs(p4 * Xe(e)), r = n * n, i = r * r * r;
121084
+ var n = xs(pS * Xe(e)), r = n * n, i = r * r * r;
121080
121085
  return [
121081
- t * nt(n) / (p4 * (lm + 3 * cm * r + i * (7 * fm + 9 * xm * r))),
121086
+ t * nt(n) / (pS * (lm + 3 * cm * r + i * (7 * fm + 9 * xm * r))),
121082
121087
  n * (lm + cm * r + i * (fm + xm * r))
121083
121088
  ];
121084
121089
  }
121085
121090
  Poe.invert = function(t, e) {
121086
- for (var n = e, r = n * n, i = r * r * r, s = 0, o, u, a; s < Eze && (u = n * (lm + cm * r + i * (fm + xm * r)) - e, a = lm + 3 * cm * r + i * (7 * fm + 9 * xm * r), n -= o = u / a, r = n * n, i = r * r * r, !(yt(o) < GS)); ++s)
121091
+ for (var n = e, r = n * n, i = r * r * r, s = 0, o, u, a; s < Eze && (u = n * (lm + cm * r + i * (fm + xm * r)) - e, a = lm + 3 * cm * r + i * (7 * fm + 9 * xm * r), n -= o = u / a, r = n * n, i = r * r * r, !(yt(o) < G4)); ++s)
121087
121092
  ;
121088
121093
  return [
121089
- p4 * t * (lm + 3 * cm * r + i * (7 * fm + 9 * xm * r)) / nt(n),
121090
- xs(Xe(n) / p4)
121094
+ pS * t * (lm + 3 * cm * r + i * (7 * fm + 9 * xm * r)) / nt(n),
121095
+ xs(Xe(n) / pS)
121091
121096
  ];
121092
121097
  };
121093
121098
  function Aze() {
@@ -121191,7 +121196,7 @@ function bze() {
121191
121196
  return Ia(qoe).scale(250).clipAngle(142);
121192
121197
  }
121193
121198
  function zoe(t, e) {
121194
- return [VS(rB((On + e) / 2)), -t];
121199
+ return [V4(rB((On + e) / 2)), -t];
121195
121200
  }
121196
121201
  zoe.invert = function(t, e) {
121197
121202
  return [-e, 2 * N1(roe(t)) - On];
@@ -121204,7 +121209,7 @@ function Tze() {
121204
121209
  return arguments.length ? n([r[0], r[1], r.length > 2 ? r[2] + 90 : 90]) : (r = n(), [r[0], r[1], r[2] - 90]);
121205
121210
  }, n([0, 0, 90]).scale(159.155);
121206
121211
  }
121207
- var Rze = Math.abs, I8 = Math.cos, g4 = Math.sin, Oze = 1e-6, Hoe = Math.PI, $8 = Hoe / 2, eQ = Nze(2);
121212
+ var Rze = Math.abs, I8 = Math.cos, gS = Math.sin, Oze = 1e-6, Hoe = Math.PI, $8 = Hoe / 2, eQ = Nze(2);
121208
121213
  function tQ(t) {
121209
121214
  return t > 1 ? $8 : t < -1 ? -$8 : Math.asin(t);
121210
121215
  }
@@ -121212,18 +121217,18 @@ function Nze(t) {
121212
121217
  return t > 0 ? Math.sqrt(t) : 0;
121213
121218
  }
121214
121219
  function Dze(t, e) {
121215
- var n = t * g4(e), r = 30, i;
121220
+ var n = t * gS(e), r = 30, i;
121216
121221
  do
121217
- e -= i = (e + g4(e) - n) / (1 + I8(e));
121222
+ e -= i = (e + gS(e) - n) / (1 + I8(e));
121218
121223
  while (Rze(i) > Oze && --r > 0);
121219
121224
  return e / 2;
121220
121225
  }
121221
121226
  function Fze(t, e, n) {
121222
121227
  function r(i, s) {
121223
- return [t * i * I8(s = Dze(n, s)), e * g4(s)];
121228
+ return [t * i * I8(s = Dze(n, s)), e * gS(s)];
121224
121229
  }
121225
121230
  return r.invert = function(i, s) {
121226
- return s = tQ(s / e), [i / (t * I8(s)), tQ((2 * s + g4(2 * s)) / n)];
121231
+ return s = tQ(s / e), [i / (t * I8(s)), tQ((2 * s + gS(2 * s)) / n)];
121227
121232
  }, r;
121228
121233
  }
121229
121234
  var wze = Fze(eQ / $8, eQ, Hoe);
@@ -121267,19 +121272,19 @@ function $ze(t, e) {
121267
121272
  function Qoe(t, e) {
121268
121273
  if (!t || typeof t != "string")
121269
121274
  throw new Error("Projection type must be a name string.");
121270
- return t = t.toLowerCase(), arguments.length > 1 ? (m4[t] = $ze(t, e), this) : m4[t] || null;
121275
+ return t = t.toLowerCase(), arguments.length > 1 ? (mS[t] = $ze(t, e), this) : mS[t] || null;
121271
121276
  }
121272
121277
  function Goe(t) {
121273
121278
  return t && t.path || Ize;
121274
121279
  }
121275
- const m4 = {
121280
+ const mS = {
121276
121281
  // base d3-geo projection types
121277
121282
  albers: Loe,
121278
121283
  albersusa: cze,
121279
121284
  azimuthalequalarea: fze,
121280
121285
  azimuthalequidistant: xze,
121281
121286
  conicconformal: pze,
121282
- conicequalarea: d4,
121287
+ conicequalarea: dS,
121283
121288
  conicequidistant: yze,
121284
121289
  equalEarth: Aze,
121285
121290
  equirectangular: gze,
@@ -121292,8 +121297,8 @@ const m4 = {
121292
121297
  stereographic: bze,
121293
121298
  transversemercator: Tze
121294
121299
  };
121295
- for (const t in m4)
121296
- Qoe(t, m4[t]);
121300
+ for (const t in mS)
121301
+ Qoe(t, mS[t]);
121297
121302
  function Bze() {
121298
121303
  }
121299
121304
  const Ga = [[], [[[1, 1.5], [0.5, 1]]], [[[1.5, 1], [1, 1.5]]], [[[1.5, 1], [0.5, 1]]], [[[1, 0.5], [1.5, 1]]], [[[1, 1.5], [0.5, 1]], [[1, 0.5], [1.5, 1]]], [[[1, 0.5], [1, 1.5]]], [[[1, 0.5], [0.5, 1]]], [[[0.5, 1], [1, 0.5]]], [[[1, 1.5], [1, 0.5]]], [[[0.5, 1], [1, 0.5]], [[1.5, 1], [1, 1.5]]], [[[1.5, 1], [1, 0.5]]], [[[0.5, 1], [1.5, 1]]], [[[1, 1.5], [1.5, 1]]], [[[0.5, 1], [1, 1.5]]], []];
@@ -122430,7 +122435,7 @@ function oQ(t, e, n) {
122430
122435
  }
122431
122436
  return n != null && t.push({ name: e, value: n }), t;
122432
122437
  }
122433
- var A2 = 0, Qg = 0, pg = 0, nue = 1e3, y4, Gg, E4 = 0, $x = 0, F6 = 0, n3 = typeof performance == "object" && performance.now ? performance : Date, rue = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
122438
+ var A2 = 0, Qg = 0, pg = 0, nue = 1e3, yS, Gg, ES = 0, $x = 0, F6 = 0, n3 = typeof performance == "object" && performance.now ? performance : Date, rue = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
122434
122439
  setTimeout(t, 17);
122435
122440
  };
122436
122441
  function SB() {
@@ -122439,32 +122444,32 @@ function SB() {
122439
122444
  function NHe() {
122440
122445
  $x = 0;
122441
122446
  }
122442
- function A4() {
122447
+ function AS() {
122443
122448
  this._call = this._time = this._next = null;
122444
122449
  }
122445
- A4.prototype = iue.prototype = {
122446
- constructor: A4,
122450
+ AS.prototype = iue.prototype = {
122451
+ constructor: AS,
122447
122452
  restart: function(t, e, n) {
122448
122453
  if (typeof t != "function")
122449
122454
  throw new TypeError("callback is not a function");
122450
- n = (n == null ? SB() : +n) + (e == null ? 0 : +e), !this._next && Gg !== this && (Gg ? Gg._next = this : y4 = this, Gg = this), this._call = t, this._time = n, P8();
122455
+ n = (n == null ? SB() : +n) + (e == null ? 0 : +e), !this._next && Gg !== this && (Gg ? Gg._next = this : yS = this, Gg = this), this._call = t, this._time = n, P8();
122451
122456
  },
122452
122457
  stop: function() {
122453
122458
  this._call && (this._call = null, this._time = 1 / 0, P8());
122454
122459
  }
122455
122460
  };
122456
122461
  function iue(t, e, n) {
122457
- var r = new A4();
122462
+ var r = new AS();
122458
122463
  return r.restart(t, e, n), r;
122459
122464
  }
122460
122465
  function DHe() {
122461
122466
  SB(), ++A2;
122462
- for (var t = y4, e; t; )
122467
+ for (var t = yS, e; t; )
122463
122468
  (e = $x - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
122464
122469
  --A2;
122465
122470
  }
122466
122471
  function uQ() {
122467
- $x = (E4 = n3.now()) + F6, A2 = Qg = 0;
122472
+ $x = (ES = n3.now()) + F6, A2 = Qg = 0;
122468
122473
  try {
122469
122474
  DHe();
122470
122475
  } finally {
@@ -122472,23 +122477,23 @@ function uQ() {
122472
122477
  }
122473
122478
  }
122474
122479
  function FHe() {
122475
- var t = n3.now(), e = t - E4;
122476
- e > nue && (F6 -= e, E4 = t);
122480
+ var t = n3.now(), e = t - ES;
122481
+ e > nue && (F6 -= e, ES = t);
122477
122482
  }
122478
122483
  function wHe() {
122479
- for (var t, e = y4, n, r = 1 / 0; e; )
122480
- e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : y4 = n);
122484
+ for (var t, e = yS, n, r = 1 / 0; e; )
122485
+ e._call ? (r > e._time && (r = e._time), t = e, e = e._next) : (n = e._next, e._next = null, e = t ? t._next = n : yS = n);
122481
122486
  Gg = t, P8(r);
122482
122487
  }
122483
122488
  function P8(t) {
122484
122489
  if (!A2) {
122485
122490
  Qg && (Qg = clearTimeout(Qg));
122486
122491
  var e = t - $x;
122487
- e > 24 ? (t < 1 / 0 && (Qg = setTimeout(uQ, t - n3.now() - F6)), pg && (pg = clearInterval(pg))) : (pg || (E4 = n3.now(), pg = setInterval(FHe, nue)), A2 = 1, rue(uQ));
122492
+ e > 24 ? (t < 1 / 0 && (Qg = setTimeout(uQ, t - n3.now() - F6)), pg && (pg = clearInterval(pg))) : (pg || (ES = n3.now(), pg = setInterval(FHe, nue)), A2 = 1, rue(uQ));
122488
122493
  }
122489
122494
  }
122490
122495
  function LHe(t, e, n) {
122491
- var r = new A4(), i = e;
122496
+ var r = new AS(), i = e;
122492
122497
  return e == null ? (r.restart(t, e, n), r) : (r._restart = r.restart, r.restart = function(s, o, u) {
122493
122498
  o = +o, u = u == null ? SB() : +u, r._restart(function a(l) {
122494
122499
  l += i, r._restart(a, i += o, u), s(l);
@@ -124072,7 +124077,7 @@ function lGe(t, e, n, r) {
124072
124077
  return g = c / 2, y = l / 2, x = o.x - g, h = o.x + g, p = o.y - y, m = o.y + y, o.align = "center", x < 0 && h <= i ? o.align = "left" : 0 <= x && i < h && (o.align = "right"), o.baseline = "middle", p < 0 && m <= s ? o.baseline = "top" : 0 <= p && s < m && (o.baseline = "bottom"), !0;
124073
124078
  };
124074
124079
  }
124075
- function v4(t, e, n, r, i, s) {
124080
+ function vS(t, e, n, r, i, s) {
124076
124081
  let o = n / 2;
124077
124082
  return t - o < 0 || t + o > i || e - (o = r / 2) < 0 || e + o > s;
124078
124083
  }
@@ -124085,7 +124090,7 @@ function cGe(t, e, n, r) {
124085
124090
  function a(l, c, f, x, h) {
124086
124091
  const p = t.invert(l), m = t.invert(c);
124087
124092
  let g = f, y = s, E;
124088
- if (!v4(p, m, x, h, i, s) && !O0(t, p, m, h, x, g, o, u) && !O0(t, p, m, h, x, h, o, null)) {
124093
+ if (!vS(p, m, x, h, i, s) && !O0(t, p, m, h, x, g, o, u) && !O0(t, p, m, h, x, h, o, null)) {
124089
124094
  for (; y - g >= 1; )
124090
124095
  E = (g + y) / 2, O0(t, p, m, h, x, E, o, u) ? y = E : g = E;
124091
124096
  if (g > f)
@@ -124102,7 +124107,7 @@ function cGe(t, e, n, r) {
124102
124107
  for (b = L; b <= M; ++b)
124103
124108
  for (R = W; R <= B; ++R)
124104
124109
  te = a(b, R, p, h, x), te && ([l.x, l.y, p, m] = te);
124105
- !m && !n && (G = Math.abs(A - E + S - v), C = (E + A) / 2, _ = (v + S) / 2, G >= y && !v4(C, _, h, x, i, s) && !O0(t, C, _, x, h, x, o, null) && (y = G, l.x = C, l.y = _, g = !0));
124110
+ !m && !n && (G = Math.abs(A - E + S - v), C = (E + A) / 2, _ = (v + S) / 2, G >= y && !vS(C, _, h, x, i, s) && !O0(t, C, _, x, h, x, o, null) && (y = G, l.x = C, l.y = _, g = !0));
124106
124111
  }
124107
124112
  return m || g ? (C = h / 2, _ = x / 2, o.setRange(t(l.x - C), t(l.y - _), t(l.x + C), t(l.y + _)), l.align = "center", l.baseline = "middle", !0) : !1;
124108
124113
  };
@@ -124119,13 +124124,13 @@ function dGe(t, e, n, r) {
124119
124124
  a.set(R, O);
124120
124125
  for (let G = 0; G < 4; ++G)
124121
124126
  _ = R + fGe[G], b = O + xGe[G], a.outOfBounds(_, b, _, b) || p.push([_, b]);
124122
- if (_ = t.invert(R), b = t.invert(O), L = m, M = s, !v4(_, b, h, x, i, s) && !O0(t, _, b, x, h, L, o, u) && !O0(t, _, b, x, h, x, o, null)) {
124127
+ if (_ = t.invert(R), b = t.invert(O), L = m, M = s, !vS(_, b, h, x, i, s) && !O0(t, _, b, x, h, L, o, u) && !O0(t, _, b, x, h, x, o, null)) {
124123
124128
  for (; M - L >= 1; )
124124
124129
  q = (L + M) / 2, O0(t, _, b, x, h, q, o, u) ? M = q : L = q;
124125
124130
  L > m && (l.x = _, l.y = b, m = L, g = !0);
124126
124131
  }
124127
124132
  }
124128
- !g && !n && (W = Math.abs(v - A + C - S), _ = (A + v) / 2, b = (S + C) / 2, W >= E && !v4(_, b, h, x, i, s) && !O0(t, _, b, x, h, x, o, null) && (E = W, l.x = _, l.y = b, y = !0));
124133
+ !g && !n && (W = Math.abs(v - A + C - S), _ = (A + v) / 2, b = (S + C) / 2, W >= E && !vS(_, b, h, x, i, s) && !O0(t, _, b, x, h, x, o, null) && (E = W, l.x = _, l.y = b, y = !0));
124129
124134
  }
124130
124135
  return g || y ? (_ = h / 2, b = x / 2, o.setRange(t(l.x - _), t(l.y - b), t(l.x + _), t(l.y + b)), l.align = "center", l.baseline = "middle", !0) : !1;
124131
124136
  };
@@ -124508,14 +124513,14 @@ function DA(t, e, n, r, i, s) {
124508
124513
  return Math.abs(a) >= NGe * l ? a : -wGe(t, e, n, r, i, s, l);
124509
124514
  }
124510
124515
  const bQ = Math.pow(2, -52), FA = new Uint32Array(512);
124511
- class S4 {
124516
+ class SS {
124512
124517
  static from(e, n = kGe, r = PGe) {
124513
124518
  const i = e.length, s = new Float64Array(i * 2);
124514
124519
  for (let o = 0; o < i; o++) {
124515
124520
  const u = e[o];
124516
124521
  s[2 * o] = n(u), s[2 * o + 1] = r(u);
124517
124522
  }
124518
- return new S4(s);
124523
+ return new SS(s);
124519
124524
  }
124520
124525
  constructor(e) {
124521
124526
  const n = e.length >> 1;
@@ -125039,7 +125044,7 @@ class $B {
125039
125044
  return new $B("length" in e ? QGe(e, n, r, i) : Float64Array.from(GGe(e, n, r, i)));
125040
125045
  }
125041
125046
  constructor(e) {
125042
- this._delaunator = new S4(e), this.inedges = new Int32Array(e.length / 2), this._hullIndex = new Int32Array(e.length / 2), this.points = this._delaunator.coords, this._init();
125047
+ this._delaunator = new SS(e), this.inedges = new Int32Array(e.length / 2), this._hullIndex = new Int32Array(e.length / 2), this.points = this._delaunator.coords, this._init();
125043
125048
  }
125044
125049
  update() {
125045
125050
  return this._delaunator.update(), this._init(), this;
@@ -125053,7 +125058,7 @@ class $B {
125053
125058
  const p = HGe(n[2 * x], n[2 * x + 1], f);
125054
125059
  n[2 * x] = p[0], n[2 * x + 1] = p[1];
125055
125060
  }
125056
- this._delaunator = new S4(n);
125061
+ this._delaunator = new SS(n);
125057
125062
  } else
125058
125063
  delete this.collinear;
125059
125064
  const r = this.halfedges = this._delaunator.halfedges, i = this.hull = this._delaunator.hull, s = this.triangles = this._delaunator.triangles, o = this.inedges.fill(-1), u = this._hullIndex.fill(-1);
@@ -125882,7 +125887,7 @@ function EE(t) {
125882
125887
  t === 92 || // \ (backslash)
125883
125888
  t >= 128 && UWe.test(String.fromCharCode(t));
125884
125889
  }
125885
- function _4(t) {
125890
+ function _S(t) {
125886
125891
  return t === 36 || t === 95 || // $ (dollar) and _ (underscore)
125887
125892
  t >= 65 && t <= 90 || // A..Z
125888
125893
  t >= 97 && t <= 122 || // a..z
@@ -125957,8 +125962,8 @@ function QWe() {
125957
125962
  }
125958
125963
  function _ue() {
125959
125964
  var t, e;
125960
- for (t = We.charCodeAt(Ee++), e = String.fromCharCode(t), t === 92 && (We.charCodeAt(Ee) !== 117 && Ot({}, pr, Fr), ++Ee, t = K8("u"), (!t || t === "\\" || !EE(t.charCodeAt(0))) && Ot({}, pr, Fr), e = t); Ee < Zr && (t = We.charCodeAt(Ee), !!_4(t)); )
125961
- ++Ee, e += String.fromCharCode(t), t === 92 && (e = e.substr(0, e.length - 1), We.charCodeAt(Ee) !== 117 && Ot({}, pr, Fr), ++Ee, t = K8("u"), (!t || t === "\\" || !_4(t.charCodeAt(0))) && Ot({}, pr, Fr), e += t);
125965
+ for (t = We.charCodeAt(Ee++), e = String.fromCharCode(t), t === 92 && (We.charCodeAt(Ee) !== 117 && Ot({}, pr, Fr), ++Ee, t = K8("u"), (!t || t === "\\" || !EE(t.charCodeAt(0))) && Ot({}, pr, Fr), e = t); Ee < Zr && (t = We.charCodeAt(Ee), !!_S(t)); )
125966
+ ++Ee, e += String.fromCharCode(t), t === 92 && (e = e.substr(0, e.length - 1), We.charCodeAt(Ee) !== 117 && Ot({}, pr, Fr), ++Ee, t = K8("u"), (!t || t === "\\" || !_S(t.charCodeAt(0))) && Ot({}, pr, Fr), e += t);
125962
125967
  return e;
125963
125968
  }
125964
125969
  function GWe() {
@@ -125966,7 +125971,7 @@ function GWe() {
125966
125971
  for (t = Ee++; Ee < Zr; ) {
125967
125972
  if (e = We.charCodeAt(Ee), e === 92)
125968
125973
  return Ee = t, _ue();
125969
- if (_4(e))
125974
+ if (_S(e))
125970
125975
  ++Ee;
125971
125976
  else
125972
125977
  break;
@@ -126208,7 +126213,7 @@ function JWe() {
126208
126213
  }
126209
126214
  function ZWe() {
126210
126215
  var t, e, n;
126211
- for (e = "", n = ""; Ee < Zr && (t = We[Ee], !!_4(t.charCodeAt(0))); )
126216
+ for (e = "", n = ""; Ee < Zr && (t = We[Ee], !!_S(t.charCodeAt(0))); )
126212
126217
  ++Ee, t === "\\" && Ee < Zr ? Ot({}, pr, Fr) : (n += t, e += t);
126213
126218
  return n.search(/[^gimuy]/g) >= 0 && Ot({}, Y8, n), {
126214
126219
  value: n,
@@ -126682,7 +126687,7 @@ function _Ve() {
126682
126687
  return 0;
126683
126688
  }
126684
126689
  function CVe(t, ...e) {
126685
- t = new ES(t), e = e.map(bVe);
126690
+ t = new E4(t), e = e.map(bVe);
126686
126691
  e:
126687
126692
  for (const n of t)
126688
126693
  for (const r of e)
@@ -126693,16 +126698,16 @@ function CVe(t, ...e) {
126693
126698
  return t;
126694
126699
  }
126695
126700
  function bVe(t) {
126696
- return t instanceof ES ? t : new ES(t);
126701
+ return t instanceof E4 ? t : new E4(t);
126697
126702
  }
126698
126703
  function TVe(...t) {
126699
- const e = new ES();
126704
+ const e = new E4();
126700
126705
  for (const n of t)
126701
126706
  for (const r of n)
126702
126707
  e.add(r);
126703
126708
  return e;
126704
126709
  }
126705
- const zB = "intersect", BQ = "union", RVe = "vlMulti", OVe = "vlPoint", kQ = "or", NVe = "and", Iu = "_vgsid_", o3 = Bs(Iu), DVe = "E", FVe = "R", wVe = "R-E", LVe = "R-LE", IVe = "R-RE", C4 = "index:unit";
126710
+ const zB = "intersect", BQ = "union", RVe = "vlMulti", OVe = "vlPoint", kQ = "or", NVe = "and", Iu = "_vgsid_", o3 = Bs(Iu), DVe = "E", FVe = "R", wVe = "R-E", LVe = "R-LE", IVe = "R-RE", CS = "index:unit";
126706
126711
  function PQ(t, e) {
126707
126712
  for (var n = e.fields, r = e.values, i = n.length, s = 0, o, u; s < i; ++s)
126708
126713
  if (u = n[s], u.getter = Bs.getter || Bs(u.field), o = u.getter(t), Yf(o) && (o = Ti(o)), Yf(r[s]) && (r[s] = Ti(r[s])), Yf(r[s][0]) && (r[s] = r[s].map(Ti)), u.type === DVe) {
@@ -126722,7 +126727,7 @@ function PQ(t, e) {
126722
126727
  return !0;
126723
126728
  }
126724
126729
  function $Ve(t, e, n) {
126725
- for (var r = this.context.data[t], i = r ? r.values.value : [], s = r ? r[C4] && r[C4].value : void 0, o = n === zB, u = i.length, a = 0, l, c, f, x, h; a < u; ++a)
126730
+ for (var r = this.context.data[t], i = r ? r.values.value : [], s = r ? r[CS] && r[CS].value : void 0, o = n === zB, u = i.length, a = 0, l, c, f, x, h; a < u; ++a)
126726
126731
  if (l = i[a], s && o) {
126727
126732
  if (c = c || {}, f = c[x = l.unit] || 0, f === -1)
126728
126733
  continue;
@@ -126736,7 +126741,7 @@ function $Ve(t, e, n) {
126736
126741
  }
126737
126742
  const Nue = SVe(o3), BVe = Nue.left, kVe = Nue.right;
126738
126743
  function PVe(t, e, n) {
126739
- const r = this.context.data[t], i = r ? r.values.value : [], s = r ? r[C4] && r[C4].value : void 0, o = n === zB, u = o3(e), a = BVe(i, u);
126744
+ const r = this.context.data[t], i = r ? r.values.value : [], s = r ? r[CS] && r[CS].value : void 0, o = n === zB, u = o3(e), a = BVe(i, u);
126740
126745
  if (a === i.length || o3(i[a]) !== u)
126741
126746
  return !1;
126742
126747
  if (s && o) {
@@ -127063,7 +127068,7 @@ function wYe(t, e, n) {
127063
127068
  function LYe(t) {
127064
127069
  let e = null;
127065
127070
  return function(n) {
127066
- return n ? kS(n, e = e || C$(t)) : t;
127071
+ return n ? k4(n, e = e || C$(t)) : t;
127067
127072
  };
127068
127073
  }
127069
127074
  const $ue = (t) => t.data;
@@ -127190,9 +127195,9 @@ const u3 = {
127190
127195
  inrange: Dg,
127191
127196
  truncate: f8e,
127192
127197
  rgb: sc,
127193
- lab: LS,
127194
- hcl: IS,
127195
- hsl: FS,
127198
+ lab: L4,
127199
+ hcl: I4,
127200
+ hsl: F4,
127196
127201
  luminance: J8,
127197
127202
  contrast: fYe,
127198
127203
  sequence: Os,
@@ -127656,16 +127661,16 @@ function eF(t, e) {
127656
127661
  if (n)
127657
127662
  return e == null ? n.style.removeProperty("cursor") : n.style.cursor = e;
127658
127663
  }
127659
- function b4(t, e) {
127664
+ function bS(t, e) {
127660
127665
  var n = t._runtime.data;
127661
127666
  return et(n, e) || ve("Unrecognized data set: " + e), n[e];
127662
127667
  }
127663
127668
  function vKe(t, e) {
127664
- return arguments.length < 2 ? b4(this, t).values.value : P6.call(this, t, C1().remove(Jo).insert(e));
127669
+ return arguments.length < 2 ? bS(this, t).values.value : P6.call(this, t, C1().remove(Jo).insert(e));
127665
127670
  }
127666
127671
  function P6(t, e) {
127667
127672
  fne(e) || ve("Second argument to changes must be a changeset.");
127668
- const n = b4(this, t);
127673
+ const n = bS(this, t);
127669
127674
  return n.modified = !0, this.pulse(n.input, e);
127670
127675
  }
127671
127676
  function SKe(t, e) {
@@ -127884,12 +127889,12 @@ function HKe(t, e, n, r) {
127884
127889
  const a = {
127885
127890
  value: o
127886
127891
  };
127887
- T4(o, r) && (a.selected = !0), i.appendChild(Ls("option", a, (s[u] || o) + ""));
127892
+ TS(o, r) && (a.selected = !0), i.appendChild(Ls("option", a, (s[u] || o) + ""));
127888
127893
  }), e.appendChild(i), i.addEventListener("change", () => {
127889
127894
  t.update(n.options[i.selectedIndex]);
127890
127895
  }), t.elements = [i], t.set = (o) => {
127891
127896
  for (let u = 0, a = n.options.length; u < a; ++u)
127892
- if (T4(n.options[u], o)) {
127897
+ if (TS(n.options[u], o)) {
127893
127898
  i.selectedIndex = u;
127894
127899
  return;
127895
127900
  }
@@ -127905,7 +127910,7 @@ function QKe(t, e, n, r) {
127905
127910
  name: n.signal,
127906
127911
  value: o
127907
127912
  };
127908
- T4(o, r) && (a.checked = !0);
127913
+ TS(o, r) && (a.checked = !0);
127909
127914
  const l = Ls("input", a);
127910
127915
  l.addEventListener("change", () => t.update(o));
127911
127916
  const c = Ls("label", {}, (s[u] || o) + "");
@@ -127913,7 +127918,7 @@ function QKe(t, e, n, r) {
127913
127918
  }), t.set = (o) => {
127914
127919
  const u = t.elements, a = u.length;
127915
127920
  for (let l = 0; l < a; ++l)
127916
- T4(u[l].value, o) && (u[l].checked = !0);
127921
+ TS(u[l].value, o) && (u[l].checked = !0);
127917
127922
  };
127918
127923
  }
127919
127924
  function GKe(t, e, n, r) {
@@ -127935,7 +127940,7 @@ function GKe(t, e, n, r) {
127935
127940
  u.value = c, a.textContent = c;
127936
127941
  };
127937
127942
  }
127938
- function T4(t, e) {
127943
+ function TS(t, e) {
127939
127944
  return t === e || t + "" == e + "";
127940
127945
  }
127941
127946
  function Gue(t, e, n, r, i, s) {
@@ -128235,10 +128240,10 @@ Fe(tk, im, {
128235
128240
  return ZQ(this, $A(this, t), e);
128236
128241
  },
128237
128242
  addDataListener(t, e) {
128238
- return JQ(this, t, b4(this, t).values, e);
128243
+ return JQ(this, t, bS(this, t).values, e);
128239
128244
  },
128240
128245
  removeDataListener(t, e) {
128241
- return ZQ(this, b4(this, t).values, e);
128246
+ return ZQ(this, bS(this, t).values, e);
128242
128247
  },
128243
128248
  globalCursor(t) {
128244
128249
  if (arguments.length) {
@@ -128274,7 +128279,7 @@ Fe(tk, im, {
128274
128279
  getState: iXe,
128275
128280
  setState: uXe
128276
128281
  });
128277
- const xXe = "view", R4 = "[", O4 = "]", eae = "{", tae = "}", dXe = ":", nae = ",", hXe = "@", pXe = ">", gXe = /[[\]{}]/, mXe = {
128282
+ const xXe = "view", RS = "[", OS = "]", eae = "{", tae = "}", dXe = ":", nae = ",", hXe = "@", pXe = ">", gXe = /[[\]{}]/, mXe = {
128278
128283
  "*": 1,
128279
128284
  arc: 1,
128280
128285
  area: 1,
@@ -128310,7 +128315,7 @@ function sae(t) {
128310
128315
  const e = [], n = t.length;
128311
128316
  let r = 0, i = 0;
128312
128317
  for (; i < n; )
128313
- i = pm(t, i, nae, R4 + eae, O4 + tae), e.push(t.substring(r, i).trim()), r = ++i;
128318
+ i = pm(t, i, nae, RS + eae, OS + tae), e.push(t.substring(r, i).trim()), r = ++i;
128314
128319
  if (e.length === 0)
128315
128320
  throw "Empty event selector: " + t;
128316
128321
  return e;
@@ -128321,7 +128326,7 @@ function tF(t) {
128321
128326
  function EXe(t) {
128322
128327
  const e = t.length;
128323
128328
  let n = 1, r;
128324
- if (n = pm(t, n, O4, R4, O4), n === e)
128329
+ if (n = pm(t, n, OS, RS, OS), n === e)
128325
128330
  throw "Empty between selector: " + t;
128326
128331
  if (r = sae(t.substring(1, n)), r.length !== 2)
128327
128332
  throw "Between selector must have two elements: " + t;
@@ -128353,14 +128358,14 @@ function AXe(t) {
128353
128358
  }
128354
128359
  if (!o)
128355
128360
  throw t;
128356
- if (t[0] === hXe && (i = ++u), a = pm(t, u, dXe), a < o && (n.push(t.substring(s, a).trim()), s = u = ++a), u = pm(t, u, R4), u === o)
128361
+ if (t[0] === hXe && (i = ++u), a = pm(t, u, dXe), a < o && (n.push(t.substring(s, a).trim()), s = u = ++a), u = pm(t, u, RS), u === o)
128357
128362
  n.push(t.substring(s, o).trim());
128358
128363
  else if (n.push(t.substring(s, u).trim()), l = [], s = ++u, s === o)
128359
128364
  throw "Unmatched left bracket: " + t;
128360
128365
  for (; u < o; ) {
128361
- if (u = pm(t, u, O4), u === o)
128366
+ if (u = pm(t, u, OS), u === o)
128362
128367
  throw "Unmatched left bracket: " + t;
128363
- if (l.push(t.substring(s, u).trim()), u < o - 1 && t[++u] !== R4)
128368
+ if (l.push(t.substring(s, u).trim()), u < o - 1 && t[++u] !== RS)
128364
128369
  throw "Expected left bracket: " + t;
128365
128370
  s = ++u;
128366
128371
  }
@@ -128541,7 +128546,7 @@ function nF(t, e, n, r) {
128541
128546
  function U6(t, e, n, r) {
128542
128547
  return new nF(t, e, n, r);
128543
128548
  }
128544
- function N4(t, e) {
128549
+ function NS(t, e) {
128545
128550
  return U6("operator", t, e);
128546
128551
  }
128547
128552
  function Ke(t) {
@@ -129428,7 +129433,7 @@ function wZe(t, e, n) {
129428
129433
  };
129429
129434
  }
129430
129435
  function Nae(t, e, n) {
129431
- const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(N4()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c = oa(l, e);
129436
+ const r = t.remove, i = t.insert, s = t.toggle, o = t.modify, u = t.values, a = e.add(NS()), l = "if(" + t.trigger + ',modify("' + n + '",' + [i, r, s, o, u].map((f) => f ?? "null").join(",") + "),0)", c = oa(l, e);
129432
129437
  a.update = c.$expr, a.params = c.$params;
129433
129438
  }
129434
129439
  function W6(t, e) {
@@ -130207,7 +130212,7 @@ const det = (t) => D1({
130207
130212
  }
130208
130213
  }, t);
130209
130214
  function het(t, e) {
130210
- const n = e.config, r = Ke(e.root = e.add(N4())), i = pet(t, n);
130215
+ const n = e.config, r = Ke(e.root = e.add(NS())), i = pet(t, n);
130211
130216
  i.forEach((l) => fae(l, e)), e.description = t.description || n.description, e.eventConfig = n.events, e.legends = e.objectProperty(n.legend && n.legend.layout), e.locale = n.locale;
130212
130217
  const s = e.add(gu()), o = e.add(hae(cae(det(t.encode), H6, rk, t.style, e, {
130213
130218
  pulse: Ke(s)
@@ -130393,14 +130398,14 @@ Iae.prototype = yG.prototype = {
130393
130398
  },
130394
130399
  addSignal(t, e) {
130395
130400
  this.hasOwnSignal(t) && ve("Duplicate signal name: " + we(t));
130396
- const n = e instanceof nF ? e : this.add(N4(e));
130401
+ const n = e instanceof nF ? e : this.add(NS(e));
130397
130402
  return this.signals[t] = n;
130398
130403
  },
130399
130404
  getSignal(t) {
130400
130405
  return this.signals[t] || ve("Unrecognized signal name: " + we(t)), this.signals[t];
130401
130406
  },
130402
130407
  signalRef(t) {
130403
- return this.signals[t] ? Ke(this.signals[t]) : (et(this.lambdas, t) || (this.lambdas[t] = this.add(N4(null))), Ke(this.lambdas[t]));
130408
+ return this.signals[t] ? Ke(this.signals[t]) : (et(this.lambdas, t) || (this.lambdas[t] = this.add(NS(null))), Ke(this.lambdas[t]));
130404
130409
  },
130405
130410
  parseLambdas() {
130406
130411
  const t = Object.keys(this.lambdas);
@@ -131031,7 +131036,7 @@ const qi = {
131031
131036
  circle: "circle",
131032
131037
  square: "square",
131033
131038
  geoshape: "geoshape"
131034
- }, zae = qi.arc, Y6 = qi.area, K6 = qi.bar, Bet = qi.image, X6 = qi.line, J6 = qi.point, ket = qi.rect, D4 = qi.rule, Hae = qi.text, Ek = qi.tick, Pet = qi.trail, Ak = qi.circle, vk = qi.square, Qae = qi.geoshape;
131039
+ }, zae = qi.arc, Y6 = qi.area, K6 = qi.bar, Bet = qi.image, X6 = qi.line, J6 = qi.point, ket = qi.rect, DS = qi.rule, Hae = qi.text, Ek = qi.tick, Pet = qi.trail, Ak = qi.circle, vk = qi.square, Qae = qi.geoshape;
131035
131040
  function Yc(t) {
131036
131041
  return ["line", "area", "trail"].includes(t);
131037
131042
  }
@@ -131156,7 +131161,7 @@ function nx(t, e, n, r) {
131156
131161
  }
131157
131162
  return i;
131158
131163
  }
131159
- function F4({ scaleName: t, fieldOrDatumDef: e, fieldOrDatumDef2: n, offset: r, startSuffix: i, bandPosition: s = 0.5 }) {
131164
+ function FS({ scaleName: t, fieldOrDatumDef: e, fieldOrDatumDef2: n, offset: r, startSuffix: i, bandPosition: s = 0.5 }) {
131160
131165
  const o = 0 < s && s < 1 ? "datum" : void 0, u = $e(e, { expr: o, suffix: i }), a = n !== void 0 ? $e(n, { expr: o }) : $e(e, { suffix: "end", expr: o }), l = {};
131161
131166
  if (s === 0 || s === 1) {
131162
131167
  l.scale = t;
@@ -131182,12 +131187,12 @@ function Ck({ channel: t, channelDef: e, channel2Def: n, markDef: r, config: i,
131182
131187
  }));
131183
131188
  const { bin: h, timeUnit: p, type: m } = e;
131184
131189
  if (Xt(h) || c && p && m === _2)
131185
- return u != null && u.impute ? nx(e, s, { binSuffix: "mid" }, { offset: a }) : c && !Ar(x) ? F4({ scaleName: s, fieldOrDatumDef: e, bandPosition: c, offset: a }) : nx(e, s, TE(e, t) ? { binSuffix: "range" } : {}, {
131190
+ return u != null && u.impute ? nx(e, s, { binSuffix: "mid" }, { offset: a }) : c && !Ar(x) ? FS({ scaleName: s, fieldOrDatumDef: e, bandPosition: c, offset: a }) : nx(e, s, TE(e, t) ? { binSuffix: "range" } : {}, {
131186
131191
  offset: a
131187
131192
  });
131188
131193
  if (Ei(h)) {
131189
131194
  if (Ie(n))
131190
- return F4({
131195
+ return FS({
131191
131196
  scaleName: s,
131192
131197
  fieldOrDatumDef: e,
131193
131198
  fieldOrDatumDef2: n,
@@ -131419,7 +131424,7 @@ function Ba(t) {
131419
131424
  return t && "datum" in t;
131420
131425
  }
131421
131426
  function ju(t) {
131422
- return Co(t) && !w4(t) || dF(t);
131427
+ return Co(t) && !wS(t) || dF(t);
131423
131428
  }
131424
131429
  function dF(t) {
131425
131430
  return Ba(t) && on(t.datum);
@@ -131471,7 +131476,7 @@ function $e(t, e = {}) {
131471
131476
  }
131472
131477
  return u && (s = `${s}_${u}`), o && (s = `${o}_${s}`), e.forAs ? Bee(s) : e.expr ? v8e(s, e.expr) + a : Zo(s) + a;
131473
131478
  }
131474
- function w4(t) {
131479
+ function wS(t) {
131475
131480
  switch (t.type) {
131476
131481
  case "nominal":
131477
131482
  case "ordinal":
@@ -131551,7 +131556,7 @@ function Dk(t) {
131551
131556
  function Fk(t, e) {
131552
131557
  return lle(t, e);
131553
131558
  }
131554
- function L4(t) {
131559
+ function LS(t) {
131555
131560
  var e;
131556
131561
  if (ule(t)) {
131557
131562
  const { format: n, formatType: r } = t;
@@ -131610,22 +131615,22 @@ function fle(t, e, n, r = {}) {
131610
131615
  const i = Ue(t) ? "string" : on(t) ? "number" : "boolean";
131611
131616
  return Te(TFe(e, i, t)), { value: t };
131612
131617
  }
131613
- return st(t) ? I4(t, e, n, r) : bE(t) ? Object.assign(Object.assign({}, t), {
131618
+ return st(t) ? IS(t, e, n, r) : bE(t) ? Object.assign(Object.assign({}, t), {
131614
131619
  // Need to cast as normalizeFieldDef normally return FieldDef, but here we know that it is definitely Condition<FieldDef>
131615
- condition: I4(t.condition, e, n, r)
131620
+ condition: IS(t.condition, e, n, r)
131616
131621
  }) : t;
131617
131622
  }
131618
- function I4(t, e, n, r) {
131623
+ function IS(t, e, n, r) {
131619
131624
  if (ule(t)) {
131620
131625
  const { format: i, formatType: s } = t, o = fF(t, ["format", "formatType"]);
131621
131626
  if (Ux(s) && !n.customFormatTypes)
131622
- return Te(wq(e)), I4(o, e, n, r);
131627
+ return Te(wq(e)), IS(o, e, n, r);
131623
131628
  } else {
131624
131629
  const i = Nk(t) ? "axis" : ole(t) ? "legend" : Rk(t) ? "header" : null;
131625
131630
  if (i && t[i]) {
131626
131631
  const s = t[i], { format: o, formatType: u } = s, a = fF(s, ["format", "formatType"]);
131627
131632
  if (Ux(u) && !n.customFormatTypes)
131628
- return Te(wq(e)), I4(Object.assign(Object.assign({}, t), { [i]: a }), e, n, r);
131633
+ return Te(wq(e)), IS(Object.assign(Object.assign({}, t), { [i]: a }), e, n, r);
131629
131634
  }
131630
131635
  }
131631
131636
  return Ie(t) ? wk(t, e, r) : gtt(t);
@@ -131685,7 +131690,7 @@ function mtt(t, e) {
131685
131690
  case hl:
131686
131691
  case pl:
131687
131692
  case UT:
131688
- return w4(t) ? eh : {
131693
+ return wS(t) ? eh : {
131689
131694
  compatible: !1,
131690
131695
  warning: LFe(e)
131691
131696
  };
@@ -131730,7 +131735,7 @@ function mtt(t, e) {
131730
131735
  } : eh;
131731
131736
  case cs:
131732
131737
  case Mc:
131733
- return !w4(t) && !ctt(t) ? {
131738
+ return !wS(t) && !ctt(t) ? {
131734
131739
  compatible: !1,
131735
131740
  warning: IFe(e)
131736
131741
  } : eh;
@@ -131742,7 +131747,7 @@ function mtt(t, e) {
131742
131747
  }
131743
131748
  }
131744
131749
  function b2(t) {
131745
- const { formatType: e } = L4(t);
131750
+ const { formatType: e } = LS(t);
131746
131751
  return e === "time" || !e && ytt(t);
131747
131752
  }
131748
131753
  function ytt(t) {
@@ -132396,7 +132401,7 @@ var Fv = function(t, e) {
132396
132401
  e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
132397
132402
  return n;
132398
132403
  };
132399
- const $4 = "boxplot", Ott = ["box", "median", "outliers", "rule", "ticks"], Ntt = new oR($4, Cle);
132404
+ const $S = "boxplot", Ott = ["box", "median", "outliers", "rule", "ticks"], Ntt = new oR($S, Cle);
132400
132405
  function _le(t) {
132401
132406
  return on(t) ? "tukey" : t;
132402
132407
  }
@@ -132538,7 +132543,7 @@ function ble(t) {
132538
132543
  ];
132539
132544
  }
132540
132545
  function Dtt(t, e, n) {
132541
- const r = Sle(t, $4), { continuousAxisChannelDef: i, continuousAxis: s } = vle(t, r, $4), o = i.field, u = _le(e), a = [
132546
+ const r = Sle(t, $S), { continuousAxisChannelDef: i, continuousAxis: s } = vle(t, r, $S), o = i.field, u = _le(e), a = [
132542
132547
  ...ble(o),
132543
132548
  {
132544
132549
  op: "median",
@@ -132829,7 +132834,7 @@ function Mk(t, e, n) {
132829
132834
  function jtt() {
132830
132835
  return Re(Nle);
132831
132836
  }
132832
- Mk($4, Cle, Ott);
132837
+ Mk($S, Cle, Ott);
132833
132838
  Mk(kk, Tle, Ftt);
132834
132839
  Mk(Pk, Ole, Ptt);
132835
132840
  const Utt = [
@@ -133061,11 +133066,11 @@ function gF(t, e) {
133061
133066
  var n;
133062
133067
  return (n = t[e]) !== null && n !== void 0 ? n : t[e === "width" ? "continuousWidth" : "continuousHeight"];
133063
133068
  }
133064
- function B4(t, e) {
133065
- const n = k4(t, e);
133069
+ function BS(t, e) {
133070
+ const n = kS(t, e);
133066
133071
  return la(n) ? n.step : Ble;
133067
133072
  }
133068
- function k4(t, e) {
133073
+ function kS(t, e) {
133069
133074
  var n;
133070
133075
  const r = (n = t[e]) !== null && n !== void 0 ? n : t[e === "width" ? "discreteWidth" : "discreteHeight"];
133071
133076
  return er(r, { step: t.step });
@@ -133440,7 +133445,7 @@ const gnt = {
133440
133445
  function mnt(t) {
133441
133446
  return t in gnt;
133442
133447
  }
133443
- const ynt = /* @__PURE__ */ new Set([zae, K6, Y6, D4, J6, Ak, vk, X6, Hae, Ek]), Ent = /* @__PURE__ */ new Set([K6, Y6, zae]);
133448
+ const ynt = /* @__PURE__ */ new Set([zae, K6, Y6, DS, J6, Ak, vk, X6, Hae, Ek]), Ent = /* @__PURE__ */ new Set([K6, Y6, zae]);
133444
133449
  function th(t) {
133445
133450
  return Ie(t) && xF(t) === "quantitative" && !t.bin;
133446
133451
  }
@@ -134743,7 +134748,7 @@ function $1(t, e, n, r) {
134743
134748
  const { param: c, empty: f } = a, x = m0e(t, { param: c, empty: f });
134744
134749
  return Object.assign({ test: x }, l);
134745
134750
  } else {
134746
- const c = j4(t, a.test);
134751
+ const c = jS(t, a.test);
134747
134752
  return Object.assign({ test: c }, l);
134748
134753
  }
134749
134754
  });
@@ -134762,7 +134767,7 @@ function fR(t, e, n = "datum") {
134762
134767
  if (tu(t))
134763
134768
  return tn(t.value);
134764
134769
  if (st(t)) {
134765
- const { format: r, formatType: i } = L4(t);
134770
+ const { format: r, formatType: i } = LS(t);
134766
134771
  return bk({ fieldOrDatumDef: t, format: r, formatType: i, expr: n, config: e });
134767
134772
  }
134768
134773
  }
@@ -134798,10 +134803,10 @@ function t0e(t, e, n, { reactiveGeom: r } = {}) {
134798
134803
  if (Ir(c)) {
134799
134804
  const g = c === "x" ? "x2" : "y2", y = aa(t[g]);
134800
134805
  if (Ei(x.bin) && y) {
134801
- const E = $e(x, { expr: s }), A = $e(y, { expr: s }), { format: v, formatType: S } = L4(x);
134806
+ const E = $e(x, { expr: s }), A = $e(y, { expr: s }), { format: v, formatType: S } = LS(x);
134802
134807
  m = Z6(E, A, v, S, n), i[g] = !0;
134803
134808
  } else if (e && e.fieldChannel === c && e.offset === "normalize") {
134804
- const { format: E, formatType: A } = L4(x);
134809
+ const { format: E, formatType: A } = LS(x);
134805
134810
  m = bk({
134806
134811
  fieldOrDatumDef: x,
134807
134812
  format: E,
@@ -134954,7 +134959,7 @@ function Srt(t) {
134954
134959
  if (Ie(n)) {
134955
134960
  let u = n.bandPosition;
134956
134961
  if (u === void 0 && o.type === "text" && (e === "radius" || e === "theta") && (u = 0.5), u !== void 0)
134957
- return F4({
134962
+ return FS({
134958
134963
  scaleName: r,
134959
134964
  fieldOrDatumDef: n,
134960
134965
  startSuffix: "start",
@@ -135023,7 +135028,7 @@ function r0e(t, e, n, r = "middle") {
135023
135028
  let o;
135024
135029
  return Ye(s) ? (Te(BFe(i)), o = void 0) : o = s, t === "x" ? _rt[o || (r === "top" ? "left" : "center")] : Crt[o || r];
135025
135030
  }
135026
- function P4(t, e, { defaultPos: n, defaultPos2: r, range: i }) {
135031
+ function PS(t, e, { defaultPos: n, defaultPos2: r, range: i }) {
135027
135032
  return i ? i0e(t, e, { defaultPos: n, defaultPos2: r }) : Yr(t, e, { defaultPos: n });
135028
135033
  }
135029
135034
  function i0e(t, e, { defaultPos: n, defaultPos2: r }) {
@@ -135059,8 +135064,8 @@ function brt(t, e, n) {
135059
135064
  defaultRef: void 0
135060
135065
  });
135061
135066
  return m !== void 0 ? { [c]: m } : PA(n, s) || PA(n, {
135062
- [n]: mS(n, s, u.style),
135063
- [l]: mS(l, s, u.style)
135067
+ [n]: m4(n, s, u.style),
135068
+ [l]: m4(l, s, u.style)
135064
135069
  }) || PA(n, u[i]) || PA(n, u.mark) || {
135065
135070
  [c]: Yk({
135066
135071
  model: t,
@@ -135132,7 +135137,7 @@ function Rrt(t, e, n, r, i) {
135132
135137
  if (qc(o) && on(o.step))
135133
135138
  return { value: o.step - 2 };
135134
135139
  }
135135
- return { value: B4(r.view, t) - 2 };
135140
+ return { value: BS(r.view, t) - 2 };
135136
135141
  }
135137
135142
  function Ort(t, e, n) {
135138
135143
  const { markDef: r, encoding: i, config: s, stack: o } = n, u = r.orient, a = n.scaleName(e), l = n.getScaleComponent(e), c = fs(e), f = Kl(e), x = B8e(e), h = n.scaleName(x), p = u === "horizontal" && e === "y" || u === "vertical" && e === "x";
@@ -135217,7 +135222,7 @@ function Nrt({ fieldDef: t, fieldDef2: e, channel: n, model: r }) {
135217
135222
  Te(lte(E));
135218
135223
  }
135219
135224
  function zG({ fieldDef: t, scaleName: e, bandPosition: n, offset: r }) {
135220
- return F4({
135225
+ return FS({
135221
135226
  scaleName: e,
135222
135227
  fieldOrDatumDef: t,
135223
135228
  bandPosition: n,
@@ -135344,15 +135349,15 @@ const RN = "voronoi", s0e = {
135344
135349
  const r = e.name, i = e.project, s = n.filter((l) => l.name === r + dc)[0], o = r + OE, u = i.items.map((l) => mn(`${r}_${l.field}`)), a = u.map((l) => `${l} !== null`).join(" && ");
135345
135350
  return u.length && (s.update = `${a} ? {fields: ${o}, values: [${u.join(", ")}]} : null`), delete s.value, delete s.on, n;
135346
135351
  }
135347
- }, M4 = "_toggle", u0e = {
135352
+ }, MS = "_toggle", u0e = {
135348
135353
  defined: (t) => t.type === "point" && !!t.toggle,
135349
135354
  signals: (t, e, n) => n.concat({
135350
- name: e.name + M4,
135355
+ name: e.name + MS,
135351
135356
  value: !1,
135352
135357
  on: [{ events: e.events, update: e.toggle }]
135353
135358
  }),
135354
135359
  modifyExpr: (t, e) => {
135355
- const n = e.name + dc, r = e.name + M4;
135360
+ const n = e.name + dc, r = e.name + MS;
135356
135361
  return `${r} ? null : ${n}, ` + (e.resolve === "global" ? `${r} ? null : true, ` : `${r} ? null : {unit: ${O2(t)}}, `) + `${r} ? ${n} : null`;
135357
135362
  }
135358
135363
  }, Irt = {
@@ -135382,7 +135387,7 @@ const RN = "voronoi", s0e = {
135382
135387
  }
135383
135388
  else {
135384
135389
  let i = n.findIndex((s) => s.name === e.name + dc);
135385
- r(i, "null"), u0e.defined(e) && (i = n.findIndex((s) => s.name === e.name + M4), r(i, "false"));
135390
+ r(i, "null"), u0e.defined(e) && (i = n.findIndex((s) => s.name === e.name + MS), r(i, "false"));
135386
135391
  }
135387
135392
  return n;
135388
135393
  }
@@ -135428,7 +135433,7 @@ const RN = "voronoi", s0e = {
135428
135433
  events: u.map((x) => ({ signal: x })),
135429
135434
  update: l
135430
135435
  }) : u.length > 0 && (s.update = l, delete s.value, delete s.on);
135431
- const c = n.find((x) => x.name === r + M4), f = CN(e.bind) && e.bind.legend;
135436
+ const c = n.find((x) => x.name === r + MS), f = CN(e.bind) && e.bind.legend;
135432
135437
  return c && (e.events ? c.on.push(Object.assign(Object.assign({}, c.on[0]), { events: f })) : c.on[0].events = f), n;
135433
135438
  }
135434
135439
  };
@@ -135562,7 +135567,7 @@ function g0e(t) {
135562
135567
  }
135563
135568
  class B1 extends qt {
135564
135569
  constructor(e, n, r) {
135565
- super(e), this.model = n, this.filter = r, this.expr = j4(this.model, this.filter, this), this._dependentFields = g0e(this.expr);
135570
+ super(e), this.model = n, this.filter = r, this.expr = jS(this.model, this.filter, this), this._dependentFields = g0e(this.expr);
135566
135571
  }
135567
135572
  clone() {
135568
135573
  return new B1(null, this.model, lt(this.filter));
@@ -135642,7 +135647,7 @@ function Urt(t, e) {
135642
135647
  t.component.data.outputNodes[s] = i.materialized = new wi(new B1(e, t, { param: r }), s, Vt.Lookup, t.component.data.outputNodeRefCounts);
135643
135648
  }
135644
135649
  }
135645
- function j4(t, e, n) {
135650
+ function jS(t, e, n) {
135646
135651
  return av(e, (r) => Ue(r) ? r : Twe(r) ? m0e(t, r, n) : mte(r));
135647
135652
  }
135648
135653
  var MA = function(t, e) {
@@ -135676,7 +135681,7 @@ function Xg(t, e, n, r = { header: !1 }) {
135676
135681
  const { vgProp: S, part: C } = v, _ = [
135677
135682
  ...A.map((b) => {
135678
135683
  const { test: R } = b, O = MA(b, ["test"]);
135679
- return Object.assign({ test: j4(null, R) }, O);
135684
+ return Object.assign({ test: jS(null, R) }, O);
135680
135685
  }),
135681
135686
  E
135682
135687
  ];
@@ -135685,7 +135690,7 @@ function Xg(t, e, n, r = { header: !1 }) {
135685
135690
  const S = {
135686
135691
  signal: A.map((C) => {
135687
135692
  const { test: _ } = C, b = MA(C, ["test"]);
135688
- return `${j4(null, _)} ? ${bq(b)} : `;
135693
+ return `${jS(null, _)} ? ${bq(b)} : `;
135689
135694
  }).join("") + bq(E)
135690
135695
  };
135691
135696
  h[p] = S;
@@ -135884,10 +135889,10 @@ function Wrt(t, e) {
135884
135889
  function Vrt(t, e, n, r, i) {
135885
135890
  const s = e == null ? void 0 : e.labelAngle;
135886
135891
  if (s !== void 0)
135887
- return Ye(s) ? s : gS(s);
135892
+ return Ye(s) ? s : g4(s);
135888
135893
  {
135889
135894
  const { configValue: o } = CF("labelAngle", r, e == null ? void 0 : e.style, i);
135890
- return o !== void 0 ? gS(o) : n === En && bt([yk, mk], t.type) && !(Ie(t) && t.timeUnit) ? 270 : void 0;
135895
+ return o !== void 0 ? g4(o) : n === En && bt([yk, mk], t.type) && !(Ie(t) && t.timeUnit) ? 270 : void 0;
135891
135896
  }
135892
135897
  }
135893
135898
  function bF(t) {
@@ -135989,7 +135994,7 @@ function Zrt(t, e) {
135989
135994
  return n;
135990
135995
  }
135991
135996
  function eit(t, e) {
135992
- return t === "rect" && w4(e) ? 1 : 0;
135997
+ return t === "rect" && wS(e) ? 1 : 0;
135993
135998
  }
135994
135999
  class N2 extends qt {
135995
136000
  constructor(e, n) {
@@ -136046,7 +136051,7 @@ function hR(t, e, n, r) {
136046
136051
  }
136047
136052
  const Jk = ["row", "column"], Zk = ["header", "footer"];
136048
136053
  function tit(t, e) {
136049
- const n = t.component.layoutHeaders[e].title, r = t.config ? t.config : void 0, i = t.component.layoutHeaders[e].facetFieldDef ? t.component.layoutHeaders[e].facetFieldDef : void 0, { titleAnchor: s, titleAngle: o, titleOrient: u } = hR(["titleAnchor", "titleAngle", "titleOrient"], i.header, r, e), a = dR(e, u), l = gS(o);
136054
+ const n = t.component.layoutHeaders[e].title, r = t.config ? t.config : void 0, i = t.component.layoutHeaders[e].facetFieldDef ? t.component.layoutHeaders[e].facetFieldDef : void 0, { titleAnchor: s, titleAngle: o, titleOrient: u } = hR(["titleAnchor", "titleAngle", "titleOrient"], i.header, r, e), a = dR(e, u), l = g4(o);
136050
136055
  return {
136051
136056
  name: `${e}-title`,
136052
136057
  type: "group",
@@ -137984,7 +137989,7 @@ function x0(t, e, n, r) {
137984
137989
  {
137985
137990
  // If sort by aggregation of a specified sort field, we need to use RAW table,
137986
137991
  // so we can aggregate values for the scale independently from the main aggregation.
137987
- data: pS(l) ? n.requestDataName(Vt.Main) : n.requestDataName(Vt.Raw),
137992
+ data: p4(l) ? n.requestDataName(Vt.Main) : n.requestDataName(Vt.Raw),
137988
137993
  // Use range if we added it and the scale does not support computing a range as a signal.
137989
137994
  field: n.vgField(r, TE(c, r) ? { binSuffix: "range" } : {}),
137990
137995
  // we have to use a sort object if sort = true to make the sort correct by bin start
@@ -138030,7 +138035,7 @@ function x0(t, e, n, r) {
138030
138035
  {
138031
138036
  // If sort by aggregation of a specified sort field, we need to use RAW table,
138032
138037
  // so we can aggregate values for the scale independently from the main aggregation.
138033
- data: pS(l) ? n.requestDataName(Vt.Main) : n.requestDataName(Vt.Raw),
138038
+ data: p4(l) ? n.requestDataName(Vt.Main) : n.requestDataName(Vt.Raw),
138034
138039
  field: n.vgField(r),
138035
138040
  sort: l
138036
138041
  }
@@ -138115,7 +138120,7 @@ function yst(t) {
138115
138120
  const e = il(t.map((o) => sl(o) ? cst(o, ["sort"]) : o), Ct), n = il(t.map((o) => {
138116
138121
  if (sl(o)) {
138117
138122
  const u = o.sort;
138118
- return u !== void 0 && !pS(u) && ("op" in u && u.op === "count" && delete u.field, u.order === "ascending" && delete u.order), u;
138123
+ return u !== void 0 && !p4(u) && ("op" in u && u.op === "count" && delete u.field, u.order === "ascending" && delete u.order), u;
138119
138124
  }
138120
138125
  }).filter((o) => o !== void 0), Ct);
138121
138126
  if (e.length === 0)
@@ -138134,7 +138139,7 @@ function yst(t) {
138134
138139
  }
138135
138140
  return o;
138136
138141
  }
138137
- const r = il(n.map((o) => pS(o) || !("op" in o) || Ue(o.op) && o.op in W8e ? o : (Te(KFe(o)), !0)), Ct);
138142
+ const r = il(n.map((o) => p4(o) || !("op" in o) || Ue(o.op) && o.op in W8e ? o : (Te(KFe(o)), !0)), Ct);
138138
138143
  let i;
138139
138144
  r.length === 1 ? i = r[0] : r.length > 1 && (Te(Lq), i = !0);
138140
138145
  const s = il(t.map((o) => sl(o) ? o.data : null), (o) => o);
@@ -138392,7 +138397,7 @@ function Tst(t, e, n) {
138392
138397
  }
138393
138398
  function W0e(t, e, n) {
138394
138399
  const r = t === En ? "width" : "height", i = e[r];
138395
- return i || k4(n, r);
138400
+ return i || kS(n, r);
138396
138401
  }
138397
138402
  function Rst(t, e, n, r) {
138398
138403
  switch (t) {
@@ -138463,7 +138468,7 @@ function Nst(t, e, n, r) {
138463
138468
  throw new Error(YT("size", t));
138464
138469
  }
138465
138470
  function aW(t, e, n) {
138466
- const r = la(t.width) ? t.width.step : B4(n, "width"), i = la(t.height) ? t.height.step : B4(n, "height");
138471
+ const r = la(t.width) ? t.width.step : BS(n, "width"), i = la(t.height) ? t.height.step : BS(n, "height");
138467
138472
  return e.x || e.y ? new us(() => `min(${[
138468
138473
  e.x ? e.x.signal : r,
138469
138474
  e.y ? e.y.signal : i
@@ -139585,18 +139590,18 @@ function cW(t, e) {
139585
139590
  }
139586
139591
  }
139587
139592
  function eot(t) {
139588
- lP(t), U4(t, "width"), U4(t, "height");
139593
+ lP(t), US(t, "width"), US(t, "height");
139589
139594
  }
139590
139595
  function tot(t) {
139591
139596
  lP(t);
139592
139597
  const e = t.layout.columns === 1 ? "width" : "childWidth", n = t.layout.columns === void 0 ? "height" : "childHeight";
139593
- U4(t, e), U4(t, n);
139598
+ US(t, e), US(t, n);
139594
139599
  }
139595
139600
  function lP(t) {
139596
139601
  for (const e of t.children)
139597
139602
  e.parseLayoutSize();
139598
139603
  }
139599
- function U4(t, e) {
139604
+ function US(t, e) {
139600
139605
  var n;
139601
139606
  const r = R0e(e), i = GT(r), s = t.component.resolve, o = t.component.layoutSize;
139602
139607
  let u;
@@ -139643,7 +139648,7 @@ function rot(t, e) {
139643
139648
  if (i) {
139644
139649
  const s = i.get("type"), o = i.get("range");
139645
139650
  if (Ar(s)) {
139646
- const u = k4(r.view, e);
139651
+ const u = kS(r.view, e);
139647
139652
  return qc(o) || la(u) ? "step" : u;
139648
139653
  } else
139649
139654
  return gF(r.view, e);
@@ -139651,7 +139656,7 @@ function rot(t, e) {
139651
139656
  if (t.hasProjection || t.mark === "arc")
139652
139657
  return gF(r.view, e);
139653
139658
  {
139654
- const s = k4(r.view, e);
139659
+ const s = kS(r.view, e);
139655
139660
  return la(s) ? s.step : s;
139656
139661
  }
139657
139662
  }
@@ -140187,7 +140192,7 @@ function got(t, e, n, r, i) {
140187
140192
  switch (n = n || {}, e) {
140188
140193
  case "titleAngle":
140189
140194
  case "labelAngle":
140190
- return t === (Ye(n.labelAngle) ? n.labelAngle : gS(n.labelAngle));
140195
+ return t === (Ye(n.labelAngle) ? n.labelAngle : g4(n.labelAngle));
140191
140196
  case "values":
140192
140197
  return !!n.values;
140193
140198
  case "encode":
@@ -140283,7 +140288,7 @@ function _ot(t, e, { graticule: n }) {
140283
140288
  if (n)
140284
140289
  return !1;
140285
140290
  const r = Tx("filled", t, e), i = t.type;
140286
- return er(r, i !== J6 && i !== X6 && i !== D4);
140291
+ return er(r, i !== J6 && i !== X6 && i !== DS);
140287
140292
  }
140288
140293
  function Cot(t, e, n) {
140289
140294
  switch (t) {
@@ -140310,7 +140315,7 @@ function Cot(t, e, n) {
140310
140315
  if (!o && (Ie(i) && i.type === jx && !Xt(i.bin) || dF(i)))
140311
140316
  return "vertical";
140312
140317
  }
140313
- case D4:
140318
+ case DS:
140314
140319
  if (s && !(Ie(r) && Ei(r.bin)) && o && !(Ie(i) && Ei(i.bin)))
140315
140320
  return;
140316
140321
  case Y6:
@@ -140318,7 +140323,7 @@ function Cot(t, e, n) {
140318
140323
  return Ie(i) && Ei(i.bin) ? "horizontal" : "vertical";
140319
140324
  if (s)
140320
140325
  return Ie(r) && Ei(r.bin) ? "vertical" : "horizontal";
140321
- if (t === D4) {
140326
+ if (t === DS) {
140322
140327
  if (r && !i)
140323
140328
  return "vertical";
140324
140329
  if (i && !r)
@@ -140361,11 +140366,11 @@ const bot = {
140361
140366
  orient: "include",
140362
140367
  size: "ignore",
140363
140368
  theta: "ignore"
140364
- })), P4("x", t, {
140369
+ })), PS("x", t, {
140365
140370
  defaultPos: "zeroOrMin",
140366
140371
  defaultPos2: "zeroOrMin",
140367
140372
  range: t.markDef.orient === "horizontal"
140368
- })), P4("y", t, {
140373
+ })), PS("y", t, {
140369
140374
  defaultPos: "zeroOrMin",
140370
140375
  defaultPos2: "zeroOrMin",
140371
140376
  range: t.markDef.orient === "vertical"
@@ -140472,12 +140477,12 @@ const Lot = {
140472
140477
  orient: "ignore",
140473
140478
  size: "ignore",
140474
140479
  theta: "ignore"
140475
- })), P4("x", t, {
140480
+ })), PS("x", t, {
140476
140481
  defaultPos: n === "horizontal" ? "zeroOrMax" : "mid",
140477
140482
  defaultPos2: "zeroOrMin",
140478
140483
  range: n !== "vertical"
140479
140484
  // include x2 for horizontal or line segment rule
140480
- })), P4("y", t, {
140485
+ })), PS("y", t, {
140481
140486
  defaultPos: n === "vertical" ? "zeroOrMax" : "mid",
140482
140487
  defaultPos2: "zeroOrMin",
140483
140488
  range: n !== "horizontal"
@@ -140536,7 +140541,7 @@ function qot(t) {
140536
140541
  return u;
140537
140542
  {
140538
140543
  const a = o ? o.get("range") : void 0;
140539
- return a && qc(a) && on(a.step) ? a.step * 3 / 4 : B4(n.view, s) * 3 / 4;
140544
+ return a && qc(a) && on(a.step) ? a.step * 3 / 4 : BS(n.view, s) * 3 / 4;
140540
140545
  }
140541
140546
  }
140542
140547
  const qA = {
@@ -141226,7 +141231,7 @@ class eut extends FE {
141226
141231
  layer: [
141227
141232
  {
141228
141233
  data: {
141229
- values: dS,
141234
+ values: d4,
141230
141235
  format: {
141231
141236
  type: "topojson",
141232
141237
  feature: "states"
@@ -141244,7 +141249,7 @@ class eut extends FE {
141244
141249
  lookup: n.name,
141245
141250
  from: {
141246
141251
  data: {
141247
- values: dS,
141252
+ values: d4,
141248
141253
  format: {
141249
141254
  type: "topojson",
141250
141255
  feature: "states"
@@ -141295,7 +141300,7 @@ class eut extends FE {
141295
141300
  };
141296
141301
  }
141297
141302
  }
141298
- const J4 = class J4 extends fn {
141303
+ const JS = class JS extends fn {
141299
141304
  create(e, n, r, i, s, o) {
141300
141305
  return new eut(
141301
141306
  e,
@@ -141309,8 +141314,8 @@ const J4 = class J4 extends fn {
141309
141314
  return "shape_map";
141310
141315
  }
141311
141316
  };
141312
- J4.instance = new J4();
141313
- let LF = J4;
141317
+ JS.instance = new JS();
141318
+ let LF = JS;
141314
141319
  class tut extends FE {
141315
141320
  getDataValue(e) {
141316
141321
  if (e.isNumber() || e.isString())
@@ -141384,7 +141389,7 @@ class tut extends FE {
141384
141389
  layer: [
141385
141390
  {
141386
141391
  data: {
141387
- values: dS,
141392
+ values: d4,
141388
141393
  format: {
141389
141394
  type: "topojson",
141390
141395
  feature: "states"
@@ -141440,7 +141445,7 @@ class tut extends FE {
141440
141445
  };
141441
141446
  }
141442
141447
  }
141443
- const Z4 = class Z4 extends fn {
141448
+ const ZS = class ZS extends fn {
141444
141449
  create(e, n, r, i, s, o) {
141445
141450
  return new tut(
141446
141451
  e,
@@ -141454,8 +141459,8 @@ const Z4 = class Z4 extends fn {
141454
141459
  return "point_map";
141455
141460
  }
141456
141461
  };
141457
- Z4.instance = new Z4();
141458
- let IF = Z4;
141462
+ ZS.instance = new ZS();
141463
+ let IF = ZS;
141459
141464
  class nut {
141460
141465
  constructor(e) {
141461
141466
  this.document = e;
@@ -141534,7 +141539,7 @@ class rut extends FE {
141534
141539
  layer: [
141535
141540
  {
141536
141541
  data: {
141537
- values: dS,
141542
+ values: d4,
141538
141543
  format: {
141539
141544
  type: "topojson",
141540
141545
  feature: "states"
@@ -141683,7 +141688,7 @@ const Kc = {
141683
141688
  }
141684
141689
  }
141685
141690
  ]
141686
- }, q4 = {
141691
+ }, qS = {
141687
141692
  ...Kc,
141688
141693
  mark: "bar",
141689
141694
  data: [],
@@ -141694,16 +141699,16 @@ const Kc = {
141694
141699
  }
141695
141700
  };
141696
141701
  ({
141697
- ...q4,
141702
+ ...qS,
141698
141703
  encoding: {
141699
- ...q4.encoding,
141704
+ ...qS.encoding,
141700
141705
  color: gs("quantitative", !0, !0)
141701
141706
  }
141702
141707
  });
141703
141708
  ({
141704
- ...q4,
141709
+ ...qS,
141705
141710
  encoding: {
141706
- ...q4.encoding,
141711
+ ...qS.encoding,
141707
141712
  color: gs("nominal", !0, !0)
141708
141713
  }
141709
141714
  });
@@ -141727,7 +141732,7 @@ const Kc = {
141727
141732
  }
141728
141733
  }, N0.layer[1])
141729
141734
  });
141730
- const z4 = {
141735
+ const zS = {
141731
141736
  ...Kc,
141732
141737
  mark: "bar",
141733
141738
  data: [],
@@ -141738,16 +141743,16 @@ const z4 = {
141738
141743
  }
141739
141744
  };
141740
141745
  ({
141741
- ...z4,
141746
+ ...zS,
141742
141747
  encoding: {
141743
- ...z4.encoding,
141748
+ ...zS.encoding,
141744
141749
  color: gs("nominal", !0)
141745
141750
  }
141746
141751
  });
141747
141752
  ({
141748
- ...z4,
141753
+ ...zS,
141749
141754
  encoding: {
141750
- ...z4.encoding,
141755
+ ...zS.encoding,
141751
141756
  color: gs("quantitative", !0)
141752
141757
  }
141753
141758
  });
@@ -142410,7 +142415,7 @@ const f_ = class f_ extends fn {
142410
142415
  };
142411
142416
  f_.instance = new f_();
142412
142417
  let GF = f_;
142413
- class fut extends xS {
142418
+ class fut extends x4 {
142414
142419
  getText(e) {
142415
142420
  if (e.isNull())
142416
142421
  return null;
@@ -142812,11 +142817,11 @@ function but(t, e = {}, n = {}) {
142812
142817
  return o ? (o.prototype.Component = s, o) : (o = _ut(r, mut(e)), o.prototype.Component = s, o.prototype.registeredTag = t, customElements.define(t, o, i), o);
142813
142818
  };
142814
142819
  }
142815
- const Tut = (t, e) => t === e, rw = Symbol("solid-proxy"), Rut = Symbol("solid-track"), H4 = {
142820
+ const Tut = (t, e) => t === e, rw = Symbol("solid-proxy"), Rut = Symbol("solid-track"), HS = {
142816
142821
  equals: Tut
142817
142822
  };
142818
142823
  let cce = gce;
142819
- const Xc = 1, Q4 = 2, fce = {
142824
+ const Xc = 1, QS = 2, fce = {
142820
142825
  owned: null,
142821
142826
  cleanups: null,
142822
142827
  context: null,
@@ -142839,7 +142844,7 @@ function wv(t, e) {
142839
142844
  }
142840
142845
  }
142841
142846
  function mP(t, e) {
142842
- e = e ? Object.assign({}, H4, e) : H4;
142847
+ e = e ? Object.assign({}, HS, e) : HS;
142843
142848
  const n = {
142844
142849
  value: t,
142845
142850
  observers: null,
@@ -142858,7 +142863,7 @@ function iw(t, e, n) {
142858
142863
  i && (r.suspense = i), (!n || !n.render) && (r.user = !0), vl ? vl.push(r) : wE(r);
142859
142864
  }
142860
142865
  function bo(t, e, n) {
142861
- n = n ? Object.assign({}, H4, n) : H4;
142866
+ n = n ? Object.assign({}, HS, n) : HS;
142862
142867
  const r = EP(t, e, !0, 0);
142863
142868
  return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, wE(r), hce.bind(r);
142864
142869
  }
@@ -142901,7 +142906,7 @@ function hce() {
142901
142906
  wE(this);
142902
142907
  else {
142903
142908
  const t = ti;
142904
- ti = null, LE(() => W4(this), !1), ti = t;
142909
+ ti = null, LE(() => WS(this), !1), ti = t;
142905
142910
  }
142906
142911
  if (qn) {
142907
142912
  const t = this.observers ? this.observers.length : 0;
@@ -142960,11 +142965,11 @@ function EP(t, e, n, r = Xc, i) {
142960
142965
  };
142961
142966
  return en === null || en !== fce && (en.owned ? en.owned.push(s) : en.owned = [s]), s;
142962
142967
  }
142963
- function G4(t) {
142968
+ function GS(t) {
142964
142969
  if (t.state === 0)
142965
142970
  return;
142966
- if (t.state === Q4)
142967
- return W4(t);
142971
+ if (t.state === QS)
142972
+ return WS(t);
142968
142973
  if (t.suspense && nu(t.suspense.inFallback))
142969
142974
  return t.suspense.effects.push(t);
142970
142975
  const e = [t];
@@ -142973,9 +142978,9 @@ function G4(t) {
142973
142978
  for (let n = e.length - 1; n >= 0; n--)
142974
142979
  if (t = e[n], t.state === Xc)
142975
142980
  wE(t);
142976
- else if (t.state === Q4) {
142981
+ else if (t.state === QS) {
142977
142982
  const r = ti;
142978
- ti = null, LE(() => W4(t, e[0]), !1), ti = r;
142983
+ ti = null, LE(() => WS(t, e[0]), !1), ti = r;
142979
142984
  }
142980
142985
  }
142981
142986
  function LE(t, e) {
@@ -142998,31 +143003,31 @@ function Fut(t) {
142998
143003
  }
142999
143004
  function gce(t) {
143000
143005
  for (let e = 0; e < t.length; e++)
143001
- G4(t[e]);
143006
+ GS(t[e]);
143002
143007
  }
143003
143008
  function wut(t) {
143004
143009
  let e, n = 0;
143005
143010
  for (e = 0; e < t.length; e++) {
143006
143011
  const r = t[e];
143007
- r.user ? t[n++] = r : G4(r);
143012
+ r.user ? t[n++] = r : GS(r);
143008
143013
  }
143009
143014
  for (e = 0; e < n; e++)
143010
- G4(t[e]);
143015
+ GS(t[e]);
143011
143016
  }
143012
- function W4(t, e) {
143017
+ function WS(t, e) {
143013
143018
  t.state = 0;
143014
143019
  for (let n = 0; n < t.sources.length; n += 1) {
143015
143020
  const r = t.sources[n];
143016
143021
  if (r.sources) {
143017
143022
  const i = r.state;
143018
- i === Xc ? r !== e && (!r.updatedAt || r.updatedAt < bR) && G4(r) : i === Q4 && W4(r, e);
143023
+ i === Xc ? r !== e && (!r.updatedAt || r.updatedAt < bR) && GS(r) : i === QS && WS(r, e);
143019
143024
  }
143020
143025
  }
143021
143026
  }
143022
143027
  function mce(t) {
143023
143028
  for (let e = 0; e < t.observers.length; e += 1) {
143024
143029
  const n = t.observers[e];
143025
- n.state || (n.state = Q4, n.pure ? ti.push(n) : vl.push(n), n.observers && mce(n));
143030
+ n.state || (n.state = QS, n.pure ? ti.push(n) : vl.push(n), n.observers && mce(n));
143026
143031
  }
143027
143032
  }
143028
143033
  function TR(t) {
@@ -143370,10 +143375,10 @@ function Qut(t, e, n) {
143370
143375
  }
143371
143376
  function tl(t, e, n, r) {
143372
143377
  if (n !== void 0 && !r && (r = []), typeof e != "function")
143373
- return V4(t, e, r, n);
143374
- pc((i) => V4(t, e(), i, n), r);
143378
+ return VS(t, e, r, n);
143379
+ pc((i) => VS(t, e(), i, n), r);
143375
143380
  }
143376
- function V4(t, e, n, r, i) {
143381
+ function VS(t, e, n, r, i) {
143377
143382
  for (; typeof n == "function"; )
143378
143383
  n = n();
143379
143384
  if (e === n)
@@ -143393,12 +143398,12 @@ function V4(t, e, n, r, i) {
143393
143398
  let u = e();
143394
143399
  for (; typeof u == "function"; )
143395
143400
  u = u();
143396
- n = V4(t, u, n, r);
143401
+ n = VS(t, u, n, r);
143397
143402
  }), () => n;
143398
143403
  if (Array.isArray(e)) {
143399
143404
  const u = [], a = n && Array.isArray(n);
143400
143405
  if (uw(u, e, n, i))
143401
- return pc(() => n = V4(t, u, n, r, !0)), () => n;
143406
+ return pc(() => n = VS(t, u, n, r, !0)), () => n;
143402
143407
  if (u.length === 0) {
143403
143408
  if (n = nh(t, n, r), o)
143404
143409
  return n;